flowbite-svelte 2.0.0-next.2 → 2.0.0-next.4
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 +8 -4
- package/dist/accordion/Accordion.svelte.d.ts +2 -1
- package/dist/accordion/AccordionItem.svelte +20 -11
- package/dist/accordion/AccordionItem.svelte.d.ts +1 -1
- package/dist/accordion/theme.d.ts +4 -4
- package/dist/accordion/theme.js +1 -1
- package/dist/alert/Alert.svelte +24 -7
- package/dist/alert/Alert.svelte.d.ts +2 -2
- package/dist/alert/theme.d.ts +6 -66
- package/dist/alert/theme.js +6 -27
- package/dist/avatar/Avatar.svelte +4 -4
- package/dist/avatar/Avatar.svelte.d.ts +1 -1
- package/dist/badge/Badge.svelte +27 -9
- package/dist/badge/Badge.svelte.d.ts +2 -2
- package/dist/badge/theme.d.ts +4 -175
- package/dist/badge/theme.js +2 -164
- package/dist/banner/Banner.svelte +25 -8
- package/dist/banner/Banner.svelte.d.ts +2 -2
- package/dist/banner/theme.d.ts +4 -4
- package/dist/banner/theme.js +1 -1
- package/dist/bottom-navigation/BottomNav.svelte +6 -6
- package/dist/bottom-navigation/BottomNav.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavHeader.svelte +5 -5
- package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte +3 -3
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavItem.svelte +9 -20
- package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +1 -4
- package/dist/bottom-navigation/theme.d.ts +10 -10
- package/dist/bottom-navigation/theme.js +2 -2
- package/dist/breadcrumb/Breadcrumb.svelte +6 -6
- package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.svelte +17 -8
- package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
- package/dist/breadcrumb/theme.d.ts +7 -7
- package/dist/breadcrumb/theme.js +2 -2
- package/dist/button-group/ButtonGroup.svelte +3 -3
- package/dist/button-group/ButtonGroup.svelte.d.ts +1 -1
- package/dist/buttons/Button.svelte +5 -5
- package/dist/buttons/GradientButton.svelte +2 -2
- package/dist/buttons/GradientButton.svelte.d.ts +1 -1
- package/dist/buttons/theme.d.ts +21 -288
- package/dist/buttons/theme.js +31 -109
- package/dist/card/Card.svelte +5 -4
- package/dist/card/Card.svelte.d.ts +1 -1
- package/dist/card/theme.d.ts +9 -1
- package/dist/card/theme.js +8 -0
- package/dist/carousel/Carousel.svelte +5 -3
- package/dist/carousel/Carousel.svelte.d.ts +1 -1
- package/dist/carousel/CarouselIndicators.svelte +5 -5
- package/dist/carousel/CarouselIndicators.svelte.d.ts +1 -1
- package/dist/carousel/ControlButton.svelte +6 -6
- 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 +10 -6
- 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 +50 -1
- package/dist/carousel/theme.js +49 -0
- package/dist/clipboard/Clipboard.svelte +3 -3
- package/dist/clipboard/Clipboard.svelte.d.ts +1 -1
- package/dist/context.d.ts +1 -1
- package/dist/darkmode/DarkMode.svelte +11 -6
- package/dist/darkmode/DarkMode.svelte.d.ts +2 -1
- package/dist/darkmode/theme.d.ts +34 -1
- package/dist/darkmode/theme.js +4 -1
- package/dist/datepicker/Datepicker.svelte +32 -18
- package/dist/datepicker/theme.d.ts +16 -256
- package/dist/datepicker/theme.js +6 -27
- package/dist/device-mockups/Android.svelte +9 -9
- package/dist/device-mockups/Android.svelte.d.ts +1 -1
- package/dist/device-mockups/DefaultMockup.svelte +8 -8
- package/dist/device-mockups/DefaultMockup.svelte.d.ts +1 -1
- package/dist/device-mockups/Desktop.svelte +6 -6
- 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 +8 -8
- package/dist/device-mockups/Ios.svelte.d.ts +1 -1
- package/dist/device-mockups/Laptop.svelte +6 -6
- package/dist/device-mockups/Laptop.svelte.d.ts +1 -1
- package/dist/device-mockups/Smartwatch.svelte +8 -8
- package/dist/device-mockups/Smartwatch.svelte.d.ts +1 -1
- package/dist/device-mockups/Tablet.svelte +8 -8
- package/dist/device-mockups/Tablet.svelte.d.ts +1 -1
- package/dist/device-mockups/theme.d.ts +1 -1
- package/dist/dialog/Dialog.svelte +27 -4
- package/dist/dialog/Dialog.svelte.d.ts +2 -1
- package/dist/dialog/theme.d.ts +1 -1
- package/dist/drawer/Drawer.svelte +10 -3
- package/dist/drawer/Drawer.svelte.d.ts +1 -1
- package/dist/drawer/DrawerHandle.svelte +4 -4
- package/dist/drawer/DrawerHandle.svelte.d.ts +1 -1
- package/dist/drawer/Drawerhead.svelte +5 -5
- package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
- package/dist/drawer/theme.d.ts +1 -1
- package/dist/drawer/theme.js +1 -1
- package/dist/dropdown/Dropdown.svelte +2 -2
- package/dist/dropdown/Dropdown.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownDivider.svelte +2 -2
- package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownGroup.svelte +2 -2
- package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownHeader.svelte +2 -2
- package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownItem.svelte +2 -2
- package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
- package/dist/dropdown/theme.d.ts +1 -1
- package/dist/{forms → extend}/button-toggle/ButtonToggle.svelte +2 -2
- package/dist/{forms → extend}/button-toggle/ButtonToggle.svelte.d.ts +1 -1
- package/dist/{forms → extend}/button-toggle/ButtonToggleGroup.svelte +1 -1
- package/dist/{forms → extend}/button-toggle/CheckIcon.svelte +1 -1
- package/dist/{forms → extend}/button-toggle/CheckIcon.svelte.d.ts +1 -1
- package/dist/{forms → extend}/button-toggle/theme.d.ts +1 -1
- package/dist/{clipboard-manager → extend/clipboard-manager}/ClipboardManager.svelte +4 -4
- package/dist/{clipboard-manager → extend/clipboard-manager}/ClipboardManager.svelte.d.ts +1 -1
- package/dist/{clipboard-manager → extend/clipboard-manager}/theme.d.ts +1 -1
- package/dist/{command-palette → extend/command-palette}/CommandPalette.svelte +5 -5
- package/dist/{command-palette → extend/command-palette}/CommandPalette.svelte.d.ts +2 -2
- package/dist/{command-palette → extend/command-palette}/theme.d.ts +1 -1
- package/dist/{kanban → extend/kanban}/KanbanBoard.svelte +2 -2
- package/dist/{kanban → extend/kanban}/KanbanBoard.svelte.d.ts +1 -1
- package/dist/{kanban → extend/kanban}/KanbanCard.svelte +3 -3
- package/dist/{kanban → extend/kanban}/KanbanCard.svelte.d.ts +2 -2
- package/dist/{kanban → extend/kanban}/theme.d.ts +1 -1
- package/dist/{scroll-spy → extend/scroll-spy}/ScrollSpy.svelte +3 -3
- package/dist/{scroll-spy → extend/scroll-spy}/ScrollSpy.svelte.d.ts +2 -2
- package/dist/{scroll-spy → extend/scroll-spy}/theme.d.ts +1 -1
- package/dist/{split-pane → extend/split-pane}/Divider.svelte +4 -4
- package/dist/{split-pane → extend/split-pane}/Divider.svelte.d.ts +2 -2
- package/dist/{split-pane → extend/split-pane}/Pane.svelte +4 -4
- package/dist/{split-pane → extend/split-pane}/Pane.svelte.d.ts +2 -2
- package/dist/{split-pane → extend/split-pane}/SplitPane.svelte +4 -4
- package/dist/{split-pane → extend/split-pane}/SplitPane.svelte.d.ts +2 -2
- package/dist/{step-indicator → extend/step-indicator}/StepIndicator.svelte +3 -3
- package/dist/{step-indicator → extend/step-indicator}/StepIndicator.svelte.d.ts +2 -2
- package/dist/{step-indicator → extend/step-indicator}/theme.d.ts +1 -1
- package/dist/{forms → extend}/tags/Tags.svelte +14 -4
- package/dist/{forms → extend}/tags/Tags.svelte.d.ts +0 -1
- package/dist/{forms → extend}/tags/theme.d.ts +1 -1
- package/dist/{forms → extend}/tags/theme.js +2 -2
- package/dist/{tour → extend/tour}/Tour.svelte +2 -2
- package/dist/{tour → extend/tour}/Tour.svelte.d.ts +1 -1
- package/dist/{tour → extend/tour}/theme.d.ts +1 -1
- package/dist/{virtual-masonry → extend/virtual-masonry}/VirtualMasonry.svelte +2 -2
- package/dist/{virtual-masonry → extend/virtual-masonry}/VirtualMasonry.svelte.d.ts +1 -1
- package/dist/{virtual-masonry → extend/virtual-masonry}/theme.d.ts +1 -1
- package/dist/{virtuallist → extend/virtuallist}/VirtualList.svelte +2 -2
- package/dist/{virtuallist → extend/virtuallist}/VirtualList.svelte.d.ts +1 -1
- package/dist/{virtuallist → extend/virtuallist}/theme.d.ts +1 -1
- package/dist/footer/Footer.svelte +2 -2
- package/dist/footer/Footer.svelte.d.ts +1 -1
- package/dist/footer/FooterBrand.svelte +2 -2
- package/dist/footer/FooterBrand.svelte.d.ts +1 -1
- package/dist/footer/FooterCopyright.svelte +2 -2
- package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
- package/dist/footer/FooterIcon.svelte +2 -2
- package/dist/footer/FooterIcon.svelte.d.ts +1 -1
- package/dist/footer/FooterLink.svelte +2 -2
- package/dist/footer/FooterLink.svelte.d.ts +1 -1
- package/dist/footer/FooterLinkGroup.svelte +2 -2
- package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
- package/dist/footer/theme.d.ts +4 -4
- package/dist/forms/checkbox/Checkbox.svelte +1 -1
- package/dist/forms/checkbox/CheckboxButton.svelte +2 -2
- package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
- package/dist/forms/checkbox/theme.d.ts +1 -1
- package/dist/forms/dropzone/Dropzone.svelte +2 -2
- package/dist/forms/dropzone/Dropzone.svelte.d.ts +1 -1
- package/dist/forms/fileupload/Fileupload.svelte +15 -5
- package/dist/forms/fileupload/Fileupload.svelte.d.ts +2 -2
- package/dist/forms/fileupload/theme.d.ts +1 -1
- package/dist/forms/floating-label/FloatingLabelInput.svelte +15 -5
- package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +2 -2
- package/dist/forms/floating-label/theme.d.ts +1 -1
- package/dist/forms/helper/Helper.svelte +2 -2
- package/dist/forms/helper/Helper.svelte.d.ts +1 -1
- package/dist/forms/helper/theme.d.ts +6 -0
- package/dist/forms/helper/theme.js +2 -0
- package/dist/forms/input-addon/InputAddon.svelte +2 -2
- package/dist/forms/input-addon/InputAddon.svelte.d.ts +1 -1
- package/dist/forms/input-addon/theme.d.ts +1 -1
- package/dist/forms/input-field/Input.svelte +13 -3
- package/dist/forms/input-field/theme.d.ts +1 -1
- package/dist/forms/label/Label.svelte +2 -2
- package/dist/forms/label/Label.svelte.d.ts +1 -1
- package/dist/forms/phoneinput/PhoneInput.svelte +26 -4
- package/dist/forms/phoneinput/PhoneInput.svelte.d.ts +17 -1
- package/dist/forms/phoneinput/theme.d.ts +1 -1
- package/dist/forms/radio/Radio.svelte +1 -1
- package/dist/forms/radio/RadioButton.svelte +1 -1
- package/dist/forms/radio/theme.d.ts +1 -28
- package/dist/forms/radio/theme.js +1 -10
- package/dist/forms/range/Range.svelte +3 -3
- package/dist/forms/range/Range.svelte.d.ts +1 -1
- package/dist/forms/search/Search.svelte +20 -10
- package/dist/forms/search/Search.svelte.d.ts +2 -2
- package/dist/forms/search/theme.d.ts +1 -1
- package/dist/forms/select/MultiSelect.svelte +14 -2
- package/dist/forms/select/Select.svelte +14 -3
- package/dist/forms/select/theme.d.ts +1 -1
- package/dist/forms/textarea/Textarea.svelte +15 -5
- package/dist/forms/textarea/Textarea.svelte.d.ts +2 -2
- package/dist/forms/textarea/theme.d.ts +1 -1
- package/dist/forms/timepicker/Timepicker.svelte +5 -5
- package/dist/forms/timepicker/Timepicker.svelte.d.ts +2 -2
- package/dist/forms/timepicker/theme.d.ts +1 -1
- package/dist/forms/toggle/Toggle.svelte +2 -2
- package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
- package/dist/forms/toggle/theme.d.ts +1 -1
- package/dist/gallery/Gallery.svelte +2 -2
- package/dist/gallery/Gallery.svelte.d.ts +1 -1
- package/dist/gallery/theme.d.ts +1 -1
- package/dist/index.d.ts +14 -13
- package/dist/index.js +14 -13
- package/dist/indicator/Indicator.svelte +2 -2
- package/dist/indicator/Indicator.svelte.d.ts +1 -1
- package/dist/kbd/Kbd.svelte +2 -2
- package/dist/kbd/Kbd.svelte.d.ts +1 -1
- package/dist/list-group/Listgroup.svelte +2 -2
- 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/theme.d.ts +1 -1
- package/dist/mega-menu/MegaMenu.svelte +2 -2
- package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
- package/dist/mega-menu/theme.d.ts +1 -1
- package/dist/modal/Modal.svelte +25 -5
- package/dist/modal/Modal.svelte.d.ts +2 -1
- package/dist/modal/theme.d.ts +1 -1
- package/dist/navbar/Menu.svelte +1 -1
- 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 +2 -2
- package/dist/navbar/NavHamburger.svelte.d.ts +2 -2
- package/dist/navbar/NavLi.svelte +2 -2
- package/dist/navbar/NavLi.svelte.d.ts +1 -1
- package/dist/navbar/NavUl.svelte +2 -2
- package/dist/navbar/NavUl.svelte.d.ts +1 -1
- package/dist/navbar/Navbar.svelte +2 -2
- package/dist/navbar/Navbar.svelte.d.ts +1 -1
- package/dist/navbar/theme.d.ts +1 -1
- package/dist/pagination/Pagination.svelte +2 -2
- package/dist/pagination/Pagination.svelte.d.ts +1 -1
- package/dist/pagination/PaginationButton.svelte +2 -2
- 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 +2 -2
- package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
- package/dist/pagination/theme.d.ts +1 -1
- package/dist/popover/Popover.svelte +2 -2
- package/dist/popover/Popover.svelte.d.ts +1 -1
- package/dist/popover/theme.d.ts +1 -1
- package/dist/progress/Progressbar.svelte +2 -2
- package/dist/progress/Progressbar.svelte.d.ts +1 -1
- package/dist/progress/Progressradial.svelte +2 -2
- package/dist/progress/Progressradial.svelte.d.ts +1 -1
- package/dist/progress/theme.d.ts +1 -1
- package/dist/rating/AdvancedRating.svelte +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/rating/Review.svelte.d.ts +1 -1
- package/dist/rating/ScoreRating.svelte +2 -2
- 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 +4 -4
- package/dist/sidebar/Sidebar.svelte +8 -3
- package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarBrand.svelte +2 -2
- package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarButton.svelte +2 -2
- package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarCta.svelte +2 -2
- package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarDropdownWrapper.svelte +8 -3
- 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 +2 -2
- package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
- package/dist/sidebar/theme.d.ts +4 -4
- package/dist/skeleton/CardPlaceholder.svelte +2 -2
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte +2 -2
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ListPlaceholder.svelte +2 -2
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/Skeleton.svelte +2 -2
- package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
- package/dist/skeleton/TestimonialPlaceholder.svelte +2 -2
- package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/TextPlaceholder.svelte +2 -2
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte +2 -2
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte +2 -2
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/theme.d.ts +1 -1
- package/dist/speed-dial/SpeedDial.svelte +2 -2
- 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 +2 -2
- 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 +1 -1
- package/dist/spinner/Spinner.svelte +2 -2
- package/dist/spinner/Spinner.svelte.d.ts +1 -1
- package/dist/stepper/BreadcrumbStepper.svelte +2 -2
- package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
- package/dist/stepper/DetailedStepper.svelte +2 -2
- package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
- package/dist/stepper/ProgressStepper.svelte +2 -2
- package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
- package/dist/stepper/Stepper.svelte +2 -2
- package/dist/stepper/Stepper.svelte.d.ts +1 -1
- package/dist/stepper/TimelineStepper.svelte +2 -2
- package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
- package/dist/stepper/VerticalStepper.svelte +2 -2
- package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
- package/dist/stepper/theme.d.ts +1 -1
- package/dist/table/Table.svelte +2 -2
- package/dist/table/Table.svelte.d.ts +1 -1
- package/dist/table/TableBody.svelte +1 -1
- package/dist/table/TableBody.svelte.d.ts +1 -1
- package/dist/table/TableBodyCell.svelte +2 -2
- package/dist/table/TableBodyCell.svelte.d.ts +1 -1
- package/dist/table/TableBodyRow.svelte +2 -2
- package/dist/table/TableBodyRow.svelte.d.ts +1 -1
- package/dist/table/TableHead.svelte +2 -2
- package/dist/table/TableHead.svelte.d.ts +1 -1
- package/dist/table/TableHeadCell.svelte +2 -2
- package/dist/table/TableHeadCell.svelte.d.ts +1 -1
- package/dist/table/TableSearch.svelte +2 -2
- package/dist/table/TableSearch.svelte.d.ts +1 -1
- package/dist/table/theme.d.ts +1 -1
- package/dist/tabs/TabItem.svelte +2 -2
- package/dist/tabs/TabItem.svelte.d.ts +1 -1
- package/dist/tabs/Tabs.svelte +2 -2
- package/dist/tabs/Tabs.svelte.d.ts +1 -1
- package/dist/tabs/theme.d.ts +1 -1
- package/dist/{theme → theme-provider}/themes.d.ts +12 -11
- package/dist/{theme → theme-provider}/themes.js +13 -11
- package/dist/theme-selector/ThemeIcon.svelte +9 -0
- package/dist/theme-selector/ThemeIcon.svelte.d.ts +26 -0
- package/dist/theme-selector/ThemeSelector.svelte +56 -0
- package/dist/theme-selector/ThemeSelector.svelte.d.ts +3 -0
- package/dist/theme-selector/index.d.ts +4 -0
- package/dist/theme-selector/index.js +3 -0
- package/dist/theme-selector/theme.d.ts +85 -0
- package/dist/theme-selector/theme.js +35 -0
- package/dist/theme-selector/themeStore.svelte.d.ts +6 -0
- package/dist/theme-selector/themeStore.svelte.js +88 -0
- package/dist/theme-selector/themes/default-runtime.css +229 -0
- package/dist/theme-selector/themes/enterprise-runtime.css +210 -0
- package/dist/theme-selector/themes/minimal-runtime.css +213 -0
- package/dist/theme-selector/themes/mono-runtime.css +206 -0
- package/dist/theme-selector/themes/playful-runtime.css +206 -0
- package/dist/theme-selector/themes/themes-runtime.css +1106 -0
- package/dist/theme-selector/themes.d.ts +39 -0
- package/dist/theme-selector/themes.js +43 -0
- package/dist/timeline/Activity.svelte +2 -2
- package/dist/timeline/Activity.svelte.d.ts +1 -1
- package/dist/timeline/ActivityItem.svelte +2 -2
- package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
- package/dist/timeline/Group.svelte +2 -2
- package/dist/timeline/Group.svelte.d.ts +1 -1
- package/dist/timeline/GroupItem.svelte +2 -2
- package/dist/timeline/GroupItem.svelte.d.ts +1 -1
- package/dist/timeline/Timeline.svelte +2 -2
- package/dist/timeline/Timeline.svelte.d.ts +1 -1
- package/dist/timeline/TimelineItem.svelte +2 -2
- package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
- package/dist/timeline/theme.d.ts +7 -7
- package/dist/toast/Toast.svelte +23 -4
- package/dist/toast/Toast.svelte.d.ts +2 -1
- package/dist/toast/ToastContainer.svelte +2 -2
- package/dist/toast/ToastContainer.svelte.d.ts +1 -1
- package/dist/toast/theme.d.ts +1 -1
- package/dist/toolbar/Toolbar.svelte +2 -2
- package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarButton.svelte +2 -2
- package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarGroup.svelte +2 -2
- package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
- package/dist/toolbar/theme.d.ts +1 -1
- package/dist/toolbar/theme.js +1 -1
- package/dist/tooltip/Tooltip.svelte +1 -1
- package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
- package/dist/types.d.ts +42 -29
- package/dist/typography/a/A.svelte +2 -2
- package/dist/typography/a/A.svelte.d.ts +1 -1
- package/dist/typography/blockquote/Blockquote.svelte +2 -2
- package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
- package/dist/typography/descriptionlist/DescriptionList.svelte +2 -2
- package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
- package/dist/typography/heading/Heading.svelte +2 -2
- package/dist/typography/heading/Heading.svelte.d.ts +1 -1
- package/dist/typography/hr/Hr.svelte +1 -1
- package/dist/typography/hr/theme.d.ts +1 -1
- package/dist/typography/img/Img.svelte +2 -2
- package/dist/typography/img/Img.svelte.d.ts +1 -1
- package/dist/typography/img/theme.d.ts +1 -1
- package/dist/typography/layout/Layout.svelte +2 -2
- package/dist/typography/layout/Layout.svelte.d.ts +1 -1
- package/dist/typography/list/Li.svelte +1 -1
- package/dist/typography/list/Li.svelte.d.ts +1 -1
- package/dist/typography/list/List.svelte +2 -2
- package/dist/typography/list/List.svelte.d.ts +1 -1
- package/dist/typography/mark/Mark.svelte +2 -2
- package/dist/typography/mark/Mark.svelte.d.ts +1 -1
- package/dist/typography/paragraph/P.svelte +2 -2
- package/dist/typography/paragraph/P.svelte.d.ts +1 -1
- package/dist/typography/secondary/Secondary.svelte +2 -2
- package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
- package/dist/typography/span/Span.svelte +2 -2
- package/dist/typography/span/Span.svelte.d.ts +1 -1
- package/dist/utils/Arrow.svelte +1 -1
- package/dist/utils/Arrow.svelte.d.ts +1 -1
- package/dist/utils/CloseButton.svelte +11 -7
- package/dist/utils/CloseButton.svelte.d.ts +2 -2
- package/dist/utils/Popper.svelte +9 -3
- package/dist/utils/Popper.svelte.d.ts +1 -1
- package/dist/utils/theme.d.ts +60 -81
- package/dist/utils/theme.js +10 -36
- package/dist/video/Video.svelte +2 -2
- package/dist/video/Video.svelte.d.ts +1 -1
- package/package.json +2 -735
- package/dist/bottom-navigation/CHANGES-SUMMARY.svelte +0 -175
- package/dist/bottom-navigation/MIGRATION-GUIDE.svelte +0 -142
- /package/dist/{forms → extend}/button-toggle/ButtonToggleGroup.svelte.d.ts +0 -0
- /package/dist/{forms → extend}/button-toggle/index.d.ts +0 -0
- /package/dist/{forms → extend}/button-toggle/index.js +0 -0
- /package/dist/{forms → extend}/button-toggle/theme.js +0 -0
- /package/dist/{clipboard-manager → extend/clipboard-manager}/index.d.ts +0 -0
- /package/dist/{clipboard-manager → extend/clipboard-manager}/index.js +0 -0
- /package/dist/{clipboard-manager → extend/clipboard-manager}/theme.js +0 -0
- /package/dist/{command-palette → extend/command-palette}/index.d.ts +0 -0
- /package/dist/{command-palette → extend/command-palette}/index.js +0 -0
- /package/dist/{command-palette → extend/command-palette}/theme.js +0 -0
- /package/dist/{kanban → extend/kanban}/index.d.ts +0 -0
- /package/dist/{kanban → extend/kanban}/index.js +0 -0
- /package/dist/{kanban → extend/kanban}/theme.js +0 -0
- /package/dist/{scroll-spy → extend/scroll-spy}/index.d.ts +0 -0
- /package/dist/{scroll-spy → extend/scroll-spy}/index.js +0 -0
- /package/dist/{scroll-spy → extend/scroll-spy}/theme.js +0 -0
- /package/dist/{split-pane → extend/split-pane}/index.d.ts +0 -0
- /package/dist/{split-pane → extend/split-pane}/index.js +0 -0
- /package/dist/{split-pane → extend/split-pane}/theme.d.ts +0 -0
- /package/dist/{split-pane → extend/split-pane}/theme.js +0 -0
- /package/dist/{step-indicator → extend/step-indicator}/index.d.ts +0 -0
- /package/dist/{step-indicator → extend/step-indicator}/index.js +0 -0
- /package/dist/{step-indicator → extend/step-indicator}/theme.js +0 -0
- /package/dist/{forms → extend}/tags/index.d.ts +0 -0
- /package/dist/{forms → extend}/tags/index.js +0 -0
- /package/dist/{tour → extend/tour}/index.d.ts +0 -0
- /package/dist/{tour → extend/tour}/index.js +0 -0
- /package/dist/{tour → extend/tour}/theme.js +0 -0
- /package/dist/{virtual-masonry → extend/virtual-masonry}/index.d.ts +0 -0
- /package/dist/{virtual-masonry → extend/virtual-masonry}/index.js +0 -0
- /package/dist/{virtual-masonry → extend/virtual-masonry}/theme.js +0 -0
- /package/dist/{virtuallist → extend/virtuallist}/index.d.ts +0 -0
- /package/dist/{virtuallist → extend/virtuallist}/index.js +0 -0
- /package/dist/{virtuallist → extend/virtuallist}/theme.js +0 -0
- /package/dist/{theme → theme-provider}/ThemeProvider.svelte +0 -0
- /package/dist/{theme → theme-provider}/ThemeProvider.svelte.d.ts +0 -0
- /package/dist/{theme → theme-provider}/index.d.ts +0 -0
- /package/dist/{theme → theme-provider}/index.js +0 -0
- /package/dist/{theme → theme-provider}/themeUtils.d.ts +0 -0
- /package/dist/{theme → theme-provider}/themeUtils.js +0 -0
package/dist/types.d.ts
CHANGED
|
@@ -13,6 +13,7 @@ import type { ButtonVariants, GradientButtonVariants, gradientButton } from "./b
|
|
|
13
13
|
import type { CardVariants } from "./card/theme";
|
|
14
14
|
import type Slide from "./carousel/Slide.svelte";
|
|
15
15
|
import type { CarouselVariants, SlideVariants, CarouselIndicatorsVariants, ControlButtonVariants, ThumbnailsVariants } from "./carousel/theme";
|
|
16
|
+
import type { DarkmodeVariants } from "./darkmode/theme";
|
|
16
17
|
import type { DrawerHandleVariants, DrawerVariants, DrawerheadVariants } from "./drawer/theme";
|
|
17
18
|
import type { DatepickerVariants } from "./datepicker/theme";
|
|
18
19
|
import type { FooterBrandVariants, FooterCopyrightVariants, FooterLinkVariants } from "./footer/theme";
|
|
@@ -28,7 +29,7 @@ import type { SidebarVariants, SidebarCtaVariants, SidebarBrandVariants, Sidebar
|
|
|
28
29
|
import type { CardPlaceholderVariants, ImagePlaceholderVariants, ListPlaceholderVariants, SkeletonVariants, TestimonialPlaceholderVariants, TextPlaceholderVariants, VideoPlaceholderVariants, WidgetPlaceholderVariants } from "./skeleton/theme";
|
|
29
30
|
import type { SpeedDialVariants, SpeedDialButtonVariants } from "./speed-dial/theme";
|
|
30
31
|
import type { SpinnerVariants } from "./spinner/theme";
|
|
31
|
-
import type { StepIndicatorVariants } from "./step-indicator/theme";
|
|
32
|
+
import type { StepIndicatorVariants } from "./extend/step-indicator/theme";
|
|
32
33
|
import type { StepperVariants, ProgressStepperVariants, DetailedStepperVariants, VerticalStepperVariants, BreadcrumbStepperVariants, TimelineStepperVariants } from "./stepper/theme";
|
|
33
34
|
import type { PaginationItemVariants, PaginationVariants } from "./pagination/theme";
|
|
34
35
|
import type { ProgressbarVariants, ProgressradialVariants } from "./progress/theme";
|
|
@@ -69,15 +70,24 @@ import type { BreadcrumbItemVariants, BreadcrumbVariants } from "./breadcrumb/th
|
|
|
69
70
|
import type { ButtonGroupVariants } from "./button-group/theme";
|
|
70
71
|
import type { AndroidVariants, DefaultMockupVariants, DesktopVariants, IosVariants, LaptopVariants, SmartwatchVariants, TabletVariants } from "./device-mockups/theme";
|
|
71
72
|
import type { ApexOptions } from "apexcharts";
|
|
72
|
-
import type { ButtonToggleVariants } from "./
|
|
73
|
-
import type { TagsVariants } from "./
|
|
74
|
-
import type { VirtualListVariants } from "./virtuallist/theme";
|
|
75
|
-
import type { KanbanBoardVariants, KanbanCardVariants } from "./kanban/theme";
|
|
76
|
-
import type { TourVariants } from "./tour/theme";
|
|
77
|
-
import type { CommandPaletteVariants } from "./command-palette/theme";
|
|
78
|
-
import type { ScrollSpyVariants } from "./scroll-spy/theme";
|
|
73
|
+
import type { ButtonToggleVariants } from "./extend/button-toggle/theme";
|
|
74
|
+
import type { TagsVariants } from "./extend/tags/theme";
|
|
75
|
+
import type { VirtualListVariants } from "./extend/virtuallist/theme";
|
|
76
|
+
import type { KanbanBoardVariants, KanbanCardVariants } from "./extend/kanban/theme";
|
|
77
|
+
import type { TourVariants } from "./extend/tour/theme";
|
|
78
|
+
import type { CommandPaletteVariants } from "./extend/command-palette/theme";
|
|
79
|
+
import type { ScrollSpyVariants } from "./extend/scroll-spy/theme";
|
|
79
80
|
import type { CloseButtonVariants } from "./utils/theme";
|
|
80
81
|
import type { DialogVariants } from "./dialog/theme";
|
|
82
|
+
export interface CloseButtonConfig {
|
|
83
|
+
color?: CloseButtonVariants["color"];
|
|
84
|
+
size?: CloseButtonVariants["size"];
|
|
85
|
+
class?: string;
|
|
86
|
+
classes?: CloseButtonVariants["classes"];
|
|
87
|
+
name?: string;
|
|
88
|
+
ariaLabel?: string;
|
|
89
|
+
onclick?: (ev: MouseEvent) => void;
|
|
90
|
+
}
|
|
81
91
|
export declare const xs = "xs";
|
|
82
92
|
export declare const sm = "sm";
|
|
83
93
|
export declare const md = "md";
|
|
@@ -149,6 +159,7 @@ export interface AccordionProps extends AccordionVariants, Omit<HTMLAttributes<H
|
|
|
149
159
|
activeClass?: ClassValue;
|
|
150
160
|
inactiveClass?: ClassValue;
|
|
151
161
|
transitionType?: TransitionFunc | "none";
|
|
162
|
+
respectReducedMotion?: boolean;
|
|
152
163
|
classes?: Partial<{
|
|
153
164
|
button?: ClassValue;
|
|
154
165
|
contentWrapper?: ClassValue;
|
|
@@ -170,12 +181,12 @@ export interface AlertProps extends Omit<AlertVariants, "icon">, Omit<HTMLAttrib
|
|
|
170
181
|
icon?: Snippet;
|
|
171
182
|
alertStatus?: boolean;
|
|
172
183
|
closeIcon?: Component;
|
|
173
|
-
closeColor?: CloseButtonVariants["color"];
|
|
174
184
|
transition?: TransitionFunc;
|
|
175
185
|
params?: ParamsType;
|
|
176
186
|
onclick?: () => void;
|
|
177
187
|
listContent?: boolean;
|
|
178
188
|
borderAccent?: boolean;
|
|
189
|
+
closeButtonProps?: CloseButtonConfig;
|
|
179
190
|
}
|
|
180
191
|
export interface AvatarProps extends AvatarVariants, HTMLAttributes<HTMLDivElement> {
|
|
181
192
|
children?: Snippet;
|
|
@@ -197,7 +208,7 @@ export interface BadgeProps extends Omit<BadgeVariants, "href">, Omit<HTMLAttrib
|
|
|
197
208
|
target?: HTMLAnchorAttributes["target"];
|
|
198
209
|
transition?: TransitionFunc;
|
|
199
210
|
params?: ParamsType;
|
|
200
|
-
|
|
211
|
+
closeButtonProps?: CloseButtonConfig;
|
|
201
212
|
}
|
|
202
213
|
export interface BannerProps extends BannerVariants, Omit<HTMLAttributes<HTMLDivElement>, "color" | "onclose"> {
|
|
203
214
|
header?: Snippet;
|
|
@@ -205,8 +216,8 @@ export interface BannerProps extends BannerVariants, Omit<HTMLAttributes<HTMLDiv
|
|
|
205
216
|
dismissable?: boolean;
|
|
206
217
|
transition?: TransitionFunc;
|
|
207
218
|
params?: ParamsType;
|
|
208
|
-
closeBtnColor?: CloseButtonVariants["color"];
|
|
209
219
|
onclose?: (ev: MouseEvent) => void;
|
|
220
|
+
closeButtonProps?: CloseButtonConfig;
|
|
210
221
|
}
|
|
211
222
|
export interface BottomNavProps extends BottomNavVariants, HTMLAttributes<HTMLDivElement> {
|
|
212
223
|
children: Snippet;
|
|
@@ -216,11 +227,6 @@ export interface BottomNavProps extends BottomNavVariants, HTMLAttributes<HTMLDi
|
|
|
216
227
|
export type BottomNavItemProps = BottomNavItemVariants & AnchorButtonAttributes & {
|
|
217
228
|
children: Snippet;
|
|
218
229
|
btnName?: string;
|
|
219
|
-
activeClass?: ClassValue;
|
|
220
|
-
/** @deprecated Use `class` prop instead */
|
|
221
|
-
btnClass?: ClassValue;
|
|
222
|
-
/** @deprecated Use `classes.span` instead */
|
|
223
|
-
spanClass?: ClassValue;
|
|
224
230
|
active?: boolean;
|
|
225
231
|
};
|
|
226
232
|
export interface BottomNavHeaderProps extends BottomNavHeaderVariants, HTMLAttributes<HTMLDivElement> {
|
|
@@ -263,6 +269,7 @@ export interface GradientButtonProps extends GradientButtonVariants, HTMLButtonO
|
|
|
263
269
|
export interface AccordionContextType {
|
|
264
270
|
flush?: boolean;
|
|
265
271
|
transitionType?: TransitionFunc | "none";
|
|
272
|
+
respectReducedMotion?: boolean;
|
|
266
273
|
classes?: Partial<{
|
|
267
274
|
button?: ClassValue;
|
|
268
275
|
contentWrapper?: ClassValue;
|
|
@@ -412,7 +419,7 @@ export interface ClipboardProps extends ClipboardVariants, ButtonVariants, Omit<
|
|
|
412
419
|
showLabel?: boolean;
|
|
413
420
|
embedded?: boolean;
|
|
414
421
|
}
|
|
415
|
-
export interface DarkmodeProps extends HTMLButtonAttributes {
|
|
422
|
+
export interface DarkmodeProps extends DarkmodeVariants, HTMLButtonAttributes {
|
|
416
423
|
lightIcon?: Snippet;
|
|
417
424
|
darkIcon?: Snippet;
|
|
418
425
|
size?: "sm" | "md" | "lg";
|
|
@@ -442,7 +449,7 @@ export interface DatepickerProps extends DatepickerVariants, Omit<HTMLAttributes
|
|
|
442
449
|
placeholder?: string;
|
|
443
450
|
disabled?: boolean;
|
|
444
451
|
required?: boolean;
|
|
445
|
-
color?:
|
|
452
|
+
color?: DatepickerVariants["color"];
|
|
446
453
|
inline?: boolean;
|
|
447
454
|
autohide?: boolean;
|
|
448
455
|
showActionButtons?: boolean;
|
|
@@ -451,7 +458,7 @@ export interface DatepickerProps extends DatepickerVariants, Omit<HTMLAttributes
|
|
|
451
458
|
onclear?: () => void;
|
|
452
459
|
onapply?: (x: DateOrRange) => void;
|
|
453
460
|
inputmode?: HTMLInputAttributes["inputmode"];
|
|
454
|
-
monthColor?:
|
|
461
|
+
monthColor?: DatepickerVariants["color"];
|
|
455
462
|
translationLocale?: string;
|
|
456
463
|
elementRef?: HTMLInputElement;
|
|
457
464
|
actionSlot?: Snippet<[ActionSlotParams]>;
|
|
@@ -504,6 +511,7 @@ export interface DialogProps extends DialogVariants, HTMLDialogAttributes {
|
|
|
504
511
|
outsideclose?: boolean;
|
|
505
512
|
transition?: TransitionFunc;
|
|
506
513
|
transitionParams?: ParamsType;
|
|
514
|
+
closeButtonProps?: CloseButtonConfig;
|
|
507
515
|
}
|
|
508
516
|
export interface DrawerProps extends DrawerVariants, Omit<DialogProps, "hidden" | "classes" | "shifted"> {
|
|
509
517
|
offset?: string;
|
|
@@ -611,8 +619,8 @@ export interface FileuploadProps extends FileuploadViariants, Omit<HTMLInputAttr
|
|
|
611
619
|
color?: InputProps<never>["color"];
|
|
612
620
|
elementRef?: HTMLInputElement;
|
|
613
621
|
clearable?: boolean;
|
|
614
|
-
clearableColor?: CloseButtonVariants["color"];
|
|
615
622
|
clearableOnClick?: () => void;
|
|
623
|
+
closeButtonProps?: CloseButtonConfig;
|
|
616
624
|
}
|
|
617
625
|
export interface FloatingLabelInputProps extends FloatingLabelInputVaratiants, Omit<HTMLInputAttributes, "size"> {
|
|
618
626
|
children: Snippet;
|
|
@@ -626,12 +634,12 @@ export interface FloatingLabelInputProps extends FloatingLabelInputVaratiants, O
|
|
|
626
634
|
disabled?: FloatingLabelInputVaratiants["disabled"];
|
|
627
635
|
withIcon?: FloatingLabelInputVaratiants["withIcon"];
|
|
628
636
|
clearable?: boolean;
|
|
629
|
-
clearableColor?: CloseButtonVariants["color"];
|
|
630
637
|
clearableOnClick?: () => void;
|
|
631
638
|
data?: string[];
|
|
632
639
|
maxSuggestions?: number;
|
|
633
640
|
onSelect?: (item: string) => void;
|
|
634
641
|
placeholder?: string;
|
|
642
|
+
closeButtonProps?: CloseButtonConfig;
|
|
635
643
|
}
|
|
636
644
|
export interface HelperProps extends HelperVariants, Omit<HTMLAttributes<HTMLParagraphElement>, "color"> {
|
|
637
645
|
}
|
|
@@ -647,7 +655,6 @@ export interface InputProps<T extends InputValue = string> extends InputVariants
|
|
|
647
655
|
elementRef?: HTMLInputElement;
|
|
648
656
|
color?: InputVariants["color"];
|
|
649
657
|
clearable?: boolean;
|
|
650
|
-
clearableColor?: CloseButtonVariants["color"];
|
|
651
658
|
clearableOnClick?: () => void;
|
|
652
659
|
data?: string[];
|
|
653
660
|
maxSuggestions?: number;
|
|
@@ -656,17 +663,19 @@ export interface InputProps<T extends InputValue = string> extends InputVariants
|
|
|
656
663
|
onfocus?: (event: FocusEvent) => void;
|
|
657
664
|
onblur?: (event: FocusEvent) => void;
|
|
658
665
|
onkeydown?: (event: KeyboardEvent) => void;
|
|
666
|
+
closeButtonProps?: CloseButtonConfig;
|
|
659
667
|
}
|
|
660
668
|
export interface InputAddonProps extends HTMLAttributes<HTMLDivElement> {
|
|
661
669
|
children: Snippet;
|
|
662
670
|
size?: ButtonGroupProps["size"];
|
|
663
671
|
}
|
|
664
|
-
export interface PhoneInputProps extends PhoneInputVariants, Omit<HTMLInputAttributes, "size" | "children"
|
|
672
|
+
export interface PhoneInputProps extends PhoneInputVariants, Omit<HTMLInputAttributes, "size" | "children"> {
|
|
665
673
|
phoneType?: "default" | "floating" | "countryCode" | "copy" | "advanced";
|
|
666
674
|
children?: Snippet;
|
|
667
675
|
floatingLabel?: string;
|
|
668
676
|
labelFor?: string;
|
|
669
677
|
phoneIcon?: boolean;
|
|
678
|
+
value?: string | number | readonly string[];
|
|
670
679
|
}
|
|
671
680
|
export interface LabelProps extends HTMLLabelAttributes {
|
|
672
681
|
children: Snippet;
|
|
@@ -697,8 +706,8 @@ export interface SearchProps extends SearchVariants, Omit<HTMLInputAttributes, "
|
|
|
697
706
|
value?: string;
|
|
698
707
|
elementRef?: HTMLInputElement;
|
|
699
708
|
clearable?: boolean;
|
|
700
|
-
clearableColor?: CloseButtonVariants["color"];
|
|
701
709
|
clearableOnClick?: () => void;
|
|
710
|
+
closeButtonProps?: CloseButtonConfig;
|
|
702
711
|
}
|
|
703
712
|
export type SelectOptionType<T> = {
|
|
704
713
|
name: string | number;
|
|
@@ -712,10 +721,10 @@ export interface SelectProps<T> extends SelectVariants, Omit<HTMLSelectAttribute
|
|
|
712
721
|
elementRef?: HTMLSelectElement;
|
|
713
722
|
placeholder?: string;
|
|
714
723
|
clearable?: boolean;
|
|
715
|
-
clearableColor?: CloseButtonVariants["color"];
|
|
716
724
|
clearableOnClick?: () => void;
|
|
717
725
|
onClear?: () => void;
|
|
718
726
|
disabled?: boolean;
|
|
727
|
+
closeButtonProps?: CloseButtonConfig;
|
|
719
728
|
}
|
|
720
729
|
export interface MultiSelectProps<T> extends MultiSelectVariants, Omit<HTMLAttributes<HTMLDivElement>, "size" | "children" | "onchange" | "onblur"> {
|
|
721
730
|
children?: Snippet<[{
|
|
@@ -733,11 +742,11 @@ export interface MultiSelectProps<T> extends MultiSelectVariants, Omit<HTMLAttri
|
|
|
733
742
|
autocomplete?: FullAutoFill | undefined | null;
|
|
734
743
|
onchange?: (event: Event) => void;
|
|
735
744
|
onblur?: (event: FocusEvent) => void;
|
|
745
|
+
closeButtonProps?: CloseButtonConfig;
|
|
736
746
|
}
|
|
737
747
|
export interface TagsProps extends TagsVariants, HTMLAttributes<HTMLDivElement> {
|
|
738
748
|
value: string[];
|
|
739
749
|
placeholder?: string;
|
|
740
|
-
closeBtnSize?: CloseButtonVariants["size"];
|
|
741
750
|
unique?: boolean;
|
|
742
751
|
availableTags?: string[];
|
|
743
752
|
maxSuggestions?: number;
|
|
@@ -746,6 +755,7 @@ export interface TagsProps extends TagsVariants, HTMLAttributes<HTMLDivElement>
|
|
|
746
755
|
allowNewTags?: boolean;
|
|
747
756
|
inputProps?: HTMLInputAttributes;
|
|
748
757
|
disabled?: boolean;
|
|
758
|
+
closeButtonProps?: CloseButtonConfig;
|
|
749
759
|
}
|
|
750
760
|
export type TimePickerType = "default" | "dropdown" | "select" | "range" | "timerange-dropdown" | "timerange-toggle" | "inline-buttons";
|
|
751
761
|
export type ColumnCount = 1 | 2 | 3 | 4;
|
|
@@ -793,6 +803,7 @@ export interface TextareaProps extends TextareaVariants, HTMLTextareaAttributes
|
|
|
793
803
|
clearable?: boolean;
|
|
794
804
|
clearableColor?: CloseButtonVariants["color"];
|
|
795
805
|
clearableOnClick?: () => void;
|
|
806
|
+
closeButtonProps?: CloseButtonConfig;
|
|
796
807
|
}
|
|
797
808
|
export interface ToggleProps extends Omit<ToggleVariants, "off_state_label">, Omit<HTMLInputAttributes, "size" | "color"> {
|
|
798
809
|
offLabel?: Snippet;
|
|
@@ -868,6 +879,7 @@ export interface ModalProps extends ModalVariants, Omit<DialogProps, "classes">
|
|
|
868
879
|
header?: Snippet;
|
|
869
880
|
footer?: Snippet;
|
|
870
881
|
fullscreen?: boolean;
|
|
882
|
+
closeButtonProps?: CloseButtonConfig;
|
|
871
883
|
}
|
|
872
884
|
export interface MenuProps extends SVGAttributes<SVGSVGElement> {
|
|
873
885
|
size?: string;
|
|
@@ -1464,7 +1476,7 @@ export interface TabsContextType {
|
|
|
1464
1476
|
registerTab: (tab: SelectedTab) => void;
|
|
1465
1477
|
unregisterTab: (tabId: string) => void;
|
|
1466
1478
|
}
|
|
1467
|
-
export type { ThemeConfig } from "./theme";
|
|
1479
|
+
export type { ThemeConfig } from "./theme-provider";
|
|
1468
1480
|
export interface ActivityType {
|
|
1469
1481
|
id?: string | number;
|
|
1470
1482
|
title: HTMLElement | string;
|
|
@@ -1522,6 +1534,7 @@ export interface ToastProps extends ToastVaraints, HTMLAttributes<HTMLDivElement
|
|
|
1522
1534
|
params?: ParamsType;
|
|
1523
1535
|
transition?: TransitionFunc;
|
|
1524
1536
|
class?: string;
|
|
1537
|
+
closeButtonProps?: CloseButtonConfig;
|
|
1525
1538
|
}
|
|
1526
1539
|
export interface ToastContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
1527
1540
|
children: Snippet;
|
|
@@ -1816,7 +1829,7 @@ export interface ScrollSpyProps extends ScrollSpyVariants, HTMLAttributes<HTMLEl
|
|
|
1816
1829
|
/** Callback when navigation item is clicked */
|
|
1817
1830
|
onNavigate?: (itemId: string) => void;
|
|
1818
1831
|
}
|
|
1819
|
-
import type { VirtualMasonryVariants } from "./virtual-masonry/theme";
|
|
1832
|
+
import type { VirtualMasonryVariants } from "./extend/virtual-masonry/theme";
|
|
1820
1833
|
export interface VirtualMasonryProps<T = unknown> extends VirtualMasonryVariants, Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
1821
1834
|
children: Snippet<[item: T, index: number]>;
|
|
1822
1835
|
items?: T[];
|
|
@@ -1830,7 +1843,7 @@ export interface VirtualMasonryProps<T = unknown> extends VirtualMasonryVariants
|
|
|
1830
1843
|
ariaLabel?: string;
|
|
1831
1844
|
class?: ClassValue | null;
|
|
1832
1845
|
}
|
|
1833
|
-
import type { ClipboardManagerVariants } from "./clipboard-manager/theme";
|
|
1846
|
+
import type { ClipboardManagerVariants } from "./extend/clipboard-manager/theme";
|
|
1834
1847
|
export interface ClipboardItem {
|
|
1835
1848
|
id: number;
|
|
1836
1849
|
text: string;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { anchor } from "./theme";
|
|
4
4
|
import type { AnchorProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, color = "primary", asButton = false, onclick, href = "#", class: className, ...restProps }: AnchorProps = $props();
|
|
8
8
|
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
@component
|
|
44
44
|
[Go to docs](https://flowbite-svelte.com/)
|
|
45
45
|
## Type
|
|
46
|
-
[AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
46
|
+
[AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1829)
|
|
47
47
|
## Props
|
|
48
48
|
@prop children
|
|
49
49
|
@prop color = "primary"
|
|
@@ -2,7 +2,7 @@ import type { AnchorProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [AnchorProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1829)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop color = "primary"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { blockquote } from "./theme";
|
|
4
4
|
import type { BlockquoteProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, border, italic = true, bg, alignment = "left", size = "lg", ...restProps }: BlockquoteProps = $props();
|
|
8
8
|
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
@component
|
|
29
29
|
[Go to docs](https://flowbite-svelte.com/)
|
|
30
30
|
## Type
|
|
31
|
-
[BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
31
|
+
[BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1858)
|
|
32
32
|
## Props
|
|
33
33
|
@prop children
|
|
34
34
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { BlockquoteProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [BlockquoteProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1858)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { descriptionList } from "./theme";
|
|
4
4
|
import type { DescriptionListProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, tag, class: className, ...restProps }: DescriptionListProps = $props();
|
|
8
8
|
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
@component
|
|
25
25
|
[Go to docs](https://flowbite-svelte.com/)
|
|
26
26
|
## Type
|
|
27
|
-
[DescriptionListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
27
|
+
[DescriptionListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1868)
|
|
28
28
|
## Props
|
|
29
29
|
@prop children
|
|
30
30
|
@prop tag
|
|
@@ -2,7 +2,7 @@ import type { DescriptionListProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DescriptionListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DescriptionListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1868)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop tag
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { heading } from "./theme";
|
|
4
4
|
import type { HeadingProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, tag = "h1", class: className, ...restProps }: HeadingProps = $props();
|
|
8
8
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@component
|
|
20
20
|
[Go to docs](https://flowbite-svelte.com/)
|
|
21
21
|
## Type
|
|
22
|
-
[HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
22
|
+
[HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1874)
|
|
23
23
|
## Props
|
|
24
24
|
@prop children
|
|
25
25
|
@prop tag = "h1"
|
|
@@ -2,7 +2,7 @@ import type { HeadingProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [HeadingProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1874)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop tag = "h1"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { hr } from "./theme";
|
|
4
4
|
import type { HrProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, classes, divProps = {}, hrProps = {} }: HrProps = $props();
|
|
8
8
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { Classes } from "../../theme/themeUtils";
|
|
2
|
+
import type { Classes } from "../../theme-provider/themeUtils";
|
|
3
3
|
export type HrVariants = VariantProps<typeof hr> & Classes<typeof hr>;
|
|
4
4
|
export declare const hr: import("tailwind-variants").TVReturnType<{
|
|
5
5
|
withChildren: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { img } from "./theme";
|
|
4
4
|
import type { ImgProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, size, effect: imgEffect, align, caption, class: className, classes, href, ...restProps }: ImgProps = $props();
|
|
8
8
|
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
@component
|
|
50
50
|
[Go to docs](https://flowbite-svelte.com/)
|
|
51
51
|
## Type
|
|
52
|
-
[ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
52
|
+
[ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1901)
|
|
53
53
|
## Props
|
|
54
54
|
@prop children
|
|
55
55
|
@prop size
|
|
@@ -2,7 +2,7 @@ import type { ImgProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ImgProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1901)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop size
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type VariantProps } from "tailwind-variants";
|
|
2
|
-
import type { Classes } from "../../theme/themeUtils";
|
|
2
|
+
import type { Classes } from "../../theme-provider/themeUtils";
|
|
3
3
|
export type ImgVariants = VariantProps<typeof img> & Classes<typeof img>;
|
|
4
4
|
export declare const img: import("tailwind-variants").TVReturnType<{
|
|
5
5
|
size: {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { layout } from "./theme";
|
|
4
4
|
import type { LayoutProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, ...restProps }: LayoutProps = $props();
|
|
8
8
|
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
@component
|
|
20
20
|
[Go to docs](https://flowbite-svelte.com/)
|
|
21
21
|
## Type
|
|
22
|
-
[LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
22
|
+
[LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1923)
|
|
23
23
|
## Props
|
|
24
24
|
@prop children
|
|
25
25
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { LayoutProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [LayoutProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1923)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
@component
|
|
19
19
|
[Go to docs](https://flowbite-svelte.com/)
|
|
20
20
|
## Type
|
|
21
|
-
[LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
21
|
+
[LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1936)
|
|
22
22
|
## Props
|
|
23
23
|
@prop children
|
|
24
24
|
@prop icon
|
|
@@ -2,7 +2,7 @@ import type { LiProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [LiProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1936)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop icon
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { list } from "./theme";
|
|
3
3
|
import type { ListProps } from "../../types";
|
|
4
4
|
import clsx from "clsx";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
import { setListContext } from "../../context";
|
|
7
7
|
|
|
8
8
|
let { children, tag = "ul", isContenteditable = false, position = "inside", ctxClass, class: className, ...restProps }: ListProps = $props();
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
@component
|
|
37
37
|
[Go to docs](https://flowbite-svelte.com/)
|
|
38
38
|
## Type
|
|
39
|
-
[ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
39
|
+
[ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1928)
|
|
40
40
|
## Props
|
|
41
41
|
@prop children
|
|
42
42
|
@prop tag = "ul"
|
|
@@ -2,7 +2,7 @@ import type { ListProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ListProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1928)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop tag = "ul"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { mark } from "./theme";
|
|
4
4
|
import type { MarkProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, ...restProps }: MarkProps = $props();
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1942)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { MarkProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [MarkProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1942)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { paragraph } from "./theme";
|
|
4
4
|
import type { ParagraphProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let {
|
|
8
8
|
children,
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
@component
|
|
33
33
|
[Go to docs](https://flowbite-svelte.com/)
|
|
34
34
|
## Type
|
|
35
|
-
[ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
35
|
+
[ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1947)
|
|
36
36
|
## Props
|
|
37
37
|
@prop children
|
|
38
38
|
@prop class: className = "text-gray-900 dark:text-white"
|
|
@@ -2,7 +2,7 @@ import type { ParagraphProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [ParagraphProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1947)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className = "text-gray-900 dark:text-white"
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { secondary } from "./theme";
|
|
4
4
|
import type { SecondaryProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, ...restProps }: SecondaryProps = $props();
|
|
8
8
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1955)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import type { SecondaryProps } from "../../types";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [SecondaryProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1955)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import clsx from "clsx";
|
|
3
3
|
import { span } from "./theme";
|
|
4
4
|
import type { SpanProps } from "../../types";
|
|
5
|
-
import { getTheme } from "../../theme/themeUtils";
|
|
5
|
+
import { getTheme } from "../../theme-provider/themeUtils";
|
|
6
6
|
|
|
7
7
|
let { children, class: className, italic, underline, linethrough, uppercase, gradient, highlight, decoration, decorationColor, decorationThickness, ...restProps }: SpanProps = $props();
|
|
8
8
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@component
|
|
35
35
|
[Go to docs](https://flowbite-svelte.com/)
|
|
36
36
|
## Type
|
|
37
|
-
[SpanProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
37
|
+
[SpanProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L1960)
|
|
38
38
|
## Props
|
|
39
39
|
@prop children
|
|
40
40
|
@prop class: className
|