@daffodil/design 0.81.1 → 0.82.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (243) hide show
  1. package/accordion/README.md +44 -29
  2. package/accordion/accordion/accordion/accordion.component.d.ts +3 -0
  3. package/accordion/accordion/accordion-item/accordion-item.component.d.ts +23 -12
  4. package/accordion/accordion/accordion-item-title/accordion-item-title.directive.d.ts +3 -0
  5. package/accordion/accordion.d.ts +5 -0
  6. package/accordion/examples/disabled-accordion/disabled-accordion.component.d.ts +5 -0
  7. package/accordion/examples/initially-expanded-accordion/initially-expanded-accordion.component.d.ts +5 -0
  8. package/accordion/examples/public_api.d.ts +2 -0
  9. package/article/README.md +4 -3
  10. package/article/article.d.ts +3 -0
  11. package/article/src/article-theme.scss +25 -2
  12. package/breadcrumb/README.md +38 -28
  13. package/breadcrumb/breadcrumb/breadcrumb.component.d.ts +15 -2
  14. package/breadcrumb/breadcrumb-item/breadcrumb-item.directive.d.ts +18 -4
  15. package/breadcrumb/breadcrumb.d.ts +3 -0
  16. package/breadcrumb/examples/iterated-breadcrumb/iterated-breadcrumb.component.d.ts +6 -0
  17. package/breadcrumb/public_api.d.ts +2 -2
  18. package/button/README.md +43 -23
  19. package/button/button/basic/button.component.d.ts +5 -1
  20. package/button/button/button-base.directive.d.ts +11 -3
  21. package/button/button/button-sizable.directive.d.ts +1 -1
  22. package/button/button/raised/raised.component.d.ts +2 -0
  23. package/button/button/stroked/stroked.component.d.ts +5 -1
  24. package/button/button.d.ts +4 -2
  25. package/button/button.module.d.ts +1 -2
  26. package/button/examples/elevated-button/elevated-button.component.d.ts +6 -0
  27. package/button/examples/examples.d.ts +2 -1
  28. package/button/examples/public_api.d.ts +1 -0
  29. package/button/public_api.d.ts +0 -1
  30. package/button/src/button/basic/button-theme.scss +180 -80
  31. package/button/src/button/button-base.scss +26 -15
  32. package/button/src/button/flat/flat-theme.scss +144 -85
  33. package/button/src/button/raised/raised-theme.scss +2 -7
  34. package/button/src/button/stroked/stroked-theme.scss +126 -92
  35. package/button/src/button/underline/underline-theme.scss +112 -44
  36. package/callout/README.md +4 -3
  37. package/callout/callout.d.ts +3 -0
  38. package/card/README.md +6 -3
  39. package/card/card/basic/basic.component.d.ts +7 -0
  40. package/card/card/raised/raised.component.d.ts +7 -0
  41. package/card/card/stroked/stroked.component.d.ts +7 -0
  42. package/card/card-base.directive.d.ts +25 -0
  43. package/card/card.d.ts +18 -1
  44. package/card/card.module.d.ts +10 -8
  45. package/card/public_api.d.ts +6 -1
  46. package/card/src/card/raised/raised-theme.scss +30 -0
  47. package/card/src/card/stroked/stroked-theme.scss +46 -0
  48. package/card/src/card-base-theme.scss +126 -0
  49. package/card/src/card-base.scss +134 -0
  50. package/container/README.md +5 -3
  51. package/container/container.d.ts +3 -0
  52. package/core/colorable/colorable.d.ts +20 -14
  53. package/core/colorable/colorable.directive.d.ts +9 -6
  54. package/fesm2022/daffodil-design-accordion-examples.mjs +28 -4
  55. package/fesm2022/daffodil-design-accordion-examples.mjs.map +1 -1
  56. package/fesm2022/daffodil-design-accordion.mjs +56 -29
  57. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  58. package/fesm2022/daffodil-design-article-examples.mjs +30 -30
  59. package/fesm2022/daffodil-design-article.mjs +14 -11
  60. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  61. package/fesm2022/daffodil-design-breadcrumb-examples.mjs +24 -4
  62. package/fesm2022/daffodil-design-breadcrumb-examples.mjs.map +1 -1
  63. package/fesm2022/daffodil-design-breadcrumb.mjs +78 -40
  64. package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
  65. package/fesm2022/daffodil-design-button-examples.mjs +55 -33
  66. package/fesm2022/daffodil-design-button-examples.mjs.map +1 -1
  67. package/fesm2022/daffodil-design-button.mjs +79 -69
  68. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  69. package/fesm2022/daffodil-design-callout-examples.mjs +12 -12
  70. package/fesm2022/daffodil-design-callout-examples.mjs.map +1 -1
  71. package/fesm2022/daffodil-design-callout.mjs +25 -22
  72. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  73. package/fesm2022/daffodil-design-card-examples.mjs +23 -21
  74. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  75. package/fesm2022/daffodil-design-card.mjs +140 -86
  76. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  77. package/fesm2022/daffodil-design-checkbox-examples.mjs +6 -6
  78. package/fesm2022/daffodil-design-checkbox-examples.mjs.map +1 -1
  79. package/fesm2022/daffodil-design-container-examples.mjs +3 -3
  80. package/fesm2022/daffodil-design-container.mjs +10 -7
  81. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  82. package/fesm2022/daffodil-design-hero-examples.mjs +12 -12
  83. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  84. package/fesm2022/daffodil-design-hero.mjs +25 -22
  85. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  86. package/fesm2022/daffodil-design-image-examples.mjs +9 -9
  87. package/fesm2022/daffodil-design-image.mjs +36 -19
  88. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  89. package/fesm2022/daffodil-design-input-examples.mjs +12 -12
  90. package/fesm2022/daffodil-design-link-set.mjs +19 -16
  91. package/fesm2022/daffodil-design-link-set.mjs.map +1 -1
  92. package/fesm2022/daffodil-design-list-examples.mjs +12 -12
  93. package/fesm2022/daffodil-design-list.mjs +13 -10
  94. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  95. package/fesm2022/daffodil-design-loading-icon-examples.mjs +4 -4
  96. package/fesm2022/daffodil-design-loading-icon-examples.mjs.map +1 -1
  97. package/fesm2022/daffodil-design-loading-icon.mjs +11 -8
  98. package/fesm2022/daffodil-design-loading-icon.mjs.map +1 -1
  99. package/fesm2022/daffodil-design-media-gallery-examples.mjs +62 -13
  100. package/fesm2022/daffodil-design-media-gallery-examples.mjs.map +1 -1
  101. package/fesm2022/daffodil-design-media-gallery.mjs +165 -250
  102. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  103. package/fesm2022/daffodil-design-menu-examples.mjs +6 -6
  104. package/fesm2022/daffodil-design-menu-examples.mjs.map +1 -1
  105. package/fesm2022/daffodil-design-menu.mjs +16 -16
  106. package/fesm2022/daffodil-design-modal-examples.mjs +7 -7
  107. package/fesm2022/daffodil-design-modal-examples.mjs.map +1 -1
  108. package/fesm2022/daffodil-design-modal.mjs +28 -25
  109. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  110. package/fesm2022/daffodil-design-navbar-examples.mjs +12 -12
  111. package/fesm2022/daffodil-design-navbar-examples.mjs.map +1 -1
  112. package/fesm2022/daffodil-design-navbar.mjs +10 -7
  113. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  114. package/fesm2022/daffodil-design-notification-examples.mjs +15 -15
  115. package/fesm2022/daffodil-design-notification.mjs +22 -19
  116. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  117. package/fesm2022/daffodil-design-paginator-examples.mjs +6 -6
  118. package/fesm2022/daffodil-design-paginator.mjs +13 -7
  119. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  120. package/fesm2022/daffodil-design-progress-bar-examples.mjs +9 -9
  121. package/fesm2022/daffodil-design-progress-bar.mjs +13 -10
  122. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  123. package/fesm2022/daffodil-design-quantity-field-examples.mjs +12 -12
  124. package/fesm2022/daffodil-design-radio-examples.mjs +3 -3
  125. package/fesm2022/daffodil-design-sidebar-examples.mjs +14 -14
  126. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  127. package/fesm2022/daffodil-design-sidebar.mjs +147 -53
  128. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  129. package/fesm2022/daffodil-design-switch-examples.mjs +15 -15
  130. package/fesm2022/daffodil-design-switch-examples.mjs.map +1 -1
  131. package/fesm2022/daffodil-design-switch.mjs +6 -3
  132. package/fesm2022/daffodil-design-switch.mjs.map +1 -1
  133. package/fesm2022/daffodil-design-tabs-examples.mjs +23 -17
  134. package/fesm2022/daffodil-design-tabs-examples.mjs.map +1 -1
  135. package/fesm2022/daffodil-design-tabs.mjs +66 -34
  136. package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
  137. package/fesm2022/daffodil-design-text-snippet-examples.mjs +3 -3
  138. package/fesm2022/daffodil-design-text-snippet.mjs +4 -5
  139. package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
  140. package/fesm2022/daffodil-design-toast-examples.mjs +40 -15
  141. package/fesm2022/daffodil-design-toast-examples.mjs.map +1 -1
  142. package/fesm2022/daffodil-design-toast.mjs +301 -245
  143. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  144. package/fesm2022/daffodil-design-tree-examples.mjs +6 -6
  145. package/fesm2022/daffodil-design-tree.mjs +13 -10
  146. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  147. package/fesm2022/daffodil-design-youtube-player.mjs +104 -0
  148. package/fesm2022/daffodil-design-youtube-player.mjs.map +1 -0
  149. package/fesm2022/daffodil-design.mjs +167 -155
  150. package/fesm2022/daffodil-design.mjs.map +1 -1
  151. package/hero/README.md +4 -3
  152. package/hero/hero.d.ts +3 -0
  153. package/image/README.md +4 -3
  154. package/image/image/image.component.d.ts +22 -1
  155. package/image/image.d.ts +3 -0
  156. package/link-set/README.md +4 -3
  157. package/link-set/link-set.d.ts +3 -0
  158. package/list/README.md +4 -3
  159. package/list/list.d.ts +3 -0
  160. package/loading-icon/README.md +10 -7
  161. package/loading-icon/loading-icon.d.ts +3 -0
  162. package/loading-icon/src/loading-icon-theme.scss +66 -38
  163. package/media-gallery/README.md +17 -8
  164. package/media-gallery/examples/iterated-media-gallery/iterated-media-gallery.component.d.ts +13 -0
  165. package/media-gallery/examples/media-gallery-with-video/media-gallery-with-video.component.d.ts +5 -0
  166. package/media-gallery/examples/public_api.d.ts +2 -0
  167. package/media-gallery/helpers/media-gallery-registration.interface.d.ts +1 -1
  168. package/media-gallery/media-gallery/media-gallery.component.d.ts +73 -11
  169. package/media-gallery/media-gallery.d.ts +4 -2
  170. package/media-gallery/media-gallery.module.d.ts +1 -2
  171. package/media-gallery/public_api.d.ts +0 -1
  172. package/media-gallery/src/media-gallery-theme.scss +30 -4
  173. package/media-gallery/thumbnail/thumbnail.directive.d.ts +29 -23
  174. package/menu/README.md +1 -2
  175. package/modal/README.md +3 -2
  176. package/modal/modal.d.ts +3 -0
  177. package/navbar/README.md +3 -2
  178. package/navbar/navbar.d.ts +3 -0
  179. package/notification/README.md +5 -4
  180. package/notification/notification.d.ts +3 -0
  181. package/package.json +1 -1
  182. package/paginator/README.md +3 -2
  183. package/paginator/paginator/paginator.component.d.ts +3 -0
  184. package/paginator/paginator.d.ts +3 -0
  185. package/progress-bar/README.md +3 -2
  186. package/progress-bar/progress-bar.d.ts +3 -0
  187. package/scss/theme.scss +36 -17
  188. package/scss/theming/_configure-theme.scss +2 -0
  189. package/scss/theming/_index.scss +1 -0
  190. package/scss/theming/_light-dark.scss +45 -0
  191. package/sidebar/README.md +20 -21
  192. package/sidebar/helper/sidebar-mode.d.ts +9 -15
  193. package/sidebar/sidebar/sidebar.component.d.ts +22 -7
  194. package/sidebar/sidebar-footer/sidebar-footer.component.d.ts +11 -0
  195. package/sidebar/sidebar-header/sidebar-header-title/sidebar-header-title.directive.d.ts +8 -0
  196. package/sidebar/sidebar-header/sidebar-header.component.d.ts +19 -1
  197. package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +36 -15
  198. package/sidebar/sidebar-viewport-backdrop/sidebar-viewport-backdrop.component.d.ts +17 -0
  199. package/sidebar/sidebar.d.ts +3 -0
  200. package/switch/README.md +3 -2
  201. package/switch/switch.d.ts +3 -0
  202. package/tabs/README.md +33 -3
  203. package/tabs/tabs/tab/tab.component.d.ts +1 -1
  204. package/tabs/tabs/tab-label/tab-label.component.d.ts +6 -0
  205. package/tabs/tabs/tab-panel/tab-panel.component.d.ts +8 -0
  206. package/tabs/tabs/tabs.component.d.ts +21 -4
  207. package/tabs/tabs.d.ts +8 -2
  208. package/text-snippet/README.md +19 -1
  209. package/toast/README.md +21 -151
  210. package/toast/examples/dismissible-toast/dismissible-toast.component.d.ts +11 -0
  211. package/toast/examples/public_api.d.ts +2 -1
  212. package/toast/interfaces/toast-action.d.ts +22 -11
  213. package/toast/interfaces/toast-action.type.d.ts +10 -0
  214. package/toast/interfaces/toast.d.ts +11 -5
  215. package/toast/options/daff-toast-options.d.ts +2 -1
  216. package/toast/public_api.d.ts +2 -6
  217. package/toast/service/position.service.d.ts +9 -1
  218. package/toast/service/toast.service.d.ts +63 -0
  219. package/toast/toast/toast-config.d.ts +24 -1
  220. package/toast/toast/toast-provider.d.ts +16 -0
  221. package/toast/toast/toast-template.component.d.ts +1 -3
  222. package/toast/toast/toast.component.d.ts +20 -1
  223. package/toast/toast-actions/toast-actions.directive.d.ts +3 -0
  224. package/toast/toast-message/toast-message.directive.d.ts +3 -0
  225. package/toast/toast-title/toast-title.directive.d.ts +3 -0
  226. package/tree/README.md +6 -10
  227. package/tree/tree.d.ts +3 -0
  228. package/youtube-player/index.d.ts +1 -0
  229. package/youtube-player/public_api.d.ts +3 -0
  230. package/youtube-player/safe-url.pipe.d.ts +10 -0
  231. package/youtube-player/youtube-player.component.d.ts +23 -0
  232. package/youtube-player/youtube-player.d.ts +6 -0
  233. package/card/card/card.component.d.ts +0 -48
  234. package/card/src/card-theme-variants/basic-card.scss +0 -6
  235. package/card/src/card-theme-variants/linkable-card.scss +0 -16
  236. package/card/src/card-theme-variants/stroked-card.scss +0 -3
  237. package/card/src/card-theme.scss +0 -170
  238. package/media-gallery/media-renderer/media-renderer.component.d.ts +0 -29
  239. package/media-gallery/registry/media-gallery.registry.d.ts +0 -34
  240. package/media-gallery/thumbnail/thumbnail-compat.token.d.ts +0 -1
  241. package/media-gallery/thumbnail/thumbnail-registration.interface.d.ts +0 -9
  242. package/scss/theming/prebuilt/internal-theme.scss +0 -13
  243. package/toast/toast.module.d.ts +0 -19
