@juwel-development/design-system 3.3.0 → 3.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.
Files changed (40) hide show
  1. package/README.md +20 -0
  2. package/dist/design-system.js +237 -126
  3. package/dist/index.css +1 -1
  4. package/dist/types/Display/Meter/Meter.d.ts +59 -0
  5. package/dist/types/Display/Meter/MeterConfigurationError.d.ts +3 -0
  6. package/dist/types/Display/Typography/Eyebrow/Eyebrow.d.ts +5 -2
  7. package/dist/types/Display/Typography/H1/H1.d.ts +5 -2
  8. package/dist/types/Display/Typography/H2/H2.d.ts +5 -2
  9. package/dist/types/Display/Typography/H3/H3.d.ts +5 -2
  10. package/dist/types/Display/Typography/H4/H4.d.ts +5 -2
  11. package/dist/types/Display/Typography/H5/H5.d.ts +5 -2
  12. package/dist/types/Display/Typography/H6/H6.d.ts +5 -2
  13. package/dist/types/Display/Typography/Note/Note.d.ts +5 -2
  14. package/dist/types/Display/Typography/P/P.d.ts +5 -2
  15. package/dist/types/Display/Typography/Prose/Prose.d.ts +6 -3
  16. package/dist/types/Interaction/Slider/Slider.d.ts +41 -0
  17. package/dist/types/Interaction/Slider/SliderConfigurationError.d.ts +3 -0
  18. package/dist/types/Theme/Palette.d.ts +22 -2
  19. package/dist/types/index.d.ts +2 -0
  20. package/package.json +1 -1
  21. package/src/Display/Meter/Meter.tsx +136 -0
  22. package/src/Display/Meter/MeterConfigurationError.ts +6 -0
  23. package/src/Display/Typography/Eyebrow/Eyebrow.tsx +12 -2
  24. package/src/Display/Typography/H1/H1.tsx +12 -2
  25. package/src/Display/Typography/H2/H2.tsx +12 -2
  26. package/src/Display/Typography/H3/H3.tsx +12 -2
  27. package/src/Display/Typography/H4/H4.tsx +12 -2
  28. package/src/Display/Typography/H5/H5.tsx +12 -2
  29. package/src/Display/Typography/H6/H6.tsx +12 -2
  30. package/src/Display/Typography/Note/Note.tsx +12 -2
  31. package/src/Display/Typography/P/P.tsx +12 -2
  32. package/src/Display/Typography/Prose/Prose.tsx +13 -3
  33. package/src/Interaction/Slider/Slider.tsx +125 -0
  34. package/src/Interaction/Slider/SliderConfigurationError.ts +6 -0
  35. package/src/Theme/Palette.ts +32 -5
  36. package/src/Theme/renderTokens.ts +23 -0
  37. package/src/index.ts +2 -0
  38. package/src/tokens.css +19 -3
  39. package/src/tokens.dark.css +14 -0
  40. package/src/tokens.light.css +17 -3
@@ -145,23 +145,23 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
145
145
  "data-testid": n,
146
146
  children: t
147
147
  })
148
- }, E = p([
148
+ }, ee = p([
149
149
  "grid gap-[var(--space-stack)] py-6",
150
150
  "border-b border-solid border-border first:border-t",
151
151
  "lg:grid-cols-[16rem_minmax(0,1fr)] lg:items-baseline lg:gap-x-12",
152
152
  "lg:[&>dt]:col-start-1 lg:[&>dd]:col-start-2 lg:[&>dd]:row-start-1"
153
- ].join(" ")), ee = p("font-primary text-subtitle leading-subtitle text-foreground"), te = p("font-primary text-body leading-body text-muted max-w-[var(--measure)]"), ne = {
153
+ ].join(" ")), E = p("font-primary text-subtitle leading-subtitle text-foreground"), te = p("font-primary text-body leading-body text-muted max-w-[var(--measure)]"), ne = {
154
154
  Root: ({ children: t, testId: n }) => /* @__PURE__ */ e("dl", {
155
155
  "data-testid": n,
156
156
  children: t
157
157
  }),
158
158
  Item: ({ children: t, testId: n }) => /* @__PURE__ */ e("div", {
159
- className: E(),
159
+ className: ee(),
160
160
  "data-testid": n,
161
161
  children: t
162
162
  }),
163
163
  Term: ({ children: t }) => /* @__PURE__ */ e("dt", {
164
- className: ee(),
164
+ className: E(),
165
165
  children: t
166
166
  }),
167
167
  Description: ({ children: t }) => /* @__PURE__ */ e("dd", {
@@ -214,21 +214,51 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
214
214
  children: l
215
215
  })]
216
216
  });
