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
@@ -1,10 +1,10 @@
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 { FlowbiteBoolean, FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
4
+ import * as flowbite_angular_sidebar from 'flowbite-angular/sidebar';
5
+ import { FlowbiteColors, ColorToTheme, FlowbiteBoolean, DeepPartial } from 'flowbite-angular';
5
6
  import * as _angular_cdk_coercion from '@angular/cdk/coercion';
6
7
  import { BooleanInput } from '@angular/cdk/coercion';
7
- import * as flowbite_angular_sidebar from 'flowbite-angular/sidebar';
8
8
  import * as i1 from 'flowbite-angular/button';
9
9
  import { FlowbiteBaseButtonSizes, FlowbiteBaseButtonColors } from 'flowbite-angular/button';
10
10
  import * as i2 from 'ng-primitives/button';
@@ -23,41 +23,8 @@ interface FlowbiteSidebarHostTheme {
23
23
  }
24
24
  declare const flowbiteSidebarTheme: FlowbiteSidebarTheme;
25
25
 
26
- interface FlowbiteSidebarConfig {
27
- /**
28
- * The default theme of sidebar
29
- */
30
- baseTheme: FlowbiteSidebarTheme;
31
- /**
32
- * Whether the sidebar is open
33
- */
34
- open: boolean;
35
- /**
36
- * The default color of sidebar
37
- */
38
- color: keyof FlowbiteSidebarColors;
39
- /**
40
- * The custom theme of sidebar
41
- */
42
- customTheme: DeepPartial<FlowbiteSidebarTheme>;
43
- }
44
- declare const defaultFlowbiteSidebarConfig: FlowbiteSidebarConfig;
45
- declare const FlowbiteSidebarConfigToken: InjectionToken<FlowbiteSidebarConfig>;
46
- /**
47
- * Provide the default Sidebar configuration
48
- * @param config The Sidebar configuration
49
- * @returns The provider
50
- */
51
- declare const provideFlowbiteSidebarConfig: (config: Partial<FlowbiteSidebarConfig>) => Provider[];
52
- /**
53
- * Inject the Sidebar configuration
54
- * @see {@link defaultFlowbiteSidebarConfig}
55
- * @returns The configuration
56
- */
57
- declare const injectFlowbiteSidebarConfig: () => FlowbiteSidebarConfig;
58
-
59
26
  declare class Sidebar {
60
- protected readonly config: FlowbiteSidebarConfig;
27
+ protected readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
61
28
  /**
62
29
  * @see {@link injectFlowbiteSidebarConfig}
63
30
  */
@@ -127,48 +94,41 @@ declare const injectFlowbiteSidebarState: <U = {
127
94
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
128
95
  declare const flowbiteSidebarState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
129
96
 
130
- interface FlowbiteSidebarContentTheme {
131
- host: FlowbiteSidebarContentHostTheme;
132
- container: FlowbiteSidebarContentContainerTheme;
133
- }
134
- interface FlowbiteSidebarContentHostTheme {
135
- base: string;
136
- transition: string;
137
- open: FlowbiteBoolean;
138
- color: FlowbiteSidebarColors;
139
- }
140
- interface FlowbiteSidebarContentContainerTheme {
141
- base: string;
142
- }
143
- declare const flowbiteSidebarContentTheme: FlowbiteSidebarContentTheme;
144
-
145
- interface FlowbiteSidebarContentConfig {
97
+ interface FlowbiteSidebarConfig {
146
98
  /**
147
- * The default theme of sidebar-content
99
+ * The default theme of sidebar
148
100
  */
149
- baseTheme: FlowbiteSidebarContentTheme;
101
+ baseTheme: FlowbiteSidebarTheme;
150
102
  /**
151
- * The custom theme of sidebar-content
103
+ * Whether the sidebar is open
152
104
  */
153
- customTheme: DeepPartial<FlowbiteSidebarContentTheme>;
105
+ open: boolean;
106
+ /**
107
+ * The default color of sidebar
108
+ */
109
+ color: keyof FlowbiteSidebarColors;
110
+ /**
111
+ * The custom theme of sidebar
112
+ */
113
+ customTheme: DeepPartial<FlowbiteSidebarTheme>;
154
114
  }
155
- declare const defaultFlowbiteSidebarContentConfig: FlowbiteSidebarContentConfig;
156
- declare const FlowbiteSidebarContentConfigToken: InjectionToken<FlowbiteSidebarContentConfig>;
115
+ declare const defaultFlowbiteSidebarConfig: FlowbiteSidebarConfig;
116
+ declare const FlowbiteSidebarConfigToken: InjectionToken<FlowbiteSidebarConfig>;
157
117
  /**
158
- * Provide the default SidebarContent configuration
159
- * @param config The SidebarContent configuration
118
+ * Provide the default Sidebar configuration
119
+ * @param config The Sidebar configuration
160
120
  * @returns The provider
161
121
  */
162
- declare const provideFlowbiteSidebarContentConfig: (config: Partial<FlowbiteSidebarContentConfig>) => Provider[];
122
+ declare const provideFlowbiteSidebarConfig: (config: Partial<FlowbiteSidebarConfig>) => Provider[];
163
123
  /**
164
- * Inject the SidebarContent configuration
165
- * @see {@link defaultFlowbiteSidebarContentConfig}
124
+ * Inject the Sidebar configuration
125
+ * @see {@link defaultFlowbiteSidebarConfig}
166
126
  * @returns The configuration
167
127
  */
168
- declare const injectFlowbiteSidebarContentConfig: () => FlowbiteSidebarContentConfig;
128
+ declare const injectFlowbiteSidebarConfig: () => FlowbiteSidebarConfig;
169
129
 
170
130
  declare class SidebarContent {
171
- readonly config: FlowbiteSidebarContentConfig;
131
+ readonly config: flowbite_angular_sidebar.FlowbiteSidebarContentConfig;
172
132
  readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
173
133
  readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
174
134
  readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
@@ -328,48 +288,48 @@ declare const injectFlowbiteSidebarContentState: <U = {
328
288
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
329
289
  declare const flowbiteSidebarContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
330
290
 
331
- interface FlowbiteSidebarToggleTheme {
332
- host: FlowbiteSidebarToggleHostTheme;
291
+ interface FlowbiteSidebarContentTheme {
292
+ host: FlowbiteSidebarContentHostTheme;
293
+ container: FlowbiteSidebarContentContainerTheme;
333
294
  }
334
- interface FlowbiteSidebarToggleHostTheme {
295
+ interface FlowbiteSidebarContentHostTheme {
335
296
  base: string;
336
297
  transition: string;
337
- focus: string;
338
- disabled: string;
339
- size: FlowbiteBaseButtonSizes;
340
- pill: FlowbiteBoolean;
341
- color: FlowbiteBaseButtonColors;
342
- colorOutline: FlowbiteBaseButtonColors;
298
+ open: FlowbiteBoolean;
299
+ color: FlowbiteSidebarColors;
343
300
  }
344
- declare const flowbiteSidebarToggleTheme: FlowbiteSidebarToggleTheme;
301
+ interface FlowbiteSidebarContentContainerTheme {
302
+ base: string;
303
+ }
304
+ declare const flowbiteSidebarContentTheme: FlowbiteSidebarContentTheme;
345
305
 
346
- interface FlowbiteSidebarToggleConfig {
306
+ interface FlowbiteSidebarContentConfig {
347
307
  /**
348
- * The default theme of sidebar-toggle
308
+ * The default theme of sidebar-content
349
309
  */
350
- baseTheme: FlowbiteSidebarToggleTheme;
310
+ baseTheme: FlowbiteSidebarContentTheme;
351
311
  /**
352
- * The custom theme of sidebar-toggle
312
+ * The custom theme of sidebar-content
353
313
  */
354
- customTheme: DeepPartial<FlowbiteSidebarToggleTheme>;
314
+ customTheme: DeepPartial<FlowbiteSidebarContentTheme>;
355
315
  }
356
- declare const defaultFlowbiteSidebarToggleConfig: FlowbiteSidebarToggleConfig;
357
- declare const FlowbiteSidebarToggleConfigToken: InjectionToken<FlowbiteSidebarToggleConfig>;
316
+ declare const defaultFlowbiteSidebarContentConfig: FlowbiteSidebarContentConfig;
317
+ declare const FlowbiteSidebarContentConfigToken: InjectionToken<FlowbiteSidebarContentConfig>;
358
318
  /**
359
- * Provide the default SidebarToggle configuration
360
- * @param config The SidebarToggle configuration
319
+ * Provide the default SidebarContent configuration
320
+ * @param config The SidebarContent configuration
361
321
  * @returns The provider
362
322
  */
363
- declare const provideFlowbiteSidebarToggleConfig: (config: Partial<FlowbiteSidebarToggleConfig>) => Provider[];
323
+ declare const provideFlowbiteSidebarContentConfig: (config: Partial<FlowbiteSidebarContentConfig>) => Provider[];
364
324
  /**
365
- * Inject the SidebarToggle configuration
366
- * @see {@link defaultFlowbiteSidebarToggleConfig}
325
+ * Inject the SidebarContent configuration
326
+ * @see {@link defaultFlowbiteSidebarContentConfig}
367
327
  * @returns The configuration
368
328
  */
369
- declare const injectFlowbiteSidebarToggleConfig: () => FlowbiteSidebarToggleConfig;
329
+ declare const injectFlowbiteSidebarContentConfig: () => FlowbiteSidebarContentConfig;
370
330
 
371
331
  declare class SidebarToggle {
372
- protected readonly config: FlowbiteSidebarToggleConfig;
332
+ protected readonly config: flowbite_angular_sidebar.FlowbiteSidebarToggleConfig;
373
333
  protected readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
374
334
  readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
375
335
  readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
@@ -602,10 +562,10 @@ declare const injectFlowbiteSidebarToggleState: <U = {
602
562
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
603
563
  declare const flowbiteSidebarToggleState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
604
564
 
605
- interface FlowbiteSidebarItemTheme {
606
- host: FlowbiteSidebarItemHostTheme;
565
+ interface FlowbiteSidebarToggleTheme {
566
+ host: FlowbiteSidebarToggleHostTheme;
607
567
  }
608
- interface FlowbiteSidebarItemHostTheme {
568
+ interface FlowbiteSidebarToggleHostTheme {
609
569
  base: string;
610
570
  transition: string;
611
571
  focus: string;
@@ -615,35 +575,35 @@ interface FlowbiteSidebarItemHostTheme {
615
575
  color: FlowbiteBaseButtonColors;
616
576
  colorOutline: FlowbiteBaseButtonColors;
617
577
  }
618
- declare const flowbiteSidebarItemTheme: FlowbiteSidebarItemTheme;
578
+ declare const flowbiteSidebarToggleTheme: FlowbiteSidebarToggleTheme;
619
579
 
620
- interface FlowbiteSidebarItemConfig {
580
+ interface FlowbiteSidebarToggleConfig {
621
581
  /**
622
- * The default theme of sidebar-item
582
+ * The default theme of sidebar-toggle
623
583
  */
624
- baseTheme: FlowbiteSidebarItemTheme;
584
+ baseTheme: FlowbiteSidebarToggleTheme;
625
585
  /**
626
- * The custom theme of sidebar-item
586
+ * The custom theme of sidebar-toggle
627
587
  */
628
- customTheme: DeepPartial<FlowbiteSidebarItemTheme>;
588
+ customTheme: DeepPartial<FlowbiteSidebarToggleTheme>;
629
589
  }
630
- declare const defaultFlowbiteSidebarItemConfig: FlowbiteSidebarItemConfig;
631
- declare const FlowbiteSidebarItemConfigToken: InjectionToken<FlowbiteSidebarItemConfig>;
590
+ declare const defaultFlowbiteSidebarToggleConfig: FlowbiteSidebarToggleConfig;
591
+ declare const FlowbiteSidebarToggleConfigToken: InjectionToken<FlowbiteSidebarToggleConfig>;
632
592
  /**
633
- * Provide the default SidebarItem configuration
634
- * @param config The SidebarItem configuration
593
+ * Provide the default SidebarToggle configuration
594
+ * @param config The SidebarToggle configuration
635
595
  * @returns The provider
636
596
  */
637
- declare const provideFlowbiteSidebarItemConfig: (config: Partial<FlowbiteSidebarItemConfig>) => Provider[];
597
+ declare const provideFlowbiteSidebarToggleConfig: (config: Partial<FlowbiteSidebarToggleConfig>) => Provider[];
638
598
  /**
639
- * Inject the SidebarItem configuration
640
- * @see {@link defaultFlowbiteSidebarItemConfig}
599
+ * Inject the SidebarToggle configuration
600
+ * @see {@link defaultFlowbiteSidebarToggleConfig}
641
601
  * @returns The configuration
642
602
  */
643
- declare const injectFlowbiteSidebarItemConfig: () => FlowbiteSidebarItemConfig;
603
+ declare const injectFlowbiteSidebarToggleConfig: () => FlowbiteSidebarToggleConfig;
644
604
 
645
605
  declare class SidebarItem {
646
- readonly config: FlowbiteSidebarItemConfig;
606
+ readonly config: flowbite_angular_sidebar.FlowbiteSidebarItemConfig;
647
607
  readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
648
608
  readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
649
609
  readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
@@ -876,5 +836,45 @@ declare const injectFlowbiteSidebarItemState: <U = {
876
836
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
877
837
  declare const flowbiteSidebarItemState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
878
838
 
839
+ interface FlowbiteSidebarItemTheme {
840
+ host: FlowbiteSidebarItemHostTheme;
841
+ }
842
+ interface FlowbiteSidebarItemHostTheme {
843
+ base: string;
844
+ transition: string;
845
+ focus: string;
846
+ disabled: string;
847
+ size: FlowbiteBaseButtonSizes;
848
+ pill: FlowbiteBoolean;
849
+ color: FlowbiteBaseButtonColors;
850
+ colorOutline: FlowbiteBaseButtonColors;
851
+ }
852
+ declare const flowbiteSidebarItemTheme: FlowbiteSidebarItemTheme;
853
+
854
+ interface FlowbiteSidebarItemConfig {
855
+ /**
856
+ * The default theme of sidebar-item
857
+ */
858
+ baseTheme: FlowbiteSidebarItemTheme;
859
+ /**
860
+ * The custom theme of sidebar-item
861
+ */
862
+ customTheme: DeepPartial<FlowbiteSidebarItemTheme>;
863
+ }
864
+ declare const defaultFlowbiteSidebarItemConfig: FlowbiteSidebarItemConfig;
865
+ declare const FlowbiteSidebarItemConfigToken: InjectionToken<FlowbiteSidebarItemConfig>;
866
+ /**
867
+ * Provide the default SidebarItem configuration
868
+ * @param config The SidebarItem configuration
869
+ * @returns The provider
870
+ */
871
+ declare const provideFlowbiteSidebarItemConfig: (config: Partial<FlowbiteSidebarItemConfig>) => Provider[];
872
+ /**
873
+ * Inject the SidebarItem configuration
874
+ * @see {@link defaultFlowbiteSidebarItemConfig}
875
+ * @returns The configuration
876
+ */
877
+ declare const injectFlowbiteSidebarItemConfig: () => FlowbiteSidebarItemConfig;
878
+
879
879
  export { FlowbiteSidebarConfigToken, FlowbiteSidebarContentConfigToken, FlowbiteSidebarContentStateToken, FlowbiteSidebarItemConfigToken, FlowbiteSidebarItemStateToken, FlowbiteSidebarStateToken, FlowbiteSidebarToggleConfigToken, FlowbiteSidebarToggleStateToken, Sidebar, SidebarContent, SidebarItem, SidebarToggle, defaultFlowbiteSidebarConfig, defaultFlowbiteSidebarContentConfig, defaultFlowbiteSidebarItemConfig, defaultFlowbiteSidebarToggleConfig, flowbiteSidebarContentState, flowbiteSidebarContentTheme, flowbiteSidebarItemState, flowbiteSidebarItemTheme, flowbiteSidebarState, flowbiteSidebarTheme, flowbiteSidebarToggleState, flowbiteSidebarToggleTheme, injectFlowbiteSidebarConfig, injectFlowbiteSidebarContentConfig, injectFlowbiteSidebarContentState, injectFlowbiteSidebarItemConfig, injectFlowbiteSidebarItemState, injectFlowbiteSidebarState, injectFlowbiteSidebarToggleConfig, injectFlowbiteSidebarToggleState, provideFlowbiteSidebarConfig, provideFlowbiteSidebarContentConfig, provideFlowbiteSidebarContentState, provideFlowbiteSidebarItemConfig, provideFlowbiteSidebarItemState, provideFlowbiteSidebarState, provideFlowbiteSidebarToggleConfig, provideFlowbiteSidebarToggleState };
880
880
  export type { FlowbiteSidebarColors, FlowbiteSidebarConfig, FlowbiteSidebarContentConfig, FlowbiteSidebarContentContainerTheme, FlowbiteSidebarContentHostTheme, FlowbiteSidebarContentTheme, FlowbiteSidebarHostTheme, FlowbiteSidebarItemConfig, FlowbiteSidebarItemHostTheme, FlowbiteSidebarItemTheme, FlowbiteSidebarTheme, FlowbiteSidebarToggleConfig, FlowbiteSidebarToggleHostTheme, FlowbiteSidebarToggleTheme };
@@ -2,64 +2,13 @@ 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_tab from 'flowbite-angular/tab';
5
- import { FlowbiteSizes, FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
6
5
  import * as i1 from 'ng-primitives/tabs';
6
+ import { FlowbiteSizes, FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
7
7
  import * as i2 from 'ng-primitives/interactions';
8
8
  import * as i3 from 'flowbite-angular/button';
9
9
 
10
- interface FlowbiteTabSizes extends Pick<FlowbiteSizes, 'sm' | 'md' | 'lg'> {
11
- [key: string]: string;
12
- full: string;
13
- }
14
- interface FlowbiteTabColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
15
- [key: string]: ColorToTheme;
16
- }
17
- interface FlowbiteTabTheme {
18
- host: FlowbiteTabHostTheme;
19
- }
20
- interface FlowbiteTabHostTheme {
21
- base: string;
22
- transition: string;
23
- size: FlowbiteTabSizes;
24
- color: FlowbiteTabColors;
25
- }
26
- declare const flowbiteTabTheme: FlowbiteTabTheme;
27
-
28
- interface FlowbiteTabConfig {
29
- /**
30
- * The default theme of Tab
31
- */
32
- baseTheme: FlowbiteTabTheme;
33
- /**
34
- * The default size of Tab
35
- */
36
- size: keyof FlowbiteTabSizes;
37
- /**
38
- * The default color of Tab
39
- */
40
- color: keyof FlowbiteTabColors;
41
- /**
42
- * The custom theme of Tab
43
- */
44
- customTheme: DeepPartial<FlowbiteTabTheme>;
45
- }
46
- declare const defaultFlowbiteTabConfig: FlowbiteTabConfig;
47
- declare const FlowbiteTabConfigToken: InjectionToken<FlowbiteTabConfig>;
48
- /**
49
- * Provide the default Tab configuration
50
- * @param config The Tab configuration
51
- * @returns The provider
52
- */
53
- declare const provideFlowbiteTabConfig: (config: Partial<FlowbiteTabConfig>) => Provider[];
54
- /**
55
- * Inject the Tab configuration
56
- * @see {@link defaultFlowbiteTabConfig}
57
- * @returns The configuration
58
- */
59
- declare const injectFlowbiteTabConfig: () => FlowbiteTabConfig;
60
-
61
10
  declare class Tab {
62
- readonly config: FlowbiteTabConfig;
11
+ readonly config: flowbite_angular_tab.FlowbiteTabConfig;
63
12
  /**
64
13
  * @see {@link injectFlowbiteTabConfig}
65
14
  */
@@ -185,43 +134,59 @@ declare const injectFlowbiteTabState: <U = {
185
134
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
186
135
  declare const flowbiteTabState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
187
136
 
188
- interface FlowbiteTabListTheme {
189
- host: FlowbiteTabListHostTheme;
137
+ interface FlowbiteTabSizes extends Pick<FlowbiteSizes, 'sm' | 'md' | 'lg'> {
138
+ [key: string]: string;
139
+ full: string;
190
140
  }
191
- interface FlowbiteTabListHostTheme {
141
+ interface FlowbiteTabColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
142
+ [key: string]: ColorToTheme;
143
+ }
144
+ interface FlowbiteTabTheme {
145
+ host: FlowbiteTabHostTheme;
146
+ }
147
+ interface FlowbiteTabHostTheme {
192
148
  base: string;
193
149
  transition: string;
150
+ size: FlowbiteTabSizes;
194
151
  color: FlowbiteTabColors;
195
152
  }
196
- declare const flowbiteTabListTheme: FlowbiteTabListTheme;
153
+ declare const flowbiteTabTheme: FlowbiteTabTheme;
197
154
 
198
- interface FlowbiteTabListConfig {
155
+ interface FlowbiteTabConfig {
199
156
  /**
200
- * The default theme of TabList
157
+ * The default theme of Tab
201
158
  */
202
- baseTheme: FlowbiteTabListTheme;
159
+ baseTheme: FlowbiteTabTheme;
203
160
  /**
204
- * The custom theme of TabList
161
+ * The default size of Tab
205
162
  */
206
- customTheme: DeepPartial<FlowbiteTabListTheme>;
163
+ size: keyof FlowbiteTabSizes;
164
+ /**
165
+ * The default color of Tab
166
+ */
167
+ color: keyof FlowbiteTabColors;
168
+ /**
169
+ * The custom theme of Tab
170
+ */
171
+ customTheme: DeepPartial<FlowbiteTabTheme>;
207
172
  }
208
- declare const defaultFlowbiteTabListConfig: FlowbiteTabListConfig;
209
- declare const FlowbiteTabListConfigToken: InjectionToken<FlowbiteTabListConfig>;
173
+ declare const defaultFlowbiteTabConfig: FlowbiteTabConfig;
174
+ declare const FlowbiteTabConfigToken: InjectionToken<FlowbiteTabConfig>;
210
175
  /**
211
- * Provide the default TabList configuration
212
- * @param config The TabList configuration
176
+ * Provide the default Tab configuration
177
+ * @param config The Tab configuration
213
178
  * @returns The provider
214
179
  */
215
- declare const provideFlowbiteTabListConfig: (config: Partial<FlowbiteTabListConfig>) => Provider[];
180
+ declare const provideFlowbiteTabConfig: (config: Partial<FlowbiteTabConfig>) => Provider[];
216
181
  /**
217
- * Inject the TabList configuration
218
- * @see {@link defaultFlowbiteTabListConfig}
182
+ * Inject the Tab configuration
183
+ * @see {@link defaultFlowbiteTabConfig}
219
184
  * @returns The configuration
220
185
  */
221
- declare const injectFlowbiteTabListConfig: () => FlowbiteTabListConfig;
186
+ declare const injectFlowbiteTabConfig: () => FlowbiteTabConfig;
222
187
 
223
188
  declare class TabList {
224
- readonly config: FlowbiteTabListConfig;
189
+ readonly config: flowbite_angular_tab.FlowbiteTabListConfig;
225
190
  readonly tabState: _angular_core.Signal<ng_primitives_state.State<{
226
191
  readonly config: flowbite_angular_tab.FlowbiteTabConfig;
227
192
  readonly size: _angular_core.InputSignal<keyof flowbite_angular_tab.FlowbiteTabSizes>;
@@ -385,43 +350,43 @@ declare const injectFlowbiteTabListState: <U = {
385
350
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
386
351
  declare const flowbiteTabListState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
387
352
 
388
- interface FlowbiteTabButtonTheme {
389
- host: FlowbiteTabButtonHostTheme;
353
+ interface FlowbiteTabListTheme {
354
+ host: FlowbiteTabListHostTheme;
390
355
  }
391
- interface FlowbiteTabButtonHostTheme {
356
+ interface FlowbiteTabListHostTheme {
392
357
  base: string;
393
358
  transition: string;
394
359
  color: FlowbiteTabColors;
395
360
  }
396
- declare const flowbiteTabButtonTheme: FlowbiteTabButtonTheme;
361
+ declare const flowbiteTabListTheme: FlowbiteTabListTheme;
397
362
 
398
- interface FlowbiteTabButtonConfig {
363
+ interface FlowbiteTabListConfig {
399
364
  /**
400
- * The default theme of TabButton
365
+ * The default theme of TabList
401
366
  */
402
- baseTheme: FlowbiteTabButtonTheme;
367
+ baseTheme: FlowbiteTabListTheme;
403
368
  /**
404
- * The custom theme of TabButton
369
+ * The custom theme of TabList
405
370
  */
406
- customTheme: DeepPartial<FlowbiteTabButtonTheme>;
371
+ customTheme: DeepPartial<FlowbiteTabListTheme>;
407
372
  }
408
- declare const defaultFlowbiteTabButtonConfig: FlowbiteTabButtonConfig;
409
- declare const FlowbiteTabButtonConfigToken: InjectionToken<FlowbiteTabButtonConfig>;
373
+ declare const defaultFlowbiteTabListConfig: FlowbiteTabListConfig;
374
+ declare const FlowbiteTabListConfigToken: InjectionToken<FlowbiteTabListConfig>;
410
375
  /**
411
- * Provide the default TabButton configuration
412
- * @param config The TabButton configuration
376
+ * Provide the default TabList configuration
377
+ * @param config The TabList configuration
413
378
  * @returns The provider
414
379
  */
415
- declare const provideFlowbiteTabButtonConfig: (config: Partial<FlowbiteTabButtonConfig>) => Provider[];
380
+ declare const provideFlowbiteTabListConfig: (config: Partial<FlowbiteTabListConfig>) => Provider[];
416
381
  /**
417
- * Inject the TabButton configuration
418
- * @see {@link defaultFlowbiteTabButtonConfig}
382
+ * Inject the TabList configuration
383
+ * @see {@link defaultFlowbiteTabListConfig}
419
384
  * @returns The configuration
420
385
  */
421
- declare const injectFlowbiteTabButtonConfig: () => FlowbiteTabButtonConfig;
386
+ declare const injectFlowbiteTabListConfig: () => FlowbiteTabListConfig;
422
387
 
423
388
  declare class TabButton {
424
- readonly config: FlowbiteTabButtonConfig;
389
+ readonly config: flowbite_angular_tab.FlowbiteTabButtonConfig;
425
390
  readonly tabState: _angular_core.Signal<ng_primitives_state.State<{
426
391
  readonly config: flowbite_angular_tab.FlowbiteTabConfig;
427
392
  readonly size: _angular_core.InputSignal<keyof flowbite_angular_tab.FlowbiteTabSizes>;
@@ -585,43 +550,43 @@ declare const injectFlowbiteTabButtonState: <U = {
585
550
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
586
551
  declare const flowbiteTabButtonState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
587
552
 
588
- interface FlowbiteTabContentTheme {
589
- host: FlowbiteTabContentHostTheme;
553
+ interface FlowbiteTabButtonTheme {
554
+ host: FlowbiteTabButtonHostTheme;
590
555
  }
591
- interface FlowbiteTabContentHostTheme {
556
+ interface FlowbiteTabButtonHostTheme {
592
557
  base: string;
593
558
  transition: string;
594
559
  color: FlowbiteTabColors;
595
560
  }
596
- declare const flowbiteTabContentTheme: FlowbiteTabContentTheme;
561
+ declare const flowbiteTabButtonTheme: FlowbiteTabButtonTheme;
597
562
 
598
- interface FlowbiteTabContentConfig {
563
+ interface FlowbiteTabButtonConfig {
599
564
  /**
600
- * The default theme of TabContent
565
+ * The default theme of TabButton
601
566
  */
602
- baseTheme: FlowbiteTabContentTheme;
567
+ baseTheme: FlowbiteTabButtonTheme;
603
568
  /**
604
- * The custom theme of TabContent
569
+ * The custom theme of TabButton
605
570
  */
606
- customTheme: DeepPartial<FlowbiteTabContentTheme>;
571
+ customTheme: DeepPartial<FlowbiteTabButtonTheme>;
607
572
  }
608
- declare const defaultFlowbiteTabContentConfig: FlowbiteTabContentConfig;
609
- declare const FlowbiteTabContentConfigToken: InjectionToken<FlowbiteTabContentConfig>;
573
+ declare const defaultFlowbiteTabButtonConfig: FlowbiteTabButtonConfig;
574
+ declare const FlowbiteTabButtonConfigToken: InjectionToken<FlowbiteTabButtonConfig>;
610
575
  /**
611
- * Provide the default TabContent configuration
612
- * @param config The TabContent configuration
576
+ * Provide the default TabButton configuration
577
+ * @param config The TabButton configuration
613
578
  * @returns The provider
614
579
  */
615
- declare const provideFlowbiteTabContentConfig: (config: Partial<FlowbiteTabContentConfig>) => Provider[];
580
+ declare const provideFlowbiteTabButtonConfig: (config: Partial<FlowbiteTabButtonConfig>) => Provider[];
616
581
  /**
617
- * Inject the TabContent configuration
618
- * @see {@link defaultFlowbiteTabContentConfig}
582
+ * Inject the TabButton configuration
583
+ * @see {@link defaultFlowbiteTabButtonConfig}
619
584
  * @returns The configuration
620
585
  */
621
- declare const injectFlowbiteTabContentConfig: () => FlowbiteTabContentConfig;
586
+ declare const injectFlowbiteTabButtonConfig: () => FlowbiteTabButtonConfig;
622
587
 
623
588
  declare class TabContent {
624
- readonly config: FlowbiteTabContentConfig;
589
+ readonly config: flowbite_angular_tab.FlowbiteTabContentConfig;
625
590
  readonly tabState: _angular_core.Signal<ng_primitives_state.State<{
626
591
  readonly config: flowbite_angular_tab.FlowbiteTabConfig;
627
592
  readonly size: _angular_core.InputSignal<keyof flowbite_angular_tab.FlowbiteTabSizes>;
@@ -785,6 +750,41 @@ declare const injectFlowbiteTabContentState: <U = {
785
750
  }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
786
751
  declare const flowbiteTabContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
787
752
 
753
+ interface FlowbiteTabContentTheme {
754
+ host: FlowbiteTabContentHostTheme;
755
+ }
756
+ interface FlowbiteTabContentHostTheme {
757
+ base: string;
758
+ transition: string;
759
+ color: FlowbiteTabColors;
760
+ }
761
+ declare const flowbiteTabContentTheme: FlowbiteTabContentTheme;
762
+
763
+ interface FlowbiteTabContentConfig {
764
+ /**
765
+ * The default theme of TabContent
766
+ */
767
+ baseTheme: FlowbiteTabContentTheme;
768
+ /**
769
+ * The custom theme of TabContent
770
+ */
771
+ customTheme: DeepPartial<FlowbiteTabContentTheme>;
772
+ }
773
+ declare const defaultFlowbiteTabContentConfig: FlowbiteTabContentConfig;
774
+ declare const FlowbiteTabContentConfigToken: InjectionToken<FlowbiteTabContentConfig>;
775
+ /**
776
+ * Provide the default TabContent configuration
777
+ * @param config The TabContent configuration
778
+ * @returns The provider
779
+ */
780
+ declare const provideFlowbiteTabContentConfig: (config: Partial<FlowbiteTabContentConfig>) => Provider[];
781
+ /**
782
+ * Inject the TabContent configuration
783
+ * @see {@link defaultFlowbiteTabContentConfig}
784
+ * @returns The configuration
785
+ */
786
+ declare const injectFlowbiteTabContentConfig: () => FlowbiteTabContentConfig;
787
+
788
788
  declare const greeting = "Hello World!";
789
789
 
790
790
  export { FlowbiteTabButtonConfigToken, FlowbiteTabButtonStateToken, FlowbiteTabConfigToken, FlowbiteTabContentConfigToken, FlowbiteTabContentStateToken, FlowbiteTabListConfigToken, FlowbiteTabListStateToken, FlowbiteTabStateToken, Tab, TabButton, TabContent, TabList, defaultFlowbiteTabButtonConfig, defaultFlowbiteTabConfig, defaultFlowbiteTabContentConfig, defaultFlowbiteTabListConfig, flowbiteTabButtonState, flowbiteTabButtonTheme, flowbiteTabContentState, flowbiteTabContentTheme, flowbiteTabListState, flowbiteTabListTheme, flowbiteTabState, flowbiteTabTheme, greeting, injectFlowbiteTabButtonConfig, injectFlowbiteTabButtonState, injectFlowbiteTabConfig, injectFlowbiteTabContentConfig, injectFlowbiteTabContentState, injectFlowbiteTabListConfig, injectFlowbiteTabListState, injectFlowbiteTabState, provideFlowbiteTabButtonConfig, provideFlowbiteTabButtonState, provideFlowbiteTabConfig, provideFlowbiteTabContentConfig, provideFlowbiteTabContentState, provideFlowbiteTabListConfig, provideFlowbiteTabListState, provideFlowbiteTabState };