@daffodil/design 0.94.1-rc.0 → 0.95.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 (170) hide show
  1. package/README.md +1 -2
  2. package/accordion/src/accordion-theme.scss +4 -4
  3. package/article/README.md +4 -27
  4. package/article/src/article-theme.scss +14 -14
  5. package/badge/src/badge-theme.scss +0 -6
  6. package/button/README.md +0 -4
  7. package/button/src/button/basic/button-theme.scss +17 -42
  8. package/button/src/button/button-base.scss +12 -3
  9. package/button/src/button/flat/flat-theme.scss +14 -12
  10. package/button/src/button/icon/icon-theme.scss +19 -40
  11. package/button/src/button/stroked/stroked-theme.scss +22 -36
  12. package/card/src/card/stroked/stroked-theme.scss +1 -1
  13. package/card/src/card-base.scss +0 -1
  14. package/fesm2022/daffodil-design-accordion.mjs +285 -188
  15. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  16. package/fesm2022/daffodil-design-article.mjs +578 -340
  17. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  18. package/fesm2022/daffodil-design-badge.mjs +166 -84
  19. package/fesm2022/daffodil-design-badge.mjs.map +1 -1
  20. package/fesm2022/daffodil-design-beacon.mjs +109 -47
  21. package/fesm2022/daffodil-design-beacon.mjs.map +1 -1
  22. package/fesm2022/daffodil-design-breadcrumb.mjs +384 -277
  23. package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
  24. package/fesm2022/daffodil-design-button.mjs +541 -408
  25. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  26. package/fesm2022/daffodil-design-callout.mjs +349 -224
  27. package/fesm2022/daffodil-design-callout.mjs.map +1 -1
  28. package/fesm2022/daffodil-design-card.mjs +496 -327
  29. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  30. package/fesm2022/daffodil-design-checkbox.mjs +373 -313
  31. package/fesm2022/daffodil-design-checkbox.mjs.map +1 -1
  32. package/fesm2022/daffodil-design-container.mjs +103 -60
  33. package/fesm2022/daffodil-design-container.mjs.map +1 -1
  34. package/fesm2022/daffodil-design-form-field.mjs +441 -352
  35. package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
  36. package/fesm2022/daffodil-design-form.mjs +155 -57
  37. package/fesm2022/daffodil-design-form.mjs.map +1 -1
  38. package/fesm2022/daffodil-design-hero.mjs +349 -234
  39. package/fesm2022/daffodil-design-hero.mjs.map +1 -1
  40. package/fesm2022/daffodil-design-image-lite.mjs +60 -0
  41. package/fesm2022/daffodil-design-image-lite.mjs.map +1 -0
  42. package/fesm2022/daffodil-design-image.mjs +245 -107
  43. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  44. package/fesm2022/daffodil-design-input.mjs +217 -164
  45. package/fesm2022/daffodil-design-input.mjs.map +1 -1
  46. package/fesm2022/daffodil-design-list.mjs +308 -170
  47. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  48. package/fesm2022/daffodil-design-media-gallery.mjs +351 -278
  49. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  50. package/fesm2022/daffodil-design-menu.mjs +525 -417
  51. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  52. package/fesm2022/daffodil-design-modal.mjs +680 -450
  53. package/fesm2022/daffodil-design-modal.mjs.map +1 -1
  54. package/fesm2022/daffodil-design-native-select.mjs +175 -166
  55. package/fesm2022/daffodil-design-native-select.mjs.map +1 -1
  56. package/fesm2022/daffodil-design-navbar.mjs +145 -68
  57. package/fesm2022/daffodil-design-navbar.mjs.map +1 -1
  58. package/fesm2022/daffodil-design-notification.mjs +376 -226
  59. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  60. package/fesm2022/daffodil-design-paginator.mjs +296 -192
  61. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  62. package/fesm2022/daffodil-design-progress-bar.mjs +243 -157
  63. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  64. package/fesm2022/daffodil-design-radio.mjs +382 -300
  65. package/fesm2022/daffodil-design-radio.mjs.map +1 -1
  66. package/fesm2022/daffodil-design-select.mjs +424 -364
  67. package/fesm2022/daffodil-design-select.mjs.map +1 -1
  68. package/fesm2022/daffodil-design-sidebar.mjs +874 -887
  69. package/fesm2022/daffodil-design-sidebar.mjs.map +1 -1
  70. package/fesm2022/daffodil-design-spinner.mjs +156 -99
  71. package/fesm2022/daffodil-design-spinner.mjs.map +1 -1
  72. package/fesm2022/daffodil-design-switch.mjs +176 -106
  73. package/fesm2022/daffodil-design-switch.mjs.map +1 -1
  74. package/fesm2022/daffodil-design-tabs.mjs +685 -427
  75. package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
  76. package/fesm2022/daffodil-design-tag.mjs +251 -133
  77. package/fesm2022/daffodil-design-tag.mjs.map +1 -1
  78. package/fesm2022/daffodil-design-testing.mjs +4 -16
  79. package/fesm2022/daffodil-design-testing.mjs.map +1 -1
  80. package/fesm2022/daffodil-design-text-snippet.mjs +140 -54
  81. package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
  82. package/fesm2022/daffodil-design-textarea.mjs +170 -150
  83. package/fesm2022/daffodil-design-textarea.mjs.map +1 -1
  84. package/fesm2022/daffodil-design-toast.mjs +658 -481
  85. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  86. package/fesm2022/daffodil-design-tree.mjs +456 -469
  87. package/fesm2022/daffodil-design-tree.mjs.map +1 -1
  88. package/fesm2022/daffodil-design-youtube-player.mjs +168 -115
  89. package/fesm2022/daffodil-design-youtube-player.mjs.map +1 -1
  90. package/fesm2022/daffodil-design.mjs +1628 -1650
  91. package/fesm2022/daffodil-design.mjs.map +1 -1
  92. package/form-field/README.md +0 -4
  93. package/form-field/src/form-field-theme.scss +12 -4
  94. package/image/README.md +4 -0
  95. package/image-lite/README.md +58 -0
  96. package/image-lite/src/image-theme.scss +18 -0
  97. package/list/src/list-base.scss +3 -4
  98. package/list/src/list-theme.scss +6 -5
  99. package/media-gallery/README.md +1 -1
  100. package/media-gallery/src/media-gallery-theme.scss +3 -3
  101. package/menu/src/menu-theme.scss +6 -2
  102. package/notification/src/notification-theme.scss +10 -10
  103. package/package.json +1 -1
  104. package/scss/global.scss +17 -11
  105. package/scss/theme.scss +2 -18
  106. package/scss/theming/_get-palette.scss +0 -3
  107. package/scss/theming/_index.scss +0 -1
  108. package/scss/theming/_light-dark.scss +2 -2
  109. package/scss/theming/_theme-css-variables.scss +1 -1
  110. package/scss/theming/create-theme/_create-theme.scss +2 -2
  111. package/scss/theming/get-font-colors/_get-font-colors.scss +7 -25
  112. package/scss/theming/get-font-colors/_get-font-colors.spec.scss +0 -12
  113. package/scss/typography/_classes.scss +0 -6
  114. package/scss/typography/_index.scss +0 -1
  115. package/scss/typography/mixins/_sizes.scss +0 -1
  116. package/scss/typography/utilities/_variables.scss +3 -0
  117. package/select/src/select-theme.scss +10 -14
  118. package/switch/src/switch-theme.scss +2 -2
  119. package/tabs/src/tabs-theme.scss +4 -4
  120. package/types/daffodil-design-accordion.d.ts +92 -67
  121. package/types/daffodil-design-article.d.ts +49 -56
  122. package/types/daffodil-design-badge.d.ts +56 -33
  123. package/types/daffodil-design-beacon.d.ts +35 -14
  124. package/types/daffodil-design-breadcrumb.d.ts +89 -85
  125. package/types/daffodil-design-button.d.ts +128 -146
  126. package/types/daffodil-design-callout.d.ts +55 -39
  127. package/types/daffodil-design-card.d.ts +66 -56
  128. package/types/daffodil-design-checkbox.d.ts +211 -167
  129. package/types/daffodil-design-container.d.ts +17 -16
  130. package/types/daffodil-design-form-field.d.ts +273 -240
  131. package/types/daffodil-design-form.d.ts +21 -21
  132. package/types/daffodil-design-hero.d.ts +55 -39
  133. package/types/daffodil-design-image-lite.d.ts +17 -0
  134. package/types/daffodil-design-image.d.ts +89 -55
  135. package/types/daffodil-design-input.d.ts +86 -72
  136. package/types/daffodil-design-list.d.ts +49 -43
  137. package/types/daffodil-design-media-gallery.d.ts +176 -148
  138. package/types/daffodil-design-menu.d.ts +177 -169
  139. package/types/daffodil-design-modal.d.ts +205 -205
  140. package/types/daffodil-design-native-select.d.ts +94 -84
  141. package/types/daffodil-design-navbar.d.ts +34 -24
  142. package/types/daffodil-design-notification.d.ts +82 -67
  143. package/types/daffodil-design-paginator.d.ts +140 -118
  144. package/types/daffodil-design-progress-bar.d.ts +92 -74
  145. package/types/daffodil-design-radio.d.ts +183 -144
  146. package/types/daffodil-design-select.d.ts +207 -178
  147. package/types/daffodil-design-sidebar.d.ts +270 -253
  148. package/types/daffodil-design-spinner.d.ts +49 -36
  149. package/types/daffodil-design-switch.d.ts +77 -46
  150. package/types/daffodil-design-tabs.d.ts +248 -198
  151. package/types/daffodil-design-tag.d.ts +91 -56
  152. package/types/daffodil-design-testing.d.ts +1 -3
  153. package/types/daffodil-design-text-snippet.d.ts +48 -37
  154. package/types/daffodil-design-textarea.d.ts +88 -79
  155. package/types/daffodil-design-toast.d.ts +175 -183
  156. package/types/daffodil-design-tree.d.ts +186 -169
  157. package/types/daffodil-design-youtube-player.d.ts +56 -52
  158. package/types/daffodil-design.d.ts +614 -695
  159. package/button/src/button/raised/raised-theme.scss +0 -92
  160. package/button/src/button/underline/underline-theme.scss +0 -141
  161. package/fesm2022/daffodil-design-link-set.mjs +0 -160
  162. package/fesm2022/daffodil-design-link-set.mjs.map +0 -1
  163. package/fesm2022/daffodil-design-quantity-field.mjs +0 -364
  164. package/fesm2022/daffodil-design-quantity-field.mjs.map +0 -1
  165. package/link-set/README.md +0 -86
  166. package/quantity-field/README.md +0 -63
  167. package/scss/theming/_configure-theme.scss +0 -120
  168. package/scss/typography/mixins/_font-weight.scss +0 -14
  169. package/types/daffodil-design-link-set.d.ts +0 -72
  170. package/types/daffodil-design-quantity-field.d.ts +0 -171