217
- }, ae = p(["grid gap-[var(--space-stack)]", "lg:grid-cols-[10rem_minmax(0,1fr)] lg:items-start lg:gap-x-12"].join(" ")), oe = p("lg:sticky lg:top-6"), se = p("block border-b border-solid border-border pb-1 font-secondary text-label tracking-label text-muted"), ce = p("block pt-1 font-secondary text-label tracking-label text-foreground"), le = {
218
- Root: ({ children: t, testId: n }) => /* @__PURE__ */ e("div", {
217
+ }, D = class extends Error {
218
+ constructor(e) {
219
+ super(`Meter configuration is invalid: ${e}`), this.name = "MeterConfigurationError";
220
+ }
221
+ }, ae = p("w-full h-[var(--meter-track-thickness)] bg-meter-track border border-solid border-rule"), oe = p("h-full w-[calc(var(--meter-level)*100%)]", {
222
+ variants: { treatment: {
223
+ neutral: "bg-meter-fill",
224
+ depleting: "bg-[color-mix(in_oklab,var(--color-meter-fill)_calc(var(--meter-level)*100%),var(--color-error))]"
225
+ } },
226
+ defaultVariants: { treatment: "neutral" }
227
+ }), se = ({ value: t, min: n = 0, max: r, treatment: i, label: a, valueText: o, testId: s }) => {
228
+ if (!Number.isFinite(t) || !Number.isFinite(n) || !Number.isFinite(r)) throw new D(`value, min and max must be finite numbers (got value=${t}, min=${n}, max=${r})`);
229
+ if (n >= r) throw new D(`min must be less than max (got min=${n}, max=${r})`);
230
+ if (t < n || t > r) throw new D(`value must lie within [min, max] (got value=${t}, min=${n}, max=${r})`);
231
+ let c = { "--meter-level": (t - n) / (r - n) };
232
+ return /* @__PURE__ */ e("div", {
233
+ role: "meter",
234
+ "aria-valuenow": t,
235
+ "aria-valuemin": n,
236
+ "aria-valuemax": r,
237
+ "aria-label": a,
238
+ "aria-valuetext": o,
239
+ "data-testid": s,
219
240
  className: ae(),
241
+ style: c,
242
+ children: /* @__PURE__ */ e("div", {
243
+ "aria-hidden": "true",
244
+ className: oe({ treatment: i })
245
+ })
246
+ });
247
+ }, ce = p(["grid gap-[var(--space-stack)]", "lg:grid-cols-[10rem_minmax(0,1fr)] lg:items-start lg:gap-x-12"].join(" ")), le = p("lg:sticky lg:top-6"), ue = p("block border-b border-solid border-border pb-1 font-secondary text-label tracking-label text-muted"), O = p("block pt-1 font-secondary text-label tracking-label text-foreground"), k = {
248
+ Root: ({ children: t, testId: n }) => /* @__PURE__ */ e("div", {
249
+ className: ce(),
220
250
  "data-testid": n,
221
251
  children: t
222
252
  }),
223
253
  Index: ({ number: n, children: r, testId: i }) => /* @__PURE__ */ t("div", {
224
- className: oe(),
254
+ className: le(),
225
255
  "data-testid": i,
226
256
  "aria-hidden": "true",
227
257
  children: [n !== void 0 && /* @__PURE__ */ e("span", {
228
- className: se(),
258
+ className: ue(),
229
259
  children: n
230
260
  }), /* @__PURE__ */ e("span", {
231
- className: ce(),
261
+ className: O(),
232
262
  children: r
233
263
  })]
234
264
  }),
@@ -236,7 +266,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
236
266
  "data-testid": n,
237
267
  children: t
238
268
  })
239
- }, D = p([
269
+ }, A = p([
240
270
  "[&:not([data-notes])]:overflow-x-auto",
241
271
  "[&>table]:w-full [&>table]:border-collapse [&>table]:text-left",
242
272
  "[&_caption]:pb-3 [&_caption]:text-left [&_caption]:font-secondary [&_caption]:text-label [&_caption]:tracking-label [&_caption]:text-muted",
@@ -245,7 +275,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
245
275
  "[&[data-notes=content]>table]:max-md:block",
246
276
  "[&[data-notes=content]_thead]:max-md:block [&[data-notes=content]_tbody]:max-md:block [&[data-notes=content]_tfoot]:max-md:block",
247
277
  "[&[data-notes=content]_tr]:max-md:block [&[data-notes=content]_td]:max-md:block [&[data-notes=content]_th]:max-md:block"
248
- ].join(" ")), O = p("border-t border-solid border-border"), k = p("px-4 py-2 text-small first:pl-0 last:pr-0", {
278
+ ].join(" ")), j = p("border-t border-solid border-border"), M = p("px-4 py-2 text-small first:pl-0 last:pr-0", {
249
279
  variants: {
250
280
  variant: {
251
281
  value: "font-primary text-foreground tabular-nums",
@@ -261,24 +291,24 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
261
291
  variant: "value",
262
292
  align: "left"
263
293
  }
264
- }), A = p("px-4 py-2 font-secondary font-medium text-label text-muted tracking-label first:pl-0 last:pr-0", {
294
+ }), N = p("px-4 py-2 font-secondary font-medium text-label text-muted tracking-label first:pl-0 last:pr-0", {
265
295
  variants: { align: {
266
296
  left: "text-left",
267
297
  right: "text-right",
268
298
  center: "text-center"
269
299
  } },
270
300
  defaultVariants: { align: "left" }
271
- }), j = {
301
+ }), P = {
272
302
  Root: ({ caption: n, notes: r, children: i, testId: a }) => {
273
303
  let o = /* @__PURE__ */ t("table", { children: [/* @__PURE__ */ e("caption", { children: n }), i] });
274
304
  return r === void 0 ? /* @__PURE__ */ e("section", {
275
- className: D(),
305
+ className: A(),
276
306
  "data-testid": a,
277
307
  "aria-label": n,
278
308
  tabIndex: 0,
279
309
  children: o
280
310
  }) : /* @__PURE__ */ e("div", {
281
- className: D(),
311
+ className: A(),
282
312
  "data-notes": r,
283
313
  "data-testid": a,
284
314
  children: o
@@ -288,160 +318,200 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
288
318
  Body: ({ children: t }) => /* @__PURE__ */ e("tbody", { children: t }),
289
319
  Footer: ({ children: t }) => /* @__PURE__ */ e("tfoot", { children: t }),
290
320
  Row: ({ children: t, testId: n }) => /* @__PURE__ */ e("tr", {
291
- className: O(),
321
+ className: j(),
292
322
  "data-testid": n,
293
323
  children: t
294
324
  }),
295
325
  HeaderCell: ({ scope: t, align: n, children: r }) => /* @__PURE__ */ e("th", {
296
326
  scope: t,
297
- className: A({ align: n }),
327
+ className: N({ align: n }),
298
328
  children: r
299
329
  }),
300
330
  Cell: ({ variant: t, align: n, children: r }) => /* @__PURE__ */ e("td", {
301
- className: k({
331
+ className: M({
302
332
  variant: t,
303
333
  align: n
304
334
  }),
305
335
  "data-variant": t ?? "value",
306
336
  children: r
307
337
  })
308
- }, M = p("font-secondary text-label tracking-label font-medium", {
338
+ }, F = p("font-secondary text-label tracking-label font-medium", {
309
339
  variants: { color: {
310
340
  foreground: "text-foreground",
311
- muted: "text-muted"
341
+ muted: "text-muted",
342
+ success: "text-success",
343
+ warning: "text-warning",
344
+ error: "text-error",
345
+ info: "text-info"
312
346
  } },
313
347
  defaultVariants: { color: "muted" }
314
- }), N = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
315
- className: M({ color: n }),
348
+ }), I = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
349
+ className: F({ color: n }),
316
350
  "data-testid": r,
317
351
  children: t
318
- }), P = p("font-primary text-display leading-display tracking-optical max-w-[var(--measure-display)]", {
352
+ }), L = p("font-primary text-display leading-display tracking-optical max-w-[var(--measure-display)]", {
319
353
  variants: { color: {
320
354
  foreground: "text-foreground",
321
- muted: "text-muted"
355
+ muted: "text-muted",
356
+ success: "text-success",
357
+ warning: "text-warning",
358
+ error: "text-error",
359
+ info: "text-info"
322
360
  } },
323
361
  defaultVariants: { color: "foreground" }
324
- }), F = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h1", {
325
- className: P({ color: n }),
362
+ }), R = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h1", {
363
+ className: L({ color: n }),
326
364
  "data-testid": r,
327
365
  children: t
328
- }), I = p("font-primary text-title leading-title tracking-optical", {
366
+ }), z = p("font-primary text-title leading-title tracking-optical", {
329
367
  variants: { color: {
330
368
  foreground: "text-foreground",
331
- muted: "text-muted"
369
+ muted: "text-muted",
370
+ success: "text-success",
371
+ warning: "text-warning",
372
+ error: "text-error",
373
+ info: "text-info"
332
374
  } },
333
375
  defaultVariants: { color: "foreground" }
334
- }), L = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h2", {
335
- className: I({ color: n }),
376
+ }), B = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h2", {
377
+ className: z({ color: n }),
336
378
  "data-testid": r,
