@pantheon-systems/pds-toolkit-react 2.0.0-beta.13 → 2.0.0-beta.14

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.js CHANGED
@@ -2459,21 +2459,22 @@ var ut = Object.create, dt = Object.defineProperty, ft = Object.getOwnPropertyDe
2459
2459
  xs: "xs",
2460
2460
  s: "xs",
2461
2461
  m: "m"
2462
- }, Et = ({ className: t, color: n = "brand-muted", iconName: r, label: i, size: a = "s", ...o }) => {
2463
- let s = "pds-badge", c = `${s}--${n}`, l = `${s}--${a}`;
2462
+ }, Et = ({ className: t, color: n = "brand-muted", iconName: r, isWrappable: i = !1, label: a, size: o = "s", ...s }) => {
2463
+ let c = "pds-badge", l = `${c}--${n}`, u = `${c}--${o}`, d = i ? `${c}--wrappable` : null;
2464
2464
  return /* @__PURE__ */ e.createElement("span", {
2465
2465
  className: Z([
2466
- s,
2467
2466
  c,
2468
2467
  l,
2468
+ u,
2469
+ d,
2469
2470
  t ?? ""
2470
2471
  ]),
2471
- ...o
2472
+ ...s
2472
2473
  }, r && /* @__PURE__ */ e.createElement(Q, {
2473
- className: `${s}__icon`,
2474
+ className: `${c}__icon`,
2474
2475
  iconName: r,
2475
- size: Tt[a]
2476
- }), /* @__PURE__ */ e.createElement("span", { className: `${s}__label` }, i));
2476
+ size: Tt[o]
2477
+ }), /* @__PURE__ */ e.createElement("span", { className: `${c}__label` }, a));
2477
2478
  }, Dt = 1280, Ot = "10rem", kt = "8rem", At = "6rem", jt = "5rem", Mt = "4rem", Nt = "3rem", Pt = "2.5rem", Ft = "2rem", It = "1.5rem", Lt = "1.25rem", Rt = "1rem", zt = "0.75rem", Bt = "0.625rem", Vt = "0.5rem", Ht = "0.375rem", Ut = "0.25rem", Wt = "0.125rem", Gt = 9999, Kt = {
2478
2479
  SPACING_5XS: Wt,
2479
2480
  SPACING_4XS: Ut,
@@ -14651,7 +14652,7 @@ var ls = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
14651
14652
  role: "listitem"
14652
14653
  }, t))));
14653
14654
  }, Ys = ({ children: t, className: n, formWidth: r = "standard", hasPanel: i = !1, ...a }) => {
14654
- let o = yt(t), s = o.stepper, c = o.form, l = "pds-stepper-layout", u = r === "full" ? `${l}--full-width` : null, d = /* @__PURE__ */ e.createElement(wa, {
14655
+ let o = yt(t), s = o.stepper, c = o.form, l = "pds-stepper-layout", u = r === "full" || r === "wide" ? `${l}--${r === "full" ? "full-width" : "wide"}` : null, d = /* @__PURE__ */ e.createElement(wa, {
14655
14656
  className: Z([
14656
14657
  l,
14657
14658
  u,