@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,35 +1,45 @@
1
- import * as i0 from '@angular/core';
2
- import * as i1$1 from '@angular/common';
3
- import * as i1 from '@daffodil/design';
4
-
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i1$1 from "@daffodil/design";
5
4
  /**
6
5
  * Navbar is a flexible and extensible component that provides a container for navigation elements.
7
6
  */
8
- declare class DaffNavbarComponent {
9
- /**
10
- * Whether the navbar should have an elevated appearance with a shadow effect.
11
- */
12
- elevated: i0.InputSignal<boolean>;
13
- /**
14
- * Whether the navbar should have a blurred background effect.
15
- */
16
- blurred: i0.InputSignal<boolean>;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffNavbarComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffNavbarComponent, "nav[daff-navbar]", never, { "elevated": { "alias": "elevated"; "required": false; "isSignal": true; }; "blurred": { "alias": "blurred"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, [{ directive: typeof i1.DaffManageContainerLayoutDirective; inputs: {}; outputs: {}; }]>;
7
+ export declare class DaffNavbarComponent {
8
+ /**
9
+ * Whether the navbar should have an elevated appearance with a shadow effect.
10
+ */
11
+ elevated: import("@angular/core").InputSignal<boolean>;
12
+ /**
13
+ * Whether the navbar should have a blurred background effect.
14
+ */
15
+ blurred: import("@angular/core").InputSignal<boolean>;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffNavbarComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffNavbarComponent, "nav[daff-navbar]", never, {
18
+ "elevated": {
19
+ "alias": "elevated";
20
+ "required": false;
21
+ "isSignal": true;
22
+ };
23
+ "blurred": {
24
+ "alias": "blurred";
25
+ "required": false;
26
+ "isSignal": true;
27
+ };
28
+ }, {}, never, ["*"], true, [{
29
+ directive: typeof i1$1.DaffManageContainerLayoutDirective;
30
+ inputs: {};
31
+ outputs: {};
32
+ }]>;
19
33
  }
20
-
21
34
  /**
22
35
  * @deprecated in favor of {@link DAFF_NAVBAR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
23
36
  */
24
- declare class DaffNavbarModule {
25
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffNavbarModule, never>;
26
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffNavbarModule, never, [typeof i1$1.CommonModule, typeof DaffNavbarComponent], [typeof DaffNavbarComponent]>;
27
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffNavbarModule>;
37
+ export declare class DaffNavbarModule {
38
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffNavbarModule, never>;
39
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffNavbarModule, never, [typeof i1.CommonModule, typeof DaffNavbarComponent], [typeof DaffNavbarComponent]>;
40
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffNavbarModule>;
28
41
  }
29
-
30
42
  /**
31
43
  * @docs-private
32
44
  */
33
- declare const DAFF_NAVBAR_COMPONENTS: readonly [typeof DaffNavbarComponent];
34
-
35
- export { DAFF_NAVBAR_COMPONENTS, DaffNavbarComponent, DaffNavbarModule };
45
+ export declare const DAFF_NAVBAR_COMPONENTS: readonly [typeof DaffNavbarComponent];
@@ -1,10 +1,8 @@
1
- import * as i0 from '@angular/core';
2
- import * as i1$1 from '@angular/common';
3
- import * as i1 from '@daffodil/design';
4
- import { DaffPrefixDirective, DaffStatusableDirective, DaffOrientableDirective } from '@daffodil/design';
5
- import * as i3 from '@fortawesome/angular-fontawesome';
6
- import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
7
-
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i1$1 from "@daffodil/design";
4
+ import { DaffOrientableDirective, DaffPrefixDirective, DaffStatusableDirective } from "@daffodil/design";
5
+ import * as i3 from "@fortawesome/angular-fontawesome";
8
6
  /**
9
7
  * Actions is used to include actionable buttons related to the notification (e.g., dismiss, navigate).
10
8
  *
@@ -16,11 +14,10 @@ import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome
16
14
  * </div>
17
15
  * ```
18
16
  */
19
- declare class DaffNotificationActionsDirective {
20
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationActionsDirective, never>;
21
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationActionsDirective, "[daffNotificationActions]", never, {}, {}, never, never, true, never>;
17
+ export declare class DaffNotificationActionsDirective {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationActionsDirective, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationActionsDirective, "[daffNotificationActions]", never, {}, {}, never, never, true, never>;
22
20
  }
23
-
24
21
  /**
25
22
  * Notifications provide contextual feedback or information related to user actions within a page's content.
26
23
  *
@@ -39,47 +36,70 @@ declare class DaffNotificationActionsDirective {
39
36
  * </daff-notification>
40
37
  * ```
41
38
  */
42
- declare class DaffNotificationComponent {
43
- private statusDirective;
44
- private orientation;
45
- /**
46
- * @docs-private
47
- */
48
- faTimes: _fortawesome_fontawesome_common_types.IconDefinition;
49
- /**
50
- * @docs-private
51
- */
52
- _prefix: i0.Signal<DaffPrefixDirective>;
53
- /**
54
- * @docs-private
55
- */
56
- _actions: i0.Signal<DaffNotificationActionsDirective>;
57
- /**
58
- * @docs-private
59
- *
60
- * Sets role to alert when `status="warn"` or `status="critical"`.
61
- * Sets role to status on all other instances.
62
- */
63
- get role(): "status" | "alert";
64
- /** Whether the notification can be dismissed by the user.
65
- * Displays a close icon if `true`.
66
- */
67
- dismissible: i0.InputSignal<boolean>;
68
- constructor(statusDirective: DaffStatusableDirective, orientation: DaffOrientableDirective);
69
- /**
70
- * Emits when the notification is closed.
71
- */
72
- closeNotification: i0.OutputEmitterRef<void>;
73
- /**
74
- * @docs-private
75
- *
76
- * Internal handler for the close icon click.
77
- */
78
- onCloseNotification(event: Event): void;
79
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationComponent, never>;
80
- static ɵcmp: i0.ɵɵComponentDeclaration<DaffNotificationComponent, "daff-notification", never, { "dismissible": { "alias": "dismissible"; "required": false; "isSignal": true; }; }, { "closeNotification": "closeNotification"; }, ["_prefix", "_actions"], ["[daffPrefix]", "[daffNotificationTitle]", "[daffNotificationMessage]", "[daffNotificationActions]"], true, [{ directive: typeof i1.DaffArticleEncapsulatedDirective; inputs: {}; outputs: {}; }, { directive: typeof i1.DaffStatusableDirective; inputs: { "status": "status"; }; outputs: {}; }, { directive: typeof i1.DaffOrientableDirective; inputs: { "orientation": "orientation"; }; outputs: {}; }]>;
39
+ export declare class DaffNotificationComponent {
40
+ private statusDirective;
41
+ private orientation;
42
+ /**
43
+ * @docs-private
44
+ */
45
+ faTimes: import("@fortawesome/fontawesome-common-types").IconDefinition;
46
+ /**
47
+ * @docs-private
48
+ */
49
+ _prefix: import("@angular/core").Signal<DaffPrefixDirective>;
50
+ /**
51
+ * @docs-private
52
+ */
53
+ _actions: import("@angular/core").Signal<DaffNotificationActionsDirective>;
54
+ /**
55
+ * @docs-private
56
+ *
57
+ * Sets role to alert when `status="warn"` or `status="critical"`.
58
+ * Sets role to status on all other instances.
59
+ */
60
+ get role(): "status" | "alert";
61
+ /** Whether the notification can be dismissed by the user.
62
+ * Displays a close icon if `true`.
63
+ */
64
+ dismissible: import("@angular/core").InputSignal<boolean>;
65
+ constructor(statusDirective: DaffStatusableDirective, orientation: DaffOrientableDirective);
66
+ /**
67
+ * Emits when the notification is closed.
68
+ */
69
+ closeNotification: import("@angular/core").OutputEmitterRef<void>;
70
+ /**
71
+ * @docs-private
72
+ *
73
+ * Internal handler for the close icon click.
74
+ */
75
+ onCloseNotification(event: Event): void;
76
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationComponent, never>;
77
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffNotificationComponent, "daff-notification", never, {
78
+ "dismissible": {
79
+ "alias": "dismissible";
80
+ "required": false;
81
+ "isSignal": true;
82
+ };
83
+ }, {
84
+ "closeNotification": "closeNotification";
85
+ }, ["_prefix", "_actions"], ["[daffPrefix]", "[daffNotificationTitle]", "[daffNotificationMessage]", "[daffNotificationActions]"], true, [{
86
+ directive: typeof i1$1.DaffArticleEncapsulatedDirective;
87
+ inputs: {};
88
+ outputs: {};
89
+ }, {
90
+ directive: typeof i1$1.DaffStatusableDirective;
91
+ inputs: {
92
+ "status": "status";
93
+ };
94
+ outputs: {};
95
+ }, {
96
+ directive: typeof i1$1.DaffOrientableDirective;
97
+ inputs: {
98
+ "orientation": "orientation";
99
+ };
100
+ outputs: {};
101
+ }]>;
81
102
  }
82
-
83
103
  /**
84
104
  * Message provides additional details or supporting context that supplements
85
105
  * the notification title. Keep this brief—ideally one to two short sentences.
@@ -89,11 +109,10 @@ declare class DaffNotificationComponent {
89
109
  * <div daffNotificationMessage>We were unable to process your payment for order #12345. Please update your payment details and try again.</div>
90
110
  * ```
91
111
  */
92
- declare class DaffNotificationMessageDirective {
93
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationMessageDirective, never>;
94
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationMessageDirective, "[daffNotificationMessage]", never, {}, {}, never, never, true, never>;
112
+ export declare class DaffNotificationMessageDirective {
113
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationMessageDirective, never>;
114
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationMessageDirective, "[daffNotificationMessage]", never, {}, {}, never, never, true, never>;
95
115
  }
96
-
97
116
  /**
98
117
  * Title is the primary text summarizing the notification.
99
118
  *
@@ -102,23 +121,19 @@ declare class DaffNotificationMessageDirective {
102
121
  * <div daffNotificationTitle>Payment Failed</div>
103
122
  * ```
104
123
  */
105
- declare class DaffNotificationTitleDirective {
106
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationTitleDirective, never>;
107
- static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationTitleDirective, "[daffNotificationTitle]", never, {}, {}, never, never, true, never>;
124
+ export declare class DaffNotificationTitleDirective {
125
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationTitleDirective, never>;
126
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DaffNotificationTitleDirective, "[daffNotificationTitle]", never, {}, {}, never, never, true, never>;
108
127
  }
109
-
110
128
  /**
111
129
  * @deprecated in favor of {@link DAFF_NOTIFICATION_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
112
130
  */
113
- declare class DaffNotificationModule {
114
- static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationModule, never>;
115
- static ɵmod: i0.ɵɵNgModuleDeclaration<DaffNotificationModule, never, [typeof i1$1.CommonModule, typeof i1.DaffPrefixSuffixModule, typeof i3.FontAwesomeModule, typeof DaffNotificationComponent, typeof DaffNotificationActionsDirective, typeof DaffNotificationMessageDirective, typeof DaffNotificationTitleDirective], [typeof DaffNotificationComponent, typeof DaffNotificationActionsDirective, typeof DaffNotificationMessageDirective, typeof DaffNotificationTitleDirective, typeof i1.DaffPrefixSuffixModule]>;
116
- static ɵinj: i0.ɵɵInjectorDeclaration<DaffNotificationModule>;
131
+ export declare class DaffNotificationModule {
132
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffNotificationModule, never>;
133
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffNotificationModule, never, [typeof i1.CommonModule, typeof i1$1.DaffPrefixSuffixModule, typeof i3.FontAwesomeModule, typeof DaffNotificationComponent, typeof DaffNotificationActionsDirective, typeof DaffNotificationMessageDirective, typeof DaffNotificationTitleDirective], [typeof DaffNotificationComponent, typeof DaffNotificationActionsDirective, typeof DaffNotificationMessageDirective, typeof DaffNotificationTitleDirective, typeof i1$1.DaffPrefixSuffixModule]>;
134
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffNotificationModule>;
117
135
  }
118
-
119
136
  /**
120
137
  * @docs-private
121
138
  */
122
- declare const DAFF_NOTIFICATION_COMPONENTS: readonly [typeof DaffNotificationComponent, typeof DaffNotificationActionsDirective, typeof DaffNotificationMessageDirective, typeof DaffNotificationTitleDirective, typeof DaffPrefixDirective];
123
-
124
- export { DAFF_NOTIFICATION_COMPONENTS, DaffNotificationActionsDirective, DaffNotificationComponent, DaffNotificationMessageDirective, DaffNotificationModule, DaffNotificationTitleDirective };
139
+ export declare const DAFF_NOTIFICATION_COMPONENTS: readonly [typeof DaffNotificationComponent, typeof DaffNotificationActionsDirective, typeof DaffNotificationMessageDirective, typeof DaffNotificationTitleDirective, typeof DaffPrefixDirective];
@@ -1,126 +1,148 @@
1
- import * as _angular_core from '@angular/core';
2
- import * as i1 from '@angular/common';
3
- import * as i2 from '@angular/router';
4
- import { Params } from '@angular/router';
5
- import * as i3 from '@fortawesome/angular-fontawesome';
6
- import * as _fortawesome_fontawesome_common_types from '@fortawesome/fontawesome-common-types';
7
-
8
- declare class DaffPaginatorComponent {
9
- /**
10
- * @docs-private
11
- */
12
- faChevronRight: _fortawesome_fontawesome_common_types.IconDefinition;
13
- /**
14
- * @docs-private
15
- */
16
- faChevronLeft: _fortawesome_fontawesome_common_types.IconDefinition;
17
- /**
18
- * The total number of pages the paginator tracks. This number can change dynamically, but the end user is responsible for keeping `numberOfPages`
19
- * and `currentPage` in sync.
20
- *
21
- * For example, if the `numberOfPages` is dynamically changed to a value less than the `currentPage`, the paginator will break.
22
- */
23
- numberOfPages: _angular_core.InputSignal<number>;
24
- /**
25
- * The currently selected page.
26
- */
27
- currentPage: _angular_core.InputSignal<number>;
28
- /**
29
- * Replace the paginator buttons with links. `url` is required if using this mode.
30
- */
31
- linkMode: _angular_core.InputSignal<boolean>;
32
- /**
33
- * The url to which to navigate if the paginator is in link mode.
34
- * This paginator component will set the page query param.
35
- */
36
- url: _angular_core.InputSignal<string>;
37
- /**
38
- * The query param to which the paginator component will set the current page value in link mode.
39
- */
40
- queryParam: _angular_core.InputSignal<string>;
41
- /**
42
- * Emits when the current page changes with the new current page.
43
- */
44
- notifyPageChange: _angular_core.OutputEmitterRef<any>;
45
- /**
46
- * @docs-private
47
- */
48
- _numberOfPagesArray: _angular_core.Signal<number[]>;
49
- /**
50
- * Determines when ellipsis after the first page number should show.
51
- *
52
- * @docs-private
53
- */
54
- _showFirstEllipsis: _angular_core.Signal<boolean>;
55
- /**
56
- * Determines when ellipsis before the final page number should show.
57
- *
58
- * @docs-private
59
- */
60
- _showLastEllipsis: _angular_core.Signal<boolean>;
61
- /**
62
- * Determines when the Previous button should be disabled.
63
- *
64
- * @docs-private
65
- */
66
- _disablePrev: _angular_core.Signal<boolean>;
67
- /**
68
- * Determines when the Next button should be disabled.
69
- *
70
- * @docs-private
71
- */
72
- _disableNext: _angular_core.Signal<boolean>;
73
- /**
74
- * Emits the previous page number through notifyPageChange Output.
75
- *
76
- * @docs-private
77
- */
78
- _onNotifyPrevPageChange(): void;
79
- /**
80
- * Emits the next page number through notifyPageChange Output.
81
- *
82
- * @docs-private
83
- */
84
- _onNotifyNextPageChange(): void;
85
- /**
86
- * Emits a pageNumber to notifyPageChange Output.
87
- *
88
- * @docs-private
89
- */
90
- _onNotifyPageChange(pageNumber: number): void;
91
- /**
92
- * A simple function that determines if the given page number is the current page number.
93
- *
94
- * @docs-private
95
- */
96
- _isSelected(page: number): boolean;
97
- /**
98
- * Determines if the given page number should be shown. The two additional 'or' conditionals are needed
99
- * so the paginator retains the same total width at the extreme page numbers (1 and numberOfPages).
100
- *
101
- * @docs-private
102
- */
103
- _showNumber(pageNumber: number): boolean;
104
- /**
105
- * @docs-private
106
- */
107
- _buildPageQueryParams(page: number): Params;
108
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffPaginatorComponent, never>;
109
- static ɵcmp: _angular_core.ɵɵComponentDeclaration<DaffPaginatorComponent, "daff-paginator", never, { "numberOfPages": { "alias": "numberOfPages"; "required": true; "isSignal": true; }; "currentPage": { "alias": "currentPage"; "required": true; "isSignal": true; }; "linkMode": { "alias": "linkMode"; "required": false; "isSignal": true; }; "url": { "alias": "url"; "required": false; "isSignal": true; }; "queryParam": { "alias": "queryParam"; "required": false; "isSignal": true; }; }, { "notifyPageChange": "notifyPageChange"; }, never, never, true, never>;
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/router";
4
+ import { Params } from "@angular/router";
5
+ import * as i3 from "@fortawesome/angular-fontawesome";
6
+ export declare class DaffPaginatorComponent {
7
+ /**
8
+ * @docs-private
9
+ */
10
+ faChevronRight: import("@fortawesome/fontawesome-common-types").IconDefinition;
11
+ /**
12
+ * @docs-private
13
+ */
14
+ faChevronLeft: import("@fortawesome/fontawesome-common-types").IconDefinition;
15
+ /**
16
+ * The total number of pages the paginator tracks. This number can change dynamically, but the end user is responsible for keeping `numberOfPages`
17
+ * and `currentPage` in sync.
18
+ *
19
+ * For example, if the `numberOfPages` is dynamically changed to a value less than the `currentPage`, the paginator will break.
20
+ */
21
+ numberOfPages: import("@angular/core").InputSignal<number>;
22
+ /**
23
+ * The currently selected page.
24
+ */
25
+ currentPage: import("@angular/core").InputSignal<number>;
26
+ /**
27
+ * Replace the paginator buttons with links. `url` is required if using this mode.
28
+ */
29
+ linkMode: import("@angular/core").InputSignal<boolean>;
30
+ /**
31
+ * The url to which to navigate if the paginator is in link mode.
32
+ * This paginator component will set the page query param.
33
+ */
34
+ url: import("@angular/core").InputSignal<string>;
35
+ /**
36
+ * The query param to which the paginator component will set the current page value in link mode.
37
+ */
38
+ queryParam: import("@angular/core").InputSignal<string>;
39
+ /**
40
+ * Emits when the current page changes with the new current page.
41
+ */
42
+ notifyPageChange: import("@angular/core").OutputEmitterRef<any>;
43
+ /**
44
+ * @docs-private
45
+ */
46
+ _numberOfPagesArray: import("@angular/core").Signal<number[]>;
47
+ /**
48
+ * Determines when ellipsis after the first page number should show.
49
+ *
50
+ * @docs-private
51
+ */
52
+ _showFirstEllipsis: import("@angular/core").Signal<boolean>;
53
+ /**
54
+ * Determines when ellipsis before the final page number should show.
55
+ *
56
+ * @docs-private
57
+ */
58
+ _showLastEllipsis: import("@angular/core").Signal<boolean>;
59
+ /**
60
+ * Determines when the Previous button should be disabled.
61
+ *
62
+ * @docs-private
63
+ */
64
+ _disablePrev: import("@angular/core").Signal<boolean>;
65
+ /**
66
+ * Determines when the Next button should be disabled.
67
+ *
68
+ * @docs-private
69
+ */
70
+ _disableNext: import("@angular/core").Signal<boolean>;
71
+ /**
72
+ * Emits the previous page number through notifyPageChange Output.
73
+ *
74
+ * @docs-private
75
+ */
76
+ _onNotifyPrevPageChange(): void;
77
+ /**
78
+ * Emits the next page number through notifyPageChange Output.
79
+ *
80
+ * @docs-private
81
+ */
82
+ _onNotifyNextPageChange(): void;
83
+ /**
84
+ * Emits a pageNumber to notifyPageChange Output.
85
+ *
86
+ * @docs-private
87
+ */
88
+ _onNotifyPageChange(pageNumber: number): void;
89
+ /**
90
+ * A simple function that determines if the given page number is the current page number.
91
+ *
92
+ * @docs-private
93
+ */
94
+ _isSelected(page: number): boolean;
95
+ /**
96
+ * Determines if the given page number should be shown. The two additional 'or' conditionals are needed
97
+ * so the paginator retains the same total width at the extreme page numbers (1 and numberOfPages).
98
+ *
99
+ * @docs-private
100
+ */
101
+ _showNumber(pageNumber: number): boolean;
102
+ /**
103
+ * @docs-private
104
+ */
105
+ _buildPageQueryParams(page: number): Params;
106
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffPaginatorComponent, never>;
107
+ static ɵcmp: i0.ɵɵComponentDeclaration<DaffPaginatorComponent, "daff-paginator", never, {
108
+ "numberOfPages": {
109
+ "alias": "numberOfPages";
110
+ "required": true;
111
+ "isSignal": true;
112
+ };
113
+ "currentPage": {
114
+ "alias": "currentPage";
115
+ "required": true;
116
+ "isSignal": true;
117
+ };
118
+ "linkMode": {
119
+ "alias": "linkMode";
120
+ "required": false;
121
+ "isSignal": true;
122
+ };
123
+ "url": {
124
+ "alias": "url";
125
+ "required": false;
126
+ "isSignal": true;
127
+ };
128
+ "queryParam": {
129
+ "alias": "queryParam";
130
+ "required": false;
131
+ "isSignal": true;
132
+ };
133
+ }, {
134
+ "notifyPageChange": "notifyPageChange";
135
+ }, never, never, true, never>;
110
136
  }
111
-
112
137
  /**
113
138
  * @deprecated in favor of {@link DAFF_PAGINATOR_COMPONENTS}. Deprecated in version 0.78.0. Will be removed in version 1.0.0.
114
139
  */
115
- declare class DaffPaginatorModule {
116
- static ɵfac: _angular_core.ɵɵFactoryDeclaration<DaffPaginatorModule, never>;
117
- static ɵmod: _angular_core.ɵɵNgModuleDeclaration<DaffPaginatorModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.FontAwesomeModule, typeof DaffPaginatorComponent], [typeof DaffPaginatorComponent]>;
118
- static ɵinj: _angular_core.ɵɵInjectorDeclaration<DaffPaginatorModule>;
140
+ export declare class DaffPaginatorModule {
141
+ static ɵfac: i0.ɵɵFactoryDeclaration<DaffPaginatorModule, never>;
142
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DaffPaginatorModule, never, [typeof i1.CommonModule, typeof i2.RouterModule, typeof i3.FontAwesomeModule, typeof DaffPaginatorComponent], [typeof DaffPaginatorComponent]>;
143
+ static ɵinj: i0.ɵɵInjectorDeclaration<DaffPaginatorModule>;
119
144
  }
120
-
121
145
  /**
122
146
  * @docs-private
123
147
  */
124
- declare const DAFF_PAGINATOR_COMPONENTS: readonly [typeof DaffPaginatorComponent];
125
-
126
- export { DAFF_PAGINATOR_COMPONENTS, DaffPaginatorComponent, DaffPaginatorModule };
148
+ export declare const DAFF_PAGINATOR_COMPONENTS: readonly [typeof DaffPaginatorComponent];