337
379
  children: t
338
- }), R = p("font-primary text-subtitle leading-subtitle", {
380
+ }), V = p("font-primary text-subtitle leading-subtitle", {
339
381
  variants: { color: {
340
382
  foreground: "text-foreground",
341
- muted: "text-muted"
383
+ muted: "text-muted",
384
+ success: "text-success",
385
+ warning: "text-warning",
386
+ error: "text-error",
387
+ info: "text-info"
342
388
  } },
343
389
  defaultVariants: { color: "foreground" }
344
- }), z = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h3", {
345
- className: R({ color: n }),
390
+ }), H = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h3", {
391
+ className: V({ color: n }),
346
392
  "data-testid": r,
347
393
  children: t
348
- }), B = p("font-primary text-body leading-body font-bold", {
394
+ }), U = p("font-primary text-body leading-body font-bold", {
349
395
  variants: { color: {
350
396
  foreground: "text-foreground",
351
- muted: "text-muted"
397
+ muted: "text-muted",
398
+ success: "text-success",
399
+ warning: "text-warning",
400
+ error: "text-error",
401
+ info: "text-info"
352
402
  } },
353
403
  defaultVariants: { color: "foreground" }
354
- }), V = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h4", {
355
- className: B({ color: n }),
404
+ }), de = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h4", {
405
+ className: U({ color: n }),
356
406
  "data-testid": r,
357
407
  children: t
358
- }), H = p("font-primary text-body leading-body font-semibold", {
408
+ }), fe = p("font-primary text-body leading-body font-semibold", {
359
409
  variants: { color: {
360
410
  foreground: "text-foreground",
361
- muted: "text-muted"
411
+ muted: "text-muted",
412
+ success: "text-success",
413
+ warning: "text-warning",
414
+ error: "text-error",
415
+ info: "text-info"
362
416
  } },
363
417
  defaultVariants: { color: "foreground" }
364
- }), U = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h5", {
365
- className: H({ color: n }),
418
+ }), pe = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h5", {
419
+ className: fe({ color: n }),
366
420
  "data-testid": r,
367
421
  children: t
368
- }), W = p("font-primary text-body leading-body font-medium", {
422
+ }), me = p("font-primary text-body leading-body font-medium", {
369
423
  variants: { color: {
370
424
  foreground: "text-foreground",
371
- muted: "text-muted"
425
+ muted: "text-muted",
426
+ success: "text-success",
427
+ warning: "text-warning",
428
+ error: "text-error",
429
+ info: "text-info"
372
430
  } },
373
431
  defaultVariants: { color: "foreground" }
374
- }), ue = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h6", {
375
- className: W({ color: n }),
432
+ }), he = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h6", {
433
+ className: me({ color: n }),
376
434
  "data-testid": r,
377
435
  children: t
378
- }), de = p("font-secondary text-small", {
436
+ }), ge = p("font-secondary text-small", {
379
437
  variants: { color: {
380
438
  foreground: "text-foreground",
381
- muted: "text-muted"
439
+ muted: "text-muted",
440
+ success: "text-success",
441
+ warning: "text-warning",
442
+ error: "text-error",
443
+ info: "text-info"
382
444
  } },
383
445
  defaultVariants: { color: "foreground" }
384
- }), fe = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
385
- className: de({ color: n }),
446
+ }), _e = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
447
+ className: ge({ color: n }),
386
448
  "data-testid": r,
387
449
  children: t
