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,101 @@
|
|
|
1
|
+
import { Separator } from "./ui/separator.js";
|
|
2
|
+
import { Label } from "./ui/label.js";
|
|
3
|
+
import { cn } from "tailwind-variants";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { useMemo } from "react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/form-field/form-field-content.tsx
|
|
8
|
+
const FormFieldContent = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
9
|
+
className: cn("group/field-content flex flex-1 flex-col gap-0.5 leading-snug", className),
|
|
10
|
+
"data-slot": "field-content",
|
|
11
|
+
...props
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
//#endregion
|
|
15
|
+
//#region src/components/form-field/form-field-description.tsx
|
|
16
|
+
const FormFieldDescription = ({ className, ...props }) => /* @__PURE__ */ jsx("p", {
|
|
17
|
+
className: cn("text-left font-normal text-muted-foreground text-sm leading-normal group-has-[[data-orientation=horizontal]]/field:text-balance [[data-variant=legend]+&]:-mt-1.5", "nth-last-2:-mt-1 last:mt-0", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", className),
|
|
18
|
+
"data-slot": "field-description",
|
|
19
|
+
...props
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/form-field/form-field-error.tsx
|
|
24
|
+
const FormFieldError = ({ className, children, errors, ...props }) => {
|
|
25
|
+
const content = useMemo(() => {
|
|
26
|
+
if (children) return children;
|
|
27
|
+
if (!errors?.length) return null;
|
|
28
|
+
const uniqueErrors = [...new Map(errors.map((error) => [error?.message, error])).values()];
|
|
29
|
+
if (uniqueErrors?.length === 1) return uniqueErrors[0]?.message;
|
|
30
|
+
return /* @__PURE__ */ jsx("ul", {
|
|
31
|
+
className: "ml-4 flex list-disc flex-col gap-1",
|
|
32
|
+
children: uniqueErrors.map((error) => error?.message && /* @__PURE__ */ jsx("li", { children: error.message }, error.message))
|
|
33
|
+
});
|
|
34
|
+
}, [children, errors]);
|
|
35
|
+
if (!content) return null;
|
|
36
|
+
return /* @__PURE__ */ jsx("div", {
|
|
37
|
+
className: cn("font-normal text-destructive text-sm", className),
|
|
38
|
+
"data-slot": "field-error",
|
|
39
|
+
role: "alert",
|
|
40
|
+
...props,
|
|
41
|
+
children: content
|
|
42
|
+
});
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
//#endregion
|
|
46
|
+
//#region src/components/form-field/form-field-group.tsx
|
|
47
|
+
const FormFieldGroup = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
48
|
+
className: cn("group/field-group @container/field-group flex w-full flex-col gap-5 data-[slot=checkbox-group]:gap-3 [&>[data-slot=field-group]]:gap-4", className),
|
|
49
|
+
"data-slot": "field-group",
|
|
50
|
+
...props
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
//#endregion
|
|
54
|
+
//#region src/components/form-field/form-field-label.tsx
|
|
55
|
+
const FormFieldLabel = ({ className, ...props }) => /* @__PURE__ */ jsx(Label, {
|
|
56
|
+
className: cn("group/field-label peer/field-label flex w-fit gap-2 leading-snug has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border has-data-checked:border-primary has-data-checked:bg-primary/5 *:data-[slot=field]:p-2.5 group-data-[disabled=true]/field:opacity-50 dark:has-data-checked:bg-primary/10", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", className),
|
|
57
|
+
"data-slot": "field-label",
|
|
58
|
+
...props
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/components/form-field/form-field-legend.tsx
|
|
63
|
+
const FormFieldLegend = ({ className, variant = "legend", ...props }) => /* @__PURE__ */ jsx("legend", {
|
|
64
|
+
className: cn("mb-1.5 font-medium data-[variant=label]:text-sm data-[variant=legend]:text-base", className),
|
|
65
|
+
"data-slot": "field-legend",
|
|
66
|
+
"data-variant": variant,
|
|
67
|
+
...props
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/form-field/form-field-separator.tsx
|
|
72
|
+
const FormFieldSeparator = ({ children, className, ...props }) => /* @__PURE__ */ jsxs("div", {
|
|
73
|
+
className: cn("relative -my-2 h-5 text-sm group-data-[variant=outline]/field-group:-mb-2", className),
|
|
74
|
+
"data-content": !!children,
|
|
75
|
+
"data-slot": "field-separator",
|
|
76
|
+
...props,
|
|
77
|
+
children: [/* @__PURE__ */ jsx(Separator, { className: "absolute inset-0 top-1/2" }), children && /* @__PURE__ */ jsx("span", {
|
|
78
|
+
className: "relative mx-auto block w-fit bg-background px-2 text-muted-foreground",
|
|
79
|
+
"data-slot": "field-separator-content",
|
|
80
|
+
children
|
|
81
|
+
})]
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
//#endregion
|
|
85
|
+
//#region src/components/form-field/form-field-set.tsx
|
|
86
|
+
const FormFieldSet = ({ className, ...props }) => /* @__PURE__ */ jsx("fieldset", {
|
|
87
|
+
className: cn("flex flex-col gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3", className),
|
|
88
|
+
"data-slot": "field-set",
|
|
89
|
+
...props
|
|
90
|
+
});
|
|
91
|
+
|
|
92
|
+
//#endregion
|
|
93
|
+
//#region src/components/form-field/form-field-title.tsx
|
|
94
|
+
const FormFieldTitle = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
95
|
+
className: cn("flex w-fit items-center gap-2 font-medium text-sm leading-snug group-data-[disabled=true]/field:opacity-50", className),
|
|
96
|
+
"data-slot": "field-label",
|
|
97
|
+
...props
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
//#endregion
|
|
101
|
+
export { FormFieldLabel as a, FormFieldDescription as c, FormFieldLegend as i, FormFieldContent as l, FormFieldSet as n, FormFieldGroup as o, FormFieldSeparator as r, FormFieldError as s, FormFieldTitle as t };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DependencyList, EffectCallback, useEffect } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/hooks/use-isomorphic-effect.d.ts
|
|
4
|
+
declare const useIsomorphicEffect: typeof useEffect;
|
|
5
|
+
type UseIsomorphicEffect = (effect: EffectCallback, deps?: DependencyList) => void;
|
|
6
|
+
//#endregion
|
|
7
|
+
export { UseIsomorphicEffect, useIsomorphicEffect };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { useEffect, useState } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/hooks/use-mobile.ts
|
|
4
|
+
const MOBILE_BREAKPOINT = 768;
|
|
5
|
+
const useIsMobile = () => {
|
|
6
|
+
const [isMobile, setIsMobile] = useState();
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
const mql = window.matchMedia(`(max-width: ${MOBILE_BREAKPOINT - 1}px)`);
|
|
9
|
+
const onChange = () => {
|
|
10
|
+
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
11
|
+
};
|
|
12
|
+
mql.addEventListener("change", onChange);
|
|
13
|
+
setIsMobile(window.innerWidth < MOBILE_BREAKPOINT);
|
|
14
|
+
return () => mql.removeEventListener("change", onChange);
|
|
15
|
+
}, []);
|
|
16
|
+
return !!isMobile;
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
//#endregion
|
|
20
|
+
export { useIsMobile };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { cn } from "tailwind-variants";
|
|
2
|
+
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
import { PreviewCard } from "@base-ui/react/preview-card";
|
|
4
|
+
|
|
5
|
+
//#region src/components/hover-card/hover-card-content.tsx
|
|
6
|
+
const HoverCardContent = ({ className, side = "bottom", sideOffset = 4, align = "center", alignOffset = 4, ...props }) => /* @__PURE__ */ jsx(PreviewCard.Portal, {
|
|
7
|
+
"data-slot": "hover-card-portal",
|
|
8
|
+
children: /* @__PURE__ */ jsx(PreviewCard.Positioner, {
|
|
9
|
+
align,
|
|
10
|
+
alignOffset,
|
|
11
|
+
className: "isolate z-50",
|
|
12
|
+
side,
|
|
13
|
+
sideOffset,
|
|
14
|
+
children: /* @__PURE__ */ jsx(PreviewCard.Popup, {
|
|
15
|
+
className: cn("data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-64 origin-(--transform-origin) rounded-lg bg-popover p-4 text-popover-foreground text-sm shadow-md outline-hidden ring-1 ring-foreground/10 duration-100 data-closed:animate-out data-open:animate-in", className),
|
|
16
|
+
"data-slot": "hover-card-content",
|
|
17
|
+
...props
|
|
18
|
+
})
|
|
19
|
+
})
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/components/hover-card/hover-card-trigger.tsx
|
|
24
|
+
const HoverCardTrigger = ({ className, ...props }) => /* @__PURE__ */ jsx(PreviewCard.Trigger, {
|
|
25
|
+
className: cn("cursor-pointer", className),
|
|
26
|
+
"data-slot": "hover-card-trigger",
|
|
27
|
+
...props
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
//#endregion
|
|
31
|
+
export { HoverCardContent as n, HoverCardTrigger as t };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
2
|
+
import { PreviewCard } from "@base-ui/react/preview-card";
|
|
3
|
+
|
|
4
|
+
//#region src/components/hover-card/hover-card-content.d.ts
|
|
5
|
+
declare const HoverCardContent: ({
|
|
6
|
+
className,
|
|
7
|
+
side,
|
|
8
|
+
sideOffset,
|
|
9
|
+
align,
|
|
10
|
+
alignOffset,
|
|
11
|
+
...props
|
|
12
|
+
}: PreviewCard.Popup.Props & Pick<PreviewCard.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">) => react_jsx_runtime0.JSX.Element;
|
|
13
|
+
//#endregion
|
|
14
|
+
//#region src/components/hover-card/hover-card-trigger.d.ts
|
|
15
|
+
declare const HoverCardTrigger: ({
|
|
16
|
+
className,
|
|
17
|
+
...props
|
|
18
|
+
}: PreviewCard.Trigger.Props) => react_jsx_runtime0.JSX.Element;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { HoverCardContent as n, HoverCardTrigger as t };
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { n as AccordionItem, r as AccordionContent, t as AccordionTrigger } from "./accordion-trigger-D5XnBMS6.js";
|
|
2
|
+
import { Accordion } from "./ui/accordion.js";
|
|
3
|
+
import { BasePortalProps, Portal, PortalProps } from "./ui/portal.js";
|
|
4
|
+
import { Affix, AffixPosition, AffixProps, affixVariants } from "./ui/affix.js";
|
|
5
|
+
import { n as AlertDescription, r as AlertAction, t as AlertTitle } from "./alert-title-CVC9G-Xf.js";
|
|
6
|
+
import { Alert, AlertProps, alertVariants } from "./ui/alert.js";
|
|
7
|
+
import { i as AnnouncementTagProps, n as AnnouncementTitleProps, r as AnnouncementTag, t as AnnouncementTitle } from "./announcement-title-CCZuGB1O.js";
|
|
8
|
+
import { Badge, badgeVariants } from "./ui/badge.js";
|
|
9
|
+
import { Announcement, AnnouncementProps } from "./ui/announcement.js";
|
|
10
|
+
import { AspectRatio } from "./ui/aspect-ratio.js";
|
|
11
|
+
import { A as AutocompleteContentProps, C as AutocompleteGroupLabel, D as AutocompleteEmpty, E as AutocompleteGroupProps, M as AutocompleteCollectionProps, N as AutocompleteClear, O as AutocompleteEmptyProps, P as AutocompleteClearProps, S as AutocompleteIconProps, T as AutocompleteGroup, _ as AutocompleteItem, a as AutocompleteStatus, b as AutocompleteInputProps, c as AutocompleteSeparatorProps, d as AutocompletePositioner, f as AutocompletePositionerProps, g as AutocompleteListProps, h as AutocompleteList, i as AutocompleteTriggerProps, j as AutocompleteCollection, k as AutocompleteContent, l as AutocompleteRow, m as AutocompletePortalProps, n as AutocompleteValueProps, o as AutocompleteStatusProps, p as AutocompletePortal, r as AutocompleteTrigger, s as AutocompleteSeparator, t as AutocompleteValue, u as AutocompleteRowProps, v as AutocompleteItemProps, w as AutocompleteGroupLabelProps, x as AutocompleteIcon, y as AutocompleteInput } from "./autocomplete-value-BhyszIrf.js";
|
|
12
|
+
import { Autocomplete, AutocompleteProps, useFilter } from "./ui/autocomplete.js";
|
|
13
|
+
import { a as AvatarBadge, i as AvatarFallback, n as AvatarGroupCount, r as AvatarGroup, t as AvatarImage } from "./avatar-image-BKgKyzVw.js";
|
|
14
|
+
import { Avatar } from "./ui/avatar.js";
|
|
15
|
+
import { a as BreadcrumbItem, i as BreadcrumbLink, n as BreadcrumbPage, o as BreadcrumbEllipsis, r as BreadcrumbList, t as BreadcrumbSeparator } from "./breadcrumb-separator-D66-B1DA.js";
|
|
16
|
+
import { Breadcrumb } from "./ui/breadcrumb.js";
|
|
17
|
+
import { Button, ButtonProps, buttonVariants } from "./ui/button.js";
|
|
18
|
+
import { Separator, SeparatorProps } from "./ui/separator.js";
|
|
19
|
+
import { $ as FormFieldLabel, A as SidebarGroupContent, B as ItemFooter, C as SidebarMenuBadge, D as SidebarInput, E as SidebarInset, F as ItemTitle, G as InputGroupText, H as ItemContent, I as ItemSeparator, J as InputGroupAddon, K as InputGroupInput, L as ItemMedia, M as SidebarGroup, N as SidebarFooter, O as SidebarHeader, P as SidebarContent, Q as FormFieldLegend, R as ItemHeader, S as SidebarMenuButton, T as SidebarMenu, U as ItemActions, V as ItemDescription, W as InputGroupTextarea, X as FormFieldSet, Y as FormFieldTitle, Z as FormFieldSeparator, _ as SidebarMenuSubItem, _t as CarouselItem, a as AlertDialogMedia, at as CommandSeparator, b as SidebarMenuSkeleton, bt as ButtonGroupSeparator, c as AlertDialogDescription, ct as CommandInput, d as AlertDialogAction, dt as CommandDialog, et as FormFieldGroup, f as useSidebar, ft as CarouselApi, g as SidebarProvider, gt as CarouselNext, h as SidebarRail, ht as CarouselPrevious, i as AlertDialogOverlay, it as CommandShortcut, j as SidebarGroupAction, k as SidebarGroupLabel, l as AlertDialogContent, lt as CommandGroup, m as SidebarSeparator, mt as useCarousel, n as AlertDialogTitle, nt as FormFieldDescription, o as AlertDialogHeader, ot as CommandList, p as SidebarTrigger, q as InputGroupButton, r as AlertDialogPortal, rt as FormFieldContent, s as AlertDialogFooter, st as CommandItem, t as AlertDialogTrigger, tt as FormFieldError, u as AlertDialogCancel, ut as CommandEmpty, v as SidebarMenuSubButton, vt as CarouselContent, w as SidebarMenuAction, x as SidebarMenuItem, y as SidebarMenuSub, yt as ButtonGroupText, z as ItemGroup } from "./alert-dialog-trigger-BV0BsaVU.js";
|
|
20
|
+
import { ButtonGroup, buttonGroupVariants } from "./ui/button-group.js";
|
|
21
|
+
import { i as CalendarChevron, n as CalendarRoot, r as CalendarDayButton, t as CalendarWeekNumber } from "./calendar-week-number-in2gpvA_.js";
|
|
22
|
+
import { Calendar } from "./ui/calendar.js";
|
|
23
|
+
import { a as CardContent, i as CardDescription, n as CardHeader, o as CardAction, r as CardFooter, t as CardTitle } from "./card-title-DSDluDoy.js";
|
|
24
|
+
import { Card } from "./ui/card.js";
|
|
25
|
+
import { Carousel } from "./ui/carousel.js";
|
|
26
|
+
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";
|
|
27
|
+
import { ChartContainer } from "./ui/chart.js";
|
|
28
|
+
import { Checkbox, CheckboxProps } from "./ui/checkbox.js";
|
|
29
|
+
import { CheckboxGroup, CheckboxGroupProps } from "./ui/checkbox-group.js";
|
|
30
|
+
import { n as CollapsibleContent, t as CollapsibleTrigger } from "./collapsible-trigger-aZF7_mPR.js";
|
|
31
|
+
import { Collapsible } from "./ui/collapsible.js";
|
|
32
|
+
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";
|
|
33
|
+
import { Combobox, ComboboxProps } from "./ui/combobox.js";
|
|
34
|
+
import { _ as DialogClose, a as DialogPortal, c as DialogOverlayProps, d as DialogFooter, f as DialogFooterProps, g as DialogContentProps, h as DialogContent, i as DialogTitleProps, l as DialogHeader, m as DialogDescriptionProps, n as DialogTriggerProps, o as DialogPortalProps, p as DialogDescription, r as DialogTitle, s as DialogOverlay, t as DialogTrigger, u as DialogHeaderProps, v as DialogCloseProps } from "./dialog-trigger-xeE4e96-.js";
|
|
35
|
+
import { Dialog } from "./ui/dialog.js";
|
|
36
|
+
import { Command } from "./ui/command.js";
|
|
37
|
+
import { a as ContextMenuShortcut, c as ContextMenuRadioGroup, d as ContextMenuItem, f as ContextMenuGroup, i as ContextMenuSub, l as ContextMenuPortal, m as ContextMenuCheckboxItem, n as ContextMenuSubTrigger, o as ContextMenuSeparator, p as ContextMenuContent, r as ContextMenuSubContent, s as ContextMenuRadioItem, t as ContextMenuTrigger, u as ContextMenuLabel } from "./context-menu-trigger-Du2vcTco.js";
|
|
38
|
+
import { ContextMenu } from "./ui/context-menu.js";
|
|
39
|
+
import { CountryCode, CountryFlag, CountryFlagProps } from "./ui/country-flag.js";
|
|
40
|
+
import { _ as DrawerClose, a as DrawerPortal, c as DrawerOverlayProps, d as DrawerFooter, f as DrawerFooterProps, g as DrawerContentProps, h as DrawerContent, i as DrawerTitleProps, l as DrawerHeader, m as DrawerDescriptionProps, n as DrawerTriggerProps, o as DrawerPortalProps, p as DrawerDescription, r as DrawerTitle, s as DrawerOverlay, t as DrawerTrigger, u as DrawerHeaderProps, v as DrawerCloseProps } from "./drawer-trigger-H_Wv5R00.js";
|
|
41
|
+
import { Drawer, DrawerProps } from "./ui/drawer.js";
|
|
42
|
+
import { a as DropdownMenuShortcut, c as DropdownMenuRadioGroup, d as DropdownMenuItem, f as DropdownMenuGroup, i as DropdownMenuSub, l as DropdownMenuPortal, m as DropdownMenuCheckboxItem, n as DropdownMenuSubTrigger, o as DropdownMenuSeparator, p as DropdownMenuContent, r as DropdownMenuSubContent, s as DropdownMenuRadioItem, t as DropdownMenuTrigger, u as DropdownMenuLabel } from "./dropdown-menu-trigger-CFdruqOk.js";
|
|
43
|
+
import { DropdownMenu } from "./ui/dropdown-menu.js";
|
|
44
|
+
import { a as DropzoneIdle, c as DropzoneRejectProps, i as DropzoneAcceptProps, n as useDropzoneContext, o as DropzoneIdleProps, r as DropzoneAccept, s as DropzoneReject, t as DropzoneContext } from "./dropzone-context-BRX1K7nw.js";
|
|
45
|
+
import { Dropzone, DropzoneProps, DropzoneVariants, dropzoneVariants } from "./ui/dropzone.js";
|
|
46
|
+
import { _ as EmojiPickerActiveEmoji, a as EmojiPickerSearch, c as EmojiPickerLoadingProps, d as EmojiPickerEmpty, f as EmojiPickerEmptyProps, g as EmojiPickerActiveEmojiPreviewProps, h as EmojiPickerActiveEmojiPreview, i as EmojiPickerSkinToneProps, l as EmojiPickerList, m as EmojiPickerContentProps, n as EmojiPickerSkinToneSelectorProps, o as EmojiPickerSearchProps, p as EmojiPickerContent, r as EmojiPickerSkinTone, s as EmojiPickerLoading, t as EmojiPickerSkinToneSelector, u as EmojiPickerListProps, v as EmojiPickerActiveEmojiProps } from "./emoji-picker-skin-tone-selector-yMYxt4oJ.js";
|
|
47
|
+
import { EmojiPicker, EmojiPickerProps } from "./ui/emoji-picker.js";
|
|
48
|
+
import { a as EmptyContent, i as EmptyDescription, n as EmptyMedia, r as EmptyHeader, t as EmptyTitle } from "./empty-title-CH3DhcfT.js";
|
|
49
|
+
import { Empty } from "./ui/empty.js";
|
|
50
|
+
import { Label, LabelProps } from "./ui/label.js";
|
|
51
|
+
import { FormField, fieldVariants } from "./ui/form-field.js";
|
|
52
|
+
import { GoogleLogo, GoogleLogoProps } from "./ui/google-logo.js";
|
|
53
|
+
import { n as HoverCardContent, t as HoverCardTrigger } from "./hover-card-trigger-BqVoZ7h4.js";
|
|
54
|
+
import { HoverCard } from "./ui/hover-card.js";
|
|
55
|
+
import { Input, InputProps } from "./ui/input.js";
|
|
56
|
+
import { Textarea, TextareaProps } from "./ui/textarea.js";
|
|
57
|
+
import { InputGroup } from "./ui/input-group.js";
|
|
58
|
+
import { n as InputOTPSeparator, r as InputOTPGroup, t as InputOTPSlot } from "./input-otp-slot-eVdOjx8C.js";
|
|
59
|
+
import { InputOTP } from "./ui/input-otp.js";
|
|
60
|
+
import { Item, itemVariants } from "./ui/item.js";
|
|
61
|
+
import { t as KbdGroup } from "./kbd-group-D3yVrb2D.js";
|
|
62
|
+
import { Kbd, KbdProps } from "./ui/kbd.js";
|
|
63
|
+
import { a as MarqueeContent, i as MarqueeFadeProps, n as MarqueeItemProps, o as MarqueeContentProps, r as MarqueeFade, t as MarqueeItem } from "./marquee-item-DD6JuLJ4.js";
|
|
64
|
+
import { Marquee, MarqueeProps } from "./ui/marquee.js";
|
|
65
|
+
import { a as MenubarShortcut, c as MenubarRadioGroup, d as MenubarLabel, f as MenubarItem, h as MenubarCheckboxItem, i as MenubarSub, l as MenubarPortal, m as MenubarContent, n as MenubarSubTrigger, o as MenubarSeparator, p as MenubarGroup, r as MenubarSubContent, s as MenubarRadioItem, t as MenubarTrigger, u as MenubarMenu } from "./menubar-trigger-BLg3XdRv.js";
|
|
66
|
+
import { Menubar } from "./ui/menubar.js";
|
|
67
|
+
import { a as MeterLabel, c as MeterIndicatorProps, i as MeterTrackProps, n as MeterValueProps, o as MeterLabelProps, r as MeterTrack, s as MeterIndicator, t as MeterValue } from "./meter-value-DYkZLCtx.js";
|
|
68
|
+
import { Meter, MeterProps } from "./ui/meter.js";
|
|
69
|
+
import { a as NavigationMenuItem, i as NavigationMenuLink, n as NavigationMenuPositioner, o as NavigationMenuIndicator, r as NavigationMenuList, s as NavigationMenuContent, t as NavigationMenuTrigger } from "./navigation-menu-trigger-Bf60DnIz.js";
|
|
70
|
+
import { NavigationMenu } from "./ui/navigation-menu.js";
|
|
71
|
+
import { a as NumberFieldScrubAreaProps, c as NumberFieldIncrement, d as NumberFieldGroupProps, f as NumberFieldDecrement, i as NumberFieldScrubArea, l as NumberFieldIncrementProps, n as NumberFieldScrubAreaCursor, o as NumberFieldInput, p as NumberFieldDecrementProps, r as NumberFieldScrubAreaCursorProps, s as NumberFieldInputProps, t as useNumberField, u as NumberFieldGroup } from "./use-number-field-Dzl9JLNK.js";
|
|
72
|
+
import { NumberField, NumberFieldProps } from "./ui/number-field.js";
|
|
73
|
+
import { a as PaginationContent, i as PaginationEllipsis, n as PaginationNext, o as PaginationLink, r as PaginationItem, t as PaginationPrevious } from "./pagination-previous-qJeZZTou.js";
|
|
74
|
+
import { Pagination } from "./ui/pagination.js";
|
|
75
|
+
import { a as PillIcon, c as PillDeltaProps, d as PillAvatarGroup, f as PillAvatarGroupProps, i as PillIndicatorProps, l as PillButton, m as PillAvatarProps, n as PillStatusProps, o as PillIconProps, p as PillAvatar, r as PillIndicator, s as PillDelta, t as PillStatus, u as PillButtonProps } from "./pill-status-rg-3AMSI.js";
|
|
76
|
+
import { Pill, PillProps } from "./ui/pill.js";
|
|
77
|
+
import { a as PopoverContent, i as PopoverDescription, n as PopoverTitle, r as PopoverHeader, t as PopoverTrigger } from "./popover-trigger-B9PVErig.js";
|
|
78
|
+
import { Popover } from "./ui/popover.js";
|
|
79
|
+
import { i as ProgressIndicator, n as ProgressTrack, r as ProgressLabel, t as ProgressValue } from "./progress-value-CFlgP0nv.js";
|
|
80
|
+
import { Progress } from "./ui/progress.js";
|
|
81
|
+
import { QRCode, QRCodeProps } from "./ui/qr-code.js";
|
|
82
|
+
import { t as RadioGroupItem } from "./radio-group-item-09fw05Va.js";
|
|
83
|
+
import { RadioGroup } from "./ui/radio-group.js";
|
|
84
|
+
import { t as RatingStar } from "./rating-star-6ov3lbpn.js";
|
|
85
|
+
import { Rating, RatingProps, ratingValueVariants, ratingVariants } from "./ui/rating.js";
|
|
86
|
+
import { n as ResizableHandle, t as ResizablePanel } from "./resizable-panel-B4lAr8Vb.js";
|
|
87
|
+
import { ResizablePanelGroup } from "./ui/resizable.js";
|
|
88
|
+
import { t as ScrollBar } from "./scroll-bar-vYvxEOph.js";
|
|
89
|
+
import { ScrollArea } from "./ui/scroll-area.js";
|
|
90
|
+
import { a as SelectScrollDownButton, c as SelectGroup, i as SelectScrollUpButton, l as SelectContent, n as SelectTrigger, o as SelectLabel, r as SelectSeparator, s as SelectItem, t as SelectValue } from "./select-value-DG31IHy3.js";
|
|
91
|
+
import { Select, SelectOption, SelectProps } from "./ui/select.js";
|
|
92
|
+
import { a as SheetHeader, c as SheetContent, i as SheetOverlay, l as SheetClose, n as SheetTitle, o as SheetFooter, r as SheetPortal, s as SheetDescription, t as SheetTrigger } from "./sheet-trigger-CLgKANrf.js";
|
|
93
|
+
import { Sheet } from "./ui/sheet.js";
|
|
94
|
+
import { n as TooltipProvider, r as TooltipContent, t as TooltipTrigger } from "./tooltip-trigger-CrAGfaqr.js";
|
|
95
|
+
import { Tooltip } from "./ui/tooltip.js";
|
|
96
|
+
import { Sidebar } from "./ui/sidebar.js";
|
|
97
|
+
import { Skeleton, SkeletonProps } from "./ui/skeleton.js";
|
|
98
|
+
import { Slider, SliderProps } from "./ui/slider.js";
|
|
99
|
+
import { Spacer, SpacerOrientation, SpacerProps } from "./ui/spacer.js";
|
|
100
|
+
import { Spinner, SpinnerProps } from "./ui/spinner.js";
|
|
101
|
+
import { Surface, SurfaceProps, surfaceVariants } from "./ui/surface.js";
|
|
102
|
+
import { Switch, SwitchProps } from "./ui/switch.js";
|
|
103
|
+
import { a as TableCell, i as TableFooter, n as TableHeader, o as TableCaption, r as TableHead, s as TableBody, t as TableRow } from "./table-row-BxhKJPfE.js";
|
|
104
|
+
import { Table } from "./ui/table.js";
|
|
105
|
+
import { n as TabsList, r as TabsContent, t as TabsTrigger } from "./tabs-trigger-BGo2XGvh.js";
|
|
106
|
+
import { Tabs } from "./ui/tabs.js";
|
|
107
|
+
import { ThemeIcon, ThemeIconProps, themeIconVariants } from "./ui/theme-icon.js";
|
|
108
|
+
import { c as TimelineHeader, f as TimelineDescription, g as TimelineConnector, i as TimelineTime, m as TimelineContent, n as TimelineTitle, o as TimelineItem, u as TimelineDot } from "./use-timeline-BRlmxoQ7.js";
|
|
109
|
+
import { Timeline, TimelineProps, timelineVariants } from "./ui/timeline.js";
|
|
110
|
+
import { _ as ToastAction, a as ToastTitle, c as ToastRootProps, d as ToastDescription, f as ToastDescriptionProps, g as ToastCloseProps, h as ToastClose, i as ToastViewportProps, l as ToastPortal, m as ToastContentProps, n as ToastProvider, o as ToastTitleProps, p as ToastContent, r as ToastViewport, s as ToastRoot, t as useToast, u as ToastPortalProps, v as ToastActionProps } from "./use-toast-BGG4leSx.js";
|
|
111
|
+
import { Toast, ToastProps, createToastManager, useToastManager } from "./ui/toast.js";
|
|
112
|
+
import { Toggle, ToggleProps, toggleVariants } from "./ui/toggle.js";
|
|
113
|
+
import { n as ToggleGroupContext, t as ToggleGroupItem } from "./toggle-group-item-Bz_ohmnY.js";
|
|
114
|
+
import { ToggleGroup } from "./ui/toggle-group.js";
|
|
115
|
+
import { a as ToolbarInput, c as ToolbarGroupProps, i as ToolbarLinkProps, l as ToolbarButton, n as ToolbarSeparatorProps, o as ToolbarInputProps, r as ToolbarLink, s as ToolbarGroup, t as ToolbarSeparator, u as ToolbarButtonProps } from "./toolbar-separator-7CgKz2aX.js";
|
|
116
|
+
import { Toolbar, ToolbarProps } from "./ui/toolbar.js";
|
|
117
|
+
import { _ as VideoPlayerContent, a as VideoPlayerTimeDisplay, c as VideoPlayerSeekForwardButtonProps, d as VideoPlayerPlayButton, f as VideoPlayerPlayButtonProps, g as VideoPlayerControlBarProps, h as VideoPlayerControlBar, i as VideoPlayerTimeRangeProps, l as VideoPlayerSeekBackwardButton, m as VideoPlayerMuteButtonProps, n as VideoPlayerVolumeRangeProps, o as VideoPlayerTimeDisplayProps, p as VideoPlayerMuteButton, r as VideoPlayerTimeRange, s as VideoPlayerSeekForwardButton, t as VideoPlayerVolumeRange, u as VideoPlayerSeekBackwardButtonProps, v as VideoPlayerContentProps } from "./video-player-volume-range-D971L6mz.js";
|
|
118
|
+
import { VideoPlayer, VideoPlayerProps } from "./ui/video-player.js";
|
|
119
|
+
import { useIsomorphicEffect } from "./hooks/use-isomorphic-effect.js";
|
|
120
|
+
import { useIsMobile } from "./hooks/use-mobile.js";
|
|
121
|
+
import { AlertDialog } from "./ui/alert-dialog.js";
|
|
122
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Affix, type AffixPosition, type AffixProps, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, type AlertProps, AlertTitle, Announcement, type AnnouncementProps, AnnouncementTag, type AnnouncementTagProps, AnnouncementTitle, type AnnouncementTitleProps, AspectRatio, Autocomplete, AutocompleteClear, type AutocompleteClearProps, AutocompleteCollection, type AutocompleteCollectionProps, AutocompleteContent, type AutocompleteContentProps, AutocompleteEmpty, type AutocompleteEmptyProps, AutocompleteGroup, AutocompleteGroupLabel, type AutocompleteGroupLabelProps, type AutocompleteGroupProps, AutocompleteIcon, type AutocompleteIconProps, AutocompleteInput, type AutocompleteInputProps, AutocompleteItem, type AutocompleteItemProps, AutocompleteList, type AutocompleteListProps, AutocompletePortal, type AutocompletePortalProps, AutocompletePositioner, type AutocompletePositionerProps, type AutocompleteProps, AutocompleteRow, type AutocompleteRowProps, AutocompleteSeparator, type AutocompleteSeparatorProps, AutocompleteStatus, type AutocompleteStatusProps, AutocompleteTrigger, type AutocompleteTriggerProps, AutocompleteValue, type AutocompleteValueProps, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, type BasePortalProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, type ButtonProps, Calendar, CalendarChevron, CalendarDayButton, CalendarRoot, CalendarWeekNumber, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChipRemove, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, type ComboboxProps, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, type CountryCode, CountryFlag, type CountryFlagProps, Dialog, DialogClose, type DialogCloseProps, DialogContent, type DialogContentProps, DialogDescription, type DialogDescriptionProps, DialogFooter, type DialogFooterProps, DialogHeader, type DialogHeaderProps, DialogOverlay, type DialogOverlayProps, DialogPortal, type DialogPortalProps, DialogTitle, type DialogTitleProps, DialogTrigger, type DialogTriggerProps, Drawer, DrawerClose, type DrawerCloseProps, DrawerContent, type DrawerContentProps, DrawerDescription, type DrawerDescriptionProps, DrawerFooter, type DrawerFooterProps, DrawerHeader, type DrawerHeaderProps, DrawerOverlay, type DrawerOverlayProps, DrawerPortal, type DrawerPortalProps, type DrawerProps, DrawerTitle, type DrawerTitleProps, DrawerTrigger, type DrawerTriggerProps, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneAccept, type DropzoneAcceptProps, DropzoneContext, DropzoneIdle, type DropzoneIdleProps, type DropzoneProps, DropzoneReject, type DropzoneRejectProps, type DropzoneVariants, EmojiPicker, EmojiPickerActiveEmoji, EmojiPickerActiveEmojiPreview, type EmojiPickerActiveEmojiPreviewProps, type EmojiPickerActiveEmojiProps, EmojiPickerContent, type EmojiPickerContentProps, EmojiPickerEmpty, type EmojiPickerEmptyProps, EmojiPickerList, type EmojiPickerListProps, EmojiPickerLoading, type EmojiPickerLoadingProps, type EmojiPickerProps, EmojiPickerSearch, type EmojiPickerSearchProps, EmojiPickerSkinTone, type EmojiPickerSkinToneProps, EmojiPickerSkinToneSelector, type EmojiPickerSkinToneSelectorProps, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FormField, FormFieldContent, FormFieldDescription, FormFieldError, FormFieldGroup, FormFieldLabel, FormFieldLegend, FormFieldSeparator, FormFieldSet, FormFieldTitle, GoogleLogo, type GoogleLogoProps, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, type KbdProps, Label, type LabelProps, Marquee, MarqueeContent, type MarqueeContentProps, MarqueeFade, type MarqueeFadeProps, MarqueeItem, type MarqueeItemProps, type MarqueeProps, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Meter, MeterIndicator, type MeterIndicatorProps, MeterLabel, type MeterLabelProps, type MeterProps, MeterTrack, type MeterTrackProps, MeterValue, type MeterValueProps, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, NumberField, NumberFieldDecrement, type NumberFieldDecrementProps, NumberFieldGroup, type NumberFieldGroupProps, NumberFieldIncrement, type NumberFieldIncrementProps, NumberFieldInput, type NumberFieldInputProps, type NumberFieldProps, NumberFieldScrubArea, NumberFieldScrubAreaCursor, type NumberFieldScrubAreaCursorProps, type NumberFieldScrubAreaProps, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Pill, PillAvatar, PillAvatarGroup, type PillAvatarGroupProps, type PillAvatarProps, PillButton, type PillButtonProps, PillDelta, type PillDeltaProps, PillIcon, type PillIconProps, PillIndicator, type PillIndicatorProps, type PillProps, PillStatus, type PillStatusProps, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Portal, type PortalProps, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, QRCode, type QRCodeProps, RadioGroup, RadioGroupItem, Rating, type RatingProps, RatingStar, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, type SelectOption, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SkeletonProps, Slider, type SliderProps, Spacer, type SpacerOrientation, type SpacerProps, Spinner, type SpinnerProps, Surface, type SurfaceProps, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, type TextareaProps, ThemeIcon, type ThemeIconProps, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, TimelineHeader, TimelineItem, type TimelineProps, TimelineTime, TimelineTitle, Toast, ToastAction, type ToastActionProps, ToastClose, type ToastCloseProps, ToastContent, type ToastContentProps, ToastDescription, type ToastDescriptionProps, ToastPortal, type ToastPortalProps, type ToastProps, ToastProvider, ToastRoot, type ToastRootProps, ToastTitle, type ToastTitleProps, ToastViewport, type ToastViewportProps, Toggle, ToggleGroup, ToggleGroupContext, ToggleGroupItem, type ToggleProps, Toolbar, ToolbarButton, type ToolbarButtonProps, ToolbarGroup, type ToolbarGroupProps, ToolbarInput, type ToolbarInputProps, ToolbarLink, type ToolbarLinkProps, type ToolbarProps, ToolbarSeparator, type ToolbarSeparatorProps, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VideoPlayer, VideoPlayerContent, type VideoPlayerContentProps, VideoPlayerControlBar, type VideoPlayerControlBarProps, VideoPlayerMuteButton, type VideoPlayerMuteButtonProps, VideoPlayerPlayButton, type VideoPlayerPlayButtonProps, type VideoPlayerProps, VideoPlayerSeekBackwardButton, type VideoPlayerSeekBackwardButtonProps, VideoPlayerSeekForwardButton, type VideoPlayerSeekForwardButtonProps, VideoPlayerTimeDisplay, type VideoPlayerTimeDisplayProps, VideoPlayerTimeRange, type VideoPlayerTimeRangeProps, VideoPlayerVolumeRange, type VideoPlayerVolumeRangeProps, affixVariants, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, createToastManager, dropzoneVariants, fieldVariants, itemVariants, ratingValueVariants, ratingVariants, surfaceVariants, themeIconVariants, timelineVariants, toggleVariants, useCarousel, useChart, useComboboxAnchor, useDropzoneContext, useFilter, useIsMobile, useIsomorphicEffect, useNumberField, useSidebar, useToast, useToastManager };
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,130 @@
|
|
|
1
|
+
import { n as AccordionItem, r as AccordionContent, t as AccordionTrigger } from "./accordion-trigger-TjAe8JHy.js";
|
|
2
|
+
import { Accordion } from "./ui/accordion.js";
|
|
3
|
+
import { useIsomorphicEffect } from "./hooks/use-isomorphic-effect.js";
|
|
4
|
+
import { Portal } from "./ui/portal.js";
|
|
5
|
+
import { Affix, affixVariants } from "./ui/affix.js";
|
|
6
|
+
import { n as AlertDescription, r as AlertAction, t as AlertTitle } from "./alert-title-CISzcj0X.js";
|
|
7
|
+
import { Alert, alertVariants } from "./ui/alert.js";
|
|
8
|
+
import { Spinner } from "./ui/spinner.js";
|
|
9
|
+
import { Button, buttonVariants } from "./ui/button.js";
|
|
10
|
+
import { a as AlertDialogFooter, c as AlertDialogPortal, d as AlertDialogAction, i as AlertDialogHeader, l as AlertDialogOverlay, n as AlertDialogTitle, o as AlertDialogDescription, r as AlertDialogMedia, s as AlertDialogContent, t as AlertDialogTrigger, u as AlertDialogCancel } from "./alert-dialog-trigger-D5BRoizR.js";
|
|
11
|
+
import { AlertDialog } from "./ui/alert-dialog.js";
|
|
12
|
+
import { Badge, badgeVariants } from "./ui/badge.js";
|
|
13
|
+
import { n as AnnouncementTag, t as AnnouncementTitle } from "./announcement-title-CIwzt9Wl.js";
|
|
14
|
+
import { Announcement } from "./ui/announcement.js";
|
|
15
|
+
import { AspectRatio } from "./ui/aspect-ratio.js";
|
|
16
|
+
import { _ as AutocompleteClear, a as AutocompleteRow, c as AutocompleteInput, d as AutocompleteGroup, f as AutocompleteEmpty, g as AutocompleteCollection, h as AutocompletePortal, i as AutocompleteSeparator, l as AutocompleteIcon, m as AutocompletePositioner, n as AutocompleteTrigger, o as AutocompleteList, p as AutocompleteContent, r as AutocompleteStatus, s as AutocompleteItem, t as AutocompleteValue, u as AutocompleteGroupLabel } from "./autocomplete-value-DNJ3sAIH.js";
|
|
17
|
+
import { Autocomplete, useFilter } from "./ui/autocomplete.js";
|
|
18
|
+
import { a as AvatarBadge, i as AvatarFallback, n as AvatarGroupCount, r as AvatarGroup, t as AvatarImage } from "./avatar-image-Bw3G-Bl6.js";
|
|
19
|
+
import { Avatar } from "./ui/avatar.js";
|
|
20
|
+
import { a as BreadcrumbItem, i as BreadcrumbLink, n as BreadcrumbPage, o as BreadcrumbEllipsis, r as BreadcrumbList, t as BreadcrumbSeparator } from "./breadcrumb-separator-Do-19Uow.js";
|
|
21
|
+
import { Breadcrumb } from "./ui/breadcrumb.js";
|
|
22
|
+
import { Separator } from "./ui/separator.js";
|
|
23
|
+
import { n as ButtonGroupSeparator, t as ButtonGroupText } from "./button-group-text-D98w78rH.js";
|
|
24
|
+
import { ButtonGroup, buttonGroupVariants } from "./ui/button-group.js";
|
|
25
|
+
import { i as CalendarChevron, n as CalendarRoot, r as CalendarDayButton, t as CalendarWeekNumber } from "./calendar-week-number-6AXvZ4Ij.js";
|
|
26
|
+
import { Calendar } from "./ui/calendar.js";
|
|
27
|
+
import { a as CardContent, i as CardDescription, n as CardHeader, o as CardAction, r as CardFooter, t as CardTitle } from "./card-title-CbRPAh3M.js";
|
|
28
|
+
import { Card } from "./ui/card.js";
|
|
29
|
+
import { i as CarouselContent, n as CarouselNext, o as useCarousel, r as CarouselItem, t as CarouselPrevious } from "./carousel-previous-B_jysGv_.js";
|
|
30
|
+
import { Carousel } from "./ui/carousel.js";
|
|
31
|
+
import { i as ChartLegendContent, n as ChartTooltip, o as useChart, r as ChartStyle, s as ChartLegend, t as ChartTooltipContent } from "./chart-tooltip-content-h5oLtil-.js";
|
|
32
|
+
import { ChartContainer } from "./ui/chart.js";
|
|
33
|
+
import { Checkbox } from "./ui/checkbox.js";
|
|
34
|
+
import { CheckboxGroup } from "./ui/checkbox-group.js";
|
|
35
|
+
import { n as CollapsibleContent, t as CollapsibleTrigger } from "./collapsible-trigger-DcQWODN-.js";
|
|
36
|
+
import { Collapsible } from "./ui/collapsible.js";
|
|
37
|
+
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";
|
|
38
|
+
import { a as InputGroupAddon, i as InputGroupButton, n as InputGroupText, r as InputGroupInput, t as InputGroupTextarea } from "./input-group-textarea-voYOV11-.js";
|
|
39
|
+
import { Input } from "./ui/input.js";
|
|
40
|
+
import { Textarea } from "./ui/textarea.js";
|
|
41
|
+
import { InputGroup } from "./ui/input-group.js";
|
|
42
|
+
import { Combobox } from "./ui/combobox.js";
|
|
43
|
+
import { a as DialogDescription, c as DialogOverlay, i as DialogFooter, l as DialogClose, n as DialogTitle, o as DialogContent, r as DialogHeader, s as DialogPortal, t as DialogTrigger } from "./dialog-trigger-CR23tYql.js";
|
|
44
|
+
import { Dialog } from "./ui/dialog.js";
|
|
45
|
+
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";
|
|
46
|
+
import { Command } from "./ui/command.js";
|
|
47
|
+
import { a as ContextMenuShortcut, c as ContextMenuRadioGroup, d as ContextMenuItem, f as ContextMenuGroup, i as ContextMenuSub, l as ContextMenuPortal, m as ContextMenuCheckboxItem, n as ContextMenuSubTrigger, o as ContextMenuSeparator, p as ContextMenuContent, r as ContextMenuSubContent, s as ContextMenuRadioItem, t as ContextMenuTrigger, u as ContextMenuLabel } from "./context-menu-trigger-CYBhdcpg.js";
|
|
48
|
+
import { ContextMenu } from "./ui/context-menu.js";
|
|
49
|
+
import { CountryFlag } from "./ui/country-flag.js";
|
|
50
|
+
import { a as DrawerDescription, c as DrawerOverlay, i as DrawerFooter, l as DrawerClose, n as DrawerTitle, o as DrawerContent, r as DrawerHeader, s as DrawerPortal, t as DrawerTrigger } from "./drawer-trigger-7jI4Zmqs.js";
|
|
51
|
+
import { Drawer } from "./ui/drawer.js";
|
|
52
|
+
import { a as DropdownMenuShortcut, c as DropdownMenuRadioGroup, d as DropdownMenuItem, f as DropdownMenuGroup, i as DropdownMenuSub, l as DropdownMenuPortal, m as DropdownMenuCheckboxItem, n as DropdownMenuSubTrigger, o as DropdownMenuSeparator, p as DropdownMenuContent, r as DropdownMenuSubContent, s as DropdownMenuRadioItem, t as DropdownMenuTrigger, u as DropdownMenuLabel } from "./dropdown-menu-trigger-IKeAoU_a.js";
|
|
53
|
+
import { DropdownMenu } from "./ui/dropdown-menu.js";
|
|
54
|
+
import { a as useDropzoneContext, i as DropzoneContext, n as DropzoneIdle, r as DropzoneReject, t as DropzoneAccept } from "./dropzone-status-CW-3AXuh.js";
|
|
55
|
+
import { Dropzone, dropzoneVariants } from "./ui/dropzone.js";
|
|
56
|
+
import { a as EmojiPickerList, c as EmojiPickerActiveEmojiPreview, i as EmojiPickerLoading, l as EmojiPickerActiveEmoji, n as EmojiPickerSkinTone, o as EmojiPickerEmpty, r as EmojiPickerSearch, s as EmojiPickerContent, t as EmojiPickerSkinToneSelector } from "./emoji-picker-skin-tone-selector-Cmv-1vDO.js";
|
|
57
|
+
import { EmojiPicker } from "./ui/emoji-picker.js";
|
|
58
|
+
import { a as EmptyContent, i as EmptyDescription, n as EmptyMedia, r as EmptyHeader, t as EmptyTitle } from "./empty-title-CHNBH7WJ.js";
|
|
59
|
+
import { Empty } from "./ui/empty.js";
|
|
60
|
+
import { a as FormFieldLabel, c as FormFieldDescription, i as FormFieldLegend, l as FormFieldContent, n as FormFieldSet, o as FormFieldGroup, r as FormFieldSeparator, s as FormFieldError, t as FormFieldTitle } from "./form-field-title-CNrq8v88.js";
|
|
61
|
+
import { Label } from "./ui/label.js";
|
|
62
|
+
import { FormField, fieldVariants } from "./ui/form-field.js";
|
|
63
|
+
import { GoogleLogo } from "./ui/google-logo.js";
|
|
64
|
+
import { n as HoverCardContent, t as HoverCardTrigger } from "./hover-card-trigger-B9jf3FEB.js";
|
|
65
|
+
import { HoverCard } from "./ui/hover-card.js";
|
|
66
|
+
import { n as InputOTPSeparator, r as InputOTPGroup, t as InputOTPSlot } from "./input-otp-slot-DWbXhUmU.js";
|
|
67
|
+
import { InputOTP } from "./ui/input-otp.js";
|
|
68
|
+
import { a as ItemGroup, c as ItemContent, i as ItemHeader, l as ItemActions, n as ItemSeparator, o as ItemFooter, r as ItemMedia, s as ItemDescription, t as ItemTitle } from "./item-title-BYrYJZpa.js";
|
|
69
|
+
import { Item, itemVariants } from "./ui/item.js";
|
|
70
|
+
import { t as KbdGroup } from "./kbd-group-CT-Xtgug.js";
|
|
71
|
+
import { Kbd } from "./ui/kbd.js";
|
|
72
|
+
import { n as MarqueeFade, r as MarqueeContent, t as MarqueeItem } from "./marquee-item-BGJ5NSiz.js";
|
|
73
|
+
import { Marquee } from "./ui/marquee.js";
|
|
74
|
+
import { a as MenubarShortcut, c as MenubarRadioGroup, d as MenubarLabel, f as MenubarItem, h as MenubarCheckboxItem, i as MenubarSub, l as MenubarPortal, m as MenubarContent, n as MenubarSubTrigger, o as MenubarSeparator, p as MenubarGroup, r as MenubarSubContent, s as MenubarRadioItem, t as MenubarTrigger, u as MenubarMenu } from "./menubar-trigger-aKMWAxdz.js";
|
|
75
|
+
import { Menubar } from "./ui/menubar.js";
|
|
76
|
+
import { i as MeterIndicator, n as MeterTrack, r as MeterLabel, t as MeterValue } from "./meter-value-BmxUICOA.js";
|
|
77
|
+
import { Meter } from "./ui/meter.js";
|
|
78
|
+
import { a as NavigationMenuIndicator, i as NavigationMenuItem, n as NavigationMenuList, o as NavigationMenuContent, r as NavigationMenuLink, s as NavigationMenuPositioner, t as NavigationMenuTrigger } from "./navigation-menu-trigger-D80wiliM.js";
|
|
79
|
+
import { NavigationMenu } from "./ui/navigation-menu.js";
|
|
80
|
+
import { a as NumberFieldInput, c as NumberFieldDecrement, i as NumberFieldScrubAreaCursor, o as NumberFieldIncrement, r as useNumberField, s as NumberFieldGroup, t as NumberFieldScrubArea } from "./number-field-scrub-area-CXSyafBE.js";
|
|
81
|
+
import { NumberField } from "./ui/number-field.js";
|
|
82
|
+
import { a as PaginationEllipsis, i as PaginationItem, n as PaginationNext, o as PaginationContent, r as PaginationLink, t as PaginationPrevious } from "./pagination-previous-DPZrRgiD.js";
|
|
83
|
+
import { Pagination } from "./ui/pagination.js";
|
|
84
|
+
import { a as PillButton, i as PillDelta, n as PillIndicator, o as PillAvatarGroup, r as PillIcon, s as PillAvatar, t as PillStatus } from "./pill-status-CD9XXuE7.js";
|
|
85
|
+
import { Pill } from "./ui/pill.js";
|
|
86
|
+
import { a as PopoverContent, i as PopoverDescription, n as PopoverTitle, r as PopoverHeader, t as PopoverTrigger } from "./popover-trigger-C8dP_u7N.js";
|
|
87
|
+
import { Popover } from "./ui/popover.js";
|
|
88
|
+
import { i as ProgressIndicator, n as ProgressTrack, r as ProgressLabel, t as ProgressValue } from "./progress-value-CfCodKnX.js";
|
|
89
|
+
import { Progress } from "./ui/progress.js";
|
|
90
|
+
import { QRCode } from "./ui/qr-code.js";
|
|
91
|
+
import { t as RadioGroupItem } from "./radio-group-item-CQjCazjw.js";
|
|
92
|
+
import { RadioGroup } from "./ui/radio-group.js";
|
|
93
|
+
import { t as RatingStar } from "./rating-star-BuLQfAnZ.js";
|
|
94
|
+
import { Rating, ratingValueVariants, ratingVariants } from "./ui/rating.js";
|
|
95
|
+
import { n as ResizableHandle, t as ResizablePanel } from "./resizable-panel-BO97wcPj.js";
|
|
96
|
+
import { ResizablePanelGroup } from "./ui/resizable.js";
|
|
97
|
+
import { t as ScrollBar } from "./scroll-bar-BQzpb5hF.js";
|
|
98
|
+
import { ScrollArea } from "./ui/scroll-area.js";
|
|
99
|
+
import { a as SelectItem, c as SelectScrollUpButton, i as SelectLabel, l as SelectScrollDownButton, n as SelectTrigger, o as SelectGroup, r as SelectSeparator, s as SelectContent, t as SelectValue } from "./select-value-BUnWentK.js";
|
|
100
|
+
import { Select } from "./ui/select.js";
|
|
101
|
+
import { a as SheetDescription, c as SheetOverlay, i as SheetFooter, l as SheetClose, n as SheetTitle, o as SheetContent, r as SheetHeader, s as SheetPortal, t as SheetTrigger } from "./sheet-trigger-CUU7xwUn.js";
|
|
102
|
+
import { Sheet } from "./ui/sheet.js";
|
|
103
|
+
import { C as SidebarContent, S as SidebarFooter, _ as SidebarHeader, a as SidebarMenuSubItem, b as SidebarGroupAction, c as SidebarMenuSkeleton, d as useSidebar, f as SidebarMenuBadge, g as SidebarInput, h as SidebarInset, i as SidebarProvider, l as SidebarMenuItem, m as SidebarMenu, n as SidebarSeparator, o as SidebarMenuSubButton, p as SidebarMenuAction, r as SidebarRail, s as SidebarMenuSub, t as SidebarTrigger, u as SidebarMenuButton, v as SidebarGroupLabel, x as SidebarGroup, y as SidebarGroupContent } from "./sidebar-trigger-BCjVuIqi.js";
|
|
104
|
+
import { n as TooltipProvider, r as TooltipContent, t as TooltipTrigger } from "./tooltip-trigger-Z-aPDRog.js";
|
|
105
|
+
import { Tooltip } from "./ui/tooltip.js";
|
|
106
|
+
import { Skeleton } from "./ui/skeleton.js";
|
|
107
|
+
import { useIsMobile } from "./hooks/use-mobile.js";
|
|
108
|
+
import { Sidebar } from "./ui/sidebar.js";
|
|
109
|
+
import { Slider } from "./ui/slider.js";
|
|
110
|
+
import { Spacer } from "./ui/spacer.js";
|
|
111
|
+
import { Surface, surfaceVariants } from "./ui/surface.js";
|
|
112
|
+
import { Switch } from "./ui/switch.js";
|
|
113
|
+
import { a as TableCell, i as TableFooter, n as TableHeader, o as TableCaption, r as TableHead, s as TableBody, t as TableRow } from "./table-row-D63xalkM.js";
|
|
114
|
+
import { Table } from "./ui/table.js";
|
|
115
|
+
import { n as TabsList, r as TabsContent, t as TabsTrigger } from "./tabs-trigger-B2mBxFgq.js";
|
|
116
|
+
import { Tabs } from "./ui/tabs.js";
|
|
117
|
+
import { ThemeIcon, themeIconVariants } from "./ui/theme-icon.js";
|
|
118
|
+
import { a as TimelineDot, c as TimelineConnector, i as TimelineHeader, n as TimelineTime, o as TimelineDescription, r as TimelineItem, s as TimelineContent, t as TimelineTitle } from "./timeline-title-BH8JxX2n.js";
|
|
119
|
+
import { Timeline, timelineVariants } from "./ui/timeline.js";
|
|
120
|
+
import { a as ToastRoot, c as ToastContent, i as ToastTitle, l as ToastClose, n as ToastProvider, o as ToastPortal, r as ToastViewport, s as ToastDescription, t as useToast, u as ToastAction } from "./use-toast-DjRKuQG6.js";
|
|
121
|
+
import { Toast, createToastManager, useToastManager } from "./ui/toast.js";
|
|
122
|
+
import { Toggle, toggleVariants } from "./ui/toggle.js";
|
|
123
|
+
import { n as ToggleGroupContext, t as ToggleGroupItem } from "./toggle-group-item-aggwtgam.js";
|
|
124
|
+
import { ToggleGroup } from "./ui/toggle-group.js";
|
|
125
|
+
import { a as ToolbarButton, i as ToolbarGroup, n as ToolbarLink, r as ToolbarInput, t as ToolbarSeparator } from "./toolbar-separator-Bre5OtBI.js";
|
|
126
|
+
import { Toolbar } from "./ui/toolbar.js";
|
|
127
|
+
import { a as VideoPlayerSeekBackwardButton, c as VideoPlayerControlBar, i as VideoPlayerSeekForwardButton, l as VideoPlayerContent, n as VideoPlayerTimeRange, o as VideoPlayerPlayButton, r as VideoPlayerTimeDisplay, s as VideoPlayerMuteButton, t as VideoPlayerVolumeRange } from "./video-player-volume-range-V7x0b1-r.js";
|
|
128
|
+
import { VideoPlayer } from "./ui/video-player.js";
|
|
129
|
+
|
|
130
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, Affix, Alert, AlertAction, AlertDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, Announcement, AnnouncementTag, AnnouncementTitle, AspectRatio, Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteContent, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteIcon, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePortal, AutocompletePositioner, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarChevron, CalendarDayButton, CalendarRoot, CalendarWeekNumber, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, CheckboxGroup, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChipRemove, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, CountryFlag, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneAccept, DropzoneContext, DropzoneIdle, DropzoneReject, EmojiPicker, EmojiPickerActiveEmoji, EmojiPickerActiveEmojiPreview, EmojiPickerContent, EmojiPickerEmpty, EmojiPickerList, EmojiPickerLoading, EmojiPickerSearch, EmojiPickerSkinTone, EmojiPickerSkinToneSelector, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FormField, FormFieldContent, FormFieldDescription, FormFieldError, FormFieldGroup, FormFieldLabel, FormFieldLegend, FormFieldSeparator, FormFieldSet, FormFieldTitle, GoogleLogo, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Marquee, MarqueeContent, MarqueeFade, MarqueeItem, Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger, Meter, MeterIndicator, MeterLabel, MeterTrack, MeterValue, NavigationMenu, NavigationMenuContent, NavigationMenuIndicator, NavigationMenuItem, NavigationMenuLink, NavigationMenuList, NavigationMenuPositioner, NavigationMenuTrigger, NumberField, NumberFieldDecrement, NumberFieldGroup, NumberFieldIncrement, NumberFieldInput, NumberFieldScrubArea, NumberFieldScrubAreaCursor, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Pill, PillAvatar, PillAvatarGroup, PillButton, PillDelta, PillIcon, PillIndicator, PillStatus, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Portal, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, QRCode, RadioGroup, RadioGroupItem, Rating, RatingStar, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, Spacer, Spinner, Surface, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeIcon, Timeline, TimelineConnector, TimelineContent, TimelineDescription, TimelineDot, TimelineHeader, TimelineItem, TimelineTime, TimelineTitle, Toast, ToastAction, ToastClose, ToastContent, ToastDescription, ToastPortal, ToastProvider, ToastRoot, ToastTitle, ToastViewport, Toggle, ToggleGroup, ToggleGroupContext, ToggleGroupItem, Toolbar, ToolbarButton, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, VideoPlayer, VideoPlayerContent, VideoPlayerControlBar, VideoPlayerMuteButton, VideoPlayerPlayButton, VideoPlayerSeekBackwardButton, VideoPlayerSeekForwardButton, VideoPlayerTimeDisplay, VideoPlayerTimeRange, VideoPlayerVolumeRange, affixVariants, alertVariants, badgeVariants, buttonGroupVariants, buttonVariants, createToastManager, dropzoneVariants, fieldVariants, itemVariants, ratingValueVariants, ratingVariants, surfaceVariants, themeIconVariants, timelineVariants, toggleVariants, useCarousel, useChart, useComboboxAnchor, useDropzoneContext, useFilter, useIsMobile, useIsomorphicEffect, useNumberField, useSidebar, useToast, useToastManager };
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { Button } from "./ui/button.js";
|
|
2
|
+
import { Input } from "./ui/input.js";
|
|
3
|
+
import { Textarea } from "./ui/textarea.js";
|
|
4
|
+
import { cn, tv } from "tailwind-variants";
|
|
5
|
+
import { jsx } from "react/jsx-runtime";
|
|
6
|
+
|
|
7
|
+
//#region src/components/input-group/input-group-addon.tsx
|
|
8
|
+
const inputGroupAddonVariants = tv({
|
|
9
|
+
base: "flex h-auto cursor-text select-none items-center justify-center gap-2 py-1.5 font-medium text-muted-foreground text-sm group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4",
|
|
10
|
+
variants: { align: {
|
|
11
|
+
"inline-start": "order-first pl-2 has-[>button]:ml-[-0.25rem] has-[>kbd]:ml-[-0.15rem]",
|
|
12
|
+
"inline-end": "order-last pr-2 has-[>button]:mr-[-0.25rem] has-[>kbd]:mr-[-0.15rem]",
|
|
13
|
+
"block-start": "order-first w-full justify-start px-2.5 pt-2 group-has-[>input]/input-group:pt-2 [.border-b]:pb-2",
|
|
14
|
+
"block-end": "order-last w-full justify-start px-2.5 pb-2 group-has-[>input]/input-group:pb-2 [.border-t]:pt-2"
|
|
15
|
+
} },
|
|
16
|
+
defaultVariants: { align: "inline-start" }
|
|
17
|
+
});
|
|
18
|
+
const focusInput = (e) => {
|
|
19
|
+
if (e.target.closest("button")) return;
|
|
20
|
+
e.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
21
|
+
};
|
|
22
|
+
const handleKeyDown = (e) => {
|
|
23
|
+
if (e.key === "Enter" || e.key === " ") e.currentTarget.parentElement?.querySelector("input")?.focus();
|
|
24
|
+
};
|
|
25
|
+
const InputGroupAddon = ({ className, align = "inline-start", ...props }) => /* @__PURE__ */ jsx("div", {
|
|
26
|
+
className: cn(inputGroupAddonVariants({ align }), className),
|
|
27
|
+
"data-align": align,
|
|
28
|
+
"data-slot": "input-group-addon",
|
|
29
|
+
onClick: focusInput,
|
|
30
|
+
onKeyDown: handleKeyDown,
|
|
31
|
+
role: "group",
|
|
32
|
+
...props
|
|
33
|
+
});
|
|
34
|
+
|
|
35
|
+
//#endregion
|
|
36
|
+
//#region src/components/input-group/input-group-button.tsx
|
|
37
|
+
const inputGroupButtonVariants = tv({
|
|
38
|
+
base: "flex items-center gap-2 text-sm shadow-none",
|
|
39
|
+
variants: { size: {
|
|
40
|
+
xs: "h-6 gap-1 rounded-[calc(var(--radius)-5px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
|
|
41
|
+
sm: "",
|
|
42
|
+
"icon-xs": "size-6 rounded-[calc(var(--radius)-5px)] p-0 has-[>svg]:p-0",
|
|
43
|
+
"icon-sm": "size-8 p-0 has-[>svg]:p-0"
|
|
44
|
+
} },
|
|
45
|
+
defaultVariants: { size: "xs" }
|
|
46
|
+
});
|
|
47
|
+
const InputGroupButton = ({ className, type = "button", variant = "ghost", size = "xs", ...props }) => /* @__PURE__ */ jsx(Button, {
|
|
48
|
+
className: cn(inputGroupButtonVariants({ size }), className),
|
|
49
|
+
"data-size": size,
|
|
50
|
+
type,
|
|
51
|
+
variant,
|
|
52
|
+
...props
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
//#endregion
|
|
56
|
+
//#region src/components/input-group/input-group-input.tsx
|
|
57
|
+
const InputGroupInput = ({ className, ...props }) => /* @__PURE__ */ jsx(Input, {
|
|
58
|
+
className: cn("flex-1 rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", className),
|
|
59
|
+
"data-slot": "input-group-control",
|
|
60
|
+
...props
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
//#endregion
|
|
64
|
+
//#region src/components/input-group/input-group-text.tsx
|
|
65
|
+
const InputGroupText = ({ className, ...props }) => /* @__PURE__ */ jsx("span", {
|
|
66
|
+
className: cn("flex items-center gap-2 text-muted-foreground text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none", className),
|
|
67
|
+
...props
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
//#endregion
|
|
71
|
+
//#region src/components/input-group/input-group-textarea.tsx
|
|
72
|
+
const InputGroupTextarea = ({ className, ...props }) => /* @__PURE__ */ jsx(Textarea, {
|
|
73
|
+
className: cn("flex-1 resize-none rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent", className),
|
|
74
|
+
"data-slot": "input-group-control",
|
|
75
|
+
...props
|
|
76
|
+
});
|
|
77
|
+
|
|
78
|
+
//#endregion
|
|
79
|
+
export { InputGroupAddon as a, InputGroupButton as i, InputGroupText as n, InputGroupInput as r, InputGroupTextarea as t };
|