@acronis-platform/shadcn-uikit 0.17.0 → 0.19.0

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.
@@ -3,6 +3,7 @@ import * as React from 'react';
3
3
  declare const Select: typeof BaseSelect.Root;
4
4
  declare const SelectGroup: React.ForwardRefExoticComponent<Omit<import('@base-ui/react/select').SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
5
  declare const SelectValue: React.ForwardRefExoticComponent<Omit<import('@base-ui/react/select').SelectValueProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
+ declare const SelectPortal: React.ForwardRefExoticComponent<Omit<import('@base-ui/react/select').SelectPortalProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
7
  declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react/select').SelectTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
8
  declare const SelectScrollUpButton: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react/select').SelectScrollUpArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
9
  declare const SelectScrollDownButton: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react/select').SelectScrollDownArrowProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
@@ -14,4 +15,4 @@ declare const SelectContent: React.ForwardRefExoticComponent<Omit<Omit<import('@
14
15
  declare const SelectLabel: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react/select').SelectGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
15
16
  declare const SelectItem: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react/select').SelectItemProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
16
17
  declare const SelectSeparator: React.ForwardRefExoticComponent<Omit<Omit<import('node_modules/@base-ui/react/esm/separator/Separator').SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
17
- export { Select, SelectGroup, SelectValue, SelectTrigger, SelectContent, SelectLabel, SelectItem, SelectSeparator, SelectScrollUpButton, SelectScrollDownButton, };
18
+ export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectPortal, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, };
@@ -1,12 +1,12 @@
1
- import { jsxs as n, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as s, jsx as e } from "react/jsx-runtime";
2
2
  import * as a from "react";
3
- import { ChevronDown as s, ChevronUp as u, Check as g } from "lucide-react";
3
+ import { ChevronDown as i, ChevronUp as g, Check as S } from "lucide-react";
4
4
  import { cn as l } from "../../lib/utils.js";
5
5
  import { SelectTrigger as h } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/trigger/SelectTrigger.js";
6
- import { SelectIcon as S } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/icon/SelectIcon.js";
7
- import { SelectScrollUpArrow as b } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/scroll-up-arrow/SelectScrollUpArrow.js";
8
- import { SelectScrollDownArrow as x } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/scroll-down-arrow/SelectScrollDownArrow.js";
9
- import { SelectPortal as v } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/portal/SelectPortal.js";
6
+ import { SelectIcon as b } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/icon/SelectIcon.js";
7
+ import { SelectScrollUpArrow as x } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/scroll-up-arrow/SelectScrollUpArrow.js";
8
+ import { SelectScrollDownArrow as v } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/scroll-down-arrow/SelectScrollDownArrow.js";
9
+ import { SelectPortal as n } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/portal/SelectPortal.js";
10
10
  import { SelectPositioner as w } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/positioner/SelectPositioner.js";
11
11
  import { SelectPopup as y } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/popup/SelectPopup.js";
12
12
  import { SelectList as N } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/list/SelectList.js";
@@ -14,14 +14,14 @@ import { SelectGroupLabel as R } from "../../node_modules/.pnpm/@base-ui_react@1
14
14
  import { SelectItem as I } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/item/SelectItem.js";
15
15
  import { SelectItemIndicator as j } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/item-indicator/SelectItemIndicator.js";
16
16
  import { SelectItemText as C } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/item-text/SelectItemText.js";
