flowbite-svelte 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (542) hide show
  1. package/dist/accordion/Accordion.svelte +8 -9
  2. package/dist/accordion/Accordion.svelte.d.ts +1 -1
  3. package/dist/accordion/AccordionItem.svelte +10 -11
  4. package/dist/accordion/AccordionItem.svelte.d.ts +1 -1
  5. package/dist/accordion/index.d.ts +1 -1
  6. package/dist/accordion/index.js +1 -1
  7. package/dist/accordion/theme.d.ts +18 -3
  8. package/dist/accordion/theme.js +6 -2
  9. package/dist/alert/Alert.svelte +8 -8
  10. package/dist/alert/Alert.svelte.d.ts +1 -1
  11. package/dist/alert/index.d.ts +1 -1
  12. package/dist/alert/theme.d.ts +1 -0
  13. package/dist/avatar/Avatar.svelte +8 -9
  14. package/dist/avatar/Avatar.svelte.d.ts +1 -1
  15. package/dist/avatar/index.d.ts +1 -1
  16. package/dist/avatar/theme.d.ts +1 -0
  17. package/dist/badge/Badge.svelte +9 -11
  18. package/dist/badge/Badge.svelte.d.ts +1 -1
  19. package/dist/badge/index.d.ts +1 -1
  20. package/dist/badge/theme.d.ts +5 -3
  21. package/dist/badge/theme.js +1 -1
  22. package/dist/banner/Banner.svelte +9 -5
  23. package/dist/banner/Banner.svelte.d.ts +1 -1
  24. package/dist/banner/index.d.ts +1 -1
  25. package/dist/banner/theme.d.ts +2 -0
  26. package/dist/bottom-navigation/BottomNav.svelte +8 -4
  27. package/dist/bottom-navigation/BottomNav.svelte.d.ts +1 -1
  28. package/dist/bottom-navigation/BottomNavHeader.svelte +11 -6
  29. package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +1 -1
  30. package/dist/bottom-navigation/BottomNavHeaderItem.svelte +9 -4
  31. package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
  32. package/dist/bottom-navigation/BottomNavItem.svelte +8 -4
  33. package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +1 -1
  34. package/dist/bottom-navigation/index.d.ts +1 -1
  35. package/dist/bottom-navigation/index.js +1 -1
  36. package/dist/bottom-navigation/theme.d.ts +10 -2
  37. package/dist/bottom-navigation/theme.js +2 -2
  38. package/dist/breadcrumb/Breadcrumb.svelte +7 -10
  39. package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
  40. package/dist/breadcrumb/BreadcrumbItem.svelte +13 -10
  41. package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
  42. package/dist/breadcrumb/index.d.ts +1 -1
  43. package/dist/breadcrumb/index.js +1 -1
  44. package/dist/breadcrumb/theme.d.ts +33 -22
  45. package/dist/breadcrumb/theme.js +18 -12
  46. package/dist/button-group/ButtonGroup.svelte +5 -2
  47. package/dist/button-group/ButtonGroup.svelte.d.ts +1 -1
  48. package/dist/button-group/index.d.ts +1 -1
  49. package/dist/button-group/theme.d.ts +1 -0
  50. package/dist/buttons/Button.svelte +7 -3
  51. package/dist/buttons/Button.svelte.d.ts +1 -1
  52. package/dist/buttons/GradientButton.svelte +8 -5
  53. package/dist/buttons/GradientButton.svelte.d.ts +1 -1
  54. package/dist/buttons/index.d.ts +1 -1
  55. package/dist/buttons/theme.d.ts +4 -0
  56. package/dist/card/Card.svelte +9 -6
  57. package/dist/card/Card.svelte.d.ts +2 -2
  58. package/dist/card/index.d.ts +1 -1
  59. package/dist/card/theme.d.ts +2 -0
  60. package/dist/carousel/Carousel.svelte +5 -2
  61. package/dist/carousel/Carousel.svelte.d.ts +1 -1
  62. package/dist/carousel/{Indicators.svelte → CarouselIndicators.svelte} +8 -5
  63. package/dist/carousel/{Indicators.svelte.d.ts → CarouselIndicators.svelte.d.ts} +4 -4
  64. package/dist/carousel/ControlButton.svelte +5 -2
  65. package/dist/carousel/ControlButton.svelte.d.ts +1 -1
  66. package/dist/carousel/Controls.svelte +6 -3
  67. package/dist/carousel/Controls.svelte.d.ts +1 -1
  68. package/dist/carousel/Slide.svelte +5 -2
  69. package/dist/carousel/Slide.svelte.d.ts +1 -1
  70. package/dist/carousel/Thumbnail.svelte +5 -2
  71. package/dist/carousel/Thumbnail.svelte.d.ts +1 -1
  72. package/dist/carousel/Thumbnails.svelte +5 -2
  73. package/dist/carousel/Thumbnails.svelte.d.ts +1 -1
  74. package/dist/carousel/index.d.ts +2 -2
  75. package/dist/carousel/index.js +2 -2
  76. package/dist/carousel/theme.d.ts +8 -1
  77. package/dist/carousel/theme.js +1 -2
  78. package/dist/clipboard/Clipboard.svelte +6 -3
  79. package/dist/clipboard/Clipboard.svelte.d.ts +2 -2
  80. package/dist/clipboard/index.d.ts +1 -1
  81. package/dist/clipboard/theme.d.ts +1 -0
  82. package/dist/darkmode/DarkMode.svelte +5 -2
  83. package/dist/darkmode/DarkMode.svelte.d.ts +1 -1
  84. package/dist/darkmode/index.d.ts +1 -1
  85. package/dist/darkmode/theme.d.ts +1 -0
  86. package/dist/datepicker/Datepicker.svelte +25 -20
  87. package/dist/datepicker/Datepicker.svelte.d.ts +2 -2
  88. package/dist/datepicker/index.d.ts +1 -1
  89. package/dist/datepicker/theme.d.ts +2 -0
  90. package/dist/device-mockups/Android.svelte +1 -1
  91. package/dist/device-mockups/Android.svelte.d.ts +1 -1
  92. package/dist/device-mockups/DefaultMockup.svelte +1 -1
  93. package/dist/device-mockups/DefaultMockup.svelte.d.ts +1 -1
  94. package/dist/device-mockups/Desktop.svelte +1 -1
  95. package/dist/device-mockups/Desktop.svelte.d.ts +1 -1
  96. package/dist/device-mockups/DeviceMockup.svelte +1 -1
  97. package/dist/device-mockups/DeviceMockup.svelte.d.ts +1 -1
  98. package/dist/device-mockups/Ios.svelte +1 -1
  99. package/dist/device-mockups/Ios.svelte.d.ts +1 -1
  100. package/dist/device-mockups/Laptop.svelte +1 -1
  101. package/dist/device-mockups/Laptop.svelte.d.ts +1 -1
  102. package/dist/device-mockups/Smartwatch.svelte +1 -1
  103. package/dist/device-mockups/Smartwatch.svelte.d.ts +1 -1
  104. package/dist/device-mockups/Tablet.svelte +1 -1
  105. package/dist/device-mockups/Tablet.svelte.d.ts +1 -1
  106. package/dist/device-mockups/theme.d.ts +21 -21
  107. package/dist/drawer/Drawer.svelte +8 -5
  108. package/dist/drawer/Drawer.svelte.d.ts +1 -1
  109. package/dist/drawer/Drawerhead.svelte +8 -5
  110. package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
  111. package/dist/drawer/index.d.ts +1 -1
  112. package/dist/drawer/theme.d.ts +16 -12
  113. package/dist/drawer/theme.js +4 -4
  114. package/dist/dropdown/Dropdown.svelte +5 -2
  115. package/dist/dropdown/Dropdown.svelte.d.ts +1 -1
  116. package/dist/dropdown/DropdownDivider.svelte +5 -2
  117. package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
  118. package/dist/dropdown/DropdownGroup.svelte +5 -2
  119. package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
  120. package/dist/dropdown/DropdownHeader.svelte +5 -2
  121. package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
  122. package/dist/dropdown/DropdownItem.svelte +6 -3
  123. package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
  124. package/dist/dropdown/index.d.ts +1 -1
  125. package/dist/dropdown/theme.d.ts +7 -0
  126. package/dist/footer/Footer.svelte +5 -2
  127. package/dist/footer/Footer.svelte.d.ts +1 -1
  128. package/dist/footer/FooterBrand.svelte +8 -5
  129. package/dist/footer/FooterBrand.svelte.d.ts +1 -1
  130. package/dist/footer/FooterCopyright.svelte +8 -5
  131. package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
  132. package/dist/footer/FooterIcon.svelte +5 -2
  133. package/dist/footer/FooterIcon.svelte.d.ts +1 -1
  134. package/dist/footer/FooterLink.svelte +8 -4
  135. package/dist/footer/FooterLink.svelte.d.ts +1 -1
  136. package/dist/footer/FooterLinkGroup.svelte +5 -2
  137. package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
  138. package/dist/footer/index.d.ts +1 -1
  139. package/dist/footer/theme.d.ts +18 -10
  140. package/dist/footer/theme.js +6 -7
  141. package/dist/forms/button-toggle/ButtonToggle.svelte +8 -5
  142. package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +1 -1
  143. package/dist/forms/button-toggle/ButtonToggleGroup.svelte +4 -1
  144. package/dist/forms/button-toggle/CheckIcon.svelte +1 -1
  145. package/dist/forms/button-toggle/CheckIcon.svelte.d.ts +1 -1
  146. package/dist/forms/button-toggle/index.d.ts +1 -1
  147. package/dist/forms/button-toggle/theme.d.ts +152 -144
  148. package/dist/forms/button-toggle/theme.js +65 -63
  149. package/dist/forms/checkbox/Checkbox.svelte +8 -5
  150. package/dist/forms/checkbox/CheckboxButton.svelte +5 -2
  151. package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
  152. package/dist/forms/checkbox/index.d.ts +1 -1
  153. package/dist/forms/checkbox/theme.d.ts +3 -0
  154. package/dist/forms/dropzone/Dropzone.svelte +5 -2
  155. package/dist/forms/dropzone/Dropzone.svelte.d.ts +1 -1
  156. package/dist/forms/dropzone/index.d.ts +1 -1
  157. package/dist/forms/dropzone/theme.d.ts +1 -0
  158. package/dist/forms/fileupload/Fileupload.svelte +8 -5
  159. package/dist/forms/fileupload/Fileupload.svelte.d.ts +1 -1
  160. package/dist/forms/fileupload/index.d.ts +1 -1
  161. package/dist/forms/fileupload/theme.d.ts +2 -0
  162. package/dist/forms/floating-label/FloatingLabelInput.svelte +11 -8
  163. package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +1 -1
  164. package/dist/forms/floating-label/index.d.ts +1 -1
  165. package/dist/forms/floating-label/theme.d.ts +5 -3
  166. package/dist/forms/floating-label/theme.js +1 -1
  167. package/dist/forms/helper/Helper.svelte +5 -2
  168. package/dist/forms/helper/Helper.svelte.d.ts +1 -1
  169. package/dist/forms/helper/index.d.ts +1 -1
  170. package/dist/forms/helper/theme.d.ts +1 -0
  171. package/dist/forms/input-addon/InputAddon.svelte +6 -2
  172. package/dist/forms/input-addon/InputAddon.svelte.d.ts +1 -1
  173. package/dist/forms/input-field/Input.svelte +13 -10
  174. package/dist/forms/input-field/index.d.ts +1 -1
  175. package/dist/forms/input-field/theme.d.ts +5 -3
  176. package/dist/forms/input-field/theme.js +1 -1
  177. package/dist/forms/label/Label.svelte +5 -2
  178. package/dist/forms/label/Label.svelte.d.ts +1 -1
  179. package/dist/forms/label/index.d.ts +1 -1
  180. package/dist/forms/label/theme.d.ts +1 -0
  181. package/dist/forms/phoneinput/PhoneInput.svelte +11 -8
  182. package/dist/forms/phoneinput/PhoneInput.svelte.d.ts +1 -1
  183. package/dist/forms/phoneinput/index.d.ts +1 -1
  184. package/dist/forms/phoneinput/theme.d.ts +2 -0
  185. package/dist/forms/radio/Radio.svelte +6 -3
  186. package/dist/forms/radio/RadioButton.svelte +4 -1
  187. package/dist/forms/radio/index.d.ts +1 -1
  188. package/dist/forms/radio/theme.d.ts +3 -0
  189. package/dist/forms/range/Range.svelte +5 -2
  190. package/dist/forms/range/Range.svelte.d.ts +1 -1
  191. package/dist/forms/range/theme.d.ts +1 -0
  192. package/dist/forms/search/Search.svelte +12 -9
  193. package/dist/forms/search/Search.svelte.d.ts +1 -1
  194. package/dist/forms/search/index.d.ts +1 -1
  195. package/dist/forms/search/theme.d.ts +5 -3
  196. package/dist/forms/search/theme.js +1 -1
  197. package/dist/forms/select/MultiSelect.svelte +7 -4
  198. package/dist/forms/select/Select.svelte +8 -5
  199. package/dist/forms/select/index.d.ts +1 -1
  200. package/dist/forms/select/index.js +1 -1
  201. package/dist/forms/select/theme.d.ts +7 -3
  202. package/dist/forms/select/theme.js +1 -1
  203. package/dist/forms/tags/Tags.svelte +10 -7
  204. package/dist/forms/tags/Tags.svelte.d.ts +1 -1
  205. package/dist/forms/tags/index.d.ts +1 -1
  206. package/dist/forms/tags/theme.d.ts +11 -9
  207. package/dist/forms/tags/theme.js +1 -1
  208. package/dist/forms/textarea/Textarea.svelte +14 -11
  209. package/dist/forms/textarea/Textarea.svelte.d.ts +1 -1
  210. package/dist/forms/textarea/index.d.ts +1 -1
  211. package/dist/forms/textarea/theme.d.ts +5 -3
  212. package/dist/forms/textarea/theme.js +1 -1
  213. package/dist/forms/timepicker/Timepicker.svelte +107 -64
  214. package/dist/forms/timepicker/Timepicker.svelte.d.ts +1 -1
  215. package/dist/forms/timepicker/index.d.ts +1 -0
  216. package/dist/forms/timepicker/index.js +1 -0
  217. package/dist/forms/timepicker/theme.d.ts +191 -0
  218. package/dist/forms/timepicker/theme.js +72 -0
  219. package/dist/forms/toggle/Toggle.svelte +8 -5
  220. package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
  221. package/dist/forms/toggle/index.d.ts +1 -1
  222. package/dist/forms/toggle/theme.d.ts +2 -0
  223. package/dist/gallery/Gallery.svelte +7 -4
  224. package/dist/gallery/Gallery.svelte.d.ts +1 -1
  225. package/dist/gallery/index.d.ts +1 -1
  226. package/dist/gallery/theme.d.ts +5 -3
  227. package/dist/index.d.ts +2 -2
  228. package/dist/index.js +5 -2
  229. package/dist/indicator/Indicator.svelte +6 -3
  230. package/dist/indicator/Indicator.svelte.d.ts +1 -1
  231. package/dist/indicator/index.d.ts +1 -1
  232. package/dist/indicator/theme.d.ts +121 -360
  233. package/dist/indicator/theme.js +48 -56
  234. package/dist/kbd/Kbd.svelte +6 -2
  235. package/dist/kbd/Kbd.svelte.d.ts +1 -1
  236. package/dist/kbd/index.d.ts +1 -1
  237. package/dist/kbd/theme.d.ts +1 -0
  238. package/dist/list-group/Listgroup.svelte +5 -2
  239. package/dist/list-group/Listgroup.svelte.d.ts +1 -1
  240. package/dist/list-group/ListgroupItem.svelte +7 -4
  241. package/dist/list-group/ListgroupItem.svelte.d.ts +1 -1
  242. package/dist/list-group/index.d.ts +1 -1
  243. package/dist/list-group/theme.d.ts +2 -0
  244. package/dist/mega-menu/MegaMenu.svelte +9 -6
  245. package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
  246. package/dist/mega-menu/index.d.ts +1 -1
  247. package/dist/mega-menu/theme.d.ts +2 -0
  248. package/dist/modal/Modal.svelte +13 -10
  249. package/dist/modal/Modal.svelte.d.ts +1 -1
  250. package/dist/modal/index.d.ts +2 -3
  251. package/dist/modal/index.js +2 -3
  252. package/dist/modal/theme.d.ts +5 -3
  253. package/dist/modal/theme.js +1 -1
  254. package/dist/navbar/Menu.svelte +6 -2
  255. package/dist/navbar/Menu.svelte.d.ts +1 -1
  256. package/dist/navbar/NavBrand.svelte +7 -4
  257. package/dist/navbar/NavBrand.svelte.d.ts +1 -1
  258. package/dist/navbar/NavContainer.svelte +7 -4
  259. package/dist/navbar/NavContainer.svelte.d.ts +1 -1
  260. package/dist/navbar/NavHamburger.svelte +9 -6
  261. package/dist/navbar/NavHamburger.svelte.d.ts +1 -1
  262. package/dist/navbar/NavLi.svelte +7 -4
  263. package/dist/navbar/NavLi.svelte.d.ts +1 -1
  264. package/dist/navbar/NavUl.svelte +11 -8
  265. package/dist/navbar/NavUl.svelte.d.ts +1 -1
  266. package/dist/navbar/Navbar.svelte +6 -4
  267. package/dist/navbar/Navbar.svelte.d.ts +1 -1
  268. package/dist/navbar/index.d.ts +7 -7
  269. package/dist/navbar/index.js +7 -7
  270. package/dist/navbar/theme.d.ts +12 -5
  271. package/dist/navbar/theme.js +5 -5
  272. package/dist/pagination/Pagination.svelte +7 -3
  273. package/dist/pagination/Pagination.svelte.d.ts +1 -1
  274. package/dist/pagination/PaginationButton.svelte +18 -12
  275. package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
  276. package/dist/pagination/PaginationItem.svelte +7 -4
  277. package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
  278. package/dist/pagination/PaginationNav.svelte +13 -11
  279. package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
  280. package/dist/pagination/index.d.ts +1 -1
  281. package/dist/pagination/index.js +1 -1
  282. package/dist/pagination/theme.d.ts +7 -2
  283. package/dist/pagination/theme.js +2 -2
  284. package/dist/popover/Popover.svelte +10 -7
  285. package/dist/popover/Popover.svelte.d.ts +1 -1
  286. package/dist/popover/index.d.ts +2 -3
  287. package/dist/popover/index.js +2 -3
  288. package/dist/popover/theme.d.ts +2 -3
  289. package/dist/popover/theme.js +1 -2
  290. package/dist/progress/Progressbar.svelte +12 -8
  291. package/dist/progress/Progressbar.svelte.d.ts +1 -1
  292. package/dist/progress/Progressradial.svelte +13 -9
  293. package/dist/progress/Progressradial.svelte.d.ts +1 -1
  294. package/dist/progress/index.d.ts +1 -1
  295. package/dist/progress/index.js +1 -1
  296. package/dist/progress/theme.d.ts +4 -0
  297. package/dist/rating/AdvancedRating.svelte +12 -9
  298. package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
  299. package/dist/rating/CustomIcon.svelte +1 -1
  300. package/dist/rating/CustomIcon.svelte.d.ts +1 -1
  301. package/dist/rating/Heart.svelte +1 -1
  302. package/dist/rating/Heart.svelte.d.ts +1 -1
  303. package/dist/rating/Rating.svelte +8 -4
  304. package/dist/rating/Rating.svelte.d.ts +1 -1
  305. package/dist/rating/RatingComment.svelte +1 -1
  306. package/dist/rating/RatingComment.svelte.d.ts +1 -1
  307. package/dist/rating/Review.svelte +14 -11
  308. package/dist/rating/Review.svelte.d.ts +1 -1
  309. package/dist/rating/ScoreRating.svelte +14 -10
  310. package/dist/rating/ScoreRating.svelte.d.ts +1 -1
  311. package/dist/rating/Star.svelte +1 -1
  312. package/dist/rating/Star.svelte.d.ts +1 -1
  313. package/dist/rating/Thumbup.svelte +1 -1
  314. package/dist/rating/Thumbup.svelte.d.ts +1 -1
  315. package/dist/rating/index.d.ts +10 -11
  316. package/dist/rating/index.js +10 -11
  317. package/dist/rating/theme.d.ts +16 -14
  318. package/dist/rating/theme.js +2 -3
  319. package/dist/sidebar/Sidebar.svelte +12 -9
  320. package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
  321. package/dist/sidebar/SidebarBrand.svelte +10 -7
  322. package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
  323. package/dist/sidebar/SidebarButton.svelte +8 -4
  324. package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
  325. package/dist/sidebar/SidebarCta.svelte +11 -7
  326. package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
  327. package/dist/sidebar/SidebarDropdownWrapper.svelte +13 -10
  328. package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
  329. package/dist/sidebar/SidebarGroup.svelte +1 -1
  330. package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
  331. package/dist/sidebar/SidebarItem.svelte +1 -1
  332. package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
  333. package/dist/sidebar/index.d.ts +10 -11
  334. package/dist/sidebar/index.js +10 -11
  335. package/dist/sidebar/theme.d.ts +22 -13
  336. package/dist/sidebar/theme.js +4 -4
  337. package/dist/skeleton/CardPlaceholder.svelte +17 -14
  338. package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
  339. package/dist/skeleton/ImagePlaceholder.svelte +17 -14
  340. package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
  341. package/dist/skeleton/ListPlaceholder.svelte +12 -9
  342. package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
  343. package/dist/skeleton/Skeleton.svelte +15 -11
  344. package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
  345. package/dist/skeleton/TestimonialPlaceholder.svelte +14 -10
  346. package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
  347. package/dist/skeleton/TextPlaceholder.svelte +32 -28
  348. package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
  349. package/dist/skeleton/VideoPlaceholder.svelte +7 -3
  350. package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
  351. package/dist/skeleton/WidgetPlaceholder.svelte +8 -4
  352. package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
  353. package/dist/skeleton/index.d.ts +9 -10
  354. package/dist/skeleton/index.js +9 -10
  355. package/dist/skeleton/theme.d.ts +29 -15
  356. package/dist/skeleton/theme.js +8 -9
  357. package/dist/speed-dial/SpeedDial.svelte +9 -9
  358. package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
  359. package/dist/speed-dial/SpeedDialButton.svelte +9 -8
  360. package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
  361. package/dist/speed-dial/SpeedDialTrigger.svelte +1 -1
  362. package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
  363. package/dist/speed-dial/index.d.ts +4 -5
  364. package/dist/speed-dial/index.js +4 -5
  365. package/dist/speed-dial/theme.d.ts +8 -4
  366. package/dist/speed-dial/theme.js +2 -2
  367. package/dist/spinner/Spinner.svelte +6 -3
  368. package/dist/spinner/Spinner.svelte.d.ts +1 -1
  369. package/dist/spinner/index.d.ts +2 -3
  370. package/dist/spinner/index.js +2 -3
  371. package/dist/spinner/theme.d.ts +1 -0
  372. package/dist/stepindicator/StepIndicator.svelte +28 -49
  373. package/dist/stepindicator/StepIndicator.svelte.d.ts +3 -3
  374. package/dist/stepindicator/index.d.ts +1 -0
  375. package/dist/stepindicator/index.js +1 -0
  376. package/dist/stepindicator/theme.d.ts +246 -0
  377. package/dist/stepindicator/theme.js +103 -0
  378. package/dist/stepper/BreadcrumbStepper.svelte +15 -11
  379. package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
  380. package/dist/stepper/DetailedStepper.svelte +9 -9
  381. package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
  382. package/dist/stepper/ProgressStepper.svelte +13 -11
  383. package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
  384. package/dist/stepper/Stepper.svelte +15 -13
  385. package/dist/stepper/Stepper.svelte.d.ts +1 -1
  386. package/dist/stepper/TimelineStepper.svelte +9 -9
  387. package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
  388. package/dist/stepper/VerticalStepper.svelte +9 -10
  389. package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
  390. package/dist/stepper/index.d.ts +1 -1
  391. package/dist/stepper/index.js +1 -1
  392. package/dist/stepper/theme.d.ts +303 -261
  393. package/dist/stepper/theme.js +198 -186
  394. package/dist/table/Table.svelte +8 -6
  395. package/dist/table/Table.svelte.d.ts +2 -2
  396. package/dist/table/TableBody.svelte +6 -2
  397. package/dist/table/TableBody.svelte.d.ts +1 -1
  398. package/dist/table/TableBodyCell.svelte +7 -4
  399. package/dist/table/TableBodyCell.svelte.d.ts +1 -1
  400. package/dist/table/TableBodyRow.svelte +8 -5
  401. package/dist/table/TableBodyRow.svelte.d.ts +1 -1
  402. package/dist/table/TableHead.svelte +8 -5
  403. package/dist/table/TableHead.svelte.d.ts +1 -1
  404. package/dist/table/TableHeadCell.svelte +7 -4
  405. package/dist/table/TableHeadCell.svelte.d.ts +1 -1
  406. package/dist/table/TableSearch.svelte +35 -30
  407. package/dist/table/TableSearch.svelte.d.ts +8 -8
  408. package/dist/table/index.d.ts +8 -9
  409. package/dist/table/index.js +8 -9
  410. package/dist/table/theme.d.ts +192 -4
  411. package/dist/table/theme.js +68 -4
  412. package/dist/tabs/TabItem.svelte +8 -5
  413. package/dist/tabs/TabItem.svelte.d.ts +1 -1
  414. package/dist/tabs/Tabs.svelte +9 -6
  415. package/dist/tabs/Tabs.svelte.d.ts +1 -1
  416. package/dist/tabs/index.d.ts +3 -4
  417. package/dist/tabs/index.js +3 -4
  418. package/dist/tabs/theme.d.ts +4 -0
  419. package/dist/theme/ThemeProvider.svelte +30 -0
  420. package/dist/theme/ThemeProvider.svelte.d.ts +17 -0
  421. package/dist/theme/index.d.ts +0 -10296
  422. package/dist/theme/index.js +2 -119
  423. package/dist/theme/themeUtils.d.ts +2 -0
  424. package/dist/theme/themeUtils.js +6 -0
  425. package/dist/timeline/Activity.svelte +6 -3
  426. package/dist/timeline/Activity.svelte.d.ts +1 -1
  427. package/dist/timeline/ActivityItem.svelte +15 -11
  428. package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
  429. package/dist/timeline/Group.svelte +11 -5
  430. package/dist/timeline/Group.svelte.d.ts +1 -1
  431. package/dist/timeline/GroupItem.svelte +13 -8
  432. package/dist/timeline/GroupItem.svelte.d.ts +1 -1
  433. package/dist/timeline/Timeline.svelte +6 -2
  434. package/dist/timeline/Timeline.svelte.d.ts +1 -1
  435. package/dist/timeline/TimelineItem.svelte +13 -9
  436. package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
  437. package/dist/timeline/index.d.ts +7 -8
  438. package/dist/timeline/index.js +7 -8
  439. package/dist/timeline/theme.d.ts +25 -15
  440. package/dist/timeline/theme.js +3 -3
  441. package/dist/toast/Toast.svelte +10 -6
  442. package/dist/toast/Toast.svelte.d.ts +1 -1
  443. package/dist/toast/index.d.ts +2 -3
  444. package/dist/toast/index.js +2 -3
  445. package/dist/toast/theme.d.ts +2 -0
  446. package/dist/toolbar/Toolbar.svelte +8 -4
  447. package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
  448. package/dist/toolbar/ToolbarButton.svelte +6 -2
  449. package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
  450. package/dist/toolbar/ToolbarGroup.svelte +6 -2
  451. package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
  452. package/dist/toolbar/index.d.ts +4 -5
  453. package/dist/toolbar/index.js +4 -5
  454. package/dist/toolbar/theme.d.ts +4 -0
  455. package/dist/tooltip/Tooltip.svelte +7 -3
  456. package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
  457. package/dist/tooltip/index.d.ts +2 -3
  458. package/dist/tooltip/index.js +2 -3
  459. package/dist/tooltip/theme.d.ts +2 -0
  460. package/dist/types.d.ts +25 -25
  461. package/dist/types.js +1 -1
  462. package/dist/typography/anchor/A.svelte +7 -3
  463. package/dist/typography/anchor/A.svelte.d.ts +1 -1
  464. package/dist/typography/anchor/index.d.ts +2 -3
  465. package/dist/typography/anchor/index.js +2 -3
  466. package/dist/typography/anchor/theme.d.ts +1 -0
  467. package/dist/typography/blockquote/Blockquote.svelte +6 -2
  468. package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
  469. package/dist/typography/blockquote/theme.d.ts +1 -0
  470. package/dist/typography/descriptionlist/DescriptionList.svelte +7 -3
  471. package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
  472. package/dist/typography/descriptionlist/index.d.ts +2 -3
  473. package/dist/typography/descriptionlist/index.js +2 -3
  474. package/dist/typography/descriptionlist/theme.d.ts +1 -0
  475. package/dist/typography/heading/Heading.svelte +7 -3
  476. package/dist/typography/heading/Heading.svelte.d.ts +1 -1
  477. package/dist/typography/heading/index.d.ts +2 -3
  478. package/dist/typography/heading/index.js +2 -3
  479. package/dist/typography/heading/theme.d.ts +1 -0
  480. package/dist/typography/hr/Hr.svelte +10 -6
  481. package/dist/typography/hr/Hr.svelte.d.ts +1 -1
  482. package/dist/typography/hr/index.d.ts +2 -3
  483. package/dist/typography/hr/index.js +2 -3
  484. package/dist/typography/hr/theme.d.ts +2 -0
  485. package/dist/typography/img/EnhancedImg.svelte +10 -6
  486. package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
  487. package/dist/typography/img/Img.svelte +10 -6
  488. package/dist/typography/img/Img.svelte.d.ts +1 -1
  489. package/dist/typography/img/index.d.ts +3 -4
  490. package/dist/typography/img/index.js +3 -4
  491. package/dist/typography/img/theme.d.ts +2 -0
  492. package/dist/typography/layout/Layout.svelte +6 -2
  493. package/dist/typography/layout/Layout.svelte.d.ts +1 -1
  494. package/dist/typography/layout/index.d.ts +2 -3
  495. package/dist/typography/layout/index.js +2 -3
  496. package/dist/typography/layout/theme.d.ts +1 -0
  497. package/dist/typography/list/Li.svelte +6 -3
  498. package/dist/typography/list/Li.svelte.d.ts +1 -1
  499. package/dist/typography/list/List.svelte +6 -2
  500. package/dist/typography/list/List.svelte.d.ts +1 -1
  501. package/dist/typography/list/index.d.ts +3 -4
  502. package/dist/typography/list/index.js +3 -4
  503. package/dist/typography/list/theme.d.ts +1 -0
  504. package/dist/typography/mark/Mark.svelte +6 -2
  505. package/dist/typography/mark/Mark.svelte.d.ts +1 -1
  506. package/dist/typography/mark/index.d.ts +2 -3
  507. package/dist/typography/mark/index.js +2 -3
  508. package/dist/typography/mark/theme.d.ts +1 -0
  509. package/dist/typography/paragraph/P.svelte +6 -2
  510. package/dist/typography/paragraph/P.svelte.d.ts +1 -1
  511. package/dist/typography/paragraph/index.d.ts +2 -3
  512. package/dist/typography/paragraph/index.js +2 -3
  513. package/dist/typography/paragraph/theme.d.ts +1 -0
  514. package/dist/typography/secondary/Secondary.svelte +6 -2
  515. package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
  516. package/dist/typography/secondary/index.d.ts +2 -3
  517. package/dist/typography/secondary/index.js +2 -3
  518. package/dist/typography/secondary/theme.d.ts +1 -0
  519. package/dist/typography/span/Span.svelte +6 -2
  520. package/dist/typography/span/Span.svelte.d.ts +1 -1
  521. package/dist/typography/span/index.d.ts +2 -3
  522. package/dist/typography/span/index.js +2 -3
  523. package/dist/typography/span/theme.d.ts +1 -0
  524. package/dist/utils/Arrow.svelte +1 -1
  525. package/dist/utils/Arrow.svelte.d.ts +1 -1
  526. package/dist/utils/CloseButton.svelte +1 -1
  527. package/dist/utils/CloseButton.svelte.d.ts +1 -1
  528. package/dist/utils/Popper.svelte +1 -1
  529. package/dist/utils/Popper.svelte.d.ts +1 -1
  530. package/dist/video/Video.svelte +6 -2
  531. package/dist/video/Video.svelte.d.ts +1 -1
  532. package/dist/video/index.d.ts +1 -2
  533. package/dist/video/index.js +1 -2
  534. package/package.json +9 -12
  535. package/dist/chart/Chart.svelte +0 -45
  536. package/dist/chart/Chart.svelte.d.ts +0 -13
  537. package/dist/chart/chart.css +0 -166
  538. package/dist/chart/index.d.ts +0 -1
  539. package/dist/chart/index.js +0 -1
  540. package/dist/forms/button-toggle/button-toggle.txt +0 -25
  541. package/dist/theme/Theme.svelte +0 -60
  542. package/dist/theme/Theme.svelte.d.ts +0 -12
