@homebound/beam 3.85.0 → 3.85.1

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
@@ -3891,12 +3891,15 @@ var CssBuilder = class _CssBuilder {
3891
3891
  return this.add("fontFamily", value);
3892
3892
  }
3893
3893
  // layoutContainer
3894
- /** Sets `width: "min(100%, calc(var(--beam-layout-viewport-width, 100vw) - var(--beam-side-nav-layout-width, 0px)))"; left: "var(--beam-side-nav-layout-width, 0px)"; position: "sticky"`. */
3894
+ /** Sets `width: "min(100%, calc(calc(var(--beam-layout-viewport-width, 100vw) - var(--beam-side-nav-layout-width, 0px)) - 2 * var(--beam-layout-content-padding-x, 0px)))"; left: "calc(var(--beam-side-nav-layout-width, 0px) + var(--beam-layout-content-padding-x, 0px))"; position: "sticky"`. */
3895
3895
  get layoutContainer() {
3896
3896
  return this.add(
3897
3897
  "width",
3898
- "min(100%, calc(var(--beam-layout-viewport-width, 100vw) - var(--beam-side-nav-layout-width, 0px)))"
3899
- ).add("left", "var(--beam-side-nav-layout-width, 0px)").add("position", "sticky");
3898
+ "min(100%, calc(calc(var(--beam-layout-viewport-width, 100vw) - var(--beam-side-nav-layout-width, 0px)) - 2 * var(--beam-layout-content-padding-x, 0px)))"
3899
+ ).add("left", "calc(var(--beam-side-nav-layout-width, 0px) + var(--beam-layout-content-padding-x, 0px))").add(
3900
+ "position",
3901
+ "sticky"
3902
+ );
3900
3903
  }
3901
3904
  // animation
3902
3905
  /** Sets `transition: "background-color 200ms cubic-bezier(0.4, 0, 0.2, 1), border-color 200ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 200ms cubic-bezier(0.4, 0, 0.2, 1), left 200ms cubic-bezier(0.4, 0, 0.2, 1), right 200ms cubic-bezier(0.4, 0, 0.2, 1), margin 200ms cubic-bezier(0.4, 0, 0.2, 1), width 200ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms cubic-bezier(0.4, 0, 0.2, 1)"`. */
@@ -6116,6 +6119,7 @@ var beamPageHeaderLayoutHeightVar = "--beam-page-header-layout-height";
6116
6119
  var beamLayoutViewportWidthVar = "--beam-layout-viewport-width";
6117
6120
  var beamLayoutViewportHeightVar = "--beam-layout-viewport-height";
6118
6121
  var beamSideNavLayoutWidthVar = "--beam-side-nav-layout-width";
6122
+ var beamLayoutContentPaddingXVar = "--beam-layout-content-padding-x";
6119
6123
  var beamTableActionsHeightVar = "--beam-table-actions-height";
6120
6124
  var beamRightPaneWidthVar = "--beam-right-pane-width";
6121
6125
  var beamFloatingRightOffsetVar = "--beam-floating-right-offset";
@@ -6126,6 +6130,12 @@ function documentScrollChromeLeft() {
6126
6130
  function documentScrollChromeWidth() {
6127
6131
  return `calc(var(${beamLayoutViewportWidthVar}, 100vw) - var(${beamSideNavLayoutWidthVar}, 0px))`;
6128
6132
  }
6133
+ function documentScrollContentLeft() {
6134
+ return `calc(${documentScrollChromeLeft()} + var(${beamLayoutContentPaddingXVar}, 0px))`;
6135
+ }
6136
+ function documentScrollContentWidth() {
6137
+ return `calc(${documentScrollChromeWidth()} - 2 * var(${beamLayoutContentPaddingXVar}, 0px))`;
6138
+ }
6129
6139
  function documentScrollRightPaneHeight() {
6130
6140
  return `calc(var(${beamLayoutViewportHeightVar}, 100vh) - ${stickyTableHeaderOffset()})`;
6131
6141
  }
@@ -6552,7 +6562,8 @@ function getTableRefWidthStyles(isVirtual, inDocumentScrollLayout = false) {
6552
6562
  return {
6553
6563
  width: ["w_var", {
6554
6564
  "--width": maybeCssVar9(__maybeInc4(`min(100%, ${documentScrollChromeWidth()})`))
6555
- }]
6565
+ }],
6566
+ minWidth: "mw0"
6556
6567
  };
