@clasing/ui 2.7.0 → 2.7.2

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.
Files changed (32) hide show
  1. package/dist/{button-2VesFn_C.js → button-BMh8vaQL.js} +11 -11
  2. package/dist/{button-DWBp81pk.cjs → button-CBGIJZh6.cjs} +3 -3
  3. package/dist/{command-FBkK3fzE.cjs → command-DNjJookC.cjs} +7 -8
  4. package/dist/{command-Vk11GgqU.js → command-peXi2dFX.js} +29 -30
  5. package/dist/components/alert-dialog.cjs.js +1 -1
  6. package/dist/components/alert-dialog.es.js +1 -1
  7. package/dist/components/button.cjs.js +1 -1
  8. package/dist/components/button.es.js +1 -1
  9. package/dist/components/calendar.cjs.js +2 -2
  10. package/dist/components/calendar.es.js +2 -2
  11. package/dist/components/command.cjs.js +1 -1
  12. package/dist/components/command.es.js +1 -1
  13. package/dist/components/context-menu.cjs.js +3 -4
  14. package/dist/components/context-menu.es.js +2 -3
  15. package/dist/components/dropdown-menu.cjs.js +7 -6
  16. package/dist/components/dropdown-menu.es.js +56 -55
  17. package/dist/components/input.cjs.js +1 -1
  18. package/dist/components/input.es.js +1 -1
  19. package/dist/components/menubar.cjs.js +0 -1
  20. package/dist/components/menubar.es.js +4 -5
  21. package/dist/components/multi-select.cjs.js +2 -4
  22. package/dist/components/multi-select.es.js +2 -9
  23. package/dist/components/navigation-menu.cjs.js +1 -2
  24. package/dist/components/navigation-menu.es.js +1 -2
  25. package/dist/components/phone-input.cjs.js +1 -1
  26. package/dist/components/phone-input.es.js +2 -2
  27. package/dist/components/select.cjs.js +0 -1
  28. package/dist/components/select.es.js +4 -5
  29. package/dist/{input-kOA9xJIa.js → input-9_pd3W-1.js} +1 -1
  30. package/dist/{input-u-OTHOPe.cjs → input-DKYrdSsU.cjs} +1 -1
  31. package/dist/ui.css +50 -50
  32. package/package.json +1 -2
@@ -1,4 +1,4 @@
1
- import { c as a, j as e } from "./index-CwFDnnd3.js";
1
+ import { c as o, j as e } from "./index-CwFDnnd3.js";
2
2
  import { Slot as _ } from "@radix-ui/react-slot";
3
3
  import { c as k } from "./index-CnqageB2.js";
4
4
  import w from "react";
@@ -11,7 +11,7 @@ const T = k(
11
11
  before:absolute before:inset-0 before:z-[-1] before:rounded-full
12
12
  before:transition-transform before:duration-150 before:ease-in-out
13
13
  focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-1
14
- active:before:scale-96
14
+ not-disabled:active:before:scale-96
15
15
  [&_svg]:shrink-0
16
16
  `,
17
17
  {
@@ -29,7 +29,7 @@ const T = k(
29
29
  `
30
30
  text-secondary-foreground
31
31
  before:bg-secondary
32
- hover:before:bg-secondary/60
32
+ hover:before:bg-secondary/80
33
33
  `
34
34
  ],
35
35
  ghost: [
@@ -184,7 +184,7 @@ const T = k(
184
184
  weight: p,
185
185
  children: n,
186
186
  isLoading: r,
187
- disabled: o,
187
+ disabled: a,
188
188
  tooltip: t,
189
189
  tooltipPlacement: l = "top",
190
190
  asChild: d,
@@ -197,13 +197,13 @@ const T = k(
197
197
  md: "w-8 px-0",
198
198
  sm: "w-7 px-0",
199
199
  xs: "w-6 px-0"
200
- }[i || "xl"] : "", N = a(
200
+ }[i || "xl"] : "", N = o(
201
201
  T({
202
202
  variant: x,
203
203
  weight: p,
204
204
  size: i,
205
205
  isLoading: r,
206
- disabled: o
206
+ disabled: a
207
207
  }),
208
208
  m,
209
209
  j
@@ -212,7 +212,7 @@ const T = k(
212
212
  C,
213
213
  {
214
214
  variant: "default",
215
- className: a(
215
+ className: o(
216
216
  "pointer-events-none absolute top-1/2 left-1/2 -translate-1/2",
217
217
  {
218
218
  "visible animate-[spin_2s_linear_infinite] opacity-100": r
@@ -223,7 +223,7 @@ const T = k(
223
223
  /* @__PURE__ */ e.jsx(
224
224
  "span",
225
225
  {
226
- className: a(
226
+ className: o(
227
227
  "flex items-center justify-center gap-2",
228
228
  r ? "invisible opacity-0" : "visible opacity-100"
229
229
  ),
@@ -234,13 +234,13 @@ const T = k(
234
234
  h,
235
235
  {
236
236
  ref: y,
237
- className: N,
238
- disabled: !!r || !!o,
237
+ className: o(N),
238
+ disabled: !!r || !!a,
239
239
  ...v,
240
240
  children: z
241
241
  }
242
242
  );
243
- return t && (o || r) ? /* @__PURE__ */ e.jsx(b, { children: /* @__PURE__ */ e.jsxs(c, { children: [
243
+ return t && (a || r) ? /* @__PURE__ */ e.jsx(b, { children: /* @__PURE__ */ e.jsxs(c, { children: [
244
244
  /* @__PURE__ */ e.jsx(g, { asChild: !0, children: u ? /* @__PURE__ */ e.jsx("div", { className: "inline-block", "aria-disabled": "true", children: s }) : s }),
245
245
  /* @__PURE__ */ e.jsx(f, { side: l, children: t })
246
246
  ] }) }) : t ? /* @__PURE__ */ e.jsx(b, { children: /* @__PURE__ */ e.jsxs(c, { children: [
@@ -4,7 +4,7 @@
4
4
  before:absolute before:inset-0 before:z-[-1] before:rounded-full
5
5
  before:transition-transform before:duration-150 before:ease-in-out
6
6
  focus-visible:ring-2 focus-visible:ring-ring focus-visible:outline-1
7
- active:before:scale-96
7
+ not-disabled:active:before:scale-96
8
8
  [&_svg]:shrink-0
9
9
  `,{variants:{variant:{primary:[`
10
10
  text-primary-foreground
@@ -13,7 +13,7 @@
13
13
  `],secondary:[`
14
14
  text-secondary-foreground
15
15
  before:bg-secondary
16
- hover:before:bg-secondary/60
16
+ hover:before:bg-secondary/80
17
17
  `],ghost:[`
18
18
  text-foreground
19
19
  before:bg-background
@@ -67,4 +67,4 @@
67
67
  `},{variant:"destructive",isLoading:!0,className:`
68
68
  text-destructive-foreground!
69
69
  before:bg-destructive/80!
70
- `}],defaultVariants:{variant:"primary",size:"xl",weight:"semibold"}}),b=z.forwardRef(({className:c,variant:g,size:n,weight:m,children:a,isLoading:r,disabled:i,tooltip:s,tooltipPlacement:l="top",asChild:u,iconOnly:d,...f},p)=>{const v=u?R.Slot:"button",y=d?{xl:"w-12 px-0",lg:"w-10 px-0",md:"w-8 px-0",sm:"w-7 px-0",xs:"w-6 px-0"}[n||"xl"]:"",h=e.cn(x({variant:g,weight:m,size:n,isLoading:r,disabled:i}),c,y),j=u?a:e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[r&&e.jsxRuntimeExports.jsx(E.ClasingIcon,{variant:"default",className:e.cn("pointer-events-none absolute top-1/2 left-1/2 -translate-1/2",{"visible animate-[spin_2s_linear_infinite] opacity-100":r})}),e.jsxRuntimeExports.jsx("span",{className:e.cn("flex items-center justify-center gap-2",r?"invisible opacity-0":"visible opacity-100"),children:a})]}),o=e.jsxRuntimeExports.jsx(v,{ref:p,className:h,disabled:!!r||!!i,...f,children:j});return s&&(i||r)?e.jsxRuntimeExports.jsx(t.TooltipProvider,{children:e.jsxRuntimeExports.jsxs(t.Tooltip,{children:[e.jsxRuntimeExports.jsx(t.TooltipTrigger,{asChild:!0,children:d?e.jsxRuntimeExports.jsx("div",{className:"inline-block","aria-disabled":"true",children:o}):o}),e.jsxRuntimeExports.jsx(t.TooltipContent,{side:l,children:s})]})}):s?e.jsxRuntimeExports.jsx(t.TooltipProvider,{children:e.jsxRuntimeExports.jsxs(t.Tooltip,{children:[e.jsxRuntimeExports.jsx(t.TooltipTrigger,{asChild:!0,children:o}),e.jsxRuntimeExports.jsx(t.TooltipContent,{side:l,children:s})]})}):o});b.displayName="Button";exports.Button=b;exports.buttonStyles=x;
70
+ `}],defaultVariants:{variant:"primary",size:"xl",weight:"semibold"}}),b=z.forwardRef(({className:c,variant:g,size:i,weight:m,children:a,isLoading:r,disabled:n,tooltip:s,tooltipPlacement:l="top",asChild:u,iconOnly:d,...f},p)=>{const v=u?R.Slot:"button",y=d?{xl:"w-12 px-0",lg:"w-10 px-0",md:"w-8 px-0",sm:"w-7 px-0",xs:"w-6 px-0"}[i||"xl"]:"",h=e.cn(x({variant:g,weight:m,size:i,isLoading:r,disabled:n}),c,y),j=u?a:e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[r&&e.jsxRuntimeExports.jsx(E.ClasingIcon,{variant:"default",className:e.cn("pointer-events-none absolute top-1/2 left-1/2 -translate-1/2",{"visible animate-[spin_2s_linear_infinite] opacity-100":r})}),e.jsxRuntimeExports.jsx("span",{className:e.cn("flex items-center justify-center gap-2",r?"invisible opacity-0":"visible opacity-100"),children:a})]}),o=e.jsxRuntimeExports.jsx(v,{ref:p,className:e.cn(h),disabled:!!r||!!n,...f,children:j});return s&&(n||r)?e.jsxRuntimeExports.jsx(t.TooltipProvider,{children:e.jsxRuntimeExports.jsxs(t.Tooltip,{children:[e.jsxRuntimeExports.jsx(t.TooltipTrigger,{asChild:!0,children:d?e.jsxRuntimeExports.jsx("div",{className:"inline-block","aria-disabled":"true",children:o}):o}),e.jsxRuntimeExports.jsx(t.TooltipContent,{side:l,children:s})]})}):s?e.jsxRuntimeExports.jsx(t.TooltipProvider,{children:e.jsxRuntimeExports.jsxs(t.Tooltip,{children:[e.jsxRuntimeExports.jsx(t.TooltipTrigger,{asChild:!0,children:o}),e.jsxRuntimeExports.jsx(t.TooltipContent,{side:l,children:s})]})}):o});b.displayName="Button";exports.Button=b;exports.buttonStyles=x;
@@ -1,7 +1,7 @@
1
- "use strict";const e=require("./index-Bfismeyo.cjs"),o=require("cmdk"),a=require("./dialog-BUaX7IId.cjs"),c=require("@phosphor-icons/react");function r({className:t,...n}){return e.jsxRuntimeExports.jsx(o.Command,{"data-slot":"command",className:e.cn(`
2
- flex h-full w-full flex-col overflow-hidden rounded-md bg-popover
1
+ "use strict";const e=require("./index-Bfismeyo.cjs"),o=require("cmdk"),a=require("./dialog-BUaX7IId.cjs"),c=require("@phosphor-icons/react");function r({className:n,...t}){return e.jsxRuntimeExports.jsx(o.Command,{"data-slot":"command",className:e.cn(`
2
+ flex size-full flex-col overflow-hidden rounded-md bg-popover
3
3
  text-popover-foreground
4
- `,t),...n})}function u({title:t="Command Palette",description:n="Search for a command to run...",children:m,className:s,showCloseButton:d=!0,...i}){return e.jsxRuntimeExports.jsxs(a.Dialog,{...i,children:[e.jsxRuntimeExports.jsxs(a.DialogHeader,{className:"sr-only",children:[e.jsxRuntimeExports.jsx(a.DialogTitle,{children:t}),e.jsxRuntimeExports.jsx(a.DialogDescription,{children:n})]}),e.jsxRuntimeExports.jsx(a.DialogContent,{className:e.cn("overflow-hidden p-0",s),showCloseButton:d,children:e.jsxRuntimeExports.jsx(r,{className:`\r
4
+ `,n),...t})}function p({title:n="Command Palette",description:t="Search for a command to run...",children:m,className:s,showCloseButton:d=!0,...i}){return e.jsxRuntimeExports.jsxs(a.Dialog,{...i,children:[e.jsxRuntimeExports.jsxs(a.DialogHeader,{className:"sr-only",children:[e.jsxRuntimeExports.jsx(a.DialogTitle,{children:n}),e.jsxRuntimeExports.jsx(a.DialogDescription,{children:t})]}),e.jsxRuntimeExports.jsx(a.DialogContent,{className:e.cn("overflow-hidden p-0",s),showCloseButton:d,children:e.jsxRuntimeExports.jsx(r,{className:`\r
5
5
  **:data-[slot=command-input-wrapper]:h-12\r
6
6
  [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0\r
7
7
  [&_[cmdk-input-wrapper]_svg]:size-5\r
@@ -12,18 +12,18 @@
12
12
  **:[[cmdk-group]]:px-2\r
13
13
  **:[[cmdk-input]]:h-12\r
14
14
  **:[[cmdk-item]]:px-2 **:[[cmdk-item]]:py-3\r
15
- `,children:m})})]})}function p({className:t,...n}){return e.jsxRuntimeExports.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[e.jsxRuntimeExports.jsx(c.MagnifyingGlassIcon,{className:"size-4 shrink-0 opacity-50"}),e.jsxRuntimeExports.jsx(o.Command.Input,{"data-slot":"command-input",className:e.cn(`
15
+ `,children:m})})]})}function u({className:n,...t}){return e.jsxRuntimeExports.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[e.jsxRuntimeExports.jsx(c.MagnifyingGlassIcon,{className:"size-4 shrink-0 opacity-50"}),e.jsxRuntimeExports.jsx(o.Command.Input,{"data-slot":"command-input",className:e.cn(`
16
16
  flex h-10 w-full rounded-md bg-transparent py-3 paragraph-sm
17
17
  outline-hidden
18
18
  placeholder:text-muted-foreground
19
19
  disabled:cursor-not-allowed disabled:opacity-50
20
- `,t),...n})]})}function l({className:t,...n}){return e.jsxRuntimeExports.jsx(o.Command.List,{"data-slot":"command-list",className:e.cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",t),...n})}function x({...t}){return e.jsxRuntimeExports.jsx(o.Command.Empty,{"data-slot":"command-empty",className:"py-6 text-center paragraph-sm",...t})}function g({className:t,...n}){return e.jsxRuntimeExports.jsx(o.Command.Group,{"data-slot":"command-group",className:e.cn(`
20
+ `,n),...t})]})}function l({className:n,...t}){return e.jsxRuntimeExports.jsx(o.Command.List,{"data-slot":"command-list",className:e.cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",n),...t})}function x({...n}){return e.jsxRuntimeExports.jsx(o.Command.Empty,{"data-slot":"command-empty",className:"py-6 text-center paragraph-sm",...n})}function g({className:n,...t}){return e.jsxRuntimeExports.jsx(o.Command.Group,{"data-slot":"command-group",className:e.cn(`
21
21
  overflow-hidden p-1 text-foreground
22
22
  **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5
23
23
  **:[[cmdk-group-heading]]:paragraph-xs
24
24
  **:[[cmdk-group-heading]]:font-semibold
25
25
  **:[[cmdk-group-heading]]:text-muted-foreground
26
- `,t),...n})}function h({className:t,...n}){return e.jsxRuntimeExports.jsx(o.Command.Separator,{"data-slot":"command-separator",className:e.cn("-mx-1 h-px bg-border",t),...n})}function f({className:t,...n}){return e.jsxRuntimeExports.jsx(o.Command.Item,{"data-slot":"command-item",className:e.cn(`
26
+ `,n),...t})}function h({className:n,...t}){return e.jsxRuntimeExports.jsx(o.Command.Separator,{"data-slot":"command-separator",className:e.cn("-mx-1 h-px bg-border",n),...t})}function f({className:n,...t}){return e.jsxRuntimeExports.jsx(o.Command.Item,{"data-slot":"command-item",className:e.cn(`
27
27
  relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5
28
28
  paragraph-sm outline-hidden select-none
29
29
  data-[disabled=true]:pointer-events-none
@@ -32,5 +32,4 @@
32
32
  data-[selected=true]:text-accent-foreground
33
33
  [&_svg]:pointer-events-none [&_svg]:shrink-0
34
34
  [&_svg:not([class*='size-'])]:size-4
35
- [&_svg:not([class*='text-'])]:text-muted-foreground
36
- `,t),...n})}function j({className:t,...n}){return e.jsxRuntimeExports.jsx("span",{"data-slot":"command-shortcut",className:e.cn("ml-auto paragraph-xs tracking-widest text-muted-foreground",t),...n})}exports.Command=r;exports.CommandDialog=u;exports.CommandEmpty=x;exports.CommandGroup=g;exports.CommandInput=p;exports.CommandItem=f;exports.CommandList=l;exports.CommandSeparator=h;exports.CommandShortcut=j;
35
+ `,n),...t})}function j({className:n,...t}){return e.jsxRuntimeExports.jsx("span",{"data-slot":"command-shortcut",className:e.cn("ml-auto paragraph-xs tracking-widest text-muted-foreground",n),...t})}exports.Command=r;exports.CommandDialog=p;exports.CommandEmpty=x;exports.CommandGroup=g;exports.CommandInput=u;exports.CommandItem=f;exports.CommandList=l;exports.CommandSeparator=h;exports.CommandShortcut=j;
@@ -1,43 +1,43 @@
1
- import { j as e, c as o } from "./index-CwFDnnd3.js";
1
+ import { j as e, c as t } from "./index-CwFDnnd3.js";
2
2
  import { Command as r } from "cmdk";
