@pantheon-systems/pds-toolkit-react 2.0.0-alpha.73 → 2.0.0-alpha.75

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
@@ -3413,25 +3413,25 @@ var Gn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3413
3413
  wordpress: "wordpress",
3414
3414
  gatsby: "boltSolid",
3415
3415
  nextjs: "boltSolid"
3416
- }, tr = ({ className: t, disabled: n, iconName: r = "ellipsisVertical", iconOnly: i = !1, id: a, isSplitButton: o = !1, label: s, menuItems: c, onClick: l, size: u = "s", statusDot: d, tally: f, testId: p, undefinedLabel: m = "Unlabeled group", variant: h = "primary", ..._ }) => {
3417
- let { activeIndex: v, floatingStyles: y, getFloatingProps: b, getItemProps: x, getReferenceProps: C, isMounted: w, isOpen: T, listRef: E, refs: D, setIsOpen: O, transitionStyles: k } = Pn({
3416
+ }, tr = ({ className: t, disabled: n, iconName: r = "ellipsisVertical", iconOnly: i = !1, id: a, isMobileAccordion: o = !1, isSplitButton: s = !1, label: c, menuItems: l, onClick: u, size: d = "s", statusDot: f, tally: p, testId: m, undefinedLabel: h = "Unlabeled group", variant: _ = "primary", ...v }) => {
3417
+ let { activeIndex: y, floatingStyles: b, getFloatingProps: x, getItemProps: C, getReferenceProps: w, isMounted: T, isOpen: E, listRef: D, refs: O, setIsOpen: k, transitionStyles: A } = Pn({
3418
3418
  enableClick: !n,
3419
3419
  enableTypeahead: !0,
3420
3420
  offsetValue: 8,
3421
3421
  placement: "bottom-start",
3422
3422
  role: "menu"
3423
- }), A = Xt(), j = "pds-menu-button", M = h === "navbar", N = M ? "subtle" : h, P = a, [F] = g(`menu-button-${a}`), I = [], L = [];
3423
+ }), j = Xt(), M = o && j, N = "pds-menu-button", P = _ === "navbar", F = P ? "subtle" : _, I = a, [L] = g(`menu-button-${a}`), R = [], z = [];
3424
3424
  ((e) => {
3425
3425
  e.forEach((e) => {
3426
- !Yn(e) && !Xn(e) && !Qn(e) && L.push(e);
3426
+ !Yn(e) && !Xn(e) && !Qn(e) && z.push(e);
3427
3427
  });
3428
- })(c);
3429
- let R = (e) => {
3430
- "disabled" in e && e.disabled || ("callback" in e && e.callback && e.callback(e), O(!1));
3431
- }, z = () => {
3432
- l && l();
3433
- }, B = (t, n, r = "", i = "") => {
3434
- let a = P + (r ? `-group-${r}` : "") + "-item-" + (n + 1), o = "id" in t && t.id ? t.id : a;
3428
+ })(l);
3429
+ let B = (e) => {
3430
+ "disabled" in e && e.disabled || ("callback" in e && e.callback && e.callback(e), k(!1));
3431
+ }, V = () => {
3432
+ u && u();
3433
+ }, H = (t, n, r = "", i = "") => {
3434
+ let a = I + (r ? `-group-${r}` : "") + "-item-" + (n + 1), o = "id" in t && t.id ? t.id : a;
3435
3435
  if (Yn(t)) return /* @__PURE__ */ e.createElement("li", {
3436
3436
  key: o,
3437
3437
  className: "pds-dropdown__separator",
@@ -3439,7 +3439,7 @@ var Gn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3439
3439
  });
3440
3440
  if (Xn(t)) return /* @__PURE__ */ e.createElement("li", {
3441
3441
  key: i || o,
3442
- className: `pds-dropdown__heading ${j}__listbox-heading`,
3442
+ className: `pds-dropdown__heading ${N}__listbox-heading`,
3443
3443
  id: i || void 0,
3444
3444
  role: "presentation"
3445
3445
  }, t.label);
@@ -3448,17 +3448,17 @@ var Gn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3448
3448
  role: "presentation"
3449
3449
  }, t.nodeContent);
