@takecasper/acuity-design-system 1.27.1 → 1.27.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.d.ts CHANGED
@@ -7,7 +7,7 @@ import { default as React_2 } from 'react';
7
7
  import { ReactNode } from 'react';
8
8
  import { VariantProps } from 'class-variance-authority';
9
9
 
10
- export declare const Alert: ({ variant, isDismissible, showIcon, titleSize, title, description, content, closeAriaLabel, id, handleClose, ...props }: AlertProps) => JSX_2.Element;
10
+ export declare const Alert: ({ variant, isDismissible, showIcon, titleSize, title, description, content, closeAriaLabel, id, handleClose, className, ...props }: AlertProps) => JSX_2.Element;
11
11
 
12
12
  export declare type AlertProps = {
13
13
  variant: 'success' | 'info' | 'warning' | 'error';
@@ -20,6 +20,7 @@ export declare type AlertProps = {
20
20
  content?: React.ReactNode;
21
21
  closeAriaLabel?: string;
22
22
  handleClose?: React.MouseEventHandler<HTMLButtonElement | HTMLInputElement>;
23
+ className?: string;
23
24
  };
24
25
 
25
26
  export declare const Badge: ({ label, type, color, dismissible, dismissLabel, className, onDismiss, ...props }: BadgeProps) => JSX_2.Element;
package/dist/index.es.js CHANGED
@@ -132,7 +132,7 @@ function Qn() {
132
132
  }
133
133
  return null;
134
134
  }
135
- var H = Object.assign, J = 0, me, xe, ge, Y, ye, be, re;
135
+ var z = Object.assign, J = 0, me, xe, ge, Y, ye, be, re;
136
136
  function Se() {
137
137
  }
138
138
  Se.__reactDisabledLog = !0;
@@ -168,25 +168,25 @@ function Qn() {
168
168
  writable: !0
169
169
  };
