@homebound/beam 3.75.1 → 3.76.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -43,7 +43,9 @@ __export(index_exports, {
43
43
  AvatarGroup: () => AvatarGroup,
44
44
  Banner: () => Banner,
45
45
  BaseFilter: () => BaseFilter,
46
+ BeamLogo: () => BeamLogo,
46
47
  BeamProvider: () => BeamProvider,
48
+ BlueprintAiLogo: () => BlueprintAiLogo,
47
49
  BoundCheckboxField: () => BoundCheckboxField,
48
50
  BoundCheckboxGroupField: () => BoundCheckboxGroupField,
49
51
  BoundChipSelectField: () => BoundChipSelectField,
@@ -24516,36 +24518,11 @@ function ContentHeader(props) {
24516
24518
  ] });
24517
24519
  }
24518
24520
 
24519
- // src/components/HomeboundLogo.tsx
24520
- var import_runtime114 = require("@homebound/truss/runtime");
24521
- var import_jsx_runtime188 = require("react/jsx-runtime");
24522
- var __maybeInc21 = (inc) => {
24523
- return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
24524
- };
24525
- function HomeboundLogo(props) {
24526
- const {
24527
- fill = "currentColor",
24528
- width: width2 = "auto",
24529
- height = "auto"
24530
- } = props;
24531
- return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime114.trussProps)({
24532
- fill: ["fill_var", {
24533
- "--fill": (0, import_runtime114.maybeCssVar)(fill)
24534
- }],
24535
- width: ["w_var", {
24536
- "--width": (0, import_runtime114.maybeCssVar)(__maybeInc21(width2))
24537
- }],
24538
- height: ["h_var", {
24539
- "--height": (0, import_runtime114.maybeCssVar)(__maybeInc21(height))
24540
- }]
24541
- }), children: /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("path", { d: "M158.1,97.6H0.2L0,39.7L76.8,0l68,38.7l-3.1,5.3l-65-37L6.2,43.4l0.2,48h151.7V97.6z" }) });
24542
- }
24543
-
24544
24521
  // src/components/JumpLink.tsx
24545
24522
  var import_react136 = require("react");
24546
24523
  var import_react_aria60 = require("react-aria");
24547
- var import_runtime115 = require("@homebound/truss/runtime");
24548
- var import_jsx_runtime189 = require("react/jsx-runtime");
24524
+ var import_runtime114 = require("@homebound/truss/runtime");
24525
+ var import_jsx_runtime188 = require("react/jsx-runtime");
24549
24526
  function JumpLink(props) {
24550
24527
  const {
24551
24528
  label,
@@ -24587,14 +24564,14 @@ function JumpLink(props) {
24587
24564
  });
24588
24565
  }
24589
24566
  }