3450
3450
  if (Zn(t) || "label" in t && t.label) {
3451
- let n = L.indexOf(t), r = v === n, i = "isCritical" in t && t.isCritical, a = "criticalLabel" in t ? t.criticalLabel : void 0, s = [];
3451
+ let n = z.indexOf(t), r = y === n, i = "isCritical" in t && t.isCritical, a = "criticalLabel" in t ? t.criticalLabel : void 0, s = [];
3452
3452
  if ("label" in t && t.label && s.push(t.label), Zn(t) && t.linkContent) {
3453
3453
  let e = t.linkContent;
3454
3454
  s.push(e.props.children);
3455
3455
  }
3456
3456
  t.iconName && s.unshift(/* @__PURE__ */ e.createElement(Q, {
3457
- key: `icon-${P}`,
3457
+ key: `icon-${I}`,
3458
3458
  iconName: t.iconName,
3459
3459
  size: t.iconSize ?? "s"
3460
3460
  })), i && a && s.unshift(/* @__PURE__ */ e.createElement("span", {
3461
- key: `critical-${P}`,
3461
+ key: `critical-${I}`,
3462
3462
  className: "visually-hidden"
3463
3463
  }, a));
3464
3464
  let c = t.description ? /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-description" }, t.description) : null, l;
@@ -3467,9 +3467,9 @@ var Gn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3467
3467
  l = /* @__PURE__ */ e.createElement(r, {
3468
3468
  tabIndex: -1,
3469
3469
  ...n.props,
3470
- onClick: () => O(!1)
3471
- }, /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${j}__item-label` }, s), c));
3472
- } else l = /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${j}__item-label` }, s), c);
3470
+ onClick: () => k(!1)
3471
+ }, /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${N}__item-label` }, s), c));
3472
+ } else l = /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${N}__item-label` }, s), c);
3473
3473
  let u = Z([
3474
3474
  "pds-dropdown__item",
3475
3475
  r ? "pds-dropdown__item--focused" : null,
@@ -3478,7 +3478,7 @@ var Gn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3478
3478
  return /* @__PURE__ */ e.createElement("li", {
3479
3479
  key: o,
3480
3480
  ref: (e) => {
3481
- E.current[n] = e;
3481
+ D.current[n] = e;
3482
3482
  },
3483
3483
  "aria-disabled": t.disabled || void 0,
3484
3484
  className: u,
@@ -3486,18 +3486,18 @@ var Gn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3486
3486
  id: o,
3487
3487
  role: "menuitem",
3488
3488
  tabIndex: r ? 0 : -1,
3489
- ...x({
3489
+ ...C({
3490
3490
  onClick: () => {
3491
- Zn(t) || R(t), O(!1);
3491
+ Zn(t) || B(t), k(!1);
3492
3492
  },
3493
3493
  onKeyDown: (e) => {
3494
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Zn(t) && t.linkContent ? e.currentTarget.querySelector("a")?.click() : R(t));
3494
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Zn(t) && t.linkContent ? e.currentTarget.querySelector("a")?.click() : B(t));
3495
3495
  }
3496
3496
  })
3497
3497
  }, l);
3498
3498
  }
3499
- }, V = (t, n) => {
3500
- let r = "id" in t && t.id ? t.id : `${P}-accordion-item-${n + 1}`;
3499
+ }, U = (t, n) => {
3500
+ let r = "id" in t && t.id ? t.id : `${I}-accordion-item-${n + 1}`;
3501
3501
  if (Yn(t)) return /* @__PURE__ */ e.createElement("li", {
3502
3502
  key: r,
3503
3503
  className: "pds-dropdown__separator",
@@ -3505,7 +3505,7 @@ var Gn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3505
3505
  });
3506
3506
  if (Xn(t)) return /* @__PURE__ */ e.createElement("li", {
3507
3507
  key: r,
3508
- className: `pds-dropdown__heading ${j}__listbox-heading`,
3508
+ className: `pds-dropdown__heading ${N}__listbox-heading`,
3509
3509
  role: "presentation"
3510
3510
  }, t.label);
3511
3511
  if (Qn(t)) return /* @__PURE__ */ e.createElement("li", {
@@ -3519,11 +3519,11 @@ var Gn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3519
3519
  o.push(e.props.children);
3520
3520
  }
3521
3521
  t.iconName && o.unshift(/* @__PURE__ */ e.createElement(Q, {
3522
- key: `icon-${P}-${n}`,
3522
+ key: `icon-${I}-${n}`,
3523
3523
  iconName: t.iconName,
3524
3524
  size: t.iconSize ?? "s"
3525
3525
  })), i && a && o.unshift(/* @__PURE__ */ e.createElement("span", {
3526
- key: `critical-${P}-${n}`,
3526
+ key: `critical-${I}-${n}`,
3527
3527
  className: "visually-hidden"
3528
3528
  }, a));
3529
3529
  let s = t.description ? /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-description" }, t.description) : null, c;
@@ -3532,138 +3532,138 @@ var Gn = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3532
3532
  c = /* @__PURE__ */ e.createElement(r, {
3533
3533
  tabIndex: -1,
3534
3534
  ...n.props
3535
- }, /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${j}__item-label` }, o), s));
3536
- } else c = /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${j}__item-label` }, o), s);
3535
+ }, /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${N}__item-label` }, o), s));
3536
+ } else c = /* @__PURE__ */ e.createElement("span", { className: "pds-dropdown__item-label" }, /* @__PURE__ */ e.createElement("span", { className: `${N}__item-label` }, o), s);
3537
3537
  return /* @__PURE__ */ e.createElement("li", {
3538
3538
  key: r,
3539
3539
  "aria-disabled": t.disabled || void 0,
3540
3540
  className: Z(["pds-dropdown__item", i ? "pds-dropdown__item--critical" : null]),
3541
3541
  id: r,
3542
3542
  onClick: () => {
3543
- Zn(t) || R(t);
3543
+ Zn(t) || B(t);
3544
3544
  },
3545
3545
  role: "menuitem",
3546
3546
  tabIndex: t.disabled ? -1 : 0
3547
3547
  }, c);
3548
3548
  }
3549
- }, H = (t) => {
3549
+ }, W = (t) => {
3550
3550
  let n = t.filter(Xn || Yn), r = n.length > 0, a = Z([
3551
3551
  "pds-dropdown__panel",
3552
- `${j}__listbox`,
3553
- i ? `${j}__listbox--icon-only` : null
3552
+ `${N}__listbox`,
3553
+ i ? `${N}__listbox--icon-only` : null
3554
3554
  ]), o = 0;
3555
3555
  if (r) {
3556
- let r = U(t, n);
3556
+ let r = G(t, n);
3557
3557
  return r.forEach((e, t) => {
3558
- I.push(`${t}`);
3558
+ R.push(`${t}`);
3559
3559
  }), /* @__PURE__ */ e.createElement("div", {
3560
- ref: D.setFloating,
3561
- "aria-labelledby": P,
3560
+ ref: O.setFloating,
3561
+ "aria-labelledby": I,
3562
3562
  className: a,
3563
- id: F,
3563
+ id: L,
3564
3564
  role: "menu",
3565
3565
  style: {
3566
- ...y,
3567
- ...k,
3566
+ ...b,
3567
+ ...A,
3568
3568
  zIndex: "var(--pds-z-index-dropdown)"
3569
3569
  },
3570
- ...b()
3570
+ ...x()
3571
3571
  }, r.map((t, n) => {
3572
- let r = I[n], i = "isHeading" in t[0] && t[0].isHeading, a = i ? `${P}-group-${r}-heading` : "", s = `${P}-group-${r}`, c = i ? null : `${m} ${n + 1}`;
3572
+ let r = R[n], i = "isHeading" in t[0] && t[0].isHeading, a = i ? `${I}-group-${r}-heading` : "", s = `${I}-group-${r}`, c = i ? null : `${h} ${n + 1}`;
3573
3573
  return /* @__PURE__ */ e.createElement("ul", {
3574
3574
  key: s,
3575
3575
  "aria-label": c,
3576
3576
  "aria-labelledby": a || void 0,
3577
3577
  role: "group"
3578
3578
  }, t.map((e) => {
3579
- let t = B(e, o, r, a);
3579
+ let t = H(e, o, r, a);
3580
3580
  return !Yn(e) && !Xn(e) && !Qn(e) && o++, t;
3581
3581
  }));
3582
3582
  }));
3583
3583
  } else return /* @__PURE__ */ e.createElement("ul", {
3584
- ref: D.setFloating,
3585
- "aria-labelledby": P,
3584
+ ref: O.setFloating,
3585
+ "aria-labelledby": I,
3586
3586
  className: a,
3587
- id: F,
3587
+ id: L,
3588
3588
  role: "menu",
3589
3589
  style: {
3590
- ...y,
3591
- ...k,
3590
+ ...b,
3591
+ ...A,
3592
3592
  zIndex: "var(--pds-z-index-dropdown)"
3593
3593
  },
3594
- ...b()
3594
+ ...x()
3595
3595
  }, t.map((e) => {
3596
- let t = B(e, o);
3596
+ let t = H(e, o);
3597
3597
  return !Yn(e) && !Xn(e) && !Qn(e) && o++, t;
3598
3598
  }));
3599
- }, U = (e, t) => {
3599
+ }, G = (e, t) => {
3600
3600
  let n = [], r = [...t], i = r.shift(), a = [];
3601
3601
  return e.forEach((t, o) => {
3602
3602
  t === i ? (n.push(a), a = [], a.push(t), i = r.shift()) : (a.push(t), o + 1 === e.length && n.push(a));
3603
3603
  }), n.filter((e) => e.length > 0);
3604
- }, W, G = u === "m" ? "s" : "xs", K = f ? /* @__PURE__ */ e.createElement(e.Fragment, null, s, /* @__PURE__ */ e.createElement(Sn, {
3604
+ }, K, q = d === "m" ? "s" : "xs", J = p ? /* @__PURE__ */ e.createElement(e.Fragment, null, c, /* @__PURE__ */ e.createElement(Sn, {
3605
3605
  className: "pds-button__tally",
3606
- label: f.label,
3607
- size: G,
3608
- type: f.type
3609
- })) : s, q = f ? /* @__PURE__ */ e.createElement("span", { className: `${j}__accordion-label` }, s, /* @__PURE__ */ e.createElement(Sn, {
3610
- className: `${j}__tally`,
3611
- label: f.label,
3606
+ label: p.label,
3607
+ size: q,
3608
+ type: p.type
3609
+ })) : c, ee = p ? /* @__PURE__ */ e.createElement("span", { className: `${N}__accordion-label` }, c, /* @__PURE__ */ e.createElement(Sn, {
3610
+ className: `${N}__tally`,
3611
+ label: p.label,
3612
3612
  size: "s",
3613
- type: f.type
3614
- })) : s;
3615
- if (i || (W = /* @__PURE__ */ e.createElement(Dn, {
3616
- ref: D.setReference,
3617
- "aria-controls": F,
3618
- "aria-expanded": T,
3613
+ type: p.type
3614
+ })) : c;
3615
+ if (i || (K = /* @__PURE__ */ e.createElement(Dn, {
3616
+ ref: O.setReference,
3617
+ "aria-controls": L,
3618
+ "aria-expanded": E,
3619
3619
  "aria-haspopup": "true",
3620
- className: Z([`${j}__trigger`, M ? `${j}__trigger--navbar` : null]),
3620
+ className: Z([`${N}__trigger`, P ? `${N}__trigger--navbar` : null]),
3621
3621
  disabled: n,
3622
3622
  displayType: "icon-end",
3623
3623
  iconName: "angleDown",
3624
- id: P,
3625
- isSplitButton: o,
3626
- label: K,
3627
- size: u,
3628
- statusDot: d,
3624
+ id: I,
3625
+ isSplitButton: s,
3626
+ label: J,
3627
+ size: d,
3628
+ statusDot: f,
3629
3629
  type: "button",
3630
- variant: N,
3631
- ...C({ onClick: z })
3630
+ variant: F,
3631
+ ...w({ onClick: V })
3632
3632
  })), i) {
3633
- let t = En(s);
3634
- W = /* @__PURE__ */ e.createElement(An, {
3635
- ref: D.setReference,
3636
- "aria-controls": F,
3637
- "aria-expanded": T,
3633
+ let t = En(c);
3634
+ K = /* @__PURE__ */ e.createElement(An, {
3635
+ ref: O.setReference,
3636
+ "aria-controls": L,
3637
+ "aria-expanded": E,
3638
3638
  "aria-haspopup": "true",
3639
3639
  ariaLabel: t,
3640
- className: `${j}__trigger ${j}__trigger--icon-only`,
3640
+ className: `${N}__trigger ${N}__trigger--icon-only`,
3641
3641
  disabled: n,
3642
3642
  hasTooltip: !1,
3643
3643
  iconName: r,
3644
- id: P,
3645
- size: u,
3644
+ id: I,
3645
+ size: d,
3646
3646
  type: "button",
3647
3647
  variant: "standard",
3648
- ...C({ onClick: z })
3648
+ ...w({ onClick: V })
3649
3649
  });
3650
3650
  }
3651
- let J = i ? /* @__PURE__ */ e.createElement("span", { className: `${j}__icon-label` }, /* @__PURE__ */ e.createElement(Q, { iconName: r }), " ", s) : q, ee = T ? `${j}--expanded` : null;
3651
+ let te = i ? /* @__PURE__ */ e.createElement("span", { className: `${N}__icon-label` }, /* @__PURE__ */ e.createElement(Q, { iconName: r }), " ", c) : ee, ne = E ? `${N}--expanded` : null;
3652
3652
  return /* @__PURE__ */ e.createElement("span", {
3653
3653
  className: Z([
3654
- j,
3655
- ee,
3654
+ N,
3655
+ ne,
3656
3656
  t
3657
3657
  ]),
3658
- "data-testid": p,
3659
- ..._
3660
- }, A ? /* @__PURE__ */ e.createElement(qn, {
3658
+ "data-testid": m,
3659
+ ...v
3660
+ }, M ? /* @__PURE__ */ e.createElement(qn, {
3661
3661
  disabled: n,
3662
- label: J
3662
+ label: te
3663
3663
  }, /* @__PURE__ */ e.createElement("ul", {
3664
- className: `${j}__mobile-menu`,
3664
+ className: `${N}__mobile-menu`,
3665
3665
  role: "menu"
3666
- }, c.map((e, t) => V(e, t)))) : /* @__PURE__ */ e.createElement(e.Fragment, null, W, w && /* @__PURE__ */ e.createElement(S, null, H(c))));
3666
+ }, l.map((e, t) => U(e, t)))) : /* @__PURE__ */ e.createElement(e.Fragment, null, K, T && /* @__PURE__ */ e.createElement(S, null, W(l))));
3667
3667
  }, nr = ({ border: t = !1, className: n, defaultValue: r, disabled: i = !1, iconOnly: a = !1, id: o, label: s, onChange: c, options: l, size: u = "m", value: d, ...f }) => {
3668
3668
  let p = "pds-segmented-button", m = u === "m" ? null : `${p}--${u}`, h = t ? `${p}--bordered` : null, _ = a ? `${p}--icon-only` : null;
3669
3669
  a && process.env.NODE_ENV !== "production" && l.some((e) => !e.iconName) && console.warn("[SegmentedButton] `iconOnly` mode requires every option to have an `iconName`. Options without one will render an empty segment.");
@@ -8734,7 +8734,9 @@ var Hr = {
8734
8734
  }, Hi = (e) => e.map((e) => `${Bi(e)}${e.links ? `[${Hi(e.links)}]` : ""}`).join("|"), Ui = (e) => {
8735
8735
  if (s(e)) {
8736
8736
  let t = e.type;
8737
- return t === "a" || typeof t == "string" && t.toLowerCase() === "a" || (typeof t == "function" || typeof t == "object") && t?.displayName === "Link";
8737
+ if (t === "a" || typeof t == "string" && t.toLowerCase() === "a" || (typeof t == "function" || typeof t == "object") && t?.displayName === "Link") return !0;
8738
+ let n = e.props;
8739
+ return n.to !== void 0 || n.href !== void 0;
8738
8740
  }
8739
8741
  return !1;
8740
8742
  }, Wi = (e, t) => {
@@ -9674,11 +9676,11 @@ var Hr = {
9674
9676
  offsetValue: 0,
9675
9677
  preferredPlacement: "top"
9676
9678
  }));
9677
- }, sa = ({ ariaLabel: t = "User menu", className: n, menuItems: r = [], onThemeChange: i, theme: a, themeLabel: o = "Theme", themeLabelStrings: s, userEmail: c, userImageSrc: l, userName: u, ...f }) => {
9678
- let [p, m] = g(null), [_, v] = g(!1), y = h([]), b = h([]), x = d(), C = "pds-user-menu", D = `${C}__menu`, { context: k, floatingStyles: N, refs: P } = M({
9679
+ }, sa = ({ ariaLabel: t = "User menu", className: n, isMobileAccordion: r = !1, menuItems: i = [], onThemeChange: a, theme: o, themeLabel: s = "Theme", themeLabelStrings: c, userEmail: l, userImageSrc: u, userName: f, ...p }) => {
9680
+ let [m, _] = g(null), [v, y] = g(!1), b = Xt(), x = r && b, C = h([]), D = h([]), k = d(), N = "pds-user-menu", P = `${N}__menu`, { context: F, floatingStyles: B, refs: V } = M({
9679
9681
  placement: "bottom-end",
9680
- open: _,
9681
- onOpenChange: v,
9682
+ open: v,
9683
+ onOpenChange: y,
9682
9684
  middleware: [
9683
9685
  E(12),
9684
9686
  T(),
@@ -9686,20 +9688,20 @@ var Hr = {
9686
9688
  ],
9687
9689
  whileElementsMounted: w,
9688
9690
  strategy: "fixed"
9689
- }), F = A(k, { event: "mousedown" }), B = j(k), V = R(k, { role: "menu" }), H = h([]), { getFloatingProps: U, getItemProps: W, getReferenceProps: G } = I([
9690
- B,
9691
- V,
9692
- F,
9693
- L(k, {
9694
- listRef: H,
9695
- activeIndex: p,
9696
- onNavigate: m,
9691
+ }), H = A(F, { event: "mousedown" }), U = j(F), W = R(F, { role: "menu" }), G = h([]), { getFloatingProps: K, getItemProps: q, getReferenceProps: J } = I([
9692
+ U,
9693
+ W,
9694
+ H,
9695
+ L(F, {
9696
+ listRef: G,
9697
+ activeIndex: m,
9698
+ onNavigate: _,
9697
9699
  loop: !0,
9698
9700
  openOnArrowKeyDown: !0,
9699
9701
  focusItemOnOpen: !1,
9700
9702
  focusItemOnHover: !0
9701
9703
  })
9702
- ]), { isMounted: K, styles: q } = z(k, {
9704
+ ]), { isMounted: ee, styles: te } = z(F, {
9703
9705
  duration: {
9704
9706
  open: 300,
9705
9707
  close: 150
@@ -9707,58 +9709,58 @@ var Hr = {
9707
9709
  initial: { opacity: 0 },
9708
9710
  open: { opacity: 1 },
9709
9711
  close: { opacity: 0 }
9710
- }), J = /* @__PURE__ */ e.createElement(bt, {
9712
+ }), ne = /* @__PURE__ */ e.createElement(bt, {
9711
9713
  hasUserFallback: !0,
9712
- className: `${C}__avatar`,
9713
- imageSrc: l,
9714
+ className: `${N}__avatar`,
9715
+ imageSrc: u,
9714
9716
  size: "s",
9715
- uniqueId: c
9716
- }), ee = /* @__PURE__ */ e.createElement("li", {
9717
- className: `${C}__user-details`,
9717
+ uniqueId: l
9718
+ }), re = /* @__PURE__ */ e.createElement("li", {
9719
+ className: `${N}__user-details`,
9718
9720
  role: "presentation"
9719
- }, /* @__PURE__ */ e.createElement("div", { className: `${C}__user-name` }, u), /* @__PURE__ */ e.createElement("div", { className: `${C}__user-email` }, c)), te = a !== void 0 && typeof i == "function" ? /* @__PURE__ */ e.createElement("li", {
9720
- className: `${C}__theme-row`,
9721
+ }, /* @__PURE__ */ e.createElement("div", { className: `${N}__user-name` }, f), /* @__PURE__ */ e.createElement("div", { className: `${N}__user-email` }, l)), ie = o !== void 0 && typeof a == "function" ? /* @__PURE__ */ e.createElement("li", {
9722
+ className: `${N}__theme-row`,
9721
9723
  role: "presentation"
9722
- }, /* @__PURE__ */ e.createElement("span", { className: `${C}__theme-label` }, o), /* @__PURE__ */ e.createElement(oa, {
9723
- id: `${x}-theme`,
9724
- labelStrings: s,
9725
- onChange: i,
9724
+ }, /* @__PURE__ */ e.createElement("span", { className: `${N}__theme-label` }, s), /* @__PURE__ */ e.createElement(oa, {
9725
+ id: `${k}-theme`,
9726
+ labelStrings: c,
9727
+ onChange: a,
9726
9728
  size: "s",
9727
- theme: a,
9729
+ theme: o,
9728
9730
  variant: "toggle"
9729
9731
  })) : null;
9730
- r.forEach((e, t) => {
9731
- let n = e.id ? e.id : `${x}-item-${t}`;
9732
- y.current.push(n), b.current.push(e);
9732
+ i.forEach((e, t) => {
9733
+ let n = e.id ? e.id : `${k}-item-${t}`;
9734
+ C.current.push(n), D.current.push(e);
9733
9735
  });
9734
- let ne = (e) => {
9735
- let t = y.current.indexOf(e), n = b.current[t];
9736
- n.linkContent && !n.disabled && (H.current[t].querySelector("a").click(), v(!1)), n.callback && !n.disabled && (n.callback(), v(!1));
9737
- }, re = (e) => {
9738
- e.preventDefault(), e.key === "Enter" && ne(e.currentTarget.id);
9739
- }, ie = (e) => {
9740
- ne(e.currentTarget.id);
9741
- }, ae = r.map((t, n) => {
9742
- let r = y.current[n], i = `${C}__item`, a = t.disabled ? `${i}--disabled` : null;
9736
+ let ae = (e) => {
9737
+ let t = C.current.indexOf(e), n = D.current[t];
9738
+ n.linkContent && !n.disabled && (G.current[t].querySelector("a").click(), y(!1)), n.callback && !n.disabled && (n.callback(), y(!1));
9739
+ }, oe = (e) => {
9740
+ e.preventDefault(), e.key === "Enter" && ae(e.currentTarget.id);
9741
+ }, Y = (e) => {
9742
+ ae(e.currentTarget.id);
9743
+ }, se = i.map((t, n) => {
9744
+ let r = C.current[n], i = `${N}__item`, a = t.disabled ? `${i}--disabled` : null;
9743
9745
  return /* @__PURE__ */ e.createElement("li", {
9744
9746
  key: r,
9745
9747
  ref: (e) => {
9746
- H.current[n] = e;
9748
+ G.current[n] = e;
9747
9749
  },
9748
9750
  "aria-disabled": t.disabled || void 0,
9749
9751
  className: Z([i, a]),
9750
9752
  id: r,
9751
- onKeyDown: re,
9753
+ onKeyDown: oe,
9752
9754
  role: "menuitem",
9753
- tabIndex: p === n ? 0 : -1,
9754
- ...W({ onClick: (e) => ie(e) })
9755
+ tabIndex: m === n ? 0 : -1,
9756
+ ...q({ onClick: (e) => Y(e) })
9755
9757
  }, t.linkContent ? t.linkContent : t.label, t.iconName && /* @__PURE__ */ e.createElement(Q, {
9756
- className: `${C}__icon`,
9758
+ className: `${N}__icon`,
9757
9759
  iconName: t.iconName,
9758
9760
  size: "m"
9759
9761
  }));
9760
- }), oe = r.map((t, n) => {
9761
- let r = y.current[n], i = `${C}__item`, a = t.disabled ? `${i}--disabled` : null;
9762
+ }), X = i.map((t, n) => {
9763
+ let r = C.current[n], i = `${N}__item`, a = t.disabled ? `${i}--disabled` : null;
9762
9764
  return /* @__PURE__ */ e.createElement("li", {
9763
9765
  key: r,
9764
9766
  "aria-disabled": t.disabled || void 0,
@@ -9769,44 +9771,44 @@ var Hr = {
9769
9771
  },
9770
9772
  role: "menuitem"
9771
9773
  }, t.linkContent ? t.linkContent : t.label, t.iconName && /* @__PURE__ */ e.createElement(Q, {
9772
- className: `${C}__icon`,
9774
+ className: `${N}__icon`,
9773
9775
  iconName: t.iconName,
9774
9776
  size: "m"
9775
9777
  }));
9776
- }), Y = /* @__PURE__ */ e.createElement("span", { className: `${C}__toggle-left` }, J, u ?? c);
9778
+ }), ce = /* @__PURE__ */ e.createElement("span", { className: `${N}__toggle-left` }, ne, f ?? l);
9777
9779
  return /* @__PURE__ */ e.createElement("span", {
9778
- className: Z([C, n ?? ""]),
9779
- ...f
9780
- }, /* @__PURE__ */ e.createElement(qn, { label: Y }, /* @__PURE__ */ e.createElement("ul", {
9781
- className: Z([D, `${D}--mobile`]),
9780
+ className: Z([N, n ?? ""]),
9781
+ ...p
9782
+ }, x ? /* @__PURE__ */ e.createElement(qn, { label: ce }, /* @__PURE__ */ e.createElement("ul", {
9783
+ className: Z([P, `${P}--mobile`]),
9782
9784
  role: "menu"
9783
- }, ee, /* @__PURE__ */ e.createElement("li", { role: "separator" }), te, oe)), /* @__PURE__ */ e.createElement("button", {
9784
- ref: P.setReference,
9785
+ }, re, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ie, X)) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
9786
+ ref: V.setReference,
9785
9787
  "aria-label": t,
9786
- className: `${C}__trigger`,
9788
+ className: `${N}__trigger`,
9787
9789
  type: "button",
9788
- ...G()
9789
- }, J), K && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
9790
- ref: P.setFloating,
9791
- className: `${C}__dropdown`,
9790
+ ...J()
9791
+ }, ne), ee && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
9792
+ ref: V.setFloating,
9793
+ className: `${N}__dropdown`,
9792
9794
  style: {
9793
- ...N,
9795
+ ...B,
9794
9796
  zIndex: "var(--pds-z-index-dropdown)"
9795
9797
  },
9796
- ...U()
9797
- }, /* @__PURE__ */ e.createElement("div", { style: { ...q } }, /* @__PURE__ */ e.createElement("ul", {
9798
- className: D,
9798
+ ...K()
9799
+ }, /* @__PURE__ */ e.createElement("div", { style: { ...te } }, /* @__PURE__ */ e.createElement("ul", {
9800
+ className: P,
9799
9801
  role: "menu"
9800
- }, ee, /* @__PURE__ */ e.createElement("li", { role: "separator" }), te, ae)))));
9801
- }, ca = ({ ariaLabel: t = "Workspace selector menu", className: n, createWorkspaceLink: r, filterLabel: i = "Filter workspaces", filterPlaceholder: a = "Find workspace...", menuHeading: o = "Workspaces", minFilterItems: s = 8, noResultsText: c = "No results found", workspaceList: l = [], ...u }) => {
9802
- let [d, f] = g(""), [_, v] = g(""), y = h(null), b = l.length >= s, x = "pds-workspace-selector", C = `${x}__menu`, w = b ? `${C}--scroll` : null, { activeIndex: T, floatingStyles: E, getFloatingProps: D, getItemProps: O, getReferenceProps: k, isMounted: A, listRef: j, refs: M, setIsOpen: N, transitionStyles: P } = Pn({
9803
- enableTypeahead: !b,
9802
+ }, re, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ie, se))))));
9803
+ }, ca = ({ ariaLabel: t = "Workspace selector menu", className: n, createWorkspaceLink: r, filterLabel: i = "Filter workspaces", filterPlaceholder: a = "Find workspace...", isMobileAccordion: o = !1, menuHeading: s = "Workspaces", minFilterItems: c = 8, noResultsText: l = "No results found", workspaceList: u = [], ...d }) => {
9804
+ let [f, _] = g(""), [v, y] = g(""), b = h(null), x = u.length >= c, C = Xt(), w = o && C, T = "pds-workspace-selector", E = `${T}__menu`, D = x ? `${E}--scroll` : null, { activeIndex: O, floatingStyles: k, getFloatingProps: A, getItemProps: j, getReferenceProps: M, isMounted: N, listRef: P, refs: F, setIsOpen: I, transitionStyles: L } = Pn({
9805
+ enableTypeahead: !x,
9804
9806
  role: "menu"
9805
- }), F = l.find((e) => e.isActive);
9806
- F || (F = l[0]);
9807
- let I = h(null);
9807
+ }), R = u.find((e) => e.isActive);
9808
+ R || (R = u[0]);
9809
+ let z = h(null);
9808
9810
  p(() => {
9809
- let e = I.current, t = e?.parentElement;
9811
+ let e = z.current, t = e?.parentElement;
9810
9812
  if (!e || !t) return;
9811
9813
  let n = () => {
9812
9814
  t.style.width = "";
@@ -9816,28 +9818,28 @@ var Hr = {
9816
9818
  i > 0 && (t.style.width = `${Math.ceil(i)}px`);
9817
9819
  };
9818
9820
  n(), document.fonts?.ready.then(n);
9819
- }, [F?.displayName]);
9820
- let L = m(() => {
9821
- if (!d) return l;
9822
- let e = d.toLowerCase();
9823
- return l.filter((t) => t.displayName?.toLowerCase().includes(e));
9824
- }, [l, d]), R = m(() => {
9825
- if (!_) return l;
9826
- let e = _.toLowerCase();
9827
- return l.filter((t) => t.displayName?.toLowerCase().includes(e));
9828
- }, [l, _]), z = (e) => {
9829
- e.preventDefault(), e.key === "Enter" && (j.current[T]?.querySelector("a") || j.current[T]?.querySelector("button"))?.click(), e.key === "Tab" && (e.shiftKey ? b ? document.getElementById("workspace-filter")?.focus() : N(!1) : r ? y.current?.querySelector("a")?.focus() : N(!1));
9830
- }, B = (t) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${x}__item-content` }, /* @__PURE__ */ e.createElement(bt, {
9831
- className: `${x}__list-avatar`,
9821
+ }, [R?.displayName]);
9822
+ let B = m(() => {
9823
+ if (!f) return u;
9824
+ let e = f.toLowerCase();
9825
+ return u.filter((t) => t.displayName?.toLowerCase().includes(e));
9826
+ }, [u, f]), V = m(() => {
9827
+ if (!v) return u;
9828
+ let e = v.toLowerCase();
9829
+ return u.filter((t) => t.displayName?.toLowerCase().includes(e));
9830
+ }, [u, v]), H = (e) => {
9831
+ e.preventDefault(), e.key === "Enter" && (P.current[O]?.querySelector("a") || P.current[O]?.querySelector("button"))?.click(), e.key === "Tab" && (e.shiftKey ? x ? document.getElementById("workspace-filter")?.focus() : I(!1) : r ? b.current?.querySelector("a")?.focus() : I(!1));
9832
+ }, U = (t) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${T}__item-content` }, /* @__PURE__ */ e.createElement(bt, {
9833
+ className: `${T}__list-avatar`,
9832
9834
  imageSrc: t.imageSrc,
9833
9835
  size: "s",
9834
9836
  uniqueId: t.workspaceId
9835
- }), t.displayName, t.isRestricted && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.restrictedLabel ?? "Restricted")), (t.isRestricted || t.isActive) && /* @__PURE__ */ e.createElement("div", { className: `${x}__icons` }, t.isRestricted && /* @__PURE__ */ e.createElement(Q, {
9836
- className: `${x}__lock-icon`,
9837
+ }), t.displayName, t.isRestricted && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, t.restrictedLabel ?? "Restricted")), (t.isRestricted || t.isActive) && /* @__PURE__ */ e.createElement("div", { className: `${T}__icons` }, t.isRestricted && /* @__PURE__ */ e.createElement(Q, {
9838
+ className: `${T}__lock-icon`,
9837
9839
  iconName: "lock"
9838
- }), t.isActive && /* @__PURE__ */ e.createElement(Gn, null))), V = L.map((t, n) => {
9839
- let r = `${x}__item`, i = t.workspaceId, a = t.isRestricted && t.onRestrictedSelection, o = t.workspaceLink?.type, s = t.isUnprivileged ? null : (e) => {
9840
- j.current[n] = e;
9840
+ }), t.isActive && /* @__PURE__ */ e.createElement(Gn, null))), W = B.map((t, n) => {
9841
+ let r = `${T}__item`, i = t.workspaceId, a = t.isRestricted && t.onRestrictedSelection, o = t.workspaceLink?.type, s = t.isUnprivileged ? null : (e) => {
9842
+ P.current[n] = e;
9841
9843
  };
9842
9844
  return /* @__PURE__ */ e.createElement("li", {
9843
9845
  key: i,
@@ -9851,18 +9853,18 @@ var Hr = {
9851
9853
  t.isRestricted ? `${r}--restricted` : null
9852
9854
  ]),
9853
9855
  id: i,
9854
- onKeyDown: z,
9856
+ onKeyDown: H,
9855
9857
  role: "menuitem",
9856
- tabIndex: T === n ? 0 : -1,
9857
- ...O()
9858
+ tabIndex: O === n ? 0 : -1,
9859
+ ...j()
9858
9860
  }, a ? /* @__PURE__ */ e.createElement("button", {
9859
9861
  onClick: () => {
9860
- t.onRestrictedSelection(), N(!1);
9862
+ t.onRestrictedSelection(), I(!1);
9861
9863
  },
9862
9864
  type: "button"
9863
- }, B(t)) : o ? /* @__PURE__ */ e.createElement(o, Object.assign({}, t.workspaceLink.props, { onClick: () => N(!1) }), B(t)) : null);
9864
- }), H = R.map((t) => {
9865
- let n = `${x}__item`, r = t.workspaceId, i = t.isRestricted && t.onRestrictedSelection, a = t.workspaceLink?.type;
9865
+ }, U(t)) : o ? /* @__PURE__ */ e.createElement(o, Object.assign({}, t.workspaceLink.props, { onClick: () => I(!1) }), U(t)) : null);
9866
+ }), G = V.map((t) => {
9867
+ let n = `${T}__item`, r = t.workspaceId, i = t.isRestricted && t.onRestrictedSelection, a = t.workspaceLink?.type;
9866
9868
  return /* @__PURE__ */ e.createElement("li", {
9867
9869
  key: `${r}-accordion`,
9868
9870
  className: Z([
@@ -9878,82 +9880,82 @@ var Hr = {
9878
9880
  }, i ? /* @__PURE__ */ e.createElement("button", {
9879
9881
  onClick: () => t.onRestrictedSelection(),
9880
9882
  type: "button"
9881
- }, B(t)) : a ? /* @__PURE__ */ e.createElement(a, Object.assign({}, t.workspaceLink?.props), B(t)) : null);
9882
- }), U = r && /* @__PURE__ */ e.createElement("div", {
9883
- ref: y,
9884
- className: `${x}__create-link`
9883
+ }, U(t)) : a ? /* @__PURE__ */ e.createElement(a, Object.assign({}, t.workspaceLink?.props), U(t)) : null);
9884
+ }), K = r && /* @__PURE__ */ e.createElement("div", {
9885
+ ref: b,
9886
+ className: `${T}__create-link`
9885
9887
  }, /* @__PURE__ */ e.createElement("span", {
9886
- className: `${x}__create-link-inner`,
9887
- onBlur: () => N(!1),
9888
- onClick: () => N(!1)
9888
+ className: `${T}__create-link-inner`,
9889
+ onBlur: () => I(!1),
9890
+ onClick: () => I(!1)
9889
9891
  }, r, /* @__PURE__ */ e.createElement(Q, {
9890
9892
  iconName: "plus",
9891
9893
  size: "s"
9892
- }))), W = (t) => F ? /* @__PURE__ */ e.createElement("div", { className: `${x}__button-content` }, /* @__PURE__ */ e.createElement(bt, {
9893
- className: `${x}__avatar`,
9894
- imageSrc: F.imageSrc,
9894
+ }))), q = (t) => R ? /* @__PURE__ */ e.createElement("div", { className: `${T}__button-content` }, /* @__PURE__ */ e.createElement(bt, {
9895
+ className: `${T}__avatar`,
9896
+ imageSrc: R.imageSrc,
9895
9897
  size: "s",
9896
- uniqueId: F.workspaceId
9897
- }), /* @__PURE__ */ e.createElement("span", { className: `${x}__name` }, /* @__PURE__ */ e.createElement("span", {
9898
+ uniqueId: R.workspaceId
9899
+ }), /* @__PURE__ */ e.createElement("span", { className: `${T}__name` }, /* @__PURE__ */ e.createElement("span", {
9898
9900
  ref: t,
9899
- className: `${x}__name-text`
9900
- }, F.displayName))) : null;
9901
+ className: `${T}__name-text`
9902
+ }, R.displayName))) : null;
9901
9903
  return /* @__PURE__ */ e.createElement("span", {
9902
- className: Z([x, n]),
9903
- ...u
9904
- }, /* @__PURE__ */ e.createElement(qn, { label: W() }, b && /* @__PURE__ */ e.createElement("div", { className: `${x}__filter` }, /* @__PURE__ */ e.createElement(Mi, {
9904
+ className: Z([T, n]),
9905
+ ...d
9906
+ }, w ? /* @__PURE__ */ e.createElement(qn, { label: q() }, x && /* @__PURE__ */ e.createElement("div", { className: `${T}__filter` }, /* @__PURE__ */ e.createElement(Mi, {
9905
9907
  hasClearButton: !0,
9906
9908
  id: "workspace-filter-mobile",
9907
9909
  label: i,
9908
- onChange: (e) => v(e.target.value),
9909
- onClear: () => v(""),
9910
+ onChange: (e) => y(e.target.value),
9911
+ onClear: () => y(""),
9910
9912
  placeholder: a,
9911
9913
  showLabel: !1,
9912
9914
  type: "search"
9913
9915
  })), /* @__PURE__ */ e.createElement("ul", {
9914
- className: Z([C, `${C}--mobile`]),
9916
+ className: Z([E, `${E}--mobile`]),
9915
9917
  role: "menu"
9916
9918
  }, /* @__PURE__ */ e.createElement("li", {
9917
- className: `pds-dropdown__heading ${x}__item-heading`,
9919
+ className: `pds-dropdown__heading ${T}__item-heading`,
9918
9920
  role: "presentation"
9919
- }, o), H.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, c) : H), r && /* @__PURE__ */ e.createElement("div", { className: `${x}__create-link` }, /* @__PURE__ */ e.createElement("span", { className: `${x}__create-link-inner` }, r, /* @__PURE__ */ e.createElement(Q, {
9921
+ }, s), G.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, l) : G), r && /* @__PURE__ */ e.createElement("div", { className: `${T}__create-link` }, /* @__PURE__ */ e.createElement("span", { className: `${T}__create-link-inner` }, r, /* @__PURE__ */ e.createElement(Q, {
9920
9922
  iconName: "plus",
9921
9923
  size: "s"
9922
- })))), /* @__PURE__ */ e.createElement("button", {
9923
- ref: M.setReference,
9924
+ })))) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
9925
+ ref: F.setReference,
9924
9926
  "aria-label": t,
9925
- className: `${x}__trigger`,
9927
+ className: `${T}__trigger`,
9926
9928
  type: "button",
9927
- ...k()
9928
- }, W(I), /* @__PURE__ */ e.createElement(Q, {
9929
- className: `${x}__trigger-icon`,
9929
+ ...M()
9930
+ }, q(z), /* @__PURE__ */ e.createElement(Q, {
9931
+ className: `${T}__trigger-icon`,
9930
9932
  iconName: "angleDown",
9931
9933
  size: "m"
9932
- })), A && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
9933
- ref: M.setFloating,
9934
- className: `pds-dropdown__panel ${x}__dropdown`,
9934
+ })), N && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
9935
+ ref: F.setFloating,
9936
+ className: `pds-dropdown__panel ${T}__dropdown`,
9935
9937
  style: {
9936
- ...E,
9937
- ...P,
9938
+ ...k,
9939
+ ...L,
9938
9940
  zIndex: "var(--pds-z-index-dropdown)"
9939
9941
  },
9940
- ...D()
9941
- }, b && /* @__PURE__ */ e.createElement("div", { className: `${x}__filter` }, /* @__PURE__ */ e.createElement(Mi, {
9942
+ ...A()
9943
+ }, x && /* @__PURE__ */ e.createElement("div", { className: `${T}__filter` }, /* @__PURE__ */ e.createElement(Mi, {
9942
9944
  hasClearButton: !0,
9943
9945
  id: "workspace-filter",
9944
9946
  label: i,
9945
- onChange: (e) => f(e.target.value),
9946
- onClear: () => f(""),
9947
+ onChange: (e) => _(e.target.value),
9948
+ onClear: () => _(""),
9947
9949
  placeholder: a,
9948
9950
  showLabel: !1,
9949
9951
  type: "search"
9950
9952
  })), /* @__PURE__ */ e.createElement("ul", {
9951
- className: Z([C, w]),
9953
+ className: Z([E, D]),
9952
9954
  role: "menu"
9953
9955
  }, /* @__PURE__ */ e.createElement("li", {
9954
- className: `pds-dropdown__heading ${x}__item-heading`,
9956
+ className: `pds-dropdown__heading ${T}__item-heading`,
9955
9957
  role: "presentation"
9956
- }, o), V.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, c) : V), U)));
9958
+ }, s), W.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, l) : W), K))));
9957
9959
  }, la = {
9958
9960
  info: "circleInfo",
9959
9961
  warning: "triangleExclamation",