flowbite-svelte 1.10.20 → 1.10.22

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 (475) hide show
  1. package/dist/accordion/Accordion.svelte +1 -1
  2. package/dist/accordion/Accordion.svelte.d.ts +1 -1
  3. package/dist/accordion/AccordionItem.svelte +7 -7
  4. package/dist/accordion/AccordionItem.svelte.d.ts +1 -1
  5. package/dist/accordion/index.d.ts +1 -1
  6. package/dist/accordion/theme.d.ts +0 -4
  7. package/dist/alert/Alert.svelte +1 -1
  8. package/dist/alert/Alert.svelte.d.ts +1 -1
  9. package/dist/alert/index.d.ts +1 -1
  10. package/dist/alert/theme.d.ts +0 -2
  11. package/dist/avatar/Avatar.svelte +1 -1
  12. package/dist/avatar/Avatar.svelte.d.ts +1 -1
  13. package/dist/avatar/index.d.ts +1 -1
  14. package/dist/avatar/theme.d.ts +0 -2
  15. package/dist/badge/Badge.svelte +4 -4
  16. package/dist/badge/Badge.svelte.d.ts +1 -1
  17. package/dist/badge/index.d.ts +1 -1
  18. package/dist/badge/theme.d.ts +0 -3
  19. package/dist/banner/Banner.svelte +5 -5
  20. package/dist/banner/Banner.svelte.d.ts +1 -1
  21. package/dist/banner/index.d.ts +1 -1
  22. package/dist/banner/theme.d.ts +0 -3
  23. package/dist/bottom-navigation/BottomNav.svelte +4 -4
  24. package/dist/bottom-navigation/BottomNav.svelte.d.ts +1 -1
  25. package/dist/bottom-navigation/BottomNavHeader.svelte +4 -4
  26. package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +1 -1
  27. package/dist/bottom-navigation/BottomNavHeaderItem.svelte +1 -1
  28. package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
  29. package/dist/bottom-navigation/BottomNavItem.svelte +4 -4
  30. package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +1 -1
  31. package/dist/bottom-navigation/index.d.ts +1 -1
  32. package/dist/bottom-navigation/theme.d.ts +0 -9
  33. package/dist/breadcrumb/Breadcrumb.svelte +4 -4
  34. package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
  35. package/dist/breadcrumb/BreadcrumbItem.svelte +7 -7
  36. package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
  37. package/dist/breadcrumb/index.d.ts +1 -1
  38. package/dist/breadcrumb/theme.d.ts +0 -5
  39. package/dist/button-group/ButtonGroup.svelte +1 -1
  40. package/dist/button-group/ButtonGroup.svelte.d.ts +1 -1
  41. package/dist/button-group/index.d.ts +1 -1
  42. package/dist/button-group/theme.d.ts +0 -2
  43. package/dist/buttons/Button.svelte +3 -3
  44. package/dist/buttons/Button.svelte.d.ts +1 -1
  45. package/dist/buttons/GradientButton.svelte +5 -5
  46. package/dist/buttons/GradientButton.svelte.d.ts +1 -1
  47. package/dist/buttons/index.d.ts +1 -1
  48. package/dist/buttons/theme.d.ts +0 -5
  49. package/dist/card/Card.svelte +5 -5
  50. package/dist/card/Card.svelte.d.ts +1 -1
  51. package/dist/card/index.d.ts +1 -1
  52. package/dist/card/theme.d.ts +0 -3
  53. package/dist/carousel/Carousel.svelte +16 -10
  54. package/dist/carousel/Carousel.svelte.d.ts +2 -1
  55. package/dist/carousel/CarouselIndicators.svelte +5 -5
  56. package/dist/carousel/CarouselIndicators.svelte.d.ts +1 -1
  57. package/dist/carousel/ControlButton.svelte +3 -3
  58. package/dist/carousel/ControlButton.svelte.d.ts +1 -1
  59. package/dist/carousel/Controls.svelte +2 -2
  60. package/dist/carousel/Controls.svelte.d.ts +1 -1
  61. package/dist/carousel/Slide.svelte +1 -1
  62. package/dist/carousel/Slide.svelte.d.ts +1 -1
  63. package/dist/carousel/Thumbnail.svelte +1 -1
  64. package/dist/carousel/Thumbnail.svelte.d.ts +1 -1
  65. package/dist/carousel/Thumbnails.svelte +1 -1
  66. package/dist/carousel/Thumbnails.svelte.d.ts +1 -1
  67. package/dist/carousel/index.d.ts +1 -1
  68. package/dist/carousel/theme.d.ts +0 -9
  69. package/dist/clipboard/Clipboard.svelte +1 -1
  70. package/dist/clipboard/Clipboard.svelte.d.ts +1 -1
  71. package/dist/clipboard/index.d.ts +1 -1
  72. package/dist/clipboard/theme.d.ts +0 -2
  73. package/dist/darkmode/DarkMode.svelte +1 -1
  74. package/dist/darkmode/DarkMode.svelte.d.ts +1 -1
  75. package/dist/darkmode/index.d.ts +1 -1
  76. package/dist/darkmode/theme.d.ts +0 -2
  77. package/dist/datepicker/Datepicker.svelte +13 -13
  78. package/dist/datepicker/Datepicker.svelte.d.ts +1 -1
  79. package/dist/datepicker/index.d.ts +1 -1
  80. package/dist/datepicker/theme.d.ts +0 -3
  81. package/dist/device-mockups/Android.svelte +1 -1
  82. package/dist/device-mockups/Android.svelte.d.ts +1 -1
  83. package/dist/device-mockups/DefaultMockup.svelte +1 -1
  84. package/dist/device-mockups/DefaultMockup.svelte.d.ts +1 -1
  85. package/dist/device-mockups/Desktop.svelte +1 -1
  86. package/dist/device-mockups/Desktop.svelte.d.ts +1 -1
  87. package/dist/device-mockups/DeviceMockup.svelte +1 -1
  88. package/dist/device-mockups/DeviceMockup.svelte.d.ts +1 -1
  89. package/dist/device-mockups/Ios.svelte +1 -1
  90. package/dist/device-mockups/Ios.svelte.d.ts +1 -1
  91. package/dist/device-mockups/Laptop.svelte +1 -1
  92. package/dist/device-mockups/Laptop.svelte.d.ts +1 -1
  93. package/dist/device-mockups/Smartwatch.svelte +1 -1
  94. package/dist/device-mockups/Smartwatch.svelte.d.ts +1 -1
  95. package/dist/device-mockups/Tablet.svelte +1 -1
  96. package/dist/device-mockups/Tablet.svelte.d.ts +1 -1
  97. package/dist/drawer/Drawer.svelte +4 -4
  98. package/dist/drawer/Drawer.svelte.d.ts +1 -1
  99. package/dist/drawer/Drawerhead.svelte +5 -5
  100. package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
  101. package/dist/drawer/index.d.ts +1 -1
  102. package/dist/drawer/theme.d.ts +3 -8
  103. package/dist/dropdown/Dropdown.svelte +1 -1
  104. package/dist/dropdown/Dropdown.svelte.d.ts +1 -1
  105. package/dist/dropdown/DropdownDivider.svelte +1 -1
  106. package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
  107. package/dist/dropdown/DropdownGroup.svelte +1 -1
  108. package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
  109. package/dist/dropdown/DropdownHeader.svelte +1 -1
  110. package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
  111. package/dist/dropdown/DropdownItem.svelte +4 -4
  112. package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
  113. package/dist/dropdown/index.d.ts +1 -1
  114. package/dist/dropdown/theme.d.ts +0 -8
  115. package/dist/footer/Footer.svelte +1 -1
  116. package/dist/footer/Footer.svelte.d.ts +1 -1
  117. package/dist/footer/FooterBrand.svelte +5 -5
  118. package/dist/footer/FooterBrand.svelte.d.ts +1 -1
  119. package/dist/footer/FooterCopyright.svelte +5 -5
  120. package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
  121. package/dist/footer/FooterIcon.svelte +1 -1
  122. package/dist/footer/FooterIcon.svelte.d.ts +1 -1
  123. package/dist/footer/FooterLink.svelte +4 -4
  124. package/dist/footer/FooterLink.svelte.d.ts +1 -1
  125. package/dist/footer/FooterLinkGroup.svelte +1 -1
  126. package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
  127. package/dist/footer/index.d.ts +1 -1
  128. package/dist/footer/theme.d.ts +3 -13
  129. package/dist/forms/button-toggle/ButtonToggle.svelte +6 -6
  130. package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +1 -1
  131. package/dist/forms/button-toggle/CheckIcon.svelte +1 -1
  132. package/dist/forms/button-toggle/CheckIcon.svelte.d.ts +1 -1
  133. package/dist/forms/button-toggle/index.d.ts +1 -1
  134. package/dist/forms/button-toggle/theme.d.ts +0 -4
  135. package/dist/forms/checkbox/Checkbox.svelte +5 -5
  136. package/dist/forms/checkbox/CheckboxButton.svelte +3 -3
  137. package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
  138. package/dist/forms/checkbox/index.d.ts +1 -1
  139. package/dist/forms/checkbox/index.js +1 -1
  140. package/dist/forms/checkbox/theme.d.ts +1 -5
  141. package/dist/forms/checkbox/theme.js +1 -1
  142. package/dist/forms/dropzone/Dropzone.svelte +1 -1
  143. package/dist/forms/dropzone/Dropzone.svelte.d.ts +1 -1
  144. package/dist/forms/dropzone/index.d.ts +1 -1
  145. package/dist/forms/dropzone/theme.d.ts +0 -2
  146. package/dist/forms/fileupload/Fileupload.svelte +5 -5
  147. package/dist/forms/fileupload/Fileupload.svelte.d.ts +1 -1
  148. package/dist/forms/fileupload/index.d.ts +1 -1
  149. package/dist/forms/fileupload/theme.d.ts +0 -3
  150. package/dist/forms/floating-label/FloatingLabelInput.svelte +7 -7
  151. package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +1 -1
  152. package/dist/forms/floating-label/index.d.ts +1 -1
  153. package/dist/forms/floating-label/theme.d.ts +0 -3
  154. package/dist/forms/helper/Helper.svelte +1 -1
  155. package/dist/forms/helper/Helper.svelte.d.ts +1 -1
  156. package/dist/forms/helper/index.d.ts +1 -1
  157. package/dist/forms/helper/theme.d.ts +0 -2
  158. package/dist/forms/input-addon/InputAddon.svelte +2 -5
  159. package/dist/forms/input-addon/InputAddon.svelte.d.ts +1 -1
  160. package/dist/forms/input-field/Input.svelte +10 -10
  161. package/dist/forms/input-field/index.d.ts +1 -1
  162. package/dist/forms/input-field/theme.d.ts +0 -3
  163. package/dist/forms/label/Label.svelte +1 -1
  164. package/dist/forms/label/Label.svelte.d.ts +1 -1
  165. package/dist/forms/label/index.d.ts +1 -1
  166. package/dist/forms/label/theme.d.ts +0 -2
  167. package/dist/forms/phoneinput/PhoneInput.svelte +8 -8
  168. package/dist/forms/phoneinput/index.d.ts +1 -1
  169. package/dist/forms/phoneinput/index.js +1 -1
  170. package/dist/forms/phoneinput/theme.d.ts +3 -10
  171. package/dist/forms/phoneinput/theme.js +1 -1
  172. package/dist/forms/radio/Radio.svelte +3 -3
  173. package/dist/forms/radio/Radio.svelte.d.ts +10 -3
  174. package/dist/forms/radio/RadioButton.svelte +2 -2
  175. package/dist/forms/radio/RadioButton.svelte.d.ts +10 -3
  176. package/dist/forms/radio/index.d.ts +1 -1
  177. package/dist/forms/radio/index.js +1 -1
  178. package/dist/forms/radio/theme.d.ts +1 -5
  179. package/dist/forms/radio/theme.js +1 -1
  180. package/dist/forms/range/Range.svelte +1 -1
  181. package/dist/forms/range/Range.svelte.d.ts +1 -1
  182. package/dist/forms/range/theme.d.ts +0 -2
  183. package/dist/forms/search/Search.svelte +8 -8
  184. package/dist/forms/search/Search.svelte.d.ts +1 -1
  185. package/dist/forms/search/index.d.ts +1 -1
  186. package/dist/forms/search/theme.d.ts +0 -3
  187. package/dist/forms/select/MultiSelect.svelte +4 -4
  188. package/dist/forms/select/MultiSelect.svelte.d.ts +10 -3
  189. package/dist/forms/select/Select.svelte +4 -4
  190. package/dist/forms/select/Select.svelte.d.ts +10 -3
  191. package/dist/forms/select/index.d.ts +1 -1
  192. package/dist/forms/select/theme.d.ts +0 -5
  193. package/dist/forms/tags/Tags.svelte +6 -6
  194. package/dist/forms/tags/Tags.svelte.d.ts +1 -1
  195. package/dist/forms/tags/index.d.ts +1 -1
  196. package/dist/forms/tags/theme.d.ts +6 -9
  197. package/dist/forms/textarea/Textarea.svelte +10 -10
  198. package/dist/forms/textarea/Textarea.svelte.d.ts +1 -1
  199. package/dist/forms/textarea/index.d.ts +1 -1
  200. package/dist/forms/textarea/theme.d.ts +0 -3
  201. package/dist/forms/timepicker/Timepicker.svelte +38 -38
  202. package/dist/forms/timepicker/Timepicker.svelte.d.ts +1 -1
  203. package/dist/forms/timepicker/index.d.ts +1 -1
  204. package/dist/forms/timepicker/theme.d.ts +0 -3
  205. package/dist/forms/toggle/Toggle.svelte +5 -5
  206. package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
  207. package/dist/forms/toggle/index.d.ts +1 -1
  208. package/dist/forms/toggle/theme.d.ts +0 -3
  209. package/dist/gallery/Gallery.svelte +4 -4
  210. package/dist/gallery/Gallery.svelte.d.ts +1 -1
  211. package/dist/gallery/index.d.ts +1 -1
  212. package/dist/gallery/theme.d.ts +0 -3
  213. package/dist/indicator/Indicator.svelte +1 -1
  214. package/dist/indicator/Indicator.svelte.d.ts +1 -1
  215. package/dist/indicator/index.d.ts +1 -1
  216. package/dist/indicator/theme.d.ts +0 -2
  217. package/dist/kbd/Kbd.svelte +1 -1
  218. package/dist/kbd/Kbd.svelte.d.ts +1 -1
  219. package/dist/kbd/index.d.ts +1 -1
  220. package/dist/kbd/theme.d.ts +0 -2
  221. package/dist/list-group/Listgroup.svelte +3 -3
  222. package/dist/list-group/Listgroup.svelte.d.ts +1 -1
  223. package/dist/list-group/ListgroupItem.svelte +2 -2
  224. package/dist/list-group/ListgroupItem.svelte.d.ts +1 -1
  225. package/dist/list-group/index.d.ts +1 -1
  226. package/dist/list-group/theme.d.ts +1 -4
  227. package/dist/mega-menu/MegaMenu.svelte +7 -7
  228. package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
  229. package/dist/mega-menu/index.d.ts +1 -1
  230. package/dist/mega-menu/theme.d.ts +0 -3
  231. package/dist/modal/Modal.svelte +10 -9
  232. package/dist/modal/Modal.svelte.d.ts +2 -1
  233. package/dist/modal/index.d.ts +1 -1
  234. package/dist/modal/theme.d.ts +24 -3
  235. package/dist/modal/theme.js +6 -0
  236. package/dist/navbar/Menu.svelte +2 -5
  237. package/dist/navbar/Menu.svelte.d.ts +1 -1
  238. package/dist/navbar/NavBrand.svelte +2 -2
  239. package/dist/navbar/NavBrand.svelte.d.ts +1 -1
  240. package/dist/navbar/NavContainer.svelte +2 -2
  241. package/dist/navbar/NavContainer.svelte.d.ts +1 -1
  242. package/dist/navbar/NavHamburger.svelte +5 -5
  243. package/dist/navbar/NavHamburger.svelte.d.ts +1 -1
  244. package/dist/navbar/NavLi.svelte +2 -2
  245. package/dist/navbar/NavLi.svelte.d.ts +1 -1
  246. package/dist/navbar/NavUl.svelte +7 -7
  247. package/dist/navbar/NavUl.svelte.d.ts +1 -1
  248. package/dist/navbar/Navbar.svelte +1 -1
  249. package/dist/navbar/Navbar.svelte.d.ts +1 -1
  250. package/dist/navbar/index.d.ts +1 -1
  251. package/dist/navbar/index.js +1 -1
  252. package/dist/navbar/theme.d.ts +0 -8
  253. package/dist/pagination/Pagination.svelte +1 -1
  254. package/dist/pagination/Pagination.svelte.d.ts +1 -1
  255. package/dist/pagination/PaginationButton.svelte +1 -1
  256. package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
  257. package/dist/pagination/PaginationItem.svelte +2 -2
  258. package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
  259. package/dist/pagination/PaginationNav.svelte +8 -8
  260. package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
  261. package/dist/pagination/index.d.ts +1 -1
  262. package/dist/pagination/theme.d.ts +0 -6
  263. package/dist/popover/Popover.svelte +6 -6
  264. package/dist/popover/Popover.svelte.d.ts +1 -1
  265. package/dist/popover/index.d.ts +1 -1
  266. package/dist/popover/theme.d.ts +0 -3
  267. package/dist/progress/Progressbar.svelte +8 -8
  268. package/dist/progress/Progressbar.svelte.d.ts +1 -1
  269. package/dist/progress/Progressradial.svelte +9 -9
  270. package/dist/progress/Progressradial.svelte.d.ts +1 -1
  271. package/dist/progress/index.d.ts +1 -1
  272. package/dist/progress/theme.d.ts +0 -5
  273. package/dist/rating/AdvancedRating.svelte +7 -7
  274. package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
  275. package/dist/rating/CustomIcon.svelte +1 -1
  276. package/dist/rating/CustomIcon.svelte.d.ts +1 -1
  277. package/dist/rating/Heart.svelte +1 -1
  278. package/dist/rating/Heart.svelte.d.ts +1 -1
  279. package/dist/rating/Rating.svelte +4 -4
  280. package/dist/rating/Rating.svelte.d.ts +1 -1
  281. package/dist/rating/RatingComment.svelte +1 -1
  282. package/dist/rating/RatingComment.svelte.d.ts +1 -1
  283. package/dist/rating/Review.svelte +9 -9
  284. package/dist/rating/Review.svelte.d.ts +1 -1
  285. package/dist/rating/ScoreRating.svelte +9 -9
  286. package/dist/rating/ScoreRating.svelte.d.ts +1 -1
  287. package/dist/rating/Star.svelte +1 -1
  288. package/dist/rating/Star.svelte.d.ts +1 -1
  289. package/dist/rating/Thumbup.svelte +1 -1
  290. package/dist/rating/Thumbup.svelte.d.ts +1 -1
  291. package/dist/rating/index.d.ts +1 -1
  292. package/dist/rating/theme.d.ts +6 -15
  293. package/dist/sidebar/Sidebar.svelte +10 -10
  294. package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
  295. package/dist/sidebar/SidebarBrand.svelte +5 -5
  296. package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
  297. package/dist/sidebar/SidebarButton.svelte +1 -1
  298. package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
  299. package/dist/sidebar/SidebarCta.svelte +5 -5
  300. package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
  301. package/dist/sidebar/SidebarDropdownWrapper.svelte +8 -8
  302. package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
  303. package/dist/sidebar/SidebarGroup.svelte +1 -1
  304. package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
  305. package/dist/sidebar/SidebarItem.svelte +1 -1
  306. package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
  307. package/dist/sidebar/index.d.ts +1 -1
  308. package/dist/sidebar/theme.d.ts +9 -19
  309. package/dist/skeleton/CardPlaceholder.svelte +13 -13
  310. package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
  311. package/dist/skeleton/ImagePlaceholder.svelte +13 -13
  312. package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
  313. package/dist/skeleton/ListPlaceholder.svelte +8 -8
  314. package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
  315. package/dist/skeleton/Skeleton.svelte +10 -10
  316. package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
  317. package/dist/skeleton/TestimonialPlaceholder.svelte +9 -9
  318. package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
  319. package/dist/skeleton/TextPlaceholder.svelte +27 -27
  320. package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
  321. package/dist/skeleton/VideoPlaceholder.svelte +1 -1
  322. package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
  323. package/dist/skeleton/WidgetPlaceholder.svelte +3 -3
  324. package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
  325. package/dist/skeleton/index.d.ts +1 -1
  326. package/dist/skeleton/theme.d.ts +0 -16
  327. package/dist/speed-dial/SpeedDial.svelte +4 -4
  328. package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
  329. package/dist/speed-dial/SpeedDialButton.svelte +4 -4
  330. package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
  331. package/dist/speed-dial/SpeedDialTrigger.svelte +1 -1
  332. package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
  333. package/dist/speed-dial/index.d.ts +1 -1
  334. package/dist/speed-dial/theme.d.ts +0 -5
  335. package/dist/spinner/Spinner.svelte +1 -1
  336. package/dist/spinner/Spinner.svelte.d.ts +1 -1
  337. package/dist/spinner/index.d.ts +1 -1
  338. package/dist/spinner/theme.d.ts +0 -2
  339. package/dist/stepindicator/StepIndicator.svelte +1 -1
  340. package/dist/stepindicator/StepIndicator.svelte.d.ts +1 -1
  341. package/dist/stepper/BreadcrumbStepper.svelte +6 -6
  342. package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
  343. package/dist/stepper/DetailedStepper.svelte +5 -5
  344. package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
  345. package/dist/stepper/ProgressStepper.svelte +4 -5
  346. package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
  347. package/dist/stepper/Stepper.svelte +5 -5
  348. package/dist/stepper/Stepper.svelte.d.ts +1 -1
  349. package/dist/stepper/TimelineStepper.svelte +5 -5
  350. package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
  351. package/dist/stepper/VerticalStepper.svelte +6 -6
  352. package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
  353. package/dist/stepper/index.d.ts +1 -1
  354. package/dist/stepper/theme.d.ts +0 -13
  355. package/dist/table/Table.svelte +4 -4
  356. package/dist/table/Table.svelte.d.ts +1 -1
  357. package/dist/table/TableBody.svelte +2 -5
  358. package/dist/table/TableBody.svelte.d.ts +1 -1
  359. package/dist/table/TableBodyCell.svelte +1 -1
  360. package/dist/table/TableBodyCell.svelte.d.ts +1 -1
  361. package/dist/table/TableBodyRow.svelte +1 -1
  362. package/dist/table/TableBodyRow.svelte.d.ts +1 -1
  363. package/dist/table/TableHead.svelte +1 -1
  364. package/dist/table/TableHead.svelte.d.ts +1 -1
  365. package/dist/table/TableHeadCell.svelte +1 -1
  366. package/dist/table/TableHeadCell.svelte.d.ts +1 -1
  367. package/dist/table/TableSearch.svelte +9 -9
  368. package/dist/table/TableSearch.svelte.d.ts +1 -1
  369. package/dist/table/index.d.ts +1 -1
  370. package/dist/table/theme.d.ts +0 -9
  371. package/dist/tabs/TabItem.svelte +5 -5
  372. package/dist/tabs/TabItem.svelte.d.ts +1 -1
  373. package/dist/tabs/Tabs.svelte +6 -6
  374. package/dist/tabs/Tabs.svelte.d.ts +2 -2
  375. package/dist/tabs/index.d.ts +1 -1
  376. package/dist/tabs/theme.d.ts +0 -5
  377. package/dist/theme/index.d.ts +7 -0
  378. package/dist/theme/index.js +1 -2
  379. package/dist/theme/themes.d.ts +70 -0
  380. package/dist/theme/themes.js +75 -0
  381. package/dist/timeline/Activity.svelte +1 -1
  382. package/dist/timeline/Activity.svelte.d.ts +1 -1
  383. package/dist/timeline/ActivityItem.svelte +11 -11
  384. package/dist/timeline/ActivityItem.svelte.d.ts +2 -2
  385. package/dist/timeline/Group.svelte +6 -6
  386. package/dist/timeline/Group.svelte.d.ts +2 -2
  387. package/dist/timeline/GroupItem.svelte +11 -11
  388. package/dist/timeline/GroupItem.svelte.d.ts +2 -2
  389. package/dist/timeline/Timeline.svelte +1 -1
  390. package/dist/timeline/Timeline.svelte.d.ts +1 -1
  391. package/dist/timeline/TimelineItem.svelte +9 -9
  392. package/dist/timeline/TimelineItem.svelte.d.ts +2 -2
  393. package/dist/timeline/index.d.ts +1 -1
  394. package/dist/timeline/theme.d.ts +9 -20
  395. package/dist/toast/Toast.svelte +6 -6
  396. package/dist/toast/Toast.svelte.d.ts +1 -1
  397. package/dist/toast/index.d.ts +1 -1
  398. package/dist/toast/theme.d.ts +0 -3
  399. package/dist/toolbar/Toolbar.svelte +4 -4
  400. package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
  401. package/dist/toolbar/ToolbarButton.svelte +1 -1
  402. package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
  403. package/dist/toolbar/ToolbarGroup.svelte +1 -1
  404. package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
  405. package/dist/toolbar/index.d.ts +1 -1
  406. package/dist/toolbar/theme.d.ts +0 -5
  407. package/dist/tooltip/Tooltip.svelte +1 -1
  408. package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
  409. package/dist/tooltip/index.d.ts +1 -1
  410. package/dist/tooltip/theme.d.ts +0 -3
  411. package/dist/types.d.ts +5 -7
  412. package/dist/typography/anchor/A.svelte +2 -2
  413. package/dist/typography/anchor/A.svelte.d.ts +1 -1
  414. package/dist/typography/anchor/index.d.ts +1 -1
  415. package/dist/typography/anchor/theme.d.ts +0 -2
  416. package/dist/typography/blockquote/Blockquote.svelte +1 -1
  417. package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
  418. package/dist/typography/blockquote/theme.d.ts +0 -2
  419. package/dist/typography/descriptionlist/DescriptionList.svelte +1 -1
  420. package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
  421. package/dist/typography/descriptionlist/index.d.ts +1 -1
  422. package/dist/typography/descriptionlist/theme.d.ts +0 -2
  423. package/dist/typography/heading/Heading.svelte +1 -1
  424. package/dist/typography/heading/Heading.svelte.d.ts +1 -1
  425. package/dist/typography/heading/index.d.ts +1 -1
  426. package/dist/typography/heading/theme.d.ts +0 -2
  427. package/dist/typography/hr/Hr.svelte +6 -6
  428. package/dist/typography/hr/Hr.svelte.d.ts +1 -1
  429. package/dist/typography/hr/index.d.ts +1 -1
  430. package/dist/typography/hr/theme.d.ts +0 -3
  431. package/dist/typography/img/EnhancedImg.svelte +7 -7
  432. package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
  433. package/dist/typography/img/Img.svelte +6 -6
  434. package/dist/typography/img/Img.svelte.d.ts +1 -1
  435. package/dist/typography/img/index.d.ts +1 -1
  436. package/dist/typography/img/theme.d.ts +0 -3
  437. package/dist/typography/layout/Layout.svelte +1 -1
  438. package/dist/typography/layout/Layout.svelte.d.ts +1 -1
  439. package/dist/typography/layout/index.d.ts +1 -1
  440. package/dist/typography/layout/theme.d.ts +0 -2
  441. package/dist/typography/list/Li.svelte +2 -5
  442. package/dist/typography/list/Li.svelte.d.ts +1 -1
  443. package/dist/typography/list/List.svelte +1 -1
  444. package/dist/typography/list/List.svelte.d.ts +1 -1
  445. package/dist/typography/list/index.d.ts +1 -1
  446. package/dist/typography/list/theme.d.ts +0 -2
  447. package/dist/typography/mark/Mark.svelte +1 -2
  448. package/dist/typography/mark/Mark.svelte.d.ts +1 -1
  449. package/dist/typography/mark/index.d.ts +1 -1
  450. package/dist/typography/mark/theme.d.ts +0 -2
  451. package/dist/typography/paragraph/P.svelte +2 -2
  452. package/dist/typography/paragraph/P.svelte.d.ts +1 -1
  453. package/dist/typography/paragraph/index.d.ts +1 -1
  454. package/dist/typography/paragraph/theme.d.ts +0 -2
  455. package/dist/typography/secondary/Secondary.svelte +1 -1
  456. package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
  457. package/dist/typography/secondary/index.d.ts +1 -1
  458. package/dist/typography/secondary/theme.d.ts +0 -2
  459. package/dist/typography/span/Span.svelte +1 -1
  460. package/dist/typography/span/Span.svelte.d.ts +1 -1
  461. package/dist/typography/span/index.d.ts +1 -1
  462. package/dist/typography/span/theme.d.ts +0 -2
  463. package/dist/utils/Arrow.svelte +1 -1
  464. package/dist/utils/Arrow.svelte.d.ts +1 -1
  465. package/dist/utils/CloseButton.svelte +3 -3
  466. package/dist/utils/CloseButton.svelte.d.ts +1 -1
  467. package/dist/utils/Popper.svelte +1 -1
  468. package/dist/utils/Popper.svelte.d.ts +1 -1
  469. package/dist/utils/index.d.ts +1 -1
  470. package/dist/utils/index.js +1 -1
  471. package/dist/utils/theme.d.ts +4 -1
  472. package/dist/utils/theme.js +1 -1
  473. package/dist/video/Video.svelte +1 -1
  474. package/dist/video/Video.svelte.d.ts +1 -1
  475. package/package.json +10 -10
