@pantheon-systems/pds-toolkit-react 2.0.0-alpha.26 → 2.0.0-alpha.28

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
@@ -2033,7 +2033,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
2033
2033
  restMs: 300,
2034
2034
  delay: { open: 100, close: 0 },
2035
2035
  move: !1
2036
- }), M = Zt(E, { enabled: !l }), y = We(E), N = n2(E, { role: "tooltip" }), { getFloatingProps: I, getReferenceProps: x } = Ue([
2036
+ }), M = Zt(E, { enabled: !l }), y = We(E), N = n2(E, { role: "tooltip" }), { getFloatingProps: D, getReferenceProps: x } = Ue([
2037
2037
  k,
2038
2038
  M,
2039
2039
  y,
@@ -2077,7 +2077,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
2077
2077
  pointerEvents: g ? "auto" : "none",
2078
2078
  transition: "var(--pds-animation-transition-reveal)"
2079
2079
  },
2080
- ...I()
2080
+ ...D()
2081
2081
  },
2082
2082
  n
2083
2083
  )));
@@ -2474,8 +2474,8 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
2474
2474
  y = "l", N = "l";
2475
2475
  break;
2476
2476
  }
2477
- let I = "monochromatic";
2478
- ["primary"].includes(u) && (I = "monochromatic-reverse");
2477
+ let D = "monochromatic";
2478
+ ["primary"].includes(u) && (D = "monochromatic-reverse");
2479
2479
  const z = /* @__PURE__ */ e.createElement(
2480
2480
  G,
2481
2481
  {
@@ -2510,7 +2510,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
2510
2510
  D2,
2511
2511
  {
2512
2512
  className: `${b}__working-indicator`,
2513
- colorType: I,
2513
+ colorType: D,
2514
2514
  size: N
2515
2515
  }
2516
2516
  ),
@@ -2634,12 +2634,12 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
2634
2634
  M = "m", k = 8;
2635
2635
  break;
2636
2636
  }
2637
- const y = o !== null, N = ge(null), I = ge(null), x = () => {
2638
- N.current.classList.add(C.fadeOut), N.current.classList.add(C.hide), I.current.classList.remove(C.hide), I.current.classList.add(C.scaleIn), setTimeout(() => {
2637
+ const y = o !== null, N = ge(null), D = ge(null), x = () => {
2638
+ N.current.classList.add(C.fadeOut), N.current.classList.add(C.hide), D.current.classList.remove(C.hide), D.current.classList.add(C.scaleIn), setTimeout(() => {
2639
2639
  N.current.classList.remove(
2640
2640
  C.fadeOut,
2641
2641
  C.hide
2642
- ), N.current.classList.add(C.scaleIn), I.current.classList.remove(C.scaleIn), I.current.classList.add(C.hide);
2642
+ ), N.current.classList.add(C.scaleIn), D.current.classList.remove(C.scaleIn), D.current.classList.add(C.hide);
2643
2643
  }, 2e3);
2644
2644
  }, z = (R) => {
2645
2645
  y && x(), i && i(R);
@@ -2653,7 +2653,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
2653
2653
  )), /* @__PURE__ */ e.createElement(
2654
2654
  "div",
2655
2655
  {
2656
- ref: I,
2656
+ ref: D,
2657
2657
  className: `${h}__icon-wrapper ${C.hide}`
2658
2658
  },
2659
2659
  /* @__PURE__ */ e.createElement(
@@ -2847,10 +2847,10 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
2847
2847
  V2({
2848
2848
  apply({ availableHeight: Z, elements: H, rects: O }) {
2849
2849
  if (H.floating) {
2850
- const D = {
2850
+ const I = {
2851
2851
  maxHeight: `${Z}px`
2852
2852
  };
2853
- E && (D.minHeight = "var(--pds-spacing-3xl)", D.minWidth = `${O.reference.width}px`), Object.assign(H.floating.style, D);
2853
+ E && (I.minHeight = "var(--pds-spacing-3xl)", I.minWidth = `${O.reference.width}px`), Object.assign(H.floating.style, I);
2854
2854
  }
2855
2855
  },
2856
2856
  padding: { top: 12, right: 24, bottom: 24, left: 24 }
@@ -2865,7 +2865,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
2865
2865
  }), y = k2(C, {
2866
2866
  enabled: n,
2867
2867
  event: "mousedown"
2868
- }), N = We(C), I = n2(C, { role: i }), x = f1(C, {
2868
+ }), N = We(C), D = n2(C, { role: i }), x = f1(C, {
2869
2869
  enabled: r,
2870
2870
  move: !1,
2871
2871
  delay: { open: 100, close: 0 },
@@ -2893,7 +2893,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
2893
2893
  },
2894
2894
  findMatch: K4
2895
2895
  }), { getFloatingProps: P, getItemProps: R, getReferenceProps: V } = Ue(
2896
- [y, N, I, x, z, L]
2896
+ [y, N, D, x, z, L]
2897
2897
  ), { isMounted: U, styles: F } = Qe(
2898
2898
  C,
2899
2899
  c ? {
@@ -2947,7 +2947,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
2947
2947
  listRef: M,
2948
2948
  refs: y,
2949
2949
  setIsOpen: N,
2950
- transitionStyles: I
2950
+ transitionStyles: D
2951
2951
  } = r2({
2952
2952
  enableClick: !n,
2953
2953
  enableShift: !1,
@@ -3136,7 +3136,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
3136
3136
  role: "menu",
3137
3137
  style: {
3138
3138
  ..._,
3139
- ...I,
3139
+ ...D,
3140
3140
  zIndex: "var(--pds-z-index-dropdown)"
3141
3141
  },
3142
3142
  ...b()
@@ -3174,7 +3174,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
3174
3174
  role: "menu",
3175
3175
  style: {
3176
3176
  ..._,
3177
- ...I,
3177
+ ...D,
3178
3178
  zIndex: "var(--pds-z-index-dropdown)"
3179
3179
  },
3180
3180
  ...b()
@@ -3191,8 +3191,8 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
3191
3191
  ne !== le ? (T.push(ne), ce + 1 === w.length && Q.push(T)) : (Q.push(T), T = [], T.push(ne), le = ue.shift());
3192
3192
  }), Q.filter((ne) => ne.length > 0);
3193
3193
  };
3194
- let D;
3195
- if (t === "icon-end" && (D = /* @__PURE__ */ e.createElement(
3194
+ let I;
3195
+ if (t === "icon-end" && (I = /* @__PURE__ */ e.createElement(
3196
3196
  Xe,
3197
3197
  {
3198
3198
  ref: y.setReference,
@@ -3215,7 +3215,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
3215
3215
  }
3216
3216
  )), t === "icon-only") {
3217
3217
  const w = q2(o);
3218
- D = /* @__PURE__ */ e.createElement(
3218
+ I = /* @__PURE__ */ e.createElement(
3219
3219
  f2,
3220
3220
  {
3221
3221
  ref: y.setReference,
@@ -3246,7 +3246,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
3246
3246
  ...u
3247
3247
  },
3248
3248
  /* @__PURE__ */ e.createElement(S2, { disabled: n, label: Y }, /* @__PURE__ */ e.createElement("ul", { className: `${x}__mobile-menu`, role: "menu" }, r.map((w, se) => Z(w, se)))),
3249
- D,
3249
+ I,
3250
3250
  C && H(r)
3251
3251
  );
3252
3252
  }, pa = ({
@@ -3792,10 +3792,10 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
3792
3792
  size: "s"
3793
3793
  }
3794
3794
  ) : null, f = (N) => {
3795
- const I = [];
3796
- return a === "before" && I.push(b("icon-before")), I.push(E()), I.push(
3795
+ const D = [];
3796
+ return a === "before" && D.push(b("icon-before")), D.push(E()), D.push(
3797
3797
  /* @__PURE__ */ e.createElement("span", { key: "label", className: `${h}__label` }, N)
3798
- ), a === "after" && I.push(b("icon-after")), I.filter(Boolean);
3798
+ ), a === "after" && D.push(b("icon-after")), D.filter(Boolean);
3799
3799
  }, C = v && Me(v) ? v.props.children : m, k = $([
3800
3800
  h,
3801
3801
  l ? `${h}--border` : null,
@@ -4011,10 +4011,10 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4011
4011
  value: C,
4012
4012
  ...k
4013
4013
  }) => {
4014
- const M = Ye(o), y = "pds-select", N = s ? `${y}--auto-width` : null, I = _ !== "s" ? `${y}--${_}` : null, x = l ? re.disabled : null, z = u && !l ? re.required : null, L = f === "error" ? re.error : null, P = f === "success" ? re.success : null;
4014
+ const M = Ye(o), y = "pds-select", N = s ? `${y}--auto-width` : null, D = _ !== "s" ? `${y}--${_}` : null, x = l ? re.disabled : null, z = u && !l ? re.required : null, L = f === "error" ? re.error : null, P = f === "success" ? re.success : null;
4015
4015
  let R = null;
4016
4016
  f === "error" && (R = "error"), f === "success" && (R = "success");
4017
- const V = E || i, U = typeof C < "u", F = typeof t < "u", Z = ((_e) => _e.reduce((Le, j) => H1(j) ? [...Le, ...j.options] : [...Le, j], []))(p), H = (_e) => Z.findIndex((Le) => Le.value === _e), O = U && H(C) >= 0 ? H(C) : null, D = F ? H(t) : null, Y = O || D, [X, w] = K(
4017
+ const V = E || i, U = typeof C < "u", F = typeof t < "u", Z = ((_e) => _e.reduce((Le, j) => H1(j) ? [...Le, ...j.options] : [...Le, j], []))(p), H = (_e) => Z.findIndex((Le) => Le.value === _e), O = U && H(C) >= 0 ? H(C) : null, I = F ? H(t) : null, Y = O || I, [X, w] = K(
4018
4018
  Y ?? null
4019
4019
  ), {
4020
4020
  activeIndex: se,
@@ -4129,7 +4129,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4129
4129
  re.base,
4130
4130
  y,
4131
4131
  N,
4132
- I,
4132
+ D,
4133
4133
  x,
4134
4134
  z,
4135
4135
  L,
@@ -4450,7 +4450,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4450
4450
  return 1;
4451
4451
  const R = f - P, V = x - P, U = 1 - 0.1, F = V / R, W = 1 - U * F;
4452
4452
  return Math.max(0.1, W);
4453
- }, I = /* @__PURE__ */ e.createElement(
4453
+ }, D = /* @__PURE__ */ e.createElement(
4454
4454
  "div",
4455
4455
  {
4456
4456
  className: $([
@@ -4503,7 +4503,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4503
4503
  )
4504
4504
  ))
4505
4505
  );
4506
- return g.includes(l) ? I : _;
4506
+ return g.includes(l) ? D : _;
4507
4507
  }, Q4 = () => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--inline" }, /* @__PURE__ */ e.createElement(a2, { shape: "rounded", size: { height: 0.75, width: 5 } }), /* @__PURE__ */ e.createElement(a2, { shape: "rounded", size: { height: 0.75, width: 5 } }), /* @__PURE__ */ e.createElement(a2, { shape: "rounded", size: { height: 0.75, width: 5 } })), J4 = () => /* @__PURE__ */ e.createElement("div", { className: "pds-chart__skeleton-legend pds-chart__skeleton-legend--table" }, /* @__PURE__ */ e.createElement(a2, { shape: "rounded", size: { height: 4, width: "100%" } })), yt = ({
4508
4508
  height: s,
4509
4509
  legendVariant: n = "inline",
@@ -4537,7 +4537,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4537
4537
  xAxisLabel: M,
4538
4538
  xAxisTickInterval: y,
4539
4539
  yAxisDomain: N,
4540
- yAxisFormatter: I = Lt,
4540
+ yAxisFormatter: D = Lt,
4541
4541
  yAxisLabel: x,
4542
4542
  yAxisTickInterval: z,
4543
4543
  ...L
@@ -4551,7 +4551,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4551
4551
  } = d, W = ge(null), Z = Ct(
4552
4552
  c,
4553
4553
  bt(W, c)
4554
- ), H = n ?? (r ? 60 : 360), O = t ?? (r ? 60 : void 0), D = _ ?? !r, Y = h ?? !r, X = b ?? !r, w = E ?? !r, se = u ?? !0, [Q, ue] = K(null), le = ge(Q);
4554
+ ), H = n ?? (r ? 60 : 360), O = t ?? (r ? 60 : void 0), I = _ ?? !r, Y = h ?? !r, X = b ?? !r, w = E ?? !r, se = u ?? !0, [Q, ue] = K(null), le = ge(Q);
4555
4555
  Q && (le.current = Q);
4556
4556
  const T = ge({
4557
4557
  getBoundingClientRect: () => ({
@@ -4682,7 +4682,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4682
4682
  top: 20
4683
4683
  }
4684
4684
  },
4685
- D && /* @__PURE__ */ e.createElement(
4685
+ I && /* @__PURE__ */ e.createElement(
4686
4686
  J1,
4687
4687
  {
4688
4688
  horizontal: !Ce,
@@ -4705,7 +4705,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4705
4705
  value: M
4706
4706
  } : void 0,
4707
4707
  tick: Y ? B2 : !1,
4708
- tickFormatter: Ce ? I : void 0,
4708
+ tickFormatter: Ce ? D : void 0,
4709
4709
  tickLine: !1,
4710
4710
  tickMargin: 10,
4711
4711
  type: Ce ? "number" : "category"
@@ -4727,7 +4727,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4727
4727
  value: x
4728
4728
  } : void 0,
4729
4729
  tick: Y ? B2 : !1,
4730
- tickFormatter: Ce ? void 0 : I,
4730
+ tickFormatter: Ce ? void 0 : D,
4731
4731
  tickLine: !1,
4732
4732
  tickMargin: 6,
4733
4733
  type: Ce ? "category" : "number"
@@ -4803,7 +4803,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4803
4803
  backgroundColor: le.current.color
4804
4804
  }
4805
4805
  }
4806
- ), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-name" }, le.current.name), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-separator" }, ": "), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-value" }, I(le.current.value)))
4806
+ ), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-name" }, le.current.name), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-separator" }, ": "), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-value" }, D(le.current.value)))
4807
4807
  ),
