flowbite-svelte 1.10.5 → 1.10.7
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 +5 -5
- package/dist/accordion/Accordion.svelte.d.ts +1 -1
- package/dist/accordion/AccordionItem.svelte +16 -10
- package/dist/accordion/AccordionItem.svelte.d.ts +2 -1
- package/dist/accordion/theme.d.ts +7 -2
- package/dist/alert/Alert.svelte +11 -13
- package/dist/alert/Alert.svelte.d.ts +1 -1
- package/dist/alert/theme.d.ts +2 -1
- package/dist/avatar/Avatar.svelte +10 -12
- package/dist/avatar/Avatar.svelte.d.ts +1 -1
- package/dist/avatar/theme.d.ts +4 -1
- package/dist/badge/Badge.svelte +13 -7
- package/dist/badge/Badge.svelte.d.ts +2 -1
- package/dist/badge/theme.d.ts +4 -2
- package/dist/banner/Banner.svelte +12 -7
- package/dist/banner/Banner.svelte.d.ts +2 -1
- package/dist/banner/theme.d.ts +4 -2
- package/dist/bottom-navigation/BottomNav.svelte +17 -11
- package/dist/bottom-navigation/BottomNav.svelte.d.ts +3 -1
- package/dist/bottom-navigation/BottomNavHeader.svelte +13 -7
- package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +3 -1
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte +5 -4
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavItem.svelte +25 -26
- package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +3 -3
- package/dist/bottom-navigation/theme.d.ts +59 -52
- package/dist/bottom-navigation/theme.js +16 -16
- package/dist/breadcrumb/Breadcrumb.svelte +5 -4
- package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.svelte +8 -7
- package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
- package/dist/breadcrumb/theme.d.ts +3 -2
- package/dist/button-group/ButtonGroup.svelte +4 -3
- package/dist/button-group/ButtonGroup.svelte.d.ts +1 -1
- package/dist/button-group/theme.d.ts +2 -1
- package/dist/buttons/Button.svelte +4 -3
- package/dist/buttons/Button.svelte.d.ts +1 -1
- package/dist/buttons/GradientButton.svelte +6 -5
- package/dist/buttons/GradientButton.svelte.d.ts +1 -1
- package/dist/buttons/theme.d.ts +3 -2
- package/dist/card/Card.svelte +5 -5
- package/dist/card/Card.svelte.d.ts +1 -1
- package/dist/card/theme.d.ts +2 -1
- package/dist/carousel/Carousel.svelte +6 -5
- package/dist/carousel/Carousel.svelte.d.ts +1 -1
- package/dist/carousel/CarouselIndicators.svelte +5 -4
- package/dist/carousel/CarouselIndicators.svelte.d.ts +1 -1
- package/dist/carousel/ControlButton.svelte +8 -5
- package/dist/carousel/ControlButton.svelte.d.ts +1 -1
- package/dist/carousel/Controls.svelte +5 -4
- package/dist/carousel/Controls.svelte.d.ts +1 -1
- package/dist/carousel/Slide.svelte +4 -3
- package/dist/carousel/Slide.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnail.svelte +3 -3
- package/dist/carousel/Thumbnail.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnails.svelte +4 -4
- package/dist/carousel/Thumbnails.svelte.d.ts +1 -1
- package/dist/carousel/theme.d.ts +20 -9
- package/dist/carousel/theme.js +4 -1
- package/dist/clipboard/Clipboard.svelte +3 -3
- package/dist/clipboard/Clipboard.svelte.d.ts +1 -1
- package/dist/clipboard/theme.d.ts +2 -1
- package/dist/darkmode/DarkMode.svelte +4 -3
- package/dist/darkmode/DarkMode.svelte.d.ts +1 -1
- package/dist/darkmode/theme.d.ts +2 -1
- package/dist/datepicker/Datepicker.svelte +28 -24
- package/dist/datepicker/Datepicker.svelte.d.ts +1 -1
- package/dist/datepicker/theme.d.ts +1 -1
- package/dist/device-mockups/Android.svelte +1 -1
- package/dist/device-mockups/Android.svelte.d.ts +1 -1
- package/dist/device-mockups/DefaultMockup.svelte +1 -1
- package/dist/device-mockups/DefaultMockup.svelte.d.ts +1 -1
- package/dist/device-mockups/Desktop.svelte +1 -1
- package/dist/device-mockups/Desktop.svelte.d.ts +1 -1
- package/dist/device-mockups/DeviceMockup.svelte +1 -1
- package/dist/device-mockups/DeviceMockup.svelte.d.ts +1 -1
- package/dist/device-mockups/Ios.svelte +1 -1
- package/dist/device-mockups/Ios.svelte.d.ts +1 -1
- package/dist/device-mockups/Laptop.svelte +1 -1
- package/dist/device-mockups/Laptop.svelte.d.ts +1 -1
- package/dist/device-mockups/Smartwatch.svelte +1 -1
- package/dist/device-mockups/Smartwatch.svelte.d.ts +1 -1
- package/dist/device-mockups/Tablet.svelte +1 -1
- package/dist/device-mockups/Tablet.svelte.d.ts +1 -1
- package/dist/drawer/Drawer.svelte +5 -4
- package/dist/drawer/Drawer.svelte.d.ts +1 -1
- package/dist/drawer/Drawerhead.svelte +6 -5
- package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
- package/dist/drawer/theme.d.ts +3 -2
- package/dist/dropdown/Dropdown.svelte +4 -3
- package/dist/dropdown/Dropdown.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownDivider.svelte +4 -3
- package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownGroup.svelte +4 -3
- package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownHeader.svelte +4 -3
- package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownItem.svelte +5 -4
- package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
- package/dist/dropdown/theme.d.ts +6 -5
- package/dist/footer/Footer.svelte +5 -4
- package/dist/footer/Footer.svelte.d.ts +1 -1
- package/dist/footer/FooterBrand.svelte +7 -6
- package/dist/footer/FooterBrand.svelte.d.ts +1 -1
- package/dist/footer/FooterCopyright.svelte +6 -5
- package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
- package/dist/footer/FooterIcon.svelte +4 -3
- package/dist/footer/FooterIcon.svelte.d.ts +1 -1
- package/dist/footer/FooterLink.svelte +5 -4
- package/dist/footer/FooterLink.svelte.d.ts +1 -1
- package/dist/footer/FooterLinkGroup.svelte +4 -3
- package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
- package/dist/footer/theme.d.ts +7 -6
- package/dist/forms/button-toggle/ButtonToggle.svelte +8 -7
- package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +1 -1
- package/dist/forms/button-toggle/ButtonToggleGroup.svelte +6 -5
- package/dist/forms/button-toggle/CheckIcon.svelte +4 -3
- package/dist/forms/button-toggle/CheckIcon.svelte.d.ts +1 -1
- package/dist/forms/button-toggle/theme.d.ts +5 -4
- package/dist/forms/checkbox/Checkbox.svelte +6 -5
- package/dist/forms/checkbox/CheckboxButton.svelte +4 -3
- package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
- package/dist/forms/checkbox/theme.d.ts +3 -2
- package/dist/forms/dropzone/Dropzone.svelte +23 -31
- package/dist/forms/dropzone/Dropzone.svelte.d.ts +4 -1
- package/dist/forms/dropzone/theme.d.ts +2 -1
- package/dist/forms/fileupload/Fileupload.svelte +6 -5
- package/dist/forms/fileupload/Fileupload.svelte.d.ts +1 -1
- package/dist/forms/fileupload/theme.d.ts +2 -1
- package/dist/forms/floating-label/FloatingLabelInput.svelte +8 -7
- package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +1 -1
- package/dist/forms/floating-label/theme.d.ts +2 -1
- package/dist/forms/helper/Helper.svelte +4 -3
- package/dist/forms/helper/Helper.svelte.d.ts +1 -1
- package/dist/forms/helper/theme.d.ts +2 -1
- package/dist/forms/input-addon/InputAddon.svelte +4 -3
- package/dist/forms/input-addon/InputAddon.svelte.d.ts +1 -1
- package/dist/forms/input-field/Input.svelte +11 -10
- package/dist/forms/input-field/theme.d.ts +2 -1
- package/dist/forms/label/Label.svelte +4 -3
- package/dist/forms/label/Label.svelte.d.ts +1 -1
- package/dist/forms/label/theme.d.ts +2 -1
- package/dist/forms/phoneinput/PhoneInput.svelte +7 -7
- package/dist/forms/phoneinput/theme.d.ts +1 -1
- package/dist/forms/radio/Radio.svelte +4 -3
- package/dist/forms/radio/RadioButton.svelte +3 -2
- package/dist/forms/radio/theme.d.ts +3 -2
- package/dist/forms/range/Range.svelte +4 -3
- package/dist/forms/range/Range.svelte.d.ts +1 -1
- package/dist/forms/range/theme.d.ts +2 -1
- package/dist/forms/search/Search.svelte +9 -8
- package/dist/forms/search/Search.svelte.d.ts +1 -1
- package/dist/forms/search/theme.d.ts +2 -1
- package/dist/forms/select/MultiSelect.svelte +7 -6
- package/dist/forms/select/Select.svelte +5 -4
- package/dist/forms/select/theme.d.ts +3 -2
- package/dist/forms/tags/Tags.svelte +8 -7
- package/dist/forms/tags/Tags.svelte.d.ts +1 -1
- package/dist/forms/tags/theme.d.ts +2 -1
- package/dist/forms/textarea/Textarea.svelte +12 -11
- package/dist/forms/textarea/Textarea.svelte.d.ts +1 -1
- package/dist/forms/textarea/theme.d.ts +2 -1
- package/dist/forms/timepicker/Timepicker.svelte +39 -38
- package/dist/forms/timepicker/Timepicker.svelte.d.ts +1 -1
- package/dist/forms/timepicker/theme.d.ts +2 -1
- package/dist/forms/toggle/Toggle.svelte +6 -5
- package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
- package/dist/forms/toggle/theme.d.ts +2 -1
- package/dist/gallery/Gallery.svelte +5 -4
- package/dist/gallery/Gallery.svelte.d.ts +1 -1
- package/dist/gallery/theme.d.ts +2 -1
- package/dist/indicator/Indicator.svelte +6 -4
- package/dist/indicator/Indicator.svelte.d.ts +1 -1
- package/dist/indicator/theme.d.ts +2 -1
- package/dist/kbd/Kbd.svelte +4 -3
- package/dist/kbd/Kbd.svelte.d.ts +1 -1
- package/dist/kbd/theme.d.ts +2 -1
- package/dist/list-group/Listgroup.svelte +7 -6
- package/dist/list-group/Listgroup.svelte.d.ts +1 -1
- package/dist/list-group/ListgroupItem.svelte +8 -7
- package/dist/list-group/ListgroupItem.svelte.d.ts +1 -1
- package/dist/list-group/theme.d.ts +3 -2
- package/dist/mega-menu/MegaMenu.svelte +7 -6
- package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
- package/dist/mega-menu/theme.d.ts +2 -1
- package/dist/modal/Modal.svelte +8 -8
- package/dist/modal/Modal.svelte.d.ts +1 -1
- package/dist/modal/theme.d.ts +2 -1
- package/dist/navbar/Menu.svelte +2 -3
- package/dist/navbar/Menu.svelte.d.ts +1 -1
- package/dist/navbar/NavBrand.svelte +2 -3
- package/dist/navbar/NavBrand.svelte.d.ts +1 -1
- package/dist/navbar/NavContainer.svelte +2 -3
- package/dist/navbar/NavContainer.svelte.d.ts +1 -1
- package/dist/navbar/NavHamburger.svelte +3 -4
- package/dist/navbar/NavHamburger.svelte.d.ts +2 -3
- package/dist/navbar/NavLi.svelte +2 -3
- package/dist/navbar/NavLi.svelte.d.ts +1 -1
- package/dist/navbar/NavUl.svelte +5 -6
- package/dist/navbar/NavUl.svelte.d.ts +1 -1
- package/dist/navbar/Navbar.svelte +3 -3
- package/dist/navbar/Navbar.svelte.d.ts +1 -1
- package/dist/navbar/theme.d.ts +6 -5
- package/dist/pagination/Pagination.svelte +3 -3
- package/dist/pagination/Pagination.svelte.d.ts +1 -1
- package/dist/pagination/PaginationButton.svelte +11 -14
- package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
- package/dist/pagination/PaginationItem.svelte +2 -3
- package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
- package/dist/pagination/PaginationNav.svelte +8 -8
- package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
- package/dist/pagination/theme.d.ts +5 -4
- package/dist/popover/Popover.svelte +5 -6
- package/dist/popover/Popover.svelte.d.ts +1 -1
- package/dist/popover/theme.d.ts +2 -1
- package/dist/progress/Progressbar.svelte +7 -8
- package/dist/progress/Progressbar.svelte.d.ts +1 -1
- package/dist/progress/Progressradial.svelte +8 -9
- package/dist/progress/Progressradial.svelte.d.ts +1 -1
- package/dist/progress/theme.d.ts +2 -2
- package/dist/rating/AdvancedRating.svelte +6 -7
- package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
- package/dist/rating/CustomIcon.svelte +1 -1
- package/dist/rating/CustomIcon.svelte.d.ts +1 -1
- package/dist/rating/Heart.svelte +1 -1
- package/dist/rating/Heart.svelte.d.ts +1 -1
- package/dist/rating/Rating.svelte +3 -4
- package/dist/rating/Rating.svelte.d.ts +1 -1
- package/dist/rating/RatingComment.svelte +1 -1
- package/dist/rating/RatingComment.svelte.d.ts +1 -1
- package/dist/rating/Review.svelte +8 -9
- package/dist/rating/Review.svelte.d.ts +1 -1
- package/dist/rating/ScoreRating.svelte +9 -9
- package/dist/rating/ScoreRating.svelte.d.ts +1 -1
- package/dist/rating/Star.svelte +1 -1
- package/dist/rating/Star.svelte.d.ts +1 -1
- package/dist/rating/Thumbup.svelte +1 -1
- package/dist/rating/Thumbup.svelte.d.ts +1 -1
- package/dist/rating/theme.d.ts +5 -4
- package/dist/sidebar/Sidebar.svelte +9 -10
- package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarBrand.svelte +4 -5
- package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarButton.svelte +2 -3
- package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarCta.svelte +4 -5
- package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarDropdownWrapper.svelte +7 -8
- package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarGroup.svelte +1 -1
- package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarItem.svelte +6 -5
- package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
- package/dist/sidebar/theme.d.ts +9 -8
- package/dist/skeleton/CardPlaceholder.svelte +12 -13
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte +40 -13
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ListPlaceholder.svelte +27 -9
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/Skeleton.svelte +25 -10
- package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
- package/dist/skeleton/TestimonialPlaceholder.svelte +28 -9
- package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/TextPlaceholder.svelte +50 -27
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte +3 -4
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte +2 -3
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/theme.d.ts +9 -8
- package/dist/speed-dial/SpeedDial.svelte +4 -4
- package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialButton.svelte +4 -4
- package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialTrigger.svelte +1 -1
- package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
- package/dist/speed-dial/theme.d.ts +3 -2
- package/dist/spinner/Spinner.svelte +3 -4
- package/dist/spinner/Spinner.svelte.d.ts +1 -1
- package/dist/spinner/theme.d.ts +2 -1
- package/dist/stepindicator/StepIndicator.svelte +11 -10
- package/dist/stepindicator/StepIndicator.svelte.d.ts +1 -1
- package/dist/stepindicator/theme.d.ts +2 -1
- package/dist/stepper/BreadcrumbStepper.svelte +10 -11
- package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
- package/dist/stepper/DetailedStepper.svelte +5 -5
- package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
- package/dist/stepper/ProgressStepper.svelte +9 -12
- package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
- package/dist/stepper/Stepper.svelte +13 -19
- package/dist/stepper/Stepper.svelte.d.ts +1 -1
- package/dist/stepper/TimelineStepper.svelte +5 -5
- package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
- package/dist/stepper/VerticalStepper.svelte +5 -5
- package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
- package/dist/table/Table.svelte +4 -4
- package/dist/table/Table.svelte.d.ts +1 -1
- package/dist/table/TableBody.svelte +2 -3
- package/dist/table/TableBody.svelte.d.ts +1 -1
- package/dist/table/TableBodyCell.svelte +2 -3
- package/dist/table/TableBodyCell.svelte.d.ts +1 -1
- package/dist/table/TableBodyRow.svelte +3 -4
- package/dist/table/TableBodyRow.svelte.d.ts +1 -1
- package/dist/table/TableHead.svelte +3 -4
- package/dist/table/TableHead.svelte.d.ts +1 -1
- package/dist/table/TableHeadCell.svelte +2 -3
- package/dist/table/TableHeadCell.svelte.d.ts +1 -1
- package/dist/table/TableSearch.svelte +10 -10
- package/dist/table/TableSearch.svelte.d.ts +1 -1
- package/dist/table/theme.d.ts +6 -6
- package/dist/tabs/TabItem.svelte +6 -5
- package/dist/tabs/TabItem.svelte.d.ts +1 -1
- package/dist/tabs/Tabs.svelte +4 -5
- package/dist/tabs/Tabs.svelte.d.ts +1 -1
- package/dist/tabs/theme.d.ts +3 -2
- package/dist/theme/themeUtils.d.ts +13 -0
- package/dist/theme/themeUtils.js +9 -1
- package/dist/timeline/Activity.svelte +2 -3
- package/dist/timeline/Activity.svelte.d.ts +1 -1
- package/dist/timeline/ActivityItem.svelte +10 -10
- package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
- package/dist/timeline/Group.svelte +5 -5
- package/dist/timeline/Group.svelte.d.ts +1 -1
- package/dist/timeline/GroupItem.svelte +7 -7
- package/dist/timeline/GroupItem.svelte.d.ts +1 -1
- package/dist/timeline/Timeline.svelte +3 -4
- package/dist/timeline/Timeline.svelte.d.ts +1 -1
- package/dist/timeline/TimelineItem.svelte +8 -8
- package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
- package/dist/timeline/theme.d.ts +19 -18
- package/dist/toast/Toast.svelte +6 -6
- package/dist/toast/Toast.svelte.d.ts +1 -1
- package/dist/toast/theme.d.ts +2 -1
- package/dist/toolbar/Toolbar.svelte +3 -4
- package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarButton.svelte +5 -6
- package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarGroup.svelte +3 -4
- package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
- package/dist/toolbar/theme.d.ts +4 -3
- package/dist/tooltip/Tooltip.svelte +2 -3
- package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
- package/dist/tooltip/theme.d.ts +2 -1
- package/dist/types.d.ts +19 -44
- package/dist/types.js +0 -1
- package/dist/typography/anchor/A.svelte +4 -5
- package/dist/typography/anchor/A.svelte.d.ts +1 -1
- package/dist/typography/anchor/theme.d.ts +2 -1
- package/dist/typography/blockquote/Blockquote.svelte +4 -5
- package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
- package/dist/typography/blockquote/theme.d.ts +2 -1
- package/dist/typography/descriptionlist/DescriptionList.svelte +3 -4
- package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
- package/dist/typography/descriptionlist/theme.d.ts +2 -1
- package/dist/typography/heading/Heading.svelte +3 -4
- package/dist/typography/heading/Heading.svelte.d.ts +1 -1
- package/dist/typography/heading/theme.d.ts +2 -1
- package/dist/typography/hr/Hr.svelte +5 -6
- package/dist/typography/hr/Hr.svelte.d.ts +1 -1
- package/dist/typography/hr/theme.d.ts +2 -1
- package/dist/typography/img/EnhancedImg.svelte +5 -6
- package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
- package/dist/typography/img/Img.svelte +5 -6
- package/dist/typography/img/Img.svelte.d.ts +1 -1
- package/dist/typography/img/theme.d.ts +2 -1
- package/dist/typography/layout/Layout.svelte +3 -4
- package/dist/typography/layout/Layout.svelte.d.ts +1 -1
- package/dist/typography/layout/theme.d.ts +2 -1
- package/dist/typography/list/Li.svelte +2 -3
- package/dist/typography/list/Li.svelte.d.ts +1 -1
- package/dist/typography/list/List.svelte +3 -4
- package/dist/typography/list/List.svelte.d.ts +1 -1
- package/dist/typography/list/theme.d.ts +2 -1
- package/dist/typography/mark/Mark.svelte +2 -2
- package/dist/typography/mark/Mark.svelte.d.ts +1 -1
- package/dist/typography/mark/theme.d.ts +2 -1
- package/dist/typography/paragraph/P.svelte +3 -4
- package/dist/typography/paragraph/P.svelte.d.ts +1 -1
- package/dist/typography/paragraph/theme.d.ts +2 -1
- package/dist/typography/secondary/Secondary.svelte +2 -3
- package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
- package/dist/typography/secondary/theme.d.ts +2 -1
- package/dist/typography/span/Span.svelte +3 -4
- package/dist/typography/span/Span.svelte.d.ts +1 -1
- package/dist/typography/span/theme.d.ts +2 -1
- 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 +3 -3
- package/dist/video/Video.svelte.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { imagePlaceholder, type ImagePlaceholderTheme } from ".";
|
|
4
4
|
import type { ImagePlaceholderProps } from "../types";
|
|
5
|
-
import { cn } from "..";
|
|
6
5
|
import { getTheme } from "../theme/themeUtils";
|
|
7
6
|
|
|
8
7
|
let { size = "md", rounded, imgOnly = false, class: className, ...restProps }: ImagePlaceholderProps = $props();
|
|
@@ -17,21 +16,49 @@
|
|
|
17
16
|
);
|
|
18
17
|
</script>
|
|
19
18
|
|
|
20
|
-
<div role="status" {...restProps} class={
|
|
21
|
-
<div class={
|
|
22
|
-
<svg width="48" height="48" class={
|
|
19
|
+
<div role="status" {...restProps} class={base({ class: clsx(className, (theme as ImagePlaceholderTheme)?.base) })}>
|
|
20
|
+
<div class={image({ class: clsx((theme as ImagePlaceholderTheme)?.image) })}>
|
|
21
|
+
<svg width="48" height="48" class={svg({ class: clsx((theme as ImagePlaceholderTheme)?.svg) })} xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 640 512">
|
|
23
22
|
<path d="M480 80C480 35.82 515.8 0 560 0C604.2 0 640 35.82 640 80C640 124.2 604.2 160 560 160C515.8 160 480 124.2 480 80zM0 456.1C0 445.6 2.964 435.3 8.551 426.4L225.3 81.01C231.9 70.42 243.5 64 256 64C268.5 64 280.1 70.42 286.8 81.01L412.7 281.7L460.9 202.7C464.1 196.1 472.2 192 480 192C487.8 192 495 196.1 499.1 202.7L631.1 419.1C636.9 428.6 640 439.7 640 450.9C640 484.6 612.6 512 578.9 512H55.91C25.03 512 .0006 486.1 .0006 456.1L0 456.1z"></path>
|
|
24
23
|
</svg>
|
|
25
24
|
</div>
|
|
26
25
|
{#if !imgOnly}
|
|
27
|
-
<div class={
|
|
28
|
-
<div
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
<div
|
|
34
|
-
|
|
26
|
+
<div class={content({ class: clsx((theme as ImagePlaceholderTheme)?.content) })}>
|
|
27
|
+
<div
|
|
28
|
+
class={line({
|
|
29
|
+
class: clsx("mb-4 h-2.5 w-1/2", (theme as ImagePlaceholderTheme)?.line)
|
|
30
|
+
})}
|
|
31
|
+
></div>
|
|
32
|
+
<div
|
|
33
|
+
class={line({
|
|
34
|
+
class: clsx("mb-2.5 h-2 w-9/12", (theme as ImagePlaceholderTheme)?.line)
|
|
35
|
+
})}
|
|
36
|
+
></div>
|
|
37
|
+
<div
|
|
38
|
+
class={line({
|
|
39
|
+
class: clsx("mb-2.5 h-2", (theme as ImagePlaceholderTheme)?.line)
|
|
40
|
+
})}
|
|
41
|
+
></div>
|
|
42
|
+
<div
|
|
43
|
+
class={line({
|
|
44
|
+
class: clsx("mb-2.5 h-2", (theme as ImagePlaceholderTheme)?.line)
|
|
45
|
+
})}
|
|
46
|
+
></div>
|
|
47
|
+
<div
|
|
48
|
+
class={line({
|
|
49
|
+
class: clsx("mb-2.5 h-2 w-10/12", (theme as ImagePlaceholderTheme)?.line)
|
|
50
|
+
})}
|
|
51
|
+
></div>
|
|
52
|
+
<div
|
|
53
|
+
class={line({
|
|
54
|
+
class: clsx("mb-2.5 h-2 w-11/12", (theme as ImagePlaceholderTheme)?.line)
|
|
55
|
+
})}
|
|
56
|
+
></div>
|
|
57
|
+
<div
|
|
58
|
+
class={line({
|
|
59
|
+
class: clsx("h-2 w-9/12", (theme as ImagePlaceholderTheme)?.line)
|
|
60
|
+
})}
|
|
61
|
+
></div>
|
|
35
62
|
</div>
|
|
36
63
|
{/if}
|
|
37
64
|
<span class="sr-only">Loading...</span>
|
|
@@ -41,7 +68,7 @@
|
|
|
41
68
|
@component
|
|
42
69
|
[Go to docs](https://flowbite-svelte.com/)
|
|
43
70
|
## Type
|
|
44
|
-
[ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
71
|
+
[ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1415)
|
|
45
72
|
## Props
|
|
46
73
|
@prop size = "md"
|
|
47
74
|
@prop rounded
|
|
@@ -2,7 +2,7 @@ import type { ImagePlaceholderProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ImagePlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1415)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "md"
|
|
8
8
|
* @prop rounded
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { listPlaceholder, type ListPlaceholderTheme } from ".";
|
|
4
4
|
import type { ListPlaceholderProps } from "../types";
|
|
5
|
-
import { cn } from "..";
|
|
6
5
|
import { getTheme } from "../theme/themeUtils";
|
|
7
6
|
|
|
8
7
|
let { itemNumber = 5, size = "md", rounded, class: className, ...restProps }: ListPlaceholderProps = $props();
|
|
@@ -14,15 +13,34 @@
|
|
|
14
13
|
let items = $derived([...Array(itemNumber).keys()]);
|
|
15
14
|
</script>
|
|
16
15
|
|
|
17
|
-
<div role="status" {...restProps} class={
|
|
18
|
-
<!-- eslint-disable-next-line @typescript-eslint/no-unused-vars -->
|
|
16
|
+
<div role="status" {...restProps} class={base({ class: clsx(className, (theme as ListPlaceholderTheme)?.base) })}>
|
|
19
17
|
{#each items as _, i}
|
|
20
|
-
<div
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
<div
|
|
19
|
+
class={item({
|
|
20
|
+
class: clsx(i > 0 ? "pt-4" : "", (theme as ListPlaceholderTheme)?.item)
|
|
21
|
+
})}
|
|
22
|
+
>
|
|
23
|
+
<div
|
|
24
|
+
class={itemContent({
|
|
25
|
+
class: clsx((theme as ListPlaceholderTheme)?.itemContent)
|
|
26
|
+
})}
|
|
27
|
+
>
|
|
28
|
+
<div
|
|
29
|
+
class={itemTitle({
|
|
30
|
+
class: clsx((theme as ListPlaceholderTheme)?.itemTitle)
|
|
31
|
+
})}
|
|
32
|
+
></div>
|
|
33
|
+
<div
|
|
34
|
+
class={itemSubtitle({
|
|
35
|
+
class: clsx((theme as ListPlaceholderTheme)?.itemSubtitle)
|
|
36
|
+
})}
|
|
37
|
+
></div>
|
|
24
38
|
</div>
|
|
25
|
-
<div
|
|
39
|
+
<div
|
|
40
|
+
class={itemExtra({
|
|
41
|
+
class: clsx((theme as ListPlaceholderTheme)?.itemExtra)
|
|
42
|
+
})}
|
|
43
|
+
></div>
|
|
26
44
|
</div>
|
|
27
45
|
{/each}
|
|
28
46
|
<span class="sr-only">Loading...</span>
|
|
@@ -32,7 +50,7 @@
|
|
|
32
50
|
@component
|
|
33
51
|
[Go to docs](https://flowbite-svelte.com/)
|
|
34
52
|
## Type
|
|
35
|
-
[ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
53
|
+
[ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1421)
|
|
36
54
|
## Props
|
|
37
55
|
@prop itemNumber = 5
|
|
38
56
|
@prop size = "md"
|
|
@@ -2,7 +2,7 @@ import type { ListPlaceholderProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ListPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1421)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop itemNumber = 5
|
|
8
8
|
* @prop size = "md"
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { skeleton, type SkeletonTheme } from ".";
|
|
4
4
|
import type { SkeletonProps } from "../types";
|
|
5
|
-
import { cn } from "..";
|
|
6
5
|
import { getTheme } from "../theme/themeUtils";
|
|
7
6
|
|
|
8
7
|
let { size = "sm", class: className, ...restProps }: SkeletonProps = $props();
|
|
@@ -12,14 +11,30 @@
|
|
|
12
11
|
const { wrapper, line } = $derived(skeleton({ size }));
|
|
13
12
|
</script>
|
|
14
13
|
|
|
15
|
-
<div role="status" {...restProps} class={
|
|
16
|
-
<div
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
<div
|
|
22
|
-
|
|
14
|
+
<div role="status" {...restProps} class={wrapper({ class: clsx(className, (theme as SkeletonTheme)?.wrapper) })}>
|
|
15
|
+
<div
|
|
16
|
+
class={line({
|
|
17
|
+
class: clsx("mb-4 h-2.5 w-1/2", (theme as SkeletonTheme)?.line)
|
|
18
|
+
})}
|
|
19
|
+
></div>
|
|
20
|
+
<div
|
|
21
|
+
class={line({
|
|
22
|
+
class: clsx("mb-2.5 h-2 w-9/12", (theme as SkeletonTheme)?.line)
|
|
23
|
+
})}
|
|
24
|
+
></div>
|
|
25
|
+
<div class={line({ class: clsx("mb-2.5 h-2", (theme as SkeletonTheme)?.line) })}></div>
|
|
26
|
+
<div class={line({ class: clsx("mb-2.5 h-2", (theme as SkeletonTheme)?.line) })}></div>
|
|
27
|
+
<div
|
|
28
|
+
class={line({
|
|
29
|
+
class: clsx("mb-2.5 h-2 w-10/12", (theme as SkeletonTheme)?.line)
|
|
30
|
+
})}
|
|
31
|
+
></div>
|
|
32
|
+
<div
|
|
33
|
+
class={line({
|
|
34
|
+
class: clsx("mb-2.5 h-2 w-11/12", (theme as SkeletonTheme)?.line)
|
|
35
|
+
})}
|
|
36
|
+
></div>
|
|
37
|
+
<div class={line({ class: clsx("h-2 w-9/12", (theme as SkeletonTheme)?.line) })}></div>
|
|
23
38
|
<span class="sr-only">Loading...</span>
|
|
24
39
|
</div>
|
|
25
40
|
|
|
@@ -27,7 +42,7 @@
|
|
|
27
42
|
@component
|
|
28
43
|
[Go to docs](https://flowbite-svelte.com/)
|
|
29
44
|
## Type
|
|
30
|
-
[SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
45
|
+
[SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1427)
|
|
31
46
|
## Props
|
|
32
47
|
@prop size = "sm"
|
|
33
48
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { SkeletonProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SkeletonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1427)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "sm"
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { testimonialPlaceholder, type TestimonialPlaceholderTheme } from ".";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { type TestimonialPlaceholderProps } from "..";
|
|
5
|
-
import { cn } from "..";
|
|
6
5
|
import { getTheme } from "../theme/themeUtils";
|
|
7
6
|
|
|
8
7
|
let { class: className, ...restProps }: TestimonialPlaceholderProps = $props();
|
|
@@ -12,15 +11,35 @@
|
|
|
12
11
|
const { wrapper, line1, line2, svg, subContent } = testimonialPlaceholder();
|
|
13
12
|
</script>
|
|
14
13
|
|
|
15
|
-
<div role="status" {...restProps} class={
|
|
16
|
-
<div
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
14
|
+
<div role="status" {...restProps} class={wrapper({ class: clsx(className, (theme as TestimonialPlaceholderTheme)?.wrapper) })}>
|
|
15
|
+
<div
|
|
16
|
+
class={line2({
|
|
17
|
+
class: clsx("mx-auto mb-2.5 h-2.5 max-w-[640px]", (theme as TestimonialPlaceholderTheme)?.line2)
|
|
18
|
+
})}
|
|
19
|
+
></div>
|
|
20
|
+
<div
|
|
21
|
+
class={line2({
|
|
22
|
+
class: clsx("mx-auto h-2.5 max-w-[540px]", (theme as TestimonialPlaceholderTheme)?.line2)
|
|
23
|
+
})}
|
|
24
|
+
></div>
|
|
25
|
+
<div
|
|
26
|
+
class={subContent({
|
|
27
|
+
class: clsx((theme as TestimonialPlaceholderTheme)?.subContent)
|
|
28
|
+
})}
|
|
29
|
+
>
|
|
30
|
+
<svg class={svg({ class: clsx((theme as TestimonialPlaceholderTheme)?.svg) })} aria-hidden="true" fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
20
31
|
<path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-6-3a2 2 0 11-4 0 2 2 0 014 0zm-2 4a5 5 0 00-4.546 2.916A5.986 5.986 0 0010 16a5.986 5.986 0 004.546-2.084A5 5 0 0010 11z" clip-rule="evenodd"></path>
|
|
21
32
|
</svg>
|
|
22
|
-
<div
|
|
23
|
-
|
|
33
|
+
<div
|
|
34
|
+
class={line1({
|
|
35
|
+
class: clsx("me-3 h-2.5 w-20", (theme as TestimonialPlaceholderTheme)?.line1)
|
|
36
|
+
})}
|
|
37
|
+
></div>
|
|
38
|
+
<div
|
|
39
|
+
class={line1({
|
|
40
|
+
class: clsx("h-2 w-24", (theme as TestimonialPlaceholderTheme)?.line1)
|
|
41
|
+
})}
|
|
42
|
+
></div>
|
|
24
43
|
</div>
|
|
25
44
|
<span class="sr-only">Loading...</span>
|
|
26
45
|
</div>
|
|
@@ -29,7 +48,7 @@
|
|
|
29
48
|
@component
|
|
30
49
|
[Go to docs](https://flowbite-svelte.com/)
|
|
31
50
|
## Type
|
|
32
|
-
[TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
51
|
+
[TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1431)
|
|
33
52
|
## Props
|
|
34
53
|
@prop class: className
|
|
35
54
|
@prop ...restProps
|
|
@@ -2,7 +2,7 @@ import { type TestimonialPlaceholderProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TestimonialPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1431)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop class: className
|
|
8
8
|
* @prop ...restProps
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { textPlaceholder, type TextPlaceholderTheme } from ".";
|
|
4
4
|
import type { TextPlaceholderProps } from "../types";
|
|
5
|
-
import { cn } from "..";
|
|
6
5
|
import { getTheme } from "../theme/themeUtils";
|
|
7
6
|
|
|
8
7
|
let { size = "sm", class: className, ...restProps }: TextPlaceholderProps = $props();
|
|
@@ -16,36 +15,60 @@
|
|
|
16
15
|
);
|
|
17
16
|
</script>
|
|
18
17
|
|
|
19
|
-
<div role="status" {...restProps} class={
|
|
20
|
-
<div
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
18
|
+
<div role="status" {...restProps} class={baseWrapper({ class: clsx(className, (theme as TextPlaceholderTheme)?.baseWrapper) })}>
|
|
19
|
+
<div
|
|
20
|
+
class={divWrapper({
|
|
21
|
+
class: clsx("w-full", (theme as TextPlaceholderTheme)?.divWrapper)
|
|
22
|
+
})}
|
|
23
|
+
>
|
|
24
|
+
<div class={lineA({ class: clsx("h-2.5 w-32", (theme as TextPlaceholderTheme)?.lineA) })}></div>
|
|
25
|
+
<div class={lineB({ class: clsx("h-2.5 w-24", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
26
|
+
<div class={lineB({ class: clsx("h-2.5 w-full", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
24
27
|
</div>
|
|
25
|
-
<div
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
<div
|
|
29
|
+
class={divWrapper({
|
|
30
|
+
class: clsx("w-11/12", (theme as TextPlaceholderTheme)?.divWrapper)
|
|
31
|
+
})}
|
|
32
|
+
>
|
|
33
|
+
<div class={lineA({ class: clsx("h-2.5 w-full", (theme as TextPlaceholderTheme)?.lineA) })}></div>
|
|
34
|
+
<div class={lineB({ class: clsx("h-2.5 w-full", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
35
|
+
<div class={lineB({ class: clsx("h-2.5 w-24", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
29
36
|
</div>
|
|
30
|
-
<div
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
37
|
+
<div
|
|
38
|
+
class={divWrapper({
|
|
39
|
+
class: clsx("w-9/12", (theme as TextPlaceholderTheme)?.divWrapper)
|
|
40
|
+
})}
|
|
41
|
+
>
|
|
42
|
+
<div class={lineB({ class: clsx("h-2.5 w-full", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
43
|
+
<div class={lineA({ class: clsx("h-2.5 w-80", (theme as TextPlaceholderTheme)?.lineA) })}></div>
|
|
44
|
+
<div class={lineB({ class: clsx("h-2.5 w-full", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
34
45
|
</div>
|
|
35
|
-
<div
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
46
|
+
<div
|
|
47
|
+
class={divWrapper({
|
|
48
|
+
class: clsx("w-11/12", (theme as TextPlaceholderTheme)?.divWrapper)
|
|
49
|
+
})}
|
|
50
|
+
>
|
|
51
|
+
<div class={lineA({ class: clsx("h-2.5 w-full", (theme as TextPlaceholderTheme)?.lineA) })}></div>
|
|
52
|
+
<div class={lineB({ class: clsx("h-2.5 w-full", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
53
|
+
<div class={lineB({ class: clsx("h-2.5 w-24", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
39
54
|
</div>
|
|
40
|
-
<div
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
55
|
+
<div
|
|
56
|
+
class={divWrapper({
|
|
57
|
+
class: clsx("w-10/12", (theme as TextPlaceholderTheme)?.divWrapper)
|
|
58
|
+
})}
|
|
59
|
+
>
|
|
60
|
+
<div class={lineB({ class: clsx("h-2.5 w-32", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
61
|
+
<div class={lineB({ class: clsx("h-2.5 w-24", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
62
|
+
<div class={lineA({ class: clsx("h-2.5 w-full", (theme as TextPlaceholderTheme)?.lineA) })}></div>
|
|
44
63
|
</div>
|
|
45
|
-
<div
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
64
|
+
<div
|
|
65
|
+
class={divWrapper({
|
|
66
|
+
class: clsx("w-8/12", (theme as TextPlaceholderTheme)?.divWrapper)
|
|
67
|
+
})}
|
|
68
|
+
>
|
|
69
|
+
<div class={lineB({ class: clsx("h-2.5 w-full", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
70
|
+
<div class={lineA({ class: clsx("h-2.5 w-80", (theme as TextPlaceholderTheme)?.lineA) })}></div>
|
|
71
|
+
<div class={lineB({ class: clsx("h-2.5 w-full", (theme as TextPlaceholderTheme)?.lineB) })}></div>
|
|
49
72
|
</div>
|
|
50
73
|
<span class="sr-only">Loading...</span>
|
|
51
74
|
</div>
|
|
@@ -54,7 +77,7 @@
|
|
|
54
77
|
@component
|
|
55
78
|
[Go to docs](https://flowbite-svelte.com/)
|
|
56
79
|
## Type
|
|
57
|
-
[TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
80
|
+
[TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1433)
|
|
58
81
|
## Props
|
|
59
82
|
@prop size = "sm"
|
|
60
83
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { TextPlaceholderProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TextPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1433)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "sm"
|
|
8
8
|
* @prop class: className
|
|
@@ -2,17 +2,16 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { videoPlaceholder } from ".";
|
|
4
4
|
import type { VideoPlaceholderProps } from "../types";
|
|
5
|
-
import { cn } from "..";
|
|
6
5
|
import { getTheme } from "../theme/themeUtils";
|
|
7
6
|
|
|
8
7
|
let { size = "sm", class: className }: VideoPlaceholderProps = $props();
|
|
9
8
|
|
|
10
9
|
const theme = getTheme("videoPlaceholder");
|
|
11
10
|
|
|
12
|
-
const base = $derived(videoPlaceholder({ size }));
|
|
11
|
+
const base = $derived(videoPlaceholder({ size, class: clsx(theme, className) }));
|
|
13
12
|
</script>
|
|
14
13
|
|
|
15
|
-
<div role="status" class={
|
|
14
|
+
<div role="status" class={base}>
|
|
16
15
|
<svg width="48" height="48" class="text-gray-200 dark:text-gray-600" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" fill="currentColor" viewBox="0 0 384 512">
|
|
17
16
|
<path d="M361 215C375.3 223.8 384 239.3 384 256C384 272.7 375.3 288.2 361 296.1L73.03 472.1C58.21 482 39.66 482.4 24.52 473.9C9.377 465.4 0 449.4 0 432V80C0 62.64 9.377 46.63 24.52 38.13C39.66 29.64 58.21 29.99 73.03 39.04L361 215z"></path>
|
|
18
17
|
</svg>
|
|
@@ -23,7 +22,7 @@
|
|
|
23
22
|
@component
|
|
24
23
|
[Go to docs](https://flowbite-svelte.com/)
|
|
25
24
|
## Type
|
|
26
|
-
[VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
25
|
+
[VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1437)
|
|
27
26
|
## Props
|
|
28
27
|
@prop size = "sm"
|
|
29
28
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { VideoPlaceholderProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [VideoPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1437)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop size = "sm"
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
import { widgetPlaceholder, type WidgetPlaceholderTheme } from ".";
|
|
3
3
|
import clsx from "clsx";
|
|
4
4
|
import { type WidgetPlaceholderProps } from "..";
|
|
5
|
-
import { cn } from "..";
|
|
6
5
|
import { getTheme } from "../theme/themeUtils";
|
|
7
6
|
|
|
8
7
|
let { class: className }: WidgetPlaceholderProps = $props();
|
|
@@ -12,7 +11,7 @@
|
|
|
12
11
|
const { base, wrapper, vLine, hLine } = widgetPlaceholder({});
|
|
13
12
|
</script>
|
|
14
13
|
|
|
15
|
-
<div role="status" class={
|
|
14
|
+
<div role="status" class={base({ class: clsx((theme as WidgetPlaceholderTheme)?.base, className) })}>
|
|
16
15
|
<div class={hLine({ class: "mb-2.5 h-2.5 w-32" })}></div>
|
|
17
16
|
<div class={hLine({ class: "mb-10 h-2 w-48" })}></div>
|
|
18
17
|
<div class={wrapper()}>
|
|
@@ -31,7 +30,7 @@
|
|
|
31
30
|
@component
|
|
32
31
|
[Go to docs](https://flowbite-svelte.com/)
|
|
33
32
|
## Type
|
|
34
|
-
[WidgetPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
33
|
+
[WidgetPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1441)
|
|
35
34
|
## Props
|
|
36
35
|
@prop class: className
|
|
37
36
|
-->
|
|
@@ -2,7 +2,7 @@ import { type WidgetPlaceholderProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [WidgetPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [WidgetPlaceholderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1441)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop class: className
|
|
8
8
|
*/
|
package/dist/skeleton/theme.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
+
import type { ClassValue } from "svelte/elements";
|
|
2
3
|
export type CardPlaceholderVariants = VariantProps<typeof cardPlaceholder>;
|
|
3
4
|
export declare const cardPlaceholder: import("tailwind-variants").TVReturnType<{
|
|
4
5
|
size: {
|
|
@@ -74,7 +75,7 @@ export declare const cardPlaceholder: import("tailwind-variants").TVReturnType<{
|
|
|
74
75
|
footerArea: string;
|
|
75
76
|
}, undefined, unknown, unknown, undefined>>;
|
|
76
77
|
export type CardPlaceholderSlots = keyof typeof cardPlaceholder.slots;
|
|
77
|
-
export type CardPlaceholderTheme = Partial<Record<CardPlaceholderSlots,
|
|
78
|
+
export type CardPlaceholderTheme = Partial<Record<CardPlaceholderSlots, ClassValue>>;
|
|
78
79
|
export type ImagePlaceholderVariants = VariantProps<typeof imagePlaceholder>;
|
|
79
80
|
export declare const imagePlaceholder: import("tailwind-variants").TVReturnType<{
|
|
80
81
|
size: {
|
|
@@ -207,7 +208,7 @@ export declare const imagePlaceholder: import("tailwind-variants").TVReturnType<
|
|
|
207
208
|
line: string;
|
|
208
209
|
}, undefined, unknown, unknown, undefined>>;
|
|
209
210
|
export type ImagePlaceholderSlots = keyof typeof imagePlaceholder.slots;
|
|
210
|
-
export type ImagePlaceholderTheme = Partial<Record<ImagePlaceholderSlots,
|
|
211
|
+
export type ImagePlaceholderTheme = Partial<Record<ImagePlaceholderSlots, ClassValue>>;
|
|
211
212
|
export type ListPlaceholderVariants = VariantProps<typeof listPlaceholder>;
|
|
212
213
|
export declare const listPlaceholder: import("tailwind-variants").TVReturnType<{
|
|
213
214
|
size: {
|
|
@@ -331,7 +332,7 @@ export declare const listPlaceholder: import("tailwind-variants").TVReturnType<{
|
|
|
331
332
|
itemExtra: string;
|
|
332
333
|
}, undefined, unknown, unknown, undefined>>;
|
|
333
334
|
export type ListPlaceholderSlots = keyof typeof listPlaceholder.slots;
|
|
334
|
-
export type ListPlaceholderTheme = Partial<Record<ListPlaceholderSlots,
|
|
335
|
+
export type ListPlaceholderTheme = Partial<Record<ListPlaceholderSlots, ClassValue>>;
|
|
335
336
|
export type SkeletonVariants = VariantProps<typeof skeleton>;
|
|
336
337
|
export declare const skeleton: import("tailwind-variants").TVReturnType<{
|
|
337
338
|
size: {
|
|
@@ -398,7 +399,7 @@ export declare const skeleton: import("tailwind-variants").TVReturnType<{
|
|
|
398
399
|
line: string;
|
|
399
400
|
}, undefined, unknown, unknown, undefined>>;
|
|
400
401
|
export type SkeletonSlots = keyof typeof skeleton.slots;
|
|
401
|
-
export type SkeletonTheme = Partial<Record<SkeletonSlots,
|
|
402
|
+
export type SkeletonTheme = Partial<Record<SkeletonSlots, ClassValue>>;
|
|
402
403
|
export declare const testimonialPlaceholder: import("tailwind-variants").TVReturnType<{
|
|
403
404
|
[key: string]: {
|
|
404
405
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
@@ -449,7 +450,7 @@ export declare const testimonialPlaceholder: import("tailwind-variants").TVRetur
|
|
|
449
450
|
subContent: string;
|
|
450
451
|
}, undefined, unknown, unknown, undefined>>;
|
|
451
452
|
export type TestimonialPlaceholderSlots = keyof typeof testimonialPlaceholder.slots;
|
|
452
|
-
export type TestimonialPlaceholderTheme = Partial<Record<TestimonialPlaceholderSlots,
|
|
453
|
+
export type TestimonialPlaceholderTheme = Partial<Record<TestimonialPlaceholderSlots, ClassValue>>;
|
|
453
454
|
export type TextPlaceholderVariants = VariantProps<typeof textPlaceholder>;
|
|
454
455
|
export declare const textPlaceholder: import("tailwind-variants").TVReturnType<{
|
|
455
456
|
size: {
|
|
@@ -522,7 +523,7 @@ export declare const textPlaceholder: import("tailwind-variants").TVReturnType<{
|
|
|
522
523
|
lineB: string;
|
|
523
524
|
}, undefined, unknown, unknown, undefined>>;
|
|
524
525
|
export type TextPlaceholderSlots = keyof typeof textPlaceholder.slots;
|
|
525
|
-
export type TextPlaceholderTheme = Partial<Record<TextPlaceholderSlots,
|
|
526
|
+
export type TextPlaceholderTheme = Partial<Record<TextPlaceholderSlots, ClassValue>>;
|
|
526
527
|
export type VideoPlaceholderVariants = VariantProps<typeof videoPlaceholder>;
|
|
527
528
|
export declare const videoPlaceholder: import("tailwind-variants").TVReturnType<{
|
|
528
529
|
size: {
|
|
@@ -549,7 +550,7 @@ export declare const videoPlaceholder: import("tailwind-variants").TVReturnType<
|
|
|
549
550
|
"2xl": string;
|
|
550
551
|
};
|
|
551
552
|
}, undefined, "flex justify-center items-center h-56 bg-gray-300 rounded-lg animate-pulse dark:bg-gray-700", unknown, unknown, undefined>>;
|
|
552
|
-
export type VideoPlaceholderTheme =
|
|
553
|
+
export type VideoPlaceholderTheme = ClassValue;
|
|
553
554
|
export declare const widgetPlaceholder: import("tailwind-variants").TVReturnType<{
|
|
554
555
|
[key: string]: {
|
|
555
556
|
[key: string]: import("tailwind-variants").ClassValue | {
|
|
@@ -594,4 +595,4 @@ export declare const widgetPlaceholder: import("tailwind-variants").TVReturnType
|
|
|
594
595
|
vLine: string;
|
|
595
596
|
}, undefined, unknown, unknown, undefined>>;
|
|
596
597
|
export type WidgetPlaceholderSlots = keyof typeof widgetPlaceholder.slots;
|
|
597
|
-
export type WidgetPlaceholderTheme = Partial<Record<WidgetPlaceholderSlots,
|
|
598
|
+
export type WidgetPlaceholderTheme = Partial<Record<WidgetPlaceholderSlots, ClassValue>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import clsx from "clsx";
|
|
3
|
-
import { Popper
|
|
3
|
+
import { Popper } from "..";
|
|
4
4
|
import { getSideAxis } from "@floating-ui/utils";
|
|
5
5
|
import { setContext } from "svelte";
|
|
6
6
|
import { speedDial, type SpeedDialTheme } from "./theme";
|
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
let { base, popper } = $derived(speedDial({ vertical }));
|
|
19
19
|
</script>
|
|
20
20
|
|
|
21
|
-
<Popper {...restProps} bind:isOpen {trigger} arrow={false} {placement} class={
|
|
22
|
-
<div class={
|
|
21
|
+
<Popper {...restProps} bind:isOpen {trigger} arrow={false} {placement} class={base({ class: clsx((theme as SpeedDialTheme)?.base, className) })}>
|
|
22
|
+
<div class={popper({ class: clsx((theme as SpeedDialTheme)?.popper, popperClass) })}>
|
|
23
23
|
{@render children()}
|
|
24
24
|
</div>
|
|
25
25
|
</Popper>
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
@component
|
|
29
29
|
[Go to docs](https://flowbite-svelte.com/)
|
|
30
30
|
## Type
|
|
31
|
-
[SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
31
|
+
[SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1473)
|
|
32
32
|
## Props
|
|
33
33
|
@prop children
|
|
34
34
|
@prop popperClass
|
|
@@ -2,7 +2,7 @@ import type { SpeedDialProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SpeedDialProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1473)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop popperClass
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { Button, Tooltip
|
|
2
|
+
import { Button, Tooltip } from "..";
|
|
3
3
|
import { getContext } from "svelte";
|
|
4
4
|
import { speedDialButton, type SpeedDialButtonTheme } from "./theme";
|
|
5
5
|
import type { SpeedCtxType, SpeedDialButtonProps } from "../types";
|
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
const theme = getTheme("speedDialButton");
|
|
14
14
|
|
|
15
15
|
let { base, span } = $derived(speedDialButton({ textOutside, tooltip: tooltip == "none" }));
|
|
16
|
-
let spanClass = $derived(tooltip === "none" ?
|
|
16
|
+
let spanClass = $derived(tooltip === "none" ? span({ class: clsx((theme as SpeedDialButtonTheme)?.span, textClass) }) : "sr-only");
|
|
17
17
|
</script>
|
|
18
18
|
|
|
19
|
-
<Button {pill} {color} {...restProps} class={
|
|
19
|
+
<Button {pill} {color} {...restProps} class={base({ class: clsx((theme as SpeedDialButtonTheme)?.base, className) })}>
|
|
20
20
|
{@render children?.()}
|
|
21
21
|
<span class={spanClass}>{name}</span>
|
|
22
22
|
</Button>
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
@component
|
|
30
30
|
[Go to docs](https://flowbite-svelte.com/)
|
|
31
31
|
## Type
|
|
32
|
-
[SpeedDialButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
32
|
+
[SpeedDialButtonProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1487)
|
|
33
33
|
## Props
|
|
34
34
|
@prop children
|
|
35
35
|
@prop name = ""
|