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