@homebound/beam 4.28.0 → 4.29.1

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