@takecasper/acuity-design-system 1.12.0 → 1.12.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -2216,7 +2216,7 @@ function Qt(e, n) {
2216
2216
  return [i, s];
2217
2217
  }) : e;
2218
2218
  }
2219
- function e1(e) {
2219
+ function eo(e) {
2220
2220
  if (e < 1)
2221
2221
  return {
2222
2222
  get: () => {
@@ -2242,7 +2242,7 @@ function e1(e) {
2242
2242
  };
2243
2243
  }
2244
2244
  const vr = "!";
2245
- function r1(e) {
2245
+ function ro(e) {
2246
2246
  const n = e.separator, i = n.length === 1, r = n[0], s = n.length;
2247
2247
  return function(d) {
2248
2248
  const u = [];
@@ -2270,7 +2270,7 @@ function r1(e) {
2270
2270
  };
2271
2271
  };
2272
2272
  }
2273
- function t1(e) {
2273
+ function to(e) {
2274
2274
  if (e.length <= 1)
2275
2275
  return e;
2276
2276
  const n = [];
@@ -2279,21 +2279,21 @@ function t1(e) {
2279
2279
  r[0] === "[" ? (n.push(...i.sort(), r), i = []) : i.push(r);
2280
2280
  }), n.push(...i.sort()), n;
2281
2281
  }
2282
- function o1(e) {
2282
+ function oo(e) {
2283
2283
  return {
2284
- cache: e1(e.cacheSize),
2285
- splitModifiers: r1(e),
2284
+ cache: eo(e.cacheSize),
2285
+ splitModifiers: ro(e),
2286
2286
  ...qt(e)
2287
2287
  };
2288
2288
  }
2289
- const n1 = /\s+/;
2290
- function s1(e, n) {
2289
+ const no = /\s+/;
2290
+ function so(e, n) {
2291
2291
  const {
2292
2292
  splitModifiers: i,
2293
2293
  getClassGroupId: r,
2294
2294
  getConflictingClassGroupIds: s
2295
2295
  } = n, a = /* @__PURE__ */ new Set();
2296
- return e.trim().split(n1).map((d) => {
2296
+ return e.trim().split(no).map((d) => {
2297
2297
  const {
2298
2298
  modifiers: u,
2299
2299
  hasImportantModifier: p,
@@ -2314,7 +2314,7 @@ function s1(e, n) {
2314
2314
  };
2315
2315
  j = !1;
2316
2316
  }
2317
- const _ = t1(u).join(":");
2317
+ const _ = to(u).join(":");
2318
2318
  return {
2319
2319
  isTailwindClass: !0,
2320
2320
  modifierId: p ? _ + vr : _,
@@ -2333,7 +2333,7 @@ function s1(e, n) {
2333
2333
  return a.has(f) ? !1 : (a.add(f), s(p, g).forEach((x) => a.add(u + x)), !0);
2334
2334
  }).reverse().map((d) => d.originalClassName).join(" ");
2335
2335
  }
2336
- function i1() {
2336
+ function io() {
2337
2337
  let e = 0, n, i, r = "";
2338
2338
  for (; e < arguments.length; )
2339
2339
  (n = arguments[e++]) && (i = kr(n)) && (r && (r += " "), r += i);
@@ -2347,33 +2347,33 @@ function kr(e) {
2347
2347
  e[r] && (n = kr(e[r])) && (i && (i += " "), i += n);
2348
2348
  return i;
2349
2349
  }
2350
- function a1(e, ...n) {
2350
+ function ao(e, ...n) {
2351
2351
  let i, r, s, a = d;
2352
2352
  function d(p) {
2353
2353
  const g = n.reduce((f, x) => x(f), e());
2354
- return i = o1(g), r = i.cache.get, s = i.cache.set, a = u, u(p);
2354
+ return i = oo(g), r = i.cache.get, s = i.cache.set, a = u, u(p);
2355
2355
  }
2356
2356
  function u(p) {
2357
2357
  const g = r(p);
2358
2358
  if (g)
2359
2359
  return g;
2360
- const f = s1(p, i);
2360
+ const f = so(p, i);
2361
2361
  return s(p, f), f;
2362
2362
  }
2363
2363
  return function() {
2364
- return a(i1.apply(null, arguments));
2364
+ return a(io.apply(null, arguments));
2365
2365
  };
2366
2366
  }
2367
2367
  function L(e) {
2368
2368
  const n = (i) => i[e] || [];
2369
2369
  return n.isThemeGetter = !0, n;
2370
2370
  }
2371
- const wr = /^\[(?:([a-z-]+):)?(.+)\]$/i, l1 = /^\d+\/\d+$/, d1 = /* @__PURE__ */ new Set(["px", "full", "screen"]), c1 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, u1 = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, f1 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, p1 = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, h1 = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
2371
+ const wr = /^\[(?:([a-z-]+):)?(.+)\]$/i, lo = /^\d+\/\d+$/, co = /* @__PURE__ */ new Set(["px", "full", "screen"]), uo = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, fo = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, po = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, ho = /^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, go = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
2372
2372
  function N(e) {
2373
- return Y(e) || d1.has(e) || l1.test(e);
2373
+ return Y(e) || co.has(e) || lo.test(e);
2374
2374
  }
2375
2375
  function H(e) {
2376
- return te(e, "length", w1);
2376
+ return te(e, "length", jo);
2377
2377
  }
2378
2378
  function Y(e) {
2379
2379
  return !!e && !Number.isNaN(Number(e));
@@ -2384,28 +2384,28 @@ function Me(e) {
2384
2384
  function he(e) {
2385
2385
  return !!e && Number.isInteger(Number(e));
2386
2386
  }
2387
- function g1(e) {
2387
+ function bo(e) {
2388
2388
  return e.endsWith("%") && Y(e.slice(0, -1));
2389
2389
  }
2390
2390
  function b(e) {
2391
2391
  return wr.test(e);
2392
2392
  }
2393
2393
  function D(e) {
2394
- return c1.test(e);
2394
+ return uo.test(e);
2395
2395
  }
2396
- const b1 = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
2397
- function C1(e) {
2398
- return te(e, b1, jr);
2396
+ const Co = /* @__PURE__ */ new Set(["length", "size", "percentage"]);
2397
+ function mo(e) {
2398
+ return te(e, Co, jr);
2399
2399
  }
2400
- function m1(e) {
2400
+ function xo(e) {
2401
2401
  return te(e, "position", jr);
2402
2402
  }
2403
- const x1 = /* @__PURE__ */ new Set(["image", "url"]);
2404
- function v1(e) {
2405
- return te(e, x1, y1);
2403
+ const vo = /* @__PURE__ */ new Set(["image", "url"]);
2404
+ function ko(e) {
2405
+ return te(e, vo, Lo);
2406
2406
  }
2407
- function k1(e) {
2408
- return te(e, "", j1);
2407
+ function wo(e) {
2408
+ return te(e, "", yo);
2409
2409
  }
2410
2410
  function ge() {
2411
2411
  return !0;
@@ -2414,19 +2414,19 @@ function te(e, n, i) {
2414
2414
  const r = wr.exec(e);
2415
2415
  return r ? r[1] ? typeof n == "string" ? r[1] === n : n.has(r[1]) : i(r[2]) : !1;
2416
2416
  }
2417
- function w1(e) {
2418
- return u1.test(e) && !f1.test(e);
2417
+ function jo(e) {
2418
+ return fo.test(e) && !po.test(e);
2419
2419
  }
2420
2420
  function jr() {
2421
2421
  return !1;
2422
2422
  }
2423
- function j1(e) {
2424
- return p1.test(e);
2423
+ function yo(e) {
2424
+ return ho.test(e);
2425
2425
  }
2426
- function y1(e) {
2427
- return h1.test(e);
2426
+ function Lo(e) {
2427
+ return go.test(e);
2428
2428
  }
2429
- function L1() {
2429
+ function Mo() {
2430
2430
  const e = L("colors"), n = L("spacing"), i = L("blur"), r = L("brightness"), s = L("borderColor"), a = L("borderRadius"), d = L("borderSpacing"), u = L("borderWidth"), p = L("contrast"), g = L("grayscale"), f = L("hueRotate"), x = L("invert"), j = L("gap"), _ = L("gradientColorStops"), I = L("gradientColorStopPositions"), M = L("inset"), R = L("margin"), S = L("opacity"), y = L("padding"), be = L("saturate"), ie = L("scale"), Ce = L("sepia"), me = L("skew"), xe = L("space"), ve = L("translate"), J = () => ["auto", "contain", "none"], ae = () => ["auto", "hidden", "clip", "visible", "scroll"], le = () => ["auto", b, n], k = () => [b, n], V = () => ["", N, H], A = () => ["auto", Y, b], B = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Z = () => ["solid", "dashed", "dotted", "double", "none"], de = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], K = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], z = () => ["", "0", b], ce = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [Y, Me], U = () => [Y, b];
2431
2431
  return {
2432
2432
  cacheSize: 500,
@@ -2446,7 +2446,7 @@ function L1() {
2446
2446
  invert: z(),
2447
2447
  gap: k(),
2448
2448
  gradientColorStops: [e],
2449
- gradientColorStopPositions: [g1, H],
2449
+ gradientColorStopPositions: [bo, H],
2450
2450
  inset: le(),
2451
2451
  margin: le(),
2452
2452
  opacity: F(),
@@ -3359,7 +3359,7 @@ function L1() {
3359
3359
  * @see https://tailwindcss.com/docs/background-position
3360
3360
  */
3361
3361
  "bg-position": [{
3362
- bg: [...B(), m1]
3362
+ bg: [...B(), xo]
3363
3363
  }],
3364
3364
  /**
3365
3365
  * Background Repeat
@@ -3375,7 +3375,7 @@ function L1() {
3375
3375
  * @see https://tailwindcss.com/docs/background-size
3376
3376
  */
3377
3377
  "bg-size": [{
3378
- bg: ["auto", "cover", "contain", C1]
3378
+ bg: ["auto", "cover", "contain", mo]
3379
3379
  }],
3380
3380
  /**
3381
3381
  * Background Image
@@ -3384,7 +3384,7 @@ function L1() {
3384
3384
  "bg-image": [{
3385
3385
  bg: ["none", {
3386
3386
  "gradient-to": ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
3387
- }, v1]
3387
+ }, ko]
3388
3388
  }],
3389
3389
  /**
3390
3390
  * Background Color
@@ -3786,7 +3786,7 @@ function L1() {
3786
3786
  * @see https://tailwindcss.com/docs/box-shadow
3787
3787
  */
3788
3788
  shadow: [{
3789
- shadow: ["", "inner", "none", D, k1]
3789
+ shadow: ["", "inner", "none", D, wo]
3790
3790
  }],
3791
3791
  /**
3792
3792
  * Box Shadow Color
@@ -4442,11 +4442,11 @@ function L1() {
4442
4442
  }
4443
4443
  };
4444
4444
  }
4445
- const G = /* @__PURE__ */ a1(L1);
4446
- function M1() {
4445
+ const G = /* @__PURE__ */ ao(Mo);
4446
+ function Eo() {
4447
4447
  return Math.floor(Math.random() * 1e7);
4448
4448
  }
4449
- const E1 = P(
4449
+ const Ro = P(
4450
4450
  [
4451
4451
  "preflight",
4452
4452
  "ds-flex",
@@ -4468,7 +4468,7 @@ const E1 = P(
4468
4468
  }
4469
4469
  }
4470
4470
  }
4471
- ), R1 = (e) => G(E1(e)), W1 = P("", {
4471
+ ), Wo = (e) => G(Ro(e)), _o = P("", {
4472
4472
  variants: {
4473
4473
  variant: {
4474
4474
  success: "ds-text-success-green-dark",
@@ -4477,7 +4477,7 @@ const E1 = P(
4477
4477
  error: "ds-text-danger-red-dark"
4478
4478
  }
4479
4479
  }
4480
- }), ar = (e) => G(W1(e)), _1 = P("", {
4480
+ }), ar = (e) => G(_o(e)), So = P("", {
4481
4481
  variants: {
4482
4482
  variant: {
4483
4483
  success: ["ds-text-success-green-darkest", "ds-stroke-success-green-darkest"],
@@ -4486,7 +4486,7 @@ const E1 = P(
4486
4486
  error: ["ds-text-danger-red-darkest", "ds-stroke-danger-red-darkest"]
4487
4487
  }
4488
4488
  }
4489
- }), ee = (e) => G(_1(e)), S1 = ({
4489
+ }), ee = (e) => G(So(e)), $o = ({
4490
4490
  variant: e = "info",
4491
4491
  isDismissible: n = !0,
4492
4492
  showIcon: i = !0,
@@ -4495,7 +4495,7 @@ const E1 = P(
4495
4495
  description: a = "",
4496
4496
  content: d = void 0,
4497
4497
  closeAriaLabel: u = "Close button",
4498
- id: p = "alert_" + M1().toString(),
4498
+ id: p = "alert_" + Eo().toString(),
4499
4499
  handleClose: g
4500
4500
  }) => {
4501
4501
  const f = {
@@ -4504,7 +4504,7 @@ const E1 = P(
4504
4504
  warning: /* @__PURE__ */ o.jsx(gr, { className: ee({ variant: e }) }),
4505
4505
  error: /* @__PURE__ */ o.jsx(br, { className: ee({ variant: e }) })
4506
4506
  };
4507
- return /* @__PURE__ */ o.jsxs("div", { id: p, className: R1({ variant: e }), children: [
4507
+ return /* @__PURE__ */ o.jsxs("div", { id: p, className: Wo({ variant: e }), children: [
4508
4508
  /* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-flex-row", children: [
4509
4509
  i && /* @__PURE__ */ o.jsx(
4510
4510
  "div",
@@ -4544,7 +4544,7 @@ const E1 = P(
4544
4544
  ] }),
4545
4545
  n === !0 && /* @__PURE__ */ o.jsx("button", { className: "ds-h-5", onClick: g, "aria-label": u, children: /* @__PURE__ */ o.jsx(Cr, { width: "1rem", height: "1rem", className: ee({ variant: e }) }) })
4546
4546
  ] });
4547
- }, eo = S1, yr = (e, n, i, r) => {
4547
+ }, r1 = $o, yr = (e, n, i, r) => {
4548
4548
  const s = `preflight ${i}`;
4549
4549
  return {
4550
4550
  // TODO: Construct class that includes passed classes plus preflight
@@ -4601,7 +4601,7 @@ const E1 = P(
4601
4601
  }
4602
4602
  )
4603
4603
  };
4604
- }, $1 = ({
4604
+ }, Vo = ({
4605
4605
  size: e = "small",
4606
4606
  name: n,
4607
4607
  hasIndicator: i = !1,
@@ -4629,7 +4629,7 @@ const E1 = P(
4629
4629
  s
4630
4630
  ), p = i && u[n] || d[n];
4631
4631
  return /* @__PURE__ */ o.jsx(o.Fragment, { children: p });
4632
- }, re = $1;
4632
+ }, re = Vo;
4633
4633
  Object.keys(yr()).sort(
4634
4634
  (e, n) => e.localeCompare(n)
4635
4635
  );
@@ -4650,12 +4650,12 @@ function Mr(e) {
4650
4650
  e[i] && (r && (r += " "), r += i);
4651
4651
  return r;
4652
4652
  }
4653
- function V1() {
4653
+ function Ao() {
4654
4654
  for (var e, n, i = 0, r = "", s = arguments.length; i < s; i++)
4655
4655
  (e = arguments[i]) && (n = Mr(e)) && (r && (r += " "), r += n);
4656
4656
  return r;
4657
4657
  }
4658
- const lr = (...e) => G(V1(...e)), Pe = [
4658
+ const lr = (...e) => G(Ao(...e)), Pe = [
4659
4659
  "disabled:ds-bg-neutrals-lighter",
4660
4660
  "disabled:ds-text-neutrals-dark",
4661
4661
  "disabled:ds-border-neutrals-light",
@@ -4772,7 +4772,7 @@ const lr = (...e) => G(V1(...e)), Pe = [
4772
4772
  }
4773
4773
  }
4774
4774
  }
4775
- ), A1 = ({
4775
+ ), To = ({
4776
4776
  variant: e = "primary",
4777
4777
  text: n,
4778
4778
  label: i = "",
@@ -4854,7 +4854,7 @@ const lr = (...e) => G(V1(...e)), Pe = [
4854
4854
  )
4855
4855
  ] })
4856
4856
  }
4857
- ) }), ro = A1, T1 = ({
4857
+ ) }), t1 = To, Po = ({
4858
4858
  bodyContent: e = void 0,
4859
4859
  iconName: n = void 0,
4860
4860
  title: i = "",
@@ -4871,12 +4871,20 @@ const lr = (...e) => G(V1(...e)), Pe = [
4871
4871
  altText: n
4872
4872
  }
4873
4873
  ),
4874
- /* @__PURE__ */ o.jsx(Y1, { size: "small", text: i, hasMarginBottom: !1 })
4874
+ /* @__PURE__ */ o.jsx(qo, { size: "small", text: i, hasMarginBottom: !1 })
4875
4875
  ] }),
4876
4876
  e && /* @__PURE__ */ o.jsx("div", { className: "ds-text-base", children: e }),
4877
4877
  r && /* @__PURE__ */ o.jsx("div", { children: r })
4878
- ] }), to = T1, P1 = P(
4879
- ["preflight", "ds-h-4", "ds-w-4", "focus:ds-ring-acuity-blue", "ds-border-neutrals"],
4878
+ ] }), o1 = Po, Io = P(
4879
+ [
4880
+ "preflight",
4881
+ "ds-h-4",
4882
+ "ds-w-4",
4883
+ "focus:ds-ring-acuity-blue",
4884
+ "ds-border-neutrals",
4885
+ "ds-border",
4886
+ "ds-border-solid"
4887
+ ],
4880
4888
  {
4881
4889
  variants: {
4882
4890
  disabled: {
@@ -4895,14 +4903,14 @@ const lr = (...e) => G(V1(...e)), Pe = [
4895
4903
  }
4896
4904
  }
4897
4905
  }
4898
- ), Rr = (e) => G(P1(e)), I1 = P(["preflight", "ds-font-base", "ds-ml-2", "ds-text-base"], {
4906
+ ), Rr = (e) => G(Io(e)), Oo = P(["preflight", "ds-font-base", "ds-ml-2", "ds-text-base"], {
4899
4907
  variants: {
4900
4908
  disabled: {
4901
4909
  false: "ds-cursor-pointer",
4902
4910
  true: "ds-text-neutrals"
4903
4911
  }
4904
4912
  }
4905
- }), Wr = (e) => G(I1(e)), O1 = ({
4913
+ }), Wr = (e) => G(Oo(e)), No = ({
4906
4914
  id: e = "",
4907
4915
  label: n = "",
4908
4916
  name: i = "",
@@ -4922,7 +4930,7 @@ const lr = (...e) => G(V1(...e)), Pe = [
4922
4930
  name: i,
4923
4931
  disabled: s,
4924
4932
  type: "checkbox",
4925
- className: `${Rr({ disabled: s })} ds-rounded`,
4933
+ className: `ds-form-checkbox ${Rr({ disabled: s })} ds-rounded`,
4926
4934
  checked: r,
4927
4935
  ref: u,
4928
4936
  ...d
@@ -4930,16 +4938,16 @@ const lr = (...e) => G(V1(...e)), Pe = [
4930
4938
  ),
4931
4939
  /* @__PURE__ */ o.jsx("label", { htmlFor: e, className: Wr({ disabled: s }), children: n })
4932
4940
  ] });
4933
- }, oo = O1, q = "large", oe = "medium", ne = "small", se = "extra-large", ur = "h1", N1 = "h2", B1 = "h3", z1 = "div";
4934
- function F1(e) {
4941
+ }, n1 = No, q = "large", oe = "medium", ne = "small", se = "extra-large", ur = "h1", Bo = "h2", zo = "h3", Fo = "div";
4942
+ function Ho(e) {
4935
4943
  return {
4936
4944
  [q]: ur,
4937
- [oe]: N1,
4938
- [ne]: B1,
4939
- [se]: z1
4945
+ [oe]: Bo,
4946
+ [ne]: zo,
4947
+ [se]: Fo
4940
4948
  }[e] || ur;
4941
4949
  }
4942
- const H1 = P("preflight ds-font-sans", {
4950
+ const Do = P("preflight ds-font-sans", {
4943
4951
  variants: {
4944
4952
  size: {
4945
4953
  [ne]: "ds-mb-3",
@@ -4957,7 +4965,7 @@ const H1 = P("preflight ds-font-sans", {
4957
4965
  [se]: "ds-text-4xl ds-font-semibold"
4958
4966
  }
4959
4967
  }
4960
- }), D1 = P("ds-mt-0 ds-font-bold ds-text-neutrals-dark", {
4968
+ }), Go = P("ds-mt-0 ds-font-bold ds-text-neutrals-dark", {
4961
4969
  variants: {
4962
4970
  size: {
4963
4971
  [ne]: "ds-mb-1 ds-text-sm",
@@ -4966,7 +4974,7 @@ const H1 = P("preflight ds-font-sans", {
4966
4974
  [se]: "ds-mb-3 ds-text-base"
4967
4975
  }
4968
4976
  }
4969
- }), G1 = P("ds-mb-0 ds-text-neutrals-dark", {
4977
+ }), Zo = P("ds-mb-0 ds-text-neutrals-dark", {
4970
4978
  variants: {
4971
4979
  size: {
4972
4980
  [ne]: "ds-mt-1 ds-text-base",
@@ -4975,7 +4983,7 @@ const H1 = P("preflight ds-font-sans", {
4975
4983
  [se]: "ds-mt-3 ds-text-base"
4976
4984
  }
4977
4985
  }
4978
- }), Z1 = P("ds-text-neutrals-light", {
4986
+ }), Uo = P("ds-text-neutrals-light", {
4979
4987
  variants: {
4980
4988
  size: {
4981
4989
  [ne]: "ds-mt-2",
@@ -4984,7 +4992,7 @@ const H1 = P("preflight ds-font-sans", {
4984
4992
  [se]: "ds-mt-3"
4985
4993
  }
4986
4994
  }
4987
- }), U1 = ({
4995
+ }), Yo = ({
4988
4996
  size: e = q,
4989
4997
  className: n = "",
4990
4998
  text: i = "",
@@ -4995,7 +5003,7 @@ const H1 = P("preflight ds-font-sans", {
4995
5003
  headingTag: u,
4996
5004
  ...p
4997
5005
  }) => {
4998
- const g = r ? /* @__PURE__ */ o.jsx("p", { className: D1({ size: e }), children: r }) : null, f = s ? /* @__PURE__ */ o.jsx("p", { className: G1({ size: e }), children: s }) : null, x = a ? /* @__PURE__ */ o.jsx("hr", { className: Z1({ size: e }) }) : null, j = d ? H1({ size: e }) : "preflight", _ = {
5006
+ const g = r ? /* @__PURE__ */ o.jsx("p", { className: Go({ size: e }), children: r }) : null, f = s ? /* @__PURE__ */ o.jsx("p", { className: Zo({ size: e }), children: s }) : null, x = a ? /* @__PURE__ */ o.jsx("hr", { className: Uo({ size: e }) }) : null, j = d ? Do({ size: e }) : "preflight", _ = {
4999
5007
  div: /* @__PURE__ */ o.jsx("div", { className: Ee({ size: e }), children: i }),
5000
5008
  h3: /* @__PURE__ */ o.jsx("h3", { className: Ee({ size: e }), children: i }),
5001
5009
  h2: /* @__PURE__ */ o.jsx("h2", { className: Ee({ size: e }), children: i }),
@@ -5003,24 +5011,24 @@ const H1 = P("preflight ds-font-sans", {
5003
5011
  };
5004
5012
  return /* @__PURE__ */ o.jsxs("div", { className: G(j, n), ...p, children: [
5005
5013
  g,
5006
- _[u || F1(e)],
5014
+ _[u || Ho(e)],
5007
5015
  f,
5008
5016
  x
5009
5017
  ] });
5010
- }, Y1 = U1, q1 = ({ label: e = "", name: n, id: i, disabled: r = !1, ...s }) => /* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-h-4 ds-items-center", children: [
5018
+ }, qo = Yo, Jo = ({ label: e = "", name: n, id: i, disabled: r = !1, ...s }) => /* @__PURE__ */ o.jsxs("div", { className: "ds-flex ds-h-4 ds-items-center", children: [
5011
5019
  /* @__PURE__ */ o.jsx(
5012
5020
  "input",
5013
5021
  {
5014
5022
  id: i,
5015
5023
  name: n,
5016
5024
  type: "radio",
5017
- className: Rr({ disabled: r }),
5025
+ className: `ds-form-radio ${Rr({ disabled: r })}`,
5018
5026
  disabled: r,
5019
5027
  ...s
5020
5028
  }
5021
5029
  ),
5022
5030
  /* @__PURE__ */ o.jsx("label", { htmlFor: i, className: Wr({ disabled: r }), children: e })
5023
- ] }), no = q1, J1 = P(
5031
+ ] }), s1 = Jo, Ko = P(
5024
5032
  [
5025
5033
  "preflight",
5026
5034
  "ds-font-sans",
@@ -5053,24 +5061,24 @@ const H1 = P("preflight ds-font-sans", {
5053
5061
  }
5054
5062
  }
5055
5063
  }
5056
- ), K1 = ({
5064
+ ), Xo = ({
5057
5065
  text: e,
5058
5066
  href: n,
5059
5067
  type: i = "default",
5060
5068
  iconName: r,
5061
5069
  ...s
5062
- }) => /* @__PURE__ */ o.jsxs("a", { href: n, type: i, className: G(J1({ type: i })), ...s, children: [
5070
+ }) => /* @__PURE__ */ o.jsxs("a", { href: n, type: i, className: G(Ko({ type: i })), ...s, children: [
5063
5071
  e,
5064
5072
  r && /* @__PURE__ */ o.jsx(re, { altText: e, name: r, size: "small" })
5065
- ] }), so = K1;
5073
+ ] }), i1 = Xo;
5066
5074
  export {
5067
- eo as Alert,
5068
- ro as Button,
5069
- to as Card,
5070
- oo as Checkbox,
5071
- Y1 as Heading,
5075
+ r1 as Alert,
5076
+ t1 as Button,
5077
+ o1 as Card,
5078
+ n1 as Checkbox,
5079
+ qo as Heading,
5072
5080
  re as Icon,
5073
- so as Link,
5074
- no as Radio
5081
+ i1 as Link,
5082
+ s1 as Radio
5075
5083
  };
5076
5084
  //# sourceMappingURL=index.es.js.map