388
- }), pe = p("font-primary text-body leading-body", {
450
+ }), ve = p("font-primary text-body leading-body", {
389
451
  variants: { color: {
390
452
  foreground: "text-foreground",
391
- muted: "text-muted"
453
+ muted: "text-muted",
454
+ success: "text-success",
455
+ warning: "text-warning",
456
+ error: "text-error",
457
+ info: "text-info"
392
458
  } },
393
459
  defaultVariants: { color: "foreground" }
394
- }), me = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
395
- className: pe({ color: n }),
460
+ }), ye = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
461
+ className: ve({ color: n }),
396
462
  "data-testid": r,
397
463
  children: t
398
- }), he = p("flex max-w-[var(--measure)] flex-col gap-[var(--space-stack)]"), ge = p("font-primary text-lede leading-lede text-foreground"), _e = p("font-primary text-body leading-body", {
464
+ }), be = p("flex max-w-[var(--measure)] flex-col gap-[var(--space-stack)]"), xe = p("font-primary text-lede leading-lede text-foreground"), Se = p("font-primary text-body leading-body", {
399
465
  variants: { color: {
400
466
  foreground: "text-foreground",
401
- muted: "text-muted"
467
+ muted: "text-muted",
468
+ success: "text-success",
469
+ warning: "text-warning",
470
+ error: "text-error",
471
+ info: "text-info"
402
472
  } },
403
473
  defaultVariants: { color: "foreground" }
404
- }), ve = p("font-primary text-small text-muted"), ye = {
474
+ }), Ce = p("font-primary text-small text-muted"), we = {
405
475
  Root: ({ children: t, testId: n }) => /* @__PURE__ */ e("div", {
406
- className: he(),
476
+ className: be(),
407
477
  "data-testid": n,
408
478
  children: t
409
479
  }),
410
480
  Lede: ({ children: t }) => /* @__PURE__ */ e("p", {
411
- className: ge(),
481
+ className: xe(),
412
482
  children: t
413
483
  }),
414
484
  Body: ({ color: t, children: n }) => /* @__PURE__ */ e("p", {
415
- className: _e({ color: t }),
485
+ className: Se({ color: t }),
416
486
  children: n
417
487
  }),
418
488
  Tail: ({ children: t }) => /* @__PURE__ */ e("p", {
419
- className: ve(),
489
+ className: Ce(),
420
490
  children: t
421
491
  })
422
- }, be = p("font-primary text-body transition-colors duration-[var(--motion-duration-color)] rounded-[var(--radius-control)] py-2 sm:py-2 disabled:bg-disabled disabled:hover:bg-disabled-hover cursor-pointer disabled:cursor-not-allowed select-none text-nowrap inline-flex flex-row items-center justify-center gap-2 outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
492
+ }, Te = p("font-primary text-body transition-colors duration-[var(--motion-duration-color)] rounded-[var(--radius-control)] py-2 sm:py-2 disabled:bg-disabled disabled:hover:bg-disabled-hover cursor-pointer disabled:cursor-not-allowed select-none text-nowrap inline-flex flex-row items-center justify-center gap-2 outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
423
493
  variants: { variant: {
424
494
  primary: "px-4 sm:px-6 min-w-[var(--control-min-width)] bg-primary text-primary-foreground hover:bg-primary-hover",
425
495
  secondary: "px-4 sm:px-6 min-w-[var(--control-min-width)] bg-secondary text-secondary-foreground hover:bg-secondary-hover",
426
496
  ghost: "px-2 min-w-0 bg-transparent text-foreground hover:underline hover:decoration-[length:var(--underline-thickness)] hover:underline-offset-[var(--underline-offset)]"
427
497
  } },
428
498
  defaultVariants: { variant: "primary" }
429
- }), xe = ({ children: t, disabled: n, testId: r, variant: i, onClick$: a, ariaLabel: o, type: s = "button" }) => /* @__PURE__ */ e("button", {
499
+ }), Ee = ({ children: t, disabled: n, testId: r, variant: i, onClick$: a, ariaLabel: o, type: s = "button" }) => /* @__PURE__ */ e("button", {
430
500
  type: s,
431
501
  "data-testid": r,
432
- className: be({ variant: i }),
502
+ className: Te({ variant: i }),
433
503
  onClick: () => a?.next(),
434
504
  disabled: n,
435
505
  "aria-label": o,
436
506
  children: t
437
- }), Se = p("block w-full rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent px-3 py-2 font-primary 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", {
507
+ }), De = p("block w-full rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent px-3 py-2 font-primary 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", {
438
508
  variants: { variant: {
439
509
  text: "",
440
510
  email: "",
441
511
  url: ""
442
512
  } },
443
513
  defaultVariants: { variant: "text" }
444
- }), Ce = ({ label: n, name: r, variant: i, required: a, optionalLabel: l, invalid: u, disabled: d, defaultValue: f, placeholder: p, autocomplete: m, hint: h, errorMessage: g, onInput$: _, reset$: v, testId: y }) => {
514
+ }), Oe = ({ label: n, name: r, variant: i, required: a, optionalLabel: l, invalid: u, disabled: d, defaultValue: f, placeholder: p, autocomplete: m, hint: h, errorMessage: g, onInput$: _, reset$: v, testId: y }) => {
445
515
  let b = s(), x = `${b}-control`, S = `${b}-hint`, C = `${b}-error`, w = [h ? S : void 0, u ? C : void 0].filter(Boolean).join(" ") || void 0, T = c(null);
446
516
  return o(() => {
447
517
  let e = v?.subscribe(() => {
@@ -461,7 +531,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
461
531
  id: x,
462
532
  name: r,
463
533
  type: i ?? "text",
464
- className: Se({ variant: i }),
534
+ className: De({ variant: i }),
465
535
  required: a,
466
536
  disabled: d,
467
537
  defaultValue: f,
@@ -488,7 +558,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
488
558
  })
489
559
  ]
490
560
  });
