@daffodil/design 0.87.2 → 0.88.1

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 (215) hide show
  1. package/accordion/accordion/accordion-item/accordion-item.component.d.ts +1 -9
  2. package/accordion/accordion/accordion-item-title/accordion-item-title.directive.d.ts +0 -4
  3. package/article/article/article.component.d.ts +0 -8
  4. package/article/article-meta/article-meta.directive.d.ts +0 -4
  5. package/atoms/form/form-field/form-field/form-field.component.d.ts +3 -2
  6. package/atoms/form/form-field/form-field-control.d.ts +3 -1
  7. package/atoms/form/native-select/native-select.component.d.ts +11 -0
  8. package/breadcrumb/breadcrumb/breadcrumb.component.d.ts +0 -4
  9. package/breadcrumb/breadcrumb-item/breadcrumb-item.directive.d.ts +0 -12
  10. package/button/button/basic/button.component.d.ts +0 -4
  11. package/button/button/button-base.directive.d.ts +0 -18
  12. package/button/button/flat/flat.component.d.ts +0 -4
  13. package/button/button/icon/icon.component.d.ts +0 -4
  14. package/button/button/stroked/stroked.component.d.ts +0 -4
  15. package/button/button/underline/underline.component.d.ts +0 -4
  16. package/button/src/button/button-base.scss +3 -3
  17. package/callout/README.md +38 -40
  18. package/callout/callout/callout.component.d.ts +13 -5
  19. package/callout/callout-body/callout-body.directive.d.ts +9 -4
  20. package/callout/callout-icon/callout-icon.directive.d.ts +9 -4
  21. package/callout/callout-subtitle/callout-subtitle.directive.d.ts +8 -4
  22. package/callout/callout-tagline/callout-tagline.directive.d.ts +8 -4
  23. package/callout/callout-title/callout-title.directive.d.ts +8 -4
  24. package/card/README.md +52 -44
  25. package/card/card/basic/basic.component.d.ts +18 -4
  26. package/card/card/raised/raised.component.d.ts +3 -4
  27. package/card/card/stroked/stroked.component.d.ts +18 -4
  28. package/card/card-actions/card-actions.directive.d.ts +8 -4
  29. package/card/card-base.directive.d.ts +8 -16
  30. package/card/card-content/card-content.directive.d.ts +9 -4
  31. package/card/card-icon/card-icon.directive.d.ts +8 -4
  32. package/card/card-image/card-image.directive.d.ts +8 -4
  33. package/card/card-tagline/card-tagline.directive.d.ts +8 -4
  34. package/card/card-title/card-title.directive.d.ts +8 -4
  35. package/card/card.d.ts +1 -0
  36. package/card/examples/elevated-card/elevated-card.component.d.ts +5 -0
  37. package/card/examples/public_api.d.ts +3 -3
  38. package/card/helpers/card-orientation.d.ts +17 -0
  39. package/card/public_api.d.ts +9 -8
  40. package/card/src/card-base-theme.scss +40 -58
  41. package/container/container/container.component.d.ts +0 -4
  42. package/core/public_api.d.ts +1 -0
  43. package/core/sticky/public_api.d.ts +1 -0
  44. package/core/sticky/sticky-tracker.directive.d.ts +23 -0
  45. package/fesm2022/daffodil-design-accordion.mjs +13 -55
  46. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  47. package/fesm2022/daffodil-design-article.mjs +14 -32
  48. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  49. package/fesm2022/daffodil-design-breadcrumb.mjs +15 -38
  50. package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
  51. package/fesm2022/daffodil-design-button.mjs +41 -108
  52. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  53. package/fesm2022/daffodil-design-callout.mjs +91 -73
  54. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  55. package/fesm2022/daffodil-design-card-examples.mjs +17 -32
  56. package/fesm2022/daffodil-design-card-examples.mjs.map +1 -1
  57. package/fesm2022/daffodil-design-card.mjs +167 -145
  58. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  59. package/fesm2022/daffodil-design-container.mjs +7 -13
  60. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  61. package/fesm2022/daffodil-design-form-field-examples.mjs +7 -7
  62. package/fesm2022/daffodil-design-form-field-examples.mjs.map +1 -1
  63. package/fesm2022/daffodil-design-hero-examples.mjs +18 -1
  64. package/fesm2022/daffodil-design-hero-examples.mjs.map +1 -1
  65. package/fesm2022/daffodil-design-hero.mjs +102 -71
  66. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  67. package/fesm2022/daffodil-design-image.mjs +5 -12
  68. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  69. package/fesm2022/daffodil-design-input-examples.mjs +6 -6
  70. package/fesm2022/daffodil-design-input-examples.mjs.map +1 -1
  71. package/fesm2022/daffodil-design-input.mjs +60 -35
  72. package/fesm2022/daffodil-design-input.mjs.map +1 -1
  73. package/fesm2022/daffodil-design-list-examples.mjs +14 -10
  74. package/fesm2022/daffodil-design-list-examples.mjs.map +1 -1
  75. package/fesm2022/daffodil-design-list.mjs +111 -98
  76. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  77. package/fesm2022/daffodil-design-media-gallery.mjs +7 -17
  78. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  79. package/fesm2022/daffodil-design-menu.mjs +26 -63
  80. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  81. package/fesm2022/daffodil-design-modal.mjs +63 -130
  82. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  83. package/fesm2022/daffodil-design-navbar.mjs +7 -20
  84. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  85. package/fesm2022/daffodil-design-notification-examples.mjs +16 -41
  86. package/fesm2022/daffodil-design-notification-examples.mjs.map +1 -1
  87. package/fesm2022/daffodil-design-notification.mjs +112 -116
  88. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  89. package/fesm2022/daffodil-design-paginator.mjs +8 -21
  90. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  91. package/fesm2022/daffodil-design-progress-bar-examples.mjs +6 -6
  92. package/fesm2022/daffodil-design-progress-bar-examples.mjs.map +1 -1
  93. package/fesm2022/daffodil-design-progress-bar.mjs +74 -115
  94. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  95. package/fesm2022/daffodil-design-quantity-field.mjs +11 -3
  96. package/fesm2022/daffodil-design-quantity-field.mjs.map +1 -1
  97. package/fesm2022/daffodil-design-select-examples.mjs +4 -4
  98. package/fesm2022/daffodil-design-select-examples.mjs.map +1 -1
  99. package/fesm2022/daffodil-design-select.mjs +50 -117
  100. package/fesm2022/daffodil-design-select.mjs.map +1 -1
  101. package/fesm2022/daffodil-design-sidebar-examples.mjs +29 -3
  102. package/fesm2022/daffodil-design-sidebar-examples.mjs.map +1 -1
  103. package/fesm2022/daffodil-design-sidebar.mjs +39 -78
  104. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  105. package/fesm2022/daffodil-design-sticky-examples.mjs +25 -0
  106. package/fesm2022/daffodil-design-sticky-examples.mjs.map +1 -0
  107. package/fesm2022/daffodil-design-tabs.mjs +54 -131
  108. package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
  109. package/fesm2022/daffodil-design-text-snippet.mjs +17 -8
  110. package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
  111. package/fesm2022/daffodil-design-textarea-examples.mjs +3 -3
  112. package/fesm2022/daffodil-design-textarea-examples.mjs.map +1 -1
  113. package/fesm2022/daffodil-design-textarea.mjs +49 -25
  114. package/fesm2022/daffodil-design-textarea.mjs.map +1 -1
  115. package/fesm2022/daffodil-design-toast.mjs +42 -128
  116. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  117. package/fesm2022/daffodil-design-tree.mjs +26 -70
  118. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  119. package/fesm2022/daffodil-design.mjs +164 -17
  120. package/fesm2022/daffodil-design.mjs.map +1 -1
  121. package/hero/README.md +39 -25
  122. package/hero/examples/basic-hero/basic-hero.component.d.ts +6 -0
  123. package/hero/examples/public_api.d.ts +1 -0
  124. package/hero/hero/hero.component.d.ts +21 -4
  125. package/hero/hero-body/hero-body.directive.d.ts +10 -4
  126. package/hero/hero-icon/hero-icon.directive.d.ts +10 -4
  127. package/hero/hero-subtitle/hero-subtitle.directive.d.ts +8 -4
  128. package/hero/hero-tagline/hero-tagline.directive.d.ts +8 -4
  129. package/hero/hero-title/hero-title.directive.d.ts +8 -4
  130. package/image/image/image.component.d.ts +0 -4
  131. package/input/input.component.d.ts +29 -9
  132. package/list/README.md +43 -13
  133. package/list/examples/multiline-list/multiline-list.component.d.ts +1 -0
  134. package/list/list/list.component.d.ts +12 -24
  135. package/list/list-item/list-item.component.d.ts +13 -20
  136. package/list/list-item-title/list-item-title.directive.d.ts +13 -0
  137. package/list/list.d.ts +8 -2
  138. package/list/list.module.d.ts +4 -3
  139. package/list/nav-list/nav-list.component.d.ts +17 -0
  140. package/list/public_api.d.ts +5 -2
  141. package/list/src/list-base.scss +40 -0
  142. package/list/src/list-theme.scss +5 -0
  143. package/media-gallery/media-gallery/media-gallery.component.d.ts +0 -6
  144. package/menu/menu/menu.component.d.ts +0 -12
  145. package/menu/menu-activator/menu-activator.component.d.ts +4 -5
  146. package/menu/menu-item/menu-item.component.d.ts +0 -10
  147. package/modal/modal/modal.component.d.ts +12 -33
  148. package/modal/modal-actions/modal-actions.component.d.ts +0 -4
  149. package/modal/modal-close/modal-close.directive.d.ts +1 -8
  150. package/modal/modal-content/modal-content.component.d.ts +0 -4
  151. package/modal/modal-header/modal-header.component.d.ts +0 -4
  152. package/modal/modal-title/modal-title.directive.d.ts +0 -11
  153. package/navbar/navbar/navbar.component.d.ts +0 -8
  154. package/navbar/src/navbar-theme.scss +2 -1
  155. package/notification/README.md +39 -24
  156. package/notification/examples/default-notification/default-notification.component.d.ts +0 -2
  157. package/notification/examples/public_api.d.ts +1 -5
  158. package/notification/helpers/notification-orientation.d.ts +17 -0
  159. package/notification/notification/notification.component.d.ts +39 -23
  160. package/notification/notification-actions/notification-actions.directive.d.ts +11 -4
  161. package/notification/notification-message/notification-message.directive.d.ts +9 -4
  162. package/notification/notification-subtitle/notification-subtitle.directive.d.ts +3 -4
  163. package/notification/notification-title/notification-title.directive.d.ts +8 -4
  164. package/notification/public_api.d.ts +6 -5
  165. package/package.json +1 -1
  166. package/paginator/paginator/paginator.component.d.ts +0 -11
  167. package/progress-bar/README.md +31 -8
  168. package/progress-bar/progress-bar-label/progress-bar-label.directive.d.ts +9 -5
  169. package/progress-bar/progress-bar.component.d.ts +39 -35
  170. package/progress-bar/public_api.d.ts +2 -2
  171. package/quantity-field/quantity-field.component.d.ts +10 -0
  172. package/scss/global.scss +0 -1
  173. package/select/select/select.component.d.ts +13 -25
  174. package/select/select.d.ts +1 -2
  175. package/sidebar/README.md +67 -72
  176. package/sidebar/examples/over-and-under-sidebars/over-and-under-sidebars.component.d.ts +0 -1
  177. package/sidebar/examples/sidebar-sides/sidebar-sides.component.d.ts +11 -0
  178. package/sidebar/sidebar/sidebar.component.d.ts +0 -9
  179. package/sidebar/sidebar-footer/sidebar-footer.component.d.ts +0 -4
  180. package/sidebar/sidebar-header/sidebar-header-action/sidebar-header-action.directive.d.ts +3 -0
  181. package/sidebar/sidebar-header/sidebar-header.component.d.ts +0 -4
  182. package/sidebar/sidebar-viewport/sidebar-viewport.component.d.ts +0 -17
  183. package/sticky/examples/basic-sticky/basic-sticky.component.d.ts +5 -0
  184. package/sticky/examples/index.d.ts +1 -0
  185. package/sticky/examples/public_api.d.ts +2 -0
  186. package/tabs/README.md +38 -14
  187. package/tabs/tabs/tab/tab.component.d.ts +4 -16
  188. package/tabs/tabs/tab-activator/tab-activator.component.d.ts +6 -27
  189. package/tabs/tabs/tab-label/tab-label.component.d.ts +5 -2
  190. package/tabs/tabs/tab-panel/tab-panel.component.d.ts +7 -24
  191. package/tabs/tabs/tabs.component.d.ts +5 -11
  192. package/text-snippet/README.md +31 -3
  193. package/text-snippet/text-snippet.component.d.ts +17 -2
  194. package/textarea/textarea.component.d.ts +25 -5
  195. package/toast/README.md +47 -21
  196. package/toast/interfaces/toast-action.d.ts +4 -5
  197. package/toast/interfaces/toast-options.d.ts +3 -1
  198. package/toast/interfaces/toast.d.ts +22 -7
  199. package/toast/service/toast.service.d.ts +3 -3
  200. package/toast/toast/toast-config.d.ts +7 -3
  201. package/toast/toast/toast-template.component.d.ts +1 -1
  202. package/toast/toast/toast.component.d.ts +0 -2
  203. package/toast/toast-actions/toast-actions.directive.d.ts +0 -4
  204. package/toast/toast-message/toast-message.directive.d.ts +0 -4
  205. package/toast/toast-title/toast-title.directive.d.ts +0 -4
  206. package/tree/tree/tree.component.d.ts +0 -6
  207. package/tree/tree-item/tree-item.directive.d.ts +7 -35
  208. package/accordion/accordion/animation/accordion-animation-state.d.ts +0 -1
  209. package/accordion/accordion/animation/accordion-animation.d.ts +0 -4
  210. package/card/examples/raised-card/raised-card.component.d.ts +0 -11
  211. package/notification/examples/notification-with-actions/notification-with-actions.component.d.ts +0 -8
  212. package/progress-bar/animation/progress-bar-animation.d.ts +0 -4
  213. package/select/animation/select-animation-state.d.ts +0 -7
  214. package/select/animation/select-animation.d.ts +0 -4
  215. package/select/animation/state.enum.d.ts +0 -4
