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
@@ -1,56 +1,11 @@
1
1
  import * as ng_primitives_state from 'ng-primitives/state';
2
- import * as flowbite_angular_table from 'flowbite-angular/table';
3
2
  import * as _angular_core from '@angular/core';
4
- import { InjectionToken, Provider, TemplateRef } from '@angular/core';
3
+ import { TemplateRef, InjectionToken, Provider } from '@angular/core';
4
+ import * as flowbite_angular_table from 'flowbite-angular/table';
5
5
  import { FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
6
6
 
7
- interface FlowbiteTableColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
8
- [key: string]: ColorToTheme;
9
- }
10
- interface FlowbiteTableTheme {
11
- host: FlowbiteTableHostTheme;
12
- }
13
- interface FlowbiteTableHostTheme {
14
- base: string;
15
- color: FlowbiteTableColors;
16
- }
17
- declare const flowbiteTableTheme: FlowbiteTableTheme;
18
-
19
- interface FlowbiteTableConfig {
20
- /**
21
- * The default theme of table
22
- */
23
- baseTheme: FlowbiteTableTheme;
24
- /**
25
- * The default color of table.
26
- */
27
- color: keyof FlowbiteTableColors;
28
- /**
29
- * Whether the table is striped.
30
- */
31
- striped: boolean;
32
- /**
33
- * The custom theme of table
34
- */
35
- customTheme: DeepPartial<FlowbiteTableTheme>;
36
- }
37
- declare const defaultFlowbiteTableConfig: FlowbiteTableConfig;
38
- declare const FlowbiteTableConfigToken: InjectionToken<FlowbiteTableConfig>;
39
- /**
40
- * Provide the default Table configuration
41
- * @param config The Table configuration
42
- * @returns The provider
43
- */
44
- declare const provideFlowbiteTableConfig: (config: Partial<FlowbiteTableConfig>) => Provider[];
45
- /**
46
- * Inject the Table configuration
47
- * @see {@link defaultFlowbiteTableConfig}
48
- * @returns The configuration
49
- */
50
- declare const injectFlowbiteTableConfig: () => FlowbiteTableConfig;
51
-
52
7
  declare class Table {
53
- readonly config: FlowbiteTableConfig;
8
+ readonly config: flowbite_angular_table.FlowbiteTableConfig;
54
9
  readonly tableHead: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
55
10
  readonly tableBody: _angular_core.InputSignal<TemplateRef<unknown> | undefined>;
56
11
  readonly data: _angular_core.InputSignal<unknown[] | undefined>;
@@ -168,42 +123,53 @@ declare const injectFlowbiteTableState: <U = {
168
123
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
169
124
  declare const flowbiteTableState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
170
125
 
171
- interface FlowbiteTableHeadTheme {
172
- host: FlowbiteTableHeadHostTheme;
126
+ interface FlowbiteTableColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
127
+ [key: string]: ColorToTheme;
173
128
  }
174
- interface FlowbiteTableHeadHostTheme {
129
+ interface FlowbiteTableTheme {
130
+ host: FlowbiteTableHostTheme;
131
+ }
132
+ interface FlowbiteTableHostTheme {
175
133
  base: string;
176
134
  color: FlowbiteTableColors;
177
135
  }
178
- declare const flowbiteTableHeadTheme: FlowbiteTableHeadTheme;
136
+ declare const flowbiteTableTheme: FlowbiteTableTheme;
179
137
 
180
- interface FlowbiteTableHeadConfig {
138
+ interface FlowbiteTableConfig {
181
139
  /**
182
- * The default theme of table-head
140
+ * The default theme of table
183
141
  */
184
- baseTheme: FlowbiteTableHeadTheme;
142
+ baseTheme: FlowbiteTableTheme;
185
143
  /**
186
- * The custom theme of table-head
144
+ * The default color of table.
187
145
  */
188
- customTheme: DeepPartial<FlowbiteTableHeadTheme>;
146
+ color: keyof FlowbiteTableColors;
147
+ /**
148
+ * Whether the table is striped.
149
+ */
150
+ striped: boolean;
151
+ /**
152
+ * The custom theme of table
153
+ */
154
+ customTheme: DeepPartial<FlowbiteTableTheme>;
189
155
  }
190
- declare const defaultFlowbiteTableHeadConfig: FlowbiteTableHeadConfig;
191
- declare const FlowbiteTableHeadConfigToken: InjectionToken<FlowbiteTableHeadConfig>;
156
+ declare const defaultFlowbiteTableConfig: FlowbiteTableConfig;
157
+ declare const FlowbiteTableConfigToken: InjectionToken<FlowbiteTableConfig>;
192
158
  /**
193
- * Provide the default TableHead configuration
194
- * @param config The TableHead configuration
159
+ * Provide the default Table configuration
160
+ * @param config The Table configuration
195
161
  * @returns The provider
196
162
  */
197
- declare const provideFlowbiteTableHeadConfig: (config: Partial<FlowbiteTableHeadConfig>) => Provider[];
163
+ declare const provideFlowbiteTableConfig: (config: Partial<FlowbiteTableConfig>) => Provider[];
198
164
  /**
199
- * Inject the TableHead configuration
200
- * @see {@link defaultFlowbiteTableHeadConfig}
165
+ * Inject the Table configuration
166
+ * @see {@link defaultFlowbiteTableConfig}
201
167
  * @returns The configuration
202
168
  */
203
- declare const injectFlowbiteTableHeadConfig: () => FlowbiteTableHeadConfig;
169
+ declare const injectFlowbiteTableConfig: () => FlowbiteTableConfig;
204
170
 
205
171
  declare class TableHead {
206
- readonly config: FlowbiteTableHeadConfig;
172
+ readonly config: flowbite_angular_table.FlowbiteTableHeadConfig;
207
173
  readonly tableState: _angular_core.Signal<ng_primitives_state.State<{
208
174
  readonly config: flowbite_angular_table.FlowbiteTableConfig;
209
175
  readonly tableHead: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
@@ -365,42 +331,42 @@ declare const injectFlowbiteTableHeadState: <U = {
365
331
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
366
332
  declare const flowbiteTableHeadState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
367
333
 
368
- interface FlowbiteTableBodyTheme {
369
- host: FlowbiteTableBodyHostTheme;
334
+ interface FlowbiteTableHeadTheme {
335
+ host: FlowbiteTableHeadHostTheme;
370
336
  }
371
- interface FlowbiteTableBodyHostTheme {
337
+ interface FlowbiteTableHeadHostTheme {
372
338
  base: string;
373
339
  color: FlowbiteTableColors;
374
340
  }
375
- declare const flowbiteTableBodyTheme: FlowbiteTableBodyTheme;
341
+ declare const flowbiteTableHeadTheme: FlowbiteTableHeadTheme;
376
342
 
377
- interface FlowbiteTableBodyConfig {
343
+ interface FlowbiteTableHeadConfig {
378
344
  /**
379
- * The default theme of table-body
345
+ * The default theme of table-head
380
346
  */
381
- baseTheme: FlowbiteTableBodyTheme;
347
+ baseTheme: FlowbiteTableHeadTheme;
382
348
  /**
383
- * The custom theme of table-body
349
+ * The custom theme of table-head
384
350
  */
385
- customTheme: DeepPartial<FlowbiteTableBodyTheme>;
351
+ customTheme: DeepPartial<FlowbiteTableHeadTheme>;
386
352
  }
387
- declare const defaultFlowbiteTableBodyConfig: FlowbiteTableBodyConfig;
388
- declare const FlowbiteTableBodyConfigToken: InjectionToken<FlowbiteTableBodyConfig>;
353
+ declare const defaultFlowbiteTableHeadConfig: FlowbiteTableHeadConfig;
354
+ declare const FlowbiteTableHeadConfigToken: InjectionToken<FlowbiteTableHeadConfig>;
389
355
  /**
390
- * Provide the default TableBody configuration
391
- * @param config The TableBody configuration
356
+ * Provide the default TableHead configuration
357
+ * @param config The TableHead configuration
392
358
  * @returns The provider
393
359
  */
394
- declare const provideFlowbiteTableBodyConfig: (config: Partial<FlowbiteTableBodyConfig>) => Provider[];
360
+ declare const provideFlowbiteTableHeadConfig: (config: Partial<FlowbiteTableHeadConfig>) => Provider[];
395
361
  /**
396
- * Inject the TableBody configuration
397
- * @see {@link defaultFlowbiteTableBodyConfig}
362
+ * Inject the TableHead configuration
363
+ * @see {@link defaultFlowbiteTableHeadConfig}
398
364
  * @returns The configuration
399
365
  */
400
- declare const injectFlowbiteTableBodyConfig: () => FlowbiteTableBodyConfig;
366
+ declare const injectFlowbiteTableHeadConfig: () => FlowbiteTableHeadConfig;
401
367
 
402
368
  declare class TableBody {
403
- readonly config: FlowbiteTableBodyConfig;
369
+ readonly config: flowbite_angular_table.FlowbiteTableBodyConfig;
404
370
  readonly tableState: _angular_core.Signal<ng_primitives_state.State<{
405
371
  readonly config: flowbite_angular_table.FlowbiteTableConfig;
406
372
  readonly tableHead: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
@@ -562,42 +528,42 @@ declare const injectFlowbiteTableBodyState: <U = {
562
528
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
563
529
  declare const flowbiteTableBodyState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
564
530
 
565
- interface FlowbiteTableFootTheme {
566
- host: FlowbiteTableFootHostTheme;
531
+ interface FlowbiteTableBodyTheme {
532
+ host: FlowbiteTableBodyHostTheme;
567
533
  }
568
- interface FlowbiteTableFootHostTheme {
534
+ interface FlowbiteTableBodyHostTheme {
569
535
  base: string;
570
536
  color: FlowbiteTableColors;
571
537
  }
572
- declare const flowbiteTableFootTheme: FlowbiteTableFootTheme;
538
+ declare const flowbiteTableBodyTheme: FlowbiteTableBodyTheme;
573
539
 
574
- interface FlowbiteTableFootConfig {
540
+ interface FlowbiteTableBodyConfig {
575
541
  /**
576
- * The default theme of table-foot
542
+ * The default theme of table-body
577
543
  */
578
- baseTheme: FlowbiteTableFootTheme;
544
+ baseTheme: FlowbiteTableBodyTheme;
579
545
  /**
580
- * The custom theme of table-foot
546
+ * The custom theme of table-body
581
547
  */
582
- customTheme: DeepPartial<FlowbiteTableFootTheme>;
548
+ customTheme: DeepPartial<FlowbiteTableBodyTheme>;
583
549
  }
584
- declare const defaultFlowbiteTableFootConfig: FlowbiteTableFootConfig;
585
- declare const FlowbiteTableFootConfigToken: InjectionToken<FlowbiteTableFootConfig>;
550
+ declare const defaultFlowbiteTableBodyConfig: FlowbiteTableBodyConfig;
551
+ declare const FlowbiteTableBodyConfigToken: InjectionToken<FlowbiteTableBodyConfig>;
586
552
  /**
587
- * Provide the default TableFoot configuration
588
- * @param config The TableFoot configuration
553
+ * Provide the default TableBody configuration
554
+ * @param config The TableBody configuration
589
555
  * @returns The provider
590
556
  */
591
- declare const provideFlowbiteTableFootConfig: (config: Partial<FlowbiteTableFootConfig>) => Provider[];
557
+ declare const provideFlowbiteTableBodyConfig: (config: Partial<FlowbiteTableBodyConfig>) => Provider[];
592
558
  /**
593
- * Inject the TableFoot configuration
594
- * @see {@link defaultFlowbiteTableFootConfig}
559
+ * Inject the TableBody configuration
560
+ * @see {@link defaultFlowbiteTableBodyConfig}
595
561
  * @returns The configuration
596
562
  */
597
- declare const injectFlowbiteTableFootConfig: () => FlowbiteTableFootConfig;
563
+ declare const injectFlowbiteTableBodyConfig: () => FlowbiteTableBodyConfig;
598
564
 
599
565
  declare class TableFoot {
600
- readonly config: FlowbiteTableFootConfig;
566
+ readonly config: flowbite_angular_table.FlowbiteTableFootConfig;
601
567
  readonly tableState: _angular_core.Signal<ng_primitives_state.State<{
602
568
  readonly config: flowbite_angular_table.FlowbiteTableConfig;
603
569
  readonly tableHead: _angular_core.InputSignal<_angular_core.TemplateRef<unknown> | undefined>;
@@ -759,5 +725,39 @@ declare const injectFlowbiteTableFootState: <U = {
759
725
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
760
726
  declare const flowbiteTableFootState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
761
727
 
728
+ interface FlowbiteTableFootTheme {
729
+ host: FlowbiteTableFootHostTheme;
730
+ }
731
+ interface FlowbiteTableFootHostTheme {
732
+ base: string;
733
+ color: FlowbiteTableColors;
734
+ }
735
+ declare const flowbiteTableFootTheme: FlowbiteTableFootTheme;
736
+
737
+ interface FlowbiteTableFootConfig {
738
+ /**
739
+ * The default theme of table-foot
740
+ */
741
+ baseTheme: FlowbiteTableFootTheme;
742
+ /**
743
+ * The custom theme of table-foot
744
+ */
745
+ customTheme: DeepPartial<FlowbiteTableFootTheme>;
746
+ }
747
+ declare const defaultFlowbiteTableFootConfig: FlowbiteTableFootConfig;
748
+ declare const FlowbiteTableFootConfigToken: InjectionToken<FlowbiteTableFootConfig>;
749
+ /**
750
+ * Provide the default TableFoot configuration
751
+ * @param config The TableFoot configuration
752
+ * @returns The provider
753
+ */
754
+ declare const provideFlowbiteTableFootConfig: (config: Partial<FlowbiteTableFootConfig>) => Provider[];
755
+ /**
756
+ * Inject the TableFoot configuration
757
+ * @see {@link defaultFlowbiteTableFootConfig}
758
+ * @returns The configuration
759
+ */
760
+ declare const injectFlowbiteTableFootConfig: () => FlowbiteTableFootConfig;
761
+
762
762
  export { FlowbiteTableBodyConfigToken, FlowbiteTableBodyStateToken, FlowbiteTableConfigToken, FlowbiteTableFootConfigToken, FlowbiteTableFootStateToken, FlowbiteTableHeadConfigToken, FlowbiteTableHeadStateToken, FlowbiteTableStateToken, Table, TableBody, TableFoot, TableHead, defaultFlowbiteTableBodyConfig, defaultFlowbiteTableConfig, defaultFlowbiteTableFootConfig, defaultFlowbiteTableHeadConfig, flowbiteTableBodyState, flowbiteTableBodyTheme, flowbiteTableFootState, flowbiteTableFootTheme, flowbiteTableHeadState, flowbiteTableHeadTheme, flowbiteTableState, flowbiteTableTheme, injectFlowbiteTableBodyConfig, injectFlowbiteTableBodyState, injectFlowbiteTableConfig, injectFlowbiteTableFootConfig, injectFlowbiteTableFootState, injectFlowbiteTableHeadConfig, injectFlowbiteTableHeadState, injectFlowbiteTableState, provideFlowbiteTableBodyConfig, provideFlowbiteTableBodyState, provideFlowbiteTableConfig, provideFlowbiteTableFootConfig, provideFlowbiteTableFootState, provideFlowbiteTableHeadConfig, provideFlowbiteTableHeadState, provideFlowbiteTableState };
763
763
  export type { FlowbiteTableBodyConfig, FlowbiteTableBodyHostTheme, FlowbiteTableBodyTheme, FlowbiteTableColors, FlowbiteTableConfig, FlowbiteTableFootConfig, FlowbiteTableFootHostTheme, FlowbiteTableFootTheme, FlowbiteTableHeadConfig, FlowbiteTableHeadHostTheme, FlowbiteTableHeadTheme, FlowbiteTableHostTheme, FlowbiteTableTheme };
@@ -1,90 +1,16 @@
1
- import * as flowbite_angular from 'flowbite-angular';
2
- import { FlowbiteBoolean, DeepPartial, FlowbiteThemes } from 'flowbite-angular';
3
- import * as flowbite_angular_button from 'flowbite-angular/button';
4
- import { FlowbiteBaseButtonSizes, FlowbiteBaseButtonColors, BaseButton } from 'flowbite-angular/button';
1
+ import * as flowbite_angular_theme_toggle from 'flowbite-angular/theme-toggle';
2
+ import * as ng_primitives_state from 'ng-primitives/state';
5
3
  import * as _angular_core from '@angular/core';
6
4
  import { InjectionToken, Provider } from '@angular/core';
7
- import * as ng_primitives_state from 'ng-primitives/state';
5
+ import * as flowbite_angular_button from 'flowbite-angular/button';
6
+ import { BaseButton, FlowbiteBaseButtonSizes, FlowbiteBaseButtonColors } from 'flowbite-angular/button';
7
+ import * as flowbite_angular from 'flowbite-angular';
8
+ import { FlowbiteThemes, FlowbiteBoolean, DeepPartial } from 'flowbite-angular';
8
9
  import * as i2 from 'ng-primitives/button';
9
10
  import * as i3 from 'ng-primitives/interactions';
10
- import * as flowbite_angular_theme_toggle from 'flowbite-angular/theme-toggle';
11
-
12
- interface FlowbiteThemeToggleTheme {
13
- host: FlowbiteThemeToggleHostTheme;
14
- }
15
- interface FlowbiteThemeToggleHostTheme {
16
- base: string;
17
- transition: string;
18
- focus: string;
19
- disabled: string;
20
- size: FlowbiteBaseButtonSizes;
21
- pill: FlowbiteBoolean;
22
- color: FlowbiteBaseButtonColors;
23
- colorOutline: FlowbiteBaseButtonColors;
24
- }
25
- declare const flowbiteThemeToggleTheme: FlowbiteThemeToggleTheme;
26
-
27
- interface FlowbiteThemeToggleConfig {
28
- /**
29
- * The default theme of ThemeToggle
30
- */
31
- baseTheme: FlowbiteThemeToggleTheme;
32
- /**
33
- * The custom theme of ThemeToggle
34
- */
35
- customTheme: DeepPartial<FlowbiteThemeToggleTheme>;
36
- }
37
- declare const defaultFlowbiteThemeToggleConfig: FlowbiteThemeToggleConfig;
38
- declare const FlowbiteThemeToggleConfigToken: InjectionToken<FlowbiteThemeToggleConfig>;
39
- /**
40
- * Provide the default ThemeToggle configuration
41
- * @param config The ThemeToggle configuration
42
- * @returns The provider
43
- */
44
- declare const provideFlowbiteThemeToggleConfig: (config: Partial<FlowbiteThemeToggleConfig>) => Provider[];
45
- /**
46
- * Inject the ThemeToggle configuration
47
- * @see {@link defaultFlowbiteThemeToggleConfig}
48
- * @returns The configuration
49
- */
50
- declare const injectFlowbiteThemeToggleConfig: () => FlowbiteThemeToggleConfig;
51
-
52
- interface FlowbiteThemeConfig {
53
- /**
54
- * The default theme of ThemeDirective
55
- */
56
- theme: FlowbiteThemes;
57
- /**
58
- * The default local storage key of ThemeDirective
59
- */
60
- localStorageKey: string;
61
- /**
62
- * The default type of ThemeDirective
63
- */
64
- type: {
65
- type: 'class';
66
- } | {
67
- type: 'attr';
68
- name: string;
69
- };
70
- }
71
- declare const defaultFlowbiteThemeConfig: FlowbiteThemeConfig;
72
- declare const FlowbiteThemeConfigToken: InjectionToken<FlowbiteThemeConfig>;
73
- /**
74
- * Provide the default Theme configuration
75
- * @param config The Theme configuration
76
- * @returns The provider
77
- */
78
- declare const provideFlowbiteThemeConfig: (config: Partial<FlowbiteThemeConfig>) => Provider[];
79
- /**
80
- * Inject the Theme configuration
81
- * @see {@link defaultFlowbiteThemeConfig}
82
- * @returns The configuration
83
- */
84
- declare const injectFlowbiteThemeConfig: () => FlowbiteThemeConfig;
85
11
 
86
12
  declare class Theme {
87
- protected readonly config: FlowbiteThemeConfig;
13
+ protected readonly config: flowbite_angular_theme_toggle.FlowbiteThemeConfig;
88
14
  readonly localStorageKey: _angular_core.InputSignal<string>;
89
15
  readonly currentTheme: _angular_core.InputSignal<FlowbiteThemes>;
90
16
  readonly type: _angular_core.InputSignal<{
@@ -114,7 +40,7 @@ declare class ThemeToggle {
114
40
  readonly outline: _angular_core.InputSignalWithTransform<boolean, unknown>;
115
41
  readonly state: ng_primitives_state.CreatedState<BaseButton>;
116
42
  }>>;
117
- protected readonly config: FlowbiteThemeToggleConfig;
43
+ protected readonly config: flowbite_angular_theme_toggle.FlowbiteThemeToggleConfig;
118
44
  protected readonly themeDirective: Theme;
119
45
  /**
120
46
  * @see {@link injectFlowbiteThemeToggleConfig}
@@ -319,6 +245,46 @@ declare const injectFlowbiteThemeToggleState: <U = {
319
245
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
320
246
  declare const flowbiteThemeToggleState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
321
247
 
248
+ interface FlowbiteThemeToggleTheme {
249
+ host: FlowbiteThemeToggleHostTheme;
250
+ }
251
+ interface FlowbiteThemeToggleHostTheme {
252
+ base: string;
253
+ transition: string;
254
+ focus: string;
255
+ disabled: string;
256
+ size: FlowbiteBaseButtonSizes;
257
+ pill: FlowbiteBoolean;
258
+ color: FlowbiteBaseButtonColors;
259
+ colorOutline: FlowbiteBaseButtonColors;
260
+ }
261
+ declare const flowbiteThemeToggleTheme: FlowbiteThemeToggleTheme;
262
+
263
+ interface FlowbiteThemeToggleConfig {
264
+ /**
265
+ * The default theme of ThemeToggle
266
+ */
267
+ baseTheme: FlowbiteThemeToggleTheme;
268
+ /**
269
+ * The custom theme of ThemeToggle
270
+ */
271
+ customTheme: DeepPartial<FlowbiteThemeToggleTheme>;
272
+ }
273
+ declare const defaultFlowbiteThemeToggleConfig: FlowbiteThemeToggleConfig;
274
+ declare const FlowbiteThemeToggleConfigToken: InjectionToken<FlowbiteThemeToggleConfig>;
275
+ /**
276
+ * Provide the default ThemeToggle configuration
277
+ * @param config The ThemeToggle configuration
278
+ * @returns The provider
279
+ */
280
+ declare const provideFlowbiteThemeToggleConfig: (config: Partial<FlowbiteThemeToggleConfig>) => Provider[];
281
+ /**
282
+ * Inject the ThemeToggle configuration
283
+ * @see {@link defaultFlowbiteThemeToggleConfig}
284
+ * @returns The configuration
285
+ */
286
+ declare const injectFlowbiteThemeToggleConfig: () => FlowbiteThemeToggleConfig;
287
+
322
288
  declare const FlowbiteThemeStateToken: _angular_core.InjectionToken<Theme>;
323
289
  declare const provideFlowbiteThemeState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
324
290
  declare const injectFlowbiteThemeState: <U = {
@@ -338,5 +304,39 @@ declare const injectFlowbiteThemeState: <U = {
338
304
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
339
305
  declare const flowbiteThemeState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
340
306
 
307
+ interface FlowbiteThemeConfig {
308
+ /**
309
+ * The default theme of ThemeDirective
310
+ */
311
+ theme: FlowbiteThemes;
312
+ /**
313
+ * The default local storage key of ThemeDirective
314
+ */
315
+ localStorageKey: string;
316
+ /**
317
+ * The default type of ThemeDirective
318
+ */
319
+ type: {
320
+ type: 'class';
321
+ } | {
322
+ type: 'attr';
323
+ name: string;
324
+ };
325
+ }
326
+ declare const defaultFlowbiteThemeConfig: FlowbiteThemeConfig;
327
+ declare const FlowbiteThemeConfigToken: InjectionToken<FlowbiteThemeConfig>;
328
+ /**
329
+ * Provide the default Theme configuration
330
+ * @param config The Theme configuration
331
+ * @returns The provider
332
+ */
333
+ declare const provideFlowbiteThemeConfig: (config: Partial<FlowbiteThemeConfig>) => Provider[];
334
+ /**
335
+ * Inject the Theme configuration
336
+ * @see {@link defaultFlowbiteThemeConfig}
337
+ * @returns The configuration
338
+ */
339
+ declare const injectFlowbiteThemeConfig: () => FlowbiteThemeConfig;
340
+
341
341
  export { FlowbiteThemeConfigToken, FlowbiteThemeStateToken, FlowbiteThemeToggleConfigToken, FlowbiteThemeToggleStateToken, Theme, ThemeToggle, defaultFlowbiteThemeConfig, defaultFlowbiteThemeToggleConfig, flowbiteThemeState, flowbiteThemeToggleState, flowbiteThemeToggleTheme, injectFlowbiteThemeConfig, injectFlowbiteThemeState, injectFlowbiteThemeToggleConfig, injectFlowbiteThemeToggleState, provideFlowbiteThemeConfig, provideFlowbiteThemeState, provideFlowbiteThemeToggleConfig, provideFlowbiteThemeToggleState };
342
342
  export type { FlowbiteThemeConfig, FlowbiteThemeToggleConfig, FlowbiteThemeToggleHostTheme, FlowbiteThemeToggleTheme };
@@ -1,8 +1,8 @@
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 { FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
5
4
  import * as flowbite_angular_tooltip from 'flowbite-angular/tooltip';
5
+ import { FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
6
6
 
7
7
  interface FlowbiteTooltipColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
8
8
  [key: string]: ColorToTheme;
@@ -17,37 +17,8 @@ interface FlowbiteTooltipHostTheme {
17
17
  }
18
18
  declare const flowbiteTooltipTheme: FlowbiteTooltipTheme;
19
19
 
20
- interface FlowbiteTooltipConfig {
21
- /**
22
- * The default theme of tooltip
23
- */
24
- baseTheme: FlowbiteTooltipTheme;
25
- /**
26
- * The default color of tooltip
27
- */
28
- color: keyof FlowbiteTooltipColors;
29
- /**
30
- * The custom theme of tooltip
31
- */
32
- customTheme: DeepPartial<FlowbiteTooltipTheme>;
33
- }
34
- declare const defaultFlowbiteTooltipConfig: FlowbiteTooltipConfig;
35
- declare const FlowbiteTooltipConfigToken: InjectionToken<FlowbiteTooltipConfig>;
36
- /**
37
- * Provide the default Tooltip configuration
38
- * @param config The Tooltip configuration
39
- * @returns The provider
40
- */
41
- declare const provideFlowbiteTooltipConfig: (config: Partial<FlowbiteTooltipConfig>) => Provider[];
42
- /**
43
- * Inject the Tooltip configuration
44
- * @see {@link defaultFlowbiteTooltipConfig}
45
- * @returns The configuration
46
- */
47
- declare const injectFlowbiteTooltipConfig: () => FlowbiteTooltipConfig;
48
-
49
20
  declare class Tooltip {
50
- protected readonly config: FlowbiteTooltipConfig;
21
+ protected readonly config: flowbite_angular_tooltip.FlowbiteTooltipConfig;
51
22
  /**
52
23
  * @see {@link injectFlowbiteTooltipConfig}
53
24
  */
@@ -154,5 +125,34 @@ declare const injectFlowbiteTooltipState: <U = {
154
125
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
155
126
  declare const flowbiteTooltipState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
156
127
 
128
+ interface FlowbiteTooltipConfig {
129
+ /**
130
+ * The default theme of tooltip
131
+ */
132
+ baseTheme: FlowbiteTooltipTheme;
133
+ /**
134
+ * The default color of tooltip
135
+ */
136
+ color: keyof FlowbiteTooltipColors;
137
+ /**
138
+ * The custom theme of tooltip
139
+ */
140
+ customTheme: DeepPartial<FlowbiteTooltipTheme>;
141
+ }
142
+ declare const defaultFlowbiteTooltipConfig: FlowbiteTooltipConfig;
143
+ declare const FlowbiteTooltipConfigToken: InjectionToken<FlowbiteTooltipConfig>;
144
+ /**
145
+ * Provide the default Tooltip configuration
146
+ * @param config The Tooltip configuration
147
+ * @returns The provider
148
+ */
149
+ declare const provideFlowbiteTooltipConfig: (config: Partial<FlowbiteTooltipConfig>) => Provider[];
150
+ /**
151
+ * Inject the Tooltip configuration
152
+ * @see {@link defaultFlowbiteTooltipConfig}
153
+ * @returns The configuration
154
+ */
155
+ declare const injectFlowbiteTooltipConfig: () => FlowbiteTooltipConfig;
156
+
157
157
  export { FlowbiteTooltipConfigToken, FlowbiteTooltipStateToken, Tooltip, defaultFlowbiteTooltipConfig, flowbiteTooltipState, flowbiteTooltipTheme, injectFlowbiteTooltipConfig, injectFlowbiteTooltipState, provideFlowbiteTooltipConfig, provideFlowbiteTooltipState };
158
158
  export type { FlowbiteTooltipColors, FlowbiteTooltipConfig, FlowbiteTooltipHostTheme, FlowbiteTooltipTheme };
File without changes