@pantheon-systems/pds-toolkit-react 2.0.0-alpha.83 → 2.0.0-alpha.84

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
@@ -9877,7 +9877,7 @@ var Xr = {
9877
9877
  hasUserFallback: !0,
9878
9878
  className: `${A}__avatar`,
9879
9879
  imageSrc: u,
9880
- size: "s",
9880
+ size: "m",
9881
9881
  uniqueId: l
9882
9882
  }), ae = /* @__PURE__ */ e.createElement("li", {
9883
9883
  className: `${A}__user-details`,
@@ -9996,7 +9996,7 @@ var Xr = {
9996
9996
  }, W = (t) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${T}__item-content` }, /* @__PURE__ */ e.createElement(ci, {
9997
9997
  className: `${T}__list-avatar`,
9998
9998
  imageSrc: t.imageSrc,
9999
- size: "s",
9999
+ size: "m",
10000
10000
  uniqueId: t.workspaceId
10001
10001
  }), 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, {
10002
10002
  className: `${T}__lock-icon`,
@@ -10058,7 +10058,7 @@ var Xr = {
10058
10058
  }))), q = (t) => z ? /* @__PURE__ */ e.createElement("div", { className: `${T}__button-content` }, /* @__PURE__ */ e.createElement(ci, {
10059
10059
  className: `${T}__avatar`,
10060
10060
  imageSrc: z.imageSrc,
10061
- size: "s",
10061
+ size: "m",
10062
10062
  uniqueId: z.workspaceId
10063
10063
  }), /* @__PURE__ */ e.createElement("span", { className: `${T}__name` }, /* @__PURE__ */ e.createElement("span", {
10064
10064
  ref: t,
@@ -10509,20 +10509,21 @@ var Xr = {
10509
10509
  }))), /* @__PURE__ */ e.createElement("div", { className: `${x}__content` }, y), b && /* @__PURE__ */ e.createElement("div", { className: `${x}__footer` }, b)))))) : null;
10510
10510
  }, Ga = ({ children: t, className: n, clearLabel: r = "Clear selection", count: i, getCountLabel: a = (e) => `${e} selected`, onClear: o, ...s }) => {
10511
10511
  let c = "pds-bulk-action-bar";
10512
- return /* @__PURE__ */ e.createElement("div", {
10512
+ return /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
10513
10513
  className: Z([c, n ?? ""]),
10514
10514
  ...s
10515
- }, /* @__PURE__ */ e.createElement("span", {
10515
+ }, /* @__PURE__ */ e.createElement("div", { className: `${c}__top-row` }, /* @__PURE__ */ e.createElement("span", {
10516
10516
  "aria-live": "polite",
10517
10517
  className: `${c}__count`,
10518
10518
  role: "status"
10519
- }, a(i)), /* @__PURE__ */ e.createElement("div", { className: `${c}__actions` }, t), /* @__PURE__ */ e.createElement(jn, {
10519
+ }, a(i)), /* @__PURE__ */ e.createElement(jn, {
10520
10520
  ariaLabel: r,
10521
+ className: `${c}__close`,
10521
10522
  iconName: "xmarkLarge",
10522
10523
  onClick: o,
10523
10524
  size: "s",
10524
10525
  variant: "reverse"
10525
- }));
10526
+ })), /* @__PURE__ */ e.createElement("div", { className: `${c}__actions` }, t)));
10526
10527
  }, Ka = ({ ariaLabel: t, children: n, className: r, closeButtonLabel: i = "Close drawer", disableOutsideClick: a, hasCloseButton: o = !0, isOpen: s = !1, placement: l = "right", setIsOpen: d = () => {}, size: f = "m", title: p, width: m, ..._ }) => {
10527
10528
  let v = gt(n), y = v.__unslotted, b = v.footer, x = "pds-drawer", C = m ? null : `${x}--${f}`, w = `${x}--${l}`, T = m ? { width: m } : void 0, [E, D] = g(s), [O, k] = g(!1), A = h(null), { closeOverlay: j, openOverlay: M } = tn();
10528
10529
  u(() => {
@@ -12501,7 +12502,7 @@ var Ho = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12501
12502
  })), /* @__PURE__ */ e.createElement("span", { className: Z([`${Y}__sort-button-bottom`, st(t.id, "bottom")]) }, /* @__PURE__ */ e.createElement(Q, {
12502
12503
  iconName: "caretDown",
12503
12504
  size: "m"
12504
- })))) : /* @__PURE__ */ e.createElement("span", null, t.header))))), /* @__PURE__ */ e.createElement("tbody", null, A ? Array.from({ length: N }, (e, t) => pt(t)) : it.length === 0 ? mt() : it.map((e, t) => ht(e, t))))), ye && !A && be && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__pagination", de ? "pds-table-wrapper__pagination--center" : null]) }, W && W.length > 0 && /* @__PURE__ */ e.createElement(Cr, {
12505
+ })))) : /* @__PURE__ */ e.createElement("span", null, t.header))))), /* @__PURE__ */ e.createElement("tbody", null, A ? Array.from({ length: N }, (e, t) => pt(t)) : it.length === 0 ? mt() : it.map((e, t) => ht(e, t))))), ye && !A && be && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__pagination", de && !(W && W.length > 0) ? "pds-table-wrapper__pagination--center" : null]) }, W && W.length > 0 && /* @__PURE__ */ e.createElement(Cr, {
12505
12506
  autoWidth: !0,
12506
12507
  id: le,
12507
12508
  label: G,