lucent-ui 0.25.1 → 0.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -958,21 +958,21 @@ const Yi = {
958
958
  md: 40,
959
959
  lg: 56,
960
960
  xl: 80
961
- }, $n = {
961
+ }, Pn = {
962
962
  xs: "var(--lucent-font-size-xs)",
963
963
  sm: "var(--lucent-font-size-xs)",
964
964
  md: "var(--lucent-font-size-sm)",
965
965
  lg: "var(--lucent-font-size-lg)",
966
966
  xl: "var(--lucent-font-size-xl)"
967
967
  };
968
- function Pn(e, t) {
968
+ function $n(e, t) {
969
969
  var o, a, i;
970
970
  if (t) return t.slice(0, 2).toUpperCase();
971
971
  const r = e.trim().split(/\s+/);
972
972
  return r.length === 1 ? (((o = r[0]) == null ? void 0 : o[0]) ?? "").toUpperCase() : ((((a = r[0]) == null ? void 0 : a[0]) ?? "") + (((i = r[r.length - 1]) == null ? void 0 : i[0]) ?? "")).toUpperCase();
973
973
  }
974
974
  function Ki({ src: e, alt: t, size: r = "md", initials: o, style: a, ...i }) {
975
- const l = Fn[r], s = Pn(t, o), c = {
975
+ const l = Fn[r], s = $n(t, o), c = {
976
976
  width: l,
977
977
  height: l,
978
978
  borderRadius: "var(--lucent-radius-full)",
@@ -1004,7 +1004,7 @@ function Ki({ src: e, alt: t, size: r = "md", initials: o, style: a, ...i }) {
1004
1004
  ...c,
1005
1005
  background: "var(--lucent-accent-default)",
1006
1006
  color: "var(--lucent-text-on-accent)",
1007
- fontSize: $n[r],
1007
+ fontSize: Pn[r],
1008
1008
  fontWeight: "var(--lucent-font-weight-semibold)",
1009
1009
  fontFamily: "var(--lucent-font-family-base)"
1010
1010
  },
@@ -1104,7 +1104,7 @@ const Ji = {
1104
1104
  notes: 'The visible SVG is aria-hidden. The label is conveyed via a visually-hidden span inside role="status".'
1105
1105
  }
1106
1106
  };
1107
- function Zi({ orientation: e = "horizontal", label: t, spacing: r = "var(--lucent-space-4)", style: o }) {
1107
+ function Zi({ orientation: e = "horizontal", label: t, spacing: r = "0", style: o }) {
1108
1108
  return e === "vertical" ? /* @__PURE__ */ n(
1109
1109
  "span",
1110
1110
  {
@@ -1170,7 +1170,7 @@ const Qi = {
1170
1170
  props: [
1171
1171
  { name: "orientation", type: "enum", required: !1, default: "horizontal", description: "Direction of the divider line.", enumValues: ["horizontal", "vertical"] },
1172
1172
  { name: "label", type: "string", required: !1, description: 'Optional centered label (horizontal only). Common use: "OR", "AND", section titles.' },
1173
- { name: "spacing", type: "string", required: !1, default: "var(--lucent-space-4)", description: "Margin on the axis perpendicular to the line." }
1173
+ { name: "spacing", type: "string", required: !1, default: "0", description: 'Margin on the axis perpendicular to the line. Defaults to 0 so parent gap-based layouts (Stack, Row) control spacing. Pass an explicit value like "var(--lucent-space-4)" for standalone use outside flex/grid containers.' }
1174
1174
  ],
1175
1175
  usageExamples: [
1176
1176
  { title: "Section separator", code: "<Divider />" },
@@ -1194,7 +1194,7 @@ const Qi = {
1194
1194
  60% { transform: scale(1.15) rotate(2deg); }
1195
1195
  100% { opacity: 1; transform: scale(1) rotate(0deg); }
1196
1196
  }
1197
- `, $t = ge(
1197
+ `, Pt = ge(
1198
1198
  ({
1199
1199
  label: e,
1200
1200
  size: t = "md",
@@ -1222,9 +1222,9 @@ const Qi = {
1222
1222
  G(() => {
1223
1223
  h.current && (h.current.indeterminate = r);
1224
1224
  }, [r]);
1225
- const $ = (q) => {
1225
+ const P = (q) => {
1226
1226
  f || v(q.target.checked), d == null || d(q);
1227
- }, P = s ? "var(--lucent-text-disabled)" : "var(--lucent-text-on-accent)", M = {
1227
+ }, $ = s ? "var(--lucent-text-disabled)" : "var(--lucent-text-on-accent)", M = {
1228
1228
  width: m,
1229
1229
  height: m,
1230
1230
  // fixed corner so global radius overrides (e.g. via customizer) don't
@@ -1264,7 +1264,7 @@ const Qi = {
1264
1264
  id: x,
1265
1265
  checked: f ? i : g,
1266
1266
  disabled: s,
1267
- onChange: $,
1267
+ onChange: P,
1268
1268
  style: { position: "absolute", opacity: 0, width: 0, height: 0, margin: 0, pointerEvents: "none" },
1269
1269
  ...p
1270
1270
  }
@@ -1278,7 +1278,7 @@ const Qi = {
1278
1278
  viewBox: "0 0 10 10",
1279
1279
  fill: "none",
1280
1280
  style: { animation: "lucent-cb-mark 200ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards" },
1281
- children: /* @__PURE__ */ n("path", { d: "M1.5 5L4 7.5L8.5 2.5", stroke: P, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })
1281
+ children: /* @__PURE__ */ n("path", { d: "M1.5 5L4 7.5L8.5 2.5", stroke: $, strokeWidth: 1.5, strokeLinecap: "round", strokeLinejoin: "round" })
1282
1282
  }
1283
1283
  ),
1284
1284
  r && /* @__PURE__ */ n(
@@ -1289,7 +1289,7 @@ const Qi = {
1289
1289
  viewBox: "0 0 10 10",
1290
1290
  fill: "none",
1291
1291
  style: { animation: "lucent-cb-mark 200ms cubic-bezier(0.34, 1.56, 0.64, 1) forwards" },
1292
- children: /* @__PURE__ */ n("path", { d: "M2 5H8", stroke: P, strokeWidth: 1.5, strokeLinecap: "round" })
1292
+ children: /* @__PURE__ */ n("path", { d: "M2 5H8", stroke: $, strokeWidth: 1.5, strokeLinecap: "round" })
1293
1293
  }
1294
1294
  )
1295
1295
  ] }, L),
@@ -1338,7 +1338,7 @@ const Qi = {
1338
1338
  ] });
1339
1339
  }
1340
1340
  );
1341
- $t.displayName = "Checkbox";
1341
+ Pt.displayName = "Checkbox";
1342
1342
  const es = {
1343
1343
  id: "checkbox",
1344
1344
  name: "Checkbox",
@@ -1435,7 +1435,7 @@ const es = {
1435
1435
  60% { transform: scale(1.2); }
1436
1436
  100% { opacity: 1; transform: scale(1); }
1437
1437
  }
1438
- `, Pt = ve(null);
1438
+ `, $t = ve(null);
1439
1439
  function Gn({
1440
1440
  name: e,
1441
1441
  value: t,
@@ -1445,7 +1445,7 @@ function Gn({
1445
1445
  label: i,
1446
1446
  children: l
1447
1447
  }) {
1448
- return /* @__PURE__ */ n(Pt.Provider, { value: { name: e, value: t, onChange: r, disabled: o ?? !1 }, children: /* @__PURE__ */ n(
1448
+ return /* @__PURE__ */ n($t.Provider, { value: { name: e, value: t, onChange: r, disabled: o ?? !1 }, children: /* @__PURE__ */ n(
1449
1449
  "div",
1450
1450
  {
1451
1451
  role: "radiogroup",
@@ -1466,7 +1466,7 @@ const _n = { sm: 14, md: 16, lg: 20 }, Yn = { sm: "calc(var(--lucent-space-8) *
1466
1466
  lg: "var(--lucent-font-size-md)"
1467
1467
  };
1468
1468
  function ts({ value: e, label: t, size: r = "md", contained: o = !1, helperText: a, disabled: i, id: l, onChange: s, checked: c, style: d, ...u }) {
1469
- const p = ie(Pt), y = l ?? `lucent-radio-${Math.random().toString(36).slice(2, 7)}`, h = _n[r], [x, m] = E(!1), f = i ?? (p == null ? void 0 : p.disabled) ?? !1, g = p ? p.value === e : !!c, v = O(g), [b, C] = E(0);
1469
+ const p = ie($t), y = l ?? `lucent-radio-${Math.random().toString(36).slice(2, 7)}`, h = _n[r], [x, m] = E(!1), f = i ?? (p == null ? void 0 : p.disabled) ?? !1, g = p ? p.value === e : !!c, v = O(g), [b, C] = E(0);
1470
1470
  G(() => {
1471
1471
  !f && v.current !== g && (v.current = g, C((A) => A + 1));
1472
1472
  }, [g, f]);
@@ -1555,8 +1555,8 @@ function ts({ value: e, label: t, size: r = "md", contained: o = !1, helperText:
1555
1555
  },
1556
1556
  onClick: (A) => {
1557
1557
  if (!f && A.target === A.currentTarget) {
1558
- const $ = A.currentTarget.querySelector("input");
1559
- $ == null || $.click();
1558
+ const P = A.currentTarget.querySelector("input");
1559
+ P == null || P.click();
1560
1560
  }
1561
1561
  },
1562
1562
  children: I
@@ -1713,7 +1713,7 @@ function rs({
1713
1713
  return () => clearTimeout(W);
1714
1714
  }
1715
1715
  }, [f, s]);
1716
- const { track: [I, A], thumb: $ } = Jn[t], P = f ? I - $ - 2 : 2, M = (W) => {
1716
+ const { track: [I, A], thumb: P } = Jn[t], $ = f ? I - P - 2 : 2, M = (W) => {
1717
1717
  h || m(W.target.checked), d == null || d(W);
1718
1718
  }, N = /* @__PURE__ */ k(
1719
1719
  "span",
@@ -1747,10 +1747,10 @@ function rs({
1747
1747
  style: {
1748
1748
  position: "absolute",
1749
1749
  top: 2,
1750
- left: P,
1751
- width: S ? $ * 1.3 : $,
1752
- height: $,
1753
- borderRadius: $,
1750
+ left: $,
1751
+ width: S ? P * 1.3 : P,
1752
+ height: P,
1753
+ borderRadius: P,
1754
1754
  background: "#ffffff",
1755
1755
  boxShadow: "0 1px 3px rgb(0 0 0 / 0.2)",
1756
1756
  transition: `left 260ms ${pt}, width 200ms cubic-bezier(0.22, 1, 0.36, 1)`
@@ -3895,7 +3895,7 @@ function La({
3895
3895
  const u = o === "sm" ? 24 : 40, p = ke(), y = c ?? p, [h, x] = E(!1), [m, f] = E("hex"), [g, v] = E(0), [b, C] = E(() => {
3896
3896
  const w = e ? Ce(e) ?? { r: 0, g: 0, b: 0, a: 1 } : { r: 0, g: 0, b: 0, a: 1 };
3897
3897
  return oe(w);
3898
- }), [T, S] = E(() => Te(b).slice(1).toUpperCase()), L = O(null), I = O(null), A = O(null), [$, P] = E({ top: 0, left: 0 });
3898
+ }), [T, S] = E(() => Te(b).slice(1).toUpperCase()), L = O(null), I = O(null), A = O(null), [P, $] = E({ top: 0, left: 0 });
3899
3899
  se(() => {
3900
3900
  if (!h || !L.current) return;
3901
3901
  const w = L.current.getBoundingClientRect();
@@ -3905,7 +3905,7 @@ function La({
3905
3905
  const K = A.current.offsetWidth;
3906
3906
  B + K > window.innerWidth && (B = w.right - K);
3907
3907
  }
3908
- P({ top: V, left: B });
3908
+ $({ top: V, left: B });
3909
3909
  }, [h]), G(() => {
3910
3910
  if (!e) return;
3911
3911
  const w = Ce(e);
@@ -4005,8 +4005,8 @@ function La({
4005
4005
  "aria-label": "Color picker",
4006
4006
  style: {
4007
4007
  position: "fixed",
4008
- top: $.top,
4009
- left: $.left,
4008
+ top: P.top,
4009
+ left: P.left,
4010
4010
  zIndex: 1e3,
4011
4011
  background: "color-mix(in srgb, var(--lucent-surface-overlay) 85%, transparent)",
4012
4012
  backdropFilter: "blur(6px)",
@@ -4485,7 +4485,7 @@ const xs = {
4485
4485
  end: "flex-end",
4486
4486
  stretch: "stretch",
4487
4487
  baseline: "baseline"
4488
- }, $a = {
4488
+ }, Pa = {
4489
4489
  start: "flex-start",
4490
4490
  center: "center",
4491
4491
  end: "flex-end",
@@ -4507,7 +4507,7 @@ function Ss({
4507
4507
  flexDirection: "column",
4508
4508
  gap: `var(--lucent-space-${e})`,
4509
4509
  alignItems: Fa[t],
4510
- justifyContent: $a[r],
4510
+ justifyContent: Pa[r],
4511
4511
  ...a && { flexWrap: "wrap" },
4512
4512
  ...l
4513
4513
  };
@@ -4625,7 +4625,7 @@ const Ts = {
4625
4625
  accessibility: {
4626
4626
  notes: "Stack renders a <div> by default, which has no implicit ARIA role. Use the `as` prop to render semantic elements (nav, section, form) when the content has a specific structural purpose. Add aria-label or aria-labelledby when using landmark elements."
4627
4627
  }
4628
- }, Pa = {
4628
+ }, $a = {
4629
4629
  start: "flex-start",
4630
4630
  center: "center",
4631
4631
  end: "flex-end",
@@ -4652,7 +4652,7 @@ function Cs({
4652
4652
  display: "flex",
4653
4653
  flexDirection: "row",
4654
4654
  gap: `var(--lucent-space-${e})`,
4655
- alignItems: Pa[t],
4655
+ alignItems: $a[t],
4656
4656
  justifyContent: Na[r],
4657
4657
  ...a && { flexWrap: "wrap" },
4658
4658
  ...l
@@ -5029,14 +5029,14 @@ function Ka({
5029
5029
  return () => clearTimeout(F);
5030
5030
  }
5031
5031
  }, [p]);
5032
- const $ = ee((F) => {
5032
+ const P = ee((F) => {
5033
5033
  c || u(F), i == null || i(F);
5034
- }, [c, i]), P = ee(() => {
5034
+ }, [c, i]), $ = ee(() => {
5035
5035
  const F = v.current;
5036
5036
  F && (F.querySelector("button, [tabindex]") ?? F).focus();
5037
5037
  }, []), M = ee(() => {
5038
- $(!1), P();
5039
- }, [$, P]);
5038
+ P(!1), $();
5039
+ }, [P, $]);
5040
5040
  se(() => {
5041
5041
  if (!y || x !== "entering" || !f.current) return;
5042
5042
  const F = requestAnimationFrame(() => {
@@ -5134,9 +5134,9 @@ function Ka({
5134
5134
  z == null || z.scrollIntoView({ block: "nearest" });
5135
5135
  }, [I, p]);
5136
5136
  const W = () => {
5137
- $(!p);
5137
+ P(!p);
5138
5138
  }, U = (F) => {
5139
- (F.key === "Enter" || F.key === " " || F.key === "ArrowDown") && (F.preventDefault(), p || $(!0)), F.key === "ArrowUp" && (F.preventDefault(), p || ($(!0), setTimeout(() => {
5139
+ (F.key === "Enter" || F.key === " " || F.key === "ArrowDown") && (F.preventDefault(), p || P(!0)), F.key === "ArrowUp" && (F.preventDefault(), p || (P(!0), setTimeout(() => {
5140
5140
  const z = N();
5141
5141
  z.length > 0 && A(z[z.length - 1]);
5142
5142
  }, 0)));
@@ -5955,9 +5955,9 @@ function Fs({
5955
5955
  }, [I]);
5956
5956
  const A = () => {
5957
5957
  t("");
5958
- }, $ = (q) => {
5958
+ }, P = (q) => {
5959
5959
  d == null || d(q), f(!1);
5960
- }, P = () => {
5960
+ }, $ = () => {
5961
5961
  b.current = setTimeout(() => f(!1), 150);
5962
5962
  }, M = () => {
5963
5963
  b.current && clearTimeout(b.current), f(!0);
@@ -6000,7 +6000,7 @@ function Fs({
6000
6000
  leftElement: r === "filter" ? /* @__PURE__ */ n(lr, { size: kt[a] }) : /* @__PURE__ */ n(sr, { size: kt[a] }),
6001
6001
  rightElement: N ?? void 0,
6002
6002
  onFocus: M,
6003
- onBlur: P,
6003
+ onBlur: $,
6004
6004
  ...i !== void 0 && { label: i },
6005
6005
  ...l !== void 0 && { helperText: l },
6006
6006
  ...s !== void 0 && { errorText: s }
@@ -6031,7 +6031,7 @@ function Fs({
6031
6031
  {
6032
6032
  role: "option",
6033
6033
  "aria-selected": !1,
6034
- onMouseDown: () => $(q),
6034
+ onMouseDown: () => P(q),
6035
6035
  onMouseEnter: () => v(W),
6036
6036
  onMouseLeave: () => v(null),
6037
6037
  style: {
@@ -6051,7 +6051,7 @@ function Fs({
6051
6051
  )
6052
6052
  ] });
6053
6053
  }
6054
- const $s = {
6054
+ const Ps = {
6055
6055
  id: "search-input",
6056
6056
  name: "SearchInput",
6057
6057
  tier: "molecule",
@@ -6251,7 +6251,7 @@ function he(...e) {
6251
6251
  function xr(e, t, r) {
6252
6252
  return !t || r ? e.background : e.background === "transparent" ? "var(--lucent-accent-subtle)" : `color-mix(in srgb, var(--lucent-accent-default) 6%, ${e.background})`;
6253
6253
  }
6254
- function Ps({
6254
+ function $s({
6255
6255
  variant: e = "outline",
6256
6256
  header: t,
6257
6257
  footer: r,
@@ -6270,9 +6270,9 @@ function Ps({
6270
6270
  hoverable: m,
6271
6271
  media: f
6272
6272
  }) {
6273
- const g = fr[e], v = e === "combo", b = i ?? (v ? "md" : g.shadowDefault), { py: C, px: T } = dr[a], S = `${C} ${T}`, L = ur[l], I = d != null, A = c != null || I, $ = A || (m ?? !1), P = (y ?? !1) && A, M = I ? "a" : A ? "button" : "div", [N, q] = E(!1), [W, U] = E(!1), [J, Z] = E(!1), F = (x ?? !1) && !P, z = F ? yr : void 0, D = xr(g, x ?? !1, P), R = h != null ? `inset 3px 0 0 ${pr[h]}` : void 0;
6273
+ const g = fr[e], v = e === "combo", b = i ?? (v ? "md" : g.shadowDefault), { py: C, px: T } = dr[a], S = `${C} ${T}`, L = ur[l], I = d != null, A = c != null || I, P = A || (m ?? !1), $ = (y ?? !1) && A, M = I ? "a" : A ? "button" : "div", [N, q] = E(!1), [W, U] = E(!1), [J, Z] = E(!1), F = (x ?? !1) && !$, z = F ? yr : void 0, D = xr(g, x ?? !1, $), R = h != null ? `inset 3px 0 0 ${pr[h]}` : void 0;
6274
6274
  let H;
6275
- v ? H = he(z, R) : $ && !P ? J ? H = he(br, z, R) : W ? H = he(vr, z, R) : N ? H = he(A ? mr : gr, Me[b], z, R) : H = he(Me[b], z, R) : H = he(Me[b], z, R);
6275
+ v ? H = he(z, R) : P && !$ ? J ? H = he(br, z, R) : W ? H = he(vr, z, R) : N ? H = he(A ? mr : gr, Me[b], z, R) : H = he(Me[b], z, R) : H = he(Me[b], z, R);
6276
6276
  const w = {
6277
6277
  display: "flex",
6278
6278
  flexDirection: "column",
@@ -6281,16 +6281,16 @@ function Ps({
6281
6281
  borderRadius: L,
6282
6282
  // Only clip overflow when media is present (to round image corners).
6283
6283
  // Default to visible so nested child shadows (e.g. elevated Card inside combo) aren't cut off.
6284
- overflow: f != null && !(F || $ && W) ? "hidden" : "visible",
6284
+ overflow: f != null && !(F || P && W) ? "hidden" : "visible",
6285
6285
  boxSizing: "border-box",
6286
6286
  position: "relative",
6287
6287
  ...H !== void 0 && { boxShadow: H },
6288
6288
  // Hover/press transform
6289
- ...$ && !P && J && { transform: "translateY(1px)" },
6290
- ...$ && !P && N && !J && { transform: "translateY(-1px)" },
6289
+ ...P && !$ && J && { transform: "translateY(1px)" },
6290
+ ...P && !$ && N && !J && { transform: "translateY(-1px)" },
6291
6291
  // Hover/interactive base styles
6292
- ...$ && {
6293
- cursor: P ? "not-allowed" : "pointer",
6292
+ ...P && {
6293
+ cursor: $ ? "not-allowed" : "pointer",
6294
6294
  transition: hr
6295
6295
  },
6296
6296
  // Button UA reset
@@ -6307,7 +6307,7 @@ function Ps({
6307
6307
  color: "inherit"
6308
6308
  },
6309
6309
  // Disabled
6310
- ...P && {
6310
+ ...$ && {
6311
6311
  opacity: 0.6,
6312
6312
  pointerEvents: "none"
6313
6313
  },
@@ -6317,7 +6317,7 @@ function Ps({
6317
6317
  M,
6318
6318
  {
6319
6319
  style: w,
6320
- ...$ && !P ? {
6320
+ ...P && !$ ? {
6321
6321
  onMouseEnter: () => q(!0),
6322
6322
  onMouseLeave: () => {
6323
6323
  q(!1), Z(!1);
@@ -6330,17 +6330,17 @@ function Ps({
6330
6330
  }
6331
6331
  } : {},
6332
6332
  ...I && {
6333
- href: P ? void 0 : d,
6333
+ href: $ ? void 0 : d,
6334
6334
  ...u !== void 0 && { target: u },
6335
6335
  ...p !== void 0 && { rel: p }
6336
6336
  },
6337
6337
  ...!I && A && {
6338
6338
  type: "button",
6339
- ...P && { disabled: !0 }
6339
+ ...$ && { disabled: !0 }
6340
6340
  },
6341
- ...c !== void 0 && !P && { onClick: c },
6341
+ ...c !== void 0 && !$ && { onClick: c },
6342
6342
  ...A && x !== void 0 && { "aria-pressed": x },
6343
- ...I && P && { "aria-disabled": !0 },
6343
+ ...I && $ && { "aria-disabled": !0 },
6344
6344
  children: [
6345
6345
  f != null && /* @__PURE__ */ n("div", { style: { lineHeight: 0, overflow: "hidden", borderRadius: `${L} ${L} 0 0` }, children: f }),
6346
6346
  t != null && /* @__PURE__ */ n(
@@ -7149,7 +7149,7 @@ function _s({ items: e, separator: t = "/", style: r }) {
7149
7149
  }
7150
7150
  function Ys({ tabs: e, defaultValue: t, value: r, onChange: o, variant: a = "underline", style: i }) {
7151
7151
  var F;
7152
- const l = r !== void 0, [s, c] = E(t ?? ((F = e[0]) == null ? void 0 : F.value) ?? ""), d = l ? r : s, [u, p] = E(null), y = O([]), [h, x] = E(null), m = O(!1), f = a === "pills", g = O(null), v = O(null), b = O(null), [C, T] = E(e.length), [S, L] = E(!1), [I, A] = E(!1), [$, P] = E(null), M = e.slice(0, C), N = e.slice(C), q = N.length > 0, W = N.some((z) => z.value === d), U = () => {
7152
+ const l = r !== void 0, [s, c] = E(t ?? ((F = e[0]) == null ? void 0 : F.value) ?? ""), d = l ? r : s, [u, p] = E(null), y = O([]), [h, x] = E(null), m = O(!1), f = a === "pills", g = O(null), v = O(null), b = O(null), [C, T] = E(e.length), [S, L] = E(!1), [I, A] = E(!1), [P, $] = E(null), M = e.slice(0, C), N = e.slice(C), q = N.length > 0, W = N.some((z) => z.value === d), U = () => {
7153
7153
  if (W) {
7154
7154
  x(null);
7155
7155
  return;
@@ -7208,7 +7208,7 @@ function Ys({ tabs: e, defaultValue: t, value: r, onChange: o, variant: a = "und
7208
7208
  }, [e]), G(() => {
7209
7209
  if (!S) return;
7210
7210
  const z = (D) => {
7211
- b.current && !b.current.contains(D.target) && v.current && !v.current.contains(D.target) && (L(!1), P(null));
7211
+ b.current && !b.current.contains(D.target) && v.current && !v.current.contains(D.target) && (L(!1), $(null));
7212
7212
  };
7213
7213
  return document.addEventListener("mousedown", z), () => document.removeEventListener("mousedown", z);
7214
7214
  }, [S]);
@@ -7382,7 +7382,7 @@ function Ys({ tabs: e, defaultValue: t, value: r, onChange: o, variant: a = "und
7382
7382
  minWidth: 140
7383
7383
  },
7384
7384
  children: N.map((z, D) => {
7385
- const R = z.value === d, H = z.disabled ?? !1, w = $ === D;
7385
+ const R = z.value === d, H = z.disabled ?? !1, w = P === D;
7386
7386
  return /* @__PURE__ */ n(
7387
7387
  "button",
7388
7388
  {
@@ -7391,9 +7391,9 @@ function Ys({ tabs: e, defaultValue: t, value: r, onChange: o, variant: a = "und
7391
7391
  H || (J(z.value), L(!1));
7392
7392
  },
7393
7393
  onMouseEnter: () => {
7394
- H || P(D);
7394
+ H || $(D);
7395
7395
  },
7396
- onMouseLeave: () => P(null),
7396
+ onMouseLeave: () => $(null),
7397
7397
  style: {
7398
7398
  display: "block",
7399
7399
  width: "100%",
@@ -7731,16 +7731,16 @@ function Js({
7731
7731
  }, A = (M, N) => {
7732
7732
  const q = { ...x, [M]: N };
7733
7733
  N.length === 0 && delete q[M], m(q), f || p(0), a == null || a(0), i == null || i(q);
7734
- }, $ = () => {
7734
+ }, P = () => {
7735
7735
  m({}), f || p(0), a == null || a(0), i == null || i({});
7736
- }, P = [];
7736
+ }, $ = [];
7737
7737
  if (S <= 7)
7738
- for (let M = 0; M < S; M++) P.push(M);
7738
+ for (let M = 0; M < S; M++) $.push(M);
7739
7739
  else {
7740
- P.push(0), g > 2 && P.push("…");
7740
+ $.push(0), g > 2 && $.push("…");
7741
7741
  for (let M = Math.max(1, g - 1); M <= Math.min(S - 2, g + 1); M++)
7742
- P.push(M);
7743
- g < S - 3 && P.push("…"), P.push(S - 1);
7742
+ $.push(M);
7743
+ g < S - 3 && $.push("…"), $.push(S - 1);
7744
7744
  }
7745
7745
  return /* @__PURE__ */ k("div", { style: { display: "flex", flexDirection: "column", gap: "var(--lucent-space-3)", ...s }, children: [
7746
7746
  v && /* @__PURE__ */ n("div", { style: { position: "relative", zIndex: 1 }, children: /* @__PURE__ */ n(
@@ -7750,7 +7750,7 @@ function Js({
7750
7750
  rows: t,
7751
7751
  filters: x,
7752
7752
  onFilter: A,
7753
- onClearAll: $
7753
+ onClearAll: P
7754
7754
  }
7755
7755
  ) }),
7756
7756
  /* @__PURE__ */ n("div", { style: {
@@ -7841,7 +7841,7 @@ function Js({
7841
7841
  children: /* @__PURE__ */ n(Mt, { dir: "left" })
7842
7842
  }
7843
7843
  ),
7844
- P.map(
7844
+ $.map(
7845
7845
  (M, N) => M === "…" ? /* @__PURE__ */ n("span", { style: {
7846
7846
  padding: "0 var(--lucent-space-1)",
7847
7847
  color: "var(--lucent-text-disabled)",
@@ -8056,7 +8056,7 @@ function Fr({
8056
8056
  fontSize: "var(--lucent-font-size-xs)",
8057
8057
  textAlign: "center"
8058
8058
  }, children: "No results" }) : h.map((f) => /* @__PURE__ */ n(
8059
- $r,
8059
+ Pr,
8060
8060
  {
8061
8061
  label: f,
8062
8062
  isSelected: r.includes(f),
@@ -8067,7 +8067,7 @@ function Fr({
8067
8067
  ] })
8068
8068
  ] });
8069
8069
  }
8070
- function $r({ label: e, isSelected: t, onClick: r }) {
8070
+ function Pr({ label: e, isSelected: t, onClick: r }) {
8071
8071
  const [o, a] = E(!1);
8072
8072
  return /* @__PURE__ */ k(
8073
8073
  "button",
@@ -8257,7 +8257,7 @@ const Zs = {
8257
8257
  keyboardInteractions: ["Tab to pagination controls", "Enter/Space to activate buttons"],
8258
8258
  notes: 'Column headers with sortable:true are interactive buttons with aria-sort reflecting the current sort direction. Pagination buttons include aria-label and aria-current="page" for the active page.'
8259
8259
  }
8260
- }, Pr = `
8260
+ }, $r = `
8261
8261
  @keyframes lucent-palette-in {
8262
8262
  from { opacity: 0; transform: scale(0.96) translateY(-8px); }
8263
8263
  to { opacity: 1; transform: scale(1) translateY(0); }
@@ -8279,7 +8279,7 @@ function Qs({
8279
8279
  const l = o !== void 0, [s, c] = E(!1), d = l ? o : s, [u, p] = E(""), [y, h] = E(0), x = O(null), m = O(null), f = O(!1);
8280
8280
  if (!f.current) {
8281
8281
  const I = document.createElement("style");
8282
- I.textContent = Pr, document.head.appendChild(I), f.current = !0;
8282
+ I.textContent = $r, document.head.appendChild(I), f.current = !0;
8283
8283
  }
8284
8284
  const g = ee((I) => {
8285
8285
  l || c(I), a == null || a(I);
@@ -8414,13 +8414,13 @@ function Qs({
8414
8414
  'No results for "',
8415
8415
  u,
8416
8416
  '"'
8417
- ] }) }) : S.map(({ group: I, items: A }, $) => /* @__PURE__ */ k("div", { children: [
8417
+ ] }) }) : S.map(({ group: I, items: A }, P) => /* @__PURE__ */ k("div", { children: [
8418
8418
  I && /* @__PURE__ */ n("div", { style: {
8419
8419
  padding: "var(--lucent-space-2) var(--lucent-space-2) var(--lucent-space-1)",
8420
- ...$ > 0 ? { borderTop: "1px solid var(--lucent-border-subtle)", marginTop: "var(--lucent-space-2)" } : {}
8420
+ ...P > 0 ? { borderTop: "1px solid var(--lucent-border-subtle)", marginTop: "var(--lucent-space-2)" } : {}
8421
8421
  }, children: /* @__PURE__ */ n(Y, { size: "xs", color: "secondary", weight: "medium", children: I }) }),
8422
- A.map((P) => {
8423
- const M = P.disabled ?? !1;
8422
+ A.map(($) => {
8423
+ const M = $.disabled ?? !1;
8424
8424
  let N = !1;
8425
8425
  return M || (N = L === y, L++), /* @__PURE__ */ k(
8426
8426
  "div",
@@ -8429,10 +8429,10 @@ function Qs({
8429
8429
  "aria-selected": N,
8430
8430
  "aria-disabled": M,
8431
8431
  "data-active": N,
8432
- onClick: () => C(P),
8432
+ onClick: () => C($),
8433
8433
  onMouseEnter: () => {
8434
8434
  if (!M) {
8435
- const q = b.indexOf(P);
8435
+ const q = b.indexOf($);
8436
8436
  q !== -1 && h(q);
8437
8437
  }
8438
8438
  },
@@ -8448,17 +8448,17 @@ function Qs({
8448
8448
  opacity: M ? 0.5 : 1
8449
8449
  },
8450
8450
  children: [
8451
- P.icon && /* @__PURE__ */ n("span", { style: { flexShrink: 0, color: "var(--lucent-text-secondary)", display: "flex" }, children: P.icon }),
8451
+ $.icon && /* @__PURE__ */ n("span", { style: { flexShrink: 0, color: "var(--lucent-text-secondary)", display: "flex" }, children: $.icon }),
8452
8452
  /* @__PURE__ */ k("div", { style: { flex: 1, minWidth: 0 }, children: [
8453
- /* @__PURE__ */ n(Y, { size: "sm", weight: "medium", truncate: !0, children: P.label }),
8454
- P.description && /* @__PURE__ */ n(Y, { size: "xs", color: "secondary", truncate: !0, children: P.description })
8453
+ /* @__PURE__ */ n(Y, { size: "sm", weight: "medium", truncate: !0, children: $.label }),
8454
+ $.description && /* @__PURE__ */ n(Y, { size: "xs", color: "secondary", truncate: !0, children: $.description })
8455
8455
  ] })
8456
8456
  ]
8457
8457
  },
8458
- P.id
8458
+ $.id
8459
8459
  );
8460
8460
  })
8461
- ] }, $))
8461
+ ] }, P))
8462
8462
  }
8463
8463
  ),
8464
8464
  /* @__PURE__ */ n("div", { style: {
@@ -8598,17 +8598,17 @@ function tl({
8598
8598
  errorText: u,
8599
8599
  style: p
8600
8600
  }) {
8601
- const y = t !== void 0, [h, x] = E(r), m = y ? t : h, [f, g] = E(!1), [v, b] = E(""), [C, T] = E(0), [S, L] = E(!1), I = O(null), A = O(null), $ = O(null), P = O(null), [M, N] = E({ top: 0, left: 0, width: 0 }), q = ke();
8601
+ const y = t !== void 0, [h, x] = E(r), m = y ? t : h, [f, g] = E(!1), [v, b] = E(""), [C, T] = E(0), [S, L] = E(!1), I = O(null), A = O(null), P = O(null), $ = O(null), [M, N] = E({ top: 0, left: 0, width: 0 }), q = ke();
8602
8602
  G(() => {
8603
8603
  if (!f) return;
8604
8604
  const w = (B) => {
8605
8605
  var V, K;
8606
- !((V = I.current) != null && V.contains(B.target)) && !((K = P.current) != null && K.contains(B.target)) && (g(!1), b(""));
8606
+ !((V = I.current) != null && V.contains(B.target)) && !((K = $.current) != null && K.contains(B.target)) && (g(!1), b(""));
8607
8607
  };
8608
8608
  return document.addEventListener("mousedown", w), () => document.removeEventListener("mousedown", w);
8609
8609
  }, [f]), se(() => {
8610
- if (!f || !$.current) return;
8611
- const w = $.current.getBoundingClientRect();
8610
+ if (!f || !P.current) return;
8611
+ const w = P.current.getBoundingClientRect();
8612
8612
  N({ top: w.bottom + 4, left: w.left, width: w.width });
8613
8613
  }, [f, m, v]);
8614
8614
  const W = (w) => {
@@ -8645,7 +8645,7 @@ function tl({
8645
8645
  children: c
8646
8646
  }
8647
8647
  ),
8648
- /* @__PURE__ */ k("div", { ref: $, children: [
8648
+ /* @__PURE__ */ k("div", { ref: P, children: [
8649
8649
  /* @__PURE__ */ k(
8650
8650
  "div",
8651
8651
  {
@@ -8713,7 +8713,7 @@ function tl({
8713
8713
  /* @__PURE__ */ k(
8714
8714
  "div",
8715
8715
  {
8716
- ref: P,
8716
+ ref: $,
8717
8717
  id: q,
8718
8718
  role: "listbox",
8719
8719
  "aria-multiselectable": "true",
@@ -8758,7 +8758,7 @@ function tl({
8758
8758
  },
8759
8759
  children: [
8760
8760
  /* @__PURE__ */ n(
8761
- $t,
8761
+ Pt,
8762
8762
  {
8763
8763
  checked: V,
8764
8764
  disabled: j || _,
@@ -8926,10 +8926,10 @@ function jr(e, t) {
8926
8926
  function Ur(e, t) {
8927
8927
  return new Date(e, t, 1).getDay();
8928
8928
  }
8929
- function $e(e, t) {
8929
+ function Pe(e, t) {
8930
8930
  return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
8931
8931
  }
8932
- function Pe(e, t) {
8932
+ function $e(e, t) {
8933
8933
  return new Date(e.getFullYear(), e.getMonth(), e.getDate()) < new Date(t.getFullYear(), t.getMonth(), t.getDate());
8934
8934
  }
8935
8935
  function zt(e, t) {
@@ -9038,9 +9038,9 @@ function at({
9038
9038
  /* @__PURE__ */ n("div", { style: { display: "grid", gridTemplateColumns: "repeat(7, 1fr)", gap: 2, marginBottom: "var(--lucent-space-1)" }, children: _r.map((g) => /* @__PURE__ */ n("div", { style: { textAlign: "center" }, children: /* @__PURE__ */ n(Y, { size: to[p], color: "secondary", children: g }) }, g)) }),
9039
9039
  /* @__PURE__ */ n("div", { style: { display: "grid", gridTemplateColumns: "repeat(7, 1fr)", gap: 2 }, children: f.map((g, v) => {
9040
9040
  if (!g) return /* @__PURE__ */ n("div", {}, v);
9041
- const b = new Date(e, t, g), C = r ? $e(b, r) : !1, T = $e(b, o), S = (a ? Pe(b, a) : !1) || (i ? zt(b, i) : !1);
9041
+ const b = new Date(e, t, g), C = r ? Pe(b, r) : !1, T = Pe(b, o), S = (a ? $e(b, a) : !1) || (i ? zt(b, i) : !1);
9042
9042
  let L = !1;
9043
- return d != null && d.start && (d != null && d.end) && (L = !Pe(b, d.start) && !zt(b, d.end)), /* @__PURE__ */ n(
9043
+ return d != null && d.start && (d != null && d.end) && (L = !$e(b, d.start) && !zt(b, d.end)), /* @__PURE__ */ n(
9044
9044
  "button",
9045
9045
  {
9046
9046
  type: "button",
@@ -9091,7 +9091,7 @@ function al({
9091
9091
  errorText: u,
9092
9092
  style: p
9093
9093
  }) {
9094
- const y = e !== void 0, [h, x] = E(t), m = y ? e : h, f = !!u, g = a, v = `lucent-datepicker-${Math.random().toString(36).slice(2, 7)}`, b = /* @__PURE__ */ new Date(), [C, T] = E((m ?? b).getFullYear()), [S, L] = E((m ?? b).getMonth()), [I, A] = E(!1), [$, P] = E(!1), M = O(null), N = O(null), [q, W] = E({ top: 0, left: 0 });
9094
+ const y = e !== void 0, [h, x] = E(t), m = y ? e : h, f = !!u, g = a, v = `lucent-datepicker-${Math.random().toString(36).slice(2, 7)}`, b = /* @__PURE__ */ new Date(), [C, T] = E((m ?? b).getFullYear()), [S, L] = E((m ?? b).getMonth()), [I, A] = E(!1), [P, $] = E(!1), M = O(null), N = O(null), [q, W] = E({ top: 0, left: 0 });
9095
9095
  G(() => {
9096
9096
  if (!I) return;
9097
9097
  const D = (R) => {
@@ -9110,7 +9110,7 @@ function al({
9110
9110
  S === 0 ? (L(11), T((D) => D - 1)) : L((D) => D - 1);
9111
9111
  }, Z = () => {
9112
9112
  S === 11 ? (L(0), T((D) => D + 1)) : L((D) => D + 1);
9113
- }, F = g ? "transparent" : f ? "var(--lucent-danger-default)" : $ ? "var(--lucent-focus-ring)" : "var(--lucent-border-default)", z = $ ? `0 0 0 3px ${f ? "var(--lucent-danger-subtle)" : "var(--lucent-accent-subtle)"}` : "none";
9113
+ }, F = g ? "transparent" : f ? "var(--lucent-danger-default)" : P ? "var(--lucent-focus-ring)" : "var(--lucent-border-default)", z = P ? `0 0 0 3px ${f ? "var(--lucent-danger-subtle)" : "var(--lucent-accent-subtle)"}` : "none";
9114
9114
  return /* @__PURE__ */ k("div", { ref: M, style: { display: "flex", flexDirection: "column", gap: "var(--lucent-space-1)", ...p }, children: [
9115
9115
  c && /* @__PURE__ */ n(
9116
9116
  "label",
@@ -9132,8 +9132,8 @@ function al({
9132
9132
  id: v,
9133
9133
  disabled: a,
9134
9134
  onClick: () => !a && A((D) => !D),
9135
- onFocus: () => P(!0),
9136
- onBlur: () => P(!1),
9135
+ onFocus: () => $(!0),
9136
+ onBlur: () => $(!1),
9137
9137
  "aria-haspopup": "dialog",
9138
9138
  "aria-expanded": I,
9139
9139
  "aria-invalid": f,
@@ -9363,7 +9363,7 @@ const rl = {
9363
9363
  lg: "var(--lucent-font-size-md)"
9364
9364
  };
9365
9365
  function lo(e, t) {
9366
- return e ? $e(e.start, e.end) ? we(e.start) : `${we(e.start)} → ${we(e.end)}` : t;
9366
+ return e ? Pe(e.start, e.end) ? we(e.start) : `${we(e.start)} → ${we(e.end)}` : t;
9367
9367
  }
9368
9368
  function ol({
9369
9369
  value: e,
@@ -9379,7 +9379,7 @@ function ol({
9379
9379
  errorText: u,
9380
9380
  style: p
9381
9381
  }) {
9382
- const y = e !== void 0, [h, x] = E(t), m = y ? e : h, f = !!u, g = a, v = `lucent-daterangepicker-${Math.random().toString(36).slice(2, 7)}`, [b, C] = E(null), [T, S] = E(null), L = /* @__PURE__ */ new Date(), [I, A] = E(((m == null ? void 0 : m.start) ?? L).getFullYear()), [$, P] = E(((m == null ? void 0 : m.start) ?? L).getMonth()), M = $ === 11 ? 0 : $ + 1, N = $ === 11 ? I + 1 : I, [q, W] = E(!1), [U, J] = E(!1), Z = O(null), F = O(null), [z, D] = E({ top: 0, left: 0 });
9382
+ const y = e !== void 0, [h, x] = E(t), m = y ? e : h, f = !!u, g = a, v = `lucent-daterangepicker-${Math.random().toString(36).slice(2, 7)}`, [b, C] = E(null), [T, S] = E(null), L = /* @__PURE__ */ new Date(), [I, A] = E(((m == null ? void 0 : m.start) ?? L).getFullYear()), [P, $] = E(((m == null ? void 0 : m.start) ?? L).getMonth()), M = P === 11 ? 0 : P + 1, N = P === 11 ? I + 1 : I, [q, W] = E(!1), [U, J] = E(!1), Z = O(null), F = O(null), [z, D] = E({ top: 0, left: 0 });
9383
9383
  G(() => {
9384
9384
  if (!q) return;
9385
9385
  const j = (_) => {
@@ -9396,17 +9396,17 @@ function ol({
9396
9396
  if (!b)
9397
9397
  C(j);
9398
9398
  else {
9399
- const [_, re] = Pe(j, b) || $e(j, b) ? [j, b] : [b, j], ne = { start: _, end: re };
9399
+ const [_, re] = $e(j, b) || Pe(j, b) ? [j, b] : [b, j], ne = { start: _, end: re };
9400
9400
  y || x(ne), r == null || r(ne), C(null), W(!1);
9401
9401
  }
9402
9402
  }, H = () => {
9403
- $ === 0 ? (P(11), A((j) => j - 1)) : P((j) => j - 1);
9403
+ P === 0 ? ($(11), A((j) => j - 1)) : $((j) => j - 1);
9404
9404
  }, w = () => {
9405
- $ === 11 ? (P(0), A((j) => j + 1)) : P((j) => j + 1);
9405
+ P === 11 ? ($(0), A((j) => j + 1)) : $((j) => j + 1);
9406
9406
  };
9407
9407
  let B;
9408
9408
  if (b && T) {
9409
- const [j, _] = Pe(T, b) ? [T, b] : [b, T];
9409
+ const [j, _] = $e(T, b) ? [T, b] : [b, T];
9410
9410
  B = { start: j, end: _ };
9411
9411
  } else b ? B = { start: b, end: b } : m && (B = { start: m.start, end: m.end });
9412
9412
  const V = g ? "transparent" : f ? "var(--lucent-danger-default)" : U ? "var(--lucent-focus-ring)" : "var(--lucent-border-default)", K = U ? `0 0 0 3px ${f ? "var(--lucent-danger-subtle)" : "var(--lucent-accent-subtle)"}` : "none";
@@ -9518,7 +9518,7 @@ function ol({
9518
9518
  at,
9519
9519
  {
9520
9520
  year: I,
9521
- month: $,
9521
+ month: P,
9522
9522
  ...(m == null ? void 0 : m.start) !== void 0 && { selected: m.start },
9523
9523
  today: L,
9524
9524
  ...i !== void 0 && { min: i },
@@ -10296,7 +10296,7 @@ function Lo({ toasts: e, position: t, onDismiss: r, portalContainer: o }) {
10296
10296
  transition: "transform var(--lucent-duration-base) var(--lucent-easing-emphasized), margin var(--lucent-duration-base) var(--lucent-easing-emphasized), gap var(--lucent-duration-base) var(--lucent-easing-emphasized)"
10297
10297
  }, children: [
10298
10298
  u.map((f, g) => {
10299
- const v = u.length - 1 - g, b = !a && v > Do, C = v * Co, T = d ? C : -C, S = a ? 1 : 1 - v * Io, L = a ? 1 : Math.max(0, 1 - v * Mo), I = f.phase === "entering", A = v === 0, $ = !a && !A;
10299
+ const v = u.length - 1 - g, b = !a && v > Do, C = v * Co, T = d ? C : -C, S = a ? 1 : 1 - v * Io, L = a ? 1 : Math.max(0, 1 - v * Mo), I = f.phase === "entering", A = v === 0, P = !a && !A;
10300
10300
  return /* @__PURE__ */ n(
10301
10301
  "div",
10302
10302
  {
@@ -10324,8 +10324,8 @@ function Lo({ toasts: e, position: t, onDismiss: r, portalContainer: o }) {
10324
10324
  {
10325
10325
  entry: f,
10326
10326
  onDismiss: r,
10327
- hideContent: $,
10328
- ...$ && l !== void 0 && { fixedHeight: l }
10327
+ hideContent: P,
10328
+ ...P && l !== void 0 && { fixedHeight: l }
10329
10329
  }
10330
10330
  )
10331
10331
  },
@@ -10764,7 +10764,7 @@ function He({
10764
10764
  }
10765
10765
  ) });
10766
10766
  }
10767
- function $o({
10767
+ function Po({
10768
10768
  children: e,
10769
10769
  href: t,
10770
10770
  isActive: r = !1,
@@ -10784,7 +10784,7 @@ function $o({
10784
10784
  for (const C of v)
10785
10785
  C != null && typeof C == "object" && "type" in C && C.type === Yt ? f = C : g.push(C);
10786
10786
  return f ? /* @__PURE__ */ n(
10787
- Po,
10787
+ $o,
10788
10788
  {
10789
10789
  subMenu: f,
10790
10790
  orientation: d,
@@ -10843,7 +10843,7 @@ function $o({
10843
10843
  }
10844
10844
  );
10845
10845
  }
10846
- function Po({
10846
+ function $o({
10847
10847
  children: e,
10848
10848
  icon: t,
10849
10849
  badge: r,
@@ -10857,7 +10857,7 @@ function Po({
10857
10857
  inverse: u,
10858
10858
  size: p
10859
10859
  }) {
10860
- const { hasIcons: y, requestMeasure: h } = ie(ue), x = Oe[p], [m, f] = E(!1), g = O(null), [v, b] = E(0), C = O(null), T = O(null), S = O(), L = No(s), I = o && !L, A = !I && !m && L, $ = o || L;
10860
+ const { hasIcons: y, requestMeasure: h } = ie(ue), x = Oe[p], [m, f] = E(!1), g = O(null), [v, b] = E(0), C = O(null), T = O(null), S = O(), L = No(s), I = o && !L, A = !I && !m && L, P = o || L;
10861
10861
  G(() => {
10862
10862
  h();
10863
10863
  }, [m, o, L, h]), G(() => {
@@ -10886,7 +10886,7 @@ function Po({
10886
10886
  const R = D.getBoundingClientRect();
10887
10887
  R.right > window.innerWidth && (D.style.left = "auto", D.style.right = "0"), R.bottom > window.innerHeight && (D.style.top = "auto", D.style.bottom = "100%", D.style.marginTop = "0", D.style.marginBottom = "var(--lucent-space-1)");
10888
10888
  }, [c, m]);
10889
- const [P, M] = E("idle"), [N, q] = E(!1), W = () => {
10889
+ const [$, M] = E("idle"), [N, q] = E(!1), W = () => {
10890
10890
  a || (q(!0), M("entering"), f(!0));
10891
10891
  }, U = () => {
10892
10892
  M("exiting"), setTimeout(() => {
@@ -10913,7 +10913,7 @@ function Po({
10913
10913
  "button",
10914
10914
  {
10915
10915
  "data-lucent-navitem": "",
10916
- "data-hint": $ || void 0,
10916
+ "data-hint": P || void 0,
10917
10917
  onClick: (D) => {
10918
10918
  J(), i == null || i(D);
10919
10919
  },
@@ -10927,12 +10927,12 @@ function Po({
10927
10927
  padding: `${x.paddingY} ${x.paddingX}`,
10928
10928
  borderRadius: "var(--lucent-radius-md)",
10929
10929
  background: "transparent",
10930
- color: a ? "var(--lucent-text-disabled)" : $ ? "var(--lucent-text-primary)" : "var(--lucent-text-secondary)",
10930
+ color: a ? "var(--lucent-text-disabled)" : P ? "var(--lucent-text-primary)" : "var(--lucent-text-secondary)",
10931
10931
  border: 0,
10932
- borderBottom: $ ? "2px solid var(--lucent-accent-default)" : "2px solid transparent",
10932
+ borderBottom: P ? "2px solid var(--lucent-accent-default)" : "2px solid transparent",
10933
10933
  fontFamily: "var(--lucent-font-family-base)",
10934
10934
  fontSize: x.fontSize,
10935
- fontWeight: $ ? "var(--lucent-font-weight-medium)" : "var(--lucent-font-weight-regular)",
10935
+ fontWeight: P ? "var(--lucent-font-weight-medium)" : "var(--lucent-font-weight-regular)",
10936
10936
  cursor: a ? "not-allowed" : "pointer",
10937
10937
  transition: "background var(--lucent-duration-fast) var(--lucent-easing-default), color var(--lucent-duration-fast) var(--lucent-easing-default)",
10938
10938
  userSelect: "none",
@@ -10964,7 +10964,7 @@ function Po({
10964
10964
  boxShadow: "var(--lucent-shadow-lg)",
10965
10965
  padding: "var(--lucent-space-1)",
10966
10966
  zIndex: 100,
10967
- animation: P === "exiting" ? `lucent-navmenu-dropdown-out ${Je}ms var(--lucent-easing-default) forwards` : `lucent-navmenu-dropdown-in ${Je}ms var(--lucent-easing-default) forwards`
10967
+ animation: $ === "exiting" ? `lucent-navmenu-dropdown-out ${Je}ms var(--lucent-easing-default) forwards` : `lucent-navmenu-dropdown-in ${Je}ms var(--lucent-easing-default) forwards`
10968
10968
  },
10969
10969
  children: s
10970
10970
  }
@@ -10978,7 +10978,7 @@ function Po({
10978
10978
  "data-lucent-navitem": "",
10979
10979
  "data-active": I || void 0,
10980
10980
  "data-active-parent": A || void 0,
10981
- "data-hint": !I && !A && $ || void 0,
10981
+ "data-hint": !I && !A && P || void 0,
10982
10982
  onClick: (D) => {
10983
10983
  J(), i == null || i(D);
10984
10984
  },
@@ -10993,12 +10993,12 @@ function Po({
10993
10993
  padding: `${x.paddingY} ${x.paddingX} ${x.paddingY} ${t != null ? "var(--lucent-space-2)" : "var(--lucent-space-4)"}`,
10994
10994
  borderRadius: "var(--lucent-radius-md)",
10995
10995
  background: "transparent",
10996
- color: a ? "var(--lucent-text-disabled)" : I ? u ? "var(--lucent-text-primary)" : "var(--lucent-text-on-accent)" : A || $ ? "var(--lucent-text-primary)" : "var(--lucent-text-secondary)",
10996
+ color: a ? "var(--lucent-text-disabled)" : I ? u ? "var(--lucent-text-primary)" : "var(--lucent-text-on-accent)" : A || P ? "var(--lucent-text-primary)" : "var(--lucent-text-secondary)",
10997
10997
  border: 0,
10998
10998
  boxShadow: "none",
10999
10999
  fontFamily: "var(--lucent-font-family-base)",
11000
11000
  fontSize: x.fontSize,
11001
- fontWeight: $ ? "var(--lucent-font-weight-medium)" : "var(--lucent-font-weight-regular)",
11001
+ fontWeight: P ? "var(--lucent-font-weight-medium)" : "var(--lucent-font-weight-regular)",
11002
11002
  textAlign: "left",
11003
11003
  textDecoration: "none",
11004
11004
  cursor: a ? "not-allowed" : "pointer",
@@ -11209,7 +11209,7 @@ function Ho({ open: e, size: t = 14 }) {
11209
11209
  }
11210
11210
  );
11211
11211
  }
11212
- He.Item = $o;
11212
+ He.Item = Po;
11213
11213
  He.Group = Wo;
11214
11214
  He.Sub = Yt;
11215
11215
  He.Separator = Oo;
@@ -11990,17 +11990,17 @@ function Li(e) {
11990
11990
  function Fi(e) {
11991
11991
  return typeof e == "string" ? Ai[e] : e;
11992
11992
  }
11993
- function $i(e) {
11993
+ function Pi(e) {
11994
11994
  return typeof e == "string" ? Bi[e] : e;
11995
11995
  }
11996
- function Pi(e, t) {
11996
+ function $i(e, t) {
11997
11997
  let r, o, a, i;
11998
11998
  if (typeof e == "string") {
11999
11999
  const s = qi[e];
12000
12000
  if (!s) return {};
12001
12001
  r = s.palette, o = s.shape, a = s.density, i = s.shadow;
12002
12002
  } else
12003
- e.palette !== void 0 && (r = Ri(e.palette)), e.shape !== void 0 && (o = Li(e.shape)), e.density !== void 0 && (a = Fi(e.density)), e.shadow !== void 0 && (i = $i(e.shadow));
12003
+ e.palette !== void 0 && (r = Ri(e.palette)), e.shape !== void 0 && (o = Li(e.shape)), e.density !== void 0 && (a = Fi(e.density)), e.shadow !== void 0 && (i = Pi(e.shadow));
12004
12004
  const l = {};
12005
12005
  if (r) {
12006
12006
  const s = Qt(r[t], t);
@@ -12019,7 +12019,7 @@ function hl({
12019
12019
  anchors: o,
12020
12020
  children: a
12021
12021
  }) {
12022
- const i = ke().replace(/:/g, ""), l = t ? Pi(t, e) : void 0, s = (() => {
12022
+ const i = ke().replace(/:/g, ""), l = t ? $i(t, e) : void 0, s = (() => {
12023
12023
  if (o) {
12024
12024
  const f = Qt(o, e);
12025
12025
  if (l) {
@@ -12344,11 +12344,11 @@ export {
12344
12344
  xs as COLOR_PICKER_MANIFEST,
12345
12345
  ws as COLOR_SWATCH_MANIFEST,
12346
12346
  el as COMMAND_PALETTE_MANIFEST,
12347
- Ps as Card,
12347
+ $s as Card,
12348
12348
  Ns as CardBleed,
12349
12349
  Ws as CardManifest,
12350
12350
  ct as CardPaddingContext,
12351
- $t as Checkbox,
12351
+ Pt as Checkbox,
12352
12352
  es as CheckboxManifest,
12353
12353
  Ln as Chip,
12354
12354
  vs as CodeBlock,
@@ -12389,7 +12389,7 @@ export {
12389
12389
  hs as NavLink,
12390
12390
  He as NavMenu,
12391
12391
  Wo as NavMenuGroup,
12392
- $o as NavMenuItem,
12392
+ Po as NavMenuItem,
12393
12393
  Oo as NavMenuSeparator,
12394
12394
  Yt as NavMenuSub,
12395
12395
  Xs as PageLayout,
@@ -12403,7 +12403,7 @@ export {
12403
12403
  Is as RowManifest,
12404
12404
  ks as SEGMENTED_CONTROL_MANIFEST,
12405
12405
  Fs as SearchInput,
12406
- $s as SearchInputManifest,
12406
+ Ps as SearchInputManifest,
12407
12407
  Wt as SegmentedControl,
12408
12408
  Nt as Select,
12409
12409
  is as SelectManifest,
@@ -12458,7 +12458,7 @@ export {
12458
12458
  Si as oceanPalette,
12459
12459
  on as pillShape,
12460
12460
  Di as playfulPreset,
12461
- Pi as resolvePreset,
12461
+ $i as resolvePreset,
12462
12462
  nn as rosePalette,
12463
12463
  rn as roundedShape,
12464
12464
  an as sharpShape,