@code-sherpas/pharos-react 0.17.0 → 0.19.0

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