@pantheon-systems/pds-toolkit-react 2.0.0-alpha.90 → 2.0.0-alpha.91

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
@@ -2503,7 +2503,7 @@ var st = Object.create, ct = Object.defineProperty, lt = Object.getOwnPropertyDe
2503
2503
  r(n.matches);
2504
2504
  };
2505
2505
  return r(n.matches), n.addEventListener ? (n.addEventListener("change", i), () => n.removeEventListener("change", i)) : (n.addListener(i), () => n.removeListener(i));
2506
- }, [e]), n;
2506
+ }, [t, e]), n;
2507
2507
  }, an = ({ className: t, content: n, customTrigger: r = null, disableFocusTrigger: i = !1, disableTapTrigger: a = !1, offsetValue: o = 6, preferredPlacement: s = "top", triggerAccessibleText: c = "Show more information", triggerIcon: l = "circleInfo", triggerIconColor: u = "default", triggerIconSize: d = "m", zIndex: f = Vt, ...p }) => {
2508
2508
  let [m, h] = g(!1), _ = typeof r, v = "pds-tooltip", y = Z([`${v}__trigger-custom`, _ === "string" ? `${v}__trigger-text` : null]), b = Z([`${v}__trigger`, `${v}__trigger--${u}`]), x = rn("(hover: hover)"), { context: C, floatingStyles: w, refs: O } = N({
2509
2509
  placement: s,
@@ -7256,8 +7256,7 @@ var Zr = {
7256
7256
  }, [
7257
7257
  P,
7258
7258
  de,
7259
- R,
7260
- _
7259
+ R
7261
7260
  ]), { getInputProps: _e, getItemProps: ve, getMenuProps: ye, highlightedIndex: be, isOpen: xe, openMenu: Se, reset: Ce } = fe({
7262
7261
  id: d,
7263
7262
  inputId: `input-${d}`,
@@ -9450,7 +9449,7 @@ var Zr = {
9450
9449
  return n(), window.addEventListener("resize", n), () => {
9451
9450
  window.removeEventListener("resize", n);
9452
9451
  };
9453
- }, []), n;
9452
+ }, [e]), n;
9454
9453
  }, ya = ({ icon: t, isActive: n, isExpanded: r, isSidebarCollapsed: i, labels: a, linkContent: o, links: s, onExpandSidebar: c, onToggleExpand: l }) => {
9455
9454
  let d = "pds-side-nav-global", f = `${d}__item`, p = `${d}__menu`, m = /* @__PURE__ */ e.createElement("div", { className: `${f}-wrapper` }, da(d, o, s, t)), _ = (t, n, i = !1) => /* @__PURE__ */ e.createElement("ul", { className: Z([
9456
9455
  p,
@@ -10913,11 +10912,11 @@ var Zr = {
10913
10912
  let { context: O, floatingStyles: k, refs: A } = N({
10914
10913
  open: w,
10915
10914
  onOpenChange: T
10916
- }), { getFloatingProps: P } = z([
10917
- j(O),
10918
- o ? void 0 : M(O, { outsidePressEvent: "mousedown" }),
10915
+ }), P = j(O), F = M(O, { outsidePressEvent: "mousedown" }), { getFloatingProps: I } = z([
10916
+ P,
10917
+ o ? void 0 : F,
10919
10918
  H(O)
10920
- ]), { isMounted: F, styles: I } = U(O, {
10919
+ ]), { isMounted: L, styles: R } = U(O, {
10921
10920
  duration: {
10922
10921
  open: 300,
10923
10922
  close: 300
@@ -10935,7 +10934,7 @@ var Zr = {
10935
10934
  transform: "translateY(1rem)"
10936
10935
  }
10937
10936
  });
10938
- return F ? /* @__PURE__ */ e.createElement(Rn.Provider, { value: !0 }, /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement(x, {
10937
+ return L ? /* @__PURE__ */ e.createElement(Rn.Provider, { value: !0 }, /* @__PURE__ */ e.createElement(S, null, /* @__PURE__ */ e.createElement(x, {
10939
10938
  lockScroll: !0,
10940
10939
  style: {
10941
10940
  ...k,
@@ -10947,7 +10946,7 @@ var Zr = {
10947
10946
  }, /* @__PURE__ */ e.createElement(y, { context: O }, /* @__PURE__ */ e.createElement("div", {
10948
10947
  ref: A.setFloating,
10949
10948
  "aria-label": t || f,
10950
- ...P(),
10949
+ ...I(),
10951
10950
  className: Z([
10952
10951
  v,
10953
10952
  b,
@@ -10955,7 +10954,7 @@ var Zr = {
10955
10954
  ]),
10956
10955
  style: {
10957
10956
  ...k,
10958
- ...I,
10957
+ ...R,
10959
10958
  position: "relative",
10960
10959
  top: "5%"
10961
10960
  },
@@ -13598,7 +13597,7 @@ var es = ({ children: t, className: n, columns: r, depth: i = 0, hasChildren: a
13598
13597
  return window.addEventListener("resize", t), () => {
13599
13598
  window.removeEventListener("resize", t);
13600
13599
  };
13601
- }, []), t;
13600
+ }, [e]), t;
13602
13601
  };
13603
13602
  //#endregion
13604
13603
  export { yr as ActionCard, As as AppLayout, Ks as AutoGrid, li as Avatar, ui as AvatarLabel, Ct as Badge, Fa as Banner, Hr as BarChart, ea as BookmarksEmptyState, na as BookmarksMenu, po as BookmarksPanel, eo as BottomSheet, Tn as BranchDiff, ra as Breadcrumb, to as BulkActionBar, kn as Button, An as ButtonLink, pa as ButtonNav, Ji as CTALink, vr as Callout, br as Card, xr as CardSelect, fi as Checkbox, pi as CheckboxFieldset, mi as CheckboxGroup, Nn as ClipboardButton, Pn as CloseButton, Qr as CodeBlock, hi as Combobox, _i as ComboboxMultiselect, Sr as CompactEmptyState, ei as ComparisonList, ma as Container, Ri as Datepicker, js as DocsLayout, no as Drawer, Qn as Dropdown, fa as DropdownMenu, mo as ExpansionPanel, ho as ExpansionPanelGroup, go as FeaturePanel, ii as FileDiff, zi as FileUpload, lr as FilterButton, Ls as FlexContainer, ro as FullScreenOverlay, Gs as GlobalWrapper, qs as Grid, Js as GridItem, ni as HorizontalEmptyState, Q as Icon, Mn as IconButton, di as IdentityBlock, La as InlineMessage, Bi as InputGroup, Wr as LineChart, Yi as LinkNewWindow, Ba as MIN_AUTO_CLOSE_DURATION, Jn as MenuButton, io as Modal, ga as Navbar, so as Pagination, co as PaginationChapter, lo as PaginationCompact, _o as Panel, vo as PanelList, yo as PanelRow, bo as PanelStack, To as PantheonLogo, oi as PaymentIcon, Zi as Picture, Kr as PieChart, pr as PlatformIcon, Oo as Popover, Ao as ProgressBar, Mo as ProgressRing, Jr as ProportionBar, Vi as RadioGroup, Fo as ResultCount, Qi as RowActionsMenu, hr as SSOButton, za as SectionMessage, ur as SegmentedButton, wr as Select, dr as SelectButton, Cr as SelectOptionGroup, _a as SideNav, ba as SideNavGlobal, ya as SideNavGlobalItem, Ms as SidebarLayout, Ro as SiteFooter, Sa as SiteMenu, zo as SiteOptionDisplay, Bo as SiteSearch, qn as SiteTypeIcon, Kn as SiteTypeLabel, Rr as Skeleton, Xi as Skiplink, Qo as SortableList, Ko as SortableListHeader, es as SortableRow, Sn as Spinner, fr as SplitButton, ts as StatPanel, Ns as StatPanelGroup, Cn as StatusBadge, rs as StatusChecker, is as StatusIndicator, ss as StatusScrim, Vn as StatusTypeLabels, cs as StepList, ls as Stepper, Ps as StepperLayout, Hi as Switch, wa as TabMenu, fs as Table, ys as TableOfContents, bs as Tabs, Os as Tag, Wi as TagsInput, wn as Tally, qi as TextInput, Gi as Textarea, Bs as ThemeContext, Us as ThemeContextProvider, Oa as ThemeSwitcher, Fs as ThreeItemLayout, Si as Timepicker, qa as Toast, Ja as ToastType, Wa as Toaster, Ha as ToasterContext, an as Tooltip, Ea as TreeNav, Is as TwoItemLayout, ka as UserMenu, ks as UtilityBar, gr as UtilityButton, ri as VerticalEmptyState, ds as VerticalStepper, ti as VideoEmbed, uo as WidgetPanel, ja as WorkspaceSelector, xo as WorkspaceSelectorPanel, $i as buildBookmarkMenuItems, Pi as getPresetDateRange, Hs as getThemeInitScript, xt as iconList, Un as isHeadingItemType, Wn as isLinkItemType, Gn as isNodeItemType, Hn as isSeparatorItemType, ns as statusCheckerStates, xs as tagColors, ws as tagSolidColors, Ss as tagSolidHueColors, Cs as tagSolidStatusColors, va as useBreakpoint, jn as useClipboard, In as useDropdown, Zt as useIsMobile, Ys as useKeyPress, nn as useKeyboardShortcut, rn as useMediaQuery, Ws as useTheme, Ya as useToast, Xs as useWindowWidth };