flowbite-svelte 1.10.13 → 1.10.14

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 (348) hide show
  1. package/dist/accordion/Accordion.svelte +1 -1
  2. package/dist/accordion/Accordion.svelte.d.ts +1 -1
  3. package/dist/accordion/AccordionItem.svelte +1 -1
  4. package/dist/accordion/AccordionItem.svelte.d.ts +1 -1
  5. package/dist/accordion/theme.d.ts +3 -3
  6. package/dist/alert/Alert.svelte +1 -1
  7. package/dist/alert/Alert.svelte.d.ts +1 -1
  8. package/dist/alert/theme.d.ts +3 -4
  9. package/dist/alert/theme.js +1 -2
  10. package/dist/avatar/Avatar.svelte +1 -1
  11. package/dist/avatar/Avatar.svelte.d.ts +1 -1
  12. package/dist/avatar/theme.d.ts +2 -3
  13. package/dist/avatar/theme.js +1 -2
  14. package/dist/badge/Badge.svelte +1 -1
  15. package/dist/badge/Badge.svelte.d.ts +1 -1
  16. package/dist/badge/theme.d.ts +4 -5
  17. package/dist/badge/theme.js +1 -2
  18. package/dist/banner/Banner.svelte +1 -1
  19. package/dist/banner/Banner.svelte.d.ts +1 -1
  20. package/dist/banner/theme.d.ts +3 -4
  21. package/dist/banner/theme.js +1 -2
  22. package/dist/bottom-navigation/BottomNav.svelte +1 -1
  23. package/dist/bottom-navigation/BottomNav.svelte.d.ts +1 -1
  24. package/dist/bottom-navigation/BottomNavHeader.svelte +1 -1
  25. package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +1 -1
  26. package/dist/bottom-navigation/BottomNavHeaderItem.svelte +1 -1
  27. package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
  28. package/dist/bottom-navigation/BottomNavItem.svelte +1 -1
  29. package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +1 -1
  30. package/dist/bottom-navigation/theme.d.ts +12 -12
  31. package/dist/breadcrumb/Breadcrumb.svelte +1 -1
  32. package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
  33. package/dist/breadcrumb/BreadcrumbItem.svelte +1 -1
  34. package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
  35. package/dist/breadcrumb/theme.d.ts +5 -5
  36. package/dist/button-group/ButtonGroup.svelte +1 -1
  37. package/dist/button-group/ButtonGroup.svelte.d.ts +1 -1
  38. package/dist/button-group/theme.d.ts +2 -3
  39. package/dist/button-group/theme.js +1 -2
  40. package/dist/buttons/Button.svelte +1 -1
  41. package/dist/buttons/Button.svelte.d.ts +1 -1
  42. package/dist/buttons/GradientButton.svelte +1 -1
  43. package/dist/buttons/GradientButton.svelte.d.ts +1 -1
  44. package/dist/buttons/theme.d.ts +5 -5
  45. package/dist/card/Card.svelte +1 -1
  46. package/dist/card/Card.svelte.d.ts +1 -1
  47. package/dist/card/theme.d.ts +2 -2
  48. package/dist/carousel/Carousel.svelte +1 -1
  49. package/dist/carousel/Carousel.svelte.d.ts +1 -1
  50. package/dist/carousel/CarouselIndicators.svelte +1 -1
  51. package/dist/carousel/CarouselIndicators.svelte.d.ts +1 -1
  52. package/dist/carousel/ControlButton.svelte +1 -1
  53. package/dist/carousel/ControlButton.svelte.d.ts +1 -1
  54. package/dist/carousel/Controls.svelte +1 -1
  55. package/dist/carousel/Controls.svelte.d.ts +1 -1
  56. package/dist/carousel/Slide.svelte +1 -1
  57. package/dist/carousel/Slide.svelte.d.ts +1 -1
  58. package/dist/carousel/Thumbnail.svelte +1 -1
  59. package/dist/carousel/Thumbnail.svelte.d.ts +1 -1
  60. package/dist/carousel/Thumbnails.svelte +1 -1
  61. package/dist/carousel/Thumbnails.svelte.d.ts +1 -1
  62. package/dist/clipboard/Clipboard.svelte +1 -1
  63. package/dist/clipboard/Clipboard.svelte.d.ts +1 -1
  64. package/dist/darkmode/DarkMode.svelte +1 -1
  65. package/dist/darkmode/DarkMode.svelte.d.ts +1 -1
  66. package/dist/datepicker/Datepicker.svelte +1 -1
  67. package/dist/datepicker/Datepicker.svelte.d.ts +1 -1
  68. package/dist/device-mockups/Android.svelte +1 -1
  69. package/dist/device-mockups/Android.svelte.d.ts +1 -1
  70. package/dist/device-mockups/DefaultMockup.svelte +1 -1
  71. package/dist/device-mockups/DefaultMockup.svelte.d.ts +1 -1
  72. package/dist/device-mockups/Desktop.svelte +1 -1
  73. package/dist/device-mockups/Desktop.svelte.d.ts +1 -1
  74. package/dist/device-mockups/DeviceMockup.svelte +1 -1
  75. package/dist/device-mockups/DeviceMockup.svelte.d.ts +1 -1
  76. package/dist/device-mockups/Ios.svelte +1 -1
  77. package/dist/device-mockups/Ios.svelte.d.ts +1 -1
  78. package/dist/device-mockups/Laptop.svelte +1 -1
  79. package/dist/device-mockups/Laptop.svelte.d.ts +1 -1
  80. package/dist/device-mockups/Smartwatch.svelte +1 -1
  81. package/dist/device-mockups/Smartwatch.svelte.d.ts +1 -1
  82. package/dist/device-mockups/Tablet.svelte +1 -1
  83. package/dist/device-mockups/Tablet.svelte.d.ts +1 -1
  84. package/dist/drawer/Drawer.svelte +1 -1
  85. package/dist/drawer/Drawer.svelte.d.ts +1 -1
  86. package/dist/drawer/Drawerhead.svelte +1 -1
  87. package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
  88. package/dist/dropdown/Dropdown.svelte +1 -1
  89. package/dist/dropdown/Dropdown.svelte.d.ts +1 -1
  90. package/dist/dropdown/DropdownDivider.svelte +1 -1
  91. package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
  92. package/dist/dropdown/DropdownGroup.svelte +1 -1
  93. package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
  94. package/dist/dropdown/DropdownHeader.svelte +1 -1
  95. package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
  96. package/dist/dropdown/DropdownItem.svelte +1 -1
  97. package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
  98. package/dist/footer/Footer.svelte +1 -1
  99. package/dist/footer/Footer.svelte.d.ts +1 -1
  100. package/dist/footer/FooterBrand.svelte +1 -1
  101. package/dist/footer/FooterBrand.svelte.d.ts +1 -1
  102. package/dist/footer/FooterCopyright.svelte +1 -1
  103. package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
  104. package/dist/footer/FooterIcon.svelte +1 -1
  105. package/dist/footer/FooterIcon.svelte.d.ts +1 -1
  106. package/dist/footer/FooterLink.svelte +1 -1
  107. package/dist/footer/FooterLink.svelte.d.ts +1 -1
  108. package/dist/footer/FooterLinkGroup.svelte +1 -1
  109. package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
  110. package/dist/forms/button-toggle/ButtonToggle.svelte +1 -1
  111. package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +1 -1
  112. package/dist/forms/button-toggle/CheckIcon.svelte +1 -1
  113. package/dist/forms/button-toggle/CheckIcon.svelte.d.ts +1 -1
  114. package/dist/forms/checkbox/CheckboxButton.svelte +1 -1
  115. package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
  116. package/dist/forms/dropzone/Dropzone.svelte +1 -1
  117. package/dist/forms/dropzone/Dropzone.svelte.d.ts +1 -1
  118. package/dist/forms/fileupload/Fileupload.svelte +1 -1
  119. package/dist/forms/fileupload/Fileupload.svelte.d.ts +1 -1
  120. package/dist/forms/fileupload/theme.d.ts +2 -2
  121. package/dist/forms/floating-label/FloatingLabelInput.svelte +1 -1
  122. package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +1 -1
  123. package/dist/forms/floating-label/theme.d.ts +2 -2
  124. package/dist/forms/helper/Helper.svelte +1 -1
  125. package/dist/forms/helper/Helper.svelte.d.ts +1 -1
  126. package/dist/forms/helper/theme.d.ts +1 -1
  127. package/dist/forms/input-addon/InputAddon.svelte +1 -1
  128. package/dist/forms/input-addon/InputAddon.svelte.d.ts +1 -1
  129. package/dist/forms/input-field/theme.d.ts +2 -2
  130. package/dist/forms/label/Label.svelte +1 -1
  131. package/dist/forms/label/Label.svelte.d.ts +1 -1
  132. package/dist/forms/label/theme.d.ts +1 -1
  133. package/dist/forms/phoneinput/PhoneInput.svelte +7 -7
  134. package/dist/forms/phoneinput/theme.d.ts +26 -26
  135. package/dist/forms/phoneinput/theme.js +8 -8
  136. package/dist/forms/radio/Radio.svelte +7 -4
  137. package/dist/forms/radio/theme.d.ts +5 -4
  138. package/dist/forms/range/Range.svelte +1 -1
  139. package/dist/forms/range/Range.svelte.d.ts +1 -1
  140. package/dist/forms/range/theme.d.ts +1 -1
  141. package/dist/forms/search/Search.svelte +15 -10
  142. package/dist/forms/search/Search.svelte.d.ts +3 -1
  143. package/dist/forms/search/theme.d.ts +13 -9
  144. package/dist/forms/search/theme.js +3 -2
  145. package/dist/forms/select/MultiSelect.svelte +3 -2
  146. package/dist/forms/select/Select.svelte +8 -4
  147. package/dist/forms/select/theme.d.ts +10 -9
  148. package/dist/forms/select/theme.js +1 -1
  149. package/dist/forms/tags/Tags.svelte +88 -38
  150. package/dist/forms/tags/Tags.svelte.d.ts +9 -3
  151. package/dist/forms/tags/theme.d.ts +29 -8
  152. package/dist/forms/tags/theme.js +6 -3
  153. package/dist/forms/textarea/Textarea.svelte +1 -1
  154. package/dist/forms/textarea/Textarea.svelte.d.ts +1 -1
  155. package/dist/forms/timepicker/Timepicker.svelte +1 -1
  156. package/dist/forms/timepicker/Timepicker.svelte.d.ts +1 -1
  157. package/dist/forms/toggle/Toggle.svelte +1 -1
  158. package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
  159. package/dist/gallery/Gallery.svelte +1 -1
  160. package/dist/gallery/Gallery.svelte.d.ts +1 -1
  161. package/dist/indicator/Indicator.svelte +1 -1
  162. package/dist/indicator/Indicator.svelte.d.ts +1 -1
  163. package/dist/kbd/Kbd.svelte +1 -1
  164. package/dist/kbd/Kbd.svelte.d.ts +1 -1
  165. package/dist/list-group/Listgroup.svelte +1 -1
  166. package/dist/list-group/Listgroup.svelte.d.ts +1 -1
  167. package/dist/list-group/ListgroupItem.svelte +1 -1
  168. package/dist/list-group/ListgroupItem.svelte.d.ts +1 -1
  169. package/dist/mega-menu/MegaMenu.svelte +1 -1
  170. package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
  171. package/dist/modal/Modal.svelte +1 -1
  172. package/dist/modal/Modal.svelte.d.ts +1 -1
  173. package/dist/navbar/Menu.svelte +1 -1
  174. package/dist/navbar/Menu.svelte.d.ts +1 -1
  175. package/dist/navbar/NavBrand.svelte +1 -1
  176. package/dist/navbar/NavBrand.svelte.d.ts +1 -1
  177. package/dist/navbar/NavContainer.svelte +1 -1
  178. package/dist/navbar/NavContainer.svelte.d.ts +1 -1
  179. package/dist/navbar/NavHamburger.svelte +1 -1
  180. package/dist/navbar/NavHamburger.svelte.d.ts +1 -1
  181. package/dist/navbar/NavLi.svelte +1 -1
  182. package/dist/navbar/NavLi.svelte.d.ts +1 -1
  183. package/dist/navbar/NavUl.svelte +1 -1
  184. package/dist/navbar/NavUl.svelte.d.ts +1 -1
  185. package/dist/navbar/Navbar.svelte +1 -1
  186. package/dist/navbar/Navbar.svelte.d.ts +1 -1
  187. package/dist/pagination/Pagination.svelte +1 -1
  188. package/dist/pagination/Pagination.svelte.d.ts +1 -1
  189. package/dist/pagination/PaginationButton.svelte +1 -1
  190. package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
  191. package/dist/pagination/PaginationItem.svelte +1 -1
  192. package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
  193. package/dist/pagination/PaginationNav.svelte +1 -1
  194. package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
  195. package/dist/popover/Popover.svelte +1 -1
  196. package/dist/popover/Popover.svelte.d.ts +1 -1
  197. package/dist/progress/Progressbar.svelte +1 -1
  198. package/dist/progress/Progressbar.svelte.d.ts +1 -1
  199. package/dist/progress/Progressradial.svelte +1 -1
  200. package/dist/progress/Progressradial.svelte.d.ts +1 -1
  201. package/dist/rating/AdvancedRating.svelte +1 -1
  202. package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
  203. package/dist/rating/CustomIcon.svelte +1 -1
  204. package/dist/rating/CustomIcon.svelte.d.ts +1 -1
  205. package/dist/rating/Heart.svelte +1 -1
  206. package/dist/rating/Heart.svelte.d.ts +1 -1
  207. package/dist/rating/Rating.svelte +1 -1
  208. package/dist/rating/Rating.svelte.d.ts +1 -1
  209. package/dist/rating/RatingComment.svelte +1 -1
  210. package/dist/rating/RatingComment.svelte.d.ts +1 -1
  211. package/dist/rating/Review.svelte +1 -1
  212. package/dist/rating/Review.svelte.d.ts +1 -1
  213. package/dist/rating/ScoreRating.svelte +1 -1
  214. package/dist/rating/ScoreRating.svelte.d.ts +1 -1
  215. package/dist/rating/Star.svelte +1 -1
  216. package/dist/rating/Star.svelte.d.ts +1 -1
  217. package/dist/rating/Thumbup.svelte +1 -1
  218. package/dist/rating/Thumbup.svelte.d.ts +1 -1
  219. package/dist/sidebar/Sidebar.svelte +1 -1
  220. package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
  221. package/dist/sidebar/SidebarBrand.svelte +1 -1
  222. package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
  223. package/dist/sidebar/SidebarButton.svelte +1 -1
  224. package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
  225. package/dist/sidebar/SidebarCta.svelte +1 -1
  226. package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
  227. package/dist/sidebar/SidebarDropdownWrapper.svelte +1 -1
  228. package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
  229. package/dist/sidebar/SidebarGroup.svelte +1 -1
  230. package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
  231. package/dist/sidebar/SidebarItem.svelte +1 -1
  232. package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
  233. package/dist/skeleton/CardPlaceholder.svelte +1 -1
  234. package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
  235. package/dist/skeleton/ImagePlaceholder.svelte +1 -1
  236. package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
  237. package/dist/skeleton/ListPlaceholder.svelte +1 -1
  238. package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
  239. package/dist/skeleton/Skeleton.svelte +1 -1
  240. package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
  241. package/dist/skeleton/TestimonialPlaceholder.svelte +1 -1
  242. package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
  243. package/dist/skeleton/TextPlaceholder.svelte +1 -1
  244. package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
  245. package/dist/skeleton/VideoPlaceholder.svelte +1 -1
  246. package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
  247. package/dist/skeleton/WidgetPlaceholder.svelte +1 -1
  248. package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
  249. package/dist/speed-dial/SpeedDial.svelte +1 -1
  250. package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
  251. package/dist/speed-dial/SpeedDialButton.svelte +1 -1
  252. package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
  253. package/dist/speed-dial/SpeedDialTrigger.svelte +1 -1
  254. package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
  255. package/dist/spinner/Spinner.svelte +1 -1
  256. package/dist/spinner/Spinner.svelte.d.ts +1 -1
  257. package/dist/stepindicator/StepIndicator.svelte +1 -1
  258. package/dist/stepindicator/StepIndicator.svelte.d.ts +1 -1
  259. package/dist/stepper/BreadcrumbStepper.svelte +1 -1
  260. package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
  261. package/dist/stepper/DetailedStepper.svelte +1 -1
  262. package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
  263. package/dist/stepper/ProgressStepper.svelte +1 -1
  264. package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
  265. package/dist/stepper/Stepper.svelte +1 -1
  266. package/dist/stepper/Stepper.svelte.d.ts +1 -1
  267. package/dist/stepper/TimelineStepper.svelte +1 -1
  268. package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
  269. package/dist/stepper/VerticalStepper.svelte +1 -1
  270. package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
  271. package/dist/table/Table.svelte +1 -1
  272. package/dist/table/Table.svelte.d.ts +1 -1
  273. package/dist/table/TableBody.svelte +1 -1
  274. package/dist/table/TableBody.svelte.d.ts +1 -1
  275. package/dist/table/TableBodyCell.svelte +1 -1
  276. package/dist/table/TableBodyCell.svelte.d.ts +1 -1
  277. package/dist/table/TableBodyRow.svelte +1 -1
  278. package/dist/table/TableBodyRow.svelte.d.ts +1 -1
  279. package/dist/table/TableHead.svelte +1 -1
  280. package/dist/table/TableHead.svelte.d.ts +1 -1
  281. package/dist/table/TableHeadCell.svelte +1 -1
  282. package/dist/table/TableHeadCell.svelte.d.ts +1 -1
  283. package/dist/table/TableSearch.svelte +1 -1
  284. package/dist/table/TableSearch.svelte.d.ts +1 -1
  285. package/dist/tabs/TabItem.svelte +1 -1
  286. package/dist/tabs/TabItem.svelte.d.ts +1 -1
  287. package/dist/tabs/Tabs.svelte +1 -1
  288. package/dist/tabs/Tabs.svelte.d.ts +1 -1
  289. package/dist/timeline/Activity.svelte +1 -1
  290. package/dist/timeline/Activity.svelte.d.ts +1 -1
  291. package/dist/timeline/ActivityItem.svelte +1 -1
  292. package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
  293. package/dist/timeline/Group.svelte +1 -1
  294. package/dist/timeline/Group.svelte.d.ts +1 -1
  295. package/dist/timeline/GroupItem.svelte +1 -1
  296. package/dist/timeline/GroupItem.svelte.d.ts +1 -1
  297. package/dist/timeline/Timeline.svelte +1 -1
  298. package/dist/timeline/Timeline.svelte.d.ts +1 -1
  299. package/dist/timeline/TimelineItem.svelte +1 -1
  300. package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
  301. package/dist/toast/Toast.svelte +1 -1
  302. package/dist/toast/Toast.svelte.d.ts +1 -1
  303. package/dist/toolbar/Toolbar.svelte +1 -1
  304. package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
  305. package/dist/toolbar/ToolbarButton.svelte +1 -1
  306. package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
  307. package/dist/toolbar/ToolbarGroup.svelte +1 -1
  308. package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
  309. package/dist/tooltip/Tooltip.svelte +1 -1
  310. package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
  311. package/dist/types.d.ts +8 -1
  312. package/dist/typography/anchor/A.svelte +1 -1
  313. package/dist/typography/anchor/A.svelte.d.ts +1 -1
  314. package/dist/typography/blockquote/Blockquote.svelte +1 -1
  315. package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
  316. package/dist/typography/descriptionlist/DescriptionList.svelte +1 -1
  317. package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
  318. package/dist/typography/heading/Heading.svelte +1 -1
  319. package/dist/typography/heading/Heading.svelte.d.ts +1 -1
  320. package/dist/typography/hr/Hr.svelte +1 -1
  321. package/dist/typography/hr/Hr.svelte.d.ts +1 -1
  322. package/dist/typography/img/EnhancedImg.svelte +1 -1
  323. package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
  324. package/dist/typography/img/Img.svelte +1 -1
  325. package/dist/typography/img/Img.svelte.d.ts +1 -1
  326. package/dist/typography/layout/Layout.svelte +1 -1
  327. package/dist/typography/layout/Layout.svelte.d.ts +1 -1
  328. package/dist/typography/list/Li.svelte +1 -1
  329. package/dist/typography/list/Li.svelte.d.ts +1 -1
  330. package/dist/typography/list/List.svelte +1 -1
  331. package/dist/typography/list/List.svelte.d.ts +1 -1
  332. package/dist/typography/mark/Mark.svelte +1 -1
  333. package/dist/typography/mark/Mark.svelte.d.ts +1 -1
  334. package/dist/typography/paragraph/P.svelte +1 -1
  335. package/dist/typography/paragraph/P.svelte.d.ts +1 -1
  336. package/dist/typography/secondary/Secondary.svelte +1 -1
  337. package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
  338. package/dist/typography/span/Span.svelte +1 -1
  339. package/dist/typography/span/Span.svelte.d.ts +1 -1
  340. package/dist/utils/Arrow.svelte +1 -1
  341. package/dist/utils/Arrow.svelte.d.ts +1 -1
  342. package/dist/utils/CloseButton.svelte +1 -1
  343. package/dist/utils/CloseButton.svelte.d.ts +1 -1
  344. package/dist/utils/Popper.svelte +1 -1
  345. package/dist/utils/Popper.svelte.d.ts +1 -1
  346. package/dist/video/Video.svelte +1 -1
  347. package/dist/video/Video.svelte.d.ts +1 -1
  348. package/package.json +1 -1
