@homebound/beam 4.28.0 → 4.29.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -22543,7 +22543,7 @@ import { Observer as Observer10 } from "mobx-react";
22543
22543
 
22544
22544
  // src/inputs/RadioGroupField.tsx
22545
22545
  import { Fragment as Fragment32, useMemo as useMemo36, useRef as useRef45 } from "react";
22546
- import { useFocusRing as useFocusRing12, useHover as useHover16, useRadio, useRadioGroup } from "react-aria";
22546
+ import { mergeProps as mergeProps23, useFocusRing as useFocusRing12, useHover as useHover16, usePress as usePress2, useRadio, useRadioGroup, VisuallyHidden as VisuallyHidden7 } from "react-aria";
22547
22547
  import { useRadioGroupState } from "react-stately";
22548
22548
  import { trussProps as trussProps94 } from "@homebound/truss/runtime";
22549
22549
  import { jsx as jsx153, jsxs as jsxs85 } from "react/jsx-runtime";
@@ -22581,6 +22581,7 @@ function RadioGroupField(props) {
22581
22581
  isDisabled: disabled,
22582
22582
  isRequired: required
22583
22583
  }, state);
22584
+ const isThumbnail = layout === "thumbnail";
22584
22585
  return (
22585
22586
  // default styling to position `<Label />` above.
22586
22587
  /* @__PURE__ */ jsxs85("div", { ...trussProps94({
@@ -22598,20 +22599,24 @@ function RadioGroupField(props) {
22598
22599
  /* @__PURE__ */ jsxs85("div", { ...radioGroupProps, children: [
22599
22600
  /* @__PURE__ */ jsx153("div", { ...trussProps94({
22600
22601
  display: "df",
22601
- ...layout === "horizontal" ? {
22602
+ flexDirection: "fdc",
22603
+ gap: "g_1",
22604
+ ...layout !== "vertical" ? {
22602
22605
  flexDirection: "fdr",
22603
- flexWrap: "fww",
22606
+ flexWrap: "fww"
22607
+ } : {},
22608
+ ...layout === "horizontal" ? {
22604
22609
  gap: "g_3"
22605
- } : {
22606
- flexDirection: "fdc",
22607
- gap: "g_1"
22608
- }
22610
+ } : {}
22609
22611
  }), children: options.map((option) => {
22610
- return /* @__PURE__ */ jsx153(Fragment32, { children: maybeTooltip({
22611
- title: resolveTooltip(option.disabled),
22612
- placement: "bottom",
22613
- children: /* @__PURE__ */ jsx153(Radio, { parentId: name, option, state, isOptionDisabled: !!option.disabled, ...otherProps, ...tid[option.value] })
22614
- }) }, option.value);
22612
+ const radioProps = {
22613
+ option,
22614
+ state,
22615
+ isOptionDisabled: !!option.disabled,
22616
+ ...otherProps,
22617
+ ...tid[option.value]
22618
+ };
22619
+ return /* @__PURE__ */ jsx153(Fragment32, { children: isThumbnail ? /* @__PURE__ */ jsx153(ThumbnailRadio, { ...radioProps }) : /* @__PURE__ */ jsx153(Radio, { parentId: name, ...radioProps }) }, option.value);
22615
22620
  }) }),
22616
22621
  errorMsg && /* @__PURE__ */ jsx153(ErrorMessage, { errorMsg, ...tid.errorMsg }),
22617
22622
  helperText && /* @__PURE__ */ jsx153(HelperText, { helperText })
@@ -22625,7 +22630,8 @@ function Radio(props) {
22625
22630
  option: {
22626
22631
  description,
22627
22632
  label,
22628
- value
22633
+ value,
22634
+ disabled: disabledReason
22629
22635
  },
22630
22636
  state,
22631
22637
  isOptionDisabled,
@@ -22654,71 +22660,198 @@ function Radio(props) {
22654
22660
  } = useHover16({
22655
22661
  isDisabled: disabled
22656
22662
  });
22657
- return /* @__PURE__ */ jsxs85("label", { ...trussProps94({
22658
- display: "df",
22659
- cursor: "cur_pointer",
22660
- ...disabled ? {
22661
- cursor: "cur_initial"
22662
- } : {}
22663
- }), ...hoverProps, children: [
22664
- /* @__PURE__ */ jsx153(
22665
- "input",
22666
- {
22667
- type: "radio",
22668
- ref,
22669
- ...trussProps94({
22670
- ...radioReset,
22671
- ...radioDefault,
22672
- ...getRadioStateStyles({
22673
- isDisabled: disabled,
22674
- isSelected
22663
+ return maybeTooltip({
22664
+ title: resolveTooltip(disabledReason),
22665
+ placement: "bottom",
22666
+ children: /* @__PURE__ */ jsxs85("label", { ...trussProps94({
22667
+ display: "df",
22668
+ cursor: "cur_pointer",
22669
+ ...disabled ? {
22670
+ cursor: "cur_initial"
22671
+ } : {}
22672
+ }), ...hoverProps, children: [
22673
+ /* @__PURE__ */ jsx153(
22674
+ "input",
22675
+ {
22676
+ type: "radio",
22677
+ ref,
22678
+ ...trussProps94({
22679
+ ...radioReset,
22680
+ ...radioDefault,
22681
+ ...getRadioStateStyles({
22682
+ isDisabled: disabled,
22683
+ isSelected
22684
+ }),
22685
+ ...isHovered && !disabled ? radioHover : {},
22686
+ ...isFocusVisible ? radioFocus : {},
22687
+ // Nudge down so the center of the circle lines up with the label text
22688
+ ...{
22689
+ marginTop: "mt_2px",
22690
+ marginRight: "mr1"
22691
+ }
22675
22692
  }),
22676
- ...isHovered && !disabled ? radioHover : {},
22677
- ...isFocusVisible ? radioFocus : {},
22678
- // Nudge down so the center of the circle lines up with the label text
22679
- ...{
22680
- marginTop: "mt_2px",
22681
- marginRight: "mr1"
22682
- }
22683
- }),
22684
- disabled,
22685
- "aria-labelledby": labelId,
22686
- ...inputProps,
22687
- ...focusProps,
22688
- ...others
22689
- }
22690
- ),
22691
- /* @__PURE__ */ jsxs85("div", { children: [
22692
- /* @__PURE__ */ jsx153("div", { id: labelId, ...trussProps94({
22693
- fontWeight: "fw4",
22694
- fontSize: "fz_14px",
22695
- lineHeight: "lh_20px",
22696
- color: ["color_var", {
22697
- "--color": "var(--b-on-surface)"
22698
- }],
22699
- ...disabled ? {
22693
+ disabled,
22694
+ "aria-labelledby": labelId,
22695
+ ...inputProps,
22696
+ ...focusProps,
22697
+ ...others
22698
+ }
22699
+ ),
22700
+ /* @__PURE__ */ jsxs85("div", { children: [
22701
+ /* @__PURE__ */ jsx153("div", { id: labelId, ...trussProps94({
22702
+ fontWeight: "fw4",
22703
+ fontSize: "fz_14px",
22704
+ lineHeight: "lh_20px",
22700
22705
  color: ["color_var", {
22701
- "--color": "var(--b-text-disabled)"
22702
- }]
22703
- } : {}
22704
- }), ...description ? {
22705
- "aria-describedby": descriptionId
22706
- } : {}, children: label }),
22707
- description && /* @__PURE__ */ jsx153("div", { id: descriptionId, ...trussProps94({
22708
- fontWeight: "fw4",
22709
- fontSize: "fz_14px",
22710
- lineHeight: "lh_20px",
22711
- color: ["color_var", {
22712
- "--color": "var(--b-on-surface-muted)"
22713
- }],
22714
- ...disabled ? {
22706
+ "--color": "var(--b-on-surface)"
22707
+ }],
22708
+ ...disabled ? {
22709
+ color: ["color_var", {
22710
+ "--color": "var(--b-text-disabled)"
22711
+ }]
22712
+ } : {}
22713
+ }), ...description ? {
22714
+ "aria-describedby": descriptionId
22715
+ } : {}, children: label }),
22716
+ description && /* @__PURE__ */ jsx153("div", { id: descriptionId, ...trussProps94({
22717
+ fontWeight: "fw4",
22718
+ fontSize: "fz_14px",
22719
+ lineHeight: "lh_20px",
22715
22720
  color: ["color_var", {
22716
- "--color": "var(--b-text-disabled)"
22717
- }]
22718
- } : {}
22719
- }), children: typeof description === "function" ? description() : description })
22721
+ "--color": "var(--b-on-surface-muted)"
22722
+ }],
22723
+ ...disabled ? {
22724
+ color: ["color_var", {
22725
+ "--color": "var(--b-text-disabled)"
22726
+ }]
22727
+ } : {}
22728
+ }), children: typeof description === "function" ? description() : description })
22729
+ ] })
22720
22730
  ] })
22721
- ] });
22731
+ });
22732
+ }
22733
+ function ThumbnailRadio(props) {
22734
+ const {
22735
+ option: {
22736
+ label,
22737
+ value,
22738
+ imgSrc,
22739
+ disabled: disabledReason
22740
+ },
22741
+ state,
22742
+ isOptionDisabled,
22743
+ ...others
22744
+ } = props;
22745
+ const ref = useRef45(null);
22746
+ const {
22747
+ inputProps,
22748
+ isDisabled
22749
+ } = useRadio({
22750
+ value,
22751
+ "aria-label": label,
22752
+ isDisabled: isOptionDisabled
22753
+ }, state, ref);
22754
+ const isSelected = !isDisabled && state.selectedValue === value;
22755
+ const {
22756
+ focusProps,
22757
+ isFocusVisible
22758
+ } = useFocusRing12();
22759
+ const {
22760
+ hoverProps,
22761
+ isHovered
22762
+ } = useHover16({
22763
+ isDisabled
22764
+ });
22765
+ const {
22766
+ pressProps,
22767
+ isPressed
22768
+ } = usePress2({
22769
+ isDisabled,
22770
+ preventFocusOnPress: true
22771
+ });
22772
+ return maybeTooltip({
22773
+ // Thumbnails have no visible text, so their label doubles as the tooltip, unless there's a disabled reason.
22774
+ title: resolveTooltip(disabledReason) ?? label,
22775
+ placement: "top",
22776
+ children: /* @__PURE__ */ jsxs85("label", { ...trussProps94({
22777
+ // The padding over the white background is the inner ring between the border and the image.
22778
+ ...{
22779
+ display: "db",
22780
+ flexShrink: "fs0",
22781
+ height: "h_32px",
22782
+ width: "w_32px",
22783
+ paddingTop: "pt_2px",
22784
+ paddingBottom: "pb_2px",
22785
+ paddingRight: "pr_2px",
22786
+ paddingLeft: "pl_2px",
22787
+ borderRadius: "br8",
22788
+ borderStyle: "bss",
22789
+ borderWidth: "bw1",
22790
+ borderColor: ["bc_var", {
22791
+ "--borderColor": "var(--b-field-border-default)"
22792
+ }],
22793
+ backgroundColor: ["bgColor_var", {
22794
+ "--backgroundColor": "var(--b-surface-raised)"
22795
+ }],
22796
+ outline: "ol_0",
22797
+ cursor: "cur_pointer"
22798
+ },
22799
+ // Lets a wrapping `Carousel` snap to each thumbnail.
22800
+ ...{
22801
+ scrollSnapAlign: "ssa_start"
22802
+ },
22803
+ ...isHovered && !isFocusVisible ? {
22804
+ boxShadow: "bshHover"
22805
+ } : {},
22806
+ ...isSelected || isPressed ? {
22807
+ borderColor: ["bc_var", {
22808
+ "--borderColor": "var(--b-primary)"
22809
+ }]
22810
+ } : {},
22811
+ ...isFocusVisible ? {
22812
+ boxShadow: "bshFocus"
22813
+ } : {},
22814
+ ...isDisabled ? {
22815
+ cursor: "cur_not_allowed"
22816
+ } : {}
22817
+ }), "data-selected": isSelected, "data-disabled": isDisabled, ...mergeProps23(hoverProps, pressProps), children: [
22818
+ /* @__PURE__ */ jsx153(VisuallyHidden7, { elementType: "span", children: /* @__PURE__ */ jsx153("input", { ...mergeProps23(inputProps, focusProps, others), ref }) }),
22819
+ /* @__PURE__ */ jsxs85("span", { className: "relative db w100 h100 oh br4", children: [
22820
+ /* @__PURE__ */ jsx153("img", { src: imgSrc, alt: label, loading: "lazy", ...trussProps94({
22821
+ width: "w100",
22822
+ height: "h100",
22823
+ objectFit: "obf_cover",
22824
+ display: "db",
22825
+ ...isDisabled ? {
22826
+ opacity: "o50"
22827
+ } : {}
22828
+ }) }),
22829
+ (isSelected || isPressed) && /* @__PURE__ */ jsx153("span", { ...trussProps94({
22830
+ ...{
22831
+ position: "absolute",
22832
+ top: "top0",
22833
+ left: "l_0",
22834
+ width: "w100",
22835
+ height: "h100",
22836
+ pointerEvents: "pen"
22837
+ },
22838
+ ...isSelected ? {
22839
+ backgroundColor: ["bgColor_var", {
22840
+ "--backgroundColor": "var(--b-selection-fill)"
22841
+ }],
22842
+ mixBlendMode: "mbm_multiply"
22843
+ } : {},
22844
+ ...isPressed ? {
22845
+ backgroundColor: ["bgColor_var", {
22846
+ "--backgroundColor": "var(--b-primary)"
22847
+ }],
22848
+ opacity: "o_0_28",
22849
+ mixBlendMode: "mbm_normal"
22850
+ } : {}
22851
+ }) })
22852
+ ] })
22853
+ ] })
22854
+ });
22722
22855
  }
22723
22856
 
22724
22857
  // src/forms/BoundRadioGroupField.tsx
@@ -23173,7 +23306,7 @@ import { Observer as Observer14 } from "mobx-react";
23173
23306
 
23174
23307
  // src/inputs/Switch.tsx
23175
23308
  import { useRef as useRef48 } from "react";
23176
- import { useFocusRing as useFocusRing13, useHover as useHover17, useSwitch, VisuallyHidden as VisuallyHidden7 } from "react-aria";
23309
+ import { useFocusRing as useFocusRing13, useHover as useHover17, useSwitch, VisuallyHidden as VisuallyHidden8 } from "react-aria";
23177
23310
  import { trussProps as trussProps97, maybeCssVar as maybeCssVar40 } from "@homebound/truss/runtime";
23178
23311
  import { jsx as jsx162, jsxs as jsxs87 } from "react/jsx-runtime";
23179
23312
  var __maybeInc15 = (inc) => {
@@ -23332,7 +23465,7 @@ function Switch(props) {
23332
23465
  lineHeight: "lh_1"
23333
23466
  } : {}
23334
23467
  } }),
23335
- /* @__PURE__ */ jsx162(VisuallyHidden7, { children: /* @__PURE__ */ jsx162("input", { ref, ...inputProps, ...focusProps, ...tid }) })
23468
+ /* @__PURE__ */ jsx162(VisuallyHidden8, { children: /* @__PURE__ */ jsx162("input", { ref, ...inputProps, ...focusProps, ...tid }) })
23336
23469
  ] });
23337
23470
  }
23338
23471
  var toggleHeight = (isCompact) => isCompact ? 16 : 24;
@@ -23415,7 +23548,7 @@ import { Observer as Observer15 } from "mobx-react";
23415
23548
 
23416
23549
  // src/inputs/TextAreaField.tsx
23417
23550
  import { useRef as useRef49 } from "react";
23418
- import { mergeProps as mergeProps23, useTextField as useTextField3 } from "react-aria";
23551
+ import { mergeProps as mergeProps24, useTextField as useTextField3 } from "react-aria";
23419
23552
  import { jsx as jsx164 } from "react/jsx-runtime";
23420
23553
  function TextAreaField(props) {
23421
23554
  const {
@@ -23461,7 +23594,7 @@ function TextAreaField(props) {
23461
23594
  return /* @__PURE__ */ jsx164(
23462
23595
  TextFieldBase,
23463
23596
  {
23464
- ...mergeProps23(otherProps, { onBlur, onFocus }),
23597
+ ...mergeProps24(otherProps, { onBlur, onFocus }),
23465
23598
  multiline: true,
23466
23599
  labelProps,
23467
23600
  inputProps,
@@ -23520,7 +23653,7 @@ import { Observer as Observer16 } from "mobx-react";
23520
23653
 
23521
23654
  // src/inputs/TextField.tsx
23522
23655
  import { useRef as useRef50 } from "react";
23523
- import { mergeProps as mergeProps24, useTextField as useTextField4 } from "react-aria";
23656
+ import { mergeProps as mergeProps25, useTextField as useTextField4 } from "react-aria";
23524
23657
  import { jsx as jsx166 } from "react/jsx-runtime";
23525
23658
  function TextField(props) {
23526
23659
  const {
@@ -23573,7 +23706,7 @@ function TextField(props) {
23573
23706
  return /* @__PURE__ */ jsx166(
23574
23707
  TextFieldBase,
23575
23708
  {
23576
- ...mergeProps24(textFieldProps, { onBlur, onFocus }),
23709
+ ...mergeProps25(textFieldProps, { onBlur, onFocus }),
23577
23710
  errorMsg,
23578
23711
  required,
23579
23712
  labelProps,
@@ -23632,7 +23765,7 @@ import { Observer as Observer17 } from "mobx-react";
23632
23765
 
23633
23766
  // src/inputs/ToggleChipGroup.tsx
23634
23767
  import { useRef as useRef51 } from "react";
23635
- import { useCheckboxGroup as useCheckboxGroup3, useCheckboxGroupItem as useCheckboxGroupItem3, useFocusRing as useFocusRing14, VisuallyHidden as VisuallyHidden8 } from "react-aria";
23768
+ import { useCheckboxGroup as useCheckboxGroup3, useCheckboxGroupItem as useCheckboxGroupItem3, useFocusRing as useFocusRing14, VisuallyHidden as VisuallyHidden9 } from "react-aria";
23636
23769
  import { useCheckboxGroupState as useCheckboxGroupState3 } from "react-stately";
23637
23770
  import { trussProps as trussProps98, maybeCssVar as maybeCssVar41 } from "@homebound/truss/runtime";
23638
23771
  import { jsx as jsx168, jsxs as jsxs88 } from "react/jsx-runtime";
@@ -23765,7 +23898,7 @@ function ToggleChip2(props) {
23765
23898
  boxShadow: "bshFocus"
23766
23899
  } : {}
23767
23900
  }), "data-selected": isSelected, "data-disabled": isDisabled, "aria-disabled": isDisabled, ...others, children: [
23768
- /* @__PURE__ */ jsx168(VisuallyHidden8, { children: /* @__PURE__ */ jsx168("input", { ...inputProps, ...focusProps }) }),
23901
+ /* @__PURE__ */ jsx168(VisuallyHidden9, { children: /* @__PURE__ */ jsx168("input", { ...inputProps, ...focusProps }) }),
23769
23902
  startAdornment,
23770
23903
  label
23771
23904
  ] })
@@ -24250,7 +24383,7 @@ function Toast() {
24250
24383
  // src/components/Layout/PageHeaderBreadcrumbs.tsx
24251
24384
  import { Fragment as Fragment35, useMemo as useMemo40, useState as useState42 } from "react";
24252
24385
  import { Link as Link6 } from "react-router-dom";
24253
- import { trussProps as trussProps102, mergeProps as mergeProps25 } from "@homebound/truss/runtime";
24386
+ import { trussProps as trussProps102, mergeProps as mergeProps26 } from "@homebound/truss/runtime";
24254
24387
  import { Fragment as Fragment36, jsx as jsx176, jsxs as jsxs90 } from "react/jsx-runtime";
24255
24388
  function PageHeaderBreadcrumbs({
24256
24389
  breadcrumb
@@ -24274,7 +24407,7 @@ function PageHeaderBreadcrumbs({
24274
24407
  marginTop: "mt_2px",
24275
24408
  marginBottom: "mb_2px"
24276
24409
  }), children: "/" }),
24277
- /* @__PURE__ */ jsx176(Link6, { to: bc.href, ...mergeProps25("navLink", void 0, {
24410
+ /* @__PURE__ */ jsx176(Link6, { to: bc.href, ...mergeProps26("navLink", void 0, {
24278
24411
  fontWeight: "fw6",
24279
24412
  fontSize: "fz_14px",
24280
24413
  lineHeight: "lh_20px",
@@ -24611,7 +24744,7 @@ function useActiveSection(sectionsWithRefs) {
24611
24744
  }
24612
24745
 
24613
24746
  // src/components/Layout/FullBleed.tsx
24614
- import { mergeProps as mergeProps26, maybeCssVar as maybeCssVar46 } from "@homebound/truss/runtime";
24747
+ import { mergeProps as mergeProps27, maybeCssVar as maybeCssVar46 } from "@homebound/truss/runtime";
24615
24748
  import { cloneElement as cloneElement3 } from "react";
24616
24749
  var __maybeInc19 = (inc) => {
24617
24750
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -24637,7 +24770,7 @@ function FullBleed({
24637
24770
  // ...for some reason this keeps the Layout top padding better than using
24638
24771
  // react-aria's more generic mergeProps.
24639
24772
  {
24640
- ...mergeProps26(
24773
+ ...mergeProps27(
24641
24774
  className,
24642
24775
  style,
24643
24776
  // ScrollableParent applies horizontal padding to its content column, so FullBleed
@@ -25090,7 +25223,7 @@ import { useCallback as useCallback31, useLayoutEffect as useLayoutEffect9, useR
25090
25223
 
25091
25224
  // src/components/Layout/RightPaneLayout/DocumentScrollOverlayRightPaneLayout.tsx
25092
25225
  import { useContext as useContext23, useEffect as useEffect26, useLayoutEffect as useLayoutEffect8, useRef as useRef57, useState as useState47 } from "react";
25093
- import { mergeProps as mergeProps29 } from "@homebound/truss/runtime";
25226
+ import { mergeProps as mergeProps30 } from "@homebound/truss/runtime";
25094
25227
 
25095
25228
  // src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
25096
25229
  import { AnimatePresence as AnimatePresence3, motion as motion3 } from "framer-motion";
@@ -25252,7 +25385,7 @@ function waitForRightPaneExit(onComplete) {
25252
25385
  }
25253
25386
 
25254
25387
  // src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
25255
- import { mergeProps as mergeProps27, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
25388
+ import { mergeProps as mergeProps28, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
25256
25389
  import { jsx as jsx185 } from "react/jsx-runtime";
25257
25390
  var __maybeInc20 = (inc) => {
25258
25391
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -25314,7 +25447,7 @@ function DocumentScrollRightPane({
25314
25447
  [rightPaneContentDataAttribute]: true
25315
25448
  },
25316
25449
  ...tid,
25317
- ...mergeProps27(void 0, paneStyle, mobile ? {
25450
+ ...mergeProps28(void 0, paneStyle, mobile ? {
25318
25451
  position: "fixed",
25319
25452
  right: "r_0",
25320
25453
  bottom: "bot_0",
@@ -25373,7 +25506,7 @@ function DocumentScrollRightPane({
25373
25506
 
25374
25507
  // src/components/Layout/RightPaneLayout/DocumentScrollRightPaneLayoutRoot.tsx
25375
25508
  import { createContext as createContext13 } from "react";
25376
- import { mergeProps as mergeProps28 } from "@homebound/truss/runtime";
25509
+ import { mergeProps as mergeProps29 } from "@homebound/truss/runtime";
25377
25510
  import { jsx as jsx186 } from "react/jsx-runtime";
25378
25511
  var NestedRightPaneLayoutContext = createContext13(false);
25379
25512
  function DocumentScrollRightPaneLayoutRoot(props) {
@@ -25389,7 +25522,7 @@ function DocumentScrollRightPaneLayoutRoot(props) {
25389
25522
  "div",
25390
25523
  {
25391
25524
  ref: anchorRef.setRef,
25392
- ...mergeProps28(void 0, {
25525
+ ...mergeProps29(void 0, {
25393
25526
  [beamRightPaneWidthVar]: "0px",
25394
25527
  [beamRightPaneContentMinVar]: "0px"
25395
25528
  }, sm ? {
@@ -25460,7 +25593,7 @@ function DocumentScrollOverlayRightPaneLayout({
25460
25593
  ] }) : /* @__PURE__ */ jsxs96(Fragment38, { children: [
25461
25594
  /* @__PURE__ */ jsxs96("div", { className: "df aifs wfc mw100", children: [
25462
25595
  /* @__PURE__ */ jsx187("div", { className: "w100 mwfc", ...tid.main, children }),
25463
- /* @__PURE__ */ jsx187("div", { ref: spacerRef, "aria-hidden": true, ...mergeProps29(void 0, {
25596
+ /* @__PURE__ */ jsx187("div", { ref: spacerRef, "aria-hidden": true, ...mergeProps30(void 0, {
25464
25597
  width: 0
25465
25598
  }, {
25466
25599
  flexShrink: "fs0",
@@ -25513,7 +25646,7 @@ function DocumentScrollOverlayRightPaneHost(props) {
25513
25646
  }
25514
25647
 
25515
25648
  // src/components/Modal/ModalFullBleed.tsx
25516
- import { mergeProps as mergeProps30 } from "@homebound/truss/runtime";
25649
+ import { mergeProps as mergeProps31 } from "@homebound/truss/runtime";
25517
25650
  import { cloneElement as cloneElement4 } from "react";
25518
25651
  function ModalFullBleed({
25519
25652
  children,
@@ -25527,7 +25660,7 @@ function ModalFullBleed({
25527
25660
  className,
25528
25661
  style
25529
25662
  } = children.props;
25530
- return cloneElement4(children, mergeProps30(className, style, {
25663
+ return cloneElement4(children, mergeProps31(className, style, {
25531
25664
  ...{
25532
25665
  containerType: "ctis"
25533
25666
  },
@@ -26822,7 +26955,7 @@ import { useCallback as useCallback39, useEffect as useEffect32, useMemo as useM
26822
26955
 
26823
26956
  // src/components/AppNav/AppNavGroupTrigger.tsx
26824
26957
  import { useMemo as useMemo49, useRef as useRef63 } from "react";
26825
- import { mergeProps as mergeProps31, useButton as useButton11, useFocusRing as useFocusRing16, useHover as useHover20 } from "react-aria";
26958
+ import { mergeProps as mergeProps32, useButton as useButton11, useFocusRing as useFocusRing16, useHover as useHover20 } from "react-aria";
26826
26959
  import { trussProps as trussProps118, mergeProps as mergeProps_14 } from "@homebound/truss/runtime";
26827
26960
  import { jsx as jsx203, jsxs as jsxs108 } from "react/jsx-runtime";
26828
26961
  function AppNavGroupTrigger(props) {
@@ -26856,7 +26989,7 @@ function AppNavGroupTrigger(props) {
26856
26989
  hoverStyles: hoverStyles4,
26857
26990
  pressedStyles: pressedStyles2
26858
26991
  } = useMemo49(() => getNavLinkStyles("side"), []);
26859
- return /* @__PURE__ */ jsxs108("button", { type: "button", ...mergeProps31(buttonProps, focusProps, hoverProps, tid.trigger, {
26992
+ return /* @__PURE__ */ jsxs108("button", { type: "button", ...mergeProps32(buttonProps, focusProps, hoverProps, tid.trigger, {
26860
26993
  ref,
26861
26994
  "aria-expanded": expanded,
26862
26995
  "aria-controls": navGroupId,
@@ -27525,7 +27658,7 @@ function StepIcon({
27525
27658
 
27526
27659
  // src/components/StepperTabs/StepperTab.tsx
27527
27660
  import { useRef as useRef66 } from "react";
27528
- import { mergeProps as mergeProps32, useButton as useButton13, useFocusRing as useFocusRing18, useHover as useHover22, VisuallyHidden as VisuallyHidden9 } from "react-aria";
27661
+ import { mergeProps as mergeProps33, useButton as useButton13, useFocusRing as useFocusRing18, useHover as useHover22, VisuallyHidden as VisuallyHidden10 } from "react-aria";
27529
27662
  import { trussProps as trussProps123 } from "@homebound/truss/runtime";
27530
27663
  import { Fragment as Fragment45, jsx as jsx211, jsxs as jsxs113 } from "react/jsx-runtime";
27531
27664
  function StepperTab(props) {
@@ -27558,7 +27691,7 @@ function StepperTab(props) {
27558
27691
  const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
27559
27692
  const isFocusVisible = __storyState?.focusVisible ?? isFocusVisibleFromEvents;
27560
27693
  const tid = useTestIds(props, "stepperTab");
27561
- return /* @__PURE__ */ jsxs113("button", { ref, ...mergeProps32(buttonProps, focusProps, hoverProps), "aria-label": label, ...trussProps123({
27694
+ return /* @__PURE__ */ jsxs113("button", { ref, ...mergeProps33(buttonProps, focusProps, hoverProps), "aria-label": label, ...trussProps123({
27562
27695
  ...stepperTabStyles.baseStyles,
27563
27696
  ...getStateStyles(active, completed),
27564
27697
  ...isHovered && !disabled ? stepperTabStyles.hoverStyles : {},
@@ -27597,7 +27730,7 @@ function StepperTab(props) {
27597
27730
  }), children: /* @__PURE__ */ jsx211(Icon, { icon: "check", inc: 2.5, ...tid.check }) })
27598
27731
  ] }),
27599
27732
  /* @__PURE__ */ jsx211("span", { "aria-hidden": true, ...trussProps123(getIndicatorStyles(active, completed, disabled)), ...tid.indicator }),
27600
- /* @__PURE__ */ jsx211(VisuallyHidden9, { children: completed ? "Complete" : "Not Complete" })
27733
+ /* @__PURE__ */ jsx211(VisuallyHidden10, { children: completed ? "Complete" : "Not Complete" })
27601
27734
  ] });
27602
27735
  }
27603
27736
  function getStateStyles(active, completed) {
@@ -27778,7 +27911,7 @@ function isStructuredProps(props) {
27778
27911
 
27779
27912
  // src/components/SuperDrawer/SuperDrawerContent.tsx
27780
27913
  import { motion as motion6 } from "framer-motion";
27781
- import { trussProps as trussProps126, mergeProps as mergeProps33 } from "@homebound/truss/runtime";
27914
+ import { trussProps as trussProps126, mergeProps as mergeProps34 } from "@homebound/truss/runtime";
27782
27915
  import { Fragment as Fragment46, jsx as jsx214, jsxs as jsxs115 } from "react/jsx-runtime";
27783
27916
  var SuperDrawerContent = ({
27784
27917
  children,
@@ -27831,7 +27964,7 @@ var SuperDrawerContent = ({
27831
27964
  }, className: "pt2", children: children2 })
27832
27965
  ] }, "content");
27833
27966
  } else {
27834
- return /* @__PURE__ */ jsx214(motion6.div, { ...mergeProps33(void 0, {
27967
+ return /* @__PURE__ */ jsx214(motion6.div, { ...mergeProps34(void 0, {
27835
27968
  overflow: "auto"
27836
27969
  }, {
27837
27970
  paddingTop: "pt3",
@@ -27945,7 +28078,7 @@ function segmentWidth(count, total) {
27945
28078
 
27946
28079
  // src/components/TableSummary/TableSummary.tsx
27947
28080
  import { useRef as useRef67 } from "react";
27948
- import { mergeProps as mergeProps34, useButton as useButton14, useFocusRing as useFocusRing19, useHover as useHover23 } from "react-aria";
28081
+ import { mergeProps as mergeProps35, useButton as useButton14, useFocusRing as useFocusRing19, useHover as useHover23 } from "react-aria";
27949
28082
  import { trussProps as trussProps128, maybeCssVar as maybeCssVar60 } from "@homebound/truss/runtime";
27950
28083
  import { jsx as jsx217, jsxs as jsxs118 } from "react/jsx-runtime";
27951
28084
  function TableSummary(props) {
@@ -28069,7 +28202,7 @@ function MetricButton(props) {
28069
28202
  }],
28070
28203
  zIndex: "z1"
28071
28204
  } : {}
28072
- }), ...mergeProps34(buttonProps, hoverProps, focusProps), ...tid, children: [
28205
+ }), ...mergeProps35(buttonProps, hoverProps, focusProps), ...tid, children: [
28073
28206
  /* @__PURE__ */ jsx217("span", { className: "fs0", children: /* @__PURE__ */ jsx217(Icon, { icon: metric.icon, color: metric.color, inc: 4 }) }),
28074
28207
  /* @__PURE__ */ jsxs118("span", { className: "fw6 fz_18px lh_28px", children: [
28075
28208
  metric.count,
@@ -28342,7 +28475,7 @@ function applyActiveStyles(el, activeStyles3) {
28342
28475
  }
28343
28476
 
28344
28477
  // src/components/DnDGrid/DnDGridItemHandle.tsx
28345
- import { mergeProps as mergeProps35, useFocusRing as useFocusRing20, useHover as useHover24 } from "react-aria";
28478
+ import { mergeProps as mergeProps36, useFocusRing as useFocusRing20, useHover as useHover24 } from "react-aria";
28346
28479
  import { trussProps as trussProps130 } from "@homebound/truss/runtime";
28347
28480
  import { jsx as jsx219 } from "react/jsx-runtime";
28348
28481
  function DnDGridItemHandle(props) {
@@ -28392,7 +28525,7 @@ function DnDGridItemHandle(props) {
28392
28525
  ...isHovered && {
28393
28526
  backgroundColor: "bgGray200"
28394
28527
  }
28395
- }), ...mergeProps35(dragHandleProps, focusProps, hoverProps), ...tid, children: /* @__PURE__ */ jsx219(Icon, { icon, inc: compact ? 2 : void 0, color }) });
28528
+ }), ...mergeProps36(dragHandleProps, focusProps, hoverProps), ...tid, children: /* @__PURE__ */ jsx219(Icon, { icon, inc: compact ? 2 : void 0, color }) });
28396
28529
  }
28397
28530
 
28398
28531
  // src/components/DnDGrid/useDnDGridItem.tsx
@@ -29005,7 +29138,7 @@ function ResponsiveGrid(props) {
29005
29138
  }
29006
29139
 
29007
29140
  // src/components/Grid/ResponsiveGridItem.tsx
29008
- import { mergeProps as mergeProps36 } from "react-aria";
29141
+ import { mergeProps as mergeProps37 } from "react-aria";
29009
29142
  import { trussProps as trussProps132 } from "@homebound/truss/runtime";
29010
29143
 
29011
29144
  // src/components/Grid/useResponsiveGridItem.ts
@@ -29073,7 +29206,7 @@ function ResponsiveGridItem(props) {
29073
29206
  } = useResponsiveGridItem({
29074
29207
  colSpan
29075
29208
  });
29076
- return /* @__PURE__ */ jsx230("div", { ...mergeProps36(gridItemProps, trussProps132(gridItemStyles)), children });
29209
+ return /* @__PURE__ */ jsx230("div", { ...mergeProps37(gridItemProps, trussProps132(gridItemStyles)), children });
29077
29210
  }
29078
29211
 
29079
29212
  // src/components/HbLoadingSpinner.tsx
@@ -29191,7 +29324,7 @@ function useRegisterMobileSubNav(content2) {
29191
29324
  }
29192
29325
 
29193
29326
  // src/components/Navbar/NavbarMobileMenu.tsx
29194
- import { trussProps as trussProps133, mergeProps as mergeProps37, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
29327
+ import { trussProps as trussProps133, mergeProps as mergeProps38, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
29195
29328
  import { Fragment as Fragment50, jsx as jsx234, jsxs as jsxs123 } from "react/jsx-runtime";
29196
29329
  function NavbarMobileMenu(props) {
29197
29330
  const {
@@ -29242,7 +29375,7 @@ function NavbarMobileDrawer({
29242
29375
  };
29243
29376
  const showSubLevel = mobileSubNav != null && level === "sub";
29244
29377
  return /* @__PURE__ */ jsxs123(Fragment50, { children: [
29245
- /* @__PURE__ */ jsx234(motion7.div, { ...mergeProps37(void 0, overlayTopStyle, {
29378
+ /* @__PURE__ */ jsx234(motion7.div, { ...mergeProps38(void 0, overlayTopStyle, {
29246
29379
  position: "fixed",
29247
29380
  right: "r_0",
29248
29381
  bottom: "bot_0",
@@ -29263,7 +29396,7 @@ function NavbarMobileDrawer({
29263
29396
  ease: "linear",
29264
29397
  duration: 0.2
29265
29398
  }, onClick: onClose, ...tid.mobileMenuScrim }, "navbarMobileMenuScrim"),
29266
- /* @__PURE__ */ jsx234(FocusScope5, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ jsxs123(motion7.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...mergeProps37(void 0, overlayTopStyle, {
29399
+ /* @__PURE__ */ jsx234(FocusScope5, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ jsxs123(motion7.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...mergeProps38(void 0, overlayTopStyle, {
29267
29400
  position: "fixed",
29268
29401
  bottom: "bot_0",
29269
29402
  left: "l_0",
@@ -29558,7 +29691,7 @@ function simpleDataRows(data = []) {
29558
29691
  // src/components/Tabs.tsx
29559
29692
  import { camelCase as camelCase8 } from "change-case";
29560
29693
  import { useEffect as useEffect39, useMemo as useMemo58, useRef as useRef70, useState as useState61 } from "react";
29561
- import { mergeProps as mergeProps38, useFocusRing as useFocusRing21, useHover as useHover25 } from "react-aria";
29694
+ import { mergeProps as mergeProps39, useFocusRing as useFocusRing21, useHover as useHover25 } from "react-aria";
29562
29695
  import { matchPath } from "react-router";
29563
29696
  import { Link as Link7, useLocation as useLocation2 } from "react-router-dom";
29564
29697
  import { trussProps as trussProps135, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
@@ -29737,7 +29870,7 @@ function TabImpl(props) {
29737
29870
  ...isFocusVisible && active && focusRingStyles2
29738
29871
  })
29739
29872
  };
29740
- const interactiveProps = mergeProps38(focusProps, hoverProps, {
29873
+ const interactiveProps = mergeProps39(focusProps, hoverProps, {
29741
29874
  onKeyUp,
29742
29875
  onBlur,
29743
29876
  ...isRouteTab(tab) ? {} : {
@@ -29753,7 +29886,7 @@ function TabImpl(props) {
29753
29886
  title: resolveTooltip(disabled),
29754
29887
  placement: "top",
29755
29888
  children: /* @__PURE__ */ jsx236("div", { ...tabProps, children: tabLabel })
29756
- }) : isRouteTab(tab) ? /* @__PURE__ */ jsx236(Link7, { ...mergeProps38(tabProps, interactiveProps, {
29889
+ }) : isRouteTab(tab) ? /* @__PURE__ */ jsx236(Link7, { ...mergeProps39(tabProps, interactiveProps, {
29757
29890
  className: "navLink"
29758
29891
  }), to: tab.href, children: tabLabel }) : /* @__PURE__ */ jsx236("button", { ...{
29759
29892
  ...tabProps,
@@ -29910,7 +30043,7 @@ function DocumentUploadIllustration(props) {
29910
30043
  }
29911
30044
 
29912
30045
  // src/layouts/SideNavLayout/SideNavLayout.tsx
29913
- import { trussProps as trussProps137, mergeProps as mergeProps39, maybeCssVar as maybeCssVar64 } from "@homebound/truss/runtime";
30046
+ import { trussProps as trussProps137, mergeProps as mergeProps40, maybeCssVar as maybeCssVar64 } from "@homebound/truss/runtime";
29914
30047
  import { jsx as jsx238, jsxs as jsxs127 } from "react/jsx-runtime";
29915
30048
  var __maybeInc29 = (inc) => {
29916
30049
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -30001,7 +30134,7 @@ function SideNavLayoutContent(props) {
30001
30134
  showCollapseToggle && /* @__PURE__ */ jsx238("div", { className: "absolute r_2 top2 z2", children: /* @__PURE__ */ jsx238(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
30002
30135
  /* @__PURE__ */ jsx238("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ jsx238(SideNav, { ...sideNav }) })
30003
30136
  ] });
30004
- return /* @__PURE__ */ jsx238(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs127("div", { ...mergeProps39(void 0, {
30137
+ return /* @__PURE__ */ jsx238(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs127("div", { ...mergeProps40(void 0, {
30005
30138
  [beamSideNavLayoutWidthVar]: `${railOffsetPx}px`
30006
30139
  }, {
30007
30140
  display: "df",
@@ -30025,7 +30158,7 @@ function SideNavLayoutContent(props) {
30025
30158
  }
30026
30159
 
30027
30160
  // src/layouts/CenteredLayout/CenteredLayout.tsx
30028
- import { mergeProps as mergeProps40 } from "@homebound/truss/runtime";
30161
+ import { mergeProps as mergeProps41 } from "@homebound/truss/runtime";
30029
30162
  import { jsx as jsx239 } from "react/jsx-runtime";
30030
30163
  function CenteredLayout(props) {
30031
30164
  const {
@@ -30038,7 +30171,7 @@ function CenteredLayout(props) {
30038
30171
  mdAndUp
30039
30172
  } = useBreakpoint();
30040
30173
  const rightPane = resolveWithRightPaneOptions(withRightPane);
30041
- const shell = /* @__PURE__ */ jsx239(ContentInsetProvider, { children: /* @__PURE__ */ jsx239("div", { ...mergeProps40(void 0, {
30174
+ const shell = /* @__PURE__ */ jsx239(ContentInsetProvider, { children: /* @__PURE__ */ jsx239("div", { ...mergeProps41(void 0, {
30042
30175
  // layoutContainer descendants (e.g. ContentHeader) read this to inset sticky horizontal chrome within the shell padding.
30043
30176
  [beamLayoutContentPaddingXVar]: mdAndUp ? pageContentPaddingXValue : smPageContentPaddingXValue,
30044
30177
  // Floor while an ancestor overlay pane is open (`0px` when closed). `md+` only — phones must not get a dummy scrollbar.
@@ -30070,7 +30203,7 @@ var centeredShellMaxPx = {
30070
30203
  };
30071
30204
 
30072
30205
  // src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
30073
- import { trussProps as trussProps138, mergeProps as mergeProps41, maybeCssVar as maybeCssVar65 } from "@homebound/truss/runtime";
30206
+ import { trussProps as trussProps138, mergeProps as mergeProps42, maybeCssVar as maybeCssVar65 } from "@homebound/truss/runtime";
30074
30207
  import { jsx as jsx240, jsxs as jsxs128 } from "react/jsx-runtime";
30075
30208
  var __maybeInc30 = (inc) => {
30076
30209
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -30087,13 +30220,13 @@ function EnvironmentBannerLayout(props) {
30087
30220
  [beamEnvironmentBannerLayoutHeightVar]: `${bannerHeightPx}px`
30088
30221
  };
30089
30222
  const innerWidth = `var(${beamLayoutViewportWidthVar}, 100vw)`;
30090
- return /* @__PURE__ */ jsx240(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx240(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ jsxs128("div", { ...mergeProps41(void 0, style, {
30223
+ return /* @__PURE__ */ jsx240(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx240(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ jsxs128("div", { ...mergeProps42(void 0, style, {
30091
30224
  display: "df",
30092
30225
  flexDirection: "fdc",
30093
30226
  width: "wfc",
30094
30227
  minWidth: "mw100"
30095
30228
  }), ...tid, children: [
30096
- showBanner && environmentBanner && /* @__PURE__ */ jsx240("div", { ...mergeProps41(void 0, {
30229
+ showBanner && environmentBanner && /* @__PURE__ */ jsx240("div", { ...mergeProps42(void 0, {
30097
30230
  height: environmentBannerSizePx
30098
30231
  }, {
30099
30232
  flexShrink: "fs0",
@@ -30412,7 +30545,7 @@ function PageBanner(props) {
30412
30545
 
30413
30546
  // src/layouts/NavbarLayout/NavbarLayout.tsx
30414
30547
  import { useMemo as useMemo59, useRef as useRef73 } from "react";
30415
- import { mergeProps as mergeProps42, maybeCssVar as maybeCssVar69 } from "@homebound/truss/runtime";
30548
+ import { mergeProps as mergeProps43, maybeCssVar as maybeCssVar69 } from "@homebound/truss/runtime";
30416
30549
 
30417
30550
  // src/layouts/useAutoHideOnScroll.ts
30418
30551
  import { useLayoutEffect as useLayoutEffect15, useRef as useRef72, useState as useState63 } from "react";
@@ -30575,18 +30708,18 @@ function NavbarLayout(props) {
30575
30708
  top: autoHideState === "hidden" ? `calc(${bannerTop} - ${navHeight}px)` : bannerTop
30576
30709
  };
30577
30710
  const navbarEl = useMemo59(() => /* @__PURE__ */ jsx246(Navbar, { ...navbar }), [navbar]);
30578
- return /* @__PURE__ */ jsx246(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx246(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ jsx246(MobileSubNavProvider, { children: /* @__PURE__ */ jsxs132("div", { ...mergeProps42(void 0, cssVars, {
30711
+ return /* @__PURE__ */ jsx246(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx246(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ jsx246(MobileSubNavProvider, { children: /* @__PURE__ */ jsxs132("div", { ...mergeProps43(void 0, cssVars, {
30579
30712
  display: "df",
30580
30713
  flexDirection: "fdc",
30581
30714
  width: "wfc",
30582
30715
  minWidth: "mw100"
30583
30716
  }), ...tid, children: [
30584
- /* @__PURE__ */ jsx246("div", { ref: spacerRef, ...mergeProps42(void 0, {
30717
+ /* @__PURE__ */ jsx246("div", { ref: spacerRef, ...mergeProps43(void 0, {
30585
30718
  height: navHeight
30586
30719
  }, {
30587
30720
  flexShrink: "fs0",
30588
30721
  width: "w100"
30589
- }), children: /* @__PURE__ */ jsx246("div", { ref: navMetricsRef, ...mergeProps42(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
30722
+ }), children: /* @__PURE__ */ jsx246("div", { ref: navMetricsRef, ...mergeProps43(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
30590
30723
  /* @__PURE__ */ jsx246("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
30591
30724
  ] }) }) }) });
30592
30725
  }
@@ -30767,7 +30900,7 @@ function useBannerAndNavbarHeight() {
30767
30900
  }
30768
30901
 
30769
30902
  // src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
30770
- import { mergeProps as mergeProps43, maybeCssVar as maybeCssVar71 } from "@homebound/truss/runtime";
30903
+ import { mergeProps as mergeProps44, maybeCssVar as maybeCssVar71 } from "@homebound/truss/runtime";
30771
30904
  import { jsx as jsx251, jsxs as jsxs135 } from "react/jsx-runtime";
30772
30905
  var __maybeInc35 = (inc) => {
30773
30906
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -30822,17 +30955,17 @@ function PageHeaderLayout(props) {
30822
30955
  top: autoHideState === "hidden" ? `calc(${outerTop} - ${headerHeight}px)` : outerTop
30823
30956
  };
30824
30957
  const pageHeaderEl = useMemo60(() => /* @__PURE__ */ jsx251(PageHeader2, { ...pageHeader }), [pageHeader]);
30825
- return /* @__PURE__ */ jsx251(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs135("div", { ...mergeProps43(void 0, style, {
30958
+ return /* @__PURE__ */ jsx251(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs135("div", { ...mergeProps44(void 0, style, {
30826
30959
  display: "df",
30827
30960
  flexDirection: "fdc",
30828
30961
  width: "w100"
30829
30962
  }), ...tid, children: [
30830
- /* @__PURE__ */ jsx251("div", { ref: spacerRef, ...mergeProps43(void 0, {
30963
+ /* @__PURE__ */ jsx251("div", { ref: spacerRef, ...mergeProps44(void 0, {
30831
30964
  height: headerHeight
30832
30965
  }, {
30833
30966
  flexShrink: "fs0",
30834
30967
  width: "w100"
30835
- }), children: /* @__PURE__ */ jsx251("div", { ref: headerMetricsRef, ...mergeProps43(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
30968
+ }), children: /* @__PURE__ */ jsx251("div", { ref: headerMetricsRef, ...mergeProps44(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
30836
30969
  bannerSlot,
30837
30970
  /* @__PURE__ */ jsx251("div", { className: "df fdc fg1 mh0 w100 n_has_data_self_top_spaced_first_child_pt3", ...tid.body, children })
30838
30971
  ] }) });
@@ -31009,7 +31142,7 @@ function WorkflowActions(props) {
31009
31142
  }
31010
31143
 
31011
31144
  // src/layouts/Workflow/WorkflowPageLayout.tsx
31012
- import { trussProps as trussProps147, mergeProps as mergeProps44, maybeCssVar as maybeCssVar73 } from "@homebound/truss/runtime";
31145
+ import { trussProps as trussProps147, mergeProps as mergeProps45, maybeCssVar as maybeCssVar73 } from "@homebound/truss/runtime";
31013
31146
  import { jsx as jsx256, jsxs as jsxs137 } from "react/jsx-runtime";
31014
31147
  var __maybeInc37 = (inc) => {
31015
31148
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -31075,12 +31208,12 @@ function WorkflowPageLayout(props) {
31075
31208
  };
31076
31209
  }, [showFooter]);
31077
31210
  return /* @__PURE__ */ jsxs137(DocumentScrollLayoutProvider, { children: [
31078
- /* @__PURE__ */ jsxs137("div", { ...mergeProps44(void 0, style, {
31211
+ /* @__PURE__ */ jsxs137("div", { ...mergeProps45(void 0, style, {
31079
31212
  display: "df",
31080
31213
  flexDirection: "fdc",
31081
31214
  width: "w100"
31082
31215
  }), ...tid, children: [
31083
- /* @__PURE__ */ jsx256("div", { ...mergeProps44(void 0, {
31216
+ /* @__PURE__ */ jsx256("div", { ...mergeProps45(void 0, {
31084
31217
  height: headerHeight
31085
31218
  }, {
31086
31219
  flexShrink: "fs0",
@@ -31544,7 +31677,7 @@ function Autocomplete(props) {
31544
31677
 
31545
31678
  // src/inputs/ToggleButton.tsx
31546
31679
  import { useRef as useRef79, useState as useState68 } from "react";
31547
- import { useFocusRing as useFocusRing22, useHover as useHover26, usePress as usePress2, useSwitch as useSwitch2, VisuallyHidden as VisuallyHidden10 } from "react-aria";
31680
+ import { useFocusRing as useFocusRing22, useHover as useHover26, usePress as usePress3, useSwitch as useSwitch2, VisuallyHidden as VisuallyHidden11 } from "react-aria";
31548
31681
  import { useToggleState as useToggleState2 } from "react-stately";
31549
31682
  import { trussProps as trussProps150 } from "@homebound/truss/runtime";
31550
31683
  import { jsx as jsx264, jsxs as jsxs141 } from "react/jsx-runtime";
@@ -31583,7 +31716,7 @@ function ToggleButton(props) {
31583
31716
  const {
31584
31717
  isPressed: isPressedFromEvents,
31585
31718
  pressProps
31586
- } = usePress2({
31719
+ } = usePress3({
31587
31720
  ref: labelRef,
31588
31721
  isDisabled
31589
31722
  });
@@ -31654,7 +31787,7 @@ function ToggleButton(props) {
31654
31787
  children: /* @__PURE__ */ jsxs141("label", { ...labelAttrs, children: [
31655
31788
  icon && /* @__PURE__ */ jsx264(Icon, { icon }),
31656
31789
  label,
31657
- /* @__PURE__ */ jsx264(VisuallyHidden10, { children: /* @__PURE__ */ jsx264("input", { ref, ...inputProps, ...tid.value }) })
31790
+ /* @__PURE__ */ jsx264(VisuallyHidden11, { children: /* @__PURE__ */ jsx264("input", { ref, ...inputProps, ...tid.value }) })
31658
31791
  ] })
31659
31792
  });
31660
31793
  }