@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,8 +1,7 @@
1
- import * as i0 from '@angular/core';
2
- import * as i1$1 from '@angular/common';
3
- import * as i1 from '@daffodil/design';
4
- import { DaffTextAlignableDirective } from '@daffodil/design';
5
-
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i1$1 from "@daffodil/design";
4
+ import { DaffTextAlignableDirective } from "@daffodil/design";
6
5
  /**
7
6
  * Hero is a top level container designed to be large and captivating.
8
7
  * It should be used only once per page, typically as the first component
@@ -24,13 +23,38 @@ import { DaffTextAlignableDirective } from '@daffodil/design';
24
23
  * </daff-hero>
25
24
  * ```
26
25
  */
27
- declare class DaffHeroComponent {
28
- private textAlignable;
29
- constructor(textAlignable: DaffTextAlignableDirective);
30
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroComponent, never>;
31
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffHeroComponent, "daff-hero", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffManageContainerLayoutDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffTextAlignableDirective; inputs: { "textAlignment": "textAlignment"; }; outputs: {}; }, { directive: typeof i1.DaffCompactableDirective; inputs: { "compact": "compact"; }; outputs: {}; }, { directive: typeof i1.DaffColorableDirective; inputs: { "color": "color"; }; outputs: {}; }]>;
26
+ export declare class DaffHeroComponent {
27
+ private textAlignable;
28
+ constructor(textAlignable: DaffTextAlignableDirective);
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffHeroComponent, "daff-hero", never, {}, {}, never, ["*"], true, [{
31
+ directive: typeof i1$1.DaffArticleEncapsulatedDirective;
32
+ inputs: {};
33
+ outputs: {};
34
+ }, {
35
+ directive: typeof i1$1.DaffManageContainerLayoutDirective;
36
+ inputs: {};
37
+ outputs: {};
38
+ }, {
39
+ directive: typeof i1$1.DaffTextAlignableDirective;
40
+ inputs: {
41
+ "textAlignment": "textAlignment";
42
+ };
43
+ outputs: {};
44
+ }, {
45
+ directive: typeof i1$1.DaffCompactableDirective;
46
+ inputs: {
47
+ "compact": "compact";
48
+ };
49
+ outputs: {};
50
+ }, {
51
+ directive: typeof i1$1.DaffColorableDirective;
52
+ inputs: {
53
+ "color": "color";
54
+ };
55
+ outputs: {};
56
+ }]>;
32
57
  }
33
-
34
58
  /**
35
59
  * Icon is used to display a visual or branding element. Avoid using this for interactive or actionable icons.
36
60
  *
@@ -41,11 +65,10 @@ declare class DaffHeroComponent {
41
65
  </div>
42
66
  * ```
43
67
  */
