@versini/sassysaint 5.3.8 → 5.3.9

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.
@@ -1,25 +1,25 @@
1
- import z, { useSyncExternalStore as Ne, useCallback as O, useEffect as R, useContext as $, useRef as f, useState as I, useLayoutEffect as V, useMemo as ie, useId as Se, useReducer as Ce } from "react";
2
- import l from "clsx";
1
+ import z, { useSyncExternalStore as Ne, useCallback as O, useEffect as R, useContext as $, useRef as f, useState as I, useLayoutEffect as V, useMemo as le, useId as Se, useReducer as Ce } from "react";
2
+ import i from "clsx";
3
3
  import { jsx as c, jsxs as w, Fragment as Ae } from "react/jsx-runtime";
4
- function le(e, r) {
4
+ function ie(e, r) {
5
5
  window.dispatchEvent(new StorageEvent("storage", { key: e, newValue: r }));
6
6
  }
7
7
  const re = (e, r) => {
8
8
  const t = JSON.stringify(
9
9
  typeof r == "function" ? r() : r
10
10
  );
11
- window.localStorage.setItem(e, t), le(e, t);
11
+ window.localStorage.setItem(e, t), ie(e, t);
12
12
  }, Ie = (e) => {
13
- window.localStorage.removeItem(e), le(e, null);
13
+ window.localStorage.removeItem(e), ie(e, null);
14
14
  }, ae = (e) => window.localStorage.getItem(e), Re = (e) => (window.addEventListener("storage", e), () => window.removeEventListener("storage", e));
15
15
  function Ct({
16
16
  key: e,
17
17
  initialValue: r
18
18
  }) {
19
19
  const t = Ne(Re, () => ae(e)), a = O(
20
- (i) => {
20
+ (l) => {
21
21
  try {
22
- const s = typeof i == "function" ? i(JSON.parse(t)) : i;
22
+ const s = typeof l == "function" ? l(JSON.parse(t)) : l;
23
23
  s == null ? Ie(e) : re(e, s);
24
24
  } catch (s) {
25
25
  console.warn(s);
@@ -34,8 +34,8 @@ function Ct({
34
34
  return R(() => {
35
35
  try {
36
36
  ae(e) === null && typeof r < "u" && re(e, r);
37
- } catch (i) {
38
- console.warn(i);
37
+ } catch (l) {
38
+ console.warn(l);
39
39
  }
40
40
  }, [e, r]), [t ? JSON.parse(t) : null, a, o, n];
41
41
  }
@@ -100,18 +100,26 @@ const _ = {
100
100
  instructions
101
101
  location
102
102
  engine
103
+ tags {
104
+ enabled
105
+ slot
106
+ label
107
+ content
108
+ }
103
109
  }
104
110
  }`,
105
111
  SET_USER_PREFERENCES: `mutation SetUserPreferences(
106
112
  $user: String!,
107
113
  $instructions: String,
108
114
  $location: String,
109
- $engine: String) {
115
+ $engine: String,
116
+ $tags: [TagIn]) {
110
117
  setUserPreferences(
111
118
  user: $user,
112
119
  instructions: $instructions,
113
120
  location: $location,
114
- engine: $engine)
121
+ engine: $engine,
122
+ tags: $tags)
115
123
  }`
116
124
  }, At = {
117
125
  GET_LOCATION: {
@@ -178,10 +186,10 @@ const _ = {
178
186
  });
179
187
  if (n.status !== 200)
180
188
  return { status: n.status, data: [] };
181
- const { data: i, errors: s } = await n.json();
189
+ const { data: l, errors: s } = await n.json();
182
190
  return {
183
191
  status: n.status,
184
- data: i[r.method],
192
+ data: l[r.method],
185
193
  errors: s
186
194
  };
187
195
  } catch (o) {
@@ -237,7 +245,7 @@ const Be = (e) => {
237
245
  stickyFooter: o,
238
246
  spacing: n
239
247
  }) => ({
240
- wrapper: l(
248
+ wrapper: i(
241
249
  "not-prose relative w-full rounded-lg shadow-md",
242
250
  Be(n),
243
251
  {
@@ -250,13 +258,13 @@ const Be = (e) => {
250
258
  },
251
259
  t
252
260
  ),
253
- table: l("my-0 w-full text-left text-sm", r, {
261
+ table: i("my-0 w-full text-left text-sm", r, {
254
262
  "text-copy-light": e === "dark",
255
263
  "text-copy-dark": e === "light",
256
264
  "text-copy-light dark:text-copy-dark": e === "system",
257
265
  "text-copy-dark dark:text-copy-light": e === "alt-system"
258
266
  }),
259
- caption: l("py-2 text-sm font-bold", {
267
+ caption: i("py-2 text-sm font-bold", {
260
268
  "text-copy-light": e === "dark",
261
269
  "text-copy-dark": e === "light",
262
270
  "text-copy-light dark:text-copy-dark": e === "system",
@@ -266,7 +274,7 @@ const Be = (e) => {
266
274
  className: e,
267
275
  stickyHeader: r,
268
276
  mode: t
269
- }) => l(e, {
277
+ }) => i(e, {
270
278
  "sticky top-0 z-10": r,
271
279
  "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem]": r && t === "dark",
272
280
  "shadow-[rgb(190_190_190_/20%)_0_0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_0.5rem_1rem]": r && t === "system",
@@ -276,7 +284,7 @@ const Be = (e) => {
276
284
  className: e,
277
285
  stickyFooter: r,
278
286
  mode: t
279
- }) => l(e, {
287
+ }) => i(e, {
280
288
  "sticky bottom-0 z-10": r,
281
289
  "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem]": r && t === "dark",
282
290
  "shadow-[rgb(190_190_190_/20%)_0_-0.5rem_1rem] dark:shadow-[rgb(65_65_65_/30%)_0_-0.5rem_1rem]": r && t === "system",
@@ -286,12 +294,12 @@ const Be = (e) => {
286
294
  mode: e,
287
295
  className: r,
288
296
  cellWrapper: t
289
- }) => t === P || t === Y ? l({
297
+ }) => t === P || t === Y ? i({
290
298
  "bg-table-head-dark": e === "dark",
291
299
  "bg-table-head-light": e === "light",
292
300
  "bg-table-head-dark dark:bg-table-head-light": e === "system",
293
301
  "bg-table-head-light dark:bg-table-head-dark": e === "alt-system"
294
- }) : l("border-b last:border-0", r, {
302
+ }) : i("border-b last:border-0", r, {
295
303
  "border-table-dark": e === "dark",
296
304
  "odd:bg-table-dark-odd even:bg-table-dark-even": t === T && e === "dark",
297
305
  "border-table-light": e === "light",
@@ -305,7 +313,7 @@ const Be = (e) => {
305
313
  className: r,
306
314
  compact: t,
307
315
  mode: a
308
- }) => l(r, {
316
+ }) => i(r, {
309
317
  "text-copy-light": a === "dark",
310
318
  "text-copy-dark": a === "light",
311
319
  "text-copy-light dark:text-copy-dark": a === "system",
@@ -315,7 +323,7 @@ const Be = (e) => {
315
323
  "px-4 py-1": t
316
324
  }), Oe = ({
317
325
  buttonClassName: e
318
- }) => l("rounded-none text-sm", e), oe = "av-button", ze = (e) => {
326
+ }) => i("rounded-none text-sm", e), oe = "av-button", ze = (e) => {
319
327
  let r = "";
320
328
  if (typeof e == "number" || typeof e == "string")
321
329
  r = "m-" + e;
@@ -331,22 +339,22 @@ const Be = (e) => {
331
339
  labelLeft: a,
332
340
  align: o
333
341
  }) => {
334
- const n = "text-sm font-medium max-h-8 py-0", i = "text-base font-medium max-h-9 py-1", s = "text-lg font-medium max-h-12 py-2";
342
+ const n = "text-sm font-medium max-h-8 py-0", l = "text-base font-medium max-h-9 py-1", s = "text-lg font-medium max-h-12 py-2";
335
343
  switch (e) {
336
344
  case Pe:
337
- return l("px-4", {
345
+ return i("px-4", {
338
346
  [n]: r === "small",
339
- [i]: r === "medium",
347
+ [l]: r === "medium",
340
348
  [s]: r === "large"
341
349
  });
342
350
  case Fe:
343
- return l("px-4 text-center", {
351
+ return i("px-4 text-center", {
344
352
  [n]: r === "small",
345
- [i]: r === "medium",
353
+ [l]: r === "medium",
346
354
  [s]: r === "large"
347
355
  });
348
356
  case ce:
349
- return l("inline-flex items-center", {
357
+ return i("inline-flex items-center", {
350
358
  "justify-center": o === "center",
351
359
  "justify-start": o === "left",
352
360
  "justify-end": o === "right",
@@ -367,7 +375,7 @@ const Be = (e) => {
367
375
  if (r)
368
376
  return "not-prose rounded-full";
369
377
  if (a === "primary")
370
- return l("not-prose rounded-full", {
378
+ return i("not-prose rounded-full", {
371
379
  truncate: !t,
372
380
  "bg-action-dark text-copy-light": e === "dark",
373
381
  "bg-action-light text-copy-lighter": e === "light",
@@ -375,7 +383,7 @@ const Be = (e) => {
375
383
  "bg-action-light text-copy-lighter dark:bg-action-dark dark:text-copy-light": e === "alt-system"
376
384
  });
377
385
  if (a === "secondary")
378
- return l("not-prose rounded-full", {
386
+ return i("not-prose rounded-full", {
379
387
  truncate: !t,
380
388
  "bg-action-dark text-copy-light": e === "light",
381
389
  "bg-action-light text-copy-lighter": e === "dark",
@@ -383,7 +391,7 @@ const Be = (e) => {
383
391
  "bg-action-light text-copy-lighter dark:bg-action-dark dark:text-copy-light": e === "system"
384
392
  });
385
393
  if (a === "danger")
386
- return l("not-prose rounded-full", {
394
+ return i("not-prose rounded-full", {
387
395
  truncate: !t,
388
396
  "bg-action-danger-dark text-copy-light": e === "dark",
389
397
  "bg-action-danger-light text-copy-lighter": e === "light",
@@ -398,21 +406,21 @@ const Be = (e) => {
398
406
  if (r)
399
407
  return "";
400
408
  if (t === "primary")
401
- return l("hover:text-copy-light-hover", {
409
+ return i("hover:text-copy-light-hover", {
402
410
  "hover:bg-action-dark-hover": e === "dark",
403
411
  "hover:bg-action-light-hover": e === "light",
404
412
  "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "system",
405
413
  "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "alt-system"
406
414
  });
407
415
  if (t === "secondary")
408
- return l("hover:text-copy-light-hover", {
416
+ return i("hover:text-copy-light-hover", {
409
417
  "hover:bg-action-dark-hover": e === "light",
410
418
  "hover:bg-action-light-hover": e === "dark",
411
419
  "hover:bg-action-dark-hover dark:hover:bg-action-light-hover": e === "alt-system",
412
420
  "hover:bg-action-light-hover dark:hover:bg-action-dark-hover": e === "system"
413
421
  });
414
422
  if (t === "danger")
415
- return l("hover:text-copy-light-hover", {
423
+ return i("hover:text-copy-light-hover", {
416
424
  "hover:bg-action-danger-dark-hover": e === "dark",
417
425
  "hover:bg-action-danger-light-hover": e === "light",
418
426
  "hover:bg-action-danger-dark-hover dark:hover:bg-action-danger-light-hover": e === "system",
@@ -426,21 +434,21 @@ const Be = (e) => {
426
434
  if (r)
427
435
  return "";
428
436
  if (t === "primary")
429
- return l("active:text-copy-light-active", {
437
+ return i("active:text-copy-light-active", {
430
438
  "active:bg-action-dark-active": e === "dark",
431
439
  "active:bg-action-light-active": e === "light",
432
440
  "active:bg-action-dark-active dark:active:bg-action-light-active": e === "system",
433
441
  "active:bg-action-light-active dark:active:bg-action-dark-active": e === "alt-system"
434
442
  });
435
443
  if (t === "secondary")
436
- return l("active:text-copy-light-active", {
444
+ return i("active:text-copy-light-active", {
437
445
  "active:bg-action-dark-active": e === "light",
438
446
  "active:bg-action-light-active": e === "dark",
439
447
  "active:bg-action-dark-active dark:active:bg-action-light-active": e === "alt-system",
440
448
  "active:bg-action-light-active dark:active:bg-action-dark-active": e === "system"
441
449
  });
442
450
  if (t === "danger")
443
- return l("active:text-copy-lighter-active", {
451
+ return i("active:text-copy-lighter-active", {
444
452
  "active:bg-action-danger-dark-active": e === "dark",
445
453
  "active:bg-action-danger-light-active": e === "light",
446
454
  "active:bg-action-danger-dark-active dark:active:bg-action-danger-light-active": e === "system",
@@ -454,27 +462,27 @@ const Be = (e) => {
454
462
  if (r)
455
463
  return "border border-transparent";
456
464
  if (t === "primary")
457
- return l("border", {
465
+ return i("border", {
458
466
  "border-border-dark": e === "dark",
459
467
  "border-border-accent": e === "light",
460
468
  "border-border-dark dark:border-border-accent": e === "system",
461
469
  "border-border-accent dark:border-border-dark": e === "alt-system"
462
470
  });
463
471
  if (t === "secondary")
464
- return l("border", {
472
+ return i("border", {
465
473
  "border-border-dark": e === "light",
466
474
  "border-border-accent": e === "dark",
467
475
  "border-border-dark dark:border-border-accent": e === "alt-system",
468
476
  "border-border-accent dark:border-border-dark": e === "system"
469
477
  });
470
478
  if (t === "danger")
471
- return l("border", {
479
+ return i("border", {
472
480
  "border-border-danger-dark": e === "dark",
473
481
  "border-border-danger-medium": e === "light",
474
482
  "border-border-danger-dark dark:border-border-danger-medium": e === "system",
475
483
  "border-border-danger-medium dark:border-border-danger-dark": e === "alt-system"
476
484
  });
477
- }, Je = ({ focusMode: e }) => l("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
485
+ }, Je = ({ focusMode: e }) => i("focus:outline", "focus:outline-2", "focus:outline-offset-2", {
478
486
  "focus:outline-focus-dark": e === "dark",
479
487
  "focus:outline-focus-light": e === "light",
480
488
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
@@ -486,7 +494,7 @@ const Be = (e) => {
486
494
  mode: a,
487
495
  focusMode: o,
488
496
  disabled: n,
489
- fullWidth: i,
497
+ fullWidth: l,
490
498
  size: s,
491
499
  noBorder: d,
492
500
  labelRight: m,
@@ -496,7 +504,7 @@ const Be = (e) => {
496
504
  variant: h,
497
505
  noTruncate: b,
498
506
  align: x
499
- }) => (h || (h = "primary"), t ? l(oe, r) : l(
507
+ }) => (h || (h = "primary"), t ? i(oe, r) : i(
500
508
  oe,
501
509
  r,
502
510
  ze(p),
@@ -507,7 +515,7 @@ const Be = (e) => {
507
515
  je({ mode: a, variant: h, disabled: n }),
508
516
  We({ mode: a, variant: h, disabled: n }),
509
517
  {
510
- "w-full": i,
518
+ "w-full": l,
511
519
  "disabled:cursor-not-allowed disabled:opacity-50": n
512
520
  }
513
521
  )), Ye = (e, r, t) => {
@@ -548,7 +556,7 @@ const ue = z.forwardRef(
548
556
  focusMode: a = "system",
549
557
  fullWidth: o = !1,
550
558
  className: n,
551
- type: i = "button",
559
+ type: l = "button",
552
560
  raw: s = !1,
553
561
  noBorder: d = !1,
554
562
  "aria-label": m,
@@ -577,12 +585,12 @@ const ue = z.forwardRef(
577
585
  spacing: b,
578
586
  noBackground: x,
579
587
  align: S
580
- }), G = l({
588
+ }), G = i({
581
589
  "text-copy-accent-dark": t === "light" && !s,
582
590
  "text-copy-light": t === "dark" && !s,
583
591
  "text-copy-accent-dark dark:text-copy-light": t === "alt-system" && !s,
584
592
  "text-copy-light dark:text-copy-accent-dark": t === "system" && !s
585
- }), D = B ? l(
593
+ }), D = B ? i(
586
594
  "relative",
587
595
  "focus-within:static",
588
596
  "focus-within:after:border-transparent",
@@ -605,7 +613,7 @@ const ue = z.forwardRef(
605
613
  ref: L,
606
614
  className: F,
607
615
  disabled: r,
608
- type: i,
616
+ type: l,
609
617
  "aria-label": m || u,
610
618
  ...H,
611
619
  children: [
@@ -634,12 +642,12 @@ const Xe = (e) => {
634
642
  className: a,
635
643
  defaultViewBox: o,
636
644
  defaultClassName: n,
637
- spacing: i,
645
+ spacing: l,
638
646
  title: s,
639
647
  semantic: d = !1,
640
648
  ...m
641
649
  }) => {
642
- const u = Xe(i), p = l(
650
+ const u = Xe(l), p = i(
643
651
  u,
644
652
  a || n
645
653
  );
@@ -785,7 +793,7 @@ const N = z.createContext({
785
793
  compact: a,
786
794
  summary: o,
787
795
  className: n,
788
- wrapperClassName: i,
796
+ wrapperClassName: l,
789
797
  maxHeight: s,
790
798
  stickyHeader: d,
791
799
  stickyFooter: m,
@@ -795,7 +803,7 @@ const N = z.createContext({
795
803
  const g = He({
796
804
  mode: r,
797
805
  className: n,
798
- wrapperClassName: i,
806
+ wrapperClassName: l,
799
807
  stickyHeader: d,
800
808
  stickyFooter: m,
801
809
  spacing: u
@@ -865,13 +873,13 @@ const N = z.createContext({
865
873
  className: t,
866
874
  ...a
867
875
  }) => {
868
- const o = $(N), n = r || (o.cellWrapper === P ? "th" : "td"), i = Me({
876
+ const o = $(N), n = r || (o.cellWrapper === P ? "th" : "td"), l = Me({
869
877
  cellWrapper: o.cellWrapper,
870
878
  className: t,
871
879
  mode: o.mode,
872
880
  compact: o.compact
873
881
  });
874
- return /* @__PURE__ */ c(n, { className: i, ...a, children: e });
882
+ return /* @__PURE__ */ c(n, { className: l, ...a, children: e });
875
883
  }, Vt = ({
876
884
  align: e,
877
885
  children: r,
@@ -879,7 +887,7 @@ const N = z.createContext({
879
887
  className: a,
880
888
  component: o,
881
889
  focusMode: n = "alt-system",
882
- mode: i = "alt-system",
890
+ mode: l = "alt-system",
883
891
  onClick: s,
884
892
  sortDirection: d,
885
893
  sortedCell: m,
@@ -904,7 +912,7 @@ const N = z.createContext({
904
912
  align: e,
905
913
  noBorder: !0,
906
914
  focusMode: n,
907
- mode: i,
915
+ mode: l,
908
916
  fullWidth: !0,
909
917
  labelRight: r,
910
918
  children: d === M.ASC && m === u ? /* @__PURE__ */ c(et, { className: "size-4", monotone: !0 }) : d === M.DESC && m === u ? /* @__PURE__ */ c(Ze, { className: "size-4", monotone: !0 }) : /* @__PURE__ */ c(Ke, { className: "size-4", monotone: !0 })
@@ -934,14 +942,14 @@ function ot() {
934
942
  }), []), O(() => e.current, []);
935
943
  }
936
944
  function nt(e) {
937
- return ie(() => e.every((r) => r == null) ? () => {
945
+ return le(() => e.every((r) => r == null) ? () => {
938
946
  } : (r) => {
939
947
  e.forEach((t) => {
940
948
  typeof t == "function" ? t(r) : t != null && (t.current = r);
941
949
  });
942
950
  }, e);
943
951
  }
944
- const it = {
952
+ const lt = {
945
953
  x: 0,
946
954
  y: 0,
947
955
  width: 0,
@@ -951,16 +959,16 @@ const it = {
951
959
  bottom: 0,
952
960
  right: 0
953
961
  };
954
- function lt(e) {
955
- const r = ot(), t = f(0), a = f(null), [o, n] = I(it), i = ie(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
962
+ function it(e) {
963
+ const r = ot(), t = f(0), a = f(null), [o, n] = I(lt), l = le(() => typeof ResizeObserver > "u" ? null : new ResizeObserver((s) => {
956
964
  const d = s[0];
957
965
  d && (cancelAnimationFrame(t.current), t.current = requestAnimationFrame(() => {
958
966
  a.current && r() && n(d.contentRect);
959
967
  }));
960
968
  }), [r]);
961
- return R(() => (a.current && (i == null || i.observe(a.current, e)), () => {
962
- i == null || i.disconnect(), t.current && cancelAnimationFrame(t.current);
963
- }), [i, e]), [a, o];
969
+ return R(() => (a.current && (l == null || l.observe(a.current, e)), () => {
970
+ l == null || l.disconnect(), t.current && cancelAnimationFrame(t.current);
971
+ }), [l, e]), [a, o];
964
972
  }
965
973
  function st({
966
974
  value: e,
@@ -970,7 +978,7 @@ function st({
970
978
  },
971
979
  initialControlledDelay: o = 0
972
980
  }) {
973
- const [n, i] = I(!1), [s, d] = I(
981
+ const [n, l] = I(!1), [s, d] = I(
974
982
  r !== void 0 ? r : t
975
983
  ), m = (u) => {
976
984
  d(u), a == null || a(u);
@@ -978,7 +986,7 @@ function st({
978
986
  return R(() => {
979
987
  (async () => e !== void 0 && !n && o > 0 && (await new Promise(
980
988
  (u) => setTimeout(u, o)
981
- ), i(!0)))();
989
+ ), l(!0)))();
982
990
  }, [e, o, n]), e !== void 0 ? !n && o > 0 ? ["", a, !0] : [e, a, !0] : [s, m, !1];
983
991
  }
984
992
  function ct(e) {
@@ -1046,20 +1054,20 @@ const he = "SET_ANNOUNCEMENT", ge = "CLEAR_ANNOUNCEMENT", dt = {
1046
1054
  clearAnnouncementDelay: a,
1047
1055
  clearAnnouncementTimeoutRef: o,
1048
1056
  onAnnouncementClear: n,
1049
- dispatch: i
1057
+ dispatch: l
1050
1058
  }) => {
1051
1059
  clearTimeout(r.current), t ? r.current = setTimeout(ne, t, {
1052
1060
  children: e,
1053
1061
  clearAnnouncementDelay: a,
1054
1062
  clearAnnouncementTimeoutRef: o,
1055
1063
  onAnnouncementClear: n,
1056
- dispatch: i
1064
+ dispatch: l
1057
1065
  }) : ne({
1058
1066
  children: e,
1059
1067
  clearAnnouncementDelay: a,
1060
1068
  clearAnnouncementTimeoutRef: o,
1061
1069
  onAnnouncementClear: n,
1062
- dispatch: i
1070
+ dispatch: l
1063
1071
  });
1064
1072
  };
1065
1073
  function gt({
@@ -1069,7 +1077,7 @@ function gt({
1069
1077
  role: a = null,
1070
1078
  announcementDelay: o,
1071
1079
  clearAnnouncementDelay: n,
1072
- onAnnouncementClear: i,
1080
+ onAnnouncementClear: l,
1073
1081
  visible: s,
1074
1082
  ...d
1075
1083
  }) {
@@ -1084,16 +1092,16 @@ function gt({
1084
1092
  children: e,
1085
1093
  clearAnnouncementDelay: n,
1086
1094
  clearAnnouncementTimeoutRef: u,
1087
- onAnnouncementClear: i,
1095
+ onAnnouncementClear: l,
1088
1096
  dispatch: g
1089
1097
  });
1090
1098
  }, [
1091
1099
  e,
1092
1100
  o,
1093
1101
  n,
1094
- i
1102
+ l
1095
1103
  ]);
1096
- const b = l(r, {
1104
+ const b = i(r, {
1097
1105
  "sr-only": !s
1098
1106
  });
1099
1107
  return /* @__PURE__ */ c(
@@ -1132,14 +1140,14 @@ try {
1132
1140
  }
1133
1141
  const bt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hidden px-4 py-7", yt = ({
1134
1142
  mode: e
1135
- }) => l({
1143
+ }) => i({
1136
1144
  "bg-surface-darker text-copy-lighter caret-copy-light": e === "dark",
1137
1145
  "bg-surface-lighter text-copy-dark caret-copy-dark": e === "light",
1138
1146
  "bg-surface-lighter text-copy-dark caret-copy-dark dark:bg-surface-darker dark:text-copy-lighter dark:caret-copy-light": e === "system",
1139
1147
  "bg-surface-darker text-copy-lighter caret-copy-light dark:bg-surface-lighter dark:text-copy-dark dark:caret-copy-dark": e === "alt-system"
1140
1148
  }), ft = ({
1141
1149
  focusMode: e
1142
- }) => l("focus:outline focus:outline-2 focus:outline-offset-2", {
1150
+ }) => i("focus:outline focus:outline-2 focus:outline-offset-2", {
1143
1151
  "focus:outline-focus-dark": e === "dark",
1144
1152
  "focus:outline-focus-light": e === "light",
1145
1153
  "focus:outline-focus-light dark:focus:outline-focus-dark": e === "alt-system",
@@ -1147,7 +1155,7 @@ const bt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1147
1155
  }), kt = ({
1148
1156
  noBorder: e,
1149
1157
  error: r
1150
- }) => l("border-2", {
1158
+ }) => i("border-2", {
1151
1159
  "border-border-dark": !e && !r,
1152
1160
  "focus:border-border-dark": !e && r,
1153
1161
  "border-border-error-dark": !e && r,
@@ -1161,16 +1169,16 @@ const bt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1161
1169
  if (r)
1162
1170
  return "";
1163
1171
  if (e)
1164
- return l("absolute px-2 cursor-not-allowed opacity-50 font-medium");
1172
+ return i("absolute px-2 cursor-not-allowed opacity-50 font-medium");
1165
1173
  if (!t)
1166
- return l("absolute px-2 cursor-text font-medium", {
1174
+ return i("absolute px-2 cursor-text font-medium", {
1167
1175
  "text-copy-medium": a === "dark",
1168
1176
  "text-copy-dark": a === "light",
1169
1177
  "text-copy-dark dark:text-copy-medium": a === "system",
1170
1178
  "text-copy-medium dark:text-copy-dark": a === "alt-system"
1171
1179
  });
1172
1180
  if (t)
1173
- return l("absolute px-2 cursor-text font-medium", {
1181
+ return i("absolute px-2 cursor-text font-medium", {
1174
1182
  "text-copy-medium": a === "dark",
1175
1183
  "text-copy-error-dark": a === "light",
1176
1184
  "text-copy-error-dark dark:text-copy-error-light": a === "system",
@@ -1185,19 +1193,19 @@ const bt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1185
1193
  if (r)
1186
1194
  return "";
1187
1195
  if (a)
1188
- return l(
1196
+ return i(
1189
1197
  Q,
1190
1198
  "absolute px-2 cursor-not-allowed opacity-50 font-medium"
1191
1199
  );
1192
1200
  if (!e)
1193
- return l(Q, "absolute px-2 font-medium", {
1201
+ return i(Q, "absolute px-2 font-medium", {
1194
1202
  "text-copy-medium": t === "dark",
1195
1203
  "text-copy-dark": t === "light",
1196
1204
  "text-copy-dark dark:text-copy-medium": t === "system",
1197
1205
  "text-copy-medium dark:text-copy-dark": t === "alt-system"
1198
1206
  });
1199
1207
  if (e)
1200
- return l(Q, "absolute px-2 font-medium", {
1208
+ return i(Q, "absolute px-2 font-medium", {
1201
1209
  "text-copy-error-light": t === "dark",
1202
1210
  "text-copy-error-dark": t === "light",
1203
1211
  "text-copy-error-dark dark:text-copy-error-light": t === "system",
@@ -1210,16 +1218,16 @@ const bt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1210
1218
  focusMode: a,
1211
1219
  disabled: o,
1212
1220
  noBorder: n,
1213
- error: i,
1221
+ error: l,
1214
1222
  spacing: s,
1215
1223
  mode: d
1216
1224
  }) => {
1217
- const m = t ? e : l(
1225
+ const m = t ? e : i(
1218
1226
  "relative flex w-full flex-col justify-center",
1219
1227
  rt,
1220
1228
  e,
1221
1229
  pt(s)
1222
- ), u = t ? l(r) : l(
1230
+ ), u = t ? i(r) : i(
1223
1231
  me,
1224
1232
  r,
1225
1233
  bt(),
@@ -1227,7 +1235,7 @@ const bt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1227
1235
  ft({ focusMode: a }),
1228
1236
  kt({
1229
1237
  noBorder: n,
1230
- error: i
1238
+ error: l
1231
1239
  }),
1232
1240
  {
1233
1241
  "disabled:cursor-not-allowed disabled:opacity-50": o
@@ -1235,14 +1243,14 @@ const bt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1235
1243
  ), p = t ? void 0 : "sr-only", g = vt({
1236
1244
  disabled: o,
1237
1245
  raw: t,
1238
- error: i,
1246
+ error: l,
1239
1247
  mode: d
1240
1248
  }), h = _t({
1241
- error: i,
1249
+ error: l,
1242
1250
  raw: t,
1243
1251
  mode: d,
1244
1252
  disabled: o
1245
- }), b = t ? void 0 : l(at, "absolute");
1253
+ }), b = t ? void 0 : i(at, "absolute");
1246
1254
  return {
1247
1255
  wrapper: m,
1248
1256
  textArea: u,
@@ -1259,8 +1267,8 @@ const bt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1259
1267
  }) => {
1260
1268
  let o, n;
1261
1269
  if (e > 0 && e !== r) {
1262
- const i = e - r, s = Math.abs(i / 24);
1263
- o = t + -1 * Math.sign(i) * (12 * s), n = a + Math.sign(i) * (12 * s);
1270
+ const l = e - r, s = Math.abs(l / 24);
1271
+ o = t + -1 * Math.sign(l) * (12 * s), n = a + Math.sign(l) * (12 * s);
1264
1272
  }
1265
1273
  return {
1266
1274
  labelOffset: o,
@@ -1275,7 +1283,7 @@ const bt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1275
1283
  error: a = !1,
1276
1284
  raw: o = !1,
1277
1285
  className: n,
1278
- textAreaClassName: i,
1286
+ textAreaClassName: l,
1279
1287
  mode: s = "system",
1280
1288
  focusMode: d = "system",
1281
1289
  value: m,
@@ -1292,11 +1300,11 @@ const bt = () => "rounded-md text-base h-20 min-h-[80px] resize-none overflow-hi
1292
1300
  spacing: F,
1293
1301
  ...G
1294
1302
  }, D) => {
1295
- const k = f(null), pe = nt([D, k]), [be, U] = lt(), j = f(80), K = f(-25), C = f(null), Z = f(30), W = f(null), A = ct({ id: e, prefix: `${me}-` }), [ye, fe] = I(0), [ke, ee] = I(
1303
+ const k = f(null), pe = nt([D, k]), [be, U] = it(), j = f(80), K = f(-25), C = f(null), Z = f(30), W = f(null), A = ct({ id: e, prefix: `${me}-` }), [ye, fe] = I(0), [ke, ee] = I(
1296
1304
  !!(!x && b)
1297
1305
  ), ve = `${r} error, ${b}`, E = xt({
1298
1306
  className: n,
1299
- textAreaClassName: i,
1307
+ textAreaClassName: l,
1300
1308
  error: a,
1301
1309
  raw: o,
1302
1310
  focusMode: d,
@@ -1,5 +1,5 @@
1
1
  import "react/jsx-runtime";
2
- import { SassySaint as a } from "../../chunks/index.BsmLg4en.js";
2
+ import { SassySaint as a } from "../../chunks/index.BiQ5lu6V.js";
3
3
  export {
4
4
  a as SassySaint
5
5
  };