17
- import { Separator as T } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/separator/Separator.js";
18
- import { SelectRoot as k } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/root/SelectRoot.js";
19
- import { SelectGroup as B } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/group/SelectGroup.js";
20
- import { SelectValue as D } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/value/SelectValue.js";
21
- const oe = k, re = B, ae = D, G = a.forwardRef(({ className: t, children: o, ...r }, i) => /* @__PURE__ */ n(
17
+ import { Separator as P } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/separator/Separator.js";
18
+ import { SelectRoot as T } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/root/SelectRoot.js";
19
+ import { SelectGroup as $ } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/group/SelectGroup.js";
20
+ import { SelectValue as k } from "../../node_modules/.pnpm/@base-ui_react@1.1.0_@types_react@18.3.27_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/@base-ui/react/esm/select/value/SelectValue.js";
21
+ const oe = T, re = $, ae = k, le = n, B = a.forwardRef(({ className: t, children: o, ...r }, c) => /* @__PURE__ */ s(
22
22
  h,
23
23
  {
24
- ref: i,
24
+ ref: c,
25
25
  className: l(
26
26
  "relative flex h-9 w-full items-center rounded-lg border border-border bg-background pl-3 pr-9 py-2 text-sm font-medium text-foreground shadow-sm transition-all",
27
27
  "hover:bg-accent/5 hover:border-primary/30",
@@ -34,13 +34,13 @@ const oe = k, re = B, ae = D, G = a.forwardRef(({ className: t, children: o, ...
34
34
  ...r,
35
35
  children: [
36
36
  o,
37
- /* @__PURE__ */ e(S, { className: "absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground transition-transform data-[state=open]:rotate-180 pointer-events-none", children: /* @__PURE__ */ e(s, { className: "h-4 w-4" }) })
37
+ /* @__PURE__ */ e(b, { className: "absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground transition-transform data-[state=open]:rotate-180 pointer-events-none", children: /* @__PURE__ */ e(i, { className: "h-4 w-4" }) })
38
38
  ]
39
39
  }
40
40
  ));
41
- G.displayName = "SelectTrigger";
42
- const c = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
43
- b,
41
+ B.displayName = "SelectTrigger";
42
+ const d = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
43
+ x,
44
44
  {
45
45
  ref: r,
46
46
  className: l(
@@ -49,12 +49,12 @@ const c = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
49
49
  t
50
50
  ),
51
51
  ...o,
52
- children: /* @__PURE__ */ e(u, { className: "h-3.5 w-3.5" })
52
+ children: /* @__PURE__ */ e(g, { className: "h-3.5 w-3.5" })
53
53
  }
54
54
  ));
55
- c.displayName = "SelectScrollUpButton";
56
- const d = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
57
- x,
55
+ d.displayName = "SelectScrollUpButton";
56
+ const m = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
57
+ v,
58
58
  {
59
59
  ref: r,
60
60
  className: l(
@@ -63,21 +63,21 @@ const d = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
63
63
  t
64
64
  ),
65
65
  ...o,
66
- children: /* @__PURE__ */ e(s, { className: "h-3.5 w-3.5" })
66
+ children: /* @__PURE__ */ e(i, { className: "h-3.5 w-3.5" })
67
67
  }
68
68
  ));
69
- d.displayName = "SelectScrollDownButton";
70
- const L = a.forwardRef(({ className: t, children: o, alignItemWithTrigger: r = !1, side: i, sideOffset: m = 4, ...f }, p) => /* @__PURE__ */ e(v, { children: /* @__PURE__ */ e(
69
+ m.displayName = "SelectScrollDownButton";
70
+ const D = a.forwardRef(({ className: t, children: o, alignItemWithTrigger: r = !1, side: c, sideOffset: f = 4, ...p }, u) => /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e(
71
71
  w,
72
72
  {
73
73
  alignItemWithTrigger: r,
74
- side: i,
75
- sideOffset: m,
74
+ side: c,
75
+ sideOffset: f,
76
76
  className: "z-50",
77
- children: /* @__PURE__ */ n(
77
+ children: /* @__PURE__ */ s(
78
78
  y,
79
79
  {
80
- ref: p,
80
+ ref: u,
81
81
  className: l(
82
82
  "relative max-h-96 w-[var(--anchor-width)] overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-lg",
83
83
  "data-[state=open]:animate-in data-[state=closed]:animate-out",
@@ -88,18 +88,18 @@ const L = a.forwardRef(({ className: t, children: o, alignItemWithTrigger: r = !
88
88
  "origin-[var(--transform-origin)]",
89
89
  t
90
90
  ),
91
- ...f,
91
+ ...p,
92
92
  children: [
93
- /* @__PURE__ */ e(c, {}),
93
+ /* @__PURE__ */ e(d, {}),
94
94
  /* @__PURE__ */ e(N, { className: "p-1.5 overflow-y-auto max-h-[inherit]", children: o }),
95
- /* @__PURE__ */ e(d, {})
95
+ /* @__PURE__ */ e(m, {})
96
96
  ]
97
97
  }
98
98
  )
99
99
  }
100
100
  ) }));
101
- L.displayName = "SelectContent";
102
- const U = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
101
+ D.displayName = "SelectContent";
102
+ const G = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
103
103
  R,
104
104
  {
105
105
  ref: r,
@@ -110,11 +110,11 @@ const U = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
110
110
  ...o
111
111
  }
112
112
  ));
113
- U.displayName = "SelectLabel";
114
- const $ = a.forwardRef(({ className: t, children: o, ...r }, i) => /* @__PURE__ */ n(
113
+ G.displayName = "SelectLabel";
114
+ const L = a.forwardRef(({ className: t, children: o, ...r }, c) => /* @__PURE__ */ s(
115
115
  I,
116
116
  {
117
- ref: i,
117
+ ref: c,
118
118
  className: l(
119
119
  "relative flex w-full cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors",
120
120
  "hover:bg-accent/50 hover:text-accent-foreground",
@@ -126,31 +126,32 @@ const $ = a.forwardRef(({ className: t, children: o, ...r }, i) => /* @__PURE__
126
126
  ),
127
127
  ...r,
128
128
  children: [
129
- /* @__PURE__ */ e(j, { className: "inline-flex h-4 w-4 shrink-0 items-center justify-center", children: /* @__PURE__ */ e(g, { className: "h-3.5 w-3.5" }) }),
129
+ /* @__PURE__ */ e(j, { className: "inline-flex h-4 w-4 shrink-0 items-center justify-center", children: /* @__PURE__ */ e(S, { className: "h-3.5 w-3.5" }) }),
130
130
  /* @__PURE__ */ e(C, { className: "flex-1", children: o })
131
131
  ]
132
132
  }
133
133
  ));
134
- $.displayName = "SelectItem";
135
- const z = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
136
- T,
134
+ L.displayName = "SelectItem";
135
+ const U = a.forwardRef(({ className: t, ...o }, r) => /* @__PURE__ */ e(
136
+ P,
137
137
  {
138
138
  ref: r,
139
139
  className: l("my-1.5 h-px bg-border", t),
140
140
  ...o
141
141
  }
142
142
  ));
143
- z.displayName = "SelectSeparator";
143
+ U.displayName = "SelectSeparator";
144
144
  export {
145
145
  oe as Select,
146
- L as SelectContent,
146
+ D as SelectContent,
147
147
  re as SelectGroup,
148
- $ as SelectItem,
149
- U as SelectLabel,
150
- d as SelectScrollDownButton,
151
- c as SelectScrollUpButton,
152
- z as SelectSeparator,
153
- G as SelectTrigger,
148
+ L as SelectItem,
149
+ G as SelectLabel,
150
+ le as SelectPortal,
151
+ m as SelectScrollDownButton,
152
+ d as SelectScrollUpButton,
153
+ U as SelectSeparator,
154
+ B as SelectTrigger,
154
155
  ae as SelectValue
155
156
  };
156
157
  //# sourceMappingURL=base-select.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"base-select.js","sources":["../../../src/components/ui/base-select.tsx"],"sourcesContent":["import * as React from 'react'\nimport { Select as BaseSelect } from '@base-ui/react/select'\nimport { Check, ChevronDown, ChevronUp } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nconst Select = BaseSelect.Root\n\nconst SelectGroup = BaseSelect.Group\n\nconst SelectValue = BaseSelect.Value\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Trigger>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Trigger>\n>(({ className, children, ...props }, ref) => (\n <BaseSelect.Trigger\n ref={ref}\n className={cn(\n 'relative flex h-9 w-full items-center rounded-lg border border-border bg-background pl-3 pr-9 py-2 text-sm font-medium text-foreground shadow-sm transition-all',\n 'hover:bg-accent/5 hover:border-primary/30',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1',\n 'data-[placeholder]:text-muted-foreground',\n 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n '[&>span]:line-clamp-1 [&>span]:text-left',\n className\n )}\n {...props}\n >\n {children}\n <BaseSelect.Icon className=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground transition-transform data-[state=open]:rotate-180 pointer-events-none\">\n <ChevronDown className=\"h-4 w-4\" />\n </BaseSelect.Icon>\n </BaseSelect.Trigger>\n))\nSelectTrigger.displayName = 'SelectTrigger'\n\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef<typeof BaseSelect.ScrollUpArrow>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.ScrollUpArrow>\n>(({ className, ...props }, ref) => (\n <BaseSelect.ScrollUpArrow\n ref={ref}\n className={cn(\n 'flex cursor-default items-center justify-center py-1.5 text-muted-foreground',\n 'hover:bg-accent/10 hover:text-foreground transition-colors',\n className\n )}\n {...props}\n >\n <ChevronUp className=\"h-3.5 w-3.5\" />\n </BaseSelect.ScrollUpArrow>\n))\nSelectScrollUpButton.displayName = 'SelectScrollUpButton'\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef<typeof BaseSelect.ScrollDownArrow>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.ScrollDownArrow>\n>(({ className, ...props }, ref) => (\n <BaseSelect.ScrollDownArrow\n ref={ref}\n className={cn(\n 'flex cursor-default items-center justify-center py-1.5 text-muted-foreground',\n 'hover:bg-accent/10 hover:text-foreground transition-colors',\n className\n )}\n {...props}\n >\n <ChevronDown className=\"h-3.5 w-3.5\" />\n </BaseSelect.ScrollDownArrow>\n))\nSelectScrollDownButton.displayName = 'SelectScrollDownButton'\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Popup>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Popup> & {\n alignItemWithTrigger?: boolean\n side?: 'top' | 'bottom'\n sideOffset?: number\n }\n>(({ className, children, alignItemWithTrigger = false, side, sideOffset = 4, ...props }, ref) => (\n <BaseSelect.Portal>\n <BaseSelect.Positioner \n alignItemWithTrigger={alignItemWithTrigger} \n side={side}\n sideOffset={sideOffset}\n className=\"z-50\"\n >\n <BaseSelect.Popup\n ref={ref}\n className={cn(\n 'relative max-h-96 w-[var(--anchor-width)] overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-lg',\n 'data-[state=open]:animate-in data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n 'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',\n 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2',\n 'data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n 'origin-[var(--transform-origin)]',\n className\n )}\n {...props}\n >\n <SelectScrollUpButton />\n <BaseSelect.List className=\"p-1.5 overflow-y-auto max-h-[inherit]\">\n {children}\n </BaseSelect.List>\n <SelectScrollDownButton />\n </BaseSelect.Popup>\n </BaseSelect.Positioner>\n </BaseSelect.Portal>\n))\nSelectContent.displayName = 'SelectContent'\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef<typeof BaseSelect.GroupLabel>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.GroupLabel>\n>(({ className, ...props }, ref) => (\n <BaseSelect.GroupLabel\n ref={ref}\n className={cn(\n 'px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider',\n className\n )}\n {...props}\n />\n))\nSelectLabel.displayName = 'SelectLabel'\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Item>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Item>\n>(({ className, children, ...props }, ref) => (\n <BaseSelect.Item\n ref={ref}\n className={cn(\n 'relative flex w-full cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors',\n 'hover:bg-accent/50 hover:text-accent-foreground',\n 'focus-visible:bg-accent focus-visible:text-accent-foreground',\n 'data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground',\n 'data-[selected]:bg-primary/10 data-[selected]:text-primary data-[selected]:font-medium',\n 'data-[disabled]:pointer-events-none data-[disabled]:opacity-40',\n className\n )}\n {...props}\n >\n <BaseSelect.ItemIndicator className=\"inline-flex h-4 w-4 shrink-0 items-center justify-center\">\n <Check className=\"h-3.5 w-3.5\" />\n </BaseSelect.ItemIndicator>\n <BaseSelect.ItemText className=\"flex-1\">{children}</BaseSelect.ItemText>\n </BaseSelect.Item>\n))\nSelectItem.displayName = 'SelectItem'\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Separator>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Separator>\n>(({ className, ...props }, ref) => (\n <BaseSelect.Separator\n ref={ref}\n className={cn('my-1.5 h-px bg-border', className)}\n {...props}\n />\n))\nSelectSeparator.displayName = 'SelectSeparator'\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n}\n"],"names":["Select","BaseSelect.Root","SelectGroup","BaseSelect.Group","SelectValue","BaseSelect.Value","SelectTrigger","React","className","children","props","ref","jsxs","BaseSelect.Trigger","cn","jsx","BaseSelect.Icon","ChevronDown","SelectScrollUpButton","BaseSelect.ScrollUpArrow","ChevronUp","SelectScrollDownButton","BaseSelect.ScrollDownArrow","SelectContent","alignItemWithTrigger","side","sideOffset","BaseSelect.Portal","BaseSelect.Positioner","BaseSelect.Popup","BaseSelect.List","SelectLabel","BaseSelect.GroupLabel","SelectItem","BaseSelect.Item","BaseSelect.ItemIndicator","Check","BaseSelect.ItemText","SelectSeparator","BaseSelect.Separator"],"mappings":";;;;;;;;;;;;;;;;;;;;AAMA,MAAMA,KAASC,GAETC,KAAcC,GAEdC,KAAcC,GAEdC,IAAgBC,EAAM,WAG1B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAASC,MACpC,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG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AAEzB,MAAMK,IAAkB/B,EAAM,WAG5B,CAAC,EAAE,WAAAC,GAAW,GAAGE,EAAA,GAASC,MAC1B,gBAAAI;AAAA,EAACwB;AAAAA,EAAA;AAAA,IACC,KAAA5B;AAAA,IACA,WAAWG,EAAG,yBAAyBN,CAAS;AAAA,IAC/C,GAAGE;AAAA,EAAA;AACN,CACD;AACD4B,EAAgB,cAAc;"}
1
+ {"version":3,"file":"base-select.js","sources":["../../../src/components/ui/base-select.tsx"],"sourcesContent":["import * as React from 'react'\nimport { Select as BaseSelect } from '@base-ui/react/select'\nimport { Check, ChevronDown, ChevronUp } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nconst Select = BaseSelect.Root\n\nconst SelectGroup = BaseSelect.Group\nconst SelectValue = BaseSelect.Value\nconst SelectPortal = BaseSelect.Portal\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Trigger>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Trigger>\n>(({ className, children, ...props }, ref) => (\n <BaseSelect.Trigger\n ref={ref}\n className={cn(\n 'relative flex h-9 w-full items-center rounded-lg border border-border bg-background pl-3 pr-9 py-2 text-sm font-medium text-foreground shadow-sm transition-all',\n 'hover:bg-accent/5 hover:border-primary/30',\n 'focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1',\n 'data-[placeholder]:text-muted-foreground',\n 'data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n '[&>span]:line-clamp-1 [&>span]:text-left',\n className\n )}\n {...props}\n >\n {children}\n <BaseSelect.Icon className=\"absolute right-3 top-1/2 -translate-y-1/2 text-muted-foreground transition-transform data-[state=open]:rotate-180 pointer-events-none\">\n <ChevronDown className=\"h-4 w-4\" />\n </BaseSelect.Icon>\n </BaseSelect.Trigger>\n))\nSelectTrigger.displayName = 'SelectTrigger'\n\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef<typeof BaseSelect.ScrollUpArrow>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.ScrollUpArrow>\n>(({ className, ...props }, ref) => (\n <BaseSelect.ScrollUpArrow\n ref={ref}\n className={cn(\n 'flex cursor-default items-center justify-center py-1.5 text-muted-foreground',\n 'hover:bg-accent/10 hover:text-foreground transition-colors',\n className\n )}\n {...props}\n >\n <ChevronUp className=\"h-3.5 w-3.5\" />\n </BaseSelect.ScrollUpArrow>\n))\nSelectScrollUpButton.displayName = 'SelectScrollUpButton'\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef<typeof BaseSelect.ScrollDownArrow>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.ScrollDownArrow>\n>(({ className, ...props }, ref) => (\n <BaseSelect.ScrollDownArrow\n ref={ref}\n className={cn(\n 'flex cursor-default items-center justify-center py-1.5 text-muted-foreground',\n 'hover:bg-accent/10 hover:text-foreground transition-colors',\n className\n )}\n {...props}\n >\n <ChevronDown className=\"h-3.5 w-3.5\" />\n </BaseSelect.ScrollDownArrow>\n))\nSelectScrollDownButton.displayName = 'SelectScrollDownButton'\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Popup>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Popup> & {\n alignItemWithTrigger?: boolean\n side?: 'top' | 'bottom'\n sideOffset?: number\n }\n>(({ className, children, alignItemWithTrigger = false, side, sideOffset = 4, ...props }, ref) => (\n <BaseSelect.Portal>\n <BaseSelect.Positioner\n alignItemWithTrigger={alignItemWithTrigger}\n side={side}\n sideOffset={sideOffset}\n className=\"z-50\"\n >\n <BaseSelect.Popup\n ref={ref}\n className={cn(\n 'relative max-h-96 w-[var(--anchor-width)] overflow-hidden rounded-lg border border-border bg-popover text-popover-foreground shadow-lg',\n 'data-[state=open]:animate-in data-[state=closed]:animate-out',\n 'data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',\n 'data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95',\n 'data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2',\n 'data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2',\n 'origin-[var(--transform-origin)]',\n className\n )}\n {...props}\n >\n <SelectScrollUpButton />\n <BaseSelect.List className=\"p-1.5 overflow-y-auto max-h-[inherit]\">\n {children}\n </BaseSelect.List>\n <SelectScrollDownButton />\n </BaseSelect.Popup>\n </BaseSelect.Positioner>\n </BaseSelect.Portal>\n))\nSelectContent.displayName = 'SelectContent'\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef<typeof BaseSelect.GroupLabel>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.GroupLabel>\n>(({ className, ...props }, ref) => (\n <BaseSelect.GroupLabel\n ref={ref}\n className={cn(\n 'px-2 py-1.5 text-xs font-semibold text-muted-foreground uppercase tracking-wider',\n className\n )}\n {...props}\n />\n))\nSelectLabel.displayName = 'SelectLabel'\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Item>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Item>\n>(({ className, children, ...props }, ref) => (\n <BaseSelect.Item\n ref={ref}\n className={cn(\n 'relative flex w-full cursor-pointer select-none items-center gap-2 rounded-md px-2 py-1.5 text-sm outline-none transition-colors',\n 'hover:bg-accent/50 hover:text-accent-foreground',\n 'focus-visible:bg-accent focus-visible:text-accent-foreground',\n 'data-[highlighted]:bg-accent data-[highlighted]:text-accent-foreground',\n 'data-[selected]:bg-primary/10 data-[selected]:text-primary data-[selected]:font-medium',\n 'data-[disabled]:pointer-events-none data-[disabled]:opacity-40',\n className\n )}\n {...props}\n >\n <BaseSelect.ItemIndicator className=\"inline-flex h-4 w-4 shrink-0 items-center justify-center\">\n <Check className=\"h-3.5 w-3.5\" />\n </BaseSelect.ItemIndicator>\n <BaseSelect.ItemText className=\"flex-1\">{children}</BaseSelect.ItemText>\n </BaseSelect.Item>\n))\nSelectItem.displayName = 'SelectItem'\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof BaseSelect.Separator>,\n React.ComponentPropsWithoutRef<typeof BaseSelect.Separator>\n>(({ className, ...props }, ref) => (\n <BaseSelect.Separator\n ref={ref}\n className={cn('my-1.5 h-px bg-border', className)}\n {...props}\n />\n))\nSelectSeparator.displayName = 'SelectSeparator'\n\nexport {\n Select,\n SelectContent,\n SelectGroup,\n SelectItem,\n SelectLabel,\n SelectPortal,\n SelectScrollDownButton,\n SelectScrollUpButton,\n SelectSeparator,\n SelectTrigger,\n SelectValue,\n}\n"],"names":["Select","BaseSelect.Root","SelectGroup","BaseSelect.Group","SelectValue","BaseSelect.Value","SelectPortal","BaseSelect.Portal","SelectTrigger","React","className","children","props","ref","jsxs","BaseSelect.Trigger","cn","jsx","BaseSelect.Icon","ChevronDown","SelectScrollUpButton","BaseSelect.ScrollUpArrow","ChevronUp","SelectScrollDownButton","BaseSelect.ScrollDownArrow","SelectContent","alignItemWithTrigger","side","sideOffset","BaseSelect.Positioner","BaseSelect.Popup","BaseSelect.List","SelectLabel","BaseSelect.GroupLabel","SelectItem","BaseSelect.Item","BaseSelect.ItemIndicator","Check","BaseSelect.ItemText","SelectSeparator","BaseSelect.Separator"],"mappings":";;;;;;;;;;;;;;;;;;;;AAMA,MAAMA,KAASC,GAETC,KAAcC,GACdC,KAAcC,GACdC,KAAeC,GAEfC,IAAgBC,EAAM,WAG1B,CAAC,EAAE,WAAAC,GAAW,UAAAC,GAAU,GAAGC,KAASC,MACpC,gBAAAC;AAAA,EAACC;AAAAA,EAAA;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG;AAAA,MACT;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACA;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGE;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,MACD,gBAAAM,EAACC,GAAA,EAAgB,WAAU,yIACzB,UAAA,gBAAAD,EAACE,GAAA,EAAY,WAAU,UAAA,CAAU,EAAA,CACnC;AAAA,IAAA;AAAA,EAA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jsx as n } from "react/jsx-runtime";
2
2
  import * as d from "react";
3
3
  import * as e from "@radix-ui/react-dropdown-menu";
4
4
  import { ChevronRight as p, Check as c, Circle as m } from "lucide-react";
5
- import { cn as r } from "../../lib/utils.js";
6
- const R = e.Root, I = e.Trigger, S = e.Group, C = e.Portal, _ = e.Sub, z = e.RadioGroup, u = d.forwardRef(({ className: t, inset: o, children: a, ...s }, i) => /* @__PURE__ */ l(
5
+ import { cn as s } from "../../lib/utils.js";
6
+ const R = e.Root, I = e.Trigger, S = e.Group, C = e.Portal, _ = e.Sub, z = e.RadioGroup, u = d.forwardRef(({ className: t, inset: o, children: a, ...r }, i) => /* @__PURE__ */ l(
7
7
  e.SubTrigger,
8
8
  {
9
9
  ref: i,
10
- className: r(
10
+ className: s(
11
11
  "flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
12
12
  o && "pl-8",
13
13
  t
14
14
  ),
15
- ...s,
15
+ ...r,
16
16
  children: [
17
17
  a,
18
18
  /* @__PURE__ */ n(p, { className: "ml-auto" })
@@ -24,7 +24,7 @@ const f = d.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ n(
24
24
  e.SubContent,
25
25
  {
26
26
  ref: a,
27
- className: r(
27
+ className: s(
28
28
  "z-50 min-w-[8rem] overflow-hidden rounded bg-popover py-2 text-popover-foreground shadow-[0px_10px_20px_rgba(36,49,67,0.2)] 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",
29
29
  t
30
30
  ),
@@ -32,12 +32,12 @@ const f = d.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ n(
32
32
  }
33
33
  ));
34
34
  f.displayName = e.SubContent.displayName;
35
- const g = d.forwardRef(({ className: t, sideOffset: o = 4, ...a }, s) => /* @__PURE__ */ n(e.Portal, { children: /* @__PURE__ */ n(
35
+ const g = d.forwardRef(({ className: t, sideOffset: o = 4, ...a }, r) => /* @__PURE__ */ n(e.Portal, { children: /* @__PURE__ */ n(
36
36
  e.Content,
37
37
  {
38
- ref: s,
38
+ ref: r,
39
39
  sideOffset: o,
40
- className: r(
40
+ className: s(
41
41
  "z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded bg-popover py-2 text-popover-foreground shadow-[0px_10px_20px_rgba(36,49,67,0.2)] 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",
42
42
  t
43
43
  ),
@@ -45,12 +45,12 @@ const g = d.forwardRef(({ className: t, sideOffset: o = 4, ...a }, s) => /* @__P
45
45
  }
46
46
  ) }));
47
47
  g.displayName = e.Content.displayName;
48
- const b = d.forwardRef(({ className: t, inset: o, ...a }, s) => /* @__PURE__ */ n(
48
+ const b = d.forwardRef(({ className: t, inset: o, ...a }, r) => /* @__PURE__ */ n(
49
49
  e.Item,
50
50
  {
51
- ref: s,
52
- className: r(
53
- "relative flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
51
+ ref: r,
52
+ className: s(
53
+ "relative flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-primary/10 focus:bg-primary/10 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",
54
54
  o && "pl-8",
55
55
  t
56
56
  ),
@@ -58,16 +58,16 @@ const b = d.forwardRef(({ className: t, inset: o, ...a }, s) => /* @__PURE__ */
58
58
  }
59
59
  ));
60
60
  b.displayName = e.Item.displayName;
61
- const h = d.forwardRef(({ className: t, children: o, checked: a, ...s }, i) => /* @__PURE__ */ l(
61
+ const h = d.forwardRef(({ className: t, children: o, checked: a, ...r }, i) => /* @__PURE__ */ l(
62
62
  e.CheckboxItem,
63
63
  {
64
64
  ref: i,
65
- className: r(
65
+ className: s(
66
66
  "relative flex cursor-default select-none items-center py-2 pl-10 pr-4 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
67
67
  t
68
68
  ),
69
69
  checked: a,
70
- ...s,
70
+ ...r,
71
71
  children: [
72
72
  /* @__PURE__ */ n("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ n(e.ItemIndicator, { children: /* @__PURE__ */ n(c, { className: "h-4 w-4" }) }) }),
73
73
  o
@@ -75,11 +75,11 @@ const h = d.forwardRef(({ className: t, children: o, checked: a, ...s }, i) => /
75
75
  }
76
76
  ));
77
77
  h.displayName = e.CheckboxItem.displayName;
78
- const w = d.forwardRef(({ className: t, children: o, ...a }, s) => /* @__PURE__ */ l(
78
+ const w = d.forwardRef(({ className: t, children: o, ...a }, r) => /* @__PURE__ */ l(
79
79
  e.RadioItem,
80
80
  {
81
- ref: s,
82
- className: r(
81
+ ref: r,
82
+ className: s(
83
83
  "relative flex cursor-default select-none items-center py-2 pl-10 pr-4 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50",
84
84
  t
85
85
  ),
@@ -91,11 +91,11 @@ const w = d.forwardRef(({ className: t, children: o, ...a }, s) => /* @__PURE__
91
91
  }
92
92
  ));
93
93
  w.displayName = e.RadioItem.displayName;
94
- const x = d.forwardRef(({ className: t, inset: o, ...a }, s) => /* @__PURE__ */ n(
94
+ const x = d.forwardRef(({ className: t, inset: o, ...a }, r) => /* @__PURE__ */ n(
95
95
  e.Label,
96
96
  {
97
- ref: s,
98
- className: r("px-4 py-2 text-sm font-semibold leading-6", o && "pl-8", t),
97
+ ref: r,
98
+ className: s("px-4 py-2 text-sm font-semibold leading-6", o && "pl-8", t),
99
99
  ...a
100
100
  }
101
101
  ));
@@ -104,12 +104,12 @@ const y = d.forwardRef(({ className: t, ...o }, a) => /* @__PURE__ */ n(
104
104
  e.Separator,
105
105
  {
106
106
  ref: a,
107
- className: r("my-2 h-px bg-border", t),
107
+ className: s("my-2 h-px bg-border", t),
108
108
  ...o
109
109
  }
110
110
  ));
111
111
  y.displayName = e.Separator.displayName;
112
- const N = ({ className: t, ...o }) => /* @__PURE__ */ n("span", { className: r("ml-auto text-xs tracking-widest opacity-60", t), ...o });
112
+ const N = ({ className: t, ...o }) => /* @__PURE__ */ n("span", { className: s("ml-auto text-xs tracking-widest opacity-60", t), ...o });
113
113
  N.displayName = "DropdownMenuShortcut";
114
114
  export {
115
115
  R as DropdownMenu,
@@ -1 +1 @@
1
- {"version":3,"file":"dropdown-menu.js","sources":["../../../src/components/ui/dropdown-menu.tsx"],"sourcesContent":["import * as React from 'react'\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport { Check, ChevronRight, Circle } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n inset && 'pl-8',\n className\n )}\n {...props}\n >\n {children}\n <ChevronRight className=\"ml-auto\" />\n </DropdownMenuPrimitive.SubTrigger>\n))\nDropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded bg-popover py-2 text-popover-foreground shadow-[0px_10px_20px_rgba(36,49,67,0.2)] 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',\n className\n )}\n {...props}\n />\n))\nDropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded bg-popover py-2 text-popover-foreground shadow-[0px_10px_20px_rgba(36,49,67,0.2)] 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',\n className\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n inset && 'pl-8',\n className\n )}\n {...props}\n />\n))\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center py-2 pl-10 pr-4 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Check className=\"h-4 w-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n))\nDropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center py-2 pl-10 pr-4 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Circle className=\"h-2 w-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn('px-4 py-2 text-sm font-semibold leading-6', inset && 'pl-8', className)}\n {...props}\n />\n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn('my-2 h-px bg-border', className)}\n {...props}\n />\n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {\n return <span className={cn('ml-auto text-xs tracking-widest opacity-60', className)} {...props} />\n}\nDropdownMenuShortcut.displayName = 'DropdownMenuShortcut'\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n"],"names":["DropdownMenu","DropdownMenuPrimitive","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuPortal","DropdownMenuSub","DropdownMenuRadioGroup","DropdownMenuSubTrigger","React","className","inset","children","props","ref","jsxs","cn","jsx","ChevronRight","DropdownMenuSubContent","DropdownMenuContent","sideOffset","DropdownMenuItem","DropdownMenuCheckboxItem","checked","Check","DropdownMenuRadioItem","Circle","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut"],"mappings":";;;;;AAMA,MAAMA,IAAeC,EAAsB,MAErCC,IAAsBD,EAAsB,SAE5CE,IAAoBF,EAAsB,OAE1CG,IAAqBH,EAAsB,QAE3CI,IAAkBJ,EAAsB,KAExCK,IAAyBL,EAAsB,YAE/CM,IAAyBC,EAAM,WAKnC,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,UAAAC,GAAU,GAAGC,KAASC,MAC3C,gBAAAC;AAAA,EAACb,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAY;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAL,KAAS;AAAA,MACTD;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,MACD,gBAAAK,EAACC,GAAA,EAAa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,WAAWE,EAAG,uBAAuBN,CAAS;AAAA,IAC7C,GAAGG;AAAA,EAAA;AACN,CACD;AACDgB,EAAsB,cAAc3B,EAAsB,UAAU;AAEpE,MAAM4B,IAAuB,CAAC,EAAE,WAAApB,GAAW,GAAGG,QACrC,gBAAAI,EAAC,UAAK,WAAWD,EAAG,8CAA8CN,CAAS,GAAI,GAAGG,GAAO;AAElGiB,EAAqB,cAAc;"}
1
+ {"version":3,"file":"dropdown-menu.js","sources":["../../../src/components/ui/dropdown-menu.tsx"],"sourcesContent":["import * as React from 'react'\nimport * as DropdownMenuPrimitive from '@radix-ui/react-dropdown-menu'\nimport { Check, ChevronRight, Circle } from 'lucide-react'\n\nimport { cn } from '@/lib/utils'\n\nconst DropdownMenu = DropdownMenuPrimitive.Root\n\nconst DropdownMenuTrigger = DropdownMenuPrimitive.Trigger\n\nconst DropdownMenuGroup = DropdownMenuPrimitive.Group\n\nconst DropdownMenuPortal = DropdownMenuPrimitive.Portal\n\nconst DropdownMenuSub = DropdownMenuPrimitive.Sub\n\nconst DropdownMenuRadioGroup = DropdownMenuPrimitive.RadioGroup\n\nconst DropdownMenuSubTrigger = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubTrigger>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubTrigger> & {\n inset?: boolean\n }\n>(({ className, inset, children, ...props }, ref) => (\n <DropdownMenuPrimitive.SubTrigger\n ref={ref}\n className={cn(\n 'flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[state=open]:bg-accent [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n inset && 'pl-8',\n className\n )}\n {...props}\n >\n {children}\n <ChevronRight className=\"ml-auto\" />\n </DropdownMenuPrimitive.SubTrigger>\n))\nDropdownMenuSubTrigger.displayName = DropdownMenuPrimitive.SubTrigger.displayName\n\nconst DropdownMenuSubContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.SubContent>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.SubContent>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.SubContent\n ref={ref}\n className={cn(\n 'z-50 min-w-[8rem] overflow-hidden rounded bg-popover py-2 text-popover-foreground shadow-[0px_10px_20px_rgba(36,49,67,0.2)] 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',\n className\n )}\n {...props}\n />\n))\nDropdownMenuSubContent.displayName = DropdownMenuPrimitive.SubContent.displayName\n\nconst DropdownMenuContent = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <DropdownMenuPrimitive.Portal>\n <DropdownMenuPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n 'z-50 max-h-[var(--radix-dropdown-menu-content-available-height)] min-w-[8rem] overflow-y-auto overflow-x-hidden rounded bg-popover py-2 text-popover-foreground shadow-[0px_10px_20px_rgba(36,49,67,0.2)] 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',\n className\n )}\n {...props}\n />\n </DropdownMenuPrimitive.Portal>\n))\nDropdownMenuContent.displayName = DropdownMenuPrimitive.Content.displayName\n\nconst DropdownMenuItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Item> & {\n inset?: boolean;\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center gap-4 px-4 py-2 text-sm leading-6 outline-none transition-colors hover:bg-primary/10 focus:bg-primary/10 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0',\n inset && 'pl-8',\n className\n )}\n {...props}\n />\n));\nDropdownMenuItem.displayName = DropdownMenuPrimitive.Item.displayName\n\nconst DropdownMenuCheckboxItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.CheckboxItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.CheckboxItem>\n>(({ className, children, checked, ...props }, ref) => (\n <DropdownMenuPrimitive.CheckboxItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center py-2 pl-10 pr-4 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n checked={checked}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Check className=\"h-4 w-4\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.CheckboxItem>\n))\nDropdownMenuCheckboxItem.displayName = DropdownMenuPrimitive.CheckboxItem.displayName\n\nconst DropdownMenuRadioItem = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.RadioItem>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.RadioItem>\n>(({ className, children, ...props }, ref) => (\n <DropdownMenuPrimitive.RadioItem\n ref={ref}\n className={cn(\n 'relative flex cursor-default select-none items-center py-2 pl-10 pr-4 text-sm leading-6 outline-none transition-colors hover:bg-accent focus:bg-accent data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className\n )}\n {...props}\n >\n <span className=\"absolute left-2 flex h-3.5 w-3.5 items-center justify-center\">\n <DropdownMenuPrimitive.ItemIndicator>\n <Circle className=\"h-2 w-2 fill-current\" />\n </DropdownMenuPrimitive.ItemIndicator>\n </span>\n {children}\n </DropdownMenuPrimitive.RadioItem>\n))\nDropdownMenuRadioItem.displayName = DropdownMenuPrimitive.RadioItem.displayName\n\nconst DropdownMenuLabel = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Label> & {\n inset?: boolean\n }\n>(({ className, inset, ...props }, ref) => (\n <DropdownMenuPrimitive.Label\n ref={ref}\n className={cn('px-4 py-2 text-sm font-semibold leading-6', inset && 'pl-8', className)}\n {...props}\n />\n))\nDropdownMenuLabel.displayName = DropdownMenuPrimitive.Label.displayName\n\nconst DropdownMenuSeparator = React.forwardRef<\n React.ElementRef<typeof DropdownMenuPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof DropdownMenuPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <DropdownMenuPrimitive.Separator\n ref={ref}\n className={cn('my-2 h-px bg-border', className)}\n {...props}\n />\n))\nDropdownMenuSeparator.displayName = DropdownMenuPrimitive.Separator.displayName\n\nconst DropdownMenuShortcut = ({ className, ...props }: React.HTMLAttributes<HTMLSpanElement>) => {\n return <span className={cn('ml-auto text-xs tracking-widest opacity-60', className)} {...props} />\n}\nDropdownMenuShortcut.displayName = 'DropdownMenuShortcut'\n\nexport {\n DropdownMenu,\n DropdownMenuTrigger,\n DropdownMenuContent,\n DropdownMenuItem,\n DropdownMenuCheckboxItem,\n DropdownMenuRadioItem,\n DropdownMenuLabel,\n DropdownMenuSeparator,\n DropdownMenuShortcut,\n DropdownMenuGroup,\n DropdownMenuPortal,\n DropdownMenuSub,\n DropdownMenuSubContent,\n DropdownMenuSubTrigger,\n DropdownMenuRadioGroup,\n}\n"],"names":["DropdownMenu","DropdownMenuPrimitive","DropdownMenuTrigger","DropdownMenuGroup","DropdownMenuPortal","DropdownMenuSub","DropdownMenuRadioGroup","DropdownMenuSubTrigger","React","className","inset","children","props","ref","jsxs","cn","jsx","ChevronRight","DropdownMenuSubContent","DropdownMenuContent","sideOffset","DropdownMenuItem","DropdownMenuCheckboxItem","checked","Check","DropdownMenuRadioItem","Circle","DropdownMenuLabel","DropdownMenuSeparator","DropdownMenuShortcut"],"mappings":";;;;;AAMA,MAAMA,IAAeC,EAAsB,MAErCC,IAAsBD,EAAsB,SAE5CE,IAAoBF,EAAsB,OAE1CG,IAAqBH,EAAsB,QAE3CI,IAAkBJ,EAAsB,KAExCK,IAAyBL,EAAsB,YAE/CM,IAAyBC,EAAM,WAKnC,CAAC,EAAE,WAAAC,GAAW,OAAAC,GAAO,UAAAC,GAAU,GAAGC,KAASC,MAC3C,gBAAAC;AAAA,EAACb,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAY;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAL,KAAS;AAAA,MACTD;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,IAEH,UAAA;AAAA,MAAAD;AAAA,MACD,gBAAAK,EAACC,GAAA,EAAa,WAAU,UAAA,CAAU;AAAA,IAAA;AAAA,EAAA;AACpC,CACD;AACDV,EAAuB,cAAcN,EAAsB,WAAW;AAEtE,MAAMiB,IAAyBV,EAAM,WAGnC,CAAC,EAAE,WAAAC,GAAW,GAAGG,EAAA,GAASC,MAC1B,gBAAAG;AAAA,EAACf,EAAsB;AAAA,EAAtB;AAAA,IACC,KAAAY;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAN;AAAA,IAAA;AAAA,IAED,GAAGG;AAAA,EAAA;AACN,CACD;AACDM,EAAuB,cAAcjB,EAAsB,WAAW;AAEtE,MAAMkB,IAAsBX,EAAM,WAGhC,CAAC,EAAE,WAAAC,GAAW,YAAAW,IAAa,GAAG,GAAGR,KAASC,MAC1C,gBAAAG,EAACf,EAAsB,QAAtB,EAC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