24590
- return /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("a", { ref, ...(0, import_react_aria60.mergeProps)(linkProps, focusProps, hoverProps), ...tid, ...(0, import_runtime115.trussProps)({
24567
+ return /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("a", { ref, ...(0, import_react_aria60.mergeProps)(linkProps, focusProps, hoverProps), ...tid, ...(0, import_runtime114.trussProps)({
24591
24568
  ...jumpLinkStyles.baseStyles,
24592
24569
  ...active && jumpLinkStyles.activeStyles,
24593
24570
  ...isHovered && !disabled && jumpLinkStyles.hoverStyles,
24594
24571
  ...isFocusVisible && jumpLinkStyles.focusStyles,
24595
24572
  ...disabled && jumpLinkStyles.disabledStyles,
24596
24573
  ...disabled && active && jumpLinkStyles.disabledActiveStyles
24597
- }), children: /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2", children: label }) });
24574
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime188.jsx)("span", { className: "oh d_negwebkit_box wbo_vertical to_ellipsis wlc_2", children: label }) });
24598
24575
  }
24599
24576
  var jumpLinkStyles = {
24600
24577
  baseStyles: {
@@ -24641,11 +24618,112 @@ var jumpLinkStyles = {
24641
24618
  }
24642
24619
  };
24643
24620
 
24644
- // src/components/MaxLines.tsx
24621
+ // src/components/Logos/BeamLogo.tsx
24622
+ var import_runtime115 = require("@homebound/truss/runtime");
24623
+ var import_jsx_runtime189 = require("react/jsx-runtime");
24624
+ var __maybeInc21 = (inc) => {
24625
+ return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
24626
+ };
24627
+ function BeamLogo(props) {
24628
+ const {
24629
+ fill = "currentColor",
24630
+ width: width2 = "auto",
24631
+ height = "auto"
24632
+ } = props;
24633
+ return /* @__PURE__ */ (0, import_jsx_runtime189.jsxs)("svg", { viewBox: "0 0 500 500", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime115.trussProps)({
24634
+ fill: ["fill_var", {
24635
+ "--fill": (0, import_runtime115.maybeCssVar)(fill)
24636
+ }],
24637
+ width: ["w_var", {
24638
+ "--width": (0, import_runtime115.maybeCssVar)(__maybeInc21(width2))
24639
+ }],
24640
+ height: ["h_var", {
24641
+ "--height": (0, import_runtime115.maybeCssVar)(__maybeInc21(height))
24642
+ }]
24643
+ }), children: [
24644
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("rect", { x: "10", y: "90", width: "32", height: "320" }),
24645
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("rect", { x: "122", y: "172", width: "32", height: "158" }),
24646
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("rect", { x: "346", y: "172", width: "32", height: "158" }),
24647
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("rect", { x: "458", y: "90", width: "32", height: "320" }),
24648
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("rect", { x: "10", y: "90", width: "480", height: "32" }),
24649
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("rect", { x: "10", y: "378", width: "480", height: "32" }),
24650
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("rect", { x: "10", y: "172", width: "480", height: "32" }),
24651
+ /* @__PURE__ */ (0, import_jsx_runtime189.jsx)("rect", { x: "10", y: "298", width: "480", height: "32" })
24652
+ ] });
24653
+ }
24654
+
24655
+ // src/components/Logos/BlueprintAiLogo.tsx
24645
24656
  var import_utils156 = require("@react-aria/utils");
24646
- var import_react137 = require("react");
24647
24657
  var import_runtime116 = require("@homebound/truss/runtime");
24648
24658
  var import_jsx_runtime190 = require("react/jsx-runtime");
24659
+ var __maybeInc22 = (inc) => {
24660
+ return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
24661
+ };
24662
+ function BlueprintAiLogo(props) {
24663
+ const {
24664
+ width: width2 = "auto",
24665
+ height = "auto"
24666
+ } = props;
24667
+ const gradientId = (0, import_utils156.useId)();
24668
+ return /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)("svg", { viewBox: "0 0 207 40", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime116.trussProps)({
24669
+ width: ["w_var", {
24670
+ "--width": (0, import_runtime116.maybeCssVar)(__maybeInc22(width2))
24671
+ }],
24672
+ height: ["h_var", {
24673
+ "--height": (0, import_runtime116.maybeCssVar)(__maybeInc22(height))
24674
+ }]
24675
+ }), children: [
24676
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)("g", { transform: "translate(0.32171630859375, 3)", fill: `url(#${gradientId})`, children: [
24677
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M17.2834 12.4731L25.9591 3.79741C26.4761 3.2804 27.3148 3.28029 27.8319 3.79741L27.9224 3.89763C28.3464 4.41754 28.3169 5.18521 27.8319 5.67026L18.7856 14.7166H30.6756C31.4069 14.7166 32 15.3096 32 16.0409C31.9998 16.7719 31.407 17.3653 30.6756 17.3653H19.3545L27.5075 25.5183L27.5991 25.6196C27.9937 26.1046 27.9936 26.8039 27.5991 27.2888L27.5075 27.3901C26.9904 27.9072 26.1518 27.9072 25.6347 27.3901L17.2834 19.0388V30.6756C17.2834 31.4069 16.6904 32 15.9591 32C15.2281 31.9998 14.6347 31.407 14.6347 30.6756V18.8664L6.15733 27.3437C5.67242 27.8287 4.90483 27.8588 4.3847 27.4343L4.28448 27.3437C3.76784 26.8267 3.76779 25.989 4.28448 25.472L12.3912 17.3653H1.32435C0.638773 17.3653 0.0745504 16.8441 0.00646552 16.1767L0 16.0409C0 15.3096 0.593052 14.7166 1.32435 14.7166H12.9601L3.96013 5.71659C3.44299 5.19946 3.44322 4.3608 3.96013 3.84375L4.06034 3.75323C4.58047 3.32871 5.34806 3.35884 5.83297 3.84375L14.6347 12.6455V1.32435C14.6347 0.592974 15.2281 0.000199548 15.9591 0C16.6904 3.28853e-08 17.2834 0.593052 17.2834 1.32435V12.4731Z" }),
24678
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M202.994 28.2798V3.31983H206.322V28.2798H202.994Z" }),
24679
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M174.792 28.2798L185.928 3.31983H190.024L201.16 28.2798H197.48L194.664 21.9118H181.32L178.472 28.2798H174.792ZM182.696 18.7438H193.288L187.976 6.80783L182.696 18.7438Z" }),
24680
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M165.349 28.2478C160.581 28.6958 158.053 28.5038 158.149 23.7998V14.5198H154.597V11.6398H158.149V7.15983H161.413V11.6398H166.181V14.5198H161.413V22.5838C161.413 25.3358 161.541 25.6878 165.349 25.3998V28.2478Z" }),
24681
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M138.102 28.2798V11.6398H141.366V14.4878C142.55 12.4718 144.47 11.1278 147.222 11.1278C151.254 11.1278 153.334 13.5918 153.334 18.3598V28.2798H150.038V18.4558C150.038 15.6718 148.694 13.9118 146.262 13.9118C143.318 13.9118 141.366 16.5038 141.366 20.0558V28.2798H138.102Z" }),
24682
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M133.364 9.11183C132.052 9.11183 131.028 8.11983 131.028 6.80783C131.028 5.52783 132.052 4.50383 133.364 4.50383C134.676 4.50383 135.668 5.52783 135.668 6.80783C135.668 8.11983 134.612 9.11183 133.364 9.11183ZM131.764 28.2798V11.6398H134.996V28.2798H131.764Z" }),
24683
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M120.958 28.2798V11.6398H124.062V14.8078C125.15 12.5678 127.422 11.4478 130.718 11.4478V14.4878C126.782 14.4878 124.062 15.8958 124.062 18.9038V28.2798H120.958Z" }),
24684
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M102.558 34.6798V11.6398H105.822V14.2318C106.974 12.2798 108.894 11.0958 111.326 11.1278C115.678 11.1278 118.75 14.8078 118.75 20.0238C118.75 25.1438 115.678 28.7918 111.326 28.7918C108.894 28.7918 106.974 27.6078 105.822 25.6878V34.6798H102.558ZM110.622 26.0078C113.502 26.0078 115.518 23.5118 115.518 19.9918C115.518 16.4398 113.502 13.9118 110.622 13.9118C107.742 13.9118 105.694 16.4398 105.694 19.9918C105.694 23.5118 107.742 26.0078 110.622 26.0078Z" }),
24685
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M92.5547 28.7918C87.5947 28.7918 84.3307 25.1118 84.3307 19.9278C84.3307 14.7758 87.5947 11.1278 92.5547 11.1278C96.6187 11.1278 100.043 14.1678 100.043 19.7038V20.9838H87.6907C87.9147 24.0238 89.4827 26.1038 92.5547 26.1038C94.7947 26.1038 96.2987 24.7918 96.6187 23.4478H99.8507C99.3387 26.3918 96.4907 28.7918 92.5547 28.7918ZM87.6907 18.5518H96.7787C96.6507 15.8318 94.9227 13.9118 92.4587 13.9118C89.6107 13.9118 88.1067 15.7678 87.6907 18.5518Z" }),
24686
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M81.796 11.6398V28.2798H78.564V25.4318C77.38 27.4478 75.428 28.7918 72.676 28.7918C68.644 28.7918 66.596 26.3278 66.596 21.5598V11.6398H69.86V21.4638C69.86 24.2478 71.236 26.0078 73.636 26.0078C76.58 26.0078 78.564 23.4158 78.564 19.8638V11.6398H81.796Z" }),
24687
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M60.452 28.2798V2.99983H63.716V28.2798H60.452Z" }),
24688
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("path", { d: "M53.104 15.2238C56.048 15.8638 57.68 18.2638 57.68 21.4318C57.68 25.4638 54.384 28.2798 49.68 28.2798H38V3.31983H48.848C53.68 3.31983 56.624 5.62383 56.624 9.65583C56.624 12.4078 55.248 14.4558 53.104 15.2238ZM41.328 6.48783V14.0398H47.952C51.312 14.0398 53.168 12.7278 53.168 10.1358C53.168 7.60783 51.28 6.48783 47.792 6.48783H41.328ZM48.72 25.1118C52.24 25.1118 54.16 23.5438 54.16 20.7598C54.16 18.2638 52.272 16.9838 48.848 16.9838H41.328V25.1118H48.72Z" })
24689
+ ] }),
24690
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)("linearGradient", { id: gradientId, x1: "47.4999", y1: "35", x2: "51.8397", y2: "-28.0595", gradientUnits: "userSpaceOnUse", children: [
24691
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("stop", { offset: "0.135528", stopColor: "rgba(91, 33, 182, 1)" /* Purple800 */ }),
24692
+ /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("stop", { offset: "0.705975", stopColor: "rgba(37, 99, 235, 1)" /* Blue600 */ })
24693
+ ] }) })
24694
+ ] });
24695
+ }
24696
+
24697
+ // src/components/Logos/HomeboundLogo.tsx
24698
+ var import_runtime117 = require("@homebound/truss/runtime");
24699
+ var import_jsx_runtime191 = require("react/jsx-runtime");
24700
+ var __maybeInc23 = (inc) => {
24701
+ return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
24702
+ };
24703
+ function HomeboundLogo(props) {
24704
+ const {
24705
+ fill = "currentColor",
24706
+ width: width2 = "auto",
24707
+ height = "auto"
24708
+ } = props;
24709
+ return /* @__PURE__ */ (0, import_jsx_runtime191.jsx)("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime117.trussProps)({
24710
+ fill: ["fill_var", {
24711
+ "--fill": (0, import_runtime117.maybeCssVar)(fill)
24712
+ }],
24713
+ width: ["w_var", {
24714
+ "--width": (0, import_runtime117.maybeCssVar)(__maybeInc23(width2))
24715
+ }],
24716
+ height: ["h_var", {
24717
+ "--height": (0, import_runtime117.maybeCssVar)(__maybeInc23(height))
24718
+ }]
24719
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime191.jsx)("path", { d: "M158.1,97.6H0.2L0,39.7L76.8,0l68,38.7l-3.1,5.3l-65-37L6.2,43.4l0.2,48h151.7V97.6z" }) });
24720
+ }
24721
+
24722
+ // src/components/MaxLines.tsx
24723
+ var import_utils157 = require("@react-aria/utils");
24724
+ var import_react137 = require("react");
24725
+ var import_runtime118 = require("@homebound/truss/runtime");
24726
+ var import_jsx_runtime192 = require("react/jsx-runtime");
24649
24727
  function MaxLines({
24650
24728
  maxLines,
24651
24729
  children
@@ -24653,7 +24731,7 @@ function MaxLines({
24653
24731
  const elRef = (0, import_react137.useRef)(null);
24654
24732
  const [hasMore, setHasMore] = (0, import_react137.useState)(false);
24655
24733
  const [expanded, setExpanded] = (0, import_react137.useState)(false);
24656
- (0, import_utils156.useLayoutEffect)(() => {
24734
+ (0, import_utils157.useLayoutEffect)(() => {
24657
24735
  if (!elRef.current) return;
24658
24736
  setHasMore(elRef.current.scrollHeight > elRef.current.clientHeight);
24659
24737
  }, []);
@@ -24664,15 +24742,15 @@ function MaxLines({
24664
24742
  if (!elRef.current) return;
24665
24743
  !expanded && setHasMore(elRef.current.scrollHeight > elRef.current.clientHeight);
24666
24744
  }, [expanded]);
24667
- (0, import_utils156.useResizeObserver)({
24745
+ (0, import_utils157.useResizeObserver)({
24668
24746
  ref: elRef,
24669
24747
  onResize
24670
24748
  });
24671
- return /* @__PURE__ */ (0, import_jsx_runtime190.jsxs)("div", { children: [
24672
- /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("div", { ref: elRef, ...(0, import_runtime116.trussProps)({
24749
+ return /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)("div", { children: [
24750
+ /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("div", { ref: elRef, ...(0, import_runtime118.trussProps)({
24673
24751
  ...!expanded ? {
24674
24752
  WebkitLineClamp: ["lineClamp_var", {
24675
- "--WebkitLineClamp": (0, import_runtime116.maybeCssVar)(maxLines)
24753
+ "--WebkitLineClamp": (0, import_runtime118.maybeCssVar)(maxLines)
24676
24754
  }],
24677
24755
  overflow: "oh",
24678
24756
  display: "d_negwebkit_box",
@@ -24680,7 +24758,7 @@ function MaxLines({
24680
24758
  textOverflow: "to_ellipsis"
24681
24759
  } : {}
24682
24760
  }), children }),
24683
- hasMore && /* @__PURE__ */ (0, import_jsx_runtime190.jsx)("button", { className: "db fw4 fz_14px lh_20px", onClick: () => setExpanded((prev) => !prev), children: expanded ? "Show Less" : "Show More" })
24761
+ hasMore && /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("button", { className: "db fw4 fz_14px lh_20px", onClick: () => setExpanded((prev) => !prev), children: expanded ? "Show Less" : "Show More" })
24684
24762
  ] });
24685
24763
  }
24686
24764
 
@@ -24688,15 +24766,15 @@ function MaxLines({
24688
24766
  var import_change_case8 = require("change-case");
24689
24767
 
24690
24768
  // src/components/AppNav/AppNavGroup.tsx
24691
- var import_utils158 = require("@react-aria/utils");
24769
+ var import_utils159 = require("@react-aria/utils");
24692
24770
  var import_change_case7 = require("change-case");
24693
24771
  var import_react140 = require("react");
24694
24772
 
24695
24773
  // src/components/AppNav/AppNavGroupTrigger.tsx
24696
24774
  var import_react138 = require("react");
24697
24775
  var import_react_aria61 = require("react-aria");
24698
- var import_runtime117 = require("@homebound/truss/runtime");
24699
- var import_jsx_runtime191 = require("react/jsx-runtime");
24776
+ var import_runtime119 = require("@homebound/truss/runtime");
24777
+ var import_jsx_runtime193 = require("react/jsx-runtime");
24700
24778
  function AppNavGroupTrigger(props) {
24701
24779
  const {
24702
24780
  label,
@@ -24728,11 +24806,11 @@ function AppNavGroupTrigger(props) {
24728
24806
  hoverStyles: hoverStyles4,
24729
24807
  pressedStyles: pressedStyles2
24730
24808
  } = (0, import_react138.useMemo)(() => getNavLinkStyles("side"), []);
24731
- return /* @__PURE__ */ (0, import_jsx_runtime191.jsxs)("button", { type: "button", ...(0, import_react_aria61.mergeProps)(buttonProps, focusProps, hoverProps, tid.trigger, {
24809
+ return /* @__PURE__ */ (0, import_jsx_runtime193.jsxs)("button", { type: "button", ...(0, import_react_aria61.mergeProps)(buttonProps, focusProps, hoverProps, tid.trigger, {
24732
24810
  ref,
24733
24811
  "aria-expanded": expanded,
24734
24812
  "aria-controls": navGroupId,
24735
- ...(0, import_runtime117.mergeProps)(navLink, void 0, {
24813
+ ...(0, import_runtime119.mergeProps)(navLink, void 0, {
24736
24814
  ...baseStyles4,
24737
24815
  ...isFocusVisible && focusRingStyles2,
24738
24816
  ...isHovered && hoverStyles4,
@@ -24746,7 +24824,7 @@ function AppNavGroupTrigger(props) {
24746
24824
  })
24747
24825
  }), children: [
24748
24826
  label,
24749
- /* @__PURE__ */ (0, import_jsx_runtime191.jsx)("div", { ...(0, import_runtime117.trussProps)({
24827
+ /* @__PURE__ */ (0, import_jsx_runtime193.jsx)("div", { ...(0, import_runtime119.trussProps)({
24750
24828
  ...{
24751
24829
  display: "df",
24752
24830
  alignItems: "aic",
@@ -24756,7 +24834,7 @@ function AppNavGroupTrigger(props) {
24756
24834
  ...props.expanded ? {
24757
24835
  transform: "transform_rotate_180deg"
24758
24836
  } : {}
24759
- }), children: /* @__PURE__ */ (0, import_jsx_runtime191.jsx)(Icon, { icon: "chevronDown" }) })
24837
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(Icon, { icon: "chevronDown" }) })
24760
24838
  ] });
24761
24839
  }
24762
24840
 
@@ -24899,9 +24977,9 @@ function useAppNavGroupExpanded(linkGroup) {
24899
24977
  }
24900
24978
 
24901
24979
  // src/components/AppNav/AppNavGroup.tsx
24902
- var import_runtime118 = require("@homebound/truss/runtime");
24903
- var import_jsx_runtime192 = require("react/jsx-runtime");
24904
- var __maybeInc22 = (inc) => {
24980
+ var import_runtime120 = require("@homebound/truss/runtime");
24981
+ var import_jsx_runtime194 = require("react/jsx-runtime");
24982
+ var __maybeInc24 = (inc) => {
24905
24983
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
24906
24984
  };
24907
24985
  function AppNavGroupView(props) {
@@ -24911,9 +24989,9 @@ function AppNavGroupView(props) {
24911
24989
  } = props;
24912
24990
  const tid = useTestIds(props, "linkGroup");
24913
24991
  if (panelCollapsed) {
24914
- return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(import_jsx_runtime192.Fragment, { children: appNavLinkGroupLinks(linkGroup).map((link) => /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(NavLink, { variant: "side", ...link, iconOnly: !!link.icon, ...tid[`link_${(0, import_change_case7.camelCase)(link.label)}`] }, link.label)) });
24992
+ return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(import_jsx_runtime194.Fragment, { children: appNavLinkGroupLinks(linkGroup).map((link) => /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(NavLink, { variant: "side", ...link, iconOnly: !!link.icon, ...tid[`link_${(0, import_change_case7.camelCase)(link.label)}`] }, link.label)) });
24915
24993
  }
24916
- return /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(AppNavGroupDisclosure, { ...props });
24994
+ return /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(AppNavGroupDisclosure, { ...props });
24917
24995
  }
24918
24996
  function AppNavGroupDisclosure(props) {
24919
24997
  const {
@@ -24938,31 +25016,31 @@ function AppNavGroupDisclosure(props) {
24938
25016
  setContentHeight(`${contentEl.scrollHeight}px`);
24939
25017
  }
24940
25018
  }, [expanded, contentEl]);
24941
- (0, import_utils158.useResizeObserver)({
25019
+ (0, import_utils159.useResizeObserver)({
24942
25020
  ref: contentRef,
24943
25021
  onResize
24944
25022
  });
24945
- return /* @__PURE__ */ (0, import_jsx_runtime192.jsxs)("div", { className: "df fdc", ...tid, children: [
24946
- /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(AppNavGroupTrigger, { label: linkGroup.label, navGroupId, expanded, active: linkGroupHasActiveLink(linkGroup), onClick: onToggle, ...tid }),
24947
- /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...(0, import_runtime118.trussProps)({
25023
+ return /* @__PURE__ */ (0, import_jsx_runtime194.jsxs)("div", { className: "df fdc", ...tid, children: [
25024
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(AppNavGroupTrigger, { label: linkGroup.label, navGroupId, expanded, active: linkGroupHasActiveLink(linkGroup), onClick: onToggle, ...tid }),
25025
+ /* @__PURE__ */ (0, import_jsx_runtime194.jsx)("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...(0, import_runtime120.trussProps)({
24948
25026
  overflow: "oh",
24949
25027
  transition: "transitionHeight",
24950
25028
  height: ["h_var", {
24951
- "--height": (0, import_runtime118.maybeCssVar)(__maybeInc22(contentHeight))
25029
+ "--height": (0, import_runtime120.maybeCssVar)(__maybeInc24(contentHeight))
24952
25030
  }]
24953
25031
  }), ...tid.panel, ...!expanded ? {
24954
25032
  inert: "true"
24955
- } : {}, children: /* @__PURE__ */ (0, import_jsx_runtime192.jsx)("div", { ref: setContentEl, className: "df fdc", children: /* @__PURE__ */ (0, import_jsx_runtime192.jsx)(AppNavItems, { items: linkGroup.items, panelCollapsed: false, nested: true, ...tid }) }) })
25033
+ } : {}, children: /* @__PURE__ */ (0, import_jsx_runtime194.jsx)("div", { ref: setContentEl, className: "df fdc", children: /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(AppNavItems, { items: linkGroup.items, panelCollapsed: false, nested: true, ...tid }) }) })
24956
25034
  ] });
24957
25035
  }
24958
25036
 
24959
25037
  // src/components/AppNav/AppNavGroupMenu.tsx
24960
- var import_jsx_runtime193 = require("react/jsx-runtime");
25038
+ var import_jsx_runtime195 = require("react/jsx-runtime");
24961
25039
  function AppNavGroupMenu({
24962
25040
  linkGroup,
24963
25041
  ...tid
24964
25042
  }) {
24965
- return /* @__PURE__ */ (0, import_jsx_runtime193.jsx)(
25043
+ return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
24966
25044
  ButtonMenu,
24967
25045
  {
24968
25046
  trigger: {
@@ -24978,8 +25056,8 @@ function AppNavGroupMenu({
24978
25056
  }
24979
25057
 
24980
25058
  // src/components/AppNav/AppNavSectionView.tsx
24981
- var import_runtime119 = require("@homebound/truss/runtime");
24982
- var import_jsx_runtime194 = require("react/jsx-runtime");
25059
+ var import_runtime121 = require("@homebound/truss/runtime");
25060
+ var import_jsx_runtime196 = require("react/jsx-runtime");
24983
25061
  function AppNavSectionView(props) {
24984
25062
  const {
24985
25063
  section,
@@ -25005,7 +25083,7 @@ function AppNavSectionView(props) {
25005
25083
  "--borderColor": "var(--b-surface-separator)"
25006
25084
  }]
25007
25085
  };
25008
- return /* @__PURE__ */ (0, import_jsx_runtime194.jsxs)("div", { ...(0, import_runtime119.trussProps)({
25086
+ return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)("div", { ...(0, import_runtime121.trussProps)({
25009
25087
  ...{
25010
25088
  display: "df",
25011
25089
  flexDirection: "fdc",
@@ -25013,7 +25091,7 @@ function AppNavSectionView(props) {
25013
25091
  },
25014
25092
  ...showDivider ? dividerStyles : {}
25015
25093
  }), ...tid, children: [
25016
- section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ (0, import_jsx_runtime194.jsx)("div", { ...(0, import_runtime119.trussProps)({
25094
+ section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("div", { ...(0, import_runtime121.trussProps)({
25017
25095
  fontWeight: "fw6",
25018
25096
  fontSize: "fz_10px",
25019
25097
  lineHeight: "lh_14px",
@@ -25026,18 +25104,18 @@ function AppNavSectionView(props) {
25026
25104
  paddingBottom: "pb1",
25027
25105
  textTransform: "ttu"
25028
25106
  }), ...tid.label, children: section.label }),
25029
- /* @__PURE__ */ (0, import_jsx_runtime194.jsx)(AppNavItems, { ...scopeProps, items: section.items, variant, panelCollapsed, nested })
25107
+ /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(AppNavItems, { ...scopeProps, items: section.items, variant, panelCollapsed, nested })
25030
25108
  ] });
25031
25109
  }
25032
25110
 
25033
25111
  // src/components/AppNav/AppNavItems.tsx
25034
- var import_jsx_runtime195 = require("react/jsx-runtime");
25112
+ var import_jsx_runtime197 = require("react/jsx-runtime");
25035
25113
  function AppNavItems(props) {
25036
25114
  const { items, variant = "side", panelCollapsed = false, nested = false } = props;
25037
25115
  const tid = useTestIds(props, "appNav");
25038
- return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(import_jsx_runtime195.Fragment, { children: items.map((item, idx) => {
25116
+ return /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(import_jsx_runtime197.Fragment, { children: items.map((item, idx) => {
25039
25117
  if (isAppNavLink(item)) {
25040
- return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
25118
+ return /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
25041
25119
  NavLink,
25042
25120
  {
25043
25121
  variant,
@@ -25050,7 +25128,7 @@ function AppNavItems(props) {
25050
25128
  );
25051
25129
  }
25052
25130
  if (isAppNavGroup(item)) {
25053
- return variant === "global" ? /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(AppNavGroupMenu, { linkGroup: item, ...tid.linkGroup }, appNavItemKey(item)) : /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
25131
+ return variant === "global" ? /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(AppNavGroupMenu, { linkGroup: item, ...tid.linkGroup }, appNavItemKey(item)) : /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
25054
25132
  AppNavGroupView,
25055
25133
  {
25056
25134
  linkGroup: item,
@@ -25061,7 +25139,7 @@ function AppNavItems(props) {
25061
25139
  );
25062
25140
  }
25063
25141
  if (isAppNavSection(item)) {
25064
- return /* @__PURE__ */ (0, import_jsx_runtime195.jsx)(
25142
+ return /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(
25065
25143
  AppNavSectionView,
25066
25144
  {
25067
25145
  section: item,
@@ -25084,8 +25162,8 @@ var import_react141 = require("react");
25084
25162
  var import_react_aria62 = require("react-aria");
25085
25163
  var import_react_dom7 = require("react-dom");
25086
25164
  var import_react_router_dom7 = require("react-router-dom");
25087
- var import_runtime120 = require("@homebound/truss/runtime");
25088
- var import_jsx_runtime196 = require("react/jsx-runtime");
25165
+ var import_runtime122 = require("@homebound/truss/runtime");
25166
+ var import_jsx_runtime198 = require("react/jsx-runtime");
25089
25167
  function NavbarMobileMenu(props) {
25090
25168
  const {
25091
25169
  items
@@ -25103,11 +25181,11 @@ function NavbarMobileMenu(props) {
25103
25181
  setIsOpen(false);
25104
25182
  }, [pathname, search]);
25105
25183
  const close = () => setIsOpen(false);
25106
- return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)(import_jsx_runtime196.Fragment, { children: [
25107
- /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(IconButton, { icon: isOpen ? "menuClose" : "menu", color: "--b-on-surface-muted" /* OnSurfaceMuted */, label: isOpen ? "Close navigation" : "Open navigation", onClick: () => setIsOpen((open) => !open), ...tid.mobileMenu }),
25184
+ return /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(import_jsx_runtime198.Fragment, { children: [
25185
+ /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(IconButton, { icon: isOpen ? "menuClose" : "menu", color: "--b-on-surface-muted" /* OnSurfaceMuted */, label: isOpen ? "Close navigation" : "Open navigation", onClick: () => setIsOpen((open) => !open), ...tid.mobileMenu }),
25108
25186
  (0, import_react_dom7.createPortal)(
25109
25187
  /* AnimatePresence keeps the drawer mounted through its slide/fade-out before unmounting.*/
25110
- /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(import_framer_motion6.AnimatePresence, { children: isOpen && /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(NavbarMobileDrawer, { items, onClose: close, tid }) }),
25188
+ /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(import_framer_motion6.AnimatePresence, { children: isOpen && /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(NavbarMobileDrawer, { items, onClose: close, tid }) }),
25111
25189
  document.body
25112
25190
  )
25113
25191
  ] });
@@ -25121,14 +25199,14 @@ function NavbarMobileDrawer({
25121
25199
  const overlayTopStyle = {
25122
25200
  top: bannerHeightPx
25123
25201
  };
25124
- return /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)(import_jsx_runtime196.Fragment, { children: [
25125
- /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(import_framer_motion6.motion.div, { ...(0, import_runtime120.mergeProps)(void 0, overlayTopStyle, {
25202
+ return /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(import_jsx_runtime198.Fragment, { children: [
25203
+ /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(import_framer_motion6.motion.div, { ...(0, import_runtime122.mergeProps)(void 0, overlayTopStyle, {
25126
25204
  position: "fixed",
25127
25205
  right: "right0",
25128
25206
  bottom: "bottom0",
25129
25207
  left: "left0",
25130
25208
  zIndex: ["z_var", {
25131
- "--zIndex": (0, import_runtime120.maybeCssVar)(zIndices.navbarMobileMenuScrim)
25209
+ "--zIndex": (0, import_runtime122.maybeCssVar)(zIndices.navbarMobileMenuScrim)
25132
25210
  }],
25133
25211
  backgroundColor: ["bgColor_var", {
25134
25212
  "--backgroundColor": "var(--b-scrim)"
@@ -25143,7 +25221,7 @@ function NavbarMobileDrawer({
25143
25221
  ease: "linear",
25144
25222
  duration: 0.2
25145
25223
  }, onClick: onClose, ...tid.mobileMenuScrim }, "navbarMobileMenuScrim"),
25146
- /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(import_react_aria62.FocusScope, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime196.jsxs)(import_framer_motion6.motion.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...(0, import_runtime120.mergeProps)(void 0, overlayTopStyle, {
25224
+ /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(import_react_aria62.FocusScope, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)(import_framer_motion6.motion.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...(0, import_runtime122.mergeProps)(void 0, overlayTopStyle, {
25147
25225
  position: "fixed",
25148
25226
  bottom: "bottom0",
25149
25227
  left: "left0",
@@ -25153,7 +25231,7 @@ function NavbarMobileDrawer({
25153
25231
  width: "w_260px",
25154
25232
  overflow: "oh",
25155
25233
  zIndex: ["z_var", {
25156
- "--zIndex": (0, import_runtime120.maybeCssVar)(zIndices.navbarMobileMenu)
25234
+ "--zIndex": (0, import_runtime122.maybeCssVar)(zIndices.navbarMobileMenu)
25157
25235
  }],
25158
25236
  backgroundColor: ["bgColor_var", {
25159
25237
  "--backgroundColor": "var(--b-surface)"
@@ -25168,7 +25246,7 @@ function NavbarMobileDrawer({
25168
25246
  ease: "linear",
25169
25247
  duration: 0.2
25170
25248
  }, onClick: (e) => e.stopPropagation(), ...tid.mobileMenuDrawer, children: [
25171
- /* @__PURE__ */ (0, import_jsx_runtime196.jsx)("div", { ...(0, import_runtime120.trussProps)({
25249
+ /* @__PURE__ */ (0, import_jsx_runtime198.jsx)("div", { ...(0, import_runtime122.trussProps)({
25172
25250
  ...{
25173
25251
  display: "df",
25174
25252
  alignItems: "aic",
@@ -25183,11 +25261,11 @@ function NavbarMobileDrawer({
25183
25261
  }]
25184
25262
  },
25185
25263
  ...pageContentPaddingX
25186
- }), children: /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(IconButton, { icon: "x", color: "--b-on-surface-muted" /* OnSurfaceMuted */, label: "Close navigation", onClick: onClose, ...tid.mobileMenuClose }) }),
25187
- /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(
25264
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(IconButton, { icon: "x", color: "--b-on-surface-muted" /* OnSurfaceMuted */, label: "Close navigation", onClick: onClose, ...tid.mobileMenuClose }) }),
25265
+ /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(
25188
25266
  "nav",
25189
25267
  {
25190
- ...(0, import_runtime120.trussProps)({
25268
+ ...(0, import_runtime122.trussProps)({
25191
25269
  ...{
25192
25270
  flexGrow: "fg1",
25193
25271
  overflowY: "oya",
@@ -25205,7 +25283,7 @@ function NavbarMobileDrawer({
25205
25283
  }
25206
25284
  },
25207
25285
  ...tid.mobileMenuPanel,
25208
- children: /* @__PURE__ */ (0, import_jsx_runtime196.jsx)(AppNavItems, { items, panelCollapsed: false, ...tid })
25286
+ children: /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(AppNavItems, { items, panelCollapsed: false, ...tid })
25209
25287
  }
25210
25288
  )
25211
25289
  ] }, "navbarMobileMenuDrawer") })
@@ -25213,8 +25291,8 @@ function NavbarMobileDrawer({
25213
25291
  }
25214
25292
 
25215
25293
  // src/components/Navbar/Navbar.tsx
25216
- var import_runtime121 = require("@homebound/truss/runtime");
25217
- var import_jsx_runtime197 = require("react/jsx-runtime");
25294
+ var import_runtime123 = require("@homebound/truss/runtime");
25295
+ var import_jsx_runtime199 = require("react/jsx-runtime");
25218
25296
  function Navbar(props) {
25219
25297
  const {
25220
25298
  brand,
@@ -25233,7 +25311,7 @@ function Navbar(props) {
25233
25311
  overflows
25234
25312
  } = useContentOverflow(!sm);
25235
25313
  const showMobile = sm || overflows;
25236
- return /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(ContrastScope, { children: /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)("nav", { ...(0, import_runtime121.trussProps)({
25314
+ return /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(ContrastScope, { children: /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("nav", { ...(0, import_runtime123.trussProps)({
25237
25315
  ...{
25238
25316
  backgroundColor: ["bgColor_var", {
25239
25317
  "--backgroundColor": "var(--b-surface-raised)"
@@ -25249,10 +25327,10 @@ function Navbar(props) {
25249
25327
  },
25250
25328
  ...headerContentPaddingX(showMobile)
25251
25329
  }), ...tid, children: [
25252
- /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)("div", { className: "df aic gap3 fg1 mw0", children: [
25253
- /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)("div", { className: "df aic fs0 gap2", children: [
25254
- showMobile && /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(NavbarMobileMenu, { items, ...tid }),
25255
- /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("div", { ...(0, import_runtime121.trussProps)({
25330
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { className: "df aic gap3 fg1 mw0", children: [
25331
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { className: "df aic fs0 gap2", children: [
25332
+ showMobile && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(NavbarMobileMenu, { items, ...tid }),
25333
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { ...(0, import_runtime123.trussProps)({
25256
25334
  flexShrink: "fs0",
25257
25335
  ...hideBrandOnMobile && showMobile ? {
25258
25336
  display: "dn"
@@ -25261,7 +25339,7 @@ function Navbar(props) {
25261
25339
  ] }),
25262
25340
  !sm && // Stays mounted while overflowing (hidden) so the items remain measurable and the bar
25263
25341
  // can expand again as space frees up.
25264
- /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("div", { ref: containerRef, ...(0, import_runtime121.trussProps)({
25342
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { ref: containerRef, ...(0, import_runtime123.trussProps)({
25265
25343
  display: "df",
25266
25344
  alignItems: "aic",
25267
25345
  flexGrow: "fg1",
@@ -25270,11 +25348,11 @@ function Navbar(props) {
25270
25348
  ...overflows ? {
25271
25349
  visibility: "visibility_hidden"
25272
25350
  } : {}
25273
- }), ...tid.items, children: /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("div", { ref: contentRef, className: "df aic gap2 width_max_content", children: /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(AppNavItems, { variant: "global", items, ...tid }) }) })
25351
+ }), ...tid.items, children: /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { ref: contentRef, className: "df aic gap2 width_max_content", children: /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(AppNavItems, { variant: "global", items, ...tid }) }) })
25274
25352
  ] }),
25275
- /* @__PURE__ */ (0, import_jsx_runtime197.jsxs)("div", { className: "df aic gap1", children: [
25276
- rightSlot && /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("div", { className: "df aic gap1", ...tid.rightSlot, children: rightSlot }),
25277
- user && /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(NavbarUserMenu, { user, ...tid.userMenu })
25353
+ /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { className: "df aic gap1", children: [
25354
+ rightSlot && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { className: "df aic gap1", ...tid.rightSlot, children: rightSlot }),
25355
+ user && /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(NavbarUserMenu, { user, ...tid.userMenu })
25278
25356
  ] })
25279
25357
  ] }) });
25280
25358
  }
@@ -25282,7 +25360,7 @@ function NavbarUserMenu({
25282
25360
  user,
25283
25361
  ...tid
25284
25362
  }) {
25285
- return /* @__PURE__ */ (0, import_jsx_runtime197.jsx)("div", { className: "df aic fs0 ml1", children: /* @__PURE__ */ (0, import_jsx_runtime197.jsx)(ButtonMenu, { items: user.menuItems, persistentItems: user.persistentItems, trigger: {
25363
+ return /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { className: "df aic fs0 ml1", children: /* @__PURE__ */ (0, import_jsx_runtime199.jsx)(ButtonMenu, { items: user.menuItems, persistentItems: user.persistentItems, trigger: {
25286
25364
  src: user.picture,
25287
25365
  name: user.name,
25288
25366
  size: "sm",
@@ -25291,8 +25369,8 @@ function NavbarUserMenu({
25291
25369
  }
25292
25370
 
25293
25371
  // src/components/Pagination.tsx
25294
- var import_runtime122 = require("@homebound/truss/runtime");
25295
- var import_jsx_runtime198 = require("react/jsx-runtime");
25372
+ var import_runtime124 = require("@homebound/truss/runtime");
25373
+ var import_jsx_runtime200 = require("react/jsx-runtime");
25296
25374
  var defaultPage = {
25297
25375
  offset: 0,
25298
25376
  limit: 100
@@ -25324,7 +25402,7 @@ function Pagination(props) {
25324
25402
  }
25325
25403
  }
25326
25404
  const tid = useTestIds(props, "pagination");
25327
- return /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)("div", { ...(0, import_runtime122.trussProps)({
25405
+ return /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)("div", { ...(0, import_runtime124.trussProps)({
25328
25406
  display: "df",
25329
25407
  borderColor: ["bc_var", {
25330
25408
  "--borderColor": "var(--b-surface-separator)"
@@ -25341,24 +25419,24 @@ function Pagination(props) {
25341
25419
  paddingRight: "pr2",
25342
25420
  paddingTop: "pt2"
25343
25421
  }), ...tid, children: [
25344
- /* @__PURE__ */ (0, import_jsx_runtime198.jsx)("div", { className: "df mta mba mr2", ...tid.pageSizeLabel, children: "Page size:" }),
25345
- /* @__PURE__ */ (0, import_jsx_runtime198.jsx)("div", { className: "w_78px", children: /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(SelectField, { compact: true, label: "Page Size", labelStyle: "hidden", options: pageOptions, value: pageSize, onSelect: (val) => set({
25422
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsx)("div", { className: "df mta mba mr2", ...tid.pageSizeLabel, children: "Page size:" }),
25423
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsx)("div", { className: "w_78px", children: /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(SelectField, { compact: true, label: "Page Size", labelStyle: "hidden", options: pageOptions, value: pageSize, onSelect: (val) => set({
25346
25424
  pageNumber: 1,
25347
25425
  pageSize: val
25348
25426
  }), autoSort: false, ...tid.pageSize }) }),
25349
- /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)("div", { className: "mla mta mba df", children: [
25350
- /* @__PURE__ */ (0, import_jsx_runtime198.jsxs)("div", { className: "df mta mba mr2", ...tid.pageInfoLabel, children: [
25427
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)("div", { className: "mla mta mba df", children: [
25428
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsxs)("div", { className: "df mta mba mr2", ...tid.pageInfoLabel, children: [
25351
25429
  first,
25352
25430
  " ",
25353
25431
  showLast ? `- ${last}` : "",
25354
25432
  " of ",
25355
25433
  totalCount
25356
25434
  ] }),
25357
- /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(IconButton, { icon: "chevronLeft", color: hasPrevPage ? "--b-text-link-default" /* TextLinkDefault */ : "--b-surface-separator" /* SurfaceSeparator */, onClick: () => set({
25435
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(IconButton, { icon: "chevronLeft", color: hasPrevPage ? "--b-text-link-default" /* TextLinkDefault */ : "--b-surface-separator" /* SurfaceSeparator */, onClick: () => set({
25358
25436
  pageNumber: pageNumber - 1,
25359
25437
  pageSize
25360
25438
  }), disabled: !hasPrevPage, ...tid.previousIcon }),
25361
- /* @__PURE__ */ (0, import_jsx_runtime198.jsx)(IconButton, { icon: "chevronRight", color: hasNextPage ? "--b-text-link-default" /* TextLinkDefault */ : "--b-surface-separator" /* SurfaceSeparator */, onClick: () => set({
25439
+ /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(IconButton, { icon: "chevronRight", color: hasNextPage ? "--b-text-link-default" /* TextLinkDefault */ : "--b-surface-separator" /* SurfaceSeparator */, onClick: () => set({
25362
25440
  pageNumber: pageNumber + 1,
25363
25441
  pageSize
25364
25442
  }), disabled: !hasNextPage, ...tid.nextIcon })
@@ -25380,10 +25458,10 @@ function toPageNumberSize(page) {
25380
25458
  }
25381
25459
 
25382
25460
  // src/components/ScrollShadows.tsx
25383
- var import_utils165 = require("@react-aria/utils");
25461
+ var import_utils166 = require("@react-aria/utils");
25384
25462
  var import_react142 = require("react");
25385
- var import_runtime123 = require("@homebound/truss/runtime");
25386
- var import_jsx_runtime199 = require("react/jsx-runtime");
25463
+ var import_runtime125 = require("@homebound/truss/runtime");
25464
+ var import_jsx_runtime201 = require("react/jsx-runtime");
25387
25465
  function ScrollShadows(props) {
25388
25466
  const {
25389
25467
  children,
@@ -25407,7 +25485,7 @@ function ScrollShadows(props) {
25407
25485
  const commonStyles = {
25408
25486
  position: "absolute",
25409
25487
  zIndex: ["z_var", {
25410
- "--zIndex": (0, import_runtime123.maybeCssVar)(zIndices.scrollShadow)
25488
+ "--zIndex": (0, import_runtime125.maybeCssVar)(zIndices.scrollShadow)
25411
25489
  }],
25412
25490
  pointerEvents: "pointerEvents_none"
25413
25491
  };
@@ -25440,7 +25518,7 @@ function ScrollShadows(props) {
25440
25518
  ...startShadowStyles2,
25441
25519
  ...{
25442
25520
  background: ["background_var", {
25443
- "--background": (0, import_runtime123.maybeCssVar)(startGradient)
25521
+ "--background": (0, import_runtime125.maybeCssVar)(startGradient)
25444
25522
  }]
25445
25523
  }
25446
25524
  }, {
@@ -25448,7 +25526,7 @@ function ScrollShadows(props) {
25448
25526
  ...endShadowStyles2,
25449
25527
  ...{
25450
25528
  background: ["background_var", {
25451
- "--background": (0, import_runtime123.maybeCssVar)(endGradient)
25529
+ "--background": (0, import_runtime125.maybeCssVar)(endGradient)
25452
25530
  }]
25453
25531
  }
25454
25532
  }];
@@ -25469,14 +25547,14 @@ function ScrollShadows(props) {
25469
25547
  setShowEndShadow(start + boxSize < end);
25470
25548
  }, [horizontal]);
25471
25549
  const onResize = (0, import_react142.useCallback)(() => scrollRef.current && updateScrollProps(scrollRef.current), [updateScrollProps]);
25472
- (0, import_utils165.useResizeObserver)({
25550
+ (0, import_utils166.useResizeObserver)({
25473
25551
  ref: scrollRef,
25474
25552
  onResize
25475
25553
  });
25476
- return /* @__PURE__ */ (0, import_jsx_runtime199.jsxs)("div", { ...(0, import_runtime123.trussProps)({
25554
+ return /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)("div", { ...(0, import_runtime125.trussProps)({
25477
25555
  display: "df",
25478
25556
  flexDirection: ["fd_var", {
25479
- "--flexDirection": (0, import_runtime123.maybeCssVar)(!horizontal ? "column" : "row")
25557
+ "--flexDirection": (0, import_runtime125.maybeCssVar)(!horizontal ? "column" : "row")
25480
25558
  }],
25481
25559
  position: "relative",
25482
25560
  overflow: "oh",
@@ -25489,23 +25567,23 @@ function ScrollShadows(props) {
25489
25567
  width: width2
25490
25568
  }
25491
25569
  }), ...tid, children: [
25492
- /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { ...(0, import_runtime123.trussProps)({
25570
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)("div", { ...(0, import_runtime125.trussProps)({
25493
25571
  ...startShadowStyles,
25494
25572
  ...{
25495
25573
  opacity: ["o_var", {
25496
- "--opacity": (0, import_runtime123.maybeCssVar)(showStartShadow ? 1 : 0)
25574
+ "--opacity": (0, import_runtime125.maybeCssVar)(showStartShadow ? 1 : 0)
25497
25575
  }]
25498
25576
  }
25499
25577
  }), "data-chromatic": "ignore" }),
25500
- /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { ...(0, import_runtime123.trussProps)({
25578
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)("div", { ...(0, import_runtime125.trussProps)({
25501
25579
  ...endShadowStyles,
25502
25580
  ...{
25503
25581
  opacity: ["o_var", {
25504
- "--opacity": (0, import_runtime123.maybeCssVar)(showEndShadow ? 1 : 0)
25582
+ "--opacity": (0, import_runtime125.maybeCssVar)(showEndShadow ? 1 : 0)
25505
25583
  }]
25506
25584
  }
25507
25585
  }), "data-chromatic": "ignore" }),
25508
- /* @__PURE__ */ (0, import_jsx_runtime199.jsx)("div", { ...(0, import_runtime123.trussProps)({
25586
+ /* @__PURE__ */ (0, import_jsx_runtime201.jsx)("div", { ...(0, import_runtime125.trussProps)({
25509
25587
  ...xss,
25510
25588
  ...{
25511
25589
  overflow: "oa",
@@ -25518,7 +25596,7 @@ function ScrollShadows(props) {
25518
25596
 
25519
25597
  // src/layouts/SideNavLayout/SideNavLayoutContext.tsx
25520
25598
  var import_react143 = require("react");
25521
- var import_jsx_runtime200 = require("react/jsx-runtime");
25599
+ var import_jsx_runtime202 = require("react/jsx-runtime");
25522
25600
  var SIDE_NAV_LAYOUT_STATE_STORAGE_KEY = "beam.sideNavLayout.navState";
25523
25601
  function loadStoredNavState() {
25524
25602
  try {
@@ -25566,7 +25644,7 @@ function SideNavLayoutProvider(props) {
25566
25644
  });
25567
25645
  }, []);
25568
25646
  const value = (0, import_react143.useMemo)(() => ({ navState, setNavState }), [navState, setNavState]);
25569
- return /* @__PURE__ */ (0, import_jsx_runtime200.jsx)(SideNavLayoutContext.Provider, { value, children: props.children });
25647
+ return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(SideNavLayoutContext.Provider, { value, children: props.children });
25570
25648
  }
25571
25649
  function useSideNavLayoutContext() {
25572
25650
  return (0, import_react143.useContext)(SideNavLayoutContext) ?? { navState: "expanded", setNavState: () => {
@@ -25577,8 +25655,8 @@ function useHasSideNavLayoutProvider() {
25577
25655
  }
25578
25656
 
25579
25657
  // src/components/SideNav/SideNav.tsx
25580
- var import_runtime124 = require("@homebound/truss/runtime");
25581
- var import_jsx_runtime201 = require("react/jsx-runtime");
25658
+ var import_runtime126 = require("@homebound/truss/runtime");
25659
+ var import_jsx_runtime203 = require("react/jsx-runtime");
25582
25660
  function SideNav(props) {
25583
25661
  const {
25584
25662
  top,
@@ -25591,8 +25669,8 @@ function SideNav(props) {
25591
25669
  const tid = useTestIds(props, "sideNav");
25592
25670
  const panelCollapsed = navState === "collapse";
25593
25671
  const hideOnCollapse = panelCollapsed && !allItemsHaveIcons(items);
25594
- return /* @__PURE__ */ (0, import_jsx_runtime201.jsxs)("nav", { className: "df fdc h100 fs0", ...tid, children: [
25595
- top !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime201.jsx)("div", { ...(0, import_runtime124.trussProps)({
25672
+ return /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("nav", { className: "df fdc h100 fs0", ...tid, children: [
25673
+ top !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { ...(0, import_runtime126.trussProps)({
25596
25674
  flexShrink: "fs0",
25597
25675
  paddingLeft: "pl2",
25598
25676
  paddingRight: "pr2",
@@ -25603,7 +25681,7 @@ function SideNav(props) {
25603
25681
  paddingBottom: "pb4"
25604
25682
  } : {}
25605
25683
  }), ...tid.top, children: top }),
25606
- /* @__PURE__ */ (0, import_jsx_runtime201.jsx)("div", { ...(0, import_runtime124.trussProps)({
25684
+ /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { ...(0, import_runtime126.trussProps)({
25607
25685
  flexGrow: "fg1",
25608
25686
  overflowY: "oya",
25609
25687
  display: "df",
@@ -25615,8 +25693,8 @@ function SideNav(props) {
25615
25693
  ...top === void 0 ? {
25616
25694
  paddingTop: "pt5"
25617
25695
  } : {}
25618
- }), ...tid.items, children: !hideOnCollapse && /* @__PURE__ */ (0, import_jsx_runtime201.jsx)(AppNavItems, { items, panelCollapsed }) }),
25619
- footer !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime201.jsx)("div", { ...(0, import_runtime124.trussProps)({
25696
+ }), ...tid.items, children: !hideOnCollapse && /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(AppNavItems, { items, panelCollapsed }) }),
25697
+ footer !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("div", { ...(0, import_runtime126.trussProps)({
25620
25698
  flexShrink: "fs0",
25621
25699
  paddingLeft: "pl2",
25622
25700
  paddingRight: "pr2",
@@ -25693,10 +25771,10 @@ var snackbarId = 1;
25693
25771
  // src/components/Stepper.tsx
25694
25772
  var import_react145 = require("react");
25695
25773
  var import_react_aria63 = require("react-aria");
25696
- var import_runtime125 = require("@homebound/truss/runtime");
25697
- var import_jsx_runtime202 = require("react/jsx-runtime");
25774
+ var import_runtime127 = require("@homebound/truss/runtime");
25775
+ var import_jsx_runtime204 = require("react/jsx-runtime");
25698
25776
  var import_react146 = require("react");
25699
- var __maybeInc23 = (inc) => {
25777
+ var __maybeInc25 = (inc) => {
25700
25778
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
25701
25779
  };
25702
25780
  function Stepper(props) {
@@ -25713,8 +25791,8 @@ function Stepper(props) {
25713
25791
  const maxStepWidth = 200;
25714
25792
  const minStepWidth = 100;
25715
25793
  const gap = 8;
25716
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsxs)("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
25717
- /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("ol", { ...(0, import_runtime125.trussProps)({
25794
+ return /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
25795
+ /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("ol", { ...(0, import_runtime127.trussProps)({
25718
25796
  padding: "p_0",
25719
25797
  margin: "m_0",
25720
25798
  listStyle: "lis_none",
@@ -25724,7 +25802,7 @@ function Stepper(props) {
25724
25802
  }]
25725
25803
  }), children: steps.map((step) => {
25726
25804
  const isCurrent = currentStep === step.value;
25727
- return /* @__PURE__ */ (0, import_react146.createElement)("li", { ...(0, import_runtime125.trussProps)({
25805
+ return /* @__PURE__ */ (0, import_react146.createElement)("li", { ...(0, import_runtime127.trussProps)({
25728
25806
  display: "df",
25729
25807
  flexGrow: "fg1",
25730
25808
  flexDirection: "fdc",
@@ -25734,9 +25812,9 @@ function Stepper(props) {
25734
25812
  minWidth: ["mw_var", {
25735
25813
  "--minWidth": `${minStepWidth}px`
25736
25814
  }]
25737
- }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
25815
+ }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
25738
25816
  }) }),
25739
- /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("div", { ...(0, import_runtime125.trussProps)({
25817
+ /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("div", { ...(0, import_runtime127.trussProps)({
25740
25818
  marginTop: "mt1",
25741
25819
  backgroundColor: ["bgColor_var", {
25742
25820
  "--backgroundColor": "var(--b-field-border-default)"
@@ -25749,14 +25827,14 @@ function Stepper(props) {
25749
25827
  "--minWidth": `${steps.length * minStepWidth + (steps.length - 1) * gap}px`
25750
25828
  }],
25751
25829
  width: "w100"
25752
- }), children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("div", { ...(0, import_runtime125.trussProps)({
25830
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("div", { ...(0, import_runtime127.trussProps)({
25753
25831
  backgroundColor: ["bgColor_var", {
25754
25832
  "--backgroundColor": "var(--b-primary)"
25755
25833
  }],
25756
25834
  transition: "transition_width_200ms",
25757
25835
  height: "h100",
25758
25836
  width: ["w_var", {
25759
- "--width": (0, import_runtime125.maybeCssVar)(__maybeInc23(`${(lastCompletedStep + 1) / steps.length * 100}%`))
25837
+ "--width": (0, import_runtime127.maybeCssVar)(__maybeInc25(`${(lastCompletedStep + 1) / steps.length * 100}%`))
25760
25838
  }]
25761
25839
  }) }) })
25762
25840
  ] });
@@ -25792,7 +25870,7 @@ function StepButton(props) {
25792
25870
  boxShadow: "bshFocus"
25793
25871
  };
25794
25872
  const tid = useTestIds(props, "stepButton");
25795
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime125.trussProps)({
25873
+ return /* @__PURE__ */ (0, import_jsx_runtime204.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime127.trussProps)({
25796
25874
  ...{
25797
25875
  fontWeight: "fw6",
25798
25876
  fontSize: "fz_14px",
@@ -25853,7 +25931,7 @@ function StepButton(props) {
25853
25931
  } : {},
25854
25932
  ...isFocusVisible ? focusRingStyles2 : {}
25855
25933
  }), ...tid[defaultTestId(label)], children: [
25856
- /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("span", { className: "fs0 mr_4px", children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(StepIcon, { state, isHovered, isPressed, isCurrent }) }),
25934
+ /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("span", { className: "fs0 mr_4px", children: /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(StepIcon, { state, isHovered, isPressed, isCurrent }) }),
25857
25935
  label
25858
25936
  ] });
25859
25937
  }
@@ -25864,12 +25942,12 @@ function StepIcon({
25864
25942
  isCurrent = false
25865
25943
  }) {
25866
25944
  if (state === "error") {
25867
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(Icon, { icon: "errorCircle" });
25945
+ return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(Icon, { icon: "errorCircle" });
25868
25946
  }
25869
25947
  if (state === "complete") {
25870
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)(Icon, { icon: "check" });
25948
+ return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(Icon, { icon: "check" });
25871
25949
  }
25872
- return /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime202.jsx)("div", { ...(0, import_runtime125.trussProps)({
25950
+ return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("div", { ...(0, import_runtime127.trussProps)({
25873
25951
  width: "w_10px",
25874
25952
  height: "h_10px",
25875
25953
  borderStyle: "bss",
@@ -25885,8 +25963,8 @@ function StepIcon({
25885
25963
  // src/components/StepperTabs/StepperTab.tsx
25886
25964
  var import_react147 = require("react");
25887
25965
  var import_react_aria64 = require("react-aria");
25888
- var import_runtime126 = require("@homebound/truss/runtime");
25889
- var import_jsx_runtime203 = require("react/jsx-runtime");
25966
+ var import_runtime128 = require("@homebound/truss/runtime");
25967
+ var import_jsx_runtime205 = require("react/jsx-runtime");
25890
25968
  function StepperTab(props) {
25891
25969
  const {
25892
25970
  label,
@@ -25917,7 +25995,7 @@ function StepperTab(props) {
25917
25995
  const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
25918
25996
  const isFocusVisible = __storyState?.focusVisible ?? isFocusVisibleFromEvents;
25919
25997
  const tid = useTestIds(props, "stepperTab");
25920
- return /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("button", { ref, ...(0, import_react_aria64.mergeProps)(buttonProps, focusProps, hoverProps), "aria-label": label, ...(0, import_runtime126.trussProps)({
25998
+ return /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)("button", { ref, ...(0, import_react_aria64.mergeProps)(buttonProps, focusProps, hoverProps), "aria-label": label, ...(0, import_runtime128.trussProps)({
25921
25999
  ...stepperTabStyles.baseStyles,
25922
26000
  ...getStateStyles(active, completed),
25923
26001
  ...isHovered && !disabled ? stepperTabStyles.hoverStyles : {},
@@ -25925,10 +26003,10 @@ function StepperTab(props) {
25925
26003
  ...disabled ? stepperTabStyles.disabledStyles : {},
25926
26004
  ...isFocusVisible ? stepperTabStyles.focusRingStyles : {}
25927
26005
  }), ...tid[defaultTestId(value)], children: [
25928
- !collapsed && /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)(import_jsx_runtime203.Fragment, { children: [
25929
- /* @__PURE__ */ (0, import_jsx_runtime203.jsxs)("span", { className: "dg jic mw0", children: [
25930
- /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { className: "fw6 fz_14px lh_20px visibility_hidden gridArea_1_1 oh d_negwebkit_box wbo_vertical to_ellipsis wlc_1 wordBreak_break_all", "aria-hidden": true, children: label }),
25931
- /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { ...(0, import_runtime126.trussProps)({
26006
+ !collapsed && /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)(import_jsx_runtime205.Fragment, { children: [
26007
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)("span", { className: "dg jic mw0", children: [
26008
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("span", { className: "fw6 fz_14px lh_20px visibility_hidden gridArea_1_1 oh d_negwebkit_box wbo_vertical to_ellipsis wlc_1 wordBreak_break_all", "aria-hidden": true, children: label }),
26009
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("span", { ...(0, import_runtime128.trussProps)({
25932
26010
  gridArea: "gridArea_1_1",
25933
26011
  overflow: "oh",
25934
26012
  display: "d_negwebkit_box",
@@ -25943,7 +26021,7 @@ function StepperTab(props) {
25943
26021
  } : {}
25944
26022
  }), children: label })
25945
26023
  ] }),
25946
- /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { ...(0, import_runtime126.trussProps)({
26024
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("span", { ...(0, import_runtime128.trussProps)({
25947
26025
  flexShrink: "fs0",
25948
26026
  marginLeft: "ml1",
25949
26027
  transition: "transitionAll",
@@ -25953,10 +26031,10 @@ function StepperTab(props) {
25953
26031
  opacity: "o100",
25954
26032
  transform: "transform_scale_1_translateY_0"
25955
26033
  } : {}
25956
- }), children: /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(Icon, { icon: "check", inc: 2.5, ...tid.check }) })
26034
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(Icon, { icon: "check", inc: 2.5, ...tid.check }) })
25957
26035
  ] }),
25958
- /* @__PURE__ */ (0, import_jsx_runtime203.jsx)("span", { "aria-hidden": true, ...(0, import_runtime126.trussProps)(getIndicatorStyles(active, completed, disabled)), ...tid.indicator }),
25959
- /* @__PURE__ */ (0, import_jsx_runtime203.jsx)(import_react_aria64.VisuallyHidden, { children: completed ? "Complete" : "Not Complete" })
26036
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("span", { "aria-hidden": true, ...(0, import_runtime128.trussProps)(getIndicatorStyles(active, completed, disabled)), ...tid.indicator }),
26037
+ /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(import_react_aria64.VisuallyHidden, { children: completed ? "Complete" : "Not Complete" })
25960
26038
  ] });
25961
26039
  }
25962
26040
  function getStateStyles(active, completed) {
@@ -26037,8 +26115,8 @@ var stepperTabStyles = {
26037
26115
  };
26038
26116
 
26039
26117
  // src/components/StepperTabs/StepperTabs.tsx
26040
- var import_runtime127 = require("@homebound/truss/runtime");
26041
- var import_jsx_runtime204 = require("react/jsx-runtime");
26118
+ var import_runtime129 = require("@homebound/truss/runtime");
26119
+ var import_jsx_runtime206 = require("react/jsx-runtime");
26042
26120
  var import_react148 = require("react");
26043
26121
  function StepperTabs(props) {
26044
26122
  const {
@@ -26054,7 +26132,7 @@ function StepperTabs(props) {
26054
26132
  const collapsed = isMobile || !!forceCollapsed;
26055
26133
  const capWidth = steps.length <= 3;
26056
26134
  const currentStepIndex = Math.max(0, steps.findIndex((step) => step.value === currentStep));
26057
- return /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("nav", { "aria-label": "steps", className: "w100", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime204.jsx)("ol", { ...(0, import_runtime127.trussProps)({
26135
+ return /* @__PURE__ */ (0, import_jsx_runtime206.jsx)("nav", { "aria-label": "steps", className: "w100", ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime206.jsx)("ol", { ...(0, import_runtime129.trussProps)({
26058
26136
  padding: "p_0",
26059
26137
  margin: "m_0",
26060
26138
  listStyle: "lis_none",
@@ -26069,7 +26147,7 @@ function StepperTabs(props) {
26069
26147
  }), children: steps.map((step, idx) => {
26070
26148
  const isCurrent = idx === currentStepIndex;
26071
26149
  const isCompleted = idx < currentStepIndex;
26072
- return /* @__PURE__ */ (0, import_react148.createElement)("li", { ...(0, import_runtime127.trussProps)({
26150
+ return /* @__PURE__ */ (0, import_react148.createElement)("li", { ...(0, import_runtime129.trussProps)({
26073
26151
  display: "df",
26074
26152
  flexGrow: "fg1",
26075
26153
  flexBasis: "fb_0",
@@ -26081,7 +26159,7 @@ function StepperTabs(props) {
26081
26159
  "--maxWidth": `${maxStepWidthPx}px`
26082
26160
  }]
26083
26161
  } : {}
26084
- }), key: step.value, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ (0, import_jsx_runtime204.jsx)(StepperTab, { label: step.label, value: step.value, active: isCurrent, completed: isCompleted, disabled: step.disabled, collapsed, onClick: onChange, ...tid.tab }));
26162
+ }), key: step.value, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(StepperTab, { label: step.label, value: step.value, active: isCurrent, completed: isCompleted, disabled: step.disabled, collapsed, onClick: onChange, ...tid.tab }));
26085
26163
  }) }) });
26086
26164
  }
26087
26165
  var maxStepWidthPx = 280;
@@ -26089,8 +26167,8 @@ var gapPx = 6;
26089
26167
 
26090
26168
  // src/components/SuperDrawer/components/SuperDrawerHeader.tsx
26091
26169
  var import_react_dom8 = require("react-dom");
26092
- var import_runtime128 = require("@homebound/truss/runtime");
26093
- var import_jsx_runtime205 = require("react/jsx-runtime");
26170
+ var import_runtime130 = require("@homebound/truss/runtime");
26171
+ var import_jsx_runtime207 = require("react/jsx-runtime");
26094
26172
  function SuperDrawerHeader(props) {
26095
26173
  const {
26096
26174
  hideControls
@@ -26107,20 +26185,20 @@ function SuperDrawerHeader(props) {
26107
26185
  const currentContent = contentStack.current[contentStack.current.length - 1]?.opts;
26108
26186
  const isDetail = currentContent !== firstContent;
26109
26187
  const tid = useTestIds({}, "superDrawerHeader");
26110
- return (0, import_react_dom8.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime205.jsxs)("div", { className: "df aic jcsb gap3", ...tid, children: [
26111
- isStructuredProps(props) ? /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)("div", { className: "df jcsb aic gap2 fg1", children: [
26112
- /* @__PURE__ */ (0, import_jsx_runtime205.jsxs)("div", { className: "fg1 df aic gap2", children: [
26113
- /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("h1", { className: "fw6 fz_30px lh_36px", children: props.title }),
26188
+ return (0, import_react_dom8.createPortal)(/* @__PURE__ */ (0, import_jsx_runtime207.jsxs)("div", { className: "df aic jcsb gap3", ...tid, children: [
26189
+ isStructuredProps(props) ? /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)("div", { className: "df jcsb aic gap2 fg1", children: [
26190
+ /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)("div", { className: "fg1 df aic gap2", children: [
26191
+ /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("h1", { className: "fw6 fz_30px lh_36px", children: props.title }),
26114
26192
  props.left
26115
26193
  ] }),
26116
- props.right && /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("div", { className: "fs0", children: props.right })
26117
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("div", { className: "fg1", children: props.children }),
26118
- !hideControls && /* @__PURE__ */ (0, import_jsx_runtime205.jsx)("div", { ...(0, import_runtime128.trussProps)({
26194
+ props.right && /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("div", { className: "fs0", children: props.right })
26195
+ ] }) : /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("div", { className: "fg1", children: props.children }),
26196
+ !hideControls && /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("div", { ...(0, import_runtime130.trussProps)({
26119
26197
  flexShrink: "fs0",
26120
26198
  ...isDetail ? {
26121
26199
  visibility: "vh"
26122
26200
  } : {}
26123
- }), children: /* @__PURE__ */ (0, import_jsx_runtime205.jsx)(ButtonGroup, { buttons: [{
26201
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(ButtonGroup, { buttons: [{
26124
26202
  icon: "chevronLeft",
26125
26203
  onClick: () => onPrevClick && onPrevClick(),
26126
26204
  disabled: !onPrevClick
@@ -26140,7 +26218,7 @@ var import_framer_motion7 = require("framer-motion");
26140
26218
 
26141
26219
  // src/components/SuperDrawer/useSuperDrawer.tsx
26142
26220
  var import_react149 = require("react");
26143
- var import_jsx_runtime206 = require("react/jsx-runtime");
26221
+ var import_jsx_runtime208 = require("react/jsx-runtime");
26144
26222
  function useSuperDrawer() {
26145
26223
  const {
26146
26224
  drawerContentStack: contentStack,
@@ -26152,7 +26230,7 @@ function useSuperDrawer() {
26152
26230
  function canCloseDrawerDetails(i, doChange) {
26153
26231
  for (const canCloseDrawerDetail of canCloseDetailsChecks.current[i] ?? []) {
26154
26232
  if (!canClose(canCloseDrawerDetail)) {
26155
- openModal({ content: /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawerDetail }) });
26233
+ openModal({ content: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawerDetail }) });
26156
26234
  return false;
26157
26235
  }
26158
26236
  }
@@ -26172,7 +26250,7 @@ function useSuperDrawer() {
26172
26250
  for (const canCloseDrawer of canCloseChecks.current) {
26173
26251
  if (!canClose(canCloseDrawer)) {
26174
26252
  openModal({
26175
- content: /* @__PURE__ */ (0, import_jsx_runtime206.jsx)(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawer })
26253
+ content: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(ConfirmCloseModal, { onClose: doChange, ...canCloseDrawer })
26176
26254
  });
26177
26255
  return;
26178
26256
  }
@@ -26267,8 +26345,8 @@ function canClose(canCloseCheck) {
26267
26345
  }
26268
26346
 
26269
26347
  // src/components/SuperDrawer/SuperDrawerContent.tsx
26270
- var import_runtime129 = require("@homebound/truss/runtime");
26271
- var import_jsx_runtime207 = require("react/jsx-runtime");
26348
+ var import_runtime131 = require("@homebound/truss/runtime");
26349
+ var import_jsx_runtime209 = require("react/jsx-runtime");
26272
26350
  var SuperDrawerContent = ({
26273
26351
  children,
26274
26352
  actions
@@ -26288,17 +26366,17 @@ var SuperDrawerContent = ({
26288
26366
  } = firstContent ?? {};
26289
26367
  function wrapWithMotionAndMaybeBack(children2) {
26290
26368
  if (kind === "open") {
26291
- return /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(import_framer_motion7.motion.div, { className: "pt3 pb3 pr3 pl3 fg1 oa", children: children2 }, "content");
26369
+ return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(import_framer_motion7.motion.div, { className: "pt3 pb3 pr3 pl3 fg1 oa", children: children2 }, "content");
26292
26370
  } else if (kind === "detail") {
26293
- return /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(import_framer_motion7.motion.div, { className: "pl3 pr3 pt2 pb3 fg1", animate: {
26371
+ return /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(import_framer_motion7.motion.div, { className: "pl3 pr3 pt2 pb3 fg1", animate: {
26294
26372
  overflow: "auto"
26295
26373
  }, transition: {
26296
26374
  overflow: {
26297
26375
  delay: 0.3
26298
26376
  }
26299
26377
  }, children: [
26300
- /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(Button, { label: "Back", icon: "chevronLeft", variant: "tertiary", onClick: closeDrawerDetail }),
26301
- /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(import_framer_motion7.motion.div, { initial: {
26378
+ /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Button, { label: "Back", icon: "chevronLeft", variant: "tertiary", onClick: closeDrawerDetail }),
26379
+ /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(import_framer_motion7.motion.div, { initial: {
26302
26380
  x: width2,
26303
26381
  opacity: 0
26304
26382
  }, animate: {
@@ -26316,7 +26394,7 @@ var SuperDrawerContent = ({
26316
26394
  }, className: "pt2", children: children2 })
26317
26395
  ] }, "content");
26318
26396
  } else {
26319
- return /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(import_framer_motion7.motion.div, { ...(0, import_runtime129.mergeProps)(void 0, {
26397
+ return /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(import_framer_motion7.motion.div, { ...(0, import_runtime131.mergeProps)(void 0, {
26320
26398
  overflow: "auto"
26321
26399
  }, {
26322
26400
  paddingTop: "pt3",
@@ -26327,9 +26405,9 @@ var SuperDrawerContent = ({
26327
26405
  }) }, "content");
26328
26406
  }
26329
26407
  }
26330
- return /* @__PURE__ */ (0, import_jsx_runtime207.jsxs)(import_jsx_runtime207.Fragment, { children: [
26408
+ return /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)(import_jsx_runtime209.Fragment, { children: [
26331
26409
  wrapWithMotionAndMaybeBack(children),
26332
- actions && /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("footer", { ...(0, import_runtime129.trussProps)({
26410
+ actions && /* @__PURE__ */ (0, import_jsx_runtime209.jsx)("footer", { ...(0, import_runtime131.trussProps)({
26333
26411
  borderTopStyle: "bts_solid",
26334
26412
  borderTopWidth: "btw_1px",
26335
26413
  borderColor: ["bc_var", {
@@ -26342,7 +26420,7 @@ var SuperDrawerContent = ({
26342
26420
  display: "df",
26343
26421
  alignItems: "aic",
26344
26422
  justifyContent: "jcfe"
26345
- }), children: /* @__PURE__ */ (0, import_jsx_runtime207.jsx)("div", { className: "df gap1", children: actions.map((buttonProps, i) => /* @__PURE__ */ (0, import_jsx_runtime207.jsx)(Button, { ...buttonProps }, i)) }) })
26423
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime209.jsx)("div", { className: "df gap1", children: actions.map((buttonProps, i) => /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Button, { ...buttonProps }, i)) }) })
26346
26424
  ] });
26347
26425
  };
26348
26426
 
@@ -26390,15 +26468,15 @@ var import_react150 = require("react");
26390
26468
  var import_react_aria65 = require("react-aria");
26391
26469
  var import_react_router = require("react-router");
26392
26470
  var import_react_router_dom8 = require("react-router-dom");
26393
- var import_runtime130 = require("@homebound/truss/runtime");
26394
- var import_jsx_runtime208 = require("react/jsx-runtime");
26471
+ var import_runtime132 = require("@homebound/truss/runtime");
26472
+ var import_jsx_runtime210 = require("react/jsx-runtime");
26395
26473
  function TabsWithContent(props) {
26396
26474
  const styles = hideTabs(props) ? {} : {
26397
26475
  paddingTop: "pt3"
26398
26476
  };
26399
- return /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(import_jsx_runtime208.Fragment, { children: [
26400
- /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Tabs, { ...props }),
26401
- /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(TabContent, { ...props, contentXss: {
26477
+ return /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(import_jsx_runtime210.Fragment, { children: [
26478
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Tabs, { ...props }),
26479
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(TabContent, { ...props, contentXss: {
26402
26480
  ...styles,
26403
26481
  ...props.contentXss
26404
26482
  } })
@@ -26423,7 +26501,7 @@ function TabContent(props) {
26423
26501
  return (
26424
26502
  // Using FullBleed to allow the tab's bgColor to extend to the edges of the <ScrollableContent /> element.
26425
26503
  // Omit the padding from `FullBleed` if the caller passes in the `paddingLeft/Right` styles.
26426
- /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime130.trussProps)(contentXss), children: selectedTab.render() }) })
26504
+ /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime132.trussProps)(contentXss), children: selectedTab.render() }) })
26427
26505
  );
26428
26506
  }
26429
26507
  function Tabs(props) {
@@ -26465,7 +26543,7 @@ function Tabs(props) {
26465
26543
  setActive(selected);
26466
26544
  }
26467
26545
  }
26468
- return /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)("div", { ...(0, import_runtime130.trussProps)({
26546
+ return /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)("div", { ...(0, import_runtime132.trussProps)({
26469
26547
  ...{
26470
26548
  display: "df",
26471
26549
  alignItems: "aic",
@@ -26483,11 +26561,11 @@ function Tabs(props) {
26483
26561
  }
26484
26562
  } : {}
26485
26563
  }), children: [
26486
- !hideTabs(props) && /* @__PURE__ */ (0, import_jsx_runtime208.jsx)("div", { ref, className: "dif gap1 asfe", "aria-label": ariaLabel, role: "tablist", ...tid, children: tabs.map((tab) => {
26564
+ !hideTabs(props) && /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("div", { ref, className: "dif gap1 asfe", "aria-label": ariaLabel, role: "tablist", ...tid, children: tabs.map((tab) => {
26487
26565
  const uniqueValue = uniqueTabValue(tab);
26488
- return /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(TabImpl, { active: active === uniqueValue, focusProps, isFocusVisible, onClick, onKeyUp, onBlur, tab, ...tid[defaultTestId(uniqueValue)] }, uniqueValue);
26566
+ return /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(TabImpl, { active: active === uniqueValue, focusProps, isFocusVisible, onClick, onKeyUp, onBlur, tab, ...tid[defaultTestId(uniqueValue)] }, uniqueValue);
26489
26567
  }) }),
26490
- right && /* @__PURE__ */ (0, import_jsx_runtime208.jsx)("div", { className: "mla df aic gap1 pb1", children: right })
26568
+ right && /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("div", { className: "mla df aic gap1 pb1", children: right })
26491
26569
  ] });
26492
26570
  }
26493
26571
  function TabImpl(props) {
@@ -26531,7 +26609,7 @@ function TabImpl(props) {
26531
26609
  role: "tab",
26532
26610
  tabIndex: active ? 0 : -1,
26533
26611
  ...others,
26534
- ...(0, import_runtime130.trussProps)({
26612
+ ...(0, import_runtime132.trussProps)({
26535
26613
  ...baseStyles4,
26536
26614
  ...active && activeStyles3,
26537
26615
  ...isDisabled && disabledStyles3,
@@ -26547,17 +26625,17 @@ function TabImpl(props) {
26547
26625
  onClick: () => onClick(tab.value)
26548
26626
  }
26549
26627
  });
26550
- const tabLabel = /* @__PURE__ */ (0, import_jsx_runtime208.jsxs)(import_jsx_runtime208.Fragment, { children: [
26628
+ const tabLabel = /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)(import_jsx_runtime210.Fragment, { children: [
26551
26629
  label,
26552
- (icon || endAdornment) && /* @__PURE__ */ (0, import_jsx_runtime208.jsx)("span", { className: "ml1", children: icon ? /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(Icon, { icon }) : endAdornment })
26630
+ (icon || endAdornment) && /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("span", { className: "ml1", children: icon ? /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(Icon, { icon }) : endAdornment })
26553
26631
  ] });
26554
26632
  return isDisabled ? maybeTooltip({
26555
26633
  title: resolveTooltip(disabled),
26556
26634
  placement: "top",
26557
- children: /* @__PURE__ */ (0, import_jsx_runtime208.jsx)("div", { ...tabProps, children: tabLabel })
26558
- }) : isRouteTab(tab) ? /* @__PURE__ */ (0, import_jsx_runtime208.jsx)(import_react_router_dom8.Link, { ...(0, import_react_aria65.mergeProps)(tabProps, interactiveProps, {
26635
+ children: /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("div", { ...tabProps, children: tabLabel })
26636
+ }) : isRouteTab(tab) ? /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(import_react_router_dom8.Link, { ...(0, import_react_aria65.mergeProps)(tabProps, interactiveProps, {
26559
26637
  className: "navLink"
26560
- }), to: tab.href, children: tabLabel }) : /* @__PURE__ */ (0, import_jsx_runtime208.jsx)("button", { ...{
26638
+ }), to: tab.href, children: tabLabel }) : /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("button", { ...{
26561
26639
  ...tabProps,
26562
26640
  ...interactiveProps
26563
26641
  }, children: tabLabel });
@@ -26568,7 +26646,7 @@ function getTabStyles() {
26568
26646
  const borderBottomStyles = {
26569
26647
  borderBottomStyle: "bbs_solid",
26570
26648
  borderBottomWidth: ["borderBottomWidth_var", {
26571
- "--borderBottomWidth": (0, import_runtime130.maybeCssVar)(`${borderBottomWidthPx}px`)
26649
+ "--borderBottomWidth": (0, import_runtime132.maybeCssVar)(`${borderBottomWidthPx}px`)
26572
26650
  }],
26573
26651
  paddingBottom: ["pb_var", {
26574
26652
  "--paddingBottom": `${verticalPaddingPx - borderBottomWidthPx}px`
@@ -26665,7 +26743,7 @@ function hideTabs(props) {
26665
26743
  }
26666
26744
 
26667
26745
  // src/components/TagGroup.tsx
26668
- var import_jsx_runtime209 = require("react/jsx-runtime");
26746
+ var import_jsx_runtime211 = require("react/jsx-runtime");
26669
26747
  function TagGroup(props) {
26670
26748
  const {
26671
26749
  tags,
@@ -26673,9 +26751,9 @@ function TagGroup(props) {
26673
26751
  ...otherProps
26674
26752
  } = props;
26675
26753
  const tid = useTestIds(otherProps, "tagGroup");
26676
- return /* @__PURE__ */ (0, import_jsx_runtime209.jsxs)("div", { ...tid, className: "df aic fww gap1", children: [
26677
- tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Tag, { ...tag, variant: "secondary" }, tag.text)),
26678
- onEdit && /* @__PURE__ */ (0, import_jsx_runtime209.jsx)("span", { className: "ml1 fw4 fz_14px lh_20px", children: /* @__PURE__ */ (0, import_jsx_runtime209.jsx)(Button, { label: "Edit", variant: "text", onClick: onEdit, ...tid.edit }) })
26754
+ return /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)("div", { ...tid, className: "df aic fww gap1", children: [
26755
+ tags.map((tag) => /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(Tag, { ...tag, variant: "secondary" }, tag.text)),
26756
+ onEdit && /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("span", { className: "ml1 fw4 fz_14px lh_20px", children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(Button, { label: "Edit", variant: "text", onClick: onEdit, ...tid.edit }) })
26679
26757
  ] });
26680
26758
  }
26681
26759
 
@@ -26688,15 +26766,15 @@ function useToast() {
26688
26766
  }
26689
26767
 
26690
26768
  // src/layouts/SideNavLayout/SideNavLayout.tsx
26691
- var import_runtime131 = require("@homebound/truss/runtime");
26692
- var import_jsx_runtime210 = require("react/jsx-runtime");
26693
- var __maybeInc24 = (inc) => {
26769
+ var import_runtime133 = require("@homebound/truss/runtime");
26770
+ var import_jsx_runtime212 = require("react/jsx-runtime");
26771
+ var __maybeInc26 = (inc) => {
26694
26772
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
26695
26773
  };
26696
26774
  function SideNavLayout(props) {
26697
26775
  const hasProvider = useHasSideNavLayoutProvider();
26698
- if (hasProvider) return /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(SideNavLayoutContent, { ...props });
26699
- return /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(SideNavLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(SideNavLayoutContent, { ...props }) });
26776
+ if (hasProvider) return /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(SideNavLayoutContent, { ...props });
26777
+ return /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(SideNavLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(SideNavLayoutContent, { ...props }) });
26700
26778
  }
26701
26779
  function SideNavLayoutContent(props) {
26702
26780
  const {
@@ -26718,7 +26796,7 @@ function SideNavLayoutContent(props) {
26718
26796
  const railOffsetPx = !showRail ? 0 : !bp.mdAndUp || collapsed ? railCollapsedWidthPx : railWidthPx;
26719
26797
  const navTop = bannerAndNavbarChromeTop();
26720
26798
  const railViewportHeight = `calc(var(${beamLayoutViewportHeightVar}, 100vh) - var(${beamEnvironmentBannerLayoutHeightVar}, 0px) - var(${beamNavbarLayoutHeightVar}, 0px))`;
26721
- const rail = showRail && /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)("div", { ...(0, import_runtime131.trussProps)({
26799
+ const rail = showRail && /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)("div", { ...(0, import_runtime133.trussProps)({
26722
26800
  ...{
26723
26801
  display: "df",
26724
26802
  flexDirection: "fdc",
@@ -26742,14 +26820,14 @@ function SideNavLayoutContent(props) {
26742
26820
  position: "sticky",
26743
26821
  left: "left0",
26744
26822
  zIndex: ["z_var", {
26745
- "--zIndex": (0, import_runtime131.maybeCssVar)(zIndices.sideNav)
26823
+ "--zIndex": (0, import_runtime133.maybeCssVar)(zIndices.sideNav)
26746
26824
  }],
26747
26825
  top: ["top_var", {
26748
- "--top": (0, import_runtime131.maybeCssVar)(__maybeInc24(navTop))
26826
+ "--top": (0, import_runtime133.maybeCssVar)(__maybeInc26(navTop))
26749
26827
  }],
26750
26828
  alignSelf: "asfs",
26751
26829
  height: ["h_var", {
26752
- "--height": (0, import_runtime131.maybeCssVar)(__maybeInc24(railViewportHeight))
26830
+ "--height": (0, import_runtime133.maybeCssVar)(__maybeInc26(railViewportHeight))
26753
26831
  }],
26754
26832
  width: ["w_var", {
26755
26833
  "--width": `${collapsed ? railCollapsedWidthPx : railWidthPx}px`
@@ -26759,11 +26837,11 @@ function SideNavLayoutContent(props) {
26759
26837
  position: "fixed",
26760
26838
  left: "left0",
26761
26839
  top: ["top_var", {
26762
- "--top": (0, import_runtime131.maybeCssVar)(__maybeInc24(navTop))
26840
+ "--top": (0, import_runtime133.maybeCssVar)(__maybeInc26(navTop))
26763
26841
  }],
26764
26842
  bottom: "bottom0",
26765
26843
  zIndex: ["z_var", {
26766
- "--zIndex": (0, import_runtime131.maybeCssVar)(zIndices.sideNav)
26844
+ "--zIndex": (0, import_runtime133.maybeCssVar)(zIndices.sideNav)
26767
26845
  }]
26768
26846
  },
26769
26847
  ...collapsed ? {
@@ -26775,18 +26853,18 @@ function SideNavLayoutContent(props) {
26775
26853
  }
26776
26854
  }
26777
26855
  }), ...tid.sideNav, children: [
26778
- showCollapseToggle && /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("div", { className: "absolute right2 top2 z2", children: /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
26779
- /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(SideNav, { ...sideNav }) })
26856
+ showCollapseToggle && /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("div", { className: "absolute right2 top2 z2", children: /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(IconButton, { icon: collapsed ? "menuOpen" : "menuClose", label: collapsed ? "Expand navigation" : "Collapse navigation", onClick: () => setNavState(collapsed ? "expanded" : "collapse"), ...tid.toggle }) }),
26857
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("div", { className: "fg1 mh0 df fdc", ...tid.sideNavContent, children: /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(SideNav, { ...sideNav }) })
26780
26858
  ] });
26781
- return /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime210.jsxs)("div", { ...(0, import_runtime131.mergeProps)(void 0, {
26859
+ return /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)("div", { ...(0, import_runtime133.mergeProps)(void 0, {
26782
26860
  [beamSideNavLayoutWidthVar]: `${railOffsetPx}px`
26783
26861
  }, {
26784
26862
  display: "df",
26785
26863
  flexDirection: "fdr",
26786
26864
  width: "w100"
26787
26865
  }), ...tid, children: [
26788
- contrastRail ? /* @__PURE__ */ (0, import_jsx_runtime210.jsx)(ContrastScope, { children: rail }) : rail,
26789
- /* @__PURE__ */ (0, import_jsx_runtime210.jsx)("div", { ...(0, import_runtime131.trussProps)({
26866
+ contrastRail ? /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(ContrastScope, { children: rail }) : rail,
26867
+ /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("div", { ...(0, import_runtime133.trussProps)({
26790
26868
  display: "df",
26791
26869
  flexDirection: "fdc",
26792
26870
  flexGrow: "fg1",
@@ -26802,9 +26880,9 @@ function SideNavLayoutContent(props) {
26802
26880
  }
26803
26881
 
26804
26882
  // src/layouts/EnvironmentBannerLayout/EnvironmentBannerLayout.tsx
26805
- var import_runtime132 = require("@homebound/truss/runtime");
26806
- var import_jsx_runtime211 = require("react/jsx-runtime");
26807
- var __maybeInc25 = (inc) => {
26883
+ var import_runtime134 = require("@homebound/truss/runtime");
26884
+ var import_jsx_runtime213 = require("react/jsx-runtime");
26885
+ var __maybeInc27 = (inc) => {
26808
26886
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
26809
26887
  };
26810
26888
  function EnvironmentBannerLayout(props) {
@@ -26819,35 +26897,35 @@ function EnvironmentBannerLayout(props) {
26819
26897
  [beamEnvironmentBannerLayoutHeightVar]: `${bannerHeightPx}px`
26820
26898
  };
26821
26899
  const innerWidth = `var(${beamLayoutViewportWidthVar}, 100vw)`;
26822
- return /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ (0, import_jsx_runtime211.jsxs)("div", { ...(0, import_runtime132.mergeProps)(void 0, style, {
26900
+ return /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(EnvironmentBannerLayoutHeightProvider, { value: bannerHeightPx, children: /* @__PURE__ */ (0, import_jsx_runtime213.jsxs)("div", { ...(0, import_runtime134.mergeProps)(void 0, style, {
26823
26901
  display: "df",
26824
26902
  flexDirection: "fdc",
26825
26903
  width: "wfc",
26826
26904
  minWidth: "mw100"
26827
26905
  }), ...tid, children: [
26828
- showBanner && environmentBanner && /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("div", { ...(0, import_runtime132.mergeProps)(void 0, {
26906
+ showBanner && environmentBanner && /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("div", { ...(0, import_runtime134.mergeProps)(void 0, {
26829
26907
  height: environmentBannerSizePx
26830
26908
  }, {
26831
26909
  flexShrink: "fs0",
26832
26910
  width: "w100"
26833
- }), children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)("div", { ...(0, import_runtime132.trussProps)({
26911
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime213.jsx)("div", { ...(0, import_runtime134.trussProps)({
26834
26912
  position: "fixed",
26835
26913
  top: "top0",
26836
26914
  left: "left0",
26837
26915
  zIndex: ["z_var", {
26838
- "--zIndex": (0, import_runtime132.maybeCssVar)(zIndices.environmentBanner)
26916
+ "--zIndex": (0, import_runtime134.maybeCssVar)(zIndices.environmentBanner)
26839
26917
  }],
26840
26918
  width: ["w_var", {
26841
- "--width": (0, import_runtime132.maybeCssVar)(__maybeInc25(innerWidth))
26919
+ "--width": (0, import_runtime134.maybeCssVar)(__maybeInc27(innerWidth))
26842
26920
  }]
26843
- }), ...tid.bannerSticky, children: /* @__PURE__ */ (0, import_jsx_runtime211.jsx)(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
26921
+ }), ...tid.bannerSticky, children: /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(EnvironmentBanner, { ...environmentBanner, ...tid.environmentBanner }) }) }),
26844
26922
  children
26845
26923
  ] }) }) });
26846
26924
  }
26847
26925
 
26848
26926
  // src/layouts/FormSectionLayout/FormSectionLayout.tsx
26849
- var import_runtime133 = require("@homebound/truss/runtime");
26850
- var import_jsx_runtime212 = require("react/jsx-runtime");
26927
+ var import_runtime135 = require("@homebound/truss/runtime");
26928
+ var import_jsx_runtime214 = require("react/jsx-runtime");
26851
26929
  function FormSectionLayout(props) {
26852
26930
  const {
26853
26931
  title,
@@ -26857,14 +26935,14 @@ function FormSectionLayout(props) {
26857
26935
  sections
26858
26936
  } = props;
26859
26937
  const tid = useTestIds(props, "formSectionLayout");
26860
- return /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)("div", { className: "df fdc gap8 w100 pt4 maxw_720px mla mra sm_pl2 sm_pr2", ...tid, children: [
26861
- /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)("div", { className: "df fdc gap3", children: [
26862
- /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)("div", { className: "df fdc jcsb gap_12px", children: [
26863
- /* @__PURE__ */ (0, import_jsx_runtime212.jsxs)("div", { className: "df jcsb aic", children: [
26864
- /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("h1", { className: "fw6 fz_20px lh_28px", ...tid.title, children: title }),
26865
- actions && /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => action.kind === "icon" ? /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(Button, { ...action }, `${action.label}`)) })
26938
+ return /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("div", { className: "df fdc gap8 w100 pt4 maxw_720px mla mra sm_pl2 sm_pr2", ...tid, children: [
26939
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("div", { className: "df fdc gap3", children: [
26940
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("div", { className: "df fdc jcsb gap_12px", children: [
26941
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("div", { className: "df jcsb aic", children: [
26942
+ /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("h1", { className: "fw6 fz_20px lh_28px", ...tid.title, children: title }),
26943
+ actions && /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { className: "df gap1 fs0", ...tid.actions, children: actions.map((action) => action.kind === "icon" ? /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(IconButton, { ...action, variant: "outline" }, action.icon) : /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Button, { ...action }, `${action.label}`)) })
26866
26944
  ] }),
26867
- description && /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("div", { ...(0, import_runtime133.trussProps)({
26945
+ description && /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { ...(0, import_runtime135.trussProps)({
26868
26946
  fontWeight: "fw4",
26869
26947
  fontSize: "fz_14px",
26870
26948
  lineHeight: "lh_20px",
@@ -26875,13 +26953,13 @@ function FormSectionLayout(props) {
26875
26953
  ] }),
26876
26954
  initialFields
26877
26955
  ] }),
26878
- sections && /* @__PURE__ */ (0, import_jsx_runtime212.jsx)("div", { className: "df fdc gap8", children: sections.map((section, i) => /* @__PURE__ */ (0, import_jsx_runtime212.jsx)(FormSection, { ...section }, defaultTestId(section.title) || i)) })
26956
+ sections && /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { className: "df fdc gap8", children: sections.map((section, i) => /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(FormSection, { ...section }, defaultTestId(section.title) || i)) })
26879
26957
  ] });
26880
26958
  }
26881
26959
 
26882
26960
  // src/layouts/NavbarLayout/NavbarLayout.tsx
26883
26961
  var import_react155 = require("react");
26884
- var import_runtime134 = require("@homebound/truss/runtime");
26962
+ var import_runtime136 = require("@homebound/truss/runtime");
26885
26963
 
26886
26964
  // src/layouts/useAutoHideOnScroll.ts
26887
26965
  var import_react152 = require("react");
@@ -26974,7 +27052,7 @@ function useAutoHideOnScroll(spacerRef, enabled, getTopOffset) {
26974
27052
  }
26975
27053
 
26976
27054
  // src/layouts/useMeasuredHeight.ts
26977
- var import_utils178 = require("@react-aria/utils");
27055
+ var import_utils179 = require("@react-aria/utils");
26978
27056
  var import_react153 = require("react");
26979
27057
  function useMeasuredHeight(ref, enabled) {
26980
27058
  const [height, setHeight] = (0, import_react153.useState)(0);
@@ -26983,7 +27061,7 @@ function useMeasuredHeight(ref, enabled) {
26983
27061
  const next = el ? Math.round(el.getBoundingClientRect().height) : 0;
26984
27062
  setHeight((prev) => prev === next ? prev : next);
26985
27063
  }, [ref]);
26986
- (0, import_utils178.useResizeObserver)({ ref, onResize: syncElementHeight });
27064
+ (0, import_utils179.useResizeObserver)({ ref, onResize: syncElementHeight });
26987
27065
  (0, import_react153.useLayoutEffect)(() => {
26988
27066
  syncElementHeight();
26989
27067
  }, [enabled, syncElementHeight]);
@@ -26992,18 +27070,18 @@ function useMeasuredHeight(ref, enabled) {
26992
27070
 
26993
27071
  // src/layouts/NavbarLayout/NavbarLayoutHeightContext.tsx
26994
27072
  var import_react154 = require("react");
26995
- var import_jsx_runtime213 = require("react/jsx-runtime");
27073
+ var import_jsx_runtime215 = require("react/jsx-runtime");
26996
27074
  var NavbarLayoutHeightContext = (0, import_react154.createContext)(0);
26997
27075
  function NavbarLayoutHeightProvider({ value, children }) {
26998
- return /* @__PURE__ */ (0, import_jsx_runtime213.jsx)(NavbarLayoutHeightContext.Provider, { value, children });
27076
+ return /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(NavbarLayoutHeightContext.Provider, { value, children });
26999
27077
  }
27000
27078
  function useNavbarLayoutHeight() {
27001
27079
  return (0, import_react154.useContext)(NavbarLayoutHeightContext);
27002
27080
  }
27003
27081
 
27004
27082
  // src/layouts/NavbarLayout/NavbarLayout.tsx
27005
- var import_jsx_runtime214 = require("react/jsx-runtime");
27006
- var __maybeInc26 = (inc) => {
27083
+ var import_jsx_runtime216 = require("react/jsx-runtime");
27084
+ var __maybeInc28 = (inc) => {
27007
27085
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27008
27086
  };
27009
27087
  function NavbarLayout(props) {
@@ -27031,10 +27109,10 @@ function NavbarLayout(props) {
27031
27109
  position: "sticky",
27032
27110
  left: "left0",
27033
27111
  zIndex: ["z_var", {
27034
- "--zIndex": (0, import_runtime134.maybeCssVar)(zIndices.navbar)
27112
+ "--zIndex": (0, import_runtime136.maybeCssVar)(zIndices.navbar)
27035
27113
  }],
27036
27114
  width: ["w_var", {
27037
- "--width": (0, import_runtime134.maybeCssVar)(__maybeInc26(innerWidth))
27115
+ "--width": (0, import_runtime136.maybeCssVar)(__maybeInc28(innerWidth))
27038
27116
  }]
27039
27117
  }
27040
27118
  ) : (
@@ -27043,10 +27121,10 @@ function NavbarLayout(props) {
27043
27121
  position: "fixed",
27044
27122
  left: "left0",
27045
27123
  zIndex: ["z_var", {
27046
- "--zIndex": (0, import_runtime134.maybeCssVar)(zIndices.navbar)
27124
+ "--zIndex": (0, import_runtime136.maybeCssVar)(zIndices.navbar)
27047
27125
  }],
27048
27126
  width: ["w_var", {
27049
- "--width": (0, import_runtime134.maybeCssVar)(__maybeInc26(innerWidth))
27127
+ "--width": (0, import_runtime136.maybeCssVar)(__maybeInc28(innerWidth))
27050
27128
  }],
27051
27129
  transition: "transitionTop"
27052
27130
  }
@@ -27055,20 +27133,20 @@ function NavbarLayout(props) {
27055
27133
  const innerStyle = autoHideState !== "static" ? {
27056
27134
  top: autoHideState === "revealed" ? bannerTop : `calc(${bannerTop} - ${navHeight}px)`
27057
27135
  } : void 0;
27058
- const navbarEl = (0, import_react155.useMemo)(() => /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(Navbar, { ...navbar }), [navbar]);
27059
- return /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ (0, import_jsx_runtime214.jsxs)("div", { ...(0, import_runtime134.mergeProps)(void 0, cssVars, {
27136
+ const navbarEl = (0, import_react155.useMemo)(() => /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Navbar, { ...navbar }), [navbar]);
27137
+ return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(NavbarLayoutHeightProvider, { value: navbarOffsetPx, children: /* @__PURE__ */ (0, import_jsx_runtime216.jsxs)("div", { ...(0, import_runtime136.mergeProps)(void 0, cssVars, {
27060
27138
  display: "df",
27061
27139
  flexDirection: "fdc",
27062
27140
  width: "wfc",
27063
27141
  minWidth: "mw100"
27064
27142
  }), ...tid, children: [
27065
- /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { ref: spacerRef, ...(0, import_runtime134.mergeProps)(void 0, {
27143
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)("div", { ref: spacerRef, ...(0, import_runtime136.mergeProps)(void 0, {
27066
27144
  height: navHeight
27067
27145
  }, {
27068
27146
  flexShrink: "fs0",
27069
27147
  width: "w100"
27070
- }), children: /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { ref: navMetricsRef, ...(0, import_runtime134.mergeProps)(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
27071
- /* @__PURE__ */ (0, import_jsx_runtime214.jsx)("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
27148
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime216.jsx)("div", { ref: navMetricsRef, ...(0, import_runtime136.mergeProps)(void 0, innerStyle, innerCss), ...tid.navbar, children: navbarEl }) }),
27149
+ /* @__PURE__ */ (0, import_jsx_runtime216.jsx)("div", { className: "df fdc mh0 mw100 w100", ...tid.body, children })
27072
27150
  ] }) }) });
27073
27151
  }
27074
27152
 
@@ -27076,8 +27154,8 @@ function NavbarLayout(props) {
27076
27154
  var import_react156 = require("react");
27077
27155
 
27078
27156
  // src/components/Headers/BaseHeader.tsx
27079
- var import_runtime135 = require("@homebound/truss/runtime");
27080
- var import_jsx_runtime215 = require("react/jsx-runtime");
27157
+ var import_runtime137 = require("@homebound/truss/runtime");
27158
+ var import_jsx_runtime217 = require("react/jsx-runtime");
27081
27159
  function BaseHeader(props) {
27082
27160
  const {
27083
27161
  title,
@@ -27089,7 +27167,7 @@ function BaseHeader(props) {
27089
27167
  } = props;
27090
27168
  const tid = useTestIds(otherProps, "header");
27091
27169
  useDocumentTitle(title, documentTitleSuffix);
27092
- return /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)("header", { ...tid, ...(0, import_runtime135.trussProps)({
27170
+ return /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)("header", { ...tid, ...(0, import_runtime137.trussProps)({
27093
27171
  display: "df",
27094
27172
  flexDirection: "fdc",
27095
27173
  paddingTop: "pt3",
@@ -27103,7 +27181,7 @@ function BaseHeader(props) {
27103
27181
  "--backgroundColor": "var(--b-surface)"
27104
27182
  }]
27105
27183
  }), children: [
27106
- /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)("div", { ...(0, import_runtime135.trussProps)({
27184
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)("div", { ...(0, import_runtime137.trussProps)({
27107
27185
  ...{
27108
27186
  display: "df",
27109
27187
  justifyContent: "jcsb",
@@ -27117,9 +27195,9 @@ function BaseHeader(props) {
27117
27195
  } : {}
27118
27196
  }
27119
27197
  }), children: [
27120
- /* @__PURE__ */ (0, import_jsx_runtime215.jsxs)("div", { className: "mw0", children: [
27121
- breadcrumbs && /* @__PURE__ */ (0, import_jsx_runtime215.jsx)(Breadcrumbs, { ...breadcrumbs }),
27122
- /* @__PURE__ */ (0, import_jsx_runtime215.jsx)("h1", { ...tid.title, ...(0, import_runtime135.trussProps)({
27198
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)("div", { className: "mw0", children: [
27199
+ breadcrumbs && /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(Breadcrumbs, { ...breadcrumbs }),
27200
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("h1", { ...tid.title, ...(0, import_runtime137.trussProps)({
27123
27201
  fontWeight: "fw6",
27124
27202
  fontSize: "fz_20px",
27125
27203
  lineHeight: "lh_28px",
@@ -27128,22 +27206,22 @@ function BaseHeader(props) {
27128
27206
  }]
27129
27207
  }), children: title })
27130
27208
  ] }),
27131
- /* @__PURE__ */ (0, import_jsx_runtime215.jsx)("div", { className: "fs0", children: rightSlot })
27209
+ /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("div", { className: "fs0", children: rightSlot })
27132
27210
  ] }),
27133
27211
  bottomSlot
27134
27212
  ] });
27135
27213
  }
27136
27214
 
27137
27215
  // src/components/Headers/PageHeader.tsx
27138
- var import_runtime136 = require("@homebound/truss/runtime");
27139
- var import_jsx_runtime216 = require("react/jsx-runtime");
27216
+ var import_runtime138 = require("@homebound/truss/runtime");
27217
+ var import_jsx_runtime218 = require("react/jsx-runtime");
27140
27218
  function PageHeader2(props) {
27141
27219
  const {
27142
27220
  tabs,
27143
27221
  ...otherProps
27144
27222
  } = props;
27145
27223
  const tid = useTestIds(otherProps, "header");
27146
- return /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(BaseHeader, { ...otherProps, bottomSlot: tabs && /* @__PURE__ */ (0, import_jsx_runtime216.jsx)("div", { ...(0, import_runtime136.trussProps)(pageContentPaddingX), children: /* @__PURE__ */ (0, import_jsx_runtime216.jsx)(Tabs, { ...tabs, ...tid.tabs }) }) });
27224
+ return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(BaseHeader, { ...otherProps, bottomSlot: tabs && /* @__PURE__ */ (0, import_jsx_runtime218.jsx)("div", { ...(0, import_runtime138.trussProps)(pageContentPaddingX), children: /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(Tabs, { ...tabs, ...tid.tabs }) }) });
27147
27225
  }
27148
27226
 
27149
27227
  // src/layouts/useBannerAndNavbarHeight.ts
@@ -27152,9 +27230,9 @@ function useBannerAndNavbarHeight() {
27152
27230
  }
27153
27231
 
27154
27232
  // src/layouts/PageHeaderLayout/PageHeaderLayout.tsx
27155
- var import_runtime137 = require("@homebound/truss/runtime");
27156
- var import_jsx_runtime217 = require("react/jsx-runtime");
27157
- var __maybeInc27 = (inc) => {
27233
+ var import_runtime139 = require("@homebound/truss/runtime");
27234
+ var import_jsx_runtime219 = require("react/jsx-runtime");
27235
+ var __maybeInc29 = (inc) => {
27158
27236
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27159
27237
  };
27160
27238
  function PageHeaderLayout(props) {
@@ -27184,118 +27262,67 @@ function PageHeaderLayout(props) {
27184
27262
  const innerCss = autoHideState === "static" ? {
27185
27263
  position: "sticky",
27186
27264
  left: ["left_var", {
27187
- "--left": (0, import_runtime137.maybeCssVar)(__maybeInc27(headerLeft))
27265
+ "--left": (0, import_runtime139.maybeCssVar)(__maybeInc29(headerLeft))
27188
27266
  }],
27189
27267
  width: ["w_var", {
27190
- "--width": (0, import_runtime137.maybeCssVar)(__maybeInc27(headerWidth))
27268
+ "--width": (0, import_runtime139.maybeCssVar)(__maybeInc29(headerWidth))
27191
27269
  }],
27192
27270
  zIndex: ["z_var", {
27193
- "--zIndex": (0, import_runtime137.maybeCssVar)(zIndices.pageStickyHeader)
27271
+ "--zIndex": (0, import_runtime139.maybeCssVar)(zIndices.pageStickyHeader)
27194
27272
  }]
27195
27273
  } : {
27196
27274
  position: "fixed",
27197
27275
  left: ["left_var", {
27198
- "--left": (0, import_runtime137.maybeCssVar)(__maybeInc27(headerLeft))
27276
+ "--left": (0, import_runtime139.maybeCssVar)(__maybeInc29(headerLeft))
27199
27277
  }],
27200
27278
  width: ["w_var", {
27201
- "--width": (0, import_runtime137.maybeCssVar)(__maybeInc27(headerWidth))
27279
+ "--width": (0, import_runtime139.maybeCssVar)(__maybeInc29(headerWidth))
27202
27280
  }],
27203
27281
  zIndex: ["z_var", {
27204
- "--zIndex": (0, import_runtime137.maybeCssVar)(zIndices.pageStickyHeader)
27282
+ "--zIndex": (0, import_runtime139.maybeCssVar)(zIndices.pageStickyHeader)
27205
27283
  }],
27206
27284
  transition: "transitionTop"
27207
27285
  };
27208
27286
  const innerStyle = autoHideState !== "static" ? {
27209
27287
  top: autoHideState === "revealed" ? outerTop : `calc(${outerTop} - ${headerHeight}px)`
27210
27288
  } : void 0;
27211
- const pageHeaderEl = (0, import_react156.useMemo)(() => /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(PageHeader2, { ...pageHeader }), [pageHeader]);
27212
- return /* @__PURE__ */ (0, import_jsx_runtime217.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime217.jsxs)("div", { ...(0, import_runtime137.mergeProps)(void 0, cssVars, {
27289
+ const pageHeaderEl = (0, import_react156.useMemo)(() => /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(PageHeader2, { ...pageHeader }), [pageHeader]);
27290
+ return /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(DocumentScrollLayoutProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime219.jsxs)("div", { ...(0, import_runtime139.mergeProps)(void 0, cssVars, {
27213
27291
  display: "df",
27214
27292
  flexDirection: "fdc",
27215
27293
  width: "w100"
27216
27294
  }), ...tid, children: [
27217
- /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("div", { ref: spacerRef, ...(0, import_runtime137.mergeProps)(void 0, {
27295
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)("div", { ref: spacerRef, ...(0, import_runtime139.mergeProps)(void 0, {
27218
27296
  height: headerHeight
27219
27297
  }, {
27220
27298
  flexShrink: "fs0",
27221
27299
  width: "w100"
27222
- }), children: /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("div", { ref: headerMetricsRef, ...(0, import_runtime137.mergeProps)(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
27223
- /* @__PURE__ */ (0, import_jsx_runtime217.jsx)("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children })
27300
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)("div", { ref: headerMetricsRef, ...(0, import_runtime139.mergeProps)(void 0, innerStyle, innerCss), ...tid.pageHeader, children: pageHeaderEl }) }),
27301
+ /* @__PURE__ */ (0, import_jsx_runtime219.jsx)("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children })
27224
27302
  ] }) });
27225
27303
  }
27226
27304
 
27227
27305
  // src/layouts/WorkflowLayout/WorkflowLayout.tsx
27228
- var import_react159 = require("react");
27306
+ var import_react158 = require("react");
27229
27307
 
27230
27308
  // src/components/Headers/WorkflowHeader.tsx
27231
- var import_jsx_runtime218 = require("react/jsx-runtime");
27309
+ var import_jsx_runtime220 = require("react/jsx-runtime");
27232
27310
  function WorkflowHeader(props) {
27233
27311
  const { stepperTabs, ...otherProps } = props;
27234
27312
  const tid = useTestIds(otherProps, "header");
27235
- return /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(BaseHeader, { ...otherProps, bottomSlot: /* @__PURE__ */ (0, import_jsx_runtime218.jsx)(StepperTabs, { ...stepperTabs, ...tid.stepperTabs }) });
27236
- }
27237
-
27238
- // src/layouts/useScrollCollapse.ts
27239
- var import_react157 = require("react");
27240
- function useScrollCollapse(enabled, restingOffset) {
27241
- const [collapsed, setCollapsed] = (0, import_react157.useState)(() => typeof window !== "undefined" && window.scrollY > 0);
27242
- const collapsedRef = (0, import_react157.useRef)(collapsed);
27243
- collapsedRef.current = collapsed;
27244
- const restingOffsetRef = (0, import_react157.useRef)(restingOffset);
27245
- restingOffsetRef.current = restingOffset;
27246
- const lastScrollYRef = (0, import_react157.useRef)(Number.POSITIVE_INFINITY);
27247
- const lastScrollHeightRef = (0, import_react157.useRef)(0);
27248
- (0, import_react157.useLayoutEffect)(() => {
27249
- lastScrollHeightRef.current = document.documentElement.scrollHeight;
27250
- }, [restingOffset]);
27251
- (0, import_react157.useLayoutEffect)(() => {
27252
- if (!enabled) return;
27253
- const commit = (next) => {
27254
- if (next !== collapsedRef.current) {
27255
- collapsedRef.current = next;
27256
- setCollapsed(next);
27257
- }
27258
- };
27259
- const updateCollapsed = () => {
27260
- const doc = document.documentElement;
27261
- const currentY = window.scrollY;
27262
- if (currentY <= 0) {
27263
- lastScrollYRef.current = 0;
27264
- lastScrollHeightRef.current = doc.scrollHeight;
27265
- commit(false);
27266
- return;
27267
- }
27268
- const currentScrollHeight = doc.scrollHeight;
27269
- const scrollHeightChanged = lastScrollHeightRef.current !== 0 && currentScrollHeight !== lastScrollHeightRef.current;
27270
- const dy = currentY - lastScrollYRef.current;
27271
- lastScrollYRef.current = currentY;
27272
- lastScrollHeightRef.current = currentScrollHeight;
27273
- if (currentY <= restingOffsetRef.current) return;
27274
- if (scrollHeightChanged) {
27275
- commit(true);
27276
- return;
27277
- }
27278
- const atBottom = currentY >= doc.scrollHeight - doc.clientHeight;
27279
- if (dy > 0) commit(true);
27280
- else if (dy < 0 && !atBottom) commit(false);
27281
- };
27282
- updateCollapsed();
27283
- window.addEventListener("scroll", updateCollapsed, { passive: true });
27284
- return () => window.removeEventListener("scroll", updateCollapsed);
27285
- }, [enabled]);
27286
- return collapsed;
27313
+ return /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(BaseHeader, { ...otherProps, bottomSlot: /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(StepperTabs, { ...stepperTabs, ...tid.stepperTabs }) });
27287
27314
  }
27288
27315
 
27289
27316
  // src/layouts/WorkflowLayout/useUnsavedChangesGuard.tsx
27290
- var import_react158 = require("react");
27317
+ var import_react157 = require("react");
27291
27318
  var import_react_router_dom9 = require("react-router-dom");
27292
- var import_jsx_runtime219 = require("react/jsx-runtime");
27319
+ var import_jsx_runtime221 = require("react/jsx-runtime");
27293
27320
  function useUnsavedChangesGuard(options) {
27294
27321
  const { isDirty, onCancel } = options;
27295
27322
  const { openModal } = useModal();
27296
- const isDirtyRef = (0, import_react158.useRef)(isDirty);
27323
+ const isDirtyRef = (0, import_react157.useRef)(isDirty);
27297
27324
  isDirtyRef.current = isDirty;
27298
- (0, import_react158.useEffect)(() => {
27325
+ (0, import_react157.useEffect)(() => {
27299
27326
  const onBeforeUnload = (e) => {
27300
27327
  if (isDirtyRef.current?.()) {
27301
27328
  e.preventDefault();
@@ -27312,7 +27339,7 @@ function useUnsavedChangesGuard(options) {
27312
27339
  }
27313
27340
  openModal({
27314
27341
  allowClosing: false,
27315
- content: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(ConfirmCloseModal, { onClose: () => onCancel(e) })
27342
+ content: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(ConfirmCloseModal, { onClose: () => onCancel(e) })
27316
27343
  });
27317
27344
  };
27318
27345
  const navigationBlocker = blocker.state === "blocked" ? { proceed: () => blocker.proceed?.(), cancelNavigation: () => blocker.reset?.() } : void 0;
@@ -27321,10 +27348,10 @@ function useUnsavedChangesGuard(options) {
27321
27348
  function UnsavedChangesNavigationModal(props) {
27322
27349
  const { proceed, cancelNavigation } = props;
27323
27350
  const { openModal, closeModal } = useModal();
27324
- (0, import_react158.useEffect)(() => {
27351
+ (0, import_react157.useEffect)(() => {
27325
27352
  openModal({
27326
27353
  allowClosing: false,
27327
- content: /* @__PURE__ */ (0, import_jsx_runtime219.jsx)(ConfirmCloseModal, { title: "Leave page?", onClose: proceed, onContinue: cancelNavigation })
27354
+ content: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(ConfirmCloseModal, { title: "Leave page?", onClose: proceed, onContinue: cancelNavigation })
27328
27355
  });
27329
27356
  return () => closeModal();
27330
27357
  }, []);
@@ -27332,7 +27359,7 @@ function UnsavedChangesNavigationModal(props) {
27332
27359
  }
27333
27360
 
27334
27361
  // src/layouts/WorkflowLayout/WorkflowActions.tsx
27335
- var import_jsx_runtime220 = require("react/jsx-runtime");
27362
+ var import_jsx_runtime222 = require("react/jsx-runtime");
27336
27363
  function WorkflowActions(props) {
27337
27364
  const {
27338
27365
  isFirstStep,
@@ -27346,20 +27373,20 @@ function WorkflowActions(props) {
27346
27373
  onContinue,
27347
27374
  primaryDisabled
27348
27375
  } = props;
27349
- return /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("div", { className: "df aic jcsb sm_w100", children: [
27350
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)("div", { className: "df aic", children: !isFirstStep && isMobile && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(IconButton, { icon: "arrowBack", label: "Back", onClick: onBack }) }),
27351
- /* @__PURE__ */ (0, import_jsx_runtime220.jsxs)("div", { className: "df aic gap1", children: [
27352
- /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Button, { label: "Cancel", variant: "quaternary", onClick: onCancel }),
27353
- onSaveAndExit && /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Button, { label: "Save & Exit", variant: "secondary", onClick: onSaveAndExit }),
27354
- isLastStep ? /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Button, { label: completeLabel, variant: "primary", onClick: onComplete, disabled: primaryDisabled }) : /* @__PURE__ */ (0, import_jsx_runtime220.jsx)(Button, { label: "Continue", variant: "primary", onClick: onContinue, disabled: primaryDisabled })
27376
+ return /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { className: "df aic jcsb sm_w100", children: [
27377
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)("div", { className: "df aic", children: !isFirstStep && isMobile && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(IconButton, { icon: "arrowBack", label: "Back", onClick: onBack }) }),
27378
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { className: "df aic gap1", children: [
27379
+ /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Button, { label: "Cancel", variant: "quaternary", onClick: onCancel }),
27380
+ onSaveAndExit && /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Button, { label: "Save & Exit", variant: "secondary", onClick: onSaveAndExit }),
27381
+ isLastStep ? /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Button, { label: completeLabel, variant: "primary", onClick: onComplete, disabled: primaryDisabled }) : /* @__PURE__ */ (0, import_jsx_runtime222.jsx)(Button, { label: "Continue", variant: "primary", onClick: onContinue, disabled: primaryDisabled })
27355
27382
  ] })
27356
27383
  ] });
27357
27384
  }
27358
27385
 
27359
27386
  // src/layouts/WorkflowLayout/WorkflowLayout.tsx
27360
- var import_runtime138 = require("@homebound/truss/runtime");
27361
- var import_jsx_runtime221 = require("react/jsx-runtime");
27362
- var __maybeInc28 = (inc) => {
27387
+ var import_runtime140 = require("@homebound/truss/runtime");
27388
+ var import_jsx_runtime223 = require("react/jsx-runtime");
27389
+ var __maybeInc30 = (inc) => {
27363
27390
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
27364
27391
  };
27365
27392
  function WorkflowLayout(props) {
@@ -27377,7 +27404,7 @@ function WorkflowLayout(props) {
27377
27404
  ...step,
27378
27405
  value: defaultTestId(step.label)
27379
27406
  }));
27380
- const [currentStep, setCurrentStep] = (0, import_react159.useState)(() => getInitialStep(stepTabs, defaultStep));
27407
+ const [currentStep, setCurrentStep] = (0, import_react158.useState)(() => getInitialStep(stepTabs, defaultStep));
27381
27408
  const tid = useTestIds(props, "workflowLayout");
27382
27409
  const {
27383
27410
  sm: isMobile
@@ -27389,11 +27416,8 @@ function WorkflowLayout(props) {
27389
27416
  isDirty,
27390
27417
  onCancel
27391
27418
  });
27392
- const bannerAndNavbarHeight = useBannerAndNavbarHeight();
27393
- const headerMetricsRef = (0, import_react159.useRef)(null);
27419
+ const headerMetricsRef = (0, import_react158.useRef)(null);
27394
27420
  const headerHeight = useMeasuredHeight(headerMetricsRef, true);
27395
- const scrollCollapsed = useScrollCollapse(!isMobile, bannerAndNavbarHeight + headerHeight);
27396
- const collapsed = isMobile || scrollCollapsed;
27397
27421
  const headerWidth = documentScrollChromeWidth();
27398
27422
  const outerTop = bannerAndNavbarChromeTop();
27399
27423
  const cssVars = headerHeight > 0 ? {
@@ -27403,7 +27427,7 @@ function WorkflowLayout(props) {
27403
27427
  const isFirstStep = currentIndex <= 0;
27404
27428
  const isLastStep = currentIndex === stepTabs.length - 1;
27405
27429
  const activeStep = stepTabs[currentIndex];
27406
- const buttons = /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(WorkflowActions, { isFirstStep, isLastStep, isMobile, onBack: () => setCurrentStep(stepTabs[currentIndex - 1].value), onCancel: onCancelClick, onSaveAndExit, completeLabel, onComplete, primaryDisabled: !activeStep?.isValid, onContinue: async () => {
27430
+ const buttons = /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(WorkflowActions, { isFirstStep, isLastStep, isMobile, onBack: () => setCurrentStep(stepTabs[currentIndex - 1].value), onCancel: onCancelClick, onSaveAndExit, completeLabel, onComplete, primaryDisabled: !activeStep?.isValid, onContinue: async () => {
27407
27431
  const onContinue = activeStep?.onContinue;
27408
27432
  if (onContinue) {
27409
27433
  const allowed = await onContinue();
@@ -27412,7 +27436,7 @@ function WorkflowLayout(props) {
27412
27436
  setCurrentStep(stepTabs[currentIndex + 1].value);
27413
27437
  } });
27414
27438
  const showFooter = isMobile;
27415
- (0, import_react159.useLayoutEffect)(() => {
27439
+ (0, import_react158.useLayoutEffect)(() => {
27416
27440
  const root = document.documentElement;
27417
27441
  const previous = root.style.getPropertyValue(beamWorkflowLayoutFooterHeightVar);
27418
27442
  root.style.setProperty(beamWorkflowLayoutFooterHeightVar, showFooter ? `${mobileFooterHeightPx}px` : "0px");
@@ -27424,50 +27448,57 @@ function WorkflowLayout(props) {
27424
27448
  }
27425
27449
  };
27426
27450
  }, [showFooter]);
27427
- const headerEl = /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(WorkflowHeader, { ...headerProps, rightSlot: isMobile ? void 0 : buttons, stepperTabs: {
27428
- steps: stepTabs,
27429
- currentStep,
27430
- onChange: setCurrentStep,
27431
- collapsed
27432
- } });
27433
- return /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)(DocumentScrollLayoutProvider, { children: [
27434
- /* @__PURE__ */ (0, import_jsx_runtime221.jsxs)("div", { ...(0, import_runtime138.mergeProps)(void 0, cssVars, {
27451
+ const headerEl = /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(
27452
+ WorkflowHeader,
27453
+ {
27454
+ ...headerProps,
27455
+ rightSlot: isMobile ? void 0 : buttons,
27456
+ stepperTabs: {
27457
+ steps: stepTabs,
27458
+ currentStep,
27459
+ onChange: setCurrentStep,
27460
+ collapsed: isMobile
27461
+ }
27462
+ }
27463
+ );
27464
+ return /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)(DocumentScrollLayoutProvider, { children: [
27465
+ /* @__PURE__ */ (0, import_jsx_runtime223.jsxs)("div", { ...(0, import_runtime140.mergeProps)(void 0, cssVars, {
27435
27466
  display: "df",
27436
27467
  flexDirection: "fdc",
27437
27468
  width: "w100"
27438
27469
  }), ...tid, children: [
27439
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { ref: headerMetricsRef, ...(0, import_runtime138.trussProps)({
27470
+ /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { ref: headerMetricsRef, ...(0, import_runtime140.trussProps)({
27440
27471
  position: "sticky",
27441
27472
  left: "left0",
27442
27473
  width: ["w_var", {
27443
- "--width": (0, import_runtime138.maybeCssVar)(__maybeInc28(headerWidth))
27474
+ "--width": (0, import_runtime140.maybeCssVar)(__maybeInc30(headerWidth))
27444
27475
  }],
27445
27476
  zIndex: ["z_var", {
27446
- "--zIndex": (0, import_runtime138.maybeCssVar)(zIndices.pageStickyHeader)
27477
+ "--zIndex": (0, import_runtime140.maybeCssVar)(zIndices.pageStickyHeader)
27447
27478
  }],
27448
27479
  top: ["top_var", {
27449
- "--top": (0, import_runtime138.maybeCssVar)(__maybeInc28(outerTop))
27480
+ "--top": (0, import_runtime140.maybeCssVar)(__maybeInc30(outerTop))
27450
27481
  }]
27451
27482
  }), ...tid.header, children: headerEl }),
27452
- /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children: activeStep?.content }),
27453
- showFooter && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { ...(0, import_runtime138.trussProps)({
27483
+ /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { className: "df fdc fg1 mh0 w100", ...tid.body, children: activeStep?.content }),
27484
+ showFooter && /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { ...(0, import_runtime140.trussProps)({
27454
27485
  flexShrink: "fs0",
27455
27486
  width: "w100",
27456
27487
  height: ["h_var", {
27457
27488
  "--height": `${mobileFooterHeightPx}px`
27458
27489
  }]
27459
- }), children: /* @__PURE__ */ (0, import_jsx_runtime221.jsx)("div", { ...(0, import_runtime138.trussProps)({
27490
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime223.jsx)("div", { ...(0, import_runtime140.trussProps)({
27460
27491
  ...{
27461
27492
  position: "fixed",
27462
27493
  bottom: "bottom0",
27463
27494
  width: ["w_var", {
27464
- "--width": (0, import_runtime138.maybeCssVar)(__maybeInc28(headerWidth))
27495
+ "--width": (0, import_runtime140.maybeCssVar)(__maybeInc30(headerWidth))
27465
27496
  }],
27466
27497
  height: ["h_var", {
27467
27498
  "--height": `${mobileFooterHeightPx}px`
27468
27499
  }],
27469
27500
  zIndex: ["z_var", {
27470
- "--zIndex": (0, import_runtime138.maybeCssVar)(zIndices.pageStickyFooter)
27501
+ "--zIndex": (0, import_runtime140.maybeCssVar)(zIndices.pageStickyFooter)
27471
27502
  }],
27472
27503
  display: "df",
27473
27504
  alignItems: "aic",
@@ -27485,7 +27516,7 @@ function WorkflowLayout(props) {
27485
27516
  ...pageContentPaddingX
27486
27517
  }), ...tid.footer, children: buttons }) })
27487
27518
  ] }),
27488
- navigationBlocker && /* @__PURE__ */ (0, import_jsx_runtime221.jsx)(UnsavedChangesNavigationModal, { ...navigationBlocker })
27519
+ navigationBlocker && /* @__PURE__ */ (0, import_jsx_runtime223.jsx)(UnsavedChangesNavigationModal, { ...navigationBlocker })
27489
27520
  ] });
27490
27521
  }
27491
27522
  var mobileFooterHeightPx = 80;
@@ -27510,7 +27541,9 @@ function getInitialStep(steps, defaultStep) {
27510
27541
  AvatarGroup,
27511
27542
  Banner,
27512
27543
  BaseFilter,
27544
+ BeamLogo,
27513
27545
  BeamProvider,
27546
+ BlueprintAiLogo,
27514
27547
  BoundCheckboxField,
27515
27548
  BoundCheckboxGroupField,
27516
27549
  BoundChipSelectField,