flowbite-angular 1.3.0 → 20.0.2

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 (309) hide show
  1. package/README.md +30 -39
  2. package/accordion/index.d.ts +569 -16
  3. package/alert/index.d.ts +602 -4
  4. package/badge/index.d.ts +636 -4
  5. package/breadcrumb/index.d.ts +452 -8
  6. package/button/index.d.ts +335 -4
  7. package/button-group/README.md +4 -0
  8. package/button-group/index.d.ts +85 -0
  9. package/{core → card}/README.md +2 -2
  10. package/card/index.d.ts +640 -0
  11. package/{accordion → clipboard}/README.md +2 -2
  12. package/clipboard/index.d.ts +103 -0
  13. package/dropdown/index.d.ts +536 -16
  14. package/fesm2022/flowbite-angular-accordion.mjs +339 -479
  15. package/fesm2022/flowbite-angular-accordion.mjs.map +1 -1
  16. package/fesm2022/flowbite-angular-alert.mjs +308 -240
  17. package/fesm2022/flowbite-angular-alert.mjs.map +1 -1
  18. package/fesm2022/flowbite-angular-badge.mjs +332 -238
  19. package/fesm2022/flowbite-angular-badge.mjs.map +1 -1
  20. package/fesm2022/flowbite-angular-breadcrumb.mjs +262 -191
  21. package/fesm2022/flowbite-angular-breadcrumb.mjs.map +1 -1
  22. package/fesm2022/flowbite-angular-button-group.mjs +86 -0
  23. package/fesm2022/flowbite-angular-button-group.mjs.map +1 -0
  24. package/fesm2022/flowbite-angular-button.mjs +189 -270
  25. package/fesm2022/flowbite-angular-button.mjs.map +1 -1
  26. package/fesm2022/flowbite-angular-card.mjs +344 -0
  27. package/fesm2022/flowbite-angular-card.mjs.map +1 -0
  28. package/fesm2022/flowbite-angular-clipboard.mjs +174 -0
  29. package/fesm2022/flowbite-angular-clipboard.mjs.map +1 -0
  30. package/fesm2022/flowbite-angular-dropdown.mjs +272 -459
  31. package/fesm2022/flowbite-angular-dropdown.mjs.map +1 -1
  32. package/fesm2022/flowbite-angular-form.mjs +444 -0
  33. package/fesm2022/flowbite-angular-form.mjs.map +1 -0
  34. package/fesm2022/flowbite-angular-icon-brand.mjs +71 -0
  35. package/fesm2022/flowbite-angular-icon-brand.mjs.map +1 -0
  36. package/fesm2022/flowbite-angular-icon-outline-arrows.mjs +51 -0
  37. package/fesm2022/flowbite-angular-icon-outline-arrows.mjs.map +1 -0
  38. package/fesm2022/flowbite-angular-icon-outline-e-commerce.mjs +23 -0
  39. package/fesm2022/flowbite-angular-icon-outline-e-commerce.mjs.map +1 -0
  40. package/fesm2022/flowbite-angular-icon-outline-emoji.mjs +13 -0
  41. package/fesm2022/flowbite-angular-icon-outline-emoji.mjs.map +1 -0
  42. package/fesm2022/flowbite-angular-icon-outline-files-folders.mjs +42 -0
  43. package/fesm2022/flowbite-angular-icon-outline-files-folders.mjs.map +1 -0
  44. package/fesm2022/flowbite-angular-icon-outline-general.mjs +145 -0
  45. package/fesm2022/flowbite-angular-icon-outline-general.mjs.map +1 -0
  46. package/fesm2022/flowbite-angular-icon-outline-media.mjs +25 -0
  47. package/fesm2022/flowbite-angular-icon-outline-media.mjs.map +1 -0
  48. package/fesm2022/flowbite-angular-icon-outline-text.mjs +20 -0
  49. package/fesm2022/flowbite-angular-icon-outline-text.mjs.map +1 -0
  50. package/fesm2022/flowbite-angular-icon-outline-user.mjs +17 -0
  51. package/fesm2022/flowbite-angular-icon-outline-user.mjs.map +1 -0
  52. package/fesm2022/flowbite-angular-icon-outline-weather.mjs +9 -0
  53. package/fesm2022/flowbite-angular-icon-outline-weather.mjs.map +1 -0
  54. package/fesm2022/flowbite-angular-icon-outline.mjs +6 -0
  55. package/fesm2022/flowbite-angular-icon-outline.mjs.map +1 -0
  56. package/fesm2022/flowbite-angular-icon-solid-arrows.mjs +17 -0
  57. package/fesm2022/flowbite-angular-icon-solid-arrows.mjs.map +1 -0
  58. package/fesm2022/flowbite-angular-icon-solid-brands.mjs +33 -0
  59. package/fesm2022/flowbite-angular-icon-solid-brands.mjs.map +1 -0
  60. package/fesm2022/flowbite-angular-icon-solid-e-commerce.mjs +21 -0
  61. package/fesm2022/flowbite-angular-icon-solid-e-commerce.mjs.map +1 -0
  62. package/fesm2022/flowbite-angular-icon-solid-emoji.mjs +13 -0
  63. package/fesm2022/flowbite-angular-icon-solid-emoji.mjs.map +1 -0
  64. package/fesm2022/flowbite-angular-icon-solid-files-folder.mjs +42 -0
  65. package/fesm2022/flowbite-angular-icon-solid-files-folder.mjs.map +1 -0
  66. package/fesm2022/flowbite-angular-icon-solid-general.mjs +123 -0
  67. package/fesm2022/flowbite-angular-icon-solid-general.mjs.map +1 -0
  68. package/fesm2022/flowbite-angular-icon-solid-media.mjs +24 -0
  69. package/fesm2022/flowbite-angular-icon-solid-media.mjs.map +1 -0
  70. package/fesm2022/flowbite-angular-icon-solid-text.mjs +11 -0
  71. package/fesm2022/flowbite-angular-icon-solid-text.mjs.map +1 -0
  72. package/fesm2022/flowbite-angular-icon-solid-user.mjs +17 -0
  73. package/fesm2022/flowbite-angular-icon-solid-user.mjs.map +1 -0
  74. package/fesm2022/flowbite-angular-icon-solid-weather.mjs +9 -0
  75. package/fesm2022/flowbite-angular-icon-solid-weather.mjs.map +1 -0
  76. package/fesm2022/flowbite-angular-icon-solid.mjs +6 -0
  77. package/fesm2022/flowbite-angular-icon-solid.mjs.map +1 -0
  78. package/fesm2022/flowbite-angular-icon.mjs +318 -219
  79. package/fesm2022/flowbite-angular-icon.mjs.map +1 -1
  80. package/fesm2022/flowbite-angular-indicator.mjs +119 -231
  81. package/fesm2022/flowbite-angular-indicator.mjs.map +1 -1
  82. package/fesm2022/flowbite-angular-modal.mjs +337 -486
  83. package/fesm2022/flowbite-angular-modal.mjs.map +1 -1
  84. package/fesm2022/flowbite-angular-navbar.mjs +600 -604
  85. package/fesm2022/flowbite-angular-navbar.mjs.map +1 -1
  86. package/fesm2022/flowbite-angular-pagination.mjs +994 -0
  87. package/fesm2022/flowbite-angular-pagination.mjs.map +1 -0
  88. package/fesm2022/flowbite-angular-sidebar.mjs +400 -776
  89. package/fesm2022/flowbite-angular-sidebar.mjs.map +1 -1
  90. package/fesm2022/flowbite-angular-tab.mjs +465 -0
  91. package/fesm2022/flowbite-angular-tab.mjs.map +1 -0
  92. package/fesm2022/flowbite-angular-theme-toggle.mjs +263 -0
  93. package/fesm2022/flowbite-angular-theme-toggle.mjs.map +1 -0
  94. package/fesm2022/flowbite-angular-tooltip.mjs +117 -0
  95. package/fesm2022/flowbite-angular-tooltip.mjs.map +1 -0
  96. package/fesm2022/flowbite-angular.mjs +53 -66
  97. package/fesm2022/flowbite-angular.mjs.map +1 -1
  98. package/flowbite-angular.css +2 -0
  99. package/{alert → form}/README.md +2 -2
  100. package/form/index.d.ts +684 -0
  101. package/{breadcrumb → icon/brand}/README.md +2 -2
  102. package/icon/brand/index.d.ts +66 -0
  103. package/icon/index.d.ts +322 -5
  104. package/icon/outline/README.md +4 -0
  105. package/icon/outline/arrows/index.d.ts +46 -0
  106. package/icon/outline/e-commerce/index.d.ts +18 -0
  107. package/icon/outline/emoji/index.d.ts +8 -0
  108. package/icon/outline/files-folders/index.d.ts +37 -0
  109. package/icon/outline/general/index.d.ts +140 -0
  110. package/icon/outline/index.d.ts +2 -0
  111. package/icon/outline/media/index.d.ts +20 -0
  112. package/icon/outline/text/index.d.ts +15 -0
  113. package/icon/outline/user/index.d.ts +12 -0
  114. package/icon/outline/weather/index.d.ts +4 -0
  115. package/icon/solid/README.md +4 -0
  116. package/icon/solid/arrows/index.d.ts +12 -0
  117. package/icon/solid/brands/index.d.ts +28 -0
  118. package/icon/solid/e-commerce/index.d.ts +16 -0
  119. package/icon/solid/emoji/index.d.ts +8 -0
  120. package/icon/solid/files-folder/index.d.ts +37 -0
  121. package/icon/solid/general/index.d.ts +118 -0
  122. package/icon/solid/index.d.ts +2 -0
  123. package/icon/solid/media/index.d.ts +19 -0
  124. package/icon/solid/text/index.d.ts +6 -0
  125. package/icon/solid/user/index.d.ts +12 -0
  126. package/icon/solid/weather/index.d.ts +4 -0
  127. package/index.d.ts +126 -3
  128. package/indicator/index.d.ts +242 -4
  129. package/modal/index.d.ts +458 -16
  130. package/navbar/index.d.ts +1467 -24
  131. package/package.json +133 -38
  132. package/pagination/README.md +4 -0
  133. package/pagination/index.d.ts +1135 -0
  134. package/sidebar/index.d.ts +880 -24
  135. package/styles/flowbite-angular.css +8 -0
  136. package/styles/part/animation.css +0 -0
  137. package/styles/part/color.css +125 -0
  138. package/styles/part/font-size.css +67 -0
  139. package/styles/part/rounded.css +11 -0
  140. package/styles/part/shadow.css +9 -0
  141. package/styles/part/spacing.css +38 -0
  142. package/{badge → tab}/README.md +2 -2
  143. package/tab/index.d.ts +791 -0
  144. package/theme-toggle/README.md +4 -0
  145. package/theme-toggle/index.d.ts +342 -0
  146. package/{button → tooltip}/README.md +2 -2
  147. package/tooltip/index.d.ts +158 -0
  148. package/accordion/accordion-content.component.d.ts +0 -69
  149. package/accordion/accordion-content.theme.d.ts +0 -28
  150. package/accordion/accordion-content.theme.service.d.ts +0 -19
  151. package/accordion/accordion-panel.component.d.ts +0 -67
  152. package/accordion/accordion-panel.theme.d.ts +0 -23
  153. package/accordion/accordion-panel.theme.service.d.ts +0 -20
  154. package/accordion/accordion-title.component.d.ts +0 -106
  155. package/accordion/accordion-title.theme.d.ts +0 -35
  156. package/accordion/accordion-title.theme.service.d.ts +0 -19
  157. package/accordion/accordion.component.d.ts +0 -61
  158. package/accordion/accordion.theme.d.ts +0 -29
  159. package/accordion/accordion.theme.service.d.ts +0 -19
  160. package/alert/alert.component.d.ts +0 -150
  161. package/alert/alert.theme.d.ts +0 -39
  162. package/alert/alert.theme.service.d.ts +0 -19
  163. package/badge/badge.component.d.ts +0 -196
  164. package/badge/badge.theme.d.ts +0 -53
  165. package/badge/badge.theme.service.d.ts +0 -19
  166. package/base-component.directive.d.ts +0 -51
  167. package/breadcrumb/breadcrumb-item.component.d.ts +0 -84
  168. package/breadcrumb/breadcrumb-item.theme.d.ts +0 -33
  169. package/breadcrumb/breadcrumb-item.theme.service.d.ts +0 -19
  170. package/breadcrumb/breadcrumb.component.d.ts +0 -43
  171. package/breadcrumb/breadcrumb.theme.d.ts +0 -29
  172. package/breadcrumb/breadcrumb.theme.service.d.ts +0 -19
  173. package/button/button.component.d.ts +0 -250
  174. package/button/button.theme.d.ts +0 -79
  175. package/button/button.theme.service.d.ts +0 -19
  176. package/core/flowbite.theme.init.d.ts +0 -9
  177. package/core/index.d.ts +0 -1
  178. package/dark-theme-toggle/README.md +0 -4
  179. package/dark-theme-toggle/dark-theme-toggle.component.d.ts +0 -51
  180. package/dark-theme-toggle/dark-theme-toggle.theme.d.ts +0 -23
  181. package/dark-theme-toggle/dark-theme-toggle.theme.service.d.ts +0 -19
  182. package/dark-theme-toggle/index.d.ts +0 -3
  183. package/dropdown/README.md +0 -4
  184. package/dropdown/dropdown-divider.component.d.ts +0 -36
  185. package/dropdown/dropdown-divider.theme.d.ts +0 -23
  186. package/dropdown/dropdown-divider.theme.service.d.ts +0 -19
  187. package/dropdown/dropdown-header.component.d.ts +0 -42
  188. package/dropdown/dropdown-header.theme.d.ts +0 -28
  189. package/dropdown/dropdown-header.theme.service.d.ts +0 -19
  190. package/dropdown/dropdown-item.component.d.ts +0 -36
  191. package/dropdown/dropdown-item.theme.d.ts +0 -23
  192. package/dropdown/dropdown-item.theme.service.d.ts +0 -19
  193. package/dropdown/dropdown.component.d.ts +0 -136
  194. package/dropdown/dropdown.theme.d.ts +0 -56
  195. package/dropdown/dropdown.theme.service.d.ts +0 -19
  196. package/fesm2022/flowbite-angular-core.mjs +0 -322
  197. package/fesm2022/flowbite-angular-core.mjs.map +0 -1
  198. package/fesm2022/flowbite-angular-dark-theme-toggle.mjs +0 -139
  199. package/fesm2022/flowbite-angular-dark-theme-toggle.mjs.map +0 -1
  200. package/fesm2022/flowbite-angular-router-link-active.mjs +0 -68
  201. package/fesm2022/flowbite-angular-router-link-active.mjs.map +0 -1
  202. package/fesm2022/flowbite-angular-router-link.mjs +0 -73
  203. package/fesm2022/flowbite-angular-router-link.mjs.map +0 -1
  204. package/fesm2022/flowbite-angular-sanitize-html.mjs +0 -39
  205. package/fesm2022/flowbite-angular-sanitize-html.mjs.map +0 -1
  206. package/fesm2022/flowbite-angular-scroll-top.mjs +0 -193
  207. package/fesm2022/flowbite-angular-scroll-top.mjs.map +0 -1
  208. package/fesm2022/flowbite-angular-theme.mjs +0 -78
  209. package/fesm2022/flowbite-angular-theme.mjs.map +0 -1
  210. package/fesm2022/flowbite-angular-utils.mjs +0 -210
  211. package/fesm2022/flowbite-angular-utils.mjs.map +0 -1
  212. package/flowbite.theme.service.d.ts +0 -12
  213. package/icon/icon-registry.d.ts +0 -45
  214. package/icon/icon.component.d.ts +0 -22
  215. package/icon/trusted-types.d.ts +0 -15
  216. package/indicator/indicators.component.d.ts +0 -224
  217. package/indicator/indicators.theme.d.ts +0 -59
  218. package/indicator/indicators.theme.service.d.ts +0 -19
  219. package/modal/modal-body.component.d.ts +0 -36
  220. package/modal/modal-body.theme.d.ts +0 -23
  221. package/modal/modal-body.theme.service.d.ts +0 -19
  222. package/modal/modal-footer.component.d.ts +0 -36
  223. package/modal/modal-footer.theme.d.ts +0 -23
  224. package/modal/modal-footer.theme.service.d.ts +0 -19
  225. package/modal/modal-header.component.d.ts +0 -60
  226. package/modal/modal-header.theme.d.ts +0 -32
  227. package/modal/modal-header.theme.service.d.ts +0 -19
  228. package/modal/modal.component.d.ts +0 -146
  229. package/modal/modal.theme.d.ts +0 -35
  230. package/modal/modal.theme.service.d.ts +0 -19
  231. package/navbar/navbar-brand.component.d.ts +0 -36
  232. package/navbar/navbar-brand.theme.d.ts +0 -23
  233. package/navbar/navbar-brand.theme.service.d.ts +0 -19
  234. package/navbar/navbar-content.component.d.ts +0 -50
  235. package/navbar/navbar-content.theme.d.ts +0 -28
  236. package/navbar/navbar-content.theme.service.d.ts +0 -19
  237. package/navbar/navbar-icon-button.component.d.ts +0 -59
  238. package/navbar/navbar-icon-button.theme.d.ts +0 -26
  239. package/navbar/navbar-icon-button.theme.service.d.ts +0 -19
  240. package/navbar/navbar-item.component.d.ts +0 -67
  241. package/navbar/navbar-item.theme.d.ts +0 -26
  242. package/navbar/navbar-item.theme.service.d.ts +0 -19
  243. package/navbar/navbar-toggle.component.d.ts +0 -51
  244. package/navbar/navbar-toggle.theme.d.ts +0 -23
  245. package/navbar/navbar-toggle.theme.service.d.ts +0 -19
  246. package/navbar/navbar.component.d.ts +0 -121
  247. package/navbar/navbar.theme.d.ts +0 -21
  248. package/navbar/navbar.theme.service.d.ts +0 -19
  249. package/router-link/README.md +0 -4
  250. package/router-link/flowbite-router-link.directive.d.ts +0 -28
  251. package/router-link/index.d.ts +0 -1
  252. package/router-link-active/README.md +0 -4
  253. package/router-link-active/flowbite-router-link-active.directive.d.ts +0 -37
  254. package/router-link-active/index.d.ts +0 -1
  255. package/sanitize-html/README.md +0 -4
  256. package/sanitize-html/index.d.ts +0 -1
  257. package/sanitize-html/sanitize-html.pipe.d.ts +0 -20
  258. package/scroll-top/README.md +0 -4
  259. package/scroll-top/index.d.ts +0 -4
  260. package/scroll-top/scroll-top.component.d.ts +0 -114
  261. package/scroll-top/scroll-top.theme.d.ts +0 -39
  262. package/scroll-top/scroll-top.theme.service.d.ts +0 -19
  263. package/sidebar/sidebar-item-group.component.d.ts +0 -100
  264. package/sidebar/sidebar-item-group.theme.d.ts +0 -31
  265. package/sidebar/sidebar-item-group.theme.service.d.ts +0 -19
  266. package/sidebar/sidebar-item.component.d.ts +0 -101
  267. package/sidebar/sidebar-item.theme.d.ts +0 -33
  268. package/sidebar/sidebar-item.theme.service.d.ts +0 -19
  269. package/sidebar/sidebar-menu.component.d.ts +0 -93
  270. package/sidebar/sidebar-menu.theme.d.ts +0 -30
  271. package/sidebar/sidebar-menu.theme.service.d.ts +0 -19
  272. package/sidebar/sidebar-page-content.component.d.ts +0 -46
  273. package/sidebar/sidebar-page-content.theme.d.ts +0 -27
  274. package/sidebar/sidebar-page-content.theme.service.d.ts +0 -19
  275. package/sidebar/sidebar-toggle.component.d.ts +0 -95
  276. package/sidebar/sidebar-toggle.theme.d.ts +0 -34
  277. package/sidebar/sidebar-toggle.theme.service.d.ts +0 -19
  278. package/sidebar/sidebar.component.d.ts +0 -84
  279. package/sidebar/sidebar.theme.d.ts +0 -22
  280. package/sidebar/sidebar.theme.service.d.ts +0 -19
  281. package/tailwind.config.js +0 -303
  282. package/theme/README.md +0 -4
  283. package/theme/flowbite-theme.directive.d.ts +0 -36
  284. package/theme/index.d.ts +0 -1
  285. package/type-definitions/colors/flowbite.colors.d.ts +0 -19
  286. package/type-definitions/colors/flowbite.gradient-colors.d.ts +0 -11
  287. package/type-definitions/colors/flowbite.gradient-duo-tone-colors.d.ts +0 -12
  288. package/type-definitions/colors/index.d.ts +0 -3
  289. package/type-definitions/flowbite.boolean.d.ts +0 -14
  290. package/type-definitions/flowbite.class.d.ts +0 -6
  291. package/type-definitions/flowbite.combination.d.ts +0 -8
  292. package/type-definitions/flowbite.content-positions.d.ts +0 -6
  293. package/type-definitions/flowbite.deep-partial.d.ts +0 -6
  294. package/type-definitions/flowbite.heading-levels.d.ts +0 -4
  295. package/type-definitions/flowbite.positions.d.ts +0 -14
  296. package/type-definitions/flowbite.router-link-parameter.d.ts +0 -5
  297. package/type-definitions/flowbite.sizes.d.ts +0 -10
  298. package/type-definitions/flowbite.themes.d.ts +0 -4
  299. package/type-definitions/index.d.ts +0 -12
  300. package/utils/README.md +0 -4
  301. package/utils/icon.list.d.ts +0 -7
  302. package/utils/id.generator.d.ts +0 -59
  303. package/utils/index.d.ts +0 -8
  304. package/utils/theme/clone-deep.d.ts +0 -7
  305. package/utils/theme/create-class.d.ts +0 -7
  306. package/utils/theme/create-theme.d.ts +0 -7
  307. package/utils/theme/is-object.d.ts +0 -7
  308. package/utils/theme/merge-theme.d.ts +0 -8
  309. package/utils/theme/to-string.d.ts +0 -7
