@homebound/beam 4.14.8 → 4.15.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
@@ -13609,12 +13609,14 @@ import { trussProps as trussProps32 } from "@homebound/truss/runtime";
13609
13609
  import { jsx as jsx51, jsxs as jsxs32 } from "react/jsx-runtime";
13610
13610
  function GridTableEmptyState(props) {
13611
13611
  const {
13612
+ illustration,
13612
13613
  title = "No results found",
13613
13614
  description,
13614
13615
  actions
13615
13616
  } = props;
13616
13617
  const tid = useTestIds(props, "gridTableEmptyState");
13617
13618
  return /* @__PURE__ */ jsxs32("div", { className: "df fdc aic pt_12 pb_12 g_2", ...tid, children: [
13619
+ illustration && /* @__PURE__ */ jsx51("div", { ...tid.illustration, children: illustration }),
13618
13620
  /* @__PURE__ */ jsx51("div", { className: "fw6 fz_20px lh_28px", ...tid.title, children: title }),
13619
13621
  description && /* @__PURE__ */ jsx51("div", { ...trussProps32({
13620
13622
  fontWeight: "fw4",
@@ -24964,6 +24966,7 @@ function composeEmptyState(tableProps, layoutState, layoutEmptyFallback, clearFi
24964
24966
  const filteringActive = layoutState?.filteringActive ?? false;
24965
24967
  const filterEmptyDescription = "Try adjusting your search or filters.";
24966
24968
  return {
24969
+ illustration: tableEmptyState?.illustration,
24967
24970
  title: tableEmptyState?.title ?? tableEmptyFallback ?? layoutEmptyFallback,
24968
24971
  description: tableEmptyState?.description ?? (filteringActive ? filterEmptyDescription : void 0),
24969
24972
  actions: tableEmptyState?.actions ?? (filteringActive && layoutState ? /* @__PURE__ */ jsx178(Button, { label: "Clear Filters", variant: "tertiary", onClick: clearFilters, "data-testid": "clearFilters" }) : void 0)
@@ -28787,16 +28790,46 @@ function useToast() {
28787
28790
  return { showToast, clear };
28788
28791
  }
28789
28792
 
28790
- // src/layouts/SideNavLayout/SideNavLayout.tsx
28791
- import { trussProps as trussProps129, mergeProps as mergeProps38, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
28793
+ // src/illustrations/DocumentUploadIllustration.tsx
28794
+ import { trussProps as trussProps129 } from "@homebound/truss/runtime";
28792
28795
  import { jsx as jsx225, jsxs as jsxs119 } from "react/jsx-runtime";
28796
+ function DocumentUploadIllustration(props) {
28797
+ const {
28798
+ width: width2 = 338
28799
+ } = props;
28800
+ const blob = "rgba(247, 245, 245, 1)" /* Gray100 */;
28801
+ const line = "rgba(141, 141, 141, 1)" /* Gray600 */;
28802
+ return /* @__PURE__ */ jsxs119("svg", { viewBox: "0 0 338.25 270.6", xmlns: "http://www.w3.org/2000/svg", fill: "none", "aria-hidden": true, role: "presentation", ...trussProps129({
28803
+ width: ["w_var", {
28804
+ "--width": `${width2}px`
28805
+ }],
28806
+ maxWidth: "maxw100",
28807
+ height: "ha"
28808
+ }), children: [
28809
+ /* @__PURE__ */ jsx225("path", { d: "M256.146 107.294C256.146 107.294 267.377 64.7481 227.738 51.0067C188.1 37.2653 159.572 58.7309 145.026 75.3184C129.963 92.4952 127.849 132.662 96.9308 140.326C66.0126 147.989 59.4329 170.861 62.313 186.571C65.2199 202.426 72.3548 210.618 107.501 210.618H231.174C231.174 210.618 270.548 216.961 278.476 197.406C286.404 177.85 276.362 168.337 259.978 154.596C243.594 140.854 243.594 131.077 249.143 122.356C254.693 113.636 256.146 107.294 256.146 107.294Z", fill: blob }),
28810
+ /* @__PURE__ */ jsx225("path", { d: "M198.269 73.0502H132.422C125.722 73.0502 120.291 80.558 120.291 89.8194V194.831C120.291 204.092 125.722 211.6 132.422 211.6H211.249C217.949 211.6 223.38 204.092 223.38 194.831V100.978L198.269 73.0502Z", fill: "rgba(255, 255, 255, 1)" /* White */ }),
28811
+ /* @__PURE__ */ jsx225("path", { d: "M201.273 78.2404C200.767 78.2404 200.262 78.0337 199.897 77.6275L197.444 74.8999H193.776C192.754 74.8999 191.926 74.0718 191.926 73.0501C191.926 72.0284 192.754 71.2003 193.776 71.2003H198.268C198.793 71.2003 199.293 71.4232 199.644 71.8132L202.648 75.1537C203.331 75.9135 203.269 77.083 202.509 77.7661C202.156 78.0839 201.714 78.2404 201.273 78.2404Z", fill: line }),
28812
+ /* @__PURE__ */ jsx225("path", { d: "M211.249 213.45H211.111C210.09 213.45 209.261 212.622 209.261 211.6C209.261 210.578 210.09 209.75 211.111 209.75H211.249C214.146 209.75 216.274 208.026 217.55 206.579C218.225 205.813 219.394 205.739 220.161 206.415C220.927 207.091 221.001 208.26 220.325 209.026C217.809 211.879 214.586 213.45 211.249 213.45ZM203.446 213.45H194.459C193.437 213.45 192.609 212.622 192.609 211.6C192.609 210.578 193.437 209.75 194.459 209.75H203.446C204.467 209.75 205.296 210.578 205.296 211.6C205.296 212.622 204.467 213.45 203.446 213.45ZM186.793 213.45H177.806C176.784 213.45 175.956 212.622 175.956 211.6C175.956 210.578 176.784 209.75 177.806 209.75H186.793C187.815 209.75 188.643 210.578 188.643 211.6C188.643 212.622 187.815 213.45 186.793 213.45ZM170.14 213.45H161.153C160.131 213.45 159.303 212.622 159.303 211.6C159.303 210.578 160.131 209.75 161.153 209.75H170.14C171.162 209.75 171.99 210.578 171.99 211.6C171.99 212.622 171.162 213.45 170.14 213.45ZM153.488 213.45H144.5C143.479 213.45 142.651 212.622 142.651 211.6C142.651 210.578 143.479 209.75 144.5 209.75H153.488C154.509 209.75 155.337 210.578 155.337 211.6C155.337 212.622 154.509 213.45 153.488 213.45ZM136.835 213.45H132.422C130.603 213.45 128.835 212.997 127.167 212.104C126.267 211.621 125.928 210.5 126.41 209.599C126.893 208.699 128.014 208.359 128.914 208.842C130.039 209.445 131.219 209.75 132.422 209.75H136.835C137.857 209.75 138.685 210.578 138.685 211.6C138.685 212.622 137.857 213.45 136.835 213.45ZM122.794 206.881C122.144 206.881 121.513 206.538 121.175 205.929C119.662 203.203 118.738 199.971 118.502 196.584C118.431 195.565 119.2 194.681 120.219 194.61C121.236 194.544 122.122 195.308 122.193 196.328C122.391 199.178 123.158 201.877 124.41 204.133C124.905 205.027 124.583 206.153 123.69 206.648C123.406 206.806 123.098 206.881 122.794 206.881ZM222.508 202.938C222.337 202.938 222.163 202.914 221.99 202.864C221.009 202.578 220.445 201.552 220.731 200.571C221.261 198.75 221.53 196.819 221.53 194.831V192.183C221.53 191.161 222.358 190.333 223.38 190.333C224.402 190.333 225.23 191.161 225.23 192.183V194.831C225.229 197.169 224.911 199.448 224.283 201.605C224.048 202.413 223.309 202.938 222.508 202.938ZM120.291 190.641C119.27 190.641 118.441 189.813 118.441 188.792V179.804C118.441 178.783 119.27 177.955 120.291 177.955C121.313 177.955 122.141 178.783 122.141 179.804V188.792C122.141 189.813 121.313 190.641 120.291 190.641ZM223.38 186.367C222.358 186.367 221.53 185.539 221.53 184.517V175.53C221.53 174.508 222.358 173.68 223.38 173.68C224.402 173.68 225.23 174.508 225.23 175.53V184.517C225.23 185.539 224.402 186.367 223.38 186.367ZM120.291 173.989C119.27 173.989 118.441 173.161 118.441 172.139V163.152C118.441 162.13 119.27 161.302 120.291 161.302C121.313 161.302 122.141 162.13 122.141 163.152V172.139C122.141 173.161 121.313 173.989 120.291 173.989ZM223.38 169.714C222.358 169.714 221.53 168.886 221.53 167.864V158.877C221.53 157.855 222.358 157.027 223.38 157.027C224.402 157.027 225.23 157.855 225.23 158.877V167.864C225.23 168.886 224.402 169.714 223.38 169.714ZM120.291 157.336C119.27 157.336 118.441 156.508 118.441 155.486V146.499C118.441 145.477 119.27 144.649 120.291 144.649C121.313 144.649 122.141 145.477 122.141 146.499V155.486C122.141 156.508 121.313 157.336 120.291 157.336ZM223.38 153.061C222.358 153.061 221.53 152.233 221.53 151.211V142.224C221.53 141.203 222.358 140.375 223.38 140.375C224.402 140.375 225.23 141.203 225.23 142.224V151.211C225.23 152.233 224.402 153.061 223.38 153.061ZM120.291 140.683C119.27 140.683 118.441 139.855 118.441 138.833V129.846C118.441 128.825 119.27 127.997 120.291 127.997C121.313 127.997 122.141 128.825 122.141 129.846V138.833C122.141 139.855 121.313 140.683 120.291 140.683ZM223.38 136.409C222.358 136.409 221.53 135.581 221.53 134.559V125.572C221.53 124.55 222.358 123.722 223.38 123.722C224.402 123.722 225.23 124.55 225.23 125.572V134.559C225.23 135.581 224.402 136.409 223.38 136.409ZM120.291 124.031C119.27 124.031 118.441 123.202 118.441 122.181V113.194C118.441 112.172 119.27 111.344 120.291 111.344C121.313 111.344 122.141 112.172 122.141 113.194V122.181C122.141 123.202 121.313 124.031 120.291 124.031ZM223.38 119.756C222.358 119.756 221.53 118.928 221.53 117.906V108.919C221.53 107.897 222.358 107.069 223.38 107.069C224.402 107.069 225.23 107.897 225.23 108.919V117.906C225.23 118.928 224.402 119.756 223.38 119.756ZM120.291 107.378C119.27 107.378 118.441 106.55 118.441 105.528V96.5409C118.441 95.5193 119.27 94.6911 120.291 94.6911C121.313 94.6911 122.141 95.5193 122.141 96.5409V105.528C122.141 106.55 121.313 107.378 120.291 107.378ZM223.38 103.103C222.537 103.103 221.825 102.539 221.603 101.768L216.18 95.7367C215.497 94.9771 215.559 93.8075 216.318 93.1244C217.078 92.4415 218.248 92.5033 218.931 93.2631L224.755 99.7411C225.061 100.081 225.23 100.521 225.23 100.978V101.253C225.23 102.275 224.402 103.103 223.38 103.103ZM120.312 90.7253C120.287 90.7253 120.262 90.7248 120.236 90.7239C119.215 90.683 118.421 89.8222 118.462 88.8015C118.597 85.4287 119.413 82.1733 120.823 79.3874C121.284 78.4757 122.396 78.1104 123.308 78.5715C124.22 79.0327 124.585 80.1455 124.124 81.0571C122.952 83.3736 122.273 86.1027 122.159 88.9496C122.119 89.9452 121.299 90.7253 120.312 90.7253ZM212.43 90.6496C211.924 90.6496 211.42 90.4429 211.054 90.0366L205.045 83.3536C204.362 82.594 204.425 81.4244 205.184 80.7413C205.944 80.0585 207.113 80.12 207.796 80.88L213.805 87.563C214.489 88.3226 214.426 89.4923 213.667 90.1753C213.313 90.4931 212.871 90.6496 212.43 90.6496ZM127.452 76.3686C126.834 76.3686 126.23 76.0589 125.88 75.4953C125.34 74.6277 125.606 73.487 126.474 72.9477C128.338 71.7883 130.34 71.2004 132.422 71.2004H136.152C137.174 71.2004 138.002 72.0286 138.002 73.0502C138.002 74.0719 137.174 74.9 136.152 74.9H132.422C131.041 74.9 129.697 75.3002 128.427 76.0893C128.123 76.2784 127.786 76.3686 127.452 76.3686ZM186.111 74.9H177.123C176.102 74.9 175.274 74.0719 175.274 73.0502C175.274 72.0286 176.102 71.2004 177.123 71.2004H186.111C187.132 71.2004 187.96 72.0286 187.96 73.0502C187.96 74.0719 187.132 74.9 186.111 74.9ZM169.458 74.9H160.471C159.449 74.9 158.621 74.0719 158.621 73.0502C158.621 72.0286 159.449 71.2004 160.471 71.2004H169.458C170.48 71.2004 171.308 72.0286 171.308 73.0502C171.308 74.0719 170.48 74.9 169.458 74.9ZM152.805 74.9H143.818C142.796 74.9 141.968 74.0719 141.968 73.0502C141.968 72.0286 142.796 71.2004 143.818 71.2004H152.805C153.827 71.2004 154.655 72.0286 154.655 73.0502C154.655 74.0719 153.827 74.9 152.805 74.9Z", fill: line }),
28813
+ /* @__PURE__ */ jsx225("path", { d: "M192.785 83.3351V99.2582C192.785 102.885 195.726 105.826 199.353 105.826H215.482", fill: "rgba(255, 255, 255, 1)" /* White */ }),
28814
+ /* @__PURE__ */ jsx225("path", { d: "M215.39 107.676H206.406C205.384 107.676 204.556 106.848 204.556 105.826C204.556 104.804 205.384 103.976 206.406 103.976H215.39C216.412 103.976 217.24 104.804 217.24 105.826C217.24 106.848 216.412 107.676 215.39 107.676ZM198.745 107.648C198.689 107.648 198.632 107.645 198.574 107.64C194.611 107.275 191.419 104.139 190.986 100.183C190.874 99.1675 191.608 98.2541 192.623 98.1428C193.636 98.0331 194.552 98.7646 194.663 99.7801C194.906 101.996 196.693 103.752 198.913 103.956C199.93 104.049 200.679 104.95 200.585 105.967C200.497 106.927 199.691 107.648 198.745 107.648ZM192.785 94.1696C191.764 94.1696 190.936 93.3415 190.936 92.3198V83.335C190.936 82.3134 191.764 81.4852 192.785 81.4852C193.807 81.4852 194.635 82.3134 194.635 83.335V92.3198C194.635 93.3415 193.807 94.1696 192.785 94.1696Z", fill: line }),
28815
+ /* @__PURE__ */ jsx225("path", { d: "M189.911 178.207H154.776C153.609 178.207 152.662 177.261 152.662 176.093C152.662 174.926 153.609 173.979 154.776 173.979H189.911C191.078 173.979 192.025 174.926 192.025 176.093C192.025 177.261 191.078 178.207 189.911 178.207Z", fill: line }),
28816
+ /* @__PURE__ */ jsx225("path", { d: "M171.711 166.32C170.544 166.32 169.597 165.373 169.597 164.206V124.131C169.597 122.963 170.544 122.017 171.711 122.017C172.878 122.017 173.825 122.963 173.825 124.131V164.206C173.825 165.373 172.878 166.32 171.711 166.32Z", fill: line }),
28817
+ /* @__PURE__ */ jsx225("path", { d: "M191.126 144.439C190.608 144.439 190.089 144.25 189.681 143.868L171.72 127.037L154 143.858C153.154 144.662 151.815 144.628 151.012 143.781C150.208 142.934 150.243 141.596 151.089 140.792L170.256 122.597C171.068 121.827 172.34 121.823 173.157 122.588L192.572 140.783C193.424 141.581 193.467 142.919 192.669 143.771C192.253 144.215 191.69 144.439 191.126 144.439Z", fill: line }),
28818
+ /* @__PURE__ */ jsx225("path", { d: "M264.954 212.204H230.865C229.989 212.204 229.279 211.494 229.279 210.618C229.279 209.743 229.989 209.033 230.865 209.033H264.954C265.83 209.033 266.54 209.743 266.54 210.618C266.54 211.494 265.83 212.204 264.954 212.204Z", fill: line }),
28819
+ /* @__PURE__ */ jsx225("path", { d: "M112.806 212.204H80.0384C79.1628 212.204 78.4529 211.494 78.4529 210.618C78.4529 209.743 79.1628 209.033 80.0384 209.033H112.806C113.682 209.033 114.392 209.743 114.392 210.618C114.392 211.494 113.682 212.204 112.806 212.204Z", fill: line })
28820
+ ] });
28821
+ }
28822
+
28823
+ // src/layouts/SideNavLayout/SideNavLayout.tsx
28824
+ import { trussProps as trussProps130, mergeProps as mergeProps38, maybeCssVar as maybeCssVar62 } from "@homebound/truss/runtime";
28825
+ import { jsx as jsx226, jsxs as jsxs120 } from "react/jsx-runtime";
28793
28826
  var __maybeInc29 = (inc) => {
28794
28827
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
28795
28828
  };
28796
28829
  function SideNavLayout(props) {
28797
28830
  const hasProvider = useHasSideNavLayoutProvider();
28798
- if (hasProvider) return /* @__PURE__ */ jsx225(SideNavLayoutContent, { ...props });
28799
- return /* @__PURE__ */ jsx225(SideNavLayoutProvider, { children: /* @__PURE__ */ jsx225(SideNavLayoutContent, { ...props }) });
28831
+ if (hasProvider) return /* @__PURE__ */ jsx226(SideNavLayoutContent, { ...props });
28832
+ return /* @__PURE__ */ jsx226(SideNavLayoutProvider, { children: /* @__PURE__ */ jsx226(SideNavLayoutContent, { ...props }) });
28800
28833
  }
28801
28834
  function SideNavLayoutContent(props) {
28802
28835
  const {
@@ -28819,7 +28852,7 @@ function SideNavLayoutContent(props) {
28819
28852
  const railOffsetPx = !showRail ? 0 : !bp.mdAndUp || collapsed ? railCollapsedWidthPx : railWidthPx;
28820
28853
  const navTop = bannerAndNavbarChromeTop();
28821
28854
  const railViewportHeight = `calc(var(${beamLayoutViewportHeightVar}, 100vh) - var(${beamEnvironmentBannerLayoutHeightVar}, 0px) - var(${beamNavbarLayoutHeightVar}, 0px))`;
28822
- const rail = showRail && /* @__PURE__ */ jsxs119("div", { ...trussProps129({
28855
+ const rail = showRail && /* @__PURE__ */ jsxs120("div", { ...trussProps130({
28823
28856
  ...{
28824
28857
  display: "df",
28825
28858
  flexDirection: "fdc",
@@ -28876,18 +28909,18 @@ function SideNavLayoutContent(props) {
28876
28909
  }
28877
28910
  }
28878
28911
  }), ...tid.sideNav, children: [
28879
- showCollapseToggle && /* @__PURE__ */ jsx225("div", { className: "absolute r_2 top2 z2", children: /* @__PURE__ */ jsx225(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
28880
- /* @__PURE__ */ jsx225("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ jsx225(SideNav, { ...sideNav }) })
28912
+ showCollapseToggle && /* @__PURE__ */ jsx226("div", { className: "absolute r_2 top2 z2", children: /* @__PURE__ */ jsx226(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
28913
+ /* @__PURE__ */ jsx226("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ jsx226(SideNav, { ...sideNav }) })
28881
28914
  ] });
28882
- return /* @__PURE__ */ jsx225(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs119("div", { ...mergeProps38(void 0, {
28915
+ return /* @__PURE__ */ jsx226(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs120("div", { ...mergeProps38(void 0, {
28883
28916
  [beamSideNavLayoutWidthVar]: `${railOffsetPx}px`
28884
28917
  }, {
28885
28918
  display: "df",
28886
28919
  flexDirection: "fdr",
28887
28920
  width: "w100"
28888
28921
  }), ...tid, children: [
28889
- contrastRail ? /* @__PURE__ */ jsx225(ContrastScope, { children: rail }) : rail,
28890
- /* @__PURE__ */ jsx225("div", { ...trussProps129({
28922
+ contrastRail ? /* @__PURE__ */ jsx226(ContrastScope, { children: rail }) : rail,
28923
+ /* @__PURE__ */ jsx226("div", { ...trussProps130({
28891
28924
  display: "df",
28892
28925
  flexDirection: "fdc",
28893
28926
  flexGrow: "fg1",
@@ -28904,7 +28937,7 @@ function SideNavLayoutContent(props) {
28904
28937
 
28905
28938
  // src/layouts/CenteredLayout/CenteredLayout.tsx
28906
28939
  import { mergeProps as mergeProps39 } from "@homebound/truss/runtime";
28907
- import { jsx as jsx226 } from "react/jsx-runtime";
28940
+ import { jsx as jsx227 } from "react/jsx-runtime";
28908
28941
  function CenteredLayout(props) {
28909
28942
  const {
28910
28943
  size,
@@ -28916,7 +28949,7 @@ function CenteredLayout(props) {
28916
28949
  mdAndUp
28917
28950
  } = useBreakpoint();
28918
28951
  const rightPane = resolveWithRightPaneOptions(withRightPane);
28919
- const shell = /* @__PURE__ */ jsx226(ContentInsetProvider, { children: /* @__PURE__ */ jsx226("div", { ...mergeProps39(void 0, {
28952
+ const shell = /* @__PURE__ */ jsx227(ContentInsetProvider, { children: /* @__PURE__ */ jsx227("div", { ...mergeProps39(void 0, {
28920
28953
  // layoutContainer descendants (e.g. ContentHeader) read this to inset sticky horizontal chrome within the shell padding.
28921
28954
  [beamLayoutContentPaddingXVar]: mdAndUp ? pageContentPaddingXValue : smPageContentPaddingXValue,
28922
28955
  // Floor while an ancestor overlay pane is open (`0px` when closed). `md+` only — phones must not get a dummy scrollbar.
@@ -28935,7 +28968,7 @@ function CenteredLayout(props) {
28935
28968
  ...pageContentPaddingX
28936
28969
  }), ...tid, children }) });
28937
28970
  if (!rightPane) return shell;
28938
- return /* @__PURE__ */ jsx226(DocumentScrollOverlayRightPaneLayout, { paneWidth: rightPane.width, children: shell });
28971
+ return /* @__PURE__ */ jsx227(DocumentScrollOverlayRightPaneLayout, { paneWidth: rightPane.width, children: shell });
28939
28972
  }
28940
28973
  var centeredContentMaxPx = {
28941
28974
  sm: 720,
@@ -28948,8 +28981,8 @@ var centeredShellMaxPx = {
28948
28981
  };
28949
28982
 
28950
28983
  // src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
28951
- import { trussProps as trussProps130, mergeProps as mergeProps40, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
28952
- import { jsx as jsx227, jsxs as jsxs120 } from "react/jsx-runtime";
28984
+ import { trussProps as trussProps131, mergeProps as mergeProps40, maybeCssVar as maybeCssVar63 } from "@homebound/truss/runtime";
28985
+ import { jsx as jsx228, jsxs as jsxs121 } from "react/jsx-runtime";
28953
28986
  var __maybeInc30 = (inc) => {
28954
28987
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
28955
28988
  };
@@ -28965,18 +28998,18 @@ function EnvironmentBannerLayout(props) {
28965
28998
  [beamEnvironmentBannerLayoutHeightVar]: `${bannerHeightPx}px`
28966
28999
  };
28967
29000
  const innerWidth = `var(${beamLayoutViewportWidthVar}, 100vw)`;
28968
- return /* @__PURE__ */ jsx227(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx227(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ jsxs120("div", { ...mergeProps40(void 0, style, {
29001
+ return /* @__PURE__ */ jsx228(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx228(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ jsxs121("div", { ...mergeProps40(void 0, style, {
28969
29002
  display: "df",
28970
29003
  flexDirection: "fdc",
28971
29004
  width: "wfc",
28972
29005
  minWidth: "mw100"
28973
29006
  }), ...tid, children: [
28974
- showBanner && environmentBanner && /* @__PURE__ */ jsx227("div", { ...mergeProps40(void 0, {
29007
+ showBanner && environmentBanner && /* @__PURE__ */ jsx228("div", { ...mergeProps40(void 0, {
28975
29008
  height: environmentBannerSizePx
28976
29009
  }, {
28977
29010
  flexShrink: "fs0",
28978
29011
  width: "w100"
28979
- }), children: /* @__PURE__ */ jsx227("div", { ...trussProps130({
29012
+ }), children: /* @__PURE__ */ jsx228("div", { ...trussProps131({
28980
29013
  position: "fixed",
28981
29014
  top: "top0",
28982
29015
  left: "l_0",
@@ -28986,21 +29019,21 @@ function EnvironmentBannerLayout(props) {
28986
29019
  width: ["w_var", {
28987
29020
  "--width": maybeCssVar63(__maybeInc30(innerWidth))
28988
29021
  }]
28989
- }), ...tid.bannerSticky, children: /* @__PURE__ */ jsx227(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
29022
+ }), ...tid.bannerSticky, children: /* @__PURE__ */ jsx228(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
28990
29023
  children
28991
29024
  ] }) }) });
28992
29025
  }
28993
29026
 
28994
29027
  // src/layouts/FormSectionLayout/FormSectionLayout.tsx
28995
- import { trussProps as trussProps134, maybeCssVar as maybeCssVar66 } from "@homebound/truss/runtime";
29028
+ import { trussProps as trussProps135, maybeCssVar as maybeCssVar66 } from "@homebound/truss/runtime";
28996
29029
 
28997
29030
  // src/forms/FormSection/FormSection.tsx
28998
- import { trussProps as trussProps132, maybeCssVar as maybeCssVar64 } from "@homebound/truss/runtime";
29031
+ import { trussProps as trussProps133, maybeCssVar as maybeCssVar64 } from "@homebound/truss/runtime";
28999
29032
 
29000
29033
  // src/forms/FormSection/FormSectionChild.tsx
29001
29034
  import { useRef as useRef70 } from "react";
29002
- import { trussProps as trussProps131 } from "@homebound/truss/runtime";
29003
- import { jsx as jsx228, jsxs as jsxs121 } from "react/jsx-runtime";
29035
+ import { trussProps as trussProps132 } from "@homebound/truss/runtime";
29036
+ import { jsx as jsx229, jsxs as jsxs122 } from "react/jsx-runtime";
29004
29037
  function FormSectionChild(props) {
29005
29038
  const {
29006
29039
  title,
@@ -29019,10 +29052,10 @@ function FormSectionChild(props) {
29019
29052
  id: props.id ?? title,
29020
29053
  itemRef
29021
29054
  });
29022
- return /* @__PURE__ */ jsxs121("div", { ...isDraggable ? {
29055
+ return /* @__PURE__ */ jsxs122("div", { ...isDraggable ? {
29023
29056
  ...dragItemProps,
29024
29057
  ref: itemRef
29025
- } : {}, ...trussProps131({
29058
+ } : {}, ...trussProps132({
29026
29059
  display: "df",
29027
29060
  flexDirection: "fdc",
29028
29061
  gap: "g_2",
@@ -29038,13 +29071,13 @@ function FormSectionChild(props) {
29038
29071
  borderStyle: "lot_bsn",
29039
29072
  borderWidth: "lot_bw_0"
29040
29073
  }), ...tid, children: [
29041
- /* @__PURE__ */ jsx228(ContentHeader, { ...tid.header, title, description, actions, level: 4, startAdornment: isDraggable ? /* @__PURE__ */ jsx228(DnDGridItemHandle, { dragHandleProps, icon: "drag", compact: true }) : void 0 }),
29074
+ /* @__PURE__ */ jsx229(ContentHeader, { ...tid.header, title, description, actions, level: 4, startAdornment: isDraggable ? /* @__PURE__ */ jsx229(DnDGridItemHandle, { dragHandleProps, icon: "drag", compact: true }) : void 0 }),
29042
29075
  fields
29043
29076
  ] });
29044
29077
  }
29045
29078
 
29046
29079
  // src/forms/FormSection/FormSection.tsx
29047
- import { jsx as jsx229, jsxs as jsxs122 } from "react/jsx-runtime";
29080
+ import { jsx as jsx230, jsxs as jsxs123 } from "react/jsx-runtime";
29048
29081
  function FormSection(props) {
29049
29082
  const {
29050
29083
  title,
@@ -29054,7 +29087,7 @@ function FormSection(props) {
29054
29087
  childSections
29055
29088
  } = props;
29056
29089
  const tid = useTestIds(props, "formSection");
29057
- return /* @__PURE__ */ jsxs122("div", { id: defaultTestId(title), ...trussProps132({
29090
+ return /* @__PURE__ */ jsxs123("div", { id: defaultTestId(title), ...trussProps133({
29058
29091
  display: "df",
29059
29092
  flexDirection: "fdc",
29060
29093
  gap: "g_2",
@@ -29062,9 +29095,9 @@ function FormSection(props) {
29062
29095
  "--scrollMarginTop": maybeCssVar64(stickyNavAndHeaderOffset())
29063
29096
  }]
29064
29097
  }), ...tid.section, children: [
29065
- /* @__PURE__ */ jsx229(ContentHeader, { ...tid, title, description, actions, level: 3 }),
29098
+ /* @__PURE__ */ jsx230(ContentHeader, { ...tid, title, description, actions, level: 3 }),
29066
29099
  fields,
29067
- childSections && (isReorderable(childSections) ? /* @__PURE__ */ jsx229(DraggableChildren, { childSections, ...tid.childSection }) : /* @__PURE__ */ jsx229("div", { className: "df fdc g_3", children: childSections.map((child) => /* @__PURE__ */ jsx229(FormSectionChild, { ...child, ...tid.childSection }, child.id ?? child.title)) }))
29100
+ childSections && (isReorderable(childSections) ? /* @__PURE__ */ jsx230(DraggableChildren, { childSections, ...tid.childSection }) : /* @__PURE__ */ jsx230("div", { className: "df fdc g_3", children: childSections.map((child) => /* @__PURE__ */ jsx230(FormSectionChild, { ...child, ...tid.childSection }, child.id ?? child.title)) }))
29068
29101
  ] });
29069
29102
  }
29070
29103
  function isReorderable(childSections) {
@@ -29087,18 +29120,18 @@ function DraggableChildren(props) {
29087
29120
  }
29088
29121
  });
29089
29122
  };
29090
- return /* @__PURE__ */ jsx229(DnDGrid, { onReorder: handleReorder, lockAxis: "y", gridStyles: {
29123
+ return /* @__PURE__ */ jsx230(DnDGrid, { onReorder: handleReorder, lockAxis: "y", gridStyles: {
29091
29124
  gridTemplateColumns: "gtc_minmax_0_1fr",
29092
29125
  gap: "g_3"
29093
- }, children: sorted.map((child) => /* @__PURE__ */ jsx229(FormSectionChild, { ...child, ...tid }, child.id)) });
29126
+ }, children: sorted.map((child) => /* @__PURE__ */ jsx230(FormSectionChild, { ...child, ...tid }, child.id)) });
29094
29127
  }
29095
29128
  function sortByOrderField(childSections) {
29096
29129
  return [...childSections].sort((a, b) => (a.orderField.value ?? 0) - (b.orderField.value ?? 0));
29097
29130
  }
29098
29131
 
29099
29132
  // src/layouts/FormSectionLayout/JumpLinksRail.tsx
29100
- import { trussProps as trussProps133, maybeCssVar as maybeCssVar65 } from "@homebound/truss/runtime";
29101
- import { jsx as jsx230 } from "react/jsx-runtime";
29133
+ import { trussProps as trussProps134, maybeCssVar as maybeCssVar65 } from "@homebound/truss/runtime";
29134
+ import { jsx as jsx231 } from "react/jsx-runtime";
29102
29135
  var __maybeInc31 = (inc) => {
29103
29136
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
29104
29137
  };
@@ -29108,7 +29141,7 @@ function JumpLinksRail(props) {
29108
29141
  activeId
29109
29142
  } = props;
29110
29143
  const tid = useTestIds(props, "jumpLinks");
29111
- return /* @__PURE__ */ jsx230("nav", { ...trussProps133({
29144
+ return /* @__PURE__ */ jsx231("nav", { ...trussProps134({
29112
29145
  display: "df",
29113
29146
  flexDirection: "fdc",
29114
29147
  flexShrink: "fs0",
@@ -29120,7 +29153,7 @@ function JumpLinksRail(props) {
29120
29153
  top: ["top_var", {
29121
29154
  "--top": maybeCssVar65(__maybeInc31(stickyNavAndHeaderOffset()))
29122
29155
  }]
29123
- }), ...tid, children: links.map((link) => /* @__PURE__ */ jsx230(JumpLink, { label: link.label, href: `#${link.id}`, active: link.id === activeId, ...tid.link }, link.id)) });
29156
+ }), ...tid, children: links.map((link) => /* @__PURE__ */ jsx231(JumpLink, { label: link.label, href: `#${link.id}`, active: link.id === activeId, ...tid.link }, link.id)) });
29124
29157
  }
29125
29158
  var jumpLinksRailWidthPx = 192;
29126
29159
  var railAndShellPx = centeredShellMaxPx.sm + jumpLinksRailWidthPx;
@@ -29156,7 +29189,7 @@ function useActiveJumpLink(sectionIds) {
29156
29189
  }
29157
29190
 
29158
29191
  // src/layouts/FormSectionLayout/FormSectionLayout.tsx
29159
- import { jsx as jsx231, jsxs as jsxs123 } from "react/jsx-runtime";
29192
+ import { jsx as jsx232, jsxs as jsxs124 } from "react/jsx-runtime";
29160
29193
  var __maybeInc32 = (inc) => {
29161
29194
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
29162
29195
  };
@@ -29193,7 +29226,7 @@ function FormSectionLayout(props) {
29193
29226
  }] : [], ...sectionLinks];
29194
29227
  const showRail = withJumpLinks && jumpLinks.length >= 2 && !isMobile;
29195
29228
  const activeId = useActiveJumpLink(showRail ? jumpLinks.map((link) => link.id) : []);
29196
- const content2 = /* @__PURE__ */ jsxs123("div", { ...trussProps134({
29229
+ const content2 = /* @__PURE__ */ jsxs124("div", { ...trussProps135({
29197
29230
  display: "df",
29198
29231
  flexDirection: "fdc",
29199
29232
  gap: "g_8",
@@ -29204,7 +29237,7 @@ function FormSectionLayout(props) {
29204
29237
  paddingLeft: "pl3"
29205
29238
  } : {}
29206
29239
  }), children: [
29207
- /* @__PURE__ */ jsxs123("div", { id: titleAnchor ? formSectionLayoutTitleId : void 0, ...trussProps134({
29240
+ /* @__PURE__ */ jsxs124("div", { id: titleAnchor ? formSectionLayoutTitleId : void 0, ...trussProps135({
29208
29241
  display: "df",
29209
29242
  flexDirection: "fdc",
29210
29243
  gap: "g_3",
@@ -29214,23 +29247,23 @@ function FormSectionLayout(props) {
29214
29247
  }]
29215
29248
  } : {}
29216
29249
  }), children: [
29217
- /* @__PURE__ */ jsx231(ContentHeader, { ...tid, title, description, actions, withAutoSave, level: 2, aiMode }),
29250
+ /* @__PURE__ */ jsx232(ContentHeader, { ...tid, title, description, actions, withAutoSave, level: 2, aiMode }),
29218
29251
  initialFields
29219
29252
  ] }),
29220
- sections && /* @__PURE__ */ jsx231("div", { className: "df fdc g_8", children: sections.map((section, i) => /* @__PURE__ */ jsx231(FormSection, { ...section }, defaultTestId(section.title) || i)) })
29253
+ sections && /* @__PURE__ */ jsx232("div", { className: "df fdc g_8", children: sections.map((section, i) => /* @__PURE__ */ jsx232(FormSection, { ...section }, defaultTestId(section.title) || i)) })
29221
29254
  ] });
29222
- const form = /* @__PURE__ */ jsx231(CenteredLayout, { size: "sm", children: aiMode ? /* @__PURE__ */ jsx231(AiCard, { size: "lg", ...tid, children: content2 }) : content2 });
29223
- const body = showRail ? /* @__PURE__ */ jsxs123("div", { className: "df w100 mb4", children: [
29224
- /* @__PURE__ */ jsx231(JumpLinksRail, { links: jumpLinks, activeId, ...tid.jumpLinks }),
29225
- /* @__PURE__ */ jsx231("div", { ...trussProps134({
29255
+ const form = /* @__PURE__ */ jsx232(CenteredLayout, { size: "sm", children: aiMode ? /* @__PURE__ */ jsx232(AiCard, { size: "lg", ...tid, children: content2 }) : content2 });
29256
+ const body = showRail ? /* @__PURE__ */ jsxs124("div", { className: "df w100 mb4", children: [
29257
+ /* @__PURE__ */ jsx232(JumpLinksRail, { links: jumpLinks, activeId, ...tid.jumpLinks }),
29258
+ /* @__PURE__ */ jsx232("div", { ...trussProps135({
29226
29259
  flexGrow: "fg1",
29227
29260
  marginRight: ["mr_var", {
29228
29261
  "--marginRight": maybeCssVar66(__maybeInc32(jumpLinksRailReservation))
29229
29262
  }]
29230
29263
  }), ...tid.column, children: form })
29231
- ] }) : /* @__PURE__ */ jsx231("div", { className: "mb4", children: form });
29264
+ ] }) : /* @__PURE__ */ jsx232("div", { className: "mb4", children: form });
29232
29265
  if (!rightPane) return body;
29233
- return /* @__PURE__ */ jsx231(DocumentScrollOverlayRightPaneLayout, { paneWidth: rightPane.width, children: body });
29266
+ return /* @__PURE__ */ jsx232(DocumentScrollOverlayRightPaneLayout, { paneWidth: rightPane.width, children: body });
29234
29267
  }
29235
29268
 
29236
29269
  // src/layouts/NavbarLayout/NavbarLayout.tsx
@@ -29350,17 +29383,17 @@ function useTransitionAfterPaint(ref, transition) {
29350
29383
 
29351
29384
  // src/layouts/NavbarLayout/NavbarLayoutHeightContext.tsx
29352
29385
  import { createContext as createContext18, useContext as useContext29 } from "react";
29353
- import { jsx as jsx232 } from "react/jsx-runtime";
29386
+ import { jsx as jsx233 } from "react/jsx-runtime";
29354
29387
  var NavbarLayoutHeightContext = createContext18(0);
29355
29388
  function NavbarLayoutHeightProvider({ value, children }) {
29356
- return /* @__PURE__ */ jsx232(NavbarLayoutHeightContext.Provider, { value, children });
29389
+ return /* @__PURE__ */ jsx233(NavbarLayoutHeightContext.Provider, { value, children });
29357
29390
  }
29358
29391
  function useNavbarLayoutHeight() {
29359
29392
  return useContext29(NavbarLayoutHeightContext);
29360
29393
  }
29361
29394
 
29362
29395
  // src/layouts/NavbarLayout/NavbarLayout.tsx
29363
- import { jsx as jsx233, jsxs as jsxs124 } from "react/jsx-runtime";
29396
+ import { jsx as jsx234, jsxs as jsxs125 } from "react/jsx-runtime";
29364
29397
  var __maybeInc33 = (inc) => {
29365
29398
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
29366
29399
  };
@@ -29397,20 +29430,20 @@ function NavbarLayout(props) {
29397
29430
  const innerStyle = {
29398
29431
  top: autoHideState === "hidden" ? `calc(${bannerTop} - ${navHeight}px)` : bannerTop
29399
29432
  };
29400
- const navbarEl = useMemo57(() => /* @__PURE__ */ jsx233(Navbar, { ...navbar }), [navbar]);
29401
- return /* @__PURE__ */ jsx233(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx233(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ jsx233(MobileSubNavProvider, { children: /* @__PURE__ */ jsxs124("div", { ...mergeProps41(void 0, cssVars, {
29433
+ const navbarEl = useMemo57(() => /* @__PURE__ */ jsx234(Navbar, { ...navbar }), [navbar]);
29434
+ return /* @__PURE__ */ jsx234(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsx234(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ jsx234(MobileSubNavProvider, { children: /* @__PURE__ */ jsxs125("div", { ...mergeProps41(void 0, cssVars, {
29402
29435
  display: "df",
29403
29436
  flexDirection: "fdc",
29404
29437
  width: "wfc",
29405
29438
  minWidth: "mw100"
29406
29439
  }), ...tid, children: [
29407
- /* @__PURE__ */ jsx233("div", { ref: spacerRef, ...mergeProps41(void 0, {
29440
+ /* @__PURE__ */ jsx234("div", { ref: spacerRef, ...mergeProps41(void 0, {
29408
29441
  height: navHeight
29409
29442
  }, {
29410
29443
  flexShrink: "fs0",
29411
29444
  width: "w100"
29412
- }), children: /* @__PURE__ */ jsx233("div", { ref: navMetricsRef, ...mergeProps41(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
29413
- /* @__PURE__ */ jsx233("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
29445
+ }), children: /* @__PURE__ */ jsx234("div", { ref: navMetricsRef, ...mergeProps41(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
29446
+ /* @__PURE__ */ jsx234("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
29414
29447
  ] }) }) }) });
29415
29448
  }
29416
29449
 
@@ -29434,8 +29467,8 @@ function useDocumentTitle(...titleSegments) {
29434
29467
  }
29435
29468
 
29436
29469
  // src/components/Headers/BaseHeader.tsx
29437
- import { trussProps as trussProps135 } from "@homebound/truss/runtime";
29438
- import { jsx as jsx234, jsxs as jsxs125 } from "react/jsx-runtime";
29470
+ import { trussProps as trussProps136 } from "@homebound/truss/runtime";
29471
+ import { jsx as jsx235, jsxs as jsxs126 } from "react/jsx-runtime";
29439
29472
  function BaseHeader(props) {
29440
29473
  const {
29441
29474
  title,
@@ -29447,7 +29480,7 @@ function BaseHeader(props) {
29447
29480
  } = props;
29448
29481
  const tid = useTestIds(otherProps, "header");
29449
29482
  useDocumentTitle(title, documentTitleSuffix);
29450
- return /* @__PURE__ */ jsxs125("header", { ...tid, ...trussProps135({
29483
+ return /* @__PURE__ */ jsxs126("header", { ...tid, ...trussProps136({
29451
29484
  display: "df",
29452
29485
  flexDirection: "fdc",
29453
29486
  paddingTop: "pt3",
@@ -29461,7 +29494,7 @@ function BaseHeader(props) {
29461
29494
  "--backgroundColor": "var(--b-surface)"
29462
29495
  }]
29463
29496
  }), children: [
29464
- /* @__PURE__ */ jsxs125("div", { ...trussProps135({
29497
+ /* @__PURE__ */ jsxs126("div", { ...trussProps136({
29465
29498
  ...{
29466
29499
  display: "df",
29467
29500
  justifyContent: "jcsb",
@@ -29475,9 +29508,9 @@ function BaseHeader(props) {
29475
29508
  } : {}
29476
29509
  }
29477
29510
  }), children: [
29478
- /* @__PURE__ */ jsxs125("div", { className: "mw0", children: [
29479
- breadcrumbs && /* @__PURE__ */ jsx234(Breadcrumbs, { ...breadcrumbs }),
29480
- /* @__PURE__ */ jsx234("h1", { ...tid.title, ...trussProps135({
29511
+ /* @__PURE__ */ jsxs126("div", { className: "mw0", children: [
29512
+ breadcrumbs && /* @__PURE__ */ jsx235(Breadcrumbs, { ...breadcrumbs }),
29513
+ /* @__PURE__ */ jsx235("h1", { ...tid.title, ...trussProps136({
29481
29514
  fontWeight: "fw6",
29482
29515
  fontSize: "fz_20px",
29483
29516
  lineHeight: "lh_28px",
@@ -29486,15 +29519,15 @@ function BaseHeader(props) {
29486
29519
  }]
29487
29520
  }), children: title })
29488
29521
  ] }),
29489
- /* @__PURE__ */ jsx234("div", { className: "fs0", children: rightSlot })
29522
+ /* @__PURE__ */ jsx235("div", { className: "fs0", children: rightSlot })
29490
29523
  ] }),
29491
29524
  bottomSlot
29492
29525
  ] });
29493
29526
  }
29494
29527
 
29495
29528
  // src/components/Headers/PageHeader.tsx
29496
- import { trussProps as trussProps136 } from "@homebound/truss/runtime";
29497
- import { Fragment as Fragment52, jsx as jsx235, jsxs as jsxs126 } from "react/jsx-runtime";
29529
+ import { trussProps as trussProps137 } from "@homebound/truss/runtime";
29530
+ import { Fragment as Fragment52, jsx as jsx236, jsxs as jsxs127 } from "react/jsx-runtime";
29498
29531
  function PageHeader2(props) {
29499
29532
  const {
29500
29533
  tabs,
@@ -29510,20 +29543,20 @@ function PageHeader2(props) {
29510
29543
  bottomSlotActions,
29511
29544
  rightSlotActions
29512
29545
  } = splitHeaderActionsOnSm(actions, sm);
29513
- return /* @__PURE__ */ jsx235(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ jsxs126("div", { className: "df g_2 fs0", ...tid.actions, children: [
29514
- /* @__PURE__ */ jsx235(AutoSaveIndicator, { hideOnIdle: true }),
29515
- rightSlotActions.length > 0 && /* @__PURE__ */ jsx235(HeaderActions, { actions: rightSlotActions, collapseOnSm: true }),
29546
+ return /* @__PURE__ */ jsx236(BaseHeader, { ...otherProps, rightSlot: /* @__PURE__ */ jsxs127("div", { className: "df g_2 fs0", ...tid.actions, children: [
29547
+ /* @__PURE__ */ jsx236(AutoSaveIndicator, { hideOnIdle: true }),
29548
+ rightSlotActions.length > 0 && /* @__PURE__ */ jsx236(HeaderActions, { actions: rightSlotActions, collapseOnSm: true }),
29516
29549
  rightSlot
29517
- ] }), bottomSlot: (bottomSlotActions.length > 0 || tabs) && /* @__PURE__ */ jsxs126(Fragment52, { children: [
29518
- bottomSlotActions.length > 0 && /* @__PURE__ */ jsx235("div", { ...trussProps136({
29550
+ ] }), bottomSlot: (bottomSlotActions.length > 0 || tabs) && /* @__PURE__ */ jsxs127(Fragment52, { children: [
29551
+ bottomSlotActions.length > 0 && /* @__PURE__ */ jsx236("div", { ...trussProps137({
29519
29552
  ...pageContentPaddingX,
29520
29553
  ...{
29521
29554
  ...!tabs ? {
29522
29555
  marginBottom: "mb2"
29523
29556
  } : {}
29524
29557
  }
29525
- }), ...tid.bottomSlot, children: /* @__PURE__ */ jsx235(HeaderActions, { actions: bottomSlotActions }) }),
29526
- tabs && /* @__PURE__ */ jsx235("div", { ...trussProps136(pageContentPaddingX), children: /* @__PURE__ */ jsx235(Tabs, { ...tabs, ...tid.tabs }) })
29558
+ }), ...tid.bottomSlot, children: /* @__PURE__ */ jsx236(HeaderActions, { actions: bottomSlotActions }) }),
29559
+ tabs && /* @__PURE__ */ jsx236("div", { ...trussProps137(pageContentPaddingX), children: /* @__PURE__ */ jsx236(Tabs, { ...tabs, ...tid.tabs }) })
29527
29560
  ] }) });
29528
29561
  }
29529
29562
 
@@ -29534,7 +29567,7 @@ function useBannerAndNavbarHeight() {
29534
29567
 
29535
29568
  // src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
29536
29569
  import { mergeProps as mergeProps42, maybeCssVar as maybeCssVar68 } from "@homebound/truss/runtime";
29537
- import { jsx as jsx236, jsxs as jsxs127 } from "react/jsx-runtime";
29570
+ import { jsx as jsx237, jsxs as jsxs128 } from "react/jsx-runtime";
29538
29571
  var __maybeInc34 = (inc) => {
29539
29572
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
29540
29573
  };
@@ -29577,19 +29610,19 @@ function PageHeaderLayout(props) {
29577
29610
  const innerStyle = {
29578
29611
  top: autoHideState === "hidden" ? `calc(${outerTop} - ${headerHeight}px)` : outerTop
29579
29612
  };
29580
- const pageHeaderEl = useMemo58(() => /* @__PURE__ */ jsx236(PageHeader2, { ...pageHeader }), [pageHeader]);
29581
- return /* @__PURE__ */ jsx236(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs127("div", { ...mergeProps42(void 0, cssVars, {
29613
+ const pageHeaderEl = useMemo58(() => /* @__PURE__ */ jsx237(PageHeader2, { ...pageHeader }), [pageHeader]);
29614
+ return /* @__PURE__ */ jsx237(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ jsxs128("div", { ...mergeProps42(void 0, cssVars, {
29582
29615
  display: "df",
29583
29616
  flexDirection: "fdc",
29584
29617
  width: "w100"
29585
29618
  }), ...tid, children: [
29586
- /* @__PURE__ */ jsx236("div", { ref: spacerRef, ...mergeProps42(void 0, {
29619
+ /* @__PURE__ */ jsx237("div", { ref: spacerRef, ...mergeProps42(void 0, {
29587
29620
  height: headerHeight
29588
29621
  }, {
29589
29622
  flexShrink: "fs0",
29590
29623
  width: "w100"
29591
- }), children: /* @__PURE__ */ jsx236("div", { ref: headerMetricsRef, ...mergeProps42(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
29592
- /* @__PURE__ */ jsx236("div", { className: "df fdc fg1 mh0 w100 n_has_data_self_top_spaced_first_child_pt3", ...tid.body, children })
29624
+ }), children: /* @__PURE__ */ jsx237("div", { ref: headerMetricsRef, ...mergeProps42(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
29625
+ /* @__PURE__ */ jsx237("div", { className: "df fdc fg1 mh0 w100 n_has_data_self_top_spaced_first_child_pt3", ...tid.body, children })
29593
29626
  ] }) });
29594
29627
  }
29595
29628
 
@@ -29597,23 +29630,23 @@ function PageHeaderLayout(props) {
29597
29630
  import { useLayoutEffect as useLayoutEffect18, useRef as useRef75 } from "react";
29598
29631
 
29599
29632
  // src/components/Headers/WorkflowHeader.tsx
29600
- import { jsx as jsx237 } from "react/jsx-runtime";
29633
+ import { jsx as jsx238 } from "react/jsx-runtime";
29601
29634
  function WorkflowHeader(props) {
29602
29635
  const { stepperTabs, ...otherProps } = props;
29603
29636
  const tid = useTestIds(otherProps, "header");
29604
- return /* @__PURE__ */ jsx237(
29637
+ return /* @__PURE__ */ jsx238(
29605
29638
  BaseHeader,
29606
29639
  {
29607
29640
  ...otherProps,
29608
- bottomSlot: stepperTabs ? /* @__PURE__ */ jsx237(StepperTabs, { ...stepperTabs, ...tid.stepperTabs }) : void 0
29641
+ bottomSlot: stepperTabs ? /* @__PURE__ */ jsx238(StepperTabs, { ...stepperTabs, ...tid.stepperTabs }) : void 0
29609
29642
  }
29610
29643
  );
29611
29644
  }
29612
29645
 
29613
29646
  // src/layouts/Workflow/RightPaneTriggers.tsx
29614
29647
  import { useCallback as useCallback44 } from "react";
29615
- import { trussProps as trussProps137, maybeCssVar as maybeCssVar69 } from "@homebound/truss/runtime";
29616
- import { jsx as jsx238 } from "react/jsx-runtime";
29648
+ import { trussProps as trussProps138, maybeCssVar as maybeCssVar69 } from "@homebound/truss/runtime";
29649
+ import { jsx as jsx239 } from "react/jsx-runtime";
29617
29650
  var __maybeInc35 = (inc) => {
29618
29651
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
29619
29652
  };
@@ -29634,12 +29667,12 @@ function WorkflowPageRightPaneTriggers(props) {
29634
29667
  const pageTriggerInsetPx = 24;
29635
29668
  const onClick = useCallback44((trigger) => {
29636
29669
  openRightPane({
29637
- content: /* @__PURE__ */ jsx238(RightPanePanel, { title: trigger.label, children: trigger.content })
29670
+ content: /* @__PURE__ */ jsx239(RightPanePanel, { title: trigger.label, children: trigger.content })
29638
29671
  });
29639
29672
  }, [openRightPane]);
29640
- return /* @__PURE__ */ jsx238("div", { ...tid, "aria-hidden": isRightPaneOpen, ...isRightPaneOpen ? {
29673
+ return /* @__PURE__ */ jsx239("div", { ...tid, "aria-hidden": isRightPaneOpen, ...isRightPaneOpen ? {
29641
29674
  inert: true
29642
- } : {}, ...trussProps137({
29675
+ } : {}, ...trussProps138({
29643
29676
  ...{
29644
29677
  display: "df",
29645
29678
  alignItems: "aic",
@@ -29671,13 +29704,13 @@ function WorkflowPageRightPaneTriggers(props) {
29671
29704
  } : {
29672
29705
  transform: "tf_translateX_0"
29673
29706
  })
29674
- }), children: triggers.map((trigger) => /* @__PURE__ */ jsx238(IconButton, { icon: trigger.icon, label: trigger.label, variant: "circle", compact: isMobile, onClick: () => onClick(trigger), ...tid[trigger.icon] }, trigger.label)) });
29707
+ }), children: triggers.map((trigger) => /* @__PURE__ */ jsx239(IconButton, { icon: trigger.icon, label: trigger.label, variant: "circle", compact: isMobile, onClick: () => onClick(trigger), ...tid[trigger.icon] }, trigger.label)) });
29675
29708
  }
29676
29709
 
29677
29710
  // src/layouts/Workflow/useUnsavedChangesGuard.tsx
29678
29711
  import { useEffect as useEffect40, useRef as useRef74 } from "react";
29679
29712
  import { useBlocker } from "react-router-dom";
29680
- import { jsx as jsx239 } from "react/jsx-runtime";
29713
+ import { jsx as jsx240 } from "react/jsx-runtime";
29681
29714
  function useUnsavedChangesGuard(options) {
29682
29715
  const { isDirty, allowNavigation, onCancel } = options;
29683
29716
  const { openModal } = useModal();
@@ -29713,7 +29746,7 @@ function useUnsavedChangesGuard(options) {
29713
29746
  }
29714
29747
  openModal({
29715
29748
  allowClosing: false,
29716
- content: /* @__PURE__ */ jsx239(ConfirmCloseModal, { onClose: () => confirmCancel(e) })
29749
+ content: /* @__PURE__ */ jsx240(ConfirmCloseModal, { onClose: () => confirmCancel(e) })
29717
29750
  });
29718
29751
  };
29719
29752
  const navigationBlocker = blocker.state === "blocked" ? { proceed: () => blocker.proceed?.(), cancelNavigation: () => blocker.reset?.() } : void 0;
@@ -29725,7 +29758,7 @@ function UnsavedChangesNavigationModal(props) {
29725
29758
  useEffect40(() => {
29726
29759
  openModal({
29727
29760
  allowClosing: false,
29728
- content: /* @__PURE__ */ jsx239(ConfirmCloseModal, { title: "Leave page?", onClose: proceed, onContinue: cancelNavigation })
29761
+ content: /* @__PURE__ */ jsx240(ConfirmCloseModal, { title: "Leave page?", onClose: proceed, onContinue: cancelNavigation })
29729
29762
  });
29730
29763
  return () => closeModal();
29731
29764
  }, []);
@@ -29733,7 +29766,7 @@ function UnsavedChangesNavigationModal(props) {
29733
29766
  }
29734
29767
 
29735
29768
  // src/layouts/Workflow/WorkflowActions.tsx
29736
- import { jsx as jsx240, jsxs as jsxs128 } from "react/jsx-runtime";
29769
+ import { jsx as jsx241, jsxs as jsxs129 } from "react/jsx-runtime";
29737
29770
  function WorkflowActions(props) {
29738
29771
  const {
29739
29772
  onCancel,
@@ -29751,12 +29784,12 @@ function WorkflowActions(props) {
29751
29784
  sm: isMobile
29752
29785
  } = useBreakpoint();
29753
29786
  const primaryVariant = aiMode ? "ai" : "primary";
29754
- return /* @__PURE__ */ jsxs128("div", { className: "df aic jcsb sm_w100", children: [
29755
- /* @__PURE__ */ jsx240("div", { className: "df aic", children: !isFirstStep && isMobile && onBack && /* @__PURE__ */ jsx240(IconButton, { icon: "arrowBack", label: "Back", onClick: onBack }) }),
29756
- /* @__PURE__ */ jsxs128("div", { className: "df aic g_1", children: [
29757
- /* @__PURE__ */ jsx240(Button, { label: "Cancel", variant: "quaternary", onClick: onCancel }),
29758
- onSaveAndExit && /* @__PURE__ */ jsx240(Button, { label: "Save & Exit", variant: "secondary", onClick: onSaveAndExit }),
29759
- isLastStep ? /* @__PURE__ */ jsx240(Button, { label: completeLabel, variant: primaryVariant, onClick: onComplete, disabled: primaryDisabled }) : /* @__PURE__ */ jsx240(Button, { label: "Continue", variant: primaryVariant, onClick: async () => {
29787
+ return /* @__PURE__ */ jsxs129("div", { className: "df aic jcsb sm_w100", children: [
29788
+ /* @__PURE__ */ jsx241("div", { className: "df aic", children: !isFirstStep && isMobile && onBack && /* @__PURE__ */ jsx241(IconButton, { icon: "arrowBack", label: "Back", onClick: onBack }) }),
29789
+ /* @__PURE__ */ jsxs129("div", { className: "df aic g_1", children: [
29790
+ /* @__PURE__ */ jsx241(Button, { label: "Cancel", variant: "quaternary", onClick: onCancel }),
29791
+ onSaveAndExit && /* @__PURE__ */ jsx241(Button, { label: "Save & Exit", variant: "secondary", onClick: onSaveAndExit }),
29792
+ isLastStep ? /* @__PURE__ */ jsx241(Button, { label: completeLabel, variant: primaryVariant, onClick: onComplete, disabled: primaryDisabled }) : /* @__PURE__ */ jsx241(Button, { label: "Continue", variant: primaryVariant, onClick: async () => {
29760
29793
  await onContinue?.();
29761
29794
  }, disabled: primaryDisabled })
29762
29795
  ] })
@@ -29764,8 +29797,8 @@ function WorkflowActions(props) {
29764
29797
  }
29765
29798
 
29766
29799
  // src/layouts/Workflow/WorkflowPageLayout.tsx
29767
- import { trussProps as trussProps138, mergeProps as mergeProps43, maybeCssVar as maybeCssVar70 } from "@homebound/truss/runtime";
29768
- import { jsx as jsx241, jsxs as jsxs129 } from "react/jsx-runtime";
29800
+ import { trussProps as trussProps139, mergeProps as mergeProps43, maybeCssVar as maybeCssVar70 } from "@homebound/truss/runtime";
29801
+ import { jsx as jsx242, jsxs as jsxs130 } from "react/jsx-runtime";
29769
29802
  var __maybeInc36 = (inc) => {
29770
29803
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
29771
29804
  };
@@ -29796,9 +29829,9 @@ function WorkflowPageLayout(props) {
29796
29829
  allowNavigation,
29797
29830
  onCancel
29798
29831
  });
29799
- const actions = /* @__PURE__ */ jsx241(WorkflowActions, { ...actionProps, aiMode, onCancel: onCancelClick });
29832
+ const actions = /* @__PURE__ */ jsx242(WorkflowActions, { ...actionProps, aiMode, onCancel: onCancelClick });
29800
29833
  const triggers = rightPaneTriggers ?? [];
29801
- const pageTriggers = triggers.length > 0 ? /* @__PURE__ */ jsx241(WorkflowPageRightPaneTriggers, { triggers }) : void 0;
29834
+ const pageTriggers = triggers.length > 0 ? /* @__PURE__ */ jsx242(WorkflowPageRightPaneTriggers, { triggers }) : void 0;
29802
29835
  const headerMetricsRef = useRef75(null);
29803
29836
  const headerHeight = useMeasuredHeight(headerMetricsRef, true);
29804
29837
  const headerWidth = documentScrollChromeWidth();
@@ -29819,18 +29852,18 @@ function WorkflowPageLayout(props) {
29819
29852
  }
29820
29853
  };
29821
29854
  }, [showFooter]);
29822
- return /* @__PURE__ */ jsxs129(DocumentScrollLayoutProvider, { children: [
29823
- /* @__PURE__ */ jsxs129("div", { ...mergeProps43(void 0, cssVars, {
29855
+ return /* @__PURE__ */ jsxs130(DocumentScrollLayoutProvider, { children: [
29856
+ /* @__PURE__ */ jsxs130("div", { ...mergeProps43(void 0, cssVars, {
29824
29857
  display: "df",
29825
29858
  flexDirection: "fdc",
29826
29859
  width: "w100"
29827
29860
  }), ...tid, children: [
29828
- /* @__PURE__ */ jsx241("div", { ...mergeProps43(void 0, {
29861
+ /* @__PURE__ */ jsx242("div", { ...mergeProps43(void 0, {
29829
29862
  height: headerHeight
29830
29863
  }, {
29831
29864
  flexShrink: "fs0",
29832
29865
  width: "w100"
29833
- }), children: /* @__PURE__ */ jsx241("div", { ref: headerMetricsRef, ...trussProps138({
29866
+ }), children: /* @__PURE__ */ jsx242("div", { ref: headerMetricsRef, ...trussProps139({
29834
29867
  position: "fixed",
29835
29868
  left: "l_0",
29836
29869
  width: ["w_var", {
@@ -29843,8 +29876,8 @@ function WorkflowPageLayout(props) {
29843
29876
  "--top": maybeCssVar70(__maybeInc36(outerTop))
29844
29877
  }],
29845
29878
  transition: "transitionAll"
29846
- }), ...tid.header, children: /* @__PURE__ */ jsx241(WorkflowHeader, { title, documentTitleSuffix, breadcrumbs, rightSlot: isMobile ? pageTriggers : actions, stepperTabs }) }) }),
29847
- /* @__PURE__ */ jsx241("div", { ...trussProps138({
29879
+ }), ...tid.header, children: /* @__PURE__ */ jsx242(WorkflowHeader, { title, documentTitleSuffix, breadcrumbs, rightSlot: isMobile ? pageTriggers : actions, stepperTabs }) }) }),
29880
+ /* @__PURE__ */ jsx242("div", { ...trussProps139({
29848
29881
  ...{
29849
29882
  display: "df",
29850
29883
  flexDirection: "fdc",
@@ -29859,15 +29892,15 @@ function WorkflowPageLayout(props) {
29859
29892
  "--minHeight": maybeCssVar70(documentScrollBodyMinHeight())
29860
29893
  }]
29861
29894
  }
29862
- }), ...tid.body, children: triggers.length > 0 ? /* @__PURE__ */ jsx241(DocumentScrollOverlayRightPaneLayout, { children }) : children }),
29895
+ }), ...tid.body, children: triggers.length > 0 ? /* @__PURE__ */ jsx242(DocumentScrollOverlayRightPaneLayout, { children }) : children }),
29863
29896
  !isMobile && pageTriggers,
29864
- showFooter && /* @__PURE__ */ jsx241("div", { ...trussProps138({
29897
+ showFooter && /* @__PURE__ */ jsx242("div", { ...trussProps139({
29865
29898
  flexShrink: "fs0",
29866
29899
  width: "w100",
29867
29900
  height: ["h_var", {
29868
29901
  "--height": `${mobileFooterHeightPx}px`
29869
29902
  }]
29870
- }), children: /* @__PURE__ */ jsx241("div", { ...trussProps138({
29903
+ }), children: /* @__PURE__ */ jsx242("div", { ...trussProps139({
29871
29904
  ...{
29872
29905
  position: "fixed",
29873
29906
  bottom: "bot_0",
@@ -29896,12 +29929,12 @@ function WorkflowPageLayout(props) {
29896
29929
  ...pageContentPaddingX
29897
29930
  }), ...tid.footer, children: actions }) })
29898
29931
  ] }),
29899
- navigationBlocker && /* @__PURE__ */ jsx241(UnsavedChangesNavigationModal, { ...navigationBlocker })
29932
+ navigationBlocker && /* @__PURE__ */ jsx242(UnsavedChangesNavigationModal, { ...navigationBlocker })
29900
29933
  ] });
29901
29934
  }
29902
29935
 
29903
29936
  // src/layouts/Workflow/FocusedFormLayout.tsx
29904
- import { jsx as jsx242 } from "react/jsx-runtime";
29937
+ import { jsx as jsx243 } from "react/jsx-runtime";
29905
29938
  function FocusedFormLayout(props) {
29906
29939
  const {
29907
29940
  onCancel,
@@ -29917,7 +29950,7 @@ function FocusedFormLayout(props) {
29917
29950
  ...headerProps
29918
29951
  } = props;
29919
29952
  const tid = useTestIds(props, "focusedFormLayout");
29920
- return /* @__PURE__ */ jsx242(
29953
+ return /* @__PURE__ */ jsx243(
29921
29954
  WorkflowPageLayout,
29922
29955
  {
29923
29956
  ...tid,
@@ -29938,7 +29971,7 @@ function FocusedFormLayout(props) {
29938
29971
 
29939
29972
  // src/layouts/Workflow/StepperLayout.tsx
29940
29973
  import { useState as useState64 } from "react";
29941
- import { jsx as jsx243 } from "react/jsx-runtime";
29974
+ import { jsx as jsx244 } from "react/jsx-runtime";
29942
29975
  function StepperLayout(props) {
29943
29976
  const {
29944
29977
  steps,
@@ -29965,7 +29998,7 @@ function StepperLayout(props) {
29965
29998
  closeRightPane();
29966
29999
  setCurrentStep(value);
29967
30000
  }
29968
- return /* @__PURE__ */ jsx243(
30001
+ return /* @__PURE__ */ jsx244(
29969
30002
  WorkflowPageLayout,
29970
30003
  {
29971
30004
  ...tid,
@@ -30008,7 +30041,7 @@ function getInitialStep(steps, defaultStep) {
30008
30041
 
30009
30042
  // src/forms/BoundChipSelectField.tsx
30010
30043
  import { Observer as Observer19 } from "mobx-react";
30011
- import { jsx as jsx244 } from "react/jsx-runtime";
30044
+ import { jsx as jsx245 } from "react/jsx-runtime";
30012
30045
  function BoundChipSelectField(props) {
30013
30046
  const {
30014
30047
  field,
@@ -30024,7 +30057,7 @@ function BoundChipSelectField(props) {
30024
30057
  ...others
30025
30058
  } = props;
30026
30059
  const testId = useTestIds(props, field.key);
30027
- return /* @__PURE__ */ jsx244(Observer19, { children: () => /* @__PURE__ */ jsx244(
30060
+ return /* @__PURE__ */ jsx245(Observer19, { children: () => /* @__PURE__ */ jsx245(
30028
30061
  ChipSelectField,
30029
30062
  {
30030
30063
  label,
@@ -30054,12 +30087,12 @@ function BoundChipSelectField(props) {
30054
30087
  }
30055
30088
 
30056
30089
  // src/forms/BoundSelectAndTextField.tsx
30057
- import { jsx as jsx245, jsxs as jsxs130 } from "react/jsx-runtime";
30090
+ import { jsx as jsx246, jsxs as jsxs131 } from "react/jsx-runtime";
30058
30091
  function BoundSelectAndTextField(props) {
30059
30092
  const { selectFieldProps, textFieldProps, compact = true } = props;
30060
30093
  const tid = useTestIds(props);
30061
- return /* @__PURE__ */ jsxs130(CompoundField, { children: [
30062
- /* @__PURE__ */ jsx245(
30094
+ return /* @__PURE__ */ jsxs131(CompoundField, { children: [
30095
+ /* @__PURE__ */ jsx246(
30063
30096
  BoundSelectField,
30064
30097
  {
30065
30098
  ...tid[defaultTestId(selectFieldProps.label ?? selectFieldProps.field.key)],
@@ -30068,7 +30101,7 @@ function BoundSelectAndTextField(props) {
30068
30101
  compact
30069
30102
  }
30070
30103
  ),
30071
- /* @__PURE__ */ jsx245(
30104
+ /* @__PURE__ */ jsx246(
30072
30105
  BoundTextField,
30073
30106
  {
30074
30107
  ...tid[defaultTestId(textFieldProps.label ?? textFieldProps.field.key)],
@@ -30080,8 +30113,8 @@ function BoundSelectAndTextField(props) {
30080
30113
  }
30081
30114
 
30082
30115
  // src/forms/FormHeading.tsx
30083
- import { trussProps as trussProps139 } from "@homebound/truss/runtime";
30084
- import { jsx as jsx246 } from "react/jsx-runtime";
30116
+ import { trussProps as trussProps140 } from "@homebound/truss/runtime";
30117
+ import { jsx as jsx247 } from "react/jsx-runtime";
30085
30118
  function FormHeading(props) {
30086
30119
  const {
30087
30120
  title,
@@ -30091,7 +30124,7 @@ function FormHeading(props) {
30091
30124
  } = props;
30092
30125
  return (
30093
30126
  // Add space before the heading, but only if it's not first.
30094
- /* @__PURE__ */ jsx246("h3", { ...trussProps139({
30127
+ /* @__PURE__ */ jsx247("h3", { ...trussProps140({
30095
30128
  ...{
30096
30129
  fontWeight: "fw4",
30097
30130
  fontSize: "fz_16px",
@@ -30108,8 +30141,8 @@ FormHeading.isFormHeading = true;
30108
30141
 
30109
30142
  // src/forms/StaticField.tsx
30110
30143
  import { useId as useId3 } from "@react-aria/utils";
30111
- import { trussProps as trussProps140 } from "@homebound/truss/runtime";
30112
- import { jsx as jsx247, jsxs as jsxs131 } from "react/jsx-runtime";
30144
+ import { trussProps as trussProps141 } from "@homebound/truss/runtime";
30145
+ import { jsx as jsx248, jsxs as jsxs132 } from "react/jsx-runtime";
30113
30146
  function StaticField(props) {
30114
30147
  const {
30115
30148
  fieldProps
@@ -30122,14 +30155,14 @@ function StaticField(props) {
30122
30155
  } = props;
30123
30156
  const tid = useTestIds(props, typeof label === "string" ? defaultTestId(label) : "staticField");
30124
30157
  const id = useId3();
30125
- return /* @__PURE__ */ jsxs131("div", { ...trussProps140({
30158
+ return /* @__PURE__ */ jsxs132("div", { ...trussProps141({
30126
30159
  ...labelStyle === "left" ? {
30127
30160
  display: "df",
30128
30161
  justifyContent: "jcsb",
30129
30162
  maxWidth: "maxw100"
30130
30163
  } : {}
30131
30164
  }), ...tid.container, children: [
30132
- /* @__PURE__ */ jsx247("label", { ...trussProps140({
30165
+ /* @__PURE__ */ jsx248("label", { ...trussProps141({
30133
30166
  display: "db",
30134
30167
  fontWeight: "fw4",
30135
30168
  fontSize: "fz_14px",
@@ -30139,7 +30172,7 @@ function StaticField(props) {
30139
30172
  }],
30140
30173
  marginBottom: "mb_4px"
30141
30174
  }), htmlFor: id, ...tid.label, children: label }),
30142
- /* @__PURE__ */ jsx247("div", { id, ...trussProps140({
30175
+ /* @__PURE__ */ jsx248("div", { id, ...trussProps141({
30143
30176
  fontWeight: "fw4",
30144
30177
  fontSize: "fz_14px",
30145
30178
  lineHeight: "lh_20px",
@@ -30170,7 +30203,7 @@ function useFilter4({ filterDefs }) {
30170
30203
  import { useCallback as useCallback45, useRef as useRef76 } from "react";
30171
30204
  import { useComboBox as useComboBox3, useOverlayPosition as useOverlayPosition6 } from "react-aria";
30172
30205
  import { Item as Item5, useComboBoxState as useComboBoxState3 } from "react-stately";
30173
- import { Fragment as Fragment53, jsx as jsx248, jsxs as jsxs132 } from "react/jsx-runtime";
30206
+ import { Fragment as Fragment53, jsx as jsx249, jsxs as jsxs133 } from "react/jsx-runtime";
30174
30207
  function Autocomplete(props) {
30175
30208
  const {
30176
30209
  onSelect,
@@ -30188,7 +30221,7 @@ function Autocomplete(props) {
30188
30221
  const { effectiveValue, proposalProps } = useAiProposal(value, proposedValue);
30189
30222
  const disabledOptionsWithReasons = Object.fromEntries(disabledOptions?.map(disabledOptionToKeyedTuple) ?? []);
30190
30223
  const comboBoxChildren = useCallback45(
30191
- (item) => /* @__PURE__ */ jsx248(Item5, { textValue: getOptionLabel(item), children: getOptionMenuLabel ? getOptionMenuLabel(item) : getOptionLabel(item) }, getOptionValue(item)),
30224
+ (item) => /* @__PURE__ */ jsx249(Item5, { textValue: getOptionLabel(item), children: getOptionMenuLabel ? getOptionMenuLabel(item) : getOptionLabel(item) }, getOptionValue(item)),
30192
30225
  [getOptionValue, getOptionLabel, getOptionMenuLabel]
30193
30226
  );
30194
30227
  const comboBoxProps = {
@@ -30241,8 +30274,8 @@ function Autocomplete(props) {
30241
30274
  // Ensures the menu never gets too small.
30242
30275
  minWidth: 200
30243
30276
  };
30244
- return /* @__PURE__ */ jsxs132(Fragment53, { children: [
30245
- /* @__PURE__ */ jsx248(
30277
+ return /* @__PURE__ */ jsxs133(Fragment53, { children: [
30278
+ /* @__PURE__ */ jsx249(
30246
30279
  TextFieldBase,
30247
30280
  {
30248
30281
  inputRef,
@@ -30252,11 +30285,11 @@ function Autocomplete(props) {
30252
30285
  onChange: onInputChange,
30253
30286
  ...proposalProps,
30254
30287
  clearable: true,
30255
- startAdornment: "startAdornment" in props ? props.startAdornment : /* @__PURE__ */ jsx248(Icon, { icon: "search" }),
30288
+ startAdornment: "startAdornment" in props ? props.startAdornment : /* @__PURE__ */ jsx249(Icon, { icon: "search" }),
30256
30289
  ...others
30257
30290
  }
30258
30291
  ),
30259
- state.isOpen && /* @__PURE__ */ jsx248(
30292
+ state.isOpen && /* @__PURE__ */ jsx249(
30260
30293
  Popover,
30261
30294
  {
30262
30295
  triggerRef: inputRef,
@@ -30265,7 +30298,7 @@ function Autocomplete(props) {
30265
30298
  onClose: () => state.close(),
30266
30299
  isOpen: state.isOpen,
30267
30300
  minWidth: 200,
30268
- children: /* @__PURE__ */ jsx248(
30301
+ children: /* @__PURE__ */ jsx249(
30269
30302
  ListBox,
30270
30303
  {
30271
30304
  ...listBoxProps,
@@ -30286,8 +30319,8 @@ function Autocomplete(props) {
30286
30319
  import { useRef as useRef77, useState as useState66 } from "react";
30287
30320
  import { useFocusRing as useFocusRing21, useHover as useHover24, usePress as usePress2, useSwitch as useSwitch2, VisuallyHidden as VisuallyHidden10 } from "react-aria";
30288
30321
  import { useToggleState as useToggleState2 } from "react-stately";
30289
- import { trussProps as trussProps141 } from "@homebound/truss/runtime";
30290
- import { jsx as jsx249, jsxs as jsxs133 } from "react/jsx-runtime";
30322
+ import { trussProps as trussProps142 } from "@homebound/truss/runtime";
30323
+ import { jsx as jsx250, jsxs as jsxs134 } from "react/jsx-runtime";
30291
30324
  function ToggleButton(props) {
30292
30325
  const {
30293
30326
  selected: isSelected = false,
@@ -30351,7 +30384,7 @@ function ToggleButton(props) {
30351
30384
  ...focusProps,
30352
30385
  ...hoverProps,
30353
30386
  ...pressProps,
30354
- ...trussProps141({
30387
+ ...trussProps142({
30355
30388
  // Gray500 off-state has no semantic match — keep palette (OnSurfaceMuted is Gray700).
30356
30389
  ...{
30357
30390
  borderRadius: "br4",
@@ -30391,10 +30424,10 @@ function ToggleButton(props) {
30391
30424
  return maybeTooltip({
30392
30425
  title: tooltip,
30393
30426
  placement: "top",
30394
- children: /* @__PURE__ */ jsxs133("label", { ...labelAttrs, children: [
30395
- icon && /* @__PURE__ */ jsx249(Icon, { icon }),
30427
+ children: /* @__PURE__ */ jsxs134("label", { ...labelAttrs, children: [
30428
+ icon && /* @__PURE__ */ jsx250(Icon, { icon }),
30396
30429
  label,
30397
- /* @__PURE__ */ jsx249(VisuallyHidden10, { children: /* @__PURE__ */ jsx249("input", { ref, ...inputProps, ...tid.value }) })
30430
+ /* @__PURE__ */ jsx250(VisuallyHidden10, { children: /* @__PURE__ */ jsx250("input", { ref, ...inputProps, ...tid.value }) })
30398
30431
  ] })
30399
30432
  });
30400
30433
  }
@@ -30489,6 +30522,7 @@ export {
30489
30522
  DnDGridItemHandle,
30490
30523
  DocumentScrollOverlayRightPaneLayout,
30491
30524
  DocumentTitleProvider,
30525
+ DocumentUploadIllustration,
30492
30526
  EXPANDABLE_HEADER,
30493
30527
  EditColumnsButton,
30494
30528
  EnvironmentBanner,