flowbite-angular 20.1.3 → 21.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/LICENSE +21 -21
  2. package/README.md +375 -375
  3. package/button-group/README.md +4 -4
  4. package/card/README.md +4 -4
  5. package/clipboard/README.md +4 -4
  6. package/fesm2022/flowbite-angular-accordion.mjs +34 -34
  7. package/fesm2022/flowbite-angular-accordion.mjs.map +1 -1
  8. package/fesm2022/flowbite-angular-alert.mjs +28 -28
  9. package/fesm2022/flowbite-angular-alert.mjs.map +1 -1
  10. package/fesm2022/flowbite-angular-badge.mjs +30 -30
  11. package/fesm2022/flowbite-angular-badge.mjs.map +1 -1
  12. package/fesm2022/flowbite-angular-breadcrumb.mjs +26 -26
  13. package/fesm2022/flowbite-angular-breadcrumb.mjs.map +1 -1
  14. package/fesm2022/flowbite-angular-button-group.mjs +8 -8
  15. package/fesm2022/flowbite-angular-button-group.mjs.map +1 -1
  16. package/fesm2022/flowbite-angular-button.mjs +17 -17
  17. package/fesm2022/flowbite-angular-button.mjs.map +1 -1
  18. package/fesm2022/flowbite-angular-card.mjs +27 -27
  19. package/fesm2022/flowbite-angular-card.mjs.map +1 -1
  20. package/fesm2022/flowbite-angular-clipboard.mjs +65 -65
  21. package/fesm2022/flowbite-angular-clipboard.mjs.map +1 -1
  22. package/fesm2022/flowbite-angular-dropdown.mjs +25 -25
  23. package/fesm2022/flowbite-angular-dropdown.mjs.map +1 -1
  24. package/fesm2022/flowbite-angular-form.mjs +37 -37
  25. package/fesm2022/flowbite-angular-form.mjs.map +1 -1
  26. package/fesm2022/flowbite-angular-icon-brand.mjs.map +1 -1
  27. package/fesm2022/flowbite-angular-icon-outline-arrows.mjs.map +1 -1
  28. package/fesm2022/flowbite-angular-icon-outline-e-commerce.mjs.map +1 -1
  29. package/fesm2022/flowbite-angular-icon-outline-emoji.mjs.map +1 -1
  30. package/fesm2022/flowbite-angular-icon-outline-files-folders.mjs.map +1 -1
  31. package/fesm2022/flowbite-angular-icon-outline-general.mjs.map +1 -1
  32. package/fesm2022/flowbite-angular-icon-outline-media.mjs.map +1 -1
  33. package/fesm2022/flowbite-angular-icon-outline-text.mjs.map +1 -1
  34. package/fesm2022/flowbite-angular-icon-outline-user.mjs.map +1 -1
  35. package/fesm2022/flowbite-angular-icon-outline-weather.mjs.map +1 -1
  36. package/fesm2022/flowbite-angular-icon-outline.mjs.map +1 -1
  37. package/fesm2022/flowbite-angular-icon-solid-arrows.mjs.map +1 -1
  38. package/fesm2022/flowbite-angular-icon-solid-brands.mjs.map +1 -1
  39. package/fesm2022/flowbite-angular-icon-solid-e-commerce.mjs.map +1 -1
  40. package/fesm2022/flowbite-angular-icon-solid-emoji.mjs.map +1 -1
  41. package/fesm2022/flowbite-angular-icon-solid-files-folder.mjs.map +1 -1
  42. package/fesm2022/flowbite-angular-icon-solid-general.mjs.map +1 -1
  43. package/fesm2022/flowbite-angular-icon-solid-media.mjs.map +1 -1
  44. package/fesm2022/flowbite-angular-icon-solid-text.mjs.map +1 -1
  45. package/fesm2022/flowbite-angular-icon-solid-user.mjs.map +1 -1
  46. package/fesm2022/flowbite-angular-icon-solid-weather.mjs.map +1 -1
  47. package/fesm2022/flowbite-angular-icon-solid.mjs.map +1 -1
  48. package/fesm2022/flowbite-angular-icon.mjs +9 -9
  49. package/fesm2022/flowbite-angular-icon.mjs.map +1 -1
  50. package/fesm2022/flowbite-angular-indicator.mjs +12 -12
  51. package/fesm2022/flowbite-angular-indicator.mjs.map +1 -1
  52. package/fesm2022/flowbite-angular-modal.mjs +48 -48
  53. package/fesm2022/flowbite-angular-modal.mjs.map +1 -1
  54. package/fesm2022/flowbite-angular-navbar.mjs +68 -68
  55. package/fesm2022/flowbite-angular-navbar.mjs.map +1 -1
  56. package/fesm2022/flowbite-angular-pagination.mjs +166 -176
  57. package/fesm2022/flowbite-angular-pagination.mjs.map +1 -1
  58. package/fesm2022/flowbite-angular-sidebar.mjs +42 -42
  59. package/fesm2022/flowbite-angular-sidebar.mjs.map +1 -1
  60. package/fesm2022/flowbite-angular-tab.mjs +34 -34
  61. package/fesm2022/flowbite-angular-tab.mjs.map +1 -1
  62. package/fesm2022/flowbite-angular-table.mjs +65 -65
  63. package/fesm2022/flowbite-angular-table.mjs.map +1 -1
  64. package/fesm2022/flowbite-angular-theme-toggle.mjs +30 -30
  65. package/fesm2022/flowbite-angular-theme-toggle.mjs.map +1 -1
  66. package/fesm2022/flowbite-angular-tooltip.mjs +9 -9
  67. package/fesm2022/flowbite-angular-tooltip.mjs.map +1 -1
  68. package/fesm2022/flowbite-angular.mjs.map +1 -1
  69. package/form/README.md +4 -4
  70. package/icon/README.md +4 -4
  71. package/icon/brand/README.md +4 -4
  72. package/icon/outline/README.md +4 -4
  73. package/icon/solid/README.md +4 -4
  74. package/indicator/README.md +4 -4
  75. package/modal/README.md +4 -4
  76. package/navbar/README.md +4 -4
  77. package/package.json +82 -82
  78. package/pagination/README.md +4 -4
  79. package/sidebar/README.md +4 -4
  80. package/styles/flowbite-angular.css +1 -1
  81. package/tab/README.md +4 -4
  82. package/table/README.md +4 -4
  83. package/theme-toggle/README.md +4 -4
  84. package/tooltip/README.md +4 -4
  85. package/{accordion/index.d.ts → types/flowbite-angular-accordion.d.ts} +116 -116
  86. package/{alert/index.d.ts → types/flowbite-angular-alert.d.ts} +89 -89
  87. package/{badge/index.d.ts → types/flowbite-angular-badge.d.ts} +98 -98
  88. package/{breadcrumb/index.d.ts → types/flowbite-angular-breadcrumb.d.ts} +97 -97
  89. package/{button-group/index.d.ts → types/flowbite-angular-button-group.d.ts} +36 -36
  90. package/{button/index.d.ts → types/flowbite-angular-button.d.ts} +76 -76
  91. package/{card/index.d.ts → types/flowbite-angular-card.d.ts} +97 -97
  92. package/{clipboard/index.d.ts → types/flowbite-angular-clipboard.d.ts} +37 -37
  93. package/{dropdown/index.d.ts → types/flowbite-angular-dropdown.d.ts} +78 -78
  94. package/{form/index.d.ts → types/flowbite-angular-form.d.ts} +113 -113
  95. package/{icon/index.d.ts → types/flowbite-angular-icon.d.ts} +46 -46
  96. package/{indicator/index.d.ts → types/flowbite-angular-indicator.d.ts} +65 -65
  97. package/{modal/index.d.ts → types/flowbite-angular-modal.d.ts} +119 -119
  98. package/{navbar/index.d.ts → types/flowbite-angular-navbar.d.ts} +161 -161
  99. package/{pagination/index.d.ts → types/flowbite-angular-pagination.d.ts} +219 -219
  100. package/{sidebar/index.d.ts → types/flowbite-angular-sidebar.d.ts} +107 -107
  101. package/{tab/index.d.ts → types/flowbite-angular-tab.d.ts} +107 -107
  102. package/{table/index.d.ts → types/flowbite-angular-table.d.ts} +102 -102
  103. package/{theme-toggle/index.d.ts → types/flowbite-angular-theme-toggle.d.ts} +82 -82
  104. package/{tooltip/index.d.ts → types/flowbite-angular-tooltip.d.ts} +31 -31
  105. /package/{icon/brand/index.d.ts → types/flowbite-angular-icon-brand.d.ts} +0 -0
  106. /package/{icon/outline/arrows/index.d.ts → types/flowbite-angular-icon-outline-arrows.d.ts} +0 -0
  107. /package/{icon/outline/e-commerce/index.d.ts → types/flowbite-angular-icon-outline-e-commerce.d.ts} +0 -0
  108. /package/{icon/outline/emoji/index.d.ts → types/flowbite-angular-icon-outline-emoji.d.ts} +0 -0
  109. /package/{icon/outline/files-folders/index.d.ts → types/flowbite-angular-icon-outline-files-folders.d.ts} +0 -0
  110. /package/{icon/outline/general/index.d.ts → types/flowbite-angular-icon-outline-general.d.ts} +0 -0
  111. /package/{icon/outline/media/index.d.ts → types/flowbite-angular-icon-outline-media.d.ts} +0 -0
  112. /package/{icon/outline/text/index.d.ts → types/flowbite-angular-icon-outline-text.d.ts} +0 -0
  113. /package/{icon/outline/user/index.d.ts → types/flowbite-angular-icon-outline-user.d.ts} +0 -0
  114. /package/{icon/outline/weather/index.d.ts → types/flowbite-angular-icon-outline-weather.d.ts} +0 -0
  115. /package/{icon/outline/index.d.ts → types/flowbite-angular-icon-outline.d.ts} +0 -0
  116. /package/{icon/solid/arrows/index.d.ts → types/flowbite-angular-icon-solid-arrows.d.ts} +0 -0
  117. /package/{icon/solid/brands/index.d.ts → types/flowbite-angular-icon-solid-brands.d.ts} +0 -0
  118. /package/{icon/solid/e-commerce/index.d.ts → types/flowbite-angular-icon-solid-e-commerce.d.ts} +0 -0
  119. /package/{icon/solid/emoji/index.d.ts → types/flowbite-angular-icon-solid-emoji.d.ts} +0 -0
  120. /package/{icon/solid/files-folder/index.d.ts → types/flowbite-angular-icon-solid-files-folder.d.ts} +0 -0
  121. /package/{icon/solid/general/index.d.ts → types/flowbite-angular-icon-solid-general.d.ts} +0 -0
  122. /package/{icon/solid/media/index.d.ts → types/flowbite-angular-icon-solid-media.d.ts} +0 -0
  123. /package/{icon/solid/text/index.d.ts → types/flowbite-angular-icon-solid-text.d.ts} +0 -0
  124. /package/{icon/solid/user/index.d.ts → types/flowbite-angular-icon-solid-user.d.ts} +0 -0
  125. /package/{icon/solid/weather/index.d.ts → types/flowbite-angular-icon-solid-weather.d.ts} +0 -0
  126. /package/{icon/solid/index.d.ts → types/flowbite-angular-icon-solid.d.ts} +0 -0
  127. /package/{index.d.ts → types/flowbite-angular.d.ts} +0 -0
