@daffodil/design 0.94.1 → 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,9 +1,8 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit } from '@angular/core';
3
- import * as i1$1 from '@angular/common';
4
- import * as i1 from '@daffodil/design';
5
- import { DaffOpenable, DaffDisableable, DaffOpenableDirective, DaffDisableableDirective } from '@daffodil/design';
6
-
1
+ import * as i0 from "@angular/core";
2
+ import { OnInit } from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i1$1 from "@daffodil/design";
5
+ import { DaffDisableable, DaffDisableableDirective, DaffOpenable, DaffOpenableDirective } from "@daffodil/design";
7
6
  /**
8
7
  * Groups accordion items.
9
8
  *
@@ -21,11 +20,14 @@ import { DaffOpenable, DaffDisableable, DaffOpenableDirective, DaffDisableableDi
21
20
  * </daff-accordion>
22
21
  * ```
23
22
  */
24
- declare class DaffAccordionComponent {
25
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionComponent, never>;
26
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionComponent, "daff-accordion", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }]>;
23
+ export declare class DaffAccordionComponent {
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionComponent, "daff-accordion", never, {}, {}, never, ["*"], true, [{
26
+ directive: typeof i1$1.DaffArticleEncapsulatedDirective;
27
+ inputs: {};
28
+ outputs: {};
29
+ }]>;
27
30
  }
28
-
29
31
  /**
30
32
  * Contains the title and collapsible content. Handles expansion and collapse on user interaction. All `<daff-accordion-item>`s should be grouped inside a `<daff-accordion>`.
31
33
  *
@@ -37,52 +39,79 @@ declare class DaffAccordionComponent {
37
39
  * </daff-accordion-item>
38
40
  * ```
39
41
  */
40
- declare class DaffAccordionItemComponent implements OnInit, DaffOpenable, DaffDisableable {
41
- private openDirective;
42
- private disabledDirective;
43
- /**
44
- * The unique id of an accordion item. Defaults to an autogenerated value.
45
- */
46
- itemId: i0.InputSignal<string>;
47
- /**
48
- * The unique id of an accordion item content. Defaults to an autogenerated value.
49
- */
50
- contentId: i0.InputSignal<string>;
51
- /**
52
- * Whether or not an accordion item is initially expanded by default.
53
- */
54
- initiallyExpanded: i0.InputSignal<boolean>;
55
- /**
56
- * @docs-private
57
- *
58
- * Internal function to access the disabled property of the DaffDisableableDirective
59
- */
60
- get disabled(): boolean;
61
- constructor(openDirective: DaffOpenableDirective, disabledDirective: DaffDisableableDirective);
62
- /**
63
- * @docs-private
64
- */
65
- ngOnInit(): void;
66
- /**
67
- * @docs-private
68
- */
69
- get open(): i0.ModelSignal<boolean>;
70
- /**
71
- * Reveals the contents of the accordion item.
72
- */
73
- reveal(): void;
74
- /**
75
- * Hides the contents of the accordion item.
76
- */
77
- hide(): void;
78
- /**
79
- * Toggles the visibility of the contents of the accordion item.
80
- */
81
- toggle(): void;
82
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionItemComponent, never>;
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: {}; }]>;
42
+ export declare class DaffAccordionItemComponent implements OnInit, DaffOpenable, DaffDisableable {
43
+ private openDirective;
44
+ private disabledDirective;
45
+ /**
46
+ * The unique id of an accordion item. Defaults to an autogenerated value.
47
+ */
48
+ itemId: import("@angular/core").InputSignal<string>;
49
+ /**
50
+ * The unique id of an accordion item content. Defaults to an autogenerated value.
51
+ */
52
+ contentId: import("@angular/core").InputSignal<string>;
53
+ /**
54
+ * Whether or not an accordion item is initially expanded by default.
55
+ */
56
+ initiallyExpanded: import("@angular/core").InputSignal<boolean>;
57
+ /**
58
+ * @docs-private
59
+ *
60
+ * Internal function to access the disabled property of the DaffDisableableDirective
61
+ */
62
+ get disabled(): boolean;
63
+ constructor(openDirective: DaffOpenableDirective, disabledDirective: DaffDisableableDirective);
64
+ /**
65
+ * @docs-private
66
+ */
67
+ ngOnInit(): void;
68
+ /**
69
+ * @docs-private
70
+ */
71
+ get open(): import("@angular/core").ModelSignal<boolean>;
72
+ /**
73
+ * Reveals the contents of the accordion item.
74
+ */
75
+ reveal(): void;
76
+ /**
77
+ * Hides the contents of the accordion item.
78
+ */
79
+ hide(): void;
80
+ /**
81
+ * Toggles the visibility of the contents of the accordion item.
82
+ */
83
+ toggle(): void;
84
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionItemComponent, never>;
85
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffAccordionItemComponent, "daff-accordion-item", never, {
86
+ "itemId": {
87
+ "alias": "itemId";
88
+ "required": false;
89
+ "isSignal": true;
90
+ };
91
+ "contentId": {
92
+ "alias": "contentId";
93
+ "required": false;
94
+ "isSignal": true;
95
+ };
96
+ "initiallyExpanded": {
97
+ "alias": "initiallyExpanded";
98
+ "required": false;
99
+ "isSignal": true;
100
+ };
101
+ }, {}, never, ["[daffAccordionItemTitle]", "*"], true, [{
102
+ directive: typeof i1$1.DaffOpenableDirective;
103
+ inputs: {};
104
+ outputs: {
105
+ "toggled": "toggled";
106
+ };
107
+ }, {
108
+ directive: typeof i1$1.DaffDisableableDirective;
109
+ inputs: {
110
+ "disabled": "disabled";
111
+ };
112
+ outputs: {};
113
+ }]>;
84
114
  }
