@pantheon-systems/pds-toolkit-react 2.0.0-alpha.85 → 2.0.0-alpha.86

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,7 +1,7 @@
1
1
  import e, { Children as t, Fragment as n, cloneElement as r, createContext as i, createElement as a, forwardRef as o, isValidElement as s, useCallback as c, useContext as l, useEffect as u, useId as d, useImperativeHandle as f, useLayoutEffect as p, useMemo as m, useRef as h, useState as g, useSyncExternalStore as _ } from "react";
2
2
  import { FloatingArrow as v, FloatingFocusManager as y, FloatingNode as b, FloatingOverlay as x, FloatingPortal as S, FloatingTree as C, arrow as w, autoUpdate as T, flip as E, offset as D, safePolygon as O, shift as k, size as A, useClick as j, useDismiss as M, useFloating as N, useFloatingNodeId as P, useFloatingParentNodeId as F, useFocus as I, useHover as L, useId as R, useInteractions as z, useListNavigation as B, useMergeRefs as V, useRole as H, useTransitionStyles as U, useTypeahead as W } from "@floating-ui/react";
3
3
  import { useHotkeys as G } from "react-hotkeys-hook";
4
- import { Bar as ee, BarChart as K, CartesianGrid as q, Cell as J, Line as te, LineChart as ne, Pie as re, PieChart as ie, Rectangle as ae, ReferenceLine as Y, ResponsiveContainer as oe, Tooltip as se, XAxis as ce, YAxis as le } from "recharts";
4
+ import { Bar as K, BarChart as q, CartesianGrid as J, Cell as ee, Line as te, LineChart as ne, Pie as re, PieChart as ie, Rectangle as ae, ReferenceLine as oe, ResponsiveContainer as se, Tooltip as ce, XAxis as le, YAxis as Y } from "recharts";
5
5
  import { CodeBlock as ue } from "react-code-block";
6
6
  import de from "hash-sum";
7
7
  import { useCombobox as fe, useMultipleSelection as pe } from "downshift";
@@ -2364,7 +2364,7 @@ var st = Object.create, ct = Object.defineProperty, lt = Object.getOwnPropertyDe
2364
2364
  svgPathData: "M549.7 124.1C543.5 100.4 524.9 81.8 501.4 75.5 458.9 64 288.1 64 288.1 64S117.3 64 74.7 75.5C51.2 81.8 32.7 100.4 26.4 124.1 15 167 15 256.4 15 256.4s0 89.4 11.4 132.3c6.3 23.6 24.8 41.5 48.3 47.8 42.6 11.5 213.4 11.5 213.4 11.5s170.8 0 213.4-11.5c23.5-6.3 42-24.2 48.3-47.8 11.4-42.9 11.4-132.3 11.4-132.3s0-89.4-11.4-132.3zM232.2 337.6l0-162.4 142.7 81.2-142.7 81.2z",
2365
2365
  width: 576
2366
2366
  }
2367
- }, xt = /* @__PURE__ */ "angleDown.angleLeft.angleRight.anglesDown.anglesLeft.anglesRight.anglesUp.angleUp.arrowDownToLine.arrowDownWideShort.arrowLeft.arrowRight.arrowsRetweet.arrowUpShortWide.asterisk.banBug.bars.barsFilter.barsStaggered.bell.billboard.bitbucket.bluesky.bolt.boltPantheon.boltSolid.book.bookmark.bookmarkSolid.books.box.bracketRight.bracketsSquare.brainCircuit.broomWide.building.buildings.bullhorn.calendarDays.caretDown.caretLeft.caretRight.caretUp.ccAmex.ccApplePay.ccDiscover.ccGeneric.ccMC.ccPaypal.ccVisa.chartLine.chartNetwork.chartSimple.check.circle.circleCheck.circleExclamation.circleExclamationSolid.circleHalfStroke.circleInfo.circleInfoSolid.circleMinus.circleNotch.circlePlus.circleQuestion.circleQuestionSolid.circleUser.circleXmark.claude.clock.cloud.cloudArrowDown.cloudArrowUp.cloudPlus.code.codeBranch.codeMerge.collapseToCenter.command.comment.compress.copy.desktop.diagramVenn.diamondExclamation.diamonds4.discourse.display.dollarSign.download.drupal.ellipsis.ellipsisVertical.emptySet.envelope.envelopeOpen.exclamation.expand.expandFromCenter.externalLink.eye.eyeSlash.facebook.file.fileCheck.fileContract.fileCSV.fileDiff.fileExport.fileImport.fileLines.filePDF.fileZip.floppyDisk.folder.folders.folderTree.gear.gem.github.gitlab.globe.graduationCap.grid.grid2.gripDots.gripDotsVertical.heart.heartSolid.house.idCard.image.inputText.instagram.keySkeleton.landmark.laptop.laptopCode.leaf.lifeRing.link.linkedin.listCheck.locationCrosshairs.lock.lockOpen.magnifyingGlass.medal.memo.messages.minus.moon.move.nextJs.octagonExclamation.openai.paperclip.paperPlane.pause.pen.penField.penPaintbrush.phone.play.plus.question.quotesLeft.quotesRight.rectangleList.reply.robot.rocketLaunch.rotate.rotateClock.rotateLeft.rotateRight.rss.save.server.shareNodes.shield.shieldQuartered.shovel.sidebar.siren.sirenOn.sitemap.slack.slashForward.slider.slidersSimple.snowflake.sparkles.squareCheck.squareCode.squareDashed.squareMinus.squarePen.squareQuestion.squareTerminal.star.starSolid.sun.sunBright.table.tableColumns.tableRows.terminal.text.threads.thumbsDown.thumbsUp.trash.triangleExclamation.twitter.unlink.upload.user.userAstronaut.userGear.userPlus.users.userSolid.video.wavePulse.windowRestore.wordpress.wreathLaurel.wrench.xmark.xmarkLarge.xTwitter.youtube".split("."), Q = ({ className: t, display: n = "inline-block", iconName: r, size: i = "l", style: a, verticalAlign: o = "middle", ...s }) => {
2367
+ }, xt = /* @__PURE__ */ "angleDown.angleLeft.angleRight.anglesDown.anglesLeft.anglesRight.anglesUp.angleUp.arrowDownToLine.arrowDownWideShort.arrowLeft.arrowRight.arrowsRetweet.arrowUpShortWide.asterisk.banBug.bars.barsFilter.barsStaggered.bell.billboard.bitbucket.bluesky.bolt.boltPantheon.boltSolid.book.bookmark.bookmarkSolid.books.box.bracketRight.bracketsSquare.brainCircuit.broomWide.building.buildings.bullhorn.calendarDays.caretDown.caretLeft.caretRight.caretUp.ccAmex.ccApplePay.ccDiscover.ccGeneric.ccMC.ccPaypal.ccVisa.chartLine.chartNetwork.chartSimple.check.circle.circleCheck.circleExclamation.circleExclamationSolid.circleHalfStroke.circleInfo.circleInfoSolid.circleMinus.circleNotch.circlePlus.circleQuestion.circleQuestionSolid.circleUser.circleXmark.claude.clock.cloud.cloudArrowDown.cloudArrowUp.cloudPlus.code.codeBranch.codeMerge.collapseToCenter.command.comment.compress.copy.desktop.diagramVenn.diamondExclamation.diamonds4.discourse.display.dollarSign.download.drupal.ellipsis.ellipsisVertical.emptySet.envelope.envelopeOpen.exclamation.expand.expandFromCenter.externalLink.eye.eyeSlash.facebook.file.fileCheck.fileContract.fileCSV.fileDiff.fileExport.fileImport.fileLines.filePDF.fileZip.floppyDisk.folder.folders.folderTree.gear.gem.github.gitlab.globe.graduationCap.grid.grid2.gripDots.gripDotsVertical.heart.heartSolid.house.idCard.image.inputText.instagram.keySkeleton.landmark.laptop.laptopCode.leaf.lifeRing.link.linkedin.listCheck.locationCrosshairs.lock.lockOpen.magnifyingGlass.medal.memo.messages.minus.moon.move.nextJs.octagonExclamation.openai.paperclip.paperPlane.pause.pen.penField.penPaintbrush.phone.play.plus.question.quotesLeft.quotesRight.rectangleList.reply.robot.rocketLaunch.rotate.rotateClock.rotateLeft.rotateRight.rss.save.server.shareNodes.shield.shieldQuartered.shovel.sidebar.siren.sirenOn.sitemap.slack.slashForward.slider.slidersSimple.snowflake.sparkles.squareCheck.squareCode.squareDashed.squareMinus.squarePen.squareQuestion.squareTerminal.star.starSolid.sun.sunBright.table.tableColumns.tableRows.terminal.text.threads.thumbsDown.thumbsUp.trash.triangleExclamation.twitter.unlink.upload.user.userAstronaut.userGear.userPlus.users.userSolid.video.wavePulse.windowRestore.wordpress.wreathLaurel.wrench.xmark.xmarkLarge.xTwitter.youtube".split("."), Q = ({ className: t, display: n = "inline-block", iconName: r, size: i = "xl", style: a, verticalAlign: o = "middle", ...s }) => {
2368
2368
  let c = "pds-icon", l = `${c} ${c}--${i} ${c}--${r}`, u = bt[r], d = `0 0 ${u.width} ${u.height}`, f = r in yt ? yt[r] : null, p;
2369
2369
  if (f?.type === "complex") p = f.render();
2370
2370
  else {
@@ -2395,8 +2395,8 @@ var st = Object.create, ct = Object.defineProperty, lt = Object.getOwnPropertyDe
2395
2395
  ...s
2396
2396
  }, p);
2397
2397
  }, St = {
2398
- xs: "s",
2399
- s: "s",
2398
+ xs: "xs",
2399
+ s: "xs",
2400
2400
  m: "m"
2401
2401
  }, Ct = ({ className: t, color: n = "brand-muted", iconName: r, label: i, size: a = "s", ...o }) => {
2402
2402
  let s = "pds-badge", c = `${s}--${n}`, l = `${s}--${a}`;
@@ -2562,7 +2562,7 @@ var st = Object.create, ct = Object.defineProperty, lt = Object.getOwnPropertyDe
2562
2562
  } : null, sn = (e) => e.replace(/^(https?:\/\/)/, ""), cn = () => /* @__PURE__ */ e.createElement("span", { className: "pds-input-label__required" }, /* @__PURE__ */ e.createElement(Q, {
2563
2563
  className: "pds-input-label__required-icon",
2564
2564
  iconName: "asterisk",
2565
- size: "s"
2565
+ size: "xs"
2566
2566
  })), ln = ({ className: t, disabled: n, id: r, isLegend: i, isPseudoLabel: a, label: o, labelVariant: s = "default", required: c, showLabel: l = !0, tooltipText: u = null }) => {
2567
2567
  let d = Z([
2568
2568
  "pds-input-label",
@@ -2572,7 +2572,7 @@ var st = Object.create, ct = Object.defineProperty, lt = Object.getOwnPropertyDe
2572
2572
  ]), f = /* @__PURE__ */ e.createElement(e.Fragment, null, o, c && !n && /* @__PURE__ */ e.createElement(cn, null), u && /* @__PURE__ */ e.createElement(an, {
2573
2573
  content: u,
2574
2574
  triggerIcon: "circleInfoSolid",
2575
- triggerIconSize: "s"
2575
+ triggerIconSize: "xs"
2576
2576
  }));
2577
2577
  return i ? /* @__PURE__ */ e.createElement("legend", {
2578
2578
  className: d,
@@ -2616,7 +2616,7 @@ var st = Object.create, ct = Object.defineProperty, lt = Object.getOwnPropertyDe
2616
2616
  (n.find((e) => e.getClientRects().length > 0 && !e.closest("[inert]")) ?? n[0])?.focus();
2617
2617
  }, { enabled: !r }), r ? null : /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n), /* @__PURE__ */ e.createElement(Q, {
2618
2618
  iconName: "slashForward",
2619
- size: "s"
2619
+ size: "xs"
2620
2620
  }));
2621
2621
  }, mn = ({ clearLabel: t, handleClearInput: n, id: r }) => /* @__PURE__ */ e.createElement("button", {
2622
2622
  "aria-controls": r,
@@ -2806,7 +2806,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2806
2806
  let b = "pds-button", x = `${b}--${p}`, S = `${b}--${_}`, C = s ? `${b}--full-width` : null, w = c ? `${b}--loading` : null, T = c ? "pds-pulse" : null, E, D, O;
2807
2807
  switch (p) {
2808
2808
  case "xs":
2809
- E = "s", D = "s", O = "xs";
2809
+ E = "xs", D = "s", O = "xs";
2810
2810
  break;
2811
2811
  case "s":
2812
2812
  E = "m", D = "m", O = "xs";
@@ -2815,7 +2815,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2815
2815
  E = "m", D = "m", O = "s";
2816
2816
  break;
2817
2817
  case "l":
2818
- E = "l", D = "l", O = "m";
2818
+ E = "xl", D = "l", O = "m";
2819
2819
  break;
2820
2820
  }
2821
2821
  let k = [
@@ -2882,7 +2882,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2882
2882
  ]), h = s(o) ? o.props.children : null, g;
2883
2883
  switch (c) {
2884
2884
  case "xs":
2885
- g = "s";
2885
+ g = "xs";
2886
2886
  break;
2887
2887
  case "s":
2888
2888
  g = "m";
@@ -2947,7 +2947,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
2947
2947
  T = "m", w = 8;
2948
2948
  break;
2949
2949
  case "m":
2950
- T = "l", w = 11;
2950
+ T = "xl", w = 11;
2951
2951
  break;
2952
2952
  default:
2953
2953
  T = "m", w = 8;
@@ -3078,7 +3078,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3078
3078
  })), e;
3079
3079
  })(),
3080
3080
  strategy: "fixed"
3081
- }), { getFloatingProps: V, getItemProps: G, getReferenceProps: ee } = z([
3081
+ }), { getFloatingProps: V, getItemProps: G, getReferenceProps: K } = z([
3082
3082
  j(F, {
3083
3083
  enabled: t,
3084
3084
  event: "mousedown"
@@ -3118,7 +3118,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3118
3118
  },
3119
3119
  findMatch: Fn
3120
3120
  })
3121
- ]), { isMounted: K, styles: q } = U(F, i ? {
3121
+ ]), { isMounted: q, styles: J } = U(F, i ? {
3122
3122
  duration: {
3123
3123
  open: 300,
3124
3124
  close: 150
@@ -3132,15 +3132,15 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3132
3132
  floatingStyles: I,
3133
3133
  getFloatingProps: V,
3134
3134
  getItemProps: G,
3135
- getReferenceProps: ee,
3135
+ getReferenceProps: K,
3136
3136
  isOpen: _,
3137
- isMounted: K,
3137
+ isMounted: q,
3138
3138
  listRef: x,
3139
3139
  nodeId: S,
3140
3140
  refs: R,
3141
3141
  setActiveIndex: b,
3142
3142
  setIsOpen: v,
3143
- transitionStyles: q
3143
+ transitionStyles: J
3144
3144
  };
3145
3145
  }, Ln = ({ children: t, className: n, disabled: r, label: i }) => {
3146
3146
  let [a, o] = g(!1), s = "pds-nav-accordion";
@@ -3186,17 +3186,17 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3186
3186
  }
3187
3187
  f?.(A);
3188
3188
  }, [A]);
3189
- let R = Zt(), z = o && R, B = "pds-menu-button", V = x === "navbar", H = V ? "subtle" : x, U = a, [W] = g(`menu-button-${a}`), G = [], ee = [];
3189
+ let R = Zt(), z = o && R, B = "pds-menu-button", V = x === "navbar", H = V ? "subtle" : x, U = a, [W] = g(`menu-button-${a}`), G = [], K = [];
3190
3190
  ((e) => {
3191
3191
  e.forEach((e) => {
3192
- !Hn(e) && !Un(e) && !Gn(e) && ee.push(e);
3192
+ !Hn(e) && !Un(e) && !Gn(e) && K.push(e);
3193
3193
  });
3194
3194
  })(l);
3195
- let K = (e) => {
3195
+ let q = (e) => {
3196
3196
  "disabled" in e && e.disabled || ("callback" in e && e.callback && e.callback(e), P(!1));
3197
- }, q = () => {
3197
+ }, J = () => {
3198
3198
  d && d();
3199
- }, J = (t, n, r = "", i = "") => {
3199
+ }, ee = (t, n, r = "", i = "") => {
3200
3200
  let a = U + (r ? `-group-${r}` : "") + "-item-" + (n + 1), o = "id" in t && t.id ? t.id : a;
3201
3201
  if (Hn(t)) return /* @__PURE__ */ e.createElement("li", {
3202
3202
  key: o,
@@ -3214,7 +3214,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3214
3214
  role: "presentation"
3215
3215
  }, t.nodeContent);
3216
3216
  if (Wn(t) || "label" in t && t.label) {
3217
- let n = ee.indexOf(t), r = w === n, i = "isCritical" in t && t.isCritical, a = "criticalLabel" in t ? t.criticalLabel : void 0, s = [];
3217
+ let n = K.indexOf(t), r = w === n, i = "isCritical" in t && t.isCritical, a = "criticalLabel" in t ? t.criticalLabel : void 0, s = [];
3218
3218
  if ("label" in t && t.label && s.push(t.label), Wn(t) && t.linkContent) {
3219
3219
  let e = t.linkContent;
3220
3220
  s.push(e.props.children);
@@ -3222,7 +3222,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3222
3222
  t.iconName && s.unshift(/* @__PURE__ */ e.createElement(Q, {
3223
3223
  key: `icon-${U}`,
3224
3224
  iconName: t.iconName,
3225
- size: t.iconSize ?? "s"
3225
+ size: t.iconSize ?? "xs"
3226
3226
  })), i && a && s.unshift(/* @__PURE__ */ e.createElement("span", {
3227
3227
  key: `critical-${U}`,
3228
3228
  className: "visually-hidden"
@@ -3254,10 +3254,10 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3254
3254
  tabIndex: r ? 0 : -1,
3255
3255
  ...D({
3256
3256
  onClick: () => {
3257
- Wn(t) || K(t), P(!1);
3257
+ Wn(t) || q(t), P(!1);
3258
3258
  },
3259
3259
  onKeyDown: (e) => {
3260
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Wn(t) && t.linkContent ? e.currentTarget.querySelector("a")?.click() : K(t));
3260
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Wn(t) && t.linkContent ? e.currentTarget.querySelector("a")?.click() : q(t));
3261
3261
  }
3262
3262
  })
3263
3263
  }, l);
@@ -3287,7 +3287,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3287
3287
  t.iconName && o.unshift(/* @__PURE__ */ e.createElement(Q, {
3288
3288
  key: `icon-${U}-${n}`,
3289
3289
  iconName: t.iconName,
3290
- size: t.iconSize ?? "s"
3290
+ size: t.iconSize ?? "xs"
3291
3291
  })), i && a && o.unshift(/* @__PURE__ */ e.createElement("span", {
3292
3292
  key: `critical-${U}-${n}`,
3293
3293
  className: "visually-hidden"
@@ -3306,7 +3306,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3306
3306
  className: Z(["pds-dropdown__item", i ? "pds-dropdown__item--critical" : null]),
3307
3307
  id: r,
3308
3308
  onClick: () => {
3309
- Wn(t) || K(t);
3309
+ Wn(t) || q(t);
3310
3310
  },
3311
3311
  role: "menuitem",
3312
3312
  tabIndex: t.disabled ? -1 : 0
@@ -3342,7 +3342,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3342
3342
  "aria-labelledby": a || void 0,
3343
3343
  role: "group"
3344
3344
  }, t.map((e) => {
3345
- let t = J(e, o, r, a);
3345
+ let t = ee(e, o, r, a);
3346
3346
  return !Hn(e) && !Un(e) && !Gn(e) && o++, t;
3347
3347
  }));
3348
3348
  }));
@@ -3359,7 +3359,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3359
3359
  },
3360
3360
  ...E()
3361
3361
  }, t.map((e) => {
3362
- let t = J(e, o);
3362
+ let t = ee(e, o);
3363
3363
  return !Hn(e) && !Un(e) && !Gn(e) && o++, t;
3364
3364
  }));