@@ -2,28 +2,26 @@
2
2
  An accordion is a group of vertically stacked headings used to toggle the visibility of a section of content.
3
3
 
4
4
  ## Overview
5
- Accordions are made up of `<daff-accordion-item>`s that can be expanded or collapsed to display large amounts of information. Accordions are helpful to shorten pages and reduce scrolling by hiding content that's not crucial to display at all times.
5
+ Accordions are helpful to shorten pages and reduce scrolling by hiding content that's not crucial to display at all times. The accordion component consists of several pre-styled components and directives.
6
6
 
7
7
  <design-land-example-viewer-container example="basic-accordion"></design-land-example-viewer-container>
8
8
 
9
- ## Supported Content Types
10
- An accordion item can include a `[daffAccordionItemTitle]`, which provides a high level overview of the content. Any other content within an accordion item will be displayed as the primary content.
9
+ ## Formatting
10
+ Accordions are built using `<daff-accordion>`, `<daff-accordion-item>`, and `[daffAccordionItemTitle]`.
11
11
 
12
- By default, the accordion item includes a toggle icon at the end of the header to indicate if it's expanded or collapsed.
12
+ - **`<daff-accordion>`**: A wrapper for grouping accordion items.
13
+ - **`<daff-accordion-item>`**: The wrapper for the title and content. It handles the expansion and collapse of the inner content when clicked.
14
+ - **`[daffAccordionItemTitle]`**: Used to provide a high level overview of the content.
13
15
 