6557
6568
  }
6558
6569
  if (isVirtual) {
@@ -16241,7 +16252,7 @@ function resolveTableContentWidth(tableWidth, columnSizes, minWidthPx = 0) {
16241
16252
  }
16242
16253
  const sum = sumColumnSizesPx(columnSizes, tableWidth);
16243
16254
  if (sum === null) return void 0;
16244
- return Math.max(tableWidth, sum, minWidthPx);
16255
+ return Math.max(minWidthPx, sum);
16245
16256
  }
16246
16257
  function calcColumnSizes(columns, tableWidth, tableMinWidthPx = 0, expandedColumnIds, resizedWidths) {
16247
16258
  const {
@@ -17425,6 +17436,9 @@ function GridTable(props) {
17425
17436
  columnGutter = false
17426
17437
  } = props;
17427
17438
  const inDocumentScrollLayout = useDocumentScrollLayout();
17439
+ const tid = useTestIds({
17440
+ "data-testid": id
17441
+ }, "gridTable");
17428
17442
  const columnsWithIds = useMemo28(() => {
17429
17443
  const columns2 = columnGutter && inDocumentScrollLayout ? withColumnGutters(_columns) : _columns;
17430
17444
  return assignDefaultColumnIds(columns2);
@@ -17685,7 +17699,7 @@ function GridTable(props) {
17685
17699
  return /* @__PURE__ */ jsx97(GridTableEmptyState, { ...emptyState });
17686
17700
  }
17687
17701
  return /* @__PURE__ */ jsx97(TableStateContext.Provider, { value: rowStateContext, children: /* @__PURE__ */ jsxs51(PresentationProvider, { fieldProps, wrap: style?.presentationSettings?.wrap, children: [
17688
- /* @__PURE__ */ jsx97("div", { ref: resizeRef, ...trussProps63(getTableRefWidthStyles(as === "virtual", inDocumentScrollLayout)) }),
17702
+ /* @__PURE__ */ jsx97("div", { ref: resizeRef, ...trussProps63(getTableRefWidthStyles(as === "virtual", inDocumentScrollLayout)), ...tid.probe }),
17689
17703
  as === "card" ? /* @__PURE__ */ jsx97(CardView, { cardRows: visibleDataRows, id, virtuosoRangeRef, infiniteScroll, persistScrollPosition }) : _as === "virtual" ? /* @__PURE__ */ jsx97(VirtualGridTableView, { style: tableStyle, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, virtuosoRef, virtuosoRangeRef, tableHeadRows, stickyOffset, infiniteScroll, persistScrollPosition }) : renders[_as](tableStyle, id, columns, visibleDataRows, keptSelectedRows, pinnedRows, firstRowMessage, stickyHeader, xss, virtuosoRef, virtuosoRangeRef, tableHeadRows, stickyOffset, infiniteScroll, tableContainerRef, persistScrollPosition)
17690
17704
  ] }) });
17691
17705
  }
@@ -24497,9 +24511,10 @@ function ContentHeader(props) {
24497
24511
  display: "df",
24498
24512
  flexDirection: "fdc",
24499
24513
  gap: "gap_12px",
24500
- width: "w_min_100_calc_var_beam_layout_viewport_width_100vw_var_beam_side_nav_layout_width_0px",
24501
- left: "l_var_beam_side_nav_layout_width_0px",
24514
+ width: "w_min_100_calc_calc_var_beam_layout_viewport_width_100vw_var_beam_side_nav_layout_width_0px_2_var_beam_layout_content_padding_x_0px",
24515
+ left: "l_calc_var_beam_side_nav_layout_width_0px_var_beam_layout_content_padding_x_0px",
24502
24516
  position: "sticky",
24517
+ minWidth: "mw0",
24503
24518
  backgroundColor: ["bgColor_var", {
24504
24519
  "--backgroundColor": "var(--b-surface)"
24505
24520
  }]
@@ -26856,11 +26871,10 @@ function SideNavLayoutContent(props) {
26856
26871
  }
26857
26872
 
26858
26873
  // src/layouts/CenteredLayout/CenteredLayout.tsx
26859
- import { trussProps as trussProps126 } from "@homebound/truss/runtime";
26874
+ import { mergeProps as mergeProps37, maybeCssVar as maybeCssVar60 } from "@homebound/truss/runtime";
26860
26875
  import { jsx as jsx219 } from "react/jsx-runtime";
26861
- var centeredMaxWidthPx = {
26862
- sm: 768,
26863
- lg: 1440
26876
+ var __maybeInc28 = (inc) => {
26877
+ return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
26864
26878
  };
26865
26879
  function CenteredLayout(props) {
26866
26880
  const {
@@ -26868,22 +26882,48 @@ function CenteredLayout(props) {
26868
26882
  children
26869
26883
  } = props;
26870
26884
  const tid = useTestIds(props, "centeredLayout");
26871
- return /* @__PURE__ */ jsx219("div", { ...trussProps126({
26872
- width: "w100",
26873
- maxWidth: ["maxw_var", {
26874
- "--maxWidth": `${centeredMaxWidthPx[size]}px`
26875
- }],
26876
- marginLeft: "mla",
26877
- marginRight: "mra",
26878
- paddingLeft: "pl_12px mdandup_pl3",
26879
- paddingRight: "pr_12px mdandup_pr3"
26885
+ const {
26886
+ mdAndUp
26887
+ } = useBreakpoint();
26888
+ return /* @__PURE__ */ jsx219("div", { ...mergeProps37(void 0, {
26889
+ // layoutContainer descendants (e.g. ContentHeader) read this to inset sticky horizontal chrome within the shell padding.
26890
+ [beamLayoutContentPaddingXVar]: mdAndUp ? mdAndUpContentPaddingX : smContentPaddingX
26891
+ }, {
26892
+ ...{
26893
+ width: "w100",
26894
+ maxWidth: ["maxw_var", {
26895
+ "--maxWidth": `${centeredShellMaxPx[size]}px`
26896
+ }],
26897
+ marginLeft: "mla",
26898
+ marginRight: "mra"
26899
+ },
26900
+ ...centeredPaddingX
26880
26901
  }), ...tid, children });
26881
26902
  }
26903
+ var centeredContentMaxPx = {
26904
+ sm: 720,
26905
+ lg: 1392
26906
+ };
26907
+ var mdContentPaddingPx = parseInt(pageContentPaddingXValue, 10);
26908
+ var centeredShellMaxPx = {
26909
+ sm: centeredContentMaxPx.sm + mdContentPaddingPx * 2,
26910
+ lg: centeredContentMaxPx.lg + mdContentPaddingPx * 2
26911
+ };
26912
+ var smContentPaddingX = "12px";
26913
+ var mdAndUpContentPaddingX = pageContentPaddingXValue;
26914
+ var centeredPaddingX = {
26915
+ paddingLeft: ["px_var mdandup_pl3", {
26916
+ "--paddingLeft": maybeCssVar60(__maybeInc28(smContentPaddingX))
26917
+ }],
26918
+ paddingRight: ["px_var mdandup_pr3", {
26919
+ "--paddingRight": maybeCssVar60(__maybeInc28(smContentPaddingX))
26920
+ }]
26921
+ };
26882
26922
 
26883
26923
  // src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
26884
- import { trussProps as trussProps127, mergeProps as mergeProps37, maybeCssVar as maybeCssVar60 } from "@homebound/truss/runtime";
26924
+ import { trussProps as trussProps126, mergeProps as mergeProps38, maybeCssVar as maybeCssVar61 } from "@homebound/truss/runtime";
26885
26925
  import { jsx as jsx220, jsxs as jsxs112 } from "react/jsx-runtime";
26886
- var __maybeInc28 = (inc) => {
26926
+ var __maybeInc29 = (inc) => {
26887
26927
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
26888
26928
  };
26889
26929
  function EnvironmentBannerLayout(props) {
@@ -26898,26 +26938,26 @@ function EnvironmentBannerLayout(props) {
26898
26938
  [beamEnvironmentBannerLayoutHeightVar]: `${bannerHeightPx}px`
26899
26939
  };
26900
26940
  const innerWidth = `var(${beamLayoutViewportWidthVar}, 100vw)`;
26901
- return /* @__PURE__ */ jsx220(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx220(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ jsxs112("div", { ...mergeProps37(void 0, style, {
26941
+ return /* @__PURE__ */ jsx220(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx220(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ jsxs112("div", { ...mergeProps38(void 0, style, {
26902
26942
  display: "df",
26903
26943
  flexDirection: "fdc",
26904
26944
  width: "wfc",
26905
26945
  minWidth: "mw100"
26906
26946
  }), ...tid, children: [
26907
- showBanner && environmentBanner && /* @__PURE__ */ jsx220("div", { ...mergeProps37(void 0, {
26947
+ showBanner && environmentBanner && /* @__PURE__ */ jsx220("div", { ...mergeProps38(void 0, {
26908
26948
  height: environmentBannerSizePx
26909
26949
  }, {
26910
26950
  flexShrink: "fs0",
26911
26951
  width: "w100"
26912
- }), children: /* @__PURE__ */ jsx220("div", { ...trussProps127({
26952
+ }), children: /* @__PURE__ */ jsx220("div", { ...trussProps126({
26913
26953
  position: "fixed",
26914
26954
  top: "top0",
26915
26955
  left: "left0",
26916
26956
  zIndex: ["z_var", {
26917
- "--zIndex": maybeCssVar60(zIndices.environmentBanner)
26957
+ "--zIndex": maybeCssVar61(zIndices.environmentBanner)
26918
26958
  }],
26919
26959
  width: ["w_var", {
26920
- "--width": maybeCssVar60(__maybeInc28(innerWidth))
26960
+ "--width": maybeCssVar61(__maybeInc29(innerWidth))
26921
26961
  }]
26922
26962
  }), ...tid.bannerSticky, children: /* @__PURE__ */ jsx220(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
26923
26963
  children
@@ -26925,7 +26965,7 @@ function EnvironmentBannerLayout(props) {
26925
26965
  }
26926
26966
 
26927
26967
  // src/layouts/FormSectionLayout/FormSectionLayout.tsx
26928
- import { trussProps as trussProps128 } from "@homebound/truss/runtime";
26968
+ import { trussProps as trussProps127 } from "@homebound/truss/runtime";
26929
26969
  import { jsx as jsx221, jsxs as jsxs113 } from "react/jsx-runtime";
26930
26970
  function FormSectionLayout(props) {
26931
26971
  const {
@@ -26947,7 +26987,7 @@ function FormSectionLayout(props) {
26947
26987
  actions?.map((action) => action.kind === "icon" ? /* @__PURE__ */ jsx221(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ jsx221(Button, { ...action }, `${action.label}`))
26948
26988
  ] })
26949
26989
  ] }),
26950
- description && /* @__PURE__ */ jsx221("div", { ...trussProps128({
26990
+ description && /* @__PURE__ */ jsx221("div", { ...trussProps127({
26951
26991
  fontWeight: "fw4",
26952
26992
  fontSize: "fz_14px",
26953
26993
  lineHeight: "lh_20px",
@@ -26964,7 +27004,7 @@ function FormSectionLayout(props) {
26964
27004
 
26965
27005
  // src/layouts/NavbarLayout/NavbarLayout.tsx
26966
27006
  import { useMemo as useMemo57, useRef as useRef66 } from "react";
26967
- import { mergeProps as mergeProps38, maybeCssVar as maybeCssVar61 } from "@homebound/truss/runtime";
27007
+ import { mergeProps as mergeProps39, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
26968
27008
 
26969
27009
  // src/layouts/useAutoHideOnScroll.ts
26970
27010
  import { useLayoutEffect as useLayoutEffect10, useRef as useRef65, useState as useState58 } from "react";
@@ -27086,7 +27126,7 @@ function useNavbarLayoutHeight() {
27086
27126
 
27087
27127
  // src/layouts/NavbarLayout/NavbarLayout.tsx
27088
27128
  import { jsx as jsx223, jsxs as jsxs114 } from "react/jsx-runtime";
27089
- var __maybeInc29 = (inc) => {
27129
+ var __maybeInc30 = (inc) => {
27090
27130
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27091
27131
  };
27092
27132
  function NavbarLayout(props) {
@@ -27114,10 +27154,10 @@ function NavbarLayout(props) {
27114
27154
  position: "sticky",
27115
27155
  left: "left0",
27116
27156
  zIndex: ["z_var", {
27117
- "--zIndex": maybeCssVar61(zIndices.navbar)
27157
+ "--zIndex": maybeCssVar62(zIndices.navbar)
27118
27158
  }],
27119
27159
  width: ["w_var", {
27120
- "--width": maybeCssVar61(__maybeInc29(innerWidth))
27160
+ "--width": maybeCssVar62(__maybeInc30(innerWidth))
27121
27161
  }]
27122
27162
  }
27123
27163
  ) : (
@@ -27126,10 +27166,10 @@ function NavbarLayout(props) {
27126
27166
  position: "fixed",
27127
27167
  left: "left0",
27128
27168
  zIndex: ["z_var", {
27129
- "--zIndex": maybeCssVar61(zIndices.navbar)
27169
+ "--zIndex": maybeCssVar62(zIndices.navbar)
27130
27170
  }],
27131
27171
  width: ["w_var", {
27132
- "--width": maybeCssVar61(__maybeInc29(innerWidth))
27172
+ "--width": maybeCssVar62(__maybeInc30(innerWidth))
27133
27173
  }],
27134
27174
  transition: "transitionTop"
27135
27175
  }
@@ -27139,18 +27179,18 @@ function NavbarLayout(props) {
27139
27179
  top: autoHideState === "revealed" ? bannerTop : `calc(${bannerTop} - ${navHeight}px)`
27140
27180
  } : void 0;
27141
27181
  const navbarEl = useMemo57(() => /* @__PURE__ */ jsx223(Navbar, { ...navbar }), [navbar]);
27142
- return /* @__PURE__ */ jsx223(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx223(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ jsx223(MobileSubNavProvider, { children: /* @__PURE__ */ jsxs114("div", { ...mergeProps38(void 0, cssVars, {
27182
+ return /* @__PURE__ */ jsx223(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx223(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ jsx223(MobileSubNavProvider, { children: /* @__PURE__ */ jsxs114("div", { ...mergeProps39(void 0, cssVars, {
27143
27183
  display: "df",
27144
27184
  flexDirection: "fdc",
27145
27185
  width: "wfc",
27146
27186
  minWidth: "mw100"
27147
27187
  }), ...tid, children: [
27148
- /* @__PURE__ */ jsx223("div", { ref: spacerRef, ...mergeProps38(void 0, {
27188
+ /* @__PURE__ */ jsx223("div", { ref: spacerRef, ...mergeProps39(void 0, {
27149
27189
  height: navHeight
27150
27190
  }, {
27151
27191
  flexShrink: "fs0",
27152
27192
  width: "w100"
27153
- }), children: /* @__PURE__ */ jsx223("div", { ref: navMetricsRef, ...mergeProps38(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
27193
+ }), children: /* @__PURE__ */ jsx223("div", { ref: navMetricsRef, ...mergeProps39(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
27154
27194
  /* @__PURE__ */ jsx223("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
27155
27195
  ] }) }) }) });
27156
27196
  }
@@ -27159,7 +27199,7 @@ function NavbarLayout(props) {
27159
27199
  import { useCallback as useCallback39, useMemo as useMemo58, useRef as useRef67 } from "react";
27160
27200
 
27161
27201
  // src/components/Headers/BaseHeader.tsx
27162
- import { trussProps as trussProps129 } from "@homebound/truss/runtime";
27202
+ import { trussProps as trussProps128 } from "@homebound/truss/runtime";
27163
27203
  import { jsx as jsx224, jsxs as jsxs115 } from "react/jsx-runtime";
27164
27204
  function BaseHeader(props) {
27165
27205
  const {
@@ -27172,7 +27212,7 @@ function BaseHeader(props) {
27172
27212
  } = props;
27173
27213
  const tid = useTestIds(otherProps, "header");
27174
27214
  useDocumentTitle(title, documentTitleSuffix);
27175
- return /* @__PURE__ */ jsxs115("header", { ...tid, ...trussProps129({
27215
+ return /* @__PURE__ */ jsxs115("header", { ...tid, ...trussProps128({
27176
27216
  display: "df",
27177
27217
  flexDirection: "fdc",
27178
27218
  paddingTop: "pt3",
@@ -27186,7 +27226,7 @@ function BaseHeader(props) {
27186
27226
  "--backgroundColor": "var(--b-surface)"
27187
27227
  }]
27188
27228
  }), children: [
27189
- /* @__PURE__ */ jsxs115("div", { ...trussProps129({
27229
+ /* @__PURE__ */ jsxs115("div", { ...trussProps128({
27190
27230
  ...{
27191
27231
  display: "df",
27192
27232
  justifyContent: "jcsb",
@@ -27202,7 +27242,7 @@ function BaseHeader(props) {
27202
27242
  }), children: [
27203
27243
  /* @__PURE__ */ jsxs115("div", { className: "mw0", children: [
27204
27244
  breadcrumbs && /* @__PURE__ */ jsx224(Breadcrumbs, { ...breadcrumbs }),
27205
- /* @__PURE__ */ jsx224("h1", { ...tid.title, ...trussProps129({
27245
+ /* @__PURE__ */ jsx224("h1", { ...tid.title, ...trussProps128({
27206
27246
  fontWeight: "fw6",
27207
27247
  fontSize: "fz_20px",
27208
27248
  lineHeight: "lh_28px",
@@ -27218,7 +27258,7 @@ function BaseHeader(props) {
27218
27258
  }
27219
27259
 
27220
27260
  // src/components/Headers/PageHeader.tsx
27221
- import { trussProps as trussProps130 } from "@homebound/truss/runtime";
27261
+ import { trussProps as trussProps129 } from "@homebound/truss/runtime";
27222
27262
  import { jsx as jsx225 } from "react/jsx-runtime";
27223
27263
  function PageHeader2(props) {
27224
27264
  const {
@@ -27226,7 +27266,7 @@ function PageHeader2(props) {
27226
27266
  ...otherProps
27227
27267
  } = props;
27228
27268
  const tid = useTestIds(otherProps, "header");
27229
- return /* @__PURE__ */ jsx225(BaseHeader, { ...otherProps, bottomSlot: tabs && /* @__PURE__ */ jsx225("div", { ...trussProps130(pageContentPaddingX), children: /* @__PURE__ */ jsx225(Tabs, { ...tabs, ...tid.tabs }) }) });
27269
+ return /* @__PURE__ */ jsx225(BaseHeader, { ...otherProps, bottomSlot: tabs && /* @__PURE__ */ jsx225("div", { ...trussProps129(pageContentPaddingX), children: /* @__PURE__ */ jsx225(Tabs, { ...tabs, ...tid.tabs }) }) });
27230
27270
  }
27231
27271
 
27232
27272
  // src/layouts/useBannerAndNavbarHeight.ts
@@ -27235,9 +27275,9 @@ function useBannerAndNavbarHeight() {
27235
27275
  }
27236
27276
 
27237
27277
  // src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
27238
- import { mergeProps as mergeProps39, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
27278
+ import { mergeProps as mergeProps40, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
27239
27279
  import { jsx as jsx226, jsxs as jsxs116 } from "react/jsx-runtime";
27240
- var __maybeInc30 = (inc) => {
27280
+ var __maybeInc31 = (inc) => {
27241
27281
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27242
27282
  };
27243
27283
  function PageHeaderLayout(props) {
@@ -27267,24 +27307,24 @@ function PageHeaderLayout(props) {
27267
27307
  const innerCss = autoHideState === "static" ? {
27268
27308
  position: "sticky",
27269
27309
  left: ["left_var", {
27270
- "--left": maybeCssVar62(__maybeInc30(headerLeft))
27310
+ "--left": maybeCssVar63(__maybeInc31(headerLeft))
27271
27311
  }],
27272
27312
  width: ["w_var", {
27273
- "--width": maybeCssVar62(__maybeInc30(headerWidth))
27313
+ "--width": maybeCssVar63(__maybeInc31(headerWidth))
27274
27314
  }],
27275
27315
  zIndex: ["z_var", {
27276
- "--zIndex": maybeCssVar62(zIndices.pageStickyHeader)
27316
+ "--zIndex": maybeCssVar63(zIndices.pageStickyHeader)
27277
27317
  }]
27278
27318
  } : {
27279
27319
  position: "fixed",
27280
27320
  left: ["left_var", {
27281
- "--left": maybeCssVar62(__maybeInc30(headerLeft))
27321
+ "--left": maybeCssVar63(__maybeInc31(headerLeft))
27282
27322
  }],
27283
27323
  width: ["w_var", {
27284
- "--width": maybeCssVar62(__maybeInc30(headerWidth))
27324
+ "--width": maybeCssVar63(__maybeInc31(headerWidth))
27285
27325
  }],
27286
27326
  zIndex: ["z_var", {
27287
- "--zIndex": maybeCssVar62(zIndices.pageStickyHeader)
27327
+ "--zIndex": maybeCssVar63(zIndices.pageStickyHeader)
27288
27328
  }],
27289
27329
  transition: "transitionTop"
27290
27330
  };
@@ -27292,17 +27332,17 @@ function PageHeaderLayout(props) {
27292
27332
  top: autoHideState === "revealed" ? outerTop : `calc(${outerTop} - ${headerHeight}px)`
27293
27333
  } : void 0;
27294
27334
  const pageHeaderEl = useMemo58(() => /* @__PURE__ */ jsx226(PageHeader2, { ...pageHeader }), [pageHeader]);
27295
- return /* @__PURE__ */ jsx226(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs116("div", { ...mergeProps39(void 0, cssVars, {
27335
+ return /* @__PURE__ */ jsx226(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs116("div", { ...mergeProps40(void 0, cssVars, {
27296
27336
  display: "df",
27297
27337
  flexDirection: "fdc",
27298
27338
  width: "w100"
27299
27339
  }), ...tid, children: [
27300
- /* @__PURE__ */ jsx226("div", { ref: spacerRef, ...mergeProps39(void 0, {
27340
+ /* @__PURE__ */ jsx226("div", { ref: spacerRef, ...mergeProps40(void 0, {
27301
27341
  height: headerHeight
27302
27342
  }, {
27303
27343
  flexShrink: "fs0",
27304
27344
  width: "w100"
27305
- }), children: /* @__PURE__ */ jsx226("div", { ref: headerMetricsRef, ...mergeProps39(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
27345
+ }), children: /* @__PURE__ */ jsx226("div", { ref: headerMetricsRef, ...mergeProps40(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
27306
27346
  /* @__PURE__ */ jsx226("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children })
27307
27347
  ] }) });
27308
27348
  }
@@ -27389,9 +27429,9 @@ function WorkflowActions(props) {
27389
27429
  }
27390
27430
 
27391
27431
  // src/layouts/WorkflowLayout/WorkflowLayout.tsx
27392
- import { trussProps as trussProps131, mergeProps as mergeProps40, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
27432
+ import { trussProps as trussProps130, mergeProps as mergeProps41, maybeCssVar as maybeCssVar64 } from "@homebound/truss/runtime";
27393
27433
  import { jsx as jsx230, jsxs as jsxs118 } from "react/jsx-runtime";
27394
- var __maybeInc31 = (inc) => {
27434
+ var __maybeInc32 = (inc) => {
27395
27435
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27396
27436
  };
27397
27437
  function WorkflowLayout(props) {
@@ -27467,43 +27507,43 @@ function WorkflowLayout(props) {
27467
27507
  }
27468
27508
  );
27469
27509
  return /* @__PURE__ */ jsxs118(DocumentScrollLayoutProvider, { children: [
27470
- /* @__PURE__ */ jsxs118("div", { ...mergeProps40(void 0, cssVars, {
27510
+ /* @__PURE__ */ jsxs118("div", { ...mergeProps41(void 0, cssVars, {
27471
27511
  display: "df",
27472
27512
  flexDirection: "fdc",
27473
27513
  width: "w100"
27474
27514
  }), ...tid, children: [
27475
- /* @__PURE__ */ jsx230("div", { ref: headerMetricsRef, ...trussProps131({
27515
+ /* @__PURE__ */ jsx230("div", { ref: headerMetricsRef, ...trussProps130({
27476
27516
  position: "sticky",
27477
27517
  left: "left0",
27478
27518
  width: ["w_var", {
27479
- "--width": maybeCssVar63(__maybeInc31(headerWidth))
27519
+ "--width": maybeCssVar64(__maybeInc32(headerWidth))
27480
27520
  }],
27481
27521
  zIndex: ["z_var", {
27482
- "--zIndex": maybeCssVar63(zIndices.pageStickyHeader)
27522
+ "--zIndex": maybeCssVar64(zIndices.pageStickyHeader)
27483
27523
  }],
27484
27524
  top: ["top_var", {
27485
- "--top": maybeCssVar63(__maybeInc31(outerTop))
27525
+ "--top": maybeCssVar64(__maybeInc32(outerTop))
27486
27526
  }]
27487
27527
  }), ...tid.header, children: headerEl }),
27488
27528
  /* @__PURE__ */ jsx230("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children: activeStep?.content }),
27489
- showFooter && /* @__PURE__ */ jsx230("div", { ...trussProps131({
27529
+ showFooter && /* @__PURE__ */ jsx230("div", { ...trussProps130({
27490
27530
  flexShrink: "fs0",
27491
27531
  width: "w100",
27492
27532
  height: ["h_var", {
27493
27533
  "--height": `${mobileFooterHeightPx}px`
27494
27534
  }]
27495
- }), children: /* @__PURE__ */ jsx230("div", { ...trussProps131({
27535
+ }), children: /* @__PURE__ */ jsx230("div", { ...trussProps130({
27496
27536
  ...{
27497
27537
  position: "fixed",
27498
27538
  bottom: "bottom0",
27499
27539
  width: ["w_var", {
27500
- "--width": maybeCssVar63(__maybeInc31(headerWidth))
27540
+ "--width": maybeCssVar64(__maybeInc32(headerWidth))
27501
27541
  }],
27502
27542
  height: ["h_var", {
27503
27543
  "--height": `${mobileFooterHeightPx}px`
27504
27544
  }],
27505
27545
  zIndex: ["z_var", {
27506
- "--zIndex": maybeCssVar63(zIndices.pageStickyFooter)
27546
+ "--zIndex": maybeCssVar64(zIndices.pageStickyFooter)
27507
27547
  }],
27508
27548
  display: "df",
27509
27549
  alignItems: "aic",
@@ -27715,6 +27755,7 @@ export {
27715
27755
  bannerAndNavbarChromeTop,
27716
27756
  beamEnvironmentBannerLayoutHeightVar,
27717
27757
  beamFloatingRightOffsetVar,
27758
+ beamLayoutContentPaddingXVar,
27718
27759
  beamLayoutViewportHeightVar,
27719
27760
  beamLayoutViewportWidthVar,
27720
27761
  beamNavbarLayoutHeightVar,
@@ -27771,6 +27812,8 @@ export {
27771
27812
  defaultTestId,
27772
27813
  documentScrollChromeLeft,
27773
27814
  documentScrollChromeWidth,
27815
+ documentScrollContentLeft,
27816
+ documentScrollContentWidth,
27774
27817
  documentScrollRightPaneHeight,
27775
27818
  documentScrollRightPaneWidth,
27776
27819
  dragHandleColumn,