@code-sherpas/pharos-react 0.18.0 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -9,34 +9,36 @@ import { Combobox as f } from "@base-ui/react/combobox";
9
9
  import { Dialog as p } from "@base-ui/react/dialog";
10
10
  import { Checkbox as m } from "@base-ui/react/checkbox";
11
11
  import { Switch as h } from "@base-ui/react/switch";
12
+ import { RadioGroup as g } from "@base-ui/react/radio-group";
13
+ import { Radio as _ } from "@base-ui/react/radio";
12
14
  //#region node_modules/.pnpm/clsx@2.1.1/node_modules/clsx/dist/clsx.mjs
13
- function g(e) {
15
+ function v(e) {
14
16
  var t, n, r = "";
15
17
  if (typeof e == "string" || typeof e == "number") r += e;
16
18
  else if (typeof e == "object") if (Array.isArray(e)) {
17
19
  var i = e.length;
18
- for (t = 0; t < i; t++) e[t] && (n = g(e[t])) && (r && (r += " "), r += n);
20
+ for (t = 0; t < i; t++) e[t] && (n = v(e[t])) && (r && (r += " "), r += n);
19
21
  } else for (n in e) e[n] && (r && (r += " "), r += n);
20
22
  return r;
21
23
  }
22
- function _() {
23
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = g(e)) && (r && (r += " "), r += t);
24
+ function y() {
25
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = v(e)) && (r && (r += " "), r += t);
24
26
  return r;
25
27
  }
26
28
  //#endregion
27
29
  //#region node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs
28
- var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e, t) => (n) => {
29
- if (t?.variants == null) return y(e, n?.class, n?.className);
30
+ var b = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, x = y, S = (e, t) => (n) => {
31
+ if (t?.variants == null) return x(e, n?.class, n?.className);
30
32
  let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
31
33
  let t = n?.[e], a = i?.[e];
32
34
  if (t === null) return null;
33
- let o = v(t) || v(a);
35
+ let o = b(t) || b(a);
34
36
  return r[e][o];
35
37
  }), o = n && Object.entries(n).reduce((e, t) => {
36
38
  let [n, r] = t;
37
39
  return r === void 0 || (e[n] = r), e;
38
40
  }, {});