4808
4808
  X && /* @__PURE__ */ e.createElement(
4809
4809
  $t,
@@ -4812,7 +4812,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4812
4812
  series: p,
4813
4813
  seriesColors: Z,
4814
4814
  tableHeader: U,
4815
- valueFormatter: I,
4815
+ valueFormatter: D,
4816
4816
  variant: m
4817
4817
  }
4818
4818
  ),
@@ -4822,7 +4822,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4822
4822
  data: a,
4823
4823
  description: P,
4824
4824
  series: p,
4825
- valueFormatter: I
4825
+ valueFormatter: D
4826
4826
  }
4827
4827
  )
4828
4828
  );
@@ -4855,7 +4855,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4855
4855
  tooltipContent: M,
4856
4856
  xAxisLabel: y,
4857
4857
  xAxisTickInterval: N,
4858
- yAxisDomain: I,
4858
+ yAxisDomain: D,
4859
4859
  yAxisFormatter: x = Lt,
4860
4860
  yAxisLabel: z,
4861
4861
  yAxisTickInterval: L,
@@ -4870,7 +4870,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4870
4870
  } = d, Z = ge(null), H = Ct(
4871
4871
  c,
4872
4872
  bt(Z, c)
4873
- ), O = n ?? (r ? 60 : 360), D = t ?? (r ? 60 : void 0), Y = E ?? !r, X = _ ?? !r, w = f ?? !r, se = C ?? !r, Q = b ?? !r, ue = h ?? !0, le = "pds-line-chart";
4873
+ ), O = n ?? (r ? 60 : 360), I = t ?? (r ? 60 : void 0), Y = E ?? !r, X = _ ?? !r, w = f ?? !r, se = C ?? !r, Q = b ?? !r, ue = h ?? !0, le = "pds-line-chart";
4874
4874
  return o ? /* @__PURE__ */ e.createElement(
4875
4875
  "div",
4876
4876
  {
@@ -4882,7 +4882,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4882
4882
  `${le}--loading`,
4883
4883
  l ?? ""
4884
4884
  ]),
4885
- style: { maxWidth: D },
4885
+ style: { maxWidth: I },
4886
4886
  ...P
4887
4887
  },
4888
4888
  /* @__PURE__ */ e.createElement(
@@ -4902,7 +4902,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4902
4902
  `${le}--empty`,
4903
4903
  l ?? ""
4904
4904
  ]),
4905
- style: { height: O, maxWidth: D },
4905
+ style: { height: O, maxWidth: I },
4906
4906
  ...P
4907
4907
  },
