flowbite-svelte 1.0.0-next.8 → 1.0.0
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/README.md +72 -74
- package/dist/accordion/Accordion.svelte +13 -10
- package/dist/accordion/Accordion.svelte.d.ts +12 -9
- package/dist/accordion/AccordionItem.svelte +16 -15
- package/dist/accordion/AccordionItem.svelte.d.ts +15 -13
- package/dist/accordion/index.d.ts +1 -2
- package/dist/alert/Alert.svelte +19 -16
- package/dist/alert/Alert.svelte.d.ts +18 -15
- package/dist/alert/index.d.ts +1 -2
- package/dist/avatar/Avatar.svelte +19 -16
- package/dist/avatar/Avatar.svelte.d.ts +18 -15
- package/dist/avatar/index.d.ts +1 -2
- package/dist/badge/Badge.svelte +23 -20
- package/dist/badge/Badge.svelte.d.ts +21 -18
- package/dist/badge/index.d.ts +1 -2
- package/dist/banner/Banner.svelte +26 -35
- package/dist/banner/Banner.svelte.d.ts +16 -14
- package/dist/banner/index.d.ts +1 -2
- package/dist/banner/theme.d.ts +11 -99
- package/dist/banner/theme.js +9 -31
- package/dist/bottom-navigation/BottomNav.svelte +15 -11
- package/dist/bottom-navigation/BottomNav.svelte.d.ts +14 -11
- package/dist/bottom-navigation/BottomNavHeader.svelte +10 -6
- package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +9 -6
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte +11 -6
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +9 -6
- package/dist/bottom-navigation/BottomNavItem.svelte +15 -11
- package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +14 -11
- package/dist/bottom-navigation/index.d.ts +1 -2
- package/dist/breadcrumb/Breadcrumb.svelte +12 -9
- package/dist/breadcrumb/Breadcrumb.svelte.d.ts +11 -8
- package/dist/breadcrumb/BreadcrumbItem.svelte +15 -11
- package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +14 -11
- package/dist/breadcrumb/index.d.ts +1 -2
- package/dist/buttongroup/ButtonGroup.svelte +10 -6
- package/dist/buttongroup/ButtonGroup.svelte.d.ts +9 -6
- package/dist/buttongroup/index.d.ts +1 -2
- package/dist/buttons/Button.svelte +17 -13
- package/dist/buttons/Button.svelte.d.ts +16 -13
- package/dist/buttons/GradientButton.svelte +16 -12
- package/dist/buttons/GradientButton.svelte.d.ts +15 -12
- package/dist/buttons/index.d.ts +1 -2
- package/dist/{cards → card}/Card.svelte +21 -23
- package/dist/card/Card.svelte.d.ts +22 -0
- package/dist/card/index.js +3 -0
- package/dist/{cards → card}/theme.d.ts +0 -63
- package/dist/{cards → card}/theme.js +1 -11
- package/dist/carousel/Carousel.svelte +18 -16
- package/dist/carousel/Carousel.svelte.d.ts +18 -15
- package/dist/carousel/ControlButton.svelte +9 -6
- package/dist/carousel/ControlButton.svelte.d.ts +9 -6
- package/dist/carousel/Controls.svelte +8 -5
- package/dist/carousel/Controls.svelte.d.ts +7 -6
- package/dist/carousel/Indicators.svelte +10 -7
- package/dist/carousel/Indicators.svelte.d.ts +10 -7
- package/dist/carousel/Slide.svelte +9 -6
- package/dist/carousel/Slide.svelte.d.ts +9 -6
- package/dist/carousel/Thumbnail.svelte +8 -5
- package/dist/carousel/Thumbnail.svelte.d.ts +8 -5
- package/dist/carousel/Thumbnails.svelte +12 -10
- package/dist/carousel/Thumbnails.svelte.d.ts +12 -10
- package/dist/carousel/index.d.ts +1 -2
- package/dist/chart/Chart.svelte +7 -5
- package/dist/chart/Chart.svelte.d.ts +7 -5
- package/dist/chart/index.d.ts +1 -2
- package/dist/darkmode/DarkMode.svelte +12 -8
- package/dist/darkmode/DarkMode.svelte.d.ts +11 -8
- package/dist/darkmode/index.d.ts +1 -2
- package/dist/darkmode/theme.d.ts +1 -1
- package/dist/darkmode/theme.js +1 -1
- package/dist/datepicker/Datepicker.svelte +28 -47
- package/dist/datepicker/Datepicker.svelte.d.ts +25 -25
- package/dist/datepicker/index.d.ts +1 -2
- package/dist/device-mockups/Android.svelte +15 -11
- package/dist/device-mockups/Android.svelte.d.ts +14 -11
- package/dist/device-mockups/DefaultMockup.svelte +14 -10
- package/dist/device-mockups/DefaultMockup.svelte.d.ts +13 -10
- package/dist/device-mockups/Desktop.svelte +12 -8
- package/dist/device-mockups/Desktop.svelte.d.ts +11 -8
- package/dist/device-mockups/DeviceMockup.svelte +7 -5
- package/dist/device-mockups/DeviceMockup.svelte.d.ts +7 -5
- package/dist/device-mockups/Ios.svelte +14 -10
- package/dist/device-mockups/Ios.svelte.d.ts +13 -10
- package/dist/device-mockups/Laptop.svelte +12 -8
- package/dist/device-mockups/Laptop.svelte.d.ts +11 -8
- package/dist/device-mockups/Smartwatch.svelte +14 -10
- package/dist/device-mockups/Smartwatch.svelte.d.ts +13 -10
- package/dist/device-mockups/Tablet.svelte +14 -10
- package/dist/device-mockups/Tablet.svelte.d.ts +13 -10
- package/dist/device-mockups/index.d.ts +1 -2
- package/dist/device-mockups/theme.d.ts +27 -27
- package/dist/drawer/Drawer.svelte +20 -15
- package/dist/drawer/Drawer.svelte.d.ts +18 -15
- package/dist/drawer/Drawerhead.svelte +12 -8
- package/dist/drawer/Drawerhead.svelte.d.ts +11 -8
- package/dist/drawer/index.d.ts +1 -2
- package/dist/dropdown/Dropdown.svelte +14 -10
- package/dist/dropdown/Dropdown.svelte.d.ts +13 -10
- package/dist/dropdown/DropdownDivider.svelte +8 -4
- package/dist/dropdown/DropdownDivider.svelte.d.ts +7 -4
- package/dist/dropdown/DropdownGroup.svelte +9 -5
- package/dist/dropdown/DropdownGroup.svelte.d.ts +8 -5
- package/dist/dropdown/DropdownHeader.svelte +9 -5
- package/dist/dropdown/DropdownHeader.svelte.d.ts +8 -5
- package/dist/dropdown/DropdownItem.svelte +17 -10
- package/dist/dropdown/DropdownItem.svelte.d.ts +12 -9
- package/dist/dropdown/index.d.ts +1 -2
- package/dist/footer/Footer.svelte +10 -6
- package/dist/footer/Footer.svelte.d.ts +9 -6
- package/dist/footer/FooterBrand.svelte +15 -11
- package/dist/footer/FooterBrand.svelte.d.ts +14 -11
- package/dist/footer/FooterCopyright.svelte +13 -9
- package/dist/footer/FooterCopyright.svelte.d.ts +12 -9
- package/dist/footer/FooterIcon.svelte +11 -7
- package/dist/footer/FooterIcon.svelte.d.ts +10 -7
- package/dist/footer/FooterLink.svelte +11 -7
- package/dist/footer/FooterLink.svelte.d.ts +10 -7
- package/dist/footer/FooterLinkGroup.svelte +9 -5
- package/dist/footer/FooterLinkGroup.svelte.d.ts +8 -5
- package/dist/footer/index.d.ts +1 -2
- package/dist/footer/theme.d.ts +3 -3
- package/dist/footer/theme.js +5 -5
- package/dist/forms/checkbox/Checkbox.svelte +19 -15
- package/dist/forms/checkbox/Checkbox.svelte.d.ts +18 -15
- package/dist/forms/checkbox/index.d.ts +1 -2
- package/dist/forms/checkbox-button/CheckboxButton.svelte +17 -14
- package/dist/forms/checkbox-button/CheckboxButton.svelte.d.ts +17 -14
- package/dist/forms/checkbox-button/index.d.ts +1 -2
- package/dist/forms/dropzone/Dropzone.svelte +10 -9
- package/dist/forms/dropzone/Dropzone.svelte.d.ts +2 -7
- package/dist/forms/dropzone/index.d.ts +1 -2
- package/dist/forms/fileupload/Fileupload.svelte +11 -7
- package/dist/forms/fileupload/Fileupload.svelte.d.ts +10 -7
- package/dist/forms/fileupload/index.d.ts +1 -2
- package/dist/forms/floating-label-input/FloatingLabelInput.svelte +17 -13
- package/dist/forms/floating-label-input/FloatingLabelInput.svelte.d.ts +16 -13
- package/dist/forms/floating-label-input/index.d.ts +1 -2
- package/dist/forms/helper/Helper.svelte +10 -6
- package/dist/forms/helper/Helper.svelte.d.ts +9 -6
- package/dist/forms/helper/index.d.ts +1 -2
- package/dist/forms/input/Input.svelte +4 -3
- package/dist/forms/input/Input.svelte.d.ts +3 -3
- package/dist/forms/input/index.d.ts +2 -3
- package/dist/forms/input-addon/InputAddon.svelte +9 -6
- package/dist/forms/input-addon/InputAddon.svelte.d.ts +9 -6
- package/dist/forms/input-addon/index.d.ts +1 -2
- package/dist/forms/label/Label.svelte +11 -7
- package/dist/forms/label/Label.svelte.d.ts +10 -7
- package/dist/forms/label/index.d.ts +1 -2
- package/dist/forms/radio/Radio.svelte +4 -3
- package/dist/forms/radio/Radio.svelte.d.ts +3 -3
- package/dist/forms/radio/index.d.ts +1 -2
- package/dist/forms/radio-button/RadioButton.svelte +11 -5
- package/dist/forms/radio-button/RadioButton.svelte.d.ts +3 -3
- package/dist/forms/radio-button/index.d.ts +1 -2
- package/dist/forms/range/Range.svelte +12 -8
- package/dist/forms/range/Range.svelte.d.ts +11 -8
- package/dist/forms/range/index.d.ts +1 -2
- package/dist/forms/search/Search.svelte +4 -3
- package/dist/forms/search/Search.svelte.d.ts +3 -3
- package/dist/forms/search/index.d.ts +1 -2
- package/dist/forms/select/MultiSelect.svelte +3 -3
- package/dist/forms/select/MultiSelect.svelte.d.ts +4 -4
- package/dist/forms/select/Select.svelte +4 -3
- package/dist/forms/select/Select.svelte.d.ts +3 -3
- package/dist/forms/select/index.d.ts +1 -2
- package/dist/forms/textarea/Textarea.svelte +16 -12
- package/dist/forms/textarea/Textarea.svelte.d.ts +15 -12
- package/dist/forms/textarea/index.d.ts +1 -2
- package/dist/forms/toggle/Toggle.svelte +17 -13
- package/dist/forms/toggle/Toggle.svelte.d.ts +16 -13
- package/dist/forms/toggle/index.d.ts +1 -2
- package/dist/gallery/Gallery.svelte +12 -8
- package/dist/gallery/Gallery.svelte.d.ts +11 -8
- package/dist/gallery/index.d.ts +1 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/indicator/Indicator.svelte +15 -11
- package/dist/indicator/Indicator.svelte.d.ts +14 -11
- package/dist/indicator/index.d.ts +1 -2
- package/dist/kbd/Kbd.svelte +9 -5
- package/dist/kbd/Kbd.svelte.d.ts +8 -5
- package/dist/kbd/index.d.ts +1 -2
- package/dist/kbd/type.d.ts +0 -6
- package/dist/kbd/type.js +7 -1
- package/dist/list-group/Listgroup.svelte +17 -13
- package/dist/list-group/Listgroup.svelte.d.ts +16 -13
- package/dist/list-group/ListgroupItem.svelte +17 -14
- package/dist/list-group/ListgroupItem.svelte.d.ts +16 -13
- package/dist/list-group/index.d.ts +1 -2
- package/dist/mega-menu/MegaMenu.svelte +13 -10
- package/dist/mega-menu/MegaMenu.svelte.d.ts +12 -9
- package/dist/mega-menu/index.d.ts +1 -2
- package/dist/modal/Modal.svelte +30 -29
- package/dist/modal/Modal.svelte.d.ts +25 -23
- package/dist/modal/index.d.ts +1 -2
- package/dist/navbar/Menu.svelte +11 -15
- package/dist/navbar/Menu.svelte.d.ts +11 -14
- package/dist/navbar/NavBrand.svelte +8 -5
- package/dist/navbar/NavBrand.svelte.d.ts +8 -5
- package/dist/navbar/NavContainer.svelte +9 -6
- package/dist/navbar/NavContainer.svelte.d.ts +9 -6
- package/dist/navbar/NavHamburger.svelte +11 -8
- package/dist/navbar/NavHamburger.svelte.d.ts +11 -8
- package/dist/navbar/NavLi.svelte +11 -8
- package/dist/navbar/NavLi.svelte.d.ts +11 -8
- package/dist/navbar/NavUl.svelte +17 -13
- package/dist/navbar/NavUl.svelte.d.ts +13 -12
- package/dist/navbar/Navbar.svelte +10 -7
- package/dist/navbar/Navbar.svelte.d.ts +10 -7
- package/dist/navbar/index.d.ts +1 -2
- package/dist/pagination/Pagination.svelte +15 -11
- package/dist/pagination/Pagination.svelte.d.ts +14 -11
- package/dist/pagination/PaginationItem.svelte +13 -9
- package/dist/pagination/PaginationItem.svelte.d.ts +11 -8
- package/dist/pagination/index.d.ts +1 -2
- package/dist/popover/Popover.svelte +17 -13
- package/dist/popover/Popover.svelte.d.ts +13 -10
- package/dist/popover/index.d.ts +1 -7
- package/dist/popover/index.js +0 -5
- package/dist/popover/theme.d.ts +0 -117
- package/dist/popover/theme.js +5 -693
- package/dist/progress/Progressbar.svelte +23 -19
- package/dist/progress/Progressbar.svelte.d.ts +20 -17
- package/dist/progress/index.d.ts +1 -2
- package/dist/progress/theme.d.ts +12 -0
- package/dist/progress/theme.js +4 -1
- package/dist/rating/AdvancedRating.svelte +15 -12
- package/dist/rating/AdvancedRating.svelte.d.ts +14 -12
- package/dist/rating/CustomIcon.svelte +16 -13
- package/dist/rating/CustomIcon.svelte.d.ts +16 -13
- package/dist/rating/Heart.svelte +15 -12
- package/dist/rating/Heart.svelte.d.ts +15 -12
- package/dist/rating/Rating.svelte +15 -12
- package/dist/rating/Rating.svelte.d.ts +14 -12
- package/dist/rating/RatingComment.svelte +10 -8
- package/dist/rating/RatingComment.svelte.d.ts +10 -8
- package/dist/rating/Review.svelte +19 -16
- package/dist/rating/Review.svelte.d.ts +18 -16
- package/dist/rating/ScoreRating.svelte +9 -6
- package/dist/rating/ScoreRating.svelte.d.ts +8 -6
- package/dist/rating/Star.svelte +15 -12
- package/dist/rating/Star.svelte.d.ts +15 -12
- package/dist/rating/Thumbup.svelte +15 -12
- package/dist/rating/Thumbup.svelte.d.ts +15 -12
- package/dist/rating/index.d.ts +1 -2
- package/dist/sidebar/Sidebar.svelte +24 -20
- package/dist/sidebar/Sidebar.svelte.d.ts +23 -20
- package/dist/sidebar/SidebarBrand.svelte +12 -8
- package/dist/sidebar/SidebarBrand.svelte.d.ts +11 -8
- package/dist/sidebar/SidebarButton.svelte +9 -5
- package/dist/sidebar/SidebarButton.svelte.d.ts +8 -5
- package/dist/sidebar/SidebarCta.svelte +14 -9
- package/dist/sidebar/SidebarCta.svelte.d.ts +12 -9
- package/dist/sidebar/SidebarDropdownWrapper.svelte +21 -18
- package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +20 -17
- package/dist/sidebar/SidebarGroup.svelte +10 -7
- package/dist/sidebar/SidebarGroup.svelte.d.ts +10 -7
- package/dist/sidebar/SidebarItem.svelte +16 -13
- package/dist/sidebar/SidebarItem.svelte.d.ts +16 -13
- package/dist/sidebar/SidebarWrapper.svelte +4 -3
- package/dist/sidebar/SidebarWrapper.svelte.d.ts +4 -5
- package/dist/sidebar/index.d.ts +1 -2
- package/dist/skeleton/CardPlaceholder.svelte +9 -5
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +8 -5
- package/dist/skeleton/ImagePlaceholder.svelte +10 -6
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +9 -6
- package/dist/skeleton/ListPlaceholder.svelte +11 -7
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +10 -7
- package/dist/skeleton/Skeleton.svelte +10 -5
- package/dist/skeleton/Skeleton.svelte.d.ts +8 -5
- package/dist/skeleton/TestimonialPlaceholder.svelte +2 -2
- package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/TextPlaceholder.svelte +9 -5
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +8 -5
- package/dist/skeleton/VideoPlaceholder.svelte +8 -5
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +7 -5
- package/dist/skeleton/WidgetPlaceholder.svelte +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/index.d.ts +1 -2
- package/dist/speed-dial/SpeedDial.svelte +14 -11
- package/dist/speed-dial/SpeedDial.svelte.d.ts +14 -11
- package/dist/speed-dial/SpeedDialButton.svelte +14 -11
- package/dist/speed-dial/SpeedDialButton.svelte.d.ts +14 -11
- package/dist/speed-dial/SpeedDialTrigger.svelte +14 -12
- package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +13 -10
- package/dist/speed-dial/index.d.ts +1 -2
- package/dist/spinner/Spinner.svelte +12 -8
- package/dist/spinner/Spinner.svelte.d.ts +11 -8
- package/dist/spinner/index.d.ts +1 -2
- package/dist/table/Table.svelte +18 -14
- package/dist/table/Table.svelte.d.ts +17 -14
- package/dist/table/TableBody.svelte +10 -6
- package/dist/table/TableBody.svelte.d.ts +9 -6
- package/dist/table/TableBodyCell.svelte +11 -7
- package/dist/table/TableBodyCell.svelte.d.ts +10 -7
- package/dist/table/TableBodyRow.svelte +13 -9
- package/dist/table/TableBodyRow.svelte.d.ts +12 -9
- package/dist/table/TableHead.svelte +15 -11
- package/dist/table/TableHead.svelte.d.ts +14 -11
- package/dist/table/TableHeadCell.svelte +9 -5
- package/dist/table/TableHeadCell.svelte.d.ts +8 -5
- package/dist/table/TableSearch.svelte +23 -20
- package/dist/table/TableSearch.svelte.d.ts +23 -20
- package/dist/table/index.d.ts +1 -2
- package/dist/tabs/TabItem.svelte +16 -12
- package/dist/tabs/TabItem.svelte.d.ts +15 -12
- package/dist/tabs/Tabs.svelte +12 -8
- package/dist/tabs/Tabs.svelte.d.ts +11 -8
- package/dist/tabs/index.d.ts +1 -2
- package/dist/theme/Theme.svelte +8 -10
- package/dist/theme/Theme.svelte.d.ts +7 -10
- package/dist/theme/index.d.ts +88 -350
- package/dist/theme/index.js +1 -0
- package/dist/timeline/Activity.svelte +9 -5
- package/dist/timeline/Activity.svelte.d.ts +8 -5
- package/dist/timeline/ActivityItem.svelte +16 -12
- package/dist/timeline/ActivityItem.svelte.d.ts +15 -12
- package/dist/timeline/Group.svelte +12 -9
- package/dist/timeline/Group.svelte.d.ts +11 -8
- package/dist/timeline/GroupItem.svelte +13 -10
- package/dist/timeline/GroupItem.svelte.d.ts +12 -9
- package/dist/timeline/Timeline.svelte +10 -7
- package/dist/timeline/Timeline.svelte.d.ts +9 -6
- package/dist/timeline/TimelineItem.svelte +17 -14
- package/dist/timeline/TimelineItem.svelte.d.ts +16 -13
- package/dist/timeline/index.d.ts +1 -2
- package/dist/timeline/theme.d.ts +6 -7
- package/dist/timeline/theme.js +1 -0
- package/dist/toast/Toast.svelte +19 -15
- package/dist/toast/Toast.svelte.d.ts +18 -15
- package/dist/toast/index.d.ts +1 -2
- package/dist/toolbar/Toolbar.svelte +12 -8
- package/dist/toolbar/Toolbar.svelte.d.ts +11 -8
- package/dist/toolbar/ToolbarButton.svelte +14 -10
- package/dist/toolbar/ToolbarButton.svelte.d.ts +13 -10
- package/dist/toolbar/ToolbarGroup.svelte +12 -8
- package/dist/toolbar/ToolbarGroup.svelte.d.ts +11 -8
- package/dist/toolbar/index.d.ts +1 -2
- package/dist/tooltip/Tooltip.svelte +17 -17
- package/dist/tooltip/Tooltip.svelte.d.ts +13 -10
- package/dist/tooltip/index.d.ts +1 -2
- package/dist/tooltip/theme.d.ts +30 -34
- package/dist/tooltip/theme.js +28 -46
- package/dist/types.d.ts +1327 -4
- package/dist/types.js +3 -0
- package/dist/typography/anchor/A.svelte +10 -6
- package/dist/typography/anchor/A.svelte.d.ts +9 -6
- package/dist/typography/anchor/index.d.ts +1 -2
- package/dist/typography/blockquote/Blockquote.svelte +14 -10
- package/dist/typography/blockquote/Blockquote.svelte.d.ts +13 -10
- package/dist/typography/blockquote/index.d.ts +1 -2
- package/dist/typography/descriptionlist/DescriptionList.svelte +10 -6
- package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +9 -6
- package/dist/typography/descriptionlist/index.d.ts +1 -2
- package/dist/typography/heading/Heading.svelte +10 -6
- package/dist/typography/heading/Heading.svelte.d.ts +9 -6
- package/dist/typography/heading/index.d.ts +1 -2
- package/dist/typography/hr/Hr.svelte +11 -7
- package/dist/typography/hr/Hr.svelte.d.ts +10 -7
- package/dist/typography/hr/index.d.ts +1 -2
- package/dist/typography/img/EnhancedImg.svelte +15 -10
- package/dist/typography/img/EnhancedImg.svelte.d.ts +13 -10
- package/dist/typography/img/Img.svelte +14 -10
- package/dist/typography/img/Img.svelte.d.ts +13 -10
- package/dist/typography/img/index.d.ts +1 -2
- package/dist/typography/layout/Layout.svelte +9 -5
- package/dist/typography/layout/Layout.svelte.d.ts +8 -5
- package/dist/typography/layout/index.d.ts +1 -2
- package/dist/typography/list/Li.svelte +9 -6
- package/dist/typography/list/Li.svelte.d.ts +9 -6
- package/dist/typography/list/List.svelte +13 -9
- package/dist/typography/list/List.svelte.d.ts +12 -9
- package/dist/typography/list/index.d.ts +1 -2
- package/dist/typography/mark/Mark.svelte +9 -5
- package/dist/typography/mark/Mark.svelte.d.ts +8 -5
- package/dist/typography/mark/index.d.ts +1 -2
- package/dist/typography/paragraph/P.svelte +18 -14
- package/dist/typography/paragraph/P.svelte.d.ts +17 -14
- package/dist/typography/paragraph/index.d.ts +1 -2
- package/dist/typography/secondary/Secondary.svelte +9 -5
- package/dist/typography/secondary/Secondary.svelte.d.ts +8 -5
- package/dist/typography/secondary/index.d.ts +1 -2
- package/dist/typography/span/Span.svelte +18 -14
- package/dist/typography/span/Span.svelte.d.ts +17 -14
- package/dist/typography/span/index.d.ts +1 -2
- package/dist/utils/Arrow.svelte +10 -5
- package/dist/utils/Arrow.svelte.d.ts +1 -2
- package/dist/utils/CloseButton.svelte +11 -8
- package/dist/utils/CloseButton.svelte.d.ts +11 -8
- package/dist/utils/Popper.svelte +33 -56
- package/dist/utils/Popper.svelte.d.ts +18 -37
- package/dist/video/Video.svelte +13 -10
- package/dist/video/Video.svelte.d.ts +13 -10
- package/dist/video/index.d.ts +1 -2
- package/package.json +35 -34
- package/dist/accordion/type.d.ts +0 -35
- package/dist/accordion/type.js +0 -1
- package/dist/alert/type.d.ts +0 -15
- package/dist/alert/type.js +0 -1
- package/dist/avatar/type.d.ts +0 -16
- package/dist/avatar/type.js +0 -1
- package/dist/badge/type.d.ts +0 -18
- package/dist/badge/type.js +0 -1
- package/dist/banner/type.d.ts +0 -20
- package/dist/banner/type.js +0 -1
- package/dist/bottom-navigation/type.d.ts +0 -42
- package/dist/bottom-navigation/type.js +0 -1
- package/dist/breadcrumb/type.d.ts +0 -19
- package/dist/breadcrumb/type.js +0 -1
- package/dist/buttongroup/type.d.ts +0 -8
- package/dist/buttongroup/type.js +0 -1
- package/dist/buttons/type.d.ts +0 -16
- package/dist/buttons/type.js +0 -1
- package/dist/cards/Card.svelte.d.ts +0 -20
- package/dist/cards/index.d.ts +0 -4
- package/dist/cards/type.d.ts +0 -26
- package/dist/cards/type.js +0 -1
- package/dist/carousel/type.d.ts +0 -62
- package/dist/carousel/type.js +0 -1
- package/dist/chart/type.d.ts +0 -6
- package/dist/chart/type.js +0 -1
- package/dist/darkmode/type.d.ts +0 -10
- package/dist/darkmode/type.js +0 -1
- package/dist/datepicker/type.d.ts +0 -29
- package/dist/datepicker/type.js +0 -1
- package/dist/device-mockups/type.d.ts +0 -61
- package/dist/device-mockups/type.js +0 -1
- package/dist/drawer/type.d.ts +0 -19
- package/dist/drawer/type.js +0 -1
- package/dist/dropdown/type.d.ts +0 -28
- package/dist/dropdown/type.js +0 -1
- package/dist/footer/type.d.ts +0 -43
- package/dist/footer/type.js +0 -1
- package/dist/forms/checkbox/type.d.ts +0 -21
- package/dist/forms/checkbox/type.js +0 -1
- package/dist/forms/checkbox-button/type.d.ts +0 -14
- package/dist/forms/checkbox-button/type.js +0 -1
- package/dist/forms/dropzone/type.d.ts +0 -7
- package/dist/forms/dropzone/type.js +0 -1
- package/dist/forms/fileupload/type.d.ts +0 -10
- package/dist/forms/fileupload/type.js +0 -1
- package/dist/forms/floating-label-input/type.d.ts +0 -15
- package/dist/forms/floating-label-input/type.js +0 -1
- package/dist/forms/helper/type.d.ts +0 -5
- package/dist/forms/helper/type.js +0 -1
- package/dist/forms/input/type.d.ts +0 -19
- package/dist/forms/input/type.js +0 -1
- package/dist/forms/input-addon/type.d.ts +0 -8
- package/dist/forms/input-addon/type.js +0 -1
- package/dist/forms/label/type.d.ts +0 -9
- package/dist/forms/label/type.js +0 -1
- package/dist/forms/radio/type.d.ts +0 -9
- package/dist/forms/radio/type.js +0 -1
- package/dist/forms/radio-button/type.d.ts +0 -13
- package/dist/forms/radio-button/type.js +0 -1
- package/dist/forms/range/type.d.ts +0 -6
- package/dist/forms/range/type.js +0 -1
- package/dist/forms/search/type.d.ts +0 -8
- package/dist/forms/search/type.js +0 -1
- package/dist/forms/select/type.d.ts +0 -24
- package/dist/forms/select/type.js +0 -1
- package/dist/forms/textarea/type.d.ts +0 -14
- package/dist/forms/textarea/type.js +0 -1
- package/dist/forms/toggle/type.d.ts +0 -12
- package/dist/forms/toggle/type.js +0 -1
- package/dist/gallery/type.d.ts +0 -13
- package/dist/gallery/type.js +0 -1
- package/dist/indicator/type.d.ts +0 -13
- package/dist/indicator/type.js +0 -1
- package/dist/list-group/type.d.ts +0 -32
- package/dist/list-group/type.js +0 -1
- package/dist/mega-menu/type.d.ts +0 -14
- package/dist/mega-menu/type.js +0 -1
- package/dist/modal/type.d.ts +0 -19
- package/dist/modal/type.js +0 -1
- package/dist/navbar/type.d.ts +0 -40
- package/dist/navbar/type.js +0 -1
- package/dist/pagination/type.d.ts +0 -24
- package/dist/pagination/type.js +0 -1
- package/dist/popover/type.d.ts +0 -12
- package/dist/popover/type.js +0 -1
- package/dist/progress/type.d.ts +0 -20
- package/dist/progress/type.js +0 -1
- package/dist/rating/type.d.ts +0 -108
- package/dist/rating/type.js +0 -1
- package/dist/sidebar/type.d.ts +0 -80
- package/dist/sidebar/type.js +0 -1
- package/dist/skeleton/type.d.ts +0 -24
- package/dist/skeleton/type.js +0 -1
- package/dist/speed-dial/type.d.ts +0 -34
- package/dist/speed-dial/type.js +0 -1
- package/dist/spinner/type.d.ts +0 -9
- package/dist/spinner/type.js +0 -1
- package/dist/table/type.d.ts +0 -81
- package/dist/table/type.js +0 -1
- package/dist/tabs/type.d.ts +0 -29
- package/dist/tabs/type.js +0 -2
- package/dist/timeline/type.d.ts +0 -65
- package/dist/timeline/type.js +0 -1
- package/dist/toast/type.d.ts +0 -19
- package/dist/toast/type.js +0 -1
- package/dist/toolbar/type.d.ts +0 -13
- package/dist/toolbar/type.js +0 -1
- package/dist/tooltip/type.d.ts +0 -7
- package/dist/tooltip/type.js +0 -1
- package/dist/typography/anchor/type.d.ts +0 -8
- package/dist/typography/anchor/type.js +0 -1
- package/dist/typography/blockquote/type.d.ts +0 -12
- package/dist/typography/blockquote/type.js +0 -1
- package/dist/typography/descriptionlist/type.d.ts +0 -8
- package/dist/typography/descriptionlist/type.js +0 -1
- package/dist/typography/heading/type.d.ts +0 -8
- package/dist/typography/heading/type.js +0 -1
- package/dist/typography/hr/type.d.ts +0 -10
- package/dist/typography/hr/type.js +0 -1
- package/dist/typography/img/type.d.ts +0 -25
- package/dist/typography/img/type.js +0 -1
- package/dist/typography/layout/type.d.ts +0 -6
- package/dist/typography/layout/type.js +0 -1
- package/dist/typography/list/type.d.ts +0 -15
- package/dist/typography/list/type.js +0 -1
- package/dist/typography/mark/type.d.ts +0 -6
- package/dist/typography/mark/type.js +0 -1
- package/dist/typography/paragraph/type.d.ts +0 -16
- package/dist/typography/paragraph/type.js +0 -1
- package/dist/typography/secondary/type.d.ts +0 -6
- package/dist/typography/secondary/type.js +0 -1
- package/dist/typography/span/type.d.ts +0 -16
- package/dist/typography/span/type.js +0 -1
- package/dist/video/type.d.ts +0 -11
- package/dist/video/type.js +0 -1
- /package/{LICENSE → License} +0 -0
- /package/dist/{cards/index.js → card/index.d.ts} +0 -0
package/README.md
CHANGED
|
@@ -1,31 +1,29 @@
|
|
|
1
1
|
# FLOWBITE-SVELTE
|
|
2
2
|
|
|
3
|
-
[](https://www.npmjs.com/package/flowbite-svelte) [](https://www.npmjs.com/package/flowbite-svelte) [](https://www.npmjs.com/package/flowbite-svelte) [](https://github.com/themesberg/flowbite-svelte/blob/main/LICENSE) [](https://discord.com/invite/4eeurUVvTy)
|
|
6
4
|
|
|
7
5
|
<p>
|
|
8
|
-
<a href="https://flowbite-svelte
|
|
9
|
-
<img alt="Flowbite Svelte UI components" width="350" src="https://raw.githubusercontent.com/themesberg/flowbite-svelte/main/static/images/flowbite-svelte
|
|
6
|
+
<a href="https://flowbite-svelte.com" >
|
|
7
|
+
<img alt="Flowbite Svelte UI components" width="350" src="https://raw.githubusercontent.com/themesberg/flowbite-svelte/main/static/images/flowbite-svelte.png">
|
|
10
8
|
</a><br>
|
|
11
9
|
Build websites even faster with Svelte components on top of Tailwind CSS
|
|
12
10
|
</p>
|
|
13
11
|
|
|
14
|
-
[Flowbite Svelte](https://flowbite-svelte
|
|
12
|
+
[Flowbite Svelte](https://flowbite-svelte.com/) is an official Flowbite UI component library for Svelte. All interactivities are handled by Svelte.
|
|
15
13
|
|
|
16
|
-
[Visualize this repo's codebase](https://mango-dune-07a8b7110.1.azurestaticapps.net/?repo=themesberg%2Fflowbite-svelte
|
|
14
|
+
[Visualize this repo's codebase](https://mango-dune-07a8b7110.1.azurestaticapps.net/?repo=themesberg%2Fflowbite-svelte)
|
|
17
15
|
|
|
18
16
|
## Installation
|
|
19
17
|
|
|
20
|
-
- [Getting started](https://flowbite-svelte
|
|
21
|
-
- [Introduction](https://flowbite-svelte
|
|
22
|
-
- [Types](https://flowbite-svelte
|
|
23
|
-
- [How to contribute](https://flowbite-svelte
|
|
24
|
-
- [License](https://flowbite-svelte
|
|
18
|
+
- [Getting started](https://flowbite-svelte.com/docs/pages/quickstart)
|
|
19
|
+
- [Introduction](https://flowbite-svelte.com/docs/pages/introduction)
|
|
20
|
+
- [Types](https://flowbite-svelte.com/docs/pages/typescript)
|
|
21
|
+
- [How to contribute](https://flowbite-svelte.com/docs/pages/how-to-contribute)
|
|
22
|
+
- [License](https://flowbite-svelte.com/docs/pages/license)
|
|
25
23
|
|
|
26
24
|
## Documentation
|
|
27
25
|
|
|
28
|
-
For full documentation, visit [flowbite-svelte
|
|
26
|
+
For full documentation, visit [flowbite-svelte.com](https://flowbite-svelte.com/).
|
|
29
27
|
|
|
30
28
|
## Components
|
|
31
29
|
|
|
@@ -37,17 +35,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
37
35
|
</tr>
|
|
38
36
|
<tr>
|
|
39
37
|
<td width="33.3333%">
|
|
40
|
-
<a href="https://flowbite-svelte
|
|
38
|
+
<a href="https://flowbite-svelte.com/docs/components/alert">
|
|
41
39
|
<img alt="Svelte Alerts" src="https://flowbite.s3.amazonaws.com/github/svelte/alerts.jpg">
|
|
42
40
|
</a>
|
|
43
41
|
</td>
|
|
44
42
|
<td width="33.3333%">
|
|
45
|
-
<a href="https://flowbite-svelte
|
|
43
|
+
<a href="https://flowbite-svelte.com/docs/components/badge">
|
|
46
44
|
<img alt="Svelte Badge" src="https://flowbite.s3.amazonaws.com/github/svelte/badge.jpg">
|
|
47
45
|
</a>
|
|
48
46
|
</td>
|
|
49
47
|
<td width="33.3333%">
|
|
50
|
-
<a href="https://flowbite-svelte
|
|
48
|
+
<a href="https://flowbite-svelte.com/docs/components/breadcrumb">
|
|
51
49
|
<img alt="Svelte Breadcrumbs" src="https://flowbite.s3.amazonaws.com/github/svelte/breadcrumbs.jpg">
|
|
52
50
|
</a>
|
|
53
51
|
</td>
|
|
@@ -59,17 +57,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
59
57
|
</tr>
|
|
60
58
|
<tr>
|
|
61
59
|
<td width="33.3333%">
|
|
62
|
-
<a href="https://flowbite-svelte
|
|
60
|
+
<a href="https://flowbite-svelte.com/docs/components/buttons">
|
|
63
61
|
<img alt="Svelte Buttons" src="https://flowbite.s3.amazonaws.com/github/svelte/buttons.jpg">
|
|
64
62
|
</a>
|
|
65
63
|
</td>
|
|
66
64
|
<td width="33.3333%">
|
|
67
|
-
<a href="https://flowbite-svelte
|
|
65
|
+
<a href="https://flowbite-svelte.com/docs/components/button-group">
|
|
68
66
|
<img alt="Svelte Button Group" src="https://flowbite.s3.amazonaws.com/github/svelte/button-group.jpg">
|
|
69
67
|
</a>
|
|
70
68
|
</td>
|
|
71
69
|
<td width="33.3333%">
|
|
72
|
-
<a href="https://flowbite-svelte
|
|
70
|
+
<a href="https://flowbite-svelte.com/docs/components/card">
|
|
73
71
|
<img alt="Svelte Cards" src="https://flowbite.s3.amazonaws.com/github/svelte/cards.jpg">
|
|
74
72
|
</a>
|
|
75
73
|
</td>
|
|
@@ -81,17 +79,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
81
79
|
</tr>
|
|
82
80
|
<tr>
|
|
83
81
|
<td width="33.3333%">
|
|
84
|
-
<a href="https://flowbite-svelte
|
|
82
|
+
<a href="https://flowbite-svelte.com/docs/components/dropdown">
|
|
85
83
|
<img alt="Svelte Dropdown" src="https://flowbite.s3.amazonaws.com/github/svelte/dropdown.jpg">
|
|
86
84
|
</a>
|
|
87
85
|
</td>
|
|
88
86
|
<td width="33.3333%">
|
|
89
|
-
<a href="https://flowbite-svelte
|
|
87
|
+
<a href="https://flowbite-svelte.com/docs/components/forms">
|
|
90
88
|
<img alt="Svelte Forms" src="https://flowbite.s3.amazonaws.com/github/svelte/forms.jpg">
|
|
91
89
|
</a>
|
|
92
90
|
</td>
|
|
93
91
|
<td width="33.3333%">
|
|
94
|
-
<a href="https://flowbite-svelte
|
|
92
|
+
<a href="https://flowbite-svelte.com/docs/components/list-group">
|
|
95
93
|
<img alt="Svelte List group" src="https://flowbite.s3.amazonaws.com/github/svelte/list-group.jpg">
|
|
96
94
|
</a>
|
|
97
95
|
</td>
|
|
@@ -103,17 +101,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
103
101
|
</tr>
|
|
104
102
|
<tr>
|
|
105
103
|
<td width="33.3333%">
|
|
106
|
-
<a href="https://flowbite-svelte
|
|
104
|
+
<a href="https://flowbite-svelte.com/docs/components/typography">
|
|
107
105
|
<img alt="Svelte Typography" src="https://flowbite.s3.amazonaws.com/github/svelte/typography.jpg">
|
|
108
106
|
</a>
|
|
109
107
|
</td>
|
|
110
108
|
<td width="33.3333%">
|
|
111
|
-
<a href="https://flowbite-svelte
|
|
109
|
+
<a href="https://flowbite-svelte.com/docs/components/modal">
|
|
112
110
|
<img alt="Svelte Modal" src="https://flowbite.s3.amazonaws.com/github/svelte/modal.jpg">
|
|
113
111
|
</a>
|
|
114
112
|
</td>
|
|
115
113
|
<td width="33.3333%">
|
|
116
|
-
<a href="https://flowbite-svelte
|
|
114
|
+
<a href="https://flowbite-svelte.com/docs/components/tabs">
|
|
117
115
|
<img alt="Svelte Tabs" src="https://flowbite.s3.amazonaws.com/github/svelte/tabs.jpg">
|
|
118
116
|
</a>
|
|
119
117
|
</td>
|
|
@@ -125,17 +123,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
125
123
|
</tr>
|
|
126
124
|
<tr>
|
|
127
125
|
<td width="33.3333%">
|
|
128
|
-
<a href="https://flowbite-svelte
|
|
126
|
+
<a href="https://flowbite-svelte.com/docs/components/navbar">
|
|
129
127
|
<img alt="Svelte Navbar" src="https://flowbite.s3.amazonaws.com/github/svelte/navbar.jpg">
|
|
130
128
|
</a>
|
|
131
129
|
</td>
|
|
132
130
|
<td width="33.3333%">
|
|
133
|
-
<a href="https://flowbite-svelte
|
|
131
|
+
<a href="https://flowbite-svelte.com/docs/components/pagination">
|
|
134
132
|
<img alt="Svelte Pagination" src="https://flowbite.s3.amazonaws.com/github/svelte/pagination.jpg">
|
|
135
133
|
</a>
|
|
136
134
|
</td>
|
|
137
135
|
<td width="33.3333%">
|
|
138
|
-
<a href="https://flowbite-svelte
|
|
136
|
+
<a href="https://flowbite-svelte.com/docs/components/timeline">
|
|
139
137
|
<img alt="Svelte Timeline" src="https://flowbite.s3.amazonaws.com/github/svelte/timeline.jpg">
|
|
140
138
|
</a>
|
|
141
139
|
</td>
|
|
@@ -147,17 +145,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
147
145
|
</tr>
|
|
148
146
|
<tr>
|
|
149
147
|
<td width="33.3333%">
|
|
150
|
-
<a href="https://flowbite-svelte
|
|
148
|
+
<a href="https://flowbite-svelte.com/docs/components/progress">
|
|
151
149
|
<img alt="Svelte Progress Bar" src="https://flowbite.s3.amazonaws.com/github/svelte/progress.jpg">
|
|
152
150
|
</a>
|
|
153
151
|
</td>
|
|
154
152
|
<td width="33.3333%">
|
|
155
|
-
<a href="https://flowbite-svelte
|
|
153
|
+
<a href="https://flowbite-svelte.com/docs/components/table">
|
|
156
154
|
<img alt="Svelte Tables" src="https://flowbite.s3.amazonaws.com/github/svelte/table.jpg">
|
|
157
155
|
</a>
|
|
158
156
|
</td>
|
|
159
157
|
<td width="33.3333%">
|
|
160
|
-
<a href="https://flowbite-svelte
|
|
158
|
+
<a href="https://flowbite-svelte.com/docs/components/toast">
|
|
161
159
|
<img alt="Svelte Toast" src="https://flowbite.s3.amazonaws.com/github/svelte/toast.jpg">
|
|
162
160
|
</a>
|
|
163
161
|
</td>
|
|
@@ -169,17 +167,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
169
167
|
</tr>
|
|
170
168
|
<tr>
|
|
171
169
|
<td width="33.3333%">
|
|
172
|
-
<a href="https://flowbite-svelte
|
|
170
|
+
<a href="https://flowbite-svelte.com/docs/components/tooltip">
|
|
173
171
|
<img alt="Svelte Tooltips" src="https://flowbite.s3.amazonaws.com/github/svelte/tooltips.jpg">
|
|
174
172
|
</a>
|
|
175
173
|
</td>
|
|
176
174
|
<td width="33.3333%">
|
|
177
|
-
<a href="https://flowbite-svelte
|
|
175
|
+
<a href="https://flowbite-svelte.com/docs/components/datepicker">
|
|
178
176
|
<img alt="Svelte Datepicker" src="https://flowbite.s3.amazonaws.com/github/svelte/datepicker.jpg">
|
|
179
177
|
</a>
|
|
180
178
|
</td>
|
|
181
179
|
<td width="33.3333%">
|
|
182
|
-
<a href="https://flowbite-svelte
|
|
180
|
+
<a href="https://flowbite-svelte.com/docs/components/spinner">
|
|
183
181
|
<img alt="Svelte Spinner" src="https://flowbite.s3.amazonaws.com/github/svelte/spinner.jpg">
|
|
184
182
|
</a>
|
|
185
183
|
</td>
|
|
@@ -191,17 +189,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
191
189
|
</tr>
|
|
192
190
|
<tr>
|
|
193
191
|
<td width="33.3333%">
|
|
194
|
-
<a href="https://flowbite-svelte
|
|
192
|
+
<a href="https://flowbite-svelte.com/docs/components/footer">
|
|
195
193
|
<img alt="Svelte Footer" src="https://flowbite.s3.amazonaws.com/github/svelte/footer.jpg">
|
|
196
194
|
</a>
|
|
197
195
|
</td>
|
|
198
196
|
<td width="33.3333%">
|
|
199
|
-
<a href="https://flowbite-svelte
|
|
197
|
+
<a href="https://flowbite-svelte.com/docs/components/accordion">
|
|
200
198
|
<img alt="Svelte Accordion" src="https://flowbite.s3.amazonaws.com/github/svelte/accordion.jpg">
|
|
201
199
|
</a>
|
|
202
200
|
</td>
|
|
203
201
|
<td width="33.3333%">
|
|
204
|
-
<a href="https://flowbite-svelte
|
|
202
|
+
<a href="https://flowbite-svelte.com/docs/components/sidebar">
|
|
205
203
|
<img alt="Svelte Sidebar" src="https://flowbite.s3.amazonaws.com/github/svelte/sidebar.jpg">
|
|
206
204
|
</a>
|
|
207
205
|
</td>
|
|
@@ -213,17 +211,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
213
211
|
</tr>
|
|
214
212
|
<tr>
|
|
215
213
|
<td width="33.3333%">
|
|
216
|
-
<a href="https://flowbite-svelte
|
|
214
|
+
<a href="https://flowbite-svelte.com/docs/components/carousel">
|
|
217
215
|
<img alt="Svelte Carousel" src="https://flowbite.s3.amazonaws.com/github/svelte/carousel.jpg">
|
|
218
216
|
</a>
|
|
219
217
|
</td>
|
|
220
218
|
<td width="33.3333%">
|
|
221
|
-
<a href="https://flowbite-svelte
|
|
219
|
+
<a href="https://flowbite-svelte.com/docs/components/avatar">
|
|
222
220
|
<img alt="Svelte Avatar" src="https://flowbite.s3.amazonaws.com/github/svelte/avatar.jpg">
|
|
223
221
|
</a>
|
|
224
222
|
</td>
|
|
225
223
|
<td width="33.3333%">
|
|
226
|
-
<a href="https://flowbite-svelte
|
|
224
|
+
<a href="https://flowbite-svelte.com/docs/components/rating">
|
|
227
225
|
<img alt="Svelte Rating" src="https://flowbite.s3.amazonaws.com/github/svelte/rating.jpg">
|
|
228
226
|
</a>
|
|
229
227
|
</td>
|
|
@@ -235,17 +233,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
235
233
|
</tr>
|
|
236
234
|
<tr>
|
|
237
235
|
<td width="33.3333%">
|
|
238
|
-
<a href="https://flowbite-svelte
|
|
236
|
+
<a href="https://flowbite-svelte.com/docs/forms/input-field">
|
|
239
237
|
<img alt="Svelte Input Field" src="https://flowbite.s3.amazonaws.com/github/svelte/input-field.jpg">
|
|
240
238
|
</a>
|
|
241
239
|
</td>
|
|
242
240
|
<td width="33.3333%">
|
|
243
|
-
<a href="https://flowbite-svelte
|
|
241
|
+
<a href="https://flowbite-svelte.com/docs/forms/file-input">
|
|
244
242
|
<img alt="Svelte File Input" src="https://flowbite.s3.amazonaws.com/github/svelte/file-input.jpg">
|
|
245
243
|
</a>
|
|
246
244
|
</td>
|
|
247
245
|
<td width="33.3333%">
|
|
248
|
-
<a href="https://flowbite-svelte
|
|
246
|
+
<a href="https://flowbite-svelte.com/docs/forms/search-input">
|
|
249
247
|
<img alt="Svelte Search Input" src="https://flowbite.s3.amazonaws.com/github/svelte/search-input.jpg">
|
|
250
248
|
</a>
|
|
251
249
|
</td>
|
|
@@ -257,17 +255,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
257
255
|
</tr>
|
|
258
256
|
<tr>
|
|
259
257
|
<td width="33.3333%">
|
|
260
|
-
<a href="https://flowbite-svelte
|
|
258
|
+
<a href="https://flowbite-svelte.com/docs/forms/select">
|
|
261
259
|
<img alt="Svelte Select" src="https://flowbite.s3.amazonaws.com/github/svelte/select.jpg">
|
|
262
260
|
</a>
|
|
263
261
|
</td>
|
|
264
262
|
<td width="33.3333%">
|
|
265
|
-
<a href="https://flowbite-svelte
|
|
263
|
+
<a href="https://flowbite-svelte.com/docs/forms/textarea">
|
|
266
264
|
<img alt="Svelte Textarea" src="https://flowbite.s3.amazonaws.com/github/svelte/textarea.jpg">
|
|
267
265
|
</a>
|
|
268
266
|
</td>
|
|
269
267
|
<td width="33.3333%">
|
|
270
|
-
<a href="https://flowbite-svelte
|
|
268
|
+
<a href="https://flowbite-svelte.com/docs/forms/checkbox">
|
|
271
269
|
<img alt="Svelte Checkbox" src="https://flowbite.s3.amazonaws.com/github/svelte/checkbox.jpg">
|
|
272
270
|
</a>
|
|
273
271
|
</td>
|
|
@@ -279,17 +277,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
279
277
|
</tr>
|
|
280
278
|
<tr>
|
|
281
279
|
<td width="33.3333%">
|
|
282
|
-
<a href="https://flowbite-svelte
|
|
280
|
+
<a href="https://flowbite-svelte.com/docs/forms/radio">
|
|
283
281
|
<img alt="Svelte Radio" src="https://flowbite.s3.amazonaws.com/github/svelte/radio.jpg">
|
|
284
282
|
</a>
|
|
285
283
|
</td>
|
|
286
284
|
<td width="33.3333%">
|
|
287
|
-
<a href="https://flowbite-svelte
|
|
285
|
+
<a href="https://flowbite-svelte.com/docs/forms/toggle">
|
|
288
286
|
<img alt="Svelte Toggle" src="https://flowbite.s3.amazonaws.com/github/svelte/toggle.jpg">
|
|
289
287
|
</a>
|
|
290
288
|
</td>
|
|
291
289
|
<td width="33.3333%">
|
|
292
|
-
<a href="https://flowbite-svelte
|
|
290
|
+
<a href="https://flowbite-svelte.com/docs/forms/range">
|
|
293
291
|
<img alt="Svelte Range Slider" src="https://flowbite.s3.amazonaws.com/github/svelte/range-slider.jpg">
|
|
294
292
|
</a>
|
|
295
293
|
</td>
|
|
@@ -301,17 +299,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
301
299
|
</tr>
|
|
302
300
|
<tr>
|
|
303
301
|
<td width="33.3333%">
|
|
304
|
-
<a href="https://flowbite-svelte
|
|
302
|
+
<a href="https://flowbite-svelte.com/docs/forms/floating-label">
|
|
305
303
|
<img alt="Svelte Floating Label" src="https://flowbite.s3.amazonaws.com/github/svelte/floating-label.jpg">
|
|
306
304
|
</a>
|
|
307
305
|
</td>
|
|
308
306
|
<td width="33.3333%">
|
|
309
|
-
<a href="https://flowbite-svelte
|
|
307
|
+
<a href="https://flowbite-svelte.com/docs/components/mega-menu">
|
|
310
308
|
<img alt="Svelte Mega Menu" src="https://flowbite.s3.amazonaws.com/github/svelte/mega-menu.jpg">
|
|
311
309
|
</a>
|
|
312
310
|
</td>
|
|
313
311
|
<td width="33.3333%">
|
|
314
|
-
<a href="https://flowbite-svelte
|
|
312
|
+
<a href="https://flowbite-svelte.com/docs/components/skeleton">
|
|
315
313
|
<img alt="Svelte Skeleton" src="https://flowbite.s3.amazonaws.com/github/svelte/skeleton.jpg">
|
|
316
314
|
</a>
|
|
317
315
|
</td>
|
|
@@ -323,17 +321,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
323
321
|
</tr>
|
|
324
322
|
<tr>
|
|
325
323
|
<td width="33.3333%">
|
|
326
|
-
<a href="https://flowbite-svelte
|
|
324
|
+
<a href="https://flowbite-svelte.com/docs/components/kbd">
|
|
327
325
|
<img alt="Svelte KBD (Keyboard)" src="https://flowbite.s3.amazonaws.com/github/svelte/kbd.jpg">
|
|
328
326
|
</a>
|
|
329
327
|
</td>
|
|
330
328
|
<td width="33.3333%">
|
|
331
|
-
<a href="https://flowbite-svelte
|
|
329
|
+
<a href="https://flowbite-svelte.com/docs/components/drawer">
|
|
332
330
|
<img alt="Svelte Drawer (offcanvas)" src="https://flowbite.s3.amazonaws.com/github/svelte/drawer.jpg">
|
|
333
331
|
</a>
|
|
334
332
|
</td>
|
|
335
333
|
<td width="33.3333%">
|
|
336
|
-
<a href="https://flowbite-svelte
|
|
334
|
+
<a href="https://flowbite-svelte.com/docs/components/popover">
|
|
337
335
|
<img alt="Svelte Popover" src="https://flowbite.s3.amazonaws.com/github/svelte/popover.jpg">
|
|
338
336
|
</a>
|
|
339
337
|
</td>
|
|
@@ -345,17 +343,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
345
343
|
</tr>
|
|
346
344
|
<tr>
|
|
347
345
|
<td width="33.3333%">
|
|
348
|
-
<a href="https://flowbite-svelte
|
|
346
|
+
<a href="https://flowbite-svelte.com/docs/components/video">
|
|
349
347
|
<img alt="Svelte Video" src="https://flowbite.s3.amazonaws.com/github/svelte/video.jpg">
|
|
350
348
|
</a>
|
|
351
349
|
</td>
|
|
352
350
|
<td width="33.3333%">
|
|
353
|
-
<a href="https://flowbite-svelte
|
|
351
|
+
<a href="https://flowbite-svelte.com/typography/heading">
|
|
354
352
|
<img alt="Svelte Heading" src="https://flowbite.s3.amazonaws.com/github/svelte/heading.jpg">
|
|
355
353
|
</a>
|
|
356
354
|
</td>
|
|
357
355
|
<td width="33.3333%">
|
|
358
|
-
<a href="https://flowbite-svelte
|
|
356
|
+
<a href="https://flowbite-svelte.com/typography/paragraph">
|
|
359
357
|
<img alt="Svelte Paragraph" src="https://flowbite.s3.amazonaws.com/github/svelte/paragraph.jpg">
|
|
360
358
|
</a>
|
|
361
359
|
</td>
|
|
@@ -367,17 +365,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
367
365
|
</tr>
|
|
368
366
|
<tr>
|
|
369
367
|
<td width="33.3333%">
|
|
370
|
-
<a href="https://flowbite-svelte
|
|
368
|
+
<a href="https://flowbite-svelte.com/typography/blockquote">
|
|
371
369
|
<img alt="Svelte Blockquote" src="https://flowbite.s3.amazonaws.com/github/svelte/blockquote.jpg">
|
|
372
370
|
</a>
|
|
373
371
|
</td>
|
|
374
372
|
<td width="33.3333%">
|
|
375
|
-
<a href="https://flowbite-svelte
|
|
373
|
+
<a href="https://flowbite-svelte.com/typography/image">
|
|
376
374
|
<img alt="Svelte Image" src="https://flowbite.s3.amazonaws.com/github/svelte/image.jpg">
|
|
377
375
|
</a>
|
|
378
376
|
</td>
|
|
379
377
|
<td width="33.3333%">
|
|
380
|
-
<a href="https://flowbite-svelte
|
|
378
|
+
<a href="https://flowbite-svelte.com/typography/list">
|
|
381
379
|
<img alt="Svelte List" src="https://flowbite.s3.amazonaws.com/github/svelte/list.jpg">
|
|
382
380
|
</a>
|
|
383
381
|
</td>
|
|
@@ -389,17 +387,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
389
387
|
</tr>
|
|
390
388
|
<tr>
|
|
391
389
|
<td width="33.3333%">
|
|
392
|
-
<a href="https://flowbite-svelte
|
|
390
|
+
<a href="https://flowbite-svelte.com/typography/link">
|
|
393
391
|
<img alt="Svelte Link" src="https://flowbite.s3.amazonaws.com/github/svelte/link.jpg">
|
|
394
392
|
</a>
|
|
395
393
|
</td>
|
|
396
394
|
<td width="33.3333%">
|
|
397
|
-
<a href="https://flowbite-svelte
|
|
395
|
+
<a href="https://flowbite-svelte.com/typography/text">
|
|
398
396
|
<img alt="Svelte Text" src="https://flowbite.s3.amazonaws.com/github/svelte/text.jpg">
|
|
399
397
|
</a>
|
|
400
398
|
</td>
|
|
401
399
|
<td width="33.3333%">
|
|
402
|
-
<a href="https://flowbite-svelte
|
|
400
|
+
<a href="https://flowbite-svelte.com/typography/hr">
|
|
403
401
|
<img alt="Svelte HR" src="https://flowbite.s3.amazonaws.com/github/svelte/hr.jpg">
|
|
404
402
|
</a>
|
|
405
403
|
</td>
|
|
@@ -411,17 +409,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
411
409
|
</tr>
|
|
412
410
|
<tr>
|
|
413
411
|
<td width="33.3333%">
|
|
414
|
-
<a href="https://flowbite-svelte
|
|
412
|
+
<a href="https://flowbite-svelte.com/docs/components/speed-dial">
|
|
415
413
|
<img alt="Svelte Speed Dial" src="https://flowbite.s3.amazonaws.com/github/svelte/dial.jpg">
|
|
416
414
|
</a>
|
|
417
415
|
</td>
|
|
418
416
|
<td width="33.3333%">
|
|
419
|
-
<a href="https://flowbite-svelte
|
|
417
|
+
<a href="https://flowbite-svelte.com">
|
|
420
418
|
<img alt="Svelte Stepper" src="https://flowbite.s3.amazonaws.com/github/svelte/stepper.jpg">
|
|
421
419
|
</a>
|
|
422
420
|
</td>
|
|
423
421
|
<td width="33.3333%">
|
|
424
|
-
<a href="https://flowbite-svelte
|
|
422
|
+
<a href="https://flowbite-svelte.com/docs/components/indicators">
|
|
425
423
|
<img alt="Svelte Indicators" src="https://flowbite.s3.amazonaws.com/github/svelte/indicators.jpg">
|
|
426
424
|
</a>
|
|
427
425
|
</td>
|
|
@@ -433,17 +431,17 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
433
431
|
</tr>
|
|
434
432
|
<tr>
|
|
435
433
|
<td width="33.3333%">
|
|
436
|
-
<a href="https://flowbite-svelte
|
|
434
|
+
<a href="https://flowbite-svelte.com/docs/components/bottom-navigation">
|
|
437
435
|
<img alt="Svelte Bottom Navigation Bar" src="https://flowbite.s3.amazonaws.com/github/svelte/bottom-bar.jpg">
|
|
438
436
|
</a>
|
|
439
437
|
</td>
|
|
440
438
|
<td width="33.3333%">
|
|
441
|
-
<a href="https://flowbite-svelte
|
|
439
|
+
<a href="https://flowbite-svelte.com/docs/components/banner">
|
|
442
440
|
<img alt="Svelte Bottom Sticky Banner" src="https://flowbite.s3.amazonaws.com/github/svelte/banner.jpg">
|
|
443
441
|
</a>
|
|
444
442
|
</td>
|
|
445
443
|
<td width="33.3333%">
|
|
446
|
-
<a href="https://flowbite-svelte
|
|
444
|
+
<a href="https://flowbite-svelte.com/docs/components/gallery">
|
|
447
445
|
<img alt="Svelte Image Gallery (Masonry)" src="https://flowbite.s3.amazonaws.com/github/svelte/gallery.jpg">
|
|
448
446
|
</a>
|
|
449
447
|
</td>
|
|
@@ -454,7 +452,7 @@ For full documentation, visit [flowbite-svelte-next.com](https://flowbite-svelte
|
|
|
454
452
|
|
|
455
453
|
If you need help or just want to discuss about the library join the community on Github:
|
|
456
454
|
|
|
457
|
-
⌨️ [Discuss about Flowbite on GitHub](https://github.com/themesberg/flowbite-svelte
|
|
455
|
+
⌨️ [Discuss about Flowbite on GitHub](https://github.com/themesberg/flowbite-svelte/discussions)
|
|
458
456
|
|
|
459
457
|
For casual chatting with others using the library:
|
|
460
458
|
|
|
@@ -462,12 +460,12 @@ For casual chatting with others using the library:
|
|
|
462
460
|
|
|
463
461
|
## Contribute
|
|
464
462
|
|
|
465
|
-
Please read [how to contribute](https://github.com/themesberg/flowbite-svelte
|
|
463
|
+
Please read [how to contribute](https://github.com/themesberg/flowbite-svelte/blob/main/CONTRIBUTING.md) if you'd like to be part of the Flowbite community of contributors.
|
|
466
464
|
|
|
467
465
|
## Changelog
|
|
468
466
|
|
|
469
|
-
View the full [changelog](https://github.com/themesberg/flowbite-svelte
|
|
467
|
+
View the full [changelog](https://github.com/themesberg/flowbite-svelte/blob/main/CHANGELOG.md) on this page.
|
|
470
468
|
|
|
471
469
|
## License
|
|
472
470
|
|
|
473
|
-
Flowbite Svelte is open-source under the [MIT License](https://flowbite-svelte
|
|
471
|
+
Flowbite Svelte is open-source under the [MIT License](https://flowbite-svelte.com/docs/pages/license).
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
2
|
import { setContext, getContext } from "svelte";
|
|
3
3
|
import { writable } from "svelte/store";
|
|
4
|
-
import {
|
|
5
|
-
import type { BaseThemes } from "../
|
|
4
|
+
import { accordion } from "./";
|
|
5
|
+
import type { AccordionProps, BaseThemes } from "../types";
|
|
6
6
|
import clsx from "clsx";
|
|
7
7
|
|
|
8
|
-
let { children, flush, activeClass, inactiveClass, multiple = false, class: className, ...restProps }:
|
|
8
|
+
let { children, flush, activeClass, inactiveClass, multiple = false, class: className, ...restProps }: AccordionProps = $props();
|
|
9
9
|
|
|
10
10
|
// Get merged theme from context
|
|
11
11
|
const context = getContext<BaseThemes>("themeConfig");
|
|
@@ -29,12 +29,15 @@
|
|
|
29
29
|
|
|
30
30
|
<!--
|
|
31
31
|
@component
|
|
32
|
-
[Go to docs](https://flowbite-svelte
|
|
32
|
+
[Go to docs](https://flowbite-svelte.com/)
|
|
33
|
+
## Type
|
|
34
|
+
[AccordionProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L186)
|
|
33
35
|
## Props
|
|
34
|
-
@
|
|
35
|
-
@
|
|
36
|
-
@
|
|
37
|
-
@
|
|
38
|
-
@
|
|
39
|
-
@
|
|
36
|
+
@prop children
|
|
37
|
+
@prop flush
|
|
38
|
+
@prop activeClass
|
|
39
|
+
@prop inactiveClass
|
|
40
|
+
@prop multiple = false
|
|
41
|
+
@prop class: className
|
|
42
|
+
@prop ...restProps
|
|
40
43
|
-->
|
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AccordionProps } from "../types";
|
|
2
2
|
/**
|
|
3
|
-
* [Go to docs](https://flowbite-svelte
|
|
3
|
+
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
|
+
* ## Type
|
|
5
|
+
* [AccordionProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L186)
|
|
4
6
|
* ## Props
|
|
5
|
-
* @
|
|
6
|
-
* @
|
|
7
|
-
* @
|
|
8
|
-
* @
|
|
9
|
-
* @
|
|
10
|
-
* @
|
|
7
|
+
* @prop children
|
|
8
|
+
* @prop flush
|
|
9
|
+
* @prop activeClass
|
|
10
|
+
* @prop inactiveClass
|
|
11
|
+
* @prop multiple = false
|
|
12
|
+
* @prop class: className
|
|
13
|
+
* @prop ...restProps
|
|
11
14
|
*/
|
|
12
|
-
declare const Accordion: import("svelte").Component<
|
|
15
|
+
declare const Accordion: import("svelte").Component<AccordionProps, {}, "">;
|
|
13
16
|
type Accordion = ReturnType<typeof Accordion>;
|
|
14
17
|
export default Accordion;
|
|
@@ -4,12 +4,11 @@
|
|
|
4
4
|
import { getContext } from "svelte";
|
|
5
5
|
import { writable } from "svelte/store";
|
|
6
6
|
|
|
7
|
-
import {
|
|
8
|
-
import type { ParamsType } from "../types";
|
|
9
|
-
import type { BaseThemes } from "../theme";
|
|
7
|
+
import { accordionitem } from ".";
|
|
8
|
+
import type { AccordionCtxType, AccordionItemProps, ParamsType, BaseThemes } from "../types";
|
|
10
9
|
import clsx from "clsx";
|
|
11
10
|
|
|
12
|
-
let { children, header, arrowup, arrowdown, open = $bindable(false), activeClass, inactiveClass, transitionType = slide, transitionParams, class: className }:
|
|
11
|
+
let { children, header, arrowup, arrowdown, open = $bindable(false), activeClass, inactiveClass, transitionType = slide, transitionParams, class: className }: AccordionItemProps = $props();
|
|
13
12
|
|
|
14
13
|
// Theme context
|
|
15
14
|
const context = getContext<BaseThemes>("themeConfig");
|
|
@@ -65,16 +64,18 @@
|
|
|
65
64
|
|
|
66
65
|
<!--
|
|
67
66
|
@component
|
|
68
|
-
[Go to docs](https://flowbite-svelte
|
|
67
|
+
[Go to docs](https://flowbite-svelte.com/)
|
|
68
|
+
## Type
|
|
69
|
+
[AccordionItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L197)
|
|
69
70
|
## Props
|
|
70
|
-
@
|
|
71
|
-
@
|
|
72
|
-
@
|
|
73
|
-
@
|
|
74
|
-
@
|
|
75
|
-
@
|
|
76
|
-
@
|
|
77
|
-
@
|
|
78
|
-
@
|
|
79
|
-
@
|
|
71
|
+
@prop children
|
|
72
|
+
@prop header
|
|
73
|
+
@prop arrowup
|
|
74
|
+
@prop arrowdown
|
|
75
|
+
@prop open = $bindable(false)
|
|
76
|
+
@prop activeClass
|
|
77
|
+
@prop inactiveClass
|
|
78
|
+
@prop transitionType = slide
|
|
79
|
+
@prop transitionParams
|
|
80
|
+
@prop class: className
|
|
80
81
|
-->
|
|
@@ -1,18 +1,20 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { AccordionItemProps } from "../types";
|
|
2
2
|
/**
|
|
3
|
-
* [Go to docs](https://flowbite-svelte
|
|
3
|
+
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
|
+
* ## Type
|
|
5
|
+
* [AccordionItemProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L197)
|
|
4
6
|
* ## Props
|
|
5
|
-
* @
|
|
6
|
-
* @
|
|
7
|
-
* @
|
|
8
|
-
* @
|
|
9
|
-
* @
|
|
10
|
-
* @
|
|
11
|
-
* @
|
|
12
|
-
* @
|
|
13
|
-
* @
|
|
14
|
-
* @
|
|
7
|
+
* @prop children
|
|
8
|
+
* @prop header
|
|
9
|
+
* @prop arrowup
|
|
10
|
+
* @prop arrowdown
|
|
11
|
+
* @prop open = $bindable(false)
|
|
12
|
+
* @prop activeClass
|
|
13
|
+
* @prop inactiveClass
|
|
14
|
+
* @prop transitionType = slide
|
|
15
|
+
* @prop transitionParams
|
|
16
|
+
* @prop class: className
|
|
15
17
|
*/
|
|
16
|
-
declare const AccordionItem: import("svelte").Component<
|
|
18
|
+
declare const AccordionItem: import("svelte").Component<AccordionItemProps, {}, "open">;
|
|
17
19
|
type AccordionItem = ReturnType<typeof AccordionItem>;
|
|
18
20
|
export default AccordionItem;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import Accordion from "./Accordion.svelte";
|
|
2
2
|
import AccordionItem from "./AccordionItem.svelte";
|
|
3
|
-
import type { AccordionCtxType, AccordionProps, AccordionItemProps } from "./type";
|
|
4
3
|
import { accordion, accordionitem } from "./theme";
|
|
5
|
-
export { AccordionItem, accordionitem,
|
|
4
|
+
export { AccordionItem, accordionitem, Accordion, accordion };
|