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
|
@@ -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#
|
|
5
|
+
* [RatingIconProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1299)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop fillPercent = 100
|
|
8
8
|
* @prop fillColor = "#00b500"
|
package/dist/rating/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 RatingVariants = VariantProps<typeof rating> & Classes<typeof rating>;
|
|
4
4
|
export type AdvancedRatingVariants = VariantProps<typeof advancedRating> & Classes<typeof advancedRating>;
|
|
5
5
|
export type ReviewVariants = VariantProps<typeof review> & Classes<typeof review>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import type { SidebarContextType, SidebarProps } from "../types";
|
|
3
3
|
import { trapFocus } from "../utils/actions";
|
|
4
|
-
import { getTheme } from "../theme/themeUtils";
|
|
4
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { setSidebarContext, setActiveUrlContext } from "../context";
|
|
7
7
|
import { sineIn } from "svelte/easing";
|
|
8
|
+
import { prefersReducedMotion } from "svelte/motion";
|
|
8
9
|
import { writable } from "svelte/store";
|
|
9
10
|
import { fly } from "svelte/transition";
|
|
10
11
|
import { sidebar } from "./theme";
|
|
@@ -76,7 +77,11 @@
|
|
|
76
77
|
}
|
|
77
78
|
};
|
|
78
79
|
|
|
79
|
-
|
|
80
|
+
const isBrowser = typeof window !== "undefined";
|
|
81
|
+
|
|
82
|
+
let transitionParams = $derived(
|
|
83
|
+
isBrowser && prefersReducedMotion.current ? { ...(params ? params : { x: -320, duration: 200, easing: sineIn }), duration: 0 } : params ? params : { x: -320, duration: 200, easing: sineIn }
|
|
84
|
+
);
|
|
80
85
|
|
|
81
86
|
setSidebarContext(sidebarCtx);
|
|
82
87
|
|
|
@@ -125,7 +130,7 @@
|
|
|
125
130
|
@component
|
|
126
131
|
[Go to docs](https://flowbite-svelte.com/)
|
|
127
132
|
## Type
|
|
128
|
-
[SidebarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
133
|
+
[SidebarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1322)
|
|
129
134
|
## Props
|
|
130
135
|
@prop children
|
|
131
136
|
@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#
|
|
5
|
+
* [SidebarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1322)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop isOpen = false
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { sidebarBrand } from "./theme";
|
|
4
4
|
import type { SidebarBrandProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, site, class: className, classes, ...restProps }: SidebarBrandProps = $props();
|
|
8
8
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
@component
|
|
27
27
|
[Go to docs](https://flowbite-svelte.com/)
|
|
28
28
|
## Type
|
|
29
|
-
[SidebarBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
29
|
+
[SidebarBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1352)
|
|
30
30
|
## Props
|
|
31
31
|
@prop children
|
|
32
32
|
@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#
|
|
5
|
+
* [SidebarBrandProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1352)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop site
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { sidebarButton } from "./theme";
|
|
4
4
|
import type { SidebarButtonProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { breakpoint = "md", class: className, classes, ...restProps }: SidebarButtonProps = $props();
|
|
8
8
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
@component
|
|
28
28
|
[Go to docs](https://flowbite-svelte.com/)
|
|
29
29
|
## Type
|
|
30
|
-
[SidebarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
30
|
+
[SidebarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1337)
|
|
31
31
|
## Props
|
|
32
32
|
@prop breakpoint = "md"
|
|
33
33
|
@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#
|
|
5
|
+
* [SidebarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1337)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop breakpoint = "md"
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { sidebarCta } from "./theme";
|
|
4
4
|
import type { SidebarCtaProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, icon, label, class: className, classes, ...restProps }: SidebarCtaProps = $props();
|
|
8
8
|
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
@component
|
|
28
28
|
[Go to docs](https://flowbite-svelte.com/)
|
|
29
29
|
## Type
|
|
30
|
-
[SidebarCtaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
30
|
+
[SidebarCtaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1341)
|
|
31
31
|
## Props
|
|
32
32
|
@prop children
|
|
33
33
|
@prop icon
|
|
@@ -2,7 +2,7 @@ import type { SidebarCtaProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SidebarCtaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SidebarCtaProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1341)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop icon
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { getTheme } from "../theme/themeUtils";
|
|
2
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
3
3
|
import type { ParamsType, SidebarDropdownWrapperProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { getSidebarContext } from "../context";
|
|
6
|
+
import { prefersReducedMotion } from "svelte/motion";
|
|
6
7
|
import { writable } from "svelte/store";
|
|
7
8
|
import { slide } from "svelte/transition";
|
|
8
9
|
import { sidebarDropdownWrapper } from "./theme";
|
|
@@ -15,6 +16,10 @@
|
|
|
15
16
|
const { base, btn, span, svg, ul } = sidebarDropdownWrapper();
|
|
16
17
|
const isControlled = $derived(isOpen !== undefined);
|
|
17
18
|
|
|
19
|
+
const isBrowser = typeof window !== "undefined";
|
|
20
|
+
|
|
21
|
+
const effectiveParams = $derived(isBrowser && prefersReducedMotion.current ? { ...(params as ParamsType), duration: 0 } : (params as ParamsType));
|
|
22
|
+
|
|
18
23
|
let ctx = getSidebarContext() || { isSingle: false };
|
|
19
24
|
|
|
20
25
|
let self = {};
|
|
@@ -64,7 +69,7 @@
|
|
|
64
69
|
{/if}
|
|
65
70
|
</button>
|
|
66
71
|
{#if openState}
|
|
67
|
-
<ul class={ul({ class: clsx(theme?.ul, styling?.ul) })} transition:transition={
|
|
72
|
+
<ul class={ul({ class: clsx(theme?.ul, styling?.ul) })} transition:transition={effectiveParams}>
|
|
68
73
|
{@render children()}
|
|
69
74
|
</ul>
|
|
70
75
|
{/if}
|
|
@@ -74,7 +79,7 @@
|
|
|
74
79
|
@component
|
|
75
80
|
[Go to docs](https://flowbite-svelte.com/)
|
|
76
81
|
## Type
|
|
77
|
-
[SidebarDropdownWrapperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
82
|
+
[SidebarDropdownWrapperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1361)
|
|
78
83
|
## Props
|
|
79
84
|
@prop children
|
|
80
85
|
@prop arrowup
|
|
@@ -2,7 +2,7 @@ import type { SidebarDropdownWrapperProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SidebarDropdownWrapperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SidebarDropdownWrapperProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1361)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop arrowup
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
@component
|
|
14
14
|
[Go to docs](https://flowbite-svelte.com/)
|
|
15
15
|
## Type
|
|
16
|
-
[SidebarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
16
|
+
[SidebarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1374)
|
|
17
17
|
## Props
|
|
18
18
|
@prop children
|
|
19
19
|
@prop class: className = "space-y-2"
|
|
@@ -2,7 +2,7 @@ import type { SidebarGroupProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SidebarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SidebarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1374)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className = "space-y-2"
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getSidebarContext, getActiveUrlContext } from "../context";
|
|
3
3
|
import clsx from "clsx";
|
|
4
|
-
import { getTheme } from "../theme/themeUtils";
|
|
4
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
5
5
|
import { sidebarItem } from "./theme";
|
|
6
6
|
import type { SidebarItemProps } from "../types";
|
|
7
7
|
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
@component
|
|
36
36
|
[Go to docs](https://flowbite-svelte.com/)
|
|
37
37
|
## Type
|
|
38
|
-
[SidebarItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
38
|
+
[SidebarItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1379)
|
|
39
39
|
## Props
|
|
40
40
|
@prop icon
|
|
41
41
|
@prop subtext
|
|
@@ -2,7 +2,7 @@ import type { SidebarItemProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SidebarItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SidebarItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1379)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop icon
|
|
8
8
|
* @prop subtext
|
package/dist/sidebar/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 SidebarVariants = VariantProps<typeof sidebar> & Classes<typeof sidebar>;
|
|
4
4
|
export type SidebarCtaVariants = VariantProps<typeof sidebarCta> & Classes<typeof sidebarCta>;
|
|
5
5
|
export type SidebarBrandVariants = VariantProps<typeof sidebarBrand> & Classes<typeof sidebarBrand>;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { cardPlaceholder } from "./theme";
|
|
4
4
|
import type { CardPlaceholderProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { size = "sm", class: className, classes, ...restProps }: CardPlaceholderProps = $props();
|
|
8
8
|
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
@component
|
|
42
42
|
[Go to docs](https://flowbite-svelte.com/)
|
|
43
43
|
## Type
|
|
44
|
-
[CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
44
|
+
[CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1387)
|
|
45
45
|
## Props
|
|
46
46
|
@prop size = "sm"
|
|
47
47
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { CardPlaceholderProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1387)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "sm"
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { imagePlaceholder } from "./theme";
|
|
4
4
|
import type { ImagePlaceholderProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { size = "md", rounded, imgOnly = false, class: className, classes, ...restProps }: ImagePlaceholderProps = $props();
|
|
8
8
|
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
@component
|
|
71
71
|
[Go to docs](https://flowbite-svelte.com/)
|
|
72
72
|
## Type
|
|
73
|
-
[ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
73
|
+
[ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1391)
|
|
74
74
|
## Props
|
|
75
75
|
@prop size = "md"
|
|
76
76
|
@prop rounded
|
|
@@ -2,7 +2,7 @@ import type { ImagePlaceholderProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1391)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "md"
|
|
8
8
|
* @prop rounded
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { listPlaceholder } from "./theme";
|
|
4
4
|
import type { ListPlaceholderProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { itemNumber = 5, size = "md", rounded, class: className, classes, ...restProps }: ListPlaceholderProps = $props();
|
|
8
8
|
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
@component
|
|
51
51
|
[Go to docs](https://flowbite-svelte.com/)
|
|
52
52
|
## Type
|
|
53
|
-
[ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
53
|
+
[ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1397)
|
|
54
54
|
## Props
|
|
55
55
|
@prop itemNumber = 5
|
|
56
56
|
@prop size = "md"
|
|
@@ -2,7 +2,7 @@ import type { ListPlaceholderProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1397)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop itemNumber = 5
|
|
8
8
|
* @prop size = "md"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { skeleton } from "./theme";
|
|
4
4
|
import type { SkeletonProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { size = "sm", class: className, classes, ...restProps }: SkeletonProps = $props();
|
|
8
8
|
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
@component
|
|
43
43
|
[Go to docs](https://flowbite-svelte.com/)
|
|
44
44
|
## Type
|
|
45
|
-
[SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
45
|
+
[SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1403)
|
|
46
46
|
## Props
|
|
47
47
|
@prop size = "sm"
|
|
48
48
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { SkeletonProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1403)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "sm"
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { testimonialPlaceholder } from "./theme";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import type { TestimonialPlaceholderProps } from "..";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { class: className, classes, ...restProps }: TestimonialPlaceholderProps = $props();
|
|
8
8
|
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
@component
|
|
53
53
|
[Go to docs](https://flowbite-svelte.com/)
|
|
54
54
|
## Type
|
|
55
|
-
[TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
55
|
+
[TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1407)
|
|
56
56
|
## Props
|
|
57
57
|
@prop class: className
|
|
58
58
|
@prop classes
|
|
@@ -2,7 +2,7 @@ import type { TestimonialPlaceholderProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1407)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop class: className
|
|
8
8
|
* @prop classes
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { textPlaceholder } from "./theme";
|
|
4
4
|
import type { TextPlaceholderProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { size = "sm", class: className, classes, ...restProps }: TextPlaceholderProps = $props();
|
|
8
8
|
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
@component
|
|
78
78
|
[Go to docs](https://flowbite-svelte.com/)
|
|
79
79
|
## Type
|
|
80
|
-
[TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
80
|
+
[TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1409)
|
|
81
81
|
## Props
|
|
82
82
|
@prop size = "sm"
|
|
83
83
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { TextPlaceholderProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1409)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "sm"
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { videoPlaceholder } from "./theme";
|
|
4
4
|
import type { VideoPlaceholderProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { size = "sm", class: className }: VideoPlaceholderProps = $props();
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@component
|
|
25
25
|
[Go to docs](https://flowbite-svelte.com/)
|
|
26
26
|
## Type
|
|
27
|
-
[VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
27
|
+
[VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1413)
|
|
28
28
|
## Props
|
|
29
29
|
@prop size = "sm"
|
|
30
30
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { VideoPlaceholderProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1413)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "sm"
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { widgetPlaceholder } from "./theme";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import type { WidgetPlaceholderProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { class: className, classes }: WidgetPlaceholderProps = $props();
|
|
8
8
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
@component
|
|
31
31
|
[Go to docs](https://flowbite-svelte.com/)
|
|
32
32
|
## Type
|
|
33
|
-
[WidgetPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
33
|
+
[WidgetPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1417)
|
|
34
34
|
## Props
|
|
35
35
|
@prop class: className
|
|
36
36
|
@prop classes
|
|
@@ -2,7 +2,7 @@ import type { WidgetPlaceholderProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [WidgetPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [WidgetPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1417)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop class: className
|
|
8
8
|
* @prop classes
|
package/dist/skeleton/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 CardPlaceholderVariants = VariantProps<typeof cardPlaceholder> & Classes<typeof cardPlaceholder>;
|
|
4
4
|
export type ImagePlaceholderVariants = VariantProps<typeof imagePlaceholder> & Classes<typeof imagePlaceholder>;
|
|
5
5
|
export type ListPlaceholderVariants = VariantProps<typeof listPlaceholder> & Classes<typeof listPlaceholder>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { setSpeedDialContext } from "../context";
|
|
6
6
|
import { speedDial } from "./theme";
|
|
7
7
|
import type { SpeedDialProps } from "../types";
|
|
8
|
-
import { getTheme } from "../theme/themeUtils";
|
|
8
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
9
9
|
|
|
10
10
|
let {
|
|
11
11
|
children,
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
@component
|
|
44
44
|
[Go to docs](https://flowbite-svelte.com/)
|
|
45
45
|
## Type
|
|
46
|
-
[SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
46
|
+
[SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1449)
|
|
47
47
|
## Props
|
|
48
48
|
@prop children
|
|
49
49
|
@prop placement = "top"
|
|
@@ -2,7 +2,7 @@ import type { SpeedDialProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1449)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop placement = "top"
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { speedDialButton } from "./theme";
|
|
6
6
|
import type { SpeedDialButtonProps } from "../types";
|
|
7
7
|
import clsx from "clsx";
|
|
8
|
-
import { getTheme } from "../theme/themeUtils";
|
|
8
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
9
9
|
import { getSpeedDialContext } from "../context";
|
|
10
10
|
|
|
11
11
|
const context = getSpeedDialContext();
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
@component
|
|
48
48
|
[Go to docs](https://flowbite-svelte.com/)
|
|
49
49
|
## Type
|
|
50
|
-
[SpeedDialButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
50
|
+
[SpeedDialButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1463)
|
|
51
51
|
## Props
|
|
52
52
|
@prop children
|
|
53
53
|
@prop name = ""
|
|
@@ -2,7 +2,7 @@ import type { SpeedDialButtonProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SpeedDialButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SpeedDialButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1463)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop name = ""
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
@component
|
|
45
45
|
[Go to docs](https://flowbite-svelte.com/)
|
|
46
46
|
## Type
|
|
47
|
-
[SpeedDialTriggerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
47
|
+
[SpeedDialTriggerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1447)
|
|
48
48
|
## Props
|
|
49
49
|
@prop children
|
|
50
50
|
@prop name = "Open actions menu"
|
|
@@ -2,7 +2,7 @@ import type { SpeedDialTriggerProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SpeedDialTriggerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SpeedDialTriggerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1447)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop name = "Open actions menu"
|
|
@@ -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 SpeedDialVariants = VariantProps<typeof speedDial> & Classes<typeof speedDial>;
|
|
4
4
|
export type SpeedDialButtonVariants = VariantProps<typeof speedDialButton> & Classes<typeof speedDialButton>;
|
|
5
5
|
export declare const speedDial: import("tailwind-variants").TVReturnType<{
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { spinner } from "./theme";
|
|
4
4
|
import type { SpinnerProps } from "../types";
|
|
5
|
-
import { getTheme } from "../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { type = "default", color = "primary", size = "8", class: className, currentFill = "inherit", currentColor = "currentColor", ...restProps }: SpinnerProps = $props();
|
|
8
8
|
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
@component
|
|
84
84
|
[Go to docs](https://flowbite-svelte.com/)
|
|
85
85
|
## Type
|
|
86
|
-
[SpinnerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
86
|
+
[SpinnerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1472)
|
|
87
87
|
## Props
|
|
88
88
|
@prop type = "default"
|
|
89
89
|
@prop color = "primary"
|
|
@@ -2,7 +2,7 @@ import type { SpinnerProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SpinnerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SpinnerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1472)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop type = "default"
|
|
8
8
|
* @prop color = "primary"
|