@strapi/design-system 2.2.4 → 2.3.0-alpha.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,19 +1,21 @@
1
- import { styled as u, css as T, keyframes as Q, useTheme as Vn, createGlobalStyle as jn, ThemeProvider as _n } from "styled-components";
1
+ import { styled as u, css as T, keyframes as Q, useTheme as Hn, createGlobalStyle as Vn, ThemeProvider as jn } from "styled-components";
2
2
  import * as s from "react";
3
- import { useId as Un, useRef as Gt, useState as gt, useEffect as mr, startTransition as qt, useMemo as br, Children as Gn, useCallback as qn, useLayoutEffect as Kn } from "react";
4
- import { useCallbackRef as $r } from "@radix-ui/react-use-callback-ref";
5
- import { DateFormatter as Yn, getLocalTimeZone as pt, today as Tt, parseAbsolute as Qn, toCalendarDate as Xn, minDate as mt, maxDate as bt, startOfMonth as Zn, startOfWeek as xr, getDayOfWeek as Jn, isSameDay as wr, endOfMonth as eo, parseAbsoluteToLocal as to, toCalendarDateTime as ro } from "@internationalized/date";
3
+ import { useId as _n, useRef as Gt, useState as gt, useEffect as Un, startTransition as qt, useMemo as mr, Children as Gn, useCallback as qn } from "react";
4
+ import { useCallbackRef as br } from "@radix-ui/react-use-callback-ref";
5
+ import { DateFormatter as Kn, getLocalTimeZone as pt, today as Tt, parseAbsolute as Yn, toCalendarDate as Qn, minDate as mt, maxDate as bt, startOfMonth as Xn, startOfWeek as $r, getDayOfWeek as Zn, isSameDay as xr, endOfMonth as Jn, parseAbsoluteToLocal as eo, toCalendarDateTime as to } from "@internationalized/date";
6
+ import { u as ro, a as fe } from "./useColorScheme-CkO08j1W.js";
7
+ import { i as Su } from "./useColorScheme-CkO08j1W.js";
6
8
  import { jsx as r, jsxs as x, Fragment as It } from "react/jsx-runtime";
7
9
  import * as me from "@radix-ui/react-tooltip";
8
10
  import { Provider as no } from "@radix-ui/react-tooltip";
9
11
  import * as oo from "@radix-ui/react-dismissable-layer";
10
- import { useCallbackRef as yr, Combobox as ie, Select as le, composeEventHandlers as Se, usePrev as ao } from "@strapi/ui-primitives";
11
- import { composeEventHandlers as Su, useCallbackRef as Ru, useCollator as Tu, useFilter as Iu } from "@strapi/ui-primitives";
12
+ import { useCallbackRef as wr, Combobox as ie, Select as le, composeEventHandlers as Se, usePrev as ao } from "@strapi/ui-primitives";
13
+ import { composeEventHandlers as Tu, useCallbackRef as Iu, useCollator as Du, useFilter as Eu } from "@strapi/ui-primitives";
12
14
  import * as Ge from "@radix-ui/react-accordion";
13
- import { CaretDown as ge, Cross as Te, CheckCircle as io, WarningCircle as so, Information as lo, Loader as Cr, ExternalLink as co, ChevronRight as Dt, Minus as uo, ChevronLeft as vr, Calendar as ho, Clock as fo, Search as kr } from "@strapi/icons";
15
+ import { CaretDown as ge, Cross as Te, CheckCircle as io, WarningCircle as so, Information as lo, Loader as yr, ExternalLink as co, ChevronRight as Dt, Minus as uo, ChevronLeft as Cr, Calendar as ho, Clock as fo, Search as vr } from "@strapi/icons";
14
16
  import * as Et from "@radix-ui/react-avatar";
15
17
  import * as se from "@radix-ui/react-dropdown-menu";
16
- import * as Sr from "@radix-ui/react-checkbox";
18
+ import * as kr from "@radix-ui/react-checkbox";
17
19
  import { useVirtualizer as go } from "@tanstack/react-virtual";
18
20
  import * as tt from "@radix-ui/react-scroll-area";
19
21
  import * as pe from "@radix-ui/react-alert-dialog";
@@ -24,14 +26,14 @@ import { RemoveScroll as Co } from "react-remove-scroll";
24
26
  import { createPortal as vo } from "react-dom";
25
27
  import { json as ko, jsonParseLinter as So } from "@codemirror/lang-json";
26
28
  import { useCodeMirror as Ro } from "@uiw/react-codemirror";
27
- import { StateField as To, StateEffect as Rr } from "@codemirror/state";
28
- import { EditorView as Io, Decoration as Tr } from "@codemirror/view";
29
+ import { StateField as To, StateEffect as Sr } from "@codemirror/state";
30
+ import { EditorView as Io, Decoration as Rr } from "@codemirror/view";
29
31
  import * as Ie from "@radix-ui/react-dialog";
30
32
  import { NumberParser as Do, NumberFormatter as Eo } from "@internationalized/number";
31
33
  import * as Me from "@radix-ui/react-popover";
32
- import * as Ir from "@radix-ui/react-progress";
34
+ import * as Tr from "@radix-ui/react-progress";
33
35
  import * as At from "@radix-ui/react-radio-group";
34
- import * as Dr from "@radix-ui/react-switch";
36
+ import * as Ir from "@radix-ui/react-switch";
35
37
  import * as rt from "@radix-ui/react-tabs";
36
38
  import { cloneDeep as Kt, assignWith as Ao, merge as zo } from "lodash";
37
39
  const Be = (e, t) => {
@@ -353,7 +355,7 @@ const Oe = (e, t) => {
353
355
  },
354
356
  e
355
357
  )};
356
- `, No = "alpha", Wo = "beta", Fo = "delta", Ho = "epsilon", Xt = "omega", Vo = "pi", jo = "sigma", Er = T`
358
+ `, No = "alpha", Wo = "beta", Fo = "delta", Ho = "epsilon", Xt = "omega", Vo = "pi", jo = "sigma", Dr = T`
357
359
  display: block;
358
360
  white-space: nowrap;
359
361
  overflow: hidden;
@@ -583,7 +585,7 @@ const Oe = (e, t) => {
583
585
  }
584
586
  ), Uo = u(S)`
585
587
  ${({ $variant: e, $fontSize: t, $lineHeight: n, theme: o }) => _o({ $variant: e, theme: o, $fontSize: t, $lineHeight: n })}
586
- ${({ $ellipsis: e }) => e ? Er : ""}
588
+ ${({ $ellipsis: e }) => e ? Dr : ""}
587
589
 
588
590
  ${({ theme: e, ...t }) => Oe(
589
591
  {
@@ -652,10 +654,10 @@ const Oe = (e, t) => {
652
654
  `, Xo = s.forwardRef(
653
655
  ({ caretPosition: e = "left", description: t, icon: n, iconProps: o, children: a, ...i }, l) => {
654
656
  const { size: c } = zt("Trigger");
655
- return /* @__PURE__ */ x(zr, { $caretPosition: e, $size: c, ref: l, ...i, children: [
657
+ return /* @__PURE__ */ x(Ar, { $caretPosition: e, $size: c, ref: l, ...i, children: [
656
658
  e === "left" ? /* @__PURE__ */ r(et, { $size: c, children: /* @__PURE__ */ r(ge, { width: c === "S" ? "1.2rem" : "1.6rem", height: c === "S" ? "1.2rem" : "1.6rem" }) }) : null,
657
659
  /* @__PURE__ */ x(C, { tag: "span", gap: 2, overflow: "hidden", children: [
658
- n && c === "S" ? /* @__PURE__ */ r(Ar, { children: /* @__PURE__ */ r(n, { ...o }) }) : null,
660
+ n && c === "S" ? /* @__PURE__ */ r(Er, { children: /* @__PURE__ */ r(n, { ...o }) }) : null,
659
661
  /* @__PURE__ */ x(C, { alignItems: "flex-start", direction: "column", tag: "span", ref: l, overflow: "hidden", children: [
660
662
  /* @__PURE__ */ r(
661
663
  A,
@@ -674,7 +676,7 @@ const Oe = (e, t) => {
674
676
  e === "right" ? /* @__PURE__ */ r(et, { $size: c, children: /* @__PURE__ */ r(ge, { width: c === "S" ? "1.2rem" : "1.6rem", height: c === "S" ? "1.2rem" : "1.6rem" }) }) : null
675
677
  ] });
676
678
  }
677
- ), Ar = u(S)`
679
+ ), Er = u(S)`
678
680
  color: ${(e) => e.theme.colors.neutral500};
679
681
  display: flex;
680
682
 
@@ -697,7 +699,7 @@ const Oe = (e, t) => {
697
699
  transform ${(e) => e.theme.motion.timings[200]} ${(e) => e.theme.motion.easings.authenticMotion},
698
700
  ${(e) => e.theme.transitions.backgroundColor};
699
701
  }
700
- `, zr = u(Ge.Trigger)`
702
+ `, Ar = u(Ge.Trigger)`
701
703
  display: flex;
702
704
  align-items: center;
703
705
  justify-content: ${(e) => e.$caretPosition === "left" ? "flex-start" : "space-between"};
@@ -728,8 +730,8 @@ const Oe = (e, t) => {
728
730
  }
729
731
  `, Zo = s.forwardRef((e, t) => {
730
732
  const { size: n } = zt("Trigger");
731
- return /* @__PURE__ */ r(Or, { $size: n, ...e, ref: t });
732
- }), Or = u(C).attrs((e) => ({
733
+ return /* @__PURE__ */ r(zr, { $size: n, ...e, ref: t });
734
+ }), zr = u(C).attrs((e) => ({
733
735
  ...e,
734
736
  tag: "span"
735
737
  }))`
@@ -760,10 +762,10 @@ const Oe = (e, t) => {
760
762
  &[data-state='open'] {
761
763
  background-color: ${(e) => e.theme.colors.primary100};
762
764
 
763
- & > ${zr} {
765
+ & > ${Ar} {
764
766
  color: ${(e) => e.theme.colors.primary600};
765
767
 
766
- & ${Ar} {
768
+ & ${Er} {
767
769
  color: ${(e) => e.theme.colors.primary600};
768
770
  }
769
771
 
@@ -772,7 +774,7 @@ const Oe = (e, t) => {
772
774
  }
773
775
  }
774
776
 
775
- & > ${Or} > button {
777
+ & > ${zr} > button {
776
778
  color: ${(e) => e.theme.colors.primary600};
777
779
  }
778
780
  }
@@ -870,7 +872,7 @@ const Oe = (e, t) => {
870
872
  ] });
871
873
  };
872
874
  Le.displayName = "AccessibleIcon";
873
- const Lr = (e) => {
875
+ const Or = (e) => {
874
876
  switch (e) {
875
877
  case "danger":
876
878
  return "danger100";
@@ -881,7 +883,7 @@ const Lr = (e) => {
881
883
  default:
882
884
  return "primary100";
883
885
  }
884
- }, ia = (e) => Lr(e).replace("100", "200"), $t = ({ theme: e, $variant: t }) => t === "danger" ? e.colors.danger700 : t === "success" ? e.colors.success700 : t === "warning" ? e.colors.warning700 : e.colors.primary700, sa = u(S)`
886
+ }, ia = (e) => Or(e).replace("100", "200"), $t = ({ theme: e, $variant: t }) => t === "danger" ? e.colors.danger700 : t === "success" ? e.colors.success700 : t === "warning" ? e.colors.warning700 : e.colors.primary700, sa = u(S)`
885
887
  ${nt};
886
888
  `, la = u(C)`
887
889
  svg {
@@ -913,7 +915,7 @@ const Lr = (e) => {
913
915
  C,
914
916
  {
915
917
  alignItems: "flex-start",
916
- background: Lr(n),
918
+ background: Or(n),
917
919
  borderColor: ia(n),
918
920
  shadow: "filterShadow",
919
921
  gap: 3,
@@ -957,7 +959,7 @@ const Lr = (e) => {
957
959
  );
958
960
  function de({ prop: e, defaultProp: t, onChange: n = () => {
959
961
  } }) {
960
- const [o, a] = Pr({ defaultProp: t, onChange: n }), i = e !== void 0, l = i ? e : o, c = $r(n), d = s.useCallback(
962
+ const [o, a] = Lr({ defaultProp: t, onChange: n }), i = e !== void 0, l = i ? e : o, c = br(n), d = s.useCallback(
961
963
  (h) => {
962
964
  if (i) {
963
965
  const g = typeof h == "function" ? h(e) : h;
@@ -969,8 +971,8 @@ function de({ prop: e, defaultProp: t, onChange: n = () => {
969
971
  );
970
972
  return [l, d];
971
973
  }
972
- function Pr({ defaultProp: e, onChange: t }) {
973
- const n = s.useState(e), [o] = n, a = s.useRef(o), i = $r(t);
974
+ function Lr({ defaultProp: e, onChange: t }) {
975
+ const n = s.useState(e), [o] = n, a = s.useRef(o), i = br(t);
974
976
  return s.useEffect(() => {
975
977
  a.current !== o && (i(o), a.current = o);
976
978
  }, [o, a, i]), n;
@@ -1140,7 +1142,7 @@ const xt = {
1140
1142
  v ? /* @__PURE__ */ r(me.Portal, { children: /* @__PURE__ */ r(pa, { side: "top", sideOffset: 4, children: /* @__PURE__ */ r(ma, { src: n, alt: o, crossOrigin: a }) }) }) : null
1141
1143
  ] });
1142
1144
  }
1143
- ), Mr = T`
1145
+ ), Pr = T`
1144
1146
  display: inline-flex;
1145
1147
  align-items: center;
1146
1148
  justify-content: center;
@@ -1149,7 +1151,7 @@ const xt = {
1149
1151
  user-select: none;
1150
1152
  overflow: hidden;
1151
1153
  border-radius: 50%;
1152
- `, Br = T`
1154
+ `, Mr = T`
1153
1155
  width: 100%;
1154
1156
  height: 100%;
1155
1157
  object-fit: cover;
@@ -1157,7 +1159,7 @@ const xt = {
1157
1159
  `, yt = u(Et.Root)`
1158
1160
  position: relative;
1159
1161
  z-index: 0;
1160
- ${Mr}
1162
+ ${Pr}
1161
1163
  width: ${Ue / 10}rem;
1162
1164
  height: ${Ue / 10}rem;
1163
1165
  /* TODO: we should get the user email & hash it to turn it into a hex-value so different emails can consistently get a different background */
@@ -1169,9 +1171,9 @@ const xt = {
1169
1171
  ${(e) => e.theme.motion.easings.authenticMotion};
1170
1172
  }
1171
1173
  `, ga = u(Et.Image)`
1172
- ${Br}
1173
- `, pa = u(me.Content)`
1174
1174
  ${Mr}
1175
+ `, pa = u(me.Content)`
1176
+ ${Pr}
1175
1177
  width: ${Ue * Zt / 10}rem;
1176
1178
  height: ${Ue * Zt / 10}rem;
1177
1179
 
@@ -1180,7 +1182,7 @@ const xt = {
1180
1182
  ${(e) => e.theme.motion.easings.authenticMotion};
1181
1183
  }
1182
1184
  `, ma = u.img`
1183
- ${Br}
1185
+ ${Mr}
1184
1186
  `, ba = s.forwardRef((e, t) => /* @__PURE__ */ r($a, { ...e, ref: t, tag: "div" })), $a = u(C)`
1185
1187
  & > ${yt} + ${yt} {
1186
1188
  margin-left: -${Ue / 10 / 2}rem;
@@ -1189,7 +1191,7 @@ const xt = {
1189
1191
  __proto__: null,
1190
1192
  Group: ba,
1191
1193
  Item: ha
1192
- }, Symbol.toStringTag, { value: "Module" })), Nr = ({
1194
+ }, Symbol.toStringTag, { value: "Module" })), Br = ({
1193
1195
  active: e = !1,
1194
1196
  size: t = "M",
1195
1197
  textColor: n = "neutral600",
@@ -1252,8 +1254,8 @@ const xt = {
1252
1254
  ...o
1253
1255
  }
1254
1256
  )
1255
- ), Wr = () => /* @__PURE__ */ r(S, { "aria-hidden": !0, paddingLeft: 1, paddingRight: 1, children: /* @__PURE__ */ r(A, { variant: "pi", textColor: "neutral500", children: "/" }) });
1256
- Wr.displayName = "Divider";
1257
+ ), Nr = () => /* @__PURE__ */ r(S, { "aria-hidden": !0, paddingLeft: 1, paddingRight: 1, children: /* @__PURE__ */ r(A, { variant: "pi", textColor: "neutral500", children: "/" }) });
1258
+ Nr.displayName = "Divider";
1257
1259
  const ya = u(C)`
1258
1260
  // CrumbLinks do have padding-x, because they need to have a
1259
1261
  // interaction effect, which mis-aligns the breadcrumbs on the left.
@@ -1269,7 +1271,7 @@ const ya = u(C)`
1269
1271
  const c = a.length > 1 && l + 1 < a.length;
1270
1272
  return /* @__PURE__ */ x(C, { inline: !0, tag: "li", children: [
1271
1273
  i,
1272
- c && /* @__PURE__ */ r(Wr, {})
1274
+ c && /* @__PURE__ */ r(Nr, {})
1273
1275
  ] });
1274
1276
  }) }) });
1275
1277
  }
@@ -1308,18 +1310,18 @@ const Pe = (e) => e.replaceAll(":", "");
1308
1310
  function Ra(e, t) {
1309
1311
  typeof e == "function" ? e(t) : e != null && (e.current = t);
1310
1312
  }
1311
- function Fr(...e) {
1313
+ function Wr(...e) {
1312
1314
  return (t) => e.forEach((n) => Ra(n, t));
1313
1315
  }
1314
1316
  function te(...e) {
1315
- return s.useCallback(Fr(...e), e);
1317
+ return s.useCallback(Wr(...e), e);
1316
1318
  }
1317
1319
  function re(e) {
1318
- const t = Un();
1320
+ const t = _n();
1319
1321
  return (e == null ? void 0 : e.toString()) ?? t;
1320
1322
  }
1321
1323
  const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1322
- const a = yr(t);
1324
+ const a = wr(t);
1323
1325
  s.useEffect(() => {
1324
1326
  if (o || !e.current) return;
1325
1327
  const i = {
@@ -1334,12 +1336,12 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1334
1336
  c.disconnect();
1335
1337
  };
1336
1338
  }, [o, a, n, e]);
1337
- }, Ot = "success-light", Lt = "danger-light", ot = "default", Ye = "tertiary", Qe = "secondary", Hr = "danger", Vr = "success", at = "ghost", Pt = [Ot, Lt], Ta = [ot, Ye, Qe, Hr, Vr, at, ...Pt], Ia = ["XS", "S", "M", "L"], ae = (e) => e === Ot || e === Lt ? `${e.substring(0, e.lastIndexOf("-"))}` : e === Ye ? "neutral" : e === ot || e === Qe || Ta.every((t) => t !== e) ? "primary" : `${e}`, jr = ({ theme: e }) => T`
1339
+ }, Ot = "success-light", Lt = "danger-light", ot = "default", Ye = "tertiary", Qe = "secondary", Fr = "danger", Hr = "success", at = "ghost", Pt = [Ot, Lt], Ta = [ot, Ye, Qe, Fr, Hr, at, ...Pt], Ia = ["XS", "S", "M", "L"], ae = (e) => e === Ot || e === Lt ? `${e.substring(0, e.lastIndexOf("-"))}` : e === Ye ? "neutral" : e === ot || e === Qe || Ta.every((t) => t !== e) ? "primary" : `${e}`, Vr = ({ theme: e }) => T`
1338
1340
  border: 1px solid ${e.colors.neutral200};
1339
1341
  background: ${e.colors.neutral150};
1340
1342
  color: ${e.colors.neutral600};
1341
1343
  cursor: default;
1342
- `, _r = ({ theme: e, $variant: t }) => [...Pt, Qe].includes(t) ? T`
1344
+ `, jr = ({ theme: e, $variant: t }) => [...Pt, Qe].includes(t) ? T`
1343
1345
  background-color: ${e.colors.neutral0};
1344
1346
  ` : t === Ye ? T`
1345
1347
  background-color: ${e.colors.neutral100};
@@ -1351,7 +1353,7 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1351
1353
  ` : T`
1352
1354
  border: 1px solid ${e.colors[`${ae(t)}500`]};
1353
1355
  background: ${e.colors[`${ae(t)}500`]};
1354
- `, Ur = ({ theme: e, $variant: t }) => [...Pt, Qe].includes(t) ? T`
1356
+ `, _r = ({ theme: e, $variant: t }) => [...Pt, Qe].includes(t) ? T`
1355
1357
  background-color: ${e.colors.neutral0};
1356
1358
  border: 1px solid ${e.colors[`${ae(t)}600`]};
1357
1359
  color: ${e.colors[`${ae(t)}600`]};
@@ -1360,7 +1362,7 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1360
1362
  ` : T`
1361
1363
  border: 1px solid ${e.colors[`${ae(t)}600`]};
1362
1364
  background: ${e.colors[`${ae(t)}600`]};
1363
- `, Gr = ({ theme: e, $variant: t }) => {
1365
+ `, Ur = ({ theme: e, $variant: t }) => {
1364
1366
  switch (t) {
1365
1367
  case Lt:
1366
1368
  case Ot:
@@ -1386,8 +1388,8 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1386
1388
  fill: ${e.colors.neutral500};
1387
1389
  }
1388
1390
  `;
1389
- case Vr:
1390
1391
  case Hr:
1392
+ case Fr:
1391
1393
  return T`
1392
1394
  border: 1px solid ${e.colors[`${ae(t)}600`]};
1393
1395
  background: ${e.colors[`${ae(t)}600`]};
@@ -1453,7 +1455,7 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1453
1455
  to {
1454
1456
  transform: rotate(359deg);
1455
1457
  }
1456
- `, Ea = u(Cr)`
1458
+ `, Ea = u(yr)`
1457
1459
  animation: ${Da} 2s infinite linear;
1458
1460
  will-change: transform;
1459
1461
  `, Aa = u(C)`
@@ -1475,18 +1477,18 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1475
1477
  `);
1476
1478
  }}
1477
1479
  text-decoration: none;
1478
- ${Gr}
1480
+ ${Ur}
1479
1481
 
1480
1482
  &:hover {
1481
- ${_r}
1483
+ ${jr}
1482
1484
  }
1483
1485
 
1484
1486
  &:active {
1485
- ${Ur}
1487
+ ${_r}
1486
1488
  }
1487
1489
 
1488
1490
  &[aria-disabled='true'] {
1489
- ${jr}
1491
+ ${Vr}
1490
1492
  }
1491
1493
 
1492
1494
  @media (prefers-reduced-motion: no-preference) {
@@ -1617,24 +1619,24 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1617
1619
  `;
1618
1620
  }
1619
1621
  }}
1620
- ${Gr}
1622
+ ${Ur}
1621
1623
  ${(e) => e.$variant === "tertiary" ? T`
1622
1624
  color: ${e.theme.colors.neutral500};
1623
1625
  ` : ""}
1624
1626
 
1625
1627
  &:hover {
1626
- ${_r}
1628
+ ${jr}
1627
1629
  ${(e) => e.$variant === "tertiary" ? T`
1628
1630
  color: ${e.theme.colors.neutral600};
1629
1631
  ` : ""}
1630
1632
  }
1631
1633
 
1632
1634
  &:active {
1633
- ${Ur}
1635
+ ${_r}
1634
1636
  }
1635
1637
 
1636
1638
  &[aria-disabled='true'] {
1637
- ${jr}
1639
+ ${Vr}
1638
1640
  }
1639
1641
 
1640
1642
  @media (prefers-reduced-motion: no-preference) {
@@ -1752,7 +1754,7 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1752
1754
  ({ children: e, intersectionId: t, onCloseAutoFocus: n, popoverPlacement: o = "bottom-start", ...a }, i) => {
1753
1755
  const [l, c] = o.split("-");
1754
1756
  return /* @__PURE__ */ r(se.Portal, { children: /* @__PURE__ */ r(Wa, { align: c, side: l, loop: !0, onCloseAutoFocus: n, asChild: !0, children: /* @__PURE__ */ x(
1755
- qr,
1757
+ Gr,
1756
1758
  {
1757
1759
  ref: i,
1758
1760
  direction: "column",
@@ -1775,7 +1777,7 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1775
1777
  }
1776
1778
  ) }) });
1777
1779
  }
1778
- ), qr = u(C)`
1780
+ ), Gr = u(C)`
1779
1781
  scrollbar-width: none;
1780
1782
  -ms-overflow-style: none;
1781
1783
  -webkit-overflow-scrolling: touch;
@@ -1821,7 +1823,7 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1821
1823
  children: c.children
1822
1824
  }
1823
1825
  ) : /* @__PURE__ */ x(
1824
- Yr,
1826
+ Kr,
1825
1827
  {
1826
1828
  cursor: "pointer",
1827
1829
  color: vt(l, t),
@@ -1836,7 +1838,7 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1836
1838
  a && /* @__PURE__ */ r(C, { tag: "span", color: _e(l, t), "aria-hidden": !0, children: a })
1837
1839
  ]
1838
1840
  }
1839
- ) }), Kr = ({ theme: e, $variant: t }) => T`
1841
+ ) }), qr = ({ theme: e, $variant: t }) => T`
1840
1842
  text-align: left;
1841
1843
  width: 100%;
1842
1844
  border-radius: ${e.borderRadius};
@@ -1859,8 +1861,8 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1859
1861
  }
1860
1862
 
1861
1863
  color: ${e.colors[vt(t, !1)]};
1862
- `, Yr = u(C)`
1863
- ${({ theme: e, $variant: t }) => Kr({ theme: e, $variant: t })}
1864
+ `, Kr = u(C)`
1865
+ ${({ theme: e, $variant: t }) => qr({ theme: e, $variant: t })}
1864
1866
  `, Ha = u(Oa)`
1865
1867
  /* We include this here again because typically when people use OptionLink they provide an as prop which cancels the Box props */
1866
1868
  color: ${({ theme: e, color: t }) => Je(e.colors, t, void 0)};
@@ -1890,7 +1892,7 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1890
1892
  }
1891
1893
  }
1892
1894
 
1893
- ${({ theme: e, $variant: t }) => Kr({ theme: e, $variant: t })}
1895
+ ${({ theme: e, $variant: t }) => qr({ theme: e, $variant: t })}
1894
1896
  `, Va = u(S)`
1895
1897
  /* Negative horizontal margin to compensate Menu.Content's padding */
1896
1898
  margin: ${({ theme: e }) => e.spaces[1]} -${({ theme: e }) => e.spaces[1]};
@@ -1917,12 +1919,12 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1917
1919
  /* @__PURE__ */ r(Dt, { fill: "neutral500", height: "1.2rem", width: "1.2rem" })
1918
1920
  ]
1919
1921
  }
1920
- ) })), Ka = u(Yr)`
1922
+ ) })), Ka = u(Kr)`
1921
1923
  &[data-state='open'] {
1922
1924
  background-color: ${({ theme: e }) => e.colors.primary100};
1923
1925
  }