14
- ### Setting an item to be expanded by default
15
- An item content can be visibile on render by setting the `initiallyExpanded` property to `true` on `daff-accordion-item`.
16
+ Any additional content placed inside of an accordion item will be displayed as part of the collapsible content.
16
17
 
17
18
  ## Usage
18
-
19
- ### Within a standalone component
20
- To use accordion in a standalone component, import it directly into your custom component:
21
-
22
19
  ```ts
20
+ import { DAFF_ACCORDION_COMPONENTS } from '@daffodil/design/accordion';
21
+
23
22
  @Component({
24
23
  selector: 'custom-component',
25
24
  templateUrl: './custom-component.component.html',
26
- standalone: true,
27
25
  imports: [
28
26
  DAFF_ACCORDION_COMPONENTS,
29
27
  ],
@@ -31,26 +29,43 @@ To use accordion in a standalone component, import it directly into your custom
31
29
  export class CustomComponent {}
32
30
  ```
33
31
 
34
- ### Within a module (deprecated)
35
- To use accordion in a module, import `DaffAccordionModule` into your custom module:
32
+ ```html
33
+ <daff-accordion>
34
+ <daff-accordion-item>
35
+ <div daffAccordionItemTitle></div>
36
+ <p>Item Content</p>
37
+ </daff-accordion-item>
38
+ <daff-accordion-item>
39
+ <div daffAccordionItemTitle></div>
40
+ <p>Item Content</p>
41
+ </daff-accordion-item>
42
+ </daff-accordion>
43
+ ```
36
44
 
