@iconoma/studio 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3383,32 +3383,50 @@ const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig);
3383
3383
  function cn$1(...inputs) {
3384
3384
  return twMerge(clsx(inputs));
3385
3385
  }
3386
- const buttonVariants = cva("cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", {
3387
- variants: {
3388
- variant: {
3389
- default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
3390
- destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
3391
- outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
3392
- secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
3393
- ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
3394
- link: "text-primary underline-offset-4 hover:underline",
3395
- selectable: "group relative border bg-background border-input hover:bg-accent hover:text-accent-foreground data-[selected=true]:bg-primary/10 data-[selected=true]:border-primary data-[selected=true]:text-primary dark:data-[selected=true]:bg-primary/20 data-[selected=true]:shadow-sm"
3386
+ const buttonVariants = cva(
3387
+ "cursor-pointer inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
3388
+ {
3389
+ variants: {
3390
+ variant: {
3391
+ default: "bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",
3392
+ destructive: "bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
3393
+ outline: "border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",
3394
+ secondary: "bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",
3395
+ ghost: "hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",
3396
+ link: "text-primary underline-offset-4 hover:underline",
3397
+ selectable: "group relative border bg-background border-input hover:bg-accent hover:text-accent-foreground data-[selected=true]:bg-primary/10 data-[selected=true]:border-primary data-[selected=true]:text-primary dark:data-[selected=true]:bg-primary/20 data-[selected=true]:shadow-sm"
3398
+ },
3399
+ size: {
3400
+ default: "h-9 px-4 py-2 has-[>svg]:px-3",
3401
+ sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
3402
+ lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
3403
+ icon: "size-9"
3404
+ }
3396
3405
  },
3397
- size: {
3398
- default: "h-9 px-4 py-2 has-[>svg]:px-3",
3399
- sm: "h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",
3400
- lg: "h-10 rounded-md px-6 has-[>svg]:px-4",
3401
- icon: "size-9"
3406
+ defaultVariants: {
3407
+ variant: "default",
3408
+ size: "default"
3402
3409
  }
3403
- },
3404
- defaultVariants: {
3405
- variant: "default",
3406
- size: "default"
3407
3410
  }
3408
- });
3409
- function Button({ className, variant, size: size2, asChild = false, selected, ...props }) {
3411
+ );
3412
+ function Button({
3413
+ className,
3414
+ variant,
3415
+ size: size2,
3416
+ asChild = false,
3417
+ selected,
3418
+ ...props
3419
+ }) {
3410
3420
  const Comp = asChild ? Slot$3 : "button";
3411
- return jsx$1(Comp, { "data-slot": "button", "data-selected": selected, className: cn$1(buttonVariants({ variant, size: size2, className })), ...props });
3421
+ return /* @__PURE__ */ jsx$1(
3422
+ Comp,
3423
+ {
3424
+ "data-slot": "button",
3425
+ "data-selected": selected,
3426
+ className: cn$1(buttonVariants({ variant, size: size2, className })),
3427
+ ...props
3428
+ }
3429
+ );
3412
3430
  }
3413
3431
  function __insertCSS(code) {
3414
3432
  if (typeof document == "undefined") return;
@@ -4496,16 +4514,15 @@ function useThemeSafe() {
4496
4514
  useEffect(() => {
4497
4515
  setMounted(true);
4498
4516
  const detectTheme = () => {
4499
- if (typeof window === "undefined")
4500
- return "system";
4517
+ if (typeof window === "undefined") return "system";
4501
4518
  const root = document.documentElement;
4502
4519
  const isDark = root.classList.contains("dark");
4503
4520
  const isLight = root.classList.contains("light");
4504
- if (isDark)
4505
- return "dark";
4506
- if (isLight)
4507
- return "light";
4508
- const prefersDark = window.matchMedia("(prefers-color-scheme: dark)").matches;
4521
+ if (isDark) return "dark";
4522
+ if (isLight) return "light";
4523
+ const prefersDark = window.matchMedia(
4524
+ "(prefers-color-scheme: dark)"
4525
+ ).matches;
4509
4526
  return prefersDark ? "dark" : "light";
4510
4527
  };
4511
4528
  setTheme(detectTheme());
@@ -4529,24 +4546,32 @@ function useThemeSafe() {
4529
4546
  function ClientOnlyToaster({ ...props }) {
4530
4547
  const { theme: theme2, mounted } = useThemeSafe();
4531
4548
  const finalTheme = mounted ? theme2 : "system";
4532
- return jsx$1(Toaster$1, { theme: finalTheme, className: "toaster group", icons: {
4533
- success: jsx$1(CircleCheckIcon, { className: "size-4" }),
4534
- info: jsx$1(InfoIcon$1, { className: "size-4" }),
4535
- warning: jsx$1(TriangleAlertIcon, { className: "size-4" }),
4536
- error: jsx$1(OctagonXIcon, { className: "size-4" }),
4537
- loading: jsx$1(Loader2Icon, { className: "size-4 animate-spin" })
4538
- }, style: {
4539
- "--normal-bg": "var(--popover)",
4540
- "--normal-text": "var(--popover-foreground)",
4541
- "--normal-border": "var(--border)",
4542
- "--border-radius": "var(--radius)"
4543
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
4544
- }, ...props });
4549
+ return /* @__PURE__ */ jsx$1(
4550
+ Toaster$1,
4551
+ {
4552
+ theme: finalTheme,
4553
+ className: "toaster group",
4554
+ icons: {
4555
+ success: /* @__PURE__ */ jsx$1(CircleCheckIcon, { className: "size-4" }),
4556
+ info: /* @__PURE__ */ jsx$1(InfoIcon$1, { className: "size-4" }),
4557
+ warning: /* @__PURE__ */ jsx$1(TriangleAlertIcon, { className: "size-4" }),
4558
+ error: /* @__PURE__ */ jsx$1(OctagonXIcon, { className: "size-4" }),
4559
+ loading: /* @__PURE__ */ jsx$1(Loader2Icon, { className: "size-4 animate-spin" })
4560
+ },
4561
+ style: {
4562
+ "--normal-bg": "var(--popover)",
4563
+ "--normal-text": "var(--popover-foreground)",
4564
+ "--normal-border": "var(--border)",
4565
+ "--border-radius": "var(--radius)"
4566
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
4567
+ },
4568
+ ...props
4569
+ }
4570
+ );
4545
4571
  }
4546
4572
  const Toaster2 = ({ ...props }) => {
4547
- if (typeof window === "undefined")
4548
- return null;
4549
- return jsx$1(ClientOnlyToaster, { ...props });
4573
+ if (typeof window === "undefined") return null;
4574
+ return /* @__PURE__ */ jsx$1(ClientOnlyToaster, { ...props });
4550
4575
  };
4551
4576
  function IconExamples({
4552
4577
  iconKey,
@@ -4718,7 +4743,20 @@ ${svgContent}
4718
4743
  ] });
4719
4744
  }
4720
4745
  function Input({ className, type, ...props }) {
4721
- return jsx$1("input", { type, "data-slot": "input", className: cn$1("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive", className), ...props });
4746
+ return /* @__PURE__ */ jsx$1(
4747
+ "input",
4748
+ {
4749
+ type,
4750
+ "data-slot": "input",
4751
+ className: cn$1(
4752
+ "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
4753
+ "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
4754
+ "aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
4755
+ className
4756
+ ),
4757
+ ...props
4758
+ }
4759
+ );
4722
4760
  }
4723
4761
  function clamp$1(value, [min2, max2]) {
4724
4762
  return Math.min(max2, Math.max(min2, value));
@@ -9656,26 +9694,136 @@ var ItemText = SelectItemText;
9656
9694
  var ItemIndicator = SelectItemIndicator;
9657
9695
  var ScrollUpButton = SelectScrollUpButton$1;
9658
9696
  var ScrollDownButton = SelectScrollDownButton$1;
9659
- function Select({ ...props }) {
9660
- return jsx$1(Root2$2, { "data-slot": "select", ...props });
9697
+ function Select({
9698
+ ...props
9699
+ }) {
9700
+ return /* @__PURE__ */ jsx$1(Root2$2, { "data-slot": "select", ...props });
9661
9701
  }
9662
- function SelectValue({ ...props }) {
9663
- return jsx$1(Value, { "data-slot": "select-value", ...props });
9702
+ function SelectValue({
9703
+ ...props
9704
+ }) {
9705
+ return /* @__PURE__ */ jsx$1(Value, { "data-slot": "select-value", ...props });
9664
9706
  }
9665
- function SelectTrigger({ className, size: size2 = "default", children, ...props }) {
9666
- return jsxs(Trigger$2, { "data-slot": "select-trigger", "data-size": size2, className: cn$1("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className), ...props, children: [children, jsx$1(Icon, { asChild: true, children: jsx$1(ChevronDownIcon, { className: "size-4 opacity-50" }) })] });
9707
+ function SelectTrigger({
9708
+ className,
9709
+ size: size2 = "default",
9710
+ children,
9711
+ ...props
9712
+ }) {
9713
+ return /* @__PURE__ */ jsxs(
9714
+ Trigger$2,
9715
+ {
9716
+ "data-slot": "select-trigger",
9717
+ "data-size": size2,
9718
+ className: cn$1(
9719
+ "border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9720
+ className
9721
+ ),
9722
+ ...props,
9723
+ children: [
9724
+ children,
9725
+ /* @__PURE__ */ jsx$1(Icon, { asChild: true, children: /* @__PURE__ */ jsx$1(ChevronDownIcon, { className: "size-4 opacity-50" }) })
9726
+ ]
9727
+ }
9728
+ );
9667
9729
  }
9668
- function SelectContent({ className, children, position = "item-aligned", align = "center", ...props }) {
9669
- return jsx$1(Portal$2, { children: jsxs(Content2$2, { "data-slot": "select-content", className: cn$1("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md", position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1", className), position, align, ...props, children: [jsx$1(SelectScrollUpButton, {}), jsx$1(Viewport$2, { className: cn$1("p-1", position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"), children }), jsx$1(SelectScrollDownButton, {})] }) });
9730
+ function SelectContent({
9731
+ className,
9732
+ children,
9733
+ position = "item-aligned",
9734
+ align = "center",
9735
+ ...props
9736
+ }) {
9737
+ return /* @__PURE__ */ jsx$1(Portal$2, { children: /* @__PURE__ */ jsxs(
9738
+ Content2$2,
9739
+ {
9740
+ "data-slot": "select-content",
9741
+ className: cn$1(
9742
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
9743
+ position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
9744
+ className
9745
+ ),
9746
+ position,
9747
+ align,
9748
+ ...props,
9749
+ children: [
9750
+ /* @__PURE__ */ jsx$1(SelectScrollUpButton, {}),
9751
+ /* @__PURE__ */ jsx$1(
9752
+ Viewport$2,
9753
+ {
9754
+ className: cn$1(
9755
+ "p-1",
9756
+ position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
9757
+ ),
9758
+ children
9759
+ }
9760
+ ),
9761
+ /* @__PURE__ */ jsx$1(SelectScrollDownButton, {})
9762
+ ]
9763
+ }
9764
+ ) });
9670
9765
  }
9671
- function SelectItem({ className, children, ...props }) {
9672
- return jsxs(Item$1, { "data-slot": "select-item", className: cn$1("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2", className), ...props, children: [jsx$1("span", { "data-slot": "select-item-indicator", className: "absolute right-2 flex size-3.5 items-center justify-center", children: jsx$1(ItemIndicator, { children: jsx$1(CheckIcon, { className: "size-4" }) }) }), jsx$1(ItemText, { children })] });
9766
+ function SelectItem({
9767
+ className,
9768
+ children,
9769
+ ...props
9770
+ }) {
9771
+ return /* @__PURE__ */ jsxs(
9772
+ Item$1,
9773
+ {
9774
+ "data-slot": "select-item",
9775
+ className: cn$1(
9776
+ "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
9777
+ className
9778
+ ),
9779
+ ...props,
9780
+ children: [
9781
+ /* @__PURE__ */ jsx$1(
9782
+ "span",
9783
+ {
9784
+ "data-slot": "select-item-indicator",
9785
+ className: "absolute right-2 flex size-3.5 items-center justify-center",
9786
+ children: /* @__PURE__ */ jsx$1(ItemIndicator, { children: /* @__PURE__ */ jsx$1(CheckIcon, { className: "size-4" }) })
9787
+ }
9788
+ ),
9789
+ /* @__PURE__ */ jsx$1(ItemText, { children })
9790
+ ]
9791
+ }
9792
+ );
9673
9793
  }
9674
- function SelectScrollUpButton({ className, ...props }) {
9675
- return jsx$1(ScrollUpButton, { "data-slot": "select-scroll-up-button", className: cn$1("flex cursor-default items-center justify-center py-1", className), ...props, children: jsx$1(ChevronUpIcon, { className: "size-4" }) });
9794
+ function SelectScrollUpButton({
9795
+ className,
9796
+ ...props
9797
+ }) {
9798
+ return /* @__PURE__ */ jsx$1(
9799
+ ScrollUpButton,
9800
+ {
9801
+ "data-slot": "select-scroll-up-button",
9802
+ className: cn$1(
9803
+ "flex cursor-default items-center justify-center py-1",
9804
+ className
9805
+ ),
9806
+ ...props,
9807
+ children: /* @__PURE__ */ jsx$1(ChevronUpIcon, { className: "size-4" })
9808
+ }
9809
+ );
9676
9810
  }
9677
- function SelectScrollDownButton({ className, ...props }) {
9678
- return jsx$1(ScrollDownButton, { "data-slot": "select-scroll-down-button", className: cn$1("flex cursor-default items-center justify-center py-1", className), ...props, children: jsx$1(ChevronDownIcon, { className: "size-4" }) });
9811
+ function SelectScrollDownButton({
9812
+ className,
9813
+ ...props
9814
+ }) {
9815
+ return /* @__PURE__ */ jsx$1(
9816
+ ScrollDownButton,
9817
+ {
9818
+ "data-slot": "select-scroll-down-button",
9819
+ className: cn$1(
9820
+ "flex cursor-default items-center justify-center py-1",
9821
+ className
9822
+ ),
9823
+ ...props,
9824
+ children: /* @__PURE__ */ jsx$1(ChevronDownIcon, { className: "size-4" })
9825
+ }
9826
+ );
9679
9827
  }
9680
9828
  function useStateMachine$1(initialState2, machine) {
9681
9829
  return React.useReducer((state, event) => {
@@ -10101,98 +10249,339 @@ var Title = DialogTitle$1;
10101
10249
  var Description = DialogDescription$1;
10102
10250
  var Close = DialogClose;
10103
10251
  function Sheet({ ...props }) {
10104
- return jsx$1(Root$5, { "data-slot": "sheet", ...props });
10252
+ return /* @__PURE__ */ jsx$1(Root$5, { "data-slot": "sheet", ...props });
10105
10253
  }
10106
- function SheetPortal({ ...props }) {
10107
- return jsx$1(Portal$1, { "data-slot": "sheet-portal", ...props });
10254
+ function SheetPortal({
10255
+ ...props
10256
+ }) {
10257
+ return /* @__PURE__ */ jsx$1(Portal$1, { "data-slot": "sheet-portal", ...props });
10108
10258
  }
10109
- function SheetOverlay({ className, ...props }) {
10110
- return jsx$1(Overlay, { "data-slot": "sheet-overlay", className: cn$1("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className), ...props });
10259
+ function SheetOverlay({
10260
+ className,
10261
+ ...props
10262
+ }) {
10263
+ return /* @__PURE__ */ jsx$1(
10264
+ Overlay,
10265
+ {
10266
+ "data-slot": "sheet-overlay",
10267
+ className: cn$1(
10268
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
10269
+ className
10270
+ ),
10271
+ ...props
10272
+ }
10273
+ );
10111
10274
  }
10112
- function SheetContent({ className, children, side = "right", ...props }) {
10113
- return jsxs(SheetPortal, { children: [jsx$1(SheetOverlay, {}), jsxs(Content$1, { "data-slot": "sheet-content", className: cn$1("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500", side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm", side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm", side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b", side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t", className), ...props, children: [children, jsxs(Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [jsx$1(XIcon, { className: "size-4" }), jsx$1("span", { className: "sr-only", children: "Close" })] })] })] });
10275
+ function SheetContent({
10276
+ className,
10277
+ children,
10278
+ side = "right",
10279
+ ...props
10280
+ }) {
10281
+ return /* @__PURE__ */ jsxs(SheetPortal, { children: [
10282
+ /* @__PURE__ */ jsx$1(SheetOverlay, {}),
10283
+ /* @__PURE__ */ jsxs(
10284
+ Content$1,
10285
+ {
10286
+ "data-slot": "sheet-content",
10287
+ className: cn$1(
10288
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
10289
+ side === "right" && "data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",
10290
+ side === "left" && "data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",
10291
+ side === "top" && "data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",
10292
+ side === "bottom" && "data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",
10293
+ className
10294
+ ),
10295
+ ...props,
10296
+ children: [
10297
+ children,
10298
+ /* @__PURE__ */ jsxs(Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
10299
+ /* @__PURE__ */ jsx$1(XIcon, { className: "size-4" }),
10300
+ /* @__PURE__ */ jsx$1("span", { className: "sr-only", children: "Close" })
10301
+ ] })
10302
+ ]
10303
+ }
10304
+ )
10305
+ ] });
10114
10306
  }
10115
10307
  function SheetHeader({ className, ...props }) {
10116
- return jsx$1("div", { "data-slot": "sheet-header", className: cn$1("flex flex-col gap-1.5 p-4", className), ...props });
10308
+ return /* @__PURE__ */ jsx$1(
10309
+ "div",
10310
+ {
10311
+ "data-slot": "sheet-header",
10312
+ className: cn$1("flex flex-col gap-1.5 p-4", className),
10313
+ ...props
10314
+ }
10315
+ );
10117
10316
  }
10118
10317
  function SheetFooter({ className, ...props }) {
10119
- return jsx$1("div", { "data-slot": "sheet-footer", className: cn$1("mt-auto flex flex-col gap-2 p-4", className), ...props });
10318
+ return /* @__PURE__ */ jsx$1(
10319
+ "div",
10320
+ {
10321
+ "data-slot": "sheet-footer",
10322
+ className: cn$1("mt-auto flex flex-col gap-2 p-4", className),
10323
+ ...props
10324
+ }
10325
+ );
10120
10326
  }
10121
- function SheetTitle({ className, ...props }) {
10122
- return jsx$1(Title, { "data-slot": "sheet-title", className: cn$1("text-foreground font-semibold", className), ...props });
10327
+ function SheetTitle({
10328
+ className,
10329
+ ...props
10330
+ }) {
10331
+ return /* @__PURE__ */ jsx$1(
10332
+ Title,
10333
+ {
10334
+ "data-slot": "sheet-title",
10335
+ className: cn$1("text-foreground font-semibold", className),
10336
+ ...props
10337
+ }
10338
+ );
10123
10339
  }
10124
- function SheetDescription({ className, ...props }) {
10125
- return jsx$1(Description, { "data-slot": "sheet-description", className: cn$1("text-muted-foreground text-sm", className), ...props });
10340
+ function SheetDescription({
10341
+ className,
10342
+ ...props
10343
+ }) {
10344
+ return /* @__PURE__ */ jsx$1(
10345
+ Description,
10346
+ {
10347
+ "data-slot": "sheet-description",
10348
+ className: cn$1("text-muted-foreground text-sm", className),
10349
+ ...props
10350
+ }
10351
+ );
10126
10352
  }
10127
- function Dialog({ ...props }) {
10128
- return jsx$1(Root$5, { "data-slot": "dialog", ...props });
10353
+ function Dialog({
10354
+ ...props
10355
+ }) {
10356
+ return /* @__PURE__ */ jsx$1(Root$5, { "data-slot": "dialog", ...props });
10129
10357
  }
10130
- function DialogPortal({ ...props }) {
10131
- return jsx$1(Portal$1, { "data-slot": "dialog-portal", ...props });
10358
+ function DialogPortal({
10359
+ ...props
10360
+ }) {
10361
+ return /* @__PURE__ */ jsx$1(Portal$1, { "data-slot": "dialog-portal", ...props });
10132
10362
  }
10133
- function DialogOverlay({ className, ...props }) {
10134
- return jsx$1(Overlay, { "data-slot": "dialog-overlay", className: cn$1("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50", className), ...props });
10363
+ function DialogOverlay({
10364
+ className,
10365
+ ...props
10366
+ }) {
10367
+ return /* @__PURE__ */ jsx$1(
10368
+ Overlay,
10369
+ {
10370
+ "data-slot": "dialog-overlay",
10371
+ className: cn$1(
10372
+ "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
10373
+ className
10374
+ ),
10375
+ ...props
10376
+ }
10377
+ );
10135
10378
  }
10136
- function DialogContent({ className, children, showCloseButton = true, ...props }) {
10137
- return jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [jsx$1(DialogOverlay, {}), jsxs(Content$1, { "data-slot": "dialog-content", className: cn$1("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg", className), ...props, children: [children, showCloseButton && jsxs(Close, { "data-slot": "dialog-close", className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", children: [jsx$1(XIcon, {}), jsx$1("span", { className: "sr-only", children: "Close" })] })] })] });
10379
+ function DialogContent({
10380
+ className,
10381
+ children,
10382
+ showCloseButton = true,
10383
+ ...props
10384
+ }) {
10385
+ return /* @__PURE__ */ jsxs(DialogPortal, { "data-slot": "dialog-portal", children: [
10386
+ /* @__PURE__ */ jsx$1(DialogOverlay, {}),
10387
+ /* @__PURE__ */ jsxs(
10388
+ Content$1,
10389
+ {
10390
+ "data-slot": "dialog-content",
10391
+ className: cn$1(
10392
+ "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 outline-none sm:max-w-lg",
10393
+ className
10394
+ ),
10395
+ ...props,
10396
+ children: [
10397
+ children,
10398
+ showCloseButton && /* @__PURE__ */ jsxs(
10399
+ Close,
10400
+ {
10401
+ "data-slot": "dialog-close",
10402
+ className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
10403
+ children: [
10404
+ /* @__PURE__ */ jsx$1(XIcon, {}),
10405
+ /* @__PURE__ */ jsx$1("span", { className: "sr-only", children: "Close" })
10406
+ ]
10407
+ }
10408
+ )
10409
+ ]
10410
+ }
10411
+ )
10412
+ ] });
10138
10413
  }
10139
10414
  function DialogHeader({ className, ...props }) {
10140
- return jsx$1("div", { "data-slot": "dialog-header", className: cn$1("flex flex-col gap-2 text-center sm:text-left", className), ...props });
10415
+ return /* @__PURE__ */ jsx$1(
10416
+ "div",
10417
+ {
10418
+ "data-slot": "dialog-header",
10419
+ className: cn$1("flex flex-col gap-2 text-center sm:text-left", className),
10420
+ ...props
10421
+ }
10422
+ );
10141
10423
  }
10142
10424
  function DialogFooter({ className, ...props }) {
10143
- return jsx$1("div", { "data-slot": "dialog-footer", className: cn$1("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", className), ...props });
10425
+ return /* @__PURE__ */ jsx$1(
10426
+ "div",
10427
+ {
10428
+ "data-slot": "dialog-footer",
10429
+ className: cn$1(
10430
+ "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
10431
+ className
10432
+ ),
10433
+ ...props
10434
+ }
10435
+ );
10144
10436
  }
10145
- function DialogTitle({ className, ...props }) {
10146
- return jsx$1(Title, { "data-slot": "dialog-title", className: cn$1("text-lg leading-none font-semibold", className), ...props });
10437
+ function DialogTitle({
10438
+ className,
10439
+ ...props
10440
+ }) {
10441
+ return /* @__PURE__ */ jsx$1(
10442
+ Title,
10443
+ {
10444
+ "data-slot": "dialog-title",
10445
+ className: cn$1("text-lg leading-none font-semibold", className),
10446
+ ...props
10447
+ }
10448
+ );
10147
10449
  }
10148
- function DialogDescription({ className, ...props }) {
10149
- return jsx$1(Description, { "data-slot": "dialog-description", className: cn$1("text-muted-foreground text-sm", className), ...props });
10450
+ function DialogDescription({
10451
+ className,
10452
+ ...props
10453
+ }) {
10454
+ return /* @__PURE__ */ jsx$1(
10455
+ Description,
10456
+ {
10457
+ "data-slot": "dialog-description",
10458
+ className: cn$1("text-muted-foreground text-sm", className),
10459
+ ...props
10460
+ }
10461
+ );
10150
10462
  }
10151
10463
  function Empty({ className, ...props }) {
10152
- return jsx$1("div", { "data-slot": "empty", className: cn$1("flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12", className), ...props });
10464
+ return /* @__PURE__ */ jsx$1(
10465
+ "div",
10466
+ {
10467
+ "data-slot": "empty",
10468
+ className: cn$1(
10469
+ "flex min-w-0 flex-1 flex-col items-center justify-center gap-6 rounded-lg border-dashed p-6 text-center text-balance md:p-12",
10470
+ className
10471
+ ),
10472
+ ...props
10473
+ }
10474
+ );
10153
10475
  }
10154
10476
  function EmptyHeader({ className, ...props }) {
10155
- return jsx$1("div", { "data-slot": "empty-header", className: cn$1("flex max-w-sm flex-col items-center gap-2 text-center", className), ...props });
10477
+ return /* @__PURE__ */ jsx$1(
10478
+ "div",
10479
+ {
10480
+ "data-slot": "empty-header",
10481
+ className: cn$1(
10482
+ "flex max-w-sm flex-col items-center gap-2 text-center",
10483
+ className
10484
+ ),
10485
+ ...props
10486
+ }
10487
+ );
10156
10488
  }
10157
- const emptyMediaVariants = cva("flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
10158
- variants: {
10159
- variant: {
10160
- default: "bg-transparent",
10161
- icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6"
10489
+ const emptyMediaVariants = cva(
10490
+ "flex shrink-0 items-center justify-center mb-2 [&_svg]:pointer-events-none [&_svg]:shrink-0",
10491
+ {
10492
+ variants: {
10493
+ variant: {
10494
+ default: "bg-transparent",
10495
+ icon: "bg-muted text-foreground flex size-10 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-6"
10496
+ }
10497
+ },
10498
+ defaultVariants: {
10499
+ variant: "default"
10162
10500
  }
10163
- },
10164
- defaultVariants: {
10165
- variant: "default"
10166
10501
  }
10167
- });
10168
- function EmptyMedia({ className, variant = "default", ...props }) {
10169
- return jsx$1("div", { "data-slot": "empty-icon", "data-variant": variant, className: cn$1(emptyMediaVariants({ variant, className })), ...props });
10502
+ );
10503
+ function EmptyMedia({
10504
+ className,
10505
+ variant = "default",
10506
+ ...props
10507
+ }) {
10508
+ return /* @__PURE__ */ jsx$1(
10509
+ "div",
10510
+ {
10511
+ "data-slot": "empty-icon",
10512
+ "data-variant": variant,
10513
+ className: cn$1(emptyMediaVariants({ variant, className })),
10514
+ ...props
10515
+ }
10516
+ );
10170
10517
  }
10171
10518
  function EmptyTitle({ className, ...props }) {
10172
- return jsx$1("div", { "data-slot": "empty-title", className: cn$1("text-lg font-medium tracking-tight", className), ...props });
10519
+ return /* @__PURE__ */ jsx$1(
10520
+ "div",
10521
+ {
10522
+ "data-slot": "empty-title",
10523
+ className: cn$1("text-lg font-medium tracking-tight", className),
10524
+ ...props
10525
+ }
10526
+ );
10173
10527
  }
10174
10528
  function EmptyDescription({ className, ...props }) {
10175
- return jsx$1("div", { "data-slot": "empty-description", className: cn$1("text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4", className), ...props });
10529
+ return /* @__PURE__ */ jsx$1(
10530
+ "div",
10531
+ {
10532
+ "data-slot": "empty-description",
10533
+ className: cn$1(
10534
+ "text-muted-foreground [&>a:hover]:text-primary text-sm/relaxed [&>a]:underline [&>a]:underline-offset-4",
10535
+ className
10536
+ ),
10537
+ ...props
10538
+ }
10539
+ );
10176
10540
  }
10177
10541
  function EmptyContent({ className, ...props }) {
10178
- return jsx$1("div", { "data-slot": "empty-content", className: cn$1("flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance", className), ...props });
10542
+ return /* @__PURE__ */ jsx$1(
10543
+ "div",
10544
+ {
10545
+ "data-slot": "empty-content",
10546
+ className: cn$1(
10547
+ "flex w-full max-w-sm min-w-0 flex-col items-center gap-4 text-sm text-balance",
10548
+ className
10549
+ ),
10550
+ ...props
10551
+ }
10552
+ );
10179
10553
  }
10180
- const badgeVariants = cva("inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden", {
10181
- variants: {
10182
- variant: {
10183
- default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
10184
- secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
10185
- destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
10186
- outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
10554
+ const badgeVariants = cva(
10555
+ "inline-flex items-center justify-center rounded-full border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
10556
+ {
10557
+ variants: {
10558
+ variant: {
10559
+ default: "border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",
10560
+ secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
10561
+ destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
10562
+ outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"
10563
+ }
10564
+ },
10565
+ defaultVariants: {
10566
+ variant: "default"
10187
10567
  }
10188
- },
10189
- defaultVariants: {
10190
- variant: "default"
10191
10568
  }
10192
- });
10193
- function Badge({ className, variant, asChild = false, ...props }) {
10569
+ );
10570
+ function Badge({
10571
+ className,
10572
+ variant,
10573
+ asChild = false,
10574
+ ...props
10575
+ }) {
10194
10576
  const Comp = asChild ? Slot$3 : "span";
10195
- return jsx$1(Comp, { "data-slot": "badge", className: cn$1(badgeVariants({ variant }), className), ...props });
10577
+ return /* @__PURE__ */ jsx$1(
10578
+ Comp,
10579
+ {
10580
+ "data-slot": "badge",
10581
+ className: cn$1(badgeVariants({ variant }), className),
10582
+ ...props
10583
+ }
10584
+ );
10196
10585
  }
10197
10586
  function Home() {
10198
10587
  const navigate = useNavigate();
@@ -39891,8 +40280,21 @@ var Label$1 = React.forwardRef((props, forwardedRef) => {
39891
40280
  });
39892
40281
  Label$1.displayName = NAME$1;
39893
40282
  var Root$4 = Label$1;
39894
- function Label({ className, ...props }) {
39895
- return jsx$1(Root$4, { "data-slot": "label", className: cn$1("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50", className), ...props });
40283
+ function Label({
40284
+ className,
40285
+ ...props
40286
+ }) {
40287
+ return /* @__PURE__ */ jsx$1(
40288
+ Root$4,
40289
+ {
40290
+ "data-slot": "label",
40291
+ className: cn$1(
40292
+ "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
40293
+ className
40294
+ ),
40295
+ ...props
40296
+ }
40297
+ );
39896
40298
  }
39897
40299
  var NAME = "Separator";
39898
40300
  var DEFAULT_ORIENTATION = "horizontal";
@@ -39917,39 +40319,104 @@ function isValidOrientation(orientation) {
39917
40319
  return ORIENTATIONS.includes(orientation);
39918
40320
  }
39919
40321
  var Root$3 = Separator$1;
39920
- function Separator({ className, orientation = "horizontal", decorative = true, ...props }) {
39921
- return jsx$1(Root$3, { "data-slot": "separator", decorative, orientation, className: cn$1("bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px", className), ...props });
40322
+ function Separator({
40323
+ className,
40324
+ orientation = "horizontal",
40325
+ decorative = true,
40326
+ ...props
40327
+ }) {
40328
+ return /* @__PURE__ */ jsx$1(
40329
+ Root$3,
40330
+ {
40331
+ "data-slot": "separator",
40332
+ decorative,
40333
+ orientation,
40334
+ className: cn$1(
40335
+ "bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
40336
+ className
40337
+ ),
40338
+ ...props
40339
+ }
40340
+ );
39922
40341
  }
39923
- const fieldVariants = cva("group/field flex w-full gap-3 data-[invalid=true]:text-destructive", {
39924
- variants: {
39925
- orientation: {
39926
- vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
39927
- horizontal: [
39928
- "flex-row items-center",
39929
- "[&>[data-slot=field-label]]:flex-auto",
39930
- "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
39931
- ],
39932
- responsive: [
39933
- "flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto",
39934
- "@md/field-group:[&>[data-slot=field-label]]:flex-auto",
39935
- "@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
39936
- ]
40342
+ const fieldVariants = cva(
40343
+ "group/field flex w-full gap-3 data-[invalid=true]:text-destructive",
40344
+ {
40345
+ variants: {
40346
+ orientation: {
40347
+ vertical: ["flex-col [&>*]:w-full [&>.sr-only]:w-auto"],
40348
+ horizontal: [
40349
+ "flex-row items-center",
40350
+ "[&>[data-slot=field-label]]:flex-auto",
40351
+ "has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
40352
+ ],
40353
+ responsive: [
40354
+ "flex-col [&>*]:w-full [&>.sr-only]:w-auto @md/field-group:flex-row @md/field-group:items-center @md/field-group:[&>*]:w-auto",
40355
+ "@md/field-group:[&>[data-slot=field-label]]:flex-auto",
40356
+ "@md/field-group:has-[>[data-slot=field-content]]:items-start @md/field-group:has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px"
40357
+ ]
40358
+ }
40359
+ },
40360
+ defaultVariants: {
40361
+ orientation: "vertical"
39937
40362
  }
39938
- },
39939
- defaultVariants: {
39940
- orientation: "vertical"
39941
40363
  }
39942
- });
39943
- function Field({ className, orientation = "vertical", ...props }) {
39944
- return jsx$1("div", { role: "group", "data-slot": "field", "data-orientation": orientation, className: cn$1(fieldVariants({ orientation }), className), ...props });
40364
+ );
40365
+ function Field({
40366
+ className,
40367
+ orientation = "vertical",
40368
+ ...props
40369
+ }) {
40370
+ return /* @__PURE__ */ jsx$1(
40371
+ "div",
40372
+ {
40373
+ role: "group",
40374
+ "data-slot": "field",
40375
+ "data-orientation": orientation,
40376
+ className: cn$1(fieldVariants({ orientation }), className),
40377
+ ...props
40378
+ }
40379
+ );
39945
40380
  }
39946
- function FieldLabel({ className, ...props }) {
39947
- return jsx$1(Label, { "data-slot": "field-label", className: cn$1("group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4", "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10", className), ...props });
40381
+ function FieldLabel({
40382
+ className,
40383
+ ...props
40384
+ }) {
40385
+ return /* @__PURE__ */ jsx$1(
40386
+ Label,
40387
+ {
40388
+ "data-slot": "field-label",
40389
+ className: cn$1(
40390
+ "group/field-label peer/field-label flex w-fit gap-2 leading-snug group-data-[disabled=true]/field:opacity-50",
40391
+ "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col has-[>[data-slot=field]]:rounded-md has-[>[data-slot=field]]:border [&>*]:data-[slot=field]:p-4",
40392
+ "has-data-[state=checked]:bg-primary/5 has-data-[state=checked]:border-primary dark:has-data-[state=checked]:bg-primary/10",
40393
+ className
40394
+ ),
40395
+ ...props
40396
+ }
40397
+ );
39948
40398
  }
39949
40399
  function FieldDescription({ className, ...props }) {
39950
- return jsx$1("p", { "data-slot": "field-description", className: cn$1("text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance", "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", className), ...props });
40400
+ return /* @__PURE__ */ jsx$1(
40401
+ "p",
40402
+ {
40403
+ "data-slot": "field-description",
40404
+ className: cn$1(
40405
+ "text-muted-foreground text-sm leading-normal font-normal group-has-[[data-orientation=horizontal]]/field:text-balance",
40406
+ "last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5",
40407
+ "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4",
40408
+ className
40409
+ ),
40410
+ ...props
40411
+ }
40412
+ );
39951
40413
  }
39952
- function FieldError({ className, children, errors, ...props }) {
40414
+ function FieldError({
40415
+ className,
40416
+ children,
40417
+ errors,
40418
+ ...props
40419
+ }) {
39953
40420
  const content2 = useMemo(() => {
39954
40421
  if (children) {
39955
40422
  return children;
@@ -39963,12 +40430,23 @@ function FieldError({ className, children, errors, ...props }) {
39963
40430
  if (uniqueErrors?.length == 1) {
39964
40431
  return uniqueErrors[0]?.message;
39965
40432
  }
39966
- return jsx$1("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map((error, index2) => error?.message && jsx$1("li", { children: error.message }, index2)) });
40433
+ return /* @__PURE__ */ jsx$1("ul", { className: "ml-4 flex list-disc flex-col gap-1", children: uniqueErrors.map(
40434
+ (error, index2) => error?.message && /* @__PURE__ */ jsx$1("li", { children: error.message }, index2)
40435
+ ) });
39967
40436
  }, [children, errors]);
39968
40437
  if (!content2) {
39969
40438
  return null;
39970
40439
  }
39971
- return jsx$1("div", { role: "alert", "data-slot": "field-error", className: cn$1("text-destructive text-sm font-normal", className), ...props, children: content2 });
40440
+ return /* @__PURE__ */ jsx$1(
40441
+ "div",
40442
+ {
40443
+ role: "alert",
40444
+ "data-slot": "field-error",
40445
+ className: cn$1("text-destructive text-sm font-normal", className),
40446
+ ...props,
40447
+ children: content2
40448
+ }
40449
+ );
39972
40450
  }
39973
40451
  function detectSvgColors(svgContent) {
39974
40452
  if (!svgContent || typeof svgContent !== "string") {
@@ -40759,11 +41237,58 @@ function useResizeObserver(element, onResize) {
40759
41237
  var Root$2 = ScrollArea$1;
40760
41238
  var Viewport2 = ScrollAreaViewport;
40761
41239
  var Corner = ScrollAreaCorner;
40762
- function ScrollArea({ className, children, ...props }) {
40763
- return jsxs(Root$2, { "data-slot": "scroll-area", className: cn$1("relative", className), ...props, children: [jsx$1(Viewport2, { "data-slot": "scroll-area-viewport", className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1 p-2.5 -mx-2.5", children }), jsx$1(ScrollBar, {}), jsx$1(Corner, {})] });
41240
+ function ScrollArea({
41241
+ className,
41242
+ children,
41243
+ ...props
41244
+ }) {
41245
+ return /* @__PURE__ */ jsxs(
41246
+ Root$2,
41247
+ {
41248
+ "data-slot": "scroll-area",
41249
+ className: cn$1("relative", className),
41250
+ ...props,
41251
+ children: [
41252
+ /* @__PURE__ */ jsx$1(
41253
+ Viewport2,
41254
+ {
41255
+ "data-slot": "scroll-area-viewport",
41256
+ className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1 p-2.5 -mx-2.5",
41257
+ children
41258
+ }
41259
+ ),
41260
+ /* @__PURE__ */ jsx$1(ScrollBar, {}),
41261
+ /* @__PURE__ */ jsx$1(Corner, {})
41262
+ ]
41263
+ }
41264
+ );
40764
41265
  }
40765
- function ScrollBar({ className, orientation = "vertical", ...props }) {
40766
- return jsx$1(ScrollAreaScrollbar, { "data-slot": "scroll-area-scrollbar", orientation, className: cn$1("flex touch-none p-px transition-colors select-none", orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent", orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent", className), ...props, children: jsx$1(ScrollAreaThumb, { "data-slot": "scroll-area-thumb", className: "bg-border relative flex-1 rounded-full" }) });
41266
+ function ScrollBar({
41267
+ className,
41268
+ orientation = "vertical",
41269
+ ...props
41270
+ }) {
41271
+ return /* @__PURE__ */ jsx$1(
41272
+ ScrollAreaScrollbar,
41273
+ {
41274
+ "data-slot": "scroll-area-scrollbar",
41275
+ orientation,
41276
+ className: cn$1(
41277
+ "flex touch-none p-px transition-colors select-none",
41278
+ orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent",
41279
+ orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent",
41280
+ className
41281
+ ),
41282
+ ...props,
41283
+ children: /* @__PURE__ */ jsx$1(
41284
+ ScrollAreaThumb,
41285
+ {
41286
+ "data-slot": "scroll-area-thumb",
41287
+ className: "bg-border relative flex-1 rounded-full"
41288
+ }
41289
+ )
41290
+ }
41291
+ );
40767
41292
  }
40768
41293
  const iconFormSchema = z$1.object({
40769
41294
  name: z$1.string().min(1, "Name is required"),
@@ -41751,9 +42276,61 @@ var Root$1 = Slider$1;
41751
42276
  var Track = SliderTrack;
41752
42277
  var Range3 = SliderRange;
41753
42278
  var Thumb = SliderThumb;
41754
- function Slider({ className, defaultValue, value, min: min2 = 0, max: max2 = 100, ...props }) {
41755
- const _values = React.useMemo(() => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min2, max2], [value, defaultValue, min2, max2]);
41756
- return jsxs(Root$1, { "data-slot": "slider", defaultValue, value, min: min2, max: max2, className: cn$1("relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col", className), ...props, children: [jsx$1(Track, { "data-slot": "slider-track", className: cn$1("bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"), children: jsx$1(Range3, { "data-slot": "slider-range", className: cn$1("bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full") }) }), Array.from({ length: _values.length }, (_, index2) => jsx$1(Thumb, { "data-slot": "slider-thumb", className: "border-primary ring-ring/50 block size-4 shrink-0 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50" }, index2))] });
42279
+ function Slider({
42280
+ className,
42281
+ defaultValue,
42282
+ value,
42283
+ min: min2 = 0,
42284
+ max: max2 = 100,
42285
+ ...props
42286
+ }) {
42287
+ const _values = React.useMemo(
42288
+ () => Array.isArray(value) ? value : Array.isArray(defaultValue) ? defaultValue : [min2, max2],
42289
+ [value, defaultValue, min2, max2]
42290
+ );
42291
+ return /* @__PURE__ */ jsxs(
42292
+ Root$1,
42293
+ {
42294
+ "data-slot": "slider",
42295
+ defaultValue,
42296
+ value,
42297
+ min: min2,
42298
+ max: max2,
42299
+ className: cn$1(
42300
+ "relative flex w-full touch-none items-center select-none data-[disabled]:opacity-50 data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=vertical]:w-auto data-[orientation=vertical]:flex-col",
42301
+ className
42302
+ ),
42303
+ ...props,
42304
+ children: [
42305
+ /* @__PURE__ */ jsx$1(
42306
+ Track,
42307
+ {
42308
+ "data-slot": "slider-track",
42309
+ className: cn$1(
42310
+ "bg-muted relative grow overflow-hidden rounded-full data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
42311
+ ),
42312
+ children: /* @__PURE__ */ jsx$1(
42313
+ Range3,
42314
+ {
42315
+ "data-slot": "slider-range",
42316
+ className: cn$1(
42317
+ "bg-primary absolute data-[orientation=horizontal]:h-full data-[orientation=vertical]:w-full"
42318
+ )
42319
+ }
42320
+ )
42321
+ }
42322
+ ),
42323
+ Array.from({ length: _values.length }, (_, index2) => /* @__PURE__ */ jsx$1(
42324
+ Thumb,
42325
+ {
42326
+ "data-slot": "slider-thumb",
42327
+ className: "border-primary ring-ring/50 block size-4 shrink-0 rounded-full border bg-white shadow-sm transition-[color,box-shadow] hover:ring-4 focus-visible:ring-4 focus-visible:outline-hidden disabled:pointer-events-none disabled:opacity-50"
42328
+ },
42329
+ index2
42330
+ ))
42331
+ ]
42332
+ }
42333
+ );
41757
42334
  }
41758
42335
  function IconPreview() {
41759
42336
  const { iconKey } = useParams();
@@ -42513,17 +43090,59 @@ var Item = AccordionItem$1;
42513
43090
  var Header$1 = AccordionHeader;
42514
43091
  var Trigger2 = AccordionTrigger$1;
42515
43092
  var Content2$1 = AccordionContent$1;
42516
- function Accordion({ ...props }) {
42517
- return jsx$1(Root2$1, { "data-slot": "accordion", ...props });
43093
+ function Accordion({
43094
+ ...props
43095
+ }) {
43096
+ return /* @__PURE__ */ jsx$1(Root2$1, { "data-slot": "accordion", ...props });
42518
43097
  }
42519
- function AccordionItem({ className, ...props }) {
42520
- return jsx$1(Item, { "data-slot": "accordion-item", className: cn$1("border-b last:border-b-0", className), ...props });
43098
+ function AccordionItem({
43099
+ className,
43100
+ ...props
43101
+ }) {
43102
+ return /* @__PURE__ */ jsx$1(
43103
+ Item,
43104
+ {
43105
+ "data-slot": "accordion-item",
43106
+ className: cn$1("border-b last:border-b-0", className),
43107
+ ...props
43108
+ }
43109
+ );
42521
43110
  }
42522
- function AccordionTrigger({ className, children, ...props }) {
42523
- return jsx$1(Header$1, { className: "flex", children: jsxs(Trigger2, { "data-slot": "accordion-trigger", className: cn$1("focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180", className), ...props, children: [children, jsx$1(ChevronDownIcon, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })] }) });
43111
+ function AccordionTrigger({
43112
+ className,
43113
+ children,
43114
+ ...props
43115
+ }) {
43116
+ return /* @__PURE__ */ jsx$1(Header$1, { className: "flex", children: /* @__PURE__ */ jsxs(
43117
+ Trigger2,
43118
+ {
43119
+ "data-slot": "accordion-trigger",
43120
+ className: cn$1(
43121
+ "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
43122
+ className
43123
+ ),
43124
+ ...props,
43125
+ children: [
43126
+ children,
43127
+ /* @__PURE__ */ jsx$1(ChevronDownIcon, { className: "text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200" })
43128
+ ]
43129
+ }
43130
+ ) });
42524
43131
  }
42525
- function AccordionContent({ className, children, ...props }) {
42526
- return jsx$1(Content2$1, { "data-slot": "accordion-content", className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm", ...props, children: jsx$1("div", { className: cn$1("pt-0 pb-4", className), children }) });
43132
+ function AccordionContent({
43133
+ className,
43134
+ children,
43135
+ ...props
43136
+ }) {
43137
+ return /* @__PURE__ */ jsx$1(
43138
+ Content2$1,
43139
+ {
43140
+ "data-slot": "accordion-content",
43141
+ className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm",
43142
+ ...props,
43143
+ children: /* @__PURE__ */ jsx$1("div", { className: cn$1("pt-0 pb-4", className), children })
43144
+ }
43145
+ );
42527
43146
  }
42528
43147
  var CHECKBOX_NAME = "Checkbox";
42529
43148
  var [createCheckboxContext] = createContextScope(CHECKBOX_NAME);
@@ -42782,8 +43401,29 @@ function isIndeterminate(checked) {
42782
43401
  function getState$1(checked) {
42783
43402
  return isIndeterminate(checked) ? "indeterminate" : checked ? "checked" : "unchecked";
42784
43403
  }
42785
- function Checkbox({ className, ...props }) {
42786
- return jsx$1(Checkbox$1, { "data-slot": "checkbox", className: cn$1("peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50", className), ...props, children: jsx$1(CheckboxIndicator, { "data-slot": "checkbox-indicator", className: "grid place-content-center text-current transition-none", children: jsx$1(CheckIcon, { className: "size-3.5" }) }) });
43404
+ function Checkbox({
43405
+ className,
43406
+ ...props
43407
+ }) {
43408
+ return /* @__PURE__ */ jsx$1(
43409
+ Checkbox$1,
43410
+ {
43411
+ "data-slot": "checkbox",
43412
+ className: cn$1(
43413
+ "peer border-input dark:bg-input/30 data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:data-[state=checked]:bg-primary data-[state=checked]:border-primary focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive size-4 shrink-0 rounded-[4px] border shadow-xs transition-shadow outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50",
43414
+ className
43415
+ ),
43416
+ ...props,
43417
+ children: /* @__PURE__ */ jsx$1(
43418
+ CheckboxIndicator,
43419
+ {
43420
+ "data-slot": "checkbox-indicator",
43421
+ className: "grid place-content-center text-current transition-none",
43422
+ children: /* @__PURE__ */ jsx$1(CheckIcon, { className: "size-3.5" })
43423
+ }
43424
+ )
43425
+ }
43426
+ );
42787
43427
  }
42788
43428
  function ConfigFormStep({
42789
43429
  form,
@@ -43139,16 +43779,50 @@ function ColorVariablesSection({ form }) {
43139
43779
  ] });
43140
43780
  }
43141
43781
  function Card({ className, ...props }) {
43142
- return jsx$1("div", { "data-slot": "card", className: cn$1("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm", className), ...props });
43782
+ return /* @__PURE__ */ jsx$1(
43783
+ "div",
43784
+ {
43785
+ "data-slot": "card",
43786
+ className: cn$1(
43787
+ "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
43788
+ className
43789
+ ),
43790
+ ...props
43791
+ }
43792
+ );
43143
43793
  }
43144
43794
  function CardHeader({ className, ...props }) {
43145
- return jsx$1("div", { "data-slot": "card-header", className: cn$1("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6", className), ...props });
43795
+ return /* @__PURE__ */ jsx$1(
43796
+ "div",
43797
+ {
43798
+ "data-slot": "card-header",
43799
+ className: cn$1(
43800
+ "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
43801
+ className
43802
+ ),
43803
+ ...props
43804
+ }
43805
+ );
43146
43806
  }
43147
43807
  function CardTitle({ className, ...props }) {
43148
- return jsx$1("div", { "data-slot": "card-title", className: cn$1("leading-none font-semibold", className), ...props });
43808
+ return /* @__PURE__ */ jsx$1(
43809
+ "div",
43810
+ {
43811
+ "data-slot": "card-title",
43812
+ className: cn$1("leading-none font-semibold", className),
43813
+ ...props
43814
+ }
43815
+ );
43149
43816
  }
43150
43817
  function CardContent({ className, ...props }) {
43151
- return jsx$1("div", { "data-slot": "card-content", className: cn$1("px-6", className), ...props });
43818
+ return /* @__PURE__ */ jsx$1(
43819
+ "div",
43820
+ {
43821
+ "data-slot": "card-content",
43822
+ className: cn$1("px-6", className),
43823
+ ...props
43824
+ }
43825
+ );
43152
43826
  }
43153
43827
  const changeTypeConfig = {
43154
43828
  MIGRATE_SVG_TO_LOCK: {
@@ -43783,14 +44457,35 @@ var Root2 = Popover$1;
43783
44457
  var Trigger = PopoverTrigger$1;
43784
44458
  var Portal = PopoverPortal;
43785
44459
  var Content2 = PopoverContent$1;
43786
- function Popover({ ...props }) {
43787
- return jsx$1(Root2, { "data-slot": "popover", ...props });
44460
+ function Popover({
44461
+ ...props
44462
+ }) {
44463
+ return /* @__PURE__ */ jsx$1(Root2, { "data-slot": "popover", ...props });
43788
44464
  }
43789
- function PopoverTrigger({ ...props }) {
43790
- return jsx$1(Trigger, { "data-slot": "popover-trigger", ...props });
44465
+ function PopoverTrigger({
44466
+ ...props
44467
+ }) {
44468
+ return /* @__PURE__ */ jsx$1(Trigger, { "data-slot": "popover-trigger", ...props });
43791
44469
  }
43792
- function PopoverContent({ className, align = "center", sideOffset = 4, ...props }) {
43793
- return jsx$1(Portal, { children: jsx$1(Content2, { "data-slot": "popover-content", align, sideOffset, className: cn$1("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden", className), ...props }) });
44470
+ function PopoverContent({
44471
+ className,
44472
+ align = "center",
44473
+ sideOffset = 4,
44474
+ ...props
44475
+ }) {
44476
+ return /* @__PURE__ */ jsx$1(Portal, { children: /* @__PURE__ */ jsx$1(
44477
+ Content2,
44478
+ {
44479
+ "data-slot": "popover-content",
44480
+ align,
44481
+ sideOffset,
44482
+ className: cn$1(
44483
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=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-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
44484
+ className
44485
+ ),
44486
+ ...props
44487
+ }
44488
+ ) });
43794
44489
  }
43795
44490
  function ColorPicker() {
43796
44491
  const {