@clasing/ui 2.0.9 → 2.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (151) hide show
  1. package/dist/{badge-Ds17GJH4.js → badge-Cprh3bik.js} +24 -32
  2. package/dist/badge-Da_xHgvC.cjs +1 -0
  3. package/dist/button-B4yT3Gcz.cjs +1 -0
  4. package/dist/button-CUrfGF3Y.js +232 -0
  5. package/dist/{card-Dj2wgH-P.cjs → card-COFAc2zN.cjs} +1 -1
  6. package/dist/{card-BNTyYiyA.js → card-CbF9kVVs.js} +1 -1
  7. package/dist/chip-B7Mqq278.js +89 -0
  8. package/dist/chip-BG4NEZUv.cjs +1 -0
  9. package/dist/command-CrtCQpi_.cjs +1 -0
  10. package/dist/{command-CGUB58ej.js → command-ev4m9IoQ.js} +18 -24
  11. package/dist/components/accordion.cjs.js +1 -1
  12. package/dist/components/accordion.es.js +24 -30
  13. package/dist/components/alert-dialog.cjs.js +1 -1
  14. package/dist/components/alert-dialog.es.js +3 -3
  15. package/dist/components/alert.cjs.js +1 -1
  16. package/dist/components/alert.d.ts +3 -4
  17. package/dist/components/alert.es.js +38 -39
  18. package/dist/components/avatar.cjs.js +1 -1
  19. package/dist/components/avatar.es.js +1 -1
  20. package/dist/components/badge.cjs.js +1 -1
  21. package/dist/components/badge.d.ts +2 -6
  22. package/dist/components/badge.es.js +1 -1
  23. package/dist/components/blocks/interactive-card.cjs.js +1 -1
  24. package/dist/components/blocks/interactive-card.d.ts +2 -4
  25. package/dist/components/blocks/interactive-card.es.js +65 -80
  26. package/dist/components/blocks/selectable-chips.cjs.js +1 -1
  27. package/dist/components/blocks/selectable-chips.es.js +19 -16
  28. package/dist/components/breadcrumb.cjs.js +1 -1
  29. package/dist/components/breadcrumb.es.js +22 -22
  30. package/dist/components/button.cjs.js +1 -1
  31. package/dist/components/button.d.ts +4 -13
  32. package/dist/components/button.es.js +1 -1
  33. package/dist/components/calendar.cjs.js +1 -1
  34. package/dist/components/calendar.es.js +33 -54
  35. package/dist/components/card.cjs.js +1 -1
  36. package/dist/components/card.es.js +1 -1
  37. package/dist/components/chart.cjs.js +1 -1
  38. package/dist/components/chart.es.js +1 -1
  39. package/dist/components/checkbox.cjs.js +1 -1
  40. package/dist/components/checkbox.es.js +6 -6
  41. package/dist/components/chip.cjs.js +1 -1
  42. package/dist/components/chip.d.ts +1 -10
  43. package/dist/components/chip.es.js +1 -1
  44. package/dist/components/collapsible.cjs.js +1 -1
  45. package/dist/components/collapsible.es.js +1 -1
  46. package/dist/components/command.cjs.js +1 -1
  47. package/dist/components/command.es.js +1 -1
  48. package/dist/components/context-menu.cjs.js +1 -1
  49. package/dist/components/context-menu.d.ts +1 -1
  50. package/dist/components/context-menu.es.js +77 -82
  51. package/dist/components/dialog.cjs.js +1 -1
  52. package/dist/components/dialog.es.js +1 -1
  53. package/dist/components/divider.cjs.js +1 -1
  54. package/dist/components/divider.es.js +1 -1
  55. package/dist/components/drawer.cjs.js +1 -1
  56. package/dist/components/drawer.es.js +1 -1
  57. package/dist/components/dropdown-menu.cjs.js +1 -1
  58. package/dist/components/dropdown-menu.d.ts +1 -1
  59. package/dist/components/dropdown-menu.es.js +49 -54
  60. package/dist/components/form.cjs.js +1 -1
  61. package/dist/components/form.es.js +2 -2
  62. package/dist/components/hover-card.cjs.js +1 -1
  63. package/dist/components/hover-card.d.ts +1 -1
  64. package/dist/components/hover-card.es.js +12 -11
  65. package/dist/components/input-otp.cjs.js +1 -1
  66. package/dist/components/input-otp.es.js +16 -16
  67. package/dist/components/input.cjs.js +1 -1
  68. package/dist/components/input.d.ts +2 -6
  69. package/dist/components/input.es.js +1 -1
  70. package/dist/components/label.cjs.js +1 -1
  71. package/dist/components/label.es.js +1 -1
  72. package/dist/components/menubar.cjs.js +1 -1
  73. package/dist/components/menubar.d.ts +1 -1
  74. package/dist/components/menubar.es.js +69 -74
  75. package/dist/components/multi-select.cjs.js +1 -1
  76. package/dist/components/multi-select.es.js +77 -96
  77. package/dist/components/navigation-menu.cjs.js +1 -1
  78. package/dist/components/navigation-menu.es.js +10 -11
  79. package/dist/components/phone-input.cjs.js +1 -1
  80. package/dist/components/phone-input.es.js +77 -79
  81. package/dist/components/popover.cjs.js +1 -1
  82. package/dist/components/popover.d.ts +1 -1
  83. package/dist/components/popover.es.js +1 -1
  84. package/dist/components/progress.cjs.js +1 -1
  85. package/dist/components/progress.es.js +1 -1
  86. package/dist/components/resizable.cjs.js +1 -1
  87. package/dist/components/resizable.es.js +3 -3
  88. package/dist/components/scroll-area.cjs.js +1 -1
  89. package/dist/components/scroll-area.es.js +1 -1
  90. package/dist/components/select.cjs.js +1 -1
  91. package/dist/components/select.d.ts +1 -1
  92. package/dist/components/select.es.js +35 -40
  93. package/dist/components/sheet.cjs.js +1 -1
  94. package/dist/components/sheet.es.js +29 -29
  95. package/dist/components/skeleton.cjs.js +1 -1
  96. package/dist/components/skeleton.es.js +1 -1
  97. package/dist/components/slider.cjs.js +1 -1
  98. package/dist/components/slider.es.js +1 -1
  99. package/dist/components/sonner.cjs.js +1 -1
  100. package/dist/components/sonner.es.js +1 -1
  101. package/dist/components/switch.cjs.js +1 -1
  102. package/dist/components/switch.es.js +2 -2
  103. package/dist/components/table.cjs.js +1 -1
  104. package/dist/components/table.es.js +1 -1
  105. package/dist/components/textarea.cjs.js +1 -1
  106. package/dist/components/textarea.d.ts +2 -6
  107. package/dist/components/textarea.es.js +28 -36
  108. package/dist/components/toggle-group.cjs.js +1 -1
  109. package/dist/components/toggle-group.es.js +2 -2
  110. package/dist/components/toggle.cjs.js +1 -1
  111. package/dist/components/toggle.d.ts +1 -1
  112. package/dist/components/toggle.es.js +1 -1
  113. package/dist/components/tooltip.cjs.js +1 -1
  114. package/dist/components/tooltip.d.ts +1 -1
  115. package/dist/components/tooltip.es.js +1 -1
  116. package/dist/{dialog-CEttcpWT.js → dialog-CXbzQHxn.js} +9 -9
  117. package/dist/dialog-DHZARK1o.cjs +1 -0
  118. package/dist/index-9HRzXEQf.cjs +6 -0
  119. package/dist/{index-DBpnlzOP.js → index-D5lmpham.js} +677 -664
  120. package/dist/{index-CwXB7YIx.js → index-DN28Pf0m.js} +1 -1
  121. package/dist/{index-BVmT9wZC.cjs → index-ECyCsPX0.cjs} +1 -1
  122. package/dist/input-C144z_Is.cjs +1 -0
  123. package/dist/{input-B6wjJM4O.js → input-fvzEG6zH.js} +33 -47
  124. package/dist/{label-eHraXPfy.cjs → label-D3iN3bzS.cjs} +1 -1
  125. package/dist/{label-Bp4qkqFq.js → label-DDxTPxHk.js} +1 -1
  126. package/dist/{popover-C6pozFVL.js → popover-BdDS9aoy.js} +10 -9
  127. package/dist/popover-CeOAAwBQ.cjs +1 -0
  128. package/dist/{scroll-area-CJpVshOm.cjs → scroll-area-D74XszlE.cjs} +1 -1
  129. package/dist/{scroll-area-Dj0Szbw6.js → scroll-area-oS6ZJIMN.js} +1 -1
  130. package/dist/{toggle-owj9AHVO.js → toggle-BNzrNg1r.js} +2 -2
  131. package/dist/{toggle-CJLDdFRo.cjs → toggle-CtoQhQby.cjs} +1 -1
  132. package/dist/tooltip-BccdAn4x.cjs +1 -0
  133. package/dist/{tooltip-CUaxcngn.js → tooltip-rv-jVOxy.js} +6 -5
  134. package/package.json +352 -357
  135. package/dist/badge-oQqEF2X5.cjs +0 -1
  136. package/dist/button-DiOH2ngV.js +0 -573
  137. package/dist/button-t0WrANXO.cjs +0 -1
  138. package/dist/chip-CK2VBBsV.js +0 -126
  139. package/dist/chip-DVKpteyL.cjs +0 -1
  140. package/dist/command-CHisYTN-.cjs +0 -1
  141. package/dist/components/icon-component.cjs.js +0 -1
  142. package/dist/components/icon-component.d.ts +0 -12
  143. package/dist/components/icon-component.es.js +0 -4
  144. package/dist/dialog-Chh5qAxR.cjs +0 -1
  145. package/dist/entries/icon-component.d.ts +0 -2
  146. package/dist/icon-component-DGImZz3K.js +0 -49
  147. package/dist/icon-component-DTlgy__B.cjs +0 -1
  148. package/dist/index-DSjHHn1r.cjs +0 -22
  149. package/dist/input-Dpz3zGIU.cjs +0 -1
  150. package/dist/popover-BnLx2OY6.cjs +0 -1
  151. package/dist/tooltip-BvdeurjC.cjs +0 -1