37
- ```ts
38
- import { NgModule } from '@angular/core';
45
+ ## Examples
39
46
 
40
- import { DaffAccordionModule } from '@daffodil/design/accordion';
47
+ ### Expand an item by default
48
+ Use the `initiallyExpanded` property on the accordion item to have it opened by default.
41
49
 
42
- @NgModule({
43
- declarations: [
44
- CustomComponent,
45
- ],
46
- exports: [
47
- CustomComponent,
48
- ],
49
- imports: [
50
- DaffAccordionModule,
51
- ],
52
- })
53
- export class CustomComponentModule { }
50
+ ```html
51
+ <daff-accordion-item [initiallyExpanded]="true"></daff-accordion-item>
54
52
  ```
55
53
 
56
- > This method is deprecated. It's recommended to update all custom components to standalone.
54
+ ### Disable an item
55
+ Use the `disabled` property on the accordion item to prevent it from being expanded or collapsed.
56
+
57
+ ```html
58
+ <daff-accordion-item [disabled]="true"></daff-accordion-item>
59
+ ```
60
+
61
+ ## Accessibility
62
+ Accordion follows the [Accordion WAI-ARIA design pattern](https://www.w3.org/WAI/ARIA/apg/patterns/accordion/).
63
+
64
+ - Titles have an `id`, the `button` role, the `aria-expanded` state, and the `aria-controls` property set to the ID specified by the `contentId` property. It uses an autogenerated value by default but can be customized.
65
+ - Content blocks have an `id`, the `region` role, and the `aria-labelledby` property set to the ID specified by the `itemId` property. It uses an autogenerated value by default but can be customized.
66
+
67
+ ### Keyboard interactions
68
+ | Key | Action |
69
+ | --- | ------ |
70
+ | `Tab` | Moves focus to the next focusable element. |
71
+ | `Space` or `Enter` | When focus is on the accordion item, it collapses or expands the associated content panel. |
@@ -1,5 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "@daffodil/design";
3
+ /**
4
+ * A wrapper for grouping accordion items.
5
+ */
3
6
  export declare class DaffAccordionComponent {
4
7
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionComponent, never>;
5
8
  static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionComponent, "daff-accordion", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }]>;
@@ -2,24 +2,32 @@ import { OnInit } from '@angular/core';
2
2
  import { DaffOpenable, DaffOpenableDirective } from '@daffodil/design';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "@daffodil/design";
5
+ /**
6
+ * The wrapper for the title and content. It handles the expansion and collapse of the inner content when clicked.
7
+ * All `daff-accordion-item`s should be grouped inside the `daff-accordion` component.
8
+ */
5
9
  export declare class DaffAccordionItemComponent implements OnInit, DaffOpenable {
6
10
  private openDirective;
7
11
  /**
8
12
  * @docs-private
9
13
  */
10
- faChevronDown: import("@fortawesome/fontawesome-common-types").IconDefinition;
14
+ class: boolean;
11
15
  /**
12
- * @docs-private
16
+ * The unique id of an accordion item. Defaults to an autogenerated value.
13
17
  */
14
- faChevronUp: import("@fortawesome/fontawesome-common-types").IconDefinition;
18
+ itemId: string;
15
19
  /**
16
- * @docs-private
20
+ * The unique id of an accordion item content. Defaults to an autogenerated value.
21
+ */
22
+ contentId: string;
23
+ /**
24
+ * Whether or not the item is initially opened by default.
17
25
  */
18
- class: boolean;
19
- _daffAccordionItemId: string;
20
- id: string;
21
- /** Whether or not the item is initiallyExpanded by default. */
22
26
  initiallyExpanded: boolean;
27
+ /**
28
+ * Disables an accordion item and prevents it from being expanded or collapsed.
29
+ */
30
+ disabled: boolean;
23
31
  /**
24
32
  * @docs-private
25
33
  */
@@ -29,19 +37,22 @@ export declare class DaffAccordionItemComponent implements OnInit, DaffOpenable
29
37
  * @docs-private
30
38
  */
31
39
  ngOnInit(): void;
40
+ /**
41
+ * @docs-private
42
+ */
32
43
  get open(): boolean;
33
44
  /**
34
- * Reveals the contents of the accordion item
45
+ * Reveals the contents of the accordion item.
35
46
  */
36
47
  reveal(): void;
37
48
  /**
38
- * Hides the contents of the accordion item
49
+ * Hides the contents of the accordion item.
39
50
  */
40
51
  hide(): void;
41
52
  /**
42
- * Toggles the visibility of the contents of the accordion item
53
+ * Toggles the visibility of the contents of the accordion item.
43
54
  */
44
55
  toggle(): void;
45
56
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionItemComponent, never>;
46
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionItemComponent, "daff-accordion-item", never, { "id": { "alias": "id"; "required": false; }; "initiallyExpanded": { "alias": "initiallyExpanded"; "required": false; }; }, {}, never, ["[daffAccordionItemTitle]", "*"], true, [{ directive: typeof i1.DaffOpenableDirective; inputs: { "open": "open"; }; outputs: { "toggled": "toggled"; }; }]>;
57
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionItemComponent, "daff-accordion-item", never, { "itemId": { "alias": "itemId"; "required": false; }; "contentId": { "alias": "contentId"; "required": false; }; "initiallyExpanded": { "alias": "initiallyExpanded"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, ["[daffAccordionItemTitle]", "*"], true, [{ directive: typeof i1.DaffOpenableDirective; inputs: { "open": "open"; }; outputs: { "toggled": "toggled"; }; }]>;
47
58
  }
@@ -1,4 +1,7 @@
1
1
  import * as i0 from "@angular/core";
2
+ /**
3
+ * Used to provide a high level overview of the content. It should be wrapped by a `<daff-accordion-item>`.
4
+ */
2
5
  export declare class DaffAccordionItemTitleDirective {
3
6
  /**
4
7
  * @docs-private
@@ -1,4 +1,9 @@
1
1
  import { DaffAccordionComponent } from './accordion/accordion/accordion.component';
2
2
  import { DaffAccordionItemComponent } from './accordion/accordion-item/accordion-item.component';
3
3
  import { DaffAccordionItemTitleDirective } from './accordion/accordion-item-title/accordion-item-title.directive';
4
+ /**
5
+ * @docs-private
6
+ *
7
+ * `DAFF_ACCORDION_COMPONENTS` imports all the available components and directives related to the component.
8
+ */
4
9
  export declare const DAFF_ACCORDION_COMPONENTS: readonly [typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective];
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class DisabledAccordionComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<DisabledAccordionComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<DisabledAccordionComponent, "disabled-accordion", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class InitiallyExpandedAccordionComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<InitiallyExpandedAccordionComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<InitiallyExpandedAccordionComponent, "initially-expanded-accordion", never, {}, {}, never, never, true, never>;
5
+ }
@@ -1,2 +1,4 @@
1
1
  export { BasicAccordionComponent } from './basic-accordion/basic-accordion.component';
2
+ export { InitiallyExpandedAccordionComponent } from './initially-expanded-accordion/initially-expanded-accordion.component';
3
+ export { DisabledAccordionComponent } from './disabled-accordion/disabled-accordion.component';
2
4
  export { ACCORDION_EXAMPLES } from './examples';
package/article/README.md CHANGED
@@ -51,13 +51,14 @@ Articles also support other custom "non-native" components like [accordions](/li
51
51
  ## Usage
52
52
 
53
53
  ### Within a standalone component
54
- To use article in a standalone component, import it directly into your custom component:
54
+ To use article in a standalone component, import `DAFF_ARTICLE_COMPONENTS` directly into your custom component:
55
55
 
56
56
  ```ts