3365
3365
  }, re = (e, t) => {
@@ -3367,12 +3367,12 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3367
3367
  return e.forEach((t, o) => {
3368
3368
  t === i ? (n.push(a), a = [], a.push(t), i = r.shift()) : (a.push(t), o + 1 === e.length && n.push(a));
3369
3369
  }), n.filter((e) => e.length > 0);
3370
- }, ie, ae = p === "m" ? "s" : "xs", Y = _ ? /* @__PURE__ */ e.createElement(e.Fragment, null, c, /* @__PURE__ */ e.createElement(wn, {
3370
+ }, ie, ae = p === "m" ? "s" : "xs", oe = _ ? /* @__PURE__ */ e.createElement(e.Fragment, null, c, /* @__PURE__ */ e.createElement(wn, {
3371
3371
  className: "pds-button__tally",
3372
3372
  label: _.label,
3373
3373
  size: ae,
3374
3374
  type: _.type
3375
- })) : c, oe = _ ? /* @__PURE__ */ e.createElement("span", { className: `${B}__accordion-label` }, c, /* @__PURE__ */ e.createElement(wn, {
3375
+ })) : c, se = _ ? /* @__PURE__ */ e.createElement("span", { className: `${B}__accordion-label` }, c, /* @__PURE__ */ e.createElement(wn, {
3376
3376
  className: `${B}__tally`,
3377
3377
  label: _.label,
3378
3378
  size: "s",
@@ -3389,12 +3389,12 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3389
3389
  iconName: "angleDown",
3390
3390
  id: U,
3391
3391
  isSplitButton: s,
3392
- label: Y,
3392
+ label: oe,
3393
3393
  size: p,
3394
3394
  statusDot: m,
3395
3395
  type: "button",
3396
3396
  variant: H,
3397
- ...O({ onClick: q })
3397
+ ...O({ onClick: J })
3398
3398
  })), i) {
3399
3399
  let t = On(c);
3400
3400
  ie = /* @__PURE__ */ e.createElement(Mn, {
@@ -3411,21 +3411,21 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3411
3411
  size: p,
3412
3412
  type: "button",
3413
3413
  variant: "standard",
3414
- ...O({ onClick: q })
3414
+ ...O({ onClick: J })
3415
3415
  });
3416
3416
  }
3417
- let se = i ? /* @__PURE__ */ e.createElement("span", { className: `${B}__icon-label` }, /* @__PURE__ */ e.createElement(Q, { iconName: r }), " ", c) : oe, ce = A ? `${B}--expanded` : null;
3417
+ let ce = i ? /* @__PURE__ */ e.createElement("span", { className: `${B}__icon-label` }, /* @__PURE__ */ e.createElement(Q, { iconName: r }), " ", c) : se, le = A ? `${B}--expanded` : null;
3418
3418
  return /* @__PURE__ */ e.createElement("span", {
3419
3419
  className: Z([
3420
3420
  B,
3421
- ce,
3421
+ le,
3422
3422
  t
3423
3423
  ]),
3424
3424
  "data-testid": v,
3425
3425
  ...C
3426
3426
  }, z ? /* @__PURE__ */ e.createElement(Ln, {
3427
3427
  disabled: n,
3428
- label: se
3428
+ label: ce
3429
3429
  }, /* @__PURE__ */ e.createElement("ul", {
3430
3430
  className: `${B}__mobile-menu`,
3431
3431
  role: "menu"
@@ -3452,7 +3452,7 @@ var Tn = ({ className: t, componentWidth: n, isLoading: r, loadingText: i = "Loa
3452
3452
  }, t, r && /* @__PURE__ */ e.createElement(Q, {
3453
3453
  className: `${s}__trigger-icon`,
3454
3454
  iconName: "angleDown",
3455
- size: "s"
3455
+ size: "xs"
3456
3456
  }));
3457
3457
  }, tr = ({ children: t, className: n, ...r }) => {
3458
3458
  let { floatingStyles: i, getFloatingProps: a, isMounted: o, nodeId: s, refs: c, transitionStyles: l } = Zn();
@@ -3621,7 +3621,7 @@ Qn.Trigger = er, Qn.Panel = tr, Qn.Item = nr, Qn.ActionItem = rr, Qn.CheckboxIte
3621
3621
  }, /* @__PURE__ */ e.createElement("div", { className: `${l}__filter-wrapper` }, u && /* @__PURE__ */ e.createElement(Q, {
3622
3622
  className: `${l}__filter-icon`,
3623
3623
  iconName: sr[n],
3624
- size: "s"
3624
+ size: "xs"
3625
3625
  }), /* @__PURE__ */ e.createElement("input", {
3626
3626
  "aria-label": r,
3627
3627
  className: `${l}__filter-input`,
@@ -3686,7 +3686,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
3686
3686
  type: "button"
3687
3687
  }, /* @__PURE__ */ e.createElement(Q, {
3688
3688
  iconName: "xmark",
3689
- size: "s"
3689
+ size: "xs"
3690
3690
  })), /* @__PURE__ */ e.createElement(Qn.Panel, { className: `${m}__panel` }, S && /* @__PURE__ */ e.createElement(Qn.Filter, {
3691
3691
  label: u,
3692
3692
  noResultsText: s,
@@ -4171,7 +4171,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4171
4171
  ...s
4172
4172
  }, /* @__PURE__ */ e.createElement("div", { className: `${c}__inner` }, /* @__PURE__ */ e.createElement("div", { className: `${c}__icon ${c}__icon--${a}` }, /* @__PURE__ */ e.createElement(Q, {
4173
4173
  iconName: `${a}` in _r ? _r[a] : _r.info,
4174
- size: "xl"
4174
+ size: "2xl"
4175
4175
  })), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), i && /* @__PURE__ */ e.createElement(Dn, {
4176
4176
  baseClass: c,
4177
4177
  level: r
@@ -4245,7 +4245,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4245
4245
  }, s && /* @__PURE__ */ e.createElement("div", { className: `${_}__option-image` }, s[0]), /* @__PURE__ */ e.createElement("div", { className: `${_}__option-content` }, p && /* @__PURE__ */ e.createElement("div", { className: `${_}__option-label-indicator` }, /* @__PURE__ */ e.createElement(Q, {
4246
4246
  className: Z([`${_}__option-icon`, a ? `${_}__option-icon--selected` : null]),
4247
4247
  iconName: a ? "circleCheck" : "circle",
4248
- size: "l"
4248
+ size: "xl"
4249
4249
  })), /* @__PURE__ */ e.createElement("div", { className: `${_}__option-body` }, /* @__PURE__ */ e.createElement("span", { className: Z([`${_}__option-label-text`, f ? null : "visually-hidden"]) }, t.label), c && /* @__PURE__ */ e.createElement("div", { className: `${_}__option-main` }, c)))));
4250
4250
  })));
4251
4251
  }, Sr = ({ className: t, heading: n, headingLevel: r = "span", iconName: i, linkContent: a, message: o, ...s }) => {
@@ -4256,7 +4256,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4256
4256
  }, i && /* @__PURE__ */ e.createElement(Q, {
4257
4257
  className: `${c}__icon`,
4258
4258
  iconName: i,
4259
- size: "xl"
4259
+ size: "2xl"
4260
4260
  }), /* @__PURE__ */ e.createElement("div", { className: `${c}__text` }, /* @__PURE__ */ e.createElement(Dn, {
4261
4261
  baseClass: c,
4262
4262
  level: r
@@ -4276,13 +4276,13 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4276
4276
  }, message: f, onBlur: p, onFocus: m, onOptionSelect: h, options: _, required: v = !1, showLabel: y = !0, showSelectedIcon: b = !0, size: x = "s", tooltipText: C = null, validationMessage: w, validationStatus: T, value: E, ...D }) => {
4277
4277
  let O = on(s, c), k = "pds-select", A = t ? `${k}--auto-width` : null, j = x === "s" ? null : `${k}--${x}`, M = i ? $.disabled : null, N = v && !i ? $.required : null, P = T === "error" ? $.error : null, F = T === "success" ? $.success : null, I = null;
4278
4278
  T === "error" && (I = "error"), T === "success" && (I = "success");
4279
- let L = w || f, R = E !== void 0, z = r !== void 0, B = ((e) => e.reduce((e, t) => _n(t) ? [...e, ...t.options] : [...e, t], []))(_), V = (e) => B.findIndex((t) => t.value === e), H = R && V(E) >= 0 ? V(E) : null, U = z ? V(r) : null, [W, G] = g((H || U) ?? null), { activeIndex: ee, floatingStyles: K, getFloatingProps: q, getItemProps: J, getReferenceProps: te, isMounted: ne, listRef: re, refs: ie, setIsOpen: ae, transitionStyles: Y } = In({
4279
+ let L = w || f, R = E !== void 0, z = r !== void 0, B = ((e) => e.reduce((e, t) => _n(t) ? [...e, ...t.options] : [...e, t], []))(_), V = (e) => B.findIndex((t) => t.value === e), H = R && V(E) >= 0 ? V(E) : null, U = z ? V(r) : null, [W, G] = g((H || U) ?? null), { activeIndex: K, floatingStyles: q, getFloatingProps: J, getItemProps: ee, getReferenceProps: te, isMounted: ne, listRef: re, refs: ie, setIsOpen: ae, transitionStyles: oe } = In({
4280
4280
  enableClick: !i,
4281
4281
  enableTypeahead: !0,
4282
4282
  role: "listbox",
4283
4283
  selectedIndex: W,
4284
4284
  variant: "input"
4285
- }), oe = Bn("var(--pds-z-index-dropdown)"), se = W === null ? void 0 : B[W]?.label, ce = W === null ? void 0 : B[W]?.icon, le = W === null ? void 0 : B[W]?.value, ue = (e) => {
4285
+ }), se = Bn("var(--pds-z-index-dropdown)"), ce = W === null ? void 0 : B[W]?.label, le = W === null ? void 0 : B[W]?.icon, Y = W === null ? void 0 : B[W]?.value, ue = (e) => {
4286
4286
  let t = B[e];
4287
4287
  R || (G(e), ae(!1)), h && h(t);
4288
4288
  };
@@ -4290,9 +4290,9 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4290
4290
  R && (G(V(E)), ae(!1));
4291
4291
  }, [E]);
4292
4292
  let de = () => {
4293
- p && p(le);
4293
+ p && p(Y);
4294
4294
  }, fe = () => {
4295
- m && m(le);
4295
+ m && m(Y);
4296
4296
  }, pe = () => {
4297
4297
  ie.reference.current.focus();
4298
4298
  }, X = (t, n) => t === "google" || t === "microsoft" ? /* @__PURE__ */ e.createElement(pr, {
@@ -4315,9 +4315,9 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4315
4315
  re.current[r] = e;
4316
4316
  },
4317
4317
  "aria-disabled": t?.disabled,
4318
- "aria-selected": r === W && r === ee,
4319
- tabIndex: r === ee ? 0 : -1,
4320
- ...!t?.disabled && J({
4318
+ "aria-selected": r === W && r === K,
4319
+ tabIndex: r === K ? 0 : -1,
4320
+ ...!t?.disabled && ee({
4321
4321
  onClick() {
4322
4322
  ue(r);
4323
4323
  },
@@ -4339,9 +4339,9 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4339
4339
  re.current[r] = e;
4340
4340
  },
4341
4341
  "aria-disabled": t?.disabled,
4342
- "aria-selected": r === W && r === ee,
4343
- tabIndex: r === ee ? 0 : -1,
4344
- ...!t?.disabled && J({
4342
+ "aria-selected": r === W && r === K,
4343
+ tabIndex: r === K ? 0 : -1,
4344
+ ...!t?.disabled && ee({
4345
4345
  onClick() {
4346
4346
  ue(r);
4347
4347
  },
@@ -4394,18 +4394,18 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4394
4394
  onBlur: de,
4395
4395
  onFocus: fe
4396
4396
  })
4397
- }, I && /* @__PURE__ */ e.createElement(fn, { variant: I }), /* @__PURE__ */ e.createElement("span", { className: `${k}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${k}__option-text` }, (ce || !se && a) && X(ce || a, `${k}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${k}__option-label-text` }, se ?? d.selectOptionText)), /* @__PURE__ */ e.createElement(Q, {
4397
+ }, I && /* @__PURE__ */ e.createElement(fn, { variant: I }), /* @__PURE__ */ e.createElement("span", { className: `${k}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${k}__option-text` }, (le || !ce && a) && X(le || a, `${k}__icon`), /* @__PURE__ */ e.createElement("span", { className: `${k}__option-label-text` }, ce ?? d.selectOptionText)), /* @__PURE__ */ e.createElement(Q, {
4398
4398
  className: `${k}__trigger-icon`,
4399
4399
  iconName: "angleDown"
4400
4400
  }))), ne && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
4401
4401
  ref: ie.setFloating,
4402
4402
  className: `pds-dropdown__panel ${k}__dropdown`,
4403
4403
  style: {
4404
- ...K,
4405
- zIndex: oe
4404
+ ...q,
4405
+ zIndex: se
4406
4406
  },
4407
- ...q()
4408
- }, /* @__PURE__ */ e.createElement("div", { style: { ...Y } }, /* @__PURE__ */ e.createElement("ul", {
4407
+ ...J()
4408
+ }, /* @__PURE__ */ e.createElement("div", { style: { ...oe } }, /* @__PURE__ */ e.createElement("ul", {
4409
4409
  className: `${k}__options`,
4410
4410
  role: "group"
4411
4411
  }, me(_))))), L && /* @__PURE__ */ e.createElement(un, {
@@ -4717,7 +4717,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4717
4717
  let t = Math.abs(e);
4718
4718
  return t >= 1e9 ? `${(e / 1e9).toFixed(1).replace(/\.0$/, "")}B` : t >= 1e6 ? `${(e / 1e6).toFixed(1).replace(/\.0$/, "")}M` : t >= 1e3 ? `${(e / 1e3).toFixed(1).replace(/\.0$/, "")}K` : String(e);
4719
4719
  }, Hr = ({ barRadius: t = 2, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: s = !1, isThumbnail: l = !1, labelStrings: d = {}, layout: f = "horizontal", legendVariant: p = "inline", onTimePeriodChange: m, selectedTimePeriod: _, series: v = [], showAccessibleTable: y, showAxisLines: b, showGrid: x, showLegend: S, showTooltip: C, timePeriodOptions: w, tooltipContent: O, variant: A = "stacked", xAxisLabel: j, xAxisTickInterval: M, yAxisDomain: P, yAxisFormatter: F = Vr, yAxisLabel: I, yAxisTickInterval: L, ...R }) => {
4720
- let { accessibleTableDescription: z = "Bar chart data", emptyStateHeading: B = "No data available", emptyStateMessage: V, legendTableHeader: H, loadingLabel: W = "Loading chart data" } = d, G = h(null), J = Er(a, Mr(G, a)), te = n ?? (l ? 60 : 360), ne = r ?? (l ? 60 : void 0), re = x ?? !l, ie = b ?? !l, Y = S ?? !l, ue = C ?? !l, de = y ?? !0, [fe, pe] = g(null), X = h(fe);
4720
+ let { accessibleTableDescription: z = "Bar chart data", emptyStateHeading: B = "No data available", emptyStateMessage: V, legendTableHeader: H, loadingLabel: W = "Loading chart data" } = d, G = h(null), ee = Er(a, Mr(G, a)), te = n ?? (l ? 60 : 360), ne = r ?? (l ? 60 : void 0), re = x ?? !l, ie = b ?? !l, oe = S ?? !l, ue = C ?? !l, de = y ?? !0, [fe, pe] = g(null), X = h(fe);
4721
4721
  fe && (X.current = fe);
4722
4722
  let me = h({ getBoundingClientRect: () => ({
4723
4723
  bottom: 0,
@@ -4778,7 +4778,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4778
4778
  }, /* @__PURE__ */ e.createElement(Br, {
4779
4779
  height: te,
4780
4780
  legendVariant: p,
4781
- showLegend: Y
4781
+ showLegend: oe
4782
4782
  }));
4783
4783
  if (!o || o.length === 0) return /* @__PURE__ */ e.createElement("div", {
4784
4784
  ref: G,
@@ -4869,13 +4869,13 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4869
4869
  contain: "layout size",
4870
4870
  height: te
4871
4871
  }
4872
- }, /* @__PURE__ */ e.createElement(oe, {
4872
+ }, /* @__PURE__ */ e.createElement(se, {
4873
4873
  debounce: 150,
4874
4874
  height: te,
4875
4875
  minHeight: te,
4876
4876
  minWidth: 50,
4877
4877
  width: "100%"
4878
- }, /* @__PURE__ */ e.createElement(K, {
4878
+ }, /* @__PURE__ */ e.createElement(q, {
4879
4879
  accessibilityLayer: !1,
4880
4880
  barCategoryGap: "25%",
4881
4881
  barGap: 6,
@@ -4892,12 +4892,12 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4892
4892
  right: 4,
4893
4893
  top: 20
4894
4894
  }
4895
- }, re && /* @__PURE__ */ e.createElement(q, {
4895
+ }, re && /* @__PURE__ */ e.createElement(J, {
4896
4896
  horizontal: !Te,
4897
4897
  stroke: "var(--pds-color-border-default)",
4898
4898
  strokeDasharray: "3 3",
4899
4899
  vertical: Te
4900
- }), /* @__PURE__ */ e.createElement(ce, {
4900
+ }), /* @__PURE__ */ e.createElement(le, {
4901
4901
  axisLine: ie,
4902
4902
  dataKey: Te ? void 0 : "label",
4903
4903
  hide: !ie,
@@ -4914,7 +4914,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4914
4914
  tickLine: !1,
4915
4915
  tickMargin: 10,
4916
4916
  type: Te ? "number" : "category"
4917
- }), /* @__PURE__ */ e.createElement(le, {
4917
+ }), /* @__PURE__ */ e.createElement(Y, {
4918
4918
  axisLine: ie,
4919
4919
  dataKey: Te ? "label" : void 0,
4920
4920
  domain: P,
@@ -4933,7 +4933,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4933
4933
  tickLine: !1,
4934
4934
  tickMargin: 6,
4935
4935
  type: Te ? "category" : "number"
4936
- }), ue && O && /* @__PURE__ */ e.createElement(se, {
4936
+ }), ue && O && /* @__PURE__ */ e.createElement(ce, {
4937
4937
  content: (e) => !e.active || !e.payload?.length ? null : O({
4938
4938
  entries: e.payload.map((e) => ({
4939
4939
  color: String(e.color ?? ""),
@@ -4944,15 +4944,15 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4944
4944
  label: String(e.label ?? "")
4945
4945
  }),
4946
4946
  cursor: !1
4947
- }), v.map((t, n) => /* @__PURE__ */ e.createElement(ee, {
4947
+ }), v.map((t, n) => /* @__PURE__ */ e.createElement(K, {
4948
4948
  key: t.dataKey,
4949
4949
  dataKey: t.dataKey,
4950
- fill: Ar(n, J, t.color, Dr(a, t.paletteIndex)),
4950
+ fill: Ar(n, ee, t.color, Dr(a, t.paletteIndex)),
4951
4951
  name: t.label,
4952
4952
  onMouseEnter: O ? void 0 : (e) => {
4953
4953
  let r = e.payload;
4954
4954
  ue && r && pe({
4955
- color: Ar(n, J, t.color, Dr(a, t.paletteIndex)),
4955
+ color: Ar(n, ee, t.color, Dr(a, t.paletteIndex)),
4956
4956
  label: String(r.label ?? ""),
4957
4957
  name: t.label,
4958
4958
  value: Number(r[t.dataKey] ?? 0)
@@ -4975,11 +4975,11 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4975
4975
  }, /* @__PURE__ */ e.createElement("p", { className: "recharts-tooltip-label" }, X.current.label), /* @__PURE__ */ e.createElement("p", { className: "recharts-tooltip-item" }, /* @__PURE__ */ e.createElement("span", {
4976
4976
  className: "recharts-tooltip-item__color",
4977
4977
  style: { backgroundColor: X.current.color }
4978
- }), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-name" }, X.current.name), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-separator" }, ": "), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-value" }, F(X.current.value)))), Y && /* @__PURE__ */ e.createElement(Ir, {
4978
+ }), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-name" }, X.current.name), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-separator" }, ": "), /* @__PURE__ */ e.createElement("span", { className: "recharts-tooltip-item-value" }, F(X.current.value)))), oe && /* @__PURE__ */ e.createElement(Ir, {
4979
4979
  ariaHidden: p === "table" && de,
4980
4980
  data: o,
4981
4981
  series: v,
4982
- seriesColors: J,
4982
+ seriesColors: ee,
4983
4983
  tableHeader: H,
4984
4984
  valueFormatter: F,
4985
4985
  variant: p
@@ -4995,14 +4995,14 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
4995
4995
  default: return;
4996
4996
  }
4997
4997
  }, Wr = ({ annotations: t, chartHeight: n, chartWidth: r, className: i, colorPalette: a = "categorical", data: o = [], isLoading: s = !1, isThumbnail: c = !1, labelStrings: l = {}, legendVariant: u = "inline", lineStyle: d = "smooth", onTimePeriodChange: f, referenceLines: p, selectedTimePeriod: m, series: g = [], showAccessibleTable: _, showAxisLines: v, showDataPoints: y, showGrid: b, showLegend: x, showTooltip: S, timePeriodOptions: C, tooltipContent: w, xAxisLabel: T, xAxisTickInterval: E, yAxisDomain: D, yAxisFormatter: O = Vr, yAxisLabel: k, yAxisTickInterval: A, ...j }) => {
4998
- let { accessibleTableDescription: M = "Line chart data", emptyStateHeading: N = "No data available", emptyStateMessage: P, legendTableHeader: F, loadingLabel: I = "Loading chart data" } = l, L = h(null), R = Er(a, Mr(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), V = b ?? !c, H = v ?? !c, U = x ?? !c, W = S ?? !c, G = y ?? !c, ee = _ ?? !0, K = "pds-line-chart";
4998
+ let { accessibleTableDescription: M = "Line chart data", emptyStateHeading: N = "No data available", emptyStateMessage: P, legendTableHeader: F, loadingLabel: I = "Loading chart data" } = l, L = h(null), R = Er(a, Mr(L, a)), z = n ?? (c ? 60 : 360), B = r ?? (c ? 60 : void 0), V = b ?? !c, H = v ?? !c, U = x ?? !c, W = S ?? !c, G = y ?? !c, K = _ ?? !0, q = "pds-line-chart";
4999
4999
  return s ? /* @__PURE__ */ e.createElement("div", {
5000
5000
  ref: L,
5001
5001
  "aria-busy": "true",
5002
5002
  "aria-label": I,
5003
5003
  className: Z([
5004
- K,
5005
- `${K}--loading`,
5004
+ q,
5005
+ `${q}--loading`,
5006
5006
  i ?? ""
5007
5007
  ]),
5008
5008
  style: { maxWidth: B },
@@ -5014,8 +5014,8 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5014
5014
  })) : !o || o.length === 0 ? /* @__PURE__ */ e.createElement("div", {
5015
5015
  ref: L,
5016
5016
  className: Z([
5017
- K,
5018
- `${K}--empty`,
5017
+ q,
5018
+ `${q}--empty`,
5019
5019
  i ?? ""
5020
5020
  ]),
5021
5021
  style: {
@@ -5028,12 +5028,12 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5028
5028
  message: P
5029
5029
  })) : /* @__PURE__ */ e.createElement("div", {
5030
5030
  ref: L,
5031
- className: Z([K, i ?? ""]),
5031
+ className: Z([q, i ?? ""]),
5032
5032
  style: B ? { maxWidth: B } : void 0,
5033
5033
  ...j
5034
- }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${K}__header` }, /* @__PURE__ */ e.createElement(wr, {
5034
+ }, !c && C && C.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${q}__header` }, /* @__PURE__ */ e.createElement(wr, {
5035
5035
  autoWidth: !0,
5036
- id: `${K}-time-period`,
5036
+ id: `${q}-time-period`,
5037
5037
  label: "Time period",
5038
5038
  onOptionSelect: (e) => f?.(e.value),
5039
5039
  options: C.map((e) => ({
@@ -5048,7 +5048,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5048
5048
  contain: "layout size",
5049
5049
  height: z
5050
5050
  }
5051
- }, /* @__PURE__ */ e.createElement(oe, {
5051
+ }, /* @__PURE__ */ e.createElement(se, {
5052
5052
  debounce: 150,
5053
5053
  height: z,
5054
5054
  minHeight: z,
@@ -5068,10 +5068,10 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5068
5068
  right: 4,
5069
5069
  top: 20
5070
5070
  }
5071
- }, V && /* @__PURE__ */ e.createElement(q, {
5071
+ }, V && /* @__PURE__ */ e.createElement(J, {
5072
5072
  stroke: "var(--pds-color-border-default)",
5073
5073
  strokeDasharray: "3 3"
5074
- }), /* @__PURE__ */ e.createElement(ce, {
5074
+ }), /* @__PURE__ */ e.createElement(le, {
5075
5075
  axisLine: H,
5076
5076
  dataKey: "label",
5077
5077
  hide: !H,
@@ -5085,7 +5085,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5085
5085
  tick: H ? Nr : !1,
5086
5086
  tickLine: !1,
5087
5087
  tickMargin: 10
5088
- }), /* @__PURE__ */ e.createElement(le, {
5088
+ }), /* @__PURE__ */ e.createElement(Y, {
5089
5089
  axisLine: H,
5090
5090
  domain: D,
5091
5091
  hide: !H,
@@ -5101,7 +5101,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5101
5101
  tickFormatter: O,
5102
5102
  tickLine: !1,
5103
5103
  tickMargin: 6
5104
- }), W && /* @__PURE__ */ e.createElement(se, { content: (t) => {
5104
+ }), W && /* @__PURE__ */ e.createElement(ce, { content: (t) => {
5105
5105
  if (!t.active || !t.payload?.length) return null;
5106
5106
  let n = t.payload.map((e) => ({
5107
5107
  color: String(e.color ?? ""),
@@ -5135,7 +5135,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5135
5135
  type: d === "straight" ? "linear" : "monotone"
5136
5136
  })), !c && p?.map((t, n) => {
5137
5137
  let r = t.color ?? "var(--pds-color-foreground-default-secondary)";
5138
- return /* @__PURE__ */ e.createElement(Y, {
5138
+ return /* @__PURE__ */ e.createElement(oe, {
5139
5139
  key: `ref-y-${n}`,
5140
5140
  label: ({ viewBox: n }) => {
5141
5141
  let r = (n?.x ?? 0) + (n?.width ?? 0) / 2, i = (n?.y ?? 0) - 8;
@@ -5155,7 +5155,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5155
5155
  });
5156
5156
  }), !c && t?.map((t, n) => {
5157
5157
  let r = t.color ?? "var(--pds-color-foreground-default-secondary)";
5158
- return /* @__PURE__ */ e.createElement(Y, {
5158
+ return /* @__PURE__ */ e.createElement(oe, {
5159
5159
  key: `annotation-${n}`,
5160
5160
  label: ({ viewBox: n }) => {
5161
5161
  let r = (n?.x ?? 0) + (n?.width ?? 0) / 2, i = (n?.y ?? 0) - 8;
@@ -5174,14 +5174,14 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5174
5174
  x: t.atLabel
5175
5175
  });
5176
5176
  })))), U && /* @__PURE__ */ e.createElement(Ir, {
5177
- ariaHidden: u === "table" && ee,
5177
+ ariaHidden: u === "table" && K,
5178
5178
  data: o,
5179
5179
  series: g,
5180
5180
  seriesColors: R,
5181
5181
  tableHeader: F,
5182
5182
  valueFormatter: O,
5183
5183
  variant: u
5184
- }), ee && /* @__PURE__ */ e.createElement(Fr, {
5184
+ }), K && /* @__PURE__ */ e.createElement(Fr, {
5185
5185
  data: o,
5186
5186
  description: M,
5187
5187
  series: g,
@@ -5264,7 +5264,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5264
5264
  margin: "0 auto",
5265
5265
  width: `min(100%, ${w}px)`
5266
5266
  }
5267
- }, /* @__PURE__ */ e.createElement(oe, {
5267
+ }, /* @__PURE__ */ e.createElement(se, {
5268
5268
  debounce: 150,
5269
5269
  height: w,
5270
5270
  minHeight: w,
@@ -5279,10 +5279,10 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5279
5279
  isAnimationActive: !s,
5280
5280
  outerRadius: "80%",
5281
5281
  stroke: "none"
5282
- }, a.map((t, n) => /* @__PURE__ */ e.createElement(J, {
5282
+ }, a.map((t, n) => /* @__PURE__ */ e.createElement(ee, {
5283
5283
  key: t.label,
5284
5284
  fill: k(n, t)
5285
- }))), D && /* @__PURE__ */ e.createElement(se, {
5285
+ }))), D && /* @__PURE__ */ e.createElement(ce, {
5286
5286
  content: (t) => {
5287
5287
  if (!t.active || !t.payload?.length) return null;
5288
5288
  let n = t.payload[0], r = Number(n.value ?? 0), i = O > 0 ? Math.round(r / O * 100) : 0, a = String(n.payload?.fill ?? "");
@@ -5338,7 +5338,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5338
5338
  open: !!I,
5339
5339
  placement: "top",
5340
5340
  whileElementsMounted: T
5341
- }), { isMounted: G, styles: ee } = U(B, {
5341
+ }), { isMounted: G, styles: K } = U(B, {
5342
5342
  duration: {
5343
5343
  close: 150,
5344
5344
  open: 150
@@ -5348,7 +5348,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5348
5348
  u(() => {
5349
5349
  H.setReference(z.current);
5350
5350
  }, [H]);
5351
- let K = c((e) => {
5351
+ let q = c((e) => {
5352
5352
  z.current.getBoundingClientRect = () => ({
5353
5353
  bottom: e.clientY,
5354
5354
  height: 0,
@@ -5359,7 +5359,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5359
5359
  x: e.clientX,
5360
5360
  y: e.clientY
5361
5361
  }), W();
5362
- }, [W]), q = c(() => {
5362
+ }, [W]), J = c(() => {
5363
5363
  L(null);
5364
5364
  }, []);
5365
5365
  return o ? /* @__PURE__ */ e.createElement("div", {
@@ -5397,8 +5397,8 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5397
5397
  }, /* @__PURE__ */ e.createElement("div", {
5398
5398
  "aria-hidden": "true",
5399
5399
  className: `${O}__track`,
5400
- onMouseLeave: M ? q : void 0,
5401
- onMouseMove: M ? K : void 0,
5400
+ onMouseLeave: M ? J : void 0,
5401
+ onMouseMove: M ? q : void 0,
5402
5402
  style: { height: t }
5403
5403
  }, a.map((t, n) => {
5404
5404
  let r = F(n, t), i = Math.round(t.value / P * 100);
@@ -5422,7 +5422,7 @@ var cr = ({ className: t = "pds-dropdown__selected-icon" }) => /* @__PURE__ */ e
5422
5422
  role: "tooltip",
5423
5423
  style: {
5424
5424
  ...V,
5425
- ...ee,
5425
+ ...K,
5426
5426
  pointerEvents: "none",
5427
5427
  zIndex: "var(--pds-z-index-notifications)"
5428
5428
  }
@@ -6556,7 +6556,7 @@ var Zr = {
6556
6556
  included: "Included",
6557
6557
  notIncluded: "Not included"
6558
6558
  }, ...l }) => {
6559
- let u = "pds-comparison-list", d = o ? null : `${u}--no-border`, f = s === "m" ? `${u}--m` : null;
6559
+ let u = "pds-comparison-list", d = o ? null : `${u}--no-border`, f = s === "m" ? `${u}--m` : null, p = s === "m" ? "m" : "xs";
6560
6560
  return /* @__PURE__ */ e.createElement("div", {
6561
6561
  className: Z([
6562
6562
  u,
@@ -6571,7 +6571,7 @@ var Zr = {
6571
6571
  }, /* @__PURE__ */ e.createElement("div", { className: `${u}__item-icon-wrapper` }, /* @__PURE__ */ e.createElement(Q, {
6572
6572
  className: `${u}__item-icon`,
6573
6573
  iconName: $r[t.type],
6574
- size: s
6574
+ size: p
6575
6575
  })), a && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, c[t.type], ":", " "), t.text))), i && /* @__PURE__ */ e.createElement("div", { className: `${u}__more-link` }, i));
6576
6576
  }, ti = ({ className: t, platform: n, videoId: r, videoTitle: i, ...a }) => {
6577
6577
  let o = /* @__PURE__ */ e.createElement("iframe", {
@@ -7195,15 +7195,15 @@ var Zr = {
7195
7195
  searchShortcut: "Press / to focus the search field",
7196
7196
  triggerButton: "Toggle dropdown menu"
7197
7197
  }, loadingText: y = "Loading results...", message: b, noResultsText: x = "No results found", onBlur: C, onChange: w, onClear: O, onFocus: k, onOptionSelect: j, options: M, placeholder: P, required: F = !1, showLabel: I = !0, showUnfilteredOptions: L = !1, size: R = "s", tooltipText: z = null, validationMessage: B, validationStatus: V, value: H, ...W }, G) => {
7198
- let ee = on(d, f), K = "pds-combobox", q = R === "s" ? null : `${K}--${R}`, J = r ? $.disabled : null, te = F && !r ? $.required : null, ne = V === "error" ? $.error : null, re = V === "success" ? $.success : null, ie = null;
7198
+ let K = on(d, f), q = "pds-combobox", J = R === "s" ? null : `${q}--${R}`, ee = r ? $.disabled : null, te = F && !r ? $.required : null, ne = V === "error" ? $.error : null, re = V === "success" ? $.success : null, ie = null;
7199
7199
  o && (ie = "search"), V === "error" && (ie = "error"), V === "success" && (ie = "success");
7200
- let ae = B || b, Y = H !== void 0, oe = n !== void 0, se = (e) => {
7200
+ let ae = B || b, oe = H !== void 0, se = n !== void 0, ce = (e) => {
7201
7201
  let t = M.find((t) => t.value === e);
7202
7202
  return t ? t.label : "";
7203
- }, [ce, le] = g(oe ? n : void 0), [ue, de] = g(Y ? H ?? "" : oe ? se(n) : ""), pe = s && !ue;
7203
+ }, [le, Y] = g(se ? n : void 0), [ue, de] = g(oe ? H ?? "" : se ? ce(n) : ""), pe = s && !ue;
7204
7204
  u(() => {
7205
- Y && de(H ?? "");
7206
- }, [Y, H]);
7205
+ oe && de(H ?? "");
7206
+ }, [oe, H]);
7207
7207
  let X = h(null), me = (e) => e.map(({ label: e, optionDisplay: t, searchIndex: n, value: r, ...i }) => {
7208
7208
  let a = r || e, o = [e, r];
7209
7209
  return n && o.push(...n), {
@@ -7233,7 +7233,7 @@ var Zr = {
7233
7233
  de(e ?? "");
7234
7234
  },
7235
7235
  onSelectedItemChange: ({ selectedItem: e }) => {
7236
- e && (Y || de(e.label), le(e.value), j?.(e));
7236
+ e && (oe || de(e.label), Y(e.value), j?.(e));
7237
7237
  },
7238
7238
  stateReducer: (e, { changes: t, type: n }) => {
7239
7239
  if (n === fe.stateChangeTypes.InputBlur) return {
@@ -7289,11 +7289,11 @@ var Zr = {
7289
7289
  }, [G, Te]), Ae = () => {
7290
7290
  be ? Se() : xe();
7291
7291
  }, je = () => {
7292
- Y || de(""), le(void 0), Se(), X.current?.focus(), L && xe(), O?.();
7292
+ oe || de(""), Y(void 0), Se(), X.current?.focus(), L && xe(), O?.();
7293
7293
  }, Me = (e) => {
7294
- C?.(ce);
7294
+ C?.(le);
7295
7295
  }, Ne = (e) => {
7296
- L && xe(), k?.(ce);
7296
+ L && xe(), k?.(le);
7297
7297
  }, Pe = () => he.map((t, n) => /* @__PURE__ */ e.createElement(vn, {
7298
7298
  key: t.value,
7299
7299
  className: ye === n ? "pds-dropdown__item--focused" : "",
@@ -7301,19 +7301,19 @@ var Zr = {
7301
7301
  item: t,
7302
7302
  index: n
7303
7303
  })
7304
- }, /* @__PURE__ */ e.createElement("span", { className: `${K}__option-label` }, t.optionDisplay || t.label)));
7304
+ }, /* @__PURE__ */ e.createElement("span", { className: `${q}__option-label` }, t.optionDisplay || t.label)));
7305
7305
  return /* @__PURE__ */ e.createElement("div", {
7306
7306
  className: Z([
7307
7307
  $.base,
7308
- K,
7309
7308
  q,
7310
7309
  J,
7310
+ ee,
7311
7311
  te,
7312
7312
  ne,
7313
7313
  re,
7314
7314
  t ?? ""
7315
7315
  ]),
7316
- style: d ? ee : null,
7316
+ style: d ? K : null,
7317
7317
  ...W
7318
7318
  }, /* @__PURE__ */ e.createElement(ln, {
7319
7319
  disabled: r,
@@ -7328,12 +7328,12 @@ var Zr = {
7328
7328
  "aria-disabled": r ? !0 : null,
7329
7329
  "aria-invalid": V === "error" ? !0 : null,
7330
7330
  "aria-required": F ? !0 : null,
7331
- className: Z([`${K}__input-wrapper`, pe ? `${K}__input-wrapper--has-search-shortcut` : null]),
7331
+ className: Z([`${q}__input-wrapper`, pe ? `${q}__input-wrapper--has-search-shortcut` : null]),
7332
7332
  id: l
7333
7333
  }, ie && /* @__PURE__ */ e.createElement(fn, { variant: ie }), /* @__PURE__ */ e.createElement("input", {
7334
7334
  ref: X,
7335
7335
  autoComplete: "off",
7336
- className: `${K}__input`,
7336
+ className: `${q}__input`,
7337
7337
  id: `input-${l}`,
7338
7338
  ...ge({
7339
7339
  "aria-label": v.inputInstructions,
@@ -7355,24 +7355,24 @@ var Zr = {
7355
7355
  }), a && /* @__PURE__ */ e.createElement("button", {
7356
7356
  "aria-expanded": be,
7357
7357
  "aria-label": v.triggerButton,
7358
- className: `${K}__trigger`,
7358
+ className: `${q}__trigger`,
7359
7359
  disabled: r,
7360
7360
  onClick: Ae,
7361
7361
  type: "button"
7362
7362
  }, /* @__PURE__ */ e.createElement(Q, {
7363
- className: `${K}__trigger-icon`,
7363
+ className: `${q}__trigger-icon`,
7364
7364
  iconName: "angleDown",
7365
7365
  size: "m"
7366
7366
  }))), /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
7367
7367
  ref: Te.setFloating,
7368
- className: `pds-dropdown__panel ${K}__dropdown`,
7368
+ className: `pds-dropdown__panel ${q}__dropdown`,
7369
7369
  style: Ee ? {
7370
7370
  ...we,
7371
7371
  ...De,
7372
7372
  zIndex: Oe
7373
7373
  } : { display: "none" }
7374
- }, Ee && p && /* @__PURE__ */ e.createElement("div", { className: `${K}__loading` }, y), Ee && !p && he.length === 0 && /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, x), /* @__PURE__ */ e.createElement("ul", {
7375
- className: `${K}__options`,
7374
+ }, Ee && p && /* @__PURE__ */ e.createElement("div", { className: `${q}__loading` }, y), Ee && !p && he.length === 0 && /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, x), /* @__PURE__ */ e.createElement("ul", {
7375
+ className: `${q}__options`,
7376
7376
  ...ve(),
7377
7377
  style: Ee && !p && he.length > 0 ? void 0 : { display: "none" }
7378
7378
  }, Ee && !p && Pe()))), ae && /* @__PURE__ */ e.createElement(un, {
@@ -7396,14 +7396,14 @@ var Zr = {
7396
7396
  inputInstructions: "Type to search options",
7397
7397
  triggerButton: "Toggle dropdown menu"
7398
7398
  }, loadingText: d = "Loading results...", noResultsText: f = "No results found", onChange: p, options: _, placeholder: v = "Filter", required: y = !1, showAllTags: b = !1, showLabel: x = !0, size: C = "s", ...w }) => {
7399
- let O = on(o, s), k = "pds-combobox-multi", j = C === "s" ? null : `${k}--${C}`, P = r ? $.disabled : null, F = y && !r ? $.required : null, I = b ? `${k}--show-all-tags` : null, [L, R] = g(""), [B, H] = g(a), [U, W] = g(null), [G, ee] = g(!1), K = m(() => gi(_, B, L), [
7399
+ let O = on(o, s), k = "pds-combobox-multi", j = C === "s" ? null : `${k}--${C}`, P = r ? $.disabled : null, F = y && !r ? $.required : null, I = b ? `${k}--show-all-tags` : null, [L, R] = g(""), [B, H] = g(a), [U, W] = g(null), [G, K] = g(!1), q = m(() => gi(_, B, L), [
7400
7400
  _,
7401
7401
  B,
7402
7402
  L
7403
- ]), q = m(() => t?.items?.map((e) => ({
7403
+ ]), J = m(() => t?.items?.map((e) => ({
7404
7404
  ...e,
7405
7405
  isAlreadySelected: B.some((t) => t.id === e.id)
7406
- })) || [], [t?.items, B]), J = (e) => {
7406
+ })) || [], [t?.items, B]), ee = (e) => {
7407
7407
  H(e), p?.(e);
7408
7408
  }, { getDropdownProps: te, getSelectedItemProps: ne, removeSelectedItem: re } = pe({
7409
7409
  selectedItems: B,
@@ -7413,13 +7413,13 @@ var Zr = {
7413
7413
  case pe.stateChangeTypes.SelectedItemKeyDownDelete:
7414
7414
  case pe.stateChangeTypes.DropdownKeyDownBackspace:
7415
7415
  case pe.stateChangeTypes.FunctionRemoveSelectedItem:
7416
- J(e || []);
7416
+ ee(e || []);
7417
7417
  break;
7418
7418
  default: break;
7419
7419
  }
7420
7420
  }
7421
- }), { closeMenu: ie, getInputProps: ae, getItemProps: Y, getMenuProps: oe, getToggleButtonProps: se, highlightedIndex: ce, isOpen: le, openMenu: ue, selectedItem: de } = fe({
7422
- items: K,
7421
+ }), { closeMenu: ie, getInputProps: ae, getItemProps: oe, getMenuProps: se, getToggleButtonProps: ce, highlightedIndex: le, isOpen: Y, openMenu: ue, selectedItem: de } = fe({
7422
+ items: q,
7423
7423
  itemToString: (e) => e ? e.label : "",
7424
7424
  selectedItem: null,
7425
7425
  inputValue: L,
@@ -7441,20 +7441,20 @@ var Zr = {
7441
7441
  case fe.stateChangeTypes.InputKeyDownEnter:
7442
7442
  case fe.stateChangeTypes.ItemClick:
7443
7443
  case fe.stateChangeTypes.InputBlur:
7444
- n && (n.isAlreadySelected ? J(B.filter((e) => e.id !== n.id)) : J([...B, n]), R(""), W(null));
7444
+ n && (n.isAlreadySelected ? ee(B.filter((e) => e.id !== n.id)) : ee([...B, n]), R(""), W(null));
7445
7445
  break;
7446
7446
  case fe.stateChangeTypes.InputChange:
7447
7447
  R(e || ""), W(null);
7448
7448
  break;
7449
7449
  case fe.stateChangeTypes.ToggleButtonClick:
7450
7450
  case fe.stateChangeTypes.FunctionOpenMenu:
7451
- t && ee(!1);
7451
+ t && K(!1);
7452
7452
  break;
7453
7453
  default: break;
7454
7454
  }
7455
7455
  }
7456
7456
  }), { floatingStyles: X, refs: me } = N({
7457
- open: le,
7457
+ open: Y,
7458
7458
  whileElementsMounted: T,
7459
7459
  placement: "bottom-start",
7460
7460
  strategy: "fixed",
@@ -7478,7 +7478,7 @@ var Zr = {
7478
7478
  ]
7479
7479
  }), { context: he, floatingStyles: ge, refs: _e } = N({
7480
7480
  open: G,
7481
- onOpenChange: ee,
7481
+ onOpenChange: K,
7482
7482
  whileElementsMounted: T,
7483
7483
  placement: "bottom-start",
7484
7484
  strategy: "fixed",
@@ -7492,27 +7492,27 @@ var Zr = {
7492
7492
  }), { getFloatingProps: ve } = z([M(he)]), ye = Bn("var(--pds-z-index-dropdown)"), be = (e) => {
7493
7493
  if (e.stopPropagation(), r) return;
7494
7494
  let t = !G;
7495
- ee(t), t && le && ie();
7495
+ K(t), t && Y && ie();
7496
7496
  }, xe = (e) => {
7497
- r || (e.isAlreadySelected ? J(B.filter((t) => t.id !== e.id)) : J([...B, e]));
7497
+ r || (e.isAlreadySelected ? ee(B.filter((t) => t.id !== e.id)) : ee([...B, e]));
7498
7498
  }, Se = () => {
7499
- ee(!1), t?.onClose?.();
7499
+ K(!1), t?.onClose?.();
7500
7500
  }, Ce = () => {
7501
7501
  t?.onRefresh?.();
7502
7502
  }, we = () => {
7503
7503
  if (U === null) W(B.length - 1);
7504
7504
  else {
7505
7505
  let e = [...B];
7506
- e.splice(U, 1), J(e), W(null);
7506
+ e.splice(U, 1), ee(e), W(null);
7507
7507
  }
7508
7508
  }, Te = h(!1), Ee = () => {
7509
7509
  r || (Te.current ? ie() : ue());
7510
7510
  }, De = (e) => {
7511
- Te.current = le, !r && e.currentTarget.setAttribute("data-focus-method", "mouse");
7511
+ Te.current = Y, !r && e.currentTarget.setAttribute("data-focus-method", "mouse");
7512
7512
  }, Oe = (e) => {
7513
- e.currentTarget.setAttribute("data-focus-method", "keyboard"), !r && ((e.key === "Backspace" || e.key === "Delete") && !L && B.length > 0 && (e.preventDefault(), we()), e.key === "Enter" && U !== null && (e.preventDefault(), we()), !le && (e.key === "Enter" || e.key === "ArrowDown") && (e.preventDefault(), ue()));
7513
+ e.currentTarget.setAttribute("data-focus-method", "keyboard"), !r && ((e.key === "Backspace" || e.key === "Delete") && !L && B.length > 0 && (e.preventDefault(), we()), e.key === "Enter" && U !== null && (e.preventDefault(), we()), !Y && (e.key === "Enter" || e.key === "ArrowDown") && (e.preventDefault(), ue()));
7514
7514
  }, ke = ae({
7515
- ...te({ preventKeyAction: le }),
7515
+ ...te({ preventKeyAction: Y }),
7516
7516
  disabled: r,
7517
7517
  onKeyDown: Oe
7518
7518
  }), Ae = B.length === 2 ? /* @__PURE__ */ e.createElement("span", { className: `${k}__counter-item` }, B.length - 1) : B.length === 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${k}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${k}__counter-item` }, B.length - 1)) : B.length > 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${k}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${k}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${k}__counter-item` }, B.length - 1)) : "", je = te(), Me = V([je.ref, me.setFloating]);
@@ -7568,7 +7568,7 @@ var Zr = {
7568
7568
  type: "button"
7569
7569
  }, /* @__PURE__ */ e.createElement(Q, {
7570
7570
  iconName: "xmark",
7571
- size: "s"
7571
+ size: "xs"
7572
7572
  }))))), /* @__PURE__ */ e.createElement("div", { className: `${k}__end-actions` }, t && /* @__PURE__ */ e.createElement("button", {
7573
7573
  "aria-label": u.aiPanelButton,
7574
7574
  className: Z([`${k}__ai-button`, P ?? ""]),
@@ -7578,13 +7578,13 @@ var Zr = {
7578
7578
  }, /* @__PURE__ */ e.createElement(Q, {
7579
7579
  className: `${k}__ai-icon`,
7580
7580
  iconName: "sparkles",
7581
- size: "s"
7581
+ size: "xs"
7582
7582
  })), /* @__PURE__ */ e.createElement("button", {
7583
7583
  "aria-label": u.triggerButton,
7584
7584
  className: `${k}__trigger ${P}`,
7585
7585
  disabled: r,
7586
7586
  type: "button",
7587
- ...se({ onClick: (e) => e.stopPropagation() })
7587
+ ...ce({ onClick: (e) => e.stopPropagation() })
7588
7588
  }, /* @__PURE__ */ e.createElement(Q, {
7589
7589
  className: `${k}__trigger-icon`,
7590
7590
  iconName: "angleDown",
@@ -7593,7 +7593,7 @@ var Zr = {
7593
7593
  ...je,
7594
7594
  ref: Me,
7595
7595
  className: `pds-dropdown__panel ${k}__dropdown`,
7596
- style: le ? {
7596
+ style: Y ? {
7597
7597
  ...X,
7598
7598
  zIndex: ye
7599
7599
  } : { display: "none" }
@@ -7605,23 +7605,23 @@ var Zr = {
7605
7605
  onClick: (e) => {
7606
7606
  e.stopPropagation();
7607
7607
  }
7608
- })), le && c && /* @__PURE__ */ e.createElement("div", { className: `${k}__loading` }, d), le && !c && K.length === 0 && /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, f), /* @__PURE__ */ e.createElement("ul", {
7608
+ })), Y && c && /* @__PURE__ */ e.createElement("div", { className: `${k}__loading` }, d), Y && !c && q.length === 0 && /* @__PURE__ */ e.createElement("div", { className: "pds-dropdown__no-results" }, f), /* @__PURE__ */ e.createElement("ul", {
7609
7609
  className: `${k}__dropdown-list`,
7610
- ...oe(),
7611
- style: le && !c && K.length > 0 ? void 0 : { display: "none" }
7612
- }, le && !c && K.map((t, n) => /* @__PURE__ */ e.createElement(vn, {
7610
+ ...se(),
7611
+ style: Y && !c && q.length > 0 ? void 0 : { display: "none" }
7612
+ }, Y && !c && q.map((t, n) => /* @__PURE__ */ e.createElement(vn, {
7613
7613
  key: `${t.id}-${n}`,
7614
7614
  className: `${k}__dropdown-item
7615
- ${ce === n ? "pds-dropdown__item--focused" : ""}
7615
+ ${le === n ? "pds-dropdown__item--focused" : ""}
7616
7616
  ${de === t ? `${k}__dropdown-item--selected` : ""}
7617
7617
  ${t.isAlreadySelected ? "pds-dropdown__item--active" : ""}`,
7618
- ...Y({
7618
+ ...oe({
7619
7619
  item: t,
7620
7620
  index: n
7621
7621
  })
7622
7622
  }, /* @__PURE__ */ e.createElement("span", { className: `${k}__dropdown-item-label` }, /* @__PURE__ */ e.createElement("span", { className: `${k}__dropdown-item-text` }, t.label, t.badge === "ai" && /* @__PURE__ */ e.createElement("span", { className: `${k}__dropdown-item-badge` }, /* @__PURE__ */ e.createElement(Q, {
7623
7623
  iconName: "sparkles",
7624
- size: "s"
7624
+ size: "xs"
7625
7625
  }), /* @__PURE__ */ e.createElement("span", null, u.aiBadgeLabel))), t.isAlreadySelected && /* @__PURE__ */ e.createElement(cr, null))))))), G && t && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
7626
7626
  ref: _e.setFloating,
7627
7627
  className: `${k}__aux-panel`,
@@ -7634,7 +7634,7 @@ var Zr = {
7634
7634
  className: `${k}__aux-panel-icon`,
7635
7635
  iconName: "sparkles",
7636
7636
  size: "m"
7637
- }), /* @__PURE__ */ e.createElement("div", { className: `${k}__aux-panel-items` }, q.map((t) => /* @__PURE__ */ e.createElement("button", {
7637
+ }), /* @__PURE__ */ e.createElement("div", { className: `${k}__aux-panel-items` }, J.map((t) => /* @__PURE__ */ e.createElement("button", {
7638
7638
  key: t.id,
7639
7639
  className: Z([`${k}__aux-panel-item`, t.isAlreadySelected ? `${k}__aux-panel-item--selected` : ""]),
7640
7640
  onClick: () => xe(t),
@@ -7718,7 +7718,7 @@ var Zr = {
7718
7718
  t,
7719
7719
  F,
7720
7720
  x
7721
- ]), { focusProps: W, isFocusVisible: G } = Pe({ within: !0 }), ee = z.value !== null;
7721
+ ]), { focusProps: W, isFocusVisible: G } = Pe({ within: !0 }), K = z.value !== null;
7722
7722
  return /* @__PURE__ */ e.createElement("div", {
7723
7723
  className: Z([
7724
7724
  $.base,
@@ -7755,7 +7755,7 @@ var Zr = {
7755
7755
  baseClass: D,
7756
7756
  segment: t,
7757
7757
  state: z
7758
- })), U && ee && /* @__PURE__ */ e.createElement("div", { className: `${D}__timezone` }, U))), N && /* @__PURE__ */ e.createElement(un, {
7758
+ })), U && K && /* @__PURE__ */ e.createElement("div", { className: `${D}__timezone` }, U))), N && /* @__PURE__ */ e.createElement(un, {
7759
7759
  hasValidationMessage: !!C,
7760
7760
  id: o,
7761
7761
  message: N,
@@ -7923,10 +7923,10 @@ var Zr = {
7923
7923
  from: Oi(Ci(t.from, k), ki, k),
7924
7924
  to: Oi(Ci(t.to, k), Ai, k)
7925
7925
  };
7926
- }, [W, G] = g(() => P ?? (H ? U(H) : void 0)), [ee, K] = g("local"), q = O && ee === "utc" ? "UTC" : k, [J, te] = g(H?.label), [ne, re] = g(E), ie = !z || ne, ae = !z || E || t, Y = F === 1 ? L && D ? 400 : 280 : 550, oe = h(null), se = J === void 0 && (L ? !!W?.from : !!W), ce = (e, t) => L && D ? e ?? t : e, [le, ue] = g(() => ce(Di(L ? W?.from : W, q), ki)), [de, fe] = g(() => ce(Di(W?.to, q), Ai)), pe = on(c, l), X = "pds-datepicker", me = a ? $.disabled : null, ge = w && !a ? $.required : null, _e = N === "error" ? $.error : null, ve = N === "success" ? $.success : null, be = M || _, xe = /* @__PURE__ */ e.createElement("div", { className: `${X}__timezone-switcher` }, /* @__PURE__ */ e.createElement("span", { className: `${X}__timezone-switcher-label` }, R.timeZoneSwitcherLabel), /* @__PURE__ */ e.createElement(ur, {
7926
+ }, [W, G] = g(() => P ?? (H ? U(H) : void 0)), [K, q] = g("local"), J = O && K === "utc" ? "UTC" : k, [ee, te] = g(H?.label), [ne, re] = g(E), ie = !z || ne, ae = !z || E || t, oe = F === 1 ? L && D ? 400 : 280 : 550, se = h(null), ce = ee === void 0 && (L ? !!W?.from : !!W), le = (e, t) => L && D ? e ?? t : e, [Y, ue] = g(() => le(Di(L ? W?.from : W, J), ki)), [de, fe] = g(() => le(Di(W?.to, J), Ai)), pe = on(c, l), X = "pds-datepicker", me = a ? $.disabled : null, ge = w && !a ? $.required : null, _e = N === "error" ? $.error : null, ve = N === "success" ? $.success : null, be = M || _, xe = /* @__PURE__ */ e.createElement("div", { className: `${X}__timezone-switcher` }, /* @__PURE__ */ e.createElement("span", { className: `${X}__timezone-switcher-label` }, R.timeZoneSwitcherLabel), /* @__PURE__ */ e.createElement(ur, {
7927
7927
  id: `${s}-timezone-switcher`,
7928
7928
  label: R.timeZoneSwitcherLabel || "",
7929
- onChange: (e) => K(e),
7929
+ onChange: (e) => q(e),
7930
7930
  options: [{
7931
7931
  label: R.localTimeZoneLabel || "",
7932
7932
  value: "local"
@@ -7935,7 +7935,7 @@ var Zr = {
7935
7935
  value: "utc"
7936
7936
  }],
7937
7937
  size: "s",
7938
- value: ee
7938
+ value: K
7939
7939
  })), { floatingStyles: Se, getFloatingProps: Ce, getReferenceProps: we, isMounted: Ee, isOpen: Oe, refs: je, setIsOpen: Me } = In({
7940
7940
  enableListNavigation: !1,
7941
7941
  offsetValue: 8,
@@ -7943,7 +7943,7 @@ var Zr = {
7943
7943
  role: "dialog",
7944
7944
  shiftPadding: 16,
7945
7945
  variant: "default"
7946
- }), Ne = Bn("var(--pds-z-index-overlay)"), Pe = Ci(v, q), Le = Ci(p, q), Be = (e, t, n = !1) => {
7946
+ }), Ne = Bn("var(--pds-z-index-overlay)"), Pe = Ci(v, J), Le = Ci(p, J), Be = (e, t, n = !1) => {
7947
7947
  G(e), te(t), b?.(e), !L && n && setTimeout(() => {
7948
7948
  Me(!1);
7949
7949
  }, 300);
@@ -7953,9 +7953,9 @@ var Zr = {
7953
7953
  maxValue: Le,
7954
7954
  minValue: Pe,
7955
7955
  onChange: (e) => {
7956
- L || Be(Oi(e, D ? le : void 0, q), void 0, !D);
7956
+ L || Be(Oi(e, D ? Y : void 0, J), void 0, !D);
7957
7957
  },
7958
- value: L ? null : Ci(W, q) ?? null
7958
+ value: L ? null : Ci(W, J) ?? null
7959
7959
  }), He = h(null), Ue = ze({
7960
7960
  createCalendar: he,
7961
7961
  locale: V,
@@ -7964,12 +7964,12 @@ var Zr = {
7964
7964
  visibleDuration: { months: F },
7965
7965
  onChange: (e) => {
7966
7966
  L && e && Be({
7967
- from: Oi(e.start, D ? le : void 0, q),
7968
- to: Oi(e.end, D ? de : void 0, q)
7967
+ from: Oi(e.start, D ? Y : void 0, J),
7968
+ to: Oi(e.end, D ? de : void 0, J)
7969
7969
  });
7970
7970
  },
7971
7971
  value: L ? (() => {
7972
- let e = W, t = Ci(e?.from, q), n = Ci(e?.to, q);
7972
+ let e = W, t = Ci(e?.from, J), n = Ci(e?.to, J);
7973
7973
  return t && n ? {
7974
7974
  start: t,
7975
7975
  end: n
@@ -7983,18 +7983,18 @@ var Zr = {
7983
7983
  }, ct = () => !L || !Ue.anchorDate ? !1 : (Ue.selectDate(Ue.anchorDate), !0), lt = () => {
7984
7984
  ct(), Me(!1);
7985
7985
  }, ut = () => {
7986
- let e = Te(q);
7987
- We.setFocusedDate(e), L ? (Ue.setValue(null), G(void 0), te(void 0), b?.(void 0)) : (Ve.setValue(e), Be(Oi(e, D ? le : void 0, q), void 0, !D));
7986
+ let e = Te(J);
7987
+ We.setFocusedDate(e), L ? (Ue.setValue(null), G(void 0), te(void 0), b?.(void 0)) : (Ve.setValue(e), Be(Oi(e, D ? Y : void 0, J), void 0, !D));
7988
7988
  }, dt = (e) => {
7989
7989
  let t = Mi(e, {
7990
7990
  locale: V,
7991
- timeZone: q
7991
+ timeZone: J
7992
7992
  }), n = e.hours !== void 0 || e.minutes !== void 0;
7993
- re(E), D && n ? (ue(Di(t.from, q)), fe(Di(t.to, q)), Be(t, e.label)) : Be(D ? {
7994
- from: Oi(Ci(t.from, q), le, q),
7995
- to: Oi(Ci(t.to, q), de, q)
7993
+ re(E), D && n ? (ue(Di(t.from, J)), fe(Di(t.to, J)), Be(t, e.label)) : Be(D ? {
7994
+ from: Oi(Ci(t.from, J), Y, J),
7995
+ to: Oi(Ci(t.to, J), de, J)
7996
7996
  } : t, e.label);
7997
- let r = Ci(t.from, q);
7997
+ let r = Ci(t.from, J);
7998
7998
  r && We.setFocusedDate(r), E || setTimeout(() => {
7999
7999
  Me(!1);
8000
8000
  }, 300);
@@ -8002,19 +8002,19 @@ var Zr = {
8002
8002
  if (ue(e), L) {
8003
8003
  let t = W;
8004
8004
  t?.from && t?.to && Be({
8005
- from: Oi(Ci(t.from, q), e, q),
8005
+ from: Oi(Ci(t.from, J), e, J),
8006
8006
  to: t.to
8007
8007
  });
8008
8008
  } else {
8009
8009
  let t = W;
8010
- t && Be(Oi(Ci(t, q), e, q));
8010
+ t && Be(Oi(Ci(t, J), e, J));
8011
8011
  }
8012
8012
  }, pt = (e) => {
8013
8013
  fe(e);
8014
8014
  let t = W;
8015
8015
  t?.from && t?.to && Be({
8016
8016
  from: t.from,
8017
- to: Oi(Ci(t.to, q), e, q)
8017
+ to: Oi(Ci(t.to, J), e, J)
8018
8018
  });
8019
8019
  }, mt = h(P);
8020
8020
  u(() => {
@@ -8022,11 +8022,11 @@ var Zr = {
8022
8022
  }, [P]), u(() => {
8023
8023
  if (D) if (L) {
8024
8024
  let e = W;
8025
- ue(Di(e?.from, q) ?? ki), fe(Di(e?.to, q) ?? Ai);
8026
- } else ue(Di(W, q));
8025
+ ue(Di(e?.from, J) ?? ki), fe(Di(e?.to, J) ?? Ai);
8026
+ } else ue(Di(W, J));
8027
8027
  }, [
8028
8028
  W,
8029
- q,
8029
+ J,
8030
8030
  L,
8031
8031
  D
8032
8032
  ]), u(() => {
@@ -8037,28 +8037,28 @@ var Zr = {
8037
8037
  Ue.anchorDate
8038
8038
  ]), u(() => {
8039
8039
  if (Oe) {
8040
- let e = Ci(L ? W?.from : W, q);
8041
- We.setFocusedDate(e ?? Te(q)), re(E);
8040
+ let e = Ci(L ? W?.from : W, J);
8041
+ We.setFocusedDate(e ?? Te(J)), re(E);
8042
8042
  }
8043
8043
  }, [Oe]), u(() => {
8044
- oe.current && (oe.current.inert = !ie);
8044
+ se.current && (se.current.inert = !ie);
8045
8045
  }, [ie]);
8046
- let ht = C?.find((e) => e.label === J), gt = ht && (ht.showLabelInTrigger ?? (ht.hours !== void 0 || ht.minutes !== void 0)) ? ht.label : void 0, _t = () => {
8046
+ let ht = C?.find((e) => e.label === ee), gt = ht && (ht.showLabelInTrigger ?? (ht.hours !== void 0 || ht.minutes !== void 0)) ? ht.label : void 0, _t = () => {
8047
8047
  if (gt !== void 0) return gt;
8048
8048
  if (L) {
8049
8049
  let t = W;
8050
- return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, ji(t.from, f, q), /* @__PURE__ */ e.createElement("span", { className: `${X}__separator` }, " – "), ji(t.to, f, q)) : ji(t.from, f, q) : x || "";
8050
+ return t?.from ? t.to ? /* @__PURE__ */ e.createElement(e.Fragment, null, ji(t.from, f, J), /* @__PURE__ */ e.createElement("span", { className: `${X}__separator` }, " – "), ji(t.to, f, J)) : ji(t.from, f, J) : x || "";
8051
8051
  } else {
8052
8052
  let e = W;
8053
- return e ? ji(e, f, q) : x || "";
8053
+ return e ? ji(e, f, J) : x || "";
8054
8054
  }
8055
8055
  }, vt = () => gt === void 0 ? L ? !W?.from : !W : !1, yt = () => {
8056
8056
  if (L) {
8057
8057
  let e = W, t = Ue.anchorDate;
8058
- return !e?.from && t ? `${R.selectedStartDate}${ji(wi(t, q), f, q)}${R.pleaseSelectEndDate}` : e?.from ? e.to ? `${R.selectedDateRange}${ji(e.from, f, q)}${R.to}${ji(e.to, f, q)}` : `${R.selectedStartDate}${ji(e.from, f, q)}${R.pleaseSelectEndDate}` : R.noDateRangeSelected || "";
8058
+ return !e?.from && t ? `${R.selectedStartDate}${ji(wi(t, J), f, J)}${R.pleaseSelectEndDate}` : e?.from ? e.to ? `${R.selectedDateRange}${ji(e.from, f, J)}${R.to}${ji(e.to, f, J)}` : `${R.selectedStartDate}${ji(e.from, f, J)}${R.pleaseSelectEndDate}` : R.noDateRangeSelected || "";
8059
8059
  } else {
8060
8060
  let e = W;
8061
- return e ? `${R.selectedDate}${ji(e, f, q)}` : R.noDateSelected || "";
8061
+ return e ? `${R.selectedDate}${ji(e, f, J)}` : R.noDateSelected || "";
8062
8062
  }
8063
8063
  }, bt = L ? W : void 0, xt = /* @__PURE__ */ e.createElement("div", {
8064
8064
  ...Ze,
@@ -8101,31 +8101,31 @@ var Zr = {
8101
8101
  baseClass: X,
8102
8102
  monthOffset: t,
8103
8103
  state: We,
8104
- timeZone: q
8104
+ timeZone: J
8105
8105
  })))), D && /* @__PURE__ */ e.createElement("div", { className: `${X}__time-section` }, L ? /* @__PURE__ */ e.createElement("div", { className: `${X}__time-fields` }, /* @__PURE__ */ e.createElement(Si, {
8106
- anchorDate: Ci(bt?.from, q),
8106
+ anchorDate: Ci(bt?.from, J),
8107
8107
  id: `${s}-start-time`,
8108
8108
  label: R.startTimeLabel || "",
8109
8109
  onChange: ft,
8110
8110
  size: "s",
8111
- timeZone: q,
8112
- value: le
8111
+ timeZone: J,
8112
+ value: Y
8113
8113
  }), /* @__PURE__ */ e.createElement(Si, {
8114
- anchorDate: Ci(bt?.to, q),
8114
+ anchorDate: Ci(bt?.to, J),
8115
8115
  id: `${s}-end-time`,
8116
8116
  label: R.endTimeLabel || "",
8117
8117
  onChange: pt,
8118
8118
  size: "s",
8119
- timeZone: q,
8119
+ timeZone: J,
8120
8120
  value: de
8121
8121
  })) : W && /* @__PURE__ */ e.createElement("div", { className: `${X}__time-fields` }, /* @__PURE__ */ e.createElement(Si, {
8122
- anchorDate: Ci(W, q),
8122
+ anchorDate: Ci(W, J),
8123
8123
  id: `${s}-time`,
8124
8124
  label: R.timeLabel || "",
8125
8125
  onChange: ft,
8126
8126
  size: "s",
8127
- timeZone: q,
8128
- value: le
8127
+ timeZone: J,
8128
+ value: Y
8129
8129
  })), O && !z && xe), o && /* @__PURE__ */ e.createElement("div", { className: `${X}__footer-note` }, o), /* @__PURE__ */ e.createElement("div", { className: `${X}__actions` }, /* @__PURE__ */ e.createElement(kn, {
8130
8130
  className: `${X}__action-button ${X}__action-button--today`,
8131
8131
  label: R.todayButton,
@@ -8199,30 +8199,30 @@ var Zr = {
8199
8199
  role: "group"
8200
8200
  }, C?.map((t) => /* @__PURE__ */ e.createElement("button", {
8201
8201
  key: t.label,
8202
- "aria-pressed": J === t.label,
8203
- className: Z([`${X}__preset-item`, J === t.label ? `${X}__preset-item--active` : null]),
8202
+ "aria-pressed": ee === t.label,
8203
+ className: Z([`${X}__preset-item`, ee === t.label ? `${X}__preset-item--active` : null]),
8204
8204
  onClick: () => dt(t),
8205
8205
  type: "button"
8206
8206
  }, t.label)), t && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", {
8207
8207
  "aria-hidden": "true",
8208
8208
  className: `${X}__preset-divider`
8209
8209
  }), /* @__PURE__ */ e.createElement("button", {
8210
- "aria-pressed": se,
8211
- className: Z([`${X}__preset-item`, se ? `${X}__preset-item--active` : null]),
8210
+ "aria-pressed": ce,
8211
+ className: Z([`${X}__preset-item`, ce ? `${X}__preset-item--active` : null]),
8212
8212
  onClick: () => {
8213
8213
  te(void 0), re(!0);
8214
8214
  },
8215
8215
  type: "button"
8216
8216
  }, R.customPresetLabel, !E && /* @__PURE__ */ e.createElement(Q, {
8217
8217
  iconName: "angleRight",
8218
- size: "s"
8218
+ size: "xs"
8219
8219
  })))), D && O && xe), /* @__PURE__ */ e.createElement("div", { className: "visually-hidden" }, yt()), z ? ae && /* @__PURE__ */ e.createElement("div", {
8220
- ref: oe,
8220
+ ref: se,
8221
8221
  className: `${X}__calendar-wrapper`,
8222
- style: { flexBasis: ie ? Y : 0 }
8222
+ style: { flexBasis: ie ? oe : 0 }
8223
8223
  }, /* @__PURE__ */ e.createElement("div", {
8224
8224
  className: `${X}__calendar-wrapper-inner`,
8225
- style: { width: Y }
8225
+ style: { width: oe }
8226
8226
  }, xt)) : xt))));
8227
8227
  }, Li = o(({ accept: t, className: n, defaultValue: r, disabled: i = !1, fieldLabel: a, id: o, inputProps: s, inputWidth: c, inputWidthMin: l, labelStrings: d = {
8228
8228
  chooseFile: "Choose file",
@@ -8249,7 +8249,7 @@ var Zr = {
8249
8249
  return;
8250
8250
  }
8251
8251
  Ve && r && (r === e.target.value ? k(!0) : k(!1)), h && h(e.target.files), D(!0);
8252
- }, ee = () => {
8252
+ }, K = () => {
8253
8253
  let e = document.getElementById(`${o}--input`);
8254
8254
  e.value = "", Ve && k(!1), m && m(), D(!1), e.focus();
8255
8255
  };
@@ -8283,7 +8283,7 @@ var Zr = {
8283
8283
  htmlFor: `${o}--input`
8284
8284
  }, /* @__PURE__ */ e.createElement(Q, {
8285
8285
  iconName: "paperclip",
8286
- size: "s"
8286
+ size: "xs"
8287
8287
  }), d.chooseFile), /* @__PURE__ */ e.createElement("input", {
8288
8288
  ref: T,
8289
8289
  accept: t || null,
@@ -8299,7 +8299,7 @@ var Zr = {
8299
8299
  ...s
8300
8300
  }), E && /* @__PURE__ */ e.createElement(mn, {
8301
8301
  clearLabel: d.clearButton,
8302
- handleClearInput: ee,
8302
+ handleClearInput: K,
8303
8303
  id: o
8304
8304
  })), z && /* @__PURE__ */ e.createElement(un, {
8305
8305
  hasValidationMessage: !!S,
@@ -8482,7 +8482,7 @@ var Zr = {
8482
8482
  className: `${b}-grip`
8483
8483
  }, /* @__PURE__ */ e.createElement(Q, {
8484
8484
  iconName: "gripDotsVertical",
8485
- size: "s"
8485
+ size: "xs"
8486
8486
  })), /* @__PURE__ */ e.createElement("span", { className: `${b}-text` }, g.value), /* @__PURE__ */ e.createElement("button", {
8487
8487
  "aria-label": v.tagRemove.replace("{value}", g.value),
8488
8488
  className: `${b}-remove`,
@@ -8495,7 +8495,7 @@ var Zr = {
8495
8495
  }, /* @__PURE__ */ e.createElement(Q, {
8496
8496
  className: `${b}-remove-icon`,
8497
8497
  iconName: "xmark",
8498
- size: "s"
8498
+ size: "xs"
8499
8499
  })));
8500
8500
  }, Hi = o(({ addMorePlaceholder: t = "Add another", className: n, disabled: r = !1, id: i, inputMinHeight: a, inputWidth: o, inputWidthMin: s, isSortable: c = !1, label: l, message: u, onChange: d, placeholder: f, required: p = !1, showLabel: m = !0, size: _ = "s", tags: v, tooltipText: y = null, translationStrings: b = {
8501
8501
  inputInstructions: "Type a tag name and press Enter to add. Press Backspace on empty input to remove last tag. Press left arrow on empty input to navigate to tags.",
@@ -8504,11 +8504,11 @@ var Zr = {
8504
8504
  tagRemove: "Remove {value}",
8505
8505
  tagsListLabel: "Current tags"
8506
8506
  }, validationMessage: x, validationStatus: S, ...C }, w) => {
8507
- let T = on(o, s), E = "pds-tags-input", D = _ === "s" ? null : `${E}--${_}`, O = r ? $.disabled : null, k = p && !r ? $.required : null, A = S === "error" ? $.error : null, j = S === "success" ? $.success : null, M = x || u, [N, P] = g(""), [F, I] = g(null), [L, R] = g(null), [z, B] = g(null), [V, H] = g(null), [U, W] = g(""), G = h(null), ee = v.length > 0 ? t : f, K = (e) => {
8507
+ let T = on(o, s), E = "pds-tags-input", D = _ === "s" ? null : `${E}--${_}`, O = r ? $.disabled : null, k = p && !r ? $.required : null, A = S === "error" ? $.error : null, j = S === "success" ? $.success : null, M = x || u, [N, P] = g(""), [F, I] = g(null), [L, R] = g(null), [z, B] = g(null), [V, H] = g(null), [U, W] = g(""), G = h(null), K = v.length > 0 ? t : f, q = (e) => {
8508
8508
  W(e), setTimeout(() => W(""), 1e3);
8509
- }, q = (e) => {
8510
- d(e);
8511
8509
  }, J = (e) => {
8510
+ d(e);
8511
+ }, ee = (e) => {
8512
8512
  I(e);
8513
8513
  }, te = () => {
8514
8514
  I(null), R(null), B(null);
@@ -8519,28 +8519,28 @@ var Zr = {
8519
8519
  let t = v.findIndex((e) => e.id === F), n = v.findIndex((e) => e.id === L);
8520
8520
  if (t === -1 || n === -1) return;
8521
8521
  let r = [...v], [i] = r.splice(t, 1), a = n;
8522
- a = z === "after" ? t < n ? n : n + 1 : n, r.splice(a, 0, i), q(r), K("Tag reordered"), I(null), R(null), B(null);
8522
+ a = z === "after" ? t < n ? n : n + 1 : n, r.splice(a, 0, i), J(r), q("Tag reordered"), I(null), R(null), B(null);
8523
8523
  }, ie = (e, t) => {
8524
8524
  let n = [...v], [r] = n.splice(e, 1);
8525
- n.splice(t, 0, r), K(`${r.value} moved to position ${t + 1} of ${v.length}`), q(n);
8525
+ n.splice(t, 0, r), q(`${r.value} moved to position ${t + 1} of ${v.length}`), J(n);
8526
8526
  }, ae = (e) => {
8527
8527
  let t = v.find((t) => t.id === e);
8528
- q(v.filter((t) => t.id !== e)), t && K(`${t.value} removed`);
8529
- }, Y = () => {
8528
+ J(v.filter((t) => t.id !== e)), t && q(`${t.value} removed`);
8529
+ }, oe = () => {
8530
8530
  H(null), setTimeout(() => {
8531
8531
  G.current?.focus();
8532
8532
  }, 0);
8533
- }, oe = (e) => {
8533
+ }, se = (e) => {
8534
8534
  if (!r) if (e.key === "Enter" && N.trim()) {
8535
8535
  e.preventDefault();
8536
8536
  let t = {
8537
8537
  id: Date.now().toString(),
8538
8538
  value: N.trim()
8539
8539
  };
8540
- q([...v, t]), K(`${N.trim()} added`), P("");
8540
+ J([...v, t]), q(`${N.trim()} added`), P("");
8541
8541
  } else if (e.key === "Backspace" && !N && v.length > 0) {
8542
8542
  let e = v[v.length - 1];
8543
- q(v.slice(0, -1)), K(`${e.value} removed`);
8543
+ J(v.slice(0, -1)), q(`${e.value} removed`);
8544
8544
  } else e.key === "ArrowLeft" && !N && v.length > 0 && (e.preventDefault(), H(v.length - 1));
8545
8545
  };
8546
8546
  return /* @__PURE__ */ e.createElement("div", {
@@ -8592,8 +8592,8 @@ var Zr = {
8592
8592
  isSortable: c,
8593
8593
  onDragEnd: te,
8594
8594
  onDragOver: ne,
8595
- onDragStart: J,
8596
- onFocusInput: Y,
8595
+ onDragStart: ee,
8596
+ onFocusInput: oe,
8597
8597
  onKeyboardMove: ie,
8598
8598
  onRemove: ae,
8599
8599
  setFocusedIndex: H,
@@ -8612,8 +8612,8 @@ var Zr = {
8612
8612
  id: i,
8613
8613
  name: i,
8614
8614
  onChange: (e) => P(e.target.value),
8615
- onKeyDown: oe,
8616
- placeholder: ee,
8615
+ onKeyDown: se,
8616
+ placeholder: K,
8617
8617
  required: p,
8618
8618
  type: "text",
8619
8619
  value: N
@@ -8704,10 +8704,10 @@ var Zr = {
8704
8704
  }, type: k = "text", validationMessage: A, validationStatus: j, value: M, ...N }, P) => {
8705
8705
  let F = on(d, f), I = "pds-text-input", L = a ? $.disabled : null, R = S && !a ? $.required : null, z = j === "error" ? $.error : null, B = j === "success" ? $.success : null, V = x ? $.readonly : null, H = E === "s" ? null : `${I}--${E}`, U = c && k === "url" ? `${I}--has-url-prefix` : null, W = null;
8706
8706
  k === "search" && (W = "search"), k === "search" && C === "filter" && (W = "filter"), j === "error" && (W = "error"), j === "success" && (W = "success");
8707
- let G = A || m, ee = M !== void 0, [K, q] = g(i === void 0 ? "" : i), J = M || K, te = s && k === "search" && !J, ne = (e) => {
8707
+ let G = A || m, K = M !== void 0, [q, J] = g(i === void 0 ? "" : i), ee = M || q, te = s && k === "search" && !ee, ne = (e) => {
8708
8708
  x && e.preventDefault();
8709
8709
  }, re = (e) => {
8710
- if (T && Y && oe(!1), c && k === "url") {
8710
+ if (T && oe && se(!1), c && k === "url") {
8711
8711
  let t = sn(e.target.value), n = {
8712
8712
  ...e,
8713
8713
  target: {
@@ -8726,18 +8726,18 @@ var Zr = {
8726
8726
  value: t
8727
8727
  }
8728
8728
  };
8729
- ee || q(t), _ && _(n);
8730
- } else ee || q(e.target.value), _ && _(e);
8729
+ K || J(t), _ && _(n);
8730
+ } else K || J(e.target.value), _ && _(e);
8731
8731
  }, ae = () => {
8732
- ee || q(""), v && v();
8732
+ K || J(""), v && v();
8733
8733
  let e = document.getElementById(l);
8734
8734
  e && e.focus();
8735
- }, [Y, oe] = g(!1), se = () => {
8736
- oe((e) => !e);
8735
+ }, [oe, se] = g(!1), ce = () => {
8736
+ se((e) => !e);
8737
8737
  let e = document.getElementById(l);
8738
8738
  e && e.focus();
8739
- }, ce = k;
8740
- return T && k === "password" && (ce = Y ? "text" : "password"), /* @__PURE__ */ e.createElement("div", {
8739
+ }, le = k;
8740
+ return T && k === "password" && (le = oe ? "text" : "password"), /* @__PURE__ */ e.createElement("div", {
8741
8741
  className: Z([
8742
8742
  $.base,
8743
8743
  I,
@@ -8762,7 +8762,7 @@ var Zr = {
8762
8762
  }), T && k === "password" && /* @__PURE__ */ e.createElement("div", {
8763
8763
  "aria-live": "polite",
8764
8764
  className: "visually-hidden"
8765
- }, `${O.visibilityStatus} ${Y ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: Z([
8765
+ }, `${O.visibilityStatus} ${oe ? "visible" : "hidden"}.`), /* @__PURE__ */ e.createElement("div", { className: Z([
8766
8766
  `${I}__input-wrapper`,
8767
8767
  c && k === "url" ? `${I}__input-wrapper--has-prefix` : null,
8768
8768
  te ? `${I}__input-wrapper--has-search-shortcut` : null
@@ -8782,28 +8782,28 @@ var Zr = {
8782
8782
  placeholder: b,
8783
8783
  readOnly: x,
8784
8784
  required: S,
8785
- type: ce,
8786
- value: ee ? M : K,
8785
+ type: le,
8786
+ value: K ? M : q,
8787
8787
  ...u
8788
- }), o && J && /* @__PURE__ */ e.createElement(mn, {
8788
+ }), o && ee && /* @__PURE__ */ e.createElement(mn, {
8789
8789
  clearLabel: O.clearButton,
8790
8790
  handleClearInput: ae,
8791
8791
  id: l
8792
8792
  }), T && k === "password" && /* @__PURE__ */ e.createElement("button", {
8793
8793
  "aria-controls": l,
8794
8794
  className: `${I}__visibility-toggle`,
8795
- onClick: se,
8795
+ onClick: ce,
8796
8796
  onMouseDown: (e) => e.preventDefault(),
8797
- title: Y ? O.visibilityToggleHide : O.visibilityToggleShow,
8797
+ title: oe ? O.visibilityToggleHide : O.visibilityToggleShow,
8798
8798
  type: "button"
8799
8799
  }, /* @__PURE__ */ e.createElement(Q, {
8800
- iconName: Y ? "eyeSlash" : "eye",
8800
+ iconName: oe ? "eyeSlash" : "eye",
8801
8801
  size: "m"
8802
8802
  })), te && /* @__PURE__ */ e.createElement(pn, {
8803
8803
  inputId: l,
8804
8804
  shortcutLabel: O.searchShortcut
8805
8805
  }), r && k !== "password" && /* @__PURE__ */ e.createElement(hn, {
8806
- currentLength: J.length,
8806
+ currentLength: ee.length,
8807
8807
  id: l,
8808
8808
  maxLength: r,
8809
8809
  overLimitMessage: O.counterOverLimit
@@ -8826,7 +8826,7 @@ var Zr = {
8826
8826
  }, n, /* @__PURE__ */ e.createElement(Q, {
8827
8827
  className: `${a}__icon`,
8828
8828
  iconName: "arrowRight",
8829
- size: r === "m" ? "m" : "s"
8829
+ size: r === "m" ? "m" : "xs"
8830
8830
  }));
8831
8831
  }, qi = ({ children: t, className: n, fontSize: r, isLoading: i, newWindowText: a = "opens in a new window", url: o, ...s }) => {
8832
8832
  let c = "pds-link-new-window", l = r ? `${c}--${r}` : null;
@@ -9141,7 +9141,7 @@ var Zr = {
9141
9141
  type: "button"
9142
9142
  }, /* @__PURE__ */ e.createElement(Q, {
9143
9143
  iconName: l ? "xmark" : "bars",
9144
- size: "l"
9144
+ size: "xl"
9145
9145
  }));
9146
9146
  return /* @__PURE__ */ e.createElement("header", {
9147
9147
  className: Z([
@@ -9291,7 +9291,7 @@ var Zr = {
9291
9291
  ]),
9292
9292
  role: i ? "menuitem" : void 0,
9293
9293
  tabIndex: i ? b === r ? 0 : -1 : void 0,
9294
- ...i ? V({ onKeyDown: (e) => ee(e, r) }) : null
9294
+ ...i ? V({ onKeyDown: (e) => K(e, r) }) : null
9295
9295
  }, t.linkContent))), [v, y] = g(!1), [b, x] = g(null), C = h([]), w = h(v), A = h(!1), { context: j, floatingStyles: P, refs: F } = N({
9296
9296
  placement: "right-start",
9297
9297
  open: v,
@@ -9341,17 +9341,17 @@ var Zr = {
9341
9341
  i && s && (e.key === "ArrowRight" || e.key === " " || e.key === "Spacebar") && (e.preventDefault(), y(!0));
9342
9342
  }, G = (e) => {
9343
9343
  (C.current[e]?.querySelector("a"))?.click(), y(!1);
9344
- }, ee = (e, t) => {
9344
+ }, K = (e, t) => {
9345
9345
  e.key === "Enter" && (e.preventDefault(), G(t));
9346
- }, K = ua() === "sm", q = (e) => {
9346
+ }, q = ua() === "sm", J = (e) => {
9347
9347
  if (!(!i || !s) && e.nativeEvent.pointerType === "touch") {
9348
- if (K) {
9348
+ if (q) {
9349
9349
  e.preventDefault(), e.stopPropagation(), y(!0);
9350
9350
  return;
9351
9351
  }
9352
9352
  c && (e.preventDefault(), e.stopPropagation(), c());
9353
9353
  }
9354
- }, J = i && v && s && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
9354
+ }, ee = i && v && s && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
9355
9355
  ref: F.setFloating,
9356
9356
  className: `${d}__flyout`,
9357
9357
  style: P,
@@ -9367,7 +9367,7 @@ var Zr = {
9367
9367
  n ? `${f}--active` : null
9368
9368
  ]),
9369
9369
  ...U({
9370
- onClick: q,
9370
+ onClick: J,
9371
9371
  onKeyDown: W
9372
9372
  })
9373
9373
  }, s ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, ia(d, o, s, t), !i && /* @__PURE__ */ e.createElement("button", {
@@ -9387,7 +9387,7 @@ var Zr = {
9387
9387
  crossAxis: 0
9388
9388
  },
9389
9389
  preferredPlacement: "right"
9390
- }) : m)), J);
9390
+ }) : m)), ee);
9391
9391
  }, fa = ({ ariaLabel: t, className: n, isSidebarCollapsed: r, labels: i = {
9392
9392
  submenu: "submenu",
9393
9393
  toggle: "Toggle"
@@ -9765,7 +9765,7 @@ var Zr = {
9765
9765
  type: "button"
9766
9766
  }, /* @__PURE__ */ e.createElement(Q, {
9767
9767
  iconName: "angleDown",
9768
- size: "s",
9768
+ size: "xs",
9769
9769
  verticalAlign: "-0.0625rem"
9770
9770
  }), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${i.toggle} ${Qi(n.linkContent)} ${i.submenu}`)), ra(n.linkContent, n.links)), /* @__PURE__ */ e.createElement("ul", {
9771
9771
  className: Z([
@@ -9888,7 +9888,7 @@ var Zr = {
9888
9888
  ],
9889
9889
  whileElementsMounted: T,
9890
9890
  strategy: "fixed"
9891
- }), R = j(F, { event: "mousedown" }), V = M(F), W = H(F, { role: "menu" }), G = h([]), { getFloatingProps: ee, getItemProps: K, getReferenceProps: q } = z([
9891
+ }), R = j(F, { event: "mousedown" }), V = M(F), W = H(F, { role: "menu" }), G = h([]), { getFloatingProps: K, getItemProps: q, getReferenceProps: J } = z([
9892
9892
  V,
9893
9893
  W,
9894
9894
  R,
@@ -9901,7 +9901,7 @@ var Zr = {
9901
9901
  focusItemOnOpen: !1,
9902
9902
  focusItemOnHover: !0
9903
9903
  })
9904
- ]), { isMounted: J, styles: te } = U(F, {
9904
+ ]), { isMounted: ee, styles: te } = U(F, {
9905
9905
  duration: {
9906
9906
  open: 300,
9907
9907
  close: 150
@@ -9933,14 +9933,14 @@ var Zr = {
9933
9933
  let n = e.id ? e.id : `${O}-item-${t}`;
9934
9934
  C.current.push(n), w.current.push(e);
9935
9935
  });
9936
- let Y = (e) => {
9936
+ let oe = (e) => {
9937
9937
  let t = C.current.indexOf(e), n = w.current[t];
9938
9938
  n.linkContent && !n.disabled && (G.current[t].querySelector("a").click(), y(!1)), n.callback && !n.disabled && (n.callback(), y(!1));
9939
- }, oe = (e) => {
9940
- e.preventDefault(), e.key === "Enter" && Y(e.currentTarget.id);
9941
9939
  }, se = (e) => {
9942
- Y(e.currentTarget.id);
9943
- }, ce = i.map((t, n) => {
9940
+ e.preventDefault(), e.key === "Enter" && oe(e.currentTarget.id);
9941
+ }, ce = (e) => {
9942
+ oe(e.currentTarget.id);
9943
+ }, le = i.map((t, n) => {
9944
9944
  let r = C.current[n], i = `${A}__item`, a = t.disabled ? `${i}--disabled` : null;
9945
9945
  return /* @__PURE__ */ e.createElement("li", {
9946
9946
  key: r,
@@ -9950,16 +9950,16 @@ var Zr = {
9950
9950
  "aria-disabled": t.disabled || void 0,
9951
9951
  className: Z([i, a]),
9952
9952
  id: r,
9953
- onKeyDown: oe,
9953
+ onKeyDown: se,
9954
9954
  role: "menuitem",
9955
9955
  tabIndex: m === n ? 0 : -1,
9956
- ...K({ onClick: (e) => se(e) })
9956
+ ...q({ onClick: (e) => ce(e) })
9957
9957
  }, t.linkContent ? t.linkContent : t.label, t.iconName && /* @__PURE__ */ e.createElement(Q, {
9958
9958
  className: `${A}__icon`,
9959
9959
  iconName: t.iconName,
9960
9960
  size: "m"
9961
9961
  }));
9962
- }), le = i.map((t, n) => {
9962
+ }), Y = i.map((t, n) => {
9963
9963
  let r = C.current[n], i = `${A}__item`, a = t.disabled ? `${i}--disabled` : null;
9964
9964
  return /* @__PURE__ */ e.createElement("li", {
9965
9965
  key: r,
@@ -9982,24 +9982,24 @@ var Zr = {
9982
9982
  }, x ? /* @__PURE__ */ e.createElement(Ln, { label: ue }, /* @__PURE__ */ e.createElement("ul", {
9983
9983
  className: Z([P, `${P}--mobile`]),
9984
9984
  role: "menu"
9985
- }, ie, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ae, le)) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
9985
+ }, ie, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ae, Y)) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("button", {
9986
9986
  ref: L.setReference,
9987
9987
  "aria-label": t,
9988
9988
  className: `${A}__trigger`,
9989
9989
  type: "button",
9990
- ...q()
9991
- }, re), J && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
9990
+ ...J()
9991
+ }, re), ee && /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement("div", {
9992
9992
  ref: L.setFloating,
9993
9993
  className: `${A}__dropdown`,
9994
9994
  style: {
9995
9995
  ...I,
9996
9996
  zIndex: ne
9997
9997
  },
9998
- ...ee()
9998
+ ...K()
9999
9999
  }, /* @__PURE__ */ e.createElement("div", { style: { ...te } }, /* @__PURE__ */ e.createElement("ul", {
10000
10000
  className: P,
10001
10001
  role: "menu"
10002
- }, ie, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ae, ce))))));
10002
+ }, ie, /* @__PURE__ */ e.createElement("li", { role: "separator" }), ae, le))))));
10003
10003
  }, Sa = ({ avatarSize: t = "m", className: n, showActiveState: r = !0, workspace: i, ...a }) => {
10004
10004
  let o = "pds-workspace-list-item";
10005
10005
  return /* @__PURE__ */ e.createElement("div", {
@@ -10087,7 +10087,7 @@ var Zr = {
10087
10087
  onClick: () => t.onRestrictedSelection(),
10088
10088
  type: "button"
10089
10089
  }, /* @__PURE__ */ e.createElement(Sa, { workspace: t })) : a ? /* @__PURE__ */ e.createElement(a, Object.assign({}, t.workspaceLink?.props), /* @__PURE__ */ e.createElement(Sa, { workspace: t })) : null);
10090
- }), ee = r && /* @__PURE__ */ e.createElement("div", {
10090
+ }), K = r && /* @__PURE__ */ e.createElement("div", {
10091
10091
  ref: b,
10092
10092
  className: `${T}__create-link`
10093
10093
  }, /* @__PURE__ */ e.createElement(An, {
@@ -10099,7 +10099,7 @@ var Zr = {
10099
10099
  onClick: () => I(!1),
10100
10100
  size: "s",
10101
10101
  variant: "link"
10102
- })), K = (t) => z ? /* @__PURE__ */ e.createElement("div", { className: `${T}__button-content` }, /* @__PURE__ */ e.createElement(li, {
10102
+ })), q = (t) => z ? /* @__PURE__ */ e.createElement("div", { className: `${T}__button-content` }, /* @__PURE__ */ e.createElement(li, {
10103
10103
  className: `${T}__avatar`,
10104
10104
  imageSrc: z.imageSrc,
10105
10105
  size: "m",
@@ -10111,7 +10111,7 @@ var Zr = {
10111
10111
  return /* @__PURE__ */ e.createElement("span", {
10112
10112
  className: Z([T, n]),
10113
10113
  ...d
10114
- }, w ? /* @__PURE__ */ e.createElement(Ln, { label: K() }, x && /* @__PURE__ */ e.createElement("div", { className: `${T}__filter` }, /* @__PURE__ */ e.createElement(Gi, {
10114
+ }, w ? /* @__PURE__ */ e.createElement(Ln, { label: q() }, x && /* @__PURE__ */ e.createElement("div", { className: `${T}__filter` }, /* @__PURE__ */ e.createElement(Gi, {
10115
10115
  hasClearButton: !0,
10116
10116
  id: "workspace-filter-mobile",
10117
10117
  label: i,
@@ -10139,7 +10139,7 @@ var Zr = {
10139
10139
  className: `${T}__trigger`,
10140
10140
  type: "button",
10141
10141
  ...M()
10142
- }, K(B), /* @__PURE__ */ e.createElement(Q, {
10142
+ }, q(B), /* @__PURE__ */ e.createElement(Q, {
10143
10143
  className: `${T}__trigger-icon`,
10144
10144
  iconName: "angleDown",
10145
10145
  size: "m"
@@ -10167,7 +10167,7 @@ var Zr = {
10167
10167
  }, /* @__PURE__ */ e.createElement("li", {
10168
10168
  className: `pds-dropdown__heading ${T}__item-heading`,
10169
10169
  role: "presentation"
10170
- }, s), W.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, l) : W), ee))));
10170
+ }, s), W.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: "pds-dropdown__no-results" }, l) : W), K))));
10171
10171
  }, wa = {
10172
10172
  info: "circleInfo",
10173
10173
  warning: "triangleExclamation",
@@ -10228,7 +10228,7 @@ var Zr = {
10228
10228
  }, /* @__PURE__ */ e.createElement("div", { className: `${C}__content` }, /* @__PURE__ */ e.createElement(Q, {
10229
10229
  className: `${C}__icon ${C}__icon--${t.type}`,
10230
10230
  iconName: d === "neutral" ? r : wa[d],
10231
- size: l ? "l" : "m"
10231
+ size: l ? "2xl" : "l"
10232
10232
  }), /* @__PURE__ */ e.createElement("div", { className: `${C}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, h, " "), c)), o && /* @__PURE__ */ e.createElement("button", {
10233
10233
  className: `${C}__dismiss-button`,
10234
10234
  onClick: g,
@@ -10285,7 +10285,7 @@ var Zr = {
10285
10285
  ...o
10286
10286
  }, /* @__PURE__ */ e.createElement("div", { className: `${s}__icon ${s}__icon-${i}` }, i === "working" ? /* @__PURE__ */ e.createElement(Sn, { size: "l" }) : /* @__PURE__ */ e.createElement(Q, {
10287
10287
  iconName: `${i}` in Oa ? Oa[i] : Oa.info,
10288
- size: "l"
10288
+ size: "xl"
10289
10289
  })), /* @__PURE__ */ e.createElement("div", { className: `${s}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), /* @__PURE__ */ e.createElement("div", { className: `${s}__title` }, r), /* @__PURE__ */ e.createElement("div", { className: `${s}__message` }, d)));
10290
10290
  }, Aa = {
10291
10291
  info: "circleInfo",
@@ -10330,7 +10330,7 @@ var Zr = {
10330
10330
  ...m
10331
10331
  }, /* @__PURE__ */ e.createElement("div", { className: `${v}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${v}__icon ${v}__icon-${f}` }, /* @__PURE__ */ e.createElement(Q, {
10332
10332
  iconName: `${f}` in Aa ? Aa[f] : Aa.info,
10333
- size: "l"
10333
+ size: "xl"
10334
10334
  })), /* @__PURE__ */ e.createElement("div", { className: `${v}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, C), d && /* @__PURE__ */ e.createElement("div", { className: `${v}__title` }, d), /* @__PURE__ */ e.createElement("div", { className: `${v}__message` }, w))), (n || l || o) && /* @__PURE__ */ e.createElement("div", { className: `${v}__actions` }, l && /* @__PURE__ */ e.createElement(kn, {
10335
10335
  variant: "link",
10336
10336
  ...l,
@@ -10405,7 +10405,7 @@ var Zr = {
10405
10405
  }, /* @__PURE__ */ e.createElement("div", { className: `${c}__icon-container` }, o === "working" ? /* @__PURE__ */ e.createElement(Sn, { size: "l" }) : /* @__PURE__ */ e.createElement(Q, {
10406
10406
  className: `${c}__icon ${c}__icon--${o}`,
10407
10407
  iconName: La[o],
10408
- size: "l"
10408
+ size: "xl"
10409
10409
  })), /* @__PURE__ */ e.createElement("div", { className: `${c}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, d), n), h && /* @__PURE__ */ e.createElement("button", {
10410
10410
  "aria-label": p ? f.resume : f.pause,
10411
10411
  className: `${c}__pause-button`,
@@ -11355,13 +11355,13 @@ var Zr = {
11355
11355
  ],
11356
11356
  whileElementsMounted: T,
11357
11357
  strategy: "fixed"
11358
- }), G = Bn("var(--pds-z-index-overlay)"), ee = () => {
11358
+ }), G = Bn("var(--pds-z-index-overlay)"), K = () => {
11359
11359
  O(!1), c && c();
11360
- }, { getFloatingProps: K, getReferenceProps: q } = z([
11360
+ }, { getFloatingProps: q, getReferenceProps: J } = z([
11361
11361
  j(R),
11362
11362
  M(R),
11363
11363
  H(R)
11364
- ]), J = V.arrow?.x ?? 0, te = V.arrow?.y ?? 0, ne = J + _o / 2, re = te + go, { isMounted: ie } = U(R, {
11364
+ ]), ee = V.arrow?.x ?? 0, te = V.arrow?.y ?? 0, ne = ee + _o / 2, re = te + go, { isMounted: ie } = U(R, {
11365
11365
  initial: { transform: "scale(0)" },
11366
11366
  common: ({ side: e }) => ({ transformOrigin: {
11367
11367
  top: `${ne}px calc(100% + ${go}px)`,
@@ -11378,7 +11378,7 @@ var Zr = {
11378
11378
  className: `${P}__trigger`,
11379
11379
  role: "button",
11380
11380
  tabIndex: 0,
11381
- ...q(),
11381
+ ...J(),
11382
11382
  ...x
11383
11383
  }, a ? /* @__PURE__ */ e.createElement("span", { className: F }, a) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, m), /* @__PURE__ */ e.createElement(Q, {
11384
11384
  className: `${P}__icon`,
@@ -11395,7 +11395,7 @@ var Zr = {
11395
11395
  ...B,
11396
11396
  zIndex: G
11397
11397
  },
11398
- ...K()
11398
+ ...q()
11399
11399
  }, /* @__PURE__ */ e.createElement(v, {
11400
11400
  ref: L,
11401
11401
  className: `${P}__arrow`,
@@ -11408,7 +11408,7 @@ var Zr = {
11408
11408
  width: _o
11409
11409
  }), /* @__PURE__ */ e.createElement("div", { className: `${P}__container-inner` }, p && /* @__PURE__ */ e.createElement("div", { className: `${P}__title` }, p), i && /* @__PURE__ */ e.createElement("div", { className: `${P}__content` }, i), o && /* @__PURE__ */ e.createElement("div", { className: `${P}__close-wrapper` }, /* @__PURE__ */ e.createElement(Pn, {
11410
11410
  ariaLabel: r,
11411
- onClick: ee,
11411
+ onClick: K,
11412
11412
  size: "s"
11413
11413
  })))))));
11414
11414
  }, yo = {
@@ -11778,132 +11778,132 @@ var Vo = 24, Ho = { droppable: { strategy: Ze.Always } }, Uo = o(function({ chil
11778
11778
  };
11779
11779
  }
11780
11780
  return rt(e, t);
11781
- }, [_]), G = b === "always" || b === "toggle" && (l ?? !1), { currentItems: ee, expandItem: K, flatNodes: q, handleReorder: J, resetToSnapshot: te, sortableIds: ne, toggleExpand: re } = Ro({
11781
+ }, [_]), G = b === "always" || b === "toggle" && (l ?? !1), { currentItems: K, expandItem: q, flatNodes: J, handleReorder: ee, resetToSnapshot: te, sortableIds: ne, toggleExpand: re } = Ro({
11782
11782
  defaultItems: a,
11783
11783
  isDragEnabled: G,
11784
11784
  items: p,
11785
11785
  onReorder: v
11786
11786
  });
11787
11787
  f(C, () => ({ resetToSnapshot: te }), [te]);
11788
- let ie = tt(et(Qe, { activationConstraint: { distance: 5 } }), et(Xe, { coordinateGetter: W })), ae = G ? `${w}--reorder-active` : null, Y = m(() => new Set(q.filter((e) => u(e.data)).map((e) => e.id)), [q, u]), oe = m(() => new Set(q.filter((e) => d(e.data)).map((e) => e.id)), [q, d]), se = c((e) => {
11789
- if (_ === 0 || oe.has(String(e))) return !1;
11790
- let t = q.find((t) => t.id === e);
11788
+ let ie = tt(et(Qe, { activationConstraint: { distance: 5 } }), et(Xe, { coordinateGetter: W })), ae = G ? `${w}--reorder-active` : null, oe = m(() => new Set(J.filter((e) => u(e.data)).map((e) => e.id)), [J, u]), se = m(() => new Set(J.filter((e) => d(e.data)).map((e) => e.id)), [J, d]), ce = c((e) => {
11789
+ if (_ === 0 || se.has(String(e))) return !1;
11790
+ let t = J.find((t) => t.id === e);
11791
11791
  return !t || t.depth >= _ ? !1 : t.hasChildren ? !t.isExpanded : !0;
11792
11792
  }, [
11793
- q,
11793
+ J,
11794
11794
  _,
11795
- oe
11796
- ]), ce = c((e) => j && se(j) ? null : at(e), [se, j]), le = m(() => {
11797
- if (!T || !j || Y.size === 0 || T === j || se(j)) return /* @__PURE__ */ new Set();
11798
- let e = q.findIndex((e) => e.id === T), t = q.findIndex((e) => e.id === j);
11795
+ se
11796
+ ]), le = c((e) => j && ce(j) ? null : at(e), [ce, j]), Y = m(() => {
11797
+ if (!T || !j || oe.size === 0 || T === j || ce(j)) return /* @__PURE__ */ new Set();
11798
+ let e = J.findIndex((e) => e.id === T), t = J.findIndex((e) => e.id === j);
11799
11799
  if (e === -1 || t === -1) return /* @__PURE__ */ new Set();
11800
11800
  let [n, r] = e < t ? [e + 1, t - 1] : [t + 1, e - 1];
11801
- return new Set(q.slice(n, r + 1).filter((e) => Y.has(e.id)).map((e) => e.id));
11801
+ return new Set(J.slice(n, r + 1).filter((e) => oe.has(e.id)).map((e) => e.id));
11802
11802
  }, [
11803
11803
  T,
11804
- q,
11805
- se,
11806
- Y,
11804
+ J,
11805
+ ce,
11806
+ oe,
11807
11807
  j
11808
- ]).size > 0, ue = m(() => T ? q.find((e) => e.id === T) ?? null : null, [T, q]), de = m(() => T ? Fo(ee, String(T)) ?? null : null, [T, ee]), fe = m(() => {
11808
+ ]).size > 0, ue = m(() => T ? J.find((e) => e.id === T) ?? null : null, [T, J]), de = m(() => T ? Fo(K, String(T)) ?? null : null, [T, K]), fe = m(() => {
11809
11809
  let e = ue?.depth ?? 0;
11810
- return !T || !j || O || _ === 0 ? e : Io(q, String(T), String(j), V * Vo, Vo, _);
11810
+ return !T || !j || O || _ === 0 ? e : Io(J, String(T), String(j), V * Vo, Vo, _);
11811
11811
  }, [
11812
11812
  T,
11813
11813
  ue,
11814
11814
  V,
11815
- q,
11815
+ J,
11816
11816
  O,
11817
11817
  _,
11818
11818
  j
11819
11819
  ]), pe = m(() => {
11820
- if (!T || O || fe === 0 || j && se(j)) return null;
11821
- let e = q.findIndex((e) => e.id === T);
11822
- return e === -1 ? null : Wo(q, e, fe);
11820
+ if (!T || O || fe === 0 || j && ce(j)) return null;
11821
+ let e = J.findIndex((e) => e.id === T);
11822
+ return e === -1 ? null : Wo(J, e, fe);
11823
11823
  }, [
11824
11824
  T,
11825
- q,
11826
- se,
11825
+ J,
11826
+ ce,
11827
11827
  O,
11828
11828
  j,
11829
11829
  fe
11830
11830
  ]), X = c((e) => {
11831
- let { active: t } = e, n = F.current === "keyboard", r = q.find((e) => e.id === t.id);
11831
+ let { active: t } = e, n = F.current === "keyboard", r = J.find((e) => e.id === t.id);
11832
11832
  E(t.id), D.current = t.id, k(n), A.current = n, I.current = r?.depth ?? 0, M(null), N.current = 0, P.current = 0, U.current = 0, H(0), B.current = 0, z(0), r?.hasChildren && r?.isExpanded && (re(String(t.id)), L.current = String(t.id));
11833
- }, [q, re]), me = c((e) => {
11833
+ }, [J, re]), me = c((e) => {
11834
11834
  let t = $e(e);
11835
- if (!t.length || !D.current || Y.size === 0) return t;
11836
- let n = q.findIndex((e) => e.id === D.current);
11835
+ if (!t.length || !D.current || oe.size === 0) return t;
11836
+ let n = J.findIndex((e) => e.id === D.current);
11837
11837
  for (let e of t) {
11838
11838
  let t = e.id;
11839
11839
  if (t === D.current) return [e];
11840
- let r = q.findIndex((e) => e.id === t);
11840
+ let r = J.findIndex((e) => e.id === t);
11841
11841
  if (n === -1 || r === -1) return [e];
11842
- if (Y.has(String(t))) {
11842
+ if (oe.has(String(t))) {
11843
11843
  if (n > r) continue;
11844
- let e = !oe.has(String(t)), i = _ > 0 && U.current > 0;
11845
- if (!se(t) && (!e || !i)) continue;
11844
+ let e = !se.has(String(t)), i = _ > 0 && U.current > 0;
11845
+ if (!ce(t) && (!e || !i)) continue;
11846
11846
  }
11847
11847
  let [i, a] = n < r ? [n + 1, r - 1] : [r + 1, n - 1];
11848
- if (!q.slice(i, a + 1).some((e) => Y.has(e.id))) return [e];
11848
+ if (!J.slice(i, a + 1).some((e) => oe.has(e.id))) return [e];
11849
11849
  }
11850
11850
  return [];
11851
11851
  }, [
11852
- q,
11853
- Y,
11854
- oe
11852
+ J,
11853
+ oe,
11854
+ se
11855
11855
  ]), he = c((e) => {
11856
11856
  let t = e.over?.id ?? null, n = D.current;
11857
- if (t && n && t !== n && Y.size > 0) {
11858
- let e = q.findIndex((e) => e.id === n), r = q.findIndex((e) => e.id === t);
11857
+ if (t && n && t !== n && oe.size > 0) {
11858
+ let e = J.findIndex((e) => e.id === n), r = J.findIndex((e) => e.id === t);
11859
11859
  if (e !== -1 && r !== -1) {
11860
11860
  let [t, n] = e < r ? [e + 1, r] : [r, e - 1];
11861
- if (q.slice(t, n + 1).some((e) => Y.has(e.id))) return;
11861
+ if (J.slice(t, n + 1).some((e) => oe.has(e.id))) return;
11862
11862
  }
11863
11863
  }
11864
11864
  M(t);
11865
- }, [q, Y]), ge = c((e) => {
11865
+ }, [J, oe]), ge = c((e) => {
11866
11866
  let t = e.delta.x;
11867
11867
  if (P.current = t, A.current || _ === 0) return;
11868
11868
  let n = Math.floor(t / Vo), r = U.current;
11869
11869
  (n > r || n < r && t < r * Vo - Vo * .4) && (U.current = n, H(n));
11870
11870
  }, [_]), _e = c((e) => {
11871
11871
  let { active: t, over: n } = e, r = A.current, i = B.current, a = U.current;
11872
- E(null), D.current = null, k(!1), A.current = !1, M(null), U.current = 0, H(0), L.current && (K(L.current), L.current = null);
11873
- let o = q.findIndex((e) => e.id === t.id), s = r ? i * Vo : a * Vo, c = !n || t.id === n.id, l = n?.id ?? null;
11874
- if (r && i > 0 && c && o > 0 && (l = q[o - 1].id), !l || t.id === l) {
11872
+ E(null), D.current = null, k(!1), A.current = !1, M(null), U.current = 0, H(0), L.current && (q(L.current), L.current = null);
11873
+ let o = J.findIndex((e) => e.id === t.id), s = r ? i * Vo : a * Vo, c = !n || t.id === n.id, l = n?.id ?? null;
11874
+ if (r && i > 0 && c && o > 0 && (l = J[o - 1].id), !l || t.id === l) {
11875
11875
  if (o === -1) return;
11876
- let e = q[o];
11876
+ let e = J[o];
11877
11877
  if (!e) return;
11878
- let n = Io(q, String(t.id), String(t.id), s, Vo, _);
11878
+ let n = Io(J, String(t.id), String(t.id), s, Vo, _);
11879
11879
  if (n === e.depth) return;
11880
- let r = [...q], [i] = r.splice(o, 1), a = Wo(r, o, n);
11881
- if (a && oe.has(a)) return;
11880
+ let r = [...J], [i] = r.splice(o, 1), a = Wo(r, o, n);
11881
+ if (a && se.has(a)) return;
11882
11882
  let c = {
11883
11883
  ...i,
11884
11884
  depth: n,
11885
11885
  parentId: a
11886
11886
  };
11887
11887
  r.splice(o, 0, c);
11888
- let l = q.filter((e) => e.id !== t.id).map((e) => e.id), u = r.filter((e) => e.id !== t.id).map((e) => e.id);
11889
- if (l.some((e, t) => Y.has(e) ? u.indexOf(e) !== t : !1)) return;
11890
- J(r), n > 0 && a && K(a);
11888
+ let l = J.filter((e) => e.id !== t.id).map((e) => e.id), u = r.filter((e) => e.id !== t.id).map((e) => e.id);
11889
+ if (l.some((e, t) => oe.has(e) ? u.indexOf(e) !== t : !1)) return;
11890
+ ee(r), n > 0 && a && q(a);
11891
11891
  return;
11892
11892
  }
11893
- let u = q.findIndex((e) => e.id === l);
11893
+ let u = J.findIndex((e) => e.id === l);
11894
11894
  if (o === -1 || u === -1) return;
11895
- let d = [...q], f = d[o].depth, [p] = d.splice(o, 1), m = [];
11895
+ let d = [...J], f = d[o].depth, [p] = d.splice(o, 1), m = [];
11896
11896
  for (; d.length > o && d[o].depth > f;) m.push(d.splice(o, 1)[0]);
11897
11897
  let h = d.findIndex((e) => e.id === l), g, v;
11898
- if (se(l)) {
11899
- let e = q[u];
11898
+ if (ce(l)) {
11899
+ let e = J[u];
11900
11900
  g = Math.min(e.depth + 1, _), v = String(l);
11901
11901
  } else {
11902
11902
  g = Io(d, String(t.id), String(l), s, Vo, _, p.depth);
11903
11903
  let e = d[h];
11904
11904
  v = e && e.depth === g - 1 ? String(l) : Wo(d, h, g);
11905
11905
  }
11906
- if (v && oe.has(v)) return;
11906
+ if (v && se.has(v)) return;
11907
11907
  let y = {
11908
11908
  ...p,
11909
11909
  depth: g,
@@ -11911,42 +11911,42 @@ var Vo = 24, Ho = { droppable: { strategy: Ze.Always } }, Uo = o(function({ chil
11911
11911
  }, b = d[h], x = b && b.depth === g - 1 && v === String(l) || o < u ? h + 1 : h;
11912
11912
  d.splice(x, 0, y, ...m);
11913
11913
  let S = new Set([String(t.id), ...m.map((e) => e.id)]);
11914
- q.some((e, t) => !Y.has(e.id) || S.has(e.id) || e.id === v ? !1 : d.findIndex((t) => t.id === e.id) !== t) || (J(d), g > 0 && v !== null && K(v));
11914
+ J.some((e, t) => !oe.has(e.id) || S.has(e.id) || e.id === v ? !1 : d.findIndex((t) => t.id === e.id) !== t) || (ee(d), g > 0 && v !== null && q(v));
11915
11915
  }, [
11916
- K,
11917
11916
  q,
11918
11917
  J,
11919
- se,
11920
- Y,
11918
+ ee,
11919
+ ce,
11920
+ oe,
11921
11921
  _,
11922
- oe
11922
+ se
11923
11923
  ]), ve = c(() => {
11924
- E(null), D.current = null, k(!1), A.current = !1, M(null), P.current = 0, U.current = 0, H(0), B.current = 0, z(0), L.current && (K(L.current), L.current = null);
11925
- }, [K]), ye = m(() => ({
11924
+ E(null), D.current = null, k(!1), A.current = !1, M(null), P.current = 0, U.current = 0, H(0), B.current = 0, z(0), L.current && (q(L.current), L.current = null);
11925
+ }, [q]), ye = m(() => ({
11926
11926
  onDragStart({ active: e }) {
11927
- let t = q.find((t) => t.id === e.id), n = Fo(ee, String(e.id));
11928
- return `Picked up ${n ? o(n) : String(e.id)}. Current position: ${t ? q.indexOf(t) + 1 : "?"} of ${q.length} at depth ${t?.depth ?? 0}.`;
11927
+ let t = J.find((t) => t.id === e.id), n = Fo(K, String(e.id));
11928
+ return `Picked up ${n ? o(n) : String(e.id)}. Current position: ${t ? J.indexOf(t) + 1 : "?"} of ${J.length} at depth ${t?.depth ?? 0}.`;
11929
11929
  },
11930
11930
  onDragOver({ active: e, over: t }) {
11931
11931
  if (!t) return;
11932
- let n = q.findIndex((e) => e.id === t.id);
11932
+ let n = J.findIndex((e) => e.id === t.id);
11933
11933
  if (n === -1) return;
11934
- let r = Fo(ee, String(e.id)), i = r ? o(r) : String(e.id), a = Io(q, String(e.id), String(t.id), P.current, Vo, _);
11935
- return `Moving ${i}. Target position: ${n + 1} of ${q.length} at depth ${a}.`;
11934
+ let r = Fo(K, String(e.id)), i = r ? o(r) : String(e.id), a = Io(J, String(e.id), String(t.id), P.current, Vo, _);
11935
+ return `Moving ${i}. Target position: ${n + 1} of ${J.length} at depth ${a}.`;
11936
11936
  },
11937
11937
  onDragEnd({ active: e, over: t }) {
11938
- let n = Fo(ee, String(e.id)), r = n ? o(n) : String(e.id);
11938
+ let n = Fo(K, String(e.id)), r = n ? o(n) : String(e.id);
11939
11939
  if (!t || e.id === t.id) return `${r} dropped. No change in position.`;
11940
- let i = q.findIndex((e) => e.id === t.id), a = Io(q, String(e.id), String(t.id), P.current, Vo, _);
11941
- return `${r} dropped at position ${i + 1} of ${q.length} at depth ${a}.`;
11940
+ let i = J.findIndex((e) => e.id === t.id), a = Io(J, String(e.id), String(t.id), P.current, Vo, _);
11941
+ return `${r} dropped at position ${i + 1} of ${J.length} at depth ${a}.`;
11942
11942
  },
11943
11943
  onDragCancel({ active: e }) {
11944
- let t = q.find((t) => t.id === e.id), n = Fo(ee, String(e.id));
11945
- return `Sorting cancelled. ${n ? o(n) : String(e.id)} returned to position ${t ? q.indexOf(t) + 1 : "?"} of ${q.length}.`;
11944
+ let t = J.find((t) => t.id === e.id), n = Fo(K, String(e.id));
11945
+ return `Sorting cancelled. ${n ? o(n) : String(e.id)} returned to position ${t ? J.indexOf(t) + 1 : "?"} of ${J.length}.`;
11946
11946
  }
11947
11947
  }), [
11948
- ee,
11949
- q,
11948
+ K,
11949
+ J,
11950
11950
  o,
11951
11951
  _
11952
11952
  ]), be = { columns: i }, xe = t.map(n, (t) => s(t) && t.type === Lo ? e.cloneElement(t, be) : t);
@@ -11965,7 +11965,7 @@ var Vo = 24, Ho = { droppable: { strategy: Ze.Always } }, Uo = o(function({ chil
11965
11965
  sensors: ie
11966
11966
  }, /* @__PURE__ */ e.createElement(nt, {
11967
11967
  items: ne,
11968
- strategy: ce
11968
+ strategy: le
11969
11969
  }, /* @__PURE__ */ e.createElement("div", {
11970
11970
  className: Z([
11971
11971
  w,
@@ -11980,14 +11980,14 @@ var Vo = 24, Ho = { droppable: { strategy: Ze.Always } }, Uo = o(function({ chil
11980
11980
  },
11981
11981
  role: "list",
11982
11982
  ...S
11983
- }, xe, q.map((t) => {
11983
+ }, xe, J.map((t) => {
11984
11984
  let n = {
11985
11985
  depth: t.depth,
11986
11986
  hasChildren: t.hasChildren,
11987
11987
  index: t.index,
11988
11988
  isDragging: t.id === T,
11989
11989
  isExpanded: t.isExpanded,
11990
- isLocked: Y.has(t.id),
11990
+ isLocked: oe.has(t.id),
11991
11991
  toggleExpand: () => re(t.id)
11992
11992
  }, r = y(t.data, n), a = t.id === T, o = {
11993
11993
  columns: i,
@@ -11995,10 +11995,10 @@ var Vo = 24, Ho = { droppable: { strategy: Ze.Always } }, Uo = o(function({ chil
11995
11995
  hasChildren: t.hasChildren,
11996
11996
  isDragActive: G,
11997
11997
  isDragging: a,
11998
- isDropTarget: t.id === j && se(t.id),
11999
- isProjectedParent: t.id === pe && !oe.has(t.id),
11998
+ isDropTarget: t.id === j && ce(t.id),
11999
+ isProjectedParent: t.id === pe && !se.has(t.id),
12000
12000
  isExpanded: t.isExpanded,
12001
- ...Y.has(t.id) ? { isLocked: !0 } : {},
12001
+ ...oe.has(t.id) ? { isLocked: !0 } : {},
12002
12002
  onToggleExpand: () => re(t.id),
12003
12003
  ...a && !O && _ > 0 ? { projectedDepthDelta: fe - t.depth } : {}
12004
12004
  };
@@ -12008,7 +12008,7 @@ var Vo = 24, Ho = { droppable: { strategy: Ze.Always } }, Uo = o(function({ chil
12008
12008
  }) : /* @__PURE__ */ e.createElement("div", { key: t.id }, r);
12009
12009
  }))), /* @__PURE__ */ e.createElement(Ye, null, T && de ? /* @__PURE__ */ e.createElement("div", { className: Z([
12010
12010
  "pds-sortable-list pds-sortable-list--overlay",
12011
- le ? "pds-sortable-list--overlay-invalid" : null,
12011
+ Y ? "pds-sortable-list--overlay-invalid" : null,
12012
12012
  O ? "pds-sortable-list--overlay-keyboard" : null
12013
12013
  ]) }, (() => {
12014
12014
  let t = ue?.depth ?? 0, n = O ? Math.max(0, Math.min(_, t + R)) : t, r = {
@@ -12122,7 +12122,7 @@ var Go = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12122
12122
  }) : o && /* @__PURE__ */ e.createElement(Q, {
12123
12123
  className: `${m}__icon`,
12124
12124
  iconName: o,
12125
- size: "l"
12125
+ size: "xl"
12126
12126
  }), l ? /* @__PURE__ */ e.createElement(Rr, {
12127
12127
  className: `${m}__stat-skeleton`,
12128
12128
  shape: "text-block",
@@ -12179,7 +12179,7 @@ var Go = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12179
12179
  content: l.tooltipContent || l.ariaLabel,
12180
12180
  customTrigger: h,
12181
12181
  triggerIconColor: "default",
12182
- triggerIconSize: "s"
12182
+ triggerIconSize: "xs"
12183
12183
  }), t === "left" && g));
12184
12184
  }, Yo = ({ className: t, label: n = null, linkContent: r, type: i = "neutral", ...a }) => {
12185
12185
  let o = "pds-status-indicator", c = `${o}--${i}`, l = /* @__PURE__ */ e.createElement(e.Fragment, null, i === "working" ? /* @__PURE__ */ e.createElement(Sn, {
@@ -12360,175 +12360,181 @@ var Go = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12360
12360
  className: Z([a, t ?? ""]),
12361
12361
  ...i
12362
12362
  }, /* @__PURE__ */ e.createElement("ol", { className: `${a}__steps` }, r && c));
12363
- }, es = ({ className: t, closeDetailPanelLabel: n = "Close detail panel", columns: r, currentPage: i, defaultSortKey: a, defaultSortOrder: o = "asc", detailPanelNav: s = !0, detailPanelTitle: c, detailPanelWidth: l, emptyState: f, emptyStateHeading: p = "No results found.", emptyStateMessage: _, footer: v, getDetailPanelPositionLabel: y = (e, t) => `${e} of ${t}`, getPageSizeLabel: b = (e) => `Show ${e} rows per page`, getRowClassName: x, getRowId: S, getRowSelectDisabledReason: C, getSelectRowLabel: w = (e, t) => `Select row ${t}`, getSortLabel: T = (e) => `Sort by ${e}`, hasDesktopDetailPanel: E = !1, hasMobileCards: D = !1, hasMobileDetailSheet: O = !0, inspectedRowId: k, isLoading: A = !1, isRowSelectable: j = () => !0, itemsPerPage: M, loadingRowCount: N = 5, maxHeight: P, minHeight: F, nextDetailPanelRowLabel: I = "Next row", onDetailPanelNext: L, onDetailPanelPrev: R, onPageChange: z, onPageSizeChange: B, onRowInspect: V, onRowSelectionChange: H, onSort: U, pageSizeOptions: W, pageSizeSelectLabel: G = "Rows per page", paginationLabels: ee, panel: K, prevDetailPanelRowLabel: q = "Previous row", renderDetailPanel: J, renderDetailPanelFooter: te, rowData: ne, selectAllLabel: re = "Select all rows", selectedRows: ie, sortKey: ae, sortOrder: Y, totalItemCount: oe, ...se }) => {
12364
- let ce = "pds-table", le = d(), ue = d(), de = h(null), fe = ua() === "sm" && D, pe = K && !fe, X = r.some((e) => e.cardVisible) ? r.filter((e) => e.cardVisible) : r.slice(0, 1), me = J !== void 0 || V === void 0 && O, he = J !== void 0 || V !== void 0 || O, ge = U !== void 0, _e = z !== void 0, ve = B !== void 0, ye = _e || M !== void 0 || W !== void 0, be = ne.length > 0 || _e && (oe ?? 0) > 0, [xe, Se] = g({
12363
+ }, es = ({ className: t, closeDetailPanelLabel: n = "Close detail panel", columns: r, currentPage: i, defaultSortKey: a, defaultSortOrder: o = "asc", density: s = "standard", detailPanelNav: c = !0, detailPanelTitle: l, detailPanelWidth: f, emptyState: p, emptyStateHeading: _ = "No results found.", emptyStateMessage: v, footer: y, getDetailPanelPositionLabel: b = (e, t) => `${e} of ${t}`, getPageSizeLabel: x = (e) => `Show ${e} rows per page`, getRowClassName: S, getRowId: C, getRowSelectDisabledReason: w, getSelectRowLabel: T = (e, t) => `Select row ${t}`, getSortLabel: E = (e) => `Sort by ${e}`, hasDesktopDetailPanel: D = !1, hasMobileCards: O = !1, hasMobileDetailSheet: k = !0, hasPanel: A = !1, inspectedRowId: j, isLoading: M = !1, isRowSelectable: N = () => !0, itemsPerPage: P, loadingRowCount: F = 5, maxHeight: I, minHeight: L, nextDetailPanelRowLabel: R = "Next row", onDetailPanelNext: z, onDetailPanelPrev: B, onPageChange: V, onPageSizeChange: H, onRowInspect: U, onRowSelectionChange: W, onSort: G, pageSizeOptions: K, pageSizeSelectLabel: q = "Rows per page", paginationLabels: J, prevDetailPanelRowLabel: ee = "Previous row", renderDetailPanel: te, renderDetailPanelFooter: ne, rowData: re, selectAllLabel: ie = "Select all rows", selectedRows: ae, sortKey: oe, sortOrder: se, totalItemCount: ce, ...le }) => {
12364
+ let Y = "pds-table", ue = d(), de = d(), fe = h(null), pe = ua() === "sm" && O, X = A && !pe, me = r.some((e) => e.cardVisible) ? r.filter((e) => e.cardVisible) : r.slice(0, 1), he = te !== void 0 || U === void 0 && k, ge = te !== void 0 || U !== void 0 || k, _e = G !== void 0, ve = V !== void 0, ye = H !== void 0, be = ve || P !== void 0 || K !== void 0, xe = re.length > 0 || ve && (ce ?? 0) > 0, [Se, Ce] = g({
12365
12365
  key: a ?? "",
12366
12366
  order: a === void 0 ? "asc" : o
12367
- }), Ce = m(() => {
12368
- if (ge || xe.key === "") return ne;
12369
- let e = r.find((e) => e.id === xe.key)?.sortKey ?? xe.key;
12370
- return [...ne].sort((t, n) => {
12367
+ }), we = m(() => {
12368
+ if (_e || Se.key === "") return re;
12369
+ let e = r.find((e) => e.id === Se.key)?.sortKey ?? Se.key;
12370
+ return [...re].sort((t, n) => {
12371
12371
  let r = String(t[e]).localeCompare(String(n[e]));
12372
- return xe.order === "asc" ? r : -r;
12372
+ return Se.order === "asc" ? r : -r;
12373
12373
  });
12374
12374
  }, [
12375
- ne,
12376
- xe,
12377
- ge,
12375
+ re,
12376
+ Se,
12377
+ _e,
12378
12378
  r
12379
- ]), [we, Te] = g(1), [Ee, De] = g(M ?? W?.[0] ?? 10), [Oe, ke] = g(null), Ae = k ?? Oe, je = !!Ae && !!J && E && !fe, Me = fe && me && !!Ae, [Ne, Pe] = g(null);
12379
+ ]), [Te, Ee] = g(1), [De, Oe] = g(P ?? K?.[0] ?? 10), [ke, Ae] = g(null), je = j ?? ke, Me = !!je && !!te && D && !pe, Ne = pe && he && !!je, [Pe, Fe] = g(null);
12380
12380
  u(() => {
12381
- Ae && Pe(Ae);
12382
- }, [Ae]);
12383
- let Fe = _e ? M ?? 10 : Ee, Ie = (e) => {
12384
- ve ? B(e) : De(e), _e || Te(1);
12381
+ je && Fe(je);
12382
+ }, [je]);
12383
+ let Ie = ve ? P ?? 10 : De, Le = (e) => {
12384
+ ye ? H(e) : Oe(e), ve || Ee(1);
12385
12385
  };
12386
12386
  u(() => {
12387
- _e || Te(1);
12388
- }, [ne.length, _e]), u(() => {
12389
- process.env.NODE_ENV !== "production" && i !== void 0 && !z && console.warn("[Table] `currentPage` was provided without `onPageChange`. Controlled pagination requires both props. The table is running in uncontrolled mode.");
12387
+ ve || Ee(1);
12388
+ }, [re.length, ve]), u(() => {
12389
+ process.env.NODE_ENV !== "production" && i !== void 0 && !V && console.warn("[Table] `currentPage` was provided without `onPageChange`. Controlled pagination requires both props. The table is running in uncontrolled mode.");
12390
12390
  }, []);
12391
- let Le = H !== void 0, Re = ie !== void 0, [ze, Be] = g(/* @__PURE__ */ new Set()), Ve = Re ? new Set(ie) : ze, He = m(() => new Map(ne.map((e, t) => [e, t])), [ne]), Ue = (e, t) => S ? S(e) : String(He.get(e) ?? t), We = m(() => Ce.findIndex((e, t) => (S ? S(e) : String(He.get(e) ?? t)) === Ae), [
12392
- Ce,
12393
- Ae,
12394
- S,
12395
- He
12396
- ]), Ge = We >= 0 ? Ce[We] : null, Ke = (e, t) => {
12397
- (fe ? me : J !== void 0 && E) && k === void 0 && ke(t), V?.(e, t);
12398
- }, qe = () => {
12399
- k === void 0 && ke(null);
12391
+ let Re = W !== void 0, ze = ae !== void 0, [Be, Ve] = g(/* @__PURE__ */ new Set()), He = ze ? new Set(ae) : Be, Ue = m(() => new Map(re.map((e, t) => [e, t])), [re]), We = (e, t) => C ? C(e) : String(Ue.get(e) ?? t), Ge = m(() => we.findIndex((e, t) => (C ? C(e) : String(Ue.get(e) ?? t)) === je), [
12392
+ we,
12393
+ je,
12394
+ C,
12395
+ Ue
12396
+ ]), Ke = Ge >= 0 ? we[Ge] : null, qe = (e, t) => {
12397
+ (pe ? he : te !== void 0 && D) && j === void 0 && Ae(t), U?.(e, t);
12400
12398
  }, Je = () => {
12401
- if (Ce.length === 0) return;
12402
- let e = (We - 1 + Ce.length) % Ce.length, t = Ce[e], n = Ue(t, e);
12403
- k === void 0 && ke(n), V?.(t, n), R?.(t, n);
12399
+ j === void 0 && Ae(null);
12404
12400
  }, Ye = () => {
12405
- if (Ce.length === 0) return;
12406
- let e = (We + 1) % Ce.length, t = Ce[e], n = Ue(t, e);
12407
- k === void 0 && ke(n), V?.(t, n), L?.(t, n);
12408
- }, Xe = Ae ?? Ne, Ze = m(() => Ce.findIndex((e, t) => (S ? S(e) : String(He.get(e) ?? t)) === Xe), [
12409
- Ce,
12410
- Xe,
12411
- S,
12412
- He
12413
- ]), Qe = Ze >= 0 ? Ce[Ze] : null, $e = {
12414
- currentIndex: We + 1,
12415
- hasNext: Ce.length > 1,
12416
- hasPrev: Ce.length > 1,
12417
- onClose: qe,
12418
- onNext: Ye,
12419
- onPrev: Je,
12420
- rowId: Ae ?? "",
12421
- totalCount: Ce.length
12422
- }, et = {
12423
- currentIndex: Ze + 1,
12424
- hasNext: Ce.length > 1,
12425
- hasPrev: Ce.length > 1,
12426
- onClose: qe,
12427
- onNext: Ye,
12428
- onPrev: Je,
12429
- rowId: Xe ?? "",
12430
- totalCount: Ce.length
12431
- }, tt = (e) => {
12432
- if (!je && !Me || e.key !== "ArrowUp" && e.key !== "ArrowDown") return;
12401
+ if (we.length === 0) return;
12402
+ let e = (Ge - 1 + we.length) % we.length, t = we[e], n = We(t, e);
12403
+ j === void 0 && Ae(n), U?.(t, n), B?.(t, n);
12404
+ }, Xe = () => {
12405
+ if (we.length === 0) return;
12406
+ let e = (Ge + 1) % we.length, t = we[e], n = We(t, e);
12407
+ j === void 0 && Ae(n), U?.(t, n), z?.(t, n);
12408
+ }, Ze = je ?? Pe, Qe = m(() => we.findIndex((e, t) => (C ? C(e) : String(Ue.get(e) ?? t)) === Ze), [
12409
+ we,
12410
+ Ze,
12411
+ C,
12412
+ Ue
12413
+ ]), $e = Qe >= 0 ? we[Qe] : null, et = {
12414
+ currentIndex: Ge + 1,
12415
+ hasNext: we.length > 1,
12416
+ hasPrev: we.length > 1,
12417
+ onClose: Je,
12418
+ onNext: Xe,
12419
+ onPrev: Ye,
12420
+ rowId: je ?? "",
12421
+ totalCount: we.length
12422
+ }, tt = {
12423
+ currentIndex: Qe + 1,
12424
+ hasNext: we.length > 1,
12425
+ hasPrev: we.length > 1,
12426
+ onClose: Je,
12427
+ onNext: Xe,
12428
+ onPrev: Ye,
12429
+ rowId: Ze ?? "",
12430
+ totalCount: we.length
12431
+ }, nt = (e) => {
12432
+ if (!Me && !Ne || e.key !== "ArrowUp" && e.key !== "ArrowDown") return;
12433
12433
  let t = e.target;
12434
- t && (t.isContentEditable || t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.tagName === "SELECT") || (e.preventDefault(), e.key === "ArrowUp" ? Je() : Ye());
12434
+ t && (t.isContentEditable || t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.tagName === "SELECT") || (e.preventDefault(), e.key === "ArrowUp" ? Ye() : Xe());
12435
12435
  };
12436
12436
  u(() => {
12437
- if (!je) return;
12438
- let e = de.current, t = e?.querySelector(`.${ce}__row--inspected`);
12437
+ if (!Me) return;
12438
+ let e = fe.current, t = e?.querySelector(`.${Y}__row--inspected`);
12439
12439
  if (!e || !t) return;
12440
12440
  let n = e.getBoundingClientRect(), r = t.getBoundingClientRect(), i = e.querySelector("thead")?.getBoundingClientRect().height ?? 0, a = n.top + i;
12441
12441
  r.top < a ? e.scrollTop -= a - r.top : r.bottom > n.bottom && (e.scrollTop += r.bottom - n.bottom);
12442
12442
  let o = document.activeElement;
12443
- o instanceof HTMLElement && o.classList.contains(`${ce}__row--inspectable`) && t.focus({ preventScroll: !0 });
12443
+ o instanceof HTMLElement && o.classList.contains(`${Y}__row--inspectable`) && t.focus({ preventScroll: !0 });
12444
12444
  }, [
12445
- Ae,
12446
12445
  je,
12447
- ce
12446
+ Me,
12447
+ Y
12448
12448
  ]);
12449
- let nt = ge ? ae ?? "" : xe.key, rt = ge ? Y ?? "asc" : xe.order, it = m(() => {
12450
- if (A) return [];
12451
- let e = Ce;
12452
- if (!_e && ye && Fe) {
12453
- let t = (we - 1) * Fe;
12454
- e = e.slice(t, t + Fe);
12449
+ let rt = _e ? oe ?? "" : Se.key, it = _e ? se ?? "asc" : Se.order, at = m(() => {
12450
+ if (M) return [];
12451
+ let e = we;
12452
+ if (!ve && be && Ie) {
12453
+ let t = (Te - 1) * Ie;
12454
+ e = e.slice(t, t + Ie);
12455
12455
  }
12456
12456
  return e;
12457
12457
  }, [
12458
- Ce,
12459
- _e,
12460
- ye,
12461
12458
  we,
12462
- Fe,
12463
- A
12464
- ]), at = (e) => {
12465
- ge ? U(e, ae === e && Y === "asc" ? "desc" : "asc") : Se((t) => ({
12459
+ ve,
12460
+ be,
12461
+ Te,
12462
+ Ie,
12463
+ M
12464
+ ]), ot = (e) => {
12465
+ _e ? G(e, oe === e && se === "asc" ? "desc" : "asc") : Ce((t) => ({
12466
12466
  key: e,
12467
12467
  order: t.key === e && t.order === "asc" ? "desc" : "asc"
12468
12468
  }));
12469
- }, ot = (e) => nt === e ? rt === "asc" ? "ascending" : "descending" : "none", st = (e, t) => {
12470
- let n = `${ce}__sort-button-${t}`, r = !A && it.length === 0;
12471
- if (A || r || nt === "") return t === "top" ? `${n}--inactive` : "";
12472
- let i = nt === e;
12473
- return t === "top" ? i && rt === "asc" ? "" : `${n}--inactive` : i && rt === "desc" ? `${n}--desc` : "";
12474
- }, ct = it.reduce((e, t, n) => {
12475
- let r = Ue(t, n);
12476
- return j(t, r) && e.push(r), e;
12477
- }, []), lt = ct.length > 0 && ct.every((e) => Ve.has(e)), ut = !lt && ct.some((e) => Ve.has(e)), dt = (e) => {
12478
- let t = new Set(Ve);
12479
- t.has(e) ? t.delete(e) : t.add(e), Re || Be(t), H?.(Array.from(t));
12480
- }, ft = () => {
12481
- let e = new Set(Ve);
12482
- lt || ut ? ct.forEach((t) => e.delete(t)) : ct.forEach((t) => e.add(t)), Re || Be(e), H?.(Array.from(e));
12483
- }, pt = (t) => /* @__PURE__ */ e.createElement("tr", { key: `skeleton-${t}` }, Le && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Rr, {
12469
+ }, st = (e) => rt === e ? it === "asc" ? "ascending" : "descending" : "none", ct = (e, t) => {
12470
+ let n = `${Y}__sort-button-${t}`, r = !M && at.length === 0;
12471
+ if (M || r || rt === "") return t === "top" ? `${n}--inactive` : "";
12472
+ let i = rt === e;
12473
+ return t === "top" ? i && it === "asc" ? "" : `${n}--inactive` : i && it === "desc" ? `${n}--desc` : "";
12474
+ }, lt = at.reduce((e, t, n) => {
12475
+ let r = We(t, n);
12476
+ return N(t, r) && e.push(r), e;
12477
+ }, []), ut = lt.length > 0 && lt.every((e) => He.has(e)), dt = !ut && lt.some((e) => He.has(e)), ft = (e) => {
12478
+ let t = new Set(He);
12479
+ t.has(e) ? t.delete(e) : t.add(e), ze || Ve(t), W?.(Array.from(t));
12480
+ }, pt = () => {
12481
+ let e = new Set(He);
12482
+ ut || dt ? lt.forEach((t) => e.delete(t)) : lt.forEach((t) => e.add(t)), ze || Ve(e), W?.(Array.from(e));
12483
+ }, mt = (t) => /* @__PURE__ */ e.createElement("tr", { key: `skeleton-${t}` }, Re && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(Rr, {
12484
12484
  shape: "rounded",
12485
12485
  size: {
12486
12486
  height: 1,
12487
12487
  width: 1
12488
12488
  }
12489
- })), r.map((n) => /* @__PURE__ */ e.createElement("td", { key: `skeleton-${t}-${n.id}` }, /* @__PURE__ */ e.createElement(Rr, {
12489
+ })), r.map((n) => /* @__PURE__ */ e.createElement("td", {
12490
+ key: `skeleton-${t}-${n.id}`,
12491
+ className: n.cellClassName
12492
+ }, /* @__PURE__ */ e.createElement(Rr, {
12490
12493
  shape: "rounded",
12491
12494
  size: { height: 1 }
12492
- })))), mt = () => /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("td", {
12495
+ })))), ht = () => /* @__PURE__ */ e.createElement("tr", null, /* @__PURE__ */ e.createElement("td", {
12493
12496
  className: "pds-table__empty-cell",
12494
- colSpan: r.length + +!!Le
12495
- }, f ?? /* @__PURE__ */ e.createElement(Sr, {
12496
- heading: p,
12497
+ colSpan: r.length + +!!Re
12498
+ }, p ?? /* @__PURE__ */ e.createElement(Sr, {
12499
+ heading: _,
12497
12500
  iconName: "emptySet",
12498
- message: _
12499
- }))), ht = (t, n) => {
12500
- let i = Ue(t, n), a = V !== void 0 && J === void 0 || J !== void 0 && E, o = a && Ae === i, s = j(t, i), c = s ? void 0 : C?.(t, i), l = w(t, n + 1), u = c ? `${l} (${c})` : l;
12501
+ message: v
12502
+ }))), gt = (t, n) => {
12503
+ let i = We(t, n), a = U !== void 0 && te === void 0 || te !== void 0 && D, o = a && je === i, s = N(t, i), c = s ? void 0 : w?.(t, i), l = T(t, n + 1), u = c ? `${l} (${c})` : l;
12501
12504
  return /* @__PURE__ */ e.createElement("tr", {
12502
12505
  key: `row-${i}`,
12503
12506
  "aria-selected": a ? o : void 0,
12504
12507
  className: Z([
12505
- a ? `${ce}__row--inspectable` : null,
12506
- o ? `${ce}__row--inspected` : null,
12507
- x?.(t, i) ?? null
12508
+ a ? `${Y}__row--inspectable` : null,
12509
+ o ? `${Y}__row--inspected` : null,
12510
+ S?.(t, i) ?? null
12508
12511
  ]),
12509
- onClick: a ? () => Ke(t, i) : void 0,
12512
+ onClick: a ? () => qe(t, i) : void 0,
12510
12513
  onKeyDown: a ? (e) => {
12511
- (e.key === "Enter" || e.key === " ") && (e.preventDefault(), Ke(t, i));
12514
+ (e.key === "Enter" || e.key === " ") && (e.preventDefault(), qe(t, i));
12512
12515
  } : void 0,
12513
12516
  tabIndex: a ? 0 : void 0
12514
- }, Le && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(fi, {
12515
- checked: Ve.has(i),
12517
+ }, Re && /* @__PURE__ */ e.createElement("td", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(fi, {
12518
+ checked: He.has(i),
12516
12519
  disabled: !s,
12517
- id: `${ue}-row-${i}`,
12520
+ id: `${de}-row-${i}`,
12518
12521
  inputProps: c ? { title: c } : void 0,
12519
12522
  label: u,
12520
- onChange: () => dt(i),
12523
+ onChange: () => ft(i),
12521
12524
  showLabel: !1
12522
- })), r.map((n) => /* @__PURE__ */ e.createElement("td", { key: `${i}-${n.id}` }, t[n.id])));
12523
- }, gt = (t) => /* @__PURE__ */ e.createElement("dl", { className: `${ce}__auto-detail` }, r.map((n) => /* @__PURE__ */ e.createElement(e.Fragment, { key: n.id }, /* @__PURE__ */ e.createElement("dt", null, n.header), /* @__PURE__ */ e.createElement("dd", null, t[n.id])))), _t = (t) => /* @__PURE__ */ e.createElement("li", { key: `skeleton-card-${t}` }, /* @__PURE__ */ e.createElement("div", { className: `${ce}__card` }, /* @__PURE__ */ e.createElement("div", { className: `${ce}__card-main` }, /* @__PURE__ */ e.createElement("div", { className: `${ce}__card-body` }, /* @__PURE__ */ e.createElement(Rr, {
12525
+ })), r.map((n) => /* @__PURE__ */ e.createElement("td", {
12526
+ key: `${i}-${n.id}`,
12527
+ className: n.cellClassName
12528
+ }, t[n.id])));
12529
+ }, _t = (t) => /* @__PURE__ */ e.createElement("dl", { className: `${Y}__auto-detail` }, r.map((n) => /* @__PURE__ */ e.createElement(e.Fragment, { key: n.id }, /* @__PURE__ */ e.createElement("dt", null, n.header), /* @__PURE__ */ e.createElement("dd", null, t[n.id])))), vt = (t) => /* @__PURE__ */ e.createElement("li", { key: `skeleton-card-${t}` }, /* @__PURE__ */ e.createElement("div", { className: `${Y}__card` }, /* @__PURE__ */ e.createElement("div", { className: `${Y}__card-main` }, /* @__PURE__ */ e.createElement("div", { className: `${Y}__card-body` }, /* @__PURE__ */ e.createElement(Rr, {
12524
12530
  shape: "rounded",
12525
12531
  size: { height: 1 }
12526
- }))))), vt = () => /* @__PURE__ */ e.createElement("li", null, f ?? /* @__PURE__ */ e.createElement(Sr, {
12527
- heading: p,
12532
+ }))))), yt = () => /* @__PURE__ */ e.createElement("li", null, p ?? /* @__PURE__ */ e.createElement(Sr, {
12533
+ heading: _,
12528
12534
  iconName: "emptySet",
12529
- message: _
12530
- })), yt = (t, n) => {
12531
- let r = Ue(t, n), i = !Le && he && Ae === r, a = Le && Ve.has(r), [o, ...s] = X, c = j(t, r), l = c ? void 0 : C?.(t, r), u = w(t, n + 1), d = l ? `${u} (${l})` : u, f = /* @__PURE__ */ e.createElement("div", { className: `${ce}__card-main` }, Le && /* @__PURE__ */ e.createElement("span", {
12535
+ message: v
12536
+ })), bt = (t, n) => {
12537
+ let r = We(t, n), i = !Re && ge && je === r, a = Re && He.has(r), [o, ...s] = me, c = N(t, r), l = c ? void 0 : w?.(t, r), u = T(t, n + 1), d = l ? `${u} (${l})` : u, f = /* @__PURE__ */ e.createElement("div", { className: `${Y}__card-main` }, Re && /* @__PURE__ */ e.createElement("span", {
12532
12538
  "aria-hidden": "true",
12533
12539
  className: "pds-checkbox"
12534
12540
  }, /* @__PURE__ */ e.createElement("span", { className: Z(["pds-checkbox__box", a ? "pds-checkbox__box--checked" : null]) }, a && /* @__PURE__ */ e.createElement("svg", {
@@ -12538,142 +12544,147 @@ var Go = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
12538
12544
  viewBox: "0 0 12 12",
12539
12545
  width: "12",
12540
12546
  xmlns: "http://www.w3.org/2000/svg"
12541
- }, /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" })))), /* @__PURE__ */ e.createElement("div", { className: `${ce}__card-body` }, o && /* @__PURE__ */ e.createElement("div", { className: `${ce}__card-title` }, t[o.id]), s.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${ce}__card-meta` }, s.map((n) => /* @__PURE__ */ e.createElement(e.Fragment, { key: n.id }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, On(n.header), ":", " "), t[n.id]))))), !Le && he && /* @__PURE__ */ e.createElement(Q, {
12542
- className: `${ce}__card-chevron`,
12547
+ }, /* @__PURE__ */ e.createElement("path", { d: "M9.85474 3.64666C10.1032 3.32078 10.0258 2.86817 9.67727 2.63583C9.32878 2.4035 8.84476 2.47591 8.5963 2.80179L4.8694 7.65977L3.32056 6.21143C3.01724 5.9278 2.52677 5.9278 2.22669 6.21143C1.9266 6.49506 1.92337 6.9537 2.22346 7.23734L4.41765 9.28916C4.57899 9.44003 4.80164 9.51546 5.02751 9.49736C5.25338 9.47925 5.4599 9.37063 5.59219 9.19864L9.85151 3.64666H9.85474Z" })))), /* @__PURE__ */ e.createElement("div", { className: `${Y}__card-body` }, o && /* @__PURE__ */ e.createElement("div", { className: `${Y}__card-title` }, t[o.id]), s.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${Y}__card-meta` }, s.map((n) => /* @__PURE__ */ e.createElement(e.Fragment, { key: n.id }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, On(n.header), ":", " "), t[n.id]))))), !Re && ge && /* @__PURE__ */ e.createElement(Q, {
12548
+ className: `${Y}__card-chevron`,
12543
12549
  iconName: "angleRight",
12544
12550
  size: "m"
12545
12551
  })), p = Z([
12546
- `${ce}__card`,
12547
- Le ? `${ce}__card--selectable` : he ? `${ce}__row--inspectable` : null,
12548
- i || a ? `${ce}__row--inspected` : null,
12549
- x?.(t, r) ?? null
12552
+ `${Y}__card`,
12553
+ Re ? `${Y}__card--selectable` : ge ? `${Y}__row--inspectable` : null,
12554
+ i || a ? `${Y}__row--inspected` : null,
12555
+ S?.(t, r) ?? null
12550
12556
  ]);
12551
- return Le ? /* @__PURE__ */ e.createElement("li", { key: `card-${r}` }, /* @__PURE__ */ e.createElement("button", {
12557
+ return Re ? /* @__PURE__ */ e.createElement("li", { key: `card-${r}` }, /* @__PURE__ */ e.createElement("button", {
12552
12558
  "aria-checked": a,
12553
12559
  "aria-label": d,
12554
12560
  className: p,
12555
12561
  disabled: !c,
12556
- onClick: () => dt(r),
12562
+ onClick: () => ft(r),
12557
12563
  role: "checkbox",
12558
12564
  title: l,
12559
12565
  type: "button"
12560
- }, f)) : /* @__PURE__ */ e.createElement("li", { key: `card-${r}` }, he ? /* @__PURE__ */ e.createElement("button", {
12566
+ }, f)) : /* @__PURE__ */ e.createElement("li", { key: `card-${r}` }, ge ? /* @__PURE__ */ e.createElement("button", {
12561
12567
  className: p,
12562
- onClick: () => Ke(t, r),
12568
+ onClick: () => qe(t, r),
12563
12569
  type: "button"
12564
12570
  }, f) : /* @__PURE__ */ e.createElement("div", { className: p }, f));
12565
- }, bt = l ? { "--pds-detail-panel-width": l } : void 0, xt = P !== void 0 || F !== void 0 ? {
12566
- "--table-max-height": P,
12567
- "--table-min-height": F
12568
- } : void 0, St = /* @__PURE__ */ e.createElement("div", {
12569
- className: Z(["pds-table-wrapper", pe ? "pds-table-wrapper--in-panel" : null]),
12570
- onKeyDown: tt
12571
+ }, xt = f ? { "--pds-detail-panel-width": f } : void 0, St = I !== void 0 || L !== void 0 ? {
12572
+ "--table-max-height": I,
12573
+ "--table-min-height": L
12574
+ } : void 0, Ct = /* @__PURE__ */ e.createElement("div", {
12575
+ className: Z(["pds-table-wrapper", X ? "pds-table-wrapper--in-panel" : null]),
12576
+ onKeyDown: nt
12571
12577
  }, /* @__PURE__ */ e.createElement("div", {
12572
- className: Z(["pds-table-wrapper__content", je ? "pds-table-wrapper__content--panel-open" : null]),
12573
- style: bt
12578
+ className: Z(["pds-table-wrapper__content", Me ? "pds-table-wrapper__content--panel-open" : null]),
12579
+ style: xt
12574
12580
  }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__table-column" }, /* @__PURE__ */ e.createElement("div", {
12575
- ref: de,
12581
+ ref: fe,
12576
12582
  className: "pds-table-wrapper__table-area",
12577
- style: xt
12578
- }, fe ? /* @__PURE__ */ e.createElement("ul", {
12579
- "aria-busy": A,
12580
- className: Z([`${ce}-wrapper__card-list`, t]),
12581
- ...se
12582
- }, A ? Array.from({ length: N }, (e, t) => _t(t)) : it.length === 0 ? vt() : it.map((e, t) => yt(e, t))) : /* @__PURE__ */ e.createElement("table", {
12583
- "aria-busy": A,
12584
- className: Z([ce, t]),
12585
- ...se
12586
- }, /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, Le && /* @__PURE__ */ e.createElement("th", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(fi, {
12587
- checked: lt,
12588
- id: ue,
12589
- indeterminate: ut,
12590
- label: re,
12591
- onChange: ft,
12583
+ style: St
12584
+ }, pe ? /* @__PURE__ */ e.createElement("ul", {
12585
+ "aria-busy": M,
12586
+ className: Z([`${Y}-wrapper__card-list`, t]),
12587
+ ...le
12588
+ }, M ? Array.from({ length: F }, (e, t) => vt(t)) : at.length === 0 ? yt() : at.map((e, t) => bt(e, t))) : /* @__PURE__ */ e.createElement("table", {
12589
+ "aria-busy": M,
12590
+ className: Z([
12591
+ Y,
12592
+ s === "compact" ? `${Y}--compact` : null,
12593
+ t
12594
+ ]),
12595
+ ...le
12596
+ }, /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, Re && /* @__PURE__ */ e.createElement("th", { className: "pds-table__checkbox-cell" }, /* @__PURE__ */ e.createElement(fi, {
12597
+ checked: ut,
12598
+ id: de,
12599
+ indeterminate: dt,
12600
+ label: ie,
12601
+ onChange: pt,
12592
12602
  showLabel: !1
12593
12603
  })), r.map((t) => /* @__PURE__ */ e.createElement("th", {
12594
12604
  key: t.id,
12595
- "aria-sort": t.sortable ? ot(t.id) : void 0
12605
+ "aria-sort": t.sortable ? st(t.id) : void 0,
12606
+ className: t.headerClassName
12596
12607
  }, t.sortable ? /* @__PURE__ */ e.createElement("button", {
12597
- "aria-label": T(On(t.header)),
12598
- className: `${ce}__sort-button`,
12599
- onClick: () => at(t.id),
12608
+ "aria-label": E(On(t.header)),
12609
+ className: `${Y}__sort-button`,
12610
+ onClick: () => ot(t.id),
12600
12611
  type: "button"
12601
12612
  }, t.header, /* @__PURE__ */ e.createElement("span", {
12602
12613
  "aria-hidden": "true",
12603
- className: `${ce}__sort-icons`
12604
- }, /* @__PURE__ */ e.createElement("span", { className: Z([`${ce}__sort-button-top`, st(t.id, "top")]) }, /* @__PURE__ */ e.createElement(Q, {
12614
+ className: `${Y}__sort-icons`
12615
+ }, /* @__PURE__ */ e.createElement("span", { className: Z([`${Y}__sort-button-top`, ct(t.id, "top")]) }, /* @__PURE__ */ e.createElement(Q, {
12605
12616
  iconName: "caretUp",
12606
12617
  size: "m"
12607
- })), /* @__PURE__ */ e.createElement("span", { className: Z([`${ce}__sort-button-bottom`, st(t.id, "bottom")]) }, /* @__PURE__ */ e.createElement(Q, {
12618
+ })), /* @__PURE__ */ e.createElement("span", { className: Z([`${Y}__sort-button-bottom`, ct(t.id, "bottom")]) }, /* @__PURE__ */ e.createElement(Q, {
12608
12619
  iconName: "caretDown",
12609
12620
  size: "m"
12610
- })))) : /* @__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", fe && !(W && W.length > 0) ? "pds-table-wrapper__pagination--center" : null]) }, W && W.length > 0 && /* @__PURE__ */ e.createElement(wr, {
12621
+ })))) : /* @__PURE__ */ e.createElement("span", null, t.header))))), /* @__PURE__ */ e.createElement("tbody", null, M ? Array.from({ length: F }, (e, t) => mt(t)) : at.length === 0 ? ht() : at.map((e, t) => gt(e, t))))), be && !M && xe && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__pagination", pe && !(K && K.length > 0) ? "pds-table-wrapper__pagination--center" : null]) }, K && K.length > 0 && /* @__PURE__ */ e.createElement(wr, {
12611
12622
  autoWidth: !0,
12612
- id: le,
12613
- label: G,
12614
- onOptionSelect: (e) => Ie(Number(e.value)),
12615
- options: W.map((e) => ({
12616
- label: b(e),
12623
+ id: ue,
12624
+ label: q,
12625
+ onOptionSelect: (e) => Le(Number(e.value)),
12626
+ options: K.map((e) => ({
12627
+ label: x(e),
12617
12628
  value: String(e)
12618
12629
  })),
12619
12630
  showLabel: !1,
12620
12631
  size: "s",
12621
- value: String(Fe)
12632
+ value: String(Ie)
12622
12633
  }), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__pagination-controls" }, /* @__PURE__ */ e.createElement(to, {
12623
- currentPage: _e ? i ?? 1 : we,
12624
- itemsPerPage: Fe,
12625
- labelStrings: ee,
12626
- onPageChange: _e ? z : Te,
12627
- pageControlType: fe ? "static" : "dropdown",
12628
- totalItemCount: _e ? oe ?? 0 : ne.length
12629
- }))), v && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__footer" }, v)), J && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__detail-panel", je ? "pds-table-wrapper__detail-panel--open" : null]) }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-upper" }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-header" }, c && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-title" }, c), /* @__PURE__ */ e.createElement(Pn, {
12634
+ currentPage: ve ? i ?? 1 : Te,
12635
+ itemsPerPage: Ie,
12636
+ labelStrings: J,
12637
+ onPageChange: ve ? V : Ee,
12638
+ pageControlType: pe ? "static" : "dropdown",
12639
+ totalItemCount: ve ? ce ?? 0 : re.length
12640
+ }))), y && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__footer" }, y)), te && /* @__PURE__ */ e.createElement("div", { className: Z(["pds-table-wrapper__detail-panel", Me ? "pds-table-wrapper__detail-panel--open" : null]) }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-upper" }, /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-header" }, l && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-title" }, l), /* @__PURE__ */ e.createElement(Pn, {
12630
12641
  ariaLabel: n,
12631
- onClick: qe,
12642
+ onClick: Je,
12632
12643
  size: "s"
12633
- })), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-content" }, je && Ge && J(Ge, $e))), je && Ge && (te || s) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-footer" }, te ? te(Ge, $e) : /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-nav" }, /* @__PURE__ */ e.createElement(Mn, {
12644
+ })), /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-content" }, Me && Ke && te(Ke, et))), Me && Ke && (ne || c) && /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-footer" }, ne ? ne(Ke, et) : /* @__PURE__ */ e.createElement("div", { className: "pds-table-wrapper__detail-panel-nav" }, /* @__PURE__ */ e.createElement(Mn, {
12634
12645
  hasBorder: !0,
12635
- ariaLabel: q,
12636
- disabled: !$e.hasPrev,
12646
+ ariaLabel: ee,
12647
+ disabled: !et.hasPrev,
12637
12648
  iconName: "angleUp",
12638
- onClick: Je,
12649
+ onClick: Ye,
12639
12650
  size: "s",
12640
12651
  variant: "standard"
12641
- }), /* @__PURE__ */ e.createElement("span", { className: "pds-table__detail-panel-position" }, y($e.currentIndex, $e.totalCount)), /* @__PURE__ */ e.createElement(Mn, {
12652
+ }), /* @__PURE__ */ e.createElement("span", { className: "pds-table__detail-panel-position" }, b(et.currentIndex, et.totalCount)), /* @__PURE__ */ e.createElement(Mn, {
12642
12653
  hasBorder: !0,
12643
- ariaLabel: I,
12644
- disabled: !$e.hasNext,
12654
+ ariaLabel: R,
12655
+ disabled: !et.hasNext,
12645
12656
  iconName: "angleDown",
12646
- onClick: Ye,
12657
+ onClick: Xe,
12647
12658
  size: "s",
12648
12659
  variant: "standard"
12649
- })))), fe && /* @__PURE__ */ e.createElement(Ka, {
12660
+ })))), pe && /* @__PURE__ */ e.createElement(Ka, {
12650
12661
  closeButtonLabel: n,
12651
- isOpen: Me,
12662
+ isOpen: Ne,
12652
12663
  setIsOpen: (e) => {
12653
- e || qe();
12664
+ e || Je();
12654
12665
  },
12655
- title: c
12656
- }, Qe && (J ? J(Qe, et) : gt(Qe)), Qe && (te || s) && /* @__PURE__ */ e.createElement("div", {
12657
- className: `${ce}-wrapper__mobile-sheet-nav`,
12666
+ title: l
12667
+ }, $e && (te ? te($e, tt) : _t($e)), $e && (ne || c) && /* @__PURE__ */ e.createElement("div", {
12668
+ className: `${Y}-wrapper__mobile-sheet-nav`,
12658
12669
  slot: "footer"
12659
- }, te ? te(Qe, et) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Mn, {
12670
+ }, ne ? ne($e, tt) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Mn, {
12660
12671
  hasBorder: !0,
12661
- ariaLabel: q,
12662
- disabled: !et.hasPrev,
12672
+ ariaLabel: ee,
12673
+ disabled: !tt.hasPrev,
12663
12674
  iconName: "angleLeft",
12664
- onClick: Je,
12675
+ onClick: Ye,
12665
12676
  size: "s",
12666
12677
  variant: "standard"
12667
- }), /* @__PURE__ */ e.createElement("span", { className: "pds-table__detail-panel-position" }, y(et.currentIndex, et.totalCount)), /* @__PURE__ */ e.createElement(Mn, {
12678
+ }), /* @__PURE__ */ e.createElement("span", { className: "pds-table__detail-panel-position" }, b(tt.currentIndex, tt.totalCount)), /* @__PURE__ */ e.createElement(Mn, {
12668
12679
  hasBorder: !0,
12669
- ariaLabel: I,
12670
- disabled: !et.hasNext,
12680
+ ariaLabel: R,
12681
+ disabled: !tt.hasNext,
12671
12682
  iconName: "angleRight",
12672
- onClick: Ye,
12683
+ onClick: Xe,
12673
12684
  size: "s",
12674
12685
  variant: "standard"
12675
12686
  }))))));
12676
- return pe ? /* @__PURE__ */ e.createElement(ao, { padding: "none" }, St) : St;
12687
+ return X ? /* @__PURE__ */ e.createElement(ao, { padding: "none" }, Ct) : Ct;
12677
12688
  }, ts = [
12678
12689
  " ",
12679
12690
  "/",
@@ -13016,9 +13027,9 @@ var Go = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13016
13027
  }, { enabled: G }), nn("]", (e) => {
13017
13028
  e.preventDefault(), j && W();
13018
13029
  }, { enabled: G });
13019
- let ee = h(null);
13030
+ let K = h(null);
13020
13031
  p(() => {
13021
- let e = ee.current;
13032
+ let e = K.current;
13022
13033
  if (!e) return;
13023
13034
  if (R != null) {
13024
13035
  e.style.setProperty("--pds-app-layout-top-offset", R);
@@ -13036,14 +13047,14 @@ var Go = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13036
13047
  r.disconnect(), i?.disconnect(), window.removeEventListener("resize", t);
13037
13048
  };
13038
13049
  }, [R]);
13039
- let K = gt(t), q = K.__unslotted, J = K.header, te = K.footer, ne = K.sidebar, re = K.identity, ie = K["content-top"], ae = K.navigation, Y = K["content-bottom"], oe = re || ie || ae || Y, se = oe ? /* @__PURE__ */ e.createElement(e.Fragment, null, (re || o) && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-identity` }, re, o && !j && /* @__PURE__ */ e.createElement(Mn, {
13050
+ let q = gt(t), J = q.__unslotted, ee = q.header, te = q.footer, ne = q.sidebar, re = q.identity, ie = q["content-top"], ae = q.navigation, oe = q["content-bottom"], se = re || ie || ae || oe, ce = se ? /* @__PURE__ */ e.createElement(e.Fragment, null, (re || o) && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-identity` }, re, o && !j && /* @__PURE__ */ e.createElement(Mn, {
13040
13051
  hasBorder: !0,
13041
13052
  ariaLabel: F.drawerToggle,
13042
13053
  className: `${N}__drawer-toggle`,
13043
13054
  iconName: "sidebar",
13044
13055
  onClick: b,
13045
13056
  size: "s"
13046
- })), ie && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-top` }, ie), ae && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-navigation` }, ae), Y && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-bottom` }, Y)) : ne, ce = a(_, {
13057
+ })), ie && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-top` }, ie), ae && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-navigation` }, ae), oe && /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-content-bottom` }, oe)) : ne, le = a(_, {
13047
13058
  ...y,
13048
13059
  className: Z([`${N}__main`, y?.className]),
13049
13060
  id: I,
@@ -13055,13 +13066,13 @@ var Go = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13055
13066
  }, /* @__PURE__ */ e.createElement("div", {
13056
13067
  className: `${N}__main-inner`,
13057
13068
  style: { maxWidth: L }
13058
- }, q)), le = /* @__PURE__ */ e.createElement("div", {
13069
+ }, J)), Y = /* @__PURE__ */ e.createElement("div", {
13059
13070
  className: `${N}__content-column`,
13060
13071
  style: { backgroundColor: m || void 0 }
13061
- }, ce, te && /* @__PURE__ */ e.createElement("div", { className: `${N}__footer` }, /* @__PURE__ */ e.createElement("div", {
13072
+ }, le, te && /* @__PURE__ */ e.createElement("div", { className: `${N}__footer` }, /* @__PURE__ */ e.createElement("div", {
13062
13073
  className: `${N}__footer-inner`,
13063
13074
  style: { maxWidth: L }
13064
- }, te))), ue = /* @__PURE__ */ e.createElement(e.Fragment, null, (ne || oe) && /* @__PURE__ */ e.createElement("div", {
13075
+ }, te))), ue = /* @__PURE__ */ e.createElement(e.Fragment, null, (ne || se) && /* @__PURE__ */ e.createElement("div", {
13065
13076
  ...O,
13066
13077
  className: Z([
13067
13078
  `${N}__sidebar`,
@@ -13081,7 +13092,7 @@ var Go = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13081
13092
  type: "button"
13082
13093
  }, /* @__PURE__ */ e.createElement("span", { className: `${N}__sidebar-toggle-icon` }, /* @__PURE__ */ e.createElement(Q, {
13083
13094
  iconName: "angleLeft",
13084
- size: "s",
13095
+ size: "xs",
13085
13096
  verticalAlign: "-1px"
13086
13097
  }))),
13087
13098
  offsetValue: {
@@ -13089,20 +13100,20 @@ var Go = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13089
13100
  crossAxis: -96
13090
13101
  },
13091
13102
  preferredPlacement: "right-end"
13092
- }), /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-inner` }, se)), le);
13103
+ }), /* @__PURE__ */ e.createElement("div", { className: `${N}__sidebar-inner` }, ce)), Y);
13093
13104
  return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", {
13094
- ref: ee,
13105
+ ref: K,
13095
13106
  className: Z([
13096
13107
  N,
13097
13108
  P,
13098
- J ? `${N}--has-header` : null,
13109
+ ee ? `${N}--has-header` : null,
13099
13110
  n ?? ""
13100
13111
  ]),
13101
13112
  ...A
13102
13113
  }, /* @__PURE__ */ e.createElement(Ji, {
13103
13114
  destination: I,
13104
13115
  text: F.skipToContent
13105
- }), J ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${N}__header` }, J), /* @__PURE__ */ e.createElement("div", { className: `${N}__body` }, ue)) : ue), o && /* @__PURE__ */ e.createElement(Ja, {
13116
+ }), ee ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${N}__header` }, ee), /* @__PURE__ */ e.createElement("div", { className: `${N}__body` }, ue)) : ue), o && /* @__PURE__ */ e.createElement(Ja, {
13106
13117
  ...i,
13107
13118
  isOpen: c,
13108
13119
  placement: "left",