@homebound/beam 3.66.0 → 3.68.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.js CHANGED
@@ -19940,19 +19940,19 @@ function FormSection(props) {
19940
19940
  } = props;
19941
19941
  const tid = useTestIds(props, "formSection");
19942
19942
  return /* @__PURE__ */ jsxs63("div", { className: "df fdc gap2", ...tid, children: [
19943
- /* @__PURE__ */ jsxs63("div", { className: "df jcsb", children: [
19944
- /* @__PURE__ */ jsxs63("div", { className: "df fdc gap_12px", children: [
19943
+ /* @__PURE__ */ jsxs63("div", { className: "df fdc jcsb gap_12px", children: [
19944
+ /* @__PURE__ */ jsxs63("div", { className: "df jcsb aic", children: [
19945
19945
  getTitle(title, isChild, tid),
19946
- description && /* @__PURE__ */ jsx132("div", { ...trussProps76({
19947
- fontWeight: "fw4",
19948
- fontSize: "fz_14px",
19949
- lineHeight: "lh_20px",
19950
- color: ["color_var", {
19951
- "--color": "var(--b-on-surface)"
19952
- }]
19953
- }), ...tid.description, children: description })
19946
+ actions && /* @__PURE__ */ jsx132("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => action.kind === "icon" ? /* @__PURE__ */ jsx132(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ jsx132(Button, { ...action }, `${action.label}`)) })
19954
19947
  ] }),
19955
- actions && /* @__PURE__ */ jsx132("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => action.kind === "icon" ? /* @__PURE__ */ jsx132(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ jsx132(Button, { ...action }, `${action.label}`)) })
19948
+ description && /* @__PURE__ */ jsx132("div", { ...trussProps76({
19949
+ fontWeight: "fw4",
19950
+ fontSize: "fz_14px",
19951
+ lineHeight: "lh_20px",
19952
+ color: ["color_var", {
19953
+ "--color": "var(--b-on-surface)"
19954
+ }]
19955
+ }), ...tid.description, children: description })
19956
19956
  ] }),
19957
19957
  fields,
19958
19958
  childSections && /* @__PURE__ */ jsx132("div", { className: "df fdc gap3", children: childSections.map((child, i) => /* @__PURE__ */ jsx132("div", { ...trussProps76({
@@ -23632,9 +23632,62 @@ function HbSpinnerProvider({
23632
23632
  return /* @__PURE__ */ jsx180(HbLoadingSpinnerContext.Provider, { value: state, children });
23633
23633
  }
23634
23634
 
23635
- // src/components/HomeboundLogo.tsx
23636
- import { trussProps as trussProps100, maybeCssVar as maybeCssVar47 } from "@homebound/truss/runtime";
23635
+ // src/components/Headers/HeaderActions.tsx
23637
23636
  import { jsx as jsx181 } from "react/jsx-runtime";
23637
+ function HeaderActions(props) {
23638
+ const {
23639
+ actions,
23640
+ ...otherProps
23641
+ } = props;
23642
+ const tid = useTestIds(otherProps, "headerActions");
23643
+ return /* @__PURE__ */ jsx181("div", { className: "df gap1 fs0", ...tid, children: actions.map((action) => action.kind === "icon" ? /* @__PURE__ */ jsx181(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ jsx181(Button, { ...action }, `${action.label}`)) });
23644
+ }
23645
+
23646
+ // src/components/Headers/ContentHeader.tsx
23647
+ import { trussProps as trussProps100 } from "@homebound/truss/runtime";
23648
+ import { jsx as jsx182, jsxs as jsxs88 } from "react/jsx-runtime";
23649
+ function ContentHeader(props) {
23650
+ const {
23651
+ title,
23652
+ description,
23653
+ actions
23654
+ } = props;
23655
+ const tid = useTestIds(props, "contentHeader");
23656
+ if (!title && !description && !actions) {
23657
+ return null;
23658
+ }
23659
+ const descriptionEl = description && /* @__PURE__ */ jsx182("div", { ...trussProps100({
23660
+ fontWeight: "fw4",
23661
+ fontSize: "fz_14px",
23662
+ lineHeight: "lh_20px",
23663
+ color: ["color_var", {
23664
+ "--color": "var(--b-on-surface)"
23665
+ }]
23666
+ }), ...tid.description, children: description });
23667
+ return /* @__PURE__ */ jsxs88("div", { ...trussProps100({
23668
+ display: "df",
23669
+ flexDirection: "fdc",
23670
+ gap: "gap_12px",
23671
+ width: "w_calc_var_beam_layout_viewport_width_100vw_var_beam_side_nav_layout_width_0px",
23672
+ left: "l_var_beam_side_nav_layout_width_0px",
23673
+ position: "sticky",
23674
+ paddingLeft: "pl_24px",
23675
+ paddingRight: "pr_24px",
23676
+ backgroundColor: ["bgColor_var", {
23677
+ "--backgroundColor": "var(--b-surface)"
23678
+ }]
23679
+ }), ...tid, children: [
23680
+ /* @__PURE__ */ jsxs88("div", { className: "df aic jcsb mw0", children: [
23681
+ title ? /* @__PURE__ */ jsx182("h2", { className: "fw6 fz_20px lh_28px", ...tid.title, children: title }) : descriptionEl,
23682
+ actions && /* @__PURE__ */ jsx182(HeaderActions, { actions, ...tid.actions })
23683
+ ] }),
23684
+ title && descriptionEl
23685
+ ] });
23686
+ }
23687
+
23688
+ // src/components/HomeboundLogo.tsx
23689
+ import { trussProps as trussProps101, maybeCssVar as maybeCssVar47 } from "@homebound/truss/runtime";
23690
+ import { jsx as jsx183 } from "react/jsx-runtime";
23638
23691
  var __maybeInc20 = (inc) => {
23639
23692
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
23640
23693
  };
@@ -23644,7 +23697,7 @@ function HomeboundLogo(props) {
23644
23697
  width: width2 = "auto",
23645
23698
  height = "auto"
23646
23699
  } = props;
23647
- return /* @__PURE__ */ jsx181("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...trussProps100({
23700
+ return /* @__PURE__ */ jsx183("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...trussProps101({
23648
23701
  fill: ["fill_var", {
23649
23702
  "--fill": maybeCssVar47(fill)
23650
23703
  }],
@@ -23654,14 +23707,14 @@ function HomeboundLogo(props) {
23654
23707
  height: ["h_var", {
23655
23708
  "--height": maybeCssVar47(__maybeInc20(height))
23656
23709
  }]
23657
- }), children: /* @__PURE__ */ jsx181("path", { d: "M158.1,97.6H0.2L0,39.7L76.8,0l68,38.7l-3.1,5.3l-65-37L6.2,43.4l0.2,48h151.7V97.6z" }) });
23710
+ }), children: /* @__PURE__ */ jsx183("path", { d: "M158.1,97.6H0.2L0,39.7L76.8,0l68,38.7l-3.1,5.3l-65-37L6.2,43.4l0.2,48h151.7V97.6z" }) });
23658
23711
  }
23659
23712
 
23660
23713
  // src/components/JumpLink.tsx
23661
23714
  import { useRef as useRef56 } from "react";
23662
23715
  import { mergeProps as mergeProps27, useFocusRing as useFocusRing15, useHover as useHover19, useLink } from "react-aria";
23663
- import { trussProps as trussProps101 } from "@homebound/truss/runtime";
23664
- import { jsx as jsx182 } from "react/jsx-runtime";
23716
+ import { trussProps as trussProps102 } from "@homebound/truss/runtime";
23717
+ import { jsx as jsx184 } from "react/jsx-runtime";
23665
23718
  function JumpLink(props) {
23666
23719
  const {
23667
23720
  label,
@@ -23703,14 +23756,14 @@ function JumpLink(props) {
23703
23756
  });
23704
23757
  }
23705
23758
  }
23706
- return /* @__PURE__ */ jsx182("a", { ref, ...mergeProps27(linkProps, focusProps, hoverProps), ...tid, ...trussProps101({
23759
+ return /* @__PURE__ */ jsx184("a", { ref, ...mergeProps27(linkProps, focusProps, hoverProps), ...tid, ...trussProps102({
23707
23760
  ...jumpLinkStyles.baseStyles,
23708
23761
  ...active && jumpLinkStyles.activeStyles,
23709
23762
  ...isHovered && !disabled && jumpLinkStyles.hoverStyles,
23710
23763
  ...isFocusVisible && jumpLinkStyles.focusStyles,
23711
23764
  ...disabled && jumpLinkStyles.disabledStyles,
23712
23765
  ...disabled && active && jumpLinkStyles.disabledActiveStyles
23713
- }), children: /* @__PURE__ */ jsx182("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2", children: label }) });
23766
+ }), children: /* @__PURE__ */ jsx184("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2", children: label }) });
23714
23767
  }
23715
23768
  var jumpLinkStyles = {
23716
23769
  baseStyles: {
@@ -23760,8 +23813,8 @@ var jumpLinkStyles = {
23760
23813
  // src/components/MaxLines.tsx
23761
23814
  import { useLayoutEffect as useLayoutEffect7, useResizeObserver as useResizeObserver7 } from "@react-aria/utils";
23762
23815
  import { useCallback as useCallback31, useEffect as useEffect32, useRef as useRef57, useState as useState50 } from "react";
23763
- import { trussProps as trussProps102, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
23764
- import { jsx as jsx183, jsxs as jsxs88 } from "react/jsx-runtime";
23816
+ import { trussProps as trussProps103, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
23817
+ import { jsx as jsx185, jsxs as jsxs89 } from "react/jsx-runtime";
23765
23818
  function MaxLines({
23766
23819
  maxLines,
23767
23820
  children
@@ -23784,8 +23837,8 @@ function MaxLines({
23784
23837
  ref: elRef,
23785
23838
  onResize
23786
23839
  });
23787
- return /* @__PURE__ */ jsxs88("div", { children: [
23788
- /* @__PURE__ */ jsx183("div", { ref: elRef, ...trussProps102({
23840
+ return /* @__PURE__ */ jsxs89("div", { children: [
23841
+ /* @__PURE__ */ jsx185("div", { ref: elRef, ...trussProps103({
23789
23842
  ...!expanded ? {
23790
23843
  WebkitLineClamp: ["lineClamp_var", {
23791
23844
  "--WebkitLineClamp": maybeCssVar48(maxLines)
@@ -23796,7 +23849,7 @@ function MaxLines({
23796
23849
  textOverflow: "to_ellipsis"
23797
23850
  } : {}
23798
23851
  }), children }),
23799
- hasMore && /* @__PURE__ */ jsx183("button", { className: "db fw4 fz_14px lh_20px", onClick: () => setExpanded((prev) => !prev), children: expanded ? "Show Less" : "Show More" })
23852
+ hasMore && /* @__PURE__ */ jsx185("button", { className: "db fw4 fz_14px lh_20px", onClick: () => setExpanded((prev) => !prev), children: expanded ? "Show Less" : "Show More" })
23800
23853
  ] });
23801
23854
  }
23802
23855
 
@@ -23811,8 +23864,8 @@ import { useCallback as useCallback33, useEffect as useEffect33, useMemo as useM
23811
23864
  // src/components/AppNav/AppNavGroupTrigger.tsx
23812
23865
  import { useMemo as useMemo50, useRef as useRef58 } from "react";
23813
23866
  import { mergeProps as mergeProps28, useButton as useButton11, useFocusRing as useFocusRing16, useHover as useHover20 } from "react-aria";
23814
- import { trussProps as trussProps103, mergeProps as mergeProps_14 } from "@homebound/truss/runtime";
23815
- import { jsx as jsx184, jsxs as jsxs89 } from "react/jsx-runtime";
23867
+ import { trussProps as trussProps104, mergeProps as mergeProps_14 } from "@homebound/truss/runtime";
23868
+ import { jsx as jsx186, jsxs as jsxs90 } from "react/jsx-runtime";
23816
23869
  function AppNavGroupTrigger(props) {
23817
23870
  const {
23818
23871
  label,
@@ -23844,7 +23897,7 @@ function AppNavGroupTrigger(props) {
23844
23897
  hoverStyles: hoverStyles4,
23845
23898
  pressedStyles: pressedStyles2
23846
23899
  } = useMemo50(() => getNavLinkStyles("side"), []);
23847
- return /* @__PURE__ */ jsxs89("button", { type: "button", ...mergeProps28(buttonProps, focusProps, hoverProps, tid.trigger, {
23900
+ return /* @__PURE__ */ jsxs90("button", { type: "button", ...mergeProps28(buttonProps, focusProps, hoverProps, tid.trigger, {
23848
23901
  ref,
23849
23902
  "aria-expanded": expanded,
23850
23903
  "aria-controls": navGroupId,
@@ -23862,7 +23915,7 @@ function AppNavGroupTrigger(props) {
23862
23915
  })
23863
23916
  }), children: [
23864
23917
  label,
23865
- /* @__PURE__ */ jsx184("div", { ...trussProps103({
23918
+ /* @__PURE__ */ jsx186("div", { ...trussProps104({
23866
23919
  ...{
23867
23920
  display: "df",
23868
23921
  alignItems: "aic",
@@ -23872,7 +23925,7 @@ function AppNavGroupTrigger(props) {
23872
23925
  ...props.expanded ? {
23873
23926
  transform: "transform_rotate_180deg"
23874
23927
  } : {}
23875
- }), children: /* @__PURE__ */ jsx184(Icon, { icon: "chevronDown" }) })
23928
+ }), children: /* @__PURE__ */ jsx186(Icon, { icon: "chevronDown" }) })
23876
23929
  ] });
23877
23930
  }
23878
23931
 
@@ -24015,8 +24068,8 @@ function useAppNavGroupExpanded(linkGroup) {
24015
24068
  }
24016
24069
 
24017
24070
  // src/components/AppNav/AppNavGroup.tsx
24018
- import { trussProps as trussProps104, maybeCssVar as maybeCssVar49 } from "@homebound/truss/runtime";
24019
- import { Fragment as Fragment41, jsx as jsx185, jsxs as jsxs90 } from "react/jsx-runtime";
24071
+ import { trussProps as trussProps105, maybeCssVar as maybeCssVar49 } from "@homebound/truss/runtime";
24072
+ import { Fragment as Fragment41, jsx as jsx187, jsxs as jsxs91 } from "react/jsx-runtime";
24020
24073
  var __maybeInc21 = (inc) => {
24021
24074
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
24022
24075
  };
@@ -24027,9 +24080,9 @@ function AppNavGroupView(props) {
24027
24080
  } = props;
24028
24081
  const tid = useTestIds(props, "linkGroup");
24029
24082
  if (panelCollapsed) {
24030
- return /* @__PURE__ */ jsx185(Fragment41, { children: appNavLinkGroupLinks(linkGroup).map((link) => /* @__PURE__ */ jsx185(NavLink, { variant: "side", ...link, iconOnly: !!link.icon, ...tid[`link_${camelCase5(link.label)}`] }, link.label)) });
24083
+ return /* @__PURE__ */ jsx187(Fragment41, { children: appNavLinkGroupLinks(linkGroup).map((link) => /* @__PURE__ */ jsx187(NavLink, { variant: "side", ...link, iconOnly: !!link.icon, ...tid[`link_${camelCase5(link.label)}`] }, link.label)) });
24031
24084
  }
24032
- return /* @__PURE__ */ jsx185(AppNavGroupDisclosure, { ...props });
24085
+ return /* @__PURE__ */ jsx187(AppNavGroupDisclosure, { ...props });
24033
24086
  }
24034
24087
  function AppNavGroupDisclosure(props) {
24035
24088
  const {
@@ -24058,9 +24111,9 @@ function AppNavGroupDisclosure(props) {
24058
24111
  ref: contentRef,
24059
24112
  onResize
24060
24113
  });
24061
- return /* @__PURE__ */ jsxs90("div", { className: "df fdc", ...tid, children: [
24062
- /* @__PURE__ */ jsx185(AppNavGroupTrigger, { label: linkGroup.label, navGroupId, expanded, active: linkGroupHasActiveLink(linkGroup), onClick: onToggle, ...tid }),
24063
- /* @__PURE__ */ jsx185("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...trussProps104({
24114
+ return /* @__PURE__ */ jsxs91("div", { className: "df fdc", ...tid, children: [
24115
+ /* @__PURE__ */ jsx187(AppNavGroupTrigger, { label: linkGroup.label, navGroupId, expanded, active: linkGroupHasActiveLink(linkGroup), onClick: onToggle, ...tid }),
24116
+ /* @__PURE__ */ jsx187("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...trussProps105({
24064
24117
  overflow: "oh",
24065
24118
  transition: "transitionHeight",
24066
24119
  height: ["h_var", {
@@ -24068,17 +24121,17 @@ function AppNavGroupDisclosure(props) {
24068
24121
  }]
24069
24122
  }), ...tid.panel, ...!expanded ? {
24070
24123
  inert: "true"
24071
- } : {}, children: /* @__PURE__ */ jsx185("div", { ref: setContentEl, className: "df fdc", children: /* @__PURE__ */ jsx185(AppNavItems, { items: linkGroup.items, panelCollapsed: false, nested: true, ...tid }) }) })
24124
+ } : {}, children: /* @__PURE__ */ jsx187("div", { ref: setContentEl, className: "df fdc", children: /* @__PURE__ */ jsx187(AppNavItems, { items: linkGroup.items, panelCollapsed: false, nested: true, ...tid }) }) })
24072
24125
  ] });
24073
24126
  }
24074
24127
 
24075
24128
  // src/components/AppNav/AppNavGroupMenu.tsx
24076
- import { jsx as jsx186 } from "react/jsx-runtime";
24129
+ import { jsx as jsx188 } from "react/jsx-runtime";
24077
24130
  function AppNavGroupMenu({
24078
24131
  linkGroup,
24079
24132
  ...tid
24080
24133
  }) {
24081
- return /* @__PURE__ */ jsx186(
24134
+ return /* @__PURE__ */ jsx188(
24082
24135
  ButtonMenu,
24083
24136
  {
24084
24137
  trigger: {
@@ -24094,8 +24147,8 @@ function AppNavGroupMenu({
24094
24147
  }
24095
24148
 
24096
24149
  // src/components/AppNav/AppNavSectionView.tsx
24097
- import { trussProps as trussProps105 } from "@homebound/truss/runtime";
24098
- import { jsx as jsx187, jsxs as jsxs91 } from "react/jsx-runtime";
24150
+ import { trussProps as trussProps106 } from "@homebound/truss/runtime";
24151
+ import { jsx as jsx189, jsxs as jsxs92 } from "react/jsx-runtime";
24099
24152
  function AppNavSectionView(props) {
24100
24153
  const {
24101
24154
  section,
@@ -24121,7 +24174,7 @@ function AppNavSectionView(props) {
24121
24174
  "--borderColor": "var(--b-surface-separator)"
24122
24175
  }]
24123
24176
  };
24124
- return /* @__PURE__ */ jsxs91("div", { ...trussProps105({
24177
+ return /* @__PURE__ */ jsxs92("div", { ...trussProps106({
24125
24178
  ...{
24126
24179
  display: "df",
24127
24180
  flexDirection: "fdc",
@@ -24129,7 +24182,7 @@ function AppNavSectionView(props) {
24129
24182
  },
24130
24183
  ...showDivider ? dividerStyles : {}
24131
24184
  }), ...tid, children: [
24132
- section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ jsx187("div", { ...trussProps105({
24185
+ section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ jsx189("div", { ...trussProps106({
24133
24186
  fontWeight: "fw6",
24134
24187
  fontSize: "fz_10px",
24135
24188
  lineHeight: "lh_14px",
@@ -24142,18 +24195,18 @@ function AppNavSectionView(props) {
24142
24195
  paddingBottom: "pb1",
24143
24196
  textTransform: "ttu"
24144
24197
  }), ...tid.label, children: section.label }),
24145
- /* @__PURE__ */ jsx187(AppNavItems, { ...scopeProps, items: section.items, variant, panelCollapsed, nested })
24198
+ /* @__PURE__ */ jsx189(AppNavItems, { ...scopeProps, items: section.items, variant, panelCollapsed, nested })
24146
24199
  ] });
24147
24200
  }
24148
24201
 
24149
24202
  // src/components/AppNav/AppNavItems.tsx
24150
- import { Fragment as Fragment42, jsx as jsx188 } from "react/jsx-runtime";
24203
+ import { Fragment as Fragment42, jsx as jsx190 } from "react/jsx-runtime";
24151
24204
  function AppNavItems(props) {
24152
24205
  const { items, variant = "side", panelCollapsed = false, nested = false } = props;
24153
24206
  const tid = useTestIds(props, "appNav");
24154
- return /* @__PURE__ */ jsx188(Fragment42, { children: items.map((item, idx) => {
24207
+ return /* @__PURE__ */ jsx190(Fragment42, { children: items.map((item, idx) => {
24155
24208
  if (isAppNavLink(item)) {
24156
- return /* @__PURE__ */ jsx188(
24209
+ return /* @__PURE__ */ jsx190(
24157
24210
  NavLink,
24158
24211
  {
24159
24212
  variant,
@@ -24166,7 +24219,7 @@ function AppNavItems(props) {
24166
24219
  );
24167
24220
  }
24168
24221
  if (isAppNavGroup(item)) {
24169
- return variant === "global" ? /* @__PURE__ */ jsx188(AppNavGroupMenu, { linkGroup: item, ...tid.linkGroup }, appNavItemKey(item)) : /* @__PURE__ */ jsx188(
24222
+ return variant === "global" ? /* @__PURE__ */ jsx190(AppNavGroupMenu, { linkGroup: item, ...tid.linkGroup }, appNavItemKey(item)) : /* @__PURE__ */ jsx190(
24170
24223
  AppNavGroupView,
24171
24224
  {
24172
24225
  linkGroup: item,
@@ -24177,7 +24230,7 @@ function AppNavItems(props) {
24177
24230
  );
24178
24231
  }
24179
24232
  if (isAppNavSection(item)) {
24180
- return /* @__PURE__ */ jsx188(
24233
+ return /* @__PURE__ */ jsx190(
24181
24234
  AppNavSectionView,
24182
24235
  {
24183
24236
  section: item,
@@ -24203,18 +24256,18 @@ import { useLocation } from "react-router-dom";
24203
24256
 
24204
24257
  // src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayoutHeightContext.tsx
24205
24258
  import { createContext as createContext13, useContext as useContext25 } from "react";
24206
- import { jsx as jsx189 } from "react/jsx-runtime";
24259
+ import { jsx as jsx191 } from "react/jsx-runtime";
24207
24260
  var EnvironmentBannerLayoutHeightContext = createContext13(0);
24208
24261
  function EnvironmentBannerLayoutHeightProvider({ value, children }) {
24209
- return /* @__PURE__ */ jsx189(EnvironmentBannerLayoutHeightContext.Provider, { value, children });
24262
+ return /* @__PURE__ */ jsx191(EnvironmentBannerLayoutHeightContext.Provider, { value, children });
24210
24263
  }
24211
24264
  function useEnvironmentBannerLayoutHeight() {
24212
24265
  return useContext25(EnvironmentBannerLayoutHeightContext);
24213
24266
  }
24214
24267
 
24215
24268
  // src/components/Navbar/NavbarMobileMenu.tsx
24216
- import { trussProps as trussProps106, mergeProps as mergeProps29, maybeCssVar as maybeCssVar50 } from "@homebound/truss/runtime";
24217
- import { Fragment as Fragment43, jsx as jsx190, jsxs as jsxs92 } from "react/jsx-runtime";
24269
+ import { trussProps as trussProps107, mergeProps as mergeProps29, maybeCssVar as maybeCssVar50 } from "@homebound/truss/runtime";
24270
+ import { Fragment as Fragment43, jsx as jsx192, jsxs as jsxs93 } from "react/jsx-runtime";
24218
24271
  function NavbarMobileMenu(props) {
24219
24272
  const {
24220
24273
  items
@@ -24232,11 +24285,11 @@ function NavbarMobileMenu(props) {
24232
24285
  setIsOpen(false);
24233
24286
  }, [pathname, search]);
24234
24287
  const close = () => setIsOpen(false);
24235
- return /* @__PURE__ */ jsxs92(Fragment43, { children: [
24236
- /* @__PURE__ */ jsx190(IconButton, { icon: isOpen ? "menuClose" : "menu", color: "--b-on-surface-muted" /* OnSurfaceMuted */, label: isOpen ? "Close navigation" : "Open navigation", onClick: () => setIsOpen((open) => !open), ...tid.mobileMenu }),
24288
+ return /* @__PURE__ */ jsxs93(Fragment43, { children: [
24289
+ /* @__PURE__ */ jsx192(IconButton, { icon: isOpen ? "menuClose" : "menu", color: "--b-on-surface-muted" /* OnSurfaceMuted */, label: isOpen ? "Close navigation" : "Open navigation", onClick: () => setIsOpen((open) => !open), ...tid.mobileMenu }),
24237
24290
  createPortal6(
24238
24291
  /* AnimatePresence keeps the drawer mounted through its slide/fade-out before unmounting.*/
24239
- /* @__PURE__ */ jsx190(AnimatePresence5, { children: isOpen && /* @__PURE__ */ jsx190(NavbarMobileDrawer, { items, onClose: close, tid }) }),
24292
+ /* @__PURE__ */ jsx192(AnimatePresence5, { children: isOpen && /* @__PURE__ */ jsx192(NavbarMobileDrawer, { items, onClose: close, tid }) }),
24240
24293
  document.body
24241
24294
  )
24242
24295
  ] });
@@ -24250,8 +24303,8 @@ function NavbarMobileDrawer({
24250
24303
  const overlayTopStyle = {
24251
24304
  top: bannerHeightPx
24252
24305
  };
24253
- return /* @__PURE__ */ jsxs92(Fragment43, { children: [
24254
- /* @__PURE__ */ jsx190(motion5.div, { ...mergeProps29(void 0, overlayTopStyle, {
24306
+ return /* @__PURE__ */ jsxs93(Fragment43, { children: [
24307
+ /* @__PURE__ */ jsx192(motion5.div, { ...mergeProps29(void 0, overlayTopStyle, {
24255
24308
  position: "fixed",
24256
24309
  right: "right0",
24257
24310
  bottom: "bottom0",
@@ -24272,7 +24325,7 @@ function NavbarMobileDrawer({
24272
24325
  ease: "linear",
24273
24326
  duration: 0.2
24274
24327
  }, onClick: onClose, ...tid.mobileMenuScrim }, "navbarMobileMenuScrim"),
24275
- /* @__PURE__ */ jsx190(FocusScope5, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ jsxs92(motion5.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...mergeProps29(void 0, overlayTopStyle, {
24328
+ /* @__PURE__ */ jsx192(FocusScope5, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ jsxs93(motion5.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...mergeProps29(void 0, overlayTopStyle, {
24276
24329
  position: "fixed",
24277
24330
  bottom: "bottom0",
24278
24331
  left: "left0",
@@ -24297,7 +24350,7 @@ function NavbarMobileDrawer({
24297
24350
  ease: "linear",
24298
24351
  duration: 0.2
24299
24352
  }, onClick: (e) => e.stopPropagation(), ...tid.mobileMenuDrawer, children: [
24300
- /* @__PURE__ */ jsx190("div", { ...trussProps106({
24353
+ /* @__PURE__ */ jsx192("div", { ...trussProps107({
24301
24354
  ...{
24302
24355
  display: "df",
24303
24356
  alignItems: "aic",
@@ -24312,11 +24365,11 @@ function NavbarMobileDrawer({
24312
24365
  }]
24313
24366
  },
24314
24367
  ...pageContentPaddingX
24315
- }), children: /* @__PURE__ */ jsx190(IconButton, { icon: "x", color: "--b-on-surface-muted" /* OnSurfaceMuted */, label: "Close navigation", onClick: onClose, ...tid.mobileMenuClose }) }),
24316
- /* @__PURE__ */ jsx190(
24368
+ }), children: /* @__PURE__ */ jsx192(IconButton, { icon: "x", color: "--b-on-surface-muted" /* OnSurfaceMuted */, label: "Close navigation", onClick: onClose, ...tid.mobileMenuClose }) }),
24369
+ /* @__PURE__ */ jsx192(
24317
24370
  "nav",
24318
24371
  {
24319
- ...trussProps106({
24372
+ ...trussProps107({
24320
24373
  ...{
24321
24374
  flexGrow: "fg1",
24322
24375
  overflowY: "oya",
@@ -24334,7 +24387,7 @@ function NavbarMobileDrawer({
24334
24387
  }
24335
24388
  },
24336
24389
  ...tid.mobileMenuPanel,
24337
- children: /* @__PURE__ */ jsx190(AppNavItems, { items, panelCollapsed: false, ...tid })
24390
+ children: /* @__PURE__ */ jsx192(AppNavItems, { items, panelCollapsed: false, ...tid })
24338
24391
  }
24339
24392
  )
24340
24393
  ] }, "navbarMobileMenuDrawer") })
@@ -24342,8 +24395,8 @@ function NavbarMobileDrawer({
24342
24395
  }
24343
24396
 
24344
24397
  // src/components/Navbar/Navbar.tsx
24345
- import { trussProps as trussProps107 } from "@homebound/truss/runtime";
24346
- import { jsx as jsx191, jsxs as jsxs93 } from "react/jsx-runtime";
24398
+ import { trussProps as trussProps108 } from "@homebound/truss/runtime";
24399
+ import { jsx as jsx193, jsxs as jsxs94 } from "react/jsx-runtime";
24347
24400
  function Navbar(props) {
24348
24401
  const {
24349
24402
  brand,
@@ -24362,7 +24415,7 @@ function Navbar(props) {
24362
24415
  overflows
24363
24416
  } = useContentOverflow(!sm);
24364
24417
  const showMobile = sm || overflows;
24365
- return /* @__PURE__ */ jsx191(ContrastScope, { children: /* @__PURE__ */ jsxs93("nav", { ...trussProps107({
24418
+ return /* @__PURE__ */ jsx193(ContrastScope, { children: /* @__PURE__ */ jsxs94("nav", { ...trussProps108({
24366
24419
  ...{
24367
24420
  backgroundColor: ["bgColor_var", {
24368
24421
  "--backgroundColor": "var(--b-surface-raised)"
@@ -24378,10 +24431,10 @@ function Navbar(props) {
24378
24431
  },
24379
24432
  ...headerContentPaddingX(showMobile)
24380
24433
  }), ...tid, children: [
24381
- /* @__PURE__ */ jsxs93("div", { className: "df aic gap3 fg1 mw0", children: [
24382
- /* @__PURE__ */ jsxs93("div", { className: "df aic fs0 gap2", children: [
24383
- showMobile && /* @__PURE__ */ jsx191(NavbarMobileMenu, { items, ...tid }),
24384
- /* @__PURE__ */ jsx191("div", { ...trussProps107({
24434
+ /* @__PURE__ */ jsxs94("div", { className: "df aic gap3 fg1 mw0", children: [
24435
+ /* @__PURE__ */ jsxs94("div", { className: "df aic fs0 gap2", children: [
24436
+ showMobile && /* @__PURE__ */ jsx193(NavbarMobileMenu, { items, ...tid }),
24437
+ /* @__PURE__ */ jsx193("div", { ...trussProps108({
24385
24438
  flexShrink: "fs0",
24386
24439
  ...hideBrandOnMobile && showMobile ? {
24387
24440
  display: "dn"
@@ -24390,7 +24443,7 @@ function Navbar(props) {
24390
24443
  ] }),
24391
24444
  !sm && // Stays mounted while overflowing (hidden) so the items remain measurable and the bar
24392
24445
  // can expand again as space frees up.
24393
- /* @__PURE__ */ jsx191("div", { ref: containerRef, ...trussProps107({
24446
+ /* @__PURE__ */ jsx193("div", { ref: containerRef, ...trussProps108({
24394
24447
  display: "df",
24395
24448
  alignItems: "aic",
24396
24449
  flexGrow: "fg1",
@@ -24399,11 +24452,11 @@ function Navbar(props) {
24399
24452
  ...overflows ? {
24400
24453
  visibility: "visibility_hidden"
24401
24454
  } : {}
24402
- }), ...tid.items, children: /* @__PURE__ */ jsx191("div", { ref: contentRef, className: "df aic gap2 width_max_content", children: /* @__PURE__ */ jsx191(AppNavItems, { variant: "global", items, ...tid }) }) })
24455
+ }), ...tid.items, children: /* @__PURE__ */ jsx193("div", { ref: contentRef, className: "df aic gap2 width_max_content", children: /* @__PURE__ */ jsx193(AppNavItems, { variant: "global", items, ...tid }) }) })
24403
24456
  ] }),
24404
- /* @__PURE__ */ jsxs93("div", { className: "df aic gap1", children: [
24405
- rightSlot && /* @__PURE__ */ jsx191("div", { className: "df aic gap1", ...tid.rightSlot, children: rightSlot }),
24406
- user && /* @__PURE__ */ jsx191(NavbarUserMenu, { user, ...tid.userMenu })
24457
+ /* @__PURE__ */ jsxs94("div", { className: "df aic gap1", children: [
24458
+ rightSlot && /* @__PURE__ */ jsx193("div", { className: "df aic gap1", ...tid.rightSlot, children: rightSlot }),
24459
+ user && /* @__PURE__ */ jsx193(NavbarUserMenu, { user, ...tid.userMenu })
24407
24460
  ] })
24408
24461
  ] }) });
24409
24462
  }
@@ -24411,7 +24464,7 @@ function NavbarUserMenu({
24411
24464
  user,
24412
24465
  ...tid
24413
24466
  }) {
24414
- return /* @__PURE__ */ jsx191("div", { className: "df aic fs0 ml1", children: /* @__PURE__ */ jsx191(ButtonMenu, { items: user.menuItems, persistentItems: user.persistentItems, trigger: {
24467
+ return /* @__PURE__ */ jsx193("div", { className: "df aic fs0 ml1", children: /* @__PURE__ */ jsx193(ButtonMenu, { items: user.menuItems, persistentItems: user.persistentItems, trigger: {
24415
24468
  src: user.picture,
24416
24469
  name: user.name,
24417
24470
  size: "sm",
@@ -24420,8 +24473,8 @@ function NavbarUserMenu({
24420
24473
  }
24421
24474
 
24422
24475
  // src/components/Pagination.tsx
24423
- import { trussProps as trussProps108 } from "@homebound/truss/runtime";
24424
- import { jsx as jsx192, jsxs as jsxs94 } from "react/jsx-runtime";
24476
+ import { trussProps as trussProps109 } from "@homebound/truss/runtime";
24477
+ import { jsx as jsx194, jsxs as jsxs95 } from "react/jsx-runtime";
24425
24478
  var defaultPage = {
24426
24479
  offset: 0,
24427
24480
  limit: 100
@@ -24453,7 +24506,7 @@ function Pagination(props) {
24453
24506
  }
24454
24507
  }
24455
24508
  const tid = useTestIds(props, "pagination");
24456
- return /* @__PURE__ */ jsxs94("div", { ...trussProps108({
24509
+ return /* @__PURE__ */ jsxs95("div", { ...trussProps109({
24457
24510
  display: "df",
24458
24511
  borderColor: ["bc_var", {
24459
24512
  "--borderColor": "var(--b-surface-separator)"
@@ -24470,24 +24523,24 @@ function Pagination(props) {
24470
24523
  paddingRight: "pr2",
24471
24524
  paddingTop: "pt2"
24472
24525
  }), ...tid, children: [
24473
- /* @__PURE__ */ jsx192("div", { className: "df mta mba mr2", ...tid.pageSizeLabel, children: "Page size:" }),
24474
- /* @__PURE__ */ jsx192("div", { className: "w_78px", children: /* @__PURE__ */ jsx192(SelectField, { compact: true, label: "Page Size", labelStyle: "hidden", options: pageOptions, value: pageSize, onSelect: (val) => set({
24526
+ /* @__PURE__ */ jsx194("div", { className: "df mta mba mr2", ...tid.pageSizeLabel, children: "Page size:" }),
24527
+ /* @__PURE__ */ jsx194("div", { className: "w_78px", children: /* @__PURE__ */ jsx194(SelectField, { compact: true, label: "Page Size", labelStyle: "hidden", options: pageOptions, value: pageSize, onSelect: (val) => set({
24475
24528
  pageNumber: 1,
24476
24529
  pageSize: val
24477
24530
  }), autoSort: false, ...tid.pageSize }) }),
24478
- /* @__PURE__ */ jsxs94("div", { className: "mla mta mba df", children: [
24479
- /* @__PURE__ */ jsxs94("div", { className: "df mta mba mr2", ...tid.pageInfoLabel, children: [
24531
+ /* @__PURE__ */ jsxs95("div", { className: "mla mta mba df", children: [
24532
+ /* @__PURE__ */ jsxs95("div", { className: "df mta mba mr2", ...tid.pageInfoLabel, children: [
24480
24533
  first,
24481
24534
  " ",
24482
24535
  showLast ? `- ${last}` : "",
24483
24536
  " of ",
24484
24537
  totalCount
24485
24538
  ] }),
24486
- /* @__PURE__ */ jsx192(IconButton, { icon: "chevronLeft", color: hasPrevPage ? "--b-text-link-default" /* TextLinkDefault */ : "--b-surface-separator" /* SurfaceSeparator */, onClick: () => set({
24539
+ /* @__PURE__ */ jsx194(IconButton, { icon: "chevronLeft", color: hasPrevPage ? "--b-text-link-default" /* TextLinkDefault */ : "--b-surface-separator" /* SurfaceSeparator */, onClick: () => set({
24487
24540
  pageNumber: pageNumber - 1,
24488
24541
  pageSize
24489
24542
  }), disabled: !hasPrevPage, ...tid.previousIcon }),
24490
- /* @__PURE__ */ jsx192(IconButton, { icon: "chevronRight", color: hasNextPage ? "--b-text-link-default" /* TextLinkDefault */ : "--b-surface-separator" /* SurfaceSeparator */, onClick: () => set({
24543
+ /* @__PURE__ */ jsx194(IconButton, { icon: "chevronRight", color: hasNextPage ? "--b-text-link-default" /* TextLinkDefault */ : "--b-surface-separator" /* SurfaceSeparator */, onClick: () => set({
24491
24544
  pageNumber: pageNumber + 1,
24492
24545
  pageSize
24493
24546
  }), disabled: !hasNextPage, ...tid.nextIcon })
@@ -24511,8 +24564,8 @@ function toPageNumberSize(page) {
24511
24564
  // src/components/ScrollShadows.tsx
24512
24565
  import { useResizeObserver as useResizeObserver9 } from "@react-aria/utils";
24513
24566
  import { useCallback as useCallback34, useMemo as useMemo52, useRef as useRef59, useState as useState54 } from "react";
24514
- import { trussProps as trussProps109, maybeCssVar as maybeCssVar51 } from "@homebound/truss/runtime";
24515
- import { jsx as jsx193, jsxs as jsxs95 } from "react/jsx-runtime";
24567
+ import { trussProps as trussProps110, maybeCssVar as maybeCssVar51 } from "@homebound/truss/runtime";
24568
+ import { jsx as jsx195, jsxs as jsxs96 } from "react/jsx-runtime";
24516
24569
  function ScrollShadows(props) {
24517
24570
  const {
24518
24571
  children,
@@ -24602,7 +24655,7 @@ function ScrollShadows(props) {
24602
24655
  ref: scrollRef,
24603
24656
  onResize
24604
24657
  });
24605
- return /* @__PURE__ */ jsxs95("div", { ...trussProps109({
24658
+ return /* @__PURE__ */ jsxs96("div", { ...trussProps110({
24606
24659
  display: "df",
24607
24660
  flexDirection: ["fd_var", {
24608
24661
  "--flexDirection": maybeCssVar51(!horizontal ? "column" : "row")
@@ -24618,7 +24671,7 @@ function ScrollShadows(props) {
24618
24671
  width: width2
24619
24672
  }
24620
24673
  }), ...tid, children: [
24621
- /* @__PURE__ */ jsx193("div", { ...trussProps109({
24674
+ /* @__PURE__ */ jsx195("div", { ...trussProps110({
24622
24675
  ...startShadowStyles,
24623
24676
  ...{
24624
24677
  opacity: ["o_var", {
@@ -24626,7 +24679,7 @@ function ScrollShadows(props) {
24626
24679
  }]
24627
24680
  }
24628
24681
  }), "data-chromatic": "ignore" }),
24629
- /* @__PURE__ */ jsx193("div", { ...trussProps109({
24682
+ /* @__PURE__ */ jsx195("div", { ...trussProps110({
24630
24683
  ...endShadowStyles,
24631
24684
  ...{
24632
24685
  opacity: ["o_var", {
@@ -24634,7 +24687,7 @@ function ScrollShadows(props) {
24634
24687
  }]
24635
24688
  }
24636
24689
  }), "data-chromatic": "ignore" }),
24637
- /* @__PURE__ */ jsx193("div", { ...trussProps109({
24690
+ /* @__PURE__ */ jsx195("div", { ...trussProps110({
24638
24691
  ...xss,
24639
24692
  ...{
24640
24693
  overflow: "oa",
@@ -24655,7 +24708,7 @@ import {
24655
24708
  useRef as useRef60,
24656
24709
  useState as useState55
24657
24710
  } from "react";
24658
- import { jsx as jsx194 } from "react/jsx-runtime";
24711
+ import { jsx as jsx196 } from "react/jsx-runtime";
24659
24712
  var SIDE_NAV_LAYOUT_STATE_STORAGE_KEY = "beam.sideNavLayout.navState";
24660
24713
  function loadStoredNavState() {
24661
24714
  try {
@@ -24703,7 +24756,7 @@ function SideNavLayoutProvider(props) {
24703
24756
  });
24704
24757
  }, []);
24705
24758
  const value = useMemo53(() => ({ navState, setNavState }), [navState, setNavState]);
24706
- return /* @__PURE__ */ jsx194(SideNavLayoutContext.Provider, { value, children: props.children });
24759
+ return /* @__PURE__ */ jsx196(SideNavLayoutContext.Provider, { value, children: props.children });
24707
24760
  }
24708
24761
  function useSideNavLayoutContext() {
24709
24762
  return useContext26(SideNavLayoutContext) ?? { navState: "expanded", setNavState: () => {
@@ -24714,8 +24767,8 @@ function useHasSideNavLayoutProvider() {
24714
24767
  }
24715
24768
 
24716
24769
  // src/components/SideNav/SideNav.tsx
24717
- import { trussProps as trussProps110 } from "@homebound/truss/runtime";
24718
- import { jsx as jsx195, jsxs as jsxs96 } from "react/jsx-runtime";
24770
+ import { trussProps as trussProps111 } from "@homebound/truss/runtime";
24771
+ import { jsx as jsx197, jsxs as jsxs97 } from "react/jsx-runtime";
24719
24772
  function SideNav(props) {
24720
24773
  const {
24721
24774
  top,
@@ -24728,8 +24781,8 @@ function SideNav(props) {
24728
24781
  const tid = useTestIds(props, "sideNav");
24729
24782
  const panelCollapsed = navState === "collapse";
24730
24783
  const hideOnCollapse = panelCollapsed && !allItemsHaveIcons(items);
24731
- return /* @__PURE__ */ jsxs96("nav", { className: "df fdc h100 fs0", ...tid, children: [
24732
- top !== void 0 && /* @__PURE__ */ jsx195("div", { ...trussProps110({
24784
+ return /* @__PURE__ */ jsxs97("nav", { className: "df fdc h100 fs0", ...tid, children: [
24785
+ top !== void 0 && /* @__PURE__ */ jsx197("div", { ...trussProps111({
24733
24786
  flexShrink: "fs0",
24734
24787
  paddingLeft: "pl2",
24735
24788
  paddingRight: "pr2",
@@ -24740,7 +24793,7 @@ function SideNav(props) {
24740
24793
  paddingBottom: "pb4"
24741
24794
  } : {}
24742
24795
  }), ...tid.top, children: top }),
24743
- /* @__PURE__ */ jsx195("div", { ...trussProps110({
24796
+ /* @__PURE__ */ jsx197("div", { ...trussProps111({
24744
24797
  flexGrow: "fg1",
24745
24798
  overflowY: "oya",
24746
24799
  display: "df",
@@ -24752,8 +24805,8 @@ function SideNav(props) {
24752
24805
  ...top === void 0 ? {
24753
24806
  paddingTop: "pt5"
24754
24807
  } : {}
24755
- }), ...tid.items, children: !hideOnCollapse && /* @__PURE__ */ jsx195(AppNavItems, { items, panelCollapsed }) }),
24756
- footer !== void 0 && /* @__PURE__ */ jsx195("div", { ...trussProps110({
24808
+ }), ...tid.items, children: !hideOnCollapse && /* @__PURE__ */ jsx197(AppNavItems, { items, panelCollapsed }) }),
24809
+ footer !== void 0 && /* @__PURE__ */ jsx197("div", { ...trussProps111({
24757
24810
  flexShrink: "fs0",
24758
24811
  paddingLeft: "pl2",
24759
24812
  paddingRight: "pr2",
@@ -24830,8 +24883,8 @@ var snackbarId = 1;
24830
24883
  // src/components/Stepper.tsx
24831
24884
  import { useRef as useRef61 } from "react";
24832
24885
  import { useButton as useButton12, useFocusRing as useFocusRing17, useHover as useHover21 } from "react-aria";
24833
- import { trussProps as trussProps111, maybeCssVar as maybeCssVar52 } from "@homebound/truss/runtime";
24834
- import { jsx as jsx196, jsxs as jsxs97 } from "react/jsx-runtime";
24886
+ import { trussProps as trussProps112, maybeCssVar as maybeCssVar52 } from "@homebound/truss/runtime";
24887
+ import { jsx as jsx198, jsxs as jsxs98 } from "react/jsx-runtime";
24835
24888
  import { createElement as createElement6 } from "react";
24836
24889
  var __maybeInc22 = (inc) => {
24837
24890
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -24850,8 +24903,8 @@ function Stepper(props) {
24850
24903
  const maxStepWidth = 200;
24851
24904
  const minStepWidth = 100;
24852
24905
  const gap = 8;
24853
- return /* @__PURE__ */ jsxs97("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
24854
- /* @__PURE__ */ jsx196("ol", { ...trussProps111({
24906
+ return /* @__PURE__ */ jsxs98("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
24907
+ /* @__PURE__ */ jsx198("ol", { ...trussProps112({
24855
24908
  padding: "p_0",
24856
24909
  margin: "m_0",
24857
24910
  listStyle: "lis_none",
@@ -24861,7 +24914,7 @@ function Stepper(props) {
24861
24914
  }]
24862
24915
  }), children: steps.map((step) => {
24863
24916
  const isCurrent = currentStep === step.value;
24864
- return /* @__PURE__ */ createElement6("li", { ...trussProps111({
24917
+ return /* @__PURE__ */ createElement6("li", { ...trussProps112({
24865
24918
  display: "df",
24866
24919
  flexGrow: "fg1",
24867
24920
  flexDirection: "fdc",
@@ -24871,9 +24924,9 @@ function Stepper(props) {
24871
24924
  minWidth: ["mw_var", {
24872
24925
  "--minWidth": `${minStepWidth}px`
24873
24926
  }]
24874
- }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ jsx196(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
24927
+ }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ jsx198(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
24875
24928
  }) }),
24876
- /* @__PURE__ */ jsx196("div", { ...trussProps111({
24929
+ /* @__PURE__ */ jsx198("div", { ...trussProps112({
24877
24930
  marginTop: "mt1",
24878
24931
  backgroundColor: ["bgColor_var", {
24879
24932
  "--backgroundColor": "var(--b-field-border-default)"
@@ -24886,7 +24939,7 @@ function Stepper(props) {
24886
24939
  "--minWidth": `${steps.length * minStepWidth + (steps.length - 1) * gap}px`
24887
24940
  }],
24888
24941
  width: "w100"
24889
- }), children: /* @__PURE__ */ jsx196("div", { ...trussProps111({
24942
+ }), children: /* @__PURE__ */ jsx198("div", { ...trussProps112({
24890
24943
  backgroundColor: ["bgColor_var", {
24891
24944
  "--backgroundColor": "var(--b-primary)"
24892
24945
  }],
@@ -24929,7 +24982,7 @@ function StepButton(props) {
24929
24982
  boxShadow: "bshFocus"
24930
24983
  };
24931
24984
  const tid = useTestIds(props, "stepButton");
24932
- return /* @__PURE__ */ jsxs97("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...trussProps111({
24985
+ return /* @__PURE__ */ jsxs98("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...trussProps112({
24933
24986
  ...{
24934
24987
  fontWeight: "fw6",
24935
24988
  fontSize: "fz_14px",
@@ -24990,7 +25043,7 @@ function StepButton(props) {
24990
25043
  } : {},
24991
25044
  ...isFocusVisible ? focusRingStyles2 : {}
24992
25045
  }), ...tid[defaultTestId(label)], children: [
24993
- /* @__PURE__ */ jsx196("span", { className: "fs0 mr_4px", children: /* @__PURE__ */ jsx196(StepIcon, { state, isHovered, isPressed, isCurrent }) }),
25046
+ /* @__PURE__ */ jsx198("span", { className: "fs0 mr_4px", children: /* @__PURE__ */ jsx198(StepIcon, { state, isHovered, isPressed, isCurrent }) }),
24994
25047
  label
24995
25048
  ] });
24996
25049
  }
@@ -25001,12 +25054,12 @@ function StepIcon({
25001
25054
  isCurrent = false
25002
25055
  }) {
25003
25056
  if (state === "error") {
25004
- return /* @__PURE__ */ jsx196(Icon, { icon: "errorCircle" });
25057
+ return /* @__PURE__ */ jsx198(Icon, { icon: "errorCircle" });
25005
25058
  }
25006
25059
  if (state === "complete") {
25007
- return /* @__PURE__ */ jsx196(Icon, { icon: "check" });
25060
+ return /* @__PURE__ */ jsx198(Icon, { icon: "check" });
25008
25061
  }
25009
- return /* @__PURE__ */ jsx196("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ jsx196("div", { ...trussProps111({
25062
+ return /* @__PURE__ */ jsx198("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ jsx198("div", { ...trussProps112({
25010
25063
  width: "w_10px",
25011
25064
  height: "h_10px",
25012
25065
  borderStyle: "bss",
@@ -25022,8 +25075,8 @@ function StepIcon({
25022
25075
  // src/components/StepperTabs/StepperTab.tsx
25023
25076
  import { useRef as useRef62 } from "react";
25024
25077
  import { mergeProps as mergeProps30, useButton as useButton13, useFocusRing as useFocusRing18, useHover as useHover22, VisuallyHidden as VisuallyHidden10 } from "react-aria";
25025
- import { trussProps as trussProps112, maybeCssVar as maybeCssVar53 } from "@homebound/truss/runtime";
25026
- import { jsx as jsx197, jsxs as jsxs98 } from "react/jsx-runtime";
25078
+ import { trussProps as trussProps113, maybeCssVar as maybeCssVar53 } from "@homebound/truss/runtime";
25079
+ import { jsx as jsx199, jsxs as jsxs99 } from "react/jsx-runtime";
25027
25080
  function StepperTab(props) {
25028
25081
  const {
25029
25082
  label,
@@ -25054,7 +25107,7 @@ function StepperTab(props) {
25054
25107
  const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
25055
25108
  const isFocusVisible = __storyState?.focusVisible ?? isFocusVisibleFromEvents;
25056
25109
  const tid = useTestIds(props, "stepperTab");
25057
- return /* @__PURE__ */ jsxs98("button", { ref, ...mergeProps30(buttonProps, focusProps, hoverProps), "aria-label": label, ...trussProps112({
25110
+ return /* @__PURE__ */ jsxs99("button", { ref, ...mergeProps30(buttonProps, focusProps, hoverProps), "aria-label": label, ...trussProps113({
25058
25111
  ...stepperTabStyles.baseStyles,
25059
25112
  ...getStateStyles(active, completed),
25060
25113
  ...isHovered && !disabled ? stepperTabStyles.hoverStyles : {},
@@ -25062,9 +25115,9 @@ function StepperTab(props) {
25062
25115
  ...disabled ? stepperTabStyles.disabledStyles : {},
25063
25116
  ...isFocusVisible ? stepperTabStyles.focusRingStyles : {}
25064
25117
  }), ...tid[defaultTestId(value)], children: [
25065
- /* @__PURE__ */ jsx197("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_1", children: label }),
25066
- completed && /* @__PURE__ */ jsx197("span", { className: "fs0 ml1", children: /* @__PURE__ */ jsx197(Icon, { icon: "check", inc: 2.5, ...tid.check }) }),
25067
- /* @__PURE__ */ jsx197(VisuallyHidden10, { children: completed ? "Complete" : "Not Complete" })
25118
+ /* @__PURE__ */ jsx199("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_1", children: label }),
25119
+ completed && /* @__PURE__ */ jsx199("span", { className: "fs0 ml1", children: /* @__PURE__ */ jsx199(Icon, { icon: "check", inc: 2.5, ...tid.check }) }),
25120
+ /* @__PURE__ */ jsx199(VisuallyHidden10, { children: completed ? "Complete" : "Not Complete" })
25068
25121
  ] });
25069
25122
  }
25070
25123
  function withBorderBottom(color) {
@@ -25146,8 +25199,8 @@ var stepperTabStyles = {
25146
25199
  };
25147
25200
 
25148
25201
  // src/components/StepperTabs/StepperTabs.tsx
25149
- import { trussProps as trussProps113 } from "@homebound/truss/runtime";
25150
- import { jsx as jsx198 } from "react/jsx-runtime";
25202
+ import { trussProps as trussProps114 } from "@homebound/truss/runtime";
25203
+ import { jsx as jsx200 } from "react/jsx-runtime";
25151
25204
  import { createElement as createElement7 } from "react";
25152
25205
  function StepperTabs(props) {
25153
25206
  const {
@@ -25162,7 +25215,7 @@ function StepperTabs(props) {
25162
25215
  } = useBreakpoint();
25163
25216
  const collapsed = isMobile || !!forceCollapsed;
25164
25217
  const capWidth = steps.length <= 3;
25165
- return /* @__PURE__ */ jsx198("nav", { "aria-label": "steps", className: "w100", ...tid, children: /* @__PURE__ */ jsx198("ol", { ...trussProps113({
25218
+ return /* @__PURE__ */ jsx200("nav", { "aria-label": "steps", className: "w100", ...tid, children: /* @__PURE__ */ jsx200("ol", { ...trussProps114({
25166
25219
  padding: "p_0",
25167
25220
  margin: "m_0",
25168
25221
  listStyle: "lis_none",
@@ -25176,7 +25229,7 @@ function StepperTabs(props) {
25176
25229
  borderColor: "bcGray400"
25177
25230
  }), children: steps.map((step) => {
25178
25231
  const isCurrent = step.value === currentStep;
25179
- return /* @__PURE__ */ createElement7("li", { ...trussProps113({
25232
+ return /* @__PURE__ */ createElement7("li", { ...trussProps114({
25180
25233
  display: "df",
25181
25234
  flexGrow: "fg1",
25182
25235
  flexBasis: "fb_0",
@@ -25188,7 +25241,7 @@ function StepperTabs(props) {
25188
25241
  "--maxWidth": `${maxStepWidthPx}px`
25189
25242
  }]
25190
25243
  } : {}
25191
- }), key: step.value, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ jsx198(StepperTab, { label: step.label, value: step.value, active: isCurrent, completed: step.completed, disabled: step.disabled, collapsed, onClick: onChange, ...tid.tab }));
25244
+ }), key: step.value, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ jsx200(StepperTab, { label: step.label, value: step.value, active: isCurrent, completed: step.completed, disabled: step.disabled, collapsed, onClick: onChange, ...tid.tab }));
25192
25245
  }) }) });
25193
25246
  }
25194
25247
  var maxStepWidthPx = 280;
@@ -25196,8 +25249,8 @@ var gapPx = 6;
25196
25249
 
25197
25250
  // src/components/SuperDrawer/components/SuperDrawerHeader.tsx
25198
25251
  import { createPortal as createPortal7 } from "react-dom";
25199
- import { trussProps as trussProps114 } from "@homebound/truss/runtime";
25200
- import { jsx as jsx199, jsxs as jsxs99 } from "react/jsx-runtime";
25252
+ import { trussProps as trussProps115 } from "@homebound/truss/runtime";
25253
+ import { jsx as jsx201, jsxs as jsxs100 } from "react/jsx-runtime";
25201
25254
  function SuperDrawerHeader(props) {
25202
25255
  const {
25203
25256
  hideControls
@@ -25214,20 +25267,20 @@ function SuperDrawerHeader(props) {
25214
25267
  const currentContent = contentStack.current[contentStack.current.length - 1]?.opts;
25215
25268
  const isDetail = currentContent !== firstContent;
25216
25269
  const tid = useTestIds({}, "superDrawerHeader");
25217
- return createPortal7(/* @__PURE__ */ jsxs99("div", { className: "df aic jcsb gap3", ...tid, children: [
25218
- isStructuredProps(props) ? /* @__PURE__ */ jsxs99("div", { className: "df jcsb aic gap2 fg1", children: [
25219
- /* @__PURE__ */ jsxs99("div", { className: "fg1 df aic gap2", children: [
25220
- /* @__PURE__ */ jsx199("h1", { className: "fw6 fz_30px lh_36px", children: props.title }),
25270
+ return createPortal7(/* @__PURE__ */ jsxs100("div", { className: "df aic jcsb gap3", ...tid, children: [
25271
+ isStructuredProps(props) ? /* @__PURE__ */ jsxs100("div", { className: "df jcsb aic gap2 fg1", children: [
25272
+ /* @__PURE__ */ jsxs100("div", { className: "fg1 df aic gap2", children: [
25273
+ /* @__PURE__ */ jsx201("h1", { className: "fw6 fz_30px lh_36px", children: props.title }),
25221
25274
  props.left
25222
25275
  ] }),
25223
- props.right && /* @__PURE__ */ jsx199("div", { className: "fs0", children: props.right })
25224
- ] }) : /* @__PURE__ */ jsx199("div", { className: "fg1", children: props.children }),
25225
- !hideControls && /* @__PURE__ */ jsx199("div", { ...trussProps114({
25276
+ props.right && /* @__PURE__ */ jsx201("div", { className: "fs0", children: props.right })
25277
+ ] }) : /* @__PURE__ */ jsx201("div", { className: "fg1", children: props.children }),
25278
+ !hideControls && /* @__PURE__ */ jsx201("div", { ...trussProps115({
25226
25279
  flexShrink: "fs0",
25227
25280
  ...isDetail ? {
25228
25281
  visibility: "vh"
25229
25282
  } : {}
25230
- }), children: /* @__PURE__ */ jsx199(ButtonGroup, { buttons: [{
25283
+ }), children: /* @__PURE__ */ jsx201(ButtonGroup, { buttons: [{
25231
25284
  icon: "chevronLeft",
25232
25285
  onClick: () => onPrevClick && onPrevClick(),
25233
25286
  disabled: !onPrevClick
@@ -25243,18 +25296,18 @@ function isStructuredProps(props) {
25243
25296
  }
25244
25297
 
25245
25298
  // src/components/SuperDrawer/ConfirmCloseModal.tsx
25246
- import { Fragment as Fragment44, jsx as jsx200, jsxs as jsxs100 } from "react/jsx-runtime";
25299
+ import { Fragment as Fragment44, jsx as jsx202, jsxs as jsxs101 } from "react/jsx-runtime";
25247
25300
  function ConfirmCloseModal(props) {
25248
25301
  const { onClose, discardText = "Discard Changes", continueText = "Continue Editing" } = props;
25249
25302
  const { modalState } = useBeamContext();
25250
25303
  function closeModal() {
25251
25304
  modalState.current = void 0;
25252
25305
  }
25253
- return /* @__PURE__ */ jsxs100(Fragment44, { children: [
25254
- /* @__PURE__ */ jsx200(ModalHeader, { children: "Are you sure you want to cancel?" }),
25255
- /* @__PURE__ */ jsx200(ModalBody, { children: /* @__PURE__ */ jsx200("p", { children: "Any changes you've made so far will be lost." }) }),
25256
- /* @__PURE__ */ jsxs100(ModalFooter, { children: [
25257
- /* @__PURE__ */ jsx200(
25306
+ return /* @__PURE__ */ jsxs101(Fragment44, { children: [
25307
+ /* @__PURE__ */ jsx202(ModalHeader, { children: "Are you sure you want to cancel?" }),
25308
+ /* @__PURE__ */ jsx202(ModalBody, { children: /* @__PURE__ */ jsx202("p", { children: "Any changes you've made so far will be lost." }) }),
25309
+ /* @__PURE__ */ jsxs101(ModalFooter, { children: [
25310
+ /* @__PURE__ */ jsx202(
25258
25311
  Button,
25259
25312
  {
25260
25313
  variant: "quaternary",
@@ -25265,7 +25318,7 @@ function ConfirmCloseModal(props) {
25265
25318
  }
25266
25319
  }
25267
25320
  ),
25268
- /* @__PURE__ */ jsx200(Button, { label: continueText, onClick: closeModal })
25321
+ /* @__PURE__ */ jsx202(Button, { label: continueText, onClick: closeModal })
25269
25322
  ] })
25270
25323
  ] });
25271
25324
  }
@@ -25275,7 +25328,7 @@ import { motion as motion6 } from "framer-motion";
25275
25328
 
25276
25329
  // src/components/SuperDrawer/useSuperDrawer.tsx
25277
25330
  import { useMemo as useMemo54 } from "react";
25278
- import { jsx as jsx201 } from "react/jsx-runtime";
25331
+ import { jsx as jsx203 } from "react/jsx-runtime";
25279
25332
  function useSuperDrawer() {
25280
25333
  const {
25281
25334
  drawerContentStack: contentStack,
@@ -25287,7 +25340,7 @@ function useSuperDrawer() {
25287
25340
  function canCloseDrawerDetails(i, doChange) {
25288
25341
  for (const canCloseDrawerDetail of canCloseDetailsChecks.current[i] ?? []) {
25289
25342
  if (!canClose(canCloseDrawerDetail)) {
25290
- openModal({ content: /* @__PURE__ */ jsx201(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawerDetail }) });
25343
+ openModal({ content: /* @__PURE__ */ jsx203(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawerDetail }) });
25291
25344
  return false;
25292
25345
  }
25293
25346
  }
@@ -25307,7 +25360,7 @@ function useSuperDrawer() {
25307
25360
  for (const canCloseDrawer of canCloseChecks.current) {
25308
25361
  if (!canClose(canCloseDrawer)) {
25309
25362
  openModal({
25310
- content: /* @__PURE__ */ jsx201(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawer })
25363
+ content: /* @__PURE__ */ jsx203(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawer })
25311
25364
  });
25312
25365
  return;
25313
25366
  }
@@ -25402,8 +25455,8 @@ function canClose(canCloseCheck) {
25402
25455
  }
25403
25456
 
25404
25457
  // src/components/SuperDrawer/SuperDrawerContent.tsx
25405
- import { trussProps as trussProps115, mergeProps as mergeProps31 } from "@homebound/truss/runtime";
25406
- import { Fragment as Fragment45, jsx as jsx202, jsxs as jsxs101 } from "react/jsx-runtime";
25458
+ import { trussProps as trussProps116, mergeProps as mergeProps31 } from "@homebound/truss/runtime";
25459
+ import { Fragment as Fragment45, jsx as jsx204, jsxs as jsxs102 } from "react/jsx-runtime";
25407
25460
  var SuperDrawerContent = ({
25408
25461
  children,
25409
25462
  actions
@@ -25423,17 +25476,17 @@ var SuperDrawerContent = ({
25423
25476
  } = firstContent ?? {};
25424
25477
  function wrapWithMotionAndMaybeBack(children2) {
25425
25478
  if (kind === "open") {
25426
- return /* @__PURE__ */ jsx202(motion6.div, { className: "pt3 pb3 pr3 pl3 fg1 oa", children: children2 }, "content");
25479
+ return /* @__PURE__ */ jsx204(motion6.div, { className: "pt3 pb3 pr3 pl3 fg1 oa", children: children2 }, "content");
25427
25480
  } else if (kind === "detail") {
25428
- return /* @__PURE__ */ jsxs101(motion6.div, { className: "pl3 pr3 pt2 pb3 fg1", animate: {
25481
+ return /* @__PURE__ */ jsxs102(motion6.div, { className: "pl3 pr3 pt2 pb3 fg1", animate: {
25429
25482
  overflow: "auto"
25430
25483
  }, transition: {
25431
25484
  overflow: {
25432
25485
  delay: 0.3
25433
25486
  }
25434
25487
  }, children: [
25435
- /* @__PURE__ */ jsx202(Button, { label: "Back", icon: "chevronLeft", variant: "tertiary", onClick: closeDrawerDetail }),
25436
- /* @__PURE__ */ jsx202(motion6.div, { initial: {
25488
+ /* @__PURE__ */ jsx204(Button, { label: "Back", icon: "chevronLeft", variant: "tertiary", onClick: closeDrawerDetail }),
25489
+ /* @__PURE__ */ jsx204(motion6.div, { initial: {
25437
25490
  x: width2,
25438
25491
  opacity: 0
25439
25492
  }, animate: {
@@ -25451,7 +25504,7 @@ var SuperDrawerContent = ({
25451
25504
  }, className: "pt2", children: children2 })
25452
25505
  ] }, "content");
25453
25506
  } else {
25454
- return /* @__PURE__ */ jsx202(motion6.div, { ...mergeProps31(void 0, {
25507
+ return /* @__PURE__ */ jsx204(motion6.div, { ...mergeProps31(void 0, {
25455
25508
  overflow: "auto"
25456
25509
  }, {
25457
25510
  paddingTop: "pt3",
@@ -25462,9 +25515,9 @@ var SuperDrawerContent = ({
25462
25515
  }) }, "content");
25463
25516
  }
25464
25517
  }
25465
- return /* @__PURE__ */ jsxs101(Fragment45, { children: [
25518
+ return /* @__PURE__ */ jsxs102(Fragment45, { children: [
25466
25519
  wrapWithMotionAndMaybeBack(children),
25467
- actions && /* @__PURE__ */ jsx202("footer", { ...trussProps115({
25520
+ actions && /* @__PURE__ */ jsx204("footer", { ...trussProps116({
25468
25521
  borderTopStyle: "bts_solid",
25469
25522
  borderTopWidth: "btw_1px",
25470
25523
  borderColor: ["bc_var", {
@@ -25477,7 +25530,7 @@ var SuperDrawerContent = ({
25477
25530
  display: "df",
25478
25531
  alignItems: "aic",
25479
25532
  justifyContent: "jcfe"
25480
- }), children: /* @__PURE__ */ jsx202("div", { className: "df gap1", children: actions.map((buttonProps, i) => /* @__PURE__ */ jsx202(Button, { ...buttonProps }, i)) }) })
25533
+ }), children: /* @__PURE__ */ jsx204("div", { className: "df gap1", children: actions.map((buttonProps, i) => /* @__PURE__ */ jsx204(Button, { ...buttonProps }, i)) }) })
25481
25534
  ] });
25482
25535
  };
25483
25536
 
@@ -25525,15 +25578,15 @@ import { useEffect as useEffect37, useMemo as useMemo55, useRef as useRef63, use
25525
25578
  import { mergeProps as mergeProps32, useFocusRing as useFocusRing19, useHover as useHover23 } from "react-aria";
25526
25579
  import { matchPath } from "react-router";
25527
25580
  import { Link as Link7, useLocation as useLocation2 } from "react-router-dom";
25528
- import { trussProps as trussProps116, maybeCssVar as maybeCssVar54 } from "@homebound/truss/runtime";
25529
- import { Fragment as Fragment46, jsx as jsx203, jsxs as jsxs102 } from "react/jsx-runtime";
25581
+ import { trussProps as trussProps117, maybeCssVar as maybeCssVar54 } from "@homebound/truss/runtime";
25582
+ import { Fragment as Fragment46, jsx as jsx205, jsxs as jsxs103 } from "react/jsx-runtime";
25530
25583
  function TabsWithContent(props) {
25531
25584
  const styles = hideTabs(props) ? {} : {
25532
25585
  paddingTop: "pt3"
25533
25586
  };
25534
- return /* @__PURE__ */ jsxs102(Fragment46, { children: [
25535
- /* @__PURE__ */ jsx203(Tabs, { ...props }),
25536
- /* @__PURE__ */ jsx203(TabContent, { ...props, contentXss: {
25587
+ return /* @__PURE__ */ jsxs103(Fragment46, { children: [
25588
+ /* @__PURE__ */ jsx205(Tabs, { ...props }),
25589
+ /* @__PURE__ */ jsx205(TabContent, { ...props, contentXss: {
25537
25590
  ...styles,
25538
25591
  ...props.contentXss
25539
25592
  } })
@@ -25558,7 +25611,7 @@ function TabContent(props) {
25558
25611
  return (
25559
25612
  // Using FullBleed to allow the tab's bgColor to extend to the edges of the <ScrollableContent /> element.
25560
25613
  // Omit the padding from `FullBleed` if the caller passes in the `paddingLeft/Right` styles.
25561
- /* @__PURE__ */ jsx203(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ jsx203("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...trussProps116(contentXss), children: selectedTab.render() }) })
25614
+ /* @__PURE__ */ jsx205(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ jsx205("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...trussProps117(contentXss), children: selectedTab.render() }) })
25562
25615
  );
25563
25616
  }
25564
25617
  function Tabs(props) {
@@ -25600,7 +25653,7 @@ function Tabs(props) {
25600
25653
  setActive(selected);
25601
25654
  }
25602
25655
  }
25603
- return /* @__PURE__ */ jsxs102("div", { ...trussProps116({
25656
+ return /* @__PURE__ */ jsxs103("div", { ...trussProps117({
25604
25657
  ...{
25605
25658
  display: "df",
25606
25659
  alignItems: "aic",
@@ -25618,11 +25671,11 @@ function Tabs(props) {
25618
25671
  }
25619
25672
  } : {}
25620
25673
  }), children: [
25621
- !hideTabs(props) && /* @__PURE__ */ jsx203("div", { ref, className: "dif gap1 asfe", "aria-label": ariaLabel, role: "tablist", ...tid, children: tabs.map((tab) => {
25674
+ !hideTabs(props) && /* @__PURE__ */ jsx205("div", { ref, className: "dif gap1 asfe", "aria-label": ariaLabel, role: "tablist", ...tid, children: tabs.map((tab) => {
25622
25675
  const uniqueValue = uniqueTabValue(tab);
25623
- return /* @__PURE__ */ jsx203(TabImpl, { active: active === uniqueValue, focusProps, isFocusVisible, onClick, onKeyUp, onBlur, tab, ...tid[defaultTestId(uniqueValue)] }, uniqueValue);
25676
+ return /* @__PURE__ */ jsx205(TabImpl, { active: active === uniqueValue, focusProps, isFocusVisible, onClick, onKeyUp, onBlur, tab, ...tid[defaultTestId(uniqueValue)] }, uniqueValue);
25624
25677
  }) }),
25625
- right && /* @__PURE__ */ jsx203("div", { className: "mla df aic gap1 pb1", children: right })
25678
+ right && /* @__PURE__ */ jsx205("div", { className: "mla df aic gap1 pb1", children: right })
25626
25679
  ] });
25627
25680
  }
25628
25681
  function TabImpl(props) {
@@ -25666,7 +25719,7 @@ function TabImpl(props) {
25666
25719
  role: "tab",
25667
25720
  tabIndex: active ? 0 : -1,
25668
25721
  ...others,
25669
- ...trussProps116({
25722
+ ...trussProps117({
25670
25723
  ...baseStyles4,
25671
25724
  ...active && activeStyles3,
25672
25725
  ...isDisabled && disabledStyles3,
@@ -25682,17 +25735,17 @@ function TabImpl(props) {
25682
25735
  onClick: () => onClick(tab.value)
25683
25736
  }
25684
25737
  });
25685
- const tabLabel = /* @__PURE__ */ jsxs102(Fragment46, { children: [
25738
+ const tabLabel = /* @__PURE__ */ jsxs103(Fragment46, { children: [
25686
25739
  label,
25687
- (icon || endAdornment) && /* @__PURE__ */ jsx203("span", { className: "ml1", children: icon ? /* @__PURE__ */ jsx203(Icon, { icon }) : endAdornment })
25740
+ (icon || endAdornment) && /* @__PURE__ */ jsx205("span", { className: "ml1", children: icon ? /* @__PURE__ */ jsx205(Icon, { icon }) : endAdornment })
25688
25741
  ] });
25689
25742
  return isDisabled ? maybeTooltip({
25690
25743
  title: resolveTooltip(disabled),
25691
25744
  placement: "top",
25692
- children: /* @__PURE__ */ jsx203("div", { ...tabProps, children: tabLabel })
25693
- }) : isRouteTab(tab) ? /* @__PURE__ */ jsx203(Link7, { ...mergeProps32(tabProps, interactiveProps, {
25745
+ children: /* @__PURE__ */ jsx205("div", { ...tabProps, children: tabLabel })
25746
+ }) : isRouteTab(tab) ? /* @__PURE__ */ jsx205(Link7, { ...mergeProps32(tabProps, interactiveProps, {
25694
25747
  className: "navLink"
25695
- }), to: tab.href, children: tabLabel }) : /* @__PURE__ */ jsx203("button", { ...{
25748
+ }), to: tab.href, children: tabLabel }) : /* @__PURE__ */ jsx205("button", { ...{
25696
25749
  ...tabProps,
25697
25750
  ...interactiveProps
25698
25751
  }, children: tabLabel });
@@ -25800,7 +25853,7 @@ function hideTabs(props) {
25800
25853
  }
25801
25854
 
25802
25855
  // src/components/TagGroup.tsx
25803
- import { jsx as jsx204, jsxs as jsxs103 } from "react/jsx-runtime";
25856
+ import { jsx as jsx206, jsxs as jsxs104 } from "react/jsx-runtime";
25804
25857
  function TagGroup(props) {
25805
25858
  const {
25806
25859
  tags,
@@ -25808,9 +25861,9 @@ function TagGroup(props) {
25808
25861
  ...otherProps
25809
25862
  } = props;
25810
25863
  const tid = useTestIds(otherProps, "tagGroup");
25811
- return /* @__PURE__ */ jsxs103("div", { ...tid, className: "df aic fww gap1", children: [
25812
- tags.map((tag) => /* @__PURE__ */ jsx204(Tag, { ...tag, variant: "secondary" }, tag.text)),
25813
- onEdit && /* @__PURE__ */ jsx204("span", { className: "ml1 fw4 fz_14px lh_20px", children: /* @__PURE__ */ jsx204(Button, { label: "Edit", variant: "text", onClick: onEdit, ...tid.edit }) })
25864
+ return /* @__PURE__ */ jsxs104("div", { ...tid, className: "df aic fww gap1", children: [
25865
+ tags.map((tag) => /* @__PURE__ */ jsx206(Tag, { ...tag, variant: "secondary" }, tag.text)),
25866
+ onEdit && /* @__PURE__ */ jsx206("span", { className: "ml1 fw4 fz_14px lh_20px", children: /* @__PURE__ */ jsx206(Button, { label: "Edit", variant: "text", onClick: onEdit, ...tid.edit }) })
25814
25867
  ] });
25815
25868
  }
25816
25869
 
@@ -25823,15 +25876,15 @@ function useToast() {
25823
25876
  }
25824
25877
 
25825
25878
  // src/layouts/SideNavLayout/SideNavLayout.tsx
25826
- import { trussProps as trussProps117, mergeProps as mergeProps33, maybeCssVar as maybeCssVar55 } from "@homebound/truss/runtime";
25827
- import { jsx as jsx205, jsxs as jsxs104 } from "react/jsx-runtime";
25879
+ import { trussProps as trussProps118, mergeProps as mergeProps33, maybeCssVar as maybeCssVar55 } from "@homebound/truss/runtime";
25880
+ import { jsx as jsx207, jsxs as jsxs105 } from "react/jsx-runtime";
25828
25881
  var __maybeInc23 = (inc) => {
25829
25882
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
25830
25883
  };
25831
25884
  function SideNavLayout(props) {
25832
25885
  const hasProvider = useHasSideNavLayoutProvider();
25833
- if (hasProvider) return /* @__PURE__ */ jsx205(SideNavLayoutContent, { ...props });
25834
- return /* @__PURE__ */ jsx205(SideNavLayoutProvider, { children: /* @__PURE__ */ jsx205(SideNavLayoutContent, { ...props }) });
25886
+ if (hasProvider) return /* @__PURE__ */ jsx207(SideNavLayoutContent, { ...props });
25887
+ return /* @__PURE__ */ jsx207(SideNavLayoutProvider, { children: /* @__PURE__ */ jsx207(SideNavLayoutContent, { ...props }) });
25835
25888
  }
25836
25889
  function SideNavLayoutContent(props) {
25837
25890
  const {
@@ -25853,7 +25906,7 @@ function SideNavLayoutContent(props) {
25853
25906
  const railOffsetPx = !showRail ? 0 : !bp.mdAndUp || collapsed ? railCollapsedWidthPx : railWidthPx;
25854
25907
  const navTop = bannerAndNavbarChromeTop();
25855
25908
  const railViewportHeight = `calc(var(${beamLayoutViewportHeightVar}, 100vh) - var(${beamEnvironmentBannerLayoutHeightVar}, 0px) - var(${beamNavbarLayoutHeightVar}, 0px))`;
25856
- const rail = showRail && /* @__PURE__ */ jsxs104("div", { ...trussProps117({
25909
+ const rail = showRail && /* @__PURE__ */ jsxs105("div", { ...trussProps118({
25857
25910
  ...{
25858
25911
  display: "df",
25859
25912
  flexDirection: "fdc",
@@ -25910,18 +25963,18 @@ function SideNavLayoutContent(props) {
25910
25963
  }
25911
25964
  }
25912
25965
  }), ...tid.sideNav, children: [
25913
- showCollapseToggle && /* @__PURE__ */ jsx205("div", { className: "absolute right2 top2 z2", children: /* @__PURE__ */ jsx205(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
25914
- /* @__PURE__ */ jsx205("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ jsx205(SideNav, { ...sideNav }) })
25966
+ showCollapseToggle && /* @__PURE__ */ jsx207("div", { className: "absolute right2 top2 z2", children: /* @__PURE__ */ jsx207(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
25967
+ /* @__PURE__ */ jsx207("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ jsx207(SideNav, { ...sideNav }) })
25915
25968
  ] });
25916
- return /* @__PURE__ */ jsx205(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs104("div", { ...mergeProps33(void 0, {
25969
+ return /* @__PURE__ */ jsx207(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs105("div", { ...mergeProps33(void 0, {
25917
25970
  [beamSideNavLayoutWidthVar]: `${railOffsetPx}px`
25918
25971
  }, {
25919
25972
  display: "df",
25920
25973
  flexDirection: "fdr",
25921
25974
  width: "w100"
25922
25975
  }), ...tid, children: [
25923
- contrastRail ? /* @__PURE__ */ jsx205(ContrastScope, { children: rail }) : rail,
25924
- /* @__PURE__ */ jsx205("div", { ...trussProps117({
25976
+ contrastRail ? /* @__PURE__ */ jsx207(ContrastScope, { children: rail }) : rail,
25977
+ /* @__PURE__ */ jsx207("div", { ...trussProps118({
25925
25978
  display: "df",
25926
25979
  flexDirection: "fdc",
25927
25980
  flexGrow: "fg1",
@@ -25937,8 +25990,8 @@ function SideNavLayoutContent(props) {
25937
25990
  }
25938
25991
 
25939
25992
  // src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
25940
- import { trussProps as trussProps118, mergeProps as mergeProps34, maybeCssVar as maybeCssVar56 } from "@homebound/truss/runtime";
25941
- import { jsx as jsx206, jsxs as jsxs105 } from "react/jsx-runtime";
25993
+ import { trussProps as trussProps119, mergeProps as mergeProps34, maybeCssVar as maybeCssVar56 } from "@homebound/truss/runtime";
25994
+ import { jsx as jsx208, jsxs as jsxs106 } from "react/jsx-runtime";
25942
25995
  var __maybeInc24 = (inc) => {
25943
25996
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
25944
25997
  };
@@ -25954,18 +26007,18 @@ function EnvironmentBannerLayout(props) {
25954
26007
  [beamEnvironmentBannerLayoutHeightVar]: `${bannerHeightPx}px`
25955
26008
  };
25956
26009
  const innerWidth = `var(${beamLayoutViewportWidthVar}, 100vw)`;
25957
- return /* @__PURE__ */ jsx206(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx206(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ jsxs105("div", { ...mergeProps34(void 0, style, {
26010
+ return /* @__PURE__ */ jsx208(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx208(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ jsxs106("div", { ...mergeProps34(void 0, style, {
25958
26011
  display: "df",
25959
26012
  flexDirection: "fdc",
25960
26013
  width: "wfc",
25961
26014
  minWidth: "mw100"
25962
26015
  }), ...tid, children: [
25963
- showBanner && environmentBanner && /* @__PURE__ */ jsx206("div", { ...mergeProps34(void 0, {
26016
+ showBanner && environmentBanner && /* @__PURE__ */ jsx208("div", { ...mergeProps34(void 0, {
25964
26017
  height: environmentBannerSizePx
25965
26018
  }, {
25966
26019
  flexShrink: "fs0",
25967
26020
  width: "w100"
25968
- }), children: /* @__PURE__ */ jsx206("div", { ...trussProps118({
26021
+ }), children: /* @__PURE__ */ jsx208("div", { ...trussProps119({
25969
26022
  position: "fixed",
25970
26023
  top: "top0",
25971
26024
  left: "left0",
@@ -25975,14 +26028,14 @@ function EnvironmentBannerLayout(props) {
25975
26028
  width: ["w_var", {
25976
26029
  "--width": maybeCssVar56(__maybeInc24(innerWidth))
25977
26030
  }]
25978
- }), ...tid.bannerSticky, children: /* @__PURE__ */ jsx206(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
26031
+ }), ...tid.bannerSticky, children: /* @__PURE__ */ jsx208(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
25979
26032
  children
25980
26033
  ] }) }) });
25981
26034
  }
25982
26035
 
25983
26036
  // src/layouts/FormSectionLayout/FormSectionLayout.tsx
25984
- import { trussProps as trussProps119 } from "@homebound/truss/runtime";
25985
- import { jsx as jsx207, jsxs as jsxs106 } from "react/jsx-runtime";
26037
+ import { trussProps as trussProps120 } from "@homebound/truss/runtime";
26038
+ import { jsx as jsx209, jsxs as jsxs107 } from "react/jsx-runtime";
25986
26039
  function FormSectionLayout(props) {
25987
26040
  const {
25988
26041
  title,
@@ -25992,23 +26045,23 @@ function FormSectionLayout(props) {
25992
26045
  sections
25993
26046
  } = props;
25994
26047
  const tid = useTestIds(props, "formSectionLayout");
25995
- return /* @__PURE__ */ jsxs106("div", { className: "df fdc gap3 w100 pt4 maxw_720px mla mra", ...tid, children: [
25996
- /* @__PURE__ */ jsxs106("div", { className: "df jcsb", children: [
25997
- /* @__PURE__ */ jsxs106("div", { className: "df fdc gap_12px", children: [
25998
- /* @__PURE__ */ jsx207("h1", { className: "fw6 fz_20px lh_28px", ...tid.title, children: title }),
25999
- description && /* @__PURE__ */ jsx207("div", { ...trussProps119({
26000
- fontWeight: "fw4",
26001
- fontSize: "fz_14px",
26002
- lineHeight: "lh_20px",
26003
- color: ["color_var", {
26004
- "--color": "var(--b-on-surface)"
26005
- }]
26006
- }), ...tid.description, children: description })
26048
+ return /* @__PURE__ */ jsxs107("div", { className: "df fdc gap3 w100 pt4 maxw_720px mla mra sm_pl2 sm_pr2", ...tid, children: [
26049
+ /* @__PURE__ */ jsxs107("div", { className: "df fdc jcsb gap_12px", children: [
26050
+ /* @__PURE__ */ jsxs107("div", { className: "df jcsb aic", children: [
26051
+ /* @__PURE__ */ jsx209("h1", { className: "fw6 fz_20px lh_28px", ...tid.title, children: title }),
26052
+ actions && /* @__PURE__ */ jsx209("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => action.kind === "icon" ? /* @__PURE__ */ jsx209(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ jsx209(Button, { ...action }, `${action.label}`)) })
26007
26053
  ] }),
26008
- actions && /* @__PURE__ */ jsx207("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => action.kind === "icon" ? /* @__PURE__ */ jsx207(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ jsx207(Button, { ...action }, `${action.label}`)) })
26054
+ description && /* @__PURE__ */ jsx209("div", { ...trussProps120({
26055
+ fontWeight: "fw4",
26056
+ fontSize: "fz_14px",
26057
+ lineHeight: "lh_20px",
26058
+ color: ["color_var", {
26059
+ "--color": "var(--b-on-surface)"
26060
+ }]
26061
+ }), ...tid.description, children: description })
26009
26062
  ] }),
26010
26063
  initialFields,
26011
- /* @__PURE__ */ jsx207("div", { className: "df fdc gap6", children: sections.map((section, i) => /* @__PURE__ */ jsx207(FormSection, { ...section }, defaultTestId(section.title) || i)) })
26064
+ /* @__PURE__ */ jsx209("div", { className: "df fdc gap6", children: sections.map((section, i) => /* @__PURE__ */ jsx209(FormSection, { ...section }, defaultTestId(section.title) || i)) })
26012
26065
  ] });
26013
26066
  }
26014
26067
 
@@ -26125,17 +26178,17 @@ function useMeasuredHeight(ref, enabled) {
26125
26178
 
26126
26179
  // src/layouts/NavbarLayout/NavbarLayoutHeightContext.tsx
26127
26180
  import { createContext as createContext15, useContext as useContext27 } from "react";
26128
- import { jsx as jsx208 } from "react/jsx-runtime";
26181
+ import { jsx as jsx210 } from "react/jsx-runtime";
26129
26182
  var NavbarLayoutHeightContext = createContext15(0);
26130
26183
  function NavbarLayoutHeightProvider({ value, children }) {
26131
- return /* @__PURE__ */ jsx208(NavbarLayoutHeightContext.Provider, { value, children });
26184
+ return /* @__PURE__ */ jsx210(NavbarLayoutHeightContext.Provider, { value, children });
26132
26185
  }
26133
26186
  function useNavbarLayoutHeight() {
26134
26187
  return useContext27(NavbarLayoutHeightContext);
26135
26188
  }
26136
26189
 
26137
26190
  // src/layouts/NavbarLayout/NavbarLayout.tsx
26138
- import { jsx as jsx209, jsxs as jsxs107 } from "react/jsx-runtime";
26191
+ import { jsx as jsx211, jsxs as jsxs108 } from "react/jsx-runtime";
26139
26192
  var __maybeInc25 = (inc) => {
26140
26193
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
26141
26194
  };
@@ -26188,20 +26241,20 @@ function NavbarLayout(props) {
26188
26241
  const innerStyle = autoHideState !== "static" ? {
26189
26242
  top: autoHideState === "revealed" ? bannerTop : `calc(${bannerTop} - ${navHeight}px)`
26190
26243
  } : void 0;
26191
- const navbarEl = useMemo56(() => /* @__PURE__ */ jsx209(Navbar, { ...navbar }), [navbar]);
26192
- return /* @__PURE__ */ jsx209(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx209(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ jsxs107("div", { ...mergeProps35(void 0, cssVars, {
26244
+ const navbarEl = useMemo56(() => /* @__PURE__ */ jsx211(Navbar, { ...navbar }), [navbar]);
26245
+ return /* @__PURE__ */ jsx211(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx211(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ jsxs108("div", { ...mergeProps35(void 0, cssVars, {
26193
26246
  display: "df",
26194
26247
  flexDirection: "fdc",
26195
26248
  width: "wfc",
26196
26249
  minWidth: "mw100"
26197
26250
  }), ...tid, children: [
26198
- /* @__PURE__ */ jsx209("div", { ref: spacerRef, ...mergeProps35(void 0, {
26251
+ /* @__PURE__ */ jsx211("div", { ref: spacerRef, ...mergeProps35(void 0, {
26199
26252
  height: navHeight
26200
26253
  }, {
26201
26254
  flexShrink: "fs0",
26202
26255
  width: "w100"
26203
- }), children: /* @__PURE__ */ jsx209("div", { ref: navMetricsRef, ...mergeProps35(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
26204
- /* @__PURE__ */ jsx209("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
26256
+ }), children: /* @__PURE__ */ jsx211("div", { ref: navMetricsRef, ...mergeProps35(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
26257
+ /* @__PURE__ */ jsx211("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
26205
26258
  ] }) }) });
26206
26259
  }
26207
26260
 
@@ -26209,8 +26262,8 @@ function NavbarLayout(props) {
26209
26262
  import { useCallback as useCallback39, useMemo as useMemo57, useRef as useRef66 } from "react";
26210
26263
 
26211
26264
  // src/components/Headers/BaseHeader.tsx
26212
- import { trussProps as trussProps120 } from "@homebound/truss/runtime";
26213
- import { jsx as jsx210, jsxs as jsxs108 } from "react/jsx-runtime";
26265
+ import { trussProps as trussProps121 } from "@homebound/truss/runtime";
26266
+ import { jsx as jsx212, jsxs as jsxs109 } from "react/jsx-runtime";
26214
26267
  function BaseHeader(props) {
26215
26268
  const {
26216
26269
  title,
@@ -26222,7 +26275,7 @@ function BaseHeader(props) {
26222
26275
  } = props;
26223
26276
  const tid = useTestIds(otherProps, "header");
26224
26277
  useDocumentTitle(title, documentTitleSuffix);
26225
- return /* @__PURE__ */ jsxs108("header", { ...tid, ...trussProps120({
26278
+ return /* @__PURE__ */ jsxs109("header", { ...tid, ...trussProps121({
26226
26279
  display: "df",
26227
26280
  flexDirection: "fdc",
26228
26281
  paddingTop: "pt3",
@@ -26236,7 +26289,7 @@ function BaseHeader(props) {
26236
26289
  "--backgroundColor": "var(--b-surface)"
26237
26290
  }]
26238
26291
  }), children: [
26239
- /* @__PURE__ */ jsxs108("div", { ...trussProps120({
26292
+ /* @__PURE__ */ jsxs109("div", { ...trussProps121({
26240
26293
  ...{
26241
26294
  display: "df",
26242
26295
  justifyContent: "jcsb",
@@ -26250,9 +26303,9 @@ function BaseHeader(props) {
26250
26303
  } : {}
26251
26304
  }
26252
26305
  }), children: [
26253
- /* @__PURE__ */ jsxs108("div", { className: "mw0", children: [
26254
- breadcrumbs && /* @__PURE__ */ jsx210(Breadcrumbs, { ...breadcrumbs }),
26255
- /* @__PURE__ */ jsx210("h1", { ...tid.title, ...trussProps120({
26306
+ /* @__PURE__ */ jsxs109("div", { className: "mw0", children: [
26307
+ breadcrumbs && /* @__PURE__ */ jsx212(Breadcrumbs, { ...breadcrumbs }),
26308
+ /* @__PURE__ */ jsx212("h1", { ...tid.title, ...trussProps121({
26256
26309
  fontWeight: "fw6",
26257
26310
  fontSize: "fz_20px",
26258
26311
  lineHeight: "lh_28px",
@@ -26261,22 +26314,22 @@ function BaseHeader(props) {
26261
26314
  }]
26262
26315
  }), children: title })
26263
26316
  ] }),
26264
- /* @__PURE__ */ jsx210("div", { className: "fs0", children: rightSlot })
26317
+ /* @__PURE__ */ jsx212("div", { className: "fs0", children: rightSlot })
26265
26318
  ] }),
26266
26319
  bottomSlot
26267
26320
  ] });
26268
26321
  }
26269
26322
 
26270
26323
  // src/components/Headers/PageHeader.tsx
26271
- import { trussProps as trussProps121 } from "@homebound/truss/runtime";
26272
- import { jsx as jsx211 } from "react/jsx-runtime";
26324
+ import { trussProps as trussProps122 } from "@homebound/truss/runtime";
26325
+ import { jsx as jsx213 } from "react/jsx-runtime";
26273
26326
  function PageHeader2(props) {
26274
26327
  const {
26275
26328
  tabs,
26276
26329
  ...otherProps
26277
26330
  } = props;
26278
26331
  const tid = useTestIds(otherProps, "header");
26279
- return /* @__PURE__ */ jsx211(BaseHeader, { ...otherProps, bottomSlot: tabs && /* @__PURE__ */ jsx211("div", { ...trussProps121(pageContentPaddingX), children: /* @__PURE__ */ jsx211(Tabs, { ...tabs, ...tid.tabs }) }) });
26332
+ return /* @__PURE__ */ jsx213(BaseHeader, { ...otherProps, bottomSlot: tabs && /* @__PURE__ */ jsx213("div", { ...trussProps122(pageContentPaddingX), children: /* @__PURE__ */ jsx213(Tabs, { ...tabs, ...tid.tabs }) }) });
26280
26333
  }
26281
26334
 
26282
26335
  // src/layouts/useBannerAndNavbarHeight.ts
@@ -26286,7 +26339,7 @@ function useBannerAndNavbarHeight() {
26286
26339
 
26287
26340
  // src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
26288
26341
  import { mergeProps as mergeProps36, maybeCssVar as maybeCssVar58 } from "@homebound/truss/runtime";
26289
- import { jsx as jsx212, jsxs as jsxs109 } from "react/jsx-runtime";
26342
+ import { jsx as jsx214, jsxs as jsxs110 } from "react/jsx-runtime";
26290
26343
  var __maybeInc26 = (inc) => {
26291
26344
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
26292
26345
  };
@@ -26341,35 +26394,35 @@ function PageHeaderLayout(props) {
26341
26394
  const innerStyle = autoHideState !== "static" ? {
26342
26395
  top: autoHideState === "revealed" ? outerTop : `calc(${outerTop} - ${headerHeight}px)`
26343
26396
  } : void 0;
26344
- const pageHeaderEl = useMemo57(() => /* @__PURE__ */ jsx212(PageHeader2, { ...pageHeader }), [pageHeader]);
26345
- return /* @__PURE__ */ jsx212(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs109("div", { ...mergeProps36(void 0, cssVars, {
26397
+ const pageHeaderEl = useMemo57(() => /* @__PURE__ */ jsx214(PageHeader2, { ...pageHeader }), [pageHeader]);
26398
+ return /* @__PURE__ */ jsx214(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs110("div", { ...mergeProps36(void 0, cssVars, {
26346
26399
  display: "df",
26347
26400
  flexDirection: "fdc",
26348
26401
  width: "w100"
26349
26402
  }), ...tid, children: [
26350
- /* @__PURE__ */ jsx212("div", { ref: spacerRef, ...mergeProps36(void 0, {
26403
+ /* @__PURE__ */ jsx214("div", { ref: spacerRef, ...mergeProps36(void 0, {
26351
26404
  height: headerHeight
26352
26405
  }, {
26353
26406
  flexShrink: "fs0",
26354
26407
  width: "w100"
26355
- }), children: /* @__PURE__ */ jsx212("div", { ref: headerMetricsRef, ...mergeProps36(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
26356
- /* @__PURE__ */ jsx212("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children })
26408
+ }), children: /* @__PURE__ */ jsx214("div", { ref: headerMetricsRef, ...mergeProps36(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
26409
+ /* @__PURE__ */ jsx214("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children })
26357
26410
  ] }) });
26358
26411
  }
26359
26412
 
26360
26413
  // src/layouts/WorkflowLayout/WorkflowLayout.tsx
26361
- import { useCallback as useCallback40, useLayoutEffect as useLayoutEffect10, useRef as useRef67, useState as useState59 } from "react";
26414
+ import { useLayoutEffect as useLayoutEffect10, useRef as useRef67, useState as useState59 } from "react";
26362
26415
 
26363
26416
  // src/components/Headers/WorkflowHeader.tsx
26364
- import { jsx as jsx213 } from "react/jsx-runtime";
26417
+ import { jsx as jsx215 } from "react/jsx-runtime";
26365
26418
  function WorkflowHeader(props) {
26366
26419
  const { stepperTabs, ...otherProps } = props;
26367
26420
  const tid = useTestIds(otherProps, "header");
26368
- return /* @__PURE__ */ jsx213(BaseHeader, { ...otherProps, bottomSlot: /* @__PURE__ */ jsx213(StepperTabs, { ...stepperTabs, ...tid.stepperTabs }) });
26421
+ return /* @__PURE__ */ jsx215(BaseHeader, { ...otherProps, bottomSlot: /* @__PURE__ */ jsx215(StepperTabs, { ...stepperTabs, ...tid.stepperTabs }) });
26369
26422
  }
26370
26423
 
26371
26424
  // src/layouts/WorkflowLayout/WorkflowActions.tsx
26372
- import { jsx as jsx214, jsxs as jsxs110 } from "react/jsx-runtime";
26425
+ import { jsx as jsx216, jsxs as jsxs111 } from "react/jsx-runtime";
26373
26426
  function WorkflowActions(props) {
26374
26427
  const {
26375
26428
  isFirstStep,
@@ -26383,19 +26436,19 @@ function WorkflowActions(props) {
26383
26436
  onContinue,
26384
26437
  primaryDisabled
26385
26438
  } = props;
26386
- return /* @__PURE__ */ jsxs110("div", { className: "df aic jcsb sm_w100", children: [
26387
- /* @__PURE__ */ jsx214("div", { className: "df aic", children: !isFirstStep && isMobile && /* @__PURE__ */ jsx214(IconButton, { icon: "arrowBack", label: "Back", onClick: onBack }) }),
26388
- /* @__PURE__ */ jsxs110("div", { className: "df aic gap1", children: [
26389
- /* @__PURE__ */ jsx214(Button, { label: "Cancel", variant: "quaternary", onClick: onCancel }),
26390
- onSaveAndExit && /* @__PURE__ */ jsx214(Button, { label: "Save & Exit", variant: "secondary", onClick: onSaveAndExit }),
26391
- isLastStep ? /* @__PURE__ */ jsx214(Button, { label: completeLabel, variant: "primary", onClick: onComplete, disabled: primaryDisabled }) : /* @__PURE__ */ jsx214(Button, { label: "Continue", variant: "primary", onClick: onContinue, disabled: primaryDisabled })
26439
+ return /* @__PURE__ */ jsxs111("div", { className: "df aic jcsb sm_w100", children: [
26440
+ /* @__PURE__ */ jsx216("div", { className: "df aic", children: !isFirstStep && isMobile && /* @__PURE__ */ jsx216(IconButton, { icon: "arrowBack", label: "Back", onClick: onBack }) }),
26441
+ /* @__PURE__ */ jsxs111("div", { className: "df aic gap1", children: [
26442
+ /* @__PURE__ */ jsx216(Button, { label: "Cancel", variant: "quaternary", onClick: onCancel }),
26443
+ onSaveAndExit && /* @__PURE__ */ jsx216(Button, { label: "Save & Exit", variant: "secondary", onClick: onSaveAndExit }),
26444
+ isLastStep ? /* @__PURE__ */ jsx216(Button, { label: completeLabel, variant: "primary", onClick: onComplete, disabled: primaryDisabled }) : /* @__PURE__ */ jsx216(Button, { label: "Continue", variant: "primary", onClick: onContinue, disabled: primaryDisabled })
26392
26445
  ] })
26393
26446
  ] });
26394
26447
  }
26395
26448
 
26396
26449
  // src/layouts/WorkflowLayout/WorkflowLayout.tsx
26397
- import { trussProps as trussProps122, mergeProps as mergeProps37, maybeCssVar as maybeCssVar59 } from "@homebound/truss/runtime";
26398
- import { jsx as jsx215, jsxs as jsxs111 } from "react/jsx-runtime";
26450
+ import { trussProps as trussProps123, mergeProps as mergeProps37, maybeCssVar as maybeCssVar59 } from "@homebound/truss/runtime";
26451
+ import { jsx as jsx217, jsxs as jsxs112 } from "react/jsx-runtime";
26399
26452
  var __maybeInc27 = (inc) => {
26400
26453
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
26401
26454
  };
@@ -26418,17 +26471,9 @@ function WorkflowLayout(props) {
26418
26471
  const {
26419
26472
  sm: isMobile
26420
26473
  } = useBreakpoint();
26421
- const bannerAndNavbarHeight = useBannerAndNavbarHeight();
26422
- const bannerAndNavbarHeightRef = useRef67(bannerAndNavbarHeight);
26423
- bannerAndNavbarHeightRef.current = bannerAndNavbarHeight;
26424
- const getBannerAndNavbarHeight = useCallback40(() => bannerAndNavbarHeightRef.current, []);
26425
26474
  const headerMetricsRef = useRef67(null);
26426
- const spacerRef = useRef67(null);
26427
26475
  const headerHeight = useMeasuredHeight(headerMetricsRef, true);
26428
- const {
26429
- state: scrollState
26430
- } = useAutoHideOnScroll(spacerRef, true, getBannerAndNavbarHeight);
26431
- const collapsed = scrollState === "hidden";
26476
+ const collapsed = isMobile;
26432
26477
  const headerWidth = documentScrollChromeWidth();
26433
26478
  const outerTop = bannerAndNavbarChromeTop();
26434
26479
  const cssVars = headerHeight > 0 ? {
@@ -26438,7 +26483,7 @@ function WorkflowLayout(props) {
26438
26483
  const isFirstStep = currentIndex <= 0;
26439
26484
  const isLastStep = currentIndex === tabSteps.length - 1;
26440
26485
  const activeStep = tabSteps[currentIndex];
26441
- const buttons = /* @__PURE__ */ jsx215(WorkflowActions, { isFirstStep, isLastStep, isMobile, onBack: () => setCurrentStep(tabSteps[currentIndex - 1].value), onCancel, onSaveAndExit, completeLabel, onComplete, primaryDisabled: !activeStep?.completed, onContinue: () => setCurrentStep(tabSteps[currentIndex + 1].value) });
26486
+ const buttons = /* @__PURE__ */ jsx217(WorkflowActions, { isFirstStep, isLastStep, isMobile, onBack: () => setCurrentStep(tabSteps[currentIndex - 1].value), onCancel, onSaveAndExit, completeLabel, onComplete, primaryDisabled: !activeStep?.completed, onContinue: () => setCurrentStep(tabSteps[currentIndex + 1].value) });
26442
26487
  const showFooter = isMobile;
26443
26488
  useLayoutEffect10(() => {
26444
26489
  const root = document.documentElement;
@@ -26452,24 +26497,20 @@ function WorkflowLayout(props) {
26452
26497
  }
26453
26498
  };
26454
26499
  }, [showFooter]);
26455
- const headerEl = /* @__PURE__ */ jsx215(WorkflowHeader, { ...headerProps, rightSlot: isMobile ? void 0 : buttons, stepperTabs: {
26500
+ const headerEl = /* @__PURE__ */ jsx217(WorkflowHeader, { ...headerProps, rightSlot: isMobile ? void 0 : buttons, stepperTabs: {
26456
26501
  steps: tabSteps,
26457
26502
  currentStep,
26458
26503
  onChange: setCurrentStep,
26459
26504
  collapsed
26460
26505
  } });
26461
- return /* @__PURE__ */ jsx215(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs111("div", { ...mergeProps37(void 0, cssVars, {
26506
+ return /* @__PURE__ */ jsx217(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs112("div", { ...mergeProps37(void 0, cssVars, {
26462
26507
  display: "df",
26463
26508
  flexDirection: "fdc",
26464
26509
  width: "w100"
26465
26510
  }), ...tid, children: [
26466
- /* @__PURE__ */ jsx215("div", { ref: spacerRef, ...mergeProps37(void 0, {
26467
- height: headerHeight
26468
- }, {
26469
- flexShrink: "fs0",
26470
- width: "w100"
26471
- }), ...tid.spacer, children: /* @__PURE__ */ jsx215("div", { ref: headerMetricsRef, ...trussProps122({
26472
- position: "fixed",
26511
+ /* @__PURE__ */ jsx217("div", { ref: headerMetricsRef, ...trussProps123({
26512
+ position: "sticky",
26513
+ left: "left0",
26473
26514
  width: ["w_var", {
26474
26515
  "--width": maybeCssVar59(__maybeInc27(headerWidth))
26475
26516
  }],
@@ -26479,16 +26520,15 @@ function WorkflowLayout(props) {
26479
26520
  top: ["top_var", {
26480
26521
  "--top": maybeCssVar59(__maybeInc27(outerTop))
26481
26522
  }]
26482
- }), ...tid.header, children: headerEl }) }),
26483
- /* @__PURE__ */ jsx215("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children: activeStep?.content }),
26484
- showFooter && /* @__PURE__ */ jsx215("div", { ...trussProps122({
26523
+ }), ...tid.header, children: headerEl }),
26524
+ /* @__PURE__ */ jsx217("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children: activeStep?.content }),
26525
+ showFooter && /* @__PURE__ */ jsx217("div", { ...trussProps123({
26485
26526
  flexShrink: "fs0",
26486
26527
  width: "w100",
26487
26528
  height: ["h_var", {
26488
26529
  "--height": `${mobileFooterHeightPx}px`
26489
26530
  }]
26490
- }) }),
26491
- showFooter && /* @__PURE__ */ jsx215("div", { ...trussProps122({
26531
+ }), children: /* @__PURE__ */ jsx217("div", { ...trussProps123({
26492
26532
  ...{
26493
26533
  position: "fixed",
26494
26534
  bottom: "bottom0",
@@ -26515,7 +26555,7 @@ function WorkflowLayout(props) {
26515
26555
  }]
26516
26556
  },
26517
26557
  ...pageContentPaddingX
26518
- }), ...tid.footer, children: buttons })
26558
+ }), ...tid.footer, children: buttons }) })
26519
26559
  ] }) });
26520
26560
  }
26521
26561
  var mobileFooterHeightPx = 80;
@@ -26577,6 +26617,7 @@ export {
26577
26617
  CollapseToggle,
26578
26618
  CollapsedContext,
26579
26619
  ConfirmCloseModal,
26620
+ ContentHeader,
26580
26621
  ContrastScope,
26581
26622
  Copy,
26582
26623
  CountBadge,