3
- import { D as c, e as i, h as p, c as l, b as u } from "./dialog-CdmsVmRe.js";
3
+ import { D as i, e as c, h as p, c as l, b as u } from "./dialog-CdmsVmRe.js";
4
4
  import { MagnifyingGlassIcon as g } from "@phosphor-icons/react";
5
5
  function x({
6
6
  className: a,
7
- ...t
7
+ ...o
8
8
  }) {
9
9
  return /* @__PURE__ */ e.jsx(
10
10
  r,
11
11
  {
12
12
  "data-slot": "command",
13
- className: o(
13
+ className: t(
14
14
  `
15
- flex h-full w-full flex-col overflow-hidden rounded-md bg-popover
15
+ flex size-full flex-col overflow-hidden rounded-md bg-popover
16
16
  text-popover-foreground
17
17
  `,
18
18
  a
19
19
  ),
20
- ...t
20
+ ...o
21
21
  }
22
22
  );
23
23
  }
24
24
  function v({
25
25
  title: a = "Command Palette",
26
- description: t = "Search for a command to run...",
26
+ description: o = "Search for a command to run...",
27
27
  children: n,
28
28
  className: s,
29
29
  showCloseButton: d = !0,
30
30
  ...m
31
31
  }) {
32
- return /* @__PURE__ */ e.jsxs(c, { ...m, children: [
33
- /* @__PURE__ */ e.jsxs(i, { className: "sr-only", children: [
32
+ return /* @__PURE__ */ e.jsxs(i, { ...m, children: [
33
+ /* @__PURE__ */ e.jsxs(c, { className: "sr-only", children: [
34
34
  /* @__PURE__ */ e.jsx(p, { children: a }),
35
- /* @__PURE__ */ e.jsx(l, { children: t })
35
+ /* @__PURE__ */ e.jsx(l, { children: o })
36
36
  ] }),
37
37
  /* @__PURE__ */ e.jsx(
38
38
  u,
39
39
  {
40
- className: o("overflow-hidden p-0", s),
40
+ className: t("overflow-hidden p-0", s),
41
41
  showCloseButton: d,
42
42
  children: /* @__PURE__ */ e.jsx(
43
43
  x,
@@ -63,7 +63,7 @@ function v({
63
63
  }
64
64
  function b({
65
65
  className: a,
66
- ...t
66
+ ...o
67
67
  }) {
68
68
  return /* @__PURE__ */ e.jsxs(
69
69
  "div",
@@ -76,7 +76,7 @@ function b({
76
76
  r.Input,
77
77
  {
78
78
  "data-slot": "command-input",
79
- className: o(
79
+ className: t(
80
80
  `
81
81
  flex h-10 w-full rounded-md bg-transparent py-3 paragraph-sm
82
82
  outline-hidden
@@ -85,7 +85,7 @@ function b({
85
85
  `,
86
86
  a
87
87
  ),
88
- ...t
88
+ ...o
89
89
  }
90
90
  )
91
91
  ]
@@ -94,17 +94,17 @@ function b({
94
94
  }
95
95
  function y({
96
96
  className: a,
97
- ...t
97
+ ...o
98
98
  }) {
99
99
  return /* @__PURE__ */ e.jsx(
100
100
  r.List,
101
101
  {
102
102
  "data-slot": "command-list",
103
- className: o(
103
+ className: t(
104
104
  "max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
105
105
  a
106
106
  ),
107
- ...t
107
+ ...o
108
108
  }
109
109
  );
110
110
  }
@@ -122,13 +122,13 @@ function C({
122
122
  }
123
123
  function N({
124
124
  className: a,
125
- ...t
125
+ ...o
126
126
  }) {
127
127
  return /* @__PURE__ */ e.jsx(
128
128
  r.Group,
129
129
  {
130
130
  "data-slot": "command-group",
131
- className: o(
131
+ className: t(
132
132
  `
133
133
  overflow-hidden p-1 text-foreground
134
134
  **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5
@@ -138,32 +138,32 @@ function N({
138
138
  `,
139
139
  a
140
140
  ),
141
- ...t
141
+ ...o
142
142
  }
143
143
  );
144
144
  }
145
145
  function w({
146
146
  className: a,
147
- ...t
147
+ ...o
148
148
  }) {
149
149
  return /* @__PURE__ */ e.jsx(
150
150
  r.Separator,
151
151
  {
152
152
  "data-slot": "command-separator",
153
- className: o("-mx-1 h-px bg-border", a),
154
- ...t
153
+ className: t("-mx-1 h-px bg-border", a),
154
+ ...o
155
155
  }
156
156
  );
157
157
  }
158
158
  function _({
159
159
  className: a,
160
- ...t
160
+ ...o
161
161
  }) {
162
162
  return /* @__PURE__ */ e.jsx(
163
163
  r.Item,
164
164
  {
165
165
  "data-slot": "command-item",
166
- className: o(
166
+ className: t(
167
167
  `
168
168
  relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5
169
169
  paragraph-sm outline-hidden select-none
@@ -173,27 +173,26 @@ function _({
173
173
  data-[selected=true]:text-accent-foreground
174
174
  [&_svg]:pointer-events-none [&_svg]:shrink-0
175
175
  [&_svg:not([class*='size-'])]:size-4
176
- [&_svg:not([class*='text-'])]:text-muted-foreground
177
176
  `,
178
177
  a
179
178
  ),
180
- ...t
179
+ ...o
181
180
  }
182
181
  );
183
182
  }
184
183
  function D({
185
184
  className: a,
186
- ...t
185
+ ...o
187
186
  }) {
188
187
  return /* @__PURE__ */ e.jsx(
189
188
  "span",
190
189
  {
191
190
  "data-slot": "command-shortcut",
192
- className: o(
191
+ className: t(
193
192
  "ml-auto paragraph-xs tracking-widest text-muted-foreground",
194
193
  a
195
194
  ),
196
- ...t
195
+ ...o
197
196
  }
198
197
  );
199
198
  }
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-Bfismeyo.cjs"),u=require("@radix-ui/react-alert-dialog"),n=require("../button-DWBp81pk.cjs");function c(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const r=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(a,l,r.get?r:{enumerable:!0,get:()=>t[l]})}}return a.default=t,Object.freeze(a)}const o=c(u);function d({...t}){return e.jsxRuntimeExports.jsx(o.Root,{"data-slot":"alert-dialog",...t})}function g({...t}){return e.jsxRuntimeExports.jsx(o.Trigger,{"data-slot":"alert-dialog-trigger",...t})}function i({...t}){return e.jsxRuntimeExports.jsx(o.Portal,{"data-slot":"alert-dialog-portal",...t})}function s({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Overlay,{"data-slot":"alert-dialog-overlay",className:e.cn(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-Bfismeyo.cjs"),u=require("@radix-ui/react-alert-dialog"),n=require("../button-CBGIJZh6.cjs");function c(t){const a=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const l in t)if(l!=="default"){const r=Object.getOwnPropertyDescriptor(t,l);Object.defineProperty(a,l,r.get?r:{enumerable:!0,get:()=>t[l]})}}return a.default=t,Object.freeze(a)}const o=c(u);function d({...t}){return e.jsxRuntimeExports.jsx(o.Root,{"data-slot":"alert-dialog",...t})}function g({...t}){return e.jsxRuntimeExports.jsx(o.Trigger,{"data-slot":"alert-dialog-trigger",...t})}function i({...t}){return e.jsxRuntimeExports.jsx(o.Portal,{"data-slot":"alert-dialog-portal",...t})}function s({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Overlay,{"data-slot":"alert-dialog-overlay",className:e.cn(`
2
2
  fixed inset-0 z-50 bg-black/50
3
3
  data-[state=closed]:animate-out data-[state=closed]:fade-out-0
4
4
  data-[state=open]:animate-in data-[state=open]:fade-in-0
@@ -1,6 +1,6 @@
1
1
  import { j as e, c as l } from "../index-CwFDnnd3.js";
2
2
  import * as o from "@radix-ui/react-alert-dialog";
3
- import { b as r } from "../button-2VesFn_C.js";
3
+ import { b as r } from "../button-BMh8vaQL.js";
4
4
  function c({
5
5
  ...t
6
6
  }) {
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../button-DWBp81pk.cjs");exports.Button=t.Button;exports.buttonStyles=t.buttonStyles;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../button-CBGIJZh6.cjs");exports.Button=t.Button;exports.buttonStyles=t.buttonStyles;
@@ -1,4 +1,4 @@
1
- import { B as s, b as a } from "../button-2VesFn_C.js";
1
+ import { B as s, b as a } from "../button-BMh8vaQL.js";
2
2
  export {
3
3
  s as Button,
4
4
  a as buttonStyles
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-Bfismeyo.cjs"),b=require("react"),g=require("react-day-picker"),m=require("../button-DWBp81pk.cjs"),i=require("@phosphor-icons/react");function h(r){const d=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(d,n,o.get?o:{enumerable:!0,get:()=>r[n]})}}return d.default=r,Object.freeze(d)}const p=h(b);function w({className:r,classNames:d,showOutsideDays:n=!0,captionLayout:o="label",buttonVariant:l="ghost",formatters:c,components:f,...x}){const t=g.getDefaultClassNames();return e.jsxRuntimeExports.jsx(g.DayPicker,{showOutsideDays:n,className:e.cn(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-Bfismeyo.cjs"),b=require("react"),g=require("react-day-picker"),m=require("../button-CBGIJZh6.cjs"),i=require("@phosphor-icons/react");function h(r){const d=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(r){for(const n in r)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(d,n,o.get?o:{enumerable:!0,get:()=>r[n]})}}return d.default=r,Object.freeze(d)}const p=h(b);function w({className:r,classNames:d,showOutsideDays:n=!0,captionLayout:o="label",buttonVariant:l="ghost",formatters:c,components:f,...x}){const t=g.getDefaultClassNames();return e.jsxRuntimeExports.jsx(g.DayPicker,{showOutsideDays:n,className:e.cn(`
2
2
  group/calendar bg-background p-3 [--cell-size:--spacing(8)]
3
3
  in-data-[slot=card-content]:bg-transparent
4
4
  in-data-[slot=popover-content]:bg-transparent
@@ -30,7 +30,7 @@
30
30
  flex-1 rounded-md text-[0.8rem] font-regular text-muted-foreground
31
31
  select-none
32
32
  `,t.weekday),week:e.cn("mt-2 flex w-full",t.week),week_number_header:e.cn("w-(--cell-size) select-none",t.week_number_header),week_number:e.cn("text-[0.8rem] text-muted-foreground select-none",t.week_number),day:e.cn(`
33
- group/day relative aspect-square h-full w-full p-0 text-center
33
+ group/day relative aspect-square size-full p-0 text-center
34
34
  select-none
35
35
  [&:first-child[data-selected=true]_button]:rounded-l-md
36
36
  [&:last-child[data-selected=true]_button]:rounded-r-md
@@ -1,7 +1,7 @@
1
1
  import { j as n, c as e } from "../index-CwFDnnd3.js";
2
2
  import * as i from "react";
3
3
  import { getDefaultClassNames as p, DayPicker as x } from "react-day-picker";
4
- import { b as m, B as h } from "../button-2VesFn_C.js";
4
+ import { b as m, B as h } from "../button-BMh8vaQL.js";
5
5
  import { CaretLeftIcon as w, CaretRightIcon as _, CaretDownIcon as y } from "@phosphor-icons/react";
6
6
  function C({
7
7
  className: c,
@@ -119,7 +119,7 @@ function C({
119
119
  ),
120
120
  day: e(
121
121
  `
122
- group/day relative aspect-square h-full w-full p-0 text-center
122
+ group/day relative aspect-square size-full p-0 text-center
123
123
  select-none
124
124
  [&:first-child[data-selected=true]_button]:rounded-l-md
125
125
  [&:last-child[data-selected=true]_button]:rounded-r-md
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../command-FBkK3fzE.cjs");exports.Command=m.Command;exports.CommandDialog=m.CommandDialog;exports.CommandEmpty=m.CommandEmpty;exports.CommandGroup=m.CommandGroup;exports.CommandInput=m.CommandInput;exports.CommandItem=m.CommandItem;exports.CommandList=m.CommandList;exports.CommandSeparator=m.CommandSeparator;exports.CommandShortcut=m.CommandShortcut;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("../command-DNjJookC.cjs");exports.Command=m.Command;exports.CommandDialog=m.CommandDialog;exports.CommandEmpty=m.CommandEmpty;exports.CommandGroup=m.CommandGroup;exports.CommandInput=m.CommandInput;exports.CommandItem=m.CommandItem;exports.CommandList=m.CommandList;exports.CommandSeparator=m.CommandSeparator;exports.CommandShortcut=m.CommandShortcut;
@@ -1,4 +1,4 @@
1
- import { C as o, a as d, b as n, c as s, d as C, e as t, f as r, g as p, h as e } from "../command-Vk11GgqU.js";
1
+ import { C as o, a as d, b as n, c as s, d as C, e as t, f as r, g as p, h as e } from "../command-peXi2dFX.js";
2
2
  export {
3
3
  o as Command,
4
4
  d as CommandDialog,
@@ -31,7 +31,7 @@
31
31
  data-[state=closed]:zoom-out-95
32
32
  data-[state=open]:animate-in data-[state=open]:fade-in-0
33
33
  data-[state=open]:zoom-in-95
34
- `,t),collisionPadding:n,...a})})}function v({className:t,inset:n,variant:a="default",...s}){return e.jsxRuntimeExports.jsx(o.Item,{"data-slot":"context-menu-item","data-inset":n,"data-variant":a,className:e.cn(`
34
+ `,t),collisionPadding:n,...a})})}function j({className:t,inset:n,variant:a="default",...s}){return e.jsxRuntimeExports.jsx(o.Item,{"data-slot":"context-menu-item","data-inset":n,"data-variant":a,className:e.cn(`
35
35
  relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5
36
36
  paragraph-sm outline-hidden select-none
37
37
  focus:bg-accent focus:text-accent-foreground
@@ -43,9 +43,8 @@
43
43
  dark:data-[variant=destructive]:focus:bg-destructive/20
44
44
  [&_svg]:pointer-events-none [&_svg]:shrink-0
45
45
  [&_svg:not([class*='size-'])]:size-4
46
- [&_svg:not([class*='text-'])]:text-muted-foreground
47
46
  data-[variant=destructive]:*:[svg]:text-destructive!
48
- `,t),...s})}function j({className:t,children:n,checked:a,...s}){return e.jsxRuntimeExports.jsxs(o.CheckboxItem,{"data-slot":"context-menu-checkbox-item",className:e.cn(`
47
+ `,t),...s})}function v({className:t,children:n,checked:a,...s}){return e.jsxRuntimeExports.jsxs(o.CheckboxItem,{"data-slot":"context-menu-checkbox-item",className:e.cn(`
49
48
  relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2
50
49
  pl-8 paragraph-sm outline-hidden select-none
51
50
  focus:bg-accent focus:text-accent-foreground
@@ -68,4 +67,4 @@
68
67
  `,children:e.jsxRuntimeExports.jsx(o.ItemIndicator,{children:e.jsxRuntimeExports.jsx(r.CircleIcon,{weight:"fill",className:"size-2 fill-current"})})}),n]})}function C({className:t,inset:n,...a}){return e.jsxRuntimeExports.jsx(o.Label,{"data-slot":"context-menu-label","data-inset":n,className:e.cn(`
69
68
  px-2 py-1.5 paragraph-sm font-semibold text-foreground
70
69
  data-inset:pl-8
71
- `,t),...a})}function M({className:t,...n}){return e.jsxRuntimeExports.jsx(o.Separator,{"data-slot":"context-menu-separator",className:e.cn("-mx-1 my-1 h-px bg-border",t),...n})}function R({className:t,...n}){return e.jsxRuntimeExports.jsx("span",{"data-slot":"context-menu-shortcut",className:e.cn("ml-auto paragraph-xs tracking-widest text-muted-foreground",t),...n})}exports.ContextMenu=d;exports.ContextMenuCheckboxItem=j;exports.ContextMenuContent=b;exports.ContextMenuGroup=x;exports.ContextMenuItem=v;exports.ContextMenuLabel=C;exports.ContextMenuPortal=l;exports.ContextMenuRadioGroup=p;exports.ContextMenuRadioItem=h;exports.ContextMenuSeparator=M;exports.ContextMenuShortcut=R;exports.ContextMenuSub=m;exports.ContextMenuSubContent=g;exports.ContextMenuSubTrigger=f;exports.ContextMenuTrigger=c;
70
+ `,t),...a})}function M({className:t,...n}){return e.jsxRuntimeExports.jsx(o.Separator,{"data-slot":"context-menu-separator",className:e.cn("-mx-1 my-1 h-px bg-border",t),...n})}function R({className:t,...n}){return e.jsxRuntimeExports.jsx("span",{"data-slot":"context-menu-shortcut",className:e.cn("ml-auto paragraph-xs tracking-widest text-muted-foreground",t),...n})}exports.ContextMenu=d;exports.ContextMenuCheckboxItem=v;exports.ContextMenuContent=b;exports.ContextMenuGroup=x;exports.ContextMenuItem=j;exports.ContextMenuLabel=C;exports.ContextMenuPortal=l;exports.ContextMenuRadioGroup=p;exports.ContextMenuRadioItem=h;exports.ContextMenuSeparator=M;exports.ContextMenuShortcut=R;exports.ContextMenuSub=m;exports.ContextMenuSubContent=g;exports.ContextMenuSubTrigger=f;exports.ContextMenuTrigger=c;
@@ -152,7 +152,6 @@ function C({
152
152
  dark:data-[variant=destructive]:focus:bg-destructive/20
153
153
  [&_svg]:pointer-events-none [&_svg]:shrink-0
154
154
  [&_svg:not([class*='size-'])]:size-4
155
- [&_svg:not([class*='text-'])]:text-muted-foreground
156
155
  data-[variant=destructive]:*:[svg]:text-destructive!
157
156
  `,
158
157
  t
@@ -271,7 +270,7 @@ function I({
271
270
  }
272
271
  );
273
272
  }
274
- function _({
273
+ function y({
275
274
  className: t,
276
275
  ...n
277
276
  }) {
@@ -298,7 +297,7 @@ export {
298
297
  v as ContextMenuRadioGroup,
299
298
  M as ContextMenuRadioItem,
300
299
  I as ContextMenuSeparator,
301
- _ as ContextMenuShortcut,
300
+ y as ContextMenuShortcut,
302
301
  g as ContextMenuSub,
303
302
  h as ContextMenuSubContent,
304
303
  b as ContextMenuSubTrigger,
@@ -23,7 +23,6 @@
23
23
  dark:data-[variant=destructive]:focus:bg-destructive
24
24
  [&_svg]:pointer-events-none [&_svg]:shrink-0
25
25
  [&_svg:not([class*='size-'])]:size-4
26
- [&_svg:not([class*='text-'])]:text-muted-foreground
27
26
  data-[variant=destructive]:*:[svg]:text-destructive!
28
27
  `,e),...a})}function f({className:e,children:n,checked:r,...a}){return t.jsxRuntimeExports.jsxs(o.CheckboxItem,{"data-slot":"dropdown-menu-checkbox-item",className:t.cn(`
29
28
  relative flex cursor-default items-center gap-2 rounded-sm py-1.5 pr-2
@@ -48,12 +47,14 @@
48
47
  `,children:t.jsxRuntimeExports.jsx(o.ItemIndicator,{children:t.jsxRuntimeExports.jsx(s.CircleIcon,{weight:"fill",className:"size-2 fill-current"})})}),n]})}function b({className:e,inset:n,...r}){return t.jsxRuntimeExports.jsx(o.Label,{"data-slot":"dropdown-menu-label","data-inset":n,className:t.cn(`
49
48
  px-2 py-1.5 paragraph-sm font-semibold
50
49
  data-inset:pl-8
51
- `,e),...r})}function j({className:e,...n}){return t.jsxRuntimeExports.jsx(o.Separator,{"data-slot":"dropdown-menu-separator",className:t.cn("-mx-1 my-1 h-px bg-border",e),...n})}function v({className:e,...n}){return t.jsxRuntimeExports.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:t.cn("ml-auto paragraph-xs tracking-widest text-muted-foreground",e),...n})}function h({...e}){return t.jsxRuntimeExports.jsx(o.Sub,{"data-slot":"dropdown-menu-sub",...e})}function D({className:e,inset:n,children:r,...a}){return t.jsxRuntimeExports.jsxs(o.SubTrigger,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:t.cn(`
52
- flex cursor-default items-center rounded-sm px-2 py-1.5 paragraph-sm
53
- outline-hidden select-none
50
+ `,e),...r})}function v({className:e,...n}){return t.jsxRuntimeExports.jsx(o.Separator,{"data-slot":"dropdown-menu-separator",className:t.cn("-mx-1 my-1 h-px bg-border",e),...n})}function j({className:e,...n}){return t.jsxRuntimeExports.jsx("span",{"data-slot":"dropdown-menu-shortcut",className:t.cn("ml-auto paragraph-xs tracking-widest text-muted-foreground",e),...n})}function h({...e}){return t.jsxRuntimeExports.jsx(o.Sub,{"data-slot":"dropdown-menu-sub",...e})}function D({className:e,inset:n,children:r,...a}){return t.jsxRuntimeExports.jsxs(o.SubTrigger,{"data-slot":"dropdown-menu-sub-trigger","data-inset":n,className:t.cn(`
51
+ relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5
52
+ paragraph-sm outline-hidden select-none
54
53
  focus:bg-accent focus:text-accent-foreground
54
+ data-disabled:pointer-events-none data-disabled:opacity-50
55
55
  data-inset:pl-8
56
- data-[state=open]:bg-accent data-[state=open]:text-accent-foreground
56
+ [&_svg]:pointer-events-none [&_svg]:shrink-0
57
+ [&_svg:not([class*='size-'])]:size-4
57
58
  `,e),...a,children:[r,t.jsxRuntimeExports.jsx(s.CaretRightIcon,{className:"ml-auto size-4"})]})}function M({className:e,...n}){return t.jsxRuntimeExports.jsx(o.SubContent,{"data-slot":"dropdown-menu-sub-content",className:t.cn(`
58
59
  z-50 min-w-32 origin-(--radix-dropdown-menu-content-transform-origin)
59
60
  overflow-hidden rounded-md border bg-popover p-1
@@ -66,4 +67,4 @@
66
67
  data-[state=closed]:zoom-out-95
67
68
  data-[state=open]:animate-in data-[state=open]:fade-in-0
68
69
  data-[state=open]:zoom-in-95
69
- `,e),...n})}exports.DropdownMenu=u;exports.DropdownMenuCheckboxItem=f;exports.DropdownMenuContent=l;exports.DropdownMenuGroup=m;exports.DropdownMenuItem=x;exports.DropdownMenuLabel=b;exports.DropdownMenuPortal=p;exports.DropdownMenuRadioGroup=g;exports.DropdownMenuRadioItem=w;exports.DropdownMenuSeparator=j;exports.DropdownMenuShortcut=v;exports.DropdownMenuSub=h;exports.DropdownMenuSubContent=M;exports.DropdownMenuSubTrigger=D;exports.DropdownMenuTrigger=c;
70
+ `,e),...n})}exports.DropdownMenu=u;exports.DropdownMenuCheckboxItem=f;exports.DropdownMenuContent=l;exports.DropdownMenuGroup=m;exports.DropdownMenuItem=x;exports.DropdownMenuLabel=b;exports.DropdownMenuPortal=p;exports.DropdownMenuRadioGroup=g;exports.DropdownMenuRadioItem=w;exports.DropdownMenuSeparator=v;exports.DropdownMenuShortcut=j;exports.DropdownMenuSub=h;exports.DropdownMenuSubContent=M;exports.DropdownMenuSubTrigger=D;exports.DropdownMenuTrigger=c;
@@ -1,21 +1,21 @@
1
1
  import { j as t, c as r } from "../index-CwFDnnd3.js";
2
- import * as n from "@radix-ui/react-dropdown-menu";
3
- import { CheckIcon as s, CircleIcon as i, CaretRightIcon as u } from "@phosphor-icons/react";
2
+ import * as o from "@radix-ui/react-dropdown-menu";
3
+ import { CheckIcon as d, CircleIcon as i, CaretRightIcon as u } from "@phosphor-icons/react";
4
4
  function p({
5
5
  ...e
6
6
  }) {
7
- return /* @__PURE__ */ t.jsx(n.Root, { "data-slot": "dropdown-menu", ...e });
7
+ return /* @__PURE__ */ t.jsx(o.Root, { "data-slot": "dropdown-menu", ...e });
8
8
  }
9
9
  function m({
10
10
  ...e
11
11
  }) {
12
- return /* @__PURE__ */ t.jsx(n.Portal, { "data-slot": "dropdown-menu-portal", ...e });
12
+ return /* @__PURE__ */ t.jsx(o.Portal, { "data-slot": "dropdown-menu-portal", ...e });
13
13
  }
14
14
  function f({
15
15
  ...e
16
16
  }) {
17
17
  return /* @__PURE__ */ t.jsx(
18
- n.Trigger,
18
+ o.Trigger,
19
19
  {
20
20
  "data-slot": "dropdown-menu-trigger",
21
21
  ...e
@@ -24,15 +24,15 @@ function f({
24
24
  }
25
25
  function g({
26
26
  className: e,
27
- sideOffset: o = 4,
27
+ sideOffset: n = 4,
28
28
  collisionPadding: a = 24,
29
- ...d
29
+ ...s
30
30
  }) {
31
- return /* @__PURE__ */ t.jsx(n.Portal, { children: /* @__PURE__ */ t.jsx(
32
- n.Content,
31
+ return /* @__PURE__ */ t.jsx(o.Portal, { children: /* @__PURE__ */ t.jsx(
32
+ o.Content,
33
33
  {
34
34
  "data-slot": "dropdown-menu-content",
35
- sideOffset: o,
35
+ sideOffset: n,
36
36
  className: r(
37
37
  `
38
38
  z-50 max-h-(--radix-dropdown-menu-content-available-height) min-w-32
@@ -51,26 +51,26 @@ function g({
51
51
  e
52
52
  ),
53
53
  collisionPadding: a,
54
- ...d
54
+ ...s
55
55
  }
56
56
  ) });
57
57
  }
58
58
  function x({
59
59
  ...e
60
60
  }) {
61
- return /* @__PURE__ */ t.jsx(n.Group, { "data-slot": "dropdown-menu-group", ...e });
61
+ return /* @__PURE__ */ t.jsx(o.Group, { "data-slot": "dropdown-menu-group", ...e });
62
62
  }
63
63
  function v({
64
64
  className: e,
65
- inset: o,
65
+ inset: n,
66
66
  variant: a = "default",
67
- ...d
67
+ ...s
68
68
  }) {
69
69
  return /* @__PURE__ */ t.jsx(
70
- n.Item,
70
+ o.Item,
71
71
  {
72
72
  "data-slot": "dropdown-menu-item",
73
- "data-inset": o,
73
+ "data-inset": n,
74
74
  "data-variant": a,
75
75
  className: r(
76
76
  `
@@ -85,23 +85,22 @@ function v({
85
85
  dark:data-[variant=destructive]:focus:bg-destructive
86
86
  [&_svg]:pointer-events-none [&_svg]:shrink-0
87
87
  [&_svg:not([class*='size-'])]:size-4
88
- [&_svg:not([class*='text-'])]:text-muted-foreground
89
88
  data-[variant=destructive]:*:[svg]:text-destructive!
90
89
  `,
91
90
  e
92
91
  ),
93
- ...d
92
+ ...s
94
93
  }
95
94
  );
96
95
  }
97
- function w({
96
+ function b({
98
97
  className: e,
99
- children: o,
98
+ children: n,
100
99
  checked: a,
101
- ...d
100
+ ...s
102
101
  }) {
103
102
  return /* @__PURE__ */ t.jsxs(
104
- n.CheckboxItem,
103
+ o.CheckboxItem,
105
104
  {
106
105
  "data-slot": "dropdown-menu-checkbox-item",
107
106
  className: r(
@@ -116,7 +115,7 @@ function w({
116
115
  e
117
116
  ),
118
117
  checked: a,
119
- ...d,
118
+ ...s,
120
119
  children: [
121
120
  /* @__PURE__ */ t.jsx(
122
121
  "span",
@@ -125,19 +124,19 @@ function w({
125
124
  pointer-events-none absolute left-2 flex size-3.5 items-center\r
126
125
  justify-center\r
127
126
  `,
128
- children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(s, { className: "size-4" }) })
127
+ children: /* @__PURE__ */ t.jsx(o.ItemIndicator, { children: /* @__PURE__ */ t.jsx(d, { className: "size-4" }) })
129
128
  }
130
129
  ),
131
- o
130
+ n
132
131
  ]
133
132
  }
134
133
  );
135
134
  }
136
- function b({
135
+ function w({
137
136
  ...e
138
137
  }) {
139
138
  return /* @__PURE__ */ t.jsx(
140
- n.RadioGroup,
139
+ o.RadioGroup,
141
140
  {
142
141
  "data-slot": "dropdown-menu-radio-group",
143
142
  ...e
@@ -146,11 +145,11 @@ function b({
146
145
  }
147
146
  function h({
148
147
  className: e,
149
- children: o,
148
+ children: n,
150
149
  ...a
151
150
  }) {
152
151
  return /* @__PURE__ */ t.jsxs(
153
- n.RadioItem,
152
+ o.RadioItem,
154
153
  {
155
154
  "data-slot": "dropdown-menu-radio-item",
156
155
  className: r(
@@ -173,24 +172,24 @@ function h({
173
172
  pointer-events-none absolute left-2 flex size-3.5 items-center\r
174
173
  justify-center\r
175
174
  `,
176
- children: /* @__PURE__ */ t.jsx(n.ItemIndicator, { children: /* @__PURE__ */ t.jsx(i, { weight: "fill", className: "size-2 fill-current" }) })
175
+ children: /* @__PURE__ */ t.jsx(o.ItemIndicator, { children: /* @__PURE__ */ t.jsx(i, { weight: "fill", className: "size-2 fill-current" }) })
177
176
  }
178
177
  ),
179
- o
178
+ n
180
179
  ]
181
180
  }
182
181
  );
183
182
  }
184
183
  function j({
185
184
  className: e,
186
- inset: o,
185
+ inset: n,
187
186
  ...a
188
187
  }) {
189
188
  return /* @__PURE__ */ t.jsx(
190
- n.Label,
189
+ o.Label,
191
190
  {
192
191
  "data-slot": "dropdown-menu-label",
193
- "data-inset": o,
192
+ "data-inset": n,
194
193
  className: r(
195
194
  `
196
195
  px-2 py-1.5 paragraph-sm font-semibold
@@ -204,20 +203,20 @@ function j({
204
203
  }
205
204
  function z({
206
205
  className: e,
207
- ...o
206
+ ...n
208
207
  }) {
209
208
  return /* @__PURE__ */ t.jsx(
210
- n.Separator,
209
+ o.Separator,
211
210
  {
212
211
  "data-slot": "dropdown-menu-separator",
213
212
  className: r("-mx-1 my-1 h-px bg-border", e),
214
- ...o
213
+ ...n
215
214
  }
216
215
  );
217
216
  }
218
217
  function D({
219
218
  className: e,
220
- ...o
219
+ ...n
221
220
  }) {
222
221
  return /* @__PURE__ */ t.jsx(
223
222
  "span",
@@ -227,37 +226,39 @@ function D({
227
226
  "ml-auto paragraph-xs tracking-widest text-muted-foreground",
228
227
  e
229
228
  ),
230
- ...o
229
+ ...n
231
230
  }
232
231
  );
233
232
  }
234
233
  function M({
235
234
  ...e
236
235
  }) {
237
- return /* @__PURE__ */ t.jsx(n.Sub, { "data-slot": "dropdown-menu-sub", ...e });
236
+ return /* @__PURE__ */ t.jsx(o.Sub, { "data-slot": "dropdown-menu-sub", ...e });
238
237
  }
239
238
  function N({
240
239
  className: e,
241
- inset: o,
240
+ inset: n,
242
241
  children: a,
243
- ...d
242
+ ...s
244
243
  }) {
245
244
  return /* @__PURE__ */ t.jsxs(
246
- n.SubTrigger,
245
+ o.SubTrigger,
247
246
  {
248
247
  "data-slot": "dropdown-menu-sub-trigger",
249
- "data-inset": o,
248
+ "data-inset": n,
250
249
  className: r(
251
250
  `
252
- flex cursor-default items-center rounded-sm px-2 py-1.5 paragraph-sm
253
- outline-hidden select-none
251
+ relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5
252
+ paragraph-sm outline-hidden select-none
254
253
  focus:bg-accent focus:text-accent-foreground
254
+ data-disabled:pointer-events-none data-disabled:opacity-50
255
255
  data-inset:pl-8
256
- data-[state=open]:bg-accent data-[state=open]:text-accent-foreground
256
+ [&_svg]:pointer-events-none [&_svg]:shrink-0
257
+ [&_svg:not([class*='size-'])]:size-4
257
258
  `,
258
259
  e
259
260
  ),
260
- ...d,
261
+ ...s,
261
262
  children: [
262
263
  a,
263
264
  /* @__PURE__ */ t.jsx(u, { className: "ml-auto size-4" })
@@ -265,12 +266,12 @@ function N({
265
266
  }
266
267
  );
267
268
  }
268
- function I({
269
+ function y({
269
270
  className: e,
270
- ...o
271
+ ...n
271
272
  }) {
272
273
  return /* @__PURE__ */ t.jsx(
273
- n.SubContent,
274
+ o.SubContent,
274
275
  {
275
276
  "data-slot": "dropdown-menu-sub-content",
276
277
  className: r(
@@ -289,24 +290,24 @@ function I({
289
290
  `,
290
291
  e
291
292
  ),
292
- ...o
293
+ ...n
293
294
  }
294
295
  );
295
296
  }
296
297
  export {
297
298
  p as DropdownMenu,
298
- w as DropdownMenuCheckboxItem,
299
+ b as DropdownMenuCheckboxItem,
299
300
  g as DropdownMenuContent,
300
301
  x as DropdownMenuGroup,
301
302
  v as DropdownMenuItem,
302
303
  j as DropdownMenuLabel,
303
304
  m as DropdownMenuPortal,
304
- b as DropdownMenuRadioGroup,
305
+ w as DropdownMenuRadioGroup,
305
306
  h as DropdownMenuRadioItem,
306
307
  z as DropdownMenuSeparator,
307
308
  D as DropdownMenuShortcut,
308
309
  M as DropdownMenuSub,
309
- I as DropdownMenuSubContent,
310
+ y as DropdownMenuSubContent,
310
311
  N as DropdownMenuSubTrigger,
311
312
  f as DropdownMenuTrigger
312
313
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../input-u-OTHOPe.cjs");exports.Input=t.Input;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../input-DKYrdSsU.cjs");exports.Input=t.Input;
@@ -1,4 +1,4 @@
1
- import { I as r } from "../input-kOA9xJIa.js";
1
+ import { I as r } from "../input-9_pd3W-1.js";
2
2
  export {
3
3
  r as Input
4
4
  };
@@ -29,7 +29,6 @@
29
29
  dark:data-[variant=destructive]:focus:bg-destructive
30
30
  [&_svg]:pointer-events-none [&_svg]:shrink-0
31
31
  [&_svg:not([class*='size-'])]:size-4
32
- [&_svg:not([class*='text-'])]:text-muted-foreground
33
32
  data-[variant=destructive]:*:[svg]:text-destructive-foreground!
34
33
  `,e),...s})}function j({className:e,children:n,checked:a,...s}){return t.jsxRuntimeExports.jsxs(r.CheckboxItem,{"data-slot":"menubar-checkbox-item",className:t.cn(`
35
34
  relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2
@@ -119,7 +119,6 @@ function j({
119
119
  dark:data-[variant=destructive]:focus:bg-destructive
120
120
  [&_svg]:pointer-events-none [&_svg]:shrink-0
121
121
  [&_svg:not([class*='size-'])]:size-4
122
- [&_svg:not([class*='text-'])]:text-muted-foreground
123
122
  data-[variant=destructive]:*:[svg]:text-destructive-foreground!
124
123
  `,
125
124
  e
@@ -259,7 +258,7 @@ function k({
259
258
  }) {
260
259
  return /* @__PURE__ */ t.jsx(n.Sub, { "data-slot": "menubar-sub", ...e });
261
260
  }
262
- function _({
261
+ function w({
263
262
  className: e,
264
263
  inset: a,
265
264
  children: r,
@@ -288,7 +287,7 @@ function _({
288
287
  }
289
288
  );
290
289
  }
291
- function w({
290
+ function C({
292
291
  className: e,
293
292
  collisionPadding: a = 24,
294
293
  ...r
@@ -332,7 +331,7 @@ export {
332
331
  I as MenubarSeparator,
333
332
  y as MenubarShortcut,
334
333
  k as MenubarSub,
335
- w as MenubarSubContent,
336
- _ as MenubarSubTrigger,
334
+ C as MenubarSubContent,
335
+ w as MenubarSubTrigger,
337
336
  v as MenubarTrigger
338
337
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-Bfismeyo.cjs"),V=require("../badge-DK9gdPpu.cjs"),p=require("../command-FBkK3fzE.cjs"),M=require("../popover-A1-x5q-F.cjs"),N=require("@phosphor-icons/react"),n=require("react"),I=require("../clasing-icon-CHt2Otn8.cjs"),k=n.createContext(null);function z({children:t,values:r,defaultValues:i,onValuesChange:u,isLoading:c,onSearchChange:a,loadingText:g="Loading...",noResultsText:d="No results found"}){const[x,f]=n.useState(!1),[b,j]=n.useState(new Set(r??i)),[y,m]=n.useState(new Map),[S,E]=n.useState("");function o(s){const h=R=>{const v=new Set(R);return v.has(s)?v.delete(s):v.add(s),v};j(h),u?.([...h(b)])}const l=n.useCallback((s,h)=>{m(R=>R.get(s)===h?R:new Map(R).set(s,h))},[]),w=n.useCallback(s=>{E(s),a?.(s)},[a]);return e.jsxRuntimeExports.jsx(k,{value:{open:x,setOpen:f,selectedValues:r?new Set(r):b,toggleValue:o,items:y,onItemAdded:l,isLoading:c,searchValue:S,onSearchChange:w,loadingText:g,noResultsText:d},children:e.jsxRuntimeExports.jsx(M.Popover,{open:x,onOpenChange:f,children:t})})}function P({className:t,children:r,size:i="md",...u}){const{open:c}=C();return e.jsxRuntimeExports.jsx(M.PopoverTrigger,{asChild:!0,children:e.jsxRuntimeExports.jsxs("button",{...u,role:u.role??"combobox","aria-expanded":u["aria-expanded"]??c,"data-size":i,disabled:u.disabled??void 0,className:e.cn(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-Bfismeyo.cjs"),V=require("../badge-DK9gdPpu.cjs"),p=require("../command-DNjJookC.cjs"),M=require("../popover-A1-x5q-F.cjs"),N=require("@phosphor-icons/react"),n=require("react"),I=require("../clasing-icon-CHt2Otn8.cjs"),k=n.createContext(null);function z({children:t,values:r,defaultValues:i,onValuesChange:u,isLoading:c,onSearchChange:a,loadingText:g="Loading...",noResultsText:d="No results found"}){const[x,f]=n.useState(!1),[b,j]=n.useState(new Set(r??i)),[y,m]=n.useState(new Map),[S,E]=n.useState("");function o(s){const h=R=>{const v=new Set(R);return v.has(s)?v.delete(s):v.add(s),v};j(h),u?.([...h(b)])}const l=n.useCallback((s,h)=>{m(R=>R.get(s)===h?R:new Map(R).set(s,h))},[]),w=n.useCallback(s=>{E(s),a?.(s)},[a]);return e.jsxRuntimeExports.jsx(k,{value:{open:x,setOpen:f,selectedValues:r?new Set(r):b,toggleValue:o,items:y,onItemAdded:l,isLoading:c,searchValue:S,onSearchChange:w,loadingText:g,noResultsText:d},children:e.jsxRuntimeExports.jsx(M.Popover,{open:x,onOpenChange:f,children:t})})}function P({className:t,children:r,size:i="md",...u}){const{open:c}=C();return e.jsxRuntimeExports.jsx(M.PopoverTrigger,{asChild:!0,children:e.jsxRuntimeExports.jsxs("button",{...u,role:u.role??"combobox","aria-expanded":u["aria-expanded"]??c,"data-size":i,disabled:u.disabled??void 0,className:e.cn(`
2
2
  flex w-fit items-center justify-between gap-2 overflow-hidden
3
3
  rounded-md border border-input bg-transparent whitespace-nowrap
4
4
  transition-[color,box-shadow] outline-none
@@ -19,6 +19,4 @@
19
19
  `,i==="sm"&&"h-8 px-2 py-1 label-md",i==="md"&&"h-12 px-3 py-1 label-lg",i==="lg"&&"h-16 px-4 py-2 label-xl",t),children:[r,e.jsxRuntimeExports.jsx(N.CaretUpDownIcon,{className:"size-4 shrink-0 opacity-50"})]})})}function q({placeholder:t,clickToRemove:r=!0,className:i,overflowBehavior:u="wrap-when-open",...c}){const{selectedValues:a,toggleValue:g,items:d,open:x}=C(),[f,b]=n.useState(0),j=n.useRef(null),y=n.useRef(null),m=n.useRef(new Set),S=u==="wrap"||u==="wrap-when-open"&&x;n.useEffect(()=>{S&&m.current.forEach(o=>o.style.removeProperty("display"))},[S]);const E=n.useCallback(()=>{if(j.current==null)return;const o=j.current,l=y.current;l!=null&&(l.style.display="none"),m.current.forEach(s=>s.style.removeProperty("display"));let w=0;for(let s=m.current.size-1;s>=0;s--){const h=[...m.current][s];if(o.scrollWidth<=o.clientWidth)break;w=m.current.size-s,h.style.display="none",l?.style.removeProperty("display")}b(w)},[]);return n.useEffect(()=>{if(j.current==null)return;const o=new ResizeObserver(E);return o.observe(j.current),()=>o.disconnect()},[E]),n.useLayoutEffect(()=>{E()},[a,E]),a.size===0&&t?e.jsxRuntimeExports.jsx("span",{className:"font-regular text-muted-foreground",children:t}):e.jsxRuntimeExports.jsxs("div",{...c,ref:j,className:e.cn("flex min-h-7 w-full gap-1.5 overflow-hidden",S&&"flex-wrap",i),children:[[...a].filter(o=>d.has(o)).map(o=>e.jsxRuntimeExports.jsxs(V.Badge,{ref:l=>{if(l!=null)return m.current.add(l),()=>{m.current.delete(l)}},variant:"outline",className:"group flex items-center gap-1",onClick:r?l=>{l.stopPropagation(),g(o)}:void 0,children:[d.get(o),r&&e.jsxRuntimeExports.jsx(N.XIcon,{className:`\r
20
20
  size-2 text-muted-foreground\r
21
21
  group-hover:text-destructive-foreground\r
22
- `})]},o)),e.jsxRuntimeExports.jsxs(V.Badge,{style:{display:f>0&&!S?"block":"none"},variant:"outline",ref:y,children:["+",f]})]})}function O({search:t=!0,children:r,...i}){const{isLoading:u,onSearchChange:c,searchValue:a,noResultsText:g,loadingText:d}=C(),x=typeof t=="object"?!0:t;return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{style:{display:"none"},children:e.jsxRuntimeExports.jsx(p.Command,{children:e.jsxRuntimeExports.jsx(p.CommandList,{children:r})})}),e.jsxRuntimeExports.jsx(M.PopoverContent,{className:"min-w-(--radix-popover-trigger-width) p-0",children:e.jsxRuntimeExports.jsxs(p.Command,{...i,children:[x?e.jsxRuntimeExports.jsx(p.CommandInput,{placeholder:typeof t=="object"?t.placeholder:void 0,value:a,onValueChange:c}):e.jsxRuntimeExports.jsx("button",{autoFocus:!0,"aria-hidden":"true",className:"sr-only"}),e.jsxRuntimeExports.jsx(p.CommandList,{children:u?e.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-center py-6",children:[e.jsxRuntimeExports.jsx(I.ClasingIcon,{className:`\r
23
- size-4 animate-spin text-muted-foreground\r
24
- `}),e.jsxRuntimeExports.jsx("span",{className:"ml-2 paragraph-sm text-muted-foreground",children:d})]}):e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[x&&e.jsxRuntimeExports.jsx(p.CommandEmpty,{children:g}),r]})})]})})]})}function T({value:t,children:r,badgeLabel:i,onSelect:u,...c}){const{toggleValue:a,selectedValues:g,onItemAdded:d}=C(),x=g.has(t);return n.useEffect(()=>{d(t,i??r)},[t,r,d,i]),e.jsxRuntimeExports.jsxs(p.CommandItem,{...c,value:t,onSelect:f=>{a(f),u?.(f)},children:[e.jsxRuntimeExports.jsx(N.CheckIcon,{className:e.cn("mr-2 size-4",x?"opacity-100":"opacity-0")}),r]})}function _(t){return e.jsxRuntimeExports.jsx(p.CommandGroup,{...t})}function A(t){return e.jsxRuntimeExports.jsx(p.CommandSeparator,{...t})}function C(){const t=n.useContext(k);if(t==null)throw new Error("useMultiSelectContext must be used within a MultiSelectContext");return t}exports.MultiSelect=z;exports.MultiSelectContent=O;exports.MultiSelectGroup=_;exports.MultiSelectItem=T;exports.MultiSelectSeparator=A;exports.MultiSelectTrigger=P;exports.MultiSelectValue=q;
22
+ `})]},o)),e.jsxRuntimeExports.jsxs(V.Badge,{style:{display:f>0&&!S?"block":"none"},variant:"outline",ref:y,children:["+",f]})]})}function O({search:t=!0,children:r,...i}){const{isLoading:u,onSearchChange:c,searchValue:a,noResultsText:g,loadingText:d}=C(),x=typeof t=="object"?!0:t;return e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[e.jsxRuntimeExports.jsx("div",{style:{display:"none"},children:e.jsxRuntimeExports.jsx(p.Command,{children:e.jsxRuntimeExports.jsx(p.CommandList,{children:r})})}),e.jsxRuntimeExports.jsx(M.PopoverContent,{className:"min-w-(--radix-popover-trigger-width) p-0",children:e.jsxRuntimeExports.jsxs(p.Command,{...i,children:[x?e.jsxRuntimeExports.jsx(p.CommandInput,{placeholder:typeof t=="object"?t.placeholder:void 0,value:a,onValueChange:c}):e.jsxRuntimeExports.jsx("button",{autoFocus:!0,"aria-hidden":"true",className:"sr-only"}),e.jsxRuntimeExports.jsx(p.CommandList,{children:u?e.jsxRuntimeExports.jsxs("div",{className:"flex items-center justify-center py-6",children:[e.jsxRuntimeExports.jsx(I.ClasingIcon,{className:"size-4 animate-spin text-muted-foreground"}),e.jsxRuntimeExports.jsx("span",{className:"ml-2 paragraph-sm text-muted-foreground",children:d})]}):e.jsxRuntimeExports.jsxs(e.jsxRuntimeExports.Fragment,{children:[x&&e.jsxRuntimeExports.jsx(p.CommandEmpty,{children:g}),r]})})]})})]})}function T({value:t,children:r,badgeLabel:i,onSelect:u,...c}){const{toggleValue:a,selectedValues:g,onItemAdded:d}=C(),x=g.has(t);return n.useEffect(()=>{d(t,i??r)},[t,r,d,i]),e.jsxRuntimeExports.jsxs(p.CommandItem,{...c,value:t,onSelect:f=>{a(f),u?.(f)},children:[e.jsxRuntimeExports.jsx(N.CheckIcon,{className:e.cn("mr-2 size-4",x?"opacity-100":"opacity-0")}),r]})}function _(t){return e.jsxRuntimeExports.jsx(p.CommandGroup,{...t})}function A(t){return e.jsxRuntimeExports.jsx(p.CommandSeparator,{...t})}function C(){const t=n.useContext(k);if(t==null)throw new Error("useMultiSelectContext must be used within a MultiSelectContext");return t}exports.MultiSelect=z;exports.MultiSelectContent=O;exports.MultiSelectGroup=_;exports.MultiSelectItem=T;exports.MultiSelectSeparator=A;exports.MultiSelectTrigger=P;exports.MultiSelectValue=q;
@@ -1,6 +1,6 @@
1
1
  import { j as e, c as I } from "../index-CwFDnnd3.js";
2
2
  import { B as z } from "../badge-aFyTFGVU.js";
3
- import { C as E, f as P, d as O, b as _, c as A, e as F, g as L } from "../command-Vk11GgqU.js";
3
+ import { C as E, f as P, d as O, b as _, c as A, e as F, g as L } from "../command-peXi2dFX.js";
4
4
  import { P as T, b as W, c as G } from "../popover-eQq2Is-I.js";
5
5
  import { CheckIcon as B, CaretUpDownIcon as D, XIcon as U } from "@phosphor-icons/react";
6
6
  import { createContext as X, useState as y, useCallback as V, useEffect as k, useRef as M, useLayoutEffect as q, useContext as H } from "react";
@@ -208,14 +208,7 @@ function oe({
208
208
  }
209
209
  ) : /* @__PURE__ */ e.jsx("button", { autoFocus: !0, "aria-hidden": "true", className: "sr-only" }),
210
210
  /* @__PURE__ */ e.jsx(P, { children: a ? /* @__PURE__ */ e.jsxs("div", { className: "flex items-center justify-center py-6", children: [
211
- /* @__PURE__ */ e.jsx(
212
- J,
213
- {
214
- className: `\r
215
- size-4 animate-spin text-muted-foreground\r
216
- `
217
- }
218
- ),
211
+ /* @__PURE__ */ e.jsx(J, { className: "size-4 animate-spin text-muted-foreground" }),
219
212
  /* @__PURE__ */ e.jsx("span", { className: "ml-2 paragraph-sm text-muted-foreground", children: u })
220
213
  ] }) : /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
221
214
  d && /* @__PURE__ */ e.jsx(_, { children: f }),
@@ -61,11 +61,10 @@
61
61
  data-[active=true]:hover:bg-accent
62
62
  data-[active=true]:focus:bg-accent
63
63
  [&_svg:not([class*='size-'])]:size-4
64
- [&_svg:not([class*='text-'])]:text-muted-foreground
65
64
  `,t),...a})}function b({className:t,...a}){return e.jsxRuntimeExports.jsx(o.Indicator,{"data-slot":"navigation-menu-indicator",className:e.cn(`
66
65
  top-full z-1 flex h-1.5 items-end justify-center overflow-hidden
67
66
  data-[state=hidden]:animate-out data-[state=hidden]:fade-out
68
67
  data-[state=visible]:animate-in data-[state=visible]:fade-in
69
68
  `,t),...a,children:e.jsxRuntimeExports.jsx("div",{className:`\r
70
- relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md\r
69
+ relative top-[60%] size-2 rotate-45 rounded-tl-sm bg-border shadow-md\r
71
70
  `})})}exports.NavigationMenu=l;exports.NavigationMenuContent=f;exports.NavigationMenuIndicator=b;exports.NavigationMenuItem=v;exports.NavigationMenuLink=x;exports.NavigationMenuList=m;exports.NavigationMenuTrigger=p;exports.NavigationMenuViewport=s;exports.navigationMenuTriggerStyle=r;
@@ -195,7 +195,6 @@ function b({
195
195
  data-[active=true]:hover:bg-accent
196
196
  data-[active=true]:focus:bg-accent
197
197
  [&_svg:not([class*='size-'])]:size-4
198
- [&_svg:not([class*='text-'])]:text-muted-foreground
199
198
  `,
200
199
  t
201
200
  ),
@@ -224,7 +223,7 @@ function h({
224
223
  "div",
225
224
  {
226
225
  className: `\r
227
- relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md\r
226
+ relative top-[60%] size-2 rotate-45 rounded-tl-sm bg-border shadow-md\r
228
227
  `
229
228
  }
230
229
  )
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-Bfismeyo.cjs"),m=require("../command-FBkK3fzE.cjs"),D=require("../input-u-OTHOPe.cjs"),C=require("../popover-A1-x5q-F.cjs"),M=require("../scroll-area-DFyIQG6Z.cjs"),S=require("@phosphor-icons/react"),F=require("react"),L=require("react-phone-number-input"),H=require("react-phone-number-input/flags"),G=require("react-phone-number-input/locale/en"),W=require("react-phone-number-input/locale/es"),$=require("react-phone-number-input/locale/fr");function N(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const s=N(F),I=N(L);function z(t,r){const[n,o]=s.useState(t);return s.useEffect(()=>{const l=setTimeout(()=>{o(t)},r);return()=>{clearTimeout(l)}},[t,r]),n}const P=s.forwardRef(({className:t,onChange:r,value:n,size:o="md",rounded:l="default",locale:c="en",...u},d)=>e.jsxRuntimeExports.jsx(I.default,{ref:d,className:e.cn("flex",t),flagComponent:B,countrySelectComponent:O,inputComponent:q,smartCaret:!1,labels:c==="es"?W:c==="fr"?$:G,value:n||void 0,onChange:f=>r?.(f||""),countrySelectProps:{size:o,rounded:l,...u},numberInputProps:{size:o,rounded:l,...u},...u}));P.displayName="PhoneInput";const q=s.forwardRef(({className:t,rounded:r="default",size:n,...o},l)=>{const{"data-country":c,...u}=o;return e.jsxRuntimeExports.jsx(D.Input,{size:n,className:e.cn("w-full",{"rounded-s-none rounded-e-lg":r!=="full","rounded-s-none rounded-e-full":r==="full","rounded-e-sm":n==="sm","rounded-e-md":n==="md","rounded-e-lg":n==="lg"},t),...u,ref:l})});q.displayName="InputComponent";const O=s.memo(({disabled:t,value:r,options:n,onChange:o,size:l="md",rounded:c="default",...u})=>{const d=s.useRef(null),[f,E]=s.useState(""),[b,R]=s.useState(!1),[y,v]=s.useState(20),x=z(f,100),p=s.useMemo(()=>x?n.filter(({label:a,value:i})=>i&&(a.toLowerCase().includes(x.toLowerCase())||i.toLowerCase().includes(x.toLowerCase()))):n,[n,x]),g=s.useMemo(()=>p.slice(0,y),[p,y]);return s.useEffect(()=>{v(20)},[x]),s.useEffect(()=>{if(!b)return;const a=setTimeout(()=>{if(!d.current)return;const h=d.current.querySelector("[data-radix-scroll-area-viewport]");if(!h)return;const w=()=>{const{scrollTop:_,scrollHeight:V,clientHeight:k}=h;_+k>=V-100&&v(A=>Math.min(A+20,p.length))};h.addEventListener("scroll",w,{passive:!0}),window.__scrollCleanup=()=>{h.removeEventListener("scroll",w)}},100);return()=>{clearTimeout(a);const i=window.__scrollCleanup;i&&i()}},[b,p.length]),e.jsxRuntimeExports.jsxs(C.Popover,{open:b,modal:!0,onOpenChange:a=>{R(a),a&&E("")},children:[e.jsxRuntimeExports.jsx(C.PopoverTrigger,{asChild:!0,children:e.jsxRuntimeExports.jsxs("button",{type:"button","aria-invalid":u["aria-invalid"],className:e.cn(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-Bfismeyo.cjs"),m=require("../command-DNjJookC.cjs"),D=require("../input-DKYrdSsU.cjs"),C=require("../popover-A1-x5q-F.cjs"),M=require("../scroll-area-DFyIQG6Z.cjs"),S=require("@phosphor-icons/react"),F=require("react"),L=require("react-phone-number-input"),H=require("react-phone-number-input/flags"),G=require("react-phone-number-input/locale/en"),W=require("react-phone-number-input/locale/es"),$=require("react-phone-number-input/locale/fr");function N(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return r.default=t,Object.freeze(r)}const s=N(F),I=N(L);function z(t,r){const[n,o]=s.useState(t);return s.useEffect(()=>{const l=setTimeout(()=>{o(t)},r);return()=>{clearTimeout(l)}},[t,r]),n}const P=s.forwardRef(({className:t,onChange:r,value:n,size:o="md",rounded:l="default",locale:c="en",...u},d)=>e.jsxRuntimeExports.jsx(I.default,{ref:d,className:e.cn("flex",t),flagComponent:B,countrySelectComponent:O,inputComponent:q,smartCaret:!1,labels:c==="es"?W:c==="fr"?$:G,value:n||void 0,onChange:f=>r?.(f||""),countrySelectProps:{size:o,rounded:l,...u},numberInputProps:{size:o,rounded:l,...u},...u}));P.displayName="PhoneInput";const q=s.forwardRef(({className:t,rounded:r="default",size:n,...o},l)=>{const{"data-country":c,...u}=o;return e.jsxRuntimeExports.jsx(D.Input,{size:n,className:e.cn("w-full",{"rounded-s-none rounded-e-lg":r!=="full","rounded-s-none rounded-e-full":r==="full","rounded-e-sm":n==="sm","rounded-e-md":n==="md","rounded-e-lg":n==="lg"},t),...u,ref:l})});q.displayName="InputComponent";const O=s.memo(({disabled:t,value:r,options:n,onChange:o,size:l="md",rounded:c="default",...u})=>{const d=s.useRef(null),[f,E]=s.useState(""),[b,R]=s.useState(!1),[y,v]=s.useState(20),x=z(f,100),p=s.useMemo(()=>x?n.filter(({label:a,value:i})=>i&&(a.toLowerCase().includes(x.toLowerCase())||i.toLowerCase().includes(x.toLowerCase()))):n,[n,x]),g=s.useMemo(()=>p.slice(0,y),[p,y]);return s.useEffect(()=>{v(20)},[x]),s.useEffect(()=>{if(!b)return;const a=setTimeout(()=>{if(!d.current)return;const h=d.current.querySelector("[data-radix-scroll-area-viewport]");if(!h)return;const w=()=>{const{scrollTop:_,scrollHeight:V,clientHeight:k}=h;_+k>=V-100&&v(A=>Math.min(A+20,p.length))};h.addEventListener("scroll",w,{passive:!0}),window.__scrollCleanup=()=>{h.removeEventListener("scroll",w)}},100);return()=>{clearTimeout(a);const i=window.__scrollCleanup;i&&i()}},[b,p.length]),e.jsxRuntimeExports.jsxs(C.Popover,{open:b,modal:!0,onOpenChange:a=>{R(a),a&&E("")},children:[e.jsxRuntimeExports.jsx(C.PopoverTrigger,{asChild:!0,children:e.jsxRuntimeExports.jsxs("button",{type:"button","aria-invalid":u["aria-invalid"],className:e.cn(`
2
2
  flex w-fit min-w-0 items-center justify-center border border-r-0
3
3
  border-input bg-transparent paragraph-md
4
4
  transition-[color,box-shadow] outline-none
@@ -1,6 +1,6 @@
1
1
  import { j as e, c as p } from "../index-CwFDnnd3.js";
2
- import { C as k, d as A, f as F, b as L, c as D, e as N } from "../command-Vk11GgqU.js";
3
- import { I as M } from "../input-kOA9xJIa.js";
2
+ import { C as k, d as A, f as F, b as L, c as D, e as N } from "../command-peXi2dFX.js";
3
+ import { I as M } from "../input-9_pd3W-1.js";
4
4
  import { P as q, c as H, b as G } from "../popover-eQq2Is-I.js";
5
5
  import { S as W } from "../scroll-area-CJy_EOqT.js";
6
6
  import { CaretDownIcon as $, CheckIcon as B } from "@phosphor-icons/react";
@@ -17,7 +17,6 @@
17
17
  dark:aria-invalid:ring-destructive-foreground/40
18
18
  [&_svg]:pointer-events-none [&_svg]:shrink-0
19
19
  [&_svg:not([class*='size-'])]:size-4
20
- [&_svg:not([class*='text-'])]:text-muted-foreground
21
20
  `,n==="filter"&&`
22
21
  not-data-placeholder:border-ring not-data-placeholder:text-ring
23
22
  dark:not-data-placeholder:text-blue-300
@@ -1,12 +1,12 @@
1
1
  import { j as e, c as r } from "../index-CwFDnnd3.js";
2
2
  import * as s from "@radix-ui/react-select";
3
3
  import { CheckIcon as d, CaretDownIcon as i, CaretUpIcon as c } from "@phosphor-icons/react";
4
- function g({
4
+ function f({
5
5
  ...t
6
6
  }) {
7
7
  return /* @__PURE__ */ e.jsx(s.Root, { "data-slot": "select", ...t });
8
8
  }
9
- function f({
9
+ function g({
10
10
  ...t
11
11
  }) {
12
12
  return /* @__PURE__ */ e.jsx(s.Group, { "data-slot": "select-group", ...t });
@@ -49,7 +49,6 @@ function b({
49
49
  dark:aria-invalid:ring-destructive-foreground/40
50
50
  [&_svg]:pointer-events-none [&_svg]:shrink-0
51
51
  [&_svg:not([class*='size-'])]:size-4
52
- [&_svg:not([class*='text-'])]:text-muted-foreground
53
52
  `,
54
53
  // Variante de filtro: cuando hay valor seleccionado, texto y borde en color ring
55
54
  l === "filter" && `
@@ -224,9 +223,9 @@ function p({
224
223
  );
225
224
  }
226
225
  export {
227
- g as Select,
226
+ f as Select,
228
227
  v as SelectContent,
229
- f as SelectGroup,
228
+ g as SelectGroup,
230
229
  y as SelectItem,
231
230
  j as SelectLabel,
232
231
  p as SelectScrollDownButton,
@@ -2,7 +2,7 @@ import { j as r, c as o } from "./index-CwFDnnd3.js";
2
2
  import { EyeSlashIcon as f, EyeIcon as g } from "@phosphor-icons/react";
3
3
  import { c as b } from "./index-CnqageB2.js";
4
4
  import * as m from "react";
5
- import { B as c } from "./button-2VesFn_C.js";
5
+ import { B as c } from "./button-BMh8vaQL.js";
6
6
  const d = b(
7
7
  `
8
8
  flex w-full min-w-0 rounded-md border border-input bg-transparent
@@ -1,4 +1,4 @@
1
- "use strict";const t=require("./index-Bfismeyo.cjs"),l=require("@phosphor-icons/react"),p=require("./index-BmhzhLcV.cjs"),x=require("react"),f=require("./button-DWBp81pk.cjs");function g(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const s in n)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(e,s,r.get?r:{enumerable:!0,get:()=>n[s]})}}return e.default=n,Object.freeze(e)}const b=g(x),d=p.cva(`
1
+ "use strict";const t=require("./index-Bfismeyo.cjs"),l=require("@phosphor-icons/react"),p=require("./index-BmhzhLcV.cjs"),x=require("react"),f=require("./button-CBGIJZh6.cjs");function g(n){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(n){for(const s in n)if(s!=="default"){const r=Object.getOwnPropertyDescriptor(n,s);Object.defineProperty(e,s,r.get?r:{enumerable:!0,get:()=>n[s]})}}return e.default=n,Object.freeze(e)}const b=g(x),d=p.cva(`
2
2
  flex w-full min-w-0 rounded-md border border-input bg-transparent
3
3
  transition-[color,box-shadow] outline-none
4
4
  selection:bg-primary selection:text-primary-foreground
package/dist/ui.css CHANGED
@@ -58,18 +58,19 @@
58
58
  --font-weight-semibold: 600;
59
59
 
60
60
  --color-*: initial;
61
- --color-black: #0c1717;
61
+ --color-black: #050808;
62
62
  --color-white: #ffffff;
63
63
 
64
- --color-neutral-900: #0c1717;
65
- --color-neutral-800: #364141;
66
- --color-neutral-700: #515a5a;
67
- --color-neutral-600: #6d7272;
68
- --color-neutral-500: #9ea2a2;
69
- --color-neutral-400: #bbbfbf;
70
- --color-neutral-300: #c8cbcb;
71
- --color-neutral-200: #eceded;
72
- --color-neutral-100: #f8f8f8;
64
+ --color-neutral-950: #050808;
65
+ --color-neutral-900: #0c1010;
66
+ --color-neutral-800: #1a1f1f;
67
+ --color-neutral-700: #2d3535;
68
+ --color-neutral-600: #464e4e;
69
+ --color-neutral-500: #737c7c;
70
+ --color-neutral-400: #a1a9a9;
71
+ --color-neutral-300: #cbd2d2;
72
+ --color-neutral-200: #e2e8e8;
73
+ --color-neutral-100: #f4f7f7;
73
74
 
74
75
  --color-yellow-900: #332400;
75
76
  --color-yellow-800: #624600;
@@ -293,7 +294,7 @@
293
294
  :root {
294
295
  --radius: 1rem;
295
296
  --background: var(--color-white);
296
- --foreground: var(--color-black);
297
+ --foreground: var(--color-neutral-900);
297
298
  --card: var(--background);
298
299
  --card-foreground: var(--foreground);
299
300
  --popover: var(--background);
@@ -305,18 +306,18 @@
305
306
  --muted: var(--color-neutral-200);
306
307
  --muted-foreground: var(--color-neutral-500);
307
308
  --accent: var(--color-neutral-200);
308
- --accent-foreground: var(--color-black);
309
+ --accent-foreground: var(--color-neutral-900);
309
310
  --destructive: var(--color-red-050);
310
- --destructive-foreground: var(--color-red-500);
311
+ --destructive-foreground: var(--color-red-600);
311
312
  --success: var(--color-green-050);
312
- --success-foreground: var(--color-green-500);
313
+ --success-foreground: var(--color-green-700);
313
314
  --warning: var(--color-yellow-050);
314
- --warning-foreground: var(--color-yellow-500);
315
+ --warning-foreground: var(--color-yellow-700);
315
316
  --info: var(--color-blue-050);
316
- --info-foreground: var(--color-blue-500);
317
+ --info-foreground: var(--color-blue-700);
317
318
  --border: var(--color-neutral-200);
318
319
  --input: var(--color-neutral-300);
319
- --ring: var(--color-ring-default);
320
+ --ring: var(--color-blue-600);
320
321
  --chart-1: var(--color-blue-300);
321
322
  --chart-2: var(--color-blue-500);
322
323
  --chart-3: var(--color-blue-600);
@@ -331,47 +332,47 @@
331
332
  --sidebar-border: var(--border);
332
333
  --sidebar-ring: var(--color-blue-500);
333
334
  --surface: var(--background);
334
- --surface-foreground: var(--color-foreground);
335
- --code: var(--surface);
336
- --code-foreground: var(--surface-foreground);
335
+ --surface-foreground: var(--foreground);
336
+ --code: var(--color-neutral-100);
337
+ --code-foreground: var(--color-neutral-900);
337
338
  --code-highlight: var(--color-blue-500);
338
339
  --code-number: var(--color-blue-500);
339
- --selection: var(--color-blue-050);
340
- --selection-foreground: var(--color-blue-600);
340
+ --selection: var(--color-blue-100);
341
+ --selection-foreground: var(--color-blue-900);
341
342
  }
342
343
 
343
344
  .dark {
344
- --background: var(--color-black);
345
- --foreground: var(--color-white);
346
- --card: var(--background);
345
+ --background: var(--color-neutral-950);
346
+ --foreground: var(--color-neutral-100);
347
+ --card: var(--color-neutral-900);
347
348
  --card-foreground: var(--foreground);
348
- --popover: var(--background);
349
+ --popover: var(--color-neutral-900);
349
350
  --popover-foreground: var(--foreground);
350
- --primary: var(--color-white);
351
- --primary-foreground: var(--color-neutral-900);
351
+ --primary: var(--color-neutral-100);
352
+ --primary-foreground: var(--color-neutral-950);
352
353
  --secondary: var(--color-neutral-800);
353
- --secondary-foreground: var(--color-white);
354
- --muted: var(--color-neutral-700);
355
- --muted-foreground: var(--color-neutral-500);
354
+ --secondary-foreground: var(--color-neutral-100);
355
+ --muted: var(--color-neutral-800);
356
+ --muted-foreground: var(--color-neutral-400);
356
357
  --accent: var(--color-neutral-800);
357
- --accent-foreground: var(--color-white);
358
+ --accent-foreground: var(--color-neutral-100);
358
359
  --destructive: var(--color-red-900);
359
- --destructive-foreground: var(--color-red-300);
360
+ --destructive-foreground: var(--color-red-200);
360
361
  --success: var(--color-green-900);
361
- --success-foreground: var(--color-green-500);
362
+ --success-foreground: var(--color-green-300);
362
363
  --warning: var(--color-yellow-900);
363
- --warning-foreground: var(--color-yellow-500);
364
+ --warning-foreground: var(--color-yellow-200);
364
365
  --info: var(--color-blue-900);
365
366
  --info-foreground: var(--color-blue-200);
366
367
  --border: var(--color-neutral-800);
367
368
  --input: var(--color-neutral-800);
368
369
  --ring: var(--color-blue-500);
369
- --chart-1: var(--color-blue-300);
370
+ --chart-1: var(--color-blue-400);
370
371
  --chart-2: var(--color-blue-500);
371
- --chart-3: var(--color-blue-600);
372
- --chart-4: var(--color-blue-700);
373
- --chart-5: var(--color-blue-800);
374
- --sidebar: var(--background);
372
+ --chart-3: var(--color-blue-300);
373
+ --chart-4: var(--color-blue-200);
374
+ --chart-5: var(--color-blue-100);
375
+ --sidebar: var(--color-neutral-950);
375
376
  --sidebar-foreground: var(--foreground);
376
377
  --sidebar-primary: var(--primary);
377
378
  --sidebar-primary-foreground: var(--primary-foreground);
@@ -379,16 +380,15 @@
379
380
  --sidebar-accent-foreground: var(--accent-foreground);
380
381
  --sidebar-border: var(--border);
381
382
  --sidebar-ring: var(--color-blue-500);
382
- --surface: var(--background);
383
- --surface-foreground: var(--color-foreground);
384
- --code: var(--surface);
385
- --code-foreground: var(--surface-foreground);
386
- --code-highlight: var(--color-blue-500);
387
- --code-number: var(--color-blue-500);
388
- --selection: var(--color-blue-900);
389
- --selection-foreground: var(--color-blue-600);
383
+ --surface: var(--color-neutral-900);
384
+ --surface-foreground: var(--foreground);
385
+ --code: var(--color-neutral-900);
386
+ --code-foreground: var(--color-neutral-100);
387
+ --code-highlight: var(--color-blue-400);
388
+ --code-number: var(--color-blue-400);
389
+ --selection: var(--color-blue-800);
390
+ --selection-foreground: var(--color-blue-100);
390
391
  }
391
-
392
392
  /*
393
393
  The default border color has changed to `currentcolor` in Tailwind CSS v4,
394
394
  so we've added these compatibility styles to make sure everything still
@@ -403,7 +403,7 @@
403
403
  ::before,
404
404
  ::backdrop,
405
405
  ::file-selector-button {
406
- border-color: var(--color-neutral-050, currentcolor);
406
+ border-color: var(--color-border, currentcolor);
407
407
  }
408
408
 
409
409
  * {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clasing/ui",
3
- "version": "2.7.0",
3
+ "version": "2.7.2",
4
4
  "type": "module",
5
5
  "main": "./dist/index.umd.js",
6
6
  "module": "./dist/index.es.js",
@@ -325,7 +325,6 @@
325
325
  "next-themes": "^0.4.6",
326
326
  "prettier": "3.7.4",
327
327
  "prettier-plugin-organize-imports": "^4.3.0",
328
- "prettier-plugin-tailwindcss": "^0.7.2",
329
328
  "react-docgen": "^8.0.2",
330
329
  "rollup-plugin-visualizer": "^6.0.11",
331
330
  "standard-version": "^9.5.0",