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/timeline/theme.d.ts
CHANGED
|
@@ -1,61 +1,65 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type {
|
|
2
|
+
import type { Classes } from "../theme/themeUtils";
|
|
3
|
+
export type TimelineVariants = VariantProps<typeof timeline>;
|
|
4
|
+
export type ActivityItemVariants = VariantProps<typeof activityItem> & Classes<typeof activityItem>;
|
|
5
|
+
export type GroupVariants = VariantProps<typeof group> & Classes<typeof group>;
|
|
6
|
+
export type GroupItemVariants = VariantProps<typeof groupItem> & Classes<typeof groupItem>;
|
|
7
|
+
export type TimelineItemVariants = VariantProps<typeof timelineItem> & Classes<typeof timelineItem>;
|
|
3
8
|
export declare const activity: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "relative border-s border-gray-200 dark:border-gray-700", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "relative border-s border-gray-200 dark:border-gray-700", unknown, unknown, undefined>>;
|
|
4
|
-
export type ActivityTheme = ClassValue;
|
|
5
9
|
export declare const activityItem: import("tailwind-variants").TVReturnType<{
|
|
6
10
|
[key: string]: {
|
|
7
11
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
8
|
-
title?: import("tailwind-variants").ClassValue;
|
|
9
12
|
img?: import("tailwind-variants").ClassValue;
|
|
10
13
|
span?: import("tailwind-variants").ClassValue;
|
|
14
|
+
title?: import("tailwind-variants").ClassValue;
|
|
15
|
+
inner?: import("tailwind-variants").ClassValue;
|
|
11
16
|
text?: import("tailwind-variants").ClassValue;
|
|
12
17
|
time?: import("tailwind-variants").ClassValue;
|
|
13
|
-
innerDiv?: import("tailwind-variants").ClassValue;
|
|
14
18
|
li?: import("tailwind-variants").ClassValue;
|
|
15
|
-
|
|
19
|
+
outer?: import("tailwind-variants").ClassValue;
|
|
16
20
|
};
|
|
17
21
|
};
|
|
18
22
|
} | {
|
|
19
23
|
[x: string]: {
|
|
20
24
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
21
|
-
title?: import("tailwind-variants").ClassValue;
|
|
22
25
|
img?: import("tailwind-variants").ClassValue;
|
|
23
26
|
span?: import("tailwind-variants").ClassValue;
|
|
27
|
+
title?: import("tailwind-variants").ClassValue;
|
|
28
|
+
inner?: import("tailwind-variants").ClassValue;
|
|
24
29
|
text?: import("tailwind-variants").ClassValue;
|
|
25
30
|
time?: import("tailwind-variants").ClassValue;
|
|
26
|
-
innerDiv?: import("tailwind-variants").ClassValue;
|
|
27
31
|
li?: import("tailwind-variants").ClassValue;
|
|
28
|
-
|
|
32
|
+
outer?: import("tailwind-variants").ClassValue;
|
|
29
33
|
};
|
|
30
34
|
};
|
|
31
35
|
} | {}, {
|
|
32
36
|
li: string;
|
|
33
37
|
span: string;
|
|
34
38
|
img: string;
|
|
35
|
-
|
|
36
|
-
|
|
39
|
+
outer: string;
|
|
40
|
+
inner: string;
|
|
37
41
|
time: string;
|
|
38
42
|
title: string;
|
|
39
43
|
text: string;
|
|
40
44
|
}, undefined, {
|
|
41
45
|
[key: string]: {
|
|
42
46
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
43
|
-
title?: import("tailwind-variants").ClassValue;
|
|
44
47
|
img?: import("tailwind-variants").ClassValue;
|
|
45
48
|
span?: import("tailwind-variants").ClassValue;
|
|
49
|
+
title?: import("tailwind-variants").ClassValue;
|
|
50
|
+
inner?: import("tailwind-variants").ClassValue;
|
|
46
51
|
text?: import("tailwind-variants").ClassValue;
|
|
47
52
|
time?: import("tailwind-variants").ClassValue;
|
|
48
|
-
innerDiv?: import("tailwind-variants").ClassValue;
|
|
49
53
|
li?: import("tailwind-variants").ClassValue;
|
|
50
|
-
|
|
54
|
+
outer?: import("tailwind-variants").ClassValue;
|
|
51
55
|
};
|
|
52
56
|
};
|
|
53
57
|
} | {}, {
|
|
54
58
|
li: string;
|
|
55
59
|
span: string;
|
|
56
60
|
img: string;
|
|
57
|
-
|
|
58
|
-
|
|
61
|
+
outer: string;
|
|
62
|
+
inner: string;
|
|
59
63
|
time: string;
|
|
60
64
|
title: string;
|
|
61
65
|
text: string;
|
|
@@ -63,14 +67,12 @@ export declare const activityItem: import("tailwind-variants").TVReturnType<{
|
|
|
63
67
|
li: string;
|
|
64
68
|
span: string;
|
|
65
69
|
img: string;
|
|
66
|
-
|
|
67
|
-
|
|
70
|
+
outer: string;
|
|
71
|
+
inner: string;
|
|
68
72
|
time: string;
|
|
69
73
|
title: string;
|
|
70
74
|
text: string;
|
|
71
75
|
}, undefined, unknown, unknown, undefined>>;
|
|
72
|
-
export type ActivityItemSlots = keyof typeof activityItem.slots;
|
|
73
|
-
export type ActivityItemTheme = Partial<Record<ActivityItemSlots, ClassValue>>;
|
|
74
76
|
export declare const group: import("tailwind-variants").TVReturnType<{
|
|
75
77
|
[key: string]: {
|
|
76
78
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
@@ -108,60 +110,67 @@ export declare const group: import("tailwind-variants").TVReturnType<{
|
|
|
108
110
|
time: string;
|
|
109
111
|
ol: string;
|
|
110
112
|
}, undefined, unknown, unknown, undefined>>;
|
|
111
|
-
export type GroupSlots = keyof typeof group.slots;
|
|
112
|
-
export type GroupTheme = Partial<Record<GroupSlots, ClassValue>>;
|
|
113
113
|
export declare const groupItem: import("tailwind-variants").TVReturnType<{
|
|
114
114
|
[key: string]: {
|
|
115
115
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
116
|
+
img?: import("tailwind-variants").ClassValue;
|
|
117
|
+
span?: import("tailwind-variants").ClassValue;
|
|
118
|
+
base?: import("tailwind-variants").ClassValue;
|
|
116
119
|
title?: import("tailwind-variants").ClassValue;
|
|
117
120
|
div?: import("tailwind-variants").ClassValue;
|
|
118
|
-
|
|
121
|
+
svg?: import("tailwind-variants").ClassValue;
|
|
119
122
|
a?: import("tailwind-variants").ClassValue;
|
|
120
|
-
span?: import("tailwind-variants").ClassValue;
|
|
121
123
|
};
|
|
122
124
|
};
|
|
123
125
|
} | {
|
|
124
126
|
[x: string]: {
|
|
125
127
|
[x: string]: import("tailwind-variants").ClassValue | {
|
|
128
|
+
img?: import("tailwind-variants").ClassValue;
|
|
129
|
+
span?: import("tailwind-variants").ClassValue;
|
|
130
|
+
base?: import("tailwind-variants").ClassValue;
|
|
126
131
|
title?: import("tailwind-variants").ClassValue;
|
|
127
132
|
div?: import("tailwind-variants").ClassValue;
|
|
128
|
-
|
|
133
|
+
svg?: import("tailwind-variants").ClassValue;
|
|
129
134
|
a?: import("tailwind-variants").ClassValue;
|
|
130
|
-
span?: import("tailwind-variants").ClassValue;
|
|
131
135
|
};
|
|
132
136
|
};
|
|
133
137
|
} | {}, {
|
|
138
|
+
base: string;
|
|
134
139
|
a: string;
|
|
135
140
|
img: string;
|
|
136
141
|
div: string;
|
|
137
142
|
title: string;
|
|
138
143
|
span: string;
|
|
144
|
+
svg: string;
|
|
139
145
|
}, undefined, {
|
|
140
146
|
[key: string]: {
|
|
141
147
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
148
|
+
img?: import("tailwind-variants").ClassValue;
|
|
149
|
+
span?: import("tailwind-variants").ClassValue;
|
|
150
|
+
base?: import("tailwind-variants").ClassValue;
|
|
142
151
|
title?: import("tailwind-variants").ClassValue;
|
|
143
152
|
div?: import("tailwind-variants").ClassValue;
|
|
144
|
-
|
|
153
|
+
svg?: import("tailwind-variants").ClassValue;
|
|
145
154
|
a?: import("tailwind-variants").ClassValue;
|
|
146
|
-
span?: import("tailwind-variants").ClassValue;
|
|
147
155
|
};
|
|
148
156
|
};
|
|
149
157
|
} | {}, {
|
|
158
|
+
base: string;
|
|
150
159
|
a: string;
|
|
151
160
|
img: string;
|
|
152
161
|
div: string;
|
|
153
162
|
title: string;
|
|
154
163
|
span: string;
|
|
164
|
+
svg: string;
|
|
155
165
|
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
166
|
+
base: string;
|
|
156
167
|
a: string;
|
|
157
168
|
img: string;
|
|
158
169
|
div: string;
|
|
159
170
|
title: string;
|
|
160
171
|
span: string;
|
|
172
|
+
svg: string;
|
|
161
173
|
}, undefined, unknown, unknown, undefined>>;
|
|
162
|
-
export type GroupItemSlots = keyof typeof groupItem.slots;
|
|
163
|
-
export type GroupItemTheme = Partial<Record<GroupItemSlots, ClassValue>>;
|
|
164
|
-
export type TimelineVariants = VariantProps<typeof timeline>;
|
|
165
174
|
export declare const timeline: import("tailwind-variants").TVReturnType<{
|
|
166
175
|
order: {
|
|
167
176
|
group: string;
|
|
@@ -187,42 +196,41 @@ export declare const timeline: import("tailwind-variants").TVReturnType<{
|
|
|
187
196
|
default: string;
|
|
188
197
|
};
|
|
189
198
|
}, undefined, undefined, unknown, unknown, undefined>>;
|
|
190
|
-
export type TimelineTheme = ClassValue;
|
|
191
199
|
export declare const timelineItem: import("tailwind-variants").TVReturnType<{
|
|
192
200
|
order: {
|
|
193
201
|
default: {
|
|
194
|
-
|
|
202
|
+
base: string;
|
|
195
203
|
div: string;
|
|
196
204
|
time: string;
|
|
197
205
|
h3: string;
|
|
198
206
|
};
|
|
199
207
|
vertical: {
|
|
200
|
-
|
|
208
|
+
base: string;
|
|
201
209
|
div: string;
|
|
202
210
|
time: string;
|
|
203
211
|
h3: string;
|
|
204
212
|
};
|
|
205
213
|
horizontal: {
|
|
206
|
-
|
|
214
|
+
base: string;
|
|
207
215
|
div: string;
|
|
208
216
|
time: string;
|
|
209
217
|
h3: string;
|
|
210
218
|
};
|
|
211
219
|
activity: {
|
|
212
|
-
|
|
220
|
+
base: string;
|
|
213
221
|
div: string;
|
|
214
222
|
time: string;
|
|
215
223
|
h3: string;
|
|
216
224
|
};
|
|
217
225
|
group: {
|
|
218
|
-
|
|
226
|
+
base: string;
|
|
219
227
|
div: string;
|
|
220
228
|
time: string;
|
|
221
229
|
h3: string;
|
|
222
230
|
};
|
|
223
231
|
};
|
|
224
232
|
}, {
|
|
225
|
-
|
|
233
|
+
base: string;
|
|
226
234
|
div: string;
|
|
227
235
|
time: string;
|
|
228
236
|
h3: string;
|
|
@@ -230,38 +238,38 @@ export declare const timelineItem: import("tailwind-variants").TVReturnType<{
|
|
|
230
238
|
}, undefined, {
|
|
231
239
|
order: {
|
|
232
240
|
default: {
|
|
233
|
-
|
|
241
|
+
base: string;
|
|
234
242
|
div: string;
|
|
235
243
|
time: string;
|
|
236
244
|
h3: string;
|
|
237
245
|
};
|
|
238
246
|
vertical: {
|
|
239
|
-
|
|
247
|
+
base: string;
|
|
240
248
|
div: string;
|
|
241
249
|
time: string;
|
|
242
250
|
h3: string;
|
|
243
251
|
};
|
|
244
252
|
horizontal: {
|
|
245
|
-
|
|
253
|
+
base: string;
|
|
246
254
|
div: string;
|
|
247
255
|
time: string;
|
|
248
256
|
h3: string;
|
|
249
257
|
};
|
|
250
258
|
activity: {
|
|
251
|
-
|
|
259
|
+
base: string;
|
|
252
260
|
div: string;
|
|
253
261
|
time: string;
|
|
254
262
|
h3: string;
|
|
255
263
|
};
|
|
256
264
|
group: {
|
|
257
|
-
|
|
265
|
+
base: string;
|
|
258
266
|
div: string;
|
|
259
267
|
time: string;
|
|
260
268
|
h3: string;
|
|
261
269
|
};
|
|
262
270
|
};
|
|
263
271
|
}, {
|
|
264
|
-
|
|
272
|
+
base: string;
|
|
265
273
|
div: string;
|
|
266
274
|
time: string;
|
|
267
275
|
h3: string;
|
|
@@ -269,42 +277,40 @@ export declare const timelineItem: import("tailwind-variants").TVReturnType<{
|
|
|
269
277
|
}, import("tailwind-variants").TVReturnType<{
|
|
270
278
|
order: {
|
|
271
279
|
default: {
|
|
272
|
-
|
|
280
|
+
base: string;
|
|
273
281
|
div: string;
|
|
274
282
|
time: string;
|
|
275
283
|
h3: string;
|
|
276
284
|
};
|
|
277
285
|
vertical: {
|
|
278
|
-
|
|
286
|
+
base: string;
|
|
279
287
|
div: string;
|
|
280
288
|
time: string;
|
|
281
289
|
h3: string;
|
|
282
290
|
};
|
|
283
291
|
horizontal: {
|
|
284
|
-
|
|
292
|
+
base: string;
|
|
285
293
|
div: string;
|
|
286
294
|
time: string;
|
|
287
295
|
h3: string;
|
|
288
296
|
};
|
|
289
297
|
activity: {
|
|
290
|
-
|
|
298
|
+
base: string;
|
|
291
299
|
div: string;
|
|
292
300
|
time: string;
|
|
293
301
|
h3: string;
|
|
294
302
|
};
|
|
295
303
|
group: {
|
|
296
|
-
|
|
304
|
+
base: string;
|
|
297
305
|
div: string;
|
|
298
306
|
time: string;
|
|
299
307
|
h3: string;
|
|
300
308
|
};
|
|
301
309
|
};
|
|
302
310
|
}, {
|
|
303
|
-
|
|
311
|
+
base: string;
|
|
304
312
|
div: string;
|
|
305
313
|
time: string;
|
|
306
314
|
h3: string;
|
|
307
315
|
svg: string;
|
|
308
316
|
}, undefined, unknown, unknown, undefined>>;
|
|
309
|
-
export type TimelineItemSlots = keyof typeof timelineItem.slots;
|
|
310
|
-
export type TimelineItemTheme = Partial<Record<TimelineItemSlots, ClassValue>>;
|
package/dist/timeline/theme.js
CHANGED
|
@@ -7,8 +7,8 @@ export const activityItem = tv({
|
|
|
7
7
|
li: "mb-10 ms-6",
|
|
8
8
|
span: "flex absolute -start-3 justify-center items-center w-6 h-6 bg-blue-200 rounded-full ring-8 ring-white dark:ring-gray-900 dark:bg-blue-900",
|
|
9
9
|
img: "rounded-full shadow-lg",
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
outer: "p-4 bg-white rounded-lg border border-gray-200 shadow-xs dark:bg-gray-700 dark:border-gray-600",
|
|
11
|
+
inner: "justify-between items-center mb-3 sm:flex",
|
|
12
12
|
time: "mb-1 text-xs font-normal text-gray-400 sm:order-last sm:mb-0",
|
|
13
13
|
title: "text-sm font-normal text-gray-500 lex dark:text-gray-300",
|
|
14
14
|
text: "p-3 text-xs italic font-normal text-gray-500 bg-gray-50 rounded-lg border border-gray-200 dark:bg-gray-600 dark:border-gray-500 dark:text-gray-300"
|
|
@@ -23,11 +23,13 @@ export const group = tv({
|
|
|
23
23
|
});
|
|
24
24
|
export const groupItem = tv({
|
|
25
25
|
slots: {
|
|
26
|
+
base: "",
|
|
26
27
|
a: "block items-center p-3 sm:flex hover:bg-gray-100 dark:hover:bg-gray-700",
|
|
27
28
|
img: "me-3 mb-3 w-12 h-12 rounded-full sm:mb-0",
|
|
28
29
|
div: "text-gray-600 dark:text-gray-400",
|
|
29
30
|
title: "text-base font-normal",
|
|
30
|
-
span: "inline-flex items-center text-xs font-normal text-gray-500 dark:text-gray-400"
|
|
31
|
+
span: "inline-flex items-center text-xs font-normal text-gray-500 dark:text-gray-400",
|
|
32
|
+
svg: "me-1 h-3 w-3"
|
|
31
33
|
}
|
|
32
34
|
});
|
|
33
35
|
export const timeline = tv({
|
|
@@ -44,10 +46,9 @@ export const timeline = tv({
|
|
|
44
46
|
order: "default"
|
|
45
47
|
}
|
|
46
48
|
});
|
|
47
|
-
// export type TimelineItemVariants = VariantProps<typeof timelineitem>;
|
|
48
49
|
export const timelineItem = tv({
|
|
49
50
|
slots: {
|
|
50
|
-
|
|
51
|
+
base: "",
|
|
51
52
|
div: "",
|
|
52
53
|
time: "",
|
|
53
54
|
h3: "",
|
|
@@ -56,31 +57,31 @@ export const timelineItem = tv({
|
|
|
56
57
|
variants: {
|
|
57
58
|
order: {
|
|
58
59
|
default: {
|
|
59
|
-
|
|
60
|
+
base: "mb-10 ms-4",
|
|
60
61
|
div: "absolute w-3 h-3 bg-gray-200 rounded-full mt-1.5 -start-1.5 border border-white dark:border-gray-900 dark:bg-gray-700",
|
|
61
62
|
time: "mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500",
|
|
62
63
|
h3: "text-lg font-semibold text-gray-900 dark:text-white"
|
|
63
64
|
},
|
|
64
65
|
vertical: {
|
|
65
|
-
|
|
66
|
+
base: "mb-10 ms-6",
|
|
66
67
|
div: "flex absolute -start-3 justify-center items-center w-6 h-6 bg-primary-200 rounded-full ring-8 ring-white dark:ring-gray-900 dark:bg-primary-900",
|
|
67
68
|
time: "mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500",
|
|
68
69
|
h3: "flex items-center mb-1 text-lg font-semibold text-gray-900 dark:text-white"
|
|
69
70
|
},
|
|
70
71
|
horizontal: {
|
|
71
|
-
|
|
72
|
+
base: "relative mb-6 sm:mb-0",
|
|
72
73
|
div: "flex items-center",
|
|
73
74
|
time: "mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500",
|
|
74
75
|
h3: "text-lg font-semibold text-gray-900 dark:text-white"
|
|
75
76
|
},
|
|
76
77
|
activity: {
|
|
77
|
-
|
|
78
|
+
base: "mb-10 ms-6",
|
|
78
79
|
div: "flex absolute -start-3 justify-center items-center w-6 h-6 bg-primary-200 rounded-full ring-8 ring-white dark:ring-gray-900 dark:bg-primary-900",
|
|
79
80
|
time: "mb-1 text-sm font-normal leading-none text-gray-400 dark:text-gray-500",
|
|
80
81
|
h3: "text-lg font-semibold text-gray-900 dark:text-white"
|
|
81
82
|
},
|
|
82
83
|
group: {
|
|
83
|
-
|
|
84
|
+
base: "",
|
|
84
85
|
div: "p-5 mb-4 bg-gray-50 rounded-lg border border-gray-100 dark:bg-gray-800 dark:border-gray-700",
|
|
85
86
|
time: "text-lg font-semibold text-gray-900 dark:text-white",
|
|
86
87
|
h3: "text-lg font-semibold text-gray-900 dark:text-white"
|
package/dist/toast/Toast.svelte
CHANGED
|
@@ -1,13 +1,26 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { CloseButton } from "..";
|
|
3
3
|
import type { ParamsType } from "../types";
|
|
4
|
-
import { toast
|
|
4
|
+
import { toast } from ".";
|
|
5
5
|
import type { ToastProps } from "../types";
|
|
6
6
|
import { fly } from "svelte/transition";
|
|
7
7
|
import clsx from "clsx";
|
|
8
|
-
import { getTheme } from "../theme/themeUtils";
|
|
8
|
+
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
9
9
|
|
|
10
|
-
let { children, icon, toastStatus = $bindable(true), dismissable = true, color = "primary", position, iconClass, contentClass, align = true, params, transition = fly, class: className, onclose, ...restProps }: ToastProps = $props();
|
|
10
|
+
let { children, icon, toastStatus = $bindable(true), dismissable = true, color = "primary", position, iconClass, contentClass, align = true, params, transition = fly, class: className, classes, onclose, ...restProps }: ToastProps = $props();
|
|
11
|
+
|
|
12
|
+
warnThemeDeprecation(
|
|
13
|
+
"Toast",
|
|
14
|
+
{ iconClass, contentClass },
|
|
15
|
+
{
|
|
16
|
+
iconClass: "icon",
|
|
17
|
+
contentClass: "content"
|
|
18
|
+
}
|
|
19
|
+
);
|
|
20
|
+
const styling = $derived({
|
|
21
|
+
icon: iconClass,
|
|
22
|
+
content: contentClass
|
|
23
|
+
});
|
|
11
24
|
|
|
12
25
|
const theme = getTheme("toast");
|
|
13
26
|
|
|
@@ -20,19 +33,19 @@
|
|
|
20
33
|
</script>
|
|
21
34
|
|
|
22
35
|
{#if toastStatus}
|
|
23
|
-
<div role="alert" transition:transition={params as ParamsType} {...restProps} class={base({ class: clsx(
|
|
36
|
+
<div role="alert" transition:transition={params as ParamsType} {...restProps} class={base({ class: clsx(theme?.base, className) })}>
|
|
24
37
|
{#if icon}
|
|
25
|
-
<div class={iconVariants({ class: clsx(
|
|
38
|
+
<div class={iconVariants({ class: clsx(theme?.icon, styling.icon) })}>
|
|
26
39
|
{@render icon()}
|
|
27
40
|
</div>
|
|
28
41
|
{/if}
|
|
29
42
|
|
|
30
|
-
<div class={content({ class: clsx(
|
|
43
|
+
<div class={content({ class: clsx(theme?.content, styling.content) })}>
|
|
31
44
|
{@render children()}
|
|
32
45
|
</div>
|
|
33
46
|
|
|
34
47
|
{#if dismissable}
|
|
35
|
-
<CloseButton class={close({ class: clsx(
|
|
48
|
+
<CloseButton class={close({ class: clsx(theme?.close, classes?.close) })} ariaLabel="Remove toast" {color} onclick={handleClose} />
|
|
36
49
|
{/if}
|
|
37
50
|
</div>
|
|
38
51
|
{/if}
|
|
@@ -41,7 +54,7 @@
|
|
|
41
54
|
@component
|
|
42
55
|
[Go to docs](https://flowbite-svelte.com/)
|
|
43
56
|
## Type
|
|
44
|
-
[ToastProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
57
|
+
[ToastProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1821)
|
|
45
58
|
## Props
|
|
46
59
|
@prop children
|
|
47
60
|
@prop icon
|
|
@@ -55,6 +68,7 @@
|
|
|
55
68
|
@prop params
|
|
56
69
|
@prop transition = fly
|
|
57
70
|
@prop class: className
|
|
71
|
+
@prop classes
|
|
58
72
|
@prop onclose
|
|
59
73
|
@prop ...restProps
|
|
60
74
|
-->
|
|
@@ -2,7 +2,7 @@ import type { ToastProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ToastProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ToastProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1821)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop icon
|
|
@@ -16,6 +16,7 @@ import type { ToastProps } from "../types";
|
|
|
16
16
|
* @prop params
|
|
17
17
|
* @prop transition = fly
|
|
18
18
|
* @prop class: className
|
|
19
|
+
* @prop classes
|
|
19
20
|
* @prop onclose
|
|
20
21
|
* @prop ...restProps
|
|
21
22
|
*/
|
package/dist/toast/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as Toast } from "./Toast.svelte";
|
|
2
|
-
export { toast
|
|
2
|
+
export { toast } from "./theme";
|
package/dist/toast/theme.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type {
|
|
3
|
-
export type ToastVaraints = VariantProps<typeof toast>;
|
|
2
|
+
import type { Classes } from "../theme/themeUtils";
|
|
3
|
+
export type ToastVaraints = VariantProps<typeof toast> & Classes<typeof toast>;
|
|
4
4
|
export declare const toast: import("tailwind-variants").TVReturnType<{
|
|
5
5
|
position: {
|
|
6
6
|
"top-left": {
|
|
@@ -320,5 +320,3 @@ export declare const toast: import("tailwind-variants").TVReturnType<{
|
|
|
320
320
|
content: string;
|
|
321
321
|
close: string;
|
|
322
322
|
}, undefined, unknown, unknown, undefined>>;
|
|
323
|
-
export type ToastSlots = keyof typeof toast.slots;
|
|
324
|
-
export type ToastTheme = Partial<Record<ToastSlots, ClassValue>>;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
3
|
import { writable } from "svelte/store";
|
|
4
|
-
import { toolbar
|
|
4
|
+
import { toolbar } from "./";
|
|
5
5
|
import type { ToolbarProps } from "../types";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
import { getTheme } from "../theme/themeUtils";
|
|
8
8
|
|
|
9
|
-
let { children, end, color, embedded, class: className, ...restProps }: ToolbarProps = $props();
|
|
9
|
+
let { children, end, color, embedded, class: className, classes, ...restProps }: ToolbarProps = $props();
|
|
10
10
|
|
|
11
11
|
const theme = getTheme("toolbar");
|
|
12
12
|
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
// let divClass: string = twMerge('flex justify-between items-center', !embedded && 'py-2 px-3', className);
|
|
29
29
|
</script>
|
|
30
30
|
|
|
31
|
-
<div {...restProps} class={base({ class: clsx(
|
|
32
|
-
<div class={content({ class: clsx(
|
|
31
|
+
<div {...restProps} class={base({ class: clsx(theme?.base, className) })}>
|
|
32
|
+
<div class={content({ class: clsx(theme?.content, classes?.content) })}>
|
|
33
33
|
{@render children?.()}
|
|
34
34
|
</div>
|
|
35
35
|
{#if end}
|
|
@@ -41,12 +41,13 @@
|
|
|
41
41
|
@component
|
|
42
42
|
[Go to docs](https://flowbite-svelte.com/)
|
|
43
43
|
## Type
|
|
44
|
-
[ToolbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
44
|
+
[ToolbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1129)
|
|
45
45
|
## Props
|
|
46
46
|
@prop children
|
|
47
47
|
@prop end
|
|
48
48
|
@prop color
|
|
49
49
|
@prop embedded
|
|
50
50
|
@prop class: className
|
|
51
|
+
@prop classes
|
|
51
52
|
@prop ...restProps
|
|
52
53
|
-->
|
|
@@ -2,13 +2,14 @@ import type { ToolbarProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ToolbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ToolbarProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1129)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop end
|
|
9
9
|
* @prop color
|
|
10
10
|
* @prop embedded
|
|
11
11
|
* @prop class: className
|
|
12
|
+
* @prop classes
|
|
12
13
|
* @prop ...restProps
|
|
13
14
|
*/
|
|
14
15
|
declare const Toolbar: import("svelte").Component<ToolbarProps, {}, "">;
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
@component
|
|
37
37
|
[Go to docs](https://flowbite-svelte.com/)
|
|
38
38
|
## Type
|
|
39
|
-
[ToolbarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
39
|
+
[ToolbarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1135)
|
|
40
40
|
## Props
|
|
41
41
|
@prop children
|
|
42
42
|
@prop color
|
|
@@ -2,7 +2,7 @@ import type { ToolbarButtonProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ToolbarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ToolbarButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1135)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop color
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@component
|
|
25
25
|
[Go to docs](https://flowbite-svelte.com/)
|
|
26
26
|
## Type
|
|
27
|
-
[ToolbarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
27
|
+
[ToolbarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1133)
|
|
28
28
|
## Props
|
|
29
29
|
@prop children
|
|
30
30
|
@prop spacing
|
|
@@ -2,7 +2,7 @@ import type { ToolbarGroupProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ToolbarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ToolbarGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1133)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop spacing
|
package/dist/toolbar/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as Toolbar } from "./Toolbar.svelte";
|
|
2
2
|
export { default as ToolbarButton } from "./ToolbarButton.svelte";
|
|
3
3
|
export { default as ToolbarGroup } from "./ToolbarGroup.svelte";
|
|
4
|
-
export { toolbar, toolbarGroup, toolbarButton
|
|
4
|
+
export { toolbar, toolbarGroup, toolbarButton } from "./theme";
|
package/dist/toolbar/theme.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type {
|
|
3
|
-
export type ToolbarVariants = VariantProps<typeof toolbar>;
|
|
2
|
+
import type { Classes } from "../theme/themeUtils";
|
|
3
|
+
export type ToolbarVariants = VariantProps<typeof toolbar> & Classes<typeof toolbar>;
|
|
4
|
+
export type ToolbarGroupVariants = VariantProps<typeof toolbarGroup>;
|
|
4
5
|
export declare const toolbar: import("tailwind-variants").TVReturnType<{
|
|
5
6
|
embedded: {
|
|
6
7
|
true: {};
|
|
@@ -197,9 +198,6 @@ export declare const toolbar: import("tailwind-variants").TVReturnType<{
|
|
|
197
198
|
base: string;
|
|
198
199
|
content: string;
|
|
199
200
|
}, undefined, unknown, unknown, undefined>>;
|
|
200
|
-
export type ToolbarSlots = keyof typeof toolbar.slots;
|
|
201
|
-
export type ToolbarTheme = Partial<Record<ToolbarSlots, ClassValue>>;
|
|
202
|
-
export type ToolbarGroupVariants = VariantProps<typeof toolbarGroup>;
|
|
203
201
|
export declare const toolbarGroup: import("tailwind-variants").TVReturnType<{
|
|
204
202
|
spacing: {
|
|
205
203
|
default: string;
|
|
@@ -246,7 +244,6 @@ export declare const toolbarGroup: import("tailwind-variants").TVReturnType<{
|
|
|
246
244
|
last: string;
|
|
247
245
|
};
|
|
248
246
|
}, undefined, "flex items-center", unknown, unknown, undefined>>;
|
|
249
|
-
export type ToolbarGroupTheme = ClassValue;
|
|
250
247
|
export type ToolbarButtonVariants = VariantProps<typeof toolbarButton>;
|
|
251
248
|
export declare const toolbarButton: import("tailwind-variants").TVReturnType<{
|
|
252
249
|
color: {
|
|
@@ -321,4 +318,3 @@ export declare const toolbarButton: import("tailwind-variants").TVReturnType<{
|
|
|
321
318
|
false: string;
|
|
322
319
|
};
|
|
323
320
|
}, undefined, "focus:outline-hidden whitespace-normal", unknown, unknown, undefined>>;
|
|
324
|
-
export type ToolbarButtonTheme = ClassValue;
|