@dlbcodes/ui 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -26,26 +26,23 @@ var qe = j([
26
26
  "active:not-aria-[haspopup]:translate-y-px",
27
27
  "disabled:pointer-events-none",
28
28
  "disabled:opacity-50",
29
- "aria-disabled:pointer-events-none",
30
- "aria-disabled:opacity-50",
31
29
  "focus-visible:outline-none",
32
30
  "focus-visible:ring-2",
33
31
  "focus-visible:ring-offset-2",
34
- "focus-visible:ring-ring",
35
- "focus-visible:ring-offset-background",
32
+ "focus-visible:ring-border-strong",
36
33
  "[&_svg]:pointer-events-none",
37
34
  "[&_svg]:shrink-0",
38
35
  "[&_svg:not([class*='size-'])]:size-4"
39
36
  ].join(" "), {
40
37
  variants: {
41
38
  variant: {
42
- primary: "border border-brand bg-brand text-brand-foreground hover:brightness-110",
43
- secondary: "border border-border bg-background text-foreground hover:bg-accent aria-expanded:bg-accent",
44
- destructive: "border border-destructive bg-destructive text-destructive-foreground hover:brightness-110",
45
- outline: "border border-border bg-transparent text-muted-foreground hover:bg-accent hover:text-accent-foreground aria-expanded:bg-accent aria-expanded:text-accent-foreground",
46
- ghost: "text-foreground hover:bg-accent aria-expanded:bg-accent",
47
- link: "inline-flex text-brand underline-offset-4 hover:underline",
48
- icon: "relative inline-grid place-items-center text-muted-foreground hover:bg-accent hover:text-accent-foreground aria-expanded:bg-accent aria-expanded:text-accent-foreground"
39
+ primary: "border border-brand-200 bg-brand-200 text-text-inverse hover:brightness-110",
40
+ secondary: "border border-border-default bg-bg-base text-text-primary hover:bg-bg-subtle aria-expanded:bg-bg-subtle",
41
+ destructive: "border border-danger-text bg-danger-text text-text-inverse hover:brightness-110",
42
+ outline: "border border-border-default bg-transparent text-text-secondary hover:bg-bg-subtle hover:text-text-primary aria-expanded:bg-bg-subtle aria-expanded:text-text-primary",
43
+ ghost: "text-text-primary hover:bg-bg-subtle aria-expanded:bg-bg-subtle",
44
+ link: "inline-flex text-brand-200 hover:underline",
45
+ icon: "relative inline-grid place-items-center text-text-secondary hover:bg-bg-subtle aria-expanded:bg-bg-subtle aria-expanded:text-text-primary"
49
46
  },
50
47
  size: {
51
48
  xl: "h-14 rounded-xl px-6 text-base",
@@ -78,7 +75,7 @@ var qe = j([
78
75
  setup(e) {
79
76
  let t = e;
80
77
  return (n, r) => (b(), o("span", Je, [(b(), o("svg", {
81
- class: h(D(F)("size-6 animate-spin text-muted-foreground/70", t.class)),
78
+ class: h(D(F)("size-6 animate-spin text-text-tertiary", t.class)),
82
79
  xmlns: "http://www.w3.org/2000/svg",
83
80
  fill: "none",
84
81
  viewBox: "0 0 24 24",
@@ -155,7 +152,7 @@ var qe = j([
155
152
  "shrink-0",
156
153
  "overflow-hidden",
157
154
  "whitespace-nowrap",
158
- "rounded-sm",
155
+ "rounded",
159
156
  "border",
160
157
  "px-2",
161
158
  "py-0.5",
@@ -167,13 +164,13 @@ var qe = j([
167
164
  "[&>svg]:size-3"
168
165
  ].join(" "), {
169
166
  variants: { variant: {
170
- success: "border-success-border bg-success-subtle text-success",
171
- warning: "border-warning-border bg-warning-subtle text-warning",
172
- info: "border-info-border bg-info-subtle text-info",
173
- destructive: "border-destructive-border bg-destructive-subtle text-destructive",
174
- neutral: "border-border bg-secondary text-secondary-foreground",
175
- primary: "border-brand bg-brand text-brand-foreground",
176
- outline: "border-border bg-transparent text-muted-foreground"
167
+ success: "border-success-border bg-success-surface text-success-text",
168
+ pending: "border-warning-border bg-warning-surface text-warning-text",
169
+ info: "border-info-border bg-info-surface text-info-text",
170
+ destructive: "border-danger-border bg-danger-surface text-danger-text",
171
+ neutral: "border-border-default bg-bg-subtle text-text-secondary",
172
+ primary: "border-brand-200 bg-brand-200 text-text-inverse",
173
+ outline: "border-border-default bg-transparent text-text-secondary"
177
174
  } },
178
175
  defaultVariants: { variant: "neutral" }
179
176
  }), $e = /* @__PURE__ */ u({
@@ -199,41 +196,42 @@ var qe = j([
199
196
  "justify-center",
200
197
  "w-full",
201
198
  "uppercase",
202
- "text-foreground",
203
- "bg-muted",
199
+ "text-text-primary",
200
+ "bg-bg-surface",
204
201
  "border",
205
- "border-border",
202
+ "border-border-default",
206
203
  "overflow-hidden"
207
204
  ].join(" "), [
208
205
  "*:overflow-hidden",
209
- "*:bg-card",
206
+ "*:bg-white",
210
207
  "*:shadow-xs",
208
+ "*:rounded-2xl",
209
+ "*:dark:bg-dark-950",
211
210
  "*:dark:border",
212
- "*:dark:border-background",
213
- "*:dark:shadow-[inset_-1px_1px_2px_0px_oklch(1_0_0/15%)]"
211
+ "*:dark:border-black",
212
+ "*:dark:shadow-[inset_-1px_1px_2px_0px_rgba(71,71,71,0.56)]"
214
213
  ].join(" ")].join(" "), {
215
214
  variants: { size: {
216
- "10xl": "text-3xl size-30 xl:size-40 p-1 rounded-3xl *:rounded-[calc(var(--radius)*2.2-0.25rem)]",
217
- "9xl": "text-3xl size-30 p-1 rounded-3xl *:rounded-[calc(var(--radius)*2.2-0.25rem)]",
218
- "8xl": "text-3xl size-28 p-1 rounded-3xl *:rounded-[calc(var(--radius)*2.2-0.25rem)]",
219
- "7xl": "text-3xl size-26 p-1 rounded-3xl *:rounded-[calc(var(--radius)*2.2-0.25rem)]",
220
- "6xl": "text-3xl size-24 p-1 rounded-3xl *:rounded-[calc(var(--radius)*2.2-0.25rem)]",
221
- "5xl": "text-3xl size-22 p-1 rounded-3xl *:rounded-[calc(var(--radius)*2.2-0.25rem)]",
222
- "4xl": "text-4xl size-20 p-1 rounded-3xl *:rounded-[calc(var(--radius)*2.2-0.25rem)]",
223
- "3xl": "text-xl size-18 p-1 rounded-2xl *:rounded-[calc(var(--radius)*1.8-0.25rem)]",
224
- "2xl": "size-16 rounded-xl *:rounded-[calc(var(--radius)*1.4-1px)]",
225
- xl: "size-14 rounded-xl *:rounded-[calc(var(--radius)*1.4-1px)]",
226
- lg: "size-12 p-0.5 rounded-xl *:rounded-[calc(var(--radius)*1.4-0.125rem)]",
227
- base: "size-10 rounded-xl *:rounded-[calc(var(--radius)*1.4-1px)]",
228
- sm: "size-8 rounded-xl *:rounded-[calc(var(--radius)*1.4-1px)]",
229
- xs: "size-6 rounded-md *:rounded-[calc(var(--radius)*0.8-1px)]"
215
+ "10xl": "text-3xl size-30 xl:size-40 p-1 rounded-3xl *:rounded-[20px]",
216
+ "9xl": "text-3xl size-30 p-1 rounded-3xl *:rounded-[20px]",
217
+ "8xl": "text-3xl size-28 p-1 rounded-3xl *:rounded-[20px]",
218
+ "7xl": "text-3xl size-26 p-1 rounded-3xl *:rounded-[20px]",
219
+ "6xl": "text-3xl size-24 p-1 rounded-3xl *:rounded-[20px]",
220
+ "5xl": "text-3xl size-22 p-1 rounded-3xl *:rounded-[20px]",
221
+ "4xl": "text-4xl size-20 p-1 rounded-3xl *:rounded-[20px]",
222
+ "3xl": "text-xl size-18 p-1 rounded-2xl *:rounded-xl",
223
+ "2xl": "size-16",
224
+ xl: "size-14 rounded-xl *:rounded-[10px]",
225
+ lg: "size-12 p-0.5 rounded-xl *:rounded-[10px]",
226
+ base: "size-10 rounded-xl *:rounded-[10px]",
227
+ sm: "size-8 rounded-xl *:rounded-[10px]",
228
+ xs: "size-6 rounded-md"
230
229
  } },
231
230
  defaultVariants: { size: "base" }
232
- }), tt = ["src", "alt"], nt = [
233
- "role",
234
- "aria-label",
235
- "aria-hidden"
236
- ], rt = /* @__PURE__ */ u({
231
+ }), tt = ["src", "alt"], nt = {
232
+ key: 1,
233
+ class: "flex size-full items-center justify-center"
234
+ }, rt = /* @__PURE__ */ u({
237
235
  __name: "Avatar",
238
236
  props: {
239
237
  size: { default: "base" },
@@ -248,29 +246,16 @@ var qe = j([
248
246
  ] }
249
247
  },
250
248
  setup(e) {
251
- let t = e, n = r(() => t.name?.trim() || ""), i = r(() => {
252
- let e = Array.from(n.value)[0];
253
- return e ? e.toUpperCase() : "?";
254
- }), a = S(!1);
255
- k(() => t.src, () => {
256
- a.value = !1;
257
- });
258
- let s = r(() => !!t.src && !a.value);
259
- return (r, c) => (b(), o("div", { class: h(D(F)(D(et)({ size: e.size }), t.class)) }, [s.value ? (b(), o("img", {
249
+ let t = e, n = r(() => {
250
+ let e = t.name?.trim();
251
+ return e ? e.charAt(0).toUpperCase() : "?";
252
+ }), i = r(() => t.name?.trim() ?? "");
253
+ return (r, a) => (b(), o("div", { class: h(D(F)(D(et)({ size: e.size }), t.class)) }, [e.src ? (b(), o("img", {
260
254
  key: 0,
261
255
  src: e.src,
262
- alt: n.value,
263
- class: "size-full object-cover",
264
- loading: "lazy",
265
- decoding: "async",
266
- onError: c[0] ||= (e) => a.value = !0
267
- }, null, 40, tt)) : (b(), o("div", {
268
- key: 1,
269
- class: "flex size-full items-center justify-center",
270
- role: n.value ? "img" : void 0,
271
- "aria-label": n.value || void 0,
272
- "aria-hidden": n.value ? void 0 : !0
273
- }, E(i.value), 9, nt))], 2));
256
+ alt: i.value,
257
+ class: "size-full rounded-full object-cover"
258
+ }, null, 8, tt)) : (b(), o("div", nt, E(n.value), 1))], 2));
274
259
  }
275
260
  }), it = /* @__PURE__ */ u({
276
261
  __name: "Kbd",
@@ -283,7 +268,7 @@ var qe = j([
283
268
  ] } },
284
269
  setup(e) {
285
270
  let t = e;
286
- return (e, n) => (b(), o("kbd", { class: h(D(F)("pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm bg-muted px-1 font-sans text-xs font-medium text-muted-foreground", t.class)) }, [C(e.$slots, "default")], 2));
271
+ return (e, n) => (b(), o("kbd", { class: h(D(F)("pointer-events-none inline-flex h-5 w-fit min-w-5 select-none items-center justify-center gap-1 rounded-sm bg-bg-subtle px-1 font-sans text-xs font-medium text-text-secondary", t.class)) }, [C(e.$slots, "default")], 2));
287
272
  }
288
273
  }), at = ["aria-label", "role"], ot = /* @__PURE__ */ u({
289
274
  __name: "KbdGroup",
@@ -321,7 +306,7 @@ var qe = j([
321
306
  let t = e;
322
307
  return (e, n) => (b(), o("label", {
323
308
  for: t.for,
324
- class: h(D(F)("cursor-pointer select-none text-sm font-medium text-foreground", t.class))
309
+ class: h(D(F)("cursor-pointer select-none text-sm font-medium text-text-primary", t.class))
325
310
  }, [C(e.$slots, "default")], 10, st));
326
311
  }
327
312
  }), lt = j("shrink-0 bg-border-subtle", {
@@ -366,7 +351,7 @@ var qe = j([
366
351
  setup(e) {
367
352
  let t = e;
368
353
  return (e, n) => (b(), o("div", {
369
- class: h(D(F)("animate-pulse rounded-md bg-accent", t.class)),
354
+ class: h(D(F)("animate-pulse rounded-md bg-bg-surface", t.class)),
370
355
  "aria-hidden": "true"
371
356
  }, null, 2));
372
357
  }
@@ -374,10 +359,7 @@ var qe = j([
374
359
  "aria-valuemax",
375
360
  "aria-valuenow",
376
361
  "aria-label"
377
- ], mt = {
378
- key: 0,
379
- class: "h-full w-2/5 rounded-full bg-brand animate-progress-indeterminate motion-reduce:w-full motion-reduce:animate-pulse"
380
- }, ht = /* @__PURE__ */ u({
362
+ ], mt = /* @__PURE__ */ u({
381
363
  __name: "Progress",
382
364
  props: {
383
365
  value: {},
@@ -392,21 +374,20 @@ var qe = j([
392
374
  ] }
393
375
  },
394
376
  setup(e) {
395
- let t = e, n = r(() => t.value === void 0), i = r(() => t.value === void 0 ? 0 : Math.min(Math.max(t.value, 0), t.max) / t.max * 100);
396
- return (r, a) => (b(), o("div", {
377
+ let t = e, n = r(() => t.value === void 0 ? 0 : Math.min(Math.max(t.value, 0), t.max) / t.max * 100);
378
+ return (r, i) => (b(), o("div", {
397
379
  role: "progressbar",
398
380
  "aria-valuemin": 0,
399
381
  "aria-valuemax": e.max,
400
382
  "aria-valuenow": e.value,
401
383
  "aria-label": e.label,
402
- class: h(D(F)("relative h-1 w-full overflow-hidden rounded-full bg-muted", t.class))
403
- }, [n.value ? (b(), o("div", mt)) : (b(), o("div", {
404
- key: 1,
405
- class: "size-full rounded-full bg-brand transition-transform duration-300",
406
- style: g({ transform: `translateX(-${100 - i.value}%)` })
407
- }, null, 4))], 10, pt));
384
+ class: h(D(F)("relative h-1 w-full overflow-hidden rounded-full bg-bg-surface", t.class))
385
+ }, [s("div", {
386
+ class: "size-full flex-1 rounded-full bg-brand-200 transition-transform duration-300",
387
+ style: g({ transform: `translateX(-${100 - n.value}%)` })
388
+ }, null, 4)], 10, pt));
408
389
  }
409
- }), gt = /* @__PURE__ */ u({
390
+ }), ht = /* @__PURE__ */ u({
410
391
  __name: "Panel",
411
392
  props: { class: { type: [
412
393
  Boolean,
@@ -417,9 +398,9 @@ var qe = j([
417
398
  ] } },
418
399
  setup(e) {
419
400
  let t = e;
420
- return (e, n) => (b(), o("div", { class: h(D(F)("flex flex-col shrink-0 w-full p-1 bg-muted border border-border rounded-3xl shadow-xs overflow-hidden", t.class)) }, [C(e.$slots, "default")], 2));
401
+ return (e, n) => (b(), o("div", { class: h(D(F)("flex flex-col shrink-0 w-full p-1 bg-bg-surface border border-border-default rounded-3xl shadow-xs overflow-hidden", t.class)) }, [C(e.$slots, "default")], 2));
421
402
  }
422
- }), _t = /* @__PURE__ */ u({
403
+ }), gt = /* @__PURE__ */ u({
423
404
  __name: "PanelHeader",
424
405
  props: { class: { type: [
425
406
  Boolean,
@@ -432,7 +413,7 @@ var qe = j([
432
413
  let t = e;
433
414
  return (e, n) => (b(), o("div", { class: h(D(F)("flex items-center px-3 py-2", t.class)) }, [C(e.$slots, "default")], 2));
434
415
  }
435
- }), vt = /* @__PURE__ */ u({
416
+ }), _t = /* @__PURE__ */ u({
436
417
  __name: "PanelContent",
437
418
  props: { class: { type: [
438
419
  Boolean,
@@ -443,9 +424,9 @@ var qe = j([
443
424
  ] } },
444
425
  setup(e) {
445
426
  let t = e;
446
- return (e, n) => (b(), o("div", { class: h(D(F)("h-full overflow-hidden p-2 bg-card shadow-xs rounded-[calc(var(--radius)*2.2-0.25rem)]", t.class)) }, [C(e.$slots, "default")], 2));
427
+ return (e, n) => (b(), o("div", { class: h(D(F)("h-full overflow-hidden p-2 bg-bg-raised shadow-xs rounded-[20px]", t.class)) }, [C(e.$slots, "default")], 2));
447
428
  }
448
- }), yt = /* @__PURE__ */ u({
429
+ }), vt = /* @__PURE__ */ u({
449
430
  __name: "PanelFooter",
450
431
  props: { class: { type: [
451
432
  Boolean,
@@ -458,7 +439,7 @@ var qe = j([
458
439
  let t = e;
459
440
  return (e, n) => (b(), o("div", { class: h(D(F)("flex items-center px-3 py-2", t.class)) }, [C(e.$slots, "default")], 2));
460
441
  }
461
- }), bt = /* @__PURE__ */ u({
442
+ }), yt = /* @__PURE__ */ u({
462
443
  __name: "Tabs",
463
444
  props: {
464
445
  defaultIndex: { default: 0 },
@@ -495,17 +476,17 @@ var qe = j([
495
476
  "class"
496
477
  ]));
497
478
  }
498
- }), xt = j("flex w-fit items-center gap-1 rounded-xl border border-border bg-muted p-1"), St = j([
499
- "flex items-center gap-x-2 rounded-lg px-4 py-1.5 text-sm font-medium transition-all",
500
- "outline-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-muted",
479
+ }), bt = j("flex w-fit items-center gap-1 rounded-full border border-border-default bg-bg-surface p-1"), xt = j([
480
+ "flex items-center gap-x-2 rounded-full px-4 py-1.5 text-sm font-medium transition-all",
481
+ "outline-none focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-border-strong focus-visible:ring-offset-1 focus-visible:ring-offset-bg-surface",
501
482
  "disabled:cursor-not-allowed disabled:opacity-50"
502
483
  ].join(" "), {
503
484
  variants: { selected: {
504
- true: "bg-background text-foreground shadow-sm dark:bg-accent",
505
- false: "text-muted-foreground not-disabled:hover:text-foreground"
485
+ true: "bg-bg-raised text-text-primary shadow-sm",
486
+ false: "text-text-secondary not-disabled:hover:text-text-primary"
506
487
  } },
507
488
  defaultVariants: { selected: !1 }
508
- }), Ct = /* @__PURE__ */ u({
489
+ }), St = /* @__PURE__ */ u({
509
490
  __name: "TabsList",
510
491
  props: { class: { type: [
511
492
  Boolean,
@@ -516,12 +497,12 @@ var qe = j([
516
497
  ] } },
517
498
  setup(e) {
518
499
  let t = e;
519
- return (e, n) => (b(), i(D(je), { class: h(D(F)(D(xt)(), t.class)) }, {
500
+ return (e, n) => (b(), i(D(je), { class: h(D(F)(D(bt)(), t.class)) }, {
520
501
  default: A(() => [C(e.$slots, "default")]),
521
502
  _: 3
522
503
  }, 8, ["class"]));
523
504
  }
524
- }), wt = /* @__PURE__ */ u({
505
+ }), Ct = /* @__PURE__ */ u({
525
506
  __name: "TabsTrigger",
526
507
  props: {
527
508
  disabled: { type: Boolean },
@@ -541,12 +522,12 @@ var qe = j([
541
522
  }, {
542
523
  default: A(({ selected: e }) => [s("button", {
543
524
  type: "button",
544
- class: h(D(F)(D(St)({ selected: e }), t.class))
525
+ class: h(D(F)(D(xt)({ selected: e }), t.class))
545
526
  }, [C(n.$slots, "default", { selected: e })], 2)]),
546
527
  _: 3
547
528
  }, 8, ["disabled"]));
548
529
  }
549
- }), Tt = /* @__PURE__ */ u({
530
+ }), wt = /* @__PURE__ */ u({
550
531
  __name: "TabsPanels",
551
532
  props: { class: { type: [
552
533
  Boolean,
@@ -562,7 +543,7 @@ var qe = j([
562
543
  _: 3
563
544
  }, 8, ["class"]));
564
545
  }
565
- }), Et = /* @__PURE__ */ u({
546
+ }), Tt = /* @__PURE__ */ u({
566
547
  __name: "TabsContent",
567
548
  props: { class: { type: [
568
549
  Boolean,
@@ -578,7 +559,7 @@ var qe = j([
578
559
  _: 3
579
560
  }, 8, ["class"]));
580
561
  }
581
- }), Dt = /* @__PURE__ */ u({
562
+ }), Et = /* @__PURE__ */ u({
582
563
  __name: "Disclosure",
583
564
  props: {
584
565
  defaultOpen: {
@@ -604,7 +585,7 @@ var qe = j([
604
585
  _: 3
605
586
  }, 8, ["default-open", "class"]));
606
587
  }
607
- }), Ot = { class: "flex-1 outline-none" }, kt = /* @__PURE__ */ u({
588
+ }), Dt = { class: "flex-1 outline-none" }, Ot = /* @__PURE__ */ u({
608
589
  __name: "DisclosureTrigger",
609
590
  props: { class: { type: [
610
591
  Boolean,
@@ -615,15 +596,15 @@ var qe = j([
615
596
  ] } },
616
597
  setup(e) {
617
598
  let t = e;
618
- return (e, n) => (b(), i(D(ge), { class: h(D(F)("flex w-full items-center justify-between gap-2 py-4 text-left text-sm font-medium text-foreground transition-colors", "focus-visible:outline-none hover:text-muted-foreground focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring focus-visible:ring-offset-background rounded-lg", t.class)) }, {
619
- default: A(({ open: t }) => [s("span", Ot, [C(e.$slots, "default", { open: t })]), l(D(Pe), {
620
- class: h(["size-4 shrink-0 text-muted-foreground/70 transition-transform duration-200", t && "rotate-180"]),
599
+ return (e, n) => (b(), i(D(ge), { class: h(D(F)("flex w-full items-center justify-between gap-2 py-4 text-left text-sm font-medium text-text-primary transition-colors", "focus-visible:outline-none hover:text-text-secondary focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-strong focus-visible:ring-offset-bg-base rounded-lg", t.class)) }, {
600
+ default: A(({ open: t }) => [s("span", Dt, [C(e.$slots, "default", { open: t })]), l(D(Pe), {
601
+ class: h(["size-4 shrink-0 text-text-tertiary transition-transform duration-200", t && "rotate-180"]),
621
602
  "aria-hidden": "true"
622
603
  }, null, 8, ["class"])]),
623
604
  _: 3
624
605
  }, 8, ["class"]));
625
606
  }
626
- }), At = /* @__PURE__ */ u({
607
+ }), kt = /* @__PURE__ */ u({
627
608
  __name: "DisclosureContent",
628
609
  props: { class: { type: [
629
610
  Boolean,
@@ -634,27 +615,27 @@ var qe = j([
634
615
  ] } },
635
616
  setup(e) {
636
617
  let t = e;
637
- return (e, n) => (b(), i(D(_e), { class: h(D(F)("pb-4 text-sm text-muted-foreground", t.class)) }, {
618
+ return (e, n) => (b(), i(D(_e), { class: h(D(F)("pb-4 text-sm text-text-secondary", t.class)) }, {
638
619
  default: A(() => [C(e.$slots, "default")]),
639
620
  _: 3
640
621
  }, 8, ["class"]));
641
622
  }
642
- }), jt = j("relative flex w-full gap-3 rounded-xl border px-4 py-3 text-sm", {
623
+ }), At = j("relative flex w-full gap-3 rounded-xl border px-4 py-3 text-sm", {
643
624
  variants: { variant: {
644
- neutral: "bg-muted border-border text-foreground",
645
- info: "bg-info-subtle border-info-border text-info",
646
- success: "bg-success-subtle border-success-border text-success",
647
- warning: "bg-warning-subtle border-warning-border text-warning",
648
- destructive: "bg-destructive-subtle border-destructive-border text-destructive"
625
+ neutral: "bg-bg-surface border-border-default text-text-primary",
626
+ info: "bg-info-surface border-info-border text-info-text",
627
+ success: "bg-success-surface border-success-border text-success-text",
628
+ warning: "bg-warning-surface border-warning-border text-warning-text",
629
+ danger: "bg-danger-surface border-danger-border text-danger-text"
649
630
  } },
650
631
  defaultVariants: { variant: "neutral" }
651
- }), Mt = {
632
+ }), jt = {
652
633
  key: 0,
653
634
  class: "mt-0.5 shrink-0 [&>svg]:size-5"
654
- }, Nt = { class: "flex min-w-0 flex-1 flex-col gap-0.5" }, Pt = {
635
+ }, Mt = { class: "flex min-w-0 flex-1 flex-col gap-0.5" }, Nt = {
655
636
  key: 1,
656
637
  class: "shrink-0"
657
- }, Ft = /* @__PURE__ */ u({
638
+ }, Pt = /* @__PURE__ */ u({
658
639
  __name: "Alert",
659
640
  props: {
660
641
  variant: { default: "neutral" },
@@ -670,14 +651,14 @@ var qe = j([
670
651
  let t = e;
671
652
  return (n, r) => (b(), o("div", {
672
653
  role: "alert",
673
- class: h(D(F)(D(jt)({ variant: e.variant }), t.class))
654
+ class: h(D(F)(D(At)({ variant: e.variant }), t.class))
674
655
  }, [
675
- n.$slots.icon ? (b(), o("span", Mt, [C(n.$slots, "icon")])) : a("", !0),
676
- s("div", Nt, [C(n.$slots, "default")]),
677
- n.$slots.action ? (b(), o("div", Pt, [C(n.$slots, "action")])) : a("", !0)
656
+ n.$slots.icon ? (b(), o("span", jt, [C(n.$slots, "icon")])) : a("", !0),
657
+ s("div", Mt, [C(n.$slots, "default")]),
658
+ n.$slots.action ? (b(), o("div", Nt, [C(n.$slots, "action")])) : a("", !0)
678
659
  ], 2));
679
660
  }
680
- }), It = /* @__PURE__ */ u({
661
+ }), Ft = /* @__PURE__ */ u({
681
662
  __name: "AlertTitle",
682
663
  props: { class: { type: [
683
664
  Boolean,
@@ -690,7 +671,7 @@ var qe = j([
690
671
  let t = e;
691
672
  return (e, n) => (b(), o("div", { class: h(D(F)("font-medium", t.class)) }, [C(e.$slots, "default")], 2));
692
673
  }
693
- }), Lt = /* @__PURE__ */ u({
674
+ }), It = /* @__PURE__ */ u({
694
675
  __name: "AlertDescription",
695
676
  props: { class: { type: [
696
677
  Boolean,
@@ -703,7 +684,7 @@ var qe = j([
703
684
  let t = e;
704
685
  return (e, n) => (b(), o("div", { class: h(D(F)("text-sm opacity-90", t.class)) }, [C(e.$slots, "default")], 2));
705
686
  }
706
- }), Rt = /* @__PURE__ */ u({
687
+ }), Lt = /* @__PURE__ */ u({
707
688
  __name: "Empty",
708
689
  props: { class: { type: [
709
690
  Boolean,
@@ -714,9 +695,9 @@ var qe = j([
714
695
  ] } },
715
696
  setup(e) {
716
697
  let t = e;
717
- return (e, n) => (b(), o("div", { class: h(D(F)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border border-dashed border-border p-8 text-center text-balance", t.class)) }, [C(e.$slots, "default")], 2));
698
+ return (e, n) => (b(), o("div", { class: h(D(F)("flex w-full min-w-0 flex-1 flex-col items-center justify-center gap-4 rounded-xl border border-dashed border-border-default p-8 text-center text-balance", t.class)) }, [C(e.$slots, "default")], 2));
718
699
  }
719
- }), zt = /* @__PURE__ */ u({
700
+ }), Rt = /* @__PURE__ */ u({
720
701
  __name: "EmptyHeader",
721
702
  props: { class: { type: [
722
703
  Boolean,
@@ -729,13 +710,13 @@ var qe = j([
729
710
  let t = e;
730
711
  return (e, n) => (b(), o("div", { class: h(D(F)("flex max-w-sm flex-col items-center gap-2", t.class)) }, [C(e.$slots, "default")], 2));
731
712
  }
732
- }), Bt = j("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
713
+ }), zt = j("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
733
714
  variants: { variant: {
734
715
  default: "bg-transparent",
735
- icon: "size-10 rounded-xl bg-muted text-foreground [&_svg:not([class*='size-'])]:size-5"
716
+ icon: "flex size-10 items-center justify-center rounded-xl bg-bg-elevated text-text-primary [&_svg:not([class*='size-'])]:size-5"
736
717
  } },
737
718
  defaultVariants: { variant: "default" }
738
- }), Vt = /* @__PURE__ */ u({
719
+ }), Bt = /* @__PURE__ */ u({
739
720
  __name: "EmptyMedia",
740
721
  props: {
741
722
  variant: { default: "default" },
@@ -749,9 +730,9 @@ var qe = j([
749
730
  },
750
731
  setup(e) {
751
732
  let t = e;
752
- return (e, n) => (b(), o("div", { class: h(D(F)(D(Bt)({ variant: t.variant }), t.class)) }, [C(e.$slots, "default")], 2));
733
+ return (e, n) => (b(), o("div", { class: h(D(F)(D(zt)({ variant: t.variant }), t.class)) }, [C(e.$slots, "default")], 2));
753
734
  }
754
- }), Ht = /* @__PURE__ */ u({
735
+ }), Vt = /* @__PURE__ */ u({
755
736
  __name: "EmptyTitle",
756
737
  props: { class: { type: [
757
738
  Boolean,
@@ -762,9 +743,9 @@ var qe = j([
762
743
  ] } },
763
744
  setup(e) {
764
745
  let t = e;
765
- return (e, n) => (b(), o("p", { class: h(D(F)("text-base font-medium tracking-tight text-foreground", t.class)) }, [C(e.$slots, "default")], 2));
746
+ return (e, n) => (b(), o("p", { class: h(D(F)("text-base font-medium tracking-tight text-text-primary", t.class)) }, [C(e.$slots, "default")], 2));
766
747
  }
767
- }), Ut = /* @__PURE__ */ u({
748
+ }), Ht = /* @__PURE__ */ u({
768
749
  __name: "EmptyDescription",
769
750
  props: { class: { type: [
770
751
  Boolean,
@@ -775,9 +756,9 @@ var qe = j([
775
756
  ] } },
776
757
  setup(e) {
777
758
  let t = e;
778
- return (e, n) => (b(), o("p", { class: h(D(F)("text-sm leading-relaxed text-muted-foreground [&>a]:underline [&>a]:underline-offset-4 hover:[&>a]:text-brand", t.class)) }, [C(e.$slots, "default")], 2));
759
+ return (e, n) => (b(), o("p", { class: h(D(F)("text-sm leading-relaxed text-text-secondary [&>a]:underline [&>a]:underline-offset-4 hover:[&>a]:text-brand-200", t.class)) }, [C(e.$slots, "default")], 2));
779
760
  }
780
- }), Wt = /* @__PURE__ */ u({
761
+ }), Ut = /* @__PURE__ */ u({
781
762
  __name: "EmptyContent",
782
763
  props: { class: { type: [
783
764
  Boolean,
@@ -790,19 +771,19 @@ var qe = j([
790
771
  let t = e;
791
772
  return (e, n) => (b(), o("div", { class: h(D(F)("flex w-full max-w-sm min-w-0 flex-col items-center gap-3 text-sm text-balance", t.class)) }, [C(e.$slots, "default")], 2));
792
773
  }
793
- }), Gt = Symbol("SidebarContext"), Kt = (e) => {
794
- x(Gt, e);
774
+ }), Wt = Symbol("SidebarContext"), Gt = (e) => {
775
+ x(Wt, e);
795
776
  }, I = () => {
796
- let e = d(Gt);
777
+ let e = d(Wt);
797
778
  if (!e) throw Error("Sidebar components must be used within a <SidebarProvider>.");
798
779
  return e;
799
- }, qt = /* @__PURE__ */ u({
780
+ }, Kt = /* @__PURE__ */ u({
800
781
  __name: "SidebarProvider",
801
782
  setup(e) {
802
783
  let t = We("(max-width: 767px)"), n = S(!1), r = S(!1);
803
784
  return k(t, (e) => {
804
785
  e || (n.value = !1);
805
- }), Kt({
786
+ }), Gt({
806
787
  isMobile: t,
807
788
  mobileOpen: n,
808
789
  collapsed: r,
@@ -817,7 +798,7 @@ var qe = j([
817
798
  }
818
799
  }), (e, t) => C(e.$slots, "default");
819
800
  }
820
- }), Jt = /* @__PURE__ */ u({
801
+ }), qt = /* @__PURE__ */ u({
821
802
  __name: "Sidebar",
822
803
  props: { class: { type: [
823
804
  Boolean,
@@ -828,13 +809,13 @@ var qe = j([
828
809
  ] } },
829
810
  setup(t) {
830
811
  let r = t, { isMobile: i, mobileOpen: s, collapsed: c, close: u } = I(), d = Ge(typeof document < "u" ? document.body : null);
831
- return k([s, i], ([e, t]) => {
832
- d.value = e && t;
833
- }, { immediate: !0 }), _(() => {
834
- d.value = !1;
835
- }), Be("Escape", () => {
836
- i.value && s.value && u();
837
- }), (t, d) => D(i) ? (b(), o(e, { key: 1 }, [l(n, {
812
+ k(s, (e) => {
813
+ d.value = e && i.value;
814
+ });
815
+ let f = (e) => {
816
+ e.key === "Escape" && u();
817
+ };
818
+ return (t, d) => D(i) ? (b(), o(e, { key: 1 }, [l(n, {
838
819
  "enter-active-class": "transition-opacity duration-200",
839
820
  "enter-from-class": "opacity-0",
840
821
  "leave-active-class": "transition-opacity duration-200",
@@ -854,16 +835,17 @@ var qe = j([
854
835
  }, {
855
836
  default: A(() => [D(s) ? (b(), o("aside", {
856
837
  key: 0,
857
- class: h(D(F)("fixed inset-y-0 left-0 z-50 flex h-full w-64 flex-col border-r border-sidebar-border bg-sidebar text-sidebar-foreground", r.class)),
858
- tabindex: "-1"
859
- }, [C(t.$slots, "default")], 2)) : a("", !0)]),
838
+ class: h(D(F)("fixed inset-y-0 left-0 z-50 flex h-full w-64 flex-col border-r border-border-subtle bg-bg-surface", r.class)),
839
+ tabindex: "-1",
840
+ onKeydown: f
841
+ }, [C(t.$slots, "default")], 34)) : a("", !0)]),
860
842
  _: 3
861
843
  })], 64)) : (b(), o(e, { key: 0 }, [D(c) ? a("", !0) : (b(), o("aside", {
862
844
  key: 0,
863
- class: h(D(F)("flex h-full w-64 flex-col border-r border-sidebar-border bg-sidebar text-sidebar-foreground", r.class))
845
+ class: h(D(F)("flex h-full w-64 flex-col border-r border-border-subtle bg-bg-surface", r.class))
864
846
  }, [C(t.$slots, "default")], 2))], 64));
865
847
  }
866
- }), Yt = /* @__PURE__ */ u({
848
+ }), Jt = /* @__PURE__ */ u({
867
849
  __name: "SidebarTrigger",
868
850
  props: { class: { type: [
869
851
  Boolean,
@@ -876,12 +858,12 @@ var qe = j([
876
858
  let t = e, { toggle: n } = I();
877
859
  return (e, r) => (b(), o("button", {
878
860
  type: "button",
879
- class: h(D(F)("inline-flex size-10 items-center justify-center rounded-lg text-muted-foreground transition-colors hover:bg-accent hover:text-accent-foreground", "outline-none focus-visible:ring-2 focus-visible:ring-ring", t.class)),
861
+ class: h(D(F)("inline-flex size-9 items-center justify-center rounded-lg text-text-secondary transition-colors hover:bg-bg-subtle hover:text-text-primary", "outline-none focus-visible:ring-2 focus-visible:ring-border-strong", t.class)),
880
862
  "aria-label": "Toggle navigation",
881
863
  onClick: r[0] ||= (...e) => D(n) && D(n)(...e)
882
864
  }, [l(D(Le), { class: "size-5" })], 2));
883
865
  }
884
- }), Xt = /* @__PURE__ */ u({
866
+ }), Yt = /* @__PURE__ */ u({
885
867
  __name: "SidebarHeader",
886
868
  props: { class: { type: [
887
869
  Boolean,
@@ -894,7 +876,7 @@ var qe = j([
894
876
  let t = e;
895
877
  return (e, n) => (b(), o("div", { class: h(D(F)("flex items-center gap-2 px-4 py-4", t.class)) }, [C(e.$slots, "default")], 2));
896
878
  }
897
- }), Zt = /* @__PURE__ */ u({
879
+ }), Xt = /* @__PURE__ */ u({
898
880
  __name: "SidebarContent",
899
881
  props: { class: { type: [
900
882
  Boolean,
@@ -907,7 +889,7 @@ var qe = j([
907
889
  let t = e;
908
890
  return (e, n) => (b(), o("div", { class: h(D(F)("flex-1 overflow-y-auto scrollbar-thin px-2 py-2", t.class)) }, [C(e.$slots, "default")], 2));
909
891
  }
910
- }), Qt = /* @__PURE__ */ u({
892
+ }), Zt = /* @__PURE__ */ u({
911
893
  __name: "SidebarFooter",
912
894
  props: { class: { type: [
913
895
  Boolean,
@@ -920,10 +902,10 @@ var qe = j([
920
902
  let t = e;
921
903
  return (e, n) => (b(), o("div", { class: h(D(F)("mt-auto px-4 py-4", t.class)) }, [C(e.$slots, "default")], 2));
922
904
  }
923
- }), $t = {
905
+ }), Qt = {
924
906
  key: 0,
925
- class: "px-3 pb-1 text-xs font-medium uppercase tracking-wider text-sidebar-foreground/60"
926
- }, en = /* @__PURE__ */ u({
907
+ class: "px-3 pb-1 text-xs font-medium uppercase tracking-wider text-text-tertiary"
908
+ }, $t = /* @__PURE__ */ u({
927
909
  __name: "SidebarGroup",
928
910
  props: {
929
911
  label: {},
@@ -937,19 +919,19 @@ var qe = j([
937
919
  },
938
920
  setup(e) {
939
921
  let t = e;
940
- return (n, r) => (b(), o("div", { class: h(D(F)("flex flex-col gap-0.5 py-2", t.class)) }, [e.label ? (b(), o("p", $t, E(e.label), 1)) : a("", !0), C(n.$slots, "default")], 2));
922
+ return (n, r) => (b(), o("div", { class: h(D(F)("flex flex-col gap-0.5 py-2", t.class)) }, [e.label ? (b(), o("p", Qt, E(e.label), 1)) : a("", !0), C(n.$slots, "default")], 2));
941
923
  }
942
- }), tn = j([
924
+ }), en = j([
943
925
  "flex w-full items-center gap-2 rounded-lg px-3 py-2 text-sm font-medium transition-colors",
944
- "outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",
926
+ "outline-none focus-visible:ring-2 focus-visible:ring-border-strong",
945
927
  "[&_svg]:size-4 [&_svg]:shrink-0"
946
928
  ].join(" "), {
947
929
  variants: { active: {
948
- true: "bg-sidebar-accent text-sidebar-accent-foreground",
949
- false: "text-sidebar-foreground/70 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground"
930
+ true: "bg-bg-subtle text-text-primary",
931
+ false: "text-text-secondary hover:bg-bg-subtle hover:text-text-primary"
950
932
  } },
951
933
  defaultVariants: { active: !1 }
952
- }), nn = /* @__PURE__ */ u({
934
+ }), tn = /* @__PURE__ */ u({
953
935
  __name: "SidebarItem",
954
936
  props: {
955
937
  as: { default: "a" },
@@ -978,7 +960,7 @@ var qe = j([
978
960
  n.isMobile.value && n.close();
979
961
  };
980
962
  return (n, a) => (b(), i(w(e.disabled ? "span" : e.as), {
981
- class: h(D(F)(D(tn)({ active: e.active }), e.disabled && "pointer-events-none opacity-50", t.class)),
963
+ class: h(D(F)(D(en)({ active: e.active }), e.disabled && "pointer-events-none opacity-50", t.class)),
982
964
  "aria-disabled": e.disabled || void 0,
983
965
  tabindex: e.disabled ? -1 : void 0,
984
966
  onClick: r
@@ -991,7 +973,7 @@ var qe = j([
991
973
  "tabindex"
992
974
  ]));
993
975
  }
994
- }), L = Symbol("Field"), rn = ["data-invalid", "data-disabled"], an = /* @__PURE__ */ u({
976
+ }), L = Symbol("Field"), nn = ["data-invalid", "data-disabled"], rn = /* @__PURE__ */ u({
995
977
  __name: "Field",
996
978
  props: {
997
979
  id: {},
@@ -1033,9 +1015,9 @@ var qe = j([
1033
1015
  "data-invalid": e.invalid || void 0,
1034
1016
  "data-disabled": e.disabled || void 0,
1035
1017
  class: h(D(F)(c.value, t.class))
1036
- }, [C(n.$slots, "default")], 10, rn));
1018
+ }, [C(n.$slots, "default")], 10, nn));
1037
1019
  }
1038
- }), on = ["for"], sn = /* @__PURE__ */ u({
1020
+ }), an = ["for"], on = /* @__PURE__ */ u({
1039
1021
  __name: "FieldLabel",
1040
1022
  props: {
1041
1023
  for: {},
@@ -1051,10 +1033,10 @@ var qe = j([
1051
1033
  let t = e, n = d(L, null), i = r(() => t.for ?? n?.id.value), a = r(() => n?.required.value ?? !1);
1052
1034
  return (e, n) => (b(), o("label", {
1053
1035
  for: i.value,
1054
- class: h(D(F)("w-fit select-none text-sm font-medium text-muted-foreground", a.value && "after:ml-0.5 after:text-destructive after:content-['*']", t.class))
1055
- }, [C(e.$slots, "default")], 10, on));
1036
+ class: h(D(F)("w-fit select-none text-sm font-medium text-text-secondary", a.value && "after:ml-0.5 after:text-danger-text after:content-['*']", t.class))
1037
+ }, [C(e.$slots, "default")], 10, an));
1056
1038
  }
1057
- }), cn = ["id"], ln = /* @__PURE__ */ u({
1039
+ }), sn = ["id"], cn = /* @__PURE__ */ u({
1058
1040
  __name: "FieldDescription",
1059
1041
  props: { class: { type: [
1060
1042
  Boolean,
@@ -1067,10 +1049,10 @@ var qe = j([
1067
1049
  let t = e, n = d(L, null);
1068
1050
  return (e, r) => (b(), o("p", {
1069
1051
  id: D(n)?.descriptionId.value,
1070
- class: h(D(F)("text-xs text-muted-foreground", t.class))
1071
- }, [C(e.$slots, "default")], 10, cn));
1052
+ class: h(D(F)("text-xs text-text-secondary", t.class))
1053
+ }, [C(e.$slots, "default")], 10, sn));
1072
1054
  }
1073
- }), un = ["id"], dn = /* @__PURE__ */ u({
1055
+ }), ln = ["id"], un = /* @__PURE__ */ u({
1074
1056
  __name: "FieldError",
1075
1057
  props: { class: { type: [
1076
1058
  Boolean,
@@ -1084,10 +1066,10 @@ var qe = j([
1084
1066
  return (e, r) => (b(), o("p", {
1085
1067
  id: D(n)?.errorId.value,
1086
1068
  role: "alert",
1087
- class: h(D(F)("text-sm text-destructive", t.class))
1088
- }, [C(e.$slots, "default")], 10, un));
1069
+ class: h(D(F)("text-sm text-danger-text", t.class))
1070
+ }, [C(e.$slots, "default")], 10, ln));
1089
1071
  }
1090
- }), fn = /* @__PURE__ */ u({
1072
+ }), dn = /* @__PURE__ */ u({
1091
1073
  __name: "FieldContent",
1092
1074
  props: { class: { type: [
1093
1075
  Boolean,
@@ -1100,17 +1082,17 @@ var qe = j([
1100
1082
  let t = e;
1101
1083
  return (e, n) => (b(), o("div", { class: h(D(F)("flex flex-col gap-y-0.5", t.class)) }, [C(e.$slots, "default")], 2));
1102
1084
  }
1103
- }), R = Symbol("Select"), z = j("flex w-full items-center rounded-lg cursor-pointer select-none text-base outline-none transition-colors data-active:bg-accent data-active:text-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50", {
1085
+ }), R = Symbol("Select"), z = j("flex w-full items-center rounded-lg cursor-pointer select-none text-base outline-none transition-colors data-active:bg-bg-surface disabled:pointer-events-none disabled:opacity-50", {
1104
1086
  variants: { indicator: {
1105
1087
  none: "gap-x-2 px-2 py-1.5",
1106
1088
  "trailing-check": "relative gap-x-2 py-2 pl-3 pr-9",
1107
1089
  "leading-control": "gap-x-2 px-3 py-2"
1108
1090
  } },
1109
1091
  defaultVariants: { indicator: "none" }
1110
- }), pn = ["data-active"], mn = {
1092
+ }), fn = ["data-active"], pn = {
1111
1093
  key: 0,
1112
1094
  class: "absolute inset-y-0 right-0 flex items-center pr-3 text-accent-pro-200"
1113
- }, hn = /* @__PURE__ */ u({
1095
+ }, mn = /* @__PURE__ */ u({
1114
1096
  __name: "SelectItem",
1115
1097
  props: {
1116
1098
  value: {},
@@ -1150,14 +1132,14 @@ var qe = j([
1150
1132
  }, [C(t.$slots, "default", {
1151
1133
  active: n,
1152
1134
  selected: r
1153
- }, () => [c(E(e.label), 1)])], 2), r ? (b(), o("span", mn, [l(D(Ie), {
1135
+ }, () => [c(E(e.label), 1)])], 2), r ? (b(), o("span", pn, [l(D(Ie), {
1154
1136
  class: "size-5",
1155
1137
  "aria-hidden": "true"
1156
- })])) : a("", !0)], 10, pn)]),
1138
+ })])) : a("", !0)], 10, fn)]),
1157
1139
  _: 3
1158
1140
  }, 8, ["value", "disabled"])), [[re, p.value]]);
1159
1141
  }
1160
- }), gn = /* @__PURE__ */ u({
1142
+ }), hn = /* @__PURE__ */ u({
1161
1143
  __name: "Select",
1162
1144
  props: {
1163
1145
  modelValue: {},
@@ -1180,7 +1162,7 @@ var qe = j([
1180
1162
  }
1181
1163
  if (typeof n != "object") return;
1182
1164
  let r = n;
1183
- r.type === hn && r.props?.value && r.props?.label && (e[r.props.value] = r.props.label), Array.isArray(r.children) && t(r.children);
1165
+ r.type === mn && r.props?.value && r.props?.label && (e[r.props.value] = r.props.label), Array.isArray(r.children) && t(r.children);
1184
1166
  let i = r.children;
1185
1167
  if (i && typeof i == "object" && !Array.isArray(i)) {
1186
1168
  let e = i.default;
@@ -1239,32 +1221,26 @@ var qe = j([
1239
1221
  "w-full",
1240
1222
  "min-w-0",
1241
1223
  "border",
1242
- "transition-[color,border-color,box-shadow]",
1224
+ "transition-[color,box-shadow]",
1243
1225
  "outline-none",
1244
1226
  "focus-visible:outline-none",
1245
- "focus-within:border-foreground",
1227
+ "focus-within:border-border-dark",
1246
1228
  "focus-within:ring-1",
1247
- "focus-within:ring-foreground",
1229
+ "focus-within:ring-border-dark",
1248
1230
  "disabled:pointer-events-none",
1249
- "disabled:opacity-50",
1250
- "aria-disabled:pointer-events-none",
1251
- "aria-disabled:opacity-50",
1252
- "has-disabled:pointer-events-none",
1253
- "has-disabled:opacity-50"
1231
+ "disabled:opacity-50"
1254
1232
  ].join(" "), {
1255
1233
  variants: {
1256
1234
  variant: {
1257
- primary: "bg-muted border-input text-foreground font-medium",
1258
- contrast: "bg-background border-input text-foreground font-medium"
1235
+ primary: "bg-bg-surface border-border-default text-text-primary font-medium",
1236
+ contrast: "bg-bg-raised border-border-default text-text-primary font-medium"
1259
1237
  },
1260
1238
  size: {
1261
- sm: "h-8 rounded-lg px-1 text-base md:text-sm",
1262
- base: "h-10 rounded-xl px-3.5 text-base md:text-sm",
1263
- lg: "h-12 rounded-xl px-3.5 text-base",
1264
- xl: "h-14 rounded-xl px-4 text-base"
1239
+ base: "h-12 rounded-xl px-3.5",
1240
+ sm: "h-9 rounded-lg px-1 text-sm"
1265
1241
  },
1266
1242
  invalid: {
1267
- true: "border-destructive ring-1 ring-destructive focus-within:border-destructive focus-within:ring-destructive",
1243
+ true: "border-danger-border ring-1 ring-danger-border focus-within:border-danger-border focus-within:ring-danger-border",
1268
1244
  false: ""
1269
1245
  }
1270
1246
  },
@@ -1273,7 +1249,7 @@ var qe = j([
1273
1249
  size: "base",
1274
1250
  invalid: !1
1275
1251
  }
1276
- }), _n = { class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2" }, vn = /* @__PURE__ */ u({
1252
+ }), gn = { class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2" }, _n = /* @__PURE__ */ u({
1277
1253
  __name: "SelectTrigger",
1278
1254
  props: {
1279
1255
  placeholder: { default: "Select an option" },
@@ -1301,7 +1277,7 @@ var qe = j([
1301
1277
  default: A(() => [s("span", { class: h(["block truncate", !D(n).selected.value && "text-text-tertiary"]) }, [C(a.$slots, "default", {
1302
1278
  selected: D(n).selected.value,
1303
1279
  label: D(n).selectedLabel.value
1304
- }, () => [c(E(D(n).selected.value ? D(n).selectedLabel.value : e.placeholder), 1)])], 2), s("span", _n, [l(D(Fe), {
1280
+ }, () => [c(E(D(n).selected.value ? D(n).selectedLabel.value : e.placeholder), 1)])], 2), s("span", gn, [l(D(Fe), {
1305
1281
  class: "size-5 text-text-tertiary",
1306
1282
  "aria-hidden": "true"
1307
1283
  })])]),
@@ -1316,7 +1292,7 @@ var qe = j([
1316
1292
  _: 3
1317
1293
  }));
1318
1294
  }
1319
- }), V = j("max-h-80 overflow-y-auto rounded-2xl bg-popover text-popover-foreground p-2 shadow-lg ring-1 ring-border focus-visible:outline-none", {
1295
+ }), V = j("max-h-80 overflow-y-auto rounded-2xl bg-bg-raised p-2 shadow-lg ring-1 ring-border-default focus-visible:outline-none", {
1320
1296
  variants: { size: {
1321
1297
  fit: "w-fit",
1322
1298
  full: "w-full",
@@ -1335,7 +1311,7 @@ var qe = j([
1335
1311
  leave: "transition-none",
1336
1312
  leaveFrom: "opacity-100",
1337
1313
  leaveTo: "opacity-0"
1338
- }, yn = /* @__PURE__ */ u({
1314
+ }, vn = /* @__PURE__ */ u({
1339
1315
  __name: "SelectContent",
1340
1316
  props: {
1341
1317
  width: { default: "full" },
@@ -1369,12 +1345,12 @@ var qe = j([
1369
1345
  "leave-to"
1370
1346
  ]));
1371
1347
  }
1372
- }), bn = [
1348
+ }), yn = [
1373
1349
  "id",
1374
1350
  "value",
1375
1351
  "placeholder",
1376
1352
  "aria-label"
1377
- ], xn = /* @__PURE__ */ u({
1353
+ ], bn = /* @__PURE__ */ u({
1378
1354
  __name: "SearchInput",
1379
1355
  props: {
1380
1356
  modelValue: {},
@@ -1404,21 +1380,21 @@ var qe = j([
1404
1380
  onInput: i,
1405
1381
  onClick: n[0] ||= oe(() => {}, ["stop"]),
1406
1382
  onKeydown: n[1] ||= oe(() => {}, ["stop"])
1407
- }, null, 40, bn)], 2));
1383
+ }, null, 40, yn)], 2));
1408
1384
  }
1409
- }), Sn = /* @__PURE__ */ u({
1385
+ }), xn = /* @__PURE__ */ u({
1410
1386
  __name: "SelectSearch",
1411
1387
  props: { placeholder: { default: "Search..." } },
1412
1388
  setup(e) {
1413
1389
  let t = d(R);
1414
1390
  if (!t) throw Error("SelectSearch must be used inside Select");
1415
- return (n, r) => (b(), i(xn, {
1391
+ return (n, r) => (b(), i(bn, {
1416
1392
  modelValue: D(t).query.value,
1417
1393
  "onUpdate:modelValue": r[0] ||= (e) => D(t).query.value = e,
1418
1394
  placeholder: e.placeholder
1419
1395
  }, null, 8, ["modelValue", "placeholder"]));
1420
1396
  }
1421
- }), Cn = Symbol("MultiSelect"), wn = /* @__PURE__ */ u({
1397
+ }), Sn = Symbol("MultiSelect"), Cn = /* @__PURE__ */ u({
1422
1398
  __name: "MultiSelect",
1423
1399
  props: /*@__PURE__*/ f({
1424
1400
  options: {},
@@ -1459,7 +1435,7 @@ var qe = j([
1459
1435
  }, p = () => {
1460
1436
  n.value = [];
1461
1437
  };
1462
- return x(Cn, {
1438
+ return x(Sn, {
1463
1439
  isSelected: (e) => o.value.has(e),
1464
1440
  toggle: d,
1465
1441
  query: a,
@@ -1495,7 +1471,7 @@ var qe = j([
1495
1471
  _: 3
1496
1472
  }, 8, ["class"]));
1497
1473
  }
1498
- }), Tn = { class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2" }, En = /* @__PURE__ */ u({
1474
+ }), wn = { class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-2" }, Tn = /* @__PURE__ */ u({
1499
1475
  __name: "MultiSelectTrigger",
1500
1476
  props: {
1501
1477
  label: {},
@@ -1524,7 +1500,7 @@ var qe = j([
1524
1500
  size: e.size
1525
1501
  }), "relative cursor-pointer", t.class))
1526
1502
  }, {
1527
- default: A(() => [s("span", { class: h(["block truncate", e.empty && "text-text-tertiary"]) }, [C(r.$slots, "default", {}, () => [c(E(e.label), 1)])], 2), s("span", Tn, [l(D(Fe), {
1503
+ default: A(() => [s("span", { class: h(["block truncate", e.empty && "text-text-tertiary"]) }, [C(r.$slots, "default", {}, () => [c(E(e.label), 1)])], 2), s("span", wn, [l(D(Fe), {
1528
1504
  class: "size-4 text-text-tertiary",
1529
1505
  "aria-hidden": "true"
1530
1506
  })])]),
@@ -1539,7 +1515,7 @@ var qe = j([
1539
1515
  _: 3
1540
1516
  }));
1541
1517
  }
1542
- }), Dn = /* @__PURE__ */ u({
1518
+ }), En = /* @__PURE__ */ u({
1543
1519
  __name: "MultiSelectContent",
1544
1520
  props: {
1545
1521
  size: { default: "xs" },
@@ -1579,22 +1555,32 @@ var qe = j([
1579
1555
  "leave-to"
1580
1556
  ]));
1581
1557
  }
1582
- }), On = (e) => {
1583
- let t = d(Cn, null);
1558
+ }), Dn = (e) => {
1559
+ let t = d(Sn, null);
1584
1560
  if (!t) throw Error(`${e} must be used inside <MultiSelect>.`);
1585
1561
  return t;
1586
- }, kn = /* @__PURE__ */ u({
1562
+ }, On = /* @__PURE__ */ u({
1587
1563
  __name: "MultiSelectSearch",
1588
1564
  props: { placeholder: { default: "Search..." } },
1589
1565
  setup(e) {
1590
- let t = On("MultiSelectSearch");
1591
- return (n, r) => (b(), i(xn, {
1566
+ let t = Dn("MultiSelectSearch");
1567
+ return (n, r) => (b(), i(bn, {
1592
1568
  modelValue: D(t).query.value,
1593
1569
  "onUpdate:modelValue": r[0] ||= (e) => D(t).query.value = e,
1594
1570
  placeholder: e.placeholder
1595
1571
  }, null, 8, ["modelValue", "placeholder"]));
1596
1572
  }
1597
- }), An = [
1573
+ }), kn = {
1574
+ key: 0,
1575
+ xmlns: "http://www.w3.org/2000/svg",
1576
+ viewBox: "0 0 24 24",
1577
+ fill: "none",
1578
+ stroke: "currentColor",
1579
+ "stroke-width": "3",
1580
+ "stroke-linecap": "round",
1581
+ "stroke-linejoin": "round",
1582
+ class: "pointer-events-none size-3 text-text-inverse"
1583
+ }, An = [
1598
1584
  "id",
1599
1585
  "checked",
1600
1586
  "required",
@@ -1602,7 +1588,17 @@ var qe = j([
1602
1588
  "aria-invalid",
1603
1589
  "aria-required",
1604
1590
  "aria-describedby"
1605
- ], jn = /* @__PURE__ */ u({
1591
+ ], jn = {
1592
+ key: 0,
1593
+ xmlns: "http://www.w3.org/2000/svg",
1594
+ viewBox: "0 0 24 24",
1595
+ fill: "none",
1596
+ stroke: "currentColor",
1597
+ "stroke-width": "3",
1598
+ "stroke-linecap": "round",
1599
+ "stroke-linejoin": "round",
1600
+ class: "pointer-events-none size-3 text-text-inverse"
1601
+ }, Mn = /* @__PURE__ */ u({
1606
1602
  __name: "Checkbox",
1607
1603
  props: {
1608
1604
  id: {},
@@ -1627,55 +1623,35 @@ var qe = j([
1627
1623
  },
1628
1624
  emits: ["update:modelValue"],
1629
1625
  setup(e, { emit: t }) {
1630
- let n = e, i = t, c = d(L, null), l = O(), u = r(() => ({
1631
- id: n.id ?? c?.id.value ?? l,
1626
+ let n = e, i = t, c = d(L, null), l = r(() => ({
1627
+ id: n.id ?? c?.id.value,
1632
1628
  required: n.required || (c?.required.value ?? !1),
1633
1629
  disabled: n.disabled || (c?.disabled.value ?? !1),
1634
1630
  invalid: n.invalid || (c?.invalid.value ?? !1),
1635
1631
  describedById: c?.describedById.value
1636
- })), f = r(() => F("flex size-4 shrink-0 items-center justify-center rounded-[calc(var(--radius)*0.4)] border transition-colors", u.value.invalid ? "border-destructive bg-destructive/10" : n.modelValue ? "border-primary bg-primary" : "border-border-strong bg-background")), p = r(() => F("pointer-events-none size-3", u.value.invalid ? "text-destructive" : "text-primary-foreground")), m = (e) => {
1632
+ })), u = r(() => F("flex size-4 shrink-0 items-center justify-center rounded border transition-colors", l.value.invalid ? "border-danger-text bg-danger-text/10" : n.modelValue ? "border-bg-inverse bg-bg-inverse" : "border-border-strong bg-bg-base", n.class)), f = (e) => {
1637
1633
  i("update:modelValue", e.target.checked);
1638
1634
  };
1639
- return (t, r) => e.visual ? (b(), o("div", {
1640
- key: 0,
1641
- class: h(D(F)(f.value, n.class))
1642
- }, [e.modelValue ? (b(), o("svg", {
1635
+ return (t, n) => e.visual ? (b(), o("div", {
1643
1636
  key: 0,
1644
- xmlns: "http://www.w3.org/2000/svg",
1645
- viewBox: "0 0 24 24",
1646
- fill: "none",
1647
- stroke: "currentColor",
1648
- "stroke-width": "3",
1649
- "stroke-linecap": "round",
1650
- "stroke-linejoin": "round",
1651
- class: h(p.value)
1652
- }, [...r[0] ||= [s("path", { d: "M5 13l4 4L19 7" }, null, -1)]], 2)) : a("", !0)], 2)) : (b(), o("label", {
1637
+ class: h(u.value)
1638
+ }, [e.modelValue ? (b(), o("svg", kn, [...n[0] ||= [s("path", { d: "M5 13l4 4L19 7" }, null, -1)]])) : a("", !0)], 2)) : (b(), o("label", {
1653
1639
  key: 1,
1654
- class: h(["inline-flex", u.value.disabled && "opacity-50"])
1640
+ class: h(["inline-flex", l.value.disabled && "opacity-60"])
1655
1641
  }, [s("input", {
1656
- id: u.value.id,
1642
+ id: l.value.id,
1657
1643
  type: "checkbox",
1658
1644
  checked: e.modelValue,
1659
- required: u.value.required,
1660
- disabled: u.value.disabled,
1661
- "aria-invalid": u.value.invalid || void 0,
1662
- "aria-required": u.value.required || void 0,
1663
- "aria-describedby": u.value.describedById,
1645
+ required: l.value.required,
1646
+ disabled: l.value.disabled,
1647
+ "aria-invalid": l.value.invalid || void 0,
1648
+ "aria-required": l.value.required || void 0,
1649
+ "aria-describedby": l.value.describedById,
1664
1650
  class: "peer sr-only",
1665
- onChange: m
1666
- }, null, 40, An), s("div", { class: h(D(F)(f.value, "cursor-pointer peer-focus-visible:ring-2 peer-focus-visible:ring-ring peer-focus-visible:ring-offset-2 peer-focus-visible:ring-offset-background peer-disabled:cursor-not-allowed", n.class)) }, [e.modelValue ? (b(), o("svg", {
1667
- key: 0,
1668
- xmlns: "http://www.w3.org/2000/svg",
1669
- viewBox: "0 0 24 24",
1670
- fill: "none",
1671
- stroke: "currentColor",
1672
- "stroke-width": "3",
1673
- "stroke-linecap": "round",
1674
- "stroke-linejoin": "round",
1675
- class: h(p.value)
1676
- }, [...r[1] ||= [s("path", { d: "M5 13l4 4L19 7" }, null, -1)]], 2)) : a("", !0)], 2)], 2));
1651
+ onChange: f
1652
+ }, null, 40, An), s("div", { class: h(D(F)(u.value, "cursor-pointer peer-focus-visible:ring-1 peer-focus-visible:ring-border-strong peer-disabled:cursor-not-allowed")) }, [e.modelValue ? (b(), o("svg", jn, [...n[1] ||= [s("path", { d: "M5 13l4 4L19 7" }, null, -1)]])) : a("", !0)], 2)], 2));
1677
1653
  }
1678
- }), Mn = ["disabled", "aria-pressed"], Nn = /* @__PURE__ */ u({
1654
+ }), Nn = ["disabled", "aria-pressed"], Pn = /* @__PURE__ */ u({
1679
1655
  __name: "MultiSelectItem",
1680
1656
  props: {
1681
1657
  value: {},
@@ -1683,19 +1659,19 @@ var qe = j([
1683
1659
  disabled: { type: Boolean }
1684
1660
  },
1685
1661
  setup(e) {
1686
- let t = e, n = On("MultiSelectItem"), i = r(() => n.isSelected(t.value)), a = r(() => n.matchesQuery(t.label));
1662
+ let t = e, n = Dn("MultiSelectItem"), i = r(() => n.isSelected(t.value)), a = r(() => n.matchesQuery(t.label));
1687
1663
  return (t, r) => ae((b(), o("button", {
1688
1664
  type: "button",
1689
1665
  disabled: e.disabled,
1690
1666
  "aria-pressed": i.value,
1691
1667
  class: h(D(F)(D(z)({ indicator: "leading-control" }), "text-left hover:bg-bg-surface")),
1692
1668
  onClick: r[0] ||= (t) => D(n).toggle(e.value)
1693
- }, [l(jn, {
1669
+ }, [l(Mn, {
1694
1670
  "model-value": i.value,
1695
1671
  visual: ""
1696
- }, null, 8, ["model-value"]), C(t.$slots, "default", { selected: i.value }, () => [s("span", { class: h(["truncate", i.value ? "font-medium" : "font-normal"]) }, E(e.label), 3)])], 10, Mn)), [[re, a.value]]);
1672
+ }, null, 8, ["model-value"]), C(t.$slots, "default", { selected: i.value }, () => [s("span", { class: h(["truncate", i.value ? "font-medium" : "font-normal"]) }, E(e.label), 3)])], 10, Nn)), [[re, a.value]]);
1697
1673
  }
1698
- }), Pn = /* @__PURE__ */ u({
1674
+ }), Fn = /* @__PURE__ */ u({
1699
1675
  __name: "Dropdown",
1700
1676
  props: {
1701
1677
  placement: { default: "bottom-start" },
@@ -1729,7 +1705,7 @@ var qe = j([
1729
1705
  _: 3
1730
1706
  }, 8, ["class"]));
1731
1707
  }
1732
- }), Fn = /* @__PURE__ */ u({
1708
+ }), In = /* @__PURE__ */ u({
1733
1709
  __name: "DropdownTrigger",
1734
1710
  props: {
1735
1711
  asChild: { type: Boolean },
@@ -1746,7 +1722,7 @@ var qe = j([
1746
1722
  return (n, r) => (b(), i(D(P), null, {
1747
1723
  default: A(() => [l(D(Ce), {
1748
1724
  as: e.asChild ? "template" : void 0,
1749
- class: h(e.asChild ? void 0 : D(F)("cursor-pointer rounded-lg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-ring focus-visible:ring-offset-background", t.class))
1725
+ class: h(e.asChild ? void 0 : D(F)("cursor-pointer rounded-lg focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-border-strong", t.class))
1750
1726
  }, {
1751
1727
  default: A(({ open: e }) => [C(n.$slots, "default", { open: e })]),
1752
1728
  _: 3
@@ -1754,7 +1730,7 @@ var qe = j([
1754
1730
  _: 3
1755
1731
  }));
1756
1732
  }
1757
- }), In = /* @__PURE__ */ u({
1733
+ }), Ln = /* @__PURE__ */ u({
1758
1734
  __name: "DropdownContent",
1759
1735
  props: {
1760
1736
  size: { default: "full" },
@@ -1791,7 +1767,7 @@ var qe = j([
1791
1767
  "leave-to"
1792
1768
  ]));
1793
1769
  }
1794
- }), Ln = ["disabled", "data-active"], Rn = /* @__PURE__ */ u({
1770
+ }), Rn = ["disabled", "data-active"], zn = /* @__PURE__ */ u({
1795
1771
  __name: "DropdownItem",
1796
1772
  props: {
1797
1773
  disabled: { type: Boolean },
@@ -1811,16 +1787,16 @@ var qe = j([
1811
1787
  type: "button",
1812
1788
  disabled: e.disabled,
1813
1789
  "data-active": i || void 0,
1814
- class: h(D(F)(D(z)(), "text-foreground text-sm", n.class)),
1790
+ class: h(D(F)(D(z)(), "text-text-primary text-sm", n.class)),
1815
1791
  onClick: a[0] ||= (e) => r("select")
1816
- }, [C(t.$slots, "default", { active: i })], 10, Ln)]),
1792
+ }, [C(t.$slots, "default", { active: i })], 10, Rn)]),
1817
1793
  _: 3
1818
1794
  }, 8, ["disabled"]));
1819
1795
  }
1820
- }), U = Symbol("Combobox"), zn = ["data-active"], Bn = {
1796
+ }), U = Symbol("Combobox"), Bn = ["data-active"], Vn = {
1821
1797
  key: 0,
1822
1798
  class: "absolute inset-y-0 right-0 flex items-center pr-3 text-accent-pro-200"
1823
- }, Vn = /* @__PURE__ */ u({
1799
+ }, Hn = /* @__PURE__ */ u({
1824
1800
  __name: "ComboboxItem",
1825
1801
  props: {
1826
1802
  value: {},
@@ -1858,14 +1834,14 @@ var qe = j([
1858
1834
  }, [C(t.$slots, "default", {
1859
1835
  active: n,
1860
1836
  selected: r
1861
- }, () => [c(E(e.label), 1)])], 2), r ? (b(), o("span", Bn, [l(D(Ie), {
1837
+ }, () => [c(E(e.label), 1)])], 2), r ? (b(), o("span", Vn, [l(D(Ie), {
1862
1838
  class: "size-5",
1863
1839
  "aria-hidden": "true"
1864
- })])) : a("", !0)], 10, zn)]),
1840
+ })])) : a("", !0)], 10, Bn)]),
1865
1841
  _: 3
1866
1842
  }, 8, ["value", "disabled"])), [[re, m.value]]);
1867
1843
  }
1868
- }), Hn = /* @__PURE__ */ u({
1844
+ }), Un = /* @__PURE__ */ u({
1869
1845
  __name: "Combobox",
1870
1846
  props: {
1871
1847
  modelValue: {},
@@ -1884,7 +1860,7 @@ var qe = j([
1884
1860
  }
1885
1861
  if (typeof n != "object") return;
1886
1862
  let r = n;
1887
- r.type === Vn && r.props?.value && r.props?.label && (e[r.props.value] = r.props.label), Array.isArray(r.children) && t(r.children);
1863
+ r.type === Hn && r.props?.value && r.props?.label && (e[r.props.value] = r.props.label), Array.isArray(r.children) && t(r.children);
1888
1864
  let i = r.children;
1889
1865
  if (i && typeof i == "object" && !Array.isArray(i)) {
1890
1866
  let e = i.default;
@@ -1946,7 +1922,7 @@ var qe = j([
1946
1922
  _: 3
1947
1923
  }, 8, ["modelValue"]));
1948
1924
  }
1949
- }), Un = ["data-invalid"], Wn = /* @__PURE__ */ u({
1925
+ }), Wn = ["data-invalid"], Gn = /* @__PURE__ */ u({
1950
1926
  __name: "ComboboxInput",
1951
1927
  props: {
1952
1928
  placeholder: { default: "Search..." },
@@ -1989,11 +1965,11 @@ var qe = j([
1989
1965
  "aria-hidden": "true"
1990
1966
  })]),
1991
1967
  _: 1
1992
- })], 10, Un)]),
1968
+ })], 10, Wn)]),
1993
1969
  _: 1
1994
1970
  }));
1995
1971
  }
1996
- }), Gn = /* @__PURE__ */ u({
1972
+ }), Kn = /* @__PURE__ */ u({
1997
1973
  __name: "ComboboxContent",
1998
1974
  props: {
1999
1975
  width: { default: "full" },
@@ -2028,21 +2004,18 @@ var qe = j([
2028
2004
  "leave-to"
2029
2005
  ]));
2030
2006
  }
2031
- }), Kn = {
2007
+ }), qn = {
2032
2008
  key: 0,
2033
2009
  class: "px-3 py-6 text-center text-sm text-text-tertiary"
2034
- }, qn = /* @__PURE__ */ u({
2010
+ }, Jn = /* @__PURE__ */ u({
2035
2011
  __name: "ComboboxEmpty",
2036
2012
  setup(e) {
2037
2013
  let t = d(U);
2038
2014
  if (!t) throw Error("ComboboxEmpty must be used inside Combobox");
2039
2015
  let n = r(() => t.hasQuery.value && t.visibleCount.value === 0);
2040
- return (e, t) => n.value ? (b(), o("div", Kn, [C(e.$slots, "default", {}, () => [t[0] ||= c("No results found.", -1)])])) : a("", !0);
2016
+ return (e, t) => n.value ? (b(), o("div", qn, [C(e.$slots, "default", {}, () => [t[0] ||= c("No results found.", -1)])])) : a("", !0);
2041
2017
  }
2042
- }), Jn = ["data-invalid"], Yn = {
2043
- key: 0,
2044
- class: "flex items-center gap-1 text-muted-foreground"
2045
- }, Xn = [
2018
+ }), Yn = ["data-invalid"], Xn = { class: "flex items-center gap-1 text-text-secondary" }, Zn = [
2046
2019
  "id",
2047
2020
  "type",
2048
2021
  "value",
@@ -2053,7 +2026,7 @@ var qe = j([
2053
2026
  "aria-required",
2054
2027
  "aria-describedby",
2055
2028
  "data-invalid"
2056
- ], Zn = /* @__PURE__ */ u({
2029
+ ], Qn = /* @__PURE__ */ u({
2057
2030
  inheritAttrs: !1,
2058
2031
  __name: "Input",
2059
2032
  props: /*@__PURE__*/ f({
@@ -2087,42 +2060,42 @@ var qe = j([
2087
2060
  }),
2088
2061
  emits: ["update:modelValue"],
2089
2062
  setup(e) {
2090
- let t = e, n = te(e, "modelValue"), i = d(L, null), c = O(), l = r(() => t.id ?? i?.id.value ?? c), u = r(() => t.invalid ?? i?.invalid.value ?? !1), f = r(() => t.disabled ?? i?.disabled.value ?? !1), m = r(() => t.required ?? i?.required.value ?? !1), g = r(() => i?.describedById.value), _ = r(() => F(B({
2063
+ let t = e, n = te(e, "modelValue"), i = d(L, null), a = O(), c = r(() => t.id ?? i?.id.value ?? a), l = r(() => t.invalid ?? i?.invalid.value ?? !1), u = r(() => t.disabled ?? i?.disabled.value ?? !1), f = r(() => t.required ?? i?.required.value ?? !1), m = r(() => i?.describedById.value), g = r(() => F(B({
2091
2064
  variant: t.variant,
2092
2065
  size: t.size,
2093
- invalid: u.value
2094
- }), t.class)), v = S(null), y = (e) => {
2066
+ invalid: l.value
2067
+ }), t.class)), _ = S(null), v = (e) => {
2095
2068
  let t = e.target;
2096
- t !== v.value && (t.closest("button, a, input, select, textarea, [tabindex]") || v.value?.focus());
2097
- }, x = (e) => {
2069
+ t !== _.value && (t.closest("button, a, input, select, textarea, [tabindex]") || _.value?.focus());
2070
+ }, y = (e) => {
2098
2071
  n.value = e.target.value;
2099
2072
  };
2100
2073
  return (t, r) => (b(), o("div", {
2101
- class: h(_.value),
2102
- "data-invalid": u.value || void 0,
2103
- onClick: y
2104
- }, [t.$slots.default ? (b(), o("span", Yn, [C(t.$slots, "default")])) : a("", !0), s("input", p({
2074
+ class: h(g.value),
2075
+ "data-invalid": l.value || void 0,
2076
+ onClick: v
2077
+ }, [s("span", Xn, [C(t.$slots, "default")]), s("input", p({
2105
2078
  ref_key: "inputRef",
2106
- ref: v
2079
+ ref: _
2107
2080
  }, t.$attrs, {
2108
- id: l.value,
2081
+ id: c.value,
2109
2082
  type: e.type,
2110
2083
  value: n.value ?? "",
2111
- disabled: f.value,
2084
+ disabled: u.value,
2112
2085
  placeholder: e.placeholder,
2113
- required: m.value,
2114
- "aria-invalid": u.value || void 0,
2115
- "aria-required": m.value || void 0,
2116
- "aria-describedby": g.value,
2117
- "data-invalid": u.value || void 0,
2118
- class: "h-full w-full bg-transparent text-foreground/70 outline-none transition-colors group-hover:text-foreground focus:text-foreground disabled:cursor-not-allowed",
2119
- onInput: x
2120
- }), null, 16, Xn)], 10, Jn));
2121
- }
2122
- }), Qn = ["data-invalid"], $n = {
2086
+ required: f.value,
2087
+ "aria-invalid": l.value || void 0,
2088
+ "aria-required": f.value || void 0,
2089
+ "aria-describedby": m.value,
2090
+ "data-invalid": l.value || void 0,
2091
+ class: "h-full w-full bg-transparent text-text-primary/70 outline-none transition-colors group-hover:text-text-primary focus:text-text-primary disabled:cursor-not-allowed",
2092
+ onInput: y
2093
+ }), null, 16, Zn)], 10, Yn));
2094
+ }
2095
+ }), $n = ["data-invalid"], er = {
2123
2096
  key: 0,
2124
- class: "flex items-center gap-1 text-muted-foreground"
2125
- }, er = [
2097
+ class: "flex items-center gap-1 text-text-secondary"
2098
+ }, tr = [
2126
2099
  "id",
2127
2100
  "rows",
2128
2101
  "value",
@@ -2133,7 +2106,7 @@ var qe = j([
2133
2106
  "aria-required",
2134
2107
  "aria-describedby",
2135
2108
  "data-invalid"
2136
- ], tr = /* @__PURE__ */ u({
2109
+ ], nr = /* @__PURE__ */ u({
2137
2110
  __name: "Textarea",
2138
2111
  props: /*@__PURE__*/ f({
2139
2112
  variant: { default: "primary" },
@@ -2170,7 +2143,7 @@ var qe = j([
2170
2143
  }),
2171
2144
  emits: ["update:modelValue"],
2172
2145
  setup(e) {
2173
- let t = e, n = te(e, "modelValue"), i = d(L, null), c = O(), l = r(() => t.id ?? i?.id.value ?? c), u = r(() => t.invalid ?? i?.invalid.value ?? !1), f = r(() => t.disabled ?? i?.disabled.value ?? !1), p = r(() => t.required ?? i?.required.value ?? !1), _ = r(() => i?.describedById.value), v = r(() => ({ minHeight: `calc(${t.rows}lh + 1rem)` })), y = S(), { triggerResize: x } = Ke({
2146
+ let t = e, n = te(e, "modelValue"), i = d(L, null), c = O(), l = r(() => t.id ?? i?.id.value ?? c), u = r(() => t.invalid ?? i?.invalid.value ?? !1), f = r(() => t.disabled ?? i?.disabled.value ?? !1), p = r(() => t.required ?? i?.required.value ?? !1), _ = r(() => i?.describedById.value), v = r(() => ({ minHeight: `${t.rows * 1.5 + 1}rem` })), y = S(), { triggerResize: x } = Ke({
2174
2147
  element: y,
2175
2148
  input: r(() => String(n.value ?? "")),
2176
2149
  styleProp: "height"
@@ -2188,7 +2161,7 @@ var qe = j([
2188
2161
  return (t, r) => (b(), o("div", {
2189
2162
  class: h(w.value),
2190
2163
  "data-invalid": u.value || void 0
2191
- }, [t.$slots.default ? (b(), o("span", $n, [C(t.$slots, "default")])) : a("", !0), s("textarea", {
2164
+ }, [t.$slots.default ? (b(), o("span", er, [C(t.$slots, "default")])) : a("", !0), s("textarea", {
2192
2165
  id: l.value,
2193
2166
  ref_key: "textareaEl",
2194
2167
  ref: y,
@@ -2202,18 +2175,18 @@ var qe = j([
2202
2175
  "aria-required": p.value || void 0,
2203
2176
  "aria-describedby": _.value,
2204
2177
  "data-invalid": u.value || void 0,
2205
- class: h(D(F)("w-full bg-transparent py-2 text-foreground/70 outline-none transition-colors group-hover:text-foreground focus:text-foreground disabled:cursor-not-allowed", e.autosize ? "resize-none max-h-60 overflow-y-auto scrollbar-thin pr-3.5" : "resize-none")),
2178
+ class: h(D(F)("w-full bg-transparent py-2 text-text-primary/70 outline-none transition-colors group-hover:text-text-primary focus:text-text-primary disabled:cursor-not-allowed", e.autosize ? "resize-none max-h-60 overflow-y-auto scrollbar-thin pr-3.5" : "resize-none")),
2206
2179
  onInput: T
2207
- }, null, 46, er)], 10, Qn));
2180
+ }, null, 46, tr)], 10, $n));
2208
2181
  }
2209
- }), nr = [
2182
+ }), rr = [
2210
2183
  "id",
2211
2184
  "checked",
2212
2185
  "aria-checked",
2213
2186
  "aria-label",
2214
2187
  "aria-describedby",
2215
2188
  "disabled"
2216
- ], rr = /* @__PURE__ */ u({
2189
+ ], ir = /* @__PURE__ */ u({
2217
2190
  __name: "Switch",
2218
2191
  props: {
2219
2192
  modelValue: { type: Boolean },
@@ -2240,7 +2213,7 @@ var qe = j([
2240
2213
  })), u = (e) => {
2241
2214
  i("update:modelValue", e.target.checked);
2242
2215
  };
2243
- return (t, r) => (b(), o("label", { class: h(["relative inline-flex", l.value.disabled && "opacity-50"]) }, [s("input", {
2216
+ return (t, r) => (b(), o("label", { class: h(["relative inline-flex", l.value.disabled && "opacity-60"]) }, [s("input", {
2244
2217
  id: l.value.id,
2245
2218
  type: "checkbox",
2246
2219
  role: "switch",
@@ -2251,9 +2224,9 @@ var qe = j([
2251
2224
  disabled: l.value.disabled,
2252
2225
  class: "peer sr-only",
2253
2226
  onChange: u
2254
- }, null, 40, nr), s("div", { class: h(D(F)("h-6 w-11 cursor-pointer rounded-full bg-input transition-colors", "after:absolute after:inset-s-0.5 after:top-0.5 after:size-5 after:rounded-full after:border after:border-border-strong after:bg-background after:transition-all after:content-['']", "peer-checked:bg-primary peer-checked:after:translate-x-5 peer-checked:after:border-primary rtl:peer-checked:after:-translate-x-5", "peer-focus-visible:ring-2 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-ring peer-focus-visible:ring-offset-background", "peer-disabled:cursor-not-allowed", n.class)) }, null, 2)], 2));
2227
+ }, null, 40, rr), s("div", { class: h(D(F)("h-6 w-11 cursor-pointer rounded-full bg-bg-subtle transition-colors", "after:absolute after:inset-s-0.5 after:top-0.5 after:size-5 after:rounded-full after:border after:border-border-strong after:bg-bg-base after:transition-all after:content-['']", "peer-checked:bg-bg-inverse peer-checked:after:translate-x-5 peer-checked:after:border-bg-inverse", "peer-focus-visible:ring-2 peer-focus-visible:ring-offset-2 peer-focus-visible:ring-border-strong", "peer-disabled:cursor-not-allowed", n.class)) }, null, 2)], 2));
2255
2228
  }
2256
- }), ir = /* @__PURE__ */ u({
2229
+ }), ar = /* @__PURE__ */ u({
2257
2230
  __name: "Popover",
2258
2231
  props: {
2259
2232
  placement: { default: "bottom-end" },
@@ -2285,7 +2258,7 @@ var qe = j([
2285
2258
  _: 3
2286
2259
  }, 8, ["class"]));
2287
2260
  }
2288
- }), ar = /* @__PURE__ */ u({
2261
+ }), or = /* @__PURE__ */ u({
2289
2262
  __name: "PopoverTrigger",
2290
2263
  props: {
2291
2264
  asChild: { type: Boolean },
@@ -2310,7 +2283,7 @@ var qe = j([
2310
2283
  _: 3
2311
2284
  }));
2312
2285
  }
2313
- }), or = /* @__PURE__ */ u({
2286
+ }), sr = /* @__PURE__ */ u({
2314
2287
  __name: "PopoverContent",
2315
2288
  props: {
2316
2289
  size: { default: "xs" },
@@ -2349,7 +2322,7 @@ var qe = j([
2349
2322
  }
2350
2323
  });
2351
2324
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
2352
- var sr = (e) => e != null, cr = [
2325
+ var cr = (e) => e != null, lr = [
2353
2326
  "input:not([inert]):not([inert] *)",
2354
2327
  "select:not([inert]):not([inert] *)",
2355
2328
  "textarea:not([inert]):not([inert] *)",
@@ -2361,7 +2334,7 @@ var sr = (e) => e != null, cr = [
2361
2334
  "[contenteditable]:not([contenteditable=\"false\"]):not([inert]):not([inert] *)",
2362
2335
  "details>summary:first-of-type:not([inert]):not([inert] *)",
2363
2336
  "details:not([inert]):not([inert] *)"
2364
- ], W = /* #__PURE__ */ cr.join(","), lr = typeof Element > "u", G = lr ? function() {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, K = !lr && Element.prototype.getRootNode ? function(e) {
2337
+ ], W = /* #__PURE__ */ lr.join(","), ur = typeof Element > "u", G = ur ? function() {} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, K = !ur && Element.prototype.getRootNode ? function(e) {
2365
2338
  return e?.getRootNode?.call(e);
2366
2339
  } : function(e) {
2367
2340
  return e?.ownerDocument;
@@ -2369,10 +2342,10 @@ var sr = (e) => e != null, cr = [
2369
2342
  t === void 0 && (t = !0);
2370
2343
  var n = e?.getAttribute?.call(e, "inert");
2371
2344
  return n === "" || n === "true" || t && e && (typeof e.closest == "function" ? e.closest("[inert]") : q(e.parentNode));
2372
- }, ur = function(e) {
2345
+ }, dr = function(e) {
2373
2346
  var t = e?.getAttribute?.call(e, "contenteditable");
2374
2347
  return t === "" || t === "true";
2375
- }, dr = function(e, t, n) {
2348
+ }, fr = function(e, t, n) {
2376
2349
  if (q(e)) return [];
2377
2350
  var r = Array.prototype.slice.apply(e.querySelectorAll(W));
2378
2351
  return t && G.call(e, W) && r.unshift(e), r = r.filter(n), r;
@@ -2398,27 +2371,27 @@ var sr = (e) => e != null, cr = [
2398
2371
  }
2399
2372
  }
2400
2373
  return r;
2401
- }, fr = function(e) {
2374
+ }, pr = function(e) {
2402
2375
  return !isNaN(parseInt(e.getAttribute("tabindex"), 10));
2403
2376
  }, Y = function(e) {
2404
2377
  if (!e) throw Error("No node provided");
2405
- return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || ur(e)) && !fr(e) ? 0 : e.tabIndex;
2406
- }, pr = function(e, t) {
2407
- var n = Y(e);
2408
- return n < 0 && t && !fr(e) ? 0 : n;
2378
+ return e.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName) || dr(e)) && !pr(e) ? 0 : e.tabIndex;
2409
2379
  }, mr = function(e, t) {
2380
+ var n = Y(e);
2381
+ return n < 0 && t && !pr(e) ? 0 : n;
2382
+ }, hr = function(e, t) {
2410
2383
  return e.tabIndex === t.tabIndex ? e.documentOrder - t.documentOrder : e.tabIndex - t.tabIndex;
2411
- }, hr = function(e) {
2412
- return e.tagName === "INPUT";
2413
2384
  }, gr = function(e) {
2414
- return hr(e) && e.type === "hidden";
2385
+ return e.tagName === "INPUT";
2415
2386
  }, _r = function(e) {
2387
+ return gr(e) && e.type === "hidden";
2388
+ }, vr = function(e) {
2416
2389
  return e.tagName === "DETAILS" && Array.prototype.slice.apply(e.children).some(function(e) {
2417
2390
  return e.tagName === "SUMMARY";
2418
2391
  });
2419
- }, vr = function(e, t) {
2392
+ }, yr = function(e, t) {
2420
2393
  for (var n = 0; n < e.length; n++) if (e[n].checked && e[n].form === t) return e[n];
2421
- }, yr = function(e) {
2394
+ }, br = function(e) {
2422
2395
  if (!e.name) return !0;
2423
2396
  var t = e.form || K(e), n = function(e) {
2424
2397
  return t.querySelectorAll("input[type=\"radio\"][name=\"" + e + "\"]");
@@ -2429,13 +2402,13 @@ var sr = (e) => e != null, cr = [
2429
2402
  } catch (e) {
2430
2403
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", e.message), !1;
2431
2404
  }
2432
- var i = vr(r, e.form);
2405
+ var i = yr(r, e.form);
2433
2406
  return !i || i === e;
2434
- }, br = function(e) {
2435
- return hr(e) && e.type === "radio";
2436
2407
  }, xr = function(e) {
2437
- return br(e) && !yr(e);
2408
+ return gr(e) && e.type === "radio";
2438
2409
  }, Sr = function(e) {
2410
+ return xr(e) && !br(e);
2411
+ }, Cr = function(e) {
2439
2412
  var t = e && K(e), n = t?.host, r = !1;
2440
2413
  if (t && t !== e) {
2441
2414
  var i, a, o;
@@ -2445,10 +2418,10 @@ var sr = (e) => e != null, cr = [
2445
2418
  }
2446
2419
  }
2447
2420
  return r;
2448
- }, Cr = function(e) {
2421
+ }, wr = function(e) {
2449
2422
  var t = e.getBoundingClientRect(), n = t.width, r = t.height;
2450
2423
  return n === 0 && r === 0;
2451
- }, wr = function(e, t) {
2424
+ }, Tr = function(e, t) {
2452
2425
  var n = t.displayCheck, r = t.getShadowRoot;
2453
2426
  if (n === "full-native" && "checkVisibility" in e) return !e.checkVisibility({
2454
2427
  checkOpacity: !1,
@@ -2464,16 +2437,16 @@ var sr = (e) => e != null, cr = [
2464
2437
  if (typeof r == "function") {
2465
2438
  for (var a = e; e;) {
2466
2439
  var o = e.parentElement, s = K(e);
2467
- if (o && !o.shadowRoot && r(o) === !0) return Cr(e);
2440
+ if (o && !o.shadowRoot && r(o) === !0) return wr(e);
2468
2441
  e = e.assignedSlot ? e.assignedSlot : !o && s !== e.ownerDocument ? s.host : o;
2469
2442
  }
2470
2443
  e = a;
2471
2444
  }
2472
- if (Sr(e)) return !e.getClientRects().length;
2445
+ if (Cr(e)) return !e.getClientRects().length;
2473
2446
  if (n !== "legacy-full") return !0;
2474
- } else if (n === "non-zero-area") return Cr(e);
2447
+ } else if (n === "non-zero-area") return wr(e);
2475
2448
  return !1;
2476
- }, Tr = function(e) {
2449
+ }, Er = function(e) {
2477
2450
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName)) for (var t = e.parentElement; t;) {
2478
2451
  if (t.tagName === "FIELDSET" && t.disabled) {
2479
2452
  for (var n = 0; n < t.children.length; n++) {
@@ -2485,17 +2458,17 @@ var sr = (e) => e != null, cr = [
2485
2458
  t = t.parentElement;
2486
2459
  }
2487
2460
  return !1;
2488
- }, Er = function(e, t) {
2489
- return !(t.disabled || gr(t) || wr(t, e) || _r(t) || Tr(t));
2490
2461
  }, Dr = function(e, t) {
2491
- return !(xr(t) || Y(t) < 0 || !Er(e, t));
2492
- }, Or = function(e) {
2462
+ return !(t.disabled || _r(t) || Tr(t, e) || vr(t) || Er(t));
2463
+ }, Or = function(e, t) {
2464
+ return !(Sr(t) || Y(t) < 0 || !Dr(e, t));
2465
+ }, kr = function(e) {
2493
2466
  var t = parseInt(e.getAttribute("tabindex"), 10);
2494
2467
  return !!(isNaN(t) || t >= 0);
2495
- }, kr = function(e) {
2468
+ }, Ar = function(e) {
2496
2469
  var t = [], n = [];
2497
2470
  return e.forEach(function(e, r) {
2498
- var i = !!e.scopeParent, a = i ? e.scopeParent : e, o = pr(a, i), s = i ? kr(e.candidates) : a;
2471
+ var i = !!e.scopeParent, a = i ? e.scopeParent : e, o = mr(a, i), s = i ? Ar(e.candidates) : a;
2499
2472
  o === 0 ? i ? t.push.apply(t, s) : t.push(a) : n.push({
2500
2473
  documentOrder: r,
2501
2474
  tabIndex: o,
@@ -2503,43 +2476,43 @@ var sr = (e) => e != null, cr = [
2503
2476
  isScope: i,
2504
2477
  content: s
2505
2478
  });
2506
- }), n.sort(mr).reduce(function(e, t) {
2479
+ }), n.sort(hr).reduce(function(e, t) {
2507
2480
  return t.isScope ? e.push.apply(e, t.content) : e.push(t.content), e;
2508
2481
  }, []).concat(t);
2509
- }, Ar = function(e, t) {
2510
- return t ||= {}, kr(t.getShadowRoot ? J([e], t.includeContainer, {
2511
- filter: Dr.bind(null, t),
2482
+ }, jr = function(e, t) {
2483
+ return t ||= {}, Ar(t.getShadowRoot ? J([e], t.includeContainer, {
2484
+ filter: Or.bind(null, t),
2512
2485
  flatten: !1,
2513
2486
  getShadowRoot: t.getShadowRoot,
2514
- shadowRootFilter: Or
2515
- }) : dr(e, t.includeContainer, Dr.bind(null, t)));
2516
- }, jr = function(e, t) {
2487
+ shadowRootFilter: kr
2488
+ }) : fr(e, t.includeContainer, Or.bind(null, t)));
2489
+ }, Mr = function(e, t) {
2517
2490
  return t ||= {}, t.getShadowRoot ? J([e], t.includeContainer, {
2518
- filter: Er.bind(null, t),
2491
+ filter: Dr.bind(null, t),
2519
2492
  flatten: !0,
2520
2493
  getShadowRoot: t.getShadowRoot
2521
- }) : dr(e, t.includeContainer, Er.bind(null, t));
2494
+ }) : fr(e, t.includeContainer, Dr.bind(null, t));
2522
2495
  }, X = function(e, t) {
2523
2496
  if (t ||= {}, !e) throw Error("No node provided");
2524
- return G.call(e, W) === !1 ? !1 : Dr(t, e);
2525
- }, Mr = /* #__PURE__ */ cr.concat("iframe:not([inert]):not([inert] *)").join(","), Nr = function(e, t) {
2497
+ return G.call(e, W) === !1 ? !1 : Or(t, e);
2498
+ }, Nr = /* #__PURE__ */ lr.concat("iframe:not([inert]):not([inert] *)").join(","), Pr = function(e, t) {
2526
2499
  if (t ||= {}, !e) throw Error("No node provided");
2527
- return G.call(e, Mr) === !1 ? !1 : Er(t, e);
2500
+ return G.call(e, Nr) === !1 ? !1 : Dr(t, e);
2528
2501
  };
2529
2502
  //#endregion
2530
2503
  //#region node_modules/focus-trap/dist/focus-trap.esm.js
2531
- function Pr(e, t) {
2504
+ function Fr(e, t) {
2532
2505
  (t == null || t > e.length) && (t = e.length);
2533
2506
  for (var n = 0, r = Array(t); n < t; n++) r[n] = e[n];
2534
2507
  return r;
2535
2508
  }
2536
- function Fr(e) {
2537
- if (Array.isArray(e)) return Pr(e);
2509
+ function Ir(e) {
2510
+ if (Array.isArray(e)) return Fr(e);
2538
2511
  }
2539
- function Ir(e, t) {
2512
+ function Lr(e, t) {
2540
2513
  var n = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
2541
2514
  if (!n) {
2542
- if (Array.isArray(e) || (n = Gr(e)) || t) {
2515
+ if (Array.isArray(e) || (n = Kr(e)) || t) {
2543
2516
  n && (e = n);
2544
2517
  var r = 0, i = function() {};
2545
2518
  return {
@@ -2579,21 +2552,21 @@ function Ir(e, t) {
2579
2552
  }
2580
2553
  };
2581
2554
  }
2582
- function Lr(e, t, n) {
2583
- return (t = Wr(t)) in e ? Object.defineProperty(e, t, {
2555
+ function Rr(e, t, n) {
2556
+ return (t = Gr(t)) in e ? Object.defineProperty(e, t, {
2584
2557
  value: n,
2585
2558
  enumerable: !0,
2586
2559
  configurable: !0,
2587
2560
  writable: !0
2588
2561
  }) : e[t] = n, e;
2589
2562
  }
2590
- function Rr(e) {
2563
+ function zr(e) {
2591
2564
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
2592
2565
  }
2593
- function zr() {
2566
+ function Br() {
2594
2567
  throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
2595
2568
  }
2596
- function Br(e, t) {
2569
+ function Vr(e, t) {
2597
2570
  var n = Object.keys(e);
2598
2571
  if (Object.getOwnPropertySymbols) {
2599
2572
  var r = Object.getOwnPropertySymbols(e);
@@ -2603,21 +2576,21 @@ function Br(e, t) {
2603
2576
  }
2604
2577
  return n;
2605
2578
  }
2606
- function Vr(e) {
2579
+ function Hr(e) {
2607
2580
  for (var t = 1; t < arguments.length; t++) {
2608
2581
  var n = arguments[t] == null ? {} : arguments[t];
2609
- t % 2 ? Br(Object(n), !0).forEach(function(t) {
2610
- Lr(e, t, n[t]);
2611
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Br(Object(n)).forEach(function(t) {
2582
+ t % 2 ? Vr(Object(n), !0).forEach(function(t) {
2583
+ Rr(e, t, n[t]);
2584
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Vr(Object(n)).forEach(function(t) {
2612
2585
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
2613
2586
  });
2614
2587
  }
2615
2588
  return e;
2616
2589
  }
2617
- function Hr(e) {
2618
- return Fr(e) || Rr(e) || Gr(e) || zr();
2590
+ function Ur(e) {
2591
+ return Ir(e) || zr(e) || Kr(e) || Br();
2619
2592
  }
2620
- function Ur(e, t) {
2593
+ function Wr(e, t) {
2621
2594
  if (typeof e != "object" || !e) return e;
2622
2595
  var n = e[Symbol.toPrimitive];
2623
2596
  if (n !== void 0) {
@@ -2627,15 +2600,15 @@ function Ur(e, t) {
2627
2600
  }
2628
2601
  return (t === "string" ? String : Number)(e);
2629
2602
  }
2630
- function Wr(e) {
2631
- var t = Ur(e, "string");
2603
+ function Gr(e) {
2604
+ var t = Wr(e, "string");
2632
2605
  return typeof t == "symbol" ? t : t + "";
2633
2606
  }
2634
- function Gr(e, t) {
2607
+ function Kr(e, t) {
2635
2608
  if (e) {
2636
- if (typeof e == "string") return Pr(e, t);
2609
+ if (typeof e == "string") return Fr(e, t);
2637
2610
  var n = {}.toString.call(e).slice(8, -1);
2638
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Pr(e, t) : void 0;
2611
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Fr(e, t) : void 0;
2639
2612
  }
2640
2613
  }
2641
2614
  var Z = {
@@ -2658,32 +2631,32 @@ var Z = {
2658
2631
  var t = Z.getActiveTrap(e);
2659
2632
  t && !t._isManuallyPaused() && t._setPausedState(!1);
2660
2633
  }
2661
- }, Kr = function(e) {
2662
- return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
2663
2634
  }, qr = function(e) {
2635
+ return e.tagName && e.tagName.toLowerCase() === "input" && typeof e.select == "function";
2636
+ }, Jr = function(e) {
2664
2637
  return e?.key === "Escape" || e?.key === "Esc" || e?.keyCode === 27;
2665
2638
  }, Q = function(e) {
2666
2639
  return e?.key === "Tab" || e?.keyCode === 9;
2667
- }, Jr = function(e) {
2668
- return Q(e) && !e.shiftKey;
2669
2640
  }, Yr = function(e) {
2670
- return Q(e) && e.shiftKey;
2641
+ return Q(e) && !e.shiftKey;
2671
2642
  }, Xr = function(e) {
2643
+ return Q(e) && e.shiftKey;
2644
+ }, Zr = function(e) {
2672
2645
  return setTimeout(e, 0);
2673
2646
  }, $ = function(e) {
2674
2647
  var t = [...arguments].slice(1);
2675
2648
  return typeof e == "function" ? e.apply(void 0, t) : e;
2676
- }, Zr = function(e) {
2649
+ }, Qr = function(e) {
2677
2650
  return e.target.shadowRoot && typeof e.composedPath == "function" ? e.composedPath()[0] : e.target;
2678
- }, Qr = [], $r = function(e, t) {
2679
- var n = t?.document || document, r = t?.trapStack || Qr, i = Vr({
2651
+ }, $r = [], ei = function(e, t) {
2652
+ var n = t?.document || document, r = t?.trapStack || $r, i = Hr({
2680
2653
  returnFocusOnDeactivate: !0,
2681
2654
  escapeDeactivates: !0,
2682
2655
  delayInitialFocus: !0,
2683
2656
  delayReturnFocus: !0,
2684
2657
  isolateSubtrees: !1,
2685
- isKeyForward: Jr,
2686
- isKeyBackward: Yr
2658
+ isKeyForward: Yr,
2659
+ isKeyBackward: Xr
2687
2660
  }, t), a = {
2688
2661
  containers: [],
2689
2662
  containerGroups: [],
@@ -2709,7 +2682,7 @@ var Z = {
2709
2682
  });
2710
2683
  }, l = function(e) {
2711
2684
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = t.hasFallback, a = r === void 0 ? !1 : r, o = t.params, s = o === void 0 ? [] : o, c = i[e];
2712
- if (typeof c == "function" && (c = c.apply(void 0, Hr(s))), c === !0 && (c = void 0), !c) {
2685
+ if (typeof c == "function" && (c = c.apply(void 0, Ur(s))), c === !0 && (c = void 0), !c) {
2713
2686
  if (c === void 0 || c === !1) return c;
2714
2687
  throw Error(`\`${e}\` was specified but was not a node, or did not return a node`);
2715
2688
  }
@@ -2729,7 +2702,7 @@ var Z = {
2729
2702
  }, d = function() {
2730
2703
  var e = l("initialFocus", { hasFallback: !0 });
2731
2704
  if (e === !1) return !1;
2732
- if (e === void 0 || e && !Nr(e, i.tabbableOptions)) {
2705
+ if (e === void 0 || e && !Pr(e, i.tabbableOptions)) {
2733
2706
  var t = u(n);
2734
2707
  if (c(t) >= 0) e = t;
2735
2708
  else {
@@ -2741,7 +2714,7 @@ var Z = {
2741
2714
  return e;
2742
2715
  }, f = function() {
2743
2716
  if (a.containerGroups = a.containers.map(function(e) {
2744
- var t = Ar(e, i.tabbableOptions), n = jr(e, i.tabbableOptions), r = t.length > 0 ? t[0] : void 0, a = t.length > 0 ? t[t.length - 1] : void 0, o = n.find(function(e) {
2717
+ var t = jr(e, i.tabbableOptions), n = Mr(e, i.tabbableOptions), r = t.length > 0 ? t[0] : void 0, a = t.length > 0 ? t[t.length - 1] : void 0, o = n.find(function(e) {
2745
2718
  return X(e);
2746
2719
  }), s = n.slice().reverse().find(function(e) {
2747
2720
  return X(e);
@@ -2778,14 +2751,14 @@ var Z = {
2778
2751
  p(d());
2779
2752
  return;
2780
2753
  }
2781
- e.focus({ preventScroll: !!i.preventScroll }), a.mostRecentlyFocusedNode = e, Kr(e) && e.select();
2754
+ e.focus({ preventScroll: !!i.preventScroll }), a.mostRecentlyFocusedNode = e, qr(e) && e.select();
2782
2755
  }
2783
2756
  }, m = function(e) {
2784
2757
  var t = l("setReturnFocus", { params: [e] });
2785
2758
  return t || (t === !1 ? !1 : e);
2786
2759
  }, h = function(e) {
2787
2760
  var t = e.target, n = e.event, r = e.isBackward, o = r === void 0 ? !1 : r;
2788
- t ||= Zr(n), f();
2761
+ t ||= Qr(n), f();
2789
2762
  var s = null;
2790
2763
  if (a.tabbableGroups.length > 0) {
2791
2764
  var u = c(t, n), d = u >= 0 ? a.containerGroups[u] : void 0;
@@ -2795,7 +2768,7 @@ var Z = {
2795
2768
  var n = e.firstTabbableNode;
2796
2769
  return t === n;
2797
2770
  });
2798
- if (p < 0 && (d.container === t || Nr(t, i.tabbableOptions) && !X(t, i.tabbableOptions) && !d.nextTabbableNode(t, !1)) && (p = u), p >= 0) {
2771
+ if (p < 0 && (d.container === t || Pr(t, i.tabbableOptions) && !X(t, i.tabbableOptions) && !d.nextTabbableNode(t, !1)) && (p = u), p >= 0) {
2799
2772
  var m = p === 0 ? a.tabbableGroups.length - 1 : p - 1, h = a.tabbableGroups[m];
2800
2773
  s = Y(t) >= 0 ? h.lastTabbableNode : h.lastDomTabbableNode;
2801
2774
  } else Q(n) || (s = d.nextTabbableNode(t, !1));
@@ -2804,7 +2777,7 @@ var Z = {
2804
2777
  var n = e.lastTabbableNode;
2805
2778
  return t === n;
2806
2779
  });
2807
- if (g < 0 && (d.container === t || Nr(t, i.tabbableOptions) && !X(t, i.tabbableOptions) && !d.nextTabbableNode(t)) && (g = u), g >= 0) {
2780
+ if (g < 0 && (d.container === t || Pr(t, i.tabbableOptions) && !X(t, i.tabbableOptions) && !d.nextTabbableNode(t)) && (g = u), g >= 0) {
2808
2781
  var _ = g === a.tabbableGroups.length - 1 ? 0 : g + 1, v = a.tabbableGroups[_];
2809
2782
  s = Y(t) >= 0 ? v.firstTabbableNode : v.firstDomTabbableNode;
2810
2783
  } else Q(n) || (s = d.nextTabbableNode(t));
@@ -2812,7 +2785,7 @@ var Z = {
2812
2785
  } else s = l("fallbackFocus");
2813
2786
  return s;
2814
2787
  }, g = function(e) {
2815
- if (!(c(Zr(e), e) >= 0)) {
2788
+ if (!(c(Qr(e), e) >= 0)) {
2816
2789
  if ($(i.clickOutsideDeactivates, e)) {
2817
2790
  o.deactivate({ returnFocus: i.returnFocusOnDeactivate });
2818
2791
  return;
@@ -2820,7 +2793,7 @@ var Z = {
2820
2793
  $(i.allowOutsideClick, e) || e.preventDefault();
2821
2794
  }
2822
2795
  }, _ = function(e) {
2823
- var t = Zr(e), n = c(t, e) >= 0;
2796
+ var t = Qr(e), n = c(t, e) >= 0;
2824
2797
  if (n || t instanceof Document) n && (a.mostRecentlyFocusedNode = t);
2825
2798
  else {
2826
2799
  e.stopImmediatePropagation();
@@ -2856,15 +2829,15 @@ var Z = {
2856
2829
  }, y = function(e) {
2857
2830
  (i.isKeyForward(e) || i.isKeyBackward(e)) && v(e, i.isKeyBackward(e));
2858
2831
  }, b = function(e) {
2859
- qr(e) && $(i.escapeDeactivates, e) !== !1 && (e.preventDefault(), o.deactivate());
2832
+ Jr(e) && $(i.escapeDeactivates, e) !== !1 && (e.preventDefault(), o.deactivate());
2860
2833
  }, x = function(e) {
2861
- c(Zr(e), e) >= 0 || $(i.clickOutsideDeactivates, e) || $(i.allowOutsideClick, e) || (e.preventDefault(), e.stopImmediatePropagation());
2834
+ c(Qr(e), e) >= 0 || $(i.clickOutsideDeactivates, e) || $(i.allowOutsideClick, e) || (e.preventDefault(), e.stopImmediatePropagation());
2862
2835
  }, S = function() {
2863
2836
  if (a.active) {
2864
2837
  Z.activateTrap(r, o);
2865
2838
  var e;
2866
2839
  return i.delayInitialFocus ? e = new Promise(function(e) {
2867
- a.delayInitialFocusTimer = Xr(function() {
2840
+ a.delayInitialFocusTimer = Zr(function() {
2868
2841
  p(d()), e();
2869
2842
  });
2870
2843
  }) : p(d()), n.addEventListener("focusin", _, !0), n.addEventListener("mousedown", g, {
@@ -2883,7 +2856,7 @@ var Z = {
2883
2856
  }
2884
2857
  }, C = function(e) {
2885
2858
  a.active && !a.paused && o._setSubtreeIsolation(!1), a.adjacentElements.clear(), a.alreadySilent.clear();
2886
- var t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = Ir(e), i;
2859
+ var t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = Lr(e), i;
2887
2860
  try {
2888
2861
  for (r.s(); !(i = r.n()).done;) {
2889
2862
  var s = i.value;
@@ -2892,7 +2865,7 @@ var Z = {
2892
2865
  t.add(l);
2893
2866
  var u = l.parentElement, d = [];
2894
2867
  u ? d = u.children : !u && c && (d = l.getRootNode().children, u = l.getRootNode().host, c = typeof ShadowRoot < "u" && u.getRootNode() instanceof ShadowRoot);
2895
- var f = Ir(d), p;
2868
+ var f = Lr(d), p;
2896
2869
  try {
2897
2870
  for (f.s(); !(p = f.n()).done;) {
2898
2871
  var m = p.value;
@@ -2969,7 +2942,7 @@ var Z = {
2969
2942
  },
2970
2943
  deactivate: function(e) {
2971
2944
  if (!a.active) return this;
2972
- var t = Vr({
2945
+ var t = Hr({
2973
2946
  onDeactivate: i.onDeactivate,
2974
2947
  onPostDeactivate: i.onPostDeactivate,
2975
2948
  checkCanReturnFocus: i.checkCanReturnFocus
@@ -2980,7 +2953,7 @@ var Z = {
2980
2953
  var f = function() {
2981
2954
  d && p(m(a.nodeFocusedBeforeActivation)), c?.({ trap: o });
2982
2955
  }, h = function() {
2983
- u && d ? Xr(f) : f();
2956
+ u && d ? Zr(f) : f();
2984
2957
  };
2985
2958
  return d && l ? (l(m(a.nodeFocusedBeforeActivation)).then(h, h), this) : (h(), this);
2986
2959
  },
@@ -3040,13 +3013,13 @@ var Z = {
3040
3013
  };
3041
3014
  //#endregion
3042
3015
  //#region node_modules/@vueuse/integrations/dist/useFocusTrap.js
3043
- function ei(e, t = {}) {
3016
+ function ti(e, t = {}) {
3044
3017
  let n, { immediate: i, ...a } = t, o = T(!1), s = T(!1), c = (e) => n && n.activate(e), l = (e) => n && n.deactivate(e);
3045
3018
  return k(r(() => Ve(ee(e)).map((e) => {
3046
3019
  let t = ee(e);
3047
3020
  return typeof t == "string" ? t : Ue(t);
3048
- }).filter(sr)), (e) => {
3049
- if (e.length) if (!n) n = $r(e, {
3021
+ }).filter(cr)), (e) => {
3022
+ if (e.length) if (!n) n = ei(e, {
3050
3023
  ...a,
3051
3024
  onActivate(e) {
3052
3025
  o.value = !0, t.onActivate && t.onActivate(e);
@@ -3074,11 +3047,11 @@ function ei(e, t = {}) {
3074
3047
  }
3075
3048
  //#endregion
3076
3049
  //#region lib/components/overlays/modal/modal-context.ts
3077
- var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3078
- let e = d(ti, null);
3050
+ var ni = Symbol("ModalContext"), ri = (e) => x(ni, e), ii = () => {
3051
+ let e = d(ni, null);
3079
3052
  if (!e) throw Error("Modal parts must be used inside <Modal>.");
3080
3053
  return e;
3081
- }, ii = j(["relative flex max-h-[calc(100dvh-100px)] w-full flex-col overflow-y-auto", "rounded-t-3xl md:rounded-3xl border border-border-subtle bg-popover text-popover-foreground shadow-xs"].join(" "), {
3054
+ }, ai = j(["relative flex max-h-[calc(100vh-100px)] w-full flex-col overflow-y-auto", "rounded-t-3xl md:rounded-3xl border border-border-subtle bg-bg-raised shadow-xs"].join(" "), {
3082
3055
  variants: { size: {
3083
3056
  sm: "md:max-w-sm",
3084
3057
  md: "md:max-w-md",
@@ -3091,7 +3064,7 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3091
3064
  full: "md:max-w-full h-full rounded-t-none md:rounded-none"
3092
3065
  } },
3093
3066
  defaultVariants: { size: "md" }
3094
- }), ai = ["aria-labelledby", "aria-describedby"], oi = /* @__PURE__ */ u({
3067
+ }), oi = ["aria-labelledby", "aria-describedby"], si = /* @__PURE__ */ u({
3095
3068
  __name: "Modal",
3096
3069
  props: {
3097
3070
  modelValue: { type: Boolean },
@@ -3125,29 +3098,26 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3125
3098
  Be("Escape", (e) => {
3126
3099
  c.modelValue && (e.preventDefault(), d("escape"));
3127
3100
  });
3128
- let m = Ge(typeof document < "u" ? document.body : null), g = S(null), { activate: v, deactivate: y } = ei(g, {
3101
+ let m = Ge(typeof document < "u" ? document.body : null), g = S(null), { activate: _, deactivate: v } = ti(g, {
3129
3102
  immediate: !1,
3130
3103
  escapeDeactivates: !1,
3131
- allowOutsideClick: !0,
3132
- fallbackFocus: () => g.value
3133
- }), x = S(void 0), w = S(void 0);
3134
- return ni({
3104
+ allowOutsideClick: !0
3105
+ }), y = S(void 0), x = S(void 0);
3106
+ return ri({
3135
3107
  attemptClose: (e) => {
3136
3108
  d(e);
3137
3109
  },
3138
3110
  close: f,
3139
- labelId: x,
3111
+ labelId: y,
3140
3112
  setLabelId: (e) => {
3141
- x.value = e;
3113
+ y.value = e;
3142
3114
  },
3143
- descriptionId: w,
3115
+ descriptionId: x,
3144
3116
  setDescriptionId: (e) => {
3145
- w.value = e;
3117
+ x.value = e;
3146
3118
  }
3147
3119
  }), k(() => c.modelValue, (e) => {
3148
- m.value = e, e || y();
3149
- }, { immediate: !0 }), _(() => {
3150
- m.value = !1, y();
3120
+ m.value = e, e || v();
3151
3121
  }), (r, u) => (b(), i(t, { to: "body" }, [l(n, {
3152
3122
  "enter-active-class": "transition-opacity duration-200",
3153
3123
  "enter-from-class": "opacity-0",
@@ -3158,7 +3128,7 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3158
3128
  }, {
3159
3129
  default: A(() => [e.modelValue ? (b(), o("div", {
3160
3130
  key: 0,
3161
- class: "fixed inset-0 z-50 flex items-end justify-center bg-black/50 backdrop-blur-xs md:items-center",
3131
+ class: "fixed inset-0 z-50 flex items-end justify-center bg-bg-inverse/50 md:items-center",
3162
3132
  onClick: oe(p, ["self"])
3163
3133
  }, [l(n, {
3164
3134
  appear: "",
@@ -3168,24 +3138,23 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3168
3138
  "leave-active-class": "transition-all duration-200",
3169
3139
  "leave-from-class": "opacity-100 scale-100",
3170
3140
  "leave-to-class": "opacity-0 scale-95",
3171
- onAfterEnter: u[0] ||= () => D(v)()
3141
+ onAfterEnter: u[0] ||= () => D(_)()
3172
3142
  }, {
3173
3143
  default: A(() => [s("div", {
3174
3144
  ref_key: "dialogRef",
3175
3145
  ref: g,
3176
- tabindex: "-1",
3177
- class: h(D(F)(D(ii)({ size: e.size }), "focus:outline-none", c.class)),
3146
+ class: h(D(F)(D(ai)({ size: e.size }), c.class)),
3178
3147
  role: "dialog",
3179
3148
  "aria-modal": "true",
3180
- "aria-labelledby": x.value,
3181
- "aria-describedby": w.value
3182
- }, [C(r.$slots, "default", { close: f })], 10, ai)]),
3149
+ "aria-labelledby": y.value,
3150
+ "aria-describedby": x.value
3151
+ }, [C(r.$slots, "default", { close: f })], 10, oi)]),
3183
3152
  _: 3
3184
3153
  })])) : a("", !0)]),
3185
3154
  _: 3
3186
3155
  })]));
3187
3156
  }
3188
- }), si = /* @__PURE__ */ u({
3157
+ }), ci = /* @__PURE__ */ u({
3189
3158
  __name: "ModalHeader",
3190
3159
  props: { class: { type: [
3191
3160
  Boolean,
@@ -3198,7 +3167,7 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3198
3167
  let t = e;
3199
3168
  return (e, n) => (b(), o("div", { class: h(D(F)("relative flex flex-col px-6 pb-2 pr-12 pt-4", t.class)) }, [C(e.$slots, "default")], 2));
3200
3169
  }
3201
- }), ci = ["id"], li = /* @__PURE__ */ u({
3170
+ }), li = ["id"], ui = /* @__PURE__ */ u({
3202
3171
  __name: "ModalTitle",
3203
3172
  props: { class: { type: [
3204
3173
  Boolean,
@@ -3208,13 +3177,13 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3208
3177
  Array
3209
3178
  ] } },
3210
3179
  setup(e) {
3211
- let t = e, { setLabelId: n } = ri(), r = O();
3180
+ let t = e, { setLabelId: n } = ii(), r = O();
3212
3181
  return v(() => n(r)), y(() => n(void 0)), (e, n) => (b(), o("h2", {
3213
3182
  id: D(r),
3214
3183
  class: h(D(F)("text-lg font-medium text-text-primary", t.class))
3215
- }, [C(e.$slots, "default")], 10, ci));
3184
+ }, [C(e.$slots, "default")], 10, li));
3216
3185
  }
3217
- }), ui = ["id"], di = /* @__PURE__ */ u({
3186
+ }), di = ["id"], fi = /* @__PURE__ */ u({
3218
3187
  __name: "ModalDescription",
3219
3188
  props: { class: { type: [
3220
3189
  Boolean,
@@ -3224,13 +3193,13 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3224
3193
  Array
3225
3194
  ] } },
3226
3195
  setup(e) {
3227
- let t = e, { setDescriptionId: n } = ri(), r = O();
3196
+ let t = e, { setDescriptionId: n } = ii(), r = O();
3228
3197
  return v(() => n(r)), y(() => n(void 0)), (e, n) => (b(), o("p", {
3229
3198
  id: D(r),
3230
- class: h(D(F)("text-sm text-muted-foreground", t.class))
3231
- }, [C(e.$slots, "default")], 10, ui));
3199
+ class: h(D(F)("text-sm text-text-secondary", t.class))
3200
+ }, [C(e.$slots, "default")], 10, di));
3232
3201
  }
3233
- }), fi = /* @__PURE__ */ u({
3202
+ }), pi = /* @__PURE__ */ u({
3234
3203
  __name: "ModalContent",
3235
3204
  props: { class: { type: [
3236
3205
  Boolean,
@@ -3241,9 +3210,9 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3241
3210
  ] } },
3242
3211
  setup(e) {
3243
3212
  let t = e;
3244
- return (e, n) => (b(), o("div", { class: h(D(F)("px-6 py-2 text-foreground", t.class)) }, [C(e.$slots, "default")], 2));
3213
+ return (e, n) => (b(), o("div", { class: h(D(F)("px-6 py-2 text-text-primary", t.class)) }, [C(e.$slots, "default")], 2));
3245
3214
  }
3246
- }), pi = /* @__PURE__ */ u({
3215
+ }), mi = /* @__PURE__ */ u({
3247
3216
  __name: "ModalFooter",
3248
3217
  props: { class: { type: [
3249
3218
  Boolean,
@@ -3256,7 +3225,7 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3256
3225
  let t = e;
3257
3226
  return (e, n) => (b(), o("div", { class: h(D(F)("flex items-center justify-end gap-3 px-6 pb-4 pt-2", t.class)) }, [C(e.$slots, "default")], 2));
3258
3227
  }
3259
- }), mi = /* @__PURE__ */ u({
3228
+ }), hi = /* @__PURE__ */ u({
3260
3229
  __name: "ModalClose",
3261
3230
  props: { class: { type: [
3262
3231
  Boolean,
@@ -3266,7 +3235,7 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3266
3235
  Array
3267
3236
  ] } },
3268
3237
  setup(e) {
3269
- let t = e, { attemptClose: n } = ri();
3238
+ let t = e, { attemptClose: n } = ii();
3270
3239
  return (e, r) => (b(), i(Ze, {
3271
3240
  variant: "icon",
3272
3241
  size: "icon",
@@ -3280,4 +3249,4 @@ var ti = Symbol("ModalContext"), ni = (e) => x(ti, e), ri = () => {
3280
3249
  }
3281
3250
  });
3282
3251
  //#endregion
3283
- export { Ft as Alert, Lt as AlertDescription, It as AlertTitle, rt as Avatar, $e as Badge, Ze as Button, jn as Checkbox, Hn as Combobox, Gn as ComboboxContent, qn as ComboboxEmpty, Wn as ComboboxInput, Vn as ComboboxItem, Dt as Disclosure, At as DisclosureContent, kt as DisclosureTrigger, Pn as Dropdown, In as DropdownContent, Rn as DropdownItem, Fn as DropdownTrigger, Rt as Empty, Wt as EmptyContent, Ut as EmptyDescription, zt as EmptyHeader, Vt as EmptyMedia, Ht as EmptyTitle, an as Field, fn as FieldContent, ln as FieldDescription, dn as FieldError, L as FieldKey, sn as FieldLabel, Zn as Input, it as Kbd, ot as KbdGroup, ct as Label, oi as Modal, mi as ModalClose, fi as ModalContent, di as ModalDescription, pi as ModalFooter, si as ModalHeader, li as ModalTitle, wn as MultiSelect, Dn as MultiSelectContent, Nn as MultiSelectItem, kn as MultiSelectSearch, En as MultiSelectTrigger, gt as Panel, vt as PanelContent, yt as PanelFooter, _t as PanelHeader, ir as Popover, or as PopoverContent, ar as PopoverTrigger, ht as Progress, gn as Select, yn as SelectContent, hn as SelectItem, Sn as SelectSearch, vn as SelectTrigger, dt as Separator, Jt as Sidebar, Zt as SidebarContent, Qt as SidebarFooter, en as SidebarGroup, Xt as SidebarHeader, nn as SidebarItem, qt as SidebarProvider, Yt as SidebarTrigger, ft as Skeleton, Xe as Spinner, rr as Switch, bt as Tabs, Et as TabsContent, Ct as TabsList, Tt as TabsPanels, wt as TabsTrigger, tr as Textarea, Qe as badgeVariants, qe as buttonVariants, F as cn, B as inputVariants, V as popoverVariants, I as useSidebar };
3252
+ export { Pt as Alert, It as AlertDescription, Ft as AlertTitle, rt as Avatar, $e as Badge, Ze as Button, Mn as Checkbox, Un as Combobox, Kn as ComboboxContent, Jn as ComboboxEmpty, Gn as ComboboxInput, Hn as ComboboxItem, Et as Disclosure, kt as DisclosureContent, Ot as DisclosureTrigger, Fn as Dropdown, Ln as DropdownContent, zn as DropdownItem, In as DropdownTrigger, Lt as Empty, Ut as EmptyContent, Ht as EmptyDescription, Rt as EmptyHeader, Bt as EmptyMedia, Vt as EmptyTitle, rn as Field, dn as FieldContent, cn as FieldDescription, un as FieldError, L as FieldKey, on as FieldLabel, Qn as Input, it as Kbd, ot as KbdGroup, ct as Label, si as Modal, hi as ModalClose, pi as ModalContent, fi as ModalDescription, mi as ModalFooter, ci as ModalHeader, ui as ModalTitle, Cn as MultiSelect, En as MultiSelectContent, Pn as MultiSelectItem, On as MultiSelectSearch, Tn as MultiSelectTrigger, ht as Panel, _t as PanelContent, vt as PanelFooter, gt as PanelHeader, ar as Popover, sr as PopoverContent, or as PopoverTrigger, mt as Progress, hn as Select, vn as SelectContent, mn as SelectItem, xn as SelectSearch, _n as SelectTrigger, dt as Separator, qt as Sidebar, Xt as SidebarContent, Zt as SidebarFooter, $t as SidebarGroup, Yt as SidebarHeader, tn as SidebarItem, Kt as SidebarProvider, Jt as SidebarTrigger, ft as Skeleton, Xe as Spinner, ir as Switch, yt as Tabs, Tt as TabsContent, St as TabsList, wt as TabsPanels, Ct as TabsTrigger, nr as Textarea, Qe as badgeVariants, qe as buttonVariants, F as cn, B as inputVariants, V as popoverVariants, I as useSidebar };