flowbite-svelte 1.9.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion/Accordion.svelte +8 -9
- package/dist/accordion/Accordion.svelte.d.ts +1 -1
- package/dist/accordion/AccordionItem.svelte +10 -11
- package/dist/accordion/AccordionItem.svelte.d.ts +1 -1
- package/dist/accordion/index.d.ts +1 -1
- package/dist/accordion/index.js +1 -1
- package/dist/accordion/theme.d.ts +18 -3
- package/dist/accordion/theme.js +6 -2
- package/dist/alert/Alert.svelte +8 -8
- package/dist/alert/Alert.svelte.d.ts +1 -1
- package/dist/alert/index.d.ts +1 -1
- package/dist/alert/theme.d.ts +1 -0
- package/dist/avatar/Avatar.svelte +8 -9
- package/dist/avatar/Avatar.svelte.d.ts +1 -1
- package/dist/avatar/index.d.ts +1 -1
- package/dist/avatar/theme.d.ts +1 -0
- package/dist/badge/Badge.svelte +9 -11
- package/dist/badge/Badge.svelte.d.ts +1 -1
- package/dist/badge/index.d.ts +1 -1
- package/dist/badge/theme.d.ts +5 -3
- package/dist/badge/theme.js +1 -1
- package/dist/banner/Banner.svelte +9 -5
- package/dist/banner/Banner.svelte.d.ts +1 -1
- package/dist/banner/index.d.ts +1 -1
- package/dist/banner/theme.d.ts +2 -0
- package/dist/bottom-navigation/BottomNav.svelte +8 -4
- package/dist/bottom-navigation/BottomNav.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavHeader.svelte +11 -6
- package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte +9 -4
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavItem.svelte +8 -4
- package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +1 -1
- package/dist/bottom-navigation/index.d.ts +1 -1
- package/dist/bottom-navigation/index.js +1 -1
- package/dist/bottom-navigation/theme.d.ts +10 -2
- package/dist/bottom-navigation/theme.js +2 -2
- package/dist/breadcrumb/Breadcrumb.svelte +7 -10
- package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.svelte +13 -10
- package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
- package/dist/breadcrumb/index.d.ts +1 -1
- package/dist/breadcrumb/index.js +1 -1
- package/dist/breadcrumb/theme.d.ts +33 -22
- package/dist/breadcrumb/theme.js +18 -12
- package/dist/button-group/ButtonGroup.svelte +5 -2
- package/dist/button-group/ButtonGroup.svelte.d.ts +1 -1
- package/dist/button-group/index.d.ts +1 -1
- package/dist/button-group/theme.d.ts +1 -0
- package/dist/buttons/Button.svelte +7 -3
- package/dist/buttons/Button.svelte.d.ts +1 -1
- package/dist/buttons/GradientButton.svelte +8 -5
- package/dist/buttons/GradientButton.svelte.d.ts +1 -1
- package/dist/buttons/index.d.ts +1 -1
- package/dist/buttons/theme.d.ts +4 -0
- package/dist/card/Card.svelte +9 -6
- package/dist/card/Card.svelte.d.ts +2 -2
- package/dist/card/index.d.ts +1 -1
- package/dist/card/theme.d.ts +2 -0
- package/dist/carousel/Carousel.svelte +5 -2
- package/dist/carousel/Carousel.svelte.d.ts +1 -1
- package/dist/carousel/{Indicators.svelte → CarouselIndicators.svelte} +8 -5
- package/dist/carousel/{Indicators.svelte.d.ts → CarouselIndicators.svelte.d.ts} +4 -4
- package/dist/carousel/ControlButton.svelte +5 -2
- package/dist/carousel/ControlButton.svelte.d.ts +1 -1
- package/dist/carousel/Controls.svelte +6 -3
- package/dist/carousel/Controls.svelte.d.ts +1 -1
- package/dist/carousel/Slide.svelte +5 -2
- package/dist/carousel/Slide.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnail.svelte +5 -2
- package/dist/carousel/Thumbnail.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnails.svelte +5 -2
- package/dist/carousel/Thumbnails.svelte.d.ts +1 -1
- package/dist/carousel/index.d.ts +2 -2
- package/dist/carousel/index.js +2 -2
- package/dist/carousel/theme.d.ts +8 -1
- package/dist/carousel/theme.js +1 -2
- package/dist/clipboard/Clipboard.svelte +6 -3
- package/dist/clipboard/Clipboard.svelte.d.ts +2 -2
- package/dist/clipboard/index.d.ts +1 -1
- package/dist/clipboard/theme.d.ts +1 -0
- package/dist/darkmode/DarkMode.svelte +5 -2
- package/dist/darkmode/DarkMode.svelte.d.ts +1 -1
- package/dist/darkmode/index.d.ts +1 -1
- package/dist/darkmode/theme.d.ts +1 -0
- package/dist/datepicker/Datepicker.svelte +25 -20
- package/dist/datepicker/Datepicker.svelte.d.ts +2 -2
- package/dist/datepicker/index.d.ts +1 -1
- package/dist/datepicker/theme.d.ts +2 -0
- package/dist/device-mockups/Android.svelte +1 -1
- package/dist/device-mockups/Android.svelte.d.ts +1 -1
- package/dist/device-mockups/DefaultMockup.svelte +1 -1
- package/dist/device-mockups/DefaultMockup.svelte.d.ts +1 -1
- package/dist/device-mockups/Desktop.svelte +1 -1
- 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 +1 -1
- package/dist/device-mockups/Ios.svelte.d.ts +1 -1
- package/dist/device-mockups/Laptop.svelte +1 -1
- package/dist/device-mockups/Laptop.svelte.d.ts +1 -1
- package/dist/device-mockups/Smartwatch.svelte +1 -1
- package/dist/device-mockups/Smartwatch.svelte.d.ts +1 -1
- package/dist/device-mockups/Tablet.svelte +1 -1
- package/dist/device-mockups/Tablet.svelte.d.ts +1 -1
- package/dist/device-mockups/theme.d.ts +21 -21
- package/dist/drawer/Drawer.svelte +8 -5
- package/dist/drawer/Drawer.svelte.d.ts +1 -1
- package/dist/drawer/Drawerhead.svelte +8 -5
- package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
- package/dist/drawer/index.d.ts +1 -1
- package/dist/drawer/theme.d.ts +16 -12
- package/dist/drawer/theme.js +4 -4
- package/dist/dropdown/Dropdown.svelte +5 -2
- package/dist/dropdown/Dropdown.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownDivider.svelte +5 -2
- package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownGroup.svelte +5 -2
- package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownHeader.svelte +5 -2
- package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownItem.svelte +6 -3
- package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
- package/dist/dropdown/index.d.ts +1 -1
- package/dist/dropdown/theme.d.ts +7 -0
- package/dist/footer/Footer.svelte +5 -2
- package/dist/footer/Footer.svelte.d.ts +1 -1
- package/dist/footer/FooterBrand.svelte +8 -5
- package/dist/footer/FooterBrand.svelte.d.ts +1 -1
- package/dist/footer/FooterCopyright.svelte +8 -5
- package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
- package/dist/footer/FooterIcon.svelte +5 -2
- package/dist/footer/FooterIcon.svelte.d.ts +1 -1
- package/dist/footer/FooterLink.svelte +8 -4
- package/dist/footer/FooterLink.svelte.d.ts +1 -1
- package/dist/footer/FooterLinkGroup.svelte +5 -2
- package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
- package/dist/footer/index.d.ts +1 -1
- package/dist/footer/theme.d.ts +18 -10
- package/dist/footer/theme.js +6 -7
- package/dist/forms/button-toggle/ButtonToggle.svelte +8 -5
- package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +1 -1
- package/dist/forms/button-toggle/ButtonToggleGroup.svelte +4 -1
- package/dist/forms/button-toggle/CheckIcon.svelte +1 -1
- package/dist/forms/button-toggle/CheckIcon.svelte.d.ts +1 -1
- package/dist/forms/button-toggle/index.d.ts +1 -1
- package/dist/forms/button-toggle/theme.d.ts +152 -144
- package/dist/forms/button-toggle/theme.js +65 -63
- package/dist/forms/checkbox/Checkbox.svelte +8 -5
- package/dist/forms/checkbox/CheckboxButton.svelte +5 -2
- package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
- package/dist/forms/checkbox/index.d.ts +1 -1
- package/dist/forms/checkbox/theme.d.ts +3 -0
- package/dist/forms/dropzone/Dropzone.svelte +5 -2
- package/dist/forms/dropzone/Dropzone.svelte.d.ts +1 -1
- package/dist/forms/dropzone/index.d.ts +1 -1
- package/dist/forms/dropzone/theme.d.ts +1 -0
- package/dist/forms/fileupload/Fileupload.svelte +8 -5
- package/dist/forms/fileupload/Fileupload.svelte.d.ts +1 -1
- package/dist/forms/fileupload/index.d.ts +1 -1
- package/dist/forms/fileupload/theme.d.ts +2 -0
- package/dist/forms/floating-label/FloatingLabelInput.svelte +11 -8
- package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +1 -1
- package/dist/forms/floating-label/index.d.ts +1 -1
- package/dist/forms/floating-label/theme.d.ts +5 -3
- package/dist/forms/floating-label/theme.js +1 -1
- package/dist/forms/helper/Helper.svelte +5 -2
- package/dist/forms/helper/Helper.svelte.d.ts +1 -1
- package/dist/forms/helper/index.d.ts +1 -1
- package/dist/forms/helper/theme.d.ts +1 -0
- package/dist/forms/input-addon/InputAddon.svelte +6 -2
- package/dist/forms/input-addon/InputAddon.svelte.d.ts +1 -1
- package/dist/forms/input-field/Input.svelte +13 -10
- package/dist/forms/input-field/index.d.ts +1 -1
- package/dist/forms/input-field/theme.d.ts +5 -3
- package/dist/forms/input-field/theme.js +1 -1
- package/dist/forms/label/Label.svelte +5 -2
- package/dist/forms/label/Label.svelte.d.ts +1 -1
- package/dist/forms/label/index.d.ts +1 -1
- package/dist/forms/label/theme.d.ts +1 -0
- package/dist/forms/phoneinput/PhoneInput.svelte +11 -8
- package/dist/forms/phoneinput/PhoneInput.svelte.d.ts +1 -1
- package/dist/forms/phoneinput/index.d.ts +1 -1
- package/dist/forms/phoneinput/theme.d.ts +2 -0
- package/dist/forms/radio/Radio.svelte +6 -3
- package/dist/forms/radio/RadioButton.svelte +4 -1
- package/dist/forms/radio/index.d.ts +1 -1
- package/dist/forms/radio/theme.d.ts +3 -0
- package/dist/forms/range/Range.svelte +5 -2
- package/dist/forms/range/Range.svelte.d.ts +1 -1
- package/dist/forms/range/theme.d.ts +1 -0
- package/dist/forms/search/Search.svelte +12 -9
- package/dist/forms/search/Search.svelte.d.ts +1 -1
- package/dist/forms/search/index.d.ts +1 -1
- package/dist/forms/search/theme.d.ts +5 -3
- package/dist/forms/search/theme.js +1 -1
- package/dist/forms/select/MultiSelect.svelte +7 -4
- package/dist/forms/select/Select.svelte +8 -5
- package/dist/forms/select/index.d.ts +1 -1
- package/dist/forms/select/index.js +1 -1
- package/dist/forms/select/theme.d.ts +7 -3
- package/dist/forms/select/theme.js +1 -1
- package/dist/forms/tags/Tags.svelte +10 -7
- package/dist/forms/tags/Tags.svelte.d.ts +1 -1
- package/dist/forms/tags/index.d.ts +1 -1
- package/dist/forms/tags/theme.d.ts +11 -9
- package/dist/forms/tags/theme.js +1 -1
- package/dist/forms/textarea/Textarea.svelte +14 -11
- package/dist/forms/textarea/Textarea.svelte.d.ts +1 -1
- package/dist/forms/textarea/index.d.ts +1 -1
- package/dist/forms/textarea/theme.d.ts +5 -3
- package/dist/forms/textarea/theme.js +1 -1
- package/dist/forms/timepicker/Timepicker.svelte +107 -64
- package/dist/forms/timepicker/Timepicker.svelte.d.ts +1 -1
- package/dist/forms/timepicker/index.d.ts +1 -0
- package/dist/forms/timepicker/index.js +1 -0
- package/dist/forms/timepicker/theme.d.ts +191 -0
- package/dist/forms/timepicker/theme.js +72 -0
- package/dist/forms/toggle/Toggle.svelte +8 -5
- package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
- package/dist/forms/toggle/index.d.ts +1 -1
- package/dist/forms/toggle/theme.d.ts +2 -0
- package/dist/gallery/Gallery.svelte +7 -4
- package/dist/gallery/Gallery.svelte.d.ts +1 -1
- package/dist/gallery/index.d.ts +1 -1
- package/dist/gallery/theme.d.ts +5 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -2
- package/dist/indicator/Indicator.svelte +6 -3
- package/dist/indicator/Indicator.svelte.d.ts +1 -1
- package/dist/indicator/index.d.ts +1 -1
- package/dist/indicator/theme.d.ts +121 -360
- package/dist/indicator/theme.js +48 -56
- package/dist/kbd/Kbd.svelte +6 -2
- package/dist/kbd/Kbd.svelte.d.ts +1 -1
- package/dist/kbd/index.d.ts +1 -1
- package/dist/kbd/theme.d.ts +1 -0
- package/dist/list-group/Listgroup.svelte +5 -2
- package/dist/list-group/Listgroup.svelte.d.ts +1 -1
- package/dist/list-group/ListgroupItem.svelte +7 -4
- package/dist/list-group/ListgroupItem.svelte.d.ts +1 -1
- package/dist/list-group/index.d.ts +1 -1
- package/dist/list-group/theme.d.ts +2 -0
- package/dist/mega-menu/MegaMenu.svelte +9 -6
- package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
- package/dist/mega-menu/index.d.ts +1 -1
- package/dist/mega-menu/theme.d.ts +2 -0
- package/dist/modal/Modal.svelte +13 -10
- package/dist/modal/Modal.svelte.d.ts +1 -1
- package/dist/modal/index.d.ts +2 -3
- package/dist/modal/index.js +2 -3
- package/dist/modal/theme.d.ts +5 -3
- package/dist/modal/theme.js +1 -1
- package/dist/navbar/Menu.svelte +6 -2
- package/dist/navbar/Menu.svelte.d.ts +1 -1
- package/dist/navbar/NavBrand.svelte +7 -4
- package/dist/navbar/NavBrand.svelte.d.ts +1 -1
- package/dist/navbar/NavContainer.svelte +7 -4
- package/dist/navbar/NavContainer.svelte.d.ts +1 -1
- package/dist/navbar/NavHamburger.svelte +9 -6
- package/dist/navbar/NavHamburger.svelte.d.ts +1 -1
- package/dist/navbar/NavLi.svelte +7 -4
- package/dist/navbar/NavLi.svelte.d.ts +1 -1
- package/dist/navbar/NavUl.svelte +11 -8
- package/dist/navbar/NavUl.svelte.d.ts +1 -1
- package/dist/navbar/Navbar.svelte +6 -4
- package/dist/navbar/Navbar.svelte.d.ts +1 -1
- package/dist/navbar/index.d.ts +7 -7
- package/dist/navbar/index.js +7 -7
- package/dist/navbar/theme.d.ts +12 -5
- package/dist/navbar/theme.js +5 -5
- package/dist/pagination/Pagination.svelte +7 -3
- package/dist/pagination/Pagination.svelte.d.ts +1 -1
- package/dist/pagination/PaginationButton.svelte +18 -12
- package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
- package/dist/pagination/PaginationItem.svelte +7 -4
- package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
- package/dist/pagination/PaginationNav.svelte +13 -11
- package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
- package/dist/pagination/index.d.ts +1 -1
- package/dist/pagination/index.js +1 -1
- package/dist/pagination/theme.d.ts +7 -2
- package/dist/pagination/theme.js +2 -2
- package/dist/popover/Popover.svelte +10 -7
- package/dist/popover/Popover.svelte.d.ts +1 -1
- package/dist/popover/index.d.ts +2 -3
- package/dist/popover/index.js +2 -3
- package/dist/popover/theme.d.ts +2 -3
- package/dist/popover/theme.js +1 -2
- package/dist/progress/Progressbar.svelte +12 -8
- package/dist/progress/Progressbar.svelte.d.ts +1 -1
- package/dist/progress/Progressradial.svelte +13 -9
- package/dist/progress/Progressradial.svelte.d.ts +1 -1
- package/dist/progress/index.d.ts +1 -1
- package/dist/progress/index.js +1 -1
- package/dist/progress/theme.d.ts +4 -0
- package/dist/rating/AdvancedRating.svelte +12 -9
- 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 +8 -4
- 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 +14 -11
- package/dist/rating/Review.svelte.d.ts +1 -1
- package/dist/rating/ScoreRating.svelte +14 -10
- 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/index.d.ts +10 -11
- package/dist/rating/index.js +10 -11
- package/dist/rating/theme.d.ts +16 -14
- package/dist/rating/theme.js +2 -3
- package/dist/sidebar/Sidebar.svelte +12 -9
- package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarBrand.svelte +10 -7
- package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarButton.svelte +8 -4
- package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarCta.svelte +11 -7
- package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarDropdownWrapper.svelte +13 -10
- 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 +1 -1
- package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
- package/dist/sidebar/index.d.ts +10 -11
- package/dist/sidebar/index.js +10 -11
- package/dist/sidebar/theme.d.ts +22 -13
- package/dist/sidebar/theme.js +4 -4
- package/dist/skeleton/CardPlaceholder.svelte +17 -14
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte +17 -14
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ListPlaceholder.svelte +12 -9
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/Skeleton.svelte +15 -11
- package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
- package/dist/skeleton/TestimonialPlaceholder.svelte +14 -10
- package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/TextPlaceholder.svelte +32 -28
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte +7 -3
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte +8 -4
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/index.d.ts +9 -10
- package/dist/skeleton/index.js +9 -10
- package/dist/skeleton/theme.d.ts +29 -15
- package/dist/skeleton/theme.js +8 -9
- package/dist/speed-dial/SpeedDial.svelte +9 -9
- package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialButton.svelte +9 -8
- 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/index.d.ts +4 -5
- package/dist/speed-dial/index.js +4 -5
- package/dist/speed-dial/theme.d.ts +8 -4
- package/dist/speed-dial/theme.js +2 -2
- package/dist/spinner/Spinner.svelte +6 -3
- package/dist/spinner/Spinner.svelte.d.ts +1 -1
- package/dist/spinner/index.d.ts +2 -3
- package/dist/spinner/index.js +2 -3
- package/dist/spinner/theme.d.ts +1 -0
- package/dist/stepindicator/StepIndicator.svelte +28 -49
- package/dist/stepindicator/StepIndicator.svelte.d.ts +3 -3
- package/dist/stepindicator/index.d.ts +1 -0
- package/dist/stepindicator/index.js +1 -0
- package/dist/stepindicator/theme.d.ts +246 -0
- package/dist/stepindicator/theme.js +103 -0
- package/dist/stepper/BreadcrumbStepper.svelte +15 -11
- package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
- package/dist/stepper/DetailedStepper.svelte +9 -9
- package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
- package/dist/stepper/ProgressStepper.svelte +13 -11
- package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
- package/dist/stepper/Stepper.svelte +15 -13
- package/dist/stepper/Stepper.svelte.d.ts +1 -1
- package/dist/stepper/TimelineStepper.svelte +9 -9
- package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
- package/dist/stepper/VerticalStepper.svelte +9 -10
- package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
- package/dist/stepper/index.d.ts +1 -1
- package/dist/stepper/index.js +1 -1
- package/dist/stepper/theme.d.ts +303 -261
- package/dist/stepper/theme.js +198 -186
- package/dist/table/Table.svelte +8 -6
- package/dist/table/Table.svelte.d.ts +2 -2
- package/dist/table/TableBody.svelte +6 -2
- package/dist/table/TableBody.svelte.d.ts +1 -1
- package/dist/table/TableBodyCell.svelte +7 -4
- package/dist/table/TableBodyCell.svelte.d.ts +1 -1
- package/dist/table/TableBodyRow.svelte +8 -5
- package/dist/table/TableBodyRow.svelte.d.ts +1 -1
- package/dist/table/TableHead.svelte +8 -5
- package/dist/table/TableHead.svelte.d.ts +1 -1
- package/dist/table/TableHeadCell.svelte +7 -4
- package/dist/table/TableHeadCell.svelte.d.ts +1 -1
- package/dist/table/TableSearch.svelte +35 -30
- package/dist/table/TableSearch.svelte.d.ts +8 -8
- package/dist/table/index.d.ts +8 -9
- package/dist/table/index.js +8 -9
- package/dist/table/theme.d.ts +192 -4
- package/dist/table/theme.js +68 -4
- package/dist/tabs/TabItem.svelte +8 -5
- package/dist/tabs/TabItem.svelte.d.ts +1 -1
- package/dist/tabs/Tabs.svelte +9 -6
- package/dist/tabs/Tabs.svelte.d.ts +1 -1
- package/dist/tabs/index.d.ts +3 -4
- package/dist/tabs/index.js +3 -4
- package/dist/tabs/theme.d.ts +4 -0
- package/dist/theme/ThemeProvider.svelte +30 -0
- package/dist/theme/ThemeProvider.svelte.d.ts +17 -0
- package/dist/theme/index.d.ts +0 -10296
- package/dist/theme/index.js +2 -119
- package/dist/theme/themeUtils.d.ts +2 -0
- package/dist/theme/themeUtils.js +6 -0
- package/dist/timeline/Activity.svelte +6 -3
- package/dist/timeline/Activity.svelte.d.ts +1 -1
- package/dist/timeline/ActivityItem.svelte +15 -11
- package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
- package/dist/timeline/Group.svelte +11 -5
- package/dist/timeline/Group.svelte.d.ts +1 -1
- package/dist/timeline/GroupItem.svelte +13 -8
- package/dist/timeline/GroupItem.svelte.d.ts +1 -1
- package/dist/timeline/Timeline.svelte +6 -2
- package/dist/timeline/Timeline.svelte.d.ts +1 -1
- package/dist/timeline/TimelineItem.svelte +13 -9
- package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
- package/dist/timeline/index.d.ts +7 -8
- package/dist/timeline/index.js +7 -8
- package/dist/timeline/theme.d.ts +25 -15
- package/dist/timeline/theme.js +3 -3
- package/dist/toast/Toast.svelte +10 -6
- package/dist/toast/Toast.svelte.d.ts +1 -1
- package/dist/toast/index.d.ts +2 -3
- package/dist/toast/index.js +2 -3
- package/dist/toast/theme.d.ts +2 -0
- package/dist/toolbar/Toolbar.svelte +8 -4
- package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarButton.svelte +6 -2
- package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarGroup.svelte +6 -2
- package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
- package/dist/toolbar/index.d.ts +4 -5
- package/dist/toolbar/index.js +4 -5
- package/dist/toolbar/theme.d.ts +4 -0
- package/dist/tooltip/Tooltip.svelte +7 -3
- package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
- package/dist/tooltip/index.d.ts +2 -3
- package/dist/tooltip/index.js +2 -3
- package/dist/tooltip/theme.d.ts +2 -0
- package/dist/types.d.ts +25 -25
- package/dist/types.js +1 -1
- package/dist/typography/anchor/A.svelte +7 -3
- package/dist/typography/anchor/A.svelte.d.ts +1 -1
- package/dist/typography/anchor/index.d.ts +2 -3
- package/dist/typography/anchor/index.js +2 -3
- package/dist/typography/anchor/theme.d.ts +1 -0
- package/dist/typography/blockquote/Blockquote.svelte +6 -2
- package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
- package/dist/typography/blockquote/theme.d.ts +1 -0
- package/dist/typography/descriptionlist/DescriptionList.svelte +7 -3
- package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
- package/dist/typography/descriptionlist/index.d.ts +2 -3
- package/dist/typography/descriptionlist/index.js +2 -3
- package/dist/typography/descriptionlist/theme.d.ts +1 -0
- package/dist/typography/heading/Heading.svelte +7 -3
- package/dist/typography/heading/Heading.svelte.d.ts +1 -1
- package/dist/typography/heading/index.d.ts +2 -3
- package/dist/typography/heading/index.js +2 -3
- package/dist/typography/heading/theme.d.ts +1 -0
- package/dist/typography/hr/Hr.svelte +10 -6
- package/dist/typography/hr/Hr.svelte.d.ts +1 -1
- package/dist/typography/hr/index.d.ts +2 -3
- package/dist/typography/hr/index.js +2 -3
- package/dist/typography/hr/theme.d.ts +2 -0
- package/dist/typography/img/EnhancedImg.svelte +10 -6
- package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
- package/dist/typography/img/Img.svelte +10 -6
- package/dist/typography/img/Img.svelte.d.ts +1 -1
- package/dist/typography/img/index.d.ts +3 -4
- package/dist/typography/img/index.js +3 -4
- package/dist/typography/img/theme.d.ts +2 -0
- package/dist/typography/layout/Layout.svelte +6 -2
- package/dist/typography/layout/Layout.svelte.d.ts +1 -1
- package/dist/typography/layout/index.d.ts +2 -3
- package/dist/typography/layout/index.js +2 -3
- package/dist/typography/layout/theme.d.ts +1 -0
- package/dist/typography/list/Li.svelte +6 -3
- package/dist/typography/list/Li.svelte.d.ts +1 -1
- package/dist/typography/list/List.svelte +6 -2
- package/dist/typography/list/List.svelte.d.ts +1 -1
- package/dist/typography/list/index.d.ts +3 -4
- package/dist/typography/list/index.js +3 -4
- package/dist/typography/list/theme.d.ts +1 -0
- package/dist/typography/mark/Mark.svelte +6 -2
- package/dist/typography/mark/Mark.svelte.d.ts +1 -1
- package/dist/typography/mark/index.d.ts +2 -3
- package/dist/typography/mark/index.js +2 -3
- package/dist/typography/mark/theme.d.ts +1 -0
- package/dist/typography/paragraph/P.svelte +6 -2
- package/dist/typography/paragraph/P.svelte.d.ts +1 -1
- package/dist/typography/paragraph/index.d.ts +2 -3
- package/dist/typography/paragraph/index.js +2 -3
- package/dist/typography/paragraph/theme.d.ts +1 -0
- package/dist/typography/secondary/Secondary.svelte +6 -2
- package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
- package/dist/typography/secondary/index.d.ts +2 -3
- package/dist/typography/secondary/index.js +2 -3
- package/dist/typography/secondary/theme.d.ts +1 -0
- package/dist/typography/span/Span.svelte +6 -2
- package/dist/typography/span/Span.svelte.d.ts +1 -1
- package/dist/typography/span/index.d.ts +2 -3
- package/dist/typography/span/index.js +2 -3
- package/dist/typography/span/theme.d.ts +1 -0
- package/dist/utils/Arrow.svelte +1 -1
- package/dist/utils/Arrow.svelte.d.ts +1 -1
- package/dist/utils/CloseButton.svelte +1 -1
- package/dist/utils/CloseButton.svelte.d.ts +1 -1
- package/dist/utils/Popper.svelte +1 -1
- package/dist/utils/Popper.svelte.d.ts +1 -1
- package/dist/video/Video.svelte +6 -2
- package/dist/video/Video.svelte.d.ts +1 -1
- package/dist/video/index.d.ts +1 -2
- package/dist/video/index.js +1 -2
- package/package.json +9 -12
- package/dist/chart/Chart.svelte +0 -45
- package/dist/chart/Chart.svelte.d.ts +0 -13
- package/dist/chart/chart.css +0 -166
- package/dist/chart/index.d.ts +0 -1
- package/dist/chart/index.js +0 -1
- package/dist/forms/button-toggle/button-toggle.txt +0 -25
- package/dist/theme/Theme.svelte +0 -60
- package/dist/theme/Theme.svelte.d.ts +0 -12
|
@@ -388,3 +388,5 @@ export declare const datepicker: import("tailwind-variants").TVReturnType<{
|
|
|
388
388
|
dayButton: string;
|
|
389
389
|
monthButton: string;
|
|
390
390
|
}, undefined, unknown, unknown, undefined>>;
|
|
391
|
+
export type DatepickerSlots = keyof typeof datepicker.slots;
|
|
392
|
+
export type DatepickerTheme = Partial<Record<DatepickerSlots, string>>;
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@component
|
|
25
25
|
[Go to docs](https://flowbite-svelte.com/)
|
|
26
26
|
## Type
|
|
27
|
-
[AndroidProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
27
|
+
[AndroidProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L526)
|
|
28
28
|
## Props
|
|
29
29
|
@prop children
|
|
30
30
|
@prop divClass
|
|
@@ -2,7 +2,7 @@ import { type AndroidProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [AndroidProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [AndroidProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L526)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop divClass
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
@component
|
|
24
24
|
[Go to docs](https://flowbite-svelte.com/)
|
|
25
25
|
## Type
|
|
26
|
-
[DefaultMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
26
|
+
[DefaultMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L537)
|
|
27
27
|
## Props
|
|
28
28
|
@prop children
|
|
29
29
|
@prop divClass
|
|
@@ -2,7 +2,7 @@ import { type DefaultMockupProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DefaultMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DefaultMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L537)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop divClass
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
@component
|
|
22
22
|
[Go to docs](https://flowbite-svelte.com/)
|
|
23
23
|
## Type
|
|
24
|
-
[MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
24
|
+
[MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L518)
|
|
25
25
|
## Props
|
|
26
26
|
@prop children
|
|
27
27
|
@prop divClass
|
|
@@ -2,7 +2,7 @@ import { type MockupBaseProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L518)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop divClass
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
@component
|
|
33
33
|
[Go to docs](https://flowbite-svelte.com/)
|
|
34
34
|
## Type
|
|
35
|
-
[DeviceMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
35
|
+
[DeviceMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L513)
|
|
36
36
|
## Props
|
|
37
37
|
@prop children
|
|
38
38
|
@prop device = "default"
|
|
@@ -3,7 +3,7 @@ import type { DeviceMockupProps } from "../types";
|
|
|
3
3
|
/**
|
|
4
4
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
5
5
|
* ## Type
|
|
6
|
-
* [DeviceMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
6
|
+
* [DeviceMockupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L513)
|
|
7
7
|
* ## Props
|
|
8
8
|
* @prop children
|
|
9
9
|
* @prop device = "default"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
@component
|
|
24
24
|
[Go to docs](https://flowbite-svelte.com/)
|
|
25
25
|
## Type
|
|
26
|
-
[IosProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
26
|
+
[IosProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L547)
|
|
27
27
|
## Props
|
|
28
28
|
@prop children
|
|
29
29
|
@prop divClass
|
|
@@ -2,7 +2,7 @@ import { type IosProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [IosProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [IosProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L547)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop divClass
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@component
|
|
25
25
|
[Go to docs](https://flowbite-svelte.com/)
|
|
26
26
|
## Type
|
|
27
|
-
[MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
27
|
+
[MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L518)
|
|
28
28
|
## Props
|
|
29
29
|
@prop children
|
|
30
30
|
@prop divClass
|
|
@@ -2,7 +2,7 @@ import { type MockupBaseProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [MockupBaseProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L518)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop divClass
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
@component
|
|
26
26
|
[Go to docs](https://flowbite-svelte.com/)
|
|
27
27
|
## Type
|
|
28
|
-
[SmartwatchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
28
|
+
[SmartwatchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L557)
|
|
29
29
|
## Props
|
|
30
30
|
@prop children
|
|
31
31
|
@prop divClass
|
|
@@ -2,7 +2,7 @@ import { type SmartwatchProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SmartwatchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SmartwatchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L557)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop divClass
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
@component
|
|
24
24
|
[Go to docs](https://flowbite-svelte.com/)
|
|
25
25
|
## Type
|
|
26
|
-
[TabletProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
26
|
+
[TabletProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L567)
|
|
27
27
|
## Props
|
|
28
28
|
@prop children
|
|
29
29
|
@prop divClass
|
|
@@ -2,7 +2,7 @@ import { type TabletProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TabletProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TabletProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L567)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop divClass
|
|
@@ -2,9 +2,9 @@ declare const android: import("tailwind-variants").TVReturnType<{
|
|
|
2
2
|
[key: string]: {
|
|
3
3
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
4
4
|
slot?: import("tailwind-variants").ClassValue;
|
|
5
|
+
div?: import("tailwind-variants").ClassValue;
|
|
5
6
|
top?: import("tailwind-variants").ClassValue;
|
|
6
7
|
right?: import("tailwind-variants").ClassValue;
|
|
7
|
-
div?: import("tailwind-variants").ClassValue;
|
|
8
8
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
9
9
|
leftMid?: import("tailwind-variants").ClassValue;
|
|
10
10
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
@@ -14,9 +14,9 @@ declare const android: import("tailwind-variants").TVReturnType<{
|
|
|
14
14
|
[x: string]: {
|
|
15
15
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
16
16
|
slot?: import("tailwind-variants").ClassValue;
|
|
17
|
+
div?: import("tailwind-variants").ClassValue;
|
|
17
18
|
top?: import("tailwind-variants").ClassValue;
|
|
18
19
|
right?: import("tailwind-variants").ClassValue;
|
|
19
|
-
div?: import("tailwind-variants").ClassValue;
|
|
20
20
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
21
21
|
leftMid?: import("tailwind-variants").ClassValue;
|
|
22
22
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
@@ -34,9 +34,9 @@ declare const android: import("tailwind-variants").TVReturnType<{
|
|
|
34
34
|
[key: string]: {
|
|
35
35
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
36
36
|
slot?: import("tailwind-variants").ClassValue;
|
|
37
|
+
div?: import("tailwind-variants").ClassValue;
|
|
37
38
|
top?: import("tailwind-variants").ClassValue;
|
|
38
39
|
right?: import("tailwind-variants").ClassValue;
|
|
39
|
-
div?: import("tailwind-variants").ClassValue;
|
|
40
40
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
41
41
|
leftMid?: import("tailwind-variants").ClassValue;
|
|
42
42
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
@@ -63,9 +63,9 @@ declare const defaultMockup: import("tailwind-variants").TVReturnType<{
|
|
|
63
63
|
[key: string]: {
|
|
64
64
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
65
65
|
slot?: import("tailwind-variants").ClassValue;
|
|
66
|
+
div?: import("tailwind-variants").ClassValue;
|
|
66
67
|
top?: import("tailwind-variants").ClassValue;
|
|
67
68
|
right?: import("tailwind-variants").ClassValue;
|
|
68
|
-
div?: import("tailwind-variants").ClassValue;
|
|
69
69
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
70
70
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
71
71
|
};
|
|
@@ -74,9 +74,9 @@ declare const defaultMockup: import("tailwind-variants").TVReturnType<{
|
|
|
74
74
|
[x: string]: {
|
|
75
75
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
76
76
|
slot?: import("tailwind-variants").ClassValue;
|
|
77
|
+
div?: import("tailwind-variants").ClassValue;
|
|
77
78
|
top?: import("tailwind-variants").ClassValue;
|
|
78
79
|
right?: import("tailwind-variants").ClassValue;
|
|
79
|
-
div?: import("tailwind-variants").ClassValue;
|
|
80
80
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
81
81
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
82
82
|
};
|
|
@@ -92,9 +92,9 @@ declare const defaultMockup: import("tailwind-variants").TVReturnType<{
|
|
|
92
92
|
[key: string]: {
|
|
93
93
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
94
94
|
slot?: import("tailwind-variants").ClassValue;
|
|
95
|
+
div?: import("tailwind-variants").ClassValue;
|
|
95
96
|
top?: import("tailwind-variants").ClassValue;
|
|
96
97
|
right?: import("tailwind-variants").ClassValue;
|
|
97
|
-
div?: import("tailwind-variants").ClassValue;
|
|
98
98
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
99
99
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
100
100
|
};
|
|
@@ -117,8 +117,8 @@ declare const defaultMockup: import("tailwind-variants").TVReturnType<{
|
|
|
117
117
|
declare const desktop: import("tailwind-variants").TVReturnType<{
|
|
118
118
|
[key: string]: {
|
|
119
119
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
120
|
-
inner?: import("tailwind-variants").ClassValue;
|
|
121
120
|
div?: import("tailwind-variants").ClassValue;
|
|
121
|
+
inner?: import("tailwind-variants").ClassValue;
|
|
122
122
|
bot?: import("tailwind-variants").ClassValue;
|
|
123
123
|
botUnder?: import("tailwind-variants").ClassValue;
|
|
124
124
|
};
|
|
@@ -126,8 +126,8 @@ declare const desktop: import("tailwind-variants").TVReturnType<{
|
|
|
126
126
|
} | {
|
|
127
127
|
[x: string]: {
|
|
128
128
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
129
|
-
inner?: import("tailwind-variants").ClassValue;
|
|
130
129
|
div?: import("tailwind-variants").ClassValue;
|
|
130
|
+
inner?: import("tailwind-variants").ClassValue;
|
|
131
131
|
bot?: import("tailwind-variants").ClassValue;
|
|
132
132
|
botUnder?: import("tailwind-variants").ClassValue;
|
|
133
133
|
};
|
|
@@ -140,8 +140,8 @@ declare const desktop: import("tailwind-variants").TVReturnType<{
|
|
|
140
140
|
}, undefined, {
|
|
141
141
|
[key: string]: {
|
|
142
142
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
143
|
-
inner?: import("tailwind-variants").ClassValue;
|
|
144
143
|
div?: import("tailwind-variants").ClassValue;
|
|
144
|
+
inner?: import("tailwind-variants").ClassValue;
|
|
145
145
|
bot?: import("tailwind-variants").ClassValue;
|
|
146
146
|
botUnder?: import("tailwind-variants").ClassValue;
|
|
147
147
|
};
|
|
@@ -161,9 +161,9 @@ declare const ios: import("tailwind-variants").TVReturnType<{
|
|
|
161
161
|
[key: string]: {
|
|
162
162
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
163
163
|
slot?: import("tailwind-variants").ClassValue;
|
|
164
|
+
div?: import("tailwind-variants").ClassValue;
|
|
164
165
|
top?: import("tailwind-variants").ClassValue;
|
|
165
166
|
right?: import("tailwind-variants").ClassValue;
|
|
166
|
-
div?: import("tailwind-variants").ClassValue;
|
|
167
167
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
168
168
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
169
169
|
};
|
|
@@ -172,9 +172,9 @@ declare const ios: import("tailwind-variants").TVReturnType<{
|
|
|
172
172
|
[x: string]: {
|
|
173
173
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
174
174
|
slot?: import("tailwind-variants").ClassValue;
|
|
175
|
+
div?: import("tailwind-variants").ClassValue;
|
|
175
176
|
top?: import("tailwind-variants").ClassValue;
|
|
176
177
|
right?: import("tailwind-variants").ClassValue;
|
|
177
|
-
div?: import("tailwind-variants").ClassValue;
|
|
178
178
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
179
179
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
180
180
|
};
|
|
@@ -190,9 +190,9 @@ declare const ios: import("tailwind-variants").TVReturnType<{
|
|
|
190
190
|
[key: string]: {
|
|
191
191
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
192
192
|
slot?: import("tailwind-variants").ClassValue;
|
|
193
|
+
div?: import("tailwind-variants").ClassValue;
|
|
193
194
|
top?: import("tailwind-variants").ClassValue;
|
|
194
195
|
right?: import("tailwind-variants").ClassValue;
|
|
195
|
-
div?: import("tailwind-variants").ClassValue;
|
|
196
196
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
197
197
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
198
198
|
};
|
|
@@ -215,8 +215,8 @@ declare const ios: import("tailwind-variants").TVReturnType<{
|
|
|
215
215
|
declare const laptop: import("tailwind-variants").TVReturnType<{
|
|
216
216
|
[key: string]: {
|
|
217
217
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
218
|
-
inner?: import("tailwind-variants").ClassValue;
|
|
219
218
|
div?: import("tailwind-variants").ClassValue;
|
|
219
|
+
inner?: import("tailwind-variants").ClassValue;
|
|
220
220
|
bot?: import("tailwind-variants").ClassValue;
|
|
221
221
|
botCen?: import("tailwind-variants").ClassValue;
|
|
222
222
|
};
|
|
@@ -224,8 +224,8 @@ declare const laptop: import("tailwind-variants").TVReturnType<{
|
|
|
224
224
|
} | {
|
|
225
225
|
[x: string]: {
|
|
226
226
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
227
|
-
inner?: import("tailwind-variants").ClassValue;
|
|
228
227
|
div?: import("tailwind-variants").ClassValue;
|
|
228
|
+
inner?: import("tailwind-variants").ClassValue;
|
|
229
229
|
bot?: import("tailwind-variants").ClassValue;
|
|
230
230
|
botCen?: import("tailwind-variants").ClassValue;
|
|
231
231
|
};
|
|
@@ -238,8 +238,8 @@ declare const laptop: import("tailwind-variants").TVReturnType<{
|
|
|
238
238
|
}, undefined, {
|
|
239
239
|
[key: string]: {
|
|
240
240
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
241
|
-
inner?: import("tailwind-variants").ClassValue;
|
|
242
241
|
div?: import("tailwind-variants").ClassValue;
|
|
242
|
+
inner?: import("tailwind-variants").ClassValue;
|
|
243
243
|
bot?: import("tailwind-variants").ClassValue;
|
|
244
244
|
botCen?: import("tailwind-variants").ClassValue;
|
|
245
245
|
};
|
|
@@ -259,8 +259,8 @@ declare const smartwatch: import("tailwind-variants").TVReturnType<{
|
|
|
259
259
|
[key: string]: {
|
|
260
260
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
261
261
|
slot?: import("tailwind-variants").ClassValue;
|
|
262
|
-
top?: import("tailwind-variants").ClassValue;
|
|
263
262
|
div?: import("tailwind-variants").ClassValue;
|
|
263
|
+
top?: import("tailwind-variants").ClassValue;
|
|
264
264
|
bot?: import("tailwind-variants").ClassValue;
|
|
265
265
|
rightTop?: import("tailwind-variants").ClassValue;
|
|
266
266
|
rightBot?: import("tailwind-variants").ClassValue;
|
|
@@ -270,8 +270,8 @@ declare const smartwatch: import("tailwind-variants").TVReturnType<{
|
|
|
270
270
|
[x: string]: {
|
|
271
271
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
272
272
|
slot?: import("tailwind-variants").ClassValue;
|
|
273
|
-
top?: import("tailwind-variants").ClassValue;
|
|
274
273
|
div?: import("tailwind-variants").ClassValue;
|
|
274
|
+
top?: import("tailwind-variants").ClassValue;
|
|
275
275
|
bot?: import("tailwind-variants").ClassValue;
|
|
276
276
|
rightTop?: import("tailwind-variants").ClassValue;
|
|
277
277
|
rightBot?: import("tailwind-variants").ClassValue;
|
|
@@ -288,8 +288,8 @@ declare const smartwatch: import("tailwind-variants").TVReturnType<{
|
|
|
288
288
|
[key: string]: {
|
|
289
289
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
290
290
|
slot?: import("tailwind-variants").ClassValue;
|
|
291
|
-
top?: import("tailwind-variants").ClassValue;
|
|
292
291
|
div?: import("tailwind-variants").ClassValue;
|
|
292
|
+
top?: import("tailwind-variants").ClassValue;
|
|
293
293
|
bot?: import("tailwind-variants").ClassValue;
|
|
294
294
|
rightTop?: import("tailwind-variants").ClassValue;
|
|
295
295
|
rightBot?: import("tailwind-variants").ClassValue;
|
|
@@ -314,8 +314,8 @@ declare const tablet: import("tailwind-variants").TVReturnType<{
|
|
|
314
314
|
[key: string]: {
|
|
315
315
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
316
316
|
slot?: import("tailwind-variants").ClassValue;
|
|
317
|
-
right?: import("tailwind-variants").ClassValue;
|
|
318
317
|
div?: import("tailwind-variants").ClassValue;
|
|
318
|
+
right?: import("tailwind-variants").ClassValue;
|
|
319
319
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
320
320
|
leftMid?: import("tailwind-variants").ClassValue;
|
|
321
321
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
@@ -325,8 +325,8 @@ declare const tablet: import("tailwind-variants").TVReturnType<{
|
|
|
325
325
|
[x: string]: {
|
|
326
326
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
327
327
|
slot?: import("tailwind-variants").ClassValue;
|
|
328
|
-
right?: import("tailwind-variants").ClassValue;
|
|
329
328
|
div?: import("tailwind-variants").ClassValue;
|
|
329
|
+
right?: import("tailwind-variants").ClassValue;
|
|
330
330
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
331
331
|
leftMid?: import("tailwind-variants").ClassValue;
|
|
332
332
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
@@ -343,8 +343,8 @@ declare const tablet: import("tailwind-variants").TVReturnType<{
|
|
|
343
343
|
[key: string]: {
|
|
344
344
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
345
345
|
slot?: import("tailwind-variants").ClassValue;
|
|
346
|
-
right?: import("tailwind-variants").ClassValue;
|
|
347
346
|
div?: import("tailwind-variants").ClassValue;
|
|
347
|
+
right?: import("tailwind-variants").ClassValue;
|
|
348
348
|
leftTop?: import("tailwind-variants").ClassValue;
|
|
349
349
|
leftMid?: import("tailwind-variants").ClassValue;
|
|
350
350
|
leftBot?: import("tailwind-variants").ClassValue;
|
|
@@ -2,11 +2,14 @@
|
|
|
2
2
|
import { type ParamsType, type DrawerProps, trapFocus, cn } from "..";
|
|
3
3
|
import { fly } from "svelte/transition";
|
|
4
4
|
import { sineIn } from "svelte/easing";
|
|
5
|
-
import { drawer } from ".";
|
|
5
|
+
import { drawer, type DrawerTheme } from ".";
|
|
6
|
+
import { getTheme } from "../theme/themeUtils";
|
|
6
7
|
|
|
7
8
|
let { children, hidden = $bindable(), closeDrawer = () => (hidden = true), activateClickOutside = true, position, width, backdrop = true, backdropClass, placement = "left", class: className, transitionParams, transitionType = fly, bodyScrolling = false, ...restProps }: DrawerProps = $props();
|
|
8
9
|
|
|
9
|
-
const
|
|
10
|
+
const theme = getTheme("drawer");
|
|
11
|
+
|
|
12
|
+
const { base, backdrop: backdropCls } = $derived(
|
|
10
13
|
drawer({
|
|
11
14
|
position,
|
|
12
15
|
placement,
|
|
@@ -27,8 +30,8 @@
|
|
|
27
30
|
<svelte:window bind:innerWidth bind:innerHeight />
|
|
28
31
|
|
|
29
32
|
{#if !hidden}
|
|
30
|
-
<div role="presentation" class={cn(backdropCls(), backdropClass)} onclick={activateClickOutside ? closeDrawer : undefined} style={bodyScrolling ? "pointer-events: none;" : ""}></div>
|
|
31
|
-
<div use:trapFocus={{ onEscape: closeDrawer }} {...restProps} class={cn(base(), className)} transition:transitionType={transitionParams ? transitionParams : (transition_params as ParamsType)} tabindex="-1">
|
|
33
|
+
<div role="presentation" class={cn(backdropCls(), backdropClass, (theme as DrawerTheme)?.backdrop)} onclick={activateClickOutside ? closeDrawer : undefined} style={bodyScrolling ? "pointer-events: none;" : ""}></div>
|
|
34
|
+
<div use:trapFocus={{ onEscape: closeDrawer }} {...restProps} class={cn(base(), className, (theme as DrawerTheme)?.base)} transition:transitionType={transitionParams ? transitionParams : (transition_params as ParamsType)} tabindex="-1">
|
|
32
35
|
{@render children?.()}
|
|
33
36
|
</div>
|
|
34
37
|
{/if}
|
|
@@ -37,7 +40,7 @@
|
|
|
37
40
|
@component
|
|
38
41
|
[Go to docs](https://flowbite-svelte.com/)
|
|
39
42
|
## Type
|
|
40
|
-
[DrawerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
43
|
+
[DrawerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L578)
|
|
41
44
|
## Props
|
|
42
45
|
@prop children
|
|
43
46
|
@prop hidden = $bindable()
|
|
@@ -2,7 +2,7 @@ import { type DrawerProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DrawerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DrawerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L578)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop hidden = $bindable()
|
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { drawerhead } from ".";
|
|
2
|
+
import { drawerhead, type DrawerHeadTheme } from ".";
|
|
3
3
|
import { type DrawerheadProps, cn } from "..";
|
|
4
|
+
import { getTheme } from "../theme/themeUtils";
|
|
4
5
|
|
|
5
6
|
let { closeIcon, children, buttonClass, svgClass, class: className, ...restProps }: DrawerheadProps = $props();
|
|
6
7
|
|
|
8
|
+
const theme = getTheme("drawer");
|
|
9
|
+
|
|
7
10
|
const { base, button, svg } = $derived(drawerhead());
|
|
8
11
|
</script>
|
|
9
12
|
|
|
10
|
-
<div class={cn(base(), className)}>
|
|
13
|
+
<div class={cn(base(), className, (theme as DrawerHeadTheme)?.base)}>
|
|
11
14
|
{#if children}
|
|
12
15
|
{@render children()}
|
|
13
16
|
{/if}
|
|
14
17
|
{#if closeIcon}
|
|
15
18
|
{@render closeIcon()}
|
|
16
19
|
{:else}
|
|
17
|
-
<button type="button" {...restProps} class={cn(button(), buttonClass)}>
|
|
18
|
-
<svg class={cn(svg(), svgClass)} aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
|
|
20
|
+
<button type="button" {...restProps} class={cn(button(), buttonClass, (theme as DrawerHeadTheme)?.button)}>
|
|
21
|
+
<svg class={cn(svg(), svgClass, (theme as DrawerHeadTheme)?.svg)} aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 14">
|
|
19
22
|
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 6 6m0 0 6 6M7 7l6-6M7 7l-6 6" />
|
|
20
23
|
</svg>
|
|
21
24
|
<span class="sr-only">Close drawer</span>
|
|
@@ -27,7 +30,7 @@
|
|
|
27
30
|
@component
|
|
28
31
|
[Go to docs](https://flowbite-svelte.com/)
|
|
29
32
|
## Type
|
|
30
|
-
[DrawerheadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
33
|
+
[DrawerheadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L589)
|
|
31
34
|
## Props
|
|
32
35
|
@prop closeIcon
|
|
33
36
|
@prop children
|
|
@@ -2,7 +2,7 @@ import { type DrawerheadProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DrawerheadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DrawerheadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L589)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop closeIcon
|
|
8
8
|
* @prop children
|
package/dist/drawer/index.d.ts
CHANGED
package/dist/drawer/theme.d.ts
CHANGED
|
@@ -4,11 +4,11 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
4
4
|
position: {
|
|
5
5
|
fixed: {
|
|
6
6
|
base: string;
|
|
7
|
-
|
|
7
|
+
backdrop: string;
|
|
8
8
|
};
|
|
9
9
|
absolute: {
|
|
10
10
|
base: string;
|
|
11
|
-
|
|
11
|
+
backdrop: string;
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
placement: {
|
|
@@ -38,21 +38,21 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
38
38
|
};
|
|
39
39
|
backdrop: {
|
|
40
40
|
true: {
|
|
41
|
-
|
|
41
|
+
backdrop: string;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
}, {
|
|
45
45
|
base: string;
|
|
46
|
-
|
|
46
|
+
backdrop: string;
|
|
47
47
|
}, undefined, {
|
|
48
48
|
position: {
|
|
49
49
|
fixed: {
|
|
50
50
|
base: string;
|
|
51
|
-
|
|
51
|
+
backdrop: string;
|
|
52
52
|
};
|
|
53
53
|
absolute: {
|
|
54
54
|
base: string;
|
|
55
|
-
|
|
55
|
+
backdrop: string;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
placement: {
|
|
@@ -82,21 +82,21 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
82
82
|
};
|
|
83
83
|
backdrop: {
|
|
84
84
|
true: {
|
|
85
|
-
|
|
85
|
+
backdrop: string;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
}, {
|
|
89
89
|
base: string;
|
|
90
|
-
|
|
90
|
+
backdrop: string;
|
|
91
91
|
}, import("tailwind-variants").TVReturnType<{
|
|
92
92
|
position: {
|
|
93
93
|
fixed: {
|
|
94
94
|
base: string;
|
|
95
|
-
|
|
95
|
+
backdrop: string;
|
|
96
96
|
};
|
|
97
97
|
absolute: {
|
|
98
98
|
base: string;
|
|
99
|
-
|
|
99
|
+
backdrop: string;
|
|
100
100
|
};
|
|
101
101
|
};
|
|
102
102
|
placement: {
|
|
@@ -126,12 +126,12 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
126
126
|
};
|
|
127
127
|
backdrop: {
|
|
128
128
|
true: {
|
|
129
|
-
|
|
129
|
+
backdrop: string;
|
|
130
130
|
};
|
|
131
131
|
};
|
|
132
132
|
}, {
|
|
133
133
|
base: string;
|
|
134
|
-
|
|
134
|
+
backdrop: string;
|
|
135
135
|
}, undefined, unknown, unknown, undefined>>;
|
|
136
136
|
export declare const drawerhead: import("tailwind-variants").TVReturnType<{
|
|
137
137
|
[key: string]: {
|
|
@@ -170,3 +170,7 @@ export declare const drawerhead: import("tailwind-variants").TVReturnType<{
|
|
|
170
170
|
button: string;
|
|
171
171
|
svg: string;
|
|
172
172
|
}, undefined, unknown, unknown, undefined>>;
|
|
173
|
+
export type DrawerSlots = keyof typeof drawer.slots;
|
|
174
|
+
export type DrawerTheme = Partial<Record<DrawerSlots, string>>;
|
|
175
|
+
export type DrawerHeadSlots = keyof typeof drawerhead.slots;
|
|
176
|
+
export type DrawerHeadTheme = Partial<Record<DrawerHeadSlots, string>>;
|
package/dist/drawer/theme.js
CHANGED
|
@@ -2,12 +2,12 @@ import { tv } from "tailwind-variants";
|
|
|
2
2
|
export const drawer = tv({
|
|
3
3
|
slots: {
|
|
4
4
|
base: "overflow-y-auto z-50 p-4 bg-white dark:bg-gray-800",
|
|
5
|
-
|
|
5
|
+
backdrop: "fixed top-0 start-0 z-50 w-full h-full"
|
|
6
6
|
},
|
|
7
7
|
variants: {
|
|
8
8
|
position: {
|
|
9
|
-
fixed: { base: "fixed",
|
|
10
|
-
absolute: { base: "absolute",
|
|
9
|
+
fixed: { base: "fixed", backdrop: "fixed" },
|
|
10
|
+
absolute: { base: "absolute", backdrop: "absolute" }
|
|
11
11
|
},
|
|
12
12
|
placement: {
|
|
13
13
|
left: { base: "inset-y-0 start-0" },
|
|
@@ -21,7 +21,7 @@ export const drawer = tv({
|
|
|
21
21
|
half: { base: "w-1/2" }
|
|
22
22
|
},
|
|
23
23
|
backdrop: {
|
|
24
|
-
true: {
|
|
24
|
+
true: { backdrop: "bg-gray-900 opacity-75" }
|
|
25
25
|
}
|
|
26
26
|
},
|
|
27
27
|
defaultVariants: {
|
|
@@ -3,9 +3,12 @@
|
|
|
3
3
|
import { writable } from "svelte/store";
|
|
4
4
|
import { dropdown } from "./";
|
|
5
5
|
import { type DropdownProps, Popper, cn, DropdownGroup } from "..";
|
|
6
|
+
import { getTheme } from "../theme/themeUtils";
|
|
6
7
|
|
|
7
8
|
let { children, simple = false, placement = "bottom", offset = 2, class: className, activeUrl = "", isOpen = $bindable(false), ...restProps }: DropdownProps = $props();
|
|
8
9
|
|
|
10
|
+
const theme = getTheme("dropdown");
|
|
11
|
+
|
|
9
12
|
const { base, backdrop } = $derived(dropdown());
|
|
10
13
|
const activeUrlStore = writable("");
|
|
11
14
|
setContext("activeUrl", activeUrlStore);
|
|
@@ -17,7 +20,7 @@
|
|
|
17
20
|
|
|
18
21
|
<!-- Dropdown menu -->
|
|
19
22
|
|
|
20
|
-
<Popper {...restProps} {placement} {offset} bind:isOpen class={cn(base(), className)}>
|
|
23
|
+
<Popper {...restProps} {placement} {offset} bind:isOpen class={cn(base(), className, theme)}>
|
|
21
24
|
{#if simple}
|
|
22
25
|
<DropdownGroup>
|
|
23
26
|
{@render children()}
|
|
@@ -31,7 +34,7 @@
|
|
|
31
34
|
@component
|
|
32
35
|
[Go to docs](https://flowbite-svelte.com/)
|
|
33
36
|
## Type
|
|
34
|
-
[DropdownProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
37
|
+
[DropdownProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L596)
|
|
35
38
|
## Props
|
|
36
39
|
@prop children
|
|
37
40
|
@prop simple = false
|
|
@@ -2,7 +2,7 @@ import { type DropdownProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DropdownProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DropdownProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L596)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop simple = false
|