flowbite-svelte 1.10.20 → 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/AccordionItem.svelte +6 -6
- package/dist/accordion/index.d.ts +1 -1
- package/dist/accordion/theme.d.ts +0 -4
- package/dist/alert/index.d.ts +1 -1
- package/dist/alert/theme.d.ts +0 -2
- package/dist/avatar/index.d.ts +1 -1
- package/dist/avatar/theme.d.ts +0 -2
- package/dist/badge/Badge.svelte +3 -3
- package/dist/badge/index.d.ts +1 -1
- package/dist/badge/theme.d.ts +0 -3
- package/dist/banner/Banner.svelte +4 -4
- package/dist/banner/index.d.ts +1 -1
- package/dist/banner/theme.d.ts +0 -3
- package/dist/bottom-navigation/BottomNav.svelte +3 -3
- package/dist/bottom-navigation/BottomNavHeader.svelte +3 -3
- package/dist/bottom-navigation/BottomNavItem.svelte +3 -3
- package/dist/bottom-navigation/index.d.ts +1 -1
- package/dist/bottom-navigation/theme.d.ts +0 -9
- package/dist/breadcrumb/Breadcrumb.svelte +3 -3
- package/dist/breadcrumb/BreadcrumbItem.svelte +6 -6
- package/dist/breadcrumb/index.d.ts +1 -1
- package/dist/breadcrumb/theme.d.ts +0 -5
- package/dist/button-group/index.d.ts +1 -1
- package/dist/button-group/theme.d.ts +0 -2
- package/dist/buttons/Button.svelte +2 -2
- package/dist/buttons/GradientButton.svelte +4 -4
- package/dist/buttons/index.d.ts +1 -1
- package/dist/buttons/theme.d.ts +0 -5
- package/dist/card/Card.svelte +4 -4
- package/dist/card/index.d.ts +1 -1
- package/dist/card/theme.d.ts +0 -3
- package/dist/carousel/Carousel.svelte +3 -3
- package/dist/carousel/Carousel.svelte.d.ts +1 -0
- 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 +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 +4 -4
- package/dist/drawer/Drawer.svelte.d.ts +1 -1
- package/dist/drawer/Drawerhead.svelte +5 -5
- 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 +3 -3
- 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 +5 -5
- 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 +4 -4
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- package/dist/forms/fileupload/Fileupload.svelte.d.ts +1 -1
- package/dist/forms/fileupload/index.d.ts +1 -1
- package/dist/forms/fileupload/theme.d.ts +0 -3
- package/dist/forms/floating-label/FloatingLabelInput.svelte +7 -7
- 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 +10 -10
- 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 +3 -3
- 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 +1 -1
- package/dist/forms/range/Range.svelte.d.ts +1 -1
- package/dist/forms/range/theme.d.ts +0 -2
- package/dist/forms/search/Search.svelte +8 -8
- 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 +4 -4
- package/dist/forms/select/MultiSelect.svelte.d.ts +10 -3
- package/dist/forms/select/Select.svelte +4 -4
- 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 +0 -5
- package/dist/forms/tags/Tags.svelte +6 -6
- 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 +10 -10
- 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 +5 -5
- package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
- package/dist/forms/toggle/index.d.ts +1 -1
- package/dist/forms/toggle/theme.d.ts +0 -3
- package/dist/gallery/Gallery.svelte +4 -4
- package/dist/gallery/Gallery.svelte.d.ts +1 -1
- package/dist/gallery/index.d.ts +1 -1
- package/dist/gallery/theme.d.ts +0 -3
- 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 +7 -7
- package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
- package/dist/mega-menu/index.d.ts +1 -1
- package/dist/mega-menu/theme.d.ts +0 -3
- package/dist/modal/Modal.svelte +10 -9
- package/dist/modal/Modal.svelte.d.ts +2 -1
- package/dist/modal/index.d.ts +1 -1
- package/dist/modal/theme.d.ts +24 -3
- package/dist/modal/theme.js +6 -0
- 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 +5 -5
- package/dist/navbar/NavHamburger.svelte.d.ts +1 -1
- package/dist/navbar/NavLi.svelte +2 -2
- package/dist/navbar/NavLi.svelte.d.ts +1 -1
- package/dist/navbar/NavUl.svelte +7 -7
- package/dist/navbar/NavUl.svelte.d.ts +1 -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 +0 -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 +8 -8
- package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
- package/dist/pagination/index.d.ts +1 -1
- package/dist/pagination/theme.d.ts +0 -6
- package/dist/popover/Popover.svelte +6 -6
- package/dist/popover/Popover.svelte.d.ts +1 -1
- package/dist/popover/index.d.ts +1 -1
- package/dist/popover/theme.d.ts +0 -3
- package/dist/progress/Progressbar.svelte +8 -8
- package/dist/progress/Progressbar.svelte.d.ts +1 -1
- package/dist/progress/Progressradial.svelte +9 -9
- package/dist/progress/Progressradial.svelte.d.ts +1 -1
- package/dist/progress/index.d.ts +1 -1
- package/dist/progress/theme.d.ts +0 -5
- package/dist/rating/AdvancedRating.svelte +7 -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 +4 -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 +9 -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/index.d.ts +1 -1
- package/dist/rating/theme.d.ts +6 -15
- package/dist/sidebar/Sidebar.svelte +10 -10
- package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarBrand.svelte +5 -5
- package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarButton.svelte +1 -1
- package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarCta.svelte +5 -5
- package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarDropdownWrapper.svelte +8 -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 +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 +9 -19
- package/dist/skeleton/CardPlaceholder.svelte +13 -13
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte +13 -13
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ListPlaceholder.svelte +8 -8
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/Skeleton.svelte +10 -10
- package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
- package/dist/skeleton/TestimonialPlaceholder.svelte +9 -9
- package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/TextPlaceholder.svelte +27 -27
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte +3 -3
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/index.d.ts +1 -1
- package/dist/skeleton/theme.d.ts +0 -16
- 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/index.d.ts +1 -1
- package/dist/speed-dial/theme.d.ts +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 +1 -1
- package/dist/stepindicator/StepIndicator.svelte.d.ts +1 -1
- package/dist/stepper/BreadcrumbStepper.svelte +6 -6
- 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 +4 -5
- package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
- package/dist/stepper/Stepper.svelte +5 -5
- 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 +6 -6
- package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
- package/dist/stepper/index.d.ts +1 -1
- package/dist/stepper/theme.d.ts +0 -13
- package/dist/table/Table.svelte +4 -4
- package/dist/table/Table.svelte.d.ts +1 -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 +9 -9
- package/dist/table/TableSearch.svelte.d.ts +1 -1
- package/dist/table/index.d.ts +1 -1
- package/dist/table/theme.d.ts +0 -9
- package/dist/tabs/TabItem.svelte +5 -5
- package/dist/tabs/TabItem.svelte.d.ts +1 -1
- package/dist/tabs/Tabs.svelte +6 -6
- package/dist/tabs/Tabs.svelte.d.ts +2 -2
- package/dist/tabs/index.d.ts +1 -1
- package/dist/tabs/theme.d.ts +0 -5
- package/dist/theme/index.d.ts +7 -0
- package/dist/theme/index.js +1 -2
- 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 +11 -11
- package/dist/timeline/ActivityItem.svelte.d.ts +2 -2
- package/dist/timeline/Group.svelte +6 -6
- package/dist/timeline/Group.svelte.d.ts +2 -2
- package/dist/timeline/GroupItem.svelte +11 -11
- package/dist/timeline/GroupItem.svelte.d.ts +2 -2
- package/dist/timeline/Timeline.svelte +1 -1
- package/dist/timeline/Timeline.svelte.d.ts +1 -1
- package/dist/timeline/TimelineItem.svelte +9 -9
- package/dist/timeline/TimelineItem.svelte.d.ts +2 -2
- package/dist/timeline/index.d.ts +1 -1
- package/dist/timeline/theme.d.ts +9 -20
- package/dist/toast/Toast.svelte +6 -6
- package/dist/toast/Toast.svelte.d.ts +1 -1
- package/dist/toast/index.d.ts +1 -1
- package/dist/toast/theme.d.ts +0 -3
- package/dist/toolbar/Toolbar.svelte +4 -4
- package/dist/toolbar/Toolbar.svelte.d.ts +1 -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 +0 -5
- package/dist/tooltip/Tooltip.svelte +1 -1
- package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
- package/dist/tooltip/index.d.ts +1 -1
- package/dist/tooltip/theme.d.ts +0 -3
- package/dist/types.d.ts +4 -5
- 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 +6 -6
- package/dist/typography/hr/Hr.svelte.d.ts +1 -1
- package/dist/typography/hr/index.d.ts +1 -1
- package/dist/typography/hr/theme.d.ts +0 -3
- package/dist/typography/img/EnhancedImg.svelte +7 -7
- package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
- package/dist/typography/img/Img.svelte +6 -6
- package/dist/typography/img/Img.svelte.d.ts +1 -1
- package/dist/typography/img/index.d.ts +1 -1
- package/dist/typography/img/theme.d.ts +0 -3
- 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/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 +10 -10
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
@component
|
|
26
26
|
[Go to docs](https://flowbite-svelte.com/)
|
|
27
27
|
## Type
|
|
28
|
-
[TableBodyCellProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
28
|
+
[TableBodyCellProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1664)
|
|
29
29
|
## Props
|
|
30
30
|
@prop children
|
|
31
31
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { TableBodyCellProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TableBodyCellProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TableBodyCellProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1664)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
@component
|
|
30
30
|
[Go to docs](https://flowbite-svelte.com/)
|
|
31
31
|
## Type
|
|
32
|
-
[TableBodyRowProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
32
|
+
[TableBodyRowProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1656)
|
|
33
33
|
## Props
|
|
34
34
|
@prop children
|
|
35
35
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { TableBodyRowProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TableBodyRowProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TableBodyRowProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1656)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
@component
|
|
53
53
|
[Go to docs](https://flowbite-svelte.com/)
|
|
54
54
|
## Type
|
|
55
|
-
[TableHeadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
55
|
+
[TableHeadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1631)
|
|
56
56
|
## Props
|
|
57
57
|
@prop children
|
|
58
58
|
@prop headerSlot
|
|
@@ -2,7 +2,7 @@ import type { TableHeadProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TableHeadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TableHeadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1631)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop headerSlot
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@component
|
|
20
20
|
[Go to docs](https://flowbite-svelte.com/)
|
|
21
21
|
## Type
|
|
22
|
-
[TableHeadCellProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
22
|
+
[TableHeadCellProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1680)
|
|
23
23
|
## Props
|
|
24
24
|
@prop children
|
|
25
25
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { TableHeadCellProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TableHeadCellProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TableHeadCellProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1680)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { setContext } from "svelte";
|
|
3
3
|
import type { TableSearchProps, TableSearchType } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { tableSearch
|
|
5
|
+
import { tableSearch } from ".";
|
|
6
6
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
7
7
|
|
|
8
8
|
let { children, header, footer, divClass, inputValue = $bindable(), striped = false, hoverable = false, customColor = "", color = "default", innerDivClass, inputClass, searchClass, svgDivClass, svgClass, tableClass, class: className, classes, placeholder = "Search", ...restProps }: TableSearchProps = $props();
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
|
|
28
28
|
const { root, inner, search, svgDiv, svg, input, table } = $derived(tableSearch({ color: themeColor, striped, hoverable }));
|
|
29
29
|
|
|
30
|
-
const tableCls = $derived(table({ class: clsx(tableClass,
|
|
30
|
+
const tableCls = $derived(table({ class: clsx(tableClass, theme?.table, className) }));
|
|
31
31
|
|
|
32
32
|
// Handle custom color
|
|
33
33
|
const finalTableClass = $derived(color === "custom" && customColor ? clsx(tableCls, customColor) : tableCls);
|
|
@@ -41,16 +41,16 @@
|
|
|
41
41
|
setContext("tableCtx", tableSearchCtx);
|
|
42
42
|
</script>
|
|
43
43
|
|
|
44
|
-
<div class={root({ class: clsx(
|
|
45
|
-
<div class={inner({ class: clsx(
|
|
44
|
+
<div class={root({ class: clsx(theme?.root, styling.root) })}>
|
|
45
|
+
<div class={inner({ class: clsx(theme?.inner, styling.inner) })}>
|
|
46
46
|
<label for="table-search" class="sr-only">Search</label>
|
|
47
|
-
<div class={search({ class: clsx(
|
|
48
|
-
<div class={svgDiv({ class: clsx(
|
|
49
|
-
<svg class={svg({ class: clsx(
|
|
47
|
+
<div class={search({ class: clsx(theme?.search, styling.search) })}>
|
|
48
|
+
<div class={svgDiv({ class: clsx(theme?.svgDiv, styling.svgDiv) })}>
|
|
49
|
+
<svg class={svg({ class: clsx(theme?.svg, styling.svg) })} fill="currentColor" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
|
|
50
50
|
<path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd" />
|
|
51
51
|
</svg>
|
|
52
52
|
</div>
|
|
53
|
-
<input bind:value={inputValue} type="text" id="table-search" class={input({ class: clsx(
|
|
53
|
+
<input bind:value={inputValue} type="text" id="table-search" class={input({ class: clsx(theme?.input, styling.input) })} {placeholder} />
|
|
54
54
|
</div>
|
|
55
55
|
{#if header}
|
|
56
56
|
{@render header()}
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
@component
|
|
71
71
|
[Go to docs](https://flowbite-svelte.com/)
|
|
72
72
|
## Type
|
|
73
|
-
[TableSearchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
73
|
+
[TableSearchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1695)
|
|
74
74
|
## Props
|
|
75
75
|
@prop children
|
|
76
76
|
@prop header
|
|
@@ -2,7 +2,7 @@ import type { TableSearchProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TableSearchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TableSearchProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1695)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop header
|
package/dist/table/index.d.ts
CHANGED
|
@@ -5,4 +5,4 @@ export { default as TableBodyRow } from "./TableBodyRow.svelte";
|
|
|
5
5
|
export { default as TableHeadCell } from "./TableHeadCell.svelte";
|
|
6
6
|
export { default as TableHead } from "./TableHead.svelte";
|
|
7
7
|
export { default as TableSearch } from "./TableSearch.svelte";
|
|
8
|
-
export { table, tableBodyRow, tableHead, tableBodyCell, tableHeadCell, tableSearch
|
|
8
|
+
export { table, tableBodyRow, tableHead, tableBodyCell, tableHeadCell, tableSearch } from "./theme";
|
package/dist/table/theme.d.ts
CHANGED
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { ClassValue } from "clsx";
|
|
3
2
|
import type { Classes } from "../theme/themeUtils";
|
|
4
3
|
export type TableVariants = VariantProps<typeof table> & Classes<typeof table>;
|
|
5
4
|
export type TableSearchVariants = Omit<VariantProps<typeof tableSearch>, "color"> & Classes<typeof tableSearch>;
|
|
6
|
-
export type TableSlots = keyof typeof table.slots;
|
|
7
|
-
export type TableTheme = Partial<Record<TableSlots, ClassValue>>;
|
|
8
|
-
export type TableBodyRowTheme = ClassValue;
|
|
9
|
-
export type TableHeadTheme = ClassValue;
|
|
10
|
-
export type TableBodyCellTheme = ClassValue;
|
|
11
|
-
export type TableHeadCellTheme = ClassValue;
|
|
12
|
-
export type TableSearchSlots = keyof typeof tableSearch.slots;
|
|
13
|
-
export type TableSearchTheme = Partial<Record<TableSearchSlots, ClassValue>>;
|
|
14
5
|
export type TableSearchColor = "default" | "blue" | "green" | "red" | "yellow" | "purple" | "indigo" | "pink" | "custom" | undefined;
|
|
15
6
|
export declare const table: import("tailwind-variants").TVReturnType<{
|
|
16
7
|
color: {
|
package/dist/tabs/TabItem.svelte
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { getContext } from "svelte";
|
|
3
3
|
import { writable } from "svelte/store";
|
|
4
|
-
import { tabItem, tabs
|
|
4
|
+
import { tabItem, tabs } from ".";
|
|
5
5
|
import clsx from "clsx";
|
|
6
6
|
import { type TabitemProps, type TabCtxType } from "..";
|
|
7
7
|
import { getTheme } from "../theme/themeUtils";
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
const { base, button, content } = $derived(tabItem({ open, disabled }));
|
|
34
34
|
</script>
|
|
35
35
|
|
|
36
|
-
<li {...restProps} class={base({ class: clsx(
|
|
37
|
-
<button type="button" onclick={() => (open = true)} role="tab" id={tabId} aria-controls={ctx.panelId} aria-selected={open} {disabled} class={button({ class: clsx(open ? (activeClass ?? active()) : (inactiveClass ?? inactive()),
|
|
36
|
+
<li {...restProps} class={base({ class: clsx(theme?.base, className) })} role="presentation">
|
|
37
|
+
<button type="button" onclick={() => (open = true)} role="tab" id={tabId} aria-controls={ctx.panelId} aria-selected={open} {disabled} class={button({ class: clsx(open ? (activeClass ?? active()) : (inactiveClass ?? inactive()), theme?.button, classes?.button) })}>
|
|
38
38
|
{#if titleSlot}
|
|
39
39
|
{@render titleSlot()}
|
|
40
40
|
{:else}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
</button>
|
|
44
44
|
|
|
45
45
|
{#if open && children}
|
|
46
|
-
<div class={content({ class: clsx(
|
|
46
|
+
<div class={content({ class: clsx(theme?.content, classes?.content) })}>
|
|
47
47
|
<div use:init>
|
|
48
48
|
{@render children()}
|
|
49
49
|
</div>
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
@component
|
|
56
56
|
[Go to docs](https://flowbite-svelte.com/)
|
|
57
57
|
## Type
|
|
58
|
-
[TabitemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
58
|
+
[TabitemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1723)
|
|
59
59
|
## Props
|
|
60
60
|
@prop children
|
|
61
61
|
@prop titleSlot
|
|
@@ -2,7 +2,7 @@ import { type TabitemProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TabitemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TabitemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1723)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop titleSlot
|
package/dist/tabs/Tabs.svelte
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { writable } from "svelte/store";
|
|
4
4
|
import { setContext } from "svelte";
|
|
5
|
-
import { tabs
|
|
5
|
+
import { tabs } from ".";
|
|
6
6
|
import type { TabsProps, TabCtxType } from "../types";
|
|
7
7
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
8
8
|
|
|
@@ -39,26 +39,26 @@
|
|
|
39
39
|
}
|
|
40
40
|
</script>
|
|
41
41
|
|
|
42
|
-
<ul role="tablist" {...restProps} class={base({ class: clsx(
|
|
42
|
+
<ul role="tablist" {...restProps} class={base({ class: clsx(theme?.base, className ?? ulClass) })}>
|
|
43
43
|
{@render children()}
|
|
44
44
|
</ul>
|
|
45
45
|
{#if dividerBool}
|
|
46
|
-
<div class={dividerClass({ class: clsx(
|
|
46
|
+
<div class={dividerClass({ class: clsx(theme?.divider, classes?.divider) })}></div>
|
|
47
47
|
{/if}
|
|
48
|
-
<div id={panelId} class={content({ class: clsx(
|
|
48
|
+
<div id={panelId} class={content({ class: clsx(theme?.content, styling.content) })} role="tabpanel" aria-labelledby={panelId} use:init></div>
|
|
49
49
|
|
|
50
50
|
<!--
|
|
51
51
|
@component
|
|
52
52
|
[Go to docs](https://flowbite-svelte.com/)
|
|
53
53
|
## Type
|
|
54
|
-
[TabsProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
54
|
+
[TabsProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1715)
|
|
55
55
|
## Props
|
|
56
56
|
@prop children
|
|
57
57
|
@prop tabStyle = "none"
|
|
58
58
|
@prop ulClass
|
|
59
59
|
@prop contentClass
|
|
60
60
|
@prop divider = true
|
|
61
|
-
@prop class:className
|
|
61
|
+
@prop class: className
|
|
62
62
|
@prop classes
|
|
63
63
|
@prop ...restProps
|
|
64
64
|
-->
|
|
@@ -2,14 +2,14 @@ import type { TabsProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TabsProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TabsProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1715)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop tabStyle = "none"
|
|
9
9
|
* @prop ulClass
|
|
10
10
|
* @prop contentClass
|
|
11
11
|
* @prop divider = true
|
|
12
|
-
* @prop class:className
|
|
12
|
+
* @prop class: className
|
|
13
13
|
* @prop classes
|
|
14
14
|
* @prop ...restProps
|
|
15
15
|
*/
|
package/dist/tabs/index.d.ts
CHANGED
package/dist/tabs/theme.d.ts
CHANGED
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { ClassValue } from "svelte/elements";
|
|
3
2
|
import type { Classes } from "../theme/themeUtils";
|
|
4
3
|
export type TabsVaraints = VariantProps<typeof tabs> & Classes<typeof tabs>;
|
|
5
4
|
export type TabItemVariants = VariantProps<typeof tabItem> & Classes<typeof tabItem>;
|
|
6
|
-
export type TabsSlots = keyof typeof tabs.slots;
|
|
7
|
-
export type TabsTheme = Partial<Record<TabsSlots, ClassValue>>;
|
|
8
|
-
export type TabItemSlots = keyof typeof tabItem.slots;
|
|
9
|
-
export type TabItemTheme = Partial<Record<TabItemSlots, ClassValue>>;
|
|
10
5
|
export declare const tabs: import("tailwind-variants").TVReturnType<{
|
|
11
6
|
tabStyle: {
|
|
12
7
|
full: {
|
package/dist/theme/index.d.ts
CHANGED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { ClassValue } from "clsx";
|
|
2
|
+
import * as themes from "./themes";
|
|
3
|
+
export type ThemeConfig = {
|
|
4
|
+
[K in keyof typeof themes]?: (typeof themes)[K]["slots"] extends undefined ? ClassValue : Partial<{
|
|
5
|
+
[L in keyof (typeof themes)[K]["slots"]]: ClassValue;
|
|
6
|
+
}>;
|
|
7
|
+
};
|
package/dist/theme/index.js
CHANGED
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
// export {getTheme} from './themeUtils'
|
|
1
|
+
import * as themes from "./themes";
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export { accordion, accordionItem } from "../accordion";
|
|
2
|
+
export { alert } from "../alert";
|
|
3
|
+
export { avatar } from "../avatar";
|
|
4
|
+
export { badge } from "../badge";
|
|
5
|
+
export { banner } from "../banner";
|
|
6
|
+
export { bottomNav, bottomNavHeader, bottomNavHeaderItem, bottomNavItem } from "../bottom-navigation";
|
|
7
|
+
export { breadcrumb, breadcrumbItem } from "../breadcrumb";
|
|
8
|
+
export { buttonGroup } from "../button-group";
|
|
9
|
+
export { button, gradientButton } from "../buttons";
|
|
10
|
+
export { card } from "../card";
|
|
11
|
+
export { carousel, carouselIndicators, controlButton, slide, thumbnail, thumbnails } from "../carousel";
|
|
12
|
+
export { clipboard } from "../clipboard";
|
|
13
|
+
export { darkmode } from "../darkmode";
|
|
14
|
+
export { datepicker } from "../datepicker";
|
|
15
|
+
export { android, desktop, ios, tablet } from "../device-mockups";
|
|
16
|
+
export { drawer } from "../drawer";
|
|
17
|
+
export { dropdown, dropdownDivider, dropdownGroup, dropdownHeader, dropdownItem } from "../dropdown";
|
|
18
|
+
export { footer, footerBrand, footerCopyright, footerIcon, footerLink, footerLinkGroup } from "../footer";
|
|
19
|
+
export { gallery } from "../gallery";
|
|
20
|
+
export { indicator } from "../indicator";
|
|
21
|
+
export { kbd } from "../kbd";
|
|
22
|
+
export { listGroup, listGroupItem } from "../list-group";
|
|
23
|
+
export { megamenu } from "../mega-menu";
|
|
24
|
+
export { modal } from "../modal";
|
|
25
|
+
export { navbar, navbarBrand, navbarHamburger, navbarLi, navbarUl, navbarContainer } from "../navbar";
|
|
26
|
+
export { pagination, paginationButton, paginationItem, paginationNav } from "../pagination";
|
|
27
|
+
export { popover } from "../popover";
|
|
28
|
+
export { progressbar, progressradial } from "../progress";
|
|
29
|
+
export { advancedRating, rating, review, scoreRating } from "../rating";
|
|
30
|
+
export { sidebar, sidebarBrand, sidebarButton, sidebarCta, sidebarDropdownWrapper } from "../sidebar";
|
|
31
|
+
export { cardPlaceholder, imagePlaceholder, listPlaceholder, skeleton, testimonialPlaceholder, textPlaceholder, videoPlaceholder, widgetPlaceholder } from "../skeleton";
|
|
32
|
+
export { speedDial, speedDialButton } from "../speed-dial";
|
|
33
|
+
export { spinner } from "../spinner";
|
|
34
|
+
export { stepIndicator } from "../stepindicator";
|
|
35
|
+
export { stepper, progressStepper, verticalStepper, detailedStepper, breadcrumbStepper, timelineStepper } from "../stepper";
|
|
36
|
+
export { table, tableBodyCell, tableBodyRow, tableHead, tableHeadCell, tableSearch } from "../table";
|
|
37
|
+
export { tabs, tabItem } from "../tabs";
|
|
38
|
+
export { timeline, activity, activityItem, group, groupItem, timelineItem } from "../timeline";
|
|
39
|
+
export { toast } from "../toast";
|
|
40
|
+
export { toolbar, toolbarButton, toolbarGroup } from "../toolbar";
|
|
41
|
+
export { tooltip } from "../tooltip";
|
|
42
|
+
export { buttonToggle, buttonToggleGroup } from "../forms/button-toggle";
|
|
43
|
+
export { checkbox, checkboxButton } from "../forms/checkbox";
|
|
44
|
+
export { dropzone } from "../forms/dropzone";
|
|
45
|
+
export { fileupload } from "../forms/fileupload";
|
|
46
|
+
export { floatingLabelInput } from "../forms/floating-label";
|
|
47
|
+
export { helper } from "../forms/helper";
|
|
48
|
+
export { input } from "../forms/input-field";
|
|
49
|
+
export { label } from "../forms/label";
|
|
50
|
+
export { phoneInput } from "../forms/phoneinput";
|
|
51
|
+
export { radio, radioButton } from "../forms/radio";
|
|
52
|
+
export { range } from "../forms/range";
|
|
53
|
+
export { search } from "../forms/search";
|
|
54
|
+
export { select, multiSelect } from "../forms/select";
|
|
55
|
+
export { tags } from "../forms/tags";
|
|
56
|
+
export { textarea } from "../forms/textarea";
|
|
57
|
+
export { timepicker } from "../forms/timepicker";
|
|
58
|
+
export { toggle } from "../forms/toggle";
|
|
59
|
+
export { anchor } from "../typography/anchor";
|
|
60
|
+
export { blockquote } from "../typography/blockquote";
|
|
61
|
+
export { descriptionList } from "../typography/descriptionlist";
|
|
62
|
+
export { heading } from "../typography/heading";
|
|
63
|
+
export { hr } from "../typography/hr";
|
|
64
|
+
export { img } from "../typography/img";
|
|
65
|
+
export { layout } from "../typography/layout";
|
|
66
|
+
export { list } from "../typography/list";
|
|
67
|
+
export { mark } from "../typography/mark";
|
|
68
|
+
export { paragraph } from "../typography/paragraph";
|
|
69
|
+
export { secondary } from "../typography/secondary";
|
|
70
|
+
export { span } from "../typography/span";
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
export { accordion, accordionItem } from "../accordion";
|
|
2
|
+
export { alert } from "../alert";
|
|
3
|
+
export { avatar } from "../avatar";
|
|
4
|
+
export { badge } from "../badge";
|
|
5
|
+
export { banner } from "../banner";
|
|
6
|
+
export { bottomNav, bottomNavHeader, bottomNavHeaderItem, bottomNavItem } from "../bottom-navigation";
|
|
7
|
+
export { breadcrumb, breadcrumbItem } from "../breadcrumb";
|
|
8
|
+
export { buttonGroup } from "../button-group";
|
|
9
|
+
export { button, gradientButton } from "../buttons";
|
|
10
|
+
export { card } from "../card";
|
|
11
|
+
export { carousel, carouselIndicators, controlButton, slide, thumbnail, thumbnails } from "../carousel";
|
|
12
|
+
export { clipboard } from "../clipboard";
|
|
13
|
+
export { darkmode } from "../darkmode";
|
|
14
|
+
export { datepicker } from "../datepicker";
|
|
15
|
+
export { android, desktop, ios, tablet } from "../device-mockups";
|
|
16
|
+
export { drawer } from "../drawer";
|
|
17
|
+
export { dropdown, dropdownDivider, dropdownGroup, dropdownHeader, dropdownItem } from "../dropdown";
|
|
18
|
+
export { footer, footerBrand, footerCopyright, footerIcon, footerLink, footerLinkGroup } from "../footer";
|
|
19
|
+
export { gallery } from "../gallery";
|
|
20
|
+
export { indicator } from "../indicator";
|
|
21
|
+
export { kbd } from "../kbd";
|
|
22
|
+
export { listGroup, listGroupItem } from "../list-group";
|
|
23
|
+
export { megamenu } from "../mega-menu";
|
|
24
|
+
export { modal } from "../modal";
|
|
25
|
+
export { navbar, navbarBrand, navbarHamburger, navbarLi, navbarUl, navbarContainer } from "../navbar";
|
|
26
|
+
export { pagination, paginationButton, paginationItem, paginationNav } from "../pagination";
|
|
27
|
+
export { popover } from "../popover";
|
|
28
|
+
export { progressbar, progressradial } from "../progress";
|
|
29
|
+
export { advancedRating, rating, review, scoreRating } from "../rating";
|
|
30
|
+
export { sidebar, sidebarBrand, sidebarButton, sidebarCta, sidebarDropdownWrapper } from "../sidebar";
|
|
31
|
+
export { cardPlaceholder, imagePlaceholder, listPlaceholder, skeleton, testimonialPlaceholder, textPlaceholder, videoPlaceholder, widgetPlaceholder } from "../skeleton";
|
|
32
|
+
export { speedDial, speedDialButton } from "../speed-dial";
|
|
33
|
+
export { spinner } from "../spinner";
|
|
34
|
+
export { stepIndicator } from "../stepindicator";
|
|
35
|
+
export { stepper, progressStepper, verticalStepper, detailedStepper, breadcrumbStepper, timelineStepper } from "../stepper";
|
|
36
|
+
export { table, tableBodyCell, tableBodyRow, tableHead, tableHeadCell, tableSearch } from "../table";
|
|
37
|
+
export { tabs, tabItem } from "../tabs";
|
|
38
|
+
export { timeline, activity, activityItem, group, groupItem, timelineItem } from "../timeline";
|
|
39
|
+
export { toast } from "../toast";
|
|
40
|
+
export { toolbar, toolbarButton, toolbarGroup } from "../toolbar";
|
|
41
|
+
export { tooltip } from "../tooltip";
|
|
42
|
+
// export {utils} from "../utils";
|
|
43
|
+
// export {} from "../video";
|
|
44
|
+
// forms
|
|
45
|
+
// export {addon} from "../forms/input-addon";
|
|
46
|
+
export { buttonToggle, buttonToggleGroup } from "../forms/button-toggle";
|
|
47
|
+
export { checkbox, checkboxButton } from "../forms/checkbox";
|
|
48
|
+
export { dropzone } from "../forms/dropzone";
|
|
49
|
+
export { fileupload } from "../forms/fileupload";
|
|
50
|
+
export { floatingLabelInput } from "../forms/floating-label";
|
|
51
|
+
export { helper } from "../forms/helper";
|
|
52
|
+
export { input } from "../forms/input-field";
|
|
53
|
+
export { label } from "../forms/label";
|
|
54
|
+
export { phoneInput } from "../forms/phoneinput";
|
|
55
|
+
export { radio, radioButton } from "../forms/radio";
|
|
56
|
+
export { range } from "../forms/range";
|
|
57
|
+
export { search } from "../forms/search";
|
|
58
|
+
export { select, multiSelect } from "../forms/select";
|
|
59
|
+
export { tags } from "../forms/tags";
|
|
60
|
+
export { textarea } from "../forms/textarea";
|
|
61
|
+
export { timepicker } from "../forms/timepicker";
|
|
62
|
+
export { toggle } from "../forms/toggle";
|
|
63
|
+
// typography
|
|
64
|
+
export { anchor } from "../typography/anchor";
|
|
65
|
+
export { blockquote } from "../typography/blockquote";
|
|
66
|
+
export { descriptionList } from "../typography/descriptionlist";
|
|
67
|
+
export { heading } from "../typography/heading";
|
|
68
|
+
export { hr } from "../typography/hr";
|
|
69
|
+
export { img } from "../typography/img";
|
|
70
|
+
export { layout } from "../typography/layout";
|
|
71
|
+
export { list } from "../typography/list";
|
|
72
|
+
export { mark } from "../typography/mark";
|
|
73
|
+
export { paragraph } from "../typography/paragraph";
|
|
74
|
+
export { secondary } from "../typography/secondary";
|
|
75
|
+
export { span } from "../typography/span";
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[ActivityProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[ActivityProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1758)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { ActivityProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ActivityProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ActivityProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1758)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { activityItem
|
|
2
|
+
import { activityItem } from "./index";
|
|
3
3
|
import type { ActivityItemProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
@@ -38,19 +38,19 @@
|
|
|
38
38
|
</script>
|
|
39
39
|
|
|
40
40
|
{#each activities as { title: name, date, src, alt, text: activity }}
|
|
41
|
-
<li {...restProps} class={li({ class: clsx(
|
|
42
|
-
<span class={span({ class: clsx(
|
|
43
|
-
<img class={img({ class: clsx(
|
|
41
|
+
<li {...restProps} class={li({ class: clsx(theme?.li, className ?? liClass) })}>
|
|
42
|
+
<span class={span({ class: clsx(theme?.span, styling.span) })}>
|
|
43
|
+
<img class={img({ class: clsx(theme?.img, styling.img) })} {src} {alt} />
|
|
44
44
|
</span>
|
|
45
|
-
<div class={outer({ class: clsx(
|
|
46
|
-
<div class={inner({ class: clsx(
|
|
47
|
-
<time class={time({ class: clsx(
|
|
48
|
-
<div class={title({ class: clsx(
|
|
45
|
+
<div class={outer({ class: clsx(theme?.outer, styling.outer) })}>
|
|
46
|
+
<div class={inner({ class: clsx(theme?.inner, styling.inner) })}>
|
|
47
|
+
<time class={time({ class: clsx(theme?.time, styling.time) })}>{date}</time>
|
|
48
|
+
<div class={title({ class: clsx(theme?.title, styling.title) })}>
|
|
49
49
|
{@html name}
|
|
50
50
|
</div>
|
|
51
51
|
</div>
|
|
52
52
|
{#if activity}
|
|
53
|
-
<div class={text({ class: clsx(
|
|
53
|
+
<div class={text({ class: clsx(theme?.text, styling.text) })}>
|
|
54
54
|
{@html activity}
|
|
55
55
|
</div>
|
|
56
56
|
{/if}
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
@component
|
|
63
63
|
[Go to docs](https://flowbite-svelte.com/)
|
|
64
64
|
## Type
|
|
65
|
-
[ActivityItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
65
|
+
[ActivityItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1762)
|
|
66
66
|
## Props
|
|
67
67
|
@prop activities
|
|
68
68
|
@prop liClass
|
|
@@ -73,7 +73,7 @@
|
|
|
73
73
|
@prop timeClass
|
|
74
74
|
@prop titleClass
|
|
75
75
|
@prop textClass
|
|
76
|
-
@prop class:className
|
|
76
|
+
@prop class: className
|
|
77
77
|
@prop classes
|
|
78
78
|
@prop ...restProps
|
|
79
79
|
-->
|
|
@@ -2,7 +2,7 @@ import type { ActivityItemProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ActivityItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ActivityItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1762)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop activities
|
|
8
8
|
* @prop liClass
|
|
@@ -13,7 +13,7 @@ import type { ActivityItemProps } from "../types";
|
|
|
13
13
|
* @prop timeClass
|
|
14
14
|
* @prop titleClass
|
|
15
15
|
* @prop textClass
|
|
16
|
-
* @prop class:className
|
|
16
|
+
* @prop class: className
|
|
17
17
|
* @prop classes
|
|
18
18
|
* @prop ...restProps
|
|
19
19
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
-
import { group
|
|
2
|
+
import { group } from ".";
|
|
3
3
|
import type { GroupProps } from "../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
5
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
const { div, time, ol } = $derived(group());
|
|
26
26
|
</script>
|
|
27
27
|
|
|
28
|
-
<div class={div({ class: clsx(
|
|
29
|
-
<time class={time({ class: clsx(
|
|
30
|
-
<ol {...restProps} class={ol({ class: clsx(
|
|
28
|
+
<div class={div({ class: clsx(theme?.div, className ?? divClass) })}>
|
|
29
|
+
<time class={time({ class: clsx(theme?.time, styling.time) })}>{date}</time>
|
|
30
|
+
<ol {...restProps} class={ol({ class: clsx(theme?.ol, styling.ol) })}>
|
|
31
31
|
{@render children()}
|
|
32
32
|
</ol>
|
|
33
33
|
</div>
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
@component
|
|
37
37
|
[Go to docs](https://flowbite-svelte.com/)
|
|
38
38
|
## Type
|
|
39
|
-
[GroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
39
|
+
[GroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1774)
|
|
40
40
|
## Props
|
|
41
41
|
@prop children
|
|
42
42
|
@prop divClass
|
|
43
43
|
@prop timeClass
|
|
44
44
|
@prop date
|
|
45
45
|
@prop olClass
|
|
46
|
-
@prop class:className
|
|
46
|
+
@prop class: className
|
|
47
47
|
@prop classes
|
|
48
48
|
@prop ...restProps
|
|
49
49
|
-->
|
|
@@ -2,14 +2,14 @@ import type { GroupProps } from "../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [GroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [GroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1774)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop divClass
|
|
9
9
|
* @prop timeClass
|
|
10
10
|
* @prop date
|
|
11
11
|
* @prop olClass
|
|
12
|
-
* @prop class:className
|
|
12
|
+
* @prop class: className
|
|
13
13
|
* @prop classes
|
|
14
14
|
* @prop ...restProps
|
|
15
15
|
*/
|