@juwel-development/design-system 4.3.0 → 4.5.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.
@@ -182,7 +182,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
182
182
  }, de = (e, t) => ({
183
183
  "--column-layout-threshold": e,
184
184
  "--column-layout-reserve": t
185
- }), fe = (e) => Array.from(e.children).findIndex((e) => e.getBoundingClientRect().width === 0), R = (e) => e === ce ? Infinity : e, pe = {
185
+ }), fe = (e) => Array.from(e.children).findIndex((e) => e.getBoundingClientRect().width === 0), R = (e) => e === ce ? Infinity : e, z = {
186
186
  Root: N,
187
187
  Column: P,
188
188
  Alternatives: ({ fill: e, fallback: r, children: a, testId: o }) => {
@@ -239,100 +239,100 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
239
239
  }), S]
240
240
  });
241
241
  }
242
- }, me = .5, z = (e, t) => Math.abs(e - t) <= me, he = (e) => {
242
+ }, pe = .5, B = (e, t) => Math.abs(e - t) <= pe, me = (e) => {
243
243
  let t = [];
244
- for (let { top: n } of e) t.some((e) => z(e, n)) || t.push(n);
245
- let n = t.map((t) => Math.max(...e.filter((e) => z(t, e.top)).map((e) => e.controlEdge)));
244
+ for (let { top: n } of e) t.some((e) => B(e, n)) || t.push(n);
245
+ let n = t.map((t) => Math.max(...e.filter((e) => B(t, e.top)).map((e) => e.controlEdge)));
246
246
  return e.map(({ top: e, controlEdge: r }) => {
247
- let i = t.findIndex((t) => z(t, e));
247
+ let i = t.findIndex((t) => B(t, e));
248
248
  return (n[i] ?? r) - r;
249
249
  });
250
- }, B = class extends Error {
250
+ }, V = class extends Error {
251
251
  constructor(e) {
252
252
  super(`FieldRow.${e} must be composed inside FieldRow.Root`), this.name = "FieldRowCompositionError";
253
253
  }
254
- }, V = class extends Error {
254
+ }, H = class extends Error {
255
255
  constructor(e) {
256
256
  super(`FieldRow configuration: ${e}`), this.name = "FieldRowConfigurationError";
257
257
  }
258
- }, ge = b("flex flex-wrap items-start gap-y-[var(--space-stack)]", {
258
+ }, he = b("flex flex-wrap items-start gap-y-[var(--space-stack)]", {
259
259
  variants: { gap: {
260
260
  stack: "gap-x-[var(--space-stack)]",
261
261
  region: "gap-x-[var(--space-region)]"
262
262
  } },
263
263
  defaultVariants: { gap: "stack" }
264
- }), _e = b("shrink basis-0"), ve = b("", {
264
+ }), ge = b("shrink basis-0"), _e = b("", {
265
265
  variants: { part: {
266
266
  item: "min-w-0 max-w-full flex-none",
267
267
  group: "flex flex-wrap items-end gap-[var(--space-stack)]"
268
268
  } },
269
269
  defaultVariants: { part: "item" }
270
- }), ye = /^--[A-Za-z0-9_-]+$/, be = ":scope > [data-field-row-item]", xe = a(void 0), Se = (e) => {
271
- let t = c(xe);
272
- if (t === void 0) throw new B(e);
270
+ }), ve = /^--[A-Za-z0-9_-]+$/, ye = ":scope > [data-field-row-item]", be = a(void 0), xe = (e) => {
271
+ let t = c(be);
272
+ if (t === void 0) throw new V(e);
273
273
  return t;
274
+ }, Se = (e) => {
275
+ if (!(Number.isFinite(e) && e > 0)) throw new H(`weight must be a positive finite number, got ${e}`);
274
276
  }, Ce = (e) => {
275
- if (!(Number.isFinite(e) && e > 0)) throw new V(`weight must be a positive finite number, got ${e}`);
277
+ if (!ve.test(e)) throw new H(`minWidth must name a CSS custom property such as --search-field-min-width, got ${JSON.stringify(e)}`);
276
278
  }, we = (e) => {
277
- if (!ye.test(e)) throw new V(`minWidth must name a CSS custom property such as --search-field-min-width, got ${JSON.stringify(e)}`);
278
- }, Te = (e) => {
279
279
  let t = e.querySelector("label[for]")?.getAttribute("for");
280
280
  if (!t) return;
281
281
  let n = e.ownerDocument.getElementById(t);
282
282
  return n !== null && e.contains(n) ? n : void 0;
283
- }, Ee = (e) => getComputedStyle(e).position !== "static", De = (e, t) => {
283
+ }, Te = (e) => getComputedStyle(e).position !== "static", Ee = (e, t) => {
284
284
  if (getComputedStyle(e).position !== "absolute") return e;
285
285
  let n = e.parentElement;
286
- for (; n !== null && n !== t && !Ee(n);) n = n.parentElement;
286
+ for (; n !== null && n !== t && !Te(n);) n = n.parentElement;
287
287
  return n ?? e;
288
- }, Oe = (e) => {
288
+ }, De = (e) => {
289
289
  let t = e.getBoundingClientRect().top, n = e.firstElementChild;
290
290
  if (n === null) return {
291
291
  top: t,
292
292
  controlEdge: 0
293
293
  };
294
- let r = n.getBoundingClientRect(), i = Te(n);
294
+ let r = n.getBoundingClientRect(), i = we(n);
295
295
  return {
296
296
  top: t,
297
- controlEdge: (i === void 0 ? r.bottom : De(i, n).getBoundingClientRect().bottom) - r.top
297
+ controlEdge: (i === void 0 ? r.bottom : Ee(i, n).getBoundingClientRect().bottom) - r.top
298
298
  };
299
- }, ke = (e) => {
300
- let t = Array.from(e.querySelectorAll(be)), n = he(t.map(Oe));
299
+ }, Oe = (e) => {
300
+ let t = Array.from(e.querySelectorAll(ye)), n = me(t.map(De));
301
301
  t.forEach((e, t) => {
302
302
  let r = n[t] ?? 0, i = Number.parseFloat(e.style.paddingTop) || 0;
303
303
  Math.abs(i - r) > .01 && (e.style.paddingTop = r === 0 ? "" : `${r}px`);
304
304
  });
305
- }, Ae = {
305
+ }, ke = {
306
306
  Root: ({ gap: e, children: n, testId: r }) => {
307
307
  let i = p(null), a = p(void 0), o = p(/* @__PURE__ */ new WeakSet()), s = () => {
308
- i.current && ke(i.current);
308
+ i.current && Oe(i.current);
309
309
  }, c = (e) => {
310
310
  e && a.current && !o.current.has(e) && (o.current.add(e), a.current.observe(e));
311
311
  };
312
312
  return d(() => {
313
313
  let e = i.current;
314
- if (e !== null && (ke(e), !(typeof ResizeObserver > "u"))) {
315
- a.current ??= new ResizeObserver(() => ke(e));
316
- for (let t of e.querySelectorAll(be)) {
314
+ if (e !== null && (Oe(e), !(typeof ResizeObserver > "u"))) {
315
+ a.current ??= new ResizeObserver(() => Oe(e));
316
+ for (let t of e.querySelectorAll(ye)) {
317
317
  let e = t.firstElementChild ?? void 0;
318
318
  c(e), c(e?.querySelector("label[for]") ?? void 0);
319
319
  }
320
320
  }
321
321
  }), d(() => () => a.current?.disconnect(), []), /* @__PURE__ */ t("div", {
322
322
  ref: i,
323
- className: ge({ gap: e }),
323
+ className: he({ gap: e }),
324
324
  "data-testid": r,
325
- children: /* @__PURE__ */ t(xe, {
325
+ children: /* @__PURE__ */ t(be, {
326
326
  value: { align: s },
327
327
  children: n
328
328
  })
329
329
  });
330
330
  },
331
331
  Field: ({ children: e, weight: n = 1, minWidth: r, testId: i }) => {
332
- let { align: a } = Se("Field");
333
- return Ce(n), we(r), d(() => a()), /* @__PURE__ */ t("div", {
332
+ let { align: a } = xe("Field");
333
+ return Se(n), Ce(r), d(() => a()), /* @__PURE__ */ t("div", {
334
334
  "data-field-row-item": !0,
335
- className: _e(),
335
+ className: ge(),
336
336
  "data-testid": i,
337
337
  style: {
338
338
  flexGrow: n,
@@ -342,18 +342,18 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
342
342
  });
343
343
  },
344
344
  Actions: ({ children: e, testId: n }) => {
345
- let { align: r } = Se("Actions");
345
+ let { align: r } = xe("Actions");
346
346
  return d(() => r()), /* @__PURE__ */ t("div", {
347
347
  "data-field-row-item": !0,
348
- className: ve(),
348
+ className: _e(),
349
349
  "data-testid": n,
350
350
  children: /* @__PURE__ */ t("div", {
351
- className: ve({ part: "group" }),
351
+ className: _e({ part: "group" }),
352
352
  children: e
353
353
  })
354
354
  });
355
355
  }
356
- }, je = b("flex", {
356
+ }, Ae = b("flex", {
357
357
  variants: {
358
358
  gap: {
359
359
  stack: "gap-[var(--space-stack)]",
@@ -378,8 +378,8 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
378
378
  measure: !1,
379
379
  direction: "column"
380
380
  }
381
- }), Me = ({ gap: e, measure: n, direction: r, align: i, children: a, testId: o }) => /* @__PURE__ */ t("div", {
382
- className: je({
381
+ }), je = ({ gap: e, measure: n, direction: r, align: i, children: a, testId: o }) => /* @__PURE__ */ t("div", {
382
+ className: Ae({
383
383
  gap: e,
384
384
  measure: n,
385
385
  direction: r,
@@ -387,33 +387,33 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
387
387
  }),
388
388
  "data-testid": o,
389
389
  children: a
390
- }), Ne = b(["min-w-0 border border-solid border-border bg-surface text-foreground", "p-[var(--space-box-inset)] [overflow-wrap:anywhere]"].join(" ")), Pe = ({ children: e, name: n, testId: r }) => n === void 0 || n === "" ? /* @__PURE__ */ t("div", {
391
- className: Ne(),
390
+ }), Me = b(["min-w-0 border border-solid border-border bg-surface text-foreground", "p-[var(--space-box-inset)] [overflow-wrap:anywhere]"].join(" ")), Ne = ({ children: e, name: n, testId: r }) => n === void 0 || n === "" ? /* @__PURE__ */ t("div", {
391
+ className: Me(),
392
392
  "data-testid": r,
393
393
  children: e
394
394
  }) : /* @__PURE__ */ t("div", {
395
- className: Ne(),
395
+ className: Me(),
396
396
  role: "group",
397
397
  "aria-label": n,
398
398
  "data-testid": r,
399
399
  children: e
400
- }), Fe = b("inline-flex", { variants: { cut: {
400
+ }), Pe = b("inline-flex", { variants: { cut: {
401
401
  full: "",
402
402
  compact: ""
403
- } } }), Ie = ({ name: e, cut: n, children: r, testId: i }) => e === "" ? /* @__PURE__ */ t("span", {
403
+ } } }), Fe = ({ name: e, cut: n, children: r, testId: i }) => e === "" ? /* @__PURE__ */ t("span", {
404
404
  "aria-hidden": "true",
405
405
  "data-cut": n,
406
- className: Fe({ cut: n }),
406
+ className: Pe({ cut: n }),
407
407
  "data-testid": i,
408
408
  children: r
409
409
  }) : /* @__PURE__ */ t("span", {
410
410
  role: "img",
411
411
  "aria-label": e,
412
412
  "data-cut": n,
413
- className: Fe({ cut: n }),
413
+ className: Pe({ cut: n }),
414
414
  "data-testid": i,
415
415
  children: r
416
- }), Le = b("min-w-0 border-s-[length:var(--callout-mark-width)] border-solid ps-[var(--space-callout-inset)] text-foreground [overflow-wrap:anywhere] forced-colors:border-s-[CanvasText]", {
416
+ }), Ie = b("min-w-0 border-s-[length:var(--callout-mark-width)] border-solid ps-[var(--space-callout-inset)] text-foreground [overflow-wrap:anywhere] forced-colors:border-s-[CanvasText]", {
417
417
  variants: { tone: {
418
418
  warning: "border-warning",
419
419
  info: "border-info",
@@ -421,54 +421,54 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
421
421
  error: "border-error"
422
422
  } },
423
423
  defaultVariants: { tone: "warning" }
424
- }), Re = ({ children: e, tone: n, name: r, testId: i }) => r === void 0 || r === "" ? /* @__PURE__ */ t("div", {
425
- className: Le({ tone: n }),
424
+ }), Le = ({ children: e, tone: n, name: r, testId: i }) => r === void 0 || r === "" ? /* @__PURE__ */ t("div", {
425
+ className: Ie({ tone: n }),
426
426
  "data-testid": i,
427
427
  children: e
428
428
  }) : /* @__PURE__ */ t("div", {
429
- className: Le({ tone: n }),
429
+ className: Ie({ tone: n }),
430
430
  role: "group",
431
431
  "aria-label": r,
432
432
  "data-testid": i,
433
433
  children: e
434
- }), ze = b("m-0 list-none p-0"), Be = b([
434
+ }), Re = b("m-0 list-none p-0"), ze = b([
435
435
  "flex items-start gap-3 font-body text-body leading-body text-foreground",
436
436
  "before:mt-[0.35em] before:size-[calc(var(--tick-length)*0.7)] before:shrink-0 before:rotate-45 before:[border-top:var(--tick-thickness)_solid_var(--color-rule)] before:[border-right:var(--tick-thickness)_solid_var(--color-rule)] before:content-['']",
437
437
  "[&:not(:first-child)]:mt-[var(--space-stack)] [&:not(:first-child)]:border-border [&:not(:first-child)]:border-t [&:not(:first-child)]:border-solid [&:not(:first-child)]:pt-[var(--space-stack)]"
438
- ].join(" ")), Ve = {
438
+ ].join(" ")), Be = {
439
439
  Root: ({ children: e, testId: n }) => /* @__PURE__ */ t("ul", {
440
- className: ze(),
440
+ className: Re(),
441
441
  role: "list",
442
442
  "data-testid": n,
443
443
  children: e
444
444
  }),
445
445
  Item: ({ children: e }) => /* @__PURE__ */ t("li", {
446
- className: Be(),
446
+ className: ze(),
447
447
  children: e
448
448
  })
449
- }, He = b("m-0 list-none p-0"), Ue = b("py-[var(--space-collection-item)] [&+li]:border-t [&+li]:border-solid [&+li]:border-border"), We = {
449
+ }, Ve = b("m-0 list-none p-0"), He = b("py-[var(--space-collection-item)] [&+li]:border-t [&+li]:border-solid [&+li]:border-border"), Ue = {
450
450
  Root: ({ children: e, testId: n }) => /* @__PURE__ */ t("ul", {
451
- className: He(),
451
+ className: Ve(),
452
452
  role: "list",
453
453
  "data-testid": n,
454
454
  children: e
455
455
  }),
456
456
  Item: ({ children: e, testId: n }) => /* @__PURE__ */ t("li", {
457
- className: Ue(),
457
+ className: He(),
458
458
  "data-testid": n,
459
459
  children: e
460
460
  })
461
- }, Ge = class extends Error {
461
+ }, We = class extends Error {
462
462
  constructor(e) {
463
463
  super(`DefinitionList configuration is invalid: ${e}`), this.name = "DefinitionListConfigurationError";
464
464
  }
465
- }, Ke = b("@container", {
465
+ }, Ge = b("@container", {
466
466
  variants: { density: {
467
467
  comfortable: "[&>div]:py-[var(--space-definition-item)]",
468
468
  compact: "[&>div]:py-[var(--space-definition-item-compact)]"
469
469
  } },
470
470
  defaultVariants: { density: "comfortable" }
471
- }), qe = b([
471
+ }), Ke = b([
472
472
  "grid grid-flow-row-dense gap-[var(--space-stack)] border-b border-solid border-border first:border-t",
473
473
  "[--definition-stack:clamp(0px,(var(--definition-threshold)-100%)*1000000,100%)]",
474
474
  "[--definition-shortfall:clamp(0px,(var(--definition-threshold)-100cqi)*1000000,1px)]",
@@ -476,46 +476,46 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
476
476
  "gap-x-[max(0px,var(--space-definition-column)-var(--definition-stack))]",
477
477
  "[&>dt]:col-start-1 [&>dt]:self-baseline [&>dd]:col-span-full [&>dd]:self-baseline",
478
478
  "[&>dd]:col-start-[calc(2-tan(atan2(var(--definition-shortfall),1px)))]"
479
- ].join(" ")), Je = b("font-body text-subtitle leading-subtitle text-foreground wrap-break-word"), Ye = b("font-body text-body leading-body text-muted max-w-[var(--measure)] wrap-break-word"), Xe = {
479
+ ].join(" ")), qe = b("font-body text-subtitle leading-subtitle text-foreground wrap-break-word"), Je = b("font-body text-body leading-body text-muted max-w-[var(--measure)] wrap-break-word"), Ye = {
480
480
  weight: 1,
481
481
  minWidth: "--definition-term-min-width"
482
- }, Ze = {
482
+ }, Xe = {
483
483
  weight: 2,
484
484
  minWidth: "--definition-description-min-width"
485
- }, Qe = /^--[A-Za-z0-9_-]+$/, $e = (e, t) => {
486
- if (!Number.isFinite(t.weight) || t.weight <= 0) throw new Ge(`${e} needs a positive finite weight (got ${t.weight})`);
487
- if (!Qe.test(t.minWidth)) throw new Ge(`${e} needs a custom-property name such as --summary-term-min-width for minWidth (got ${JSON.stringify(t.minWidth)})`);
485
+ }, Ze = /^--[A-Za-z0-9_-]+$/, Qe = (e, t) => {
486
+ if (!Number.isFinite(t.weight) || t.weight <= 0) throw new We(`${e} needs a positive finite weight (got ${t.weight})`);
487
+ if (!Ze.test(t.minWidth)) throw new We(`${e} needs a custom-property name such as --summary-term-min-width for minWidth (got ${JSON.stringify(t.minWidth)})`);
488
488
  return t;
489
- }, et = (e, t) => {
489
+ }, $e = (e, t) => {
490
490
  let n = e.weight + t.weight;
491
491
  return `calc(var(--space-definition-column) + max(var(${e.minWidth}) * ${n / e.weight}, var(${t.minWidth}) * ${n / t.weight}))`;
492
- }, tt = {
493
- Root: ({ density: e, termColumn: n = Xe, descriptionColumn: r = Ze, children: i, testId: a }) => {
494
- let o = $e("termColumn", n), s = $e("descriptionColumn", r), c = {
495
- "--definition-threshold": et(o, s),
492
+ }, et = {
493
+ Root: ({ density: e, termColumn: n = Ye, descriptionColumn: r = Xe, children: i, testId: a }) => {
494
+ let o = Qe("termColumn", n), s = Qe("descriptionColumn", r), c = {
495
+ "--definition-threshold": $e(o, s),
496
496
  "--definition-term-share": `calc(${o.weight} / ${o.weight + s.weight})`
497
497
  };
498
498
  return /* @__PURE__ */ t("dl", {
499
- className: Ke({ density: e }),
499
+ className: Ge({ density: e }),
500
500
  style: c,
501
501
  "data-testid": a,
502
502
  children: i
503
503
  });
504
504
  },
505
505
  Item: ({ children: e, testId: n }) => /* @__PURE__ */ t("div", {
506
- className: qe(),
506
+ className: Ke(),
507
507
  "data-testid": n,
508
508
  children: e
509
509
  }),
510
510
  Term: ({ children: e }) => /* @__PURE__ */ t("dt", {
511
- className: Je(),
511
+ className: qe(),
512
512
  children: e
513
513
  }),
514
514
  Description: ({ children: e }) => /* @__PURE__ */ t("dd", {
515
- className: Ye(),
515
+ className: Je(),
516
516
  children: e
517
517
  })
518
- }, nt = b("block w-full object-cover bg-backing", {
518
+ }, tt = b("block w-full object-cover bg-backing", {
519
519
  variants: {
520
520
  ratio: {
521
521
  portrait: "aspect-portrait",
@@ -532,13 +532,13 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
532
532
  }
533
533
  },
534
534
  defaultVariants: { focus: "center" }
535
- }), rt = ({ src: e, alt: r, width: i, height: a, ratio: o, focus: s, responsive: c, caption: l, overlay: u, priority: d, testId: f }) => {
535
+ }), nt = ({ src: e, alt: r, width: i, height: a, ratio: o, focus: s, responsive: c, caption: l, overlay: u, priority: d, testId: f }) => {
536
536
  let p = u != null && typeof u != "boolean", m = /* @__PURE__ */ t("img", {
537
537
  src: e,
538
538
  alt: r,
539
539
  width: i,
540
540
  height: a,
541
- className: nt({
541
+ className: tt({
542
542
  ratio: o,
543
543
  focus: s
544
544
  }),
@@ -561,13 +561,13 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
561
561
  children: l
562
562
  })]
563
563
  });
564
- }, it = b("inline-block shrink-0 align-[-0.125em] forced-color-adjust-auto", { variants: { color: {
564
+ }, rt = b("inline-block shrink-0 align-[-0.125em] forced-color-adjust-auto", { variants: { color: {
565
565
  muted: "text-muted",
566
566
  success: "text-success",
567
567
  warning: "text-warning",
568
568
  error: "text-error",
569
569
  info: "text-info"
570
- } } }), at = "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", ot = {
570
+ } } }), it = "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", at = {
571
571
  plus: ["M3 8h10", "M8 3v10"],
572
572
  right: ["M3 8h10", "M9 4l4 4-4 4"],
573
573
  remove: ["M3 8h10"],
@@ -588,12 +588,12 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
588
588
  "M9.25 7.25v3.5"
589
589
  ],
590
590
  "bubble-exclamation": [
591
- at,
591
+ it,
592
592
  "M8 4.5v2",
593
593
  "M8 8.75h.01"
594
594
  ],
595
- "bubble-tick": [at, "M5.75 6.75l1.5 1.5 3-3.5"]
596
- }, st = ({ name: e, label: n, color: r, testId: i }) => /* @__PURE__ */ t("svg", {
595
+ "bubble-tick": [it, "M5.75 6.75l1.5 1.5 3-3.5"]
596
+ }, ot = ({ name: e, label: n, color: r, testId: i }) => /* @__PURE__ */ t("svg", {
597
597
  role: n ? "img" : void 0,
598
598
  "aria-label": n || void 0,
599
599
  "aria-hidden": !n || void 0,
@@ -601,9 +601,9 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
601
601
  viewBox: "0 0 16 16",
602
602
  width: "1em",
603
603
  height: "1em",
604
- className: it({ color: r }),
604
+ className: rt({ color: r }),
605
605
  "data-testid": i,
606
- children: ot[e].map((n) => /* @__PURE__ */ t("path", {
606
+ children: at[e].map((n) => /* @__PURE__ */ t("path", {
607
607
  d: n,
608
608
  fill: e === "dot" ? "currentColor" : "none",
609
609
  stroke: e === "dot" ? "none" : "currentColor",
@@ -611,36 +611,36 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
611
611
  strokeLinecap: "round",
612
612
  strokeLinejoin: "round"
613
613
  }, n))
614
- }), H = (e) => ({ label: n, color: r, testId: i }) => /* @__PURE__ */ t(st, {
614
+ }), U = (e) => ({ label: n, color: r, testId: i }) => /* @__PURE__ */ t(ot, {
615
615
  name: e,
616
616
  label: n,
617
617
  color: r,
618
618
  testId: i
619
- }), ct = Object.assign(({ name: e, label: n, color: r, testId: i }) => /* @__PURE__ */ t(st, {
619
+ }), st = Object.assign(({ name: e, label: n, color: r, testId: i }) => /* @__PURE__ */ t(ot, {
620
620
  name: e,
621
621
  label: n,
622
622
  color: r,
623
623
  testId: i
624
624
  }), {
625
- Plus: H("plus"),
626
- Up: H("sort-ascending"),
627
- Down: H("sort-descending"),
628
- Right: H("right"),
629
- Remove: H("remove")
630
- }), lt = class extends Error {
625
+ Plus: U("plus"),
626
+ Up: U("sort-ascending"),
627
+ Down: U("sort-descending"),
628
+ Right: U("right"),
629
+ Remove: U("remove")
630
+ }), ct = class extends Error {
631
631
  constructor(e) {
632
632
  super(`Meter configuration is invalid: ${e}`), this.name = "MeterConfigurationError";
633
633
  }
634
- }, ut = b("w-full h-[var(--meter-track-thickness)] bg-meter-track border border-solid border-rule"), dt = b("h-full w-[calc(var(--meter-level)*100%)]", {
634
+ }, lt = b("w-full h-[var(--meter-track-thickness)] bg-meter-track border border-solid border-rule"), ut = b("h-full w-[calc(var(--meter-level)*100%)]", {
635
635
  variants: { treatment: {
636
636
  neutral: "bg-meter-fill",
637
637
  depleting: "bg-[color-mix(in_oklab,var(--color-meter-fill)_calc(var(--meter-level)*100%),var(--color-error))]"
638
638
  } },
639
639
  defaultVariants: { treatment: "neutral" }
640
- }), ft = (e, t, n) => e <= t ? 0 : e >= n ? 1 : (e - t) / (n - t), pt = ({ value: e, min: n = 0, max: r, treatment: i, label: a, valueText: o, testId: s }) => {
641
- if (!Number.isFinite(e) || !Number.isFinite(n) || !Number.isFinite(r)) throw new lt(`value, min and max must be finite numbers (got value=${e}, min=${n}, max=${r})`);
642
- if (n >= r) throw new lt(`min must be less than max (got min=${n}, max=${r})`);
643
- let c = { "--meter-level": ft(e, n, r) };
640
+ }), dt = (e, t, n) => e <= t ? 0 : e >= n ? 1 : (e - t) / (n - t), ft = ({ value: e, min: n = 0, max: r, treatment: i, label: a, valueText: o, testId: s }) => {
641
+ if (!Number.isFinite(e) || !Number.isFinite(n) || !Number.isFinite(r)) throw new ct(`value, min and max must be finite numbers (got value=${e}, min=${n}, max=${r})`);
642
+ if (n >= r) throw new ct(`min must be less than max (got min=${n}, max=${r})`);
643
+ let c = { "--meter-level": dt(e, n, r) };
644
644
  return /* @__PURE__ */ t("div", {
645
645
  role: "meter",
646
646
  "aria-valuenow": e,
@@ -649,28 +649,28 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
649
649
  "aria-label": a,
650
650
  "aria-valuetext": o,
651
651
  "data-testid": s,
652
- className: ut(),
652
+ className: lt(),
653
653
  style: c,
654
654
  children: /* @__PURE__ */ t("div", {
655
655
  "aria-hidden": "true",
656
- className: dt({ treatment: i })
656
+ className: ut({ treatment: i })
657
657
  })
658
658
  });
659
- }, mt = b(["grid gap-[var(--space-stack)]", "lg:grid-cols-[10rem_minmax(0,1fr)] lg:items-start lg:gap-x-12"].join(" ")), ht = b("lg:sticky lg:top-6"), gt = b("block border-b border-solid border-border pb-1 font-secondary text-label tracking-label text-muted"), _t = b("block pt-1 font-secondary text-label tracking-label text-foreground"), vt = {
659
+ }, pt = b(["grid gap-[var(--space-stack)]", "lg:grid-cols-[10rem_minmax(0,1fr)] lg:items-start lg:gap-x-12"].join(" ")), mt = b("lg:sticky lg:top-6"), ht = b("block border-b border-solid border-border pb-1 font-secondary text-label tracking-label text-muted"), gt = b("block pt-1 font-secondary text-label tracking-label text-foreground"), _t = {
660
660
  Root: ({ children: e, testId: n }) => /* @__PURE__ */ t("div", {
661
- className: mt(),
661
+ className: pt(),
662
662
  "data-testid": n,
663
663
  children: e
664
664
  }),
665
665
  Index: ({ number: e, children: r, testId: i }) => /* @__PURE__ */ n("div", {
666
- className: ht(),
666
+ className: mt(),
667
667
  "data-testid": i,
668
668
  "aria-hidden": "true",
669
669
  children: [e !== void 0 && /* @__PURE__ */ t("span", {
670
- className: gt(),
670
+ className: ht(),
671
671
  children: e
672
672
  }), /* @__PURE__ */ t("span", {
673
- className: _t(),
673
+ className: gt(),
674
674
  children: r
675
675
  })]
676
676
  }),
@@ -678,15 +678,15 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
678
678
  "data-testid": n,
679
679
  children: e
680
680
  })
681
- }, yt = b("w-full shrink-0 border-t border-solid border-border forced-colors:border-[CanvasText]"), bt = ({ testId: e }) => /* @__PURE__ */ t("div", {
681
+ }, vt = b("w-full shrink-0 border-t border-solid border-border forced-colors:border-[CanvasText]"), yt = ({ testId: e }) => /* @__PURE__ */ t("div", {
682
682
  "aria-hidden": "true",
683
- className: yt(),
683
+ className: vt(),
684
684
  "data-testid": e
685
- }), xt = class extends Error {
685
+ }), bt = class extends Error {
686
686
  constructor(e) {
687
687
  super(`Table configuration is invalid: ${e}`), this.name = "TableConfigurationError";
688
688
  }
689
- }, St = "comfortable", Ct = "marker", wt = b([
689
+ }, xt = "comfortable", St = "marker", Ct = b([
690
690
  "overflow-x-auto",
691
691
  "[&[data-icon-actions]]:p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
692
692
  "[&[data-icon-actions]]:m-[calc(-1*(var(--focus-ring-width)+var(--focus-ring-offset)))]",
@@ -730,11 +730,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
730
730
  }
731
731
  },
732
732
  defaultVariants: {
733
- density: St,
733
+ density: xt,
734
734
  captionVisibility: "visible",
735
- selectionTreatment: Ct
735
+ selectionTreatment: St
736
736
  }
737
- }), Tt = b([
737
+ }), wt = b([
738
738
  "border-t border-solid border-border",
739
739
  "[&[aria-selected=true]>*:first-child]:relative",
740
740
  "[&[aria-selected=true]>*:first-child]:before:absolute [&[aria-selected=true]>*:first-child]:before:inset-y-0 [&[aria-selected=true]>*:first-child]:before:left-0",
@@ -745,7 +745,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
745
745
  false: ""
746
746
  } },
747
747
  defaultVariants: { interactive: !1 }
748
- }), Et = [
748
+ }), Tt = [
749
749
  "a[href]",
750
750
  "button",
751
751
  "input",
@@ -771,11 +771,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
771
771
  "[role=\"searchbox\"]",
772
772
  "[role=\"slider\"]",
773
773
  "[role=\"spinbutton\"]"
774
- ].join(", "), Dt = (e, t) => {
774
+ ].join(", "), Et = (e, t) => {
775
775
  if (!(t instanceof Element)) return !1;
776
- let n = t.closest(Et);
776
+ let n = t.closest(Tt);
777
777
  return n !== null && n !== e && e.contains(n);
778
- }, Ot = /* @__PURE__ */ new Set(["Enter", " "]), kt = b("px-[var(--table-cell-padding-inline)] py-[var(--table-cell-padding-block)] text-small first:pl-0 last:pr-0", {
778
+ }, Dt = /* @__PURE__ */ new Set(["Enter", " "]), Ot = b("px-[var(--table-cell-padding-inline)] py-[var(--table-cell-padding-block)] text-small first:pl-0 last:pr-0", {
779
779
  variants: {
780
780
  variant: {
781
781
  value: "font-body text-foreground tabular-nums",
@@ -791,23 +791,23 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
791
791
  variant: "value",
792
792
  align: "left"
793
793
  }
794
- }), At = b("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", {
794
+ }), kt = b("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", {
795
795
  variants: { align: {
796
796
  left: "text-left",
797
797
  right: "text-right",
798
798
  center: "text-center"
799
799
  } },
800
800
  defaultVariants: { align: "left" }
801
- }), jt = (e) => `var(--table-column-${e})`, Mt = (e, t) => {
801
+ }), At = (e) => `var(--table-column-${e})`, jt = (e, t) => {
802
802
  if (e.width === "icon-action") return "max-content";
803
- let n = e.minWidth === void 0 ? void 0 : jt(e.minWidth);
803
+ let n = e.minWidth === void 0 ? void 0 : At(e.minWidth);
804
804
  if (e.width !== void 0) {
805
- let t = jt(e.width);
805
+ let t = At(e.width);
806
806
  return n === void 0 ? t : `max(${n}, ${t})`;
807
807
  }
808
- if (!Number.isFinite(e.weight) || e.weight <= 0) throw new xt(`column ${t + 1} needs a positive finite weight (got ${e.weight})`);
808
+ if (!Number.isFinite(e.weight) || e.weight <= 0) throw new bt(`column ${t + 1} needs a positive finite weight (got ${e.weight})`);
809
809
  return `minmax(${n ?? "0"}, ${e.weight}fr)`;
810
- }, Nt = (e) => e === void 0 || e.length === 0 ? void 0 : e.map(Mt).join(" "), Pt = (e, t, n, r) => {
810
+ }, Mt = (e) => e === void 0 || e.length === 0 ? void 0 : e.map(jt).join(" "), Nt = (e, t, n, r) => {
811
811
  let [i, a] = m(0);
812
812
  return d(() => {
813
813
  let i = e.current;
@@ -842,16 +842,16 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
842
842
  n,
843
843
  r
844
844
  ]), i;
845
- }, Ft = (e) => {
845
+ }, Pt = (e) => {
846
846
  let t = e.currentTarget;
847
847
  if (getComputedStyle(t).getPropertyValue("--_scroll-released").trim() === "1") return;
848
848
  let n = e.target;
849
849
  if (n === t) return;
850
850
  let r = t.getBoundingClientRect(), i = t.querySelector(":scope > table > thead"), a = n.getBoundingClientRect(), o = Number.parseFloat(getComputedStyle(t).paddingTop) || 0, s = r.top + t.clientTop + (i?.getBoundingClientRect().height ?? 0) + 2 * o, c = r.top + t.clientTop + t.clientHeight - o;
851
851
  i?.contains(n) || (a.top < s ? t.scrollTop += a.top - s : a.bottom > c && (t.scrollTop += a.bottom - c)), a.left < r.left + o ? t.scrollLeft += a.left - r.left - o : a.right > r.left + t.clientLeft + t.clientWidth - o && (t.scrollLeft += a.right - r.left - t.clientLeft - t.clientWidth + o);
852
- }, It = {
852
+ }, Ft = {
853
853
  Root: ({ caption: e, captionVisibility: r, bounded: i, selectionTreatment: a, notes: o, columns: s, density: c, children: l, testId: u }) => {
854
- let d = p(null), f = p(null), m = p(null), h = Nt(s), g = Pt(d, f, m, i === !0), _ = g !== void 0, v = h === void 0 ? void 0 : { "--table-columns": h }, y = h === void 0 ? void 0 : s?.length, b = /* @__PURE__ */ n("table", {
854
+ let d = p(null), f = p(null), m = p(null), h = Mt(s), g = Nt(d, f, m, i === !0), _ = g !== void 0, v = h === void 0 ? void 0 : { "--table-columns": h }, y = h === void 0 ? void 0 : s?.length, b = /* @__PURE__ */ n("table", {
855
855
  ref: f,
856
856
  role: "table",
857
857
  children: [/* @__PURE__ */ t("caption", {
@@ -860,7 +860,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
860
860
  }), l]
861
861
  });
862
862
  return o === void 0 && !i ? /* @__PURE__ */ t("section", {
863
- className: wt({
863
+ className: Ct({
864
864
  density: c,
865
865
  captionVisibility: r,
866
866
  selectionTreatment: a,
@@ -869,16 +869,16 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
869
869
  style: v,
870
870
  "data-columns": y,
871
871
  "data-icon-actions": s?.some((e) => e.width === "icon-action") || void 0,
872
- "data-density": c ?? St,
873
- "data-selection-treatment": a ?? Ct,
872
+ "data-density": c ?? xt,
873
+ "data-selection-treatment": a ?? St,
874
874
  "data-testid": u,
875
875
  "aria-label": e,
876
876
  tabIndex: 0,
877
877
  children: b
878
878
  }) : /* @__PURE__ */ t("div", {
879
879
  ref: d,
880
- onFocus: i ? Ft : void 0,
881
- className: wt({
880
+ onFocus: i ? Pt : void 0,
881
+ className: Ct({
882
882
  density: c,
883
883
  captionVisibility: r,
884
884
  selectionTreatment: a,
@@ -890,8 +890,8 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
890
890
  "data-notes": o,
891
891
  "data-columns": y,
892
892
  "data-icon-actions": s?.some((e) => e.width === "icon-action") || void 0,
893
- "data-density": c ?? St,
894
- "data-selection-treatment": a ?? Ct,
893
+ "data-density": c ?? xt,
894
+ "data-selection-treatment": a ?? St,
895
895
  "data-testid": u,
896
896
  role: _ ? "group" : void 0,
897
897
  "aria-label": _ ? e : void 0,
@@ -919,13 +919,13 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
919
919
  return () => e?.unsubscribe();
920
920
  }, [i]);
921
921
  let s = (e) => {
922
- Dt(e.currentTarget, e.target) || r?.next();
922
+ Et(e.currentTarget, e.target) || r?.next();
923
923
  }, c = (e) => {
924
- e.target !== e.currentTarget || !Ot.has(e.key) || (e.key === " " && e.preventDefault(), e.repeat || r?.next());
924
+ e.target !== e.currentTarget || !Dt.has(e.key) || (e.key === " " && e.preventDefault(), e.repeat || r?.next());
925
925
  }, l = r !== void 0;
926
926
  return /* @__PURE__ */ t("tr", {
927
927
  role: "row",
928
- className: Tt({ interactive: l }),
928
+ className: wt({ interactive: l }),
929
929
  "data-testid": n,
930
930
  tabIndex: l ? 0 : void 0,
931
931
  "aria-selected": i === void 0 ? void 0 : a,
@@ -938,19 +938,19 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
938
938
  role: e === "row" ? "rowheader" : "columnheader",
939
939
  scope: e,
940
940
  "aria-sort": r,
941
- className: At({ align: n }),
941
+ className: kt({ align: n }),
942
942
  children: i
943
943
  }),
944
944
  Cell: ({ variant: e, align: n, children: r }) => /* @__PURE__ */ t("td", {
945
945
  role: "cell",
946
- className: kt({
946
+ className: Ot({
947
947
  variant: e,
948
948
  align: n
949
949
  }),
950
950
  "data-variant": e ?? "value",
951
951
  children: r
952
952
  })
953
- }, Lt = b("font-secondary text-label tracking-label font-medium", {
953
+ }, It = b("font-secondary text-label tracking-label font-medium", {
954
954
  variants: { color: {
955
955
  foreground: "text-foreground",
956
956
  muted: "text-muted",
@@ -960,11 +960,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
960
960
  info: "text-info"
961
961
  } },
962
962
  defaultVariants: { color: "muted" }
963
- }), Rt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("p", {
964
- className: Lt({ color: n }),
963
+ }), Lt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("p", {
964
+ className: It({ color: n }),
965
965
  "data-testid": r,
966
966
  children: e
967
- }), zt = b("font-heading text-display leading-display tracking-optical max-w-[var(--measure-display)]", {
967
+ }), Rt = b("font-heading text-display leading-display tracking-optical max-w-[var(--measure-display)]", {
968
968
  variants: { color: {
969
969
  foreground: "text-foreground",
970
970
  muted: "text-muted",
@@ -974,11 +974,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
974
974
  info: "text-info"
975
975
  } },
976
976
  defaultVariants: { color: "foreground" }
977
- }), Bt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h1", {
978
- className: zt({ color: n }),
977
+ }), zt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h1", {
978
+ className: Rt({ color: n }),
979
979
  "data-testid": r,
980
980
  children: e
981
- }), Vt = b("font-heading text-title leading-title tracking-optical", {
981
+ }), Bt = b("font-heading text-title leading-title tracking-optical", {
982
982
  variants: { color: {
983
983
  foreground: "text-foreground",
984
984
  muted: "text-muted",
@@ -988,11 +988,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
988
988
  info: "text-info"
989
989
  } },
990
990
  defaultVariants: { color: "foreground" }
991
- }), Ht = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h2", {
992
- className: Vt({ color: n }),
991
+ }), Vt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h2", {
992
+ className: Bt({ color: n }),
993
993
  "data-testid": r,
994
994
  children: e
995
- }), Ut = b("font-heading text-subtitle leading-subtitle", {
995
+ }), Ht = b("font-heading text-subtitle leading-subtitle", {
996
996
  variants: { color: {
997
997
  foreground: "text-foreground",
998
998
  muted: "text-muted",
@@ -1002,11 +1002,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1002
1002
  info: "text-info"
1003
1003
  } },
1004
1004
  defaultVariants: { color: "foreground" }
1005
- }), Wt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h3", {
1006
- className: Ut({ color: n }),
1005
+ }), Ut = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h3", {
1006
+ className: Ht({ color: n }),
1007
1007
  "data-testid": r,
1008
1008
  children: e
1009
- }), Gt = b("font-heading text-body leading-body font-bold", {
1009
+ }), Wt = b("font-heading text-body leading-body font-bold", {
1010
1010
  variants: { color: {
1011
1011
  foreground: "text-foreground",
1012
1012
  muted: "text-muted",
@@ -1016,11 +1016,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1016
1016
  info: "text-info"
1017
1017
  } },
1018
1018
  defaultVariants: { color: "foreground" }
1019
- }), Kt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h4", {
1020
- className: Gt({ color: n }),
1019
+ }), Gt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h4", {
1020
+ className: Wt({ color: n }),
1021
1021
  "data-testid": r,
1022
1022
  children: e
1023
- }), qt = b("font-heading text-body leading-body font-semibold", {
1023
+ }), Kt = b("font-heading text-body leading-body font-semibold", {
1024
1024
  variants: { color: {
1025
1025
  foreground: "text-foreground",
1026
1026
  muted: "text-muted",
@@ -1030,11 +1030,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1030
1030
  info: "text-info"
1031
1031
  } },
1032
1032
  defaultVariants: { color: "foreground" }
1033
- }), Jt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h5", {
1034
- className: qt({ color: n }),
1033
+ }), qt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h5", {
1034
+ className: Kt({ color: n }),
1035
1035
  "data-testid": r,
1036
1036
  children: e
1037
- }), Yt = b("font-heading text-body leading-body font-medium", {
1037
+ }), Jt = b("font-heading text-body leading-body font-medium", {
1038
1038
  variants: { color: {
1039
1039
  foreground: "text-foreground",
1040
1040
  muted: "text-muted",
@@ -1044,11 +1044,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1044
1044
  info: "text-info"
1045
1045
  } },
1046
1046
  defaultVariants: { color: "foreground" }
1047
- }), Xt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h6", {
1048
- className: Yt({ color: n }),
1047
+ }), Yt = ({ children: e, color: n, testId: r }) => /* @__PURE__ */ t("h6", {
1048
+ className: Jt({ color: n }),
1049
1049
  "data-testid": r,
1050
1050
  children: e
1051
- }), Zt = b("font-secondary text-small", {
1051
+ }), Xt = b("font-secondary text-small", {
1052
1052
  variants: {
1053
1053
  emphasis: {
1054
1054
  regular: "",
@@ -1072,15 +1072,15 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1072
1072
  truncate: !1,
1073
1073
  emphasis: "regular"
1074
1074
  }
1075
- }), Qt = ({ children: e, color: n, emphasis: r, truncate: i, testId: a }) => /* @__PURE__ */ t("p", {
1076
- className: Zt({
1075
+ }), Zt = ({ children: e, color: n, emphasis: r, truncate: i, testId: a }) => /* @__PURE__ */ t("p", {
1076
+ className: Xt({
1077
1077
  color: n,
1078
1078
  emphasis: r,
1079
1079
  truncate: i
1080
1080
  }),
1081
1081
  "data-testid": a,
1082
1082
  children: e
1083
- }), $t = b("font-body text-body leading-body", {
1083
+ }), Qt = b("font-body text-body leading-body", {
1084
1084
  variants: {
1085
1085
  emphasis: {
1086
1086
  regular: "",
@@ -1104,21 +1104,21 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1104
1104
  truncate: !1,
1105
1105
  emphasis: "regular"
1106
1106
  }
1107
- }), en = ({ children: e, color: n, emphasis: r, truncate: i, testId: a }) => /* @__PURE__ */ t("p", {
1108
- className: $t({
1107
+ }), $t = ({ children: e, color: n, emphasis: r, truncate: i, testId: a }) => /* @__PURE__ */ t("p", {
1108
+ className: Qt({
1109
1109
  color: n,
1110
1110
  emphasis: r,
1111
1111
  truncate: i
1112
1112
  }),
1113
1113
  "data-testid": a,
1114
1114
  children: e
1115
- }), tn = b("flex flex-col gap-[var(--space-stack)]", {
1115
+ }), en = b("flex flex-col gap-[var(--space-stack)]", {
1116
1116
  variants: { variant: {
1117
1117
  default: "max-w-[var(--measure)]",
1118
1118
  letter: "min-w-0 max-w-[min(100%,var(--measure-letter))] font-letter text-letter"
1119
1119
  } },
1120
1120
  defaultVariants: { variant: "default" }
1121
- }), nn = a(!1), rn = b("font-body text-lede leading-lede text-foreground"), an = b("", {
1121
+ }), tn = a(!1), nn = b("font-body text-lede leading-lede text-foreground"), rn = b("", {
1122
1122
  variants: {
1123
1123
  letter: {
1124
1124
  false: "font-body text-body leading-body",
@@ -1137,82 +1137,82 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1137
1137
  letter: !1,
1138
1138
  color: "foreground"
1139
1139
  }
1140
- }), on = b("font-body text-small text-muted"), sn = {
1141
- Root: ({ children: e, testId: n, variant: r }) => /* @__PURE__ */ t(nn, {
1140
+ }), an = b("font-body text-small text-muted"), on = {
1141
+ Root: ({ children: e, testId: n, variant: r }) => /* @__PURE__ */ t(tn, {
1142
1142
  value: r === "letter",
1143
1143
  children: /* @__PURE__ */ t("div", {
1144
- className: tn({ variant: r }),
1144
+ className: en({ variant: r }),
1145
1145
  "data-testid": n,
1146
1146
  children: e
1147
1147
  })
1148
1148
  }),
1149
1149
  Lede: ({ children: e }) => /* @__PURE__ */ t("p", {
1150
- className: rn(),
1150
+ className: nn(),
1151
1151
  children: e
1152
1152
  }),
1153
1153
  Body: ({ color: e, children: n }) => /* @__PURE__ */ t("p", {
1154
- className: an({
1154
+ className: rn({
1155
1155
  color: e,
1156
- letter: c(nn)
1156
+ letter: c(tn)
1157
1157
  }),
1158
1158
  children: n
1159
1159
  }),
1160
1160
  Tail: ({ children: e }) => /* @__PURE__ */ t("p", {
1161
- className: on(),
1161
+ className: an(),
1162
1162
  children: e
1163
1163
  })
1164
- }, U = "font-control text-body text-balance wrap-anywhere rounded-[var(--radius-control)] select-none inline-flex flex-row items-center justify-center gap-2", cn = b("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)]", {
1164
+ }, W = "font-control text-body text-balance wrap-anywhere rounded-[var(--radius-control)] select-none inline-flex flex-row items-center justify-center gap-2", sn = b("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)]", {
1165
1165
  variants: { variant: {
1166
- primary: `${U} 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`,
1167
- secondary: `${U} 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`,
1168
- ghost: `${U} 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`,
1169
- outlined: `${U} 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`,
1170
- destructive: `${U} 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`,
1166
+ primary: `${W} 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`,
1167
+ secondary: `${W} 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`,
1168
+ ghost: `${W} 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`,
1169
+ outlined: `${W} 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`,
1170
+ destructive: `${W} 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`,
1171
1171
  link: "inline p-0 min-w-0 max-w-full whitespace-normal wrap-anywhere bg-transparent [font:inherit] [letter-spacing:inherit] [text-align:inherit] text-link underline decoration-[length:var(--underline-thickness)] underline-offset-[var(--underline-offset)] enabled:hover:decoration-[length:var(--underline-thickness-hover)] disabled:text-disabled",
1172
1172
  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"
1173
1173
  } },
1174
1174
  defaultVariants: { variant: "primary" }
1175
- }), ln = ({ children: e, disabled: n, testId: r, variant: i, onClick$: a, ariaLabel: o, type: s = "button" }) => /* @__PURE__ */ t("button", {
1175
+ }), cn = ({ children: e, disabled: n, testId: r, variant: i, onClick$: a, ariaLabel: o, type: s = "button" }) => /* @__PURE__ */ t("button", {
1176
1176
  type: s,
1177
1177
  "data-testid": r,
1178
- className: cn({ variant: i }),
1178
+ className: sn({ variant: i }),
1179
1179
  onClick: () => a?.next(),
1180
1180
  disabled: n,
1181
1181
  "aria-label": o,
1182
1182
  children: e
1183
- }), un = class extends Error {
1183
+ }), ln = class extends Error {
1184
1184
  constructor(e) {
1185
1185
  super(`Choices.${e} must be composed inside Choices.Root`), this.name = "ChoicesCompositionError";
1186
1186
  }
1187
- }, dn = b("flex min-w-0 gap-[var(--space-stack)]", {
1187
+ }, un = b("flex min-w-0 gap-[var(--space-stack)]", {
1188
1188
  variants: { arrangement: {
1189
1189
  vertical: "flex-col [&>[role=radio]]:w-full",
1190
1190
  wrapping: "flex-row flex-wrap items-start"
1191
1191
  } },
1192
1192
  defaultVariants: { arrangement: "vertical" }
1193
- }), fn = b([
1193
+ }), dn = b([
1194
1194
  "group/choice flex min-w-0 max-w-full flex-none flex-row items-start gap-3 text-left wrap-anywhere",
1195
1195
  "rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent aria-checked:border-foreground",
1196
1196
  "px-3 py-2",
1197
1197
  "cursor-pointer disabled:cursor-not-allowed",
1198
1198
  "transition-colors duration-[var(--motion-duration-color)]",
1199
1199
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
1200
- ].join(" ")), pn = a(void 0), mn = (e) => {
1201
- let t = c(pn);
1202
- if (t === void 0) throw new un(e);
1200
+ ].join(" ")), fn = a(void 0), pn = (e) => {
1201
+ let t = c(fn);
1202
+ if (t === void 0) throw new ln(e);
1203
1203
  return t;
1204
- }, hn = (e, t) => {
1204
+ }, mn = (e, t) => {
1205
1205
  let n = e.closest("[role=\"radiogroup\"]");
1206
1206
  if (n === null) return;
1207
1207
  let r = Array.from(n.querySelectorAll(":scope > [role=\"radio\"]"));
1208
1208
  return r[(r.indexOf(e) + t + r.length) % r.length];
1209
- }, gn = {
1209
+ }, hn = {
1210
1210
  ArrowDown: 1,
1211
1211
  ArrowRight: 1,
1212
1212
  ArrowUp: -1,
1213
1213
  ArrowLeft: -1
1214
- }, _n = {
1215
- Root: ({ arrangement: e, selected: n, onSelect$: r, label: i, inert: a, children: o, testId: s }) => /* @__PURE__ */ t(pn.Provider, {
1214
+ }, gn = {
1215
+ Root: ({ arrangement: e, selected: n, onSelect$: r, label: i, inert: a, children: o, testId: s }) => /* @__PURE__ */ t(fn.Provider, {
1216
1216
  value: {
1217
1217
  selected: n,
1218
1218
  onSelect$: r,
@@ -1222,13 +1222,13 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1222
1222
  role: "radiogroup",
1223
1223
  "aria-label": i,
1224
1224
  "aria-disabled": a === !0 ? "true" : void 0,
1225
- className: dn({ arrangement: e }),
1225
+ className: un({ arrangement: e }),
1226
1226
  "data-testid": s,
1227
1227
  children: o
1228
1228
  })
1229
1229
  }),
1230
1230
  Choice: ({ value: e, children: r, description: i, testId: a }) => {
1231
- let { selected: o, onSelect$: s, inert: c } = mn("Choice"), l = o === e, d = u(), f = `${d}-name`, p = `${d}-description`;
1231
+ let { selected: o, onSelect$: s, inert: c } = pn("Choice"), l = o === e, d = u(), f = `${d}-name`, p = `${d}-description`;
1232
1232
  return /* @__PURE__ */ n("button", {
1233
1233
  type: "button",
1234
1234
  role: "radio",
@@ -1239,15 +1239,15 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1239
1239
  disabled: c,
1240
1240
  "data-value": e,
1241
1241
  "data-testid": a,
1242
- className: fn(),
1242
+ className: dn(),
1243
1243
  onClick: () => {
1244
1244
  l || s.next(e);
1245
1245
  },
1246
1246
  onKeyDown: (e) => {
1247
- let t = gn[e.key];
1247
+ let t = hn[e.key];
1248
1248
  if (t === void 0 || c) return;
1249
1249
  e.preventDefault();
1250
- let n = hn(e.currentTarget, t);
1250
+ let n = mn(e.currentTarget, t);
1251
1251
  if (n === void 0) return;
1252
1252
  n.focus();
1253
1253
  let r = n.dataset.value;
@@ -1273,14 +1273,37 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1273
1273
  })]
1274
1274
  });
1275
1275
  }
1276
- }, vn = b("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", {
1276
+ }, _n = b([
1277
+ "block min-w-0 text-foreground",
1278
+ "[&>summary]:w-fit [&>summary]:max-w-full [&>summary]:min-w-0 [&>summary]:cursor-pointer [&>summary]:wrap-anywhere",
1279
+ "[&>summary]:rounded-[var(--radius-control)] [&>summary]:font-secondary [&>summary]:font-medium [&>summary]:text-body [&>summary]:text-foreground",
1280
+ "[&>summary]:outline-focus-ring [&>summary]:outline-offset-[var(--focus-ring-offset)] [&>summary]:focus-visible:outline [&>summary]:focus-visible:outline-[length:var(--focus-ring-width)]",
1281
+ "[&>[data-content]]:min-w-0 [&>[data-content]]:pt-[var(--space-stack)]"
1282
+ ]), vn = (e) => {
1283
+ let t = e.currentTarget, n = t.parentElement, r = t.ownerDocument.activeElement;
1284
+ n instanceof HTMLDetailsElement && n.open && r !== t && n.contains(r) && t.focus({ preventScroll: !0 });
1285
+ }, yn = ({ summary: e, children: r, defaultExpanded: i, testId: a }) => {
1286
+ let [o] = m(i === !0);
1287
+ return /* @__PURE__ */ n("details", {
1288
+ className: _n(),
1289
+ open: o,
1290
+ "data-testid": a,
1291
+ children: [/* @__PURE__ */ t("summary", {
1292
+ onClick: vn,
1293
+ children: e
1294
+ }), /* @__PURE__ */ t("div", {
1295
+ "data-content": !0,
1296
+ children: r
1297
+ })]
1298
+ });
1299
+ }, bn = b("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", {
1277
1300
  variants: { variant: {
1278
1301
  text: "",
1279
1302
  email: "",
1280
1303
  url: ""
1281
1304
  } },
1282
1305
  defaultVariants: { variant: "text" }
1283
- }), yn = ({ 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 }) => {
1306
+ }), xn = ({ 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 }) => {
1284
1307
  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);
1285
1308
  return l(() => {
1286
1309
  let e = v?.subscribe(() => {
@@ -1300,7 +1323,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1300
1323
  id: x,
1301
1324
  name: r,
1302
1325
  type: i ?? "text",
1303
- className: vn({ variant: i }),
1326
+ className: bn({ variant: i }),
1304
1327
  required: a,
1305
1328
  disabled: c,
1306
1329
  defaultValue: d,
@@ -1327,7 +1350,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1327
1350
  })
1328
1351
  ]
1329
1352
  });
1330
- }, bn = b("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
1353
+ }, Sn = b("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
1331
1354
  variants: { treatment: {
1332
1355
  prose: "text-link underline decoration-[length:var(--underline-thickness)] underline-offset-[var(--underline-offset)] hover:decoration-[length:var(--underline-thickness-hover)]",
1333
1356
  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",
@@ -1335,15 +1358,15 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1335
1358
  graphic: "text-inherit no-underline"
1336
1359
  } },
1337
1360
  defaultVariants: { treatment: "prose" }
1338
- }), xn = ({ href: e, children: n, treatment: r, external: i, current: a, testId: o }) => /* @__PURE__ */ t("a", {
1361
+ }), Cn = ({ href: e, children: n, treatment: r, external: i, current: a, testId: o }) => /* @__PURE__ */ t("a", {
1339
1362
  href: e,
1340
- className: bn({ treatment: r }),
1363
+ className: Sn({ treatment: r }),
1341
1364
  target: i ? "_blank" : void 0,
1342
1365
  rel: i ? "noopener noreferrer" : void 0,
1343
1366
  "aria-current": a ? "page" : void 0,
1344
1367
  "data-testid": o,
1345
1368
  children: n
1346
- }), Sn = (e, t, n, r) => {
1369
+ }), wn = (e, t, n, r) => {
1347
1370
  let i = Math.max(e.length - 1, 0) * r;
1348
1371
  if (e.reduce((e, t) => e + t, 0) + i <= n) return e.length;
1349
1372
  let a = 0, o = t;
@@ -1352,11 +1375,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1352
1375
  o += t + r, a += 1;
1353
1376
  }
1354
1377
  return a;
1355
- }, Cn = class extends Error {
1378
+ }, Tn = class extends Error {
1356
1379
  constructor(e) {
1357
1380
  super(`MultiSelect.${e} must be composed inside MultiSelect.Root`), this.name = "MultiSelectCompositionError";
1358
1381
  }
1359
- }, wn = "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", Tn = `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 ${wn}`, W = b("", {
1382
+ }, En = "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", Dn = `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 ${En}`, G = b("", {
1360
1383
  variants: { part: {
1361
1384
  root: [
1362
1385
  "relative flex flex-col gap-[var(--space-stack)]",
@@ -1369,7 +1392,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1369
1392
  "font-control text-body text-foreground transition-colors duration-[var(--motion-duration-color)]",
1370
1393
  "data-[disabled]:border-disabled data-[disabled]:text-muted"
1371
1394
  ].join(" "),
1372
- 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 ${wn}`,
1395
+ 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 ${En}`,
1373
1396
  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",
1374
1397
  track: "relative flex min-h-[calc(var(--text-body)*var(--leading-body))] items-center gap-1",
1375
1398
  chip: [
@@ -1377,9 +1400,9 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1377
1400
  "rounded-[var(--radius-control)] bg-backing py-0.5 pr-0.5 pl-2 font-secondary text-small text-foreground",
1378
1401
  "group-data-[disabled]/field:text-muted data-[overflow]:invisible data-[overflow]:absolute"
1379
1402
  ].join(" "),
1380
- count: Tn,
1381
- countMeasure: `${Tn} invisible absolute`,
1382
- 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 ${wn}`,
1403
+ count: Dn,
1404
+ countMeasure: `${Dn} invisible absolute`,
1405
+ 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 ${En}`,
1383
1406
  surface: [
1384
1407
  "absolute left-0 right-0 z-10 flex flex-col gap-1 overflow-y-auto p-1",
1385
1408
  "rounded-[var(--radius-control)] border border-solid border-border bg-surface shadow-[var(--elevation-floating)]",
@@ -1388,22 +1411,22 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1388
1411
  ].join(" ")
1389
1412
  } },
1390
1413
  defaultVariants: { part: "root" }
1391
- }), En = b([
1414
+ }), On = b([
1392
1415
  "group/option flex w-full flex-row items-center gap-3 text-left",
1393
1416
  "rounded-[var(--radius-control)] bg-transparent px-3 py-2 hover:bg-backing",
1394
1417
  "cursor-pointer disabled:cursor-not-allowed",
1395
1418
  "transition-colors duration-[var(--motion-duration-color)]",
1396
1419
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
1397
- ].join(" ")), Dn = 8, On = a(void 0), kn = (e) => {
1398
- let t = c(On);
1399
- if (t === void 0) throw new Cn(e);
1420
+ ].join(" ")), kn = 8, An = a(void 0), jn = (e) => {
1421
+ let t = c(An);
1422
+ if (t === void 0) throw new Tn(e);
1400
1423
  return t;
1401
- }, G = (e) => (t) => {
1424
+ }, K = (e) => (t) => {
1402
1425
  e.current = t ?? void 0;
1403
- }, An = (e) => e.getBoundingClientRect().width, jn = (e) => r.toArray(e).flatMap((e) => {
1426
+ }, Mn = (e) => e.getBoundingClientRect().width, Nn = (e) => r.toArray(e).flatMap((e) => {
1404
1427
  if (!o(e)) return [];
1405
- if (e.type === i) return jn(e.props.children);
1406
- if (e.type === Bn) {
1428
+ if (e.type === i) return Nn(e.props.children);
1429
+ if (e.type === Hn) {
1407
1430
  let { value: t, children: n } = e.props;
1408
1431
  return [{
1409
1432
  value: t,
@@ -1411,19 +1434,19 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1411
1434
  }];
1412
1435
  }
1413
1436
  return [];
1414
- }), Mn = (e) => Array.from(e.querySelectorAll("[data-multiselect-chip]:not([data-overflow]) button")), Nn = (e) => {
1437
+ }), Pn = (e) => Array.from(e.querySelectorAll("[data-multiselect-chip]:not([data-overflow]) button")), Fn = (e) => {
1415
1438
  let t = document.activeElement;
1416
1439
  return !e.contains(t) || t instanceof Element && t.closest("[data-overflow]") !== null;
1417
- }, Pn = (e) => e.querySelector("[role=\"checkbox\"][aria-checked=\"true\"]") ?? e.querySelector("[role=\"checkbox\"]") ?? void 0, Fn = (e, t) => [...new Set(e.map(({ value: e }) => e).filter((e) => t.has(e)))], In = (e) => e.kind === "firstOption" || !e.control.isConnected, Ln = (e, t, n, r) => {
1440
+ }, In = (e) => e.querySelector("[role=\"checkbox\"][aria-checked=\"true\"]") ?? e.querySelector("[role=\"checkbox\"]") ?? void 0, Ln = (e, t) => [...new Set(e.map(({ value: e }) => e).filter((e) => t.has(e)))], Rn = (e) => e.kind === "firstOption" || !e.control.isConnected, zn = (e, t, n, r) => {
1418
1441
  switch (e.kind) {
1419
- case "firstOption": return r === void 0 ? void 0 : Pn(r);
1442
+ case "firstOption": return r === void 0 ? void 0 : In(r);
1420
1443
  case "afterRemoval": {
1421
- let r = Mn(t);
1444
+ let r = Pn(t);
1422
1445
  return r[e.index] ?? r[e.index - 1] ?? n;
1423
1446
  }
1424
1447
  case "afterClear": return n;
1425
1448
  }
1426
- }, Rn = () => /* @__PURE__ */ t("svg", {
1449
+ }, Bn = () => /* @__PURE__ */ t("svg", {
1427
1450
  "aria-hidden": !0,
1428
1451
  focusable: !1,
1429
1452
  viewBox: "0 0 16 16",
@@ -1435,8 +1458,8 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1435
1458
  strokeWidth: 1.5,
1436
1459
  strokeLinecap: "round"
1437
1460
  })
1438
- }), zn = ({ label: e, selected$: r, onChange$: i, emptyLabel: a, removeLabel: o, clearLabel: s, overflowLabel: c, hint: h, disabled: g, testId: _, children: v }) => {
1439
- let y = u(), b = `${y}-label`, x = `${y}-trigger`, S = `${y}-options`, C = `${y}-hint`, w = `${y}-empty`, T = g === !0, [ee, te] = m([]), [ne, E] = m(!1), [re, ie] = m(void 0), [D, ae] = m("below"), [, oe] = f((e) => e + 1, 0), O = p(void 0), se = p(void 0), k = p(void 0), A = p(void 0), j = p(void 0), M = p(void 0), N = p(!1), P = ne && !T, ce = jn(v), F = new Set(ee), I = ce.filter((e) => F.has(e.value)), le = re === void 0 ? I.length : Math.min(re, I.length), L = I.length - le;
1461
+ }), Vn = ({ label: e, selected$: r, onChange$: i, emptyLabel: a, removeLabel: o, clearLabel: s, overflowLabel: c, hint: h, disabled: g, testId: _, children: v }) => {
1462
+ let y = u(), b = `${y}-label`, x = `${y}-trigger`, S = `${y}-options`, C = `${y}-hint`, w = `${y}-empty`, T = g === !0, [ee, te] = m([]), [ne, E] = m(!1), [re, ie] = m(void 0), [D, ae] = m("below"), [, oe] = f((e) => e + 1, 0), O = p(void 0), se = p(void 0), k = p(void 0), A = p(void 0), j = p(void 0), M = p(void 0), N = p(!1), P = ne && !T, ce = Nn(v), F = new Set(ee), I = ce.filter((e) => F.has(e.value)), le = re === void 0 ? I.length : Math.min(re, I.length), L = I.length - le;
1440
1463
  d(() => {
1441
1464
  te([]);
1442
1465
  let e = r.subscribe((e) => te(e));
@@ -1451,12 +1474,12 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1451
1474
  }, []), d(() => {
1452
1475
  let e = A.current;
1453
1476
  if (e === void 0) return;
1454
- let t = Array.from(e.querySelectorAll("[data-multiselect-chip]")), n = e.querySelector("[data-multiselect-count]"), r = Number.parseFloat(getComputedStyle(e).columnGap) || 0, i = Sn(t.map(An), n === null ? 0 : An(n), An(e), r);
1477
+ let t = Array.from(e.querySelectorAll("[data-multiselect-chip]")), n = e.querySelector("[data-multiselect-count]"), r = Number.parseFloat(getComputedStyle(e).columnGap) || 0, i = wn(t.map(Mn), n === null ? 0 : Mn(n), Mn(e), r);
1455
1478
  ie((e) => e === i ? e : i);
1456
1479
  }), d(() => {
1457
1480
  let e = se.current, t = j.current;
1458
1481
  if (!P || e === void 0 || t === void 0) return;
1459
- let n = e.getBoundingClientRect(), r = window.innerHeight - n.bottom - Dn, i = n.top - Dn, a = t.scrollHeight > r && i > r;
1482
+ let n = e.getBoundingClientRect(), r = window.innerHeight - n.bottom - kn, i = n.top - kn, a = t.scrollHeight > r && i > r;
1460
1483
  t.style.setProperty("--multiselect-surface-max-height", `${Math.max(a ? i : r, 0)}px`), ae(a ? "above" : "below");
1461
1484
  }), l(() => {
1462
1485
  if (!P) return;
@@ -1469,10 +1492,10 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1469
1492
  let e = O.current, t = k.current;
1470
1493
  if (e === void 0 || t === void 0) return;
1471
1494
  let n = M.current;
1472
- n !== void 0 && In(n) ? (M.current = void 0, Ln(n, e, t, P ? j.current : void 0)?.focus()) : n === void 0 && N.current && Nn(e) && t.focus(), N.current = e.contains(document.activeElement);
1495
+ n !== void 0 && Rn(n) ? (M.current = void 0, zn(n, e, t, P ? j.current : void 0)?.focus()) : n === void 0 && N.current && Fn(e) && t.focus(), N.current = e.contains(document.activeElement);
1473
1496
  });
1474
1497
  let ue = (e) => {
1475
- i.next(Fn(ce, e));
1498
+ i.next(Ln(ce, e));
1476
1499
  }, de = (e) => {
1477
1500
  if (T) return;
1478
1501
  let t = new Set(F);
@@ -1491,33 +1514,33 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1491
1514
  kind: "afterClear",
1492
1515
  control: e.currentTarget
1493
1516
  }), i.next([]));
1494
- }, pe = (e) => {
1495
- T || (e.detail === 0 && (M.current = { kind: "firstOption" }), E(!0));
1496
- }, me = (e) => {
1497
- P ? E(!1) : pe(e);
1498
1517
  }, z = (e) => {
1518
+ T || (e.detail === 0 && (M.current = { kind: "firstOption" }), E(!0));
1519
+ }, pe = (e) => {
1520
+ P ? E(!1) : z(e);
1521
+ }, B = (e) => {
1499
1522
  if (e.key !== "ArrowDown" || T) return;
1500
1523
  e.preventDefault();
1501
1524
  let t = j.current;
1502
- P && t !== void 0 ? Pn(t)?.focus() : (M.current = { kind: "firstOption" }, E(!0));
1503
- }, he = (e) => {
1525
+ P && t !== void 0 ? In(t)?.focus() : (M.current = { kind: "firstOption" }, E(!0));
1526
+ }, me = (e) => {
1504
1527
  e.key !== "Escape" || !P || (e.preventDefault(), e.stopPropagation(), E(!1), k.current?.focus());
1505
- }, B = (e) => {
1528
+ }, V = (e) => {
1506
1529
  N.current = !0;
1507
1530
  let t = M.current;
1508
1531
  t !== void 0 && t.kind !== "firstOption" && e.target !== t.control && (M.current = void 0);
1509
- }, V = (e) => {
1532
+ }, H = (e) => {
1510
1533
  let t = O.current, n = e.relatedTarget;
1511
1534
  t !== void 0 && n instanceof Node && t.contains(n) || e.target.isConnected && (N.current = !1, M.current = void 0, E(!1));
1512
- }, ge = (e) => {
1535
+ }, he = (e) => {
1513
1536
  (!(e.target instanceof Element) || e.target.closest("button") === null) && e.preventDefault();
1514
- }, _e = [I.length === 0 ? w : void 0, h ? C : void 0].filter(Boolean).join(" ") || void 0;
1537
+ }, ge = [I.length === 0 ? w : void 0, h ? C : void 0].filter(Boolean).join(" ") || void 0;
1515
1538
  return /* @__PURE__ */ n("div", {
1516
- ref: G(O),
1517
- className: W(),
1518
- onKeyDown: he,
1519
- onFocus: B,
1520
- onBlur: V,
1539
+ ref: K(O),
1540
+ className: G(),
1541
+ onKeyDown: me,
1542
+ onFocus: V,
1543
+ onBlur: H,
1521
1544
  children: [
1522
1545
  /* @__PURE__ */ t("label", {
1523
1546
  id: b,
@@ -1525,24 +1548,24 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1525
1548
  children: e
1526
1549
  }),
1527
1550
  /* @__PURE__ */ n("div", {
1528
- ref: G(se),
1551
+ ref: K(se),
1529
1552
  "data-multiselect-field": !0,
1530
1553
  "data-disabled": T || void 0,
1531
- className: W({ part: "field" }),
1554
+ className: G({ part: "field" }),
1532
1555
  children: [
1533
1556
  /* @__PURE__ */ t("button", {
1534
- ref: G(k),
1557
+ ref: K(k),
1535
1558
  id: x,
1536
1559
  type: "button",
1537
1560
  "aria-labelledby": b,
1538
1561
  "aria-expanded": P,
1539
1562
  "aria-controls": P ? S : void 0,
1540
- "aria-describedby": _e,
1563
+ "aria-describedby": ge,
1541
1564
  disabled: T,
1542
1565
  "data-testid": _,
1543
- className: W({ part: "trigger" }),
1544
- onClick: me,
1545
- onKeyDown: z,
1566
+ className: G({ part: "trigger" }),
1567
+ onClick: pe,
1568
+ onKeyDown: B,
1546
1569
  children: /* @__PURE__ */ t("svg", {
1547
1570
  "aria-hidden": !0,
1548
1571
  focusable: !1,
@@ -1559,11 +1582,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1559
1582
  })
1560
1583
  }),
1561
1584
  /* @__PURE__ */ t("div", {
1562
- className: W({ part: "clip" }),
1585
+ className: G({ part: "clip" }),
1563
1586
  children: /* @__PURE__ */ n("div", {
1564
- ref: G(A),
1587
+ ref: K(A),
1565
1588
  "data-multiselect-track": !0,
1566
- className: W({ part: "track" }),
1589
+ className: G({ part: "track" }),
1567
1590
  children: [
1568
1591
  I.length === 0 && /* @__PURE__ */ t("span", {
1569
1592
  id: w,
@@ -1577,7 +1600,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1577
1600
  "data-overflow": a || void 0,
1578
1601
  "aria-hidden": a || void 0,
1579
1602
  inert: a || void 0,
1580
- className: W({ part: "chip" }),
1603
+ className: G({ part: "chip" }),
1581
1604
  children: [/* @__PURE__ */ t("span", {
1582
1605
  className: "truncate",
1583
1606
  children: r
@@ -1586,23 +1609,23 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1586
1609
  "aria-label": o.replaceAll("{label}", r),
1587
1610
  disabled: T,
1588
1611
  tabIndex: a ? -1 : void 0,
1589
- className: W({ part: "iconButton" }),
1612
+ className: G({ part: "iconButton" }),
1590
1613
  onClick: fe(e, i),
1591
- children: /* @__PURE__ */ t(Rn, {})
1614
+ children: /* @__PURE__ */ t(Bn, {})
1592
1615
  })]
1593
1616
  }, e);
1594
1617
  }),
1595
1618
  L > 0 && /* @__PURE__ */ t("button", {
1596
1619
  type: "button",
1597
1620
  disabled: T,
1598
- className: W({ part: "count" }),
1599
- onClick: pe,
1621
+ className: G({ part: "count" }),
1622
+ onClick: z,
1600
1623
  children: c.replaceAll("{count}", String(L))
1601
1624
  }),
1602
1625
  I.length > 0 && /* @__PURE__ */ t("span", {
1603
1626
  "aria-hidden": !0,
1604
1627
  "data-multiselect-count": !0,
1605
- className: W({ part: "countMeasure" }),
1628
+ className: G({ part: "countMeasure" }),
1606
1629
  children: c.replaceAll("{count}", String(I.length))
1607
1630
  })
1608
1631
  ]
@@ -1612,9 +1635,9 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1612
1635
  type: "button",
1613
1636
  "aria-label": s,
1614
1637
  disabled: T,
1615
- className: W({ part: "iconButton" }),
1638
+ className: G({ part: "iconButton" }),
1616
1639
  onClick: R,
1617
- children: /* @__PURE__ */ t(Rn, {})
1640
+ children: /* @__PURE__ */ t(Bn, {})
1618
1641
  }) : /* @__PURE__ */ t("span", {
1619
1642
  "aria-hidden": !0,
1620
1643
  className: "size-6 shrink-0"
@@ -1624,14 +1647,14 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1624
1647
  className: "size-6 shrink-0"
1625
1648
  }),
1626
1649
  P && /* @__PURE__ */ t("div", {
1627
- ref: G(j),
1650
+ ref: K(j),
1628
1651
  id: S,
1629
1652
  role: "group",
1630
1653
  "aria-labelledby": b,
1631
1654
  "data-placement": D,
1632
- className: W({ part: "surface" }),
1633
- onMouseDown: ge,
1634
- children: /* @__PURE__ */ t(On, {
1655
+ className: G({ part: "surface" }),
1656
+ onMouseDown: he,
1657
+ children: /* @__PURE__ */ t(An, {
1635
1658
  value: {
1636
1659
  selected: F,
1637
1660
  disabled: T,
@@ -1648,15 +1671,15 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1648
1671
  })
1649
1672
  ]
1650
1673
  });
1651
- }, Bn = ({ value: e, children: r, testId: i }) => {
1652
- let { selected: a, disabled: o, toggle: s } = kn("Option"), c = a.has(e);
1674
+ }, Hn = ({ value: e, children: r, testId: i }) => {
1675
+ let { selected: a, disabled: o, toggle: s } = jn("Option"), c = a.has(e);
1653
1676
  return /* @__PURE__ */ n("button", {
1654
1677
  type: "button",
1655
1678
  role: "checkbox",
1656
1679
  "aria-checked": c,
1657
1680
  disabled: o,
1658
1681
  "data-testid": i,
1659
- className: En(),
1682
+ className: On(),
1660
1683
  onClick: () => s(e),
1661
1684
  children: [/* @__PURE__ */ t("span", {
1662
1685
  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",
@@ -1679,10 +1702,10 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1679
1702
  children: r
1680
1703
  })]
1681
1704
  });
1682
- }, Vn = {
1683
- Root: zn,
1684
- Option: Bn
1685
- }, Hn = b("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"), Un = ({ 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: _ }) => {
1705
+ }, Un = {
1706
+ Root: Vn,
1707
+ Option: Hn
1708
+ }, Wn = b("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"), Gn = ({ 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: _ }) => {
1686
1709
  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);
1687
1710
  return l(() => {
1688
1711
  let e = g?.subscribe(() => {
@@ -1703,7 +1726,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1703
1726
  name: r,
1704
1727
  type: "text",
1705
1728
  inputMode: "decimal",
1706
- className: Hn(),
1729
+ className: Wn(),
1707
1730
  required: i,
1708
1731
  disabled: d,
1709
1732
  defaultValue: m,
@@ -1729,7 +1752,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1729
1752
  })
1730
1753
  ]
1731
1754
  });
1732
- }, Wn = b([
1755
+ }, Kn = b([
1733
1756
  "flex flex-col gap-[var(--space-stack)]",
1734
1757
  "[&>label]:font-secondary [&>label]:font-medium [&>label]:text-body [&>label]:text-foreground",
1735
1758
  "[&>span]:font-secondary [&>span]:text-muted [&>span]:text-small",
@@ -1738,11 +1761,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1738
1761
  "[&>select]:font-control [&>select]:text-body [&>select]:text-foreground [&>select]:transition-colors [&>select]:duration-[var(--motion-duration-color)]",
1739
1762
  "[&>select]:outline-focus-ring [&>select]:outline-offset-[var(--focus-ring-offset)] [&>select]:focus-visible:outline [&>select]:focus-visible:outline-[length:var(--focus-ring-width)]",
1740
1763
  "[&>select:user-invalid]:border-error [&>select]:aria-[invalid=true]:border-error [&>select]:disabled:cursor-not-allowed [&>select]:disabled:border-disabled [&>select]:disabled:text-muted"
1741
- ].join(" ")), Gn = {
1764
+ ].join(" ")), qn = {
1742
1765
  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 }) => {
1743
1766
  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;
1744
1767
  return /* @__PURE__ */ n("div", {
1745
- className: Wn(),
1768
+ className: Kn(),
1746
1769
  children: [
1747
1770
  /* @__PURE__ */ t("label", {
1748
1771
  htmlFor: _,
@@ -1781,11 +1804,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1781
1804
  "data-testid": r,
1782
1805
  children: n
1783
1806
  })
1784
- }, K = class extends Error {
1807
+ }, q = class extends Error {
1785
1808
  constructor(e) {
1786
1809
  super(`Slider configuration: ${e}`), this.name = "SliderConfigurationError";
1787
1810
  }
1788
- }, Kn = b([
1811
+ }, Jn = b([
1789
1812
  "block h-[var(--slider-thumb-size)] w-full cursor-pointer appearance-none bg-transparent",
1790
1813
  "disabled:cursor-not-allowed",
1791
1814
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]",
@@ -1796,13 +1819,13 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1796
1819
  "[&::-moz-range-track]:h-[var(--slider-track-thickness)] [&::-moz-range-track]:rounded-[var(--radius-control)] [&::-moz-range-track]:bg-control-border",
1797
1820
  "[&::-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",
1798
1821
  "[&:disabled::-moz-range-track]:bg-disabled [&:disabled::-moz-range-thumb]:bg-disabled"
1799
- ].join(" ")), qn = (e) => {
1800
- for (let [t, n] of Object.entries(e)) if (!Number.isFinite(n)) throw new K(`\`${t}\` must be a finite number, got ${n}`);
1801
- if (e.min >= e.max) throw new K(`\`min\` (${e.min}) must be below \`max\` (${e.max})`);
1802
- if (e.step <= 0) throw new K(`\`step\` (${e.step}) must be positive`);
1803
- }, Jn = ({ min: e, max: r, step: i = 1, value: a, onInput$: o, label: s, visibleValue: c, valueText: l, disabled: d, testId: f }) => {
1822
+ ].join(" ")), Yn = (e) => {
1823
+ for (let [t, n] of Object.entries(e)) if (!Number.isFinite(n)) throw new q(`\`${t}\` must be a finite number, got ${n}`);
1824
+ if (e.min >= e.max) throw new q(`\`min\` (${e.min}) must be below \`max\` (${e.max})`);
1825
+ if (e.step <= 0) throw new q(`\`step\` (${e.step}) must be positive`);
1826
+ }, Xn = ({ min: e, max: r, step: i = 1, value: a, onInput$: o, label: s, visibleValue: c, valueText: l, disabled: d, testId: f }) => {
1804
1827
  let p = `${u()}-control`;
1805
- qn({
1828
+ Yn({
1806
1829
  min: e,
1807
1830
  max: r,
1808
1831
  step: i,
@@ -1825,7 +1848,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1825
1848
  }), /* @__PURE__ */ t("input", {
1826
1849
  id: p,
1827
1850
  type: "range",
1828
- className: Kn(),
1851
+ className: Jn(),
1829
1852
  min: e,
1830
1853
  max: r,
1831
1854
  step: i,
@@ -1836,15 +1859,15 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1836
1859
  onChange: (e) => o.next(e.currentTarget.valueAsNumber)
1837
1860
  })]
1838
1861
  });
1839
- }, Yn = class extends Error {
1862
+ }, Zn = class extends Error {
1840
1863
  constructor(e) {
1841
1864
  super(`Stepper.${e} must be composed inside Stepper.Root`), this.name = "StepperCompositionError";
1842
1865
  }
1843
- }, Xn = b("flex h-full min-h-0 min-w-0 flex-col gap-[var(--space-stack)]"), Zn = b([
1866
+ }, Qn = b("flex h-full min-h-0 min-w-0 flex-col gap-[var(--space-stack)]"), $n = b([
1844
1867
  "flex flex-row shrink-0 min-w-0 overflow-x-auto",
1845
1868
  "p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
1846
1869
  "scroll-p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]"
1847
- ].join(" ")), Qn = b([
1870
+ ].join(" ")), er = b([
1848
1871
  "relative isolate flex flex-1 flex-col items-center gap-[var(--space-stack)] text-center",
1849
1872
  "font-secondary text-label text-foreground cursor-pointer select-none",
1850
1873
  "px-[var(--step-inset-inline)] py-[var(--step-inset-block)]",
@@ -1857,28 +1880,28 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1857
1880
  "forced-colors:after:border-[CanvasText] forced-colors:aria-selected:border-[Highlight]",
1858
1881
  "forced-colors:border-b-0 forced-colors:aria-selected:border-b-[length:var(--step-selection-thickness)]",
1859
1882
  "forced-colors:[&>[data-marker]]:bg-[Canvas] forced-colors:[&>[data-marker]]:text-[CanvasText] forced-colors:[&>[data-marker]]:border-[CanvasText]"
1860
- ]), $n = b("min-h-0 min-w-0 flex-auto outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"), er = a(void 0), tr = (e) => r.toArray(e).flatMap((e) => o(e) && e.type === i ? tr(e.props.children) : [e]), nr = a(void 0), rr = (e) => {
1861
- let t = c(nr);
1862
- if (t === void 0) throw new Yn(e);
1883
+ ]), tr = b("min-h-0 min-w-0 flex-auto outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"), nr = a(void 0), rr = (e) => r.toArray(e).flatMap((e) => o(e) && e.type === i ? rr(e.props.children) : [e]), ir = a(void 0), ar = (e) => {
1884
+ let t = c(ir);
1885
+ if (t === void 0) throw new Zn(e);
1863
1886
  return t;
1864
- }, ir = (e) => e.split("").map((e) => e.charCodeAt(0).toString(16).padStart(4, "0")).join(""), ar = (e) => {
1887
+ }, or = (e) => e.split("").map((e) => e.charCodeAt(0).toString(16).padStart(4, "0")).join(""), sr = (e) => {
1865
1888
  e.currentTarget.scrollIntoView({
1866
1889
  block: "nearest",
1867
1890
  inline: "nearest"
1868
1891
  });
1869
- }, q = (e, t) => `${e}tab-${ir(t)}`, or = (e, t) => `${e}panel-${ir(t)}`, sr = (e, t) => {
1892
+ }, J = (e, t) => `${e}tab-${or(t)}`, cr = (e, t) => `${e}panel-${or(t)}`, lr = (e, t) => {
1870
1893
  let n = e.closest("[role=\"tablist\"]");
1871
1894
  if (n === null) return;
1872
1895
  let r = Array.from(n.querySelectorAll(":scope > [role=\"tab\"]"));
1873
1896
  return r[(r.indexOf(e) + t + r.length) % r.length];
1874
- }, cr = {
1897
+ }, ur = {
1875
1898
  Root: ({ active$: e, onSelect$: n, label: r, children: i, testId: a }) => {
1876
1899
  let o = u(), [s, c] = m();
1877
1900
  return l(() => {
1878
1901
  c(void 0);
1879
1902
  let t = e.subscribe(c);
1880
1903
  return () => t.unsubscribe();
1881
- }, [e]), /* @__PURE__ */ t(nr.Provider, {
1904
+ }, [e]), /* @__PURE__ */ t(ir.Provider, {
1882
1905
  value: {
1883
1906
  active: s,
1884
1907
  onSelect$: n,
@@ -1886,7 +1909,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1886
1909
  baseId: o
1887
1910
  },
1888
1911
  children: /* @__PURE__ */ t("div", {
1889
- className: Xn(),
1912
+ className: Qn(),
1890
1913
  "data-height-passing": !0,
1891
1914
  "data-testid": a,
1892
1915
  children: i
@@ -1894,45 +1917,45 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1894
1917
  });
1895
1918
  },
1896
1919
  List: ({ children: e, testId: n }) => {
1897
- let { label: r } = rr("List");
1920
+ let { label: r } = ar("List");
1898
1921
  return /* @__PURE__ */ t("div", {
1899
1922
  role: "tablist",
1900
1923
  "aria-label": r,
1901
- className: Zn(),
1924
+ className: $n(),
1902
1925
  "data-testid": n,
1903
- children: tr(e).map((e, n) => /* @__PURE__ */ t(er.Provider, {
1926
+ children: rr(e).map((e, n) => /* @__PURE__ */ t(nr.Provider, {
1904
1927
  value: n + 1,
1905
1928
  children: e
1906
1929
  }, o(e) ? e.props.value : n))
1907
1930
  });
1908
1931
  },
1909
1932
  Step: ({ value: e, label: r, status: i, valueText: a, statusContent: o, testId: s }) => {
1910
- let { active: l, onSelect$: u, baseId: d } = rr("Step"), f = c(er);
1911
- if (f === void 0) throw new Yn("Step (inside List)");
1933
+ let { active: l, onSelect$: u, baseId: d } = ar("Step"), f = c(nr);
1934
+ if (f === void 0) throw new Zn("Step (inside List)");
1912
1935
  let p = l === e;
1913
1936
  return /* @__PURE__ */ n("button", {
1914
1937
  type: "button",
1915
1938
  role: "tab",
1916
- id: q(d, e),
1939
+ id: J(d, e),
1917
1940
  "aria-selected": p,
1918
- "aria-controls": or(d, e),
1919
- "aria-labelledby": `${q(d, e)}-label ${q(d, e)}-value`,
1920
- "aria-describedby": o === void 0 ? void 0 : `${q(d, e)}-status`,
1941
+ "aria-controls": cr(d, e),
1942
+ "aria-labelledby": `${J(d, e)}-label ${J(d, e)}-value`,
1943
+ "aria-describedby": o === void 0 ? void 0 : `${J(d, e)}-status`,
1921
1944
  tabIndex: p ? 0 : -1,
1922
1945
  "data-value": e,
1923
1946
  "data-testid": s,
1924
- className: Qn(),
1947
+ className: er(),
1925
1948
  onClick: () => u.next(e),
1926
1949
  onKeyDown: (e) => {
1927
1950
  if (e.key !== "ArrowLeft" && e.key !== "ArrowRight") return;
1928
1951
  e.preventDefault();
1929
- let t = sr(e.currentTarget, e.key === "ArrowRight" ? 1 : -1);
1952
+ let t = lr(e.currentTarget, e.key === "ArrowRight" ? 1 : -1);
1930
1953
  if (t === void 0) return;
1931
1954
  t.focus();
1932
1955
  let n = t.dataset.value;
1933
1956
  n !== void 0 && u.next(n);
1934
1957
  },
1935
- onFocus: ar,
1958
+ onFocus: sr,
1936
1959
  children: [
1937
1960
  /* @__PURE__ */ t("span", {
1938
1961
  "data-marker": !0,
@@ -1940,37 +1963,37 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1940
1963
  children: i === "done" ? "✓" : i === "blocked" ? "⊘" : f
1941
1964
  }),
1942
1965
  /* @__PURE__ */ t("span", {
1943
- id: `${q(d, e)}-label`,
1966
+ id: `${J(d, e)}-label`,
1944
1967
  children: r
1945
1968
  }),
1946
1969
  /* @__PURE__ */ t("span", {
1947
1970
  "data-value-text": !0,
1948
- id: `${q(d, e)}-value`,
1971
+ id: `${J(d, e)}-value`,
1949
1972
  children: a
1950
1973
  }),
1951
1974
  o === void 0 ? void 0 : /* @__PURE__ */ t("span", {
1952
1975
  "data-status-content": !0,
1953
- id: `${q(d, e)}-status`,
1976
+ id: `${J(d, e)}-status`,
1954
1977
  children: o
1955
1978
  })
1956
1979
  ]
1957
1980
  });
1958
1981
  },
1959
1982
  Panel: ({ value: e, children: n, testId: r }) => {
1960
- let { active: i, baseId: a } = rr("Panel"), o = i === e;
1983
+ let { active: i, baseId: a } = ar("Panel"), o = i === e;
1961
1984
  return /* @__PURE__ */ t("div", {
1962
1985
  role: "tabpanel",
1963
- id: or(a, e),
1964
- "aria-labelledby": q(a, e),
1986
+ id: cr(a, e),
1987
+ "aria-labelledby": J(a, e),
1965
1988
  hidden: !o,
1966
1989
  tabIndex: o ? 0 : void 0,
1967
- className: $n(),
1990
+ className: tr(),
1968
1991
  "data-height-passing": !0,
1969
1992
  "data-testid": r,
1970
1993
  children: o ? n : void 0
1971
1994
  });
1972
1995
  }
1973
- }, lr = b([
1996
+ }, dr = b([
1974
1997
  "inline-flex max-w-full items-center gap-[var(--space-stack)] rounded-[var(--radius-control)] bg-transparent p-0 text-start cursor-pointer",
1975
1998
  "font-secondary font-medium text-body text-foreground disabled:text-muted disabled:cursor-not-allowed",
1976
1999
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]",
@@ -1982,7 +2005,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1982
2005
  "forced-colors:[&>[data-track]]:[forced-color-adjust:none] forced-colors:[&>[data-track]]:border-[ButtonText] forced-colors:[&>[data-track]]:bg-[Canvas] forced-colors:[&>[data-track]::before]:bg-[ButtonText]",
1983
2006
  "forced-colors:disabled:text-[GrayText] forced-colors:disabled:[&>[data-track]]:border-[GrayText] forced-colors:disabled:[&>[data-track]::before]:bg-[GrayText]",
1984
2007
  "[&>[data-label]]:min-w-0 [&>[data-label]]:wrap-anywhere"
1985
- ]), ur = ({ label: e, checked$: r, onChange$: i, disabled: a, testId: o }) => {
2008
+ ]), fr = ({ label: e, checked$: r, onChange$: i, disabled: a, testId: o }) => {
1986
2009
  let [s, c] = m(!1);
1987
2010
  return l(() => {
1988
2011
  c(!1);
@@ -1994,7 +2017,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
1994
2017
  "aria-checked": s,
1995
2018
  disabled: a,
1996
2019
  "data-testid": o,
1997
- className: lr(),
2020
+ className: dr(),
1998
2021
  onClick: () => i.next(!s),
1999
2022
  children: [/* @__PURE__ */ t("span", {
2000
2023
  "data-track": !0,
@@ -2004,17 +2027,17 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2004
2027
  children: e
2005
2028
  })]
2006
2029
  });
2007
- }, dr = class extends Error {
2030
+ }, pr = class extends Error {
2008
2031
  constructor(e) {
2009
2032
  super(`Tabs.${e} must be composed inside Tabs.Root`), this.name = "TabsCompositionError";
2010
2033
  }
2011
- }, fr = b("", {
2034
+ }, mr = b("", {
2012
2035
  variants: { fill: {
2013
2036
  true: "flex h-full min-h-0 min-w-0 flex-col",
2014
2037
  false: ""
2015
2038
  } },
2016
2039
  defaultVariants: { fill: !1 }
2017
- }), pr = b([
2040
+ }), hr = b([
2018
2041
  "flex flex-row overflow-x-auto",
2019
2042
  "p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
2020
2043
  "m-[calc(-1*(var(--focus-ring-width)+var(--focus-ring-offset)))]",
@@ -2022,34 +2045,34 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2022
2045
  ].join(" "), { variants: { fill: {
2023
2046
  true: "shrink-0",
2024
2047
  false: ""
2025
- } } }), mr = b([
2048
+ } } }), gr = b([
2026
2049
  "font-secondary text-label tracking-label",
2027
2050
  "text-muted hover:text-foreground aria-selected:text-foreground",
2028
2051
  "border-b-[length:var(--tab-marker-thickness)] border-solid border-transparent aria-selected:border-foreground",
2029
2052
  "cursor-pointer select-none px-[var(--tab-inset-inline)] py-[var(--tab-inset-block)]",
2030
2053
  "transition-colors duration-[var(--motion-duration-color)]",
2031
2054
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
2032
- ].join(" ")), hr = b("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", { variants: { fill: {
2055
+ ].join(" ")), _r = b("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", { variants: { fill: {
2033
2056
  true: "min-h-0 min-w-0 flex-auto",
2034
2057
  false: ""
2035
- } } }), gr = a(void 0), _r = (e) => {
2036
- let t = c(gr);
2037
- if (t === void 0) throw new dr(e);
2058
+ } } }), vr = a(void 0), yr = (e) => {
2059
+ let t = c(vr);
2060
+ if (t === void 0) throw new pr(e);
2038
2061
  return t;
2039
- }, vr = (e) => e.split("").map((e) => e.charCodeAt(0).toString(16).padStart(4, "0")).join(""), yr = (e) => {
2062
+ }, br = (e) => e.split("").map((e) => e.charCodeAt(0).toString(16).padStart(4, "0")).join(""), xr = (e) => {
2040
2063
  e.currentTarget.scrollIntoView({
2041
2064
  block: "nearest",
2042
2065
  inline: "nearest"
2043
2066
  });
2044
- }, br = (e, t) => `${e}tab-${vr(t)}`, xr = (e, t) => `${e}panel-${vr(t)}`, Sr = (e, t) => {
2067
+ }, Sr = (e, t) => `${e}tab-${br(t)}`, Cr = (e, t) => `${e}panel-${br(t)}`, wr = (e, t) => {
2045
2068
  let n = e.closest("[role=\"tablist\"]");
2046
2069
  if (n === null) return;
2047
2070
  let r = Array.from(n.querySelectorAll(":scope > [role=\"tab\"]"));
2048
2071
  return r[(r.indexOf(e) + t + r.length) % r.length];
2049
- }, Cr = {
2072
+ }, Tr = {
2050
2073
  Root: ({ active: e, onSelect$: n, label: r, fill: i, children: a, testId: o }) => {
2051
2074
  let s = u();
2052
- return /* @__PURE__ */ t(gr.Provider, {
2075
+ return /* @__PURE__ */ t(vr.Provider, {
2053
2076
  value: {
2054
2077
  active: e,
2055
2078
  onSelect$: n,
@@ -2058,7 +2081,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2058
2081
  fill: i === !0
2059
2082
  },
2060
2083
  children: /* @__PURE__ */ t("div", {
2061
- className: fr({ fill: i }),
2084
+ className: mr({ fill: i }),
2062
2085
  "data-height-passing": i || void 0,
2063
2086
  "data-testid": o,
2064
2087
  children: a
@@ -2066,56 +2089,56 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2066
2089
  });
2067
2090
  },
2068
2091
  List: ({ children: e, testId: n }) => {
2069
- let { label: r, fill: i } = _r("List");
2092
+ let { label: r, fill: i } = yr("List");
2070
2093
  return /* @__PURE__ */ t("div", {
2071
2094
  role: "tablist",
2072
2095
  "aria-label": r,
2073
- className: pr({ fill: i }),
2096
+ className: hr({ fill: i }),
2074
2097
  "data-testid": n,
2075
2098
  children: e
2076
2099
  });
2077
2100
  },
2078
2101
  Tab: ({ value: e, children: n, testId: r }) => {
2079
- let { active: i, onSelect$: a, baseId: o } = _r("Tab"), s = i === e;
2102
+ let { active: i, onSelect$: a, baseId: o } = yr("Tab"), s = i === e;
2080
2103
  return /* @__PURE__ */ t("button", {
2081
2104
  type: "button",
2082
2105
  role: "tab",
2083
- id: br(o, e),
2106
+ id: Sr(o, e),
2084
2107
  "aria-selected": s,
2085
- "aria-controls": xr(o, e),
2108
+ "aria-controls": Cr(o, e),
2086
2109
  tabIndex: s ? 0 : -1,
2087
2110
  "data-value": e,
2088
2111
  "data-testid": r,
2089
- className: mr(),
2112
+ className: gr(),
2090
2113
  onClick: () => a.next(e),
2091
2114
  onKeyDown: (e) => {
2092
2115
  if (e.key !== "ArrowLeft" && e.key !== "ArrowRight") return;
2093
2116
  e.preventDefault();
2094
- let t = Sr(e.currentTarget, e.key === "ArrowRight" ? 1 : -1);
2117
+ let t = wr(e.currentTarget, e.key === "ArrowRight" ? 1 : -1);
2095
2118
  if (t === void 0) return;
2096
2119
  t.focus();
2097
2120
  let n = t.dataset.value;
2098
2121
  n !== void 0 && a.next(n);
2099
2122
  },
2100
- onFocus: yr,
2123
+ onFocus: xr,
2101
2124
  children: n
2102
2125
  });
2103
2126
  },
2104
2127
  Panel: ({ value: e, children: n, testId: r }) => {
2105
- let { active: i, baseId: a, fill: o } = _r("Panel"), s = i === e;
2128
+ let { active: i, baseId: a, fill: o } = yr("Panel"), s = i === e;
2106
2129
  return /* @__PURE__ */ t("div", {
2107
2130
  role: "tabpanel",
2108
- id: xr(a, e),
2109
- "aria-labelledby": br(a, e),
2131
+ id: Cr(a, e),
2132
+ "aria-labelledby": Sr(a, e),
2110
2133
  hidden: !s,
2111
2134
  tabIndex: s ? 0 : void 0,
2112
- className: hr({ fill: o }),
2135
+ className: _r({ fill: o }),
2113
2136
  "data-height-passing": o || void 0,
2114
2137
  "data-testid": r,
2115
2138
  children: s ? n : void 0
2116
2139
  });
2117
2140
  }
2118
- }, wr = b("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"), Tr = ({ 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 }) => {
2141
+ }, Er = b("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"), Dr = ({ 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 }) => {
2119
2142
  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);
2120
2143
  return l(() => {
2121
2144
  let e = _?.subscribe(() => {
@@ -2134,7 +2157,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2134
2157
  ref: w,
2135
2158
  id: b,
2136
2159
  name: r,
2137
- className: wr(),
2160
+ className: Er(),
2138
2161
  required: i,
2139
2162
  disabled: s,
2140
2163
  defaultValue: c,
@@ -2161,49 +2184,49 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2161
2184
  })
2162
2185
  ]
2163
2186
  });
2164
- }, Er = b([
2187
+ }, Or = b([
2165
2188
  "flex flex-col items-center",
2166
2189
  "min-h-[var(--cover-height)]",
2167
2190
  "px-[var(--gutter)] py-[var(--space-region)]"
2168
- ].join(" ")), Dr = "my-auto max-w-full", Or = ({ children: e, foot: r, testId: i }) => {
2191
+ ].join(" ")), kr = "my-auto max-w-full", Ar = ({ children: e, foot: r, testId: i }) => {
2169
2192
  let a = r != null && typeof r != "boolean";
2170
2193
  return /* @__PURE__ */ n("div", {
2171
- className: Er(),
2194
+ className: Or(),
2172
2195
  "data-testid": i,
2173
2196
  children: [/* @__PURE__ */ t("div", {
2174
- className: Dr,
2197
+ className: kr,
2175
2198
  children: e
2176
2199
  }), a && /* @__PURE__ */ t("div", { children: r })]
2177
2200
  });
2178
- }, kr = class extends Error {
2201
+ }, jr = class extends Error {
2179
2202
  constructor(e) {
2180
2203
  super(`Dialog.${e} must be composed inside Dialog.Root`), this.name = "DialogCompositionError";
2181
2204
  }
2182
- }, Ar = class extends Error {
2205
+ }, Mr = class extends Error {
2183
2206
  constructor() {
2184
2207
  super("A Dialog takes exactly one accessible naming source: a visible Dialog.Title or ariaLabel on Dialog.Root, never both"), this.name = "DialogNamingError";
2185
2208
  }
2186
- }, J = (e) => Number.parseFloat(e) || 0, Y = (e) => J(e.paddingTop) + J(e.paddingBottom) + J(e.borderTopWidth) + J(e.borderBottomWidth), jr = (e) => {
2209
+ }, Y = (e) => Number.parseFloat(e) || 0, Nr = (e) => Y(e.paddingTop) + Y(e.paddingBottom) + Y(e.borderTopWidth) + Y(e.borderBottomWidth), Pr = (e) => {
2187
2210
  let t = getComputedStyle(e);
2188
- return J(t.marginTop) + J(t.marginBottom);
2189
- }, Mr = (e) => {
2211
+ return Y(t.marginTop) + Y(t.marginBottom);
2212
+ }, Fr = (e) => {
2190
2213
  let t = getComputedStyle(e);
2191
2214
  if (t.display === "none" || t.position === "absolute") return 0;
2192
2215
  if (e.matches("table")) return Array.from(e.children).filter((e) => e.matches("caption, thead")).reduce((e, t) => e + t.getBoundingClientRect().height, 0) + Math.max(0, ...Array.from(e.querySelectorAll("tbody>tr")).map((e) => e.getBoundingClientRect().height));
2193
2216
  if (e.querySelector("table")) {
2194
2217
  let n = Array.from(e.children);
2195
- return Y(t) + Math.max(0, n.length - 1) * J(t.rowGap) + n.reduce((e, t) => e + jr(t) + (t.matches("table") || t.querySelector("table") ? Mr(t) : t.getBoundingClientRect().height), 0);
2218
+ return Nr(t) + Math.max(0, n.length - 1) * Y(t.rowGap) + n.reduce((e, t) => e + Pr(t) + (t.matches("table") || t.querySelector("table") ? Fr(t) : t.getBoundingClientRect().height), 0);
2196
2219
  }
2197
- let n = Math.max(J(t.lineHeight) || J(t.fontSize), ...Array.from(e.querySelectorAll("button, input, select, textarea, [role=\"button\"]")).map((e) => e.getBoundingClientRect().height)), r = J(t.getPropertyValue("--focus-ring-width")) + J(t.getPropertyValue("--focus-ring-offset"));
2198
- return Y(t) + n + 2 * r;
2199
- }, Nr = (e) => {
2220
+ let n = Math.max(Y(t.lineHeight) || Y(t.fontSize), ...Array.from(e.querySelectorAll("button, input, select, textarea, [role=\"button\"]")).map((e) => e.getBoundingClientRect().height)), r = Y(t.getPropertyValue("--focus-ring-width")) + Y(t.getPropertyValue("--focus-ring-offset"));
2221
+ return Nr(t) + n + 2 * r;
2222
+ }, Ir = (e) => {
2200
2223
  let [t, n] = m(!1);
2201
2224
  return d(() => {
2202
2225
  let t = e.current;
2203
2226
  if (!t) return;
2204
2227
  let r = () => {
2205
2228
  if (!t.open) return;
2206
- let e = getComputedStyle(t), r = e.maxHeight === "none" ? J(e.height) : J(e.maxHeight), i = Array.from(t.children).reduce((e, t) => e + jr(t) + (t.getAttribute("data-dialog-member") === "content" ? Mr(t) : t.getBoundingClientRect().height), Y(e));
2229
+ let e = getComputedStyle(t), r = e.maxHeight === "none" ? Y(e.height) : Y(e.maxHeight), i = Array.from(t.children).reduce((e, t) => e + Pr(t) + (t.getAttribute("data-dialog-member") === "content" ? Fr(t) : t.getBoundingClientRect().height), Nr(e));
2207
2230
  n(r < i);
2208
2231
  }, i = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(r), a = () => {
2209
2232
  i?.disconnect(), i?.observe(t);
@@ -2228,23 +2251,23 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2228
2251
  inline: "nearest"
2229
2252
  });
2230
2253
  }, [e, t]), t;
2231
- }, Pr = /* @__PURE__ */ new WeakMap(), Fr = (e) => {
2232
- let t = e.ownerDocument.documentElement, n = Pr.get(t);
2254
+ }, Lr = /* @__PURE__ */ new WeakMap(), Rr = (e) => {
2255
+ let t = e.ownerDocument.documentElement, n = Lr.get(t);
2233
2256
  n === void 0 && (n = {
2234
2257
  overflow: t.style.getPropertyValue("overflow"),
2235
2258
  priority: t.style.getPropertyPriority("overflow"),
2236
2259
  dialogs: /* @__PURE__ */ new Set()
2237
- }, Pr.set(t, n), t.style.setProperty("overflow", "hidden"));
2260
+ }, Lr.set(t, n), t.style.setProperty("overflow", "hidden"));
2238
2261
  let r = n;
2239
2262
  return r.dialogs.add(e), () => {
2240
- r.dialogs.delete(e), r.dialogs.size === 0 && (t.style.setProperty("overflow", r.overflow, r.priority), Pr.delete(t));
2263
+ r.dialogs.delete(e), r.dialogs.size === 0 && (t.style.setProperty("overflow", r.overflow, r.priority), Lr.delete(t));
2241
2264
  };
2242
- }, Ir = (e) => {
2265
+ }, zr = (e) => {
2243
2266
  d(() => {
2244
2267
  let t = e.current;
2245
2268
  if (!t) return;
2246
2269
  let n, r = () => {
2247
- t.open && n === void 0 ? n = Fr(t) : !t.open && n !== void 0 && (n(), n = void 0);
2270
+ t.open && n === void 0 ? n = Rr(t) : !t.open && n !== void 0 && (n(), n = void 0);
2248
2271
  };
2249
2272
  r();
2250
2273
  let i = new MutationObserver(r);
@@ -2255,7 +2278,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2255
2278
  i.disconnect(), n?.();
2256
2279
  };
2257
2280
  }, [e]);
2258
- }, Lr = b([
2281
+ }, Br = b([
2259
2282
  "open:flex open:flex-col m-auto p-0 overflow-hidden",
2260
2283
  "[&[data-dialog-unusable]]:overflow-auto [&[data-dialog-unusable]]:[--_scroll-released:1]",
2261
2284
  "[&[data-dialog-unusable]]:scroll-p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
@@ -2275,7 +2298,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2275
2298
  content: ["w-[32rem] max-w-[calc(100vw-2*var(--gutter))]", "max-h-[calc(100dvh-2*var(--space-region))]"].join(" ")
2276
2299
  } },
2277
2300
  defaultVariants: { extent: "screen" }
2278
- }), Rr = b(["shrink-0 px-[var(--space-region)] pt-[var(--space-region)] pb-[var(--space-region)]", "[&:has(+[data-dialog-member=description])]:pb-0"].join(" ")), zr = b(["shrink-0 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(" ")), Br = b([
2301
+ }), Vr = b(["shrink-0 px-[var(--space-region)] pt-[var(--space-region)] pb-[var(--space-region)]", "[&:has(+[data-dialog-member=description])]:pb-0"].join(" ")), Hr = b(["shrink-0 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(" ")), Ur = b([
2279
2302
  "grow shrink min-h-0 min-w-0",
2280
2303
  "px-[var(--space-region)] py-[var(--space-region)]",
2281
2304
  "[&:not(:first-child)]:border-t [&:not(:first-child)]:border-border"
@@ -2285,24 +2308,24 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2285
2308
  child: "flex flex-col"
2286
2309
  } },
2287
2310
  defaultVariants: { scrollOwner: "body" }
2288
- }), Vr = b([
2311
+ }), Wr = b([
2289
2312
  "flex flex-row flex-wrap items-center justify-end gap-[var(--space-stack)] shrink-0",
2290
2313
  "px-[var(--space-region)] pt-[var(--space-region)] pb-[var(--space-region)]",
2291
2314
  "[[data-dialog-member=content]+&]:border-t [[data-dialog-member=content]+&]:border-border"
2292
- ].join(" ")), Hr = a(void 0), X = (e) => {
2293
- let t = c(Hr);
2294
- if (t === void 0) throw new kr(e);
2315
+ ].join(" ")), Gr = a(void 0), X = (e) => {
2316
+ let t = c(Gr);
2317
+ if (t === void 0) throw new jr(e);
2295
2318
  return t;
2296
- }, Ur = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", Wr = (e, { presented: t, opener: n }) => {
2319
+ }, Kr = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", qr = (e, { presented: t, opener: n }) => {
2297
2320
  if (e === void 0 || e.open) return;
2298
2321
  let r = document.activeElement;
2299
- n.current = r instanceof HTMLElement && r !== document.body ? r : void 0, e.showModal(), t.current = !0, e.querySelector(Ur)?.focus();
2322
+ n.current = r instanceof HTMLElement && r !== document.body ? r : void 0, e.showModal(), t.current = !0, e.querySelector(Kr)?.focus();
2300
2323
  }, Z = (e, { presented: t }) => {
2301
2324
  t.current = !1, e?.open && e.close();
2302
- }, Gr = {
2325
+ }, Jr = {
2303
2326
  Root: ({ children: e, onDismiss$: n, showDialog$: r, extent: i, ariaLabel: a, testId: o }) => {
2304
- let c = u(), d = p(void 0), f = Nr(d);
2305
- Ir(d);
2327
+ let c = u(), d = p(void 0), f = Ir(d);
2328
+ zr(d);
2306
2329
  let h = p(!1), g = p(void 0), [_] = m(() => ({
2307
2330
  presented: h,
2308
2331
  opener: g
@@ -2324,20 +2347,20 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2324
2347
  n.next(), r === void 0 ? Z(d.current, _) : r.next(!1);
2325
2348
  };
2326
2349
  return l(() => {
2327
- if (r === void 0) return Wr(d.current, _), () => Z(d.current, _);
2350
+ if (r === void 0) return qr(d.current, _), () => Z(d.current, _);
2328
2351
  let e = r.subscribe((e) => {
2329
- e ? Wr(d.current, _) : Z(d.current, _);
2352
+ e ? qr(d.current, _) : Z(d.current, _);
2330
2353
  });
2331
2354
  return () => {
2332
2355
  e.unsubscribe(), Z(d.current, _);
2333
2356
  };
2334
- }, [r, _]), /* @__PURE__ */ t(Hr.Provider, {
2357
+ }, [r, _]), /* @__PURE__ */ t(Gr.Provider, {
2335
2358
  value: x,
2336
2359
  children: /* @__PURE__ */ t("dialog", {
2337
2360
  ref: (e) => {
2338
2361
  d.current = e ?? void 0, e?.setAttribute("headingreset", "");
2339
2362
  },
2340
- className: Lr({ extent: i }),
2363
+ className: Br({ extent: i }),
2341
2364
  "data-dialog-unusable": f || void 0,
2342
2365
  "aria-label": a,
2343
2366
  "aria-labelledby": a === void 0 && v.title ? x.titleId : void 0,
@@ -2354,7 +2377,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2354
2377
  let e = h.current;
2355
2378
  h.current = !1;
2356
2379
  let t = g.current;
2357
- g.current = void 0, t?.isConnected && (t.matches(Ur) || t.hasAttribute("tabindex")) && t.focus(), e && r?.next(!1);
2380
+ g.current = void 0, t?.isConnected && (t.matches(Kr) || t.hasAttribute("tabindex")) && t.focus(), e && r?.next(!1);
2358
2381
  },
2359
2382
  "data-testid": o,
2360
2383
  children: e
@@ -2363,10 +2386,10 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2363
2386
  },
2364
2387
  Title: ({ children: e, testId: n }) => {
2365
2388
  let { titleId: r, isLabelled: i, registerNamePart: a } = X("Title");
2366
- if (l(() => a("title"), [a]), i) throw new Ar();
2389
+ if (l(() => a("title"), [a]), i) throw new Mr();
2367
2390
  return /* @__PURE__ */ t("div", {
2368
2391
  "data-dialog-member": "title",
2369
- className: Rr(),
2392
+ className: Vr(),
2370
2393
  "data-testid": n,
2371
2394
  children: /* @__PURE__ */ t("h1", {
2372
2395
  id: r,
@@ -2379,7 +2402,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2379
2402
  let { descriptionId: r, registerNamePart: i } = X("Description");
2380
2403
  return l(() => i("description"), [i]), /* @__PURE__ */ t("div", {
2381
2404
  "data-dialog-member": "description",
2382
- className: zr(),
2405
+ className: Hr(),
2383
2406
  "data-testid": n,
2384
2407
  children: /* @__PURE__ */ t("p", {
2385
2408
  id: r,
@@ -2390,31 +2413,31 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2390
2413
  },
2391
2414
  Content: ({ children: e, scrollOwner: n, testId: r }) => (X("Content"), /* @__PURE__ */ t("div", {
2392
2415
  "data-dialog-member": "content",
2393
- className: Br({ scrollOwner: n }),
2416
+ className: Ur({ scrollOwner: n }),
2394
2417
  "data-testid": r,
2395
2418
  children: e
2396
2419
  })),
2397
2420
  Actions: ({ children: e, testId: n }) => (X("Actions"), /* @__PURE__ */ t("div", {
2398
2421
  "data-dialog-member": "actions",
2399
- className: Vr(),
2422
+ className: Wr(),
2400
2423
  "data-testid": n,
2401
2424
  children: e
2402
2425
  }))
2403
- }, Kr = b("font-secondary text-small text-muted py-[var(--space-region)] px-[var(--gutter)]", {
2426
+ }, Yr = b("font-secondary text-small text-muted py-[var(--space-region)] px-[var(--gutter)]", {
2404
2427
  variants: { edge: {
2405
2428
  none: "",
2406
2429
  rule: "border-t border-solid border-rule"
2407
2430
  } },
2408
2431
  defaultVariants: { edge: "rule" }
2409
- }), qr = ({ edge: e, children: n, testId: r }) => /* @__PURE__ */ t("footer", {
2410
- className: Kr({ edge: e }),
2432
+ }), Xr = ({ edge: e, children: n, testId: r }) => /* @__PURE__ */ t("footer", {
2433
+ className: Yr({ edge: e }),
2411
2434
  "data-testid": r,
2412
2435
  children: n
2413
- }), Jr = class extends Error {
2436
+ }), Zr = class extends Error {
2414
2437
  constructor(e) {
2415
2438
  super(`Form configuration is invalid: ${e}`), this.name = "FormConfigurationError";
2416
2439
  }
2417
- }, Yr = b("font-secondary text-small", {
2440
+ }, Qr = b("font-secondary text-small", {
2418
2441
  variants: { state: {
2419
2442
  idle: "text-muted",
2420
2443
  sending: "text-muted",
@@ -2422,13 +2445,13 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2422
2445
  failed: "text-error"
2423
2446
  } },
2424
2447
  defaultVariants: { state: "idle" }
2425
- }), Xr = {
2448
+ }), $r = {
2426
2449
  sent: "status",
2427
2450
  failed: "alert"
2428
- }, Zr = ({ action: e, method: r = "post", state: i = "idle", children: a, actions: o, note: s, testId: c }) => {
2451
+ }, ei = ({ action: e, method: r = "post", state: i = "idle", children: a, actions: o, note: s, testId: c }) => {
2429
2452
  let l = s != null && typeof s != "boolean";
2430
- if (i === "sent" && !l) throw new Jr("Form in the `sent` state must be given a `note` - it is the outcome message.");
2431
- let u = i !== "sent", d = Xr[i];
2453
+ if (i === "sent" && !l) throw new Zr("Form in the `sent` state must be given a `note` - it is the outcome message.");
2454
+ let u = i !== "sent", d = $r[i];
2432
2455
  return /* @__PURE__ */ n("form", {
2433
2456
  action: e,
2434
2457
  method: r,
@@ -2446,12 +2469,12 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2446
2469
  }),
2447
2470
  l && /* @__PURE__ */ t("p", {
2448
2471
  role: d,
2449
- className: Yr({ state: i }),
2472
+ className: Qr({ state: i }),
2450
2473
  children: s
2451
2474
  })
2452
2475
  ]
2453
2476
  });
2454
- }, Qr = b([
2477
+ }, ti = b([
2455
2478
  "flex items-baseline",
2456
2479
  "font-secondary text-label leading-label tracking-label text-muted",
2457
2480
  "py-[var(--space-region)] px-[var(--gutter)]",
@@ -2471,72 +2494,78 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2471
2494
  edge: "rule",
2472
2495
  mode: "navigation"
2473
2496
  }
2474
- }), $r = [
2497
+ }), ni = [
2475
2498
  "inline-flex shrink-0 items-center",
2476
2499
  "min-h-[calc(var(--text-label)*var(--leading-label))]",
2477
2500
  "min-w-[var(--standing-min-width)]"
2478
- ].join(" "), ei = "flex flex-wrap items-baseline gap-[var(--space-region)]", ti = "min-w-0 wrap-anywhere", ni = "ms-auto", ri = (e) => e != null && typeof e != "boolean" && e !== "", ii = ({ edge: r, testId: i, standing: a, navName: o, children: s, status: c, action: l }) => {
2501
+ ].join(" "), ri = "flex flex-wrap items-baseline gap-[var(--space-region)]", ii = "min-w-0 wrap-anywhere", ai = "ms-auto", oi = (e) => e != null && typeof e != "boolean" && e !== "", si = ({ edge: r, testId: i, standing: a, navName: o, children: s, status: c, action: l }) => {
2479
2502
  let u = c !== void 0 || l !== void 0;
2480
2503
  return /* @__PURE__ */ t("header", {
2481
- className: Qr({
2504
+ className: ti({
2482
2505
  edge: r,
2483
2506
  mode: u ? "statusAction" : "navigation"
2484
2507
  }),
2485
2508
  "data-testid": i,
2486
- children: u ? /* @__PURE__ */ n(e, { children: [ri(c) && /* @__PURE__ */ t("div", {
2487
- className: ti,
2509
+ children: u ? /* @__PURE__ */ n(e, { children: [oi(c) && /* @__PURE__ */ t("div", {
2510
+ className: ii,
2488
2511
  children: c
2489
- }), ri(l) && /* @__PURE__ */ t("div", {
2490
- className: ni,
2512
+ }), oi(l) && /* @__PURE__ */ t("div", {
2513
+ className: ai,
2491
2514
  children: l
2492
2515
  })] }) : /* @__PURE__ */ n(e, { children: [/* @__PURE__ */ t("div", {
2493
- className: $r,
2516
+ className: ni,
2494
2517
  children: a
2495
2518
  }), /* @__PURE__ */ t("nav", {
2496
2519
  "aria-label": o,
2497
- className: ei,
2520
+ className: ri,
2498
2521
  children: s
2499
2522
  })] })
2500
2523
  });
2501
- }, ai = b("flex flex-col min-h-[var(--fold-height)] gap-[var(--space-stack)]", {
2524
+ }, ci = b("flex flex-col min-h-[var(--fold-height)] gap-[var(--space-stack)]", {
2502
2525
  variants: { place: {
2503
2526
  start: "justify-start",
2504
2527
  center: "justify-center",
2505
2528
  between: "justify-between"
2506
2529
  } },
2507
2530
  defaultVariants: { place: "center" }
2508
- }), oi = ({ place: e, children: n, testId: r }) => /* @__PURE__ */ t("div", {
2509
- className: ai({ place: e }),
2531
+ }), li = ({ place: e, children: n, testId: r }) => /* @__PURE__ */ t("div", {
2532
+ className: ci({ place: e }),
2510
2533
  "data-testid": r,
2511
2534
  children: n
2512
- }), si = b("flex flex-col gap-[var(--space-stack)] py-[var(--space-band)] px-[var(--gutter)]"), ci = b("font-heading text-title leading-title tracking-optical text-foreground"), li = b("font-body text-lede leading-lede text-foreground max-w-[var(--measure-wide)]"), ui = b("font-body text-small text-muted max-w-[var(--measure)]"), di = ({ title: e, lede: r, intro: i, testId: a }) => /* @__PURE__ */ n("header", {
2513
- className: si(),
2535
+ }), ui = b("flex flex-col gap-[var(--space-stack)] py-[var(--space-band)] px-[var(--gutter)]"), di = b("font-heading text-title leading-title tracking-optical text-foreground"), fi = b("font-body text-lede leading-lede text-foreground max-w-[var(--measure-wide)]"), pi = b("font-body text-small text-muted max-w-[var(--measure)]"), mi = ({ title: e, lede: r, intro: i, testId: a }) => /* @__PURE__ */ n("header", {
2536
+ className: ui(),
2514
2537
  "data-testid": a,
2515
2538
  children: [
2516
2539
  /* @__PURE__ */ t("h1", {
2517
- className: ci(),
2540
+ className: di(),
2518
2541
  children: e
2519
2542
  }),
2520
2543
  r !== void 0 && /* @__PURE__ */ t("p", {
2521
- className: li(),
2544
+ className: fi(),
2522
2545
  children: r
2523
2546
  }),
2524
2547
  i !== void 0 && /* @__PURE__ */ t("p", {
2525
- className: ui(),
2548
+ className: pi(),
2526
2549
  children: i
2527
2550
  })
2528
2551
  ]
2529
- }), fi = a(null), pi = b([
2552
+ }), hi = a(null), gi = b([
2530
2553
  "box-border flex h-full min-h-0 min-w-0 flex-col gap-[var(--space-stack)] border border-solid border-border bg-surface text-foreground p-[var(--space-box-inset)] [overflow-wrap:anywhere]",
2531
2554
  "[[data-screen-spacing=compact]_&:not(dialog_*)]:gap-[var(--space-pane-slot-compact)]",
2532
2555
  "[[data-screen-spacing=compact]_&:not(dialog_*)]:p-[max(var(--space-pane-inset-compact),calc(var(--focus-ring-width)+var(--focus-ring-offset)))]"
2533
- ]), mi = b("min-w-0 shrink-0"), hi = b("min-h-0 min-w-0 flex-[0_1_auto]", {
2556
+ ]), _i = b("min-w-0 shrink-0"), vi = b("min-w-0 shrink-0", {
2557
+ variants: { placement: {
2558
+ "after-body": "",
2559
+ bottom: "mt-auto"
2560
+ } },
2561
+ defaultVariants: { placement: "after-body" }
2562
+ }), yi = b("min-h-0 min-w-0 flex-[0_1_auto]", {
2534
2563
  variants: { scrollOwner: {
2535
2564
  body: "[&>div]:flow-root [&>div]:w-fit [&>div]:min-w-full [&>div]:p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] overflow-auto overscroll-contain outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]",
2536
2565
  child: "flex flex-col"
2537
2566
  } },
2538
2567
  defaultVariants: { scrollOwner: "body" }
2539
- }), gi = (e, t, n) => {
2568
+ }), bi = (e, t, n) => {
2540
2569
  let [r, i] = m(!0);
2541
2570
  return d(() => {
2542
2571
  let r = e.current;
@@ -2558,10 +2587,10 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2558
2587
  t,
2559
2588
  n
2560
2589
  ]), r;
2561
- }, Q = (e) => Number.parseFloat(e) || 0, _i = (e) => {
2590
+ }, Q = (e) => Number.parseFloat(e) || 0, xi = (e) => {
2562
2591
  let t = getComputedStyle(e);
2563
2592
  return Q(t.paddingTop) + Q(t.paddingBottom) + Q(t.borderTopWidth) + Q(t.borderBottomWidth);
2564
- }, vi = (e) => {
2593
+ }, Si = (e) => {
2565
2594
  let t = 0;
2566
2595
  for (let n of [e, ...e.querySelectorAll("*")]) {
2567
2596
  let r = getComputedStyle(n);
@@ -2570,15 +2599,15 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2570
2599
  t = Math.max(t, o + 2 * a);
2571
2600
  }
2572
2601
  let n = e.querySelector("table"), r = n ? Array.from(n.children).filter((e) => e.matches("caption, thead")).reduce((e, t) => e + t.getBoundingClientRect().height, 0) : 0;
2573
- return t + r + _i(e);
2574
- }, yi = (e) => {
2575
- let t = c(fi), [n, r] = m(!1);
2602
+ return t + r + xi(e);
2603
+ }, Ci = (e) => {
2604
+ let t = c(hi), [n, r] = m(!1);
2576
2605
  return d(() => {
2577
2606
  let n = e.current, i = t;
2578
2607
  if (!n || !i) return;
2579
2608
  let a = () => {
2580
2609
  let e = Array.from(n.children), t = e.find((e) => e.hasAttribute("data-pane-body")), a = e.filter((e) => e !== t).reduce((e, t) => e + t.getBoundingClientRect().height, 0), o = Math.max(0, e.length - 1) * Q(getComputedStyle(n).rowGap), s = i.getBoundingClientRect(), c = Math.max(0, n.getBoundingClientRect().top - s.top);
2581
- r(s.height - c < a + o + _i(n) + (t instanceof HTMLElement ? vi(t) : 0));
2610
+ r(s.height - c < a + o + xi(n) + (t instanceof HTMLElement ? Si(t) : 0));
2582
2611
  }, o = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(a), s = new MutationObserver(() => l()), c = {
2583
2612
  childList: !0,
2584
2613
  subtree: !0,
@@ -2600,14 +2629,14 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2600
2629
  o?.disconnect(), s.disconnect(), window.removeEventListener("resize", a);
2601
2630
  };
2602
2631
  }, [t, e]), n;
2603
- }, bi = {
2632
+ }, wi = {
2604
2633
  Root: ({ children: e, name: n, testId: r }) => {
2605
- let i = p(null), a = yi(i);
2634
+ let i = p(null), a = Ci(i);
2606
2635
  return /* @__PURE__ */ t("div", {
2607
2636
  ref: i,
2608
2637
  "data-screen-unusable": a || void 0,
2609
2638
  "data-height-bounded": !0,
2610
- className: pi(),
2639
+ className: gi(),
2611
2640
  role: n ? "group" : void 0,
2612
2641
  "aria-label": n || void 0,
2613
2642
  "data-testid": r,
@@ -2615,16 +2644,16 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2615
2644
  });
2616
2645
  },
2617
2646
  Head: ({ children: e, testId: n }) => /* @__PURE__ */ t("div", {
2618
- className: mi(),
2647
+ className: _i(),
2619
2648
  "data-testid": n,
2620
2649
  children: e
2621
2650
  }),
2622
2651
  Body: ({ children: e, ariaLabel: n, scrollOwner: r, testId: i }) => {
2623
- let a = p(null), o = p(null), s = r !== "child", c = gi(a, o, s) && s;
2652
+ let a = p(null), o = p(null), s = r !== "child", c = bi(a, o, s) && s;
2624
2653
  return /* @__PURE__ */ t("div", {
2625
2654
  "data-pane-body": "",
2626
2655
  ref: a,
2627
- className: hi({ scrollOwner: r ?? "body" }),
2656
+ className: yi({ scrollOwner: r ?? "body" }),
2628
2657
  role: c ? "group" : void 0,
2629
2658
  "aria-label": c ? n : void 0,
2630
2659
  tabIndex: c ? 0 : void 0,
@@ -2635,20 +2664,20 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2635
2664
  }) : e
2636
2665
  });
2637
2666
  },
2638
- Foot: ({ children: e, testId: n }) => /* @__PURE__ */ t("div", {
2639
- className: mi(),
2640
- "data-testid": n,
2667
+ Foot: ({ children: e, placement: n, testId: r }) => /* @__PURE__ */ t("div", {
2668
+ className: vi({ placement: n }),
2669
+ "data-testid": r,
2641
2670
  children: e
2642
2671
  })
2643
- }, xi = b("box-border grid h-full min-h-0 min-w-0 grid-rows-[minmax(0,1fr)] px-[var(--gutter)] [&:has(>header)]:grid-rows-[auto_minmax(0,1fr)]", {
2672
+ }, Ti = b("box-border grid h-full min-h-0 min-w-0 grid-rows-[minmax(0,1fr)] px-[var(--gutter)] [&:has(>header)]:grid-rows-[auto_minmax(0,1fr)]", {
2644
2673
  variants: { spacing: {
2645
2674
  comfortable: "py-[var(--space-region)] [&:has(>header)]:gap-[var(--space-region)]",
2646
2675
  compact: "py-[max(var(--space-screen-region-compact),calc(var(--focus-ring-width)+var(--focus-ring-offset)))] [&:has(>header)]:gap-[max(var(--space-screen-region-compact),calc(var(--focus-ring-width)+var(--focus-ring-offset)))]"
2647
2676
  } },
2648
2677
  defaultVariants: { spacing: "comfortable" }
2649
- }), Si = b("min-w-0"), Ci = b("h-full min-h-0 min-w-0 [&>div]:h-full [&:has([data-screen-unusable])>div]:h-auto"), wi = (e) => e.display === "none" || e.position === "absolute" || e.position === "fixed", $ = (e) => Array.from(e.children).reduce((e, t) => {
2678
+ }), Ei = b("min-w-0"), Di = b("h-full min-h-0 min-w-0 [&>div]:h-full [&:has([data-screen-unusable])>div]:h-auto"), Oi = (e) => e.display === "none" || e.position === "absolute" || e.position === "fixed", $ = (e) => Array.from(e.children).reduce((e, t) => {
2650
2679
  let n = getComputedStyle(t), r = [...e.observed, t];
2651
- if (wi(n) || t.hasAttribute("data-height-bounded")) return {
2680
+ if (Oi(n) || t.hasAttribute("data-height-bounded")) return {
2652
2681
  bottom: e.bottom,
2653
2682
  observed: r
2654
2683
  };
@@ -2667,7 +2696,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2667
2696
  }, {
2668
2697
  bottom: -Infinity,
2669
2698
  observed: []
2670
- }), Ti = (e) => {
2699
+ }), ki = (e) => {
2671
2700
  let [t, n] = m(!1);
2672
2701
  return d(() => {
2673
2702
  let t = e?.firstElementChild;
@@ -2687,50 +2716,50 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2687
2716
  i?.disconnect(), o.disconnect(), window.removeEventListener("resize", r);
2688
2717
  };
2689
2718
  }, [e]), t;
2690
- }, Ei = ({ heading: e, spacing: r, children: i, testId: a }) => {
2691
- let [o, s] = m(null), c = Ti(o);
2719
+ }, Ai = ({ heading: e, spacing: r, children: i, testId: a }) => {
2720
+ let [o, s] = m(null), c = ki(o);
2692
2721
  return /* @__PURE__ */ n("main", {
2693
- className: xi({ spacing: r }),
2722
+ className: Ti({ spacing: r }),
2694
2723
  "data-screen-spacing": r === "compact" ? r : void 0,
2695
2724
  "data-testid": a,
2696
2725
  children: [e != null && e !== !1 && /* @__PURE__ */ t("header", {
2697
- className: Si(),
2726
+ className: Ei(),
2698
2727
  children: e
2699
2728
  }), /* @__PURE__ */ t("div", {
2700
2729
  ref: s,
2701
- className: Ci(),
2730
+ className: Di(),
2702
2731
  children: /* @__PURE__ */ t("div", {
2703
2732
  "data-screen-unusable": c || void 0,
2704
- children: /* @__PURE__ */ t(fi.Provider, {
2733
+ children: /* @__PURE__ */ t(hi.Provider, {
2705
2734
  value: o,
2706
2735
  children: i
2707
2736
  })
2708
2737
  })
2709
2738
  })]
2710
2739
  });
2711
- }, Di = b("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)]", {
2740
+ }, ji = b("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)]", {
2712
2741
  variants: { axis: {
2713
2742
  both: "overflow-auto",
2714
2743
  horizontal: "overflow-x-auto overflow-y-hidden",
2715
2744
  vertical: "overflow-y-auto overflow-x-hidden"
2716
2745
  } },
2717
2746
  defaultVariants: { axis: "both" }
2718
- }), Oi = b("p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]", {
2747
+ }), Mi = b("p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]", {
2719
2748
  variants: { axis: {
2720
2749
  both: "w-fit min-w-full",
2721
2750
  horizontal: "w-fit min-w-full",
2722
2751
  vertical: "w-full"
2723
2752
  } },
2724
2753
  defaultVariants: { axis: "both" }
2725
- }), ki = (e, t) => {
2754
+ }), Ni = (e, t) => {
2726
2755
  let n = e.scrollWidth > e.clientWidth, r = e.scrollHeight > e.clientHeight;
2727
2756
  return t !== "vertical" && n || t !== "horizontal" && r;
2728
- }, Ai = (e, t, n) => {
2757
+ }, Pi = (e, t, n) => {
2729
2758
  let [r, i] = m(!0);
2730
2759
  return d(() => {
2731
2760
  let r = e.current;
2732
2761
  if (r === null) return;
2733
- let a = () => i(ki(r, n) || r === document.activeElement);
2762
+ let a = () => i(Ni(r, n) || r === document.activeElement);
2734
2763
  a();
2735
2764
  let o = typeof ResizeObserver > "u" ? void 0 : new ResizeObserver(a);
2736
2765
  return o?.observe(r), t.current !== null && o?.observe(t.current), window.addEventListener("resize", a), r.addEventListener("blur", a), () => {
@@ -2741,11 +2770,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2741
2770
  t,
2742
2771
  n
2743
2772
  ]), r;
2744
- }, ji = ({ axis: e, ariaLabel: n, children: r, testId: i }) => {
2745
- let a = p(null), o = p(null), s = Ai(a, o, e ?? "both");
2773
+ }, Fi = ({ axis: e, ariaLabel: n, children: r, testId: i }) => {
2774
+ let a = p(null), o = p(null), s = Pi(a, o, e ?? "both");
2746
2775
  return /* @__PURE__ */ t("div", {
2747
2776
  ref: a,
2748
- className: Di({ axis: e }),
2777
+ className: ji({ axis: e }),
2749
2778
  "data-height-bounded": !0,
2750
2779
  "data-testid": i,
2751
2780
  role: s ? "group" : void 0,
@@ -2753,11 +2782,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2753
2782
  tabIndex: s ? 0 : void 0,
2754
2783
  children: /* @__PURE__ */ t("div", {
2755
2784
  ref: o,
2756
- className: Oi({ axis: e }),
2785
+ className: Mi({ axis: e }),
2757
2786
  children: r
2758
2787
  })
2759
2788
  });
2760
- }, Mi = b([
2789
+ }, Ii = b([
2761
2790
  "relative",
2762
2791
  "py-[var(--space-band)]",
2763
2792
  "[[data-section]+&]:border-t [[data-section]+&]:border-solid [[data-section]+&]:border-rule"
@@ -2767,19 +2796,19 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2767
2796
  full: ""
2768
2797
  } },
2769
2798
  defaultVariants: { bleed: "inset" }
2770
- }), Ni = ({ bleed: e, name: n, children: r, testId: i }) => /* @__PURE__ */ t("section", {
2799
+ }), Li = ({ bleed: e, name: n, children: r, testId: i }) => /* @__PURE__ */ t("section", {
2771
2800
  "data-section": "",
2772
- className: Mi({ bleed: e }),
2801
+ className: Ii({ bleed: e }),
2773
2802
  "aria-label": n,
2774
2803
  "data-testid": i,
2775
2804
  children: r
2776
- }), Pi = b("h-dvh min-w-0 overflow-clip grid grid-rows-[auto_minmax(0,1fr)]"), Fi = b("min-h-0 min-w-0 overflow-auto overscroll-contain p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] scroll-p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] outline-focus-ring focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-offset-[calc(-1*var(--focus-ring-width))]", {
2805
+ }), Ri = b("h-dvh min-w-0 overflow-clip grid grid-rows-[auto_minmax(0,1fr)]"), zi = b("min-h-0 min-w-0 overflow-auto overscroll-contain p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] scroll-p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] outline-focus-ring focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)] focus-visible:outline-offset-[calc(-1*var(--focus-ring-width))]", {
2777
2806
  variants: { mode: {
2778
2807
  console: "[&>div]:h-full",
2779
2808
  page: "[&>div]:min-h-full"
2780
2809
  } },
2781
2810
  defaultVariants: { mode: "console" }
2782
- }), Ii = (e) => {
2811
+ }), Bi = (e) => {
2783
2812
  let [t, n] = m(!0);
2784
2813
  return d(() => {
2785
2814
  let t = e.current;
@@ -2801,21 +2830,21 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2801
2830
  i?.disconnect(), o.disconnect(), window.removeEventListener("resize", r), t.removeEventListener("blur", r);
2802
2831
  };
2803
2832
  }, [e]), t;
2804
- }, Li = ({ bar: e, children: r, ariaLabel: i, mode: a, testId: o }) => {
2805
- let s = p(null), c = Ii(s);
2833
+ }, Vi = ({ bar: e, children: r, ariaLabel: i, mode: a, testId: o }) => {
2834
+ let s = p(null), c = Bi(s);
2806
2835
  return /* @__PURE__ */ n("div", {
2807
- className: Pi(),
2836
+ className: Ri(),
2808
2837
  "data-testid": o,
2809
2838
  children: [/* @__PURE__ */ t("div", { children: e }), /* @__PURE__ */ t("div", {
2810
2839
  ref: s,
2811
- className: Fi({ mode: a }),
2840
+ className: zi({ mode: a }),
2812
2841
  role: c ? "group" : void 0,
2813
2842
  "aria-label": c ? i : void 0,
2814
2843
  tabIndex: c ? 0 : void 0,
2815
2844
  children: /* @__PURE__ */ t("div", { children: r })
2816
2845
  })]
2817
2846
  });
2818
- }, Ri = b([
2847
+ }, Hi = b([
2819
2848
  "grid gap-[var(--space-region)] lg:grid-cols-[12rem_minmax(0,1fr)]",
2820
2849
  "[&>div:first-child]:border-solid [&>div:first-child]:border-border [&>div:first-child]:border-b [&>div:first-child]:pb-[var(--space-stack)]",
2821
2850
  "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)]",
@@ -2828,7 +2857,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2828
2857
  true: "min-h-full lg:h-full lg:min-h-0 lg:grid-rows-[minmax(0,1fr)] lg:[&>div]:min-h-0 lg:[&>div]:h-full lg:[&>div:first-child>nav]:max-h-full"
2829
2858
  } },
2830
2859
  defaultVariants: { fill: !1 }
2831
- }), zi = (e) => {
2860
+ }), Ui = (e) => {
2832
2861
  if (!e) return;
2833
2862
  let t = [];
2834
2863
  for (let n = e.parentElement; n && n !== e.ownerDocument.documentElement; n = n.parentElement) t.push(n);
@@ -2845,7 +2874,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2845
2874
  return window.addEventListener("resize", n), () => {
2846
2875
  r?.disconnect(), window.removeEventListener("resize", n), e.style.removeProperty("--sidebar-scrollport-height");
2847
2876
  };
2848
- }, Bi = b([
2877
+ }, Wi = b([
2849
2878
  "w-full text-left font-secondary text-label tracking-label wrap-anywhere",
2850
2879
  "underline-offset-[var(--underline-offset)]",
2851
2880
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
@@ -2856,11 +2885,11 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2856
2885
  inert: "text-muted cursor-not-allowed"
2857
2886
  } },
2858
2887
  defaultVariants: { state: "usable" }
2859
- }), Vi = a(void 0), Hi = ({ entryKey: e, children: n, inert: r, testId: i }) => {
2860
- let a = c(Vi), o = a !== void 0 && a.active === e;
2888
+ }), Gi = a(void 0), Ki = ({ entryKey: e, children: n, inert: r, testId: i }) => {
2889
+ let a = c(Gi), o = a !== void 0 && a.active === e;
2861
2890
  return /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t("button", {
2862
2891
  type: "button",
2863
- className: Bi({ state: r ? "inert" : o ? "active" : "usable" }),
2892
+ className: Wi({ state: r ? "inert" : o ? "active" : "usable" }),
2864
2893
  disabled: r,
2865
2894
  "aria-current": o ? "true" : void 0,
2866
2895
  "data-testid": i,
@@ -2869,31 +2898,31 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2869
2898
  },
2870
2899
  children: n
2871
2900
  }) });
2872
- }, Ui = ({ children: e, testId: n }) => /* @__PURE__ */ t("div", {
2901
+ }, qi = ({ children: e, testId: n }) => /* @__PURE__ */ t("div", {
2873
2902
  "data-testid": n,
2874
2903
  children: e
2875
- }), Wi = {
2904
+ }), Ji = {
2876
2905
  Root: ({ active: e, label: i, onSelect$: a, children: s, testId: c, fill: l }) => {
2877
2906
  let u = r.toArray(s).filter(o);
2878
2907
  return /* @__PURE__ */ n("div", {
2879
- className: Ri({ fill: l }),
2908
+ className: Hi({ fill: l }),
2880
2909
  "data-testid": c,
2881
2910
  children: [/* @__PURE__ */ t("div", { children: /* @__PURE__ */ t("nav", {
2882
- ref: l ? void 0 : zi,
2911
+ ref: l ? void 0 : Ui,
2883
2912
  "aria-label": i,
2884
- children: /* @__PURE__ */ t(Vi, {
2913
+ children: /* @__PURE__ */ t(Gi, {
2885
2914
  value: {
2886
2915
  active: e,
2887
2916
  onSelect$: a
2888
2917
  },
2889
- children: /* @__PURE__ */ t("ul", { children: u.filter((e) => e.type === Hi) })
2918
+ children: /* @__PURE__ */ t("ul", { children: u.filter((e) => e.type === Ki) })
2890
2919
  })
2891
- }) }), u.filter((e) => e.type === Ui)]
2920
+ }) }), u.filter((e) => e.type === qi)]
2892
2921
  });
2893
2922
  },
2894
- Item: Hi,
2895
- Content: Ui
2896
- }, Gi = {
2923
+ Item: Ki,
2924
+ Content: qi
2925
+ }, Yi = {
2897
2926
  surface: "#ffffff",
2898
2927
  selectedSurface: "#f8fafc",
2899
2928
  selectedError: "#cd2d7d",
@@ -2922,7 +2951,7 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2922
2951
  errorHover: "#be185d",
2923
2952
  errorForeground: "#ffffff",
2924
2953
  info: "#0e7490"
2925
- }, Ki = {
2954
+ }, Xi = {
2926
2955
  surface: "#0f172a",
2927
2956
  selectedSurface: "#151e30",
2928
2957
  selectedError: "#f48fb1",
@@ -2953,4 +2982,4 @@ var v = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, y = _, b = (e
2953
2982
  info: "#22d3ee"
2954
2983
  };
2955
2984
  //#endregion
2956
- export { Pe as Box, Ie as Brandmark, ln as Button, Re as Callout, Ve as Checklist, _n as Choices, un as ChoicesCompositionError, S as Cluster, We as Collection, pe as ColumnLayout, C as ColumnLayoutCompositionError, w as ColumnLayoutConfigurationError, Or as Cover, tt as DefinitionList, Ge as DefinitionListConfigurationError, Gr as Dialog, kr as DialogCompositionError, Ar as DialogNamingError, Rt as Eyebrow, Ae as FieldRow, B as FieldRowCompositionError, V as FieldRowConfigurationError, rt as Figure, qr as Footer, Zr as Form, Jr as FormConfigurationError, Bt as H1, Ht as H2, Wt as H3, Kt as H4, Jt as H5, Xt as H6, ii as Header, oi as Hero, ct as Icon, yn as Input, xn as Link, pt as Meter, lt as MeterConfigurationError, Vn as MultiSelect, Cn as MultiSelectCompositionError, Qt as Note, Un as NumberInput, en as P, di as PageHead, bi as Pane, sn as Prose, vt as Rail, bt as Rule, Ei as Screen, ji as ScrollContainer, Ni as Section, Gn as Select, Li as Shell, Wi as Sidebar, Jn as Slider, K as SliderConfigurationError, Me as Stack, cr as Stepper, Yn as StepperCompositionError, ur as Switch, It as Table, xt as TableConfigurationError, Cr as Tabs, dr as TabsCompositionError, Tr as TextArea, Ki as dark, Gi as light };
2985
+ export { Ne as Box, Fe as Brandmark, cn as Button, Le as Callout, Be as Checklist, gn as Choices, ln as ChoicesCompositionError, S as Cluster, yn as Collapse, Ue as Collection, z as ColumnLayout, C as ColumnLayoutCompositionError, w as ColumnLayoutConfigurationError, Ar as Cover, et as DefinitionList, We as DefinitionListConfigurationError, Jr as Dialog, jr as DialogCompositionError, Mr as DialogNamingError, Lt as Eyebrow, ke as FieldRow, V as FieldRowCompositionError, H as FieldRowConfigurationError, nt as Figure, Xr as Footer, ei as Form, Zr as FormConfigurationError, zt as H1, Vt as H2, Ut as H3, Gt as H4, qt as H5, Yt as H6, si as Header, li as Hero, st as Icon, xn as Input, Cn as Link, ft as Meter, ct as MeterConfigurationError, Un as MultiSelect, Tn as MultiSelectCompositionError, Zt as Note, Gn as NumberInput, $t as P, mi as PageHead, wi as Pane, on as Prose, _t as Rail, yt as Rule, Ai as Screen, Fi as ScrollContainer, Li as Section, qn as Select, Vi as Shell, Ji as Sidebar, Xn as Slider, q as SliderConfigurationError, je as Stack, ur as Stepper, Zn as StepperCompositionError, fr as Switch, Ft as Table, bt as TableConfigurationError, Tr as Tabs, pr as TabsCompositionError, Dr as TextArea, Xi as dark, Yi as light };