flowbite-svelte 1.23.0 → 1.24.1

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 (332) 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/alert/Alert.svelte +1 -1
  6. package/dist/alert/Alert.svelte.d.ts +1 -1
  7. package/dist/avatar/Avatar.svelte +1 -1
  8. package/dist/avatar/Avatar.svelte.d.ts +1 -1
  9. package/dist/badge/Badge.svelte +1 -1
  10. package/dist/badge/Badge.svelte.d.ts +1 -1
  11. package/dist/banner/Banner.svelte +1 -1
  12. package/dist/banner/Banner.svelte.d.ts +1 -1
  13. package/dist/bottom-navigation/BottomNav.svelte +1 -1
  14. package/dist/bottom-navigation/BottomNav.svelte.d.ts +1 -1
  15. package/dist/bottom-navigation/BottomNavHeader.svelte +1 -1
  16. package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +1 -1
  17. package/dist/bottom-navigation/BottomNavHeaderItem.svelte +1 -1
  18. package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
  19. package/dist/bottom-navigation/BottomNavItem.svelte +1 -1
  20. package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +1 -1
  21. package/dist/breadcrumb/Breadcrumb.svelte +1 -1
  22. package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
  23. package/dist/breadcrumb/BreadcrumbItem.svelte +1 -1
  24. package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
  25. package/dist/button-group/ButtonGroup.svelte +1 -1
  26. package/dist/button-group/ButtonGroup.svelte.d.ts +1 -1
  27. package/dist/buttons/Button.svelte +1 -1
  28. package/dist/buttons/Button.svelte.d.ts +1 -1
  29. package/dist/buttons/GradientButton.svelte +1 -1
  30. package/dist/buttons/GradientButton.svelte.d.ts +1 -1
  31. package/dist/card/Card.svelte +1 -1
  32. package/dist/card/Card.svelte.d.ts +1 -1
  33. package/dist/carousel/Carousel.svelte +1 -1
  34. package/dist/carousel/Carousel.svelte.d.ts +1 -1
  35. package/dist/carousel/CarouselIndicators.svelte +1 -1
  36. package/dist/carousel/CarouselIndicators.svelte.d.ts +1 -1
  37. package/dist/carousel/ControlButton.svelte +1 -1
  38. package/dist/carousel/ControlButton.svelte.d.ts +1 -1
  39. package/dist/carousel/Controls.svelte +1 -1
  40. package/dist/carousel/Controls.svelte.d.ts +1 -1
  41. package/dist/carousel/Slide.svelte +1 -1
  42. package/dist/carousel/Slide.svelte.d.ts +1 -1
  43. package/dist/carousel/Thumbnail.svelte +1 -1
  44. package/dist/carousel/Thumbnail.svelte.d.ts +1 -1
  45. package/dist/carousel/Thumbnails.svelte +1 -1
  46. package/dist/carousel/Thumbnails.svelte.d.ts +1 -1
  47. package/dist/clipboard/Clipboard.svelte +1 -1
  48. package/dist/clipboard/Clipboard.svelte.d.ts +1 -1
  49. package/dist/command-palette/CommandPalette.svelte +1 -1
  50. package/dist/command-palette/CommandPalette.svelte.d.ts +1 -1
  51. package/dist/darkmode/DarkMode.svelte +1 -1
  52. package/dist/darkmode/DarkMode.svelte.d.ts +1 -1
  53. package/dist/device-mockups/Android.svelte +1 -1
  54. package/dist/device-mockups/Android.svelte.d.ts +1 -1
  55. package/dist/device-mockups/DefaultMockup.svelte +1 -1
  56. package/dist/device-mockups/DefaultMockup.svelte.d.ts +1 -1
  57. package/dist/device-mockups/Desktop.svelte +1 -1
  58. package/dist/device-mockups/Desktop.svelte.d.ts +1 -1
  59. package/dist/device-mockups/DeviceMockup.svelte +1 -1
  60. package/dist/device-mockups/DeviceMockup.svelte.d.ts +1 -1
  61. package/dist/device-mockups/Ios.svelte +1 -1
  62. package/dist/device-mockups/Ios.svelte.d.ts +1 -1
  63. package/dist/device-mockups/Laptop.svelte +1 -1
  64. package/dist/device-mockups/Laptop.svelte.d.ts +1 -1
  65. package/dist/device-mockups/Smartwatch.svelte +1 -1
  66. package/dist/device-mockups/Smartwatch.svelte.d.ts +1 -1
  67. package/dist/device-mockups/Tablet.svelte +1 -1
  68. package/dist/device-mockups/Tablet.svelte.d.ts +1 -1
  69. package/dist/dialog/Dialog.svelte +1 -1
  70. package/dist/dialog/Dialog.svelte.d.ts +1 -1
  71. package/dist/drawer/Drawer.svelte +1 -1
  72. package/dist/drawer/Drawer.svelte.d.ts +1 -1
  73. package/dist/drawer/DrawerHandle.svelte +1 -1
  74. package/dist/drawer/DrawerHandle.svelte.d.ts +1 -1
  75. package/dist/drawer/Drawerhead.svelte +1 -1
  76. package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
  77. package/dist/dropdown/Dropdown.svelte +1 -1
  78. package/dist/dropdown/Dropdown.svelte.d.ts +1 -1
  79. package/dist/dropdown/DropdownDivider.svelte +1 -1
  80. package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
  81. package/dist/dropdown/DropdownGroup.svelte +1 -1
  82. package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
  83. package/dist/dropdown/DropdownHeader.svelte +1 -1
  84. package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
  85. package/dist/dropdown/DropdownItem.svelte +1 -1
  86. package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
  87. package/dist/footer/Footer.svelte +1 -1
  88. package/dist/footer/Footer.svelte.d.ts +1 -1
  89. package/dist/footer/FooterBrand.svelte +1 -1
  90. package/dist/footer/FooterBrand.svelte.d.ts +1 -1
  91. package/dist/footer/FooterCopyright.svelte +1 -1
  92. package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
  93. package/dist/footer/FooterIcon.svelte +1 -1
  94. package/dist/footer/FooterIcon.svelte.d.ts +1 -1
  95. package/dist/footer/FooterLink.svelte +1 -1
  96. package/dist/footer/FooterLink.svelte.d.ts +1 -1
  97. package/dist/footer/FooterLinkGroup.svelte +1 -1
  98. package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
  99. package/dist/forms/button-toggle/ButtonToggle.svelte +1 -1
  100. package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +1 -1
  101. package/dist/forms/button-toggle/CheckIcon.svelte +1 -1
  102. package/dist/forms/button-toggle/CheckIcon.svelte.d.ts +1 -1
  103. package/dist/forms/checkbox/CheckboxButton.svelte +1 -1
  104. package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
  105. package/dist/forms/dropzone/Dropzone.svelte +1 -1
  106. package/dist/forms/dropzone/Dropzone.svelte.d.ts +1 -1
  107. package/dist/forms/fileupload/Fileupload.svelte +1 -1
  108. package/dist/forms/fileupload/Fileupload.svelte.d.ts +1 -1
  109. package/dist/forms/floating-label/FloatingLabelInput.svelte +1 -1
  110. package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +1 -1
  111. package/dist/forms/helper/Helper.svelte +1 -1
  112. package/dist/forms/helper/Helper.svelte.d.ts +1 -1
  113. package/dist/forms/input-addon/InputAddon.svelte +1 -1
  114. package/dist/forms/input-addon/InputAddon.svelte.d.ts +1 -1
  115. package/dist/forms/label/Label.svelte +1 -1
  116. package/dist/forms/label/Label.svelte.d.ts +1 -1
  117. package/dist/forms/range/Range.svelte +1 -1
  118. package/dist/forms/range/Range.svelte.d.ts +1 -1
  119. package/dist/forms/search/Search.svelte +1 -1
  120. package/dist/forms/search/Search.svelte.d.ts +1 -1
  121. package/dist/forms/textarea/Textarea.svelte +1 -1
  122. package/dist/forms/textarea/Textarea.svelte.d.ts +1 -1
  123. package/dist/forms/timepicker/Timepicker.svelte +1 -1
  124. package/dist/forms/timepicker/Timepicker.svelte.d.ts +1 -1
  125. package/dist/forms/toggle/Toggle.svelte +1 -1
  126. package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
  127. package/dist/gallery/Gallery.svelte +1 -1
  128. package/dist/gallery/Gallery.svelte.d.ts +1 -1
  129. package/dist/index.d.ts +1 -0
  130. package/dist/index.js +1 -0
  131. package/dist/indicator/Indicator.svelte +1 -1
  132. package/dist/indicator/Indicator.svelte.d.ts +1 -1
  133. package/dist/kanban/KanbanCard.svelte +1 -1
  134. package/dist/kanban/KanbanCard.svelte.d.ts +1 -1
  135. package/dist/kbd/Kbd.svelte +1 -1
  136. package/dist/kbd/Kbd.svelte.d.ts +1 -1
  137. package/dist/list-group/Listgroup.svelte +1 -1
  138. package/dist/list-group/Listgroup.svelte.d.ts +1 -1
  139. package/dist/list-group/ListgroupItem.svelte +1 -1
  140. package/dist/list-group/ListgroupItem.svelte.d.ts +1 -1
  141. package/dist/mega-menu/MegaMenu.svelte +1 -1
  142. package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
  143. package/dist/modal/Modal.svelte +1 -1
  144. package/dist/modal/Modal.svelte.d.ts +1 -1
  145. package/dist/navbar/Menu.svelte +1 -1
  146. package/dist/navbar/Menu.svelte.d.ts +1 -1
  147. package/dist/navbar/NavBrand.svelte +1 -1
  148. package/dist/navbar/NavBrand.svelte.d.ts +1 -1
  149. package/dist/navbar/NavContainer.svelte +1 -1
  150. package/dist/navbar/NavContainer.svelte.d.ts +1 -1
  151. package/dist/navbar/NavHamburger.svelte +1 -1
  152. package/dist/navbar/NavHamburger.svelte.d.ts +1 -1
  153. package/dist/navbar/NavLi.svelte +1 -1
  154. package/dist/navbar/NavLi.svelte.d.ts +1 -1
  155. package/dist/navbar/NavUl.svelte +1 -1
  156. package/dist/navbar/NavUl.svelte.d.ts +1 -1
  157. package/dist/navbar/Navbar.svelte +1 -1
  158. package/dist/navbar/Navbar.svelte.d.ts +1 -1
  159. package/dist/pagination/Pagination.svelte +1 -1
  160. package/dist/pagination/Pagination.svelte.d.ts +1 -1
  161. package/dist/pagination/PaginationButton.svelte +1 -1
  162. package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
  163. package/dist/pagination/PaginationItem.svelte +1 -1
  164. package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
  165. package/dist/pagination/PaginationNav.svelte +1 -1
  166. package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
  167. package/dist/popover/Popover.svelte +1 -1
  168. package/dist/popover/Popover.svelte.d.ts +1 -1
  169. package/dist/progress/Progressbar.svelte +1 -1
  170. package/dist/progress/Progressbar.svelte.d.ts +1 -1
  171. package/dist/progress/Progressradial.svelte +1 -1
  172. package/dist/progress/Progressradial.svelte.d.ts +1 -1
  173. package/dist/rating/AdvancedRating.svelte +1 -1
  174. package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
  175. package/dist/rating/CustomIcon.svelte +1 -1
  176. package/dist/rating/CustomIcon.svelte.d.ts +1 -1
  177. package/dist/rating/Heart.svelte +1 -1
  178. package/dist/rating/Heart.svelte.d.ts +1 -1
  179. package/dist/rating/Rating.svelte +1 -1
  180. package/dist/rating/Rating.svelte.d.ts +1 -1
  181. package/dist/rating/RatingComment.svelte +1 -1
  182. package/dist/rating/RatingComment.svelte.d.ts +1 -1
  183. package/dist/rating/Review.svelte +1 -1
  184. package/dist/rating/Review.svelte.d.ts +1 -1
  185. package/dist/rating/ScoreRating.svelte +1 -1
  186. package/dist/rating/ScoreRating.svelte.d.ts +1 -1
  187. package/dist/rating/Star.svelte +1 -1
  188. package/dist/rating/Star.svelte.d.ts +1 -1
  189. package/dist/rating/Thumbup.svelte +1 -1
  190. package/dist/rating/Thumbup.svelte.d.ts +1 -1
  191. package/dist/scroll-spy/ScrollSpy.svelte +273 -0
  192. package/dist/scroll-spy/ScrollSpy.svelte.d.ts +23 -0
  193. package/dist/scroll-spy/index.d.ts +2 -0
  194. package/dist/scroll-spy/index.js +2 -0
  195. package/dist/scroll-spy/theme.d.ts +148 -0
  196. package/dist/scroll-spy/theme.js +66 -0
  197. package/dist/sidebar/Sidebar.svelte +1 -1
  198. package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
  199. package/dist/sidebar/SidebarBrand.svelte +1 -1
  200. package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
  201. package/dist/sidebar/SidebarButton.svelte +1 -1
  202. package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
  203. package/dist/sidebar/SidebarCta.svelte +1 -1
  204. package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
  205. package/dist/sidebar/SidebarDropdownWrapper.svelte +1 -1
  206. package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
  207. package/dist/sidebar/SidebarGroup.svelte +1 -1
  208. package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
  209. package/dist/sidebar/SidebarItem.svelte +1 -1
  210. package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
  211. package/dist/skeleton/CardPlaceholder.svelte +1 -1
  212. package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
  213. package/dist/skeleton/ImagePlaceholder.svelte +1 -1
  214. package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
  215. package/dist/skeleton/ListPlaceholder.svelte +1 -1
  216. package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
  217. package/dist/skeleton/Skeleton.svelte +1 -1
  218. package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
  219. package/dist/skeleton/TestimonialPlaceholder.svelte +1 -1
  220. package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
  221. package/dist/skeleton/TextPlaceholder.svelte +1 -1
  222. package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
  223. package/dist/skeleton/VideoPlaceholder.svelte +1 -1
  224. package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
  225. package/dist/skeleton/WidgetPlaceholder.svelte +1 -1
  226. package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
  227. package/dist/speed-dial/SpeedDial.svelte +1 -1
  228. package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
  229. package/dist/speed-dial/SpeedDialButton.svelte +1 -1
  230. package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
  231. package/dist/speed-dial/SpeedDialTrigger.svelte +1 -1
  232. package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
  233. package/dist/spinner/Spinner.svelte +1 -1
  234. package/dist/spinner/Spinner.svelte.d.ts +1 -1
  235. package/dist/split-pane/Divider.svelte +4 -2
  236. package/dist/split-pane/Divider.svelte.d.ts +2 -1
  237. package/dist/split-pane/Pane.svelte +10 -2
  238. package/dist/split-pane/Pane.svelte.d.ts +1 -1
  239. package/dist/split-pane/SplitPane.svelte +80 -1
  240. package/dist/split-pane/SplitPane.svelte.d.ts +2 -1
  241. package/dist/step-indicator/StepIndicator.svelte +1 -1
  242. package/dist/step-indicator/StepIndicator.svelte.d.ts +1 -1
  243. package/dist/stepper/BreadcrumbStepper.svelte +1 -1
  244. package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
  245. package/dist/stepper/DetailedStepper.svelte +1 -1
  246. package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
  247. package/dist/stepper/ProgressStepper.svelte +1 -1
  248. package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
  249. package/dist/stepper/Stepper.svelte +1 -1
  250. package/dist/stepper/Stepper.svelte.d.ts +1 -1
  251. package/dist/stepper/TimelineStepper.svelte +1 -1
  252. package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
  253. package/dist/stepper/VerticalStepper.svelte +1 -1
  254. package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
  255. package/dist/table/Table.svelte +1 -1
  256. package/dist/table/Table.svelte.d.ts +1 -1
  257. package/dist/table/TableBody.svelte +1 -1
  258. package/dist/table/TableBody.svelte.d.ts +1 -1
  259. package/dist/table/TableBodyCell.svelte +1 -1
  260. package/dist/table/TableBodyCell.svelte.d.ts +1 -1
  261. package/dist/table/TableBodyRow.svelte +1 -1
  262. package/dist/table/TableBodyRow.svelte.d.ts +1 -1
  263. package/dist/table/TableHead.svelte +1 -1
  264. package/dist/table/TableHead.svelte.d.ts +1 -1
  265. package/dist/table/TableHeadCell.svelte +1 -1
  266. package/dist/table/TableHeadCell.svelte.d.ts +1 -1
  267. package/dist/table/TableSearch.svelte +1 -1
  268. package/dist/table/TableSearch.svelte.d.ts +1 -1
  269. package/dist/tabs/TabItem.svelte +1 -1
  270. package/dist/tabs/TabItem.svelte.d.ts +1 -1
  271. package/dist/tabs/Tabs.svelte +1 -1
  272. package/dist/tabs/Tabs.svelte.d.ts +1 -1
  273. package/dist/theme/themes.d.ts +1 -0
  274. package/dist/theme/themes.js +1 -0
  275. package/dist/timeline/Activity.svelte +1 -1
  276. package/dist/timeline/Activity.svelte.d.ts +1 -1
  277. package/dist/timeline/ActivityItem.svelte +1 -1
  278. package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
  279. package/dist/timeline/Group.svelte +1 -1
  280. package/dist/timeline/Group.svelte.d.ts +1 -1
  281. package/dist/timeline/GroupItem.svelte +1 -1
  282. package/dist/timeline/GroupItem.svelte.d.ts +1 -1
  283. package/dist/timeline/Timeline.svelte +1 -1
  284. package/dist/timeline/Timeline.svelte.d.ts +1 -1
  285. package/dist/timeline/TimelineItem.svelte +1 -1
  286. package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
  287. package/dist/toast/Toast.svelte +1 -1
  288. package/dist/toast/Toast.svelte.d.ts +1 -1
  289. package/dist/toolbar/Toolbar.svelte +1 -1
  290. package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
  291. package/dist/toolbar/ToolbarButton.svelte +1 -1
  292. package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
  293. package/dist/toolbar/ToolbarGroup.svelte +1 -1
  294. package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
  295. package/dist/tooltip/Tooltip.svelte +1 -1
  296. package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
  297. package/dist/types.d.ts +31 -0
  298. package/dist/typography/a/A.svelte +1 -1
  299. package/dist/typography/a/A.svelte.d.ts +1 -1
  300. package/dist/typography/blockquote/Blockquote.svelte +1 -1
  301. package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
  302. package/dist/typography/descriptionlist/DescriptionList.svelte +1 -1
  303. package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
  304. package/dist/typography/heading/Heading.svelte +1 -1
  305. package/dist/typography/heading/Heading.svelte.d.ts +1 -1
  306. package/dist/typography/img/EnhancedImg.svelte +1 -1
  307. package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
  308. package/dist/typography/img/Img.svelte +1 -1
  309. package/dist/typography/img/Img.svelte.d.ts +1 -1
  310. package/dist/typography/layout/Layout.svelte +1 -1
  311. package/dist/typography/layout/Layout.svelte.d.ts +1 -1
  312. package/dist/typography/list/Li.svelte +1 -1
  313. package/dist/typography/list/Li.svelte.d.ts +1 -1
  314. package/dist/typography/list/List.svelte +1 -1
  315. package/dist/typography/list/List.svelte.d.ts +1 -1
  316. package/dist/typography/mark/Mark.svelte +1 -1
  317. package/dist/typography/mark/Mark.svelte.d.ts +1 -1
  318. package/dist/typography/paragraph/P.svelte +1 -1
  319. package/dist/typography/paragraph/P.svelte.d.ts +1 -1
  320. package/dist/typography/secondary/Secondary.svelte +1 -1
  321. package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
  322. package/dist/typography/span/Span.svelte +1 -1
  323. package/dist/typography/span/Span.svelte.d.ts +1 -1
  324. package/dist/utils/Arrow.svelte +1 -1
  325. package/dist/utils/Arrow.svelte.d.ts +1 -1
  326. package/dist/utils/CloseButton.svelte +1 -1
  327. package/dist/utils/CloseButton.svelte.d.ts +1 -1
  328. package/dist/utils/Popper.svelte +1 -1
  329. package/dist/utils/Popper.svelte.d.ts +1 -1
  330. package/dist/video/Video.svelte +1 -1
  331. package/dist/video/Video.svelte.d.ts +1 -1
  332. package/package.json +5 -1
