@daffodil/design 0.93.1 → 0.94.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 (127) hide show
  1. package/README.md +0 -1
  2. package/accordion/src/accordion-theme.scss +2 -2
  3. package/article/src/article/_stops-article-cascade.scss +5 -1
  4. package/article/src/article-theme.scss +2 -2
  5. package/badge/README.md +85 -0
  6. package/badge/src/badge-theme.scss +197 -0
  7. package/breadcrumb/src/breadcrumb-theme.scss +2 -2
  8. package/button/src/button/basic/button-theme.scss +2 -2
  9. package/button/src/button/flat/flat-theme.scss +2 -2
  10. package/button/src/button/icon/icon-theme.scss +2 -2
  11. package/button/src/button/raised/raised-theme.scss +13 -13
  12. package/button/src/button/stroked/stroked-theme.scss +2 -2
  13. package/button/src/button/underline/underline-theme.scss +2 -2
  14. package/callout/src/callout-theme.scss +12 -2
  15. package/card/src/card/stroked/stroked-theme.scss +14 -22
  16. package/card/src/card-base-theme.scss +4 -4
  17. package/card/src/card-base.scss +13 -16
  18. package/fesm2022/daffodil-design-accordion.mjs +9 -15
  19. package/fesm2022/daffodil-design-accordion.mjs.map +1 -1
  20. package/fesm2022/daffodil-design-article.mjs +2 -2
  21. package/fesm2022/daffodil-design-article.mjs.map +1 -1
  22. package/fesm2022/daffodil-design-badge.mjs +87 -0
  23. package/fesm2022/daffodil-design-badge.mjs.map +1 -0
  24. package/fesm2022/daffodil-design-breadcrumb.mjs +1 -1
  25. package/fesm2022/daffodil-design-breadcrumb.mjs.map +1 -1
  26. package/fesm2022/daffodil-design-button.mjs +1 -1
  27. package/fesm2022/daffodil-design-button.mjs.map +1 -1
  28. package/fesm2022/daffodil-design-callout.mjs +2 -2
  29. package/fesm2022/daffodil-design-card.mjs +9 -11
  30. package/fesm2022/daffodil-design-card.mjs.map +1 -1
  31. package/fesm2022/daffodil-design-form-field.mjs +95 -115
  32. package/fesm2022/daffodil-design-form-field.mjs.map +1 -1
  33. package/fesm2022/daffodil-design-form.mjs +5 -7
  34. package/fesm2022/daffodil-design-form.mjs.map +1 -1
  35. package/fesm2022/daffodil-design-image.mjs +41 -98
  36. package/fesm2022/daffodil-design-image.mjs.map +1 -1
  37. package/fesm2022/daffodil-design-input.mjs +3 -3
  38. package/fesm2022/daffodil-design-input.mjs.map +1 -1
  39. package/fesm2022/daffodil-design-list.mjs +16 -21
  40. package/fesm2022/daffodil-design-list.mjs.map +1 -1
  41. package/fesm2022/daffodil-design-media-gallery.mjs +56 -61
  42. package/fesm2022/daffodil-design-media-gallery.mjs.map +1 -1
  43. package/fesm2022/daffodil-design-menu.mjs +61 -38
  44. package/fesm2022/daffodil-design-menu.mjs.map +1 -1
  45. package/fesm2022/daffodil-design-native-select.mjs +3 -3
  46. package/fesm2022/daffodil-design-native-select.mjs.map +1 -1
  47. package/fesm2022/daffodil-design-notification.mjs +17 -20
  48. package/fesm2022/daffodil-design-notification.mjs.map +1 -1
  49. package/fesm2022/daffodil-design-paginator.mjs +71 -76
  50. package/fesm2022/daffodil-design-paginator.mjs.map +1 -1
  51. package/fesm2022/daffodil-design-progress-bar.mjs +33 -53
  52. package/fesm2022/daffodil-design-progress-bar.mjs.map +1 -1
  53. package/fesm2022/daffodil-design-select.mjs +1 -1
  54. package/fesm2022/daffodil-design-select.mjs.map +1 -1
  55. package/fesm2022/daffodil-design-spinner.mjs +17 -16
  56. package/fesm2022/daffodil-design-spinner.mjs.map +1 -1
  57. package/fesm2022/daffodil-design-switch.mjs +20 -29
  58. package/fesm2022/daffodil-design-switch.mjs.map +1 -1
  59. package/fesm2022/daffodil-design-tabs.mjs +86 -88
  60. package/fesm2022/daffodil-design-tabs.mjs.map +1 -1
  61. package/fesm2022/daffodil-design-tag.mjs +14 -17
  62. package/fesm2022/daffodil-design-tag.mjs.map +1 -1
  63. package/fesm2022/daffodil-design-text-snippet.mjs +18 -23
  64. package/fesm2022/daffodil-design-text-snippet.mjs.map +1 -1
  65. package/fesm2022/daffodil-design-textarea.mjs +3 -3
  66. package/fesm2022/daffodil-design-textarea.mjs.map +1 -1
  67. package/fesm2022/daffodil-design-toast.mjs +19 -20
  68. package/fesm2022/daffodil-design-toast.mjs.map +1 -1
  69. package/fesm2022/daffodil-design.mjs +95 -69
  70. package/fesm2022/daffodil-design.mjs.map +1 -1
  71. package/form/src/hint/hint-theme.scss +2 -2
  72. package/form-field/src/form-field-theme.scss +2 -2
  73. package/hero/src/hero-theme.scss +12 -2
  74. package/list/README.md +10 -0
  75. package/list/src/list-theme.scss +2 -2
  76. package/media-gallery/README.md +0 -5
  77. package/media-gallery/src/media-gallery-theme.scss +2 -2
  78. package/menu/README.md +5 -0
  79. package/menu/src/menu-theme.scss +4 -4
  80. package/notification/src/notification-theme.scss +2 -2
  81. package/package.json +1 -1
  82. package/paginator/src/paginator-theme.scss +2 -2
  83. package/progress-bar/README.md +1 -1
  84. package/progress-bar/src/progress-bar-theme.scss +2 -2
  85. package/scss/state/skeleton/_mixins.scss +2 -2
  86. package/scss/theme/default.scss +15 -0
  87. package/scss/theme.scss +2 -8
  88. package/scss/theming/_configure-palette.scss +5 -1
  89. package/scss/theming/_get-theme-mode.scss +1 -1
  90. package/scss/theming/_index.scss +2 -3
  91. package/scss/theming/_light-dark.scss +37 -12
  92. package/scss/theming/color-shift/_color-shift.scss +56 -0
  93. package/scss/theming/color-shift/_color-shift.spec.scss +107 -0
  94. package/scss/theming/color-shift/_index.scss +1 -0
  95. package/scss/theming/{_daff-theme.scss → default/_daff-theme.scss} +4 -4
  96. package/scss/theming/default/_index.scss +1 -0
  97. package/select/src/select-theme.scss +5 -3
  98. package/switch/src/switch-theme.scss +2 -2
  99. package/tabs/src/tabs-theme.scss +2 -2
  100. package/tag/src/tag-theme.scss +2 -2
  101. package/toast/src/toast-theme.scss +2 -2
  102. package/tree/src/tree-theme.scss +2 -2
  103. package/types/daffodil-design-accordion.d.ts +4 -4
  104. package/types/daffodil-design-badge.d.ts +63 -0
  105. package/types/daffodil-design-card.d.ts +2 -2
  106. package/types/daffodil-design-form-field.d.ts +34 -31
  107. package/types/daffodil-design-form.d.ts +2 -2
  108. package/types/daffodil-design-image.d.ts +15 -28
  109. package/types/daffodil-design-list.d.ts +3 -3
  110. package/types/daffodil-design-media-gallery.d.ts +31 -20
  111. package/types/daffodil-design-menu.d.ts +51 -20
  112. package/types/daffodil-design-notification.d.ts +5 -6
  113. package/types/daffodil-design-paginator.d.ts +20 -25
  114. package/types/daffodil-design-progress-bar.d.ts +16 -21
  115. package/types/daffodil-design-spinner.d.ts +2 -2
  116. package/types/daffodil-design-switch.d.ts +7 -8
  117. package/types/daffodil-design-tabs.d.ts +29 -29
  118. package/types/daffodil-design-tag.d.ts +5 -7
  119. package/types/daffodil-design-text-snippet.d.ts +9 -9
  120. package/types/daffodil-design.d.ts +53 -38
  121. package/fesm2022/daffodil-design-loading-icon.mjs +0 -67
  122. package/fesm2022/daffodil-design-loading-icon.mjs.map +0 -1
  123. package/loading-icon/README.md +0 -59
  124. package/loading-icon/src/loading-icon-theme.scss +0 -103
  125. package/scss/theming/illuminate/illuminate.scss +0 -149
  126. package/scss/theming/illuminate/illuminate.spec.scss +0 -15
  127. package/types/daffodil-design-loading-icon.d.ts +0 -31
