@homebound/beam 3.10.1 → 3.12.0

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.cjs CHANGED
@@ -129,6 +129,7 @@ __export(index_exports, {
129
129
  NavLink: () => NavLink,
130
130
  NumberField: () => NumberField,
131
131
  OpenModal: () => OpenModal,
132
+ PageHeader: () => PageHeader2,
132
133
  Pagination: () => Pagination,
133
134
  Palette: () => Palette,
134
135
  PresentationProvider: () => PresentationProvider,
@@ -5745,7 +5746,8 @@ function IconButton(props) {
5745
5746
  circle = false,
5746
5747
  download = false,
5747
5748
  forceFocusStyles = false,
5748
- label
5749
+ label,
5750
+ preventTooltip = false
5749
5751
  } = props;
5750
5752
  const isDisabled = !!disabled;
5751
5753
  const ariaProps = {
@@ -5796,7 +5798,7 @@ function IconButton(props) {
5796
5798
  };
5797
5799
  const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { icon, color: color || (isDisabled ? "--b-text-disabled" /* TextDisabled */ : circle && (isHovered || active || isFocusVisible) ? defaultIconColor : iconColor), bgColor, inc: compact ? 2 : circle ? 2.5 : inc });
5798
5800
  return maybeTooltip({
5799
- title: resolveTooltip(disabled ?? label, tooltip),
5801
+ title: resolveTooltip(disabled ?? (preventTooltip ? void 0 : label), tooltip),
5800
5802
  placement: "top",
5801
5803
  children: getButtonOrLink(buttonContent, onPress, buttonAttrs, openInNew, download)
5802
5804
  });
@@ -9262,7 +9264,7 @@ function Avatar({
9262
9264
  name,
9263
9265
  size = "md",
9264
9266
  showName = false,
9265
- disableTooltip = false,
9267
+ preventTooltip = false,
9266
9268
  ...others
9267
9269
  }) {
9268
9270
  const tid = useTestIds(others, "avatar");
@@ -9310,7 +9312,7 @@ function Avatar({
9310
9312
  ...__typography4[sizeToTypeScale[size]] ?? {}
9311
9313
  }), children: name })
9312
9314
  ] }) : maybeTooltip({
9313
- title: disableTooltip ? void 0 : name,
9315
+ title: preventTooltip ? void 0 : name,
9314
9316
  children: img,
9315
9317
  placement: "top"
9316
9318
  });
@@ -9359,6 +9361,7 @@ function AvatarButton(props) {
9359
9361
  openInNew,
9360
9362
  forceFocusStyles = false,
9361
9363
  __storyState,
9364
+ preventTooltip = false,
9362
9365
  ...avatarProps
9363
9366
  } = props;
9364
9367
  const isDisabled = !!disabled;
@@ -9405,12 +9408,11 @@ function AvatarButton(props) {
9405
9408
  ...(0, import_runtime26.mergeProps)(typeof onPress === "string" ? navLink : void 0, void 0, styles)
9406
9409
  };
9407
9410
  const content = /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
9408
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Avatar, { ...avatarProps, ...tid, disableTooltip: true }),
9411
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Avatar, { ...avatarProps, ...tid, preventTooltip: true }),
9409
9412
  isPressed && /* @__PURE__ */ (0, import_jsx_runtime34.jsx)("span", { ...(0, import_runtime26.trussProps)(pressedOverlayCss) })
9410
9413
  ] });
9411
9414
  return maybeTooltip({
9412
- // Default the tooltip to the avatar's name, if defined.
9413
- title: resolveTooltip(disabled, tooltip ?? avatarProps.name),
9415
+ title: resolveTooltip(disabled, tooltip ?? (preventTooltip ? void 0 : avatarProps.name)),
9414
9416
  placement: "top",
9415
9417
  // Disable the auto-tooltip in Avatar to prevent nested tooltips which can cause issues with interactions
9416
9418
  children: getButtonOrLink(content, onPress, buttonAttrs, openInNew)
@@ -21563,11 +21565,41 @@ function MaxLines({
21563
21565
  ] });
21564
21566
  }
21565
21567
 
21566
- // src/components/ScrollShadows.tsx
21567
- var import_utils133 = require("@react-aria/utils");
21568
- var import_react120 = require("react");
21568
+ // src/components/PageHeader.tsx
21569
21569
  var import_runtime91 = require("@homebound/truss/runtime");
21570
21570
  var import_jsx_runtime167 = require("react/jsx-runtime");
