flowbite-svelte 1.10.19 → 1.10.21
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 +1 -1
- package/dist/accordion/Accordion.svelte.d.ts +1 -1
- package/dist/accordion/AccordionItem.svelte +7 -7
- package/dist/accordion/AccordionItem.svelte.d.ts +1 -1
- package/dist/accordion/index.d.ts +1 -1
- package/dist/accordion/theme.d.ts +0 -4
- package/dist/alert/Alert.svelte +1 -1
- package/dist/alert/Alert.svelte.d.ts +1 -1
- package/dist/alert/index.d.ts +1 -1
- package/dist/alert/theme.d.ts +0 -2
- package/dist/avatar/Avatar.svelte +1 -1
- package/dist/avatar/Avatar.svelte.d.ts +1 -1
- package/dist/avatar/index.d.ts +1 -1
- package/dist/avatar/theme.d.ts +0 -2
- package/dist/badge/Badge.svelte +5 -5
- package/dist/badge/Badge.svelte.d.ts +1 -1
- package/dist/badge/index.d.ts +1 -1
- package/dist/badge/theme.d.ts +0 -3
- package/dist/banner/Banner.svelte +6 -6
- package/dist/banner/Banner.svelte.d.ts +1 -1
- package/dist/banner/index.d.ts +1 -1
- package/dist/banner/theme.d.ts +0 -3
- package/dist/bottom-navigation/BottomNav.svelte +5 -5
- package/dist/bottom-navigation/BottomNav.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavHeader.svelte +5 -5
- package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte +1 -1
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavItem.svelte +5 -5
- package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +1 -1
- package/dist/bottom-navigation/index.d.ts +1 -1
- package/dist/bottom-navigation/theme.d.ts +0 -9
- package/dist/breadcrumb/Breadcrumb.svelte +5 -5
- package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.svelte +8 -8
- package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
- package/dist/breadcrumb/index.d.ts +1 -1
- package/dist/breadcrumb/theme.d.ts +0 -5
- package/dist/button-group/ButtonGroup.svelte +1 -1
- 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 +0 -2
- package/dist/buttons/Button.svelte +3 -3
- package/dist/buttons/Button.svelte.d.ts +1 -1
- package/dist/buttons/GradientButton.svelte +5 -5
- package/dist/buttons/GradientButton.svelte.d.ts +1 -1
- package/dist/buttons/index.d.ts +1 -1
- package/dist/buttons/theme.d.ts +0 -5
- package/dist/card/Card.svelte +6 -6
- package/dist/card/Card.svelte.d.ts +1 -1
- package/dist/card/index.d.ts +1 -1
- package/dist/card/theme.d.ts +0 -3
- package/dist/carousel/Carousel.svelte +4 -4
- package/dist/carousel/Carousel.svelte.d.ts +2 -1
- package/dist/carousel/CarouselIndicators.svelte +5 -5
- package/dist/carousel/CarouselIndicators.svelte.d.ts +1 -1
- package/dist/carousel/ControlButton.svelte +3 -3
- 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 +1 -1
- package/dist/carousel/Slide.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnail.svelte +1 -1
- package/dist/carousel/Thumbnail.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnails.svelte +1 -1
- package/dist/carousel/Thumbnails.svelte.d.ts +1 -1
- package/dist/carousel/index.d.ts +1 -1
- package/dist/carousel/theme.d.ts +0 -9
- package/dist/clipboard/Clipboard.svelte +1 -1
- package/dist/clipboard/Clipboard.svelte.d.ts +1 -1
- package/dist/clipboard/index.d.ts +1 -1
- package/dist/clipboard/theme.d.ts +0 -2
- package/dist/darkmode/DarkMode.svelte +1 -1
- package/dist/darkmode/DarkMode.svelte.d.ts +1 -1
- package/dist/darkmode/index.d.ts +1 -1
- package/dist/darkmode/theme.d.ts +0 -2
- package/dist/datepicker/Datepicker.svelte +13 -13
- package/dist/datepicker/Datepicker.svelte.d.ts +1 -1
- package/dist/datepicker/index.d.ts +1 -1
- package/dist/datepicker/theme.d.ts +0 -3
- 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/drawer/Drawer.svelte +5 -5
- package/dist/drawer/Drawer.svelte.d.ts +1 -1
- package/dist/drawer/Drawerhead.svelte +6 -6
- package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
- package/dist/drawer/index.d.ts +1 -1
- package/dist/drawer/theme.d.ts +3 -8
- package/dist/dropdown/Dropdown.svelte +1 -1
- package/dist/dropdown/Dropdown.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownDivider.svelte +1 -1
- package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownGroup.svelte +1 -1
- package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownHeader.svelte +1 -1
- package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownItem.svelte +4 -4
- package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
- package/dist/dropdown/index.d.ts +1 -1
- package/dist/dropdown/theme.d.ts +0 -8
- package/dist/footer/Footer.svelte +1 -1
- package/dist/footer/Footer.svelte.d.ts +1 -1
- package/dist/footer/FooterBrand.svelte +5 -5
- package/dist/footer/FooterBrand.svelte.d.ts +1 -1
- package/dist/footer/FooterCopyright.svelte +6 -6
- package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
- package/dist/footer/FooterIcon.svelte +1 -1
- package/dist/footer/FooterIcon.svelte.d.ts +1 -1
- package/dist/footer/FooterLink.svelte +5 -5
- package/dist/footer/FooterLink.svelte.d.ts +1 -1
- package/dist/footer/FooterLinkGroup.svelte +1 -1
- package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
- package/dist/footer/index.d.ts +1 -1
- package/dist/footer/theme.d.ts +3 -13
- package/dist/forms/button-toggle/ButtonToggle.svelte +7 -7
- package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +1 -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 +0 -4
- package/dist/forms/checkbox/Checkbox.svelte +6 -6
- package/dist/forms/checkbox/CheckboxButton.svelte +3 -3
- package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
- package/dist/forms/checkbox/index.d.ts +1 -1
- package/dist/forms/checkbox/index.js +1 -1
- package/dist/forms/checkbox/theme.d.ts +1 -5
- package/dist/forms/checkbox/theme.js +1 -1
- package/dist/forms/dropzone/Dropzone.svelte +1 -1
- 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 +0 -2
- package/dist/forms/fileupload/Fileupload.svelte +6 -6
- 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 +0 -3
- package/dist/forms/floating-label/FloatingLabelInput.svelte +8 -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 +0 -3
- package/dist/forms/helper/Helper.svelte +1 -1
- 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 +0 -2
- package/dist/forms/input-addon/InputAddon.svelte +2 -5
- package/dist/forms/input-addon/InputAddon.svelte.d.ts +1 -1
- package/dist/forms/input-field/Input.svelte +11 -11
- package/dist/forms/input-field/index.d.ts +1 -1
- package/dist/forms/input-field/theme.d.ts +0 -3
- package/dist/forms/label/Label.svelte +1 -1
- 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 +0 -2
- package/dist/forms/phoneinput/PhoneInput.svelte +8 -8
- package/dist/forms/phoneinput/index.d.ts +1 -1
- package/dist/forms/phoneinput/index.js +1 -1
- package/dist/forms/phoneinput/theme.d.ts +3 -10
- package/dist/forms/phoneinput/theme.js +1 -1
- package/dist/forms/radio/Radio.svelte +5 -4
- package/dist/forms/radio/Radio.svelte.d.ts +10 -3
- package/dist/forms/radio/RadioButton.svelte +2 -2
- package/dist/forms/radio/RadioButton.svelte.d.ts +10 -3
- package/dist/forms/radio/index.d.ts +1 -1
- package/dist/forms/radio/index.js +1 -1
- package/dist/forms/radio/theme.d.ts +1 -5
- package/dist/forms/radio/theme.js +1 -1
- package/dist/forms/range/Range.svelte +5 -4
- package/dist/forms/range/Range.svelte.d.ts +2 -1
- package/dist/forms/range/theme.d.ts +0 -2
- package/dist/forms/search/Search.svelte +9 -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 +0 -3
- package/dist/forms/select/MultiSelect.svelte +5 -5
- package/dist/forms/select/MultiSelect.svelte.d.ts +10 -3
- package/dist/forms/select/Select.svelte +5 -5
- package/dist/forms/select/Select.svelte.d.ts +10 -3
- package/dist/forms/select/index.d.ts +1 -1
- package/dist/forms/select/theme.d.ts +3 -5
- package/dist/forms/select/theme.js +2 -1
- package/dist/forms/tags/Tags.svelte +14 -12
- 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 +6 -9
- package/dist/forms/textarea/Textarea.svelte +23 -21
- 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 +0 -3
- package/dist/forms/timepicker/Timepicker.svelte +38 -38
- package/dist/forms/timepicker/Timepicker.svelte.d.ts +1 -1
- package/dist/forms/timepicker/index.d.ts +1 -1
- package/dist/forms/timepicker/theme.d.ts +0 -3
- package/dist/forms/toggle/Toggle.svelte +11 -7
- package/dist/forms/toggle/Toggle.svelte.d.ts +2 -1
- package/dist/forms/toggle/index.d.ts +1 -1
- package/dist/forms/toggle/theme.d.ts +2 -4
- package/dist/gallery/Gallery.svelte +10 -6
- package/dist/gallery/Gallery.svelte.d.ts +2 -1
- package/dist/gallery/index.d.ts +1 -1
- package/dist/gallery/theme.d.ts +4 -5
- package/dist/gallery/theme.js +1 -2
- package/dist/indicator/Indicator.svelte +1 -1
- package/dist/indicator/Indicator.svelte.d.ts +1 -1
- package/dist/indicator/index.d.ts +1 -1
- package/dist/indicator/theme.d.ts +0 -2
- package/dist/kbd/Kbd.svelte +1 -1
- package/dist/kbd/Kbd.svelte.d.ts +1 -1
- package/dist/kbd/index.d.ts +1 -1
- package/dist/kbd/theme.d.ts +0 -2
- package/dist/list-group/Listgroup.svelte +3 -3
- 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/index.d.ts +1 -1
- package/dist/list-group/theme.d.ts +1 -4
- package/dist/mega-menu/MegaMenu.svelte +15 -10
- package/dist/mega-menu/MegaMenu.svelte.d.ts +2 -1
- package/dist/mega-menu/index.d.ts +1 -1
- package/dist/mega-menu/theme.d.ts +6 -6
- package/dist/mega-menu/theme.js +2 -2
- package/dist/modal/Modal.svelte +18 -12
- package/dist/modal/Modal.svelte.d.ts +3 -1
- package/dist/modal/index.d.ts +1 -1
- package/dist/modal/theme.d.ts +29 -7
- package/dist/modal/theme.js +7 -1
- package/dist/navbar/Menu.svelte +2 -5
- 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 +11 -7
- package/dist/navbar/NavHamburger.svelte.d.ts +63 -2
- package/dist/navbar/NavLi.svelte +2 -2
- package/dist/navbar/NavLi.svelte.d.ts +1 -1
- package/dist/navbar/NavUl.svelte +13 -9
- package/dist/navbar/NavUl.svelte.d.ts +2 -1
- package/dist/navbar/Navbar.svelte +1 -1
- package/dist/navbar/Navbar.svelte.d.ts +1 -1
- package/dist/navbar/index.d.ts +1 -1
- package/dist/navbar/index.js +1 -1
- package/dist/navbar/theme.d.ts +4 -8
- package/dist/pagination/Pagination.svelte +1 -1
- package/dist/pagination/Pagination.svelte.d.ts +1 -1
- package/dist/pagination/PaginationButton.svelte +1 -1
- 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 +15 -10
- package/dist/pagination/PaginationNav.svelte.d.ts +2 -1
- package/dist/pagination/index.d.ts +1 -1
- package/dist/pagination/theme.d.ts +30 -34
- package/dist/pagination/theme.js +6 -6
- package/dist/popover/Popover.svelte +13 -8
- package/dist/popover/Popover.svelte.d.ts +2 -1
- package/dist/popover/index.d.ts +1 -1
- package/dist/popover/theme.d.ts +2 -4
- package/dist/progress/Progressbar.svelte +16 -9
- package/dist/progress/Progressbar.svelte.d.ts +1 -1
- package/dist/progress/Progressradial.svelte +10 -10
- package/dist/progress/Progressradial.svelte.d.ts +1 -1
- package/dist/progress/index.d.ts +1 -1
- package/dist/progress/theme.d.ts +276 -290
- package/dist/progress/theme.js +92 -92
- package/dist/rating/AdvancedRating.svelte +21 -9
- package/dist/rating/AdvancedRating.svelte.d.ts +3 -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 +10 -6
- package/dist/rating/Rating.svelte.d.ts +2 -1
- package/dist/rating/RatingComment.svelte +1 -1
- package/dist/rating/RatingComment.svelte.d.ts +1 -1
- package/dist/rating/Review.svelte +28 -13
- package/dist/rating/Review.svelte.d.ts +3 -1
- package/dist/rating/ScoreRating.svelte +11 -10
- package/dist/rating/ScoreRating.svelte.d.ts +2 -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 +1 -1
- package/dist/rating/theme.d.ts +12 -15
- package/dist/sidebar/Sidebar.svelte +23 -12
- package/dist/sidebar/Sidebar.svelte.d.ts +2 -1
- package/dist/sidebar/SidebarBrand.svelte +16 -7
- package/dist/sidebar/SidebarBrand.svelte.d.ts +2 -1
- package/dist/sidebar/SidebarButton.svelte +1 -1
- package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarCta.svelte +16 -7
- package/dist/sidebar/SidebarCta.svelte.d.ts +2 -1
- package/dist/sidebar/SidebarDropdownWrapper.svelte +21 -10
- package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +2 -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 +1 -1
- package/dist/sidebar/theme.d.ts +28 -34
- package/dist/sidebar/theme.js +7 -7
- package/dist/skeleton/CardPlaceholder.svelte +16 -15
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +2 -1
- package/dist/skeleton/ImagePlaceholder.svelte +15 -14
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +2 -1
- package/dist/skeleton/ListPlaceholder.svelte +15 -14
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +2 -1
- package/dist/skeleton/Skeleton.svelte +12 -11
- package/dist/skeleton/Skeleton.svelte.d.ts +2 -1
- package/dist/skeleton/TestimonialPlaceholder.svelte +17 -16
- package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +2 -1
- package/dist/skeleton/TextPlaceholder.svelte +36 -35
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +2 -1
- package/dist/skeleton/VideoPlaceholder.svelte +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte +14 -13
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +2 -1
- package/dist/skeleton/index.d.ts +1 -1
- package/dist/skeleton/theme.d.ts +93 -106
- package/dist/skeleton/theme.js +28 -24
- package/dist/speed-dial/SpeedDial.svelte +14 -6
- package/dist/speed-dial/SpeedDial.svelte.d.ts +2 -1
- package/dist/speed-dial/SpeedDialButton.svelte +27 -9
- package/dist/speed-dial/SpeedDialButton.svelte.d.ts +3 -2
- 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 +1 -1
- package/dist/speed-dial/theme.d.ts +3 -22
- package/dist/speed-dial/theme.js +0 -5
- package/dist/spinner/Spinner.svelte +1 -1
- package/dist/spinner/Spinner.svelte.d.ts +1 -1
- package/dist/spinner/index.d.ts +1 -1
- package/dist/spinner/theme.d.ts +0 -2
- package/dist/stepindicator/StepIndicator.svelte +12 -11
- package/dist/stepindicator/StepIndicator.svelte.d.ts +2 -1
- package/dist/stepindicator/theme.d.ts +46 -45
- package/dist/stepindicator/theme.js +15 -15
- package/dist/stepper/BreadcrumbStepper.svelte +10 -8
- package/dist/stepper/BreadcrumbStepper.svelte.d.ts +2 -1
- package/dist/stepper/DetailedStepper.svelte +9 -6
- package/dist/stepper/DetailedStepper.svelte.d.ts +2 -1
- package/dist/stepper/ProgressStepper.svelte +9 -7
- package/dist/stepper/ProgressStepper.svelte.d.ts +2 -1
- package/dist/stepper/Stepper.svelte +11 -8
- package/dist/stepper/Stepper.svelte.d.ts +2 -1
- package/dist/stepper/TimelineStepper.svelte +9 -6
- package/dist/stepper/TimelineStepper.svelte.d.ts +2 -1
- package/dist/stepper/VerticalStepper.svelte +10 -7
- package/dist/stepper/VerticalStepper.svelte.d.ts +2 -1
- package/dist/stepper/index.d.ts +1 -1
- package/dist/stepper/theme.d.ts +407 -352
- package/dist/stepper/theme.js +157 -191
- package/dist/table/Table.svelte +14 -7
- package/dist/table/Table.svelte.d.ts +2 -1
- package/dist/table/TableBody.svelte +2 -5
- package/dist/table/TableBody.svelte.d.ts +1 -1
- package/dist/table/TableBodyCell.svelte +1 -1
- package/dist/table/TableBodyCell.svelte.d.ts +1 -1
- package/dist/table/TableBodyRow.svelte +1 -1
- package/dist/table/TableBodyRow.svelte.d.ts +1 -1
- package/dist/table/TableHead.svelte +1 -1
- package/dist/table/TableHead.svelte.d.ts +1 -1
- package/dist/table/TableHeadCell.svelte +1 -1
- package/dist/table/TableHeadCell.svelte.d.ts +1 -1
- package/dist/table/TableSearch.svelte +27 -20
- package/dist/table/TableSearch.svelte.d.ts +2 -1
- package/dist/table/index.d.ts +1 -1
- package/dist/table/theme.d.ts +19 -38
- package/dist/table/theme.js +5 -5
- package/dist/tabs/TabItem.svelte +7 -6
- package/dist/tabs/TabItem.svelte.d.ts +2 -1
- package/dist/tabs/Tabs.svelte +13 -7
- package/dist/tabs/Tabs.svelte.d.ts +3 -1
- package/dist/tabs/index.d.ts +1 -1
- package/dist/tabs/theme.d.ts +3 -6
- package/dist/theme/index.d.ts +7 -0
- package/dist/theme/index.js +1 -2
- package/dist/theme/themeUtils.d.ts +5 -22
- package/dist/theme/themeUtils.js +25 -23
- package/dist/theme/themes.d.ts +70 -0
- package/dist/theme/themes.js +75 -0
- package/dist/timeline/Activity.svelte +1 -1
- package/dist/timeline/Activity.svelte.d.ts +1 -1
- package/dist/timeline/ActivityItem.svelte +41 -13
- package/dist/timeline/ActivityItem.svelte.d.ts +3 -1
- package/dist/timeline/Group.svelte +23 -7
- package/dist/timeline/Group.svelte.d.ts +3 -1
- package/dist/timeline/GroupItem.svelte +35 -13
- package/dist/timeline/GroupItem.svelte.d.ts +3 -1
- package/dist/timeline/Timeline.svelte +3 -3
- package/dist/timeline/Timeline.svelte.d.ts +1 -1
- package/dist/timeline/TimelineItem.svelte +32 -12
- package/dist/timeline/TimelineItem.svelte.d.ts +3 -1
- package/dist/timeline/index.d.ts +1 -1
- package/dist/timeline/theme.d.ts +57 -51
- package/dist/timeline/theme.js +11 -10
- package/dist/toast/Toast.svelte +22 -8
- package/dist/toast/Toast.svelte.d.ts +2 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/toast/theme.d.ts +2 -4
- package/dist/toolbar/Toolbar.svelte +6 -5
- package/dist/toolbar/Toolbar.svelte.d.ts +2 -1
- package/dist/toolbar/ToolbarButton.svelte +1 -1
- package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarGroup.svelte +1 -1
- package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
- package/dist/toolbar/index.d.ts +1 -1
- package/dist/toolbar/theme.d.ts +3 -7
- package/dist/tooltip/Tooltip.svelte +4 -4
- package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
- package/dist/tooltip/index.d.ts +1 -1
- package/dist/tooltip/theme.d.ts +3 -15
- package/dist/tooltip/theme.js +1 -4
- package/dist/types.d.ts +66 -65
- package/dist/types.js +0 -1
- package/dist/typography/anchor/A.svelte +2 -2
- package/dist/typography/anchor/A.svelte.d.ts +1 -1
- package/dist/typography/anchor/index.d.ts +1 -1
- package/dist/typography/anchor/theme.d.ts +0 -2
- package/dist/typography/blockquote/Blockquote.svelte +1 -1
- package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
- package/dist/typography/blockquote/theme.d.ts +0 -2
- package/dist/typography/descriptionlist/DescriptionList.svelte +1 -1
- package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
- package/dist/typography/descriptionlist/index.d.ts +1 -1
- package/dist/typography/descriptionlist/theme.d.ts +0 -2
- package/dist/typography/heading/Heading.svelte +1 -1
- package/dist/typography/heading/Heading.svelte.d.ts +1 -1
- package/dist/typography/heading/index.d.ts +1 -1
- package/dist/typography/heading/theme.d.ts +0 -2
- package/dist/typography/hr/Hr.svelte +25 -10
- package/dist/typography/hr/Hr.svelte.d.ts +3 -2
- package/dist/typography/hr/index.d.ts +1 -1
- package/dist/typography/hr/theme.d.ts +6 -6
- package/dist/typography/hr/theme.js +1 -1
- package/dist/typography/img/EnhancedImg.svelte +25 -11
- package/dist/typography/img/EnhancedImg.svelte.d.ts +3 -2
- package/dist/typography/img/Img.svelte +24 -10
- package/dist/typography/img/Img.svelte.d.ts +3 -2
- package/dist/typography/img/index.d.ts +1 -1
- package/dist/typography/img/theme.d.ts +5 -7
- package/dist/typography/img/theme.js +1 -1
- package/dist/typography/layout/Layout.svelte +1 -1
- package/dist/typography/layout/Layout.svelte.d.ts +1 -1
- package/dist/typography/layout/index.d.ts +1 -1
- package/dist/typography/layout/theme.d.ts +0 -2
- package/dist/typography/list/Li.svelte +2 -5
- package/dist/typography/list/Li.svelte.d.ts +1 -1
- package/dist/typography/list/List.svelte +1 -1
- package/dist/typography/list/List.svelte.d.ts +1 -1
- package/dist/typography/list/index.d.ts +1 -1
- package/dist/typography/list/theme.d.ts +0 -2
- package/dist/typography/mark/Mark.svelte +1 -2
- package/dist/typography/mark/Mark.svelte.d.ts +1 -1
- package/dist/typography/mark/index.d.ts +1 -1
- package/dist/typography/mark/theme.d.ts +0 -2
- package/dist/typography/paragraph/P.svelte +2 -2
- package/dist/typography/paragraph/P.svelte.d.ts +1 -1
- package/dist/typography/paragraph/index.d.ts +1 -1
- package/dist/typography/paragraph/theme.d.ts +0 -2
- package/dist/typography/secondary/Secondary.svelte +1 -1
- package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
- package/dist/typography/secondary/index.d.ts +1 -1
- package/dist/typography/secondary/theme.d.ts +0 -2
- package/dist/typography/span/Span.svelte +1 -1
- package/dist/typography/span/Span.svelte.d.ts +1 -1
- package/dist/typography/span/index.d.ts +1 -1
- package/dist/typography/span/theme.d.ts +0 -2
- 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 +1 -1
- package/dist/video/Video.svelte.d.ts +1 -1
- package/package.json +11 -11
package/dist/sidebar/theme.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type {
|
|
3
|
-
export type SidebarVariants = VariantProps<typeof sidebar>;
|
|
2
|
+
import type { Classes } from "../theme/themeUtils";
|
|
3
|
+
export type SidebarVariants = VariantProps<typeof sidebar> & Classes<typeof sidebar>;
|
|
4
|
+
export type SidebarCtaVariants = VariantProps<typeof sidebarCta> & Classes<typeof sidebarCta>;
|
|
5
|
+
export type SidebarBrandVariants = VariantProps<typeof sidebarBrand> & Classes<typeof sidebarBrand>;
|
|
6
|
+
export type SidebarDropdownWrapperVariants = VariantProps<typeof sidebarDropdownWrapper> & Classes<typeof sidebarDropdownWrapper>;
|
|
4
7
|
export declare const sidebar: import("tailwind-variants").TVReturnType<{
|
|
5
8
|
position: {
|
|
6
9
|
fixed: {
|
|
@@ -149,8 +152,6 @@ export declare const sidebar: import("tailwind-variants").TVReturnType<{
|
|
|
149
152
|
div: string;
|
|
150
153
|
backdrop: string;
|
|
151
154
|
}, undefined, unknown, unknown, undefined>>;
|
|
152
|
-
export type SidebarSlots = keyof typeof sidebar.slots;
|
|
153
|
-
export type SidebarTheme = Partial<Record<SidebarSlots, ClassValue>>;
|
|
154
155
|
export declare const sidebarButton: import("tailwind-variants").TVReturnType<{
|
|
155
156
|
breakpoint: {
|
|
156
157
|
sm: string;
|
|
@@ -176,91 +177,86 @@ export declare const sidebarButton: import("tailwind-variants").TVReturnType<{
|
|
|
176
177
|
"2xl": string;
|
|
177
178
|
};
|
|
178
179
|
}, undefined, "inline-flex items-center p-0 mt-0 ms-3 text-sm text-gray-500 rounded-lg hover:bg-gray-100 focus:outline-hidden focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600", unknown, unknown, undefined>>;
|
|
179
|
-
export
|
|
180
|
-
export declare const sidebarCta: import("tailwind-variants").TVReturnType<{
|
|
180
|
+
export declare const sidebarBrand: import("tailwind-variants").TVReturnType<{
|
|
181
181
|
[key: string]: {
|
|
182
182
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
183
|
-
|
|
184
|
-
div?: import("tailwind-variants").ClassValue;
|
|
183
|
+
img?: import("tailwind-variants").ClassValue;
|
|
185
184
|
span?: import("tailwind-variants").ClassValue;
|
|
185
|
+
base?: import("tailwind-variants").ClassValue;
|
|
186
186
|
};
|
|
187
187
|
};
|
|
188
188
|
} | {
|
|
189
189
|
[x: string]: {
|
|
190
190
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
191
|
-
|
|
192
|
-
div?: import("tailwind-variants").ClassValue;
|
|
191
|
+
img?: import("tailwind-variants").ClassValue;
|
|
193
192
|
span?: import("tailwind-variants").ClassValue;
|
|
193
|
+
base?: import("tailwind-variants").ClassValue;
|
|
194
194
|
};
|
|
195
195
|
};
|
|
196
196
|
} | {}, {
|
|
197
197
|
base: string;
|
|
198
|
-
|
|
198
|
+
img: string;
|
|
199
199
|
span: string;
|
|
200
200
|
}, undefined, {
|
|
201
201
|
[key: string]: {
|
|
202
202
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
203
|
-
|
|
204
|
-
div?: import("tailwind-variants").ClassValue;
|
|
203
|
+
img?: import("tailwind-variants").ClassValue;
|
|
205
204
|
span?: import("tailwind-variants").ClassValue;
|
|
205
|
+
base?: import("tailwind-variants").ClassValue;
|
|
206
206
|
};
|
|
207
207
|
};
|
|
208
208
|
} | {}, {
|
|
209
209
|
base: string;
|
|
210
|
-
|
|
210
|
+
img: string;
|
|
211
211
|
span: string;
|
|
212
212
|
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
213
213
|
base: string;
|
|
214
|
-
|
|
214
|
+
img: string;
|
|
215
215
|
span: string;
|
|
216
216
|
}, undefined, unknown, unknown, undefined>>;
|
|
217
|
-
export
|
|
218
|
-
export type SidebarCtaTheme = Partial<Record<SidebarCtaSlots, ClassValue>>;
|
|
219
|
-
export declare const sidebarBrand: import("tailwind-variants").TVReturnType<{
|
|
217
|
+
export declare const sidebarCta: import("tailwind-variants").TVReturnType<{
|
|
220
218
|
[key: string]: {
|
|
221
219
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
222
|
-
base?: import("tailwind-variants").ClassValue;
|
|
223
|
-
img?: import("tailwind-variants").ClassValue;
|
|
224
220
|
span?: import("tailwind-variants").ClassValue;
|
|
221
|
+
base?: import("tailwind-variants").ClassValue;
|
|
222
|
+
div?: import("tailwind-variants").ClassValue;
|
|
225
223
|
};
|
|
226
224
|
};
|
|
227
225
|
} | {
|
|
228
226
|
[x: string]: {
|
|
229
227
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
230
|
-
base?: import("tailwind-variants").ClassValue;
|
|
231
|
-
img?: import("tailwind-variants").ClassValue;
|
|
232
228
|
span?: import("tailwind-variants").ClassValue;
|
|
229
|
+
base?: import("tailwind-variants").ClassValue;
|
|
230
|
+
div?: import("tailwind-variants").ClassValue;
|
|
233
231
|
};
|
|
234
232
|
};
|
|
235
233
|
} | {}, {
|
|
236
234
|
base: string;
|
|
237
|
-
|
|
235
|
+
div: string;
|
|
238
236
|
span: string;
|
|
239
237
|
}, undefined, {
|
|
240
238
|
[key: string]: {
|
|
241
239
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
242
|
-
base?: import("tailwind-variants").ClassValue;
|
|
243
|
-
img?: import("tailwind-variants").ClassValue;
|
|
244
240
|
span?: import("tailwind-variants").ClassValue;
|
|
241
|
+
base?: import("tailwind-variants").ClassValue;
|
|
242
|
+
div?: import("tailwind-variants").ClassValue;
|
|
245
243
|
};
|
|
246
244
|
};
|
|
247
245
|
} | {}, {
|
|
248
246
|
base: string;
|
|
249
|
-
|
|
247
|
+
div: string;
|
|
250
248
|
span: string;
|
|
251
249
|
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
252
250
|
base: string;
|
|
253
|
-
|
|
251
|
+
div: string;
|
|
254
252
|
span: string;
|
|
255
253
|
}, undefined, unknown, unknown, undefined>>;
|
|
256
|
-
export type SidebarBrandSlots = keyof typeof sidebarBrand.slots;
|
|
257
|
-
export type SidebarBrandTheme = Partial<Record<SidebarBrandSlots, ClassValue>>;
|
|
258
254
|
export declare const sidebarDropdownWrapper: import("tailwind-variants").TVReturnType<{
|
|
259
255
|
[key: string]: {
|
|
260
256
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
257
|
+
span?: import("tailwind-variants").ClassValue;
|
|
261
258
|
base?: import("tailwind-variants").ClassValue;
|
|
262
259
|
svg?: import("tailwind-variants").ClassValue;
|
|
263
|
-
span?: import("tailwind-variants").ClassValue;
|
|
264
260
|
ul?: import("tailwind-variants").ClassValue;
|
|
265
261
|
btn?: import("tailwind-variants").ClassValue;
|
|
266
262
|
};
|
|
@@ -268,9 +264,9 @@ export declare const sidebarDropdownWrapper: import("tailwind-variants").TVRetur
|
|
|
268
264
|
} | {
|
|
269
265
|
[x: string]: {
|
|
270
266
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
267
|
+
span?: import("tailwind-variants").ClassValue;
|
|
271
268
|
base?: import("tailwind-variants").ClassValue;
|
|
272
269
|
svg?: import("tailwind-variants").ClassValue;
|
|
273
|
-
span?: import("tailwind-variants").ClassValue;
|
|
274
270
|
ul?: import("tailwind-variants").ClassValue;
|
|
275
271
|
btn?: import("tailwind-variants").ClassValue;
|
|
276
272
|
};
|
|
@@ -284,9 +280,9 @@ export declare const sidebarDropdownWrapper: import("tailwind-variants").TVRetur
|
|
|
284
280
|
}, undefined, {
|
|
285
281
|
[key: string]: {
|
|
286
282
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
283
|
+
span?: import("tailwind-variants").ClassValue;
|
|
287
284
|
base?: import("tailwind-variants").ClassValue;
|
|
288
285
|
svg?: import("tailwind-variants").ClassValue;
|
|
289
|
-
span?: import("tailwind-variants").ClassValue;
|
|
290
286
|
ul?: import("tailwind-variants").ClassValue;
|
|
291
287
|
btn?: import("tailwind-variants").ClassValue;
|
|
292
288
|
};
|
|
@@ -304,5 +300,3 @@ export declare const sidebarDropdownWrapper: import("tailwind-variants").TVRetur
|
|
|
304
300
|
svg: string;
|
|
305
301
|
ul: string;
|
|
306
302
|
}, undefined, unknown, unknown, undefined>>;
|
|
307
|
-
export type SidebarDropdownWrapperSlots = keyof typeof sidebarDropdownWrapper.slots;
|
|
308
|
-
export type SidebarDropdownWrapperTheme = Partial<Record<SidebarDropdownWrapperSlots, ClassValue>>;
|
package/dist/sidebar/theme.js
CHANGED
|
@@ -53,13 +53,6 @@ export const sidebarButton = tv({
|
|
|
53
53
|
}
|
|
54
54
|
}
|
|
55
55
|
});
|
|
56
|
-
export const sidebarCta = tv({
|
|
57
|
-
slots: {
|
|
58
|
-
base: "p-4 mt-6 bg-primary-50 rounded-lg dark:bg-primary-900",
|
|
59
|
-
div: "flex items-center mb-3",
|
|
60
|
-
span: "bg-primary-100 text-primary-800 text-sm font-semibold me-2 px-2.5 py-0.5 rounded-sm dark:bg-primary-200 dark:text-primary-900"
|
|
61
|
-
}
|
|
62
|
-
});
|
|
63
56
|
export const sidebarBrand = tv({
|
|
64
57
|
slots: {
|
|
65
58
|
base: "flex items-center ps-2.5 mb-5",
|
|
@@ -67,6 +60,13 @@ export const sidebarBrand = tv({
|
|
|
67
60
|
span: "self-center text-xl font-semibold whitespace-nowrap dark:text-white"
|
|
68
61
|
}
|
|
69
62
|
});
|
|
63
|
+
export const sidebarCta = tv({
|
|
64
|
+
slots: {
|
|
65
|
+
base: "p-4 mt-6 bg-primary-50 rounded-lg dark:bg-primary-900",
|
|
66
|
+
div: "flex items-center mb-3",
|
|
67
|
+
span: "bg-primary-100 text-primary-800 text-sm font-semibold me-2 px-2.5 py-0.5 rounded-sm dark:bg-primary-200 dark:text-primary-900"
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
70
|
export const sidebarDropdownWrapper = tv({
|
|
71
71
|
slots: {
|
|
72
72
|
base: "group",
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { cardPlaceholder
|
|
3
|
+
import { cardPlaceholder } from ".";
|
|
4
4
|
import type { CardPlaceholderProps } from "../types";
|
|
5
5
|
import { getTheme } from "../theme/themeUtils";
|
|
6
6
|
|
|
7
|
-
let { size = "sm", class: className, ...restProps }: CardPlaceholderProps = $props();
|
|
7
|
+
let { size = "sm", class: className, classes, ...restProps }: CardPlaceholderProps = $props();
|
|
8
8
|
|
|
9
9
|
const theme = getTheme("cardPlaceholder");
|
|
10
10
|
|
|
11
|
-
const { base,
|
|
11
|
+
const { base, area, icon, line, footer } = $derived(cardPlaceholder({ size }));
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
|
-
<div role="status" {...restProps} class={base({ class: clsx(
|
|
15
|
-
<div class={
|
|
16
|
-
<svg width="48" height="48" class={
|
|
14
|
+
<div role="status" {...restProps} class={base({ class: clsx(theme?.base, className) })}>
|
|
15
|
+
<div class={area({ class: clsx(theme?.area, classes?.area) })}>
|
|
16
|
+
<svg width="48" height="48" class={icon({ class: clsx(theme?.icon) })} xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 640 512">
|
|
17
17
|
<path d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"></path>
|
|
18
18
|
</svg>
|
|
19
19
|
</div>
|
|
20
|
-
<div class={line({ class: clsx("mb-4 h-2.5 w-1/2",
|
|
21
|
-
<div class={line({ class: clsx("mb-2.5 h-2",
|
|
22
|
-
<div class={line({ class: clsx("mb-2.5 h-2",
|
|
23
|
-
<div class={line({ class: clsx("h-2",
|
|
24
|
-
<div class={
|
|
25
|
-
<svg class={line({ class: clsx("h-14 w-14",
|
|
20
|
+
<div class={line({ class: clsx("mb-4 h-2.5 w-1/2", theme?.line, classes?.line) })}></div>
|
|
21
|
+
<div class={line({ class: clsx("mb-2.5 h-2", theme?.line, classes?.line) })}></div>
|
|
22
|
+
<div class={line({ class: clsx("mb-2.5 h-2", theme?.line, classes?.line) })}></div>
|
|
23
|
+
<div class={line({ class: clsx("h-2", theme?.line, classes?.line) })}></div>
|
|
24
|
+
<div class={footer({ class: clsx(theme?.footer, classes?.footer) })}>
|
|
25
|
+
<svg class={line({ class: clsx("h-14 w-14", theme?.line, classes?.line) })} aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
26
26
|
<path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd"></path>
|
|
27
27
|
</svg>
|
|
28
|
-
<div class={line({ class: clsx("mb-2 h-2.5 w-32",
|
|
29
|
-
<div class={line({ class: clsx("mb-2 h-2 w-32",
|
|
28
|
+
<div class={line({ class: clsx("mb-2 h-2.5 w-32", theme?.line, classes?.line) })}></div>
|
|
29
|
+
<div class={line({ class: clsx("mb-2 h-2 w-32", theme?.line, classes?.line) })}></div>
|
|
30
30
|
</div>
|
|
31
31
|
<span class="sr-only">Loading...</span>
|
|
32
32
|
</div>
|
|
@@ -35,9 +35,10 @@
|
|
|
35
35
|
@component
|
|
36
36
|
[Go to docs](https://flowbite-svelte.com/)
|
|
37
37
|
## Type
|
|
38
|
-
[CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
38
|
+
[CardPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1422)
|
|
39
39
|
## Props
|
|
40
40
|
@prop size = "sm"
|
|
41
41
|
@prop class: className
|
|
42
|
+
@prop classes
|
|
42
43
|
@prop ...restProps
|
|
43
44
|
-->
|
|
@@ -2,10 +2,11 @@ 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#L1422)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "sm"
|
|
8
8
|
* @prop class: className
|
|
9
|
+
* @prop classes
|
|
9
10
|
* @prop ...restProps
|
|
10
11
|
*/
|
|
11
12
|
declare const CardPlaceholder: import("svelte").Component<CardPlaceholderProps, {}, "">;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { imagePlaceholder
|
|
3
|
+
import { imagePlaceholder } from ".";
|
|
4
4
|
import type { ImagePlaceholderProps } from "../types";
|
|
5
5
|
import { getTheme } from "../theme/themeUtils";
|
|
6
6
|
|
|
7
|
-
let { size = "md", rounded, imgOnly = false, class: className, ...restProps }: ImagePlaceholderProps = $props();
|
|
7
|
+
let { size = "md", rounded, imgOnly = false, class: className, classes, ...restProps }: ImagePlaceholderProps = $props();
|
|
8
8
|
|
|
9
9
|
const theme = getTheme("imagePlaceholder");
|
|
10
10
|
|
|
@@ -16,47 +16,47 @@
|
|
|
16
16
|
);
|
|
17
17
|
</script>
|
|
18
18
|
|
|
19
|
-
<div role="status" {...restProps} class={base({ class: clsx(className,
|
|
20
|
-
<div class={image({ class: clsx(
|
|
21
|
-
<svg width="48" height="48" class={svg({ class: clsx(
|
|
19
|
+
<div role="status" {...restProps} class={base({ class: clsx(className, theme?.base) })}>
|
|
20
|
+
<div class={image({ class: clsx(theme?.image, classes?.image) })}>
|
|
21
|
+
<svg width="48" height="48" class={svg({ class: clsx(theme?.svg, classes?.svg) })} xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 640 512">
|
|
22
22
|
<path d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"></path>
|
|
23
23
|
</svg>
|
|
24
24
|
</div>
|
|
25
25
|
{#if !imgOnly}
|
|
26
|
-
<div class={content({ class: clsx(
|
|
26
|
+
<div class={content({ class: clsx(theme?.content, classes?.content) })}>
|
|
27
27
|
<div
|
|
28
28
|
class={line({
|
|
29
|
-
class: clsx("mb-4 h-2.5 w-1/2",
|
|
29
|
+
class: clsx("mb-4 h-2.5 w-1/2", theme?.line, classes?.line)
|
|
30
30
|
})}
|
|
31
31
|
></div>
|
|
32
32
|
<div
|
|
33
33
|
class={line({
|
|
34
|
-
class: clsx("mb-2.5 h-2 w-9/12",
|
|
34
|
+
class: clsx("mb-2.5 h-2 w-9/12", theme?.line, classes?.line)
|
|
35
35
|
})}
|
|
36
36
|
></div>
|
|
37
37
|
<div
|
|
38
38
|
class={line({
|
|
39
|
-
class: clsx("mb-2.5 h-2",
|
|
39
|
+
class: clsx("mb-2.5 h-2", theme?.line, classes?.line)
|
|
40
40
|
})}
|
|
41
41
|
></div>
|
|
42
42
|
<div
|
|
43
43
|
class={line({
|
|
44
|
-
class: clsx("mb-2.5 h-2",
|
|
44
|
+
class: clsx("mb-2.5 h-2", theme?.line, classes?.line)
|
|
45
45
|
})}
|
|
46
46
|
></div>
|
|
47
47
|
<div
|
|
48
48
|
class={line({
|
|
49
|
-
class: clsx("mb-2.5 h-2 w-10/12",
|
|
49
|
+
class: clsx("mb-2.5 h-2 w-10/12", theme?.line, classes?.line)
|
|
50
50
|
})}
|
|
51
51
|
></div>
|
|
52
52
|
<div
|
|
53
53
|
class={line({
|
|
54
|
-
class: clsx("mb-2.5 h-2 w-11/12",
|
|
54
|
+
class: clsx("mb-2.5 h-2 w-11/12", theme?.line, classes?.line)
|
|
55
55
|
})}
|
|
56
56
|
></div>
|
|
57
57
|
<div
|
|
58
58
|
class={line({
|
|
59
|
-
class: clsx("h-2 w-9/12",
|
|
59
|
+
class: clsx("h-2 w-9/12", theme?.line, classes?.line)
|
|
60
60
|
})}
|
|
61
61
|
></div>
|
|
62
62
|
</div>
|
|
@@ -68,11 +68,12 @@
|
|
|
68
68
|
@component
|
|
69
69
|
[Go to docs](https://flowbite-svelte.com/)
|
|
70
70
|
## Type
|
|
71
|
-
[ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
71
|
+
[ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1426)
|
|
72
72
|
## Props
|
|
73
73
|
@prop size = "md"
|
|
74
74
|
@prop rounded
|
|
75
75
|
@prop imgOnly = false
|
|
76
76
|
@prop class: className
|
|
77
|
+
@prop classes
|
|
77
78
|
@prop ...restProps
|
|
78
79
|
-->
|
|
@@ -2,12 +2,13 @@ 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#L1426)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "md"
|
|
8
8
|
* @prop rounded
|
|
9
9
|
* @prop imgOnly = false
|
|
10
10
|
* @prop class: className
|
|
11
|
+
* @prop classes
|
|
11
12
|
* @prop ...restProps
|
|
12
13
|
*/
|
|
13
14
|
declare const ImagePlaceholder: import("svelte").Component<ImagePlaceholderProps, {}, "">;
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { listPlaceholder
|
|
3
|
+
import { listPlaceholder } from ".";
|
|
4
4
|
import type { ListPlaceholderProps } from "../types";
|
|
5
5
|
import { getTheme } from "../theme/themeUtils";
|
|
6
6
|
|
|
7
|
-
let { itemNumber = 5, size = "md", rounded, class: className, ...restProps }: ListPlaceholderProps = $props();
|
|
7
|
+
let { itemNumber = 5, size = "md", rounded, class: className, classes, ...restProps }: ListPlaceholderProps = $props();
|
|
8
8
|
|
|
9
9
|
const theme = getTheme("listPlaceholder");
|
|
10
10
|
|
|
11
|
-
const { base, item,
|
|
11
|
+
const { base, item, content, title, subTitle, extra } = $derived(listPlaceholder({ size, rounded }));
|
|
12
12
|
|
|
13
13
|
let items = $derived([...Array(itemNumber).keys()]);
|
|
14
14
|
</script>
|
|
15
15
|
|
|
16
|
-
<div role="status" {...restProps} class={base({ class: clsx(
|
|
16
|
+
<div role="status" {...restProps} class={base({ class: clsx(theme?.base, className) })}>
|
|
17
17
|
{#each items as _, i}
|
|
18
18
|
<div
|
|
19
19
|
class={item({
|
|
20
|
-
class: clsx(i > 0 ? "pt-4" : "",
|
|
20
|
+
class: clsx(i > 0 ? "pt-4" : "", theme?.item, classes?.item)
|
|
21
21
|
})}
|
|
22
22
|
>
|
|
23
23
|
<div
|
|
24
|
-
class={
|
|
25
|
-
class: clsx(
|
|
24
|
+
class={content({
|
|
25
|
+
class: clsx(theme?.content, classes?.content)
|
|
26
26
|
})}
|
|
27
27
|
>
|
|
28
28
|
<div
|
|
29
|
-
class={
|
|
30
|
-
class: clsx(
|
|
29
|
+
class={title({
|
|
30
|
+
class: clsx(theme?.title, classes?.title)
|
|
31
31
|
})}
|
|
32
32
|
></div>
|
|
33
33
|
<div
|
|
34
|
-
class={
|
|
35
|
-
class: clsx(
|
|
34
|
+
class={subTitle({
|
|
35
|
+
class: clsx(theme?.subTitle, classes?.subTitle)
|
|
36
36
|
})}
|
|
37
37
|
></div>
|
|
38
38
|
</div>
|
|
39
39
|
<div
|
|
40
|
-
class={
|
|
41
|
-
class: clsx(
|
|
40
|
+
class={extra({
|
|
41
|
+
class: clsx(theme?.extra, classes?.extra)
|
|
42
42
|
})}
|
|
43
43
|
></div>
|
|
44
44
|
</div>
|
|
@@ -50,11 +50,12 @@
|
|
|
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#L1432)
|
|
54
54
|
## Props
|
|
55
55
|
@prop itemNumber = 5
|
|
56
56
|
@prop size = "md"
|
|
57
57
|
@prop rounded
|
|
58
58
|
@prop class: className
|
|
59
|
+
@prop classes
|
|
59
60
|
@prop ...restProps
|
|
60
61
|
-->
|
|
@@ -2,12 +2,13 @@ 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#L1432)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop itemNumber = 5
|
|
8
8
|
* @prop size = "md"
|
|
9
9
|
* @prop rounded
|
|
10
10
|
* @prop class: className
|
|
11
|
+
* @prop classes
|
|
11
12
|
* @prop ...restProps
|
|
12
13
|
*/
|
|
13
14
|
declare const ListPlaceholder: import("svelte").Component<ListPlaceholderProps, {}, "">;
|
|
@@ -1,40 +1,40 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { skeleton
|
|
3
|
+
import { skeleton } from ".";
|
|
4
4
|
import type { SkeletonProps } from "../types";
|
|
5
5
|
import { getTheme } from "../theme/themeUtils";
|
|
6
6
|
|
|
7
|
-
let { size = "sm", class: className, ...restProps }: SkeletonProps = $props();
|
|
7
|
+
let { size = "sm", class: className, classes, ...restProps }: SkeletonProps = $props();
|
|
8
8
|
|
|
9
9
|
const theme = getTheme("skeleton");
|
|
10
10
|
|
|
11
11
|
const { wrapper, line } = $derived(skeleton({ size }));
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
|
-
<div role="status" {...restProps} class={wrapper({ class: clsx(
|
|
14
|
+
<div role="status" {...restProps} class={wrapper({ class: clsx(theme?.wrapper, className) })}>
|
|
15
15
|
<div
|
|
16
16
|
class={line({
|
|
17
|
-
class: clsx("mb-4 h-2.5 w-1/2",
|
|
17
|
+
class: clsx("mb-4 h-2.5 w-1/2", theme?.line, classes?.line)
|
|
18
18
|
})}
|
|
19
19
|
></div>
|
|
20
20
|
<div
|
|
21
21
|
class={line({
|
|
22
|
-
class: clsx("mb-2.5 h-2 w-9/12",
|
|
22
|
+
class: clsx("mb-2.5 h-2 w-9/12", theme?.line, classes?.line)
|
|
23
23
|
})}
|
|
24
24
|
></div>
|
|
25
|
-
<div class={line({ class: clsx("mb-2.5 h-2",
|
|
26
|
-
<div class={line({ class: clsx("mb-2.5 h-2",
|
|
25
|
+
<div class={line({ class: clsx("mb-2.5 h-2", theme?.line, classes?.line) })}></div>
|
|
26
|
+
<div class={line({ class: clsx("mb-2.5 h-2", theme?.line, classes?.line) })}></div>
|
|
27
27
|
<div
|
|
28
28
|
class={line({
|
|
29
|
-
class: clsx("mb-2.5 h-2 w-10/12",
|
|
29
|
+
class: clsx("mb-2.5 h-2 w-10/12", theme?.line, classes?.line)
|
|
30
30
|
})}
|
|
31
31
|
></div>
|
|
32
32
|
<div
|
|
33
33
|
class={line({
|
|
34
|
-
class: clsx("mb-2.5 h-2 w-11/12",
|
|
34
|
+
class: clsx("mb-2.5 h-2 w-11/12", theme?.line, classes?.line)
|
|
35
35
|
})}
|
|
36
36
|
></div>
|
|
37
|
-
<div class={line({ class: clsx("h-2 w-9/12",
|
|
37
|
+
<div class={line({ class: clsx("h-2 w-9/12", theme?.line, classes?.line) })}></div>
|
|
38
38
|
<span class="sr-only">Loading...</span>
|
|
39
39
|
</div>
|
|
40
40
|
|
|
@@ -42,9 +42,10 @@
|
|
|
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#L1438)
|
|
46
46
|
## Props
|
|
47
47
|
@prop size = "sm"
|
|
48
48
|
@prop class: className
|
|
49
|
+
@prop classes
|
|
49
50
|
@prop ...restProps
|
|
50
51
|
-->
|
|
@@ -2,10 +2,11 @@ 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#L1438)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "sm"
|
|
8
8
|
* @prop class: className
|
|
9
|
+
* @prop classes
|
|
9
10
|
* @prop ...restProps
|
|
10
11
|
*/
|
|
11
12
|
declare const Skeleton: import("svelte").Component<SkeletonProps, {}, "">;
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { testimonialPlaceholder
|
|
2
|
+
import { testimonialPlaceholder } from ".";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { type TestimonialPlaceholderProps } from "..";
|
|
5
5
|
import { getTheme } from "../theme/themeUtils";
|
|
6
6
|
|
|
7
|
-
let { class: className, ...restProps }: TestimonialPlaceholderProps = $props();
|
|
7
|
+
let { class: className, classes, ...restProps }: TestimonialPlaceholderProps = $props();
|
|
8
8
|
|
|
9
9
|
const theme = getTheme("testimonialPlaceholder");
|
|
10
10
|
|
|
11
|
-
const {
|
|
11
|
+
const { base, lineA, lineB, svg, content } = testimonialPlaceholder();
|
|
12
12
|
</script>
|
|
13
13
|
|
|
14
|
-
<div role="status" {...restProps} class={
|
|
14
|
+
<div role="status" {...restProps} class={base({ class: clsx(theme?.base, className) })}>
|
|
15
15
|
<div
|
|
16
|
-
class={
|
|
17
|
-
class: clsx("mx-auto mb-2.5 h-2.5 max-w-[640px]",
|
|
16
|
+
class={lineB({
|
|
17
|
+
class: clsx("mx-auto mb-2.5 h-2.5 max-w-[640px]", theme?.lineB, classes?.lineB)
|
|
18
18
|
})}
|
|
19
19
|
></div>
|
|
20
20
|
<div
|
|
21
|
-
class={
|
|
22
|
-
class: clsx("mx-auto h-2.5 max-w-[540px]",
|
|
21
|
+
class={lineB({
|
|
22
|
+
class: clsx("mx-auto h-2.5 max-w-[540px]", theme?.lineB, classes?.lineB)
|
|
23
23
|
})}
|
|
24
24
|
></div>
|
|
25
25
|
<div
|
|
26
|
-
class={
|
|
27
|
-
class: clsx(
|
|
26
|
+
class={content({
|
|
27
|
+
class: clsx(theme?.content, classes?.content)
|
|
28
28
|
})}
|
|
29
29
|
>
|
|
30
|
-
<svg class={svg({ class: clsx(
|
|
30
|
+
<svg class={svg({ class: clsx(theme?.svg, classes?.svg) })} aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
31
31
|
<path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd"></path>
|
|
32
32
|
</svg>
|
|
33
33
|
<div
|
|
34
|
-
class={
|
|
35
|
-
class: clsx("me-3 h-2.5 w-20",
|
|
34
|
+
class={lineA({
|
|
35
|
+
class: clsx("me-3 h-2.5 w-20", theme?.lineA, classes?.lineA)
|
|
36
36
|
})}
|
|
37
37
|
></div>
|
|
38
38
|
<div
|
|
39
|
-
class={
|
|
40
|
-
class: clsx("h-2 w-24",
|
|
39
|
+
class={lineA({
|
|
40
|
+
class: clsx("h-2 w-24", theme?.lineA, classes?.lineA)
|
|
41
41
|
})}
|
|
42
42
|
></div>
|
|
43
43
|
</div>
|
|
@@ -48,8 +48,9 @@
|
|
|
48
48
|
@component
|
|
49
49
|
[Go to docs](https://flowbite-svelte.com/)
|
|
50
50
|
## Type
|
|
51
|
-
[TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
51
|
+
[TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1442)
|
|
52
52
|
## Props
|
|
53
53
|
@prop class: className
|
|
54
|
+
@prop classes
|
|
54
55
|
@prop ...restProps
|
|
55
56
|
-->
|
|
@@ -2,9 +2,10 @@ 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#L1442)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop class: className
|
|
8
|
+
* @prop classes
|
|
8
9
|
* @prop ...restProps
|
|
9
10
|
*/
|
|
10
11
|
declare const TestimonialPlaceholder: import("svelte").Component<TestimonialPlaceholderProps, {}, "">;
|