@@ -1,237 +1,237 @@
1
- import * as rxjs from 'rxjs';
2
- import { Observable } from 'rxjs';
3
- import * as i0 from '@angular/core';
4
- import { Type, AfterContentInit, AfterViewInit, OnDestroy, ElementRef, ChangeDetectorRef } from '@angular/core';
5
- import { ConfigurableFocusTrapFactory } from '@angular/cdk/a11y';
6
- import * as i2 from '@angular/cdk/portal';
7
- import { ComponentPortal } from '@angular/cdk/portal';
8
- import * as i1 from '@daffodil/design';
9
- import { DaffOpenable, DaffOpenableDirective, DaffFocusStackService } from '@daffodil/design';
10
- import * as i3 from '@angular/cdk/overlay';
11
- import { Overlay } from '@angular/cdk/overlay';
12
- import * as i1$1 from '@angular/common';
13
- import * as i4 from '@daffodil/design/button';
14
- import * as i5 from '@fortawesome/angular-fontawesome';
15
- import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
16
-
1
+ import { ConfigurableFocusTrapFactory } from "@angular/cdk/a11y";
2
+ import * as i2 from "@angular/cdk/portal";
3
+ import { ComponentPortal } from "@angular/cdk/portal";
4
+ import * as i0 from "@angular/core";
5
+ import { AfterContentInit, AfterViewInit, ChangeDetectorRef, ElementRef, OnDestroy, Type } from "@angular/core";
6
+ import * as i1$1 from "@daffodil/design";
7
+ import { DaffFocusStackService, DaffOpenable, DaffOpenableDirective } from "@daffodil/design";
8
+ import * as i3 from "@angular/cdk/overlay";
9
+ import { Overlay } from "@angular/cdk/overlay";
10
+ import { Observable } from "rxjs";
11
+ import * as i1 from "@angular/common";
12
+ import * as i4 from "@daffodil/design/button";
13
+ import * as i5 from "@fortawesome/angular-fontawesome";
17
14
  /**
18
15
  * Reference to modal instance.
19
16
  */
