flowbite-svelte 1.4.3 → 1.5.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 (398) hide show
  1. package/dist/accordion/Accordion.svelte +3 -4
  2. package/dist/accordion/Accordion.svelte.d.ts +2 -2
  3. package/dist/accordion/AccordionItem.svelte +3 -6
  4. package/dist/accordion/AccordionItem.svelte.d.ts +2 -2
  5. package/dist/accordion/index.d.ts +3 -4
  6. package/dist/accordion/index.js +3 -4
  7. package/dist/alert/Alert.svelte +12 -15
  8. package/dist/alert/Alert.svelte.d.ts +2 -2
  9. package/dist/alert/index.d.ts +2 -3
  10. package/dist/alert/index.js +2 -3
  11. package/dist/avatar/Avatar.svelte +11 -11
  12. package/dist/avatar/Avatar.svelte.d.ts +2 -2
  13. package/dist/avatar/index.d.ts +2 -3
  14. package/dist/avatar/index.js +2 -3
  15. package/dist/badge/Badge.svelte +5 -8
  16. package/dist/badge/Badge.svelte.d.ts +2 -2
  17. package/dist/badge/index.d.ts +2 -3
  18. package/dist/badge/index.js +2 -3
  19. package/dist/banner/Banner.svelte +8 -9
  20. package/dist/banner/Banner.svelte.d.ts +3 -2
  21. package/dist/banner/index.d.ts +2 -3
  22. package/dist/banner/index.js +2 -3
  23. package/dist/bottom-navigation/BottomNav.svelte +7 -10
  24. package/dist/bottom-navigation/BottomNav.svelte.d.ts +2 -2
  25. package/dist/bottom-navigation/BottomNavHeader.svelte +4 -4
  26. package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +2 -2
  27. package/dist/bottom-navigation/BottomNavHeaderItem.svelte +4 -5
  28. package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +2 -2
  29. package/dist/bottom-navigation/BottomNavItem.svelte +6 -7
  30. package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +2 -2
  31. package/dist/bottom-navigation/index.d.ts +5 -6
  32. package/dist/bottom-navigation/index.js +5 -6
  33. package/dist/breadcrumb/Breadcrumb.svelte +5 -6
  34. package/dist/breadcrumb/Breadcrumb.svelte.d.ts +2 -2
  35. package/dist/breadcrumb/BreadcrumbItem.svelte +12 -13
  36. package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +2 -2
  37. package/dist/breadcrumb/index.d.ts +3 -4
  38. package/dist/breadcrumb/index.js +3 -4
  39. package/dist/button-group/ButtonGroup.svelte +3 -3
  40. package/dist/button-group/ButtonGroup.svelte.d.ts +2 -2
  41. package/dist/button-group/index.d.ts +2 -3
  42. package/dist/button-group/index.js +2 -3
  43. package/dist/buttons/Button.svelte +7 -11
  44. package/dist/buttons/Button.svelte.d.ts +3 -4
  45. package/dist/buttons/GradientButton.svelte +7 -9
  46. package/dist/buttons/GradientButton.svelte.d.ts +3 -2
  47. package/dist/buttons/index.d.ts +3 -4
  48. package/dist/buttons/index.js +3 -4
  49. package/dist/card/Card.svelte +11 -27
  50. package/dist/card/Card.svelte.d.ts +2 -3
  51. package/dist/card/index.d.ts +2 -3
  52. package/dist/card/index.js +2 -3
  53. package/dist/card/theme.d.ts +2 -0
  54. package/dist/carousel/Carousel.svelte +6 -11
  55. package/dist/carousel/Carousel.svelte.d.ts +2 -2
  56. package/dist/carousel/ControlButton.svelte +6 -6
  57. package/dist/carousel/ControlButton.svelte.d.ts +3 -2
  58. package/dist/carousel/Controls.svelte +5 -6
  59. package/dist/carousel/Controls.svelte.d.ts +2 -2
  60. package/dist/carousel/Indicators.svelte +5 -6
  61. package/dist/carousel/Indicators.svelte.d.ts +1 -1
  62. package/dist/carousel/Slide.svelte +3 -4
  63. package/dist/carousel/Slide.svelte.d.ts +2 -2
  64. package/dist/carousel/Thumbnail.svelte +3 -3
  65. package/dist/carousel/Thumbnail.svelte.d.ts +2 -2
  66. package/dist/carousel/Thumbnails.svelte +8 -9
  67. package/dist/carousel/Thumbnails.svelte.d.ts +3 -3
  68. package/dist/carousel/index.d.ts +8 -7
  69. package/dist/carousel/index.js +8 -7
  70. package/dist/chart/Chart.svelte +3 -3
  71. package/dist/chart/Chart.svelte.d.ts +2 -2
  72. package/dist/chart/index.d.ts +1 -2
  73. package/dist/chart/index.js +1 -2
  74. package/dist/clipboard/Clipboard.svelte +55 -0
  75. package/dist/clipboard/Clipboard.svelte.d.ts +17 -0
  76. package/dist/clipboard/index.d.ts +2 -0
  77. package/dist/clipboard/index.js +2 -0
  78. package/dist/clipboard/theme.d.ts +18 -0
  79. package/dist/clipboard/theme.js +13 -0
  80. package/dist/darkmode/DarkMode.svelte +4 -5
  81. package/dist/darkmode/DarkMode.svelte.d.ts +2 -2
  82. package/dist/darkmode/index.d.ts +2 -3
  83. package/dist/darkmode/index.js +2 -3
  84. package/dist/datepicker/Datepicker.svelte +8 -6
  85. package/dist/datepicker/Datepicker.svelte.d.ts +3 -1
  86. package/dist/datepicker/index.d.ts +2 -3
  87. package/dist/datepicker/index.js +2 -3
  88. package/dist/device-mockups/Android.svelte +9 -9
  89. package/dist/device-mockups/Android.svelte.d.ts +2 -2
  90. package/dist/device-mockups/DefaultMockup.svelte +8 -8
  91. package/dist/device-mockups/DefaultMockup.svelte.d.ts +2 -2
  92. package/dist/device-mockups/Desktop.svelte +6 -6
  93. package/dist/device-mockups/Desktop.svelte.d.ts +2 -2
  94. package/dist/device-mockups/DeviceMockup.svelte +1 -1
  95. package/dist/device-mockups/DeviceMockup.svelte.d.ts +1 -1
  96. package/dist/device-mockups/Ios.svelte +8 -8
  97. package/dist/device-mockups/Ios.svelte.d.ts +2 -2
  98. package/dist/device-mockups/Laptop.svelte +6 -6
  99. package/dist/device-mockups/Laptop.svelte.d.ts +2 -2
  100. package/dist/device-mockups/Smartwatch.svelte +8 -8
  101. package/dist/device-mockups/Smartwatch.svelte.d.ts +2 -2
  102. package/dist/device-mockups/Tablet.svelte +8 -8
  103. package/dist/device-mockups/Tablet.svelte.d.ts +2 -2
  104. package/dist/device-mockups/index.d.ts +9 -10
  105. package/dist/device-mockups/index.js +9 -10
  106. package/dist/device-mockups/theme.d.ts +30 -30
  107. package/dist/drawer/Drawer.svelte +4 -5
  108. package/dist/drawer/Drawer.svelte.d.ts +1 -1
  109. package/dist/drawer/Drawerhead.svelte +5 -6
  110. package/dist/drawer/Drawerhead.svelte.d.ts +2 -2
  111. package/dist/drawer/index.d.ts +3 -4
  112. package/dist/drawer/index.js +3 -4
  113. package/dist/dropdown/Dropdown.svelte +4 -8
  114. package/dist/dropdown/Dropdown.svelte.d.ts +2 -3
  115. package/dist/dropdown/DropdownDivider.svelte +6 -8
  116. package/dist/dropdown/DropdownDivider.svelte.d.ts +3 -3
  117. package/dist/dropdown/DropdownGroup.svelte +3 -6
  118. package/dist/dropdown/DropdownGroup.svelte.d.ts +2 -2
  119. package/dist/dropdown/DropdownHeader.svelte +3 -5
  120. package/dist/dropdown/DropdownHeader.svelte.d.ts +2 -2
  121. package/dist/dropdown/DropdownItem.svelte +13 -15
  122. package/dist/dropdown/DropdownItem.svelte.d.ts +2 -3
  123. package/dist/dropdown/index.d.ts +6 -7
  124. package/dist/dropdown/index.js +6 -7
  125. package/dist/footer/Footer.svelte +4 -4
  126. package/dist/footer/Footer.svelte.d.ts +2 -2
  127. package/dist/footer/FooterBrand.svelte +6 -6
  128. package/dist/footer/FooterBrand.svelte.d.ts +2 -2
  129. package/dist/footer/FooterCopyright.svelte +8 -7
  130. package/dist/footer/FooterCopyright.svelte.d.ts +3 -2
  131. package/dist/footer/FooterIcon.svelte +5 -7
  132. package/dist/footer/FooterIcon.svelte.d.ts +3 -3
  133. package/dist/footer/FooterLink.svelte +5 -5
  134. package/dist/footer/FooterLink.svelte.d.ts +2 -2
  135. package/dist/footer/FooterLinkGroup.svelte +5 -6
  136. package/dist/footer/FooterLinkGroup.svelte.d.ts +3 -3
  137. package/dist/footer/index.d.ts +7 -8
  138. package/dist/footer/index.js +7 -8
  139. package/dist/forms/button-toggle/ButtonToggle.svelte +9 -9
  140. package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +2 -1
  141. package/dist/forms/button-toggle/ButtonToggleGroup.svelte +4 -5
  142. package/dist/forms/button-toggle/CheckIcon.svelte +13 -2
  143. package/dist/forms/button-toggle/CheckIcon.svelte.d.ts +10 -3
  144. package/dist/forms/checkbox/Checkbox.svelte +5 -7
  145. package/dist/forms/checkbox/CheckboxButton.svelte +3 -4
  146. package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +2 -2
  147. package/dist/forms/checkbox/theme.d.ts +2 -0
  148. package/dist/forms/dropzone/Dropzone.svelte +3 -5
  149. package/dist/forms/dropzone/Dropzone.svelte.d.ts +2 -2
  150. package/dist/forms/fileupload/Fileupload.svelte +7 -7
  151. package/dist/forms/fileupload/Fileupload.svelte.d.ts +2 -1
  152. package/dist/forms/floating-label/FloatingLabelInput.svelte +9 -10
  153. package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +2 -2
  154. package/dist/forms/helper/Helper.svelte +3 -4
  155. package/dist/forms/helper/Helper.svelte.d.ts +2 -2
  156. package/dist/forms/input-addon/InputAddon.svelte +3 -5
  157. package/dist/forms/input-addon/InputAddon.svelte.d.ts +2 -2
  158. package/dist/forms/input-addon/index.d.ts +1 -2
  159. package/dist/forms/input-addon/index.js +1 -2
  160. package/dist/forms/input-field/Input.svelte +11 -13
  161. package/dist/forms/input-field/index.d.ts +3 -4
  162. package/dist/forms/input-field/index.js +3 -4
  163. package/dist/forms/label/Label.svelte +3 -4
  164. package/dist/forms/label/Label.svelte.d.ts +2 -2
  165. package/dist/forms/label/index.d.ts +2 -3
  166. package/dist/forms/label/index.js +2 -3
  167. package/dist/forms/radio/Radio.svelte +4 -6
  168. package/dist/forms/radio/Radio.svelte.d.ts +1 -1
  169. package/dist/forms/radio/RadioButton.svelte +2 -3
  170. package/dist/forms/range/Range.svelte +5 -6
  171. package/dist/forms/range/Range.svelte.d.ts +3 -3
  172. package/dist/forms/range/index.d.ts +2 -3
  173. package/dist/forms/range/index.js +2 -3
  174. package/dist/forms/search/Search.svelte +6 -7
  175. package/dist/forms/search/Search.svelte.d.ts +2 -2
  176. package/dist/forms/search/index.d.ts +2 -3
  177. package/dist/forms/search/index.js +2 -3
  178. package/dist/forms/select/MultiSelect.svelte +4 -6
  179. package/dist/forms/select/Select.svelte +4 -5
  180. package/dist/forms/tags/Tags.svelte +7 -7
  181. package/dist/forms/tags/Tags.svelte.d.ts +1 -1
  182. package/dist/forms/textarea/Textarea.svelte +12 -12
  183. package/dist/forms/textarea/Textarea.svelte.d.ts +2 -1
  184. package/dist/forms/textarea/index.d.ts +2 -3
  185. package/dist/forms/textarea/index.js +2 -3
  186. package/dist/forms/timepicker/Timepicker.svelte +51 -26
  187. package/dist/forms/timepicker/Timepicker.svelte.d.ts +5 -5
  188. package/dist/forms/timepicker/index.d.ts +1 -2
  189. package/dist/forms/timepicker/index.js +1 -3
  190. package/dist/forms/toggle/Toggle.svelte +5 -7
  191. package/dist/forms/toggle/Toggle.svelte.d.ts +2 -2
  192. package/dist/forms/toggle/index.d.ts +2 -3
  193. package/dist/forms/toggle/index.js +2 -3
  194. package/dist/gallery/Gallery.svelte +4 -5
  195. package/dist/gallery/Gallery.svelte.d.ts +2 -2
  196. package/dist/gallery/index.d.ts +2 -3
  197. package/dist/gallery/index.js +2 -3
  198. package/dist/gallery/theme.d.ts +3 -3
  199. package/dist/index.d.ts +1 -0
  200. package/dist/index.js +1 -0
  201. package/dist/indicator/Indicator.svelte +3 -4
  202. package/dist/indicator/Indicator.svelte.d.ts +2 -2
  203. package/dist/indicator/index.d.ts +2 -3
  204. package/dist/indicator/index.js +2 -3
  205. package/dist/kbd/Kbd.svelte +3 -4
  206. package/dist/kbd/Kbd.svelte.d.ts +2 -2
  207. package/dist/kbd/index.d.ts +2 -3
  208. package/dist/kbd/index.js +2 -3
  209. package/dist/list-group/Listgroup.svelte +6 -8
  210. package/dist/list-group/Listgroup.svelte.d.ts +2 -2
  211. package/dist/list-group/ListgroupItem.svelte +9 -11
  212. package/dist/list-group/ListgroupItem.svelte.d.ts +3 -4
  213. package/dist/list-group/index.d.ts +3 -4
  214. package/dist/list-group/index.js +3 -4
  215. package/dist/list-group/theme.d.ts +4 -4
  216. package/dist/list-group/theme.js +2 -2
  217. package/dist/mega-menu/MegaMenu.svelte +7 -11
  218. package/dist/mega-menu/MegaMenu.svelte.d.ts +3 -2
  219. package/dist/mega-menu/index.d.ts +2 -3
  220. package/dist/mega-menu/index.js +2 -3
  221. package/dist/modal/Modal.svelte +7 -6
  222. package/dist/modal/Modal.svelte.d.ts +1 -1
  223. package/dist/navbar/Menu.svelte +3 -2
  224. package/dist/navbar/Menu.svelte.d.ts +1 -1
  225. package/dist/navbar/NavBrand.svelte +3 -2
  226. package/dist/navbar/NavBrand.svelte.d.ts +1 -1
  227. package/dist/navbar/NavContainer.svelte +3 -2
  228. package/dist/navbar/NavContainer.svelte.d.ts +1 -1
  229. package/dist/navbar/NavHamburger.svelte +4 -3
  230. package/dist/navbar/NavHamburger.svelte.d.ts +10 -3
  231. package/dist/navbar/NavLi.svelte +5 -5
  232. package/dist/navbar/NavLi.svelte.d.ts +1 -2
  233. package/dist/navbar/NavUl.svelte +10 -10
  234. package/dist/navbar/NavUl.svelte.d.ts +1 -1
  235. package/dist/navbar/Navbar.svelte +4 -3
  236. package/dist/navbar/Navbar.svelte.d.ts +1 -1
  237. package/dist/pagination/Pagination.svelte +1 -1
  238. package/dist/pagination/Pagination.svelte.d.ts +1 -1
  239. package/dist/pagination/PaginationButton.svelte +6 -6
  240. package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
  241. package/dist/pagination/PaginationItem.svelte +5 -4
  242. package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
  243. package/dist/pagination/PaginationNav.svelte +9 -7
  244. package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
  245. package/dist/popover/Popover.svelte +4 -3
  246. package/dist/popover/Popover.svelte.d.ts +1 -1
  247. package/dist/progress/Progressbar.svelte +12 -15
  248. package/dist/progress/Progressbar.svelte.d.ts +3 -6
  249. package/dist/progress/Progressradial.svelte +14 -17
  250. package/dist/progress/Progressradial.svelte.d.ts +3 -6
  251. package/dist/progress/theme.d.ts +14 -0
  252. package/dist/rating/AdvancedRating.svelte +8 -6
  253. package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
  254. package/dist/rating/CustomIcon.svelte +3 -2
  255. package/dist/rating/CustomIcon.svelte.d.ts +1 -1
  256. package/dist/rating/Heart.svelte +3 -2
  257. package/dist/rating/Heart.svelte.d.ts +1 -1
  258. package/dist/rating/Rating.svelte +6 -6
  259. package/dist/rating/Rating.svelte.d.ts +2 -2
  260. package/dist/rating/RatingComment.svelte +1 -1
  261. package/dist/rating/RatingComment.svelte.d.ts +1 -1
  262. package/dist/rating/Review.svelte +11 -10
  263. package/dist/rating/Review.svelte.d.ts +1 -1
  264. package/dist/rating/ScoreRating.svelte +1 -1
  265. package/dist/rating/ScoreRating.svelte.d.ts +1 -1
  266. package/dist/rating/Star.svelte +3 -2
  267. package/dist/rating/Star.svelte.d.ts +1 -1
  268. package/dist/rating/Thumbup.svelte +3 -2
  269. package/dist/rating/Thumbup.svelte.d.ts +1 -1
  270. package/dist/rating/theme.d.ts +3 -3
  271. package/dist/sidebar/Sidebar.svelte +9 -8
  272. package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
  273. package/dist/sidebar/SidebarBrand.svelte +5 -4
  274. package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
  275. package/dist/sidebar/SidebarButton.svelte +3 -2
  276. package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
  277. package/dist/sidebar/SidebarCta.svelte +5 -4
  278. package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
  279. package/dist/sidebar/SidebarDropdownWrapper.svelte +9 -8
  280. package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
  281. package/dist/sidebar/SidebarGroup.svelte +3 -2
  282. package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
  283. package/dist/sidebar/SidebarItem.svelte +5 -10
  284. package/dist/sidebar/SidebarItem.svelte.d.ts +2 -2
  285. package/dist/sidebar/theme.d.ts +9 -9
  286. package/dist/skeleton/CardPlaceholder.svelte +3 -2
  287. package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
  288. package/dist/skeleton/ImagePlaceholder.svelte +3 -2
  289. package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
  290. package/dist/skeleton/ListPlaceholder.svelte +3 -2
  291. package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
  292. package/dist/skeleton/Skeleton.svelte +3 -2
  293. package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
  294. package/dist/skeleton/TestimonialPlaceholder.svelte +8 -4
  295. package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +6 -3
  296. package/dist/skeleton/TextPlaceholder.svelte +3 -2
  297. package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
  298. package/dist/skeleton/VideoPlaceholder.svelte +4 -3
  299. package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
  300. package/dist/skeleton/WidgetPlaceholder.svelte +7 -4
  301. package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +5 -3
  302. package/dist/speed-dial/SpeedDial.svelte +5 -4
  303. package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
  304. package/dist/speed-dial/SpeedDialButton.svelte +4 -3
  305. package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
  306. package/dist/speed-dial/SpeedDialTrigger.svelte +3 -2
  307. package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
  308. package/dist/spinner/Spinner.svelte +4 -3
  309. package/dist/spinner/Spinner.svelte.d.ts +1 -1
  310. package/dist/stepindicator/StepIndicator.svelte +5 -3
  311. package/dist/stepindicator/StepIndicator.svelte.d.ts +1 -1
  312. package/dist/table/Table.svelte +4 -3
  313. package/dist/table/Table.svelte.d.ts +1 -1
  314. package/dist/table/TableBody.svelte +3 -2
  315. package/dist/table/TableBody.svelte.d.ts +1 -1
  316. package/dist/table/TableBodyCell.svelte +3 -4
  317. package/dist/table/TableBodyCell.svelte.d.ts +1 -1
  318. package/dist/table/TableBodyRow.svelte +4 -3
  319. package/dist/table/TableBodyRow.svelte.d.ts +1 -1
  320. package/dist/table/TableHead.svelte +4 -3
  321. package/dist/table/TableHead.svelte.d.ts +1 -1
  322. package/dist/table/TableHeadCell.svelte +3 -3
  323. package/dist/table/TableHeadCell.svelte.d.ts +1 -1
  324. package/dist/table/TableSearch.svelte +9 -9
  325. package/dist/table/TableSearch.svelte.d.ts +1 -1
  326. package/dist/tabs/TabItem.svelte +4 -16
  327. package/dist/tabs/TabItem.svelte.d.ts +2 -2
  328. package/dist/tabs/Tabs.svelte +5 -3
  329. package/dist/tabs/Tabs.svelte.d.ts +1 -1
  330. package/dist/theme/Theme.svelte +1 -1
  331. package/dist/theme/Theme.svelte.d.ts +1 -1
  332. package/dist/theme/index.d.ts +77 -61
  333. package/dist/theme/index.js +2 -1
  334. package/dist/timeline/Activity.svelte +1 -1
  335. package/dist/timeline/Activity.svelte.d.ts +1 -1
  336. package/dist/timeline/ActivityItem.svelte +1 -1
  337. package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
  338. package/dist/timeline/Group.svelte +1 -1
  339. package/dist/timeline/Group.svelte.d.ts +1 -1
  340. package/dist/timeline/GroupItem.svelte +1 -1
  341. package/dist/timeline/GroupItem.svelte.d.ts +1 -1
  342. package/dist/timeline/Timeline.svelte +1 -1
  343. package/dist/timeline/Timeline.svelte.d.ts +1 -1
  344. package/dist/timeline/TimelineItem.svelte +1 -1
  345. package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
  346. package/dist/timeline/theme.d.ts +12 -12
  347. package/dist/toast/Toast.svelte +1 -1
  348. package/dist/toast/Toast.svelte.d.ts +1 -1
  349. package/dist/toolbar/Toolbar.svelte +1 -1
  350. package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
  351. package/dist/toolbar/ToolbarButton.svelte +3 -6
  352. package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -2
  353. package/dist/toolbar/ToolbarGroup.svelte +1 -1
  354. package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
  355. package/dist/tooltip/Tooltip.svelte +1 -1
  356. package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
  357. package/dist/types.d.ts +278 -312
  358. package/dist/typography/anchor/A.svelte +1 -1
  359. package/dist/typography/anchor/A.svelte.d.ts +1 -1
  360. package/dist/typography/blockquote/Blockquote.svelte +1 -1
  361. package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
  362. package/dist/typography/descriptionlist/DescriptionList.svelte +1 -1
  363. package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
  364. package/dist/typography/heading/Heading.svelte +1 -1
  365. package/dist/typography/heading/Heading.svelte.d.ts +1 -1
  366. package/dist/typography/hr/Hr.svelte +1 -1
  367. package/dist/typography/hr/Hr.svelte.d.ts +1 -1
  368. package/dist/typography/img/EnhancedImg.svelte +1 -1
  369. package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
  370. package/dist/typography/img/Img.svelte +1 -1
  371. package/dist/typography/img/Img.svelte.d.ts +1 -1
  372. package/dist/typography/layout/Layout.svelte +1 -1
  373. package/dist/typography/layout/Layout.svelte.d.ts +1 -1
  374. package/dist/typography/list/Li.svelte +1 -1
  375. package/dist/typography/list/Li.svelte.d.ts +1 -1
  376. package/dist/typography/list/List.svelte +1 -1
  377. package/dist/typography/list/List.svelte.d.ts +1 -1
  378. package/dist/typography/mark/Mark.svelte +1 -1
  379. package/dist/typography/mark/Mark.svelte.d.ts +1 -1
  380. package/dist/typography/paragraph/P.svelte +1 -1
  381. package/dist/typography/paragraph/P.svelte.d.ts +1 -1
  382. package/dist/typography/secondary/Secondary.svelte +1 -1
  383. package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
  384. package/dist/typography/span/Span.svelte +1 -1
  385. package/dist/typography/span/Span.svelte.d.ts +1 -1
  386. package/dist/utils/Arrow.svelte +1 -1
  387. package/dist/utils/Arrow.svelte.d.ts +1 -1
  388. package/dist/utils/CloseButton.svelte +1 -1
  389. package/dist/utils/CloseButton.svelte.d.ts +1 -1
  390. package/dist/utils/Popper.svelte +11 -9
  391. package/dist/utils/Popper.svelte.d.ts +1 -1
  392. package/dist/utils/index.d.ts +1 -0
  393. package/dist/utils/index.js +1 -0
  394. package/dist/video/Video.svelte +1 -1
  395. package/dist/video/Video.svelte.d.ts +1 -1
  396. package/package.json +7 -4
  397. package/dist/kbd/type.d.ts +0 -0
  398. package/dist/kbd/type.js +0 -7
