@juwel-development/design-system 3.10.0 → 3.11.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.
@@ -93,18 +93,18 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
93
93
  }, O = (e) => {
94
94
  let t = e.reduce((e, t) => e + t.weight, 0), n = e.map((e) => `var(${e.minWidth}) * ${t / e.weight}`);
95
95
  return `calc(${e.length - 1} * var(--column-layout-gap) + max(${n.join(", ")}))`;
96
- }, k = (e) => o(e) && e.type === i, te = (e) => o(e) && e.type === j, ne = (e) => r.toArray(e).flatMap((e) => k(e) ? ne(e.props.children) : te(e) ? [e] : []), A = (e) => r.map(e, (e) => k(e) ? /* @__PURE__ */ t(i, { children: A(e.props.children) }) : te(e) ? /* @__PURE__ */ t(E.Provider, {
96
+ }, k = (e) => o(e) && e.type === i, te = (e) => o(e) && e.type === M, A = (e) => r.toArray(e).flatMap((e) => k(e) ? A(e.props.children) : te(e) ? [e] : []), j = (e) => r.map(e, (e) => k(e) ? /* @__PURE__ */ t(i, { children: j(e.props.children) }) : te(e) ? /* @__PURE__ */ t(E.Provider, {
97
97
  value: !0,
98
98
  children: e
99
- }) : e), re = ({ gap: e, children: n, testId: r }) => {
100
- let i = ne(n).map(ee), a = i.length === 0 ? void 0 : { "--column-layout-threshold": O(i) };
99
+ }) : e), ne = ({ gap: e, children: n, testId: r }) => {
100
+ let i = A(n).map(ee), a = i.length === 0 ? void 0 : { "--column-layout-threshold": O(i) };
101
101
  return /* @__PURE__ */ t("div", {
102
102
  className: w({ gap: e }),
103
103
  style: a,
104
104
  "data-testid": r,
105
- children: A(n)
105
+ children: j(n)
106
106
  });
107
- }, j = ({ weight: e, children: n, testId: r }) => {
107
+ }, M = ({ weight: e, children: n, testId: r }) => {
108
108
  if (!c(E)) throw new S();
109
109
  let i = { "--column-layout-weight": e };
110
110
  return /* @__PURE__ */ t("div", {
@@ -116,103 +116,103 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
116
116
  children: n
117
117
  })
118
118
  });