20
- interface DaffModalRef<T> {
21
- /**
22
- * The component instance inside the modal.
23
- */
24
- instance: T;
25
- /**
26
- * Closes the modal.
27
- */
28
- close(): void;
29
- /**
30
- * Emits when the modal close animation completes.
31
- */
32
- afterClosed: Observable<boolean>;
17
+ export interface DaffModalRef<T> {
18
+ /**
19
+ * The component instance inside the modal.
20
+ */
21
+ instance: T;
22
+ /**
23
+ * Closes the modal.
24
+ */
25
+ close(): void;
26
+ /**
27
+ * Emits when the modal close animation completes.
28
+ */
29
+ afterClosed: Observable<boolean>;
33
30
  }
34
-
35
31
  type DaffModalVerticalPosition = 'top' | 'center';
36
32
  interface DaffModalPosition {
37
- /**
38
- * The vertical position of the modal. Can be 'top' or 'center'.
39
- */
40
- vertical?: DaffModalVerticalPosition;
41
- /**
42
- * Optional offset from the top edge. Defaults to `10rem`.
43
- */
44
- offsetTop?: string;
33
+ /**
34
+ * The vertical position of the modal. Can be 'top' or 'center'.
35
+ */
36
+ vertical?: DaffModalVerticalPosition;
37
+ /**
38
+ * Optional offset from the top edge. Defaults to `10rem`.
39
+ */
40
+ offsetTop?: string;
45
41
  }
46
42
  interface DaffModalConfiguration {
47
- /**
48
- * A hook for what to do when the backdrop behind a
49
- * DaffModalComponent is interacted with.
50
- */
51
- onBackdropClicked?: () => void;
52
- /** Sets the `aria-labelledby` property on the modal. */
53
- ariaLabelledBy?: string;
54
- /**
55
- * The position of the modal. If not provided, defaults to centered horizontally and vertically.
56
- * Horizontal position is always center.
57
- *
58
- * @example
59
- * ```ts
60
- * // Center (default)
61
- * { vertical: 'center' }
62
- *
63
- * // Top with offset
64
- * { vertical: 'top', offsetTop: '2rem' }
65
- * ```
66
- */
67
- position?: DaffModalPosition;
43
+ /**
44
+ * A hook for what to do when the backdrop behind a
45
+ * DaffModalComponent is interacted with.
46
+ */
47
+ onBackdropClicked?: () => void;
48
+ /** Sets the `aria-labelledby` property on the modal. */
49
+ ariaLabelledBy?: string;
50
+ /**
51
+ * The position of the modal. If not provided, defaults to centered horizontally and vertically.
52
+ * Horizontal position is always center.
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * // Center (default)
57
+ * { vertical: 'center' }
58
+ *
59
+ * // Top with offset
60
+ * { vertical: 'top', offsetTop: '2rem' }
61
+ * ```
62
+ */
63
+ position?: DaffModalPosition;
68
64
  }
69
-
70
- declare class DaffModalService {
71
- private overlay;
72
- private _modals;
73
- constructor(overlay: Overlay);
74
- private defaultConfiguration;
75
- private _attachModal;
76
- private _attachModalContent;
77
- private _createPositionStrategy;
78
- private _createOverlayRef;
79
- private _removeModal;
80
- private _closeAllModals;
81
- open<T>(component: Type<T>, configuration?: Partial<DaffModalConfiguration>): DaffModalRef<T>;
82
- close(component: DaffModalComponent): void;
83
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalService, never>;
84
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffModalService>;
65
+ export declare class DaffModalService {
66
+ private overlay;
67
+ private _modals;
68
+ constructor(overlay: Overlay);
69
+ private defaultConfiguration;
70
+ private _attachModal;
71
+ private _attachModalContent;
72
+ private _createPositionStrategy;
73
+ private _createOverlayRef;
74
+ private _removeModal;
75
+ private _closeAllModals;
76
+ open<T>(component: Type<T>, configuration?: Partial<DaffModalConfiguration>): DaffModalRef<T>;
77
+ close(component: DaffModalComponent): void;
78
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalService, never>;
79
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
85
80
  }
86
-
87
- declare class DaffModalComponent implements AfterContentInit, AfterViewInit, OnDestroy, DaffOpenable {
88
- private modalService;
89
- private _focusTrapFactory;
90
- private elementRef;
91
- private openDirective;
92
- private _focusStack;
93
- private changeDetector;
94
- /**
95
- * @docs-private
96
- */
97
- readonly closing: i0.WritableSignal<boolean>;
98
- private _ariaLabelledBy;
99
- /**
100
- * @docs-private
101
- *
102
- * By default, the `aria-labelledby` of the modal is set to the `id` of the modal title.
103
- */
104
- get ariaLabelledBy(): string;
105
- set ariaLabelledBy(value: string);
106
- /**
107
- * @docs-private
108
- *
109
- * The CDK Portal outlet used to portal content into the modal.
110
- */
111
- private _portalOutlet;
112
- /**
113
- * Private subject for closed animation completion events.
114
- */
115
- private _closedAnimationCompleted;
116
- /**
117
- * Observable that emits when the close animation is completed.
118
- */
119
- readonly closedAnimationCompleted$: rxjs.Observable<boolean>;
120
- /**
121
- * @docs-private
122
- */
123
- onEscape(): void;
124
- private _focusTrap;
125
- constructor(modalService: DaffModalService, _focusTrapFactory: ConfigurableFocusTrapFactory, elementRef: ElementRef<HTMLElement>, openDirective: DaffOpenableDirective, _focusStack: DaffFocusStackService, changeDetector: ChangeDetectorRef);
126
- /**
127
- * @docs-private
128
- */
129
- ngAfterContentInit(): void;
130
- /**
131
- * @docs-private
132
- */
133
- ngAfterViewInit(): void;
134
- /**
135
- * @docs-private
136
- *
137
- * Helper method to attach portable content to modal.
138
- */
139
- attachContent(portal: ComponentPortal<any>): any;
140
- /**
141
- * Tracks the open state of the modal.
142
- */
143
- get open(): i0.ModelSignal<boolean>;
144
- /**
145
- * @docs-private
146
- *
147
- * Reveals the modal.
148
- */
149
- reveal(): void;
150
- /**
151
- * @docs-private
152
- *
153
- * Hides the modal.
154
- */
155
- hide(): void;
156
- /**
157
- * @docs-private
158
- *
159
- * Toggles the visibility of the modal.
160
- */
161
- toggle(): void;
162
- /**
163
- * @docs-private
164
- */
165
- ngOnDestroy(): void;
166
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalComponent, never>;
167
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalComponent, "daff-modal", never, {}, {}, never, never, true, [{ directive: typeof i1.DaffOpenableDirective; inputs: {}; outputs: { "toggled": "toggled"; }; }]>;
81
+ export declare class DaffModalComponent implements AfterContentInit, AfterViewInit, OnDestroy, DaffOpenable {
82
+ private modalService;
83
+ private _focusTrapFactory;
84
+ private elementRef;
85
+ private openDirective;
86
+ private _focusStack;
87
+ private changeDetector;
88
+ /**
89
+ * @docs-private
90
+ */
91
+ readonly closing: import("@angular/core").WritableSignal<boolean>;
92
+ private _ariaLabelledBy;
93
+ /**
94
+ * @docs-private
95
+ *
96
+ * By default, the `aria-labelledby` of the modal is set to the `id` of the modal title.
97
+ */
98
+ get ariaLabelledBy(): string;
99
+ set ariaLabelledBy(value: string);
100
+ /**
101
+ * @docs-private
102
+ *
103
+ * The CDK Portal outlet used to portal content into the modal.
104
+ */
105
+ private _portalOutlet;
106
+ /**
107
+ * Private subject for closed animation completion events.
108
+ */
109
+ private _closedAnimationCompleted;
110
+ /**
111
+ * Observable that emits when the close animation is completed.
112
+ */
113
+ readonly closedAnimationCompleted$: import("rxjs").Observable<boolean>;
114
+ /**
115
+ * @docs-private
116
+ */
117
+ onEscape(): void;
118
+ private _focusTrap;
119
+ constructor(modalService: DaffModalService, _focusTrapFactory: ConfigurableFocusTrapFactory, elementRef: ElementRef<HTMLElement>, openDirective: DaffOpenableDirective, _focusStack: DaffFocusStackService, changeDetector: ChangeDetectorRef);
120
+ /**
121
+ * @docs-private
122
+ */
123
+ ngAfterContentInit(): void;
124
+ /**
125
+ * @docs-private
126
+ */
127
+ ngAfterViewInit(): void;
128
+ /**
129
+ * @docs-private
130
+ *
131
+ * Helper method to attach portable content to modal.
132
+ */
133
+ attachContent(portal: ComponentPortal<any>): any;
134
+ /**
135
+ * Tracks the open state of the modal.
136
+ */
137
+ get open(): import("@angular/core").ModelSignal<boolean>;
138
+ /**
139
+ * @docs-private
140
+ *
141
+ * Reveals the modal.
142
+ */
143
+ reveal(): void;
144
+ /**
145
+ * @docs-private
146
+ *
147
+ * Hides the modal.
148
+ */
149
+ hide(): void;
150
+ /**
151
+ * @docs-private
152
+ *
153
+ * Toggles the visibility of the modal.
154
+ */
155
+ toggle(): void;
156
+ /**
157
+ * @docs-private
158
+ */
159
+ ngOnDestroy(): void;
160
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalComponent, never>;
161
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalComponent, "daff-modal", never, {}, {}, never, never, true, [{
162
+ directive: typeof i1$1.DaffOpenableDirective;
163
+ inputs: {};
164
+ outputs: {
165
+ "toggled": "toggled";
166
+ };
167
+ }]>;
168
168
  }
169
-
170
- declare class DaffModalHeaderComponent {
171
- faXmark: _fortawesome_fontawesome_common_types.IconDefinition;
172
- /**
173
- * Whether or not a modal is dismissible.
174
- */
175
- dismissible: boolean;
176
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalHeaderComponent, never>;
177
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalHeaderComponent, "daff-modal-header", never, { "dismissible": { "alias": "dismissible"; "required": false; }; }, {}, never, ["[daffModalTitle]"], true, never>;
169
+ export declare class DaffModalHeaderComponent {
170
+ faXmark: import("@fortawesome/fontawesome-common-types").IconDefinition;
171
+ /**
172
+ * Whether or not a modal is dismissible.
173
+ */
174
+ dismissible: boolean;
175
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalHeaderComponent, never>;
176
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalHeaderComponent, "daff-modal-header", never, {
177
+ "dismissible": {
178
+ "alias": "dismissible";
179
+ "required": false;
180
+ };
181
+ }, {}, never, ["[daffModalTitle]"], true, never>;
178
182
  }
179
-
180
183
  /**
181
184
  * Title of a modal.
182
185
  */
183
- declare class DaffModalTitleDirective {
184
- private modal;
185
- /**
186
- * @docs-private
187
- */
188
- _id: string;
189
- constructor(modal: DaffModalComponent);
190
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalTitleDirective, [{ optional: true; }]>;
191
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffModalTitleDirective, "[daffModalTitle]", never, {}, {}, never, never, true, never>;
186
+ export declare class DaffModalTitleDirective {
187
+ private modal;
188
+ /**
189
+ * @docs-private
190
+ */
191
+ _id: string;
192
+ constructor(modal: DaffModalComponent);
193
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalTitleDirective, [{
194
+ optional: true;
195
+ }]>;
196
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffModalTitleDirective, "[daffModalTitle]", never, {}, {}, never, never, true, never>;
192
197
  }
193
-
194
- declare class DaffModalContentComponent {
195
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalContentComponent, never>;
196
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalContentComponent, "daff-modal-content", never, {}, {}, never, ["*"], true, never>;
198
+ export declare class DaffModalContentComponent {
199
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalContentComponent, never>;
200
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalContentComponent, "daff-modal-content", never, {}, {}, never, ["*"], true, never>;
197
201
  }
198
-
199
- declare class DaffModalActionsComponent {
200
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalActionsComponent, never>;
201
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalActionsComponent, "daff-modal-actions", never, {}, {}, never, ["*"], true, never>;
202
+ export declare class DaffModalActionsComponent {
203
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalActionsComponent, never>;
204
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffModalActionsComponent, "daff-modal-actions", never, {}, {}, never, ["*"], true, never>;
202
205
  }
203
-
204
206
  /**
205
207
  * The DaffModalCloseDirective is a helper directive that passes a click
206
208
  * event to the button it's used with to close a modal. It needs to be
207
209
  * implemented with the `<button>` HTML element to work. This helps to
208
210
  * reduce code duplication.
209
211
  */
210
- declare class DaffModalCloseDirective {
211
- private modalService;
212
- private modal;
213
- constructor(modalService: DaffModalService, modal: DaffModalComponent);
214
- /**
215
- * @docs-private
216
- */
217
- onClick(event: MouseEvent): void;
218
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalCloseDirective, [null, { optional: true; }]>;
219
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffModalCloseDirective, "button[daffModalClose]", never, {}, {}, never, never, true, never>;
212
+ export declare class DaffModalCloseDirective {
213
+ private modalService;
214
+ private modal;
215
+ constructor(modalService: DaffModalService, modal: DaffModalComponent);
216
+ /**
217
+ * @docs-private
218
+ */
219
+ onClick(event: MouseEvent): void;
220
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalCloseDirective, [null, {
221
+ optional: true;
222
+ }]>;
223
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffModalCloseDirective, "button[daffModalClose]", never, {}, {}, never, never, true, never>;
220
224
  }
221
-
222
225
  /**
223
226
  * @deprecated in favor of {@link DAFF_MODAL_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
224
227
  */
225
- declare class DaffModalModule {
226
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalModule, never>;
227
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffModalModule, never, [typeof i1$1.CommonModule, typeof i2.PortalModule, typeof i3.OverlayModule, typeof i4.DaffButtonModule, typeof i5.FontAwesomeModule, typeof DaffModalComponent, typeof DaffModalHeaderComponent, typeof DaffModalTitleDirective, typeof DaffModalContentComponent, typeof DaffModalActionsComponent, typeof DaffModalCloseDirective], [typeof DaffModalComponent, typeof DaffModalHeaderComponent, typeof DaffModalTitleDirective, typeof DaffModalContentComponent, typeof DaffModalActionsComponent, typeof DaffModalCloseDirective]>;
228
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffModalModule>;
228
+ export declare class DaffModalModule {
229
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffModalModule, never>;
230
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffModalModule, never, [typeof i1.CommonModule, typeof i2.PortalModule, typeof i3.OverlayModule, typeof i4.DaffButtonModule, typeof i5.FontAwesomeModule, typeof DaffModalComponent, typeof DaffModalHeaderComponent, typeof DaffModalTitleDirective, typeof DaffModalContentComponent, typeof DaffModalActionsComponent, typeof DaffModalCloseDirective], [typeof DaffModalComponent, typeof DaffModalHeaderComponent, typeof DaffModalTitleDirective, typeof DaffModalContentComponent, typeof DaffModalActionsComponent, typeof DaffModalCloseDirective]>;
231
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffModalModule>;
229
232
  }
230
-
231
233
  /**
232
234
  * @docs-private
233
235
  */
234
- declare const DAFF_MODAL_COMPONENTS: readonly [typeof DaffModalHeaderComponent, typeof DaffModalTitleDirective, typeof DaffModalContentComponent, typeof DaffModalActionsComponent, typeof DaffModalCloseDirective];
235
-
236
- export { DAFF_MODAL_COMPONENTS, DaffModalActionsComponent, DaffModalCloseDirective, DaffModalComponent, DaffModalContentComponent, DaffModalHeaderComponent, DaffModalModule, DaffModalService, DaffModalTitleDirective };
237
- export type { DaffModalRef };
236
+ export declare const DAFF_MODAL_COMPONENTS: readonly [typeof DaffModalHeaderComponent, typeof DaffModalTitleDirective, typeof DaffModalContentComponent, typeof DaffModalActionsComponent, typeof DaffModalCloseDirective];
237
+ export {};
@@ -1,91 +1,101 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, ElementRef } from '@angular/core';
3
- import { NgControl } from '@angular/forms';
4
- import { DaffFormFieldControl, DaffFormFieldComponent } from '@daffodil/design/form-field';
5
-
1
+ import * as i0 from "@angular/core";
2
+ import { ElementRef, OnInit } from "@angular/core";
3
+ import { NgControl } from "@angular/forms";
4
+ import { DaffFormFieldComponent, DaffFormFieldControl, DaffFormFieldControlTypesEnum } from "@daffodil/design/form-field";
6
5
  /**
7
6
  * DaffNativeSelectComponent provides the same functionality as a native `<select>` and contains custom styling and functionality.
8
7
  */
9
- declare class DaffNativeSelectComponent extends DaffFormFieldControl<string> implements DaffFormFieldControl<string>, OnInit {
10
- /**
11
- * @docs-private
12
- */
13
- ngControl: NgControl;
14
- private _elementRef;
15
- private formField;
16
- /**
17
- * @docs-private
18
- *
19
- * Implemented as part of DaffFormFieldControl.
20
- */
21
- controlType: string;
22
- /**
23
- * @docs-private
24
- *
25
- * Implemented as part of DaffFormFieldControl.
26
- */
27
- focused: boolean;
28
- /**
29
- * @docs-private
30
- *
31
- * Implemented as part of DaffFormFieldControl.
32
- */
33
- get _id(): string;
34
- constructor(
35
- /**
36
- * @docs-private
37
- */
38
- ngControl: NgControl, _elementRef: ElementRef<HTMLInputElement>, formField: DaffFormFieldComponent);
39
- /**
40
- * @docs-private
41
- */
42
- get ariaDescribedBy(): string;
43
- /**
44
- * @docs-private
45
- *
46
- * Implemented as part of DaffFormFieldControl.
47
- */
48
- disabled: boolean;
49
- /**
50
- * @docs-private
51
- */
52
- get disabledAttribute(): boolean;
53
- private _required;
54
- /**
55
- * @docs-private
56
- *
57
- * Implemented as part of DaffFormFieldControl.
58
- */
59
- get required(): boolean;
60
- set required(value: boolean);
61
- /**
62
- * @docs-private
63
- */
64
- get requiredAttribute(): true;
65
- focus(): void;
66
- /**
67
- * @docs-private
68
- */
69
- _handleFocus(): void;
70
- /**
71
- * @docs-private
72
- */
73
- _handleBlur(): void;
74
- /** @docs-private */
75
- ngOnInit(): void;
76
- /**
77
- * @docs-private
78
- */
79
- get value(): string;
80
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffNativeSelectComponent, [{ optional: true; self: true; }, null, { optional: true; }]>;
81
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffNativeSelectComponent, "select[daff-native-select]", never, { "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, ["*"], true, never>;
82
- static ngAcceptInputType_disabled: unknown;
83
- static ngAcceptInputType_required: unknown;
8
+ export declare class DaffNativeSelectComponent extends DaffFormFieldControl<string> implements DaffFormFieldControl<string>, OnInit {
9
+ /**
10
+ * @docs-private
11
+ */
12
+ ngControl: NgControl;
13
+ private _elementRef;
14
+ private formField;
15
+ /**
16
+ * @docs-private
17
+ *
18
+ * Implemented as part of DaffFormFieldControl.
19
+ */
20
+ controlType: DaffFormFieldControlTypesEnum;
21
+ /**
22
+ * @docs-private
23
+ *
24
+ * Implemented as part of DaffFormFieldControl.
25
+ */
26
+ focused: boolean;
27
+ /**
28
+ * @docs-private
29
+ *
30
+ * Implemented as part of DaffFormFieldControl.
31
+ */
32
+ get _id(): string;
33
+ constructor(
34
+ /**
35
+ * @docs-private
36
+ */
37
+ ngControl: NgControl, _elementRef: ElementRef<HTMLInputElement>, formField: DaffFormFieldComponent);
38
+ /**
39
+ * @docs-private
40
+ */
41
+ get ariaDescribedBy(): string;
42
+ /**
43
+ * @docs-private
44
+ *
45
+ * Implemented as part of DaffFormFieldControl.
46
+ */
47
+ disabled: boolean;
48
+ /**
49
+ * @docs-private
50
+ */
51
+ get disabledAttribute(): boolean;
52
+ private _required;
53
+ /**
54
+ * @docs-private
55
+ *
56
+ * Implemented as part of DaffFormFieldControl.
57
+ */
58
+ get required(): boolean;
59
+ set required(value: boolean);
60
+ /**
61
+ * @docs-private
62
+ */
63
+ get requiredAttribute(): true;
64
+ focus(): void;
65
+ /**
66
+ * @docs-private
67
+ */
68
+ _handleFocus(): void;
69
+ /**
70
+ * @docs-private
71
+ */
72
+ _handleBlur(): void;
73
+ /** @docs-private */
74
+ ngOnInit(): void;
75
+ /**
76
+ * @docs-private
77
+ */
78
+ get value(): string;
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffNativeSelectComponent, [{
80
+ optional: true;
81
+ self: true;
82
+ }, null, {
83
+ optional: true;
84
+ }]>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffNativeSelectComponent, "select[daff-native-select]", never, {
86
+ "disabled": {
87
+ "alias": "disabled";
88
+ "required": false;
89
+ };
90
+ "required": {
91
+ "alias": "required";
92
+ "required": false;
93
+ };
94
+ }, {}, never, ["*"], true, never>;
95
+ static ngAcceptInputType_disabled: unknown;
96
+ static ngAcceptInputType_required: unknown;
84
97
  }
85
-
86
98
  /**
87
99
  * @docs-private
88
100
  */
89
- declare const DAFF_NATIVE_SELECT_COMPONENTS: readonly [typeof DaffNativeSelectComponent];
90
-
91
- export { DAFF_NATIVE_SELECT_COMPONENTS, DaffNativeSelectComponent };
101
+ export declare const DAFF_NATIVE_SELECT_COMPONENTS: readonly [typeof DaffNativeSelectComponent];