@homebound/beam 4.27.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
@@ -20374,6 +20374,7 @@ function ContentHeader(props) {
20374
20374
  level = 2,
20375
20375
  aiMode = false,
20376
20376
  startAdornment,
20377
+ rightSlotLead,
20377
20378
  tooltip,
20378
20379
  xss
20379
20380
  } = props;
@@ -20388,7 +20389,7 @@ function ContentHeader(props) {
20388
20389
  bottomSlotActions,
20389
20390
  rightSlotActions
20390
20391
  } = splitHeaderActionsOnSm(actions, sm);
20391
- const showActionsSlot = !!withAutoSave || rightSlotActions.length > 0;
20392
+ const showActionsSlot = !!withAutoSave || !!rightSlotLead || rightSlotActions.length > 0;
20392
20393
  const {
20393
20394
  tag: Heading,
20394
20395
  css: headingCss
@@ -20436,7 +20437,8 @@ function ContentHeader(props) {
20436
20437
  /* @__PURE__ */ jsx121(Heading, { ...trussProps79(titleCss), ...tid.title, children: title }),
20437
20438
  tooltip && /* @__PURE__ */ jsx121(Icon, { icon: "infoCircle", tooltip, inc: 2 })
20438
20439
  ] }) : descriptionEl,
20439
- showActionsSlot && /* @__PURE__ */ jsxs75("div", { className: "df g_2 fs0", ...tid.actions, children: [
20440
+ showActionsSlot && /* @__PURE__ */ jsxs75("div", { className: "df aic g_2 fs0", ...tid.actions, children: [
20441
+ rightSlotLead,
20440
20442
  withAutoSave && /* @__PURE__ */ jsx121(AutoSaveIndicator, {}),
20441
20443
  rightSlotActions.length > 0 && /* @__PURE__ */ jsx121(HeaderActions, { actions: rightSlotActions })
20442
20444
  ] })
@@ -22541,7 +22543,7 @@ import { Observer as Observer10 } from "mobx-react";
22541
22543
 
22542
22544
  // src/inputs/RadioGroupField.tsx
22543
22545
  import { Fragment as Fragment32, useMemo as useMemo36, useRef as useRef45 } from "react";
22544
- 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";
22545
22547
  import { useRadioGroupState } from "react-stately";
22546
22548
  import { trussProps as trussProps94 } from "@homebound/truss/runtime";
22547
22549
  import { jsx as jsx153, jsxs as jsxs85 } from "react/jsx-runtime";
@@ -22579,6 +22581,7 @@ function RadioGroupField(props) {
22579
22581
  isDisabled: disabled,
22580
22582
  isRequired: required
22581
22583
  }, state);
22584
+ const isThumbnail = layout === "thumbnail";
22582
22585
  return (
22583
22586
  // default styling to position `<Label />` above.
22584
22587
  /* @__PURE__ */ jsxs85("div", { ...trussProps94({
@@ -22596,20 +22599,24 @@ function RadioGroupField(props) {
22596
22599
  /* @__PURE__ */ jsxs85("div", { ...radioGroupProps, children: [
22597
22600
  /* @__PURE__ */ jsx153("div", { ...trussProps94({
22598
22601
  display: "df",
22599
- ...layout === "horizontal" ? {
22602
+ flexDirection: "fdc",
22603
+ gap: "g_1",
22604
+ ...layout !== "vertical" ? {
22600
22605
  flexDirection: "fdr",
22601
- flexWrap: "fww",
22606
+ flexWrap: "fww"
22607
+ } : {},
22608
+ ...layout === "horizontal" ? {
22602
22609
  gap: "g_3"
22603
- } : {
22604
- flexDirection: "fdc",
22605
- gap: "g_1"
22606
- }
22610
+ } : {}
22607
22611
  }), children: options.map((option) => {
22608
- return /* @__PURE__ */ jsx153(Fragment32, { children: maybeTooltip({
22609
- title: resolveTooltip(option.disabled),
22610
- placement: "bottom",
22611
- children: /* @__PURE__ */ jsx153(Radio, { parentId: name, option, state, isOptionDisabled: !!option.disabled, ...otherProps, ...tid[option.value] })
22612
- }) }, 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);
22613
22620
  }) }),
22614
22621
  errorMsg && /* @__PURE__ */ jsx153(ErrorMessage, { errorMsg, ...tid.errorMsg }),
22615
22622
  helperText && /* @__PURE__ */ jsx153(HelperText, { helperText })
@@ -22623,7 +22630,8 @@ function Radio(props) {
22623
22630
  option: {
22624
22631
  description,
22625
22632
  label,
22626
- value
22633
+ value,
22634
+ disabled: disabledReason
22627
22635
  },
22628
22636
  state,
22629
22637
  isOptionDisabled,
@@ -22652,71 +22660,198 @@ function Radio(props) {
22652
22660
  } = useHover16({
22653
22661
  isDisabled: disabled
22654
22662
  });
22655
- return /* @__PURE__ */ jsxs85("label", { ...trussProps94({
22656
- display: "df",
22657
- cursor: "cur_pointer",
22658
- ...disabled ? {
22659
- cursor: "cur_initial"
22660
- } : {}
22661
- }), ...hoverProps, children: [
22662
- /* @__PURE__ */ jsx153(
22663
- "input",
22664
- {
22665
- type: "radio",
22666
- ref,
22667
- ...trussProps94({
22668
- ...radioReset,
22669
- ...radioDefault,
22670
- ...getRadioStateStyles({
22671
- isDisabled: disabled,
22672
- 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
+ }
22673
22692
  }),
22674
- ...isHovered && !disabled ? radioHover : {},
22675
- ...isFocusVisible ? radioFocus : {},
22676
- // Nudge down so the center of the circle lines up with the label text
22677
- ...{
22678
- marginTop: "mt_2px",
22679
- marginRight: "mr1"
22680
- }
22681
- }),
22682
- disabled,
22683
- "aria-labelledby": labelId,
22684
- ...inputProps,
22685
- ...focusProps,
22686
- ...others
22687
- }
22688
- ),
22689
- /* @__PURE__ */ jsxs85("div", { children: [
22690
- /* @__PURE__ */ jsx153("div", { id: labelId, ...trussProps94({
22691
- fontWeight: "fw4",
22692
- fontSize: "fz_14px",
22693
- lineHeight: "lh_20px",
22694
- color: ["color_var", {
22695
- "--color": "var(--b-on-surface)"
22696
- }],
22697
- ...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",
22698
22705
  color: ["color_var", {
22699
- "--color": "var(--b-text-disabled)"
22700
- }]
22701
- } : {}
22702
- }), ...description ? {
22703
- "aria-describedby": descriptionId
22704
- } : {}, children: label }),
22705
- description && /* @__PURE__ */ jsx153("div", { id: descriptionId, ...trussProps94({
22706
- fontWeight: "fw4",
22707
- fontSize: "fz_14px",
22708
- lineHeight: "lh_20px",
22709
- color: ["color_var", {
22710
- "--color": "var(--b-on-surface-muted)"
22711
- }],
22712
- ...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",
22713
22720
  color: ["color_var", {
22714
- "--color": "var(--b-text-disabled)"
22715
- }]
22716
- } : {}
22717
- }), 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
+ ] })
22718
22730
  ] })
22719
- ] });
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
+ });
22720
22855
  }
22721
22856
 
22722
22857
  // src/forms/BoundRadioGroupField.tsx
@@ -23171,7 +23306,7 @@ import { Observer as Observer14 } from "mobx-react";
23171
23306
 
23172
23307
  // src/inputs/Switch.tsx
23173
23308
  import { useRef as useRef48 } from "react";
23174
- 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";
23175
23310
  import { trussProps as trussProps97, maybeCssVar as maybeCssVar40 } from "@homebound/truss/runtime";
23176
23311
  import { jsx as jsx162, jsxs as jsxs87 } from "react/jsx-runtime";
23177
23312
  var __maybeInc15 = (inc) => {
@@ -23330,7 +23465,7 @@ function Switch(props) {
23330
23465
  lineHeight: "lh_1"
23331
23466
  } : {}
23332
23467
  } }),
23333
- /* @__PURE__ */ jsx162(VisuallyHidden7, { children: /* @__PURE__ */ jsx162("input", { ref, ...inputProps, ...focusProps, ...tid }) })
23468
+ /* @__PURE__ */ jsx162(VisuallyHidden8, { children: /* @__PURE__ */ jsx162("input", { ref, ...inputProps, ...focusProps, ...tid }) })
23334
23469
  ] });