119
- }, ie = {
120
- Root: re,
121
- Column: j
122
- }, M = .5, N = (e, t) => Math.abs(e - t) <= M, P = (e) => {
119
+ }, N = {
120
+ Root: ne,
121
+ Column: M
122
+ }, P = .5, F = (e, t) => Math.abs(e - t) <= P, I = (e) => {
123
123
  let t = [];
124
- for (let { top: n } of e) t.some((e) => N(e, n)) || t.push(n);
125
- let n = t.map((t) => Math.max(...e.filter((e) => N(t, e.top)).map((e) => e.controlEdge)));
124
+ for (let { top: n } of e) t.some((e) => F(e, n)) || t.push(n);
125
+ let n = t.map((t) => Math.max(...e.filter((e) => F(t, e.top)).map((e) => e.controlEdge)));
126
126
  return e.map(({ top: e, controlEdge: r }) => {
127
- let i = t.findIndex((t) => N(t, e));
127
+ let i = t.findIndex((t) => F(t, e));
128
128
  return (n[i] ?? r) - r;
129
129
  });
130
- }, F = class extends Error {
130
+ }, L = class extends Error {
131
131
  constructor(e) {
132
132
  super(`FieldRow.${e} must be composed inside FieldRow.Root`), this.name = "FieldRowCompositionError";
133
133
  }
134
- }, I = class extends Error {
134
+ }, R = class extends Error {
135
135
  constructor(e) {
136
136
  super(`FieldRow configuration: ${e}`), this.name = "FieldRowConfigurationError";
137
137
  }
138
- }, L = y("flex flex-wrap items-start gap-y-[var(--space-stack)]", {
138
+ }, z = y("flex flex-wrap items-start gap-y-[var(--space-stack)]", {
139
139
  variants: { gap: {
140
140
  stack: "gap-x-[var(--space-stack)]",
141
141
  region: "gap-x-[var(--space-region)]"
142
142
  } },
143
143
  defaultVariants: { gap: "stack" }
144
- }), ae = y("shrink basis-0"), R = y("", {
144
+ }), re = y("shrink basis-0"), B = y("", {
145
145
  variants: { part: {
146
146
  item: "min-w-0 max-w-full flex-none",
147
147
  group: "flex flex-wrap items-end gap-[var(--space-stack)]"
148
148
  } },
149
149
  defaultVariants: { part: "item" }
150
- }), z = /^--[A-Za-z0-9_-]+$/, B = ":scope > [data-field-row-item]", V = a(void 0), H = (e) => {
151
- let t = c(V);
152
- if (t === void 0) throw new F(e);
150
+ }), V = /^--[A-Za-z0-9_-]+$/, H = ":scope > [data-field-row-item]", U = a(void 0), W = (e) => {
151
+ let t = c(U);
152
+ if (t === void 0) throw new L(e);
153
153
  return t;
154
+ }, ie = (e) => {
155
+ if (!(Number.isFinite(e) && e > 0)) throw new R(`weight must be a positive finite number, got ${e}`);
156
+ }, ae = (e) => {
157
+ if (!V.test(e)) throw new R(`minWidth must name a CSS custom property such as --search-field-min-width, got ${JSON.stringify(e)}`);
154
158
  }, oe = (e) => {
155
- if (!(Number.isFinite(e) && e > 0)) throw new I(`weight must be a positive finite number, got ${e}`);
156
- }, se = (e) => {
157
- if (!z.test(e)) throw new I(`minWidth must name a CSS custom property such as --search-field-min-width, got ${JSON.stringify(e)}`);
158
- }, ce = (e) => {
159
159
  let t = e.querySelector("label[for]")?.getAttribute("for");
160
160
  if (!t) return;
161
161
  let n = e.ownerDocument.getElementById(t);
162
162
  return n !== null && e.contains(n) ? n : void 0;
163
- }, U = (e) => getComputedStyle(e).position !== "static", le = (e, t) => {
163
+ }, se = (e) => getComputedStyle(e).position !== "static", ce = (e, t) => {
164
164
  if (getComputedStyle(e).position !== "absolute") return e;
165
165
  let n = e.parentElement;
166
- for (; n !== null && n !== t && !U(n);) n = n.parentElement;
166
+ for (; n !== null && n !== t && !se(n);) n = n.parentElement;
167
167
  return n ?? e;
168
- }, ue = (e) => {
168
+ }, le = (e) => {
169
169
  let t = e.getBoundingClientRect().top, n = e.firstElementChild;
170
170
  if (n === null) return {
171
171
  top: t,
172
172
  controlEdge: 0
173
173
  };
174
- let r = n.getBoundingClientRect(), i = ce(n);
174
+ let r = n.getBoundingClientRect(), i = oe(n);
175
175
  return {
176
176
  top: t,
177
- controlEdge: (i === void 0 ? r.bottom : le(i, n).getBoundingClientRect().bottom) - r.top
177
+ controlEdge: (i === void 0 ? r.bottom : ce(i, n).getBoundingClientRect().bottom) - r.top
178
178
  };
179
- }, W = (e) => {
180
- let t = Array.from(e.querySelectorAll(B)), n = P(t.map(ue));
179
+ }, G = (e) => {
180
+ let t = Array.from(e.querySelectorAll(H)), n = I(t.map(le));
181
181
  t.forEach((e, t) => {
182
182
  let r = n[t] ?? 0, i = Number.parseFloat(e.style.paddingTop) || 0;
183
183
  Math.abs(i - r) > .01 && (e.style.paddingTop = r === 0 ? "" : `${r}px`);
184
184
  });
185
- }, de = {
185
+ }, ue = {
186
186
  Root: ({ gap: e, children: n, testId: r }) => {
187
187
  let i = p(null), a = p(void 0), o = p(/* @__PURE__ */ new WeakSet()), s = () => {
188
- i.current && W(i.current);
188
+ i.current && G(i.current);
189
189
  }, c = (e) => {
190
190
  e && a.current && !o.current.has(e) && (o.current.add(e), a.current.observe(e));
191
191
  };
192
192
  return d(() => {
193
193
  let e = i.current;
194
- if (e !== null && (W(e), !(typeof ResizeObserver > "u"))) {
195
- a.current ??= new ResizeObserver(() => W(e));
196
- for (let t of e.querySelectorAll(B)) {
194
+ if (e !== null && (G(e), !(typeof ResizeObserver > "u"))) {
195
+ a.current ??= new ResizeObserver(() => G(e));
196
+ for (let t of e.querySelectorAll(H)) {
197
197
  let e = t.firstElementChild ?? void 0;
198
198
  c(e), c(e?.querySelector("label[for]") ?? void 0);
199
199
  }
200
200
  }
201
201
  }), d(() => () => a.current?.disconnect(), []), /* @__PURE__ */ t("div", {
202
202
  ref: i,
203
- className: L({ gap: e }),
203
+ className: z({ gap: e }),
204
204
  "data-testid": r,
205
- children: /* @__PURE__ */ t(V, {
205
+ children: /* @__PURE__ */ t(U, {
206
206
  value: { align: s },
207
207
  children: n
208
208
  })
209
209
  });
210
210
  },
211
211
  Field: ({ children: e, weight: n = 1, minWidth: r, testId: i }) => {
212
- let { align: a } = H("Field");
213
- return oe(n), se(r), d(() => a()), /* @__PURE__ */ t("div", {
212
+ let { align: a } = W("Field");
213
+ return ie(n), ae(r), d(() => a()), /* @__PURE__ */ t("div", {
214
214
  "data-field-row-item": !0,
215
- className: ae(),
215
+ className: re(),
216
216
  "data-testid": i,
217
217
  style: {
218
218
  flexGrow: n,
@@ -222,18 +222,18 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
222
222
  });
223
223
  },
224
224
  Actions: ({ children: e, testId: n }) => {
225
- let { align: r } = H("Actions");
225
+ let { align: r } = W("Actions");
226
226
  return d(() => r()), /* @__PURE__ */ t("div", {
227
227
  "data-field-row-item": !0,
228
- className: R(),
228
+ className: B(),
229
229
  "data-testid": n,
230
230
  children: /* @__PURE__ */ t("div", {
231
- className: R({ part: "group" }),
231
+ className: B({ part: "group" }),
232
232
  children: e
233
233
  })
234
234
  });
235
235
  }
236
- }, fe = y("flex", {
236
+ }, de = y("flex", {
237
237
  variants: {
238
238
  gap: {
239
239
  stack: "gap-[var(--space-stack)]",
@@ -258,8 +258,8 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
258
258
  measure: !1,
259
259
  direction: "column"
260
260
  }
261
- }), pe = ({ gap: e, measure: n, direction: r, align: i, children: a, testId: o }) => /* @__PURE__ */ t("div", {
262
- className: fe({
261
+ }), fe = ({ gap: e, measure: n, direction: r, align: i, children: a, testId: o }) => /* @__PURE__ */ t("div", {
262
+ className: de({
263
263
  gap: e,
264
264
  measure: n,
265
265
  direction: r,
@@ -267,12 +267,12 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
267
267
  }),
268
268
  "data-testid": o,
269
269
  children: a
270
- }), G = y(["min-w-0 border border-solid border-border bg-surface text-foreground", "p-[var(--space-box-inset)] [overflow-wrap:anywhere]"].join(" ")), me = ({ children: e, name: n, testId: r }) => n === void 0 || n === "" ? /* @__PURE__ */ t("div", {
271
- className: G(),
270
+ }), pe = y(["min-w-0 border border-solid border-border bg-surface text-foreground", "p-[var(--space-box-inset)] [overflow-wrap:anywhere]"].join(" ")), me = ({ children: e, name: n, testId: r }) => n === void 0 || n === "" ? /* @__PURE__ */ t("div", {
271
+ className: pe(),
272
272
  "data-testid": r,
273
273
  children: e
274
274
  }) : /* @__PURE__ */ t("div", {
275
- className: G(),
275
+ className: pe(),
276
276
  role: "group",
277
277
  "aria-label": n,
278
278
  "data-testid": r,
@@ -423,7 +423,13 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
423
423
  children: l
424
424
  })]
425
425
  });
426
- }, Ie = y("inline-block shrink-0 align-[-0.125em]"), Le = {
426
+ }, Ie = y("inline-block shrink-0 align-[-0.125em] forced-color-adjust-auto", { variants: { color: {
427
+ muted: "text-muted",
428
+ success: "text-success",
429
+ warning: "text-warning",
430
+ error: "text-error",
431
+ info: "text-info"
432
+ } } }), Le = "M3.5 2h9a1 1 0 0 1 1 1v7a1 1 0 0 1-1 1H7.25L4 13.75V11h-.5a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1z", Re = {
427
433
  sort: [
428
434
  "M5.5 13V3",
429
435
  "M3 5.5l2.5-2.5L8 5.5",
@@ -431,16 +437,31 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
431
437
  "M8 10.5l2.5 2.5 2.5-2.5"
432
438
  ],
433
439
  "sort-ascending": ["M8 13V3", "M4 7l4-4 4 4"],
434
- "sort-descending": ["M8 3v10", "M4 9l4 4 4-4"]
435
- }, Re = ({ name: e, testId: n }) => /* @__PURE__ */ t("svg", {
436
- "aria-hidden": !0,
440
+ "sort-descending": ["M8 3v10", "M4 9l4 4 4-4"],
441
+ bin: [
442
+ "M2.5 4.5h11",
443
+ "M6 4.5V3a.5.5 0 0 1 .5-.5h3a.5.5 0 0 1 .5.5v1.5",
444
+ "M4 4.5l.6 8.1a1 1 0 0 0 1 .9h4.8a1 1 0 0 0 1-.9l.6-8.1",
445
+ "M6.75 7.25v3.5",
446
+ "M9.25 7.25v3.5"
447
+ ],
448
+ "bubble-exclamation": [
449
+ Le,
450
+ "M8 4.5v2",
451
+ "M8 8.75h.01"
452
+ ],
453
+ "bubble-tick": [Le, "M5.75 6.75l1.5 1.5 3-3.5"]
454
+ }, ze = ({ name: e, label: n, color: r, testId: i }) => /* @__PURE__ */ t("svg", {
455
+ role: n ? "img" : void 0,
456
+ "aria-label": n || void 0,
457
+ "aria-hidden": !n || void 0,
437
458
  focusable: !1,
438
459
  viewBox: "0 0 16 16",
439
460
  width: "1em",
440
461
  height: "1em",
441
- className: Ie(),
442
- "data-testid": n,
443
- children: Le[e].map((e) => /* @__PURE__ */ t("path", {
462
+ className: Ie({ color: r }),
463
+ "data-testid": i,
464
+ children: Re[e].map((e) => /* @__PURE__ */ t("path", {
444
465
  d: e,
445
466
  fill: "none",
446
467
  stroke: "currentColor",
@@ -448,20 +469,20 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
448
469
  strokeLinecap: "round",
449
470
  strokeLinejoin: "round"
450
471
  }, e))
451
- }), K = class extends Error {
472
+ }), Be = class extends Error {
452
473
  constructor(e) {
453
474
  super(`Meter configuration is invalid: ${e}`), this.name = "MeterConfigurationError";
454
475
  }
455
- }, ze = y("w-full h-[var(--meter-track-thickness)] bg-meter-track border border-solid border-rule"), Be = y("h-full w-[calc(var(--meter-level)*100%)]", {
476
+ }, Ve = y("w-full h-[var(--meter-track-thickness)] bg-meter-track border border-solid border-rule"), He = y("h-full w-[calc(var(--meter-level)*100%)]", {
456
477
  variants: { treatment: {
457
478
  neutral: "bg-meter-fill",
458
479
  depleting: "bg-[color-mix(in_oklab,var(--color-meter-fill)_calc(var(--meter-level)*100%),var(--color-error))]"
459
480
  } },
460
481
  defaultVariants: { treatment: "neutral" }
461
- }), Ve = ({ value: e, min: n = 0, max: r, treatment: i, label: a, valueText: o, testId: s }) => {
462
- if (!Number.isFinite(e) || !Number.isFinite(n) || !Number.isFinite(r)) throw new K(`value, min and max must be finite numbers (got value=${e}, min=${n}, max=${r})`);
463
- if (n >= r) throw new K(`min must be less than max (got min=${n}, max=${r})`);
464
- if (e < n || e > r) throw new K(`value must lie within [min, max] (got value=${e}, min=${n}, max=${r})`);
482
+ }), Ue = ({ value: e, min: n = 0, max: r, treatment: i, label: a, valueText: o, testId: s }) => {
483
+ if (!Number.isFinite(e) || !Number.isFinite(n) || !Number.isFinite(r)) throw new Be(`value, min and max must be finite numbers (got value=${e}, min=${n}, max=${r})`);
484
+ if (n >= r) throw new Be(`min must be less than max (got min=${n}, max=${r})`);
485
+ if (e < n || e > r) throw new Be(`value must lie within [min, max] (got value=${e}, min=${n}, max=${r})`);
465
486
  let c = { "--meter-level": (e - n) / (r - n) };
466
487
  return /* @__PURE__ */ t("div", {
467
488
  role: "meter",
@@ -471,28 +492,28 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
471
492
  "aria-label": a,
472
493
  "aria-valuetext": o,
473
494
  "data-testid": s,
474
- className: ze(),
495
+ className: Ve(),
475
496
  style: c,
476
497
  children: /* @__PURE__ */ t("div", {
477
498
  "aria-hidden": "true",
478
- className: Be({ treatment: i })
499
+ className: He({ treatment: i })
479
500
  })
480
501
  });
481
- }, He = y(["grid gap-[var(--space-stack)]", "lg:grid-cols-[10rem_minmax(0,1fr)] lg:items-start lg:gap-x-12"].join(" ")), Ue = y("lg:sticky lg:top-6"), We = y("block border-b border-solid border-border pb-1 font-secondary text-label tracking-label text-muted"), Ge = y("block pt-1 font-secondary text-label tracking-label text-foreground"), Ke = {
502
+ }, We = y(["grid gap-[var(--space-stack)]", "lg:grid-cols-[10rem_minmax(0,1fr)] lg:items-start lg:gap-x-12"].join(" ")), Ge = y("lg:sticky lg:top-6"), Ke = y("block border-b border-solid border-border pb-1 font-secondary text-label tracking-label text-muted"), qe = y("block pt-1 font-secondary text-label tracking-label text-foreground"), Je = {
482
503
  Root: ({ children: e, testId: n }) => /* @__PURE__ */ t("div", {
483
- className: He(),
504
+ className: We(),
484
505
  "data-testid": n,
485
506
  children: e
486
507
  }),
487
508
  Index: ({ number: e, children: r, testId: i }) => /* @__PURE__ */ n("div", {
488
- className: Ue(),
509
+ className: Ge(),
489
510
  "data-testid": i,
490
511
  "aria-hidden": "true",
491
512
  children: [e !== void 0 && /* @__PURE__ */ t("span", {
492
- className: We(),
513
+ className: Ke(),
493
514
  children: e
494
515
  }), /* @__PURE__ */ t("span", {
495
- className: Ge(),
516
+ className: qe(),
496
517
  children: r
497
518
  })]
498
519
  }),
@@ -500,11 +521,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
500
521
  "data-testid": n,
501
522
  children: e
502
523
  })
503
- }, qe = class extends Error {
524
+ }, Ye = class extends Error {
504
525
  constructor(e) {
505
526
  super(`Table configuration is invalid: ${e}`), this.name = "TableConfigurationError";
506
527
  }
507
- }, q = "comfortable", Je = y([
528
+ }, K = "comfortable", Xe = y([
508
529
  "overflow-x-auto",
509
530
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]",
510
531
  "[&>table]:w-full [&>table]:border-collapse [&>table]:text-left",
@@ -528,8 +549,8 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
528
549
  comfortable: "[--table-cell-padding-inline:var(--table-cell-inset-inline)] [--table-cell-padding-block:var(--table-cell-inset-block)]",
529
550
  compact: "[--table-cell-padding-inline:var(--table-cell-inset-inline-compact)] [--table-cell-padding-block:var(--table-cell-inset-block-compact)]"
530
551
  } },
531
- defaultVariants: { density: q }
532
- }), Ye = y([
552
+ defaultVariants: { density: K }
553
+ }), Ze = y([
533
554
  "border-t border-solid border-border",
534
555
  "[&[aria-selected=true]>*:first-child]:relative",
535
556
  "[&[aria-selected=true]>*:first-child]:before:absolute [&[aria-selected=true]>*:first-child]:before:inset-y-0 [&[aria-selected=true]>*:first-child]:before:left-0",
@@ -540,7 +561,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
540
561
  false: ""
541
562
  } },
542
563
  defaultVariants: { interactive: !1 }
543
- }), Xe = [
564
+ }), Qe = [
544
565
  "a[href]",
545
566
  "button",
546
567
  "input",
@@ -566,11 +587,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
566
587
  "[role=\"searchbox\"]",
567
588
  "[role=\"slider\"]",
568
589
  "[role=\"spinbutton\"]"
569
- ].join(", "), Ze = (e, t) => {
590
+ ].join(", "), $e = (e, t) => {
570
591
  if (!(t instanceof Element)) return !1;
571
- let n = t.closest(Xe);
592
+ let n = t.closest(Qe);
572
593
  return n !== null && n !== e && e.contains(n);
573
- }, Qe = /* @__PURE__ */ new Set(["Enter", " "]), $e = y("px-[var(--table-cell-padding-inline)] py-[var(--table-cell-padding-block)] text-small first:pl-0 last:pr-0", {
594
+ }, et = /* @__PURE__ */ new Set(["Enter", " "]), tt = y("px-[var(--table-cell-padding-inline)] py-[var(--table-cell-padding-block)] text-small first:pl-0 last:pr-0", {
574
595
  variants: {
575
596
  variant: {
576
597
  value: "font-body text-foreground tabular-nums",
@@ -586,22 +607,22 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
586
607
  variant: "value",
587
608
  align: "left"
588
609
  }
589
- }), et = y("px-[var(--table-cell-padding-inline)] py-[var(--table-cell-padding-block)] font-secondary font-medium text-label text-muted tracking-label first:pl-0 last:pr-0", {
610
+ }), nt = y("px-[var(--table-cell-padding-inline)] py-[var(--table-cell-padding-block)] font-secondary font-medium text-label text-muted tracking-label first:pl-0 last:pr-0", {
590
611
  variants: { align: {
591
612
  left: "text-left",
592
613
  right: "text-right",
593
614
  center: "text-center"
594
615
  } },
595
616
  defaultVariants: { align: "left" }
596
- }), tt = (e) => `var(--table-column-${e})`, nt = (e, t) => {
597
- let n = e.minWidth === void 0 ? void 0 : tt(e.minWidth);
617
+ }), rt = (e) => `var(--table-column-${e})`, it = (e, t) => {
618
+ let n = e.minWidth === void 0 ? void 0 : rt(e.minWidth);
598
619
  if (e.width !== void 0) {
599
- let t = tt(e.width);
620
+ let t = rt(e.width);
600
621
  return n === void 0 ? t : `max(${n}, ${t})`;
601
622
  }
602
- if (!Number.isFinite(e.weight) || e.weight <= 0) throw new qe(`column ${t + 1} needs a positive finite weight (got ${e.weight})`);
623
+ if (!Number.isFinite(e.weight) || e.weight <= 0) throw new Ye(`column ${t + 1} needs a positive finite weight (got ${e.weight})`);
603
624
  return `minmax(${n ?? "0"}, ${e.weight}fr)`;
604
- }, rt = (e) => e === void 0 || e.length === 0 ? void 0 : e.map(nt).join(" "), it = (e, t, n) => {
625
+ }, at = (e) => e === void 0 || e.length === 0 ? void 0 : e.map(it).join(" "), ot = (e, t, n) => {
605
626
  let [r, i] = m(!0);
606
627
  return d(() => {
607
628
  let r = e.current;
@@ -619,9 +640,9 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
619
640
  t,
620
641
  n
621
642
  ]), r;
622
- }, at = {
643
+ }, st = {
623
644
  Root: ({ caption: e, notes: r, columns: i, density: a, children: o, testId: s }) => {
624
- let c = p(null), l = p(null), u = p(null), d = rt(i), f = it(c, l, u), m = d === void 0 ? void 0 : { "--table-columns": d }, h = d === void 0 ? void 0 : i?.length, g = /* @__PURE__ */ n("table", {
645
+ let c = p(null), l = p(null), u = p(null), d = at(i), f = ot(c, l, u), m = d === void 0 ? void 0 : { "--table-columns": d }, h = d === void 0 ? void 0 : i?.length, g = /* @__PURE__ */ n("table", {
625
646
  ref: l,
626
647
  role: "table",
627
648
  children: [/* @__PURE__ */ t("caption", {
@@ -630,21 +651,21 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
630
651
  }), o]
631
652
  });
632
653
  return r === void 0 ? /* @__PURE__ */ t("section", {
633
- className: Je({ density: a }),
654
+ className: Xe({ density: a }),
634
655
  style: m,
635
656
  "data-columns": h,
636
- "data-density": a ?? q,
657
+ "data-density": a ?? K,
637
658
  "data-testid": s,
638
659
  "aria-label": e,
639
660
  tabIndex: 0,
640
661
  children: g
641
662
  }) : /* @__PURE__ */ t("div", {
642
663
  ref: c,
643
- className: Je({ density: a }),
664
+ className: Xe({ density: a }),
644
665
  style: m,
645
666
  "data-notes": r,
646
667
  "data-columns": h,
647
- "data-density": a ?? q,
668
+ "data-density": a ?? K,
648
669
  "data-testid": s,
649
670
  role: f ? "group" : void 0,
650
671
  "aria-label": f ? e : void 0,
@@ -672,13 +693,13 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
672
693
  return () => e?.unsubscribe();
673
694
  }, [i]);
674
695
  let s = (e) => {
675
- Ze(e.currentTarget, e.target) || r?.next();
696
+ $e(e.currentTarget, e.target) || r?.next();
676
697
  }, c = (e) => {
677
- e.target !== e.currentTarget || !Qe.has(e.key) || (e.key === " " && e.preventDefault(), e.repeat || r?.next());
698
+ e.target !== e.currentTarget || !et.has(e.key) || (e.key === " " && e.preventDefault(), e.repeat || r?.next());
678
699
  }, l = r !== void 0;
679
700
  return /* @__PURE__ */ t("tr", {
680
701
  role: "row",
681
- className: Ye({ interactive: l }),
702
+ className: Ze({ interactive: l }),
682
703
  "data-testid": n,
683
704
  tabIndex: l ? 0 : void 0,
684
705
  "aria-selected": i === void 0 ? void 0 : a,
@@ -691,19 +712,19 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
691
712
  role: e === "row" ? "rowheader" : "columnheader",
692
713
  scope: e,
693
714
  "aria-sort": r,
694
- className: et({ align: n }),
715
+ className: nt({ align: n }),
695
716
  children: i
696
717
  }),
697
718
  Cell: ({ variant: e, align: n, children: r }) => /* @__PURE__ */ t("td", {
698
719
  role: "cell",
699
- className: $e({
720
+ className: tt({
700
721
  variant: e,
701
722
  align: n
702
723
  }),
703
724
  "data-variant": e ?? "value",
704
725
  children: r
705
726
  })
706
- }, ot = y("font-secondary text-label tracking-label font-medium", {
727
+ }, ct = y("font-secondary text-label tracking-label font-medium", {
707
728
  variants: { color: {
708
729
  foreground: "text-foreground",
709
730
  muted: "text-muted",
@@ -713,11 +734,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
713
734
  info: "text-info"
714
735
  } },
715
736
  defaultVariants: { color: "muted" }
716
- }), st = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("p", {
717
- className: ot({ color: n }),
737
+ }), lt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("p", {
738
+ className: ct({ color: n }),
718
739
  "data-testid": r,
719
740
  children: e
720
- }), ct = y("font-heading text-display leading-display tracking-optical max-w-[var(--measure-display)]", {
741
+ }), ut = y("font-heading text-display leading-display tracking-optical max-w-[var(--measure-display)]", {
721
742
  variants: { color: {
722
743
  foreground: "text-foreground",
723
744
  muted: "text-muted",
@@ -727,11 +748,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
727
748
  info: "text-info"
728
749
  } },
729
750
  defaultVariants: { color: "foreground" }
730
- }), lt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h1", {
731
- className: ct({ color: n }),
751
+ }), dt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h1", {
752
+ className: ut({ color: n }),
732
753
  "data-testid": r,
733
754
  children: e
734
- }), ut = y("font-heading text-title leading-title tracking-optical", {
755
+ }), ft = y("font-heading text-title leading-title tracking-optical", {
735
756
  variants: { color: {
736
757
  foreground: "text-foreground",
737
758
  muted: "text-muted",
@@ -741,11 +762,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
741
762
  info: "text-info"
742
763
  } },
743
764
  defaultVariants: { color: "foreground" }
744
- }), dt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h2", {
745
- className: ut({ color: n }),
765
+ }), pt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h2", {
766
+ className: ft({ color: n }),
746
767
  "data-testid": r,
747
768
  children: e
748
- }), ft = y("font-heading text-subtitle leading-subtitle", {
769
+ }), mt = y("font-heading text-subtitle leading-subtitle", {
749
770
  variants: { color: {
750
771
  foreground: "text-foreground",
751
772
  muted: "text-muted",
@@ -755,11 +776,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
755
776
  info: "text-info"
756
777
  } },
757
778
  defaultVariants: { color: "foreground" }
758
- }), pt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h3", {
759
- className: ft({ color: n }),
779
+ }), ht = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h3", {
780
+ className: mt({ color: n }),
760
781
  "data-testid": r,