@@ -7,18 +7,6 @@ export declare class DaffMenuComponent implements AfterContentInit, AfterViewIni
7
7
  private _ngZone;
8
8
  private _elementRef;
9
9
  private menuService;
10
- /**
11
- * @docs-private
12
- */
13
- class: boolean;
14
- /**
15
- * @docs-private
16
- */
17
- tabindex: number;
18
- /**
19
- * @docs-private
20
- */
21
- role: string;
22
10
  private _focusTrap;
23
11
  constructor(_focusTrapFactory: ConfigurableFocusTrapFactory, _ngZone: NgZone, _elementRef: ElementRef<HTMLElement>, menuService: DaffMenuService);
24
12
  /**
@@ -7,15 +7,14 @@ export declare class DaffMenuActivatorDirective implements OnDestroy {
7
7
  private cdRef;
8
8
  private _destroyed$;
9
9
  private _open;
10
- /**
11
- * @docs-private
12
- */
13
- get openClass(): boolean;
14
10
  daffMenuActivator: Type<unknown> | TemplateRef<unknown>;
15
11
  constructor(service: DaffMenuService, viewContainerRef: ViewContainerRef, cdRef: ChangeDetectorRef);
16
12
  ngOnDestroy(): void;
17
13
  focus(): void;
18
- openMenu(event: any): void;
14
+ /**
15
+ * @docs-private
16
+ */
17
+ onClick(event: MouseEvent): void;
19
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffMenuActivatorDirective, never>;
20
19
  static ɵdir: i0.ɵɵDirectiveDeclaration<DaffMenuActivatorDirective, "[daffMenuActivator]", never, { "daffMenuActivator": { "alias": "daffMenuActivator"; "required": false; }; }, {}, never, never, true, never>;
