@still-void/ui 3.4.1 → 3.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -20,6 +20,7 @@ declare const colors: {
20
20
  readonly surface2: "#1C1C22";
21
21
  readonly border: "rgba(255,255,255,0.08)";
22
22
  readonly borderStrong: "rgba(255,255,255,0.14)";
23
+ readonly controlBorder: "#6B6B76";
23
24
  readonly text: "#EDEDF0";
24
25
  readonly text2: "#8B8B96";
25
26
  readonly text3: "#83838F";
@@ -31,6 +32,7 @@ declare const colors: {
31
32
  readonly surface2: "#F2F2EF";
32
33
  readonly border: "rgba(0,0,0,0.08)";
33
34
  readonly borderStrong: "rgba(0,0,0,0.14)";
35
+ readonly controlBorder: "#85858E";
34
36
  readonly text: "#16161B";
35
37
  readonly text2: "#5A5A66";
36
38
  readonly text3: "#6D6D76";
@@ -280,6 +282,46 @@ declare const DialogFooter: {
280
282
  declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
281
283
  declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
282
284
 
285
+ interface BottomSheetProps extends Omit<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>, "modal"> {
286
+ }
287
+ /**
288
+ * A modal panel that rises from the bottom edge — the mobile counterpart of
289
+ * Dialog. Same Radix behavior underneath: focus is trapped, Escape and the
290
+ * overlay dismiss, focus returns to the trigger. Open state may be controlled
291
+ * (`open` + `onOpenChange`) or uncontrolled (`defaultOpen`).
292
+ */
293
+ declare const BottomSheet: ({ open: openProp, defaultOpen, onOpenChange, ...props }: BottomSheetProps) => React.JSX.Element;
294
+ declare const BottomSheetTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
295
+ declare const BottomSheetClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
296
+ declare const BottomSheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
297
+ interface BottomSheetContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
298
+ /**
299
+ * The visible Cancel button in the sheet's top-right corner. On by default so
300
+ * every sheet has a pointer and keyboard way out besides the handle; `false`
301
+ * is for a flow that must end with an explicit choice.
302
+ */
303
+ showCloseButton?: boolean;
304
+ /** Text of the Cancel button (also its accessible name). Blank counts as omitted. */
305
+ closeLabel?: string;
306
+ /** Drag the handle down to dismiss. On by default; `false` leaves the handle decorative. */
307
+ draggable?: boolean;
308
+ }
309
+ declare const BottomSheetContent: React.ForwardRefExoticComponent<BottomSheetContentProps & React.RefAttributes<HTMLDivElement>>;
310
+ declare const BottomSheetHeader: {
311
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
312
+ displayName: string;
313
+ };
314
+ declare const BottomSheetBody: {
315
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
316
+ displayName: string;
317
+ };
318
+ declare const BottomSheetFooter: {
319
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
320
+ displayName: string;
321
+ };
322
+ declare const BottomSheetTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
323
+ declare const BottomSheetDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
324
+
283
325
  declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
284
326
  declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
285
327
  declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
@@ -462,4 +504,4 @@ declare function createReadingProgress(options?: ReadingProgressOptions): Readin
462
504
  /** Copy text to the clipboard. Returns false when the Clipboard API is unavailable or denied. */
463
505
  declare function copyToClipboard(text: string): Promise<boolean>;
464
506
 
465
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, CopyButton, type CopyButtonProps, DEFAULT_STORAGE_KEY, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type MediaQueryController, ReadingProgress$1 as ReadingProgress, type ReadingProgress as ReadingProgressController, type ReadingProgressOptions, type ReadingProgressProps, type ScrollSpy, type ScrollSpyOptions, Select, SelectContent, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, type SidebarCollapsible, type SidebarContextValue, SidebarInset, type SidebarInsetProps, SidebarPanel, type SidebarPanelProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, TableOfContents, type TableOfContentsProps, Tabs, TabsContent, TabsList, TabsTrigger, type ThemeContextValue, type ThemeManager, type ThemeManagerOptions, ThemeProvider, type ThemeProviderProps, type ThemeState, ThemeToggle, type ThemeToggleProps, type ToastAction, type ToastEntry, type ToastHandle, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, copyToClipboard, createMediaQuery, createReadingProgress, createScrollSpy, createThemeManager, useMediaQuery, useReadingProgress, useScrollSpy, useSidebar, useTheme, useToast };
507
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, BottomSheet, BottomSheetBody, BottomSheetClose, BottomSheetContent, type BottomSheetContentProps, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetOverlay, type BottomSheetProps, BottomSheetTitle, BottomSheetTrigger, CopyButton, type CopyButtonProps, DEFAULT_STORAGE_KEY, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type MediaQueryController, ReadingProgress$1 as ReadingProgress, type ReadingProgress as ReadingProgressController, type ReadingProgressOptions, type ReadingProgressProps, type ScrollSpy, type ScrollSpyOptions, Select, SelectContent, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, type SidebarCollapsible, type SidebarContextValue, SidebarInset, type SidebarInsetProps, SidebarPanel, type SidebarPanelProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, TableOfContents, type TableOfContentsProps, Tabs, TabsContent, TabsList, TabsTrigger, type ThemeContextValue, type ThemeManager, type ThemeManagerOptions, ThemeProvider, type ThemeProviderProps, type ThemeState, ThemeToggle, type ThemeToggleProps, type ToastAction, type ToastEntry, type ToastHandle, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, copyToClipboard, createMediaQuery, createReadingProgress, createScrollSpy, createThemeManager, useMediaQuery, useReadingProgress, useScrollSpy, useSidebar, useTheme, useToast };
@@ -20,6 +20,7 @@ declare const colors: {
20
20
  readonly surface2: "#1C1C22";
21
21
  readonly border: "rgba(255,255,255,0.08)";
22
22
  readonly borderStrong: "rgba(255,255,255,0.14)";
23
+ readonly controlBorder: "#6B6B76";
23
24
  readonly text: "#EDEDF0";
24
25
  readonly text2: "#8B8B96";
25
26
  readonly text3: "#83838F";
@@ -31,6 +32,7 @@ declare const colors: {
31
32
  readonly surface2: "#F2F2EF";
32
33
  readonly border: "rgba(0,0,0,0.08)";
33
34
  readonly borderStrong: "rgba(0,0,0,0.14)";
35
+ readonly controlBorder: "#85858E";
34
36
  readonly text: "#16161B";
35
37
  readonly text2: "#5A5A66";
36
38
  readonly text3: "#6D6D76";
@@ -280,6 +282,46 @@ declare const DialogFooter: {
280
282
  declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
281
283
  declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
282
284
 
285
+ interface BottomSheetProps extends Omit<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Root>, "modal"> {
286
+ }
287
+ /**
288
+ * A modal panel that rises from the bottom edge — the mobile counterpart of
289
+ * Dialog. Same Radix behavior underneath: focus is trapped, Escape and the
290
+ * overlay dismiss, focus returns to the trigger. Open state may be controlled
291
+ * (`open` + `onOpenChange`) or uncontrolled (`defaultOpen`).
292
+ */
293
+ declare const BottomSheet: ({ open: openProp, defaultOpen, onOpenChange, ...props }: BottomSheetProps) => React.JSX.Element;
294
+ declare const BottomSheetTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
295
+ declare const BottomSheetClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
296
+ declare const BottomSheetOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
297
+ interface BottomSheetContentProps extends React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content> {
298
+ /**
299
+ * The visible Cancel button in the sheet's top-right corner. On by default so
300
+ * every sheet has a pointer and keyboard way out besides the handle; `false`
301
+ * is for a flow that must end with an explicit choice.
302
+ */
303
+ showCloseButton?: boolean;
304
+ /** Text of the Cancel button (also its accessible name). Blank counts as omitted. */
305
+ closeLabel?: string;
306
+ /** Drag the handle down to dismiss. On by default; `false` leaves the handle decorative. */
307
+ draggable?: boolean;
308
+ }
309
+ declare const BottomSheetContent: React.ForwardRefExoticComponent<BottomSheetContentProps & React.RefAttributes<HTMLDivElement>>;
310
+ declare const BottomSheetHeader: {
311
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
312
+ displayName: string;
313
+ };
314
+ declare const BottomSheetBody: {
315
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
316
+ displayName: string;
317
+ };
318
+ declare const BottomSheetFooter: {
319
+ ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
320
+ displayName: string;
321
+ };
322
+ declare const BottomSheetTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
323
+ declare const BottomSheetDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
324
+
283
325
  declare const AlertDialog: React.FC<AlertDialogPrimitive.AlertDialogProps>;
284
326
  declare const AlertDialogTrigger: React.ForwardRefExoticComponent<AlertDialogPrimitive.AlertDialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
285
327
  declare const AlertDialogPortal: React.FC<AlertDialogPrimitive.AlertDialogPortalProps>;
@@ -462,4 +504,4 @@ declare function createReadingProgress(options?: ReadingProgressOptions): Readin
462
504
  /** Copy text to the clipboard. Returns false when the Clipboard API is unavailable or denied. */
463
505
  declare function copyToClipboard(text: string): Promise<boolean>;
464
506
 
465
- export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, CopyButton, type CopyButtonProps, DEFAULT_STORAGE_KEY, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type MediaQueryController, ReadingProgress$1 as ReadingProgress, type ReadingProgress as ReadingProgressController, type ReadingProgressOptions, type ReadingProgressProps, type ScrollSpy, type ScrollSpyOptions, Select, SelectContent, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, type SidebarCollapsible, type SidebarContextValue, SidebarInset, type SidebarInsetProps, SidebarPanel, type SidebarPanelProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, TableOfContents, type TableOfContentsProps, Tabs, TabsContent, TabsList, TabsTrigger, type ThemeContextValue, type ThemeManager, type ThemeManagerOptions, ThemeProvider, type ThemeProviderProps, type ThemeState, ThemeToggle, type ThemeToggleProps, type ToastAction, type ToastEntry, type ToastHandle, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, copyToClipboard, createMediaQuery, createReadingProgress, createScrollSpy, createThemeManager, useMediaQuery, useReadingProgress, useScrollSpy, useSidebar, useTheme, useToast };
507
+ export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, BottomSheet, BottomSheetBody, BottomSheetClose, BottomSheetContent, type BottomSheetContentProps, BottomSheetDescription, BottomSheetFooter, BottomSheetHeader, BottomSheetOverlay, type BottomSheetProps, BottomSheetTitle, BottomSheetTrigger, CopyButton, type CopyButtonProps, DEFAULT_STORAGE_KEY, Dialog, DialogClose, DialogContent, type DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, type DropdownMenuCheckboxItemProps, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, type DropdownMenuRadioItemProps, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, type DropdownMenuSubTriggerProps, DropdownMenuTrigger, type MediaQueryController, ReadingProgress$1 as ReadingProgress, type ReadingProgress as ReadingProgressController, type ReadingProgressOptions, type ReadingProgressProps, type ScrollSpy, type ScrollSpyOptions, Select, SelectContent, SelectGroup, SelectItem, type SelectItemProps, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, type SelectTriggerProps, SelectValue, type SidebarCollapsible, type SidebarContextValue, SidebarInset, type SidebarInsetProps, SidebarPanel, type SidebarPanelProps, SidebarProvider, type SidebarProviderProps, SidebarTrigger, type SidebarTriggerProps, TableOfContents, type TableOfContentsProps, Tabs, TabsContent, TabsList, TabsTrigger, type ThemeContextValue, type ThemeManager, type ThemeManagerOptions, ThemeProvider, type ThemeProviderProps, type ThemeState, ThemeToggle, type ThemeToggleProps, type ToastAction, type ToastEntry, type ToastHandle, type ToastOptions, ToastProvider, type ToastProviderProps, type ToastVariant, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, copyToClipboard, createMediaQuery, createReadingProgress, createScrollSpy, createThemeManager, useMediaQuery, useReadingProgress, useScrollSpy, useSidebar, useTheme, useToast };
@@ -19,6 +19,9 @@ var colors = {
19
19
  surface2: "#1C1C22",
20
20
  border: "rgba(255,255,255,0.08)",
21
21
  borderStrong: "rgba(255,255,255,0.14)",
22
+ // WCAG 1.4.11: edge of an input/select/checkbox must read ≥3:1 on every surface; the
23
+ // decorative borders above sit near 1.5:1 and stay decorative.
24
+ controlBorder: "#6B6B76",
22
25
  text: "#EDEDF0",
23
26
  text2: "#8B8B96",
24
27
  // Corrected from #5A5A66 (~2.6:1 on surface) to meet WCAG AA 4.5:1 — text3 is used for
@@ -32,6 +35,7 @@ var colors = {
32
35
  surface2: "#F2F2EF",
33
36
  border: "rgba(0,0,0,0.08)",
34
37
  borderStrong: "rgba(0,0,0,0.14)",
38
+ controlBorder: "#85858E",
35
39
  text: "#16161B",
36
40
  text2: "#5A5A66",
37
41
  // Corrected from #8B8B96 (~3.1:1 on white) to meet WCAG AA 4.5:1, same reasoning as dark.
@@ -990,14 +994,105 @@ var DialogDescription = React3.forwardRef(({ className, ...props }, ref) => /* @
990
994
  ));
991
995
  DialogDescription.displayName = "DialogDescription";
992
996
 
993
- // src/components/ui/alert-dialog.tsx
997
+ // src/components/ui/bottom-sheet.tsx
994
998
  import * as React4 from "react";
995
- import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
999
+ import * as DialogPrimitive2 from "@radix-ui/react-dialog";
996
1000
  import { jsx as jsx10, jsxs as jsxs4 } from "react/jsx-runtime";
1001
+ var DISMISS_DISTANCE = 96;
1002
+ var BottomSheetContext = React4.createContext(null);
1003
+ var BottomSheet = ({ open: openProp, defaultOpen = false, onOpenChange, ...props }) => {
1004
+ const [openState, setOpenState] = React4.useState(defaultOpen);
1005
+ const controlled = openProp !== void 0;
1006
+ const open = controlled ? openProp : openState;
1007
+ const setOpen = React4.useCallback(
1008
+ (next) => {
1009
+ if (!controlled) setOpenState(next);
1010
+ onOpenChange?.(next);
1011
+ },
1012
+ [controlled, onOpenChange]
1013
+ );
1014
+ const value = React4.useMemo(() => ({ close: () => setOpen(false) }), [setOpen]);
1015
+ return /* @__PURE__ */ jsx10(BottomSheetContext.Provider, { value, children: /* @__PURE__ */ jsx10(DialogPrimitive2.Root, { open, onOpenChange: setOpen, ...props }) });
1016
+ };
1017
+ var BottomSheetTrigger = DialogPrimitive2.Trigger;
1018
+ var BottomSheetClose = DialogPrimitive2.Close;
1019
+ var BottomSheetOverlay = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(DialogPrimitive2.Overlay, { ref, className: cn("sv-overlay", className), ...props }));
1020
+ BottomSheetOverlay.displayName = "BottomSheetOverlay";
1021
+ var BottomSheetContent = React4.forwardRef(
1022
+ ({ className, children, style, showCloseButton = true, closeLabel: closeLabelProp, draggable = true, ...props }, ref) => {
1023
+ const { close } = React4.useContext(BottomSheetContext);
1024
+ const closeLabel = closeLabelProp && closeLabelProp.trim().length > 0 ? closeLabelProp : "Cancel";
1025
+ const [offset, setOffset] = React4.useState(0);
1026
+ const [dragging, setDragging] = React4.useState(false);
1027
+ const startY = React4.useRef(0);
1028
+ const onPointerDown = (event) => {
1029
+ if (!draggable) return;
1030
+ startY.current = event.clientY;
1031
+ setDragging(true);
1032
+ event.currentTarget.setPointerCapture?.(event.pointerId);
1033
+ };
1034
+ const onPointerMove = (event) => {
1035
+ if (!dragging) return;
1036
+ setOffset(Math.max(0, event.clientY - startY.current));
1037
+ };
1038
+ const endDrag = () => {
1039
+ if (!dragging) return;
1040
+ setDragging(false);
1041
+ if (offset >= DISMISS_DISTANCE) close();
1042
+ else setOffset(0);
1043
+ };
1044
+ return /* @__PURE__ */ jsxs4(DialogPrimitive2.Portal, { children: [
1045
+ /* @__PURE__ */ jsx10(BottomSheetOverlay, {}),
1046
+ /* @__PURE__ */ jsxs4(
1047
+ DialogPrimitive2.Content,
1048
+ {
1049
+ ref,
1050
+ className: cn("sv-sheet", className),
1051
+ "data-dragging": dragging ? "true" : void 0,
1052
+ style: { ...style, ["--sv-sheet-drag"]: `${offset}px` },
1053
+ ...props,
1054
+ "aria-modal": "true",
1055
+ children: [
1056
+ /* @__PURE__ */ jsx10(
1057
+ "div",
1058
+ {
1059
+ className: "sv-sheet__handle",
1060
+ "data-draggable": draggable ? "true" : void 0,
1061
+ "aria-hidden": "true",
1062
+ onPointerDown,
1063
+ onPointerMove,
1064
+ onPointerUp: endDrag,
1065
+ onPointerCancel: endDrag
1066
+ }
1067
+ ),
1068
+ showCloseButton ? /* @__PURE__ */ jsx10(DialogPrimitive2.Close, { className: "sv-btn sv-btn--ghost sv-btn--sm sv-sheet__close", children: closeLabel }) : null,
1069
+ children
1070
+ ]
1071
+ }
1072
+ )
1073
+ ] });
1074
+ }
1075
+ );
1076
+ BottomSheetContent.displayName = "BottomSheetContent";
1077
+ var BottomSheetHeader = ({ className, ...props }) => /* @__PURE__ */ jsx10("div", { className: cn("sv-sheet__header", className), ...props });
1078
+ BottomSheetHeader.displayName = "BottomSheetHeader";
1079
+ var BottomSheetBody = ({ className, ...props }) => /* @__PURE__ */ jsx10("div", { className: cn("sv-sheet__body", className), ...props });
1080
+ BottomSheetBody.displayName = "BottomSheetBody";
1081
+ var BottomSheetFooter = ({ className, ...props }) => /* @__PURE__ */ jsx10("div", { className: cn("sv-sheet__footer", className), ...props });
1082
+ BottomSheetFooter.displayName = "BottomSheetFooter";
1083
+ var BottomSheetTitle = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(DialogPrimitive2.Title, { ref, className: cn("sv-sheet__title", className), ...props }));
1084
+ BottomSheetTitle.displayName = "BottomSheetTitle";
1085
+ var BottomSheetDescription = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(DialogPrimitive2.Description, { ref, className: cn("sv-sheet__description", className), ...props }));
1086
+ BottomSheetDescription.displayName = "BottomSheetDescription";
1087
+
1088
+ // src/components/ui/alert-dialog.tsx
1089
+ import * as React5 from "react";
1090
+ import * as AlertDialogPrimitive from "@radix-ui/react-alert-dialog";
1091
+ import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
997
1092
  var AlertDialog = AlertDialogPrimitive.Root;