21571
+ function PageHeader2(props) {
21572
+ const {
21573
+ title,
21574
+ rightSlot,
21575
+ ...otherProps
21576
+ } = props;
21577
+ const tid = useTestIds(otherProps, "pageHeader");
21578
+ return /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("header", { ...tid, ...(0, import_runtime91.trussProps)({
21579
+ display: "df",
21580
+ flexDirection: "fdc",
21581
+ paddingTop: "pt3",
21582
+ paddingRight: "pr3",
21583
+ paddingLeft: "pl3",
21584
+ borderBottomStyle: "bbs_solid",
21585
+ borderBottomWidth: "bbw_1px",
21586
+ borderColor: ["bc_var", {
21587
+ "--borderColor": "var(--b-surface-separator)"
21588
+ }],
21589
+ backgroundColor: ["bgColor_var", {
21590
+ "--backgroundColor": "var(--b-surface)"
21591
+ }]
21592
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)("div", { className: "df jcsb mb2 w100 gap1", children: [
21593
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("h1", { ...tid.title, className: "fw6 fz_20px lh_28px", children: title }) }),
21594
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { children: rightSlot })
21595
+ ] }) });
21596
+ }
21597
+
21598
+ // src/components/ScrollShadows.tsx
21599
+ var import_utils134 = require("@react-aria/utils");
21600
+ var import_react120 = require("react");
21601
+ var import_runtime92 = require("@homebound/truss/runtime");
21602
+ var import_jsx_runtime168 = require("react/jsx-runtime");
21571
21603
  function ScrollShadows(props) {
21572
21604
  const {
21573
21605
  children,
@@ -21591,7 +21623,7 @@ function ScrollShadows(props) {
21591
21623
  const commonStyles = {
21592
21624
  position: "absolute",
21593
21625
  zIndex: ["z_var", {
21594
- "--zIndex": (0, import_runtime91.maybeCssVar)(zIndices.scrollShadow)
21626
+ "--zIndex": (0, import_runtime92.maybeCssVar)(zIndices.scrollShadow)
21595
21627
  }],
21596
21628
  pointerEvents: "pointerEvents_none"
21597
21629
  };
@@ -21624,7 +21656,7 @@ function ScrollShadows(props) {
21624
21656
  ...startShadowStyles2,
21625
21657
  ...{
21626
21658
  background: ["background_var", {
21627
- "--background": (0, import_runtime91.maybeCssVar)(startGradient)
21659
+ "--background": (0, import_runtime92.maybeCssVar)(startGradient)
21628
21660
  }]
21629
21661
  }
21630
21662
  }, {
@@ -21632,7 +21664,7 @@ function ScrollShadows(props) {
21632
21664
  ...endShadowStyles2,
21633
21665
  ...{
21634
21666
  background: ["background_var", {
21635
- "--background": (0, import_runtime91.maybeCssVar)(endGradient)
21667
+ "--background": (0, import_runtime92.maybeCssVar)(endGradient)
21636
21668
  }]
21637
21669
  }
21638
21670
  }];
@@ -21653,14 +21685,14 @@ function ScrollShadows(props) {
21653
21685
  setShowEndShadow(start + boxSize < end);
21654
21686
  }, [horizontal]);
21655
21687
  const onResize = (0, import_react120.useCallback)(() => scrollRef.current && updateScrollProps(scrollRef.current), [updateScrollProps]);
21656
- (0, import_utils133.useResizeObserver)({
21688
+ (0, import_utils134.useResizeObserver)({
21657
21689
  ref: scrollRef,
21658
21690
  onResize
21659
21691
  });
21660
- return /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)("div", { ...(0, import_runtime91.trussProps)({
21692
+ return /* @__PURE__ */ (0, import_jsx_runtime168.jsxs)("div", { ...(0, import_runtime92.trussProps)({
21661
21693
  display: "df",
21662
21694
  flexDirection: ["fd_var", {
21663
- "--flexDirection": (0, import_runtime91.maybeCssVar)(!horizontal ? "column" : "row")
21695
+ "--flexDirection": (0, import_runtime92.maybeCssVar)(!horizontal ? "column" : "row")
21664
21696
  }],
21665
21697
  position: "relative",
21666
21698
  overflow: "oh",
@@ -21673,23 +21705,23 @@ function ScrollShadows(props) {
21673
21705
  width: width2
21674
21706
  }
21675
21707
  }), ...tid, children: [
21676
- /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { ...(0, import_runtime91.trussProps)({
21708
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { ...(0, import_runtime92.trussProps)({
21677
21709
  ...startShadowStyles,
21678
21710
  ...{
21679
21711
  opacity: ["o_var", {
21680
- "--opacity": (0, import_runtime91.maybeCssVar)(showStartShadow ? 1 : 0)
21712
+ "--opacity": (0, import_runtime92.maybeCssVar)(showStartShadow ? 1 : 0)
21681
21713
  }]
21682
21714
  }
21683
21715
  }), "data-chromatic": "ignore" }),
21684
- /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { ...(0, import_runtime91.trussProps)({
21716
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { ...(0, import_runtime92.trussProps)({
21685
21717
  ...endShadowStyles,
21686
21718
  ...{
21687
21719
  opacity: ["o_var", {
21688
- "--opacity": (0, import_runtime91.maybeCssVar)(showEndShadow ? 1 : 0)
21720
+ "--opacity": (0, import_runtime92.maybeCssVar)(showEndShadow ? 1 : 0)
21689
21721
  }]
21690
21722
  }
21691
21723
  }), "data-chromatic": "ignore" }),
21692
- /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { ...(0, import_runtime91.trussProps)({
21724
+ /* @__PURE__ */ (0, import_jsx_runtime168.jsx)("div", { ...(0, import_runtime92.trussProps)({
21693
21725
  ...xss,
21694
21726
  ...{
21695
21727
  overflow: "oa",
@@ -21735,25 +21767,25 @@ function useSideNavLinkGroupExpanded(linkGroup) {
21735
21767
  }
21736
21768
 
21737
21769
  // src/components/SideNav/SideNavLinkGroup.tsx
21738
- var import_jsx_runtime168 = require("react/jsx-runtime");
21770
+ var import_jsx_runtime169 = require("react/jsx-runtime");
21739
21771
  function SideNavLinkGroupView(props) {
21740
21772
  const { linkGroup, panelCollapsed } = props;
21741
21773
  const tid = useTestIds(props, "linkGroup");
21742
21774
  if (panelCollapsed) {
21743
- return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(import_jsx_runtime168.Fragment, { children: linkGroup.links.map((link) => /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(NavLink, { variant: "side", ...link, iconOnly: !!link.icon, ...tid.link }, link.label)) });
21775
+ return /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(import_jsx_runtime169.Fragment, { children: linkGroup.links.map((link) => /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(NavLink, { variant: "side", ...link, iconOnly: !!link.icon, ...tid.link }, link.label)) });
21744
21776
  }
21745
- return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(SideNavLinkGroupDisclosure, { ...props });
21777
+ return /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(SideNavLinkGroupDisclosure, { ...props });
21746
21778
  }
21747
21779
  function SideNavLinkGroupDisclosure(props) {
21748
21780
  const { linkGroup } = props;
21749
21781
  const { expanded, onToggle } = useSideNavLinkGroupExpanded(linkGroup);
21750
21782
  const tid = useTestIds(props, "linkGroup");
21751
- return /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(NavGroup, { label: linkGroup.label, links: linkGroup.links, expanded, onClick: onToggle, ...tid });
21783
+ return /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(NavGroup, { label: linkGroup.label, links: linkGroup.links, expanded, onClick: onToggle, ...tid });
21752
21784
  }
21753
21785
 
21754
21786
  // src/components/SideNav/SideNavSectionView.tsx
21755
- var import_runtime92 = require("@homebound/truss/runtime");
21756
- var import_jsx_runtime169 = require("react/jsx-runtime");
21787
+ var import_runtime93 = require("@homebound/truss/runtime");
21788
+ var import_jsx_runtime170 = require("react/jsx-runtime");
21757
21789
  function SideNavSectionView(props) {
21758
21790
  const {
21759
21791
  section,
@@ -21762,7 +21794,7 @@ function SideNavSectionView(props) {
21762
21794
  ...scopeProps
21763
21795
  } = props;
21764
21796
  const tid = useTestIds(scopeProps);
21765
- return /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)("div", { ...(0, import_runtime92.trussProps)({
21797
+ return /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("div", { ...(0, import_runtime93.trussProps)({
21766
21798
  display: "df",
21767
21799
  flexDirection: "fdc",
21768
21800
  paddingTop: "pt2",
@@ -21775,7 +21807,7 @@ function SideNavSectionView(props) {
21775
21807
  paddingBottom: "pb2"
21776
21808
  } : {}
21777
21809
  }), ...tid, children: [
21778
- section.label && !panelCollapsed && /* @__PURE__ */ (0, import_jsx_runtime169.jsx)("div", { ...(0, import_runtime92.trussProps)({
21810
+ section.label && !panelCollapsed && /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { ...(0, import_runtime93.trussProps)({
21779
21811
  fontWeight: "fw6",
21780
21812
  fontSize: "fz_10px",
21781
21813
  lineHeight: "lh_14px",
@@ -21787,7 +21819,7 @@ function SideNavSectionView(props) {
21787
21819
  paddingBottom: "pb1",
21788
21820
  textTransform: "ttu"
21789
21821
  }), ...tid.label, children: section.label }),
21790
- /* @__PURE__ */ (0, import_jsx_runtime169.jsx)(SideNavItems, { ...scopeProps, items: section.items, panelCollapsed })
21822
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(SideNavItems, { ...scopeProps, items: section.items, panelCollapsed })
21791
21823
  ] });
21792
21824
  }
21793
21825
 
@@ -21814,13 +21846,13 @@ function entryHasIcons(item) {
21814
21846
  }
21815
21847
 
21816
21848
  // src/components/SideNav/SideNavItems.tsx
21817
- var import_jsx_runtime170 = require("react/jsx-runtime");
21849
+ var import_jsx_runtime171 = require("react/jsx-runtime");
21818
21850
  function SideNavItems(props) {
21819
21851
  const { items, panelCollapsed } = props;
21820
21852
  const tid = useTestIds(props, "sideNav");
21821
- return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(import_jsx_runtime170.Fragment, { children: items.map((item, idx) => {
21853
+ return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_jsx_runtime171.Fragment, { children: items.map((item, idx) => {
21822
21854
  if (isSideNavLink(item)) {
21823
- return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
21855
+ return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
21824
21856
  NavLink,
21825
21857
  {
21826
21858
  variant: "side",
@@ -21832,7 +21864,7 @@ function SideNavItems(props) {
21832
21864
  );
21833
21865
  }
21834
21866
  if (isSideNavLinkGroup(item)) {
21835
- return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
21867
+ return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
21836
21868
  SideNavLinkGroupView,
21837
21869
  {
21838
21870
  linkGroup: item,
@@ -21842,7 +21874,7 @@ function SideNavItems(props) {
21842
21874
  sideNavItemKey(item)
21843
21875
  );
21844
21876
  }
21845
- return /* @__PURE__ */ (0, import_jsx_runtime170.jsx)(
21877
+ return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(
21846
21878
  SideNavSectionView,
21847
21879
  {
21848
21880
  section: item,
@@ -21857,7 +21889,7 @@ function SideNavItems(props) {
21857
21889
 
21858
21890
  // src/layouts/SideNavLayout/SideNavLayoutContext.tsx
21859
21891
  var import_react122 = require("react");
21860
- var import_jsx_runtime171 = require("react/jsx-runtime");
21892
+ var import_jsx_runtime172 = require("react/jsx-runtime");
21861
21893
  var SIDE_NAV_LAYOUT_STATE_STORAGE_KEY = "beam.sideNavLayout.navState";
21862
21894
  function loadStoredNavState() {
21863
21895
  try {
@@ -21904,7 +21936,7 @@ function SideNavLayoutProvider(props) {
21904
21936
  return next;
21905
21937
  });
21906
21938
  }, []);
21907
- return /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(SideNavLayoutContext.Provider, { value: { navState, setNavState }, children: props.children });
21939
+ return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(SideNavLayoutContext.Provider, { value: { navState, setNavState }, children: props.children });
21908
21940
  }
21909
21941
  function useSideNavLayoutContext() {
21910
21942
  return (0, import_react122.useContext)(SideNavLayoutContext) ?? { navState: "expanded", setNavState: () => {
@@ -21915,8 +21947,8 @@ function useHasSideNavLayoutProvider() {
21915
21947
  }
21916
21948
 
21917
21949
  // src/components/SideNav/SideNav.tsx
21918
- var import_runtime93 = require("@homebound/truss/runtime");
21919
- var import_jsx_runtime172 = require("react/jsx-runtime");
21950
+ var import_runtime94 = require("@homebound/truss/runtime");
21951
+ var import_jsx_runtime173 = require("react/jsx-runtime");
21920
21952
  function SideNav(props) {
21921
21953
  const {
21922
21954
  top,
@@ -21929,8 +21961,8 @@ function SideNav(props) {
21929
21961
  const tid = useTestIds(props, "sideNav");
21930
21962
  const panelCollapsed = navState === "collapse";
21931
21963
  const hideOnCollapse = panelCollapsed && !allItemsHaveIcons(items);
21932
- return /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)("nav", { className: "df fdc h100 fs0", ...tid, children: [
21933
- top !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime172.jsx)("div", { ...(0, import_runtime93.trussProps)({
21964
+ return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)("nav", { className: "df fdc h100 fs0", ...tid, children: [
21965
+ top !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { ...(0, import_runtime94.trussProps)({
21934
21966
  flexShrink: "fs0",
21935
21967
  paddingLeft: "pl2",
21936
21968
  paddingRight: "pr2",
@@ -21941,7 +21973,7 @@ function SideNav(props) {
21941
21973
  paddingBottom: "pb4"
21942
21974
  } : {}
21943
21975
  }), ...tid.top, children: top }),
21944
- /* @__PURE__ */ (0, import_jsx_runtime172.jsx)("div", { ...(0, import_runtime93.trussProps)({
21976
+ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { ...(0, import_runtime94.trussProps)({
21945
21977
  flexGrow: "fg1",
21946
21978
  overflowY: "oya",
21947
21979
  display: "df",
@@ -21953,8 +21985,8 @@ function SideNav(props) {
21953
21985
  ...top === void 0 ? {
21954
21986
  paddingTop: "pt5"
21955
21987
  } : {}
21956
- }), ...tid.items, children: !hideOnCollapse && /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(SideNavItems, { items, panelCollapsed }) }),
21957
- footer !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime172.jsx)("div", { ...(0, import_runtime93.trussProps)({
21988
+ }), ...tid.items, children: !hideOnCollapse && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(SideNavItems, { items, panelCollapsed }) }),
21989
+ footer !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { ...(0, import_runtime94.trussProps)({
21958
21990
  flexShrink: "fs0",
21959
21991
  paddingLeft: "pl2",
21960
21992
  paddingRight: "pr2",
@@ -22031,8 +22063,8 @@ var snackbarId = 1;
22031
22063
  // src/components/Stepper.tsx
22032
22064
  var import_react124 = require("react");
22033
22065
  var import_react_aria53 = require("react-aria");
22034
- var import_runtime94 = require("@homebound/truss/runtime");
22035
- var import_jsx_runtime173 = require("react/jsx-runtime");
22066
+ var import_runtime95 = require("@homebound/truss/runtime");
22067
+ var import_jsx_runtime174 = require("react/jsx-runtime");
22036
22068
  var import_react125 = require("react");
22037
22069
  var __maybeInc14 = (inc) => {
22038
22070
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -22051,8 +22083,8 @@ function Stepper(props) {
22051
22083
  const maxStepWidth = 200;
22052
22084
  const minStepWidth = 100;
22053
22085
  const gap = 8;
22054
- return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
22055
- /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("ol", { ...(0, import_runtime94.trussProps)({
22086
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
22087
+ /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("ol", { ...(0, import_runtime95.trussProps)({
22056
22088
  padding: "p_0",
22057
22089
  margin: "m_0",
22058
22090
  listStyle: "lis_none",
@@ -22062,7 +22094,7 @@ function Stepper(props) {
22062
22094
  }]
22063
22095
  }), children: steps.map((step) => {
22064
22096
  const isCurrent = currentStep === step.value;
22065
- return /* @__PURE__ */ (0, import_react125.createElement)("li", { ...(0, import_runtime94.trussProps)({
22097
+ return /* @__PURE__ */ (0, import_react125.createElement)("li", { ...(0, import_runtime95.trussProps)({
22066
22098
  display: "df",
22067
22099
  flexGrow: "fg1",
22068
22100
  flexDirection: "fdc",
@@ -22072,9 +22104,9 @@ function Stepper(props) {
22072
22104
  minWidth: ["mw_var", {
22073
22105
  "--minWidth": `${minStepWidth}px`
22074
22106
  }]
22075
- }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
22107
+ }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
22076
22108
  }) }),
22077
- /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { ...(0, import_runtime94.trussProps)({
22109
+ /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("div", { ...(0, import_runtime95.trussProps)({
22078
22110
  marginTop: "mt1",
22079
22111
  backgroundColor: "bgGray300",
22080
22112
  height: "h_4px",
@@ -22085,12 +22117,12 @@ function Stepper(props) {
22085
22117
  "--minWidth": `${steps.length * minStepWidth + (steps.length - 1) * gap}px`
22086
22118
  }],
22087
22119
  width: "w100"
22088
- }), children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { ...(0, import_runtime94.trussProps)({
22120
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("div", { ...(0, import_runtime95.trussProps)({
22089
22121
  backgroundColor: "bgBlue600",
22090
22122
  transition: "transition_width_200ms",
22091
22123
  height: "h100",
22092
22124
  width: ["w_var", {
22093
- "--width": (0, import_runtime94.maybeCssVar)(__maybeInc14(`${(lastCompletedStep + 1) / steps.length * 100}%`))
22125
+ "--width": (0, import_runtime95.maybeCssVar)(__maybeInc14(`${(lastCompletedStep + 1) / steps.length * 100}%`))
22094
22126
  }]
22095
22127
  }) }) })
22096
22128
  ] });
@@ -22126,7 +22158,7 @@ function StepButton(props) {
22126
22158
  boxShadow: "bshFocus"
22127
22159
  };
22128
22160
  const tid = useTestIds(props, "stepButton");
22129
- return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime94.trussProps)({
22161
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime95.trussProps)({
22130
22162
  ...{
22131
22163
  fontWeight: "fw6",
22132
22164
  fontSize: "fz_14px",
@@ -22178,7 +22210,7 @@ function StepButton(props) {
22178
22210
  } : {},
22179
22211
  ...isFocusVisible ? focusRingStyles2 : {}
22180
22212
  }), ...tid[defaultTestId(label)], children: [
22181
- /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("span", { className: "fs0 mr_4px", children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(StepIcon, { state, isHovered, isPressed, isCurrent }) }),
22213
+ /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("span", { className: "fs0 mr_4px", children: /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(StepIcon, { state, isHovered, isPressed, isCurrent }) }),
22182
22214
  label
22183
22215
  ] });
22184
22216
  }
@@ -22189,12 +22221,12 @@ function StepIcon({
22189
22221
  isCurrent = false
22190
22222
  }) {
22191
22223
  if (state === "error") {
22192
- return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(Icon, { icon: "errorCircle" });
22224
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(Icon, { icon: "errorCircle" });
22193
22225
  }
22194
22226
  if (state === "complete") {
22195
- return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(Icon, { icon: "check" });
22227
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(Icon, { icon: "check" });
22196
22228
  }
22197
- return /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { ...(0, import_runtime94.trussProps)({
22229
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("div", { ...(0, import_runtime95.trussProps)({
22198
22230
  width: "w_10px",
22199
22231
  height: "h_10px",
22200
22232
  borderStyle: "bss",
@@ -22209,8 +22241,8 @@ function StepIcon({
22209
22241
 
22210
22242
  // src/components/SuperDrawer/components/SuperDrawerHeader.tsx
22211
22243
  var import_react_dom6 = require("react-dom");
22212
- var import_runtime95 = require("@homebound/truss/runtime");
22213
- var import_jsx_runtime174 = require("react/jsx-runtime");
22244
+ var import_runtime96 = require("@homebound/truss/runtime");
22245
+ var import_jsx_runtime175 = require("react/jsx-runtime");
22214
22246
  function SuperDrawerHeader(props) {
22215
22247
  const {
22216
22248
  hideControls
@@ -22227,20 +22259,20 @@ function SuperDrawerHeader(props) {
22227
22259
  const currentContent = contentStack.current[contentStack.current.length - 1]?.opts;
22228
22260
  const isDetail = currentContent !== firstContent;
22229
22261
  const tid = useTestIds({}, "superDrawerHeader");
22230
- return (0, import_react_dom6.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("div", { className: "df aic jcsb gap3", ...tid, children: [
22231
- isStructuredProps(props) ? /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("div", { className: "df jcsb aic gap2 fg1", children: [
22232
- /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("div", { className: "fg1 df aic gap2", children: [
22233
- /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("h1", { className: "fw6 fz_30px lh_36px", children: props.title }),
22262
+ return (0, import_react_dom6.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { className: "df aic jcsb gap3", ...tid, children: [
22263
+ isStructuredProps(props) ? /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { className: "df jcsb aic gap2 fg1", children: [
22264
+ /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { className: "fg1 df aic gap2", children: [
22265
+ /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("h1", { className: "fw6 fz_30px lh_36px", children: props.title }),
22234
22266
  props.left
22235
22267
  ] }),
22236
- props.right && /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("div", { className: "fs0", children: props.right })
22237
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("div", { className: "fg1", children: props.children }),
22238
- !hideControls && /* @__PURE__ */ (0, import_jsx_runtime174.jsx)("div", { ...(0, import_runtime95.trussProps)({
22268
+ props.right && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { className: "fs0", children: props.right })
22269
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { className: "fg1", children: props.children }),
22270
+ !hideControls && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime96.trussProps)({
22239
22271
  flexShrink: "fs0",
22240
22272
  ...isDetail ? {
22241
22273
  visibility: "vh"
22242
22274
  } : {}
22243
- }), children: /* @__PURE__ */ (0, import_jsx_runtime174.jsx)(ButtonGroup, { buttons: [{
22275
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(ButtonGroup, { buttons: [{
22244
22276
  icon: "chevronLeft",
22245
22277
  onClick: () => onPrevClick && onPrevClick(),
22246
22278
  disabled: !onPrevClick
@@ -22256,18 +22288,18 @@ function isStructuredProps(props) {
22256
22288
  }
22257
22289
 
22258
22290
  // src/components/SuperDrawer/ConfirmCloseModal.tsx
22259
- var import_jsx_runtime175 = require("react/jsx-runtime");
22291
+ var import_jsx_runtime176 = require("react/jsx-runtime");
22260
22292
  function ConfirmCloseModal(props) {
22261
22293
  const { onClose, discardText = "Discard Changes", continueText = "Continue Editing" } = props;
22262
22294
  const { modalState } = useBeamContext();
22263
22295
  function closeModal() {
22264
22296
  modalState.current = void 0;
22265
22297
  }
22266
- return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)(import_jsx_runtime175.Fragment, { children: [
22267
- /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(ModalHeader, { children: "Are you sure you want to cancel?" }),
22268
- /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(ModalBody, { children: /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("p", { children: "Any changes you've made so far will be lost." }) }),
22269
- /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)(ModalFooter, { children: [
22270
- /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(
22298
+ return /* @__PURE__ */ (0, import_jsx_runtime176.jsxs)(import_jsx_runtime176.Fragment, { children: [
22299
+ /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(ModalHeader, { children: "Are you sure you want to cancel?" }),
22300
+ /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(ModalBody, { children: /* @__PURE__ */ (0, import_jsx_runtime176.jsx)("p", { children: "Any changes you've made so far will be lost." }) }),
22301
+ /* @__PURE__ */ (0, import_jsx_runtime176.jsxs)(ModalFooter, { children: [
22302
+ /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(
22271
22303
  Button,
22272
22304
  {
22273
22305
  variant: "quaternary",
@@ -22278,7 +22310,7 @@ function ConfirmCloseModal(props) {
22278
22310
  }
22279
22311
  }
22280
22312
  ),
22281
- /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(Button, { label: continueText, onClick: closeModal })
22313
+ /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(Button, { label: continueText, onClick: closeModal })
22282
22314
  ] })
22283
22315
  ] });
22284
22316
  }
@@ -22288,7 +22320,7 @@ var import_framer_motion5 = require("framer-motion");
22288
22320
 
22289
22321
  // src/components/SuperDrawer/useSuperDrawer.tsx
22290
22322
  var import_react126 = require("react");
22291
- var import_jsx_runtime176 = require("react/jsx-runtime");
22323
+ var import_jsx_runtime177 = require("react/jsx-runtime");
22292
22324
  function useSuperDrawer() {
22293
22325
  const {
22294
22326
  drawerContentStack: contentStack,
@@ -22300,7 +22332,7 @@ function useSuperDrawer() {
22300
22332
  function canCloseDrawerDetails(i, doChange) {
22301
22333
  for (const canCloseDrawerDetail of canCloseDetailsChecks.current[i] ?? []) {
22302
22334
  if (!canClose(canCloseDrawerDetail)) {
22303
- openModal({ content: /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawerDetail }) });
22335
+ openModal({ content: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawerDetail }) });
22304
22336
  return false;
22305
22337
  }
22306
22338
  }
@@ -22320,7 +22352,7 @@ function useSuperDrawer() {
22320
22352
  for (const canCloseDrawer of canCloseChecks.current) {
22321
22353
  if (!canClose(canCloseDrawer)) {
22322
22354
  openModal({
22323
- content: /* @__PURE__ */ (0, import_jsx_runtime176.jsx)(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawer })
22355
+ content: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawer })
22324
22356
  });
22325
22357
  return;
22326
22358
  }
@@ -22415,8 +22447,8 @@ function canClose(canCloseCheck) {
22415
22447
  }
22416
22448
 
22417
22449
  // src/components/SuperDrawer/SuperDrawerContent.tsx
22418
- var import_runtime96 = require("@homebound/truss/runtime");
22419
- var import_jsx_runtime177 = require("react/jsx-runtime");
22450
+ var import_runtime97 = require("@homebound/truss/runtime");
22451
+ var import_jsx_runtime178 = require("react/jsx-runtime");
22420
22452
  var SuperDrawerContent = ({
22421
22453
  children,
22422
22454
  actions
@@ -22436,17 +22468,17 @@ var SuperDrawerContent = ({
22436
22468
  } = firstContent ?? {};
22437
22469
  function wrapWithMotionAndMaybeBack(children2) {
22438
22470
  if (kind === "open") {
22439
- return /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(import_framer_motion5.motion.div, { className: "pt3 pb3 pr3 pl3 fg1 oa", children: children2 }, "content");
22471
+ return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(import_framer_motion5.motion.div, { className: "pt3 pb3 pr3 pl3 fg1 oa", children: children2 }, "content");
22440
22472
  } else if (kind === "detail") {
22441
- return /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(import_framer_motion5.motion.div, { className: "pl3 pr3 pt2 pb3 fg1", animate: {
22473
+ return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(import_framer_motion5.motion.div, { className: "pl3 pr3 pt2 pb3 fg1", animate: {
22442
22474
  overflow: "auto"
22443
22475
  }, transition: {
22444
22476
  overflow: {
22445
22477
  delay: 0.3
22446
22478
  }
22447
22479
  }, children: [
22448
- /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(Button, { label: "Back", icon: "chevronLeft", variant: "tertiary", onClick: closeDrawerDetail }),
22449
- /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(import_framer_motion5.motion.div, { initial: {
22480
+ /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(Button, { label: "Back", icon: "chevronLeft", variant: "tertiary", onClick: closeDrawerDetail }),
22481
+ /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(import_framer_motion5.motion.div, { initial: {
22450
22482
  x: width2,
22451
22483
  opacity: 0
22452
22484
  }, animate: {
@@ -22464,7 +22496,7 @@ var SuperDrawerContent = ({
22464
22496
  }, className: "pt2", children: children2 })
22465
22497
  ] }, "content");
22466
22498
  } else {
22467
- return /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(import_framer_motion5.motion.div, { ...(0, import_runtime96.mergeProps)(void 0, {
22499
+ return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(import_framer_motion5.motion.div, { ...(0, import_runtime97.mergeProps)(void 0, {
22468
22500
  overflow: "auto"
22469
22501
  }, {
22470
22502
  paddingTop: "pt3",
@@ -22475,9 +22507,9 @@ var SuperDrawerContent = ({
22475
22507
  }) }, "content");
22476
22508
  }
22477
22509
  }
22478
- return /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(import_jsx_runtime177.Fragment, { children: [
22510
+ return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(import_jsx_runtime178.Fragment, { children: [
22479
22511
  wrapWithMotionAndMaybeBack(children),
22480
- actions && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("footer", { className: "bts_solid btw_1px bcGray200 pt3 pb3 pr3 pl3 df aic jcfe", children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { className: "df gap1", children: actions.map((buttonProps, i) => /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(Button, { ...buttonProps }, i)) }) })
22512
+ actions && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("footer", { className: "bts_solid btw_1px bcGray200 pt3 pb3 pr3 pl3 df aic jcfe", children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { className: "df gap1", children: actions.map((buttonProps, i) => /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(Button, { ...buttonProps }, i)) }) })
22481
22513
  ] });
22482
22514
  };
22483
22515
 
@@ -22505,15 +22537,15 @@ var import_react127 = require("react");
22505
22537
  var import_react_aria54 = require("react-aria");
22506
22538
  var import_react_router = require("react-router");
22507
22539
  var import_react_router_dom5 = require("react-router-dom");
22508
- var import_runtime97 = require("@homebound/truss/runtime");
22509
- var import_jsx_runtime178 = require("react/jsx-runtime");
22540
+ var import_runtime98 = require("@homebound/truss/runtime");
22541
+ var import_jsx_runtime179 = require("react/jsx-runtime");
22510
22542
  function TabsWithContent(props) {
22511
22543
  const styles = hideTabs(props) ? {} : {
22512
22544
  paddingTop: "pt3"
22513
22545
  };
22514
- return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(import_jsx_runtime178.Fragment, { children: [
22515
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(Tabs, { ...props }),
22516
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(TabContent, { ...props, contentXss: {
22546
+ return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(import_jsx_runtime179.Fragment, { children: [
22547
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(Tabs, { ...props }),
22548
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(TabContent, { ...props, contentXss: {
22517
22549
  ...styles,
22518
22550
  ...props.contentXss
22519
22551
  } })
@@ -22538,7 +22570,7 @@ function TabContent(props) {
22538
22570
  return (
22539
22571
  // Using FullBleed to allow the tab's bgColor to extend to the edges of the <ScrollableContent /> element.
22540
22572
  // Omit the padding from `FullBleed` if the caller passes in the `paddingLeft/Right` styles.
22541
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime97.trussProps)(contentXss), children: selectedTab.render() }) })
22573
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime98.trussProps)(contentXss), children: selectedTab.render() }) })
22542
22574
  );
22543
22575
  }
22544
22576
  function Tabs(props) {
@@ -22580,7 +22612,7 @@ function Tabs(props) {
22580
22612
  setActive(selected);
22581
22613
  }
22582
22614
  }
22583
- return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)("div", { ...(0, import_runtime97.trussProps)({
22615
+ return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)("div", { ...(0, import_runtime98.trussProps)({
22584
22616
  ...{
22585
22617
  display: "df",
22586
22618
  alignItems: "aic",
@@ -22596,11 +22628,11 @@ function Tabs(props) {
22596
22628
  }
22597
22629
  } : {}
22598
22630
  }), children: [
22599
- !hideTabs(props) && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ref, className: "dif gap1 asfe", "aria-label": ariaLabel, role: "tablist", ...tid, children: tabs.map((tab) => {
22631
+ !hideTabs(props) && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ref, className: "dif gap1 asfe", "aria-label": ariaLabel, role: "tablist", ...tid, children: tabs.map((tab) => {
22600
22632
  const uniqueValue = uniqueTabValue(tab);
22601
- return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(TabImpl, { active: active === uniqueValue, focusProps, isFocusVisible, onClick, onKeyUp, onBlur, tab, ...tid[defaultTestId(uniqueValue)] }, uniqueValue);
22633
+ return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(TabImpl, { active: active === uniqueValue, focusProps, isFocusVisible, onClick, onKeyUp, onBlur, tab, ...tid[defaultTestId(uniqueValue)] }, uniqueValue);
22602
22634
  }) }),
22603
- right && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { className: "mla df aic gap1 pb1", children: right })
22635
+ right && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { className: "mla df aic gap1 pb1", children: right })
22604
22636
  ] });
22605
22637
  }
22606
22638
  function TabImpl(props) {
@@ -22644,7 +22676,7 @@ function TabImpl(props) {
22644
22676
  role: "tab",
22645
22677
  tabIndex: active ? 0 : -1,
22646
22678
  ...others,
22647
- ...(0, import_runtime97.trussProps)({
22679
+ ...(0, import_runtime98.trussProps)({
22648
22680
  ...baseStyles5,
22649
22681
  ...active && activeStyles3,
22650
22682
  ...isDisabled && disabledStyles4,
@@ -22660,17 +22692,17 @@ function TabImpl(props) {
22660
22692
  onClick: () => onClick(tab.value)
22661
22693
  }
22662
22694
  });
22663
- const tabLabel = /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)(import_jsx_runtime178.Fragment, { children: [
22695
+ const tabLabel = /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(import_jsx_runtime179.Fragment, { children: [
22664
22696
  label,
22665
- (icon || endAdornment) && /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("span", { className: "ml1", children: icon ? /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(Icon, { icon }) : endAdornment })
22697
+ (icon || endAdornment) && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("span", { className: "ml1", children: icon ? /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(Icon, { icon }) : endAdornment })
22666
22698
  ] });
22667
22699
  return isDisabled ? maybeTooltip({
22668
22700
  title: resolveTooltip(disabled),
22669
22701
  placement: "top",
22670
- children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...tabProps, children: tabLabel })
22671
- }) : isRouteTab(tab) ? /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(import_react_router_dom5.Link, { ...(0, import_react_aria54.mergeProps)(tabProps, interactiveProps, {
22702
+ children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...tabProps, children: tabLabel })
22703
+ }) : isRouteTab(tab) ? /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(import_react_router_dom5.Link, { ...(0, import_react_aria54.mergeProps)(tabProps, interactiveProps, {
22672
22704
  className: "navLink"
22673
- }), to: tab.href, children: tabLabel }) : /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("button", { ...{
22705
+ }), to: tab.href, children: tabLabel }) : /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("button", { ...{
22674
22706
  ...tabProps,
22675
22707
  ...interactiveProps
22676
22708
  }, children: tabLabel });
@@ -22681,7 +22713,7 @@ function getTabStyles() {
22681
22713
  const borderBottomStyles = {
22682
22714
  borderBottomStyle: "bbs_solid",
22683
22715
  borderBottomWidth: ["borderBottomWidth_var", {
22684
- "--borderBottomWidth": (0, import_runtime97.maybeCssVar)(`${borderBottomWidthPx}px`)
22716
+ "--borderBottomWidth": (0, import_runtime98.maybeCssVar)(`${borderBottomWidthPx}px`)
22685
22717
  }],
22686
22718
  paddingBottom: ["pb_var", {
22687
22719
  "--paddingBottom": `${verticalPaddingPx - borderBottomWidthPx}px`
@@ -22773,12 +22805,12 @@ function useToast() {
22773
22805
  }
22774
22806
 
22775
22807
  // src/layouts/SideNavLayout/SideNavLayout.tsx
22776
- var import_runtime98 = require("@homebound/truss/runtime");
22777
- var import_jsx_runtime179 = require("react/jsx-runtime");
22808
+ var import_runtime99 = require("@homebound/truss/runtime");
22809
+ var import_jsx_runtime180 = require("react/jsx-runtime");
22778
22810
  function SideNavLayout(props) {
22779
22811
  const hasProvider = useHasSideNavLayoutProvider();
22780
- if (hasProvider) return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(SideNavLayoutContent, { ...props });
22781
- return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(SideNavLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(SideNavLayoutContent, { ...props }) });
22812
+ if (hasProvider) return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(SideNavLayoutContent, { ...props });
22813
+ return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(SideNavLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(SideNavLayoutContent, { ...props }) });
22782
22814
  }
22783
22815
  function SideNavLayoutContent(props) {
22784
22816
  const {
@@ -22798,7 +22830,7 @@ function SideNavLayoutContent(props) {
22798
22830
  const railCollapsedWidthPx = 56;
22799
22831
  const collapsed = navState === "collapse";
22800
22832
  const showRail = sideNav !== void 0 && navState !== "hidden";
22801
- const rail = showRail && /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)("div", { ...(0, import_runtime98.trussProps)({
22833
+ const rail = showRail && /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("div", { ...(0, import_runtime99.trussProps)({
22802
22834
  ...{
22803
22835
  position: "absolute",
22804
22836
  top: "top0",
@@ -22822,7 +22854,7 @@ function SideNavLayoutContent(props) {
22822
22854
  overflow: "oh",
22823
22855
  transition: "transitionWidth",
22824
22856
  zIndex: ["zIndex_var", {
22825
- "--zIndex": (0, import_runtime98.maybeCssVar)(zIndices.sideNav)
22857
+ "--zIndex": (0, import_runtime99.maybeCssVar)(zIndices.sideNav)
22826
22858
  }]
22827
22859
  },
22828
22860
  ...collapsed ? {
@@ -22844,12 +22876,12 @@ function SideNavLayoutContent(props) {
22844
22876
  }
22845
22877
  } : {}
22846
22878
  }), ...tid.sideNav, children: [
22847
- showCollapseToggle && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { className: "absolute right2 top2", children: /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
22848
- /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { className: "fg1 oya", ...tid.sideNavContent, children: sideNav })
22879
+ showCollapseToggle && /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { className: "absolute right2 top2", children: /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
22880
+ /* @__PURE__ */ (0, import_jsx_runtime180.jsx)("div", { className: "fg1 oya", ...tid.sideNavContent, children: sideNav })
22849
22881
  ] });
22850
- return /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)("div", { className: "relative df oh fg1", ...tid, children: [
22851
- contrastRail ? /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(ContrastScope, { children: rail }) : rail,
22852
- /* @__PURE__ */ (0, import_jsx_runtime179.jsx)(ScrollableParent, { px: contentPx, xss: {
22882
+ return /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("div", { className: "relative df oh fg1", ...tid, children: [
22883
+ contrastRail ? /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(ContrastScope, { children: rail }) : rail,
22884
+ /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(ScrollableParent, { px: contentPx, xss: {
22853
22885
  marginLeft: ["ml_var", {
22854
22886
  "--marginLeft": `${railCollapsedWidthPx}px`
22855
22887
  }],
@@ -22960,6 +22992,7 @@ function SideNavLayoutContent(props) {
22960
22992
  NavLink,
22961
22993
  NumberField,
22962
22994
  OpenModal,
22995
+ PageHeader,
22963
22996
  Pagination,
22964
22997
  Palette,
22965
22998
  PresentationProvider,