flowbite-svelte 1.11.2 → 1.11.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion/Accordion.svelte +14 -10
- package/dist/accordion/Accordion.svelte.d.ts +1 -1
- package/dist/accordion/AccordionItem.svelte +13 -10
- package/dist/accordion/AccordionItem.svelte.d.ts +1 -1
- package/dist/alert/Alert.svelte +4 -5
- package/dist/alert/Alert.svelte.d.ts +1 -2
- package/dist/avatar/Avatar.svelte +1 -1
- package/dist/avatar/Avatar.svelte.d.ts +1 -1
- package/dist/badge/Badge.svelte +5 -6
- package/dist/badge/Badge.svelte.d.ts +1 -2
- package/dist/banner/Banner.svelte +4 -5
- package/dist/banner/Banner.svelte.d.ts +1 -2
- package/dist/bottom-navigation/BottomNav.svelte +4 -5
- package/dist/bottom-navigation/BottomNav.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavHeader.svelte +1 -1
- package/dist/bottom-navigation/BottomNavHeader.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte +1 -1
- package/dist/bottom-navigation/BottomNavHeaderItem.svelte.d.ts +1 -1
- package/dist/bottom-navigation/BottomNavItem.svelte +1 -1
- package/dist/bottom-navigation/BottomNavItem.svelte.d.ts +1 -1
- package/dist/bottom-navigation/theme.d.ts +9 -9
- package/dist/breadcrumb/Breadcrumb.svelte +1 -1
- package/dist/breadcrumb/Breadcrumb.svelte.d.ts +1 -1
- package/dist/breadcrumb/BreadcrumbItem.svelte +1 -1
- package/dist/breadcrumb/BreadcrumbItem.svelte.d.ts +1 -1
- package/dist/button-group/ButtonGroup.svelte +1 -1
- package/dist/button-group/ButtonGroup.svelte.d.ts +1 -1
- package/dist/buttons/Button.svelte +1 -1
- package/dist/buttons/Button.svelte.d.ts +1 -1
- package/dist/buttons/GradientButton.svelte +1 -1
- package/dist/buttons/GradientButton.svelte.d.ts +1 -1
- package/dist/card/Card.svelte +1 -1
- package/dist/card/Card.svelte.d.ts +1 -1
- package/dist/carousel/Carousel.svelte +25 -35
- package/dist/carousel/Carousel.svelte.d.ts +1 -1
- package/dist/carousel/CarouselIndicators.svelte +11 -18
- package/dist/carousel/CarouselIndicators.svelte.d.ts +1 -1
- package/dist/carousel/ControlButton.svelte +1 -1
- package/dist/carousel/ControlButton.svelte.d.ts +1 -1
- package/dist/carousel/Controls.svelte +13 -26
- package/dist/carousel/Controls.svelte.d.ts +1 -1
- package/dist/carousel/Slide.svelte +9 -10
- package/dist/carousel/Slide.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnail.svelte +1 -1
- package/dist/carousel/Thumbnail.svelte.d.ts +1 -1
- package/dist/carousel/Thumbnails.svelte +13 -20
- package/dist/carousel/Thumbnails.svelte.d.ts +1 -1
- package/dist/clipboard/Clipboard.svelte +1 -1
- package/dist/clipboard/Clipboard.svelte.d.ts +1 -1
- package/dist/darkmode/DarkMode.svelte +1 -1
- package/dist/darkmode/DarkMode.svelte.d.ts +1 -1
- package/dist/datepicker/Datepicker.svelte +1 -1
- package/dist/datepicker/Datepicker.svelte.d.ts +1 -1
- package/dist/device-mockups/Android.svelte +1 -1
- package/dist/device-mockups/Android.svelte.d.ts +1 -1
- package/dist/device-mockups/DefaultMockup.svelte +1 -1
- package/dist/device-mockups/DefaultMockup.svelte.d.ts +1 -1
- package/dist/device-mockups/Desktop.svelte +1 -1
- package/dist/device-mockups/Desktop.svelte.d.ts +1 -1
- package/dist/device-mockups/DeviceMockup.svelte +1 -1
- package/dist/device-mockups/DeviceMockup.svelte.d.ts +1 -1
- package/dist/device-mockups/Ios.svelte +1 -1
- package/dist/device-mockups/Ios.svelte.d.ts +1 -1
- package/dist/device-mockups/Laptop.svelte +1 -1
- package/dist/device-mockups/Laptop.svelte.d.ts +1 -1
- package/dist/device-mockups/Smartwatch.svelte +1 -1
- package/dist/device-mockups/Smartwatch.svelte.d.ts +1 -1
- package/dist/device-mockups/Tablet.svelte +1 -1
- package/dist/device-mockups/Tablet.svelte.d.ts +1 -1
- package/dist/device-mockups/theme.d.ts +138 -138
- package/dist/drawer/Drawer.svelte +4 -5
- package/dist/drawer/Drawer.svelte.d.ts +1 -2
- package/dist/drawer/Drawerhead.svelte +1 -1
- package/dist/drawer/Drawerhead.svelte.d.ts +1 -1
- package/dist/drawer/theme.d.ts +12 -12
- package/dist/dropdown/Dropdown.svelte +6 -7
- package/dist/dropdown/Dropdown.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownDivider.svelte +1 -1
- package/dist/dropdown/DropdownDivider.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownGroup.svelte +1 -1
- package/dist/dropdown/DropdownGroup.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownHeader.svelte +1 -1
- package/dist/dropdown/DropdownHeader.svelte.d.ts +1 -1
- package/dist/dropdown/DropdownItem.svelte +8 -15
- package/dist/dropdown/DropdownItem.svelte.d.ts +1 -1
- package/dist/dropdown/theme.d.ts +21 -15
- package/dist/dropdown/theme.js +3 -2
- package/dist/footer/Footer.svelte +1 -1
- package/dist/footer/Footer.svelte.d.ts +1 -1
- package/dist/footer/FooterBrand.svelte +1 -1
- package/dist/footer/FooterBrand.svelte.d.ts +1 -1
- package/dist/footer/FooterCopyright.svelte +1 -1
- package/dist/footer/FooterCopyright.svelte.d.ts +1 -1
- package/dist/footer/FooterIcon.svelte +1 -1
- package/dist/footer/FooterIcon.svelte.d.ts +1 -1
- package/dist/footer/FooterLink.svelte +1 -1
- package/dist/footer/FooterLink.svelte.d.ts +1 -1
- package/dist/footer/FooterLinkGroup.svelte +1 -1
- package/dist/footer/FooterLinkGroup.svelte.d.ts +1 -1
- package/dist/footer/theme.d.ts +33 -33
- package/dist/forms/button-toggle/ButtonToggle.svelte +1 -1
- package/dist/forms/button-toggle/ButtonToggle.svelte.d.ts +1 -1
- package/dist/forms/button-toggle/CheckIcon.svelte +1 -1
- package/dist/forms/button-toggle/CheckIcon.svelte.d.ts +1 -1
- package/dist/forms/checkbox/CheckboxButton.svelte +1 -1
- package/dist/forms/checkbox/CheckboxButton.svelte.d.ts +1 -1
- package/dist/forms/dropzone/Dropzone.svelte +1 -1
- package/dist/forms/dropzone/Dropzone.svelte.d.ts +1 -1
- package/dist/forms/fileupload/Fileupload.svelte +2 -2
- package/dist/forms/fileupload/Fileupload.svelte.d.ts +1 -1
- package/dist/forms/floating-label/FloatingLabelInput.svelte +4 -5
- package/dist/forms/floating-label/FloatingLabelInput.svelte.d.ts +1 -2
- package/dist/forms/helper/Helper.svelte +1 -1
- package/dist/forms/helper/Helper.svelte.d.ts +1 -1
- package/dist/forms/input-addon/InputAddon.svelte +1 -1
- package/dist/forms/input-addon/InputAddon.svelte.d.ts +1 -1
- package/dist/forms/input-field/Input.svelte +1 -1
- package/dist/forms/input-field/index.d.ts +1 -1
- package/dist/forms/label/Label.svelte +1 -1
- package/dist/forms/label/Label.svelte.d.ts +1 -1
- package/dist/forms/range/Range.svelte +1 -1
- package/dist/forms/range/Range.svelte.d.ts +1 -1
- package/dist/forms/search/Search.svelte +2 -2
- package/dist/forms/search/Search.svelte.d.ts +1 -1
- package/dist/forms/select/MultiSelect.svelte +1 -1
- package/dist/forms/select/Select.svelte +1 -1
- package/dist/forms/tags/Tags.svelte +1 -1
- package/dist/forms/tags/Tags.svelte.d.ts +1 -1
- package/dist/forms/tags/theme.d.ts +27 -27
- package/dist/forms/textarea/Textarea.svelte +2 -2
- package/dist/forms/textarea/Textarea.svelte.d.ts +1 -1
- package/dist/forms/textarea/theme.js +1 -1
- package/dist/forms/timepicker/Timepicker.svelte +1 -1
- package/dist/forms/timepicker/Timepicker.svelte.d.ts +1 -1
- package/dist/forms/toggle/Toggle.svelte +1 -1
- package/dist/forms/toggle/Toggle.svelte.d.ts +1 -1
- package/dist/gallery/Gallery.svelte +1 -1
- package/dist/gallery/Gallery.svelte.d.ts +1 -1
- package/dist/gallery/theme.d.ts +9 -9
- package/dist/indicator/Indicator.svelte +1 -1
- package/dist/indicator/Indicator.svelte.d.ts +1 -1
- package/dist/kbd/Kbd.svelte +1 -1
- package/dist/kbd/Kbd.svelte.d.ts +1 -1
- package/dist/list-group/Listgroup.svelte +1 -1
- package/dist/list-group/Listgroup.svelte.d.ts +1 -1
- package/dist/list-group/ListgroupItem.svelte +1 -1
- package/dist/list-group/ListgroupItem.svelte.d.ts +1 -1
- package/dist/mega-menu/MegaMenu.svelte +1 -1
- package/dist/mega-menu/MegaMenu.svelte.d.ts +1 -1
- package/dist/modal/Modal.svelte +2 -2
- package/dist/modal/Modal.svelte.d.ts +1 -1
- package/dist/navbar/Menu.svelte +1 -1
- package/dist/navbar/Menu.svelte.d.ts +1 -1
- package/dist/navbar/NavBrand.svelte +1 -1
- package/dist/navbar/NavBrand.svelte.d.ts +1 -1
- package/dist/navbar/NavContainer.svelte +1 -1
- package/dist/navbar/NavContainer.svelte.d.ts +1 -1
- package/dist/navbar/NavHamburger.svelte +5 -5
- package/dist/navbar/NavHamburger.svelte.d.ts +83 -35
- package/dist/navbar/NavLi.svelte +6 -12
- package/dist/navbar/NavLi.svelte.d.ts +1 -1
- package/dist/navbar/NavUl.svelte +11 -17
- package/dist/navbar/NavUl.svelte.d.ts +3 -3
- package/dist/navbar/Navbar.svelte +4 -2
- package/dist/navbar/Navbar.svelte.d.ts +2 -1
- package/dist/navbar/theme.d.ts +140 -19
- package/dist/navbar/theme.js +123 -12
- package/dist/pagination/Pagination.svelte +1 -1
- package/dist/pagination/Pagination.svelte.d.ts +1 -1
- package/dist/pagination/PaginationButton.svelte +1 -1
- package/dist/pagination/PaginationButton.svelte.d.ts +1 -1
- package/dist/pagination/PaginationItem.svelte +1 -1
- package/dist/pagination/PaginationItem.svelte.d.ts +1 -1
- package/dist/pagination/PaginationNav.svelte +1 -1
- package/dist/pagination/PaginationNav.svelte.d.ts +1 -1
- package/dist/popover/Popover.svelte +1 -1
- package/dist/popover/Popover.svelte.d.ts +1 -1
- package/dist/progress/Progressbar.svelte +1 -1
- package/dist/progress/Progressbar.svelte.d.ts +1 -1
- package/dist/progress/Progressradial.svelte +1 -1
- package/dist/progress/Progressradial.svelte.d.ts +1 -1
- package/dist/rating/AdvancedRating.svelte +1 -1
- package/dist/rating/AdvancedRating.svelte.d.ts +1 -1
- package/dist/rating/CustomIcon.svelte +1 -1
- package/dist/rating/CustomIcon.svelte.d.ts +1 -1
- package/dist/rating/Heart.svelte +1 -1
- package/dist/rating/Heart.svelte.d.ts +1 -1
- package/dist/rating/Rating.svelte +1 -1
- package/dist/rating/Rating.svelte.d.ts +1 -1
- package/dist/rating/RatingComment.svelte +1 -1
- package/dist/rating/RatingComment.svelte.d.ts +1 -1
- package/dist/rating/Review.svelte +1 -1
- 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 +1 -1
- package/dist/rating/Star.svelte.d.ts +1 -1
- package/dist/rating/Thumbup.svelte +1 -1
- package/dist/rating/Thumbup.svelte.d.ts +1 -1
- package/dist/rating/theme.d.ts +72 -72
- package/dist/sidebar/Sidebar.svelte +7 -8
- package/dist/sidebar/Sidebar.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarBrand.svelte +1 -1
- package/dist/sidebar/SidebarBrand.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarButton.svelte +1 -1
- package/dist/sidebar/SidebarButton.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarCta.svelte +1 -1
- package/dist/sidebar/SidebarCta.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarDropdownWrapper.svelte +6 -6
- package/dist/sidebar/SidebarDropdownWrapper.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarGroup.svelte +1 -1
- package/dist/sidebar/SidebarGroup.svelte.d.ts +1 -1
- package/dist/sidebar/SidebarItem.svelte +5 -14
- package/dist/sidebar/SidebarItem.svelte.d.ts +1 -1
- package/dist/sidebar/theme.d.ts +42 -42
- package/dist/skeleton/CardPlaceholder.svelte +1 -1
- package/dist/skeleton/CardPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte +1 -1
- package/dist/skeleton/ImagePlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/ListPlaceholder.svelte +1 -1
- package/dist/skeleton/ListPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/Skeleton.svelte +1 -1
- package/dist/skeleton/Skeleton.svelte.d.ts +1 -1
- package/dist/skeleton/TestimonialPlaceholder.svelte +1 -1
- package/dist/skeleton/TestimonialPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/TextPlaceholder.svelte +1 -1
- package/dist/skeleton/TextPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte +1 -1
- package/dist/skeleton/VideoPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte +1 -1
- package/dist/skeleton/WidgetPlaceholder.svelte.d.ts +1 -1
- package/dist/skeleton/theme.d.ts +33 -33
- package/dist/speed-dial/SpeedDial.svelte +1 -1
- package/dist/speed-dial/SpeedDial.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialButton.svelte +1 -1
- package/dist/speed-dial/SpeedDialButton.svelte.d.ts +1 -1
- package/dist/speed-dial/SpeedDialTrigger.svelte +1 -1
- package/dist/speed-dial/SpeedDialTrigger.svelte.d.ts +1 -1
- package/dist/spinner/Spinner.svelte +1 -1
- package/dist/spinner/Spinner.svelte.d.ts +1 -1
- package/dist/stepindicator/StepIndicator.svelte +1 -1
- package/dist/stepindicator/StepIndicator.svelte.d.ts +1 -1
- package/dist/stepper/BreadcrumbStepper.svelte +1 -1
- package/dist/stepper/BreadcrumbStepper.svelte.d.ts +1 -1
- package/dist/stepper/DetailedStepper.svelte +1 -1
- package/dist/stepper/DetailedStepper.svelte.d.ts +1 -1
- package/dist/stepper/ProgressStepper.svelte +1 -1
- package/dist/stepper/ProgressStepper.svelte.d.ts +1 -1
- package/dist/stepper/Stepper.svelte +1 -1
- package/dist/stepper/Stepper.svelte.d.ts +1 -1
- package/dist/stepper/TimelineStepper.svelte +1 -1
- package/dist/stepper/TimelineStepper.svelte.d.ts +1 -1
- package/dist/stepper/VerticalStepper.svelte +1 -1
- package/dist/stepper/VerticalStepper.svelte.d.ts +1 -1
- package/dist/table/Table.svelte +1 -1
- package/dist/table/Table.svelte.d.ts +1 -1
- package/dist/table/TableBody.svelte +1 -1
- package/dist/table/TableBody.svelte.d.ts +1 -1
- package/dist/table/TableBodyCell.svelte +1 -1
- package/dist/table/TableBodyCell.svelte.d.ts +1 -1
- package/dist/table/TableBodyRow.svelte +1 -1
- package/dist/table/TableBodyRow.svelte.d.ts +1 -1
- package/dist/table/TableHead.svelte +1 -1
- package/dist/table/TableHead.svelte.d.ts +1 -1
- package/dist/table/TableHeadCell.svelte +1 -1
- package/dist/table/TableHeadCell.svelte.d.ts +1 -1
- package/dist/table/TableSearch.svelte +1 -1
- package/dist/table/TableSearch.svelte.d.ts +1 -1
- package/dist/tabs/TabItem.svelte +14 -27
- package/dist/tabs/TabItem.svelte.d.ts +3 -3
- package/dist/tabs/Tabs.svelte +16 -18
- package/dist/tabs/Tabs.svelte.d.ts +1 -1
- package/dist/tabs/theme.d.ts +0 -3
- package/dist/tabs/theme.js +1 -2
- 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 +63 -63
- package/dist/toast/Toast.svelte +4 -5
- package/dist/toast/Toast.svelte.d.ts +1 -2
- package/dist/toolbar/Toolbar.svelte +7 -8
- package/dist/toolbar/Toolbar.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarButton.svelte +1 -1
- package/dist/toolbar/ToolbarButton.svelte.d.ts +1 -1
- package/dist/toolbar/ToolbarGroup.svelte +7 -7
- 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 +14 -18
- package/dist/types.js +1 -1
- 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 +2 -2
- package/dist/utils/CloseButton.svelte.d.ts +1 -1
- package/dist/utils/Popper.svelte +1 -1
- package/dist/utils/Popper.svelte.d.ts +1 -1
- package/dist/utils/singleselection.svelte.d.ts +14 -0
- package/dist/utils/singleselection.svelte.js +48 -0
- package/dist/video/Video.svelte +1 -1
- package/dist/video/Video.svelte.d.ts +1 -1
- package/package.json +20 -17
- /package/dist/utils/{dismissable.svelte.d.ts → dismissable.d.ts} +0 -0
- /package/dist/utils/{dismissable.svelte.js → dismissable.js} +0 -0
|
@@ -2,7 +2,7 @@ import { type TabletProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [TabletProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [TabletProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L543)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -3,26 +3,26 @@ import { type VariantProps } from "tailwind-variants";
|
|
|
3
3
|
export type AndroidVariants = VariantProps<typeof android> & Classes<typeof android>;
|
|
4
4
|
declare const android: import("tailwind-variants").TVReturnType<{
|
|
5
5
|
[key: string]: {
|
|
6
|
-
[key: string]: import("tailwind-
|
|
7
|
-
base?: import("tailwind-
|
|
8
|
-
slot?: import("tailwind-
|
|
9
|
-
top?: import("tailwind-
|
|
10
|
-
right?: import("tailwind-
|
|
11
|
-
leftTop?: import("tailwind-
|
|
12
|
-
leftMid?: import("tailwind-
|
|
13
|
-
leftBot?: import("tailwind-
|
|
6
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
7
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
8
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
9
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
10
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
11
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
12
|
+
leftMid?: import("tailwind-merge").ClassNameValue;
|
|
13
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
16
|
} | {
|
|
17
17
|
[x: string]: {
|
|
18
|
-
[x: string]: import("tailwind-
|
|
19
|
-
base?: import("tailwind-
|
|
20
|
-
slot?: import("tailwind-
|
|
21
|
-
top?: import("tailwind-
|
|
22
|
-
right?: import("tailwind-
|
|
23
|
-
leftTop?: import("tailwind-
|
|
24
|
-
leftMid?: import("tailwind-
|
|
25
|
-
leftBot?: import("tailwind-
|
|
18
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
19
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
20
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
21
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
22
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
23
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
24
|
+
leftMid?: import("tailwind-merge").ClassNameValue;
|
|
25
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
} | {}, {
|
|
@@ -35,14 +35,14 @@ declare const android: import("tailwind-variants").TVReturnType<{
|
|
|
35
35
|
right: string;
|
|
36
36
|
}, undefined, {
|
|
37
37
|
[key: string]: {
|
|
38
|
-
[key: string]: import("tailwind-
|
|
39
|
-
base?: import("tailwind-
|
|
40
|
-
slot?: import("tailwind-
|
|
41
|
-
top?: import("tailwind-
|
|
42
|
-
right?: import("tailwind-
|
|
43
|
-
leftTop?: import("tailwind-
|
|
44
|
-
leftMid?: import("tailwind-
|
|
45
|
-
leftBot?: import("tailwind-
|
|
38
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
39
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
40
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
41
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
42
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
43
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
44
|
+
leftMid?: import("tailwind-merge").ClassNameValue;
|
|
45
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
48
|
} | {}, {
|
|
@@ -65,24 +65,24 @@ declare const android: import("tailwind-variants").TVReturnType<{
|
|
|
65
65
|
export type DefaultMockupVariants = VariantProps<typeof defaultMockup> & Classes<typeof defaultMockup>;
|
|
66
66
|
declare const defaultMockup: import("tailwind-variants").TVReturnType<{
|
|
67
67
|
[key: string]: {
|
|
68
|
-
[key: string]: import("tailwind-
|
|
69
|
-
base?: import("tailwind-
|
|
70
|
-
slot?: import("tailwind-
|
|
71
|
-
top?: import("tailwind-
|
|
72
|
-
right?: import("tailwind-
|
|
73
|
-
leftTop?: import("tailwind-
|
|
74
|
-
leftBot?: import("tailwind-
|
|
68
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
69
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
70
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
71
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
72
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
73
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
74
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
77
|
} | {
|
|
78
78
|
[x: string]: {
|
|
79
|
-
[x: string]: import("tailwind-
|
|
80
|
-
base?: import("tailwind-
|
|
81
|
-
slot?: import("tailwind-
|
|
82
|
-
top?: import("tailwind-
|
|
83
|
-
right?: import("tailwind-
|
|
84
|
-
leftTop?: import("tailwind-
|
|
85
|
-
leftBot?: import("tailwind-
|
|
79
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
80
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
81
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
82
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
83
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
84
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
85
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
86
86
|
};
|
|
87
87
|
};
|
|
88
88
|
} | {}, {
|
|
@@ -94,13 +94,13 @@ declare const defaultMockup: import("tailwind-variants").TVReturnType<{
|
|
|
94
94
|
right: string;
|
|
95
95
|
}, undefined, {
|
|
96
96
|
[key: string]: {
|
|
97
|
-
[key: string]: import("tailwind-
|
|
98
|
-
base?: import("tailwind-
|
|
99
|
-
slot?: import("tailwind-
|
|
100
|
-
top?: import("tailwind-
|
|
101
|
-
right?: import("tailwind-
|
|
102
|
-
leftTop?: import("tailwind-
|
|
103
|
-
leftBot?: import("tailwind-
|
|
97
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
98
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
99
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
100
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
101
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
102
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
103
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
104
104
|
};
|
|
105
105
|
};
|
|
106
106
|
} | {}, {
|
|
@@ -121,20 +121,20 @@ declare const defaultMockup: import("tailwind-variants").TVReturnType<{
|
|
|
121
121
|
export type DesktopVariants = VariantProps<typeof desktop> & Classes<typeof desktop>;
|
|
122
122
|
declare const desktop: import("tailwind-variants").TVReturnType<{
|
|
123
123
|
[key: string]: {
|
|
124
|
-
[key: string]: import("tailwind-
|
|
125
|
-
base?: import("tailwind-
|
|
126
|
-
inner?: import("tailwind-
|
|
127
|
-
bot?: import("tailwind-
|
|
128
|
-
botUnder?: import("tailwind-
|
|
124
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
125
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
126
|
+
inner?: import("tailwind-merge").ClassNameValue;
|
|
127
|
+
bot?: import("tailwind-merge").ClassNameValue;
|
|
128
|
+
botUnder?: import("tailwind-merge").ClassNameValue;
|
|
129
129
|
};
|
|
130
130
|
};
|
|
131
131
|
} | {
|
|
132
132
|
[x: string]: {
|
|
133
|
-
[x: string]: import("tailwind-
|
|
134
|
-
base?: import("tailwind-
|
|
135
|
-
inner?: import("tailwind-
|
|
136
|
-
bot?: import("tailwind-
|
|
137
|
-
botUnder?: import("tailwind-
|
|
133
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
134
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
135
|
+
inner?: import("tailwind-merge").ClassNameValue;
|
|
136
|
+
bot?: import("tailwind-merge").ClassNameValue;
|
|
137
|
+
botUnder?: import("tailwind-merge").ClassNameValue;
|
|
138
138
|
};
|
|
139
139
|
};
|
|
140
140
|
} | {}, {
|
|
@@ -144,11 +144,11 @@ declare const desktop: import("tailwind-variants").TVReturnType<{
|
|
|
144
144
|
botUnder: string;
|
|
145
145
|
}, undefined, {
|
|
146
146
|
[key: string]: {
|
|
147
|
-
[key: string]: import("tailwind-
|
|
148
|
-
base?: import("tailwind-
|
|
149
|
-
inner?: import("tailwind-
|
|
150
|
-
bot?: import("tailwind-
|
|
151
|
-
botUnder?: import("tailwind-
|
|
147
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
148
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
149
|
+
inner?: import("tailwind-merge").ClassNameValue;
|
|
150
|
+
bot?: import("tailwind-merge").ClassNameValue;
|
|
151
|
+
botUnder?: import("tailwind-merge").ClassNameValue;
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
154
|
} | {}, {
|
|
@@ -165,24 +165,24 @@ declare const desktop: import("tailwind-variants").TVReturnType<{
|
|
|
165
165
|
export type IosVariants = VariantProps<typeof ios> & Classes<typeof ios>;
|
|
166
166
|
declare const ios: import("tailwind-variants").TVReturnType<{
|
|
167
167
|
[key: string]: {
|
|
168
|
-
[key: string]: import("tailwind-
|
|
169
|
-
base?: import("tailwind-
|
|
170
|
-
slot?: import("tailwind-
|
|
171
|
-
top?: import("tailwind-
|
|
172
|
-
right?: import("tailwind-
|
|
173
|
-
leftTop?: import("tailwind-
|
|
174
|
-
leftBot?: import("tailwind-
|
|
168
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
169
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
170
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
171
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
172
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
173
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
174
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
175
175
|
};
|
|
176
176
|
};
|
|
177
177
|
} | {
|
|
178
178
|
[x: string]: {
|
|
179
|
-
[x: string]: import("tailwind-
|
|
180
|
-
base?: import("tailwind-
|
|
181
|
-
slot?: import("tailwind-
|
|
182
|
-
top?: import("tailwind-
|
|
183
|
-
right?: import("tailwind-
|
|
184
|
-
leftTop?: import("tailwind-
|
|
185
|
-
leftBot?: import("tailwind-
|
|
179
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
180
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
181
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
182
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
183
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
184
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
185
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
186
186
|
};
|
|
187
187
|
};
|
|
188
188
|
} | {}, {
|
|
@@ -194,13 +194,13 @@ declare const ios: import("tailwind-variants").TVReturnType<{
|
|
|
194
194
|
right: string;
|
|
195
195
|
}, undefined, {
|
|
196
196
|
[key: string]: {
|
|
197
|
-
[key: string]: import("tailwind-
|
|
198
|
-
base?: import("tailwind-
|
|
199
|
-
slot?: import("tailwind-
|
|
200
|
-
top?: import("tailwind-
|
|
201
|
-
right?: import("tailwind-
|
|
202
|
-
leftTop?: import("tailwind-
|
|
203
|
-
leftBot?: import("tailwind-
|
|
197
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
198
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
199
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
200
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
201
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
202
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
203
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
206
|
} | {}, {
|
|
@@ -221,20 +221,20 @@ declare const ios: import("tailwind-variants").TVReturnType<{
|
|
|
221
221
|
export type LaptopVariants = VariantProps<typeof laptop> & Classes<typeof laptop>;
|
|
222
222
|
declare const laptop: import("tailwind-variants").TVReturnType<{
|
|
223
223
|
[key: string]: {
|
|
224
|
-
[key: string]: import("tailwind-
|
|
225
|
-
base?: import("tailwind-
|
|
226
|
-
inner?: import("tailwind-
|
|
227
|
-
bot?: import("tailwind-
|
|
228
|
-
botCen?: import("tailwind-
|
|
224
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
225
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
226
|
+
inner?: import("tailwind-merge").ClassNameValue;
|
|
227
|
+
bot?: import("tailwind-merge").ClassNameValue;
|
|
228
|
+
botCen?: import("tailwind-merge").ClassNameValue;
|
|
229
229
|
};
|
|
230
230
|
};
|
|
231
231
|
} | {
|
|
232
232
|
[x: string]: {
|
|
233
|
-
[x: string]: import("tailwind-
|
|
234
|
-
base?: import("tailwind-
|
|
235
|
-
inner?: import("tailwind-
|
|
236
|
-
bot?: import("tailwind-
|
|
237
|
-
botCen?: import("tailwind-
|
|
233
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
234
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
235
|
+
inner?: import("tailwind-merge").ClassNameValue;
|
|
236
|
+
bot?: import("tailwind-merge").ClassNameValue;
|
|
237
|
+
botCen?: import("tailwind-merge").ClassNameValue;
|
|
238
238
|
};
|
|
239
239
|
};
|
|
240
240
|
} | {}, {
|
|
@@ -244,11 +244,11 @@ declare const laptop: import("tailwind-variants").TVReturnType<{
|
|
|
244
244
|
botCen: string;
|
|
245
245
|
}, undefined, {
|
|
246
246
|
[key: string]: {
|
|
247
|
-
[key: string]: import("tailwind-
|
|
248
|
-
base?: import("tailwind-
|
|
249
|
-
inner?: import("tailwind-
|
|
250
|
-
bot?: import("tailwind-
|
|
251
|
-
botCen?: import("tailwind-
|
|
247
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
248
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
249
|
+
inner?: import("tailwind-merge").ClassNameValue;
|
|
250
|
+
bot?: import("tailwind-merge").ClassNameValue;
|
|
251
|
+
botCen?: import("tailwind-merge").ClassNameValue;
|
|
252
252
|
};
|
|
253
253
|
};
|
|
254
254
|
} | {}, {
|
|
@@ -265,24 +265,24 @@ declare const laptop: import("tailwind-variants").TVReturnType<{
|
|
|
265
265
|
export type SmartwatchVariants = VariantProps<typeof smartwatch> & Classes<typeof smartwatch>;
|
|
266
266
|
declare const smartwatch: import("tailwind-variants").TVReturnType<{
|
|
267
267
|
[key: string]: {
|
|
268
|
-
[key: string]: import("tailwind-
|
|
269
|
-
base?: import("tailwind-
|
|
270
|
-
slot?: import("tailwind-
|
|
271
|
-
top?: import("tailwind-
|
|
272
|
-
bot?: import("tailwind-
|
|
273
|
-
rightTop?: import("tailwind-
|
|
274
|
-
rightBot?: import("tailwind-
|
|
268
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
269
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
270
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
271
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
272
|
+
bot?: import("tailwind-merge").ClassNameValue;
|
|
273
|
+
rightTop?: import("tailwind-merge").ClassNameValue;
|
|
274
|
+
rightBot?: import("tailwind-merge").ClassNameValue;
|
|
275
275
|
};
|
|
276
276
|
};
|
|
277
277
|
} | {
|
|
278
278
|
[x: string]: {
|
|
279
|
-
[x: string]: import("tailwind-
|
|
280
|
-
base?: import("tailwind-
|
|
281
|
-
slot?: import("tailwind-
|
|
282
|
-
top?: import("tailwind-
|
|
283
|
-
bot?: import("tailwind-
|
|
284
|
-
rightTop?: import("tailwind-
|
|
285
|
-
rightBot?: import("tailwind-
|
|
279
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
280
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
281
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
282
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
283
|
+
bot?: import("tailwind-merge").ClassNameValue;
|
|
284
|
+
rightTop?: import("tailwind-merge").ClassNameValue;
|
|
285
|
+
rightBot?: import("tailwind-merge").ClassNameValue;
|
|
286
286
|
};
|
|
287
287
|
};
|
|
288
288
|
} | {}, {
|
|
@@ -294,13 +294,13 @@ declare const smartwatch: import("tailwind-variants").TVReturnType<{
|
|
|
294
294
|
bot: string;
|
|
295
295
|
}, undefined, {
|
|
296
296
|
[key: string]: {
|
|
297
|
-
[key: string]: import("tailwind-
|
|
298
|
-
base?: import("tailwind-
|
|
299
|
-
slot?: import("tailwind-
|
|
300
|
-
top?: import("tailwind-
|
|
301
|
-
bot?: import("tailwind-
|
|
302
|
-
rightTop?: import("tailwind-
|
|
303
|
-
rightBot?: import("tailwind-
|
|
297
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
298
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
299
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
300
|
+
top?: import("tailwind-merge").ClassNameValue;
|
|
301
|
+
bot?: import("tailwind-merge").ClassNameValue;
|
|
302
|
+
rightTop?: import("tailwind-merge").ClassNameValue;
|
|
303
|
+
rightBot?: import("tailwind-merge").ClassNameValue;
|
|
304
304
|
};
|
|
305
305
|
};
|
|
306
306
|
} | {}, {
|
|
@@ -321,24 +321,24 @@ declare const smartwatch: import("tailwind-variants").TVReturnType<{
|
|
|
321
321
|
export type TabletVariants = VariantProps<typeof tablet> & Classes<typeof tablet>;
|
|
322
322
|
declare const tablet: import("tailwind-variants").TVReturnType<{
|
|
323
323
|
[key: string]: {
|
|
324
|
-
[key: string]: import("tailwind-
|
|
325
|
-
base?: import("tailwind-
|
|
326
|
-
slot?: import("tailwind-
|
|
327
|
-
right?: import("tailwind-
|
|
328
|
-
leftTop?: import("tailwind-
|
|
329
|
-
leftMid?: import("tailwind-
|
|
330
|
-
leftBot?: import("tailwind-
|
|
324
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
325
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
326
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
327
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
328
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
329
|
+
leftMid?: import("tailwind-merge").ClassNameValue;
|
|
330
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
331
331
|
};
|
|
332
332
|
};
|
|
333
333
|
} | {
|
|
334
334
|
[x: string]: {
|
|
335
|
-
[x: string]: import("tailwind-
|
|
336
|
-
base?: import("tailwind-
|
|
337
|
-
slot?: import("tailwind-
|
|
338
|
-
right?: import("tailwind-
|
|
339
|
-
leftTop?: import("tailwind-
|
|
340
|
-
leftMid?: import("tailwind-
|
|
341
|
-
leftBot?: import("tailwind-
|
|
335
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
336
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
337
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
338
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
339
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
340
|
+
leftMid?: import("tailwind-merge").ClassNameValue;
|
|
341
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
342
342
|
};
|
|
343
343
|
};
|
|
344
344
|
} | {}, {
|
|
@@ -350,13 +350,13 @@ declare const tablet: import("tailwind-variants").TVReturnType<{
|
|
|
350
350
|
right: string;
|
|
351
351
|
}, undefined, {
|
|
352
352
|
[key: string]: {
|
|
353
|
-
[key: string]: import("tailwind-
|
|
354
|
-
base?: import("tailwind-
|
|
355
|
-
slot?: import("tailwind-
|
|
356
|
-
right?: import("tailwind-
|
|
357
|
-
leftTop?: import("tailwind-
|
|
358
|
-
leftMid?: import("tailwind-
|
|
359
|
-
leftBot?: import("tailwind-
|
|
353
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
354
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
355
|
+
slot?: import("tailwind-merge").ClassNameValue;
|
|
356
|
+
right?: import("tailwind-merge").ClassNameValue;
|
|
357
|
+
leftTop?: import("tailwind-merge").ClassNameValue;
|
|
358
|
+
leftMid?: import("tailwind-merge").ClassNameValue;
|
|
359
|
+
leftBot?: import("tailwind-merge").ClassNameValue;
|
|
360
360
|
};
|
|
361
361
|
};
|
|
362
362
|
} | {}, {
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
import { sineIn } from "svelte/easing";
|
|
6
6
|
import { drawer } from ".";
|
|
7
7
|
import { getTheme, warnThemeDeprecation } from "../theme/themeUtils";
|
|
8
|
-
import { createDismissableContext } from "../utils/dismissable
|
|
8
|
+
import { createDismissableContext } from "../utils/dismissable";
|
|
9
9
|
|
|
10
|
-
let { children, hidden = $bindable(), activateClickOutside = true, position, width, backdrop = true, backdropClass, placement = "left", class: className, classes, transitionParams, transitionType = fly, bodyScrolling = false,
|
|
10
|
+
let { children, hidden = $bindable(), activateClickOutside = true, position, width, backdrop = true, backdropClass, placement = "left", class: className, classes, transitionParams, transitionType = fly, bodyScrolling = false, ...restProps }: DrawerProps = $props();
|
|
11
11
|
|
|
12
12
|
warnThemeDeprecation("Drawer", { backdropClass }, { backdropClass: "backdrop" });
|
|
13
13
|
const styling = $derived(classes ?? { backdrop: backdropClass });
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<svelte:window bind:innerWidth bind:innerHeight />
|
|
44
44
|
|
|
45
45
|
{#if !hidden}
|
|
46
|
-
<div role="presentation" bind:this={ref}
|
|
46
|
+
<div role="presentation" bind:this={ref} class={backdropCls({ class: clsx(theme?.backdrop, styling.backdrop) })} onclick={activateClickOutside ? close : undefined} style={bodyScrolling ? "pointer-events: none;" : ""}></div>
|
|
47
47
|
<div use:trapFocus={{ onEscape: close as () => void }} {...restProps} class={base({ class: clsx(theme?.base, className) })} transition:transitionType={transitionParams ? transitionParams : (transition_params as ParamsType)} tabindex="-1">
|
|
48
48
|
{@render children?.()}
|
|
49
49
|
</div>
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
@component
|
|
54
54
|
[Go to docs](https://flowbite-svelte.com/)
|
|
55
55
|
## Type
|
|
56
|
-
[DrawerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
56
|
+
[DrawerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L554)
|
|
57
57
|
## Props
|
|
58
58
|
@prop children
|
|
59
59
|
@prop hidden = $bindable()
|
|
@@ -68,6 +68,5 @@
|
|
|
68
68
|
@prop transitionParams
|
|
69
69
|
@prop transitionType = fly
|
|
70
70
|
@prop bodyScrolling = false
|
|
71
|
-
@prop onclose
|
|
72
71
|
@prop ...restProps
|
|
73
72
|
-->
|
|
@@ -2,7 +2,7 @@ import { type DrawerProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DrawerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DrawerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L554)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop hidden = $bindable()
|
|
@@ -17,7 +17,6 @@ import { type DrawerProps } from "..";
|
|
|
17
17
|
* @prop transitionParams
|
|
18
18
|
* @prop transitionType = fly
|
|
19
19
|
* @prop bodyScrolling = false
|
|
20
|
-
* @prop onclose
|
|
21
20
|
* @prop ...restProps
|
|
22
21
|
*/
|
|
23
22
|
declare const Drawer: import("svelte").Component<DrawerProps, {}, "hidden">;
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
@component
|
|
35
35
|
[Go to docs](https://flowbite-svelte.com/)
|
|
36
36
|
## Type
|
|
37
|
-
[DrawerheadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
37
|
+
[DrawerheadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L565)
|
|
38
38
|
## Props
|
|
39
39
|
@prop closeIcon
|
|
40
40
|
@prop children
|
|
@@ -2,7 +2,7 @@ import { type DrawerheadProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DrawerheadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DrawerheadProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L565)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop closeIcon
|
|
8
8
|
* @prop children
|
package/dist/drawer/theme.d.ts
CHANGED
|
@@ -137,18 +137,18 @@ export declare const drawer: import("tailwind-variants").TVReturnType<{
|
|
|
137
137
|
export type DrawerheadVariants = VariantProps<typeof drawerhead> & Classes<typeof drawerhead>;
|
|
138
138
|
export declare const drawerhead: import("tailwind-variants").TVReturnType<{
|
|
139
139
|
[key: string]: {
|
|
140
|
-
[key: string]: import("tailwind-
|
|
141
|
-
button?: import("tailwind-
|
|
142
|
-
base?: import("tailwind-
|
|
143
|
-
svg?: import("tailwind-
|
|
140
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
141
|
+
button?: import("tailwind-merge").ClassNameValue;
|
|
142
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
143
|
+
svg?: import("tailwind-merge").ClassNameValue;
|
|
144
144
|
};
|
|
145
145
|
};
|
|
146
146
|
} | {
|
|
147
147
|
[x: string]: {
|
|
148
|
-
[x: string]: import("tailwind-
|
|
149
|
-
button?: import("tailwind-
|
|
150
|
-
base?: import("tailwind-
|
|
151
|
-
svg?: import("tailwind-
|
|
148
|
+
[x: string]: import("tailwind-merge").ClassNameValue | {
|
|
149
|
+
button?: import("tailwind-merge").ClassNameValue;
|
|
150
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
151
|
+
svg?: import("tailwind-merge").ClassNameValue;
|
|
152
152
|
};
|
|
153
153
|
};
|
|
154
154
|
} | {}, {
|
|
@@ -157,10 +157,10 @@ export declare const drawerhead: import("tailwind-variants").TVReturnType<{
|
|
|
157
157
|
svg: string;
|
|
158
158
|
}, undefined, {
|
|
159
159
|
[key: string]: {
|
|
160
|
-
[key: string]: import("tailwind-
|
|
161
|
-
button?: import("tailwind-
|
|
162
|
-
base?: import("tailwind-
|
|
163
|
-
svg?: import("tailwind-
|
|
160
|
+
[key: string]: import("tailwind-merge").ClassNameValue | {
|
|
161
|
+
button?: import("tailwind-merge").ClassNameValue;
|
|
162
|
+
base?: import("tailwind-merge").ClassNameValue;
|
|
163
|
+
svg?: import("tailwind-merge").ClassNameValue;
|
|
164
164
|
};
|
|
165
165
|
};
|
|
166
166
|
} | {}, {
|
|
@@ -1,21 +1,20 @@
|
|
|
1
1
|
<script lang="ts">
|
|
2
|
+
import { DropdownGroup, type DropdownProps, Popper } from "..";
|
|
3
|
+
import { getTheme } from "../theme/themeUtils";
|
|
4
|
+
import clsx from "clsx";
|
|
2
5
|
import { setContext } from "svelte";
|
|
3
|
-
import { writable } from "svelte/store";
|
|
4
6
|
import { dropdown } from "./";
|
|
5
|
-
import clsx from "clsx";
|
|
6
|
-
import { type DropdownProps, Popper, DropdownGroup } from "..";
|
|
7
|
-
import { getTheme } from "../theme/themeUtils";
|
|
8
7
|
|
|
9
8
|
let { children, simple = false, placement = "bottom", offset = 2, class: className, activeUrl = "", isOpen = $bindable(false), ...restProps }: DropdownProps = $props();
|
|
10
9
|
|
|
11
10
|
const theme = getTheme("dropdown");
|
|
12
11
|
|
|
13
12
|
const base = $derived(dropdown({ class: clsx(theme, className) }));
|
|
14
|
-
const activeUrlStore =
|
|
13
|
+
const activeUrlStore = $state({ value: "" });
|
|
15
14
|
setContext("activeUrl", activeUrlStore);
|
|
16
15
|
|
|
17
16
|
$effect(() => {
|
|
18
|
-
activeUrlStore.
|
|
17
|
+
activeUrlStore.value = activeUrl ?? "";
|
|
19
18
|
});
|
|
20
19
|
</script>
|
|
21
20
|
|
|
@@ -35,7 +34,7 @@
|
|
|
35
34
|
@component
|
|
36
35
|
[Go to docs](https://flowbite-svelte.com/)
|
|
37
36
|
## Type
|
|
38
|
-
[DropdownProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
37
|
+
[DropdownProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L572)
|
|
39
38
|
## Props
|
|
40
39
|
@prop children
|
|
41
40
|
@prop simple = false
|
|
@@ -2,7 +2,7 @@ import { type DropdownProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DropdownProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DropdownProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L572)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop simple = false
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
@component
|
|
16
16
|
[Go to docs](https://flowbite-svelte.com/)
|
|
17
17
|
## Type
|
|
18
|
-
[DropdownDividerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
18
|
+
[DropdownDividerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L578)
|
|
19
19
|
## Props
|
|
20
20
|
@prop class: className
|
|
21
21
|
@prop ...restProps
|
|
@@ -2,7 +2,7 @@ import { type DropdownDividerProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DropdownDividerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DropdownDividerProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L578)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop class: className
|
|
8
8
|
* @prop ...restProps
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[DropdownGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[DropdownGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L594)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop class: className
|
|
@@ -2,7 +2,7 @@ import { type DropdownGroupProps } from "..";
|
|
|
2
2
|
/**
|
|
3
3
|
* [Go to docs](https://flowbite-svelte.com/)
|
|
4
4
|
* ## Type
|
|
5
|
-
* [DropdownGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
5
|
+
* [DropdownGroupProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L594)
|
|
6
6
|
* ## Props
|
|
7
7
|
* @prop children
|
|
8
8
|
* @prop class: className
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
@component
|
|
18
18
|
[Go to docs](https://flowbite-svelte.com/)
|
|
19
19
|
## Type
|
|
20
|
-
[DropdownHeaderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#
|
|
20
|
+
[DropdownHeaderProps](https://github.com/themesberg/flowbite-svelte/blob/main/src/lib/types.ts#L580)
|
|
21
21
|
## Props
|
|
22
22
|
@prop children
|
|
23
23
|
@prop class: className
|