@@ -1,107 +1,107 @@
1
- import { j as e, c } from "../index-DBpnlzOP.js";
2
- import { C as N, d as v, f as I, b as S, c as w, e as P } from "../command-CGUB58ej.js";
3
- import { I as R } from "../input-B6wjJM4O.js";
4
- import { P as O, c as E, b as T } from "../popover-C6pozFVL.js";
5
- import { S as V } from "../scroll-area-Dj0Szbw6.js";
1
+ import { j as e, c as u } from "../index-D5lmpham.js";
2
+ import { C as y, d as v, f as N, b as S, c as w, e as I } from "../command-ev4m9IoQ.js";
3
+ import { I as P } from "../input-fvzEG6zH.js";
4
+ import { P as R, c as O, b as E } from "../popover-BdDS9aoy.js";
5
+ import { S as T } from "../scroll-area-oS6ZJIMN.js";
6
+ import { CaretDownIcon as V, CheckIcon as k } from "@phosphor-icons/react";
6
7
  import * as p from "react";
7
8
  import * as h from "react-phone-number-input";
8
- import k from "react-phone-number-input/flags";
9
- import A from "react-phone-number-input/locale/en";
10
- import F from "react-phone-number-input/locale/es";
11
- import _ from "react-phone-number-input/locale/fr";
12
- import { I as b } from "../icon-component-DGImZz3K.js";
13
- const $ = p.forwardRef(
9
+ import A from "react-phone-number-input/flags";
10
+ import F from "react-phone-number-input/locale/en";
11
+ import _ from "react-phone-number-input/locale/es";
12
+ import $ from "react-phone-number-input/locale/fr";
13
+ const q = p.forwardRef(
14
14
  ({
15
15
  className: o,
16
- onChange: n,
16
+ onChange: r,
17
17
  value: t,
18
18
  size: s = "md",
19
- rounded: r = "default",
19
+ rounded: n = "default",
20
20
  locale: a = "en",
21
- ...m
22
- }, i) => /* @__PURE__ */ e.jsx(
21
+ ...i
22
+ }, m) => /* @__PURE__ */ e.jsx(
23
23
  h.default,
24
24
  {
25
- ref: i,
26
- className: c("flex", o),
25
+ ref: m,
26
+ className: u("flex", o),
27
27
  flagComponent: f,
28
- countrySelectComponent: q,
29
- inputComponent: C,
28
+ countrySelectComponent: D,
29
+ inputComponent: b,
30
30
  smartCaret: !1,
31
- labels: a === "es" ? F : a === "fr" ? _ : A,
31
+ labels: a === "es" ? _ : a === "fr" ? $ : F,
32
32
  value: t || void 0,
33
- onChange: (d) => n?.(d || ""),
33
+ onChange: (d) => r?.(d || ""),
34
34
  countrySelectProps: {
35
35
  size: s,
36
- rounded: r
36
+ rounded: n
37
37
  },
38
38
  numberInputProps: {
39
39
  size: s,
40
- rounded: r
40
+ rounded: n
41
41
  },
42
- ...m
42
+ ...i
43
43
  }
44
44
  )
45
45
  );
