@homebound/beam 4.6.0 → 4.7.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
@@ -18789,6 +18789,7 @@ function Filters(props) {
18789
18789
  var _Filters = memo(Filters);
18790
18790
 
18791
18791
  // src/components/Headers/HeaderActions.tsx
18792
+ import { trussProps as trussProps72 } from "@homebound/truss/runtime";
18792
18793
  import { jsx as jsx109 } from "react/jsx-runtime";
18793
18794
  function HeaderActions(props) {
18794
18795
  const {
@@ -18802,26 +18803,54 @@ function HeaderActions(props) {
18802
18803
  } = useBreakpoint();
18803
18804
  const collapse = collapseOnSm && sm && actions.length > 1;
18804
18805
  if (collapse) {
18805
- return /* @__PURE__ */ jsx109("div", { className: "df aic gap1 fs0", ...tid, children: /* @__PURE__ */ jsx109(ButtonMenu, { trigger: {
18806
+ return /* @__PURE__ */ jsx109("div", { ...trussProps72(actionRowCss), ...tid, children: /* @__PURE__ */ jsx109(ButtonMenu, { trigger: {
18806
18807
  icon: "verticalDots",
18807
18808
  variant: "outline"
18808
18809
  }, items: toMenuItems(actions) }) });
18809
18810
  }
18810
- return /* @__PURE__ */ jsx109("div", { className: "df aic gap1 fs0", ...tid, children: actions.map((action, i) => {
18811
- const key = headerActionKey(action, i);
18812
- if (action.kind === "icon") {
18813
- return /* @__PURE__ */ jsx109(IconButton, { ...action, variant: "outline" }, key);
18814
- }
18815
- if (action.kind === "menu") {
18816
- const {
18817
- kind,
18818
- ...menuProps
18819
- } = action;
18820
- void kind;
18821
- return /* @__PURE__ */ jsx109(ButtonMenu, { ...menuProps }, key);
18822
- }
18823
- return /* @__PURE__ */ jsx109(Button, { ...action }, key);
18824
- }) });
18811
+ return /* @__PURE__ */ jsx109("div", { ...trussProps72(actionRowCss), ...tid, children: actions.map(renderHeaderAction) });
18812
+ }
18813
+ function splitHeaderActionsOnSm(actions, sm) {
18814
+ if (!sm) return {
18815
+ bottomSlotActions: [],
18816
+ rightSlotActions: actions ?? []
18817
+ };
18818
+ return {
18819
+ bottomSlotActions: actions?.filter((action) => action.keepVisible) ?? [],
18820
+ rightSlotActions: actions?.filter((action) => !action.keepVisible) ?? []
18821
+ };
18822
+ }
18823
+ var actionRowCss = {
18824
+ display: "df",
18825
+ alignItems: "aic",
18826
+ flexWrap: "fww",
18827
+ gap: "gap2",
18828
+ flexShrink: "fs0"
18829
+ };
18830
+ function renderHeaderAction(action, index) {
18831
+ const key = headerActionKey(action, index);
18832
+ if (action.kind === "icon") {
18833
+ const {
18834
+ kind: _kind2,
18835
+ keepVisible: _keepVisible2,
18836
+ ...iconProps
18837
+ } = action;
18838
+ return /* @__PURE__ */ jsx109(IconButton, { ...iconProps, variant: "outline" }, key);
18839
+ }
18840
+ if (action.kind === "menu") {
18841
+ const {
18842
+ kind: _kind2,
18843
+ keepVisible: _keepVisible2,
18844
+ ...menuProps
18845
+ } = action;
18846
+ return /* @__PURE__ */ jsx109(ButtonMenu, { ...menuProps }, key);
18847
+ }
18848
+ const {
18849
+ keepVisible: _keepVisible,
18850
+ kind: _kind,
18851
+ ...buttonProps
18852
+ } = action;
18853
+ return /* @__PURE__ */ jsx109(Button, { ...buttonProps }, key);
18825
18854
  }
18826
18855
  function headerActionKey(action, index) {
18827
18856
  if (action.kind === "icon") return `${action.icon}-${index}`;
@@ -18861,7 +18890,7 @@ function toMenuItems(actions) {
18861
18890
  }
18862
18891
 
18863
18892
  // src/components/Headers/ContentHeader.tsx
18864
- import { trussProps as trussProps72 } from "@homebound/truss/runtime";
18893
+ import { trussProps as trussProps73 } from "@homebound/truss/runtime";
18865
18894
  import { jsx as jsx110, jsxs as jsxs69 } from "react/jsx-runtime";
18866
18895
  function ContentHeader(props) {
18867
18896
  const {
@@ -18875,6 +18904,14 @@ function ContentHeader(props) {
18875
18904
  xss
18876
18905
  } = props;
18877
18906
  const tid = useTestIds(props, "contentHeader");
18907
+ const {
18908
+ sm
18909
+ } = useBreakpoint();
18910
+ const {
18911
+ bottomSlotActions,
18912
+ rightSlotActions
18913
+ } = splitHeaderActionsOnSm(actions, sm);
18914
+ const showActionsSlot = !!withAutoSave || rightSlotActions.length > 0;
18878
18915
  const {
18879
18916
  tag: Heading,
18880
18917
  css: headingCss
@@ -18892,7 +18929,7 @@ function ContentHeader(props) {
18892
18929
  if (!title && !description && !actions && !withAutoSave) {
18893
18930
  return null;
18894
18931
  }
18895
- const descriptionEl = description && /* @__PURE__ */ jsx110("div", { ...trussProps72({
18932
+ const descriptionEl = description && /* @__PURE__ */ jsx110("div", { ...trussProps73({
18896
18933
  fontWeight: "fw4",
18897
18934
  fontSize: "fz_14px",
18898
18935
  lineHeight: "lh_20px",
@@ -18900,7 +18937,7 @@ function ContentHeader(props) {
18900
18937
  "--color": "var(--b-on-surface)"
18901
18938
  }]
18902
18939
  }), ...tid.description, children: description });
18903
- return /* @__PURE__ */ jsxs69("div", { ...trussProps72({
18940
+ return /* @__PURE__ */ jsxs69("div", { ...trussProps73({
18904
18941
  ...{
18905
18942
  display: "df",
18906
18943
  flexDirection: "fdc",
@@ -18918,13 +18955,14 @@ function ContentHeader(props) {
18918
18955
  /* @__PURE__ */ jsxs69("div", { className: "df aic jcsb mw0", children: [
18919
18956
  title ? /* @__PURE__ */ jsxs69("div", { className: "df aic gap1 mw0", children: [
18920
18957
  startAdornment,
18921
- /* @__PURE__ */ jsx110(Heading, { ...trussProps72(titleCss), ...tid.title, children: title })
18958
+ /* @__PURE__ */ jsx110(Heading, { ...trussProps73(titleCss), ...tid.title, children: title })
18922
18959
  ] }) : descriptionEl,
18923
- (withAutoSave || actions) && /* @__PURE__ */ jsxs69("div", { className: "df gap1 fs0", ...tid.actions, children: [
18960
+ showActionsSlot && /* @__PURE__ */ jsxs69("div", { className: "df gap2 fs0", ...tid.actions, children: [
18924
18961
  withAutoSave && /* @__PURE__ */ jsx110(AutoSaveIndicator, {}),
18925
- actions && /* @__PURE__ */ jsx110(HeaderActions, { actions })
18962
+ rightSlotActions.length > 0 && /* @__PURE__ */ jsx110(HeaderActions, { actions: rightSlotActions })
18926
18963
  ] })
18927
18964
  ] }),
18965
+ bottomSlotActions.length > 0 && /* @__PURE__ */ jsx110("div", { ...tid.bottomSlot, children: /* @__PURE__ */ jsx110(HeaderActions, { actions: bottomSlotActions }) }),
18928
18966
  title && descriptionEl
18929
18967
  ] });
18930
18968
  }
@@ -18956,7 +18994,7 @@ var headingByLevel = {
18956
18994
  };
18957
18995
 
18958
18996
  // src/components/InlineFeedbackBanner.tsx
18959
- import { trussProps as trussProps73, maybeCssVar as maybeCssVar34 } from "@homebound/truss/runtime";
18997
+ import { trussProps as trussProps74, maybeCssVar as maybeCssVar34 } from "@homebound/truss/runtime";
18960
18998
  import { jsx as jsx111, jsxs as jsxs70 } from "react/jsx-runtime";
18961
18999
  function InlineFeedbackBanner(props) {
18962
19000
  const {
@@ -18982,7 +19020,7 @@ function InlineFeedbackBanner(props) {
18982
19020
  text: fallbackTagText,
18983
19021
  iconOnly: true
18984
19022
  };
18985
- return /* @__PURE__ */ jsxs70("div", { ...trussProps73({
19023
+ return /* @__PURE__ */ jsxs70("div", { ...trussProps74({
18986
19024
  display: "df",
18987
19025
  alignItems: "ais",
18988
19026
  gap: "gap1",
@@ -19006,7 +19044,7 @@ function InlineFeedbackBanner(props) {
19006
19044
  boxShadow: "bshBasic"
19007
19045
  }), ...tid, children: [
19008
19046
  /* @__PURE__ */ jsx111("span", { className: "df fs0", children: /* @__PURE__ */ jsx111(Tag, { ...tagProps, ...tid.tag }) }),
19009
- /* @__PURE__ */ jsx111("span", { ...trussProps73({
19047
+ /* @__PURE__ */ jsx111("span", { ...trussProps74({
19010
19048
  flexGrow: "fg1",
19011
19049
  minWidth: "mw0",
19012
19050
  paddingTop: "pt_1px",
@@ -19039,7 +19077,7 @@ var typeStyles2 = {
19039
19077
  // src/components/JumpLink.tsx
19040
19078
  import { useRef as useRef40 } from "react";
19041
19079
  import { mergeProps as mergeProps20, useFocusRing as useFocusRing9, useHover as useHover13, useLink } from "react-aria";
19042
- import { trussProps as trussProps74 } from "@homebound/truss/runtime";
19080
+ import { trussProps as trussProps75 } from "@homebound/truss/runtime";
19043
19081
  import { jsx as jsx112 } from "react/jsx-runtime";
19044
19082
  function JumpLink(props) {
19045
19083
  const {
@@ -19082,7 +19120,7 @@ function JumpLink(props) {
19082
19120
  });
19083
19121
  }
19084
19122
  }
19085
- return /* @__PURE__ */ jsx112("a", { ref, ...mergeProps20(linkProps, focusProps, hoverProps), ...tid, ...trussProps74({
19123
+ return /* @__PURE__ */ jsx112("a", { ref, ...mergeProps20(linkProps, focusProps, hoverProps), ...tid, ...trussProps75({
19086
19124
  ...jumpLinkStyles.baseStyles,
19087
19125
  ...active && jumpLinkStyles.activeStyles,
19088
19126
  ...isHovered && !disabled && jumpLinkStyles.hoverStyles,
@@ -19144,7 +19182,7 @@ import { useButton as useButton10, useFocusRing as useFocusRing14 } from "react-
19144
19182
  import { useCallback as useCallback23, useMemo as useMemo37 } from "react";
19145
19183
 
19146
19184
  // src/components/LoadingSkeleton.tsx
19147
- import { trussProps as trussProps75, maybeCssVar as maybeCssVar35 } from "@homebound/truss/runtime";
19185
+ import { trussProps as trussProps76, maybeCssVar as maybeCssVar35 } from "@homebound/truss/runtime";
19148
19186
  import { jsx as jsx113 } from "react/jsx-runtime";
19149
19187
  function LoadingSkeleton({
19150
19188
  rows = 1,
@@ -19157,7 +19195,7 @@ function LoadingSkeleton({
19157
19195
  const rowHeight = sizeToPixels2[size];
19158
19196
  const rowCells = (rowNumber) => {
19159
19197
  const flexGrowForCell = randomizeWidths ? getRandomizedFlexBasisByRowIndex(rowNumber) : 1;
19160
- return cellArray.map((_, i) => /* @__PURE__ */ jsx113("div", { ...trussProps75({
19198
+ return cellArray.map((_, i) => /* @__PURE__ */ jsx113("div", { ...trussProps76({
19161
19199
  borderRadius: "br4",
19162
19200
  animation: "anim_pulse_2s_cubic_bezier_0_4_0_0_6_1_infinite",
19163
19201
  flexGrow: ["flexGrow_var", {
@@ -19168,7 +19206,7 @@ function LoadingSkeleton({
19168
19206
  }]
19169
19207
  }) }, `row-${rowNumber}-cell-${i}`));
19170
19208
  };
19171
- return /* @__PURE__ */ jsx113("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ jsx113("div", { ...trussProps75({
19209
+ return /* @__PURE__ */ jsx113("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ jsx113("div", { ...trussProps76({
19172
19210
  display: "df",
19173
19211
  gap: "gap1",
19174
19212
  marginBottom: "mb1",
@@ -19242,10 +19280,10 @@ import { Observer as Observer2 } from "mobx-react";
19242
19280
  import { useRef as useRef41 } from "react";
19243
19281
  import { useCheckboxGroup, useCheckboxGroupItem } from "react-aria";
19244
19282
  import { useCheckboxGroupState } from "react-stately";
19245
- import { trussProps as trussProps77, maybeCssVar as maybeCssVar36 } from "@homebound/truss/runtime";
19283
+ import { trussProps as trussProps78, maybeCssVar as maybeCssVar36 } from "@homebound/truss/runtime";
19246
19284
 
19247
19285
  // src/inputs/internal/LabeledGroupField.tsx
19248
- import { trussProps as trussProps76 } from "@homebound/truss/runtime";
19286
+ import { trussProps as trussProps77 } from "@homebound/truss/runtime";
19249
19287
  import { jsx as jsx115, jsxs as jsxs71 } from "react/jsx-runtime";
19250
19288
  function LabeledGroupField(props) {
19251
19289
  const {
@@ -19264,14 +19302,14 @@ function LabeledGroupField(props) {
19264
19302
  const isHiddenLabel = labelStyle === "hidden";
19265
19303
  const isLeftLabel = labelStyle === "left";
19266
19304
  const labelElement = /* @__PURE__ */ jsx115(Label, { label, ...labelProps, ...tid.label, suffix: labelSuffix, hidden: isHiddenLabel, inline: isLeftLabel });
19267
- return /* @__PURE__ */ jsxs71("div", { ...groupProps, ...trussProps76({
19305
+ return /* @__PURE__ */ jsxs71("div", { ...groupProps, ...trussProps77({
19268
19306
  width: "w100",
19269
19307
  ...isLeftLabel ? {
19270
19308
  display: "df",
19271
19309
  flexDirection: "fdr"
19272
19310
  } : {}
19273
19311
  }), onBlur, onFocus, ...tid, children: [
19274
- isLeftLabel ? /* @__PURE__ */ jsx115("div", { ...trussProps76({
19312
+ isLeftLabel ? /* @__PURE__ */ jsx115("div", { ...trussProps77({
19275
19313
  ...!isHiddenLabel ? {
19276
19314
  width: "w50"
19277
19315
  } : {}
@@ -19310,7 +19348,7 @@ function CheckboxGroup(props) {
19310
19348
  } = useCheckboxGroup(props, state);
19311
19349
  const tid = useTestIds(props, defaultTestId(label));
19312
19350
  const labelSuffix = useLabelSuffix(required, false);
19313
- return /* @__PURE__ */ jsx116(LabeledGroupField, { label, labelStyle, labelProps, groupProps, errorMsg, helperText, labelSuffix, onBlur, onFocus, tid, children: /* @__PURE__ */ jsx116("div", { ...trussProps77({
19351
+ return /* @__PURE__ */ jsx116(LabeledGroupField, { label, labelStyle, labelProps, groupProps, errorMsg, helperText, labelSuffix, onBlur, onFocus, tid, children: /* @__PURE__ */ jsx116("div", { ...trussProps78({
19314
19352
  display: "dg",
19315
19353
  gridTemplateColumns: ["gtc_var", {
19316
19354
  "--gridTemplateColumns": maybeCssVar36(`repeat(${columns}, auto)`)
@@ -19504,7 +19542,7 @@ import { useOverlayTriggerState } from "react-stately";
19504
19542
 
19505
19543
  // src/components/internal/DatePicker/DateRangePicker.tsx
19506
19544
  import { DayPicker as DayPicker2 } from "react-day-picker";
19507
- import { trussProps as trussProps78 } from "@homebound/truss/runtime";
19545
+ import { trussProps as trussProps79 } from "@homebound/truss/runtime";
19508
19546
  import { jsx as jsx119 } from "react/jsx-runtime";
19509
19547
  function DateRangePicker(props) {
19510
19548
  const {
@@ -19515,7 +19553,7 @@ function DateRangePicker(props) {
19515
19553
  useYearPicker
19516
19554
  } = props;
19517
19555
  const tid = useTestIds(props, "datePicker");
19518
- return /* @__PURE__ */ jsx119("div", { ...trussProps78({
19556
+ return /* @__PURE__ */ jsx119("div", { ...trussProps79({
19519
19557
  display: "dib",
19520
19558
  backgroundColor: ["bgColor_var", {
19521
19559
  "--backgroundColor": "var(--b-surface-raised)"
@@ -19536,7 +19574,7 @@ function DateRangePicker(props) {
19536
19574
  }
19537
19575
 
19538
19576
  // src/inputs/DateFields/DateFieldBase.tsx
19539
- import { trussProps as trussProps79 } from "@homebound/truss/runtime";
19577
+ import { trussProps as trussProps80 } from "@homebound/truss/runtime";
19540
19578
  import { Fragment as Fragment29, jsx as jsx120, jsxs as jsxs72 } from "react/jsx-runtime";
19541
19579
  function DateFieldBase(props) {
19542
19580
  const {
@@ -19690,7 +19728,7 @@ function DateFieldBase(props) {
19690
19728
  setInputValue("");
19691
19729
  onChange(void 0);
19692
19730
  } }) });
19693
- const calendarButton = /* @__PURE__ */ jsx120("button", { ref: buttonRef, ...buttonProps, disabled: isDisabled, ...trussProps79({
19731
+ const calendarButton = /* @__PURE__ */ jsx120("button", { ref: buttonRef, ...buttonProps, disabled: isDisabled, ...trussProps80({
19694
19732
  ...isDisabled ? {
19695
19733
  cursor: "cursorNotAllowed"
19696
19734
  } : {}
@@ -19938,7 +19976,7 @@ import { Observer as Observer6 } from "mobx-react";
19938
19976
 
19939
19977
  // src/inputs/MultiLineSelectField.tsx
19940
19978
  import { useState as useState36 } from "react";
19941
- import { trussProps as trussProps80 } from "@homebound/truss/runtime";
19979
+ import { trussProps as trussProps81 } from "@homebound/truss/runtime";
19942
19980
  import { jsx as jsx127, jsxs as jsxs74 } from "react/jsx-runtime";
19943
19981
  function MultiLineSelectField(props) {
19944
19982
  const {
@@ -19953,18 +19991,18 @@ function MultiLineSelectField(props) {
19953
19991
  const tid = useTestIds(props, "");
19954
19992
  const [isDisplayed, setIsDisplayed] = useState36(true);
19955
19993
  const currentOptions = options.filter((o) => !values.includes(getOptionValue(o)));
19956
- return /* @__PURE__ */ jsxs74("div", { ...trussProps80({
19994
+ return /* @__PURE__ */ jsxs74("div", { ...trussProps81({
19957
19995
  marginTop: "mt1",
19958
19996
  ...labelStyle === "left" ? {
19959
19997
  display: "df"
19960
19998
  } : {}
19961
19999
  }), children: [
19962
- labelStyle !== "hidden" && /* @__PURE__ */ jsx127("div", { ...trussProps80({
20000
+ labelStyle !== "hidden" && /* @__PURE__ */ jsx127("div", { ...trussProps81({
19963
20001
  ...labelStyle === "left" ? {
19964
20002
  width: "w50"
19965
20003
  } : {}
19966
20004
  }), children: /* @__PURE__ */ jsx127(Label, { ...tid.label, label: props.label }) }),
19967
- /* @__PURE__ */ jsxs74("div", { ...trussProps80({
20005
+ /* @__PURE__ */ jsxs74("div", { ...trussProps81({
19968
20006
  ...labelStyle === "left" ? {
19969
20007
  width: "w50"
19970
20008
  } : {}
@@ -20055,7 +20093,7 @@ import { VisuallyHidden as VisuallyHidden5 } from "react-aria";
20055
20093
  // src/inputs/SelectCard/SelectCardShell.tsx
20056
20094
  import { useMemo as useMemo30 } from "react";
20057
20095
  import { mergeProps as mergeProps21, useFocusRing as useFocusRing10, useHover as useHover14, usePress } from "react-aria";
20058
- import { trussProps as trussProps81, maybeCssVar as maybeCssVar_14 } from "@homebound/truss/runtime";
20096
+ import { trussProps as trussProps82, maybeCssVar as maybeCssVar_14 } from "@homebound/truss/runtime";
20059
20097
  import { jsx as jsx129 } from "react/jsx-runtime";
20060
20098
  function SelectCardShell(props) {
20061
20099
  const {
@@ -20167,7 +20205,7 @@ function SelectCardShell(props) {
20167
20205
  return maybeTooltip({
20168
20206
  title: resolveTooltip(isDisabled, tooltip),
20169
20207
  placement: "top",
20170
- children: /* @__PURE__ */ jsx129("label", { ...trussProps81({
20208
+ children: /* @__PURE__ */ jsx129("label", { ...trussProps82({
20171
20209
  ...styles,
20172
20210
  ...{
20173
20211
  cursor: "cursorPointer",
@@ -20180,7 +20218,7 @@ function SelectCardShell(props) {
20180
20218
  }
20181
20219
 
20182
20220
  // src/inputs/SelectCard/GridSelectCard.tsx
20183
- import { trussProps as trussProps82 } from "@homebound/truss/runtime";
20221
+ import { trussProps as trussProps83 } from "@homebound/truss/runtime";
20184
20222
  import { jsx as jsx130, jsxs as jsxs75 } from "react/jsx-runtime";
20185
20223
  function GridSelectCard(props) {
20186
20224
  const {
@@ -20200,7 +20238,7 @@ function GridSelectCard(props) {
20200
20238
  const tid = useTestIds(props, defaultTestId(label));
20201
20239
  return /* @__PURE__ */ jsxs75(SelectCardShell, { label, selected: isSelected, disabled: isDisabled, tooltip, view: "grid", layout, __storyState, ...others, children: [
20202
20240
  /* @__PURE__ */ jsx130(VisuallyHidden5, { children: /* @__PURE__ */ jsx130("input", { ...inputProps, ...tid.value }) }),
20203
- image ? /* @__PURE__ */ jsx130("img", { src: image, alt: "", ...trussProps82({
20241
+ image ? /* @__PURE__ */ jsx130("img", { src: image, alt: "", ...trussProps83({
20204
20242
  height: "h_100px",
20205
20243
  width: "w_100px",
20206
20244
  objectFit: "objectContain",
@@ -20210,13 +20248,13 @@ function GridSelectCard(props) {
20210
20248
  } : {}
20211
20249
  }), ...tid.img }) : icon && /* @__PURE__ */ jsx130(Icon, { icon, inc: 4, color: isDisabled ? "--b-on-surface-disabled" /* OnSurfaceDisabled */ : "--b-on-surface" /* OnSurface */ }),
20212
20250
  /* @__PURE__ */ jsxs75("span", { className: "df fdc g_4px w100", children: [
20213
- tag && /* @__PURE__ */ jsx130("span", { ...trussProps82({
20251
+ tag && /* @__PURE__ */ jsx130("span", { ...trussProps83({
20214
20252
  display: "df",
20215
20253
  ...layout !== "horizontal" ? {
20216
20254
  justifyContent: "jcc"
20217
20255
  } : {}
20218
20256
  }), children: /* @__PURE__ */ jsx130(Tag, { type: tag.type, text: tag.text, ...tid.tag }) }),
20219
- /* @__PURE__ */ jsx130("span", { ...trussProps82({
20257
+ /* @__PURE__ */ jsx130("span", { ...trussProps83({
20220
20258
  fontWeight: "fw6",
20221
20259
  fontSize: "fz_14px",
20222
20260
  lineHeight: "lh_20px",
@@ -20226,7 +20264,7 @@ function GridSelectCard(props) {
20226
20264
  }]
20227
20265
  } : {}
20228
20266
  }), children: label }),
20229
- description && /* @__PURE__ */ jsx130("span", { ...trussProps82({
20267
+ description && /* @__PURE__ */ jsx130("span", { ...trussProps83({
20230
20268
  fontWeight: "fw4",
20231
20269
  fontSize: "fz_14px",
20232
20270
  lineHeight: "lh_20px",
@@ -20248,7 +20286,7 @@ import { VisuallyHidden as VisuallyHidden6 } from "react-aria";
20248
20286
 
20249
20287
  // src/inputs/SelectCard/StyledRadio.tsx
20250
20288
  import { useHover as useHover15 } from "react-aria";
20251
- import { trussProps as trussProps83 } from "@homebound/truss/runtime";
20289
+ import { trussProps as trussProps84 } from "@homebound/truss/runtime";
20252
20290
 
20253
20291
  // src/inputs/internal/radioStyles.ts
20254
20292
  import { maybeCssVar as maybeCssVar37 } from "@homebound/truss/runtime";
@@ -20376,7 +20414,7 @@ function StyledRadio(props) {
20376
20414
  isDisabled
20377
20415
  });
20378
20416
  const tid = useTestIds(props, label ? defaultTestId(label) : void 0);
20379
- return /* @__PURE__ */ jsx131("input", { type: "radio", ...trussProps83({
20417
+ return /* @__PURE__ */ jsx131("input", { type: "radio", ...trussProps84({
20380
20418
  ...radioReset,
20381
20419
  ...radioDefault,
20382
20420
  ...getRadioStateStyles({
@@ -20391,7 +20429,7 @@ function StyledRadio(props) {
20391
20429
  }
20392
20430
 
20393
20431
  // src/inputs/SelectCard/ListSelectCard.tsx
20394
- import { trussProps as trussProps84 } from "@homebound/truss/runtime";
20432
+ import { trussProps as trussProps85 } from "@homebound/truss/runtime";
20395
20433
  import { Fragment as Fragment31, jsx as jsx132, jsxs as jsxs76 } from "react/jsx-runtime";
20396
20434
  function ListSelectCard(props) {
20397
20435
  const {
@@ -20415,7 +20453,7 @@ function ListSelectCard(props) {
20415
20453
  // Styled radio is an input, so we can use the inputProps directly
20416
20454
  /* @__PURE__ */ jsx132(StyledRadio, { ...tid, label, isDisabled, isSelected, inputProps })
20417
20455
  ),
20418
- /* @__PURE__ */ jsx132("span", { ...trussProps84({
20456
+ /* @__PURE__ */ jsx132("span", { ...trussProps85({
20419
20457
  fontWeight: "fw6",
20420
20458
  fontSize: "fz_14px",
20421
20459
  lineHeight: "lh_20px",
@@ -20430,7 +20468,7 @@ function ListSelectCard(props) {
20430
20468
  }), children: label }),
20431
20469
  tag && /* @__PURE__ */ jsx132(Tag, { type: tag.type, text: tag.text, ...tid.tag })
20432
20470
  ] }),
20433
- description && /* @__PURE__ */ jsx132("span", { ...trussProps84({
20471
+ description && /* @__PURE__ */ jsx132("span", { ...trussProps85({
20434
20472
  marginLeft: "ml3",
20435
20473
  fontWeight: "fw4",
20436
20474
  fontSize: "fz_14px",
@@ -20531,7 +20569,7 @@ function getSelectCardOptionsCss({
20531
20569
  }
20532
20570
 
20533
20571
  // src/inputs/SelectCard/MultiSelectCardGroup.tsx
20534
- import { trussProps as trussProps85 } from "@homebound/truss/runtime";
20572
+ import { trussProps as trussProps86 } from "@homebound/truss/runtime";
20535
20573
  import { jsx as jsx134 } from "react/jsx-runtime";
20536
20574
  function MultiSelectCardGroup(props) {
20537
20575
  const {
@@ -20573,7 +20611,7 @@ function MultiSelectCardGroup(props) {
20573
20611
  label,
20574
20612
  isDisabled
20575
20613
  }, state);
20576
- return /* @__PURE__ */ jsx134(LabeledGroupField, { label, labelStyle, labelProps, groupProps, errorMsg, helperText, tid, children: /* @__PURE__ */ jsx134("div", { ...trussProps85(getSelectCardOptionsCss({
20614
+ return /* @__PURE__ */ jsx134(LabeledGroupField, { label, labelStyle, labelProps, groupProps, errorMsg, helperText, tid, children: /* @__PURE__ */ jsx134("div", { ...trussProps86(getSelectCardOptionsCss({
20577
20615
  view,
20578
20616
  hasDescription,
20579
20617
  layout,
@@ -20609,7 +20647,7 @@ import { Observer as Observer8 } from "mobx-react";
20609
20647
  import { useMemo as useMemo32 } from "react";
20610
20648
 
20611
20649
  // src/forms/SelectedOptionPill.tsx
20612
- import { trussProps as trussProps86, maybeCssVar as maybeCssVar39 } from "@homebound/truss/runtime";
20650
+ import { trussProps as trussProps87, maybeCssVar as maybeCssVar39 } from "@homebound/truss/runtime";
20613
20651
  import { jsx as jsx136, jsxs as jsxs77 } from "react/jsx-runtime";
20614
20652
  function SelectedOptionPill(props) {
20615
20653
  const {
@@ -20621,7 +20659,7 @@ function SelectedOptionPill(props) {
20621
20659
  } = props;
20622
20660
  const tid = useTestIds(props, "selectedOptionPill");
20623
20661
  return /* @__PURE__ */ jsxs77("div", { className: "df fdc gap1 w100", ...tid, children: [
20624
- /* @__PURE__ */ jsxs77("div", { ...trussProps86({
20662
+ /* @__PURE__ */ jsxs77("div", { ...trussProps87({
20625
20663
  // Setting border-radius to 999px to make it a pill shape.
20626
20664
  ...{
20627
20665
  display: "df",
@@ -21014,7 +21052,7 @@ import { Observer as Observer10 } from "mobx-react";
21014
21052
  import { Fragment as Fragment32, useMemo as useMemo34, useRef as useRef45 } from "react";
21015
21053
  import { useFocusRing as useFocusRing11, useHover as useHover16, useRadio, useRadioGroup } from "react-aria";
21016
21054
  import { useRadioGroupState } from "react-stately";
21017
- import { trussProps as trussProps87 } from "@homebound/truss/runtime";
21055
+ import { trussProps as trussProps88 } from "@homebound/truss/runtime";
21018
21056
  import { jsx as jsx142, jsxs as jsxs79 } from "react/jsx-runtime";
21019
21057
  var nextNameId = 0;
21020
21058
  function RadioGroupField(props) {
@@ -21051,7 +21089,7 @@ function RadioGroupField(props) {
21051
21089
  }, state);
21052
21090
  return (
21053
21091
  // default styling to position `<Label />` above.
21054
- /* @__PURE__ */ jsxs79("div", { ...trussProps87({
21092
+ /* @__PURE__ */ jsxs79("div", { ...trussProps88({
21055
21093
  display: "df",
21056
21094
  flexDirection: "fdc",
21057
21095
  gap: "gap1",
@@ -21064,7 +21102,7 @@ function RadioGroupField(props) {
21064
21102
  }), ...tid, children: [
21065
21103
  /* @__PURE__ */ jsx142(Label, { label, ...labelProps, ...tid.label, suffix: labelSuffix, hidden: labelStyle === "hidden" }),
21066
21104
  /* @__PURE__ */ jsxs79("div", { ...radioGroupProps, children: [
21067
- /* @__PURE__ */ jsx142("div", { ...trussProps87({
21105
+ /* @__PURE__ */ jsx142("div", { ...trussProps88({
21068
21106
  display: "df",
21069
21107
  ...layout === "horizontal" ? {
21070
21108
  flexDirection: "fdr",
@@ -21122,7 +21160,7 @@ function Radio(props) {
21122
21160
  } = useHover16({
21123
21161
  isDisabled: disabled
21124
21162
  });
21125
- return /* @__PURE__ */ jsxs79("label", { ...trussProps87({
21163
+ return /* @__PURE__ */ jsxs79("label", { ...trussProps88({
21126
21164
  display: "df",
21127
21165
  cursor: "cursorPointer",
21128
21166
  ...disabled ? {
@@ -21134,7 +21172,7 @@ function Radio(props) {
21134
21172
  {
21135
21173
  type: "radio",
21136
21174
  ref,
21137
- ...trussProps87({
21175
+ ...trussProps88({
21138
21176
  ...radioReset,
21139
21177
  ...radioDefault,
21140
21178
  ...getRadioStateStyles({
@@ -21157,7 +21195,7 @@ function Radio(props) {
21157
21195
  }
21158
21196
  ),
21159
21197
  /* @__PURE__ */ jsxs79("div", { children: [
21160
- /* @__PURE__ */ jsx142("div", { id: labelId, ...trussProps87({
21198
+ /* @__PURE__ */ jsx142("div", { id: labelId, ...trussProps88({
21161
21199
  fontWeight: "fw4",
21162
21200
  fontSize: "fz_14px",
21163
21201
  lineHeight: "lh_20px",
@@ -21172,7 +21210,7 @@ function Radio(props) {
21172
21210
  }), ...description ? {
21173
21211
  "aria-describedby": descriptionId
21174
21212
  } : {}, children: label }),
21175
- description && /* @__PURE__ */ jsx142("div", { id: descriptionId, ...trussProps87({
21213
+ description && /* @__PURE__ */ jsx142("div", { id: descriptionId, ...trussProps88({
21176
21214
  fontWeight: "fw4",
21177
21215
  fontSize: "fz_14px",
21178
21216
  lineHeight: "lh_20px",
@@ -21269,7 +21307,7 @@ import Tribute from "tributejs";
21269
21307
  import "tributejs/dist/tribute.css";
21270
21308
  import "trix";
21271
21309
  import "trix/dist/trix.css";
21272
- import { trussProps as trussProps88 } from "@homebound/truss/runtime";
21310
+ import { trussProps as trussProps89 } from "@homebound/truss/runtime";
21273
21311
  import { jsx as jsx145, jsxs as jsxs80 } from "react/jsx-runtime";
21274
21312
  var RichTextField = withTestMock(RichTextFieldImpl, RichTextFieldMock);
21275
21313
  function RichTextFieldImpl(props) {
@@ -21358,7 +21396,7 @@ function RichTextFieldImpl(props) {
21358
21396
  autoFocus
21359
21397
  } = props;
21360
21398
  if (!readOnly) {
21361
- return /* @__PURE__ */ jsxs80("div", { ...trussProps88({
21399
+ return /* @__PURE__ */ jsxs80("div", { ...trussProps89({
21362
21400
  width: "w100",
21363
21401
  ...!fullWidth ? {
21364
21402
  maxWidth: "maxw_550px"
@@ -21381,14 +21419,14 @@ function RichTextFieldImpl(props) {
21381
21419
  ] })
21382
21420
  ] });
21383
21421
  } else {
21384
- return /* @__PURE__ */ jsxs80("div", { ...trussProps88({
21422
+ return /* @__PURE__ */ jsxs80("div", { ...trussProps89({
21385
21423
  width: "w100",
21386
21424
  ...!fullWidth ? {
21387
21425
  maxWidth: "maxw_550px"
21388
21426
  } : {}
21389
21427
  }), children: [
21390
21428
  label && /* @__PURE__ */ jsx145(Label, { label }),
21391
- /* @__PURE__ */ jsx145("div", { ...trussProps88({
21429
+ /* @__PURE__ */ jsx145("div", { ...trussProps89({
21392
21430
  minHeight: "mh_120px",
21393
21431
  backgroundColor: ["bgColor_var", {
21394
21432
  "--backgroundColor": "var(--b-surface)"
@@ -21524,7 +21562,7 @@ function SelectCardRadioGroupItem(props) {
21524
21562
  }
21525
21563
 
21526
21564
  // src/inputs/SelectCard/SelectCardGroup.tsx
21527
- import { trussProps as trussProps89 } from "@homebound/truss/runtime";
21565
+ import { trussProps as trussProps90 } from "@homebound/truss/runtime";
21528
21566
  import { jsx as jsx148 } from "react/jsx-runtime";
21529
21567
  function SelectCardGroup(props) {
21530
21568
  const {
@@ -21560,7 +21598,7 @@ function SelectCardGroup(props) {
21560
21598
  label,
21561
21599
  isDisabled
21562
21600
  }, state);
21563
- return /* @__PURE__ */ jsx148(LabeledGroupField, { label, labelStyle, labelProps, groupProps: radioGroupProps, errorMsg, helperText, tid, children: /* @__PURE__ */ jsx148("div", { ...trussProps89(getSelectCardOptionsCss({
21601
+ return /* @__PURE__ */ jsx148(LabeledGroupField, { label, labelStyle, labelProps, groupProps: radioGroupProps, errorMsg, helperText, tid, children: /* @__PURE__ */ jsx148("div", { ...trussProps90(getSelectCardOptionsCss({
21564
21602
  view,
21565
21603
  hasDescription,
21566
21604
  layout,
@@ -21641,7 +21679,7 @@ import { Observer as Observer14 } from "mobx-react";
21641
21679
  // src/inputs/Switch.tsx
21642
21680
  import { useRef as useRef48 } from "react";
21643
21681
  import { useFocusRing as useFocusRing12, useHover as useHover17, useSwitch, VisuallyHidden as VisuallyHidden7 } from "react-aria";
21644
- import { trussProps as trussProps90, maybeCssVar as maybeCssVar40 } from "@homebound/truss/runtime";
21682
+ import { trussProps as trussProps91, maybeCssVar as maybeCssVar40 } from "@homebound/truss/runtime";
21645
21683
  import { jsx as jsx151, jsxs as jsxs81 } from "react/jsx-runtime";
21646
21684
  var __maybeInc15 = (inc) => {
21647
21685
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -21691,7 +21729,7 @@ function Switch(props) {
21691
21729
  const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
21692
21730
  const tooltip = resolveTooltip(disabled, props.tooltip);
21693
21731
  const tid = useTestIds(otherProps, label);
21694
- return /* @__PURE__ */ jsxs81("label", { ...hoverProps, ...trussProps90({
21732
+ return /* @__PURE__ */ jsxs81("label", { ...hoverProps, ...trussProps91({
21695
21733
  ...{
21696
21734
  position: "relative",
21697
21735
  cursor: "cursorPointer",
@@ -21745,13 +21783,13 @@ function Switch(props) {
21745
21783
  }]
21746
21784
  }
21747
21785
  }, inline: labelStyle === "left" || labelStyle === "filter" }) }),
21748
- /* @__PURE__ */ jsx151("div", { ...trussProps90({
21786
+ /* @__PURE__ */ jsx151("div", { ...trussProps91({
21749
21787
  ...labelStyle === "left" ? {
21750
21788
  width: ["w_var", {
21751
21789
  "--width": maybeCssVar40(__maybeInc15(labelLeftFieldWidth))
21752
21790
  }]
21753
21791
  } : {}
21754
- }), children: /* @__PURE__ */ jsx151("div", { "aria-hidden": "true", ...trussProps90({
21792
+ }), children: /* @__PURE__ */ jsx151("div", { "aria-hidden": "true", ...trussProps91({
21755
21793
  ...{
21756
21794
  width: ["w_var", {
21757
21795
  "--width": `${toggleWidth(compact)}px`
@@ -21779,7 +21817,7 @@ function Switch(props) {
21779
21817
  }]
21780
21818
  },
21781
21819
  ...isSelected && isHovered && switchSelectedHoverStyles
21782
- }), children: /* @__PURE__ */ jsx151("div", { ...trussProps90({
21820
+ }), children: /* @__PURE__ */ jsx151("div", { ...trussProps91({
21783
21821
  ...switchCircleDefaultStyles(compact),
21784
21822
  ...isDisabled && {
21785
21823
  backgroundColor: ["bgColor_var", {
@@ -22099,7 +22137,7 @@ import { Observer as Observer17 } from "mobx-react";
22099
22137
  import { useRef as useRef51 } from "react";
22100
22138
  import { useCheckboxGroup as useCheckboxGroup3, useCheckboxGroupItem as useCheckboxGroupItem3, useFocusRing as useFocusRing13, VisuallyHidden as VisuallyHidden8 } from "react-aria";
22101
22139
  import { useCheckboxGroupState as useCheckboxGroupState3 } from "react-stately";
22102
- import { trussProps as trussProps91, maybeCssVar as maybeCssVar41 } from "@homebound/truss/runtime";
22140
+ import { trussProps as trussProps92, maybeCssVar as maybeCssVar41 } from "@homebound/truss/runtime";
22103
22141
  import { jsx as jsx157, jsxs as jsxs82 } from "react/jsx-runtime";
22104
22142
  var __maybeInc16 = (inc) => {
22105
22143
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -22131,7 +22169,7 @@ function ToggleChipGroup(props) {
22131
22169
  } = useCheckboxGroup3(props, state);
22132
22170
  const tid = useTestIds(props, "toggleChip");
22133
22171
  const labelSuffix = useLabelSuffix(required, false);
22134
- return /* @__PURE__ */ jsxs82("div", { ...groupProps, ...trussProps91({
22172
+ return /* @__PURE__ */ jsxs82("div", { ...groupProps, ...trussProps92({
22135
22173
  position: "relative",
22136
22174
  display: "df",
22137
22175
  flexDirection: "fdc",
@@ -22143,7 +22181,7 @@ function ToggleChipGroup(props) {
22143
22181
  } : {}
22144
22182
  }), children: [
22145
22183
  /* @__PURE__ */ jsx157(Label, { label, ...labelProps, hidden: labelStyle === "hidden", inline: labelStyle !== "above", suffix: labelSuffix }),
22146
- /* @__PURE__ */ jsx157("div", { ...trussProps91({
22184
+ /* @__PURE__ */ jsx157("div", { ...trussProps92({
22147
22185
  display: "df",
22148
22186
  gap: "gap1",
22149
22187
  flexWrap: "fww",
@@ -22208,7 +22246,7 @@ function ToggleChip2(props) {
22208
22246
  return maybeTooltip({
22209
22247
  title: tooltip,
22210
22248
  placement: "top",
22211
- children: /* @__PURE__ */ jsxs82("label", { ...trussProps91({
22249
+ children: /* @__PURE__ */ jsxs82("label", { ...trussProps92({
22212
22250
  ...{
22213
22251
  position: "relative",
22214
22252
  display: "dif",
@@ -22304,7 +22342,7 @@ function BoundTreeSelectField(props) {
22304
22342
 
22305
22343
  // src/forms/FormLines.tsx
22306
22344
  import { Children as Children2, cloneElement } from "react";
22307
- import { trussProps as trussProps92, maybeCssVar as maybeCssVar42 } from "@homebound/truss/runtime";
22345
+ import { trussProps as trussProps93, maybeCssVar as maybeCssVar42 } from "@homebound/truss/runtime";
22308
22346
  import { jsx as jsx160 } from "react/jsx-runtime";
22309
22347
  var __maybeInc17 = (inc) => {
22310
22348
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -22340,7 +22378,7 @@ function FormLines(props) {
22340
22378
  fullWidth: true
22341
22379
  } : {}
22342
22380
  };
22343
- return /* @__PURE__ */ jsx160(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ jsx160("div", { ...trussProps92({
22381
+ return /* @__PURE__ */ jsx160(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ jsx160("div", { ...trussProps93({
22344
22382
  display: "df",
22345
22383
  flexDirection: "fdc",
22346
22384
  gap: ["gap_var", {
@@ -22364,7 +22402,7 @@ function FormLines(props) {
22364
22402
  }) }) });
22365
22403
  }
22366
22404
  function FormDivider() {
22367
- return /* @__PURE__ */ jsx160("div", { ...trussProps92({
22405
+ return /* @__PURE__ */ jsx160("div", { ...trussProps93({
22368
22406
  height: "h_1px",
22369
22407
  backgroundColor: ["bgColor_var", {
22370
22408
  "--backgroundColor": "var(--b-surface-separator)"
@@ -22381,7 +22419,7 @@ function FieldGroup(props) {
22381
22419
  const width2 = widths2[i] || 1;
22382
22420
  return typeof width2 === `number` ? `${width2}fr` : width2;
22383
22421
  }).join(" ");
22384
- return /* @__PURE__ */ jsx160("div", { ...trussProps92({
22422
+ return /* @__PURE__ */ jsx160("div", { ...trussProps93({
22385
22423
  display: "dg",
22386
22424
  gap: "gap2",
22387
22425
  gridTemplateColumns: ["gtc_var", {
@@ -22397,7 +22435,7 @@ var sizes = {
22397
22435
  };
22398
22436
 
22399
22437
  // src/forms/BoundForm.tsx
22400
- import { trussProps as trussProps93, maybeCssVar as maybeCssVar43 } from "@homebound/truss/runtime";
22438
+ import { trussProps as trussProps94, maybeCssVar as maybeCssVar43 } from "@homebound/truss/runtime";
22401
22439
  import { jsx as jsx161 } from "react/jsx-runtime";
22402
22440
  import { createElement as createElement5 } from "react";
22403
22441
  var reactNodePrefix = "reactNode";
@@ -22452,7 +22490,7 @@ function FormRow({
22452
22490
  component,
22453
22491
  key,
22454
22492
  minWidth
22455
- }) => /* @__PURE__ */ createElement5("div", { ...trussProps93({
22493
+ }) => /* @__PURE__ */ createElement5("div", { ...trussProps94({
22456
22494
  minWidth: ["mw_var", {
22457
22495
  "--minWidth": maybeCssVar43(minWidth)
22458
22496
  }],
@@ -22602,7 +22640,7 @@ import { useDebouncedCallback as useDebouncedCallback5 } from "use-debounce";
22602
22640
  // src/components/RightSidebar.tsx
22603
22641
  import { AnimatePresence as AnimatePresence2, motion as motion2 } from "framer-motion";
22604
22642
  import { useState as useState40 } from "react";
22605
- import { trussProps as trussProps94, maybeCssVar as maybeCssVar44 } from "@homebound/truss/runtime";
22643
+ import { trussProps as trussProps95, maybeCssVar as maybeCssVar44 } from "@homebound/truss/runtime";
22606
22644
  import { Fragment as Fragment33, jsx as jsx163, jsxs as jsxs83 } from "react/jsx-runtime";
22607
22645
  var __maybeInc18 = (inc) => {
22608
22646
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -22645,7 +22683,7 @@ function RightSidebar({
22645
22683
  duration: 0.2
22646
22684
  },
22647
22685
  x: "100%"
22648
- }, ...trussProps94({
22686
+ }, ...trussProps95({
22649
22687
  width: "w100",
22650
22688
  minWidth: ["mw_var", {
22651
22689
  "--minWidth": maybeCssVar44(RIGHT_SIDEBAR_MIN_WIDTH)
@@ -22658,7 +22696,7 @@ function RightSidebar({
22658
22696
  paddingLeft: "pl4",
22659
22697
  paddingRight: "pr3"
22660
22698
  }), children: /* @__PURE__ */ jsxs83(Fragment33, { children: [
22661
- /* @__PURE__ */ jsxs83("div", { ...trussProps94({
22699
+ /* @__PURE__ */ jsxs83("div", { ...trussProps95({
22662
22700
  position: "sticky",
22663
22701
  top: "top0",
22664
22702
  backgroundColor: ["bgColor_var", {
@@ -22667,7 +22705,7 @@ function RightSidebar({
22667
22705
  }), children: [
22668
22706
  /* @__PURE__ */ jsxs83("div", { className: "absolute l_neg24px top0 df fdc aic", children: [
22669
22707
  /* @__PURE__ */ jsx163(IconButton, { bgColor: "--b-surface" /* Surface */, variant: "circle", onClick: () => setSelectedIcon(void 0), icon: "x", inc: 3.5 }),
22670
- /* @__PURE__ */ jsx163("div", { ...trussProps94({
22708
+ /* @__PURE__ */ jsx163("div", { ...trussProps95({
22671
22709
  position: "absolute",
22672
22710
  top: "tp_48px",
22673
22711
  height: "h_calc_100vh_168px",
@@ -22714,7 +22752,7 @@ function Toast() {
22714
22752
  // src/components/Layout/PageHeaderBreadcrumbs.tsx
22715
22753
  import { Fragment as Fragment35, useMemo as useMemo38, useState as useState41 } from "react";
22716
22754
  import { Link as Link6 } from "react-router-dom";
22717
- import { trussProps as trussProps95, mergeProps as mergeProps25 } from "@homebound/truss/runtime";
22755
+ import { trussProps as trussProps96, mergeProps as mergeProps25 } from "@homebound/truss/runtime";
22718
22756
  import { Fragment as Fragment36, jsx as jsx165, jsxs as jsxs84 } from "react/jsx-runtime";
22719
22757
  function PageHeaderBreadcrumbs({
22720
22758
  breadcrumb
@@ -22726,7 +22764,7 @@ function PageHeaderBreadcrumbs({
22726
22764
  return (
22727
22765
  // Adding index to key to prevent rendering issues when multiple items have the same label
22728
22766
  /* @__PURE__ */ jsxs84(Fragment35, { children: [
22729
- index > 0 && !hideDivisor && /* @__PURE__ */ jsx165("span", { ...trussProps95({
22767
+ index > 0 && !hideDivisor && /* @__PURE__ */ jsx165("span", { ...trussProps96({
22730
22768
  fontWeight: "fw6",
22731
22769
  fontSize: "fz_14px",
22732
22770
  lineHeight: "lh_20px",
@@ -22753,7 +22791,7 @@ function PageHeaderBreadcrumbs({
22753
22791
  }
22754
22792
  return /* @__PURE__ */ jsx165("div", { className: "df aic mb_4px", children: breadcrumbs.length > 3 && collapsed ? /* @__PURE__ */ jsxs84(Fragment36, { children: [
22755
22793
  renderBreadcrumb(breadcrumbs[0], 0),
22756
- /* @__PURE__ */ jsx165("button", { ...tids.expand, ...trussProps95({
22794
+ /* @__PURE__ */ jsx165("button", { ...tids.expand, ...trussProps96({
22757
22795
  color: ["color_var", {
22758
22796
  "--color": "var(--b-on-surface-muted)"
22759
22797
  }],
@@ -22766,7 +22804,7 @@ function PageHeaderBreadcrumbs({
22766
22804
  }
22767
22805
 
22768
22806
  // src/components/Layout/FormPageLayout.tsx
22769
- import { trussProps as trussProps96, maybeCssVar as maybeCssVar45 } from "@homebound/truss/runtime";
22807
+ import { trussProps as trussProps97, maybeCssVar as maybeCssVar45 } from "@homebound/truss/runtime";
22770
22808
  import { jsx as jsx166, jsxs as jsxs85 } from "react/jsx-runtime";
22771
22809
  var headerHeightPx = 120;
22772
22810
  var maxContentWidthPx = 1600;
@@ -22789,7 +22827,7 @@ function FormPageLayoutComponent(props) {
22789
22827
  // since this layout will be replacing most superdrawers/sidebars, we keep the listing mounted below to preserve the users's
22790
22828
  // scroll position & filters
22791
22829
  // Adding "align-items: start" allows "position: sticky" to work within a grid for the sidebars
22792
- /* @__PURE__ */ jsx166("div", { ...trussProps96({
22830
+ /* @__PURE__ */ jsx166("div", { ...trussProps97({
22793
22831
  position: "fixed",
22794
22832
  top: "top0",
22795
22833
  bottom: "bottom0",
@@ -22805,7 +22843,7 @@ function FormPageLayoutComponent(props) {
22805
22843
  display: "df",
22806
22844
  justifyContent: "jcc",
22807
22845
  alignItems: "aifs"
22808
- }), ...tids, children: /* @__PURE__ */ jsxs85("div", { ...trussProps96({
22846
+ }), ...tids, children: /* @__PURE__ */ jsxs85("div", { ...trussProps97({
22809
22847
  width: "w100",
22810
22848
  maxWidth: ["maxw_var", {
22811
22849
  "--maxWidth": `${maxContentWidthPx}px`
@@ -22821,7 +22859,7 @@ function FormPageLayoutComponent(props) {
22821
22859
  /* @__PURE__ */ jsx166(PageHeader, { ...props, ...tids.pageHeader }),
22822
22860
  /* @__PURE__ */ jsx166(LeftNav, { sectionsWithRefs, ...tids }),
22823
22861
  /* @__PURE__ */ jsx166(FormSections, { sectionsWithRefs, formState, ...tids }),
22824
- rightSideBar && /* @__PURE__ */ jsx166("aside", { ...trussProps96({
22862
+ rightSideBar && /* @__PURE__ */ jsx166("aside", { ...trussProps97({
22825
22863
  gridRow: "gr_2",
22826
22864
  gridColumn: "gc_3_4",
22827
22865
  position: "sticky",
@@ -22846,7 +22884,7 @@ function PageHeader(props) {
22846
22884
  notice
22847
22885
  } = useToastContext();
22848
22886
  const tids = useTestIds(props);
22849
- return /* @__PURE__ */ jsxs85("header", { ...trussProps96({
22887
+ return /* @__PURE__ */ jsxs85("header", { ...trussProps97({
22850
22888
  gridRow: "gr_1",
22851
22889
  gridColumn: "gc_1_4",
22852
22890
  position: "sticky",
@@ -22884,7 +22922,7 @@ function FormSections(props) {
22884
22922
  } = props;
22885
22923
  const tids = useTestIds(props);
22886
22924
  const bottomPaddingPx = sectionsWithRefs.length > 1 ? 200 : 0;
22887
- return /* @__PURE__ */ jsx166("article", { ...trussProps96({
22925
+ return /* @__PURE__ */ jsx166("article", { ...trussProps97({
22888
22926
  gridRow: "gr_2",
22889
22927
  gridColumn: "gc_2_3",
22890
22928
  paddingBottom: ["pb_var", {
@@ -22902,7 +22940,7 @@ function FormSections(props) {
22902
22940
  {
22903
22941
  id: sectionKey,
22904
22942
  ref,
22905
- ...trussProps96({
22943
+ ...trussProps97({
22906
22944
  display: "dg",
22907
22945
  gridTemplateColumns: "gtc_50px_1fr",
22908
22946
  gridTemplateRows: "gtr_auto",
@@ -22933,7 +22971,7 @@ function LeftNav(props) {
22933
22971
  section
22934
22972
  }) => !!section.title), [sectionsWithRefs]);
22935
22973
  const activeSection = useActiveSection(sectionWithTitles);
22936
- return /* @__PURE__ */ jsx166("aside", { ...trussProps96({
22974
+ return /* @__PURE__ */ jsx166("aside", { ...trussProps97({
22937
22975
  gridRow: "gr_2",
22938
22976
  gridColumn: "gc_1_2",
22939
22977
  position: "sticky",
@@ -22998,7 +23036,7 @@ function SectionNavLink(props) {
22998
23036
  hoverProps,
22999
23037
  isHovered
23000
23038
  } = useHover2({});
23001
- return /* @__PURE__ */ jsx166("button", { ref: buttonRef, ...buttonProps, ...focusProps, ...hoverProps, ...trussProps96({
23039
+ return /* @__PURE__ */ jsx166("button", { ref: buttonRef, ...buttonProps, ...focusProps, ...hoverProps, ...trussProps97({
23002
23040
  ...{
23003
23041
  fontWeight: "fw6",
23004
23042
  fontSize: "fz_14px",
@@ -23715,7 +23753,7 @@ import { memo as memo2, useMemo as useMemo43, useState as useState47 } from "rea
23715
23753
  import { Fragment as Fragment38, useCallback as useCallback30, useMemo as useMemo42, useRef as useRef58 } from "react";
23716
23754
  import { useMenuTrigger as useMenuTrigger4 } from "react-aria";
23717
23755
  import { useMenuTriggerState as useMenuTriggerState4 } from "react-stately";
23718
- import { trussProps as trussProps97 } from "@homebound/truss/runtime";
23756
+ import { trussProps as trussProps98 } from "@homebound/truss/runtime";
23719
23757
  import { jsx as jsx171, jsxs as jsxs87 } from "react/jsx-runtime";
23720
23758
  function EditColumnsButton(props) {
23721
23759
  const {
@@ -23764,7 +23802,7 @@ function EditColumnsButton(props) {
23764
23802
  label: "",
23765
23803
  size: "md",
23766
23804
  variant: "secondaryBlack"
23767
- }, menuTriggerProps, state, buttonRef, ...tid, children: /* @__PURE__ */ jsxs87("div", { ...trussProps97({
23805
+ }, menuTriggerProps, state, buttonRef, ...tid, children: /* @__PURE__ */ jsxs87("div", { ...trussProps98({
23768
23806
  display: "df",
23769
23807
  flexDirection: "fdc",
23770
23808
  backgroundColor: ["bgColor_var", {
@@ -23781,7 +23819,7 @@ function EditColumnsButton(props) {
23781
23819
  /* @__PURE__ */ jsx171("div", { className: "fw4 fz_14px lh_20px wsnw oh to_ellipsis pr1", children: option.label }),
23782
23820
  /* @__PURE__ */ jsx171(Switch, { compact: true, selected: selectedValues.includes(option.value), onChange: (value) => setSelectedValues(value ? [...selectedValues, option.value] : selectedValues.filter((v) => v !== option.value)), labelStyle: "hidden", label: option.label, ...tid[`option${option.value}`] })
23783
23821
  ] }, option.value)) }),
23784
- /* @__PURE__ */ jsx171("div", { ...trussProps97({
23822
+ /* @__PURE__ */ jsx171("div", { ...trussProps98({
23785
23823
  display: "df",
23786
23824
  justifyContent: "jcc",
23787
23825
  paddingTop: "pt2",
@@ -23823,7 +23861,7 @@ import { useDebouncedCallback as useDebouncedCallback6 } from "use-debounce";
23823
23861
  import { StringParam as StringParam2, useQueryParams as useQueryParams3 } from "use-query-params";
23824
23862
 
23825
23863
  // src/components/Layout/GridTableLayout/FilterPanel.tsx
23826
- import { trussProps as trussProps98 } from "@homebound/truss/runtime";
23864
+ import { trussProps as trussProps99 } from "@homebound/truss/runtime";
23827
23865
 
23828
23866
  // src/components/Layout/GridTableLayout/GroupByField.tsx
23829
23867
  import { jsx as jsx173 } from "react/jsx-runtime";
@@ -23859,7 +23897,7 @@ function FilterPanelOpen({
23859
23897
  const inDocumentScrollLayout = useDocumentScrollLayout();
23860
23898
  const activeFilterCount = getActiveFilterCount(filter ?? {});
23861
23899
  const filterControls = filter && setFilter ? buildFilterControls(filterImpls, filter, setFilter, tid) : null;
23862
- return /* @__PURE__ */ jsxs88("div", { ...trussProps98({
23900
+ return /* @__PURE__ */ jsxs88("div", { ...trussProps99({
23863
23901
  ...{
23864
23902
  display: "df",
23865
23903
  alignItems: "aic",
@@ -23891,7 +23929,7 @@ function FilterPanelClosed({
23891
23929
  if (!filter || !setFilter) return null;
23892
23930
  const chips = safeEntries(filterImpls).flatMap(([key, f]) => chipsForFilterKey(key, f, filter, setFilter, tid));
23893
23931
  if (chips.length === 0) return null;
23894
- return /* @__PURE__ */ jsxs88("div", { ...trussProps98({
23932
+ return /* @__PURE__ */ jsxs88("div", { ...trussProps99({
23895
23933
  display: "df",
23896
23934
  gap: "gap1",
23897
23935
  alignItems: "aic",
@@ -23932,7 +23970,7 @@ function chipsForFilterKey(key, f, filter, onChange, testId) {
23932
23970
  }
23933
23971
 
23934
23972
  // src/components/Layout/GridTableLayout/GridTableLayoutActions.tsx
23935
- import { trussProps as trussProps99 } from "@homebound/truss/runtime";
23973
+ import { trussProps as trussProps100 } from "@homebound/truss/runtime";
23936
23974
  import { jsx as jsx175, jsxs as jsxs89 } from "react/jsx-runtime";
23937
23975
  function GridTableLayoutActionsComponent(props) {
23938
23976
  const {
@@ -23996,7 +24034,7 @@ function GridTableLayoutActionsComponent(props) {
23996
24034
  }
23997
24035
  };
23998
24036
  }
23999
- return /* @__PURE__ */ jsxs89("div", { ...trussProps99({
24037
+ return /* @__PURE__ */ jsxs89("div", { ...trussProps100({
24000
24038
  display: "df",
24001
24039
  flexDirection: "fdc",
24002
24040
  gap: "gap1",
@@ -24005,7 +24043,7 @@ function GridTableLayoutActionsComponent(props) {
24005
24043
  paddingBottom: "pb3"
24006
24044
  } : {}
24007
24045
  }), children: [
24008
- /* @__PURE__ */ jsxs89("div", { ...trussProps99({
24046
+ /* @__PURE__ */ jsxs89("div", { ...trussProps100({
24009
24047
  ...{
24010
24048
  display: "df",
24011
24049
  gap: "gap1",
@@ -24030,7 +24068,7 @@ function GridTableLayoutActionsComponent(props) {
24030
24068
  !!actions?.length && /* @__PURE__ */ jsx175(HeaderActions, { actions, ...testId.actions })
24031
24069
  ] })
24032
24070
  ] }),
24033
- sm && showSearch && /* @__PURE__ */ jsx175("div", { ...trussProps99(pageContentPaddingX), children: searchTextField }),
24071
+ sm && showSearch && /* @__PURE__ */ jsx175("div", { ...trussProps100(pageContentPaddingX), children: searchTextField }),
24034
24072
  hasFilterControls && !showInlineControl && /* @__PURE__ */ jsx175(FilterPanel, { isOpen: showFilters, groupBy, filterImpls, filter, setFilter, onClear: clearFilters })
24035
24073
  ] });
24036
24074
  }
@@ -24102,7 +24140,7 @@ function parseStoredTableView(raw) {
24102
24140
  }
24103
24141
 
24104
24142
  // src/components/Layout/GridTableLayout/GridTableLayout.tsx
24105
- import { trussProps as trussProps100, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
24143
+ import { trussProps as trussProps101, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
24106
24144
  import { Fragment as Fragment40, jsx as jsx177, jsxs as jsxs91 } from "react/jsx-runtime";
24107
24145
  var __maybeInc21 = (inc) => {
24108
24146
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -24160,7 +24198,7 @@ function GridTableLayoutComponent(props) {
24160
24198
  as: cardAs
24161
24199
  } : {}, api, emptyState, filter: clientSearch, style: tableStyle, stickyHeader: true, disableColumnResizing: false, visibleColumnsStorageKey, columnGutter: inDocumentScrollLayout }) });
24162
24200
  const tableScrollContent = /* @__PURE__ */ jsxs91(Fragment40, { children: [
24163
- showTableActions && /* @__PURE__ */ jsx177("div", { ref: tableActionsRef, ...trussProps100({
24201
+ showTableActions && /* @__PURE__ */ jsx177("div", { ref: tableActionsRef, ...trussProps101({
24164
24202
  ...inDocumentScrollLayout ? {
24165
24203
  transition: "transitionTop",
24166
24204
  position: "sticky",
@@ -24183,7 +24221,7 @@ function GridTableLayoutComponent(props) {
24183
24221
  }), ...tid.stickyContent, children: tableActionsEl }),
24184
24222
  inDocumentScrollLayout ? (
24185
24223
  // Scope the pane to the table only — actions stay outside so they remain full-bleed sticky chrome.
24186
- rightPane ? /* @__PURE__ */ jsx177(DocumentScrollOverlayRightPaneLayout, { paneWidth: rightPane.width, children: /* @__PURE__ */ jsx177("div", { ...trussProps100({
24224
+ rightPane ? /* @__PURE__ */ jsx177(DocumentScrollOverlayRightPaneLayout, { paneWidth: rightPane.width, children: /* @__PURE__ */ jsx177("div", { ...trussProps101({
24187
24225
  minWidth: ["mw_var", {
24188
24226
  "--minWidth": maybeCssVar48(documentScrollRightPaneContentMinCss())
24189
24227
  }]
@@ -24314,7 +24352,7 @@ function PreventBrowserScroll({
24314
24352
  // src/components/Layout/RightPaneLayout/RightPaneLayout.tsx
24315
24353
  import { AnimatePresence as AnimatePresence4, motion as motion4 } from "framer-motion";
24316
24354
  import { useEffect as useEffect29 } from "react";
24317
- import { trussProps as trussProps101, maybeCssVar as maybeCssVar49 } from "@homebound/truss/runtime";
24355
+ import { trussProps as trussProps102, maybeCssVar as maybeCssVar49 } from "@homebound/truss/runtime";
24318
24356
  import { Fragment as Fragment41, jsx as jsx179, jsxs as jsxs92 } from "react/jsx-runtime";
24319
24357
  var __maybeInc22 = (inc) => {
24320
24358
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -24334,7 +24372,7 @@ function RightPaneLayout(props) {
24334
24372
  const rightPaneContent = useRightPaneContent();
24335
24373
  useEffect29(() => closePane2, [closePane2]);
24336
24374
  return /* @__PURE__ */ jsx179("div", { className: "h100 df oxh", children: /* @__PURE__ */ jsxs92(Fragment41, { children: [
24337
- /* @__PURE__ */ jsx179("div", { ...trussProps101({
24375
+ /* @__PURE__ */ jsx179("div", { ...trussProps102({
24338
24376
  ...{
24339
24377
  width: ["w_var", {
24340
24378
  "--width": maybeCssVar49(__maybeInc22(`calc(100% - ${paneWidth + 24}px)`))
@@ -24359,7 +24397,7 @@ function RightPaneLayout(props) {
24359
24397
  } : {}
24360
24398
  }
24361
24399
  }), children }),
24362
- /* @__PURE__ */ jsxs92("div", { ...trussProps101({
24400
+ /* @__PURE__ */ jsxs92("div", { ...trussProps102({
24363
24401
  position: "relative",
24364
24402
  ...!!defaultPaneContent ? {
24365
24403
  width: ["w_var", {
@@ -24367,7 +24405,7 @@ function RightPaneLayout(props) {
24367
24405
  }]
24368
24406
  } : {}
24369
24407
  }), children: [
24370
- defaultPaneContent && /* @__PURE__ */ jsx179("div", { ...trussProps101({
24408
+ defaultPaneContent && /* @__PURE__ */ jsx179("div", { ...trussProps102({
24371
24409
  height: "h100",
24372
24410
  width: ["w_var", {
24373
24411
  "--width": `${paneWidth}px`
@@ -24385,7 +24423,7 @@ function RightPaneLayout(props) {
24385
24423
  {
24386
24424
  layout: "position",
24387
24425
  "data-testid": "rightPaneContent",
24388
- ...trussProps101({
24426
+ ...trussProps102({
24389
24427
  backgroundColor: ["bgColor_var", {
24390
24428
  "--backgroundColor": maybeCssVar49(paneBgColor)
24391
24429
  }],
@@ -24422,7 +24460,7 @@ function RightPaneLayout(props) {
24422
24460
  }
24423
24461
 
24424
24462
  // src/components/Layout/RightPaneLayout/RightPanePanel.tsx
24425
- import { trussProps as trussProps102 } from "@homebound/truss/runtime";
24463
+ import { trussProps as trussProps103 } from "@homebound/truss/runtime";
24426
24464
  import { jsx as jsx180, jsxs as jsxs93 } from "react/jsx-runtime";
24427
24465
  function RightPanePanel(props) {
24428
24466
  const {
@@ -24435,7 +24473,7 @@ function RightPanePanel(props) {
24435
24473
  closeRightPane
24436
24474
  } = useRightPaneActions();
24437
24475
  return /* @__PURE__ */ jsxs93("div", { className: "relative df fdc h100", ...tid, children: [
24438
- /* @__PURE__ */ jsxs93("div", { ...trussProps102({
24476
+ /* @__PURE__ */ jsxs93("div", { ...trussProps103({
24439
24477
  display: "df",
24440
24478
  alignItems: "aic",
24441
24479
  justifyContent: "jcsb",
@@ -24496,7 +24534,7 @@ function SidePanel(props) {
24496
24534
  }
24497
24535
 
24498
24536
  // src/components/Layout/TableReviewLayout/TableReviewLayout.tsx
24499
- import { trussProps as trussProps103, maybeCssVar as maybeCssVar50 } from "@homebound/truss/runtime";
24537
+ import { trussProps as trussProps104, maybeCssVar as maybeCssVar50 } from "@homebound/truss/runtime";
24500
24538
  import { jsx as jsx183, jsxs as jsxs95 } from "react/jsx-runtime";
24501
24539
  var defaultRightPaneWidth = 450;
24502
24540
  function TableReviewLayout(props) {
@@ -24538,7 +24576,7 @@ function TableReviewLayout(props) {
24538
24576
  bordered: true
24539
24577
  }, stickyHeader: true });
24540
24578
  }
24541
- return /* @__PURE__ */ jsxs95("div", { ...trussProps103({
24579
+ return /* @__PURE__ */ jsxs95("div", { ...trussProps104({
24542
24580
  position: "fixed",
24543
24581
  top: "top0",
24544
24582
  bottom: "bottom0",
@@ -24562,7 +24600,7 @@ function TableReviewLayout(props) {
24562
24600
  ] }),
24563
24601
  /* @__PURE__ */ jsx183(Button, { label: "Close", onClick: closeAction, ...tid.closeButton })
24564
24602
  ] }),
24565
- /* @__PURE__ */ jsx183("div", { ...trussProps103({
24603
+ /* @__PURE__ */ jsx183("div", { ...trussProps104({
24566
24604
  fontWeight: "fw4",
24567
24605
  fontSize: "fz_14px",
24568
24606
  lineHeight: "lh_20px",
@@ -24573,7 +24611,7 @@ function TableReviewLayout(props) {
24573
24611
  }), ...tid.description, children: description })
24574
24612
  ] }),
24575
24613
  /* @__PURE__ */ jsxs95("div", { className: "fg1 df mh0", ...tid.content, children: [
24576
- /* @__PURE__ */ jsx183("div", { ...trussProps103({
24614
+ /* @__PURE__ */ jsx183("div", { ...trussProps104({
24577
24615
  ...{
24578
24616
  flexGrow: "fg1",
24579
24617
  overflowY: "oya",
@@ -24598,7 +24636,7 @@ function TableReviewLayout(props) {
24598
24636
  }, className: "df fdc fs0 relative", children: [
24599
24637
  /* @__PURE__ */ jsxs95("div", { className: "absolute tp_neg32px df fdc aic l_neg24px z1", children: [
24600
24638
  /* @__PURE__ */ jsx183(IconButton, { bgColor: "--b-surface" /* Surface */, variant: "circle", icon: "x", inc: 3.5, onClick: handleClosePanel, ...tid.closePanelButton }),
24601
- /* @__PURE__ */ jsx183("div", { ...trussProps103({
24639
+ /* @__PURE__ */ jsx183("div", { ...trussProps104({
24602
24640
  width: "w_1px",
24603
24641
  backgroundColor: ["bgColor_var", {
24604
24642
  "--backgroundColor": "var(--b-field-border-default)"
@@ -24613,7 +24651,7 @@ function TableReviewLayout(props) {
24613
24651
  }
24614
24652
 
24615
24653
  // src/components/Logos/BeamLogo.tsx
24616
- import { trussProps as trussProps104, maybeCssVar as maybeCssVar51 } from "@homebound/truss/runtime";
24654
+ import { trussProps as trussProps105, maybeCssVar as maybeCssVar51 } from "@homebound/truss/runtime";
24617
24655
  import { jsx as jsx184, jsxs as jsxs96 } from "react/jsx-runtime";
24618
24656
  var __maybeInc23 = (inc) => {
24619
24657
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -24624,7 +24662,7 @@ function BeamLogo(props) {
24624
24662
  width: width2 = "auto",
24625
24663
  height = "auto"
24626
24664
  } = props;
24627
- return /* @__PURE__ */ jsxs96("svg", { viewBox: "0 0 500 500", xmlns: "http://www.w3.org/2000/svg", ...trussProps104({
24665
+ return /* @__PURE__ */ jsxs96("svg", { viewBox: "0 0 500 500", xmlns: "http://www.w3.org/2000/svg", ...trussProps105({
24628
24666
  fill: ["fill_var", {
24629
24667
  "--fill": maybeCssVar51(fill)
24630
24668
  }],
@@ -24647,7 +24685,7 @@ function BeamLogo(props) {
24647
24685
  }
24648
24686
 
24649
24687
  // src/components/Logos/HomeboundLogo.tsx
24650
- import { trussProps as trussProps105, maybeCssVar as maybeCssVar52 } from "@homebound/truss/runtime";
24688
+ import { trussProps as trussProps106, maybeCssVar as maybeCssVar52 } from "@homebound/truss/runtime";
24651
24689
  import { jsx as jsx185 } from "react/jsx-runtime";
24652
24690
  var __maybeInc24 = (inc) => {
24653
24691
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -24658,7 +24696,7 @@ function HomeboundLogo(props) {
24658
24696
  width: width2 = "auto",
24659
24697
  height = "auto"
24660
24698
  } = props;
24661
- return /* @__PURE__ */ jsx185("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...trussProps105({
24699
+ return /* @__PURE__ */ jsx185("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...trussProps106({
24662
24700
  fill: ["fill_var", {
24663
24701
  "--fill": maybeCssVar52(fill)
24664
24702
  }],
@@ -24674,7 +24712,7 @@ function HomeboundLogo(props) {
24674
24712
  // src/components/MaxLines.tsx
24675
24713
  import { useLayoutEffect as useLayoutEffect10, useResizeObserver as useResizeObserver9 } from "@react-aria/utils";
24676
24714
  import { useCallback as useCallback33, useEffect as useEffect31, useRef as useRef60, useState as useState51 } from "react";
24677
- import { trussProps as trussProps106, maybeCssVar as maybeCssVar53 } from "@homebound/truss/runtime";
24715
+ import { trussProps as trussProps107, maybeCssVar as maybeCssVar53 } from "@homebound/truss/runtime";
24678
24716
  import { jsx as jsx186, jsxs as jsxs97 } from "react/jsx-runtime";
24679
24717
  function MaxLines({
24680
24718
  maxLines,
@@ -24699,7 +24737,7 @@ function MaxLines({
24699
24737
  onResize
24700
24738
  });
24701
24739
  return /* @__PURE__ */ jsxs97("div", { children: [
24702
- /* @__PURE__ */ jsx186("div", { ref: elRef, ...trussProps106({
24740
+ /* @__PURE__ */ jsx186("div", { ref: elRef, ...trussProps107({
24703
24741
  ...!expanded ? {
24704
24742
  WebkitLineClamp: ["lineClamp_var", {
24705
24743
  "--WebkitLineClamp": maybeCssVar53(maxLines)
@@ -24715,7 +24753,7 @@ function MaxLines({
24715
24753
  }
24716
24754
 
24717
24755
  // src/components/Pagination.tsx
24718
- import { trussProps as trussProps107 } from "@homebound/truss/runtime";
24756
+ import { trussProps as trussProps108 } from "@homebound/truss/runtime";
24719
24757
  import { jsx as jsx187, jsxs as jsxs98 } from "react/jsx-runtime";
24720
24758
  var defaultPage = {
24721
24759
  offset: 0,
@@ -24748,7 +24786,7 @@ function Pagination(props) {
24748
24786
  }
24749
24787
  }
24750
24788
  const tid = useTestIds(props, "pagination");
24751
- return /* @__PURE__ */ jsxs98("div", { ...trussProps107({
24789
+ return /* @__PURE__ */ jsxs98("div", { ...trussProps108({
24752
24790
  display: "df",
24753
24791
  borderColor: ["bc_var", {
24754
24792
  "--borderColor": "var(--b-surface-separator)"
@@ -24806,7 +24844,7 @@ function toPageNumberSize(page) {
24806
24844
  // src/components/ScrollShadows.tsx
24807
24845
  import { useResizeObserver as useResizeObserver10 } from "@react-aria/utils";
24808
24846
  import { useCallback as useCallback34, useMemo as useMemo46, useRef as useRef61, useState as useState52 } from "react";
24809
- import { trussProps as trussProps108, maybeCssVar as maybeCssVar54 } from "@homebound/truss/runtime";
24847
+ import { trussProps as trussProps109, maybeCssVar as maybeCssVar54 } from "@homebound/truss/runtime";
24810
24848
  import { jsx as jsx188, jsxs as jsxs99 } from "react/jsx-runtime";
24811
24849
  function ScrollShadows(props) {
24812
24850
  const {
@@ -24897,7 +24935,7 @@ function ScrollShadows(props) {
24897
24935
  ref: scrollRef,
24898
24936
  onResize
24899
24937
  });
24900
- return /* @__PURE__ */ jsxs99("div", { ...trussProps108({
24938
+ return /* @__PURE__ */ jsxs99("div", { ...trussProps109({
24901
24939
  display: "df",
24902
24940
  flexDirection: ["fd_var", {
24903
24941
  "--flexDirection": maybeCssVar54(!horizontal ? "column" : "row")
@@ -24913,7 +24951,7 @@ function ScrollShadows(props) {
24913
24951
  width: width2
24914
24952
  }
24915
24953
  }), ...tid, children: [
24916
- /* @__PURE__ */ jsx188("div", { ...trussProps108({
24954
+ /* @__PURE__ */ jsx188("div", { ...trussProps109({
24917
24955
  ...startShadowStyles,
24918
24956
  ...{
24919
24957
  opacity: ["o_var", {
@@ -24921,7 +24959,7 @@ function ScrollShadows(props) {
24921
24959
  }]
24922
24960
  }
24923
24961
  }), "data-chromatic": "ignore" }),
24924
- /* @__PURE__ */ jsx188("div", { ...trussProps108({
24962
+ /* @__PURE__ */ jsx188("div", { ...trussProps109({
24925
24963
  ...endShadowStyles,
24926
24964
  ...{
24927
24965
  opacity: ["o_var", {
@@ -24929,7 +24967,7 @@ function ScrollShadows(props) {
24929
24967
  }]
24930
24968
  }
24931
24969
  }), "data-chromatic": "ignore" }),
24932
- /* @__PURE__ */ jsx188("div", { ...trussProps108({
24970
+ /* @__PURE__ */ jsx188("div", { ...trussProps109({
24933
24971
  ...xss,
24934
24972
  ...{
24935
24973
  overflow: "oa",
@@ -24951,7 +24989,7 @@ import { useCallback as useCallback36, useEffect as useEffect32, useMemo as useM
24951
24989
  // src/components/AppNav/AppNavGroupTrigger.tsx
24952
24990
  import { useMemo as useMemo47, useRef as useRef62 } from "react";
24953
24991
  import { mergeProps as mergeProps30, useButton as useButton11, useFocusRing as useFocusRing15, useHover as useHover18 } from "react-aria";
24954
- import { trussProps as trussProps109, mergeProps as mergeProps_14 } from "@homebound/truss/runtime";
24992
+ import { trussProps as trussProps110, mergeProps as mergeProps_14 } from "@homebound/truss/runtime";
24955
24993
  import { jsx as jsx189, jsxs as jsxs100 } from "react/jsx-runtime";
24956
24994
  function AppNavGroupTrigger(props) {
24957
24995
  const {
@@ -25002,7 +25040,7 @@ function AppNavGroupTrigger(props) {
25002
25040
  })
25003
25041
  }), children: [
25004
25042
  label,
25005
- /* @__PURE__ */ jsx189("div", { ...trussProps109({
25043
+ /* @__PURE__ */ jsx189("div", { ...trussProps110({
25006
25044
  ...{
25007
25045
  display: "df",
25008
25046
  alignItems: "aic",
@@ -25155,7 +25193,7 @@ function useAppNavGroupExpanded(linkGroup) {
25155
25193
  }
25156
25194
 
25157
25195
  // src/components/AppNav/AppNavGroup.tsx
25158
- import { trussProps as trussProps110, maybeCssVar as maybeCssVar55 } from "@homebound/truss/runtime";
25196
+ import { trussProps as trussProps111, maybeCssVar as maybeCssVar55 } from "@homebound/truss/runtime";
25159
25197
  import { Fragment as Fragment43, jsx as jsx190, jsxs as jsxs101 } from "react/jsx-runtime";
25160
25198
  var __maybeInc25 = (inc) => {
25161
25199
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -25200,7 +25238,7 @@ function AppNavGroupDisclosure(props) {
25200
25238
  });
25201
25239
  return /* @__PURE__ */ jsxs101("div", { className: "df fdc", ...tid, children: [
25202
25240
  /* @__PURE__ */ jsx190(AppNavGroupTrigger, { label: linkGroup.label, navGroupId, expanded, active: linkGroupHasActiveLink(linkGroup), onClick: onToggle, ...tid }),
25203
- /* @__PURE__ */ jsx190("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...trussProps110({
25241
+ /* @__PURE__ */ jsx190("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...trussProps111({
25204
25242
  overflow: "oh",
25205
25243
  transition: "transitionHeight",
25206
25244
  height: ["h_var", {
@@ -25234,7 +25272,7 @@ function AppNavGroupMenu({
25234
25272
  }
25235
25273
 
25236
25274
  // src/components/AppNav/AppNavSectionView.tsx
25237
- import { trussProps as trussProps111 } from "@homebound/truss/runtime";
25275
+ import { trussProps as trussProps112 } from "@homebound/truss/runtime";
25238
25276
  import { jsx as jsx192, jsxs as jsxs102 } from "react/jsx-runtime";
25239
25277
  function AppNavSectionView(props) {
25240
25278
  const {
@@ -25261,7 +25299,7 @@ function AppNavSectionView(props) {
25261
25299
  "--borderColor": "var(--b-surface-separator)"
25262
25300
  }]
25263
25301
  };
25264
- return /* @__PURE__ */ jsxs102("div", { ...trussProps111({
25302
+ return /* @__PURE__ */ jsxs102("div", { ...trussProps112({
25265
25303
  ...{
25266
25304
  display: "df",
25267
25305
  flexDirection: "fdc",
@@ -25269,7 +25307,7 @@ function AppNavSectionView(props) {
25269
25307
  },
25270
25308
  ...showDivider ? dividerStyles : {}
25271
25309
  }), ...tid, children: [
25272
- section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ jsx192("div", { ...trussProps111({
25310
+ section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ jsx192("div", { ...trussProps112({
25273
25311
  fontWeight: "fw6",
25274
25312
  fontSize: "fz_10px",
25275
25313
  lineHeight: "lh_14px",
@@ -25403,7 +25441,7 @@ function useHasSideNavLayoutProvider() {
25403
25441
  }
25404
25442
 
25405
25443
  // src/components/SideNav/SideNav.tsx
25406
- import { trussProps as trussProps112 } from "@homebound/truss/runtime";
25444
+ import { trussProps as trussProps113 } from "@homebound/truss/runtime";
25407
25445
  import { jsx as jsx195, jsxs as jsxs103 } from "react/jsx-runtime";
25408
25446
  function SideNav(props) {
25409
25447
  const {
@@ -25420,7 +25458,7 @@ function SideNav(props) {
25420
25458
  const hideContent = panelCollapsed && !showContentWhenCollapsed;
25421
25459
  const hideItems = hideContent || panelCollapsed && !allItemsHaveIcons(items);
25422
25460
  return /* @__PURE__ */ jsxs103("nav", { className: "df fdc h100 fs0", ...tid, children: [
25423
- !hideContent && top !== void 0 && /* @__PURE__ */ jsx195("div", { ...trussProps112({
25461
+ !hideContent && top !== void 0 && /* @__PURE__ */ jsx195("div", { ...trussProps113({
25424
25462
  flexShrink: "fs0",
25425
25463
  paddingLeft: "pl2",
25426
25464
  paddingRight: "pr2",
@@ -25431,7 +25469,7 @@ function SideNav(props) {
25431
25469
  paddingBottom: "pb4"
25432
25470
  } : {}
25433
25471
  }), ...tid.top, children: top }),
25434
- !hideContent && /* @__PURE__ */ jsx195("div", { ...trussProps112({
25472
+ !hideContent && /* @__PURE__ */ jsx195("div", { ...trussProps113({
25435
25473
  flexGrow: "fg1",
25436
25474
  overflowY: "oya",
25437
25475
  display: "df",
@@ -25444,7 +25482,7 @@ function SideNav(props) {
25444
25482
  paddingTop: "pt5"
25445
25483
  } : {}
25446
25484
  }), ...tid.items, children: !hideItems && /* @__PURE__ */ jsx195(AppNavItems, { items, panelCollapsed }) }),
25447
- !hideContent && footer !== void 0 && /* @__PURE__ */ jsx195("div", { ...trussProps112({
25485
+ !hideContent && footer !== void 0 && /* @__PURE__ */ jsx195("div", { ...trussProps113({
25448
25486
  flexShrink: "fs0",
25449
25487
  paddingLeft: "pl2",
25450
25488
  paddingRight: "pr2",
@@ -25462,7 +25500,7 @@ function SideNav(props) {
25462
25500
  // src/components/Stepper.tsx
25463
25501
  import { useRef as useRef64 } from "react";
25464
25502
  import { useButton as useButton12, useFocusRing as useFocusRing16, useHover as useHover19 } from "react-aria";
25465
- import { trussProps as trussProps113, maybeCssVar as maybeCssVar56 } from "@homebound/truss/runtime";
25503
+ import { trussProps as trussProps114, maybeCssVar as maybeCssVar56 } from "@homebound/truss/runtime";
25466
25504
  import { jsx as jsx196, jsxs as jsxs104 } from "react/jsx-runtime";
25467
25505
  import { createElement as createElement6 } from "react";
25468
25506
  var __maybeInc26 = (inc) => {
@@ -25483,7 +25521,7 @@ function Stepper(props) {
25483
25521
  const minStepWidth = 100;
25484
25522
  const gap = 8;
25485
25523
  return /* @__PURE__ */ jsxs104("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
25486
- /* @__PURE__ */ jsx196("ol", { ...trussProps113({
25524
+ /* @__PURE__ */ jsx196("ol", { ...trussProps114({
25487
25525
  padding: "p_0",
25488
25526
  margin: "m_0",
25489
25527
  listStyle: "lis_none",
@@ -25493,7 +25531,7 @@ function Stepper(props) {
25493
25531
  }]
25494
25532
  }), children: steps.map((step) => {
25495
25533
  const isCurrent = currentStep === step.value;
25496
- return /* @__PURE__ */ createElement6("li", { ...trussProps113({
25534
+ return /* @__PURE__ */ createElement6("li", { ...trussProps114({
25497
25535
  display: "df",
25498
25536
  flexGrow: "fg1",
25499
25537
  flexDirection: "fdc",
@@ -25505,7 +25543,7 @@ function Stepper(props) {
25505
25543
  }]
25506
25544
  }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ jsx196(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
25507
25545
  }) }),
25508
- /* @__PURE__ */ jsx196("div", { ...trussProps113({
25546
+ /* @__PURE__ */ jsx196("div", { ...trussProps114({
25509
25547
  marginTop: "mt1",
25510
25548
  backgroundColor: ["bgColor_var", {
25511
25549
  "--backgroundColor": "var(--b-field-border-default)"
@@ -25518,7 +25556,7 @@ function Stepper(props) {
25518
25556
  "--minWidth": `${steps.length * minStepWidth + (steps.length - 1) * gap}px`
25519
25557
  }],
25520
25558
  width: "w100"
25521
- }), children: /* @__PURE__ */ jsx196("div", { ...trussProps113({
25559
+ }), children: /* @__PURE__ */ jsx196("div", { ...trussProps114({
25522
25560
  backgroundColor: ["bgColor_var", {
25523
25561
  "--backgroundColor": "var(--b-primary)"
25524
25562
  }],
@@ -25561,7 +25599,7 @@ function StepButton(props) {
25561
25599
  boxShadow: "bshFocus"
25562
25600
  };
25563
25601
  const tid = useTestIds(props, "stepButton");
25564
- return /* @__PURE__ */ jsxs104("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...trussProps113({
25602
+ return /* @__PURE__ */ jsxs104("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...trussProps114({
25565
25603
  ...{
25566
25604
  fontWeight: "fw6",
25567
25605
  fontSize: "fz_14px",
@@ -25638,7 +25676,7 @@ function StepIcon({
25638
25676
  if (state === "complete") {
25639
25677
  return /* @__PURE__ */ jsx196(Icon, { icon: "check" });
25640
25678
  }
25641
- return /* @__PURE__ */ jsx196("div", { className: "h_24px w_24px df aic jcc", children: /* @__PURE__ */ jsx196("div", { ...trussProps113({
25679
+ return /* @__PURE__ */ jsx196("div", { className: "h_24px w_24px df aic jcc", children: /* @__PURE__ */ jsx196("div", { ...trussProps114({
25642
25680
  height: "h_10px",
25643
25681
  width: "w_10px",
25644
25682
  borderStyle: "bss",
@@ -25654,7 +25692,7 @@ function StepIcon({
25654
25692
  // src/components/StepperTabs/StepperTab.tsx
25655
25693
  import { useRef as useRef65 } from "react";
25656
25694
  import { mergeProps as mergeProps31, useButton as useButton13, useFocusRing as useFocusRing17, useHover as useHover20, VisuallyHidden as VisuallyHidden9 } from "react-aria";
25657
- import { trussProps as trussProps114 } from "@homebound/truss/runtime";
25695
+ import { trussProps as trussProps115 } from "@homebound/truss/runtime";
25658
25696
  import { Fragment as Fragment45, jsx as jsx197, jsxs as jsxs105 } from "react/jsx-runtime";
25659
25697
  function StepperTab(props) {
25660
25698
  const {
@@ -25686,7 +25724,7 @@ function StepperTab(props) {
25686
25724
  const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
25687
25725
  const isFocusVisible = __storyState?.focusVisible ?? isFocusVisibleFromEvents;
25688
25726
  const tid = useTestIds(props, "stepperTab");
25689
- return /* @__PURE__ */ jsxs105("button", { ref, ...mergeProps31(buttonProps, focusProps, hoverProps), "aria-label": label, ...trussProps114({
25727
+ return /* @__PURE__ */ jsxs105("button", { ref, ...mergeProps31(buttonProps, focusProps, hoverProps), "aria-label": label, ...trussProps115({
25690
25728
  ...stepperTabStyles.baseStyles,
25691
25729
  ...getStateStyles(active, completed),
25692
25730
  ...isHovered && !disabled ? stepperTabStyles.hoverStyles : {},
@@ -25697,7 +25735,7 @@ function StepperTab(props) {
25697
25735
  !collapsed && /* @__PURE__ */ jsxs105(Fragment45, { children: [
25698
25736
  /* @__PURE__ */ jsxs105("span", { className: "dg jic mw0", children: [
25699
25737
  /* @__PURE__ */ jsx197("span", { className: "fw6 fz_14px lh_20px vis_hidden ga_1_1 oh d_negwebkit_box wbo_vertical to_ellipsis wlc_1 wdb_break_all", "aria-hidden": true, children: label }),
25700
- /* @__PURE__ */ jsx197("span", { ...trussProps114({
25738
+ /* @__PURE__ */ jsx197("span", { ...trussProps115({
25701
25739
  gridArea: "ga_1_1",
25702
25740
  overflow: "oh",
25703
25741
  display: "d_negwebkit_box",
@@ -25712,7 +25750,7 @@ function StepperTab(props) {
25712
25750
  } : {}
25713
25751
  }), children: label })
25714
25752
  ] }),
25715
- /* @__PURE__ */ jsx197("span", { ...trussProps114({
25753
+ /* @__PURE__ */ jsx197("span", { ...trussProps115({
25716
25754
  flexShrink: "fs0",
25717
25755
  marginLeft: "ml1",
25718
25756
  transition: "transitionAll",
@@ -25724,7 +25762,7 @@ function StepperTab(props) {
25724
25762
  } : {}
25725
25763
  }), children: /* @__PURE__ */ jsx197(Icon, { icon: "check", inc: 2.5, ...tid.check }) })
25726
25764
  ] }),
25727
- /* @__PURE__ */ jsx197("span", { "aria-hidden": true, ...trussProps114(getIndicatorStyles(active, completed, disabled)), ...tid.indicator }),
25765
+ /* @__PURE__ */ jsx197("span", { "aria-hidden": true, ...trussProps115(getIndicatorStyles(active, completed, disabled)), ...tid.indicator }),
25728
25766
  /* @__PURE__ */ jsx197(VisuallyHidden9, { children: completed ? "Complete" : "Not Complete" })
25729
25767
  ] });
25730
25768
  }
@@ -25806,7 +25844,7 @@ var stepperTabStyles = {
25806
25844
  };
25807
25845
 
25808
25846
  // src/components/StepperTabs/StepperTabs.tsx
25809
- import { trussProps as trussProps115 } from "@homebound/truss/runtime";
25847
+ import { trussProps as trussProps116 } from "@homebound/truss/runtime";
25810
25848
  import { jsx as jsx198 } from "react/jsx-runtime";
25811
25849
  import { createElement as createElement7 } from "react";
25812
25850
  function StepperTabs(props) {
@@ -25823,7 +25861,7 @@ function StepperTabs(props) {
25823
25861
  const collapsed = isMobile || !!forceCollapsed;
25824
25862
  const capWidth = steps.length <= 3;
25825
25863
  const currentStepIndex = Math.max(0, steps.findIndex((step) => step.value === currentStep));
25826
- return /* @__PURE__ */ jsx198("nav", { "aria-label": "steps", className: "w100", ...tid, children: /* @__PURE__ */ jsx198("ol", { ...trussProps115({
25864
+ return /* @__PURE__ */ jsx198("nav", { "aria-label": "steps", className: "w100", ...tid, children: /* @__PURE__ */ jsx198("ol", { ...trussProps116({
25827
25865
  padding: "p_0",
25828
25866
  margin: "m_0",
25829
25867
  listStyle: "lis_none",
@@ -25838,7 +25876,7 @@ function StepperTabs(props) {
25838
25876
  }), children: steps.map((step, idx) => {
25839
25877
  const isCurrent = idx === currentStepIndex;
25840
25878
  const isCompleted = idx < currentStepIndex;
25841
- return /* @__PURE__ */ createElement7("li", { ...trussProps115({
25879
+ return /* @__PURE__ */ createElement7("li", { ...trussProps116({
25842
25880
  display: "df",
25843
25881
  flexGrow: "fg1",
25844
25882
  flexBasis: "fb_0",
@@ -25858,7 +25896,7 @@ var gapPx = 6;
25858
25896
 
25859
25897
  // src/components/SuperDrawer/components/SuperDrawerHeader.tsx
25860
25898
  import { createPortal as createPortal8 } from "react-dom";
25861
- import { trussProps as trussProps116 } from "@homebound/truss/runtime";
25899
+ import { trussProps as trussProps117 } from "@homebound/truss/runtime";
25862
25900
  import { jsx as jsx199, jsxs as jsxs106 } from "react/jsx-runtime";
25863
25901
  function SuperDrawerHeader(props) {
25864
25902
  const {
@@ -25884,7 +25922,7 @@ function SuperDrawerHeader(props) {
25884
25922
  ] }),
25885
25923
  props.right && /* @__PURE__ */ jsx199("div", { className: "fs0", children: props.right })
25886
25924
  ] }) : /* @__PURE__ */ jsx199("div", { className: "fg1", children: props.children }),
25887
- !hideControls && /* @__PURE__ */ jsx199("div", { ...trussProps116({
25925
+ !hideControls && /* @__PURE__ */ jsx199("div", { ...trussProps117({
25888
25926
  flexShrink: "fs0",
25889
25927
  ...isDetail ? {
25890
25928
  visibility: "vh"
@@ -25906,7 +25944,7 @@ function isStructuredProps(props) {
25906
25944
 
25907
25945
  // src/components/SuperDrawer/SuperDrawerContent.tsx
25908
25946
  import { motion as motion6 } from "framer-motion";
25909
- import { trussProps as trussProps117, mergeProps as mergeProps32 } from "@homebound/truss/runtime";
25947
+ import { trussProps as trussProps118, mergeProps as mergeProps32 } from "@homebound/truss/runtime";
25910
25948
  import { Fragment as Fragment46, jsx as jsx200, jsxs as jsxs107 } from "react/jsx-runtime";
25911
25949
  var SuperDrawerContent = ({
25912
25950
  children,
@@ -25972,7 +26010,7 @@ var SuperDrawerContent = ({
25972
26010
  }
25973
26011
  return /* @__PURE__ */ jsxs107(Fragment46, { children: [
25974
26012
  wrapWithMotionAndMaybeBack(children),
25975
- actions && /* @__PURE__ */ jsx200("footer", { ...trussProps117({
26013
+ actions && /* @__PURE__ */ jsx200("footer", { ...trussProps118({
25976
26014
  borderTopStyle: "bts_solid",
25977
26015
  borderTopWidth: "btw_1px",
25978
26016
  borderColor: ["bc_var", {
@@ -26058,7 +26096,7 @@ function useDnDGridContext() {
26058
26096
  }
26059
26097
 
26060
26098
  // src/components/DnDGrid/DnDGrid.tsx
26061
- import { trussProps as trussProps118 } from "@homebound/truss/runtime";
26099
+ import { trussProps as trussProps119 } from "@homebound/truss/runtime";
26062
26100
  import { jsx as jsx202 } from "react/jsx-runtime";
26063
26101
  function DnDGrid(props) {
26064
26102
  const {
@@ -26243,7 +26281,7 @@ function DnDGrid(props) {
26243
26281
  return /* @__PURE__ */ jsx202(DnDGridContext.Provider, { value: {
26244
26282
  dragEl,
26245
26283
  onDragHandleKeyDown
26246
- }, children: /* @__PURE__ */ jsx202("div", { ref: gridEl, ...trussProps118({
26284
+ }, children: /* @__PURE__ */ jsx202("div", { ref: gridEl, ...trussProps119({
26247
26285
  ...{
26248
26286
  containerType: "ctis",
26249
26287
  display: "dg"
@@ -26273,14 +26311,14 @@ function applyActiveStyles(el, activeStyles3) {
26273
26311
  const {
26274
26312
  className,
26275
26313
  style
26276
- } = trussProps118(activeStyles3);
26314
+ } = trussProps119(activeStyles3);
26277
26315
  if (className) el.classList.add(...className.split(" ").filter(Boolean));
26278
26316
  if (style) setInlineStyles(el, style);
26279
26317
  }
26280
26318
 
26281
26319
  // src/components/DnDGrid/DnDGridItemHandle.tsx
26282
26320
  import { mergeProps as mergeProps33, useFocusRing as useFocusRing18, useHover as useHover21 } from "react-aria";
26283
- import { trussProps as trussProps119 } from "@homebound/truss/runtime";
26321
+ import { trussProps as trussProps120 } from "@homebound/truss/runtime";
26284
26322
  import { jsx as jsx203 } from "react/jsx-runtime";
26285
26323
  function DnDGridItemHandle(props) {
26286
26324
  const {
@@ -26310,7 +26348,7 @@ function DnDGridItemHandle(props) {
26310
26348
  borderRadius: "br4",
26311
26349
  borderWidth: "bw1"
26312
26350
  };
26313
- return /* @__PURE__ */ jsx203("button", { ...trussProps119({
26351
+ return /* @__PURE__ */ jsx203("button", { ...trussProps120({
26314
26352
  ...compact ? iconButtonCompact : iconButtonNormal,
26315
26353
  ...{
26316
26354
  cursor: "cur_grab",
@@ -26411,7 +26449,7 @@ var BaseFilter = class {
26411
26449
 
26412
26450
  // src/components/internal/CompoundField.tsx
26413
26451
  import { cloneElement as cloneElement3, useState as useState56 } from "react";
26414
- import { trussProps as trussProps120 } from "@homebound/truss/runtime";
26452
+ import { trussProps as trussProps121 } from "@homebound/truss/runtime";
26415
26453
  import { jsx as jsx204, jsxs as jsxs109 } from "react/jsx-runtime";
26416
26454
  function CompoundField({
26417
26455
  children
@@ -26447,7 +26485,7 @@ function CompoundField({
26447
26485
  setHasFocusWithin(false);
26448
26486
  }
26449
26487
  return /* @__PURE__ */ jsxs109("div", { className: "df", onFocusCapture, onBlurCapture, children: [
26450
- /* @__PURE__ */ jsx204("div", { ...trussProps120({
26488
+ /* @__PURE__ */ jsx204("div", { ...trussProps121({
26451
26489
  ...commonStyles,
26452
26490
  ...{
26453
26491
  borderLeftStyle: "bls_solid",
@@ -26462,7 +26500,7 @@ function CompoundField({
26462
26500
  }), children: cloneElement3(children[0], {
26463
26501
  internalProps
26464
26502
  }) }),
26465
- /* @__PURE__ */ jsx204("div", { ...trussProps120({
26503
+ /* @__PURE__ */ jsx204("div", { ...trussProps121({
26466
26504
  ...{
26467
26505
  width: "w_1px",
26468
26506
  flex: "fn",
@@ -26476,7 +26514,7 @@ function CompoundField({
26476
26514
  }]
26477
26515
  }
26478
26516
  }) }),
26479
- /* @__PURE__ */ jsx204("div", { ...trussProps120({
26517
+ /* @__PURE__ */ jsx204("div", { ...trussProps121({
26480
26518
  ...commonStyles,
26481
26519
  ...{
26482
26520
  flexGrow: "fg1",
@@ -27003,7 +27041,7 @@ var gridItemDataAttribute = "data-grid-item-span";
27003
27041
  var ResponsiveGridContext = createContext15(void 0);
27004
27042
 
27005
27043
  // src/components/Grid/ResponsiveGrid.tsx
27006
- import { trussProps as trussProps121 } from "@homebound/truss/runtime";
27044
+ import { trussProps as trussProps122 } from "@homebound/truss/runtime";
27007
27045
  import { jsx as jsx214 } from "react/jsx-runtime";
27008
27046
  function ResponsiveGrid(props) {
27009
27047
  const {
@@ -27024,12 +27062,12 @@ function ResponsiveGrid(props) {
27024
27062
  gap,
27025
27063
  columns
27026
27064
  }), [minColumnWidth, gap, columns]);
27027
- return /* @__PURE__ */ jsx214(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ jsx214("div", { ...trussProps121(gridStyles), children }) });
27065
+ return /* @__PURE__ */ jsx214(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ jsx214("div", { ...trussProps122(gridStyles), children }) });
27028
27066
  }
27029
27067
 
27030
27068
  // src/components/Grid/ResponsiveGridItem.tsx
27031
27069
  import { mergeProps as mergeProps34 } from "react-aria";
27032
- import { trussProps as trussProps122 } from "@homebound/truss/runtime";
27070
+ import { trussProps as trussProps123 } from "@homebound/truss/runtime";
27033
27071
 
27034
27072
  // src/components/Grid/useResponsiveGridItem.ts
27035
27073
  import { useContext as useContext25, useEffect as useEffect35, useMemo as useMemo53 } from "react";
@@ -27096,7 +27134,7 @@ function ResponsiveGridItem(props) {
27096
27134
  } = useResponsiveGridItem({
27097
27135
  colSpan
27098
27136
  });
27099
- return /* @__PURE__ */ jsx215("div", { ...mergeProps34(gridItemProps, trussProps122(gridItemStyles)), children });
27137
+ return /* @__PURE__ */ jsx215("div", { ...mergeProps34(gridItemProps, trussProps123(gridItemStyles)), children });
27100
27138
  }
27101
27139
 
27102
27140
  // src/components/HbLoadingSpinner.tsx
@@ -27214,7 +27252,7 @@ function useRegisterMobileSubNav(content2) {
27214
27252
  }
27215
27253
 
27216
27254
  // src/components/Navbar/NavbarMobileMenu.tsx
27217
- import { trussProps as trussProps123, mergeProps as mergeProps35, maybeCssVar as maybeCssVar58 } from "@homebound/truss/runtime";
27255
+ import { trussProps as trussProps124, mergeProps as mergeProps35, maybeCssVar as maybeCssVar58 } from "@homebound/truss/runtime";
27218
27256
  import { Fragment as Fragment50, jsx as jsx219, jsxs as jsxs114 } from "react/jsx-runtime";
27219
27257
  function NavbarMobileMenu(props) {
27220
27258
  const {
@@ -27311,7 +27349,7 @@ function NavbarMobileDrawer({
27311
27349
  ease: "linear",
27312
27350
  duration: 0.2
27313
27351
  }, onClick: (e) => e.stopPropagation(), ...tid.mobileMenuDrawer, children: [
27314
- /* @__PURE__ */ jsxs114("div", { ...trussProps123({
27352
+ /* @__PURE__ */ jsxs114("div", { ...trussProps124({
27315
27353
  ...{
27316
27354
  display: "df",
27317
27355
  alignItems: "aic",
@@ -27333,7 +27371,7 @@ function NavbarMobileDrawer({
27333
27371
  /* @__PURE__ */ jsx219("div", { className: "fg1 mh0 oh relative", children: /* @__PURE__ */ jsx219(AnimatePresence6, { initial: false, children: /* @__PURE__ */ jsxs114(
27334
27372
  motion7.nav,
27335
27373
  {
27336
- ...trussProps123({
27374
+ ...trussProps124({
27337
27375
  ...{
27338
27376
  position: "absolute",
27339
27377
  top: "top0",
@@ -27404,7 +27442,7 @@ function useContentOverflow(enabled = true) {
27404
27442
  }
27405
27443
 
27406
27444
  // src/components/Navbar/Navbar.tsx
27407
- import { trussProps as trussProps124 } from "@homebound/truss/runtime";
27445
+ import { trussProps as trussProps125 } from "@homebound/truss/runtime";
27408
27446
  import { jsx as jsx220, jsxs as jsxs115 } from "react/jsx-runtime";
27409
27447
  function Navbar(props) {
27410
27448
  const {
@@ -27424,7 +27462,7 @@ function Navbar(props) {
27424
27462
  overflows
27425
27463
  } = useContentOverflow(!sm);
27426
27464
  const showMobile = sm || overflows;
27427
- return /* @__PURE__ */ jsx220(ContrastScope, { children: /* @__PURE__ */ jsxs115("nav", { ...trussProps124({
27465
+ return /* @__PURE__ */ jsx220(ContrastScope, { children: /* @__PURE__ */ jsxs115("nav", { ...trussProps125({
27428
27466
  ...{
27429
27467
  backgroundColor: ["bgColor_var", {
27430
27468
  "--backgroundColor": "var(--b-surface-raised)"
@@ -27443,7 +27481,7 @@ function Navbar(props) {
27443
27481
  /* @__PURE__ */ jsxs115("div", { className: "df aic gap3 fg1 mw0", children: [
27444
27482
  /* @__PURE__ */ jsxs115("div", { className: "df aic fs0 gap2", children: [
27445
27483
  showMobile && /* @__PURE__ */ jsx220(NavbarMobileMenu, { items, ...tid }),
27446
- /* @__PURE__ */ jsx220("div", { ...trussProps124({
27484
+ /* @__PURE__ */ jsx220("div", { ...trussProps125({
27447
27485
  flexShrink: "fs0",
27448
27486
  ...hideBrandOnMobile && showMobile ? {
27449
27487
  display: "dn"
@@ -27452,7 +27490,7 @@ function Navbar(props) {
27452
27490
  ] }),
27453
27491
  !sm && // Stays mounted while overflowing (hidden) so the items remain measurable and the bar
27454
27492
  // can expand again as space frees up.
27455
- /* @__PURE__ */ jsx220("div", { ref: containerRef, ...trussProps124({
27493
+ /* @__PURE__ */ jsx220("div", { ref: containerRef, ...trussProps125({
27456
27494
  display: "df",
27457
27495
  alignItems: "aic",
27458
27496
  flexGrow: "fg1",
@@ -27584,7 +27622,7 @@ import { useEffect as useEffect39, useMemo as useMemo56, useRef as useRef68, use
27584
27622
  import { mergeProps as mergeProps36, useFocusRing as useFocusRing19, useHover as useHover22 } from "react-aria";
27585
27623
  import { matchPath } from "react-router";
27586
27624
  import { Link as Link7, useLocation as useLocation2 } from "react-router-dom";
27587
- import { trussProps as trussProps125, maybeCssVar as maybeCssVar59 } from "@homebound/truss/runtime";
27625
+ import { trussProps as trussProps126, maybeCssVar as maybeCssVar59 } from "@homebound/truss/runtime";
27588
27626
  import { Fragment as Fragment51, jsx as jsx221, jsxs as jsxs116 } from "react/jsx-runtime";
27589
27627
  function TabsWithContent(props) {
27590
27628
  const styles = hideTabs(props) ? {} : {
@@ -27617,7 +27655,7 @@ function TabContent(props) {
27617
27655
  return (
27618
27656
  // Using FullBleed to allow the tab's bgColor to extend to the edges of the <ScrollableContent /> element.
27619
27657
  // Omit the padding from `FullBleed` if the caller passes in the `paddingLeft/Right` styles.
27620
- /* @__PURE__ */ jsx221(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ jsx221("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...trussProps125(contentXss), children: selectedTab.render() }) })
27658
+ /* @__PURE__ */ jsx221(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ jsx221("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...trussProps126(contentXss), children: selectedTab.render() }) })
27621
27659
  );
27622
27660
  }
27623
27661
  function Tabs(props) {
@@ -27659,7 +27697,7 @@ function Tabs(props) {
27659
27697
  setActive(selected);
27660
27698
  }
27661
27699
  }
27662
- return /* @__PURE__ */ jsxs116("div", { ...trussProps125({
27700
+ return /* @__PURE__ */ jsxs116("div", { ...trussProps126({
27663
27701
  ...{
27664
27702
  display: "df",
27665
27703
  alignItems: "aic",
@@ -27728,7 +27766,7 @@ function TabImpl(props) {
27728
27766
  role: "tab",
27729
27767
  tabIndex: active ? 0 : -1,
27730
27768
  ...others,
27731
- ...trussProps125({
27769
+ ...trussProps126({
27732
27770
  ...baseStyles4,
27733
27771
  // Only tints the label while the tab is unselected; selected keeps its own darker treatment.
27734
27772
  ...aiMode && aiStyles,
@@ -27879,7 +27917,7 @@ function useToast() {
27879
27917
  }
27880
27918
 
27881
27919
  // src/layouts/SideNavLayout/SideNavLayout.tsx
27882
- import { trussProps as trussProps126, mergeProps as mergeProps37, maybeCssVar as maybeCssVar60 } from "@homebound/truss/runtime";
27920
+ import { trussProps as trussProps127, mergeProps as mergeProps37, maybeCssVar as maybeCssVar60 } from "@homebound/truss/runtime";
27883
27921
  import { jsx as jsx222, jsxs as jsxs117 } from "react/jsx-runtime";
27884
27922
  var __maybeInc28 = (inc) => {
27885
27923
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -27910,7 +27948,7 @@ function SideNavLayoutContent(props) {
27910
27948
  const railOffsetPx = !showRail ? 0 : !bp.mdAndUp || collapsed ? railCollapsedWidthPx : railWidthPx;
27911
27949
  const navTop = bannerAndNavbarChromeTop();
27912
27950
  const railViewportHeight = `calc(var(${beamLayoutViewportHeightVar}, 100vh) - var(${beamEnvironmentBannerLayoutHeightVar}, 0px) - var(${beamNavbarLayoutHeightVar}, 0px))`;
27913
- const rail = showRail && /* @__PURE__ */ jsxs117("div", { ...trussProps126({
27951
+ const rail = showRail && /* @__PURE__ */ jsxs117("div", { ...trussProps127({
27914
27952
  ...{
27915
27953
  display: "df",
27916
27954
  flexDirection: "fdc",
@@ -27978,7 +28016,7 @@ function SideNavLayoutContent(props) {
27978
28016
  width: "w100"
27979
28017
  }), ...tid, children: [
27980
28018
  contrastRail ? /* @__PURE__ */ jsx222(ContrastScope, { children: rail }) : rail,
27981
- /* @__PURE__ */ jsx222("div", { ...trussProps126({
28019
+ /* @__PURE__ */ jsx222("div", { ...trussProps127({
27982
28020
  display: "df",
27983
28021
  flexDirection: "fdc",
27984
28022
  flexGrow: "fg1",
@@ -28052,7 +28090,7 @@ var centeredPaddingX = {
28052
28090
  };
28053
28091
 
28054
28092
  // src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
28055
- import { trussProps as trussProps127, mergeProps as mergeProps39, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
28093
+ import { trussProps as trussProps128, mergeProps as mergeProps39, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
28056
28094
  import { jsx as jsx224, jsxs as jsxs118 } from "react/jsx-runtime";
28057
28095
  var __maybeInc30 = (inc) => {
28058
28096
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -28080,7 +28118,7 @@ function EnvironmentBannerLayout(props) {
28080
28118
  }, {
28081
28119
  flexShrink: "fs0",
28082
28120
  width: "w100"
28083
- }), children: /* @__PURE__ */ jsx224("div", { ...trussProps127({
28121
+ }), children: /* @__PURE__ */ jsx224("div", { ...trussProps128({
28084
28122
  position: "fixed",
28085
28123
  top: "top0",
28086
28124
  left: "left0",
@@ -28096,14 +28134,14 @@ function EnvironmentBannerLayout(props) {
28096
28134
  }
28097
28135
 
28098
28136
  // src/layouts/FormSectionLayout/FormSectionLayout.tsx
28099
- import { trussProps as trussProps131, maybeCssVar as maybeCssVar65 } from "@homebound/truss/runtime";
28137
+ import { trussProps as trussProps132, maybeCssVar as maybeCssVar65 } from "@homebound/truss/runtime";
28100
28138
 
28101
28139
  // src/forms/FormSection/FormSection.tsx
28102
- import { trussProps as trussProps129, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
28140
+ import { trussProps as trussProps130, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
28103
28141
 
28104
28142
  // src/forms/FormSection/FormSectionChild.tsx
28105
28143
  import { useRef as useRef69 } from "react";
28106
- import { trussProps as trussProps128 } from "@homebound/truss/runtime";
28144
+ import { trussProps as trussProps129 } from "@homebound/truss/runtime";
28107
28145
  import { jsx as jsx225, jsxs as jsxs119 } from "react/jsx-runtime";
28108
28146
  function FormSectionChild(props) {
28109
28147
  const {
@@ -28126,7 +28164,7 @@ function FormSectionChild(props) {
28126
28164
  return /* @__PURE__ */ jsxs119("div", { ...isDraggable ? {
28127
28165
  ...dragItemProps,
28128
28166
  ref: itemRef
28129
- } : {}, ...trussProps128({
28167
+ } : {}, ...trussProps129({
28130
28168
  display: "df",
28131
28169
  flexDirection: "fdc",
28132
28170
  gap: "gap2",
@@ -28158,7 +28196,7 @@ function FormSection(props) {
28158
28196
  childSections
28159
28197
  } = props;
28160
28198
  const tid = useTestIds(props, "formSection");
28161
- return /* @__PURE__ */ jsxs120("div", { id: defaultTestId(title), ...trussProps129({
28199
+ return /* @__PURE__ */ jsxs120("div", { id: defaultTestId(title), ...trussProps130({
28162
28200
  display: "df",
28163
28201
  flexDirection: "fdc",
28164
28202
  gap: "gap2",
@@ -28201,7 +28239,7 @@ function sortByOrderField(childSections) {
28201
28239
  }
28202
28240
 
28203
28241
  // src/layouts/FormSectionLayout/JumpLinksRail.tsx
28204
- import { trussProps as trussProps130, maybeCssVar as maybeCssVar64 } from "@homebound/truss/runtime";
28242
+ import { trussProps as trussProps131, maybeCssVar as maybeCssVar64 } from "@homebound/truss/runtime";
28205
28243
  import { jsx as jsx227 } from "react/jsx-runtime";
28206
28244
  var __maybeInc31 = (inc) => {
28207
28245
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -28212,7 +28250,7 @@ function JumpLinksRail(props) {
28212
28250
  activeId
28213
28251
  } = props;
28214
28252
  const tid = useTestIds(props, "jumpLinks");
28215
- return /* @__PURE__ */ jsx227("nav", { ...trussProps130({
28253
+ return /* @__PURE__ */ jsx227("nav", { ...trussProps131({
28216
28254
  display: "df",
28217
28255
  flexDirection: "fdc",
28218
28256
  flexShrink: "fs0",
@@ -28290,7 +28328,7 @@ function FormSectionLayout(props) {
28290
28328
  });
28291
28329
  const showRail = withJumpLinks && jumpLinks.length >= 2 && !isMobile;
28292
28330
  const activeId = useActiveJumpLink(showRail ? jumpLinks.map((link) => link.id) : []);
28293
- const content2 = /* @__PURE__ */ jsxs121("div", { ...trussProps131({
28331
+ const content2 = /* @__PURE__ */ jsxs121("div", { ...trussProps132({
28294
28332
  display: "df",
28295
28333
  flexDirection: "fdc",
28296
28334
  gap: "gap8",
@@ -28310,7 +28348,7 @@ function FormSectionLayout(props) {
28310
28348
  const form = /* @__PURE__ */ jsx228(CenteredLayout, { size: "sm", children: aiMode ? /* @__PURE__ */ jsx228(AiCard, { size: "lg", ...tid, children: content2 }) : content2 });
28311
28349
  const body = showRail ? /* @__PURE__ */ jsxs121("div", { className: "df w100 mb4", children: [
28312
28350
  /* @__PURE__ */ jsx228(JumpLinksRail, { links: jumpLinks, activeId, ...tid.jumpLinks }),
28313
- /* @__PURE__ */ jsx228("div", { ...trussProps131({
28351
+ /* @__PURE__ */ jsx228("div", { ...trussProps132({
28314
28352
  flexGrow: "fg1",
28315
28353
  marginRight: ["mr_var", {
28316
28354
  "--marginRight": maybeCssVar65(__maybeInc32(jumpLinksRailReservation))
@@ -28519,7 +28557,7 @@ function useDocumentTitle(...titleSegments) {
28519
28557
  }
28520
28558
 
28521
28559
  // src/components/Headers/BaseHeader.tsx
28522
- import { trussProps as trussProps132 } from "@homebound/truss/runtime";
28560
+ import { trussProps as trussProps133 } from "@homebound/truss/runtime";
28523
28561
  import { jsx as jsx231, jsxs as jsxs123 } from "react/jsx-runtime";
28524
28562
  function BaseHeader(props) {
28525
28563
  const {
@@ -28532,7 +28570,7 @@ function BaseHeader(props) {
28532
28570
  } = props;
28533
28571
  const tid = useTestIds(otherProps, "header");
28534
28572
  useDocumentTitle(title, documentTitleSuffix);
28535
- return /* @__PURE__ */ jsxs123("header", { ...tid, ...trussProps132({
28573
+ return /* @__PURE__ */ jsxs123("header", { ...tid, ...trussProps133({
28536
28574
  display: "df",
28537
28575
  flexDirection: "fdc",
28538
28576
  paddingTop: "pt3",
@@ -28546,7 +28584,7 @@ function BaseHeader(props) {
28546
28584
  "--backgroundColor": "var(--b-surface)"
28547
28585
  }]
28548
28586
  }), children: [
28549
- /* @__PURE__ */ jsxs123("div", { ...trussProps132({
28587
+ /* @__PURE__ */ jsxs123("div", { ...trussProps133({
28550
28588
  ...{
28551
28589
  display: "df",
28552
28590
  justifyContent: "jcsb",
@@ -28562,7 +28600,7 @@ function BaseHeader(props) {
28562
28600
  }), children: [
28563
28601
  /* @__PURE__ */ jsxs123("div", { className: "mw0", children: [
28564
28602
  breadcrumbs && /* @__PURE__ */ jsx231(Breadcrumbs, { ...breadcrumbs }),
28565
- /* @__PURE__ */ jsx231("h1", { ...tid.title, ...trussProps132({
28603
+ /* @__PURE__ */ jsx231("h1", { ...tid.title, ...trussProps133({
28566
28604
  fontWeight: "fw6",
28567
28605
  fontSize: "fz_20px",
28568
28606
  lineHeight: "lh_28px",
@@ -28578,8 +28616,8 @@ function BaseHeader(props) {
28578
28616
  }
28579
28617
 
28580
28618
  // src/components/Headers/PageHeader.tsx
28581
- import { trussProps as trussProps133 } from "@homebound/truss/runtime";
28582
- import { jsx as jsx232, jsxs as jsxs124 } from "react/jsx-runtime";
28619
+ import { trussProps as trussProps134 } from "@homebound/truss/runtime";
28620
+ import { Fragment as Fragment52, jsx as jsx232, jsxs as jsxs124 } from "react/jsx-runtime";
28583
28621
  function PageHeader2(props) {
28584
28622
  const {
28585
28623
  tabs,
@@ -28588,12 +28626,21 @@ function PageHeader2(props) {
28588
28626
  ...otherProps
28589
28627
  } = props;
28590
28628
  const tid = useTestIds(otherProps, "header");
28591
- const hasActions = !!actions && actions.length > 0;
28592
- return /* @__PURE__ */ jsx232(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ jsxs124("div", { className: "df gap1 fs0", ...tid.actions, children: [
28629
+ const {
28630
+ sm
28631
+ } = useBreakpoint();
28632
+ const {
28633
+ bottomSlotActions,
28634
+ rightSlotActions
28635
+ } = splitHeaderActionsOnSm(actions, sm);
28636
+ return /* @__PURE__ */ jsx232(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ jsxs124("div", { className: "df gap2 fs0", ...tid.actions, children: [
28593
28637
  /* @__PURE__ */ jsx232(AutoSaveIndicator, { hideOnIdle: true }),
28594
28638
  rightSlot,
28595
- hasActions && /* @__PURE__ */ jsx232(HeaderActions, { actions, collapseOnSm: true })
28596
- ] }), bottomSlot: tabs && /* @__PURE__ */ jsx232("div", { ...trussProps133(pageContentPaddingX), children: /* @__PURE__ */ jsx232(Tabs, { ...tabs, ...tid.tabs }) }) });
28639
+ rightSlotActions.length > 0 && /* @__PURE__ */ jsx232(HeaderActions, { actions: rightSlotActions, collapseOnSm: true })
28640
+ ] }), bottomSlot: (bottomSlotActions.length > 0 || tabs) && /* @__PURE__ */ jsxs124(Fragment52, { children: [
28641
+ bottomSlotActions.length > 0 && /* @__PURE__ */ jsx232("div", { ...trussProps134(pageContentPaddingX), ...tid.bottomSlot, children: /* @__PURE__ */ jsx232(HeaderActions, { actions: bottomSlotActions }) }),
28642
+ tabs && /* @__PURE__ */ jsx232("div", { ...trussProps134(pageContentPaddingX), children: /* @__PURE__ */ jsx232(Tabs, { ...tabs, ...tid.tabs }) })
28643
+ ] }) });
28597
28644
  }
28598
28645
 
28599
28646
  // src/layouts/useBannerAndNavbarHeight.ts
@@ -28757,7 +28804,7 @@ function WorkflowActions(props) {
28757
28804
  }
28758
28805
 
28759
28806
  // src/layouts/Workflow/WorkflowPageLayout.tsx
28760
- import { trussProps as trussProps134, mergeProps as mergeProps42, maybeCssVar as maybeCssVar68 } from "@homebound/truss/runtime";
28807
+ import { trussProps as trussProps135, mergeProps as mergeProps42, maybeCssVar as maybeCssVar68 } from "@homebound/truss/runtime";
28761
28808
  import { jsx as jsx237, jsxs as jsxs127 } from "react/jsx-runtime";
28762
28809
  var __maybeInc35 = (inc) => {
28763
28810
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -28818,7 +28865,7 @@ function WorkflowPageLayout(props) {
28818
28865
  }, {
28819
28866
  flexShrink: "fs0",
28820
28867
  width: "w100"
28821
- }), children: /* @__PURE__ */ jsx237("div", { ref: headerMetricsRef, ...trussProps134({
28868
+ }), children: /* @__PURE__ */ jsx237("div", { ref: headerMetricsRef, ...trussProps135({
28822
28869
  position: "fixed",
28823
28870
  left: "left0",
28824
28871
  width: ["w_var", {
@@ -28832,7 +28879,7 @@ function WorkflowPageLayout(props) {
28832
28879
  }],
28833
28880
  transition: "transitionAll"
28834
28881
  }), ...tid.header, children: /* @__PURE__ */ jsx237(WorkflowHeader, { title, documentTitleSuffix, breadcrumbs, rightSlot: isMobile ? void 0 : actions, stepperTabs }) }) }),
28835
- /* @__PURE__ */ jsx237("div", { ...trussProps134({
28882
+ /* @__PURE__ */ jsx237("div", { ...trussProps135({
28836
28883
  ...{
28837
28884
  display: "df",
28838
28885
  flexDirection: "fdc",
@@ -28848,13 +28895,13 @@ function WorkflowPageLayout(props) {
28848
28895
  }]
28849
28896
  }
28850
28897
  }), ...tid.body, children }),
28851
- showFooter && /* @__PURE__ */ jsx237("div", { ...trussProps134({
28898
+ showFooter && /* @__PURE__ */ jsx237("div", { ...trussProps135({
28852
28899
  flexShrink: "fs0",
28853
28900
  width: "w100",
28854
28901
  height: ["h_var", {
28855
28902
  "--height": `${mobileFooterHeightPx}px`
28856
28903
  }]
28857
- }), children: /* @__PURE__ */ jsx237("div", { ...trussProps134({
28904
+ }), children: /* @__PURE__ */ jsx237("div", { ...trussProps135({
28858
28905
  ...{
28859
28906
  position: "fixed",
28860
28907
  bottom: "bottom0",
@@ -29044,7 +29091,7 @@ function BoundSelectAndTextField(props) {
29044
29091
  }
29045
29092
 
29046
29093
  // src/forms/FormHeading.tsx
29047
- import { trussProps as trussProps135 } from "@homebound/truss/runtime";
29094
+ import { trussProps as trussProps136 } from "@homebound/truss/runtime";
29048
29095
  import { jsx as jsx242 } from "react/jsx-runtime";
29049
29096
  function FormHeading(props) {
29050
29097
  const {
@@ -29055,7 +29102,7 @@ function FormHeading(props) {
29055
29102
  } = props;
29056
29103
  return (
29057
29104
  // Add space before the heading, but only if it's not first.
29058
- /* @__PURE__ */ jsx242("h3", { ...trussProps135({
29105
+ /* @__PURE__ */ jsx242("h3", { ...trussProps136({
29059
29106
  ...{
29060
29107
  fontWeight: "fw4",
29061
29108
  fontSize: "fz_16px",
@@ -29072,7 +29119,7 @@ FormHeading.isFormHeading = true;
29072
29119
 
29073
29120
  // src/forms/StaticField.tsx
29074
29121
  import { useId as useId3 } from "@react-aria/utils";
29075
- import { trussProps as trussProps136 } from "@homebound/truss/runtime";
29122
+ import { trussProps as trussProps137 } from "@homebound/truss/runtime";
29076
29123
  import { jsx as jsx243, jsxs as jsxs129 } from "react/jsx-runtime";
29077
29124
  function StaticField(props) {
29078
29125
  const {
@@ -29086,14 +29133,14 @@ function StaticField(props) {
29086
29133
  } = props;
29087
29134
  const tid = useTestIds(props, typeof label === "string" ? defaultTestId(label) : "staticField");
29088
29135
  const id = useId3();
29089
- return /* @__PURE__ */ jsxs129("div", { ...trussProps136({
29136
+ return /* @__PURE__ */ jsxs129("div", { ...trussProps137({
29090
29137
  ...labelStyle === "left" ? {
29091
29138
  display: "df",
29092
29139
  justifyContent: "jcsb",
29093
29140
  maxWidth: "maxw100"
29094
29141
  } : {}
29095
29142
  }), ...tid.container, children: [
29096
- /* @__PURE__ */ jsx243("label", { ...trussProps136({
29143
+ /* @__PURE__ */ jsx243("label", { ...trussProps137({
29097
29144
  display: "db",
29098
29145
  fontWeight: "fw4",
29099
29146
  fontSize: "fz_14px",
@@ -29103,7 +29150,7 @@ function StaticField(props) {
29103
29150
  }],
29104
29151
  marginBottom: "mb_4px"
29105
29152
  }), htmlFor: id, ...tid.label, children: label }),
29106
- /* @__PURE__ */ jsx243("div", { id, ...trussProps136({
29153
+ /* @__PURE__ */ jsx243("div", { id, ...trussProps137({
29107
29154
  fontWeight: "fw4",
29108
29155
  fontSize: "fz_14px",
29109
29156
  lineHeight: "lh_20px",
@@ -29134,7 +29181,7 @@ function useFilter4({ filterDefs }) {
29134
29181
  import { useCallback as useCallback44, useRef as useRef75 } from "react";
29135
29182
  import { useComboBox as useComboBox3, useOverlayPosition as useOverlayPosition6 } from "react-aria";
29136
29183
  import { Item as Item5, useComboBoxState as useComboBoxState3 } from "react-stately";
29137
- import { Fragment as Fragment52, jsx as jsx244, jsxs as jsxs130 } from "react/jsx-runtime";
29184
+ import { Fragment as Fragment53, jsx as jsx244, jsxs as jsxs130 } from "react/jsx-runtime";
29138
29185
  function Autocomplete(props) {
29139
29186
  const {
29140
29187
  onSelect,
@@ -29205,7 +29252,7 @@ function Autocomplete(props) {
29205
29252
  // Ensures the menu never gets too small.
29206
29253
  minWidth: 200
29207
29254
  };
29208
- return /* @__PURE__ */ jsxs130(Fragment52, { children: [
29255
+ return /* @__PURE__ */ jsxs130(Fragment53, { children: [
29209
29256
  /* @__PURE__ */ jsx244(
29210
29257
  TextFieldBase,
29211
29258
  {
@@ -29250,7 +29297,7 @@ function Autocomplete(props) {
29250
29297
  import { useRef as useRef76, useState as useState66 } from "react";
29251
29298
  import { useFocusRing as useFocusRing20, useHover as useHover23, usePress as usePress2, useSwitch as useSwitch2, VisuallyHidden as VisuallyHidden10 } from "react-aria";
29252
29299
  import { useToggleState as useToggleState2 } from "react-stately";
29253
- import { trussProps as trussProps137 } from "@homebound/truss/runtime";
29300
+ import { trussProps as trussProps138 } from "@homebound/truss/runtime";
29254
29301
  import { jsx as jsx245, jsxs as jsxs131 } from "react/jsx-runtime";
29255
29302
  function ToggleButton(props) {
29256
29303
  const {
@@ -29315,7 +29362,7 @@ function ToggleButton(props) {
29315
29362
  ...focusProps,
29316
29363
  ...hoverProps,
29317
29364
  ...pressProps,
29318
- ...trussProps137({
29365
+ ...trussProps138({
29319
29366
  // Gray500 off-state has no semantic match — keep palette (OnSurfaceMuted is Gray700).
29320
29367
  ...{
29321
29368
  borderRadius: "br4",