@juwel-development/design-system 3.5.0 → 3.7.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.
@@ -1,35 +1,35 @@
1
1
  import { jsx as e, jsxs as t } from "react/jsx-runtime";
2
- import { Children as n, createContext as r, isValidElement as i, useContext as a, useEffect as o, useId as s, useRef as c } from "react";
2
+ import { Children as n, createContext as r, isValidElement as i, useCallback as a, useContext as o, useEffect as s, useId as c, useRef as l, useState as u } from "react";
3
3
  import './index.css';//#region node_modules/clsx/dist/clsx.mjs
4
- function l(e) {
4
+ function d(e) {
5
5
  var t, n, r = "";
6
6
  if (typeof e == "string" || typeof e == "number") r += e;
7
7
  else if (typeof e == "object") {
8
8
  if (Array.isArray(e)) {
9
9
  var i = e.length;
10
- for (t = 0; t < i; t++) e[t] && (n = l(e[t])) && (r && (r += " "), r += n);
10
+ for (t = 0; t < i; t++) e[t] && (n = d(e[t])) && (r && (r += " "), r += n);
11
11
  } else for (n in e) e[n] && (r && (r += " "), r += n);
12
12
  }
13
13
  return r;
14
14
  }
15
- function u() {
16
- for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = l(e)) && (r && (r += " "), r += t);
15
+ function f() {
16
+ for (var e, t, n = 0, r = "", i = arguments.length; n < i; n++) (e = arguments[n]) && (t = d(e)) && (r && (r += " "), r += t);
17
17
  return r;
18
18
  }
19
19
  //#endregion
20
20
  //#region node_modules/class-variance-authority/dist/index.mjs
21
- var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e, t) => (n) => {
22
- if (t?.variants == null) return f(e, n?.class, n?.className);
21
+ var p = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, m = f, h = (e, t) => (n) => {
22
+ if (t?.variants == null) return m(e, n?.class, n?.className);
23
23
  let { variants: r, defaultVariants: i } = t, a = Object.keys(r).map((e) => {
24
24
  let t = n?.[e], a = i?.[e];
25
25
  if (t === null) return null;
26
- let o = d(t) || d(a);
26
+ let o = p(t) || p(a);
27
27
  return r[e][o];
28
28
  }), o = n && Object.entries(n).reduce((e, t) => {
29
29
  let [n, r] = t;
30
30
  return r === void 0 || (e[n] = r), e;
31
31
  }, {});
32
- return f(e, a, t?.compoundVariants?.reduce((e, t) => {
32
+ return m(e, a, t?.compoundVariants?.reduce((e, t) => {
33
33
  let { class: n, className: r, ...a } = t;
34
34
  return Object.entries(a).every((e) => {
35
35
  let [t, n] = e;
@@ -46,7 +46,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
46
46
  r
47
47
  ] : e;
48
48
  }, []), n?.class, n?.className);
49
- }, m = p("flex flex-wrap items-baseline gap-y-[var(--space-stack)]", {
49
+ }, g = h("flex flex-wrap items-baseline gap-y-[var(--space-stack)]", {
50
50
  variants: {
51
51
  gap: {
52
52
  stack: "gap-x-[var(--space-stack)]",
@@ -61,14 +61,14 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
61
61
  gap: "region",
62
62
  justify: "start"
63
63
  }
64
- }), h = ({ gap: t, justify: n, children: r, testId: i }) => /* @__PURE__ */ e("div", {
65
- className: m({
64
+ }), _ = ({ gap: t, justify: n, children: r, testId: i }) => /* @__PURE__ */ e("div", {
65
+ className: g({
66
66
  gap: t,
67
67
  justify: n
68
68
  }),
69
69
  "data-testid": i,
70
70
  children: r
71
- }), g = p("flex", {
71
+ }), v = h("flex", {
72
72
  variants: {
73
73
  gap: {
74
74
  stack: "gap-[var(--space-stack)]",
@@ -93,8 +93,8 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
93
93
  measure: !1,
94
94
  direction: "column"
95
95
  }
96
- }), _ = ({ gap: t, measure: n, direction: r, align: i, children: a, testId: o }) => /* @__PURE__ */ e("div", {
97
- className: g({
96
+ }), y = ({ gap: t, measure: n, direction: r, align: i, children: a, testId: o }) => /* @__PURE__ */ e("div", {
97
+ className: v({
98
98
  gap: t,
99
99
  measure: n,
100
100
  direction: r,
@@ -102,73 +102,73 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
102
102
  }),
103
103
  "data-testid": o,
104
104
  children: a
105
- }), v = p("inline-flex", { variants: { cut: {
105
+ }), b = h("inline-flex", { variants: { cut: {
106
106
  full: "",
107
107
  compact: ""
108
- } } }), y = ({ name: t, cut: n, children: r, testId: i }) => t === "" ? /* @__PURE__ */ e("span", {
108
+ } } }), x = ({ name: t, cut: n, children: r, testId: i }) => t === "" ? /* @__PURE__ */ e("span", {
109
109
  "aria-hidden": "true",
110
110
  "data-cut": n,
111
- className: v({ cut: n }),
111
+ className: b({ cut: n }),
112
112
  "data-testid": i,
113
113
  children: r
114
114
  }) : /* @__PURE__ */ e("span", {
115
115
  role: "img",
116
116
  "aria-label": t,
117
117
  "data-cut": n,
118
- className: v({ cut: n }),
118
+ className: b({ cut: n }),
119
119
  "data-testid": i,
120
120
  children: r
121
- }), b = p("m-0 list-none p-0"), x = p([
121
+ }), S = h("m-0 list-none p-0"), C = h([
122
122
  "flex items-start gap-3 font-primary text-body leading-body text-foreground",
123
123
  "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-['']",
124
124
  "[&: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)]"
125
- ].join(" ")), S = {
125
+ ].join(" ")), w = {
126
126
  Root: ({ children: t, testId: n }) => /* @__PURE__ */ e("ul", {
127
- className: b(),
127
+ className: S(),
128
128
  role: "list",
129
129
  "data-testid": n,
130
130
  children: t
131
131
  }),
132
132
  Item: ({ children: t }) => /* @__PURE__ */ e("li", {
133
- className: x(),
133
+ className: C(),
134
134
  children: t
135
135
  })
136
- }, C = p("m-0 list-none p-0"), w = p("py-[var(--space-collection-item)] [&+li]:border-t [&+li]:border-solid [&+li]:border-border"), T = {
136
+ }, T = h("m-0 list-none p-0"), ee = h("py-[var(--space-collection-item)] [&+li]:border-t [&+li]:border-solid [&+li]:border-border"), te = {
137
137
  Root: ({ children: t, testId: n }) => /* @__PURE__ */ e("ul", {
138
- className: C(),
138
+ className: T(),
139
139
  role: "list",
140
140
  "data-testid": n,
141
141
  children: t
142
142
  }),
143
143
  Item: ({ children: t, testId: n }) => /* @__PURE__ */ e("li", {
144
- className: w(),
144
+ className: ee(),
145
145
  "data-testid": n,
146
146
  children: t
147
147
  })
148
- }, ee = p([
148
+ }, ne = h([
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(" ")), 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 = {
153
+ ].join(" ")), re = h("font-primary text-subtitle leading-subtitle text-foreground"), ie = h("font-primary text-body leading-body text-muted max-w-[var(--measure)]"), ae = {
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: ee(),
159
+ className: ne(),
160
160
  "data-testid": n,
161
161
  children: t
162
162
  }),
163
163
  Term: ({ children: t }) => /* @__PURE__ */ e("dt", {
164
- className: E(),
164
+ className: re(),
165
165
  children: t
166
166
  }),
167
167
  Description: ({ children: t }) => /* @__PURE__ */ e("dd", {
168
- className: te(),
168
+ className: ie(),
169
169
  children: t
170
170
  })
171
- }, re = p("block w-full object-cover bg-backing", {
171
+ }, oe = h("block w-full object-cover bg-backing", {
172
172
  variants: {
173
173
  ratio: {
174
174
  portrait: "aspect-portrait",
@@ -185,13 +185,13 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
185
185
  }
186
186
  },
187
187
  defaultVariants: { focus: "center" }
188
- }), ie = ({ src: n, alt: r, width: i, height: a, ratio: o, focus: s, responsive: c, caption: l, overlay: u, priority: d, testId: f }) => {
188
+ }), se = ({ src: n, alt: r, width: i, height: a, ratio: o, focus: s, responsive: c, caption: l, overlay: u, priority: d, testId: f }) => {
189
189
  let p = u != null && typeof u != "boolean", m = /* @__PURE__ */ e("img", {
190
190
  src: n,
191
191
  alt: r,
192
192
  width: i,
193
193
  height: a,
194
- className: re({
194
+ className: oe({
195
195
  ratio: o,
196
196
  focus: s
197
197
  }),
@@ -214,20 +214,20 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
214
214
  children: l
215
215
  })]
216
216
  });
217
- }, D = class extends Error {
217
+ }, E = class extends Error {
218
218
  constructor(e) {
219
219
  super(`Meter configuration is invalid: ${e}`), this.name = "MeterConfigurationError";
220
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%)]", {
221
+ }, ce = h("w-full h-[var(--meter-track-thickness)] bg-meter-track border border-solid border-rule"), le = h("h-full w-[calc(var(--meter-level)*100%)]", {
222
222
  variants: { treatment: {
223
223
  neutral: "bg-meter-fill",
224
224
  depleting: "bg-[color-mix(in_oklab,var(--color-meter-fill)_calc(var(--meter-level)*100%),var(--color-error))]"
225
225
  } },
226
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})`);
227
+ }), ue = ({ 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 E(`value, min and max must be finite numbers (got value=${t}, min=${n}, max=${r})`);
229
+ if (n >= r) throw new E(`min must be less than max (got min=${n}, max=${r})`);
230
+ if (t < n || t > r) throw new E(`value must lie within [min, max] (got value=${t}, min=${n}, max=${r})`);
231
231
  let c = { "--meter-level": (t - n) / (r - n) };
232
232
  return /* @__PURE__ */ e("div", {
233
233
  role: "meter",
@@ -237,28 +237,28 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
237
237
  "aria-label": a,
238
238
  "aria-valuetext": o,
239
239
  "data-testid": s,
240
- className: ae(),
240
+ className: ce(),
241
241
  style: c,
242
242
  children: /* @__PURE__ */ e("div", {
243
243
  "aria-hidden": "true",
244
- className: oe({ treatment: i })
244
+ className: le({ treatment: i })
245
245
  })
246
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 = {
247
+ }, de = h(["grid gap-[var(--space-stack)]", "lg:grid-cols-[10rem_minmax(0,1fr)] lg:items-start lg:gap-x-12"].join(" ")), fe = h("lg:sticky lg:top-6"), pe = h("block border-b border-solid border-border pb-1 font-secondary text-label tracking-label text-muted"), me = h("block pt-1 font-secondary text-label tracking-label text-foreground"), he = {
248
248
  Root: ({ children: t, testId: n }) => /* @__PURE__ */ e("div", {
249
- className: ce(),
249
+ className: de(),
250
250
  "data-testid": n,
251
251
  children: t
252
252
  }),
253
253
  Index: ({ number: n, children: r, testId: i }) => /* @__PURE__ */ t("div", {
254
- className: le(),
254
+ className: fe(),
255
255
  "data-testid": i,
256
256
  "aria-hidden": "true",
257
257
  children: [n !== void 0 && /* @__PURE__ */ e("span", {
258
- className: ue(),
258
+ className: pe(),
259
259
  children: n
260
260
  }), /* @__PURE__ */ e("span", {
261
- className: O(),
261
+ className: me(),
262
262
  children: r
263
263
  })]
264
264
  }),
@@ -266,7 +266,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
266
266
  "data-testid": n,
267
267
  children: t
268
268
  })
269
- }, A = p([
269
+ }, D = h([
270
270
  "[&:not([data-notes])]:overflow-x-auto",
271
271
  "[&>table]:w-full [&>table]:border-collapse [&>table]:text-left",
272
272
  "[&_caption]:pb-3 [&_caption]:text-left [&_caption]:font-secondary [&_caption]:text-label [&_caption]:tracking-label [&_caption]:text-muted",
@@ -275,7 +275,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
275
275
  "[&[data-notes=content]>table]:max-md:block",
276
276
  "[&[data-notes=content]_thead]:max-md:block [&[data-notes=content]_tbody]:max-md:block [&[data-notes=content]_tfoot]:max-md:block",
277
277
  "[&[data-notes=content]_tr]:max-md:block [&[data-notes=content]_td]:max-md:block [&[data-notes=content]_th]:max-md:block"
278
- ].join(" ")), j = p("border-t border-solid border-border"), M = p("px-4 py-2 text-small first:pl-0 last:pr-0", {
278
+ ].join(" ")), ge = h("border-t border-solid border-border"), O = h("px-4 py-2 text-small first:pl-0 last:pr-0", {
279
279
  variants: {
280
280
  variant: {
281
281
  value: "font-primary text-foreground tabular-nums",
@@ -291,24 +291,24 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
291
291
  variant: "value",
292
292
  align: "left"
293
293
  }
294
- }), N = p("px-4 py-2 font-secondary font-medium text-label text-muted tracking-label first:pl-0 last:pr-0", {
294
+ }), k = h("px-4 py-2 font-secondary font-medium text-label text-muted tracking-label first:pl-0 last:pr-0", {
295
295
  variants: { align: {
296
296
  left: "text-left",
297
297
  right: "text-right",
298
298
  center: "text-center"
299
299
  } },
300
300
  defaultVariants: { align: "left" }
301
- }), P = {
301
+ }), A = {
302
302
  Root: ({ caption: n, notes: r, children: i, testId: a }) => {
303
303
  let o = /* @__PURE__ */ t("table", { children: [/* @__PURE__ */ e("caption", { children: n }), i] });
304
304
  return r === void 0 ? /* @__PURE__ */ e("section", {
305
- className: A(),
305
+ className: D(),
306
306
  "data-testid": a,
307
307
  "aria-label": n,
308
308
  tabIndex: 0,
309
309
  children: o
310
310
  }) : /* @__PURE__ */ e("div", {
311
- className: A(),
311
+ className: D(),
312
312
  "data-notes": r,
313
313
  "data-testid": a,
314
314
  children: o
@@ -318,24 +318,24 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
318
318
  Body: ({ children: t }) => /* @__PURE__ */ e("tbody", { children: t }),
319
319
  Footer: ({ children: t }) => /* @__PURE__ */ e("tfoot", { children: t }),
320
320
  Row: ({ children: t, testId: n }) => /* @__PURE__ */ e("tr", {
321
- className: j(),
321
+ className: ge(),
322
322
  "data-testid": n,
323
323
  children: t
324
324
  }),
325
325
  HeaderCell: ({ scope: t, align: n, children: r }) => /* @__PURE__ */ e("th", {
326
326
  scope: t,
327
- className: N({ align: n }),
327
+ className: k({ align: n }),
328
328
  children: r
329
329
  }),
330
330
  Cell: ({ variant: t, align: n, children: r }) => /* @__PURE__ */ e("td", {
331
- className: M({
331
+ className: O({
332
332
  variant: t,
333
333
  align: n
334
334
  }),
335
335
  "data-variant": t ?? "value",
336
336
  children: r
337
337
  })
338
- }, F = p("font-secondary text-label tracking-label font-medium", {
338
+ }, j = h("font-secondary text-label tracking-label font-medium", {
339
339
  variants: { color: {
340
340
  foreground: "text-foreground",
341
341
  muted: "text-muted",
@@ -345,11 +345,11 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
345
345
  info: "text-info"
346
346
  } },
347
347
  defaultVariants: { color: "muted" }
348
- }), I = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
349
- className: F({ color: n }),
348
+ }), M = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
349
+ className: j({ color: n }),
350
350
  "data-testid": r,
351
351
  children: t
352
- }), L = p("font-primary text-display leading-display tracking-optical max-w-[var(--measure-display)]", {
352
+ }), N = h("font-primary text-display leading-display tracking-optical max-w-[var(--measure-display)]", {
353
353
  variants: { color: {
354
354
  foreground: "text-foreground",
355
355
  muted: "text-muted",
@@ -359,11 +359,11 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
359
359
  info: "text-info"
360
360
  } },
361
361
  defaultVariants: { color: "foreground" }
362
- }), R = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h1", {
363
- className: L({ color: n }),
362
+ }), P = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h1", {
363
+ className: N({ color: n }),
364
364
  "data-testid": r,
365
365
  children: t
366
- }), z = p("font-primary text-title leading-title tracking-optical", {
366
+ }), F = h("font-primary text-title leading-title tracking-optical", {
367
367
  variants: { color: {
368
368
  foreground: "text-foreground",
369
369
  muted: "text-muted",
@@ -373,11 +373,11 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
373
373
  info: "text-info"
374
374
  } },
375
375
  defaultVariants: { color: "foreground" }
376
- }), B = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h2", {
377
- className: z({ color: n }),
376
+ }), I = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h2", {
377
+ className: F({ color: n }),
378
378
  "data-testid": r,
379
379
  children: t
380
- }), V = p("font-primary text-subtitle leading-subtitle", {
380
+ }), L = h("font-primary text-subtitle leading-subtitle", {
381
381
  variants: { color: {
382
382
  foreground: "text-foreground",
383
383
  muted: "text-muted",
@@ -387,11 +387,11 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
387
387
  info: "text-info"
388
388
  } },
389
389
  defaultVariants: { color: "foreground" }
390
- }), H = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h3", {
391
- className: V({ color: n }),
390
+ }), _e = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h3", {
391
+ className: L({ color: n }),
392
392
  "data-testid": r,
393
393
  children: t
394
- }), U = p("font-primary text-body leading-body font-bold", {
394
+ }), ve = h("font-primary text-body leading-body font-bold", {
395
395
  variants: { color: {
396
396
  foreground: "text-foreground",
397
397
  muted: "text-muted",
@@ -401,11 +401,11 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
401
401
  info: "text-info"
402
402
  } },
403
403
  defaultVariants: { color: "foreground" }
404
- }), de = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h4", {
405
- className: U({ color: n }),
404
+ }), ye = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h4", {
405
+ className: ve({ color: n }),
406
406
  "data-testid": r,
407
407
  children: t
408
- }), fe = p("font-primary text-body leading-body font-semibold", {
408
+ }), be = h("font-primary text-body leading-body font-semibold", {
409
409
  variants: { color: {
410
410
  foreground: "text-foreground",
411
411
  muted: "text-muted",
@@ -415,11 +415,11 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
415
415
  info: "text-info"
416
416
  } },
417
417
  defaultVariants: { color: "foreground" }
418
- }), pe = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h5", {
419
- className: fe({ color: n }),
418
+ }), xe = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h5", {
419
+ className: be({ color: n }),
420
420
  "data-testid": r,
421
421
  children: t
422
- }), me = p("font-primary text-body leading-body font-medium", {
422
+ }), Se = h("font-primary text-body leading-body font-medium", {
423
423
  variants: { color: {
424
424
  foreground: "text-foreground",
425
425
  muted: "text-muted",
@@ -429,11 +429,11 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
429
429
  info: "text-info"
430
430
  } },
431
431
  defaultVariants: { color: "foreground" }
432
- }), he = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h6", {
433
- className: me({ color: n }),
432
+ }), Ce = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("h6", {
433
+ className: Se({ color: n }),
434
434
  "data-testid": r,
435
435
  children: t
436
- }), ge = p("font-secondary text-small", {
436
+ }), we = h("font-secondary text-small", {
437
437
  variants: { color: {
438
438
  foreground: "text-foreground",
439
439
  muted: "text-muted",
@@ -443,11 +443,11 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
443
443
  info: "text-info"
444
444
  } },
445
445
  defaultVariants: { color: "foreground" }
446
- }), _e = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
447
- className: ge({ color: n }),
446
+ }), Te = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
447
+ className: we({ color: n }),
448
448
  "data-testid": r,
449
449
  children: t
450
- }), ve = p("font-primary text-body leading-body", {
450
+ }), Ee = h("font-primary text-body leading-body", {
451
451
  variants: { color: {
452
452
  foreground: "text-foreground",
453
453
  muted: "text-muted",
@@ -457,11 +457,11 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
457
457
  info: "text-info"
458
458
  } },
459
459
  defaultVariants: { color: "foreground" }
460
- }), ye = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
461
- className: ve({ color: n }),
460
+ }), De = ({ children: t, color: n, testId: r }) => /* @__PURE__ */ e("p", {
461
+ className: Ee({ color: n }),
462
462
  "data-testid": r,
463
463
  children: t
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", {
464
+ }), Oe = h("flex max-w-[var(--measure)] flex-col gap-[var(--space-stack)]"), ke = h("font-primary text-lede leading-lede text-foreground"), Ae = h("font-primary text-body leading-body", {
465
465
  variants: { color: {
466
466
  foreground: "text-foreground",
467
467
  muted: "text-muted",
@@ -471,49 +471,136 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
471
471
  info: "text-info"
472
472
  } },
473
473
  defaultVariants: { color: "foreground" }
474
- }), Ce = p("font-primary text-small text-muted"), we = {
474
+ }), je = h("font-primary text-small text-muted"), Me = {
475
475
  Root: ({ children: t, testId: n }) => /* @__PURE__ */ e("div", {
476
- className: be(),
476
+ className: Oe(),
477
477
  "data-testid": n,
478
478
  children: t
479
479
  }),
480
480
  Lede: ({ children: t }) => /* @__PURE__ */ e("p", {
481
- className: xe(),
481
+ className: ke(),
482
482
  children: t
483
483
  }),
484
484
  Body: ({ color: t, children: n }) => /* @__PURE__ */ e("p", {
485
- className: Se({ color: t }),
485
+ className: Ae({ color: t }),
486
486
  children: n
487
487
  }),
488
488
  Tail: ({ children: t }) => /* @__PURE__ */ e("p", {
489
- className: Ce(),
489
+ className: je(),
490
490
  children: t
491
491
  })
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)]", {
492
+ }, Ne = h("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)]", {
493
493
  variants: { variant: {
494
494
  primary: "px-4 sm:px-6 min-w-[var(--control-min-width)] bg-primary text-primary-foreground hover:bg-primary-hover",
495
495
  secondary: "px-4 sm:px-6 min-w-[var(--control-min-width)] bg-secondary text-secondary-foreground hover:bg-secondary-hover",
496
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)]"
497
497
  } },
498
498
  defaultVariants: { variant: "primary" }
499
- }), Ee = ({ children: t, disabled: n, testId: r, variant: i, onClick$: a, ariaLabel: o, type: s = "button" }) => /* @__PURE__ */ e("button", {
499
+ }), Pe = ({ children: t, disabled: n, testId: r, variant: i, onClick$: a, ariaLabel: o, type: s = "button" }) => /* @__PURE__ */ e("button", {
500
500
  type: s,
501
501
  "data-testid": r,
502
- className: Te({ variant: i }),
502
+ className: Ne({ variant: i }),
503
503
  onClick: () => a?.next(),
504
504
  disabled: n,
505
505
  "aria-label": o,
506
506
  children: t
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", {
507
+ }), Fe = class extends Error {
508
+ constructor(e) {
509
+ super(`Choices.${e} must be composed inside Choices.Root`), this.name = "ChoicesCompositionError";
510
+ }
511
+ }, Ie = h("flex flex-col gap-[var(--space-stack)]"), Le = h([
512
+ "group/choice flex w-full flex-row items-start gap-3 text-left",
513
+ "rounded-[var(--radius-control)] border border-solid border-control-border bg-transparent aria-checked:border-foreground",
514
+ "px-3 py-2",
515
+ "cursor-pointer disabled:cursor-not-allowed",
516
+ "transition-colors duration-[var(--motion-duration-color)]",
517
+ "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
518
+ ].join(" ")), R = r(void 0), Re = (e) => {
519
+ let t = o(R);
520
+ if (t === void 0) throw new Fe(e);
521
+ return t;
522
+ }, ze = (e, t) => {
523
+ let n = e.closest("[role=\"radiogroup\"]");
524
+ if (n === null) return;
525
+ let r = Array.from(n.querySelectorAll(":scope > [role=\"radio\"]"));
526
+ return r[(r.indexOf(e) + t + r.length) % r.length];
527
+ }, Be = {
528
+ ArrowDown: 1,
529
+ ArrowRight: 1,
530
+ ArrowUp: -1,
531
+ ArrowLeft: -1
532
+ }, Ve = {
533
+ Root: ({ selected: t, onSelect$: n, label: r, inert: i, children: a, testId: o }) => /* @__PURE__ */ e(R.Provider, {
534
+ value: {
535
+ selected: t,
536
+ onSelect$: n,
537
+ inert: i === !0
538
+ },
539
+ children: /* @__PURE__ */ e("div", {
540
+ role: "radiogroup",
541
+ "aria-label": r,
542
+ "aria-disabled": i === !0 ? "true" : void 0,
543
+ className: Ie(),
544
+ "data-testid": o,
545
+ children: a
546
+ })
547
+ }),
548
+ Choice: ({ value: n, children: r, description: i, testId: a }) => {
549
+ let { selected: o, onSelect$: s, inert: l } = Re("Choice"), u = o === n, d = c(), f = `${d}-name`, p = `${d}-description`;
550
+ return /* @__PURE__ */ t("button", {
551
+ type: "button",
552
+ role: "radio",
553
+ "aria-checked": u,
554
+ "aria-labelledby": f,
555
+ "aria-describedby": p,
556
+ tabIndex: u && !l ? 0 : -1,
557
+ disabled: l,
558
+ "data-value": n,
559
+ "data-testid": a,
560
+ className: Le(),
561
+ onClick: () => {
562
+ u || s.next(n);
563
+ },
564
+ onKeyDown: (e) => {
565
+ let t = Be[e.key];
566
+ if (t === void 0 || l) return;
567
+ e.preventDefault();
568
+ let n = ze(e.currentTarget, t);
569
+ if (n === void 0) return;
570
+ n.focus();
571
+ let r = n.dataset.value;
572
+ r !== void 0 && r !== o && s.next(r);
573
+ },
574
+ children: [/* @__PURE__ */ e("span", {
575
+ className: "mt-[0.3rem] flex size-[var(--choice-marker-size)] shrink-0 items-center justify-center rounded-[var(--radius-control)] border border-solid border-control-border",
576
+ children: u && /* @__PURE__ */ e("span", {
577
+ "data-choice-marker-dot": !0,
578
+ className: "size-[var(--choice-marker-dot-size)] rounded-[var(--radius-control)] bg-foreground"
579
+ })
580
+ }), /* @__PURE__ */ t("span", {
581
+ className: "flex min-w-0 flex-col",
582
+ children: [/* @__PURE__ */ e("span", {
583
+ id: f,
584
+ className: "font-secondary font-medium text-body text-foreground group-disabled/choice:text-muted",
585
+ children: r
586
+ }), /* @__PURE__ */ e("span", {
587
+ id: p,
588
+ className: "font-secondary text-muted text-small",
589
+ children: i
590
+ })]
591
+ })]
592
+ });
593
+ }
594
+ }, He = h("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", {
508
595
  variants: { variant: {
509
596
  text: "",
510
597
  email: "",
511
598
  url: ""
512
599
  } },
513
600
  defaultVariants: { variant: "text" }
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 }) => {
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);
516
- return o(() => {
601
+ }), Ue = ({ label: n, name: r, variant: i, required: a, optionalLabel: o, invalid: u, disabled: d, defaultValue: f, placeholder: p, autocomplete: m, hint: h, errorMessage: g, onInput$: _, reset$: v, testId: y }) => {
602
+ let b = c(), x = `${b}-control`, S = `${b}-hint`, C = `${b}-error`, w = [h ? S : void 0, u ? C : void 0].filter(Boolean).join(" ") || void 0, T = l(null);
603
+ return s(() => {
517
604
  let e = v?.subscribe(() => {
518
605
  T.current && (T.current.value = "");
519
606
  });
@@ -531,7 +618,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
531
618
  id: x,
532
619
  name: r,
533
620
  type: i ?? "text",
534
- className: De({ variant: i }),
621
+ className: He({ variant: i }),
535
622
  required: a,
536
623
  disabled: d,
537
624
  defaultValue: f,
@@ -542,9 +629,9 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
542
629
  "data-testid": y,
543
630
  onInput: (e) => _?.next(e.currentTarget.value)
544
631
  }),
545
- !a && l && /* @__PURE__ */ e("span", {
632
+ !a && o && /* @__PURE__ */ e("span", {
546
633
  className: "font-secondary text-muted text-small",
547
- children: l
634
+ children: o
548
635
  }),
549
636
  h && /* @__PURE__ */ e("p", {
550
637
  id: S,
@@ -558,7 +645,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
558
645
  })
559
646
  ]
560
647
  });
561
- }, ke = p("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
648
+ }, We = h("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]", {
562
649
  variants: { treatment: {
563
650
  prose: "text-link underline decoration-[length:var(--underline-thickness)] underline-offset-[var(--underline-offset)] hover:decoration-[length:var(--underline-thickness-hover)]",
564
651
  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",
@@ -566,19 +653,19 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
566
653
  graphic: "text-inherit no-underline"
567
654
  } },
568
655
  defaultVariants: { treatment: "prose" }
569
- }), Ae = ({ href: t, children: n, treatment: r, external: i, current: a, testId: o }) => /* @__PURE__ */ e("a", {
656
+ }), Ge = ({ href: t, children: n, treatment: r, external: i, current: a, testId: o }) => /* @__PURE__ */ e("a", {
570
657
  href: t,
571
- className: ke({ treatment: r }),
658
+ className: We({ treatment: r }),
572
659
  target: i ? "_blank" : void 0,
573
660
  rel: i ? "noopener noreferrer" : void 0,
574
661
  "aria-current": a ? "page" : void 0,
575
662
  "data-testid": o,
576
663
  children: n
577
- }), W = class extends Error {
664
+ }), z = class extends Error {
578
665
  constructor(e) {
579
666
  super(`Slider configuration: ${e}`), this.name = "SliderConfigurationError";
580
667
  }
581
- }, je = p([
668
+ }, Ke = h([
582
669
  "block h-[var(--slider-thumb-size)] w-full cursor-pointer appearance-none bg-transparent",
583
670
  "disabled:cursor-not-allowed",
584
671
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]",
@@ -589,19 +676,19 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
589
676
  "[&::-moz-range-track]:h-[var(--slider-track-thickness)] [&::-moz-range-track]:rounded-[var(--radius-control)] [&::-moz-range-track]:bg-control-border",
590
677
  "[&::-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
678
  "[&: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({
679
+ ].join(" ")), qe = (e) => {
680
+ for (let [t, n] of Object.entries(e)) if (!Number.isFinite(n)) throw new z(`\`${t}\` must be a finite number, got ${n}`);
681
+ if (e.min >= e.max) throw new z(`\`min\` (${e.min}) must be below \`max\` (${e.max})`);
682
+ if (e.step <= 0) throw new z(`\`step\` (${e.step}) must be positive`);
683
+ if (e.value < e.min || e.value > e.max) throw new z(`\`value\` (${e.value}) must lie within [${e.min}, ${e.max}]`);
684
+ }, Je = ({ min: t, max: n, step: r = 1, value: i, onInput$: a, label: o, valueText: s, disabled: c, testId: l }) => (qe({
598
685
  min: t,
599
686
  max: n,
600
687
  step: r,
601
688
  value: i
602
689
  }), /* @__PURE__ */ e("input", {
603
690
  type: "range",
604
- className: je(),
691
+ className: Ke(),
605
692
  min: t,
606
693
  max: n,
607
694
  step: r,
@@ -611,40 +698,40 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
611
698
  "aria-valuetext": s,
612
699
  "data-testid": l,
613
700
  onChange: (e) => a.next(e.currentTarget.valueAsNumber)
614
- })), Pe = class extends Error {
701
+ })), Ye = class extends Error {
615
702
  constructor(e) {
616
703
  super(`Tabs.${e} must be composed inside Tabs.Root`), this.name = "TabsCompositionError";
617
704
  }
618
- }, Fe = p([
705
+ }, Xe = h([
619
706
  "flex flex-row overflow-x-auto",
620
707
  "p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]",
621
708
  "m-[calc(-1*(var(--focus-ring-width)+var(--focus-ring-offset)))]",
622
709
  "scroll-p-[calc(var(--focus-ring-width)+var(--focus-ring-offset))]"
623
- ].join(" ")), Ie = p([
710
+ ].join(" ")), Ze = h([
624
711
  "font-secondary text-label tracking-label",
625
712
  "text-muted hover:text-foreground aria-selected:text-foreground",
626
713
  "border-b-[length:var(--tab-marker-thickness)] border-solid border-transparent aria-selected:border-foreground",
627
714
  "shrink-0 cursor-pointer select-none text-nowrap px-[var(--tab-inset-inline)] py-[var(--tab-inset-block)]",
628
715
  "transition-colors duration-[var(--motion-duration-color)]",
629
716
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
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) => {
631
- let t = a(G);
632
- if (t === void 0) throw new Pe(e);
717
+ ].join(" ")), Qe = h("outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"), B = r(void 0), V = (e) => {
718
+ let t = o(B);
719
+ if (t === void 0) throw new Ye(e);
633
720
  return t;
634
- }, q = (e) => e.split("").map((e) => e.charCodeAt(0).toString(16).padStart(4, "0")).join(""), Re = (e) => {
721
+ }, H = (e) => e.split("").map((e) => e.charCodeAt(0).toString(16).padStart(4, "0")).join(""), $e = (e) => {
635
722
  e.currentTarget.scrollIntoView({
636
723
  block: "nearest",
637
724
  inline: "nearest"
638
725
  });
639
- }, J = (e, t) => `${e}tab-${q(t)}`, Y = (e, t) => `${e}panel-${q(t)}`, ze = (e, t) => {
726
+ }, U = (e, t) => `${e}tab-${H(t)}`, W = (e, t) => `${e}panel-${H(t)}`, et = (e, t) => {
640
727
  let n = e.closest("[role=\"tablist\"]");
641
728
  if (n === null) return;
642
729
  let r = Array.from(n.querySelectorAll(":scope > [role=\"tab\"]"));
643
730
  return r[(r.indexOf(e) + t + r.length) % r.length];
644
- }, Be = {
731
+ }, tt = {
645
732
  Root: ({ active: t, onSelect$: n, label: r, children: i, testId: a }) => {
646
- let o = s();
647
- return /* @__PURE__ */ e(G.Provider, {
733
+ let o = c();
734
+ return /* @__PURE__ */ e(B.Provider, {
648
735
  value: {
649
736
  active: t,
650
737
  onSelect$: n,
@@ -658,57 +745,57 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
658
745
  });
659
746
  },
660
747
  List: ({ children: t, testId: n }) => {
661
- let { label: r } = K("List");
748
+ let { label: r } = V("List");
662
749
  return /* @__PURE__ */ e("div", {
663
750
  role: "tablist",
664
751
  "aria-label": r,
665
- className: Fe(),
752
+ className: Xe(),
666
753
  "data-testid": n,
667
754
  children: t
668
755
  });
669
756
  },
670
757
  Tab: ({ value: t, children: n, testId: r }) => {
671
- let { active: i, onSelect$: a, baseId: o } = K("Tab"), s = i === t;
758
+ let { active: i, onSelect$: a, baseId: o } = V("Tab"), s = i === t;
672
759
  return /* @__PURE__ */ e("button", {
673
760
  type: "button",
674
761
  role: "tab",
675
- id: J(o, t),
762
+ id: U(o, t),
676
763
  "aria-selected": s,
677
- "aria-controls": Y(o, t),
764
+ "aria-controls": W(o, t),
678
765
  tabIndex: s ? 0 : -1,
679
766
  "data-value": t,
680
767
  "data-testid": r,
681
- className: Ie(),
768
+ className: Ze(),
682
769
  onClick: () => a.next(t),
683
770
  onKeyDown: (e) => {
684
771
  if (e.key !== "ArrowLeft" && e.key !== "ArrowRight") return;
685
772
  e.preventDefault();
686
- let t = ze(e.currentTarget, e.key === "ArrowRight" ? 1 : -1);
773
+ let t = et(e.currentTarget, e.key === "ArrowRight" ? 1 : -1);
687
774
  if (t === void 0) return;
688
775
  t.focus();
689
776
  let n = t.dataset.value;
690
777
  n !== void 0 && a.next(n);
691
778
  },
692
- onFocus: Re,
779
+ onFocus: $e,
693
780
  children: n
694
781
  });
695
782
  },
696
783
  Panel: ({ value: t, children: n, testId: r }) => {
697
- let { active: i, baseId: a } = K("Panel"), o = i === t;
784
+ let { active: i, baseId: a } = V("Panel"), o = i === t;
698
785
  return /* @__PURE__ */ e("div", {
699
786
  role: "tabpanel",
700
- id: Y(a, t),
701
- "aria-labelledby": J(a, t),
787
+ id: W(a, t),
788
+ "aria-labelledby": U(a, t),
702
789
  hidden: !o,
703
790
  tabIndex: o ? 0 : void 0,
704
- className: Le(),
791
+ className: Qe(),
705
792
  "data-testid": r,
706
793
  children: o ? n : void 0
707
794
  });
708
795
  }
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 }) => {
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);
711
- return o(() => {
796
+ }, nt = h("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"), rt = ({ label: n, name: r, required: i, optionalLabel: a, invalid: o, disabled: u, defaultValue: d, placeholder: f, autocomplete: p, hint: m, errorMessage: h, onInput$: g, reset$: _, testId: v }) => {
797
+ let y = c(), b = `${y}-control`, x = `${y}-hint`, S = `${y}-error`, C = [m ? x : void 0, o ? S : void 0].filter(Boolean).join(" ") || void 0, w = l(null);
798
+ return s(() => {
712
799
  let e = _?.subscribe(() => {
713
800
  w.current && (w.current.value = "");
714
801
  });
@@ -725,13 +812,13 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
725
812
  ref: w,
726
813
  id: b,
727
814
  name: r,
728
- className: Ve(),
815
+ className: nt(),
729
816
  required: i,
730
817
  disabled: u,
731
818
  defaultValue: d,
732
819
  placeholder: f,
733
820
  autoComplete: p,
734
- "aria-invalid": l || void 0,
821
+ "aria-invalid": o || void 0,
735
822
  "aria-describedby": C,
736
823
  "data-testid": v,
737
824
  onInput: (e) => g?.next(e.currentTarget.value)
@@ -745,38 +832,173 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
745
832
  className: "font-secondary text-muted text-small",
746
833
  children: m
747
834
  }),
748
- l && /* @__PURE__ */ e("p", {
835
+ o && /* @__PURE__ */ e("p", {
749
836
  id: S,
750
837
  className: "font-secondary text-error text-small",
751
838
  children: h
752
839
  })
753
840
  ]
754
841
  });
755
- }, Ue = p([
842
+ }, it = h([
756
843
  "flex flex-col items-center",
757
844
  "min-h-[var(--cover-height)]",
758
845
  "px-[var(--gutter)] py-[var(--space-region)]"
759
- ].join(" ")), We = "my-auto max-w-full", Ge = ({ children: n, foot: r, testId: i }) => {
846
+ ].join(" ")), at = "my-auto max-w-full", ot = ({ children: n, foot: r, testId: i }) => {
760
847
  let a = r != null && typeof r != "boolean";
761
848
  return /* @__PURE__ */ t("div", {
762
- className: Ue(),
849
+ className: it(),
763
850
  "data-testid": i,
764
851
  children: [/* @__PURE__ */ e("div", {
765
- className: We,
852
+ className: at,
766
853
  children: n
767
854
  }), a && /* @__PURE__ */ e("div", { children: r })]
768
855
  });
769
- }, Ke = p("font-secondary text-small text-muted py-[var(--space-region)] px-[var(--gutter)]", {
856
+ }, st = class extends Error {
857
+ constructor(e) {
858
+ super(`Dialog.${e} must be composed inside Dialog.Root`), this.name = "DialogCompositionError";
859
+ }
860
+ }, ct = class extends Error {
861
+ constructor() {
862
+ super("A Dialog takes exactly one accessible naming source: a visible Dialog.Title or ariaLabel on Dialog.Root, never both"), this.name = "DialogNamingError";
863
+ }
864
+ }, lt = h([
865
+ "open:flex open:flex-col m-auto p-0 overflow-hidden",
866
+ "bg-surface text-foreground",
867
+ "rounded-[var(--radius-dialog)] shadow-[var(--elevation-floating)]",
868
+ "backdrop:bg-scrim backdrop:[backdrop-filter:blur(var(--scrim-blur))]"
869
+ ].join(" "), {
870
+ variants: { extent: {
871
+ screen: ["w-[calc(100vw-2*var(--gutter))] max-w-none", "h-[calc(100dvh-2*var(--space-region))] max-h-none"].join(" "),
872
+ content: ["w-[32rem] max-w-[calc(100vw-2*var(--gutter))]", "max-h-[calc(100dvh-2*var(--space-region))]"].join(" ")
873
+ } },
874
+ defaultVariants: { extent: "screen" }
875
+ }), ut = h(["px-[var(--space-region)] pt-[var(--space-region)] pb-[var(--space-region)]", "[&:has(+[data-dialog-member=description])]:pb-0"].join(" ")), dt = h(["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(" ")), ft = h([
876
+ "grow shrink min-h-0 overflow-y-auto",
877
+ "px-[var(--space-region)] py-[var(--space-region)]",
878
+ "[&:not(:first-child)]:border-t [&:not(:first-child)]:border-border"
879
+ ].join(" ")), pt = h([
880
+ "flex flex-row flex-wrap items-center justify-end gap-[var(--space-stack)] shrink-0",
881
+ "px-[var(--space-region)] pt-[var(--space-region)] pb-[var(--space-region)]",
882
+ "[[data-dialog-member=content]+&]:border-t [[data-dialog-member=content]+&]:border-border"
883
+ ].join(" ")), G = r(void 0), K = (e) => {
884
+ let t = o(G);
885
+ if (t === void 0) throw new st(e);
886
+ return t;
887
+ }, q = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", J = (e, { presented: t, opener: n }) => {
888
+ if (e === void 0 || e.open) return;
889
+ let r = document.activeElement;
890
+ n.current = r instanceof HTMLElement && r !== document.body ? r : void 0, e.showModal(), t.current = !0, e.querySelector(q)?.focus();
891
+ }, Y = (e, { presented: t }) => {
892
+ t.current = !1, e?.open && e.close();
893
+ }, mt = {
894
+ Root: ({ children: t, onDismiss$: n, showDialog$: r, extent: i, ariaLabel: o, testId: d }) => {
895
+ let f = c(), p = l(void 0), m = l(!1), h = l(void 0), [g] = u(() => ({
896
+ presented: m,
897
+ opener: h
898
+ })), [_, v] = u({
899
+ title: !1,
900
+ description: !1
901
+ }), y = a((e) => (v((t) => ({
902
+ ...t,
903
+ [e]: !0
904
+ })), () => v((t) => ({
905
+ ...t,
906
+ [e]: !1
907
+ }))), []), b = {
908
+ titleId: `${f}title`,
909
+ descriptionId: `${f}description`,
910
+ isLabelled: o !== void 0,
911
+ registerNamePart: y
912
+ }, x = () => {
913
+ n.next(), r === void 0 ? Y(p.current, g) : r.next(!1);
914
+ };
915
+ return s(() => {
916
+ if (r === void 0) return J(p.current, g), () => Y(p.current, g);
917
+ let e = r.subscribe((e) => {
918
+ e ? J(p.current, g) : Y(p.current, g);
919
+ });
920
+ return () => {
921
+ e.unsubscribe(), Y(p.current, g);
922
+ };
923
+ }, [r, g]), /* @__PURE__ */ e(G.Provider, {
924
+ value: b,
925
+ children: /* @__PURE__ */ e("dialog", {
926
+ ref: (e) => {
927
+ p.current = e ?? void 0, e?.setAttribute("headingreset", "");
928
+ },
929
+ className: lt({ extent: i }),
930
+ "aria-label": o,
931
+ "aria-labelledby": o === void 0 && _.title ? b.titleId : void 0,
932
+ "aria-describedby": _.description ? b.descriptionId : void 0,
933
+ onCancel: x,
934
+ onClick: (e) => {
935
+ let t = p.current;
936
+ if (t === void 0 || e.target !== t || !t.open) return;
937
+ let n = t.getBoundingClientRect();
938
+ e.clientX >= n.left && e.clientX <= n.right && e.clientY >= n.top && e.clientY <= n.bottom || x();
939
+ },
940
+ onClose: () => {
941
+ if (p.current?.open) return;
942
+ let e = m.current;
943
+ m.current = !1;
944
+ let t = h.current;
945
+ h.current = void 0, t?.isConnected && (t.matches(q) || t.hasAttribute("tabindex")) && t.focus(), e && r?.next(!1);
946
+ },
947
+ "data-testid": d,
948
+ children: t
949
+ })
950
+ });
951
+ },
952
+ Title: ({ children: t, testId: n }) => {
953
+ let { titleId: r, isLabelled: i, registerNamePart: a } = K("Title");
954
+ if (s(() => a("title"), [a]), i) throw new ct();
955
+ return /* @__PURE__ */ e("div", {
956
+ "data-dialog-member": "title",
957
+ className: ut(),
958
+ "data-testid": n,
959
+ children: /* @__PURE__ */ e("h1", {
960
+ id: r,
961
+ className: "font-primary text-dialog-title leading-dialog-title text-foreground",
962
+ children: t
963
+ })
964
+ });
965
+ },
966
+ Description: ({ children: t, testId: n }) => {
967
+ let { descriptionId: r, registerNamePart: i } = K("Description");
968
+ return s(() => i("description"), [i]), /* @__PURE__ */ e("div", {
969
+ "data-dialog-member": "description",
970
+ className: dt(),
971
+ "data-testid": n,
972
+ children: /* @__PURE__ */ e("p", {
973
+ id: r,
974
+ className: "font-primary text-body leading-body text-foreground",
975
+ children: t
976
+ })
977
+ });
978
+ },
979
+ Content: ({ children: t, testId: n }) => (K("Content"), /* @__PURE__ */ e("div", {
980
+ "data-dialog-member": "content",
981
+ className: ft(),
982
+ "data-testid": n,
983
+ children: t
984
+ })),
985
+ Actions: ({ children: t, testId: n }) => (K("Actions"), /* @__PURE__ */ e("div", {
986
+ "data-dialog-member": "actions",
987
+ className: pt(),
988
+ "data-testid": n,
989
+ children: t
990
+ }))
991
+ }, ht = h("font-secondary text-small text-muted py-[var(--space-region)] px-[var(--gutter)]", {
770
992
  variants: { edge: {
771
993
  none: "",
772
994
  rule: "border-t border-solid border-rule"
773
995
  } },
774
996
  defaultVariants: { edge: "rule" }
775
- }), qe = ({ edge: t, children: n, testId: r }) => /* @__PURE__ */ e("footer", {
776
- className: Ke({ edge: t }),
997
+ }), gt = ({ edge: t, children: n, testId: r }) => /* @__PURE__ */ e("footer", {
998
+ className: ht({ edge: t }),
777
999
  "data-testid": r,
778
1000
  children: n
779
- }), Je = p("font-secondary text-small", {
1001
+ }), _t = h("font-secondary text-small", {
780
1002
  variants: { state: {
781
1003
  idle: "text-muted",
782
1004
  sending: "text-muted",
@@ -784,13 +1006,13 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
784
1006
  failed: "text-error"
785
1007
  } },
786
1008
  defaultVariants: { state: "idle" }
787
- }), Ye = {
1009
+ }), vt = {
788
1010
  sent: "status",
789
1011
  failed: "alert"
790
- }, Xe = ({ action: n, method: r = "post", state: i = "idle", children: a, actions: o, note: s, testId: c }) => {
1012
+ }, yt = ({ action: n, method: r = "post", state: i = "idle", children: a, actions: o, note: s, testId: c }) => {
791
1013
  let l = s != null && typeof s != "boolean";
792
1014
  if (i === "sent" && !l) throw Error("Form in the `sent` state must be given a `note` - it is the outcome message.");
793
- let u = i !== "sent", d = Ye[i];
1015
+ let u = i !== "sent", d = vt[i];
794
1016
  return /* @__PURE__ */ t("form", {
795
1017
  action: n,
796
1018
  method: r,
@@ -808,12 +1030,12 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
808
1030
  }),
809
1031
  l && /* @__PURE__ */ e("p", {
810
1032
  role: d,
811
- className: Je({ state: i }),
1033
+ className: _t({ state: i }),
812
1034
  children: s
813
1035
  })
814
1036
  ]
815
1037
  });
816
- }, Ze = p([
1038
+ }, bt = h([
817
1039
  "flex items-baseline justify-between",
818
1040
  "font-secondary text-label leading-label tracking-label text-muted",
819
1041
  "py-[var(--space-region)] px-[var(--gutter)]",
@@ -824,50 +1046,50 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
824
1046
  rule: "border-b border-solid border-rule"
825
1047
  } },
826
1048
  defaultVariants: { edge: "rule" }
827
- }), Qe = [
1049
+ }), xt = [
828
1050
  "inline-flex shrink-0 items-center",
829
1051
  "min-h-[calc(var(--text-label)*var(--leading-label))]",
830
1052
  "min-w-[var(--standing-min-width)]"
831
- ].join(" "), $e = ({ edge: n, standing: r, navName: i, children: a, testId: o }) => /* @__PURE__ */ t("header", {
832
- className: Ze({ edge: n }),
1053
+ ].join(" "), St = ({ edge: n, standing: r, navName: i, children: a, testId: o }) => /* @__PURE__ */ t("header", {
1054
+ className: bt({ edge: n }),
833
1055
  "data-testid": o,
834
1056
  children: [/* @__PURE__ */ e("div", {
835
- className: Qe,
1057
+ className: xt,
836
1058
  children: r
837
1059
  }), /* @__PURE__ */ e("nav", {
838
1060
  "aria-label": i,
839
1061
  className: "flex flex-wrap items-baseline gap-[var(--space-region)]",
840
1062
  children: a
841
1063
  })]
842
- }), et = p("flex flex-col min-h-[var(--fold-height)] gap-[var(--space-stack)]", {
1064
+ }), Ct = h("flex flex-col min-h-[var(--fold-height)] gap-[var(--space-stack)]", {
843
1065
  variants: { place: {
844
1066
  start: "justify-start",
845
1067
  center: "justify-center",
846
1068
  between: "justify-between"
847
1069
  } },
848
1070
  defaultVariants: { place: "center" }
849
- }), tt = ({ place: t, children: n, testId: r }) => /* @__PURE__ */ e("div", {
850
- className: et({ place: t }),
1071
+ }), wt = ({ place: t, children: n, testId: r }) => /* @__PURE__ */ e("div", {
1072
+ className: Ct({ place: t }),
851
1073
  "data-testid": r,
852
1074
  children: n
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(),
1075
+ }), Tt = h("flex flex-col gap-[var(--space-stack)] py-[var(--space-band)] px-[var(--gutter)]"), Et = h("font-primary text-title leading-title tracking-optical text-foreground"), Dt = h("font-primary text-lede leading-lede text-foreground max-w-[var(--measure-wide)]"), Ot = h("font-primary text-small text-muted max-w-[var(--measure)]"), kt = ({ title: n, lede: r, intro: i, testId: a }) => /* @__PURE__ */ t("header", {
1076
+ className: Tt(),
855
1077
  "data-testid": a,
856
1078
  children: [
857
1079
  /* @__PURE__ */ e("h1", {
858
- className: rt(),
1080
+ className: Et(),
859
1081
  children: n
860
1082
  }),
861
1083
  r !== void 0 && /* @__PURE__ */ e("p", {
862
- className: it(),
1084
+ className: Dt(),
863
1085
  children: r
864
1086
  }),
865
1087
  i !== void 0 && /* @__PURE__ */ e("p", {
866
- className: X(),
1088
+ className: Ot(),
867
1089
  children: i
868
1090
  })
869
1091
  ]
870
- }), ot = p([
1092
+ }), X = h([
871
1093
  "relative",
872
1094
  "py-[var(--space-band)]",
873
1095
  "[[data-section]+&]:border-t [[data-section]+&]:border-solid [[data-section]+&]:border-rule"
@@ -877,20 +1099,20 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
877
1099
  full: ""
878
1100
  } },
879
1101
  defaultVariants: { bleed: "inset" }
880
- }), st = ({ bleed: t, name: n, children: r, testId: i }) => /* @__PURE__ */ e("section", {
1102
+ }), At = ({ bleed: t, name: n, children: r, testId: i }) => /* @__PURE__ */ e("section", {
881
1103
  "data-section": "",
882
- className: ot({ bleed: t }),
1104
+ className: X({ bleed: t }),
883
1105
  "aria-label": n,
884
1106
  "data-testid": i,
885
1107
  children: r
886
- }), ct = p([
1108
+ }), jt = h([
887
1109
  "grid gap-[var(--space-region)] lg:grid-cols-[12rem_minmax(0,1fr)]",
888
1110
  "[&>div:first-child]:border-solid [&>div:first-child]:border-border [&>div:first-child]:border-b [&>div:first-child]:pb-[var(--space-stack)]",
889
1111
  "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)]",
890
1112
  "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",
891
1113
  "[&>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))]",
892
1114
  "[&>div:first-child>nav>ul]:flex [&>div:first-child>nav>ul]:flex-col [&>div:first-child>nav>ul]:gap-[var(--space-stack)]"
893
- ].join(" ")), lt = (e) => {
1115
+ ].join(" ")), Mt = (e) => {
894
1116
  if (!e) return;
895
1117
  let t = [];
896
1118
  for (let n = e.parentElement; n && n !== e.ownerDocument.documentElement; n = n.parentElement) t.push(n);
@@ -904,7 +1126,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
904
1126
  return window.addEventListener("resize", n), () => {
905
1127
  r?.disconnect(), window.removeEventListener("resize", n), e.style.removeProperty("--sidebar-scrollport-height");
906
1128
  };
907
- }, ut = p([
1129
+ }, Nt = h([
908
1130
  "w-full text-left font-secondary text-label tracking-label",
909
1131
  "underline-offset-[var(--underline-offset)]",
910
1132
  "outline-focus-ring outline-offset-[var(--focus-ring-offset)] focus-visible:outline focus-visible:outline-[length:var(--focus-ring-width)]"
@@ -916,29 +1138,29 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
916
1138
  } },
917
1139
  defaultVariants: { state: "usable" }
918
1140
  }), Z = r(void 0), Q = ({ entryKey: t, children: n, inert: r, testId: i }) => {
919
- let o = a(Z), s = o !== void 0 && o.active === t;
1141
+ let a = o(Z), s = a !== void 0 && a.active === t;
920
1142
  return /* @__PURE__ */ e("li", { children: /* @__PURE__ */ e("button", {
921
1143
  type: "button",
922
- className: ut({ state: r ? "inert" : s ? "active" : "usable" }),
1144
+ className: Nt({ state: r ? "inert" : s ? "active" : "usable" }),
923
1145
  disabled: r,
924
1146
  "aria-current": s ? "true" : void 0,
925
1147
  "data-testid": i,
926
1148
  onClick: () => {
927
- s || o?.onSelect$.next(t);
1149
+ s || a?.onSelect$.next(t);
928
1150
  },
929
1151
  children: n
930
1152
  }) });
931
1153
  }, $ = ({ children: t, testId: n }) => /* @__PURE__ */ e("div", {
932
1154
  "data-testid": n,
933
1155
  children: t
934
- }), dt = {
1156
+ }), Pt = {
935
1157
  Root: ({ active: r, label: a, onSelect$: o, children: s, testId: c }) => {
936
1158
  let l = n.toArray(s).filter(i);
937
1159
  return /* @__PURE__ */ t("div", {
938
- className: ct(),
1160
+ className: jt(),
939
1161
  "data-testid": c,
940
1162
  children: [/* @__PURE__ */ e("div", { children: /* @__PURE__ */ e("nav", {
941
- ref: lt,
1163
+ ref: Mt,
942
1164
  "aria-label": a,
943
1165
  children: /* @__PURE__ */ e(Z, {
944
1166
  value: {
@@ -952,7 +1174,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
952
1174
  },
953
1175
  Item: Q,
954
1176
  Content: $
955
- }, ft = {
1177
+ }, Ft = {
956
1178
  surface: "#ffffff",
957
1179
  foreground: "#0f172a",
958
1180
  muted: "#64748b",
@@ -960,6 +1182,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
960
1182
  controlBorder: "#64748b",
961
1183
  rule: "#808fa3",
962
1184
  backing: "#f1f5f9",
1185
+ scrim: "rgb(15 23 42 / 0.5)",
963
1186
  meterFill: "#0f172a",
964
1187
  meterTrack: "#e2e8f0",
965
1188
  primary: "#7c3aed",
@@ -976,7 +1199,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
976
1199
  warning: "#b45309",
977
1200
  error: "#d63384",
978
1201
  info: "#0e7490"
979
- }, pt = {
1202
+ }, It = {
980
1203
  surface: "#0f172a",
981
1204
  foreground: "#f8fafc",
982
1205
  muted: "#94a3b8",
@@ -984,6 +1207,7 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
984
1207
  controlBorder: "#94a3b8",
985
1208
  rule: "#5b6a80",
986
1209
  backing: "#1e293b",
1210
+ scrim: "rgb(15 23 42 / 0.5)",
987
1211
  meterFill: "#f8fafc",
988
1212
  meterTrack: "#334155",
989
1213
  primary: "#8b5cf6",
@@ -1002,4 +1226,4 @@ var d = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, f = u, p = (e
1002
1226
  info: "#22d3ee"
1003
1227
  };
1004
1228
  //#endregion
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 };
1229
+ export { x as Brandmark, Pe as Button, w as Checklist, Ve as Choices, _ as Cluster, te as Collection, ot as Cover, ae as DefinitionList, mt as Dialog, M as Eyebrow, se as Figure, gt as Footer, yt as Form, P as H1, I as H2, _e as H3, ye as H4, xe as H5, Ce as H6, St as Header, wt as Hero, Ue as Input, Ge as Link, ue as Meter, Te as Note, De as P, kt as PageHead, Me as Prose, he as Rail, At as Section, Pt as Sidebar, Je as Slider, y as Stack, A as Table, tt as Tabs, rt as TextArea, It as dark, Ft as light };