4908
4908
  /* @__PURE__ */ e.createElement(
@@ -4917,7 +4917,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4917
4917
  {
4918
4918
  ref: Z,
4919
4919
  className: $([le, l ?? ""]),
4920
- style: D ? { maxWidth: D } : void 0,
4920
+ style: I ? { maxWidth: I } : void 0,
4921
4921
  ...P
4922
4922
  },
4923
4923
  !r && k && k.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${le}__header` }, /* @__PURE__ */ e.createElement(
@@ -4969,7 +4969,7 @@ const v4 = 768, C4 = 1280, _4 = 1440, b4 = "7rem", E4 = "10rem", w4 = "8rem", ct
4969
4969
  tt,
4970
4970
  {
4971
4971
  axisLine: X,
4972
- domain: I,
4972
+ domain: D,
4973
4973
  hide: !X,
4974
4974
  interval: L,
4975
4975
  label: z && X ? {
@@ -5963,11 +5963,11 @@ const os = ({
5963
5963
  value: C,
5964
5964
  ...k
5965
5965
  }, M) => {
5966
- const y = r ? { width: `${r / 16}rem` } : null, N = "pds-checkbox", I = l ? re.disabled : null, x = f === "error" ? re.error : null, z = v > 0 ? `${N}--indent-${v}` : null, L = h && !l ? re.required : null, P = b !== "s" ? `${N}--${b}` : null, R = f === "success" ? re.success : null, V = E || i, U = typeof s < "u", F = typeof t < "u", [W, Z] = K(
5966
+ const y = r ? { width: `${r / 16}rem` } : null, N = "pds-checkbox", D = l ? re.disabled : null, x = f === "error" ? re.error : null, z = v > 0 ? `${N}--indent-${v}` : null, L = h && !l ? re.required : null, P = b !== "s" ? `${N}--${b}` : null, R = f === "success" ? re.success : null, V = E || i, U = typeof s < "u", F = typeof t < "u", [W, Z] = K(
5967
5967
  F ? t : !1
5968
5968
  ), H = s || W, O = (se) => {
5969
5969
  U || Z(se.target.checked), p && p(se);
5970
- }, D = `${N}__box`, Y = a ? null : H ? `${D}--checked` : null, X = a ? `${D}--indeterminate` : null, w = we(() => {
5970
+ }, I = `${N}__box`, Y = a ? null : H ? `${I}--checked` : null, X = a ? `${I}--indeterminate` : null, w = we(() => {
5971
5971
  if (a)
5972
5972
  return /* @__PURE__ */ e.createElement(
5973
5973
  "svg",
@@ -6002,7 +6002,7 @@ const os = ({
6002
6002
  {
6003
6003
  className: $([
6004
6004
  N,
6005
- I,
6005
+ D,
6006
6006
  L,
6007
6007
  x,
6008
6008
  R,
@@ -6036,7 +6036,7 @@ const os = ({
6036
6036
  "div",
6037
6037
  {
6038
6038
  className: $([
6039
- D,
6039
+ I,
6040
6040
  Y,
6041
6041
  X
6042
6042
  ])
@@ -6146,9 +6146,9 @@ const os = ({
6146
6146
  i.map((L) => {
6147
6147
  L.checked === !0 && y.push(L.value);
6148
6148
  });
6149
- const [N, I] = K(y), x = (L) => {
6149
+ const [N, D] = K(y), x = (L) => {
6150
6150
  const { value: P } = L.target, R = N.includes(P) ? N.filter((V) => V !== P) : [...N, P];
6151
- I(R), d && d(R);
6151
+ D(R), d && d(R);
6152
6152
  };
6153
6153
  i.map((L) => {
6154
6154
  N.includes(L.value) ? L.checked = !0 : L.checked = !1;
@@ -6241,14 +6241,14 @@ const os = ({
6241
6241
  required: M = !1,
6242
6242
  showLabel: y = !0,
6243
6243
  showUnfilteredOptions: N = !1,
6244
- size: I = "s",
6244
+ size: D = "s",
6245
6245
  tooltipText: x = null,
6246
6246
  validationMessage: z,
6247
6247
  validationStatus: L,
6248
6248
  value: P,
6249
6249
  ...R
6250
6250
  }, V) => {
6251
- const U = Ye(d), F = "pds-combobox", W = I !== "s" ? `${F}--${I}` : null, Z = t ? re.disabled : null, H = M && !t ? re.required : null, O = L === "error" ? re.error : null, D = L === "success" ? re.success : null;
6251
+ const U = Ye(d), F = "pds-combobox", W = D !== "s" ? `${F}--${D}` : null, Z = t ? re.disabled : null, H = M && !t ? re.required : null, O = L === "error" ? re.error : null, I = L === "success" ? re.success : null;
6252
6252
  let Y = null;
6253
6253
  a && (Y = "search"), L === "error" && (Y = "error"), L === "success" && (Y = "success");
6254
6254
  const X = z || p, w = typeof P < "u", se = typeof n < "u", Q = (q) => {
@@ -6354,7 +6354,7 @@ const os = ({
6354
6354
  Z,
6355
6355
  H,
6356
6356
  O,
6357
- D,
6357
+ I,
6358
6358
  s ?? ""
6359
6359
  ]),
6360
6360
  style: d ? U : null,
@@ -6500,11 +6500,11 @@ const os = ({
6500
6500
  size: b = "s",
6501
6501
  ...E
6502
6502
  }) => {
6503
- const f = Ye(a), C = "pds-combobox-multi", k = b !== "s" ? `${C}--${b}` : null, M = t ? re.disabled : null, y = u && !t ? re.required : null, N = h ? `${C}--show-all-tags` : null, [I, x] = K(""), [z, L] = K(c), [P, R] = K(
6503
+ const f = Ye(a), C = "pds-combobox-multi", k = b !== "s" ? `${C}--${b}` : null, M = t ? re.disabled : null, y = u && !t ? re.required : null, N = h ? `${C}--show-all-tags` : null, [D, x] = K(""), [z, L] = K(c), [P, R] = K(
6504
6504
  null
6505
6505
  ), [V, U] = K(!1), F = Ne(
6506
- () => ms(g, z, I),
6507
- [g, z, I]
6506
+ () => ms(g, z, D),
6507
+ [g, z, D]
6508
6508
  ), W = Ne(
6509
6509
  () => s?.items?.map((B) => ({
6510
6510
  ...B,
@@ -6515,7 +6515,7 @@ const os = ({
6515
6515
  [s?.items, z]
6516
6516
  ), Z = (B) => {
6517
6517
  L(B), v?.(B);
6518
- }, { getDropdownProps: H, getSelectedItemProps: O, removeSelectedItem: D } = y2({
6518
+ }, { getDropdownProps: H, getSelectedItemProps: O, removeSelectedItem: I } = y2({
6519
6519
  selectedItems: z,
6520
6520
  onStateChange: ({ selectedItems: B, type: S }) => {
6521
6521
  if (!t)
@@ -6542,7 +6542,7 @@ const os = ({
6542
6542
  items: F,
6543
6543
  itemToString: (B) => B ? B.label : "",
6544
6544
  selectedItem: null,
6545
- inputValue: I,
6545
+ inputValue: D,
6546
6546
  isOpen: t ? !1 : void 0,
6547
6547
  stateReducer: (B, { changes: S, type: A }) => {
6548
6548
  if (t) return B;
@@ -6655,7 +6655,7 @@ const os = ({
6655
6655
  }, Le = (B) => {
6656
6656
  ze.current = le, !t && B.currentTarget.setAttribute("data-focus-method", "mouse");
6657
6657
  }, j = (B) => {
6658
- B.currentTarget.setAttribute("data-focus-method", "keyboard"), !t && ((B.key === "Backspace" || B.key === "Delete") && !I && z.length > 0 && (B.preventDefault(), pe()), B.key === "Enter" && P !== null && (B.preventDefault(), pe()), !le && (B.key === "Enter" || B.key === "ArrowDown") && (B.preventDefault(), T()));
6658
+ B.currentTarget.setAttribute("data-focus-method", "keyboard"), !t && ((B.key === "Backspace" || B.key === "Delete") && !D && z.length > 0 && (B.preventDefault(), pe()), B.key === "Enter" && P !== null && (B.preventDefault(), pe()), !le && (B.key === "Enter" || B.key === "ArrowDown") && (B.preventDefault(), T()));
6659
6659
  }, oe = X({
6660
6660
  ...H({
6661
6661
  preventKeyAction: le
@@ -6724,7 +6724,7 @@ const os = ({
6724
6724
  "aria-label": `Remove ${B.label}`,
6725
6725
  className: `${C}__selected-item-remove`,
6726
6726
  onClick: (A) => {
6727
- A.stopPropagation(), D(B);
6727
+ A.stopPropagation(), I(B);
6728
6728
  },
6729
6729
  onKeyDown: (A) => {
6730
6730
  (A.key === "Enter" || A.key === " ") && A.stopPropagation();
@@ -6901,19 +6901,19 @@ const os = ({
6901
6901
  validationStatus: f,
6902
6902
  ...C
6903
6903
  }, k) => {
6904
- const [M, y] = K(!1), [N, I] = K(
6904
+ const [M, y] = K(!1), [N, D] = K(
6905
6905
  !!(P2 && t)
6906
6906
  ), x = Ye(r), z = "pds-file-upload", L = _ !== "s" ? `${z}--${_}` : null, P = l ? re.disabled : null, R = p && !l ? re.required : null, V = f === "error" ? re.error : null, U = f === "success" ? re.success : null, F = N ? `${z}--safari-default` : null;
6907
6907
  let W = null;
6908
6908
  f === "error" && (W = "error"), f === "success" && (W = "success");
6909
- const Z = E || i, H = t ? [t] : null, O = t ? t.split("/").pop() : null, D = u ? t : O, Y = t ? new File(H, D) : null;
6909
+ const Z = E || i, H = t ? [t] : null, O = t ? t.split("/").pop() : null, I = u ? t : O, Y = t ? new File(H, I) : null;
6910
6910
  he(() => {
6911
6911
  const Q = new DataTransfer();
6912
6912
  if (Y && Q.items.add(Y), Q.files.length > 0) {
6913
6913
  const ue = document.getElementById(
6914
6914
  `${a}--input`
6915
6915
  );
6916
- ue.files = Q.files, P2 && (ue.dataset.file = `${D}`), y(!0);
6916
+ ue.files = Q.files, P2 && (ue.dataset.file = `${I}`), y(!0);
6917
6917
  }
6918
6918
  }, [t, u]);
6919
6919
  const X = () => {
@@ -6928,12 +6928,12 @@ const os = ({
6928
6928
  t ? X() : y(!1);
6929
6929
  return;
6930
6930
  }
6931
- P2 && t && (t === Q.target.value ? I(!0) : I(!1)), g && g(Q.target.files), y(!0);
6931
+ P2 && t && (t === Q.target.value ? D(!0) : D(!1)), g && g(Q.target.files), y(!0);
6932
6932
  }, se = () => {
6933
6933
  const Q = document.getElementById(
6934
6934
  `${a}--input`
6935
6935
  );
6936
- Q.value = "", P2 && I(!1), v && v(), y(!1), Q.focus();
6936
+ Q.value = "", P2 && D(!1), v && v(), y(!1), Q.focus();
6937
6937
  };
6938
6938
  return /* @__PURE__ */ e.createElement(
6939
6939
  "div",
@@ -7054,8 +7054,8 @@ const os = ({
7054
7054
  value: b,
7055
7055
  ...E
7056
7056
  }) => {
7057
- const f = "pds-radio-group", C = t ? re.disabled : null, k = g && !t ? re.required : null, M = _ === "error" ? re.error : null, y = _ === "success" ? re.success : null, N = typeof b < "u", I = typeof n < "u", [x, z] = K(
7058
- I ? n : ""
7057
+ const f = "pds-radio-group", C = t ? re.disabled : null, k = g && !t ? re.required : null, M = _ === "error" ? re.error : null, y = _ === "success" ? re.success : null, N = typeof b < "u", D = typeof n < "u", [x, z] = K(
7058
+ D ? n : ""
7059
7059
  ), L = h || r, P = (V) => {
7060
7060
  N || z(V.target.value), i && i(V), m && m(V.target.value);
7061
7061
  }, R = (V) => {
@@ -7136,7 +7136,7 @@ const os = ({
7136
7136
  switchPlacement: g = "right",
7137
7137
  ...p
7138
7138
  }, u) => {
7139
- const h = Ye(o), _ = "pds-switch", b = `${_}--${g}`, E = d ? `${_}--message` : null, f = l ? re.disabled : null, C = m && !l ? re.required : null, k = typeof s < "u", M = !k && t ? t : !1, [y, N] = K(M), I = (P) => {
7139
+ const h = Ye(o), _ = "pds-switch", b = `${_}--${g}`, E = d ? `${_}--message` : null, f = l ? re.disabled : null, C = m && !l ? re.required : null, k = typeof s < "u", M = !k && t ? t : !1, [y, N] = K(M), D = (P) => {
7140
7140
  k || N(P.target.checked), i && i(P);
7141
7141
  }, x = () => {
7142
7142
  l || document.getElementById(c)?.click();
@@ -7150,7 +7150,7 @@ const os = ({
7150
7150
  disabled: l,
7151
7151
  id: c,
7152
7152
  name: c,
7153
- onChange: I,
7153
+ onChange: D,
7154
7154
  required: m,
7155
7155
  role: "switch",
7156
7156
  type: "checkbox",
@@ -7251,7 +7251,7 @@ const os = ({
7251
7251
  }
7252
7252
  L.key === "Delete" || L.key === "Enter" ? (L.preventDefault(), v(p.id), u === 1 ? i() : l > 0 ? g(l - 1) : g(0)) : L.key === "Escape" ? (L.preventDefault(), i()) : L.key === "ArrowLeft" && !L.shiftKey && l > 0 ? (L.preventDefault(), g(l - 1)) : L.key === "ArrowRight" && !L.shiftKey && (L.preventDefault(), l < u - 1 ? g(l + 1) : i());
7253
7253
  }
7254
- }, k = String(l + 1), M = String(u), y = a ? h.tagAriaLabel : h.tagAriaLabelSimple, N = `${p.value}, ${y.replace("{index}", k).replace("{total}", M)}`, I = c ? `${b}--dragging` : null, x = s ? re.disabled : null, z = n ? `${b}--drop-target-${n}` : null;
7254
+ }, k = String(l + 1), M = String(u), y = a ? h.tagAriaLabel : h.tagAriaLabelSimple, N = `${p.value}, ${y.replace("{index}", k).replace("{total}", M)}`, D = c ? `${b}--dragging` : null, x = s ? re.disabled : null, z = n ? `${b}--drop-target-${n}` : null;
7255
7255
  return /* @__PURE__ */ e.createElement(
7256
7256
  "div",
7257
7257
  {
@@ -7259,7 +7259,7 @@ const os = ({
7259
7259
  "aria-label": N,
7260
7260
  className: $([
7261
7261
  b,
7262
- I,
7262
+ D,
7263
7263
  x,
7264
7264
  z
7265
7265
  ]),
@@ -7324,7 +7324,7 @@ const os = ({
7324
7324
  validationStatus: E,
7325
7325
  ...f
7326
7326
  }, C) => {
7327
- const k = Ye(a), M = "pds-tags-input", y = p !== "s" ? `${M}--${p}` : null, N = t ? re.disabled : null, I = v && !t ? re.required : null, x = E === "error" ? re.error : null, z = E === "success" ? re.success : null, L = b || d, [P, R] = K(""), [V, U] = K(null), [F, W] = K(null), [Z, H] = K(null), [O, D] = K(null), [Y, X] = K(""), w = ge(null), se = u.length > 0 ? s : m, Q = (ae) => {
7327
+ const k = Ye(a), M = "pds-tags-input", y = p !== "s" ? `${M}--${p}` : null, N = t ? re.disabled : null, D = v && !t ? re.required : null, x = E === "error" ? re.error : null, z = E === "success" ? re.success : null, L = b || d, [P, R] = K(""), [V, U] = K(null), [F, W] = K(null), [Z, H] = K(null), [O, I] = K(null), [Y, X] = K(""), w = ge(null), se = u.length > 0 ? s : m, Q = (ae) => {
7328
7328
  X(ae), setTimeout(() => X(""), 1e3);
7329
7329
  }, ue = (ae) => {
7330
7330
  i(ae);
@@ -7351,7 +7351,7 @@ const os = ({
7351
7351
  const ie = u.find((me) => me.id === ae), ee = u.filter((me) => me.id !== ae);
7352
7352
  ue(ee), ie && Q(`${ie.value} removed`);
7353
7353
  }, ve = () => {
7354
- D(null), setTimeout(() => {
7354
+ I(null), setTimeout(() => {
7355
7355
  w.current?.focus();
7356
7356
  }, 0);
7357
7357
  }, $e = (ae) => {
@@ -7366,7 +7366,7 @@ const os = ({
7366
7366
  } else if (ae.key === "Backspace" && !P && u.length > 0) {
7367
7367
  const ie = u[u.length - 1];
7368
7368
  ue(u.slice(0, -1)), Q(`${ie.value} removed`);
7369
- } else ae.key === "ArrowLeft" && !P && u.length > 0 && (ae.preventDefault(), D(u.length - 1));
7369
+ } else ae.key === "ArrowLeft" && !P && u.length > 0 && (ae.preventDefault(), I(u.length - 1));
7370
7370
  };
7371
7371
  return /* @__PURE__ */ e.createElement(
7372
7372
  "div",
@@ -7376,7 +7376,7 @@ const os = ({
7376
7376
  M,
7377
7377
  y,
7378
7378
  N,
7379
- I,
7379
+ D,
7380
7380
  x,
7381
7381
  z,
7382
7382
  n ?? ""
@@ -7430,7 +7430,7 @@ const os = ({
7430
7430
  onFocusInput: ve,
7431
7431
  onKeyboardMove: te,
7432
7432
  onRemove: fe,
7433
- setFocusedIndex: D,
7433
+ setFocusedIndex: I,
7434
7434
  tag: ae,
7435
7435
  totalTags: u.length,
7436
7436
  translationStrings: _
@@ -7506,10 +7506,10 @@ const os = ({
7506
7506
  validationStatus: M,
7507
7507
  value: y,
7508
7508
  ...N
7509
- }, I) => {
7510
- const x = Ye(a), z = "pds-textarea", L = o ? "pds-is-resizable" : null, P = l ? re.disabled : null, R = u && !l ? re.required : null, V = M === "error" ? re.error : null, U = M === "success" ? re.success : null, F = b !== "s" ? `${z}--${b}` : null, W = p ? re.readonly : null, Z = k || d, H = y != null && m !== void 0, O = typeof t < "u", [D, Y] = K(
7509
+ }, D) => {
7510
+ const x = Ye(a), z = "pds-textarea", L = o ? "pds-is-resizable" : null, P = l ? re.disabled : null, R = u && !l ? re.required : null, V = M === "error" ? re.error : null, U = M === "success" ? re.success : null, F = b !== "s" ? `${z}--${b}` : null, W = p ? re.readonly : null, Z = k || d, H = y != null && m !== void 0, O = typeof t < "u", [I, Y] = K(
7511
7511
  O ? t : ""
7512
- ), X = y || D, w = (Q) => {
7512
+ ), X = y || I, w = (Q) => {
7513
7513
  H || Y(Q.target.value), m && m(Q);
7514
7514
  }, se = (Q) => {
7515
7515
  i && i(Q);
@@ -7554,7 +7554,7 @@ const os = ({
7554
7554
  /* @__PURE__ */ e.createElement("div", { className: `${z}__input-wrapper` }, /* @__PURE__ */ e.createElement(
7555
7555
  "textarea",
7556
7556
  {
7557
- ref: I,
7557
+ ref: D,
7558
7558
  "aria-describedby": Z ? `${c}__message` : null,
7559
7559
  "aria-invalid": M === "error",
7560
7560
  className: $([`${z}--textarea`, L]),
@@ -7568,7 +7568,7 @@ const os = ({
7568
7568
  readOnly: p,
7569
7569
  required: u,
7570
7570
  rows: h,
7571
- value: H ? y : D,
7571
+ value: H ? y : I,
7572
7572
  ...E
7573
7573
  }
7574
7574
  )),
@@ -7611,7 +7611,7 @@ const os = ({
7611
7611
  showVisibilityToggle: M = !1,
7612
7612
  size: y = "s",
7613
7613
  tooltipText: N = null,
7614
- translationStrings: I = {
7614
+ translationStrings: D = {
7615
7615
  clearButton: "Clear input text",
7616
7616
  counterOverLimit: "Character limit exceeded by",
7617
7617
  searchShortcut: "Press / to focus the search field",
@@ -7625,7 +7625,7 @@ const os = ({
7625
7625
  value: P,
7626
7626
  ...R
7627
7627
  }, V) => {
7628
- const U = Ye(m), F = "pds-text-input", W = c ? re.disabled : null, Z = f && !c ? re.required : null, H = L === "error" ? re.error : null, O = L === "success" ? re.success : null, D = E ? re.readonly : null, Y = y !== "s" ? `${F}--${y}` : null, X = r && x === "url" ? `${F}--has-url-prefix` : null;
7628
+ const U = Ye(m), F = "pds-text-input", W = c ? re.disabled : null, Z = f && !c ? re.required : null, H = L === "error" ? re.error : null, O = L === "success" ? re.success : null, I = E ? re.readonly : null, Y = y !== "s" ? `${F}--${y}` : null, X = r && x === "url" ? `${F}--has-url-prefix` : null;
7629
7629
  let w = null;
7630
7630
  x === "search" && (w = "search"), x === "search" && C === "filter" && (w = "filter"), L === "error" && (w = "error"), L === "success" && (w = "success");
7631
7631
  const se = z || g, Q = typeof P < "u", ue = typeof l < "u", [le, T] = K(
@@ -7674,7 +7674,7 @@ const os = ({
7674
7674
  Z,
7675
7675
  H,
7676
7676
  O,
7677
- D,
7677
+ I,
7678
7678
  X,
7679
7679
  n ?? ""
7680
7680
  ]),
@@ -7692,7 +7692,7 @@ const os = ({
7692
7692
  tooltipText: N
7693
7693
  }
7694
7694
  ),
7695
- M && x === "password" && /* @__PURE__ */ e.createElement("div", { "aria-live": "polite", className: "visually-hidden" }, `${I.visibilityStatus} ${ve ? "visible" : "hidden"}.`),
7695
+ M && x === "password" && /* @__PURE__ */ e.createElement("div", { "aria-live": "polite", className: "visually-hidden" }, `${D.visibilityStatus} ${ve ? "visible" : "hidden"}.`),
7696
7696
  /* @__PURE__ */ e.createElement(
7697
7697
  "div",
7698
7698
  {
@@ -7725,7 +7725,7 @@ const os = ({
7725
7725
  a && ne && /* @__PURE__ */ e.createElement(
7726
7726
  $1,
7727
7727
  {
7728
- clearLabel: I.clearButton,
7728
+ clearLabel: D.clearButton,
7729
7729
  handleClearInput: fe,
7730
7730
  id: d
7731
7731
  }
@@ -7737,7 +7737,7 @@ const os = ({
7737
7737
  className: `${F}__visibility-toggle`,
7738
7738
  onClick: ae,
7739
7739
  onMouseDown: (ee) => ee.preventDefault(),
7740
- title: ve ? I.visibilityToggleHide : I.visibilityToggleShow,
7740
+ title: ve ? D.visibilityToggleHide : D.visibilityToggleShow,
7741
7741
  type: "button"
7742
7742
  },
7743
7743
  /* @__PURE__ */ e.createElement(G, { iconName: ve ? "eyeSlash" : "eye", size: "m" })
@@ -7746,7 +7746,7 @@ const os = ({
7746
7746
  pt,
7747
7747
  {
7748
7748
  inputId: d,
7749
- shortcutLabel: I.searchShortcut
7749
+ shortcutLabel: D.searchShortcut
7750
7750
  }
7751
7751
  ),
7752
7752
  t && x !== "password" && /* @__PURE__ */ e.createElement(
@@ -7755,7 +7755,7 @@ const os = ({
7755
7755
  currentLength: ne.length,
7756
7756
  id: d,
7757
7757
  maxLength: t,
7758
- overLimitMessage: I.counterOverLimit
7758
+ overLimitMessage: D.counterOverLimit
7759
7759
  }
7760
7760
  )
7761
7761
  ),
@@ -8161,7 +8161,7 @@ const os = ({
8161
8161
  item: y,
8162
8162
  level: N
8163
8163
  }) => {
8164
- const I = hs(
8164
+ const D = hs(
8165
8165
  y.linkContent,
8166
8166
  y.links
8167
8167
  );
@@ -8169,16 +8169,20 @@ const os = ({
8169
8169
  ...y,
8170
8170
  level: N,
8171
8171
  linkContent: Ve(
8172
- I,
8173
- Object.assign({}, I.props, {
8172
+ D,
8173
+ Object.assign({}, D.props, {
8174
8174
  tabIndex: -1
8175
8175
  })
8176
8176
  )
8177
8177
  };
8178
8178
  }, M = (y) => {
8179
8179
  const N = [];
8180
- return y.forEach((I) => {
8181
- I.links ? (N.push(k({ item: I, level: "top-level" })), I.links.forEach((x) => {
8180
+ return y.forEach((D) => {
8181
+ if (D.isSeparator) {
8182
+ N.push({ isSeparator: !0, level: "top-level" });
8183
+ return;
8184
+ }
8185
+ D.links ? (N.push(k({ item: D, level: "top-level" })), D.links.forEach((x) => {
8182
8186
  x.links ? (N.push(k({ item: x, level: "second-level" })), x.links.forEach((z) => {
8183
8187
  z.links && (N.push(
8184
8188
  k({ item: z, level: "third-level" })
@@ -8190,7 +8194,7 @@ const os = ({
8190
8194
  k({ item: z, level: "third-level" })
8191
8195
  );
8192
8196
  })) : N.push(k({ item: x, level: "second-level" }));
8193
- })) : N.push(k({ item: I, level: "top-level" }));
8197
+ })) : N.push(k({ item: D, level: "top-level" }));
8194
8198
  }), N;
8195
8199
  };
8196
8200
  return /* @__PURE__ */ e.createElement("div", { className: $([a, s ?? ""]), ...c }, n && /* @__PURE__ */ e.createElement("h2", { className: `${a}__heading pds-ts-m` }, n), /* @__PURE__ */ e.createElement(
@@ -8223,26 +8227,39 @@ const os = ({
8223
8227
  },
8224
8228
  ...v()
8225
8229
  },
8226
- M(t).map((y, N) => /* @__PURE__ */ e.createElement(
8227
- "li",
8228
- {
8229
- key: N,
8230
- ref: (I) => {
8231
- h.current[N] = I;
8230
+ M(t).map(
8231
+ (y, N) => y.isSeparator ? /* @__PURE__ */ e.createElement(
8232
+ "li",
8233
+ {
8234
+ key: N,
8235
+ ref: (D) => {
8236
+ h.current[N] = D;
8237
+ },
8238
+ "aria-hidden": "true",
8239
+ className: `${a}__separator`,
8240
+ role: "separator"
8241
+ }
8242
+ ) : /* @__PURE__ */ e.createElement(
8243
+ "li",
8244
+ {
8245
+ key: N,
8246
+ ref: (D) => {
8247
+ h.current[N] = D;
8248
+ },
8249
+ className: $([
8250
+ "pds-dropdown__item",
8251
+ `${a}__item`,
8252
+ `${a}__item--${y.level}`,
8253
+ i === N ? "pds-dropdown__item--focused" : null,
8254
+ y.isActive === !0 ? "pds-dropdown__item--active" : null
8255
+ ]),
8256
+ tabIndex: i === N ? 0 : -1,
8257
+ ...g({ onKeyDown: C })
8232
8258
  },
8233
- className: $([
8234
- "pds-dropdown__item",
8235
- `${a}__item`,
8236
- `${a}__item--${y.level}`,
8237
- i === N ? "pds-dropdown__item--focused" : null,
8238
- y.isActive === !0 ? "pds-dropdown__item--active" : null
8239
- ]),
8240
- tabIndex: i === N ? 0 : -1,
8241
- ...g({ onKeyDown: C })
8242
- },
8243
- y.linkContent,
8244
- y.isActive === !0 && d
8245
- ))
8259
+ y.linkContent,
8260
+ y.isActive === !0 && d
8261
+ )
8262
+ )
8246
8263
  ));
8247
8264
  }, e1 = ({
8248
8265
  children: s,
@@ -8632,8 +8649,8 @@ const os = ({
8632
8649
  return h(), () => u();
8633
8650
  }, [g, h, u]);
8634
8651
  const M = Fe(s), y = M["items-left"], N = M["items-right"];
8635
- let I = "default";
8636
- (t === "reverse" || t === "reverse-transparent") && (I = "reverse");
8652
+ let D = "default";
8653
+ (t === "reverse" || t === "reverse-transparent") && (D = "reverse");
8637
8654
  const x = Me(r) ? r.props.children : null, z = Me(r) && x ? Ve(
8638
8655
  r,
8639
8656
  Object.assign({}, r.props, {
@@ -8643,7 +8660,7 @@ const os = ({
8643
8660
  ) : /* @__PURE__ */ e.createElement("img", { alt: "", className: `${_}__custom-logo`, src: d }), L = () => d ? z : /* @__PURE__ */ e.createElement(
8644
8661
  Cs,
8645
8662
  {
8646
- colorType: I,
8663
+ colorType: D,
8647
8664
  displayType: o,
8648
8665
  linkContent: r,
8649
8666
  subBrand: i
@@ -8750,7 +8767,7 @@ const os = ({
8750
8767
  t && a && (x.key === "ArrowDown" || x.key === "ArrowRight" || x.key === " " || x.key === "Spacebar") && (x.preventDefault(), p(!0));
8751
8768
  }, N = (x) => {
8752
8769
  !t || !a || !o || !(x.nativeEvent.pointerType === "touch") || (x.preventDefault(), x.stopPropagation(), o());
8753
- }, I = (x) => {
8770
+ }, D = (x) => {
8754
8771
  const z = x.currentTarget, L = z.parentElement?.nextElementSibling;
8755
8772
  if (!L) return;
8756
8773
  const P = z.getAttribute("aria-expanded") === "false";
@@ -8784,7 +8801,7 @@ const os = ({
8784
8801
  `${r}__toggle`,
8785
8802
  n ? `${r}__toggle--expanded` : null
8786
8803
  ]),
8787
- onClick: I,
8804
+ onClick: D,
8788
8805
  type: "button"
8789
8806
  },
8790
8807
  /* @__PURE__ */ e.createElement(G, { iconName: "angleDown", size: "m" }),
@@ -9033,7 +9050,7 @@ const os = ({
9033
9050
  listRef: M,
9034
9051
  refs: y,
9035
9052
  setActiveIndex: N,
9036
- transitionStyles: I
9053
+ transitionStyles: D
9037
9054
  } = r2({
9038
9055
  offsetValue: 8,
9039
9056
  placement: "bottom-start",
@@ -9042,7 +9059,7 @@ const os = ({
9042
9059
  H.preventDefault(), H.key === "Enter" && M.current[h].querySelector("a")?.click(), H.key === "Tab" && H.shiftKey && m && document.getElementById("links-filter").focus();
9043
9060
  }, z = (H, O) => s2(H.linkContent).toLowerCase().includes(O.toLowerCase()), L = (H) => {
9044
9061
  const O = H.target.value;
9045
- i(O), r(l.filter((D) => z(D, O)));
9062
+ i(O), r(l.filter((I) => z(I, O)));
9046
9063
  };
9047
9064
  he(() => {
9048
9065
  r(l.filter((H) => z(H, d)));
@@ -9070,7 +9087,7 @@ const os = ({
9070
9087
  type: "search"
9071
9088
  }
9072
9089
  )), Z = o.map((H, O) => {
9073
- const D = H.isActive ? `${u}--active` : null;
9090
+ const I = H.isActive ? `${u}--active` : null;
9074
9091
  return /* @__PURE__ */ e.createElement(
9075
9092
  "li",
9076
9093
  {
@@ -9078,7 +9095,7 @@ const os = ({
9078
9095
  ref: (Y) => {
9079
9096
  M.current[O] = Y;
9080
9097
  },
9081
- className: $([u, D]),
9098
+ className: $([u, I]),
9082
9099
  onKeyDown: x,
9083
9100
  tabIndex: O === h ? 0 : -1,
9084
9101
  ...E()
@@ -9118,7 +9135,7 @@ const os = ({
9118
9135
  }
9119
9136
  })
9120
9137
  },
9121
- /* @__PURE__ */ e.createElement("div", { style: { ...I } }, W, /* @__PURE__ */ e.createElement("ul", { className: $([g, p]) }, Z.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${v}__no-results` }, a) : Z))
9138
+ /* @__PURE__ */ e.createElement("div", { style: { ...D } }, W, /* @__PURE__ */ e.createElement("ul", { className: $([g, p]) }, Z.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${v}__no-results` }, a) : Z))
9122
9139
  ));
9123
9140
  }, Ka = ({
9124
9141
  ariaLabel: s,
@@ -9222,7 +9239,7 @@ const os = ({
9222
9239
  openOnArrowKeyDown: !0,
9223
9240
  focusItemOnOpen: !1,
9224
9241
  focusItemOnHover: !0
9225
- }), { getFloatingProps: y, getItemProps: N, getReferenceProps: I } = Ue(
9242
+ }), { getFloatingProps: y, getItemProps: N, getReferenceProps: D } = Ue(
9226
9243
  [f, C, E, M]
9227
9244
  ), { isMounted: x, styles: z } = Qe(h, {
9228
9245
  duration: { open: 300, close: 150 },
@@ -9244,23 +9261,23 @@ const os = ({
9244
9261
  v.current.push(O), g.current.push(H);
9245
9262
  });
9246
9263
  const R = (H) => {
9247
- const O = v.current.indexOf(H), D = g.current[O];
9248
- D.linkContent && !D.disabled && (k.current[O].querySelector("a").click(), m(!1)), D.callback && !D.disabled && (D.callback(), m(!1));
9264
+ const O = v.current.indexOf(H), I = g.current[O];
9265
+ I.linkContent && !I.disabled && (k.current[O].querySelector("a").click(), m(!1)), I.callback && !I.disabled && (I.callback(), m(!1));
9249
9266
  }, V = (H) => {
9250
9267
  H.preventDefault(), H.key === "Enter" && R(H.currentTarget.id);
9251
9268
  }, U = (H) => {
9252
9269
  R(H.currentTarget.id);
9253
9270
  }, F = t.map((H, O) => {
9254
- const D = v.current[O], Y = `${p}__item`, X = H.disabled ? `${Y}--disabled` : null;
9271
+ const I = v.current[O], Y = `${p}__item`, X = H.disabled ? `${Y}--disabled` : null;
9255
9272
  return /* @__PURE__ */ e.createElement(
9256
9273
  "li",
9257
9274
  {
9258
- key: D,
9275
+ key: I,
9259
9276
  ref: (w) => {
9260
9277
  k.current[O] = w;
9261
9278
  },
9262
9279
  className: $([Y, X]),
9263
- id: D,
9280
+ id: I,
9264
9281
  onKeyDown: V,
9265
9282
  role: "menuitem",
9266
9283
  tabIndex: r === O ? 0 : -1,
@@ -9277,15 +9294,15 @@ const os = ({
9277
9294
  H.linkContent ? H.linkContent : H.label
9278
9295
  );
9279
9296
  }), W = t.map((H, O) => {
9280
- const D = v.current[O], Y = `${p}__item`, X = H.disabled ? `${Y}--disabled` : null;
9297
+ const I = v.current[O], Y = `${p}__item`, X = H.disabled ? `${Y}--disabled` : null;
9281
9298
  return /* @__PURE__ */ e.createElement(
9282
9299
  "li",
9283
9300
  {
9284
- key: D,
9301
+ key: I,
9285
9302
  className: $([Y, X]),
9286
- id: `${D}-accordion`,
9303
+ id: `${I}-accordion`,
9287
9304
  onClick: () => {
9288
- H.linkContent && !H.disabled ? document.getElementById(`${D}-accordion`)?.querySelector("a")?.click() : H.callback && !H.disabled && H.callback();
9305
+ H.linkContent && !H.disabled ? document.getElementById(`${I}-accordion`)?.querySelector("a")?.click() : H.callback && !H.disabled && H.callback();
9289
9306
  },
9290
9307
  role: "menuitem"
9291
9308
  },
@@ -9316,7 +9333,7 @@ const os = ({
9316
9333
  "aria-label": s,
9317
9334
  className: `${p}__trigger`,
9318
9335
  type: "button",
9319
- ...I()
9336
+ ...D()
9320
9337
  },
9321
9338
  L
9322
9339
  ), x && /* @__PURE__ */ e.createElement(
@@ -9360,7 +9377,7 @@ const os = ({
9360
9377
  getItemProps: M,
9361
9378
  getReferenceProps: y,
9362
9379
  isMounted: N,
9363
- listRef: I,
9380
+ listRef: D,
9364
9381
  refs: x,
9365
9382
  setIsOpen: z,
9366
9383
  transitionStyles: L
@@ -9368,34 +9385,34 @@ const os = ({
9368
9385
  enableTypeahead: !h,
9369
9386
  role: "menu"
9370
9387
  });
9371
- let P = d.find((D) => D.isActive);
9388
+ let P = d.find((I) => I.isActive);
9372
9389
  P || (P = d[0]);
9373
9390
  const R = Ne(() => {
9374
9391
  if (!m) return d;
9375
- const D = m.toLowerCase();
9392
+ const I = m.toLowerCase();
9376
9393
  return d.filter(
9377
- (Y) => Y.displayName?.toLowerCase().includes(D)
9394
+ (Y) => Y.displayName?.toLowerCase().includes(I)
9378
9395
  );
9379
9396
  }, [d, m]), V = Ne(() => {
9380
9397
  if (!g) return d;
9381
- const D = g.toLowerCase();
9398
+ const I = g.toLowerCase();
9382
9399
  return d.filter(
9383
- (Y) => Y.displayName?.toLowerCase().includes(D)
9400
+ (Y) => Y.displayName?.toLowerCase().includes(I)
9384
9401
  );
9385
- }, [d, g]), U = (D) => {
9386
- D.preventDefault(), D.key === "Enter" && (I.current[f]?.querySelector("a") || I.current[f]?.querySelector("button"))?.click(), D.key === "Tab" && (D.shiftKey ? h ? document.getElementById("workspace-filter")?.focus() : z(!1) : t ? u.current?.querySelector("a")?.focus() : z(!1));
9387
- }, F = (D) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${_}__item-content` }, /* @__PURE__ */ e.createElement(
9402
+ }, [d, g]), U = (I) => {
9403
+ I.preventDefault(), I.key === "Enter" && (D.current[f]?.querySelector("a") || D.current[f]?.querySelector("button"))?.click(), I.key === "Tab" && (I.shiftKey ? h ? document.getElementById("workspace-filter")?.focus() : z(!1) : t ? u.current?.querySelector("a")?.focus() : z(!1));
9404
+ }, F = (I) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${_}__item-content` }, /* @__PURE__ */ e.createElement(
9388
9405
  T2,
9389
9406
  {
9390
9407
  className: `${_}__list-avatar`,
9391
- imageSrc: D.imageSrc,
9408
+ imageSrc: I.imageSrc,
9392
9409
  size: "s",
9393
- uniqueId: D.workspaceId
9410
+ uniqueId: I.workspaceId
9394
9411
  }
9395
- ), D.displayName, D.isRestricted && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, D.restrictedLabel ?? "Restricted")), (D.isRestricted || D.isActive) && /* @__PURE__ */ e.createElement("div", { className: `${_}__icons` }, D.isRestricted && /* @__PURE__ */ e.createElement(G, { className: `${_}__lock-icon`, iconName: "lock" }), D.isActive && /* @__PURE__ */ e.createElement(M2, null))), W = R.map(
9396
- (D, Y) => {
9397
- const X = `${_}__item`, w = D.workspaceId, se = D.isRestricted && D.onRestrictedSelection, Q = D.workspaceLink?.type, ue = D.isUnprivileged ? null : (le) => {
9398
- I.current[Y] = le;
9412
+ ), I.displayName, I.isRestricted && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, I.restrictedLabel ?? "Restricted")), (I.isRestricted || I.isActive) && /* @__PURE__ */ e.createElement("div", { className: `${_}__icons` }, I.isRestricted && /* @__PURE__ */ e.createElement(G, { className: `${_}__lock-icon`, iconName: "lock" }), I.isActive && /* @__PURE__ */ e.createElement(M2, null))), W = R.map(
9413
+ (I, Y) => {
9414
+ const X = `${_}__item`, w = I.workspaceId, se = I.isRestricted && I.onRestrictedSelection, Q = I.workspaceLink?.type, ue = I.isUnprivileged ? null : (le) => {
9415
+ D.current[Y] = le;
9399
9416
  };
9400
9417
  return /* @__PURE__ */ e.createElement(
9401
9418
  "li",
@@ -9405,10 +9422,10 @@ const os = ({
9405
9422
  className: $([
9406
9423
  "pds-dropdown__item",
9407
9424
  X,
9408
- D.isActive ? "pds-dropdown__item--active" : null,
9409
- D.isActive ? `${X}--active` : null,
9410
- D.isUnprivileged ? `${X}--unprivileged` : null,
9411
- D.isRestricted ? `${X}--restricted` : null
9425
+ I.isActive ? "pds-dropdown__item--active" : null,
9426
+ I.isActive ? `${X}--active` : null,
9427
+ I.isUnprivileged ? `${X}--unprivileged` : null,
9428
+ I.isRestricted ? `${X}--restricted` : null
9412
9429
  ]),
9413
9430
  id: w,
9414
9431
  onKeyDown: U,
@@ -9420,25 +9437,25 @@ const os = ({
9420
9437
  "button",
9421
9438
  {
9422
9439
  onClick: () => {
9423
- D.onRestrictedSelection(), z(!1);
9440
+ I.onRestrictedSelection(), z(!1);
9424
9441
  },
9425
9442
  type: "button"
9426
9443
  },
9427
- F(D)
9444
+ F(I)
9428
9445
  ) : Q ? /* @__PURE__ */ e.createElement(
9429
9446
  Q,
9430
9447
  {
9431
- ...Object.assign({}, D.workspaceLink.props, {
9448
+ ...Object.assign({}, I.workspaceLink.props, {
9432
9449
  onClick: () => z(!1)
9433
9450
  })
9434
9451
  },
9435
- F(D)
9452
+ F(I)
9436
9453
  ) : null
9437
9454
  );
9438
9455
  }
9439
9456
  ), Z = V.map(
9440
- (D) => {
9441
- const Y = `${_}__item`, X = D.workspaceId, w = D.isRestricted && D.onRestrictedSelection, se = D.workspaceLink?.type;
9457
+ (I) => {
9458
+ const Y = `${_}__item`, X = I.workspaceId, w = I.isRestricted && I.onRestrictedSelection, se = I.workspaceLink?.type;
9442
9459
  return /* @__PURE__ */ e.createElement(
9443
9460
  "li",
9444
9461
  {
@@ -9446,10 +9463,10 @@ const os = ({
9446
9463
  className: $([
9447
9464
  "pds-dropdown__item",
9448
9465
  Y,
9449
- D.isActive ? "pds-dropdown__item--active" : null,
9450
- D.isActive ? `${Y}--active` : null,
9451
- D.isUnprivileged ? `${Y}--unprivileged` : null,
9452
- D.isRestricted ? `${Y}--restricted` : null
9466
+ I.isActive ? "pds-dropdown__item--active" : null,
9467
+ I.isActive ? `${Y}--active` : null,
9468
+ I.isUnprivileged ? `${Y}--unprivileged` : null,
9469
+ I.isRestricted ? `${Y}--restricted` : null
9453
9470
  ]),
9454
9471
  id: `${X}-accordion`,
9455
9472
  role: "menuitem"
@@ -9457,11 +9474,11 @@ const os = ({
9457
9474
  w ? /* @__PURE__ */ e.createElement(
9458
9475
  "button",
9459
9476
  {
9460
- onClick: () => D.onRestrictedSelection(),
9477
+ onClick: () => I.onRestrictedSelection(),
9461
9478
  type: "button"
9462
9479
  },
9463
- F(D)
9464
- ) : se ? /* @__PURE__ */ e.createElement(se, { ...Object.assign({}, D.workspaceLink?.props) }, F(D)) : null
9480
+ F(I)
9481
+ ) : se ? /* @__PURE__ */ e.createElement(se, { ...Object.assign({}, I.workspaceLink?.props) }, F(I)) : null
9465
9482
  );
9466
9483
  }
9467
9484
  ), H = t && /* @__PURE__ */ e.createElement("div", { ref: u, className: `${_}__create-link` }, /* @__PURE__ */ e.createElement(
@@ -9495,7 +9512,7 @@ const os = ({
9495
9512
  hasClearButton: !0,
9496
9513
  id: "workspace-filter-mobile",
9497
9514
  label: l,
9498
- onChange: (D) => p(D.target.value),
9515
+ onChange: (I) => p(I.target.value),
9499
9516
  onClear: () => p(""),
9500
9517
  placeholder: c,
9501
9518
  showLabel: !1,
@@ -9552,7 +9569,7 @@ const os = ({
9552
9569
  hasClearButton: !0,
9553
9570
  id: "workspace-filter",
9554
9571
  label: l,
9555
- onChange: (D) => v(D.target.value),
9572
+ onChange: (I) => v(I.target.value),
9556
9573
  onClear: () => v(""),
9557
9574
  placeholder: c,
9558
9575
  showLabel: !1,
@@ -9597,7 +9614,7 @@ const os = ({
9597
9614
  info: `${E}--info`,
9598
9615
  neutral: `${E}--neutral`,
9599
9616
  warning: `${E}--warning`
9600
- }, k = i[0].type, M = k ? `${E}-group--${k}` : null, y = (L) => Y2 - L, N = (L) => L === 0 ? 0 : -1, I = () => {
9617
+ }, k = i[0].type, M = k ? `${E}-group--${k}` : null, y = (L) => Y2 - L, N = (L) => L === 0 ? 0 : -1, D = () => {
9601
9618
  g(i[0].id), setTimeout(() => {
9602
9619
  m((L) => [
9603
9620
  ...L.slice(1),
@@ -9617,7 +9634,7 @@ const os = ({
9617
9634
  ]), g(null), _({});
9618
9635
  }, s1);
9619
9636
  }, z = (L, P) => {
9620
- const { iconName: R, id: V, isDismissible: U, message: F, onDismiss: W, type: Z } = L, H = Z === "critical" ? "alert" : "status", O = `${o[Z]}: `, D = (X) => {
9637
+ const { iconName: R, id: V, isDismissible: U, message: F, onDismiss: W, type: Z } = L, H = Z === "critical" ? "alert" : "status", O = `${o[Z]}: `, I = (X) => {
9621
9638
  X.preventDefault(), u(V), setTimeout(() => {
9622
9639
  W?.(), u(null), m((w) => w.filter(
9623
9640
  (Q) => Q.id !== V
@@ -9650,7 +9667,7 @@ const os = ({
9650
9667
  "button",
9651
9668
  {
9652
9669
  className: `${E}__dismiss-button`,
9653
- onClick: D,
9670
+ onClick: I,
9654
9671
  tabIndex: N(P),
9655
9672
  type: "button"
9656
9673
  },
@@ -9685,7 +9702,7 @@ const os = ({
9685
9702
  ariaLabel: c,
9686
9703
  className: `${E}__nav-button ${E}__nav-button--next`,
9687
9704
  iconName: "angleRight",
9688
- onClick: I,
9705
+ onClick: D,
9689
9706
  size: "m"
9690
9707
  }
9691
9708
  ), i.map((L, P) => z(L, P))) : z(i[0], 0)
@@ -9779,9 +9796,9 @@ const os = ({
9779
9796
  open: h,
9780
9797
  placement: "bottom-end",
9781
9798
  whileElementsMounted: qe
9782
- }), I = k2(M, { event: "mousedown" }), x = We(M), { getFloatingProps: z, getReferenceProps: L } = Ue([
9799
+ }), D = k2(M, { event: "mousedown" }), x = We(M), { getFloatingProps: z, getReferenceProps: L } = Ue([
9783
9800
  x,
9784
- I
9801
+ D
9785
9802
  ]), { isMounted: P, styles: R } = Qe(M, {
9786
9803
  close: { opacity: 0 },
9787
9804
  duration: { close: 150, open: 300 },
@@ -9792,12 +9809,12 @@ const os = ({
9792
9809
  }, U = () => {
9793
9810
  i && i(), _(!1);
9794
9811
  }, F = f ? `${s}, ${g}` : s, W = k.map((O) => {
9795
- const D = `${C}__item`, Y = `${O.type} notification: ${O.title}${O.siteName ? `, ${O.siteName}` : ""}, ${O.timestamp}${O.read ? "" : `, ${g}`}`;
9796
- return /* @__PURE__ */ e.createElement("li", { key: O.id, className: D }, /* @__PURE__ */ e.createElement(
9812
+ const I = `${C}__item`, Y = `${O.type} notification: ${O.title}${O.siteName ? `, ${O.siteName}` : ""}, ${O.timestamp}${O.read ? "" : `, ${g}`}`;
9813
+ return /* @__PURE__ */ e.createElement("li", { key: O.id, className: I }, /* @__PURE__ */ e.createElement(
9797
9814
  "button",
9798
9815
  {
9799
9816
  "aria-label": Y,
9800
- className: `${D}-button`,
9817
+ className: `${I}-button`,
9801
9818
  onClick: () => V(O),
9802
9819
  type: "button"
9803
9820
  },
@@ -9805,13 +9822,13 @@ const os = ({
9805
9822
  Ls,
9806
9823
  {
9807
9824
  category: O.category,
9808
- className: `${D}-icon`,
9825
+ className: `${I}-icon`,
9809
9826
  displayType: "popover",
9810
9827
  type: O.type
9811
9828
  }
9812
9829
  ),
9813
- /* @__PURE__ */ e.createElement("div", { className: `${D}-content` }, /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${D}-title` }, O.title), /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${D}-details` }, O.siteName && /* @__PURE__ */ e.createElement("span", { className: `${D}-site` }, O.siteName), /* @__PURE__ */ e.createElement("span", { className: `${D}-timestamp` }, O.timestamp))),
9814
- !O.read && /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${D}-dot` })
9830
+ /* @__PURE__ */ e.createElement("div", { className: `${I}-content` }, /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${I}-title` }, O.title), /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${I}-details` }, O.siteName && /* @__PURE__ */ e.createElement("span", { className: `${I}-site` }, O.siteName), /* @__PURE__ */ e.createElement("span", { className: `${I}-timestamp` }, O.timestamp))),
9831
+ !O.read && /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${I}-dot` })
9815
9832
  ));
9816
9833
  }), Z = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${C}__header` }, /* @__PURE__ */ e.createElement("span", { className: `${C}__heading` }, o), /* @__PURE__ */ e.createElement("div", { className: `${C}__header-actions` }, i && r.length > 0 && /* @__PURE__ */ e.createElement(
9817
9834
  Xe,
@@ -10114,7 +10131,7 @@ const t0 = () => {
10114
10131
  }, [b]);
10115
10132
  const N = we(() => {
10116
10133
  C(!1);
10117
- }, []), I = we(() => {
10134
+ }, []), D = we(() => {
10118
10135
  f || E(!1);
10119
10136
  }, [f]), x = we(() => {
10120
10137
  c || N();
@@ -10157,7 +10174,7 @@ const t0 = () => {
10157
10174
  f ? `${p}--open` : null,
10158
10175
  t
10159
10176
  ]),
10160
- onTransitionEnd: I,
10177
+ onTransitionEnd: D,
10161
10178
  role: "dialog",
10162
10179
  style: _,
10163
10180
  ...g
@@ -10297,9 +10314,9 @@ const t0 = () => {
10297
10314
  const { context: M, floatingStyles: y, refs: N } = Te({
10298
10315
  open: E,
10299
10316
  onOpenChange: f
10300
- }), I = k2(M), x = a ? void 0 : We(M, {
10317
+ }), D = k2(M), x = a ? void 0 : We(M, {
10301
10318
  outsidePressEvent: "mousedown"
10302
- }), z = n2(M), { getFloatingProps: L } = Ue([I, x, z]), { isMounted: P, styles: R } = Qe(M, {
10319
+ }), z = n2(M), { getFloatingProps: L } = Ue([D, x, z]), { isMounted: P, styles: R } = Qe(M, {
10303
10320
  duration: {
10304
10321
  open: 300,
10305
10322
  close: 300
@@ -10838,11 +10855,11 @@ const t0 = () => {
10838
10855
  const E = typeof c, f = "pds-popover", C = $([
10839
10856
  `${f}__trigger-custom`,
10840
10857
  E === "string" ? `${f}__trigger-text` : ""
10841
- ]), k = c ? o : 0, M = ge(null), { context: y, floatingStyles: N, middlewareData: I, refs: x } = Te({
10858
+ ]), k = c ? o : 0, M = ge(null), { context: y, floatingStyles: N, middlewareData: D, refs: x } = Te({
10842
10859
  placement: d,
10843
10860
  open: _,
10844
- onOpenChange(D) {
10845
- b(D), D || r();
10861
+ onOpenChange(I) {
10862
+ b(I), I || r();
10846
10863
  },
10847
10864
  middleware: [
10848
10865
  Ae(t2 + Hs + k),
@@ -10857,17 +10874,17 @@ const t0 = () => {
10857
10874
  L,
10858
10875
  P,
10859
10876
  R
10860
- ]), F = I.arrow?.x ?? 0, W = I.arrow?.y ?? 0, Z = F + F1 / 2, H = W + t2, { isMounted: O } = Qe(y, {
10877
+ ]), F = D.arrow?.x ?? 0, W = D.arrow?.y ?? 0, Z = F + F1 / 2, H = W + t2, { isMounted: O } = Qe(y, {
10861
10878
  initial: {
10862
10879
  transform: "scale(0)"
10863
10880
  },
10864
- common: ({ side: D }) => ({
10881
+ common: ({ side: I }) => ({
10865
10882
  transformOrigin: {
10866
10883
  top: `${Z}px calc(100% + ${t2}px)`,
10867
10884
  bottom: `${Z}px ${-t2}px`,
10868
10885
  left: `calc(100% + ${t2}px) ${H}px`,
10869
10886
  right: `${-t2}px ${H}px`
10870
- }[D]
10887
+ }[I]
10871
10888
  })
10872
10889
  });
10873
10890
  return /* @__PURE__ */ e.createElement("div", { className: $([f, s]), ...h }, /* @__PURE__ */ e.createElement(
@@ -11252,7 +11269,7 @@ const Pe = 24, Fs = {
11252
11269
  screenReaderInstructions: u,
11253
11270
  ...h
11254
11271
  }, _) {
11255
- const b = "pds-sortable-list", [E, f] = K(null), C = ge(null), [k, M] = K(!1), y = ge(!1), [N, I] = K(null), x = ge(0), z = ge(0), L = ge("pointer"), P = ge(0), R = ge(null), [V, U] = K(0), F = ge(0), [W, Z] = K(0), H = ge(0), O = we(
11272
+ const b = "pds-sortable-list", [E, f] = K(null), C = ge(null), [k, M] = K(!1), y = ge(!1), [N, D] = K(null), x = ge(0), z = ge(0), L = ge("pointer"), P = ge(0), R = ge(null), [V, U] = K(0), F = ge(0), [W, Z] = K(0), H = ge(0), O = we(
11256
11273
  (S, A) => {
11257
11274
  if (m > 0 && (S.key === "ArrowLeft" || S.key === "ArrowRight")) {
11258
11275
  S.preventDefault();
@@ -11265,7 +11282,7 @@ const Pe = 24, Fs = {
11265
11282
  return r4(S, A);
11266
11283
  },
11267
11284
  [m]
11268
- ), D = p === "always" || p === "toggle" && (o ?? !1), {
11285
+ ), I = p === "always" || p === "toggle" && (o ?? !1), {
11269
11286
  currentItems: Y,
11270
11287
  expandItem: X,
11271
11288
  flatNodes: w,
@@ -11275,7 +11292,7 @@ const Pe = 24, Fs = {
11275
11292
  toggleExpand: le
11276
11293
  } = As({
11277
11294
  defaultItems: c,
11278
- isDragEnabled: D,
11295
+ isDragEnabled: I,
11279
11296
  items: i,
11280
11297
  onReorder: v
11281
11298
  });
@@ -11289,7 +11306,7 @@ const Pe = 24, Fs = {
11289
11306
  x1(s4, {
11290
11307
  coordinateGetter: O
11291
11308
  })
11292
- ), ne = D ? `${b}--reorder-active` : null, ce = Ne(
11309
+ ), ne = I ? `${b}--reorder-active` : null, ce = Ne(
11293
11310
  () => new Set(w.filter((S) => r(S.data)).map((S) => S.id)),
11294
11311
  [w, r]
11295
11312
  ), te = Ne(
@@ -11350,7 +11367,7 @@ const Pe = 24, Fs = {
11350
11367
  ]), Ie = we(
11351
11368
  (S) => {
11352
11369
  const { active: A } = S, q = L.current === "keyboard", J = w.find((de) => de.id === A.id);
11353
- f(A.id), C.current = A.id, M(q), y.current = q, P.current = J?.depth ?? 0, I(null), x.current = 0, z.current = 0, H.current = 0, Z(0), F.current = 0, U(0), J?.hasChildren && J?.isExpanded && (le(String(A.id)), R.current = String(A.id));
11370
+ f(A.id), C.current = A.id, M(q), y.current = q, P.current = J?.depth ?? 0, D(null), x.current = 0, z.current = 0, H.current = 0, Z(0), F.current = 0, U(0), J?.hasChildren && J?.isExpanded && (le(String(A.id)), R.current = String(A.id));
11354
11371
  },
11355
11372
  [w, le]
11356
11373
  ), pe = we(
@@ -11390,7 +11407,7 @@ const Pe = 24, Fs = {
11390
11407
  if (w.slice(Ee, be + 1).some((o2) => ce.has(o2.id))) return;
11391
11408
  }
11392
11409
  }
11393
- I(A);
11410
+ D(A);
11394
11411
  },
11395
11412
  [w, ce]
11396
11413
  ), _e = we(
@@ -11409,7 +11426,7 @@ const Pe = 24, Fs = {
11409
11426
  ), Le = we(
11410
11427
  (S) => {
11411
11428
  const { active: A, over: q } = S, J = y.current, de = F.current, Ee = H.current;
11412
- f(null), C.current = null, M(!1), y.current = !1, I(null), H.current = 0, Z(0), R.current && (X(R.current), R.current = null);
11429
+ f(null), C.current = null, M(!1), y.current = !1, D(null), H.current = 0, Z(0), R.current && (X(R.current), R.current = null);
11413
11430
  const be = w.findIndex((ke) => ke.id === A.id), Je = J ? de * Pe : Ee * Pe, o2 = !q || A.id === q.id;
11414
11431
  let xe = q?.id ?? null;
11415
11432
  if (J && de > 0 && o2 && be > 0 && (xe = w[be - 1].id), !xe || A.id === xe) {
@@ -11494,7 +11511,7 @@ const Pe = 24, Fs = {
11494
11511
  te
11495
11512
  ]
11496
11513
  ), j = we(() => {
11497
- f(null), C.current = null, M(!1), y.current = !1, I(null), z.current = 0, H.current = 0, Z(0), F.current = 0, U(0), R.current && (X(R.current), R.current = null);
11514
+ f(null), C.current = null, M(!1), y.current = !1, D(null), z.current = 0, H.current = 0, Z(0), F.current = 0, U(0), R.current && (X(R.current), R.current = null);
11498
11515
  }, [X]), oe = Ne(
11499
11516
  () => ({
11500
11517
  onDragStart({ active: S }) {
@@ -11589,7 +11606,7 @@ const Pe = 24, Fs = {
11589
11606
  columns: l,
11590
11607
  depth: S.depth,
11591
11608
  hasChildren: S.hasChildren,
11592
- isDragActive: D,
11609
+ isDragActive: I,
11593
11610
  isDragging: J,
11594
11611
  isDropTarget: S.id === N && fe(S.id),
11595
11612
  isProjectedParent: S.id === Ce && !te.has(S.id),
@@ -11682,7 +11699,7 @@ const h0 = ({
11682
11699
  attributes: { role: "listitem", roleDescription: "sortable" },
11683
11700
  disabled: m,
11684
11701
  id: a
11685
- }), { "aria-pressed": k, ...M } = h, y = "pds-sortable-row", N = m ? `${y}--locked` : null, I = _ ? `${y}--dragging` : null, x = _ && p !== void 0 ? `${y}--depth-projecting` : null, z = d ? `${y}--drop-target` : null, L = v ? `${y}--projected-parent` : null, P = {
11702
+ }), { "aria-pressed": k, ...M } = h, y = "pds-sortable-row", N = m ? `${y}--locked` : null, D = _ ? `${y}--dragging` : null, x = _ && p !== void 0 ? `${y}--depth-projecting` : null, z = d ? `${y}--drop-target` : null, L = v ? `${y}--projected-parent` : null, P = {
11686
11703
  ..._ && p !== void 0 ? {
11687
11704
  "--projected-depth-delta": p
11688
11705
  } : {},
@@ -11703,7 +11720,7 @@ const h0 = ({
11703
11720
  className: $([
11704
11721
  y,
11705
11722
  N,
11706
- I,
11723
+ D,
11707
11724
  x,
11708
11725
  z,
11709
11726
  L,
@@ -11858,8 +11875,8 @@ const h0 = ({
11858
11875
  ...l
11859
11876
  }) => {
11860
11877
  const c = "pds-stepper", a = "pds-stepper-mobile", o = ge(null), [r] = at(o), d = r.width, i = parseFloat(b4) * 16, m = -36, v = 2, g = 5, p = n.length, u = n.map((b) => b.isCurrent).lastIndexOf(!0), h = n.map((b, E) => {
11861
- const f = E + 1, C = E === u, k = b.isComplete || E < u, M = b.hasError && C, N = (d - p * i) / (p + (p - 2)), I = i + N * 2, x = i + N, z = N + m * -1, L = E === 0, P = E === p - 1;
11862
- let R = I;
11878
+ const f = E + 1, C = E === u, k = b.isComplete || E < u, M = b.hasError && C, N = (d - p * i) / (p + (p - 2)), D = i + N * 2, x = i + N, z = N + m * -1, L = E === 0, P = E === p - 1;
11879
+ let R = D;
11863
11880
  (L || P) && (R = x);
11864
11881
  const V = `${c}__step`, U = [V];
11865
11882
  C && U.push(`${V}--current`), k && U.push(`${V}--complete`), M && U.push(`${V}--error`);
@@ -11880,8 +11897,8 @@ const h0 = ({
11880
11897
  )) : /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${c}__step-indicator` }), Z = /* @__PURE__ */ e.createElement("div", { className: `${c}__step-label` }, b.label);
11881
11898
  let H = /* @__PURE__ */ e.createElement("div", { className: `${c}__step-content` }, Z, W);
11882
11899
  if (k && b.callback) {
11883
- const O = (D) => {
11884
- b.callback(b), D.preventDefault();
11900
+ const O = (I) => {
11901
+ b.callback(b), I.preventDefault();
11885
11902
  };
11886
11903
  H = /* @__PURE__ */ e.createElement(
11887
11904
  "button",
@@ -11928,7 +11945,7 @@ const h0 = ({
11928
11945
  }), _ = n.map((b, E) => {
11929
11946
  const f = E + 1, C = E === u, k = E === p - 1, M = b.hasError && C, y = n[u + 1] ? n[u + 1].label : null;
11930
11947
  if (C) {
11931
- const N = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.step, " "), f, " of ", p), I = f / p * 100, x = M ? {
11948
+ const N = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.step, " "), f, " of ", p), D = f / p * 100, x = M ? {
11932
11949
  "--pds-color-status-info-foreground": "var(--pds-color-status-critical-foreground)"
11933
11950
  } : {
11934
11951
  "--pds-color-status-info-foreground": "var(--pds-color-fg-default)"
@@ -11945,7 +11962,7 @@ const h0 = ({
11945
11962
  {
11946
11963
  innerLabel: N,
11947
11964
  label: "Step progress",
11948
- percentage: I,
11965
+ percentage: D,
11949
11966
  size: "s",
11950
11967
  style: x
11951
11968
  }
@@ -12066,15 +12083,15 @@ const h0 = ({
12066
12083
  selectedRows: M,
12067
12084
  sortKey: y,
12068
12085
  sortOrder: N,
12069
- totalItemCount: I,
12086
+ totalItemCount: D,
12070
12087
  ...x
12071
12088
  }) => {
12072
12089
  const z = "pds-table", L = c1(), P = c1(), R = E !== void 0, V = h !== void 0, U = _ !== void 0, F = V || p !== void 0 || f !== void 0, [W, Z] = K({
12073
12090
  key: l ?? "",
12074
12091
  order: l !== void 0 ? c : "asc"
12075
- }), [H, O] = K(1), [D, Y] = K(
12092
+ }), [H, O] = K(1), [I, Y] = K(
12076
12093
  p ?? f?.[0] ?? 10
12077
- ), X = V ? p ?? 10 : D, w = (j) => {
12094
+ ), X = V ? p ?? 10 : I, w = (j) => {
12078
12095
  U ? _(j) : Y(j), V || O(1);
12079
12096
  };
12080
12097
  he(() => {
@@ -12240,7 +12257,7 @@ const h0 = ({
12240
12257
  currentPage: V ? t ?? 1 : H,
12241
12258
  itemsPerPage: X,
12242
12259
  onPageChange: V ? h : O,
12243
- totalItemCount: V ? I ?? 0 : C.length
12260
+ totalItemCount: V ? D ?? 0 : C.length
12244
12261
  }
12245
12262
  ))));
12246
12263
  }, b0 = ({
@@ -12292,7 +12309,7 @@ const h0 = ({
12292
12309
  h(E - 1), g(E - 1);
12293
12310
  }, y = () => {
12294
12311
  u.current[v].focus();
12295
- }, I = {
12312
+ }, D = {
12296
12313
  ArrowRight: f,
12297
12314
  ArrowLeft: C,
12298
12315
  Home: k,
@@ -12300,7 +12317,7 @@ const h0 = ({
12300
12317
  Space: y,
12301
12318
  Enter: y
12302
12319
  }[b.code];
12303
- I && (b.preventDefault(), I());
12320
+ D && (b.preventDefault(), D());
12304
12321
  };
12305
12322
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
12306
12323
  "div",
@@ -12599,7 +12616,7 @@ const h0 = ({
12599
12616
  he(() => {
12600
12617
  N(r || !1);
12601
12618
  }, [r]);
12602
- const I = "pds-app-layout", x = h ? `${I}--scrollable` : null, z = y ? `${b}rem` : `${E}`, L = {
12619
+ const D = "pds-app-layout", x = h ? `${D}--scrollable` : null, z = y ? `${b}rem` : `${E}`, L = {
12603
12620
  backgroundColor: _ || void 0,
12604
12621
  maxWidth: y ? void 0 : `${f}rem`,
12605
12622
  minWidth: y ? `${b}rem` : `${C}rem`,
@@ -12659,22 +12676,22 @@ const h0 = ({
12659
12676
  const ne = new ResizeObserver(T);
12660
12677
  return ne.observe(document.documentElement), () => ne.disconnect();
12661
12678
  }, []);
12662
- const Z = Fe(s), H = Z.__unslotted, O = Z.sidebar, D = Z.identity, Y = Z["content-top"], X = Z.navigation, w = Z["content-bottom"], se = D || Y || X || w, Q = se ? /* @__PURE__ */ e.createElement(e.Fragment, null, (D || c) && /* @__PURE__ */ e.createElement("div", { className: `${I}__sidebar-identity` }, D, c && !y && /* @__PURE__ */ e.createElement(
12679
+ const Z = Fe(s), H = Z.__unslotted, O = Z.sidebar, I = Z.identity, Y = Z["content-top"], X = Z.navigation, w = Z["content-bottom"], se = I || Y || X || w, Q = se ? /* @__PURE__ */ e.createElement(e.Fragment, null, (I || c) && /* @__PURE__ */ e.createElement("div", { className: `${D}__sidebar-identity` }, I, c && !y && /* @__PURE__ */ e.createElement(
12663
12680
  f2,
12664
12681
  {
12665
12682
  hasBorder: !0,
12666
12683
  ariaLabel: i.drawerToggle,
12667
- className: `${I}__drawer-toggle`,
12684
+ className: `${D}__drawer-toggle`,
12668
12685
  iconName: "sidebar",
12669
12686
  onClick: p,
12670
12687
  size: "s"
12671
12688
  }
12672
- )), Y && /* @__PURE__ */ e.createElement("div", { className: `${I}__sidebar-content-top` }, Y), X && /* @__PURE__ */ e.createElement("div", { className: `${I}__sidebar-navigation` }, X), w && /* @__PURE__ */ e.createElement("div", { className: `${I}__sidebar-content-bottom` }, w)) : O, ue = G1(
12689
+ )), Y && /* @__PURE__ */ e.createElement("div", { className: `${D}__sidebar-content-top` }, Y), X && /* @__PURE__ */ e.createElement("div", { className: `${D}__sidebar-navigation` }, X), w && /* @__PURE__ */ e.createElement("div", { className: `${D}__sidebar-content-bottom` }, w)) : O, ue = G1(
12673
12690
  v,
12674
12691
  {
12675
12692
  ...g,
12676
12693
  className: $([
12677
- `${I}__main`,
12694
+ `${D}__main`,
12678
12695
  g?.className
12679
12696
  ]),
12680
12697
  style: {
@@ -12688,8 +12705,8 @@ const h0 = ({
12688
12705
  {
12689
12706
  ...k,
12690
12707
  className: $([
12691
- `${I}__sidebar`,
12692
- y ? `${I}__sidebar--collapsed` : null,
12708
+ `${D}__sidebar`,
12709
+ y ? `${D}__sidebar--collapsed` : null,
12693
12710
  k?.className
12694
12711
  ]),
12695
12712
  style: L
@@ -12697,30 +12714,30 @@ const h0 = ({
12697
12714
  a && /* @__PURE__ */ e.createElement(
12698
12715
  De,
12699
12716
  {
12700
- className: `${I}__sidebar-toggle-tooltip`,
12717
+ className: `${D}__sidebar-toggle-tooltip`,
12701
12718
  content: y ? i.expandSidebar : i.collapseSidebar,
12702
12719
  customTrigger: /* @__PURE__ */ e.createElement(
12703
12720
  "button",
12704
12721
  {
12705
12722
  "aria-expanded": !y,
12706
12723
  "aria-label": y ? i.expandSidebar : i.collapseSidebar,
12707
- className: `${I}__sidebar-toggle-button`,
12724
+ className: `${D}__sidebar-toggle-button`,
12708
12725
  onClick: R,
12709
12726
  type: "button"
12710
12727
  },
12711
- /* @__PURE__ */ e.createElement("span", { className: `${I}__sidebar-toggle-icon` }, /* @__PURE__ */ e.createElement(G, { iconName: "angleLeft", size: "s", verticalAlign: "-1px" }))
12728
+ /* @__PURE__ */ e.createElement("span", { className: `${D}__sidebar-toggle-icon` }, /* @__PURE__ */ e.createElement(G, { iconName: "angleLeft", size: "s", verticalAlign: "-1px" }))
12712
12729
  ),
12713
12730
  offsetValue: { mainAxis: 8, crossAxis: -96 },
12714
12731
  preferredPlacement: "right-end"
12715
12732
  }
12716
12733
  ),
12717
- /* @__PURE__ */ e.createElement("div", { className: `${I}__sidebar-inner` }, Q)
12734
+ /* @__PURE__ */ e.createElement("div", { className: `${D}__sidebar-inner` }, Q)
12718
12735
  ), ue);
12719
12736
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
12720
12737
  "div",
12721
12738
  {
12722
12739
  ref: W,
12723
- className: $([I, x, n ?? ""]),
12740
+ className: $([D, x, n ?? ""]),
12724
12741
  ...M
12725
12742
  },
12726
12743
  le