23335
23470
  }
23336
23471
  var toggleHeight = (isCompact) => isCompact ? 16 : 24;
@@ -23413,7 +23548,7 @@ import { Observer as Observer15 } from "mobx-react";
23413
23548
 
23414
23549
  // src/inputs/TextAreaField.tsx
23415
23550
  import { useRef as useRef49 } from "react";
23416
- import { mergeProps as mergeProps23, useTextField as useTextField3 } from "react-aria";
23551
+ import { mergeProps as mergeProps24, useTextField as useTextField3 } from "react-aria";
23417
23552
  import { jsx as jsx164 } from "react/jsx-runtime";
23418
23553
  function TextAreaField(props) {
23419
23554
  const {
@@ -23459,7 +23594,7 @@ function TextAreaField(props) {
23459
23594
  return /* @__PURE__ */ jsx164(
23460
23595
  TextFieldBase,
23461
23596
  {
23462
- ...mergeProps23(otherProps, { onBlur, onFocus }),
23597
+ ...mergeProps24(otherProps, { onBlur, onFocus }),
23463
23598
  multiline: true,
23464
23599
  labelProps,
23465
23600
  inputProps,
@@ -23518,7 +23653,7 @@ import { Observer as Observer16 } from "mobx-react";
23518
23653
 
23519
23654
  // src/inputs/TextField.tsx
23520
23655
  import { useRef as useRef50 } from "react";
23521
- import { mergeProps as mergeProps24, useTextField as useTextField4 } from "react-aria";
23656
+ import { mergeProps as mergeProps25, useTextField as useTextField4 } from "react-aria";
23522
23657
  import { jsx as jsx166 } from "react/jsx-runtime";
23523
23658
  function TextField(props) {
23524
23659
  const {
@@ -23571,7 +23706,7 @@ function TextField(props) {
23571
23706
  return /* @__PURE__ */ jsx166(
23572
23707
  TextFieldBase,
23573
23708
  {
23574
- ...mergeProps24(textFieldProps, { onBlur, onFocus }),
23709
+ ...mergeProps25(textFieldProps, { onBlur, onFocus }),
23575
23710
  errorMsg,
23576
23711
  required,
23577
23712
  labelProps,
@@ -23630,7 +23765,7 @@ import { Observer as Observer17 } from "mobx-react";
23630
23765
 
23631
23766
  // src/inputs/ToggleChipGroup.tsx
23632
23767
  import { useRef as useRef51 } from "react";
23633
- 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";
23634
23769
  import { useCheckboxGroupState as useCheckboxGroupState3 } from "react-stately";
23635
23770
  import { trussProps as trussProps98, maybeCssVar as maybeCssVar41 } from "@homebound/truss/runtime";
23636
23771
  import { jsx as jsx168, jsxs as jsxs88 } from "react/jsx-runtime";
@@ -23763,7 +23898,7 @@ function ToggleChip2(props) {
23763
23898
  boxShadow: "bshFocus"
23764
23899
  } : {}
23765
23900
  }), "data-selected": isSelected, "data-disabled": isDisabled, "aria-disabled": isDisabled, ...others, children: [
23766
- /* @__PURE__ */ jsx168(VisuallyHidden8, { children: /* @__PURE__ */ jsx168("input", { ...inputProps, ...focusProps }) }),
23901
+ /* @__PURE__ */ jsx168(VisuallyHidden9, { children: /* @__PURE__ */ jsx168("input", { ...inputProps, ...focusProps }) }),
23767
23902
  startAdornment,
23768
23903
  label
23769
23904
  ] })
@@ -24248,7 +24383,7 @@ function Toast() {
24248
24383
  // src/components/Layout/PageHeaderBreadcrumbs.tsx
24249
24384
  import { Fragment as Fragment35, useMemo as useMemo40, useState as useState42 } from "react";
24250
24385
  import { Link as Link6 } from "react-router-dom";
24251
- import { trussProps as trussProps102, mergeProps as mergeProps25 } from "@homebound/truss/runtime";
24386
+ import { trussProps as trussProps102, mergeProps as mergeProps26 } from "@homebound/truss/runtime";
24252
24387
  import { Fragment as Fragment36, jsx as jsx176, jsxs as jsxs90 } from "react/jsx-runtime";
24253
24388
  function PageHeaderBreadcrumbs({
24254
24389
  breadcrumb
@@ -24272,7 +24407,7 @@ function PageHeaderBreadcrumbs({
24272
24407
  marginTop: "mt_2px",
24273
24408
  marginBottom: "mb_2px"
24274
24409
  }), children: "/" }),
24275
- /* @__PURE__ */ jsx176(Link6, { to: bc.href, ...mergeProps25("navLink", void 0, {
24410
+ /* @__PURE__ */ jsx176(Link6, { to: bc.href, ...mergeProps26("navLink", void 0, {
24276
24411
  fontWeight: "fw6",
24277
24412
  fontSize: "fz_14px",
24278
24413
  lineHeight: "lh_20px",
@@ -24609,7 +24744,7 @@ function useActiveSection(sectionsWithRefs) {
24609
24744
  }
24610
24745
 
24611
24746
  // src/components/Layout/FullBleed.tsx
24612
- import { mergeProps as mergeProps26, maybeCssVar as maybeCssVar46 } from "@homebound/truss/runtime";
24747
+ import { mergeProps as mergeProps27, maybeCssVar as maybeCssVar46 } from "@homebound/truss/runtime";
24613
24748
  import { cloneElement as cloneElement3 } from "react";
24614
24749
  var __maybeInc19 = (inc) => {
24615
24750
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -24635,7 +24770,7 @@ function FullBleed({
24635
24770
  // ...for some reason this keeps the Layout top padding better than using
24636
24771
  // react-aria's more generic mergeProps.
24637
24772
  {
24638
- ...mergeProps26(
24773
+ ...mergeProps27(
24639
24774
  className,
24640
24775
  style,
24641
24776
  // ScrollableParent applies horizontal padding to its content column, so FullBleed
@@ -25088,7 +25223,7 @@ import { useCallback as useCallback31, useLayoutEffect as useLayoutEffect9, useR
25088
25223
 
25089
25224
  // src/components/Layout/RightPaneLayout/DocumentScrollOverlayRightPaneLayout.tsx
25090
25225
  import { useContext as useContext23, useEffect as useEffect26, useLayoutEffect as useLayoutEffect8, useRef as useRef57, useState as useState47 } from "react";
25091
- import { mergeProps as mergeProps29 } from "@homebound/truss/runtime";
25226
+ import { mergeProps as mergeProps30 } from "@homebound/truss/runtime";
25092
25227
 
25093
25228
  // src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
25094
25229
  import { AnimatePresence as AnimatePresence3, motion as motion3 } from "framer-motion";
@@ -25250,7 +25385,7 @@ function waitForRightPaneExit(onComplete) {
25250
25385
  }
25251
25386
 
25252
25387
  // src/components/Layout/RightPaneLayout/DocumentScrollRightPane.tsx
25253
- import { mergeProps as mergeProps27, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
25388
+ import { mergeProps as mergeProps28, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
25254
25389
  import { jsx as jsx185 } from "react/jsx-runtime";
25255
25390
  var __maybeInc20 = (inc) => {
25256
25391
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -25312,7 +25447,7 @@ function DocumentScrollRightPane({
25312
25447
  [rightPaneContentDataAttribute]: true
25313
25448
  },
25314
25449
  ...tid,
25315
- ...mergeProps27(void 0, paneStyle, mobile ? {
25450
+ ...mergeProps28(void 0, paneStyle, mobile ? {
25316
25451
  position: "fixed",
25317
25452
  right: "r_0",
25318
25453
  bottom: "bot_0",
@@ -25371,7 +25506,7 @@ function DocumentScrollRightPane({
25371
25506
 
25372
25507
  // src/components/Layout/RightPaneLayout/DocumentScrollRightPaneLayoutRoot.tsx
25373
25508
  import { createContext as createContext13 } from "react";
25374
- import { mergeProps as mergeProps28 } from "@homebound/truss/runtime";
25509
+ import { mergeProps as mergeProps29 } from "@homebound/truss/runtime";
25375
25510
  import { jsx as jsx186 } from "react/jsx-runtime";
25376
25511
  var NestedRightPaneLayoutContext = createContext13(false);
25377
25512
  function DocumentScrollRightPaneLayoutRoot(props) {
@@ -25387,7 +25522,7 @@ function DocumentScrollRightPaneLayoutRoot(props) {
25387
25522
  "div",
25388
25523
  {
25389
25524
  ref: anchorRef.setRef,
25390
- ...mergeProps28(void 0, {
25525
+ ...mergeProps29(void 0, {
25391
25526
  [beamRightPaneWidthVar]: "0px",
25392
25527
  [beamRightPaneContentMinVar]: "0px"
25393
25528
  }, sm ? {
@@ -25458,7 +25593,7 @@ function DocumentScrollOverlayRightPaneLayout({
25458
25593
  ] }) : /* @__PURE__ */ jsxs96(Fragment38, { children: [
25459
25594
  /* @__PURE__ */ jsxs96("div", { className: "df aifs wfc mw100", children: [
25460
25595
  /* @__PURE__ */ jsx187("div", { className: "w100 mwfc", ...tid.main, children }),
25461
- /* @__PURE__ */ jsx187("div", { ref: spacerRef, "aria-hidden": true, ...mergeProps29(void 0, {
25596
+ /* @__PURE__ */ jsx187("div", { ref: spacerRef, "aria-hidden": true, ...mergeProps30(void 0, {
25462
25597
  width: 0
25463
25598
  }, {
25464
25599
  flexShrink: "fs0",
@@ -25511,7 +25646,7 @@ function DocumentScrollOverlayRightPaneHost(props) {
25511
25646
  }
25512
25647
 
25513
25648
  // src/components/Modal/ModalFullBleed.tsx
25514
- import { mergeProps as mergeProps30 } from "@homebound/truss/runtime";
25649
+ import { mergeProps as mergeProps31 } from "@homebound/truss/runtime";
25515
25650
  import { cloneElement as cloneElement4 } from "react";
25516
25651
  function ModalFullBleed({
25517
25652
  children,
@@ -25525,7 +25660,7 @@ function ModalFullBleed({
25525
25660
  className,
25526
25661
  style
25527
25662
  } = children.props;
25528
- return cloneElement4(children, mergeProps30(className, style, {
25663
+ return cloneElement4(children, mergeProps31(className, style, {
25529
25664
  ...{
25530
25665
  containerType: "ctis"
25531
25666
  },
@@ -26820,7 +26955,7 @@ import { useCallback as useCallback39, useEffect as useEffect32, useMemo as useM
26820
26955
 
26821
26956
  // src/components/AppNav/AppNavGroupTrigger.tsx
26822
26957
  import { useMemo as useMemo49, useRef as useRef63 } from "react";
26823
- 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";
26824
26959
  import { trussProps as trussProps118, mergeProps as mergeProps_14 } from "@homebound/truss/runtime";
26825
26960
  import { jsx as jsx203, jsxs as jsxs108 } from "react/jsx-runtime";
26826
26961
  function AppNavGroupTrigger(props) {
@@ -26854,7 +26989,7 @@ function AppNavGroupTrigger(props) {
26854
26989
  hoverStyles: hoverStyles4,
26855
26990
  pressedStyles: pressedStyles2
26856
26991
  } = useMemo49(() => getNavLinkStyles("side"), []);
26857
- 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, {
26858
26993
  ref,
26859
26994
  "aria-expanded": expanded,
26860
26995
  "aria-controls": navGroupId,
@@ -27523,7 +27658,7 @@ function StepIcon({
27523
27658
 
27524
27659
  // src/components/StepperTabs/StepperTab.tsx
27525
27660
  import { useRef as useRef66 } from "react";
27526
- 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";
27527
27662
  import { trussProps as trussProps123 } from "@homebound/truss/runtime";
27528
27663
  import { Fragment as Fragment45, jsx as jsx211, jsxs as jsxs113 } from "react/jsx-runtime";
27529
27664
  function StepperTab(props) {
@@ -27556,7 +27691,7 @@ function StepperTab(props) {
27556
27691
  const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
27557
27692
  const isFocusVisible = __storyState?.focusVisible ?? isFocusVisibleFromEvents;
27558
27693
  const tid = useTestIds(props, "stepperTab");
27559
- 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({
27560
27695
  ...stepperTabStyles.baseStyles,
27561
27696
  ...getStateStyles(active, completed),
27562
27697
  ...isHovered && !disabled ? stepperTabStyles.hoverStyles : {},
@@ -27595,7 +27730,7 @@ function StepperTab(props) {
27595
27730
  }), children: /* @__PURE__ */ jsx211(Icon, { icon: "check", inc: 2.5, ...tid.check }) })
27596
27731
  ] }),
27597
27732
  /* @__PURE__ */ jsx211("span", { "aria-hidden": true, ...trussProps123(getIndicatorStyles(active, completed, disabled)), ...tid.indicator }),
27598
- /* @__PURE__ */ jsx211(VisuallyHidden9, { children: completed ? "Complete" : "Not Complete" })
27733
+ /* @__PURE__ */ jsx211(VisuallyHidden10, { children: completed ? "Complete" : "Not Complete" })
27599
27734
  ] });
27600
27735
  }
27601
27736
  function getStateStyles(active, completed) {
@@ -27776,7 +27911,7 @@ function isStructuredProps(props) {
27776
27911
 
27777
27912
  // src/components/SuperDrawer/SuperDrawerContent.tsx
27778
27913
  import { motion as motion6 } from "framer-motion";
27779
- import { trussProps as trussProps126, mergeProps as mergeProps33 } from "@homebound/truss/runtime";
27914
+ import { trussProps as trussProps126, mergeProps as mergeProps34 } from "@homebound/truss/runtime";
27780
27915
  import { Fragment as Fragment46, jsx as jsx214, jsxs as jsxs115 } from "react/jsx-runtime";
27781
27916
  var SuperDrawerContent = ({
27782
27917
  children,
@@ -27829,7 +27964,7 @@ var SuperDrawerContent = ({
27829
27964
  }, className: "pt2", children: children2 })
27830
27965
  ] }, "content");
27831
27966
  } else {
27832
- return /* @__PURE__ */ jsx214(motion6.div, { ...mergeProps33(void 0, {
27967
+ return /* @__PURE__ */ jsx214(motion6.div, { ...mergeProps34(void 0, {
27833
27968
  overflow: "auto"
27834
27969
  }, {
27835
27970
  paddingTop: "pt3",
@@ -27943,7 +28078,7 @@ function segmentWidth(count, total) {
27943
28078
 
27944
28079
  // src/components/TableSummary/TableSummary.tsx
27945
28080
  import { useRef as useRef67 } from "react";
27946
- 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";
27947
28082
  import { trussProps as trussProps128, maybeCssVar as maybeCssVar60 } from "@homebound/truss/runtime";
27948
28083
  import { jsx as jsx217, jsxs as jsxs118 } from "react/jsx-runtime";
27949
28084
  function TableSummary(props) {
@@ -28067,7 +28202,7 @@ function MetricButton(props) {
28067
28202
  }],
28068
28203
  zIndex: "z1"
28069
28204
  } : {}
28070
- }), ...mergeProps34(buttonProps, hoverProps, focusProps), ...tid, children: [
28205
+ }), ...mergeProps35(buttonProps, hoverProps, focusProps), ...tid, children: [
28071
28206
  /* @__PURE__ */ jsx217("span", { className: "fs0", children: /* @__PURE__ */ jsx217(Icon, { icon: metric.icon, color: metric.color, inc: 4 }) }),
28072
28207
  /* @__PURE__ */ jsxs118("span", { className: "fw6 fz_18px lh_28px", children: [
28073
28208
  metric.count,
@@ -28340,7 +28475,7 @@ function applyActiveStyles(el, activeStyles3) {
28340
28475
  }
28341
28476
 
28342
28477
  // src/components/DnDGrid/DnDGridItemHandle.tsx
28343
- 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";
28344
28479
  import { trussProps as trussProps130 } from "@homebound/truss/runtime";
28345
28480
  import { jsx as jsx219 } from "react/jsx-runtime";
28346
28481
  function DnDGridItemHandle(props) {
@@ -28390,7 +28525,7 @@ function DnDGridItemHandle(props) {
28390
28525
  ...isHovered && {
28391
28526
  backgroundColor: "bgGray200"
28392
28527
  }
28393
- }), ...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 }) });
28394
28529
  }
28395
28530
 
28396
28531
  // src/components/DnDGrid/useDnDGridItem.tsx
@@ -29003,7 +29138,7 @@ function ResponsiveGrid(props) {
29003
29138
  }
29004
29139
 
29005
29140
  // src/components/Grid/ResponsiveGridItem.tsx
29006
- import { mergeProps as mergeProps36 } from "react-aria";
29141
+ import { mergeProps as mergeProps37 } from "react-aria";
29007
29142
  import { trussProps as trussProps132 } from "@homebound/truss/runtime";
29008
29143
 
29009
29144
  // src/components/Grid/useResponsiveGridItem.ts
@@ -29071,7 +29206,7 @@ function ResponsiveGridItem(props) {
29071
29206
  } = useResponsiveGridItem({
29072
29207
  colSpan
29073
29208
  });
29074
- return /* @__PURE__ */ jsx230("div", { ...mergeProps36(gridItemProps, trussProps132(gridItemStyles)), children });
29209
+ return /* @__PURE__ */ jsx230("div", { ...mergeProps37(gridItemProps, trussProps132(gridItemStyles)), children });
29075
29210
  }
29076
29211
 
29077
29212
  // src/components/HbLoadingSpinner.tsx
@@ -29189,7 +29324,7 @@ function useRegisterMobileSubNav(content2) {
29189
29324
  }
29190
29325
 
29191
29326
  // src/components/Navbar/NavbarMobileMenu.tsx
29192
- 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";
29193
29328
  import { Fragment as Fragment50, jsx as jsx234, jsxs as jsxs123 } from "react/jsx-runtime";
29194
29329
  function NavbarMobileMenu(props) {
29195
29330
  const {
@@ -29240,7 +29375,7 @@ function NavbarMobileDrawer({
29240
29375
  };
29241
29376
  const showSubLevel = mobileSubNav != null && level === "sub";
29242
29377
  return /* @__PURE__ */ jsxs123(Fragment50, { children: [
29243
- /* @__PURE__ */ jsx234(motion7.div, { ...mergeProps37(void 0, overlayTopStyle, {
29378
+ /* @__PURE__ */ jsx234(motion7.div, { ...mergeProps38(void 0, overlayTopStyle, {
29244
29379
  position: "fixed",
29245
29380
  right: "r_0",
29246
29381
  bottom: "bot_0",
@@ -29261,7 +29396,7 @@ function NavbarMobileDrawer({
29261
29396
  ease: "linear",
29262
29397
  duration: 0.2
29263
29398
  }, onClick: onClose, ...tid.mobileMenuScrim }, "navbarMobileMenuScrim"),
29264
- /* @__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, {
29265
29400
  position: "fixed",
29266
29401
  bottom: "bot_0",
29267
29402
  left: "l_0",
@@ -29556,7 +29691,7 @@ function simpleDataRows(data = []) {
29556
29691
  // src/components/Tabs.tsx
29557
29692
  import { camelCase as camelCase8 } from "change-case";
29558
29693
  import { useEffect as useEffect39, useMemo as useMemo58, useRef as useRef70, useState as useState61 } from "react";
29559
- 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";
29560
29695
  import { matchPath } from "react-router";
29561
29696
  import { Link as Link7, useLocation as useLocation2 } from "react-router-dom";
29562
29697
  import { trussProps as trussProps135, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
@@ -29735,7 +29870,7 @@ function TabImpl(props) {
29735
29870
  ...isFocusVisible && active && focusRingStyles2
29736
29871
  })
29737
29872
  };
29738
- const interactiveProps = mergeProps38(focusProps, hoverProps, {
29873
+ const interactiveProps = mergeProps39(focusProps, hoverProps, {
29739
29874
  onKeyUp,
29740
29875
  onBlur,
29741
29876
  ...isRouteTab(tab) ? {} : {
@@ -29751,7 +29886,7 @@ function TabImpl(props) {
29751
29886
  title: resolveTooltip(disabled),
29752
29887
  placement: "top",
29753
29888
  children: /* @__PURE__ */ jsx236("div", { ...tabProps, children: tabLabel })
29754
- }) : isRouteTab(tab) ? /* @__PURE__ */ jsx236(Link7, { ...mergeProps38(tabProps, interactiveProps, {
29889
+ }) : isRouteTab(tab) ? /* @__PURE__ */ jsx236(Link7, { ...mergeProps39(tabProps, interactiveProps, {
29755
29890
  className: "navLink"
29756
29891
  }), to: tab.href, children: tabLabel }) : /* @__PURE__ */ jsx236("button", { ...{
29757
29892
  ...tabProps,
@@ -29908,7 +30043,7 @@ function DocumentUploadIllustration(props) {
29908
30043
  }
29909
30044
 
29910
30045
  // src/layouts/SideNavLayout/SideNavLayout.tsx
29911
- 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";
29912
30047
  import { jsx as jsx238, jsxs as jsxs127 } from "react/jsx-runtime";
29913
30048
  var __maybeInc29 = (inc) => {
29914
30049
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -29999,7 +30134,7 @@ function SideNavLayoutContent(props) {
29999
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 }) }),
30000
30135
  /* @__PURE__ */ jsx238("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ jsx238(SideNav, { ...sideNav }) })
30001
30136
  ] });
30002
- return /* @__PURE__ */ jsx238(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs127("div", { ...mergeProps39(void 0, {
30137
+ return /* @__PURE__ */ jsx238(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs127("div", { ...mergeProps40(void 0, {
30003
30138
  [beamSideNavLayoutWidthVar]: `${railOffsetPx}px`
30004
30139
  }, {
30005
30140
  display: "df",
@@ -30023,7 +30158,7 @@ function SideNavLayoutContent(props) {
30023
30158
  }
30024
30159
 
30025
30160
  // src/layouts/CenteredLayout/CenteredLayout.tsx
30026
- import { mergeProps as mergeProps40 } from "@homebound/truss/runtime";
30161
+ import { mergeProps as mergeProps41 } from "@homebound/truss/runtime";
30027
30162
  import { jsx as jsx239 } from "react/jsx-runtime";
30028
30163
  function CenteredLayout(props) {
30029
30164
  const {
@@ -30036,7 +30171,7 @@ function CenteredLayout(props) {
30036
30171
  mdAndUp
30037
30172
  } = useBreakpoint();
30038
30173
  const rightPane = resolveWithRightPaneOptions(withRightPane);
30039
- 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, {
30040
30175
  // layoutContainer descendants (e.g. ContentHeader) read this to inset sticky horizontal chrome within the shell padding.
30041
30176
  [beamLayoutContentPaddingXVar]: mdAndUp ? pageContentPaddingXValue : smPageContentPaddingXValue,
30042
30177
  // Floor while an ancestor overlay pane is open (`0px` when closed). `md+` only — phones must not get a dummy scrollbar.
@@ -30068,7 +30203,7 @@ var centeredShellMaxPx = {
30068
30203
  };
30069
30204
 
30070
30205
  // src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
30071
- 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";
30072
30207
  import { jsx as jsx240, jsxs as jsxs128 } from "react/jsx-runtime";
30073
30208
  var __maybeInc30 = (inc) => {
30074
30209
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -30085,13 +30220,13 @@ function EnvironmentBannerLayout(props) {
30085
30220
  [beamEnvironmentBannerLayoutHeightVar]: `${bannerHeightPx}px`
30086
30221
  };
30087
30222
  const innerWidth = `var(${beamLayoutViewportWidthVar}, 100vw)`;
30088
- 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, {
30089
30224
  display: "df",
30090
30225
  flexDirection: "fdc",
30091
30226
  width: "wfc",
30092
30227
  minWidth: "mw100"
30093
30228
  }), ...tid, children: [
30094
- showBanner && environmentBanner && /* @__PURE__ */ jsx240("div", { ...mergeProps41(void 0, {
30229
+ showBanner && environmentBanner && /* @__PURE__ */ jsx240("div", { ...mergeProps42(void 0, {
30095
30230
  height: environmentBannerSizePx
30096
30231
  }, {
30097
30232
  flexShrink: "fs0",
@@ -30127,7 +30262,8 @@ function FormSectionChild(props) {
30127
30262
  description,
30128
30263
  actions,
30129
30264
  fields,
30130
- orderField
30265
+ orderField,
30266
+ tag
30131
30267
  } = props;
30132
30268
  const tid = useTestIds(props, "formSectionChild");
30133
30269
  const itemRef = useRef71(null);
@@ -30158,7 +30294,7 @@ function FormSectionChild(props) {
30158
30294
  borderStyle: "lot_bsn",
30159
30295
  borderWidth: "lot_bw_0"
30160
30296
  }), ...tid, children: [
30161
- /* @__PURE__ */ jsx241(ContentHeader, { ...tid.header, title, description, actions, level: 4, startAdornment: isDraggable ? /* @__PURE__ */ jsx241(DnDGridItemHandle, { dragHandleProps, icon: "drag", compact: true }) : void 0 }),
30297
+ /* @__PURE__ */ jsx241(ContentHeader, { ...tid.header, title, description, actions, level: 4, rightSlotLead: tag && /* @__PURE__ */ jsx241(Tag, { ...tag, ...tid.tag }), startAdornment: isDraggable ? /* @__PURE__ */ jsx241(DnDGridItemHandle, { dragHandleProps, icon: "drag", compact: true }) : void 0 }),
30162
30298
  fields
30163
30299
  ] });
30164
30300
  }
@@ -30409,7 +30545,7 @@ function PageBanner(props) {
30409
30545
 
30410
30546
  // src/layouts/NavbarLayout/NavbarLayout.tsx
30411
30547
  import { useMemo as useMemo59, useRef as useRef73 } from "react";
30412
- import { mergeProps as mergeProps42, maybeCssVar as maybeCssVar69 } from "@homebound/truss/runtime";
30548
+ import { mergeProps as mergeProps43, maybeCssVar as maybeCssVar69 } from "@homebound/truss/runtime";
30413
30549
 
30414
30550
  // src/layouts/useAutoHideOnScroll.ts
30415
30551
  import { useLayoutEffect as useLayoutEffect15, useRef as useRef72, useState as useState63 } from "react";
@@ -30572,18 +30708,18 @@ function NavbarLayout(props) {
30572
30708
  top: autoHideState === "hidden" ? `calc(${bannerTop} - ${navHeight}px)` : bannerTop
30573
30709
  };
30574
30710
  const navbarEl = useMemo59(() => /* @__PURE__ */ jsx246(Navbar, { ...navbar }), [navbar]);
30575
- 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, {
30576
30712
  display: "df",
30577
30713
  flexDirection: "fdc",
30578
30714
  width: "wfc",
30579
30715
  minWidth: "mw100"
30580
30716
  }), ...tid, children: [
30581
- /* @__PURE__ */ jsx246("div", { ref: spacerRef, ...mergeProps42(void 0, {
30717
+ /* @__PURE__ */ jsx246("div", { ref: spacerRef, ...mergeProps43(void 0, {
30582
30718
  height: navHeight
30583
30719
  }, {
30584
30720
  flexShrink: "fs0",
30585
30721
  width: "w100"
30586
- }), 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 }) }),
30587
30723
  /* @__PURE__ */ jsx246("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
30588
30724
  ] }) }) }) });
30589
30725
  }
@@ -30764,7 +30900,7 @@ function useBannerAndNavbarHeight() {
30764
30900
  }
30765
30901
 
30766
30902
  // src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
30767
- import { mergeProps as mergeProps43, maybeCssVar as maybeCssVar71 } from "@homebound/truss/runtime";
30903
+ import { mergeProps as mergeProps44, maybeCssVar as maybeCssVar71 } from "@homebound/truss/runtime";
30768
30904
  import { jsx as jsx251, jsxs as jsxs135 } from "react/jsx-runtime";
30769
30905
  var __maybeInc35 = (inc) => {
30770
30906
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -30819,17 +30955,17 @@ function PageHeaderLayout(props) {
30819
30955
  top: autoHideState === "hidden" ? `calc(${outerTop} - ${headerHeight}px)` : outerTop
30820
30956
  };
30821
30957
  const pageHeaderEl = useMemo60(() => /* @__PURE__ */ jsx251(PageHeader2, { ...pageHeader }), [pageHeader]);
30822
- 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, {
30823
30959
  display: "df",
30824
30960
  flexDirection: "fdc",
30825
30961
  width: "w100"
30826
30962
  }), ...tid, children: [
30827
- /* @__PURE__ */ jsx251("div", { ref: spacerRef, ...mergeProps43(void 0, {
30963
+ /* @__PURE__ */ jsx251("div", { ref: spacerRef, ...mergeProps44(void 0, {
30828
30964
  height: headerHeight
30829
30965
  }, {
30830
30966
  flexShrink: "fs0",
30831
30967
  width: "w100"
30832
- }), 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 }) }),
30833
30969
  bannerSlot,
30834
30970
  /* @__PURE__ */ jsx251("div", { className: "df fdc fg1 mh0 w100 n_has_data_self_top_spaced_first_child_pt3", ...tid.body, children })
30835
30971
  ] }) });
@@ -31006,7 +31142,7 @@ function WorkflowActions(props) {
31006
31142
  }
31007
31143
 
31008
31144
  // src/layouts/Workflow/WorkflowPageLayout.tsx
31009
- 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";
31010
31146
  import { jsx as jsx256, jsxs as jsxs137 } from "react/jsx-runtime";
31011
31147
  var __maybeInc37 = (inc) => {
31012
31148
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -31072,12 +31208,12 @@ function WorkflowPageLayout(props) {
31072
31208
  };
31073
31209
  }, [showFooter]);
31074
31210
  return /* @__PURE__ */ jsxs137(DocumentScrollLayoutProvider, { children: [
31075
- /* @__PURE__ */ jsxs137("div", { ...mergeProps44(void 0, style, {
31211
+ /* @__PURE__ */ jsxs137("div", { ...mergeProps45(void 0, style, {
31076
31212
  display: "df",
31077
31213
  flexDirection: "fdc",
31078
31214
  width: "w100"
31079
31215
  }), ...tid, children: [
31080
- /* @__PURE__ */ jsx256("div", { ...mergeProps44(void 0, {
31216
+ /* @__PURE__ */ jsx256("div", { ...mergeProps45(void 0, {
31081
31217
  height: headerHeight
31082
31218
  }, {
31083
31219
  flexShrink: "fs0",
@@ -31541,7 +31677,7 @@ function Autocomplete(props) {
31541
31677
 
31542
31678
  // src/inputs/ToggleButton.tsx
31543
31679
  import { useRef as useRef79, useState as useState68 } from "react";
31544
- 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";
31545
31681
  import { useToggleState as useToggleState2 } from "react-stately";
31546
31682
  import { trussProps as trussProps150 } from "@homebound/truss/runtime";
31547
31683
  import { jsx as jsx264, jsxs as jsxs141 } from "react/jsx-runtime";
@@ -31580,7 +31716,7 @@ function ToggleButton(props) {
31580
31716
  const {
31581
31717
  isPressed: isPressedFromEvents,
31582
31718
  pressProps
31583
- } = usePress2({
31719
+ } = usePress3({
31584
31720
  ref: labelRef,
31585
31721
  isDisabled
31586
31722
  });
@@ -31651,7 +31787,7 @@ function ToggleButton(props) {
31651
31787
  children: /* @__PURE__ */ jsxs141("label", { ...labelAttrs, children: [
31652
31788
  icon && /* @__PURE__ */ jsx264(Icon, { icon }),
31653
31789
  label,
31654
- /* @__PURE__ */ jsx264(VisuallyHidden10, { children: /* @__PURE__ */ jsx264("input", { ref, ...inputProps, ...tid.value }) })
31790
+ /* @__PURE__ */ jsx264(VisuallyHidden11, { children: /* @__PURE__ */ jsx264("input", { ref, ...inputProps, ...tid.value }) })
31655
31791
  ] })
31656
31792
  });
31657
31793
  }