491
- }, we = p("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
561
+ }, ke = p("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
492
562
  variants: { treatment: {
493
563
  prose: "text-link underline decoration-[length:var(--underline-thickness)] underline-offset-[var(--underline-offset)] hover:decoration-[length:var(--underline-thickness-hover)]",
494
564
  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",
@@ -496,45 +566,82 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
496
566
  graphic: "text-inherit no-underline"
497
567
  } },
498
568
  defaultVariants: { treatment: "prose" }
499
- }), Te = ({ href: t, children: n, treatment: r, external: i, current: a, testId: o }) => /* @__PURE__ */ e("a", {
569
+ }), Ae = ({ href: t, children: n, treatment: r, external: i, current: a, testId: o }) => /* @__PURE__ */ e("a", {
500
570
  href: t,
501
- className: we({ treatment: r }),
571
+ className: ke({ treatment: r }),
502
572
  target: i ? "_blank" : void 0,
503
573
  rel: i ? "noopener noreferrer" : void 0,
504
574
  "aria-current": a ? "page" : void 0,
505
575
  "data-testid": o,
506
576
  children: n
507
- }), Ee = class extends Error {
577
+ }), W = class extends Error {
578
+ constructor(e) {
579
+ super(`Slider configuration: ${e}`), this.name = "SliderConfigurationError";
580
+ }
581
+ }, je = p([
582
+ "block h-[var(--slider-thumb-size)] w-full cursor-pointer appearance-none bg-transparent",
583
+ "disabled:cursor-not-allowed",
584
+ "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]",
585
+ "[&::-webkit-slider-runnable-track]:h-[var(--slider-track-thickness)] [&::-webkit-slider-runnable-track]:rounded-[var(--radius-control)] [&::-webkit-slider-runnable-track]:bg-control-border",
586
+ "[&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:size-[var(--slider-thumb-size)] [&::-webkit-slider-thumb]:rounded-[var(--radius-control)] [&::-webkit-slider-thumb]:bg-foreground",
587
+ "[&::-webkit-slider-thumb]:mt-[calc((var(--slider-track-thickness)-var(--slider-thumb-size))/2)]",
588
+ "[&:disabled::-webkit-slider-runnable-track]:bg-disabled [&:disabled::-webkit-slider-thumb]:bg-disabled",
589
+ "[&::-moz-range-track]:h-[var(--slider-track-thickness)] [&::-moz-range-track]:rounded-[var(--radius-control)] [&::-moz-range-track]:bg-control-border",
590
+ "[&::-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",
591
+ "[&:disabled::-moz-range-track]:bg-disabled [&:disabled::-moz-range-thumb]:bg-disabled"
592
+ ].join(" ")), Me = (e) => {
593
+ for (let [t, n] of Object.entries(e)) if (!Number.isFinite(n)) throw new W(`\`${t}\` must be a finite number, got ${n}`);
594
+ if (e.min >= e.max) throw new W(`\`min\` (${e.min}) must be below \`max\` (${e.max})`);
595
+ if (e.step <= 0) throw new W(`\`step\` (${e.step}) must be positive`);
596
+ if (e.value < e.min || e.value > e.max) throw new W(`\`value\` (${e.value}) must lie within [${e.min}, ${e.max}]`);
597
+ }, Ne = ({ min: t, max: n, step: r = 1, value: i, onInput$: a, label: o, valueText: s, disabled: c, testId: l }) => (Me({
598
+ min: t,
599
+ max: n,
600
+ step: r,
601
+ value: i
602
+ }), /* @__PURE__ */ e("input", {
603
+ type: "range",
604
+ className: je(),
605
+ min: t,
606
+ max: n,
607
+ step: r,
608
+ value: i,
609
+ disabled: c,
610
+ "aria-label": o,
611
+ "aria-valuetext": s,
612
+ "data-testid": l,
613
+ onChange: (e) => a.next(e.currentTarget.valueAsNumber)
614
+ })), Pe = class extends Error {
508
615
  constructor(e) {
509
616
  super(`Tabs.${e} must be composed inside Tabs.Root`), this.name = "TabsCompositionError";
510
617
  }
511
- }, De = p([
618
+ }, Fe = p([
512
619
  "flex flex-row overflow-x-auto",
513
620
  "p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
514
621
  "m-[calc(-1*(var(--focus-ring-width)+var(--focus-ring-offset)))]",
515
622
  "scroll-p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]"
516
- ].join(" ")), Oe = p([
623
+ ].join(" ")), Ie = p([
517
624
  "font-secondary text-label tracking-label",
518
625
  "text-muted hover:text-foreground aria-selected:text-foreground",
519
626
  "border-b-[length:var(--tab-marker-thickness)] border-solid border-transparent aria-selected:border-foreground",
520
627
  "shrink-0 cursor-pointer select-none text-nowrap px-[var(--tab-inset-inline)] py-[var(--tab-inset-block)]",
521
628
  "transition-colors duration-[var(--motion-duration-color)]",
522
629
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
523
- ].join(" ")), ke = p("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"), G = r(void 0), K = (e) => {
630
+ ].join(" ")), Le = p("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"), G = r(void 0), K = (e) => {
524
631
  let t = a(G);
525
- if (t === void 0) throw new Ee(e);
632
+ if (t === void 0) throw new Pe(e);
526
633
  return t;
527
- }, q = (e) => e.split("").map((e) => e.charCodeAt(0).toString(16).padStart(4, "0")).join(""), Ae = (e) => {
634
+ }, q = (e) => e.split("").map((e) => e.charCodeAt(0).toString(16).padStart(4, "0")).join(""), Re = (e) => {
528
635
  e.currentTarget.scrollIntoView({
529
636
  block: "nearest",
530
637
  inline: "nearest"
531
638
  });
532
- }, J = (e, t) => `${e}tab-${q(t)}`, Y = (e, t) => `${e}panel-${q(t)}`, je = (e, t) => {
639
+ }, J = (e, t) => `${e}tab-${q(t)}`, Y = (e, t) => `${e}panel-${q(t)}`, ze = (e, t) => {
533
640
  let n = e.closest("[role=\"tablist\"]");
534
641
  if (n === null) return;
535
642
  let r = Array.from(n.querySelectorAll(":scope > [role=\"tab\"]"));
536
643
  return r[(r.indexOf(e) + t + r.length) % r.length];
537
- }, Me = {
644
+ }, Be = {
538
645
  Root: ({ active: t, onSelect$: n, label: r, children: i, testId: a }) => {
539
646
  let o = s();
540
647
  return /* @__PURE__ */ e(G.Provider, {
@@ -555,7 +662,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
555
662
  return /* @__PURE__ */ e("div", {
556
663
  role: "tablist",
557
664
  "aria-label": r,
558
- className: De(),
665
+ className: Fe(),
559
666
  "data-testid": n,
560
667
  children: t
561
668
  });
@@ -571,18 +678,18 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
571
678
  tabIndex: s ? 0 : -1,
572
679
  "data-value": t,
573
680
  "data-testid": r,
574
- className: Oe(),
681
+ className: Ie(),
575
682
  onClick: () => a.next(t),
576
683
  onKeyDown: (e) => {
577
684
  if (e.key !== "ArrowLeft" && e.key !== "ArrowRight") return;
578
685
  e.preventDefault();
579
- let t = je(e.currentTarget, e.key === "ArrowRight" ? 1 : -1);
686
+ let t = ze(e.currentTarget, e.key === "ArrowRight" ? 1 : -1);
580
687
  if (t === void 0) return;
581
688
  t.focus();
582
689
  let n = t.dataset.value;
583
690
  n !== void 0 && a.next(n);
584
691
  },
585
- onFocus: Ae,
692
+ onFocus: Re,
586
693
  children: n
587
694
  });
588
695
  },
@@ -594,12 +701,12 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
594
701
  "aria-labelledby": J(a, t),
595
702
  hidden: !o,
596
703
  tabIndex: o ? 0 : void 0,
597
- className: ke(),
704
+ className: Le(),
598
705
  "data-testid": r,
599
706
  children: o ? n : void 0
600
707
  });
