flowbite-svelte 0.48.4 → 1.0.0-next.2
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 +31 -31
- package/dist/accordion/Accordion.svelte.d.ts +11 -45
- package/dist/accordion/AccordionItem.svelte +64 -82
- package/dist/accordion/AccordionItem.svelte.d.ts +15 -47
- package/dist/accordion/index.d.ts +5 -0
- package/dist/accordion/index.js +4 -0
- package/dist/accordion/theme.d.ts +80 -0
- package/dist/accordion/theme.js +55 -0
- package/dist/accordion/type.d.ts +35 -0
- package/dist/accordion/type.js +1 -0
- package/dist/alert/Alert.svelte +81 -24
- package/dist/alert/Alert.svelte.d.ts +17 -40
- package/dist/alert/index.d.ts +4 -0
- package/dist/alert/index.js +3 -0
- package/dist/alert/theme.d.ts +109 -0
- package/dist/alert/theme.js +150 -0
- package/dist/alert/type.d.ts +15 -0
- package/dist/alert/type.js +1 -0
- package/dist/avatar/Avatar.svelte +47 -40
- package/dist/avatar/Avatar.svelte.d.ts +14 -22
- package/dist/avatar/index.d.ts +4 -0
- package/dist/avatar/index.js +3 -0
- package/dist/avatar/theme.d.ts +62 -0
- package/dist/avatar/theme.js +32 -0
- package/dist/avatar/type.d.ts +16 -0
- package/dist/avatar/type.js +1 -0
- package/dist/badge/Badge.svelte +51 -81
- package/dist/badge/Badge.svelte.d.ts +20 -33
- package/dist/badge/index.d.ts +4 -0
- package/dist/badge/index.js +3 -0
- package/dist/badge/theme.d.ts +235 -0
- package/dist/badge/theme.js +251 -0
- package/dist/badge/type.d.ts +19 -0
- package/dist/badge/type.js +1 -0
- package/dist/banner/Banner.svelte +43 -49
- package/dist/banner/Banner.svelte.d.ts +16 -41
- package/dist/banner/index.d.ts +4 -0
- package/dist/banner/index.js +3 -0
- package/dist/banner/theme.d.ts +317 -0
- package/dist/banner/theme.js +68 -0
- package/dist/banner/type.d.ts +20 -0
- package/dist/banner/type.js +1 -0
- package/dist/bottom-navigation/BottomNav.svelte +36 -56
- package/dist/bottom-navigation/BottomNav.svelte.d.ts +13 -33
- package/dist/bottom-navigation/BottomNavHeader.svelte +11 -12
- package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +8 -17
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte +8 -11
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +7 -23
- package/dist/bottom-navigation/BottomNavItem.svelte +70 -55
- package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +13 -39
- package/dist/bottom-navigation/index.d.ts +7 -0
- package/dist/bottom-navigation/index.js +6 -0
- package/dist/bottom-navigation/theme.d.ts +343 -0
- package/dist/bottom-navigation/theme.js +113 -0
- package/dist/bottom-navigation/type.d.ts +42 -0
- package/dist/bottom-navigation/type.js +1 -0
- package/dist/breadcrumb/Breadcrumb.svelte +24 -17
- package/dist/breadcrumb/Breadcrumb.svelte.d.ts +10 -21
- package/dist/breadcrumb/BreadcrumbItem.svelte +35 -30
- package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +13 -26
- package/dist/breadcrumb/index.d.ts +5 -0
- package/dist/breadcrumb/index.js +4 -0
- package/dist/breadcrumb/theme.d.ts +61 -0
- package/dist/breadcrumb/theme.js +51 -0
- package/dist/breadcrumb/type.d.ts +19 -0
- package/dist/breadcrumb/type.js +1 -0
- package/dist/buttongroup/ButtonGroup.svelte +22 -0
- package/dist/buttongroup/ButtonGroup.svelte.d.ts +21 -0
- package/dist/buttongroup/index.d.ts +4 -0
- package/dist/buttongroup/index.js +3 -0
- package/dist/buttongroup/theme.d.ts +20 -0
- package/dist/buttongroup/theme.js +15 -0
- package/dist/buttongroup/type.d.ts +8 -0
- package/dist/buttongroup/type.js +1 -0
- package/dist/buttons/Button.svelte +30 -125
- package/dist/buttons/Button.svelte.d.ts +13 -48
- package/dist/buttons/GradientButton.svelte +27 -62
- package/dist/buttons/GradientButton.svelte.d.ts +14 -23
- package/dist/buttons/index.d.ts +5 -0
- package/dist/buttons/index.js +4 -0
- package/dist/buttons/theme.d.ts +419 -0
- package/dist/buttons/theme.js +387 -0
- package/dist/buttons/type.d.ts +17 -0
- package/dist/buttons/type.js +1 -0
- package/dist/cards/Card.svelte +62 -44
- package/dist/cards/Card.svelte.d.ts +17 -43
- package/dist/cards/index.d.ts +4 -0
- package/dist/cards/index.js +3 -0
- package/dist/cards/theme.d.ts +454 -0
- package/dist/cards/theme.js +195 -0
- package/dist/cards/type.d.ts +26 -0
- package/dist/cards/type.js +1 -0
- package/dist/carousel/Carousel.svelte +177 -129
- package/dist/carousel/Carousel.svelte.d.ts +17 -48
- package/dist/carousel/ControlButton.svelte +18 -13
- package/dist/carousel/ControlButton.svelte.d.ts +9 -15
- package/dist/carousel/Controls.svelte +51 -33
- package/dist/carousel/Controls.svelte.d.ts +7 -10
- package/dist/carousel/Indicators.svelte +23 -13
- package/dist/carousel/Indicators.svelte.d.ts +9 -18
- package/dist/carousel/Slide.svelte +34 -25
- package/dist/carousel/Slide.svelte.d.ts +7 -13
- package/dist/carousel/Thumbnail.svelte +9 -10
- package/dist/carousel/Thumbnail.svelte.d.ts +6 -14
- package/dist/carousel/Thumbnails.svelte +40 -30
- package/dist/carousel/Thumbnails.svelte.d.ts +12 -26
- package/dist/carousel/index.d.ts +8 -0
- package/dist/carousel/index.js +7 -0
- package/dist/carousel/theme.d.ts +86 -0
- package/dist/carousel/theme.js +47 -0
- package/dist/carousel/type.d.ts +62 -0
- package/dist/carousel/type.js +1 -0
- package/dist/chart/Chart.svelte +43 -0
- package/dist/chart/Chart.svelte.d.ts +21 -0
- package/dist/chart/chart.css +166 -0
- package/dist/chart/index.d.ts +3 -0
- package/dist/chart/index.js +2 -0
- package/dist/chart/type.d.ts +6 -0
- package/dist/chart/type.js +1 -0
- package/dist/darkmode/DarkMode.svelte +42 -32
- package/dist/darkmode/DarkMode.svelte.d.ts +7 -13
- package/dist/darkmode/index.d.ts +4 -0
- package/dist/darkmode/index.js +3 -0
- package/dist/darkmode/theme.d.ts +1 -0
- package/dist/darkmode/theme.js +4 -0
- package/dist/darkmode/type.d.ts +10 -0
- package/dist/darkmode/type.js +1 -0
- package/dist/datepicker/Datepicker.svelte +228 -248
- package/dist/datepicker/Datepicker.svelte.d.ts +26 -44
- package/dist/datepicker/index.d.ts +4 -0
- package/dist/datepicker/index.js +3 -0
- package/dist/datepicker/theme.d.ts +364 -0
- package/dist/datepicker/theme.js +52 -0
- package/dist/datepicker/type.d.ts +29 -0
- package/dist/datepicker/type.js +1 -0
- package/dist/device-mockups/Android.svelte +24 -35
- package/dist/device-mockups/Android.svelte.d.ts +13 -35
- package/dist/device-mockups/DefaultMockup.svelte +22 -30
- package/dist/device-mockups/DefaultMockup.svelte.d.ts +12 -31
- package/dist/device-mockups/Desktop.svelte +18 -20
- package/dist/device-mockups/Desktop.svelte.d.ts +7 -20
- package/dist/device-mockups/DeviceMockup.svelte +29 -25
- package/dist/device-mockups/DeviceMockup.svelte.d.ts +7 -10
- package/dist/device-mockups/Ios.svelte +22 -30
- package/dist/device-mockups/Ios.svelte.d.ts +12 -31
- package/dist/device-mockups/Laptop.svelte +20 -21
- package/dist/device-mockups/Laptop.svelte.d.ts +7 -20
- package/dist/device-mockups/Smartwatch.svelte +24 -30
- package/dist/device-mockups/Smartwatch.svelte.d.ts +12 -31
- package/dist/device-mockups/Tablet.svelte +22 -30
- package/dist/device-mockups/Tablet.svelte.d.ts +12 -31
- package/dist/device-mockups/index.d.ts +11 -0
- package/dist/device-mockups/index.js +10 -0
- package/dist/device-mockups/theme.d.ts +368 -0
- package/dist/device-mockups/theme.js +76 -0
- package/dist/device-mockups/type.d.ts +61 -0
- package/dist/device-mockups/type.js +1 -0
- package/dist/drawer/Drawer.svelte +39 -67
- package/dist/drawer/Drawer.svelte.d.ts +19 -45
- package/dist/drawer/Drawerhead.svelte +35 -0
- package/dist/drawer/Drawerhead.svelte.d.ts +23 -0
- package/dist/drawer/index.d.ts +5 -0
- package/dist/drawer/index.js +4 -0
- package/dist/drawer/theme.d.ts +166 -0
- package/dist/drawer/theme.js +39 -0
- package/dist/drawer/type.d.ts +18 -0
- package/dist/drawer/type.js +1 -0
- package/dist/dropdown/Dropdown.svelte +32 -59
- package/dist/dropdown/Dropdown.svelte.d.ts +12 -74
- package/dist/dropdown/DropdownDivider.svelte +8 -4
- package/dist/dropdown/DropdownDivider.svelte.d.ts +5 -8
- package/dist/dropdown/DropdownGroup.svelte +20 -0
- package/dist/dropdown/DropdownGroup.svelte.d.ts +20 -0
- package/dist/dropdown/DropdownHeader.svelte +9 -11
- package/dist/dropdown/DropdownHeader.svelte.d.ts +7 -13
- package/dist/dropdown/DropdownItem.svelte +39 -27
- package/dist/dropdown/DropdownItem.svelte.d.ts +8 -22
- package/dist/dropdown/index.d.ts +8 -0
- package/dist/dropdown/index.js +7 -0
- package/dist/dropdown/theme.d.ts +65 -0
- package/dist/dropdown/theme.js +22 -0
- package/dist/dropdown/type.d.ts +28 -0
- package/dist/dropdown/type.js +1 -0
- package/dist/footer/Footer.svelte +11 -6
- package/dist/footer/Footer.svelte.d.ts +8 -11
- package/dist/footer/FooterBrand.svelte +25 -31
- package/dist/footer/FooterBrand.svelte.d.ts +13 -31
- package/dist/footer/FooterCopyright.svelte +17 -24
- package/dist/footer/FooterCopyright.svelte.d.ts +10 -24
- package/dist/footer/FooterIcon.svelte +13 -12
- package/dist/footer/FooterIcon.svelte.d.ts +9 -17
- package/dist/footer/FooterLink.svelte +12 -18
- package/dist/footer/FooterLink.svelte.d.ts +9 -21
- package/dist/footer/FooterLinkGroup.svelte +9 -5
- package/dist/footer/FooterLinkGroup.svelte.d.ts +7 -11
- package/dist/footer/index.d.ts +9 -0
- package/dist/footer/index.js +8 -0
- package/dist/footer/theme.d.ts +133 -0
- package/dist/footer/theme.js +40 -0
- package/dist/footer/type.d.ts +43 -0
- package/dist/footer/type.js +1 -0
- package/dist/forms/checkbox/Checkbox.svelte +49 -0
- package/dist/forms/checkbox/Checkbox.svelte.d.ts +30 -0
- package/dist/forms/checkbox/index.d.ts +4 -0
- package/dist/forms/checkbox/index.js +3 -0
- package/dist/forms/checkbox/theme.d.ts +273 -0
- package/dist/forms/checkbox/theme.js +91 -0
- package/dist/forms/checkbox/type.d.ts +21 -0
- package/dist/forms/checkbox/type.js +1 -0
- package/dist/forms/checkbox-button/CheckboxButton.svelte +70 -0
- package/dist/forms/checkbox-button/CheckboxButton.svelte.d.ts +29 -0
- package/dist/forms/checkbox-button/index.d.ts +3 -0
- package/dist/forms/checkbox-button/index.js +2 -0
- package/dist/forms/checkbox-button/theme.d.ts +25 -0
- package/dist/forms/checkbox-button/theme.js +16 -0
- package/dist/forms/checkbox-button/type.d.ts +14 -0
- package/dist/forms/checkbox-button/type.js +1 -0
- package/dist/forms/dropzone/Dropzone.svelte +67 -0
- package/dist/forms/dropzone/Dropzone.svelte.d.ts +19 -0
- package/dist/forms/dropzone/index.d.ts +4 -0
- package/dist/forms/dropzone/index.js +3 -0
- package/dist/forms/dropzone/theme.d.ts +1 -0
- package/dist/forms/dropzone/theme.js +4 -0
- package/dist/forms/dropzone/type.d.ts +7 -0
- package/dist/forms/dropzone/type.js +1 -0
- package/dist/forms/fileupload/Fileupload.svelte +37 -0
- package/dist/forms/fileupload/Fileupload.svelte.d.ts +22 -0
- package/dist/forms/fileupload/index.d.ts +4 -0
- package/dist/forms/fileupload/index.js +3 -0
- package/dist/forms/fileupload/theme.d.ts +51 -0
- package/dist/forms/fileupload/theme.js +15 -0
- package/dist/forms/fileupload/type.d.ts +10 -0
- package/dist/forms/fileupload/type.js +1 -0
- package/dist/forms/floating-label-input/FloatingLabelInput.svelte +33 -0
- package/dist/forms/floating-label-input/FloatingLabelInput.svelte.d.ts +28 -0
- package/dist/forms/floating-label-input/index.d.ts +4 -0
- package/dist/forms/floating-label-input/index.js +3 -0
- package/dist/forms/floating-label-input/theme.d.ts +339 -0
- package/dist/forms/floating-label-input/theme.js +179 -0
- package/dist/forms/floating-label-input/type.d.ts +15 -0
- package/dist/forms/floating-label-input/type.js +1 -0
- package/dist/forms/helper/Helper.svelte +21 -0
- package/dist/forms/helper/Helper.svelte.d.ts +21 -0
- package/dist/forms/helper/index.d.ts +4 -0
- package/dist/forms/helper/index.js +3 -0
- package/dist/forms/helper/theme.d.ts +75 -0
- package/dist/forms/helper/theme.js +29 -0
- package/dist/forms/helper/type.d.ts +5 -0
- package/dist/forms/helper/type.js +1 -0
- package/dist/forms/input/Input.svelte +61 -0
- package/dist/forms/input/Input.svelte.d.ts +19 -0
- package/dist/forms/input/index.d.ts +6 -0
- package/dist/forms/input/index.js +6 -0
- package/dist/forms/input/theme.d.ts +282 -0
- package/dist/forms/input/theme.js +94 -0
- package/dist/forms/input/type.d.ts +19 -0
- package/dist/forms/input/type.js +1 -0
- package/dist/forms/input-addon/InputAddon.svelte +47 -0
- package/dist/forms/{InputAddon.svelte.d.ts → input-addon/InputAddon.svelte.d.ts} +8 -11
- package/dist/forms/input-addon/index.d.ts +3 -0
- package/dist/forms/input-addon/index.js +2 -0
- package/dist/forms/input-addon/type.d.ts +8 -0
- package/dist/forms/input-addon/type.js +1 -0
- package/dist/forms/label/Label.svelte +26 -0
- package/dist/forms/label/Label.svelte.d.ts +22 -0
- package/dist/forms/label/index.d.ts +4 -0
- package/dist/forms/label/index.js +3 -0
- package/dist/forms/label/theme.d.ts +75 -0
- package/dist/forms/label/theme.js +29 -0
- package/dist/forms/label/type.d.ts +9 -0
- package/dist/forms/label/type.js +1 -0
- package/dist/forms/radio/Radio.svelte +22 -0
- package/dist/forms/radio/Radio.svelte.d.ts +19 -0
- package/dist/forms/radio/index.d.ts +4 -0
- package/dist/forms/radio/index.js +3 -0
- package/dist/forms/radio/theme.d.ts +273 -0
- package/dist/forms/radio/theme.js +83 -0
- package/dist/forms/radio/type.d.ts +11 -0
- package/dist/forms/radio/type.js +1 -0
- package/dist/forms/radio-button/RadioButton.svelte +21 -0
- package/dist/forms/radio-button/RadioButton.svelte.d.ts +19 -0
- package/dist/forms/radio-button/index.d.ts +4 -0
- package/dist/forms/radio-button/index.js +3 -0
- package/dist/forms/radio-button/theme.d.ts +25 -0
- package/dist/forms/radio-button/theme.js +16 -0
- package/dist/forms/radio-button/type.d.ts +13 -0
- package/dist/forms/radio-button/type.js +1 -0
- package/dist/forms/range/Range.svelte +21 -0
- package/dist/forms/range/Range.svelte.d.ts +23 -0
- package/dist/forms/range/index.d.ts +4 -0
- package/dist/forms/range/index.js +3 -0
- package/dist/forms/range/theme.d.ts +66 -0
- package/dist/forms/range/theme.js +74 -0
- package/dist/forms/range/type.d.ts +6 -0
- package/dist/forms/range/type.js +1 -0
- package/dist/forms/search/Search.svelte +29 -0
- package/dist/forms/search/Search.svelte.d.ts +19 -0
- package/dist/forms/search/index.d.ts +4 -0
- package/dist/forms/search/index.js +3 -0
- package/dist/forms/search/theme.d.ts +66 -0
- package/dist/forms/search/theme.js +32 -0
- package/dist/forms/search/type.d.ts +8 -0
- package/dist/forms/search/type.js +1 -0
- package/dist/forms/select/MultiSelect.svelte +147 -0
- package/dist/forms/select/MultiSelect.svelte.d.ts +19 -0
- package/dist/forms/select/Select.svelte +31 -0
- package/dist/forms/select/Select.svelte.d.ts +19 -0
- package/dist/forms/select/index.d.ts +5 -0
- package/dist/forms/select/index.js +4 -0
- package/dist/forms/select/theme.d.ts +131 -0
- package/dist/forms/select/theme.js +58 -0
- package/dist/forms/select/type.d.ts +24 -0
- package/dist/forms/select/type.js +1 -0
- package/dist/forms/textarea/Textarea.svelte +48 -0
- package/dist/forms/textarea/Textarea.svelte.d.ts +27 -0
- package/dist/forms/textarea/index.d.ts +4 -0
- package/dist/forms/textarea/index.js +3 -0
- package/dist/forms/textarea/theme.d.ts +105 -0
- package/dist/forms/textarea/theme.js +37 -0
- package/dist/forms/textarea/type.d.ts +14 -0
- package/dist/forms/textarea/type.js +1 -0
- package/dist/forms/toggle/Toggle.svelte +36 -0
- package/dist/forms/toggle/Toggle.svelte.d.ts +28 -0
- package/dist/forms/toggle/index.d.ts +4 -0
- package/dist/forms/toggle/index.js +3 -0
- package/dist/forms/toggle/theme.d.ts +279 -0
- package/dist/forms/toggle/theme.js +97 -0
- package/dist/forms/toggle/type.d.ts +13 -0
- package/dist/forms/toggle/type.js +1 -0
- package/dist/gallery/Gallery.svelte +31 -14
- package/dist/gallery/Gallery.svelte.d.ts +10 -16
- package/dist/gallery/index.d.ts +4 -0
- package/dist/gallery/index.js +3 -0
- package/dist/gallery/theme.d.ts +32 -0
- package/dist/gallery/theme.js +8 -0
- package/dist/gallery/type.d.ts +13 -0
- package/dist/gallery/type.js +1 -0
- package/dist/index.d.ts +73 -137
- package/dist/index.js +76 -229
- package/dist/indicator/Indicator.svelte +39 -0
- package/dist/indicator/Indicator.svelte.d.ts +26 -0
- package/dist/indicator/index.d.ts +4 -0
- package/dist/indicator/index.js +3 -0
- package/dist/indicator/theme.d.ts +417 -0
- package/dist/indicator/theme.js +122 -0
- package/dist/indicator/type.d.ts +13 -0
- package/dist/indicator/type.js +1 -0
- package/dist/kbd/Kbd.svelte +10 -5
- package/dist/kbd/Kbd.svelte.d.ts +7 -11
- package/dist/kbd/index.d.ts +4 -0
- package/dist/kbd/index.js +3 -0
- package/dist/kbd/theme.d.ts +1 -0
- package/dist/kbd/theme.js +4 -0
- package/dist/kbd/type.d.ts +6 -0
- package/dist/kbd/type.js +1 -0
- package/dist/list-group/Listgroup.svelte +36 -25
- package/dist/list-group/Listgroup.svelte.d.ts +20 -39
- package/dist/list-group/ListgroupItem.svelte +41 -42
- package/dist/list-group/ListgroupItem.svelte.d.ts +14 -44
- package/dist/list-group/index.d.ts +5 -0
- package/dist/list-group/index.js +4 -0
- package/dist/list-group/theme.d.ts +86 -0
- package/dist/list-group/theme.js +59 -0
- package/dist/list-group/type.d.ts +32 -0
- package/dist/list-group/type.js +1 -0
- package/dist/mega-menu/MegaMenu.svelte +34 -27
- package/dist/mega-menu/MegaMenu.svelte.d.ts +11 -52
- package/dist/mega-menu/index.d.ts +4 -0
- package/dist/mega-menu/index.js +3 -0
- package/dist/mega-menu/theme.d.ts +22 -0
- package/dist/mega-menu/theme.js +12 -0
- package/dist/mega-menu/type.d.ts +18 -0
- package/dist/mega-menu/type.js +1 -0
- package/dist/modal/Modal.svelte +91 -136
- package/dist/modal/Modal.svelte.d.ts +28 -64
- package/dist/modal/index.d.ts +4 -0
- package/dist/modal/index.js +3 -0
- package/dist/modal/theme.d.ts +228 -0
- package/dist/modal/theme.js +52 -0
- package/dist/modal/type.d.ts +25 -0
- package/dist/modal/type.js +1 -0
- package/dist/navbar/NavBrand.svelte +23 -5
- package/dist/navbar/NavBrand.svelte.d.ts +10 -11
- package/dist/navbar/NavHamburger.svelte +23 -18
- package/dist/navbar/NavHamburger.svelte.d.ts +6 -24
- package/dist/navbar/NavLi.svelte +32 -36
- package/dist/navbar/NavLi.svelte.d.ts +7 -23
- package/dist/navbar/NavUl.svelte +21 -49
- package/dist/navbar/NavUl.svelte.d.ts +8 -31
- package/dist/navbar/Navbar.svelte +84 -20
- package/dist/navbar/Navbar.svelte.d.ts +22 -31
- package/dist/navbar/index.d.ts +8 -0
- package/dist/navbar/index.js +7 -0
- package/dist/navbar/theme.d.ts +300 -0
- package/dist/navbar/theme.js +154 -0
- package/dist/navbar/type.d.ts +45 -0
- package/dist/navbar/type.js +1 -0
- package/dist/pagination/Pagination.svelte +45 -40
- package/dist/pagination/Pagination.svelte.d.ts +13 -38
- package/dist/pagination/PaginationItem.svelte +28 -27
- package/dist/pagination/PaginationItem.svelte.d.ts +7 -27
- package/dist/pagination/index.d.ts +5 -0
- package/dist/pagination/index.js +4 -0
- package/dist/pagination/theme.d.ts +83 -0
- package/dist/pagination/theme.js +52 -0
- package/dist/pagination/type.d.ts +24 -0
- package/dist/pagination/type.js +1 -0
- package/dist/popover/Popover.svelte +25 -13
- package/dist/popover/Popover.svelte.d.ts +13 -40
- package/dist/popover/index.d.ts +9 -0
- package/dist/popover/index.js +8 -0
- package/dist/popover/theme.d.ts +399 -0
- package/dist/popover/theme.js +786 -0
- package/dist/popover/type.d.ts +12 -0
- package/dist/popover/type.js +1 -0
- package/dist/progress/Progressbar.svelte +42 -50
- package/dist/progress/Progressbar.svelte.d.ts +18 -33
- package/dist/progress/index.d.ts +4 -0
- package/dist/progress/index.js +3 -0
- package/dist/progress/theme.d.ts +271 -0
- package/dist/progress/theme.js +113 -0
- package/dist/progress/type.d.ts +20 -0
- package/dist/progress/type.js +1 -0
- package/dist/rating/AdvancedRating.svelte +24 -39
- package/dist/rating/AdvancedRating.svelte.d.ts +14 -36
- package/dist/rating/CustomIcon.svelte +41 -0
- package/dist/rating/CustomIcon.svelte.d.ts +28 -0
- package/dist/rating/Heart.svelte +18 -17
- package/dist/rating/Heart.svelte.d.ts +10 -19
- package/dist/rating/Rating.svelte +36 -39
- package/dist/rating/Rating.svelte.d.ts +14 -29
- package/dist/rating/RatingComment.svelte +28 -20
- package/dist/rating/RatingComment.svelte.d.ts +10 -31
- package/dist/rating/Review.svelte +81 -73
- package/dist/rating/Review.svelte.d.ts +18 -35
- package/dist/rating/ScoreRating.svelte +54 -53
- package/dist/rating/ScoreRating.svelte.d.ts +7 -37
- package/dist/rating/Star.svelte +22 -21
- package/dist/rating/Star.svelte.d.ts +10 -19
- package/dist/rating/Thumbup.svelte +18 -17
- package/dist/rating/Thumbup.svelte.d.ts +10 -19
- package/dist/rating/index.d.ts +12 -0
- package/dist/rating/index.js +11 -0
- package/dist/rating/theme.d.ts +202 -0
- package/dist/rating/theme.js +39 -0
- package/dist/rating/type.d.ts +108 -0
- package/dist/rating/type.js +1 -0
- package/dist/sidebar/Sidebar.svelte +88 -24
- package/dist/sidebar/Sidebar.svelte.d.ts +22 -23
- package/dist/sidebar/SidebarBrand.svelte +18 -12
- package/dist/sidebar/SidebarBrand.svelte.d.ts +9 -15
- package/dist/sidebar/SidebarButton.svelte +21 -0
- package/dist/sidebar/SidebarButton.svelte.d.ts +20 -0
- package/dist/sidebar/SidebarCta.svelte +16 -15
- package/dist/sidebar/SidebarCta.svelte.d.ts +11 -18
- package/dist/sidebar/SidebarDropdownWrapper.svelte +75 -42
- package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +19 -29
- package/dist/sidebar/SidebarGroup.svelte +10 -12
- package/dist/sidebar/SidebarGroup.svelte.d.ts +9 -15
- package/dist/sidebar/SidebarItem.svelte +44 -30
- package/dist/sidebar/SidebarItem.svelte.d.ts +15 -35
- package/dist/sidebar/SidebarWrapper.svelte +5 -5
- package/dist/sidebar/SidebarWrapper.svelte.d.ts +3 -8
- package/dist/sidebar/index.d.ts +12 -0
- package/dist/sidebar/index.js +11 -0
- package/dist/sidebar/theme.d.ts +283 -0
- package/dist/sidebar/theme.js +66 -0
- package/dist/sidebar/type.d.ts +80 -0
- package/dist/sidebar/type.js +1 -0
- package/dist/skeleton/CardPlaceholder.svelte +22 -28
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +6 -10
- package/dist/skeleton/ImagePlaceholder.svelte +28 -23
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +7 -12
- package/dist/skeleton/ListPlaceholder.svelte +23 -38
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +8 -8
- package/dist/skeleton/Skeleton.svelte +15 -21
- package/dist/skeleton/Skeleton.svelte.d.ts +6 -10
- package/dist/skeleton/TestimonialPlaceholder.svelte +16 -11
- package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +2 -5
- package/dist/skeleton/TextPlaceholder.svelte +37 -38
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +6 -10
- package/dist/skeleton/VideoPlaceholder.svelte +10 -15
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +6 -10
- package/dist/skeleton/WidgetPlaceholder.svelte +19 -14
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +2 -5
- package/dist/skeleton/index.d.ts +11 -0
- package/dist/skeleton/index.js +10 -0
- package/dist/skeleton/theme.d.ts +583 -0
- package/dist/skeleton/theme.js +175 -0
- package/dist/skeleton/type.d.ts +24 -0
- package/dist/skeleton/type.js +1 -0
- package/dist/speed-dial/SpeedDial.svelte +62 -58
- package/dist/speed-dial/SpeedDial.svelte.d.ts +19 -59
- package/dist/speed-dial/SpeedDialButton.svelte +27 -32
- package/dist/speed-dial/SpeedDialButton.svelte.d.ts +13 -46
- package/dist/speed-dial/index.d.ts +5 -0
- package/dist/speed-dial/index.js +4 -0
- package/dist/speed-dial/theme.d.ts +77 -0
- package/dist/speed-dial/theme.js +36 -0
- package/dist/speed-dial/type.d.ts +30 -0
- package/dist/speed-dial/type.js +1 -0
- package/dist/spinner/Spinner.svelte +13 -31
- package/dist/spinner/Spinner.svelte.d.ts +9 -18
- package/dist/spinner/index.d.ts +4 -0
- package/dist/spinner/index.js +3 -0
- package/dist/spinner/theme.d.ts +99 -0
- package/dist/spinner/theme.js +42 -0
- package/dist/spinner/type.d.ts +9 -0
- package/dist/spinner/type.js +1 -0
- package/dist/table/Table.svelte +56 -86
- package/dist/table/Table.svelte.d.ts +21 -52
- package/dist/table/TableBody.svelte +27 -14
- package/dist/table/TableBody.svelte.d.ts +13 -19
- package/dist/table/TableBodyCell.svelte +20 -15
- package/dist/table/TableBodyCell.svelte.d.ts +9 -11
- package/dist/table/TableBodyRow.svelte +25 -35
- package/dist/table/TableBodyRow.svelte.d.ts +11 -15
- package/dist/table/TableHead.svelte +47 -28
- package/dist/table/TableHead.svelte.d.ts +13 -13
- package/dist/table/TableHeadCell.svelte +12 -38
- package/dist/table/TableHeadCell.svelte.d.ts +12 -33
- package/dist/table/TableSearch.svelte +60 -53
- package/dist/table/TableSearch.svelte.d.ts +22 -40
- package/dist/table/index.d.ts +10 -0
- package/dist/table/index.js +9 -0
- package/dist/table/theme.d.ts +424 -0
- package/dist/table/theme.js +376 -0
- package/dist/table/type.d.ts +80 -0
- package/dist/table/type.js +1 -0
- package/dist/tabs/TabItem.svelte +60 -40
- package/dist/tabs/TabItem.svelte.d.ts +11 -30
- package/dist/tabs/Tabs.svelte +39 -49
- package/dist/tabs/Tabs.svelte.d.ts +10 -30
- package/dist/tabs/index.d.ts +5 -0
- package/dist/tabs/index.js +4 -0
- package/dist/tabs/theme.d.ts +136 -0
- package/dist/tabs/theme.js +84 -0
- package/dist/tabs/type.d.ts +29 -0
- package/dist/tabs/type.js +2 -0
- package/dist/theme/Theme.svelte +62 -0
- package/dist/theme/Theme.svelte.d.ts +20 -0
- package/dist/theme/index.d.ts +10362 -0
- package/dist/theme/index.js +117 -0
- package/dist/timeline/Activity.svelte +10 -6
- package/dist/timeline/Activity.svelte.d.ts +7 -11
- package/dist/timeline/ActivityItem.svelte +27 -55
- package/dist/timeline/ActivityItem.svelte.d.ts +13 -41
- package/dist/timeline/Group.svelte +14 -22
- package/dist/timeline/Group.svelte.d.ts +10 -23
- package/dist/timeline/GroupItem.svelte +34 -53
- package/dist/timeline/GroupItem.svelte.d.ts +10 -31
- package/dist/timeline/Timeline.svelte +15 -14
- package/dist/timeline/Timeline.svelte.d.ts +8 -11
- package/dist/timeline/TimelineItem.svelte +68 -57
- package/dist/timeline/TimelineItem.svelte.d.ts +15 -24
- package/dist/timeline/index.d.ts +9 -0
- package/dist/timeline/index.js +8 -0
- package/dist/timeline/theme.d.ts +300 -0
- package/dist/timeline/theme.js +92 -0
- package/dist/timeline/type.d.ts +65 -0
- package/dist/timeline/type.js +1 -0
- package/dist/toast/Toast.svelte +29 -72
- package/dist/toast/Toast.svelte.d.ts +17 -34
- package/dist/toast/index.d.ts +4 -0
- package/dist/toast/index.js +3 -0
- package/dist/toast/theme.d.ts +321 -0
- package/dist/toast/theme.js +100 -0
- package/dist/toast/type.d.ts +19 -0
- package/dist/toast/type.js +1 -0
- package/dist/toolbar/Toolbar.svelte +37 -20
- package/dist/toolbar/Toolbar.svelte.d.ts +10 -25
- package/dist/toolbar/ToolbarButton.svelte +29 -44
- package/dist/toolbar/ToolbarButton.svelte.d.ts +12 -29
- package/dist/toolbar/ToolbarGroup.svelte +18 -8
- package/dist/toolbar/ToolbarGroup.svelte.d.ts +10 -11
- package/dist/toolbar/index.d.ts +6 -0
- package/dist/toolbar/index.js +5 -0
- package/dist/toolbar/theme.d.ts +319 -0
- package/dist/toolbar/theme.js +144 -0
- package/dist/toolbar/type.d.ts +23 -0
- package/dist/toolbar/type.js +1 -0
- package/dist/tooltip/Tooltip.svelte +31 -21
- package/dist/tooltip/Tooltip.svelte.d.ts +13 -39
- package/dist/tooltip/index.d.ts +4 -0
- package/dist/tooltip/index.js +3 -0
- package/dist/tooltip/theme.d.ts +238 -0
- package/dist/tooltip/theme.js +55 -0
- package/dist/tooltip/type.d.ts +7 -0
- package/dist/tooltip/type.js +1 -0
- package/dist/types.d.ts +40 -89
- package/dist/types.js +1 -1
- package/dist/typography/anchor/A.svelte +20 -0
- package/dist/typography/anchor/A.svelte.d.ts +21 -0
- package/dist/typography/anchor/index.d.ts +4 -0
- package/dist/typography/anchor/index.js +3 -0
- package/dist/typography/anchor/theme.d.ts +72 -0
- package/dist/typography/anchor/theme.js +29 -0
- package/dist/typography/anchor/type.d.ts +8 -0
- package/dist/typography/anchor/type.js +1 -0
- package/dist/typography/blockquote/Blockquote.svelte +34 -0
- package/dist/typography/blockquote/Blockquote.svelte.d.ts +25 -0
- package/dist/typography/blockquote/index.d.ts +4 -0
- package/dist/typography/blockquote/index.js +3 -0
- package/dist/typography/blockquote/theme.d.ts +102 -0
- package/dist/typography/blockquote/theme.js +45 -0
- package/dist/typography/blockquote/type.d.ts +12 -0
- package/dist/typography/blockquote/type.js +1 -0
- package/dist/typography/descriptionlist/DescriptionList.svelte +26 -0
- package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +21 -0
- package/dist/typography/descriptionlist/index.d.ts +4 -0
- package/dist/typography/descriptionlist/index.js +3 -0
- package/dist/typography/descriptionlist/theme.d.ts +18 -0
- package/dist/typography/descriptionlist/theme.js +12 -0
- package/dist/typography/descriptionlist/type.d.ts +8 -0
- package/dist/typography/descriptionlist/type.js +1 -0
- package/dist/typography/heading/Heading.svelte +21 -0
- package/dist/typography/heading/Heading.svelte.d.ts +21 -0
- package/dist/typography/heading/index.d.ts +4 -0
- package/dist/typography/heading/index.js +3 -0
- package/dist/typography/heading/theme.d.ts +30 -0
- package/dist/typography/heading/theme.js +17 -0
- package/dist/typography/heading/type.d.ts +8 -0
- package/dist/typography/heading/type.js +1 -0
- package/dist/typography/hr/Hr.svelte +29 -0
- package/dist/typography/hr/Hr.svelte.d.ts +22 -0
- package/dist/typography/hr/index.d.ts +4 -0
- package/dist/typography/hr/index.js +3 -0
- package/dist/typography/hr/theme.d.ts +34 -0
- package/dist/typography/hr/theme.js +19 -0
- package/dist/typography/hr/type.d.ts +10 -0
- package/dist/typography/hr/type.js +1 -0
- package/dist/typography/img/EnhancedImg.svelte +41 -0
- package/dist/typography/img/EnhancedImg.svelte.d.ts +25 -0
- package/dist/typography/img/Img.svelte +42 -0
- package/dist/typography/img/Img.svelte.d.ts +25 -0
- package/dist/typography/img/index.d.ts +5 -0
- package/dist/typography/img/index.js +4 -0
- package/dist/typography/img/theme.d.ts +189 -0
- package/dist/typography/img/theme.js +41 -0
- package/dist/typography/img/type.d.ts +25 -0
- package/dist/typography/img/type.js +1 -0
- package/dist/typography/layout/Layout.svelte +19 -0
- package/dist/typography/layout/Layout.svelte.d.ts +20 -0
- package/dist/typography/layout/index.d.ts +4 -0
- package/dist/typography/layout/index.js +3 -0
- package/dist/typography/layout/theme.d.ts +1 -0
- package/dist/typography/layout/theme.js +4 -0
- package/dist/typography/layout/type.d.ts +6 -0
- package/dist/typography/layout/type.js +1 -0
- package/dist/typography/list/Li.svelte +25 -0
- package/dist/typography/list/Li.svelte.d.ts +21 -0
- package/dist/typography/list/List.svelte +33 -0
- package/dist/typography/list/List.svelte.d.ts +24 -0
- package/dist/typography/list/index.d.ts +5 -0
- package/dist/typography/list/index.js +4 -0
- package/dist/typography/list/theme.d.ts +33 -0
- package/dist/typography/list/theme.js +19 -0
- package/dist/typography/list/type.d.ts +15 -0
- package/dist/typography/list/type.js +1 -0
- package/dist/typography/mark/Mark.svelte +18 -0
- package/dist/typography/mark/Mark.svelte.d.ts +20 -0
- package/dist/typography/mark/index.d.ts +4 -0
- package/dist/typography/mark/index.js +3 -0
- package/dist/typography/mark/theme.d.ts +1 -0
- package/dist/typography/mark/theme.js +4 -0
- package/dist/typography/mark/type.d.ts +6 -0
- package/dist/typography/mark/type.js +1 -0
- package/dist/typography/paragraph/P.svelte +29 -0
- package/dist/typography/paragraph/P.svelte.d.ts +29 -0
- package/dist/typography/paragraph/index.d.ts +4 -0
- package/dist/typography/paragraph/index.js +3 -0
- package/dist/typography/paragraph/theme.d.ts +225 -0
- package/dist/typography/paragraph/theme.js +79 -0
- package/dist/typography/paragraph/type.d.ts +16 -0
- package/dist/typography/paragraph/type.js +1 -0
- package/dist/typography/secondary/Secondary.svelte +18 -0
- package/dist/typography/secondary/Secondary.svelte.d.ts +20 -0
- package/dist/typography/secondary/index.d.ts +4 -0
- package/dist/typography/secondary/index.js +3 -0
- package/dist/typography/secondary/theme.d.ts +1 -0
- package/dist/typography/secondary/theme.js +4 -0
- package/dist/typography/secondary/type.d.ts +6 -0
- package/dist/typography/secondary/type.js +1 -0
- package/dist/typography/span/Span.svelte +44 -0
- package/dist/typography/span/Span.svelte.d.ts +29 -0
- package/dist/typography/span/index.d.ts +4 -0
- package/dist/typography/span/index.js +3 -0
- package/dist/typography/span/theme.d.ts +246 -0
- package/dist/typography/span/theme.js +88 -0
- package/dist/typography/span/type.d.ts +16 -0
- package/dist/typography/span/type.js +1 -0
- package/dist/uiHelpers.svelte.d.ts +11 -0
- package/dist/uiHelpers.svelte.js +57 -0
- package/dist/utils/Arrow.svelte +72 -0
- package/dist/utils/Arrow.svelte.d.ts +19 -0
- package/dist/utils/CloseButton.svelte +28 -9
- package/dist/utils/CloseButton.svelte.d.ts +11 -10
- package/dist/utils/Popper.svelte +183 -158
- package/dist/utils/Popper.svelte.d.ts +40 -45
- package/dist/utils/focusTrap.d.ts +1 -1
- package/dist/utils/focusTrap.js +3 -3
- package/dist/utils/index.d.ts +110 -0
- package/dist/utils/index.js +70 -0
- package/dist/video/Video.svelte +15 -14
- package/dist/video/Video.svelte.d.ts +12 -19
- package/dist/video/index.d.ts +3 -0
- package/dist/video/index.js +2 -0
- package/dist/video/type.d.ts +11 -0
- package/dist/video/type.js +1 -0
- package/package.json +140 -162
- package/dist/button-group/ButtonGroup.svelte +0 -18
- package/dist/button-group/ButtonGroup.svelte.d.ts +0 -27
- package/dist/charts/Chart.svelte +0 -37
- package/dist/charts/Chart.svelte.d.ts +0 -26
- package/dist/forms/Checkbox.svelte +0 -44
- package/dist/forms/Checkbox.svelte.d.ts +0 -58
- package/dist/forms/CheckboxButton.svelte +0 -60
- package/dist/forms/CheckboxButton.svelte.d.ts +0 -73
- package/dist/forms/Dropzone.svelte +0 -32
- package/dist/forms/Dropzone.svelte.d.ts +0 -40
- package/dist/forms/Fileupload.svelte +0 -48
- package/dist/forms/Fileupload.svelte.d.ts +0 -50
- package/dist/forms/FloatingLabelInput.svelte +0 -88
- package/dist/forms/FloatingLabelInput.svelte.d.ts +0 -54
- package/dist/forms/Helper.svelte +0 -22
- package/dist/forms/Helper.svelte.d.ts +0 -26
- package/dist/forms/Input.svelte +0 -89
- package/dist/forms/Input.svelte.d.ts +0 -64
- package/dist/forms/InputAddon.svelte +0 -34
- package/dist/forms/Label.svelte +0 -32
- package/dist/forms/Label.svelte.d.ts +0 -28
- package/dist/forms/MultiSelect.svelte +0 -154
- package/dist/forms/MultiSelect.svelte.d.ts +0 -42
- package/dist/forms/NumberInput.svelte +0 -14
- package/dist/forms/NumberInput.svelte.d.ts +0 -46
- package/dist/forms/Radio.svelte +0 -48
- package/dist/forms/Radio.svelte.d.ts +0 -51
- package/dist/forms/RadioButton.svelte +0 -32
- package/dist/forms/RadioButton.svelte.d.ts +0 -51
- package/dist/forms/Range.svelte +0 -21
- package/dist/forms/Range.svelte.d.ts +0 -30
- package/dist/forms/Search.svelte +0 -40
- package/dist/forms/Search.svelte.d.ts +0 -52
- package/dist/forms/Select.svelte +0 -43
- package/dist/forms/Select.svelte.d.ts +0 -41
- package/dist/forms/Textarea.svelte +0 -47
- package/dist/forms/Textarea.svelte.d.ts +0 -50
- package/dist/forms/Toggle.svelte +0 -53
- package/dist/forms/Toggle.svelte.d.ts +0 -53
- package/dist/indicators/Indicator.svelte +0 -72
- package/dist/indicators/Indicator.svelte.d.ts +0 -35
- package/dist/kbd/ArrowKeyDown.svelte +0 -14
- package/dist/kbd/ArrowKeyDown.svelte.d.ts +0 -22
- package/dist/kbd/ArrowKeyLeft.svelte +0 -14
- package/dist/kbd/ArrowKeyLeft.svelte.d.ts +0 -22
- package/dist/kbd/ArrowKeyRight.svelte +0 -14
- package/dist/kbd/ArrowKeyRight.svelte.d.ts +0 -22
- package/dist/kbd/ArrowKeyUp.svelte +0 -14
- package/dist/kbd/ArrowKeyUp.svelte.d.ts +0 -22
- package/dist/marquee/Marquee.svelte +0 -46
- package/dist/marquee/Marquee.svelte.d.ts +0 -28
- package/dist/navbar/Menu.svelte +0 -36
- package/dist/navbar/Menu.svelte.d.ts +0 -30
- package/dist/navbar/NavContainer.svelte +0 -14
- package/dist/navbar/NavContainer.svelte.d.ts +0 -24
- package/dist/sidebar/SidebarDropdownItem.svelte +0 -24
- package/dist/sidebar/SidebarDropdownItem.svelte.d.ts +0 -40
- package/dist/steps/StepIndicator.svelte +0 -74
- package/dist/steps/StepIndicator.svelte.d.ts +0 -36
- package/dist/typography/A.svelte +0 -23
- package/dist/typography/A.svelte.d.ts +0 -35
- package/dist/typography/Blockquote.svelte +0 -48
- package/dist/typography/Blockquote.svelte.d.ts +0 -39
- package/dist/typography/DescriptionList.svelte +0 -19
- package/dist/typography/DescriptionList.svelte.d.ts +0 -28
- package/dist/typography/Heading.svelte +0 -26
- package/dist/typography/Heading.svelte.d.ts +0 -28
- package/dist/typography/Hr.svelte +0 -40
- package/dist/typography/Hr.svelte.d.ts +0 -40
- package/dist/typography/Img.svelte +0 -37
- package/dist/typography/Img.svelte.d.ts +0 -40
- package/dist/typography/Layout.svelte +0 -19
- package/dist/typography/Layout.svelte.d.ts +0 -28
- package/dist/typography/Li.svelte +0 -17
- package/dist/typography/Li.svelte.d.ts +0 -26
- package/dist/typography/List.svelte +0 -28
- package/dist/typography/List.svelte.d.ts +0 -36
- package/dist/typography/Mark.svelte +0 -18
- package/dist/typography/Mark.svelte.d.ts +0 -28
- package/dist/typography/P.svelte +0 -89
- package/dist/typography/P.svelte.d.ts +0 -47
- package/dist/typography/Secondary.svelte +0 -16
- package/dist/typography/Secondary.svelte.d.ts +0 -26
- package/dist/typography/Span.svelte +0 -32
- package/dist/typography/Span.svelte.d.ts +0 -40
- package/dist/utils/Frame.svelte +0 -116
- package/dist/utils/Frame.svelte.d.ts +0 -77
- package/dist/utils/TransitionFrame.svelte +0 -22
- package/dist/utils/TransitionFrame.svelte.d.ts +0 -43
- package/dist/utils/Wrapper.svelte +0 -20
- package/dist/utils/Wrapper.svelte.d.ts +0 -29
- package/dist/utils/backdrop.d.ts +0 -6
- package/dist/utils/backdrop.js +0 -73
- package/dist/utils/clickOutside.d.ts +0 -3
- package/dist/utils/clickOutside.js +0 -15
- package/dist/utils/generateId.d.ts +0 -1
- package/dist/utils/generateId.js +0 -5
|
@@ -1,44 +1,26 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { HTMLAnchorAttributes } from 'svelte/elements';
|
|
3
2
|
declare const __propDef: {
|
|
4
|
-
props:
|
|
5
|
-
aClass?: string;
|
|
6
|
-
spanClass?: string;
|
|
7
|
-
imgClass?: string;
|
|
8
|
-
href?: string;
|
|
9
|
-
src?: string;
|
|
10
|
-
alt?: string;
|
|
11
|
-
name?: string;
|
|
12
|
-
target?: string;
|
|
13
|
-
classA?: string;
|
|
14
|
-
classSpan?: string;
|
|
15
|
-
classImg?: string;
|
|
16
|
-
};
|
|
3
|
+
props: Record<string, never>;
|
|
17
4
|
events: {
|
|
18
5
|
[evt: string]: CustomEvent<any>;
|
|
19
6
|
};
|
|
20
|
-
slots: {
|
|
21
|
-
default: {};
|
|
22
|
-
};
|
|
7
|
+
slots: {};
|
|
23
8
|
};
|
|
24
|
-
|
|
9
|
+
type FooterBrandProps_ = typeof __propDef.props;
|
|
10
|
+
export { FooterBrandProps_ as FooterBrandProps };
|
|
25
11
|
export type FooterBrandEvents = typeof __propDef.events;
|
|
26
12
|
export type FooterBrandSlots = typeof __propDef.slots;
|
|
27
13
|
/**
|
|
28
14
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
29
15
|
* ## Props
|
|
30
|
-
* @
|
|
31
|
-
* @
|
|
32
|
-
* @
|
|
33
|
-
* @
|
|
34
|
-
* @
|
|
35
|
-
* @
|
|
36
|
-
* @
|
|
37
|
-
* @
|
|
38
|
-
* @prop export let classA: $$Props['classA'] = '';
|
|
39
|
-
* @prop export let classSpan: $$Props['classSpan'] = '';
|
|
40
|
-
* @prop export let classImg: $$Props['classImg'] = '';
|
|
16
|
+
* @props: children: any;
|
|
17
|
+
* @props:aClass: any;
|
|
18
|
+
* @props:spanClass: any;
|
|
19
|
+
* @props:imgClass: any;
|
|
20
|
+
* @props:href: any;
|
|
21
|
+
* @props:src: any;
|
|
22
|
+
* @props:alt: any;
|
|
23
|
+
* @props:name: any;
|
|
41
24
|
*/
|
|
42
|
-
export default class FooterBrand extends SvelteComponentTyped<
|
|
25
|
+
export default class FooterBrand extends SvelteComponentTyped<FooterBrandProps_, FooterBrandEvents, FooterBrandSlots> {
|
|
43
26
|
}
|
|
44
|
-
export {};
|
|
@@ -1,25 +1,21 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
export let classSpan = "";
|
|
10
|
-
export let classA = "";
|
|
11
|
-
let spanCls = twMerge(spanClass, classSpan);
|
|
12
|
-
let aCls = twMerge(aClass, classA);
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { type FooterCopyrightProps as Props, footerCopyright } from ".";
|
|
3
|
+
|
|
4
|
+
let { spanClass, aClass, href, by, copyrightMessage = "All Rights Reserved.", year, ...restProps }: Props = $props();
|
|
5
|
+
|
|
6
|
+
if (!year) year = new Date().getFullYear();
|
|
7
|
+
|
|
8
|
+
const { base, link, bySpan } = $derived(footerCopyright());
|
|
13
9
|
</script>
|
|
14
10
|
|
|
15
|
-
<span class={
|
|
11
|
+
<span class={base({ class: spanClass })}>
|
|
16
12
|
© {year}
|
|
17
13
|
{#if href}
|
|
18
|
-
<a {
|
|
14
|
+
<a {...restProps} {href} class={link({ class: aClass })}>
|
|
19
15
|
{by}
|
|
20
16
|
</a>
|
|
21
17
|
{:else}
|
|
22
|
-
<span class=
|
|
18
|
+
<span class={bySpan()}>{by}</span>
|
|
23
19
|
{/if}
|
|
24
20
|
{copyrightMessage}
|
|
25
21
|
</span>
|
|
@@ -28,13 +24,10 @@ let aCls = twMerge(aClass, classA);
|
|
|
28
24
|
@component
|
|
29
25
|
[Go to docs](https://flowbite-svelte.com/)
|
|
30
26
|
## Props
|
|
31
|
-
@
|
|
32
|
-
@
|
|
33
|
-
@
|
|
34
|
-
@
|
|
35
|
-
@
|
|
36
|
-
@
|
|
37
|
-
@prop export let copyrightMessage: $$Props['copyrightMessage'] = 'All Rights Reserved.';
|
|
38
|
-
@prop export let classSpan: $$Props['classSpan'] = '';
|
|
39
|
-
@prop export let classA: $$Props['classA'] = '';
|
|
27
|
+
@props: spanClass: any;
|
|
28
|
+
@props:aClass: any;
|
|
29
|
+
@props:href: any;
|
|
30
|
+
@props:by: any;
|
|
31
|
+
@props:copyrightMessage: any = "All Rights Reserved.";
|
|
32
|
+
@props:year: any;
|
|
40
33
|
-->
|
|
@@ -1,38 +1,24 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { HTMLAnchorAttributes } from 'svelte/elements';
|
|
3
2
|
declare const __propDef: {
|
|
4
|
-
props:
|
|
5
|
-
spanClass?: string;
|
|
6
|
-
aClass?: string;
|
|
7
|
-
year?: number;
|
|
8
|
-
by?: string;
|
|
9
|
-
href?: string;
|
|
10
|
-
target?: string;
|
|
11
|
-
copyrightMessage?: string;
|
|
12
|
-
classSpan?: string;
|
|
13
|
-
classA?: string;
|
|
14
|
-
};
|
|
3
|
+
props: Record<string, never>;
|
|
15
4
|
events: {
|
|
16
5
|
[evt: string]: CustomEvent<any>;
|
|
17
6
|
};
|
|
18
7
|
slots: {};
|
|
19
8
|
};
|
|
20
|
-
|
|
9
|
+
type FooterCopyrightProps_ = typeof __propDef.props;
|
|
10
|
+
export { FooterCopyrightProps_ as FooterCopyrightProps };
|
|
21
11
|
export type FooterCopyrightEvents = typeof __propDef.events;
|
|
22
12
|
export type FooterCopyrightSlots = typeof __propDef.slots;
|
|
23
13
|
/**
|
|
24
14
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
25
15
|
* ## Props
|
|
26
|
-
* @
|
|
27
|
-
* @
|
|
28
|
-
* @
|
|
29
|
-
* @
|
|
30
|
-
* @
|
|
31
|
-
* @
|
|
32
|
-
* @prop export let copyrightMessage: $$Props['copyrightMessage'] = 'All Rights Reserved.';
|
|
33
|
-
* @prop export let classSpan: $$Props['classSpan'] = '';
|
|
34
|
-
* @prop export let classA: $$Props['classA'] = '';
|
|
16
|
+
* @props: spanClass: any;
|
|
17
|
+
* @props:aClass: any;
|
|
18
|
+
* @props:href: any;
|
|
19
|
+
* @props:by: any;
|
|
20
|
+
* @props:copyrightMessage: any = "All Rights Reserved.";
|
|
21
|
+
* @props:year: any;
|
|
35
22
|
*/
|
|
36
|
-
export default class FooterCopyright extends SvelteComponentTyped<
|
|
23
|
+
export default class FooterCopyright extends SvelteComponentTyped<FooterCopyrightProps_, FooterCopyrightEvents, FooterCopyrightSlots> {
|
|
37
24
|
}
|
|
38
|
-
export {};
|
|
@@ -1,24 +1,25 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { type FooterIconProps as Props, footerIcon } from ".";
|
|
3
|
+
|
|
4
|
+
let { children, href, ariaLabel, class: aClass, ...restProps }: Props = $props();
|
|
5
|
+
|
|
6
|
+
const aCls = $derived(footerIcon({ class: aClass }));
|
|
6
7
|
</script>
|
|
7
8
|
|
|
8
9
|
{#if href}
|
|
9
|
-
<a {
|
|
10
|
-
|
|
10
|
+
<a {...restProps} {href} aria-label={ariaLabel} class={aCls}>
|
|
11
|
+
{@render children()}
|
|
11
12
|
</a>
|
|
12
13
|
{:else}
|
|
13
|
-
|
|
14
|
+
{@render children()}
|
|
14
15
|
{/if}
|
|
15
16
|
|
|
16
17
|
<!--
|
|
17
18
|
@component
|
|
18
19
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
20
|
## Props
|
|
20
|
-
@
|
|
21
|
-
@
|
|
22
|
-
@
|
|
23
|
-
@
|
|
21
|
+
@props: children: any;
|
|
22
|
+
@props:href: any;
|
|
23
|
+
@props:ariaLabel: any;
|
|
24
|
+
@props:class: string;
|
|
24
25
|
-->
|
|
@@ -1,30 +1,22 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { HTMLAnchorAttributes } from 'svelte/elements';
|
|
3
2
|
declare const __propDef: {
|
|
4
|
-
props:
|
|
5
|
-
href?: string;
|
|
6
|
-
ariaLabel?: string;
|
|
7
|
-
aClass?: string;
|
|
8
|
-
target?: string;
|
|
9
|
-
};
|
|
3
|
+
props: Record<string, never>;
|
|
10
4
|
events: {
|
|
11
5
|
[evt: string]: CustomEvent<any>;
|
|
12
6
|
};
|
|
13
|
-
slots: {
|
|
14
|
-
default: {};
|
|
15
|
-
};
|
|
7
|
+
slots: {};
|
|
16
8
|
};
|
|
17
|
-
|
|
9
|
+
type FooterIconProps_ = typeof __propDef.props;
|
|
10
|
+
export { FooterIconProps_ as FooterIconProps };
|
|
18
11
|
export type FooterIconEvents = typeof __propDef.events;
|
|
19
12
|
export type FooterIconSlots = typeof __propDef.slots;
|
|
20
13
|
/**
|
|
21
14
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
22
15
|
* ## Props
|
|
23
|
-
* @
|
|
24
|
-
* @
|
|
25
|
-
* @
|
|
26
|
-
* @
|
|
16
|
+
* @props: children: any;
|
|
17
|
+
* @props:href: any;
|
|
18
|
+
* @props:ariaLabel: any;
|
|
19
|
+
* @props:class: string;
|
|
27
20
|
*/
|
|
28
|
-
export default class FooterIcon extends SvelteComponentTyped<
|
|
21
|
+
export default class FooterIcon extends SvelteComponentTyped<FooterIconProps_, FooterIconEvents, FooterIconSlots> {
|
|
29
22
|
}
|
|
30
|
-
export {};
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export let classLi = "";
|
|
7
|
-
export let classA = "";
|
|
8
|
-
let liCls = twMerge(liClass, classLi);
|
|
9
|
-
let aCls = twMerge(aClass, classA);
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { type FooterLinkProps as Props, footerLink } from ".";
|
|
3
|
+
|
|
4
|
+
let { children, liClass, aClass, href, ...restProps }: Props = $props();
|
|
5
|
+
const { base, link } = $derived(footerLink());
|
|
10
6
|
</script>
|
|
11
7
|
|
|
12
|
-
<li class={
|
|
13
|
-
<a {
|
|
14
|
-
|
|
8
|
+
<li class={base({ class: liClass })}>
|
|
9
|
+
<a {...restProps} {href} class={link({ class: aClass })}>
|
|
10
|
+
{@render children()}
|
|
15
11
|
</a>
|
|
16
12
|
</li>
|
|
17
13
|
|
|
@@ -19,10 +15,8 @@ let aCls = twMerge(aClass, classA);
|
|
|
19
15
|
@component
|
|
20
16
|
[Go to docs](https://flowbite-svelte.com/)
|
|
21
17
|
## Props
|
|
22
|
-
@
|
|
23
|
-
@
|
|
24
|
-
@
|
|
25
|
-
@
|
|
26
|
-
@prop export let classLi: $$Props['classLi'] = '';
|
|
27
|
-
@prop export let classA: $$Props['classA'] = '';
|
|
18
|
+
@props: children: any;
|
|
19
|
+
@props:liClass: any;
|
|
20
|
+
@props:aClass: any;
|
|
21
|
+
@props:href: any;
|
|
28
22
|
-->
|
|
@@ -1,34 +1,22 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { HTMLAnchorAttributes } from 'svelte/elements';
|
|
3
2
|
declare const __propDef: {
|
|
4
|
-
props:
|
|
5
|
-
liClass?: string;
|
|
6
|
-
aClass?: string;
|
|
7
|
-
href?: string;
|
|
8
|
-
target?: string;
|
|
9
|
-
classLi?: string;
|
|
10
|
-
classA?: string;
|
|
11
|
-
};
|
|
3
|
+
props: Record<string, never>;
|
|
12
4
|
events: {
|
|
13
5
|
[evt: string]: CustomEvent<any>;
|
|
14
6
|
};
|
|
15
|
-
slots: {
|
|
16
|
-
default: {};
|
|
17
|
-
};
|
|
7
|
+
slots: {};
|
|
18
8
|
};
|
|
19
|
-
|
|
9
|
+
type FooterLinkProps_ = typeof __propDef.props;
|
|
10
|
+
export { FooterLinkProps_ as FooterLinkProps };
|
|
20
11
|
export type FooterLinkEvents = typeof __propDef.events;
|
|
21
12
|
export type FooterLinkSlots = typeof __propDef.slots;
|
|
22
13
|
/**
|
|
23
14
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
24
15
|
* ## Props
|
|
25
|
-
* @
|
|
26
|
-
* @
|
|
27
|
-
* @
|
|
28
|
-
* @
|
|
29
|
-
* @prop export let classLi: $$Props['classLi'] = '';
|
|
30
|
-
* @prop export let classA: $$Props['classA'] = '';
|
|
16
|
+
* @props: children: any;
|
|
17
|
+
* @props:liClass: any;
|
|
18
|
+
* @props:aClass: any;
|
|
19
|
+
* @props:href: any;
|
|
31
20
|
*/
|
|
32
|
-
export default class FooterLink extends SvelteComponentTyped<
|
|
21
|
+
export default class FooterLink extends SvelteComponentTyped<FooterLinkProps_, FooterLinkEvents, FooterLinkSlots> {
|
|
33
22
|
}
|
|
34
|
-
export {};
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
<script
|
|
2
|
-
|
|
1
|
+
<script lang="ts">
|
|
2
|
+
import { type FooterLinkGroupProps as Props, footerLinkGroup } from ".";
|
|
3
|
+
|
|
4
|
+
let { class: ulClass, children, ...restProps }: Props = $props();
|
|
5
|
+
const base = $derived(footerLinkGroup({ class: ulClass }));
|
|
3
6
|
</script>
|
|
4
7
|
|
|
5
|
-
<ul {
|
|
6
|
-
|
|
8
|
+
<ul {...restProps} class={base}>
|
|
9
|
+
{@render children()}
|
|
7
10
|
</ul>
|
|
8
11
|
|
|
9
12
|
<!--
|
|
10
13
|
@component
|
|
11
14
|
[Go to docs](https://flowbite-svelte.com/)
|
|
12
15
|
## Props
|
|
13
|
-
@
|
|
16
|
+
@props: class: string;
|
|
17
|
+
@props:children: any;
|
|
14
18
|
-->
|
|
@@ -1,24 +1,20 @@
|
|
|
1
1
|
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { HTMLAttributes } from 'svelte/elements';
|
|
3
2
|
declare const __propDef: {
|
|
4
|
-
props:
|
|
5
|
-
ulClass?: string;
|
|
6
|
-
};
|
|
3
|
+
props: Record<string, never>;
|
|
7
4
|
events: {
|
|
8
5
|
[evt: string]: CustomEvent<any>;
|
|
9
6
|
};
|
|
10
|
-
slots: {
|
|
11
|
-
default: {};
|
|
12
|
-
};
|
|
7
|
+
slots: {};
|
|
13
8
|
};
|
|
14
|
-
|
|
9
|
+
type FooterLinkGroupProps_ = typeof __propDef.props;
|
|
10
|
+
export { FooterLinkGroupProps_ as FooterLinkGroupProps };
|
|
15
11
|
export type FooterLinkGroupEvents = typeof __propDef.events;
|
|
16
12
|
export type FooterLinkGroupSlots = typeof __propDef.slots;
|
|
17
13
|
/**
|
|
18
14
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
19
15
|
* ## Props
|
|
20
|
-
* @
|
|
16
|
+
* @props: class: string;
|
|
17
|
+
* @props:children: any;
|
|
21
18
|
*/
|
|
22
|
-
export default class FooterLinkGroup extends SvelteComponentTyped<
|
|
19
|
+
export default class FooterLinkGroup extends SvelteComponentTyped<FooterLinkGroupProps_, FooterLinkGroupEvents, FooterLinkGroupSlots> {
|
|
23
20
|
}
|
|
24
|
-
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { FooterProps, FooterBrandProps, FooterCopyrightProps, FooterIconProps, FooterLinkGroupProps, FooterLinkProps } from "./type";
|
|
2
|
+
import Footer from "./Footer.svelte";
|
|
3
|
+
import FooterBrand from "./FooterBrand.svelte";
|
|
4
|
+
import FooterCopyright from "./FooterCopyright.svelte";
|
|
5
|
+
import FooterIcon from "./FooterIcon.svelte";
|
|
6
|
+
import FooterLink from "./FooterLink.svelte";
|
|
7
|
+
import FooterLinkGroup from "./FooterLinkGroup.svelte";
|
|
8
|
+
import { footer, footerBrand, footerCopyright, footerIcon, footerLinkGroup, footerLink } from "./theme";
|
|
9
|
+
export { Footer, FooterBrand, FooterCopyright, FooterIcon, FooterLink, FooterLinkGroup, footer, footerBrand, footerCopyright, footerIcon, footerLinkGroup, footerLink, type FooterProps, type FooterBrandProps, type FooterCopyrightProps, type FooterIconProps, type FooterLinkGroupProps, type FooterLinkProps };
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import Footer from "./Footer.svelte";
|
|
2
|
+
import FooterBrand from "./FooterBrand.svelte";
|
|
3
|
+
import FooterCopyright from "./FooterCopyright.svelte";
|
|
4
|
+
import FooterIcon from "./FooterIcon.svelte";
|
|
5
|
+
import FooterLink from "./FooterLink.svelte";
|
|
6
|
+
import FooterLinkGroup from "./FooterLinkGroup.svelte";
|
|
7
|
+
import { footer, footerBrand, footerCopyright, footerIcon, footerLinkGroup, footerLink } from "./theme";
|
|
8
|
+
export { Footer, FooterBrand, FooterCopyright, FooterIcon, FooterLink, FooterLinkGroup, footer, footerBrand, footerCopyright, footerIcon, footerLinkGroup, footerLink };
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
declare const footer: import("tailwind-variants").TVReturnType<{
|
|
2
|
+
footerType: {
|
|
3
|
+
default: string;
|
|
4
|
+
sitemap: string;
|
|
5
|
+
socialmedia: string;
|
|
6
|
+
logo: string;
|
|
7
|
+
sticky: string;
|
|
8
|
+
};
|
|
9
|
+
}, undefined, "bg-white dark:bg-gray-800 flex items-center justify-between w-full", {
|
|
10
|
+
footerType: {
|
|
11
|
+
default: string;
|
|
12
|
+
sitemap: string;
|
|
13
|
+
socialmedia: string;
|
|
14
|
+
logo: string;
|
|
15
|
+
sticky: string;
|
|
16
|
+
};
|
|
17
|
+
}, undefined, import("tailwind-variants").TVReturnType<{
|
|
18
|
+
footerType: {
|
|
19
|
+
default: string;
|
|
20
|
+
sitemap: string;
|
|
21
|
+
socialmedia: string;
|
|
22
|
+
logo: string;
|
|
23
|
+
sticky: string;
|
|
24
|
+
};
|
|
25
|
+
}, undefined, "bg-white dark:bg-gray-800 flex items-center justify-between w-full", unknown, unknown, undefined>>;
|
|
26
|
+
declare const footerBrand: import("tailwind-variants").TVReturnType<{
|
|
27
|
+
[key: string]: {
|
|
28
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
29
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
30
|
+
span?: import("tailwind-merge").ClassNameValue;
|
|
31
|
+
img?: import("tailwind-merge").ClassNameValue;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
} | {
|
|
35
|
+
[x: string]: {
|
|
36
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
37
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
38
|
+
span?: import("tailwind-merge").ClassNameValue;
|
|
39
|
+
img?: import("tailwind-merge").ClassNameValue;
|
|
40
|
+
};
|
|
41
|
+
};
|
|
42
|
+
} | {}, {
|
|
43
|
+
base: string;
|
|
44
|
+
span: string;
|
|
45
|
+
img: string;
|
|
46
|
+
}, undefined, {
|
|
47
|
+
[key: string]: {
|
|
48
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
49
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
50
|
+
span?: import("tailwind-merge").ClassNameValue;
|
|
51
|
+
img?: import("tailwind-merge").ClassNameValue;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
} | {}, {
|
|
55
|
+
base: string;
|
|
56
|
+
span: string;
|
|
57
|
+
img: string;
|
|
58
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
59
|
+
base: string;
|
|
60
|
+
span: string;
|
|
61
|
+
img: string;
|
|
62
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
63
|
+
declare const footerCopyright: import("tailwind-variants").TVReturnType<{
|
|
64
|
+
[key: string]: {
|
|
65
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
66
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
67
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
68
|
+
bySpan?: import("tailwind-merge").ClassNameValue;
|
|
69
|
+
};
|
|
70
|
+
};
|
|
71
|
+
} | {
|
|
72
|
+
[x: string]: {
|
|
73
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
74
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
75
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
76
|
+
bySpan?: import("tailwind-merge").ClassNameValue;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
} | {}, {
|
|
80
|
+
base: string;
|
|
81
|
+
link: string;
|
|
82
|
+
bySpan: string;
|
|
83
|
+
}, undefined, {
|
|
84
|
+
[key: string]: {
|
|
85
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
86
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
87
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
88
|
+
bySpan?: import("tailwind-merge").ClassNameValue;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
} | {}, {
|
|
92
|
+
base: string;
|
|
93
|
+
link: string;
|
|
94
|
+
bySpan: string;
|
|
95
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
96
|
+
base: string;
|
|
97
|
+
link: string;
|
|
98
|
+
bySpan: string;
|
|
99
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
100
|
+
declare const footerIcon: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "text-gray-500 hover:text-gray-900 dark:hover:text-white", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "text-gray-500 hover:text-gray-900 dark:hover:text-white", unknown, unknown, undefined>>;
|
|
101
|
+
declare const footerLinkGroup: import("tailwind-variants").TVReturnType<{} | {} | {}, undefined, "text-sm text-gray-600 dark:text-gray-400 flex flex-wrap items-center", {} | {}, undefined, import("tailwind-variants").TVReturnType<unknown, undefined, "text-sm text-gray-600 dark:text-gray-400 flex flex-wrap items-center", unknown, unknown, undefined>>;
|
|
102
|
+
declare const footerLink: import("tailwind-variants").TVReturnType<{
|
|
103
|
+
[key: string]: {
|
|
104
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
105
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
106
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
107
|
+
};
|
|
108
|
+
};
|
|
109
|
+
} | {
|
|
110
|
+
[x: string]: {
|
|
111
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
112
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
113
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
114
|
+
};
|
|
115
|
+
};
|
|
116
|
+
} | {}, {
|
|
117
|
+
base: string;
|
|
118
|
+
link: string;
|
|
119
|
+
}, undefined, {
|
|
120
|
+
[key: string]: {
|
|
121
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
122
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
123
|
+
link?: import("tailwind-merge").ClassNameValue;
|
|
124
|
+
};
|
|
125
|
+
};
|
|
126
|
+
} | {}, {
|
|
127
|
+
base: string;
|
|
128
|
+
link: string;
|
|
129
|
+
}, import("tailwind-variants").TVReturnType<unknown, {
|
|
130
|
+
base: string;
|
|
131
|
+
link: string;
|
|
132
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
133
|
+
export { footer, footerBrand, footerCopyright, footerIcon, footerLinkGroup, footerLink };
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { tv } from "tailwind-variants";
|
|
2
|
+
const footer = tv({
|
|
3
|
+
base: "bg-white dark:bg-gray-800 flex items-center justify-between w-full",
|
|
4
|
+
variants: {
|
|
5
|
+
footerType: {
|
|
6
|
+
default: "p-4 rounded-lg shadow-sm md:flex md:items-center md:justify-between md:p-6",
|
|
7
|
+
sitemap: "bg-white dark:bg-gray-900",
|
|
8
|
+
socialmedia: "p-4 sm:p-6",
|
|
9
|
+
logo: "p-4 rounded-lg shadow-sm md:px-6 md:py-8",
|
|
10
|
+
sticky: "fixed bottom-0 left-0 z-20 w-full p-4 bg-white border-t border-gray-200 shadow-sm md:flex md:items-center md:justify-between md:p-6 dark:bg-gray-800 dark:border-gray-600"
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
const footerBrand = tv({
|
|
15
|
+
slots: {
|
|
16
|
+
base: "flex items-center",
|
|
17
|
+
span: "self-center text-2xl font-semibold whitespace-nowrap dark:text-white",
|
|
18
|
+
img: "me-3 h-8"
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
const footerCopyright = tv({
|
|
22
|
+
slots: {
|
|
23
|
+
base: "block text-sm text-gray-500 sm:text-center dark:text-gray-400",
|
|
24
|
+
link: "hover:underline",
|
|
25
|
+
bySpan: "ms-1"
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
const footerIcon = tv({
|
|
29
|
+
base: "text-gray-500 hover:text-gray-900 dark:hover:text-white"
|
|
30
|
+
});
|
|
31
|
+
const footerLinkGroup = tv({
|
|
32
|
+
base: "text-sm text-gray-600 dark:text-gray-400 flex flex-wrap items-center"
|
|
33
|
+
});
|
|
34
|
+
const footerLink = tv({
|
|
35
|
+
slots: {
|
|
36
|
+
base: "me-4 last:me-0 md:me-6",
|
|
37
|
+
link: "hover:underline"
|
|
38
|
+
}
|
|
39
|
+
});
|
|
40
|
+
export { footer, footerBrand, footerCopyright, footerIcon, footerLinkGroup, footerLink };
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import type { Snippet } from "svelte";
|
|
2
|
+
import type { HTMLAttributes, HTMLAnchorAttributes } from "svelte/elements";
|
|
3
|
+
type FooterType = "default" | "sticky" | "sitemap" | "socialmedia" | "logo" | undefined;
|
|
4
|
+
interface FooterProps extends HTMLAttributes<HTMLElement> {
|
|
5
|
+
children: Snippet;
|
|
6
|
+
footerType?: FooterType;
|
|
7
|
+
class?: string;
|
|
8
|
+
}
|
|
9
|
+
interface FooterBrandProps extends HTMLAnchorAttributes {
|
|
10
|
+
children?: Snippet;
|
|
11
|
+
aClass?: string;
|
|
12
|
+
spanClass?: string;
|
|
13
|
+
imgClass?: string;
|
|
14
|
+
href?: string;
|
|
15
|
+
src?: string;
|
|
16
|
+
alt?: string;
|
|
17
|
+
name?: string;
|
|
18
|
+
}
|
|
19
|
+
interface FooterCopyrightProps extends HTMLAnchorAttributes {
|
|
20
|
+
spanClass?: string;
|
|
21
|
+
aClass?: string;
|
|
22
|
+
href?: string;
|
|
23
|
+
by?: string;
|
|
24
|
+
copyrightMessage?: string;
|
|
25
|
+
year?: number | undefined;
|
|
26
|
+
}
|
|
27
|
+
interface FooterIconProps extends HTMLAnchorAttributes {
|
|
28
|
+
children: Snippet;
|
|
29
|
+
href?: string;
|
|
30
|
+
ariaLabel?: string;
|
|
31
|
+
class?: string;
|
|
32
|
+
}
|
|
33
|
+
interface FooterLinkGroupProps extends HTMLAttributes<HTMLUListElement> {
|
|
34
|
+
children: Snippet;
|
|
35
|
+
class?: string;
|
|
36
|
+
}
|
|
37
|
+
interface FooterLinkProps extends HTMLAnchorAttributes {
|
|
38
|
+
children: Snippet;
|
|
39
|
+
liClass?: string;
|
|
40
|
+
aClass?: string;
|
|
41
|
+
href?: string;
|
|
42
|
+
}
|
|
43
|
+
export { type FooterProps, type FooterBrandProps, type FooterCopyrightProps, type FooterIconProps, type FooterLinkGroupProps, type FooterLinkProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|