flowbite-svelte 1.4.3 → 1.5.1
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 +2 -3
- package/dist/accordion/Accordion.svelte.d.ts +1 -1
- package/dist/accordion/AccordionItem.svelte +2 -5
- package/dist/accordion/AccordionItem.svelte.d.ts +1 -1
- package/dist/accordion/index.d.ts +3 -4
- package/dist/accordion/index.js +3 -4
- package/dist/alert/Alert.svelte +12 -15
- package/dist/alert/Alert.svelte.d.ts +2 -2
- package/dist/alert/index.d.ts +2 -3
- package/dist/alert/index.js +2 -3
- package/dist/avatar/Avatar.svelte +11 -11
- package/dist/avatar/Avatar.svelte.d.ts +2 -2
- package/dist/avatar/index.d.ts +2 -3
- package/dist/avatar/index.js +2 -3
- package/dist/badge/Badge.svelte +5 -8
- package/dist/badge/Badge.svelte.d.ts +2 -2
- package/dist/badge/index.d.ts +2 -3
- package/dist/badge/index.js +2 -3
- package/dist/banner/Banner.svelte +8 -9
- package/dist/banner/Banner.svelte.d.ts +3 -2
- package/dist/banner/index.d.ts +2 -3
- package/dist/banner/index.js +2 -3
- package/dist/bottom-navigation/BottomNav.svelte +7 -10
- package/dist/bottom-navigation/BottomNav.svelte.d.ts +2 -2
- package/dist/bottom-navigation/BottomNavHeader.svelte +4 -4
- package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +2 -2
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte +4 -5
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +2 -2
- package/dist/bottom-navigation/BottomNavItem.svelte +6 -7
- package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +2 -2
- package/dist/bottom-navigation/index.d.ts +5 -6
- package/dist/bottom-navigation/index.js +5 -6
- package/dist/breadcrumb/Breadcrumb.svelte +5 -6
- package/dist/breadcrumb/Breadcrumb.svelte.d.ts +2 -2
- package/dist/breadcrumb/BreadcrumbItem.svelte +12 -13
- package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +2 -2
- package/dist/breadcrumb/index.d.ts +3 -4
- package/dist/breadcrumb/index.js +3 -4
- package/dist/button-group/ButtonGroup.svelte +3 -3
- package/dist/button-group/ButtonGroup.svelte.d.ts +2 -2
- package/dist/button-group/index.d.ts +2 -3
- package/dist/button-group/index.js +2 -3
- package/dist/buttons/Button.svelte +7 -11
- package/dist/buttons/Button.svelte.d.ts +3 -4
- package/dist/buttons/GradientButton.svelte +7 -9
- package/dist/buttons/GradientButton.svelte.d.ts +3 -2
- package/dist/buttons/index.d.ts +3 -4
- package/dist/buttons/index.js +3 -4
- package/dist/card/Card.svelte +11 -27
- package/dist/card/Card.svelte.d.ts +2 -3
- package/dist/card/index.d.ts +2 -3
- package/dist/card/index.js +2 -3
- package/dist/card/theme.d.ts +2 -0
- package/dist/carousel/Carousel.svelte +6 -11
- package/dist/carousel/Carousel.svelte.d.ts +2 -2
- package/dist/carousel/ControlButton.svelte +6 -6
- package/dist/carousel/ControlButton.svelte.d.ts +3 -2
- package/dist/carousel/Controls.svelte +5 -6
- package/dist/carousel/Controls.svelte.d.ts +2 -2
- package/dist/carousel/Indicators.svelte +5 -6
- package/dist/carousel/Indicators.svelte.d.ts +1 -1
- package/dist/carousel/Slide.svelte +3 -4
- package/dist/carousel/Slide.svelte.d.ts +2 -2
- package/dist/carousel/Thumbnail.svelte +3 -3
- package/dist/carousel/Thumbnail.svelte.d.ts +2 -2
- package/dist/carousel/Thumbnails.svelte +8 -9
- package/dist/carousel/Thumbnails.svelte.d.ts +3 -3
- package/dist/carousel/index.d.ts +8 -7
- package/dist/carousel/index.js +8 -7
- package/dist/chart/Chart.svelte +3 -3
- package/dist/chart/Chart.svelte.d.ts +2 -2
- package/dist/chart/index.d.ts +1 -2
- package/dist/chart/index.js +1 -2
- package/dist/clipboard/Clipboard.svelte +55 -0
- package/dist/clipboard/Clipboard.svelte.d.ts +17 -0
- package/dist/clipboard/index.d.ts +2 -0
- package/dist/clipboard/index.js +2 -0
- package/dist/clipboard/theme.d.ts +18 -0
- package/dist/clipboard/theme.js +13 -0
- package/dist/darkmode/DarkMode.svelte +4 -5
- package/dist/darkmode/DarkMode.svelte.d.ts +2 -2
- package/dist/darkmode/index.d.ts +2 -3
- package/dist/darkmode/index.js +2 -3
- package/dist/datepicker/Datepicker.svelte +8 -6
- package/dist/datepicker/Datepicker.svelte.d.ts +3 -1
- package/dist/datepicker/index.d.ts +2 -3
- package/dist/datepicker/index.js +2 -3
- package/dist/device-mockups/Android.svelte +9 -9
- package/dist/device-mockups/Android.svelte.d.ts +2 -2
- package/dist/device-mockups/DefaultMockup.svelte +8 -8
- package/dist/device-mockups/DefaultMockup.svelte.d.ts +2 -2
- package/dist/device-mockups/Desktop.svelte +6 -6
- package/dist/device-mockups/Desktop.svelte.d.ts +2 -2
- package/dist/device-mockups/DeviceMockup.svelte +1 -1
- package/dist/device-mockups/DeviceMockup.svelte.d.ts +1 -1
- package/dist/device-mockups/Ios.svelte +8 -8
- package/dist/device-mockups/Ios.svelte.d.ts +2 -2
- package/dist/device-mockups/Laptop.svelte +6 -6
- package/dist/device-mockups/Laptop.svelte.d.ts +2 -2
- package/dist/device-mockups/Smartwatch.svelte +8 -8
- package/dist/device-mockups/Smartwatch.svelte.d.ts +2 -2
- package/dist/device-mockups/Tablet.svelte +8 -8
- package/dist/device-mockups/Tablet.svelte.d.ts +2 -2
- package/dist/device-mockups/index.d.ts +9 -10
- package/dist/device-mockups/index.js +9 -10
- package/dist/device-mockups/theme.d.ts +30 -30
- package/dist/drawer/Drawer.svelte +4 -5
- package/dist/drawer/Drawer.svelte.d.ts +1 -1
- package/dist/drawer/Drawerhead.svelte +5 -6
- package/dist/drawer/Drawerhead.svelte.d.ts +2 -2
- package/dist/drawer/index.d.ts +3 -4
- package/dist/drawer/index.js +3 -4
- package/dist/dropdown/Dropdown.svelte +4 -8
- package/dist/dropdown/Dropdown.svelte.d.ts +2 -3
- package/dist/dropdown/DropdownDivider.svelte +6 -8
- package/dist/dropdown/DropdownDivider.svelte.d.ts +3 -3
- package/dist/dropdown/DropdownGroup.svelte +3 -6
- package/dist/dropdown/DropdownGroup.svelte.d.ts +2 -2
- package/dist/dropdown/DropdownHeader.svelte +3 -5
- package/dist/dropdown/DropdownHeader.svelte.d.ts +2 -2
- package/dist/dropdown/DropdownItem.svelte +13 -15
- package/dist/dropdown/DropdownItem.svelte.d.ts +2 -3
- package/dist/dropdown/index.d.ts +6 -7
- package/dist/dropdown/index.js +6 -7
- package/dist/footer/Footer.svelte +4 -4
- package/dist/footer/Footer.svelte.d.ts +2 -2
- package/dist/footer/FooterBrand.svelte +6 -6
- package/dist/footer/FooterBrand.svelte.d.ts +2 -2
- package/dist/footer/FooterCopyright.svelte +8 -7
- package/dist/footer/FooterCopyright.svelte.d.ts +3 -2
- package/dist/footer/FooterIcon.svelte +5 -7
- package/dist/footer/FooterIcon.svelte.d.ts +3 -3
- package/dist/footer/FooterLink.svelte +5 -5
- package/dist/footer/FooterLink.svelte.d.ts +2 -2
- package/dist/footer/FooterLinkGroup.svelte +5 -6
- package/dist/footer/FooterLinkGroup.svelte.d.ts +3 -3
- package/dist/footer/index.d.ts +7 -8
- package/dist/footer/index.js +7 -8
- package/dist/forms/button-toggle/ButtonToggle.svelte +9 -9
- package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +2 -1
- package/dist/forms/button-toggle/ButtonToggleGroup.svelte +4 -5
- package/dist/forms/button-toggle/CheckIcon.svelte +13 -2
- package/dist/forms/button-toggle/CheckIcon.svelte.d.ts +10 -3
- package/dist/forms/button-toggle/theme.d.ts +2 -2
- package/dist/forms/button-toggle/theme.js +1 -1
- package/dist/forms/checkbox/Checkbox.svelte +5 -7
- package/dist/forms/checkbox/CheckboxButton.svelte +3 -4
- package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +2 -2
- package/dist/forms/checkbox/theme.d.ts +2 -0
- package/dist/forms/dropzone/Dropzone.svelte +3 -5
- package/dist/forms/dropzone/Dropzone.svelte.d.ts +2 -2
- package/dist/forms/fileupload/Fileupload.svelte +7 -7
- package/dist/forms/fileupload/Fileupload.svelte.d.ts +2 -1
- package/dist/forms/floating-label/FloatingLabelInput.svelte +9 -10
- package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +2 -2
- package/dist/forms/helper/Helper.svelte +3 -4
- package/dist/forms/helper/Helper.svelte.d.ts +2 -2
- package/dist/forms/input-addon/InputAddon.svelte +3 -5
- package/dist/forms/input-addon/InputAddon.svelte.d.ts +2 -2
- package/dist/forms/input-addon/index.d.ts +1 -2
- package/dist/forms/input-addon/index.js +1 -2
- package/dist/forms/input-field/Input.svelte +11 -13
- package/dist/forms/input-field/index.d.ts +3 -4
- package/dist/forms/input-field/index.js +3 -4
- package/dist/forms/label/Label.svelte +3 -4
- package/dist/forms/label/Label.svelte.d.ts +2 -2
- package/dist/forms/label/index.d.ts +2 -3
- package/dist/forms/label/index.js +2 -3
- package/dist/forms/radio/Radio.svelte +4 -6
- package/dist/forms/radio/Radio.svelte.d.ts +1 -1
- package/dist/forms/radio/RadioButton.svelte +2 -3
- package/dist/forms/range/Range.svelte +5 -6
- package/dist/forms/range/Range.svelte.d.ts +3 -3
- package/dist/forms/range/index.d.ts +2 -3
- package/dist/forms/range/index.js +2 -3
- package/dist/forms/search/Search.svelte +6 -7
- package/dist/forms/search/Search.svelte.d.ts +2 -2
- package/dist/forms/search/index.d.ts +2 -3
- package/dist/forms/search/index.js +2 -3
- package/dist/forms/select/MultiSelect.svelte +4 -6
- package/dist/forms/select/Select.svelte +4 -5
- package/dist/forms/tags/Tags.svelte +7 -7
- package/dist/forms/tags/Tags.svelte.d.ts +1 -1
- package/dist/forms/textarea/Textarea.svelte +12 -12
- package/dist/forms/textarea/Textarea.svelte.d.ts +2 -1
- package/dist/forms/textarea/index.d.ts +2 -3
- package/dist/forms/textarea/index.js +2 -3
- package/dist/forms/timepicker/Timepicker.svelte +51 -26
- package/dist/forms/timepicker/Timepicker.svelte.d.ts +5 -5
- package/dist/forms/timepicker/index.d.ts +1 -2
- package/dist/forms/timepicker/index.js +1 -3
- package/dist/forms/toggle/Toggle.svelte +5 -7
- package/dist/forms/toggle/Toggle.svelte.d.ts +2 -2
- package/dist/forms/toggle/index.d.ts +2 -3
- package/dist/forms/toggle/index.js +2 -3
- package/dist/gallery/Gallery.svelte +4 -5
- package/dist/gallery/Gallery.svelte.d.ts +2 -2
- package/dist/gallery/index.d.ts +2 -3
- package/dist/gallery/index.js +2 -3
- package/dist/gallery/theme.d.ts +3 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/indicator/Indicator.svelte +3 -4
- package/dist/indicator/Indicator.svelte.d.ts +2 -2
- package/dist/indicator/index.d.ts +2 -3
- package/dist/indicator/index.js +2 -3
- package/dist/kbd/Kbd.svelte +3 -4
- package/dist/kbd/Kbd.svelte.d.ts +2 -2
- package/dist/kbd/index.d.ts +2 -3
- package/dist/kbd/index.js +2 -3
- package/dist/list-group/Listgroup.svelte +6 -8
- package/dist/list-group/Listgroup.svelte.d.ts +2 -2
- package/dist/list-group/ListgroupItem.svelte +9 -11
- package/dist/list-group/ListgroupItem.svelte.d.ts +3 -4
- package/dist/list-group/index.d.ts +3 -4
- package/dist/list-group/index.js +3 -4
- package/dist/list-group/theme.d.ts +4 -4
- package/dist/list-group/theme.js +2 -2
- package/dist/mega-menu/MegaMenu.svelte +7 -11
- package/dist/mega-menu/MegaMenu.svelte.d.ts +3 -2
- package/dist/mega-menu/index.d.ts +2 -3
- package/dist/mega-menu/index.js +2 -3
- package/dist/modal/Modal.svelte +7 -6
- package/dist/modal/Modal.svelte.d.ts +1 -1
- package/dist/navbar/Menu.svelte +3 -2
- package/dist/navbar/Menu.svelte.d.ts +1 -1
- package/dist/navbar/NavBrand.svelte +3 -2
- package/dist/navbar/NavBrand.svelte.d.ts +1 -1
- package/dist/navbar/NavContainer.svelte +3 -2
- package/dist/navbar/NavContainer.svelte.d.ts +1 -1
- package/dist/navbar/NavHamburger.svelte +4 -3
- package/dist/navbar/NavHamburger.svelte.d.ts +10 -3
- package/dist/navbar/NavLi.svelte +5 -5
- package/dist/navbar/NavLi.svelte.d.ts +1 -2
- package/dist/navbar/NavUl.svelte +10 -10
- package/dist/navbar/NavUl.svelte.d.ts +1 -1
- package/dist/navbar/Navbar.svelte +4 -3
- package/dist/navbar/Navbar.svelte.d.ts +1 -1
- package/dist/pagination/Pagination.svelte +1 -1
- package/dist/pagination/Pagination.svelte.d.ts +1 -1
- package/dist/pagination/PaginationButton.svelte +6 -6
- package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
- package/dist/pagination/PaginationItem.svelte +5 -4
- package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
- package/dist/pagination/PaginationNav.svelte +9 -7
- package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
- package/dist/popover/Popover.svelte +4 -3
- package/dist/popover/Popover.svelte.d.ts +1 -1
- package/dist/progress/Progressbar.svelte +12 -15
- package/dist/progress/Progressbar.svelte.d.ts +3 -6
- package/dist/progress/Progressradial.svelte +14 -17
- package/dist/progress/Progressradial.svelte.d.ts +3 -6
- package/dist/progress/theme.d.ts +14 -0
- package/dist/rating/AdvancedRating.svelte +8 -6
- package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
- package/dist/rating/CustomIcon.svelte +3 -2
- package/dist/rating/CustomIcon.svelte.d.ts +1 -1
- package/dist/rating/Heart.svelte +3 -2
- package/dist/rating/Heart.svelte.d.ts +1 -1
- package/dist/rating/Rating.svelte +6 -6
- package/dist/rating/Rating.svelte.d.ts +2 -2
- package/dist/rating/RatingComment.svelte +1 -1
- package/dist/rating/RatingComment.svelte.d.ts +1 -1
- package/dist/rating/Review.svelte +11 -10
- package/dist/rating/Review.svelte.d.ts +1 -1
- package/dist/rating/ScoreRating.svelte +1 -1
- package/dist/rating/ScoreRating.svelte.d.ts +1 -1
- package/dist/rating/Star.svelte +3 -2
- package/dist/rating/Star.svelte.d.ts +1 -1
- package/dist/rating/Thumbup.svelte +3 -2
- package/dist/rating/Thumbup.svelte.d.ts +1 -1
- package/dist/rating/theme.d.ts +3 -3
- package/dist/sidebar/Sidebar.svelte +9 -8
- package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarBrand.svelte +5 -4
- package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarButton.svelte +3 -2
- package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarCta.svelte +5 -4
- package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarDropdownWrapper.svelte +9 -8
- package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarGroup.svelte +3 -2
- package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarItem.svelte +5 -10
- package/dist/sidebar/SidebarItem.svelte.d.ts +2 -2
- package/dist/sidebar/theme.d.ts +9 -9
- package/dist/skeleton/CardPlaceholder.svelte +3 -2
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte +3 -2
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ListPlaceholder.svelte +3 -2
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/Skeleton.svelte +3 -2
- package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
- package/dist/skeleton/TestimonialPlaceholder.svelte +8 -4
- package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +6 -3
- package/dist/skeleton/TextPlaceholder.svelte +3 -2
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte +4 -3
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte +7 -4
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +5 -3
- package/dist/speed-dial/SpeedDial.svelte +5 -4
- package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialButton.svelte +4 -3
- package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialTrigger.svelte +3 -2
- package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
- package/dist/spinner/Spinner.svelte +4 -3
- package/dist/spinner/Spinner.svelte.d.ts +1 -1
- package/dist/stepindicator/StepIndicator.svelte +5 -3
- package/dist/stepindicator/StepIndicator.svelte.d.ts +1 -1
- package/dist/table/Table.svelte +4 -3
- package/dist/table/Table.svelte.d.ts +1 -1
- package/dist/table/TableBody.svelte +3 -2
- package/dist/table/TableBody.svelte.d.ts +1 -1
- package/dist/table/TableBodyCell.svelte +3 -4
- package/dist/table/TableBodyCell.svelte.d.ts +1 -1
- package/dist/table/TableBodyRow.svelte +4 -3
- package/dist/table/TableBodyRow.svelte.d.ts +1 -1
- package/dist/table/TableHead.svelte +4 -3
- package/dist/table/TableHead.svelte.d.ts +1 -1
- package/dist/table/TableHeadCell.svelte +3 -3
- package/dist/table/TableHeadCell.svelte.d.ts +1 -1
- package/dist/table/TableSearch.svelte +9 -9
- package/dist/table/TableSearch.svelte.d.ts +1 -1
- package/dist/tabs/TabItem.svelte +4 -16
- package/dist/tabs/TabItem.svelte.d.ts +2 -2
- package/dist/tabs/Tabs.svelte +5 -3
- package/dist/tabs/Tabs.svelte.d.ts +1 -1
- package/dist/theme/Theme.svelte +1 -1
- package/dist/theme/Theme.svelte.d.ts +1 -1
- package/dist/theme/index.d.ts +77 -61
- package/dist/theme/index.js +2 -1
- package/dist/timeline/Activity.svelte +1 -1
- package/dist/timeline/Activity.svelte.d.ts +1 -1
- package/dist/timeline/ActivityItem.svelte +1 -1
- package/dist/timeline/ActivityItem.svelte.d.ts +1 -1
- package/dist/timeline/Group.svelte +1 -1
- package/dist/timeline/Group.svelte.d.ts +1 -1
- package/dist/timeline/GroupItem.svelte +1 -1
- package/dist/timeline/GroupItem.svelte.d.ts +1 -1
- package/dist/timeline/Timeline.svelte +1 -1
- package/dist/timeline/Timeline.svelte.d.ts +1 -1
- package/dist/timeline/TimelineItem.svelte +1 -1
- package/dist/timeline/TimelineItem.svelte.d.ts +1 -1
- package/dist/timeline/theme.d.ts +12 -12
- package/dist/toast/Toast.svelte +1 -1
- package/dist/toast/Toast.svelte.d.ts +1 -1
- package/dist/toolbar/Toolbar.svelte +1 -1
- package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarButton.svelte +3 -6
- package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -2
- package/dist/toolbar/ToolbarGroup.svelte +1 -1
- package/dist/toolbar/ToolbarGroup.svelte.d.ts +1 -1
- package/dist/tooltip/Tooltip.svelte +1 -1
- package/dist/tooltip/Tooltip.svelte.d.ts +1 -1
- package/dist/types.d.ts +279 -313
- package/dist/typography/anchor/A.svelte +1 -1
- package/dist/typography/anchor/A.svelte.d.ts +1 -1
- package/dist/typography/blockquote/Blockquote.svelte +1 -1
- package/dist/typography/blockquote/Blockquote.svelte.d.ts +1 -1
- package/dist/typography/descriptionlist/DescriptionList.svelte +1 -1
- package/dist/typography/descriptionlist/DescriptionList.svelte.d.ts +1 -1
- package/dist/typography/heading/Heading.svelte +1 -1
- package/dist/typography/heading/Heading.svelte.d.ts +1 -1
- package/dist/typography/hr/Hr.svelte +1 -1
- package/dist/typography/hr/Hr.svelte.d.ts +1 -1
- package/dist/typography/img/EnhancedImg.svelte +1 -1
- package/dist/typography/img/EnhancedImg.svelte.d.ts +1 -1
- package/dist/typography/img/Img.svelte +1 -1
- package/dist/typography/img/Img.svelte.d.ts +1 -1
- package/dist/typography/layout/Layout.svelte +1 -1
- package/dist/typography/layout/Layout.svelte.d.ts +1 -1
- package/dist/typography/list/Li.svelte +1 -1
- package/dist/typography/list/Li.svelte.d.ts +1 -1
- package/dist/typography/list/List.svelte +1 -1
- package/dist/typography/list/List.svelte.d.ts +1 -1
- package/dist/typography/mark/Mark.svelte +1 -1
- package/dist/typography/mark/Mark.svelte.d.ts +1 -1
- package/dist/typography/paragraph/P.svelte +1 -1
- package/dist/typography/paragraph/P.svelte.d.ts +1 -1
- package/dist/typography/secondary/Secondary.svelte +1 -1
- package/dist/typography/secondary/Secondary.svelte.d.ts +1 -1
- package/dist/typography/span/Span.svelte +1 -1
- package/dist/typography/span/Span.svelte.d.ts +1 -1
- package/dist/utils/Arrow.svelte +1 -1
- package/dist/utils/Arrow.svelte.d.ts +1 -1
- package/dist/utils/CloseButton.svelte +1 -1
- package/dist/utils/CloseButton.svelte.d.ts +1 -1
- package/dist/utils/Popper.svelte +11 -9
- package/dist/utils/Popper.svelte.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/index.js +1 -0
- package/dist/video/Video.svelte +1 -1
- package/dist/video/Video.svelte.d.ts +1 -1
- package/package.json +19 -15
- package/dist/kbd/type.d.ts +0 -0
- package/dist/kbd/type.js +0 -7
package/dist/types.d.ts
CHANGED
|
@@ -1,18 +1,11 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
1
|
+
import type { Coords, Middleware, Placement, Strategy } from "@floating-ui/dom";
|
|
2
|
+
import type { ClassValue } from "clsx";
|
|
3
|
+
import type { Component, Snippet } from "svelte";
|
|
4
|
+
import type { HTMLAnchorAttributes, HTMLAttributes, HTMLBlockquoteAttributes, HTMLButtonAttributes, HTMLDialogAttributes, HTMLImgAttributes, HTMLInputAttributes, HTMLLabelAttributes, HTMLLiAttributes, HTMLOlAttributes, HTMLSelectAttributes, HTMLSourceAttributes, HTMLTableAttributes, HTMLTdAttributes, HTMLTextareaAttributes, HTMLThAttributes, HTMLTrackAttributes, HTMLVideoAttributes, SVGAttributes } from "svelte/elements";
|
|
3
5
|
import { type Writable } from "svelte/store";
|
|
4
|
-
import type {
|
|
6
|
+
import type { BlurParams, EasingFunction, FadeParams, FlyParams, ScaleParams, SlideParams, TransitionConfig } from "svelte/transition";
|
|
5
7
|
import { tv, type VariantProps } from "tailwind-variants";
|
|
6
|
-
import type {
|
|
7
|
-
import type { AlertVariants } from "./alert/theme";
|
|
8
|
-
import type { BadgeVariants } from "./badge/theme";
|
|
9
|
-
import type { BannerVariants } from "./banner/theme";
|
|
10
|
-
import type { ButtonVariants, GradientButtonVariantes, button, gradientButton } from "./buttons/theme";
|
|
11
|
-
import type { CarouselVariants } from "./carousel/theme";
|
|
12
|
-
import type { closeButtonVariants } from "./utils/theme";
|
|
13
|
-
import type Slide from "./carousel/Slide.svelte";
|
|
14
|
-
import type { ApexOptions } from "apexcharts";
|
|
15
|
-
import type { DrawerVariants } from "./drawer/theme";
|
|
8
|
+
import type { CheckboxVariants } from "./forms/checkbox/theme";
|
|
16
9
|
import type { FileuploadViariants } from "./forms/fileupload/theme";
|
|
17
10
|
import type { FloatingLabelInputVaratiants } from "./forms/floating-label/theme";
|
|
18
11
|
import type { HelperVariants } from "./forms/helper/theme";
|
|
@@ -32,11 +25,24 @@ import type { CardPlaceholderVariants, ImagePlaceholderVariants, ListPlaceholder
|
|
|
32
25
|
import type { SpinnerVaraiants } from "./spinner/theme";
|
|
33
26
|
import type { TableVariants } from "./table/theme";
|
|
34
27
|
import type { TabsVaraints } from "./tabs/theme";
|
|
28
|
+
import type { PaginationItemVariants, PaginationVariants } from "./pagination/theme";
|
|
29
|
+
import type { ProgressbarVariants, ProgressradialVariants } from "./progress/theme";
|
|
35
30
|
import { baseThemes } from "./theme";
|
|
36
31
|
import { timeline } from "./timeline/theme";
|
|
37
32
|
import type { ToastVaraints } from "./toast/theme";
|
|
38
33
|
import type { ToolbarButtonVariants, ToolbarGroupVariants, ToolbarVariants } from "./toolbar/theme";
|
|
39
34
|
import type { TooltipVariants } from "./tooltip/theme";
|
|
35
|
+
import type { ApexOptions } from "apexcharts";
|
|
36
|
+
import type { AlertVariants } from "./alert/theme";
|
|
37
|
+
import type { BadgeVariants } from "./badge/theme";
|
|
38
|
+
import type { BannerVariants } from "./banner/theme";
|
|
39
|
+
import type { ButtonVariants, GradientButtonVariantes, gradientButton } from "./buttons/theme";
|
|
40
|
+
import type { CardVariants } from "./card/theme";
|
|
41
|
+
import type Slide from "./carousel/Slide.svelte";
|
|
42
|
+
import type { CarouselVariants } from "./carousel/theme";
|
|
43
|
+
import type { DrawerVariants } from "./drawer/theme";
|
|
44
|
+
import type { closeButtonVariants } from "./utils/theme";
|
|
45
|
+
import type { ButtonToggleVariants } from "./forms/button-toggle/theme";
|
|
40
46
|
import type { AnchorVariants } from "./typography/anchor/theme";
|
|
41
47
|
import type { BlockquoteVariants } from "./typography/blockquote/theme";
|
|
42
48
|
import type { DescriptionListVariants } from "./typography/descriptionlist/theme";
|
|
@@ -45,7 +51,7 @@ import type { ImgVariants } from "./typography/img/theme";
|
|
|
45
51
|
import type { ListVariants } from "./typography/list/theme";
|
|
46
52
|
import type { ParagraphVariants } from "./typography/paragraph/theme";
|
|
47
53
|
import type { SpanVariants } from "./typography/span/theme";
|
|
48
|
-
import type {
|
|
54
|
+
import type { ClipboardVariants } from "./clipboard/theme";
|
|
49
55
|
export interface ThemeConfig {
|
|
50
56
|
slots?: Record<string, object | string>;
|
|
51
57
|
variants?: Record<string, object>;
|
|
@@ -79,13 +85,12 @@ export type CloseButtonProps = CloseButtonVariants & AnchorButtonAttributes & {
|
|
|
79
85
|
svgClass?: string;
|
|
80
86
|
};
|
|
81
87
|
export type NavbarType = {
|
|
82
|
-
navStatus
|
|
88
|
+
navStatus?: boolean;
|
|
83
89
|
breakPoint: "md" | "lg" | "xl" | "xxl";
|
|
84
|
-
activeClass
|
|
85
|
-
nonActiveClass
|
|
90
|
+
activeClass?: string | null;
|
|
91
|
+
nonActiveClass?: string | null;
|
|
86
92
|
closeNav: () => void;
|
|
87
93
|
};
|
|
88
|
-
export type ColorVariant = "primary" | "secondary" | "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "none";
|
|
89
94
|
export type DeviceVariantType = "default" | "ios" | "android" | "tablet" | "laptop" | "desktop" | "smartwatch";
|
|
90
95
|
export declare type SizeType = typeof xs | typeof sm | typeof md | typeof lg | typeof xl;
|
|
91
96
|
export type TransitionTypes = "fade" | "fly" | "slide" | "blur" | "in:fly" | "out:fly" | "in:slide" | "out:slide" | "in:fade" | "out:fade" | "in:blur" | "out:blur";
|
|
@@ -93,7 +98,7 @@ export interface TransitionParamTypes {
|
|
|
93
98
|
delay?: number;
|
|
94
99
|
duration?: number;
|
|
95
100
|
easing?: (t: number) => number;
|
|
96
|
-
css?: (t: number, u: number) => string |
|
|
101
|
+
css?: (t: number, u: number) => string | null;
|
|
97
102
|
tick?: (t: number, u: number) => void;
|
|
98
103
|
}
|
|
99
104
|
export type ParamsType = FadeParams | BlurParams | FlyParams | SlideParams | ScaleParams | undefined;
|
|
@@ -106,18 +111,29 @@ export interface LinkType {
|
|
|
106
111
|
active?: boolean;
|
|
107
112
|
[propName: string]: any;
|
|
108
113
|
}
|
|
109
|
-
|
|
114
|
+
export type AnchorButtonAttributes = ({
|
|
110
115
|
href: string;
|
|
111
|
-
|
|
112
|
-
}
|
|
113
|
-
interface ButtonAttibutes extends Omit<HTMLButtonAttributes, "on:copy" | "oncopy"> {
|
|
116
|
+
} & HTMLAnchorAttributes) | ({
|
|
114
117
|
href?: undefined;
|
|
115
|
-
}
|
|
116
|
-
export type
|
|
118
|
+
} & HTMLButtonAttributes);
|
|
119
|
+
export type AnchorDivAttributes = ({
|
|
120
|
+
href: string;
|
|
121
|
+
} & HTMLAnchorAttributes) | ({
|
|
122
|
+
href?: undefined;
|
|
123
|
+
} & HTMLAttributes<HTMLDivElement>);
|
|
124
|
+
export type AnchorButtonDivAttributes = ({
|
|
125
|
+
href: string;
|
|
126
|
+
} & HTMLAnchorAttributes) | ({
|
|
127
|
+
href?: undefined;
|
|
128
|
+
onclick: Function;
|
|
129
|
+
} & HTMLButtonAttributes) | ({
|
|
130
|
+
href?: undefined;
|
|
131
|
+
onclick?: undefined;
|
|
132
|
+
} & HTMLAttributes<HTMLDivElement>);
|
|
117
133
|
export interface AccordionCtxType {
|
|
118
134
|
flush: boolean;
|
|
119
|
-
activeClass
|
|
120
|
-
inactiveClass
|
|
135
|
+
activeClass?: string | null;
|
|
136
|
+
inactiveClass?: string | null;
|
|
121
137
|
selected?: Writable<object>;
|
|
122
138
|
classActive?: string;
|
|
123
139
|
classInactive?: string;
|
|
@@ -147,7 +163,6 @@ export interface AccordionItemProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
147
163
|
headerClass?: string;
|
|
148
164
|
contentClass?: string;
|
|
149
165
|
}
|
|
150
|
-
export type alertColor = "primary" | "secondary" | "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose";
|
|
151
166
|
export interface AlertProps extends Omit<AlertVariants, "icon">, Omit<HTMLAttributes<HTMLDivElement>, "color"> {
|
|
152
167
|
children: Snippet;
|
|
153
168
|
icon?: Snippet;
|
|
@@ -165,7 +180,7 @@ export interface AvatarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
165
180
|
src?: string;
|
|
166
181
|
cornerStyle?: "rounded" | "circular";
|
|
167
182
|
stacked?: boolean;
|
|
168
|
-
dot?: object
|
|
183
|
+
dot?: object;
|
|
169
184
|
alt?: string;
|
|
170
185
|
size?: "xs" | "sm" | "md" | "lg" | "xl";
|
|
171
186
|
onclick?: () => void;
|
|
@@ -182,21 +197,22 @@ export interface BadgeProps extends BadgeVariants, Omit<HTMLAttributes<HTMLDivEl
|
|
|
182
197
|
transition?: TransitionFunc;
|
|
183
198
|
params?: ParamsType;
|
|
184
199
|
onclose?: (ev: Event) => void;
|
|
185
|
-
aClass?:
|
|
200
|
+
aClass?: ClassValue;
|
|
186
201
|
}
|
|
187
202
|
export interface BannerProps extends BannerVariants, HTMLAttributes<HTMLDivElement> {
|
|
188
203
|
header?: Snippet;
|
|
189
204
|
open?: boolean;
|
|
190
205
|
dismissable?: boolean;
|
|
191
206
|
color?: BannerVariants["color"];
|
|
192
|
-
innerClass?:
|
|
207
|
+
innerClass?: ClassValue;
|
|
193
208
|
transition?: TransitionFunc;
|
|
194
209
|
params?: object;
|
|
210
|
+
closeClass?: ClassValue;
|
|
195
211
|
}
|
|
196
212
|
export type BottomNavVariantType = "border" | "application" | "group" | "default" | "pagination" | "card" | "meeting" | "video" | undefined;
|
|
197
213
|
export type PositionType = "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
|
|
198
214
|
export type BottomNavContextType = {
|
|
199
|
-
activeClass
|
|
215
|
+
activeClass?: string | null;
|
|
200
216
|
};
|
|
201
217
|
export type AppBtnPositionType = "middle" | "left" | "right" | undefined;
|
|
202
218
|
export interface BottomNavProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -205,20 +221,19 @@ export interface BottomNavProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
205
221
|
activeUrl?: string;
|
|
206
222
|
position?: PositionType;
|
|
207
223
|
navType?: BottomNavVariantType;
|
|
208
|
-
outerClass?:
|
|
209
|
-
innerClass?:
|
|
210
|
-
activeClass?:
|
|
224
|
+
outerClass?: ClassValue;
|
|
225
|
+
innerClass?: ClassValue;
|
|
226
|
+
activeClass?: ClassValue;
|
|
211
227
|
}
|
|
212
228
|
export interface BottomNavItemProps {
|
|
213
229
|
children: Snippet;
|
|
214
230
|
btnName?: string;
|
|
215
231
|
appBtnPosition?: AppBtnPositionType;
|
|
216
|
-
activeClass?:
|
|
217
|
-
btnClass?:
|
|
218
|
-
spanClass?:
|
|
232
|
+
activeClass?: ClassValue;
|
|
233
|
+
btnClass?: ClassValue;
|
|
234
|
+
spanClass?: ClassValue;
|
|
219
235
|
active?: boolean;
|
|
220
236
|
id?: string;
|
|
221
|
-
class?: string;
|
|
222
237
|
style?: string;
|
|
223
238
|
tabindex?: number;
|
|
224
239
|
title?: string;
|
|
@@ -237,8 +252,8 @@ export interface BottomNavItemProps {
|
|
|
237
252
|
}
|
|
238
253
|
export interface BottomNavHeaderProps {
|
|
239
254
|
children: Snippet;
|
|
240
|
-
outerClass?:
|
|
241
|
-
innerClass?:
|
|
255
|
+
outerClass?: ClassValue;
|
|
256
|
+
innerClass?: ClassValue;
|
|
242
257
|
}
|
|
243
258
|
export interface BottomNavHeaderItemProps extends HTMLButtonAttributes {
|
|
244
259
|
itemName: string;
|
|
@@ -247,7 +262,7 @@ export interface BottomNavHeaderItemProps extends HTMLButtonAttributes {
|
|
|
247
262
|
export interface BreadcrumbProps extends HTMLAttributes<HTMLElement> {
|
|
248
263
|
children: Snippet;
|
|
249
264
|
solid?: boolean;
|
|
250
|
-
olClass?:
|
|
265
|
+
olClass?: ClassValue;
|
|
251
266
|
ariaLabel?: string;
|
|
252
267
|
}
|
|
253
268
|
export interface BreadcrumbItemProps extends HTMLLiAttributes {
|
|
@@ -255,18 +270,16 @@ export interface BreadcrumbItemProps extends HTMLLiAttributes {
|
|
|
255
270
|
icon?: Snippet;
|
|
256
271
|
home?: boolean;
|
|
257
272
|
href?: string;
|
|
258
|
-
linkClass?:
|
|
259
|
-
spanClass?:
|
|
260
|
-
homeClass?:
|
|
273
|
+
linkClass?: ClassValue;
|
|
274
|
+
spanClass?: ClassValue;
|
|
275
|
+
homeClass?: ClassValue;
|
|
261
276
|
}
|
|
262
277
|
export interface ButtonGroupProps extends HTMLAttributes<HTMLDivElement> {
|
|
263
278
|
children: Snippet;
|
|
264
279
|
size?: ButtonGroupSizeType;
|
|
265
|
-
class?: string;
|
|
266
280
|
disabled?: boolean;
|
|
267
281
|
}
|
|
268
282
|
export type ButtonGroupSizeType = "sm" | "md" | "lg" | undefined;
|
|
269
|
-
export type ButtonColor = NonNullable<VariantProps<typeof button>["color"]>;
|
|
270
283
|
export type GradientButtonColor = NonNullable<VariantProps<typeof gradientButton>["color"]>;
|
|
271
284
|
export type HTMLButtonOrAnchorAttributes = Omit<HTMLButtonAttributes & HTMLAnchorAttributes, "color">;
|
|
272
285
|
export type ButtonProps = ButtonVariants & AnchorButtonAttributes & {
|
|
@@ -274,13 +287,12 @@ export type ButtonProps = ButtonVariants & AnchorButtonAttributes & {
|
|
|
274
287
|
disabled?: boolean;
|
|
275
288
|
outline?: boolean;
|
|
276
289
|
shadow?: boolean;
|
|
277
|
-
color?: ButtonColor;
|
|
278
290
|
};
|
|
279
291
|
export interface GradientButtonProps extends GradientButtonVariantes, HTMLButtonOrAnchorAttributes {
|
|
280
292
|
tag?: string;
|
|
281
293
|
disabled?: boolean;
|
|
282
294
|
href?: string;
|
|
283
|
-
|
|
295
|
+
btnClass?: ClassValue;
|
|
284
296
|
}
|
|
285
297
|
export type ButtonToggleGroupProps = HTMLAttributes<HTMLDivElement> & {
|
|
286
298
|
multiSelect?: boolean;
|
|
@@ -291,48 +303,31 @@ export type ButtonToggleGroupProps = HTMLAttributes<HTMLDivElement> & {
|
|
|
291
303
|
roundedSize?: ButtonToggleVariants["roundedSize"];
|
|
292
304
|
onSelect?: (val: any) => void;
|
|
293
305
|
children: Snippet;
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
ctxBtnClass?: string;
|
|
306
|
+
ctxIconClass?: ClassValue;
|
|
307
|
+
ctxBtnClass?: ClassValue;
|
|
297
308
|
};
|
|
298
309
|
export type ButtonToggleProps = HTMLButtonAttributes & {
|
|
299
310
|
value: string;
|
|
300
311
|
selected?: boolean;
|
|
301
312
|
children: Snippet;
|
|
302
|
-
iconSlot
|
|
313
|
+
iconSlot?: Snippet;
|
|
303
314
|
color?: ButtonToggleVariants["color"];
|
|
304
|
-
iconClass?:
|
|
305
|
-
|
|
306
|
-
txtClass?:
|
|
315
|
+
iconClass?: ClassValue;
|
|
316
|
+
contentClass?: ClassValue;
|
|
317
|
+
txtClass?: ClassValue;
|
|
307
318
|
};
|
|
308
319
|
export interface ButtonToggleContext {
|
|
309
320
|
toggleSelected: (toggleValue: string) => void;
|
|
310
321
|
isSelected: (toggleValue: string) => boolean;
|
|
311
322
|
}
|
|
312
323
|
export interface CheckIconProps extends SVGAttributes<SVGSVGElement> {
|
|
313
|
-
class?: string;
|
|
314
324
|
}
|
|
315
|
-
export type
|
|
316
|
-
export type ShadowType = "sm" | "normal" | "lg" | "md" | "xl" | "2xl" | "inner" | undefined;
|
|
317
|
-
export type ColorType = "primary" | "secondary" | "gray" | "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | undefined;
|
|
318
|
-
export interface BaseCardProps {
|
|
325
|
+
export type CardProps = Omit<CardVariants, "href"> & AnchorDivAttributes & {
|
|
319
326
|
children: Snippet;
|
|
320
|
-
horizontal?: boolean;
|
|
321
|
-
color?: ColorType;
|
|
322
|
-
target?: string;
|
|
323
|
-
shadow?: ShadowType;
|
|
324
|
-
reverse?: boolean;
|
|
325
327
|
img?: string;
|
|
326
|
-
|
|
327
|
-
class?: string;
|
|
328
|
-
imgClass?: string;
|
|
328
|
+
imgClass?: ClassValue;
|
|
329
329
|
contentClass?: string;
|
|
330
|
-
}
|
|
331
|
-
export type CardProps = BaseCardProps & (({
|
|
332
|
-
href: string;
|
|
333
|
-
} & HTMLAnchorAttributes) | ({
|
|
334
|
-
href?: never;
|
|
335
|
-
} & HTMLAttributes<HTMLDivElement>));
|
|
330
|
+
};
|
|
336
331
|
export type State = {
|
|
337
332
|
images: HTMLImgAttributes[];
|
|
338
333
|
index: number;
|
|
@@ -352,26 +347,26 @@ export interface CarouselProps extends CarouselVariants, Omit<HTMLAttributes<HTM
|
|
|
352
347
|
transition?: TransitionFunc;
|
|
353
348
|
duration?: number;
|
|
354
349
|
disableSwipe?: boolean;
|
|
355
|
-
imgClass?:
|
|
350
|
+
imgClass?: ClassValue;
|
|
356
351
|
onchange?: (x: HTMLImgAttributes) => {};
|
|
357
|
-
divClass?:
|
|
352
|
+
divClass?: ClassValue;
|
|
358
353
|
}
|
|
359
354
|
export interface IndicatorsProps extends Omit<HTMLAttributes<HTMLDivElement>, "children"> {
|
|
360
355
|
children?: Snippet<[{
|
|
361
356
|
selected: boolean;
|
|
362
357
|
index: number;
|
|
363
358
|
}]>;
|
|
364
|
-
activeClass?:
|
|
365
|
-
inactiveClass?:
|
|
359
|
+
activeClass?: ClassValue;
|
|
360
|
+
inactiveClass?: ClassValue;
|
|
366
361
|
position?: "top" | "bottom" | "withThumbnails";
|
|
367
362
|
}
|
|
368
363
|
export interface ControlButtonProps extends HTMLButtonAttributes {
|
|
369
364
|
forward: boolean;
|
|
370
|
-
name?: string |
|
|
365
|
+
name?: string | null;
|
|
366
|
+
spanClass?: ClassValue;
|
|
371
367
|
}
|
|
372
368
|
export interface ControlsProps extends Omit<HTMLButtonAttributes, "children"> {
|
|
373
369
|
children?: Snippet<[(forward: boolean) => void]>;
|
|
374
|
-
class?: string;
|
|
375
370
|
}
|
|
376
371
|
export interface ThumbnailProps extends HTMLImgAttributes {
|
|
377
372
|
selected?: boolean;
|
|
@@ -386,7 +381,7 @@ export interface ThumbnailsProps extends Omit<HTMLAttributes<HTMLDivElement>, "c
|
|
|
386
381
|
images: HTMLImgAttributes[];
|
|
387
382
|
index: number;
|
|
388
383
|
ariaLabel?: string;
|
|
389
|
-
imgClass?:
|
|
384
|
+
imgClass?: ClassValue;
|
|
390
385
|
throttleDelay?: number;
|
|
391
386
|
}
|
|
392
387
|
export interface SlideProps extends HTMLImgAttributes {
|
|
@@ -395,10 +390,16 @@ export interface SlideProps extends HTMLImgAttributes {
|
|
|
395
390
|
}
|
|
396
391
|
export interface ChartProps {
|
|
397
392
|
options: ApexOptions;
|
|
398
|
-
class?:
|
|
393
|
+
class?: ClassValue;
|
|
394
|
+
}
|
|
395
|
+
export interface ClipboardProps extends ClipboardVariants, ButtonVariants, Omit<HTMLButtonAttributes, "children" | "color" | "disabled"> {
|
|
396
|
+
children: Snippet<[boolean]>;
|
|
397
|
+
value?: string;
|
|
398
|
+
success?: boolean;
|
|
399
|
+
showLabel?: boolean;
|
|
400
|
+
embedded?: boolean;
|
|
399
401
|
}
|
|
400
402
|
export interface DarkmodeProps extends HTMLButtonAttributes {
|
|
401
|
-
class?: string;
|
|
402
403
|
lightIcon?: Snippet;
|
|
403
404
|
darkIcon?: Snippet;
|
|
404
405
|
size?: "sm" | "md" | "lg";
|
|
@@ -420,7 +421,7 @@ export interface DatepickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "o
|
|
|
420
421
|
placeholder?: string;
|
|
421
422
|
disabled?: boolean;
|
|
422
423
|
required?: boolean;
|
|
423
|
-
inputClass?:
|
|
424
|
+
inputClass?: ClassValue;
|
|
424
425
|
color?: ButtonProps["color"];
|
|
425
426
|
inline?: boolean;
|
|
426
427
|
autohide?: boolean;
|
|
@@ -429,6 +430,7 @@ export interface DatepickerProps extends Omit<HTMLAttributes<HTMLDivElement>, "o
|
|
|
429
430
|
onselect?: (x: DateOrRange) => void;
|
|
430
431
|
onclear?: () => void;
|
|
431
432
|
onapply?: (x: DateOrRange) => void;
|
|
433
|
+
btnClass?: ClassValue;
|
|
432
434
|
}
|
|
433
435
|
export interface DeviceMockupProps {
|
|
434
436
|
children: Snippet;
|
|
@@ -436,80 +438,75 @@ export interface DeviceMockupProps {
|
|
|
436
438
|
}
|
|
437
439
|
export interface MockupBaseProps extends HTMLAttributes<HTMLElement> {
|
|
438
440
|
children?: Snippet;
|
|
439
|
-
divClass?:
|
|
440
|
-
div2Class?:
|
|
441
|
-
div3Class?:
|
|
442
|
-
div4Class?:
|
|
441
|
+
divClass?: ClassValue;
|
|
442
|
+
div2Class?: ClassValue;
|
|
443
|
+
div3Class?: ClassValue;
|
|
444
|
+
div4Class?: ClassValue;
|
|
443
445
|
}
|
|
444
446
|
export interface AndroidProps extends HTMLAttributes<HTMLDivElement> {
|
|
445
447
|
children?: Snippet;
|
|
446
|
-
divClass?:
|
|
447
|
-
div2Class?:
|
|
448
|
-
div3Class?:
|
|
449
|
-
div4Class?:
|
|
450
|
-
div5Class?:
|
|
451
|
-
div6Class?:
|
|
452
|
-
div7Class?:
|
|
448
|
+
divClass?: ClassValue;
|
|
449
|
+
div2Class?: ClassValue;
|
|
450
|
+
div3Class?: ClassValue;
|
|
451
|
+
div4Class?: ClassValue;
|
|
452
|
+
div5Class?: ClassValue;
|
|
453
|
+
div6Class?: ClassValue;
|
|
454
|
+
div7Class?: ClassValue;
|
|
453
455
|
}
|
|
454
456
|
export interface DefaultMockupProps {
|
|
455
457
|
children?: Snippet;
|
|
456
|
-
divClass?:
|
|
457
|
-
div2Class?:
|
|
458
|
-
div3Class?:
|
|
459
|
-
div4Class?:
|
|
460
|
-
div5Class?:
|
|
461
|
-
div6Class?:
|
|
458
|
+
divClass?: ClassValue;
|
|
459
|
+
div2Class?: ClassValue;
|
|
460
|
+
div3Class?: ClassValue;
|
|
461
|
+
div4Class?: ClassValue;
|
|
462
|
+
div5Class?: ClassValue;
|
|
463
|
+
div6Class?: ClassValue;
|
|
462
464
|
}
|
|
463
465
|
export interface IosProps {
|
|
464
466
|
children?: Snippet;
|
|
465
|
-
divClass?:
|
|
466
|
-
div2Class?:
|
|
467
|
-
div3Class?:
|
|
468
|
-
div4Class?:
|
|
469
|
-
div5Class?:
|
|
470
|
-
div6Class?:
|
|
467
|
+
divClass?: ClassValue;
|
|
468
|
+
div2Class?: ClassValue;
|
|
469
|
+
div3Class?: ClassValue;
|
|
470
|
+
div4Class?: ClassValue;
|
|
471
|
+
div5Class?: ClassValue;
|
|
472
|
+
div6Class?: ClassValue;
|
|
471
473
|
}
|
|
472
474
|
export interface SmartwatchProps {
|
|
473
475
|
children?: Snippet;
|
|
474
|
-
divClass?:
|
|
475
|
-
div2Class?:
|
|
476
|
-
div3Class?:
|
|
477
|
-
div4Class?:
|
|
478
|
-
div5Class?:
|
|
479
|
-
div6Class?:
|
|
476
|
+
divClass?: ClassValue;
|
|
477
|
+
div2Class?: ClassValue;
|
|
478
|
+
div3Class?: ClassValue;
|
|
479
|
+
div4Class?: ClassValue;
|
|
480
|
+
div5Class?: ClassValue;
|
|
481
|
+
div6Class?: ClassValue;
|
|
480
482
|
}
|
|
481
483
|
export interface TabletProps {
|
|
482
484
|
children?: Snippet;
|
|
483
|
-
divClass?:
|
|
484
|
-
div2Class?:
|
|
485
|
-
div3Class?:
|
|
486
|
-
div4Class?:
|
|
487
|
-
div5Class?:
|
|
488
|
-
div6Class?:
|
|
485
|
+
divClass?: ClassValue;
|
|
486
|
+
div2Class?: ClassValue;
|
|
487
|
+
div3Class?: ClassValue;
|
|
488
|
+
div4Class?: ClassValue;
|
|
489
|
+
div5Class?: ClassValue;
|
|
490
|
+
div6Class?: ClassValue;
|
|
489
491
|
}
|
|
490
492
|
export interface DrawerProps extends DrawerVariants, HTMLAttributes<HTMLDivElement> {
|
|
491
493
|
hidden: boolean;
|
|
492
494
|
closeDrawer?: () => void;
|
|
493
495
|
activateClickOutside?: boolean;
|
|
494
496
|
backdrop?: boolean;
|
|
495
|
-
backdropClass?:
|
|
497
|
+
backdropClass?: ClassValue;
|
|
496
498
|
transitionParams?: ParamsType;
|
|
497
499
|
transitionType?: TransitionFunc;
|
|
498
500
|
}
|
|
499
501
|
export interface DrawerheadProps extends HTMLButtonAttributes {
|
|
500
502
|
closeIcon?: Snippet;
|
|
501
|
-
buttonClass?:
|
|
502
|
-
svgClass?:
|
|
503
|
+
buttonClass?: ClassValue;
|
|
504
|
+
svgClass?: ClassValue;
|
|
503
505
|
}
|
|
504
506
|
export interface DropdownProps extends PopperProps {
|
|
505
507
|
simple?: boolean;
|
|
506
|
-
divClass?: string;
|
|
507
|
-
footerClass?: string;
|
|
508
|
-
headerClass?: string;
|
|
509
|
-
ulClass?: string;
|
|
510
|
-
backdropClass?: string;
|
|
511
508
|
activeUrl?: string;
|
|
512
|
-
isOpen?: boolean
|
|
509
|
+
isOpen?: boolean;
|
|
513
510
|
}
|
|
514
511
|
export interface DropdownDividerProps extends HTMLAttributes<HTMLDivElement> {
|
|
515
512
|
}
|
|
@@ -517,14 +514,12 @@ export interface DropdownHeaderProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
517
514
|
children: Snippet;
|
|
518
515
|
}
|
|
519
516
|
export type DropdownItemAnchorButtonAttributes = HTMLAnchorAttributes & Omit<HTMLButtonAttributes, keyof HTMLAnchorAttributes | "type">;
|
|
520
|
-
export
|
|
517
|
+
export type DropdownItemProps = AnchorButtonDivAttributes & {
|
|
521
518
|
children: Snippet;
|
|
522
|
-
aClass?:
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
onclick?: () => void;
|
|
527
|
-
}
|
|
519
|
+
aClass?: ClassValue;
|
|
520
|
+
activeClass?: ClassValue;
|
|
521
|
+
liClass?: ClassValue;
|
|
522
|
+
};
|
|
528
523
|
export interface DropdownGroupProps extends HTMLAttributes<HTMLUListElement> {
|
|
529
524
|
children: Snippet;
|
|
530
525
|
}
|
|
@@ -532,40 +527,38 @@ export type FooterType = "default" | "sticky" | "sitemap" | "socialmedia" | "log
|
|
|
532
527
|
export interface FooterProps extends HTMLAttributes<HTMLElement> {
|
|
533
528
|
children: Snippet;
|
|
534
529
|
footerType?: FooterType;
|
|
535
|
-
class?: string;
|
|
536
530
|
}
|
|
537
531
|
export interface FooterBrandProps extends HTMLAnchorAttributes {
|
|
538
532
|
children?: Snippet;
|
|
539
|
-
aClass?:
|
|
540
|
-
spanClass?:
|
|
541
|
-
imgClass?:
|
|
533
|
+
aClass?: ClassValue;
|
|
534
|
+
spanClass?: ClassValue;
|
|
535
|
+
imgClass?: ClassValue;
|
|
542
536
|
href?: string;
|
|
543
537
|
src?: string;
|
|
544
538
|
alt?: string;
|
|
545
539
|
name?: string;
|
|
546
540
|
}
|
|
547
541
|
export interface FooterCopyrightProps extends HTMLAnchorAttributes {
|
|
548
|
-
spanClass?:
|
|
549
|
-
aClass?:
|
|
542
|
+
spanClass?: ClassValue;
|
|
543
|
+
aClass?: ClassValue;
|
|
550
544
|
href?: string;
|
|
551
545
|
by?: string;
|
|
552
546
|
copyrightMessage?: string;
|
|
553
|
-
year?: number
|
|
547
|
+
year?: number;
|
|
548
|
+
bySpanClass?: ClassValue;
|
|
554
549
|
}
|
|
555
550
|
export interface FooterIconProps extends HTMLAnchorAttributes {
|
|
556
551
|
children: Snippet;
|
|
557
552
|
href?: string;
|
|
558
553
|
ariaLabel?: string;
|
|
559
|
-
class?: string;
|
|
560
554
|
}
|
|
561
555
|
export interface FooterLinkGroupProps extends HTMLAttributes<HTMLUListElement> {
|
|
562
556
|
children: Snippet;
|
|
563
|
-
class?: string;
|
|
564
557
|
}
|
|
565
558
|
export interface FooterLinkProps extends HTMLAnchorAttributes {
|
|
566
559
|
children: Snippet;
|
|
567
|
-
liClass?:
|
|
568
|
-
aClass?:
|
|
560
|
+
liClass?: ClassValue;
|
|
561
|
+
aClass?: ClassValue;
|
|
569
562
|
href?: string;
|
|
570
563
|
}
|
|
571
564
|
export interface CheckboxItem {
|
|
@@ -574,15 +567,13 @@ export interface CheckboxItem {
|
|
|
574
567
|
checked?: boolean | null;
|
|
575
568
|
[key: string]: any;
|
|
576
569
|
}
|
|
577
|
-
export
|
|
578
|
-
export interface CheckboxProps extends Omit<HTMLInputAttributes, "children" | "color"> {
|
|
570
|
+
export interface CheckboxProps extends CheckboxVariants, Omit<HTMLInputAttributes, "children" | "color" | "disabled"> {
|
|
579
571
|
children?: Snippet<[
|
|
580
572
|
{
|
|
581
573
|
value?: string | number;
|
|
582
574
|
checked: boolean;
|
|
583
575
|
} | CheckboxItem
|
|
584
576
|
]>;
|
|
585
|
-
color?: CheckboxColorType;
|
|
586
577
|
custom?: boolean;
|
|
587
578
|
inline?: boolean;
|
|
588
579
|
tinted?: boolean;
|
|
@@ -590,13 +581,13 @@ export interface CheckboxProps extends Omit<HTMLInputAttributes, "children" | "c
|
|
|
590
581
|
group?: (string | number)[];
|
|
591
582
|
choices?: CheckboxItem[];
|
|
592
583
|
indeterminate?: boolean;
|
|
593
|
-
divClass?:
|
|
584
|
+
divClass?: ClassValue;
|
|
594
585
|
labelProps?: Record<string, any>;
|
|
595
586
|
}
|
|
596
587
|
export interface CheckboxButtonProps extends Omit<HTMLInputAttributes, "size"> {
|
|
597
588
|
group?: (string | number)[];
|
|
598
589
|
value?: string | number;
|
|
599
|
-
checked?: boolean
|
|
590
|
+
checked?: boolean;
|
|
600
591
|
inline?: boolean;
|
|
601
592
|
pill?: boolean;
|
|
602
593
|
outline?: boolean;
|
|
@@ -614,31 +605,32 @@ export interface FileuploadProps extends Omit<HTMLInputAttributes, "size"> {
|
|
|
614
605
|
color?: InputProps<never>["color"];
|
|
615
606
|
elementRef?: HTMLInputElement;
|
|
616
607
|
clearable?: boolean;
|
|
617
|
-
clearableSvgClass?:
|
|
608
|
+
clearableSvgClass?: ClassValue;
|
|
618
609
|
clearableColor?: CloseButtonVariants["color"];
|
|
619
610
|
clearableOnClick?: () => void;
|
|
620
|
-
clearableClass?:
|
|
611
|
+
clearableClass?: ClassValue;
|
|
612
|
+
wrapperClass?: ClassValue;
|
|
621
613
|
}
|
|
622
614
|
export interface FloatingLabelInputProps extends Omit<HTMLInputAttributes, "size"> {
|
|
623
615
|
children: Snippet;
|
|
624
616
|
id?: string;
|
|
625
|
-
value?: string | number | readonly string[]
|
|
617
|
+
value?: string | number | readonly string[];
|
|
626
618
|
elementRef?: HTMLInputElement;
|
|
627
619
|
"aria-describedby"?: string;
|
|
628
620
|
variant?: FloatingLabelInputVaratiants["variant"];
|
|
629
621
|
size?: FloatingLabelInputVaratiants["size"];
|
|
630
622
|
color?: FloatingLabelInputVaratiants["color"];
|
|
631
|
-
inputClass?:
|
|
632
|
-
labelClass?:
|
|
623
|
+
inputClass?: ClassValue;
|
|
624
|
+
labelClass?: ClassValue;
|
|
633
625
|
clearable?: boolean;
|
|
634
|
-
clearableSvgClass?:
|
|
626
|
+
clearableSvgClass?: ClassValue;
|
|
635
627
|
clearableColor?: CloseButtonVariants["color"];
|
|
636
|
-
clearableClass?:
|
|
628
|
+
clearableClass?: ClassValue;
|
|
637
629
|
clearableOnClick?: () => void;
|
|
638
630
|
data?: string[];
|
|
639
631
|
maxSuggestions?: number;
|
|
640
632
|
onSelect?: (item: string) => void;
|
|
641
|
-
comboClass?:
|
|
633
|
+
comboClass?: ClassValue;
|
|
642
634
|
}
|
|
643
635
|
export interface HelperProps extends HelperVariants, Omit<HTMLAttributes<HTMLParagraphElement>, "color"> {
|
|
644
636
|
}
|
|
@@ -653,24 +645,23 @@ export interface InputProps<T extends InputValue = string> extends Omit<HTMLInpu
|
|
|
653
645
|
value?: T;
|
|
654
646
|
elementRef?: HTMLInputElement;
|
|
655
647
|
color?: InputVariants["color"];
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
divClass?:
|
|
659
|
-
wrapperClass?:
|
|
648
|
+
leftClass?: ClassValue;
|
|
649
|
+
rightClass?: ClassValue;
|
|
650
|
+
divClass?: ClassValue;
|
|
651
|
+
wrapperClass?: ClassValue;
|
|
660
652
|
clearable?: boolean;
|
|
661
|
-
clearableSvgClass?:
|
|
653
|
+
clearableSvgClass?: ClassValue;
|
|
662
654
|
clearableColor?: CloseButtonVariants["color"];
|
|
663
|
-
clearableClass?:
|
|
655
|
+
clearableClass?: ClassValue;
|
|
664
656
|
clearableOnClick?: () => void;
|
|
665
657
|
data?: string[];
|
|
666
658
|
maxSuggestions?: number;
|
|
667
659
|
onSelect?: (item: string) => void;
|
|
668
|
-
comboClass?:
|
|
660
|
+
comboClass?: ClassValue;
|
|
669
661
|
}
|
|
670
662
|
export interface InputAddonProps extends HTMLAttributes<HTMLDivElement> {
|
|
671
663
|
children: Snippet;
|
|
672
|
-
|
|
673
|
-
size?: "sm" | "md" | "lg" | undefined;
|
|
664
|
+
size?: "sm" | "md" | "lg";
|
|
674
665
|
}
|
|
675
666
|
export interface LabelProps extends HTMLLabelAttributes {
|
|
676
667
|
children: Snippet;
|
|
@@ -680,8 +671,8 @@ export interface LabelProps extends HTMLLabelAttributes {
|
|
|
680
671
|
export interface RadioProps<T> extends RadioVariants, Omit<HTMLInputAttributes, "color"> {
|
|
681
672
|
group?: T;
|
|
682
673
|
value?: T;
|
|
683
|
-
inputClass?:
|
|
684
|
-
labelClass?:
|
|
674
|
+
inputClass?: ClassValue;
|
|
675
|
+
labelClass?: ClassValue;
|
|
685
676
|
}
|
|
686
677
|
export interface RadioButtonProps<T> extends Omit<HTMLInputAttributes, "size"> {
|
|
687
678
|
group?: T;
|
|
@@ -692,21 +683,22 @@ export interface RadioButtonProps<T> extends Omit<HTMLInputAttributes, "size"> {
|
|
|
692
683
|
size?: ButtonProps["size"];
|
|
693
684
|
color?: ButtonProps["color"];
|
|
694
685
|
shadow?: boolean;
|
|
695
|
-
|
|
696
|
-
checkedClass?: string;
|
|
686
|
+
checkedClass?: ClassValue;
|
|
697
687
|
}
|
|
698
688
|
export interface RangeProps extends RangeVariants, Omit<HTMLInputAttributes, "size" | "color"> {
|
|
699
689
|
value?: number | string;
|
|
690
|
+
inputClass?: ClassValue;
|
|
700
691
|
}
|
|
701
692
|
export interface SearchProps extends SearchVariants, Omit<HTMLInputAttributes, "size"> {
|
|
702
693
|
children?: Snippet;
|
|
703
694
|
value?: string;
|
|
704
695
|
elementRef?: HTMLInputElement;
|
|
705
696
|
clearable?: boolean;
|
|
706
|
-
clearableSvgClass?:
|
|
697
|
+
clearableSvgClass?: ClassValue;
|
|
707
698
|
clearableColor?: CloseButtonVariants["color"];
|
|
708
|
-
clearableClass?:
|
|
699
|
+
clearableClass?: ClassValue;
|
|
709
700
|
clearableOnClick?: () => void;
|
|
701
|
+
inputClass?: ClassValue;
|
|
710
702
|
}
|
|
711
703
|
export type SelectOptionType<T> = {
|
|
712
704
|
name: string | number;
|
|
@@ -719,11 +711,11 @@ export interface SelectProps<T> extends SelectVariants, Omit<HTMLSelectAttribute
|
|
|
719
711
|
items?: SelectOptionType<T>[];
|
|
720
712
|
elementRef?: HTMLSelectElement;
|
|
721
713
|
placeholder?: string;
|
|
722
|
-
selectClass?:
|
|
714
|
+
selectClass?: ClassValue;
|
|
723
715
|
clearable?: boolean;
|
|
724
|
-
clearableSvgClass?:
|
|
716
|
+
clearableSvgClass?: ClassValue;
|
|
725
717
|
clearableColor?: CloseButtonVariants["color"];
|
|
726
|
-
clearableClass?:
|
|
718
|
+
clearableClass?: ClassValue;
|
|
727
719
|
clearableOnClick?: () => void;
|
|
728
720
|
disabled?: boolean;
|
|
729
721
|
}
|
|
@@ -734,18 +726,17 @@ export interface MultiSelectProps<T> extends MultiSelectVariants, Omit<HTMLSelec
|
|
|
734
726
|
}]>;
|
|
735
727
|
items: SelectOptionType<T>[];
|
|
736
728
|
value: T[];
|
|
737
|
-
dropdownClass?:
|
|
729
|
+
dropdownClass?: ClassValue;
|
|
738
730
|
placeholder?: string;
|
|
739
731
|
disabled?: boolean;
|
|
740
732
|
}
|
|
741
733
|
export interface TagsProps extends HTMLAttributes<HTMLDivElement> {
|
|
742
734
|
value: string[];
|
|
743
|
-
itemClass?:
|
|
735
|
+
itemClass?: ClassValue;
|
|
744
736
|
placeholder?: string;
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
inputClass?: string;
|
|
737
|
+
spanClass?: ClassValue;
|
|
738
|
+
closeClass?: ClassValue;
|
|
739
|
+
inputClass?: ClassValue;
|
|
749
740
|
closeBtnSize?: CloseButtonVariants["size"];
|
|
750
741
|
}
|
|
751
742
|
export type TimePickerType = "default" | "dropdown" | "select" | "range" | "timerange-dropdown" | "timerange-toggle" | "inline-buttons";
|
|
@@ -765,14 +756,14 @@ export interface TimepickerProps {
|
|
|
765
756
|
disabled?: boolean;
|
|
766
757
|
inputColor?: InputProps["color"];
|
|
767
758
|
buttonColor?: ButtonProps["color"];
|
|
768
|
-
Icon?: Component
|
|
759
|
+
Icon?: Component;
|
|
769
760
|
type?: TimePickerType;
|
|
770
761
|
optionLabel?: string;
|
|
771
762
|
options?: TimePickerOption[];
|
|
772
763
|
size?: ButtonGroupSizeType;
|
|
773
|
-
divClass?:
|
|
774
|
-
inputClass?:
|
|
775
|
-
selectClass?:
|
|
764
|
+
divClass?: ClassValue;
|
|
765
|
+
inputClass?: ClassValue;
|
|
766
|
+
selectClass?: ClassValue;
|
|
776
767
|
timerangeLabel?: string;
|
|
777
768
|
timerangeButtonLabel?: string;
|
|
778
769
|
timeIntervals?: string[];
|
|
@@ -789,24 +780,25 @@ export interface TextareaProps extends HTMLTextareaAttributes {
|
|
|
789
780
|
value?: string;
|
|
790
781
|
elementRef?: HTMLTextAreaElement;
|
|
791
782
|
wrapped?: boolean;
|
|
792
|
-
divClass?:
|
|
793
|
-
innerClass?:
|
|
794
|
-
headerClass?:
|
|
795
|
-
footerClass?:
|
|
783
|
+
divClass?: ClassValue;
|
|
784
|
+
innerClass?: ClassValue;
|
|
785
|
+
headerClass?: ClassValue;
|
|
786
|
+
footerClass?: ClassValue;
|
|
796
787
|
cols?: number;
|
|
797
788
|
clearable?: boolean;
|
|
798
|
-
clearableSvgClass?:
|
|
789
|
+
clearableSvgClass?: ClassValue;
|
|
799
790
|
clearableColor?: CloseButtonVariants["color"];
|
|
800
|
-
clearableClass?:
|
|
791
|
+
clearableClass?: ClassValue;
|
|
801
792
|
clearableOnClick?: () => void;
|
|
793
|
+
textareaClass?: ClassValue;
|
|
802
794
|
}
|
|
803
795
|
export interface ToggleProps extends Omit<ToggleVariants, "off_state_label">, Omit<HTMLInputAttributes, "size" | "color"> {
|
|
804
796
|
offLabel?: Snippet;
|
|
805
797
|
value?: string | number;
|
|
806
798
|
checked?: boolean;
|
|
807
799
|
disabled?: boolean;
|
|
808
|
-
spanClass?:
|
|
809
|
-
inputClass?:
|
|
800
|
+
spanClass?: ClassValue;
|
|
801
|
+
inputClass?: ClassValue;
|
|
810
802
|
}
|
|
811
803
|
export type ImgType = {
|
|
812
804
|
src?: string;
|
|
@@ -816,7 +808,7 @@ export interface GalleryProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
816
808
|
children?: Snippet;
|
|
817
809
|
figure?: Snippet<[item: ImgType]>;
|
|
818
810
|
items?: HTMLImgAttributes[];
|
|
819
|
-
imgClass?:
|
|
811
|
+
imgClass?: ClassValue;
|
|
820
812
|
height?: string;
|
|
821
813
|
rowHeight?: number;
|
|
822
814
|
columns?: number;
|
|
@@ -850,20 +842,20 @@ export interface ListGroupItemType {
|
|
|
850
842
|
[key: string]: any;
|
|
851
843
|
}
|
|
852
844
|
export interface ListgroupProps extends ListgroupVariants, Omit<HTMLAttributes<HTMLUListElement>, "children"> {
|
|
853
|
-
children?: Snippet<[item
|
|
845
|
+
children?: Snippet<[item?: ListGroupItemType | string]>;
|
|
854
846
|
items?: (ListGroupItemType | string)[];
|
|
855
847
|
active?: boolean;
|
|
856
848
|
onclick?: (event?: MouseEvent) => void;
|
|
857
|
-
itemClass?:
|
|
858
|
-
aClasss?:
|
|
859
|
-
btnClass?:
|
|
860
|
-
iconClass?:
|
|
849
|
+
itemClass?: ClassValue;
|
|
850
|
+
aClasss?: ClassValue;
|
|
851
|
+
btnClass?: ClassValue;
|
|
852
|
+
iconClass?: ClassValue;
|
|
861
853
|
}
|
|
862
854
|
export type ListgroupItemProps = Omit<ListgroupItemVariants, "state"> & AnchorButtonAttributes & {
|
|
863
855
|
current?: boolean;
|
|
864
856
|
disabled?: boolean;
|
|
865
857
|
Icon?: Component;
|
|
866
|
-
iconClass?:
|
|
858
|
+
iconClass?: ClassValue;
|
|
867
859
|
name?: string;
|
|
868
860
|
children?: Snippet;
|
|
869
861
|
};
|
|
@@ -875,8 +867,9 @@ export interface MegaMenuProps extends Omit<PopperProps, "children"> {
|
|
|
875
867
|
extra?: Snippet;
|
|
876
868
|
items?: LinkType[];
|
|
877
869
|
full?: boolean;
|
|
878
|
-
ulClass?:
|
|
879
|
-
|
|
870
|
+
ulClass?: ClassValue;
|
|
871
|
+
extraClass?: ClassValue;
|
|
872
|
+
isOpen?: boolean;
|
|
880
873
|
}
|
|
881
874
|
export interface ModalProps extends ModalVariants, HTMLDialogAttributes {
|
|
882
875
|
header?: Snippet;
|
|
@@ -888,10 +881,10 @@ export interface ModalProps extends ModalVariants, HTMLDialogAttributes {
|
|
|
888
881
|
permanent?: boolean;
|
|
889
882
|
transition?: TransitionFunc;
|
|
890
883
|
params?: ParamsType;
|
|
891
|
-
headerClass?:
|
|
892
|
-
bodyClass?:
|
|
893
|
-
footerClass?:
|
|
894
|
-
closeBtnClass?:
|
|
884
|
+
headerClass?: ClassValue;
|
|
885
|
+
bodyClass?: ClassValue;
|
|
886
|
+
footerClass?: ClassValue;
|
|
887
|
+
closeBtnClass?: ClassValue;
|
|
895
888
|
onclose?: () => void;
|
|
896
889
|
}
|
|
897
890
|
export interface MenuProps extends SVGAttributes<SVGSVGElement> {
|
|
@@ -912,7 +905,7 @@ export interface NavbarProps extends Omit<HTMLAttributes<HTMLDivElement>, "child
|
|
|
912
905
|
NavContainer: Component;
|
|
913
906
|
}]>;
|
|
914
907
|
fluid?: boolean;
|
|
915
|
-
navContainerClass?:
|
|
908
|
+
navContainerClass?: ClassValue;
|
|
916
909
|
}
|
|
917
910
|
export interface NavBrandProps extends HTMLAnchorAttributes {
|
|
918
911
|
}
|
|
@@ -920,20 +913,20 @@ export interface NavContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
920
913
|
fluid?: boolean;
|
|
921
914
|
}
|
|
922
915
|
export type NavHamburgerProps = ToolbarButtonProps & {
|
|
923
|
-
|
|
924
|
-
|
|
916
|
+
href?: undefined;
|
|
917
|
+
menuClass?: ClassValue;
|
|
925
918
|
};
|
|
926
919
|
export interface NavUlProps extends HTMLAttributes<HTMLDivElement> {
|
|
927
920
|
activeUrl?: string;
|
|
928
|
-
ulClass?:
|
|
921
|
+
ulClass?: ClassValue;
|
|
929
922
|
hidden?: boolean;
|
|
930
923
|
slideParams?: TransitionParamTypes;
|
|
931
|
-
activeClass?:
|
|
932
|
-
nonActiveClass?:
|
|
924
|
+
activeClass?: ClassValue;
|
|
925
|
+
nonActiveClass?: ClassValue;
|
|
933
926
|
}
|
|
934
927
|
export type NavLiProps = AnchorButtonAttributes & {
|
|
935
|
-
activeClass?:
|
|
936
|
-
nonActiveClass?:
|
|
928
|
+
activeClass?: ClassValue;
|
|
929
|
+
nonActiveClass?: ClassValue;
|
|
937
930
|
};
|
|
938
931
|
export interface ToolbarProps extends ToolbarVariants, Omit<HTMLAttributes<HTMLDivElement>, "color"> {
|
|
939
932
|
end?: Snippet;
|
|
@@ -943,7 +936,6 @@ export interface ToolbarGroupProps extends ToolbarGroupVariants, HTMLAttributes<
|
|
|
943
936
|
export type ToolbarButtonProps = ToolbarButtonVariants & AnchorButtonAttributes & {
|
|
944
937
|
name?: string;
|
|
945
938
|
};
|
|
946
|
-
import type { PaginationItemVariants, PaginationVariants } from "./pagination/theme";
|
|
947
939
|
export type PaginationItemType = {
|
|
948
940
|
size?: "default" | "large";
|
|
949
941
|
active?: boolean | null;
|
|
@@ -956,7 +948,7 @@ export interface PaginationItemSpecificProps {
|
|
|
956
948
|
href?: string;
|
|
957
949
|
active?: boolean;
|
|
958
950
|
rel?: string;
|
|
959
|
-
size?: "default" | "large"
|
|
951
|
+
size?: "default" | "large";
|
|
960
952
|
}
|
|
961
953
|
export type PaginationHTMLButtonOrAnchorAttributes = HTMLButtonAttributes & HTMLAnchorAttributes;
|
|
962
954
|
export interface PaginationButtonProps extends PaginationItemVariants, PaginationHTMLButtonOrAnchorAttributes {
|
|
@@ -967,8 +959,8 @@ export interface PaginationButtonProps extends PaginationItemVariants, Paginatio
|
|
|
967
959
|
export interface PaginationNavProps extends HTMLAttributes<HTMLElement>, PaginationVariants {
|
|
968
960
|
prevContent?: Snippet;
|
|
969
961
|
nextContent?: Snippet;
|
|
970
|
-
prevClass?:
|
|
971
|
-
nextClass?:
|
|
962
|
+
prevClass?: ClassValue;
|
|
963
|
+
nextClass?: ClassValue;
|
|
972
964
|
currentPage: number;
|
|
973
965
|
totalPages: number;
|
|
974
966
|
visiblePages?: number;
|
|
@@ -979,9 +971,8 @@ export interface PaginationNavProps extends HTMLAttributes<HTMLElement>, Paginat
|
|
|
979
971
|
showIcons?: boolean;
|
|
980
972
|
ariaLabel?: string;
|
|
981
973
|
size?: "default" | "large";
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
tableDivClass?: string;
|
|
974
|
+
spanClass?: ClassValue;
|
|
975
|
+
tableDivClass?: ClassValue;
|
|
985
976
|
}
|
|
986
977
|
export interface PaginationItemProps extends PaginationItemVariants, PaginationHTMLButtonOrAnchorAttributes {
|
|
987
978
|
children?: Snippet;
|
|
@@ -997,12 +988,12 @@ export interface PaginationProps extends PaginationVariants, HTMLLiAttributes {
|
|
|
997
988
|
export interface PopoverProps extends Omit<PopperProps, "title"> {
|
|
998
989
|
title?: Snippet | string;
|
|
999
990
|
color?: PopoverVariants["color"];
|
|
1000
|
-
params?: ParamsType
|
|
1001
|
-
defaultClass?:
|
|
991
|
+
params?: ParamsType;
|
|
992
|
+
defaultClass?: ClassValue;
|
|
1002
993
|
transition?: TransitionFunc;
|
|
1003
|
-
isOpen?: boolean
|
|
994
|
+
isOpen?: boolean;
|
|
1004
995
|
}
|
|
1005
|
-
export interface ProgressbarProps extends HTMLAttributes<HTMLDivElement> {
|
|
996
|
+
export interface ProgressbarProps extends ProgressbarVariants, Omit<HTMLAttributes<HTMLDivElement>, "color"> {
|
|
1006
997
|
progress?: string | number;
|
|
1007
998
|
precision?: number;
|
|
1008
999
|
tweenDuration?: number;
|
|
@@ -1011,14 +1002,8 @@ export interface ProgressbarProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1011
1002
|
labelInside?: boolean;
|
|
1012
1003
|
labelOutside?: string;
|
|
1013
1004
|
easing?: EasingFunction;
|
|
1014
|
-
color?: ColorType;
|
|
1015
|
-
oustsideSpanClass?: string;
|
|
1016
|
-
oustsideProgressClass?: string;
|
|
1017
|
-
labeloutsidedivClass?: string;
|
|
1018
|
-
labelInsideClass?: string;
|
|
1019
|
-
divClass?: string;
|
|
1020
1005
|
}
|
|
1021
|
-
export interface ProgressradialProps {
|
|
1006
|
+
export interface ProgressradialProps extends ProgressradialVariants, Omit<HTMLAttributes<HTMLDivElement>, "color"> {
|
|
1022
1007
|
progress?: number | string;
|
|
1023
1008
|
radius?: number;
|
|
1024
1009
|
startingPosition?: "top" | "right" | "bottom" | "left";
|
|
@@ -1030,13 +1015,6 @@ export interface ProgressradialProps {
|
|
|
1030
1015
|
labelInside?: boolean;
|
|
1031
1016
|
labelOutside?: string;
|
|
1032
1017
|
easing?: (t: number) => number;
|
|
1033
|
-
color?: ColorType;
|
|
1034
|
-
labelInsideClass?: string;
|
|
1035
|
-
outsideSpanClass?: string;
|
|
1036
|
-
outsideProgressClass?: string;
|
|
1037
|
-
labelOutsideDivClass?: string;
|
|
1038
|
-
divClass?: string;
|
|
1039
|
-
[key: string]: any;
|
|
1040
1018
|
}
|
|
1041
1019
|
export type RatingItem = {
|
|
1042
1020
|
label: string | null | undefined;
|
|
@@ -1046,11 +1024,11 @@ export interface AdvancedRatingProps {
|
|
|
1046
1024
|
rating?: Snippet;
|
|
1047
1025
|
globalText?: Snippet;
|
|
1048
1026
|
ratings: RatingItem[];
|
|
1049
|
-
divClass?:
|
|
1050
|
-
spanClass?:
|
|
1051
|
-
div2Class?:
|
|
1052
|
-
div3Class?:
|
|
1053
|
-
span2Class?:
|
|
1027
|
+
divClass?: ClassValue;
|
|
1028
|
+
spanClass?: ClassValue;
|
|
1029
|
+
div2Class?: ClassValue;
|
|
1030
|
+
div3Class?: ClassValue;
|
|
1031
|
+
span2Class?: ClassValue;
|
|
1054
1032
|
unit?: string;
|
|
1055
1033
|
}
|
|
1056
1034
|
export interface RatingProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -1061,7 +1039,7 @@ export interface RatingProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1061
1039
|
rating?: number;
|
|
1062
1040
|
icon?: Component;
|
|
1063
1041
|
count?: boolean;
|
|
1064
|
-
pClass?:
|
|
1042
|
+
pClass?: ClassValue;
|
|
1065
1043
|
}
|
|
1066
1044
|
export interface RatingCommentProps {
|
|
1067
1045
|
children: Snippet;
|
|
@@ -1104,13 +1082,13 @@ export interface ReviewProps extends HTMLAttributes<HTMLElement> {
|
|
|
1104
1082
|
item2?: Snippet;
|
|
1105
1083
|
item3?: Snippet;
|
|
1106
1084
|
review?: ReviewType;
|
|
1107
|
-
articleClass?:
|
|
1108
|
-
divClass?:
|
|
1109
|
-
div2Class?:
|
|
1110
|
-
div3Class?:
|
|
1111
|
-
imgClass?:
|
|
1112
|
-
ulClass?:
|
|
1113
|
-
liClass?:
|
|
1085
|
+
articleClass?: ClassValue;
|
|
1086
|
+
divClass?: ClassValue;
|
|
1087
|
+
div2Class?: ClassValue;
|
|
1088
|
+
div3Class?: ClassValue;
|
|
1089
|
+
imgClass?: ClassValue;
|
|
1090
|
+
ulClass?: ClassValue;
|
|
1091
|
+
liClass?: ClassValue;
|
|
1114
1092
|
}
|
|
1115
1093
|
export interface ScoreRatingProps {
|
|
1116
1094
|
ratings?: {
|
|
@@ -1138,7 +1116,7 @@ export interface RatingIconProps extends SVGAttributes<SVGSVGElement> {
|
|
|
1138
1116
|
size?: number;
|
|
1139
1117
|
ariaLabel?: string;
|
|
1140
1118
|
role?: string;
|
|
1141
|
-
svgClass?:
|
|
1119
|
+
svgClass?: ClassValue;
|
|
1142
1120
|
iconIndex?: number;
|
|
1143
1121
|
groupId?: string;
|
|
1144
1122
|
pathd?: string;
|
|
@@ -1158,13 +1136,13 @@ export interface SidebarProps extends SidebarVariants, HTMLAttributes<HTMLElemen
|
|
|
1158
1136
|
activateClickOutside?: boolean;
|
|
1159
1137
|
isSingle?: boolean;
|
|
1160
1138
|
ariaLabel?: string;
|
|
1161
|
-
divClass?:
|
|
1162
|
-
nonActiveClass?:
|
|
1163
|
-
activeClass?:
|
|
1139
|
+
divClass?: ClassValue;
|
|
1140
|
+
nonActiveClass?: ClassValue;
|
|
1141
|
+
activeClass?: ClassValue;
|
|
1164
1142
|
params?: ParamsType;
|
|
1165
1143
|
transition?: TransitionFunc;
|
|
1166
1144
|
backdrop?: boolean;
|
|
1167
|
-
backdropClass?:
|
|
1145
|
+
backdropClass?: ClassValue;
|
|
1168
1146
|
activeUrl?: string;
|
|
1169
1147
|
alwaysOpen?: boolean;
|
|
1170
1148
|
}
|
|
@@ -1173,8 +1151,8 @@ export interface SidebarButtonProps extends HTMLButtonAttributes {
|
|
|
1173
1151
|
}
|
|
1174
1152
|
export interface SidebarCtaProps extends HTMLAttributes<HTMLDivElement> {
|
|
1175
1153
|
icon?: Snippet;
|
|
1176
|
-
divClass?:
|
|
1177
|
-
spanClass?:
|
|
1154
|
+
divClass?: ClassValue;
|
|
1155
|
+
spanClass?: ClassValue;
|
|
1178
1156
|
label: string;
|
|
1179
1157
|
}
|
|
1180
1158
|
export interface SiteType {
|
|
@@ -1184,38 +1162,38 @@ export interface SiteType {
|
|
|
1184
1162
|
}
|
|
1185
1163
|
export interface SidebarBrandProps extends HTMLAnchorAttributes {
|
|
1186
1164
|
site?: SiteType;
|
|
1187
|
-
imgClass?:
|
|
1188
|
-
spanClass?:
|
|
1165
|
+
imgClass?: ClassValue;
|
|
1166
|
+
spanClass?: ClassValue;
|
|
1189
1167
|
}
|
|
1190
1168
|
export interface SidebarDropdownWrapperProps extends HTMLButtonAttributes {
|
|
1191
1169
|
children: Snippet;
|
|
1192
1170
|
arrowup?: Snippet;
|
|
1193
1171
|
arrowdown?: Snippet;
|
|
1194
1172
|
icon?: Snippet;
|
|
1195
|
-
isOpen?: boolean
|
|
1196
|
-
btnClass?:
|
|
1197
|
-
label
|
|
1198
|
-
spanClass?:
|
|
1199
|
-
ulClass?:
|
|
1173
|
+
isOpen?: boolean;
|
|
1174
|
+
btnClass?: ClassValue;
|
|
1175
|
+
label?: string;
|
|
1176
|
+
spanClass?: ClassValue;
|
|
1177
|
+
ulClass?: ClassValue;
|
|
1200
1178
|
params?: ParamsType;
|
|
1201
1179
|
transition?: TransitionFunc;
|
|
1202
|
-
svgClass?:
|
|
1180
|
+
svgClass?: ClassValue;
|
|
1203
1181
|
onclick?: () => void;
|
|
1204
1182
|
isSingle?: boolean;
|
|
1205
1183
|
}
|
|
1206
1184
|
export interface SidebarGroupProps extends HTMLAttributes<HTMLUListElement> {
|
|
1207
1185
|
children: Snippet;
|
|
1208
|
-
borderClass?:
|
|
1186
|
+
borderClass?: ClassValue;
|
|
1209
1187
|
border?: boolean;
|
|
1210
1188
|
}
|
|
1211
1189
|
export interface SidebarItemProps extends HTMLAnchorAttributes {
|
|
1212
1190
|
icon?: Snippet;
|
|
1213
1191
|
subtext?: Snippet;
|
|
1214
1192
|
label?: string;
|
|
1215
|
-
spanClass?:
|
|
1216
|
-
activeClass?:
|
|
1217
|
-
nonActiveClass?:
|
|
1218
|
-
aClass?:
|
|
1193
|
+
spanClass?: ClassValue;
|
|
1194
|
+
activeClass?: ClassValue;
|
|
1195
|
+
nonActiveClass?: ClassValue;
|
|
1196
|
+
aClass?: ClassValue;
|
|
1219
1197
|
active?: boolean;
|
|
1220
1198
|
}
|
|
1221
1199
|
export interface CardPlaceholderProps extends HTMLAttributes<HTMLDivElement> {
|
|
@@ -1234,12 +1212,16 @@ export interface ListPlaceholderProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1234
1212
|
export interface SkeletonProps extends HTMLAttributes<HTMLDivElement> {
|
|
1235
1213
|
size?: SkeletonVariants["size"];
|
|
1236
1214
|
}
|
|
1215
|
+
export interface TestimonialPlaceholderProps extends HTMLAttributes<HTMLDivElement> {
|
|
1216
|
+
}
|
|
1237
1217
|
export interface TextPlaceholderProps extends HTMLAttributes<HTMLDivElement> {
|
|
1238
1218
|
size?: TextPlaceholderVariants["size"];
|
|
1239
1219
|
}
|
|
1240
1220
|
export interface VideoPlaceholderProps extends HTMLAttributes<HTMLDivElement> {
|
|
1241
1221
|
size?: VideoPlaceholderVariants["size"];
|
|
1242
1222
|
}
|
|
1223
|
+
export interface WidgetPlaceholderProps extends HTMLAttributes<HTMLDivElement> {
|
|
1224
|
+
}
|
|
1243
1225
|
export interface SpeedCtxType {
|
|
1244
1226
|
pill: boolean;
|
|
1245
1227
|
tooltip: Placement | "none";
|
|
@@ -1255,7 +1237,7 @@ type BaseSpeedDialTriggerProps = {
|
|
|
1255
1237
|
};
|
|
1256
1238
|
export type RegularSpeedDialTriggerProps = BaseSpeedDialTriggerProps & {
|
|
1257
1239
|
gradient?: false;
|
|
1258
|
-
color?:
|
|
1240
|
+
color?: ButtonVariants["color"];
|
|
1259
1241
|
};
|
|
1260
1242
|
export type GradientSpeedDialTriggerProps = BaseSpeedDialTriggerProps & {
|
|
1261
1243
|
gradient: true;
|
|
@@ -1265,7 +1247,7 @@ export type SpeedDialTriggerProps = RegularSpeedDialTriggerProps | GradientSpeed
|
|
|
1265
1247
|
export type SpeedDialProps = PopperProps & {
|
|
1266
1248
|
children: Snippet;
|
|
1267
1249
|
button?: Snippet;
|
|
1268
|
-
popperClass?:
|
|
1250
|
+
popperClass?: ClassValue;
|
|
1269
1251
|
placement?: Placement;
|
|
1270
1252
|
tooltip?: Placement | "none";
|
|
1271
1253
|
trigger?: PopperProps["trigger"];
|
|
@@ -1273,14 +1255,14 @@ export type SpeedDialProps = PopperProps & {
|
|
|
1273
1255
|
pill?: boolean;
|
|
1274
1256
|
ontoggle?: PopperProps["ontoggle"];
|
|
1275
1257
|
onbeforetoggle?: PopperProps["onbeforetoggle"];
|
|
1276
|
-
isOpen?: boolean
|
|
1258
|
+
isOpen?: boolean;
|
|
1277
1259
|
};
|
|
1278
1260
|
export type SpeedDialButtonProps = ButtonProps & {
|
|
1279
1261
|
name?: string;
|
|
1280
1262
|
tooltip?: Placement | "none";
|
|
1281
1263
|
pill?: boolean;
|
|
1282
1264
|
textOutside?: boolean;
|
|
1283
|
-
textClass?:
|
|
1265
|
+
textClass?: ClassValue;
|
|
1284
1266
|
};
|
|
1285
1267
|
export interface SpinnerProps extends SVGAttributes<SVGSVGElement> {
|
|
1286
1268
|
color?: SpinnerVaraiants["color"];
|
|
@@ -1288,17 +1270,14 @@ export interface SpinnerProps extends SVGAttributes<SVGSVGElement> {
|
|
|
1288
1270
|
currentFill?: string;
|
|
1289
1271
|
currentColor?: string;
|
|
1290
1272
|
}
|
|
1291
|
-
export type StepColorType = "primary" | "secondary" | "gray" | "red" | "yellow" | "green" | "indigo" | "purple" | "pink" | "blue" | "custom";
|
|
1292
1273
|
export interface StepIndicatorProps extends HTMLAttributes<HTMLElement> {
|
|
1293
1274
|
steps: string[];
|
|
1294
1275
|
currentStep: number;
|
|
1295
1276
|
size?: string;
|
|
1296
|
-
color?: StepColorType;
|
|
1297
1277
|
glow?: boolean;
|
|
1298
1278
|
hideLabel?: boolean;
|
|
1299
1279
|
completedCustom?: string;
|
|
1300
1280
|
currentCustom?: string;
|
|
1301
|
-
class?: string;
|
|
1302
1281
|
}
|
|
1303
1282
|
export type TableCtxType = {
|
|
1304
1283
|
striped?: boolean;
|
|
@@ -1324,7 +1303,7 @@ export interface TableProps extends Omit<HTMLTableAttributes, "border"> {
|
|
|
1324
1303
|
children?: Snippet;
|
|
1325
1304
|
footerSlot?: Snippet;
|
|
1326
1305
|
captionSlot?: Snippet;
|
|
1327
|
-
divClass?:
|
|
1306
|
+
divClass?: ClassValue;
|
|
1328
1307
|
striped?: boolean;
|
|
1329
1308
|
hoverable?: boolean;
|
|
1330
1309
|
border?: boolean;
|
|
@@ -1358,7 +1337,6 @@ export interface TableHeadCellProps<T = any> extends HTMLThAttributes {
|
|
|
1358
1337
|
defaultDirection?: "asc" | "desc";
|
|
1359
1338
|
defaultSort?: boolean;
|
|
1360
1339
|
direction?: "asc" | "desc" | null;
|
|
1361
|
-
class?: string;
|
|
1362
1340
|
}
|
|
1363
1341
|
export type TableSearchType = {
|
|
1364
1342
|
striped?: boolean;
|
|
@@ -1369,25 +1347,25 @@ export interface TableSearchProps extends HTMLTableAttributes {
|
|
|
1369
1347
|
children?: Snippet;
|
|
1370
1348
|
header?: Snippet;
|
|
1371
1349
|
footer?: Snippet;
|
|
1372
|
-
divClass?:
|
|
1350
|
+
divClass?: ClassValue;
|
|
1373
1351
|
inputValue?: string;
|
|
1374
1352
|
striped?: boolean;
|
|
1375
1353
|
hoverable?: boolean;
|
|
1376
1354
|
customColor?: string;
|
|
1377
1355
|
color?: string;
|
|
1378
|
-
innerDivClass?:
|
|
1379
|
-
inputClass?:
|
|
1380
|
-
searchClass?:
|
|
1381
|
-
svgDivClass?:
|
|
1382
|
-
svgClass?:
|
|
1383
|
-
tableClass?:
|
|
1356
|
+
innerDivClass?: ClassValue;
|
|
1357
|
+
inputClass?: ClassValue;
|
|
1358
|
+
searchClass?: ClassValue;
|
|
1359
|
+
svgDivClass?: ClassValue;
|
|
1360
|
+
svgClass?: ClassValue;
|
|
1361
|
+
tableClass?: ClassValue;
|
|
1384
1362
|
placeholder?: string;
|
|
1385
1363
|
}
|
|
1386
1364
|
export interface TabsProps extends HTMLAttributes<HTMLUListElement> {
|
|
1387
1365
|
children: Snippet;
|
|
1388
1366
|
tabStyle?: TabsVaraints["tabStyle"];
|
|
1389
|
-
ulClass?:
|
|
1390
|
-
contentClass?:
|
|
1367
|
+
ulClass?: ClassValue;
|
|
1368
|
+
contentClass?: ClassValue;
|
|
1391
1369
|
divider?: boolean;
|
|
1392
1370
|
}
|
|
1393
1371
|
export interface TabitemProps extends HTMLLiAttributes {
|
|
@@ -1395,8 +1373,8 @@ export interface TabitemProps extends HTMLLiAttributes {
|
|
|
1395
1373
|
titleSlot?: Snippet;
|
|
1396
1374
|
open?: boolean;
|
|
1397
1375
|
title?: string;
|
|
1398
|
-
activeClass?:
|
|
1399
|
-
inactiveClass?:
|
|
1376
|
+
activeClass?: ClassValue;
|
|
1377
|
+
inactiveClass?: ClassValue;
|
|
1400
1378
|
disabled?: boolean;
|
|
1401
1379
|
tabStyle?: TabsVaraints["tabStyle"];
|
|
1402
1380
|
}
|
|
@@ -1491,7 +1469,7 @@ export interface ToastProps extends HTMLAttributes<HTMLDivElement> {
|
|
|
1491
1469
|
export interface TooltipProps extends PopperProps {
|
|
1492
1470
|
type?: "light" | "dark" | "auto";
|
|
1493
1471
|
color?: TooltipVariants["color"];
|
|
1494
|
-
isOpen?: boolean
|
|
1472
|
+
isOpen?: boolean;
|
|
1495
1473
|
}
|
|
1496
1474
|
export interface AnchorProps {
|
|
1497
1475
|
children: Snippet;
|
|
@@ -1577,35 +1555,23 @@ export interface LiProps extends HTMLLiAttributes {
|
|
|
1577
1555
|
export interface MarkProps extends HTMLAttributes<HTMLElement> {
|
|
1578
1556
|
children: Snippet;
|
|
1579
1557
|
}
|
|
1580
|
-
export interface ParagraphProps extends HTMLAttributes<HTMLParagraphElement> {
|
|
1558
|
+
export interface ParagraphProps extends ParagraphVariants, HTMLAttributes<HTMLParagraphElement> {
|
|
1581
1559
|
children: Snippet;
|
|
1582
1560
|
italic?: boolean;
|
|
1583
1561
|
firstUpper?: boolean;
|
|
1584
|
-
whitespace?: ParagraphVariants["whitespace"];
|
|
1585
|
-
size?: ParagraphVariants["size"];
|
|
1586
|
-
weight?: ParagraphVariants["weight"];
|
|
1587
|
-
space?: ParagraphVariants["space"];
|
|
1588
|
-
height?: ParagraphVariants["height"];
|
|
1589
|
-
align?: ParagraphVariants["align"];
|
|
1590
1562
|
justify?: boolean;
|
|
1591
1563
|
}
|
|
1592
1564
|
export interface SecondaryProps extends HTMLAttributes<HTMLElement> {
|
|
1593
1565
|
children: Snippet;
|
|
1594
1566
|
}
|
|
1595
|
-
export interface SpanProps extends HTMLAttributes<HTMLSpanElement> {
|
|
1567
|
+
export interface SpanProps extends SpanVariants, HTMLAttributes<HTMLSpanElement> {
|
|
1596
1568
|
children?: Snippet;
|
|
1597
1569
|
italic?: boolean;
|
|
1598
1570
|
underline?: boolean;
|
|
1599
1571
|
linethrough?: boolean;
|
|
1600
1572
|
uppercase?: boolean;
|
|
1601
|
-
gradient?: SpanVariants["gradient"];
|
|
1602
|
-
highlight?: SpanVariants["highlight"];
|
|
1603
|
-
decoration?: SpanVariants["decoration"];
|
|
1604
|
-
decorationThickness?: SpanVariants["decorationThickness"];
|
|
1605
|
-
decorationColor?: SpanVariants["decorationColor"];
|
|
1606
1573
|
}
|
|
1607
1574
|
export interface VideoProps extends HTMLVideoAttributes {
|
|
1608
|
-
children?: Snippet;
|
|
1609
1575
|
type?: HTMLSourceAttributes["type"];
|
|
1610
1576
|
src?: HTMLSourceAttributes["src"];
|
|
1611
1577
|
trackSrc?: HTMLTrackAttributes["src"];
|
|
@@ -1624,19 +1590,19 @@ export interface PopperProps extends Omit<HTMLAttributes<HTMLDivElement>, "onbef
|
|
|
1624
1590
|
offset?: number;
|
|
1625
1591
|
yOnly?: boolean;
|
|
1626
1592
|
strategy?: Strategy;
|
|
1627
|
-
reference?: string
|
|
1593
|
+
reference?: string;
|
|
1628
1594
|
middlewares?: Middleware[];
|
|
1629
1595
|
children: Snippet;
|
|
1630
1596
|
onbeforetoggle?: (ev: TriggeredToggleEvent) => void;
|
|
1631
1597
|
ontoggle?: (ev: TriggeredToggleEvent) => void;
|
|
1632
1598
|
transition?: TransitionFunc;
|
|
1633
1599
|
transitionParams?: ParamsType;
|
|
1634
|
-
isOpen?: boolean
|
|
1600
|
+
isOpen?: boolean;
|
|
1635
1601
|
}
|
|
1636
1602
|
export interface ArrowProps {
|
|
1637
1603
|
placement?: Placement;
|
|
1638
1604
|
cords: Partial<Coords>;
|
|
1639
1605
|
strategy?: "absolute" | "fixed";
|
|
1640
|
-
class?:
|
|
1606
|
+
class?: ClassValue | null;
|
|
1641
1607
|
}
|
|
1642
1608
|
export {};
|