@@ -1,24 +1,880 @@
1
- export { SidebarComponent, FLOWBITE_SIDEBAR_COLOR_DEFAULT_VALUE, FLOWBITE_SIDEBAR_CUSTOM_STYLE_DEFAULT_VALUE, FLOWBITE_SIDEBAR_DISPLAY_MODE_DEFAULT_VALUE, FLOWBITE_SIDEBAR_IS_OPEN_DEFAULT_VALUE, FLOWBITE_SIDEBAR_IS_ROUNDED_DEFAULT_VALUE, sidebarDefaultValueProvider, } from './sidebar.component';
2
- export type { SidebarProperties, SidebarClass, SidebarTheme, SidebarColors, SidebarDisplayMode, } from './sidebar.theme';
3
- export { sidebarTheme } from './sidebar.theme';
4
- export { FLOWBITE_SIDEBAR_THEME_TOKEN, SidebarThemeService } from './sidebar.theme.service';
5
- export { SidebarItemComponent, FLOWBITE_SIDEBAR_ITEM_CUSTOM_STYLE_DEFAULT_VALUE, FLOWBITE_SIDEBAR_ITEM_ICON_DEFAULT_VALUE, FLOWBITE_SIDEBAR_ITEM_LABEL_DEFAULT_VALUE, sidebarItemDefaultValueProvider, } from './sidebar-item.component';
6
- export type { SidebarItemProperties, SidebarItemClass, SidebarItemTheme, } from './sidebar-item.theme';
7
- export { sidebarItemTheme } from './sidebar-item.theme';
8
- export { FLOWBITE_SIDEBAR_ITEM_THEME_TOKEN, SidebarItemThemeService, } from './sidebar-item.theme.service';
9
- export { SidebarItemGroupComponent, FLOWBITE_SIDEBAR_ITEM_GROUP_CUSTOM_STYLE_DEFAULT_VALUE, sidebarItemGroupDefaultValueProvider, } from './sidebar-item-group.component';
10
- export type { SidebarItemGroupProperties, SidebarItemGroupClass, SidebarItemGroupTheme, } from './sidebar-item-group.theme';
11
- export { sidebarItemGroupTheme } from './sidebar-item-group.theme';
12
- export { FLOWBITE_SIDEBAR_ITEM_GROUP_THEME_TOKEN, SidebarItemGroupThemeService, } from './sidebar-item-group.theme.service';
13
- export { SidebarToggleComponent, FLOWBITE_SIDEBAR_TOGGLE_COLOR_DEFAULT_VALUE, FLOWBITE_SIDEBAR_TOGGLE_CUSTOM_STYLE_DEFAULT_VALUE, FLOWBITE_SIDEBAR_TOGGLE_SIZE_DEFAULT_VALUE, sidebarToggleDefaultValueProvider, } from './sidebar-toggle.component';
14
- export type { SidebarToggleTheme, SidebarToggleClass, SidebarToggleProperties, SidebarToggleSizes, } from './sidebar-toggle.theme';
15
- export { sidebarToggleTheme } from './sidebar-toggle.theme';
16
- export { FLOWBITE_SIDEBAR_TOGGLE_THEME_TOKEN, SidebarToggleThemeService, } from './sidebar-toggle.theme.service';
17
- export { SidebarPageContentComponent, FLOWBITE_SIDEBAR_PAGE_CONTENT_CUSTOM_STYLE_DEFAULT_VALUE, sidebarPageContentDefaultValueProvider, } from './sidebar-page-content.component';
18
- export type { SidebarPageContentClass, SidebarPageContentProperties, SidebarPageContentTheme, } from './sidebar-page-content.theme';
19
- export { sidebarPageContentTheme } from './sidebar-page-content.theme';
20
- export { FLOWBITE_SIDEBAR_PAGE_CONTENT_THEME_TOKEN, SidebarPageContentThemeService, } from './sidebar-page-content.theme.service';
21
- export { SidebarMenuComponent, FLOWBITE_SIDEBAR_MENU_CUSTOM_STYLE_DEFAULT_VALUE, sidebarMenuDefaultValueProvider, } from './sidebar-menu.component';
22
- export type { SidebarMenuClass, SidebarMenuProperties, SidebarMenuTheme, } from './sidebar-menu.theme';
23
- export { sidebarMenuTheme } from './sidebar-menu.theme';
24
- export { FLOWBITE_SIDEBAR_MENU_THEME_TOKEN, SidebarMenuThemeService, } from './sidebar-menu.theme.service';
1
+ import * as ng_primitives_state from 'ng-primitives/state';
2
+ import * as _angular_core from '@angular/core';
3
+ import { InjectionToken, Provider } from '@angular/core';
4
+ import { FlowbiteBoolean, FlowbiteColors, ColorToTheme, DeepPartial } from 'flowbite-angular';
5
+ import * as _angular_cdk_coercion from '@angular/cdk/coercion';
6
+ import { BooleanInput } from '@angular/cdk/coercion';
7
+ import * as flowbite_angular_sidebar from 'flowbite-angular/sidebar';
8
+ import * as i1 from 'flowbite-angular/button';
9
+ import { FlowbiteBaseButtonSizes, FlowbiteBaseButtonColors } from 'flowbite-angular/button';
10
+ import * as i2 from 'ng-primitives/button';
11
+ import * as i3 from 'ng-primitives/interactions';
12
+
13
+ interface FlowbiteSidebarColors extends Pick<FlowbiteColors, 'default' | 'info' | 'failure' | 'success' | 'warning' | 'primary'> {
14
+ [key: string]: ColorToTheme;
15
+ }
16
+ interface FlowbiteSidebarTheme {
17
+ host: FlowbiteSidebarHostTheme;
18
+ }
19
+ interface FlowbiteSidebarHostTheme {
20
+ base: string;
21
+ transition: string;
22
+ open: FlowbiteBoolean;
23
+ }
24
+ declare const flowbiteSidebarTheme: FlowbiteSidebarTheme;
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
+ declare class Sidebar {
60
+ protected readonly config: FlowbiteSidebarConfig;
61
+ /**
62
+ * @see {@link injectFlowbiteSidebarConfig}
63
+ */
64
+ readonly open: _angular_core.InputSignalWithTransform<boolean, BooleanInput>;
65
+ /**
66
+ * @see {@link injectFlowbiteSidebarConfig}
67
+ */
68
+ readonly color: _angular_core.InputSignal<keyof FlowbiteSidebarColors>;
69
+ /**
70
+ * @see {@link injectFlowbiteSidebarConfig}
71
+ */
72
+ readonly customTheme: _angular_core.InputSignal<{
73
+ host?: {
74
+ base?: string | undefined;
75
+ transition?: string | undefined;
76
+ open?: {
77
+ off?: string | undefined;
78
+ on?: string | undefined;
79
+ } | undefined;
80
+ } | undefined;
81
+ }>;
82
+ readonly theme: _angular_core.Signal<{
83
+ host: {
84
+ root: string;
85
+ };
86
+ }>;
87
+ /**
88
+ * @internal
89
+ */
90
+ readonly state: ng_primitives_state.CreatedState<Sidebar>;
91
+ /**
92
+ * @internal
93
+ */
94
+ onClick(): void;
95
+ /**
96
+ * @internal
97
+ */
98
+ toggle(newState?: boolean): void;
99
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<Sidebar, never>;
100
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<Sidebar, " aside[flowbiteSidebar] ", ["flowbiteSidebar"], { "open": { "alias": "open"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
101
+ }
102
+
103
+ declare const FlowbiteSidebarStateToken: _angular_core.InjectionToken<Sidebar>;
104
+ declare const provideFlowbiteSidebarState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
105
+ declare const injectFlowbiteSidebarState: <U = {
106
+ readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
107
+ readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
108
+ readonly color: _angular_core.InputSignal<keyof flowbite_angular_sidebar.FlowbiteSidebarColors>;
109
+ readonly customTheme: _angular_core.InputSignal<{
110
+ host?: {
111
+ base?: string | undefined;
112
+ transition?: string | undefined;
113
+ open?: {
114
+ off?: string | undefined;
115
+ on?: string | undefined;
116
+ } | undefined;
117
+ } | undefined;
118
+ }>;
119
+ readonly theme: _angular_core.Signal<{
120
+ host: {
121
+ root: string;
122
+ };
123
+ }>;
124
+ readonly state: ng_primitives_state.CreatedState<Sidebar>;
125
+ onClick: () => void;
126
+ toggle: (newState?: boolean) => void;
127
+ }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
128
+ declare const flowbiteSidebarState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
129
+
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 {
146
+ /**
147
+ * The default theme of sidebar-content
148
+ */
149
+ baseTheme: FlowbiteSidebarContentTheme;
150
+ /**
151
+ * The custom theme of sidebar-content
152
+ */
153
+ customTheme: DeepPartial<FlowbiteSidebarContentTheme>;
154
+ }
155
+ declare const defaultFlowbiteSidebarContentConfig: FlowbiteSidebarContentConfig;
156
+ declare const FlowbiteSidebarContentConfigToken: InjectionToken<FlowbiteSidebarContentConfig>;
157
+ /**
158
+ * Provide the default SidebarContent configuration
159
+ * @param config The SidebarContent configuration
160
+ * @returns The provider
161
+ */
162
+ declare const provideFlowbiteSidebarContentConfig: (config: Partial<FlowbiteSidebarContentConfig>) => Provider[];
163
+ /**
164
+ * Inject the SidebarContent configuration
165
+ * @see {@link defaultFlowbiteSidebarContentConfig}
166
+ * @returns The configuration
167
+ */
168
+ declare const injectFlowbiteSidebarContentConfig: () => FlowbiteSidebarContentConfig;
169
+
170
+ declare class SidebarContent {
171
+ readonly config: FlowbiteSidebarContentConfig;
172
+ readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
173
+ readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
174
+ readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
175
+ readonly color: _angular_core.InputSignal<keyof flowbite_angular_sidebar.FlowbiteSidebarColors>;
176
+ readonly customTheme: _angular_core.InputSignal<{
177
+ host?: {
178
+ base?: string | undefined;
179
+ transition?: string | undefined;
180
+ open?: {
181
+ off?: string | undefined;
182
+ on?: string | undefined;
183
+ } | undefined;
184
+ } | undefined;
185
+ }>;
186
+ readonly theme: _angular_core.Signal<{
187
+ host: {
188
+ root: string;
189
+ };
190
+ }>;
191
+ readonly state: ng_primitives_state.CreatedState<flowbite_angular_sidebar.Sidebar>;
192
+ onClick: () => void;
193
+ toggle: (newState?: boolean) => void;
194
+ }>>;
195
+ /**
196
+ * @see {@link injectFlowbiteSidebarContentConfig}
197
+ */
198
+ readonly customTheme: _angular_core.InputSignal<{
199
+ host?: {
200
+ base?: string | undefined;
201
+ transition?: string | undefined;
202
+ open?: {
203
+ off?: string | undefined;
204
+ on?: string | undefined;
205
+ } | undefined;
206
+ color?: {
207
+ [x: string]: {
208
+ light?: string | undefined;
209
+ dark?: string | undefined;
210
+ } | undefined;
211
+ default?: {
212
+ light?: string | undefined;
213
+ dark?: string | undefined;
214
+ } | undefined;
215
+ info?: {
216
+ light?: string | undefined;
217
+ dark?: string | undefined;
218
+ } | undefined;
219
+ failure?: {
220
+ light?: string | undefined;
221
+ dark?: string | undefined;
222
+ } | undefined;
223
+ success?: {
224
+ light?: string | undefined;
225
+ dark?: string | undefined;
226
+ } | undefined;
227
+ warning?: {
228
+ light?: string | undefined;
229
+ dark?: string | undefined;
230
+ } | undefined;
231
+ primary?: {
232
+ light?: string | undefined;
233
+ dark?: string | undefined;
234
+ } | undefined;
235
+ } | undefined;
236
+ } | undefined;
237
+ container?: {
238
+ base?: string | undefined;
239
+ } | undefined;
240
+ }>;
241
+ readonly theme: _angular_core.Signal<{
242
+ host: {
243
+ root: string;
244
+ };
245
+ container: {
246
+ root: string;
247
+ };
248
+ }>;
249
+ /**
250
+ * @internal
251
+ */
252
+ readonly state: ng_primitives_state.CreatedState<SidebarContent>;
253
+ /**
254
+ * @internal
255
+ */
256
+ onClick($event: MouseEvent): void;
257
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarContent, never>;
258
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<SidebarContent, " div[flowbiteSidebarContent] ", ["flowbiteSidebarContent"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
259
+ }
260
+
261
+ declare const FlowbiteSidebarContentStateToken: _angular_core.InjectionToken<SidebarContent>;
262
+ declare const provideFlowbiteSidebarContentState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
263
+ declare const injectFlowbiteSidebarContentState: <U = {
264
+ readonly config: flowbite_angular_sidebar.FlowbiteSidebarContentConfig;
265
+ readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
266
+ readonly config: /*elided*/ any;
267
+ readonly open: /*elided*/ any;
268
+ readonly color: /*elided*/ any;
269
+ readonly customTheme: /*elided*/ any;
270
+ readonly theme: /*elided*/ any;
271
+ readonly state: /*elided*/ any;
272
+ onClick: /*elided*/ any;
273
+ toggle: /*elided*/ any;
274
+ }>>;
275
+ readonly customTheme: _angular_core.InputSignal<{
276
+ host?: {
277
+ base?: string | undefined;
278
+ transition?: string | undefined;
279
+ open?: {
280
+ off?: string | undefined;
281
+ on?: string | undefined;
282
+ } | undefined;
283
+ color?: {
284
+ [x: string]: {
285
+ light?: string | undefined;
286
+ dark?: string | undefined;
287
+ } | undefined;
288
+ default?: {
289
+ light?: string | undefined;
290
+ dark?: string | undefined;
291
+ } | undefined;
292
+ info?: {
293
+ light?: string | undefined;
294
+ dark?: string | undefined;
295
+ } | undefined;
296
+ failure?: {
297
+ light?: string | undefined;
298
+ dark?: string | undefined;
299
+ } | undefined;
300
+ success?: {
301
+ light?: string | undefined;
302
+ dark?: string | undefined;
303
+ } | undefined;
304
+ warning?: {
305
+ light?: string | undefined;
306
+ dark?: string | undefined;
307
+ } | undefined;
308
+ primary?: {
309
+ light?: string | undefined;
310
+ dark?: string | undefined;
311
+ } | undefined;
312
+ } | undefined;
313
+ } | undefined;
314
+ container?: {
315
+ base?: string | undefined;
316
+ } | undefined;
317
+ }>;
318
+ readonly theme: _angular_core.Signal<{
319
+ host: {
320
+ root: string;
321
+ };
322
+ container: {
323
+ root: string;
324
+ };
325
+ }>;
326
+ readonly state: ng_primitives_state.CreatedState<SidebarContent>;
327
+ onClick: ($event: MouseEvent) => void;
328
+ }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
329
+ declare const flowbiteSidebarContentState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
330
+
331
+ interface FlowbiteSidebarToggleTheme {
332
+ host: FlowbiteSidebarToggleHostTheme;
333
+ }
334
+ interface FlowbiteSidebarToggleHostTheme {
335
+ base: string;
336
+ transition: string;
337
+ focus: string;
338
+ disabled: string;
339
+ size: FlowbiteBaseButtonSizes;
340
+ pill: FlowbiteBoolean;
341
+ color: FlowbiteBaseButtonColors;
342
+ colorOutline: FlowbiteBaseButtonColors;
343
+ }
344
+ declare const flowbiteSidebarToggleTheme: FlowbiteSidebarToggleTheme;
345
+
346
+ interface FlowbiteSidebarToggleConfig {
347
+ /**
348
+ * The default theme of sidebar-toggle
349
+ */
350
+ baseTheme: FlowbiteSidebarToggleTheme;
351
+ /**
352
+ * The custom theme of sidebar-toggle
353
+ */
354
+ customTheme: DeepPartial<FlowbiteSidebarToggleTheme>;
355
+ }
356
+ declare const defaultFlowbiteSidebarToggleConfig: FlowbiteSidebarToggleConfig;
357
+ declare const FlowbiteSidebarToggleConfigToken: InjectionToken<FlowbiteSidebarToggleConfig>;
358
+ /**
359
+ * Provide the default SidebarToggle configuration
360
+ * @param config The SidebarToggle configuration
361
+ * @returns The provider
362
+ */
363
+ declare const provideFlowbiteSidebarToggleConfig: (config: Partial<FlowbiteSidebarToggleConfig>) => Provider[];
364
+ /**
365
+ * Inject the SidebarToggle configuration
366
+ * @see {@link defaultFlowbiteSidebarToggleConfig}
367
+ * @returns The configuration
368
+ */
369
+ declare const injectFlowbiteSidebarToggleConfig: () => FlowbiteSidebarToggleConfig;
370
+
371
+ declare class SidebarToggle {
372
+ protected readonly config: FlowbiteSidebarToggleConfig;
373
+ protected readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
374
+ readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
375
+ readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
376
+ readonly color: _angular_core.InputSignal<keyof flowbite_angular_sidebar.FlowbiteSidebarColors>;
377
+ readonly customTheme: _angular_core.InputSignal<{
378
+ host?: {
379
+ base?: string | undefined;
380
+ transition?: string | undefined;
381
+ open?: {
382
+ off?: string | undefined;
383
+ on?: string | undefined;
384
+ } | undefined;
385
+ } | undefined;
386
+ }>;
387
+ readonly theme: _angular_core.Signal<{
388
+ host: {
389
+ root: string;
390
+ };
391
+ }>;
392
+ readonly state: ng_primitives_state.CreatedState<flowbite_angular_sidebar.Sidebar>;
393
+ onClick: () => void;
394
+ toggle: (newState?: boolean) => void;
395
+ }>>;
396
+ /**
397
+ * @see {@link injectFlowbiteSidebarToggleConfig}
398
+ */
399
+ readonly customTheme: _angular_core.InputSignal<{
400
+ host?: {
401
+ base?: string | undefined;
402
+ transition?: string | undefined;
403
+ focus?: string | undefined;
404
+ disabled?: string | undefined;
405
+ size?: {
406
+ [x: string]: string | undefined;
407
+ xs?: string | undefined;
408
+ sm?: string | undefined;
409
+ md?: string | undefined;
410
+ lg?: string | undefined;
411
+ xl?: string | undefined;
412
+ } | undefined;
413
+ pill?: {
414
+ off?: string | undefined;
415
+ on?: string | undefined;
416
+ } | undefined;
417
+ color?: {
418
+ [x: string]: {
419
+ light?: string | undefined;
420
+ dark?: string | undefined;
421
+ } | undefined;
422
+ default?: {
423
+ light?: string | undefined;
424
+ dark?: string | undefined;
425
+ } | undefined;
426
+ info?: {
427
+ light?: string | undefined;
428
+ dark?: string | undefined;
429
+ } | undefined;
430
+ failure?: {
431
+ light?: string | undefined;
432
+ dark?: string | undefined;
433
+ } | undefined;
434
+ success?: {
435
+ light?: string | undefined;
436
+ dark?: string | undefined;
437
+ } | undefined;
438
+ warning?: {
439
+ light?: string | undefined;
440
+ dark?: string | undefined;
441
+ } | undefined;
442
+ primary?: {
443
+ light?: string | undefined;
444
+ dark?: string | undefined;
445
+ } | undefined;
446
+ } | undefined;
447
+ colorOutline?: {
448
+ [x: string]: {
449
+ light?: string | undefined;
450
+ dark?: string | undefined;
451
+ } | undefined;
452
+ default?: {
453
+ light?: string | undefined;
454
+ dark?: string | undefined;
455
+ } | undefined;
456
+ info?: {
457
+ light?: string | undefined;
458
+ dark?: string | undefined;
459
+ } | undefined;
460
+ failure?: {
461
+ light?: string | undefined;
462
+ dark?: string | undefined;
463
+ } | undefined;
464
+ success?: {
465
+ light?: string | undefined;
466
+ dark?: string | undefined;
467
+ } | undefined;
468
+ warning?: {
469
+ light?: string | undefined;
470
+ dark?: string | undefined;
471
+ } | undefined;
472
+ primary?: {
473
+ light?: string | undefined;
474
+ dark?: string | undefined;
475
+ } | undefined;
476
+ } | undefined;
477
+ } | undefined;
478
+ }>;
479
+ readonly theme: _angular_core.Signal<{
480
+ host: {
481
+ root: string;
482
+ };
483
+ }>;
484
+ /**
485
+ * @internal
486
+ */
487
+ readonly state: ng_primitives_state.CreatedState<SidebarToggle>;
488
+ /**
489
+ * @internal
490
+ */
491
+ onClick(): void;
492
+ /**
493
+ * @internal
494
+ */
495
+ toggleSidebar(): void;
496
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarToggle, never>;
497
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SidebarToggle, " button[flowbiteSidebarToggle] ", ["flowbiteSidebarToggle"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BaseButton; inputs: {}; outputs: {}; }]>;
498
+ }
499
+
500
+ declare const FlowbiteSidebarToggleStateToken: _angular_core.InjectionToken<SidebarToggle>;
501
+ declare const provideFlowbiteSidebarToggleState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
502
+ declare const injectFlowbiteSidebarToggleState: <U = {
503
+ readonly config: flowbite_angular_sidebar.FlowbiteSidebarToggleConfig;
504
+ readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
505
+ readonly config: /*elided*/ any;
506
+ readonly open: /*elided*/ any;
507
+ readonly color: /*elided*/ any;
508
+ readonly customTheme: /*elided*/ any;
509
+ readonly theme: /*elided*/ any;
510
+ readonly state: /*elided*/ any;
511
+ onClick: /*elided*/ any;
512
+ toggle: /*elided*/ any;
513
+ }>>;
514
+ readonly customTheme: _angular_core.InputSignal<{
515
+ host?: {
516
+ base?: string | undefined;
517
+ transition?: string | undefined;
518
+ focus?: string | undefined;
519
+ disabled?: string | undefined;
520
+ size?: {
521
+ [x: string]: string | undefined;
522
+ xs?: string | undefined;
523
+ sm?: string | undefined;
524
+ md?: string | undefined;
525
+ lg?: string | undefined;
526
+ xl?: string | undefined;
527
+ } | undefined;
528
+ pill?: {
529
+ off?: string | undefined;
530
+ on?: string | undefined;
531
+ } | undefined;
532
+ color?: {
533
+ [x: string]: {
534
+ light?: string | undefined;
535
+ dark?: string | undefined;
536
+ } | undefined;
537
+ default?: {
538
+ light?: string | undefined;
539
+ dark?: string | undefined;
540
+ } | undefined;
541
+ info?: {
542
+ light?: string | undefined;
543
+ dark?: string | undefined;
544
+ } | undefined;
545
+ failure?: {
546
+ light?: string | undefined;
547
+ dark?: string | undefined;
548
+ } | undefined;
549
+ success?: {
550
+ light?: string | undefined;
551
+ dark?: string | undefined;
552
+ } | undefined;
553
+ warning?: {
554
+ light?: string | undefined;
555
+ dark?: string | undefined;
556
+ } | undefined;
557
+ primary?: {
558
+ light?: string | undefined;
559
+ dark?: string | undefined;
560
+ } | undefined;
561
+ } | undefined;
562
+ colorOutline?: {
563
+ [x: string]: {
564
+ light?: string | undefined;
565
+ dark?: string | undefined;
566
+ } | undefined;
567
+ default?: {
568
+ light?: string | undefined;
569
+ dark?: string | undefined;
570
+ } | undefined;
571
+ info?: {
572
+ light?: string | undefined;
573
+ dark?: string | undefined;
574
+ } | undefined;
575
+ failure?: {
576
+ light?: string | undefined;
577
+ dark?: string | undefined;
578
+ } | undefined;
579
+ success?: {
580
+ light?: string | undefined;
581
+ dark?: string | undefined;
582
+ } | undefined;
583
+ warning?: {
584
+ light?: string | undefined;
585
+ dark?: string | undefined;
586
+ } | undefined;
587
+ primary?: {
588
+ light?: string | undefined;
589
+ dark?: string | undefined;
590
+ } | undefined;
591
+ } | undefined;
592
+ } | undefined;
593
+ }>;
594
+ readonly theme: _angular_core.Signal<{
595
+ host: {
596
+ root: string;
597
+ };
598
+ }>;
599
+ readonly state: ng_primitives_state.CreatedState<SidebarToggle>;
600
+ onClick: () => void;
601
+ toggleSidebar: () => void;
602
+ }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
603
+ declare const flowbiteSidebarToggleState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
604
+
605
+ interface FlowbiteSidebarItemTheme {
606
+ host: FlowbiteSidebarItemHostTheme;
607
+ }
608
+ interface FlowbiteSidebarItemHostTheme {
609
+ base: string;
610
+ transition: string;
611
+ focus: string;
612
+ disabled: string;
613
+ size: FlowbiteBaseButtonSizes;
614
+ pill: FlowbiteBoolean;
615
+ color: FlowbiteBaseButtonColors;
616
+ colorOutline: FlowbiteBaseButtonColors;
617
+ }
618
+ declare const flowbiteSidebarItemTheme: FlowbiteSidebarItemTheme;
619
+
620
+ interface FlowbiteSidebarItemConfig {
621
+ /**
622
+ * The default theme of sidebar-item
623
+ */
624
+ baseTheme: FlowbiteSidebarItemTheme;
625
+ /**
626
+ * The custom theme of sidebar-item
627
+ */
628
+ customTheme: DeepPartial<FlowbiteSidebarItemTheme>;
629
+ }
630
+ declare const defaultFlowbiteSidebarItemConfig: FlowbiteSidebarItemConfig;
631
+ declare const FlowbiteSidebarItemConfigToken: InjectionToken<FlowbiteSidebarItemConfig>;
632
+ /**
633
+ * Provide the default SidebarItem configuration
634
+ * @param config The SidebarItem configuration
635
+ * @returns The provider
636
+ */
637
+ declare const provideFlowbiteSidebarItemConfig: (config: Partial<FlowbiteSidebarItemConfig>) => Provider[];
638
+ /**
639
+ * Inject the SidebarItem configuration
640
+ * @see {@link defaultFlowbiteSidebarItemConfig}
641
+ * @returns The configuration
642
+ */
643
+ declare const injectFlowbiteSidebarItemConfig: () => FlowbiteSidebarItemConfig;
644
+
645
+ declare class SidebarItem {
646
+ readonly config: FlowbiteSidebarItemConfig;
647
+ readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
648
+ readonly config: flowbite_angular_sidebar.FlowbiteSidebarConfig;
649
+ readonly open: _angular_core.InputSignalWithTransform<boolean, _angular_cdk_coercion.BooleanInput>;
650
+ readonly color: _angular_core.InputSignal<keyof flowbite_angular_sidebar.FlowbiteSidebarColors>;
651
+ readonly customTheme: _angular_core.InputSignal<{
652
+ host?: {
653
+ base?: string | undefined;
654
+ transition?: string | undefined;
655
+ open?: {
656
+ off?: string | undefined;
657
+ on?: string | undefined;
658
+ } | undefined;
659
+ } | undefined;
660
+ }>;
661
+ readonly theme: _angular_core.Signal<{
662
+ host: {
663
+ root: string;
664
+ };
665
+ }>;
666
+ readonly state: ng_primitives_state.CreatedState<flowbite_angular_sidebar.Sidebar>;
667
+ onClick: () => void;
668
+ toggle: (newState?: boolean) => void;
669
+ }>>;
670
+ /**
671
+ * @see {@link injectFlowbiteSidebarItemConfig}
672
+ */
673
+ readonly customTheme: _angular_core.InputSignal<{
674
+ host?: {
675
+ base?: string | undefined;
676
+ transition?: string | undefined;
677
+ focus?: string | undefined;
678
+ disabled?: string | undefined;
679
+ size?: {
680
+ [x: string]: string | undefined;
681
+ xs?: string | undefined;
682
+ sm?: string | undefined;
683
+ md?: string | undefined;
684
+ lg?: string | undefined;
685
+ xl?: string | undefined;
686
+ } | undefined;
687
+ pill?: {
688
+ off?: string | undefined;
689
+ on?: string | undefined;
690
+ } | undefined;
691
+ color?: {
692
+ [x: string]: {
693
+ light?: string | undefined;
694
+ dark?: string | undefined;
695
+ } | undefined;
696
+ default?: {
697
+ light?: string | undefined;
698
+ dark?: string | undefined;
699
+ } | undefined;
700
+ info?: {
701
+ light?: string | undefined;
702
+ dark?: string | undefined;
703
+ } | undefined;
704
+ failure?: {
705
+ light?: string | undefined;
706
+ dark?: string | undefined;
707
+ } | undefined;
708
+ success?: {
709
+ light?: string | undefined;
710
+ dark?: string | undefined;
711
+ } | undefined;
712
+ warning?: {
713
+ light?: string | undefined;
714
+ dark?: string | undefined;
715
+ } | undefined;
716
+ primary?: {
717
+ light?: string | undefined;
718
+ dark?: string | undefined;
719
+ } | undefined;
720
+ } | undefined;
721
+ colorOutline?: {
722
+ [x: string]: {
723
+ light?: string | undefined;
724
+ dark?: string | undefined;
725
+ } | undefined;
726
+ default?: {
727
+ light?: string | undefined;
728
+ dark?: string | undefined;
729
+ } | undefined;
730
+ info?: {
731
+ light?: string | undefined;
732
+ dark?: string | undefined;
733
+ } | undefined;
734
+ failure?: {
735
+ light?: string | undefined;
736
+ dark?: string | undefined;
737
+ } | undefined;
738
+ success?: {
739
+ light?: string | undefined;
740
+ dark?: string | undefined;
741
+ } | undefined;
742
+ warning?: {
743
+ light?: string | undefined;
744
+ dark?: string | undefined;
745
+ } | undefined;
746
+ primary?: {
747
+ light?: string | undefined;
748
+ dark?: string | undefined;
749
+ } | undefined;
750
+ } | undefined;
751
+ } | undefined;
752
+ }>;
753
+ readonly theme: _angular_core.Signal<{
754
+ host: {
755
+ root: string;
756
+ };
757
+ }>;
758
+ /**
759
+ * @internal
760
+ */
761
+ readonly state: ng_primitives_state.CreatedState<SidebarItem>;
762
+ /**
763
+ * @internal
764
+ */
765
+ onClick(): void;
766
+ /**
767
+ * @internal
768
+ */
769
+ toggleSidebar(): void;
770
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<SidebarItem, never>;
771
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<SidebarItem, " a[flowbiteSidebarItem], button[flowbiteSidebarItem] ", ["flowbiteSidebarItem"], { "customTheme": { "alias": "customTheme"; "required": false; "isSignal": true; }; }, {}, never, never, true, [{ directive: typeof i1.BaseButton; inputs: {}; outputs: {}; }, { directive: typeof i2.NgpButton; inputs: { "disabled": "disabled"; }; outputs: {}; }, { directive: typeof i3.NgpFocus; inputs: { "ngpFocusDisabled": "focusDisabled"; }; outputs: { "ngpFocus": "ngpFocus"; }; }]>;
772
+ }
773
+
774
+ declare const FlowbiteSidebarItemStateToken: _angular_core.InjectionToken<SidebarItem>;
775
+ declare const provideFlowbiteSidebarItemState: (options?: ng_primitives_state.CreateStateProviderOptions) => _angular_core.FactoryProvider;
776
+ declare const injectFlowbiteSidebarItemState: <U = {
777
+ readonly config: flowbite_angular_sidebar.FlowbiteSidebarItemConfig;
778
+ readonly sidebarState: _angular_core.Signal<ng_primitives_state.State<{
779
+ readonly config: /*elided*/ any;
780
+ readonly open: /*elided*/ any;
781
+ readonly color: /*elided*/ any;
782
+ readonly customTheme: /*elided*/ any;
783
+ readonly theme: /*elided*/ any;
784
+ readonly state: /*elided*/ any;
785
+ onClick: /*elided*/ any;
786
+ toggle: /*elided*/ any;
787
+ }>>;
788
+ readonly customTheme: _angular_core.InputSignal<{
789
+ host?: {
790
+ base?: string | undefined;
791
+ transition?: string | undefined;
792
+ focus?: string | undefined;
793
+ disabled?: string | undefined;
794
+ size?: {
795
+ [x: string]: string | undefined;
796
+ xs?: string | undefined;
797
+ sm?: string | undefined;
798
+ md?: string | undefined;
799
+ lg?: string | undefined;
800
+ xl?: string | undefined;
801
+ } | undefined;
802
+ pill?: {
803
+ off?: string | undefined;
804
+ on?: string | undefined;
805
+ } | undefined;
806
+ color?: {
807
+ [x: string]: {
808
+ light?: string | undefined;
809
+ dark?: string | undefined;
810
+ } | undefined;
811
+ default?: {
812
+ light?: string | undefined;
813
+ dark?: string | undefined;
814
+ } | undefined;
815
+ info?: {
816
+ light?: string | undefined;
817
+ dark?: string | undefined;
818
+ } | undefined;
819
+ failure?: {
820
+ light?: string | undefined;
821
+ dark?: string | undefined;
822
+ } | undefined;
823
+ success?: {
824
+ light?: string | undefined;
825
+ dark?: string | undefined;
826
+ } | undefined;
827
+ warning?: {
828
+ light?: string | undefined;
829
+ dark?: string | undefined;
830
+ } | undefined;
831
+ primary?: {
832
+ light?: string | undefined;
833
+ dark?: string | undefined;
834
+ } | undefined;
835
+ } | undefined;
836
+ colorOutline?: {
837
+ [x: string]: {
838
+ light?: string | undefined;
839
+ dark?: string | undefined;
840
+ } | undefined;
841
+ default?: {
842
+ light?: string | undefined;
843
+ dark?: string | undefined;
844
+ } | undefined;
845
+ info?: {
846
+ light?: string | undefined;
847
+ dark?: string | undefined;
848
+ } | undefined;
849
+ failure?: {
850
+ light?: string | undefined;
851
+ dark?: string | undefined;
852
+ } | undefined;
853
+ success?: {
854
+ light?: string | undefined;
855
+ dark?: string | undefined;
856
+ } | undefined;
857
+ warning?: {
858
+ light?: string | undefined;
859
+ dark?: string | undefined;
860
+ } | undefined;
861
+ primary?: {
862
+ light?: string | undefined;
863
+ dark?: string | undefined;
864
+ } | undefined;
865
+ } | undefined;
866
+ } | undefined;
867
+ }>;
868
+ readonly theme: _angular_core.Signal<{
869
+ host: {
870
+ root: string;
871
+ };
872
+ }>;
873
+ readonly state: ng_primitives_state.CreatedState<SidebarItem>;
874
+ onClick: () => void;
875
+ toggleSidebar: () => void;
876
+ }>(injectOptions?: _angular_core.InjectOptions) => _angular_core.Signal<ng_primitives_state.State<U>>;
877
+ declare const flowbiteSidebarItemState: <U>(state: U) => ng_primitives_state.CreatedState<U>;
878
+
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
+ export type { FlowbiteSidebarColors, FlowbiteSidebarConfig, FlowbiteSidebarContentConfig, FlowbiteSidebarContentContainerTheme, FlowbiteSidebarContentHostTheme, FlowbiteSidebarContentTheme, FlowbiteSidebarHostTheme, FlowbiteSidebarItemConfig, FlowbiteSidebarItemHostTheme, FlowbiteSidebarItemTheme, FlowbiteSidebarTheme, FlowbiteSidebarToggleConfig, FlowbiteSidebarToggleHostTheme, FlowbiteSidebarToggleTheme };