@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.cjs CHANGED
@@ -19256,6 +19256,7 @@ function Filters(props) {
19256
19256
  var _Filters = (0, import_react87.memo)(Filters);
19257
19257
 
19258
19258
  // src/components/Headers/HeaderActions.tsx
19259
+ var import_runtime82 = require("@homebound/truss/runtime");
19259
19260
  var import_jsx_runtime109 = require("react/jsx-runtime");
19260
19261
  function HeaderActions(props) {
19261
19262
  const {
@@ -19269,26 +19270,54 @@ function HeaderActions(props) {
19269
19270
  } = useBreakpoint();
19270
19271
  const collapse = collapseOnSm && sm && actions.length > 1;
19271
19272
  if (collapse) {
19272
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { className: "df aic gap1 fs0", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ButtonMenu, { trigger: {
19273
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { ...(0, import_runtime82.trussProps)(actionRowCss), ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ButtonMenu, { trigger: {
19273
19274
  icon: "verticalDots",
19274
19275
  variant: "outline"
19275
19276
  }, items: toMenuItems(actions) }) });
19276
19277
  }
19277
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { className: "df aic gap1 fs0", ...tid, children: actions.map((action, i) => {
19278
- const key = headerActionKey(action, i);
19279
- if (action.kind === "icon") {
19280
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(IconButton, { ...action, variant: "outline" }, key);
19281
- }
19282
- if (action.kind === "menu") {
19283
- const {
19284
- kind,
19285
- ...menuProps
19286
- } = action;
19287
- void kind;
19288
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ButtonMenu, { ...menuProps }, key);
19289
- }
19290
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Button, { ...action }, key);
19291
- }) });
19278
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("div", { ...(0, import_runtime82.trussProps)(actionRowCss), ...tid, children: actions.map(renderHeaderAction) });
19279
+ }
19280
+ function splitHeaderActionsOnSm(actions, sm) {
19281
+ if (!sm) return {
19282
+ bottomSlotActions: [],
19283
+ rightSlotActions: actions ?? []
19284
+ };
19285
+ return {
19286
+ bottomSlotActions: actions?.filter((action) => action.keepVisible) ?? [],
19287
+ rightSlotActions: actions?.filter((action) => !action.keepVisible) ?? []
19288
+ };
19289
+ }
19290
+ var actionRowCss = {
19291
+ display: "df",
19292
+ alignItems: "aic",
19293
+ flexWrap: "fww",
19294
+ gap: "gap2",
19295
+ flexShrink: "fs0"
19296
+ };
19297
+ function renderHeaderAction(action, index) {
19298
+ const key = headerActionKey(action, index);
19299
+ if (action.kind === "icon") {
19300
+ const {
19301
+ kind: _kind2,
19302
+ keepVisible: _keepVisible2,
19303
+ ...iconProps
19304
+ } = action;
19305
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(IconButton, { ...iconProps, variant: "outline" }, key);
19306
+ }
19307
+ if (action.kind === "menu") {
19308
+ const {
19309
+ kind: _kind2,
19310
+ keepVisible: _keepVisible2,
19311
+ ...menuProps
19312
+ } = action;
19313
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(ButtonMenu, { ...menuProps }, key);
19314
+ }
19315
+ const {
19316
+ keepVisible: _keepVisible,
19317
+ kind: _kind,
19318
+ ...buttonProps
19319
+ } = action;
19320
+ return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Button, { ...buttonProps }, key);
19292
19321
  }