@@ -2,7 +2,7 @@ import type { RatingCommentProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [RatingCommentProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1302)
5
+ * [RatingCommentProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1303)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop evaluation
@@ -98,7 +98,7 @@
98
98
  @component
99
99
  [Go to docs](https://flowbite-svelte.com/)
100
100
  ## Type
101
- [ReviewProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1338)
101
+ [ReviewProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1339)
102
102
  ## Props
103
103
  @prop children
104
104
  @prop address
@@ -2,7 +2,7 @@ import type { ReviewProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [ReviewProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1338)
5
+ * [ReviewProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1339)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop address
@@ -69,7 +69,7 @@
69
69
  @component
70
70
  [Go to docs](https://flowbite-svelte.com/)
71
71
  ## Type
72
- [ScoreRatingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1354)
72
+ [ScoreRatingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1355)
73
73
  ## Props
74
74
  @prop ratings
75
75
  @prop ratings2
@@ -2,7 +2,7 @@ import type { ScoreRatingProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [ScoreRatingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1354)
5
+ * [ScoreRatingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1355)
6
6
  * ## Props
7
7
  * @prop ratings
8
8
  * @prop ratings2
@@ -46,7 +46,7 @@
46
46
  @component
47
47
  [Go to docs](https://flowbite-svelte.com/)
48
48
  ## Type
49
- [RatingIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1365)
49
+ [RatingIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1366)
50
50
  ## Props
51
51
  @prop fillPercent = 100
52
52
  @prop fillColor = "#F5CA14"
@@ -2,7 +2,7 @@ import type { RatingIconProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [RatingIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1365)
5
+ * [RatingIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1366)
6
6
  * ## Props
7
7
  * @prop fillPercent = 100
8
8
  * @prop fillColor = "#F5CA14"
@@ -45,7 +45,7 @@
45
45
  @component
46
46
  [Go to docs](https://flowbite-svelte.com/)
47
47
  ## Type
48
- [RatingIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1365)
48
+ [RatingIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1366)
49
49
  ## Props
50
50
  @prop fillPercent = 100
51
51
  @prop fillColor = "#00b500"
@@ -2,7 +2,7 @@ import type { RatingIconProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [RatingIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1365)
5
+ * [RatingIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1366)
6
6
  * ## Props
7
7
  * @prop fillPercent = 100
8
8
  * @prop fillColor = "#00b500"
@@ -0,0 +1,273 @@
1
+ <script lang="ts">
2
+ import { scrollspy } from "./theme";
3
+ import type { ScrollSpyProps } from "../types";
4
+ import { getTheme } from "../theme/themeUtils";
5
+ import clsx from "clsx";
6
+
7
+ let {
8
+ items,
9
+ position = "top",
10
+ offset = 0,
11
+ sticky = true,
12
+ activeClass = "",
13
+ inactiveClass = "",
14
+ class: className = "",
15
+ smoothScroll = true,
16
+ scrollContainer,
17
+ onActiveChange,
18
+ onNavigate,
19
+ classes,
20
+ ...restProps
21
+ }: ScrollSpyProps = $props();
22
+
23
+ const browser = typeof window !== "undefined";
24
+ const styles = getTheme("scrollspy");
25
+ const INTERSECTION_RATIO_EPSILON = 0.01;
26
+ // Bottom margin determines how far up the viewport a section must scroll before becoming inactive
27
+ const ROOT_MARGIN_BOTTOM = "-40%";
28
+
29
+ let activeId = $state<string>(items.length > 0 ? items[0].id : "");
30
+ let isSticky = $state(false);
31
+ let navElement: HTMLElement | null = $state(null);
32
+ let scrollElement: Window | HTMLElement | null = $state(browser ? window : null);
33
+
34
+ // Track intersecting sections and their IntersectionObserverEntries
35
+ let intersectingSections = $state<Map<string, IntersectionObserverEntry>>(new Map());
36
+
37
+ const theme = $derived.by(() => {
38
+ const { base, container, list, li } = scrollspy({
39
+ position,
40
+ sticky,
41
+ isSticky
42
+ });
43
+
44
+ const { link: activeLink } = scrollspy({ active: true });
45
+ const { link: inactiveLink } = scrollspy({ active: false });
46
+
47
+ return {
48
+ base: base({ class: clsx(styles?.base, className) }),
49
+ container: container({ class: clsx(styles?.container, classes?.container) }),
50
+ list: list({ class: clsx(styles?.list, classes?.list) }),
51
+ activeLink: activeLink({ class: clsx(styles?.link, classes?.link) }),
52
+ inactiveLink: inactiveLink({ class: clsx(styles?.link, classes?.link) }),
53
+ li: li({ class: clsx(styles?.li, classes?.li) })
54
+ };
55
+ });
56
+
57
+ function getItemClass(itemId: string): string {
58
+ const isActive = activeId === itemId;
59
+ const link = isActive ? theme.activeLink : theme.inactiveLink;
60
+
61
+ const customClass = isActive ? activeClass : inactiveClass;
62
+
63
+ return clsx(link, customClass);
64
+ }
65
+
66
+ function scrollToSection(itemId: string, event?: MouseEvent) {
67
+ if (!browser) return;
68
+
69
+ if (event) event.preventDefault();
70
+
71
+ const element = document.getElementById(itemId);
72
+ if (!element) {
73
+ console.warn(`ScrollSpy: Element with id "${itemId}" not found`);
74
+ return;
75
+ }
76
+
77
+ const container = !scrollElement || scrollElement === window ? window : scrollElement;
78
+ const isWindow = container === window;
79
+
80
+ const elementRect = element.getBoundingClientRect();
81
+ let targetPosition: number;
82
+
83
+ if (isWindow) {
84
+ const currentScrollY = window.scrollY || window.pageYOffset || document.documentElement.scrollTop;
85
+ targetPosition = elementRect.top + currentScrollY - offset;
86
+ } else {
87
+ const currentScrollTop = (container as HTMLElement).scrollTop; // Type assertion
88
+ const containerRect = (container as HTMLElement).getBoundingClientRect(); // Type assertion
89
+ targetPosition = elementRect.top - containerRect.top + currentScrollTop - offset;
90
+ }
91
+
92
+ try {
93
+ if (isWindow) {
94
+ window.scrollTo({
95
+ top: targetPosition,
96
+ behavior: smoothScroll ? "smooth" : "auto"
97
+ });
98
+ } else {
99
+ (container as HTMLElement).scrollTo({
100
+ // Type assertion
101
+ top: targetPosition,
102
+ behavior: smoothScroll ? "smooth" : "auto"
103
+ });
104
+ }
105
+ } catch (error) {
106
+ console.error("Scroll error:", error);
107
+ }
108
+
109
+ activeId = itemId;
110
+ onNavigate?.(itemId);
111
+ }
112
+
113
+ function handleKeydown(event: KeyboardEvent, itemId: string) {
114
+ if (event.key === "Enter" || event.key === " ") {
115
+ event.preventDefault();
116
+ scrollToSection(itemId);
117
+ }
118
+ }
119
+
120
+ function updateActiveSection() {
121
+ if (intersectingSections.size === 0) {
122
+ // No sections visible — highlight first item
123
+ if (activeId !== items[0]?.id) {
124
+ activeId = items[0]?.id || "";
125
+ onActiveChange?.(activeId);
126
+ }
127
+ return;
128
+ }
129
+
130
+ // Sort by intersection ratio descending, then by items order ascending
131
+ const itemIndexMap = new Map(items.map((item, index) => [item.id, index]));
132
+ const sorted = Array.from(intersectingSections.entries()).sort((a, b) => {
133
+ const ratioA = a[1].intersectionRatio;
134
+ const ratioB = b[1].intersectionRatio;
135
+
136
+ if (Math.abs(ratioA - ratioB) > INTERSECTION_RATIO_EPSILON) {
137
+ return ratioB - ratioA;
138
+ }
139
+
140
+ const indexA = itemIndexMap.get(a[0]) ?? -1;
141
+ const indexB = itemIndexMap.get(b[0]) ?? -1;
142
+ return indexA - indexB;
143
+ });
144
+
145
+ const [newActiveId] = sorted[0];
146
+
147
+ if (activeId !== newActiveId) {
148
+ activeId = newActiveId;
149
+ onActiveChange?.(newActiveId);
150
+ }
151
+ }
152
+
153
+ function setupIntersectionObserver() {
154
+ if (!browser) return { disconnect: () => {} };
155
+
156
+ const root = scrollContainer ? document.querySelector(scrollContainer) : null;
157
+ if (scrollContainer && !root) {
158
+ console.warn("ScrollSpy: Scroll container not found:", scrollContainer);
159
+ }
160
+
161
+ const rootMargin = `-${offset}px 0px ${ROOT_MARGIN_BOTTOM} 0px`;
162
+ // Use threshold range 0.0 → 1.0 in 0.1 steps for smooth updates with better performance
163
+ const thresholds = Array.from({ length: 11 }, (_, i) => i / 10);
164
+
165
+ const observer = new IntersectionObserver(
166
+ (entries) => {
167
+ entries.forEach((entry) => {
168
+ const id = entry.target.id;
169
+ if (entry.isIntersecting) {
170
+ intersectingSections.set(id, entry);
171
+ } else {
172
+ intersectingSections.delete(id);
173
+ }
174
+ });
175
+ updateActiveSection();
176
+ },
177
+ {
178
+ root,
179
+ rootMargin,
180
+ threshold: thresholds
181
+ }
182
+ );
183
+
184
+ items.forEach((item) => {
185
+ const element = document.getElementById(item.id);
186
+ if (element) observer.observe(element);
187
+ else console.warn(`ScrollSpy: Section with id "${item.id}" not found in DOM`);
188
+ });
189
+
190
+ return observer;
191
+ }
192
+
193
+ function handleScroll() {
194
+ if (!browser || !navElement || !sticky || !scrollElement) return;
195
+
196
+ const container = scrollElement instanceof Window ? window : scrollElement;
197
+ const isWindow = container === window;
198
+
199
+ const scrollPosition = isWindow ? window.scrollY : (container as HTMLElement).scrollTop; // Type assertion here
200
+
201
+ isSticky = scrollPosition > 0;
202
+ updateActiveSection();
203
+ }
204
+
205
+ $effect(() => {
206
+ if (!browser) return;
207
+
208
+ if (scrollContainer) {
209
+ const container = document.querySelector(scrollContainer);
210
+ if (container instanceof HTMLElement) scrollElement = container;
211
+ else {
212
+ console.warn("ScrollSpy: Scroll container not found:", scrollContainer);
213
+ scrollElement = window;
214
+ }
215
+ } else {
216
+ scrollElement = window;
217
+ }
218
+
219
+ const observer = setupIntersectionObserver();
220
+
221
+ const container = scrollElement instanceof Window ? window : scrollElement;
222
+ container.addEventListener("scroll", handleScroll, { passive: true });
223
+ handleScroll();
224
+
225
+ return () => {
226
+ observer.disconnect();
227
+ container.removeEventListener("scroll", handleScroll);
228
+ };
229
+ });
230
+ </script>
231
+
232
+ <nav {...restProps} bind:this={navElement} class={theme.base} aria-label="Scroll spy navigation">
233
+ <div class={theme.container}>
234
+ <ul class={theme.list} role="list">
235
+ {#each items as item (item.id)}
236
+ <li class={theme.li}>
237
+ <a
238
+ href={item.href || `#${item.id}`}
239
+ class={getItemClass(item.id)}
240
+ aria-current={activeId === item.id ? "location" : undefined}
241
+ onclick={(e) => {
242
+ scrollToSection(item.id, e);
243
+ }}
244
+ onkeydown={(e) => handleKeydown(e, item.id)}
245
+ >
246
+ {item.label}
247
+ </a>
248
+ </li>
249
+ {/each}
250
+ </ul>
251
+ </div>
252
+ </nav>
253
+
254
+ <!--
255
+ @component
256
+ [Go to docs](https://flowbite-svelte.com/)
257
+ ## Type
258
+ [ScrollSpyProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2205)
259
+ ## Props
260
+ @prop items
261
+ @prop position = "top"
262
+ @prop offset = 0
263
+ @prop sticky = true
264
+ @prop activeClass = ""
265
+ @prop inactiveClass = ""
266
+ @prop class: className = ""
267
+ @prop smoothScroll = true
268
+ @prop scrollContainer
269
+ @prop onActiveChange
270
+ @prop onNavigate
271
+ @prop classes
272
+ @prop ...restProps
273
+ -->
@@ -0,0 +1,23 @@
1
+ import type { ScrollSpyProps } from "../types";
2
+ /**
3
+ * [Go to docs](https://flowbite-svelte.com/)
4
+ * ## Type
5
+ * [ScrollSpyProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L2205)
6
+ * ## Props
7
+ * @prop items
8
+ * @prop position = "top"
9
+ * @prop offset = 0
10
+ * @prop sticky = true
11
+ * @prop activeClass = ""
12
+ * @prop inactiveClass = ""
13
+ * @prop class: className = ""
14
+ * @prop smoothScroll = true
15
+ * @prop scrollContainer
16
+ * @prop onActiveChange
17
+ * @prop onNavigate
18
+ * @prop classes
19
+ * @prop ...restProps
20
+ */
21
+ declare const ScrollSpy: import("svelte").Component<ScrollSpyProps, {}, "">;
22
+ type ScrollSpy = ReturnType<typeof ScrollSpy>;
23
+ export default ScrollSpy;
@@ -0,0 +1,2 @@
1
+ export { default as ScrollSpy } from "./ScrollSpy.svelte";
2
+ export { scrollspy } from "./theme";
@@ -0,0 +1,2 @@
1
+ export { default as ScrollSpy } from "./ScrollSpy.svelte";
2
+ export { scrollspy } from "./theme";
@@ -0,0 +1,148 @@
1
+ import { type VariantProps } from "tailwind-variants";
2
+ import type { Classes } from "../theme/themeUtils";
3
+ export type ScrollSpyVariants = VariantProps<typeof scrollspy> & Classes<typeof scrollspy>;
4
+ export declare const scrollspy: import("tailwind-variants").TVReturnType<{
5
+ position: {
6
+ top: {
7
+ base: string;
8
+ container: string;
9
+ list: string;
10
+ };
11
+ left: {
12
+ base: string;
13
+ container: string;
14
+ list: string;
15
+ };
16
+ right: {
17
+ base: string;
18
+ container: string;
19
+ list: string;
20
+ };
21
+ };
22
+ sticky: {
23
+ true: {
24
+ base: string;
25
+ };
26
+ false: {
27
+ base: string;
28
+ };
29
+ };
30
+ isSticky: {
31
+ true: {
32
+ base: string;
33
+ };
34
+ false: {
35
+ base: string;
36
+ };
37
+ };
38
+ active: {
39
+ true: {
40
+ link: string;
41
+ };
42
+ false: {
43
+ link: string;
44
+ };
45
+ };
46
+ }, {
47
+ base: string;
48
+ container: string;
49
+ list: string;
50
+ link: string;
51
+ li: string;
52
+ }, undefined, {
53
+ position: {
54
+ top: {
55
+ base: string;
56
+ container: string;
57
+ list: string;
58
+ };
59
+ left: {
60
+ base: string;
61
+ container: string;
62
+ list: string;
63
+ };
64
+ right: {
65
+ base: string;
66
+ container: string;
67
+ list: string;
68
+ };
69
+ };
70
+ sticky: {
71
+ true: {
72
+ base: string;
73
+ };
74
+ false: {
75
+ base: string;
76
+ };
77
+ };
78
+ isSticky: {
79
+ true: {
80
+ base: string;
81
+ };
82
+ false: {
83
+ base: string;
84
+ };
85
+ };
86
+ active: {
87
+ true: {
88
+ link: string;
89
+ };
90
+ false: {
91
+ link: string;
92
+ };
93
+ };
94
+ }, {
95
+ base: string;
96
+ container: string;
97
+ list: string;
98
+ link: string;
99
+ li: string;
100
+ }, import("tailwind-variants").TVReturnType<{
101
+ position: {
102
+ top: {
103
+ base: string;
104
+ container: string;
105
+ list: string;
106
+ };
107
+ left: {
108
+ base: string;
109
+ container: string;
110
+ list: string;
111
+ };
112
+ right: {
113
+ base: string;
114
+ container: string;
115
+ list: string;
116
+ };
117
+ };
118
+ sticky: {
119
+ true: {
120
+ base: string;
121
+ };
122
+ false: {
123
+ base: string;
124
+ };
125
+ };
126
+ isSticky: {
127
+ true: {
128
+ base: string;
129
+ };
130
+ false: {
131
+ base: string;
132
+ };
133
+ };
134
+ active: {
135
+ true: {
136
+ link: string;
137
+ };
138
+ false: {
139
+ link: string;
140
+ };
141
+ };
142
+ }, {
143
+ base: string;
144
+ container: string;
145
+ list: string;
146
+ link: string;
147
+ li: string;
148
+ }, undefined, unknown, unknown, undefined>>;
@@ -0,0 +1,66 @@
1
+ import { tv } from "tailwind-variants";
2
+ export const scrollspy = tv({
3
+ slots: {
4
+ base: "bg-white dark:bg-gray-900 p-2 transition-all duration-300 z-40 border-b border-gray-200 dark:border-gray-700",
5
+ container: "",
6
+ list: "",
7
+ link: "px-4 py-2.5 transition-all duration-200 cursor-pointer rounded-sm focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-gray-900",
8
+ li: "p-2 m-1"
9
+ },
10
+ variants: {
11
+ position: {
12
+ top: {
13
+ base: "top-0 left-0 right-0 w-full",
14
+ container: "container mx-auto px-4",
15
+ list: "flex space-x-1 overflow-x-auto scrollbar-none"
16
+ },
17
+ left: {
18
+ base: "fixed left-0 top-0 bottom-0 h-full w-64 overflow-y-auto",
19
+ container: "px-4 py-4",
20
+ list: "flex flex-col space-y-1"
21
+ },
22
+ right: {
23
+ base: "fixed right-0 top-0 bottom-0 h-full w-64 overflow-y-auto",
24
+ container: "px-4 py-4",
25
+ list: "flex flex-col space-y-1"
26
+ }
27
+ },
28
+ sticky: {
29
+ true: {
30
+ base: ""
31
+ },
32
+ false: {
33
+ base: ""
34
+ }
35
+ },
36
+ isSticky: {
37
+ true: {
38
+ base: "shadow-lg"
39
+ },
40
+ false: {
41
+ base: ""
42
+ }
43
+ },
44
+ active: {
45
+ true: {
46
+ link: "text-primary-700 dark:text-primary-400 bg-primary-50 dark:bg-primary-900/30 font-semibold focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-gray-900"
47
+ },
48
+ false: {
49
+ link: "text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-white hover:bg-gray-100 dark:hover:bg-gray-800"
50
+ }
51
+ }
52
+ },
53
+ defaultVariants: {
54
+ position: "top",
55
+ sticky: true,
56
+ isSticky: false,
57
+ active: false
58
+ },
59
+ compoundVariants: [
60
+ {
61
+ position: "top",
62
+ sticky: true,
63
+ class: { base: "sticky" }
64
+ }
65
+ ]
66
+ });
@@ -127,7 +127,7 @@
127
127
  @component
128
128
  [Go to docs](https://flowbite-svelte.com/)
129
129
  ## Type
130
- [SidebarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1388)
130
+ [SidebarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1389)
131
131
  ## Props
132
132
  @prop children
133
133
  @prop isOpen = false
@@ -2,7 +2,7 @@ import type { SidebarProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [SidebarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1388)
5
+ * [SidebarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1389)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop isOpen = false
@@ -32,7 +32,7 @@
32
32
  @component
33
33
  [Go to docs](https://flowbite-svelte.com/)
34
34
  ## Type
35
- [SidebarBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1425)
35
+ [SidebarBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1426)
36
36
  ## Props
37
37
  @prop children
38
38
  @prop site
@@ -2,7 +2,7 @@ import type { SidebarBrandProps } from "../types";
2
2
  /**
3
3
  * [Go to docs](https://flowbite-svelte.com/)
4
4
  * ## Type
5
- * [SidebarBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1425)
5
+ * [SidebarBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1426)
6
6
  * ## Props
7
7
  * @prop children
8
8
  * @prop site
@@ -26,7 +26,7 @@
26
26
  @component
27
27
  [Go to docs](https://flowbite-svelte.com/)
28
28
  ## Type
29
- [SidebarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1407)
29
+ [SidebarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1408)
30
30
  ## Props
31
31
  @prop breakpoint = "md"
32
32
  @prop class: className
@@ -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#L1407)
5
+ * [SidebarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1408)
6
6
  * ## Props
7
7
  * @prop breakpoint = "md"
8
8
  * @prop class: className
@@ -33,7 +33,7 @@
33
33
  @component
34
34
  [Go to docs](https://flowbite-svelte.com/)
35
35
  ## Type
36
- [SidebarCtaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1412)
36
+ [SidebarCtaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1413)
37
37
  ## Props
38
38
  @prop children
39
39
  @prop icon