44
- declare class DaffHeroIconDirective {
45
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroIconDirective, never>;
46
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffHeroIconDirective, "[daffHeroIcon]", never, {}, {}, never, never, true, never>;
68
+ export declare class DaffHeroIconDirective {
69
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroIconDirective, never>;
70
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffHeroIconDirective, "[daffHeroIcon]", never, {}, {}, never, never, true, never>;
47
71
  }
48
-
49
72
  /**
50
73
  * Tagline is a short, memorable phrase that complements the title and provides quick context.
51
74
  *
@@ -54,11 +77,10 @@ declare class DaffHeroIconDirective {
54
77
  * <div daffHeroTagline>Limited Time Offer</div>
55
78
  * ```
56
79
  */
57
- declare class DaffHeroTaglineDirective {
58
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroTaglineDirective, never>;
59
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffHeroTaglineDirective, "[daffHeroTagline]", never, {}, {}, never, never, true, never>;
80
+ export declare class DaffHeroTaglineDirective {
81
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroTaglineDirective, never>;
82
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffHeroTaglineDirective, "[daffHeroTagline]", never, {}, {}, never, never, true, never>;
60
83
  }
61
-
62
84
  /**
63
85
  * Title is the primary heading for the hero.
64
86
  *
@@ -67,11 +89,10 @@ declare class DaffHeroTaglineDirective {
67
89
  * <h1 daffHeroTitle>Summer Collection Sale</h1>
68
90
  * ```
69
91
  */
70
- declare class DaffHeroTitleDirective {
71
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroTitleDirective, never>;
72
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffHeroTitleDirective, "[daffHeroTitle]", never, {}, {}, never, never, true, never>;
92
+ export declare class DaffHeroTitleDirective {
93
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroTitleDirective, never>;
94
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffHeroTitleDirective, "[daffHeroTitle]", never, {}, {}, never, never, true, never>;
73
95
  }
74
-
75
96
  /**
76
97
  * Subtitle is a secondary descriptive text displayed beneath the title.
77
98
  *
@@ -80,11 +101,10 @@ declare class DaffHeroTitleDirective {
80
101
  * <p daffHeroSubtitle>Up to 50% off select items through July 31</p>
81
102
  * ```
82
103
  */
83
- declare class DaffHeroSubtitleDirective {
84
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroSubtitleDirective, never>;
85
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffHeroSubtitleDirective, "[daffHeroSubtitle]", never, {}, {}, never, never, true, never>;
104
+ export declare class DaffHeroSubtitleDirective {
105
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroSubtitleDirective, never>;
106
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffHeroSubtitleDirective, "[daffHeroSubtitle]", never, {}, {}, never, never, true, never>;
86
107
  }
87
-
88
108
  /**
89
109
  * Body is a flexible wrapper for additional components or custom layouts.
90
110
  * It's unstyled except for spacing, allowing for a ton of control and customization.
@@ -95,23 +115,19 @@ declare class DaffHeroSubtitleDirective {
95
115
  * <div daffHeroBody>Custom content</div>
96
116
  * ```
97
117
  */
98
- declare class DaffHeroBodyDirective {
99
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroBodyDirective, never>;
100
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffHeroBodyDirective, "[daffHeroBody]", never, {}, {}, never, never, true, never>;
118
+ export declare class DaffHeroBodyDirective {
119
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroBodyDirective, never>;
120
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffHeroBodyDirective, "[daffHeroBody]", never, {}, {}, never, never, true, never>;
101
121
  }
102
-
103
122
  /**
104
123
  * @deprecated in favor of {@link DAFF_HERO_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
105
124
  * */
106
- declare class DaffHeroModule {
107
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroModule, never>;
108
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffHeroModule, never, [typeof i1$1.CommonModule, typeof DaffHeroComponent, typeof DaffHeroIconDirective, typeof DaffHeroTaglineDirective, typeof DaffHeroTitleDirective, typeof DaffHeroSubtitleDirective, typeof DaffHeroBodyDirective], [typeof DaffHeroComponent, typeof DaffHeroIconDirective, typeof DaffHeroTaglineDirective, typeof DaffHeroTitleDirective, typeof DaffHeroSubtitleDirective, typeof DaffHeroBodyDirective]>;
109
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffHeroModule>;
125
+ export declare class DaffHeroModule {
126
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffHeroModule, never>;
127
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffHeroModule, never, [typeof i1.CommonModule, typeof DaffHeroComponent, typeof DaffHeroIconDirective, typeof DaffHeroTaglineDirective, typeof DaffHeroTitleDirective, typeof DaffHeroSubtitleDirective, typeof DaffHeroBodyDirective], [typeof DaffHeroComponent, typeof DaffHeroIconDirective, typeof DaffHeroTaglineDirective, typeof DaffHeroTitleDirective, typeof DaffHeroSubtitleDirective, typeof DaffHeroBodyDirective]>;
128
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffHeroModule>;
110
129
  }
111
-
112
130
  /**
113
131
  * @docs-private
114
132
  */
115
- declare const DAFF_HERO_COMPONENTS: readonly [typeof DaffHeroComponent, typeof DaffHeroIconDirective, typeof DaffHeroTaglineDirective, typeof DaffHeroTitleDirective, typeof DaffHeroSubtitleDirective, typeof DaffHeroBodyDirective];
116
-
117
- export { DAFF_HERO_COMPONENTS, DaffHeroBodyDirective, DaffHeroComponent, DaffHeroIconDirective, DaffHeroModule, DaffHeroSubtitleDirective, DaffHeroTaglineDirective, DaffHeroTitleDirective };
133
+ export declare const DAFF_HERO_COMPONENTS: readonly [typeof DaffHeroComponent, typeof DaffHeroIconDirective, typeof DaffHeroTaglineDirective, typeof DaffHeroTitleDirective, typeof DaffHeroSubtitleDirective, typeof DaffHeroBodyDirective];
@@ -0,0 +1,17 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@daffodil/design";
3
+ import { NgOptimizedImage } from "@angular/common";
4
+ export declare class DaffImageLiteComponent {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageLiteComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffImageLiteComponent, "img[daff-image]", never, {}, {}, never, ["*"], true, [{
7
+ directive: typeof i1.DaffSkeletonableDirective;
8
+ inputs: {
9
+ "skeleton": "skeleton";
10
+ };
11
+ outputs: {};
12
+ }]>;
13
+ }
14
+ /**
15
+ * @docs-private
16
+ */
17
+ export declare const DAFF_IMAGE_LITE_COMPONENTS: readonly [typeof DaffImageLiteComponent, typeof NgOptimizedImage];
@@ -1,62 +1,96 @@
1
- import * as _angular_core from '@angular/core';
2
- import * as i1$1 from '@angular/common';
3
- import { DomSanitizer, SafeStyle } from '@angular/platform-browser';
4
- import * as i1 from '@daffodil/design';
5
-
6
- declare class DaffImageComponent {
7
- private sanitizer;
8
- /**
9
- * The URL of the image.
10
- */
11
- src: _angular_core.InputSignalWithTransform<string, string>;
12
- /**
13
- * The alternate text for the image.
14
- */
15
- alt: _angular_core.InputSignalWithTransform<string, string>;
16
- /**
17
- * The width of the image.
18
- */
19
- width: _angular_core.InputSignalWithTransform<number, number>;
20
- /**
21
- * The height of the image.
22
- */
23
- height: _angular_core.InputSignalWithTransform<number, number>;
24
- /**
25
- * Whether the image should be treated as a priority image for loading.
26
- * Priority images are loaded eagerly and not lazy-loaded.
27
- */
28
- priority: _angular_core.InputSignal<boolean>;
29
- /**
30
- * Emits when the image has loaded.
31
- */
32
- loaded: _angular_core.OutputEmitterRef<void>;
33
- constructor(sanitizer: DomSanitizer);
34
- /**
35
- * @docs-private
36
- */
37
- _paddingTop: _angular_core.Signal<SafeStyle>;
38
- /**
39
- * @docs-private
40
- *
41
- * The aspect ratio of an image, based on the width and height set by the user.
42
- */
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: {}; }]>;
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import { DomSanitizer, SafeStyle } from "@angular/platform-browser";
4
+ import * as i1$1 from "@daffodil/design";
5
+ /**
6
+ * @deprecated in favor of {@link DaffImageLiteComponent}. Deprecated in version 0.95.0. Will be removed in version 0.98.0.
7
+ */
8
+ export declare class DaffImageComponent {
9
+ private sanitizer;
10
+ /**
11
+ * The URL of the image.
12
+ */
13
+ src: import("@angular/core").InputSignalWithTransform<string, string>;
14
+ /**
15
+ * The alternate text for the image.
16
+ */
17
+ alt: import("@angular/core").InputSignalWithTransform<string, string>;
18
+ /**
19
+ * The width of the image.
20
+ */
21
+ width: import("@angular/core").InputSignalWithTransform<number, number>;
22
+ /**
23
+ * The height of the image.
24
+ */
25
+ height: import("@angular/core").InputSignalWithTransform<number, number>;
26
+ /**
27
+ * Whether the image should be treated as a priority image for loading.
28
+ * Priority images are loaded eagerly and not lazy-loaded.
29
+ */
30
+ priority: import("@angular/core").InputSignal<boolean>;
31
+ /**
32
+ * Emits when the image has loaded.
33
+ */
34
+ loaded: import("@angular/core").OutputEmitterRef<void>;
35
+ constructor(sanitizer: DomSanitizer);
36
+ /**
37
+ * @docs-private
38
+ */
39
+ _paddingTop: import("@angular/core").Signal<SafeStyle>;
40
+ /**
41
+ * @docs-private
42
+ *
43
+ * The aspect ratio of an image, based on the width and height set by the user.
44
+ */
45
+ _aspectRatio: import("@angular/core").Signal<SafeStyle>;
46
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageComponent, never>;
47
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffImageComponent, "daff-image", never, {
48
+ "src": {
49
+ "alias": "src";
50
+ "required": true;
51
+ "isSignal": true;
52
+ };
53
+ "alt": {
54
+ "alias": "alt";
55
+ "required": true;
56
+ "isSignal": true;
57
+ };
58
+ "width": {
59
+ "alias": "width";
60
+ "required": true;
61
+ "isSignal": true;
62
+ };
63
+ "height": {
64
+ "alias": "height";
65
+ "required": true;
66
+ "isSignal": true;
67
+ };
68
+ "priority": {
69
+ "alias": "priority";
70
+ "required": false;
71
+ "isSignal": true;
72
+ };
73
+ }, {
74
+ "loaded": "loaded";
75
+ }, never, never, true, [{
76
+ directive: typeof i1$1.DaffSkeletonableDirective;
77
+ inputs: {
78
+ "skeleton": "skeleton";
79
+ };
80
+ outputs: {};
81
+ }]>;
46
82
  }
47
-
48
83
  /**
49
- * @deprecated in favor of {@link DAFF_IMAGE_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
84
+ * @deprecated in favor of {@link DAFF_IMAGE_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 0.98.0.
50
85
  * */
51
- declare class 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>;
86
+ export declare class DaffImageModule {
87
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffImageModule, never>;
88
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffImageModule, never, [typeof i1.CommonModule, typeof DaffImageComponent], [typeof DaffImageComponent]>;
89
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffImageModule>;
55
90
  }
56
-
57
91
  /**
58
92
  * @docs-private
93
+ *
94
+ * @deprecated in favor of {@link DAFF_IMAGE_LITE_COMPONENTS}. Deprecated in version 0.95.0. Will be removed in version 0.98.0.
59
95
  */
60
- declare const DAFF_IMAGE_COMPONENTS: readonly [typeof DaffImageComponent];
61
-
62
- export { DAFF_IMAGE_COMPONENTS, DaffImageComponent, DaffImageModule };
96
+ export declare const DAFF_IMAGE_COMPONENTS: readonly [typeof DaffImageComponent];
@@ -1,79 +1,93 @@
1
- import * as i0 from '@angular/core';
2
- import { OnInit, ElementRef } from '@angular/core';
3
- import { NgControl } from '@angular/forms';
4
- import { DaffFormFieldControl, DaffFormFieldComponent } from '@daffodil/design/form-field';
5
-
1
+ import * as i0 from "@angular/core";
2
+ import { ElementRef, OnInit } from "@angular/core";
3
+ import { NgControl } from "@angular/forms";
4
+ import { DaffFormFieldComponent, DaffFormFieldControl, DaffFormFieldControlTypesEnum } from "@daffodil/design/form-field";
6
5
  /**
7
6
  * DaffInputComponent provides the same functionality as a native `<input>` and contains custom styling and functionality.
8
7
  */
9
- declare class DaffInputComponent extends DaffFormFieldControl<string> implements DaffFormFieldControl<string>, OnInit {
10
- /** @docs-private */
11
- ngControl: NgControl;
12
- private _elementRef;
13
- private formField;
14
- /** @docs-private */
15
- controlType: string;
16
- /**
17
- * @docs-private
18
- *
19
- * Implemented as part of DaffFormFieldControl.
20
- */
21
- focused: boolean;
22
- /**
23
- * @docs-private
24
- */
25
- get _id(): string;
26
- /**
27
- * @docs-private
28
- *
29
- * Implemented as part of DaffFormFieldControl.
30
- */
31
- disabled: boolean;
32
- /**
33
- * @docs-private
34
- */
35
- get disabledAttribute(): boolean;
36
- private _required;
37
- /**
38
- * @docs-private
39
- *
40
- * Implemented as part of DaffFormFieldControl.
41
- */
42
- get required(): boolean;
43
- set required(value: boolean);
44
- /**
45
- * @docs-private
46
- */
47
- get requiredAttribute(): true;
48
- /**
49
- * @docs-private
50
- */
51
- get ariaDescribedBy(): string;
52
- focus(): void;
53
- /** @docs-private */
54
- _handleFocus(): void;
55
- /** @docs-private */
56
- _handleBlur(): void;
57
- constructor(
58
- /** @docs-private */
59
- ngControl: NgControl, _elementRef: ElementRef<HTMLInputElement>, formField: DaffFormFieldComponent);
60
- /** @docs-private */
61
- ngOnInit(): void;
62
- /** @docs-private */
63
- get value(): string;
64
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInputComponent, [{ optional: true; self: true; }, null, { optional: true; }]>;
65
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffInputComponent, "input[daff-input]", never, { "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; }, {}, never, ["*"], true, never>;
66
- static ngAcceptInputType_disabled: unknown;
67
- static ngAcceptInputType_required: unknown;
8
+ export declare class DaffInputComponent extends DaffFormFieldControl<string> implements DaffFormFieldControl<string>, OnInit {
9
+ /** @docs-private */
10
+ ngControl: NgControl;
11
+ private _elementRef;
12
+ private formField;
13
+ /**
14
+ * @docs-private
15
+ *
16
+ * Implemented as part of DaffFormFieldControl.
17
+ */
18
+ controlType: DaffFormFieldControlTypesEnum;
19
+ /**
20
+ * @docs-private
21
+ *
22
+ * Implemented as part of DaffFormFieldControl.
23
+ */
24
+ focused: boolean;
25
+ /**
26
+ * @docs-private
27
+ */
28
+ get _id(): string;
29
+ /**
30
+ * @docs-private
31
+ *
32
+ * Implemented as part of DaffFormFieldControl.
33
+ */
34
+ disabled: boolean;
35
+ /**
36
+ * @docs-private
37
+ */
38
+ get disabledAttribute(): boolean;
39
+ private _required;
40
+ /**
41
+ * @docs-private
42
+ *
43
+ * Implemented as part of DaffFormFieldControl.
44
+ */
45
+ get required(): boolean;
46
+ set required(value: boolean);
47
+ /**
48
+ * @docs-private
49
+ */
50
+ get requiredAttribute(): true;
51
+ /**
52
+ * @docs-private
53
+ */
54
+ get ariaDescribedBy(): string;
55
+ focus(): void;
56
+ /** @docs-private */
57
+ _handleFocus(): void;
58
+ /** @docs-private */
59
+ _handleBlur(): void;
60
+ constructor(
61
+ /** @docs-private */
62
+ ngControl: NgControl, _elementRef: ElementRef<HTMLInputElement>, formField: DaffFormFieldComponent);
63
+ /** @docs-private */
64
+ ngOnInit(): void;
65
+ /** @docs-private */
66
+ get value(): string;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInputComponent, [{
68
+ optional: true;
69
+ self: true;
70
+ }, null, {
71
+ optional: true;
72
+ }]>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffInputComponent, "input[daff-input]", never, {
74
+ "disabled": {
75
+ "alias": "disabled";
76
+ "required": false;
77
+ };
78
+ "required": {
79
+ "alias": "required";
80
+ "required": false;
81
+ };
82
+ }, {}, never, ["*"], true, never>;
83
+ static ngAcceptInputType_disabled: unknown;
84
+ static ngAcceptInputType_required: unknown;
68
85
  }
69
-
70
86
  /**
71
87
  * @deprecated in favor of standalone components. Deprecated in version 0.84.0. Will be removed in version 1.0.0.
72
88
  */
73
- declare class DaffInputModule {
74
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffInputModule, never>;
75
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffInputModule, never, [typeof DaffInputComponent], [typeof DaffInputComponent]>;
76
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffInputModule>;
77
- }
78
-
79
- export { DaffInputComponent, DaffInputModule };
89
+ export declare class DaffInputModule {
90
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffInputModule, never>;
91
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffInputModule, never, [typeof DaffInputComponent], [typeof DaffInputComponent]>;
92
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffInputModule>;
93
+ }
@@ -1,9 +1,8 @@
1
- import * as i0 from '@angular/core';
2
- import { ElementRef } from '@angular/core';
3
- import * as i1$1 from '@angular/common';
4
- import * as i1 from '@daffodil/design';
5
- import { DaffPrefixDirective } from '@daffodil/design';
6
-
1
+ import * as i0 from "@angular/core";
2
+ import { ElementRef } from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i1$1 from "@daffodil/design";
5
+ import { DaffPrefixDirective } from "@daffodil/design";
7
6
  /**
8
7
  * A standard list used for grouping generic content.
9
8
  *
@@ -15,11 +14,14 @@ import { DaffPrefixDirective } from '@daffodil/design';
15
14
  * </daff-list>
16
15
  * ```
17
16
  */
18
- declare class DaffListComponent {
19
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffListComponent, never>;
20
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffListComponent, "daff-list", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }]>;
17
+ export declare class DaffListComponent {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffListComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffListComponent, "daff-list", never, {}, {}, never, ["*"], true, [{
20
+ directive: typeof i1$1.DaffArticleEncapsulatedDirective;
21
+ inputs: {};
22
+ outputs: {};
23
+ }]>;
21
24
  }
22
-
23
25
  /**
24
26
  * A navigation list intended for use with anchor elements (`<a>`).
25
27
  *
@@ -31,11 +33,14 @@ declare class DaffListComponent {
31
33
  * </daff-nav-list>
32
34
  * ```
33
35
  */
34
- declare class DaffNavListComponent {
35
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffNavListComponent, never>;
36
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffNavListComponent, "daff-nav-list", never, {}, {}, never, ["*"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }]>;
36
+ export declare class DaffNavListComponent {
37
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffNavListComponent, never>;
38
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffNavListComponent, "daff-nav-list", never, {}, {}, never, ["*"], true, [{
39
+ directive: typeof i1$1.DaffArticleEncapsulatedDirective;
40
+ inputs: {};
41
+ outputs: {};
42
+ }]>;
37
43
  }
38
-
39
44
  /**
40
45
  * Individual items within a list.
41
46
  *
@@ -45,32 +50,36 @@ declare class DaffNavListComponent {
45
50
  * <a href="/" daff-list-item> Linked list item</a>
46
51
  * ```
47
52
  */
48
- declare class DaffListItemComponent {
49
- private elementRef;
50
- /** Whether an item in a `<daff-nav-list>` is the currently active item. */
51
- active: i0.InputSignal<boolean>;
52
- /**
53
- * @docs-private
54
- */
55
- _prefix: i0.Signal<DaffPrefixDirective>;
56
- constructor(elementRef: ElementRef);
57
- /**
58
- * @docs-private
59
- */
60
- get _isAnchor(): boolean;
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; "isSignal": true; }; }, {}, ["_prefix"], ["[daffPrefix]", "*"], true, never>;
53
+ export declare class DaffListItemComponent {
54
+ private elementRef;
55
+ /** Whether an item in a `<daff-nav-list>` is the currently active item. */
56
+ active: import("@angular/core").InputSignal<boolean>;
57
+ /**
58
+ * @docs-private
59
+ */
60
+ _prefix: import("@angular/core").Signal<DaffPrefixDirective>;
61
+ constructor(elementRef: ElementRef);
62
+ /**
63
+ * @docs-private
64
+ */
65
+ get _isAnchor(): boolean;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffListItemComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffListItemComponent, "daff-list-item,a[daff-list-item]", never, {
68
+ "active": {
69
+ "alias": "active";
70
+ "required": false;
71
+ "isSignal": true;
72
+ };
73
+ }, {}, ["_prefix"], ["[daffPrefix]", "*"], true, never>;
63
74
  }
64
-
65
75
  /**
66
76
  * @deprecated in favor of {@link DAFF_LIST_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
67
77
  */
68
- declare class DaffListModule {
69
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffListModule, never>;
70
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffListModule, never, [typeof i1$1.CommonModule, typeof DaffListComponent, typeof DaffNavListComponent, typeof DaffListItemComponent], [typeof DaffListComponent, typeof DaffNavListComponent, typeof DaffListItemComponent, typeof i1.DaffPrefixSuffixModule]>;
71
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffListModule>;
78
+ export declare class DaffListModule {
79
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffListModule, never>;
80
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffListModule, never, [typeof i1.CommonModule, typeof DaffListComponent, typeof DaffNavListComponent, typeof DaffListItemComponent], [typeof DaffListComponent, typeof DaffNavListComponent, typeof DaffListItemComponent, typeof i1$1.DaffPrefixSuffixModule]>;
81
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffListModule>;
72
82
  }
73
-
74
83
  /**
75
84
  * Used to identify the primary title of a list item within a multi-line list.
76
85
  *
@@ -79,18 +88,15 @@ declare class DaffListModule {
79
88
  * <div daffListItemTitle>Title</div>
80
89
  * ```
81
90
  */
82
- declare class DaffListItemTitleDirective {
83
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffListItemTitleDirective, never>;
84
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffListItemTitleDirective, "[daffListItemTitle]", never, {}, {}, never, never, true, never>;
91
+ export declare class DaffListItemTitleDirective {
92
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffListItemTitleDirective, never>;
93
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffListItemTitleDirective, "[daffListItemTitle]", never, {}, {}, never, never, true, never>;
85
94
  }
86
-
87
95
  /**
88
96
  * @docs-private
89
97
  */
90
- declare const DAFF_LIST_COMPONENTS: readonly [typeof DaffListComponent, typeof DaffListItemComponent, typeof DaffListItemTitleDirective, typeof DaffPrefixDirective];
98
+ export declare const DAFF_LIST_COMPONENTS: readonly [typeof DaffListComponent, typeof DaffListItemComponent, typeof DaffListItemTitleDirective, typeof DaffPrefixDirective];
91
99
  /**
92
100
  * @docs-private
93
101
  */
94
- declare const DAFF_NAV_LIST_COMPONENTS: readonly [typeof DaffNavListComponent, typeof DaffListItemComponent, typeof DaffListItemTitleDirective, typeof DaffPrefixDirective];
95
-
96
- export { DAFF_LIST_COMPONENTS, DAFF_NAV_LIST_COMPONENTS, DaffListComponent, DaffListItemComponent, DaffListItemTitleDirective, DaffListModule, DaffNavListComponent };
102
+ export declare const DAFF_NAV_LIST_COMPONENTS: readonly [typeof DaffNavListComponent, typeof DaffListItemComponent, typeof DaffListItemTitleDirective, typeof DaffPrefixDirective];