@daffodil/design 0.94.1 → 0.95.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 (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,10 +1,9 @@
1
- import * as _angular_core from '@angular/core';
2
- import { TemplateRef, ElementRef, AfterContentInit, OnInit, ChangeDetectorRef } from '@angular/core';
3
- import * as i1 from '@daffodil/design';
4
- import { DaffDisableable, DaffDisableableDirective, DaffPrefixDirective, DaffSuffixDirective, DaffSelectableDirective } from '@daffodil/design';
5
- import { Location } from '@angular/common';
6
- import { Params } from '@angular/router';
7
-
1
+ import * as i0 from "@angular/core";
2
+ import { AfterContentInit, ChangeDetectorRef, ElementRef, OnInit, TemplateRef } from "@angular/core";
3
+ import * as i1 from "@daffodil/design";
4
+ import { DaffDisableable, DaffDisableableDirective, DaffPrefixDirective, DaffSelectableDirective, DaffSuffixDirective } from "@daffodil/design";
5
+ import { Location } from "@angular/common";
6
+ import { Params } from "@angular/router";
8
7
  /**
9
8
  * Tab is a single tab in the tablist that is used to group the label of a tab panel and the tab panel together.
10
9
  *
@@ -23,36 +22,47 @@ import { Params } from '@angular/router';
23
22
  * </daff-tab>
24
23
  * ```
25
24
  */
26
- declare class DaffTabComponent implements DaffDisableable {
27
- private disabledDirective;
28
- /**
29
- * @docs-private
30
- *
31
- * Whether the tab is disabled.
32
- */
33
- get disabled(): boolean;
34
- /**
35
- * @docs-private
36
- */
37
- contentRef: _angular_core.Signal<TemplateRef<any>>;
38
- /**
39
- * @docs-private
40
- */
41
- labelRef: _angular_core.Signal<TemplateRef<any>>;
42
- /**
43
- * A unique id for the tab component. Defaults to an autogenerated value. When using this,
44
- * it's your responsibility to ensure that the id for each tab is unique.
45
- */
46
- id: _angular_core.InputSignal<string>;
47
- /**
48
- * @docs-private
49
- */
50
- panelId: string;
51
- constructor(disabledDirective: DaffDisableableDirective);
52
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTabComponent, never>;
53
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTabComponent, "daff-tab", never, { "id": { "alias": "id"; "required": false; "isSignal": true; }; }, {}, never, ["daff-tab-label", "daff-tab-panel"], true, [{ directive: typeof i1.DaffDisableableDirective; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
25
+ export declare class DaffTabComponent implements DaffDisableable {
26
+ private disabledDirective;
27
+ /**
28
+ * @docs-private
29
+ *
30
+ * Whether the tab is disabled.
31
+ */
32
+ get disabled(): boolean;
33
+ /**
34
+ * @docs-private
35
+ */
36
+ contentRef: import("@angular/core").Signal<TemplateRef<any>>;
37
+ /**
38
+ * @docs-private
39
+ */
40
+ labelRef: import("@angular/core").Signal<TemplateRef<any>>;
41
+ /**
42
+ * A unique id for the tab component. Defaults to an autogenerated value. When using this,
43
+ * it's your responsibility to ensure that the id for each tab is unique.
44
+ */
45
+ id: import("@angular/core").InputSignal<string>;
46
+ /**
47
+ * @docs-private
48
+ */
49
+ panelId: string;
50
+ constructor(disabledDirective: DaffDisableableDirective);
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabComponent, "daff-tab", never, {
53
+ "id": {
54
+ "alias": "id";
55
+ "required": false;
56
+ "isSignal": true;
57
+ };
58
+ }, {}, never, ["daff-tab-label", "daff-tab-panel"], true, [{
59
+ directive: typeof i1.DaffDisableableDirective;
60
+ inputs: {
61
+ "disabled": "disabled";
62
+ };
63
+ outputs: {};
64
+ }]>;
54
65
  }
55
-
56
66
  /**
57
67
  * Tab label is the clicakble label that activates its corresponding tab panel. Labels can contain text, icons, or both.
58
68
  *
@@ -65,19 +75,18 @@ declare class DaffTabComponent implements DaffDisableable {
65
75
  * </daff-tab-Label>
66
76
  * ```
67
77
  */
68
- declare class DaffTabLabelComponent {
69
- /**
70
- * @docs-private
71
- */
72
- _prefix: _angular_core.Signal<DaffPrefixDirective>;
73
- /**
74
- * @docs-private
75
- */
76
- _suffix: _angular_core.Signal<DaffSuffixDirective>;
77
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTabLabelComponent, never>;
78
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTabLabelComponent, "daff-tab-label", never, {}, {}, ["_prefix", "_suffix"], ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
78
+ export declare class DaffTabLabelComponent {
79
+ /**
80
+ * @docs-private
81
+ */
82
+ _prefix: import("@angular/core").Signal<DaffPrefixDirective>;
83
+ /**
84
+ * @docs-private
85
+ */
86
+ _suffix: import("@angular/core").Signal<DaffSuffixDirective>;
87
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabLabelComponent, never>;
88
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabLabelComponent, "daff-tab-label", never, {}, {}, ["_prefix", "_suffix"], ["[daffPrefix]", "*", "[daffSuffix]"], true, never>;
79
89
  }
80
-
81
90
  /**
82
91
  * Tab panel is the content area displayed when a tab is active.
83
92
  *
@@ -88,54 +97,69 @@ declare class DaffTabLabelComponent {
88
97
  * </daff-tab-panel>
89
98
  * ```
90
99
  */
91
- declare class DaffTabPanelComponent {
92
- private tab;
93
- private _id;
94
- /**
95
- * @docs-private
96
- *
97
- * Dynamically binds the tab panel's id to a unique value generated from the associated tab's panelId.
98
- */
99
- get tabPanelId(): string;
100
- private _ariaLabelledBy;
101
- /**
102
- * @docs-private
103
- */
104
- get ariaLabelledBy(): string;
105
- constructor(tab: DaffTabComponent);
106
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTabPanelComponent, never>;
107
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTabPanelComponent, "daff-tab-panel", never, {}, {}, never, ["*"], true, never>;
100
+ export declare class DaffTabPanelComponent {
101
+ private tab;
102
+ private _id;
103
+ /**
104
+ * @docs-private
105
+ *
106
+ * Dynamically binds the tab panel's id to a unique value generated from the associated tab's panelId.
107
+ */
108
+ get tabPanelId(): string;
109
+ private _ariaLabelledBy;
110
+ /**
111
+ * @docs-private
112
+ */
113
+ get ariaLabelledBy(): string;
114
+ constructor(tab: DaffTabComponent);
115
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabPanelComponent, never>;
116
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabPanelComponent, "daff-tab-panel", never, {}, {}, never, ["*"], true, never>;
108
117
  }
109
-
110
118
  declare class DaffTabActivatorComponent {
111
- private el;
112
- private selectableDirective;
113
- /**
114
- * @docs-private
115
- *
116
- * Sets `aria-selected` to true if the component is selected and false if it's not selected.
117
- */
118
- get ariaSelected(): boolean;
119
- /**
120
- * @docs-private
121
- *
122
- * Sets `tabindex` to `0` if the component is selected and `-1` if it's not selected.
123
- */
124
- get tabIndex(): "0" | "-1";
125
- constructor(el: ElementRef, selectableDirective: DaffSelectableDirective);
126
- /**
127
- * The html id of the tab activator component
128
- */
129
- tabActivatorId: _angular_core.InputSignal<string>;
130
- panelId: _angular_core.InputSignal<string>;
131
- /**
132
- * Sets focus to the native element of the component.
133
- */
134
- focus(): void;
135
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTabActivatorComponent, never>;
136
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTabActivatorComponent, "button[daff-tab-activator],a[daff-tab-activator]", never, { "tabActivatorId": { "alias": "tabActivatorId"; "required": false; "isSignal": true; }; "panelId": { "alias": "panelId"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.DaffSelectableDirective; inputs: { "selected": "selected"; }; outputs: {}; }]>;
119
+ private el;
120
+ private selectableDirective;
121
+ /**
122
+ * @docs-private
123
+ *
124
+ * Sets `aria-selected` to true if the component is selected and false if it's not selected.
125
+ */
126
+ get ariaSelected(): boolean;
127
+ /**
128
+ * @docs-private
129
+ *
130
+ * Sets `tabindex` to `0` if the component is selected and `-1` if it's not selected.
131
+ */
132
+ get tabIndex(): "0" | "-1";
133
+ constructor(el: ElementRef, selectableDirective: DaffSelectableDirective);
134
+ /**
135
+ * The html id of the tab activator component
136
+ */
137
+ tabActivatorId: import("@angular/core").InputSignal<string>;
138
+ panelId: import("@angular/core").InputSignal<string>;
139
+ /**
140
+ * Sets focus to the native element of the component.
141
+ */
142
+ focus(): void;
143
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabActivatorComponent, never>;
144
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabActivatorComponent, "button[daff-tab-activator],a[daff-tab-activator]", never, {
145
+ "tabActivatorId": {
146
+ "alias": "tabActivatorId";
147
+ "required": false;
148
+ "isSignal": true;
149
+ };
150
+ "panelId": {
151
+ "alias": "panelId";
152
+ "required": false;
153
+ "isSignal": true;
154
+ };
155
+ }, {}, never, ["*"], true, [{
156
+ directive: typeof i1.DaffSelectableDirective;
157
+ inputs: {
158
+ "selected": "selected";
159
+ };
160
+ outputs: {};
161
+ }]>;
137
162
  }
138
-
139
163
  /**
140
164
  * Tabs provide a way to navigate between panels that display related content without leaving the page.
141
165
  *
@@ -163,109 +187,136 @@ declare class DaffTabActivatorComponent {
163
187
  * </daff-tabs>
164
188
  * ```
165
189
  */
166
- declare class DaffTabsComponent implements AfterContentInit, OnInit {
167
- private cdRef;
168
- private location;
169
- /**
170
- * @docs-private
171
- *
172
- * The currently selected tab. This property is dynamically updated when a user selects a tab.
173
- */
174
- selectedTab: _angular_core.WritableSignal<string>;
175
- /**
176
- * The tab that is selected on initial load. If it's not used, the first tab in the tablist will be selected by default.
177
- */
178
- initiallySelected: _angular_core.InputSignal<string>;
179
- /**
180
- * `aria-label` to label the tablist.
181
- */
182
- ariaLabel: _angular_core.InputSignal<string>;
183
- /**
184
- * Replace the tab buttons as links.
185
- */
186
- linkMode: _angular_core.InputSignal<boolean>;
187
- /**
188
- * The URL to navigate to when the component is in link mode.
189
- * This component will set the specified query param.
190
- */
191
- url: _angular_core.InputSignal<string>;
192
- /**
193
- * The query parameter that the tabs component will use to set the tab value in link mode.
194
- */
195
- queryParam: _angular_core.InputSignal<string>;
196
- /**
197
- * Event emitted when tab selection changes.
198
- */
199
- tabChange: _angular_core.OutputEmitterRef<string>;
200
- /**
201
- * @docs-private
202
- */
203
- _labels: _angular_core.Signal<readonly DaffTabLabelComponent[]>;
204
- /**
205
- * @docs-private
206
- */
207
- _tabs: _angular_core.Signal<readonly DaffTabComponent[]>;
208
- /**
209
- * @docs-private
210
- */
211
- _tabActivators: _angular_core.Signal<readonly DaffTabActivatorComponent[]>;
212
- /**
213
- * @docs-private
214
- */
215
- get currentPath(): string;
216
- constructor(cdRef: ChangeDetectorRef, location: Location);
217
- private reset;
218
- /**
219
- * @docs-private
220
- */
221
- ngOnInit(): void;
222
- /**
223
- * @docs-private
224
- */
225
- ngAfterContentInit(): void;
226
- /**
227
- * @docs-private
228
- *
229
- * Selects a tab and sets focus on the selected tab.
230
- */
231
- select(tabId: string): void;
232
- /**
233
- * Navigates through the tabs based on the given offset.
234
- * Moves forward or backward in the tab array, wrapping around when necessary.
235
- */
236
- private navigateTabs;
237
- /**
238
- * @docs-private
239
- */
240
- _buildQueryParams(tab: string): Params;
241
- /**
242
- * @docs-private
243
- *
244
- * Selects the previous tab and wraps around to the last tab if the first tab is currently selected.
245
- */
246
- previous(): void;
247
- /**
248
- * @docs-private
249
- *
250
- * Selects the next tab and wraps around to the first tab if the last tab is currently selected.
251
- */
252
- next(): void;
253
- /**
254
- * @docs-private
255
- *
256
- * Selects the first tab.
257
- */
258
- selectFirst(event: KeyboardEvent | null): void;
259
- /**
260
- * @docs-private
261
- *
262
- * Selects the last tab.
263
- */
264
- selectLast(event: KeyboardEvent | null): void;
265
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffTabsComponent, never>;
266
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffTabsComponent, "daff-tabs", never, { "initiallySelected": { "alias": "initiallySelected"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "aria-label"; "required": false; "isSignal": true; }; "linkMode": { "alias": "linkMode"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "queryParam": { "alias": "queryParam"; "required": false; "isSignal": true; }; }, { "tabChange": "tabChange"; }, ["_labels", "_tabs"], never, true, never>;
190
+ export declare class DaffTabsComponent implements AfterContentInit, OnInit {
191
+ private cdRef;
192
+ private location;
193
+ /**
194
+ * @docs-private
195
+ *
196
+ * The currently selected tab. This property is dynamically updated when a user selects a tab.
197
+ */
198
+ selectedTab: import("@angular/core").WritableSignal<string>;
199
+ /**
200
+ * The tab that is selected on initial load. If it's not used, the first tab in the tablist will be selected by default.
201
+ */
202
+ initiallySelected: import("@angular/core").InputSignal<string>;
203
+ /**
204
+ * `aria-label` to label the tablist.
205
+ */
206
+ ariaLabel: import("@angular/core").InputSignal<string>;
207
+ /**
208
+ * Replace the tab buttons as links.
209
+ */
210
+ linkMode: import("@angular/core").InputSignal<boolean>;
211
+ /**
212
+ * The URL to navigate to when the component is in link mode.
213
+ * This component will set the specified query param.
214
+ */
215
+ url: import("@angular/core").InputSignal<string>;
216
+ /**
217
+ * The query parameter that the tabs component will use to set the tab value in link mode.
218
+ */
219
+ queryParam: import("@angular/core").InputSignal<string>;
220
+ /**
221
+ * Event emitted when tab selection changes.
222
+ */
223
+ tabChange: import("@angular/core").OutputEmitterRef<string>;
224
+ /**
225
+ * @docs-private
226
+ */
227
+ _labels: import("@angular/core").Signal<readonly DaffTabLabelComponent[]>;
228
+ /**
229
+ * @docs-private
230
+ */
231
+ _tabs: import("@angular/core").Signal<readonly DaffTabComponent[]>;
232
+ /**
233
+ * @docs-private
234
+ */
235
+ _tabActivators: import("@angular/core").Signal<readonly DaffTabActivatorComponent[]>;
236
+ /**
237
+ * @docs-private
238
+ */
239
+ get currentPath(): string;
240
+ constructor(cdRef: ChangeDetectorRef, location: Location);
241
+ private reset;
242
+ /**
243
+ * @docs-private
244
+ */
245
+ ngOnInit(): void;
246
+ /**
247
+ * @docs-private
248
+ */
249
+ ngAfterContentInit(): void;
250
+ /**
251
+ * @docs-private
252
+ *
253
+ * Selects a tab and sets focus on the selected tab.
254
+ */
255
+ select(tabId: string): void;
256
+ /**
257
+ * Navigates through the tabs based on the given offset.
258
+ * Moves forward or backward in the tab array, wrapping around when necessary.
259
+ */
260
+ private navigateTabs;
261
+ /**
262
+ * @docs-private
263
+ */
264
+ _buildQueryParams(tab: string): Params;
265
+ /**
266
+ * @docs-private
267
+ *
268
+ * Selects the previous tab and wraps around to the last tab if the first tab is currently selected.
269
+ */
270
+ previous(): void;
271
+ /**
272
+ * @docs-private
273
+ *
274
+ * Selects the next tab and wraps around to the first tab if the last tab is currently selected.
275
+ */
276
+ next(): void;
277
+ /**
278
+ * @docs-private
279
+ *
280
+ * Selects the first tab.
281
+ */
282
+ selectFirst(event: KeyboardEvent | null): void;
283
+ /**
284
+ * @docs-private
285
+ *
286
+ * Selects the last tab.
287
+ */
288
+ selectLast(event: KeyboardEvent | null): void;
289
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffTabsComponent, never>;
290
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffTabsComponent, "daff-tabs", never, {
291
+ "initiallySelected": {
292
+ "alias": "initiallySelected";
293
+ "required": false;
294
+ "isSignal": true;
295
+ };
296
+ "ariaLabel": {
297
+ "alias": "aria-label";
298
+ "required": false;
299
+ "isSignal": true;
300
+ };
301
+ "linkMode": {
302
+ "alias": "linkMode";
303
+ "required": false;
304
+ "isSignal": true;
305
+ };
306
+ "url": {
307
+ "alias": "url";
308
+ "required": false;
309
+ "isSignal": true;
310
+ };
311
+ "queryParam": {
312
+ "alias": "queryParam";
313
+ "required": false;
314
+ "isSignal": true;
315
+ };
316
+ }, {
317
+ "tabChange": "tabChange";
318
+ }, ["_labels", "_tabs"], never, true, never>;
267
319
  }
268
-
269
320
  /**
270
321
  * @docs-private
271
322
  *
@@ -273,6 +324,5 @@ declare class DaffTabsComponent implements AfterContentInit, OnInit {
273
324
  * import { DAFF_TABS_COMPONENTS } from '@daffodil/design/tabs';
274
325
  * ```
275
326
  */
276
- declare const DAFF_TABS_COMPONENTS: readonly [typeof DaffTabsComponent, typeof DaffTabLabelComponent, typeof DaffTabPanelComponent, typeof DaffTabComponent];
277
-
278
- export { DAFF_TABS_COMPONENTS, DaffTabComponent, DaffTabLabelComponent, DaffTabPanelComponent, DaffTabsComponent };
327
+ export declare const DAFF_TABS_COMPONENTS: readonly [typeof DaffTabsComponent, typeof DaffTabLabelComponent, typeof DaffTabPanelComponent, typeof DaffTabComponent];
328
+ export {};
@@ -1,17 +1,14 @@
1
- import * as i0 from '@angular/core';
2
- import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
3
- import * as i1 from '@daffodil/design';
4
- import { DaffSizableDirective, DaffSizeSmallType, DaffSizeMediumType, DaffSizeLargeType, DaffDisableable, DaffPrefixDirective, DaffStatus, DaffDisableableDirective, DaffStatusableDirective } from '@daffodil/design';
5
-
1
+ import * as i1 from "@daffodil/design";
2
+ import { DaffDisableable, DaffDisableableDirective, DaffPrefixDirective, DaffSizableDirective, DaffSizeLargeType, DaffSizeMediumType, DaffSizeSmallType, DaffStatus, DaffStatusableDirective } from "@daffodil/design";
3
+ import * as i0 from "@angular/core";
6
4
  /**
7
5
  * The size types that the DaffTagComponent can implement.
8
6
  */
9
7
  type DaffTagSize = DaffSizeSmallType | DaffSizeMediumType | DaffSizeLargeType;
10
- declare class DaffTagSizableDirective extends DaffSizableDirective<DaffTagSize> {
11
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffTagSizableDirective, never>;
12
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffTagSizableDirective, never, never, {}, {}, never, never, true, never>;
8
+ export declare class DaffTagSizableDirective extends DaffSizableDirective<DaffTagSize> {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffTagSizableDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffTagSizableDirective, never, never, {}, {}, never, never, true, never>;
13
11
  }
14
-
15
12
  /**
16
13
  * DaffTagComponent is an interactive indicator and filter that can be edited or removed, used to represent selections, categories, or applied filters.
17
14
  *
@@ -23,56 +20,94 @@ declare class DaffTagSizableDirective extends DaffSizableDirective<DaffTagSize>
23
20
  * </daff-tag>
24
21
  * ```
25
22
  */
26
- declare class DaffTagComponent implements DaffDisableable {
27
- private size;
28
- private disabledDirective;
29
- private statusable;
30
- /**
31
- * @docs-private
32
- */
33
- faTimes: _fortawesome_fontawesome_common_types.IconDefinition;
34
- /**
35
- * @docs-private
36
- */
37
- _prefix: i0.Signal<DaffPrefixDirective>;
38
- /**
39
- * @docs-private
40
- *
41
- * Internal function to access the disabled property of the DaffDisableableDirective.
42
- */
43
- get disabled(): boolean;
44
- /**
45
- * @deprecated Deprecated in version 0.93.0. Deprecated in version 0.93.1. Will be removed in version 0.96.0.
46
- *
47
- * Sets the status on the tag.
48
- */
49
- get status(): DaffStatus;
50
- set status(value: DaffStatus);
51
- /**
52
- * Whether the tag can be dismissed by the user.
53
- * Displays a close icon if `true`.
54
- */
55
- dismissible: i0.InputSignalWithTransform<boolean, unknown>;
56
- /**
57
- * Emits when the tag is closed.
58
- */
59
- closeTag: i0.OutputEmitterRef<void>;
60
- /**
61
- * @docs-private
62
- *
63
- * Internal handler for the close icon click.
64
- */
65
- onCloseTag(event: Event): void;
66
- constructor(size: DaffTagSizableDirective, disabledDirective: DaffDisableableDirective, statusable: DaffStatusableDirective);
67
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffTagComponent, never>;
68
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffTagComponent, "daff-tag", never, { "status": { "alias": "status"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; }, { "closeTag": "closeTag"; }, ["_prefix"], ["[daffPrefix]", "*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof DaffTagSizableDirective; inputs: { "size": "size"; }; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }, { directive: typeof i1.DaffStatusableDirective; inputs: { "status": "status"; }; outputs: {}; }, { directive: typeof i1.DaffDisableableDirective; inputs: { "disabled": "disabled"; }; outputs: {}; }]>;
23
+ export declare class DaffTagComponent implements DaffDisableable {
24
+ private size;
25
+ private disabledDirective;
26
+ private statusable;
27
+ /**
28
+ * @docs-private
29
+ */
30
+ faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
31
+ /**
32
+ * @docs-private
33
+ */
34
+ _prefix: import("@angular/core").Signal<DaffPrefixDirective>;
35
+ /**
36
+ * @docs-private
37
+ *
38
+ * Internal function to access the disabled property of the DaffDisableableDirective.
39
+ */
40
+ get disabled(): boolean;
41
+ /**
42
+ * @deprecated Deprecated in version 0.93.0. Deprecated in version 0.93.1. Will be removed in version 0.96.0.
43
+ *
44
+ * Sets the status on the tag.
45
+ */
46
+ get status(): DaffStatus;
47
+ set status(value: DaffStatus);
48
+ /**
49
+ * Whether the tag can be dismissed by the user.
50
+ * Displays a close icon if `true`.
51
+ */
52
+ dismissible: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
53
+ /**
54
+ * Emits when the tag is closed.
55
+ */
56
+ closeTag: import("@angular/core").OutputEmitterRef<void>;
57
+ /**
58
+ * @docs-private
59
+ *
60
+ * Internal handler for the close icon click.
61
+ */
62
+ onCloseTag(event: Event): void;
63
+ constructor(size: DaffTagSizableDirective, disabledDirective: DaffDisableableDirective, statusable: DaffStatusableDirective);
64
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffTagComponent, never>;
65
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffTagComponent, "daff-tag", never, {
66
+ "status": {
67
+ "alias": "status";
68
+ "required": false;
69
+ };
70
+ "dismissible": {
71
+ "alias": "dismissible";
72
+ "required": false;
73
+ "isSignal": true;
74
+ };
75
+ }, {
76
+ "closeTag": "closeTag";
77
+ }, ["_prefix"], ["[daffPrefix]", "*"], true, [{
78
+ directive: typeof i1.DaffArticleEncapsulatedDirective;
79
+ inputs: {};
80
+ outputs: {};
81
+ }, {
82
+ directive: typeof DaffTagSizableDirective;
83
+ inputs: {
84
+ "size": "size";
85
+ };
86
+ outputs: {};
87
+ }, {
88
+ directive: typeof i1.DaffColorableDirective;
89
+ inputs: {
90
+ "color": "color";
91
+ };
92
+ outputs: {};
93
+ }, {
94
+ directive: typeof i1.DaffStatusableDirective;
95
+ inputs: {
96
+ "status": "status";
97
+ };
98
+ outputs: {};
99
+ }, {
100
+ directive: typeof i1.DaffDisableableDirective;
101
+ inputs: {
102
+ "disabled": "disabled";
103
+ };
104
+ outputs: {};
105
+ }]>;
69
106
  }
70
-
71
107
  /**
72
108
  * @docs-private
73
109
  *
74
110
  * `DAFF_TAG_COMPONENTS` imports all the available components and directives.
75
111
  */
76
- declare const DAFF_TAG_COMPONENTS: readonly [typeof DaffTagComponent, typeof DaffTagSizableDirective, typeof DaffPrefixDirective];
77
-
78
- export { DAFF_TAG_COMPONENTS, DaffTagComponent, DaffTagSizableDirective };
112
+ export declare const DAFF_TAG_COMPONENTS: readonly [typeof DaffTagComponent, typeof DaffTagSizableDirective, typeof DaffPrefixDirective];
113
+ export {};