21
20
  }
@@ -1,16 +1,6 @@
1
1
  import { DaffPrefixDirective } from '@daffodil/design';
2
2
  import * as i0 from "@angular/core";
3
3
  export declare class DaffMenuItemComponent {
4
- /**
5
- * @docs-private
6
- */
7
- class: boolean;
8
- /**
9
- * Sets the role of the component to menuitem.
10
- *
11
- * @docs-private
12
- */
13
- role: string;
14
4
  /**
15
5
  * @docs-private
16
6
  */
@@ -1,48 +1,19 @@
1
1
  import { AnimationEvent } from '@angular/animations';
2
2
  import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
3
3
  import { ComponentPortal } from '@angular/cdk/portal';
4
- import { EventEmitter, ElementRef, AfterContentInit, AfterViewInit, ChangeDetectorRef } from '@angular/core';
4
+ import { EventEmitter, ElementRef, AfterContentInit, AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
5
5
  import { DaffOpenable, DaffOpenableDirective, DaffFocusStackService } from '@daffodil/design';
6
6
  import { DaffModalService } from '../service/modal.service';
7
7
  import * as i0 from "@angular/core";
8
8
  import * as i1 from "@daffodil/design";
9
- export declare class DaffModalComponent implements AfterContentInit, AfterViewInit, DaffOpenable {
9
+ export declare class DaffModalComponent implements AfterContentInit, AfterViewInit, OnDestroy, DaffOpenable {
10
10
  private modalService;
11
11
  private _focusTrapFactory;
12
12
  private elementRef;
13
13
  private openDirective;
14
14
  private _focusStack;
15
15
  private changeDetector;
16
- /**
17
- * Sets a class of .daff-modal to the host element.
18
- */
19
- /**
20
- * @docs-private
21
- */
22
- modalClass: boolean;
23
- /**
24
- * Sets the role to dialog.
25
- */
26
- /**
27
- * @docs-private
28
- */
29
- role: string;
30
- /**
31
- * Sets aria-modal to true.
32
- */
33
- /**
34
- * @docs-private
35
- */
36
- ariaModal: boolean;
37
16
  private _ariaLabelledBy;
38
- /**
39
- * The aria-labelledby for the modal. This is set by the id of
40
- * {@link DaffModalTitleDirective} when it is used.
41
- *
42
- */
43
- /**
44
- * @docs-private
45
- */
46
17
  get ariaLabelledBy(): string;
47
18
  set ariaLabelledBy(value: string);
48
19
  /**
@@ -54,9 +25,13 @@ export declare class DaffModalComponent implements AfterContentInit, AfterViewIn
54
25
  */
55
26
  animationCompleted: EventEmitter<any>;
56
27
  /**
57
- * Event fired when the close animation is completed.
28
+ * Private subject for closed animation completion events.
29
+ */
30
+ private _closedAnimationCompleted;
31
+ /**
32
+ * Observable that emits when the close animation is completed.
58
33
  */
59
- closedAnimationCompleted: EventEmitter<any>;
34
+ readonly closedAnimationCompleted$: import("rxjs").Observable<AnimationEvent>;
60
35
  /**
61
36
  * @docs-private
62
37
  */
@@ -100,6 +75,10 @@ export declare class DaffModalComponent implements AfterContentInit, AfterViewIn
100
75
  * Toggles the visibility of the modal
101
76
  */
102
77
  toggle(): void;
78
+ /**
79
+ * @docs-private
80
+ */
81
+ ngOnDestroy(): void;
103
82
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalComponent, never>;
104
83
  static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalComponent, "daff-modal", never, {}, {}, never, never, true, [{ directive: typeof i1.DaffOpenableDirective; inputs: {}; outputs: { "toggled": "toggled"; }; }]>;
105
84
  }
@@ -1,9 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class DaffModalActionsComponent {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
3
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalActionsComponent, never>;
8
4
  static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalActionsComponent, "daff-modal-actions", never, {}, {}, never, ["*"], true, never>;
9
5
  }
@@ -11,17 +11,10 @@ export declare class DaffModalCloseDirective {
11
11
  private modalService;
12
12
  private modal;
13
13
  constructor(modalService: DaffModalService, modal: DaffModalComponent);
14
- /**
15
- * Event fired when the button the directive is attached to is clicked. This is used to close a modal.
16
- */
17
- _onCloseModal(event: MouseEvent): void;
18
- /**
19
- * Sets the button type attribute to button.
20
- */
21
14
  /**
22
15
  * @docs-private
23
16
  */
24
- typeAttribute: string;
17
+ onClick(event: MouseEvent): void;
25
18
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalCloseDirective, [null, { optional: true; }]>;
26
19
  static ɵdir: i0.ɵɵDirectiveDeclaration<DaffModalCloseDirective, "button[daffModalClose]", never, {}, {}, never, never, true, never>;
27
20
  }
@@ -1,9 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class DaffModalContentComponent {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
3
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalContentComponent, never>;
8
4
  static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalContentComponent, "daff-modal-content", never, {}, {}, never, ["*"], true, never>;
9
5
  }
@@ -1,10 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class DaffModalHeaderComponent {
3
3
  faXmark: import("@fortawesome/fontawesome-common-types").IconDefinition;
4
- /**
5
- * @docs-private
6
- */
7
- class: boolean;
8
4
  /**
9
5
  * Whether or not a modal is dismissible.
10
6
  */
@@ -5,18 +5,7 @@ import * as i0 from "@angular/core";
5
5
  */
6
6
  export declare class DaffModalTitleDirective {
7
7
  private modal;
8
- /**
9
- * @docs-private
10
- */
11
- class: boolean;
12
8
  private _id;
13
- /**
14
- * The html `id` of the modal title.
15
- */
16
- /**
17
- * @docs-private
18
- */
19
- get uniqueId(): string;
20
9
  constructor(modal: DaffModalComponent);
21
10
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalTitleDirective, [{ optional: true; }]>;
22
11
  static ɵdir: i0.ɵɵDirectiveDeclaration<DaffModalTitleDirective, "[daffModalTitle]", never, {}, {}, never, never, true, never>;
@@ -2,14 +2,6 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "@daffodil/design";
3
3
  export declare class DaffNavbarComponent {
4
4
  raised: boolean;
5
- /**
6
- * @docs-private
7
- */
8
- get raisedClass(): boolean;
9
- /**
10
- * @docs-private
11
- */
12
- hostClass: boolean;
13
5
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffNavbarComponent, never>;
14
6
  static ɵcmp: i0.ɵɵComponentDeclaration<DaffNavbarComponent, "nav[daff-navbar]", never, { "raised": { "alias": "raised"; "required": false; }; }, {}, never, ["*"], true, [{ directive: typeof i1.DaffManageContainerLayoutDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }]>;
15
7
  }
@@ -5,6 +5,7 @@
5
5
  color: daff-text-contrast($color);
6
6
  }
7
7
 
8
+ // stylelint-disable selector-class-pattern
8
9
  @mixin daff-navbar-theme($theme) {
9
10
  $primary: daff-get-palette($theme, primary);
10
11
  $secondary: daff-get-palette($theme, secondary);
@@ -25,7 +26,7 @@
25
26
  @include daff-navbar-theme-variant(daff-color($neutral, 90));
26
27
  }
27
28
 
28
- &--raised {
29
+ &.raised {
29
30
  box-shadow: 0 4px 10px rgba($black, 0.08);
30
31
  }
31
32
 
@@ -1,10 +1,11 @@
1
1
  # Notification
2
- Notifications provide a way to display and communicate information related to user actions within a page's content.
2
+ Notifications provide contextual feedback or information related to user actions within a page's content.
3
3
 
4
4
  ## Overview
5
- Notifications are used to display short messages that provide context in close promixity to a piece of content. They're often used to provide feedback or to notify users about an action they performed within a page. Notifications should not be used to display app-level alerts. Instead, use the [Toast](/libs/design/toast/README.md) component.
5
+ Notifications are used to display short messages that are closely associated with nearby content or actions. They're often used to confirm an action, display warnings, or provide contextual information.
6
+
7
+ Notifications should not be used to display app-level alerts. For global messages, use the [Toast](/libs/design/toast/README.md) component.
6
8
 
7
- ### Default Notification
8
9
  <design-land-example-viewer-container example="default-notification"></design-land-example-viewer-container>
9
10
 
10
11
  ## Usage
@@ -49,42 +50,56 @@ export class CustomComponentModule { }
49
50
 
50
51
  > This method is deprecated. It's recommended to update all custom components to standalone.
51
52
 
52
- ## Supported Content Types
53
-
54
- ### Icon
55
- An icon can be used to provide users with a quick visual cue about the purpose of a notification. Place the icon before the title and subtitle using the `[daffPrefix]` selector.
53
+ ## Anatomy
54
+ A notification is composed of the following, projected in the order listed:
56
55
 
57
- ### Title
58
- The title provides a quick overview of what the notification's content. Add it using the `[daffNotificationTitle]` selector.
56
+ **Icon**\
57
+ Use the `[daffPrefix]` selector to add a decorative icon that provides a quick visual cue about the notification’s purpose.
59
58
 
60
- ### Subtitle
61
- The subtitle provides additional details about the notification. It should be limited to one or two sentences. Add it using the `[daffNotificationSubtitle]` selector.
59
+ **Title**\
60
+ The primary text summarizing the notification. Use the `[daffNotificationTitle]` selector.
62
61
 
63
- ### Actions
64
- Buttons can be included in notifications to dismiss them or navigate them to a page with more information. Use the `[daffNotificationActions]` selector to include these actions.
62
+ **Message**\
63
+ Provides additional details or context. Use the `[daffNotificationMessage]` selector. Keep this brief—ideally one to two short sentences.
65
64
 
66
- <design-land-example-viewer-container example="notification-with-actions"></design-land-example-viewer-container>
65
+ **Actions**\
66
+ Include actionable buttons related to the notification (e.g., dismiss, navigate) by using the `[daffNotificationActions]` selector. **A maximum of two buttons is recommended** to keep the notification concise.
67
67
 
68
- ## Properties
68
+ ```html
69
+ <daff-notification>
70
+ <fa-icon daffPrefix></fa-icon>
71
+ <div daffNotificationTitle>Notification title</div>
72
+ <div daffNotificationMessage>Additional details about this notification.</div>
73
+ <div daffNotificationActions>
74
+ <button daff-button>Confirm</button>
75
+ <button daff-button>Cancel</button>
76
+ </div>
77
+ </daff-notification>
78
+ ```
69
79
 
70
- ### Status
71
- The status property is used to visually distinguish between different notification types. Use the `status` property to set the status.
80
+ ## Status
81
+ Use the `status` property to visually differentiate between notification types such as `info`, `warn`, `critical`, or `success`.
72
82
 
73
83
  <design-land-example-viewer-container example="notification-status"></design-land-example-viewer-container>
74
84
 
75
- ### Orientation
76
- Orientation dictates how a notification's content is stacked — `vertical` or `horizontal`. Notifications are oriented vertically by default. The orientation of a notification can be defined or updated by using the `orientation` property.
85
+ ## Orientation
86
+ Use the `orientation` property to stack notification content either `vertical` (default) or `horizontal`.
77
87
 
78
88
  <design-land-example-viewer-container example="notification-orientations"></design-land-example-viewer-container>
79
89
 
80
- ### Dismissing a notification
81
- By default, notifications are not dismissible and remain visible until the user takes an action to resolve them.
90
+ ## Dismissing a notification
91
+ Notifications are persistent by default. To display a close button, set the `dismissible` property to `true`.
82
92
 
83
- To show a close button, set the `dismissible` property to `true`. Avoid making critical notifications dismissible to ensure users can read or interact with the necessary information.
93
+ > Avoid making critical notifications dismissible to ensure users can read or interact with the necessary information.
84
94
 
85
95
  <design-land-example-viewer-container example="dismissible-notification"></design-land-example-viewer-container>
86
96
 
87
97
  ## Accessibility
88
- Notifications with a `critical` or `warn` status have a `role="alert"` so that it can be announced by assistive technologies. See [live region roles](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles#4._live_region_roles) for more information. All other notifications have a `role="status"`.
98
+ **Live region roles:**
99
+ - Notifications with `critical` or `warn` status use `role="alert"` for immediate announcement by assistive technologies.
100
+ - All other notifications use `role="status"` for non-interruptive announcements.
101
+
102
+ See [live region roles](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles#4._live_region_roles) for more information.
89
103
 
90
- Notifications have a `tabindex="0"` so users can discover them while tabbing through a page.
104
+ **Keyboard focus:**
105
+ - Notifications include `tabindex="0"` so they can be discovered by keyboard users.
@@ -1,8 +1,6 @@
1
1
  import * as i0 from "@angular/core";
2
2
  export declare class DefaultNotificationComponent {
3
3
  faInfoCircle: import("@fortawesome/fontawesome-common-types").IconDefinition;
4
- showNotification: boolean;
5
- toggleNotification(): void;
6
4
  static ɵfac: i0.ɵɵFactoryDeclaration<DefaultNotificationComponent, never>;
7
5
  static ɵcmp: i0.ɵɵComponentDeclaration<DefaultNotificationComponent, "default-notification", never, {}, {}, never, never, true, never>;
8
6
  }
@@ -1,6 +1,2 @@
1
1
  import { DefaultNotificationComponent } from './default-notification/default-notification.component';
2
- import { DismissibleNotificationComponent } from './dismissible-notification/dismissible-notification.component';
3
- import { NotificationOrientationsComponent } from './notification-orientations/notification-orientations.component';
4
- import { NotificationStatusComponent } from './notification-status/notification-status.component';
5
- import { NotificationWithActionsComponent } from './notification-with-actions/notification-with-actions.component';
6
- export declare const NOTIFICATION_EXAMPLES: (typeof DefaultNotificationComponent | typeof DismissibleNotificationComponent | typeof NotificationOrientationsComponent | typeof NotificationStatusComponent | typeof NotificationWithActionsComponent)[];
2
+ export declare const NOTIFICATION_EXAMPLES: (typeof DefaultNotificationComponent)[];
@@ -0,0 +1,17 @@
1
+ /**
2
+ * The available orientations for a notification.
3
+ *
4
+ * | Orientation | Description |
5
+ * | -- | -- |
6
+ * | `vertical` | Stacks notification content from top to bottom. This is the default orientation. |
7
+ * | `horizontal` | Places notification content side-by-side. |
8
+ */
9
+ export type DaffNotificationOrientation = 'horizontal' | 'vertical';
10
+ /**
11
+ * Enum for representing the available notification orientations.
12
+ * See {@link DaffNotificationOrientation} for descriptions of each orientation.
13
+ */
14
+ export declare enum DaffNotificationOrientationEnum {
15
+ Horizontal = "horizontal",
16
+ Vertical = "vertical"
17
+ }
@@ -1,53 +1,69 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { DaffPrefixDirective, DaffStatusableDirective } from '@daffodil/design';
3
+ import { DaffNotificationOrientation } from '../helpers/notification-orientation';
3
4
  import { DaffNotificationActionsDirective } from '../notification-actions/notification-actions.directive';
4
5
  import * as i0 from "@angular/core";
5
6
  import * as i1 from "@daffodil/design";
6
- export type DaffNotificationOrientation = 'horizontal' | 'vertical';
7
+ import * as i2 from "../helpers/notification-orientation";
7
8
  /**
8
- * DaffNotificationComponent provides a way to display and communicate
9
- * information related to user actions within a page's content.
9
+ * Notifications provide contextual feedback or information related to user actions within a page's content.
10
+ *
11
+ * Use [Toast](/libs/design/toast/README.md) for app-level alerts.
12
+ *
13
+ * @example
14
+ * ```html
15
+ * <daff-notification>
16
+ * <fa-icon daffPrefix [icon]="faExclamation"></fa-icon>
17
+ * <div daffNotificationTitle>Payment Failed</div>
18
+ * <div daffNotificationMessage>We were unable to process your payment for order #12345. Please update your payment details and try again.</div>
19
+ * <div daffNotificationActions>
20
+ * <button daff-button>Update payment</button>
21
+ * <button daff-button>Contact support</button>
22
+ * </div>
23
+ * </daff-notification>
24
+ * ```
10
25
  */
11
26
  export declare class DaffNotificationComponent {
12
27
  private statusDirective;
13
- faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
14
- _prefix: DaffPrefixDirective;
15
- _actions: DaffNotificationActionsDirective;
16
28
  /**
17
29
  * @docs-private
18
30
  */
19
- class: boolean;
31
+ faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
20
32
  /**
21
33
  * @docs-private
22
34
  */
23
- tabindex: string;
24
- /**
25
- * Sets role to alert when `status="warn"` or `status="critical"`.
26
- * Sets role to status on all other instances.
27
- */
35
+ _prefix: DaffPrefixDirective;
28
36
  /**
29
37
  * @docs-private
30
38
  */
31
- get role(): "status" | "alert";
39
+ _actions: DaffNotificationActionsDirective;
32
40
  /**
33
41
  * @docs-private
42
+ *
43
+ * Sets role to alert when `status="warn"` or `status="critical"`.
44
+ * Sets role to status on all other instances.
34
45
  */
35
- get verticalOrientation(): boolean;
36
- /**
37
- * @docs-private
46
+ get role(): "status" | "alert";
47
+ /** Whether the notification can be dismissed by the user.
48
+ * Displays a close icon if `true`.
38
49
  */
39
- get horizontalOrientation(): boolean;
40
- /** Whether or not a notification is closable */
41
50
  dismissible: boolean;
42
51
  constructor(statusDirective: DaffStatusableDirective);
43
- private _orientation;
44
- get orientation(): DaffNotificationOrientation;
45
- set orientation(value: DaffNotificationOrientation);
46
52
  /**
47
- * Output event triggered when the close icon is clicked.
53
+ * The orientation of a notification.
54
+ */
55
+ orientation: DaffNotificationOrientation;
56
+ /**
57
+ * Emits when the notification is closed.
48
58
  */
49
59
  closeNotification: EventEmitter<void>;
60
+ /**
61
+ * @docs-private
62
+ *
63
+ * Internal handler for the close icon click.
64
+ */
50
65
  onCloseNotification(event: Event): void;
51
66
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationComponent, never>;
52
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffNotificationComponent, "daff-notification", never, { "dismissible": { "alias": "dismissible"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "closeNotification": "closeNotification"; }, ["_prefix", "_actions"], ["[daffPrefix]", "[daffNotificationTitle]", "[daffNotificationSubtitle]", "[daffNotificationActions]"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffStatusableDirective; inputs: { "status": "status"; }; outputs: {}; }]>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffNotificationComponent, "daff-notification", never, { "dismissible": { "alias": "dismissible"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; }, { "closeNotification": "closeNotification"; }, ["_prefix", "_actions"], ["[daffPrefix]", "[daffNotificationTitle]", "[daffNotificationMessage]", "[daffNotificationActions]"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffStatusableDirective; inputs: { "status": "status"; }; outputs: {}; }]>;
68
+ static ngAcceptInputType_orientation: i2.DaffNotificationOrientation | null | undefined;
53
69
  }
@@ -1,9 +1,16 @@
1
1
  import * as i0 from "@angular/core";
2
+ /**
3
+ * Actions is used to include actionable buttons related to the notification (e.g., dismiss, navigate).
4
+ *
5
+ * @example
6
+ * ```html
7
+ * <div daffNotificationActions>
8
+ * <button daff-button>Update payment</button>
9
+ * <button daff-button>Contact support</button>
10
+ * </div>
11
+ * ```
12
+ */
2
13
  export declare class DaffNotificationActionsDirective {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
14
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationActionsDirective, never>;
8
15
  static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationActionsDirective, "[daffNotificationActions]", never, {}, {}, never, never, true, never>;
9
16
  }
@@ -1,9 +1,14 @@
1
1
  import * as i0 from "@angular/core";
2
+ /**
3
+ * Message provides additional details or supporting context that supplements
4
+ * the notification title. Keep this brief—ideally one to two short sentences.
5
+ *
6
+ * @example
7
+ * ```html
8
+ * <div daffNotificationMessage>We were unable to process your payment for order #12345. Please update your payment details and try again.</div>
9
+ * ```
10
+ */
2
11
  export declare class DaffNotificationMessageDirective {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
12
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationMessageDirective, never>;
8
13
  static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationMessageDirective, "[daffNotificationMessage]", never, {}, {}, never, never, true, never>;
9
14
  }
@@ -1,9 +1,8 @@
1
1
  import * as i0 from "@angular/core";
2
+ /**
3
+ * @deprecated in favor of DaffNotificationMessageDirective. Deprecated in version 0.88.0. Will be removed in version 0.91.0.
4
+ */
2
5
  export declare class DaffNotificationSubtitleDirective {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
6
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationSubtitleDirective, never>;
8
7
  static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationSubtitleDirective, "[daffNotificationSubtitle]", never, {}, {}, never, never, true, never>;
9
8
  }
@@ -1,9 +1,13 @@
1
1
  import * as i0 from "@angular/core";
2
+ /**
3
+ * Title is the primary text summarizing the notification.
4
+ *
5
+ * @example
6
+ * ```html
7
+ * <div daffNotificationTitle>Payment Failed</div>
8
+ * ```
9
+ */
2
10
  export declare class DaffNotificationTitleDirective {
3
- /**
4
- * @docs-private
5
- */
6
- class: boolean;
7
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationTitleDirective, never>;
8
12
  static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationTitleDirective, "[daffNotificationTitle]", never, {}, {}, never, never, true, never>;
9
13
  }
@@ -1,7 +1,8 @@
1
1
  export { DaffNotificationModule } from './notification.module';
2
- export * from './notification/notification.component';
3
- export * from './notification-actions/notification-actions.directive';
4
- export * from './notification-title/notification-title.directive';
5
- export * from './notification-subtitle/notification-subtitle.directive';
6
- export * from './notification-message/notification-message.directive';
2
+ export { DaffNotificationComponent } from './notification/notification.component';
3
+ export { DaffNotificationActionsDirective } from './notification-actions/notification-actions.directive';
4
+ export { DaffNotificationTitleDirective } from './notification-title/notification-title.directive';
5
+ export { DaffNotificationSubtitleDirective } from './notification-subtitle/notification-subtitle.directive';
6
+ export { DaffNotificationMessageDirective } from './notification-message/notification-message.directive';
7
7
  export { DAFF_NOTIFICATION_COMPONENTS } from './notification';
8
+ export { DaffNotificationOrientation, DaffNotificationOrientationEnum, } from './helpers/notification-orientation';
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@daffodil/design","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/design"]}}},"version":"0.87.2","author":"Graycore LLC","license":"MIT","bugs":{"url":"https://github.com/graycoreio/daffodil/issues"},"homepage":"https://github.com/graycoreio/daffodil","description":"A consistent, sane api driver that works with different ecommerce systems.","repository":{"type":"git","url":"https://github.com/graycoreio/daffodil"},"peerDependencies":{"@angular/animations":"^19.0.0","@angular/common":"^19.0.0","@angular/core":"^19.0.0","@angular/forms":"^19.0.0","@angular/cdk":"^19.0.0","@daffodil/core":"0.87.2","@fortawesome/angular-fontawesome":"^1.0.0","@fortawesome/fontawesome-svg-core":"^6.4.2","@fortawesome/free-solid-svg-icons":"^6.4.2","@fortawesome/free-brands-svg-icons":"^6.4.2","@fortawesome/free-regular-svg-icons":"^6.4.2","modern-normalize":"^3.0.1","rxjs":"7.8.1"},"optionalDependencies":{"@faker-js/faker":"^9.8.0"},"exports":{"./scss/global":{"sass":"./scss/global.scss"},"./scss/theme":{"sass":"./scss/theme.scss"},"./scss/utilities":{"sass":"./scss/utilities.scss"},"./scss/typography":{"sass":"./scss/typography/_index.scss"},"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","default":"./fesm2022/daffodil-design.mjs"},"./accordion":{"types":"./accordion/index.d.ts","default":"./fesm2022/daffodil-design-accordion.mjs"},"./article":{"types":"./article/index.d.ts","default":"./fesm2022/daffodil-design-article.mjs"},"./breadcrumb":{"types":"./breadcrumb/index.d.ts","default":"./fesm2022/daffodil-design-breadcrumb.mjs"},"./button":{"types":"./button/index.d.ts","default":"./fesm2022/daffodil-design-button.mjs"},"./card":{"types":"./card/index.d.ts","default":"./fesm2022/daffodil-design-card.mjs"},"./callout":{"types":"./callout/index.d.ts","default":"./fesm2022/daffodil-design-callout.mjs"},"./container":{"types":"./container/index.d.ts","default":"./fesm2022/daffodil-design-container.mjs"},"./hero":{"types":"./hero/index.d.ts","default":"./fesm2022/daffodil-design-hero.mjs"},"./image":{"types":"./image/index.d.ts","default":"./fesm2022/daffodil-design-image.mjs"},"./input":{"types":"./input/index.d.ts","default":"./fesm2022/daffodil-design-input.mjs"},"./link-set":{"types":"./link-set/index.d.ts","default":"./fesm2022/daffodil-design-link-set.mjs"},"./list":{"types":"./list/index.d.ts","default":"./fesm2022/daffodil-design-list.mjs"},"./loading-icon":{"types":"./loading-icon/index.d.ts","default":"./fesm2022/daffodil-design-loading-icon.mjs"},"./media-gallery":{"types":"./media-gallery/index.d.ts","default":"./fesm2022/daffodil-design-media-gallery.mjs"},"./menu":{"types":"./menu/index.d.ts","default":"./fesm2022/daffodil-design-menu.mjs"},"./modal":{"types":"./modal/index.d.ts","default":"./fesm2022/daffodil-design-modal.mjs"},"./navbar":{"types":"./navbar/index.d.ts","default":"./fesm2022/daffodil-design-navbar.mjs"},"./notification":{"types":"./notification/index.d.ts","default":"./fesm2022/daffodil-design-notification.mjs"},"./paginator":{"types":"./paginator/index.d.ts","default":"./fesm2022/daffodil-design-paginator.mjs"},"./progress-bar":{"types":"./progress-bar/index.d.ts","default":"./fesm2022/daffodil-design-progress-bar.mjs"},"./quantity-field":{"types":"./quantity-field/index.d.ts","default":"./fesm2022/daffodil-design-quantity-field.mjs"},"./select":{"types":"./select/index.d.ts","default":"./fesm2022/daffodil-design-select.mjs"},"./sidebar":{"types":"./sidebar/index.d.ts","default":"./fesm2022/daffodil-design-sidebar.mjs"},"./switch":{"types":"./switch/index.d.ts","default":"./fesm2022/daffodil-design-switch.mjs"},"./tabs":{"types":"./tabs/index.d.ts","default":"./fesm2022/daffodil-design-tabs.mjs"},"./text-snippet":{"types":"./text-snippet/index.d.ts","default":"./fesm2022/daffodil-design-text-snippet.mjs"},"./textarea":{"types":"./textarea/index.d.ts","default":"./fesm2022/daffodil-design-textarea.mjs"},"./toast":{"types":"./toast/index.d.ts","default":"./fesm2022/daffodil-design-toast.mjs"},"./tree":{"types":"./tree/index.d.ts","default":"./fesm2022/daffodil-design-tree.mjs"},"./youtube-player":{"types":"./youtube-player/index.d.ts","default":"./fesm2022/daffodil-design-youtube-player.mjs"},"./accordion/examples":{"types":"./accordion/examples/index.d.ts","default":"./fesm2022/daffodil-design-accordion-examples.mjs"},"./article/examples":{"types":"./article/examples/index.d.ts","default":"./fesm2022/daffodil-design-article-examples.mjs"},"./breadcrumb/examples":{"types":"./breadcrumb/examples/index.d.ts","default":"./fesm2022/daffodil-design-breadcrumb-examples.mjs"},"./button/examples":{"types":"./button/examples/index.d.ts","default":"./fesm2022/daffodil-design-button-examples.mjs"},"./card/examples":{"types":"./card/examples/index.d.ts","default":"./fesm2022/daffodil-design-card-examples.mjs"},"./callout/examples":{"types":"./callout/examples/index.d.ts","default":"./fesm2022/daffodil-design-callout-examples.mjs"},"./checkbox/examples":{"types":"./checkbox/examples/index.d.ts","default":"./fesm2022/daffodil-design-checkbox-examples.mjs"},"./container/examples":{"types":"./container/examples/index.d.ts","default":"./fesm2022/daffodil-design-container-examples.mjs"},"./form-field/examples":{"types":"./form-field/examples/index.d.ts","default":"./fesm2022/daffodil-design-form-field-examples.mjs"},"./hero/examples":{"types":"./hero/examples/index.d.ts","default":"./fesm2022/daffodil-design-hero-examples.mjs"},"./image/examples":{"types":"./image/examples/index.d.ts","default":"./fesm2022/daffodil-design-image-examples.mjs"},"./input/examples":{"types":"./input/examples/index.d.ts","default":"./fesm2022/daffodil-design-input-examples.mjs"},"./list/examples":{"types":"./list/examples/index.d.ts","default":"./fesm2022/daffodil-design-list-examples.mjs"},"./loading-icon/examples":{"types":"./loading-icon/examples/index.d.ts","default":"./fesm2022/daffodil-design-loading-icon-examples.mjs"},"./media-gallery/examples":{"types":"./media-gallery/examples/index.d.ts","default":"./fesm2022/daffodil-design-media-gallery-examples.mjs"},"./menu/examples":{"types":"./menu/examples/index.d.ts","default":"./fesm2022/daffodil-design-menu-examples.mjs"},"./modal/examples":{"types":"./modal/examples/index.d.ts","default":"./fesm2022/daffodil-design-modal-examples.mjs"},"./navbar/examples":{"types":"./navbar/examples/index.d.ts","default":"./fesm2022/daffodil-design-navbar-examples.mjs"},"./notification/examples":{"types":"./notification/examples/index.d.ts","default":"./fesm2022/daffodil-design-notification-examples.mjs"},"./paginator/examples":{"types":"./paginator/examples/index.d.ts","default":"./fesm2022/daffodil-design-paginator-examples.mjs"},"./progress-bar/examples":{"types":"./progress-bar/examples/index.d.ts","default":"./fesm2022/daffodil-design-progress-bar-examples.mjs"},"./quantity-field/examples":{"types":"./quantity-field/examples/index.d.ts","default":"./fesm2022/daffodil-design-quantity-field-examples.mjs"},"./radio/examples":{"types":"./radio/examples/index.d.ts","default":"./fesm2022/daffodil-design-radio-examples.mjs"},"./select/examples":{"types":"./select/examples/index.d.ts","default":"./fesm2022/daffodil-design-select-examples.mjs"},"./sidebar/examples":{"types":"./sidebar/examples/index.d.ts","default":"./fesm2022/daffodil-design-sidebar-examples.mjs"},"./switch/examples":{"types":"./switch/examples/index.d.ts","default":"./fesm2022/daffodil-design-switch-examples.mjs"},"./tabs/examples":{"types":"./tabs/examples/index.d.ts","default":"./fesm2022/daffodil-design-tabs-examples.mjs"},"./text-snippet/examples":{"types":"./text-snippet/examples/index.d.ts","default":"./fesm2022/daffodil-design-text-snippet-examples.mjs"},"./textarea/examples":{"types":"./textarea/examples/index.d.ts","default":"./fesm2022/daffodil-design-textarea-examples.mjs"},"./toast/examples":{"types":"./toast/examples/index.d.ts","default":"./fesm2022/daffodil-design-toast-examples.mjs"},"./tree/examples":{"types":"./tree/examples/index.d.ts","default":"./fesm2022/daffodil-design-tree-examples.mjs"}},"module":"fesm2022/daffodil-design.mjs","typings":"index.d.ts","sideEffects":false,"dependencies":{"tslib":"^2.3.0"}}
1
+ {"name":"@daffodil/design","nx":{"targets":{"build":{"outputs":["{workspaceRoot}/dist/design"]}}},"version":"0.88.1","author":"Graycore LLC","license":"MIT","bugs":{"url":"https://github.com/graycoreio/daffodil/issues"},"homepage":"https://github.com/graycoreio/daffodil","description":"A consistent, sane api driver that works with different ecommerce systems.","repository":{"type":"git","url":"https://github.com/graycoreio/daffodil"},"peerDependencies":{"@angular/animations":"^19.0.0","@angular/common":"^19.0.0","@angular/core":"^19.0.0","@angular/forms":"^19.0.0","@angular/cdk":"^19.0.0","@daffodil/core":"0.88.1","@fortawesome/angular-fontawesome":"^1.0.0","@fortawesome/fontawesome-svg-core":"^6.4.2","@fortawesome/free-solid-svg-icons":"^6.4.2","@fortawesome/free-brands-svg-icons":"^6.4.2","@fortawesome/free-regular-svg-icons":"^6.4.2","modern-normalize":"^3.0.1","rxjs":"7.8.1"},"optionalDependencies":{"@faker-js/faker":"^9.8.0"},"exports":{"./scss/global":{"sass":"./scss/global.scss"},"./scss/theme":{"sass":"./scss/theme.scss"},"./scss/utilities":{"sass":"./scss/utilities.scss"},"./scss/typography":{"sass":"./scss/typography/_index.scss"},"./package.json":{"default":"./package.json"},".":{"types":"./index.d.ts","default":"./fesm2022/daffodil-design.mjs"},"./accordion":{"types":"./accordion/index.d.ts","default":"./fesm2022/daffodil-design-accordion.mjs"},"./article":{"types":"./article/index.d.ts","default":"./fesm2022/daffodil-design-article.mjs"},"./breadcrumb":{"types":"./breadcrumb/index.d.ts","default":"./fesm2022/daffodil-design-breadcrumb.mjs"},"./button":{"types":"./button/index.d.ts","default":"./fesm2022/daffodil-design-button.mjs"},"./card":{"types":"./card/index.d.ts","default":"./fesm2022/daffodil-design-card.mjs"},"./callout":{"types":"./callout/index.d.ts","default":"./fesm2022/daffodil-design-callout.mjs"},"./container":{"types":"./container/index.d.ts","default":"./fesm2022/daffodil-design-container.mjs"},"./hero":{"types":"./hero/index.d.ts","default":"./fesm2022/daffodil-design-hero.mjs"},"./image":{"types":"./image/index.d.ts","default":"./fesm2022/daffodil-design-image.mjs"},"./input":{"types":"./input/index.d.ts","default":"./fesm2022/daffodil-design-input.mjs"},"./link-set":{"types":"./link-set/index.d.ts","default":"./fesm2022/daffodil-design-link-set.mjs"},"./list":{"types":"./list/index.d.ts","default":"./fesm2022/daffodil-design-list.mjs"},"./loading-icon":{"types":"./loading-icon/index.d.ts","default":"./fesm2022/daffodil-design-loading-icon.mjs"},"./media-gallery":{"types":"./media-gallery/index.d.ts","default":"./fesm2022/daffodil-design-media-gallery.mjs"},"./menu":{"types":"./menu/index.d.ts","default":"./fesm2022/daffodil-design-menu.mjs"},"./modal":{"types":"./modal/index.d.ts","default":"./fesm2022/daffodil-design-modal.mjs"},"./navbar":{"types":"./navbar/index.d.ts","default":"./fesm2022/daffodil-design-navbar.mjs"},"./notification":{"types":"./notification/index.d.ts","default":"./fesm2022/daffodil-design-notification.mjs"},"./paginator":{"types":"./paginator/index.d.ts","default":"./fesm2022/daffodil-design-paginator.mjs"},"./progress-bar":{"types":"./progress-bar/index.d.ts","default":"./fesm2022/daffodil-design-progress-bar.mjs"},"./quantity-field":{"types":"./quantity-field/index.d.ts","default":"./fesm2022/daffodil-design-quantity-field.mjs"},"./select":{"types":"./select/index.d.ts","default":"./fesm2022/daffodil-design-select.mjs"},"./sidebar":{"types":"./sidebar/index.d.ts","default":"./fesm2022/daffodil-design-sidebar.mjs"},"./switch":{"types":"./switch/index.d.ts","default":"./fesm2022/daffodil-design-switch.mjs"},"./tabs":{"types":"./tabs/index.d.ts","default":"./fesm2022/daffodil-design-tabs.mjs"},"./text-snippet":{"types":"./text-snippet/index.d.ts","default":"./fesm2022/daffodil-design-text-snippet.mjs"},"./textarea":{"types":"./textarea/index.d.ts","default":"./fesm2022/daffodil-design-textarea.mjs"},"./toast":{"types":"./toast/index.d.ts","default":"./fesm2022/daffodil-design-toast.mjs"},"./tree":{"types":"./tree/index.d.ts","default":"./fesm2022/daffodil-design-tree.mjs"},"./youtube-player":{"types":"./youtube-player/index.d.ts","default":"./fesm2022/daffodil-design-youtube-player.mjs"},"./accordion/examples":{"types":"./accordion/examples/index.d.ts","default":"./fesm2022/daffodil-design-accordion-examples.mjs"},"./article/examples":{"types":"./article/examples/index.d.ts","default":"./fesm2022/daffodil-design-article-examples.mjs"},"./breadcrumb/examples":{"types":"./breadcrumb/examples/index.d.ts","default":"./fesm2022/daffodil-design-breadcrumb-examples.mjs"},"./button/examples":{"types":"./button/examples/index.d.ts","default":"./fesm2022/daffodil-design-button-examples.mjs"},"./card/examples":{"types":"./card/examples/index.d.ts","default":"./fesm2022/daffodil-design-card-examples.mjs"},"./callout/examples":{"types":"./callout/examples/index.d.ts","default":"./fesm2022/daffodil-design-callout-examples.mjs"},"./checkbox/examples":{"types":"./checkbox/examples/index.d.ts","default":"./fesm2022/daffodil-design-checkbox-examples.mjs"},"./container/examples":{"types":"./container/examples/index.d.ts","default":"./fesm2022/daffodil-design-container-examples.mjs"},"./form-field/examples":{"types":"./form-field/examples/index.d.ts","default":"./fesm2022/daffodil-design-form-field-examples.mjs"},"./hero/examples":{"types":"./hero/examples/index.d.ts","default":"./fesm2022/daffodil-design-hero-examples.mjs"},"./image/examples":{"types":"./image/examples/index.d.ts","default":"./fesm2022/daffodil-design-image-examples.mjs"},"./input/examples":{"types":"./input/examples/index.d.ts","default":"./fesm2022/daffodil-design-input-examples.mjs"},"./list/examples":{"types":"./list/examples/index.d.ts","default":"./fesm2022/daffodil-design-list-examples.mjs"},"./loading-icon/examples":{"types":"./loading-icon/examples/index.d.ts","default":"./fesm2022/daffodil-design-loading-icon-examples.mjs"},"./media-gallery/examples":{"types":"./media-gallery/examples/index.d.ts","default":"./fesm2022/daffodil-design-media-gallery-examples.mjs"},"./menu/examples":{"types":"./menu/examples/index.d.ts","default":"./fesm2022/daffodil-design-menu-examples.mjs"},"./modal/examples":{"types":"./modal/examples/index.d.ts","default":"./fesm2022/daffodil-design-modal-examples.mjs"},"./navbar/examples":{"types":"./navbar/examples/index.d.ts","default":"./fesm2022/daffodil-design-navbar-examples.mjs"},"./notification/examples":{"types":"./notification/examples/index.d.ts","default":"./fesm2022/daffodil-design-notification-examples.mjs"},"./paginator/examples":{"types":"./paginator/examples/index.d.ts","default":"./fesm2022/daffodil-design-paginator-examples.mjs"},"./progress-bar/examples":{"types":"./progress-bar/examples/index.d.ts","default":"./fesm2022/daffodil-design-progress-bar-examples.mjs"},"./quantity-field/examples":{"types":"./quantity-field/examples/index.d.ts","default":"./fesm2022/daffodil-design-quantity-field-examples.mjs"},"./radio/examples":{"types":"./radio/examples/index.d.ts","default":"./fesm2022/daffodil-design-radio-examples.mjs"},"./select/examples":{"types":"./select/examples/index.d.ts","default":"./fesm2022/daffodil-design-select-examples.mjs"},"./sidebar/examples":{"types":"./sidebar/examples/index.d.ts","default":"./fesm2022/daffodil-design-sidebar-examples.mjs"},"./sticky/examples":{"types":"./sticky/examples/index.d.ts","default":"./fesm2022/daffodil-design-sticky-examples.mjs"},"./switch/examples":{"types":"./switch/examples/index.d.ts","default":"./fesm2022/daffodil-design-switch-examples.mjs"},"./tabs/examples":{"types":"./tabs/examples/index.d.ts","default":"./fesm2022/daffodil-design-tabs-examples.mjs"},"./text-snippet/examples":{"types":"./text-snippet/examples/index.d.ts","default":"./fesm2022/daffodil-design-text-snippet-examples.mjs"},"./textarea/examples":{"types":"./textarea/examples/index.d.ts","default":"./fesm2022/daffodil-design-textarea-examples.mjs"},"./toast/examples":{"types":"./toast/examples/index.d.ts","default":"./fesm2022/daffodil-design-toast-examples.mjs"},"./tree/examples":{"types":"./tree/examples/index.d.ts","default":"./fesm2022/daffodil-design-tree-examples.mjs"}},"module":"fesm2022/daffodil-design.mjs","typings":"index.d.ts","sideEffects":false,"dependencies":{"tslib":"^2.3.0"}}