kuzenbo 0.0.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/LICENSE +21 -0
- package/README.md +185 -0
- package/dist/accordion-trigger-D5XnBMS6.d.ts +24 -0
- package/dist/accordion-trigger-TjAe8JHy.js +53 -0
- package/dist/alert-dialog-trigger-BV0BsaVU.d.ts +638 -0
- package/dist/alert-dialog-trigger-D5BRoizR.js +98 -0
- package/dist/alert-title-CISzcj0X.js +28 -0
- package/dist/alert-title-CVC9G-Xf.d.ts +22 -0
- package/dist/announcement-title-CCZuGB1O.d.ts +18 -0
- package/dist/announcement-title-CIwzt9Wl.js +18 -0
- package/dist/autocomplete-value-BhyszIrf.d.ts +111 -0
- package/dist/autocomplete-value-DNJ3sAIH.js +141 -0
- package/dist/avatar-image-BKgKyzVw.d.ts +35 -0
- package/dist/avatar-image-Bw3G-Bl6.js +45 -0
- package/dist/breadcrumb-separator-D66-B1DA.d.ts +44 -0
- package/dist/breadcrumb-separator-Do-19Uow.js +74 -0
- package/dist/button-group-text-D98w78rH.js +25 -0
- package/dist/calendar-week-number-6AXvZ4Ij.js +72 -0
- package/dist/calendar-week-number-in2gpvA_.d.ts +36 -0
- package/dist/card-title-CbRPAh3M.js +52 -0
- package/dist/card-title-DSDluDoy.d.ts +40 -0
- package/dist/carousel-previous-B_jysGv_.js +89 -0
- package/dist/chart-tooltip-content-h5oLtil-.js +144 -0
- package/dist/collapsible-trigger-DcQWODN-.js +20 -0
- package/dist/collapsible-trigger-aZF7_mPR.d.ts +15 -0
- package/dist/command-shortcut-DoWM7Mnm.js +97 -0
- package/dist/context-menu-trigger-CYBhdcpg.js +147 -0
- package/dist/context-menu-trigger-Du2vcTco.d.ts +103 -0
- package/dist/dialog-trigger-CR23tYql.js +97 -0
- package/dist/dialog-trigger-xeE4e96-.d.ts +74 -0
- package/dist/drawer-trigger-7jI4Zmqs.js +79 -0
- package/dist/drawer-trigger-H_Wv5R00.d.ts +67 -0
- package/dist/dropdown-menu-trigger-CFdruqOk.d.ts +108 -0
- package/dist/dropdown-menu-trigger-IKeAoU_a.js +152 -0
- package/dist/dropzone-context-BRX1K7nw.d.ts +45 -0
- package/dist/dropzone-status-CW-3AXuh.js +33 -0
- package/dist/emoji-picker-skin-tone-selector-Cmv-1vDO.js +117 -0
- package/dist/emoji-picker-skin-tone-selector-yMYxt4oJ.d.ts +67 -0
- package/dist/empty-title-CH3DhcfT.d.ts +53 -0
- package/dist/empty-title-CHNBH7WJ.js +53 -0
- package/dist/form-field-title-CNrq8v88.js +101 -0
- package/dist/hooks/use-isomorphic-effect.d.ts +7 -0
- package/dist/hooks/use-isomorphic-effect.js +7 -0
- package/dist/hooks/use-mobile.d.ts +4 -0
- package/dist/hooks/use-mobile.js +20 -0
- package/dist/hover-card-trigger-B9jf3FEB.js +31 -0
- package/dist/hover-card-trigger-BqVoZ7h4.d.ts +20 -0
- package/dist/index.d.ts +122 -0
- package/dist/index.js +130 -0
- package/dist/input-group-textarea-voYOV11-.js +79 -0
- package/dist/input-otp-slot-DWbXhUmU.js +45 -0
- package/dist/input-otp-slot-eVdOjx8C.d.ts +24 -0
- package/dist/item-title-BYrYJZpa.js +89 -0
- package/dist/kbd-group-CT-Xtgug.js +12 -0
- package/dist/kbd-group-D3yVrb2D.d.ts +10 -0
- package/dist/marquee-item-BGJ5NSiz.js +29 -0
- package/dist/marquee-item-DD6JuLJ4.d.ts +32 -0
- package/dist/menubar-trigger-BLg3XdRv.d.ts +104 -0
- package/dist/menubar-trigger-aKMWAxdz.js +146 -0
- package/dist/meter-value-BmxUICOA.js +37 -0
- package/dist/meter-value-DYkZLCtx.d.ts +30 -0
- package/dist/navigation-menu-trigger-Bf60DnIz.d.ts +53 -0
- package/dist/navigation-menu-trigger-D80wiliM.js +82 -0
- package/dist/number-field-scrub-area-CXSyafBE.js +80 -0
- package/dist/optional-portal-C7TpYnOc.js +15 -0
- package/dist/pagination-previous-DPZrRgiD.js +88 -0
- package/dist/pagination-previous-qJeZZTou.d.ts +45 -0
- package/dist/pill-status-CD9XXuE7.js +74 -0
- package/dist/pill-status-rg-3AMSI.d.ts +77 -0
- package/dist/popover-trigger-B9PVErig.d.ts +39 -0
- package/dist/popover-trigger-C8dP_u7N.js +52 -0
- package/dist/progress-value-CFlgP0nv.d.ts +28 -0
- package/dist/progress-value-CfCodKnX.js +37 -0
- package/dist/radio-group-item-09fw05Va.d.ts +10 -0
- package/dist/radio-group-item-CQjCazjw.js +24 -0
- package/dist/rating-star-6ov3lbpn.d.ts +57 -0
- package/dist/rating-star-BuLQfAnZ.js +110 -0
- package/dist/resizable-panel-B4lAr8Vb.d.ts +19 -0
- package/dist/resizable-panel-BO97wcPj.js +21 -0
- package/dist/scroll-bar-BQzpb5hF.js +19 -0
- package/dist/scroll-bar-vYvxEOph.d.ts +11 -0
- package/dist/select-value-BUnWentK.js +117 -0
- package/dist/select-value-DG31IHy3.d.ts +70 -0
- package/dist/sheet-trigger-CLgKANrf.d.ts +64 -0
- package/dist/sheet-trigger-CUU7xwUn.js +95 -0
- package/dist/sidebar-trigger-BCjVuIqi.js +366 -0
- package/dist/styles.css +145 -0
- package/dist/table-row-BxhKJPfE.d.ts +46 -0
- package/dist/table-row-D63xalkM.js +60 -0
- package/dist/tabs-trigger-B2mBxFgq.js +38 -0
- package/dist/tabs-trigger-BGo2XGvh.d.ts +41 -0
- package/dist/timeline-title-BH8JxX2n.js +389 -0
- package/dist/toggle-group-item-Bz_ohmnY.d.ts +53 -0
- package/dist/toggle-group-item-aggwtgam.js +34 -0
- package/dist/toolbar-separator-7CgKz2aX.d.ts +40 -0
- package/dist/toolbar-separator-Bre5OtBI.js +41 -0
- package/dist/tooltip-trigger-CrAGfaqr.d.ts +27 -0
- package/dist/tooltip-trigger-Z-aPDRog.js +37 -0
- package/dist/ui/accordion.d.ts +27 -0
- package/dist/ui/accordion.js +17 -0
- package/dist/ui/affix.d.ts +49 -0
- package/dist/ui/affix.js +57 -0
- package/dist/ui/alert-dialog.d.ts +123 -0
- package/dist/ui/alert-dialog.js +23 -0
- package/dist/ui/alert.d.ts +58 -0
- package/dist/ui/alert.js +59 -0
- package/dist/ui/announcement.d.ts +27 -0
- package/dist/ui/announcement.js +16 -0
- package/dist/ui/aspect-ratio.d.ts +13 -0
- package/dist/ui/aspect-ratio.js +13 -0
- package/dist/ui/autocomplete.d.ts +67 -0
- package/dist/ui/autocomplete.js +30 -0
- package/dist/ui/avatar.d.ts +37 -0
- package/dist/ui/avatar.js +22 -0
- package/dist/ui/badge.d.ts +54 -0
- package/dist/ui/badge.js +33 -0
- package/dist/ui/breadcrumb.d.ts +41 -0
- package/dist/ui/breadcrumb.js +20 -0
- package/dist/ui/button-group.d.ts +94 -0
- package/dist/ui/button-group.js +24 -0
- package/dist/ui/button.d.ts +91 -0
- package/dist/ui/button.js +64 -0
- package/dist/ui/calendar.d.ts +52 -0
- package/dist/ui/calendar.js +64 -0
- package/dist/ui/card.d.ts +40 -0
- package/dist/ui/card.js +20 -0
- package/dist/ui/carousel.d.ts +100 -0
- package/dist/ui/carousel.js +76 -0
- package/dist/ui/chart.d.ts +61 -0
- package/dist/ui/chart.js +34 -0
- package/dist/ui/checkbox-group.d.ts +12 -0
- package/dist/ui/checkbox-group.js +13 -0
- package/dist/ui/checkbox.d.ts +12 -0
- package/dist/ui/checkbox.js +27 -0
- package/dist/ui/collapsible.d.ts +19 -0
- package/dist/ui/collapsible.js +16 -0
- package/dist/ui/combobox.d.ts +95 -0
- package/dist/ui/combobox.js +31 -0
- package/dist/ui/command.d.ts +146 -0
- package/dist/ui/command.js +24 -0
- package/dist/ui/context-menu.d.ts +83 -0
- package/dist/ui/context-menu.js +26 -0
- package/dist/ui/country-flag.d.ts +18 -0
- package/dist/ui/country-flag.js +36 -0
- package/dist/ui/dialog.d.ts +53 -0
- package/dist/ui/dialog.js +23 -0
- package/dist/ui/drawer.d.ts +52 -0
- package/dist/ui/drawer.js +24 -0
- package/dist/ui/dropdown-menu.d.ts +88 -0
- package/dist/ui/dropdown-menu.js +26 -0
- package/dist/ui/dropzone.d.ts +233 -0
- package/dist/ui/dropzone.js +180 -0
- package/dist/ui/emoji-picker.d.ts +46 -0
- package/dist/ui/emoji-picker.js +23 -0
- package/dist/ui/empty.d.ts +50 -0
- package/dist/ui/empty.js +18 -0
- package/dist/ui/form-field.d.ts +134 -0
- package/dist/ui/form-field.js +33 -0
- package/dist/ui/google-logo.d.ts +13 -0
- package/dist/ui/google-logo.js +36 -0
- package/dist/ui/hover-card.d.ts +24 -0
- package/dist/ui/hover-card.js +16 -0
- package/dist/ui/input-group.d.ts +141 -0
- package/dist/ui/input-group.js +21 -0
- package/dist/ui/input-otp.d.ts +31 -0
- package/dist/ui/input-otp.js +19 -0
- package/dist/ui/input.d.ts +12 -0
- package/dist/ui/input.js +14 -0
- package/dist/ui/item.d.ts +158 -0
- package/dist/ui/item.js +50 -0
- package/dist/ui/kbd.d.ts +18 -0
- package/dist/ui/kbd.js +14 -0
- package/dist/ui/label.d.ts +12 -0
- package/dist/ui/label.js +15 -0
- package/dist/ui/marquee.d.ts +30 -0
- package/dist/ui/marquee.js +17 -0
- package/dist/ui/menubar.d.ts +228 -0
- package/dist/ui/menubar.js +29 -0
- package/dist/ui/meter.d.ts +29 -0
- package/dist/ui/meter.js +19 -0
- package/dist/ui/navigation-menu.d.ts +12 -0
- package/dist/ui/navigation-menu.js +15 -0
- package/dist/ui/number-field.d.ts +41 -0
- package/dist/ui/number-field.js +33 -0
- package/dist/ui/pagination.d.ts +38 -0
- package/dist/ui/pagination.js +20 -0
- package/dist/ui/pill.d.ts +49 -0
- package/dist/ui/pill.js +21 -0
- package/dist/ui/popover.d.ts +37 -0
- package/dist/ui/popover.js +19 -0
- package/dist/ui/portal.d.ts +29 -0
- package/dist/ui/portal.js +52 -0
- package/dist/ui/progress.d.ts +31 -0
- package/dist/ui/progress.js +22 -0
- package/dist/ui/qr-code.d.ts +20 -0
- package/dist/ui/qr-code.js +78 -0
- package/dist/ui/radio-group.d.ts +18 -0
- package/dist/ui/radio-group.js +15 -0
- package/dist/ui/rating.d.ts +80 -0
- package/dist/ui/rating.js +59 -0
- package/dist/ui/resizable.d.ts +25 -0
- package/dist/ui/resizable.js +18 -0
- package/dist/ui/scroll-area.d.ts +19 -0
- package/dist/ui/scroll-area.js +24 -0
- package/dist/ui/select.d.ts +65 -0
- package/dist/ui/select.js +23 -0
- package/dist/ui/separator.d.ts +12 -0
- package/dist/ui/separator.js +14 -0
- package/dist/ui/sheet.d.ts +54 -0
- package/dist/ui/sheet.js +23 -0
- package/dist/ui/sidebar.d.ts +247 -0
- package/dist/ui/sidebar.js +83 -0
- package/dist/ui/skeleton.d.ts +11 -0
- package/dist/ui/skeleton.js +12 -0
- package/dist/ui/slider.d.ts +15 -0
- package/dist/ui/slider.js +47 -0
- package/dist/ui/spacer.d.ts +18 -0
- package/dist/ui/spacer.js +25 -0
- package/dist/ui/spinner.d.ts +12 -0
- package/dist/ui/spinner.js +17 -0
- package/dist/ui/surface.d.ts +41 -0
- package/dist/ui/surface.js +31 -0
- package/dist/ui/switch.d.ts +14 -0
- package/dist/ui/switch.js +20 -0
- package/dist/ui/table.d.ts +41 -0
- package/dist/ui/table.js +34 -0
- package/dist/ui/tabs.d.ts +43 -0
- package/dist/ui/tabs.js +20 -0
- package/dist/ui/textarea.d.ts +13 -0
- package/dist/ui/textarea.js +14 -0
- package/dist/ui/theme-icon.d.ts +77 -0
- package/dist/ui/theme-icon.js +56 -0
- package/dist/ui/timeline.d.ts +96 -0
- package/dist/ui/timeline.js +88 -0
- package/dist/ui/toast.d.ts +50 -0
- package/dist/ui/toast.js +23 -0
- package/dist/ui/toggle-group.d.ts +31 -0
- package/dist/ui/toggle-group.js +31 -0
- package/dist/ui/toggle.d.ts +46 -0
- package/dist/ui/toggle.js +34 -0
- package/dist/ui/toolbar.d.ts +33 -0
- package/dist/ui/toolbar.js +19 -0
- package/dist/ui/tooltip.d.ts +29 -0
- package/dist/ui/tooltip.js +17 -0
- package/dist/ui/video-player.d.ts +48 -0
- package/dist/ui/video-player.js +37 -0
- package/dist/use-chart-BRpzPrMJ.d.ts +77 -0
- package/dist/use-combobox-anchor-2KUf_cBk.js +198 -0
- package/dist/use-combobox-anchor-ByuqnpKH.d.ts +120 -0
- package/dist/use-number-field-Dzl9JLNK.d.ts +55 -0
- package/dist/use-timeline-BRlmxoQ7.d.ts +81 -0
- package/dist/use-toast-BGG4leSx.d.ts +118 -0
- package/dist/use-toast-DjRKuQG6.js +129 -0
- package/dist/video-player-volume-range-D971L6mz.d.ts +65 -0
- package/dist/video-player-volume-range-V7x0b1-r.js +66 -0
- package/package.json +128 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import "../accordion-trigger-D5XnBMS6.js";
|
|
2
|
+
import "../alert-title-CVC9G-Xf.js";
|
|
3
|
+
import "../announcement-title-CCZuGB1O.js";
|
|
4
|
+
import "../autocomplete-value-BhyszIrf.js";
|
|
5
|
+
import "../avatar-image-BKgKyzVw.js";
|
|
6
|
+
import "../breadcrumb-separator-D66-B1DA.js";
|
|
7
|
+
import { ButtonProps } from "./button.js";
|
|
8
|
+
import { _t as CarouselItem, ft as CarouselApi, gt as CarouselNext, ht as CarouselPrevious, mt as useCarousel, pt as CarouselProps, vt as CarouselContent } from "../alert-dialog-trigger-BV0BsaVU.js";
|
|
9
|
+
import "../calendar-week-number-in2gpvA_.js";
|
|
10
|
+
import "../card-title-DSDluDoy.js";
|
|
11
|
+
import "../use-chart-BRpzPrMJ.js";
|
|
12
|
+
import "../collapsible-trigger-aZF7_mPR.js";
|
|
13
|
+
import "../use-combobox-anchor-ByuqnpKH.js";
|
|
14
|
+
import "../dialog-trigger-xeE4e96-.js";
|
|
15
|
+
import "../context-menu-trigger-Du2vcTco.js";
|
|
16
|
+
import "../drawer-trigger-H_Wv5R00.js";
|
|
17
|
+
import "../dropdown-menu-trigger-CFdruqOk.js";
|
|
18
|
+
import "../dropzone-context-BRX1K7nw.js";
|
|
19
|
+
import "../emoji-picker-skin-tone-selector-yMYxt4oJ.js";
|
|
20
|
+
import "../empty-title-CH3DhcfT.js";
|
|
21
|
+
import "../hover-card-trigger-BqVoZ7h4.js";
|
|
22
|
+
import "../input-otp-slot-eVdOjx8C.js";
|
|
23
|
+
import "../kbd-group-D3yVrb2D.js";
|
|
24
|
+
import "../marquee-item-DD6JuLJ4.js";
|
|
25
|
+
import "../menubar-trigger-BLg3XdRv.js";
|
|
26
|
+
import "../meter-value-DYkZLCtx.js";
|
|
27
|
+
import "../navigation-menu-trigger-Bf60DnIz.js";
|
|
28
|
+
import "../use-number-field-Dzl9JLNK.js";
|
|
29
|
+
import "../pagination-previous-qJeZZTou.js";
|
|
30
|
+
import "../pill-status-rg-3AMSI.js";
|
|
31
|
+
import "../popover-trigger-B9PVErig.js";
|
|
32
|
+
import "../progress-value-CFlgP0nv.js";
|
|
33
|
+
import "../radio-group-item-09fw05Va.js";
|
|
34
|
+
import "../rating-star-6ov3lbpn.js";
|
|
35
|
+
import "../resizable-panel-B4lAr8Vb.js";
|
|
36
|
+
import "../scroll-bar-vYvxEOph.js";
|
|
37
|
+
import "../select-value-DG31IHy3.js";
|
|
38
|
+
import "../sheet-trigger-CLgKANrf.js";
|
|
39
|
+
import "../tooltip-trigger-CrAGfaqr.js";
|
|
40
|
+
import "../table-row-BxhKJPfE.js";
|
|
41
|
+
import "../tabs-trigger-BGo2XGvh.js";
|
|
42
|
+
import "../use-timeline-BRlmxoQ7.js";
|
|
43
|
+
import "../use-toast-BGG4leSx.js";
|
|
44
|
+
import "../toggle-group-item-Bz_ohmnY.js";
|
|
45
|
+
import "../toolbar-separator-7CgKz2aX.js";
|
|
46
|
+
import "../video-player-volume-range-D971L6mz.js";
|
|
47
|
+
import "../index.js";
|
|
48
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
49
|
+
import { ComponentProps } from "react";
|
|
50
|
+
|
|
51
|
+
//#region src/components/carousel/carousel.d.ts
|
|
52
|
+
declare const Carousel: {
|
|
53
|
+
({
|
|
54
|
+
orientation,
|
|
55
|
+
opts,
|
|
56
|
+
setApi,
|
|
57
|
+
plugins,
|
|
58
|
+
className,
|
|
59
|
+
children,
|
|
60
|
+
...props
|
|
61
|
+
}: ComponentProps<"div"> & CarouselProps): react_jsx_runtime0.JSX.Element;
|
|
62
|
+
Content: ({
|
|
63
|
+
className,
|
|
64
|
+
...props
|
|
65
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
66
|
+
Item: ({
|
|
67
|
+
className,
|
|
68
|
+
...props
|
|
69
|
+
}: ComponentProps<"div">) => react_jsx_runtime0.JSX.Element;
|
|
70
|
+
Next: ({
|
|
71
|
+
className,
|
|
72
|
+
variant,
|
|
73
|
+
size,
|
|
74
|
+
...props
|
|
75
|
+
}: ComponentProps<({
|
|
76
|
+
className,
|
|
77
|
+
variant,
|
|
78
|
+
size,
|
|
79
|
+
isLoading,
|
|
80
|
+
children,
|
|
81
|
+
disabled,
|
|
82
|
+
...props
|
|
83
|
+
}: ButtonProps) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
84
|
+
Previous: ({
|
|
85
|
+
className,
|
|
86
|
+
variant,
|
|
87
|
+
size,
|
|
88
|
+
...props
|
|
89
|
+
}: ComponentProps<({
|
|
90
|
+
className,
|
|
91
|
+
variant,
|
|
92
|
+
size,
|
|
93
|
+
isLoading,
|
|
94
|
+
children,
|
|
95
|
+
disabled,
|
|
96
|
+
...props
|
|
97
|
+
}: ButtonProps) => react_jsx_runtime0.JSX.Element>) => react_jsx_runtime0.JSX.Element;
|
|
98
|
+
};
|
|
99
|
+
//#endregion
|
|
100
|
+
export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, useCarousel };
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { a as CarouselContext, i as CarouselContent, n as CarouselNext, o as useCarousel, r as CarouselItem, t as CarouselPrevious } from "../carousel-previous-B_jysGv_.js";
|
|
2
|
+
import { cn } from "tailwind-variants";
|
|
3
|
+
import { jsx } from "react/jsx-runtime";
|
|
4
|
+
import { useCallback, useEffect, useState } from "react";
|
|
5
|
+
import useEmblaCarousel from "embla-carousel-react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/carousel/carousel.tsx
|
|
8
|
+
const Carousel = ({ orientation = "horizontal", opts, setApi, plugins, className, children, ...props }) => {
|
|
9
|
+
const [carouselRef, api] = useEmblaCarousel({
|
|
10
|
+
...opts,
|
|
11
|
+
axis: orientation === "horizontal" ? "x" : "y"
|
|
12
|
+
}, plugins);
|
|
13
|
+
const [canScrollPrev, setCanScrollPrev] = useState(false);
|
|
14
|
+
const [canScrollNext, setCanScrollNext] = useState(false);
|
|
15
|
+
const onSelect = useCallback((emblaApi) => {
|
|
16
|
+
if (!emblaApi) return;
|
|
17
|
+
setCanScrollPrev(emblaApi.canScrollPrev());
|
|
18
|
+
setCanScrollNext(emblaApi.canScrollNext());
|
|
19
|
+
}, []);
|
|
20
|
+
const scrollPrev = useCallback(() => {
|
|
21
|
+
api?.scrollPrev();
|
|
22
|
+
}, [api]);
|
|
23
|
+
const scrollNext = useCallback(() => {
|
|
24
|
+
api?.scrollNext();
|
|
25
|
+
}, [api]);
|
|
26
|
+
const handleKeyDown = useCallback((event) => {
|
|
27
|
+
if (event.key === "ArrowLeft") {
|
|
28
|
+
event.preventDefault();
|
|
29
|
+
scrollPrev();
|
|
30
|
+
} else if (event.key === "ArrowRight") {
|
|
31
|
+
event.preventDefault();
|
|
32
|
+
scrollNext();
|
|
33
|
+
}
|
|
34
|
+
}, [scrollPrev, scrollNext]);
|
|
35
|
+
useEffect(() => {
|
|
36
|
+
if (!(api && setApi)) return;
|
|
37
|
+
setApi(api);
|
|
38
|
+
}, [api, setApi]);
|
|
39
|
+
useEffect(() => {
|
|
40
|
+
if (!api) return;
|
|
41
|
+
onSelect(api);
|
|
42
|
+
api.on("reInit", onSelect);
|
|
43
|
+
api.on("select", onSelect);
|
|
44
|
+
return () => {
|
|
45
|
+
api?.off("select", onSelect);
|
|
46
|
+
};
|
|
47
|
+
}, [api, onSelect]);
|
|
48
|
+
return /* @__PURE__ */ jsx(CarouselContext.Provider, {
|
|
49
|
+
value: {
|
|
50
|
+
carouselRef,
|
|
51
|
+
api,
|
|
52
|
+
opts,
|
|
53
|
+
orientation: orientation || (opts?.axis === "y" ? "vertical" : "horizontal"),
|
|
54
|
+
scrollPrev,
|
|
55
|
+
scrollNext,
|
|
56
|
+
canScrollPrev,
|
|
57
|
+
canScrollNext
|
|
58
|
+
},
|
|
59
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
60
|
+
"aria-roledescription": "carousel",
|
|
61
|
+
className: cn("relative", className),
|
|
62
|
+
"data-slot": "carousel",
|
|
63
|
+
onKeyDownCapture: handleKeyDown,
|
|
64
|
+
role: "region",
|
|
65
|
+
...props,
|
|
66
|
+
children
|
|
67
|
+
})
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
Carousel.Content = CarouselContent;
|
|
71
|
+
Carousel.Item = CarouselItem;
|
|
72
|
+
Carousel.Next = CarouselNext;
|
|
73
|
+
Carousel.Previous = CarouselPrevious;
|
|
74
|
+
|
|
75
|
+
//#endregion
|
|
76
|
+
export { Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, useCarousel };
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { a as ChartLegendContent, i as ChartStyle, n as ChartTooltipContent, o as ChartLegend, r as ChartTooltip, s as ChartConfig, t as useChart } from "../use-chart-BRpzPrMJ.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { ComponentProps } from "react";
|
|
4
|
+
import * as recharts from "recharts";
|
|
5
|
+
import { ResponsiveContainer } from "recharts";
|
|
6
|
+
|
|
7
|
+
//#region src/components/chart/chart.d.ts
|
|
8
|
+
declare const ChartContainer: {
|
|
9
|
+
({
|
|
10
|
+
id,
|
|
11
|
+
className,
|
|
12
|
+
children,
|
|
13
|
+
config,
|
|
14
|
+
...props
|
|
15
|
+
}: ComponentProps<"div"> & {
|
|
16
|
+
config: ChartConfig;
|
|
17
|
+
children: ComponentProps<typeof ResponsiveContainer>["children"];
|
|
18
|
+
}): react_jsx_runtime0.JSX.Element;
|
|
19
|
+
Legend: typeof recharts.Legend;
|
|
20
|
+
LegendContent: ({
|
|
21
|
+
className,
|
|
22
|
+
hideIcon,
|
|
23
|
+
payload,
|
|
24
|
+
verticalAlign,
|
|
25
|
+
nameKey
|
|
26
|
+
}: ComponentProps<"div"> & Pick<ComponentProps<typeof recharts.Legend>, "payload" | "verticalAlign"> & {
|
|
27
|
+
hideIcon?: boolean;
|
|
28
|
+
nameKey?: string;
|
|
29
|
+
}) => react_jsx_runtime0.JSX.Element | null;
|
|
30
|
+
Style: ({
|
|
31
|
+
id,
|
|
32
|
+
config
|
|
33
|
+
}: {
|
|
34
|
+
id: string;
|
|
35
|
+
config: ChartConfig;
|
|
36
|
+
}) => react_jsx_runtime0.JSX.Element | null;
|
|
37
|
+
Tooltip: typeof recharts.Tooltip;
|
|
38
|
+
TooltipContent: ({
|
|
39
|
+
active,
|
|
40
|
+
payload,
|
|
41
|
+
className,
|
|
42
|
+
indicator,
|
|
43
|
+
hideLabel,
|
|
44
|
+
hideIndicator,
|
|
45
|
+
label,
|
|
46
|
+
labelFormatter,
|
|
47
|
+
labelClassName,
|
|
48
|
+
formatter,
|
|
49
|
+
color,
|
|
50
|
+
nameKey,
|
|
51
|
+
labelKey
|
|
52
|
+
}: ComponentProps<typeof recharts.Tooltip> & ComponentProps<"div"> & {
|
|
53
|
+
hideLabel?: boolean;
|
|
54
|
+
hideIndicator?: boolean;
|
|
55
|
+
indicator?: "line" | "dot" | "dashed";
|
|
56
|
+
nameKey?: string;
|
|
57
|
+
labelKey?: string;
|
|
58
|
+
}) => react_jsx_runtime0.JSX.Element | null;
|
|
59
|
+
};
|
|
60
|
+
//#endregion
|
|
61
|
+
export { type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, useChart };
|
package/dist/ui/chart.js
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { a as ChartContext, i as ChartLegendContent, n as ChartTooltip, o as useChart, r as ChartStyle, s as ChartLegend, t as ChartTooltipContent } from "../chart-tooltip-content-h5oLtil-.js";
|
|
4
|
+
import { cn } from "tailwind-variants";
|
|
5
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import { useId } from "react";
|
|
7
|
+
import { ResponsiveContainer } from "recharts";
|
|
8
|
+
|
|
9
|
+
//#region src/components/chart/chart.tsx
|
|
10
|
+
const ChartContainer = ({ id, className, children, config, ...props }) => {
|
|
11
|
+
const uniqueId = useId();
|
|
12
|
+
const chartId = `chart-${id || uniqueId.replaceAll(":", "")}`;
|
|
13
|
+
return /* @__PURE__ */ jsx(ChartContext.Provider, {
|
|
14
|
+
value: { config },
|
|
15
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
16
|
+
className: cn("flex aspect-video justify-center text-xs [&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border [&_.recharts-dot[stroke='#fff']]:stroke-transparent [&_.recharts-layer]:outline-hidden [&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border [&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-sector]:outline-hidden [&_.recharts-surface]:outline-hidden", className),
|
|
17
|
+
"data-chart": chartId,
|
|
18
|
+
"data-slot": "chart",
|
|
19
|
+
...props,
|
|
20
|
+
children: [/* @__PURE__ */ jsx(ChartStyle, {
|
|
21
|
+
config,
|
|
22
|
+
id: chartId
|
|
23
|
+
}), /* @__PURE__ */ jsx(ResponsiveContainer, { children })]
|
|
24
|
+
})
|
|
25
|
+
});
|
|
26
|
+
};
|
|
27
|
+
ChartContainer.Legend = ChartLegend;
|
|
28
|
+
ChartContainer.LegendContent = ChartLegendContent;
|
|
29
|
+
ChartContainer.Style = ChartStyle;
|
|
30
|
+
ChartContainer.Tooltip = ChartTooltip;
|
|
31
|
+
ChartContainer.TooltipContent = ChartTooltipContent;
|
|
32
|
+
|
|
33
|
+
//#endregion
|
|
34
|
+
export { ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, useChart };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { ComponentProps } from "react";
|
|
3
|
+
import { CheckboxGroup as CheckboxGroup$1 } from "@base-ui/react/checkbox-group";
|
|
4
|
+
|
|
5
|
+
//#region src/components/checkbox-group/checkbox-group.d.ts
|
|
6
|
+
type CheckboxGroupProps = ComponentProps<typeof CheckboxGroup$1>;
|
|
7
|
+
declare const CheckboxGroup: ({
|
|
8
|
+
className,
|
|
9
|
+
...props
|
|
10
|
+
}: CheckboxGroupProps) => react_jsx_runtime0.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { CheckboxGroup, CheckboxGroupProps };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { cn } from "tailwind-variants";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { CheckboxGroup as CheckboxGroup$1 } from "@base-ui/react/checkbox-group";
|
|
4
|
+
|
|
5
|
+
//#region src/components/checkbox-group/checkbox-group.tsx
|
|
6
|
+
const CheckboxGroup = ({ className, ...props }) => /* @__PURE__ */ jsx(CheckboxGroup$1, {
|
|
7
|
+
className: cn("flex flex-col items-start gap-1", className),
|
|
8
|
+
"data-slot": "checkbox-group",
|
|
9
|
+
...props
|
|
10
|
+
});
|
|
11
|
+
|
|
12
|
+
//#endregion
|
|
13
|
+
export { CheckboxGroup };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
3
|
+
|
|
4
|
+
//#region src/components/checkbox/checkbox.d.ts
|
|
5
|
+
type CheckboxProps = Checkbox$1.Root.Props;
|
|
6
|
+
declare const Checkbox: ({
|
|
7
|
+
className,
|
|
8
|
+
indeterminate,
|
|
9
|
+
...props
|
|
10
|
+
}: CheckboxProps) => react_jsx_runtime0.JSX.Element;
|
|
11
|
+
//#endregion
|
|
12
|
+
export { Checkbox, CheckboxProps };
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { cn } from "tailwind-variants";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { MinusSignIcon, Tick02Icon } from "@hugeicons/core-free-icons";
|
|
4
|
+
import { HugeiconsIcon } from "@hugeicons/react";
|
|
5
|
+
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
6
|
+
|
|
7
|
+
//#region src/components/checkbox/checkbox.tsx
|
|
8
|
+
const Checkbox = ({ className, indeterminate, ...props }) => /* @__PURE__ */ jsx(Checkbox$1.Root, {
|
|
9
|
+
className: cn("peer relative flex size-4 shrink-0 cursor-pointer items-center justify-center rounded-[4px] border border-input shadow-xs outline-none transition-colors after:absolute after:-inset-x-3 after:-inset-y-2 focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 group-has-disabled/field:opacity-50 aria-invalid:border-destructive aria-invalid:ring-[3px] aria-invalid:ring-destructive/20 aria-invalid:aria-checked:border-primary data-checked:border-primary data-indeterminate:border-primary data-checked:bg-primary data-indeterminate:bg-primary data-checked:text-primary-foreground data-indeterminate:text-primary-foreground dark:bg-input/30 dark:data-checked:bg-primary dark:data-indeterminate:bg-primary dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", className),
|
|
10
|
+
"data-slot": "checkbox",
|
|
11
|
+
indeterminate,
|
|
12
|
+
...props,
|
|
13
|
+
children: /* @__PURE__ */ jsx(Checkbox$1.Indicator, {
|
|
14
|
+
className: "grid place-content-center text-current transition-none [&>svg]:size-3.5",
|
|
15
|
+
"data-slot": "checkbox-indicator",
|
|
16
|
+
children: indeterminate ? /* @__PURE__ */ jsx(HugeiconsIcon, {
|
|
17
|
+
icon: MinusSignIcon,
|
|
18
|
+
strokeWidth: 2
|
|
19
|
+
}) : /* @__PURE__ */ jsx(HugeiconsIcon, {
|
|
20
|
+
icon: Tick02Icon,
|
|
21
|
+
strokeWidth: 2
|
|
22
|
+
})
|
|
23
|
+
})
|
|
24
|
+
});
|
|
25
|
+
|
|
26
|
+
//#endregion
|
|
27
|
+
export { Checkbox };
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { n as CollapsibleContent, t as CollapsibleTrigger } from "../collapsible-trigger-aZF7_mPR.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
|
|
4
|
+
|
|
5
|
+
//#region src/components/collapsible/collapsible.d.ts
|
|
6
|
+
declare const Collapsible: {
|
|
7
|
+
({
|
|
8
|
+
...props
|
|
9
|
+
}: Collapsible$1.Root.Props): react_jsx_runtime0.JSX.Element;
|
|
10
|
+
Content: ({
|
|
11
|
+
...props
|
|
12
|
+
}: Collapsible$1.Panel.Props) => react_jsx_runtime0.JSX.Element;
|
|
13
|
+
Trigger: ({
|
|
14
|
+
className,
|
|
15
|
+
...props
|
|
16
|
+
}: Collapsible$1.Trigger.Props) => react_jsx_runtime0.JSX.Element;
|
|
17
|
+
};
|
|
18
|
+
//#endregion
|
|
19
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { n as CollapsibleContent, t as CollapsibleTrigger } from "../collapsible-trigger-DcQWODN-.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
|
|
6
|
+
|
|
7
|
+
//#region src/components/collapsible/collapsible.tsx
|
|
8
|
+
const Collapsible = ({ ...props }) => /* @__PURE__ */ jsx(Collapsible$1.Root, {
|
|
9
|
+
"data-slot": "collapsible",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
Collapsible.Content = CollapsibleContent;
|
|
13
|
+
Collapsible.Trigger = CollapsibleTrigger;
|
|
14
|
+
|
|
15
|
+
//#endregion
|
|
16
|
+
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { _ as ComboboxChip, a as ComboboxList, c as ComboboxInput, d as ComboboxContent, f as ComboboxCollection, g as ComboboxChipRemove, h as ComboboxChips, i as ComboboxSeparator, l as ComboboxGroup, m as ComboboxChipsInput, n as ComboboxValue, o as ComboboxLabel, p as ComboboxClear, r as ComboboxTrigger, s as ComboboxItem, t as useComboboxAnchor, u as ComboboxEmpty } from "../use-combobox-anchor-ByuqnpKH.js";
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
|
+
import * as react from "react";
|
|
4
|
+
import { ComponentProps } from "react";
|
|
5
|
+
import { Combobox as Combobox$1 } from "@base-ui/react/combobox";
|
|
6
|
+
|
|
7
|
+
//#region src/components/combobox/combobox.d.ts
|
|
8
|
+
type ComboboxProps<ItemValue, Multiple extends boolean | undefined = false> = ComponentProps<typeof Combobox$1.Root<ItemValue, Multiple>>;
|
|
9
|
+
declare const Combobox: {
|
|
10
|
+
<ItemValue, Multiple extends boolean | undefined = false>({
|
|
11
|
+
...props
|
|
12
|
+
}: ComboboxProps<ItemValue, Multiple>): react_jsx_runtime0.JSX.Element;
|
|
13
|
+
Chip: ({
|
|
14
|
+
className,
|
|
15
|
+
children,
|
|
16
|
+
showRemove,
|
|
17
|
+
...props
|
|
18
|
+
}: Combobox$1.Chip.Props & {
|
|
19
|
+
showRemove?: boolean;
|
|
20
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
21
|
+
ChipRemove: ({
|
|
22
|
+
...props
|
|
23
|
+
}: Combobox$1.ChipRemove.Props) => react_jsx_runtime0.JSX.Element;
|
|
24
|
+
Chips: ({
|
|
25
|
+
className,
|
|
26
|
+
...props
|
|
27
|
+
}: react.ComponentPropsWithRef<typeof Combobox$1.Chips> & Combobox$1.Chips.Props) => react_jsx_runtime0.JSX.Element;
|
|
28
|
+
ChipsInput: ({
|
|
29
|
+
className,
|
|
30
|
+
...props
|
|
31
|
+
}: Combobox$1.Input.Props) => react_jsx_runtime0.JSX.Element;
|
|
32
|
+
Clear: ({
|
|
33
|
+
className,
|
|
34
|
+
...props
|
|
35
|
+
}: Combobox$1.Clear.Props) => react_jsx_runtime0.JSX.Element;
|
|
36
|
+
Collection: ({
|
|
37
|
+
...props
|
|
38
|
+
}: Combobox$1.Collection.Props) => react_jsx_runtime0.JSX.Element;
|
|
39
|
+
Content: ({
|
|
40
|
+
className,
|
|
41
|
+
side,
|
|
42
|
+
sideOffset,
|
|
43
|
+
align,
|
|
44
|
+
alignOffset,
|
|
45
|
+
anchor,
|
|
46
|
+
...props
|
|
47
|
+
}: Combobox$1.Popup.Props & Pick<Combobox$1.Positioner.Props, "side" | "align" | "sideOffset" | "alignOffset" | "anchor">) => react_jsx_runtime0.JSX.Element;
|
|
48
|
+
Empty: ({
|
|
49
|
+
className,
|
|
50
|
+
...props
|
|
51
|
+
}: Combobox$1.Empty.Props) => react_jsx_runtime0.JSX.Element;
|
|
52
|
+
Group: ({
|
|
53
|
+
className,
|
|
54
|
+
...props
|
|
55
|
+
}: Combobox$1.Group.Props) => react_jsx_runtime0.JSX.Element;
|
|
56
|
+
Input: ({
|
|
57
|
+
className,
|
|
58
|
+
children,
|
|
59
|
+
disabled,
|
|
60
|
+
showTrigger,
|
|
61
|
+
showClear,
|
|
62
|
+
...props
|
|
63
|
+
}: Combobox$1.Input.Props & {
|
|
64
|
+
showTrigger?: boolean;
|
|
65
|
+
showClear?: boolean;
|
|
66
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
67
|
+
Item: ({
|
|
68
|
+
className,
|
|
69
|
+
children,
|
|
70
|
+
...props
|
|
71
|
+
}: Combobox$1.Item.Props) => react_jsx_runtime0.JSX.Element;
|
|
72
|
+
Label: ({
|
|
73
|
+
className,
|
|
74
|
+
...props
|
|
75
|
+
}: Combobox$1.GroupLabel.Props) => react_jsx_runtime0.JSX.Element;
|
|
76
|
+
List: ({
|
|
77
|
+
className,
|
|
78
|
+
...props
|
|
79
|
+
}: Combobox$1.List.Props) => react_jsx_runtime0.JSX.Element;
|
|
80
|
+
Separator: ({
|
|
81
|
+
className,
|
|
82
|
+
...props
|
|
83
|
+
}: Combobox$1.Separator.Props) => react_jsx_runtime0.JSX.Element;
|
|
84
|
+
Trigger: ({
|
|
85
|
+
className,
|
|
86
|
+
children,
|
|
87
|
+
...props
|
|
88
|
+
}: Combobox$1.Trigger.Props) => react_jsx_runtime0.JSX.Element;
|
|
89
|
+
Value: ({
|
|
90
|
+
...props
|
|
91
|
+
}: Combobox$1.Value.Props) => react_jsx_runtime0.JSX.Element;
|
|
92
|
+
};
|
|
93
|
+
declare const useFilter: typeof Combobox$1.useFilter;
|
|
94
|
+
//#endregion
|
|
95
|
+
export { Combobox, ComboboxChip, ComboboxChipRemove, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxProps, ComboboxSeparator, ComboboxTrigger, ComboboxValue, useComboboxAnchor, useFilter };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { _ as ComboboxChipRemove, a as ComboboxLabel, c as ComboboxTrigger, d as ComboboxContent, f as ComboboxCollection, g as ComboboxChip, h as ComboboxChips, i as ComboboxList, l as ComboboxGroup, m as ComboboxChipsInput, n as ComboboxValue, o as ComboboxItem, p as ComboboxClear, r as ComboboxSeparator, s as ComboboxInput, t as useComboboxAnchor, u as ComboboxEmpty } from "../use-combobox-anchor-2KUf_cBk.js";
|
|
4
|
+
import { jsx } from "react/jsx-runtime";
|
|
5
|
+
import { Combobox as Combobox$1 } from "@base-ui/react/combobox";
|
|
6
|
+
|
|
7
|
+
//#region src/components/combobox/combobox.tsx
|
|
8
|
+
const Combobox = ({ ...props }) => /* @__PURE__ */ jsx(Combobox$1.Root, {
|
|
9
|
+
"data-slot": "combobox",
|
|
10
|
+
...props
|
|
11
|
+
});
|
|
12
|
+
Combobox.Chip = ComboboxChip;
|
|
13
|
+
Combobox.ChipRemove = ComboboxChipRemove;
|
|
14
|
+
Combobox.Chips = ComboboxChips;
|
|
15
|
+
Combobox.ChipsInput = ComboboxChipsInput;
|
|
16
|
+
Combobox.Clear = ComboboxClear;
|
|
17
|
+
Combobox.Collection = ComboboxCollection;
|
|
18
|
+
Combobox.Content = ComboboxContent;
|
|
19
|
+
Combobox.Empty = ComboboxEmpty;
|
|
20
|
+
Combobox.Group = ComboboxGroup;
|
|
21
|
+
Combobox.Input = ComboboxInput;
|
|
22
|
+
Combobox.Item = ComboboxItem;
|
|
23
|
+
Combobox.Label = ComboboxLabel;
|
|
24
|
+
Combobox.List = ComboboxList;
|
|
25
|
+
Combobox.Separator = ComboboxSeparator;
|
|
26
|
+
Combobox.Trigger = ComboboxTrigger;
|
|
27
|
+
Combobox.Value = ComboboxValue;
|
|
28
|
+
const { useFilter } = Combobox$1;
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { Combobox, ComboboxChip, ComboboxChipRemove, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, useComboboxAnchor, useFilter };
|
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
import "../accordion-trigger-D5XnBMS6.js";
|
|
2
|
+
import "../alert-title-CVC9G-Xf.js";
|
|
3
|
+
import "../announcement-title-CCZuGB1O.js";
|
|
4
|
+
import "../autocomplete-value-BhyszIrf.js";
|
|
5
|
+
import "../avatar-image-BKgKyzVw.js";
|
|
6
|
+
import "../breadcrumb-separator-D66-B1DA.js";
|
|
7
|
+
import { at as CommandSeparator, ct as CommandInput, dt as CommandDialog, it as CommandShortcut, lt as CommandGroup, ot as CommandList, st as CommandItem, ut as CommandEmpty } from "../alert-dialog-trigger-BV0BsaVU.js";
|
|
8
|
+
import "../calendar-week-number-in2gpvA_.js";
|
|
9
|
+
import "../card-title-DSDluDoy.js";
|
|
10
|
+
import "../use-chart-BRpzPrMJ.js";
|
|
11
|
+
import "../collapsible-trigger-aZF7_mPR.js";
|
|
12
|
+
import "../use-combobox-anchor-ByuqnpKH.js";
|
|
13
|
+
import { c as DialogOverlayProps, f as DialogFooterProps, g as DialogContentProps, i as DialogTitleProps, m as DialogDescriptionProps, n as DialogTriggerProps, o as DialogPortalProps, u as DialogHeaderProps, v as DialogCloseProps } from "../dialog-trigger-xeE4e96-.js";
|
|
14
|
+
import { DialogProps } from "./dialog.js";
|
|
15
|
+
import "../context-menu-trigger-Du2vcTco.js";
|
|
16
|
+
import "../drawer-trigger-H_Wv5R00.js";
|
|
17
|
+
import "../dropdown-menu-trigger-CFdruqOk.js";
|
|
18
|
+
import "../dropzone-context-BRX1K7nw.js";
|
|
19
|
+
import "../emoji-picker-skin-tone-selector-yMYxt4oJ.js";
|
|
20
|
+
import "../empty-title-CH3DhcfT.js";
|
|
21
|
+
import "../hover-card-trigger-BqVoZ7h4.js";
|
|
22
|
+
import "../input-otp-slot-eVdOjx8C.js";
|
|
23
|
+
import "../kbd-group-D3yVrb2D.js";
|
|
24
|
+
import "../marquee-item-DD6JuLJ4.js";
|
|
25
|
+
import "../menubar-trigger-BLg3XdRv.js";
|
|
26
|
+
import "../meter-value-DYkZLCtx.js";
|
|
27
|
+
import "../navigation-menu-trigger-Bf60DnIz.js";
|
|
28
|
+
import "../use-number-field-Dzl9JLNK.js";
|
|
29
|
+
import "../pagination-previous-qJeZZTou.js";
|
|
30
|
+
import "../pill-status-rg-3AMSI.js";
|
|
31
|
+
import "../popover-trigger-B9PVErig.js";
|
|
32
|
+
import "../progress-value-CFlgP0nv.js";
|
|
33
|
+
import "../radio-group-item-09fw05Va.js";
|
|
34
|
+
import "../rating-star-6ov3lbpn.js";
|
|
35
|
+
import "../resizable-panel-B4lAr8Vb.js";
|
|
36
|
+
import "../scroll-bar-vYvxEOph.js";
|
|
37
|
+
import "../select-value-DG31IHy3.js";
|
|
38
|
+
import "../sheet-trigger-CLgKANrf.js";
|
|
39
|
+
import "../tooltip-trigger-CrAGfaqr.js";
|
|
40
|
+
import "../table-row-BxhKJPfE.js";
|
|
41
|
+
import "../tabs-trigger-BGo2XGvh.js";
|
|
42
|
+
import "../use-timeline-BRlmxoQ7.js";
|
|
43
|
+
import "../use-toast-BGG4leSx.js";
|
|
44
|
+
import "../toggle-group-item-Bz_ohmnY.js";
|
|
45
|
+
import "../toolbar-separator-7CgKz2aX.js";
|
|
46
|
+
import "../video-player-volume-range-D971L6mz.js";
|
|
47
|
+
import "../index.js";
|
|
48
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
49
|
+
import * as react from "react";
|
|
50
|
+
import { ComponentProps } from "react";
|
|
51
|
+
import { Command as Command$1 } from "cmdk";
|
|
52
|
+
|
|
53
|
+
//#region src/components/command/command.d.ts
|
|
54
|
+
declare const Command: {
|
|
55
|
+
({
|
|
56
|
+
className,
|
|
57
|
+
...props
|
|
58
|
+
}: ComponentProps<typeof Command$1>): react_jsx_runtime0.JSX.Element;
|
|
59
|
+
Dialog: ({
|
|
60
|
+
title,
|
|
61
|
+
description,
|
|
62
|
+
children,
|
|
63
|
+
className,
|
|
64
|
+
showCloseButton,
|
|
65
|
+
...props
|
|
66
|
+
}: Omit<ComponentProps<{
|
|
67
|
+
({
|
|
68
|
+
...props
|
|
69
|
+
}: DialogProps): react_jsx_runtime0.JSX.Element;
|
|
70
|
+
Close: ({
|
|
71
|
+
...props
|
|
72
|
+
}: DialogCloseProps) => react_jsx_runtime0.JSX.Element;
|
|
73
|
+
Content: ({
|
|
74
|
+
className,
|
|
75
|
+
children,
|
|
76
|
+
showCloseButton,
|
|
77
|
+
...props
|
|
78
|
+
}: DialogContentProps) => react_jsx_runtime0.JSX.Element;
|
|
79
|
+
Description: ({
|
|
80
|
+
className,
|
|
81
|
+
...props
|
|
82
|
+
}: DialogDescriptionProps) => react_jsx_runtime0.JSX.Element;
|
|
83
|
+
Footer: ({
|
|
84
|
+
className,
|
|
85
|
+
showCloseButton,
|
|
86
|
+
children,
|
|
87
|
+
...props
|
|
88
|
+
}: DialogFooterProps) => react_jsx_runtime0.JSX.Element;
|
|
89
|
+
Header: ({
|
|
90
|
+
className,
|
|
91
|
+
...props
|
|
92
|
+
}: DialogHeaderProps) => react_jsx_runtime0.JSX.Element;
|
|
93
|
+
Overlay: ({
|
|
94
|
+
className,
|
|
95
|
+
...props
|
|
96
|
+
}: DialogOverlayProps) => react_jsx_runtime0.JSX.Element;
|
|
97
|
+
Portal: ({
|
|
98
|
+
...props
|
|
99
|
+
}: DialogPortalProps) => react_jsx_runtime0.JSX.Element;
|
|
100
|
+
Title: ({
|
|
101
|
+
className,
|
|
102
|
+
...props
|
|
103
|
+
}: DialogTitleProps) => react_jsx_runtime0.JSX.Element;
|
|
104
|
+
Trigger: ({
|
|
105
|
+
className,
|
|
106
|
+
...props
|
|
107
|
+
}: DialogTriggerProps) => react_jsx_runtime0.JSX.Element;
|
|
108
|
+
}>, "children"> & {
|
|
109
|
+
title?: string;
|
|
110
|
+
description?: string;
|
|
111
|
+
className?: string;
|
|
112
|
+
showCloseButton?: boolean;
|
|
113
|
+
children: react.ReactNode;
|
|
114
|
+
}) => react_jsx_runtime0.JSX.Element;
|
|
115
|
+
Empty: ({
|
|
116
|
+
className,
|
|
117
|
+
...props
|
|
118
|
+
}: ComponentProps<typeof Command$1.Empty>) => react_jsx_runtime0.JSX.Element;
|
|
119
|
+
Group: ({
|
|
120
|
+
className,
|
|
121
|
+
...props
|
|
122
|
+
}: ComponentProps<typeof Command$1.Group>) => react_jsx_runtime0.JSX.Element;
|
|
123
|
+
Input: ({
|
|
124
|
+
className,
|
|
125
|
+
...props
|
|
126
|
+
}: ComponentProps<typeof Command$1.Input>) => react_jsx_runtime0.JSX.Element;
|
|
127
|
+
Item: ({
|
|
128
|
+
className,
|
|
129
|
+
children,
|
|
130
|
+
...props
|
|
131
|
+
}: ComponentProps<typeof Command$1.Item>) => react_jsx_runtime0.JSX.Element;
|
|
132
|
+
List: ({
|
|
133
|
+
className,
|
|
134
|
+
...props
|
|
135
|
+
}: ComponentProps<typeof Command$1.List>) => react_jsx_runtime0.JSX.Element;
|
|
136
|
+
Separator: ({
|
|
137
|
+
className,
|
|
138
|
+
...props
|
|
139
|
+
}: ComponentProps<typeof Command$1.Separator>) => react_jsx_runtime0.JSX.Element;
|
|
140
|
+
Shortcut: ({
|
|
141
|
+
className,
|
|
142
|
+
...props
|
|
143
|
+
}: ComponentProps<"span">) => react_jsx_runtime0.JSX.Element;
|
|
144
|
+
};
|
|
145
|
+
//#endregion
|
|
146
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
import { a as CommandInput, c as CommandDialog, i as CommandItem, n as CommandSeparator, o as CommandGroup, r as CommandList, s as CommandEmpty, t as CommandShortcut } from "../command-shortcut-DoWM7Mnm.js";
|
|
4
|
+
import { cn } from "tailwind-variants";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
import { Command as Command$1 } from "cmdk";
|
|
7
|
+
|
|
8
|
+
//#region src/components/command/command.tsx
|
|
9
|
+
const Command = ({ className, ...props }) => /* @__PURE__ */ jsx(Command$1, {
|
|
10
|
+
className: cn("flex size-full flex-col overflow-hidden rounded-xl! bg-popover p-1 text-popover-foreground", className),
|
|
11
|
+
"data-slot": "command",
|
|
12
|
+
...props
|
|
13
|
+
});
|
|
14
|
+
Command.Dialog = CommandDialog;
|
|
15
|
+
Command.Empty = CommandEmpty;
|
|
16
|
+
Command.Group = CommandGroup;
|
|
17
|
+
Command.Input = CommandInput;
|
|
18
|
+
Command.Item = CommandItem;
|
|
19
|
+
Command.List = CommandList;
|
|
20
|
+
Command.Separator = CommandSeparator;
|
|
21
|
+
Command.Shortcut = CommandShortcut;
|
|
22
|
+
|
|
23
|
+
//#endregion
|
|
24
|
+
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut };
|