170
170
  Object.defineProperties(console, {
171
- log: H({}, d, {
171
+ log: z({}, d, {
172
172
  value: me
173
173
  }),
174
- info: H({}, d, {
174
+ info: z({}, d, {
175
175
  value: xe
176
176
  }),
177
- warn: H({}, d, {
177
+ warn: z({}, d, {
178
178
  value: ge
179
179
  }),
180
- error: H({}, d, {
180
+ error: z({}, d, {
181
181
  value: Y
182
182
  }),
183
- group: H({}, d, {
183
+ group: z({}, d, {
184
184
  value: ye
185
185
  }),
186
- groupCollapsed: H({}, d, {
186
+ groupCollapsed: z({}, d, {
187
187
  value: be
188
188
  }),
189
- groupEnd: H({}, d, {
189
+ groupEnd: z({}, d, {
190
190
  value: re
191
191
  })
192
192
  });
@@ -2653,7 +2653,7 @@ function $o(e) {
2653
2653
  return bo.test(e);
2654
2654
  }
2655
2655
  function Mo() {
2656
- const e = O("colors"), r = O("spacing"), n = O("blur"), t = O("brightness"), s = O("borderColor"), o = O("borderRadius"), a = O("borderSpacing"), l = O("borderWidth"), c = O("contrast"), f = O("grayscale"), u = O("hueRotate"), p = O("invert"), m = O("gap"), g = O("gradientColorStops"), v = O("gradientColorStopPositions"), C = O("inset"), x = O("margin"), w = O("opacity"), j = O("padding"), oe = O("saturate"), T = O("scale"), U = O("sepia"), he = O("skew"), S = O("space"), F = O("translate"), _ = () => ["auto", "contain", "none"], K = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", L, r], $ = () => [L, r], V = () => ["", Ee, Re], H = () => ["auto", _e, L], J = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], me = () => ["solid", "dashed", "dotted", "double", "none"], xe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], ge = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Y = () => ["", "0", L], ye = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], be = () => [_e, br], re = () => [_e, L];
2656
+ const e = O("colors"), r = O("spacing"), n = O("blur"), t = O("brightness"), s = O("borderColor"), o = O("borderRadius"), a = O("borderSpacing"), l = O("borderWidth"), c = O("contrast"), f = O("grayscale"), u = O("hueRotate"), p = O("invert"), m = O("gap"), g = O("gradientColorStops"), v = O("gradientColorStopPositions"), C = O("inset"), x = O("margin"), w = O("opacity"), j = O("padding"), oe = O("saturate"), T = O("scale"), U = O("sepia"), he = O("skew"), S = O("space"), F = O("translate"), _ = () => ["auto", "contain", "none"], K = () => ["auto", "hidden", "clip", "visible", "scroll"], ae = () => ["auto", L, r], $ = () => [L, r], V = () => ["", Ee, Re], z = () => ["auto", _e, L], J = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], me = () => ["solid", "dashed", "dotted", "double", "none"], xe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity", "plus-lighter"], ge = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], Y = () => ["", "0", L], ye = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], be = () => [_e, br], re = () => [_e, L];
2657
2657
  return {
2658
2658
  cacheSize: 500,
2659
2659
  separator: ":",
@@ -2971,14 +2971,14 @@ function Mo() {
2971
2971
  * @see https://tailwindcss.com/docs/grid-column
2972
2972
  */
2973
2973
  "col-start": [{
2974
- "col-start": H()
2974
+ "col-start": z()
2975
2975
  }],
2976
2976
  /**
2977
2977
  * Grid Column End
2978
2978
  * @see https://tailwindcss.com/docs/grid-column
2979
2979
  */
2980
2980
  "col-end": [{
2981
- "col-end": H()
2981
+ "col-end": z()
2982
2982
  }],
2983
2983
  /**
2984
2984
  * Grid Template Rows
@@ -3001,14 +3001,14 @@ function Mo() {
3001
3001
  * @see https://tailwindcss.com/docs/grid-row
3002
3002
  */
3003
3003
  "row-start": [{
3004
- "row-start": H()
3004
+ "row-start": z()
3005
3005
  }],
3006
3006
  /**
3007
3007
  * Grid Row End
3008
3008
  * @see https://tailwindcss.com/docs/grid-row
3009
3009
  */
3010
3010
  "row-end": [{
3011
- "row-end": H()
3011
+ "row-end": z()
3012
3012
  }],
3013
3013
  /**
3014
3014
  * Grid Auto Flow
@@ -4668,7 +4668,7 @@ function Mo() {
4668
4668
  }
4669
4669
  };
4670
4670
  }
4671
- const z = /* @__PURE__ */ co(Mo);
4671
+ const H = /* @__PURE__ */ co(Mo);
4672
4672
  function zt() {
4673
4673
  return Math.floor(Math.random() * 1e7);
4674
4674
  }
@@ -5066,7 +5066,7 @@ function To() {
5066
5066
  (e = arguments[n]) && (r = Yt(e)) && (t && (t += " "), t += r);
5067
5067
  return t;
5068
5068
  }
5069
- const dr = (...e) => z(To(...e)), So = A(
5069
+ const dr = (...e) => H(To(...e)), So = A(
5070
5070
  "ds-rounded-full ds-border-t-acuity-blue ds-border-x-acuity-blue ds-border-b-neutrals-transparent ds-border-solid ds-animate-spin",
5071
5071
  {
5072
5072
  variants: {
@@ -5254,7 +5254,7 @@ const dr = (...e) => z(To(...e)), So = A(
5254
5254
  }
5255
5255
  }
5256
5256
  }
5257
- ), Wo = (e) => z(Oo(e)), _o = A("", {
5257
+ ), Wo = (e) => H(Oo(e)), _o = A("", {
5258
5258
  variants: {
5259
5259
  variant: {
5260
5260
  success: "ds-text-success-green-dark",
@@ -5263,7 +5263,7 @@ const dr = (...e) => z(To(...e)), So = A(
5263
5263
  error: "ds-text-danger-red-dark"
5264
5264
  }
5265
5265
  }
5266
- }), St = (e) => z(_o(e)), Vo = A("", {
5266
+ }), St = (e) => H(_o(e)), Vo = A("", {
5267
5267
  variants: {
5268
5268
  variant: {
5269
5269
  success: ["ds-text-success-green-darkest", "ds-stroke-success-green-darkest"],
@@ -5272,7 +5272,7 @@ const dr = (...e) => z(To(...e)), So = A(
5272
5272
  error: ["ds-text-danger-red-darkest", "ds-stroke-danger-red-darkest"]
5273
5273
  }
5274
5274
  }
5275
- }), ze = (e) => z(Vo(e)), Io = ({
5275
+ }), ze = (e) => H(Vo(e)), Io = ({
5276
5276
  variant: e = "info",
5277
5277
  isDismissible: r = !0,
5278
5278
  showIcon: n = !0,
@@ -5283,21 +5283,22 @@ const dr = (...e) => z(To(...e)), So = A(
5283
5283
  closeAriaLabel: l = "Close button",
5284
5284
  id: c = "alert_" + zt().toString(),
5285
5285
  handleClose: f,
5286
- ...u
5286
+ className: u = "",
5287
+ ...p
5287
5288
  }) => {
5288
- const p = {
5289
+ const m = {
5289
5290
  success: /* @__PURE__ */ i.jsx(Jr, { className: ze({ variant: e }) }),
5290
5291
  info: /* @__PURE__ */ i.jsx(Kr, { className: ze({ variant: e }) }),
5291
5292
  warning: /* @__PURE__ */ i.jsx(Xr, { className: ze({ variant: e }) }),
5292
5293
  error: /* @__PURE__ */ i.jsx(Qr, { className: ze({ variant: e }) })
5293
- }, m = () => a !== void 0 && o !== "" && !(t !== "none" || s !== ""), g = () => t === "large" ? "ds-flex-col ds-flex ds-gap-3" : t === "small" ? "ds-flex-row ds-flex ds-gap-3" : "ds-flex";
5294
- return /* @__PURE__ */ i.jsxs("div", { id: c, className: Wo({ variant: e }), ...u, children: [
5294
+ }, g = () => a !== void 0 && o !== "" && !(t !== "none" || s !== ""), v = () => t === "large" ? "ds-flex-col ds-flex ds-gap-3" : t === "small" ? "ds-flex-row ds-flex ds-gap-3" : "ds-flex";
5295
+ return /* @__PURE__ */ i.jsxs("div", { id: c, className: H(Wo({ variant: e }), u), ...p, children: [
5295
5296
  /* @__PURE__ */ i.jsxs("div", { className: "ds-flex ds-flex-row", children: [
5296
5297
  n && /* @__PURE__ */ i.jsx(
5297
5298
  "div",
5298
5299
  {
5299
5300
  className: `ds-flex ds-pr-2 ${t === "large" && s !== "" && "ds-h-[1.75rem] ds-items-center"}`,
5300
- children: p[e]
5301
+ children: m[e]
5301
5302
  }
5302
5303
  ),
5303
5304
  /* @__PURE__ */ i.jsxs(
@@ -5305,7 +5306,7 @@ const dr = (...e) => z(To(...e)), So = A(
5305
5306
  {
5306
5307
  className: `ds-flex ds-flex-col ${t !== "none" && s !== "" ? "ds-gap-3" : "ds-justify-center"}`,
5307
5308
  children: [
5308
- /* @__PURE__ */ i.jsxs("div", { className: g(), children: [
5309
+ /* @__PURE__ */ i.jsxs("div", { className: v(), children: [
5309
5310
  t !== "none" && s !== "" && /* @__PURE__ */ i.jsx(
5310
5311
  "h1",
5311
5312
  {
@@ -5333,7 +5334,7 @@ const dr = (...e) => z(To(...e)), So = A(
5333
5334
  a && /* @__PURE__ */ i.jsx(
5334
5335
  "div",
5335
5336
  {
5336
- className: `${St({ variant: e })} ${m() ? "ds-mt-3" : ""}`,
5337
+ className: `${St({ variant: e })} ${g() ? "ds-mt-3" : ""}`,
5337
5338
  children: a
5338
5339
  }
5339
5340
  )
@@ -5559,7 +5560,7 @@ const dr = (...e) => z(To(...e)), So = A(
5559
5560
  "div",
5560
5561
  {
5561
5562
  ...o,
5562
- className: z(
5563
+ className: H(
5563
5564
  "preflight ds-flex ds-flex-col ds-items-start ds-gap-6 ds-rounded-lg ds-border ds-border-neutrals-light ds-p-5",
5564
5565
  s
5565
5566
  ),
@@ -5609,7 +5610,7 @@ const dr = (...e) => z(To(...e)), So = A(
5609
5610
  }
5610
5611
  }
5611
5612
  }
5612
- ), Jt = (e) => z(qo(e)), Ko = A(
5613
+ ), Jt = (e) => H(qo(e)), Ko = A(
5613
5614
  ["preflight", "ds-font-base", "!ds-font-sans", "ds-ml-2", "ds-text-base"],
5614
5615
  {
5615
5616
  variants: {
@@ -5619,7 +5620,7 @@ const dr = (...e) => z(To(...e)), So = A(
5619
5620
  }
5620
5621
  }
5621
5622
  }
5622
- ), Xt = (e) => z(Ko(e)), tt = {
5623
+ ), Xt = (e) => H(Ko(e)), tt = {
5623
5624
  variants: {
5624
5625
  state: {
5625
5626
  default: [
@@ -5826,7 +5827,7 @@ const sa = A("preflight !ds-font-sans", {
5826
5827
  h2: /* @__PURE__ */ i.jsx("h2", { className: vr({ size: e }), children: n }),
5827
5828
  h1: /* @__PURE__ */ i.jsx("h1", { className: vr({ size: e }), children: n })
5828
5829
  };
5829
- return /* @__PURE__ */ i.jsxs("div", { className: z(m, r), ...c, children: [
5830
+ return /* @__PURE__ */ i.jsxs("div", { className: H(m, r), ...c, children: [
5830
5831
  f,
5831
5832
  g[l || na(e)],
5832
5833
  u,
@@ -5896,7 +5897,7 @@ const sa = A("preflight !ds-font-sans", {
5896
5897
  type: n = "default",
5897
5898
  iconName: t,
5898
5899
  ...s
5899
- }) => /* @__PURE__ */ i.jsxs("a", { href: r, type: n, className: z(ca({ type: n })), ...s, children: [
5900
+ }) => /* @__PURE__ */ i.jsxs("a", { href: r, type: n, className: H(ca({ type: n })), ...s, children: [
5900
5901
  e,
5901
5902
  t && /* @__PURE__ */ i.jsx(Te, { altText: e, name: t, size: "small" })
5902
5903
  ] }), Il = ua;
@@ -6847,10 +6848,10 @@ function Mi(e, r) {
6847
6848
  throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${s}`);
6848
6849
  if (typeof o != "function")
6849
6850
  throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${o}`);
6850
- let T = s ? 0 : 1, [U, he] = Kn(Li, { titleId: null, descriptionId: null, panelRef: Jn() }), S = W(() => o(!1)), F = W((I) => he({ type: 0, id: I })), _ = ur() ? T === 0 : !1, K = p > 1, ae = se(yr) !== null, [$, V] = ai(), H = { get current() {
6851
+ let T = s ? 0 : 1, [U, he] = Kn(Li, { titleId: null, descriptionId: null, panelRef: Jn() }), S = W(() => o(!1)), F = W((I) => he({ type: 0, id: I })), _ = ur() ? T === 0 : !1, K = p > 1, ae = se(yr) !== null, [$, V] = ai(), z = { get current() {
6851
6852
  var I;
6852
6853
  return (I = U.panelRef.current) != null ? I : C.current;
6853
- } }, { resolveContainers: J, mainTreeNodeRef: me, MainTreeNode: xe } = ci({ portals: $, defaultContainers: [H] }), ge = K ? "parent" : "leaf", Y = v !== null ? (v & le.Closing) === le.Closing : !1, ye = K || Y ? !1 : _;
6854
+ } }, { resolveContainers: J, mainTreeNodeRef: me, MainTreeNode: xe } = ci({ portals: $, defaultContainers: [z] }), ge = K ? "parent" : "leaf", Y = v !== null ? (v & le.Closing) === le.Closing : !1, ye = K || Y ? !1 : _;
6854
6855
  Ta({ allowed: W(() => {
6855
6856
  var I, Ce;
6856
6857
  return [(Ce = (I = C.current) == null ? void 0 : I.closest("[data-headlessui-portal]")) != null ? Ce : null];
@@ -7032,24 +7033,24 @@ function zi(e, r) {
7032
7033
  return q(F, { hidden: () => $(w), visible: () => ae(w) });
7033
7034
  }
7034
7035
  }, [F, w, ae, $, U, T]);
7035
- let V = we({ base: Pe(x.className), enter: Pe(f), enterFrom: Pe(u), enterTo: Pe(p), entered: Pe(m), leave: Pe(g), leaveFrom: Pe(v), leaveTo: Pe(C) }), H = we({ beforeEnter: o, afterEnter: a, beforeLeave: l, afterLeave: c }), J = ur();
7036
+ let V = we({ base: Pe(x.className), enter: Pe(f), enterFrom: Pe(u), enterTo: Pe(p), entered: Pe(m), leave: Pe(g), leaveFrom: Pe(v), leaveTo: Pe(C) }), z = we({ beforeEnter: o, afterEnter: a, beforeLeave: l, afterLeave: c }), J = ur();
7036
7037
  ee(() => {
7037
7038
  if (j && J && F === "visible" && w.current === null)
7038
7039
  throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
7039
7040
  }, [w, F, J, j]);
7040
7041
  let me = S && !he, xe = he && U && S, ge = xe ? "enter" : !J || me ? "idle" : U ? "enter" : "leave", Y = Oi(0), ye = W((te) => q(te, { enter: () => {
7041
7042
  var G, Z;
7042
- Y.addFlag(le.Opening), (Z = (G = H.current).beforeEnter) == null || Z.call(G);
7043
+ Y.addFlag(le.Opening), (Z = (G = z.current).beforeEnter) == null || Z.call(G);
7043
7044
  }, leave: () => {
7044
7045
  var G, Z;
7045
- Y.addFlag(le.Closing), (Z = (G = H.current).beforeLeave) == null || Z.call(G);
7046
+ Y.addFlag(le.Closing), (Z = (G = z.current).beforeLeave) == null || Z.call(G);
7046
7047
  }, idle: () => {
7047
7048
  } })), be = W((te) => q(te, { enter: () => {
7048
7049
  var G, Z;
7049
- Y.removeFlag(le.Opening), (Z = (G = H.current).afterEnter) == null || Z.call(G);
7050
+ Y.removeFlag(le.Opening), (Z = (G = z.current).afterEnter) == null || Z.call(G);
7050
7051
  }, leave: () => {
7051
7052
  var G, Z;
7052
- Y.removeFlag(le.Closing), (Z = (G = H.current).afterLeave) == null || Z.call(G);
7053
+ Y.removeFlag(le.Closing), (Z = (G = z.current).afterLeave) == null || Z.call(G);
7053
7054
  }, idle: () => {
7054
7055
  } })), re = P(!1), Se = xn(() => {
7055
7056
  re.current || (_("hidden"), $(w));
@@ -7247,7 +7248,7 @@ const Yi = ({
7247
7248
  return /* @__PURE__ */ i.jsxs(
7248
7249
  "div",
7249
7250
  {
7250
- className: z(qi({ color: n, type: r }), o),
7251
+ className: H(qi({ color: n, type: r }), o),
7251
7252
  "aria-label": c,
7252
7253
  ...l,
7253
7254
  children: [
@@ -7327,7 +7328,7 @@ const Yi = ({
7327
7328
  className: a = "",
7328
7329
  ...l
7329
7330
  }) => {
7330
- const c = (f, u, p) => z(
7331
+ const c = (f, u, p) => H(
7331
7332
  Xi({ isNested: f }),
7332
7333
  u && !f && "!ds-border-b-acuity-green",
7333
7334
  u && f && "ds-bg-neutrals-white !ds-border-neutrals",
@@ -7431,7 +7432,7 @@ const Yi = ({
7431
7432
  }
7432
7433
  }
7433
7434
  }
7434
- ), sl = (e) => z(nl(e)), ol = ({
7435
+ ), sl = (e) => H(nl(e)), ol = ({
7435
7436
  id: e,
7436
7437
  state: r = "default",
7437
7438
  disabled: n = !1,
@@ -7462,7 +7463,7 @@ const Yi = ({
7462
7463
  }
7463
7464
  ]
7464
7465
  }
7465
- ), ll = (e) => z(il(e)), dl = A(["ds-form-label", "!ds-font-sans", "ds-text-base"], {
7466
+ ), ll = (e) => H(il(e)), dl = A(["ds-form-label", "!ds-font-sans", "ds-text-base"], {
7466
7467
  variants: {
7467
7468
  state: {
7468
7469
  default: ["ds-text-neutrals-black", "ds-mt-2"],
@@ -7480,7 +7481,7 @@ const Yi = ({
7480
7481
  true: "!ds-text-neutrals-dark"
7481
7482
  }
7482
7483
  }
7483
- }), cl = (e) => z(dl(e)), ul = ({
7484
+ }), cl = (e) => H(dl(e)), ul = ({
7484
7485
  id: e,
7485
7486
  state: r = "default",
7486
7487
  disabled: n = !1,
@@ -7509,7 +7510,7 @@ const Yi = ({
7509
7510
  break;
7510
7511
  }
7511
7512
  const m = t ? "label_" + e : void 0, g = o && o.length > 0 ? "helptext_" + e : void 0;
7512
- return /* @__PURE__ */ i.jsxs("div", { className: z(ll({ state: r, hasMarginBottom: u }), f), children: [
7513
+ return /* @__PURE__ */ i.jsxs("div", { className: H(ll({ state: r, hasMarginBottom: u }), f), children: [
7513
7514
  t && /* @__PURE__ */ i.jsx(
7514
7515
  al,
7515
7516
  {
@@ -7539,7 +7540,7 @@ const Yi = ({
7539
7540
  }, ut = ul, fl = A(
7540
7541
  ["preflight", "ds-form-input", "ds-rounded", "ds-p-2", "!ds-border", "!ds-font-sans"],
7541
7542
  tt
7542
- ), pl = (e) => z(fl(e)), hl = ({
7543
+ ), pl = (e) => H(fl(e)), hl = ({
7543
7544
  state: e = "default",
7544
7545
  rows: r = 2,
7545
7546
  cols: n = 50,
@@ -7613,7 +7614,7 @@ const Yi = ({
7613
7614
  "ds-container"
7614
7615
  ],
7615
7616
  tt
7616
- ), vl = (e) => z(bl(e)), xl = ({
7617
+ ), vl = (e) => H(bl(e)), xl = ({
7617
7618
  state: e = "default",
7618
7619
  disabled: r = !1,
7619
7620
  type: n = "text",
@@ -7693,7 +7694,7 @@ const Yi = ({
7693
7694
  {
7694
7695
  "aria-disabled": r,
7695
7696
  style: { backgroundImage: jl },
7696
- className: z(yl({ disabled: r, state: e }), n),
7697
+ className: H(yl({ disabled: r, state: e }), n),
7697
7698
  ...t,
7698
7699
  children: s
7699
7700
  }
@@ -7823,7 +7824,7 @@ const Yi = ({
7823
7824
  /* @__PURE__ */ i.jsx("div", { className: "ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black [animation-delay:-0.15s]" }),
7824
7825
  /* @__PURE__ */ i.jsx("div", { className: "ds-h-[3px] ds-w-[3px] ds-animate-blink ds-rounded-full ds-bg-neutrals-black" })
7825
7826
  ] }) : null;
7826
- return /* @__PURE__ */ i.jsxs("div", { className: z("preflight ds-min-w-[4.875rem]", t), ...c, children: [
7827
+ return /* @__PURE__ */ i.jsxs("div", { className: H("preflight ds-min-w-[4.875rem]", t), ...c, children: [
7827
7828
  /* @__PURE__ */ i.jsxs("div", { className: "ds-flex ds-h-5 ds-items-center ds-justify-between", children: [
7828
7829
  /* @__PURE__ */ i.jsxs("div", { className: "progress-bar-label ds-flex ds-max-w-[calc(100%-3rem)] ds-overflow-hidden", children: [
7829
7830
  /* @__PURE__ */ i.jsx("p", { className: "ds-overflow-hidden ds-text-nowrap", children: r }),