57
+ import { DAFF_ARTICLE_COMPONENTS } from '@daffodil/design/article';
58
+
57
59
  @Component({
58
60
  selector: 'custom-component',
59
61
  templateUrl: './custom-component.component.html',
60
- standalone: true,
61
62
  imports: [
62
63
  DAFF_ARTICLE_COMPONENTS,
63
64
  ],
@@ -70,8 +71,8 @@ To use article in a module, import `DaffArticleModule` into your custom module:
70
71
 
71
72
  ```ts
72
73
  import { NgModule } from '@angular/core';
73
-
74
74
  import { DaffArticleModule } from '@daffodil/design/article';
75
+ import { CustomComponent } from './custom.component';
75
76
 
76
77
  @NgModule({
77
78
  declarations: [
@@ -1,3 +1,6 @@
1
1
  import { DaffArticleComponent } from './article/article.component';
2
2
  import { DaffArticleMetaDirective } from './article-meta/article-meta.directive';
3
+ /**
4
+ * @docs-private
5
+ */
3
6
  export declare const DAFF_ARTICLE_COMPONENTS: readonly [typeof DaffArticleComponent, typeof DaffArticleMetaDirective];
@@ -46,6 +46,10 @@
46
46
  code {
47
47
  background: rgba(theming.daff-illuminate($base, $neutral, 2), 0.5);
48
48
  color: $base-contrast;
49
+
50
+ @include stopsArticleCascade(a) {
51
+ color: theming.daff-color($primary, 70);
52
+ }
49
53
  }
50
54
 
51
55
  hr {
@@ -75,13 +79,32 @@
75
79
  }
76
80
 
77
81
  table {
82
+ border: 1px solid $table-border-color;
83
+
78
84
  th {
79
85
  background: theming.daff-illuminate($base, $neutral, 1);
80
- border: 1px solid $table-border-color;
81
86
  }
82
87
 
88
+ th,
83
89
  td {
84
- border: 1px solid $table-border-color;
90
+ &:not(:last-child) {
91
+ border-right: 1px solid $table-border-color;
92
+ }
93
+ }
94
+
95
+ thead {
96
+ th {
97
+ border-bottom: 1px solid $table-border-color;
98
+ }
99
+ }
100
+
101
+ tr {
102
+ &:not(:last-child) {
103
+ th,
104
+ td {
105
+ border-bottom: 1px solid $table-border-color;
106
+ }
107
+ }
85
108
  }
86
109
  }
87
110
  }
@@ -2,21 +2,27 @@
2
2
  Breadcrumbs are a secondary navigation that displays a user's location within a website or application.
3
3
 
4
4
  ## Overview
5
- Breadcrumbs are a visual representation of the site's navigational hierarchy. They indicate the current page's location and allows users to easily move up to a parent level. It's required for breadcrumbs to be used with the native HTML `<ol>` element, and for each item to be an `<li>`. This offers additional context for assistive technology.
5
+ Breadcrumbs are a visual representation of the site's navigational hierarchy. They indicate the current page's location and allows users to easily move up to a parent level.
6
6
 
7
- ## Basic Breadcrumb
8
- <design-land-example-viewer-container example="basic-breadcrumb"></design-land-example-viewer-container>
7
+ ## Requirements
8
+ - `[daff-breadcrumb]` is required to be used with the native HTML `<ol>` element.
9
+ - Each `[daffBreadcrumbItem]` needs to be a `<li>` element.
9
10
 
10
- ## Usage
11
+ ## Structure
12
+ Breadcrumbs are built using `[daff-breadcrumb]` and `[daffBreadCrumbItem]`.
11
13
 
12
- ## Within a standalone component
13
- To use breadcrumb in a standalone component, import it directly into your custom component:
14
+ - **`[daff-breadcrumb]`**: a wrapper for grouping breadcrumb items.
15
+ - **`[daffBreacrumbItem]`**: used to display each breadcrumb item.
16
+
17
+ <design-land-example-viewer-container example="basic-breadcrumb"></design-land-example-viewer-container>
14
18
 
19
+ ## Usage
15
20
  ```ts
21
+ import { DAFF_BREADCRUMB_COMPONENTS } from '@daffodil/design/breadcrumb';
22
+
16
23
  @Component({
17
24
  selector: 'custom-component',
18
25
  templateUrl: './custom-component.component.html',
19
- standalone: true,
20
26
  imports: [
21
27
  DAFF_BREADCRUMB_COMPONENTS,
22
28
  ],
@@ -24,29 +30,33 @@ To use breadcrumb in a standalone component, import it directly into your custom
24
30
  export class CustomComponent {}
25
31
  ```
26
32
 
27
- ## Within a module (deprecated)
28
- To use breadcrumb in a module, import `DaffBreadcrumbModule` into your custom module:
33
+ ```html
34
+ <ol daff-breadcrumb>
35
+ <li daffBreadcrumbItem>
36
+ <a routerLink="/link">Link</a>
37
+ </li>
38
+ <li daffBreadcrumbItem>
39
+ <a routerLink="/link">Link</a>
40
+ </li>
41
+ <li daffBreacrumbItem>
42
+ <span>Active Link</span>
43
+ </li>
44
+ </ol>
45
+ ```
29
46
 
30
- ```ts
31
- import { NgModule } from '@angular/core';
47
+ ## Accessibility
48
+ Breadcrumb follows the [Breadcrumb WAI-ARIA design pattern](https://www.w3.org/WAI/ARIA/apg/patterns/breadcrumb/).
32
49
 
33
- import { DaffBreadcrumbModule } from '@daffodil/design/breadcrumb';
50
+ - `aria-current="page"` is automatically applied to the last item to indicate that it represents the current page.
34
51
 
35
- @NgModule({
36
- declarations: [
37
- CustomComponent,
38
- ],
39
- exports: [
40
- CustomComponent,
41
- ],
42
- imports: [
43
- DaffBreadcrumbModule,
44
- ],
45
- })
46
- export class CustomComponentModule { }
47
- ```
52
+ In order to fully comply with the WAI-ARIA design pattern:
48
53
 
49
- > This method is deprecated. It's recommended to update all custom components to standalone.
54
+ - Breadcrumbs should be wrapped in a native HTML `<nav>` element so that assistive technologies can present the breadcrumbs as a navigational element on the page.
55
+ - Use `aria-label="Breadcrumb"` on the `nav` element to provide more context into what kind of navigation it is.
50
56
 
51
- ## Accessibility
52
- Breadcrumbs should be wrapped in a native HTML `<nav>` element so that assistive technologies can present the breadcrumbs as a navigational element on the page. Use `aria-label="Breadcrumbs"` on the `nav` element to provide more context. `aria-current="page"` is added to a breadcrumb item when it's the current page, and `aria-current="false"` on all other items.
57
+ ```html
58
+ <nav aria-label="breadcrumb">
59
+ <ol daff-breadcrumb>
60
+ </ol>
61
+ </nav>
62
+ ```
@@ -1,7 +1,20 @@
1
+ import { QueryList, AfterContentInit, DestroyRef } from '@angular/core';
2
+ import { DaffBreadcrumbItemDirective } from '../breadcrumb-item/breadcrumb-item.directive';
1
3
  import * as i0 from "@angular/core";
2
4
  import * as i1 from "@daffodil/design";
3
- export declare class DaffBreadcrumbComponent {
5
+ export declare class DaffBreadcrumbComponent implements AfterContentInit {
6
+ private destroyRef;
7
+ constructor(destroyRef: DestroyRef);
8
+ /**
9
+ * @docs-private
10
+ */
4
11
  class: boolean;
12
+ /**
13
+ * @docs-private
14
+ */
15
+ breadcrumbItems: QueryList<DaffBreadcrumbItemDirective>;
16
+ ngAfterContentInit(): void;
17
+ private updateActiveState;
5
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffBreadcrumbComponent, never>;
6
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffBreadcrumbComponent, "ol[daff-breadcrumb]", never, {}, {}, never, ["[daffBreadcrumbItem]"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffSkeletonableDirective; inputs: { "skeleton": "skeleton"; }; outputs: {}; }]>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffBreadcrumbComponent, "ol[daff-breadcrumb]", never, {}, {}, ["breadcrumbItems"], ["[daffBreadcrumbItem]"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffSkeletonableDirective; inputs: { "skeleton": "skeleton"; }; outputs: {}; }]>;
7
20
  }
@@ -1,9 +1,23 @@
1
+ import { ChangeDetectorRef } from '@angular/core';
1
2
  import * as i0 from "@angular/core";
2
3
  export declare class DaffBreadcrumbItemDirective {
4
+ private cdRef;
5
+ /**
6
+ * @docs-private
7
+ */
3
8
  class: boolean;
4
- get ariaCurrent(): "page" | "false";
5
- /** Whether or not the breadcrumb item is active */
6
- active: boolean;
9
+ /**
10
+ * @docs-private
11
+ */
12
+ get activeClass(): boolean;
13
+ /**
14
+ * @docs-private
15
+ */
16
+ get ariaCurrent(): string;
17
+ private _active;
18
+ constructor(cdRef: ChangeDetectorRef);
19
+ /** Called by the DaffBreadcrumbComponent to set the active state */
20
+ setActive(value: boolean): void;
7
21
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffBreadcrumbItemDirective, never>;
8
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffBreadcrumbItemDirective, "li[daffBreadcrumbItem]", never, { "active": { "alias": "active"; "required": false; }; }, {}, never, never, true, never>;
22
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffBreadcrumbItemDirective, "li[daffBreadcrumbItem]", never, {}, {}, never, never, true, never>;
9
23
  }
@@ -1,3 +1,6 @@
1
1
  import { DaffBreadcrumbComponent } from './breadcrumb/breadcrumb.component';
2
2
  import { DaffBreadcrumbItemDirective } from './breadcrumb-item/breadcrumb-item.directive';
3
+ /**
4
+ * @docs-private
5
+ */
3
6
  export declare const DAFF_BREADCRUMB_COMPONENTS: readonly [typeof DaffBreadcrumbComponent, typeof DaffBreadcrumbItemDirective];
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class IteratedBreadcrumbComponent {
3
+ breadcrumbs: any[];
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<IteratedBreadcrumbComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<IteratedBreadcrumbComponent, "iterated-breadcrumb", never, {}, {}, never, never, true, never>;
6
+ }
@@ -1,4 +1,4 @@
1
- export * from './breadcrumb/breadcrumb.component';
2
- export * from './breadcrumb-item/breadcrumb-item.directive';
1
+ export { DaffBreadcrumbComponent } from './breadcrumb/breadcrumb.component';
2
+ export { DaffBreadcrumbItemDirective } from './breadcrumb-item/breadcrumb-item.directive';
3
3
  export { DAFF_BREADCRUMB_COMPONENTS } from './breadcrumb';
4
4
  export { DaffBreadcrumbModule } from './breadcrumb.module';
package/button/README.md CHANGED
@@ -1,46 +1,53 @@
1
1
  # Button
2
- The button is used for making actions apparent to the end-user. It can be used to navigate users to a different page or to perform an action. Buttons can contain text, icons, or both.
2
+ Buttons are used to make actions apparent to the end user. It can be used to navigate users to a different page or to perform an action. Buttons can contain text, icons, or both.
3
3
 
4
4
  ## Overview
5
5
  Native `<button>` or `<a>` elements are always used in order to provide an easy, accessible experience for users.
6
+
6
7
  - `<a>` should be used for interactions that will navigate users to a new page or to a different target on the same page.
7
8
  - `<button>` should be used when a clickable action is performed within the same page.
8
9
 
9
10
  ## Types
11
+ Button supports five types that change its visual style.
12
+
10
13
  - `daff-button` - Rectangular contained button with background color
14
+ - `daff-flat-button` - Rectangular contained button with no outline or background color
11
15
  - `daff-icon-button` - Icon button used with icon fonts
12
- - `daff-raised-button` - Rectangular contained button with background color and elevation
13
16
  - `daff-stroked-button` - Rectangular outlined button with no background color
14
17
 
15
18
  ### Basic Button
16
19
  <design-land-example-viewer-container example="basic-button"></design-land-example-viewer-container>
17
20
 
18
- ### Stroked Button
21
+ ### Flat Button
22
+ <design-land-example-viewer-container example="flat-button"></design-land-example-viewer-container>
23
+
24
+ ### Stroked button
19
25
  <design-land-example-viewer-container example="stroked-button"></design-land-example-viewer-container>
20
26
 
21
27
  > `black`, `white`, and `theme` should be used with caution to ensure that there is sufficient contrast.
22
28
 
23
- ### Raised Button
24
- <design-land-example-viewer-container example="raised-button"></design-land-example-viewer-container>
25
-
26
- ### Icon Button
29
+ ### Icon button
27
30
  <design-land-example-viewer-container example="icon-button"></design-land-example-viewer-container>
28
31
 
29
32
  > `black`, `white`, and `theme` should be used with caution to ensure that there is sufficient contrast.
30
33
 
31
- ### Underline Button
34
+ ### Underline button
32
35
  <design-land-example-viewer-container example="underline-button"></design-land-example-viewer-container>
33
36
 
37
+ ### Raised button (deprecated)
38
+ <design-land-example-viewer-container example="raised-button"></design-land-example-viewer-container>
39
+
34
40
  ## Usage
35
41
 
36
42
  ### Within a standalone component
37
- To use button in a standalone component, import it directly into your custom component. Buttons can be imported individually or all together by using `DAFF_BUTTON_COMPONENTS`:
43
+ To use button in a standalone component, import each button type directly into your custom component. Buttons can be imported individually or all together by using `DAFF_BUTTON_COMPONENTS`:
38
44
 
39
45
  ```ts
46
+ import { DaffButtonComponent } from '@daffodil/design/button';
47
+
40
48
  @Component({
41
49
  selector: 'custom-component',
42
50
  templateUrl: './custom-component.component.html',
43
- standalone: true,
44
51
  imports: [
45
52
  DaffButtonComponent,
46
53
  ],
@@ -53,8 +60,8 @@ To use button in a module, import `DaffButtonModule` into your custom module:
53
60
 
54
61
  ```ts
55
62
  import { NgModule } from '@angular/core';
56
-
57
63
  import { DaffButtonModule } from '@daffodil/design/button';
64
+ import { CustomComponent } from './custom.component';
58
65
 
59
66
  @NgModule({
60
67
  declarations: [
@@ -73,27 +80,40 @@ export class CustomComponentModule { }
73
80
  > This method is deprecated. It's recommended to update all custom components to standalone.
74
81
 
75
82
  ## Sizes
76
- The size of a button can be changed by using the `size` property. The size of all the button variants will default to `md` if no size is defined. This can be changed to one of the supported sizes.
77
-
78
- Supported Sizes: `sm | md | lg`
83
+ Use the `size` property to specify a button size. Setting this property will change the height and padding of a button. The size of all variants will default to `md` if none is defined.
79
84
 
80
85
  <design-land-example-viewer-container example="sizeable-button"></design-land-example-viewer-container>
81
86
 
82
- ## Theming
83
- The default color of a button is light gray, but it can be updated to one of the supported colors by using the `color` property.
84
-
85
- Supported colors: `primary | secondary | tertiary | black | white | theme | theme-contrast`
87
+ ## Colors
88
+ Use the `color` property to change the color of a button. The default color is light gray.
86
89
 
87
90
  > For select button types, `black` and `white` should be used on a darker background in order to have sufficient contrast.
88
91
 
89
- ## Status Indicators
90
- Buttons with status indicators can be used to distinguish what type of action it performs and its importance compared to other buttons in the same context.
91
-
92
- Supported statuses: `warn | critical | success`
92
+ ## Status indicators
93
+ Buttons with status indicators can be used to distinguish what type of action it performs and its importance compared to other buttons in the same context. Use the `status` property to change the status.
93
94
 
94
95
  <design-land-example-viewer-container example="statusable-button"></design-land-example-viewer-container>
95
96
 
97
+ ## Elevation
98
+ Use the `elevated` property to add a shadow to buttons. Note that the `elevated` property is not supported for flat, icon, and underline buttons.
99
+
100
+ <design-land-example-viewer-container example="elevated-button"></design-land-example-viewer-container>
101
+
102
+ ## Icon support
103
+ An icon can be rendered on either side of the button text content with the `daffPrefix` and `daffSuffix` selectors.
104
+
105
+ ```html
106
+ <button daff-button>
107
+ <fa-icon [faIcon]="faUser" daffPrefix></fa-icon>
108
+ Button Content
109
+ <fa-icon [faIcon]="faUser" daffSuffix></fa-icon>
110
+ </button>
111
+ ```
112
+
96
113
  ## Accessbility
97
- Daffodil uses native `<a>` and `<button>` HTML elements to ensure an accessible experience by default. The `<button>` element should be used when a clickable action is performed within the same page. The `<a>` element should be used to navigate users to a new page or to a different target on the same page.
114
+ Daffodil uses native `<a>` and `<button>` HTML elements to ensure an accessible experience by default.
115
+
116
+ - The `<button>` element should be used when a clickable action is performed within the same page.
117
+ - The `<a>` element should be used to navigate users to a new page or to a different target on the same page.
98
118
 
99
119
  Buttons and links containing only icons (`<daff-icon-button>`) need to be given meaningful labels using `aria-label` or `aria-labelledby`.
@@ -23,6 +23,10 @@ export declare class DaffButtonComponent extends DaffButtonBaseDirective {
23
23
  * @docs-private
24
24
  */
25
25
  class: boolean;
26
+ /**
27
+ * Whether or not the button displays a shadow.
28
+ */
29
+ elevated: boolean;
26
30
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffButtonComponent, "button[daff-button],a[daff-button]", never, {}, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
31
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffButtonComponent, "button[daff-button],a[daff-button]", never, { "elevated": { "alias": "elevated"; "required": false; }; }, {}, never, ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
28
32
  }
@@ -30,21 +30,29 @@ export declare class DaffButtonBaseDirective extends _daffButtonBase implements
30
30
  get disabledClass(): any;
31
31
  loading: boolean;
32
32
  /**
33
- * Set the `tabindex` to 0.
33
+ * Sets the tabindex. Defaults to 0.
34
34
  */
35
35
  tabindex: number;
36
- _disabled: boolean;
36
+ private _disabled;
37
37
  /**
38
38
  * The disabled state of the button.
39
39
  */
40
40
  get disabled(): any;
41
41
  set disabled(value: any);
42
+ /**
43
+ * @docs-private
44
+ */
42
45
  get disabledAttribute(): boolean;
46
+ /**
47
+ * @docs-private
48
+ */
43
49
  get ariaDisabled(): boolean;
44
50
  /**
51
+ * @docs-private
52
+ *
45
53
  * Set the `tabindex` to -1 if the button is disabled.
46
54
  */
47
- get disabledTabIndex(): number;
55
+ get tabIndexAttribute(): number;
48
56
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffButtonBaseDirective, never>;
49
57
  static ɵdir: i0.ɵɵDirectiveDeclaration<DaffButtonBaseDirective, "[daffButtonBase]", never, { "loading": { "alias": "loading"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.DaffButtonSizableDirective; inputs: { "size": "size"; }; outputs: {}; }, { directive: typeof i1.DaffStatusableDirective; inputs: { "status": "status"; }; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }]>;
50
58
  }