761
782
  children: e
762
- }), mt = y("font-heading text-body leading-body font-bold", {
783
+ }), gt = y("font-heading text-body leading-body font-bold", {
763
784
  variants: { color: {
764
785
  foreground: "text-foreground",
765
786
  muted: "text-muted",
@@ -769,11 +790,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
769
790
  info: "text-info"
770
791
  } },
771
792
  defaultVariants: { color: "foreground" }
772
- }), ht = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h4", {
773
- className: mt({ color: n }),
793
+ }), _t = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h4", {
794
+ className: gt({ color: n }),
774
795
  "data-testid": r,
775
796
  children: e
776
- }), gt = y("font-heading text-body leading-body font-semibold", {
797
+ }), vt = y("font-heading text-body leading-body font-semibold", {
777
798
  variants: { color: {
778
799
  foreground: "text-foreground",
779
800
  muted: "text-muted",
@@ -783,11 +804,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
783
804
  info: "text-info"
784
805
  } },
785
806
  defaultVariants: { color: "foreground" }
786
- }), _t = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h5", {
787
- className: gt({ color: n }),
807
+ }), yt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h5", {
808
+ className: vt({ color: n }),
788
809
  "data-testid": r,
789
810
  children: e
790
- }), vt = y("font-heading text-body leading-body font-medium", {
811
+ }), bt = y("font-heading text-body leading-body font-medium", {
791
812
  variants: { color: {
792
813
  foreground: "text-foreground",
793
814
  muted: "text-muted",
@@ -797,11 +818,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
797
818
  info: "text-info"
798
819
  } },
799
820
  defaultVariants: { color: "foreground" }
800
- }), yt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h6", {
801
- className: vt({ color: n }),
821
+ }), xt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h6", {
822
+ className: bt({ color: n }),
802
823
  "data-testid": r,
803
824
  children: e
804
- }), bt = y("font-secondary text-small", {
825
+ }), St = y("font-secondary text-small", {
805
826
  variants: { color: {
806
827
  foreground: "text-foreground",
807
828
  muted: "text-muted",
@@ -811,11 +832,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
811
832
  info: "text-info"
812
833
  } },
813
834
  defaultVariants: { color: "foreground" }
814
- }), xt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("p", {
815
- className: bt({ color: n }),
835
+ }), Ct = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("p", {
836
+ className: St({ color: n }),
816
837
  "data-testid": r,
817
838
  children: e
818
- }), St = y("font-body text-body leading-body", {
839
+ }), wt = y("font-body text-body leading-body", {
819
840
  variants: { color: {
820
841
  foreground: "text-foreground",
821
842
  muted: "text-muted",
@@ -825,11 +846,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
825
846
  info: "text-info"
826
847
  } },
827
848
  defaultVariants: { color: "foreground" }
828
- }), Ct = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("p", {
829
- className: St({ color: n }),
849
+ }), Tt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("p", {
850
+ className: wt({ color: n }),
830
851
  "data-testid": r,
831
852
  children: e
832
- }), wt = y("flex max-w-[var(--measure)] flex-col gap-[var(--space-stack)]"), Tt = y("font-body text-lede leading-lede text-foreground"), Et = y("font-body text-body leading-body", {
853
+ }), Et = y("flex max-w-[var(--measure)] flex-col gap-[var(--space-stack)]"), Dt = y("font-body text-lede leading-lede text-foreground"), Ot = y("font-body text-body leading-body", {
833
854
  variants: { color: {
834
855
  foreground: "text-foreground",
835
856
  muted: "text-muted",
@@ -839,69 +860,69 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
839
860
  info: "text-info"
840
861
  } },
841
862
  defaultVariants: { color: "foreground" }
842
- }), Dt = y("font-body text-small text-muted"), Ot = {
863
+ }), kt = y("font-body text-small text-muted"), At = {
843
864
  Root: ({ children: e, testId: n }) => /* @__PURE__ */ t("div", {
844
- className: wt(),
865
+ className: Et(),
845
866
  "data-testid": n,
846
867
  children: e
847
868
  }),
848
869
  Lede: ({ children: e }) => /* @__PURE__ */ t("p", {
849
- className: Tt(),
870
+ className: Dt(),
850
871
  children: e
851
872
  }),
852
873
  Body: ({ color: e, children: n }) => /* @__PURE__ */ t("p", {
853
- className: Et({ color: e }),
874
+ className: Ot({ color: e }),
854
875
  children: n
855
876
  }),
856
877
  Tail: ({ children: e }) => /* @__PURE__ */ t("p", {
857
- className: Dt(),
878
+ className: kt(),
858
879
  children: e
859
880
  })
860
- }, J = "font-control text-body text-balance wrap-anywhere rounded-[var(--radius-control)] select-none inline-flex flex-row items-center justify-center gap-2", kt = y("transition-colors duration-[var(--motion-duration-color)] cursor-pointer disabled:cursor-not-allowed outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
881
+ }, q = "font-control text-body text-balance wrap-anywhere rounded-[var(--radius-control)] select-none inline-flex flex-row items-center justify-center gap-2", jt = y("transition-colors duration-[var(--motion-duration-color)] cursor-pointer disabled:cursor-not-allowed outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
861
882
  variants: { variant: {
862
- primary: `${J} px-4 sm:px-6 py-2 min-w-[min(var(--control-min-width),100%)] bg-primary text-primary-foreground hover:bg-primary-hover disabled:bg-disabled disabled:hover:bg-disabled-hover forced-colors:border`,
863
- secondary: `${J} px-4 sm:px-6 py-2 min-w-[min(var(--control-min-width),100%)] bg-secondary text-secondary-foreground hover:bg-secondary-hover disabled:bg-disabled disabled:hover:bg-disabled-hover forced-colors:border`,
864
- ghost: `${J} px-2 py-2 min-w-0 bg-transparent text-foreground hover:underline hover:decoration-[length:var(--underline-thickness)] hover:underline-offset-[var(--underline-offset)] disabled:bg-disabled disabled:hover:bg-disabled-hover`,
865
- outlined: `${J} px-[calc(1rem_-_1px)] sm:px-[calc(1.5rem_-_1px)] py-[calc(0.5rem_-_1px)] min-w-[min(var(--control-min-width),100%)] border border-solid border-secondary bg-transparent text-secondary hover:bg-backing disabled:border-disabled disabled:text-muted disabled:hover:bg-transparent`,
866
- destructive: `${J} px-4 sm:px-6 py-2 min-w-[min(var(--control-min-width),100%)] bg-error text-error-foreground hover:bg-error-hover disabled:bg-disabled disabled:hover:bg-disabled-hover forced-colors:border`,
883
+ primary: `${q} px-4 sm:px-6 py-2 min-w-[min(var(--control-min-width),100%)] bg-primary text-primary-foreground hover:bg-primary-hover disabled:bg-disabled disabled:hover:bg-disabled-hover forced-colors:border`,
884
+ secondary: `${q} px-4 sm:px-6 py-2 min-w-[min(var(--control-min-width),100%)] bg-secondary text-secondary-foreground hover:bg-secondary-hover disabled:bg-disabled disabled:hover:bg-disabled-hover forced-colors:border`,
885
+ ghost: `${q} px-2 py-2 min-w-0 bg-transparent text-foreground hover:underline hover:decoration-[length:var(--underline-thickness)] hover:underline-offset-[var(--underline-offset)] disabled:bg-disabled disabled:hover:bg-disabled-hover`,
886
+ outlined: `${q} px-[calc(1rem_-_1px)] sm:px-[calc(1.5rem_-_1px)] py-[calc(0.5rem_-_1px)] min-w-[min(var(--control-min-width),100%)] border border-solid border-secondary bg-transparent text-secondary hover:bg-backing disabled:border-disabled disabled:text-muted disabled:hover:bg-transparent`,
887
+ destructive: `${q} px-4 sm:px-6 py-2 min-w-[min(var(--control-min-width),100%)] bg-error text-error-foreground hover:bg-error-hover disabled:bg-disabled disabled:hover:bg-disabled-hover forced-colors:border`,
867
888
  plain: "inline p-0 min-w-0 max-w-full whitespace-normal wrap-anywhere bg-transparent [font:inherit] [letter-spacing:inherit] [color:inherit] [text-align:inherit] disabled:text-disabled"
868
889
  } },
869
890
  defaultVariants: { variant: "primary" }
870
- }), At = ({ children: e, disabled: n, testId: r, variant: i, onClick$: a, ariaLabel: o, type: s = "button" }) => /* @__PURE__ */ t("button", {
891
+ }), Mt = ({ children: e, disabled: n, testId: r, variant: i, onClick$: a, ariaLabel: o, type: s = "button" }) => /* @__PURE__ */ t("button", {
871
892
  type: s,
872
893
  "data-testid": r,
873
- className: kt({ variant: i }),
894
+ className: jt({ variant: i }),
874
895
  onClick: () => a?.next(),
875
896
  disabled: n,
876
897
  "aria-label": o,
877
898
  children: e
878
- }), jt = class extends Error {
899
+ }), Nt = class extends Error {
879
900
  constructor(e) {
880
901
  super(`Choices.${e} must be composed inside Choices.Root`), this.name = "ChoicesCompositionError";
881
902
  }
882
- }, Mt = y("flex flex-col gap-[var(--space-stack)]"), Nt = y([
903
+ }, Pt = y("flex flex-col gap-[var(--space-stack)]"), Ft = y([
883
904
  "group/choice flex w-full flex-row items-start gap-3 text-left",
884
905
  "rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent aria-checked:border-foreground",
885
906
  "px-3 py-2",
886
907
  "cursor-pointer disabled:cursor-not-allowed",
887
908
  "transition-colors duration-[var(--motion-duration-color)]",
888
909
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
889
- ].join(" ")), Pt = a(void 0), Ft = (e) => {
890
- let t = c(Pt);
891
- if (t === void 0) throw new jt(e);
910
+ ].join(" ")), It = a(void 0), Lt = (e) => {
911
+ let t = c(It);
912
+ if (t === void 0) throw new Nt(e);
892
913
  return t;
893
- }, It = (e, t) => {
914
+ }, Rt = (e, t) => {
894
915
  let n = e.closest("[role=\"radiogroup\"]");
895
916
  if (n === null) return;
896
917
  let r = Array.from(n.querySelectorAll(":scope > [role=\"radio\"]"));
897
918
  return r[(r.indexOf(e) + t + r.length) % r.length];
898
- }, Lt = {
919
+ }, zt = {
899
920
  ArrowDown: 1,
900
921
  ArrowRight: 1,
901
922
  ArrowUp: -1,
902
923
  ArrowLeft: -1
903
- }, Rt = {
904
- Root: ({ selected: e, onSelect$: n, label: r, inert: i, children: a, testId: o }) => /* @__PURE__ */ t(Pt.Provider, {
924
+ }, Bt = {
925
+ Root: ({ selected: e, onSelect$: n, label: r, inert: i, children: a, testId: o }) => /* @__PURE__ */ t(It.Provider, {
905
926
  value: {
906
927
  selected: e,
907
928
  onSelect$: n,
@@ -911,13 +932,13 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
911
932
  role: "radiogroup",
912
933
  "aria-label": r,
913
934
  "aria-disabled": i === !0 ? "true" : void 0,
914
- className: Mt(),
935
+ className: Pt(),
915
936
  "data-testid": o,
916
937
  children: a
917
938
  })
918
939
  }),
919
940
  Choice: ({ value: e, children: r, description: i, testId: a }) => {
920
- let { selected: o, onSelect$: s, inert: c } = Ft("Choice"), l = o === e, d = u(), f = `${d}-name`, p = `${d}-description`;
941
+ let { selected: o, onSelect$: s, inert: c } = Lt("Choice"), l = o === e, d = u(), f = `${d}-name`, p = `${d}-description`;
921
942
  return /* @__PURE__ */ n("button", {
922
943
  type: "button",
923
944
  role: "radio",
@@ -928,15 +949,15 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
928
949
  disabled: c,
929
950
  "data-value": e,
930
951
  "data-testid": a,
931
- className: Nt(),
952
+ className: Ft(),
932
953
  onClick: () => {
933
954
  l || s.next(e);
934
955
  },
935
956
  onKeyDown: (e) => {
936
- let t = Lt[e.key];
957
+ let t = zt[e.key];
937
958
  if (t === void 0 || c) return;
938
959
  e.preventDefault();
939
- let n = It(e.currentTarget, t);
960
+ let n = Rt(e.currentTarget, t);
940
961
  if (n === void 0) return;
941
962
  n.focus();
942
963
  let r = n.dataset.value;
@@ -962,14 +983,14 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
962
983
  })]
963
984
  });
964
985
  }