19293
19322
  function headerActionKey(action, index) {
19294
19323
  if (action.kind === "icon") return `${action.icon}-${index}`;
@@ -19328,7 +19357,7 @@ function toMenuItems(actions) {
19328
19357
  }
19329
19358
 
19330
19359
  // src/components/Headers/ContentHeader.tsx
19331
- var import_runtime82 = require("@homebound/truss/runtime");
19360
+ var import_runtime83 = require("@homebound/truss/runtime");
19332
19361
  var import_jsx_runtime110 = require("react/jsx-runtime");
19333
19362
  function ContentHeader(props) {
19334
19363
  const {
@@ -19342,6 +19371,14 @@ function ContentHeader(props) {
19342
19371
  xss
19343
19372
  } = props;
19344
19373
  const tid = useTestIds(props, "contentHeader");
19374
+ const {
19375
+ sm
19376
+ } = useBreakpoint();
19377
+ const {
19378
+ bottomSlotActions,
19379
+ rightSlotActions
19380
+ } = splitHeaderActionsOnSm(actions, sm);
19381
+ const showActionsSlot = !!withAutoSave || rightSlotActions.length > 0;
19345
19382
  const {
19346
19383
  tag: Heading,
19347
19384
  css: headingCss
@@ -19359,7 +19396,7 @@ function ContentHeader(props) {
19359
19396
  if (!title && !description && !actions && !withAutoSave) {
19360
19397
  return null;
19361
19398
  }
19362
- const descriptionEl = description && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("div", { ...(0, import_runtime82.trussProps)({
19399
+ const descriptionEl = description && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("div", { ...(0, import_runtime83.trussProps)({
19363
19400
  fontWeight: "fw4",
19364
19401
  fontSize: "fz_14px",
19365
19402
  lineHeight: "lh_20px",
@@ -19367,7 +19404,7 @@ function ContentHeader(props) {
19367
19404
  "--color": "var(--b-on-surface)"
19368
19405
  }]
19369
19406
  }), ...tid.description, children: description });
19370
- return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { ...(0, import_runtime82.trussProps)({
19407
+ return /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { ...(0, import_runtime83.trussProps)({
19371
19408
  ...{
19372
19409
  display: "df",
19373
19410
  flexDirection: "fdc",
@@ -19385,13 +19422,14 @@ function ContentHeader(props) {
19385
19422
  /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df aic jcsb mw0", children: [
19386
19423
  title ? /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df aic gap1 mw0", children: [
19387
19424
  startAdornment,
19388
- /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading, { ...(0, import_runtime82.trussProps)(titleCss), ...tid.title, children: title })
19425
+ /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(Heading, { ...(0, import_runtime83.trussProps)(titleCss), ...tid.title, children: title })
19389
19426
  ] }) : descriptionEl,
19390
- (withAutoSave || actions) && /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df gap1 fs0", ...tid.actions, children: [
19427
+ showActionsSlot && /* @__PURE__ */ (0, import_jsx_runtime110.jsxs)("div", { className: "df gap2 fs0", ...tid.actions, children: [
19391
19428
  withAutoSave && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(AutoSaveIndicator, {}),
19392
- actions && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(HeaderActions, { actions })
19429
+ rightSlotActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(HeaderActions, { actions: rightSlotActions })
19393
19430
  ] })
19394
19431
  ] }),
19432
+ bottomSlotActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime110.jsx)("div", { ...tid.bottomSlot, children: /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(HeaderActions, { actions: bottomSlotActions }) }),
19395
19433
  title && descriptionEl
19396
19434
  ] });
19397
19435
  }
@@ -19423,7 +19461,7 @@ var headingByLevel = {
19423
19461
  };
19424
19462
 
19425
19463
  // src/components/InlineFeedbackBanner.tsx
19426
- var import_runtime83 = require("@homebound/truss/runtime");
19464
+ var import_runtime84 = require("@homebound/truss/runtime");
19427
19465
  var import_jsx_runtime111 = require("react/jsx-runtime");
19428
19466
  function InlineFeedbackBanner(props) {
19429
19467
  const {
@@ -19449,7 +19487,7 @@ function InlineFeedbackBanner(props) {
19449
19487
  text: fallbackTagText,
19450
19488
  iconOnly: true
19451
19489
  };
19452
- return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { ...(0, import_runtime83.trussProps)({
19490
+ return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)("div", { ...(0, import_runtime84.trussProps)({
19453
19491
  display: "df",
19454
19492
  alignItems: "ais",
19455
19493
  gap: "gap1",
@@ -19468,12 +19506,12 @@ function InlineFeedbackBanner(props) {
19468
19506
  borderStyle: "bss",
19469
19507
  borderWidth: "bw1",
19470
19508
  borderColor: ["bc_var", {
19471
- "--borderColor": (0, import_runtime83.maybeCssVar)(borderColor)
19509
+ "--borderColor": (0, import_runtime84.maybeCssVar)(borderColor)
19472
19510
  }],
19473
19511
  boxShadow: "bshBasic"
19474
19512
  }), ...tid, children: [
19475
19513
  /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("span", { className: "df fs0", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Tag, { ...tagProps, ...tid.tag }) }),
19476
- /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("span", { ...(0, import_runtime83.trussProps)({
19514
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("span", { ...(0, import_runtime84.trussProps)({
19477
19515
  flexGrow: "fg1",
19478
19516
  minWidth: "mw0",
19479
19517
  paddingTop: "pt_1px",
@@ -19506,7 +19544,7 @@ var typeStyles2 = {
19506
19544
  // src/components/JumpLink.tsx
19507
19545
  var import_react88 = require("react");
19508
19546
  var import_react_aria38 = require("react-aria");
19509
- var import_runtime84 = require("@homebound/truss/runtime");
19547
+ var import_runtime85 = require("@homebound/truss/runtime");
19510
19548
  var import_jsx_runtime112 = require("react/jsx-runtime");
19511
19549
  function JumpLink(props) {
19512
19550
  const {
@@ -19549,7 +19587,7 @@ function JumpLink(props) {
19549
19587
  });
19550
19588
  }
19551
19589
  }
19552
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("a", { ref, ...(0, import_react_aria38.mergeProps)(linkProps, focusProps, hoverProps), ...tid, ...(0, import_runtime84.trussProps)({
19590
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("a", { ref, ...(0, import_react_aria38.mergeProps)(linkProps, focusProps, hoverProps), ...tid, ...(0, import_runtime85.trussProps)({
19553
19591
  ...jumpLinkStyles.baseStyles,
19554
19592
  ...active && jumpLinkStyles.activeStyles,
19555
19593
  ...isHovered && !disabled && jumpLinkStyles.hoverStyles,
@@ -19611,7 +19649,7 @@ var import_react_aria55 = require("react-aria");
19611
19649
  var import_react108 = require("react");
19612
19650
 
19613
19651
  // src/components/LoadingSkeleton.tsx
19614
- var import_runtime85 = require("@homebound/truss/runtime");
19652
+ var import_runtime86 = require("@homebound/truss/runtime");
19615
19653
  var import_jsx_runtime113 = require("react/jsx-runtime");
19616
19654
  function LoadingSkeleton({
19617
19655
  rows = 1,
@@ -19624,18 +19662,18 @@ function LoadingSkeleton({
19624
19662
  const rowHeight = sizeToPixels2[size];
19625
19663
  const rowCells = (rowNumber) => {
19626
19664
  const flexGrowForCell = randomizeWidths ? getRandomizedFlexBasisByRowIndex(rowNumber) : 1;
19627
- return cellArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { ...(0, import_runtime85.trussProps)({
19665
+ return cellArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { ...(0, import_runtime86.trussProps)({
19628
19666
  borderRadius: "br4",
19629
19667
  animation: "anim_pulse_2s_cubic_bezier_0_4_0_0_6_1_infinite",
19630
19668
  flexGrow: ["flexGrow_var", {
19631
- "--flexGrow": (0, import_runtime85.maybeCssVar)(flexGrowForCell)
19669
+ "--flexGrow": (0, import_runtime86.maybeCssVar)(flexGrowForCell)
19632
19670
  }],
19633
19671
  backgroundColor: ["bgColor_var", {
19634
19672
  "--backgroundColor": "var(--b-loader-fill)"
19635
19673
  }]
19636
19674
  }) }, `row-${rowNumber}-cell-${i}`));
19637
19675
  };
19638
- return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { ...(0, import_runtime85.trussProps)({
19676
+ return /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime113.jsx)("div", { ...(0, import_runtime86.trussProps)({
19639
19677
  display: "df",
19640
19678
  gap: "gap1",
19641
19679
  marginBottom: "mb1",
@@ -19709,10 +19747,10 @@ var import_mobx_react5 = require("mobx-react");
19709
19747
  var import_react89 = require("react");
19710
19748
  var import_react_aria39 = require("react-aria");
19711
19749
  var import_react_stately10 = require("react-stately");
19712
- var import_runtime87 = require("@homebound/truss/runtime");
19750
+ var import_runtime88 = require("@homebound/truss/runtime");
19713
19751
 
19714
19752
  // src/inputs/internal/LabeledGroupField.tsx
19715
- var import_runtime86 = require("@homebound/truss/runtime");
19753
+ var import_runtime87 = require("@homebound/truss/runtime");
19716
19754
  var import_jsx_runtime115 = require("react/jsx-runtime");
19717
19755
  function LabeledGroupField(props) {
19718
19756
  const {
@@ -19731,14 +19769,14 @@ function LabeledGroupField(props) {
19731
19769
  const isHiddenLabel = labelStyle === "hidden";
19732
19770
  const isLeftLabel = labelStyle === "left";
19733
19771
  const labelElement = /* @__PURE__ */ (0, import_jsx_runtime115.jsx)(Label, { label, ...labelProps, ...tid.label, suffix: labelSuffix, hidden: isHiddenLabel, inline: isLeftLabel });
19734
- return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { ...groupProps, ...(0, import_runtime86.trussProps)({
19772
+ return /* @__PURE__ */ (0, import_jsx_runtime115.jsxs)("div", { ...groupProps, ...(0, import_runtime87.trussProps)({
19735
19773
  width: "w100",
19736
19774
  ...isLeftLabel ? {
19737
19775
  display: "df",
19738
19776
  flexDirection: "fdr"
19739
19777
  } : {}
19740
19778
  }), onBlur, onFocus, ...tid, children: [
19741
- isLeftLabel ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { ...(0, import_runtime86.trussProps)({
19779
+ isLeftLabel ? /* @__PURE__ */ (0, import_jsx_runtime115.jsx)("div", { ...(0, import_runtime87.trussProps)({
19742
19780
  ...!isHiddenLabel ? {
19743
19781
  width: "w50"
19744
19782
  } : {}
@@ -19777,10 +19815,10 @@ function CheckboxGroup(props) {
19777
19815
  } = (0, import_react_aria39.useCheckboxGroup)(props, state);
19778
19816
  const tid = useTestIds(props, defaultTestId(label));
19779
19817
  const labelSuffix = useLabelSuffix(required, false);
19780
- return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(LabeledGroupField, { label, labelStyle, labelProps, groupProps, errorMsg, helperText, labelSuffix, onBlur, onFocus, tid, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("div", { ...(0, import_runtime87.trussProps)({
19818
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(LabeledGroupField, { label, labelStyle, labelProps, groupProps, errorMsg, helperText, labelSuffix, onBlur, onFocus, tid, children: /* @__PURE__ */ (0, import_jsx_runtime116.jsx)("div", { ...(0, import_runtime88.trussProps)({
19781
19819
  display: "dg",
19782
19820
  gridTemplateColumns: ["gtc_var", {
19783
- "--gridTemplateColumns": (0, import_runtime87.maybeCssVar)(`repeat(${columns}, auto)`)
19821
+ "--gridTemplateColumns": (0, import_runtime88.maybeCssVar)(`repeat(${columns}, auto)`)
19784
19822
  }],
19785
19823
  gap: "gap2"
19786
19824
  }), children: options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(CheckboxGroupItem, { ...option, groupState: state, selected: state.value.includes(option.value) }, option.value)) }) });
@@ -19971,7 +20009,7 @@ var import_react_stately11 = require("react-stately");
19971
20009
 
19972
20010
  // src/components/internal/DatePicker/DateRangePicker.tsx
19973
20011
  var import_react_day_picker4 = require("react-day-picker");
19974
- var import_runtime88 = require("@homebound/truss/runtime");
20012
+ var import_runtime89 = require("@homebound/truss/runtime");
19975
20013
  var import_jsx_runtime119 = require("react/jsx-runtime");
19976
20014
  function DateRangePicker(props) {
19977
20015
  const {
@@ -19982,7 +20020,7 @@ function DateRangePicker(props) {
19982
20020
  useYearPicker
19983
20021
  } = props;
19984
20022
  const tid = useTestIds(props, "datePicker");
19985
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("div", { ...(0, import_runtime88.trussProps)({
20023
+ return /* @__PURE__ */ (0, import_jsx_runtime119.jsx)("div", { ...(0, import_runtime89.trussProps)({
19986
20024
  display: "dib",
19987
20025
  backgroundColor: ["bgColor_var", {
19988
20026
  "--backgroundColor": "var(--b-surface-raised)"
@@ -20003,7 +20041,7 @@ function DateRangePicker(props) {
20003
20041
  }
20004
20042
 
20005
20043
  // src/inputs/DateFields/DateFieldBase.tsx
20006
- var import_runtime89 = require("@homebound/truss/runtime");
20044
+ var import_runtime90 = require("@homebound/truss/runtime");
20007
20045
  var import_jsx_runtime120 = require("react/jsx-runtime");
20008
20046
  function DateFieldBase(props) {
20009
20047
  const {
@@ -20157,7 +20195,7 @@ function DateFieldBase(props) {
20157
20195
  setInputValue("");
20158
20196
  onChange(void 0);
20159
20197
  } }) });
20160
- const calendarButton = /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("button", { ref: buttonRef, ...buttonProps, disabled: isDisabled, ...(0, import_runtime89.trussProps)({
20198
+ const calendarButton = /* @__PURE__ */ (0, import_jsx_runtime120.jsx)("button", { ref: buttonRef, ...buttonProps, disabled: isDisabled, ...(0, import_runtime90.trussProps)({
20161
20199
  ...isDisabled ? {
20162
20200
  cursor: "cursorNotAllowed"
20163
20201
  } : {}
@@ -20405,7 +20443,7 @@ var import_mobx_react9 = require("mobx-react");
20405
20443
 
20406
20444
  // src/inputs/MultiLineSelectField.tsx
20407
20445
  var import_react92 = require("react");
20408
- var import_runtime90 = require("@homebound/truss/runtime");
20446
+ var import_runtime91 = require("@homebound/truss/runtime");
20409
20447
  var import_jsx_runtime127 = require("react/jsx-runtime");
20410
20448
  function MultiLineSelectField(props) {
20411
20449
  const {
@@ -20420,18 +20458,18 @@ function MultiLineSelectField(props) {
20420
20458
  const tid = useTestIds(props, "");
20421
20459
  const [isDisplayed, setIsDisplayed] = (0, import_react92.useState)(true);
20422
20460
  const currentOptions = options.filter((o) => !values.includes(getOptionValue(o)));
20423
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { ...(0, import_runtime90.trussProps)({
20461
+ return /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { ...(0, import_runtime91.trussProps)({
20424
20462
  marginTop: "mt1",
20425
20463
  ...labelStyle === "left" ? {
20426
20464
  display: "df"
20427
20465
  } : {}
20428
20466
  }), children: [
20429
- labelStyle !== "hidden" && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("div", { ...(0, import_runtime90.trussProps)({
20467
+ labelStyle !== "hidden" && /* @__PURE__ */ (0, import_jsx_runtime127.jsx)("div", { ...(0, import_runtime91.trussProps)({
20430
20468
  ...labelStyle === "left" ? {
20431
20469
  width: "w50"
20432
20470
  } : {}
20433
20471
  }), children: /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(Label, { ...tid.label, label: props.label }) }),
20434
- /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { ...(0, import_runtime90.trussProps)({
20472
+ /* @__PURE__ */ (0, import_jsx_runtime127.jsxs)("div", { ...(0, import_runtime91.trussProps)({
20435
20473
  ...labelStyle === "left" ? {
20436
20474
  width: "w50"
20437
20475
  } : {}
@@ -20522,7 +20560,7 @@ var import_react_aria42 = require("react-aria");
20522
20560
  // src/inputs/SelectCard/SelectCardShell.tsx
20523
20561
  var import_react93 = require("react");
20524
20562
  var import_react_aria41 = require("react-aria");
20525
- var import_runtime91 = require("@homebound/truss/runtime");
20563
+ var import_runtime92 = require("@homebound/truss/runtime");
20526
20564
  var import_jsx_runtime129 = require("react/jsx-runtime");
20527
20565
  function SelectCardShell(props) {
20528
20566
  const {
@@ -20608,7 +20646,7 @@ function SelectCardShell(props) {
20608
20646
  }],
20609
20647
  backgroundColor: "bgBlue50",
20610
20648
  boxShadow: ["boxShadow_var", {
20611
- "--boxShadow": (0, import_runtime91.maybeCssVar)(`inset 0 0 0 1px ${maybeCssVar("--b-primary" /* Primary */)}`)
20649
+ "--boxShadow": (0, import_runtime92.maybeCssVar)(`inset 0 0 0 1px ${maybeCssVar("--b-primary" /* Primary */)}`)
20612
20650
  }]
20613
20651
  },
20614
20652
  ...isDisabled && (isSelected ? {
@@ -20634,7 +20672,7 @@ function SelectCardShell(props) {
20634
20672
  return maybeTooltip({
20635
20673
  title: resolveTooltip(isDisabled, tooltip),
20636
20674
  placement: "top",
20637
- children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("label", { ...(0, import_runtime91.trussProps)({
20675
+ children: /* @__PURE__ */ (0, import_jsx_runtime129.jsx)("label", { ...(0, import_runtime92.trussProps)({
20638
20676
  ...styles,
20639
20677
  ...{
20640
20678
  cursor: "cursorPointer",
@@ -20647,7 +20685,7 @@ function SelectCardShell(props) {
20647
20685
  }
20648
20686
 
20649
20687
  // src/inputs/SelectCard/GridSelectCard.tsx
20650
- var import_runtime92 = require("@homebound/truss/runtime");
20688
+ var import_runtime93 = require("@homebound/truss/runtime");
20651
20689
  var import_jsx_runtime130 = require("react/jsx-runtime");
20652
20690
  function GridSelectCard(props) {
20653
20691
  const {
@@ -20667,7 +20705,7 @@ function GridSelectCard(props) {
20667
20705
  const tid = useTestIds(props, defaultTestId(label));
20668
20706
  return /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)(SelectCardShell, { label, selected: isSelected, disabled: isDisabled, tooltip, view: "grid", layout, __storyState, ...others, children: [
20669
20707
  /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(import_react_aria42.VisuallyHidden, { children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("input", { ...inputProps, ...tid.value }) }),
20670
- image ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("img", { src: image, alt: "", ...(0, import_runtime92.trussProps)({
20708
+ image ? /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("img", { src: image, alt: "", ...(0, import_runtime93.trussProps)({
20671
20709
  height: "h_100px",
20672
20710
  width: "w_100px",
20673
20711
  objectFit: "objectContain",
@@ -20677,13 +20715,13 @@ function GridSelectCard(props) {
20677
20715
  } : {}
20678
20716
  }), ...tid.img }) : icon && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Icon, { icon, inc: 4, color: isDisabled ? "--b-on-surface-disabled" /* OnSurfaceDisabled */ : "--b-on-surface" /* OnSurface */ }),
20679
20717
  /* @__PURE__ */ (0, import_jsx_runtime130.jsxs)("span", { className: "df fdc g_4px w100", children: [
20680
- tag && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { ...(0, import_runtime92.trussProps)({
20718
+ tag && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { ...(0, import_runtime93.trussProps)({
20681
20719
  display: "df",
20682
20720
  ...layout !== "horizontal" ? {
20683
20721
  justifyContent: "jcc"
20684
20722
  } : {}
20685
20723
  }), children: /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(Tag, { type: tag.type, text: tag.text, ...tid.tag }) }),
20686
- /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { ...(0, import_runtime92.trussProps)({
20724
+ /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { ...(0, import_runtime93.trussProps)({
20687
20725
  fontWeight: "fw6",
20688
20726
  fontSize: "fz_14px",
20689
20727
  lineHeight: "lh_20px",
@@ -20693,7 +20731,7 @@ function GridSelectCard(props) {
20693
20731
  }]
20694
20732
  } : {}
20695
20733
  }), children: label }),
20696
- description && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { ...(0, import_runtime92.trussProps)({
20734
+ description && /* @__PURE__ */ (0, import_jsx_runtime130.jsx)("span", { ...(0, import_runtime93.trussProps)({
20697
20735
  fontWeight: "fw4",
20698
20736
  fontSize: "fz_14px",
20699
20737
  lineHeight: "lh_20px",
@@ -20715,10 +20753,10 @@ var import_react_aria44 = require("react-aria");
20715
20753
 
20716
20754
  // src/inputs/SelectCard/StyledRadio.tsx
20717
20755
  var import_react_aria43 = require("react-aria");
20718
- var import_runtime94 = require("@homebound/truss/runtime");
20756
+ var import_runtime95 = require("@homebound/truss/runtime");
20719
20757
 
20720
20758
  // src/inputs/internal/radioStyles.ts
20721
- var import_runtime93 = require("@homebound/truss/runtime");
20759
+ var import_runtime94 = require("@homebound/truss/runtime");
20722
20760
  var whiteCircle = "data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3ccircle cx='8' cy='8' r='4'/%3e%3c/svg%3e";
20723
20761
  var radioReset = {
20724
20762
  ...{
@@ -20774,7 +20812,7 @@ var radioChecked = {
20774
20812
  },
20775
20813
  ...{
20776
20814
  backgroundImage: ["backgroundImage_var", {
20777
- "--backgroundImage": (0, import_runtime93.maybeCssVar)(`url("${whiteCircle}")`)
20815
+ "--backgroundImage": (0, import_runtime94.maybeCssVar)(`url("${whiteCircle}")`)
20778
20816
  }]
20779
20817
  },
20780
20818
  ...{
@@ -20843,7 +20881,7 @@ function StyledRadio(props) {
20843
20881
  isDisabled
20844
20882
  });
20845
20883
  const tid = useTestIds(props, label ? defaultTestId(label) : void 0);
20846
- return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("input", { type: "radio", ...(0, import_runtime94.trussProps)({
20884
+ return /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("input", { type: "radio", ...(0, import_runtime95.trussProps)({
20847
20885
  ...radioReset,
20848
20886
  ...radioDefault,
20849
20887
  ...getRadioStateStyles({
@@ -20858,7 +20896,7 @@ function StyledRadio(props) {
20858
20896
  }
20859
20897
 
20860
20898
  // src/inputs/SelectCard/ListSelectCard.tsx
20861
- var import_runtime95 = require("@homebound/truss/runtime");
20899
+ var import_runtime96 = require("@homebound/truss/runtime");
20862
20900
  var import_jsx_runtime132 = require("react/jsx-runtime");
20863
20901
  function ListSelectCard(props) {
20864
20902
  const {
@@ -20882,7 +20920,7 @@ function ListSelectCard(props) {
20882
20920
  // Styled radio is an input, so we can use the inputProps directly
20883
20921
  /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(StyledRadio, { ...tid, label, isDisabled, isSelected, inputProps })
20884
20922
  ),
20885
- /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("span", { ...(0, import_runtime95.trussProps)({
20923
+ /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("span", { ...(0, import_runtime96.trussProps)({
20886
20924
  fontWeight: "fw6",
20887
20925
  fontSize: "fz_14px",
20888
20926
  lineHeight: "lh_20px",
@@ -20897,7 +20935,7 @@ function ListSelectCard(props) {
20897
20935
  }), children: label }),
20898
20936
  tag && /* @__PURE__ */ (0, import_jsx_runtime132.jsx)(Tag, { type: tag.type, text: tag.text, ...tid.tag })
20899
20937
  ] }),
20900
- description && /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("span", { ...(0, import_runtime95.trussProps)({
20938
+ description && /* @__PURE__ */ (0, import_jsx_runtime132.jsx)("span", { ...(0, import_runtime96.trussProps)({
20901
20939
  marginLeft: "ml3",
20902
20940
  fontWeight: "fw4",
20903
20941
  fontSize: "fz_14px",
@@ -20952,7 +20990,7 @@ function SelectCardCheckboxGroupItem(props) {
20952
20990
  }
20953
20991
 
20954
20992
  // src/inputs/SelectCard/utils.ts
20955
- var import_runtime96 = require("@homebound/truss/runtime");
20993
+ var import_runtime97 = require("@homebound/truss/runtime");
20956
20994
  function getNextSelectCardGroupValues({
20957
20995
  currentValues,
20958
20996
  clickedValue,
@@ -20991,14 +21029,14 @@ function getSelectCardOptionsCss({
20991
21029
  return {
20992
21030
  display: "dg",
20993
21031
  gridTemplateColumns: ["gtc_var", {
20994
- "--gridTemplateColumns": (0, import_runtime96.maybeCssVar)(`repeat(auto-fill, minmax(${cardWidth}px, 1fr))`)
21032
+ "--gridTemplateColumns": (0, import_runtime97.maybeCssVar)(`repeat(auto-fill, minmax(${cardWidth}px, 1fr))`)
20995
21033
  }],
20996
21034
  gap: "gap2"
20997
21035
  };
20998
21036
  }
20999
21037
 
21000
21038
  // src/inputs/SelectCard/MultiSelectCardGroup.tsx
21001
- var import_runtime97 = require("@homebound/truss/runtime");
21039
+ var import_runtime98 = require("@homebound/truss/runtime");
21002
21040
  var import_jsx_runtime134 = require("react/jsx-runtime");
21003
21041
  function MultiSelectCardGroup(props) {
21004
21042
  const {
@@ -21040,7 +21078,7 @@ function MultiSelectCardGroup(props) {
21040
21078
  label,
21041
21079
  isDisabled
21042
21080
  }, state);
21043
- return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(LabeledGroupField, { label, labelStyle, labelProps, groupProps, errorMsg, helperText, tid, children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("div", { ...(0, import_runtime97.trussProps)(getSelectCardOptionsCss({
21081
+ return /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(LabeledGroupField, { label, labelStyle, labelProps, groupProps, errorMsg, helperText, tid, children: /* @__PURE__ */ (0, import_jsx_runtime134.jsx)("div", { ...(0, import_runtime98.trussProps)(getSelectCardOptionsCss({
21044
21082
  view,
21045
21083
  hasDescription,
21046
21084
  layout,
@@ -21076,7 +21114,7 @@ var import_mobx_react11 = require("mobx-react");
21076
21114
  var import_react96 = require("react");
21077
21115
 
21078
21116
  // src/forms/SelectedOptionPill.tsx
21079
- var import_runtime98 = require("@homebound/truss/runtime");
21117
+ var import_runtime99 = require("@homebound/truss/runtime");
21080
21118
  var import_jsx_runtime136 = require("react/jsx-runtime");
21081
21119
  function SelectedOptionPill(props) {
21082
21120
  const {
@@ -21088,7 +21126,7 @@ function SelectedOptionPill(props) {
21088
21126
  } = props;
21089
21127
  const tid = useTestIds(props, "selectedOptionPill");
21090
21128
  return /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { className: "df fdc gap1 w100", ...tid, children: [
21091
- /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { ...(0, import_runtime98.trussProps)({
21129
+ /* @__PURE__ */ (0, import_jsx_runtime136.jsxs)("div", { ...(0, import_runtime99.trussProps)({
21092
21130
  // Setting border-radius to 999px to make it a pill shape.
21093
21131
  ...{
21094
21132
  display: "df",
@@ -21107,7 +21145,7 @@ function SelectedOptionPill(props) {
21107
21145
  ...aiMode ? {
21108
21146
  backgroundImage: "aiBackground",
21109
21147
  color: ["color_var", {
21110
- "--color": (0, import_runtime98.maybeCssVar)("rgba(91, 33, 182, 1)" /* Purple800 */)
21148
+ "--color": (0, import_runtime99.maybeCssVar)("rgba(91, 33, 182, 1)" /* Purple800 */)
21111
21149
  }]
21112
21150
  } : {
21113
21151
  backgroundColor: "bgWhite",
@@ -21481,7 +21519,7 @@ var import_mobx_react13 = require("mobx-react");
21481
21519
  var import_react98 = require("react");
21482
21520
  var import_react_aria48 = require("react-aria");
21483
21521
  var import_react_stately14 = require("react-stately");
21484
- var import_runtime99 = require("@homebound/truss/runtime");
21522
+ var import_runtime100 = require("@homebound/truss/runtime");
21485
21523
  var import_jsx_runtime142 = require("react/jsx-runtime");
21486
21524
  var nextNameId = 0;
21487
21525
  function RadioGroupField(props) {
@@ -21518,7 +21556,7 @@ function RadioGroupField(props) {
21518
21556
  }, state);
21519
21557
  return (
21520
21558
  // default styling to position `<Label />` above.
21521
- /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { ...(0, import_runtime99.trussProps)({
21559
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { ...(0, import_runtime100.trussProps)({
21522
21560
  display: "df",
21523
21561
  flexDirection: "fdc",
21524
21562
  gap: "gap1",
@@ -21531,7 +21569,7 @@ function RadioGroupField(props) {
21531
21569
  }), ...tid, children: [
21532
21570
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(Label, { label, ...labelProps, ...tid.label, suffix: labelSuffix, hidden: labelStyle === "hidden" }),
21533
21571
  /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { ...radioGroupProps, children: [
21534
- /* @__PURE__ */ (0, import_jsx_runtime142.jsx)("div", { ...(0, import_runtime99.trussProps)({
21572
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsx)("div", { ...(0, import_runtime100.trussProps)({
21535
21573
  display: "df",
21536
21574
  ...layout === "horizontal" ? {
21537
21575
  flexDirection: "fdr",
@@ -21589,7 +21627,7 @@ function Radio(props) {
21589
21627
  } = (0, import_react_aria48.useHover)({
21590
21628
  isDisabled: disabled
21591
21629
  });
21592
- return /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("label", { ...(0, import_runtime99.trussProps)({
21630
+ return /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("label", { ...(0, import_runtime100.trussProps)({
21593
21631
  display: "df",
21594
21632
  cursor: "cursorPointer",
21595
21633
  ...disabled ? {
@@ -21601,7 +21639,7 @@ function Radio(props) {
21601
21639
  {
21602
21640
  type: "radio",
21603
21641
  ref,
21604
- ...(0, import_runtime99.trussProps)({
21642
+ ...(0, import_runtime100.trussProps)({
21605
21643
  ...radioReset,
21606
21644
  ...radioDefault,
21607
21645
  ...getRadioStateStyles({
@@ -21624,7 +21662,7 @@ function Radio(props) {
21624
21662
  }
21625
21663
  ),
21626
21664
  /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { children: [
21627
- /* @__PURE__ */ (0, import_jsx_runtime142.jsx)("div", { id: labelId, ...(0, import_runtime99.trussProps)({
21665
+ /* @__PURE__ */ (0, import_jsx_runtime142.jsx)("div", { id: labelId, ...(0, import_runtime100.trussProps)({
21628
21666
  fontWeight: "fw4",
21629
21667
  fontSize: "fz_14px",
21630
21668
  lineHeight: "lh_20px",
@@ -21639,7 +21677,7 @@ function Radio(props) {
21639
21677
  }), ...description ? {
21640
21678
  "aria-describedby": descriptionId
21641
21679
  } : {}, children: label }),
21642
- description && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)("div", { id: descriptionId, ...(0, import_runtime99.trussProps)({
21680
+ description && /* @__PURE__ */ (0, import_jsx_runtime142.jsx)("div", { id: descriptionId, ...(0, import_runtime100.trussProps)({
21643
21681
  fontWeight: "fw4",
21644
21682
  fontSize: "fz_14px",
21645
21683
  lineHeight: "lh_20px",
@@ -21736,7 +21774,7 @@ var import_tributejs = __toESM(require("tributejs"), 1);
21736
21774
  var import_tribute = require("tributejs/dist/tribute.css");
21737
21775
  var import_trix = require("trix");
21738
21776
  var import_trix2 = require("trix/dist/trix.css");
21739
- var import_runtime100 = require("@homebound/truss/runtime");
21777
+ var import_runtime101 = require("@homebound/truss/runtime");
21740
21778
  var import_jsx_runtime145 = require("react/jsx-runtime");
21741
21779
  var RichTextField = withTestMock(RichTextFieldImpl, RichTextFieldMock);
21742
21780
  function RichTextFieldImpl(props) {
@@ -21825,7 +21863,7 @@ function RichTextFieldImpl(props) {
21825
21863
  autoFocus
21826
21864
  } = props;
21827
21865
  if (!readOnly) {
21828
- return /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)("div", { ...(0, import_runtime100.trussProps)({
21866
+ return /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)("div", { ...(0, import_runtime101.trussProps)({
21829
21867
  width: "w100",
21830
21868
  ...!fullWidth ? {
21831
21869
  maxWidth: "maxw_550px"
@@ -21848,14 +21886,14 @@ function RichTextFieldImpl(props) {
21848
21886
  ] })
21849
21887
  ] });
21850
21888
  } else {
21851
- return /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)("div", { ...(0, import_runtime100.trussProps)({
21889
+ return /* @__PURE__ */ (0, import_jsx_runtime145.jsxs)("div", { ...(0, import_runtime101.trussProps)({
21852
21890
  width: "w100",
21853
21891
  ...!fullWidth ? {
21854
21892
  maxWidth: "maxw_550px"
21855
21893
  } : {}
21856
21894
  }), children: [
21857
21895
  label && /* @__PURE__ */ (0, import_jsx_runtime145.jsx)(Label, { label }),
21858
- /* @__PURE__ */ (0, import_jsx_runtime145.jsx)("div", { ...(0, import_runtime100.trussProps)({
21896
+ /* @__PURE__ */ (0, import_jsx_runtime145.jsx)("div", { ...(0, import_runtime101.trussProps)({
21859
21897
  minHeight: "mh_120px",
21860
21898
  backgroundColor: ["bgColor_var", {
21861
21899
  "--backgroundColor": "var(--b-surface)"
@@ -21991,7 +22029,7 @@ function SelectCardRadioGroupItem(props) {
21991
22029
  }
21992
22030
 
21993
22031
  // src/inputs/SelectCard/SelectCardGroup.tsx
21994
- var import_runtime101 = require("@homebound/truss/runtime");
22032
+ var import_runtime102 = require("@homebound/truss/runtime");
21995
22033
  var import_jsx_runtime148 = require("react/jsx-runtime");
21996
22034
  function SelectCardGroup(props) {
21997
22035
  const {
@@ -22027,7 +22065,7 @@ function SelectCardGroup(props) {
22027
22065
  label,
22028
22066
  isDisabled
22029
22067
  }, state);
22030
- return /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(LabeledGroupField, { label, labelStyle, labelProps, groupProps: radioGroupProps, errorMsg, helperText, tid, children: /* @__PURE__ */ (0, import_jsx_runtime148.jsx)("div", { ...(0, import_runtime101.trussProps)(getSelectCardOptionsCss({
22068
+ return /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(LabeledGroupField, { label, labelStyle, labelProps, groupProps: radioGroupProps, errorMsg, helperText, tid, children: /* @__PURE__ */ (0, import_jsx_runtime148.jsx)("div", { ...(0, import_runtime102.trussProps)(getSelectCardOptionsCss({
22031
22069
  view,
22032
22070
  hasDescription,
22033
22071
  layout,
@@ -22108,7 +22146,7 @@ var import_mobx_react17 = require("mobx-react");
22108
22146
  // src/inputs/Switch.tsx
22109
22147
  var import_react103 = require("react");
22110
22148
  var import_react_aria51 = require("react-aria");
22111
- var import_runtime102 = require("@homebound/truss/runtime");
22149
+ var import_runtime103 = require("@homebound/truss/runtime");
22112
22150
  var import_jsx_runtime151 = require("react/jsx-runtime");
22113
22151
  var __maybeInc15 = (inc) => {
22114
22152
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -22158,7 +22196,7 @@ function Switch(props) {
22158
22196
  const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
22159
22197
  const tooltip = resolveTooltip(disabled, props.tooltip);
22160
22198
  const tid = useTestIds(otherProps, label);
22161
- return /* @__PURE__ */ (0, import_jsx_runtime151.jsxs)("label", { ...hoverProps, ...(0, import_runtime102.trussProps)({
22199
+ return /* @__PURE__ */ (0, import_jsx_runtime151.jsxs)("label", { ...hoverProps, ...(0, import_runtime103.trussProps)({
22162
22200
  ...{
22163
22201
  position: "relative",
22164
22202
  cursor: "cursorPointer",
@@ -22212,13 +22250,13 @@ function Switch(props) {
22212
22250
  }]
22213
22251
  }
22214
22252
  }, inline: labelStyle === "left" || labelStyle === "filter" }) }),
22215
- /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("div", { ...(0, import_runtime102.trussProps)({
22253
+ /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("div", { ...(0, import_runtime103.trussProps)({
22216
22254
  ...labelStyle === "left" ? {
22217
22255
  width: ["w_var", {
22218
- "--width": (0, import_runtime102.maybeCssVar)(__maybeInc15(labelLeftFieldWidth))
22256
+ "--width": (0, import_runtime103.maybeCssVar)(__maybeInc15(labelLeftFieldWidth))
22219
22257
  }]
22220
22258
  } : {}
22221
- }), children: /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("div", { "aria-hidden": "true", ...(0, import_runtime102.trussProps)({
22259
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("div", { "aria-hidden": "true", ...(0, import_runtime103.trussProps)({
22222
22260
  ...{
22223
22261
  width: ["w_var", {
22224
22262
  "--width": `${toggleWidth(compact)}px`
@@ -22246,7 +22284,7 @@ function Switch(props) {
22246
22284
  }]
22247
22285
  },
22248
22286
  ...isSelected && isHovered && switchSelectedHoverStyles
22249
- }), children: /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("div", { ...(0, import_runtime102.trussProps)({
22287
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime151.jsx)("div", { ...(0, import_runtime103.trussProps)({
22250
22288
  ...switchCircleDefaultStyles(compact),
22251
22289
  ...isDisabled && {
22252
22290
  backgroundColor: ["bgColor_var", {
@@ -22260,7 +22298,7 @@ function Switch(props) {
22260
22298
  fontSize: "fz_14px",
22261
22299
  lineHeight: "lh_20px",
22262
22300
  color: ["color_var", {
22263
- "--color": (0, import_runtime102.maybeCssVar)(isDisabled ? "--b-text-disabled" /* TextDisabled */ : "--b-on-surface" /* OnSurface */)
22301
+ "--color": (0, import_runtime103.maybeCssVar)(isDisabled ? "--b-text-disabled" /* TextDisabled */ : "--b-on-surface" /* OnSurface */)
22264
22302
  }],
22265
22303
  ...compact ? {
22266
22304
  lineHeight: "lh_1"
@@ -22310,7 +22348,7 @@ function switchCircleDefaultStyles(isCompact) {
22310
22348
  function switchCircleSelectedStyles(isCompact) {
22311
22349
  return {
22312
22350
  left: ["left_var", {
22313
- "--left": (0, import_runtime102.maybeCssVar)(__maybeInc15(`calc(100% - ${circleDiameter(isCompact)}px - 2px)`))
22351
+ "--left": (0, import_runtime103.maybeCssVar)(__maybeInc15(`calc(100% - ${circleDiameter(isCompact)}px - 2px)`))
22314
22352
  }]
22315
22353
  };
22316
22354
  }
@@ -22566,7 +22604,7 @@ var import_mobx_react20 = require("mobx-react");
22566
22604
  var import_react106 = require("react");
22567
22605
  var import_react_aria54 = require("react-aria");
22568
22606
  var import_react_stately16 = require("react-stately");
22569
- var import_runtime103 = require("@homebound/truss/runtime");
22607
+ var import_runtime104 = require("@homebound/truss/runtime");
22570
22608
  var import_jsx_runtime157 = require("react/jsx-runtime");
22571
22609
  var __maybeInc16 = (inc) => {
22572
22610
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -22598,7 +22636,7 @@ function ToggleChipGroup(props) {
22598
22636
  } = (0, import_react_aria54.useCheckboxGroup)(props, state);
22599
22637
  const tid = useTestIds(props, "toggleChip");
22600
22638
  const labelSuffix = useLabelSuffix(required, false);
22601
- return /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { ...groupProps, ...(0, import_runtime103.trussProps)({
22639
+ return /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { ...groupProps, ...(0, import_runtime104.trussProps)({
22602
22640
  position: "relative",
22603
22641
  display: "df",
22604
22642
  flexDirection: "fdc",
@@ -22610,13 +22648,13 @@ function ToggleChipGroup(props) {
22610
22648
  } : {}
22611
22649
  }), children: [
22612
22650
  /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(Label, { label, ...labelProps, hidden: labelStyle === "hidden", inline: labelStyle !== "above", suffix: labelSuffix }),
22613
- /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime103.trussProps)({
22651
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime104.trussProps)({
22614
22652
  display: "df",
22615
22653
  gap: "gap1",
22616
22654
  flexWrap: "fww",
22617
22655
  ...labelStyle === "left" ? {
22618
22656
  width: ["w_var", {
22619
- "--width": (0, import_runtime103.maybeCssVar)(__maybeInc16(labelLeftFieldWidth))
22657
+ "--width": (0, import_runtime104.maybeCssVar)(__maybeInc16(labelLeftFieldWidth))
22620
22658
  }]
22621
22659
  } : {}
22622
22660
  }), children: options.map((o) => /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(ToggleChip2, { value: o.value, groupState: state, selected: state.value.includes(o.value), label: o.label, disabled: o.disabled, readonly: o.readonly, startAdornment: o.startAdornment, xss, ...tid[o.value] }, o.value)) })
@@ -22652,15 +22690,15 @@ function ToggleChip2(props) {
22652
22690
  const tooltip = resolveTooltip(disabled);
22653
22691
  const chipStateCss = isSelected ? {
22654
22692
  color: ["color_var", {
22655
- "--color": (0, import_runtime103.maybeCssVar)(xss?.color ?? "rgba(255, 255, 255, 1)" /* White */)
22693
+ "--color": (0, import_runtime104.maybeCssVar)(xss?.color ?? "rgba(255, 255, 255, 1)" /* White */)
22656
22694
  }],
22657
22695
  backgroundColor: ["bgColor_var", {
22658
- "--backgroundColor": (0, import_runtime103.maybeCssVar)(xss?.backgroundColor ?? "rgba(29, 78, 216, 1)" /* Blue700 */)
22696
+ "--backgroundColor": (0, import_runtime104.maybeCssVar)(xss?.backgroundColor ?? "rgba(29, 78, 216, 1)" /* Blue700 */)
22659
22697
  }],
22660
22698
  ...!isDisabled ? {
22661
22699
  backgroundColor: ["bgColor_var h_bgColor_var", {
22662
- "--backgroundColor": (0, import_runtime103.maybeCssVar)(xss?.backgroundColor ?? "rgba(29, 78, 216, 1)" /* Blue700 */),
22663
- "--h_backgroundColor": (0, import_runtime103.maybeCssVar)(xss?.backgroundColor ?? "rgba(30, 64, 175, 1)" /* Blue800 */)
22700
+ "--backgroundColor": (0, import_runtime104.maybeCssVar)(xss?.backgroundColor ?? "rgba(29, 78, 216, 1)" /* Blue700 */),
22701
+ "--h_backgroundColor": (0, import_runtime104.maybeCssVar)(xss?.backgroundColor ?? "rgba(30, 64, 175, 1)" /* Blue800 */)
22664
22702
  }]
22665
22703
  } : {}
22666
22704
  } : isDisabled ? {
@@ -22675,7 +22713,7 @@ function ToggleChip2(props) {
22675
22713
  return maybeTooltip({
22676
22714
  title: tooltip,
22677
22715
  placement: "top",
22678
- children: /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("label", { ...(0, import_runtime103.trussProps)({
22716
+ children: /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("label", { ...(0, import_runtime104.trussProps)({
22679
22717
  ...{
22680
22718
  position: "relative",
22681
22719
  display: "dif",
@@ -22771,7 +22809,7 @@ function BoundTreeSelectField(props) {
22771
22809
 
22772
22810
  // src/forms/FormLines.tsx
22773
22811
  var import_react107 = require("react");
22774
- var import_runtime104 = require("@homebound/truss/runtime");
22812
+ var import_runtime105 = require("@homebound/truss/runtime");
22775
22813
  var import_jsx_runtime160 = require("react/jsx-runtime");
22776
22814
  var __maybeInc17 = (inc) => {
22777
22815
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -22807,17 +22845,17 @@ function FormLines(props) {
22807
22845
  fullWidth: true
22808
22846
  } : {}
22809
22847
  };
22810
- return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { ...(0, import_runtime104.trussProps)({
22848
+ return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)(PresentationProvider, { fieldProps: newFieldProps, children: /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { ...(0, import_runtime105.trussProps)({
22811
22849
  display: "df",
22812
22850
  flexDirection: "fdc",
22813
22851
  gap: ["gap_var", {
22814
- "--gap": (0, import_runtime104.maybeCssVar)(__maybeInc17(gap))
22852
+ "--gap": (0, import_runtime105.maybeCssVar)(__maybeInc17(gap))
22815
22853
  }],
22816
22854
  paddingBottom: ["pb_var", {
22817
- "--paddingBottom": (0, import_runtime104.maybeCssVar)(__maybeInc17(gap))
22855
+ "--paddingBottom": (0, import_runtime105.maybeCssVar)(__maybeInc17(gap))
22818
22856
  }],
22819
22857
  width: ["w_var", {
22820
- "--width": (0, import_runtime104.maybeCssVar)(__maybeInc17(sizes[width2]))
22858
+ "--width": (0, import_runtime105.maybeCssVar)(__maybeInc17(sizes[width2]))
22821
22859
  }]
22822
22860
  }), children: import_react107.Children.map(children, (child) => {
22823
22861
  if (child && typeof child === "object" && "type" in child && child.type.isFormHeading) {
@@ -22831,7 +22869,7 @@ function FormLines(props) {
22831
22869
  }) }) });
22832
22870
  }
22833
22871
  function FormDivider() {
22834
- return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { ...(0, import_runtime104.trussProps)({
22872
+ return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { ...(0, import_runtime105.trussProps)({
22835
22873
  height: "h_1px",
22836
22874
  backgroundColor: ["bgColor_var", {
22837
22875
  "--backgroundColor": "var(--b-surface-separator)"
@@ -22848,11 +22886,11 @@ function FieldGroup(props) {
22848
22886
  const width2 = widths2[i] || 1;
22849
22887
  return typeof width2 === `number` ? `${width2}fr` : width2;
22850
22888
  }).join(" ");
22851
- return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { ...(0, import_runtime104.trussProps)({
22889
+ return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("div", { ...(0, import_runtime105.trussProps)({
22852
22890
  display: "dg",
22853
22891
  gap: "gap2",
22854
22892
  gridTemplateColumns: ["gtc_var", {
22855
- "--gridTemplateColumns": (0, import_runtime104.maybeCssVar)(gtc)
22893
+ "--gridTemplateColumns": (0, import_runtime105.maybeCssVar)(gtc)
22856
22894
  }]
22857
22895
  }), children });
22858
22896
  }
@@ -22864,7 +22902,7 @@ var sizes = {
22864
22902
  };
22865
22903
 
22866
22904
  // src/forms/BoundForm.tsx
22867
- var import_runtime105 = require("@homebound/truss/runtime");
22905
+ var import_runtime106 = require("@homebound/truss/runtime");
22868
22906
  var import_jsx_runtime161 = require("react/jsx-runtime");
22869
22907
  var import_react109 = require("react");
22870
22908
  var reactNodePrefix = "reactNode";
@@ -22919,12 +22957,12 @@ function FormRow({
22919
22957
  component,
22920
22958
  key,
22921
22959
  minWidth
22922
- }) => /* @__PURE__ */ (0, import_react109.createElement)("div", { ...(0, import_runtime105.trussProps)({
22960
+ }) => /* @__PURE__ */ (0, import_react109.createElement)("div", { ...(0, import_runtime106.trussProps)({
22923
22961
  minWidth: ["mw_var", {
22924
- "--minWidth": (0, import_runtime105.maybeCssVar)(minWidth)
22962
+ "--minWidth": (0, import_runtime106.maybeCssVar)(minWidth)
22925
22963
  }],
22926
22964
  flexBasis: ["fb_var", {
22927
- "--flexBasis": (0, import_runtime105.maybeCssVar)(`${itemFlexBasis}%`)
22965
+ "--flexBasis": (0, import_runtime106.maybeCssVar)(`${itemFlexBasis}%`)
22928
22966
  }],
22929
22967
  flexGrow: "fg1"
22930
22968
  }), key: key.toString() }, isLoading ? /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(LoadingSkeleton, { size: "lg" }) : component)) });
@@ -23069,7 +23107,7 @@ var import_use_debounce6 = require("use-debounce");
23069
23107
  // src/components/RightSidebar.tsx
23070
23108
  var import_framer_motion2 = require("framer-motion");
23071
23109
  var import_react110 = require("react");
23072
- var import_runtime106 = require("@homebound/truss/runtime");
23110
+ var import_runtime107 = require("@homebound/truss/runtime");
23073
23111
  var import_jsx_runtime163 = require("react/jsx-runtime");
23074
23112
  var __maybeInc18 = (inc) => {
23075
23113
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -23112,20 +23150,20 @@ function RightSidebar({
23112
23150
  duration: 0.2
23113
23151
  },
23114
23152
  x: "100%"
23115
- }, ...(0, import_runtime106.trussProps)({
23153
+ }, ...(0, import_runtime107.trussProps)({
23116
23154
  width: "w100",
23117
23155
  minWidth: ["mw_var", {
23118
- "--minWidth": (0, import_runtime106.maybeCssVar)(RIGHT_SIDEBAR_MIN_WIDTH)
23156
+ "--minWidth": (0, import_runtime107.maybeCssVar)(RIGHT_SIDEBAR_MIN_WIDTH)
23119
23157
  }],
23120
23158
  zIndex: "z0",
23121
23159
  height: ["h_var", {
23122
- "--height": (0, import_runtime106.maybeCssVar)(__maybeInc18(`calc(100vh - ${headerHeightPx2}px)`))
23160
+ "--height": (0, import_runtime107.maybeCssVar)(__maybeInc18(`calc(100vh - ${headerHeightPx2}px)`))
23123
23161
  }],
23124
23162
  overflowY: "oya",
23125
23163
  paddingLeft: "pl4",
23126
23164
  paddingRight: "pr3"
23127
23165
  }), children: /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(import_jsx_runtime163.Fragment, { children: [
23128
- /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)("div", { ...(0, import_runtime106.trussProps)({
23166
+ /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)("div", { ...(0, import_runtime107.trussProps)({
23129
23167
  position: "sticky",
23130
23168
  top: "top0",
23131
23169
  backgroundColor: ["bgColor_var", {
@@ -23134,7 +23172,7 @@ function RightSidebar({
23134
23172
  }), children: [
23135
23173
  /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)("div", { className: "absolute l_neg24px top0 df fdc aic", children: [
23136
23174
  /* @__PURE__ */ (0, import_jsx_runtime163.jsx)(IconButton, { bgColor: "--b-surface" /* Surface */, variant: "circle", onClick: () => setSelectedIcon(void 0), icon: "x", inc: 3.5 }),
23137
- /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { ...(0, import_runtime106.trussProps)({
23175
+ /* @__PURE__ */ (0, import_jsx_runtime163.jsx)("div", { ...(0, import_runtime107.trussProps)({
23138
23176
  position: "absolute",
23139
23177
  top: "tp_48px",
23140
23178
  height: "h_calc_100vh_168px",
@@ -23181,7 +23219,7 @@ function Toast() {
23181
23219
  // src/components/Layout/PageHeaderBreadcrumbs.tsx
23182
23220
  var import_react111 = require("react");
23183
23221
  var import_react_router_dom6 = require("react-router-dom");
23184
- var import_runtime107 = require("@homebound/truss/runtime");
23222
+ var import_runtime108 = require("@homebound/truss/runtime");
23185
23223
  var import_jsx_runtime165 = (
23186
23224
  // Adding index to key to prevent rendering issues when multiple items have the same label
23187
23225
  require("react/jsx-runtime")
@@ -23194,7 +23232,7 @@ function PageHeaderBreadcrumbs({
23194
23232
  const [collapsed, setCollapsed] = (0, import_react111.useState)(true);
23195
23233
  function renderBreadcrumb(bc, index, hideDivisor) {
23196
23234
  return /* @__PURE__ */ (0, import_jsx_runtime165.jsxs)(import_react111.Fragment, { children: [
23197
- index > 0 && !hideDivisor && /* @__PURE__ */ (0, import_jsx_runtime165.jsx)("span", { ...(0, import_runtime107.trussProps)({
23235
+ index > 0 && !hideDivisor && /* @__PURE__ */ (0, import_jsx_runtime165.jsx)("span", { ...(0, import_runtime108.trussProps)({
23198
23236
  fontWeight: "fw6",
23199
23237
  fontSize: "fz_14px",
23200
23238
  lineHeight: "lh_20px",
@@ -23206,7 +23244,7 @@ function PageHeaderBreadcrumbs({
23206
23244
  marginTop: "mt_2px",
23207
23245
  marginBottom: "mb_2px"
23208
23246
  }), children: "/" }),
23209
- /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(import_react_router_dom6.Link, { to: bc.href, ...(0, import_runtime107.mergeProps)("navLink", void 0, {
23247
+ /* @__PURE__ */ (0, import_jsx_runtime165.jsx)(import_react_router_dom6.Link, { to: bc.href, ...(0, import_runtime108.mergeProps)("navLink", void 0, {
23210
23248
  fontWeight: "fw6",
23211
23249
  fontSize: "fz_14px",
23212
23250
  lineHeight: "lh_20px",
@@ -23220,7 +23258,7 @@ function PageHeaderBreadcrumbs({
23220
23258
  }
23221
23259
  return /* @__PURE__ */ (0, import_jsx_runtime165.jsx)("div", { className: "df aic mb_4px", children: breadcrumbs.length > 3 && collapsed ? /* @__PURE__ */ (0, import_jsx_runtime165.jsxs)(import_jsx_runtime165.Fragment, { children: [
23222
23260
  renderBreadcrumb(breadcrumbs[0], 0),
23223
- /* @__PURE__ */ (0, import_jsx_runtime165.jsx)("button", { ...tids.expand, ...(0, import_runtime107.trussProps)({
23261
+ /* @__PURE__ */ (0, import_jsx_runtime165.jsx)("button", { ...tids.expand, ...(0, import_runtime108.trussProps)({
23224
23262
  color: ["color_var", {
23225
23263
  "--color": "var(--b-on-surface-muted)"
23226
23264
  }],
@@ -23233,7 +23271,7 @@ function PageHeaderBreadcrumbs({
23233
23271
  }
23234
23272
 
23235
23273
  // src/components/Layout/FormPageLayout.tsx
23236
- var import_runtime108 = require("@homebound/truss/runtime");
23274
+ var import_runtime109 = require("@homebound/truss/runtime");
23237
23275
  var import_jsx_runtime166 = require("react/jsx-runtime");
23238
23276
  var headerHeightPx = 120;
23239
23277
  var maxContentWidthPx = 1600;
@@ -23256,14 +23294,14 @@ function FormPageLayoutComponent(props) {
23256
23294
  // since this layout will be replacing most superdrawers/sidebars, we keep the listing mounted below to preserve the users's
23257
23295
  // scroll position & filters
23258
23296
  // Adding "align-items: start" allows "position: sticky" to work within a grid for the sidebars
23259
- /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("div", { ...(0, import_runtime108.trussProps)({
23297
+ /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("div", { ...(0, import_runtime109.trussProps)({
23260
23298
  position: "fixed",
23261
23299
  top: "top0",
23262
23300
  bottom: "bottom0",
23263
23301
  left: "left0",
23264
23302
  right: "right0",
23265
23303
  zIndex: ["z_var", {
23266
- "--zIndex": (0, import_runtime108.maybeCssVar)(zIndices.pageOverlay)
23304
+ "--zIndex": (0, import_runtime109.maybeCssVar)(zIndices.pageOverlay)
23267
23305
  }],
23268
23306
  overflowY: "oya",
23269
23307
  backgroundColor: ["bgColor_var", {
@@ -23272,14 +23310,14 @@ function FormPageLayoutComponent(props) {
23272
23310
  display: "df",
23273
23311
  justifyContent: "jcc",
23274
23312
  alignItems: "aifs"
23275
- }), ...tids, children: /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)("div", { ...(0, import_runtime108.trussProps)({
23313
+ }), ...tids, children: /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)("div", { ...(0, import_runtime109.trussProps)({
23276
23314
  width: "w100",
23277
23315
  maxWidth: ["maxw_var", {
23278
23316
  "--maxWidth": `${maxContentWidthPx}px`
23279
23317
  }],
23280
23318
  display: "dg",
23281
23319
  gridTemplateColumns: ["gtc_var", {
23282
- "--gridTemplateColumns": (0, import_runtime108.maybeCssVar)(gridColumns)
23320
+ "--gridTemplateColumns": (0, import_runtime109.maybeCssVar)(gridColumns)
23283
23321
  }],
23284
23322
  gridTemplateRows: "gtr_auto_1fr",
23285
23323
  columnGap: "cg3",
@@ -23288,7 +23326,7 @@ function FormPageLayoutComponent(props) {
23288
23326
  /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(PageHeader, { ...props, ...tids.pageHeader }),
23289
23327
  /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(LeftNav, { sectionsWithRefs, ...tids }),
23290
23328
  /* @__PURE__ */ (0, import_jsx_runtime166.jsx)(FormSections, { sectionsWithRefs, formState, ...tids }),
23291
- rightSideBar && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("aside", { ...(0, import_runtime108.trussProps)({
23329
+ rightSideBar && /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("aside", { ...(0, import_runtime109.trussProps)({
23292
23330
  gridRow: "gr_2",
23293
23331
  gridColumn: "gc_3_4",
23294
23332
  position: "sticky",
@@ -23313,7 +23351,7 @@ function PageHeader(props) {
23313
23351
  notice
23314
23352
  } = useToastContext();
23315
23353
  const tids = useTestIds(props);
23316
- return /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)("header", { ...(0, import_runtime108.trussProps)({
23354
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsxs)("header", { ...(0, import_runtime109.trussProps)({
23317
23355
  gridRow: "gr_1",
23318
23356
  gridColumn: "gc_1_4",
23319
23357
  position: "sticky",
@@ -23322,7 +23360,7 @@ function PageHeader(props) {
23322
23360
  "--backgroundColor": "var(--b-surface)"
23323
23361
  }],
23324
23362
  zIndex: ["z_var", {
23325
- "--zIndex": (0, import_runtime108.maybeCssVar)(zIndices.pageStickyHeader)
23363
+ "--zIndex": (0, import_runtime109.maybeCssVar)(zIndices.pageStickyHeader)
23326
23364
  }],
23327
23365
  ...!notice ? {
23328
23366
  height: ["h_var", {
@@ -23351,7 +23389,7 @@ function FormSections(props) {
23351
23389
  } = props;
23352
23390
  const tids = useTestIds(props);
23353
23391
  const bottomPaddingPx = sectionsWithRefs.length > 1 ? 200 : 0;
23354
- return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("article", { ...(0, import_runtime108.trussProps)({
23392
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("article", { ...(0, import_runtime109.trussProps)({
23355
23393
  gridRow: "gr_2",
23356
23394
  gridColumn: "gc_2_3",
23357
23395
  paddingBottom: ["pb_var", {
@@ -23369,13 +23407,13 @@ function FormSections(props) {
23369
23407
  {
23370
23408
  id: sectionKey,
23371
23409
  ref,
23372
- ...(0, import_runtime108.trussProps)({
23410
+ ...(0, import_runtime109.trussProps)({
23373
23411
  display: "dg",
23374
23412
  gridTemplateColumns: "gtc_50px_1fr",
23375
23413
  gridTemplateRows: "gtr_auto",
23376
23414
  marginBottom: "mb_72px",
23377
23415
  scrollMarginTop: ["scrollMarginTop_var", {
23378
- "--scrollMarginTop": (0, import_runtime108.maybeCssVar)(`${headerHeightPx}px`)
23416
+ "--scrollMarginTop": (0, import_runtime109.maybeCssVar)(`${headerHeightPx}px`)
23379
23417
  }]
23380
23418
  }),
23381
23419
  ...tids.formSection,
@@ -23400,7 +23438,7 @@ function LeftNav(props) {
23400
23438
  section
23401
23439
  }) => !!section.title), [sectionsWithRefs]);
23402
23440
  const activeSection = useActiveSection(sectionWithTitles);
23403
- return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("aside", { ...(0, import_runtime108.trussProps)({
23441
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("aside", { ...(0, import_runtime109.trussProps)({
23404
23442
  gridRow: "gr_2",
23405
23443
  gridColumn: "gc_1_2",
23406
23444
  position: "sticky",
@@ -23465,7 +23503,7 @@ function SectionNavLink(props) {
23465
23503
  hoverProps,
23466
23504
  isHovered
23467
23505
  } = useHover2({});
23468
- return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("button", { ref: buttonRef, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime108.trussProps)({
23506
+ return /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("button", { ref: buttonRef, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime109.trussProps)({
23469
23507
  ...{
23470
23508
  fontWeight: "fw6",
23471
23509
  fontSize: "fz_14px",
@@ -23542,7 +23580,7 @@ function useActiveSection(sectionsWithRefs) {
23542
23580
  }
23543
23581
 
23544
23582
  // src/components/Layout/FullBleed.tsx
23545
- var import_runtime109 = require("@homebound/truss/runtime");
23583
+ var import_runtime110 = require("@homebound/truss/runtime");
23546
23584
  var import_react113 = require("react");
23547
23585
  var __maybeInc19 = (inc) => {
23548
23586
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -23568,24 +23606,24 @@ function FullBleed({
23568
23606
  // ...for some reason this keeps the Layout top padding better than using
23569
23607
  // react-aria's more generic mergeProps.
23570
23608
  {
23571
- ...(0, import_runtime109.mergeProps)(
23609
+ ...(0, import_runtime110.mergeProps)(
23572
23610
  className,
23573
23611
  style,
23574
23612
  // ScrollableParent applies horizontal padding to its content column, so FullBleed
23575
23613
  // inverts that padding with negative margins before re-applying it to the child.
23576
23614
  {
23577
23615
  marginLeft: ["ml_var", {
23578
- "--marginLeft": (0, import_runtime109.maybeCssVar)(__maybeInc19(invertSpacing(paddingLeft)))
23616
+ "--marginLeft": (0, import_runtime110.maybeCssVar)(__maybeInc19(invertSpacing(paddingLeft)))
23579
23617
  }],
23580
23618
  marginRight: ["mr_var", {
23581
- "--marginRight": (0, import_runtime109.maybeCssVar)(__maybeInc19(invertSpacing(paddingRight)))
23619
+ "--marginRight": (0, import_runtime110.maybeCssVar)(__maybeInc19(invertSpacing(paddingRight)))
23582
23620
  }],
23583
23621
  ...!omitPadding ? {
23584
23622
  paddingLeft: ["pl_var", {
23585
- "--paddingLeft": (0, import_runtime109.maybeCssVar)(__maybeInc19(paddingLeft))
23623
+ "--paddingLeft": (0, import_runtime110.maybeCssVar)(__maybeInc19(paddingLeft))
23586
23624
  }],
23587
23625
  paddingRight: ["pr_var", {
23588
- "--paddingRight": (0, import_runtime109.maybeCssVar)(__maybeInc19(paddingRight))
23626
+ "--paddingRight": (0, import_runtime110.maybeCssVar)(__maybeInc19(paddingRight))
23589
23627
  }]
23590
23628
  } : {}
23591
23629
  }
@@ -23772,7 +23810,7 @@ function isGridTableProps(props) {
23772
23810
 
23773
23811
  // src/components/Layout/RightPaneLayout/DocumentScrollOverlayRightPaneLayout.tsx
23774
23812
  var import_react124 = require("react");
23775
- var import_runtime112 = require("@homebound/truss/runtime");
23813
+ var import_runtime113 = require("@homebound/truss/runtime");
23776
23814
 
23777
23815
  // src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
23778
23816
  var import_framer_motion3 = require("framer-motion");
@@ -23932,7 +23970,7 @@ function waitForRightPaneExit(onComplete) {
23932
23970
  }
23933
23971
 
23934
23972
  // src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
23935
- var import_runtime110 = require("@homebound/truss/runtime");
23973
+ var import_runtime111 = require("@homebound/truss/runtime");
23936
23974
  var import_jsx_runtime168 = require("react/jsx-runtime");
23937
23975
  var __maybeInc20 = (inc) => {
23938
23976
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -23988,7 +24026,7 @@ function DocumentScrollRightPane({
23988
24026
  } : void 0;
23989
24027
  const pane = /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(import_framer_motion3.AnimatePresence, { children: isRightPaneOpen && /* @__PURE__ */ (0, import_jsx_runtime168.jsx)(import_framer_motion3.motion.div, { ref: paneRef, ...{
23990
24028
  [rightPaneContentDataAttribute]: true
23991
- }, ...tid, ...(0, import_runtime110.mergeProps)(void 0, paneStyle, mobile ? {
24029
+ }, ...tid, ...(0, import_runtime111.mergeProps)(void 0, paneStyle, mobile ? {
23992
24030
  position: "fixed",
23993
24031
  right: "right0",
23994
24032
  bottom: "bottom0",
@@ -23998,20 +24036,20 @@ function DocumentScrollRightPane({
23998
24036
  "--backgroundColor": "var(--b-surface)"
23999
24037
  }],
24000
24038
  zIndex: ["z_var", {
24001
- "--zIndex": (0, import_runtime110.maybeCssVar)(zIndices.rightPaneMobile)
24039
+ "--zIndex": (0, import_runtime111.maybeCssVar)(zIndices.rightPaneMobile)
24002
24040
  }]
24003
24041
  } : {
24004
24042
  position: "fixed",
24005
24043
  right: "right0",
24006
24044
  overflowY: "oya",
24007
24045
  width: ["w_var", {
24008
- "--width": (0, import_runtime110.maybeCssVar)(__maybeInc20(paneWidthCss))
24046
+ "--width": (0, import_runtime111.maybeCssVar)(__maybeInc20(paneWidthCss))
24009
24047
  }],
24010
24048
  backgroundColor: ["bgColor_var", {
24011
24049
  "--backgroundColor": "var(--b-surface)"
24012
24050
  }],
24013
24051
  zIndex: ["z_var", {
24014
- "--zIndex": (0, import_runtime110.maybeCssVar)(zIndices.rightPane)
24052
+ "--zIndex": (0, import_runtime111.maybeCssVar)(zIndices.rightPane)
24015
24053
  }],
24016
24054
  borderLeftStyle: "bls_solid",
24017
24055
  borderLeftWidth: "blw_1px",
@@ -24035,7 +24073,7 @@ function DocumentScrollRightPane({
24035
24073
 
24036
24074
  // src/components/Layout/RightPaneLayout/DocumentScrollRightPaneLayoutRoot.tsx
24037
24075
  var import_react122 = require("react");
24038
- var import_runtime111 = require("@homebound/truss/runtime");
24076
+ var import_runtime112 = require("@homebound/truss/runtime");
24039
24077
  var import_jsx_runtime169 = require("react/jsx-runtime");
24040
24078
  var NestedRightPaneLayoutContext = (0, import_react122.createContext)(false);
24041
24079
  function DocumentScrollRightPaneLayoutRoot(props) {
@@ -24051,7 +24089,7 @@ function DocumentScrollRightPaneLayoutRoot(props) {
24051
24089
  "div",
24052
24090
  {
24053
24091
  ref: anchorRef.setRef,
24054
- ...(0, import_runtime111.mergeProps)(void 0, {
24092
+ ...(0, import_runtime112.mergeProps)(void 0, {
24055
24093
  [beamRightPaneWidthVar]: "0px",
24056
24094
  [beamRightPaneContentMinVar]: "0px"
24057
24095
  }, sm ? {
@@ -24122,7 +24160,7 @@ function DocumentScrollOverlayRightPaneLayout({
24122
24160
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)(import_jsx_runtime170.Fragment, { children: [
24123
24161
  /* @__PURE__ */ (0, import_jsx_runtime170.jsxs)("div", { className: "df aifs wfc mw100", children: [
24124
24162
  /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { className: "w100 mwfc", ...tid.main, children }),
24125
- /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { ref: spacerRef, "aria-hidden": true, ...(0, import_runtime112.mergeProps)(void 0, {
24163
+ /* @__PURE__ */ (0, import_jsx_runtime170.jsx)("div", { ref: spacerRef, "aria-hidden": true, ...(0, import_runtime113.mergeProps)(void 0, {
24126
24164
  width: 0
24127
24165
  }, {
24128
24166
  flexShrink: "fs0",
@@ -24182,7 +24220,7 @@ var import_react126 = require("react");
24182
24220
  var import_react125 = require("react");
24183
24221
  var import_react_aria57 = require("react-aria");
24184
24222
  var import_react_stately17 = require("react-stately");
24185
- var import_runtime113 = require("@homebound/truss/runtime");
24223
+ var import_runtime114 = require("@homebound/truss/runtime");
24186
24224
  var import_jsx_runtime171 = require("react/jsx-runtime");
24187
24225
  function EditColumnsButton(props) {
24188
24226
  const {
@@ -24231,7 +24269,7 @@ function EditColumnsButton(props) {
24231
24269
  label: "",
24232
24270
  size: "md",
24233
24271
  variant: "secondaryBlack"
24234
- }, menuTriggerProps, state, buttonRef, ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)("div", { ...(0, import_runtime113.trussProps)({
24272
+ }, menuTriggerProps, state, buttonRef, ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)("div", { ...(0, import_runtime114.trussProps)({
24235
24273
  display: "df",
24236
24274
  flexDirection: "fdc",
24237
24275
  backgroundColor: ["bgColor_var", {
@@ -24248,7 +24286,7 @@ function EditColumnsButton(props) {
24248
24286
  /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("div", { className: "fw4 fz_14px lh_20px wsnw oh to_ellipsis pr1", children: option.label }),
24249
24287
  /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(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}`] })
24250
24288
  ] }, option.value)) }),
24251
- /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("div", { ...(0, import_runtime113.trussProps)({
24289
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)("div", { ...(0, import_runtime114.trussProps)({
24252
24290
  display: "df",
24253
24291
  justifyContent: "jcc",
24254
24292
  paddingTop: "pt2",
@@ -24290,7 +24328,7 @@ var import_use_debounce7 = require("use-debounce");
24290
24328
  var import_use_query_params3 = require("use-query-params");
24291
24329
 
24292
24330
  // src/components/Layout/GridTableLayout/FilterPanel.tsx
24293
- var import_runtime114 = require("@homebound/truss/runtime");
24331
+ var import_runtime115 = require("@homebound/truss/runtime");
24294
24332
 
24295
24333
  // src/components/Layout/GridTableLayout/GroupByField.tsx
24296
24334
  var import_jsx_runtime173 = require("react/jsx-runtime");
@@ -24326,7 +24364,7 @@ function FilterPanelOpen({
24326
24364
  const inDocumentScrollLayout = useDocumentScrollLayout();
24327
24365
  const activeFilterCount = getActiveFilterCount(filter ?? {});
24328
24366
  const filterControls = filter && setFilter ? buildFilterControls(filterImpls, filter, setFilter, tid) : null;
24329
- return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("div", { ...(0, import_runtime114.trussProps)({
24367
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("div", { ...(0, import_runtime115.trussProps)({
24330
24368
  ...{
24331
24369
  display: "df",
24332
24370
  alignItems: "aic",
@@ -24358,7 +24396,7 @@ function FilterPanelClosed({
24358
24396
  if (!filter || !setFilter) return null;
24359
24397
  const chips = safeEntries(filterImpls).flatMap(([key, f]) => chipsForFilterKey(key, f, filter, setFilter, tid));
24360
24398
  if (chips.length === 0) return null;
24361
- return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("div", { ...(0, import_runtime114.trussProps)({
24399
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("div", { ...(0, import_runtime115.trussProps)({
24362
24400
  display: "df",
24363
24401
  gap: "gap1",
24364
24402
  alignItems: "aic",
@@ -24399,7 +24437,7 @@ function chipsForFilterKey(key, f, filter, onChange, testId) {
24399
24437
  }
24400
24438
 
24401
24439
  // src/components/Layout/GridTableLayout/GridTableLayoutActions.tsx
24402
- var import_runtime115 = require("@homebound/truss/runtime");
24440
+ var import_runtime116 = require("@homebound/truss/runtime");
24403
24441
  var import_jsx_runtime175 = require("react/jsx-runtime");
24404
24442
  function GridTableLayoutActionsComponent(props) {
24405
24443
  const {
@@ -24463,7 +24501,7 @@ function GridTableLayoutActionsComponent(props) {
24463
24501
  }
24464
24502
  };
24465
24503
  }
24466
- return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { ...(0, import_runtime115.trussProps)({
24504
+ return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { ...(0, import_runtime116.trussProps)({
24467
24505
  display: "df",
24468
24506
  flexDirection: "fdc",
24469
24507
  gap: "gap1",
@@ -24472,7 +24510,7 @@ function GridTableLayoutActionsComponent(props) {
24472
24510
  paddingBottom: "pb3"
24473
24511
  } : {}
24474
24512
  }), children: [
24475
- /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { ...(0, import_runtime115.trussProps)({
24513
+ /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { ...(0, import_runtime116.trussProps)({
24476
24514
  ...{
24477
24515
  display: "df",
24478
24516
  gap: "gap1",
@@ -24497,7 +24535,7 @@ function GridTableLayoutActionsComponent(props) {
24497
24535
  !!actions?.length && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(HeaderActions, { actions, ...testId.actions })
24498
24536
  ] })
24499
24537
  ] }),
24500
- sm && showSearch && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime115.trussProps)(pageContentPaddingX), children: searchTextField }),
24538
+ sm && showSearch && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime116.trussProps)(pageContentPaddingX), children: searchTextField }),
24501
24539
  hasFilterControls && !showInlineControl && /* @__PURE__ */ (0, import_jsx_runtime175.jsx)(FilterPanel, { isOpen: showFilters, groupBy, filterImpls, filter, setFilter, onClear: clearFilters })
24502
24540
  ] });
24503
24541
  }
@@ -24569,7 +24607,7 @@ function parseStoredTableView(raw) {
24569
24607
  }
24570
24608
 
24571
24609
  // src/components/Layout/GridTableLayout/GridTableLayout.tsx
24572
- var import_runtime116 = require("@homebound/truss/runtime");
24610
+ var import_runtime117 = require("@homebound/truss/runtime");
24573
24611
  var import_jsx_runtime177 = require("react/jsx-runtime");
24574
24612
  var __maybeInc21 = (inc) => {
24575
24613
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -24627,21 +24665,21 @@ function GridTableLayoutComponent(props) {
24627
24665
  as: cardAs
24628
24666
  } : {}, api, emptyState, filter: clientSearch, style: tableStyle, stickyHeader: true, disableColumnResizing: false, visibleColumnsStorageKey, columnGutter: inDocumentScrollLayout }) });
24629
24667
  const tableScrollContent = /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)(import_jsx_runtime177.Fragment, { children: [
24630
- showTableActions && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ref: tableActionsRef, ...(0, import_runtime116.trussProps)({
24668
+ showTableActions && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ref: tableActionsRef, ...(0, import_runtime117.trussProps)({
24631
24669
  ...inDocumentScrollLayout ? {
24632
24670
  transition: "transitionTop",
24633
24671
  position: "sticky",
24634
24672
  top: ["top_var", {
24635
- "--top": (0, import_runtime116.maybeCssVar)(__maybeInc21(stickyNavAndHeaderOffset()))
24673
+ "--top": (0, import_runtime117.maybeCssVar)(__maybeInc21(stickyNavAndHeaderOffset()))
24636
24674
  }],
24637
24675
  left: ["left_var", {
24638
- "--left": (0, import_runtime116.maybeCssVar)(__maybeInc21(documentScrollChromeLeft()))
24676
+ "--left": (0, import_runtime117.maybeCssVar)(__maybeInc21(documentScrollChromeLeft()))
24639
24677
  }],
24640
24678
  width: ["w_var", {
24641
- "--width": (0, import_runtime116.maybeCssVar)(__maybeInc21(`min(100%, ${documentScrollChromeWidth()})`))
24679
+ "--width": (0, import_runtime117.maybeCssVar)(__maybeInc21(`min(100%, ${documentScrollChromeWidth()})`))
24642
24680
  }],
24643
24681
  zIndex: ["z_var", {
24644
- "--zIndex": (0, import_runtime116.maybeCssVar)(zIndices.tableActions)
24682
+ "--zIndex": (0, import_runtime117.maybeCssVar)(zIndices.tableActions)
24645
24683
  }],
24646
24684
  backgroundColor: ["bgColor_var", {
24647
24685
  "--backgroundColor": "var(--b-surface)"
@@ -24650,9 +24688,9 @@ function GridTableLayoutComponent(props) {
24650
24688
  }), ...tid.stickyContent, children: tableActionsEl }),
24651
24689
  inDocumentScrollLayout ? (
24652
24690
  // Scope the pane to the table only — actions stay outside so they remain full-bleed sticky chrome.
24653
- rightPane ? /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(DocumentScrollOverlayRightPaneLayout, { paneWidth: rightPane.width, children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime116.trussProps)({
24691
+ rightPane ? /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(DocumentScrollOverlayRightPaneLayout, { paneWidth: rightPane.width, children: /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime117.trussProps)({
24654
24692
  minWidth: ["mw_var", {
24655
- "--minWidth": (0, import_runtime116.maybeCssVar)(documentScrollRightPaneContentMinCss())
24693
+ "--minWidth": (0, import_runtime117.maybeCssVar)(documentScrollRightPaneContentMinCss())
24656
24694
  }]
24657
24695
  }), children: tableBody }) }) : tableBody
24658
24696
  ) : /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(ScrollableContent, { virtualized: isVirtualized, children: tableBody })
@@ -24781,7 +24819,7 @@ function PreventBrowserScroll({
24781
24819
  // src/components/Layout/RightPaneLayout/RightPaneLayout.tsx
24782
24820
  var import_framer_motion4 = require("framer-motion");
24783
24821
  var import_react130 = require("react");
24784
- var import_runtime117 = require("@homebound/truss/runtime");
24822
+ var import_runtime118 = require("@homebound/truss/runtime");
24785
24823
  var import_jsx_runtime179 = require("react/jsx-runtime");
24786
24824
  var __maybeInc22 = (inc) => {
24787
24825
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -24801,10 +24839,10 @@ function RightPaneLayout(props) {
24801
24839
  const rightPaneContent = useRightPaneContent();
24802
24840
  (0, import_react130.useEffect)(() => closePane2, [closePane2]);
24803
24841
  return /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { className: "h100 df oxh", children: /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)(import_jsx_runtime179.Fragment, { children: [
24804
- /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...(0, import_runtime117.trussProps)({
24842
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...(0, import_runtime118.trussProps)({
24805
24843
  ...{
24806
24844
  width: ["w_var", {
24807
- "--width": (0, import_runtime117.maybeCssVar)(__maybeInc22(`calc(100% - ${paneWidth + 24}px)`))
24845
+ "--width": (0, import_runtime118.maybeCssVar)(__maybeInc22(`calc(100% - ${paneWidth + 24}px)`))
24808
24846
  }],
24809
24847
  transition: "tsn_width_2s_linear",
24810
24848
  height: "h100",
@@ -24820,13 +24858,13 @@ function RightPaneLayout(props) {
24820
24858
  ...{
24821
24859
  ...!!defaultPaneContent ? {
24822
24860
  width: ["w_var", {
24823
- "--width": (0, import_runtime117.maybeCssVar)(__maybeInc22(`calc(100% - ${paneWidth + 24}px)`))
24861
+ "--width": (0, import_runtime118.maybeCssVar)(__maybeInc22(`calc(100% - ${paneWidth + 24}px)`))
24824
24862
  }],
24825
24863
  marginRight: "mr3"
24826
24864
  } : {}
24827
24865
  }
24828
24866
  }), children }),
24829
- /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)("div", { ...(0, import_runtime117.trussProps)({
24867
+ /* @__PURE__ */ (0, import_jsx_runtime179.jsxs)("div", { ...(0, import_runtime118.trussProps)({
24830
24868
  position: "relative",
24831
24869
  ...!!defaultPaneContent ? {
24832
24870
  width: ["w_var", {
@@ -24834,7 +24872,7 @@ function RightPaneLayout(props) {
24834
24872
  }]
24835
24873
  } : {}
24836
24874
  }), children: [
24837
- defaultPaneContent && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...(0, import_runtime117.trussProps)({
24875
+ defaultPaneContent && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...(0, import_runtime118.trussProps)({
24838
24876
  height: "h100",
24839
24877
  width: ["w_var", {
24840
24878
  "--width": `${paneWidth}px`
@@ -24852,9 +24890,9 @@ function RightPaneLayout(props) {
24852
24890
  {
24853
24891
  layout: "position",
24854
24892
  "data-testid": "rightPaneContent",
24855
- ...(0, import_runtime117.trussProps)({
24893
+ ...(0, import_runtime118.trussProps)({
24856
24894
  backgroundColor: ["bgColor_var", {
24857
- "--backgroundColor": (0, import_runtime117.maybeCssVar)(paneBgColor)
24895
+ "--backgroundColor": (0, import_runtime118.maybeCssVar)(paneBgColor)
24858
24896
  }],
24859
24897
  height: "h100",
24860
24898
  width: ["w_var", {
@@ -24889,7 +24927,7 @@ function RightPaneLayout(props) {
24889
24927
  }
24890
24928
 
24891
24929
  // src/components/Layout/RightPaneLayout/RightPanePanel.tsx
24892
- var import_runtime118 = require("@homebound/truss/runtime");
24930
+ var import_runtime119 = require("@homebound/truss/runtime");
24893
24931
  var import_jsx_runtime180 = require("react/jsx-runtime");
24894
24932
  function RightPanePanel(props) {
24895
24933
  const {
@@ -24902,7 +24940,7 @@ function RightPanePanel(props) {
24902
24940
  closeRightPane
24903
24941
  } = useRightPaneActions();
24904
24942
  return /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("div", { className: "relative df fdc h100", ...tid, children: [
24905
- /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("div", { ...(0, import_runtime118.trussProps)({
24943
+ /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("div", { ...(0, import_runtime119.trussProps)({
24906
24944
  display: "df",
24907
24945
  alignItems: "aic",
24908
24946
  justifyContent: "jcsb",
@@ -24963,7 +25001,7 @@ function SidePanel(props) {
24963
25001
  }
24964
25002
 
24965
25003
  // src/components/Layout/TableReviewLayout/TableReviewLayout.tsx
24966
- var import_runtime119 = require("@homebound/truss/runtime");
25004
+ var import_runtime120 = require("@homebound/truss/runtime");
24967
25005
  var import_jsx_runtime183 = require("react/jsx-runtime");
24968
25006
  var defaultRightPaneWidth = 450;
24969
25007
  function TableReviewLayout(props) {
@@ -25005,14 +25043,14 @@ function TableReviewLayout(props) {
25005
25043
  bordered: true
25006
25044
  }, stickyHeader: true });
25007
25045
  }
25008
- return /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("div", { ...(0, import_runtime119.trussProps)({
25046
+ return /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("div", { ...(0, import_runtime120.trussProps)({
25009
25047
  position: "fixed",
25010
25048
  top: "top0",
25011
25049
  bottom: "bottom0",
25012
25050
  left: "left0",
25013
25051
  right: "right0",
25014
25052
  zIndex: ["z_var", {
25015
- "--zIndex": (0, import_runtime119.maybeCssVar)(zIndices.pageOverlay)
25053
+ "--zIndex": (0, import_runtime120.maybeCssVar)(zIndices.pageOverlay)
25016
25054
  }],
25017
25055
  backgroundColor: ["bgColor_var", {
25018
25056
  "--backgroundColor": "var(--b-surface)"
@@ -25029,7 +25067,7 @@ function TableReviewLayout(props) {
25029
25067
  ] }),
25030
25068
  /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(Button, { label: "Close", onClick: closeAction, ...tid.closeButton })
25031
25069
  ] }),
25032
- /* @__PURE__ */ (0, import_jsx_runtime183.jsx)("div", { ...(0, import_runtime119.trussProps)({
25070
+ /* @__PURE__ */ (0, import_jsx_runtime183.jsx)("div", { ...(0, import_runtime120.trussProps)({
25033
25071
  fontWeight: "fw4",
25034
25072
  fontSize: "fz_14px",
25035
25073
  lineHeight: "lh_20px",
@@ -25040,7 +25078,7 @@ function TableReviewLayout(props) {
25040
25078
  }), ...tid.description, children: description })
25041
25079
  ] }),
25042
25080
  /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("div", { className: "fg1 df mh0", ...tid.content, children: [
25043
- /* @__PURE__ */ (0, import_jsx_runtime183.jsx)("div", { ...(0, import_runtime119.trussProps)({
25081
+ /* @__PURE__ */ (0, import_jsx_runtime183.jsx)("div", { ...(0, import_runtime120.trussProps)({
25044
25082
  ...{
25045
25083
  flexGrow: "fg1",
25046
25084
  overflowY: "oya",
@@ -25065,7 +25103,7 @@ function TableReviewLayout(props) {
25065
25103
  }, className: "df fdc fs0 relative", children: [
25066
25104
  /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("div", { className: "absolute tp_neg32px df fdc aic l_neg24px z1", children: [
25067
25105
  /* @__PURE__ */ (0, import_jsx_runtime183.jsx)(IconButton, { bgColor: "--b-surface" /* Surface */, variant: "circle", icon: "x", inc: 3.5, onClick: handleClosePanel, ...tid.closePanelButton }),
25068
- /* @__PURE__ */ (0, import_jsx_runtime183.jsx)("div", { ...(0, import_runtime119.trussProps)({
25106
+ /* @__PURE__ */ (0, import_jsx_runtime183.jsx)("div", { ...(0, import_runtime120.trussProps)({
25069
25107
  width: "w_1px",
25070
25108
  backgroundColor: ["bgColor_var", {
25071
25109
  "--backgroundColor": "var(--b-field-border-default)"
@@ -25080,7 +25118,7 @@ function TableReviewLayout(props) {
25080
25118
  }
25081
25119
 
25082
25120
  // src/components/Logos/BeamLogo.tsx
25083
- var import_runtime120 = require("@homebound/truss/runtime");
25121
+ var import_runtime121 = require("@homebound/truss/runtime");
25084
25122
  var import_jsx_runtime184 = require("react/jsx-runtime");
25085
25123
  var __maybeInc23 = (inc) => {
25086
25124
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -25091,15 +25129,15 @@ function BeamLogo(props) {
25091
25129
  width: width2 = "auto",
25092
25130
  height = "auto"
25093
25131
  } = props;
25094
- return /* @__PURE__ */ (0, import_jsx_runtime184.jsxs)("svg", { viewBox: "0 0 500 500", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime120.trussProps)({
25132
+ return /* @__PURE__ */ (0, import_jsx_runtime184.jsxs)("svg", { viewBox: "0 0 500 500", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime121.trussProps)({
25095
25133
  fill: ["fill_var", {
25096
- "--fill": (0, import_runtime120.maybeCssVar)(fill)
25134
+ "--fill": (0, import_runtime121.maybeCssVar)(fill)
25097
25135
  }],
25098
25136
  width: ["w_var", {
25099
- "--width": (0, import_runtime120.maybeCssVar)(__maybeInc23(width2))
25137
+ "--width": (0, import_runtime121.maybeCssVar)(__maybeInc23(width2))
25100
25138
  }],
25101
25139
  height: ["h_var", {
25102
- "--height": (0, import_runtime120.maybeCssVar)(__maybeInc23(height))
25140
+ "--height": (0, import_runtime121.maybeCssVar)(__maybeInc23(height))
25103
25141
  }]
25104
25142
  }), children: [
25105
25143
  /* @__PURE__ */ (0, import_jsx_runtime184.jsx)("rect", { x: "10", y: "90", width: "32", height: "320" }),
@@ -25114,7 +25152,7 @@ function BeamLogo(props) {
25114
25152
  }
25115
25153
 
25116
25154
  // src/components/Logos/HomeboundLogo.tsx
25117
- var import_runtime121 = require("@homebound/truss/runtime");
25155
+ var import_runtime122 = require("@homebound/truss/runtime");
25118
25156
  var import_jsx_runtime185 = require("react/jsx-runtime");
25119
25157
  var __maybeInc24 = (inc) => {
25120
25158
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -25125,15 +25163,15 @@ function HomeboundLogo(props) {
25125
25163
  width: width2 = "auto",
25126
25164
  height = "auto"
25127
25165
  } = props;
25128
- return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime121.trussProps)({
25166
+ return /* @__PURE__ */ (0, import_jsx_runtime185.jsx)("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime122.trussProps)({
25129
25167
  fill: ["fill_var", {
25130
- "--fill": (0, import_runtime121.maybeCssVar)(fill)
25168
+ "--fill": (0, import_runtime122.maybeCssVar)(fill)
25131
25169
  }],
25132
25170
  width: ["w_var", {
25133
- "--width": (0, import_runtime121.maybeCssVar)(__maybeInc24(width2))
25171
+ "--width": (0, import_runtime122.maybeCssVar)(__maybeInc24(width2))
25134
25172
  }],
25135
25173
  height: ["h_var", {
25136
- "--height": (0, import_runtime121.maybeCssVar)(__maybeInc24(height))
25174
+ "--height": (0, import_runtime122.maybeCssVar)(__maybeInc24(height))
25137
25175
  }]
25138
25176
  }), children: /* @__PURE__ */ (0, import_jsx_runtime185.jsx)("path", { d: "M158.1,97.6H0.2L0,39.7L76.8,0l68,38.7l-3.1,5.3l-65-37L6.2,43.4l0.2,48h151.7V97.6z" }) });
25139
25177
  }
@@ -25141,7 +25179,7 @@ function HomeboundLogo(props) {
25141
25179
  // src/components/MaxLines.tsx
25142
25180
  var import_utils39 = require("@react-aria/utils");
25143
25181
  var import_react132 = require("react");
25144
- var import_runtime122 = require("@homebound/truss/runtime");
25182
+ var import_runtime123 = require("@homebound/truss/runtime");
25145
25183
  var import_jsx_runtime186 = require("react/jsx-runtime");
25146
25184
  function MaxLines({
25147
25185
  maxLines,
@@ -25166,10 +25204,10 @@ function MaxLines({
25166
25204
  onResize
25167
25205
  });
25168
25206
  return /* @__PURE__ */ (0, import_jsx_runtime186.jsxs)("div", { children: [
25169
- /* @__PURE__ */ (0, import_jsx_runtime186.jsx)("div", { ref: elRef, ...(0, import_runtime122.trussProps)({
25207
+ /* @__PURE__ */ (0, import_jsx_runtime186.jsx)("div", { ref: elRef, ...(0, import_runtime123.trussProps)({
25170
25208
  ...!expanded ? {
25171
25209
  WebkitLineClamp: ["lineClamp_var", {
25172
- "--WebkitLineClamp": (0, import_runtime122.maybeCssVar)(maxLines)
25210
+ "--WebkitLineClamp": (0, import_runtime123.maybeCssVar)(maxLines)
25173
25211
  }],
25174
25212
  overflow: "oh",
25175
25213
  display: "d_negwebkit_box",
@@ -25182,7 +25220,7 @@ function MaxLines({
25182
25220
  }
25183
25221
 
25184
25222
  // src/components/Pagination.tsx
25185
- var import_runtime123 = require("@homebound/truss/runtime");
25223
+ var import_runtime124 = require("@homebound/truss/runtime");
25186
25224
  var import_jsx_runtime187 = require("react/jsx-runtime");
25187
25225
  var defaultPage = {
25188
25226
  offset: 0,
@@ -25215,7 +25253,7 @@ function Pagination(props) {
25215
25253
  }
25216
25254
  }
25217
25255
  const tid = useTestIds(props, "pagination");
25218
- return /* @__PURE__ */ (0, import_jsx_runtime187.jsxs)("div", { ...(0, import_runtime123.trussProps)({
25256
+ return /* @__PURE__ */ (0, import_jsx_runtime187.jsxs)("div", { ...(0, import_runtime124.trussProps)({
25219
25257
  display: "df",
25220
25258
  borderColor: ["bc_var", {
25221
25259
  "--borderColor": "var(--b-surface-separator)"
@@ -25273,7 +25311,7 @@ function toPageNumberSize(page) {
25273
25311
  // src/components/ScrollShadows.tsx
25274
25312
  var import_utils40 = require("@react-aria/utils");
25275
25313
  var import_react133 = require("react");
25276
- var import_runtime124 = require("@homebound/truss/runtime");
25314
+ var import_runtime125 = require("@homebound/truss/runtime");
25277
25315
  var import_jsx_runtime188 = require("react/jsx-runtime");
25278
25316
  function ScrollShadows(props) {
25279
25317
  const {
@@ -25298,7 +25336,7 @@ function ScrollShadows(props) {
25298
25336
  const commonStyles = {
25299
25337
  position: "absolute",
25300
25338
  zIndex: ["z_var", {
25301
- "--zIndex": (0, import_runtime124.maybeCssVar)(zIndices.scrollShadow)
25339
+ "--zIndex": (0, import_runtime125.maybeCssVar)(zIndices.scrollShadow)
25302
25340
  }],
25303
25341
  pointerEvents: "pe_none"
25304
25342
  };
@@ -25331,7 +25369,7 @@ function ScrollShadows(props) {
25331
25369
  ...startShadowStyles2,
25332
25370
  ...{
25333
25371
  background: ["background_var", {
25334
- "--background": (0, import_runtime124.maybeCssVar)(startGradient)
25372
+ "--background": (0, import_runtime125.maybeCssVar)(startGradient)
25335
25373
  }]
25336
25374
  }
25337
25375
  }, {
@@ -25339,7 +25377,7 @@ function ScrollShadows(props) {
25339
25377
  ...endShadowStyles2,
25340
25378
  ...{
25341
25379
  background: ["background_var", {
25342
- "--background": (0, import_runtime124.maybeCssVar)(endGradient)
25380
+ "--background": (0, import_runtime125.maybeCssVar)(endGradient)
25343
25381
  }]
25344
25382
  }
25345
25383
  }];
@@ -25364,10 +25402,10 @@ function ScrollShadows(props) {
25364
25402
  ref: scrollRef,
25365
25403
  onResize
25366
25404
  });
25367
- return /* @__PURE__ */ (0, import_jsx_runtime188.jsxs)("div", { ...(0, import_runtime124.trussProps)({
25405
+ return /* @__PURE__ */ (0, import_jsx_runtime188.jsxs)("div", { ...(0, import_runtime125.trussProps)({
25368
25406
  display: "df",
25369
25407
  flexDirection: ["fd_var", {
25370
- "--flexDirection": (0, import_runtime124.maybeCssVar)(!horizontal ? "column" : "row")
25408
+ "--flexDirection": (0, import_runtime125.maybeCssVar)(!horizontal ? "column" : "row")
25371
25409
  }],
25372
25410
  position: "relative",
25373
25411
  overflow: "oh",
@@ -25380,23 +25418,23 @@ function ScrollShadows(props) {
25380
25418
  width: width2
25381
25419
  }
25382
25420
  }), ...tid, children: [
25383
- /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("div", { ...(0, import_runtime124.trussProps)({
25421
+ /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("div", { ...(0, import_runtime125.trussProps)({
25384
25422
  ...startShadowStyles,
25385
25423
  ...{
25386
25424
  opacity: ["o_var", {
25387
- "--opacity": (0, import_runtime124.maybeCssVar)(showStartShadow ? 1 : 0)
25425
+ "--opacity": (0, import_runtime125.maybeCssVar)(showStartShadow ? 1 : 0)
25388
25426
  }]
25389
25427
  }
25390
25428
  }), "data-chromatic": "ignore" }),
25391
- /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("div", { ...(0, import_runtime124.trussProps)({
25429
+ /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("div", { ...(0, import_runtime125.trussProps)({
25392
25430
  ...endShadowStyles,
25393
25431
  ...{
25394
25432
  opacity: ["o_var", {
25395
- "--opacity": (0, import_runtime124.maybeCssVar)(showEndShadow ? 1 : 0)
25433
+ "--opacity": (0, import_runtime125.maybeCssVar)(showEndShadow ? 1 : 0)
25396
25434
  }]
25397
25435
  }
25398
25436
  }), "data-chromatic": "ignore" }),
25399
- /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("div", { ...(0, import_runtime124.trussProps)({
25437
+ /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("div", { ...(0, import_runtime125.trussProps)({
25400
25438
  ...xss,
25401
25439
  ...{
25402
25440
  overflow: "oa",
@@ -25418,7 +25456,7 @@ var import_react136 = require("react");
25418
25456
  // src/components/AppNav/AppNavGroupTrigger.tsx
25419
25457
  var import_react134 = require("react");
25420
25458
  var import_react_aria58 = require("react-aria");
25421
- var import_runtime125 = require("@homebound/truss/runtime");
25459
+ var import_runtime126 = require("@homebound/truss/runtime");
25422
25460
  var import_jsx_runtime189 = require("react/jsx-runtime");
25423
25461
  function AppNavGroupTrigger(props) {
25424
25462
  const {
@@ -25455,7 +25493,7 @@ function AppNavGroupTrigger(props) {
25455
25493
  ref,
25456
25494
  "aria-expanded": expanded,
25457
25495
  "aria-controls": navGroupId,
25458
- ...(0, import_runtime125.mergeProps)(navLink, void 0, {
25496
+ ...(0, import_runtime126.mergeProps)(navLink, void 0, {
25459
25497
  ...baseStyles4,
25460
25498
  ...isFocusVisible && focusRingStyles2,
25461
25499
  ...isHovered && hoverStyles4,
@@ -25469,7 +25507,7 @@ function AppNavGroupTrigger(props) {
25469
25507
  })
25470
25508
  }), children: [
25471
25509
  label,
25472
- /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("div", { ...(0, import_runtime125.trussProps)({
25510
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("div", { ...(0, import_runtime126.trussProps)({
25473
25511
  ...{
25474
25512
  display: "df",
25475
25513
  alignItems: "aic",
@@ -25622,7 +25660,7 @@ function useAppNavGroupExpanded(linkGroup) {
25622
25660
  }
25623
25661
 
25624
25662
  // src/components/AppNav/AppNavGroup.tsx
25625
- var import_runtime126 = require("@homebound/truss/runtime");
25663
+ var import_runtime127 = require("@homebound/truss/runtime");
25626
25664
  var import_jsx_runtime190 = require("react/jsx-runtime");
25627
25665
  var __maybeInc25 = (inc) => {
25628
25666
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -25667,11 +25705,11 @@ function AppNavGroupDisclosure(props) {
25667
25705
  });
25668
25706
  return /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)("div", { className: "df fdc", ...tid, children: [
25669
25707
  /* @__PURE__ */ (0, import_jsx_runtime190.jsx)(AppNavGroupTrigger, { label: linkGroup.label, navGroupId, expanded, active: linkGroupHasActiveLink(linkGroup), onClick: onToggle, ...tid }),
25670
- /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...(0, import_runtime126.trussProps)({
25708
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...(0, import_runtime127.trussProps)({
25671
25709
  overflow: "oh",
25672
25710
  transition: "transitionHeight",
25673
25711
  height: ["h_var", {
25674
- "--height": (0, import_runtime126.maybeCssVar)(__maybeInc25(contentHeight))
25712
+ "--height": (0, import_runtime127.maybeCssVar)(__maybeInc25(contentHeight))
25675
25713
  }]
25676
25714
  }), ...tid.panel, ...!expanded ? {
25677
25715
  inert: true
@@ -25701,7 +25739,7 @@ function AppNavGroupMenu({
25701
25739
  }
25702
25740
 
25703
25741
  // src/components/AppNav/AppNavSectionView.tsx
25704
- var import_runtime127 = require("@homebound/truss/runtime");
25742
+ var import_runtime128 = require("@homebound/truss/runtime");
25705
25743
  var import_jsx_runtime192 = require("react/jsx-runtime");
25706
25744
  function AppNavSectionView(props) {
25707
25745
  const {
@@ -25728,7 +25766,7 @@ function AppNavSectionView(props) {
25728
25766
  "--borderColor": "var(--b-surface-separator)"
25729
25767
  }]
25730
25768
  };
25731
- return /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)("div", { ...(0, import_runtime127.trussProps)({
25769
+ return /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)("div", { ...(0, import_runtime128.trussProps)({
25732
25770
  ...{
25733
25771
  display: "df",
25734
25772
  flexDirection: "fdc",
@@ -25736,7 +25774,7 @@ function AppNavSectionView(props) {
25736
25774
  },
25737
25775
  ...showDivider ? dividerStyles : {}
25738
25776
  }), ...tid, children: [
25739
- section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("div", { ...(0, import_runtime127.trussProps)({
25777
+ section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("div", { ...(0, import_runtime128.trussProps)({
25740
25778
  fontWeight: "fw6",
25741
25779
  fontSize: "fz_10px",
25742
25780
  lineHeight: "lh_14px",
@@ -25862,7 +25900,7 @@ function useHasSideNavLayoutProvider() {
25862
25900
  }
25863
25901
 
25864
25902
  // src/components/SideNav/SideNav.tsx
25865
- var import_runtime128 = require("@homebound/truss/runtime");
25903
+ var import_runtime129 = require("@homebound/truss/runtime");
25866
25904
  var import_jsx_runtime195 = require("react/jsx-runtime");
25867
25905
  function SideNav(props) {
25868
25906
  const {
@@ -25879,7 +25917,7 @@ function SideNav(props) {
25879
25917
  const hideContent = panelCollapsed && !showContentWhenCollapsed;
25880
25918
  const hideItems = hideContent || panelCollapsed && !allItemsHaveIcons(items);
25881
25919
  return /* @__PURE__ */ (0, import_jsx_runtime195.jsxs)("nav", { className: "df fdc h100 fs0", ...tid, children: [
25882
- !hideContent && top !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("div", { ...(0, import_runtime128.trussProps)({
25920
+ !hideContent && top !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("div", { ...(0, import_runtime129.trussProps)({
25883
25921
  flexShrink: "fs0",
25884
25922
  paddingLeft: "pl2",
25885
25923
  paddingRight: "pr2",
@@ -25890,7 +25928,7 @@ function SideNav(props) {
25890
25928
  paddingBottom: "pb4"
25891
25929
  } : {}
25892
25930
  }), ...tid.top, children: top }),
25893
- !hideContent && /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("div", { ...(0, import_runtime128.trussProps)({
25931
+ !hideContent && /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("div", { ...(0, import_runtime129.trussProps)({
25894
25932
  flexGrow: "fg1",
25895
25933
  overflowY: "oya",
25896
25934
  display: "df",
@@ -25903,7 +25941,7 @@ function SideNav(props) {
25903
25941
  paddingTop: "pt5"
25904
25942
  } : {}
25905
25943
  }), ...tid.items, children: !hideItems && /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(AppNavItems, { items, panelCollapsed }) }),
25906
- !hideContent && footer !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("div", { ...(0, import_runtime128.trussProps)({
25944
+ !hideContent && footer !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime195.jsx)("div", { ...(0, import_runtime129.trussProps)({
25907
25945
  flexShrink: "fs0",
25908
25946
  paddingLeft: "pl2",
25909
25947
  paddingRight: "pr2",
@@ -25921,7 +25959,7 @@ function SideNav(props) {
25921
25959
  // src/components/Stepper.tsx
25922
25960
  var import_react138 = require("react");
25923
25961
  var import_react_aria59 = require("react-aria");
25924
- var import_runtime129 = require("@homebound/truss/runtime");
25962
+ var import_runtime130 = require("@homebound/truss/runtime");
25925
25963
  var import_jsx_runtime196 = require("react/jsx-runtime");
25926
25964
  var import_react139 = require("react");
25927
25965
  var __maybeInc26 = (inc) => {
@@ -25942,7 +25980,7 @@ function Stepper(props) {
25942
25980
  const minStepWidth = 100;
25943
25981
  const gap = 8;
25944
25982
  return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
25945
- /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("ol", { ...(0, import_runtime129.trussProps)({
25983
+ /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("ol", { ...(0, import_runtime130.trussProps)({
25946
25984
  padding: "p_0",
25947
25985
  margin: "m_0",
25948
25986
  listStyle: "lis_none",
@@ -25952,7 +25990,7 @@ function Stepper(props) {
25952
25990
  }]
25953
25991
  }), children: steps.map((step) => {
25954
25992
  const isCurrent = currentStep === step.value;
25955
- return /* @__PURE__ */ (0, import_react139.createElement)("li", { ...(0, import_runtime129.trussProps)({
25993
+ return /* @__PURE__ */ (0, import_react139.createElement)("li", { ...(0, import_runtime130.trussProps)({
25956
25994
  display: "df",
25957
25995
  flexGrow: "fg1",
25958
25996
  flexDirection: "fdc",
@@ -25964,7 +26002,7 @@ function Stepper(props) {
25964
26002
  }]
25965
26003
  }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
25966
26004
  }) }),
25967
- /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("div", { ...(0, import_runtime129.trussProps)({
26005
+ /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("div", { ...(0, import_runtime130.trussProps)({
25968
26006
  marginTop: "mt1",
25969
26007
  backgroundColor: ["bgColor_var", {
25970
26008
  "--backgroundColor": "var(--b-field-border-default)"
@@ -25977,14 +26015,14 @@ function Stepper(props) {
25977
26015
  "--minWidth": `${steps.length * minStepWidth + (steps.length - 1) * gap}px`
25978
26016
  }],
25979
26017
  width: "w100"
25980
- }), children: /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("div", { ...(0, import_runtime129.trussProps)({
26018
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("div", { ...(0, import_runtime130.trussProps)({
25981
26019
  backgroundColor: ["bgColor_var", {
25982
26020
  "--backgroundColor": "var(--b-primary)"
25983
26021
  }],
25984
26022
  transition: "tsn_width_200ms",
25985
26023
  height: "h100",
25986
26024
  width: ["w_var", {
25987
- "--width": (0, import_runtime129.maybeCssVar)(__maybeInc26(`${(lastCompletedStep + 1) / steps.length * 100}%`))
26025
+ "--width": (0, import_runtime130.maybeCssVar)(__maybeInc26(`${(lastCompletedStep + 1) / steps.length * 100}%`))
25988
26026
  }]
25989
26027
  }) }) })
25990
26028
  ] });
@@ -26020,7 +26058,7 @@ function StepButton(props) {
26020
26058
  boxShadow: "bshFocus"
26021
26059
  };
26022
26060
  const tid = useTestIds(props, "stepButton");
26023
- return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime129.trussProps)({
26061
+ return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime130.trussProps)({
26024
26062
  ...{
26025
26063
  fontWeight: "fw6",
26026
26064
  fontSize: "fz_14px",
@@ -26097,7 +26135,7 @@ function StepIcon({
26097
26135
  if (state === "complete") {
26098
26136
  return /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(Icon, { icon: "check" });
26099
26137
  }
26100
- return /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("div", { className: "h_24px w_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("div", { ...(0, import_runtime129.trussProps)({
26138
+ return /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("div", { className: "h_24px w_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("div", { ...(0, import_runtime130.trussProps)({
26101
26139
  height: "h_10px",
26102
26140
  width: "w_10px",
26103
26141
  borderStyle: "bss",
@@ -26113,7 +26151,7 @@ function StepIcon({
26113
26151
  // src/components/StepperTabs/StepperTab.tsx
26114
26152
  var import_react140 = require("react");
26115
26153
  var import_react_aria60 = require("react-aria");
26116
- var import_runtime130 = require("@homebound/truss/runtime");
26154
+ var import_runtime131 = require("@homebound/truss/runtime");
26117
26155
  var import_jsx_runtime197 = require("react/jsx-runtime");
26118
26156
  function StepperTab(props) {
26119
26157
  const {
@@ -26145,7 +26183,7 @@ function StepperTab(props) {
26145
26183
  const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
26146
26184
  const isFocusVisible = __storyState?.focusVisible ?? isFocusVisibleFromEvents;
26147
26185
  const tid = useTestIds(props, "stepperTab");
26148
- return /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)("button", { ref, ...(0, import_react_aria60.mergeProps)(buttonProps, focusProps, hoverProps), "aria-label": label, ...(0, import_runtime130.trussProps)({
26186
+ return /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)("button", { ref, ...(0, import_react_aria60.mergeProps)(buttonProps, focusProps, hoverProps), "aria-label": label, ...(0, import_runtime131.trussProps)({
26149
26187
  ...stepperTabStyles.baseStyles,
26150
26188
  ...getStateStyles(active, completed),
26151
26189
  ...isHovered && !disabled ? stepperTabStyles.hoverStyles : {},
@@ -26156,7 +26194,7 @@ function StepperTab(props) {
26156
26194
  !collapsed && /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)(import_jsx_runtime197.Fragment, { children: [
26157
26195
  /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)("span", { className: "dg jic mw0", children: [
26158
26196
  /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("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 }),
26159
- /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("span", { ...(0, import_runtime130.trussProps)({
26197
+ /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("span", { ...(0, import_runtime131.trussProps)({
26160
26198
  gridArea: "ga_1_1",
26161
26199
  overflow: "oh",
26162
26200
  display: "d_negwebkit_box",
@@ -26171,7 +26209,7 @@ function StepperTab(props) {
26171
26209
  } : {}
26172
26210
  }), children: label })
26173
26211
  ] }),
26174
- /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("span", { ...(0, import_runtime130.trussProps)({
26212
+ /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("span", { ...(0, import_runtime131.trussProps)({
26175
26213
  flexShrink: "fs0",
26176
26214
  marginLeft: "ml1",
26177
26215
  transition: "transitionAll",
@@ -26183,7 +26221,7 @@ function StepperTab(props) {
26183
26221
  } : {}
26184
26222
  }), children: /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(Icon, { icon: "check", inc: 2.5, ...tid.check }) })
26185
26223
  ] }),
26186
- /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("span", { "aria-hidden": true, ...(0, import_runtime130.trussProps)(getIndicatorStyles(active, completed, disabled)), ...tid.indicator }),
26224
+ /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("span", { "aria-hidden": true, ...(0, import_runtime131.trussProps)(getIndicatorStyles(active, completed, disabled)), ...tid.indicator }),
26187
26225
  /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(import_react_aria60.VisuallyHidden, { children: completed ? "Complete" : "Not Complete" })
26188
26226
  ] });
26189
26227
  }
@@ -26265,7 +26303,7 @@ var stepperTabStyles = {
26265
26303
  };
26266
26304
 
26267
26305
  // src/components/StepperTabs/StepperTabs.tsx
26268
- var import_runtime131 = require("@homebound/truss/runtime");
26306
+ var import_runtime132 = require("@homebound/truss/runtime");
26269
26307
  var import_jsx_runtime198 = require("react/jsx-runtime");
26270
26308
  var import_react141 = require("react");
26271
26309
  function StepperTabs(props) {
@@ -26282,7 +26320,7 @@ function StepperTabs(props) {
26282
26320
  const collapsed = isMobile || !!forceCollapsed;
26283
26321
  const capWidth = steps.length <= 3;
26284
26322
  const currentStepIndex = Math.max(0, steps.findIndex((step) => step.value === currentStep));
26285
- return /* @__PURE__ */ (0, import_jsx_runtime198.jsx)("nav", { "aria-label": "steps", className: "w100", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime198.jsx)("ol", { ...(0, import_runtime131.trussProps)({
26323
+ return /* @__PURE__ */ (0, import_jsx_runtime198.jsx)("nav", { "aria-label": "steps", className: "w100", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime198.jsx)("ol", { ...(0, import_runtime132.trussProps)({
26286
26324
  padding: "p_0",
26287
26325
  margin: "m_0",
26288
26326
  listStyle: "lis_none",
@@ -26297,7 +26335,7 @@ function StepperTabs(props) {
26297
26335
  }), children: steps.map((step, idx) => {
26298
26336
  const isCurrent = idx === currentStepIndex;
26299
26337
  const isCompleted = idx < currentStepIndex;
26300
- return /* @__PURE__ */ (0, import_react141.createElement)("li", { ...(0, import_runtime131.trussProps)({
26338
+ return /* @__PURE__ */ (0, import_react141.createElement)("li", { ...(0, import_runtime132.trussProps)({
26301
26339
  display: "df",
26302
26340
  flexGrow: "fg1",
26303
26341
  flexBasis: "fb_0",
@@ -26317,7 +26355,7 @@ var gapPx = 6;
26317
26355
 
26318
26356
  // src/components/SuperDrawer/components/SuperDrawerHeader.tsx
26319
26357
  var import_react_dom8 = require("react-dom");
26320
- var import_runtime132 = require("@homebound/truss/runtime");
26358
+ var import_runtime133 = require("@homebound/truss/runtime");
26321
26359
  var import_jsx_runtime199 = require("react/jsx-runtime");
26322
26360
  function SuperDrawerHeader(props) {
26323
26361
  const {
@@ -26343,7 +26381,7 @@ function SuperDrawerHeader(props) {
26343
26381
  ] }),
26344
26382
  props.right && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { className: "fs0", children: props.right })
26345
26383
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { className: "fg1", children: props.children }),
26346
- !hideControls && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { ...(0, import_runtime132.trussProps)({
26384
+ !hideControls && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { ...(0, import_runtime133.trussProps)({
26347
26385
  flexShrink: "fs0",
26348
26386
  ...isDetail ? {
26349
26387
  visibility: "vh"
@@ -26365,7 +26403,7 @@ function isStructuredProps(props) {
26365
26403
 
26366
26404
  // src/components/SuperDrawer/SuperDrawerContent.tsx
26367
26405
  var import_framer_motion6 = require("framer-motion");
26368
- var import_runtime133 = require("@homebound/truss/runtime");
26406
+ var import_runtime134 = require("@homebound/truss/runtime");
26369
26407
  var import_jsx_runtime200 = require("react/jsx-runtime");
26370
26408
  var SuperDrawerContent = ({
26371
26409
  children,
@@ -26418,7 +26456,7 @@ var SuperDrawerContent = ({
26418
26456
  }, className: "pt2", children: children2 })
26419
26457
  ] }, "content");
26420
26458
  } else {
26421
- return /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(import_framer_motion6.motion.div, { ...(0, import_runtime133.mergeProps)(void 0, {
26459
+ return /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(import_framer_motion6.motion.div, { ...(0, import_runtime134.mergeProps)(void 0, {
26422
26460
  overflow: "auto"
26423
26461
  }, {
26424
26462
  paddingTop: "pt3",
@@ -26431,7 +26469,7 @@ var SuperDrawerContent = ({
26431
26469
  }
26432
26470
  return /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)(import_jsx_runtime200.Fragment, { children: [
26433
26471
  wrapWithMotionAndMaybeBack(children),
26434
- actions && /* @__PURE__ */ (0, import_jsx_runtime200.jsx)("footer", { ...(0, import_runtime133.trussProps)({
26472
+ actions && /* @__PURE__ */ (0, import_jsx_runtime200.jsx)("footer", { ...(0, import_runtime134.trussProps)({
26435
26473
  borderTopStyle: "bts_solid",
26436
26474
  borderTopWidth: "btw_1px",
26437
26475
  borderColor: ["bc_var", {
@@ -26517,7 +26555,7 @@ function useDnDGridContext() {
26517
26555
  }
26518
26556
 
26519
26557
  // src/components/DnDGrid/DnDGrid.tsx
26520
- var import_runtime134 = require("@homebound/truss/runtime");
26558
+ var import_runtime135 = require("@homebound/truss/runtime");
26521
26559
  var import_jsx_runtime202 = require("react/jsx-runtime");
26522
26560
  function DnDGrid(props) {
26523
26561
  const {
@@ -26702,7 +26740,7 @@ function DnDGrid(props) {
26702
26740
  return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(DnDGridContext.Provider, { value: {
26703
26741
  dragEl,
26704
26742
  onDragHandleKeyDown
26705
- }, children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("div", { ref: gridEl, ...(0, import_runtime134.trussProps)({
26743
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("div", { ref: gridEl, ...(0, import_runtime135.trussProps)({
26706
26744
  ...{
26707
26745
  containerType: "ctis",
26708
26746
  display: "dg"
@@ -26732,14 +26770,14 @@ function applyActiveStyles(el, activeStyles3) {
26732
26770
  const {
26733
26771
  className,
26734
26772
  style
26735
- } = (0, import_runtime134.trussProps)(activeStyles3);
26773
+ } = (0, import_runtime135.trussProps)(activeStyles3);
26736
26774
  if (className) el.classList.add(...className.split(" ").filter(Boolean));
26737
26775
  if (style) setInlineStyles(el, style);
26738
26776
  }
26739
26777
 
26740
26778
  // src/components/DnDGrid/DnDGridItemHandle.tsx
26741
26779
  var import_react_aria61 = require("react-aria");
26742
- var import_runtime135 = require("@homebound/truss/runtime");
26780
+ var import_runtime136 = require("@homebound/truss/runtime");
26743
26781
  var import_jsx_runtime203 = require("react/jsx-runtime");
26744
26782
  function DnDGridItemHandle(props) {
26745
26783
  const {
@@ -26769,7 +26807,7 @@ function DnDGridItemHandle(props) {
26769
26807
  borderRadius: "br4",
26770
26808
  borderWidth: "bw1"
26771
26809
  };
26772
- return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("button", { ...(0, import_runtime135.trussProps)({
26810
+ return /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("button", { ...(0, import_runtime136.trussProps)({
26773
26811
  ...compact ? iconButtonCompact : iconButtonNormal,
26774
26812
  ...{
26775
26813
  cursor: "cur_grab",
@@ -26870,7 +26908,7 @@ var BaseFilter = class {
26870
26908
 
26871
26909
  // src/components/internal/CompoundField.tsx
26872
26910
  var import_react145 = require("react");
26873
- var import_runtime136 = require("@homebound/truss/runtime");
26911
+ var import_runtime137 = require("@homebound/truss/runtime");
26874
26912
  var import_jsx_runtime204 = require("react/jsx-runtime");
26875
26913
  function CompoundField({
26876
26914
  children
@@ -26906,7 +26944,7 @@ function CompoundField({
26906
26944
  setHasFocusWithin(false);
26907
26945
  }
26908
26946
  return /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)("div", { className: "df", onFocusCapture, onBlurCapture, children: [
26909
- /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("div", { ...(0, import_runtime136.trussProps)({
26947
+ /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("div", { ...(0, import_runtime137.trussProps)({
26910
26948
  ...commonStyles,
26911
26949
  ...{
26912
26950
  borderLeftStyle: "bls_solid",
@@ -26921,7 +26959,7 @@ function CompoundField({
26921
26959
  }), children: (0, import_react145.cloneElement)(children[0], {
26922
26960
  internalProps
26923
26961
  }) }),
26924
- /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("div", { ...(0, import_runtime136.trussProps)({
26962
+ /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("div", { ...(0, import_runtime137.trussProps)({
26925
26963
  ...{
26926
26964
  width: "w_1px",
26927
26965
  flex: "fn",
@@ -26935,7 +26973,7 @@ function CompoundField({
26935
26973
  }]
26936
26974
  }
26937
26975
  }) }),
26938
- /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("div", { ...(0, import_runtime136.trussProps)({
26976
+ /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("div", { ...(0, import_runtime137.trussProps)({
26939
26977
  ...commonStyles,
26940
26978
  ...{
26941
26979
  flexGrow: "fg1",
@@ -27424,7 +27462,7 @@ var import_react148 = require("react");
27424
27462
 
27425
27463
  // src/components/Grid/useResponsiveGrid.ts
27426
27464
  var import_react146 = require("react");
27427
- var import_runtime137 = require("@homebound/truss/runtime");
27465
+ var import_runtime138 = require("@homebound/truss/runtime");
27428
27466
  var __maybeInc27 = (inc) => {
27429
27467
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27430
27468
  };
@@ -27443,11 +27481,11 @@ function useResponsiveGrid(props) {
27443
27481
  return {
27444
27482
  display: "dg",
27445
27483
  gridTemplateColumns: ["gtc_var", {
27446
- "--gridTemplateColumns": (0, import_runtime137.maybeCssVar)(gridTemplateColumns)
27484
+ "--gridTemplateColumns": (0, import_runtime138.maybeCssVar)(gridTemplateColumns)
27447
27485
  }],
27448
27486
  containerType: "ctis",
27449
27487
  gap: ["gap_var", {
27450
- "--gap": (0, import_runtime137.maybeCssVar)(__maybeInc27(gridGap))
27488
+ "--gap": (0, import_runtime138.maybeCssVar)(__maybeInc27(gridGap))
27451
27489
  }]
27452
27490
  };
27453
27491
  }, [minColumnWidth, gap, columns]);
@@ -27462,7 +27500,7 @@ var gridItemDataAttribute = "data-grid-item-span";
27462
27500
  var ResponsiveGridContext = (0, import_react147.createContext)(void 0);
27463
27501
 
27464
27502
  // src/components/Grid/ResponsiveGrid.tsx
27465
- var import_runtime138 = require("@homebound/truss/runtime");
27503
+ var import_runtime139 = require("@homebound/truss/runtime");
27466
27504
  var import_jsx_runtime214 = require("react/jsx-runtime");
27467
27505
  function ResponsiveGrid(props) {
27468
27506
  const {
@@ -27483,12 +27521,12 @@ function ResponsiveGrid(props) {
27483
27521
  gap,
27484
27522
  columns
27485
27523
  }), [minColumnWidth, gap, columns]);
27486
- return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { ...(0, import_runtime138.trussProps)(gridStyles), children }) });
27524
+ return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { ...(0, import_runtime139.trussProps)(gridStyles), children }) });
27487
27525
  }
27488
27526
 
27489
27527
  // src/components/Grid/ResponsiveGridItem.tsx
27490
27528
  var import_react_aria62 = require("react-aria");
27491
- var import_runtime139 = require("@homebound/truss/runtime");
27529
+ var import_runtime140 = require("@homebound/truss/runtime");
27492
27530
 
27493
27531
  // src/components/Grid/useResponsiveGridItem.ts
27494
27532
  var import_react149 = require("react");
@@ -27555,7 +27593,7 @@ function ResponsiveGridItem(props) {
27555
27593
  } = useResponsiveGridItem({
27556
27594
  colSpan
27557
27595
  });
27558
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)("div", { ...(0, import_react_aria62.mergeProps)(gridItemProps, (0, import_runtime139.trussProps)(gridItemStyles)), children });
27596
+ return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)("div", { ...(0, import_react_aria62.mergeProps)(gridItemProps, (0, import_runtime140.trussProps)(gridItemStyles)), children });
27559
27597
  }
27560
27598
 
27561
27599
  // src/components/HbLoadingSpinner.tsx
@@ -27673,7 +27711,7 @@ function useRegisterMobileSubNav(content2) {
27673
27711
  }
27674
27712
 
27675
27713
  // src/components/Navbar/NavbarMobileMenu.tsx
27676
- var import_runtime140 = require("@homebound/truss/runtime");
27714
+ var import_runtime141 = require("@homebound/truss/runtime");
27677
27715
  var import_jsx_runtime219 = require("react/jsx-runtime");
27678
27716
  function NavbarMobileMenu(props) {
27679
27717
  const {
@@ -27724,13 +27762,13 @@ function NavbarMobileDrawer({
27724
27762
  };
27725
27763
  const showSubLevel = mobileSubNav != null && level === "sub";
27726
27764
  return /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(import_jsx_runtime219.Fragment, { children: [
27727
- /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(import_framer_motion7.motion.div, { ...(0, import_runtime140.mergeProps)(void 0, overlayTopStyle, {
27765
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(import_framer_motion7.motion.div, { ...(0, import_runtime141.mergeProps)(void 0, overlayTopStyle, {
27728
27766
  position: "fixed",
27729
27767
  right: "right0",
27730
27768
  bottom: "bottom0",
27731
27769
  left: "left0",
27732
27770
  zIndex: ["z_var", {
27733
- "--zIndex": (0, import_runtime140.maybeCssVar)(zIndices.navbarMobileMenuScrim)
27771
+ "--zIndex": (0, import_runtime141.maybeCssVar)(zIndices.navbarMobileMenuScrim)
27734
27772
  }],
27735
27773
  backgroundColor: ["bgColor_var", {
27736
27774
  "--backgroundColor": "var(--b-scrim)"
@@ -27745,7 +27783,7 @@ function NavbarMobileDrawer({
27745
27783
  ease: "linear",
27746
27784
  duration: 0.2
27747
27785
  }, onClick: onClose, ...tid.mobileMenuScrim }, "navbarMobileMenuScrim"),
27748
- /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(import_react_aria63.FocusScope, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(import_framer_motion7.motion.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...(0, import_runtime140.mergeProps)(void 0, overlayTopStyle, {
27786
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(import_react_aria63.FocusScope, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(import_framer_motion7.motion.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...(0, import_runtime141.mergeProps)(void 0, overlayTopStyle, {
27749
27787
  position: "fixed",
27750
27788
  bottom: "bottom0",
27751
27789
  left: "left0",
@@ -27755,7 +27793,7 @@ function NavbarMobileDrawer({
27755
27793
  width: "w_260px",
27756
27794
  overflow: "oh",
27757
27795
  zIndex: ["z_var", {
27758
- "--zIndex": (0, import_runtime140.maybeCssVar)(zIndices.navbarMobileMenu)
27796
+ "--zIndex": (0, import_runtime141.maybeCssVar)(zIndices.navbarMobileMenu)
27759
27797
  }],
27760
27798
  backgroundColor: ["bgColor_var", {
27761
27799
  "--backgroundColor": "var(--b-surface)"
@@ -27770,7 +27808,7 @@ function NavbarMobileDrawer({
27770
27808
  ease: "linear",
27771
27809
  duration: 0.2
27772
27810
  }, onClick: (e) => e.stopPropagation(), ...tid.mobileMenuDrawer, children: [
27773
- /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)("div", { ...(0, import_runtime140.trussProps)({
27811
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)("div", { ...(0, import_runtime141.trussProps)({
27774
27812
  ...{
27775
27813
  display: "df",
27776
27814
  alignItems: "aic",
@@ -27792,7 +27830,7 @@ function NavbarMobileDrawer({
27792
27830
  /* @__PURE__ */ (0, import_jsx_runtime219.jsx)("div", { className: "fg1 mh0 oh relative", children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(import_framer_motion7.AnimatePresence, { initial: false, children: /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)(
27793
27831
  import_framer_motion7.motion.nav,
27794
27832
  {
27795
- ...(0, import_runtime140.trussProps)({
27833
+ ...(0, import_runtime141.trussProps)({
27796
27834
  ...{
27797
27835
  position: "absolute",
27798
27836
  top: "top0",
@@ -27863,7 +27901,7 @@ function useContentOverflow(enabled = true) {
27863
27901
  }
27864
27902
 
27865
27903
  // src/components/Navbar/Navbar.tsx
27866
- var import_runtime141 = require("@homebound/truss/runtime");
27904
+ var import_runtime142 = require("@homebound/truss/runtime");
27867
27905
  var import_jsx_runtime220 = require("react/jsx-runtime");
27868
27906
  function Navbar(props) {
27869
27907
  const {
@@ -27883,7 +27921,7 @@ function Navbar(props) {
27883
27921
  overflows
27884
27922
  } = useContentOverflow(!sm);
27885
27923
  const showMobile = sm || overflows;
27886
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(ContrastScope, { children: /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("nav", { ...(0, import_runtime141.trussProps)({
27924
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(ContrastScope, { children: /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("nav", { ...(0, import_runtime142.trussProps)({
27887
27925
  ...{
27888
27926
  backgroundColor: ["bgColor_var", {
27889
27927
  "--backgroundColor": "var(--b-surface-raised)"
@@ -27902,7 +27940,7 @@ function Navbar(props) {
27902
27940
  /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("div", { className: "df aic gap3 fg1 mw0", children: [
27903
27941
  /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("div", { className: "df aic fs0 gap2", children: [
27904
27942
  showMobile && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(NavbarMobileMenu, { items, ...tid }),
27905
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { ...(0, import_runtime141.trussProps)({
27943
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { ...(0, import_runtime142.trussProps)({
27906
27944
  flexShrink: "fs0",
27907
27945
  ...hideBrandOnMobile && showMobile ? {
27908
27946
  display: "dn"
@@ -27911,7 +27949,7 @@ function Navbar(props) {
27911
27949
  ] }),
27912
27950
  !sm && // Stays mounted while overflowing (hidden) so the items remain measurable and the bar
27913
27951
  // can expand again as space frees up.
27914
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { ref: containerRef, ...(0, import_runtime141.trussProps)({
27952
+ /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { ref: containerRef, ...(0, import_runtime142.trussProps)({
27915
27953
  display: "df",
27916
27954
  alignItems: "aic",
27917
27955
  flexGrow: "fg1",
@@ -28043,7 +28081,7 @@ var import_react156 = require("react");
28043
28081
  var import_react_aria64 = require("react-aria");
28044
28082
  var import_react_router = require("react-router");
28045
28083
  var import_react_router_dom8 = require("react-router-dom");
28046
- var import_runtime142 = require("@homebound/truss/runtime");
28084
+ var import_runtime143 = require("@homebound/truss/runtime");
28047
28085
  var import_jsx_runtime221 = require("react/jsx-runtime");
28048
28086
  function TabsWithContent(props) {
28049
28087
  const styles = hideTabs(props) ? {} : {
@@ -28076,7 +28114,7 @@ function TabContent(props) {
28076
28114
  return (
28077
28115
  // Using FullBleed to allow the tab's bgColor to extend to the edges of the <ScrollableContent /> element.
28078
28116
  // Omit the padding from `FullBleed` if the caller passes in the `paddingLeft/Right` styles.
28079
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime142.trussProps)(contentXss), children: selectedTab.render() }) })
28117
+ /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime143.trussProps)(contentXss), children: selectedTab.render() }) })
28080
28118
  );
28081
28119
  }
28082
28120
  function Tabs(props) {
@@ -28118,7 +28156,7 @@ function Tabs(props) {
28118
28156
  setActive(selected);
28119
28157
  }
28120
28158
  }
28121
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { ...(0, import_runtime142.trussProps)({
28159
+ return /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { ...(0, import_runtime143.trussProps)({
28122
28160
  ...{
28123
28161
  display: "df",
28124
28162
  alignItems: "aic",
@@ -28187,7 +28225,7 @@ function TabImpl(props) {
28187
28225
  role: "tab",
28188
28226
  tabIndex: active ? 0 : -1,
28189
28227
  ...others,
28190
- ...(0, import_runtime142.trussProps)({
28228
+ ...(0, import_runtime143.trussProps)({
28191
28229
  ...baseStyles4,
28192
28230
  // Only tints the label while the tab is unselected; selected keeps its own darker treatment.
28193
28231
  ...aiMode && aiStyles,
@@ -28227,7 +28265,7 @@ function getTabStyles() {
28227
28265
  const borderBottomStyles = {
28228
28266
  borderBottomStyle: "bbs_solid",
28229
28267
  borderBottomWidth: ["borderBottomWidth_var", {
28230
- "--borderBottomWidth": (0, import_runtime142.maybeCssVar)(`${borderBottomWidthPx}px`)
28268
+ "--borderBottomWidth": (0, import_runtime143.maybeCssVar)(`${borderBottomWidthPx}px`)
28231
28269
  }],
28232
28270
  paddingBottom: ["pb_var", {
28233
28271
  "--paddingBottom": `${verticalPaddingPx - borderBottomWidthPx}px`
@@ -28280,7 +28318,7 @@ function getTabStyles() {
28280
28318
  // The AI label tint is part of the brand ramp rather than a semantic token, same as the sparkle's gradient.
28281
28319
  aiStyles: {
28282
28320
  color: ["color_var", {
28283
- "--color": (0, import_runtime142.maybeCssVar)("rgba(109, 40, 217, 1)" /* Purple700 */)
28321
+ "--color": (0, import_runtime143.maybeCssVar)("rgba(109, 40, 217, 1)" /* Purple700 */)
28284
28322
  }]
28285
28323
  },
28286
28324
  focusRingStyles: {
@@ -28338,7 +28376,7 @@ function useToast() {
28338
28376
  }
28339
28377
 
28340
28378
  // src/layouts/SideNavLayout/SideNavLayout.tsx
28341
- var import_runtime143 = require("@homebound/truss/runtime");
28379
+ var import_runtime144 = require("@homebound/truss/runtime");
28342
28380
  var import_jsx_runtime222 = require("react/jsx-runtime");
28343
28381
  var __maybeInc28 = (inc) => {
28344
28382
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -28369,7 +28407,7 @@ function SideNavLayoutContent(props) {
28369
28407
  const railOffsetPx = !showRail ? 0 : !bp.mdAndUp || collapsed ? railCollapsedWidthPx : railWidthPx;
28370
28408
  const navTop = bannerAndNavbarChromeTop();
28371
28409
  const railViewportHeight = `calc(var(${beamLayoutViewportHeightVar}, 100vh) - var(${beamEnvironmentBannerLayoutHeightVar}, 0px) - var(${beamNavbarLayoutHeightVar}, 0px))`;
28372
- const rail = showRail && /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { ...(0, import_runtime143.trussProps)({
28410
+ const rail = showRail && /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { ...(0, import_runtime144.trussProps)({
28373
28411
  ...{
28374
28412
  display: "df",
28375
28413
  flexDirection: "fdc",
@@ -28393,14 +28431,14 @@ function SideNavLayoutContent(props) {
28393
28431
  position: "sticky",
28394
28432
  left: "left0",
28395
28433
  zIndex: ["z_var", {
28396
- "--zIndex": (0, import_runtime143.maybeCssVar)(zIndices.sideNav)
28434
+ "--zIndex": (0, import_runtime144.maybeCssVar)(zIndices.sideNav)
28397
28435
  }],
28398
28436
  top: ["top_var", {
28399
- "--top": (0, import_runtime143.maybeCssVar)(__maybeInc28(navTop))
28437
+ "--top": (0, import_runtime144.maybeCssVar)(__maybeInc28(navTop))
28400
28438
  }],
28401
28439
  alignSelf: "asfs",
28402
28440
  height: ["h_var", {
28403
- "--height": (0, import_runtime143.maybeCssVar)(__maybeInc28(railViewportHeight))
28441
+ "--height": (0, import_runtime144.maybeCssVar)(__maybeInc28(railViewportHeight))
28404
28442
  }],
28405
28443
  width: ["w_var", {
28406
28444
  "--width": `${collapsed ? railCollapsedWidthPx : railWidthPx}px`
@@ -28410,11 +28448,11 @@ function SideNavLayoutContent(props) {
28410
28448
  position: "fixed",
28411
28449
  left: "left0",
28412
28450
  top: ["top_var", {
28413
- "--top": (0, import_runtime143.maybeCssVar)(__maybeInc28(navTop))
28451
+ "--top": (0, import_runtime144.maybeCssVar)(__maybeInc28(navTop))
28414
28452
  }],
28415
28453
  bottom: "bottom0",
28416
28454
  zIndex: ["z_var", {
28417
- "--zIndex": (0, import_runtime143.maybeCssVar)(zIndices.sideNav)
28455
+ "--zIndex": (0, import_runtime144.maybeCssVar)(zIndices.sideNav)
28418
28456
  }]
28419
28457
  },
28420
28458
  ...collapsed ? {
@@ -28429,7 +28467,7 @@ function SideNavLayoutContent(props) {
28429
28467
  showCollapseToggle && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("div", { className: "absolute right2 top2 z2", children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
28430
28468
  /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(SideNav, { ...sideNav }) })
28431
28469
  ] });
28432
- return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { ...(0, import_runtime143.mergeProps)(void 0, {
28470
+ return /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { ...(0, import_runtime144.mergeProps)(void 0, {
28433
28471
  [beamSideNavLayoutWidthVar]: `${railOffsetPx}px`
28434
28472
  }, {
28435
28473
  display: "df",
@@ -28437,7 +28475,7 @@ function SideNavLayoutContent(props) {
28437
28475
  width: "w100"
28438
28476
  }), ...tid, children: [
28439
28477
  contrastRail ? /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(ContrastScope, { children: rail }) : rail,
28440
- /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("div", { ...(0, import_runtime143.trussProps)({
28478
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("div", { ...(0, import_runtime144.trussProps)({
28441
28479
  display: "df",
28442
28480
  flexDirection: "fdc",
28443
28481
  flexGrow: "fg1",
@@ -28453,7 +28491,7 @@ function SideNavLayoutContent(props) {
28453
28491
  }
28454
28492
 
28455
28493
  // src/layouts/CenteredLayout/CenteredLayout.tsx
28456
- var import_runtime144 = require("@homebound/truss/runtime");
28494
+ var import_runtime145 = require("@homebound/truss/runtime");
28457
28495
  var import_jsx_runtime223 = require("react/jsx-runtime");
28458
28496
  var __maybeInc29 = (inc) => {
28459
28497
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -28469,7 +28507,7 @@ function CenteredLayout(props) {
28469
28507
  mdAndUp
28470
28508
  } = useBreakpoint();
28471
28509
  const rightPane = resolveWithRightPaneOptions(withRightPane);
28472
- const shell = /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { ...(0, import_runtime144.mergeProps)(void 0, {
28510
+ const shell = /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { ...(0, import_runtime145.mergeProps)(void 0, {
28473
28511
  // layoutContainer descendants (e.g. ContentHeader) read this to inset sticky horizontal chrome within the shell padding.
28474
28512
  [beamLayoutContentPaddingXVar]: mdAndUp ? mdAndUpContentPaddingX : smContentPaddingX,
28475
28513
  // Floor while an ancestor overlay pane is open (`0px` when closed). `md+` only — phones must not get a dummy scrollbar.
@@ -28503,15 +28541,15 @@ var smContentPaddingX = "12px";
28503
28541
  var mdAndUpContentPaddingX = pageContentPaddingXValue;
28504
28542
  var centeredPaddingX = {
28505
28543
  paddingLeft: ["px_var mdandup_pl3", {
28506
- "--paddingLeft": (0, import_runtime144.maybeCssVar)(__maybeInc29(smContentPaddingX))
28544
+ "--paddingLeft": (0, import_runtime145.maybeCssVar)(__maybeInc29(smContentPaddingX))
28507
28545
  }],
28508
28546
  paddingRight: ["px_var mdandup_pr3", {
28509
- "--paddingRight": (0, import_runtime144.maybeCssVar)(__maybeInc29(smContentPaddingX))
28547
+ "--paddingRight": (0, import_runtime145.maybeCssVar)(__maybeInc29(smContentPaddingX))
28510
28548
  }]
28511
28549
  };
28512
28550
 
28513
28551
  // src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
28514
- var import_runtime145 = require("@homebound/truss/runtime");
28552
+ var import_runtime146 = require("@homebound/truss/runtime");
28515
28553
  var import_jsx_runtime224 = require("react/jsx-runtime");
28516
28554
  var __maybeInc30 = (inc) => {
28517
28555
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -28528,26 +28566,26 @@ function EnvironmentBannerLayout(props) {
28528
28566
  [beamEnvironmentBannerLayoutHeightVar]: `${bannerHeightPx}px`
28529
28567
  };
28530
28568
  const innerWidth = `var(${beamLayoutViewportWidthVar}, 100vw)`;
28531
- return /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)("div", { ...(0, import_runtime145.mergeProps)(void 0, style, {
28569
+ return /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ (0, import_jsx_runtime224.jsxs)("div", { ...(0, import_runtime146.mergeProps)(void 0, style, {
28532
28570
  display: "df",
28533
28571
  flexDirection: "fdc",
28534
28572
  width: "wfc",
28535
28573
  minWidth: "mw100"
28536
28574
  }), ...tid, children: [
28537
- showBanner && environmentBanner && /* @__PURE__ */ (0, import_jsx_runtime224.jsx)("div", { ...(0, import_runtime145.mergeProps)(void 0, {
28575
+ showBanner && environmentBanner && /* @__PURE__ */ (0, import_jsx_runtime224.jsx)("div", { ...(0, import_runtime146.mergeProps)(void 0, {
28538
28576
  height: environmentBannerSizePx
28539
28577
  }, {
28540
28578
  flexShrink: "fs0",
28541
28579
  width: "w100"
28542
- }), children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)("div", { ...(0, import_runtime145.trussProps)({
28580
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)("div", { ...(0, import_runtime146.trussProps)({
28543
28581
  position: "fixed",
28544
28582
  top: "top0",
28545
28583
  left: "left0",
28546
28584
  zIndex: ["z_var", {
28547
- "--zIndex": (0, import_runtime145.maybeCssVar)(zIndices.environmentBanner)
28585
+ "--zIndex": (0, import_runtime146.maybeCssVar)(zIndices.environmentBanner)
28548
28586
  }],
28549
28587
  width: ["w_var", {
28550
- "--width": (0, import_runtime145.maybeCssVar)(__maybeInc30(innerWidth))
28588
+ "--width": (0, import_runtime146.maybeCssVar)(__maybeInc30(innerWidth))
28551
28589
  }]
28552
28590
  }), ...tid.bannerSticky, children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
28553
28591
  children
@@ -28555,14 +28593,14 @@ function EnvironmentBannerLayout(props) {
28555
28593
  }
28556
28594
 
28557
28595
  // src/layouts/FormSectionLayout/FormSectionLayout.tsx
28558
- var import_runtime149 = require("@homebound/truss/runtime");
28596
+ var import_runtime150 = require("@homebound/truss/runtime");
28559
28597
 
28560
28598
  // src/forms/FormSection/FormSection.tsx
28561
- var import_runtime147 = require("@homebound/truss/runtime");
28599
+ var import_runtime148 = require("@homebound/truss/runtime");
28562
28600
 
28563
28601
  // src/forms/FormSection/FormSectionChild.tsx
28564
28602
  var import_react158 = require("react");
28565
- var import_runtime146 = require("@homebound/truss/runtime");
28603
+ var import_runtime147 = require("@homebound/truss/runtime");
28566
28604
  var import_jsx_runtime225 = require("react/jsx-runtime");
28567
28605
  function FormSectionChild(props) {
28568
28606
  const {
@@ -28585,7 +28623,7 @@ function FormSectionChild(props) {
28585
28623
  return /* @__PURE__ */ (0, import_jsx_runtime225.jsxs)("div", { ...isDraggable ? {
28586
28624
  ...dragItemProps,
28587
28625
  ref: itemRef
28588
- } : {}, ...(0, import_runtime146.trussProps)({
28626
+ } : {}, ...(0, import_runtime147.trussProps)({
28589
28627
  display: "df",
28590
28628
  flexDirection: "fdc",
28591
28629
  gap: "gap2",
@@ -28617,12 +28655,12 @@ function FormSection(props) {
28617
28655
  childSections
28618
28656
  } = props;
28619
28657
  const tid = useTestIds(props, "formSection");
28620
- return /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { id: defaultTestId(title), ...(0, import_runtime147.trussProps)({
28658
+ return /* @__PURE__ */ (0, import_jsx_runtime226.jsxs)("div", { id: defaultTestId(title), ...(0, import_runtime148.trussProps)({
28621
28659
  display: "df",
28622
28660
  flexDirection: "fdc",
28623
28661
  gap: "gap2",
28624
28662
  scrollMarginTop: ["scrollMarginTop_var", {
28625
- "--scrollMarginTop": (0, import_runtime147.maybeCssVar)(stickyNavAndHeaderOffset())
28663
+ "--scrollMarginTop": (0, import_runtime148.maybeCssVar)(stickyNavAndHeaderOffset())
28626
28664
  }]
28627
28665
  }), ...tid.section, children: [
28628
28666
  /* @__PURE__ */ (0, import_jsx_runtime226.jsx)(ContentHeader, { ...tid, title, description, actions, level: 3 }),
@@ -28660,7 +28698,7 @@ function sortByOrderField(childSections) {
28660
28698
  }
28661
28699
 
28662
28700
  // src/layouts/FormSectionLayout/JumpLinksRail.tsx
28663
- var import_runtime148 = require("@homebound/truss/runtime");
28701
+ var import_runtime149 = require("@homebound/truss/runtime");
28664
28702
  var import_jsx_runtime227 = require("react/jsx-runtime");
28665
28703
  var __maybeInc31 = (inc) => {
28666
28704
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -28671,7 +28709,7 @@ function JumpLinksRail(props) {
28671
28709
  activeId
28672
28710
  } = props;
28673
28711
  const tid = useTestIds(props, "jumpLinks");
28674
- return /* @__PURE__ */ (0, import_jsx_runtime227.jsx)("nav", { ...(0, import_runtime148.trussProps)({
28712
+ return /* @__PURE__ */ (0, import_jsx_runtime227.jsx)("nav", { ...(0, import_runtime149.trussProps)({
28675
28713
  display: "df",
28676
28714
  flexDirection: "fdc",
28677
28715
  flexShrink: "fs0",
@@ -28681,7 +28719,7 @@ function JumpLinksRail(props) {
28681
28719
  position: "sticky",
28682
28720
  alignSelf: "asfs",
28683
28721
  top: ["top_var", {
28684
- "--top": (0, import_runtime148.maybeCssVar)(__maybeInc31(stickyNavAndHeaderOffset()))
28722
+ "--top": (0, import_runtime149.maybeCssVar)(__maybeInc31(stickyNavAndHeaderOffset()))
28685
28723
  }]
28686
28724
  }), ...tid, children: links.map((link) => /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(JumpLink, { label: link.label, href: `#${link.id}`, active: link.id === activeId, ...tid.link }, link.id)) });
28687
28725
  }
@@ -28749,7 +28787,7 @@ function FormSectionLayout(props) {
28749
28787
  });
28750
28788
  const showRail = withJumpLinks && jumpLinks.length >= 2 && !isMobile;
28751
28789
  const activeId = useActiveJumpLink(showRail ? jumpLinks.map((link) => link.id) : []);
28752
- const content2 = /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)("div", { ...(0, import_runtime149.trussProps)({
28790
+ const content2 = /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)("div", { ...(0, import_runtime150.trussProps)({
28753
28791
  display: "df",
28754
28792
  flexDirection: "fdc",
28755
28793
  gap: "gap8",
@@ -28769,10 +28807,10 @@ function FormSectionLayout(props) {
28769
28807
  const form = /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(CenteredLayout, { size: "sm", children: aiMode ? /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(AiCard, { size: "lg", ...tid, children: content2 }) : content2 });
28770
28808
  const body = showRail ? /* @__PURE__ */ (0, import_jsx_runtime228.jsxs)("div", { className: "df w100 mb4", children: [
28771
28809
  /* @__PURE__ */ (0, import_jsx_runtime228.jsx)(JumpLinksRail, { links: jumpLinks, activeId, ...tid.jumpLinks }),
28772
- /* @__PURE__ */ (0, import_jsx_runtime228.jsx)("div", { ...(0, import_runtime149.trussProps)({
28810
+ /* @__PURE__ */ (0, import_jsx_runtime228.jsx)("div", { ...(0, import_runtime150.trussProps)({
28773
28811
  flexGrow: "fg1",
28774
28812
  marginRight: ["mr_var", {
28775
- "--marginRight": (0, import_runtime149.maybeCssVar)(__maybeInc32(jumpLinksRailReservation))
28813
+ "--marginRight": (0, import_runtime150.maybeCssVar)(__maybeInc32(jumpLinksRailReservation))
28776
28814
  }]
28777
28815
  }), ...tid.column, children: form })
28778
28816
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime228.jsx)("div", { className: "mb4", children: form });
@@ -28782,7 +28820,7 @@ function FormSectionLayout(props) {
28782
28820
 
28783
28821
  // src/layouts/NavbarLayout/NavbarLayout.tsx
28784
28822
  var import_react163 = require("react");
28785
- var import_runtime150 = require("@homebound/truss/runtime");
28823
+ var import_runtime151 = require("@homebound/truss/runtime");
28786
28824
 
28787
28825
  // src/layouts/useAutoHideOnScroll.ts
28788
28826
  var import_react160 = require("react");
@@ -28930,10 +28968,10 @@ function NavbarLayout(props) {
28930
28968
  position: "fixed",
28931
28969
  left: "left0",
28932
28970
  zIndex: ["z_var", {
28933
- "--zIndex": (0, import_runtime150.maybeCssVar)(zIndices.navbar)
28971
+ "--zIndex": (0, import_runtime151.maybeCssVar)(zIndices.navbar)
28934
28972
  }],
28935
28973
  width: ["w_var", {
28936
- "--width": (0, import_runtime150.maybeCssVar)(__maybeInc33(innerWidth))
28974
+ "--width": (0, import_runtime151.maybeCssVar)(__maybeInc33(innerWidth))
28937
28975
  }],
28938
28976
  transition: "transitionTop"
28939
28977
  };
@@ -28942,18 +28980,18 @@ function NavbarLayout(props) {
28942
28980
  top: autoHideState === "hidden" ? `calc(${bannerTop} - ${navHeight}px)` : bannerTop
28943
28981
  };
28944
28982
  const navbarEl = (0, import_react163.useMemo)(() => /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(Navbar, { ...navbar }), [navbar]);
28945
- return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(MobileSubNavProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { ...(0, import_runtime150.mergeProps)(void 0, cssVars, {
28983
+ return /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)(MobileSubNavProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime230.jsxs)("div", { ...(0, import_runtime151.mergeProps)(void 0, cssVars, {
28946
28984
  display: "df",
28947
28985
  flexDirection: "fdc",
28948
28986
  width: "wfc",
28949
28987
  minWidth: "mw100"
28950
28988
  }), ...tid, children: [
28951
- /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { ref: spacerRef, ...(0, import_runtime150.mergeProps)(void 0, {
28989
+ /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { ref: spacerRef, ...(0, import_runtime151.mergeProps)(void 0, {
28952
28990
  height: navHeight
28953
28991
  }, {
28954
28992
  flexShrink: "fs0",
28955
28993
  width: "w100"
28956
- }), children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { ref: navMetricsRef, ...(0, import_runtime150.mergeProps)(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
28994
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { ref: navMetricsRef, ...(0, import_runtime151.mergeProps)(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
28957
28995
  /* @__PURE__ */ (0, import_jsx_runtime230.jsx)("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
28958
28996
  ] }) }) }) });
28959
28997
  }
@@ -28978,7 +29016,7 @@ function useDocumentTitle(...titleSegments) {
28978
29016
  }
28979
29017
 
28980
29018
  // src/components/Headers/BaseHeader.tsx
28981
- var import_runtime151 = require("@homebound/truss/runtime");
29019
+ var import_runtime152 = require("@homebound/truss/runtime");
28982
29020
  var import_jsx_runtime231 = require("react/jsx-runtime");
28983
29021
  function BaseHeader(props) {
28984
29022
  const {
@@ -28991,7 +29029,7 @@ function BaseHeader(props) {
28991
29029
  } = props;
28992
29030
  const tid = useTestIds(otherProps, "header");
28993
29031
  useDocumentTitle(title, documentTitleSuffix);
28994
- return /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)("header", { ...tid, ...(0, import_runtime151.trussProps)({
29032
+ return /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)("header", { ...tid, ...(0, import_runtime152.trussProps)({
28995
29033
  display: "df",
28996
29034
  flexDirection: "fdc",
28997
29035
  paddingTop: "pt3",
@@ -29005,7 +29043,7 @@ function BaseHeader(props) {
29005
29043
  "--backgroundColor": "var(--b-surface)"
29006
29044
  }]
29007
29045
  }), children: [
29008
- /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)("div", { ...(0, import_runtime151.trussProps)({
29046
+ /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)("div", { ...(0, import_runtime152.trussProps)({
29009
29047
  ...{
29010
29048
  display: "df",
29011
29049
  justifyContent: "jcsb",
@@ -29021,7 +29059,7 @@ function BaseHeader(props) {
29021
29059
  }), children: [
29022
29060
  /* @__PURE__ */ (0, import_jsx_runtime231.jsxs)("div", { className: "mw0", children: [
29023
29061
  breadcrumbs && /* @__PURE__ */ (0, import_jsx_runtime231.jsx)(Breadcrumbs, { ...breadcrumbs }),
29024
- /* @__PURE__ */ (0, import_jsx_runtime231.jsx)("h1", { ...tid.title, ...(0, import_runtime151.trussProps)({
29062
+ /* @__PURE__ */ (0, import_jsx_runtime231.jsx)("h1", { ...tid.title, ...(0, import_runtime152.trussProps)({
29025
29063
  fontWeight: "fw6",
29026
29064
  fontSize: "fz_20px",
29027
29065
  lineHeight: "lh_28px",
@@ -29037,7 +29075,7 @@ function BaseHeader(props) {
29037
29075
  }
29038
29076
 
29039
29077
  // src/components/Headers/PageHeader.tsx
29040
- var import_runtime152 = require("@homebound/truss/runtime");
29078
+ var import_runtime153 = require("@homebound/truss/runtime");
29041
29079
  var import_jsx_runtime232 = require("react/jsx-runtime");
29042
29080
  function PageHeader2(props) {
29043
29081
  const {
@@ -29047,12 +29085,21 @@ function PageHeader2(props) {
29047
29085
  ...otherProps
29048
29086
  } = props;
29049
29087
  const tid = useTestIds(otherProps, "header");
29050
- const hasActions = !!actions && actions.length > 0;
29051
- return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ (0, import_jsx_runtime232.jsxs)("div", { className: "df gap1 fs0", ...tid.actions, children: [
29088
+ const {
29089
+ sm
29090
+ } = useBreakpoint();
29091
+ const {
29092
+ bottomSlotActions,
29093
+ rightSlotActions
29094
+ } = splitHeaderActionsOnSm(actions, sm);
29095
+ return /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ (0, import_jsx_runtime232.jsxs)("div", { className: "df gap2 fs0", ...tid.actions, children: [
29052
29096
  /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(AutoSaveIndicator, { hideOnIdle: true }),
29053
29097
  rightSlot,
29054
- hasActions && /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(HeaderActions, { actions, collapseOnSm: true })
29055
- ] }), bottomSlot: tabs && /* @__PURE__ */ (0, import_jsx_runtime232.jsx)("div", { ...(0, import_runtime152.trussProps)(pageContentPaddingX), children: /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Tabs, { ...tabs, ...tid.tabs }) }) });
29098
+ rightSlotActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(HeaderActions, { actions: rightSlotActions, collapseOnSm: true })
29099
+ ] }), bottomSlot: (bottomSlotActions.length > 0 || tabs) && /* @__PURE__ */ (0, import_jsx_runtime232.jsxs)(import_jsx_runtime232.Fragment, { children: [
29100
+ bottomSlotActions.length > 0 && /* @__PURE__ */ (0, import_jsx_runtime232.jsx)("div", { ...(0, import_runtime153.trussProps)(pageContentPaddingX), ...tid.bottomSlot, children: /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(HeaderActions, { actions: bottomSlotActions }) }),
29101
+ tabs && /* @__PURE__ */ (0, import_jsx_runtime232.jsx)("div", { ...(0, import_runtime153.trussProps)(pageContentPaddingX), children: /* @__PURE__ */ (0, import_jsx_runtime232.jsx)(Tabs, { ...tabs, ...tid.tabs }) })
29102
+ ] }) });
29056
29103
  }
29057
29104
 
29058
29105
  // src/layouts/useBannerAndNavbarHeight.ts
@@ -29061,7 +29108,7 @@ function useBannerAndNavbarHeight() {
29061
29108
  }
29062
29109
 
29063
29110
  // src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
29064
- var import_runtime153 = require("@homebound/truss/runtime");
29111
+ var import_runtime154 = require("@homebound/truss/runtime");
29065
29112
  var import_jsx_runtime233 = require("react/jsx-runtime");
29066
29113
  var __maybeInc34 = (inc) => {
29067
29114
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -29093,13 +29140,13 @@ function PageHeaderLayout(props) {
29093
29140
  const innerCss = {
29094
29141
  position: "fixed",
29095
29142
  left: ["left_var", {
29096
- "--left": (0, import_runtime153.maybeCssVar)(__maybeInc34(headerLeft))
29143
+ "--left": (0, import_runtime154.maybeCssVar)(__maybeInc34(headerLeft))
29097
29144
  }],
29098
29145
  width: ["w_var", {
29099
- "--width": (0, import_runtime153.maybeCssVar)(__maybeInc34(headerWidth))
29146
+ "--width": (0, import_runtime154.maybeCssVar)(__maybeInc34(headerWidth))
29100
29147
  }],
29101
29148
  zIndex: ["z_var", {
29102
- "--zIndex": (0, import_runtime153.maybeCssVar)(zIndices.pageStickyHeader)
29149
+ "--zIndex": (0, import_runtime154.maybeCssVar)(zIndices.pageStickyHeader)
29103
29150
  }],
29104
29151
  transition: "transitionAll"
29105
29152
  };
@@ -29107,17 +29154,17 @@ function PageHeaderLayout(props) {
29107
29154
  top: autoHideState === "hidden" ? `calc(${outerTop} - ${headerHeight}px)` : outerTop
29108
29155
  };
29109
29156
  const pageHeaderEl = (0, import_react165.useMemo)(() => /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(PageHeader2, { ...pageHeader }), [pageHeader]);
29110
- return /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)("div", { ...(0, import_runtime153.mergeProps)(void 0, cssVars, {
29157
+ return /* @__PURE__ */ (0, import_jsx_runtime233.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime233.jsxs)("div", { ...(0, import_runtime154.mergeProps)(void 0, cssVars, {
29111
29158
  display: "df",
29112
29159
  flexDirection: "fdc",
29113
29160
  width: "w100"
29114
29161
  }), ...tid, children: [
29115
- /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("div", { ref: spacerRef, ...(0, import_runtime153.mergeProps)(void 0, {
29162
+ /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("div", { ref: spacerRef, ...(0, import_runtime154.mergeProps)(void 0, {
29116
29163
  height: headerHeight
29117
29164
  }, {
29118
29165
  flexShrink: "fs0",
29119
29166
  width: "w100"
29120
- }), children: /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("div", { ref: headerMetricsRef, ...(0, import_runtime153.mergeProps)(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
29167
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("div", { ref: headerMetricsRef, ...(0, import_runtime154.mergeProps)(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
29121
29168
  /* @__PURE__ */ (0, import_jsx_runtime233.jsx)("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children })
29122
29169
  ] }) });
29123
29170
  }
@@ -29216,7 +29263,7 @@ function WorkflowActions(props) {
29216
29263
  }
29217
29264
 
29218
29265
  // src/layouts/Workflow/WorkflowPageLayout.tsx
29219
- var import_runtime154 = require("@homebound/truss/runtime");
29266
+ var import_runtime155 = require("@homebound/truss/runtime");
29220
29267
  var import_jsx_runtime237 = require("react/jsx-runtime");
29221
29268
  var __maybeInc35 = (inc) => {
29222
29269
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -29267,31 +29314,31 @@ function WorkflowPageLayout(props) {
29267
29314
  };
29268
29315
  }, [showFooter]);
29269
29316
  return /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)(DocumentScrollLayoutProvider, { children: [
29270
- /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)("div", { ...(0, import_runtime154.mergeProps)(void 0, cssVars, {
29317
+ /* @__PURE__ */ (0, import_jsx_runtime237.jsxs)("div", { ...(0, import_runtime155.mergeProps)(void 0, cssVars, {
29271
29318
  display: "df",
29272
29319
  flexDirection: "fdc",
29273
29320
  width: "w100"
29274
29321
  }), ...tid, children: [
29275
- /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { ...(0, import_runtime154.mergeProps)(void 0, {
29322
+ /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { ...(0, import_runtime155.mergeProps)(void 0, {
29276
29323
  height: headerHeight
29277
29324
  }, {
29278
29325
  flexShrink: "fs0",
29279
29326
  width: "w100"
29280
- }), children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { ref: headerMetricsRef, ...(0, import_runtime154.trussProps)({
29327
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { ref: headerMetricsRef, ...(0, import_runtime155.trussProps)({
29281
29328
  position: "fixed",
29282
29329
  left: "left0",
29283
29330
  width: ["w_var", {
29284
- "--width": (0, import_runtime154.maybeCssVar)(__maybeInc35(headerWidth))
29331
+ "--width": (0, import_runtime155.maybeCssVar)(__maybeInc35(headerWidth))
29285
29332
  }],
29286
29333
  zIndex: ["z_var", {
29287
- "--zIndex": (0, import_runtime154.maybeCssVar)(zIndices.pageStickyHeader)
29334
+ "--zIndex": (0, import_runtime155.maybeCssVar)(zIndices.pageStickyHeader)
29288
29335
  }],
29289
29336
  top: ["top_var", {
29290
- "--top": (0, import_runtime154.maybeCssVar)(__maybeInc35(outerTop))
29337
+ "--top": (0, import_runtime155.maybeCssVar)(__maybeInc35(outerTop))
29291
29338
  }],
29292
29339
  transition: "transitionAll"
29293
29340
  }), ...tid.header, children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)(WorkflowHeader, { title, documentTitleSuffix, breadcrumbs, rightSlot: isMobile ? void 0 : actions, stepperTabs }) }) }),
29294
- /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { ...(0, import_runtime154.trussProps)({
29341
+ /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { ...(0, import_runtime155.trussProps)({
29295
29342
  ...{
29296
29343
  display: "df",
29297
29344
  flexDirection: "fdc",
@@ -29303,28 +29350,28 @@ function WorkflowPageLayout(props) {
29303
29350
  ...aiMode && {
29304
29351
  backgroundImage: "aiBackground",
29305
29352
  minHeight: ["mh_var", {
29306
- "--minHeight": (0, import_runtime154.maybeCssVar)(documentScrollBodyMinHeight())
29353
+ "--minHeight": (0, import_runtime155.maybeCssVar)(documentScrollBodyMinHeight())
29307
29354
  }]
29308
29355
  }
29309
29356
  }), ...tid.body, children }),
29310
- showFooter && /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { ...(0, import_runtime154.trussProps)({
29357
+ showFooter && /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { ...(0, import_runtime155.trussProps)({
29311
29358
  flexShrink: "fs0",
29312
29359
  width: "w100",
29313
29360
  height: ["h_var", {
29314
29361
  "--height": `${mobileFooterHeightPx}px`
29315
29362
  }]
29316
- }), children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { ...(0, import_runtime154.trussProps)({
29363
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime237.jsx)("div", { ...(0, import_runtime155.trussProps)({
29317
29364
  ...{
29318
29365
  position: "fixed",
29319
29366
  bottom: "bottom0",
29320
29367
  width: ["w_var", {
29321
- "--width": (0, import_runtime154.maybeCssVar)(__maybeInc35(headerWidth))
29368
+ "--width": (0, import_runtime155.maybeCssVar)(__maybeInc35(headerWidth))
29322
29369
  }],
29323
29370
  height: ["h_var", {
29324
29371
  "--height": `${mobileFooterHeightPx}px`
29325
29372
  }],
29326
29373
  zIndex: ["z_var", {
29327
- "--zIndex": (0, import_runtime154.maybeCssVar)(zIndices.pageStickyFooter)
29374
+ "--zIndex": (0, import_runtime155.maybeCssVar)(zIndices.pageStickyFooter)
29328
29375
  }],
29329
29376
  display: "df",
29330
29377
  alignItems: "aic",
@@ -29503,7 +29550,7 @@ function BoundSelectAndTextField(props) {
29503
29550
  }
29504
29551
 
29505
29552
  // src/forms/FormHeading.tsx
29506
- var import_runtime155 = require("@homebound/truss/runtime");
29553
+ var import_runtime156 = require("@homebound/truss/runtime");
29507
29554
  var import_jsx_runtime242 = (
29508
29555
  // Add space before the heading, but only if it's not first.
29509
29556
  require("react/jsx-runtime")
@@ -29515,7 +29562,7 @@ function FormHeading(props) {
29515
29562
  isFirst = false,
29516
29563
  ...others
29517
29564
  } = props;
29518
- return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)("h3", { ...(0, import_runtime155.trussProps)({
29565
+ return /* @__PURE__ */ (0, import_jsx_runtime242.jsx)("h3", { ...(0, import_runtime156.trussProps)({
29519
29566
  ...{
29520
29567
  fontWeight: "fw4",
29521
29568
  fontSize: "fz_16px",
@@ -29531,7 +29578,7 @@ FormHeading.isFormHeading = true;
29531
29578
 
29532
29579
  // src/forms/StaticField.tsx
29533
29580
  var import_utils49 = require("@react-aria/utils");
29534
- var import_runtime156 = require("@homebound/truss/runtime");
29581
+ var import_runtime157 = require("@homebound/truss/runtime");
29535
29582
  var import_jsx_runtime243 = require("react/jsx-runtime");
29536
29583
  function StaticField(props) {
29537
29584
  const {
@@ -29545,14 +29592,14 @@ function StaticField(props) {
29545
29592
  } = props;
29546
29593
  const tid = useTestIds(props, typeof label === "string" ? defaultTestId(label) : "staticField");
29547
29594
  const id = (0, import_utils49.useId)();
29548
- return /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)("div", { ...(0, import_runtime156.trussProps)({
29595
+ return /* @__PURE__ */ (0, import_jsx_runtime243.jsxs)("div", { ...(0, import_runtime157.trussProps)({
29549
29596
  ...labelStyle === "left" ? {
29550
29597
  display: "df",
29551
29598
  justifyContent: "jcsb",
29552
29599
  maxWidth: "maxw100"
29553
29600
  } : {}
29554
29601
  }), ...tid.container, children: [
29555
- /* @__PURE__ */ (0, import_jsx_runtime243.jsx)("label", { ...(0, import_runtime156.trussProps)({
29602
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsx)("label", { ...(0, import_runtime157.trussProps)({
29556
29603
  display: "db",
29557
29604
  fontWeight: "fw4",
29558
29605
  fontSize: "fz_14px",
@@ -29562,7 +29609,7 @@ function StaticField(props) {
29562
29609
  }],
29563
29610
  marginBottom: "mb_4px"
29564
29611
  }), htmlFor: id, ...tid.label, children: label }),
29565
- /* @__PURE__ */ (0, import_jsx_runtime243.jsx)("div", { id, ...(0, import_runtime156.trussProps)({
29612
+ /* @__PURE__ */ (0, import_jsx_runtime243.jsx)("div", { id, ...(0, import_runtime157.trussProps)({
29566
29613
  fontWeight: "fw4",
29567
29614
  fontSize: "fz_14px",
29568
29615
  lineHeight: "lh_20px",
@@ -29709,7 +29756,7 @@ function Autocomplete(props) {
29709
29756
  var import_react171 = require("react");
29710
29757
  var import_react_aria66 = require("react-aria");
29711
29758
  var import_react_stately19 = require("react-stately");
29712
- var import_runtime157 = require("@homebound/truss/runtime");
29759
+ var import_runtime158 = require("@homebound/truss/runtime");
29713
29760
  var import_jsx_runtime245 = require("react/jsx-runtime");
29714
29761
  function ToggleButton(props) {
29715
29762
  const {
@@ -29774,7 +29821,7 @@ function ToggleButton(props) {
29774
29821
  ...focusProps,
29775
29822
  ...hoverProps,
29776
29823
  ...pressProps,
29777
- ...(0, import_runtime157.trussProps)({
29824
+ ...(0, import_runtime158.trussProps)({
29778
29825
  // Gray500 off-state has no semantic match — keep palette (OnSurfaceMuted is Gray700).
29779
29826
  ...{
29780
29827
  borderRadius: "br4",