998
1093
  var AlertDialogTrigger = AlertDialogPrimitive.Trigger;
999
1094
  var AlertDialogPortal = AlertDialogPrimitive.Portal;
1000
- var AlertDialogOverlay = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(
1095
+ var AlertDialogOverlay = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
1001
1096
  AlertDialogPrimitive.Overlay,
1002
1097
  {
1003
1098
  ref,
@@ -1006,9 +1101,9 @@ var AlertDialogOverlay = React4.forwardRef(({ className, ...props }, ref) => /*
1006
1101
  }
1007
1102
  ));
1008
1103
  AlertDialogOverlay.displayName = "AlertDialogOverlay";
1009
- var AlertDialogContent = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs4(AlertDialogPortal, { children: [
1010
- /* @__PURE__ */ jsx10(AlertDialogOverlay, {}),
1011
- /* @__PURE__ */ jsx10(
1104
+ var AlertDialogContent = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsxs5(AlertDialogPortal, { children: [
1105
+ /* @__PURE__ */ jsx11(AlertDialogOverlay, {}),
1106
+ /* @__PURE__ */ jsx11(
1012
1107
  AlertDialogPrimitive.Content,
1013
1108
  {
1014
1109
  ref,
@@ -1022,14 +1117,14 @@ AlertDialogContent.displayName = "AlertDialogContent";
1022
1117
  var AlertDialogHeader = ({
1023
1118
  className,
1024
1119
  ...props
1025
- }) => /* @__PURE__ */ jsx10("div", { className: cn("sv-dialog__header", className), ...props });
1120
+ }) => /* @__PURE__ */ jsx11("div", { className: cn("sv-dialog__header", className), ...props });
1026
1121
  AlertDialogHeader.displayName = "AlertDialogHeader";
1027
1122
  var AlertDialogFooter = ({
1028
1123
  className,
1029
1124
  ...props
1030
- }) => /* @__PURE__ */ jsx10("div", { className: cn("sv-dialog__footer", className), ...props });
1125
+ }) => /* @__PURE__ */ jsx11("div", { className: cn("sv-dialog__footer", className), ...props });
1031
1126
  AlertDialogFooter.displayName = "AlertDialogFooter";
1032
- var AlertDialogTitle = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(
1127
+ var AlertDialogTitle = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
1033
1128
  AlertDialogPrimitive.Title,
1034
1129
  {
1035
1130
  ref,
@@ -1038,7 +1133,7 @@ var AlertDialogTitle = React4.forwardRef(({ className, ...props }, ref) => /* @_
1038
1133
  }
1039
1134
  ));
1040
1135
  AlertDialogTitle.displayName = "AlertDialogTitle";
1041
- var AlertDialogDescription = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(
1136
+ var AlertDialogDescription = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
1042
1137
  AlertDialogPrimitive.Description,
1043
1138
  {
1044
1139
  ref,
@@ -1047,7 +1142,7 @@ var AlertDialogDescription = React4.forwardRef(({ className, ...props }, ref) =>
1047
1142
  }
1048
1143
  ));
1049
1144
  AlertDialogDescription.displayName = "AlertDialogDescription";
1050
- var AlertDialogAction = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(
1145
+ var AlertDialogAction = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
1051
1146
  AlertDialogPrimitive.Action,
1052
1147
  {
1053
1148
  ref,
@@ -1056,7 +1151,7 @@ var AlertDialogAction = React4.forwardRef(({ className, ...props }, ref) => /* @
1056
1151
  }
1057
1152
  ));
1058
1153
  AlertDialogAction.displayName = "AlertDialogAction";
1059
- var AlertDialogCancel = React4.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx10(
1154
+ var AlertDialogCancel = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
1060
1155
  AlertDialogPrimitive.Cancel,
1061
1156
  {
1062
1157
  ref,
@@ -1067,19 +1162,19 @@ var AlertDialogCancel = React4.forwardRef(({ className, ...props }, ref) => /* @
1067
1162
  AlertDialogCancel.displayName = "AlertDialogCancel";
1068
1163
 
1069
1164
  // src/components/ui/select.tsx
1070
- import * as React5 from "react";
1165
+ import * as React6 from "react";
1071
1166
  import * as SelectPrimitive from "@radix-ui/react-select";
1072
- import { jsx as jsx11, jsxs as jsxs5 } from "react/jsx-runtime";
1167
+ import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
1073
1168
  var Select = SelectPrimitive.Root;
1074
1169
  var SelectGroup = SelectPrimitive.Group;
1075
1170
  var SelectValue = SelectPrimitive.Value;
1076
- var SelectTrigger = React5.forwardRef(
1077
- ({ className, children, icon = /* @__PURE__ */ jsx11(Icon, { name: "chevron-down" }), ...props }, ref) => (
1171
+ var SelectTrigger = React6.forwardRef(
1172
+ ({ className, children, icon = /* @__PURE__ */ jsx12(Icon, { name: "chevron-down" }), ...props }, ref) => (
1078
1173
  // The trigger IS a form field, so it shares .sv-field with Input, Textarea
1079
1174
  // and NativeSelect rather than restating the frame. The utility string this
1080
1175
  // replaces named `ring-offset-background` and `focus:ring-accent`, neither
1081
1176
  // of which this package ever declared: the field had no visible focus.
1082
- /* @__PURE__ */ jsxs5(
1177
+ /* @__PURE__ */ jsxs6(
1083
1178
  SelectPrimitive.Trigger,
1084
1179
  {
1085
1180
  ref,
@@ -1087,34 +1182,34 @@ var SelectTrigger = React5.forwardRef(
1087
1182
  ...props,
1088
1183
  children: [
1089
1184
  children,
1090
- icon === null ? null : /* @__PURE__ */ jsx11(SelectPrimitive.Icon, { children: icon })
1185
+ icon === null ? null : /* @__PURE__ */ jsx12(SelectPrimitive.Icon, { children: icon })
1091
1186
  ]
1092
1187
  }
1093
1188
  )
1094
1189
  )
1095
1190
  );
1096
1191
  SelectTrigger.displayName = "SelectTrigger";
1097
- var SelectScrollUpButton = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
1192
+ var SelectScrollUpButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
1098
1193
  SelectPrimitive.ScrollUpButton,
1099
1194
  {
1100
1195
  ref,
1101
1196
  className: cn("sv-pop__scroll", className),
1102
1197
  ...props,
1103
- children: /* @__PURE__ */ jsx11(Icon, { name: "chevron-up" })
1198
+ children: /* @__PURE__ */ jsx12(Icon, { name: "chevron-up" })
1104
1199
  }
1105
1200
  ));
1106
1201
  SelectScrollUpButton.displayName = "SelectScrollUpButton";
1107
- var SelectScrollDownButton = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
1202
+ var SelectScrollDownButton = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
1108
1203
  SelectPrimitive.ScrollDownButton,
1109
1204
  {
1110
1205
  ref,
1111
1206
  className: cn("sv-pop__scroll", className),
1112
1207
  ...props,
1113
- children: /* @__PURE__ */ jsx11(Icon, { name: "chevron-down" })
1208
+ children: /* @__PURE__ */ jsx12(Icon, { name: "chevron-down" })
1114
1209
  }
1115
1210
  ));
1116
1211
  SelectScrollDownButton.displayName = "SelectScrollDownButton";
1117
- var SelectContent = React5.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx11(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs5(
1212
+ var SelectContent = React6.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ jsx12(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs6(
1118
1213
  SelectPrimitive.Content,
1119
1214
  {
1120
1215
  ref,
@@ -1122,8 +1217,8 @@ var SelectContent = React5.forwardRef(({ className, children, position = "popper
1122
1217
  position,
1123
1218
  ...props,
1124
1219
  children: [
1125
- /* @__PURE__ */ jsx11(SelectScrollUpButton, {}),
1126
- /* @__PURE__ */ jsx11(
1220
+ /* @__PURE__ */ jsx12(SelectScrollUpButton, {}),
1221
+ /* @__PURE__ */ jsx12(
1127
1222
  SelectPrimitive.Viewport,
1128
1223
  {
1129
1224
  className: cn(
@@ -1133,25 +1228,25 @@ var SelectContent = React5.forwardRef(({ className, children, position = "popper
1133
1228
  children
1134
1229
  }
1135
1230
  ),
1136
- /* @__PURE__ */ jsx11(SelectScrollDownButton, {})
1231
+ /* @__PURE__ */ jsx12(SelectScrollDownButton, {})
1137
1232
  ]
1138
1233
  }
1139
1234
  ) }));
1140
1235
  SelectContent.displayName = "SelectContent";
1141
- var SelectItem = React5.forwardRef(({ className, children, icon = /* @__PURE__ */ jsx11(Icon, { name: "check" }), ...props }, ref) => /* @__PURE__ */ jsxs5(
1236
+ var SelectItem = React6.forwardRef(({ className, children, icon = /* @__PURE__ */ jsx12(Icon, { name: "check" }), ...props }, ref) => /* @__PURE__ */ jsxs6(
1142
1237
  SelectPrimitive.Item,
1143
1238
  {
1144
1239
  ref,
1145
1240
  className: cn("sv-menu-item", className),
1146
1241
  ...props,
1147
1242
  children: [
1148
- icon === null ? null : /* @__PURE__ */ jsx11(SelectPrimitive.ItemIndicator, { className: "sv-menu-item__indicator", children: icon }),
1149
- /* @__PURE__ */ jsx11(SelectPrimitive.ItemText, { children })
1243
+ icon === null ? null : /* @__PURE__ */ jsx12(SelectPrimitive.ItemIndicator, { className: "sv-menu-item__indicator", children: icon }),
1244
+ /* @__PURE__ */ jsx12(SelectPrimitive.ItemText, { children })
1150
1245
  ]
1151
1246
  }
1152
1247
  ));
1153
1248
  SelectItem.displayName = "SelectItem";
1154
- var SelectLabel = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
1249
+ var SelectLabel = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
1155
1250
  SelectPrimitive.Label,
1156
1251
  {
1157
1252
  ref,
@@ -1160,7 +1255,7 @@ var SelectLabel = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE
1160
1255
  }
1161
1256
  ));
1162
1257
  SelectLabel.displayName = "SelectLabel";
1163
- var SelectSeparator = React5.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx11(
1258
+ var SelectSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
1164
1259
  SelectPrimitive.Separator,
1165
1260
  {
1166
1261
  ref,
@@ -1171,17 +1266,17 @@ var SelectSeparator = React5.forwardRef(({ className, ...props }, ref) => /* @__
1171
1266
  SelectSeparator.displayName = "SelectSeparator";
1172
1267
 
1173
1268
  // src/components/ui/dropdown-menu.tsx
1174
- import * as React6 from "react";
1269
+ import * as React7 from "react";
1175
1270
  import * as DropdownMenuPrimitive from "@radix-ui/react-dropdown-menu";
1176
- import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
1271
+ import { jsx as jsx13, jsxs as jsxs7 } from "react/jsx-runtime";
1177
1272
  var DropdownMenu = DropdownMenuPrimitive.Root;
1178
1273
  var DropdownMenuTrigger = DropdownMenuPrimitive.Trigger;
1179
1274
  var DropdownMenuGroup = DropdownMenuPrimitive.Group;
1180
1275
  var DropdownMenuPortal = DropdownMenuPrimitive.Portal;
1181
1276
  var DropdownMenuSub = DropdownMenuPrimitive.Sub;
1182
1277
  var DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup;
1183
- var DropdownMenuSubTrigger = React6.forwardRef(
1184
- ({ className, inset, children, icon = /* @__PURE__ */ jsx12(Icon, { name: "chevron-right" }), ...props }, ref) => /* @__PURE__ */ jsxs6(
1278
+ var DropdownMenuSubTrigger = React7.forwardRef(
1279
+ ({ className, inset, children, icon = /* @__PURE__ */ jsx13(Icon, { name: "chevron-right" }), ...props }, ref) => /* @__PURE__ */ jsxs7(
1185
1280
  DropdownMenuPrimitive.SubTrigger,
1186
1281
  {
1187
1282
  ref,
@@ -1195,7 +1290,7 @@ var DropdownMenuSubTrigger = React6.forwardRef(
1195
1290
  )
1196
1291
  );
1197
1292
  DropdownMenuSubTrigger.displayName = "DropdownMenuSubTrigger";
1198
- var DropdownMenuSubContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
1293
+ var DropdownMenuSubContent = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
1199
1294
  DropdownMenuPrimitive.SubContent,
1200
1295
  {
1201
1296
  ref,
@@ -1204,7 +1299,7 @@ var DropdownMenuSubContent = React6.forwardRef(({ className, ...props }, ref) =>
1204
1299
  }
1205
1300
  ));
1206
1301
  DropdownMenuSubContent.displayName = "DropdownMenuSubContent";
1207
- var DropdownMenuContent = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx12(
1302
+ var DropdownMenuContent = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(DropdownMenuPrimitive.Portal, { children: /* @__PURE__ */ jsx13(
1208
1303
  DropdownMenuPrimitive.Content,
1209
1304
  {
1210
1305
  ref,
@@ -1213,7 +1308,7 @@ var DropdownMenuContent = React6.forwardRef(({ className, ...props }, ref) => /*
1213
1308
  }
1214
1309
  ) }));
1215
1310
  DropdownMenuContent.displayName = "DropdownMenuContent";
1216
- var DropdownMenuItem = React6.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx12(
1311
+ var DropdownMenuItem = React7.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx13(
1217
1312
  DropdownMenuPrimitive.Item,
1218
1313
  {
1219
1314
  ref,
@@ -1222,35 +1317,35 @@ var DropdownMenuItem = React6.forwardRef(({ className, inset, ...props }, ref) =
1222
1317
  }
1223
1318
  ));
1224
1319
  DropdownMenuItem.displayName = "DropdownMenuItem";
1225
- var DropdownMenuCheckboxItem = React6.forwardRef(({ className, children, icon = /* @__PURE__ */ jsx12(Icon, { name: "check" }), ...props }, ref) => /* @__PURE__ */ jsxs6(
1320
+ var DropdownMenuCheckboxItem = React7.forwardRef(({ className, children, icon = /* @__PURE__ */ jsx13(Icon, { name: "check" }), ...props }, ref) => /* @__PURE__ */ jsxs7(
1226
1321
  DropdownMenuPrimitive.CheckboxItem,
1227
1322
  {
1228
1323
  ref,
1229
1324
  className: cn("sv-menu-item", className),
1230
1325
  ...props,
1231
1326
  children: [
1232
- icon === null ? null : /* @__PURE__ */ jsx12(DropdownMenuPrimitive.ItemIndicator, { className: "sv-menu-item__indicator", children: icon }),
1327
+ icon === null ? null : /* @__PURE__ */ jsx13(DropdownMenuPrimitive.ItemIndicator, { className: "sv-menu-item__indicator", children: icon }),
1233
1328
  children
1234
1329
  ]
1235
1330
  }
1236
1331
  ));
1237
1332
  DropdownMenuCheckboxItem.displayName = "DropdownMenuCheckboxItem";
1238
- var DropdownMenuRadioItem = React6.forwardRef(
1239
- ({ className, children, icon = /* @__PURE__ */ jsx12("span", { className: "sv-menu-item__dot" }), ...props }, ref) => /* @__PURE__ */ jsxs6(
1333
+ var DropdownMenuRadioItem = React7.forwardRef(
1334
+ ({ className, children, icon = /* @__PURE__ */ jsx13("span", { className: "sv-menu-item__dot" }), ...props }, ref) => /* @__PURE__ */ jsxs7(
1240
1335
  DropdownMenuPrimitive.RadioItem,
1241
1336
  {
1242
1337
  ref,
1243
1338
  className: cn("sv-menu-item", className),
1244
1339
  ...props,
1245
1340
  children: [
1246
- icon === null ? null : /* @__PURE__ */ jsx12(DropdownMenuPrimitive.ItemIndicator, { className: "sv-menu-item__indicator", children: icon }),
1341
+ icon === null ? null : /* @__PURE__ */ jsx13(DropdownMenuPrimitive.ItemIndicator, { className: "sv-menu-item__indicator", children: icon }),
1247
1342
  children
1248
1343
  ]
1249
1344
  }
1250
1345
  )
1251
1346
  );
1252
1347
  DropdownMenuRadioItem.displayName = "DropdownMenuRadioItem";
1253
- var DropdownMenuLabel = React6.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx12(
1348
+ var DropdownMenuLabel = React7.forwardRef(({ className, inset, ...props }, ref) => /* @__PURE__ */ jsx13(
1254
1349
  DropdownMenuPrimitive.Label,
1255
1350
  {
1256
1351
  ref,
@@ -1259,7 +1354,7 @@ var DropdownMenuLabel = React6.forwardRef(({ className, inset, ...props }, ref)
1259
1354
  }
1260
1355
  ));
1261
1356
  DropdownMenuLabel.displayName = "DropdownMenuLabel";
1262
- var DropdownMenuSeparator = React6.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx12(
1357
+ var DropdownMenuSeparator = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
1263
1358
  DropdownMenuPrimitive.Separator,
1264
1359
  {
1265
1360
  ref,
@@ -1271,14 +1366,14 @@ DropdownMenuSeparator.displayName = "DropdownMenuSeparator";
1271
1366
  var DropdownMenuShortcut = ({
1272
1367
  className,
1273
1368
  ...props
1274
- }) => /* @__PURE__ */ jsx12("span", { className: cn("sv-menu-shortcut", className), ...props });
1369
+ }) => /* @__PURE__ */ jsx13("span", { className: cn("sv-menu-shortcut", className), ...props });
1275
1370
  DropdownMenuShortcut.displayName = "DropdownMenuShortcut";
1276
1371
 
1277
1372
  // src/components/ui/tabs.tsx
1278
- import * as React7 from "react";
1373
+ import * as React8 from "react";
1279
1374
  import * as TabsPrimitive from "@radix-ui/react-tabs";
1280
- import { jsx as jsx13 } from "react/jsx-runtime";
1281
- var Tabs = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
1375
+ import { jsx as jsx14 } from "react/jsx-runtime";
1376
+ var Tabs = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1282
1377
  TabsPrimitive.Root,
1283
1378
  {
1284
1379
  ref,
@@ -1287,7 +1382,7 @@ var Tabs = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ j
1287
1382
  }
1288
1383
  ));
1289
1384
  Tabs.displayName = "Tabs";
1290
- var TabsList = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
1385
+ var TabsList = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1291
1386
  TabsPrimitive.List,
1292
1387
  {
1293
1388
  ref,
@@ -1296,7 +1391,7 @@ var TabsList = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__
1296
1391
  }
1297
1392
  ));
1298
1393
  TabsList.displayName = "TabsList";
1299
- var TabsTrigger = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
1394
+ var TabsTrigger = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1300
1395
  TabsPrimitive.Trigger,
1301
1396
  {
1302
1397
  ref,
@@ -1305,7 +1400,7 @@ var TabsTrigger = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE
1305
1400
  }
1306
1401
  ));
1307
1402
  TabsTrigger.displayName = "TabsTrigger";
1308
- var TabsContent = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx13(
1403
+ var TabsContent = React8.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx14(
1309
1404
  TabsPrimitive.Content,
1310
1405
  {
1311
1406
  ref,
@@ -1316,13 +1411,13 @@ var TabsContent = React7.forwardRef(({ className, ...props }, ref) => /* @__PURE
1316
1411
  TabsContent.displayName = "TabsContent";
1317
1412
 
1318
1413
  // src/components/ui/tooltip.tsx
1319
- import * as React8 from "react";
1414
+ import * as React9 from "react";
1320
1415
  import * as TooltipPrimitive from "@radix-ui/react-tooltip";
1321
- import { jsx as jsx14 } from "react/jsx-runtime";
1416
+ import { jsx as jsx15 } from "react/jsx-runtime";
1322
1417
  var TooltipProvider = TooltipPrimitive.Provider;
1323
1418
  var Tooltip = TooltipPrimitive.Root;
1324
1419
  var TooltipTrigger = TooltipPrimitive.Trigger;
1325
- var TooltipContent = React8.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx14(
1420
+ var TooltipContent = React9.forwardRef(({ className, sideOffset = 4, ...props }, ref) => /* @__PURE__ */ jsx15(
1326
1421
  TooltipPrimitive.Content,
1327
1422
  {
1328
1423
  ref,
@@ -1344,6 +1439,16 @@ export {
1344
1439
  AlertDialogPortal,
1345
1440
  AlertDialogTitle,
1346
1441
  AlertDialogTrigger,
1442
+ BottomSheet,
1443
+ BottomSheetBody,
1444
+ BottomSheetClose,
1445
+ BottomSheetContent,
1446
+ BottomSheetDescription,
1447
+ BottomSheetFooter,
1448
+ BottomSheetHeader,
1449
+ BottomSheetOverlay,
1450
+ BottomSheetTitle,
1451
+ BottomSheetTrigger,
1347
1452
  CopyButton,
1348
1453
  DEFAULT_STORAGE_KEY,
1349
1454
  Dialog2 as Dialog,