39
- return y(e, a, t?.compoundVariants?.reduce((e, t) => {
41
+ return x(e, a, t?.compoundVariants?.reduce((e, t) => {
40
42
  let { class: n, className: r, ...a } = t;
41
43
  return Object.entries(a).every((e) => {
42
44
  let [t, n] = e;
@@ -56,10 +58,10 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
56
58
  };
57
59
  //#endregion
58
60
  //#region src/lib/cn.ts
59
- function x(...e) {
60
- return _(e);
61
+ function C(...e) {
62
+ return y(e);
61
63
  }
62
- var S = {
64
+ var w = {
63
65
  button: "_button_iu0wg_18",
64
66
  primary: "_primary_iu0wg_127",
65
67
  secondary: "_secondary_iu0wg_141",
@@ -68,18 +70,18 @@ var S = {
68
70
  sizeSm: "_sizeSm_iu0wg_197",
69
71
  sizeMd: "_sizeMd_iu0wg_205",
70
72
  sizeLg: "_sizeLg_iu0wg_213"
71
- }, C = b(S.button, {
73
+ }, ee = S(w.button, {
72
74
  variants: {
73
75
  intent: {
74
- primary: S.primary,
75
- secondary: S.secondary,
76
- ghost: S.ghost,
77
- destructive: S.destructive
76
+ primary: w.primary,
77
+ secondary: w.secondary,
78
+ ghost: w.ghost,
79
+ destructive: w.destructive
78
80
  },
79
81
  size: {
80
- sm: S.sizeSm,
81
- md: S.sizeMd,
82
- lg: S.sizeLg
82
+ sm: w.sizeSm,
83
+ md: w.sizeMd,
84
+ lg: w.sizeLg
83
85
  }
84
86
  },
85
87
  defaultVariants: {
@@ -87,7 +89,7 @@ var S = {
87
89
  size: "md"
88
90
  }
89
91
  });
90
- function w({ render: n, className: r, intent: i, size: a, type: o = "button", ref: s, ...c }) {
92
+ function te({ render: n, className: r, intent: i, size: a, type: o = "button", ref: s, ...c }) {
91
93
  let l = i ?? "primary", u = a ?? "md";
92
94
  return e({
93
95
  render: n ?? /* @__PURE__ */ t("button", {}),
@@ -97,7 +99,7 @@ function w({ render: n, className: r, intent: i, size: a, type: o = "button", re
97
99
  type: o,
98
100
  "data-pharos-intent": l,
99
101
  "data-pharos-size": u,
100
- className: x(C({
102
+ className: C(ee({
101
103
  intent: l,
102
104
  size: u
103
105
  }), r),
@@ -105,7 +107,7 @@ function w({ render: n, className: r, intent: i, size: a, type: o = "button", re
105
107
  }
106
108
  });
107
109
  }
108
- w.displayName = "Button";
110
+ te.displayName = "Button";
109
111
  var T = {
110
112
  spinner: "_spinner_gg970_28",
111
113
  icon: "_icon_gg970_46",
@@ -114,7 +116,7 @@ var T = {
114
116
  sizeMd: "_sizeMd_gg970_74",
115
117
  sizeLg: "_sizeLg_gg970_79",
116
118
  srOnly: "_srOnly_gg970_87"
117
- }, ee = b(T.spinner, {
119
+ }, E = S(T.spinner, {
118
120
  variants: { size: {
119
121
  sm: T.sizeSm,
120
122
  md: T.sizeMd,
@@ -122,13 +124,13 @@ var T = {
122
124
  } },
123
125
  defaultVariants: { size: "md" }
124
126
  });
125
- function E({ size: e, className: r, srLabel: i = "Loading…", children: a, ref: o, ...s }) {
127
+ function D({ size: e, className: r, srLabel: i = "Loading…", children: a, ref: o, ...s }) {
126
128
  let c = e ?? "md";
127
129
  return /* @__PURE__ */ n("span", {
128
130
  ref: o,
129
131
  role: "status",
130
132
  "data-pharos-size": c,
131
- className: x(ee({ size: c }), r),
133
+ className: C(E({ size: c }), r),
132
134
  ...s,
133
135
  children: [
134
136
  /* @__PURE__ */ t("svg", {
@@ -155,8 +157,8 @@ function E({ size: e, className: r, srLabel: i = "Loading…", children: a, ref:
155
157
  ]
156
158
  });
157
159
  }
158
- E.displayName = "Spinner";
159
- var D = {
160
+ D.displayName = "Spinner";
161
+ var O = {
160
162
  button: "_button_ltuh2_14",
161
163
  primary: "_primary_ltuh2_74",
162
164
  secondary: "_secondary_ltuh2_88",
@@ -165,18 +167,18 @@ var D = {
165
167
  sizeSm: "_sizeSm_ltuh2_150",
166
168
  sizeMd: "_sizeMd_ltuh2_160",
167
169
  sizeLg: "_sizeLg_ltuh2_170"
168
- }, te = b(D.button, {
170
+ }, ne = S(O.button, {
169
171
  variants: {
170
172
  intent: {
171
- primary: D.primary,
172
- secondary: D.secondary,
173
- ghost: D.ghost,
174
- destructive: D.destructive
173
+ primary: O.primary,
174
+ secondary: O.secondary,
175
+ ghost: O.ghost,
176
+ destructive: O.destructive
175
177
  },
176
178
  size: {
177
- sm: D.sizeSm,
178
- md: D.sizeMd,
179
- lg: D.sizeLg
179
+ sm: O.sizeSm,
180
+ md: O.sizeMd,
181
+ lg: O.sizeLg
180
182
  }
181
183
  },
182
184
  defaultVariants: {
@@ -184,7 +186,7 @@ var D = {
184
186
  size: "md"
185
187
  }
186
188
  });
187
- function ne({ render: n, className: r, intent: i, size: a, isLoading: o, disabled: s, type: c = "button", children: l, ref: u, ...d }) {
189
+ function k({ render: n, className: r, intent: i, size: a, isLoading: o, disabled: s, type: c = "button", children: l, ref: u, ...d }) {
188
190
  let f = i ?? "ghost", p = a ?? "md";
189
191
  return e({
190
192
  render: n ?? /* @__PURE__ */ t("button", {}),
@@ -196,17 +198,17 @@ function ne({ render: n, className: r, intent: i, size: a, isLoading: o, disable
196
198
  "data-pharos-size": p,
197
199
  "aria-busy": o ? !0 : void 0,
198
200
  disabled: !!s || !!o,
199
- className: x(te({
201
+ className: C(ne({
200
202
  intent: f,
201
203
  size: p
202
204
  }), r),
203
205
  ...d,
204
- children: o ? /* @__PURE__ */ t(E, { size: p }) : l
206
+ children: o ? /* @__PURE__ */ t(D, { size: p }) : l
205
207
  }
206
208
  });
207
209
  }
208
- ne.displayName = "IconButton";
209
- var O = {
210
+ k.displayName = "IconButton";
211
+ var A = {
210
212
  badge: "_badge_zrawy_5",
211
213
  default: "_default_zrawy_30",
212
214
  secondary: "_secondary_zrawy_35",
@@ -215,33 +217,33 @@ var O = {
215
217
  success: "_success_zrawy_55",
216
218
  warning: "_warning_zrawy_60",
217
219
  info: "_info_zrawy_65"
218
- }, k = b(O.badge, {
220
+ }, re = S(A.badge, {
219
221
  variants: { variant: {
220
- default: O.default,
221
- secondary: O.secondary,
222
- destructive: O.destructive,
223
- outline: O.outline,
224
- success: O.success,
225
- warning: O.warning,
226
- info: O.info
222
+ default: A.default,
223
+ secondary: A.secondary,
224
+ destructive: A.destructive,
225
+ outline: A.outline,
226
+ success: A.success,
227
+ warning: A.warning,
228
+ info: A.info
227
229
  } },
228
230
  defaultVariants: { variant: "default" }
229
231
  });
230
- function A({ variant: e, className: n, ...r }) {
232
+ function ie({ variant: e, className: n, ...r }) {
231
233
  let i = e ?? "default";
232
234
  return /* @__PURE__ */ t("span", {
233
235
  "data-pharos-variant": i,
234
- className: x(k({ variant: i }), n),
236
+ className: C(re({ variant: i }), n),
235
237
  ...r
236
238
  });
237
239
  }
238
- A.displayName = "Badge";
240
+ ie.displayName = "Badge";
239
241
  var j = {
240
242
  input: "_input_11emo_14",
241
243
  sizeSm: "_sizeSm_11emo_97",
242
244
  sizeMd: "_sizeMd_11emo_103",
243
245
  sizeLg: "_sizeLg_11emo_109"
244
- }, re = b(j.input, {
246
+ }, ae = S(j.input, {
245
247
  variants: { size: {
246
248
  sm: j.sizeSm,
247
249
  md: j.sizeMd,
@@ -249,23 +251,23 @@ var j = {
249
251
  } },
250
252
  defaultVariants: { size: "md" }
251
253
  });
252
- function ie({ size: e, className: n, type: r = "text", ref: i, ...a }) {
254
+ function oe({ size: e, className: n, type: r = "text", ref: i, ...a }) {
253
255
  let o = e ?? "md";
254
256
  return /* @__PURE__ */ t("input", {
255
257
  ref: i,
256
258
  type: r,
257
259
  "data-pharos-size": o,
258
- className: x(re({ size: o }), n),
260
+ className: C(ae({ size: o }), n),
259
261
  ...a
260
262
  });
261
263
  }
262
- ie.displayName = "Input";
264
+ oe.displayName = "Input";
263
265
  var M = {
264
266
  textarea: "_textarea_1mec8_21",
265
267
  sizeSm: "_sizeSm_1mec8_113",
266
268
  sizeMd: "_sizeMd_1mec8_119",
267
269
  sizeLg: "_sizeLg_1mec8_125"
268
- }, ae = b(M.textarea, {
270
+ }, se = S(M.textarea, {
269
271
  variants: { size: {
270
272
  sm: M.sizeSm,
271
273
  md: M.sizeMd,
@@ -273,33 +275,33 @@ var M = {
273
275
  } },
274
276
  defaultVariants: { size: "md" }
275
277
  });
276
- function oe({ size: e, className: n, ref: r, ...i }) {
278
+ function ce({ size: e, className: n, ref: r, ...i }) {
277
279
  let a = e ?? "md";
278
280
  return /* @__PURE__ */ t("textarea", {
279
281
  ref: r,
280
282
  "data-pharos-size": a,
281
- className: x(ae({ size: a }), n),
283
+ className: C(se({ size: a }), n),
282
284
  ...i
283
285
  });
284
286
  }
285
- oe.displayName = "Textarea";
286
- var se = {
287
+ ce.displayName = "Textarea";
288
+ var le = {
287
289
  separator: "_separator_da90p_13",
288
290
  horizontal: "_horizontal_da90p_29",
289
291
  vertical: "_vertical_da90p_34"
290
292
  };
291
293
  //#endregion
292
294
  //#region src/components/Separator.tsx
293
- function ce({ orientation: e = "horizontal", decorative: n = !0, className: r, ...i }) {
295
+ function ue({ orientation: e = "horizontal", decorative: n = !0, className: r, ...i }) {
294
296
  return /* @__PURE__ */ t("div", {
295
297
  role: n ? "none" : "separator",
296
298
  "aria-orientation": !n && e === "vertical" ? "vertical" : void 0,
297
299
  "data-pharos-orientation": e,
298
- className: x(se.separator, se[e], r),
300
+ className: C(le.separator, le[e], r),
299
301
  ...i
300
302
  });
301
303
  }
302
- ce.displayName = "Separator";
304
+ ue.displayName = "Separator";
303
305
  var N = {
304
306
  card: "_card_yxgwa_10",
305
307
  default: "_default_yxgwa_42",
@@ -310,7 +312,7 @@ var N = {
310
312
  description: "_description_yxgwa_77",
311
313
  content: "_content_yxgwa_85",
312
314
  footer: "_footer_yxgwa_95"
313
- }, le = b(N.card, {
315
+ }, de = S(N.card, {
314
316
  variants: { variant: {
315
317
  default: N.default,
316
318
  elevated: N.elevated,
@@ -318,19 +320,19 @@ var N = {
318
320
  } },
319
321
  defaultVariants: { variant: "default" }
320
322
  });
321
- function ue({ variant: e, className: n, ...r }) {
323
+ function fe({ variant: e, className: n, ...r }) {
322
324
  let i = e ?? "default";
323
325
  return /* @__PURE__ */ t("div", {
324
326
  "data-pharos-variant": i,
325
- className: x(le({ variant: i }), n),
327
+ className: C(de({ variant: i }), n),
326
328
  ...r
327
329
  });
328
330
  }
329
- ue.displayName = "Card";
331
+ fe.displayName = "Card";
330
332
  function P({ className: e, ...n }) {
331
333
  return /* @__PURE__ */ t("div", {
332
334
  "data-pharos-slot": "card-header",
333
- className: x(N.header, e),
335
+ className: C(N.header, e),
334
336
  ...n
335
337
  });
336
338
  }
@@ -338,7 +340,7 @@ P.displayName = "CardHeader";
338
340
  function F({ className: e, ...n }) {
339
341
  return /* @__PURE__ */ t("div", {
340
342
  "data-pharos-slot": "card-title",
341
- className: x(N.title, e),
343
+ className: C(N.title, e),
342
344
  ...n
343
345
  });
344
346
  }
@@ -346,7 +348,7 @@ F.displayName = "CardTitle";
346
348
  function I({ className: e, ...n }) {
347
349
  return /* @__PURE__ */ t("p", {
348
350
  "data-pharos-slot": "card-description",
349
- className: x(N.description, e),
351
+ className: C(N.description, e),
350
352
  ...n
351
353
  });
352
354
  }
@@ -354,7 +356,7 @@ I.displayName = "CardDescription";
354
356
  function L({ className: e, ...n }) {
355
357
  return /* @__PURE__ */ t("div", {
356
358
  "data-pharos-slot": "card-content",
357
- className: x(N.content, e),
359
+ className: C(N.content, e),
358
360
  ...n
359
361
  });
360
362
  }
@@ -362,7 +364,7 @@ L.displayName = "CardContent";
362
364
  function R({ className: e, ...n }) {
363
365
  return /* @__PURE__ */ t("div", {
364
366
  "data-pharos-slot": "card-footer",
365
- className: x(N.footer, e),
367
+ className: C(N.footer, e),
366
368
  ...n
367
369
  });
368
370
  }
@@ -377,23 +379,23 @@ var z = {
377
379
  image: "_image_1xx27_118",
378
380
  fallback: "_fallback_1xx27_134",
379
381
  group: "_group_1xx27_175"
380
- }, de = r(null), B = r(null), V = r(null), fe = {
382
+ }, pe = r(null), B = r(null), V = r(null), me = {
381
383
  sm: z.sizeSm,
382
384
  md: z.sizeMd,
383
385
  lg: z.sizeLg
384
- }, pe = {
386
+ }, he = {
385
387
  circle: z.shapeCircle,
386
388
  square: z.shapeSquare
387
389
  };
388
- function me(e) {
390
+ function ge(e) {
389
391
  if (typeof e == "number") return {
390
392
  width: e,
391
393
  height: e,
392
394
  fontSize: `${Math.round(e * .4)}px`
393
395
  };
394
396
  }
395
- function he(e) {
396
- if (typeof e != "number") return fe[e];
397
+ function _e(e) {
398
+ if (typeof e != "number") return me[e];
397
399
  }
398
400
  function H({ size: n, shape: r, className: i, style: o, render: l, ref: u, children: d, ...f }) {
399
401
  let p = a(V), m = n ?? p?.size ?? "md", h = r ?? p?.shape ?? "circle", [g, _] = c("idle"), v = s(() => ({
@@ -402,8 +404,8 @@ function H({ size: n, shape: r, className: i, style: o, render: l, ref: u, child
402
404
  }), [m, h]), y = s(() => ({
403
405
  status: g,
404
406
  setStatus: _
405
- }), [g]), b = he(m), S = me(m), C = typeof m == "number" ? String(m) : m;
406
- return /* @__PURE__ */ t(de.Provider, {
407
+ }), [g]), b = _e(m), x = ge(m), S = typeof m == "number" ? String(m) : m;
408
+ return /* @__PURE__ */ t(pe.Provider, {
407
409
  value: v,
408
410
  children: /* @__PURE__ */ t(B.Provider, {
409
411
  value: y,
@@ -412,12 +414,12 @@ function H({ size: n, shape: r, className: i, style: o, render: l, ref: u, child
412
414
  ref: u,
413
415
  defaultTagName: "span",
414
416
  props: {
415
- "data-pharos-size": C,
417
+ "data-pharos-size": S,
416
418
  "data-pharos-shape": h,
417
419
  "data-pharos-loading": g,
418
- className: x(z.root, b, pe[h], i),
419
- style: S ? {
420
- ...S,
420
+ className: C(z.root, b, he[h], i),
421
+ style: x ? {
422
+ ...x,
421
423
  ...o
422
424
  } : o,
423
425
  ...f,
@@ -428,7 +430,7 @@ function H({ size: n, shape: r, className: i, style: o, render: l, ref: u, child
428
430
  });
429
431
  }
430
432
  H.displayName = "Avatar";
431
- function U({ className: e, src: n, onLoad: r, onError: s, onLoadingStatusChange: c, ref: l, ...u }) {
433
+ function ve({ className: e, src: n, onLoad: r, onError: s, onLoadingStatusChange: c, ref: l, ...u }) {
432
434
  let d = a(B), f = typeof n == "string" && n.length > 0;
433
435
  o(() => {
434
436
  d && (d.setStatus(f ? "loading" : "idle"), c?.(f ? "loading" : "idle"));
@@ -452,12 +454,12 @@ function U({ className: e, src: n, onLoad: r, onError: s, onLoadingStatusChange:
452
454
  onLoad: p,
453
455
  onError: m,
454
456
  "data-pharos-loading": d?.status,
455
- className: x(z.image, e),
457
+ className: C(z.image, e),
456
458
  ...u
457
459
  });
458
460
  }
459
- U.displayName = "AvatarImage";
460
- function W({ className: e, delayMs: n = 0, children: r, ref: i, ...s }) {
461
+ ve.displayName = "AvatarImage";
462
+ function U({ className: e, delayMs: n = 0, children: r, ref: i, ...s }) {
461
463
  let l = a(B), [u, d] = c(n === 0);
462
464
  return o(() => {
463
465
  if (n === 0) {
@@ -470,13 +472,13 @@ function W({ className: e, delayMs: n = 0, children: r, ref: i, ...s }) {
470
472
  ref: i,
471
473
  "data-pharos-slot": "avatar-fallback",
472
474
  "data-pharos-loading": l?.status,
473
- className: x(z.fallback, e),
475
+ className: C(z.fallback, e),
474
476
  ...s,
475
477
  children: r
476
478
  });
477
479
  }
478
- W.displayName = "AvatarFallback";
479
- function ge({ size: e, shape: r, max: i, renderOverflow: a, className: o, children: c, ref: l, ...u }) {
480
+ U.displayName = "AvatarFallback";
481
+ function ye({ size: e, shape: r, max: i, renderOverflow: a, className: o, children: c, ref: l, ...u }) {
480
482
  let d = e ?? "md", f = r ?? "circle", p = s(() => {
481
483
  let e = [], t = 0, n = [], r = (e) => {
482
484
  n.push(e), t += 1;
@@ -493,18 +495,18 @@ function ge({ size: e, shape: r, max: i, renderOverflow: a, className: o, childr
493
495
  "data-pharos-slot": "avatar-group",
494
496
  "data-pharos-size": typeof d == "number" ? String(d) : d,
495
497
  "data-pharos-shape": f,
496
- className: x(z.group, o),
498
+ className: C(z.group, o),
497
499
  ...u,
498
500
  children: [m, h > 0 ? /* @__PURE__ */ t(H, {
499
501
  "aria-label": `${h} more`,
500
502
  "data-pharos-slot": "avatar-group-overflow",
501
- children: /* @__PURE__ */ t(W, { children: a ? a(h) : `+${h}` })
503
+ children: /* @__PURE__ */ t(U, { children: a ? a(h) : `+${h}` })
502
504
  }) : null]
503
505
  })
504
506
  });
505
507
  }
506
- ge.displayName = "AvatarGroup";
507
- var G = {
508
+ ye.displayName = "AvatarGroup";
509
+ var W = {
508
510
  positioner: "_positioner_ua6x3_9",
509
511
  content: "_content_ua6x3_4",
510
512
  item: "_item_ua6x3_5",
@@ -514,61 +516,61 @@ var G = {
514
516
  };
515
517
  //#endregion
516
518
  //#region src/components/DropdownMenu.tsx
517
- function _e(e) {
519
+ function be(e) {
518
520
  return /* @__PURE__ */ t(l.Root, { ...e });
519
521
  }
520
- _e.displayName = "DropdownMenu";
521
- function ve(e) {
522
+ be.displayName = "DropdownMenu";
523
+ function xe(e) {
522
524
  return /* @__PURE__ */ t(l.Trigger, { ...e });
523
525
  }
524
- ve.displayName = "DropdownMenuTrigger";
525
- function ye({ side: e = "bottom", align: n = "start", sideOffset: r = 8, className: i, children: a, ...o }) {
526
+ xe.displayName = "DropdownMenuTrigger";
527
+ function Se({ side: e = "bottom", align: n = "start", sideOffset: r = 8, className: i, children: a, ...o }) {
526
528
  return /* @__PURE__ */ t(l.Portal, { children: /* @__PURE__ */ t(l.Positioner, {
527
- className: G.positioner,
529
+ className: W.positioner,
528
530
  side: e,
529
531
  align: n,
530
532
  sideOffset: r,
531
533
  children: /* @__PURE__ */ t(l.Popup, {
532
534
  "data-pharos-slot": "dropdown-menu-content",
533
- className: x(G.content, i),
535
+ className: C(W.content, i),
534
536
  ...o,
535
537
  children: a
536
538
  })
537
539
  }) });
538
540
  }
539
- ye.displayName = "DropdownMenuContent";
540
- function be({ variant: e = "default", className: n, ...r }) {
541
+ Se.displayName = "DropdownMenuContent";
542
+ function Ce({ variant: e = "default", className: n, ...r }) {
541
543
  return /* @__PURE__ */ t(l.Item, {
542
544
  "data-pharos-variant": e,
543
- className: x(G.item, e === "destructive" && G.itemDestructive, n),
545
+ className: C(W.item, e === "destructive" && W.itemDestructive, n),
544
546
  ...r
545
547
  });
546
548
  }
547
- be.displayName = "DropdownMenuItem";
548
- function xe({ className: e, ...n }) {
549
+ Ce.displayName = "DropdownMenuItem";
550
+ function we({ className: e, ...n }) {
549
551
  return /* @__PURE__ */ t(l.Separator, {
550
552
  "data-pharos-slot": "dropdown-menu-separator",
551
- className: x(G.separator, e),
553
+ className: C(W.separator, e),
552
554
  ...n
553
555
  });
554
556
  }
555
- xe.displayName = "DropdownMenuSeparator";
556
- function Se({ className: e, ...n }) {
557
+ we.displayName = "DropdownMenuSeparator";
558
+ function Te({ className: e, ...n }) {
557
559
  return /* @__PURE__ */ t(l.GroupLabel, {
558
560
  "data-pharos-slot": "dropdown-menu-label",
559
- className: x(G.label, e),
561
+ className: C(W.label, e),
560
562
  ...n
561
563
  });
562
564
  }
563
- Se.displayName = "DropdownMenuLabel";
564
- function Ce(e) {
565
+ Te.displayName = "DropdownMenuLabel";
566
+ function Ee(e) {
565
567
  return /* @__PURE__ */ t(l.Group, {
566
568
  "data-pharos-slot": "dropdown-menu-group",
567
569
  ...e
568
570
  });
569
571
  }
570
- Ce.displayName = "DropdownMenuGroup";
571
- var K = {
572
+ Ee.displayName = "DropdownMenuGroup";
573
+ var G = {
572
574
  positioner: "_positioner_ga28p_15",
573
575
  content: "_content_ga28p_4",
574
576
  title: "_title_ga28p_5",
@@ -576,54 +578,54 @@ var K = {
576
578
  };
577
579
  //#endregion
578
580
  //#region src/components/Popover.tsx
579
- function we(e) {
581
+ function De(e) {
580
582
  return /* @__PURE__ */ t(u.Root, { ...e });
581
583
  }
582
- we.displayName = "Popover";
583
- function Te(e) {
584
+ De.displayName = "Popover";
585
+ function Oe(e) {
584
586
  return /* @__PURE__ */ t(u.Trigger, { ...e });
585
587
  }
586
- Te.displayName = "PopoverTrigger";
587
- function Ee({ side: e = "bottom", align: n = "center", sideOffset: r = 8, alignOffset: i = 0, className: a, children: o, ...s }) {
588
+ Oe.displayName = "PopoverTrigger";
589
+ function ke({ side: e = "bottom", align: n = "center", sideOffset: r = 8, alignOffset: i = 0, className: a, children: o, ...s }) {
588
590
  return /* @__PURE__ */ t(u.Portal, { children: /* @__PURE__ */ t(u.Positioner, {
589
- className: K.positioner,
591
+ className: G.positioner,
590
592
  side: e,
591
593
  align: n,
592
594
  sideOffset: r,
593
595
  alignOffset: i,
594
596
  children: /* @__PURE__ */ t(u.Popup, {
595
597
  "data-pharos-slot": "popover-content",
596
- className: x(K.content, a),
598
+ className: C(G.content, a),
597
599
  ...s,
598
600
  children: o
599
601
  })
600
602
  }) });
601
603
  }
602
- Ee.displayName = "PopoverContent";
603
- function De({ className: e, ...n }) {
604
+ ke.displayName = "PopoverContent";
605
+ function Ae({ className: e, ...n }) {
604
606
  return /* @__PURE__ */ t(u.Title, {
605
607
  "data-pharos-slot": "popover-title",
606
- className: x(K.title, e),
608
+ className: C(G.title, e),
607
609
  ...n
608
610
  });
609
611
  }
610
- De.displayName = "PopoverTitle";
611
- function Oe({ className: e, ...n }) {
612
+ Ae.displayName = "PopoverTitle";
613
+ function je({ className: e, ...n }) {
612
614
  return /* @__PURE__ */ t(u.Description, {
613
615
  "data-pharos-slot": "popover-description",
614
- className: x(K.description, e),
616
+ className: C(G.description, e),
615
617
  ...n
616
618
  });
617
619
  }
618
- Oe.displayName = "PopoverDescription";
619
- function ke(e) {
620
+ je.displayName = "PopoverDescription";
621
+ function Me(e) {
620
622
  return /* @__PURE__ */ t(u.Close, {
621
623
  "data-pharos-slot": "popover-close",
622
624
  ...e
623
625
  });
624
626
  }
625
- ke.displayName = "PopoverClose";
626
- var q = {
627
+ Me.displayName = "PopoverClose";
628
+ var K = {
627
629
  trigger: "_trigger_1w6j6_35",
628
630
  sizeSm: "_sizeSm_1w6j6_92",
629
631
  sizeMd: "_sizeMd_1w6j6_98",
@@ -640,11 +642,11 @@ var q = {
640
642
  };
641
643
  //#endregion
642
644
  //#region src/components/Select.tsx
643
- function Ae(e) {
645
+ function Ne(e) {
644
646
  return /* @__PURE__ */ t(d.Root, { ...e });
645
647
  }
646
- Ae.displayName = "Select";
647
- function je() {
648
+ Ne.displayName = "Select";
649
+ function Pe() {
648
650
  return /* @__PURE__ */ t("svg", {
649
651
  viewBox: "0 0 24 24",
650
652
  fill: "none",
@@ -658,7 +660,7 @@ function je() {
658
660
  })
659
661
  });
660
662
  }
661
- function Me() {
663
+ function Fe() {
662
664
  return /* @__PURE__ */ t("svg", {
663
665
  viewBox: "0 0 24 24",
664
666
  fill: "none",
@@ -672,39 +674,39 @@ function Me() {
672
674
  })
673
675
  });
674
676
  }
675
- var Ne = b(q.trigger, {
677
+ var Ie = S(K.trigger, {
676
678
  variants: { size: {
677
- sm: q.sizeSm,
678
- md: q.sizeMd,
679
- lg: q.sizeLg
679
+ sm: K.sizeSm,
680
+ md: K.sizeMd,
681
+ lg: K.sizeLg
680
682
  } },
681
683
  defaultVariants: { size: "md" }
682
684
  });
683
- function Pe({ size: e, className: r, children: i, ...a }) {
685
+ function Le({ size: e, className: r, children: i, ...a }) {
684
686
  let o = e ?? "md";
685
687
  return /* @__PURE__ */ n(d.Trigger, {
686
688
  "data-pharos-slot": "select-trigger",
687
689
  "data-pharos-size": o,
688
- className: x(Ne({ size: o }), r),
690
+ className: C(Ie({ size: o }), r),
689
691
  ...a,
690
692
  children: [i, /* @__PURE__ */ t(d.Icon, {
691
- className: q.icon,
692
- children: /* @__PURE__ */ t(je, {})
693
+ className: K.icon,
694
+ children: /* @__PURE__ */ t(Pe, {})
693
695
  })]
694
696
  });
695
697
  }
696
- Pe.displayName = "SelectTrigger";
697
- function Fe({ className: e, ...n }) {
698
+ Le.displayName = "SelectTrigger";
699
+ function Re({ className: e, ...n }) {
698
700
  return /* @__PURE__ */ t(d.Value, {
699
701
  "data-pharos-slot": "select-value",
700
- className: x(q.value, e),
702
+ className: C(K.value, e),
701
703
  ...n
702
704
  });
703
705
  }
704
- Fe.displayName = "SelectValue";
705
- function Ie({ side: e = "bottom", align: n = "start", sideOffset: r = 8, alignOffset: i = 0, className: a, children: o, ...s }) {
706
+ Re.displayName = "SelectValue";
707
+ function ze({ side: e = "bottom", align: n = "start", sideOffset: r = 8, alignOffset: i = 0, className: a, children: o, ...s }) {
706
708
  return /* @__PURE__ */ t(d.Portal, { children: /* @__PURE__ */ t(d.Positioner, {
707
- className: q.positioner,
709
+ className: K.positioner,
708
710
  alignItemWithTrigger: !1,
709
711
  side: e,
710
712
  align: n,
@@ -712,54 +714,54 @@ function Ie({ side: e = "bottom", align: n = "start", sideOffset: r = 8, alignOf
712
714
  alignOffset: i,
713
715
  children: /* @__PURE__ */ t(d.Popup, {
714
716
  "data-pharos-slot": "select-content",
715
- className: x(q.content, a),
717
+ className: C(K.content, a),
716
718
  ...s,
717
719
  children: /* @__PURE__ */ t(d.List, { children: o })
718
720
  })
719
721
  }) });
720
722
  }
721
- Ie.displayName = "SelectContent";
722
- function Le({ className: e, children: r, ...i }) {
723
+ ze.displayName = "SelectContent";
724
+ function Be({ className: e, children: r, ...i }) {
723
725
  return /* @__PURE__ */ n(d.Item, {
724
726
  "data-pharos-slot": "select-item",
725
- className: x(q.item, e),
727
+ className: C(K.item, e),
726
728
  ...i,
727
729
  children: [/* @__PURE__ */ t(d.ItemText, {
728
- className: q.itemText,
730
+ className: K.itemText,
729
731
  children: r
730
732
  }), /* @__PURE__ */ t(d.ItemIndicator, {
731
- className: q.itemIndicator,
732
- children: /* @__PURE__ */ t(Me, {})
733
+ className: K.itemIndicator,
734
+ children: /* @__PURE__ */ t(Fe, {})
733
735
  })]
734
736
  });
735
737
  }
736
- Le.displayName = "SelectItem";
737
- function Re(e) {
738
+ Be.displayName = "SelectItem";
739
+ function Ve(e) {
738
740
  return /* @__PURE__ */ t(d.Group, {
739
741
  "data-pharos-slot": "select-group",
740
742
  ...e
741
743
  });
742
744
  }
743
- Re.displayName = "SelectGroup";
744
- function ze({ className: e, ...n }) {
745
+ Ve.displayName = "SelectGroup";
746
+ function He({ className: e, ...n }) {
745
747
  return /* @__PURE__ */ t(d.GroupLabel, {
746
748
  "data-pharos-slot": "select-label",
747
- className: x(q.label, e),
749
+ className: C(K.label, e),
748
750
  ...n
749
751
  });
750
752
  }
751
- ze.displayName = "SelectLabel";
752
- function Be({ className: e, ...n }) {
753
+ He.displayName = "SelectLabel";
754
+ function Ue({ className: e, ...n }) {
753
755
  return /* @__PURE__ */ t(d.Separator, {
754
756
  "data-pharos-slot": "select-separator",
755
757
  role: "none",
756
758
  "aria-hidden": !0,
757
- className: x(q.separator, e),
759
+ className: C(K.separator, e),
758
760
  ...n
759
761
  });
760
762
  }
761
- Be.displayName = "SelectSeparator";
762
- var J = {
763
+ Ue.displayName = "SelectSeparator";
764
+ var q = {
763
765
  control: "_control_1dd5w_5",
764
766
  chips: "_chips_1dd5w_61",
765
767
  input: "_input_1dd5w_70",
@@ -779,19 +781,19 @@ var J = {
779
781
  empty: "_empty_1dd5w_294",
780
782
  label: "_label_1dd5w_304",
781
783
  separator: "_separator_1dd5w_311"
782
- }, Y = r(null);
783
- function Ve(e) {
784
+ }, J = r(null);
785
+ function We(e) {
784
786
  let [n, r] = c(null), i = s(() => ({
785
787
  anchorElement: n,
786
788
  setAnchorElement: r
787
789
  }), [n]);
788
- return /* @__PURE__ */ t(Y.Provider, {
790
+ return /* @__PURE__ */ t(J.Provider, {
789
791
  value: i,
790
792
  children: /* @__PURE__ */ t(f.Root, { ...e })
791
793
  });
792
794
  }
793
- Ve.displayName = "Combobox";
794
- function He() {
795
+ We.displayName = "Combobox";
796
+ function Ge() {
795
797
  return /* @__PURE__ */ t("svg", {
796
798
  viewBox: "0 0 24 24",
797
799
  fill: "none",
@@ -805,7 +807,7 @@ function He() {
805
807
  })
806
808
  });
807
809
  }
808
- function Ue() {
810
+ function Ke() {
809
811
  return /* @__PURE__ */ t("svg", {
810
812
  viewBox: "0 0 24 24",
811
813
  fill: "none",
@@ -819,7 +821,7 @@ function Ue() {
819
821
  })
820
822
  });
821
823
  }
822
- function We() {
824
+ function qe() {
823
825
  return /* @__PURE__ */ t("svg", {
824
826
  viewBox: "0 0 24 24",
825
827
  fill: "none",
@@ -833,84 +835,84 @@ function We() {
833
835
  })
834
836
  });
835
837
  }
836
- function Ge({ className: e, ...n }) {
838
+ function Je({ className: e, ...n }) {
837
839
  return /* @__PURE__ */ t(f.InputGroup, {
838
840
  "data-pharos-slot": "combobox-control",
839
- className: x(J.control, e),
841
+ className: C(q.control, e),
840
842
  ...n
841
843
  });
842
844
  }
843
- Ge.displayName = "ComboboxControl";
844
- function Ke({ className: e, ref: n, ...r }) {
845
- let o = a(Y), s = i((e) => {
845
+ Je.displayName = "ComboboxControl";
846
+ function Ye({ className: e, ref: n, ...r }) {
847
+ let o = a(J), s = i((e) => {
846
848
  o?.setAnchorElement(e), typeof n == "function" ? n(e) : n && (n.current = e);
847
849
  }, [o, n]);
848
850
  return /* @__PURE__ */ t(f.Chips, {
849
851
  "data-pharos-slot": "combobox-chips",
850
- className: x(J.control, J.chips, e),
852
+ className: C(q.control, q.chips, e),
851
853
  ref: s,
852
854
  ...r
853
855
  });
854
856
  }
855
- Ke.displayName = "ComboboxChips";
856
- var qe = b(J.input, {
857
+ Ye.displayName = "ComboboxChips";
858
+ var Xe = S(q.input, {
857
859
  variants: { size: {
858
- sm: J.inputSizeSm,
859
- md: J.inputSizeMd,
860
- lg: J.inputSizeLg
860
+ sm: q.inputSizeSm,
861
+ md: q.inputSizeMd,
862
+ lg: q.inputSizeLg
861
863
  } },
862
864
  defaultVariants: { size: "md" }
863
865
  });
864
- function Je({ size: e, inset: n = !1, className: r, ...i }) {
866
+ function Ze({ size: e, inset: n = !1, className: r, ...i }) {
865
867
  let a = e ?? "md";
866
868
  return /* @__PURE__ */ t(f.Input, {
867
869
  "data-pharos-slot": "combobox-input",
868
870
  "data-pharos-size": a,
869
- className: x(n ? x(J.input, J.chipsInput) : qe({ size: a }), r),
871
+ className: C(n ? C(q.input, q.chipsInput) : Xe({ size: a }), r),
870
872
  ...i
871
873
  });
872
874
  }
873
- Je.displayName = "ComboboxInput";
874
- function Ye({ className: e, children: n, ...r }) {
875
+ Ze.displayName = "ComboboxInput";
876
+ function Qe({ className: e, children: n, ...r }) {
875
877
  return /* @__PURE__ */ t(f.Trigger, {
876
878
  "data-pharos-slot": "combobox-trigger",
877
- className: x(J.trigger, e),
879
+ className: C(q.trigger, e),
878
880
  ...r,
879
- children: n ?? /* @__PURE__ */ t(He, {})
881
+ children: n ?? /* @__PURE__ */ t(Ge, {})
880
882
  });
881
883
  }
882
- Ye.displayName = "ComboboxTrigger";
883
- function Xe({ className: e, children: n, ...r }) {
884
+ Qe.displayName = "ComboboxTrigger";
885
+ function $e({ className: e, children: n, ...r }) {
884
886
  return /* @__PURE__ */ t(f.Clear, {
885
887
  "data-pharos-slot": "combobox-clear",
886
- className: x(J.clear, e),
888
+ className: C(q.clear, e),
887
889
  ...r,
888
- children: n ?? /* @__PURE__ */ t(We, {})
890
+ children: n ?? /* @__PURE__ */ t(qe, {})
889
891
  });
890
892
  }
891
- Xe.displayName = "ComboboxClear";
892
- function Ze({ className: e, ...n }) {
893
+ $e.displayName = "ComboboxClear";
894
+ function et({ className: e, ...n }) {
893
895
  return /* @__PURE__ */ t(f.Chip, {
894
896
  "data-pharos-slot": "combobox-chip",
895
- className: x(J.chip, e),
897
+ className: C(q.chip, e),
896
898
  ...n
897
899
  });
898
900
  }
899
- Ze.displayName = "ComboboxChip";
900
- function Qe({ className: e, children: n, "aria-label": r = "Remove", ...i }) {
901
+ et.displayName = "ComboboxChip";
902
+ function tt({ className: e, children: n, "aria-label": r = "Remove", ...i }) {
901
903
  return /* @__PURE__ */ t(f.ChipRemove, {
902
904
  "data-pharos-slot": "combobox-chip-remove",
903
905
  "aria-label": r,
904
- className: x(J.chipRemove, e),
906
+ className: C(q.chipRemove, e),
905
907
  ...i,
906
- children: n ?? /* @__PURE__ */ t(We, {})
908
+ children: n ?? /* @__PURE__ */ t(qe, {})
907
909
  });
908
910
  }
909
- Qe.displayName = "ComboboxChipRemove";
910
- function $e({ side: e = "bottom", align: n = "start", sideOffset: r = 8, alignOffset: i = 0, className: o, children: s, ...c }) {
911
- let l = a(Y)?.anchorElement ?? void 0;
911
+ tt.displayName = "ComboboxChipRemove";
912
+ function nt({ side: e = "bottom", align: n = "start", sideOffset: r = 8, alignOffset: i = 0, className: o, children: s, ...c }) {
913
+ let l = a(J)?.anchorElement ?? void 0;
912
914
  return /* @__PURE__ */ t(f.Portal, { children: /* @__PURE__ */ t(f.Positioner, {
913
- className: J.positioner,
915
+ className: q.positioner,
914
916
  anchor: l,
915
917
  side: e,
916
918
  align: n,
@@ -918,68 +920,68 @@ function $e({ side: e = "bottom", align: n = "start", sideOffset: r = 8, alignOf
918
920
  alignOffset: i,
919
921
  children: /* @__PURE__ */ t(f.Popup, {
920
922
  "data-pharos-slot": "combobox-content",
921
- className: x(J.content, o),
923
+ className: C(q.content, o),
922
924
  ...c,
923
925
  children: s
924
926
  })
925
927
  }) });
926
928
  }
927
- $e.displayName = "ComboboxContent";
928
- function et({ className: e, ...n }) {
929
+ nt.displayName = "ComboboxContent";
930
+ function rt({ className: e, ...n }) {
929
931
  return /* @__PURE__ */ t(f.List, {
930
932
  "data-pharos-slot": "combobox-list",
931
933
  className: e,
932
934
  ...n
933
935
  });
934
936
  }
935
- et.displayName = "ComboboxList";
936
- function tt({ className: e, children: r, ...i }) {
937
+ rt.displayName = "ComboboxList";
938
+ function it({ className: e, children: r, ...i }) {
937
939
  return /* @__PURE__ */ n(f.Item, {
938
940
  "data-pharos-slot": "combobox-item",
939
- className: x(J.item, e),
941
+ className: C(q.item, e),
940
942
  ...i,
941
943
  children: [/* @__PURE__ */ t("span", {
942
- className: J.itemText,
944
+ className: q.itemText,
943
945
  children: r
944
946
  }), /* @__PURE__ */ t(f.ItemIndicator, {
945
- className: J.itemIndicator,
946
- children: /* @__PURE__ */ t(Ue, {})
947
+ className: q.itemIndicator,
948
+ children: /* @__PURE__ */ t(Ke, {})
947
949
  })]
948
950
  });
949
951
  }
950
- tt.displayName = "ComboboxItem";
951
- function nt({ className: e, ...n }) {
952
+ it.displayName = "ComboboxItem";
953
+ function at({ className: e, ...n }) {
952
954
  return /* @__PURE__ */ t(f.Empty, {
953
955
  "data-pharos-slot": "combobox-empty",
954
- className: x(J.empty, e),
956
+ className: C(q.empty, e),
955
957
  ...n
956
958
  });
957
959
  }
958
- nt.displayName = "ComboboxEmpty";
959
- function rt(e) {
960
+ at.displayName = "ComboboxEmpty";
961
+ function ot(e) {
960
962
  return /* @__PURE__ */ t(f.Group, {
961
963
  "data-pharos-slot": "combobox-group",
962
964
  ...e
963
965
  });
964
966
  }
965
- rt.displayName = "ComboboxGroup";
966
- function it({ className: e, ...n }) {
967
+ ot.displayName = "ComboboxGroup";
968
+ function st({ className: e, ...n }) {
967
969
  return /* @__PURE__ */ t(f.GroupLabel, {
968
970
  "data-pharos-slot": "combobox-group-label",
969
- className: x(J.label, e),
971
+ className: C(q.label, e),
970
972
  ...n
971
973
  });
972
974
  }
973
- it.displayName = "ComboboxGroupLabel";
974
- function at({ className: e, ...n }) {
975
+ st.displayName = "ComboboxGroupLabel";
976
+ function ct({ className: e, ...n }) {
975
977
  return /* @__PURE__ */ t(f.Separator, {
976
978
  "data-pharos-slot": "combobox-separator",
977
- className: x(J.separator, e),
979
+ className: C(q.separator, e),
978
980
  ...n
979
981
  });
980
982
  }
981
- at.displayName = "ComboboxSeparator";
982
- var X = {
983
+ ct.displayName = "ComboboxSeparator";
984
+ var Y = {
983
985
  backdrop: "_backdrop_1pbfd_21",
984
986
  content: "_content_1pbfd_37",
985
987
  sideRight: "_sideRight_1pbfd_60",
@@ -993,72 +995,72 @@ var X = {
993
995
  };
994
996
  //#endregion
995
997
  //#region src/components/Sheet.tsx
996
- function ot(e) {
998
+ function lt(e) {
997
999
  return /* @__PURE__ */ t(p.Root, { ...e });
998
1000
  }
999
- ot.displayName = "Sheet";
1000
- function st(e) {
1001
+ lt.displayName = "Sheet";
1002
+ function ut(e) {
1001
1003
  return /* @__PURE__ */ t(p.Trigger, { ...e });
1002
1004
  }
1003
- st.displayName = "SheetTrigger";
1004
- var ct = b(X.content, {
1005
+ ut.displayName = "SheetTrigger";
1006
+ var dt = S(Y.content, {
1005
1007
  variants: { side: {
1006
- top: X.sideTop,
1007
- right: X.sideRight,
1008
- bottom: X.sideBottom,
1009
- left: X.sideLeft
1008
+ top: Y.sideTop,
1009
+ right: Y.sideRight,
1010
+ bottom: Y.sideBottom,
1011
+ left: Y.sideLeft
1010
1012
  } },
1011
1013
  defaultVariants: { side: "right" }
1012
1014
  });
1013
- function lt({ side: e = "right", className: r, children: i, ...a }) {
1014
- return /* @__PURE__ */ n(p.Portal, { children: [/* @__PURE__ */ t(p.Backdrop, { className: X.backdrop }), /* @__PURE__ */ t(p.Popup, {
1015
+ function ft({ side: e = "right", className: r, children: i, ...a }) {
1016
+ return /* @__PURE__ */ n(p.Portal, { children: [/* @__PURE__ */ t(p.Backdrop, { className: Y.backdrop }), /* @__PURE__ */ t(p.Popup, {
1015
1017
  "data-pharos-slot": "sheet-content",
1016
1018
  "data-pharos-side": e ?? "right",
1017
- className: x(ct({ side: e }), r),
1019
+ className: C(dt({ side: e }), r),
1018
1020
  ...a,
1019
1021
  children: i
1020
1022
  })] });
1021
1023
  }
1022
- lt.displayName = "SheetContent";
1023
- function ut({ className: e, ...n }) {
1024
+ ft.displayName = "SheetContent";
1025
+ function pt({ className: e, ...n }) {
1024
1026
  return /* @__PURE__ */ t("div", {
1025
1027
  "data-pharos-slot": "sheet-header",
1026
- className: x(X.header, e),
1028
+ className: C(Y.header, e),
1027
1029
  ...n
1028
1030
  });
1029
1031
  }
1030
- ut.displayName = "SheetHeader";
1031
- function dt({ className: e, ...n }) {
1032
+ pt.displayName = "SheetHeader";
1033
+ function mt({ className: e, ...n }) {
1032
1034
  return /* @__PURE__ */ t(p.Title, {
1033
1035
  "data-pharos-slot": "sheet-title",
1034
- className: x(X.title, e),
1036
+ className: C(Y.title, e),
1035
1037
  ...n
1036
1038
  });
1037
1039
  }
1038
- dt.displayName = "SheetTitle";
1039
- function ft({ className: e, ...n }) {
1040
+ mt.displayName = "SheetTitle";
1041
+ function X({ className: e, ...n }) {
1040
1042
  return /* @__PURE__ */ t(p.Description, {
1041
1043
  "data-pharos-slot": "sheet-description",
1042
- className: x(X.description, e),
1044
+ className: C(Y.description, e),
1043
1045
  ...n
1044
1046
  });
1045
1047
  }
1046
- ft.displayName = "SheetDescription";
1047
- function pt({ className: e, ...n }) {
1048
+ X.displayName = "SheetDescription";
1049
+ function ht({ className: e, ...n }) {
1048
1050
  return /* @__PURE__ */ t("div", {
1049
1051
  "data-pharos-slot": "sheet-footer",
1050
- className: x(X.footer, e),
1052
+ className: C(Y.footer, e),
1051
1053
  ...n
1052
1054
  });
1053
1055
  }
1054
- pt.displayName = "SheetFooter";
1055
- function mt(e) {
1056
+ ht.displayName = "SheetFooter";
1057
+ function gt(e) {
1056
1058
  return /* @__PURE__ */ t(p.Close, {
1057
1059
  "data-pharos-slot": "sheet-close",
1058
1060
  ...e
1059
1061
  });
1060
1062
  }
1061
- mt.displayName = "SheetClose";
1063
+ gt.displayName = "SheetClose";
1062
1064
  var Z = {
1063
1065
  backdrop: "_backdrop_mozml_18",
1064
1066
  content: "_content_mozml_32",
@@ -1069,63 +1071,63 @@ var Z = {
1069
1071
  };
1070
1072
  //#endregion
1071
1073
  //#region src/components/Dialog.tsx
1072
- function ht(e) {
1074
+ function _t(e) {
1073
1075
  return /* @__PURE__ */ t(p.Root, { ...e });
1074
1076
  }
1075
- ht.displayName = "Dialog";
1076
- function gt(e) {
1077
+ _t.displayName = "Dialog";
1078
+ function vt(e) {
1077
1079
  return /* @__PURE__ */ t(p.Trigger, { ...e });
1078
1080
  }
1079
- gt.displayName = "DialogTrigger";
1080
- function _t({ className: e, children: r, ...i }) {
1081
+ vt.displayName = "DialogTrigger";
1082
+ function yt({ className: e, children: r, ...i }) {
1081
1083
  return /* @__PURE__ */ n(p.Portal, { children: [/* @__PURE__ */ t(p.Backdrop, { className: Z.backdrop }), /* @__PURE__ */ t(p.Popup, {
1082
1084
  "data-pharos-slot": "dialog-content",
1083
- className: x(Z.content, e),
1085
+ className: C(Z.content, e),
1084
1086
  ...i,
1085
1087
  children: r
1086
1088
  })] });
1087
1089
  }
1088
- _t.displayName = "DialogContent";
1089
- function vt({ className: e, ...n }) {
1090
+ yt.displayName = "DialogContent";
1091
+ function bt({ className: e, ...n }) {
1090
1092
  return /* @__PURE__ */ t("div", {
1091
1093
  "data-pharos-slot": "dialog-header",
1092
- className: x(Z.header, e),
1094
+ className: C(Z.header, e),
1093
1095
  ...n
1094
1096
  });
1095
1097
  }
1096
- vt.displayName = "DialogHeader";
1097
- function yt({ className: e, ...n }) {
1098
+ bt.displayName = "DialogHeader";
1099
+ function xt({ className: e, ...n }) {
1098
1100
  return /* @__PURE__ */ t(p.Title, {
1099
1101
  "data-pharos-slot": "dialog-title",
1100
- className: x(Z.title, e),
1102
+ className: C(Z.title, e),
1101
1103
  ...n
1102
1104
  });
1103
1105
  }
1104
- yt.displayName = "DialogTitle";
1105
- function Q({ className: e, ...n }) {
1106
+ xt.displayName = "DialogTitle";
1107
+ function St({ className: e, ...n }) {
1106
1108
  return /* @__PURE__ */ t(p.Description, {
1107
1109
  "data-pharos-slot": "dialog-description",
1108
- className: x(Z.description, e),
1110
+ className: C(Z.description, e),
1109
1111
  ...n
1110
1112
  });
1111
1113
  }
1112
- Q.displayName = "DialogDescription";
1113
- function bt({ className: e, ...n }) {
1114
+ St.displayName = "DialogDescription";
1115
+ function Ct({ className: e, ...n }) {
1114
1116
  return /* @__PURE__ */ t("div", {
1115
1117
  "data-pharos-slot": "dialog-footer",
1116
- className: x(Z.footer, e),
1118
+ className: C(Z.footer, e),
1117
1119
  ...n
1118
1120
  });
1119
1121
  }
1120
- bt.displayName = "DialogFooter";
1121
- function xt(e) {
1122
+ Ct.displayName = "DialogFooter";
1123
+ function wt(e) {
1122
1124
  return /* @__PURE__ */ t(p.Close, {
1123
1125
  "data-pharos-slot": "dialog-close",
1124
1126
  ...e
1125
1127
  });
1126
1128
  }
1127
- xt.displayName = "DialogClose";
1128
- var $ = {
1129
+ wt.displayName = "DialogClose";
1130
+ var Q = {
1129
1131
  root: "_root_1v9tz_14",
1130
1132
  indicator: "_indicator_1v9tz_65",
1131
1133
  icon: "_icon_1v9tz_72",
@@ -1134,9 +1136,9 @@ var $ = {
1134
1136
  };
1135
1137
  //#endregion
1136
1138
  //#region src/components/Checkbox.tsx
1137
- function St() {
1139
+ function Tt() {
1138
1140
  return /* @__PURE__ */ t("svg", {
1139
- className: x($.icon, $.iconCheck),
1141
+ className: C(Q.icon, Q.iconCheck),
1140
1142
  viewBox: "0 0 24 24",
1141
1143
  fill: "none",
1142
1144
  stroke: "currentColor",
@@ -1147,9 +1149,9 @@ function St() {
1147
1149
  children: /* @__PURE__ */ t("path", { d: "M20 6 9 17l-5-5" })
1148
1150
  });
1149
1151
  }
1150
- function Ct() {
1152
+ function Et() {
1151
1153
  return /* @__PURE__ */ t("svg", {
1152
- className: x($.icon, $.iconIndeterminate),
1154
+ className: C(Q.icon, Q.iconIndeterminate),
1153
1155
  viewBox: "0 0 24 24",
1154
1156
  fill: "none",
1155
1157
  stroke: "currentColor",
@@ -1159,34 +1161,58 @@ function Ct() {
1159
1161
  children: /* @__PURE__ */ t("path", { d: "M5 12h14" })
1160
1162
  });
1161
1163
  }
1162
- function wt({ className: e, ...r }) {
1164
+ function Dt({ className: e, ...r }) {
1163
1165
  return /* @__PURE__ */ t(m.Root, {
1164
1166
  "data-pharos-slot": "checkbox",
1165
- className: x($.root, e),
1167
+ className: C(Q.root, e),
1166
1168
  ...r,
1167
1169
  children: /* @__PURE__ */ n(m.Indicator, {
1168
- className: $.indicator,
1169
- children: [/* @__PURE__ */ t(St, {}), /* @__PURE__ */ t(Ct, {})]
1170
+ className: Q.indicator,
1171
+ children: [/* @__PURE__ */ t(Tt, {}), /* @__PURE__ */ t(Et, {})]
1170
1172
  })
1171
1173
  });
1172
1174
  }
1173
- wt.displayName = "Checkbox";
1174
- var Tt = {
1175
+ Dt.displayName = "Checkbox";
1176
+ var Ot = {
1175
1177
  root: "_root_5v2er_17",
1176
1178
  thumb: "_thumb_5v2er_72"
1177
1179
  };
1178
1180
  //#endregion
1179
1181
  //#region src/components/Switch.tsx
1180
- function Et({ className: e, ...n }) {
1182
+ function kt({ className: e, ...n }) {
1181
1183
  return /* @__PURE__ */ t(h.Root, {
1182
1184
  "data-pharos-slot": "switch",
1183
- className: x(Tt.root, e),
1185
+ className: C(Ot.root, e),
1186
+ ...n,
1187
+ children: /* @__PURE__ */ t(h.Thumb, { className: Ot.thumb })
1188
+ });
1189
+ }
1190
+ kt.displayName = "Switch";
1191
+ var $ = {
1192
+ group: "_group_rsllu_18",
1193
+ item: "_item_rsllu_24",
1194
+ indicator: "_indicator_rsllu_75"
1195
+ };
1196
+ //#endregion
1197
+ //#region src/components/RadioGroup.tsx
1198
+ function At({ className: e, ...n }) {
1199
+ return /* @__PURE__ */ t(g, {
1200
+ "data-pharos-slot": "radio-group",
1201
+ className: C($.group, e),
1202
+ ...n
1203
+ });
1204
+ }
1205
+ At.displayName = "RadioGroup";
1206
+ function jt({ className: e, ...n }) {
1207
+ return /* @__PURE__ */ t(_.Root, {
1208
+ "data-pharos-slot": "radio-group-item",
1209
+ className: C($.item, e),
1184
1210
  ...n,
1185
- children: /* @__PURE__ */ t(h.Thumb, { className: Tt.thumb })
1211
+ children: /* @__PURE__ */ t(_.Indicator, { className: $.indicator })
1186
1212
  });
1187
1213
  }
1188
- Et.displayName = "Switch";
1214
+ jt.displayName = "RadioGroupItem";
1189
1215
  //#endregion
1190
- export { H as Avatar, W as AvatarFallback, ge as AvatarGroup, U as AvatarImage, A as Badge, w as Button, ue as Card, L as CardContent, I as CardDescription, R as CardFooter, P as CardHeader, F as CardTitle, wt as Checkbox, Ve as Combobox, Ze as ComboboxChip, Qe as ComboboxChipRemove, Ke as ComboboxChips, Xe as ComboboxClear, $e as ComboboxContent, Ge as ComboboxControl, nt as ComboboxEmpty, rt as ComboboxGroup, it as ComboboxGroupLabel, Je as ComboboxInput, tt as ComboboxItem, et as ComboboxList, at as ComboboxSeparator, Ye as ComboboxTrigger, ht as Dialog, xt as DialogClose, _t as DialogContent, Q as DialogDescription, bt as DialogFooter, vt as DialogHeader, yt as DialogTitle, gt as DialogTrigger, _e as DropdownMenu, ye as DropdownMenuContent, Ce as DropdownMenuGroup, be as DropdownMenuItem, Se as DropdownMenuLabel, xe as DropdownMenuSeparator, ve as DropdownMenuTrigger, ne as IconButton, ie as Input, we as Popover, ke as PopoverClose, Ee as PopoverContent, Oe as PopoverDescription, De as PopoverTitle, Te as PopoverTrigger, Ae as Select, Ie as SelectContent, Re as SelectGroup, Le as SelectItem, ze as SelectLabel, Be as SelectSeparator, Pe as SelectTrigger, Fe as SelectValue, ce as Separator, ot as Sheet, mt as SheetClose, lt as SheetContent, ft as SheetDescription, pt as SheetFooter, ut as SheetHeader, dt as SheetTitle, st as SheetTrigger, E as Spinner, Et as Switch, oe as Textarea, k as badgeVariants, C as buttonVariants, le as cardVariants, x as cn, te as iconButtonVariants, re as inputVariants, ct as sheetVariants, ee as spinnerVariants, ae as textareaVariants };
1216
+ export { H as Avatar, U as AvatarFallback, ye as AvatarGroup, ve as AvatarImage, ie as Badge, te as Button, fe as Card, L as CardContent, I as CardDescription, R as CardFooter, P as CardHeader, F as CardTitle, Dt as Checkbox, We as Combobox, et as ComboboxChip, tt as ComboboxChipRemove, Ye as ComboboxChips, $e as ComboboxClear, nt as ComboboxContent, Je as ComboboxControl, at as ComboboxEmpty, ot as ComboboxGroup, st as ComboboxGroupLabel, Ze as ComboboxInput, it as ComboboxItem, rt as ComboboxList, ct as ComboboxSeparator, Qe as ComboboxTrigger, _t as Dialog, wt as DialogClose, yt as DialogContent, St as DialogDescription, Ct as DialogFooter, bt as DialogHeader, xt as DialogTitle, vt as DialogTrigger, be as DropdownMenu, Se as DropdownMenuContent, Ee as DropdownMenuGroup, Ce as DropdownMenuItem, Te as DropdownMenuLabel, we as DropdownMenuSeparator, xe as DropdownMenuTrigger, k as IconButton, oe as Input, De as Popover, Me as PopoverClose, ke as PopoverContent, je as PopoverDescription, Ae as PopoverTitle, Oe as PopoverTrigger, At as RadioGroup, jt as RadioGroupItem, Ne as Select, ze as SelectContent, Ve as SelectGroup, Be as SelectItem, He as SelectLabel, Ue as SelectSeparator, Le as SelectTrigger, Re as SelectValue, ue as Separator, lt as Sheet, gt as SheetClose, ft as SheetContent, X as SheetDescription, ht as SheetFooter, pt as SheetHeader, mt as SheetTitle, ut as SheetTrigger, D as Spinner, kt as Switch, ce as Textarea, re as badgeVariants, ee as buttonVariants, de as cardVariants, C as cn, ne as iconButtonVariants, ae as inputVariants, dt as sheetVariants, E as spinnerVariants, se as textareaVariants };
1191
1217
 
1192
1218
  //# sourceMappingURL=index.js.map