965
- }, zt = y("block w-full rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent px-3 py-2 font-control text-body text-foreground transition-colors duration-[var(--motion-duration-color)] outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)] [&:user-invalid]:border-error aria-[invalid=true]:border-error disabled:cursor-not-allowed disabled:border-disabled disabled:text-muted", {
986
+ }, Vt = y("block w-full rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent px-3 py-2 font-control text-body text-foreground transition-colors duration-[var(--motion-duration-color)] outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)] [&:user-invalid]:border-error aria-[invalid=true]:border-error disabled:cursor-not-allowed disabled:border-disabled disabled:text-muted", {
966
987
  variants: { variant: {
967
988
  text: "",
968
989
  email: "",
969
990
  url: ""
970
991
  } },
971
992
  defaultVariants: { variant: "text" }
972
- }), Bt = ({ label: e, name: r, variant: i, required: a, optionalLabel: o, invalid: s, disabled: c, defaultValue: d, placeholder: f, autocomplete: m, hint: h, errorMessage: g, onInput$: _, reset$: v, testId: y }) => {
993
+ }), Ht = ({ label: e, name: r, variant: i, required: a, optionalLabel: o, invalid: s, disabled: c, defaultValue: d, placeholder: f, autocomplete: m, hint: h, errorMessage: g, onInput$: _, reset$: v, testId: y }) => {
973
994
  let b = u(), x = `${b}-control`, S = `${b}-hint`, C = `${b}-error`, w = [h ? S : void 0, s ? C : void 0].filter(Boolean).join(" ") || void 0, T = p(null);
974
995
  return l(() => {
975
996
  let e = v?.subscribe(() => {
@@ -989,7 +1010,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
989
1010
  id: x,
990
1011
  name: r,
991
1012
  type: i ?? "text",
992
- className: zt({ variant: i }),
1013
+ className: Vt({ variant: i }),
993
1014
  required: a,
994
1015
  disabled: c,
995
1016
  defaultValue: d,
@@ -1016,7 +1037,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1016
1037
  })
1017
1038
  ]
1018
1039
  });
1019
- }, Vt = y("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
1040
+ }, Ut = y("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
1020
1041
  variants: { treatment: {
1021
1042
  prose: "text-link underline decoration-[length:var(--underline-thickness)] underline-offset-[var(--underline-offset)] hover:decoration-[length:var(--underline-thickness-hover)]",
1022
1043
  quiet: "font-secondary text-muted no-underline decoration-[length:var(--underline-thickness)] underline-offset-[var(--underline-offset)] transition-colors duration-[var(--motion-duration-color)] hover:text-foreground hover:underline",
@@ -1024,15 +1045,15 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1024
1045
  graphic: "text-inherit no-underline"
1025
1046
  } },
1026
1047
  defaultVariants: { treatment: "prose" }
1027
- }), Ht = ({ href: e, children: n, treatment: r, external: i, current: a, testId: o }) => /* @__PURE__ */ t("a", {
1048
+ }), Wt = ({ href: e, children: n, treatment: r, external: i, current: a, testId: o }) => /* @__PURE__ */ t("a", {
1028
1049
  href: e,
1029
- className: Vt({ treatment: r }),
1050
+ className: Ut({ treatment: r }),
1030
1051
  target: i ? "_blank" : void 0,
1031
1052
  rel: i ? "noopener noreferrer" : void 0,
1032
1053
  "aria-current": a ? "page" : void 0,
1033
1054
  "data-testid": o,
1034
1055
  children: n
1035
- }), Ut = (e, t, n, r) => {
1056
+ }), Gt = (e, t, n, r) => {
1036
1057
  let i = Math.max(e.length - 1, 0) * r;
1037
1058
  if (e.reduce((e, t) => e + t, 0) + i <= n) return e.length;
1038
1059
  let a = 0, o = t;
@@ -1041,11 +1062,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1041
1062
  o += t + r, a += 1;
1042
1063
  }
1043
1064
  return a;
