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
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { ClassValue } from "svelte/elements";
|
|
3
2
|
export type DescriptionListVariants = VariantProps<typeof descriptionList>;
|
|
4
3
|
export declare const descriptionList: import("tailwind-variants").TVReturnType<{
|
|
5
4
|
tag: {
|
|
@@ -17,4 +16,3 @@ export declare const descriptionList: import("tailwind-variants").TVReturnType<{
|
|
|
17
16
|
dd: string;
|
|
18
17
|
};
|
|
19
18
|
}, undefined, undefined, unknown, unknown, undefined>>;
|
|
20
|
-
export type DescriptionListTheme = ClassValue;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@component
|
|
20
20
|
[Go to docs](https://flowbite-svelte.com/)
|
|
21
21
|
## Type
|
|
22
|
-
[HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
22
|
+
[HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1891)
|
|
23
23
|
## Props
|
|
24
24
|
@prop children
|
|
25
25
|
@prop tag = "h1"
|
|
@@ -2,7 +2,7 @@ import type { HeadingProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1891)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop tag = "h1"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Heading } from "./Heading.svelte";
|
|
2
|
-
export { heading
|
|
2
|
+
export { heading } from "./theme";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { ClassValue } from "svelte/elements";
|
|
3
2
|
export type HeadingVariants = VariantProps<typeof heading>;
|
|
4
3
|
export declare const heading: import("tailwind-variants").TVReturnType<{
|
|
5
4
|
tag: {
|
|
@@ -29,4 +28,3 @@ export declare const heading: import("tailwind-variants").TVReturnType<{
|
|
|
29
28
|
h6: string;
|
|
30
29
|
};
|
|
31
30
|
}, undefined, "font-bold text-gray-900 dark:text-white", unknown, unknown, undefined>>;
|
|
32
|
-
export type HeadingTheme = ClassValue;
|
|
@@ -1,36 +1,51 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { hr
|
|
3
|
+
import { hr } from "./index";
|
|
4
4
|
import type { HrProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
6
6
|
|
|
7
|
-
let { children, divClass, class: className,
|
|
7
|
+
let { children, divClass, innerDivClass, class: className, classes, ...restProps }: HrProps = $props();
|
|
8
|
+
|
|
9
|
+
// base container content
|
|
10
|
+
warnThemeDeprecation(
|
|
11
|
+
"Hr",
|
|
12
|
+
{ divClass, innerDivClass },
|
|
13
|
+
{
|
|
14
|
+
divClass: "div",
|
|
15
|
+
innerDivClass: "content"
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
const styling = $derived({
|
|
19
|
+
div: divClass,
|
|
20
|
+
content: innerDivClass
|
|
21
|
+
});
|
|
8
22
|
|
|
9
23
|
const theme = getTheme("hr");
|
|
10
24
|
|
|
11
|
-
let { base,
|
|
25
|
+
let { base, div, content } = $derived(hr({ withChildren: !!children }));
|
|
12
26
|
</script>
|
|
13
27
|
|
|
14
28
|
{#if children}
|
|
15
|
-
<div {...restProps} class={
|
|
16
|
-
<hr class={base({ class: clsx(
|
|
17
|
-
<div class={content({ class: clsx(
|
|
29
|
+
<div {...restProps} class={div({ class: clsx(theme?.div, divClass) })}>
|
|
30
|
+
<hr class={base({ class: clsx(theme?.base, className) })} />
|
|
31
|
+
<div class={content({ class: clsx(theme?.content, styling.content) })}>
|
|
18
32
|
{@render children()}
|
|
19
33
|
</div>
|
|
20
34
|
</div>
|
|
21
35
|
{:else}
|
|
22
|
-
<hr class={base({ class: clsx(
|
|
36
|
+
<hr class={base({ class: clsx(theme?.base, className) })} {...restProps} />
|
|
23
37
|
{/if}
|
|
24
38
|
|
|
25
39
|
<!--
|
|
26
40
|
@component
|
|
27
41
|
[Go to docs](https://flowbite-svelte.com/)
|
|
28
42
|
## Type
|
|
29
|
-
[HrProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
43
|
+
[HrProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1897)
|
|
30
44
|
## Props
|
|
31
45
|
@prop children
|
|
32
46
|
@prop divClass
|
|
33
|
-
@prop class: className
|
|
34
47
|
@prop innerDivClass
|
|
48
|
+
@prop class: className
|
|
49
|
+
@prop classes
|
|
35
50
|
@prop ...restProps
|
|
36
51
|
-->
|
|
@@ -2,12 +2,13 @@ import type { HrProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [HrProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [HrProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1897)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop divClass
|
|
9
|
-
* @prop class: className
|
|
10
9
|
* @prop innerDivClass
|
|
10
|
+
* @prop class: className
|
|
11
|
+
* @prop classes
|
|
11
12
|
* @prop ...restProps
|
|
12
13
|
*/
|
|
13
14
|
declare const Hr: import("svelte").Component<HrProps, {}, "">;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Hr } from "./Hr.svelte";
|
|
2
|
-
export { hr
|
|
2
|
+
export { hr } from "./theme";
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type VariantProps } from "tailwind-variants";
|
|
2
|
+
import type { Classes } from "../../theme/themeUtils";
|
|
3
|
+
export type HrVariants = VariantProps<typeof hr> & Classes<typeof hr>;
|
|
2
4
|
export declare const hr: import("tailwind-variants").TVReturnType<{
|
|
3
5
|
withChildren: {
|
|
4
6
|
true: {
|
|
@@ -8,7 +10,7 @@ export declare const hr: import("tailwind-variants").TVReturnType<{
|
|
|
8
10
|
};
|
|
9
11
|
}, {
|
|
10
12
|
base: string;
|
|
11
|
-
|
|
13
|
+
div: string;
|
|
12
14
|
content: string;
|
|
13
15
|
}, undefined, {
|
|
14
16
|
withChildren: {
|
|
@@ -19,7 +21,7 @@ export declare const hr: import("tailwind-variants").TVReturnType<{
|
|
|
19
21
|
};
|
|
20
22
|
}, {
|
|
21
23
|
base: string;
|
|
22
|
-
|
|
24
|
+
div: string;
|
|
23
25
|
content: string;
|
|
24
26
|
}, import("tailwind-variants").TVReturnType<{
|
|
25
27
|
withChildren: {
|
|
@@ -30,8 +32,6 @@ export declare const hr: import("tailwind-variants").TVReturnType<{
|
|
|
30
32
|
};
|
|
31
33
|
}, {
|
|
32
34
|
base: string;
|
|
33
|
-
|
|
35
|
+
div: string;
|
|
34
36
|
content: string;
|
|
35
37
|
}, undefined, unknown, unknown, undefined>>;
|
|
36
|
-
export type HrSlots = keyof typeof hr.slots;
|
|
37
|
-
export type HrTheme = Partial<Record<HrSlots, ClassValue>>;
|
|
@@ -2,7 +2,7 @@ import { tv } from "tailwind-variants";
|
|
|
2
2
|
export const hr = tv({
|
|
3
3
|
slots: {
|
|
4
4
|
base: "h-px my-8 bg-gray-200 border-0 dark:bg-gray-700",
|
|
5
|
-
|
|
5
|
+
div: "inline-flex items-center justify-center w-full",
|
|
6
6
|
content: "absolute px-4 -translate-x-1/2 rtl:translate-x-1/2 bg-white start-1/2 dark:bg-gray-900"
|
|
7
7
|
},
|
|
8
8
|
variants: {
|
|
@@ -1,26 +1,39 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { img
|
|
3
|
+
import { img } from ".";
|
|
4
4
|
import type { EnhandedImgProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
6
6
|
|
|
7
|
-
let { src, href, caption, size, figClass, class:
|
|
7
|
+
let { src, href, caption, size, figClass, class: className, classes, captionClass, ...restProps }: EnhandedImgProps = $props();
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
warnThemeDeprecation(
|
|
10
|
+
"EnhancedImg",
|
|
11
|
+
{ figClass, captionClass },
|
|
12
|
+
{
|
|
13
|
+
figClass: "fig",
|
|
14
|
+
captionClass: "caption"
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
const styling = $derived({
|
|
18
|
+
fig: figClass,
|
|
19
|
+
caption: captionClass
|
|
20
|
+
});
|
|
10
21
|
|
|
11
|
-
|
|
22
|
+
const theme = getTheme("img");
|
|
23
|
+
|
|
24
|
+
let { base, figure, caption: figureCaption } = $derived(img({ size }));
|
|
12
25
|
</script>
|
|
13
26
|
|
|
14
27
|
{#snippet imageSlot()}
|
|
15
28
|
{#if caption}
|
|
16
|
-
<figure class={figure({ class: clsx(
|
|
17
|
-
<enhanced:img {src} {...restProps} class={base({ class: clsx(
|
|
18
|
-
<figcaption class={figureCaption({ class: clsx(
|
|
29
|
+
<figure class={figure({ class: clsx(theme?.figure, styling.fig) })}>
|
|
30
|
+
<enhanced:img {src} {...restProps} class={base({ class: clsx(theme?.base, className) })} />
|
|
31
|
+
<figcaption class={figureCaption({ class: clsx(theme?.caption, styling.caption) })}>
|
|
19
32
|
{@html caption}
|
|
20
33
|
</figcaption>
|
|
21
34
|
</figure>
|
|
22
35
|
{:else}
|
|
23
|
-
<enhanced:img {src} {...restProps} class={base({ class: clsx(
|
|
36
|
+
<enhanced:img {src} {...restProps} class={base({ class: clsx(theme?.base, className) })} />
|
|
24
37
|
{/if}
|
|
25
38
|
{/snippet}
|
|
26
39
|
|
|
@@ -36,14 +49,15 @@
|
|
|
36
49
|
@component
|
|
37
50
|
[Go to docs](https://flowbite-svelte.com/)
|
|
38
51
|
## Type
|
|
39
|
-
[EnhandedImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
52
|
+
[EnhandedImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1929)
|
|
40
53
|
## Props
|
|
41
54
|
@prop src
|
|
42
55
|
@prop href
|
|
43
56
|
@prop caption
|
|
44
57
|
@prop size
|
|
45
58
|
@prop figClass
|
|
46
|
-
@prop class:
|
|
59
|
+
@prop class: className
|
|
60
|
+
@prop classes
|
|
47
61
|
@prop captionClass
|
|
48
62
|
@prop ...restProps
|
|
49
63
|
-->
|
|
@@ -2,14 +2,15 @@ import type { EnhandedImgProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [EnhandedImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [EnhandedImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1929)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop src
|
|
8
8
|
* @prop href
|
|
9
9
|
* @prop caption
|
|
10
10
|
* @prop size
|
|
11
11
|
* @prop figClass
|
|
12
|
-
* @prop class:
|
|
12
|
+
* @prop class: className
|
|
13
|
+
* @prop classes
|
|
13
14
|
* @prop captionClass
|
|
14
15
|
* @prop ...restProps
|
|
15
16
|
*/
|
|
@@ -1,26 +1,39 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { img
|
|
3
|
+
import { img } from ".";
|
|
4
4
|
import type { ImgProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme, warnThemeDeprecation } from "../../theme/themeUtils";
|
|
6
6
|
|
|
7
|
-
let { size = "none", effect = "none", caption, class:
|
|
7
|
+
let { size = "none", effect = "none", caption, class: className, classes, figClass, captionClass, href, ...restProps }: ImgProps = $props();
|
|
8
|
+
|
|
9
|
+
warnThemeDeprecation(
|
|
10
|
+
"Img",
|
|
11
|
+
{ figClass, captionClass },
|
|
12
|
+
{
|
|
13
|
+
figClass: "fig",
|
|
14
|
+
captionClass: "caption"
|
|
15
|
+
}
|
|
16
|
+
);
|
|
17
|
+
const styling = $derived({
|
|
18
|
+
fig: figClass,
|
|
19
|
+
caption: captionClass
|
|
20
|
+
});
|
|
8
21
|
|
|
9
22
|
const theme = getTheme("img");
|
|
10
23
|
|
|
11
|
-
let { base, figure, figureCaption } = $derived(img({ size, effect }));
|
|
24
|
+
let { base, figure, caption: figureCaption } = $derived(img({ size, effect }));
|
|
12
25
|
</script>
|
|
13
26
|
|
|
14
27
|
{#snippet imageSlot()}
|
|
15
28
|
{#if caption}
|
|
16
|
-
<figure class={figure({ class: clsx(
|
|
17
|
-
<img {...restProps} class={base({ class: clsx(
|
|
18
|
-
<figcaption class={figureCaption({ class: clsx(
|
|
29
|
+
<figure class={figure({ class: clsx(theme?.figure, styling.fig) })}>
|
|
30
|
+
<img {...restProps} class={base({ class: clsx(theme?.base, className) })} />
|
|
31
|
+
<figcaption class={figureCaption({ class: clsx(theme?.caption, styling.caption) })}>
|
|
19
32
|
{@html caption}
|
|
20
33
|
</figcaption>
|
|
21
34
|
</figure>
|
|
22
35
|
{:else}
|
|
23
|
-
<img {...restProps} class={base({ class: clsx(
|
|
36
|
+
<img {...restProps} class={base({ class: clsx(theme?.base, className) })} />
|
|
24
37
|
{/if}
|
|
25
38
|
{/snippet}
|
|
26
39
|
|
|
@@ -36,12 +49,13 @@
|
|
|
36
49
|
@component
|
|
37
50
|
[Go to docs](https://flowbite-svelte.com/)
|
|
38
51
|
## Type
|
|
39
|
-
[ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
52
|
+
[ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1920)
|
|
40
53
|
## Props
|
|
41
54
|
@prop size = "none"
|
|
42
55
|
@prop effect = "none"
|
|
43
56
|
@prop caption
|
|
44
|
-
@prop class:
|
|
57
|
+
@prop class: className
|
|
58
|
+
@prop classes
|
|
45
59
|
@prop figClass
|
|
46
60
|
@prop captionClass
|
|
47
61
|
@prop href
|
|
@@ -2,12 +2,13 @@ import type { ImgProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1920)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "none"
|
|
8
8
|
* @prop effect = "none"
|
|
9
9
|
* @prop caption
|
|
10
|
-
* @prop class:
|
|
10
|
+
* @prop class: className
|
|
11
|
+
* @prop classes
|
|
11
12
|
* @prop figClass
|
|
12
13
|
* @prop captionClass
|
|
13
14
|
* @prop href
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type {
|
|
3
|
-
export type ImgVariants = VariantProps<typeof img>;
|
|
2
|
+
import type { Classes } from "../../theme/themeUtils";
|
|
3
|
+
export type ImgVariants = VariantProps<typeof img> & Classes<typeof img>;
|
|
4
4
|
export declare const img: import("tailwind-variants").TVReturnType<{
|
|
5
5
|
size: {
|
|
6
6
|
xs: {
|
|
@@ -62,7 +62,7 @@ export declare const img: import("tailwind-variants").TVReturnType<{
|
|
|
62
62
|
}, {
|
|
63
63
|
base: string;
|
|
64
64
|
figure: string;
|
|
65
|
-
|
|
65
|
+
caption: string;
|
|
66
66
|
}, undefined, {
|
|
67
67
|
size: {
|
|
68
68
|
xs: {
|
|
@@ -124,7 +124,7 @@ export declare const img: import("tailwind-variants").TVReturnType<{
|
|
|
124
124
|
}, {
|
|
125
125
|
base: string;
|
|
126
126
|
figure: string;
|
|
127
|
-
|
|
127
|
+
caption: string;
|
|
128
128
|
}, import("tailwind-variants").TVReturnType<{
|
|
129
129
|
size: {
|
|
130
130
|
xs: {
|
|
@@ -186,7 +186,5 @@ export declare const img: import("tailwind-variants").TVReturnType<{
|
|
|
186
186
|
}, {
|
|
187
187
|
base: string;
|
|
188
188
|
figure: string;
|
|
189
|
-
|
|
189
|
+
caption: string;
|
|
190
190
|
}, undefined, unknown, unknown, undefined>>;
|
|
191
|
-
export type ImgSlots = keyof typeof img.slots;
|
|
192
|
-
export type ImgTheme = Partial<Record<ImgSlots, ClassValue>>;
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@component
|
|
20
20
|
[Go to docs](https://flowbite-svelte.com/)
|
|
21
21
|
## Type
|
|
22
|
-
[LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
22
|
+
[LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1942)
|
|
23
23
|
## Props
|
|
24
24
|
@prop children
|
|
25
25
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { LayoutProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1942)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Layout } from "./Layout.svelte";
|
|
2
|
-
export { layout
|
|
2
|
+
export { layout } from "./theme";
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
import type { ClassValue } from "svelte/elements";
|
|
2
1
|
export declare const layout: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "grid grid-cols-1 sm:grid-cols-2", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "grid grid-cols-1 sm:grid-cols-2", unknown, unknown, undefined>>;
|
|
3
|
-
export type LayoutTheme = ClassValue;
|
|
@@ -2,15 +2,12 @@
|
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
3
|
import type { LiProps } from "../../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
6
5
|
|
|
7
6
|
let { children, icon, class: className, ...restProps }: LiProps = $props();
|
|
8
7
|
|
|
9
|
-
const theme = getTheme("li");
|
|
10
|
-
|
|
11
8
|
const getCtxClass = getContext<() => string>("ctxClass");
|
|
12
9
|
|
|
13
|
-
let liCls = $derived(clsx(getCtxClass(), icon && "flex items-center",
|
|
10
|
+
let liCls = $derived(clsx(getCtxClass(), icon && "flex items-center", className));
|
|
14
11
|
</script>
|
|
15
12
|
|
|
16
13
|
<li {...restProps} class={liCls}>
|
|
@@ -21,7 +18,7 @@
|
|
|
21
18
|
@component
|
|
22
19
|
[Go to docs](https://flowbite-svelte.com/)
|
|
23
20
|
## Type
|
|
24
|
-
[LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
21
|
+
[LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1955)
|
|
25
22
|
## Props
|
|
26
23
|
@prop children
|
|
27
24
|
@prop icon
|
|
@@ -2,7 +2,7 @@ import type { LiProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1955)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop icon
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
@component
|
|
29
29
|
[Go to docs](https://flowbite-svelte.com/)
|
|
30
30
|
## Type
|
|
31
|
-
[ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
31
|
+
[ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1947)
|
|
32
32
|
## Props
|
|
33
33
|
@prop children
|
|
34
34
|
@prop tag = "ul"
|
|
@@ -2,7 +2,7 @@ import type { ListProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1947)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop tag = "ul"
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { ClassValue } from "svelte/elements";
|
|
3
2
|
export type ListVariants = VariantProps<typeof list>;
|
|
4
3
|
export declare const list: import("tailwind-variants").TVReturnType<{
|
|
5
4
|
tag: {
|
|
@@ -32,4 +31,3 @@ export declare const list: import("tailwind-variants").TVReturnType<{
|
|
|
32
31
|
outside: string;
|
|
33
32
|
};
|
|
34
33
|
}, undefined, "", unknown, unknown, undefined>>;
|
|
35
|
-
export type ListTheme = ClassValue;
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { mark } from "./index";
|
|
4
4
|
import type { MarkProps } from "../../types";
|
|
5
|
-
import { cn } from "../..";
|
|
6
5
|
import { getTheme } from "../../theme/themeUtils";
|
|
7
6
|
|
|
8
7
|
let { children, class: className, ...restProps }: MarkProps = $props();
|
|
@@ -18,7 +17,7 @@
|
|
|
18
17
|
@component
|
|
19
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
20
19
|
## Type
|
|
21
|
-
[MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1961)
|
|
22
21
|
## Props
|
|
23
22
|
@prop children
|
|
24
23
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { MarkProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1961)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Mark } from "./Mark.svelte";
|
|
2
|
-
export { mark
|
|
2
|
+
export { mark } from "./theme";
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
import type { ClassValue } from "svelte/elements";
|
|
2
1
|
export declare const mark: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "text-white dark:bg-blue-500 bg-blue-600 px-2 rounded-sm", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "text-white dark:bg-blue-500 bg-blue-600 px-2 rounded-sm", unknown, unknown, undefined>>;
|
|
3
|
-
export type MarkTheme = ClassValue;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
let { children, class: className = "text-gray-900 dark:text-white", height = "normal", align = "left", justify = false, italic, firstUpper = false, whitespace = "normal", size = "base", space = "normal", weight = "normal", ...restProps }: ParagraphProps = $props();
|
|
8
8
|
|
|
9
|
-
const theme = getTheme("
|
|
9
|
+
const theme = getTheme("paragraph");
|
|
10
10
|
|
|
11
11
|
let classP = $derived(paragraph({ height, size, weight, space, align, justify, italic, firstUpper, whitespace, class: clsx(theme, className) }));
|
|
12
12
|
</script>
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@component
|
|
20
20
|
[Go to docs](https://flowbite-svelte.com/)
|
|
21
21
|
## Type
|
|
22
|
-
[ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
22
|
+
[ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1966)
|
|
23
23
|
## Props
|
|
24
24
|
@prop children
|
|
25
25
|
@prop class: className = "text-gray-900 dark:text-white"
|
|
@@ -2,7 +2,7 @@ import type { ParagraphProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1966)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className = "text-gray-900 dark:text-white"
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as P } from "./P.svelte";
|
|
2
|
-
export { paragraph
|
|
2
|
+
export { paragraph } from "./theme";
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { ClassValue } from "svelte/elements";
|
|
3
2
|
export type ParagraphVariants = VariantProps<typeof paragraph>;
|
|
4
3
|
export declare const paragraph: import("tailwind-variants").TVReturnType<{
|
|
5
4
|
size: {
|
|
@@ -224,4 +223,3 @@ export declare const paragraph: import("tailwind-variants").TVReturnType<{
|
|
|
224
223
|
false: string;
|
|
225
224
|
};
|
|
226
225
|
}, undefined, "text-gray-900 dark:text-white", unknown, unknown, undefined>>;
|
|
227
|
-
export type ParagraphTheme = ClassValue;
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1974)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { SecondaryProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1974)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Secondary } from "./Secondary.svelte";
|
|
2
|
-
export { secondary
|
|
2
|
+
export { secondary } from "./theme";
|
|
@@ -1,3 +1 @@
|
|
|
1
|
-
import type { ClassValue } from "svelte/elements";
|
|
2
1
|
export declare const secondary: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "text-gray-500 dark:text-gray-400 font-semibold", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "text-gray-500 dark:text-gray-400 font-semibold", unknown, unknown, undefined>>;
|
|
3
|
-
export type SecondaryTheme = ClassValue;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@component
|
|
35
35
|
[Go to docs](https://flowbite-svelte.com/)
|
|
36
36
|
## Type
|
|
37
|
-
[SpanProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
37
|
+
[SpanProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1979)
|
|
38
38
|
## Props
|
|
39
39
|
@prop children
|
|
40
40
|
@prop class: className
|