85
-
86
115
  /**
87
116
  * Used to provide a high level overview of the panel content. It should be wrapped by a `<daff-accordion-item>`.
88
117
  *
@@ -91,25 +120,21 @@ declare class DaffAccordionItemComponent implements OnInit, DaffOpenable, DaffDi
91
120
  * <div daffAccordionItemTitle>Title</div>
92
121
  * ```
93
122
  */
94
- declare class DaffAccordionItemTitleDirective {
95
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionItemTitleDirective, never>;
96
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffAccordionItemTitleDirective, "[daffAccordionItemTitle]", never, {}, {}, never, never, true, never>;
123
+ export declare class DaffAccordionItemTitleDirective {
124
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionItemTitleDirective, never>;
125
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffAccordionItemTitleDirective, "[daffAccordionItemTitle]", never, {}, {}, never, never, true, never>;
97
126
  }
98
-
99
127
  /**
100
128
  * @deprecated in favor of {@link DAFF_ACCORDION_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
101
129
  */
102
- declare class DaffAccordionModule {
103
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionModule, never>;
104
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffAccordionModule, never, [typeof i1$1.CommonModule, typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective], [typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective]>;
105
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffAccordionModule>;
130
+ export declare class DaffAccordionModule {
131
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffAccordionModule, never>;
132
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffAccordionModule, never, [typeof i1.CommonModule, typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective], [typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective]>;
133
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffAccordionModule>;
106
134
  }
107
-
108
135
  /**
109
136
  * @docs-private
110
137
  *
111
138
  * `DAFF_ACCORDION_COMPONENTS` imports all the available components and directives related to the component.
112
139
  */
113
- declare const DAFF_ACCORDION_COMPONENTS: readonly [typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective];
114
-
115
- export { DAFF_ACCORDION_COMPONENTS, DaffAccordionComponent, DaffAccordionItemComponent, DaffAccordionItemTitleDirective, DaffAccordionModule };
140
+ export declare const DAFF_ACCORDION_COMPONENTS: readonly [typeof DaffAccordionComponent, typeof DaffAccordionItemComponent, typeof DaffAccordionItemTitleDirective];
@@ -1,72 +1,65 @@
1
- import * as i0 from '@angular/core';
2
- import { ViewContainerRef } from '@angular/core';
3
- import * as i1 from '@angular/common';
4
-
1
+ import * as i0 from "@angular/core";
2
+ import { ViewContainerRef } from "@angular/core";
3
+ import * as i1 from "@angular/common";
5
4
  declare class DaffArticleCopyButtonService {
6
- private buttons;
7
- /**
8
- * Finds all code blocks and adds copy buttons to them.
9
- * Skips code blocks with the `nocopy` attribute.
10
- * @param hostElement - The host element to search for code blocks.
11
- * @param viewContainerRef - The view container to create the copy button components.
12
- */
13
- addCopyButtonsToCodeBlocks(hostElement: HTMLElement, viewContainerRef: ViewContainerRef): void;
14
- /**
15
- * Cleanup copy button references
16
- */
17
- cleanup(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleCopyButtonService, never>;
19
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffArticleCopyButtonService>;
5
+ private buttons;
6
+ /**
7
+ * Finds all code blocks and adds copy buttons to them.
8
+ * Skips code blocks with the `nocopy` attribute.
9
+ * @param hostElement - The host element to search for code blocks.
10
+ * @param viewContainerRef - The view container to create the copy button components.
11
+ */
12
+ addCopyButtonsToCodeBlocks(hostElement: HTMLElement, viewContainerRef: ViewContainerRef): void;
13
+ /**
14
+ * Cleanup copy button references
15
+ */
16
+ cleanup(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleCopyButtonService, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
20
19
  }
21
-
22
20
  declare class DaffArticleHeadingLinkService {
23
- private links;
24
- /**
25
- * Finds all h2, h3, and h4 elements and wraps their text content with heading link components.
26
- * @param hostElement - The host element to search for heading elements.
27
- * @param viewContainerRef - The view container to create the heading link components.
28
- */
29
- addLinksToHeadings(hostElement: HTMLElement, viewContainerRef: ViewContainerRef): void;
30
- /**
31
- * Cleanup heading link references
32
- */
33
- cleanup(): void;
34
- /**
35
- * Generates a URL-friendly fragment from heading text
36
- */
37
- private generateFragment;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleHeadingLinkService, never>;
39
- static ɵprov: i0.ɵɵInjectableDeclaration<DaffArticleHeadingLinkService>;
21
+ private links;
22
+ /**
23
+ * Finds all h2, h3, and h4 elements and wraps their text content with heading link components.
24
+ * @param hostElement - The host element to search for heading elements.
25
+ * @param viewContainerRef - The view container to create the heading link components.
26
+ */
27
+ addLinksToHeadings(hostElement: HTMLElement, viewContainerRef: ViewContainerRef): void;
28
+ /**
29
+ * Cleanup heading link references
30
+ */
31
+ cleanup(): void;
32
+ /**
33
+ * Generates a URL-friendly fragment from heading text
34
+ */
35
+ private generateFragment;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleHeadingLinkService, never>;
37
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
40
38
  }
41
-
42
39
  /**
43
40
  * A component for creating articles within your page.
44
41
  */
45
- declare class DaffArticleComponent {
46
- private copyButtonService;
47
- private headingLinkService;
48
- constructor(copyButtonService: DaffArticleCopyButtonService, headingLinkService: DaffArticleHeadingLinkService);
49
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleComponent, never>;
50
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffArticleComponent, "daff-article", never, {}, {}, never, ["*"], true, never>;
42
+ export declare class DaffArticleComponent {
43
+ private copyButtonService;
44
+ private headingLinkService;
45
+ constructor(copyButtonService: DaffArticleCopyButtonService, headingLinkService: DaffArticleHeadingLinkService);
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffArticleComponent, "daff-article", never, {}, {}, never, ["*"], true, never>;
51
48
  }
52
-
53
- declare class DaffArticleMetaDirective {
54
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleMetaDirective, never>;
55
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffArticleMetaDirective, "[daffArticleMeta]", never, {}, {}, never, never, true, never>;
49
+ export declare class DaffArticleMetaDirective {
50
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleMetaDirective, never>;
51
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffArticleMetaDirective, "[daffArticleMeta]", never, {}, {}, never, never, true, never>;
56
52
  }
57
-
58
53
  /**
59
54
  * @deprecated in favor of {@link DAFF_ARTICLE_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
60
55
  */
61
- declare class DaffArticleModule {
62
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleModule, never>;
63
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffArticleModule, never, [typeof i1.CommonModule, typeof DaffArticleComponent, typeof DaffArticleMetaDirective], [typeof DaffArticleComponent, typeof DaffArticleMetaDirective]>;
64
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffArticleModule>;
56
+ export declare class DaffArticleModule {
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffArticleModule, never>;
58
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffArticleModule, never, [typeof i1.CommonModule, typeof DaffArticleComponent, typeof DaffArticleMetaDirective], [typeof DaffArticleComponent, typeof DaffArticleMetaDirective]>;
59
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffArticleModule>;
65
60
  }
66
-
67
61
  /**
68
62
  * @docs-private
69
63
  */
70
- declare const DAFF_ARTICLE_COMPONENTS: readonly [typeof DaffArticleComponent, typeof DaffArticleMetaDirective];
71
-
72
- export { DAFF_ARTICLE_COMPONENTS, DaffArticleComponent, DaffArticleMetaDirective, DaffArticleModule };
64
+ export declare const DAFF_ARTICLE_COMPONENTS: readonly [typeof DaffArticleComponent, typeof DaffArticleMetaDirective];
65
+ export {};
@@ -1,7 +1,6 @@
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
-
1
+ import * as i1 from "@daffodil/design";
2
+ import { DaffColorableDirective, DaffPrefixDirective, DaffSizableDirective, DaffSizeLargeType, DaffSizeMediumType, DaffSizeSmallType } from "@daffodil/design";
3
+ import * as i0 from "@angular/core";
5
4
  /**
6
5
  * The visual style of a badge.
7
6
  *
@@ -10,23 +9,21 @@ import { DaffSizableDirective, DaffSizeSmallType, DaffSizeMediumType, DaffSizeLa
10
9
  */
11
10
  type DaffBadgeAppearance = 'filled' | 'outlined';
12
11
  declare enum DaffBadgeAppearanceEnum {
13
- Filled = "filled",
14
- Outlined = "outlined"
12
+ Filled = "filled",
13
+ Outlined = "outlined"
15
14
  }
16
-
17
15
  /**
18
16
  * The size types that the DaffBadgeComponent can implement.
19
17
  */
20
18
  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>;
19
+ export declare class DaffBadgeSizableDirective extends DaffSizableDirective<DaffBadgeSize> {
20
+ /**
21
+ * @docs-private
22
+ */
23
+ defaultSize: DaffBadgeSize;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffBadgeSizableDirective, never>;
25
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffBadgeSizableDirective, never, never, {}, {}, never, never, true, never>;
28
26
  }
29
-
30
27
  /**
31
28
  * DaffBadgeComponent is a compact visual label or indicator used to
32
29
  * convey status or display short pieces of information.
@@ -39,25 +36,51 @@ declare class DaffBadgeSizableDirective extends DaffSizableDirective<DaffBadgeSi
39
36
  * </daff-badge>
40
37
  * ```
41
38
  */
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: {}; }]>;
39
+ export declare class DaffBadgeComponent {
40
+ private sizableDirective;
41
+ private colorableDirective;
42
+ /**
43
+ * @docs-private
44
+ */
45
+ _prefix: import("@angular/core").Signal<DaffPrefixDirective>;
46
+ /**
47
+ * The visual style of the badge. Defaults to `filled`.
48
+ */
49
+ appearance: import("@angular/core").InputSignalWithTransform<DaffBadgeAppearance | DaffBadgeAppearanceEnum.Filled, "" | DaffBadgeAppearance>;
50
+ constructor(sizableDirective: DaffBadgeSizableDirective, colorableDirective: DaffColorableDirective);
51
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffBadgeComponent, never>;
52
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffBadgeComponent, "daff-badge", never, {
53
+ "appearance": {
54
+ "alias": "appearance";
55
+ "required": false;
56
+ "isSignal": true;
57
+ };
58
+ }, {}, ["_prefix"], ["[daffPrefix]", "*"], true, [{
59
+ directive: typeof i1.DaffArticleEncapsulatedDirective;
60
+ inputs: {};
61
+ outputs: {};
62
+ }, {
63
+ directive: typeof i1.DaffColorableDirective;
64
+ inputs: {
65
+ "color": "color";
66
+ };
67
+ outputs: {};
68
+ }, {
69
+ directive: typeof i1.DaffStatusableDirective;
70
+ inputs: {
71
+ "status": "status";
72
+ };
73
+ outputs: {};
74
+ }, {
75
+ directive: typeof DaffBadgeSizableDirective;
76
+ inputs: {
77
+ "size": "size";
78
+ };
79
+ outputs: {};
80
+ }]>;
56
81
  }
57
-
58
82
  /**
59
83
  * @docs-private
60
84
  */
61
- declare const DAFF_BADGE_COMPONENTS: readonly [typeof DaffBadgeComponent, typeof DaffPrefixDirective];
62
-
63
- export { DAFF_BADGE_COMPONENTS, DaffBadgeComponent, DaffBadgeSizableDirective };
85
+ export declare const DAFF_BADGE_COMPONENTS: readonly [typeof DaffBadgeComponent, typeof DaffPrefixDirective];
86
+ export {};
@@ -1,6 +1,5 @@
1
- import * as i0 from '@angular/core';
2
- import * as i1 from '@daffodil/design';
3
-
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@daffodil/design";
4
3
  /**
5
4
  * The cadence of the beacon ring, e.g. how long one expand-and-fade cycle takes.
6
5
  *
@@ -9,18 +8,40 @@ import * as i1 from '@daffodil/design';
9
8
  * - `fast` - an urgent 1.2s cycle.
10
9
  */
11
10
  type DaffBeaconSpeed = 'slow' | 'normal' | 'fast';
12
-
13
11
  /**
14
12
  * DaffBeaconComponent is a small indicator that draws visual attention to a specific location or element.
15
13
  */
16
- declare class DaffBeaconComponent {
17
- /**
18
- * How fast the beacon pulses.
19
- */
20
- speed: i0.InputSignal<DaffBeaconSpeed>;
21
- constructor();
22
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffBeaconComponent, never>;
23
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffBeaconComponent, "daff-beacon", never, { "speed": { "alias": "speed"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }, { directive: typeof i1.DaffStatusableDirective; inputs: { "status": "status"; }; outputs: {}; }, { directive: typeof i1.DaffSizableDirective; inputs: { "size": "size"; }; outputs: {}; }]>;
14
+ export declare class DaffBeaconComponent {
15
+ /**
16
+ * How fast the beacon pulses.
17
+ */
18
+ speed: import("@angular/core").InputSignal<DaffBeaconSpeed>;
19
+ constructor();
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffBeaconComponent, never>;
21
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffBeaconComponent, "daff-beacon", never, {
22
+ "speed": {
23
+ "alias": "speed";
24
+ "required": false;
25
+ "isSignal": true;
26
+ };
27
+ }, {}, never, ["*"], true, [{
28
+ directive: typeof i1.DaffColorableDirective;
29
+ inputs: {
30
+ "color": "color";
31
+ };
32
+ outputs: {};
33
+ }, {
34
+ directive: typeof i1.DaffStatusableDirective;
35
+ inputs: {
36
+ "status": "status";
37
+ };
38
+ outputs: {};
39
+ }, {
40
+ directive: typeof i1.DaffSizableDirective;
41
+ inputs: {
42
+ "size": "size";
43
+ };
44
+ outputs: {};
45
+ }]>;
24
46
  }
25
-
26
- export { DaffBeaconComponent };
47
+ export {};