@@ -54,7 +54,7 @@
54
54
  @component
55
55
  [Go to docs](https://flowbite-svelte.com/)
56
56
  ## Type
57
- [ButtonToggleProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L334)
57
+ [ButtonToggleProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L335)
58
58
  ## Props
59
59
  @prop value
60
60
  @prop selected = false
@@ -2,7 +2,7 @@ import { type ButtonToggleProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [ButtonToggleProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L334)
5
+ * [ButtonToggleProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L335)
6
6
  * ## Props
7
7
  * @prop value
8
8
  * @prop selected = false
@@ -12,7 +12,7 @@
12
12
  @component
13
13
  [Go to docs](https://flowbite-svelte.com/)
14
14
  ## Type
15
- [CheckIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L351)
15
+ [CheckIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L352)
16
16
  ## Props
17
17
  @prop class: className
18
18
  @prop ...restProps
@@ -2,7 +2,7 @@ import { type CheckIconProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [CheckIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L351)
5
+ * [CheckIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L352)
6
6
  * ## Props
7
7
  * @prop class: className
8
8
  * @prop ...restProps
@@ -58,7 +58,7 @@
58
58
  @component
59
59
  [Go to docs](https://flowbite-svelte.com/)
60
60
  ## Type
61
- [CheckboxButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L674)
61
+ [CheckboxButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L675)
62
62
  ## Props
63
63
  @prop children
64
64
  @prop class: className
@@ -2,7 +2,7 @@ import { type CheckboxButtonProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [CheckboxButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L674)
5
+ * [CheckboxButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L675)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop class: className
@@ -52,7 +52,7 @@
52
52
  @component
53
53
  [Go to docs](https://flowbite-svelte.com/)
54
54
  ## Type
55
- [DropzoneProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L687)
55
+ [DropzoneProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L688)
56
56
  ## Props
57
57
  @prop children
58
58
  @prop files = $bindable<FileList | null>()
@@ -2,7 +2,7 @@ import { type DropzoneProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [DropzoneProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L687)
5
+ * [DropzoneProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L688)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop files = $bindable<FileList | null>()
@@ -33,7 +33,7 @@
33
33
  @component
34
34
  [Go to docs](https://flowbite-svelte.com/)
35
35
  ## Type
36
- [FileuploadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L696)
36
+ [FileuploadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L697)
37
37
  ## Props
38
38
  @prop files = $bindable()
39
39
  @prop size = "md"
@@ -2,7 +2,7 @@ import { type FileuploadProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [FileuploadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L696)
5
+ * [FileuploadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L697)
6
6
  * ## Props
7
7
  * @prop files = $bindable()
8
8
  * @prop size = "md"
@@ -2,6 +2,8 @@ import { type VariantProps } from "tailwind-variants";
2
2
  import type { ClassValue } from "svelte/elements";
3
3
  import type { Classes } from "../../theme/themeUtils";
4
4
  export type FileuploadViariants = VariantProps<typeof fileupload> & Classes<typeof fileupload>;
5
+ export type FileuploadSlots = keyof typeof fileupload.slots;
6
+ export type FileuploadTheme = Partial<Record<FileuploadSlots, ClassValue>>;
5
7
  export declare const fileupload: import("tailwind-variants").TVReturnType<{
6
8
  size: {
7
9
  sm: {
@@ -54,5 +56,3 @@ export declare const fileupload: import("tailwind-variants").TVReturnType<{
54
56
  close: string;
55
57
  svg: string;
56
58
  }, undefined, unknown, unknown, undefined>>;
57
- export type FileuploadSlots = keyof typeof fileupload.slots;
58
- export type FileuploadTheme = Partial<Record<FileuploadSlots, ClassValue>>;
@@ -164,7 +164,7 @@
164
164
  @component
165
165
  [Go to docs](https://flowbite-svelte.com/)
166
166
  ## Type
167
- [FloatingLabelInputProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L710)
167
+ [FloatingLabelInputProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L711)
168
168
  ## Props
169
169
  @prop children
170
170
  @prop id = idGenerator()
@@ -2,7 +2,7 @@ import { type FloatingLabelInputProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [FloatingLabelInputProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L710)
5
+ * [FloatingLabelInputProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L711)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop id = idGenerator()
@@ -2,6 +2,8 @@ import { type VariantProps } from "tailwind-variants";
2
2
  import type { ClassValue } from "svelte/elements";
3
3
  import type { Classes } from "../../theme/themeUtils";
4
4
  export type FloatingLabelInputVaratiants = VariantProps<typeof floatingLabelInput> & Classes<typeof floatingLabelInput>;
5
+ export type FloatingLabelInputSlots = keyof typeof floatingLabelInput.slots;
6
+ export type FloatingLabelInputTheme = Partial<Record<FloatingLabelInputSlots, ClassValue>>;
5
7
  export declare const floatingLabelInput: import("tailwind-variants").TVReturnType<{
6
8
  variant: {
7
9
  filled: {
@@ -348,5 +350,3 @@ export declare const floatingLabelInput: import("tailwind-variants").TVReturnTyp
348
350
  combo: string;
349
351
  svg: string;
350
352
  }, undefined, unknown, unknown, undefined>>;
351
- export type FloatingLabelInputSlots = keyof typeof floatingLabelInput.slots;
352
- export type FloatingLabelInputTheme = Partial<Record<FloatingLabelInputSlots, ClassValue>>;
@@ -19,7 +19,7 @@
19
19
  @component
20
20
  [Go to docs](https://flowbite-svelte.com/)
21
21
  ## Type
22
- [HelperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L733)
22
+ [HelperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L734)
23
23
  ## Props
24
24
  @prop children
25
25
  @prop class: className
@@ -2,7 +2,7 @@ import { type HelperProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [HelperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L733)
5
+ * [HelperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L734)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop class: className
@@ -1,6 +1,7 @@
1
1
  import { type VariantProps } from "tailwind-variants";
2
2
  import type { ClassValue } from "svelte/elements";
3
3
  export type HelperVariants = VariantProps<typeof helper>;
4
+ export type HelperTheme = ClassValue;
4
5
  export declare const helper: import("tailwind-variants").TVReturnType<{
5
6
  color: {
6
7
  disabled: string;
@@ -74,4 +75,3 @@ export declare const helper: import("tailwind-variants").TVReturnType<{
74
75
  rose: string;
75
76
  };
76
77
  }, undefined, "text-xs font-normal text-gray-500 dark:text-gray-300", unknown, unknown, undefined>>;
77
- export type HelperTheme = ClassValue;
@@ -44,7 +44,7 @@
44
44
  @component
45
45
  [Go to docs](https://flowbite-svelte.com/)
46
46
  ## Type
47
- [InputAddonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L775)
47
+ [InputAddonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L776)
48
48
  ## Props
49
49
  @prop children
50
50
  @prop class: className
@@ -2,7 +2,7 @@ import { type InputAddonProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [InputAddonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L775)
5
+ * [InputAddonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L776)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop class: className
@@ -2,6 +2,8 @@ import { type VariantProps } from "tailwind-variants";
2
2
  import type { ClassValue } from "svelte/elements";
3
3
  import type { Classes } from "../../theme/themeUtils";
4
4
  export type InputVariants = VariantProps<typeof input> & Classes<typeof input>;
5
+ export type InputSlots = keyof typeof input.slots;
6
+ export type InputTheme = Partial<Record<InputSlots, ClassValue>>;
5
7
  export declare const input: import("tailwind-variants").TVReturnType<{
6
8
  size: {
7
9
  sm: {
@@ -300,5 +302,3 @@ export declare const input: import("tailwind-variants").TVReturnType<{
300
302
  svg: string;
301
303
  wrapper: string;
302
304
  }, undefined, unknown, unknown, undefined>>;
303
- export type InputSlots = keyof typeof input.slots;
304
- export type InputTheme = Partial<Record<InputSlots, ClassValue>>;
@@ -23,7 +23,7 @@
23
23
  @component
24
24
  [Go to docs](https://flowbite-svelte.com/)
25
25
  ## Type
26
- [LabelProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L790)
26
+ [LabelProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L791)
27
27
  ## Props
28
28
  @prop children
29
29
  @prop color = "gray"
@@ -2,7 +2,7 @@ import { type LabelProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [LabelProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L790)
5
+ * [LabelProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L791)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop color = "gray"
@@ -1,6 +1,7 @@
1
1
  import { type VariantProps } from "tailwind-variants";
2
2
  import type { ClassValue } from "svelte/elements";
3
3
  export type LabelVariants = VariantProps<typeof label>;
4
+ export type LabelTheme = ClassValue;
4
5
  export declare const label: import("tailwind-variants").TVReturnType<{
5
6
  color: {
6
7
  disabled: string;
@@ -74,4 +75,3 @@ export declare const label: import("tailwind-variants").TVReturnType<{
74
75
  rose: string;
75
76
  };
76
77
  }, undefined, "text-sm rtl:text-right font-medium block", unknown, unknown, undefined>>;
77
- export type LabelTheme = ClassValue;
@@ -4,15 +4,15 @@
4
4
  import clsx from "clsx";
5
5
  import { getTheme } from "../../theme/themeUtils";
6
6
 
7
- let { children, phoneIcon = true, pattern = "[0-9]{3}-[0-9]{3}-[0-9]{4}", phoneType = "default", floatingLabel = "Phone number", labelFor = "floating-phone-number", classes, ...restProps }: PhoneInputProps = $props();
7
+ let { children, phoneIcon = true, pattern = "[0-9]{3}-[0-9]{3}-[0-9]{4}", phoneType = "default", floatingLabel = "Phone number", labelFor = "floating-phone-number", class: className, classes, ...restProps }: PhoneInputProps = $props();
8
8
 
9
9
  const theme = getTheme("phoneInput");
10
10
 
11
- const { defaultDiv, phonesvg, defaultInput, floatingSpan, floatingInput, labelFloating } = $derived(phoneinput({ phoneType, phoneIcon }));
11
+ const { div, svg, input, span, floatingInput, label } = $derived(phoneinput({ phoneType, phoneIcon }));
12
12
  </script>
13
13
 
14
14
  {#snippet phoneIconSnippet()}
15
- <svg class={phonesvg({ class: clsx((theme as PhoneInputTheme)?.phonesvg) })} aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 19 18">
15
+ <svg class={svg({ class: clsx((theme as PhoneInputTheme)?.svg) })} aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 19 18">
16
16
  <path d="M18 13.446a3.02 3.02 0 0 0-.946-1.985l-1.4-1.4a3.054 3.054 0 0 0-4.218 0l-.7.7a.983.983 0 0 1-1.39 0l-2.1-2.1a.983.983 0 0 1 0-1.389l.7-.7a2.98 2.98 0 0 0 0-4.217l-1.4-1.4a2.824 2.824 0 0 0-4.218 0c-3.619 3.619-3 8.229 1.752 12.979C6.785 16.639 9.45 18 11.912 18a7.175 7.175 0 0 0 5.139-2.325A2.9 2.9 0 0 0 18 13.446Z" />
17
17
  </svg>
18
18
  {/snippet}
@@ -20,20 +20,20 @@
20
20
  {#if phoneType === "default" || phoneType === "countryCode"}
21
21
  <div class="relative">
22
22
  {#if phoneIcon}
23
- <div class={defaultDiv({ class: clsx((theme as PhoneInputTheme)?.defaultDiv, classes?.defaultDiv) })}>
23
+ <div class={div({ class: clsx((theme as PhoneInputTheme)?.div, classes?.div) })}>
24
24
  {@render phoneIconSnippet()}
25
25
  </div>
26
26
  {/if}
27
- <input type="tel" {pattern} {...restProps} class={defaultInput({ class: clsx((theme as PhoneInputTheme)?.defaultInput, classes?.defaultInput) })} />
27
+ <input type="tel" {pattern} {...restProps} class={input({ class: clsx((theme as PhoneInputTheme)?.input, classes?.input) })} />
28
28
  </div>
29
29
  {:else if phoneType === "floating"}
30
30
  <div class="relative">
31
31
  {#if phoneIcon}
32
- <span class={floatingSpan({ class: clsx((theme as PhoneInputTheme)?.floatingSpan, classes?.floatingSpan) })}>
32
+ <span class={span({ class: clsx((theme as PhoneInputTheme)?.span, classes?.span) })}>
33
33
  {@render phoneIconSnippet()}
34
34
  </span>
35
35
  {/if}
36
36
  <input type="tel" class={floatingInput({ class: clsx((theme as PhoneInputTheme)?.floatingInput, classes?.floatingInput) })} {pattern} {...restProps} />
37
- <label for={labelFor} class={labelFloating({ class: clsx((theme as PhoneInputTheme)?.labelFloating, classes?.labelFloating) })}>{floatingLabel}</label>
37
+ <label for={labelFor} class={label({ class: clsx((theme as PhoneInputTheme)?.label, classes?.label) })}>{floatingLabel}</label>
38
38
  </div>
39
39
  {/if}
@@ -6,81 +6,81 @@ export type phoneInputClasses = Partial<{
6
6
  export type PhoneInputVariants = VariantProps<typeof phoneinput> & {
7
7
  classes?: phoneInputClasses;
8
8
  };
9
+ export type PhoneInputSlots = keyof typeof phoneinput.slots;
10
+ export type PhoneInputTheme = Partial<Record<PhoneInputSlots, ClassValue>>;
9
11
  export declare const phoneinput: import("tailwind-variants").TVReturnType<{
10
12
  phoneType: {
11
13
  default: {};
12
14
  floating: {
13
- phonesvg: string;
15
+ svg: string;
14
16
  };
15
17
  countryCode: {
16
- defaultInput: string;
18
+ input: string;
17
19
  };
18
20
  copy: {};
19
21
  advanced: {};
20
22
  };
21
23
  phoneIcon: {
22
24
  true: {
23
- defaultInput: string;
25
+ input: string;
24
26
  };
25
27
  false: {};
26
28
  };
27
29
  }, {
28
- defaultDiv: string;
29
- phonesvg: string;
30
- defaultInput: string;
31
- floatingSpan: string;
30
+ div: string;
31
+ svg: string;
32
+ input: string;
33
+ span: string;
32
34
  floatingInput: string;
33
- labelFloating: string;
35
+ label: string;
34
36
  }, undefined, {
35
37
  phoneType: {
36
38
  default: {};
37
39
  floating: {
38
- phonesvg: string;
40
+ svg: string;
39
41
  };
40
42
  countryCode: {
41
- defaultInput: string;
43
+ input: string;
42
44
  };
43
45
  copy: {};
44
46
  advanced: {};
45
47
  };
46
48
  phoneIcon: {
47
49
  true: {
48
- defaultInput: string;
50
+ input: string;
49
51
  };
50
52
  false: {};
51
53
  };
52
54
  }, {
53
- defaultDiv: string;
54
- phonesvg: string;
55
- defaultInput: string;
56
- floatingSpan: string;
55
+ div: string;
56
+ svg: string;
57
+ input: string;
58
+ span: string;
57
59
  floatingInput: string;
58
- labelFloating: string;
60
+ label: string;
59
61
  }, import("tailwind-variants").TVReturnType<{
60
62
  phoneType: {
61
63
  default: {};
62
64
  floating: {
63
- phonesvg: string;
65
+ svg: string;
64
66
  };
65
67
  countryCode: {
66
- defaultInput: string;
68
+ input: string;
67
69
  };
68
70
  copy: {};
69
71
  advanced: {};
70
72
  };
71
73
  phoneIcon: {
72
74
  true: {
73
- defaultInput: string;
75
+ input: string;
74
76
  };
75
77
  false: {};
76
78
  };
77
79
  }, {
78
- defaultDiv: string;
79
- phonesvg: string;
80
- defaultInput: string;
81
- floatingSpan: string;
80
+ div: string;
81
+ svg: string;
82
+ input: string;
83
+ span: string;
82
84
  floatingInput: string;
83
- labelFloating: string;
85
+ label: string;
84
86
  }, undefined, unknown, unknown, undefined>>;
85
- export type PhoneInputSlots = keyof typeof phoneinput.slots;
86
- export type PhoneInputTheme = Partial<Record<PhoneInputSlots, ClassValue>>;
@@ -1,27 +1,27 @@
1
1
  import { tv } from "tailwind-variants";
2
2
  export const phoneinput = tv({
3
3
  slots: {
4
- defaultDiv: "absolute inset-y-0 start-0 top-0 flex items-center ps-3.5 pointer-events-none",
5
- phonesvg: "w-4 h-4 text-gray-500 dark:text-gray-400",
6
- defaultInput: "bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500",
7
- floatingSpan: "absolute start-0 bottom-3 text-gray-500 dark:text-gray-400",
4
+ div: "absolute inset-y-0 start-0 top-0 flex items-center ps-3.5 pointer-events-none",
5
+ svg: "w-4 h-4 text-gray-500 dark:text-gray-400",
6
+ input: "bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-primary-500 focus:border-primary-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500",
7
+ span: "absolute start-0 bottom-3 text-gray-500 dark:text-gray-400",
8
8
  floatingInput: "block py-2.5 ps-6 pe-0 w-full text-sm text-gray-900 bg-transparent border-0 border-b-2 border-gray-300 appearance-none dark:text-white dark:border-gray-600 dark:focus:border-primary-500 focus:outline-none focus:ring-0 focus:border-primary-600 peer",
9
- labelFloating: "absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 origin-[0] peer-placeholder-shown:start-6 peer-focus:start-0 peer-focus:text-primary-600 peer-focus:dark:text-primary-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto"
9
+ label: "absolute text-sm text-gray-500 dark:text-gray-400 duration-300 transform -translate-y-6 scale-75 top-3 origin-[0] peer-placeholder-shown:start-6 peer-focus:start-0 peer-focus:text-primary-600 peer-focus:dark:text-primary-500 peer-placeholder-shown:scale-100 peer-placeholder-shown:translate-y-0 peer-focus:scale-75 peer-focus:-translate-y-6 rtl:peer-focus:translate-x-1/4 rtl:peer-focus:left-auto"
10
10
  },
11
11
  variants: {
12
12
  phoneType: {
13
13
  default: {},
14
14
  floating: {
15
- phonesvg: "w-4 h-4 rtl:rotate-[270deg]"
15
+ svg: "w-4 h-4 rtl:rotate-[270deg]"
16
16
  },
17
17
  countryCode: {
18
- defaultInput: "rounded-none rounded-e-lg"
18
+ input: "rounded-none rounded-e-lg"
19
19
  },
20
20
  copy: {},
21
21
  advanced: {}
22
22
  },
23
23
  phoneIcon: {
24
- true: { defaultInput: "ps-10" },
24
+ true: { input: "ps-10" },
25
25
  false: {}
26
26
  }
27
27
  }
@@ -3,17 +3,20 @@
3
3
  import { radio, type RadioTheme } from ".";
4
4
  import clsx from "clsx";
5
5
  import { type RadioProps, Label } from "../..";
6
- import { getTheme } from "../../theme/themeUtils";
6
+ import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
7
7
 
8
- let { children, "aria-describedby": ariaDescribedby, inline = false, labelClass, color = "primary", custom = false, group = $bindable<T>(), value = $bindable<T>(), inputClass, ...restProps }: RadioProps<T> = $props();
8
+ let { children, "aria-describedby": ariaDescribedby, inline = false, labelClass, color = "primary", custom = false, group = $bindable<T>(), value = $bindable<T>(), class: className, inputClass, classes, ...restProps }: RadioProps<T> = $props();
9
+
10
+ warnThemeDeprecation("Fileupload", { inputClass, labelClass }, { inputClass: "class", labelClass: "label" });
11
+ let styling = $derived(classes ?? { label: labelClass });
9
12
 
10
13
  const theme = getTheme("radio");
11
14
 
12
15
  const { input, label } = $derived(radio({ color, tinted: !!getContext("background"), custom, inline }));
13
16
  </script>
14
17
 
15
- <Label class={label({ class: clsx((theme as RadioTheme)?.label, labelClass) })}>
16
- <input type="radio" bind:group {value} aria-describedby={ariaDescribedby} {...restProps} class={input({ class: clsx((theme as RadioTheme)?.input, inputClass) })} />
18
+ <Label class={label({ class: clsx((theme as RadioTheme)?.label, styling.label) })}>
19
+ <input type="radio" bind:group {value} aria-describedby={ariaDescribedby} {...restProps} class={input({ class: clsx((theme as RadioTheme)?.input, className ?? inputClass) })} />
17
20
  {@render children?.()}
18
21
  </Label>
19
22
 
@@ -1,6 +1,10 @@
1
1
  import { type VariantProps } from "tailwind-variants";
2
2
  import type { ClassValue } from "svelte/elements";
3
- export type RadioVariants = VariantProps<typeof radio>;
3
+ import type { Classes } from "../../theme/themeUtils";
4
+ export type RadioVariants = VariantProps<typeof radio> & Classes<typeof radio>;
5
+ export type RadioSlots = keyof typeof radio.slots;
6
+ export type RadioTheme = Partial<Record<RadioSlots, ClassValue>>;
7
+ export type RadioButtonTheme = ClassValue;
4
8
  export declare const radio: import("tailwind-variants").TVReturnType<{
5
9
  color: {
6
10
  primary: {
@@ -272,8 +276,6 @@ export declare const radio: import("tailwind-variants").TVReturnType<{
272
276
  input: string;
273
277
  label: string;
274
278
  }, undefined, unknown, unknown, undefined>>;
275
- export type RadioSlots = keyof typeof radio.slots;
276
- export type RadioTheme = Partial<Record<RadioSlots, ClassValue>>;
277
279
  export declare const radiobutton: import("tailwind-variants").TVReturnType<{
278
280
  inline: {
279
281
  true: string;
@@ -290,4 +292,3 @@ export declare const radiobutton: import("tailwind-variants").TVReturnType<{
290
292
  false: string;
291
293
  };
292
294
  }, undefined, "", unknown, unknown, undefined>>;
293
- export type RadioButtonTheme = ClassValue;
@@ -17,7 +17,7 @@
17
17
  @component
18
18
  [Go to docs](https://flowbite-svelte.com/)
19
19
  ## Type
20
- [RangeProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L818)
20
+ [RangeProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L819)
21
21
  ## Props
22
22
  @prop value = $bindable()
23
23
  @prop appearance = "none"
@@ -2,7 +2,7 @@ import { type RangeProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [RangeProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L818)
5
+ * [RangeProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L819)
6
6
  * ## Props
7
7
  * @prop value = $bindable()
8
8
  * @prop appearance = "none"
@@ -1,6 +1,7 @@
1
1
  import { type VariantProps } from "tailwind-variants";
2
2
  import type { ClassValue } from "svelte/elements";
3
3
  export type RangeVariants = VariantProps<typeof range>;
4
+ export type RangeTheme = ClassValue;
4
5
  export declare const range: import("tailwind-variants").TVReturnType<{
5
6
  size: {
6
7
  sm: string;
@@ -65,4 +66,3 @@ export declare const range: import("tailwind-variants").TVReturnType<{
65
66
  none: string;
66
67
  };
67
68
  }, undefined, "w-full bg-gray-200 rounded-lg cursor-pointer dark:bg-gray-700", unknown, unknown, undefined>>;
68
- export type RangeTheme = ClassValue;
@@ -2,13 +2,16 @@
2
2
  import { search, type SearchTheme } from ".";
3
3
  import clsx from "clsx";
4
4
  import { CloseButton, type SearchProps } from "../..";
5
- import { getTheme } from "../../theme/themeUtils";
5
+ import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
6
6
 
7
- let { children, inputClass, size, placeholder = "Search", value = $bindable(), elementRef = $bindable(), clearable = false, clearableSvgClass, clearableColor = "none", clearableClass, clearableOnClick, ...restProps }: SearchProps = $props();
7
+ let { children, inputClass, size, placeholder = "Search", value = $bindable(), elementRef = $bindable(), clearable = false, clearableSvgClass, clearableColor = "none", clearableClass, clearableOnClick, class: className, classes, ...restProps }: SearchProps = $props();
8
+
9
+ warnThemeDeprecation("Search", { inputClass, clearableSvgClass, clearableClass }, { inputClass: "input", clearableSvgClass: "svg", clearableClass: "close" });
10
+ let styling = $derived({ input: inputClass, svg: clearableSvgClass, close: clearableClass });
8
11
 
9
12
  const theme = getTheme("search");
10
13
 
11
- const { base, content, icon, closebutton, input: inputCls, leftDiv } = $derived(search({ size }));
14
+ const { base, content, icon, close, input: inputCls, left } = $derived(search({ size }));
12
15
 
13
16
  const clearAll = () => {
14
17
  if (elementRef) {
@@ -19,20 +22,20 @@
19
22
  };
20
23
  </script>
21
24
 
22
- <div class={base({ class: clsx((theme as SearchTheme)?.base) })}>
23
- <div class={leftDiv({ class: clsx((theme as SearchTheme)?.leftDiv) })}>
24
- <svg class={icon({ class: clsx((theme as SearchTheme)?.icon) })} aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
25
+ <div class={base({ class: clsx((theme as SearchTheme)?.base, className) })}>
26
+ <div class={left({ class: clsx((theme as SearchTheme)?.left, classes?.left) })}>
27
+ <svg class={icon({ class: clsx((theme as SearchTheme)?.icon, classes?.icon) })} aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 20 20">
25
28
  <path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m19 19-4-4m0-7A7 7 0 1 1 1 8a7 7 0 0 1 14 0Z" />
26
29
  </svg>
27
30
  </div>
28
- <input type="search" bind:value bind:this={elementRef} class={inputCls({ class: clsx((theme as SearchTheme)?.input, inputClass) })} {placeholder} required {...restProps} />
31
+ <input type="search" bind:value bind:this={elementRef} class={inputCls({ class: clsx((theme as SearchTheme)?.input, styling.input) })} {placeholder} required {...restProps} />
29
32
  {#if children}
30
- <div class={content({ class: clsx((theme as SearchTheme)?.content) })}>
33
+ <div class={content({ class: clsx((theme as SearchTheme)?.content, classes?.content) })}>
31
34
  {@render children()}
32
35
  </div>
33
36
  {/if}
34
37
  {#if value !== undefined && value !== "" && clearable}
35
- <CloseButton onclick={clearAll} class={closebutton({ class: clsx((theme as SearchTheme)?.closebutton, clearableClass) })} color={clearableColor} aria-label="Clear search value" svgClass={clsx(clearableSvgClass)} />
38
+ <CloseButton onclick={clearAll} class={close({ class: clsx((theme as SearchTheme)?.close, styling.close) })} color={clearableColor} aria-label="Clear search value" svgClass={clsx(styling.svg)} />
36
39
  {/if}
37
40
  </div>
38
41
 
@@ -40,7 +43,7 @@
40
43
  @component
41
44
  [Go to docs](https://flowbite-svelte.com/)
42
45
  ## Type
43
- [SearchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L824)
46
+ [SearchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L825)
44
47
  ## Props
45
48
  @prop children
46
49
  @prop inputClass
@@ -53,5 +56,7 @@
53
56
  @prop clearableColor = "none"
54
57
  @prop clearableClass
55
58
  @prop clearableOnClick
59
+ @prop class:className
60
+ @prop classes
56
61
  @prop ...restProps
57
62
  -->
@@ -2,7 +2,7 @@ import { type SearchProps } from "../..";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [SearchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L824)
5
+ * [SearchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L825)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop inputClass
@@ -15,6 +15,8 @@ import { type SearchProps } from "../..";
15
15
  * @prop clearableColor = "none"
16
16
  * @prop clearableClass
17
17
  * @prop clearableOnClick
18
+ * @prop class:className
19
+ * @prop classes
18
20
  * @prop ...restProps
19
21
  */
20
22
  declare const Search: import("svelte").Component<SearchProps, {}, "value" | "elementRef">;