|
3 | 3 | ### ApplicationState
|
4 | 4 |
|
5 | 5 | <Doc::ComponentApi as |C|>
|
6 |
| - <C.Property @name="align" @type="enum" @values={{array "left" "center" }} @default="left"> |
7 |
| - Sets the alignment of the Application State content. |
8 |
| - </C.Property> |
9 |
| - <C.Property @name="<[A].Media>" @type="yielded component"> |
10 |
| - `ApplicationState::Media` yielded as contextual component (see below). |
11 |
| - </C.Property> |
12 |
| - <C.Property @name="<[A].Header>" @type="yielded component"> |
13 |
| - `ApplicationState::Header` yielded as contextual component (see below). |
14 |
| - </C.Property> |
15 |
| - <C.Property @name="<[A].Body>" @type="yielded component"> |
16 |
| - `ApplicationState::Body` yielded as contextual component (see below). |
17 |
| - </C.Property> |
18 |
| - <C.Property @name="<[A].Footer>" @type="yielded component"> |
19 |
| - `ApplicationState::Footer` yielded as contextual component (see below). |
20 |
| - </C.Property> |
21 |
| - <C.Property @name="...attributes"> |
22 |
| - This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering). |
23 |
| - </C.Property> |
| 6 | +<C.Property @name="align" @type="enum" @values={{array "left" "center" }} @default="left"> |
| 7 | +Sets the alignment of the Application State content. |
| 8 | +</C.Property> |
| 9 | +<C.Property @name="isAutoCentered" @default="true" @type="boolean"> |
| 10 | +Horizontally centers the component within its container. |
| 11 | +</C.Property> |
| 12 | +<C.Property @name="<[A].Media>" @type="yielded component"> |
| 13 | +`ApplicationState::Media` yielded as contextual component (see below). |
| 14 | +</C.Property> |
| 15 | +<C.Property @name="<[A].Header>" @type="yielded component"> |
| 16 | +`ApplicationState::Header` yielded as contextual component (see below). |
| 17 | +</C.Property> |
| 18 | +<C.Property @name="<[A].Body>" @type="yielded component"> |
| 19 | +`ApplicationState::Body` yielded as contextual component (see below). |
| 20 | +</C.Property> |
| 21 | +<C.Property @name="<[A].Footer>" @type="yielded component"> |
| 22 | +`ApplicationState::Footer` yielded as contextual component (see below). |
| 23 | +</C.Property> |
| 24 | +<C.Property @name="...attributes"> |
| 25 | +This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering). |
| 26 | +</C.Property> |
24 | 27 | </Doc::ComponentApi>
|
25 | 28 |
|
26 | 29 | ### Contextual components
|
|
30 | 33 | The `ApplicationState::Media` component, yielded as contextual component.
|
31 | 34 |
|
32 | 35 | <Doc::ComponentApi as |C|>
|
33 |
| - <C.Property @name="yield"> |
34 |
| - Elements passed as children are yielded as inner content of the "media" block. |
35 |
| - </C.Property> |
36 |
| - <C.Property @name="...attributes"> |
37 |
| - This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering). |
38 |
| - </C.Property> |
| 36 | +<C.Property @name="yield"> |
| 37 | +Elements passed as children are yielded as inner content of the "media" block. |
| 38 | +</C.Property> |
| 39 | +<C.Property @name="...attributes"> |
| 40 | +This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering). |
| 41 | +</C.Property> |
39 | 42 | </Doc::ComponentApi>
|
40 | 43 |
|
41 | 44 | #### [A].Header
|
42 | 45 |
|
43 | 46 | The `ApplicationState::Header` component, yielded as contextual component.
|
44 | 47 |
|
45 | 48 | <Doc::ComponentApi as |C|>
|
46 |
| - <C.Property @name="errorCode" @type="string"> |
47 |
| - The error code to be displayed. |
48 |
| - </C.Property> |
49 |
| - <C.Property @name="icon" @type="string"> |
50 |
| - Adds a leading icon to the title. Accepts any [icon](/icons/library) name. |
51 |
| - </C.Property> |
52 |
| - <C.Property @name="title" @type="string"> |
53 |
| - The text of the title |
54 |
| - </C.Property> |
55 |
| - <C.Property @name="titleTag" @type="enum" @values={{array "div" "h1" "h2" "h3" "h4" "h5" "h6"}} @default="div"> |
56 |
| - The HTML tag that wraps the title text. |
57 |
| - </C.Property> |
58 |
| - <C.Property @name="...attributes"> |
59 |
| - This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering). |
60 |
| - </C.Property> |
| 49 | +<C.Property @name="errorCode" @type="string"> |
| 50 | +The error code to be displayed. |
| 51 | +</C.Property> |
| 52 | +<C.Property @name="icon" @type="string"> |
| 53 | +Adds a leading icon to the title. Accepts any [icon](/icons/library) name. |
| 54 | +</C.Property> |
| 55 | +<C.Property @name="title" @type="string"> |
| 56 | +The text of the title |
| 57 | +</C.Property> |
| 58 | +<C.Property @name="titleTag" @type="enum" @values={{array "div" "h1" "h2" "h3" "h4" "h5" "h6"}} @default="div"> |
| 59 | +The HTML tag that wraps the title text. |
| 60 | +</C.Property> |
| 61 | +<C.Property @name="...attributes"> |
| 62 | +This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering). |
| 63 | +</C.Property> |
61 | 64 | </Doc::ComponentApi>
|
62 | 65 |
|
63 | 66 | #### [A].Body
|
64 | 67 |
|
65 | 68 | The `ApplicationState::Body` component, yielded as contextual component.
|
66 | 69 |
|
67 | 70 | <Doc::ComponentApi as |C|>
|
68 |
| - <C.Property @name="yield"> |
69 |
| - Elements passed as children are yielded as inner content of the "body" block. |
70 |
| - </C.Property> |
71 |
| - <C.Property @name="text" @type="string"> |
72 |
| - Note: use `@text` to pass directly text to the "body", with a predefined style. This component does not support `@text` on the component invocation if it is used with yielded content. |
73 |
| - </C.Property> |
74 |
| - <C.Property @name="...attributes"> |
75 |
| - This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering). |
76 |
| - </C.Property> |
| 71 | +<C.Property @name="yield"> |
| 72 | +Elements passed as children are yielded as inner content of the "body" block. |
| 73 | +</C.Property> |
| 74 | +<C.Property @name="text" @type="string"> |
| 75 | +Note: use `@text` to pass directly text to the "body", with a predefined style. This component does not support `@text` on the component invocation if it is used with yielded content. |
| 76 | +</C.Property> |
| 77 | +<C.Property @name="...attributes"> |
| 78 | +This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering). |
| 79 | +</C.Property> |
77 | 80 | </Doc::ComponentApi>
|
78 | 81 |
|
79 | 82 | #### [A].Footer
|
80 | 83 |
|
81 | 84 | The `ApplicationState::Footer` component, yielded as contextual component.
|
82 | 85 |
|
83 | 86 | <Doc::ComponentApi as |C|>
|
84 |
| - <C.Property @name="<[F].Button>" @type="yielded component"> |
85 |
| - The `Button` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Button` component](/components/button). |
86 |
| - </C.Property> |
87 |
| - <C.Property @name="<[F].Dropdown>" @type="yielded component"> |
88 |
| - The `Dropdown` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Dropdown` component](/components/dropdown). |
89 |
| - </C.Property> |
90 |
| - <C.Property @name="<[F].LinkStandalone>" @type="yielded component"> |
91 |
| - The `Link::Standalone` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Link::Standalone` component](/components/link/standalone). |
92 |
| - </C.Property> |
93 |
| - <C.Property @name="...attributes"> |
94 |
| - This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering). |
95 |
| - </C.Property> |
| 87 | +<C.Property @name="<[F].Button>" @type="yielded component"> |
| 88 | +The `Button` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Button` component](/components/button). |
| 89 | +</C.Property> |
| 90 | +<C.Property @name="<[F].Dropdown>" @type="yielded component"> |
| 91 | +The `Dropdown` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Dropdown` component](/components/dropdown). |
| 92 | +</C.Property> |
| 93 | +<C.Property @name="<[F].LinkStandalone>" @type="yielded component"> |
| 94 | +The `Link::Standalone` component, yielded as contextual component inside the `"footer"` block of the ApplicationState. It exposes the same API as the [`Link::Standalone` component](/components/link/standalone). |
| 95 | +</C.Property> |
| 96 | +<C.Property @name="...attributes"> |
| 97 | +This component supports use of [`...attributes`](https://guides.emberjs.com/release/in-depth-topics/patterns-for-components/#toc_attribute-ordering). |
| 98 | +</C.Property> |
96 | 99 | </Doc::ComponentApi>
|
0 commit comments