@@ -2,7 +2,7 @@ import type { SidebarButtonProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [SidebarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1352)
5
+ * [SidebarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1326)
6
6
  * ## Props
7
7
  * @prop breakpoint = "md"
8
8
  * @prop class: className
@@ -1,4 +1,5 @@
1
1
  <script lang="ts">
2
+ import { twMerge } from "tailwind-merge";
2
3
  import clsx from "clsx";
3
4
  import { sidebarcta } from ".";
4
5
  import type { SidebarCtaProps } from "../types";
@@ -7,9 +8,9 @@
7
8
  const { base, div, span } = $derived(sidebarcta());
8
9
  </script>
9
10
 
10
- <div {...restProps} id="dropdown-cta" class={base({ class: clsx(className) })} role="alert">
11
- <div class={div({ class: divClass })}>
12
- <span class={span({ class: spanClass })}>{label}</span>
11
+ <div {...restProps} id="dropdown-cta" class={twMerge(base(), clsx(className))} role="alert">
12
+ <div class={twMerge(div(), clsx(divClass))}>
13
+ <span class={twMerge(span(), clsx(spanClass))}>{label}</span>
13
14
  {#if icon}
14
15
  {@render icon()}
15
16
  {/if}
@@ -21,7 +22,7 @@
21
22
  @component
22
23
  [Go to docs](https://flowbite-svelte.com/)
23
24
  ## Type
24
- [SidebarCtaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1356)
25
+ [SidebarCtaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1330)
25
26
  ## Props
26
27
  @prop children
27
28
  @prop icon
@@ -2,7 +2,7 @@ import type { SidebarCtaProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [SidebarCtaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1356)
5
+ * [SidebarCtaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1330)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop icon
@@ -5,6 +5,7 @@
5
5
  import { uiHelpers } from "..";
6
6
  import { sidebardropdownwrapper } from ".";
7
7
  import type { SidebarDropdownWrapperProps, ParamsType } from "../types";
8
+ import { twMerge } from "tailwind-merge";
8
9
  import clsx from "clsx";
9
10
 
10
11
  type SidebarContext = {
@@ -14,7 +15,7 @@
14
15
 
15
16
  let { children, arrowup, arrowdown, icon, isOpen = false, btnClass, label, spanClass, ulClass, transition = slide, params, svgClass, class: className, onclick, ...restProps }: SidebarDropdownWrapperProps = $props();
16
17
 
17
- const { base, btn, span, svg, ul } = $derived(sidebardropdownwrapper());
18
+ const { base, btn, span, svg, ul } = sidebardropdownwrapper();
18
19
 
19
20
  let sidebarDropdown = uiHelpers();
20
21
  sidebarDropdown.isOpen = isOpen;
@@ -48,30 +49,30 @@
48
49
  }
49
50
  </script>
50
51
 
51
- <li class={base({ class: clsx(className) })}>
52
- <button {...restProps} onclick={handleDropdown} type="button" class={btn({ class: btnClass })} aria-controls="sidebar-dropdown">
52
+ <li class={twMerge(base(), clsx(className))}>
53
+ <button {...restProps} onclick={handleDropdown} type="button" class={twMerge(btn(), clsx(btnClass))} aria-controls="sidebar-dropdown">
53
54
  {#if icon}
54
55
  {@render icon()}
55
56
  {/if}
56
- <span class={span({ class: spanClass })}>{label}</span>
57
+ <span class={twMerge(span(), clsx(spanClass))}>{label}</span>
57
58
  {#if isOpen}
58
59
  {#if arrowup}
59
60
  {@render arrowup()}
60
61
  {:else}
61
- <svg class={svg({ class: svgClass })} aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
62
+ <svg class={twMerge(svg(), clsx(svgClass))} aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
62
63
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5 5 1 1 5" />
63
64
  </svg>
64
65
  {/if}
65
66
  {:else if arrowdown}
66
67
  {@render arrowdown()}
67
68
  {:else}
68
- <svg class={svg({ class: svgClass })} aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
69
+ <svg class={twMerge(svg(), clsx(svgClass))} aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
69
70
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 4 4 4-4" />
70
71
  </svg>
71
72
  {/if}
72
73
  </button>
73
74
  {#if isOpen}
74
- <ul class={ul({ class: ulClass })} transition:transition={params as ParamsType}>
75
+ <ul class={twMerge(ul(), clsx(ulClass))} transition:transition={params as ParamsType}>
75
76
  {@render children()}
76
77
  </ul>
77
78
  {/if}
@@ -81,7 +82,7 @@
81
82
  @component
82
83
  [Go to docs](https://flowbite-svelte.com/)
83
84
  ## Type
84
- [SidebarDropdownWrapperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1375)
85
+ [SidebarDropdownWrapperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1349)
85
86
  ## Props
86
87
  @prop children
87
88
  @prop arrowup
@@ -2,7 +2,7 @@ import type { SidebarDropdownWrapperProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [SidebarDropdownWrapperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1375)
5
+ * [SidebarDropdownWrapperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1349)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop arrowup
@@ -1,10 +1,11 @@
1
1
  <script lang="ts">
2
+ import clsx from "clsx";
2
3
  import type { SidebarGroupProps } from "../types";
3
4
 
4
5
  let { children, class: className = "space-y-2", borderClass = "pt-4 mt-4 border-t border-gray-200 dark:border-gray-700", border = false, ...restProps }: SidebarGroupProps = $props();
5
6
  </script>
6
7
 
7
- <ul {...restProps} class={border ? borderClass : className}>
8
+ <ul {...restProps} class={border ? clsx(borderClass) : clsx(className)}>
8
9
  {@render children()}
9
10
  </ul>
10
11
 
@@ -12,7 +13,7 @@
12
13
  @component
13
14
  [Go to docs](https://flowbite-svelte.com/)
14
15
  ## Type
15
- [SidebarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1392)
16
+ [SidebarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1366)
16
17
  ## Props
17
18
  @prop children
18
19
  @prop class: className = "space-y-2"
@@ -2,7 +2,7 @@ import type { SidebarGroupProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [SidebarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1392)
5
+ * [SidebarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1366)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop class: className = "space-y-2"
@@ -1,7 +1,6 @@
1
1
  <script lang="ts">
2
2
  import { getContext } from "svelte";
3
- import { twMerge } from "tailwind-merge";
4
- import type { SidebarCtxType, SidebarItemProps } from "../types";
3
+ import { type SidebarCtxType, type SidebarItemProps, cn } from "..";
5
4
 
6
5
  let { icon, subtext, href, label, spanClass = "ms-3", activeClass, nonActiveClass, aClass, active, class: className, ...restProps }: SidebarItemProps = $props();
7
6
 
@@ -15,24 +14,20 @@
15
14
  });
16
15
  let activeItem = $state();
17
16
 
18
- // $effect(() => {
19
- // activeItem = sidebarUrl ? href === sidebarUrl : false;
20
- // });
21
17
  $effect(() => {
22
18
  // Prioritize the explicit 'active' prop if provided
23
19
  activeItem = active !== undefined ? active : sidebarUrl ? href === sidebarUrl : false;
24
20
  });
25
21
 
26
- // let aCls = $derived((activeItem ?? sidebarUrl === href) ? (activeClass ?? context.activeClass) : (nonActiveClass ?? context.nonActiveClass));
27
22
  let aCls = $derived((activeItem ?? sidebarUrl === href) ? (activeClass ?? context.activeClass) : (nonActiveClass ?? context.nonActiveClass));
28
23
  </script>
29
24
 
30
- <li class={className}>
31
- <a onclick={context.closeSidebar} {...restProps} {href} aria-current={(activeItem ?? sidebarUrl === href) ? "page" : undefined} class={twMerge(aCls, aClass)}>
25
+ <li class={cn(className)}>
26
+ <a onclick={context.closeSidebar} {...restProps} {href} aria-current={(activeItem ?? sidebarUrl === href) ? "page" : undefined} class={cn(aCls, aClass)}>
32
27
  {#if icon}
33
28
  {@render icon()}
34
29
  {/if}
35
- <span class={spanClass}>{label}</span>
30
+ <span class={cn(spanClass)}>{label}</span>
36
31
  {#if subtext}
37
32
  {@render subtext()}
38
33
  {/if}
@@ -43,7 +38,7 @@
43
38
  @component
44
39
  [Go to docs](https://flowbite-svelte.com/)
45
40
  ## Type
46
- [SidebarItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1398)
41
+ [SidebarItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1372)
47
42
  ## Props
48
43
  @prop icon
49
44
  @prop subtext
@@ -1,8 +1,8 @@
1
- import type { SidebarItemProps } from "../types";
1
+ import { type SidebarItemProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [SidebarItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1398)
5
+ * [SidebarItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1372)
6
6
  * ## Props
7
7
  * @prop icon
8
8
  * @prop subtext
@@ -177,16 +177,16 @@ export declare const sidebarcta: import("tailwind-variants").TVReturnType<{
177
177
  [key: string]: {
178
178
  [key: string]: import("tailwind-variants").ClassValue | {
179
179
  base?: import("tailwind-variants").ClassValue;
180
- div?: import("tailwind-variants").ClassValue;
181
180
  span?: import("tailwind-variants").ClassValue;
181
+ div?: import("tailwind-variants").ClassValue;
182
182
  };
183
183
  };
184
184
  } | {
185
185
  [x: string]: {
186
186
  [x: string]: import("tailwind-variants").ClassValue | {
187
187
  base?: import("tailwind-variants").ClassValue;
188
- div?: import("tailwind-variants").ClassValue;
189
188
  span?: import("tailwind-variants").ClassValue;
189
+ div?: import("tailwind-variants").ClassValue;
190
190
  };
191
191
  };
192
192
  } | {}, {
@@ -197,8 +197,8 @@ export declare const sidebarcta: import("tailwind-variants").TVReturnType<{
197
197
  [key: string]: {
198
198
  [key: string]: import("tailwind-variants").ClassValue | {
199
199
  base?: import("tailwind-variants").ClassValue;
200
- div?: import("tailwind-variants").ClassValue;
201
200
  span?: import("tailwind-variants").ClassValue;
201
+ div?: import("tailwind-variants").ClassValue;
202
202
  };
203
203
  };
204
204
  } | {}, {
@@ -251,20 +251,20 @@ export declare const sidebardropdownwrapper: import("tailwind-variants").TVRetur
251
251
  [key: string]: {
252
252
  [key: string]: import("tailwind-variants").ClassValue | {
253
253
  base?: import("tailwind-variants").ClassValue;
254
- svg?: import("tailwind-variants").ClassValue;
255
254
  span?: import("tailwind-variants").ClassValue;
256
- btn?: import("tailwind-variants").ClassValue;
255
+ svg?: import("tailwind-variants").ClassValue;
257
256
  ul?: import("tailwind-variants").ClassValue;
257
+ btn?: import("tailwind-variants").ClassValue;
258
258
  };
259
259
  };
260
260
  } | {
261
261
  [x: string]: {
262
262
  [x: string]: import("tailwind-variants").ClassValue | {
263
263
  base?: import("tailwind-variants").ClassValue;
264
- svg?: import("tailwind-variants").ClassValue;
265
264
  span?: import("tailwind-variants").ClassValue;
266
- btn?: import("tailwind-variants").ClassValue;
265
+ svg?: import("tailwind-variants").ClassValue;
267
266
  ul?: import("tailwind-variants").ClassValue;
267
+ btn?: import("tailwind-variants").ClassValue;
268
268
  };
269
269
  };
270
270
  } | {}, {
@@ -277,10 +277,10 @@ export declare const sidebardropdownwrapper: import("tailwind-variants").TVRetur
277
277
  [key: string]: {
278
278
  [key: string]: import("tailwind-variants").ClassValue | {
279
279
  base?: import("tailwind-variants").ClassValue;
280
- svg?: import("tailwind-variants").ClassValue;
281
280
  span?: import("tailwind-variants").ClassValue;
282
- btn?: import("tailwind-variants").ClassValue;
281
+ svg?: import("tailwind-variants").ClassValue;
283
282
  ul?: import("tailwind-variants").ClassValue;
283
+ btn?: import("tailwind-variants").ClassValue;
284
284
  };
285
285
  };
286
286
  } | {}, {
@@ -1,4 +1,5 @@
1
1
  <script lang="ts">
2
+ import { twMerge } from "tailwind-merge";
2
3
  import clsx from "clsx";
3
4
  import { cardPlaceholder } from ".";
4
5
  import type { CardPlaceholderProps } from "../types";
@@ -8,7 +9,7 @@
8
9
  const { base, imageArea, imageIcon, line, footerArea } = $derived(cardPlaceholder({ size }));
9
10
  </script>
10
11
 
11
- <div role="status" {...restProps} class={base({ class: clsx(className) })}>
12
+ <div role="status" {...restProps} class={twMerge(base(), clsx(className))}>
12
13
  <div class={imageArea()}>
13
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">
14
15
  <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>
@@ -32,7 +33,7 @@
32
33
  @component
33
34
  [Go to docs](https://flowbite-svelte.com/)
34
35
  ## Type
35
- [CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1410)
36
+ [CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1384)
36
37
  ## Props
37
38
  @prop size = "sm"
38
39
  @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#L1410)
5
+ * [CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1384)
6
6
  * ## Props
7
7
  * @prop size = "sm"
8
8
  * @prop class: className
@@ -1,4 +1,5 @@
1
1
  <script lang="ts">
2
+ import { twMerge } from "tailwind-merge";
2
3
  import clsx from "clsx";
3
4
  import { imagePlaceholder } from ".";
4
5
  import type { ImagePlaceholderProps } from "../types";
@@ -13,7 +14,7 @@
13
14
  );
14
15
  </script>
15
16
 
16
- <div role="status" {...restProps} class={base({ class: clsx(className) })}>
17
+ <div role="status" {...restProps} class={twMerge(base(), clsx(className))}>
17
18
  <div class={image()}>
18
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">
19
20
  <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>
@@ -37,7 +38,7 @@
37
38
  @component
38
39
  [Go to docs](https://flowbite-svelte.com/)
39
40
  ## Type
40
- [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1414)
41
+ [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1388)
41
42
  ## Props
42
43
  @prop size = "md"
43
44
  @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#L1414)
5
+ * [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1388)
6
6
  * ## Props
7
7
  * @prop size = "md"
8
8
  * @prop rounded
@@ -1,4 +1,5 @@
1
1
  <script lang="ts">
2
+ import { twMerge } from "tailwind-merge";
2
3
  import clsx from "clsx";
3
4
  import { listPlaceholder } from ".";
4
5
  import type { ListPlaceholderProps } from "../types";
@@ -10,7 +11,7 @@
10
11
  let items = $derived([...Array(itemNumber).keys()]);
11
12
  </script>
12
13
 
13
- <div role="status" {...restProps} class={base({ class: clsx(className) })}>
14
+ <div role="status" {...restProps} class={twMerge(base(), clsx(className))}>
14
15
  <!-- eslint-disable-next-line @typescript-eslint/no-unused-vars -->
15
16
  {#each items as _, i}
16
17
  <div class={item({ class: i > 0 ? "pt-4" : "" })}>
@@ -28,7 +29,7 @@
28
29
  @component
29
30
  [Go to docs](https://flowbite-svelte.com/)
30
31
  ## Type
31
- [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1420)
32
+ [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1394)
32
33
  ## Props
33
34
  @prop itemNumber = 5
34
35
  @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#L1420)
5
+ * [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1394)
6
6
  * ## Props
7
7
  * @prop itemNumber = 5
8
8
  * @prop size = "md"
@@ -1,4 +1,5 @@
1
1
  <script lang="ts">
2
+ import { twMerge } from "tailwind-merge";
2
3
  import clsx from "clsx";
3
4
  import { skeleton } from ".";
4
5
  import type { SkeletonProps } from "../types";
@@ -7,7 +8,7 @@
7
8
  const { wrapper, line } = $derived(skeleton({ size }));
8
9
  </script>
9
10
 
10
- <div role="status" {...restProps} class={wrapper({ class: clsx(className) })}>
11
+ <div role="status" {...restProps} class={twMerge(wrapper(), clsx(className))}>
11
12
  <div class={line({ class: "mb-4 h-2.5 w-1/2" })}></div>
12
13
  <div class={line({ class: "mb-2.5 h-2 w-9/12" })}></div>
13
14
  <div class={line({ class: "mb-2.5 h-2" })}></div>
@@ -22,7 +23,7 @@
22
23
  @component
23
24
  [Go to docs](https://flowbite-svelte.com/)
24
25
  ## Type
25
- [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1426)
26
+ [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1400)
26
27
  ## Props
27
28
  @prop size = "sm"
28
29
  @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#L1426)
5
+ * [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1400)
6
6
  * ## Props
7
7
  * @prop size = "sm"
8
8
  * @prop class: className
@@ -1,13 +1,14 @@
1
1
  <script lang="ts">
2
- import type { HTMLAttributes } from "svelte/elements";
2
+ import { twMerge } from "tailwind-merge";
3
3
  import { testimonialPlaceholder } from ".";
4
4
  import clsx from "clsx";
5
+ import { type TestimonialPlaceholderProps } from "..";
5
6
 
6
- let { class: className, ...restProps }: HTMLAttributes<HTMLDivElement> = $props();
7
+ let { class: className, ...restProps }: TestimonialPlaceholderProps = $props();
7
8
  const { wrapper, line1, line2, svg, subContent } = testimonialPlaceholder();
8
9
  </script>
9
10
 
10
- <div role="status" {...restProps} class={wrapper({ class: clsx(className) })}>
11
+ <div role="status" {...restProps} class={twMerge(wrapper(), clsx(className))}>
11
12
  <div class={line2({ class: "mx-auto mb-2.5 h-2.5 max-w-[640px]" })}></div>
12
13
  <div class={line2({ class: "mx-auto h-2.5 max-w-[540px]" })}></div>
13
14
  <div class={subContent()}>
@@ -23,6 +24,9 @@
23
24
  <!--
24
25
  @component
25
26
  [Go to docs](https://flowbite-svelte.com/)
27
+ ## Type
28
+ [TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1405)
26
29
  ## Props
27
- @props:
30
+ @prop class: className
31
+ @prop ...restProps
28
32
  -->
@@ -1,9 +1,12 @@
1
- import type { HTMLAttributes } from "svelte/elements";
1
+ import { type TestimonialPlaceholderProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
+ * ## Type
5
+ * [TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1405)
4
6
  * ## Props
5
- * @props:
7
+ * @prop class: className
8
+ * @prop ...restProps
6
9
  */
7
- declare const TestimonialPlaceholder: import("svelte").Component<HTMLAttributes<HTMLDivElement>, {}, "">;
10
+ declare const TestimonialPlaceholder: import("svelte").Component<TestimonialPlaceholderProps, {}, "">;
8
11
  type TestimonialPlaceholder = ReturnType<typeof TestimonialPlaceholder>;
9
12
  export default TestimonialPlaceholder;
@@ -1,4 +1,5 @@
1
1
  <script lang="ts">
2
+ import { twMerge } from "tailwind-merge";
2
3
  import clsx from "clsx";
3
4
  import { textPlaceholder } from ".";
4
5
  import type { TextPlaceholderProps } from "../types";
@@ -11,7 +12,7 @@
11
12
  );
12
13
  </script>
13
14
 
14
- <div role="status" {...restProps} class={baseWrapper({ class: clsx(className) })}>
15
+ <div role="status" {...restProps} class={twMerge(baseWrapper(), clsx(className))}>
15
16
  <div class={divWrapper({ class: "w-full" })}>
16
17
  <div class={lineA({ class: "h-2.5 w-32" })}></div>
17
18
  <div class={lineB({ class: "h-2.5 w-24" })}></div>
@@ -49,7 +50,7 @@
49
50
  @component
50
51
  [Go to docs](https://flowbite-svelte.com/)
51
52
  ## Type
52
- [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1430)
53
+ [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1408)
53
54
  ## Props
54
55
  @prop size = "sm"
55
56
  @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#L1430)
5
+ * [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1408)
6
6
  * ## Props
7
7
  * @prop size = "sm"
8
8
  * @prop class: className
@@ -1,13 +1,14 @@
1
1
  <script lang="ts">
2
+ import { twMerge } from "tailwind-merge";
2
3
  import clsx from "clsx";
3
4
  import { videoPlaceholder } from ".";
4
5
  import type { VideoPlaceholderProps } from "../types";
5
6
 
6
7
  let { size = "sm", class: className }: VideoPlaceholderProps = $props();
7
- const base = $derived(videoPlaceholder({ size, class: clsx(className) }));
8
+ const base = $derived(videoPlaceholder({ size }));
8
9
  </script>
9
10
 
10
- <div role="status" class={base}>
11
+ <div role="status" class={twMerge(base, clsx(className))}>
11
12
  <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">
12
13
  <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>
13
14
  </svg>
@@ -18,7 +19,7 @@
18
19
  @component
19
20
  [Go to docs](https://flowbite-svelte.com/)
20
21
  ## Type
21
- [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1434)
22
+ [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1412)
22
23
  ## Props
23
24
  @prop size = "sm"
24
25
  @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#L1434)
5
+ * [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1412)
6
6
  * ## Props
7
7
  * @prop size = "sm"
8
8
  * @prop class: className
@@ -1,13 +1,14 @@
1
1
  <script lang="ts">
2
- import type { HTMLAttributes } from "svelte/elements";
3
2
  import { widgetPlaceholder } from "./index";
3
+ import { twMerge } from "tailwind-merge";
4
4
  import clsx from "clsx";
5
+ import { type WidgetPlaceholderProps } from "..";
5
6
 
6
- let { class: className }: HTMLAttributes<HTMLDivElement> = $props();
7
+ let { class: className }: WidgetPlaceholderProps = $props();
7
8
  const { base, wrapper, vLine, hLine } = widgetPlaceholder({});
8
9
  </script>
9
10
 
10
- <div role="status" class={base({ class: clsx(className) })}>
11
+ <div role="status" class={twMerge(base(), clsx(className))}>
11
12
  <div class={hLine({ class: "mb-2.5 h-2.5 w-32" })}></div>
12
13
  <div class={hLine({ class: "mb-10 h-2 w-48" })}></div>
13
14
  <div class={wrapper()}>
@@ -25,6 +26,8 @@
25
26
  <!--
26
27
  @component
27
28
  [Go to docs](https://flowbite-svelte.com/)
29
+ ## Type
30
+ [WidgetPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1416)
28
31
  ## Props
29
- @props:
32
+ @prop class: className
30
33
  -->
@@ -1,9 +1,11 @@
1
- import type { HTMLAttributes } from "svelte/elements";
1
+ import { type WidgetPlaceholderProps } from "..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
+ * ## Type
5
+ * [WidgetPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1416)
4
6
  * ## Props
5
- * @props:
7
+ * @prop class: className
6
8
  */
7
- declare const WidgetPlaceholder: import("svelte").Component<HTMLAttributes<HTMLDivElement>, {}, "">;
9
+ declare const WidgetPlaceholder: import("svelte").Component<WidgetPlaceholderProps, {}, "">;
8
10
  type WidgetPlaceholder = ReturnType<typeof WidgetPlaceholder>;
9
11
  export default WidgetPlaceholder;
@@ -1,7 +1,8 @@
1
1
  <script lang="ts">
2
+ import { twMerge } from "tailwind-merge";
3
+ import clsx from "clsx";
2
4
  import Popper from "../utils/Popper.svelte";
3
5
  import { getSideAxis } from "@floating-ui/utils";
4
- import clsx from "clsx";
5
6
  import { setContext } from "svelte";
6
7
  import { speed_dial } from "./theme";
7
8
  import type { SpeedDialProps, SpeedCtxType } from "../types";
@@ -17,8 +18,8 @@
17
18
 
18
19
  <!-- class="bg-transparent" -->
19
20
 
20
- <Popper {...restProps} bind:isOpen {trigger} arrow={false} {placement} class={base({ class: clsx(className) })}>
21
- <div class={popper({ class: popperClass })}>
21
+ <Popper {...restProps} bind:isOpen {trigger} arrow={false} {placement} class={twMerge(base(), clsx(className))}>
22
+ <div class={twMerge(popper(), clsx(popperClass))}>
22
23
  {@render children()}
23
24
  </div>
24
25
  </Popper>
@@ -27,7 +28,7 @@
27
28
  @component
28
29
  [Go to docs](https://flowbite-svelte.com/)
29
30
  ## Type
30
- [SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1468)
31
+ [SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1449)
31
32
  ## Props
32
33
  @prop children
33
34
  @prop popperClass
@@ -2,7 +2,7 @@ import type { SpeedDialProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1468)
5
+ * [SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1449)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop popperClass