1924
1926
  `, Ya = s.forwardRef((e, t) => /* @__PURE__ */ r(se.Portal, { children: /* @__PURE__ */ r(se.SubContent, { sideOffset: 8, asChild: !0, children: /* @__PURE__ */ r(
1925
- qr,
1927
+ Gr,
1926
1928
  {
1927
1929
  ref: t,
1928
1930
  direction: "column",
@@ -1938,17 +1940,17 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1938
1940
  overflow: "auto",
1939
1941
  ...e
1940
1942
  }
1941
- ) }) })), Qr = Ma, Xr = Ba, Zr = Na, Jr = Fa, Qa = ja, Xa = _a, Za = Ga, Ja = qa, ei = Ya, gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1943
+ ) }) })), Yr = Ma, Qr = Ba, Xr = Na, Zr = Fa, Qa = ja, Xa = _a, Za = Ga, Ja = qa, ei = Ya, gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1942
1944
  __proto__: null,
1943
- Content: Zr,
1944
- Item: Jr,
1945
+ Content: Xr,
1946
+ Item: Zr,
1945
1947
  Label: Xa,
1946
- Root: Qr,
1948
+ Root: Yr,
1947
1949
  Separator: Qa,
1948
1950
  SubContent: ei,
1949
1951
  SubRoot: Za,
1950
1952
  SubTrigger: Ja,
1951
- Trigger: Xr
1953
+ Trigger: Qr
1952
1954
  }, Symbol.toStringTag, { value: "Module" })), ti = s.forwardRef(
1953
1955
  ({ children: e, onOpen: t, onClose: n, popoverPlacement: o, onReachEnd: a, ...i }, l) => {
1954
1956
  const c = s.useRef(null), d = te(l, c), h = s.useRef(null), [f, g] = s.useState(!1), p = (R) => {
@@ -1963,12 +1965,12 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1963
1965
  * not be null. Because it uses a portal that (sensibly) is not mounted 24/7.
1964
1966
  */
1965
1967
  skipWhen: !f
1966
- }), /* @__PURE__ */ x(Qr, { onOpenChange: v, children: [
1967
- /* @__PURE__ */ r(Xr, { ref: d, ...i, children: i.label }),
1968
- /* @__PURE__ */ r(Zr, { ref: h, intersectionId: $, popoverPlacement: o, children: e })
1968
+ }), /* @__PURE__ */ x(Yr, { onOpenChange: v, children: [
1969
+ /* @__PURE__ */ r(Qr, { ref: d, ...i, children: i.label }),
1970
+ /* @__PURE__ */ r(Xr, { ref: h, intersectionId: $, popoverPlacement: o, children: e })
1969
1971
  ] });
1970
1972
  }
1971
- ), pd = Jr, ri = u(ti)`
1973
+ ), pd = Zr, ri = u(ti)`
1972
1974
  padding: ${({ theme: e }) => `${e.spaces[1]} ${e.spaces[2]}`};
1973
1975
  height: unset;
1974
1976
 
@@ -1980,9 +1982,9 @@ const Ke = (e, t, { selectorToWatch: n, skipWhen: o = !1 }) => {
1980
1982
  ({ children: e, ...t }, n) => /* @__PURE__ */ r(ri, { ref: n, endIcon: null, size: "S", ...t, children: e })
1981
1983
  );
1982
1984
  ni.displayName = "CrumbSimpleMenu";
1983
- const en = s.createContext({ id: "" }), tn = () => s.useContext(en), md = s.forwardRef(({ id: e, ...t }, n) => {
1985
+ const Jr = s.createContext({ id: "" }), en = () => s.useContext(Jr), md = s.forwardRef(({ id: e, ...t }, n) => {
1984
1986
  const o = re(e), a = s.useMemo(() => ({ id: o }), [o]);
1985
- return /* @__PURE__ */ r(en.Provider, { value: a, children: /* @__PURE__ */ r(
1987
+ return /* @__PURE__ */ r(Jr.Provider, { value: a, children: /* @__PURE__ */ r(
1986
1988
  S,
1987
1989
  {
1988
1990
  ref: n,
@@ -2031,10 +2033,10 @@ const en = s.createContext({ id: "" }), tn = () => s.useContext(en), md = s.forw
2031
2033
  `, li = u.div`
2032
2034
  margin-left: auto;
2033
2035
  flex-shrink: 0;
2034
- `, ci = u(Nr)`
2036
+ `, ci = u(Br)`
2035
2037
  margin-left: ${({ theme: e }) => e.spaces[1]};
2036
2038
  `, $d = (e) => /* @__PURE__ */ r(li, { children: /* @__PURE__ */ r(ci, { ...e }) }), xd = (e) => /* @__PURE__ */ r(S, { paddingLeft: 3, paddingRight: 3, paddingTop: 2, paddingBottom: 2, children: /* @__PURE__ */ r(C, { ...e, alignItems: "flex-start" }) }), di = ({ fill: e, ...t }) => {
2037
- const { colors: n } = Vn();
2039
+ const { colors: n } = Hn();
2038
2040
  return /* @__PURE__ */ r(
2039
2041
  S,
2040
2042
  {
@@ -2058,7 +2060,7 @@ const en = s.createContext({ id: "" }), tn = () => s.useContext(en), md = s.forw
2058
2060
  l === "indeterminate" ? /* @__PURE__ */ r(uo, { fill: "neutral0" }) : null
2059
2061
  ] }) });
2060
2062
  }
2061
- ), ui = u(Sr.Root)`
2063
+ ), ui = u(kr.Root)`
2062
2064
  background: ${(e) => e.theme.colors.neutral0};
2063
2065
  width: 2rem;
2064
2066
  height: 2rem;
@@ -2095,7 +2097,7 @@ const en = s.createContext({ id: "" }), tn = () => s.useContext(en), md = s.forw
2095
2097
  min-width: 44px;
2096
2098
  min-height: 44px;
2097
2099
  }
2098
- `, hi = u(Sr.Indicator)`
2100
+ `, hi = u(kr.Indicator)`
2099
2101
  display: inline-flex;
2100
2102
  pointer-events: auto !important;
2101
2103
  width: 100%;
@@ -2114,7 +2116,7 @@ const en = s.createContext({ id: "" }), tn = () => s.useContext(en), md = s.forw
2114
2116
  /* @__PURE__ */ r(A, { tag: "label", textColor: "neutral800", htmlFor: o, children: e })
2115
2117
  ] }) : /* @__PURE__ */ r(Jt, { ref: n, ...t });
2116
2118
  }), wd = s.forwardRef((e, t) => {
2117
- const { id: n } = tn();
2119
+ const { id: n } = en();
2118
2120
  return /* @__PURE__ */ r(oi, { position: "start", children: /* @__PURE__ */ r(Bt, { "aria-labelledby": `${n}-title`, ...e, ref: t }) });
2119
2121
  }), fi = u(S)`
2120
2122
  word-break: break-all;
@@ -2135,7 +2137,7 @@ const en = s.createContext({ id: "" }), tn = () => s.useContext(en), md = s.forw
2135
2137
  children: /* @__PURE__ */ r(A, { variant: "pi", textColor: "neutral0", children: e })
2136
2138
  }
2137
2139
  ), kd = (e) => {
2138
- const { id: t } = tn();
2140
+ const { id: t } = en();
2139
2141
  return /* @__PURE__ */ r(A, { variant: "pi", id: `${t}-title`, textColor: "neutral800", fontWeight: "bold", tag: "div", ...e });
2140
2142
  }, Sd = (e) => /* @__PURE__ */ r(A, { variant: "pi", ...e, textColor: "neutral600", tag: "div" }), F = {
2141
2143
  DOWN: "ArrowDown",
@@ -2193,7 +2195,7 @@ const en = s.createContext({ id: "" }), tn = () => s.useContext(en), md = s.forw
2193
2195
  position: "relative",
2194
2196
  children: [
2195
2197
  v && v.length > 1 && /* @__PURE__ */ x(It, { children: [
2196
- /* @__PURE__ */ r(er, { tag: "button", onClick: i, $area: "startAction", ref: g, type: "button", children: /* @__PURE__ */ r(Le, { label: l, children: /* @__PURE__ */ r(vr, { width: "1.6rem", height: "1.6rem", fill: "neutral600" }) }) }),
2198
+ /* @__PURE__ */ r(er, { tag: "button", onClick: i, $area: "startAction", ref: g, type: "button", children: /* @__PURE__ */ r(Le, { label: l, children: /* @__PURE__ */ r(Cr, { width: "1.6rem", height: "1.6rem", fill: "neutral600" }) }) }),
2197
2199
  /* @__PURE__ */ r(er, { tag: "button", onClick: a, $area: "endAction", ref: p, type: "button", children: /* @__PURE__ */ r(Le, { label: o, children: /* @__PURE__ */ r(Dt, { width: "1.6rem", height: "1.6rem", fill: "neutral600" }) }) })
2198
2200
  ] }),
2199
2201
  /* @__PURE__ */ r(mi, { "aria-live": "polite", paddingLeft: 2, paddingRight: 2, width: "100%", overflow: "hidden", children: v }),
@@ -2223,7 +2225,7 @@ const en = s.createContext({ id: "" }), tn = () => s.useContext(en), md = s.forw
2223
2225
  medium: "4rem"
2224
2226
  }
2225
2227
  }
2226
- }, rn = {
2228
+ }, tn = {
2227
2229
  sizes: $i,
2228
2230
  zIndices: {
2229
2231
  navigation: 100,
@@ -2310,11 +2312,11 @@ const en = s.createContext({ id: "" }), tn = () => s.useContext(en), md = s.forw
2310
2312
  popupShadow: "0px 2px 15px rgba(33, 33, 52, 0.1)",
2311
2313
  tableShadow: "0px 1px 4px rgba(33, 33, 52, 0.1)"
2312
2314
  }
2313
- }, nn = {
2315
+ }, rn = {
2314
2316
  colorScheme: "light",
2315
2317
  colors: xi.color,
2316
2318
  shadows: wi.shadow,
2317
- ...rn
2319
+ ...tn
2318
2320
  }, yi = {
2319
2321
  color: {
2320
2322
  alternative100: "#181826",
@@ -2375,7 +2377,7 @@ const en = s.createContext({ id: "" }), tn = () => s.useContext(en), md = s.forw
2375
2377
  colorScheme: "dark",
2376
2378
  colors: yi.color,
2377
2379
  shadows: Ci.shadow,
2378
- ...rn
2380
+ ...tn
2379
2381
  }, tr = (e) => `
2380
2382
  ${e}
2381
2383
 
@@ -2385,7 +2387,7 @@ The following is an example:
2385
2387
  import { lightTheme, extendTheme } from '@strapi/design-system';
2386
2388
 