@@ -148,7 +148,9 @@ export declare const sidebar: import("tailwind-variants").TVReturnType<{
148
148
  div: string;
149
149
  backdrop: string;
150
150
  }, undefined, unknown, unknown, undefined>>;
151
- export declare const sidebarbutton: import("tailwind-variants").TVReturnType<{
151
+ export type SidebarSlots = keyof typeof sidebar.slots;
152
+ export type SidebarTheme = Partial<Record<SidebarSlots, string>>;
153
+ export declare const sidebarButton: import("tailwind-variants").TVReturnType<{
152
154
  breakpoint: {
153
155
  sm: string;
154
156
  md: string;
@@ -173,20 +175,21 @@ export declare const sidebarbutton: import("tailwind-variants").TVReturnType<{
173
175
  "2xl": string;
174
176
  };
175
177
  }, undefined, "inline-flex items-center p-0 mt-0 ms-3 text-sm text-gray-500 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600", unknown, unknown, undefined>>;
176
- export declare const sidebarcta: import("tailwind-variants").TVReturnType<{
178
+ export type SidebarButtonTheme = string;
179
+ export declare const sidebarCta: import("tailwind-variants").TVReturnType<{
177
180
  [key: string]: {
178
181
  [key: string]: import("tailwind-variants").ClassValue | {
182
+ div?: import("tailwind-variants").ClassValue;
179
183
  base?: import("tailwind-variants").ClassValue;
180
184
  span?: import("tailwind-variants").ClassValue;
181
- div?: import("tailwind-variants").ClassValue;
182
185
  };
183
186
  };
184
187
  } | {
185
188
  [x: string]: {
186
189
  [x: string]: import("tailwind-variants").ClassValue | {
190
+ div?: import("tailwind-variants").ClassValue;
187
191
  base?: import("tailwind-variants").ClassValue;
188
192
  span?: import("tailwind-variants").ClassValue;
189
- div?: import("tailwind-variants").ClassValue;
190
193
  };
191
194
  };
192
195
  } | {}, {
@@ -196,9 +199,9 @@ export declare const sidebarcta: import("tailwind-variants").TVReturnType<{
196
199
  }, undefined, {
197
200
  [key: string]: {
198
201
  [key: string]: import("tailwind-variants").ClassValue | {
202
+ div?: import("tailwind-variants").ClassValue;
199
203
  base?: import("tailwind-variants").ClassValue;
200
204
  span?: import("tailwind-variants").ClassValue;
201
- div?: import("tailwind-variants").ClassValue;
202
205
  };
203
206
  };
204
207
  } | {}, {
@@ -210,20 +213,22 @@ export declare const sidebarcta: import("tailwind-variants").TVReturnType<{
210
213
  div: string;
211
214
  span: string;
212
215
  }, undefined, unknown, unknown, undefined>>;
213
- export declare const sitebarbrand: import("tailwind-variants").TVReturnType<{
216
+ export type SidebarCtaSlots = keyof typeof sidebarCta.slots;
217
+ export type SidebarCtaTheme = Partial<Record<SidebarCtaSlots, string>>;
218
+ export declare const sidebarBrand: import("tailwind-variants").TVReturnType<{
214
219
  [key: string]: {
215
220
  [key: string]: import("tailwind-variants").ClassValue | {
216
221
  base?: import("tailwind-variants").ClassValue;
217
- span?: import("tailwind-variants").ClassValue;
218
222
  img?: import("tailwind-variants").ClassValue;
223
+ span?: import("tailwind-variants").ClassValue;
219
224
  };
220
225
  };
221
226
  } | {
222
227
  [x: string]: {
223
228
  [x: string]: import("tailwind-variants").ClassValue | {
224
229
  base?: import("tailwind-variants").ClassValue;
225
- span?: import("tailwind-variants").ClassValue;
226
230
  img?: import("tailwind-variants").ClassValue;
231
+ span?: import("tailwind-variants").ClassValue;
227
232
  };
228
233
  };
229
234
  } | {}, {
@@ -234,8 +239,8 @@ export declare const sitebarbrand: import("tailwind-variants").TVReturnType<{
234
239
  [key: string]: {
235
240
  [key: string]: import("tailwind-variants").ClassValue | {
236
241
  base?: import("tailwind-variants").ClassValue;
237
- span?: import("tailwind-variants").ClassValue;
238
242
  img?: import("tailwind-variants").ClassValue;
243
+ span?: import("tailwind-variants").ClassValue;
239
244
  };
240
245
  };
241
246
  } | {}, {
@@ -247,12 +252,14 @@ export declare const sitebarbrand: import("tailwind-variants").TVReturnType<{
247
252
  img: string;
248
253
  span: string;
249
254
  }, undefined, unknown, unknown, undefined>>;
250
- export declare const sidebardropdownwrapper: import("tailwind-variants").TVReturnType<{
255
+ export type SidebarBrandSlots = keyof typeof sidebarBrand.slots;
256
+ export type SidebarBrandTheme = Partial<Record<SidebarBrandSlots, string>>;
257
+ export declare const sidebarDropdownWrapper: import("tailwind-variants").TVReturnType<{
251
258
  [key: string]: {
252
259
  [key: string]: import("tailwind-variants").ClassValue | {
253
260
  base?: import("tailwind-variants").ClassValue;
254
- span?: import("tailwind-variants").ClassValue;
255
261
  svg?: import("tailwind-variants").ClassValue;
262
+ span?: import("tailwind-variants").ClassValue;
256
263
  ul?: import("tailwind-variants").ClassValue;
257
264
  btn?: import("tailwind-variants").ClassValue;
258
265
  };
@@ -261,8 +268,8 @@ export declare const sidebardropdownwrapper: import("tailwind-variants").TVRetur
261
268
  [x: string]: {
262
269
  [x: string]: import("tailwind-variants").ClassValue | {
263
270
  base?: import("tailwind-variants").ClassValue;
264
- span?: import("tailwind-variants").ClassValue;
265
271
  svg?: import("tailwind-variants").ClassValue;
272
+ span?: import("tailwind-variants").ClassValue;
266
273
  ul?: import("tailwind-variants").ClassValue;
267
274
  btn?: import("tailwind-variants").ClassValue;
268
275
  };
@@ -277,8 +284,8 @@ export declare const sidebardropdownwrapper: import("tailwind-variants").TVRetur
277
284
  [key: string]: {
278
285
  [key: string]: import("tailwind-variants").ClassValue | {
279
286
  base?: import("tailwind-variants").ClassValue;
280
- span?: import("tailwind-variants").ClassValue;
281
287
  svg?: import("tailwind-variants").ClassValue;
288
+ span?: import("tailwind-variants").ClassValue;
282
289
  ul?: import("tailwind-variants").ClassValue;
283
290
  btn?: import("tailwind-variants").ClassValue;
284
291
  };
@@ -296,3 +303,5 @@ export declare const sidebardropdownwrapper: import("tailwind-variants").TVRetur
296
303
  svg: string;
297
304
  ul: string;
298
305
  }, undefined, unknown, unknown, undefined>>;
306
+ export type SidebarDropdownWrapperSlots = keyof typeof sidebarDropdownWrapper.slots;
307
+ export type SidebarDropdownWrapperTheme = Partial<Record<SidebarDropdownWrapperSlots, string>>;
@@ -41,7 +41,7 @@ export const sidebar = tv({
41
41
  }
42
42
  ]
43
43
  });
44
- export const sidebarbutton = tv({
44
+ export const sidebarButton = tv({
45
45
  base: "inline-flex items-center p-0 mt-0 ms-3 text-sm text-gray-500 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600",
46
46
  variants: {
47
47
  breakpoint: {
@@ -53,21 +53,21 @@ export const sidebarbutton = tv({
53
53
  }
54
54
  }
55
55
  });
56
- export const sidebarcta = tv({
56
+ export const sidebarCta = tv({
57
57
  slots: {
58
58
  base: "p-4 mt-6 bg-primary-50 rounded-lg dark:bg-primary-900",
59
59
  div: "flex items-center mb-3",
60
60
  span: "bg-primary-100 text-primary-800 text-sm font-semibold me-2 px-2.5 py-0.5 rounded-sm dark:bg-primary-200 dark:text-primary-900"
61
61
  }
62
62
  });
63
- export const sitebarbrand = tv({
63
+ export const sidebarBrand = tv({
64
64
  slots: {
65
65
  base: "flex items-center ps-2.5 mb-5",
66
66
  img: "h-6 me-3 sm:h-7",
67
67
  span: "self-center text-xl font-semibold whitespace-nowrap dark:text-white"
68
68
  }
69
69
  });
70
- export const sidebardropdownwrapper = tv({
70
+ export const sidebarDropdownWrapper = tv({
71
71
  slots: {
72
72
  base: "group",
73
73
  btn: "flex items-center p-2 w-full text-base font-normal text-gray-900 rounded-sm transition duration-75 group hover:bg-gray-100 dark:text-white dark:hover:bg-gray-700",
@@ -1,30 +1,33 @@
1
1
  <script lang="ts">
2
- import { twMerge } from "tailwind-merge";
3
2
  import clsx from "clsx";
4
- import { cardPlaceholder } from ".";
3
+ import { cardPlaceholder, type CardPlaceholderTheme } from ".";
5
4
  import type { CardPlaceholderProps } from "../types";
5
+ import { cn } from "..";
6
+ import { getTheme } from "../theme/themeUtils";
6
7
 
7
8
  let { size = "sm", class: className, ...restProps }: CardPlaceholderProps = $props();
8
9
 
10
+ const theme = getTheme("cardPlaceholder");
11
+
9
12
  const { base, imageArea, imageIcon, line, footerArea } = $derived(cardPlaceholder({ size }));
10
13
  </script>
11
14
 
12
- <div role="status" {...restProps} class={twMerge(base(), clsx(className))}>
13
- <div class={imageArea()}>
14
- <svg width="48" height="48" class={imageIcon()} xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 640 512">
15
+ <div role="status" {...restProps} class={cn(base(), clsx(className), (theme as CardPlaceholderTheme)?.base)}>
16
+ <div class={cn(imageArea(), (theme as CardPlaceholderTheme)?.imageArea)}>
17
+ <svg width="48" height="48" class={cn(imageIcon(), (theme as CardPlaceholderTheme)?.imageIcon)} xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 640 512">
15
18
  <path d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"></path>
16
19
  </svg>
17
20
  </div>
18
- <div class={line({ class: "mb-4 h-2.5 w-1/2" })}></div>
19
- <div class={line({ class: "mb-2.5 h-2" })}></div>
20
- <div class={line({ class: "mb-2.5 h-2" })}></div>
21
- <div class={line({ class: "h-2" })}></div>
22
- <div class={footerArea()}>
23
- <svg class={line({ class: "h-14 w-14" })} aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
21
+ <div class={cn(line({ class: "mb-4 h-2.5 w-1/2" }), (theme as CardPlaceholderTheme)?.line)}></div>
22
+ <div class={cn(line({ class: "mb-2.5 h-2" }), (theme as CardPlaceholderTheme)?.line)}></div>
23
+ <div class={cn(line({ class: "mb-2.5 h-2" }), (theme as CardPlaceholderTheme)?.line)}></div>
24
+ <div class={cn(line({ class: "h-2" }), (theme as CardPlaceholderTheme)?.line)}></div>
25
+ <div class={cn(footerArea(), (theme as CardPlaceholderTheme)?.footerArea)}>
26
+ <svg class={cn(line({ class: "h-14 w-14" }), (theme as CardPlaceholderTheme)?.line)} aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
24
27
  <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd"></path>
25
28
  </svg>
26
- <div class={line({ class: "mb-2 h-2.5 w-32" })}></div>
27
- <div class={line({ class: "mb-2 h-2 w-32" })}></div>
29
+ <div class={cn(line({ class: "mb-2 h-2.5 w-32" }), (theme as CardPlaceholderTheme)?.line)}></div>
30
+ <div class={cn(line({ class: "mb-2 h-2 w-32" }), (theme as CardPlaceholderTheme)?.line)}></div>
28
31
  </div>
29
32
  <span class="sr-only">Loading...</span>
30
33
  </div>
@@ -33,7 +36,7 @@
33
36
  @component
34
37
  [Go to docs](https://flowbite-svelte.com/)
35
38
  ## Type
36
- [CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1431)
39
+ [CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1424)
37
40
  ## Props
38
41
  @prop size = "sm"
39
42
  @prop class: className
@@ -2,7 +2,7 @@ import type { CardPlaceholderProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1431)
5
+ * [CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1424)
6
6
  * ## Props
7
7
  * @prop size = "sm"
8
8
  * @prop class: className
@@ -1,11 +1,14 @@
1
1
  <script lang="ts">
2
- import { twMerge } from "tailwind-merge";
3
2
  import clsx from "clsx";
4
- import { imagePlaceholder } from ".";
3
+ import { imagePlaceholder, type ImagePlaceholderTheme } from ".";
5
4
  import type { ImagePlaceholderProps } from "../types";
5
+ import { cn } from "..";
6
+ import { getTheme } from "../theme/themeUtils";
6
7
 
7
8
  let { size = "md", rounded, imgOnly = false, class: className, ...restProps }: ImagePlaceholderProps = $props();
8
9
 
10
+ const theme = getTheme("imagePlaceholder");
11
+
9
12
  const { base, image, svg, content, line } = $derived(
10
13
  imagePlaceholder({
11
14
  size,
@@ -14,21 +17,21 @@
14
17
  );
15
18
  </script>
16
19
 
17
- <div role="status" {...restProps} class={twMerge(base(), clsx(className))}>
18
- <div class={image()}>
19
- <svg width="48" height="48" class={svg()} xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 640 512">
20
+ <div role="status" {...restProps} class={cn(base(), clsx(className), (theme as ImagePlaceholderTheme)?.base)}>
21
+ <div class={cn(image(), (theme as ImagePlaceholderTheme)?.image)}>
22
+ <svg width="48" height="48" class={cn(svg(), (theme as ImagePlaceholderTheme)?.svg)} xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 640 512">
20
23
  <path d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"></path>
21
24
  </svg>
22
25
  </div>
23
26
  {#if !imgOnly}
24
- <div class={content()}>
25
- <div class={line({ class: "mb-4 h-2.5 w-1/2" })}></div>
26
- <div class={line({ class: "mb-2.5 h-2 w-9/12" })}></div>
27
- <div class={line({ class: "mb-2.5 h-2" })}></div>
28
- <div class={line({ class: "mb-2.5 h-2" })}></div>
29
- <div class={line({ class: "mb-2.5 h-2 w-10/12" })}></div>
30
- <div class={line({ class: "mb-2.5 h-2 w-11/12" })}></div>
31
- <div class={line({ class: "h-2 w-9/12" })}></div>
27
+ <div class={cn(content(), (theme as ImagePlaceholderTheme)?.content)}>
28
+ <div class={cn(line({ class: "mb-4 h-2.5 w-1/2" }), (theme as ImagePlaceholderTheme)?.line)}></div>
29
+ <div class={cn(line({ class: "mb-2.5 h-2 w-9/12" }), (theme as ImagePlaceholderTheme)?.line)}></div>
30
+ <div class={cn(line({ class: "mb-2.5 h-2" }), (theme as ImagePlaceholderTheme)?.line)}></div>
31
+ <div class={cn(line({ class: "mb-2.5 h-2" }), (theme as ImagePlaceholderTheme)?.line)}></div>
32
+ <div class={cn(line({ class: "mb-2.5 h-2 w-10/12" }), (theme as ImagePlaceholderTheme)?.line)}></div>
33
+ <div class={cn(line({ class: "mb-2.5 h-2 w-11/12" }), (theme as ImagePlaceholderTheme)?.line)}></div>
34
+ <div class={cn(line({ class: "h-2 w-9/12" }), (theme as ImagePlaceholderTheme)?.line)}></div>
32
35
  </div>
33
36
  {/if}
34
37
  <span class="sr-only">Loading...</span>
@@ -38,7 +41,7 @@
38
41
  @component
39
42
  [Go to docs](https://flowbite-svelte.com/)
40
43
  ## Type
41
- [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1435)
44
+ [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1428)
42
45
  ## Props
43
46
  @prop size = "md"
44
47
  @prop rounded
@@ -2,7 +2,7 @@ import type { ImagePlaceholderProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1435)
5
+ * [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1428)
6
6
  * ## Props
7
7
  * @prop size = "md"
8
8
  * @prop rounded
@@ -1,25 +1,28 @@
1
1
  <script lang="ts">
2
- import { twMerge } from "tailwind-merge";
3
2
  import clsx from "clsx";
4
- import { listPlaceholder } from ".";
3
+ import { listPlaceholder, type ListPlaceholderTheme } from ".";
5
4
  import type { ListPlaceholderProps } from "../types";
5
+ import { cn } from "..";
6
+ import { getTheme } from "../theme/themeUtils";
6
7
 
7
8
  let { itemNumber = 5, size = "md", rounded, class: className, ...restProps }: ListPlaceholderProps = $props();
8
9
 
10
+ const theme = getTheme("listPlaceholder");
11
+
9
12
  const { base, item, itemContent, itemTitle, itemSubtitle, itemExtra } = $derived(listPlaceholder({ size, rounded }));
10
13
 
11
14
  let items = $derived([...Array(itemNumber).keys()]);
12
15
  </script>
13
16
 
14
- <div role="status" {...restProps} class={twMerge(base(), clsx(className))}>
17
+ <div role="status" {...restProps} class={cn(base(), clsx(className), (theme as ListPlaceholderTheme)?.base)}>
15
18
  <!-- eslint-disable-next-line @typescript-eslint/no-unused-vars -->
16
19
  {#each items as _, i}
17
- <div class={item({ class: i > 0 ? "pt-4" : "" })}>
18
- <div class={itemContent()}>
19
- <div class={itemTitle()}></div>
20
- <div class={itemSubtitle()}></div>
20
+ <div class={cn(item({ class: i > 0 ? "pt-4" : "" }), (theme as ListPlaceholderTheme)?.item)}>
21
+ <div class={cn(itemContent(), (theme as ListPlaceholderTheme)?.itemContent)}>
22
+ <div class={cn(itemTitle(), (theme as ListPlaceholderTheme)?.itemTitle)}></div>
23
+ <div class={cn(itemSubtitle(), (theme as ListPlaceholderTheme)?.itemSubtitle)}></div>
21
24
  </div>
22
- <div class={itemExtra()}></div>
25
+ <div class={cn(itemExtra(), (theme as ListPlaceholderTheme)?.itemExtra)}></div>
23
26
  </div>
24
27
  {/each}
25
28
  <span class="sr-only">Loading...</span>
@@ -29,7 +32,7 @@
29
32
  @component
30
33
  [Go to docs](https://flowbite-svelte.com/)
31
34
  ## Type
32
- [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1441)
35
+ [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1434)
33
36
  ## Props
34
37
  @prop itemNumber = 5
35
38
  @prop size = "md"
@@ -2,7 +2,7 @@ import type { ListPlaceholderProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1441)
5
+ * [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1434)
6
6
  * ## Props
7
7
  * @prop itemNumber = 5
8
8
  * @prop size = "md"
@@ -1,21 +1,25 @@
1
1
  <script lang="ts">
2
- import { twMerge } from "tailwind-merge";
3
2
  import clsx from "clsx";
4
- import { skeleton } from ".";
3
+ import { skeleton, type SkeletonTheme } from ".";
5
4
  import type { SkeletonProps } from "../types";
5
+ import { cn } from "..";
6
+ import { getTheme } from "../theme/themeUtils";
6
7
 
7
8
  let { size = "sm", class: className, ...restProps }: SkeletonProps = $props();
9
+
10
+ const theme = getTheme("skeleton");
11
+
8
12
  const { wrapper, line } = $derived(skeleton({ size }));
9
13
  </script>
10
14
 
11
- <div role="status" {...restProps} class={twMerge(wrapper(), clsx(className))}>
12
- <div class={line({ class: "mb-4 h-2.5 w-1/2" })}></div>
13
- <div class={line({ class: "mb-2.5 h-2 w-9/12" })}></div>
14
- <div class={line({ class: "mb-2.5 h-2" })}></div>
15
- <div class={line({ class: "mb-2.5 h-2" })}></div>
16
- <div class={line({ class: "mb-2.5 h-2 w-10/12" })}></div>
17
- <div class={line({ class: "mb-2.5 h-2 w-11/12" })}></div>
18
- <div class={line({ class: "h-2 w-9/12" })}></div>
15
+ <div role="status" {...restProps} class={cn(wrapper(), clsx(className), (theme as SkeletonTheme)?.wrapper)}>
16
+ <div class={cn(line({ class: "mb-4 h-2.5 w-1/2" }), (theme as SkeletonTheme)?.line)}></div>
17
+ <div class={cn(line({ class: "mb-2.5 h-2 w-9/12" }), (theme as SkeletonTheme)?.line)}></div>
18
+ <div class={cn(line({ class: "mb-2.5 h-2" }), (theme as SkeletonTheme)?.line)}></div>
19
+ <div class={cn(line({ class: "mb-2.5 h-2" }), (theme as SkeletonTheme)?.line)}></div>
20
+ <div class={cn(line({ class: "mb-2.5 h-2 w-10/12" }), (theme as SkeletonTheme)?.line)}></div>
21
+ <div class={cn(line({ class: "mb-2.5 h-2 w-11/12" }), (theme as SkeletonTheme)?.line)}></div>
22
+ <div class={cn(line({ class: "h-2 w-9/12" }), (theme as SkeletonTheme)?.line)}></div>
19
23
  <span class="sr-only">Loading...</span>
20
24
  </div>
21
25
 
@@ -23,7 +27,7 @@
23
27
  @component
24
28
  [Go to docs](https://flowbite-svelte.com/)
25
29
  ## Type
26
- [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1447)
30
+ [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1440)
27
31
  ## Props
28
32
  @prop size = "sm"
29
33
  @prop class: className
@@ -2,7 +2,7 @@ import type { SkeletonProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1447)
5
+ * [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1440)
6
6
  * ## Props
7
7
  * @prop size = "sm"
8
8
  * @prop class: className
@@ -1,22 +1,26 @@
1
1
  <script lang="ts">
2
- import { twMerge } from "tailwind-merge";
3
- import { testimonialPlaceholder } from ".";
2
+ import { testimonialPlaceholder, type TestimonialPlaceholderTheme } from ".";
4
3
  import clsx from "clsx";
5
4
  import { type TestimonialPlaceholderProps } from "..";
5
+ import { cn } from "..";
6
+ import { getTheme } from "../theme/themeUtils";
6
7
 
7
8
  let { class: className, ...restProps }: TestimonialPlaceholderProps = $props();
9
+
10
+ const theme = getTheme("testimonialPlaceholder");
11
+
8
12
  const { wrapper, line1, line2, svg, subContent } = testimonialPlaceholder();
9
13
  </script>
10
14
 
11
- <div role="status" {...restProps} class={twMerge(wrapper(), clsx(className))}>
12
- <div class={line2({ class: "mx-auto mb-2.5 h-2.5 max-w-[640px]" })}></div>
13
- <div class={line2({ class: "mx-auto h-2.5 max-w-[540px]" })}></div>
14
- <div class={subContent()}>
15
- <svg class={svg()} aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
15
+ <div role="status" {...restProps} class={cn(wrapper(), clsx(className), (theme as TestimonialPlaceholderTheme)?.wrapper)}>
16
+ <div class={cn(line2({ class: "mx-auto mb-2.5 h-2.5 max-w-[640px]" }), (theme as TestimonialPlaceholderTheme)?.line2)}></div>
17
+ <div class={cn(line2({ class: "mx-auto h-2.5 max-w-[540px]" }), (theme as TestimonialPlaceholderTheme)?.line2)}></div>
18
+ <div class={cn(subContent(), (theme as TestimonialPlaceholderTheme)?.subContent)}>
19
+ <svg class={cn(svg(), (theme as TestimonialPlaceholderTheme)?.svg)} aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
16
20
  <path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd"></path>
17
21
  </svg>
18
- <div class={line1({ class: "me-3 h-2.5 w-20" })}></div>
19
- <div class={line1({ class: "h-2 w-24" })}></div>
22
+ <div class={cn(line1({ class: "me-3 h-2.5 w-20" }), (theme as TestimonialPlaceholderTheme)?.line1)}></div>
23
+ <div class={cn(line1({ class: "h-2 w-24" }), (theme as TestimonialPlaceholderTheme)?.line1)}></div>
20
24
  </div>
21
25
  <span class="sr-only">Loading...</span>
22
26
  </div>
@@ -25,7 +29,7 @@
25
29
  @component
26
30
  [Go to docs](https://flowbite-svelte.com/)
27
31
  ## Type
28
- [TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1451)
32
+ [TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1444)
29
33
  ## Props
30
34
  @prop class: className
31
35
  @prop ...restProps
@@ -2,7 +2,7 @@ import { type TestimonialPlaceholderProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1451)
5
+ * [TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1444)
6
6
  * ## Props
7
7
  * @prop class: className
8
8
  * @prop ...restProps
@@ -1,10 +1,14 @@
1
1
  <script lang="ts">
2
- import { twMerge } from "tailwind-merge";
3
2
  import clsx from "clsx";
4
- import { textPlaceholder } from ".";
3
+ import { textPlaceholder, type TextPlaceholderTheme } from ".";
5
4
  import type { TextPlaceholderProps } from "../types";
5
+ import { cn } from "..";
6
+ import { getTheme } from "../theme/themeUtils";
6
7
 
7
8
  let { size = "sm", class: className, ...restProps }: TextPlaceholderProps = $props();
9
+
10
+ const theme = getTheme("textPlaceholder");
11
+
8
12
  const { baseWrapper, divWrapper, lineA, lineB } = $derived(
9
13
  textPlaceholder({
10
14
  size
@@ -12,36 +16,36 @@
12
16
  );
13
17
  </script>
14
18
 
15
- <div role="status" {...restProps} class={twMerge(baseWrapper(), clsx(className))}>
16
- <div class={divWrapper({ class: "w-full" })}>
17
- <div class={lineA({ class: "h-2.5 w-32" })}></div>
18
- <div class={lineB({ class: "h-2.5 w-24" })}></div>
19
- <div class={lineB({ class: "h-2.5 w-full" })}></div>
19
+ <div role="status" {...restProps} class={cn(baseWrapper(), clsx(className), (theme as TextPlaceholderTheme)?.baseWrapper)}>
20
+ <div class={cn(divWrapper({ class: "w-full" }), (theme as TextPlaceholderTheme)?.divWrapper)}>
21
+ <div class={cn(lineA({ class: "h-2.5 w-32" }), (theme as TextPlaceholderTheme)?.lineA)}></div>
22
+ <div class={cn(lineB({ class: "h-2.5 w-24" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
23
+ <div class={cn(lineB({ class: "h-2.5 w-full" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
20
24
  </div>
21
- <div class={divWrapper({ class: "w-11/12" })}>
22
- <div class={lineA({ class: "h-2.5 w-full" })}></div>
23
- <div class={lineB({ class: "h-2.5 w-full" })}></div>
24
- <div class={lineB({ class: "h-2.5 w-24" })}></div>
25
+ <div class={cn(divWrapper({ class: "w-11/12" }), (theme as TextPlaceholderTheme)?.divWrapper)}>
26
+ <div class={cn(lineA({ class: "h-2.5 w-full" }), (theme as TextPlaceholderTheme)?.lineA)}></div>
27
+ <div class={cn(lineB({ class: "h-2.5 w-full" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
28
+ <div class={cn(lineB({ class: "h-2.5 w-24" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
25
29
  </div>
26
- <div class={divWrapper({ class: "w-9/12" })}>
27
- <div class={lineB({ class: "h-2.5 w-full" })}></div>
28
- <div class={lineA({ class: "h-2.5 w-80" })}></div>
29
- <div class={lineB({ class: "h-2.5 w-full" })}></div>
30
+ <div class={cn(divWrapper({ class: "w-9/12" }), (theme as TextPlaceholderTheme)?.divWrapper)}>
31
+ <div class={cn(lineB({ class: "h-2.5 w-full" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
32
+ <div class={cn(lineA({ class: "h-2.5 w-80" }), (theme as TextPlaceholderTheme)?.lineA)}></div>
33
+ <div class={cn(lineB({ class: "h-2.5 w-full" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
30
34
  </div>
31
- <div class={divWrapper({ class: "w-11/12" })}>
32
- <div class={lineA({ class: "h-2.5 w-full" })}></div>
33
- <div class={lineB({ class: "h-2.5 w-full" })}></div>
34
- <div class={lineB({ class: "h-2.5 w-24" })}></div>
35
+ <div class={cn(divWrapper({ class: "w-11/12" }), (theme as TextPlaceholderTheme)?.divWrapper)}>
36
+ <div class={cn(lineA({ class: "h-2.5 w-full" }), (theme as TextPlaceholderTheme)?.lineA)}></div>
37
+ <div class={cn(lineB({ class: "h-2.5 w-full" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
38
+ <div class={cn(lineB({ class: "h-2.5 w-24" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
35
39
  </div>
36
- <div class={divWrapper({ class: "w-10/12" })}>
37
- <div class={lineB({ class: "h-2.5 w-32" })}></div>
38
- <div class={lineB({ class: "h-2.5 w-24" })}></div>
39
- <div class={lineA({ class: "h-2.5 w-full" })}></div>
40
+ <div class={cn(divWrapper({ class: "w-10/12" }), (theme as TextPlaceholderTheme)?.divWrapper)}>
41
+ <div class={cn(lineB({ class: "h-2.5 w-32" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
42
+ <div class={cn(lineB({ class: "h-2.5 w-24" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
43
+ <div class={cn(lineA({ class: "h-2.5 w-full" }), (theme as TextPlaceholderTheme)?.lineA)}></div>
40
44
  </div>
41
- <div class={divWrapper({ class: "w-8/12" })}>
42
- <div class={lineB({ class: "h-2.5 w-full" })}></div>
43
- <div class={lineA({ class: "h-2.5 w-80" })}></div>
44
- <div class={lineB({ class: "h-2.5 w-full" })}></div>
45
+ <div class={cn(divWrapper({ class: "w-8/12" }), (theme as TextPlaceholderTheme)?.divWrapper)}>
46
+ <div class={cn(lineB({ class: "h-2.5 w-full" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
47
+ <div class={cn(lineA({ class: "h-2.5 w-80" }), (theme as TextPlaceholderTheme)?.lineA)}></div>
48
+ <div class={cn(lineB({ class: "h-2.5 w-full" }), (theme as TextPlaceholderTheme)?.lineB)}></div>
45
49
  </div>
46
50
  <span class="sr-only">Loading...</span>
47
51
  </div>
@@ -50,7 +54,7 @@
50
54
  @component
51
55
  [Go to docs](https://flowbite-svelte.com/)
52
56
  ## Type
53
- [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1453)
57
+ [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1446)
54
58
  ## Props
55
59
  @prop size = "sm"
56
60
  @prop class: className
@@ -2,7 +2,7 @@ import type { TextPlaceholderProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1453)
5
+ * [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1446)
6
6
  * ## Props
7
7
  * @prop size = "sm"
8
8
  * @prop class: className
@@ -1,14 +1,18 @@
1
1
  <script lang="ts">
2
- import { twMerge } from "tailwind-merge";
3
2
  import clsx from "clsx";
4
3
  import { videoPlaceholder } from ".";
5
4
  import type { VideoPlaceholderProps } from "../types";
5
+ import { cn } from "..";
6
+ import { getTheme } from "../theme/themeUtils";
6
7
 
7
8
  let { size = "sm", class: className }: VideoPlaceholderProps = $props();
9
+
10
+ const theme = getTheme("videoPlaceholder");
11
+
8
12
  const base = $derived(videoPlaceholder({ size }));
9
13
  </script>
10
14
 
11
- <div role="status" class={twMerge(base, clsx(className))}>
15
+ <div role="status" class={cn(base, clsx(className), theme)}>
12
16
  <svg width="48" height="48" class="text-gray-200 dark:text-gray-600" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 384 512">
13
17
  <path d="M361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215z"></path>
14
18
  </svg>
@@ -19,7 +23,7 @@
19
23
  @component
20
24
  [Go to docs](https://flowbite-svelte.com/)
21
25
  ## Type
22
- [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1457)
26
+ [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1450)
23
27
  ## Props
24
28
  @prop size = "sm"
25
29
  @prop class: className
@@ -2,7 +2,7 @@ import type { VideoPlaceholderProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1457)
5
+ * [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1450)
6
6
  * ## Props
7
7
  * @prop size = "sm"
8
8
  * @prop class: className