@pantheon-systems/pds-toolkit-react 1.0.0-dev.151 → 1.0.0-dev.152

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
@@ -1,8 +1,8 @@
1
- import './index.css';var zs = Object.defineProperty, Ms = Object.defineProperties;
1
+ import './index.css';var Ls = Object.defineProperty, Ms = Object.defineProperties;
2
2
  var xs = Object.getOwnPropertyDescriptors;
3
3
  var dt = Object.getOwnPropertySymbols;
4
4
  var jt = Object.prototype.hasOwnProperty, Bt = Object.prototype.propertyIsEnumerable;
5
- var Pt = (s, n, a) => n in s ? zs(s, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : s[n] = a, N = (s, n) => {
5
+ var Pt = (s, n, a) => n in s ? Ls(s, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : s[n] = a, N = (s, n) => {
6
6
  for (var a in n || (n = {}))
7
7
  jt.call(n, a) && Pt(s, a, n[a]);
8
8
  if (dt)
@@ -831,7 +831,7 @@ const Et = 300, D = (i) => {
831
831
  ls({ padding: 5 })
832
832
  ],
833
833
  whileElementsMounted: Oe
834
- }), f = St(C, { move: !1 }), v = Os(C), E = Se(C), y = Ie(C, { role: "tooltip" }), { getFloatingProps: k } = Te([f, v, E, y]), { isMounted: z } = Re(C, {
834
+ }), f = St(C, { move: !1 }), v = Os(C), E = Se(C), y = Ie(C, { role: "tooltip" }), { getFloatingProps: k } = Te([f, v, E, y]), { isMounted: L } = Re(C, {
835
835
  initial: {
836
836
  transform: "scale(0)"
837
837
  }
@@ -849,7 +849,7 @@ const Et = 300, D = (i) => {
849
849
  iconSize: "sm"
850
850
  }
851
851
  )),
852
- z && /* @__PURE__ */ e.createElement(
852
+ L && /* @__PURE__ */ e.createElement(
853
853
  "div",
854
854
  N({
855
855
  className: `${p}__container`,
@@ -859,63 +859,69 @@ const Et = 300, D = (i) => {
859
859
  s
860
860
  )
861
861
  );
862
- }, ut = (u) => {
863
- var b = u, {
862
+ }, ut = (b) => {
863
+ var m = b, {
864
864
  ariaLabel: s,
865
865
  buttonType: n = "button",
866
866
  disabled: a = !1,
867
- iconName: c,
868
- onClick: i = () => {
867
+ hasTooltip: c = !0,
868
+ iconName: i,
869
+ onClick: r = () => {
869
870
  },
870
- size: r = "md",
871
- variant: l = "standard",
872
- className: d
873
- } = b, o = x(b, [
871
+ size: l = "md",
872
+ variant: d = "standard",
873
+ className: o
874
+ } = m, u = x(m, [
874
875
  "ariaLabel",
875
876
  "buttonType",
876
877
  "disabled",
878
+ "hasTooltip",
877
879
  "iconName",
878
880
  "onClick",
879
881
  "size",
880
882
  "variant",
881
883
  "className"
882
884
  ]);
883
- const m = "pds-icon-button", p = r !== "md" ? `${m}--${r}` : null, _ = l !== "standard" ? `${m}--${l}` : null;
884
- let g;
885
- switch (r) {
885
+ const p = "pds-icon-button", _ = l !== "md" ? `${p}--${l}` : null, g = d !== "standard" ? `${p}--${d}` : null;
886
+ let $;
887
+ switch (l) {
886
888
  case "sm":
887
- g = "md";
889
+ $ = "md";
888
890
  break;
889
891
  case "md":
890
- g = "md";
892
+ $ = "md";
891
893
  break;
892
894
  case "lg":
893
- g = "xl";
895
+ $ = "xl";
894
896
  }
895
- return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
896
- mt,
897
+ const h = /* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, /* @__PURE__ */ e.createElement(
898
+ D,
897
899
  {
898
- content: s,
899
- customTrigger: /* @__PURE__ */ e.createElement(
900
- "button",
901
- N({
902
- "aria-label": s,
903
- className: [m, p, _, d].join(" ").trim().replace(/\s+/g, " "),
904
- disabled: a,
905
- onClick: i,
906
- type: n
907
- }, o),
908
- /* @__PURE__ */ e.createElement(
909
- D,
910
- {
911
- iconName: c,
912
- iconSize: g,
913
- className: `${m}__icon`
914
- }
915
- )
916
- )
900
+ iconName: i,
901
+ iconSize: $,
902
+ className: `${p}__icon`
917
903
  }
918
904
  ));
905
+ return /* @__PURE__ */ e.createElement(
906
+ "button",
907
+ N({
908
+ "aria-label": s,
909
+ className: [p, _, g, o].join(" ").trim().replace(/\s+/g, " "),
910
+ disabled: a,
911
+ onClick: r,
912
+ type: n,
913
+ title: c && !a ? null : s
914
+ }, u),
915
+ c && !a ? /* @__PURE__ */ e.createElement(
916
+ mt,
917
+ {
918
+ content: s,
919
+ className: `${p}__tooltip`,
920
+ offsetValue: -2,
921
+ customTrigger: h
922
+ }
923
+ ) : h
924
+ );
919
925
  }, Ct = {
920
926
  info: "circleInfo",
921
927
  warning: "triangleExclamation",
@@ -947,13 +953,13 @@ const Et = 300, D = (i) => {
947
953
  info: `${p}--info`,
948
954
  warning: `${p}--warning`,
949
955
  critical: `${p}--critical`
950
- }, $ = (k) => k === 0 ? 0 : -1, h = (k) => k === 0 ? "visible" : "hidden", C = u.map((k, z) => {
956
+ }, $ = (k) => k === 0 ? 0 : -1, h = (k) => k === 0 ? "visible" : "hidden", C = u.map((k, L) => {
951
957
  const H = ["critical", "warning"].includes(k.type) ? "alert" : "status", S = `${i[k.type]}: `, w = (I) => {
952
958
  I.preventDefault();
953
- const L = I.target.closest(`.${p}`).id, M = u.findIndex(
954
- (Z) => Z.id === L
959
+ const z = I.target.closest(`.${p}`).id, M = u.findIndex(
960
+ (Z) => Z.id === z
955
961
  ), q = [...u];
956
- q.splice(M, 1), document.getElementById(L).classList.add(`${p}--dismissing`), setTimeout(() => {
962
+ q.splice(M, 1), document.getElementById(z).classList.add(`${p}--dismissing`), setTimeout(() => {
957
963
  b(q), k.onDismiss && k.onDismiss();
958
964
  }, 300);
959
965
  };
@@ -965,7 +971,7 @@ const Et = 300, D = (i) => {
965
971
  className: [p, g[k.type]].join(" ").trim().replace(/\s+/g, " "),
966
972
  role: H,
967
973
  style: {
968
- zIndex: Et - z
974
+ zIndex: Et - L
969
975
  }
970
976
  },
971
977
  /* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, /* @__PURE__ */ e.createElement(
@@ -979,7 +985,7 @@ const Et = 300, D = (i) => {
979
985
  {
980
986
  className: `${p}__message`,
981
987
  style: {
982
- visibility: h(z)
988
+ visibility: h(L)
983
989
  }
984
990
  },
985
991
  /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, S, " "),
@@ -989,7 +995,7 @@ const Et = 300, D = (i) => {
989
995
  "button",
990
996
  {
991
997
  className: `${p}__dismiss-button`,
992
- tabIndex: $(z),
998
+ tabIndex: $(L),
993
999
  onClick: w
994
1000
  },
995
1001
  n
@@ -998,8 +1004,8 @@ const Et = 300, D = (i) => {
998
1004
  }), f = () => {
999
1005
  document.getElementById(u[0].id).classList.add(`${p}--fading`), setTimeout(() => {
1000
1006
  b((k) => {
1001
- const z = [...k], O = z.shift();
1002
- return z.push(O), z;
1007
+ const L = [...k], O = L.shift();
1008
+ return L.push(O), L;
1003
1009
  });
1004
1010
  }, 300), setTimeout(() => {
1005
1011
  document.getElementById(u[m - 1].id).classList.remove(`${p}--fading`);
@@ -1007,8 +1013,8 @@ const Et = 300, D = (i) => {
1007
1013
  }, v = () => {
1008
1014
  document.getElementById(u[0].id).style.zIndex = Et + 2, document.getElementById(u[m - 1].id).style.zIndex = Et + 1, document.getElementById(u[0].id).classList.add(`${p}--fading`), setTimeout(() => {
1009
1015
  b((k) => {
1010
- const z = [...k], O = z.pop();
1011
- return z.unshift(O), z;
1016
+ const L = [...k], O = L.pop();
1017
+ return L.unshift(O), L;
1012
1018
  });
1013
1019
  }, 300), setTimeout(() => {
1014
1020
  document.getElementById(u[1].id).classList.remove(`${p}--fading`);
@@ -1032,7 +1038,8 @@ const Et = 300, D = (i) => {
1032
1038
  size: "lg",
1033
1039
  className: `${p}__nav-button ${p}__nav-button--prev`,
1034
1040
  onClick: v,
1035
- ariaLabel: c
1041
+ ariaLabel: c,
1042
+ hasTooltip: !1
1036
1043
  }
1037
1044
  ), C, /* @__PURE__ */ e.createElement(
1038
1045
  ut,
@@ -1041,7 +1048,8 @@ const Et = 300, D = (i) => {
1041
1048
  size: "lg",
1042
1049
  className: `${p}__nav-button ${p}__nav-button--next`,
1043
1050
  onClick: f,
1044
- ariaLabel: a
1051
+ ariaLabel: a,
1052
+ hasTooltip: !1
1045
1053
  }
1046
1054
  )) : C[0]
1047
1055
  );
@@ -1970,7 +1978,7 @@ const Me = tt(
1970
1978
  "validationState",
1971
1979
  "className"
1972
1980
  ]);
1973
- const v = "pds-input-wrapper", E = `${v}--${i}`, y = "pds-input-label", k = `pds-input-field__message pds-input-field__message--${u}`, z = _ === "error" ? "pds-has-error" : null, O = _ === "success" ? "pds-has-success" : null, H = a ? "pds-is-disabled" : null, S = b ? "pds-is-readonly" : null, w = m && !a ? "pds-is-required" : null, I = r ? `${r / 16}rem` : null, L = r ? { width: I } : null, M = l ? "fieldset" : "div", q = m && !a ? /* @__PURE__ */ e.createElement(
1981
+ const v = "pds-input-wrapper", E = `${v}--${i}`, y = "pds-input-label", k = `pds-input-field__message pds-input-field__message--${u}`, L = _ === "error" ? "pds-has-error" : null, O = _ === "success" ? "pds-has-success" : null, H = a ? "pds-is-disabled" : null, S = b ? "pds-is-readonly" : null, w = m && !a ? "pds-is-required" : null, I = r ? `${r / 16}rem` : null, z = r ? { width: I } : null, M = l ? "fieldset" : "div", q = m && !a ? /* @__PURE__ */ e.createElement(
1974
1982
  D,
1975
1983
  {
1976
1984
  iconName: "asterisk",
@@ -1983,7 +1991,7 @@ const Me = tt(
1983
1991
  className: k,
1984
1992
  id: `${c}__message`,
1985
1993
  role: _ === "error" ? "alert" : null,
1986
- style: L
1994
+ style: z
1987
1995
  },
1988
1996
  o
1989
1997
  ) : null;
@@ -1996,12 +2004,12 @@ const Me = tt(
1996
2004
  H,
1997
2005
  S,
1998
2006
  w,
1999
- z,
2007
+ L,
2000
2008
  O,
2001
2009
  g
2002
2010
  ].join(" ").trim().replace(/\s+/g, " "),
2003
2011
  ref: h,
2004
- style: L
2012
+ style: z
2005
2013
  }, $),
2006
2014
  d && !l && i != "file-upload" && /* @__PURE__ */ e.createElement(
2007
2015
  "label",
@@ -2329,7 +2337,7 @@ o1.propTypes = {
2329
2337
  className: t.string
2330
2338
  };
2331
2339
  const gs = tt(
2332
- (O, z) => {
2340
+ (O, L) => {
2333
2341
  var H = O, {
2334
2342
  disabled: s = !1,
2335
2343
  hasClearButton: n = !0,
@@ -2385,7 +2393,7 @@ const gs = tt(
2385
2393
  const S = (ie) => {
2386
2394
  const de = h.find((we) => we.value === ie);
2387
2395
  return de ? de.label : "";
2388
- }, [w, I] = T(!1), [L, M] = T(null), [q, Z] = T(
2396
+ }, [w, I] = T(!1), [z, M] = T(null), [q, Z] = T(
2389
2397
  l ? S(l) : ""
2390
2398
  ), [R, P] = T([]), [B, F] = T(""), [W, V] = T(null), j = ee([]), U = "pds-combobox", { context: X, refs: ce } = Ve({
2391
2399
  open: w,
@@ -2393,7 +2401,7 @@ const gs = tt(
2393
2401
  whileElementsMounted: Oe
2394
2402
  }), le = Ie(X, { role: "listbox" }), te = Se(X), ue = at(X, {
2395
2403
  listRef: j,
2396
- activeIndex: L,
2404
+ activeIndex: z,
2397
2405
  onNavigate: M,
2398
2406
  virtual: !0,
2399
2407
  loop: !0,
@@ -2473,8 +2481,8 @@ const gs = tt(
2473
2481
  se(de), (we = ce.domReference.current) == null || we.focus();
2474
2482
  }
2475
2483
  })), {
2476
- tabIndex: L === de ? 0 : -1,
2477
- active: L === de
2484
+ tabIndex: z === de ? 0 : -1,
2485
+ active: z === de
2478
2486
  }),
2479
2487
  ie.optionDisplay || ie.label
2480
2488
  )), We = B || p, _t = d ? `${d / 16}rem` : null, Ze = d ? { width: _t } : null;
@@ -2496,7 +2504,7 @@ const gs = tt(
2496
2504
  /* @__PURE__ */ e.createElement(
2497
2505
  "span",
2498
2506
  {
2499
- ref: z,
2507
+ ref: L,
2500
2508
  className: [U].join(" ").trim().replace(/\s+/g, " "),
2501
2509
  id: r,
2502
2510
  name: r,
@@ -2519,7 +2527,7 @@ const gs = tt(
2519
2527
  onChange: $e,
2520
2528
  onFocus: Q,
2521
2529
  onKeyDown(ie) {
2522
- ie.key === "Enter" && L != null && R[L] && se(L);
2530
+ ie.key === "Enter" && z != null && R[z] && se(z);
2523
2531
  }
2524
2532
  }))
2525
2533
  ),
@@ -2851,7 +2859,7 @@ const De = gt(null), m1 = ({
2851
2859
  }, f = "pds-dashboard", v = _ ? `${f}--isMobile` : `${f}--notMobile`, E = _ ? null : m ? `${f}--sidebarExpanded` : `${f}--sidebarCollapsed`, y = m ? `${i}rem` : `${c}rem`, k = {
2852
2860
  width: y,
2853
2861
  transition: "width 200ms ease-in-out"
2854
- }, z = _ ? {} : {
2862
+ }, L = _ ? {} : {
2855
2863
  width: `calc(100% - ${y})`,
2856
2864
  transition: "width 200ms ease-in-out"
2857
2865
  }, O = () => {
@@ -2863,7 +2871,7 @@ const De = gt(null), m1 = ({
2863
2871
  R && (H[R] ? H[R].push(Z) : H[R] = [Z]);
2864
2872
  }
2865
2873
  });
2866
- const S = H.header, w = H.sidebar, I = H.main, L = H.footer, M = /* @__PURE__ */ e.createElement("aside", { className: `${f}__sidebar` }, w), q = /* @__PURE__ */ e.createElement("aside", { className: `${f}__sidebar`, style: k }, /* @__PURE__ */ e.createElement("div", { className: `${f}__sidebar-divider` }), n && /* @__PURE__ */ e.createElement(
2874
+ const S = H.header, w = H.sidebar, I = H.main, z = H.footer, M = /* @__PURE__ */ e.createElement("aside", { className: `${f}__sidebar` }, w), q = /* @__PURE__ */ e.createElement("aside", { className: `${f}__sidebar`, style: k }, /* @__PURE__ */ e.createElement("div", { className: `${f}__sidebar-divider` }), n && /* @__PURE__ */ e.createElement(
2867
2875
  "button",
2868
2876
  {
2869
2877
  className: `${f}__sidebar-toggle`,
@@ -2891,10 +2899,10 @@ const De = gt(null), m1 = ({
2891
2899
  {
2892
2900
  ref: g,
2893
2901
  className: `${f}__container`,
2894
- style: z
2902
+ style: L
2895
2903
  },
2896
2904
  !_ && /* @__PURE__ */ e.createElement("div", { className: `${f}__header` }, S),
2897
- /* @__PURE__ */ e.createElement("main", { id: "main", className: `${f}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${f}__main-inner` }, I), L && /* @__PURE__ */ e.createElement("footer", { className: `${f}__footer` }, L))
2905
+ /* @__PURE__ */ e.createElement("main", { id: "main", className: `${f}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${f}__main-inner` }, I), z && /* @__PURE__ */ e.createElement("footer", { className: `${f}__footer` }, z))
2898
2906
  )
2899
2907
  ));
2900
2908
  }, vt = (r) => {
@@ -2971,7 +2979,7 @@ const De = gt(null), m1 = ({
2971
2979
  open: o,
2972
2980
  onOpenChange: u,
2973
2981
  whileElementsMounted: Oe
2974
- }), { isMounted: z, styles: O } = Re(y, {
2982
+ }), { isMounted: L, styles: O } = Re(y, {
2975
2983
  duration: {
2976
2984
  open: 300,
2977
2985
  close: 300
@@ -2992,8 +3000,8 @@ const De = gt(null), m1 = ({
2992
3000
  loop: !0,
2993
3001
  openOnArrowKeyDown: !0,
2994
3002
  focusItemOnHover: !0
2995
- }), w = st(y, { event: "mousedown" }), I = Se(y), L = Ie(y, { role: "menu" }), { getReferenceProps: M, getFloatingProps: q, getItemProps: Z } = Te(
2996
- [I, L, w, S]
3003
+ }), w = st(y, { event: "mousedown" }), I = Se(y), z = Ie(y, { role: "menu" }), { getReferenceProps: M, getFloatingProps: q, getItemProps: Z } = Te(
3004
+ [I, z, w, S]
2997
3005
  );
2998
3006
  return /* @__PURE__ */ e.createElement(
2999
3007
  "div",
@@ -3010,7 +3018,7 @@ const De = gt(null), m1 = ({
3010
3018
  /* @__PURE__ */ e.createElement("span", { className: `${d}__active-label` }, $),
3011
3019
  /* @__PURE__ */ e.createElement(D, { iconName: "angleDown", className: `${d}__trigger-icon` })
3012
3020
  ),
3013
- z && /* @__PURE__ */ e.createElement(
3021
+ L && /* @__PURE__ */ e.createElement(
3014
3022
  "ul",
3015
3023
  N({
3016
3024
  className: `${d}__dropdown ${d}__menu ${d}__menu--top-level`,
@@ -3463,14 +3471,14 @@ const p1 = (l) => {
3463
3471
  return !1;
3464
3472
  };
3465
3473
  a = a.map((f) => {
3466
- const v = f.linkContent.type, E = f.linkContent.props.href ? "href" : "to", y = E === "href" ? f.linkContent.props.href : f.linkContent.props.to, k = f.linkContent.props.children, z = f.linkContent.props.className;
3474
+ const v = f.linkContent.type, E = f.linkContent.props.href ? "href" : "to", y = E === "href" ? f.linkContent.props.href : f.linkContent.props.to, k = f.linkContent.props.children, L = f.linkContent.props.className;
3467
3475
  return _e(N({}, f), {
3468
3476
  linkContent: /* @__PURE__ */ e.createElement(
3469
3477
  v,
3470
3478
  {
3471
3479
  href: E === "href" ? y : null,
3472
3480
  to: E === "to" ? y : null,
3473
- className: `${p}__link ${z}`
3481
+ className: `${p}__link ${L}`
3474
3482
  },
3475
3483
  /* @__PURE__ */ e.createElement("div", { className: `${p}__link-icon` }, /* @__PURE__ */ e.createElement(D, { iconName: f.icon })),
3476
3484
  /* @__PURE__ */ e.createElement("div", { className: `${p}__link-label` }, k)
@@ -3667,13 +3675,13 @@ const g1 = (g) => {
3667
3675
  let y = !1;
3668
3676
  const k = ye(De);
3669
3677
  k && (y = k.isMobile);
3670
- let z = null;
3678
+ let L = null;
3671
3679
  const O = ye(Rt);
3672
- O && (z = O.navbarWidth);
3673
- const H = 2.25, S = 22, w = z > 900 ? S : z / 16 - m - H * 0.675;
3680
+ O && (L = O.navbarWidth);
3681
+ const H = 2.25, S = 22, w = L > 900 ? S : L / 16 - m - H * 0.675;
3674
3682
  let I = H;
3675
- h && !z && (I = S), h && z && (I = w);
3676
- const L = {
3683
+ h && !L && (I = S), h && L && (I = w);
3684
+ const z = {
3677
3685
  right: `${m}rem`,
3678
3686
  width: `${I}rem`
3679
3687
  }, M = "pds-dashboard-search", q = y ? `${M}--isMobile` : null, Z = () => {
@@ -3749,7 +3757,7 @@ const g1 = (g) => {
3749
3757
  N({
3750
3758
  className: [M, q, p].join(" ").trim().replace(/\s+/g, " "),
3751
3759
  id: n,
3752
- style: y ? null : L,
3760
+ style: y ? null : z,
3753
3761
  onKeyDown: y ? null : (j) => {
3754
3762
  j.key === "Escape" && R();
3755
3763
  }
@@ -3954,7 +3962,7 @@ const b1 = ($) => {
3954
3962
  "validationFunction",
3955
3963
  "className"
3956
3964
  ]);
3957
- const [C, f] = T(!1), [v, E] = T(), [y, k] = T(null), z = "pds-file-upload", O = C ? `${z}--has-value` : null;
3965
+ const [C, f] = T(!1), [v, E] = T(), [y, k] = T(null), L = "pds-file-upload", O = C ? `${L}--has-value` : null;
3958
3966
  let H = null;
3959
3967
  y === "error" && (H = "error"), y === "success" && (H = "success");
3960
3968
  const S = () => {
@@ -3968,7 +3976,7 @@ const b1 = ($) => {
3968
3976
  }, I = () => {
3969
3977
  const M = document.getElementById(r);
3970
3978
  M.value = "", f(!1), S();
3971
- }, L = v || d;
3979
+ }, z = v || d;
3972
3980
  return /* @__PURE__ */ e.createElement(
3973
3981
  Me,
3974
3982
  N({
@@ -3979,7 +3987,7 @@ const b1 = ($) => {
3979
3987
  inputWidth: l,
3980
3988
  inputFieldType: "file-upload",
3981
3989
  label: i,
3982
- message: L,
3990
+ message: z,
3983
3991
  required: b,
3984
3992
  showLabel: m,
3985
3993
  validationState: y
@@ -3988,7 +3996,7 @@ const b1 = ($) => {
3988
3996
  "label",
3989
3997
  {
3990
3998
  htmlFor: r,
3991
- className: C ? "visually-hidden" : `${z}__label`
3999
+ className: C ? "visually-hidden" : `${L}__label`
3992
4000
  },
3993
4001
  /* @__PURE__ */ e.createElement(D, { iconName: "paperclip", iconSize: "sm" }),
3994
4002
  n
@@ -3996,7 +4004,7 @@ const b1 = ($) => {
3996
4004
  /* @__PURE__ */ e.createElement(
3997
4005
  "input",
3998
4006
  {
3999
- className: [z, O].join(" ").trim().replace(/\s+/g, " "),
4007
+ className: [L, O].join(" ").trim().replace(/\s+/g, " "),
4000
4008
  type: "file",
4001
4009
  id: r,
4002
4010
  accept: s || null,
@@ -4216,7 +4224,7 @@ const E1 = new Intl.NumberFormat().formatToParts(100000089e-2), $t = E1.find((s)
4216
4224
  h,
4217
4225
  C,
4218
4226
  p
4219
- ]), [v, E] = T(""), [y, k] = T(null), [z, O] = T(null), H = ee(null), S = ee(null), w = ee("");
4227
+ ]), [v, E] = T(""), [y, k] = T(null), [L, O] = T(null), H = ee(null), S = ee(null), w = ee("");
4220
4228
  ae(() => {
4221
4229
  switch (i && E(F(i)), w.numExtra = "", n) {
4222
4230
  case "credit-card":
@@ -4231,12 +4239,12 @@ const E1 = new Intl.NumberFormat().formatToParts(100000089e-2), $t = E1.find((s)
4231
4239
  f.current = f.current.filter(
4232
4240
  (V) => V !== Ee.required && V !== Ee.disabled
4233
4241
  );
4234
- }, L = () => {
4242
+ }, z = () => {
4235
4243
  f.current = f.current.filter(
4236
4244
  (V) => V !== Ee.error && V !== Ee.success
4237
4245
  );
4238
4246
  }, M = () => {
4239
- L(), k(""), O(null);
4247
+ z(), k(""), O(null);
4240
4248
  }, q = (V) => {
4241
4249
  d && d({
4242
4250
  formattedValue: V,
@@ -4299,7 +4307,7 @@ const E1 = new Intl.NumberFormat().formatToParts(100000089e-2), $t = E1.find((s)
4299
4307
  };
4300
4308
  I(), u && !s && f.current.push(Ee.required), s && f.current.push(Ee.disabled);
4301
4309
  let W = null;
4302
- return z === "error" && (W = /* @__PURE__ */ e.createElement(et, { type: "error" })), z === "success" && (W = /* @__PURE__ */ e.createElement(et, { type: "success" })), /* @__PURE__ */ e.createElement("div", N({ className: f.current.join(" ").trim() }, _), /* @__PURE__ */ e.createElement("span", { className: b ? null : "visually-hidden" }, /* @__PURE__ */ e.createElement("label", { className: "pds-input-label", htmlFor: c }, r)), /* @__PURE__ */ e.createElement("div", { className: "pds-input-field__input-wrapper" }, W && /* @__PURE__ */ e.createElement("div", { className: "pds-input-field__decorators" }, W), /* @__PURE__ */ e.createElement(
4310
+ return L === "error" && (W = /* @__PURE__ */ e.createElement(et, { type: "error" })), L === "success" && (W = /* @__PURE__ */ e.createElement(et, { type: "success" })), /* @__PURE__ */ e.createElement("div", N({ className: f.current.join(" ").trim() }, _), /* @__PURE__ */ e.createElement("span", { className: b ? null : "visually-hidden" }, /* @__PURE__ */ e.createElement("label", { className: "pds-input-label", htmlFor: c }, r)), /* @__PURE__ */ e.createElement("div", { className: "pds-input-field__input-wrapper" }, W && /* @__PURE__ */ e.createElement("div", { className: "pds-input-field__decorators" }, W), /* @__PURE__ */ e.createElement(
4303
4311
  "input",
4304
4312
  {
4305
4313
  className: "pds-input-field__input",
@@ -4313,7 +4321,7 @@ const E1 = new Intl.NumberFormat().formatToParts(100000089e-2), $t = E1.find((s)
4313
4321
  onChange: Z,
4314
4322
  onBlur: P,
4315
4323
  ref: H,
4316
- "aria-invalid": z === "error",
4324
+ "aria-invalid": L === "error",
4317
4325
  "aria-describedby": l || y ? `${c}__message` : null,
4318
4326
  maxLength: w.current + w.numExtra,
4319
4327
  minLength: w.current + w.numExtra
@@ -4330,7 +4338,7 @@ const E1 = new Intl.NumberFormat().formatToParts(100000089e-2), $t = E1.find((s)
4330
4338
  {
4331
4339
  className: "pds-input-field__message",
4332
4340
  id: `${c}__message`,
4333
- role: z === "error" ? "alert" : null
4341
+ role: L === "error" ? "alert" : null
4334
4342
  },
4335
4343
  y || l
4336
4344
  ));
@@ -4458,11 +4466,11 @@ const y1 = (_) => {
4458
4466
  "validationFunction",
4459
4467
  "className"
4460
4468
  ]);
4461
- const $ = "pds-input-obscured", h = ee(["pds-input-field", $, m]), [C, f] = T(i), [v, E] = T(s("")), [y, k] = T(), [z, O] = T(null), [H, S] = T(!1), w = ee(null), I = ee(null);
4469
+ const $ = "pds-input-obscured", h = ee(["pds-input-field", $, m]), [C, f] = T(i), [v, E] = T(s("")), [y, k] = T(), [L, O] = T(null), [H, S] = T(!1), w = ee(null), I = ee(null);
4462
4470
  ae(() => {
4463
4471
  i && s && E(s(i));
4464
4472
  }, []);
4465
- const L = () => {
4473
+ const z = () => {
4466
4474
  h.current = h.current.filter(
4467
4475
  (V) => V !== Ee.required && V !== Ee.disabled
4468
4476
  );
@@ -4488,9 +4496,9 @@ const y1 = (_) => {
4488
4496
  var j;
4489
4497
  (!((j = w.current) != null && j.contains(V.relatedTarget)) || !V.relatedTarget) && S(!1);
4490
4498
  };
4491
- L(), o && !n && h.current.push(Ee.required), n && h.current.push(Ee.disabled);
4499
+ z(), o && !n && h.current.push(Ee.required), n && h.current.push(Ee.disabled);
4492
4500
  let W = null;
4493
- return z === "error" && (W = /* @__PURE__ */ e.createElement(et, { type: "error" })), z === "success" && (W = /* @__PURE__ */ e.createElement(et, { type: "success" })), /* @__PURE__ */ e.createElement(
4501
+ return L === "error" && (W = /* @__PURE__ */ e.createElement(et, { type: "error" })), L === "success" && (W = /* @__PURE__ */ e.createElement(et, { type: "success" })), /* @__PURE__ */ e.createElement(
4494
4502
  "div",
4495
4503
  N({
4496
4504
  className: h.current.join(" ").trim(),
@@ -4519,7 +4527,7 @@ const y1 = (_) => {
4519
4527
  onChange: Z,
4520
4528
  onBlur: R,
4521
4529
  ref: I,
4522
- "aria-invalid": z === "error",
4530
+ "aria-invalid": L === "error",
4523
4531
  "aria-describedby": l || y ? `${c}__message` : null,
4524
4532
  autoComplete: "off"
4525
4533
  }
@@ -4547,7 +4555,7 @@ const y1 = (_) => {
4547
4555
  {
4548
4556
  className: "pds-input-field__message",
4549
4557
  id: `${c}__message`,
4550
- role: z === "error" ? "alert" : null
4558
+ role: L === "error" ? "alert" : null
4551
4559
  },
4552
4560
  y || l
4553
4561
  )
@@ -4659,7 +4667,7 @@ const Nt = 16, Kt = 10, N1 = (H) => {
4659
4667
  creditCardError: "Please enter a valid credit card number.",
4660
4668
  phoneError: "Please enter a valid phone number."
4661
4669
  },
4662
- className: z
4670
+ className: L
4663
4671
  } = S, O = x(S, [
4664
4672
  "autoComplete",
4665
4673
  "counterFunction",
@@ -4686,7 +4694,7 @@ const Nt = 16, Kt = 10, N1 = (H) => {
4686
4694
  "validationMessages",
4687
4695
  "className"
4688
4696
  ]);
4689
- const [w, I] = T(l), [L, M] = T(n("")), [q, Z] = T(), [R, P] = T(null), [B, F] = T(!1), W = ee(null), V = ee(null), j = ee(null), U = ee(null), X = "pds-input-text", ce = C ? `${X}--${C}` : null;
4697
+ const [w, I] = T(l), [z, M] = T(n("")), [q, Z] = T(), [R, P] = T(null), [B, F] = T(!1), W = ee(null), V = ee(null), j = ee(null), U = ee(null), X = "pds-input-text", ce = C ? `${X}--${C}` : null;
4690
4698
  let le = null;
4691
4699
  E === "search" && (le = "search"), R === "error" && (le = "error"), R === "success" && (le = "success"), C && f && ae(() => {
4692
4700
  switch (l && I(ue(l)), U.numExtra = "", C) {
@@ -4771,7 +4779,7 @@ const Nt = 16, Kt = 10, N1 = (H) => {
4771
4779
  return /* @__PURE__ */ e.createElement(
4772
4780
  Me,
4773
4781
  N({
4774
- className: z,
4782
+ className: L,
4775
4783
  decorator: le,
4776
4784
  disabled: a,
4777
4785
  id: r,
@@ -4810,7 +4818,7 @@ const Nt = 16, Kt = 10, N1 = (H) => {
4810
4818
  minLength: te
4811
4819
  }
4812
4820
  ),
4813
- L && /* @__PURE__ */ e.createElement("div", { className: "pds-input__counter" }, L),
4821
+ z && /* @__PURE__ */ e.createElement("div", { className: "pds-input__counter" }, z),
4814
4822
  w && c && /* @__PURE__ */ e.createElement(
4815
4823
  ct,
4816
4824
  {
@@ -5050,7 +5058,7 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5050
5058
  reference: E,
5051
5059
  floating: y,
5052
5060
  strategy: k,
5053
- update: z,
5061
+ update: L,
5054
5062
  placement: O,
5055
5063
  refs: H
5056
5064
  } = Bs({
@@ -5060,9 +5068,9 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5060
5068
  let S = !1;
5061
5069
  const w = ye(De);
5062
5070
  w && (S = w.isMobile);
5063
- const I = _ && S, L = "pds-menu-button", M = I ? `${L}--isMobile` : null, q = _ ? `${L}--navbar` : null, Z = xe(), [R] = T(`menu-button-${Z}`), [P] = T(`menu-listbox-${Z}`), B = i || R, F = H.floating, W = ee(null), [V, j] = T(!1), [U, X] = T(!1), [ce, le] = T(""), [te, ue] = T(0), oe = ee([]), J = ee([]), he = ee([]);
5071
+ const I = _ && S, z = "pds-menu-button", M = I ? `${z}--isMobile` : null, q = _ ? `${z}--navbar` : null, Z = xe(), [R] = T(`menu-button-${Z}`), [P] = T(`menu-listbox-${Z}`), B = i || R, F = H.floating, W = ee(null), [V, j] = T(!1), [U, X] = T(!1), [ce, le] = T(""), [te, ue] = T(0), oe = ee([]), J = ee([]), he = ee([]);
5064
5072
  Ss(() => {
5065
- window.addEventListener("mousedown", He, !0), z();
5073
+ window.addEventListener("mousedown", He, !0), L();
5066
5074
  const A = F.current;
5067
5075
  return A && (A.dataset.fuiPlacement = O), U && (setTimeout(() => {
5068
5076
  A.focus();
@@ -5173,9 +5181,9 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5173
5181
  }, He = (A) => {
5174
5182
  W.current && !W.current.contains(A.target) && V && G();
5175
5183
  }, fe = (A, ne, Y = "", ge = "", ...me) => {
5176
- const Ce = Y ? `-group-${Y}` : "", ve = B + Ce + "-item-" + (ne + 1), ze = A.id ? A.id : ve;
5184
+ const Ce = Y ? `-group-${Y}` : "", ve = B + Ce + "-item-" + (ne + 1), Le = A.id ? A.id : ve;
5177
5185
  if (wt(A))
5178
- return /* @__PURE__ */ e.createElement("li", { role: "separator", key: ze });
5186
+ return /* @__PURE__ */ e.createElement("li", { role: "separator", key: Le });
5179
5187
  if (kt(A))
5180
5188
  return /* @__PURE__ */ e.createElement(
5181
5189
  "li",
@@ -5183,36 +5191,36 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5183
5191
  role: "presentation",
5184
5192
  id: ge || null,
5185
5193
  key: ge,
5186
- className: `${L}__listbox-heading`
5194
+ className: `${z}__listbox-heading`
5187
5195
  },
5188
5196
  A.label
5189
5197
  );
5190
5198
  if (k1(A))
5191
- return /* @__PURE__ */ e.createElement("li", { role: "presentation", key: ze }, A.nodeContent);
5199
+ return /* @__PURE__ */ e.createElement("li", { role: "presentation", key: Le }, A.nodeContent);
5192
5200
  if (Ht(A) || A.label) {
5193
- J.current.push(ze), he.current.push(A);
5201
+ J.current.push(Le), he.current.push(A);
5194
5202
  let ot = !1;
5195
- ce !== "" && !A.disabled && (ot = ce === ze);
5196
- let Le;
5197
- if (A.label && (Le = [A.label]), Ht(A) && (Le = [A.linkContent.props.children]), A.iconName) {
5203
+ ce !== "" && !A.disabled && (ot = ce === Le);
5204
+ let ze;
5205
+ if (A.label && (ze = [A.label]), Ht(A) && (ze = [A.linkContent.props.children]), A.iconName) {
5198
5206
  const Ke = /* @__PURE__ */ e.createElement(D, { key: `icon-${Z}`, iconName: A.iconName, iconSize: "md" });
5199
- Le.unshift(Ke);
5207
+ ze.unshift(Ke);
5200
5208
  }
5201
5209
  let Ue;
5202
- A.description && (Ue = /* @__PURE__ */ e.createElement("span", { className: `${L}__item-description` }, A.description));
5210
+ A.description && (Ue = /* @__PURE__ */ e.createElement("span", { className: `${z}__item-description` }, A.description));
5203
5211
  let Ge;
5204
5212
  if (Ht(A)) {
5205
5213
  const Ke = A.linkContent.type;
5206
- Ge = /* @__PURE__ */ e.createElement(Ke, N({ tabIndex: -1 }, A.linkContent.props), /* @__PURE__ */ e.createElement("span", { className: `${L}__item-label` }, Le), Ue);
5214
+ Ge = /* @__PURE__ */ e.createElement(Ke, N({ tabIndex: -1 }, A.linkContent.props), /* @__PURE__ */ e.createElement("span", { className: `${z}__item-label` }, ze), Ue);
5207
5215
  } else
5208
- Ge = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${L}__item-label` }, Le), Ue);
5216
+ Ge = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${z}__item-label` }, ze), Ue);
5209
5217
  return /* @__PURE__ */ e.createElement(
5210
5218
  "li",
5211
5219
  N({
5212
- id: ze,
5213
- key: ze,
5220
+ id: Le,
5221
+ key: Le,
5214
5222
  "data-testid": A.testId,
5215
- className: ot ? `${L}__item-focused` : null,
5223
+ className: ot ? `${z}__item-focused` : null,
5216
5224
  role: "menuitem",
5217
5225
  tabIndex: -1,
5218
5226
  onClick: se,
@@ -5232,16 +5240,16 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5232
5240
  const ne = A, Y = A.filter(
5233
5241
  kt || wt
5234
5242
  ), ge = Y.length > 0;
5235
- let me = [`${L}__listbox`];
5236
- if (_ && me.push(`${L}__listbox--navbar`), (a === "avatar" || a === "avatar-with-text") && me.push(`${L}__listbox--avatar`), o === "end" && me.push(`${L}__listbox--end`), a === "icon-only" && me.push(`${L}__listbox--icon-only`), me = me.join(" ").trim().replace(/\s+/g, " "), ge) {
5243
+ let me = [`${z}__listbox`];
5244
+ if (_ && me.push(`${z}__listbox--navbar`), (a === "avatar" || a === "avatar-with-text") && me.push(`${z}__listbox--avatar`), o === "end" && me.push(`${z}__listbox--end`), a === "icon-only" && me.push(`${z}__listbox--icon-only`), me = me.join(" ").trim().replace(/\s+/g, " "), ge) {
5237
5245
  const Ce = We(A, Y);
5238
5246
  Ce.forEach(() => {
5239
5247
  oe.current.push(xe());
5240
5248
  });
5241
5249
  let ve = oe.current[0];
5242
- const ze = Ce[0].findIndex(
5243
- (Le) => !wt(Le) && !kt(Le)
5244
- ), ot = `${B}-group-${ve}-item-${ze + 1}`;
5250
+ const Le = Ce[0].findIndex(
5251
+ (ze) => !wt(ze) && !kt(ze)
5252
+ ), ot = `${B}-group-${ve}-item-${Le + 1}`;
5245
5253
  return /* @__PURE__ */ e.createElement(
5246
5254
  "div",
5247
5255
  {
@@ -5262,9 +5270,9 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5262
5270
  onKeyDown: Ne,
5263
5271
  ref: y
5264
5272
  },
5265
- Ce.map((Le, Ue) => {
5273
+ Ce.map((ze, Ue) => {
5266
5274
  ve = oe.current[Ue];
5267
- const Ge = Le[0].isHeading, Ke = Ge ? `${B}-group-${ve}-heading` : "", ws = `${B}-group-${ve}`, ks = Ge ? null : `${m} ${Ue + 1}`;
5275
+ const Ge = ze[0].isHeading, Ke = Ge ? `${B}-group-${ve}-heading` : "", ws = `${B}-group-${ve}`, ks = Ge ? null : `${m} ${Ue + 1}`;
5268
5276
  return /* @__PURE__ */ e.createElement(
5269
5277
  "ul",
5270
5278
  {
@@ -5273,9 +5281,9 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5273
5281
  "aria-label": ks,
5274
5282
  key: ws
5275
5283
  },
5276
- Le.map((Hs, Ls) => fe(
5284
+ ze.map((Hs, zs) => fe(
5277
5285
  Hs,
5278
- Ls,
5286
+ zs,
5279
5287
  ve,
5280
5288
  Ke
5281
5289
  ))
@@ -5303,7 +5311,7 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5303
5311
  onKeyDown: Ne,
5304
5312
  ref: y
5305
5313
  },
5306
- ne.map((ve, ze) => fe(ve, ze))
5314
+ ne.map((ve, Le) => fe(ve, Le))
5307
5315
  ));
5308
5316
  }
5309
5317
  };
@@ -5320,7 +5328,7 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5320
5328
  iconName: "angleDown",
5321
5329
  type: "button",
5322
5330
  disabled: n,
5323
- className: `${L}__trigger`,
5331
+ className: `${z}__trigger`,
5324
5332
  "aria-haspopup": "true",
5325
5333
  "aria-controls": P,
5326
5334
  "aria-expanded": V,
@@ -5338,13 +5346,14 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5338
5346
  iconName: c,
5339
5347
  type: "button",
5340
5348
  disabled: n,
5341
- className: `${L}__trigger ${L}__trigger--icon-only`,
5349
+ className: `${z}__trigger ${z}__trigger--icon-only`,
5342
5350
  "aria-haspopup": "true",
5343
5351
  "aria-controls": P,
5344
5352
  "aria-expanded": V,
5345
5353
  onClick: Q,
5346
5354
  onKeyDown: ke,
5347
- ref: E
5355
+ ref: E,
5356
+ hasTooltip: !1
5348
5357
  }
5349
5358
  )), (a === "avatar" || a === "avatar-with-text") && (Ze = /* @__PURE__ */ e.createElement(
5350
5359
  "button",
@@ -5352,7 +5361,7 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5352
5361
  id: B,
5353
5362
  type: "button",
5354
5363
  disabled: n,
5355
- className: `${L}__trigger ${L}__trigger--avatar`,
5364
+ className: `${z}__trigger ${z}__trigger--avatar`,
5356
5365
  "aria-label": a === "avatar" ? l : null,
5357
5366
  "aria-haspopup": "true",
5358
5367
  "aria-controls": P,
@@ -5361,25 +5370,25 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5361
5370
  onKeyDown: ke,
5362
5371
  ref: E
5363
5372
  },
5364
- /* @__PURE__ */ e.createElement("span", { className: `${L}__avatar-label` }, /* @__PURE__ */ e.createElement(Qe, { size: "sm", imageSrc: s }), a === "avatar-with-text" && l),
5373
+ /* @__PURE__ */ e.createElement("span", { className: `${z}__avatar-label` }, /* @__PURE__ */ e.createElement(Qe, { size: "sm", imageSrc: s }), a === "avatar-with-text" && l),
5365
5374
  /* @__PURE__ */ e.createElement(
5366
5375
  D,
5367
5376
  {
5368
5377
  iconName: "angleDown",
5369
5378
  iconSize: "md",
5370
- className: `${L}__trigger-icon ${L}__trigger-icon--${a}`
5379
+ className: `${z}__trigger-icon ${z}__trigger-icon--${a}`
5371
5380
  }
5372
5381
  )
5373
5382
  ));
5374
5383
  const ie = (A) => {
5375
5384
  const ne = A.target;
5376
- ne.classList.toggle(`${L}__toggle--expanded`), ne.setAttribute(
5385
+ ne.classList.toggle(`${z}__toggle--expanded`), ne.setAttribute(
5377
5386
  "aria-expanded",
5378
5387
  ne.getAttribute("aria-expanded") === "true" ? "false" : "true"
5379
- ), ne.nextElementSibling.classList.toggle(`${L}__mobile-menu--expanded`);
5380
- }, de = () => /* @__PURE__ */ e.createElement("ul", { className: `${L}__mobile-menu`, role: "menu" }, d.map((A, ne) => fe(A, ne)));
5388
+ ), ne.nextElementSibling.classList.toggle(`${z}__mobile-menu--expanded`);
5389
+ }, de = () => /* @__PURE__ */ e.createElement("ul", { className: `${z}__mobile-menu`, role: "menu" }, d.map((A, ne) => fe(A, ne)));
5381
5390
  let we;
5382
- const Ae = a === "icon-end" ? "pds-button pds-button--navbar" : null, qe = [`${L}__toggle`, Ae].join(" ").trim().replace(/\s+/g, " ");
5391
+ const Ae = a === "icon-end" ? "pds-button pds-button--navbar" : null, qe = [`${z}__toggle`, Ae].join(" ").trim().replace(/\s+/g, " ");
5383
5392
  I && (we = /* @__PURE__ */ e.createElement(
5384
5393
  "button",
5385
5394
  {
@@ -5390,21 +5399,21 @@ const wt = (s) => s.isSeparator, kt = (s) => s.isHeading, Ht = (s) => s.isLink,
5390
5399
  "aria-expanded": !1,
5391
5400
  onClick: ie
5392
5401
  },
5393
- a === "avatar" || a === "avatar-with-text" ? /* @__PURE__ */ e.createElement("span", { className: `${L}__avatar-label` }, /* @__PURE__ */ e.createElement(Qe, { size: "sm", imageSrc: s }), l) : a === "icon-only" ? /* @__PURE__ */ e.createElement("span", { className: `${L}__icon-label` }, /* @__PURE__ */ e.createElement(D, { iconName: c }), " ", l) : l,
5402
+ a === "avatar" || a === "avatar-with-text" ? /* @__PURE__ */ e.createElement("span", { className: `${z}__avatar-label` }, /* @__PURE__ */ e.createElement(Qe, { size: "sm", imageSrc: s }), l) : a === "icon-only" ? /* @__PURE__ */ e.createElement("span", { className: `${z}__icon-label` }, /* @__PURE__ */ e.createElement(D, { iconName: c }), " ", l) : l,
5394
5403
  /* @__PURE__ */ e.createElement(
5395
5404
  D,
5396
5405
  {
5397
5406
  iconName: "angleDown",
5398
5407
  iconSize: "md",
5399
- className: `${L}__toggle-icon ${L}__toggle-icon--${a}`
5408
+ className: `${z}__toggle-icon ${z}__toggle-icon--${a}`
5400
5409
  }
5401
5410
  )
5402
5411
  ));
5403
- const rt = we, it = V ? `${L}--expanded` : null;
5412
+ const rt = we, it = V ? `${z}--expanded` : null;
5404
5413
  return /* @__PURE__ */ e.createElement(
5405
5414
  "span",
5406
5415
  N({
5407
- className: [L, q, M, it, g].join(" ").trim().replace(/\s+/g, " "),
5416
+ className: [z, q, M, it, g].join(" ").trim().replace(/\s+/g, " "),
5408
5417
  "data-testid": b,
5409
5418
  ref: W
5410
5419
  }, $),
@@ -5562,7 +5571,7 @@ const H1 = (p) => {
5562
5571
  break;
5563
5572
  }
5564
5573
  V && (F.stopPropagation(), F.preventDefault());
5565
- }, z = () => $(!g), O = e.createRef();
5574
+ }, L = () => $(!g), O = e.createRef();
5566
5575
  ae(() => {
5567
5576
  if (h && s) {
5568
5577
  const F = us(
@@ -5596,7 +5605,7 @@ const H1 = (p) => {
5596
5605
  W && (S[W] ? S[W].push(F) : S[W] = [F]);
5597
5606
  });
5598
5607
  const w = S["items-left"], I = S["items-right"];
5599
- let L = /* @__PURE__ */ e.createElement(
5608
+ let z = /* @__PURE__ */ e.createElement(
5600
5609
  "img",
5601
5610
  {
5602
5611
  className: `${f}__custom-logo`,
@@ -5606,11 +5615,11 @@ const H1 = (p) => {
5606
5615
  );
5607
5616
  if (d) {
5608
5617
  const F = d.type;
5609
- L = /* @__PURE__ */ e.createElement(F, N({ "aria-label": l }, d.props), L);
5618
+ z = /* @__PURE__ */ e.createElement(F, N({ "aria-label": l }, d.props), z);
5610
5619
  }
5611
5620
  let M = "default";
5612
5621
  (n === "reverse" || n === "reverse-transparent") && (M = "reverse");
5613
- const q = () => r === "custom" ? /* @__PURE__ */ e.createElement(e.Fragment, null, L) : /* @__PURE__ */ e.createElement(
5622
+ const q = () => r === "custom" ? /* @__PURE__ */ e.createElement(e.Fragment, null, z) : /* @__PURE__ */ e.createElement(
5614
5623
  Dt,
5615
5624
  {
5616
5625
  colorType: M,
@@ -5626,7 +5635,7 @@ const H1 = (p) => {
5626
5635
  {
5627
5636
  className: `${f}__menu-toggle`,
5628
5637
  "aria-label": g ? "Close navigation area" : "Open navigation area",
5629
- onClick: z
5638
+ onClick: L
5630
5639
  },
5631
5640
  /* @__PURE__ */ e.createElement(D, { iconName: g ? "xmark" : "bars", iconSize: "lg" })
5632
5641
  ), R = /* @__PURE__ */ e.createElement(
@@ -5768,7 +5777,7 @@ vs.propTypes = {
5768
5777
  label: t.string,
5769
5778
  mobileMenuMaxWidth: t.number
5770
5779
  };
5771
- const L1 = (l) => {
5780
+ const z1 = (l) => {
5772
5781
  var d = l, {
5773
5782
  ariaLabel: s = "Main Navigation",
5774
5783
  colorType: n = "default",
@@ -5798,12 +5807,12 @@ const L1 = (l) => {
5798
5807
  "pds-nav-menu__dropdown--separator"
5799
5808
  ) && g == "up" ? m(b - 1) : h.containerChildren[b].children[0].focus());
5800
5809
  }, [b]), ae(() => {
5801
- p != -1 && (z.current[p].children[0].blur(), z.current[p].children[0].focus({
5810
+ p != -1 && (L.current[p].children[0].blur(), L.current[p].children[0].focus({
5802
5811
  focusVisible: !0
5803
5812
  }));
5804
5813
  }, [p]);
5805
- const E = "pds-nav-menu", y = n !== "default" ? `${E}--${n}` : "", k = v ? `${E}--isMobile` : `${E}--notMobile`, z = ee([]), O = (w) => {
5806
- const I = z.current.length - 1, P = {
5814
+ const E = "pds-nav-menu", y = n !== "default" ? `${E}--${n}` : "", k = v ? `${E}--isMobile` : `${E}--notMobile`, L = ee([]), O = (w) => {
5815
+ const I = L.current.length - 1, P = {
5807
5816
  ArrowRight: () => {
5808
5817
  m(-1), _(p === -1 ? 1 : p === I ? 0 : p + 1);
5809
5818
  },
@@ -5836,14 +5845,14 @@ const L1 = (l) => {
5836
5845
  };
5837
5846
  let S = [];
5838
5847
  return a.map((w, I) => {
5839
- const L = `item-${xe()}`, M = w.id ? w.id : L;
5848
+ const z = `item-${xe()}`, M = w.id ? w.id : z;
5840
5849
  w.links ? S.push(
5841
5850
  /* @__PURE__ */ e.createElement(
5842
5851
  "li",
5843
5852
  {
5844
5853
  key: `${I}-dropdown`,
5845
5854
  id: M,
5846
- ref: (q) => z.current[I] = q,
5855
+ ref: (q) => L.current[I] = q,
5847
5856
  className: `${E}__item ${E}__item--top-level ${E}__item--has-children ${H(w) === !0 ? `${E}__item--active` : ""}`
5848
5857
  },
5849
5858
  /* @__PURE__ */ e.createElement(
@@ -5861,7 +5870,7 @@ const L1 = (l) => {
5861
5870
  {
5862
5871
  key: I,
5863
5872
  id: M,
5864
- ref: (q) => z.current[I] = q,
5873
+ ref: (q) => L.current[I] = q,
5865
5874
  className: `${E}__item ${E}__item--top-level ${E}__item--has-link ${H(w) === !0 ? `${E}__item--active` : ""}`
5866
5875
  },
5867
5876
  w.linkContent
@@ -5879,7 +5888,7 @@ const L1 = (l) => {
5879
5888
  /* @__PURE__ */ e.createElement("ul", { className: `${E}__menu` }, S)
5880
5889
  );
5881
5890
  };
5882
- L1.propTypes = {
5891
+ z1.propTypes = {
5883
5892
  /**
5884
5893
  * Aria label for `nav` element.
5885
5894
  */
@@ -5941,9 +5950,9 @@ const pt = (r) => {
5941
5950
  u = ["next", "wordpress"];
5942
5951
  break;
5943
5952
  }
5944
- d = /* @__PURE__ */ e.createElement("span", { className: `${r}__group` }, Lt[u[0]], Lt[u[1]]);
5953
+ d = /* @__PURE__ */ e.createElement("span", { className: `${r}__group` }, zt[u[0]], zt[u[1]]);
5945
5954
  } else
5946
- d = Lt[s];
5955
+ d = zt[s];
5947
5956
  return /* @__PURE__ */ e.createElement(
5948
5957
  "div",
5949
5958
  N({
@@ -5973,7 +5982,7 @@ _s.propTypes = {
5973
5982
  */
5974
5983
  className: t.string
5975
5984
  };
5976
- const Lt = {
5985
+ const zt = {
5977
5986
  drupal: /* @__PURE__ */ e.createElement(
5978
5987
  "svg",
5979
5988
  {
@@ -6222,7 +6231,7 @@ const Lt = {
6222
6231
  label: "Early Access",
6223
6232
  color: "success"
6224
6233
  }
6225
- }, z1 = (u) => {
6234
+ }, L1 = (u) => {
6226
6235
  var b = u, {
6227
6236
  badge: s,
6228
6237
  icon: n,
@@ -6287,7 +6296,7 @@ const Lt = {
6287
6296
  }))
6288
6297
  );
6289
6298
  };
6290
- z1.propTypes = {
6299
+ L1.propTypes = {
6291
6300
  /**
6292
6301
  * Optional indicator badge type. Choose from only early-access at this time.
6293
6302
  */
@@ -6410,7 +6419,7 @@ const qt = (g) => {
6410
6419
  "validationFunction",
6411
6420
  "className"
6412
6421
  ]);
6413
- const [h, C] = T(!1), [f, v] = T(null), [E, y] = T(a), [k, z] = T(), [O, H] = T(null), S = ee([]), w = "pds-select", { context: I, refs: L } = Ve({
6422
+ const [h, C] = T(!1), [f, v] = T(null), [E, y] = T(a), [k, L] = T(), [O, H] = T(null), S = ee([]), w = "pds-select", { context: I, refs: z } = Ve({
6414
6423
  open: h,
6415
6424
  onOpenChange: C,
6416
6425
  whileElementsMounted: Oe
@@ -6446,10 +6455,10 @@ const qt = (g) => {
6446
6455
  value: $e || pe
6447
6456
  };
6448
6457
  }))(d), X = () => {
6449
- z(""), H(null);
6458
+ L(""), H(null);
6450
6459
  }, ce = (re) => {
6451
6460
  const G = m(re) || {};
6452
- X(), G.error && H("error"), G.success && H("success"), z(G.message);
6461
+ X(), G.error && H("error"), G.success && H("success"), L(G.message);
6453
6462
  }, le = (re) => {
6454
6463
  const G = U[re];
6455
6464
  y(G.value), v(null), C(!1), l && l(G), m && ce(G);
@@ -6464,7 +6473,7 @@ const qt = (g) => {
6464
6473
  },
6465
6474
  onClick() {
6466
6475
  var K;
6467
- le(G), (K = L.domReference.current) == null || K.focus();
6476
+ le(G), (K = z.domReference.current) == null || K.focus();
6468
6477
  },
6469
6478
  onKeyDown(K) {
6470
6479
  (K.key === "Enter" || K.key === " ") && le(G);
@@ -6503,7 +6512,7 @@ const qt = (g) => {
6503
6512
  "aria-required": o ? !0 : null,
6504
6513
  "aria-invalid": O === "error",
6505
6514
  "aria-describedby": J ? `${n}__message` : null,
6506
- ref: L.setReference
6515
+ ref: z.setReference
6507
6516
  }, R({
6508
6517
  "aria-autocomplete": "list",
6509
6518
  disabled: s,
@@ -6519,7 +6528,7 @@ const qt = (g) => {
6519
6528
  F && /* @__PURE__ */ e.createElement(
6520
6529
  "div",
6521
6530
  N({
6522
- ref: L.setFloating,
6531
+ ref: z.setFloating,
6523
6532
  className: `${w}__dropdown`
6524
6533
  }, P({
6525
6534
  style: {
@@ -7041,7 +7050,7 @@ const D1 = {
7041
7050
  ]);
7042
7051
  const g = "pds-pricing-card", $ = `${g}-container`, h = a ? `${$}--with-list` : null, C = u ? `${g}--${u}` : null, f = (M) => M.toLowerCase().replace(/\s/g, "-"), v = l && l.length > 1, [E, y] = T(
7043
7052
  f(l[0].label)
7044
- ), [k, z] = T(
7053
+ ), [k, L] = T(
7045
7054
  s.label
7046
7055
  );
7047
7056
  let O = null, H = null;
@@ -7114,7 +7123,7 @@ const D1 = {
7114
7123
  })),
7115
7124
  initialValue: f(l[0].label),
7116
7125
  onOptionSelect: (M) => {
7117
- y(M.value), z(S(M.value)), c && c(M.value);
7126
+ y(M.value), L(S(M.value)), c && c(M.value);
7118
7127
  }
7119
7128
  }
7120
7129
  ));
@@ -7134,15 +7143,15 @@ const D1 = {
7134
7143
  linkContent: /* @__PURE__ */ e.createElement("a", { href: s.linkUrl, target: s.linkTarget }, s.label)
7135
7144
  }
7136
7145
  )));
7137
- let L = null;
7138
- return n && (n.type === "button" && (L = /* @__PURE__ */ e.createElement(
7146
+ let z = null;
7147
+ return n && (n.type === "button" && (z = /* @__PURE__ */ e.createElement(
7139
7148
  Je,
7140
7149
  {
7141
7150
  variant: "secondary",
7142
7151
  label: n.label,
7143
7152
  onClick: n.buttonAction
7144
7153
  }
7145
- )), n.type === "link" && (L = /* @__PURE__ */ e.createElement(
7154
+ )), n.type === "link" && (z = /* @__PURE__ */ e.createElement(
7146
7155
  Be,
7147
7156
  {
7148
7157
  variant: "secondary",
@@ -7175,7 +7184,7 @@ const D1 = {
7175
7184
  }
7176
7185
  ),
7177
7186
  /* @__PURE__ */ e.createElement("div", { className: `${g}__main-content` }, r && /* @__PURE__ */ e.createElement("div", { className: `${g}__plan pds-overline-text` }, r), O, i && /* @__PURE__ */ e.createElement("div", { className: `${g}__description` }, i), w),
7178
- /* @__PURE__ */ e.createElement("div", { className: `${g}__actions` }, s && I, s && n && L)
7187
+ /* @__PURE__ */ e.createElement("div", { className: `${g}__actions` }, s && I, s && n && z)
7179
7188
  ),
7180
7189
  a && H
7181
7190
  );
@@ -7416,7 +7425,7 @@ const P1 = 3.815, j1 = 4.678, B1 = 5.96, $s = (u) => {
7416
7425
  "size",
7417
7426
  "className"
7418
7427
  ]);
7419
- const m = s || xe(), p = "pds-progress-ring", _ = i ? `${p}__label` : "visually-hidden", g = `${p}__loading-text ${p}__loading-text--${l}`, $ = (z) => z * 16;
7428
+ const m = s || xe(), p = "pds-progress-ring", _ = i ? `${p}__label` : "visually-hidden", g = `${p}__loading-text ${p}__loading-text--${l}`, $ = (L) => L * 16;
7420
7429
  let h = $(j1), C = 7;
7421
7430
  l === "sm" && (h = $(P1), C = C / 1.25), l === "lg" && (h = $(B1), C = C * 1.25);
7422
7431
  const f = h / 2 - C / 2, v = `${f / 100}rem`, E = 2 * Math.PI * f, y = E - E * c / 100;
@@ -7864,13 +7873,13 @@ const Z1 = (o) => {
7864
7873
  className: `${g}__menu ${g}__menu--third-level ${h(y) ? `${g}__menu--expanded` : ""}`
7865
7874
  },
7866
7875
  y.links.map(
7867
- (z, O) => /* @__PURE__ */ e.createElement(
7876
+ (L, O) => /* @__PURE__ */ e.createElement(
7868
7877
  "li",
7869
7878
  {
7870
7879
  key: O,
7871
- className: `${g}__item ${g}__item--third-level ${h(z) ? `${g}__item--active` : ""}`
7880
+ className: `${g}__item ${g}__item--third-level ${h(L) ? `${g}__item--active` : ""}`
7872
7881
  },
7873
- z.linkContent
7882
+ L.linkContent
7874
7883
  )
7875
7884
  )
7876
7885
  )) : (
@@ -8072,12 +8081,12 @@ const K1 = (c) => {
8072
8081
  s.map((l, d) => /* @__PURE__ */ e.createElement("li", { key: d, className: `${r}__item` }, /* @__PURE__ */ e.createElement(
8073
8082
  "a",
8074
8083
  {
8075
- href: zt[l].url,
8084
+ href: Lt[l].url,
8076
8085
  rel: "noreferrer",
8077
8086
  target: "_blank",
8078
- "aria-label": zt[l].label
8087
+ "aria-label": Lt[l].label
8079
8088
  },
8080
- /* @__PURE__ */ e.createElement(D, { iconName: zt[l].icon, iconSize: "xl" })
8089
+ /* @__PURE__ */ e.createElement(D, { iconName: Lt[l].icon, iconSize: "xl" })
8081
8090
  )))
8082
8091
  );
8083
8092
  };
@@ -8091,7 +8100,7 @@ K1.propTypes = {
8091
8100
  */
8092
8101
  className: t.string
8093
8102
  };
8094
- const zt = {
8103
+ const Lt = {
8095
8104
  facebook: {
8096
8105
  icon: "facebook",
8097
8106
  url: "https://www.facebook.com/getpantheon",
@@ -8264,14 +8273,14 @@ const Q1 = (i) => {
8264
8273
  "className"
8265
8274
  ]);
8266
8275
  const l = "pds-stepper", d = "pds-stepper-mobile", o = ee(), [u] = ht(o), b = u.width, m = getComputedStyle(document.body).getPropertyValue("--pds-stepper-step-content-width").replace("rem", "") * 16, p = -40, _ = 2, g = 5, $ = s.length, h = s.findLastIndex((v) => v.isCurrent), C = s.map((v, E) => {
8267
- const y = E + 1, k = E === h, z = E < h, O = v.hasError && k, S = (b - $ * m) / ($ + ($ - 2)), w = m + S * 2, I = m + S, L = S + p * -1, M = E === 0, q = E === $ - 1;
8276
+ const y = E + 1, k = E === h, L = E < h, O = v.hasError && k, S = (b - $ * m) / ($ + ($ - 2)), w = m + S * 2, I = m + S, z = S + p * -1, M = E === 0, q = E === $ - 1;
8268
8277
  let Z = w;
8269
8278
  (M || q) && (Z = I);
8270
8279
  const R = `${l}__step`, P = [R];
8271
- k && P.push(`${R}--current`), z && P.push(`${R}--complete`), O && P.push(`${R}--error`);
8280
+ k && P.push(`${R}--current`), L && P.push(`${R}--complete`), O && P.push(`${R}--error`);
8272
8281
  let B = `${n.step} ${y}`;
8273
- z && (B = `${n.step} ${y}, ${n.completed}`), O && (B = `${n.step} ${y}, ${n.hasError}`);
8274
- const F = z ? /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${l}__step-indicator` }, /* @__PURE__ */ e.createElement(
8282
+ L && (B = `${n.step} ${y}, ${n.completed}`), O && (B = `${n.step} ${y}, ${n.hasError}`);
8283
+ const F = L ? /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${l}__step-indicator` }, /* @__PURE__ */ e.createElement(
8275
8284
  D,
8276
8285
  {
8277
8286
  iconName: "check",
@@ -8280,7 +8289,7 @@ const Q1 = (i) => {
8280
8289
  }
8281
8290
  )) : /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${l}__step-indicator` }), W = /* @__PURE__ */ e.createElement("div", { className: `${l}__step-label` }, v.label);
8282
8291
  let V = /* @__PURE__ */ e.createElement("div", { className: `${l}__step-content` }, W, F);
8283
- if (z && v.callback) {
8292
+ if (L && v.callback) {
8284
8293
  const j = (U) => {
8285
8294
  v.callback(v), U.preventDefault();
8286
8295
  };
@@ -8311,7 +8320,7 @@ const Q1 = (i) => {
8311
8320
  {
8312
8321
  className: `${l}__connector ${l}__connector--before`,
8313
8322
  style: {
8314
- width: L,
8323
+ width: z,
8315
8324
  marginRight: p
8316
8325
  }
8317
8326
  }
@@ -8321,18 +8330,18 @@ const Q1 = (i) => {
8321
8330
  "span",
8322
8331
  {
8323
8332
  className: `${l}__connector ${l}__connector--after`,
8324
- style: { width: L, marginLeft: p }
8333
+ style: { width: z, marginLeft: p }
8325
8334
  }
8326
8335
  )
8327
8336
  );
8328
8337
  }), f = s.map((v, E) => {
8329
- const y = E + 1, k = E === h, z = E === $ - 1, O = v.hasError && k, H = s[h + 1] ? s[h + 1].label : null;
8338
+ const y = E + 1, k = E === h, L = E === $ - 1, O = v.hasError && k, H = s[h + 1] ? s[h + 1].label : null;
8330
8339
  if (k) {
8331
8340
  const S = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n.step, " "), y, " of ", $), w = y / $ * 100, I = O ? {
8332
8341
  "--pds-color-progress-partial": "var(--pds-color-semantic-critical-foreground)"
8333
8342
  } : {
8334
8343
  "--pds-color-progress-partial": "var(--pds-color-stepper-completed)"
8335
- }, L = /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, n.step, " ", y, ", ", n.hasError);
8344
+ }, z = /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, n.step, " ", y, ", ", n.hasError);
8336
8345
  return /* @__PURE__ */ e.createElement(
8337
8346
  "div",
8338
8347
  {
@@ -8350,14 +8359,14 @@ const Q1 = (i) => {
8350
8359
  style: I
8351
8360
  }
8352
8361
  )),
8353
- /* @__PURE__ */ e.createElement("div", { className: `${d}__step-text` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__step-label` }, O && /* @__PURE__ */ e.createElement(e.Fragment, null, L, /* @__PURE__ */ e.createElement(
8362
+ /* @__PURE__ */ e.createElement("div", { className: `${d}__step-text` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__step-label` }, O && /* @__PURE__ */ e.createElement(e.Fragment, null, z, /* @__PURE__ */ e.createElement(
8354
8363
  D,
8355
8364
  {
8356
8365
  iconName: "diamondExclamation",
8357
8366
  iconSize: "md",
8358
8367
  className: `${d}__error-icon`
8359
8368
  }
8360
- )), v.label), !z && /* @__PURE__ */ e.createElement("div", { className: `${d}__next-step` }, `${n.next}: ${H}`))
8369
+ )), v.label), !L && /* @__PURE__ */ e.createElement("div", { className: `${d}__next-step` }, `${n.next}: ${H}`))
8361
8370
  );
8362
8371
  }
8363
8372
  });
@@ -8518,13 +8527,13 @@ const en = (u) => {
8518
8527
  const w = Array.from(
8519
8528
  document.querySelectorAll(g)
8520
8529
  );
8521
- w.map((L) => {
8530
+ w.map((z) => {
8522
8531
  _.forEach((M) => {
8523
- L.id.includes(M) && (L.id = L.id.replaceAll(M, "-"));
8532
+ z.id.includes(M) && (z.id = z.id.replaceAll(M, "-"));
8524
8533
  });
8525
- }), w.map((L) => {
8534
+ }), w.map((z) => {
8526
8535
  const M = `item-${xe()}`;
8527
- L.id || (L.id = M);
8536
+ z.id || (z.id = M);
8528
8537
  });
8529
8538
  const I = h(w);
8530
8539
  S(I);
@@ -8532,9 +8541,9 @@ const en = (u) => {
8532
8541
  }, h = (H) => {
8533
8542
  const S = [];
8534
8543
  return H.forEach((w) => {
8535
- const { innerText: I, id: L } = w;
8536
- w.nodeName === "H2" ? S.push({ id: L, title: I, items: [] }) : w.nodeName === "H3" && S.length > 0 && S[S.length - 1].items.push({
8537
- id: L,
8544
+ const { innerText: I, id: z } = w;
8545
+ w.nodeName === "H2" ? S.push({ id: z, title: I, items: [] }) : w.nodeName === "H3" && S.length > 0 && S[S.length - 1].items.push({
8546
+ id: z,
8538
8547
  title: I
8539
8548
  });
8540
8549
  }), S;
@@ -8549,7 +8558,7 @@ const en = (u) => {
8549
8558
  const P = S.current[R];
8550
8559
  P.isIntersecting && q.push(P);
8551
8560
  });
8552
- const Z = (R) => L.findIndex((P) => P.id === R);
8561
+ const Z = (R) => z.findIndex((P) => P.id === R);
8553
8562
  if (q.length === 1)
8554
8563
  H(q[0].target.id);
8555
8564
  else if (q.length > 1) {
@@ -8560,10 +8569,10 @@ const en = (u) => {
8560
8569
  }
8561
8570
  }, I = new IntersectionObserver(w, {
8562
8571
  rootMargin: "0px 0px -20% 0px"
8563
- }), L = Array.from(
8572
+ }), z = Array.from(
8564
8573
  document.querySelectorAll(g)
8565
8574
  );
8566
- return L.forEach((M) => I.observe(M)), () => I.disconnect();
8575
+ return z.forEach((M) => I.observe(M)), () => I.disconnect();
8567
8576
  }, [H]);
8568
8577
  })(v);
8569
8578
  const y = (H) => {
@@ -8573,7 +8582,7 @@ const en = (u) => {
8573
8582
  behavior: "smooth",
8574
8583
  block: "start"
8575
8584
  });
8576
- }, z = (H, S) => {
8585
+ }, L = (H, S) => {
8577
8586
  H.preventDefault(), s && y(S), k(S);
8578
8587
  }, O = ({ headings: H }) => /* @__PURE__ */ e.createElement("ul", { className: `${m}__list ${m}__list--top-level` }, H.map((S) => /* @__PURE__ */ e.createElement("li", { key: S.id, className: `${m}__list-item` }, /* @__PURE__ */ e.createElement(
8579
8588
  "a",
@@ -8581,7 +8590,7 @@ const en = (u) => {
8581
8590
  className: S.id === f ? `${m}__link ${m}__link--active` : `${m}__link`,
8582
8591
  href: `#${S.id}`,
8583
8592
  onClick: (w) => {
8584
- z(w, S.id);
8593
+ L(w, S.id);
8585
8594
  }
8586
8595
  },
8587
8596
  S.title
@@ -8596,7 +8605,7 @@ const en = (u) => {
8596
8605
  className: w.id === f ? `${m}__link ${m}__link--active` : `${m}__link`,
8597
8606
  href: `#${w.id}`,
8598
8607
  onClick: (I) => {
8599
- z(I, w.id);
8608
+ L(I, w.id);
8600
8609
  }
8601
8610
  },
8602
8611
  w.title
@@ -8873,18 +8882,18 @@ const sn = (h) => {
8873
8882
  "validationFunction",
8874
8883
  "className"
8875
8884
  ]);
8876
- const [f, v] = T(c), [E, y] = T(s("")), [k, z] = T(), [O, H] = T(null), S = ee(null), w = "pds-textarea", I = r ? "pds-is-resizable" : null;
8885
+ const [f, v] = T(c), [E, y] = T(s("")), [k, L] = T(), [O, H] = T(null), S = ee(null), w = "pds-textarea", I = r ? "pds-is-resizable" : null;
8877
8886
  ae(() => {
8878
8887
  c && s && y(s(c));
8879
8888
  }, []);
8880
- const L = () => {
8881
- z(""), H(null);
8889
+ const z = () => {
8890
+ L(""), H(null);
8882
8891
  }, M = (R) => {
8883
- v(R.target.value), L(), s && y(s(R.target.value)), o && o(f);
8892
+ v(R.target.value), z(), s && y(s(R.target.value)), o && o(f);
8884
8893
  }, q = (R) => {
8885
8894
  if (_) {
8886
8895
  const P = _(R.target.value) || {};
8887
- L(), P.error && H("error"), P.success && H("success"), z(P.message);
8896
+ z(), P.error && H("error"), P.success && H("success"), L(P.message);
8888
8897
  }
8889
8898
  o && o(f);
8890
8899
  }, Z = k || d;
@@ -9547,11 +9556,11 @@ const on = (o) => {
9547
9556
  let h = !1;
9548
9557
  const C = ye(De);
9549
9558
  C && (h = C.isMobile);
9550
- const f = r && h, v = "pds-user-menu", E = f ? `${v}--isMobile` : null, y = `${v}__menu`, { refs: k, floatingStyles: z, context: O } = Ve({
9559
+ const f = r && h, v = "pds-user-menu", E = f ? `${v}--isMobile` : null, y = `${v}__menu`, { refs: k, floatingStyles: L, context: O } = Ve({
9551
9560
  open: p,
9552
9561
  onOpenChange: _,
9553
9562
  whileElementsMounted: Oe
9554
- }), H = st(O, { event: "mousedown" }), S = Se(O), w = Ie(O, { role: "menu" }), I = ee([]), L = at(O, {
9563
+ }), H = st(O, { event: "mousedown" }), S = Se(O), w = Ie(O, { role: "menu" }), I = ee([]), z = at(O, {
9555
9564
  listRef: I,
9556
9565
  activeIndex: b,
9557
9566
  onNavigate: m,
@@ -9560,7 +9569,7 @@ const on = (o) => {
9560
9569
  focusItemOnOpen: !1,
9561
9570
  focusItemOnHover: !0
9562
9571
  }), { getReferenceProps: M, getFloatingProps: q, getItemProps: Z } = Te(
9563
- [S, w, H, L]
9572
+ [S, w, H, z]
9564
9573
  ), { isMounted: R, styles: P } = Re(O, {
9565
9574
  duration: {
9566
9575
  open: 300,
@@ -9639,7 +9648,7 @@ const on = (o) => {
9639
9648
  className: `${v}__dropdown`,
9640
9649
  ref: k.setFloating,
9641
9650
  style: {
9642
- floatingStyles: z,
9651
+ floatingStyles: L,
9643
9652
  zIndex: "var(--pds-z-index-dropdown)"
9644
9653
  }
9645
9654
  }, q()),
@@ -9852,7 +9861,7 @@ const Pn = () => {
9852
9861
  );
9853
9862
  }, bn = tt(
9854
9863
  (I, w) => {
9855
- var L = I, {
9864
+ var z = I, {
9856
9865
  autoComplete: s,
9857
9866
  counterMaxLength: n,
9858
9867
  defaultValue: a,
@@ -9883,10 +9892,10 @@ const Pn = () => {
9883
9892
  },
9884
9893
  type: y = "text",
9885
9894
  validationMessage: k,
9886
- validationStatus: z,
9895
+ validationStatus: L,
9887
9896
  value: O,
9888
9897
  className: H
9889
- } = L, S = x(L, [
9898
+ } = z, S = x(z, [
9890
9899
  "autoComplete",
9891
9900
  "counterMaxLength",
9892
9901
  "defaultValue",
@@ -9914,9 +9923,9 @@ const Pn = () => {
9914
9923
  "value",
9915
9924
  "className"
9916
9925
  ]);
9917
- const M = "pds-text-input", q = c ? Ye.disabled : null, Z = C && !c ? Ye.required : null, R = z === "error" ? Ye.error : null, P = z === "success" ? Ye.success : null, B = h ? Ye.readonly : null;
9926
+ const M = "pds-text-input", q = c ? Ye.disabled : null, Z = C && !c ? Ye.required : null, R = L === "error" ? Ye.error : null, P = L === "success" ? Ye.success : null, B = h ? Ye.readonly : null;
9918
9927
  let F = null;
9919
- y === "search" && (F = "search"), z === "error" && (F = "error"), z === "success" && (F = "success");
9928
+ y === "search" && (F = "search"), L === "error" && (F = "error"), L === "success" && (F = "success");
9920
9929
  const W = o ? { width: `${o / 16}rem` } : null, V = typeof O != "undefined", j = typeof a != "undefined", [U, X] = T(
9921
9930
  j ? a : ""
9922
9931
  ), ce = O || U, le = (G) => {
@@ -9976,7 +9985,7 @@ const Pn = () => {
9976
9985
  onBlur: le,
9977
9986
  onChange: te,
9978
9987
  onFocus: g,
9979
- "aria-invalid": z === "error" ? !0 : null,
9988
+ "aria-invalid": L === "error" ? !0 : null,
9980
9989
  "aria-describedby": oe ? `${l}__message` : null
9981
9990
  }, d)
9982
9991
  ), i && ce && /* @__PURE__ */ e.createElement(
@@ -10018,7 +10027,7 @@ const Pn = () => {
10018
10027
  id: l,
10019
10028
  message: oe,
10020
10029
  hasValidationMessage: !!k,
10021
- validationStatus: z
10030
+ validationStatus: L
10022
10031
  }
10023
10032
  )
10024
10033
  );
@@ -10054,9 +10063,9 @@ const Pn = () => {
10054
10063
  ]);
10055
10064
  const [_, g] = T(!1), [$, h] = T(null), [C, f] = T(o), v = ee([]), E = ee(null), y = o.length >= r;
10056
10065
  let k = !1;
10057
- const z = ye(De);
10058
- z && (k = z.isMobile);
10059
- const O = d && k, H = "pds-workspace-selector", S = O ? `${H}--isMobile` : null, w = `${H}__menu`, I = y ? `${w}--scroll` : null, { refs: L, floatingStyles: M, context: q } = Ve({
10066
+ const L = ye(De);
10067
+ L && (k = L.isMobile);
10068
+ const O = d && k, H = "pds-workspace-selector", S = O ? `${H}--isMobile` : null, w = `${H}__menu`, I = y ? `${w}--scroll` : null, { refs: z, floatingStyles: M, context: q } = Ve({
10060
10069
  open: _,
10061
10070
  onOpenChange: g,
10062
10071
  whileElementsMounted: Oe
@@ -10187,7 +10196,7 @@ const Pn = () => {
10187
10196
  N({
10188
10197
  className: `${H}__trigger`,
10189
10198
  "aria-label": s,
10190
- ref: L.setReference
10199
+ ref: z.setReference
10191
10200
  }, F()),
10192
10201
  te,
10193
10202
  ue
@@ -10195,7 +10204,7 @@ const Pn = () => {
10195
10204
  "div",
10196
10205
  N({
10197
10206
  className: `${H}__dropdown`,
10198
- ref: L.setFloating,
10207
+ ref: z.setFloating,
10199
10208
  style: {
10200
10209
  floatingStyles: M,
10201
10210
  zIndex: "var(--pds-z-index-dropdown)"
@@ -10562,7 +10571,7 @@ const jn = (r) => {
10562
10571
  onOpenChange: g
10563
10572
  }), f = st(h), v = Se(h, {
10564
10573
  outsidePressEvent: "mousedown"
10565
- }), E = Ie(h), { getFloatingProps: y } = Te([f, v, E]), { isMounted: k, styles: z } = Re(h, {
10574
+ }), E = Ie(h), { getFloatingProps: y } = Te([f, v, E]), { isMounted: k, styles: L } = Re(h, {
10566
10575
  duration: {
10567
10576
  open: 300,
10568
10577
  close: 300
@@ -10597,7 +10606,7 @@ const jn = (r) => {
10597
10606
  "aria-label": s || l
10598
10607
  }, y()), {
10599
10608
  className: [m, p, d].join(" ").trim().replace(/\s+/g, " "),
10600
- style: _e(N(N({}, C), z), {
10609
+ style: _e(N(N({}, C), L), {
10601
10610
  position: "relative"
10602
10611
  })
10603
10612
  }), o),
@@ -10805,7 +10814,7 @@ const jn = (r) => {
10805
10814
  const C = typeof n, f = "pds-popover", v = [
10806
10815
  `${f}__trigger-custom`,
10807
10816
  C === "string" ? `${f}__trigger-text` : ""
10808
- ].join(" ").trim().replace(/\s+/g, " "), E = n ? c : 0, y = ee(null), { refs: k, floatingStyles: z, context: O, middlewareData: H } = Ve({
10817
+ ].join(" ").trim().replace(/\s+/g, " "), E = n ? c : 0, y = ee(null), { refs: k, floatingStyles: L, context: O, middlewareData: H } = Ve({
10809
10818
  placement: r,
10810
10819
  open: $,
10811
10820
  onOpenChange(X) {
@@ -10820,10 +10829,10 @@ const jn = (r) => {
10820
10829
  whileElementsMounted: Oe
10821
10830
  }), S = () => {
10822
10831
  h(!1), i && i();
10823
- }, w = st(O), I = Se(O), L = Ie(O), { getReferenceProps: M, getFloatingProps: q } = Te([
10832
+ }, w = st(O), I = Se(O), z = Ie(O), { getReferenceProps: M, getFloatingProps: q } = Te([
10824
10833
  w,
10825
10834
  I,
10826
- L
10835
+ z
10827
10836
  ]), Z = (V = (W = H.arrow) == null ? void 0 : W.x) != null ? V : 0, R = (U = (j = H.arrow) == null ? void 0 : j.y) != null ? U : 0, P = Z + Jt / 2, B = R + Pe, { isMounted: F } = Re(O, {
10828
10837
  initial: {
10829
10838
  transform: "scale(0)"
@@ -10862,7 +10871,7 @@ const jn = (r) => {
10862
10871
  N({
10863
10872
  className: `${f}__container`,
10864
10873
  ref: k.setFloating,
10865
- style: z
10874
+ style: L
10866
10875
  }, q()),
10867
10876
  /* @__PURE__ */ e.createElement(
10868
10877
  Ps,
@@ -11129,8 +11138,8 @@ const e2 = ({
11129
11138
  b(window.innerWidth);
11130
11139
  }, $ = {};
11131
11140
  e.Children.forEach(s, (k) => {
11132
- const z = k.props.slot;
11133
- z && ($[z] ? $[z].push(k) : $[z] = [k]);
11141
+ const L = k.props.slot;
11142
+ L && ($[L] ? $[L].push(k) : $[L] = [k]);
11134
11143
  });
11135
11144
  let h = "pds-grid-item--md-8 pds-grid-item--lg-9 pds-grid-item--xl-10", C = "pds-grid-item--md-4 pds-grid-item--lg-3 pds-grid-item--xl-2";
11136
11145
  i === "narrow" && (h = "pds-grid-item--md-9 pds-grid-item--lg-10", C = "pds-grid-item--md-3 pds-grid-item--lg-2"), i === "wide" && (h = "pds-grid-item--md-7 pds-grid-item--lg-8", C = "pds-grid-item--md-5 pds-grid-item--lg-4");
@@ -11272,7 +11281,7 @@ Hn.propTypes = {
11272
11281
  */
11273
11282
  className: t.string
11274
11283
  };
11275
- const Ln = (r) => {
11284
+ const zn = (r) => {
11276
11285
  var l = r, {
11277
11286
  children: s,
11278
11287
  gridGap: n = "standard",
@@ -11311,7 +11320,7 @@ const Ln = (r) => {
11311
11320
  /* @__PURE__ */ e.createElement("div", { className: g.join(" ").trim() }, C)
11312
11321
  );
11313
11322
  };
11314
- Ln.propTypes = {
11323
+ zn.propTypes = {
11315
11324
  /**
11316
11325
  * Item content.
11317
11326
  */
@@ -11372,9 +11381,9 @@ export {
11372
11381
  w1 as LinksCard,
11373
11382
  bs as MenuButton,
11374
11383
  Zn as Modal,
11375
- L1 as NavMenu,
11384
+ z1 as NavMenu,
11376
11385
  H1 as Navbar,
11377
- z1 as NewSiteCard,
11386
+ L1 as NewSiteCard,
11378
11387
  R1 as Pager,
11379
11388
  Kn as Panel,
11380
11389
  Dt as PantheonLogo,
@@ -11418,7 +11427,7 @@ export {
11418
11427
  cn as ToggleButton,
11419
11428
  rn as ToggleSwitch,
11420
11429
  mt as Tooltip,
11421
- Ln as TwoItemLayout,
11430
+ zn as TwoItemLayout,
11422
11431
  on as UserMenu,
11423
11432
  _n as WorkspaceSelector,
11424
11433
  Zt as iconList,