@@ -11,7 +11,7 @@
11
11
  .daff-tree-item {
12
12
  $root: &;
13
13
 
14
- @include light($mode) {
14
+ @include daff-light-mode($mode) {
15
15
  background-color: $base;
16
16
  color: daff-color($neutral, 90);
17
17
 
@@ -35,7 +35,7 @@
35
35
  }
36
36
  }
37
37
 
38
- @include dark($mode) {
38
+ @include daff-dark-mode($mode) {
39
39
  background-color: $base;
40
40
  color: daff-color($neutral, 20);
41
41
 
@@ -43,15 +43,15 @@ declare class DaffAccordionItemComponent implements OnInit, DaffOpenable, DaffDi
43
43
  /**
44
44
  * The unique id of an accordion item. Defaults to an autogenerated value.
45
45
  */
46
- itemId: string;
46
+ itemId: i0.InputSignal<string>;
47
47
  /**
48
48
  * The unique id of an accordion item content. Defaults to an autogenerated value.
49
49
  */
50
- contentId: string;
50
+ contentId: i0.InputSignal<string>;
51
51
  /**
52
52
  * Whether or not an accordion item is initially expanded by default.
53
53
  */
54
- initiallyExpanded: boolean;
54
+ initiallyExpanded: i0.InputSignal<boolean>;
55
55
  /**
56
56
  * @docs-private
57
57
  *
@@ -80,7 +80,7 @@ declare class DaffAccordionItemComponent implements OnInit, DaffOpenable, DaffDi
80
80
  */
81
81
  toggle(): void;
82
82
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionItemComponent, never>;
83
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionItemComponent, "daff-accordion-item", never, { "itemId": { "alias": "itemId"; "required": false; }; "contentId": { "alias": "contentId"; "required": false; }; "initiallyExpanded": { "alias": "initiallyExpanded"; "required": false; }; }, {}, never, ["[daffAccordionItemTitle]", "*"], true, [{ directive: typeof i1.DaffOpenableDirective; inputs: {}; outputs: { "toggled": "toggled"; }; }, { directive: typeof i1.DaffDisableableDirective; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionItemComponent, "daff-accordion-item", never, { "itemId": { "alias": "itemId"; "required": false; "isSignal": true; }; "contentId": { "alias": "contentId"; "required": false; "isSignal": true; }; "initiallyExpanded": { "alias": "initiallyExpanded"; "required": false; "isSignal": true; }; }, {}, never, ["[daffAccordionItemTitle]", "*"], true, [{ directive: typeof i1.DaffOpenableDirective; inputs: {}; outputs: { "toggled": "toggled"; }; }, { directive: typeof i1.DaffDisableableDirective; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
84
84
  }
85
85
 
86
86
  /**
@@ -0,0 +1,63 @@
1
+ import * as i0 from '@angular/core';
2
+ import * as i1 from '@daffodil/design';
3
+ import { DaffSizableDirective, DaffSizeSmallType, DaffSizeMediumType, DaffSizeLargeType, DaffPrefixDirective, DaffColorableDirective } from '@daffodil/design';
4
+
5
+ /**
6
+ * The visual style of a badge.
7
+ *
8
+ * - `filled` renders a solid background (the default).
9
+ * - `outlined` renders a semi-transparent background with a colored border.
10
+ */
11
+ type DaffBadgeAppearance = 'filled' | 'outlined';
12
+ declare enum DaffBadgeAppearanceEnum {
13
+ Filled = "filled",
14
+ Outlined = "outlined"
15
+ }
16
+
17
+ /**
18
+ * The size types that the DaffBadgeComponent can implement.
19
+ */
20
+ type DaffBadgeSize = DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType;
21
+ declare class DaffBadgeSizableDirective extends DaffSizableDirective<DaffBadgeSize> {
22
+ /**
23
+ * @docs-private
24
+ */
25
+ defaultSize: DaffBadgeSize;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffBadgeSizableDirective, never>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffBadgeSizableDirective, never, never, {}, {}, never, never, true, never>;
28
+ }
29
+
30
+ /**
31
+ * DaffBadgeComponent is a compact visual label or indicator used to
32
+ * convey status or display short pieces of information.
33
+ *
34
+ * @example
35
+ * ```html
36
+ * <daff-badge color="primary" appearance="outlined">
37
+ * <fa-icon [icon]="faCircleCheck" daffPrefix></fa-icon>
38
+ * Verified
39
+ * </daff-badge>
40
+ * ```
41
+ */
42
+ declare class DaffBadgeComponent {
43
+ private sizableDirective;
44
+ private colorableDirective;
45
+ /**
46
+ * @docs-private
47
+ */
48
+ _prefix: i0.Signal<DaffPrefixDirective>;
49
+ /**
50
+ * The visual style of the badge. Defaults to `filled`.
51
+ */
52
+ appearance: i0.InputSignalWithTransform<DaffBadgeAppearance | DaffBadgeAppearanceEnum.Filled, "" | DaffBadgeAppearance>;
53
+ constructor(sizableDirective: DaffBadgeSizableDirective, colorableDirective: DaffColorableDirective);
54
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffBadgeComponent, never>;
55
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffBadgeComponent, "daff-badge", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; }, {}, ["_prefix"], ["[daffPrefix]", "*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }, { directive: typeof i1.DaffStatusableDirective; inputs: { "status": "status"; }; outputs: {}; }, { directive: typeof DaffBadgeSizableDirective; inputs: { "size": "size"; }; outputs: {}; }]>;
56
+ }
57
+
58
+ /**
59
+ * @docs-private
60
+ */
61
+ declare const DAFF_BADGE_COMPONENTS: readonly [typeof DaffBadgeComponent, typeof DaffPrefixDirective];
62
+
63
+ export { DAFF_BADGE_COMPONENTS, DaffBadgeComponent, DaffBadgeSizableDirective };
@@ -8,10 +8,10 @@ declare class DaffCardBaseDirective {
8
8
  /**
9
9
  * Whether or not a card displays a shadow.
10
10
  */
11
- elevated: boolean;
11
+ elevated: i0.InputSignal<boolean>;
12
12
  constructor(orientation: DaffOrientableDirective);
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffCardBaseDirective, never>;
14
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardBaseDirective, "[daffCardBase]", never, { "elevated": { "alias": "elevated"; "required": false; }; }, {}, never, never, true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }, { directive: typeof i1.DaffOrientableDirective; inputs: { "orientation": "orientation"; }; outputs: {}; }]>;
14
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffCardBaseDirective, "[daffCardBase]", never, { "elevated": { "alias": "elevated"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }, { directive: typeof i1.DaffOrientableDirective; inputs: { "orientation": "orientation"; }; outputs: {}; }]>;
15
15
  }
16
16
 
17
17
  /**
@@ -1,4 +1,4 @@
1
- import * as i0 from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
2
  import { AfterContentInit, AfterContentChecked, AfterViewInit, ElementRef, ChangeDetectorRef } from '@angular/core';
3
3
  import * as i3 from '@daffodil/design';
4
4
  import { DaffPrefixDirective, DaffSuffixDirective, DaffFormLabelDirective } from '@daffodil/design';
@@ -11,8 +11,8 @@ import { BehaviorSubject, Observable } from 'rxjs';
11
11
  * DaffFormFieldActionDirective marks an element, typically a button, as an action attached to a form control inside `DaffFormFieldComponent`.
12
12
  */
13
13
  declare class DaffFormFieldActionDirective {
14
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffFormFieldActionDirective, never>;
15
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffFormFieldActionDirective, "[daffFormFieldAction]", never, {}, {}, never, never, true, never>;
14
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffFormFieldActionDirective, never>;
15
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DaffFormFieldActionDirective, "[daffFormFieldAction]", never, {}, {}, never, never, true, never>;
16
16
  }
17
17
 
18
18
  interface DaffFormFieldState {
@@ -99,7 +99,11 @@ declare abstract class DaffFormFieldControl<T> {
99
99
  emitState(deferred?: boolean): void;
100
100
  }
101
101
 
102
- type DaffFormFieldApperanace = 'fluid' | 'fixed';
102
+ type DaffFormFieldAppearance = 'fluid' | 'fixed';
103
+ declare enum DaffFormFieldAppearanceEnum {
104
+ Fluid = "fluid",
105
+ Fixed = "fixed"
106
+ }
103
107
  /**
104
108
  * DaffFormFieldComponent is a wrapping component that provides consistent styling and behavior for form control elements.
105
109
  */
@@ -107,31 +111,32 @@ declare class DaffFormFieldComponent implements AfterContentInit, AfterContentCh
107
111
  private cd;
108
112
  elementRef: ElementRef;
109
113
  /** @docs-private */
110
- get isNativeSelect(): boolean;
114
+ isNativeSelect: _angular_core.Signal<boolean>;
111
115
  constructor(cd: ChangeDetectorRef, elementRef: ElementRef);
112
116
  /** @docs-private */
113
- _prefix: DaffPrefixDirective;
117
+ _prefix: _angular_core.Signal<DaffPrefixDirective>;
114
118
  /** @docs-private */
115
- _suffix: DaffSuffixDirective;
119
+ _suffix: _angular_core.Signal<DaffSuffixDirective>;
116
120
  /**
117
121
  * @docs-private
118
122
  *
119
123
  * The child form control that the form field manages.
120
124
  */
121
- _control: DaffFormFieldControl<unknown>;
125
+ _control: _angular_core.Signal<DaffFormFieldControl<any>>;
122
126
  /**
123
127
  * @docs-private
128
+ *
124
129
  * @deprecated Deprecated in version 0.86.0. Will be removed in version 1.0.0.
125
130
  */
126
- _formLabelDirective: DaffFormLabelDirective;
131
+ _formLabelDirective: _angular_core.Signal<DaffFormLabelDirective>;
127
132
  /**
128
133
  * @docs-private
129
134
  */
130
- _formFieldLabelDirective: DaffFormFieldLabelDirective;
135
+ _formFieldLabelDirective: _angular_core.Signal<DaffFormFieldLabelDirective>;
131
136
  /**
132
137
  * @docs-private
133
138
  */
134
- _action: DaffFormFieldActionDirective;
139
+ _action: _angular_core.Signal<DaffFormFieldActionDirective>;
135
140
  /**
136
141
  * @docs-private
137
142
  */
@@ -146,28 +151,28 @@ declare class DaffFormFieldComponent implements AfterContentInit, AfterContentCh
146
151
  * Tracking property to keep a record of whether or not the
147
152
  * form field should be marked as error.
148
153
  */
149
- isError: boolean;
154
+ isError: _angular_core.WritableSignal<boolean>;
150
155
  /**
151
156
  * @docs-private
152
157
  *
153
158
  * Tracking property to keep a record of whether or not the
154
159
  * form field contains any user input.
155
160
  */
156
- isFilled: boolean;
161
+ isFilled: _angular_core.WritableSignal<boolean>;
157
162
  /**
158
163
  * @docs-private
159
164
  *
160
165
  * Tracking property to keep a record of whether or not the
161
166
  * form field should be marked as disabled.
162
167
  */
163
- isDisabled: boolean;
168
+ isDisabled: _angular_core.WritableSignal<boolean>;
164
169
  /**
165
170
  * @docs-private
166
171
  *
167
172
  * Tracking property to keep a record of whether or not the
168
173
  * form field should be marked as valid.
169
174
  */
170
- isValid: boolean;
175
+ isValid: _angular_core.WritableSignal<boolean>;
171
176
  /**
172
177
  * @docs-private
173
178
  *
@@ -178,47 +183,45 @@ declare class DaffFormFieldComponent implements AfterContentInit, AfterContentCh
178
183
  * @docs-private
179
184
  */
180
185
  get isRaised(): boolean;
181
- private _appearance;
182
186
  /**
183
187
  * The appearance of the form field. Defaults to `fluid`.
184
188
  */
185
- get appearance(): DaffFormFieldApperanace;
186
- set appearance(value: DaffFormFieldApperanace);
189
+ appearance: _angular_core.InputSignalWithTransform<DaffFormFieldAppearance | DaffFormFieldAppearanceEnum.Fluid, "" | DaffFormFieldAppearance>;
187
190
  /**
188
191
  * @docs-private
189
192
  */
190
- get isFixed(): boolean;
193
+ isFixed: _angular_core.Signal<boolean>;
191
194
  /**
192
195
  * The unique id of the form field. Defaults to an autogenerated value. When using this,
193
196
  * it's your responsibility to ensure that the id for each form field is unique.
194
197
  *
195
198
  * It gets assigned to the `for` attribute on the `<label>` inside of the form field.
196
199
  */
197
- id: string;
200
+ id: _angular_core.InputSignal<string>;
198
201
  /**
199
202
  * @docs-private
200
203
  */
201
- hasHint(): boolean;
204
+ hasHint: _angular_core.Signal<boolean>;
202
205
  /**
203
206
  * @docs-private
204
207
  */
205
- hintId: string;
208
+ hintId: _angular_core.Signal<string>;
206
209
  /**
207
210
  * @docs-private
208
211
  */
209
- hasErrorMessage(): boolean;
212
+ hasErrorMessage: _angular_core.Signal<boolean>;
210
213
  /**
211
214
  * @docs-private
212
215
  */
213
- errorMessageId: string;
216
+ errorMessageId: _angular_core.Signal<string>;
214
217
  /**
215
218
  * @docs-private
216
219
  */
217
- get autoLabelId(): string;
220
+ autoLabelId: _angular_core.Signal<string>;
218
221
  /**
219
222
  * @docs-private
220
223
  */
221
- get customId(): string;
224
+ customId: _angular_core.Signal<string>;
222
225
  /**
223
226
  * @docs-private
224
227
  *
@@ -245,17 +248,17 @@ declare class DaffFormFieldComponent implements AfterContentInit, AfterContentCh
245
248
  * validation of usage.
246
249
  */
247
250
  ngAfterContentChecked(): void;
248
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffFormFieldComponent, never>;
249
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffFormFieldComponent, "daff-form-field", never, { "appearance": { "alias": "appearance"; "required": false; }; "id": { "alias": "id"; "required": false; }; }, {}, ["_prefix", "_suffix", "_control", "_formLabelDirective", "_formFieldLabelDirective", "_action", "_hint", "_error"], ["*", "[daffPrefix]", "*", "[daffSuffix]", "daff-hint", "daff-error-message", "[daffFormFieldAction]", "label[daffFormLabel]", "daff-form-label", "label"], true, [{ directive: typeof i3.DaffSkeletonableDirective; inputs: { "skeleton": "skeleton"; }; outputs: {}; }]>;
251
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffFormFieldComponent, never>;
252
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffFormFieldComponent, "daff-form-field", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, ["_prefix", "_suffix", "_control", "_formLabelDirective", "_formFieldLabelDirective", "_action", "_hint", "_error"], ["*", "[daffPrefix]", "*", "[daffSuffix]", "daff-hint", "daff-error-message", "[daffFormFieldAction]", "label[daffFormLabel]", "daff-form-label", "label"], true, [{ directive: typeof i3.DaffSkeletonableDirective; inputs: { "skeleton": "skeleton"; }; outputs: {}; }]>;
250
253
  }
251
254
 
252
255
  /**
253
256
  * @deprecated in favor of standalone components. Deprecated in version 0.84.0. Will be removed in version 1.0.0.
254
257
  */
255
258
  declare class DaffFormFieldModule {
256
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffFormFieldModule, never>;
257
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffFormFieldModule, never, [typeof DaffFormFieldComponent, typeof i2.DaffErrorMessageComponent, typeof i2.DaffHintComponent, typeof i2.DaffFormFieldLabelDirective, typeof i3.DaffFormLabelModule], [typeof DaffFormFieldComponent, typeof i2.DaffErrorMessageComponent, typeof i2.DaffHintComponent, typeof i2.DaffFormFieldLabelDirective, typeof i3.DaffFormLabelModule]>;
258
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffFormFieldModule>;
259
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffFormFieldModule, never>;
260
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<DaffFormFieldModule, never, [typeof DaffFormFieldComponent, typeof i2.DaffErrorMessageComponent, typeof i2.DaffHintComponent, typeof i2.DaffFormFieldLabelDirective, typeof i3.DaffFormLabelModule], [typeof DaffFormFieldComponent, typeof i2.DaffErrorMessageComponent, typeof i2.DaffHintComponent, typeof i2.DaffFormFieldLabelDirective, typeof i3.DaffFormLabelModule]>;
261
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<DaffFormFieldModule>;
259
262
  }
260
263
 
261
264
  /**
@@ -9,9 +9,9 @@ declare class DaffHintComponent {
9
9
  /**
10
10
  * Displays a validated hint UI.
11
11
  * */
12
- validated: boolean;
12
+ validated: i0.InputSignal<boolean>;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffHintComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffHintComponent, "daff-hint", never, { "validated": { "alias": "validated"; "required": false; }; }, {}, never, ["*"], true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffHintComponent, "daff-hint", never, { "validated": { "alias": "validated"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
15
15
  }
16
16
 
17
17
  declare class DaffFormFieldLabelDirective {
@@ -1,70 +1,57 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, EventEmitter } from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
3
2
  import * as i1$1 from '@angular/common';
4
3
  import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
5
4
  import * as i1 from '@daffodil/design';
6
5
 
7
- declare class DaffImageComponent implements OnInit {
6
+ declare class DaffImageComponent {
8
7
  private sanitizer;
9
- private _src;
10
8
  /**
11
9
  * The URL of the image.
12
10
  */
13
- get src(): string;
14
- set src(value: string);
15
- private _alt;
11
+ src: _angular_core.InputSignalWithTransform<string, string>;
16
12
  /**
17
13
  * The alternate text for the image.
18
14
  */
19
- get alt(): string;
20
- set alt(value: string);
21
- private _width;
15
+ alt: _angular_core.InputSignalWithTransform<string, string>;
22
16
  /**
23
17
  * The width of the image.
24
18
  */
25
- get width(): number;
26
- set width(value: number);
27
- private _height;
19
+ width: _angular_core.InputSignalWithTransform<number, number>;
28
20
  /**
29
21
  * The height of the image.
30
22
  */
31
- get height(): number;
32
- set height(value: number);
23
+ height: _angular_core.InputSignalWithTransform<number, number>;
33
24
  /**
34
25
  * Whether the image should be treated as a priority image for loading.
35
26
  * Priority images are loaded eagerly and not lazy-loaded.
36
27
  */
37
- priority: i0.InputSignal<boolean>;
28
+ priority: _angular_core.InputSignal<boolean>;
38
29
  /**
39
30
  * Emits when the image has loaded.
40
31
  */
41
- load: EventEmitter<void>;
42
- /**
43
- * @docs-private
44
- */
45
- ngOnInit(): void;
32
+ loaded: _angular_core.OutputEmitterRef<void>;
46
33
  constructor(sanitizer: DomSanitizer);
47
34
  /**
48
35
  * @docs-private
49
36
  */
50
- get _paddingTop(): any;
37
+ _paddingTop: _angular_core.Signal<SafeStyle>;
51
38
  /**
52
39
  * @docs-private
53
40
  *
54
41
  * The aspect ratio of an image, based on the width and height set by the user.
55
42
  */
56
- get _aspectRatio(): SafeStyle;
57
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageComponent, never>;
58
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffImageComponent, "daff-image", never, { "src": { "alias": "src"; "required": false; }; "alt": { "alias": "alt"; "required": false; }; "width": { "alias": "width"; "required": false; }; "height": { "alias": "height"; "required": false; }; "priority": { "alias": "priority"; "required": false; "isSignal": true; }; }, { "load": "load"; }, never, never, true, [{ directive: typeof i1.DaffSkeletonableDirective; inputs: { "skeleton": "skeleton"; }; outputs: {}; }]>;
43
+ _aspectRatio: _angular_core.Signal<SafeStyle>;
44
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffImageComponent, never>;
45
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffImageComponent, "daff-image", never, { "src": { "alias": "src"; "required": true; "isSignal": true; }; "alt": { "alias": "alt"; "required": true; "isSignal": true; }; "width": { "alias": "width"; "required": true; "isSignal": true; }; "height": { "alias": "height"; "required": true; "isSignal": true; }; "priority": { "alias": "priority"; "required": false; "isSignal": true; }; }, { "loaded": "loaded"; }, never, never, true, [{ directive: typeof i1.DaffSkeletonableDirective; inputs: { "skeleton": "skeleton"; }; outputs: {}; }]>;
59
46
  }
60
47
 
61
48
  /**
62
49
  * @deprecated in favor of {@link DAFF_IMAGE_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
63
50
  * */
64
51
  declare class DaffImageModule {
65
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageModule, never>;
66
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffImageModule, never, [typeof i1$1.CommonModule, typeof DaffImageComponent], [typeof DaffImageComponent]>;
67
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffImageModule>;
52
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffImageModule, never>;
53
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<DaffImageModule, never, [typeof i1$1.CommonModule, typeof DaffImageComponent], [typeof DaffImageComponent]>;
54
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<DaffImageModule>;
68
55
  }
69
56
 
70
57
  /**
@@ -48,18 +48,18 @@ declare class DaffNavListComponent {
48
48
  declare class DaffListItemComponent {
49
49
  private elementRef;
50
50
  /** Whether an item in a `<daff-nav-list>` is the currently active item. */
51
- active: boolean;
51
+ active: i0.InputSignal<boolean>;
52
52
  /**
53
53
  * @docs-private
54
54
  */
55
- _prefix: DaffPrefixDirective;
55
+ _prefix: i0.Signal<DaffPrefixDirective>;
56
56
  constructor(elementRef: ElementRef);
57
57
  /**
58
58
  * @docs-private
59
59
  */
60
60
  get _isAnchor(): boolean;
61
61
  static ɵfac: i0.ɵɵFactoryDeclaration<DaffListItemComponent, never>;
62
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffListItemComponent, "daff-list-item,a[daff-list-item]", never, { "active": { "alias": "active"; "required": false; }; }, {}, ["_prefix"], ["[daffPrefix]", "*"], true, never>;
62
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffListItemComponent, "daff-list-item,a[daff-list-item]", never, { "active": { "alias": "active"; "required": false; "isSignal": true; }; }, {}, ["_prefix"], ["[daffPrefix]", "*"], true, never>;
63
63
  }
64
64
 
65
65
  /**
@@ -1,11 +1,11 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, TemplateRef, EventEmitter, Signal } from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
+ import { Signal, OnInit, TemplateRef } from '@angular/core';
3
3
  import * as i1 from '@daffodil/design';
4
4
  import { DaffSkeletonableDirective } from '@daffodil/design';
5
5
  import * as i1$1 from '@angular/common';
6
6
 
7
7
  interface DaffMediaGalleryRegistration {
8
- id: string;
8
+ id: Signal<string>;
9
9
  }
10
10
 
11
11
  /**
@@ -30,23 +30,23 @@ declare class DaffThumbnailDirective implements OnInit {
30
30
  *
31
31
  * The autogenerated unique id for a thumbnail.
32
32
  */
33
- get id(): string;
33
+ id: _angular_core.Signal<string>;
34
34
  /**
35
35
  * @docs-private
36
36
  *
37
37
  * The unique id of the selected thumbnail.
38
38
  */
39
- get selectedThumbnailId(): string;
39
+ selectedThumbnailId: _angular_core.Signal<string>;
40
40
  /**
41
41
  * The file path to a thumbnail, presumably an image.
42
42
  */
43
- thumbnailSrc: any;
43
+ thumbnailSrc: _angular_core.InputSignal<string>;
44
44
  /**
45
45
  * Provides an accessible label for a thumbnail.
46
46
  */
47
- label: string;
47
+ label: _angular_core.InputSignal<string>;
48
48
  /** Indicates whether the thumbnail represents a video. */
49
- isVideo: boolean;
49
+ isVideo: _angular_core.InputSignal<boolean>;
50
50
  constructor(
51
51
  /**
52
52
  * @docs-private
@@ -60,8 +60,8 @@ declare class DaffThumbnailDirective implements OnInit {
60
60
  * @docs-private
61
61
  */
62
62
  ngOnInit(): void;
63
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffThumbnailDirective, never>;
64
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffThumbnailDirective, "[daffThumbnail]", never, { "thumbnailSrc": { "alias": "thumbnailSrc"; "required": false; }; "label": { "alias": "label"; "required": false; }; "isVideo": { "alias": "isVideo"; "required": false; }; }, {}, never, never, true, never>;
63
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffThumbnailDirective, never>;
64
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DaffThumbnailDirective, "[daffThumbnail]", never, { "thumbnailSrc": { "alias": "thumbnailSrc"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "isVideo": { "alias": "isVideo"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
65
65
  }
66
66
 
67
67
  /**
@@ -78,18 +78,23 @@ declare class DaffThumbnailDirective implements OnInit {
78
78
  declare class DaffMediaGalleryComponent implements DaffMediaGalleryRegistration {
79
79
  private skeletonDirective;
80
80
  /**
81
- * The internal ID of the gallery.
81
+ * The auto-generated ID of the gallery.
82
82
  */
83
- private _id;
83
+ private _defaultId;
84
84
  /**
85
85
  * Custom ID for the media gallery that overrides the auto-generated one. When using this input, it is your responsibility to ensure that the ID is unique.
86
86
  */
87
- get id(): string | undefined | null;
88
- set id(val: string | undefined | null);
87
+ customId: _angular_core.InputSignal<string>;
88
+ /**
89
+ * @docs-private
90
+ *
91
+ * The resolved ID of the gallery: the custom ID when provided, otherwise the auto-generated one.
92
+ */
93
+ id: Signal<string>;
89
94
  /**
90
95
  * An event indicating that the selected media gallery element has changed.
91
96
  */
92
- elementChange: EventEmitter<number>;
97
+ elementChange: _angular_core.OutputEmitterRef<number>;
93
98
  /**
94
99
  * @docs-private
95
100
  */
@@ -113,6 +118,12 @@ declare class DaffMediaGalleryComponent implements DaffMediaGalleryRegistration
113
118
  */
114
119
  _selectedThumbnail: Signal<DaffThumbnailDirective>;
115
120
  private _selectedIndex;
121
+ /**
122
+ * @docs-private
123
+ *
124
+ * Whether the given thumbnail is the currently selected one.
125
+ */
126
+ _isSelected(thumbnail: DaffThumbnailDirective): boolean;
116
127
  private focusSelected;
117
128
  /**
118
129
  * Select a specific entry in the media gallery by its index.
@@ -144,17 +155,17 @@ declare class DaffMediaGalleryComponent implements DaffMediaGalleryRegistration
144
155
  * @param Whether to move focus to the newly selected item.
145
156
  */
146
157
  selectLast(focus?: boolean): void;
147
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffMediaGalleryComponent, never>;
148
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffMediaGalleryComponent, "daff-media-gallery", never, { "id": { "alias": "id"; "required": false; }; }, { "elementChange": "elementChange"; }, ["_thumbnails"], ["*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffSkeletonableDirective; inputs: { "skeleton": "skeleton"; }; outputs: {}; }]>;
158
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffMediaGalleryComponent, never>;
159
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffMediaGalleryComponent, "daff-media-gallery", never, { "customId": { "alias": "id"; "required": false; "isSignal": true; }; }, { "elementChange": "elementChange"; }, ["_thumbnails"], ["*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffSkeletonableDirective; inputs: { "skeleton": "skeleton"; }; outputs: {}; }]>;
149
160
  }
150
161
 
151
162
  /**
152
163
  * @deprecated in favor of {@link DAFF_MEDIA_GALLERY_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
153
164
  */
154
165
  declare class DaffMediaGalleryModule {
155
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffMediaGalleryModule, never>;
156
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffMediaGalleryModule, never, [typeof i1$1.CommonModule, typeof DaffMediaGalleryComponent, typeof DaffThumbnailDirective], [typeof DaffMediaGalleryComponent, typeof DaffThumbnailDirective]>;
157
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffMediaGalleryModule>;
166
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffMediaGalleryModule, never>;
167
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<DaffMediaGalleryModule, never, [typeof i1$1.CommonModule, typeof DaffMediaGalleryComponent, typeof DaffThumbnailDirective], [typeof DaffMediaGalleryComponent, typeof DaffThumbnailDirective]>;
168
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<DaffMediaGalleryModule>;
158
169
  }
159
170
 
160
171
  /**