1044
- }, Wt = class extends Error {
1065
+ }, Kt = class extends Error {
1045
1066
  constructor(e) {
1046
1067
  super(`MultiSelect.${e} must be composed inside MultiSelect.Root`), this.name = "MultiSelectCompositionError";
1047
1068
  }
1048
- }, Gt = "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", Kt = `relative inline-flex shrink-0 cursor-pointer items-center rounded-[var(--radius-control)] bg-backing px-2 py-0.5 font-secondary text-small text-foreground disabled:cursor-not-allowed disabled:text-muted pointer-events-auto ${Gt}`, Y = y("", {
1069
+ }, J = "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", qt = `relative inline-flex shrink-0 cursor-pointer items-center rounded-[var(--radius-control)] bg-backing px-2 py-0.5 font-secondary text-small text-foreground disabled:cursor-not-allowed disabled:text-muted pointer-events-auto ${J}`, Y = y("", {
1049
1070
  variants: { part: {
1050
1071
  root: [
1051
1072
  "relative flex flex-col gap-[var(--space-stack)]",
@@ -1058,7 +1079,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1058
1079
  "font-control text-body text-foreground transition-colors duration-[var(--motion-duration-color)]",
1059
1080
  "data-[disabled]:border-disabled data-[disabled]:text-muted"
1060
1081
  ].join(" "),
1061
- trigger: `absolute inset-0 flex cursor-pointer items-center justify-end rounded-[var(--radius-control)] bg-transparent px-3 text-muted disabled:cursor-not-allowed ${Gt}`,
1082
+ trigger: `absolute inset-0 flex cursor-pointer items-center justify-end rounded-[var(--radius-control)] bg-transparent px-3 text-muted disabled:cursor-not-allowed ${J}`,
1062
1083
  clip: "relative min-w-0 flex-1 overflow-hidden p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] -m-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] pointer-events-none",
1063
1084
  track: "relative flex min-h-[calc(var(--text-body)*var(--leading-body))] items-center gap-1",
1064
1085
  chip: [
@@ -1066,9 +1087,9 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1066
1087
  "rounded-[var(--radius-control)] bg-backing py-0.5 pr-0.5 pl-2 font-secondary text-small text-foreground",
1067
1088
  "group-data-[disabled]/field:text-muted data-[overflow]:invisible data-[overflow]:absolute"
1068
1089
  ].join(" "),
1069
- count: Kt,
1070
- countMeasure: `${Kt} invisible absolute`,
1071
- iconButton: `relative inline-flex size-6 shrink-0 cursor-pointer items-center justify-center rounded-[var(--radius-control)] text-muted transition-colors duration-[var(--motion-duration-color)] hover:text-foreground disabled:cursor-not-allowed disabled:hover:text-muted ${Gt}`,
1090
+ count: qt,
1091
+ countMeasure: `${qt} invisible absolute`,
1092
+ iconButton: `relative inline-flex size-6 shrink-0 cursor-pointer items-center justify-center rounded-[var(--radius-control)] text-muted transition-colors duration-[var(--motion-duration-color)] hover:text-foreground disabled:cursor-not-allowed disabled:hover:text-muted ${J}`,
1072
1093
  surface: [
1073
1094
  "absolute left-0 right-0 z-10 flex flex-col gap-1 overflow-y-auto p-1",
1074
1095
  "rounded-[var(--radius-control)] border border-solid border-border bg-surface shadow-[var(--elevation-floating)]",
@@ -1077,22 +1098,22 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1077
1098
  ].join(" ")
1078
1099
  } },
1079
1100
  defaultVariants: { part: "root" }
1080
- }), qt = y([
1101
+ }), Jt = y([
1081
1102
  "group/option flex w-full flex-row items-center gap-3 text-left",
1082
1103
  "rounded-[var(--radius-control)] bg-transparent px-3 py-2 hover:bg-backing",
1083
1104
  "cursor-pointer disabled:cursor-not-allowed",
1084
1105
  "transition-colors duration-[var(--motion-duration-color)]",
1085
1106
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
1086
- ].join(" ")), Jt = 8, Yt = a(void 0), Xt = (e) => {
1087
- let t = c(Yt);
1088
- if (t === void 0) throw new Wt(e);
1107
+ ].join(" ")), Yt = 8, Xt = a(void 0), Zt = (e) => {
1108
+ let t = c(Xt);
1109
+ if (t === void 0) throw new Kt(e);
1089
1110
  return t;
1090
1111
  }, X = (e) => (t) => {
1091
1112
  e.current = t ?? void 0;
1092
- }, Zt = (e) => e.getBoundingClientRect().width, Qt = (e) => r.toArray(e).flatMap((e) => {
1113
+ }, Qt = (e) => e.getBoundingClientRect().width, $t = (e) => r.toArray(e).flatMap((e) => {
1093
1114
  if (!o(e)) return [];
1094
- if (e.type === i) return Qt(e.props.children);
1095
- if (e.type === cn) {
1115
+ if (e.type === i) return $t(e.props.children);
1116
+ if (e.type === ln) {
1096
1117
  let { value: t, children: n } = e.props;
1097
1118
  return [{
1098
1119
  value: t,
@@ -1100,19 +1121,19 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1100
1121
  }];
1101
1122
  }
1102
1123
  return [];
1103
- }), $t = (e) => Array.from(e.querySelectorAll("[data-multiselect-chip]:not([data-overflow]) button")), en = (e) => {
1124
+ }), en = (e) => Array.from(e.querySelectorAll("[data-multiselect-chip]:not([data-overflow]) button")), tn = (e) => {
1104
1125
  let t = document.activeElement;
1105
1126
  return !e.contains(t) || t instanceof Element && t.closest("[data-overflow]") !== null;
1106
- }, tn = (e) => e.querySelector("[role=\"checkbox\"][aria-checked=\"true\"]") ?? e.querySelector("[role=\"checkbox\"]") ?? void 0, nn = (e, t) => [...new Set(e.map(({ value: e }) => e).filter((e) => t.has(e)))], rn = (e) => e.kind === "firstOption" || !e.control.isConnected, an = (e, t, n, r) => {
1127
+ }, nn = (e) => e.querySelector("[role=\"checkbox\"][aria-checked=\"true\"]") ?? e.querySelector("[role=\"checkbox\"]") ?? void 0, rn = (e, t) => [...new Set(e.map(({ value: e }) => e).filter((e) => t.has(e)))], an = (e) => e.kind === "firstOption" || !e.control.isConnected, on = (e, t, n, r) => {
1107
1128
  switch (e.kind) {
1108
- case "firstOption": return r === void 0 ? void 0 : tn(r);
1129
+ case "firstOption": return r === void 0 ? void 0 : nn(r);
1109
1130
  case "afterRemoval": {
1110
- let r = $t(t);
1131
+ let r = en(t);
1111
1132
  return r[e.index] ?? r[e.index - 1] ?? n;
1112
1133
  }
1113
1134
  case "afterClear": return n;
1114
1135
  }
1115
- }, on = () => /* @__PURE__ */ t("svg", {
1136
+ }, sn = () => /* @__PURE__ */ t("svg", {
1116
1137
  "aria-hidden": !0,
1117
1138
  focusable: !1,
1118
1139
  viewBox: "0 0 16 16",
@@ -1124,8 +1145,8 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1124
1145
  strokeWidth: 1.5,
1125
1146
  strokeLinecap: "round"
1126
1147
  })
1127
- }), sn = ({ label: e, selected$: r, onChange$: i, emptyLabel: a, removeLabel: o, clearLabel: s, overflowLabel: c, hint: h, disabled: g, testId: _, children: v }) => {
1128
- let y = u(), b = `${y}-label`, x = `${y}-trigger`, S = `${y}-options`, C = `${y}-hint`, w = `${y}-empty`, T = g === !0, [E, D] = m([]), [ee, O] = m(!1), [k, te] = m(void 0), [ne, A] = m("below"), [, re] = f((e) => e + 1, 0), j = p(void 0), ie = p(void 0), M = p(void 0), N = p(void 0), P = p(void 0), F = p(void 0), I = p(!1), L = ee && !T, ae = Qt(v), R = new Set(E), z = ae.filter((e) => R.has(e.value)), B = k === void 0 ? z.length : Math.min(k, z.length), V = z.length - B;
1148
+ }), cn = ({ label: e, selected$: r, onChange$: i, emptyLabel: a, removeLabel: o, clearLabel: s, overflowLabel: c, hint: h, disabled: g, testId: _, children: v }) => {
1149
+ let y = u(), b = `${y}-label`, x = `${y}-trigger`, S = `${y}-options`, C = `${y}-hint`, w = `${y}-empty`, T = g === !0, [E, D] = m([]), [ee, O] = m(!1), [k, te] = m(void 0), [A, j] = m("below"), [, ne] = f((e) => e + 1, 0), M = p(void 0), N = p(void 0), P = p(void 0), F = p(void 0), I = p(void 0), L = p(void 0), R = p(!1), z = ee && !T, re = $t(v), B = new Set(E), V = re.filter((e) => B.has(e.value)), H = k === void 0 ? V.length : Math.min(k, V.length), U = V.length - H;
1129
1150
  d(() => {
1130
1151
  D([]);
1131
1152
  let e = r.subscribe((e) => D(e));
@@ -1133,80 +1154,80 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1133
1154
  }, [r]), l(() => {
1134
1155
  T && O(!1);
1135
1156
  }, [T]), d(() => {
1136
- let e = N.current;
1157
+ let e = F.current;
1137
1158
  if (e === void 0 || typeof ResizeObserver > "u") return;
1138
- let t = new ResizeObserver(() => re());
1159
+ let t = new ResizeObserver(() => ne());
1139
1160
  return t.observe(e), () => t.disconnect();
1140
1161
  }, []), d(() => {
1141
- let e = N.current;
1162
+ let e = F.current;
1142
1163
  if (e === void 0) return;
1143
- let t = Array.from(e.querySelectorAll("[data-multiselect-chip]")), n = e.querySelector("[data-multiselect-count]"), r = Number.parseFloat(getComputedStyle(e).columnGap) || 0, i = Ut(t.map(Zt), n === null ? 0 : Zt(n), Zt(e), r);
1164
+ let t = Array.from(e.querySelectorAll("[data-multiselect-chip]")), n = e.querySelector("[data-multiselect-count]"), r = Number.parseFloat(getComputedStyle(e).columnGap) || 0, i = Gt(t.map(Qt), n === null ? 0 : Qt(n), Qt(e), r);
1144
1165
  te((e) => e === i ? e : i);
1145
1166
  }), d(() => {
1146
- let e = ie.current, t = P.current;
1147
- if (!L || e === void 0 || t === void 0) return;
1148
- let n = e.getBoundingClientRect(), r = window.innerHeight - n.bottom - Jt, i = n.top - Jt, a = t.scrollHeight > r && i > r;
1149
- t.style.setProperty("--multiselect-surface-max-height", `${Math.max(a ? i : r, 0)}px`), A(a ? "above" : "below");
1167
+ let e = N.current, t = I.current;
1168
+ if (!z || e === void 0 || t === void 0) return;
1169
+ let n = e.getBoundingClientRect(), r = window.innerHeight - n.bottom - Yt, i = n.top - Yt, a = t.scrollHeight > r && i > r;
1170
+ t.style.setProperty("--multiselect-surface-max-height", `${Math.max(a ? i : r, 0)}px`), j(a ? "above" : "below");
1150
1171
  }), l(() => {
1151
- if (!L) return;
1172
+ if (!z) return;
1152
1173
  let e = (e) => {
1153
- let t = j.current;
1154
- t !== void 0 && e.target instanceof Node && !t.contains(e.target) && (I.current = !1, F.current = void 0, O(!1));
1174
+ let t = M.current;
1175
+ t !== void 0 && e.target instanceof Node && !t.contains(e.target) && (R.current = !1, L.current = void 0, O(!1));
1155
1176
  };
1156
1177
  return document.addEventListener("pointerdown", e), () => document.removeEventListener("pointerdown", e);
1157
- }, [L]), d(() => {
1158
- let e = j.current, t = M.current;
1178
+ }, [z]), d(() => {
1179
+ let e = M.current, t = P.current;
1159
1180
  if (e === void 0 || t === void 0) return;
1160
- let n = F.current;
1161
- n !== void 0 && rn(n) ? (F.current = void 0, an(n, e, t, L ? P.current : void 0)?.focus()) : n === void 0 && I.current && en(e) && t.focus(), I.current = e.contains(document.activeElement);
1181
+ let n = L.current;
1182
+ n !== void 0 && an(n) ? (L.current = void 0, on(n, e, t, z ? I.current : void 0)?.focus()) : n === void 0 && R.current && tn(e) && t.focus(), R.current = e.contains(document.activeElement);
1162
1183
  });
1163
- let H = (e) => {
1164
- i.next(nn(ae, e));
1165
- }, oe = (e) => {
1184
+ let W = (e) => {
1185
+ i.next(rn(re, e));
1186
+ }, ie = (e) => {
1166
1187
  if (T) return;
1167
- let t = new Set(R);
1168
- t.delete(e) || t.add(e), H(t);
1169
- }, se = (e, t) => (n) => {
1188
+ let t = new Set(B);
1189
+ t.delete(e) || t.add(e), W(t);
1190
+ }, ae = (e, t) => (n) => {
1170
1191
  if (T) return;
1171
- document.activeElement === n.currentTarget && (F.current = {
1192
+ document.activeElement === n.currentTarget && (L.current = {
1172
1193
  kind: "afterRemoval",
1173
1194
  index: t,
1174
1195
  control: n.currentTarget
1175
1196
  });
1176
- let r = new Set(R);
1177
- r.delete(e), H(r);
1178
- }, ce = (e) => {
1179
- T || (document.activeElement === e.currentTarget && (F.current = {
1197
+ let r = new Set(B);
1198
+ r.delete(e), W(r);
1199
+ }, oe = (e) => {
1200
+ T || (document.activeElement === e.currentTarget && (L.current = {
1180
1201
  kind: "afterClear",
1181
1202
  control: e.currentTarget
1182
1203
  }), i.next([]));
1183
- }, U = (e) => {
1184
- T || (e.detail === 0 && (F.current = { kind: "firstOption" }), O(!0));
1204
+ }, se = (e) => {
1205
+ T || (e.detail === 0 && (L.current = { kind: "firstOption" }), O(!0));
1206
+ }, ce = (e) => {
1207
+ z ? O(!1) : se(e);
1185
1208
  }, le = (e) => {
1186
- L ? O(!1) : U(e);
1187
- }, ue = (e) => {
1188
1209
  if (e.key !== "ArrowDown" || T) return;
1189
1210
  e.preventDefault();
1190
- let t = P.current;
1191
- L && t !== void 0 ? tn(t)?.focus() : (F.current = { kind: "firstOption" }, O(!0));
1192
- }, W = (e) => {
1193
- e.key !== "Escape" || !L || (e.preventDefault(), e.stopPropagation(), O(!1), M.current?.focus());
1211
+ let t = I.current;
1212
+ z && t !== void 0 ? nn(t)?.focus() : (L.current = { kind: "firstOption" }, O(!0));
1213
+ }, G = (e) => {
1214
+ e.key !== "Escape" || !z || (e.preventDefault(), e.stopPropagation(), O(!1), P.current?.focus());
1215
+ }, ue = (e) => {
1216
+ R.current = !0;
1217
+ let t = L.current;
1218
+ t !== void 0 && t.kind !== "firstOption" && e.target !== t.control && (L.current = void 0);
1194
1219
  }, de = (e) => {
1195
- I.current = !0;
1196
- let t = F.current;
1197
- t !== void 0 && t.kind !== "firstOption" && e.target !== t.control && (F.current = void 0);
1220
+ let t = M.current, n = e.relatedTarget;
1221
+ t !== void 0 && n instanceof Node && t.contains(n) || e.target.isConnected && (R.current = !1, L.current = void 0, O(!1));
1198
1222
  }, fe = (e) => {
1199
- let t = j.current, n = e.relatedTarget;
1200
- t !== void 0 && n instanceof Node && t.contains(n) || e.target.isConnected && (I.current = !1, F.current = void 0, O(!1));
1201
- }, pe = (e) => {
1202
1223
  (!(e.target instanceof Element) || e.target.closest("button") === null) && e.preventDefault();
1203
- }, G = [z.length === 0 ? w : void 0, h ? C : void 0].filter(Boolean).join(" ") || void 0;
1224
+ }, pe = [V.length === 0 ? w : void 0, h ? C : void 0].filter(Boolean).join(" ") || void 0;
1204
1225
  return /* @__PURE__ */ n("div", {
1205
- ref: X(j),
1226
+ ref: X(M),
1206
1227
  className: Y(),
1207
- onKeyDown: W,
1208
- onFocus: de,
1209
- onBlur: fe,
1228
+ onKeyDown: G,
1229
+ onFocus: ue,
1230
+ onBlur: de,
1210
1231
  children: [
1211
1232
  /* @__PURE__ */ t("label", {
1212
1233
  id: b,
@@ -1214,24 +1235,24 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1214
1235
  children: e
1215
1236
  }),
1216
1237
  /* @__PURE__ */ n("div", {
1217
- ref: X(ie),
1238
+ ref: X(N),
1218
1239
  "data-multiselect-field": !0,
1219
1240
  "data-disabled": T || void 0,
1220
1241
  className: Y({ part: "field" }),
1221
1242
  children: [
1222
1243
  /* @__PURE__ */ t("button", {
1223
- ref: X(M),
1244
+ ref: X(P),
1224
1245
  id: x,
1225
1246
  type: "button",
1226
1247
  "aria-labelledby": b,
1227
- "aria-expanded": L,
1228
- "aria-controls": L ? S : void 0,
1229
- "aria-describedby": G,
1248
+ "aria-expanded": z,
1249
+ "aria-controls": z ? S : void 0,
1250
+ "aria-describedby": pe,
1230
1251
  disabled: T,
1231
1252
  "data-testid": _,
1232
1253
  className: Y({ part: "trigger" }),
1233
- onClick: le,
1234
- onKeyDown: ue,
1254
+ onClick: ce,
1255
+ onKeyDown: le,
1235
1256
  children: /* @__PURE__ */ t("svg", {
1236
1257
  "aria-hidden": !0,
1237
1258
  focusable: !1,
@@ -1250,17 +1271,17 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1250
1271
  /* @__PURE__ */ t("div", {
1251
1272
  className: Y({ part: "clip" }),
1252
1273
  children: /* @__PURE__ */ n("div", {
1253
- ref: X(N),
1274
+ ref: X(F),
1254
1275
  "data-multiselect-track": !0,
1255
1276
  className: Y({ part: "track" }),
1256
1277
  children: [
1257
- z.length === 0 && /* @__PURE__ */ t("span", {
1278
+ V.length === 0 && /* @__PURE__ */ t("span", {
1258
1279
  id: w,
1259
1280
  className: "truncate text-muted",
1260
1281
  children: a
1261
1282
  }),
1262
- z.map(({ value: e, label: r }, i) => {
1263
- let a = i >= B;
1283
+ V.map(({ value: e, label: r }, i) => {
1284
+ let a = i >= H;
1264
1285
  return /* @__PURE__ */ n("span", {
1265
1286
  "data-multiselect-chip": !0,
1266
1287
  "data-overflow": a || void 0,
@@ -1276,34 +1297,34 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1276
1297
  disabled: T,
1277
1298
  tabIndex: a ? -1 : void 0,
1278
1299
  className: Y({ part: "iconButton" }),
1279
- onClick: se(e, i),
1280
- children: /* @__PURE__ */ t(on, {})
1300
+ onClick: ae(e, i),
1301
+ children: /* @__PURE__ */ t(sn, {})
1281
1302
  })]
1282
1303
  }, e);
1283
1304
  }),
1284
- V > 0 && /* @__PURE__ */ t("button", {
1305
+ U > 0 && /* @__PURE__ */ t("button", {
1285
1306
  type: "button",
1286
1307
  disabled: T,
1287
1308
  className: Y({ part: "count" }),
1288
- onClick: U,
1289
- children: c.replaceAll("{count}", String(V))
1309
+ onClick: se,
1310
+ children: c.replaceAll("{count}", String(U))
1290
1311
  }),
1291
- z.length > 0 && /* @__PURE__ */ t("span", {
1312
+ V.length > 0 && /* @__PURE__ */ t("span", {
1292
1313
  "aria-hidden": !0,
1293
1314
  "data-multiselect-count": !0,
1294
1315
  className: Y({ part: "countMeasure" }),
1295
- children: c.replaceAll("{count}", String(z.length))
1316
+ children: c.replaceAll("{count}", String(V.length))
1296
1317
  })
1297
1318
  ]
1298
1319
  })
1299
1320
  }),
1300
- z.length > 0 ? /* @__PURE__ */ t("button", {
1321
+ V.length > 0 ? /* @__PURE__ */ t("button", {
1301
1322
  type: "button",
1302
1323
  "aria-label": s,
1303
1324
  disabled: T,
1304
1325
  className: Y({ part: "iconButton" }),
1305
- onClick: ce,
1306
- children: /* @__PURE__ */ t(on, {})
1326
+ onClick: oe,
1327
+ children: /* @__PURE__ */ t(sn, {})
1307
1328
  }) : /* @__PURE__ */ t("span", {
1308
1329
  "aria-hidden": !0,
1309
1330
  className: "size-6 shrink-0"
@@ -1312,19 +1333,19 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1312
1333
  "aria-hidden": !0,
1313
1334
  className: "size-6 shrink-0"
1314
1335
  }),
1315
- L && /* @__PURE__ */ t("div", {
1316
- ref: X(P),
1336
+ z && /* @__PURE__ */ t("div", {
1337
+ ref: X(I),
1317
1338
  id: S,
1318
1339
  role: "group",
1319
1340
  "aria-labelledby": b,
1320
- "data-placement": ne,
1341
+ "data-placement": A,
1321
1342
  className: Y({ part: "surface" }),
1322
- onMouseDown: pe,
1323
- children: /* @__PURE__ */ t(Yt, {
1343
+ onMouseDown: fe,
1344
+ children: /* @__PURE__ */ t(Xt, {
1324
1345
  value: {
1325
- selected: R,
1346
+ selected: B,
1326
1347
  disabled: T,
1327
- toggle: oe
1348
+ toggle: ie
1328
1349
  },
1329
1350
  children: v
1330
1351
  })
@@ -1337,15 +1358,15 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1337
1358
  })
1338
1359
  ]
1339
1360
  });
1340
- }, cn = ({ value: e, children: r, testId: i }) => {
1341
- let { selected: a, disabled: o, toggle: s } = Xt("Option"), c = a.has(e);
1361
+ }, ln = ({ value: e, children: r, testId: i }) => {
1362
+ let { selected: a, disabled: o, toggle: s } = Zt("Option"), c = a.has(e);
1342
1363
  return /* @__PURE__ */ n("button", {
1343
1364
  type: "button",
1344
1365
  role: "checkbox",
1345
1366
  "aria-checked": c,
1346
1367
  disabled: o,
1347
1368
  "data-testid": i,
1348
- className: qt(),
1369
+ className: Jt(),
1349
1370
  onClick: () => s(e),
1350
1371
  children: [/* @__PURE__ */ t("span", {
1351
1372
  className: "flex size-[var(--choice-marker-size)] shrink-0 items-center justify-center border border-solid border-control-border group-aria-checked/option:border-foreground",
@@ -1368,10 +1389,10 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1368
1389
  children: r
1369
1390
  })]
1370
1391
  });
1371
- }, ln = {
1372
- Root: sn,
1373
- Option: cn
1374
- }, un = y("block w-full rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent px-3 py-2 font-control text-body text-foreground transition-colors duration-[var(--motion-duration-color)] outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)] [&:user-invalid]:border-error aria-[invalid=true]:border-error disabled:cursor-not-allowed disabled:border-disabled disabled:text-muted"), dn = ({ label: e, name: r, required: i, optionalLabel: a, hint: o, invalid: s, errorMessage: c, disabled: d, placeholder: f, defaultValue: m, onInput$: h, reset$: g, testId: _ }) => {
1392
+ }, un = {
1393
+ Root: cn,
1394
+ Option: ln
1395
+ }, dn = y("block w-full rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent px-3 py-2 font-control text-body text-foreground transition-colors duration-[var(--motion-duration-color)] outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)] [&:user-invalid]:border-error aria-[invalid=true]:border-error disabled:cursor-not-allowed disabled:border-disabled disabled:text-muted"), fn = ({ label: e, name: r, required: i, optionalLabel: a, hint: o, invalid: s, errorMessage: c, disabled: d, placeholder: f, defaultValue: m, onInput$: h, reset$: g, testId: _ }) => {
1375
1396
  let v = u(), y = `${v}-control`, b = `${v}-hint`, x = `${v}-error`, S = [o ? b : void 0, s ? x : void 0].filter(Boolean).join(" ") || void 0, C = p(null);
1376
1397
  return l(() => {
1377
1398
  let e = g?.subscribe(() => {
@@ -1392,7 +1413,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1392
1413
  name: r,
1393
1414
  type: "text",
1394
1415
  inputMode: "decimal",
1395
- className: un(),
1416
+ className: dn(),
1396
1417
  required: i,
1397
1418
  disabled: d,
1398
1419
  defaultValue: m,
@@ -1418,7 +1439,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1418
1439
  })
1419
1440
  ]
1420
1441
  });
1421
- }, fn = y([
1442
+ }, pn = y([
1422
1443
  "flex flex-col gap-[var(--space-stack)]",
1423
1444
  "[&>label]:font-secondary [&>label]:font-medium [&>label]:text-body [&>label]:text-foreground",
1424
1445
  "[&>span]:font-secondary [&>span]:text-muted [&>span]:text-small",
@@ -1427,11 +1448,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1427
1448
  "[&>select]:font-control [&>select]:text-body [&>select]:text-foreground [&>select]:transition-colors [&>select]:duration-[var(--motion-duration-color)]",
1428
1449
  "[&>select]:outline-focus-ring [&>select]:outline-offset-[var(--focus-ring-offset)] [&>select]:focus-visible:outline [&>select]:focus-visible:outline-[length:var(--focus-ring-width)]",
1429
1450
  "[&>select:user-invalid]:border-error [&>select]:aria-[invalid=true]:border-error [&>select]:disabled:cursor-not-allowed [&>select]:disabled:border-disabled [&>select]:disabled:text-muted"
1430
- ].join(" ")), pn = {
1451
+ ].join(" ")), mn = {
1431
1452
  Root: ({ label: e, name: r, required: i, optionalLabel: a, disabled: o, invalid: s, hint: c, errorMessage: l, testId: d, defaultValue: f, onChange$: p, placeholder: m, children: h }) => {
1432
1453
  let g = u(), _ = `${g}-control`, v = `${g}-hint`, y = `${g}-error`, b = [c ? v : void 0, s && l ? y : void 0].filter(Boolean).join(" ") || void 0;
1433
1454
  return /* @__PURE__ */ n("div", {
1434
- className: fn(),
1455
+ className: pn(),
1435
1456
  children: [
1436
1457
  /* @__PURE__ */ t("label", {
1437
1458
  htmlFor: _,
@@ -1474,7 +1495,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1474
1495
  constructor(e) {
1475
1496
  super(`Slider configuration: ${e}`), this.name = "SliderConfigurationError";
1476
1497
  }
1477
- }, mn = y([
1498
+ }, hn = y([
1478
1499
  "block h-[var(--slider-thumb-size)] w-full cursor-pointer appearance-none bg-transparent",
1479
1500
  "disabled:cursor-not-allowed",
1480
1501
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]",
@@ -1485,14 +1506,14 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1485
1506
  "[&::-moz-range-track]:h-[var(--slider-track-thickness)] [&::-moz-range-track]:rounded-[var(--radius-control)] [&::-moz-range-track]:bg-control-border",
1486
1507
  "[&::-moz-range-thumb]:size-[var(--slider-thumb-size)] [&::-moz-range-thumb]:rounded-[var(--radius-control)] [&::-moz-range-thumb]:border-none [&::-moz-range-thumb]:bg-foreground",
1487
1508
  "[&:disabled::-moz-range-track]:bg-disabled [&:disabled::-moz-range-thumb]:bg-disabled"
1488
- ].join(" ")), hn = (e) => {
1509
+ ].join(" ")), gn = (e) => {
1489
1510
  for (let [t, n] of Object.entries(e)) if (!Number.isFinite(n)) throw new Z(`\`${t}\` must be a finite number, got ${n}`);
1490
1511
  if (e.min >= e.max) throw new Z(`\`min\` (${e.min}) must be below \`max\` (${e.max})`);
1491
1512
  if (e.step <= 0) throw new Z(`\`step\` (${e.step}) must be positive`);
1492
1513
  if (e.value < e.min || e.value > e.max) throw new Z(`\`value\` (${e.value}) must lie within [${e.min}, ${e.max}]`);
1493
- }, gn = ({ min: e, max: r, step: i = 1, value: a, onInput$: o, label: s, valueText: c, disabled: l, testId: d }) => {
1514
+ }, _n = ({ min: e, max: r, step: i = 1, value: a, onInput$: o, label: s, valueText: c, disabled: l, testId: d }) => {
1494
1515
  let f = `${u()}-control`;
1495
- return hn({
1516
+ return gn({
1496
1517
  min: e,
1497
1518
  max: r,
1498
1519
  step: i,
@@ -1506,7 +1527,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1506
1527
  }), /* @__PURE__ */ t("input", {
1507
1528
  id: f,
1508
1529
  type: "range",
1509
- className: mn(),
1530
+ className: hn(),
1510
1531
  min: e,
1511
1532
  max: r,
1512
1533
  step: i,
@@ -1517,40 +1538,40 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1517
1538
  onChange: (e) => o.next(e.currentTarget.valueAsNumber)
1518
1539
  })]
1519
1540
  });
1520
- }, _n = class extends Error {
1541
+ }, vn = class extends Error {
1521
1542
  constructor(e) {
1522
1543
  super(`Tabs.${e} must be composed inside Tabs.Root`), this.name = "TabsCompositionError";
1523
1544
  }
1524
- }, vn = y([
1545
+ }, yn = y([
1525
1546
  "flex flex-row overflow-x-auto",
1526
1547
  "p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
1527
1548
  "m-[calc(-1*(var(--focus-ring-width)+var(--focus-ring-offset)))]",
1528
1549
  "scroll-p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]"
1529
- ].join(" ")), yn = y([
1550
+ ].join(" ")), bn = y([
1530
1551
  "font-secondary text-label tracking-label",
1531
1552
  "text-muted hover:text-foreground aria-selected:text-foreground",
1532
1553
  "border-b-[length:var(--tab-marker-thickness)] border-solid border-transparent aria-selected:border-foreground",
1533
1554
  "cursor-pointer select-none px-[var(--tab-inset-inline)] py-[var(--tab-inset-block)]",
1534
1555
  "transition-colors duration-[var(--motion-duration-color)]",
1535
1556
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
1536
- ].join(" ")), bn = y("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"), xn = a(void 0), Sn = (e) => {
1537
- let t = c(xn);
1538
- if (t === void 0) throw new _n(e);
1557
+ ].join(" ")), xn = y("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"), Sn = a(void 0), Cn = (e) => {
1558
+ let t = c(Sn);
1559
+ if (t === void 0) throw new vn(e);
1539
1560
  return t;
1540
- }, Cn = (e) => e.split("").map((e) => e.charCodeAt(0).toString(16).padStart(4, "0")).join(""), wn = (e) => {
1561
+ }, wn = (e) => e.split("").map((e) => e.charCodeAt(0).toString(16).padStart(4, "0")).join(""), Tn = (e) => {
1541
1562
  e.currentTarget.scrollIntoView({
1542
1563
  block: "nearest",
1543
1564
  inline: "nearest"
1544
1565
  });
1545
- }, Tn = (e, t) => `${e}tab-${Cn(t)}`, En = (e, t) => `${e}panel-${Cn(t)}`, Dn = (e, t) => {
1566
+ }, En = (e, t) => `${e}tab-${wn(t)}`, Dn = (e, t) => `${e}panel-${wn(t)}`, On = (e, t) => {
1546
1567
  let n = e.closest("[role=\"tablist\"]");
1547
1568
  if (n === null) return;
1548
1569
  let r = Array.from(n.querySelectorAll(":scope > [role=\"tab\"]"));
1549
1570
  return r[(r.indexOf(e) + t + r.length) % r.length];
1550
- }, On = {
1571
+ }, kn = {
1551
1572
  Root: ({ active: e, onSelect$: n, label: r, children: i, testId: a }) => {
1552
1573
  let o = u();
1553
- return /* @__PURE__ */ t(xn.Provider, {
1574
+ return /* @__PURE__ */ t(Sn.Provider, {
1554
1575
  value: {
1555
1576
  active: e,
1556
1577
  onSelect$: n,
@@ -1564,55 +1585,55 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1564
1585
  });
1565
1586
  },
1566
1587
  List: ({ children: e, testId: n }) => {
1567
- let { label: r } = Sn("List");
1588
+ let { label: r } = Cn("List");
1568
1589
  return /* @__PURE__ */ t("div", {
1569
1590
  role: "tablist",
1570
1591
  "aria-label": r,
1571
- className: vn(),
1592
+ className: yn(),
1572
1593
  "data-testid": n,
1573
1594
  children: e
1574
1595
  });
1575
1596
  },
1576
1597
  Tab: ({ value: e, children: n, testId: r }) => {
1577
- let { active: i, onSelect$: a, baseId: o } = Sn("Tab"), s = i === e;
1598
+ let { active: i, onSelect$: a, baseId: o } = Cn("Tab"), s = i === e;
1578
1599
  return /* @__PURE__ */ t("button", {
1579
1600
  type: "button",
1580
1601
  role: "tab",
1581
- id: Tn(o, e),
1602
+ id: En(o, e),
1582
1603
  "aria-selected": s,
1583
- "aria-controls": En(o, e),
1604
+ "aria-controls": Dn(o, e),
1584
1605
  tabIndex: s ? 0 : -1,
1585
1606
  "data-value": e,
1586
1607
  "data-testid": r,
1587
- className: yn(),
1608
+ className: bn(),
1588
1609
  onClick: () => a.next(e),
1589
1610
  onKeyDown: (e) => {
1590
1611
  if (e.key !== "ArrowLeft" && e.key !== "ArrowRight") return;
1591
1612
  e.preventDefault();
1592
- let t = Dn(e.currentTarget, e.key === "ArrowRight" ? 1 : -1);
1613
+ let t = On(e.currentTarget, e.key === "ArrowRight" ? 1 : -1);
1593
1614
  if (t === void 0) return;
1594
1615
  t.focus();
1595
1616
  let n = t.dataset.value;
1596
1617
  n !== void 0 && a.next(n);
1597
1618
  },
1598
- onFocus: wn,
1619
+ onFocus: Tn,
1599
1620
  children: n
1600
1621
  });
1601
1622
  },
1602
1623
  Panel: ({ value: e, children: n, testId: r }) => {
1603
- let { active: i, baseId: a } = Sn("Panel"), o = i === e;
1624
+ let { active: i, baseId: a } = Cn("Panel"), o = i === e;
1604
1625
  return /* @__PURE__ */ t("div", {
1605
1626
  role: "tabpanel",
1606
- id: En(a, e),
1607
- "aria-labelledby": Tn(a, e),
1627
+ id: Dn(a, e),
1628
+ "aria-labelledby": En(a, e),
1608
1629
  hidden: !o,
1609
1630
  tabIndex: o ? 0 : void 0,
1610
- className: bn(),
1631
+ className: xn(),
1611
1632
  "data-testid": r,
1612
1633
  children: o ? n : void 0
1613
1634
  });
1614
1635
  }
1615
- }, kn = y("block min-h-24 w-full rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent px-3 py-2 font-control text-body text-foreground transition-colors duration-[var(--motion-duration-color)] outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)] [&:user-invalid]:border-error aria-[invalid=true]:border-error disabled:cursor-not-allowed disabled:border-disabled disabled:text-muted"), An = ({ label: e, name: r, required: i, optionalLabel: a, invalid: o, disabled: s, defaultValue: c, placeholder: d, autocomplete: f, hint: m, errorMessage: h, onInput$: g, reset$: _, testId: v }) => {
1636
+ }, An = y("block min-h-24 w-full rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent px-3 py-2 font-control text-body text-foreground transition-colors duration-[var(--motion-duration-color)] outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)] [&:user-invalid]:border-error aria-[invalid=true]:border-error disabled:cursor-not-allowed disabled:border-disabled disabled:text-muted"), jn = ({ label: e, name: r, required: i, optionalLabel: a, invalid: o, disabled: s, defaultValue: c, placeholder: d, autocomplete: f, hint: m, errorMessage: h, onInput$: g, reset$: _, testId: v }) => {
1616
1637
  let y = u(), b = `${y}-control`, x = `${y}-hint`, S = `${y}-error`, C = [m ? x : void 0, o ? S : void 0].filter(Boolean).join(" ") || void 0, w = p(null);
1617
1638
  return l(() => {
1618
1639
  let e = _?.subscribe(() => {
@@ -1631,7 +1652,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1631
1652
  ref: w,
1632
1653
  id: b,
1633
1654
  name: r,
1634
- className: kn(),
1655
+ className: An(),
1635
1656
  required: i,
1636
1657
  disabled: s,
1637
1658
  defaultValue: c,
@@ -1658,29 +1679,29 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1658
1679
  })
1659
1680
  ]
1660
1681
  });
1661
- }, jn = y([
1682
+ }, Mn = y([
1662
1683
  "flex flex-col items-center",
1663
1684
  "min-h-[var(--cover-height)]",
1664
1685
  "px-[var(--gutter)] py-[var(--space-region)]"
1665
- ].join(" ")), Mn = "my-auto max-w-full", Nn = ({ children: e, foot: r, testId: i }) => {
1686
+ ].join(" ")), Nn = "my-auto max-w-full", Pn = ({ children: e, foot: r, testId: i }) => {
1666
1687
  let a = r != null && typeof r != "boolean";
1667
1688
  return /* @__PURE__ */ n("div", {
1668
- className: jn(),
1689
+ className: Mn(),
1669
1690
  "data-testid": i,
1670
1691
  children: [/* @__PURE__ */ t("div", {
1671
- className: Mn,
1692
+ className: Nn,
1672
1693
  children: e
1673
1694
  }), a && /* @__PURE__ */ t("div", { children: r })]
1674
1695
  });
1675
- }, Pn = class extends Error {
1696
+ }, Fn = class extends Error {
1676
1697
  constructor(e) {
1677
1698
  super(`Dialog.${e} must be composed inside Dialog.Root`), this.name = "DialogCompositionError";
1678
1699
  }
1679
- }, Fn = class extends Error {
1700
+ }, In = class extends Error {
1680
1701
  constructor() {
1681
1702
  super("A Dialog takes exactly one accessible naming source: a visible Dialog.Title or ariaLabel on Dialog.Root, never both"), this.name = "DialogNamingError";
1682
1703
  }
1683
- }, In = y([
1704
+ }, Ln = y([
1684
1705
  "open:flex open:flex-col m-auto p-0 overflow-hidden",
1685
1706
  "bg-surface text-foreground",
1686
1707
  "rounded-[var(--radius-dialog)] shadow-[var(--elevation-floating)]",
@@ -1691,25 +1712,25 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1691
1712
  content: ["w-[32rem] max-w-[calc(100vw-2*var(--gutter))]", "max-h-[calc(100dvh-2*var(--space-region))]"].join(" ")
1692
1713
  } },
1693
1714
  defaultVariants: { extent: "screen" }
1694
- }), Ln = y(["px-[var(--space-region)] pt-[var(--space-region)] pb-[var(--space-region)]", "[&:has(+[data-dialog-member=description])]:pb-0"].join(" ")), Rn = y(["px-[var(--space-region)] pt-[var(--space-region)] pb-[var(--space-region)]", "[[data-dialog-member=title]+&]:mt-[var(--space-stack)] [[data-dialog-member=title]+&]:pt-0"].join(" ")), zn = y([
1715
+ }), Rn = y(["px-[var(--space-region)] pt-[var(--space-region)] pb-[var(--space-region)]", "[&:has(+[data-dialog-member=description])]:pb-0"].join(" ")), zn = y(["px-[var(--space-region)] pt-[var(--space-region)] pb-[var(--space-region)]", "[[data-dialog-member=title]+&]:mt-[var(--space-stack)] [[data-dialog-member=title]+&]:pt-0"].join(" ")), Bn = y([
1695
1716
  "grow shrink min-h-0 overflow-y-auto",
1696
1717
  "px-[var(--space-region)] py-[var(--space-region)]",
1697
1718
  "[&:not(:first-child)]:border-t [&:not(:first-child)]:border-border"
1698
- ].join(" ")), Bn = y([
1719
+ ].join(" ")), Vn = y([
1699
1720
  "flex flex-row flex-wrap items-center justify-end gap-[var(--space-stack)] shrink-0",
1700
1721
  "px-[var(--space-region)] pt-[var(--space-region)] pb-[var(--space-region)]",
1701
1722
  "[[data-dialog-member=content]+&]:border-t [[data-dialog-member=content]+&]:border-border"
1702
- ].join(" ")), Vn = a(void 0), Q = (e) => {
1703
- let t = c(Vn);
1704
- if (t === void 0) throw new Pn(e);
1723
+ ].join(" ")), Hn = a(void 0), Q = (e) => {
1724
+ let t = c(Hn);
1725
+ if (t === void 0) throw new Fn(e);
1705
1726
  return t;
1706
- }, Hn = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", Un = (e, { presented: t, opener: n }) => {
1727
+ }, Un = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", Wn = (e, { presented: t, opener: n }) => {
1707
1728
  if (e === void 0 || e.open) return;
1708
1729
  let r = document.activeElement;
1709
- n.current = r instanceof HTMLElement && r !== document.body ? r : void 0, e.showModal(), t.current = !0, e.querySelector(Hn)?.focus();
1730
+ n.current = r instanceof HTMLElement && r !== document.body ? r : void 0, e.showModal(), t.current = !0, e.querySelector(Un)?.focus();
1710
1731
  }, $ = (e, { presented: t }) => {
1711
1732
  t.current = !1, e?.open && e.close();
1712
- }, Wn = {
1733
+ }, Gn = {
1713
1734
  Root: ({ children: e, onDismiss$: n, showDialog$: r, extent: i, ariaLabel: a, testId: o }) => {
1714
1735
  let c = u(), d = p(void 0), f = p(!1), h = p(void 0), [g] = m(() => ({
1715
1736
  presented: f,
@@ -1732,20 +1753,20 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1732
1753
  n.next(), r === void 0 ? $(d.current, g) : r.next(!1);
1733
1754
  };
1734
1755
  return l(() => {
1735
- if (r === void 0) return Un(d.current, g), () => $(d.current, g);
1756
+ if (r === void 0) return Wn(d.current, g), () => $(d.current, g);
1736
1757
  let e = r.subscribe((e) => {
1737
- e ? Un(d.current, g) : $(d.current, g);
1758
+ e ? Wn(d.current, g) : $(d.current, g);
1738
1759
  });
1739
1760
  return () => {
1740
1761
  e.unsubscribe(), $(d.current, g);
1741
1762
  };
1742
- }, [r, g]), /* @__PURE__ */ t(Vn.Provider, {
1763
+ }, [r, g]), /* @__PURE__ */ t(Hn.Provider, {
1743
1764
  value: b,
1744
1765
  children: /* @__PURE__ */ t("dialog", {
1745
1766
  ref: (e) => {
1746
1767
  d.current = e ?? void 0, e?.setAttribute("headingreset", "");
1747
1768
  },
1748
- className: In({ extent: i }),
1769
+ className: Ln({ extent: i }),
1749
1770
  "aria-label": a,
1750
1771
  "aria-labelledby": a === void 0 && _.title ? b.titleId : void 0,
1751
1772
  "aria-describedby": _.description ? b.descriptionId : void 0,
@@ -1761,7 +1782,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1761
1782
  let e = f.current;
1762
1783
  f.current = !1;
1763
1784
  let t = h.current;
1764
- h.current = void 0, t?.isConnected && (t.matches(Hn) || t.hasAttribute("tabindex")) && t.focus(), e && r?.next(!1);
1785
+ h.current = void 0, t?.isConnected && (t.matches(Un) || t.hasAttribute("tabindex")) && t.focus(), e && r?.next(!1);
1765
1786
  },
1766
1787
  "data-testid": o,
1767
1788
  children: e
@@ -1770,10 +1791,10 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1770
1791
  },
1771
1792
  Title: ({ children: e, testId: n }) => {
1772
1793
  let { titleId: r, isLabelled: i, registerNamePart: a } = Q("Title");
1773
- if (l(() => a("title"), [a]), i) throw new Fn();
1794
+ if (l(() => a("title"), [a]), i) throw new In();
1774
1795
  return /* @__PURE__ */ t("div", {
1775
1796
  "data-dialog-member": "title",
1776
- className: Ln(),
1797
+ className: Rn(),
1777
1798
  "data-testid": n,
1778
1799
  children: /* @__PURE__ */ t("h1", {
1779
1800
  id: r,
@@ -1786,7 +1807,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1786
1807
  let { descriptionId: r, registerNamePart: i } = Q("Description");
1787
1808
  return l(() => i("description"), [i]), /* @__PURE__ */ t("div", {
1788
1809
  "data-dialog-member": "description",
1789
- className: Rn(),
1810
+ className: zn(),
1790
1811
  "data-testid": n,
1791
1812
  children: /* @__PURE__ */ t("p", {
1792
1813
  id: r,
@@ -1797,27 +1818,27 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1797
1818
  },
1798
1819
  Content: ({ children: e, testId: n }) => (Q("Content"), /* @__PURE__ */ t("div", {
1799
1820
  "data-dialog-member": "content",
1800
- className: zn(),
1821
+ className: Bn(),
1801
1822
  "data-testid": n,
1802
1823
  children: e
1803
1824
  })),
1804
1825
  Actions: ({ children: e, testId: n }) => (Q("Actions"), /* @__PURE__ */ t("div", {
1805
1826
  "data-dialog-member": "actions",
1806
- className: Bn(),
1827
+ className: Vn(),
1807
1828
  "data-testid": n,
1808
1829
  children: e
1809
1830
  }))
1810
- }, Gn = y("font-secondary text-small text-muted py-[var(--space-region)] px-[var(--gutter)]", {
1831
+ }, Kn = y("font-secondary text-small text-muted py-[var(--space-region)] px-[var(--gutter)]", {
1811
1832
  variants: { edge: {
1812
1833
  none: "",
1813
1834
  rule: "border-t border-solid border-rule"
1814
1835
  } },
1815
1836
  defaultVariants: { edge: "rule" }
1816
- }), Kn = ({ edge: e, children: n, testId: r }) => /* @__PURE__ */ t("footer", {
1817
- className: Gn({ edge: e }),
1837
+ }), qn = ({ edge: e, children: n, testId: r }) => /* @__PURE__ */ t("footer", {
1838
+ className: Kn({ edge: e }),
1818
1839
  "data-testid": r,
1819
1840
  children: n
1820
- }), qn = y("font-secondary text-small", {
1841
+ }), Jn = y("font-secondary text-small", {
1821
1842
  variants: { state: {
1822
1843
  idle: "text-muted",
1823
1844
  sending: "text-muted",
@@ -1825,13 +1846,13 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1825
1846
  failed: "text-error"
1826
1847
  } },
1827
1848
  defaultVariants: { state: "idle" }
1828
- }), Jn = {
1849
+ }), Yn = {
1829
1850
  sent: "status",
1830
1851
  failed: "alert"
1831
- }, Yn = ({ action: e, method: r = "post", state: i = "idle", children: a, actions: o, note: s, testId: c }) => {
1852
+ }, Xn = ({ action: e, method: r = "post", state: i = "idle", children: a, actions: o, note: s, testId: c }) => {
1832
1853
  let l = s != null && typeof s != "boolean";
1833
1854
  if (i === "sent" && !l) throw Error("Form in the `sent` state must be given a `note` - it is the outcome message.");
1834
- let u = i !== "sent", d = Jn[i];
1855
+ let u = i !== "sent", d = Yn[i];
1835
1856
  return /* @__PURE__ */ n("form", {
1836
1857
  action: e,
1837
1858
  method: r,
@@ -1849,12 +1870,12 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1849
1870
  }),
1850
1871
  l && /* @__PURE__ */ t("p", {
1851
1872
  role: d,
1852
- className: qn({ state: i }),
1873
+ className: Jn({ state: i }),
1853
1874
  children: s
1854
1875
  })
1855
1876
  ]
1856
1877
  });
1857
- }, Xn = y([
1878
+ }, Zn = y([
1858
1879
  "flex items-baseline",
1859
1880
  "font-secondary text-label leading-label tracking-label text-muted",
1860
1881
  "py-[var(--space-region)] px-[var(--gutter)]",
@@ -1874,84 +1895,84 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1874
1895
  edge: "rule",
1875
1896
  mode: "navigation"
1876
1897
  }
1877
- }), Zn = [
1898
+ }), Qn = [
1878
1899
  "inline-flex shrink-0 items-center",
1879
1900
  "min-h-[calc(var(--text-label)*var(--leading-label))]",
1880
1901
  "min-w-[var(--standing-min-width)]"
1881
- ].join(" "), Qn = "flex flex-wrap items-baseline gap-[var(--space-region)]", $n = "min-w-0 wrap-anywhere", er = "ms-auto", tr = (e) => e != null && typeof e != "boolean" && e !== "", nr = ({ edge: r, testId: i, standing: a, navName: o, children: s, status: c, action: l }) => {
1902
+ ].join(" "), $n = "flex flex-wrap items-baseline gap-[var(--space-region)]", er = "min-w-0 wrap-anywhere", tr = "ms-auto", nr = (e) => e != null && typeof e != "boolean" && e !== "", rr = ({ edge: r, testId: i, standing: a, navName: o, children: s, status: c, action: l }) => {
1882
1903
  let u = c !== void 0 || l !== void 0;
1883
1904
  return /* @__PURE__ */ t("header", {
1884
- className: Xn({
1905
+ className: Zn({
1885
1906
  edge: r,
1886
1907
  mode: u ? "statusAction" : "navigation"
1887
1908
  }),
1888
1909
  "data-testid": i,
1889
- children: u ? /* @__PURE__ */ n(e, { children: [tr(c) && /* @__PURE__ */ t("div", {
1890
- className: $n,
1891
- children: c
1892
- }), tr(l) && /* @__PURE__ */ t("div", {
1910
+ children: u ? /* @__PURE__ */ n(e, { children: [nr(c) && /* @__PURE__ */ t("div", {
1893
1911
  className: er,
1912
+ children: c
1913
+ }), nr(l) && /* @__PURE__ */ t("div", {
1914
+ className: tr,
1894
1915
  children: l
1895
1916
  })] }) : /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("div", {
1896
- className: Zn,
1917
+ className: Qn,
1897
1918
  children: a
1898
1919
  }), /* @__PURE__ */ t("nav", {
1899
1920
  "aria-label": o,
1900
- className: Qn,
1921
+ className: $n,
1901
1922
  children: s
1902
1923
  })] })
1903
1924
  });
1904
- }, rr = y("flex flex-col min-h-[var(--fold-height)] gap-[var(--space-stack)]", {
1925
+ }, ir = y("flex flex-col min-h-[var(--fold-height)] gap-[var(--space-stack)]", {
1905
1926
  variants: { place: {
1906
1927
  start: "justify-start",
1907
1928
  center: "justify-center",
1908
1929
  between: "justify-between"
1909
1930
  } },
1910
1931
  defaultVariants: { place: "center" }
1911
- }), ir = ({ place: e, children: n, testId: r }) => /* @__PURE__ */ t("div", {
1912
- className: rr({ place: e }),
1932
+ }), ar = ({ place: e, children: n, testId: r }) => /* @__PURE__ */ t("div", {
1933
+ className: ir({ place: e }),
1913
1934
  "data-testid": r,
1914
1935
  children: n
1915
- }), ar = y("flex flex-col gap-[var(--space-stack)] py-[var(--space-band)] px-[var(--gutter)]"), or = y("font-heading text-title leading-title tracking-optical text-foreground"), sr = y("font-body text-lede leading-lede text-foreground max-w-[var(--measure-wide)]"), cr = y("font-body text-small text-muted max-w-[var(--measure)]"), lr = ({ title: e, lede: r, intro: i, testId: a }) => /* @__PURE__ */ n("header", {
1916
- className: ar(),
1936
+ }), or = y("flex flex-col gap-[var(--space-stack)] py-[var(--space-band)] px-[var(--gutter)]"), sr = y("font-heading text-title leading-title tracking-optical text-foreground"), cr = y("font-body text-lede leading-lede text-foreground max-w-[var(--measure-wide)]"), lr = y("font-body text-small text-muted max-w-[var(--measure)]"), ur = ({ title: e, lede: r, intro: i, testId: a }) => /* @__PURE__ */ n("header", {
1937
+ className: or(),
1917
1938
  "data-testid": a,
1918
1939
  children: [
1919
1940
  /* @__PURE__ */ t("h1", {
1920
- className: or(),
1941
+ className: sr(),
1921
1942
  children: e
1922
1943
  }),
1923
1944
  r !== void 0 && /* @__PURE__ */ t("p", {
1924
- className: sr(),
1945
+ className: cr(),
1925
1946
  children: r
1926
1947
  }),
1927
1948
  i !== void 0 && /* @__PURE__ */ t("p", {
1928
- className: cr(),
1949
+ className: lr(),
1929
1950
  children: i
1930
1951
  })
1931
1952
  ]
1932
- }), ur = y("max-h-full max-w-full min-h-0 min-w-0 outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
1953
+ }), dr = y("max-h-full max-w-full min-h-0 min-w-0 outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
1933
1954
  variants: { axis: {
1934
1955
  both: "overflow-auto",
1935
1956
  horizontal: "overflow-x-auto overflow-y-hidden",
1936
1957
  vertical: "overflow-y-auto overflow-x-hidden"
1937
1958
  } },
1938
1959
  defaultVariants: { axis: "both" }
1939
- }), dr = y("p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]", {
1960
+ }), fr = y("p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]", {
1940
1961
  variants: { axis: {
1941
1962
  both: "w-fit min-w-full",
1942
1963
  horizontal: "w-fit min-w-full",
1943
1964
  vertical: "w-full"
1944
1965
  } },
1945
1966
  defaultVariants: { axis: "both" }
1946
- }), fr = (e, t) => {
1967
+ }), pr = (e, t) => {
1947
1968
  let n = e.scrollWidth > e.clientWidth, r = e.scrollHeight > e.clientHeight;
1948
1969
  return t !== "vertical" && n || t !== "horizontal" && r;
1949
- }, pr = (e, t, n) => {
1970
+ }, mr = (e, t, n) => {
1950
1971
  let [r, i] = m(!0);
1951
1972
  return d(() => {
1952
1973
  let r = e.current;
1953
1974
  if (r === null) return;
1954
- let a = () => i(fr(r, n) || r === document.activeElement);
1975
+ let a = () => i(pr(r, n) || r === document.activeElement);
1955
1976
  a();
1956
1977
  let o = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(a);
1957
1978
  return o?.observe(r), t.current !== null && o?.observe(t.current), window.addEventListener("resize", a), r.addEventListener("blur", a), () => {
@@ -1962,22 +1983,22 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1962
1983
  t,
1963
1984
  n
1964
1985
  ]), r;
1965
- }, mr = ({ axis: e, ariaLabel: n, children: r, testId: i }) => {
1966
- let a = p(null), o = p(null), s = pr(a, o, e ?? "both");
1986
+ }, hr = ({ axis: e, ariaLabel: n, children: r, testId: i }) => {
1987
+ let a = p(null), o = p(null), s = mr(a, o, e ?? "both");
1967
1988
  return /* @__PURE__ */ t("div", {
1968
1989
  ref: a,
1969
- className: ur({ axis: e }),
1990
+ className: dr({ axis: e }),
1970
1991
  "data-testid": i,
1971
1992
  role: s ? "group" : void 0,
1972
1993
  "aria-label": s ? n : void 0,
1973
1994
  tabIndex: s ? 0 : void 0,
1974
1995
  children: /* @__PURE__ */ t("div", {
1975
1996
  ref: o,
1976
- className: dr({ axis: e }),
1997
+ className: fr({ axis: e }),
1977
1998
  children: r
1978
1999
  })
1979
2000
  });
1980
- }, hr = y([
2001
+ }, gr = y([
1981
2002
  "relative",
1982
2003
  "py-[var(--space-band)]",
1983
2004
  "[[data-section]+&]:border-t [[data-section]+&]:border-solid [[data-section]+&]:border-rule"
@@ -1987,20 +2008,20 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
1987
2008
  full: ""
1988
2009
  } },
1989
2010
  defaultVariants: { bleed: "inset" }
1990
- }), gr = ({ bleed: e, name: n, children: r, testId: i }) => /* @__PURE__ */ t("section", {
2011
+ }), _r = ({ bleed: e, name: n, children: r, testId: i }) => /* @__PURE__ */ t("section", {
1991
2012
  "data-section": "",
1992
- className: hr({ bleed: e }),
2013
+ className: gr({ bleed: e }),
1993
2014
  "aria-label": n,
1994
2015
  "data-testid": i,
1995
2016
  children: r
1996
- }), _r = y([
2017
+ }), vr = y([
1997
2018
  "grid gap-[var(--space-region)] lg:grid-cols-[12rem_minmax(0,1fr)]",
1998
2019
  "[&>div:first-child]:border-solid [&>div:first-child]:border-border [&>div:first-child]:border-b [&>div:first-child]:pb-[var(--space-stack)]",
1999
2020
  "lg:[&>div:first-child]:border-b-0 lg:[&>div:first-child]:border-r lg:[&>div:first-child]:pb-0 lg:[&>div:first-child]:pr-[var(--space-stack)]",
2000
2021
  "lg:[&>div:first-child>nav]:sticky lg:[&>div:first-child>nav]:top-0 lg:[&>div:first-child>nav]:max-h-[min(100dvh,var(--sidebar-scrollport-height,100dvh))] lg:[&>div:first-child>nav]:overflow-y-auto",
2001
2022
  "[&>div:first-child>nav]:p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] lg:[&>div:first-child>nav]:scroll-p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
2002
2023
  "[&>div:first-child>nav>ul]:flex [&>div:first-child>nav>ul]:flex-col [&>div:first-child>nav>ul]:gap-[var(--space-stack)]"
2003
- ].join(" ")), vr = (e) => {
2024
+ ].join(" ")), yr = (e) => {
2004
2025
  if (!e) return;
2005
2026
  let t = [];
2006
2027
  for (let n = e.parentElement; n && n !== e.ownerDocument.documentElement; n = n.parentElement) t.push(n);
@@ -2014,7 +2035,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
2014
2035
  return window.addEventListener("resize", n), () => {
2015
2036
  r?.disconnect(), window.removeEventListener("resize", n), e.style.removeProperty("--sidebar-scrollport-height");
2016
2037
  };
2017
- }, yr = y([
2038
+ }, br = y([
2018
2039
  "w-full text-left font-secondary text-label tracking-label wrap-anywhere",
2019
2040
  "underline-offset-[var(--underline-offset)]",
2020
2041
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
@@ -2025,11 +2046,11 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
2025
2046
  inert: "text-muted cursor-not-allowed"
2026
2047
  } },
2027
2048
  defaultVariants: { state: "usable" }
2028
- }), br = a(void 0), xr = ({ entryKey: e, children: n, inert: r, testId: i }) => {
2029
- let a = c(br), o = a !== void 0 && a.active === e;
2049
+ }), xr = a(void 0), Sr = ({ entryKey: e, children: n, inert: r, testId: i }) => {
2050
+ let a = c(xr), o = a !== void 0 && a.active === e;
2030
2051
  return /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("button", {
2031
2052
  type: "button",
2032
- className: yr({ state: r ? "inert" : o ? "active" : "usable" }),
2053
+ className: br({ state: r ? "inert" : o ? "active" : "usable" }),
2033
2054
  disabled: r,
2034
2055
  "aria-current": o ? "true" : void 0,
2035
2056
  "data-testid": i,
@@ -2038,31 +2059,31 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
2038
2059
  },
2039
2060
  children: n
2040
2061
  }) });
2041
- }, Sr = ({ children: e, testId: n }) => /* @__PURE__ */ t("div", {
2062
+ }, Cr = ({ children: e, testId: n }) => /* @__PURE__ */ t("div", {
2042
2063
  "data-testid": n,
2043
2064
  children: e
2044
- }), Cr = {
2065
+ }), wr = {
2045
2066
  Root: ({ active: e, label: i, onSelect$: a, children: s, testId: c }) => {
2046
2067
  let l = r.toArray(s).filter(o);
2047
2068
  return /* @__PURE__ */ n("div", {
2048
- className: _r(),
2069
+ className: vr(),
2049
2070
  "data-testid": c,
2050
2071
  children: [/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("nav", {
2051
- ref: vr,
2072
+ ref: yr,
2052
2073
  "aria-label": i,
2053
- children: /* @__PURE__ */ t(br, {
2074
+ children: /* @__PURE__ */ t(xr, {
2054
2075
  value: {
2055
2076
  active: e,
2056
2077
  onSelect$: a
2057
2078
  },
2058
- children: /* @__PURE__ */ t("ul", { children: l.filter((e) => e.type === xr) })
2079
+ children: /* @__PURE__ */ t("ul", { children: l.filter((e) => e.type === Sr) })
2059
2080
  })
2060
- }) }), l.filter((e) => e.type === Sr)]
2081
+ }) }), l.filter((e) => e.type === Cr)]
2061
2082
  });
2062
2083
  },
2063
- Item: xr,
2064
- Content: Sr
2065
- }, wr = {
2084
+ Item: Sr,
2085
+ Content: Cr
2086
+ }, Tr = {
2066
2087
  surface: "#ffffff",
2067
2088
  foreground: "#0f172a",
2068
2089
  muted: "#64748b",
@@ -2089,7 +2110,7 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
2089
2110
  errorHover: "#be185d",
2090
2111
  errorForeground: "#ffffff",
2091
2112
  info: "#0e7490"
2092
- }, Tr = {
2113
+ }, Er = {
2093
2114
  surface: "#0f172a",
2094
2115
  foreground: "#f8fafc",
2095
2116
  muted: "#94a3b8",
@@ -2118,4 +2139,4 @@ var _ = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, v = g, y = (e
2118
2139
  info: "#22d3ee"
2119
2140
  };
2120
2141
  //#endregion
2121
- export { me as Box, ge as Brandmark, At as Button, ye as Checklist, Rt as Choices, x as Cluster, Se as Collection, ie as ColumnLayout, Nn as Cover, Ne as DefinitionList, Wn as Dialog, st as Eyebrow, de as FieldRow, Fe as Figure, Kn as Footer, Yn as Form, lt as H1, dt as H2, pt as H3, ht as H4, _t as H5, yt as H6, nr as Header, ir as Hero, Re as Icon, Bt as Input, Ht as Link, Ve as Meter, ln as MultiSelect, xt as Note, dn as NumberInput, Ct as P, lr as PageHead, Ot as Prose, Ke as Rail, mr as ScrollContainer, gr as Section, pn as Select, Cr as Sidebar, gn as Slider, pe as Stack, at as Table, On as Tabs, An as TextArea, Tr as dark, wr as light };
2142
+ export { me as Box, ge as Brandmark, Mt as Button, ye as Checklist, Bt as Choices, x as Cluster, Se as Collection, N as ColumnLayout, Pn as Cover, Ne as DefinitionList, Gn as Dialog, lt as Eyebrow, ue as FieldRow, Fe as Figure, qn as Footer, Xn as Form, dt as H1, pt as H2, ht as H3, _t as H4, yt as H5, xt as H6, rr as Header, ar as Hero, ze as Icon, Ht as Input, Wt as Link, Ue as Meter, un as MultiSelect, Ct as Note, fn as NumberInput, Tt as P, ur as PageHead, At as Prose, Je as Rail, hr as ScrollContainer, _r as Section, mn as Select, wr as Sidebar, _n as Slider, fe as Stack, st as Table, kn as Tabs, jn as TextArea, Er as dark, Tr as light };