flowbite-angular 20.1.2 → 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 +45 -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 +79 -79
  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} +122 -112
  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,59 +2,14 @@ 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_accordion from 'flowbite-angular/accordion';
5
- import { FlowbiteColors, ColorToTheme, DeepPartial, FlowbiteBoolean } from 'flowbite-angular';
6
5
  import * as i1 from 'ng-primitives/accordion';
7
6
  import { NgpAccordionItem } from 'ng-primitives/accordion';
7
+ import { FlowbiteColors, ColorToTheme, DeepPartial, FlowbiteBoolean } from 'flowbite-angular';
8
8
  import * as i1$1 from 'ng-primitives/button';
9
9
  import * as i2 from 'ng-primitives/interactions';
10
10
 
11
- interface FlowbiteAccordionColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
12
- [key: string]: ColorToTheme;
13
- }
14
- interface FlowbiteAccordionTheme {
15
- host: FlowbiteAccordionHostTheme;
16
- }
17
- interface FlowbiteAccordionHostTheme {
18
- base: string;
19
- transition: string;
20
- }
21
- declare const flowbiteAccordionTheme: FlowbiteAccordionTheme;
22
-
23
- interface FlowbiteAccordionConfig {
24
- /**
25
- * The default theme of accordion.
26
- */
27
- baseTheme: FlowbiteAccordionTheme;
28
- /**
29
- * The default color of accordion.
30
- */
31
- color: keyof FlowbiteAccordionColors;
32
- /**
33
- * Whether the accordion is flush.
34
- */
35
- flush: boolean;
36
- /**
37
- * The custom theme of button.
38
- */
39
- customTheme: DeepPartial<FlowbiteAccordionTheme>;
40
- }
41
- declare const defaultFlowbiteAccordionConfig: FlowbiteAccordionConfig;
42
- declare const FlowbiteAccordionConfigToken: InjectionToken<FlowbiteAccordionConfig>;
43
- /**
44
- * Provide the default Accordion configuration
45
- * @param config The Accordion configuration
46
- * @returns The provider
47
- */
48
- declare const provideFlowbiteAccordionConfig: (config: Partial<FlowbiteAccordionConfig>) => Provider[];
49
- /**
50
- * Inject the Accordion configuration
51
- * @see {@link defaultFlowbiteAccordionConfig}
52
- * @returns The configuration
53
- */
54
- declare const injectFlowbiteAccordionConfig: () => FlowbiteAccordionConfig;
55
-
56
11
  declare class Accordion {
57
- readonly config: FlowbiteAccordionConfig;
12
+ readonly config: flowbite_angular_accordion.FlowbiteAccordionConfig;
58
13
  /**
59
14
  * @see {@link injectFlowbiteAccordionConfig}
60
15
  */
@@ -106,42 +61,20 @@ declare const injectFlowbiteAccordionState: <U = {
106
61
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
107
62
  declare const flowbiteAccordionState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
108
63
 
109
- interface FlowbiteAccordionItemTheme {
110
- host: FlowbiteAccordionItemHostTheme;
64
+ interface FlowbiteAccordionColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
65
+ [key: string]: ColorToTheme;
111
66
  }
112
- interface FlowbiteAccordionItemHostTheme {
67
+ interface FlowbiteAccordionTheme {
68
+ host: FlowbiteAccordionHostTheme;
69
+ }
70
+ interface FlowbiteAccordionHostTheme {
113
71
  base: string;
114
72
  transition: string;
115
73
  }
116
- declare const flowbiteAccordionItemTheme: FlowbiteAccordionItemTheme;
117
-
118
- interface FlowbiteAccordionItemConfig {
119
- /**
120
- * The default theme of accordion item.
121
- */
122
- baseTheme: FlowbiteAccordionItemTheme;
123
- /**
124
- * The custom theme of accordion item.
125
- */
126
- customTheme: DeepPartial<FlowbiteAccordionItemTheme>;
127
- }
128
- declare const defaultFlowbiteAccordionItemConfig: FlowbiteAccordionItemConfig;
129
- declare const FlowbiteAccordionItemConfigToken: InjectionToken<FlowbiteAccordionItemConfig>;
130
- /**
131
- * Provide the default Accordion Item configuration
132
- * @param config The Accordion Item configuration
133
- * @returns The provider
134
- */
135
- declare const provideFlowbiteAccordionItemConfig: (config: Partial<FlowbiteAccordionItemConfig>) => Provider[];
136
- /**
137
- * Inject the Accordion Item configuration
138
- * @see {@link defaultFlowbiteAccordionItemConfig}
139
- * @returns The configuration
140
- */
141
- declare const injectFlowbiteAccordionItemConfig: () => FlowbiteAccordionItemConfig;
74
+ declare const flowbiteAccordionTheme: FlowbiteAccordionTheme;
142
75
 
143
76
  declare class AccordionItem {
144
- readonly config: FlowbiteAccordionItemConfig;
77
+ readonly config: flowbite_angular_accordion.FlowbiteAccordionItemConfig;
145
78
  readonly accordionState: _angular_core.Signal<ng_primitives_state.State<{
146
79
  readonly config: flowbite_angular_accordion.FlowbiteAccordionConfig;
147
80
  readonly color: _angular_core.InputSignal<keyof flowbite_angular_accordion.FlowbiteAccordionColors>;
@@ -210,44 +143,75 @@ declare const injectFlowbiteAccordionItemState: <U = {
210
143
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
211
144
  declare const flowbiteAccordionItemState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
212
145
 
213
- interface FlowbiteAccordionTitleTheme {
214
- host: FlowbiteAccordionTitleHostTheme;
146
+ interface FlowbiteAccordionItemTheme {
147
+ host: FlowbiteAccordionItemHostTheme;
215
148
  }
216
- interface FlowbiteAccordionTitleHostTheme {
149
+ interface FlowbiteAccordionItemHostTheme {
217
150
  base: string;
218
151
  transition: string;
219
- color: FlowbiteAccordionColors;
220
- flush: FlowbiteBoolean;
221
152
  }
222
- declare const flowbiteAccordionTitleTheme: FlowbiteAccordionTitleTheme;
153
+ declare const flowbiteAccordionItemTheme: FlowbiteAccordionItemTheme;
223
154
 
224
- interface FlowbiteAccordionTitleConfig {
155
+ interface FlowbiteAccordionItemConfig {
225
156
  /**
226
- * The default theme of AccordionTitle
157
+ * The default theme of accordion item.
227
158
  */
228
- baseTheme: FlowbiteAccordionTitleTheme;
159
+ baseTheme: FlowbiteAccordionItemTheme;
229
160
  /**
230
- * The custom theme of AccordionTitle
161
+ * The custom theme of accordion item.
231
162
  */
232
- customTheme: DeepPartial<FlowbiteAccordionTitleTheme>;
163
+ customTheme: DeepPartial<FlowbiteAccordionItemTheme>;
233
164
  }
234
- declare const defaultFlowbiteAccordionTitleConfig: FlowbiteAccordionTitleConfig;
235
- declare const FlowbiteAccordionTitleConfigToken: InjectionToken<FlowbiteAccordionTitleConfig>;
165
+ declare const defaultFlowbiteAccordionItemConfig: FlowbiteAccordionItemConfig;
166
+ declare const FlowbiteAccordionItemConfigToken: InjectionToken<FlowbiteAccordionItemConfig>;
236
167
  /**
237
- * Provide the default AccordionTitle configuration
238
- * @param config The AccordionTitle configuration
168
+ * Provide the default Accordion Item configuration
169
+ * @param config The Accordion Item configuration
239
170
  * @returns The provider
240
171
  */
241
- declare const provideFlowbiteAccordionTitleConfig: (config: Partial<FlowbiteAccordionTitleConfig>) => Provider[];
172
+ declare const provideFlowbiteAccordionItemConfig: (config: Partial<FlowbiteAccordionItemConfig>) => Provider[];
242
173
  /**
243
- * Inject the AccordionTitle configuration
244
- * @see {@link defaultFlowbiteAccordionTitleConfig}
174
+ * Inject the Accordion Item configuration
175
+ * @see {@link defaultFlowbiteAccordionItemConfig}
245
176
  * @returns The configuration
246
177
  */
247
- declare const injectFlowbiteAccordionTitleConfig: () => FlowbiteAccordionTitleConfig;
178
+ declare const injectFlowbiteAccordionItemConfig: () => FlowbiteAccordionItemConfig;
179
+
180
+ interface FlowbiteAccordionConfig {
181
+ /**
182
+ * The default theme of accordion.
183
+ */
184
+ baseTheme: FlowbiteAccordionTheme;
185
+ /**
186
+ * The default color of accordion.
187
+ */
188
+ color: keyof FlowbiteAccordionColors;
189
+ /**
190
+ * Whether the accordion is flush.
191
+ */
192
+ flush: boolean;
193
+ /**
194
+ * The custom theme of button.
195
+ */
196
+ customTheme: DeepPartial<FlowbiteAccordionTheme>;
197
+ }
198
+ declare const defaultFlowbiteAccordionConfig: FlowbiteAccordionConfig;
199
+ declare const FlowbiteAccordionConfigToken: InjectionToken<FlowbiteAccordionConfig>;
200
+ /**
201
+ * Provide the default Accordion configuration
202
+ * @param config The Accordion configuration
203
+ * @returns The provider
204
+ */
205
+ declare const provideFlowbiteAccordionConfig: (config: Partial<FlowbiteAccordionConfig>) => Provider[];
206
+ /**
207
+ * Inject the Accordion configuration
208
+ * @see {@link defaultFlowbiteAccordionConfig}
209
+ * @returns The configuration
210
+ */
211
+ declare const injectFlowbiteAccordionConfig: () => FlowbiteAccordionConfig;
248
212
 
249
213
  declare class AccordionTitle {
250
- readonly config: FlowbiteAccordionTitleConfig;
214
+ readonly config: flowbite_angular_accordion.FlowbiteAccordionTitleConfig;
251
215
  readonly accordionState: _angular_core.Signal<ng_primitives_state.State<{
252
216
  readonly config: flowbite_angular_accordion.FlowbiteAccordionConfig;
253
217
  readonly color: _angular_core.InputSignal<keyof flowbite_angular_accordion.FlowbiteAccordionColors>;
@@ -382,45 +346,44 @@ declare const injectFlowbiteAccordionTitleState: <U = {
382
346
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
383
347
  declare const flowbiteAccordionTitleState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
384
348
 
385
- interface FlowbiteAccordionContentTheme {
386
- host: FlowbiteAccordionContentHostTheme;
349
+ interface FlowbiteAccordionTitleTheme {
350
+ host: FlowbiteAccordionTitleHostTheme;
387
351
  }
388
- interface FlowbiteAccordionContentHostTheme {
352
+ interface FlowbiteAccordionTitleHostTheme {
389
353
  base: string;
390
354
  transition: string;
391
355
  color: FlowbiteAccordionColors;
392
356
  flush: FlowbiteBoolean;
393
- open: FlowbiteBoolean;
394
357
  }
395
- declare const flowbiteAccordionContentTheme: FlowbiteAccordionContentTheme;
358
+ declare const flowbiteAccordionTitleTheme: FlowbiteAccordionTitleTheme;
396
359
 
397
- interface FlowbiteAccordionContentConfig {
360
+ interface FlowbiteAccordionTitleConfig {
398
361
  /**
399
- * The default theme of AccordionContent
362
+ * The default theme of AccordionTitle
400
363
  */
401
- baseTheme: FlowbiteAccordionContentTheme;
364
+ baseTheme: FlowbiteAccordionTitleTheme;
402
365
  /**
403
- * The custom theme of AccordionContent
366
+ * The custom theme of AccordionTitle
404
367
  */
405
- customTheme: DeepPartial<FlowbiteAccordionContentTheme>;
368
+ customTheme: DeepPartial<FlowbiteAccordionTitleTheme>;
406
369
  }
407
- declare const defaultFlowbiteAccordionContentConfig: FlowbiteAccordionContentConfig;
408
- declare const FlowbiteAccordionContentConfigToken: InjectionToken<FlowbiteAccordionContentConfig>;
370
+ declare const defaultFlowbiteAccordionTitleConfig: FlowbiteAccordionTitleConfig;
371
+ declare const FlowbiteAccordionTitleConfigToken: InjectionToken<FlowbiteAccordionTitleConfig>;
409
372
  /**
410
- * Provide the default AccordionContent configuration
411
- * @param config The AccordionContent configuration
373
+ * Provide the default AccordionTitle configuration
374
+ * @param config The AccordionTitle configuration
412
375
  * @returns The provider
413
376
  */
414
- declare const provideFlowbiteAccordionContentConfig: (config: Partial<FlowbiteAccordionContentConfig>) => Provider[];
377
+ declare const provideFlowbiteAccordionTitleConfig: (config: Partial<FlowbiteAccordionTitleConfig>) => Provider[];
415
378
  /**
416
- * Inject the AccordionContent configuration
417
- * @see {@link defaultFlowbiteAccordionContentConfig}
379
+ * Inject the AccordionTitle configuration
380
+ * @see {@link defaultFlowbiteAccordionTitleConfig}
418
381
  * @returns The configuration
419
382
  */
420
- declare const injectFlowbiteAccordionContentConfig: () => FlowbiteAccordionContentConfig;
383
+ declare const injectFlowbiteAccordionTitleConfig: () => FlowbiteAccordionTitleConfig;
421
384
 
422
385
  declare class AccordionContent {
423
- readonly config: FlowbiteAccordionContentConfig;
386
+ readonly config: flowbite_angular_accordion.FlowbiteAccordionContentConfig;
424
387
  readonly accordionState: _angular_core.Signal<ng_primitives_state.State<{
425
388
  readonly config: flowbite_angular_accordion.FlowbiteAccordionConfig;
426
389
  readonly color: _angular_core.InputSignal<keyof flowbite_angular_accordion.FlowbiteAccordionColors>;
@@ -565,5 +528,42 @@ declare const injectFlowbiteAccordionContentState: <U = {
565
528
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
566
529
  declare const flowbiteAccordionContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
567
530
 
531
+ interface FlowbiteAccordionContentTheme {
532
+ host: FlowbiteAccordionContentHostTheme;
533
+ }
534
+ interface FlowbiteAccordionContentHostTheme {
535
+ base: string;
536
+ transition: string;
537
+ color: FlowbiteAccordionColors;
538
+ flush: FlowbiteBoolean;
539
+ open: FlowbiteBoolean;
540
+ }
541
+ declare const flowbiteAccordionContentTheme: FlowbiteAccordionContentTheme;
542
+
543
+ interface FlowbiteAccordionContentConfig {
544
+ /**
545
+ * The default theme of AccordionContent
546
+ */
547
+ baseTheme: FlowbiteAccordionContentTheme;
548
+ /**
549
+ * The custom theme of AccordionContent
550
+ */
551
+ customTheme: DeepPartial<FlowbiteAccordionContentTheme>;
552
+ }
553
+ declare const defaultFlowbiteAccordionContentConfig: FlowbiteAccordionContentConfig;
554
+ declare const FlowbiteAccordionContentConfigToken: InjectionToken<FlowbiteAccordionContentConfig>;
555
+ /**
556
+ * Provide the default AccordionContent configuration
557
+ * @param config The AccordionContent configuration
558
+ * @returns The provider
559
+ */
560
+ declare const provideFlowbiteAccordionContentConfig: (config: Partial<FlowbiteAccordionContentConfig>) => Provider[];
561
+ /**
562
+ * Inject the AccordionContent configuration
563
+ * @see {@link defaultFlowbiteAccordionContentConfig}
564
+ * @returns The configuration
565
+ */
566
+ declare const injectFlowbiteAccordionContentConfig: () => FlowbiteAccordionContentConfig;
567
+
568
568
  export { Accordion, AccordionContent, AccordionItem, AccordionTitle, FlowbiteAccordionConfigToken, FlowbiteAccordionContentConfigToken, FlowbiteAccordionContentStateToken, FlowbiteAccordionItemConfigToken, FlowbiteAccordionItemStateToken, FlowbiteAccordionStateToken, FlowbiteAccordionTitleConfigToken, FlowbiteAccordionTitleStateToken, defaultFlowbiteAccordionConfig, defaultFlowbiteAccordionContentConfig, defaultFlowbiteAccordionItemConfig, defaultFlowbiteAccordionTitleConfig, flowbiteAccordionContentState, flowbiteAccordionContentTheme, flowbiteAccordionItemState, flowbiteAccordionItemTheme, flowbiteAccordionState, flowbiteAccordionTheme, flowbiteAccordionTitleState, flowbiteAccordionTitleTheme, injectFlowbiteAccordionConfig, injectFlowbiteAccordionContentConfig, injectFlowbiteAccordionContentState, injectFlowbiteAccordionItemConfig, injectFlowbiteAccordionItemState, injectFlowbiteAccordionState, injectFlowbiteAccordionTitleConfig, injectFlowbiteAccordionTitleState, provideFlowbiteAccordionConfig, provideFlowbiteAccordionContentConfig, provideFlowbiteAccordionContentState, provideFlowbiteAccordionItemConfig, provideFlowbiteAccordionItemState, provideFlowbiteAccordionState, provideFlowbiteAccordionTitleConfig, provideFlowbiteAccordionTitleState };
569
569
  export type { FlowbiteAccordionColors, FlowbiteAccordionConfig, FlowbiteAccordionContentConfig, FlowbiteAccordionContentHostTheme, FlowbiteAccordionContentTheme, FlowbiteAccordionHostTheme, FlowbiteAccordionItemConfig, FlowbiteAccordionItemHostTheme, FlowbiteAccordionItemTheme, FlowbiteAccordionTheme, FlowbiteAccordionTitleConfig, FlowbiteAccordionTitleHostTheme, FlowbiteAccordionTitleTheme };
@@ -6,60 +6,8 @@ import { FlowbiteColors, ColorToTheme, FlowbiteBoolean, DeepPartial } from 'flow
6
6
  import * as i1 from 'ng-primitives/button';
7
7
  import * as i2 from 'ng-primitives/interactions';
8
8
 
9
- interface FlowbiteAlertColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
10
- [key: string]: ColorToTheme;
11
- }
12
- interface FlowbiteAlertTheme {
13
- host: FlowbiteAlertHostTheme;
14
- }
15
- interface FlowbiteAlertHostTheme {
16
- base: string;
17
- transition: string;
18
- color: FlowbiteAlertColors;
19
- border: FlowbiteBoolean;
20
- accent: FlowbiteBoolean;
21
- }
22
- declare const flowbiteAlertTheme: FlowbiteAlertTheme;
23
-
24
- interface FlowbiteAlertConfig {
25
- /**
26
- * The default theme of alert
27
- */
28
- baseTheme: FlowbiteAlertTheme;
29
- /**
30
- * The default color of alert
31
- */
32
- color: keyof FlowbiteAlertColors;
33
- /**
34
- * Wether the alert has border
35
- */
36
- border: boolean;
37
- /**
38
- * Wether the alert has border accent
39
- */
40
- accent: boolean;
41
- /**
42
- * The custom theme of alert
43
- */
44
- customTheme: DeepPartial<FlowbiteAlertTheme>;
45
- }
46
- declare const defaultFlowbiteAlertConfig: FlowbiteAlertConfig;
47
- declare const FlowbiteAlertConfigToken: InjectionToken<FlowbiteAlertConfig>;
48
- /**
49
- * Provide the default Alert configuration
50
- * @param config The Alert configuration
51
- * @returns The provider
52
- */
53
- declare const provideFlowbiteAlertConfig: (config: Partial<FlowbiteAlertConfig>) => Provider[];
54
- /**
55
- * Inject the Alert configuration
56
- * @see {@link defaultFlowbiteAlertConfig}
57
- * @returns The configuration
58
- */
59
- declare const injectFlowbiteAlertConfig: () => FlowbiteAlertConfig;
60
-
61
9
  declare class Alert {
62
- readonly config: FlowbiteAlertConfig;
10
+ readonly config: flowbite_angular_alert.FlowbiteAlertConfig;
63
11
  /**
64
12
  * @see {@link injectFlowbiteAlertConfig}
65
13
  */
@@ -192,43 +140,60 @@ declare const injectFlowbiteAlertState: <U = {
192
140
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
193
141
  declare const flowbiteAlertState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
194
142
 
195
- interface FlowbiteAlertButtonTheme {
196
- host: FlowbiteAlertButtonHostTheme;
143
+ interface FlowbiteAlertColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
144
+ [key: string]: ColorToTheme;
197
145
  }
198
- interface FlowbiteAlertButtonHostTheme {
146
+ interface FlowbiteAlertTheme {
147
+ host: FlowbiteAlertHostTheme;
148
+ }
149
+ interface FlowbiteAlertHostTheme {
199
150
  base: string;
200
151
  transition: string;
201
152
  color: FlowbiteAlertColors;
153
+ border: FlowbiteBoolean;
154
+ accent: FlowbiteBoolean;
202
155
  }
203
- declare const flowbiteAlertButtonTheme: FlowbiteAlertButtonTheme;
156
+ declare const flowbiteAlertTheme: FlowbiteAlertTheme;
204
157
 
205
- interface FlowbiteAlertButtonConfig {
158
+ interface FlowbiteAlertConfig {
206
159
  /**
207
- * The default theme of AlertButton
160
+ * The default theme of alert
208
161
  */
209
- baseTheme: FlowbiteAlertButtonTheme;
162
+ baseTheme: FlowbiteAlertTheme;
210
163
  /**
211
- * The custom theme of AlertButton
164
+ * The default color of alert
212
165
  */
213
- customTheme: DeepPartial<FlowbiteAlertButtonTheme>;
166
+ color: keyof FlowbiteAlertColors;
167
+ /**
168
+ * Wether the alert has border
169
+ */
170
+ border: boolean;
171
+ /**
172
+ * Wether the alert has border accent
173
+ */
174
+ accent: boolean;
175
+ /**
176
+ * The custom theme of alert
177
+ */
178
+ customTheme: DeepPartial<FlowbiteAlertTheme>;
214
179
  }
215
- declare const defaultFlowbiteAlertButtonConfig: FlowbiteAlertButtonConfig;
216
- declare const FlowbiteAlertButtonConfigToken: InjectionToken<FlowbiteAlertButtonConfig>;
180
+ declare const defaultFlowbiteAlertConfig: FlowbiteAlertConfig;
181
+ declare const FlowbiteAlertConfigToken: InjectionToken<FlowbiteAlertConfig>;
217
182
  /**
218
- * Provide the default AlertButton configuration
219
- * @param config The AlertButton configuration
183
+ * Provide the default Alert configuration
184
+ * @param config The Alert configuration
220
185
  * @returns The provider
221
186
  */
222
- declare const provideFlowbiteAlertButtonConfig: (config: Partial<FlowbiteAlertButtonConfig>) => Provider[];
187
+ declare const provideFlowbiteAlertConfig: (config: Partial<FlowbiteAlertConfig>) => Provider[];
223
188
  /**
224
- * Inject the AlertButton configuration
225
- * @see {@link defaultFlowbiteAlertButtonConfig}
189
+ * Inject the Alert configuration
190
+ * @see {@link defaultFlowbiteAlertConfig}
226
191
  * @returns The configuration
227
192
  */
228
- declare const injectFlowbiteAlertButtonConfig: () => FlowbiteAlertButtonConfig;
193
+ declare const injectFlowbiteAlertConfig: () => FlowbiteAlertConfig;
229
194
 
230
195
  declare class AlertButton {
231
- readonly config: FlowbiteAlertButtonConfig;
196
+ readonly config: flowbite_angular_alert.FlowbiteAlertButtonConfig;
232
197
  readonly alertState: _angular_core.Signal<ng_primitives_state.State<{
233
198
  readonly config: flowbite_angular_alert.FlowbiteAlertConfig;
234
199
  readonly color: _angular_core.InputSignal<keyof flowbite_angular_alert.FlowbiteAlertColors>;
@@ -395,43 +360,43 @@ declare const injectFlowbiteAlertButtonState: <U = {
395
360
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
396
361
  declare const flowbiteAlertButtonState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
397
362
 
398
- interface FlowbiteAlertContentTheme {
399
- host: FlowbiteAlertContentHostTheme;
363
+ interface FlowbiteAlertButtonTheme {
364
+ host: FlowbiteAlertButtonHostTheme;
400
365
  }
401
- interface FlowbiteAlertContentHostTheme {
366
+ interface FlowbiteAlertButtonHostTheme {
402
367
  base: string;
403
368
  transition: string;
404
369
  color: FlowbiteAlertColors;
405
370
  }
406
- declare const flowbiteAlertContentTheme: FlowbiteAlertContentTheme;
371
+ declare const flowbiteAlertButtonTheme: FlowbiteAlertButtonTheme;
407
372
 
408
- interface FlowbiteAlertContentConfig {
373
+ interface FlowbiteAlertButtonConfig {
409
374
  /**
410
- * The default theme of AlertContent
375
+ * The default theme of AlertButton
411
376
  */
412
- baseTheme: FlowbiteAlertContentTheme;
377
+ baseTheme: FlowbiteAlertButtonTheme;
413
378
  /**
414
- * The custom theme of AlertContent
379
+ * The custom theme of AlertButton
415
380
  */
416
- customTheme: DeepPartial<FlowbiteAlertContentTheme>;
381
+ customTheme: DeepPartial<FlowbiteAlertButtonTheme>;
417
382
  }
418
- declare const defaultFlowbiteAlertContentConfig: FlowbiteAlertContentConfig;
419
- declare const FlowbiteAlertContentConfigToken: InjectionToken<FlowbiteAlertContentConfig>;
383
+ declare const defaultFlowbiteAlertButtonConfig: FlowbiteAlertButtonConfig;
384
+ declare const FlowbiteAlertButtonConfigToken: InjectionToken<FlowbiteAlertButtonConfig>;
420
385
  /**
421
- * Provide the default AlertContent configuration
422
- * @param config The AlertContent configuration
386
+ * Provide the default AlertButton configuration
387
+ * @param config The AlertButton configuration
423
388
  * @returns The provider
424
389
  */
425
- declare const provideFlowbiteAlertContentConfig: (config: Partial<FlowbiteAlertContentConfig>) => Provider[];
390
+ declare const provideFlowbiteAlertButtonConfig: (config: Partial<FlowbiteAlertButtonConfig>) => Provider[];
426
391
  /**
427
- * Inject the AlertContent configuration
428
- * @see {@link defaultFlowbiteAlertContentConfig}
392
+ * Inject the AlertButton configuration
393
+ * @see {@link defaultFlowbiteAlertButtonConfig}
429
394
  * @returns The configuration
430
395
  */
431
- declare const injectFlowbiteAlertContentConfig: () => FlowbiteAlertContentConfig;
396
+ declare const injectFlowbiteAlertButtonConfig: () => FlowbiteAlertButtonConfig;
432
397
 
433
398
  declare class AlertContent {
434
- readonly config: FlowbiteAlertContentConfig;
399
+ readonly config: flowbite_angular_alert.FlowbiteAlertContentConfig;
435
400
  readonly alertState: _angular_core.Signal<ng_primitives_state.State<{
436
401
  readonly config: flowbite_angular_alert.FlowbiteAlertConfig;
437
402
  readonly color: _angular_core.InputSignal<keyof flowbite_angular_alert.FlowbiteAlertColors>;
@@ -598,5 +563,40 @@ declare const injectFlowbiteAlertContentState: <U = {
598
563
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
599
564
  declare const flowbiteAlertContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
600
565
 
566
+ interface FlowbiteAlertContentTheme {
567
+ host: FlowbiteAlertContentHostTheme;
568
+ }
569
+ interface FlowbiteAlertContentHostTheme {
570
+ base: string;
571
+ transition: string;
572
+ color: FlowbiteAlertColors;
573
+ }
574
+ declare const flowbiteAlertContentTheme: FlowbiteAlertContentTheme;
575
+
576
+ interface FlowbiteAlertContentConfig {
577
+ /**
578
+ * The default theme of AlertContent
579
+ */
580
+ baseTheme: FlowbiteAlertContentTheme;
581
+ /**
582
+ * The custom theme of AlertContent
583
+ */
584
+ customTheme: DeepPartial<FlowbiteAlertContentTheme>;
585
+ }
586
+ declare const defaultFlowbiteAlertContentConfig: FlowbiteAlertContentConfig;
587
+ declare const FlowbiteAlertContentConfigToken: InjectionToken<FlowbiteAlertContentConfig>;
588
+ /**
589
+ * Provide the default AlertContent configuration
590
+ * @param config The AlertContent configuration
591
+ * @returns The provider
592
+ */
593
+ declare const provideFlowbiteAlertContentConfig: (config: Partial<FlowbiteAlertContentConfig>) => Provider[];
594
+ /**
595
+ * Inject the AlertContent configuration
596
+ * @see {@link defaultFlowbiteAlertContentConfig}
597
+ * @returns The configuration
598
+ */
599
+ declare const injectFlowbiteAlertContentConfig: () => FlowbiteAlertContentConfig;
600
+
601
601
  export { Alert, AlertButton, AlertContent, FlowbiteAlertButtonConfigToken, FlowbiteAlertButtonStateToken, FlowbiteAlertConfigToken, FlowbiteAlertContentConfigToken, FlowbiteAlertContentStateToken, FlowbiteAlertStateToken, defaultFlowbiteAlertButtonConfig, defaultFlowbiteAlertConfig, defaultFlowbiteAlertContentConfig, flowbiteAlertButtonState, flowbiteAlertButtonTheme, flowbiteAlertContentState, flowbiteAlertContentTheme, flowbiteAlertState, flowbiteAlertTheme, injectFlowbiteAlertButtonConfig, injectFlowbiteAlertButtonState, injectFlowbiteAlertConfig, injectFlowbiteAlertContentConfig, injectFlowbiteAlertContentState, injectFlowbiteAlertState, provideFlowbiteAlertButtonConfig, provideFlowbiteAlertButtonState, provideFlowbiteAlertConfig, provideFlowbiteAlertContentConfig, provideFlowbiteAlertContentState, provideFlowbiteAlertState };
602
602
  export type { FlowbiteAlertButtonConfig, FlowbiteAlertButtonHostTheme, FlowbiteAlertButtonTheme, FlowbiteAlertColors, FlowbiteAlertConfig, FlowbiteAlertContentConfig, FlowbiteAlertContentHostTheme, FlowbiteAlertContentTheme, FlowbiteAlertHostTheme, FlowbiteAlertTheme };