2387
2389
  const myCustomTheme = extendTheme(lightTheme, {
2388
- ${Object.keys(nn).map((t) => `${t}: /* put the overrides for the ${t} key */,`).join(`
2390
+ ${Object.keys(rn).map((t) => `${t}: /* put the overrides for the ${t} key */,`).join(`
2389
2391
  `)}
2390
2392
  })
2391
2393
  `, Td = (e, t) => {
@@ -2601,10 +2603,10 @@ const myCustomTheme = extendTheme(lightTheme, {
2601
2603
  color: ${e.colors.neutral600};
2602
2604
  background: ${e.colors.neutral150};
2603
2605
  ` : void 0};
2604
- `, on = () => {
2606
+ `, nn = () => {
2605
2607
  const { id: e, hint: t, error: n } = ne("Hint");
2606
2608
  return !t || n ? null : /* @__PURE__ */ r(A, { variant: "pi", tag: "p", id: `${e}-hint`, textColor: "neutral600", children: t });
2607
- }, an = () => {
2609
+ }, on = () => {
2608
2610
  const { id: e, error: t } = ne("Error");
2609
2611
  return !t || typeof t != "string" ? null : /* @__PURE__ */ r(A, { variant: "pi", tag: "p", id: `${e}-error`, textColor: "danger600", "data-strapi-field-error": !0, children: t });
2610
2612
  }, Di = s.forwardRef(({ label: e, children: t, ...n }, o) => /* @__PURE__ */ r(
@@ -2625,8 +2627,8 @@ const myCustomTheme = extendTheme(lightTheme, {
2625
2627
  `, Dd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2626
2628
  __proto__: null,
2627
2629
  Action: Di,
2628
- Error: an,
2629
- Hint: on,
2630
+ Error: on,
2631
+ Hint: nn,
2630
2632
  Input: it,
2631
2633
  Label: Nt,
2632
2634
  Root: Re,
@@ -2669,8 +2671,8 @@ const myCustomTheme = extendTheme(lightTheme, {
2669
2671
  children: t
2670
2672
  }
2671
2673
  ),
2672
- /* @__PURE__ */ r(on, {}),
2673
- /* @__PURE__ */ r(an, {})
2674
+ /* @__PURE__ */ r(nn, {}),
2675
+ /* @__PURE__ */ r(on, {})
2674
2676
  ] }) });
2675
2677
  }
2676
2678
  ), Ad = ({ horizontal: e = !0, ...t }) => /* @__PURE__ */ r(
@@ -2686,7 +2688,7 @@ const myCustomTheme = extendTheme(lightTheme, {
2686
2688
  ...t
2687
2689
  }
2688
2690
  ), rr = u(S)`
2689
- ${Er}
2691
+ ${Dr}
2690
2692
  `, zd = (e) => {
2691
2693
  const [t, n] = s.useState(!1), o = () => {
2692
2694
  n(!0);
@@ -2708,7 +2710,7 @@ const myCustomTheme = extendTheme(lightTheme, {
2708
2710
  ...o,
2709
2711
  children: t
2710
2712
  }
2711
- ), sn = T`
2713
+ ), an = T`
2712
2714
  font-size: 1.6rem;
2713
2715
  line-height: 2.4rem;
2714
2716
 
@@ -2844,12 +2846,12 @@ const myCustomTheme = extendTheme(lightTheme, {
2844
2846
  renderItem: a
2845
2847
  }) => {
2846
2848
  const i = Gt(null), [l, c] = gt(!1), d = Gt(!0);
2847
- mr(() => (d.current = !0, typeof qt == "function" && qt(() => {
2849
+ Un(() => (d.current = !0, typeof qt == "function" && qt(() => {
2848
2850
  d.current && c(!0);
2849
2851
  }), () => {
2850
2852
  d.current = !1;
2851
2853
  }), []);
2852
- const h = br(() => a && o !== void 0 ? [] : Gn.toArray(e), [e, a, o]), f = o ?? h.length, g = go({
2854
+ const h = mr(() => a && o !== void 0 ? [] : Gn.toArray(e), [e, a, o]), f = o ?? h.length, g = go({
2853
2855
  count: f,
2854
2856
  // parentRef is the inner container; the scroll element is its closest scrollable ancestor
2855
2857
  getScrollElement: () => i.current ?? null,
@@ -2956,14 +2958,14 @@ const myCustomTheme = extendTheme(lightTheme, {
2956
2958
  ye(oe);
2957
2959
  }, He = (oe) => {
2958
2960
  N && N(oe);
2959
- }, Pn = (oe) => {
2961
+ }, Ln = (oe) => {
2960
2962
  L && L(oe);
2961
- }, Mn = (oe) => {
2963
+ }, Pn = (oe) => {
2962
2964
  H && w && !k && H(oe);
2963
2965
  }, jt = () => {
2964
2966
  O && Y && i !== "visible" ? O(Y) : O && i === "visible" && (O(), V(!1));
2965
- }, Bn = re(), _t = `intersection-${Pe(Bn)}`;
2966
- Ke(De, Mn, {
2967
+ }, Mn = re(), _t = `intersection-${Pe(Mn)}`;
2968
+ Ke(De, Pn, {
2967
2969
  selectorToWatch: `#${_t}`,
2968
2970
  /**
2969
2971
  * We need to know when the select is open because only then will viewportRef
@@ -2971,7 +2973,7 @@ const myCustomTheme = extendTheme(lightTheme, {
2971
2973
  */
2972
2974
  skipWhen: !Z
2973
2975
  });
2974
- const { error: ct, ...Xe } = ne("Combobox"), Nn = !!ct || $, dt = Xe.id ?? R, Wn = Xe.name ?? b, Fn = Xe.required || q, Ut = s.Children.toArray(n).filter(Boolean).length, Hn = !!!(Y && Y !== "" || we && we !== "") && Ut > 100;
2976
+ const { error: ct, ...Xe } = ne("Combobox"), Bn = !!ct || $, dt = Xe.id ?? R, Nn = Xe.name ?? b, Wn = Xe.required || q, Ut = s.Children.toArray(n).filter(Boolean).length, Fn = !!!(Y && Y !== "" || we && we !== "") && Ut > 100;
2975
2977
  let ut;
2976
2978
  return ct ? ut = `${dt}-error` : Xe.hint && (ut = `${dt}-hint`), /* @__PURE__ */ x(
2977
2979
  ie.Root,
@@ -2983,9 +2985,9 @@ const myCustomTheme = extendTheme(lightTheme, {
2983
2985
  textValue: Y,
2984
2986
  allowCustomValue: !!i || e,
2985
2987
  disabled: m,
2986
- required: Fn,
2988
+ required: Wn,
2987
2989
  value: G,
2988
- onValueChange: Pn,
2990
+ onValueChange: Ln,
2989
2991
  filterValue: we,
2990
2992
  onFilterValueChange: Ae,
2991
2993
  isPrintableCharacter: y,
@@ -2994,7 +2996,7 @@ const myCustomTheme = extendTheme(lightTheme, {
2994
2996
  /* @__PURE__ */ x(
2995
2997
  ji,
2996
2998
  {
2997
- $hasError: Nn,
2999
+ $hasError: Bn,
2998
3000
  $size: P,
2999
3001
  $hasTextValue: !!Y,
3000
3002
  $hasClear: !!(Y && z),
@@ -3010,7 +3012,7 @@ const myCustomTheme = extendTheme(lightTheme, {
3010
3012
  "aria-invalid": !!ct,
3011
3013
  onChange: He,
3012
3014
  ref: Ce,
3013
- name: Wn,
3015
+ name: Nn,
3014
3016
  "aria-describedby": ut,
3015
3017
  ...J
3016
3018
  }
@@ -3037,7 +3039,7 @@ const myCustomTheme = extendTheme(lightTheme, {
3037
3039
  ),
3038
3040
  /* @__PURE__ */ r(ie.Portal, { children: /* @__PURE__ */ x(Gi, { sideOffset: 4, children: [
3039
3041
  /* @__PURE__ */ r(st, { viewportRef: De, children: /* @__PURE__ */ r(ie.Viewport, { children: /* @__PURE__ */ x(S, { padding: 1, children: [
3040
- Hn ? /* @__PURE__ */ r(Hi, { itemCount: Ut, children: n }) : n,
3042
+ Fn ? /* @__PURE__ */ r(Hi, { itemCount: Ut, children: n }) : n,
3041
3043
  i !== !0 && !k ? /* @__PURE__ */ r(ie.NoValueFound, { asChild: !0, children: /* @__PURE__ */ r(St, { $hasHover: !1, children: /* @__PURE__ */ r(A, { children: D(Y ?? "") }) }) }) : null,
3042
3044
  k ? /* @__PURE__ */ r(C, { justifyContent: "center", alignItems: "center", paddingTop: 2, paddingBottom: 2, children: /* @__PURE__ */ r(kt, { small: !0, children: E }) }) : null,
3043
3045
  /* @__PURE__ */ r(S, { id: _t, width: "100%", height: "1px" })
@@ -3093,7 +3095,7 @@ const myCustomTheme = extendTheme(lightTheme, {
3093
3095
  ${({ theme: e, $hasError: t }) => xe()({ theme: e, $hasError: t })};
3094
3096
  `, _i = u(ie.TextInput)`
3095
3097
  width: 100%;
3096
- ${sn}
3098
+ ${an}
3097
3099
  color: ${({ theme: e }) => e.colors.neutral800};
3098
3100
  padding: 0;
3099
3101
  border: none;
@@ -3215,8 +3217,8 @@ const myCustomTheme = extendTheme(lightTheme, {
3215
3217
  color: ${({ theme: e }) => e.colors.primary600};
3216
3218
  font-weight: bold;
3217
3219
  }
3218
- `, ln = (e, t) => `${e}${Math.floor(t * 255).toString(16).padStart(2, "0")}`, Yi = pe.Root, Qi = s.forwardRef((e, t) => /* @__PURE__ */ r(pe.Trigger, { ...e, asChild: !0, ref: t })), Xi = s.forwardRef((e, t) => /* @__PURE__ */ r(pe.Portal, { children: /* @__PURE__ */ r(Zi, { children: /* @__PURE__ */ r(Ji, { ref: t, ...e }) }) })), Zi = u(pe.Overlay)`
3219
- background: ${(e) => ln(e.theme.colors.neutral800, 0.2)};
3220
+ `, sn = (e, t) => `${e}${Math.floor(t * 255).toString(16).padStart(2, "0")}`, Yi = pe.Root, Qi = s.forwardRef((e, t) => /* @__PURE__ */ r(pe.Trigger, { ...e, asChild: !0, ref: t })), Xi = s.forwardRef((e, t) => /* @__PURE__ */ r(pe.Portal, { children: /* @__PURE__ */ r(Zi, { children: /* @__PURE__ */ r(Ji, { ref: t, ...e }) }) })), Zi = u(pe.Overlay)`
3221
+ background: ${(e) => sn(e.theme.colors.neutral800, 0.2)};
3220
3222
  position: fixed;
3221
3223
  inset: 0;
3222
3224
  z-index: ${(e) => e.theme.zIndices.overlay};
@@ -3278,10 +3280,10 @@ const myCustomTheme = extendTheme(lightTheme, {
3278
3280
  width: 24,
3279
3281
  height: 24
3280
3282
  }) : null,
3281
- /* @__PURE__ */ r(cn, { children: e })
3283
+ /* @__PURE__ */ r(ln, { children: e })
3282
3284
  ] }) : e
3283
3285
  }
3284
- )), cn = s.forwardRef((e, t) => /* @__PURE__ */ r(pe.Description, { asChild: !0, children: /* @__PURE__ */ r(A, { ref: t, variant: "omega", ...e, tag: "p" }) })), ns = s.forwardRef((e, t) => /* @__PURE__ */ r(os, { ref: t, gap: 2, padding: 4, justifyContent: "space-between", ...e, tag: "footer" })), os = u(C)`
3286
+ )), ln = s.forwardRef((e, t) => /* @__PURE__ */ r(pe.Description, { asChild: !0, children: /* @__PURE__ */ r(A, { ref: t, variant: "omega", ...e, tag: "p" }) })), ns = s.forwardRef((e, t) => /* @__PURE__ */ r(os, { ref: t, gap: 2, padding: 4, justifyContent: "space-between", ...e, tag: "footer" })), os = u(C)`
3285
3287
  border-top: solid 1px ${(e) => e.theme.colors.neutral150};
3286
3288
  flex: 1;
3287
3289
  `, as = s.forwardRef((e, t) => /* @__PURE__ */ r(pe.Cancel, { ...e, asChild: !0, ref: t })), is = s.forwardRef((e, t) => /* @__PURE__ */ r(pe.Action, { ...e, asChild: !0, ref: t })), Pd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -3290,7 +3292,7 @@ const myCustomTheme = extendTheme(lightTheme, {
3290
3292
  Body: rs,
3291
3293
  Cancel: as,
3292
3294
  Content: Xi,
3293
- Description: cn,
3295
+ Description: ln,
3294
3296
  Footer: ns,
3295
3297
  Header: es,
3296
3298
  Root: Yi,
@@ -3298,7 +3300,7 @@ const myCustomTheme = extendTheme(lightTheme, {
3298
3300
  }, Symbol.toStringTag, { value: "Module" }));
3299
3301
  function he(e, t) {
3300
3302
  const n = s.useRef(null);
3301
- return t && n.current && ss(t, n.current) && (t = n.current), n.current = t ?? null, s.useMemo(() => new Yn(e, t), [e, t]);
3303
+ return t && n.current && ss(t, n.current) && (t = n.current), n.current = t ?? null, s.useMemo(() => new Kn(e, t), [e, t]);
3302
3304
  }
3303
3305
  function ss(e, t) {
3304
3306
  if (e === t)
@@ -3311,7 +3313,7 @@ function ss(e, t) {
3311
3313
  return !1;
3312
3314
  return !0;
3313
3315
  }
3314
- const ls = () => typeof window > "u" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent), fe = ls() ? mr : Kn, ze = {
3316
+ const ze = {
3315
3317
  Log: "live-region-log",
3316
3318
  Status: "live-region-status",
3317
3319
  Alert: "live-region-alert"
@@ -3326,11 +3328,11 @@ const ls = () => typeof window > "u" || !window.navigator || /ServerSideRenderin
3326
3328
  t && (t.innerText = e);
3327
3329
  }, Md = () => (s.useEffect(() => () => {
3328
3330
  ar(""), sr(""), ir("");
3329
- }, []), { notifyLog: ar, notifyAlert: sr, notifyStatus: ir }), cs = () => /* @__PURE__ */ x($e, { children: [
3331
+ }, []), { notifyLog: ar, notifyAlert: sr, notifyStatus: ir }), ls = () => /* @__PURE__ */ x($e, { children: [
3330
3332
  /* @__PURE__ */ r("p", { role: "log", "aria-live": "polite", id: ze.Log, "aria-relevant": "all" }),
3331
3333
  /* @__PURE__ */ r("p", { role: "status", "aria-live": "polite", id: ze.Status, "aria-relevant": "all" }),
3332
3334
  /* @__PURE__ */ r("p", { role: "alert", "aria-live": "assertive", id: ze.Alert, "aria-relevant": "all" })
3333
- ] }), ds = jn`
3335
+ ] }), cs = Vn`
3334
3336
  ${T`
3335
3337
  *,
3336
3338
  *::before,
@@ -3429,14 +3431,14 @@ ${T`
3429
3431
  overflow-y: hidden;
3430
3432
  }
3431
3433
  `}
3432
- `, lr = "en-EN", dn = () => typeof navigator > "u" ? lr : navigator.language ? navigator.language : lr, [us, lt] = Be("StrapiDesignSystem", {
3433
- locale: dn()
3434
+ `, lr = "en-EN", cn = () => typeof navigator > "u" ? lr : navigator.language ? navigator.language : lr, [ds, lt] = Be("StrapiDesignSystem", {
3435
+ locale: cn()
3434
3436
  }), Bd = ({
3435
3437
  children: e,
3436
- locale: t = dn(),
3437
- theme: n = nn,
3438
+ locale: t = cn(),
3439
+ theme: n = rn,
3438
3440
  tooltipConfig: o
3439
- }) => (fe(() => {
3441
+ }) => (ro(n.colorScheme), fe(() => {
3440
3442
  const a = document.createElement("style");
3441
3443
  a.type = "text/css", a.appendChild(
3442
3444
  document.createTextNode(`
@@ -3450,15 +3452,15 @@ ${T`
3450
3452
  }
3451
3453
  `)
3452
3454
  ), document.head.appendChild(a), window.getComputedStyle(a).opacity, document.head.removeChild(a);
3453
- }, [n]), /* @__PURE__ */ r(us, { locale: t, children: /* @__PURE__ */ x(_n, { theme: n, children: [
3455
+ }, [n]), /* @__PURE__ */ r(ds, { locale: t, children: /* @__PURE__ */ x(jn, { theme: n, children: [
3454
3456
  /* @__PURE__ */ r(no, { ...o, children: e }),
3455
- /* @__PURE__ */ r(cs, {}),
3456
- /* @__PURE__ */ r(ds, {})
3457
- ] }) })), hs = oo.Root, un = s.forwardRef(
3457
+ /* @__PURE__ */ r(ls, {}),
3458
+ /* @__PURE__ */ r(cs, {})
3459
+ ] }) })), us = oo.Root, dn = s.forwardRef(
3458
3460
  ({ container: e = ((o) => (o = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : o.body)(), ...t }, n) => e ? vo(/* @__PURE__ */ r(S, { ref: n, ...t }), e) : null
3459
3461
  );
3460
- un.displayName = "Portal";
3461
- const fs = s.forwardRef(
3462
+ dn.displayName = "Portal";
3463
+ const hs = s.forwardRef(
3462
3464
  ({
3463
3465
  onClear: e,
3464
3466
  clearLabel: t = "Clear",
@@ -3476,7 +3478,7 @@ const fs = s.forwardRef(
3476
3478
  e && !o && (e(R), p.current.focus());
3477
3479
  }, { labelNode: m } = ne("SelectTrigger"), $ = te(p, g);
3478
3480
  return /* @__PURE__ */ r(le.Trigger, { asChild: !0, children: /* @__PURE__ */ x(
3479
- gs,
3481
+ fs,
3480
3482
  {
3481
3483
  "aria-disabled": o,
3482
3484
  $hasError: a,
@@ -3512,13 +3514,13 @@ const fs = s.forwardRef(
3512
3514
  children: /* @__PURE__ */ r(Te, {})
3513
3515
  }
3514
3516
  ) : null,
3515
- i ? /* @__PURE__ */ r(kt, { small: !0, children: "Loading" }) : /* @__PURE__ */ r(ps, { children: /* @__PURE__ */ r(ge, {}) })
3517
+ i ? /* @__PURE__ */ r(kt, { small: !0, children: "Loading" }) : /* @__PURE__ */ r(gs, { children: /* @__PURE__ */ r(ge, {}) })
3516
3518
  ] })
3517
3519
  ]
3518
3520
  }
3519
3521
  ) });
3520
3522
  }
3521
- ), gs = u(C)`
3523
+ ), fs = u(C)`
3522
3524
  border: 1px solid ${({ theme: e, $hasError: t }) => t ? e.colors.danger600 : e.colors.neutral200};
3523
3525
  padding-inline-start: ${({ theme: e }) => e.spaces[4]};
3524
3526
  padding-inline-end: ${({ theme: e }) => e.spaces[3]};
@@ -3549,27 +3551,27 @@ const fs = s.forwardRef(
3549
3551
  }
3550
3552
 
3551
3553
  ${({ theme: e, $hasError: t }) => xe()({ theme: e, $hasError: t })};
3552
- `, ps = u(le.Icon)`
3554
+ `, gs = u(le.Icon)`
3553
3555
  display: flex;
3554
3556
  & > svg {
3555
3557
  fill: ${({ theme: e }) => e.colors.neutral500};
3556
3558
  }
3557
- `, ms = s.forwardRef(
3558
- ({ children: e, placeholder: t, withTags: n, ...o }, a) => /* @__PURE__ */ r(bs, { ref: a, ellipsis: !0, ...o, children: /* @__PURE__ */ r($s, { placeholder: t, $withTags: n, children: e }) })
3559
- ), bs = u(A)`
3559
+ `, ps = s.forwardRef(
3560
+ ({ children: e, placeholder: t, withTags: n, ...o }, a) => /* @__PURE__ */ r(ms, { ref: a, ellipsis: !0, ...o, children: /* @__PURE__ */ r(bs, { placeholder: t, $withTags: n, children: e }) })
3561
+ ), ms = u(A)`
3560
3562
  flex: 1;
3561
3563
  min-height: 2.4rem;
3562
3564
 
3563
3565
  ${({ theme: e }) => e.breakpoints.medium} {
3564
3566
  min-height: 2.2rem;
3565
3567
  }
3566
- `, $s = u(le.Value)`
3568
+ `, bs = u(le.Value)`
3567
3569
  ${({ $withTags: e }) => e ? T`
3568
3570
  display: flex;
3569
3571
  flex-wrap: wrap;
3570
3572
  gap: ${({ theme: t }) => t.spaces[1]};
3571
3573
  ` : null};
3572
- `, xs = s.forwardRef((e, t) => /* @__PURE__ */ r(ws, { ref: t, ...e, children: /* @__PURE__ */ r(st, { children: e.children }) })), ws = u(le.Content)`
3574
+ `, $s = s.forwardRef((e, t) => /* @__PURE__ */ r(xs, { ref: t, ...e, children: /* @__PURE__ */ r(st, { children: e.children }) })), xs = u(le.Content)`
3573
3575
  background: ${({ theme: e }) => e.colors.neutral0};
3574
3576
  box-shadow: ${({ theme: e }) => e.shadows.filterShadow};
3575
3577
  border: 1px solid ${({ theme: e }) => e.colors.neutral150};
@@ -3594,9 +3596,9 @@ const fs = s.forwardRef(
3594
3596
  }
3595
3597
  }
3596
3598
  }
3597
- `, ys = u(le.Viewport)`
3599
+ `, ws = u(le.Viewport)`
3598
3600
  padding: ${({ theme: e }) => e.spaces[1]};
3599
- `, Cs = s.forwardRef((e, t) => /* @__PURE__ */ r(ks, { ref: t, ...e })), vs = T`
3601
+ `, ys = s.forwardRef((e, t) => /* @__PURE__ */ r(vs, { ref: t, ...e })), Cs = T`
3600
3602
  width: 100%;
3601
3603
  border: none;
3602
3604
  text-align: left;
@@ -3617,14 +3619,14 @@ const fs = s.forwardRef(
3617
3619
  background-color: ${({ theme: e }) => e.colors.primary100};
3618
3620
  cursor: pointer;
3619
3621
  }
3620
- `, ks = u(le.Item)`
3621
- ${vs}
3622
+ `, vs = u(le.Item)`
3623
+ ${Cs}
3622
3624
 
3623
3625
  &:hover {
3624
3626
  background-color: ${({ theme: e }) => e.colors.primary100};
3625
3627
  cursor: pointer;
3626
3628
  }
3627
- `, hn = le.Root, fn = fs, gn = ms, pn = le.Portal, mn = xs, bn = ys, Ft = Cs, $n = le.ItemIndicator, xn = le.ItemText, Ss = le.Group, cr = s.forwardRef(
3629
+ `, un = le.Root, hn = hs, fn = ps, gn = le.Portal, pn = $s, mn = ws, Ft = ys, bn = le.ItemIndicator, $n = le.ItemText, ks = le.Group, cr = s.forwardRef(
3628
3630
  ({
3629
3631
  children: e,
3630
3632
  clearLabel: t = "Clear",
@@ -3667,7 +3669,7 @@ const fs = s.forwardRef(
3667
3669
  H ? G = `${B}-error` : q.hint && (G = `${B}-hint`);
3668
3670
  const J = (typeof R < "u" && R !== null ? R.toString() : y) ?? "";
3669
3671
  return /* @__PURE__ */ x(
3670
- hn,
3672
+ un,
3671
3673
  {
3672
3674
  onOpenChange: D,
3673
3675
  disabled: o,
@@ -3677,7 +3679,7 @@ const fs = s.forwardRef(
3677
3679
  ...I,
3678
3680
  children: [
3679
3681
  /* @__PURE__ */ r(
3680
- fn,
3682
+ hn,
3681
3683
  {
3682
3684
  ref: w,
3683
3685
  id: B,
@@ -3691,10 +3693,10 @@ const fs = s.forwardRef(
3691
3693
  "aria-label": I["aria-label"],
3692
3694
  "aria-describedby": G ?? I["aria-describedby"],
3693
3695
  size: m,
3694
- children: /* @__PURE__ */ r(gn, { placeholder: p, textColor: J ? "neutral800" : "neutral600", children: J && n ? n(J) : void 0 })
3696
+ children: /* @__PURE__ */ r(fn, { placeholder: p, textColor: J ? "neutral800" : "neutral600", children: J && n ? n(J) : void 0 })
3695
3697
  }
3696
3698
  ),
3697
- /* @__PURE__ */ r(pn, { children: /* @__PURE__ */ r(mn, { position: "popper", sideOffset: 4, onCloseAutoFocus: f, children: /* @__PURE__ */ x(bn, { ref: O, children: [
3699
+ /* @__PURE__ */ r(gn, { children: /* @__PURE__ */ r(pn, { position: "popper", sideOffset: 4, onCloseAutoFocus: f, children: /* @__PURE__ */ x(mn, { ref: O, children: [
3698
3700
  e,
3699
3701
  /* @__PURE__ */ r(S, { id: N, width: "100%", height: "1px" })
3700
3702
  ] }) }) })
@@ -3705,9 +3707,9 @@ const fs = s.forwardRef(
3705
3707
  ), dr = s.forwardRef(
3706
3708
  ({ value: e, startIcon: t, children: n, ...o }, a) => /* @__PURE__ */ x(Ft, { ref: a, value: e.toString(), ...o, children: [
3707
3709
  t && /* @__PURE__ */ r(C, { tag: "span", "aria-hidden": !0, children: t }),
3708
- /* @__PURE__ */ r(A, { lineHeight: "20px", width: "100%", children: /* @__PURE__ */ r(xn, { children: n }) })
3710
+ /* @__PURE__ */ r(A, { lineHeight: "20px", width: "100%", children: /* @__PURE__ */ r($n, { children: n }) })
3709
3711
  ] })
3710
- ), Rs = 200, ur = 15, [Ts, Ne] = Be("DatePicker"), Is = s.forwardRef(
3712
+ ), Ss = 200, ur = 15, [Rs, Ne] = Be("DatePicker"), Ts = s.forwardRef(
3711
3713
  ({
3712
3714
  /**
3713
3715
  * DatePickerCalendar props
@@ -3746,11 +3748,11 @@ const fs = s.forwardRef(
3746
3748
  c && c(j == null ? void 0 : j.toDate(k));
3747
3749
  }
3748
3750
  }), [G, J] = s.useMemo(() => {
3749
- const j = n ? ve(n) : Tt("UTC"), Ae = i ? ve(i) : j.set({ day: 1, month: 1, year: j.year - Rs });
3751
+ const j = n ? ve(n) : Tt("UTC"), Ae = i ? ve(i) : j.set({ day: 1, month: 1, year: j.year - Ss });
3750
3752
  let He = a ? ve(a) : j.set({ day: 31, month: 12, year: j.year + ur });
3751
3753
  return He.compare(Ae) < 0 && (He = Ae.set({ day: 31, month: 12, year: Ae.year + ur })), [Ae, He];
3752
3754
  }, [i, a, n]), [K, Z] = s.useState(
3753
- Ds({
3755
+ Is({
3754
3756
  currentValue: B,
3755
3757
  minDate: G,
3756
3758
  maxDate: J
@@ -3778,7 +3780,7 @@ const fs = s.forwardRef(
3778
3780
  const { error: ye, ...ue } = ne("Combobox"), De = !!ye || f, Ce = ue.id ?? g, We = ue.name ?? p, Fe = ue.required || m;
3779
3781
  let Ee;
3780
3782
  return ye ? Ee = `${Ce}-error` : ue.hint && (Ee = `${Ce}-hint`), /* @__PURE__ */ x(
3781
- Ts,
3783
+ Rs,
3782
3784
  {
3783
3785
  calendarDate: K,
3784
3786
  content: H,
@@ -3803,9 +3805,9 @@ const fs = s.forwardRef(
3803
3805
  trigger: O,
3804
3806
  value: B,
3805
3807
  children: [
3806
- /* @__PURE__ */ x(As, { className: t, hasError: De, size: I, children: [
3808
+ /* @__PURE__ */ x(Es, { className: t, hasError: De, size: I, children: [
3807
3809
  /* @__PURE__ */ r(ho, { fill: "neutral500", "aria-hidden": !0 }),
3808
- /* @__PURE__ */ r(Ls, { ref: y, "aria-describedby": Ee, id: Ce, name: We, ...w }),
3810
+ /* @__PURE__ */ r(Os, { ref: y, "aria-describedby": Ee, id: Ce, name: We, ...w }),
3809
3811
  q && $ ? /* @__PURE__ */ r(
3810
3812
  be,
3811
3813
  {
@@ -3820,17 +3822,17 @@ const fs = s.forwardRef(
3820
3822
  }
3821
3823
  ) : null
3822
3824
  ] }),
3823
- /* @__PURE__ */ r(un, { children: /* @__PURE__ */ r(Ns, { label: e, children: /* @__PURE__ */ r(Us, { monthSelectLabel: l, yearSelectLabel: h }) }) })
3825
+ /* @__PURE__ */ r(dn, { children: /* @__PURE__ */ r(Bs, { label: e, children: /* @__PURE__ */ r(_s, { monthSelectLabel: l, yearSelectLabel: h }) }) })
3824
3826
  ]
3825
3827
  }
3826
3828
  );
3827
3829
  }
3828
- ), hr = (e) => !!e.match(/^[^a-zA-Z]*$/), Ds = ({ currentValue: e, minDate: t, maxDate: n }) => {
3830
+ ), hr = (e) => !!e.match(/^[^a-zA-Z]*$/), Is = ({ currentValue: e, minDate: t, maxDate: n }) => {
3829
3831
  const o = Tt("UTC");
3830
3832
  return e || (mt(t, o) === t && bt(n, o) === n ? o : mt(t, o) === o ? t : bt(n, o) === o ? n : o);
3831
- }, Es = "DatePickerTrigger", As = s.forwardRef(
3833
+ }, Ds = "DatePickerTrigger", Es = s.forwardRef(
3832
3834
  ({ hasError: e, size: t, ...n }, o) => {
3833
- const a = Ne(Es), i = te(o, (c) => a.onTriggerChange(c)), l = () => {
3835
+ const a = Ne(Ds), i = te(o, (c) => a.onTriggerChange(c)), l = () => {
3834
3836
  a.disabled || a.onOpenChange(!0);
3835
3837
  };
3836
3838
  return /* @__PURE__ */ r(
@@ -3846,7 +3848,7 @@ const fs = s.forwardRef(
3846
3848
  (d = document.getSelection()) == null || d.empty(), c.preventDefault();
3847
3849
  },
3848
3850
  children: /* @__PURE__ */ r(
3849
- zs,
3851
+ As,
3850
3852
  {
3851
3853
  ref: i,
3852
3854
  $hasError: e,
@@ -3872,7 +3874,7 @@ const fs = s.forwardRef(
3872
3874
  }
3873
3875
  );
3874
3876
  }
3875
- ), zs = u(C)`
3877
+ ), As = u(C)`
3876
3878
  min-width: ${({ $hasOnClear: e }) => e ? "160px" : "130px"};
3877
3879
  border: 1px solid ${({ theme: e, $hasError: t }) => t ? e.colors.danger600 : e.colors.neutral200};
3878
3880
  padding-inline: ${({ theme: e }) => e.spaces[3]};
@@ -3899,9 +3901,9 @@ const fs = s.forwardRef(
3899
3901
  }
3900
3902
 
3901
3903
  ${({ theme: e, $hasError: t }) => xe()({ theme: e, $hasError: t })};
3902
- `, Os = "DatePickerTextInput", Ls = s.forwardRef(
3904
+ `, zs = "DatePickerTextInput", Os = s.forwardRef(
3903
3905
  ({ placeholder: e, ...t }, n) => {
3904
- const o = Ne(Os), { onTextValueChange: a, textValue: i, onTextInputChange: l, onOpenChange: c, disabled: d, locale: h } = o, f = te(n, (I) => l(I)), g = () => {
3906
+ const o = Ne(zs), { onTextValueChange: a, textValue: i, onTextInputChange: l, onOpenChange: c, disabled: d, locale: h } = o, f = te(n, (I) => l(I)), g = () => {
3905
3907
  d || c(!0);
3906
3908
  }, p = he(h, {
3907
3909
  year: "numeric",
@@ -3926,7 +3928,7 @@ const fs = s.forwardRef(
3926
3928
  return [y, k, w];
3927
3929
  }, [p]), R = v.map((I) => `\\d{${I.length}}`).join(`\\${m}`);
3928
3930
  return /* @__PURE__ */ r(
3929
- Ms,
3931
+ Ps,
3930
3932
  {
3931
3933
  role: "combobox",
3932
3934
  type: "text",
@@ -3972,7 +3974,7 @@ const fs = s.forwardRef(
3972
3974
  }), U = O.calendar.getDaysInMonth(O), N = O.set({
3973
3975
  day: y && Number(y) <= U ? Number(y) : void 0
3974
3976
  });
3975
- o.onCalendarDateChange(Ps(N, o.minDate, o.maxDate)), o.onTextValueChange(I.target.value);
3977
+ o.onCalendarDateChange(Ls(N, o.minDate, o.maxDate)), o.onTextValueChange(I.target.value);
3976
3978
  }
3977
3979
  }),
3978
3980
  onKeyDown: Se(t.onKeyDown, (I) => {
@@ -4018,12 +4020,12 @@ const fs = s.forwardRef(
4018
4020
  );
4019
4021
  }
4020
4022
  );
4021
- function Ps(e, t, n) {
4023
+ function Ls(e, t, n) {
4022
4024
  return t && (e = bt(e, t)), n && (e = mt(e, n)), e;
4023
4025
  }
4024
- const Ms = u.input`
4026
+ const Ps = u.input`
4025
4027
  width: 100%;
4026
- ${sn}
4028
+ ${an}
4027
4029
  color: ${({ theme: e }) => e.colors.neutral800};
4028
4030
  border: none;
4029
4031
  background-color: transparent;
@@ -4040,14 +4042,14 @@ const Ms = u.input`
4040
4042
  &[aria-disabled='true'] {
4041
4043
  cursor: inherit;
4042
4044
  }
4043
- `, Bs = "DatePickerContent", Ns = s.forwardRef((e, t) => {
4044
- const n = Ne(Bs), [o, a] = s.useState(!1);
4045
+ `, Ms = "DatePickerContent", Bs = s.forwardRef((e, t) => {
4046
+ const n = Ne(Ms), [o, a] = s.useState(!1);
4045
4047
  return s.useEffect(() => {
4046
4048
  n.open && !o && a(!0);
4047
- }, [n.open, o]), !n.open && !o || !n.open ? null : /* @__PURE__ */ r(Fs, { ...e, ref: t });
4048
- }), Ws = "DatePickerContent", Fs = s.forwardRef(
4049
+ }, [n.open, o]), !n.open && !o || !n.open ? null : /* @__PURE__ */ r(Ws, { ...e, ref: t });
4050
+ }), Ns = "DatePickerContent", Ws = s.forwardRef(
4049
4051
  (e, t) => {
4050
- const { label: n = "Choose date", ...o } = e, { onOpenChange: a, ...i } = Ne(Ws), { x: l, y: c, refs: d, strategy: h, placement: f } = po({
4052
+ const { label: n = "Choose date", ...o } = e, { onOpenChange: a, ...i } = Ne(Ns), { x: l, y: c, refs: d, strategy: h, placement: f } = po({
4051
4053
  strategy: "fixed",
4052
4054
  placement: "bottom-start",
4053
4055
  middleware: [
@@ -4076,7 +4078,7 @@ const Ms = u.input`
4076
4078
  d.setFloating
4077
4079
  );
4078
4080
  return wo(), /* @__PURE__ */ r(Co, { allowPinchZoom: !0, children: /* @__PURE__ */ r(
4079
- hs,
4081
+ us,
4080
4082
  {
4081
4083
  asChild: !0,
4082
4084
  onFocusOutside: (p) => {
@@ -4086,7 +4088,7 @@ const Ms = u.input`
4086
4088
  a(!1);
4087
4089
  },
4088
4090
  children: /* @__PURE__ */ r(
4089
- Hs,
4091
+ Fs,
4090
4092
  {
4091
4093
  ref: g,
4092
4094
  "data-state": i.open ? "open" : "closed",
@@ -4110,7 +4112,7 @@ const Ms = u.input`
4110
4112
  }
4111
4113
  ) });
4112
4114
  }
4113
- ), Hs = u(S)`
4115
+ ), Fs = u(S)`
4114
4116
  box-shadow: ${({ theme: e }) => e.shadows.filterShadow};
4115
4117
  z-index: ${({ theme: e }) => e.zIndices.popover};
4116
4118
  border: 1px solid ${({ theme: e }) => e.colors.neutral150};
@@ -4130,9 +4132,9 @@ const Ms = u.input`
4130
4132
  }
4131
4133
  }
4132
4134
  }
4133
- `, Vs = "DatePickerCalendar", [js, _s] = Be("DateFormatters"), Us = s.forwardRef(
4135
+ `, Hs = "DatePickerCalendar", [Vs, js] = Be("DateFormatters"), _s = s.forwardRef(
4134
4136
  ({ monthSelectLabel: e, yearSelectLabel: t, ...n }, o) => {
4135
- const { locale: a, timeZone: i, minDate: l, maxDate: c, calendarDate: d, onCalendarDateChange: h } = Ne(Vs), f = Zn(d), g = s.useMemo(() => {
4137
+ const { locale: a, timeZone: i, minDate: l, maxDate: c, calendarDate: d, onCalendarDateChange: h } = Ne(Hs), f = Xn(d), g = s.useMemo(() => {
4136
4138
  const b = l.year, D = c.year;
4137
4139
  return [...Array(D - b + 1).keys()].map((L) => (b + L).toString());
4138
4140
  }, [l, c]), p = he(a, { month: "long" }), v = s.useMemo(
@@ -4141,7 +4143,7 @@ const Ms = u.input`
4141
4143
  ),
4142
4144
  [d, p, i]
4143
4145
  ), m = he(a, { weekday: "short" }), $ = s.useMemo(() => {
4144
- const b = xr(Tt(i), a);
4146
+ const b = $r(Tt(i), a);
4145
4147
  return [...new Array(7).keys()].map((D) => {
4146
4148
  const z = b.add({ days: D }).toDate(i);
4147
4149
  return m.format(z);
@@ -4168,15 +4170,15 @@ const Ms = u.input`
4168
4170
  return;
4169
4171
  const D = d.set({ year: parseInt(b, 10) });
4170
4172
  h(D);
4171
- }, E = Gs(f, a);
4173
+ }, E = Us(f, a);
4172
4174
  return /* @__PURE__ */ r(
4173
- js,
4175
+ Vs,
4174
4176
  {
4175
4177
  dateFormatter: R,
4176
4178
  cellDateFormatter: I,
4177
4179
  textValueFormatter: w,
4178
4180
  children: /* @__PURE__ */ x(C, { ref: o, direction: "column", alignItems: "stretch", padding: 4, ...n, children: [
4179
- /* @__PURE__ */ x(qs, { justifyContent: "flex-start", paddingBottom: 4, paddingLeft: 2, paddingRight: 2, gap: 2, children: [
4181
+ /* @__PURE__ */ x(Gs, { justifyContent: "flex-start", paddingBottom: 4, paddingLeft: 2, paddingRight: 2, gap: 2, children: [
4180
4182
  /* @__PURE__ */ r(Re, { children: /* @__PURE__ */ r(
4181
4183
  cr,
4182
4184
  {
@@ -4197,10 +4199,10 @@ const Ms = u.input`
4197
4199
  ) })
4198
4200
  ] }),
4199
4201
  /* @__PURE__ */ x("table", { role: "grid", children: [
4200
- /* @__PURE__ */ r("thead", { "aria-hidden": !0, children: /* @__PURE__ */ r("tr", { "aria-rowindex": 0, children: $.map((b, D) => /* @__PURE__ */ r(Ks, { "aria-colindex": D, children: b }, b)) }) }),
4202
+ /* @__PURE__ */ r("thead", { "aria-hidden": !0, children: /* @__PURE__ */ r("tr", { "aria-rowindex": 0, children: $.map((b, D) => /* @__PURE__ */ r(qs, { "aria-colindex": D, children: b }, b)) }) }),
4201
4203
  /* @__PURE__ */ r("tbody", { children: [...new Array(6).keys()].map((b) => /* @__PURE__ */ r("tr", { "aria-rowindex": b + 2, children: E(b).map(
4202
4204
  (D, L) => D ? /* @__PURE__ */ r(
4203
- Xs,
4205
+ Qs,
4204
4206
  {
4205
4207
  "aria-colindex": L + 1,
4206
4208
  date: D,
@@ -4208,31 +4210,31 @@ const Ms = u.input`
4208
4210
  disabled: l.compare(D) > 0 || D.compare(c) > 0
4209
4211
  },
4210
4212
  D.toString()
4211
- ) : /* @__PURE__ */ r(wn, { "aria-colindex": L + 1 }, L + 1)
4213
+ ) : /* @__PURE__ */ r(xn, { "aria-colindex": L + 1 }, L + 1)
4212
4214
  ) }, b)) })
4213
4215
  ] })
4214
4216
  ] })
4215
4217
  }
4216
4218
  );
4217
4219
  }
4218
- ), Gs = (e, t) => (n) => {
4220
+ ), Us = (e, t) => (n) => {
4219
4221
  let o = e.add({ weeks: n });
4220
4222
  const a = [];
4221
- o = xr(o, t);
4222
- const i = Jn(o, t);
4223
+ o = $r(o, t);
4224
+ const i = Zn(o, t);
4223
4225
  for (let l = 0; l < i; l++)
4224
4226
  a.push(null);
4225
4227
  for (; a.length < 7; ) {
4226
4228
  a.push(o);
4227
4229
  const l = o.add({ days: 1 });
4228
- if (wr(o, l))
4230
+ if (xr(o, l))
4229
4231
  break;
4230
4232
  o = l;
4231
4233
  }
4232
4234
  for (; a.length < 7; )
4233
4235
  a.push(null);
4234
4236
  return a;
4235
- }, qs = u(C)`
4237
+ }, Gs = u(C)`
4236
4238
  div[role='combobox'] {
4237
4239
  border: 1px solid transparent;
4238
4240
  background: transparent;
@@ -4246,20 +4248,20 @@ const Ms = u.input`
4246
4248
  background-color: ${({ theme: e }) => e.colors.neutral100};
4247
4249
  }
4248
4250
  }
4249
- `, Ks = s.forwardRef(
4250
- ({ children: e, ...t }, n) => /* @__PURE__ */ r(Ys, { tag: "th", role: "gridcell", ref: n, ...t, height: "2.4rem", width: "3.2rem", children: /* @__PURE__ */ r(A, { variant: "pi", fontWeight: "bold", color: "neutral800", children: e.slice(0, 2) }) })
4251
- ), Ys = u(S)`
4251
+ `, qs = s.forwardRef(
4252
+ ({ children: e, ...t }, n) => /* @__PURE__ */ r(Ks, { tag: "th", role: "gridcell", ref: n, ...t, height: "2.4rem", width: "3.2rem", children: /* @__PURE__ */ r(A, { variant: "pi", fontWeight: "bold", color: "neutral800", children: e.slice(0, 2) }) })
4253
+ ), Ks = u(S)`
4252
4254
  border-radius: ${({ theme: e }) => e.borderRadius};
4253
4255
  text-transform: capitalize;
4254
- `, Qs = "DatePickerCalendarCell", Xs = s.forwardRef(
4256
+ `, Ys = "DatePickerCalendarCell", Qs = s.forwardRef(
4255
4257
  ({ date: e, startDate: t, disabled: n, ...o }, a) => {
4256
- const { timeZone: i, calendarDate: l, onValueChange: c, onOpenChange: d, onTextValueChange: h, onCalendarDateChange: f } = Ne(Qs), { dateFormatter: g, cellDateFormatter: p, textValueFormatter: v } = _s("DatePickerCalendarCell"), m = wr(l, e), $ = s.useMemo(() => g.format(e.toDate(i)), [g, e, i]), R = s.useMemo(
4258
+ const { timeZone: i, calendarDate: l, onValueChange: c, onOpenChange: d, onTextValueChange: h, onCalendarDateChange: f } = Ne(Ys), { dateFormatter: g, cellDateFormatter: p, textValueFormatter: v } = js("DatePickerCalendarCell"), m = xr(l, e), $ = s.useMemo(() => g.format(e.toDate(i)), [g, e, i]), R = s.useMemo(
4257
4259
  () => p.formatToParts(e.toDate(i)).find((k) => k.type === "day").value,
4258
4260
  [p, e, i]
4259
- ), I = eo(t), w = e.compare(t) < 0 || e.compare(I) > 0;
4261
+ ), I = Jn(t), w = e.compare(t) < 0 || e.compare(I) > 0;
4260
4262
  let y = "neutral900";
4261
4263
  return m ? y = "primary600" : w && (y = "neutral600"), /* @__PURE__ */ r(
4262
- wn,
4264
+ xn,
4263
4265
  {
4264
4266
  tag: "td",
4265
4267
  role: "gridcell",
@@ -4279,7 +4281,7 @@ const Ms = u.input`
4279
4281
  }
4280
4282
  );
4281
4283
  }
4282
- ), wn = u(S)`
4284
+ ), xn = u(S)`
4283
4285
  text-align: center;
4284
4286
  padding: 0.7rem;
4285
4287
  // Trick to prevent the outline from overflowing because of the general outline-offset
@@ -4296,15 +4298,15 @@ const Ms = u.input`
4296
4298
  }
4297
4299
  }
4298
4300
  `, ve = (e) => {
4299
- const t = e.toISOString(), n = Qn(t, "UTC");
4300
- return Xn(n);
4301
- }, Zs = s.memo(Is), ht = (e) => !!e.match(/^[^a-zA-Z]*$/);
4302
- function Js(e = "") {
4301
+ const t = e.toISOString(), n = Yn(t, "UTC");
4302
+ return Qn(n);
4303
+ }, Xs = s.memo(Ts), ht = (e) => !!e.match(/^[^a-zA-Z]*$/);
4304
+ function Zs(e = "") {
4303
4305
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
4304
4306
  }
4305
- const el = u(Vi)`
4307
+ const Js = u(Vi)`
4306
4308
  min-width: ${({ onClear: e }) => e ? "160px" : "130px"};
4307
- `, tl = s.forwardRef(
4309
+ `, el = s.forwardRef(
4308
4310
  ({ step: e = 15, value: t, defaultValue: n, onChange: o, ...a }, i) => {
4309
4311
  const l = lt("TimePicker"), [c, d] = s.useState(""), [h, f] = de({
4310
4312
  prop: t,
@@ -4344,9 +4346,9 @@ const el = u(Vi)`
4344
4346
  const k = typeof t > "u" ? "" : t;
4345
4347
  ht(k) && d(k);
4346
4348
  }, [t, d]);
4347
- const y = `\\d{2}${Js(p)}\\d{2}`;
4349
+ const y = `\\d{2}${Zs(p)}\\d{2}`;
4348
4350
  return /* @__PURE__ */ r(
4349
- el,
4351
+ Js,
4350
4352
  {
4351
4353
  ...a,
4352
4354
  ref: i,
@@ -4424,7 +4426,7 @@ const el = u(Vi)`
4424
4426
  }, N = te(m, v), { error: W, id: H, labelNode: M } = ne("DateTimePicker"), q = !!W || a;
4425
4427
  return /* @__PURE__ */ x(C, { "aria-labelledby": M ? `${H}-label` : void 0, role: "group", flex: "1", gap: 1, wrap: "wrap", children: [
4426
4428
  /* @__PURE__ */ r(Re, { flex: "1", children: /* @__PURE__ */ r(
4427
- Zs,
4429
+ Xs,
4428
4430
  {
4429
4431
  ...p,
4430
4432
  hasError: q,
@@ -4440,7 +4442,7 @@ const el = u(Vi)`
4440
4442
  }
4441
4443
  ) }),
4442
4444
  /* @__PURE__ */ r(Re, { flex: "1", children: /* @__PURE__ */ r(
4443
- tl,
4445
+ el,
4444
4446
  {
4445
4447
  size: g,
4446
4448
  hasError: q,
@@ -4458,10 +4460,10 @@ const el = u(Vi)`
4458
4460
  }
4459
4461
  ), Ve = (e, t = !0) => {
4460
4462
  const n = e.toISOString();
4461
- let o = to(n);
4462
- return t && (o = o.set({ hour: 0, minute: 0 })), ro(o);
4463
- }, yn = s.forwardRef((e, t) => /* @__PURE__ */ r(
4464
- rl,
4463
+ let o = eo(n);
4464
+ return t && (o = o.set({ hour: 0, minute: 0 })), to(o);
4465
+ }, wn = s.forwardRef((e, t) => /* @__PURE__ */ r(
4466
+ tl,
4465
4467
  {
4466
4468
  ref: t,
4467
4469
  background: "neutral150",
@@ -4470,12 +4472,12 @@ const el = u(Vi)`
4470
4472
  role: "separator",
4471
4473
  tag: "div"
4472
4474
  }
4473
- )), rl = u(S)`
4475
+ )), tl = u(S)`
4474
4476
  height: 1px;
4475
4477
  border: none;
4476
4478
  /* If contained in a Flex parent we want to prevent the Divider to shink */
4477
4479
  flex-shrink: 0;
4478
- `, nl = u(S)`
4480
+ `, rl = u(S)`
4479
4481
  svg {
4480
4482
  height: 8.8rem;
4481
4483
  }
@@ -4491,26 +4493,26 @@ const el = u(Vi)`
4491
4493
  hasRadius: o,
4492
4494
  shadow: a,
4493
4495
  children: [
4494
- e ? /* @__PURE__ */ r(nl, { paddingBottom: 6, "aria-hidden": !0, children: e }) : null,
4496
+ e ? /* @__PURE__ */ r(rl, { paddingBottom: 6, "aria-hidden": !0, children: e }) : null,
4495
4497
  /* @__PURE__ */ r(S, { paddingBottom: 4, children: /* @__PURE__ */ r(A, { variant: "delta", tag: "p", textAlign: "center", textColor: "neutral600", children: t }) }),
4496
4498
  n
4497
4499
  ]
4498
4500
  }
4499
4501
  )
4500
- ), Cn = Rr.define(), vn = Rr.define(), ol = Tr.mark({
4502
+ ), yn = Sr.define(), Cn = Sr.define(), nl = Rr.mark({
4501
4503
  attributes: { style: "background-color: yellow; color: black" }
4502
- }), al = To.define({
4504
+ }), ol = To.define({
4503
4505
  // Start with an empty set of decorations
4504
4506
  create() {
4505
- return Tr.none;
4507
+ return Rr.none;
4506
4508
  },
4507
4509
  // This is called whenever the editor updates it computes the new set
4508
4510
  update(e, t) {
4509
4511
  return e = e.map(t.changes), t.effects.forEach((n) => {
4510
- n.is(Cn) ? e = e.update({
4512
+ n.is(yn) ? e = e.update({
4511
4513
  add: n.value,
4512
4514
  sort: !0
4513
- }) : n.is(vn) && (e = e.update({ filter: n.value }));
4515
+ }) : n.is(Cn) && (e = e.update({ filter: n.value }));
4514
4516
  }), e;
4515
4517
  },
4516
4518
  // Indicate that this field provides a set of decorations
@@ -4534,7 +4536,7 @@ const el = u(Vi)`
4534
4536
  if (O) {
4535
4537
  const { text: W, to: H } = O.line(z), M = H - W.trimStart().length;
4536
4538
  H > M && ((N = f.current) == null || N.dispatch({
4537
- effects: Cn.of([ol.range(M, H)])
4539
+ effects: yn.of([nl.range(M, H)])
4538
4540
  }));
4539
4541
  }
4540
4542
  }, w = () => {
@@ -4543,7 +4545,7 @@ const el = u(Vi)`
4543
4545
  if (z) {
4544
4546
  const N = z.length || 0;
4545
4547
  (U = f.current) == null || U.dispatch({
4546
- effects: vn.of((W, H) => H <= 0 || W >= N)
4548
+ effects: Cn.of((W, H) => H <= 0 || W >= N)
4547
4549
  });
4548
4550
  }
4549
4551
  }, y = ({ state: z, view: O }) => {
@@ -4559,7 +4561,7 @@ const el = u(Vi)`
4559
4561
  onCreateEditor: E,
4560
4562
  container: d.current,
4561
4563
  editable: !a,
4562
- extensions: [ko(), al],
4564
+ extensions: [ko(), ol],
4563
4565
  onChange: k,
4564
4566
  theme: "dark",
4565
4567
  basicSetup: {
@@ -4585,7 +4587,7 @@ const el = u(Vi)`
4585
4587
  }),
4586
4588
  [D]
4587
4589
  ), /* @__PURE__ */ r(
4588
- il,
4590
+ al,
4589
4591
  {
4590
4592
  ref: L,
4591
4593
  $disabled: a,
@@ -4599,7 +4601,7 @@ const el = u(Vi)`
4599
4601
  }
4600
4602
  );
4601
4603
  }
4602
- ), il = u(C)`
4604
+ ), al = u(C)`
4603
4605
  font-size: ${({ theme: e }) => e.fontSizes[3]};
4604
4606
  line-height: ${({ theme: e }) => e.lineHeights[6]};
4605
4607
 
@@ -4648,12 +4650,12 @@ const el = u(Vi)`
4648
4650
  ...t
4649
4651
  }
4650
4652
  )
4651
- ), sl = u(S)`
4653
+ ), il = u(S)`
4652
4654
  // To prevent global outline on focus visible to force an outline when Main is focused
4653
4655
  &:focus-visible {
4654
4656
  outline: none;
4655
4657
  }
4656
- `, Vd = ({ labelledBy: e = "main-content-title", ...t }) => /* @__PURE__ */ r(sl, { "aria-labelledby": e, tag: "main", id: "main-content", tabIndex: -1, ...t }), ll = u(S)`
4658
+ `, Vd = ({ labelledBy: e = "main-content-title", ...t }) => /* @__PURE__ */ r(il, { "aria-labelledby": e, tag: "main", id: "main-content", tabIndex: -1, ...t }), sl = u(S)`
4657
4659
  text-decoration: none;
4658
4660
 
4659
4661
  &:focus {
@@ -4661,7 +4663,7 @@ const el = u(Vi)`
4661
4663
  top: ${({ theme: e }) => e.spaces[3]};
4662
4664
  }
4663
4665
  `, jd = ({ children: e }) => /* @__PURE__ */ r(
4664
- ll,
4666
+ sl,
4665
4667
  {
4666
4668
  tag: "a",
4667
4669
  href: "#main-content",
@@ -4675,8 +4677,8 @@ const el = u(Vi)`
4675
4677
  zIndex: 9999,
4676
4678
  children: e
4677
4679
  }
4678
- ), cl = Ie.Root, dl = s.forwardRef((e, t) => /* @__PURE__ */ r(Ie.Trigger, { ...e, asChild: !0, ref: t })), ul = s.forwardRef((e, t) => /* @__PURE__ */ r(Ie.Portal, { children: /* @__PURE__ */ r(hl, { children: /* @__PURE__ */ r(fl, { ref: t, ...e }) }) })), hl = u(Ie.Overlay)`
4679
- background: ${(e) => ln(e.theme.colors.neutral800, 0.2)};
4680
+ ), ll = Ie.Root, cl = s.forwardRef((e, t) => /* @__PURE__ */ r(Ie.Trigger, { ...e, asChild: !0, ref: t })), dl = s.forwardRef((e, t) => /* @__PURE__ */ r(Ie.Portal, { children: /* @__PURE__ */ r(ul, { children: /* @__PURE__ */ r(hl, { ref: t, ...e }) }) })), ul = u(Ie.Overlay)`
4681
+ background: ${(e) => sn(e.theme.colors.neutral800, 0.2)};
4680
4682
  position: fixed;
4681
4683
  inset: 0;
4682
4684
  z-index: ${(e) => e.theme.zIndices.overlay};
@@ -4686,7 +4688,7 @@ const el = u(Vi)`
4686
4688
  animation: ${_.overlayFadeIn} ${(e) => e.theme.motion.timings[200]}
4687
4689
  ${(e) => e.theme.motion.easings.authenticMotion};
4688
4690
  }
4689
- `, fl = u(Ie.Content)`
4691
+ `, hl = u(Ie.Content)`
4690
4692
  max-width: 83rem;
4691
4693
  max-height: 90vh;
4692
4694
  height: auto;
@@ -4727,9 +4729,9 @@ const el = u(Vi)`
4727
4729
  animation-name: ${_.modalPopOut};
4728
4730
  }
4729
4731
  }
4730
- `, kn = s.forwardRef((e, t) => /* @__PURE__ */ r(Ie.Close, { ...e, asChild: !0, ref: t })), gl = s.forwardRef(
4732
+ `, vn = s.forwardRef((e, t) => /* @__PURE__ */ r(Ie.Close, { ...e, asChild: !0, ref: t })), fl = s.forwardRef(
4731
4733
  ({ children: e, closeLabel: t = "Close modal", ...n }, o) => /* @__PURE__ */ x(
4732
- pl,
4734
+ gl,
4733
4735
  {
4734
4736
  ref: o,
4735
4737
  padding: 4,
@@ -4741,13 +4743,13 @@ const el = u(Vi)`
4741
4743
  tag: "header",
4742
4744
  children: [
4743
4745
  e,
4744
- /* @__PURE__ */ r(kn, { children: /* @__PURE__ */ r(be, { withTooltip: !1, label: t, children: /* @__PURE__ */ r(Te, {}) }) })
4746
+ /* @__PURE__ */ r(vn, { children: /* @__PURE__ */ r(be, { withTooltip: !1, label: t, children: /* @__PURE__ */ r(Te, {}) }) })
4745
4747
  ]
4746
4748
  }
4747
4749
  )
4748
- ), pl = u(C)`
4750
+ ), gl = u(C)`
4749
4751
  border-bottom: solid 1px ${(e) => e.theme.colors.neutral150};
4750
- `, ml = s.forwardRef((e, t) => /* @__PURE__ */ r(Ie.Title, { asChild: !0, children: /* @__PURE__ */ r(A, { tag: "h2", variant: "omega", fontWeight: "bold", ref: t, ...e }) })), bl = s.forwardRef(({ children: e, ...t }, n) => /* @__PURE__ */ r($l, { ref: n, ...t, children: e })), $l = u(st)`
4752
+ `, pl = s.forwardRef((e, t) => /* @__PURE__ */ r(Ie.Title, { asChild: !0, children: /* @__PURE__ */ r(A, { tag: "h2", variant: "omega", fontWeight: "bold", ref: t, ...e }) })), ml = s.forwardRef(({ children: e, ...t }, n) => /* @__PURE__ */ r(bl, { ref: n, ...t, children: e })), bl = u(st)`
4751
4753
  padding-inline: ${(e) => e.theme.spaces[7]};
4752
4754
 
4753
4755
  & > div {
@@ -4762,8 +4764,8 @@ const el = u(Vi)`
4762
4764
  display: block !important;
4763
4765
  }
4764
4766
  }
4765
- `, xl = s.forwardRef((e, t) => /* @__PURE__ */ r(
4766
- wl,
4767
+ `, $l = s.forwardRef((e, t) => /* @__PURE__ */ r(
4768
+ xl,
4767
4769
  {
4768
4770
  ref: t,
4769
4771
  padding: 4,
@@ -4774,27 +4776,27 @@ const el = u(Vi)`
4774
4776
  ...e,
4775
4777
  tag: "footer"
4776
4778
  }
4777
- )), wl = u(C)`
4779
+ )), xl = u(C)`
4778
4780
  border-top: solid 1px ${(e) => e.theme.colors.neutral150};
4779
4781
  flex: 1;
4780
4782
  `, _d = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4781
4783
  __proto__: null,
4782
- Body: bl,
4783
- Close: kn,
4784
- Content: ul,
4785
- Footer: xl,
4786
- Header: gl,
4787
- Root: cl,
4788
- Title: ml,
4789
- Trigger: dl
4790
- }, Symbol.toStringTag, { value: "Module" })), yl = "", Ud = s.forwardRef(
4784
+ Body: ml,
4785
+ Close: vn,
4786
+ Content: dl,
4787
+ Footer: $l,
4788
+ Header: fl,
4789
+ Root: ll,
4790
+ Title: pl,
4791
+ Trigger: cl
4792
+ }, Symbol.toStringTag, { value: "Module" })), wl = "", Ud = s.forwardRef(
4791
4793
  ({ startAction: e, locale: t, onValueChange: n, value: o, step: a = 1, disabled: i = !1, ...l }, c) => {
4792
- const d = lt("NumberInput"), h = t || d.locale, f = s.useRef(new Do(h, { style: "decimal" })), g = s.useRef(new Eo(h, { maximumFractionDigits: 20 })), [p, v] = Cl({
4794
+ const d = lt("NumberInput"), h = t || d.locale, f = s.useRef(new Do(h, { style: "decimal" })), g = s.useRef(new Eo(h, { maximumFractionDigits: 20 })), [p, v] = yl({
4793
4795
  prop(b) {
4794
4796
  const D = String(o);
4795
4797
  return isNaN(Number(D)) || D !== b && b !== "" ? b : g.current.format(Number(o));
4796
4798
  },
4797
- defaultProp: yl,
4799
+ defaultProp: wl,
4798
4800
  onChange(b) {
4799
4801
  if (!n) return;
4800
4802
  const D = f.current.parse(b ?? "");
@@ -4895,16 +4897,16 @@ const el = u(Vi)`
4895
4897
  transform: ${({ $reverse: e }) => e ? "rotateX(180deg)" : void 0};
4896
4898
  }
4897
4899
  `;
4898
- function Cl({
4900
+ function yl({
4899
4901
  prop: e,
4900
4902
  defaultProp: t,
4901
4903
  onChange: n = () => {
4902
4904
  }
4903
4905
  }) {
4904
- const [o, a] = Pr({
4906
+ const [o, a] = Lr({
4905
4907
  defaultProp: t,
4906
4908
  onChange: n
4907
- }), i = e !== void 0, l = e instanceof Function ? e(o) : e, c = i ? l : o, d = yr(n), h = s.useCallback(
4909
+ }), i = e !== void 0, l = e instanceof Function ? e(o) : e, c = i ? l : o, d = wr(n), h = s.useCallback(
4908
4910
  (f) => {
4909
4911
  if (i) {
4910
4912
  const p = typeof f == "function" ? f(l) : f;
@@ -4916,26 +4918,26 @@ function Cl({
4916
4918
  );
4917
4919
  return [c, h];
4918
4920
  }
4919
- const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useContext(Sn), Gd = ({ children: e, label: t = "Pagination", activePage: n, pageCount: o }) => {
4921
+ const kn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useContext(kn), Gd = ({ children: e, label: t = "Pagination", activePage: n, pageCount: o }) => {
4920
4922
  const a = s.useMemo(() => ({ activePage: n, pageCount: o }), [n, o]);
4921
- return /* @__PURE__ */ r(Sn.Provider, { value: a, children: /* @__PURE__ */ r(S, { "aria-label": t, tag: "nav", children: /* @__PURE__ */ r(C, { tag: "ol", gap: 1, children: s.Children.map(e, (i, l) => /* @__PURE__ */ r("li", { children: i }, l)) }) }) });
4923
+ return /* @__PURE__ */ r(kn.Provider, { value: a, children: /* @__PURE__ */ r(S, { "aria-label": t, tag: "nav", children: /* @__PURE__ */ r(C, { tag: "ol", gap: 1, children: s.Children.map(e, (i, l) => /* @__PURE__ */ r("li", { children: i }, l)) }) }) });
4922
4924
  }, qd = ee(
4923
4925
  ({ children: e, ...t }, n) => {
4924
4926
  const { activePage: o } = Ht(), a = o === 1;
4925
- return /* @__PURE__ */ x(Tn, { ref: n, "aria-disabled": a, tabIndex: a ? -1 : void 0, ...t, children: [
4927
+ return /* @__PURE__ */ x(Rn, { ref: n, "aria-disabled": a, tabIndex: a ? -1 : void 0, ...t, children: [
4926
4928
  /* @__PURE__ */ r($e, { children: e }),
4927
- /* @__PURE__ */ r(vr, { "aria-hidden": !0 })
4929
+ /* @__PURE__ */ r(Cr, { "aria-hidden": !0 })
4928
4930
  ] });
4929
4931
  }
4930
4932
  ), Kd = ee(
4931
4933
  ({ children: e, ...t }, n) => {
4932
4934
  const { activePage: o, pageCount: a } = Ht(), i = o === a;
4933
- return /* @__PURE__ */ x(Tn, { ref: n, "aria-disabled": i, tabIndex: i ? -1 : void 0, ...t, children: [
4935
+ return /* @__PURE__ */ x(Rn, { ref: n, "aria-disabled": i, tabIndex: i ? -1 : void 0, ...t, children: [
4934
4936
  /* @__PURE__ */ r($e, { children: e }),
4935
4937
  /* @__PURE__ */ r(Dt, { "aria-hidden": !0 })
4936
4938
  ] });
4937
4939
  }
4938
- ), Rn = u(qe)`
4940
+ ), Sn = u(qe)`
4939
4941
  padding: ${({ theme: e }) => e.spaces[3]};
4940
4942
  border-radius: ${({ theme: e }) => e.borderRadius};
4941
4943
  box-shadow: ${({ $active: e, theme: t }) => e ? t.shadows.filterShadow : void 0};
@@ -4943,7 +4945,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
4943
4945
  display: flex;
4944
4946
 
4945
4947
  ${nt}
4946
- `, Tn = u(Rn)`
4948
+ `, Rn = u(Sn)`
4947
4949
  font-size: 1.1rem;
4948
4950
 
4949
4951
  svg path {
@@ -4963,12 +4965,12 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
4963
4965
  `, Yd = ee(
4964
4966
  ({ number: e, children: t, ...n }, o) => {
4965
4967
  const { activePage: a } = Ht(), i = a === e;
4966
- return /* @__PURE__ */ x(vl, { ref: o, ...n, "aria-current": i, $active: i, children: [
4968
+ return /* @__PURE__ */ x(Cl, { ref: o, ...n, "aria-current": i, $active: i, children: [
4967
4969
  /* @__PURE__ */ r($e, { children: t }),
4968
4970
  /* @__PURE__ */ r(A, { "aria-hidden": !0, fontWeight: i ? "bold" : void 0, lineHeight: "revert", variant: "pi", children: e })
4969
4971
  ] });
4970
4972
  }
4971
- ), vl = u(Rn)`
4973
+ ), Cl = u(Sn)`
4972
4974
  color: ${({ theme: e, $active: t }) => t ? e.colors.primary700 : e.colors.neutral800};
4973
4975
  background: ${({ theme: e, $active: t }) => t ? e.colors.neutral0 : void 0};
4974
4976
 
@@ -4978,7 +4980,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
4978
4980
  `, Qd = ({ children: e, ...t }) => /* @__PURE__ */ x(S, { ...t, children: [
4979
4981
  /* @__PURE__ */ r($e, { children: e }),
4980
4982
  /* @__PURE__ */ r(A, { "aria-hidden": !0, lineHeight: "revert", textColor: "neutral800", variant: "pi", children: "…" })
4981
- ] }), kl = Me.Root, Sl = Me.Anchor, Rl = Me.Arrow, Tl = s.forwardRef((e, t) => /* @__PURE__ */ r(Me.Trigger, { ...e, asChild: !0, ref: t })), Il = s.forwardRef((e, t) => /* @__PURE__ */ r(Me.Portal, { children: /* @__PURE__ */ r(Dl, { sideOffset: 4, side: "bottom", align: "start", ...e, ref: t }) })), Dl = u(Me.Content)`
4983
+ ] }), vl = Me.Root, kl = Me.Anchor, Sl = Me.Arrow, Rl = s.forwardRef((e, t) => /* @__PURE__ */ r(Me.Trigger, { ...e, asChild: !0, ref: t })), Tl = s.forwardRef((e, t) => /* @__PURE__ */ r(Me.Portal, { children: /* @__PURE__ */ r(Il, { sideOffset: 4, side: "bottom", align: "start", ...e, ref: t }) })), Il = u(Me.Content)`
4982
4984
  box-shadow: ${({ theme: e }) => e.shadows.filterShadow};
4983
4985
  z-index: ${({ theme: e }) => e.zIndices.popover};
4984
4986
  background-color: ${(e) => e.theme.colors.neutral0};
@@ -5012,31 +5014,31 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5012
5014
  }
5013
5015
  }
5014
5016
  }
5015
- `, El = s.forwardRef(
5017
+ `, Dl = s.forwardRef(
5016
5018
  ({ children: e, intersectionId: t, onReachEnd: n, ...o }, a) => {
5017
5019
  const i = s.useRef(null), l = te(i, a), c = re();
5018
5020
  return Ke(i, n ?? (() => {
5019
5021
  }), {
5020
5022
  selectorToWatch: `#${Pe(c)}`,
5021
5023
  skipWhen: !t || !n
5022
- }), /* @__PURE__ */ x(Al, { ref: l, ...o, children: [
5024
+ }), /* @__PURE__ */ x(El, { ref: l, ...o, children: [
5023
5025
  e,
5024
5026
  t && n && /* @__PURE__ */ r(S, { id: Pe(c), width: "100%", height: "1px" })
5025
5027
  ] });
5026
5028
  }
5027
- ), Al = u(st)`
5029
+ ), El = u(st)`
5028
5030
  height: 20rem;
5029
5031
  `, Xd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5030
5032
  __proto__: null,
5031
- Anchor: Sl,
5032
- Arrow: Rl,
5033
- Content: Il,
5034
- Root: kl,
5035
- ScrollArea: El,
5036
- Trigger: Tl
5033
+ Anchor: kl,
5034
+ Arrow: Sl,
5035
+ Content: Tl,
5036
+ Root: vl,
5037
+ ScrollArea: Dl,
5038
+ Trigger: Rl
5037
5039
  }, Symbol.toStringTag, { value: "Module" })), Zd = s.forwardRef(
5038
- ({ size: e = "M", value: t, ...n }, o) => /* @__PURE__ */ r(zl, { ref: o, $size: e, ...n, children: /* @__PURE__ */ r(Ol, { style: { transform: `translate3D(-${100 - (t ?? 0)}%, 0, 0)` } }) })
5039
- ), zl = u(Ir.Root)`
5040
+ ({ size: e = "M", value: t, ...n }, o) => /* @__PURE__ */ r(Al, { ref: o, $size: e, ...n, children: /* @__PURE__ */ r(zl, { style: { transform: `translate3D(-${100 - (t ?? 0)}%, 0, 0)` } }) })
5041
+ ), Al = u(Tr.Root)`
5040
5042
  position: relative;
5041
5043
  overflow: hidden;
5042
5044
  width: ${(e) => e.$size === "S" ? "7.8rem" : "10.2rem"};
@@ -5047,7 +5049,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5047
5049
  /* Fix overflow clipping in Safari */
5048
5050
  /* https://gist.github.com/domske/b66047671c780a238b51c51ffde8d3a0 */
5049
5051
  transform: translateZ(0);
5050
- `, Ol = u(Ir.Indicator)`
5052
+ `, zl = u(Tr.Indicator)`
5051
5053
  background-color: ${({ theme: e }) => e.colors.neutral0};
5052
5054
  border-radius: ${({ theme: e }) => e.borderRadius};
5053
5055
  width: 100%;
@@ -5057,17 +5059,17 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5057
5059
  transition: transform ${(e) => e.theme.motion.timings[320]}
5058
5060
  ${(e) => e.theme.motion.easings.authenticMotion};
5059
5061
  }
5060
- `, Ll = s.forwardRef((e, t) => /* @__PURE__ */ r(Pl, { ref: t, ...e })), Pl = u(At.Root)`
5062
+ `, Ol = s.forwardRef((e, t) => /* @__PURE__ */ r(Ll, { ref: t, ...e })), Ll = u(At.Root)`
5061
5063
  display: flex;
5062
5064
  flex-direction: column;
5063
5065
  gap: ${(e) => e.theme.spaces[3]};
5064
- `, Ml = s.forwardRef(({ children: e, id: t, ...n }, o) => {
5066
+ `, Pl = s.forwardRef(({ children: e, id: t, ...n }, o) => {
5065
5067
  const a = re(t);
5066
5068
  return /* @__PURE__ */ x(C, { gap: 2, children: [
5067
- /* @__PURE__ */ r(Bl, { id: a, ref: o, ...n, children: /* @__PURE__ */ r(Nl, {}) }),
5069
+ /* @__PURE__ */ r(Ml, { id: a, ref: o, ...n, children: /* @__PURE__ */ r(Bl, {}) }),
5068
5070
  /* @__PURE__ */ r(A, { tag: "label", htmlFor: a, children: e })
5069
5071
  ] });
5070
- }), Bl = u(At.Item)`
5072
+ }), Ml = u(At.Item)`
5071
5073
  background: ${(e) => e.theme.colors.neutral0};
5072
5074
  width: 2rem;
5073
5075
  height: 2rem;
@@ -5104,7 +5106,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5104
5106
  min-width: 44px;
5105
5107
  min-height: 44px;
5106
5108
  }
5107
- `, Nl = u(At.Indicator)`
5109
+ `, Bl = u(At.Indicator)`
5108
5110
  display: flex;
5109
5111
  align-items: center;
5110
5112
  justify-content: center;
@@ -5128,24 +5130,24 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5128
5130
  }
5129
5131
  `, Jd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5130
5132
  __proto__: null,
5131
- Group: Ll,
5132
- Item: Ml
5133
- }, Symbol.toStringTag, { value: "Module" })), Wl = (e) => {
5133
+ Group: Ol,
5134
+ Item: Pl
5135
+ }, Symbol.toStringTag, { value: "Module" })), Nl = (e) => {
5134
5136
  const t = e.querySelector('[tabindex="0"]');
5135
5137
  t && t.focus();
5136
- }, In = s.createContext({
5138
+ }, Tn = s.createContext({
5137
5139
  rowIndex: 0,
5138
5140
  colIndex: 0,
5139
5141
  setTableValues() {
5140
5142
  throw new Error("setTableValues must be initialized via the RawTableContext.Provider");
5141
5143
  }
5142
- }), Fl = () => s.useContext(In), Hl = s.forwardRef(
5144
+ }), Wl = () => s.useContext(Tn), Fl = s.forwardRef(
5143
5145
  ({ colCount: e, rowCount: t, jumpStep: n = 3, initialCol: o = 0, initialRow: a = 0, ...i }, l) => {
5144
5146
  const c = s.useRef(null), d = s.useRef(!1), h = s.useRef(!1), f = te(c, l), [g, p] = s.useState(a), [v, m] = s.useState(o), $ = s.useCallback(({ colIndex: w, rowIndex: y }) => {
5145
5147
  h.current = !0, m(w), p(y);
5146
5148
  }, []);
5147
5149
  s.useEffect(() => {
5148
- d.current && !h.current && Wl(c.current), h.current = !1, d.current || (d.current = !0);
5150
+ d.current && !h.current && Nl(c.current), h.current = !1, d.current || (d.current = !0);
5149
5151
  }, [v, g]);
5150
5152
  const R = (w) => {
5151
5153
  switch (h.current = !1, w.key) {
@@ -5183,7 +5185,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5183
5185
  }
5184
5186
  }
5185
5187
  }, I = s.useMemo(() => ({ rowIndex: g, colIndex: v, setTableValues: $ }), [v, g, $]);
5186
- return /* @__PURE__ */ r(In.Provider, { value: I, children: /* @__PURE__ */ r(
5188
+ return /* @__PURE__ */ r(Tn.Provider, { value: I, children: /* @__PURE__ */ r(
5187
5189
  "table",
5188
5190
  {
5189
5191
  role: "grid",
@@ -5199,9 +5201,9 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5199
5201
  ...e.querySelectorAll(
5200
5202
  'a, button, input, textarea, select, details, [tabindex]:not([tabindex="-1"])'
5201
5203
  )
5202
- ].filter((a) => a.hasAttribute("disabled") ? !1 : t ? !0 : a.getAttribute("tabindex") !== "-1"), ft = (e) => e.filter((t) => t.tagName === "INPUT" ? t.type !== "checkbox" && t.type !== "radio" : !1), Dn = s.forwardRef(
5204
+ ].filter((a) => a.hasAttribute("disabled") ? !1 : t ? !0 : a.getAttribute("tabindex") !== "-1"), ft = (e) => e.filter((t) => t.tagName === "INPUT" ? t.type !== "checkbox" && t.type !== "radio" : !1), In = s.forwardRef(
5203
5205
  ({ coords: e = { col: 0, row: 0 }, tag: t = "td", ...n }, o) => {
5204
- const a = s.useRef(null), i = te(o, a), { rowIndex: l, colIndex: c, setTableValues: d } = Fl(), [h, f] = s.useState(!1), g = (m) => {
5206
+ const a = s.useRef(null), i = te(o, a), { rowIndex: l, colIndex: c, setTableValues: d } = Wl(), [h, f] = s.useState(!1), g = (m) => {
5205
5207
  var I;
5206
5208
  const $ = ke(a.current, !0);
5207
5209
  if ($.length === 0 || $.length === 1 && ft($).length === 0)
@@ -5250,38 +5252,38 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5250
5252
  };
5251
5253
  }, [v]), /* @__PURE__ */ r(S, { role: "gridcell", tag: t, ref: i, onKeyDown: g, ...n });
5252
5254
  }
5253
- ), Vl = (e) => /* @__PURE__ */ r(Dn, { ...e, tag: "th" }), jl = ({ children: e, ...t }) => {
5255
+ ), Hl = (e) => /* @__PURE__ */ r(In, { ...e, tag: "th" }), Vl = ({ children: e, ...t }) => {
5254
5256
  const n = s.Children.toArray(e).map((o) => s.isValidElement(o) ? s.cloneElement(o, { "aria-rowindex": 1 }) : o);
5255
5257
  return /* @__PURE__ */ r("thead", { ...t, children: n });
5256
- }, _l = ({ children: e, ...t }) => {
5258
+ }, jl = ({ children: e, ...t }) => {
5257
5259
  const n = s.Children.toArray(e).map((o, a) => s.isValidElement(o) ? s.cloneElement(o, { "aria-rowindex": a + 2 }) : o);
5258
5260
  return /* @__PURE__ */ r("tbody", { ...t, children: n });
5259
- }, Ul = ({ children: e, ...t }) => {
5261
+ }, _l = ({ children: e, ...t }) => {
5260
5262
  const n = s.Children.toArray(e).map((o, a) => s.isValidElement(o) ? s.cloneElement(o, {
5261
5263
  "aria-colindex": a + 1,
5262
5264
  coords: { col: a + 1, row: t["aria-rowindex"] }
5263
5265
  }) : o);
5264
5266
  return /* @__PURE__ */ r(S, { tag: "tr", ...t, children: n });
5265
- }, Gl = u(Te)`
5267
+ }, Ul = u(Te)`
5266
5268
  font-size: 0.5rem;
5267
5269
  path {
5268
5270
  fill: ${({ theme: e }) => e.colors.neutral500};
5269
5271
  }
5270
- `, En = u(kr)`
5272
+ `, Dn = u(vr)`
5271
5273
  font-size: 1rem;
5272
5274
  path {
5273
5275
  fill: ${({ theme: e }) => e.colors.neutral500};
5274
5276
  }
5275
- `, ql = u.div`
5277
+ `, Gl = u.div`
5276
5278
  border-radius: ${({ theme: e }) => e.borderRadius};
5277
5279
  border: 1px solid ${({ theme: e }) => e.colors.neutral150};
5278
5280
 
5279
5281
  &:focus-within {
5280
- ${En} {
5282
+ ${Dn} {
5281
5283
  fill: ${({ theme: e }) => e.colors.primary600};
5282
5284
  }
5283
5285
  }
5284
- `, Kl = u(it)`
5286
+ `, ql = u(it)`
5285
5287
  border: 1px solid ${({ theme: e }) => e.colors.neutral150};
5286
5288
  padding: 0 0 0 8px;
5287
5289
  color: ${({ theme: e }) => e.colors.neutral800};
@@ -5312,21 +5314,21 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5312
5314
  > input::-webkit-search-results-decoration {
5313
5315
  display: none;
5314
5316
  }
5315
- `, Yl = s.forwardRef(
5317
+ `, Kl = s.forwardRef(
5316
5318
  ({ name: e, children: t, value: n = "", onClear: o, clearLabel: a = "Clear", ...i }, l) => {
5317
5319
  const c = s.useRef(null), d = n.length > 0, h = (g) => {
5318
5320
  o(g), c.current.focus();
5319
- }, f = Fr(l, c);
5320
- return /* @__PURE__ */ r(ql, { children: /* @__PURE__ */ x(Re, { name: e, children: [
5321
+ }, f = Wr(l, c);
5322
+ return /* @__PURE__ */ r(Gl, { children: /* @__PURE__ */ x(Re, { name: e, children: [
5321
5323
  /* @__PURE__ */ r($e, { children: /* @__PURE__ */ r(Nt, { children: t }) }),
5322
5324
  /* @__PURE__ */ r(
5323
- Kl,
5325
+ ql,
5324
5326
  {
5325
5327
  size: "S",
5326
5328
  type: "search",
5327
5329
  ref: f,
5328
5330
  value: n,
5329
- startAction: /* @__PURE__ */ r(En, { "aria-hidden": !0 }),
5331
+ startAction: /* @__PURE__ */ r(Dn, { "aria-hidden": !0 }),
5330
5332
  onKeyDown: (g) => {
5331
5333
  g.stopPropagation(), g.key === "Escape" && d && h(g);
5332
5334
  },
@@ -5341,7 +5343,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5341
5343
  size: "XS",
5342
5344
  variant: "ghost",
5343
5345
  type: "button",
5344
- children: /* @__PURE__ */ r(Gl, {})
5346
+ children: /* @__PURE__ */ r(Ul, {})
5345
5347
  }
5346
5348
  ) : void 0,
5347
5349
  ...i
@@ -5349,7 +5351,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5349
5351
  )
5350
5352
  ] }) });
5351
5353
  }
5352
- ), Ql = (e) => /* @__PURE__ */ r("form", { ...e, role: "search" }), Xl = u(S)`
5354
+ ), Yl = (e) => /* @__PURE__ */ r("form", { ...e, role: "search" }), Ql = u(S)`
5353
5355
  display: inline-flex;
5354
5356
  border: none;
5355
5357
 
@@ -5365,7 +5367,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5365
5367
  &:hover {
5366
5368
  cursor: ${({ $iconAction: e }) => e ? "pointer" : "initial"};
5367
5369
  }
5368
- `, Zl = ({ children: e, icon: t, label: n, disabled: o = !1, onClick: a, ...i }) => /* @__PURE__ */ x(
5370
+ `, Xl = ({ children: e, icon: t, label: n, disabled: o = !1, onClick: a, ...i }) => /* @__PURE__ */ x(
5369
5371
  C,
5370
5372
  {
5371
5373
  inline: !0,
@@ -5378,9 +5380,9 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5378
5380
  height: "3.2rem",
5379
5381
  ...i,
5380
5382
  children: [
5381
- /* @__PURE__ */ r(Jl, { $disabled: o, variant: "pi", fontWeight: "bold", children: e }),
5383
+ /* @__PURE__ */ r(Zl, { $disabled: o, variant: "pi", fontWeight: "bold", children: e }),
5382
5384
  /* @__PURE__ */ r(
5383
- Xl,
5385
+ Ql,
5384
5386
  {
5385
5387
  tag: "button",
5386
5388
  disabled: o,
@@ -5396,11 +5398,11 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5396
5398
  )
5397
5399
  ]
5398
5400
  }
5399
- ), Jl = u(A)`
5401
+ ), Zl = u(A)`
5400
5402
  color: inherit;
5401
5403
  border-right: 1px solid ${({ theme: e, $disabled: t }) => t ? e.colors.neutral300 : e.colors.primary200};
5402
5404
  padding-right: ${({ theme: e }) => e.spaces[2]};
5403
- `, ec = s.forwardRef(
5405
+ `, Jl = s.forwardRef(
5404
5406
  ({
5405
5407
  children: e,
5406
5408
  clearLabel: t = "Clear",
@@ -5441,7 +5443,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5441
5443
  skipWhen: !D
5442
5444
  });
5443
5445
  const M = typeof R < "u" && R !== null ? R : E, q = (V) => V && typeof V == "object" && V.value ? /* @__PURE__ */ r(
5444
- Zl,
5446
+ Xl,
5445
5447
  {
5446
5448
  tabIndex: -1,
5447
5449
  disabled: o,
@@ -5453,7 +5455,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5453
5455
  ) : null, { error: P, ...B } = ne("MultiSelect"), X = !!P || a, G = B.id ?? i, J = B.name ?? c, K = B.required ?? v;
5454
5456
  let Z;
5455
5457
  return P ? Z = `${G}-error` : B.hint && (Z = `${G}-hint`), /* @__PURE__ */ x(
5456
- hn,
5458
+ un,
5457
5459
  {
5458
5460
  onOpenChange: U,
5459
5461
  disabled: o,
@@ -5464,7 +5466,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5464
5466
  multi: !0,
5465
5467
  children: [
5466
5468
  /* @__PURE__ */ r(
5467
- fn,
5469
+ hn,
5468
5470
  {
5469
5471
  ref: y,
5470
5472
  id: G,
@@ -5480,7 +5482,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5480
5482
  withTags: !!(I && ((M == null ? void 0 : M.length) ?? !1)),
5481
5483
  size: m,
5482
5484
  children: /* @__PURE__ */ r(
5483
- gn,
5485
+ fn,
5484
5486
  {
5485
5487
  placeholder: p,
5486
5488
  textColor: M != null && M.length ? "neutral800" : "neutral600",
@@ -5490,7 +5492,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5490
5492
  )
5491
5493
  }
5492
5494
  ),
5493
- /* @__PURE__ */ r(pn, { children: /* @__PURE__ */ r(mn, { position: "popper", sideOffset: 4, onCloseAutoFocus: f, children: /* @__PURE__ */ x(bn, { ref: k, children: [
5495
+ /* @__PURE__ */ r(gn, { children: /* @__PURE__ */ r(pn, { position: "popper", sideOffset: 4, onCloseAutoFocus: f, children: /* @__PURE__ */ x(mn, { ref: k, children: [
5494
5496
  e,
5495
5497
  /* @__PURE__ */ r(S, { id: W, width: "100%", height: "1px" })
5496
5498
  ] }) }) })
@@ -5498,33 +5500,33 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5498
5500
  }
5499
5501
  );
5500
5502
  }
5501
- ), An = s.forwardRef(
5503
+ ), En = s.forwardRef(
5502
5504
  ({ value: e, children: t, startIcon: n, ...o }, a) => /* @__PURE__ */ x(Ft, { ref: a, value: e.toString(), ...o, children: [
5503
5505
  n && /* @__PURE__ */ r(S, { tag: "span", "aria-hidden": !0, children: n }),
5504
- /* @__PURE__ */ r($n, { children: ({ isSelected: i, isIntermediate: l }) => /* @__PURE__ */ r(Bt, { checked: l ? "indeterminate" : i }) }),
5505
- /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r(xn, { children: t }) })
5506
+ /* @__PURE__ */ r(bn, { children: ({ isSelected: i, isIntermediate: l }) => /* @__PURE__ */ r(Bt, { checked: l ? "indeterminate" : i }) }),
5507
+ /* @__PURE__ */ r(A, { children: /* @__PURE__ */ r($n, { children: t }) })
5506
5508
  ] })
5507
- ), tc = s.forwardRef(
5508
- ({ children: e, label: t, startIcon: n, values: o = [], ...a }, i) => /* @__PURE__ */ x(Ss, { ref: i, children: [
5509
+ ), ec = s.forwardRef(
5510
+ ({ children: e, label: t, startIcon: n, values: o = [], ...a }, i) => /* @__PURE__ */ x(ks, { ref: i, children: [
5509
5511
  /* @__PURE__ */ x(Ft, { value: o, ...a, children: [
5510
5512
  n && /* @__PURE__ */ r(S, { tag: "span", "aria-hidden": !0, children: n }),
5511
- /* @__PURE__ */ r($n, { children: ({ isSelected: l, isIntermediate: c }) => /* @__PURE__ */ r(Bt, { checked: c ? "indeterminate" : l }) }),
5513
+ /* @__PURE__ */ r(bn, { children: ({ isSelected: l, isIntermediate: c }) => /* @__PURE__ */ r(Bt, { checked: c ? "indeterminate" : l }) }),
5512
5514
  /* @__PURE__ */ r(A, { children: t })
5513
5515
  ] }),
5514
5516
  e
5515
5517
  ] })
5516
- ), eu = ({ options: e, ...t }) => /* @__PURE__ */ r(ec, { ...t, children: e.map((n) => "children" in n ? /* @__PURE__ */ r(
5517
- tc,
5518
+ ), eu = ({ options: e, ...t }) => /* @__PURE__ */ r(Jl, { ...t, children: e.map((n) => "children" in n ? /* @__PURE__ */ r(
5519
+ ec,
5518
5520
  {
5519
5521
  label: n.label,
5520
5522
  values: n.children.map((o) => o.value.toString()),
5521
- children: n.children.map((o) => /* @__PURE__ */ r(rc, { value: o.value, children: o.label }, o.value))
5523
+ children: n.children.map((o) => /* @__PURE__ */ r(tc, { value: o.value, children: o.label }, o.value))
5522
5524
  },
5523
5525
  n.label
5524
- ) : /* @__PURE__ */ r(An, { value: n.value, children: n.label }, n.value)) }), rc = u(An)`
5526
+ ) : /* @__PURE__ */ r(En, { value: n.value, children: n.label }, n.value)) }), tc = u(En)`
5525
5527
  padding-left: ${({ theme: e }) => e.spaces[7]};
5526
- `, nc = (e) => e === "XS" ? { paddingX: "0.6rem", paddingY: "0.2rem" } : e === "S" ? { paddingX: 2, paddingY: 1 } : { paddingX: 5, paddingY: 4 }, tu = ({ variant: e = "primary", size: t = "M", children: n, ...o }) => {
5527
- const a = `${e}100`, i = `${e}200`, l = `${e}600`, { paddingX: c, paddingY: d } = nc(t);
5528
+ `, rc = (e) => e === "XS" ? { paddingX: "0.6rem", paddingY: "0.2rem" } : e === "S" ? { paddingX: 2, paddingY: 1 } : { paddingX: 5, paddingY: 4 }, tu = ({ variant: e = "primary", size: t = "M", children: n, ...o }) => {
5529
+ const a = `${e}100`, i = `${e}200`, l = `${e}600`, { paddingX: c, paddingY: d } = rc(t);
5528
5530
  return /* @__PURE__ */ r(
5529
5531
  S,
5530
5532
  {
@@ -5540,8 +5542,8 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5540
5542
  children: n
5541
5543
  }
5542
5544
  );
5543
- }, oc = "23.2rem", ru = s.forwardRef(({ ...e }, t) => /* @__PURE__ */ r(ac, { ref: t, ...e, tag: "nav" })), ac = u(S)`
5544
- width: ${oc};
5545
+ }, nc = "23.2rem", ru = s.forwardRef(({ ...e }, t) => /* @__PURE__ */ r(oc, { ref: t, ...e, tag: "nav" })), oc = u(S)`
5546
+ width: ${nc};
5545
5547
  background: ${({ theme: e }) => e.colors.neutral100};
5546
5548
  position: sticky;
5547
5549
  top: 0;
@@ -5549,7 +5551,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5549
5551
  overflow-y: auto;
5550
5552
  border-right: 1px solid ${({ theme: e }) => e.colors.neutral200};
5551
5553
  z-index: 1;
5552
- `, gr = u(yn)`
5554
+ `, gr = u(wn)`
5553
5555
  width: 2.4rem;
5554
5556
  background-color: ${({ theme: e }) => e.colors.neutral200};
5555
5557
  `, nu = ({
@@ -5582,8 +5584,8 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5582
5584
  k.key === F.ESCAPE && g(!1);
5583
5585
  };
5584
5586
  return f ? /* @__PURE__ */ x(S, { paddingLeft: 4, paddingTop: 5, paddingBottom: 2, paddingRight: 4, children: [
5585
- /* @__PURE__ */ r(Ql, { children: /* @__PURE__ */ r(
5586
- Yl,
5587
+ /* @__PURE__ */ r(Yl, { children: /* @__PURE__ */ r(
5588
+ Kl,
5587
5589
  {
5588
5590
  name: "searchbar",
5589
5591
  value: i,
@@ -5602,13 +5604,13 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5602
5604
  ] }) : /* @__PURE__ */ x(C, { direction: "column", alignItems: "flex-start", paddingLeft: 6, paddingTop: 6, paddingBottom: 2, paddingRight: 4, children: [
5603
5605
  /* @__PURE__ */ x(C, { justifyContent: "space-between", alignItems: "flex-start", width: "100%", gap: 2, children: [
5604
5606
  /* @__PURE__ */ r(A, { variant: "beta", tag: e, children: t }),
5605
- o && /* @__PURE__ */ r(be, { ref: $, onClick: R, label: n, children: /* @__PURE__ */ r(kr, {}) })
5607
+ o && /* @__PURE__ */ r(be, { ref: $, onClick: R, label: n, children: /* @__PURE__ */ r(vr, {}) })
5606
5608
  ] }),
5607
5609
  /* @__PURE__ */ r(S, { paddingTop: 4, children: /* @__PURE__ */ r(gr, {}) })
5608
5610
  ] });
5609
5611
  }, ou = ee(
5610
5612
  ({ active: e, children: t, icon: n = null, withBullet: o = !1, isSubSectionChild: a = !1, ...i }, l) => /* @__PURE__ */ x(
5611
- ic,
5613
+ ac,
5612
5614
  {
5613
5615
  background: "neutral100",
5614
5616
  paddingLeft: a ? 9 : 7,
@@ -5618,7 +5620,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5618
5620
  ...i,
5619
5621
  children: [
5620
5622
  /* @__PURE__ */ x(C, { children: [
5621
- n ? /* @__PURE__ */ r(sc, { children: n }) : /* @__PURE__ */ r(Rt, { $active: e }),
5623
+ n ? /* @__PURE__ */ r(ic, { children: n }) : /* @__PURE__ */ r(Rt, { $active: e }),
5622
5624
  /* @__PURE__ */ r(A, { paddingLeft: 2, children: t })
5623
5625
  ] }),
5624
5626
  o && /* @__PURE__ */ r(C, { paddingRight: 4, children: /* @__PURE__ */ r(Rt, { $active: !0 }) })
@@ -5630,7 +5632,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5630
5632
  height: 0.4rem;
5631
5633
  background-color: ${({ theme: e, $active: t }) => t ? e.colors.primary600 : e.colors.neutral600};
5632
5634
  border-radius: 50%;
5633
- `, ic = u(qe)`
5635
+ `, ac = u(qe)`
5634
5636
  display: flex;
5635
5637
  align-items: center;
5636
5638
  justify-content: space-between;
@@ -5656,12 +5658,12 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5656
5658
  &:focus-visible {
5657
5659
  outline-offset: -2px;
5658
5660
  }
5659
- `, sc = u.div`
5661
+ `, ic = u.div`
5660
5662
  svg {
5661
5663
  height: 1.6rem;
5662
5664
  width: 1.6rem;
5663
5665
  }
5664
- `, lc = u.button`
5666
+ `, sc = u.button`
5665
5667
  border: none;
5666
5668
  padding: 0;
5667
5669
  background: transparent;
@@ -5670,7 +5672,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5670
5672
  `, au = ({ label: e, children: t, id: n }) => {
5671
5673
  const [o, a] = s.useState(!0), i = re(n);
5672
5674
  return /* @__PURE__ */ x(S, { children: [
5673
- /* @__PURE__ */ r(S, { paddingLeft: 7, paddingTop: 2, paddingBottom: 2, paddingRight: 4, children: /* @__PURE__ */ r(C, { justifyContent: "space-between", children: /* @__PURE__ */ x(lc, { onClick: () => {
5675
+ /* @__PURE__ */ r(S, { paddingLeft: 7, paddingTop: 2, paddingBottom: 2, paddingRight: 4, children: /* @__PURE__ */ r(C, { justifyContent: "space-between", children: /* @__PURE__ */ x(sc, { onClick: () => {
5674
5676
  a((c) => !c);
5675
5677
  }, "aria-expanded": o, "aria-controls": i, children: [
5676
5678
  /* @__PURE__ */ r(
@@ -5687,7 +5689,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5687
5689
  ] }) }) }),
5688
5690
  o && /* @__PURE__ */ r("ul", { id: i, children: s.Children.map(t, (c, d) => /* @__PURE__ */ r("li", { children: c }, d)) })
5689
5691
  ] });
5690
- }, cc = ({
5692
+ }, lc = ({
5691
5693
  collapsable: e = !1,
5692
5694
  label: t,
5693
5695
  onClick: n = () => {
@@ -5716,7 +5718,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5716
5718
  )
5717
5719
  ]
5718
5720
  }
5719
- ) : /* @__PURE__ */ r(C, { children: /* @__PURE__ */ r(S, { paddingRight: 1, children: /* @__PURE__ */ r(A, { variant: "sigma", textColor: "neutral600", children: t }) }) }), dc = u(S)`
5721
+ ) : /* @__PURE__ */ r(C, { children: /* @__PURE__ */ r(S, { paddingRight: 1, children: /* @__PURE__ */ r(A, { variant: "sigma", textColor: "neutral600", children: t }) }) }), cc = u(S)`
5720
5722
  & > svg {
5721
5723
  height: 0.4rem;
5722
5724
  fill: ${({ theme: e }) => e.colors.neutral500};
@@ -5724,9 +5726,9 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5724
5726
  `, iu = ({ collapsable: e = !1, label: t, badgeLabel: n, children: o, id: a }) => {
5725
5727
  const [i, l] = s.useState(!0), c = re(a);
5726
5728
  return /* @__PURE__ */ x(C, { direction: "column", alignItems: "stretch", gap: 1, children: [
5727
- /* @__PURE__ */ r(dc, { paddingLeft: 6, paddingTop: 2, paddingBottom: 2, paddingRight: 4, children: /* @__PURE__ */ x(S, { position: "relative", paddingRight: n ? 6 : 0, children: [
5729
+ /* @__PURE__ */ r(cc, { paddingLeft: 6, paddingTop: 2, paddingBottom: 2, paddingRight: 4, children: /* @__PURE__ */ x(S, { position: "relative", paddingRight: n ? 6 : 0, children: [
5728
5730
  /* @__PURE__ */ r(
5729
- cc,
5731
+ lc,
5730
5732
  {
5731
5733
  onClick: () => {
5732
5734
  l((h) => !h);
@@ -5738,7 +5740,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5738
5740
  }
5739
5741
  ),
5740
5742
  n && /* @__PURE__ */ r(
5741
- Nr,
5743
+ Br,
5742
5744
  {
5743
5745
  backgroundColor: "neutral150",
5744
5746
  textColor: "neutral600",
@@ -5779,7 +5781,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5779
5781
  });
5780
5782
  return /* @__PURE__ */ x(C, { gap: 3, children: [
5781
5783
  /* @__PURE__ */ r(
5782
- uc,
5784
+ dc,
5783
5785
  {
5784
5786
  ref: d,
5785
5787
  onCheckedChange: Se(o, (p) => {
@@ -5788,13 +5790,13 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5788
5790
  checked: h,
5789
5791
  disabled: l,
5790
5792
  ...c,
5791
- children: /* @__PURE__ */ r(hc, {})
5793
+ children: /* @__PURE__ */ r(uc, {})
5792
5794
  }
5793
5795
  ),
5794
- e ? /* @__PURE__ */ r(fc, { "aria-hidden": !0, "data-disabled": l, "data-state": h ? "checked" : "unchecked", children: h ? t : n }) : null
5796
+ e ? /* @__PURE__ */ r(hc, { "aria-hidden": !0, "data-disabled": l, "data-state": h ? "checked" : "unchecked", children: h ? t : n }) : null
5795
5797
  ] });
5796
5798
  }
5797
- ), uc = u(Dr.Root)`
5799
+ ), dc = u(Ir.Root)`
5798
5800
  width: 4rem;
5799
5801
  height: 2.4rem;
5800
5802
  border-radius: 1.2rem;
@@ -5811,7 +5813,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5811
5813
  @media (prefers-reduced-motion: no-preference) {
5812
5814
  transition: ${(e) => e.theme.transitions.backgroundColor};
5813
5815
  }
5814
- `, hc = u(Dr.Thumb)`
5816
+ `, uc = u(Ir.Thumb)`
5815
5817
  display: block;
5816
5818
  height: 1.6rem;
5817
5819
  width: 1.6rem;
@@ -5827,7 +5829,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5827
5829
  transition: transform ${(e) => e.theme.motion.timings[120]}
5828
5830
  ${(e) => e.theme.motion.easings.authenticMotion};
5829
5831
  }
5830
- `, fc = u(A)`
5832
+ `, hc = u(A)`
5831
5833
  color: ${(e) => e.theme.colors.danger600};
5832
5834
 
5833
5835
  &[data-state='checked'] {
@@ -5837,28 +5839,28 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5837
5839
  &[data-disabled='true'] {
5838
5840
  color: ${({ theme: e }) => e.colors.neutral500};
5839
5841
  }
5840
- `, [gc, Vt] = Be("Tabs"), pc = s.forwardRef(
5841
- ({ disabled: e = !1, variant: t = "regular", hasError: n, ...o }, a) => /* @__PURE__ */ r(gc, { disabled: e, hasError: n, variant: t, children: /* @__PURE__ */ r(mc, { ref: a, ...o }) })
5842
- ), mc = u(rt.Root)`
5842
+ `, [fc, Vt] = Be("Tabs"), gc = s.forwardRef(
5843
+ ({ disabled: e = !1, variant: t = "regular", hasError: n, ...o }, a) => /* @__PURE__ */ r(fc, { disabled: e, hasError: n, variant: t, children: /* @__PURE__ */ r(pc, { ref: a, ...o }) })
5844
+ ), pc = u(rt.Root)`
5843
5845
  width: 100%;
5844
5846
  position: relative;
5845
- `, bc = s.forwardRef((e, t) => {
5847
+ `, mc = s.forwardRef((e, t) => {
5846
5848
  const { variant: n } = Vt("List");
5847
- return /* @__PURE__ */ r($c, { ref: t, ...e, $variant: n });
5848
- }), $c = u(rt.List)`
5849
+ return /* @__PURE__ */ r(bc, { ref: t, ...e, $variant: n });
5850
+ }), bc = u(rt.List)`
5849
5851
  display: flex;
5850
5852
  align-items: ${(e) => e.$variant === "regular" ? "flex-end" : "unset"};
5851
5853
  position: relative;
5852
5854
  z-index: 0;
5853
- `, xc = s.forwardRef(
5855
+ `, $c = s.forwardRef(
5854
5856
  ({ children: e, disabled: t, ...n }, o) => {
5855
5857
  const { disabled: a, variant: i, hasError: l } = Vt("Trigger"), c = a === !0 || a === n.value || t, d = l === n.value;
5856
- return /* @__PURE__ */ x(wc, { ref: o, ...n, $hasError: d, $variant: i, disabled: c, children: [
5857
- /* @__PURE__ */ r(On, { fontWeight: "bold", variant: i === "simple" ? "sigma" : void 0, children: e }),
5858
- i === "simple" ? /* @__PURE__ */ r(zn, {}) : null
5858
+ return /* @__PURE__ */ x(xc, { ref: o, ...n, $hasError: d, $variant: i, disabled: c, children: [
5859
+ /* @__PURE__ */ r(zn, { fontWeight: "bold", variant: i === "simple" ? "sigma" : void 0, children: e }),
5860
+ i === "simple" ? /* @__PURE__ */ r(An, {}) : null
5859
5861
  ] });
5860
5862
  }
5861
- ), zn = u.span`
5863
+ ), An = u.span`
5862
5864
  display: block;
5863
5865
  width: 100%;
5864
5866
  background-color: currentColor;
@@ -5867,7 +5869,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5867
5869
  left: 0;
5868
5870
  opacity: 0;
5869
5871
  height: 0.2rem;
5870
- `, On = u(A)``, wc = u(rt.Trigger)`
5872
+ `, zn = u(A)``, xc = u(rt.Trigger)`
5871
5873
  position: relative;
5872
5874
  color: ${(e) => e.$hasError ? e.theme.colors.danger600 : e.theme.colors.neutral600};
5873
5875
  cursor: pointer;
@@ -5877,14 +5879,14 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5877
5879
  padding-block: ${(t) => t.theme.spaces[4]};
5878
5880
  padding-inline: ${(t) => t.theme.spaces[4]};
5879
5881
 
5880
- & > ${On} {
5882
+ & > ${zn} {
5881
5883
  line-height: 1.2rem;
5882
5884
  }
5883
5885
 
5884
5886
  &[data-state='active'] {
5885
5887
  color: ${e.$hasError ? e.theme.colors.danger600 : e.theme.colors.primary700};
5886
5888
 
5887
- & > ${zn} {
5889
+ & > ${An} {
5888
5890
  opacity: 1;
5889
5891
  }
5890
5892
  }
@@ -5916,10 +5918,10 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5916
5918
  cursor: not-allowed;
5917
5919
  color: ${(e) => e.theme.colors.neutral400};
5918
5920
  }
5919
- `, yc = s.forwardRef((e, t) => {
5921
+ `, wc = s.forwardRef((e, t) => {
5920
5922
  const { variant: n } = Vt("Content");
5921
- return /* @__PURE__ */ r(Cc, { $variant: n, ref: t, ...e });
5922
- }), Cc = u(rt.Content)`
5923
+ return /* @__PURE__ */ r(yc, { $variant: n, ref: t, ...e });
5924
+ }), yc = u(rt.Content)`
5923
5925
  ${(e) => e.$variant === "simple" ? T`
5924
5926
 
5925
5927
  ` : T`
@@ -5929,17 +5931,17 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5929
5931
  `}
5930
5932
  `, cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5931
5933
  __proto__: null,
5932
- Content: yc,
5933
- List: bc,
5934
- Root: pc,
5935
- Trigger: xc
5936
- }, Symbol.toStringTag, { value: "Module" })), vc = u(S)`
5934
+ Content: wc,
5935
+ List: mc,
5936
+ Root: gc,
5937
+ Trigger: $c
5938
+ }, Symbol.toStringTag, { value: "Module" })), Cc = u(S)`
5937
5939
  overflow: hidden;
5938
5940
  border: 1px solid ${({ theme: e }) => e.colors.neutral150};
5939
- `, kc = u(Hl)`
5941
+ `, vc = u(Fl)`
5940
5942
  width: 100%;
5941
5943
  white-space: nowrap;
5942
- `, Sc = u(S)`
5944
+ `, kc = u(S)`
5943
5945
  &:before {
5944
5946
  // TODO: make sure to add a token for this weird stuff
5945
5947
  background: linear-gradient(90deg, #c0c0cf 0%, rgba(0, 0, 0, 0) 100%);
@@ -5964,7 +5966,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5964
5966
  right: 0;
5965
5967
  top: 0;
5966
5968
  }
5967
- `, Rc = u(S)`
5969
+ `, Sc = u(S)`
5968
5970
  overflow-x: auto;
5969
5971
  `, du = s.forwardRef(({ footer: e, ...t }, n) => {
5970
5972
  const o = s.useRef(null), [a, i] = s.useState(), l = (c) => {
@@ -5981,17 +5983,17 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
5981
5983
  };
5982
5984
  return s.useEffect(() => {
5983
5985
  o.current.scrollWidth > o.current.clientWidth && i("right");
5984
- }, []), /* @__PURE__ */ x(vc, { shadow: "tableShadow", hasRadius: !0, background: "neutral0", children: [
5985
- /* @__PURE__ */ r(Sc, { $overflowing: a, position: "relative", children: /* @__PURE__ */ r(Rc, { ref: o, onScroll: l, paddingLeft: 6, paddingRight: 6, children: /* @__PURE__ */ r(kc, { ref: n, ...t }) }) }),
5986
+ }, []), /* @__PURE__ */ x(Cc, { shadow: "tableShadow", hasRadius: !0, background: "neutral0", children: [
5987
+ /* @__PURE__ */ r(kc, { $overflowing: a, position: "relative", children: /* @__PURE__ */ r(Sc, { ref: o, onScroll: l, paddingLeft: 6, paddingRight: 6, children: /* @__PURE__ */ r(vc, { ref: n, ...t }) }) }),
5986
5988
  e
5987
5989
  ] });
5988
- }), Tc = u(_l)`
5990
+ }), Rc = u(jl)`
5989
5991
  & tr:last-of-type {
5990
5992
  border-bottom: none;
5991
5993
  }
5992
- `, uu = ({ children: e, ...t }) => /* @__PURE__ */ r(Tc, { ...t, children: e }), Ic = u(jl)`
5994
+ `, uu = ({ children: e, ...t }) => /* @__PURE__ */ r(Rc, { ...t, children: e }), Tc = u(Vl)`
5993
5995
  border-bottom: 1px solid ${({ theme: e }) => e.colors.neutral150};
5994
- `, hu = ({ children: e, ...t }) => /* @__PURE__ */ r(Ic, { ...t, children: e }), Dc = u(Ul)`
5996
+ `, hu = ({ children: e, ...t }) => /* @__PURE__ */ r(Tc, { ...t, children: e }), Ic = u(_l)`
5995
5997
  border-bottom: 1px solid ${({ theme: e }) => e.colors.neutral150};
5996
5998
 
5997
5999
  & td,
@@ -6010,7 +6012,7 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
6010
6012
  padding-bottom: 0;
6011
6013
  height: 5.6rem;
6012
6014
  }
6013
- `, fu = (e) => /* @__PURE__ */ r(Dc, { ...e }), Ln = u(Dn)`
6015
+ `, fu = (e) => /* @__PURE__ */ r(Ic, { ...e }), On = u(In)`
6014
6016
  vertical-align: middle;
6015
6017
  text-align: left;
6016
6018
  outline-offset: -4px;
@@ -6021,10 +6023,10 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
6021
6023
  input {
6022
6024
  vertical-align: sub;
6023
6025
  }
6024
- `, gu = s.forwardRef(({ children: e, action: t, ...n }, o) => /* @__PURE__ */ r(Ln, { color: "neutral600", as: Vl, ref: o, ...n, children: /* @__PURE__ */ x(C, { children: [
6026
+ `, gu = s.forwardRef(({ children: e, action: t, ...n }, o) => /* @__PURE__ */ r(On, { color: "neutral600", as: Hl, ref: o, ...n, children: /* @__PURE__ */ x(C, { children: [
6025
6027
  e,
6026
6028
  t
6027
- ] }) })), pu = s.forwardRef(({ children: e, ...t }, n) => /* @__PURE__ */ r(Ln, { color: "neutral800", ref: n, ...t, children: e })), Ec = u(S)`
6029
+ ] }) })), pu = s.forwardRef(({ children: e, ...t }, n) => /* @__PURE__ */ r(On, { color: "neutral800", ref: n, ...t, children: e })), Dc = u(S)`
6028
6030
  height: 2.4rem;
6029
6031
  width: 2.4rem;
6030
6032
  border-radius: 50%;
@@ -6040,22 +6042,22 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
6040
6042
  svg path {
6041
6043
  fill: ${({ theme: e }) => e.colors.primary600};
6042
6044
  }
6043
- `, Ac = u(S)`
6045
+ `, Ec = u(S)`
6044
6046
  border-radius: 0 0 ${({ theme: e }) => e.borderRadius} ${({ theme: e }) => e.borderRadius};
6045
6047
  display: block;
6046
6048
  width: 100%;
6047
6049
  border: none;
6048
6050
  `, mu = ({ children: e, icon: t, ...n }) => /* @__PURE__ */ x("div", { children: [
6049
- /* @__PURE__ */ r(yn, {}),
6050
- /* @__PURE__ */ r(Ac, { tag: "button", background: "primary100", padding: 5, ...n, children: /* @__PURE__ */ x(C, { children: [
6051
- /* @__PURE__ */ r(Ec, { "aria-hidden": !0, background: "primary200", children: t }),
6051
+ /* @__PURE__ */ r(wn, {}),
6052
+ /* @__PURE__ */ r(Ec, { tag: "button", background: "primary100", padding: 5, ...n, children: /* @__PURE__ */ x(C, { children: [
6053
+ /* @__PURE__ */ r(Dc, { "aria-hidden": !0, background: "primary200", children: t }),
6052
6054
  /* @__PURE__ */ r(S, { paddingLeft: 3, children: /* @__PURE__ */ r(A, { variant: "pi", fontWeight: "bold", textColor: "primary600", children: e }) })
6053
6055
  ] }) })
6054
6056
  ] }), bu = ee(
6055
6057
  ({ children: e, startIcon: t, endIcon: n, disabled: o = !1, loading: a = !1, type: i = "button", ...l }, c) => {
6056
6058
  const d = o || a;
6057
6059
  return /* @__PURE__ */ x(
6058
- Lc,
6060
+ Oc,
6059
6061
  {
6060
6062
  ref: c,
6061
6063
  disabled: d,
@@ -6065,25 +6067,25 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
6065
6067
  gap: 2,
6066
6068
  ...l,
6067
6069
  children: [
6068
- a ? /* @__PURE__ */ r(Oc, { "aria-hidden": !0, children: /* @__PURE__ */ r(Cr, {}) }) : t,
6070
+ a ? /* @__PURE__ */ r(zc, { "aria-hidden": !0, children: /* @__PURE__ */ r(yr, {}) }) : t,
6069
6071
  /* @__PURE__ */ r(A, { variant: "pi", children: e }),
6070
6072
  n
6071
6073
  ]
6072
6074
  }
6073
6075
  );
6074
6076
  }
6075
- ), zc = Q`
6077
+ ), Ac = Q`
6076
6078
  from {
6077
6079
  transform: rotate(0deg);
6078
6080
  }
6079
6081
  to {
6080
6082
  transform: rotate(359deg);
6081
6083
  }
6082
- `, Oc = u.span`
6084
+ `, zc = u.span`
6083
6085
  display: flex;
6084
- animation: ${zc} 2s infinite linear;
6086
+ animation: ${Ac} 2s infinite linear;
6085
6087
  will-change: transform;
6086
- `, Lc = u(C)`
6088
+ `, Oc = u(C)`
6087
6089
  border: none;
6088
6090
  background-color: transparent;
6089
6091
  color: ${(e) => e.theme.colors.primary600};
@@ -6095,8 +6097,8 @@ const Sn = s.createContext({ activePage: 1, pageCount: 1 }), Ht = () => s.useCon
6095
6097
  }
6096
6098
 
6097
6099
  ${nt}
6098
- `, Pc = s.forwardRef((e, t) => /* @__PURE__ */ r(it, { ref: t, ...e }));
6099
- Pc.displayName = "TextInput";
6100
+ `, Lc = s.forwardRef((e, t) => /* @__PURE__ */ r(it, { ref: t, ...e }));
6101
+ Lc.displayName = "TextInput";
6100
6102
  const $u = s.forwardRef(
6101
6103
  ({
6102
6104
  disabled: e,
@@ -6109,8 +6111,8 @@ const $u = s.forwardRef(
6109
6111
  }, c) => {
6110
6112
  const { error: d, ...h } = ne("Textarea"), f = !!d || t, g = h.id ?? n, p = h.name ?? o, v = h.required || a;
6111
6113
  let m;
6112
- return d ? m = `${g}-error` : h.hint && (m = `${g}-hint`), /* @__PURE__ */ r(Mc, { borderColor: f ? "danger600" : "neutral200", $hasError: f, hasRadius: !0, children: /* @__PURE__ */ r(
6113
- Bc,
6114
+ return d ? m = `${g}-error` : h.hint && (m = `${g}-hint`), /* @__PURE__ */ r(Pc, { borderColor: f ? "danger600" : "neutral200", $hasError: f, hasRadius: !0, children: /* @__PURE__ */ r(
6115
+ Mc,
6114
6116
  {
6115
6117
  "aria-invalid": f,
6116
6118
  "aria-required": v,
@@ -6132,9 +6134,9 @@ const $u = s.forwardRef(
6132
6134
  }
6133
6135
  ) });
6134
6136
  }
6135
- ), Mc = u(S)`
6137
+ ), Pc = u(S)`
6136
6138
  ${xe()}
6137
- `, Bc = u(S)`
6139
+ `, Mc = u(S)`
6138
6140
  display: block;
6139
6141
  border: none;
6140
6142
  resize: ${({ $resizable: e }) => e ? "vertical" : "none"};
@@ -6180,7 +6182,7 @@ const $u = s.forwardRef(
6180
6182
  }), v = g !== null && !g, { error: m, ...$ } = ne("Toggle"), R = !!m || o, I = $.id ?? i, w = $.name ?? l, y = $.required || a;
6181
6183
  let k;
6182
6184
  return m ? k = `${I}-error` : $.hint && (k = `${I}-hint`), /* @__PURE__ */ x(
6183
- Nc,
6185
+ Bc,
6184
6186
  {
6185
6187
  position: "relative",
6186
6188
  hasRadius: !0,
@@ -6240,7 +6242,7 @@ const $u = s.forwardRef(
6240
6242
  }
6241
6243
  ),
6242
6244
  /* @__PURE__ */ r(
6243
- Wc,
6245
+ Nc,
6244
6246
  {
6245
6247
  ...h,
6246
6248
  id: I,
@@ -6261,11 +6263,11 @@ const $u = s.forwardRef(
6261
6263
  }
6262
6264
  );
6263
6265
  }
6264
- ), Nc = u(C)`
6266
+ ), Bc = u(C)`
6265
6267
  ${xe()}
6266
6268
  `, pr = u(C)`
6267
6269
  padding-block: 0.6rem;
6268
- `, Wc = u.input`
6270
+ `, Nc = u.input`
6269
6271
  height: 100%;
6270
6272
  left: 0;
6271
6273
  opacity: 0;
@@ -6273,7 +6275,7 @@ const $u = s.forwardRef(
6273
6275
  top: 0;
6274
6276
  z-index: 0;
6275
6277
  width: 100%;
6276
- `, Fc = {
6278
+ `, Wc = {
6277
6279
  x: 0,
6278
6280
  y: 0,
6279
6281
  width: 0,
@@ -6284,7 +6286,7 @@ const $u = s.forwardRef(
6284
6286
  right: 0
6285
6287
  };
6286
6288
  function wu() {
6287
- const [e, t] = gt(null), [n, o] = gt(Fc), a = br(
6289
+ const [e, t] = gt(null), [n, o] = gt(Wc), a = mr(
6288
6290
  () => new ResizeObserver((i) => {
6289
6291
  if (i[0]) {
6290
6292
  const { x: l, y: c, width: d, height: h, top: f, left: g, bottom: p, right: v } = i[0].contentRect;
@@ -6370,7 +6372,7 @@ export {
6370
6372
  dd as Accordion,
6371
6373
  ud as Alert,
6372
6374
  hd as Avatar,
6373
- Nr as Badge,
6375
+ Br as Badge,
6374
6376
  qe as BaseLink,
6375
6377
  S as Box,
6376
6378
  Ca as Breadcrumbs,
@@ -6397,12 +6399,12 @@ export {
6397
6399
  va as Crumb,
6398
6400
  Sa as CrumbLink,
6399
6401
  ni as CrumbSimpleMenu,
6400
- Zs as DatePicker,
6402
+ Xs as DatePicker,
6401
6403
  Nd as DateTimePicker,
6402
6404
  Bd as DesignSystemProvider,
6403
6405
  Pd as Dialog,
6404
- hs as DismissibleLayer,
6405
- yn as Divider,
6406
+ us as DismissibleLayer,
6407
+ wn as Divider,
6406
6408
  Qd as Dots,
6407
6409
  Wd as EmptyStateLayout,
6408
6410
  Dd as Field,
@@ -6416,34 +6418,34 @@ export {
6416
6418
  Cu as KeyboardNavigable,
6417
6419
  Oa as Link,
6418
6420
  Hd as LinkButton,
6419
- cs as LiveRegions,
6421
+ ls as LiveRegions,
6420
6422
  kt as Loader,
6421
6423
  Vd as Main,
6422
6424
  gd as Menu,
6423
6425
  pd as MenuItem,
6424
6426
  _d as Modal,
6425
- ec as MultiSelect,
6426
- tc as MultiSelectGroup,
6427
+ Jl as MultiSelect,
6428
+ ec as MultiSelectGroup,
6427
6429
  eu as MultiSelectNested,
6428
- An as MultiSelectOption,
6430
+ En as MultiSelectOption,
6429
6431
  Kd as NextLink,
6430
6432
  Ud as NumberInput,
6431
6433
  Yd as PageLink,
6432
6434
  Gd as Pagination,
6433
6435
  Xd as Popover,
6434
- un as Portal,
6436
+ dn as Portal,
6435
6437
  qd as PreviousLink,
6436
6438
  Zd as ProgressBar,
6437
6439
  Jd as Radio,
6438
- Hl as RawTable,
6439
- _l as RawTbody,
6440
- Dn as RawTd,
6441
- Vl as RawTh,
6442
- jl as RawThead,
6443
- Ul as RawTr,
6440
+ Fl as RawTable,
6441
+ jl as RawTbody,
6442
+ In as RawTd,
6443
+ Hl as RawTh,
6444
+ Vl as RawThead,
6445
+ _l as RawTr,
6444
6446
  st as ScrollArea,
6445
- Ql as SearchForm,
6446
- Yl as Searchbar,
6447
+ Yl as SearchForm,
6448
+ Kl as Searchbar,
6447
6449
  ti as SimpleMenu,
6448
6450
  cr as SingleSelect,
6449
6451
  dr as SingleSelectOption,
@@ -6459,23 +6461,23 @@ export {
6459
6461
  mu as TFooter,
6460
6462
  du as Table,
6461
6463
  cu as Tabs,
6462
- Zl as Tag,
6464
+ Xl as Tag,
6463
6465
  uu as Tbody,
6464
6466
  pu as Td,
6465
6467
  bu as TextButton,
6466
- Pc as TextInput,
6468
+ Lc as TextInput,
6467
6469
  $u as Textarea,
6468
6470
  gu as Th,
6469
6471
  hu as Thead,
6470
- tl as TimePicker,
6472
+ el as TimePicker,
6471
6473
  xu as Toggle,
6472
6474
  Mt as Tooltip,
6473
6475
  fu as Tr,
6474
6476
  A as Typography,
6475
6477
  $e as VisuallyHidden,
6476
- Pr as _internaluseUncontrolledState,
6477
- Su as composeEventHandlers,
6478
- Fr as composeRefs,
6478
+ Lr as _internaluseUncontrolledState,
6479
+ Tu as composeEventHandlers,
6480
+ Wr as composeRefs,
6479
6481
  Ve as convertUTCDateToCalendarDateTime,
6480
6482
  Rd as darkTheme,
6481
6483
  Td as extendTheme,
@@ -6483,17 +6485,17 @@ export {
6483
6485
  Id as getThemeSize,
6484
6486
  Oe as handleResponsiveValues,
6485
6487
  xe as inputFocusStyle,
6486
- ls as isSSR,
6487
- nn as lightTheme,
6488
- ln as setOpacity,
6489
- Ru as useCallbackRef,
6490
- Tu as useCollator,
6488
+ Su as isSSR,
6489
+ rn as lightTheme,
6490
+ sn as setOpacity,
6491
+ Iu as useCallbackRef,
6492
+ Du as useCollator,
6491
6493
  te as useComposedRefs,
6492
6494
  de as useControllableState,
6493
6495
  he as useDateFormatter,
6494
6496
  lt as useDesignSystem,
6495
6497
  ne as useField,
6496
- Iu as useFilter,
6498
+ Eu as useFilter,
6497
6499
  re as useId,
6498
6500
  fe as useIsomorphicLayoutEffect,
6499
6501
  wu as useMeasure,