601
708
  }
602
- }, Ne = p("block min-h-24 w-full rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent px-3 py-2 font-primary 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"), Pe = ({ label: n, name: r, required: i, optionalLabel: a, invalid: l, disabled: u, defaultValue: d, placeholder: f, autocomplete: p, hint: m, errorMessage: h, onInput$: g, reset$: _, testId: v }) => {
709
+ }, Ve = p("block min-h-24 w-full rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent px-3 py-2 font-primary 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"), He = ({ label: n, name: r, required: i, optionalLabel: a, invalid: l, disabled: u, defaultValue: d, placeholder: f, autocomplete: p, hint: m, errorMessage: h, onInput$: g, reset$: _, testId: v }) => {
603
710
  let y = s(), b = `${y}-control`, x = `${y}-hint`, S = `${y}-error`, C = [m ? x : void 0, l ? S : void 0].filter(Boolean).join(" ") || void 0, w = c(null);
604
711
  return o(() => {
605
712
  let e = _?.subscribe(() => {
@@ -618,7 +725,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
618
725
  ref: w,
619
726
  id: b,
620
727
  name: r,
621
- className: Ne(),
728
+ className: Ve(),
622
729
  required: i,
623
730
  disabled: u,
624
731
  defaultValue: d,
@@ -645,31 +752,31 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
645
752
  })
646
753
  ]
647
754
  });
648
- }, Fe = p([
755
+ }, Ue = p([
649
756
  "flex flex-col items-center",
650
757
  "min-h-[var(--cover-height)]",
651
758
  "px-[var(--gutter)] py-[var(--space-region)]"
652
- ].join(" ")), Ie = "my-auto max-w-full", Le = ({ children: n, foot: r, testId: i }) => {
759
+ ].join(" ")), We = "my-auto max-w-full", Ge = ({ children: n, foot: r, testId: i }) => {
653
760
  let a = r != null && typeof r != "boolean";
654
761
  return /* @__PURE__ */ t("div", {
655
- className: Fe(),
762
+ className: Ue(),
656
763
  "data-testid": i,
657
764
  children: [/* @__PURE__ */ e("div", {
658
- className: Ie,
765
+ className: We,
659
766
  children: n
660
767
  }), a && /* @__PURE__ */ e("div", { children: r })]
661
768
  });
662
- }, Re = p("font-secondary text-small text-muted py-[var(--space-region)] px-[var(--gutter)]", {
769
+ }, Ke = p("font-secondary text-small text-muted py-[var(--space-region)] px-[var(--gutter)]", {
663
770
  variants: { edge: {
664
771
  none: "",
665
772
  rule: "border-t border-solid border-rule"
666
773
  } },
667
774
  defaultVariants: { edge: "rule" }
668
- }), ze = ({ edge: t, children: n, testId: r }) => /* @__PURE__ */ e("footer", {
669
- className: Re({ edge: t }),
775
+ }), qe = ({ edge: t, children: n, testId: r }) => /* @__PURE__ */ e("footer", {
776
+ className: Ke({ edge: t }),
670
777
  "data-testid": r,
671
778
  children: n
672
- }), Be = p("font-secondary text-small", {
779
+ }), Je = p("font-secondary text-small", {
673
780
  variants: { state: {
674
781
  idle: "text-muted",
675
782
  sending: "text-muted",
@@ -677,13 +784,13 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
677
784
  failed: "text-error"
678
785
  } },
679
786
  defaultVariants: { state: "idle" }
680
- }), Ve = {
787
+ }), Ye = {
681
788
  sent: "status",
682
789
  failed: "alert"
683
- }, He = ({ action: n, method: r = "post", state: i = "idle", children: a, actions: o, note: s, testId: c }) => {
790
+ }, Xe = ({ action: n, method: r = "post", state: i = "idle", children: a, actions: o, note: s, testId: c }) => {
684
791
  let l = s != null && typeof s != "boolean";
685
792
  if (i === "sent" && !l) throw Error("Form in the `sent` state must be given a `note` - it is the outcome message.");
686
- let u = i !== "sent", d = Ve[i];
793
+ let u = i !== "sent", d = Ye[i];
687
794
  return /* @__PURE__ */ t("form", {
688
795
  action: n,
689
796
  method: r,
@@ -701,12 +808,12 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
701
808
  }),
702
809
  l && /* @__PURE__ */ e("p", {
703
810
  role: d,
704
- className: Be({ state: i }),
811
+ className: Je({ state: i }),
705
812
  children: s
706
813
  })
707
814
  ]