@@ -30,7 +30,7 @@
30
30
  @component
31
31
  [Go to docs](https://flowbite-svelte.com/)
32
32
  ## Type
33
- [AccordionProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L177)
33
+ [AccordionProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L179)
34
34
  ## Props
35
35
  @prop children
36
36
  @prop flush
@@ -2,7 +2,7 @@ import { type AccordionProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [AccordionProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L177)
5
+ * [AccordionProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L179)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop flush
@@ -5,7 +5,7 @@
5
5
  import { getContext } from "svelte";
6
6
  import { writable } from "svelte/store";
7
7
  import { slide } from "svelte/transition";
8
- import { accordionItem, type AccordionItemTheme } from ".";
8
+ import { accordionItem } from ".";
9
9
 
10
10
  let { children, header, arrowup, arrowdown, open = $bindable(false), activeClass, inactiveClass, transitionType = slide, transitionParams, class: className, classes, headerClass, contentClass }: AccordionItemProps = $props();
11
11
 
@@ -32,7 +32,7 @@
32
32
  const useTransition = transitionType === "none" ? false : ctxTransitionType === "none" ? false : true;
33
33
 
34
34
  // Theme context
35
- const theme = getTheme("accordionitem");
35
+ const theme = getTheme("accordionItem");
36
36
 
37
37
  const ctx: AccordionCtxType = getContext("ctx") ?? {};
38
38
 
@@ -51,8 +51,8 @@
51
51
  let buttonClass = $derived(clsx(open && !ctx.flush && (styling.active || ctx.activeClass || active()), !open && !ctx.flush && (styling.inactive || ctx.inactiveClass || inactive())));
52
52
  </script>
53
53
 
54
- <h2 class={base({ class: clsx((theme as AccordionItemTheme)?.base, className) })}>
55
- <button type="button" onclick={handleToggle} class={button({ class: clsx(buttonClass, (theme as AccordionItemTheme)?.button, styling.button) })} aria-expanded={open}>
54
+ <h2 class={base({ class: clsx(theme?.base, className) })}>
55
+ <button type="button" onclick={handleToggle} class={button({ class: clsx(buttonClass, theme?.button, styling.button) })} aria-expanded={open}>
56
56
  {#if header}
57
57
  {@render header()}
58
58
  {#if open}
@@ -77,14 +77,14 @@
77
77
  {#if useTransition}
78
78
  {#if open && transitionType !== "none"}
79
79
  <div transition:transitionType={transitionParams as ParamsType}>
80
- <div class={content({ class: clsx((theme as AccordionItemTheme)?.content, styling.content) })}>
80
+ <div class={content({ class: clsx(theme?.content, styling.content) })}>
81
81
  {@render children()}
82
82
  </div>
83
83
  </div>
84
84
  {/if}
85
85
  {:else}
86
86
  <div class={open ? "block" : "hidden"}>
87
- <div class={content({ class: clsx((theme as AccordionItemTheme)?.content, styling.content) })}>
87
+ <div class={content({ class: clsx(theme?.content, styling.content) })}>
88
88
  {@render children()}
89
89
  </div>
90
90
  </div>
@@ -94,7 +94,7 @@
94
94
  @component
95
95
  [Go to docs](https://flowbite-svelte.com/)
96
96
  ## Type
97
- [AccordionItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L185)
97
+ [AccordionItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L187)
98
98
  ## Props
99
99
  @prop children
100
100
  @prop header
@@ -2,7 +2,7 @@ import { type AccordionItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [AccordionItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L185)
5
+ * [AccordionItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L187)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop header
@@ -1,3 +1,3 @@
1
1
  export { default as Accordion } from "./Accordion.svelte";
2
2
  export { default as AccordionItem } from "./AccordionItem.svelte";
3
- export { accordion, accordionItem, type AccordionTheme, type AccordionItemTheme } from "./theme";
3
+ export { accordion, accordionItem } from "./theme";
@@ -1,11 +1,7 @@
1
1
  import type { Classes } from "../theme/themeUtils";
2
- import type { ClassValue } from "svelte/elements";
3
2
  import { type VariantProps } from "tailwind-variants";
4
3
  export type AccordionVariants = VariantProps<typeof accordion>;
5
4
  export type AccordionItemVariants = VariantProps<typeof accordionItem> & Classes<typeof accordionItem>;
6
- export type AccordionTheme = ClassValue;
7
- export type AccordionItemSlots = keyof typeof accordionItem.slots;
8
- export type AccordionItemTheme = Partial<Record<AccordionItemSlots, ClassValue>>;
9
5
  export declare const accordion: import("tailwind-variants").TVReturnType<{
10
6
  color: {
11
7
  primary: string;
@@ -52,7 +52,7 @@
52
52
  @component
53
53
  [Go to docs](https://flowbite-svelte.com/)
54
54
  ## Type
55
- [AlertProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L199)
55
+ [AlertProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L201)
56
56
  ## Props
57
57
  @prop children
58
58
  @prop icon
@@ -2,7 +2,7 @@ import { type AlertProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [AlertProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L199)
5
+ * [AlertProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L201)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop icon
@@ -1,2 +1,2 @@
1
1
  export { default as Alert } from "./Alert.svelte";
2
- export { alert, type AlertTheme } from "./theme";
2
+ export { alert } from "./theme";
@@ -1,7 +1,5 @@
1
1
  import { type VariantProps } from "tailwind-variants";
2
- import type { ClassValue } from "svelte/elements";
3
2
  export type AlertVariants = VariantProps<typeof alert>;
4
- export type AlertTheme = ClassValue;
5
3
  export declare const alert: import("tailwind-variants").TVReturnType<{
6
4
  color: {
7
5
  primary: string;
@@ -48,7 +48,7 @@
48
48
  @component
49
49
  [Go to docs](https://flowbite-svelte.com/)
50
50
  ## Type
51
- [AvatarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L210)
51
+ [AvatarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L212)
52
52
  ## Props
53
53
  @prop children
54
54
  @prop indicator
@@ -2,7 +2,7 @@ import { type AvatarProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [AvatarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L210)
5
+ * [AvatarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L212)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop indicator
@@ -1,2 +1,2 @@
1
1
  export { default as Avatar } from "./Avatar.svelte";
2
- export { avatar, type AvatarTheme } from "./theme";
2
+ export { avatar } from "./theme";
@@ -1,7 +1,5 @@
1
- import type { ClassValue } from "svelte/elements";
2
1
  import { type VariantProps } from "tailwind-variants";
3
2
  export type AvatarVariants = VariantProps<typeof avatar>;
4
- export type AvatarTheme = ClassValue;
5
3
  export declare const avatar: import("tailwind-variants").TVReturnType<{
6
4
  cornerStyle: {
7
5
  rounded: string;
@@ -3,7 +3,7 @@
3
3
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
5
  import { fade } from "svelte/transition";
6
- import { badge, type BadgeTheme } from ".";
6
+ import { badge } from ".";
7
7
 
8
8
  let { children, icon, badgeStatus = $bindable(true), color = "primary", large = false, dismissable = false, class: className, classes, border, href, target, rounded, transition = fade, params, aClass, onclose, ...restProps }: BadgeProps = $props();
9
9
 
@@ -23,9 +23,9 @@
23
23
  </script>
24
24
 
25
25
  {#if badgeStatus}
26
- <div {...restProps} transition:transition={params as ParamsType} class={base({ class: clsx((theme as BadgeTheme)?.base, className) })}>
26
+ <div {...restProps} transition:transition={params as ParamsType} class={base({ class: clsx(theme?.base, className) })}>
27
27
  {#if href}
28
- <a {href} {target} class={linkClass({ class: clsx((theme as BadgeTheme)?.linkClass, styling.linkClass) })}>
28
+ <a {href} {target} class={linkClass({ class: clsx(theme?.linkClass, styling.linkClass) })}>
29
29
  {@render children()}
30
30
  </a>
31
31
  {:else}
@@ -49,7 +49,7 @@
49
49
  @component
50
50
  [Go to docs](https://flowbite-svelte.com/)
51
51
  ## Type
52
- [BadgeProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L222)
52
+ [BadgeProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L224)
53
53
  ## Props
54
54
  @prop children
55
55
  @prop icon
@@ -2,7 +2,7 @@ import { type BadgeProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [BadgeProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L222)
5
+ * [BadgeProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L224)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop icon
@@ -1,2 +1,2 @@
1
1
  export { default as Badge } from "./Badge.svelte";
2
- export { badge, type BadgeTheme } from "./theme";
2
+ export { badge } from "./theme";
@@ -1,9 +1,6 @@
1
1
  import type { Classes } from "../theme/themeUtils";
2
- import type { ClassValue } from "svelte/elements";
3
2
  import { type VariantProps } from "tailwind-variants";
4
3
  export type BadgeVariants = VariantProps<typeof badge> & Classes<typeof badge>;
5
- export type BadgeSlots = keyof typeof badge.slots;
6
- export type BadgeTheme = Partial<Record<BadgeSlots, ClassValue>>;
7
4
  export declare const badge: import("tailwind-variants").TVReturnType<{
8
5
  color: {
9
6
  primary: {
@@ -1,6 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { fade } from "svelte/transition";
3
- import { banner, type BannerTheme } from ".";
3
+ import { banner } from ".";
4
4
  import clsx from "clsx";
5
5
  import { type ParamsType, type BannerProps, CloseButton } from "..";
6
6
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
@@ -18,15 +18,15 @@
18
18
  </script>
19
19
 
20
20
  {#if open}
21
- <div tabindex="-1" class={base({ class: clsx((theme as BannerTheme)?.base, className) })} {...restProps} transition:transition={params as ParamsType}>
22
- <div class={insideDiv({ class: clsx((theme as BannerTheme)?.insideDiv, styling.insideDiv) })}>
21
+ <div tabindex="-1" class={base({ class: clsx(theme?.base, className) })} {...restProps} transition:transition={params as ParamsType}>
22
+ <div class={insideDiv({ class: clsx(theme?.insideDiv, styling.insideDiv) })}>
23
23
  {@render children?.()}
24
24
  </div>
25
25
 
26
26
  {#if dismissable}
27
27
  <div class="flex items-center justify-end">
28
28
  <CloseButton
29
- class={dismissableClass({ class: clsx((theme as BannerTheme)?.dismissable, styling.dismissable) })}
29
+ class={dismissableClass({ class: clsx(theme?.dismissable, styling.dismissable) })}
30
30
  {color}
31
31
  ariaLabel="Remove banner"
32
32
  onclick={() => {
@@ -42,7 +42,7 @@
42
42
  @component
43
43
  [Go to docs](https://flowbite-svelte.com/)
44
44
  ## Type
45
- [BannerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L237)
45
+ [BannerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L239)
46
46
  ## Props
47
47
  @prop children
48
48
  @prop header
@@ -2,7 +2,7 @@ import { type BannerProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [BannerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L237)
5
+ * [BannerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L239)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop header
@@ -1,2 +1,2 @@
1
1
  export { default as Banner } from "./Banner.svelte";
2
- export { banner, type BannerTheme } from "./theme";
2
+ export { banner } from "./theme";
@@ -1,9 +1,6 @@
1
1
  import { type VariantProps } from "tailwind-variants";
2
- import type { ClassValue } from "svelte/elements";
3
2
  import type { Classes } from "../theme/themeUtils";
4
3
  export type BannerVariants = VariantProps<typeof banner> & Classes<typeof banner>;
5
- export type BannerSlots = keyof typeof banner.slots;
6
- export type BannerTheme = Partial<Record<BannerSlots, ClassValue>>;
7
4
  export declare const banner: import("tailwind-variants").TVReturnType<{
8
5
  type: {
9
6
  top: {
@@ -3,7 +3,7 @@
3
3
  import { writable } from "svelte/store";
4
4
  import { bottomNav } from ".";
5
5
  import clsx from "clsx";
6
- import { type BottomNavProps, type BottomNavContextType, cn, type BottomNavTheme } from "..";
6
+ import { type BottomNavProps, type BottomNavContextType, cn } from "..";
7
7
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
8
8
 
9
9
  let { children, header, position = "fixed", navType = "default", class: className, classes, outerClass, innerClass, activeClass, activeUrl = "", ...restProps }: BottomNavProps = $props();
@@ -28,12 +28,12 @@
28
28
  });
29
29
  </script>
30
30
 
31
- <div {...restProps} class={base({ class: clsx((theme as BottomNavTheme)?.base, className ?? outerClass) })}>
31
+ <div {...restProps} class={base({ class: clsx(theme?.base, className ?? outerClass) })}>
32
32
  {#if header}
33
33
  {@render header()}
34
34
  {/if}
35
35
 
36
- <div class={inner({ class: clsx((theme as BottomNavTheme)?.inner, styling.inner) })}>
36
+ <div class={inner({ class: clsx(theme?.inner, styling.inner) })}>
37
37
  {@render children()}
38
38
  </div>
39
39
  </div>
@@ -42,7 +42,7 @@
42
42
  @component
43
43
  [Go to docs](https://flowbite-svelte.com/)
44
44
  ## Type
45
- [BottomNavProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L255)
45
+ [BottomNavProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L257)
46
46
  ## Props
47
47
  @prop children
48
48
  @prop header
@@ -2,7 +2,7 @@ import { type BottomNavProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [BottomNavProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L255)
5
+ * [BottomNavProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L257)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop header
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { bottomNavHeader } from ".";
3
3
  import clsx from "clsx";
4
- import { type BottomNavHeaderProps, type BottomNavHeaderTheme } from "..";
4
+ import { type BottomNavHeaderProps } from "..";
5
5
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
6
6
 
7
7
  let { children, class: className, classes, outerClass, innerClass, ...restProps }: BottomNavHeaderProps = $props();
@@ -16,8 +16,8 @@
16
16
  const { innerDiv, base } = $derived(bottomNavHeader());
17
17
  </script>
18
18
 
19
- <div {...restProps} class={base({ class: clsx((theme as BottomNavHeaderTheme)?.base, className ?? outerClass) })}>
20
- <div class={innerDiv({ class: clsx((theme as BottomNavHeaderTheme)?.innerDiv, styling.innerDiv) })} role="group">
19
+ <div {...restProps} class={base({ class: clsx(theme?.base, className ?? outerClass) })}>
20
+ <div class={innerDiv({ class: clsx(theme?.innerDiv, styling.innerDiv) })} role="group">
21
21
  {@render children()}
22
22
  </div>
23
23
  </div>
@@ -26,7 +26,7 @@
26
26
  @component
27
27
  [Go to docs](https://flowbite-svelte.com/)
28
28
  ## Type
29
- [BottomNavHeaderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L274)
29
+ [BottomNavHeaderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L276)
30
30
  ## Props
31
31
  @prop children
32
32
  @prop class: className
@@ -2,7 +2,7 @@ import { type BottomNavHeaderProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [BottomNavHeaderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L274)
5
+ * [BottomNavHeaderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L276)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop class: className
@@ -20,7 +20,7 @@
20
20
  @component
21
21
  [Go to docs](https://flowbite-svelte.com/)
22
22
  ## Type
23
- [BottomNavHeaderItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L280)
23
+ [BottomNavHeaderItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L282)
24
24
  ## Props
25
25
  @prop itemName
26
26
  @prop active
@@ -2,7 +2,7 @@ import { type BottomNavHeaderItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [BottomNavHeaderItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L280)
5
+ * [BottomNavHeaderItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L282)
6
6
  * ## Props
7
7
  * @prop itemName
8
8
  * @prop active
@@ -4,7 +4,7 @@
4
4
  import clsx from "clsx";
5
5
  import { getContext } from "svelte";
6
6
  import type { HTMLAnchorAttributes, HTMLButtonAttributes } from "svelte/elements";
7
- import { bottomNavItem, type BottomNavItemTheme } from ".";
7
+ import { bottomNavItem } from ".";
8
8
 
9
9
  let { children, btnName, appBtnPosition = "middle", activeClass, class: className, classes, btnClass, spanClass, active: manualActive, ...restProps }: BottomNavItemProps = $props();
10
10
 
@@ -27,11 +27,11 @@
27
27
  });
28
28
 
29
29
  function getCommonClass() {
30
- return base({ class: clsx(isActive && (activeClass ?? context.activeClass), (theme as BottomNavItemTheme)?.base, className ?? btnClass) });
30
+ return base({ class: clsx(isActive && (activeClass ?? context.activeClass), theme?.base, className ?? btnClass) });
31
31
  }
32
32
 
33
33
  function getSpanClass() {
34
- return span({ class: clsx(isActive && (activeClass ?? context.activeClass), (theme as BottomNavItemTheme)?.span, styling.span) });
34
+ return span({ class: clsx(isActive && (activeClass ?? context.activeClass), theme?.span, styling.span) });
35
35
  }
36
36
 
37
37
  /* eslint-disable @typescript-eslint/no-explicit-any */
@@ -67,7 +67,7 @@
67
67
  @component
68
68
  [Go to docs](https://flowbite-svelte.com/)
69
69
  ## Type
70
- [BottomNavItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L264)
70
+ [BottomNavItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L266)
71
71
  ## Props
72
72
  @prop children
73
73
  @prop btnName
@@ -2,7 +2,7 @@ import { type BottomNavItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [BottomNavItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L264)
5
+ * [BottomNavItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L266)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop btnName
@@ -2,4 +2,4 @@ export { default as BottomNav } from "./BottomNav.svelte";
2
2
  export { default as BottomNavItem } from "./BottomNavItem.svelte";
3
3
  export { default as BottomNavHeaderItem } from "./BottomNavHeaderItem.svelte";
4
4
  export { default as BottomNavHeader } from "./BottomNavHeader.svelte";
5
- export { bottomNav, bottomNavItem, bottomNavHeader, bottomNavHeaderItem, type BottomNavTheme, type BottomNavItemTheme, type BottomNavHeaderTheme, type BottomNavHeaderItemTheme } from "./theme";
5
+ export { bottomNav, bottomNavItem, bottomNavHeader, bottomNavHeaderItem } from "./theme";
@@ -1,18 +1,9 @@
1
1
  import { type VariantProps } from "tailwind-variants";
2
- import type { ClassValue } from "svelte/elements";
3
2
  import type { Classes } from "../theme/themeUtils";
4
3
  export type BottomNavVariants = VariantProps<typeof bottomNav> & Classes<typeof bottomNav>;
5
4
  export type BottomNavItemVariants = VariantProps<typeof bottomNavItem> & Classes<typeof bottomNavItem>;
6
5
  export type BottomNavHeaderVariants = VariantProps<typeof bottomNavHeader> & Classes<typeof bottomNavHeader>;
7
6
  export type BottomNavHeaderItemVariants = VariantProps<typeof bottomNavHeaderItem>;
8
- export type BottomNavSlots = keyof typeof bottomNav.slots;
9
- export type BottomNavTheme = Partial<Record<BottomNavSlots, ClassValue>>;
10
- export type BottomNavItemSlots = keyof typeof bottomNavItem.slots;
11
- export type BottomNavItemTheme = Partial<Record<BottomNavItemSlots, ClassValue>>;
12
- export type BottomnavheaderSlots = keyof typeof bottomNavHeader.slots;
13
- export type BottomNavHeaderTheme = Partial<Record<BottomnavheaderSlots, ClassValue>>;
14
- export type bottomNavHeaderItemSlots = keyof typeof bottomNavHeaderItem.slots;
15
- export type BottomNavHeaderItemTheme = Partial<Record<bottomNavHeaderItemSlots, ClassValue>>;
16
7
  export declare const bottomNav: import("tailwind-variants").TVReturnType<{
17
8
  position: {
18
9
  static: {
@@ -1,7 +1,7 @@
1
1
  <script lang="ts">
2
2
  import { breadcrumb } from ".";
3
3
  import clsx from "clsx";
4
- import { type BreadcrumbProps, type BreadcrumbTheme } from "..";
4
+ import { type BreadcrumbProps } from "..";
5
5
  import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
6
6
 
7
7
  let { children, solid = false, class: className, classes, olClass, ariaLabel = "Breadcrumb", ...restProps }: BreadcrumbProps = $props();
@@ -12,8 +12,8 @@
12
12
  const theme = getTheme("breadcrumb");
13
13
 
14
14
  const { base, list } = breadcrumb({ solid });
15
- let classNav = $derived(base({ class: clsx((theme as BreadcrumbTheme)?.base, className) }));
16
- let classList = $derived(list({ class: clsx((theme as BreadcrumbTheme)?.list, styling.list) }));
15
+ let classNav = $derived(base({ class: clsx(theme?.base, className) }));
16
+ let classList = $derived(list({ class: clsx(theme?.list, styling.list) }));
17
17
  </script>
18
18
 
19
19
  <nav aria-label={ariaLabel} {...restProps} class={classNav}>
@@ -26,7 +26,7 @@
26
26
  @component
27
27
  [Go to docs](https://flowbite-svelte.com/)
28
28
  ## Type
29
- [BreadcrumbProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L286)
29
+ [BreadcrumbProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L288)
30
30
  ## Props
31
31
  @prop children
32
32
  @prop solid = false
@@ -2,7 +2,7 @@ import { type BreadcrumbProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [BreadcrumbProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L286)
5
+ * [BreadcrumbProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L288)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop solid = false
@@ -1,5 +1,5 @@
1
1
  <script lang="ts">
2
- import { type BreadcrumbItemProps, type BreadcrumbItemTheme } from "..";
2
+ import { type BreadcrumbItemProps } from "..";
3
3
  import { getTheme } from "../theme/themeUtils";
4
4
  import clsx from "clsx";
5
5
  import { breadcrumbItem } from "./index";
@@ -18,9 +18,9 @@
18
18
  );
19
19
  </script>
20
20
 
21
- <li {...restProps} class={base({ class: clsx((theme as BreadcrumbItemTheme)?.base, className) })}>
21
+ <li {...restProps} class={base({ class: clsx(theme?.base, className) })}>
22
22
  {#if home}
23
- <a class={base({ home: true, class: clsx((theme as BreadcrumbItemTheme)?.base, homeClass) })} {href}>
23
+ <a class={base({ home: true, class: clsx(theme?.base, homeClass) })} {href}>
24
24
  {#if icon}
25
25
  {@render icon()}
26
26
  {:else}
@@ -35,17 +35,17 @@
35
35
  {#if icon}
36
36
  {@render icon()}
37
37
  {:else}
38
- <svg class={separator({ class: clsx((theme as BreadcrumbItemTheme)?.separator, styling.separator) })} fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
38
+ <svg class={separator({ class: clsx(theme?.separator, styling.separator) })} fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
39
39
  <path fill-rule="evenodd" d="M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z" clip-rule="evenodd" />
40
40
  </svg>
41
41
  {/if}
42
42
 
43
43
  {#if href}
44
- <a class={base({ home: false, hasHref: true, class: clsx((theme as BreadcrumbItemTheme)?.base, linkClass) })} {href}>
44
+ <a class={base({ home: false, hasHref: true, class: clsx(theme?.base, linkClass) })} {href}>
45
45
  {@render children()}
46
46
  </a>
47
47
  {:else}
48
- <span class={base({ home: false, hasHref: false, class: clsx((theme as BreadcrumbItemTheme)?.base, spanClass) })}>
48
+ <span class={base({ home: false, hasHref: false, class: clsx(theme?.base, spanClass) })}>
49
49
  {@render children()}
50
50
  </span>
51
51
  {/if}
@@ -56,7 +56,7 @@
56
56
  @component
57
57
  [Go to docs](https://flowbite-svelte.com/)
58
58
  ## Type
59
- [BreadcrumbItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L293)
59
+ [BreadcrumbItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L295)
60
60
  ## Props
61
61
  @prop children
62
62
  @prop icon
@@ -2,7 +2,7 @@ import { type BreadcrumbItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [BreadcrumbItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L293)
5
+ * [BreadcrumbItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L295)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop icon
@@ -1,3 +1,3 @@
1
1
  export { default as Breadcrumb } from "./Breadcrumb.svelte";
2
2
  export { default as BreadcrumbItem } from "./BreadcrumbItem.svelte";
3
- export { breadcrumb, breadcrumbItem, type BreadcrumbTheme, type BreadcrumbItemTheme } from "./theme";
3
+ export { breadcrumb, breadcrumbItem } from "./theme";
@@ -1,12 +1,7 @@
1
1
  import { type VariantProps } from "tailwind-variants";
2
- import type { ClassValue } from "svelte/elements";
3
2
  import type { Classes } from "../theme/themeUtils";
4
3
  export type BreadcrumbVariants = VariantProps<typeof breadcrumb> & Classes<typeof breadcrumb>;
5
4
  export type BreadcrumbItemVariants = VariantProps<typeof breadcrumbItem> & Classes<typeof breadcrumbItem>;
6
- export type BreadcrumbSlots = keyof typeof breadcrumb.slots;
7
- export type BreadcrumbTheme = Partial<Record<BreadcrumbSlots, ClassValue>>;
8
- export type BreadcrumbItemSlots = keyof typeof breadcrumbItem.slots;
9
- export type BreadcrumbItemTheme = Partial<Record<BreadcrumbItemSlots, ClassValue>>;
10
5
  export declare const breadcrumb: import("tailwind-variants").TVReturnType<{
11
6
  solid: {
12
7
  true: {
@@ -22,7 +22,7 @@
22
22
  @component
23
23
  [Go to docs](https://flowbite-svelte.com/)
24
24
  ## Type
25
- [ButtonGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L304)
25
+ [ButtonGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L306)
26
26
  ## Props
27
27
  @prop children
28
28
  @prop size = "md"
@@ -2,7 +2,7 @@ import { type ButtonGroupProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [ButtonGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L304)
5
+ * [ButtonGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L306)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop size = "md"
@@ -1,2 +1,2 @@
1
1
  export { default as ButtonGroup } from "./ButtonGroup.svelte";
2
- export { buttonGroup, type ButtonGroupTheme } from "./theme";
2
+ export { buttonGroup } from "./theme";
@@ -1,7 +1,5 @@
1
- import type { ClassValue } from "svelte/elements";
2
1
  import { type VariantProps } from "tailwind-variants";
3
2
  export type ButtonGroupVariants = VariantProps<typeof buttonGroup>;
4
- export type ButtonGroupTheme = ClassValue;
5
3
  export declare const buttonGroup: import("tailwind-variants").TVReturnType<{
6
4
  size: {
7
5
  sm: string;