flowbite-svelte 2.0.0-next.2 → 2.0.0-next.3
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.
- package/dist/accordion/Accordion.svelte +6 -2
- package/dist/accordion/Accordion.svelte.d.ts +1 -0
- package/dist/accordion/AccordionItem.svelte +12 -3
- package/dist/accordion/AccordionItem.svelte.d.ts +1 -1
- package/dist/accordion/theme.d.ts +1 -1
- package/dist/alert/Alert.svelte +10 -3
- package/dist/alert/Alert.svelte.d.ts +1 -1
- package/dist/avatar/Avatar.svelte +2 -2
- package/dist/avatar/Avatar.svelte.d.ts +1 -1
- package/dist/badge/Badge.svelte +10 -3
- package/dist/badge/Badge.svelte.d.ts +1 -1
- package/dist/badge/theme.d.ts +1 -1
- package/dist/banner/Banner.svelte +10 -3
- package/dist/banner/Banner.svelte.d.ts +1 -1
- package/dist/banner/theme.d.ts +1 -1
- package/dist/bottom-navigation/BottomNav.svelte +2 -2
- package/dist/bottom-navigation/BottomNav.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavHeader.svelte +2 -2
- package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte +2 -2
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavItem.svelte +2 -2
- package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +1 -1
- package/dist/bottom-navigation/theme.d.ts +1 -1
- package/dist/breadcrumb/Breadcrumb.svelte +2 -2
- package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.svelte +2 -2
- package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
- package/dist/breadcrumb/theme.d.ts +1 -1
- package/dist/button-group/ButtonGroup.svelte +2 -2
- package/dist/button-group/ButtonGroup.svelte.d.ts +1 -1
- package/dist/buttons/Button.svelte +1 -1
- package/dist/buttons/GradientButton.svelte +2 -2
- package/dist/buttons/GradientButton.svelte.d.ts +1 -1
- package/dist/card/Card.svelte +2 -2
- package/dist/card/Card.svelte.d.ts +1 -1
- package/dist/card/theme.d.ts +1 -1
- package/dist/carousel/Carousel.svelte +2 -2
- package/dist/carousel/Carousel.svelte.d.ts +1 -1
- package/dist/carousel/CarouselIndicators.svelte +2 -2
- package/dist/carousel/CarouselIndicators.svelte.d.ts +1 -1
- package/dist/carousel/ControlButton.svelte +2 -2
- package/dist/carousel/ControlButton.svelte.d.ts +1 -1
- package/dist/carousel/Controls.svelte +2 -2
- package/dist/carousel/Controls.svelte.d.ts +1 -1
- package/dist/carousel/Slide.svelte +8 -4
- package/dist/carousel/Slide.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnail.svelte +2 -2
- package/dist/carousel/Thumbnail.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnails.svelte +2 -2
- package/dist/carousel/Thumbnails.svelte.d.ts +1 -1
- package/dist/carousel/theme.d.ts +1 -1
- package/dist/clipboard/Clipboard.svelte +2 -2
- package/dist/clipboard/Clipboard.svelte.d.ts +1 -1
- package/dist/context.d.ts +1 -1
- package/dist/darkmode/DarkMode.svelte +2 -2
- package/dist/darkmode/DarkMode.svelte.d.ts +1 -1
- package/dist/darkmode/theme.d.ts +1 -1
- package/dist/darkmode/theme.js +1 -1
- package/dist/datepicker/Datepicker.svelte +10 -2
- package/dist/datepicker/theme.d.ts +1 -1
- package/dist/device-mockups/Android.svelte +2 -2
- package/dist/device-mockups/Android.svelte.d.ts +1 -1
- package/dist/device-mockups/DefaultMockup.svelte +2 -2
- package/dist/device-mockups/DefaultMockup.svelte.d.ts +1 -1
- package/dist/device-mockups/Desktop.svelte +2 -2
- package/dist/device-mockups/Desktop.svelte.d.ts +1 -1
- package/dist/device-mockups/DeviceMockup.svelte +1 -1
- package/dist/device-mockups/DeviceMockup.svelte.d.ts +1 -1
- package/dist/device-mockups/Ios.svelte +2 -2
- package/dist/device-mockups/Ios.svelte.d.ts +1 -1
- package/dist/device-mockups/Laptop.svelte +2 -2
- package/dist/device-mockups/Laptop.svelte.d.ts +1 -1
- package/dist/device-mockups/Smartwatch.svelte +2 -2
- package/dist/device-mockups/Smartwatch.svelte.d.ts +1 -1
- package/dist/device-mockups/Tablet.svelte +2 -2
- package/dist/device-mockups/Tablet.svelte.d.ts +1 -1
- package/dist/device-mockups/theme.d.ts +1 -1
- package/dist/dialog/Dialog.svelte +10 -3
- package/dist/dialog/Dialog.svelte.d.ts +1 -1
- package/dist/dialog/theme.d.ts +1 -1
- package/dist/drawer/Drawer.svelte +8 -3
- package/dist/drawer/Drawer.svelte.d.ts +1 -1
- package/dist/drawer/DrawerHandle.svelte +2 -2
- package/dist/drawer/DrawerHandle.svelte.d.ts +1 -1
- package/dist/drawer/Drawerhead.svelte +2 -2
- package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
- package/dist/drawer/theme.d.ts +1 -1
- package/dist/drawer/theme.js +1 -1
- package/dist/dropdown/Dropdown.svelte +2 -2
- package/dist/dropdown/Dropdown.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownDivider.svelte +2 -2
- package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownGroup.svelte +2 -2
- package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownHeader.svelte +2 -2
- package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownItem.svelte +2 -2
- package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
- package/dist/dropdown/theme.d.ts +1 -1
- package/dist/{forms → extend}/button-toggle/ButtonToggle.svelte +2 -2
- package/dist/{forms → extend}/button-toggle/ButtonToggle.svelte.d.ts +1 -1
- package/dist/{forms → extend}/button-toggle/ButtonToggleGroup.svelte +1 -1
- package/dist/{forms → extend}/button-toggle/CheckIcon.svelte +1 -1
- package/dist/{forms → extend}/button-toggle/CheckIcon.svelte.d.ts +1 -1
- package/dist/{forms → extend}/button-toggle/theme.d.ts +1 -1
- package/dist/{clipboard-manager → extend/clipboard-manager}/ClipboardManager.svelte +3 -3
- package/dist/{clipboard-manager → extend/clipboard-manager}/ClipboardManager.svelte.d.ts +1 -1
- package/dist/{clipboard-manager → extend/clipboard-manager}/theme.d.ts +1 -1
- package/dist/{command-palette → extend/command-palette}/CommandPalette.svelte +5 -5
- package/dist/{command-palette → extend/command-palette}/CommandPalette.svelte.d.ts +2 -2
- package/dist/{command-palette → extend/command-palette}/theme.d.ts +1 -1
- package/dist/{kanban → extend/kanban}/KanbanBoard.svelte +2 -2
- package/dist/{kanban → extend/kanban}/KanbanBoard.svelte.d.ts +1 -1
- package/dist/{kanban → extend/kanban}/KanbanCard.svelte +3 -3
- package/dist/{kanban → extend/kanban}/KanbanCard.svelte.d.ts +2 -2
- package/dist/{kanban → extend/kanban}/theme.d.ts +1 -1
- package/dist/{scroll-spy → extend/scroll-spy}/ScrollSpy.svelte +3 -3
- package/dist/{scroll-spy → extend/scroll-spy}/ScrollSpy.svelte.d.ts +2 -2
- package/dist/{scroll-spy → extend/scroll-spy}/theme.d.ts +1 -1
- package/dist/{split-pane → extend/split-pane}/Divider.svelte +4 -4
- package/dist/{split-pane → extend/split-pane}/Divider.svelte.d.ts +2 -2
- package/dist/{split-pane → extend/split-pane}/Pane.svelte +4 -4
- package/dist/{split-pane → extend/split-pane}/Pane.svelte.d.ts +2 -2
- package/dist/{split-pane → extend/split-pane}/SplitPane.svelte +4 -4
- package/dist/{split-pane → extend/split-pane}/SplitPane.svelte.d.ts +2 -2
- package/dist/{step-indicator → extend/step-indicator}/StepIndicator.svelte +3 -3
- package/dist/{step-indicator → extend/step-indicator}/StepIndicator.svelte.d.ts +2 -2
- package/dist/{step-indicator → extend/step-indicator}/theme.d.ts +1 -1
- package/dist/{forms → extend}/tags/Tags.svelte +1 -1
- package/dist/{forms → extend}/tags/theme.d.ts +1 -1
- package/dist/{tour → extend/tour}/Tour.svelte +2 -2
- package/dist/{tour → extend/tour}/Tour.svelte.d.ts +1 -1
- package/dist/{tour → extend/tour}/theme.d.ts +1 -1
- package/dist/{virtual-masonry → extend/virtual-masonry}/VirtualMasonry.svelte +2 -2
- package/dist/{virtual-masonry → extend/virtual-masonry}/VirtualMasonry.svelte.d.ts +1 -1
- package/dist/{virtual-masonry → extend/virtual-masonry}/theme.d.ts +1 -1
- package/dist/{virtuallist → extend/virtuallist}/VirtualList.svelte +2 -2
- package/dist/{virtuallist → extend/virtuallist}/VirtualList.svelte.d.ts +1 -1
- package/dist/{virtuallist → extend/virtuallist}/theme.d.ts +1 -1
- package/dist/footer/Footer.svelte +2 -2
- package/dist/footer/Footer.svelte.d.ts +1 -1
- package/dist/footer/FooterBrand.svelte +2 -2
- package/dist/footer/FooterBrand.svelte.d.ts +1 -1
- package/dist/footer/FooterCopyright.svelte +2 -2
- package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
- package/dist/footer/FooterIcon.svelte +2 -2
- package/dist/footer/FooterIcon.svelte.d.ts +1 -1
- package/dist/footer/FooterLink.svelte +2 -2
- package/dist/footer/FooterLink.svelte.d.ts +1 -1
- package/dist/footer/FooterLinkGroup.svelte +2 -2
- package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
- package/dist/footer/theme.d.ts +1 -1
- package/dist/forms/checkbox/Checkbox.svelte +1 -1
- package/dist/forms/checkbox/CheckboxButton.svelte +2 -2
- package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
- package/dist/forms/checkbox/theme.d.ts +1 -1
- package/dist/forms/dropzone/Dropzone.svelte +2 -2
- package/dist/forms/dropzone/Dropzone.svelte.d.ts +1 -1
- package/dist/forms/fileupload/Fileupload.svelte +2 -2
- package/dist/forms/fileupload/Fileupload.svelte.d.ts +1 -1
- package/dist/forms/fileupload/theme.d.ts +1 -1
- package/dist/forms/floating-label/FloatingLabelInput.svelte +2 -2
- package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +1 -1
- package/dist/forms/floating-label/theme.d.ts +1 -1
- package/dist/forms/helper/Helper.svelte +2 -2
- package/dist/forms/helper/Helper.svelte.d.ts +1 -1
- package/dist/forms/input-addon/InputAddon.svelte +2 -2
- package/dist/forms/input-addon/InputAddon.svelte.d.ts +1 -1
- package/dist/forms/input-addon/theme.d.ts +1 -1
- package/dist/forms/input-field/Input.svelte +1 -1
- package/dist/forms/input-field/theme.d.ts +1 -1
- package/dist/forms/label/Label.svelte +2 -2
- package/dist/forms/label/Label.svelte.d.ts +1 -1
- package/dist/forms/phoneinput/PhoneInput.svelte +1 -1
- package/dist/forms/phoneinput/theme.d.ts +1 -1
- package/dist/forms/radio/Radio.svelte +1 -1
- package/dist/forms/radio/RadioButton.svelte +1 -1
- package/dist/forms/radio/theme.d.ts +1 -1
- package/dist/forms/range/Range.svelte +2 -2
- package/dist/forms/range/Range.svelte.d.ts +1 -1
- package/dist/forms/search/Search.svelte +2 -2
- package/dist/forms/search/Search.svelte.d.ts +1 -1
- package/dist/forms/search/theme.d.ts +1 -1
- package/dist/forms/select/MultiSelect.svelte +1 -1
- package/dist/forms/select/Select.svelte +1 -1
- package/dist/forms/select/theme.d.ts +1 -1
- package/dist/forms/textarea/Textarea.svelte +2 -2
- package/dist/forms/textarea/Textarea.svelte.d.ts +1 -1
- package/dist/forms/textarea/theme.d.ts +1 -1
- package/dist/forms/timepicker/Timepicker.svelte +2 -2
- package/dist/forms/timepicker/Timepicker.svelte.d.ts +1 -1
- package/dist/forms/timepicker/theme.d.ts +1 -1
- package/dist/forms/toggle/Toggle.svelte +2 -2
- package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
- package/dist/forms/toggle/theme.d.ts +1 -1
- package/dist/gallery/Gallery.svelte +2 -2
- package/dist/gallery/Gallery.svelte.d.ts +1 -1
- package/dist/gallery/theme.d.ts +1 -1
- package/dist/index.d.ts +14 -13
- package/dist/index.js +14 -13
- package/dist/indicator/Indicator.svelte +2 -2
- package/dist/indicator/Indicator.svelte.d.ts +1 -1
- package/dist/kbd/Kbd.svelte +2 -2
- package/dist/kbd/Kbd.svelte.d.ts +1 -1
- package/dist/list-group/Listgroup.svelte +2 -2
- package/dist/list-group/Listgroup.svelte.d.ts +1 -1
- package/dist/list-group/ListgroupItem.svelte +2 -2
- package/dist/list-group/ListgroupItem.svelte.d.ts +1 -1
- package/dist/list-group/theme.d.ts +1 -1
- package/dist/mega-menu/MegaMenu.svelte +2 -2
- package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
- package/dist/mega-menu/theme.d.ts +1 -1
- package/dist/modal/Modal.svelte +10 -4
- package/dist/modal/Modal.svelte.d.ts +1 -1
- package/dist/modal/theme.d.ts +1 -1
- package/dist/navbar/Menu.svelte +1 -1
- package/dist/navbar/Menu.svelte.d.ts +1 -1
- package/dist/navbar/NavBrand.svelte +2 -2
- package/dist/navbar/NavBrand.svelte.d.ts +1 -1
- package/dist/navbar/NavContainer.svelte +2 -2
- package/dist/navbar/NavContainer.svelte.d.ts +1 -1
- package/dist/navbar/NavHamburger.svelte +2 -2
- package/dist/navbar/NavHamburger.svelte.d.ts +2 -2
- package/dist/navbar/NavLi.svelte +2 -2
- package/dist/navbar/NavLi.svelte.d.ts +1 -1
- package/dist/navbar/NavUl.svelte +2 -2
- package/dist/navbar/NavUl.svelte.d.ts +1 -1
- package/dist/navbar/Navbar.svelte +2 -2
- package/dist/navbar/Navbar.svelte.d.ts +1 -1
- package/dist/navbar/theme.d.ts +1 -1
- package/dist/pagination/Pagination.svelte +2 -2
- package/dist/pagination/Pagination.svelte.d.ts +1 -1
- package/dist/pagination/PaginationButton.svelte +2 -2
- package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
- package/dist/pagination/PaginationItem.svelte +2 -2
- package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
- package/dist/pagination/PaginationNav.svelte +2 -2
- package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
- package/dist/pagination/theme.d.ts +1 -1
- package/dist/popover/Popover.svelte +2 -2
- package/dist/popover/Popover.svelte.d.ts +1 -1
- package/dist/popover/theme.d.ts +1 -1
- package/dist/progress/Progressbar.svelte +2 -2
- package/dist/progress/Progressbar.svelte.d.ts +1 -1
- package/dist/progress/Progressradial.svelte +2 -2
- package/dist/progress/Progressradial.svelte.d.ts +1 -1
- package/dist/progress/theme.d.ts +1 -1
- package/dist/rating/AdvancedRating.svelte +2 -2
- package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
- package/dist/rating/CustomIcon.svelte +1 -1
- package/dist/rating/CustomIcon.svelte.d.ts +1 -1
- package/dist/rating/Heart.svelte +1 -1
- package/dist/rating/Heart.svelte.d.ts +1 -1
- package/dist/rating/Rating.svelte +2 -2
- package/dist/rating/Rating.svelte.d.ts +1 -1
- package/dist/rating/RatingComment.svelte +1 -1
- package/dist/rating/RatingComment.svelte.d.ts +1 -1
- package/dist/rating/Review.svelte +2 -2
- package/dist/rating/Review.svelte.d.ts +1 -1
- package/dist/rating/ScoreRating.svelte +2 -2
- package/dist/rating/ScoreRating.svelte.d.ts +1 -1
- package/dist/rating/Star.svelte +1 -1
- package/dist/rating/Star.svelte.d.ts +1 -1
- package/dist/rating/Thumbup.svelte +1 -1
- package/dist/rating/Thumbup.svelte.d.ts +1 -1
- package/dist/rating/theme.d.ts +1 -1
- package/dist/sidebar/Sidebar.svelte +8 -3
- package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarBrand.svelte +2 -2
- package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarButton.svelte +2 -2
- package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarCta.svelte +2 -2
- package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarDropdownWrapper.svelte +8 -3
- package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarGroup.svelte +1 -1
- package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarItem.svelte +2 -2
- package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
- package/dist/sidebar/theme.d.ts +1 -1
- package/dist/skeleton/CardPlaceholder.svelte +2 -2
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte +2 -2
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ListPlaceholder.svelte +2 -2
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/Skeleton.svelte +2 -2
- package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
- package/dist/skeleton/TestimonialPlaceholder.svelte +2 -2
- package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/TextPlaceholder.svelte +2 -2
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte +2 -2
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte +2 -2
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/theme.d.ts +1 -1
- package/dist/speed-dial/SpeedDial.svelte +2 -2
- package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialButton.svelte +2 -2
- package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialTrigger.svelte +1 -1
- package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
- package/dist/speed-dial/theme.d.ts +1 -1
- package/dist/spinner/Spinner.svelte +2 -2
- package/dist/spinner/Spinner.svelte.d.ts +1 -1
- package/dist/stepper/BreadcrumbStepper.svelte +2 -2
- package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
- package/dist/stepper/DetailedStepper.svelte +2 -2
- package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
- package/dist/stepper/ProgressStepper.svelte +2 -2
- package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
- package/dist/stepper/Stepper.svelte +2 -2
- package/dist/stepper/Stepper.svelte.d.ts +1 -1
- package/dist/stepper/TimelineStepper.svelte +2 -2
- package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
- package/dist/stepper/VerticalStepper.svelte +2 -2
- package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
- package/dist/stepper/theme.d.ts +1 -1
- package/dist/table/Table.svelte +2 -2
- package/dist/table/Table.svelte.d.ts +1 -1
- package/dist/table/TableBody.svelte +1 -1
- package/dist/table/TableBody.svelte.d.ts +1 -1
- package/dist/table/TableBodyCell.svelte +2 -2
- package/dist/table/TableBodyCell.svelte.d.ts +1 -1
- package/dist/table/TableBodyRow.svelte +2 -2
- package/dist/table/TableBodyRow.svelte.d.ts +1 -1
- package/dist/table/TableHead.svelte +2 -2
- package/dist/table/TableHead.svelte.d.ts +1 -1
- package/dist/table/TableHeadCell.svelte +2 -2
- package/dist/table/TableHeadCell.svelte.d.ts +1 -1
- package/dist/table/TableSearch.svelte +2 -2
- package/dist/table/TableSearch.svelte.d.ts +1 -1
- package/dist/table/theme.d.ts +1 -1
- package/dist/tabs/TabItem.svelte +2 -2
- package/dist/tabs/TabItem.svelte.d.ts +1 -1
- package/dist/tabs/Tabs.svelte +2 -2
- package/dist/tabs/Tabs.svelte.d.ts +1 -1
- package/dist/tabs/theme.d.ts +1 -1
- package/dist/{theme → theme-provider}/themes.d.ts +11 -11
- package/dist/{theme → theme-provider}/themes.js +11 -11
- package/dist/theme-selector/ThemeIcon.svelte +9 -0
- package/dist/theme-selector/ThemeIcon.svelte.d.ts +26 -0
- package/dist/theme-selector/ThemeSelector.svelte +55 -0
- package/dist/theme-selector/ThemeSelector.svelte.d.ts +3 -0
- package/dist/theme-selector/index.d.ts +4 -0
- package/dist/theme-selector/index.js +3 -0
- package/dist/theme-selector/theme.d.ts +85 -0
- package/dist/theme-selector/theme.js +35 -0
- package/dist/theme-selector/themeStore.svelte.d.ts +6 -0
- package/dist/theme-selector/themeStore.svelte.js +88 -0
- package/dist/theme-selector/themes/default-runtime.css +229 -0
- package/dist/theme-selector/themes/enterprise-runtime.css +210 -0
- package/dist/theme-selector/themes/minimal-runtime.css +213 -0
- package/dist/theme-selector/themes/mono-runtime.css +206 -0
- package/dist/theme-selector/themes/playful-runtime.css +206 -0
- package/dist/theme-selector/themes/themes-runtime.css +1106 -0
- package/dist/theme-selector/themes.d.ts +39 -0
- package/dist/theme-selector/themes.js +43 -0
- package/dist/timeline/Activity.svelte +2 -2
- package/dist/timeline/Activity.svelte.d.ts +1 -1
- package/dist/timeline/ActivityItem.svelte +2 -2
- package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
- package/dist/timeline/Group.svelte +2 -2
- package/dist/timeline/Group.svelte.d.ts +1 -1
- package/dist/timeline/GroupItem.svelte +2 -2
- package/dist/timeline/GroupItem.svelte.d.ts +1 -1
- package/dist/timeline/Timeline.svelte +2 -2
- package/dist/timeline/Timeline.svelte.d.ts +1 -1
- package/dist/timeline/TimelineItem.svelte +2 -2
- package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
- package/dist/timeline/theme.d.ts +1 -1
- package/dist/toast/Toast.svelte +10 -3
- package/dist/toast/Toast.svelte.d.ts +1 -1
- package/dist/toast/ToastContainer.svelte +2 -2
- package/dist/toast/ToastContainer.svelte.d.ts +1 -1
- package/dist/toast/theme.d.ts +1 -1
- package/dist/toolbar/Toolbar.svelte +2 -2
- package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarButton.svelte +2 -2
- package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarGroup.svelte +2 -2
- package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
- package/dist/toolbar/theme.d.ts +1 -1
- package/dist/toolbar/theme.js +1 -1
- package/dist/tooltip/Tooltip.svelte +1 -1
- package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
- package/dist/types.d.ts +13 -11
- package/dist/typography/a/A.svelte +2 -2
- package/dist/typography/a/A.svelte.d.ts +1 -1
- package/dist/typography/blockquote/Blockquote.svelte +2 -2
- package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
- package/dist/typography/descriptionlist/DescriptionList.svelte +2 -2
- package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
- package/dist/typography/heading/Heading.svelte +2 -2
- package/dist/typography/heading/Heading.svelte.d.ts +1 -1
- package/dist/typography/hr/Hr.svelte +1 -1
- package/dist/typography/hr/theme.d.ts +1 -1
- package/dist/typography/img/Img.svelte +2 -2
- package/dist/typography/img/Img.svelte.d.ts +1 -1
- package/dist/typography/img/theme.d.ts +1 -1
- package/dist/typography/layout/Layout.svelte +2 -2
- package/dist/typography/layout/Layout.svelte.d.ts +1 -1
- package/dist/typography/list/Li.svelte +1 -1
- package/dist/typography/list/Li.svelte.d.ts +1 -1
- package/dist/typography/list/List.svelte +2 -2
- package/dist/typography/list/List.svelte.d.ts +1 -1
- package/dist/typography/mark/Mark.svelte +2 -2
- package/dist/typography/mark/Mark.svelte.d.ts +1 -1
- package/dist/typography/paragraph/P.svelte +2 -2
- package/dist/typography/paragraph/P.svelte.d.ts +1 -1
- package/dist/typography/secondary/Secondary.svelte +2 -2
- package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
- package/dist/typography/span/Span.svelte +2 -2
- package/dist/typography/span/Span.svelte.d.ts +1 -1
- package/dist/utils/Arrow.svelte +1 -1
- package/dist/utils/Arrow.svelte.d.ts +1 -1
- package/dist/utils/Popper.svelte +9 -3
- package/dist/utils/Popper.svelte.d.ts +1 -1
- package/dist/utils/theme.d.ts +1 -1
- package/dist/video/Video.svelte +2 -2
- package/dist/video/Video.svelte.d.ts +1 -1
- package/package.json +2 -735
- /package/dist/{forms → extend}/button-toggle/ButtonToggleGroup.svelte.d.ts +0 -0
- /package/dist/{forms → extend}/button-toggle/index.d.ts +0 -0
- /package/dist/{forms → extend}/button-toggle/index.js +0 -0
- /package/dist/{forms → extend}/button-toggle/theme.js +0 -0
- /package/dist/{clipboard-manager → extend/clipboard-manager}/index.d.ts +0 -0
- /package/dist/{clipboard-manager → extend/clipboard-manager}/index.js +0 -0
- /package/dist/{clipboard-manager → extend/clipboard-manager}/theme.js +0 -0
- /package/dist/{command-palette → extend/command-palette}/index.d.ts +0 -0
- /package/dist/{command-palette → extend/command-palette}/index.js +0 -0
- /package/dist/{command-palette → extend/command-palette}/theme.js +0 -0
- /package/dist/{kanban → extend/kanban}/index.d.ts +0 -0
- /package/dist/{kanban → extend/kanban}/index.js +0 -0
- /package/dist/{kanban → extend/kanban}/theme.js +0 -0
- /package/dist/{scroll-spy → extend/scroll-spy}/index.d.ts +0 -0
- /package/dist/{scroll-spy → extend/scroll-spy}/index.js +0 -0
- /package/dist/{scroll-spy → extend/scroll-spy}/theme.js +0 -0
- /package/dist/{split-pane → extend/split-pane}/index.d.ts +0 -0
- /package/dist/{split-pane → extend/split-pane}/index.js +0 -0
- /package/dist/{split-pane → extend/split-pane}/theme.d.ts +0 -0
- /package/dist/{split-pane → extend/split-pane}/theme.js +0 -0
- /package/dist/{step-indicator → extend/step-indicator}/index.d.ts +0 -0
- /package/dist/{step-indicator → extend/step-indicator}/index.js +0 -0
- /package/dist/{step-indicator → extend/step-indicator}/theme.js +0 -0
- /package/dist/{forms → extend}/tags/Tags.svelte.d.ts +0 -0
- /package/dist/{forms → extend}/tags/index.d.ts +0 -0
- /package/dist/{forms → extend}/tags/index.js +0 -0
- /package/dist/{forms → extend}/tags/theme.js +0 -0
- /package/dist/{tour → extend/tour}/index.d.ts +0 -0
- /package/dist/{tour → extend/tour}/index.js +0 -0
- /package/dist/{tour → extend/tour}/theme.js +0 -0
- /package/dist/{virtual-masonry → extend/virtual-masonry}/index.d.ts +0 -0
- /package/dist/{virtual-masonry → extend/virtual-masonry}/index.js +0 -0
- /package/dist/{virtual-masonry → extend/virtual-masonry}/theme.js +0 -0
- /package/dist/{virtuallist → extend/virtuallist}/index.d.ts +0 -0
- /package/dist/{virtuallist → extend/virtuallist}/index.js +0 -0
- /package/dist/{virtuallist → extend/virtuallist}/theme.js +0 -0
- /package/dist/{theme → theme-provider}/ThemeProvider.svelte +0 -0
- /package/dist/{theme → theme-provider}/ThemeProvider.svelte.d.ts +0 -0
- /package/dist/{theme → theme-provider}/index.d.ts +0 -0
- /package/dist/{theme → theme-provider}/index.js +0 -0
- /package/dist/{theme → theme-provider}/themeUtils.d.ts +0 -0
- /package/dist/{theme → theme-provider}/themeUtils.js +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type ThemeId = "default" | "minimal" | "enterprise" | "playful" | "mono";
|
|
2
|
+
export interface FlowbiteTheme {
|
|
3
|
+
id: ThemeId;
|
|
4
|
+
name: string;
|
|
5
|
+
cssPath: string;
|
|
6
|
+
fontUrl: string;
|
|
7
|
+
colors: string[];
|
|
8
|
+
}
|
|
9
|
+
export declare const themeConfigs: readonly [{
|
|
10
|
+
readonly id: "default";
|
|
11
|
+
readonly name: "Default";
|
|
12
|
+
readonly cssPath: any;
|
|
13
|
+
readonly fontUrl: "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap";
|
|
14
|
+
readonly colors: ["bg-gray-100 dark:bg-gray-700", "bg-blue-50 dark:bg-blue-900", "bg-blue-200 dark:bg-blue-800", "bg-blue-700 dark:bg-blue-700"];
|
|
15
|
+
}, {
|
|
16
|
+
readonly id: "minimal";
|
|
17
|
+
readonly name: "Minimal";
|
|
18
|
+
readonly cssPath: any;
|
|
19
|
+
readonly fontUrl: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap";
|
|
20
|
+
readonly colors: ["bg-stone-50 dark:bg-stone-600", "bg-stone-100 dark:bg-stone-700", "bg-stone-300 dark:bg-stone-800", "bg-stone-900 dark:bg-stone-900"];
|
|
21
|
+
}, {
|
|
22
|
+
readonly id: "enterprise";
|
|
23
|
+
readonly name: "Enterprise";
|
|
24
|
+
readonly cssPath: any;
|
|
25
|
+
readonly fontUrl: "https://fonts.googleapis.com/css2?family=STIX+Two+Text:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap";
|
|
26
|
+
readonly colors: ["bg-zinc-100 dark:bg-zinc-700", "bg-cyan-50 dark:bg-cyan-900", "bg-cyan-100 dark:bg-cyan-800", "bg-cyan-700 dark:bg-cyan-700"];
|
|
27
|
+
}, {
|
|
28
|
+
readonly id: "playful";
|
|
29
|
+
readonly name: "Playful";
|
|
30
|
+
readonly cssPath: any;
|
|
31
|
+
readonly fontUrl: "https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap";
|
|
32
|
+
readonly colors: ["bg-slate-100 dark:bg-slate-700", "bg-pink-50 dark:bg-pink-900", "bg-pink-100 dark:bg-pink-800", "bg-pink-700 dark:bg-pink-700"];
|
|
33
|
+
}, {
|
|
34
|
+
readonly id: "mono";
|
|
35
|
+
readonly name: "Mono";
|
|
36
|
+
readonly cssPath: any;
|
|
37
|
+
readonly fontUrl: "https://fonts.googleapis.com/css2?family=Google+Sans+Code:wght@300;400;500;600;700&display=swap";
|
|
38
|
+
readonly colors: ["bg-neutral-100 dark:bg-neutral-700", "bg-indigo-50 dark:bg-indigo-900", "bg-indigo-100 dark:bg-indigo-800", "bg-indigo-700 dark:bg-indigo-700"];
|
|
39
|
+
}];
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
// Import CSS files as URLs - Vite will process these and give us the actual URLs
|
|
2
|
+
import defaultCss from "./themes/default-runtime.css?url";
|
|
3
|
+
import minimalCss from "./themes/minimal-runtime.css?url";
|
|
4
|
+
import enterpriseCss from "./themes/enterprise-runtime.css?url";
|
|
5
|
+
import playfulCss from "./themes/playful-runtime.css?url";
|
|
6
|
+
import monoCss from "./themes/mono-runtime.css?url";
|
|
7
|
+
export const themeConfigs = [
|
|
8
|
+
{
|
|
9
|
+
id: "default",
|
|
10
|
+
name: "Default",
|
|
11
|
+
cssPath: defaultCss, // Now this is a real URL
|
|
12
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap",
|
|
13
|
+
colors: ["bg-gray-100 dark:bg-gray-700", "bg-blue-50 dark:bg-blue-900", "bg-blue-200 dark:bg-blue-800", "bg-blue-700 dark:bg-blue-700"]
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
id: "minimal",
|
|
17
|
+
name: "Minimal",
|
|
18
|
+
cssPath: minimalCss, // Now this is a real URL
|
|
19
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap",
|
|
20
|
+
colors: ["bg-stone-50 dark:bg-stone-600", "bg-stone-100 dark:bg-stone-700", "bg-stone-300 dark:bg-stone-800", "bg-stone-900 dark:bg-stone-900"]
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
id: "enterprise",
|
|
24
|
+
name: "Enterprise",
|
|
25
|
+
cssPath: enterpriseCss, // Now this is a real URL
|
|
26
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=STIX+Two+Text:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500;1,600;1,700&display=swap",
|
|
27
|
+
colors: ["bg-zinc-100 dark:bg-zinc-700", "bg-cyan-50 dark:bg-cyan-900", "bg-cyan-100 dark:bg-cyan-800", "bg-cyan-700 dark:bg-cyan-700"]
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
id: "playful",
|
|
31
|
+
name: "Playful",
|
|
32
|
+
cssPath: playfulCss, // Now this is a real URL
|
|
33
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Shantell+Sans:ital,wght@0,300..800;1,300..800&display=swap",
|
|
34
|
+
colors: ["bg-slate-100 dark:bg-slate-700", "bg-pink-50 dark:bg-pink-900", "bg-pink-100 dark:bg-pink-800", "bg-pink-700 dark:bg-pink-700"]
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
id: "mono",
|
|
38
|
+
name: "Mono",
|
|
39
|
+
cssPath: monoCss, // Now this is a real URL
|
|
40
|
+
fontUrl: "https://fonts.googleapis.com/css2?family=Google+Sans+Code:wght@300;400;500;600;700&display=swap",
|
|
41
|
+
colors: ["bg-neutral-100 dark:bg-neutral-700", "bg-indigo-50 dark:bg-indigo-900", "bg-indigo-100 dark:bg-indigo-800", "bg-indigo-700 dark:bg-indigo-700"]
|
|
42
|
+
}
|
|
43
|
+
];
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { activity } from "./theme";
|
|
4
4
|
import type { ActivityProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, ...restProps }: ActivityProps = $props();
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[ActivityProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[ActivityProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1747)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { ActivityProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ActivityProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ActivityProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1747)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { activityItem } from "./theme";
|
|
3
3
|
import type { ActivityItemProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { activities, class: className, classes, ...restProps }: ActivityItemProps = $props();
|
|
8
8
|
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
@component
|
|
39
39
|
[Go to docs](https://flowbite-svelte.com/)
|
|
40
40
|
## Type
|
|
41
|
-
[ActivityItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
41
|
+
[ActivityItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1751)
|
|
42
42
|
## Props
|
|
43
43
|
@prop activities
|
|
44
44
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { ActivityItemProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ActivityItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ActivityItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1751)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop activities
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { group } from "./theme";
|
|
3
3
|
import type { GroupProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, date, class: className, classes, ...restProps }: GroupProps = $props();
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@component
|
|
25
25
|
[Go to docs](https://flowbite-svelte.com/)
|
|
26
26
|
## Type
|
|
27
|
-
[GroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
27
|
+
[GroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1755)
|
|
28
28
|
## Props
|
|
29
29
|
@prop children
|
|
30
30
|
@prop date
|
|
@@ -2,7 +2,7 @@ import type { GroupProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [GroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [GroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1755)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop date
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { groupItem } from "./theme";
|
|
3
3
|
import type { GroupItemProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { timelines, class: className, classes, ...restProps }: GroupItemProps = $props();
|
|
8
8
|
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
@component
|
|
57
57
|
[Go to docs](https://flowbite-svelte.com/)
|
|
58
58
|
## Type
|
|
59
|
-
[GroupItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
59
|
+
[GroupItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1760)
|
|
60
60
|
## Props
|
|
61
61
|
@prop timelines
|
|
62
62
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { GroupItemProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [GroupItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [GroupItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1760)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop timelines
|
|
8
8
|
* @prop class: className
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { timeline, type TimelineVariants } from "./theme";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import type { TimelineProps } from "../types";
|
|
6
|
-
import { getTheme } from "../theme/themeUtils";
|
|
6
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
7
7
|
|
|
8
8
|
let { children, order = "default", class: className, ...restProps }: TimelineProps = $props();
|
|
9
9
|
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
@component
|
|
22
22
|
[Go to docs](https://flowbite-svelte.com/)
|
|
23
23
|
## Type
|
|
24
|
-
[TimelineProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
24
|
+
[TimelineProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1776)
|
|
25
25
|
## Props
|
|
26
26
|
@prop children
|
|
27
27
|
@prop order = "default"
|
|
@@ -2,7 +2,7 @@ import type { TimelineProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TimelineProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TimelineProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1776)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop order = "default"
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import { timelineItem, type TimelineVariants } from "./theme";
|
|
4
4
|
import type { TimelineItemProps, DateFormat } from "../types";
|
|
5
5
|
import clsx from "clsx";
|
|
6
|
-
import { getTheme } from "../theme/themeUtils";
|
|
6
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
7
7
|
|
|
8
8
|
let { children, orientationSlot, title, date, dateFormat = "month-year", color = "primary", isLast = false, datePrefix, class: className, classes, ...restProps }: TimelineItemProps = $props();
|
|
9
9
|
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
@component
|
|
94
94
|
[Go to docs](https://flowbite-svelte.com/)
|
|
95
95
|
## Type
|
|
96
|
-
[TimelineItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
96
|
+
[TimelineItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1783)
|
|
97
97
|
## Props
|
|
98
98
|
@prop children
|
|
99
99
|
@prop orientationSlot
|
|
@@ -2,7 +2,7 @@ import type { TimelineItemProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TimelineItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TimelineItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1783)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop orientationSlot
|
package/dist/timeline/theme.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { Classes } from "../theme/themeUtils";
|
|
2
|
+
import type { Classes } from "../theme-provider/themeUtils";
|
|
3
3
|
export type TimelineVariants = VariantProps<typeof timeline>;
|
|
4
4
|
export type ActivityItemVariants = VariantProps<typeof activityItem> & Classes<typeof activityItem>;
|
|
5
5
|
export type GroupVariants = VariantProps<typeof group> & Classes<typeof group>;
|
package/dist/toast/Toast.svelte
CHANGED
|
@@ -3,8 +3,9 @@
|
|
|
3
3
|
import type { ParamsType, ToastProps } from "../types";
|
|
4
4
|
import { toast } from "./theme";
|
|
5
5
|
import { fly } from "svelte/transition";
|
|
6
|
+
import { prefersReducedMotion } from "svelte/motion";
|
|
6
7
|
import clsx from "clsx";
|
|
7
|
-
import { getTheme } from "../theme/themeUtils";
|
|
8
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
8
9
|
import { createDismissableContext } from "../utils/dismissable";
|
|
9
10
|
|
|
10
11
|
let {
|
|
@@ -28,6 +29,12 @@
|
|
|
28
29
|
|
|
29
30
|
const { base, icon: iconVariants, content, close } = $derived(toast({ color, position, align }));
|
|
30
31
|
|
|
32
|
+
// Check if running in browser to avoid SSR issues
|
|
33
|
+
const isBrowser = typeof window !== "undefined";
|
|
34
|
+
|
|
35
|
+
// Respect reduced motion preference by setting duration to 0
|
|
36
|
+
const effectiveParams = $derived(isBrowser && prefersReducedMotion.current ? { ...params, duration: 0 } : params);
|
|
37
|
+
|
|
31
38
|
let ref: HTMLDivElement | undefined = $state(undefined);
|
|
32
39
|
|
|
33
40
|
function _close() {
|
|
@@ -40,7 +47,7 @@
|
|
|
40
47
|
</script>
|
|
41
48
|
|
|
42
49
|
{#if toastStatus}
|
|
43
|
-
<div role="alert" bind:this={ref} transition:transition={
|
|
50
|
+
<div role="alert" bind:this={ref} transition:transition={effectiveParams as ParamsType} {...restProps} class={base({ class: clsx(theme?.base, className) })}>
|
|
44
51
|
{#if icon}
|
|
45
52
|
<div class={iconVariants({ class: clsx(theme?.icon, styling?.icon) })}>
|
|
46
53
|
{@render icon()}
|
|
@@ -61,7 +68,7 @@
|
|
|
61
68
|
@component
|
|
62
69
|
[Go to docs](https://flowbite-svelte.com/)
|
|
63
70
|
## Type
|
|
64
|
-
[ToastProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
71
|
+
[ToastProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1795)
|
|
65
72
|
## Props
|
|
66
73
|
@prop children
|
|
67
74
|
@prop icon
|
|
@@ -2,7 +2,7 @@ import type { ToastProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ToastProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ToastProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1795)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop icon
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { ToastContainerProps } from "../types";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { toastContainer } from "./theme";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, position = "top-right", class: className, ...restProps }: ToastContainerProps = $props();
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
@component
|
|
27
27
|
[Go to docs](https://flowbite-svelte.com/)
|
|
28
28
|
## Type
|
|
29
|
-
[ToastContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
29
|
+
[ToastContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1808)
|
|
30
30
|
## Props
|
|
31
31
|
@prop children
|
|
32
32
|
@prop position = "top-right"
|
|
@@ -2,7 +2,7 @@ import type { ToastContainerProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ToastContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ToastContainerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1808)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop position = "top-right"
|
package/dist/toast/theme.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { Classes } from "../theme/themeUtils";
|
|
2
|
+
import type { Classes } from "../theme-provider/themeUtils";
|
|
3
3
|
export type ToastVaraints = VariantProps<typeof toast> & Classes<typeof toast>;
|
|
4
4
|
export declare const toast: import("tailwind-variants").TVReturnType<{
|
|
5
5
|
position: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { getTheme } from "../theme/themeUtils";
|
|
2
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
3
3
|
import type { ToolbarProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { setToolbarContext } from "../context";
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
@component
|
|
53
53
|
[Go to docs](https://flowbite-svelte.com/)
|
|
54
54
|
## Type
|
|
55
|
-
[ToolbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
55
|
+
[ToolbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1117)
|
|
56
56
|
## Props
|
|
57
57
|
@prop children
|
|
58
58
|
@prop end
|
|
@@ -2,7 +2,7 @@ import type { ToolbarProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ToolbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ToolbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1117)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop end
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { toolbarButton } from "./theme";
|
|
3
3
|
import type { ToolbarButtonProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, color, name, "aria-label": ariaLabel, "aria-expanded": ariaExpanded, size, class: className, ...restProps }: ToolbarButtonProps = $props();
|
|
8
8
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@component
|
|
35
35
|
[Go to docs](https://flowbite-svelte.com/)
|
|
36
36
|
## Type
|
|
37
|
-
[ToolbarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
37
|
+
[ToolbarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1123)
|
|
38
38
|
## Props
|
|
39
39
|
@prop children
|
|
40
40
|
@prop color
|
|
@@ -2,7 +2,7 @@ import type { ToolbarButtonProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ToolbarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ToolbarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1123)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop color
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { getTheme } from "../theme/themeUtils";
|
|
2
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
3
3
|
import type { ToolbarGroupProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { getToolbarContext } from "../context";
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@component
|
|
25
25
|
[Go to docs](https://flowbite-svelte.com/)
|
|
26
26
|
## Type
|
|
27
|
-
[ToolbarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
27
|
+
[ToolbarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1121)
|
|
28
28
|
## Props
|
|
29
29
|
@prop children
|
|
30
30
|
@prop spacing
|
|
@@ -2,7 +2,7 @@ import type { ToolbarGroupProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ToolbarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ToolbarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1121)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop spacing
|
package/dist/toolbar/theme.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { Classes } from "../theme/themeUtils";
|
|
2
|
+
import type { Classes } from "../theme-provider/themeUtils";
|
|
3
3
|
export type ToolbarVariants = VariantProps<typeof toolbar> & Classes<typeof toolbar>;
|
|
4
4
|
export type ToolbarGroupVariants = VariantProps<typeof toolbarGroup>;
|
|
5
5
|
export declare const toolbar: import("tailwind-variants").TVReturnType<{
|
package/dist/toolbar/theme.js
CHANGED
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
@component
|
|
37
37
|
[Go to docs](https://flowbite-svelte.com/)
|
|
38
38
|
## Type
|
|
39
|
-
[TooltipProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
39
|
+
[TooltipProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1815)
|
|
40
40
|
## Props
|
|
41
41
|
@prop type = "dark"
|
|
42
42
|
@prop color = undefined
|
|
@@ -2,7 +2,7 @@ import type { TooltipProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TooltipProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TooltipProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1815)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop type = "dark"
|
|
8
8
|
* @prop color = undefined
|
package/dist/types.d.ts
CHANGED
|
@@ -28,7 +28,7 @@ import type { SidebarVariants, SidebarCtaVariants, SidebarBrandVariants, Sidebar
|
|
|
28
28
|
import type { CardPlaceholderVariants, ImagePlaceholderVariants, ListPlaceholderVariants, SkeletonVariants, TestimonialPlaceholderVariants, TextPlaceholderVariants, VideoPlaceholderVariants, WidgetPlaceholderVariants } from "./skeleton/theme";
|
|
29
29
|
import type { SpeedDialVariants, SpeedDialButtonVariants } from "./speed-dial/theme";
|
|
30
30
|
import type { SpinnerVariants } from "./spinner/theme";
|
|
31
|
-
import type { StepIndicatorVariants } from "./step-indicator/theme";
|
|
31
|
+
import type { StepIndicatorVariants } from "./extend/step-indicator/theme";
|
|
32
32
|
import type { StepperVariants, ProgressStepperVariants, DetailedStepperVariants, VerticalStepperVariants, BreadcrumbStepperVariants, TimelineStepperVariants } from "./stepper/theme";
|
|
33
33
|
import type { PaginationItemVariants, PaginationVariants } from "./pagination/theme";
|
|
34
34
|
import type { ProgressbarVariants, ProgressradialVariants } from "./progress/theme";
|
|
@@ -69,13 +69,13 @@ import type { BreadcrumbItemVariants, BreadcrumbVariants } from "./breadcrumb/th
|
|
|
69
69
|
import type { ButtonGroupVariants } from "./button-group/theme";
|
|
70
70
|
import type { AndroidVariants, DefaultMockupVariants, DesktopVariants, IosVariants, LaptopVariants, SmartwatchVariants, TabletVariants } from "./device-mockups/theme";
|
|
71
71
|
import type { ApexOptions } from "apexcharts";
|
|
72
|
-
import type { ButtonToggleVariants } from "./
|
|
73
|
-
import type { TagsVariants } from "./
|
|
74
|
-
import type { VirtualListVariants } from "./virtuallist/theme";
|
|
75
|
-
import type { KanbanBoardVariants, KanbanCardVariants } from "./kanban/theme";
|
|
76
|
-
import type { TourVariants } from "./tour/theme";
|
|
77
|
-
import type { CommandPaletteVariants } from "./command-palette/theme";
|
|
78
|
-
import type { ScrollSpyVariants } from "./scroll-spy/theme";
|
|
72
|
+
import type { ButtonToggleVariants } from "./extend/button-toggle/theme";
|
|
73
|
+
import type { TagsVariants } from "./extend/tags/theme";
|
|
74
|
+
import type { VirtualListVariants } from "./extend/virtuallist/theme";
|
|
75
|
+
import type { KanbanBoardVariants, KanbanCardVariants } from "./extend/kanban/theme";
|
|
76
|
+
import type { TourVariants } from "./extend/tour/theme";
|
|
77
|
+
import type { CommandPaletteVariants } from "./extend/command-palette/theme";
|
|
78
|
+
import type { ScrollSpyVariants } from "./extend/scroll-spy/theme";
|
|
79
79
|
import type { CloseButtonVariants } from "./utils/theme";
|
|
80
80
|
import type { DialogVariants } from "./dialog/theme";
|
|
81
81
|
export declare const xs = "xs";
|
|
@@ -149,6 +149,7 @@ export interface AccordionProps extends AccordionVariants, Omit<HTMLAttributes<H
|
|
|
149
149
|
activeClass?: ClassValue;
|
|
150
150
|
inactiveClass?: ClassValue;
|
|
151
151
|
transitionType?: TransitionFunc | "none";
|
|
152
|
+
respectReducedMotion?: boolean;
|
|
152
153
|
classes?: Partial<{
|
|
153
154
|
button?: ClassValue;
|
|
154
155
|
contentWrapper?: ClassValue;
|
|
@@ -263,6 +264,7 @@ export interface GradientButtonProps extends GradientButtonVariants, HTMLButtonO
|
|
|
263
264
|
export interface AccordionContextType {
|
|
264
265
|
flush?: boolean;
|
|
265
266
|
transitionType?: TransitionFunc | "none";
|
|
267
|
+
respectReducedMotion?: boolean;
|
|
266
268
|
classes?: Partial<{
|
|
267
269
|
button?: ClassValue;
|
|
268
270
|
contentWrapper?: ClassValue;
|
|
@@ -1464,7 +1466,7 @@ export interface TabsContextType {
|
|
|
1464
1466
|
registerTab: (tab: SelectedTab) => void;
|
|
1465
1467
|
unregisterTab: (tabId: string) => void;
|
|
1466
1468
|
}
|
|
1467
|
-
export type { ThemeConfig } from "./theme";
|
|
1469
|
+
export type { ThemeConfig } from "./theme-provider";
|
|
1468
1470
|
export interface ActivityType {
|
|
1469
1471
|
id?: string | number;
|
|
1470
1472
|
title: HTMLElement | string;
|
|
@@ -1816,7 +1818,7 @@ export interface ScrollSpyProps extends ScrollSpyVariants, HTMLAttributes<HTMLEl
|
|
|
1816
1818
|
/** Callback when navigation item is clicked */
|
|
1817
1819
|
onNavigate?: (itemId: string) => void;
|
|
1818
1820
|
}
|
|
1819
|
-
import type { VirtualMasonryVariants } from "./virtual-masonry/theme";
|
|
1821
|
+
import type { VirtualMasonryVariants } from "./extend/virtual-masonry/theme";
|
|
1820
1822
|
export interface VirtualMasonryProps<T = unknown> extends VirtualMasonryVariants, Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
1821
1823
|
children: Snippet<[item: T, index: number]>;
|
|
1822
1824
|
items?: T[];
|
|
@@ -1830,7 +1832,7 @@ export interface VirtualMasonryProps<T = unknown> extends VirtualMasonryVariants
|
|
|
1830
1832
|
ariaLabel?: string;
|
|
1831
1833
|
class?: ClassValue | null;
|
|
1832
1834
|
}
|
|
1833
|
-
import type { ClipboardManagerVariants } from "./clipboard-manager/theme";
|
|
1835
|
+
import type { ClipboardManagerVariants } from "./extend/clipboard-manager/theme";
|
|
1834
1836
|
export interface ClipboardItem {
|
|
1835
1837
|
id: number;
|
|
1836
1838
|
text: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { anchor } from "./theme";
|
|
4
4
|
import type { AnchorProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, color = "primary", asButton = false, onclick, href = "#", class: className, ...restProps }: AnchorProps = $props();
|
|
8
8
|
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
@component
|
|
44
44
|
[Go to docs](https://flowbite-svelte.com/)
|
|
45
45
|
## Type
|
|
46
|
-
[AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
46
|
+
[AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1819)
|
|
47
47
|
## Props
|
|
48
48
|
@prop children
|
|
49
49
|
@prop color = "primary"
|
|
@@ -2,7 +2,7 @@ import type { AnchorProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1819)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop color = "primary"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { blockquote } from "./theme";
|
|
4
4
|
import type { BlockquoteProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, border, italic = true, bg, alignment = "left", size = "lg", ...restProps }: BlockquoteProps = $props();
|
|
8
8
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
@component
|
|
29
29
|
[Go to docs](https://flowbite-svelte.com/)
|
|
30
30
|
## Type
|
|
31
|
-
[BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
31
|
+
[BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1848)
|
|
32
32
|
## Props
|
|
33
33
|
@prop children
|
|
34
34
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { BlockquoteProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1848)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { descriptionList } from "./theme";
|
|
4
4
|
import type { DescriptionListProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, tag, class: className, ...restProps }: DescriptionListProps = $props();
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@component
|
|
25
25
|
[Go to docs](https://flowbite-svelte.com/)
|
|
26
26
|
## Type
|
|
27
|
-
[DescriptionListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
27
|
+
[DescriptionListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1858)
|
|
28
28
|
## Props
|
|
29
29
|
@prop children
|
|
30
30
|
@prop tag
|