708
815
  });
709
- }, Ue = p([
816
+ }, Ze = p([
710
817
  "flex items-baseline justify-between",
711
818
  "font-secondary text-label leading-label tracking-label text-muted",
712
819
  "py-[var(--space-region)] px-[var(--gutter)]",
@@ -717,50 +824,50 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
717
824
  rule: "border-b border-solid border-rule"
718
825
  } },
719
826
  defaultVariants: { edge: "rule" }
720
- }), We = [
827
+ }), Qe = [
721
828
  "inline-flex shrink-0 items-center",
722
829
  "min-h-[calc(var(--text-label)*var(--leading-label))]",
723
830
  "min-w-[var(--standing-min-width)]"
724
- ].join(" "), Ge = ({ edge: n, standing: r, navName: i, children: a, testId: o }) => /* @__PURE__ */ t("header", {
725
- className: Ue({ edge: n }),
831
+ ].join(" "), $e = ({ edge: n, standing: r, navName: i, children: a, testId: o }) => /* @__PURE__ */ t("header", {
832
+ className: Ze({ edge: n }),
726
833
  "data-testid": o,
727
834
  children: [/* @__PURE__ */ e("div", {
728
- className: We,
835
+ className: Qe,
729
836
  children: r
730
837
  }), /* @__PURE__ */ e("nav", {
731
838
  "aria-label": i,
732
839
  className: "flex flex-wrap items-baseline gap-[var(--space-region)]",
733
840
  children: a
734
841
  })]
735
- }), Ke = p("flex flex-col min-h-[var(--fold-height)] gap-[var(--space-stack)]", {
842
+ }), et = p("flex flex-col min-h-[var(--fold-height)] gap-[var(--space-stack)]", {
736
843
  variants: { place: {
737
844
  start: "justify-start",
738
845
  center: "justify-center",
739
846
  between: "justify-between"
740
847
  } },
741
848
  defaultVariants: { place: "center" }
742
- }), qe = ({ place: t, children: n, testId: r }) => /* @__PURE__ */ e("div", {
743
- className: Ke({ place: t }),
849
+ }), tt = ({ place: t, children: n, testId: r }) => /* @__PURE__ */ e("div", {
850
+ className: et({ place: t }),
744
851
  "data-testid": r,
745
852
  children: n
746
- }), Je = p("flex flex-col gap-[var(--space-stack)] py-[var(--space-band)] px-[var(--gutter)]"), Ye = p("font-primary text-title leading-title tracking-optical text-foreground"), Xe = p("font-primary text-lede leading-lede text-foreground max-w-[var(--measure-wide)]"), Ze = p("font-primary text-small text-muted max-w-[var(--measure)]"), X = ({ title: n, lede: r, intro: i, testId: a }) => /* @__PURE__ */ t("header", {
747
- className: Je(),
853
+ }), nt = p("flex flex-col gap-[var(--space-stack)] py-[var(--space-band)] px-[var(--gutter)]"), rt = p("font-primary text-title leading-title tracking-optical text-foreground"), it = p("font-primary text-lede leading-lede text-foreground max-w-[var(--measure-wide)]"), X = p("font-primary text-small text-muted max-w-[var(--measure)]"), at = ({ title: n, lede: r, intro: i, testId: a }) => /* @__PURE__ */ t("header", {
854
+ className: nt(),
748
855
  "data-testid": a,
749
856
  children: [
750
857
  /* @__PURE__ */ e("h1", {
751
- className: Ye(),
858
+ className: rt(),
752
859
  children: n
753
860
  }),
754
861
  r !== void 0 && /* @__PURE__ */ e("p", {
755
- className: Xe(),
862
+ className: it(),
756
863
  children: r
757
864
  }),
758
865
  i !== void 0 && /* @__PURE__ */ e("p", {
759
- className: Ze(),
866
+ className: X(),
760
867
  children: i
761
868
  })
762
869
  ]
763
- }), Qe = p([
870
+ }), ot = p([
764
871
  "relative",
765
872
  "py-[var(--space-band)]",
766
873
  "[[data-section]+&]:border-t [[data-section]+&]:border-solid [[data-section]+&]:border-rule"
@@ -770,20 +877,20 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
770
877
  full: ""
771
878
  } },
772
879
  defaultVariants: { bleed: "inset" }
773
- }), $e = ({ bleed: t, name: n, children: r, testId: i }) => /* @__PURE__ */ e("section", {
880
+ }), st = ({ bleed: t, name: n, children: r, testId: i }) => /* @__PURE__ */ e("section", {
774
881
  "data-section": "",
775
- className: Qe({ bleed: t }),
882
+ className: ot({ bleed: t }),
776
883
  "aria-label": n,
777
884
  "data-testid": i,
778
885
  children: r
779
- }), et = p([
886
+ }), ct = p([
780
887
  "grid gap-[var(--space-region)] lg:grid-cols-[12rem_minmax(0,1fr)]",
781
888
  "[&>div:first-child]:border-solid [&>div:first-child]:border-border [&>div:first-child]:border-b [&>div:first-child]:pb-[var(--space-stack)]",
782
889
  "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)]",
783
890
  "lg:[&>div:first-child>nav]:sticky lg:[&>div:first-child>nav]:top-0 lg:[&>div:first-child>nav]:max-h-[min(100dvh,var(--sidebar-scrollport-height,100dvh))] lg:[&>div:first-child>nav]:overflow-y-auto",
784
891
  "[&>div:first-child>nav]:p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))] lg:[&>div:first-child>nav]:scroll-p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
785
892
  "[&>div:first-child>nav>ul]:flex [&>div:first-child>nav>ul]:flex-col [&>div:first-child>nav>ul]:gap-[var(--space-stack)]"
786
- ].join(" ")), tt = (e) => {
893
+ ].join(" ")), lt = (e) => {
787
894
  if (!e) return;
788
895
  let t = [];
789
896
  for (let n = e.parentElement; n && n !== e.ownerDocument.documentElement; n = n.parentElement) t.push(n);
@@ -797,7 +904,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
797
904
  return window.addEventListener("resize", n), () => {
798
905
  r?.disconnect(), window.removeEventListener("resize", n), e.style.removeProperty("--sidebar-scrollport-height");
799
906
  };
800
- }, nt = p([
907
+ }, ut = p([
801
908
  "w-full text-left font-secondary text-label tracking-label",
802
909
  "underline-offset-[var(--underline-offset)]",
803
910
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
@@ -812,7 +919,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
812
919
  let o = a(Z), s = o !== void 0 && o.active === t;
813
920
  return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("button", {
814
921
  type: "button",
815
- className: nt({ state: r ? "inert" : s ? "active" : "usable" }),
922
+ className: ut({ state: r ? "inert" : s ? "active" : "usable" }),
816
923
  disabled: r,
817
924
  "aria-current": s ? "true" : void 0,
818
925
  "data-testid": i,
@@ -824,14 +931,14 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
824
931
  }, $ = ({ children: t, testId: n }) => /* @__PURE__ */ e("div", {
825
932
  "data-testid": n,
826
933
  children: t
827
- }), rt = {
934
+ }), dt = {
828
935
  Root: ({ active: r, label: a, onSelect$: o, children: s, testId: c }) => {
829
936
  let l = n.toArray(s).filter(i);
830
937
  return /* @__PURE__ */ t("div", {
831
- className: et(),
938
+ className: ct(),
832
939
  "data-testid": c,
833
940
  children: [/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("nav", {
834
- ref: tt,
941
+ ref: lt,
835
942
  "aria-label": a,
836
943
  children: /* @__PURE__ */ e(Z, {
837
944
  value: {
@@ -845,7 +952,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
845
952
  },
846
953
  Item: Q,
847
954
  Content: $
848
- }, it = {
955
+ }, ft = {
849
956
  surface: "#ffffff",
850
957
  foreground: "#0f172a",
851
958
  muted: "#64748b",
@@ -853,6 +960,8 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
853
960
  controlBorder: "#64748b",
854
961
  rule: "#808fa3",
855
962
  backing: "#f1f5f9",
963
+ meterFill: "#0f172a",
964
+ meterTrack: "#e2e8f0",
856
965
  primary: "#7c3aed",
857
966
  primaryHover: "#6d28d9",
858
967
  primaryForeground: "#f8fafc",
@@ -863,11 +972,11 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
863
972
  disabledHover: "#64748b",
864
973
  focusRing: "#475569",
865
974
  link: "#2563eb",
866
- success: "#10b981",
867
- warning: "#f59e0b",
975
+ success: "#047857",
976
+ warning: "#b45309",
868
977
  error: "#d63384",
869
- info: "#06b6d4"
870
- }, at = {
978
+ info: "#0e7490"
979
+ }, pt = {
871
980
  surface: "#0f172a",
872
981
  foreground: "#f8fafc",
873
982
  muted: "#94a3b8",
@@ -875,6 +984,8 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
875
984
  controlBorder: "#94a3b8",
876
985
  rule: "#5b6a80",
877
986
  backing: "#1e293b",
987
+ meterFill: "#f8fafc",
988
+ meterTrack: "#334155",
878
989
  primary: "#8b5cf6",
879
990
  primaryHover: "#a78bfa",
880
991
  primaryForeground: "#020617",
@@ -891,4 +1002,4 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
891
1002
  info: "#22d3ee"
892
1003
  };
893
1004
  //#endregion
894
- export { y as Brandmark, xe as Button, S as Checklist, h as Cluster, T as Collection, Le as Cover, ne as DefinitionList, N as Eyebrow, ie as Figure, ze as Footer, He as Form, F as H1, L as H2, z as H3, V as H4, U as H5, ue as H6, Ge as Header, qe as Hero, Ce as Input, Te as Link, fe as Note, me as P, X as PageHead, ye as Prose, le as Rail, $e as Section, rt as Sidebar, _ as Stack, j as Table, Me as Tabs, Pe as TextArea, at as dark, it as light };
1005
+ export { y as Brandmark, Ee as Button, S as Checklist, h as Cluster, T as Collection, Ge as Cover, ne as DefinitionList, I as Eyebrow, ie as Figure, qe as Footer, Xe as Form, R as H1, B as H2, H as H3, de as H4, pe as H5, he as H6, $e as Header, tt as Hero, Oe as Input, Ae as Link, se as Meter, _e as Note, ye as P, at as PageHead, we as Prose, k as Rail, st as Section, dt as Sidebar, Ne as Slider, _ as Stack, P as Table, Be as Tabs, He as TextArea, pt as dark, ft as light };