46
- $.displayName = "PhoneInput";
47
- const C = p.forwardRef(({ className: o, rounded: n = "default", error: t, touched: s, size: r, ...a }, m) => {
48
- const { "data-country": i, ...d } = a;
46
+ q.displayName = "PhoneInput";
47
+ const b = p.forwardRef(({ className: o, rounded: r = "default", error: t, touched: s, size: n, ...a }, i) => {
48
+ const { "data-country": m, ...d } = a;
49
49
  return /* @__PURE__ */ e.jsx(
50
- R,
50
+ P,
51
51
  {
52
- size: r,
53
- className: c(
52
+ size: n,
53
+ className: u(
54
54
  "w-full",
55
55
  {
56
56
  "border-destructive": t && s,
57
57
  "border-blue-800": s && !t,
58
- "rounded-s-none rounded-e-lg": n !== "full",
59
- "rounded-s-none rounded-e-full": n === "full",
60
- "rounded-e-sm": r === "sm",
61
- "rounded-e-md": r === "md",
62
- "rounded-e-lg": r === "lg"
58
+ "rounded-s-none rounded-e-lg": r !== "full",
59
+ "rounded-s-none rounded-e-full": r === "full",
60
+ "rounded-e-sm": n === "sm",
61
+ "rounded-e-md": n === "md",
62
+ "rounded-e-lg": n === "lg"
63
63
  },
64
64
  o
65
65
  ),
66
66
  ...d,
67
- ref: m
67
+ ref: i
68
68
  }
69
69
  );
70
70
  });
71
- C.displayName = "InputComponent";
72
- const q = ({
71
+ b.displayName = "InputComponent";
72
+ const D = ({
73
73
  disabled: o,
74
- value: n,
74
+ value: r,
75
75
  options: t,
76
76
  onChange: s,
77
- size: r = "md",
77
+ size: n = "md",
78
78
  rounded: a = "default",
79
- error: m,
80
- touched: i
79
+ error: i,
80
+ touched: m
81
81
  }) => {
82
- const d = p.useRef(null), [j, x] = p.useState(""), [y, g] = p.useState(!1);
82
+ const d = p.useRef(null), [j, x] = p.useState(""), [C, g] = p.useState(!1);
83
83
  return /* @__PURE__ */ e.jsxs(
84
- O,
84
+ R,
85
85
  {
86
- open: y,
86
+ open: C,
87
87
  modal: !0,
88
88
  onOpenChange: (l) => {
89
89
  g(l), l && x("");
90
90
  },
91
91
  children: [
92
- /* @__PURE__ */ e.jsx(E, { asChild: !0, children: /* @__PURE__ */ e.jsxs(
92
+ /* @__PURE__ */ e.jsx(O, { asChild: !0, children: /* @__PURE__ */ e.jsxs(
93
93
  "button",
94
94
  {
95
95
  type: "button",
96
- className: c(
96
+ className: u(
97
97
  "file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input focus-visible:border-ring focus-visible:ring-ring/50 file:paragraph-sm md:paragraph-sm paragraph-md flex w-fit min-w-0 items-center justify-center border border-r-0 bg-transparent transition-[color,box-shadow] outline-none file:inline-flex file:border-0 file:bg-transparent file:font-semibold focus-visible:z-1 focus-visible:ring-[3px] disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50",
98
98
  a === "default" ? "rounded-e-none" : "rounded-s-full rounded-e-none",
99
99
  {
100
- "outline-destructive": m && i,
101
- "outline-blue-800": i && !m,
102
- "label-md h-8 rounded-s-sm px-2 py-1": r === "sm",
103
- "label-lg h-12 rounded-s-md px-3 py-1": r === "md",
104
- "label-xl h-16 rounded-s-lg px-4 py-2": r === "lg"
100
+ "outline-destructive": i && m,
101
+ "outline-blue-800": m && !i,
102
+ "label-md h-8 rounded-s-sm px-2 py-1": n === "sm",
103
+ "label-lg h-12 rounded-s-md px-3 py-1": n === "md",
104
+ "label-xl h-16 rounded-s-lg px-4 py-2": n === "lg"
105
105
  }
106
106
  ),
107
107
  disabled: o,
@@ -109,16 +109,15 @@ const q = ({
109
109
  /* @__PURE__ */ e.jsx(
110
110
  f,
111
111
  {
112
- country: n,
113
- countryName: n,
112
+ country: r,
113
+ countryName: r,
114
114
  disabled: o
115
115
  }
116
116
  ),
117
117
  /* @__PURE__ */ e.jsx(
118
- b,
118
+ V,
119
119
  {
120
- iconName: "IconChevronDown",
121
- className: c(
120
+ className: u(
122
121
  "-mr-2 size-4 opacity-50",
123
122
  o ? "hidden" : "opacity-100"
124
123
  )
@@ -127,7 +126,7 @@ const q = ({
127
126
  ]
128
127
  }
129
128
  ) }),
130
- /* @__PURE__ */ e.jsx(T, { className: "w-[300px] p-0", children: /* @__PURE__ */ e.jsxs(N, { children: [
129
+ /* @__PURE__ */ e.jsx(E, { className: "w-[300px] p-0", children: /* @__PURE__ */ e.jsxs(y, { children: [
131
130
  /* @__PURE__ */ e.jsx(
132
131
  v,
133
132
  {
@@ -135,25 +134,25 @@ const q = ({
135
134
  onValueChange: (l) => {
136
135
  x(l), setTimeout(() => {
137
136
  if (d.current) {
138
- const u = d.current.querySelector(
137
+ const c = d.current.querySelector(
139
138
  "[data-radix-scroll-area-viewport]"
140
139
  );
141
- u && (u.scrollTop = 0);
140
+ c && (c.scrollTop = 0);
142
141
  }
143
142
  }, 0);
144
143
  },
145
144
  placeholder: "Search country..."
146
145
  }
147
146
  ),
148
- /* @__PURE__ */ e.jsx(I, { children: /* @__PURE__ */ e.jsxs(V, { ref: d, className: "h-72", children: [
147
+ /* @__PURE__ */ e.jsx(N, { children: /* @__PURE__ */ e.jsxs(T, { ref: d, className: "h-72", children: [
149
148
  /* @__PURE__ */ e.jsx(S, { children: "No country found." }),
150
149
  /* @__PURE__ */ e.jsx(w, { children: t.map(
151
- ({ value: l, label: u }) => l ? /* @__PURE__ */ e.jsx(
152
- D,
150
+ ({ value: l, label: c }) => l ? /* @__PURE__ */ e.jsx(
151
+ G,
153
152
  {
154
153
  country: l,
155
- countryName: u,
156
- selectedCountry: n,
154
+ countryName: c,
155
+ selectedCountry: r,
157
156
  onChange: s,
158
157
  onSelectComplete: () => g(!1)
159
158
  },
@@ -165,45 +164,44 @@ const q = ({
165
164
  ]
166
165
  }
167
166
  );
168
- }, D = ({
167
+ }, G = ({
169
168
  country: o,
170
- countryName: n,
169
+ countryName: r,
171
170
  selectedCountry: t,
172
171
  onChange: s,
173
- onSelectComplete: r
172
+ onSelectComplete: n
174
173
  }) => {
175
174
  const a = () => {
176
- s(o), r();
175
+ s(o), n();
177
176
  };
178
- return /* @__PURE__ */ e.jsxs(P, { className: "gap-2", onSelect: a, children: [
179
- /* @__PURE__ */ e.jsx(f, { country: o, countryName: n }),
180
- /* @__PURE__ */ e.jsx("span", { className: "paragraph-sm flex-1", children: n }),
177
+ return /* @__PURE__ */ e.jsxs(I, { className: "gap-2", onSelect: a, children: [
178
+ /* @__PURE__ */ e.jsx(f, { country: o, countryName: r }),
179
+ /* @__PURE__ */ e.jsx("span", { className: "paragraph-sm flex-1", children: r }),
181
180
  /* @__PURE__ */ e.jsx("span", { className: "text-foreground/50 paragraph-sm", children: `+${h.getCountryCallingCode(o)}` }),
182
181
  /* @__PURE__ */ e.jsx(
183
- b,
182
+ k,
184
183
  {
185
- iconName: "IconCheck",
186
184
  className: `ml-auto size-4 ${o === t ? "opacity-100" : "opacity-0"}`
187
185
  }
188
186
  )
189
187
  ] });
190
188
  }, f = ({
191
189
  country: o,
192
- countryName: n,
190
+ countryName: r,
193
191
  disabled: t
194
192
  }) => {
195
- const s = k[o];
193
+ const s = A[o];
196
194
  return /* @__PURE__ */ e.jsx(
197
195
  "span",
198
196
  {
199
- className: c(
197
+ className: u(
200
198
  "bg-foreground/20 flex h-4 w-6 overflow-hidden rounded-[4px] [&_svg:not([class*='size-'])]:size-full",
201
199
  { "opacity-50": t }
202
200
  ),
203
- children: s && /* @__PURE__ */ e.jsx(s, { title: n })
201
+ children: s && /* @__PURE__ */ e.jsx(s, { title: r })
204
202
  }
205
203
  );
206
204
  };
207
205
  export {
208
- $ as PhoneInput
206
+ q as PhoneInput
209
207
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../popover-BnLx2OY6.cjs");exports.Popover=o.Popover;exports.PopoverAnchor=o.PopoverAnchor;exports.PopoverContent=o.PopoverContent;exports.PopoverTrigger=o.PopoverTrigger;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../popover-CeOAAwBQ.cjs");exports.Popover=o.Popover;exports.PopoverAnchor=o.PopoverAnchor;exports.PopoverContent=o.PopoverContent;exports.PopoverTrigger=o.PopoverTrigger;
@@ -2,6 +2,6 @@ import * as PopoverPrimitive from '@radix-ui/react-popover';
2
2
  import * as React from 'react';
3
3
  declare function Popover({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
4
4
  declare function PopoverTrigger({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
5
- declare function PopoverContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
5
+ declare function PopoverContent({ className, align, sideOffset, collisionPadding, ...props }: React.ComponentProps<typeof PopoverPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
6
6
  declare function PopoverAnchor({ ...props }: React.ComponentProps<typeof PopoverPrimitive.Anchor>): import("react/jsx-runtime").JSX.Element;
7
7
  export { Popover, PopoverAnchor, PopoverContent, PopoverTrigger };
@@ -1,4 +1,4 @@
1
- import { P as e, a, b as p, c as P } from "../popover-C6pozFVL.js";
1
+ import { P as e, a, b as p, c as P } from "../popover-BdDS9aoy.js";
2
2
  export {
3
3
  e as Popover,
4
4
  a as PopoverAnchor,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../index-DSjHHn1r.cjs"),i=require("@radix-ui/react-progress");function l(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=l(i);function a({className:e,value:t,...r}){return o.jsxRuntimeExports.jsx(n.Root,{"data-slot":"progress",className:o.cn("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",e),...r,children:o.jsxRuntimeExports.jsx(n.Indicator,{"data-slot":"progress-indicator",className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})})}exports.Progress=a;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../index-9HRzXEQf.cjs"),i=require("@radix-ui/react-progress");function l(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const s=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,s.get?s:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const n=l(i);function a({className:e,value:t,...r}){return o.jsxRuntimeExports.jsx(n.Root,{"data-slot":"progress",className:o.cn("bg-primary/20 relative h-2 w-full overflow-hidden rounded-full",e),...r,children:o.jsxRuntimeExports.jsx(n.Indicator,{"data-slot":"progress-indicator",className:"bg-primary h-full w-full flex-1 transition-all",style:{transform:`translateX(-${100-(t||0)}%)`}})})}exports.Progress=a;
@@ -1,4 +1,4 @@
1
- import { j as r, c as l } from "../index-DBpnlzOP.js";
1
+ import { j as r, c as l } from "../index-D5lmpham.js";
2
2
  import * as s from "@radix-ui/react-progress";
3
3
  function i({
4
4
  className: o,
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../index-DSjHHn1r.cjs"),l=require("react-resizable-panels"),o=require("../icon-component-DTlgy__B.cjs");function s(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const i=s(l);function c({className:e,...t}){return a.jsxRuntimeExports.jsx(i.PanelGroup,{"data-slot":"resizable-panel-group",className:a.cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",e),...t})}function u({...e}){return a.jsxRuntimeExports.jsx(i.Panel,{"data-slot":"resizable-panel",...e})}function d({withHandle:e,className:t,...r}){return a.jsxRuntimeExports.jsx(i.PanelResizeHandle,{"data-slot":"resizable-handle",className:a.cn("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",t),...r,children:e&&a.jsxRuntimeExports.jsx("div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border",children:a.jsxRuntimeExports.jsx(o.IconComponent,{iconName:"IconGripVertical",className:"size-2.5"})})})}exports.ResizableHandle=d;exports.ResizablePanel=u;exports.ResizablePanelGroup=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../index-9HRzXEQf.cjs"),n=require("react-resizable-panels"),s=require("@phosphor-icons/react");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const l=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,l.get?l:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const i=o(n);function c({className:e,...t}){return a.jsxRuntimeExports.jsx(i.PanelGroup,{"data-slot":"resizable-panel-group",className:a.cn("flex h-full w-full data-[panel-group-direction=vertical]:flex-col",e),...t})}function u({...e}){return a.jsxRuntimeExports.jsx(i.Panel,{"data-slot":"resizable-panel",...e})}function d({withHandle:e,className:t,...r}){return a.jsxRuntimeExports.jsx(i.PanelResizeHandle,{"data-slot":"resizable-handle",className:a.cn("bg-border focus-visible:ring-ring relative flex w-px items-center justify-center after:absolute after:inset-y-0 after:left-1/2 after:w-1 after:-translate-x-1/2 focus-visible:ring-1 focus-visible:ring-offset-1 focus-visible:outline-hidden data-[panel-group-direction=vertical]:h-px data-[panel-group-direction=vertical]:w-full data-[panel-group-direction=vertical]:after:left-0 data-[panel-group-direction=vertical]:after:h-1 data-[panel-group-direction=vertical]:after:w-full data-[panel-group-direction=vertical]:after:translate-x-0 data-[panel-group-direction=vertical]:after:-translate-y-1/2 [&[data-panel-group-direction=vertical]>div]:rotate-90",t),...r,children:e&&a.jsxRuntimeExports.jsx("div",{className:"bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border",children:a.jsxRuntimeExports.jsx(s.DotsSixVerticalIcon,{className:"size-2.5"})})})}exports.ResizableHandle=d;exports.ResizablePanel=u;exports.ResizablePanelGroup=c;
@@ -1,6 +1,6 @@
1
- import { j as a, c as i } from "../index-DBpnlzOP.js";
1
+ import { j as a, c as i } from "../index-D5lmpham.js";
2
2
  import * as t from "react-resizable-panels";
3
- import { I as n } from "../icon-component-DGImZz3K.js";
3
+ import { DotsSixVerticalIcon as n } from "@phosphor-icons/react";
4
4
  function c({
5
5
  className: e,
6
6
  ...r
@@ -36,7 +36,7 @@ function f({
36
36
  r
37
37
  ),
38
38
  ...l,
39
- children: e && /* @__PURE__ */ a.jsx("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border", children: /* @__PURE__ */ a.jsx(n, { iconName: "IconGripVertical", className: "size-2.5" }) })
39
+ children: e && /* @__PURE__ */ a.jsx("div", { className: "bg-border z-10 flex h-4 w-3 items-center justify-center rounded-xs border", children: /* @__PURE__ */ a.jsx(n, { className: "size-2.5" }) })
40
40
  }
41
41
  );
42
42
  }
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../scroll-area-CJpVshOm.cjs");exports.ScrollArea=r.ScrollArea;exports.ScrollBar=r.ScrollBar;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../scroll-area-D74XszlE.cjs");exports.ScrollArea=r.ScrollArea;exports.ScrollBar=r.ScrollBar;
@@ -1,4 +1,4 @@
1
- import { S as l, a as o } from "../scroll-area-Dj0Szbw6.js";
1
+ import { S as l, a as o } from "../scroll-area-oS6ZJIMN.js";
2
2
  export {
3
3
  l as ScrollArea,
4
4
  o as ScrollBar
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-DSjHHn1r.cjs"),c=require("@radix-ui/react-select"),a=require("../icon-component-DTlgy__B.cjs");function d(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const o in t)if(o!=="default"){const r=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(s,o,r.get?r:{enumerable:!0,get:()=>t[o]})}}return s.default=t,Object.freeze(s)}const n=d(c);function u({...t}){return e.jsxRuntimeExports.jsx(n.Root,{"data-slot":"select",...t})}function p({...t}){return e.jsxRuntimeExports.jsx(n.Group,{"data-slot":"select-group",...t})}function x({...t}){return e.jsxRuntimeExports.jsx(n.Value,{"data-slot":"select-value",...t})}function m({className:t,size:s="md",children:o,...r}){return e.jsxRuntimeExports.jsxs(n.Trigger,{"data-slot":"select-trigger","data-size":s,className:e.cn("border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",s==="xs"&&'label-sm h-7 px-2 py-1 [&_svg:not([class*="size-"])]:size-3.5',s==="sm"&&"label-md h-8 px-2 py-1",s==="md"&&"label-lg h-12 px-3 py-1",s==="lg"&&"label-xl h-16 px-4 py-2",t),...r,children:[o,e.jsxRuntimeExports.jsx(n.Icon,{asChild:!0,children:e.jsxRuntimeExports.jsx(a.IconComponent,{iconName:"IconChevronDown",className:"size-4 opacity-50"})})]})}function g({className:t,children:s,position:o="popper",...r}){return e.jsxRuntimeExports.jsx(n.Portal,{children:e.jsxRuntimeExports.jsxs(n.Content,{"data-slot":"select-content",className:e.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",o==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:o,...r,children:[e.jsxRuntimeExports.jsx(l,{}),e.jsxRuntimeExports.jsx(n.Viewport,{className:e.cn("p-1",o==="popper"&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:s}),e.jsxRuntimeExports.jsx(i,{})]})})}function f({className:t,...s}){return e.jsxRuntimeExports.jsx(n.Label,{"data-slot":"select-label",className:e.cn("text-muted-foreground paragraph-xs px-2 py-1.5",t),...s})}function j({className:t,children:s,...o}){return e.jsxRuntimeExports.jsxs(n.Item,{"data-slot":"select-item",className:e.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...o,children:[e.jsxRuntimeExports.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:e.jsxRuntimeExports.jsx(n.ItemIndicator,{children:e.jsxRuntimeExports.jsx(a.IconComponent,{iconName:"IconCheck",className:"size-4"})})}),e.jsxRuntimeExports.jsx(n.ItemText,{children:s})]})}function b({className:t,...s}){return e.jsxRuntimeExports.jsx(n.Separator,{"data-slot":"select-separator",className:e.cn("bg-border pointer-events-none -mx-1 my-1 h-px",t),...s})}function l({className:t,...s}){return e.jsxRuntimeExports.jsx(n.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:e.cn("flex cursor-default items-center justify-center py-1",t),...s,children:e.jsxRuntimeExports.jsx(a.IconComponent,{iconName:"IconChevronUp",className:"size-4"})})}function i({className:t,...s}){return e.jsxRuntimeExports.jsx(n.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:e.cn("flex cursor-default items-center justify-center py-1",t),...s,children:e.jsxRuntimeExports.jsx(a.IconComponent,{iconName:"IconChevronDown",className:"size-4"})})}exports.Select=u;exports.SelectContent=g;exports.SelectGroup=p;exports.SelectItem=j;exports.SelectLabel=f;exports.SelectScrollDownButton=i;exports.SelectScrollUpButton=l;exports.SelectSeparator=b;exports.SelectTrigger=m;exports.SelectValue=x;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-9HRzXEQf.cjs"),d=require("@radix-ui/react-select"),o=require("@phosphor-icons/react");function u(t){const s=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const a in t)if(a!=="default"){const n=Object.getOwnPropertyDescriptor(t,a);Object.defineProperty(s,a,n.get?n:{enumerable:!0,get:()=>t[a]})}}return s.default=t,Object.freeze(s)}const r=u(d);function p({...t}){return e.jsxRuntimeExports.jsx(r.Root,{"data-slot":"select",...t})}function x({...t}){return e.jsxRuntimeExports.jsx(r.Group,{"data-slot":"select-group",...t})}function m({...t}){return e.jsxRuntimeExports.jsx(r.Value,{"data-slot":"select-value",...t})}function g({className:t,size:s="md",children:a,...n}){return e.jsxRuntimeExports.jsxs(r.Trigger,{"data-slot":"select-trigger","data-size":s,className:e.cn("border-input data-placeholder:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",s==="xs"&&'label-sm h-7 px-2 py-1 [&_svg:not([class*="size-"])]:size-3.5',s==="sm"&&"label-md h-8 px-2 py-1",s==="md"&&"label-lg h-12 px-3 py-1",s==="lg"&&"label-xl h-16 px-4 py-2",t),...n,children:[a,e.jsxRuntimeExports.jsx(r.Icon,{asChild:!0,children:e.jsxRuntimeExports.jsx(o.CaretDownIcon,{className:"size-4 opacity-50"})})]})}function f({className:t,children:s,position:a="popper",collisionPadding:n=24,...c}){return e.jsxRuntimeExports.jsx(r.Portal,{children:e.jsxRuntimeExports.jsxs(r.Content,{"data-slot":"select-content",className:e.cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",a==="popper"&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",t),position:a,...c,children:[e.jsxRuntimeExports.jsx(l,{}),e.jsxRuntimeExports.jsx(r.Viewport,{className:e.cn("p-1",a==="popper"&&"h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width) scroll-my-1"),children:s}),e.jsxRuntimeExports.jsx(i,{})]})})}function j({className:t,...s}){return e.jsxRuntimeExports.jsx(r.Label,{"data-slot":"select-label",className:e.cn("text-muted-foreground paragraph-xs px-2 py-1.5",t),...s})}function b({className:t,children:s,...a}){return e.jsxRuntimeExports.jsxs(r.Item,{"data-slot":"select-item",className:e.cn("focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",t),...a,children:[e.jsxRuntimeExports.jsx("span",{className:"absolute right-2 flex size-3.5 items-center justify-center",children:e.jsxRuntimeExports.jsx(r.ItemIndicator,{children:e.jsxRuntimeExports.jsx(o.CheckIcon,{className:"size-4"})})}),e.jsxRuntimeExports.jsx(r.ItemText,{children:s})]})}function v({className:t,...s}){return e.jsxRuntimeExports.jsx(r.Separator,{"data-slot":"select-separator",className:e.cn("bg-border pointer-events-none -mx-1 my-1 h-px",t),...s})}function l({className:t,...s}){return e.jsxRuntimeExports.jsx(r.ScrollUpButton,{"data-slot":"select-scroll-up-button",className:e.cn("flex cursor-default items-center justify-center py-1",t),...s,children:e.jsxRuntimeExports.jsx(o.CaretUpIcon,{className:"size-4"})})}function i({className:t,...s}){return e.jsxRuntimeExports.jsx(r.ScrollDownButton,{"data-slot":"select-scroll-down-button",className:e.cn("flex cursor-default items-center justify-center py-1",t),...s,children:e.jsxRuntimeExports.jsx(o.CaretDownIcon,{className:"size-4"})})}exports.Select=p;exports.SelectContent=f;exports.SelectGroup=x;exports.SelectItem=b;exports.SelectLabel=j;exports.SelectScrollDownButton=i;exports.SelectScrollUpButton=l;exports.SelectSeparator=v;exports.SelectTrigger=g;exports.SelectValue=m;
@@ -6,7 +6,7 @@ declare function SelectValue({ ...props }: React.ComponentProps<typeof SelectPri
6
6
  declare function SelectTrigger({ className, size, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Trigger> & {
7
7
  size?: 'xs' | 'sm' | 'md' | 'lg';
8
8
  }): import("react/jsx-runtime").JSX.Element;
9
- declare function SelectContent({ className, children, position, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
9
+ declare function SelectContent({ className, children, position, collisionPadding, ...props }: React.ComponentProps<typeof SelectPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
10
10
  declare function SelectLabel({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Label>): import("react/jsx-runtime").JSX.Element;
11
11
  declare function SelectItem({ className, children, ...props }: React.ComponentProps<typeof SelectPrimitive.Item>): import("react/jsx-runtime").JSX.Element;
12
12
  declare function SelectSeparator({ className, ...props }: React.ComponentProps<typeof SelectPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
@@ -1,22 +1,22 @@
1
- import { j as e, c as r } from "../index-DBpnlzOP.js";
1
+ import { j as e, c as r } from "../index-D5lmpham.js";
2
2
  import * as s from "@radix-ui/react-select";
3
- import { I as n } from "../icon-component-DGImZz3K.js";
4
- function p({
3
+ import { CheckIcon as d, CaretDownIcon as n, CaretUpIcon as c } from "@phosphor-icons/react";
4
+ function g({
5
5
  ...t
6
6
  }) {
7
7
  return /* @__PURE__ */ e.jsx(s.Root, { "data-slot": "select", ...t });
8
8
  }
9
- function m({
9
+ function f({
10
10
  ...t
11
11
  }) {
12
12
  return /* @__PURE__ */ e.jsx(s.Group, { "data-slot": "select-group", ...t });
13
13
  }
14
- function x({
14
+ function h({
15
15
  ...t
16
16
  }) {
17
17
  return /* @__PURE__ */ e.jsx(s.Value, { "data-slot": "select-value", ...t });
18
18
  }
19
- function g({
19
+ function v({
20
20
  className: t,
21
21
  size: a = "md",
22
22
  children: o,
@@ -28,7 +28,7 @@ function g({
28
28
  "data-slot": "select-trigger",
29
29
  "data-size": a,
30
30
  className: r(
31
- "border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
31
+ "border-input data-placeholder:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent whitespace-nowrap transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
32
32
  a === "xs" && 'label-sm h-7 px-2 py-1 [&_svg:not([class*="size-"])]:size-3.5',
33
33
  a === "sm" && "label-md h-8 px-2 py-1",
34
34
  a === "md" && "label-lg h-12 px-3 py-1",
@@ -38,52 +38,47 @@ function g({
38
38
  ...l,
39
39
  children: [
40
40
  o,
41
- /* @__PURE__ */ e.jsx(s.Icon, { asChild: !0, children: /* @__PURE__ */ e.jsx(
42
- n,
43
- {
44
- iconName: "IconChevronDown",
45
- className: "size-4 opacity-50"
46
- }
47
- ) })
41
+ /* @__PURE__ */ e.jsx(s.Icon, { asChild: !0, children: /* @__PURE__ */ e.jsx(n, { className: "size-4 opacity-50" }) })
48
42
  ]
49
43
  }
50
44
  );
51
45
  }
52
- function f({
46
+ function b({
53
47
  className: t,
54
48
  children: a,
55
49
  position: o = "popper",
56
- ...l
50
+ collisionPadding: l = 24,
51
+ ...i
57
52
  }) {
58
53
  return /* @__PURE__ */ e.jsx(s.Portal, { children: /* @__PURE__ */ e.jsxs(
59
54
  s.Content,
60
55
  {
61
56
  "data-slot": "select-content",
62
57
  className: r(
63
- "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
58
+ "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
64
59
  o === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
65
60
  t
66
61
  ),
67
62
  position: o,
68
- ...l,
63
+ ...i,
69
64
  children: [
70
- /* @__PURE__ */ e.jsx(i, {}),
65
+ /* @__PURE__ */ e.jsx(u, {}),
71
66
  /* @__PURE__ */ e.jsx(
72
67
  s.Viewport,
73
68
  {
74
69
  className: r(
75
70
  "p-1",
76
- o === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
71
+ o === "popper" && "h-(--radix-select-trigger-height) w-full min-w-(--radix-select-trigger-width) scroll-my-1"
77
72
  ),
78
73
  children: a
79
74
  }
80
75
  ),
81
- /* @__PURE__ */ e.jsx(c, {})
76
+ /* @__PURE__ */ e.jsx(p, {})
82
77
  ]
83
78
  }
84
79
  ) });
85
80
  }
86
- function h({
81
+ function j({
87
82
  className: t,
88
83
  ...a
89
84
  }) {
@@ -99,7 +94,7 @@ function h({
99
94
  }
100
95
  );
101
96
  }
102
- function v({
97
+ function y({
103
98
  className: t,
104
99
  children: a,
105
100
  ...o
@@ -109,18 +104,18 @@ function v({
109
104
  {
110
105
  "data-slot": "select-item",
111
106
  className: r(
112
- "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
107
+ "focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
113
108
  t
114
109
  ),
115
110
  ...o,
116
111
  children: [
117
- /* @__PURE__ */ e.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e.jsx(s.ItemIndicator, { children: /* @__PURE__ */ e.jsx(n, { iconName: "IconCheck", className: "size-4" }) }) }),
112
+ /* @__PURE__ */ e.jsx("span", { className: "absolute right-2 flex size-3.5 items-center justify-center", children: /* @__PURE__ */ e.jsx(s.ItemIndicator, { children: /* @__PURE__ */ e.jsx(d, { className: "size-4" }) }) }),
118
113
  /* @__PURE__ */ e.jsx(s.ItemText, { children: a })
119
114
  ]
120
115
  }
121
116
  );
122
117
  }
123
- function b({
118
+ function w({
124
119
  className: t,
125
120
  ...a
126
121
  }) {
@@ -133,7 +128,7 @@ function b({
133
128
  }
134
129
  );
135
130
  }
136
- function i({
131
+ function u({
137
132
  className: t,
138
133
  ...a
139
134
  }) {
@@ -146,11 +141,11 @@ function i({
146
141
  t
147
142
  ),
148
143
  ...a,
149
- children: /* @__PURE__ */ e.jsx(n, { iconName: "IconChevronUp", className: "size-4" })
144
+ children: /* @__PURE__ */ e.jsx(c, { className: "size-4" })
150
145
  }
151
146
  );
152
147
  }
153
- function c({
148
+ function p({
154
149
  className: t,
155
150
  ...a
156
151
  }) {
@@ -163,19 +158,19 @@ function c({
163
158
  t
164
159
  ),
165
160
  ...a,
166
- children: /* @__PURE__ */ e.jsx(n, { iconName: "IconChevronDown", className: "size-4" })
161
+ children: /* @__PURE__ */ e.jsx(n, { className: "size-4" })
167
162
  }
168
163
  );
169
164
  }
170
165
  export {
171
- p as Select,
172
- f as SelectContent,
173
- m as SelectGroup,
174
- v as SelectItem,
175
- h as SelectLabel,
176
- c as SelectScrollDownButton,
177
- i as SelectScrollUpButton,
178
- b as SelectSeparator,
179
- g as SelectTrigger,
180
- x as SelectValue
166
+ g as Select,
167
+ b as SelectContent,
168
+ f as SelectGroup,
169
+ y as SelectItem,
170
+ j as SelectLabel,
171
+ p as SelectScrollDownButton,
172
+ u as SelectScrollUpButton,
173
+ w as SelectSeparator,
174
+ v as SelectTrigger,
175
+ h as SelectValue
181
176
  };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-DSjHHn1r.cjs"),r=require("@radix-ui/react-dialog"),i=require("../icon-component-DTlgy__B.cjs");function l(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const n=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(o,s,n.get?n:{enumerable:!0,get:()=>t[s]})}}return o.default=t,Object.freeze(o)}const a=l(r);function d({...t}){return e.jsxRuntimeExports.jsx(a.Root,{"data-slot":"sheet",...t})}function c({...t}){return e.jsxRuntimeExports.jsx(a.Trigger,{"data-slot":"sheet-trigger",...t})}function u({...t}){return e.jsxRuntimeExports.jsx(a.Close,{"data-slot":"sheet-close",...t})}function x({...t}){return e.jsxRuntimeExports.jsx(a.Portal,{"data-slot":"sheet-portal",...t})}function m({className:t,...o}){return e.jsxRuntimeExports.jsx(a.Overlay,{"data-slot":"sheet-overlay",className:e.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...o})}function p({className:t,children:o,side:s="right",...n}){return e.jsxRuntimeExports.jsxs(x,{children:[e.jsxRuntimeExports.jsx(m,{}),e.jsxRuntimeExports.jsxs(a.Content,{"data-slot":"sheet-content",className:e.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",s==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",s==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",s==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",s==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...n,children:[o,e.jsxRuntimeExports.jsxs(a.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[e.jsxRuntimeExports.jsx(i.IconComponent,{iconName:"IconX",className:"size-4"}),e.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function f({className:t,...o}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"sheet-header",className:e.cn("flex flex-col gap-1.5 p-4",t),...o})}function h({className:t,...o}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"sheet-footer",className:e.cn("mt-auto flex flex-col gap-2 p-4",t),...o})}function g({className:t,...o}){return e.jsxRuntimeExports.jsx(a.Title,{"data-slot":"sheet-title",className:e.cn("text-foreground font-semibold",t),...o})}function j({className:t,...o}){return e.jsxRuntimeExports.jsx(a.Description,{"data-slot":"sheet-description",className:e.cn("text-muted-foreground paragraph-sm",t),...o})}exports.Sheet=d;exports.SheetClose=u;exports.SheetContent=p;exports.SheetDescription=j;exports.SheetFooter=h;exports.SheetHeader=f;exports.SheetTitle=g;exports.SheetTrigger=c;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index-9HRzXEQf.cjs"),r=require("@radix-ui/react-dialog"),i=require("@phosphor-icons/react");function l(t){const o=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const s in t)if(s!=="default"){const n=Object.getOwnPropertyDescriptor(t,s);Object.defineProperty(o,s,n.get?n:{enumerable:!0,get:()=>t[s]})}}return o.default=t,Object.freeze(o)}const a=l(r);function d({...t}){return e.jsxRuntimeExports.jsx(a.Root,{"data-slot":"sheet",...t})}function u({...t}){return e.jsxRuntimeExports.jsx(a.Trigger,{"data-slot":"sheet-trigger",...t})}function c({...t}){return e.jsxRuntimeExports.jsx(a.Close,{"data-slot":"sheet-close",...t})}function x({...t}){return e.jsxRuntimeExports.jsx(a.Portal,{"data-slot":"sheet-portal",...t})}function m({className:t,...o}){return e.jsxRuntimeExports.jsx(a.Overlay,{"data-slot":"sheet-overlay",className:e.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...o})}function p({className:t,children:o,side:s="right",...n}){return e.jsxRuntimeExports.jsxs(x,{children:[e.jsxRuntimeExports.jsx(m,{}),e.jsxRuntimeExports.jsxs(a.Content,{"data-slot":"sheet-content",className:e.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",s==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",s==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",s==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",s==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...n,children:[o,e.jsxRuntimeExports.jsxs(a.Close,{className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[e.jsxRuntimeExports.jsx(i.XIcon,{className:"size-4"}),e.jsxRuntimeExports.jsx("span",{className:"sr-only",children:"Close"})]})]})]})}function f({className:t,...o}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"sheet-header",className:e.cn("flex flex-col gap-1.5 p-4",t),...o})}function h({className:t,...o}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"sheet-footer",className:e.cn("mt-auto flex flex-col gap-2 p-4",t),...o})}function g({className:t,...o}){return e.jsxRuntimeExports.jsx(a.Title,{"data-slot":"sheet-title",className:e.cn("text-foreground font-semibold",t),...o})}function j({className:t,...o}){return e.jsxRuntimeExports.jsx(a.Description,{"data-slot":"sheet-description",className:e.cn("text-muted-foreground paragraph-sm",t),...o})}exports.Sheet=d;exports.SheetClose=c;exports.SheetContent=p;exports.SheetDescription=j;exports.SheetFooter=h;exports.SheetHeader=f;exports.SheetTitle=g;exports.SheetTrigger=u;