@@ -2,72 +2,12 @@ import * as ng_primitives_state from 'ng-primitives/state';
2
2
  import * as _angular_core from '@angular/core';
3
3
  import { InjectionToken, Provider } from '@angular/core';
4
4
  import * as flowbite_angular_badge from 'flowbite-angular/badge';
5
- import { FlowbiteColors, ColorToTheme, FlowbiteBoolean, FlowbiteSizes, DeepPartial } from 'flowbite-angular';
5
+ import { FlowbiteColors, ColorToTheme, FlowbiteSizes, FlowbiteBoolean, DeepPartial } from 'flowbite-angular';
6
6
  import * as i2 from 'ng-primitives/button';
7
7
  import * as i3 from 'ng-primitives/interactions';
8
8
 
9
- interface FlowbiteBadgeColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
10
- [key: string]: ColorToTheme;
11
- }
12
- interface FlowbiteBadgeSizes extends Pick<FlowbiteSizes, 'xs' | 'sm'> {
13
- [key: string]: string;
14
- }
15
- interface FlowbiteBadgeTheme {
16
- host: FlowbiteBadgeHostTheme;
17
- }
18
- interface FlowbiteBadgeHostTheme {
19
- base: string;
20
- transition: string;
21
- color: FlowbiteBadgeColors;
22
- border: FlowbiteBoolean;
23
- size: FlowbiteBadgeSizes;
24
- pill: FlowbiteBoolean;
25
- }
26
- declare const flowbiteBadgeTheme: FlowbiteBadgeTheme;
27
-
28
- interface FlowbiteBadgeConfig {
29
- /**
30
- * The default theme of badge
31
- */
32
- baseTheme: FlowbiteBadgeTheme;
33
- /**
34
- * The default color of badge
35
- */
36
- color: keyof FlowbiteBadgeColors;
37
- /**
38
- * Wether the badge has border
39
- */
40
- border: boolean;
41
- /**
42
- * Wether the badge is pill
43
- */
44
- pill: boolean;
45
- /**
46
- * The default size of badge
47
- */
48
- size: keyof FlowbiteBadgeSizes;
49
- /**
50
- * The custom theme of badge
51
- */
52
- customTheme: DeepPartial<FlowbiteBadgeTheme>;
53
- }
54
- declare const defaultFlowbiteBadgeConfig: FlowbiteBadgeConfig;
55
- declare const FlowbiteBadgeConfigToken: InjectionToken<FlowbiteBadgeConfig>;
56
- /**
57
- * Provide the default Badge configuration
58
- * @param config The Badge configuration
59
- * @returns The provider
60
- */
61
- declare const provideFlowbiteBadgeConfig: (config: Partial<FlowbiteBadgeConfig>) => Provider[];
62
- /**
63
- * Inject the Badge configuration
64
- * @see {@link defaultFlowbiteBadgeConfig}
65
- * @returns The configuration
66
- */
67
- declare const injectFlowbiteBadgeConfig: () => FlowbiteBadgeConfig;
68
-
69
9
  declare class Badge {
70
- readonly config: FlowbiteBadgeConfig;
10
+ readonly config: flowbite_angular_badge.FlowbiteBadgeConfig;
71
11
  /**
72
12
  * @see {@link injectFlowbiteBadgeConfig}
73
13
  */
@@ -215,43 +155,68 @@ declare const injectFlowbiteBadgeState: <U = {
215
155
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
216
156
  declare const flowbiteBadgeState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
217
157
 
218
- interface FlowbiteBadgeLinkTheme {
219
- host: FlowbiteBadgeLinkHostTheme;
158
+ interface FlowbiteBadgeColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
159
+ [key: string]: ColorToTheme;
220
160
  }
221
- interface FlowbiteBadgeLinkHostTheme {
161
+ interface FlowbiteBadgeSizes extends Pick<FlowbiteSizes, 'xs' | 'sm'> {
162
+ [key: string]: string;
163
+ }
164
+ interface FlowbiteBadgeTheme {
165
+ host: FlowbiteBadgeHostTheme;
166
+ }
167
+ interface FlowbiteBadgeHostTheme {
222
168
  base: string;
223
169
  transition: string;
224
170
  color: FlowbiteBadgeColors;
171
+ border: FlowbiteBoolean;
172
+ size: FlowbiteBadgeSizes;
173
+ pill: FlowbiteBoolean;
225
174
  }
226
- declare const flowbiteBadgeLinkTheme: FlowbiteBadgeLinkTheme;
175
+ declare const flowbiteBadgeTheme: FlowbiteBadgeTheme;
227
176
 
228
- interface FlowbiteBadgeLinkConfig {
177
+ interface FlowbiteBadgeConfig {
229
178
  /**
230
- * The default theme of BadgeLink
179
+ * The default theme of badge
231
180
  */
232
- baseTheme: FlowbiteBadgeLinkTheme;
181
+ baseTheme: FlowbiteBadgeTheme;
233
182
  /**
234
- * The custom theme of BadgeLink
183
+ * The default color of badge
235
184
  */
236
- customTheme: DeepPartial<FlowbiteBadgeLinkTheme>;
185
+ color: keyof FlowbiteBadgeColors;
186
+ /**
187
+ * Wether the badge has border
188
+ */
189
+ border: boolean;
190
+ /**
191
+ * Wether the badge is pill
192
+ */
193
+ pill: boolean;
194
+ /**
195
+ * The default size of badge
196
+ */
197
+ size: keyof FlowbiteBadgeSizes;
198
+ /**
199
+ * The custom theme of badge
200
+ */
201
+ customTheme: DeepPartial<FlowbiteBadgeTheme>;
237
202
  }
238
- declare const defaultFlowbiteBadgeLinkConfig: FlowbiteBadgeLinkConfig;
239
- declare const FlowbiteBadgeLinkConfigToken: InjectionToken<FlowbiteBadgeLinkConfig>;
203
+ declare const defaultFlowbiteBadgeConfig: FlowbiteBadgeConfig;
204
+ declare const FlowbiteBadgeConfigToken: InjectionToken<FlowbiteBadgeConfig>;
240
205
  /**
241
- * Provide the default BadgeLink configuration
242
- * @param config The BadgeLink configuration
206
+ * Provide the default Badge configuration
207
+ * @param config The Badge configuration
243
208
  * @returns The provider
244
209
  */
245
- declare const provideFlowbiteBadgeLinkConfig: (config: Partial<FlowbiteBadgeLinkConfig>) => Provider[];
210
+ declare const provideFlowbiteBadgeConfig: (config: Partial<FlowbiteBadgeConfig>) => Provider[];
246
211
  /**
247
- * Inject the BadgeLink configuration
248
- * @see {@link defaultFlowbiteBadgeLinkConfig}
212
+ * Inject the Badge configuration
213
+ * @see {@link defaultFlowbiteBadgeConfig}
249
214
  * @returns The configuration
250
215
  */
251
- declare const injectFlowbiteBadgeLinkConfig: () => FlowbiteBadgeLinkConfig;
216
+ declare const injectFlowbiteBadgeConfig: () => FlowbiteBadgeConfig;
252
217
 
253
218
  declare class BadgeLink {
254
- readonly config: FlowbiteBadgeLinkConfig;
219
+ readonly config: flowbite_angular_badge.FlowbiteBadgeLinkConfig;
255
220
  readonly badgeState: _angular_core.Signal<ng_primitives_state.State<{
256
221
  readonly config: flowbite_angular_badge.FlowbiteBadgeConfig;
257
222
  readonly color: _angular_core.InputSignal<keyof flowbite_angular_badge.FlowbiteBadgeColors>;
@@ -425,42 +390,43 @@ declare const injectFlowbiteBadgeLinkState: <U = {
425
390
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
426
391
  declare const flowbiteBadgeLinkState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
427
392
 
428
- interface FlowbiteBadgeButtonTheme {
429
- host: FlowbiteBadgeButtonHostTheme;
393
+ interface FlowbiteBadgeLinkTheme {
394
+ host: FlowbiteBadgeLinkHostTheme;
430
395
  }
431
- interface FlowbiteBadgeButtonHostTheme {
396
+ interface FlowbiteBadgeLinkHostTheme {
432
397
  base: string;
398
+ transition: string;
433
399
  color: FlowbiteBadgeColors;
434
400
  }
435
- declare const flowbiteBadgeButtonTheme: FlowbiteBadgeButtonTheme;
401
+ declare const flowbiteBadgeLinkTheme: FlowbiteBadgeLinkTheme;
436
402
 
437
- interface FlowbiteBadgeButtonConfig {
403
+ interface FlowbiteBadgeLinkConfig {
438
404
  /**
439
- * The default theme of BadgeButton
405
+ * The default theme of BadgeLink
440
406
  */
441
- baseTheme: FlowbiteBadgeButtonTheme;
407
+ baseTheme: FlowbiteBadgeLinkTheme;
442
408
  /**
443
- * The custom theme of BadgeButton
409
+ * The custom theme of BadgeLink
444
410
  */
445
- customTheme: DeepPartial<FlowbiteBadgeButtonTheme>;
411
+ customTheme: DeepPartial<FlowbiteBadgeLinkTheme>;
446
412
  }
447
- declare const defaultFlowbiteBadgeButtonConfig: FlowbiteBadgeButtonConfig;
448
- declare const FlowbiteBadgeButtonConfigToken: InjectionToken<FlowbiteBadgeButtonConfig>;
413
+ declare const defaultFlowbiteBadgeLinkConfig: FlowbiteBadgeLinkConfig;
414
+ declare const FlowbiteBadgeLinkConfigToken: InjectionToken<FlowbiteBadgeLinkConfig>;
449
415
  /**
450
- * Provide the default BadgeButton configuration
451
- * @param config The BadgeButton configuration
416
+ * Provide the default BadgeLink configuration
417
+ * @param config The BadgeLink configuration
452
418
  * @returns The provider
453
419
  */
454
- declare const provideFlowbiteBadgeButtonConfig: (config: Partial<FlowbiteBadgeButtonConfig>) => Provider[];
420
+ declare const provideFlowbiteBadgeLinkConfig: (config: Partial<FlowbiteBadgeLinkConfig>) => Provider[];
455
421
  /**
456
- * Inject the BadgeButton configuration
457
- * @see {@link defaultFlowbiteBadgeButtonConfig}
422
+ * Inject the BadgeLink configuration
423
+ * @see {@link defaultFlowbiteBadgeLinkConfig}
458
424
  * @returns The configuration
459
425
  */
460
- declare const injectFlowbiteBadgeButtonConfig: () => FlowbiteBadgeButtonConfig;
426
+ declare const injectFlowbiteBadgeLinkConfig: () => FlowbiteBadgeLinkConfig;
461
427
 
462
428
  declare class BadgeButton {
463
- readonly config: FlowbiteBadgeButtonConfig;
429
+ readonly config: flowbite_angular_badge.FlowbiteBadgeButtonConfig;
464
430
  readonly badgeState: _angular_core.Signal<ng_primitives_state.State<{
465
431
  readonly config: flowbite_angular_badge.FlowbiteBadgeConfig;
466
432
  readonly color: _angular_core.InputSignal<keyof flowbite_angular_badge.FlowbiteBadgeColors>;
@@ -632,5 +598,39 @@ declare const injectFlowbiteBadgeButtonState: <U = {
632
598
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
633
599
  declare const flowbiteBadgeButtonState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
634
600
 
601
+ interface FlowbiteBadgeButtonTheme {
602
+ host: FlowbiteBadgeButtonHostTheme;
603
+ }
604
+ interface FlowbiteBadgeButtonHostTheme {
605
+ base: string;
606
+ color: FlowbiteBadgeColors;
607
+ }
608
+ declare const flowbiteBadgeButtonTheme: FlowbiteBadgeButtonTheme;
609
+
610
+ interface FlowbiteBadgeButtonConfig {
611
+ /**
612
+ * The default theme of BadgeButton
613
+ */
614
+ baseTheme: FlowbiteBadgeButtonTheme;
615
+ /**
616
+ * The custom theme of BadgeButton
617
+ */
618
+ customTheme: DeepPartial<FlowbiteBadgeButtonTheme>;
619
+ }
620
+ declare const defaultFlowbiteBadgeButtonConfig: FlowbiteBadgeButtonConfig;
621
+ declare const FlowbiteBadgeButtonConfigToken: InjectionToken<FlowbiteBadgeButtonConfig>;
622
+ /**
623
+ * Provide the default BadgeButton configuration
624
+ * @param config The BadgeButton configuration
625
+ * @returns The provider
626
+ */
627
+ declare const provideFlowbiteBadgeButtonConfig: (config: Partial<FlowbiteBadgeButtonConfig>) => Provider[];
628
+ /**
629
+ * Inject the BadgeButton configuration
630
+ * @see {@link defaultFlowbiteBadgeButtonConfig}
631
+ * @returns The configuration
632
+ */
633
+ declare const injectFlowbiteBadgeButtonConfig: () => FlowbiteBadgeButtonConfig;
634
+
635
635
  export { Badge, BadgeButton, BadgeLink, FlowbiteBadgeButtonConfigToken, FlowbiteBadgeButtonStateToken, FlowbiteBadgeConfigToken, FlowbiteBadgeLinkConfigToken, FlowbiteBadgeLinkStateToken, FlowbiteBadgeStateToken, defaultFlowbiteBadgeButtonConfig, defaultFlowbiteBadgeConfig, defaultFlowbiteBadgeLinkConfig, flowbiteBadgeButtonState, flowbiteBadgeButtonTheme, flowbiteBadgeLinkState, flowbiteBadgeLinkTheme, flowbiteBadgeState, flowbiteBadgeTheme, injectFlowbiteBadgeButtonConfig, injectFlowbiteBadgeButtonState, injectFlowbiteBadgeConfig, injectFlowbiteBadgeLinkConfig, injectFlowbiteBadgeLinkState, injectFlowbiteBadgeState, provideFlowbiteBadgeButtonConfig, provideFlowbiteBadgeButtonState, provideFlowbiteBadgeConfig, provideFlowbiteBadgeLinkConfig, provideFlowbiteBadgeLinkState, provideFlowbiteBadgeState };
636
636
  export type { FlowbiteBadgeButtonConfig, FlowbiteBadgeButtonHostTheme, FlowbiteBadgeButtonTheme, FlowbiteBadgeColors, FlowbiteBadgeConfig, FlowbiteBadgeHostTheme, FlowbiteBadgeLinkConfig, FlowbiteBadgeLinkHostTheme, FlowbiteBadgeLinkTheme, FlowbiteBadgeSizes, FlowbiteBadgeTheme };
@@ -2,59 +2,12 @@ import * as ng_primitives_state from 'ng-primitives/state';
2
2
  import * as _angular_core from '@angular/core';
3
3
  import { InjectionToken, Provider } from '@angular/core';
4
4
  import * as flowbite_angular_breadcrumb from 'flowbite-angular/breadcrumb';
5
- import { FlowbiteBoolean, FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
5
+ import { FlowbiteColors, ColorToTheme, FlowbiteBoolean, DeepPartial } from 'flowbite-angular';
6
6
  import * as i1 from 'ng-primitives/button';
7
7
  import * as i2 from 'ng-primitives/interactions';
8
8
 
9
- interface FlowbiteBreadcrumbColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
10
- [ket: string]: ColorToTheme;
11
- }
12
- interface FlowbiteBreadcrumbTheme {
13
- host: FlowbiteBreadcrumbHostTheme;
14
- }
15
- interface FlowbiteBreadcrumbHostTheme {
16
- base: string;
17
- transition: string;
18
- solid: FlowbiteBoolean;
19
- color: FlowbiteBreadcrumbColors;
20
- }
21
- declare const flowbiteBreadcrumbTheme: FlowbiteBreadcrumbTheme;
22
-
23
- interface FlowbiteBreadcrumbConfig {
24
- /**
25
- * The default theme of breadcrumb
26
- */
27
- baseTheme: FlowbiteBreadcrumbTheme;
28
- /**
29
- * The default color of breadcrumb
30
- */
31
- color: keyof FlowbiteBreadcrumbColors;
32
- /**
33
- * Whether the breadcrumb is solid
34
- */
35
- solid: boolean;
36
- /**
37
- * The custom theme of breadcrumb
38
- */
39
- customTheme: DeepPartial<FlowbiteBreadcrumbTheme>;
40
- }
41
- declare const defaultFlowbiteBreadcrumbConfig: FlowbiteBreadcrumbConfig;
42
- declare const FlowbiteBreadcrumbConfigToken: InjectionToken<FlowbiteBreadcrumbConfig>;
43
- /**
44
- * Provide the default Breadcrumb configuration
45
- * @param config The Breadcrumb configuration
46
- * @returns The provider
47
- */
48
- declare const provideFlowbiteBreadcrumbConfig: (config: Partial<FlowbiteBreadcrumbConfig>) => Provider[];
49
- /**
50
- * Inject the Breadcrumb configuration
51
- * @see {@link defaultFlowbiteBreadcrumbConfig}
52
- * @returns The configuration
53
- */
54
- declare const injectFlowbiteBreadcrumbConfig: () => FlowbiteBreadcrumbConfig;
55
-
56
9
  declare class Breadcrumb {
57
- readonly config: FlowbiteBreadcrumbConfig;
10
+ readonly config: flowbite_angular_breadcrumb.FlowbiteBreadcrumbConfig;
58
11
  /**
59
12
  * @see {@link injectFlowbiteBreadcrumbConfig}
60
13
  */
@@ -174,43 +127,22 @@ declare const injectFlowbiteBreadcrumbState: <U = {
174
127
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
175
128
  declare const flowbiteBreadcrumbState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
176
129
 
177
- interface FlowbiteBreadcrumbItemTheme {
178
- host: FlowbiteBreadcrumbItemHostTheme;
130
+ interface FlowbiteBreadcrumbColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
131
+ [ket: string]: ColorToTheme;
179
132
  }
180
- interface FlowbiteBreadcrumbItemHostTheme {
133
+ interface FlowbiteBreadcrumbTheme {
134
+ host: FlowbiteBreadcrumbHostTheme;
135
+ }
136
+ interface FlowbiteBreadcrumbHostTheme {
181
137
  base: string;
182
138
  transition: string;
139
+ solid: FlowbiteBoolean;
183
140
  color: FlowbiteBreadcrumbColors;
184
141
  }
185
- declare const flowbiteBreadcrumbItemTheme: FlowbiteBreadcrumbItemTheme;
186
-
187
- interface FlowbiteBreadcrumbItemConfig {
188
- /**
189
- * The default theme of breadcrumb item
190
- */
191
- baseTheme: FlowbiteBreadcrumbItemTheme;
192
- /**
193
- * The custom theme of breadcrumb item
194
- */
195
- customTheme: DeepPartial<FlowbiteBreadcrumbItemTheme>;
196
- }
197
- declare const defaultFlowbiteBreadcrumbItemConfig: FlowbiteBreadcrumbItemConfig;
198
- declare const FlowbiteBreadcrumbItemConfigToken: InjectionToken<FlowbiteBreadcrumbItemConfig>;
199
- /**
200
- * Provide the default Breadcrumb Item configuration
201
- * @param config The Breadcrumb configuration
202
- * @returns The provider
203
- */
204
- declare const provideFlowbiteBreadcrumbItemConfig: (config: Partial<FlowbiteBreadcrumbItemConfig>) => Provider[];
205
- /**
206
- * Inject the Breadcrumb Item configuration
207
- * @see {@link defaultFlowbiteBreadcrumbItemConfig}
208
- * @returns The configuration
209
- */
210
- declare const injectFlowbiteBreadcrumbItemConfig: () => FlowbiteBreadcrumbItemConfig;
142
+ declare const flowbiteBreadcrumbTheme: FlowbiteBreadcrumbTheme;
211
143
 
212
144
  declare class BreadcrumbItem {
213
- readonly config: FlowbiteBreadcrumbItemConfig;
145
+ readonly config: flowbite_angular_breadcrumb.FlowbiteBreadcrumbItemConfig;
214
146
  readonly breadcrumbState: _angular_core.Signal<ng_primitives_state.State<{
215
147
  readonly config: flowbite_angular_breadcrumb.FlowbiteBreadcrumbConfig;
216
148
  readonly color: _angular_core.InputSignal<keyof flowbite_angular_breadcrumb.FlowbiteBreadcrumbColors>;
@@ -371,42 +303,76 @@ declare const injectFlowbiteBreadcrumbItemState: <U = {
371
303
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
372
304
  declare const flowbiteBreadcrumbItemState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
373
305
 
374
- interface FlowbiteBreadcrumbContentTheme {
375
- host: FlowbiteBreadcrumbContentHostTheme;
306
+ interface FlowbiteBreadcrumbItemTheme {
307
+ host: FlowbiteBreadcrumbItemHostTheme;
376
308
  }
377
- interface FlowbiteBreadcrumbContentHostTheme {
309
+ interface FlowbiteBreadcrumbItemHostTheme {
378
310
  base: string;
379
311
  transition: string;
312
+ color: FlowbiteBreadcrumbColors;
380
313
  }
381
- declare const flowbiteBreadcrumbContentTheme: FlowbiteBreadcrumbContentTheme;
314
+ declare const flowbiteBreadcrumbItemTheme: FlowbiteBreadcrumbItemTheme;
382
315
 
383
- interface FlowbiteBreadcrumbContentConfig {
316
+ interface FlowbiteBreadcrumbConfig {
384
317
  /**
385
- * The default theme of BreadcrumbContent
318
+ * The default theme of breadcrumb
386
319
  */
387
- baseTheme: FlowbiteBreadcrumbContentTheme;
320
+ baseTheme: FlowbiteBreadcrumbTheme;
388
321
  /**
389
- * The custom theme of BreadcrumbContent
322
+ * The default color of breadcrumb
390
323
  */
391
- customTheme: DeepPartial<FlowbiteBreadcrumbContentTheme>;
324
+ color: keyof FlowbiteBreadcrumbColors;
325
+ /**
326
+ * Whether the breadcrumb is solid
327
+ */
328
+ solid: boolean;
329
+ /**
330
+ * The custom theme of breadcrumb
331
+ */
332
+ customTheme: DeepPartial<FlowbiteBreadcrumbTheme>;
392
333
  }
393
- declare const defaultFlowbiteBreadcrumbContentConfig: FlowbiteBreadcrumbContentConfig;
394
- declare const FlowbiteBreadcrumbContentConfigToken: InjectionToken<FlowbiteBreadcrumbContentConfig>;
334
+ declare const defaultFlowbiteBreadcrumbConfig: FlowbiteBreadcrumbConfig;
335
+ declare const FlowbiteBreadcrumbConfigToken: InjectionToken<FlowbiteBreadcrumbConfig>;
395
336
  /**
396
- * Provide the default BreadcrumbContent configuration
397
- * @param config The BreadcrumbContent configuration
337
+ * Provide the default Breadcrumb configuration
338
+ * @param config The Breadcrumb configuration
398
339
  * @returns The provider
399
340
  */
400
- declare const provideFlowbiteBreadcrumbContentConfig: (config: Partial<FlowbiteBreadcrumbContentConfig>) => Provider[];
341
+ declare const provideFlowbiteBreadcrumbConfig: (config: Partial<FlowbiteBreadcrumbConfig>) => Provider[];
401
342
  /**
402
- * Inject the BreadcrumbContent configuration
403
- * @see {@link defaultFlowbiteBreadcrumbContentConfig}
343
+ * Inject the Breadcrumb configuration
344
+ * @see {@link defaultFlowbiteBreadcrumbConfig}
404
345
  * @returns The configuration
405
346
  */
406
- declare const injectFlowbiteBreadcrumbContentConfig: () => FlowbiteBreadcrumbContentConfig;
347
+ declare const injectFlowbiteBreadcrumbConfig: () => FlowbiteBreadcrumbConfig;
348
+
349
+ interface FlowbiteBreadcrumbItemConfig {
350
+ /**
351
+ * The default theme of breadcrumb item
352
+ */
353
+ baseTheme: FlowbiteBreadcrumbItemTheme;
354
+ /**
355
+ * The custom theme of breadcrumb item
356
+ */
357
+ customTheme: DeepPartial<FlowbiteBreadcrumbItemTheme>;
358
+ }
359
+ declare const defaultFlowbiteBreadcrumbItemConfig: FlowbiteBreadcrumbItemConfig;
360
+ declare const FlowbiteBreadcrumbItemConfigToken: InjectionToken<FlowbiteBreadcrumbItemConfig>;
361
+ /**
362
+ * Provide the default Breadcrumb Item configuration
363
+ * @param config The Breadcrumb configuration
364
+ * @returns The provider
365
+ */
366
+ declare const provideFlowbiteBreadcrumbItemConfig: (config: Partial<FlowbiteBreadcrumbItemConfig>) => Provider[];
367
+ /**
368
+ * Inject the Breadcrumb Item configuration
369
+ * @see {@link defaultFlowbiteBreadcrumbItemConfig}
370
+ * @returns The configuration
371
+ */
372
+ declare const injectFlowbiteBreadcrumbItemConfig: () => FlowbiteBreadcrumbItemConfig;
407
373
 
408
374
  declare class BreadcrumbContent {
409
- readonly config: FlowbiteBreadcrumbContentConfig;
375
+ readonly config: flowbite_angular_breadcrumb.FlowbiteBreadcrumbContentConfig;
410
376
  /**
411
377
  * @see {@link injectFlowbiteBreadcrumbContentConfig}
412
378
  */
@@ -448,5 +414,39 @@ declare const injectFlowbiteBreadcrumbContentState: <U = {
448
414
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
449
415
  declare const flowbiteBreadcrumbContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
450
416
 
417
+ interface FlowbiteBreadcrumbContentTheme {
418
+ host: FlowbiteBreadcrumbContentHostTheme;
419
+ }
420
+ interface FlowbiteBreadcrumbContentHostTheme {
421
+ base: string;
422
+ transition: string;
423
+ }
424
+ declare const flowbiteBreadcrumbContentTheme: FlowbiteBreadcrumbContentTheme;
425
+
426
+ interface FlowbiteBreadcrumbContentConfig {
427
+ /**
428
+ * The default theme of BreadcrumbContent
429
+ */
430
+ baseTheme: FlowbiteBreadcrumbContentTheme;
431
+ /**
432
+ * The custom theme of BreadcrumbContent
433
+ */
434
+ customTheme: DeepPartial<FlowbiteBreadcrumbContentTheme>;
435
+ }
436
+ declare const defaultFlowbiteBreadcrumbContentConfig: FlowbiteBreadcrumbContentConfig;
437
+ declare const FlowbiteBreadcrumbContentConfigToken: InjectionToken<FlowbiteBreadcrumbContentConfig>;
438
+ /**
439
+ * Provide the default BreadcrumbContent configuration
440
+ * @param config The BreadcrumbContent configuration
441
+ * @returns The provider
442
+ */
443
+ declare const provideFlowbiteBreadcrumbContentConfig: (config: Partial<FlowbiteBreadcrumbContentConfig>) => Provider[];
444
+ /**
445
+ * Inject the BreadcrumbContent configuration
446
+ * @see {@link defaultFlowbiteBreadcrumbContentConfig}
447
+ * @returns The configuration
448
+ */
449
+ declare const injectFlowbiteBreadcrumbContentConfig: () => FlowbiteBreadcrumbContentConfig;
450
+
451
451
  export { Breadcrumb, BreadcrumbContent, BreadcrumbItem, FlowbiteBreadcrumbConfigToken, FlowbiteBreadcrumbContentConfigToken, FlowbiteBreadcrumbContentStateToken, FlowbiteBreadcrumbItemConfigToken, FlowbiteBreadcrumbItemStateToken, FlowbiteBreadcrumbStateToken, defaultFlowbiteBreadcrumbConfig, defaultFlowbiteBreadcrumbContentConfig, defaultFlowbiteBreadcrumbItemConfig, flowbiteBreadcrumbContentState, flowbiteBreadcrumbContentTheme, flowbiteBreadcrumbItemState, flowbiteBreadcrumbItemTheme, flowbiteBreadcrumbState, flowbiteBreadcrumbTheme, injectFlowbiteBreadcrumbConfig, injectFlowbiteBreadcrumbContentConfig, injectFlowbiteBreadcrumbContentState, injectFlowbiteBreadcrumbItemConfig, injectFlowbiteBreadcrumbItemState, injectFlowbiteBreadcrumbState, provideFlowbiteBreadcrumbConfig, provideFlowbiteBreadcrumbContentConfig, provideFlowbiteBreadcrumbContentState, provideFlowbiteBreadcrumbItemConfig, provideFlowbiteBreadcrumbItemState, provideFlowbiteBreadcrumbState };
452
452
  export type { FlowbiteBreadcrumbColors, FlowbiteBreadcrumbConfig, FlowbiteBreadcrumbContentConfig, FlowbiteBreadcrumbContentHostTheme, FlowbiteBreadcrumbContentTheme, FlowbiteBreadcrumbHostTheme, FlowbiteBreadcrumbItemConfig, FlowbiteBreadcrumbItemHostTheme, FlowbiteBreadcrumbItemTheme, FlowbiteBreadcrumbTheme };
@@ -1,45 +1,11 @@
1
1
  import * as ng_primitives_state from 'ng-primitives/state';
2
2
  import * as _angular_core from '@angular/core';
3
3
  import { InjectionToken, Provider } from '@angular/core';
4
- import { DeepPartial } from 'flowbite-angular';
5
4
  import * as flowbite_angular_button_group from 'flowbite-angular/button-group';
6
-
7
- interface FlowbiteButtonGroupTheme {
8
- host: FlowbiteButtonGroupHostTheme;
9
- }
10
- interface FlowbiteButtonGroupHostTheme {
11
- base: string;
12
- transition: string;
13
- }
14
- declare const flowbiteButtonGroupTheme: FlowbiteButtonGroupTheme;
15
-
16
- interface FlowbiteButtonGroupConfig {
17
- /**
18
- * The default theme of button-group
19
- */
20
- baseTheme: FlowbiteButtonGroupTheme;
21
- /**
22
- * The custom theme of button-group
23
- */
24
- customTheme: DeepPartial<FlowbiteButtonGroupTheme>;
25
- }
26
- declare const defaultFlowbiteButtonGroupConfig: FlowbiteButtonGroupConfig;
27
- declare const FlowbiteButtonGroupConfigToken: InjectionToken<FlowbiteButtonGroupConfig>;
28
- /**
29
- * Provide the default ButtonGroup configuration
30
- * @param config The ButtonGroup configuration
31
- * @returns The provider
32
- */
33
- declare const provideFlowbiteButtonGroupConfig: (config: Partial<FlowbiteButtonGroupConfig>) => Provider[];
34
- /**
35
- * Inject the ButtonGroup configuration
36
- * @see {@link defaultFlowbiteButtonGroupConfig}
37
- * @returns The configuration
38
- */
39
- declare const injectFlowbiteButtonGroupConfig: () => FlowbiteButtonGroupConfig;
5
+ import { DeepPartial } from 'flowbite-angular';
40
6
 
41
7
  declare class ButtonGroup {
42
- readonly config: FlowbiteButtonGroupConfig;
8
+ readonly config: flowbite_angular_button_group.FlowbiteButtonGroupConfig;
43
9
  /**
44
10
  * @see {@link injectFlowbiteButtonGroupConfig}
45
11
  */
@@ -81,5 +47,39 @@ declare const injectFlowbiteButtonGroupState: <U = {
81
47
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
82
48
  declare const flowbiteButtonGroupState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
83
49
 
50
+ interface FlowbiteButtonGroupTheme {
51
+ host: FlowbiteButtonGroupHostTheme;
52
+ }
53
+ interface FlowbiteButtonGroupHostTheme {
54
+ base: string;
55
+ transition: string;
56
+ }
57
+ declare const flowbiteButtonGroupTheme: FlowbiteButtonGroupTheme;
58
+
59
+ interface FlowbiteButtonGroupConfig {
60
+ /**
61
+ * The default theme of button-group
62
+ */
63
+ baseTheme: FlowbiteButtonGroupTheme;
64
+ /**
65
+ * The custom theme of button-group
66
+ */
67
+ customTheme: DeepPartial<FlowbiteButtonGroupTheme>;
68
+ }
69
+ declare const defaultFlowbiteButtonGroupConfig: FlowbiteButtonGroupConfig;
70
+ declare const FlowbiteButtonGroupConfigToken: InjectionToken<FlowbiteButtonGroupConfig>;
71
+ /**
72
+ * Provide the default ButtonGroup configuration
73
+ * @param config The ButtonGroup configuration
74
+ * @returns The provider
75
+ */
76
+ declare const provideFlowbiteButtonGroupConfig: (config: Partial<FlowbiteButtonGroupConfig>) => Provider[];
77
+ /**
78
+ * Inject the ButtonGroup configuration
79
+ * @see {@link defaultFlowbiteButtonGroupConfig}
80
+ * @returns The configuration
81
+ */
82
+ declare const injectFlowbiteButtonGroupConfig: () => FlowbiteButtonGroupConfig;
83
+
84
84
  export { ButtonGroup, FlowbiteButtonGroupConfigToken, FlowbiteButtonGroupStateToken, defaultFlowbiteButtonGroupConfig, flowbiteButtonGroupState, flowbiteButtonGroupTheme, injectFlowbiteButtonGroupConfig, injectFlowbiteButtonGroupState, provideFlowbiteButtonGroupConfig, provideFlowbiteButtonGroupState };
85
85
  export type { FlowbiteButtonGroupConfig, FlowbiteButtonGroupHostTheme, FlowbiteButtonGroupTheme };