@homebound/beam 3.15.1 → 3.16.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
@@ -5766,7 +5766,7 @@ function IconButton(props) {
5766
5766
  openInNew,
5767
5767
  active = false,
5768
5768
  compact = false,
5769
- circle = false,
5769
+ variant = "default",
5770
5770
  download = false,
5771
5771
  forceFocusStyles = false,
5772
5772
  label,
@@ -5796,20 +5796,22 @@ function IconButton(props) {
5796
5796
  isHovered
5797
5797
  } = (0, import_react_aria2.useHover)(ariaProps);
5798
5798
  const testIds = useTestIds(props, icon);
5799
+ const isCircle = variant === "circle";
5800
+ const isOutline = variant === "outline";
5799
5801
  const styles = (0, import_react10.useMemo)(() => ({
5800
5802
  ...iconButtonStylesReset,
5801
- ...circle ? iconButtonCircle : compact ? iconButtonCompact : iconButtonNormal,
5802
- ...isHovered && (circle ? iconButtonCircleStylesHover : iconButtonTokenHover),
5803
- ...isFocusVisible || forceFocusStyles ? circle ? iconButtonCircleStylesFocus : iconButtonStylesFocus : {},
5804
- ...active && (circle ? activeStylesCircle : iconButtonTokenHover),
5803
+ ...isCircle ? iconButtonCircle : isOutline ? iconButtonOutline : compact ? iconButtonCompact : iconButtonNormal,
5804
+ ...isHovered && (isCircle || isOutline ? iconButtonCircleStylesHover : iconButtonTokenHover),
5805
+ ...isFocusVisible || forceFocusStyles ? isCircle ? iconButtonCircleStylesFocus : iconButtonStylesFocus : {},
5806
+ ...active && (isCircle || isOutline ? activeStylesCircle : iconButtonTokenHover),
5805
5807
  ...isDisabled && iconButtonStylesDisabled,
5806
5808
  ...bgColor && {
5807
5809
  backgroundColor: ["bgColor_var", {
5808
5810
  "--backgroundColor": (0, import_runtime9.maybeCssVar)(bgColor)
5809
5811
  }]
5810
5812
  }
5811
- }), [isHovered, isFocusVisible, isDisabled, compact, circle, active, bgColor, forceFocusStyles]);
5812
- const iconColor = circle ? circleIconColor : defaultIconColor;
5813
+ }), [isHovered, isFocusVisible, isDisabled, compact, isCircle, isOutline, active, bgColor, forceFocusStyles]);
5814
+ const iconColor = isCircle ? circleIconColor : defaultIconColor;
5813
5815
  const buttonAttrs = {
5814
5816
  ...testIds,
5815
5817
  ...buttonProps,
@@ -5819,7 +5821,7 @@ function IconButton(props) {
5819
5821
  ...(0, import_runtime9.mergeProps)(typeof onPress === "string" ? navLink : void 0, void 0, styles),
5820
5822
  "aria-label": label
5821
5823
  };
5822
- const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { icon, color: color || (isDisabled ? "--b-text-disabled" /* TextDisabled */ : circle && (isHovered || active || isFocusVisible) ? defaultIconColor : iconColor), bgColor, inc: compact ? 2 : circle ? 2.5 : inc });
5824
+ const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { icon, color: color || (isDisabled ? "--b-text-disabled" /* TextDisabled */ : isCircle && (isHovered || active || isFocusVisible) ? defaultIconColor : iconColor), bgColor, inc: compact ? 2 : isCircle ? 2.5 : inc });
5823
5825
  return maybeTooltip({
5824
5826
  title: resolveTooltip(disabled ?? (preventTooltip ? void 0 : label), tooltip),
5825
5827
  placement: "top",
@@ -5862,6 +5864,17 @@ var iconButtonCircle = {
5862
5864
  justifyContent: "jcc",
5863
5865
  alignItems: "aic"
5864
5866
  };
5867
+ var iconButtonOutline = {
5868
+ borderRadius: "br8",
5869
+ width: "w_48px",
5870
+ height: "h_40px",
5871
+ borderColor: "bcGray300",
5872
+ borderStyle: "bss",
5873
+ borderWidth: "bw1",
5874
+ display: "df",
5875
+ justifyContent: "jcc",
5876
+ alignItems: "aic"
5877
+ };
5865
5878
  var iconButtonTokenHover = {
5866
5879
  backgroundColor: ["bgColor_var", {
5867
5880
  "--backgroundColor": "var(--b-neutral-fill-hover-strong)"
@@ -18632,7 +18645,7 @@ function RightSidebar({
18632
18645
  flexDirection: "fdc",
18633
18646
  alignItems: "aic"
18634
18647
  }), children: [
18635
- /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */, circle: true, onClick: () => setSelectedIcon(void 0), icon: "x", inc: 3.5 }),
18648
+ /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */, variant: "circle", onClick: () => setSelectedIcon(void 0), icon: "x", inc: 3.5 }),
18636
18649
  /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("div", { className: "absolute top_48px h_calc_100vh_168px w_1px bgGray300" })
18637
18650
  ] }),
18638
18651
  /* @__PURE__ */ (0, import_jsx_runtime121.jsx)("div", { className: "df aic jcfe gap2 mb3", children: /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(IconButtonList, { content, selectedIcon, onIconClick: setSelectedIcon }) })
@@ -18651,7 +18664,7 @@ function IconButtonList({
18651
18664
  }) => /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
18652
18665
  IconButton,
18653
18666
  {
18654
- circle: true,
18667
+ variant: "circle",
18655
18668
  active: icon === selectedIcon,
18656
18669
  onClick: () => onIconClick(icon),
18657
18670
  icon,
@@ -19735,35 +19748,109 @@ function updateFilter(currentFilter, key, value) {
19735
19748
  var filterTestIdPrefix = "filter";
19736
19749
 
19737
19750
  // src/components/Filters/FilterDropdownMenu.tsx
19751
+ var import_use_debounce7 = require("use-debounce");
19752
+ var import_use_query_params3 = require("use-query-params");
19753
+ var import_runtime74 = require("@homebound/truss/runtime");
19738
19754
  var import_jsx_runtime140 = require("react/jsx-runtime");
19739
19755
  function FilterDropdownMenu(props) {
19740
19756
  const {
19741
19757
  filter,
19742
19758
  onChange,
19743
19759
  filterDefs,
19744
- groupBy
19760
+ groupBy,
19761
+ searchProps
19745
19762
  } = props;
19746
19763
  const testId = useTestIds(props, filterTestIdPrefix);
19764
+ const {
19765
+ sm
19766
+ } = useBreakpoint();
19747
19767
  const [isOpen, setIsOpen] = (0, import_react98.useState)(false);
19748
- const activeFilterCount = (0, import_react98.useMemo)(() => getActiveFilterCount(filter), [filter]);
19749
- const filterImpls = (0, import_react98.useMemo)(() => buildFilterImpls(filterDefs), [filterDefs]);
19768
+ const [searchIsOpen, setSearchIsOpen] = (0, import_react98.useState)(false);
19769
+ const [{
19770
+ search: initialValue
19771
+ }, setQueryParams] = (0, import_use_query_params3.useQueryParams)({
19772
+ search: import_use_query_params3.StringParam
19773
+ });
19774
+ const [searchValue, setSearchValue] = (0, import_react98.useState)(initialValue || "");
19775
+ const [debouncedSearch] = (0, import_use_debounce7.useDebounce)(searchValue, 300);
19776
+ (0, import_react98.useEffect)(() => {
19777
+ if (searchProps) {
19778
+ searchProps.onSearch(debouncedSearch);
19779
+ setQueryParams({
19780
+ search: debouncedSearch || void 0
19781
+ }, "replaceIn");
19782
+ }
19783
+ }, [debouncedSearch, searchProps, setQueryParams]);
19784
+ const hasSearch = !!searchProps;
19785
+ const hasFilters = !!filterDefs && Object.keys(filterDefs ?? {}).length > 0;
19786
+ const activeFilterCount = (0, import_react98.useMemo)(() => filter ? getActiveFilterCount(filter) : 0, [filter]);
19787
+ const filterImpls = (0, import_react98.useMemo)(() => filterDefs ? buildFilterImpls(filterDefs) : {}, [filterDefs]);
19750
19788
  const renderFilters = () => {
19789
+ if (!filter || !onChange) return null;
19751
19790
  const entries = safeEntries(filterImpls);
19752
19791
  const nonCheckbox = entries.filter(([_, f]) => !f.hideLabelInModal);
19753
19792
  const checkbox = entries.filter(([_, f]) => f.hideLabelInModal);
19754
19793
  return [...nonCheckbox, ...checkbox].map(([key, f]) => /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("div", { children: f.render(filter[key], (value) => onChange(updateFilter(filter, key, value)), testId, false, false) }, key));
19755
19794
  };
19795
+ const searchTextField = /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(TextField, { label: "Search", labelStyle: "hidden", value: searchValue, onChange: (v) => setSearchValue(v ?? ""), placeholder: "Search", clearable: true, startAdornment: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Icon, { icon: "search", color: "rgba(100, 100, 100, 1)" /* Gray700 */ }) });
19756
19796
  return /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_jsx_runtime140.Fragment, { children: [
19757
- /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Filter", icon: "filter", size: "md", endAdornment: /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { className: "df aic gap1", children: [
19797
+ hasSearch && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("div", { ...(0, import_runtime74.trussProps)({
19798
+ width: "w_244px",
19799
+ ...sm ? {
19800
+ position: "absolute",
19801
+ overflow: "oh",
19802
+ clip: "cli_inset_50",
19803
+ clipPath: "clp_none",
19804
+ border: "bd_0",
19805
+ height: "h_1px",
19806
+ margin: "m_neg1px",
19807
+ width: "w_1px",
19808
+ padding: "p_0",
19809
+ whiteSpace: "wsnw",
19810
+ opacity: "o0"
19811
+ } : {}
19812
+ }), children: searchTextField }),
19813
+ sm && hasSearch && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "", "aria-label": "Search", icon: "search", onClick: () => setSearchIsOpen(!searchIsOpen), active: searchIsOpen, variant: "secondaryBlack", ...testId.searchButton }),
19814
+ hasFilters && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: sm ? "" : "Filter", "aria-label": "Filter", icon: "filter", size: "md", endAdornment: /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { className: "df aic gap1", children: [
19758
19815
  activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(CountBadge, { count: activeFilterCount }),
19759
- /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Icon, { icon: isOpen ? "chevronUp" : "chevronDown" })
19816
+ /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Icon, { xss: {
19817
+ ...sm ? {
19818
+ position: "absolute",
19819
+ overflow: "oh",
19820
+ clip: "cli_inset_50",
19821
+ clipPath: "clp_none",
19822
+ border: "bd_0",
19823
+ height: "h_1px",
19824
+ margin: "m_neg1px",
19825
+ width: "w_1px",
19826
+ padding: "p_0",
19827
+ whiteSpace: "wsnw",
19828
+ opacity: "o0"
19829
+ } : {}
19830
+ }, icon: isOpen ? "chevronUp" : "chevronDown" })
19760
19831
  ] }), variant: "secondaryBlack", onClick: () => setIsOpen(!isOpen), active: isOpen, ...testId.button }),
19761
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { className: "df aic fww gap1 w100", children: [
19832
+ searchIsOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("div", { ...(0, import_runtime74.trussProps)({
19833
+ width: "w100",
19834
+ ...!sm ? {
19835
+ position: "absolute",
19836
+ overflow: "oh",
19837
+ clip: "cli_inset_50",
19838
+ clipPath: "clp_none",
19839
+ border: "bd_0",
19840
+ height: "h_1px",
19841
+ margin: "m_neg1px",
19842
+ width: "w_1px",
19843
+ padding: "p_0",
19844
+ whiteSpace: "wsnw",
19845
+ opacity: "o0"
19846
+ } : {}
19847
+ }), children: searchTextField }),
19848
+ hasFilters && isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { className: "df aic fww gap1 w100", children: [
19762
19849
  groupBy && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(SelectField, { label: "Group by", labelStyle: "inline", sizeToContent: true, options: groupBy.options, getOptionValue: (o) => o.id, getOptionLabel: (o) => o.name, value: groupBy.value, onSelect: (g) => g && groupBy.setValue(g) }),
19763
19850
  renderFilters(),
19764
- activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn })
19851
+ activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange?.({}), ...testId.clearBtn })
19765
19852
  ] }),
19766
- !isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(FilterChips, { filter, filterImpls, onChange, onClear: () => onChange({}), testId })
19853
+ hasFilters && !isOpen && filter && onChange && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(FilterChips, { filter, filterImpls, onChange, onClear: () => onChange({}), testId })
19767
19854
  ] });
19768
19855
  }
19769
19856
  function FilterChips({
@@ -19897,6 +19984,9 @@ function EditColumnsButton(props) {
19897
19984
  isDisabled: !!disabled
19898
19985
  }, state, buttonRef);
19899
19986
  const tid = useTestIds(props, isTextButton(trigger) ? labelOr(trigger, "editColumnsButton") : isNavLinkButton(trigger) ? defaultTestId(trigger.navLabel) : isIconButton(trigger) ? trigger.icon : trigger.name);
19987
+ const {
19988
+ sm
19989
+ } = useBreakpoint();
19900
19990
  const options = (0, import_react99.useMemo)(() => columns.filter((column2) => column2.canHide).filter((column2) => {
19901
19991
  if (!column2.name || column2.name.length === 0 || !column2.id || column2.id.length === 0) {
19902
19992
  console.warn("Column is missing 'name' and/or 'id' property required by the Edit Columns button", column2);
@@ -19912,7 +20002,7 @@ function EditColumnsButton(props) {
19912
20002
  api.resetColumnWidths();
19913
20003
  api.setVisibleColumns(columns.filter((column2) => column2.canHide ? ids.includes(column2.id) : true).map((c) => c.id));
19914
20004
  }, [columns, api]);
19915
- return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(OverlayTrigger, { ...props, menuTriggerProps, state, buttonRef, ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { className: "dg gtc_1fr_auto gap2 bgWhite pt2 pb2 pr2 pl2 maxw_326px h_bshHover", children: [
20005
+ return /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(OverlayTrigger, { ...props, menuTriggerProps, state, buttonRef, hideEndAdornment: sm, ...tid, children: /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)("div", { className: "dg gtc_1fr_auto gap2 bgWhite pt2 pb2 pr2 pl2 maxw_326px h_bshHover", children: [
19916
20006
  options.map((option) => /* @__PURE__ */ (0, import_jsx_runtime142.jsxs)(import_react99.Fragment, { children: [
19917
20007
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)("div", { className: "fw4 fz_14px lh_20px wsnw oh to_ellipsis pr1", children: option.label }),
19918
20008
  /* @__PURE__ */ (0, import_jsx_runtime142.jsx)(Switch, { compact: true, selected: selectedValues.includes(option.value), onChange: (value) => setSelectedValues(value ? [...selectedValues, option.value] : selectedValues.filter((v) => v !== option.value)), labelStyle: "hidden", label: option.label, ...tid[`option${option.value}`] })
@@ -19922,7 +20012,7 @@ function EditColumnsButton(props) {
19922
20012
  }
19923
20013
 
19924
20014
  // src/components/Table/TableActions.tsx
19925
- var import_runtime74 = require("@homebound/truss/runtime");
20015
+ var import_runtime75 = require("@homebound/truss/runtime");
19926
20016
  var import_jsx_runtime143 = require("react/jsx-runtime");
19927
20017
  function TableActions(props) {
19928
20018
  const {
@@ -19930,7 +20020,7 @@ function TableActions(props) {
19930
20020
  children,
19931
20021
  right
19932
20022
  } = props;
19933
- return /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)("div", { ...(0, import_runtime74.trussProps)({
20023
+ return /* @__PURE__ */ (0, import_jsx_runtime143.jsxs)("div", { ...(0, import_runtime75.trussProps)({
19934
20024
  ...{
19935
20025
  display: "df",
19936
20026
  gap: "gap1",
@@ -19945,10 +20035,6 @@ function TableActions(props) {
19945
20035
  ] });
19946
20036
  }
19947
20037
 
19948
- // src/components/Layout/GridTableLayout/GridTableLayout.tsx
19949
- var import_use_debounce7 = require("use-debounce");
19950
- var import_use_query_params3 = require("use-query-params");
19951
-
19952
20038
  // src/components/Layout/layoutTypes.ts
19953
20039
  function isGridTableProps(props) {
19954
20040
  return "rows" in props;
@@ -19958,7 +20044,7 @@ function isGridTableProps(props) {
19958
20044
  var import_react100 = require("react");
19959
20045
 
19960
20046
  // src/components/LoadingSkeleton.tsx
19961
- var import_runtime75 = require("@homebound/truss/runtime");
20047
+ var import_runtime76 = require("@homebound/truss/runtime");
19962
20048
  var import_jsx_runtime144 = require("react/jsx-runtime");
19963
20049
  function LoadingSkeleton({
19964
20050
  rows = 1,
@@ -19971,18 +20057,18 @@ function LoadingSkeleton({
19971
20057
  const rowHeight = sizeToPixels2[size];
19972
20058
  const rowCells = (rowNumber) => {
19973
20059
  const flexGrowForCell = randomizeWidths ? getRandomizedFlexBasisByRowIndex(rowNumber) : 1;
19974
- return cellArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { ...(0, import_runtime75.trussProps)({
20060
+ return cellArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { ...(0, import_runtime76.trussProps)({
19975
20061
  borderRadius: "br4",
19976
20062
  animation: "animation_pulse_2s_cubic_bezier_0_4_0_0_6_1_infinite",
19977
20063
  flexGrow: ["flexGrow_var", {
19978
- "--flexGrow": (0, import_runtime75.maybeCssVar)(flexGrowForCell)
20064
+ "--flexGrow": (0, import_runtime76.maybeCssVar)(flexGrowForCell)
19979
20065
  }],
19980
20066
  backgroundColor: ["bgColor_var", {
19981
20067
  "--backgroundColor": "var(--b-loader-fill)"
19982
20068
  }]
19983
20069
  }) }, `row-${rowNumber}-cell-${i}`));
19984
20070
  };
19985
- return /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { ...(0, import_runtime75.trussProps)({
20071
+ return /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ (0, import_jsx_runtime144.jsx)("div", { ...(0, import_runtime76.trussProps)({
19986
20072
  display: "df",
19987
20073
  gap: "gap1",
19988
20074
  marginBottom: "mb1",
@@ -20023,7 +20109,7 @@ function LoadingTable(props) {
20023
20109
  }
20024
20110
 
20025
20111
  // src/components/Layout/GridTableLayout/GridTableLayout.tsx
20026
- var import_runtime76 = require("@homebound/truss/runtime");
20112
+ var import_runtime77 = require("@homebound/truss/runtime");
20027
20113
  var import_jsx_runtime146 = require("react/jsx-runtime");
20028
20114
  function GridTableLayoutComponent(props) {
20029
20115
  const {
@@ -20057,16 +20143,15 @@ function GridTableLayoutComponent(props) {
20057
20143
  }, [visibleColumnIds, layoutState]);
20058
20144
  const visibleColumnsStorageKey = layoutState?.persistedColumnsStorageKey;
20059
20145
  return /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(import_jsx_runtime146.Fragment, { children: [
20060
- /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(Header2, { pageTitle, breadCrumb, primaryAction, secondaryAction, tertiaryAction, actionMenu }),
20061
- showTableActions && /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(TableActions, { right: hasHideableColumns && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(EditColumnsButton, { columns, api, tooltip: "Display columns", trigger: {
20146
+ pageTitle && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(Header2, { pageTitle, breadCrumb, primaryAction, secondaryAction, tertiaryAction, actionMenu }),
20147
+ showTableActions && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(TableActions, { right: hasHideableColumns && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(EditColumnsButton, { columns, api, tooltip: "Display columns", trigger: {
20062
20148
  icon: "kanban",
20063
20149
  size: "md",
20064
20150
  label: "",
20065
20151
  variant: "secondaryBlack"
20066
- }, ...tid.editColumnsButton }), children: [
20067
- layoutState?.search && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(SearchBox, { onSearch: layoutState.setSearchString }),
20068
- layoutState?.filterDefs && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(_FilterDropdownMenu, { filterDefs: layoutState.filterDefs, filter: layoutState.filter, onChange: layoutState.setFilter, groupBy: layoutState.groupBy })
20069
- ] }),
20152
+ }, ...tid.editColumnsButton }), children: layoutState && (layoutState.filterDefs || layoutState.search) && /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(_FilterDropdownMenu, { filterDefs: layoutState.filterDefs, filter: layoutState.filter, onChange: layoutState.setFilter, groupBy: layoutState.groupBy, searchProps: layoutState.search ? {
20153
+ onSearch: layoutState.setSearchString
20154
+ } : void 0 }) }),
20070
20155
  /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)(ScrollableContent, { virtualized: isVirtualized, children: [
20071
20156
  isGridTableProps(tableProps) ? /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(GridTable, { ...tableProps, api, filter: clientSearch, style: {
20072
20157
  allWhite: true
@@ -20154,7 +20239,7 @@ function Header2(props) {
20154
20239
  actionMenu
20155
20240
  } = props;
20156
20241
  const tids = useTestIds(props);
20157
- return /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(FullBleed, { children: /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)("header", { ...(0, import_runtime76.trussProps)({
20242
+ return /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(FullBleed, { children: /* @__PURE__ */ (0, import_jsx_runtime146.jsxs)("header", { ...(0, import_runtime77.trussProps)({
20158
20243
  ...{
20159
20244
  paddingTop: "pt3",
20160
20245
  paddingBottom: "pb3",
@@ -20182,24 +20267,6 @@ function Header2(props) {
20182
20267
  ] })
20183
20268
  ] }) });
20184
20269
  }
20185
- function SearchBox({
20186
- onSearch
20187
- }) {
20188
- const [{
20189
- search: initialValue
20190
- }, setQueryParams] = (0, import_use_query_params3.useQueryParams)({
20191
- search: import_use_query_params3.StringParam
20192
- });
20193
- const [value, setValue] = (0, import_react101.useState)(initialValue || "");
20194
- const [debouncedSearch] = (0, import_use_debounce7.useDebounce)(value, 300);
20195
- (0, import_react101.useEffect)(() => {
20196
- onSearch(debouncedSearch);
20197
- setQueryParams({
20198
- search: debouncedSearch || void 0
20199
- }, "replaceIn");
20200
- }, [debouncedSearch, onSearch, setQueryParams]);
20201
- return /* @__PURE__ */ (0, import_jsx_runtime146.jsx)("div", { className: "w_244px", children: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(TextField, { label: "Search", labelStyle: "hidden", value, onChange: (v) => setValue(v ?? ""), placeholder: "Search", clearable: true, startAdornment: /* @__PURE__ */ (0, import_jsx_runtime146.jsx)(Icon, { icon: "search", color: "rgba(100, 100, 100, 1)" /* Gray700 */ }) }) });
20202
- }
20203
20270
 
20204
20271
  // src/components/Layout/PreventBrowserScroll.tsx
20205
20272
  var import_jsx_runtime147 = require("react/jsx-runtime");
@@ -20252,7 +20319,7 @@ function useRightPaneContext() {
20252
20319
  // src/components/Layout/RightPaneLayout/RightPaneLayout.tsx
20253
20320
  var import_framer_motion3 = require("framer-motion");
20254
20321
  var import_react103 = require("react");
20255
- var import_runtime77 = require("@homebound/truss/runtime");
20322
+ var import_runtime78 = require("@homebound/truss/runtime");
20256
20323
  var import_jsx_runtime149 = require("react/jsx-runtime");
20257
20324
  var __maybeInc11 = (inc) => {
20258
20325
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -20272,10 +20339,10 @@ function RightPaneLayout(props) {
20272
20339
  } = useRightPaneContext();
20273
20340
  (0, import_react103.useEffect)(() => closePane, [closePane]);
20274
20341
  return /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { className: "h100 df oxh", children: /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)(import_jsx_runtime149.Fragment, { children: [
20275
- /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { ...(0, import_runtime77.trussProps)({
20342
+ /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { ...(0, import_runtime78.trussProps)({
20276
20343
  ...{
20277
20344
  width: ["w_var", {
20278
- "--width": (0, import_runtime77.maybeCssVar)(__maybeInc11(`calc(100% - ${paneWidth + 24}px)`))
20345
+ "--width": (0, import_runtime78.maybeCssVar)(__maybeInc11(`calc(100% - ${paneWidth + 24}px)`))
20279
20346
  }],
20280
20347
  transition: "transition_width_2s_linear",
20281
20348
  height: "h100",
@@ -20291,13 +20358,13 @@ function RightPaneLayout(props) {
20291
20358
  ...{
20292
20359
  ...!!defaultPaneContent ? {
20293
20360
  width: ["w_var", {
20294
- "--width": (0, import_runtime77.maybeCssVar)(__maybeInc11(`calc(100% - ${paneWidth + 24}px)`))
20361
+ "--width": (0, import_runtime78.maybeCssVar)(__maybeInc11(`calc(100% - ${paneWidth + 24}px)`))
20295
20362
  }],
20296
20363
  marginRight: "mr3"
20297
20364
  } : {}
20298
20365
  }
20299
20366
  }), children }),
20300
- /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)("div", { ...(0, import_runtime77.trussProps)({
20367
+ /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)("div", { ...(0, import_runtime78.trussProps)({
20301
20368
  position: "relative",
20302
20369
  ...!!defaultPaneContent ? {
20303
20370
  width: ["w_var", {
@@ -20305,7 +20372,7 @@ function RightPaneLayout(props) {
20305
20372
  }]
20306
20373
  } : {}
20307
20374
  }), children: [
20308
- defaultPaneContent && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { ...(0, import_runtime77.trussProps)({
20375
+ defaultPaneContent && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { ...(0, import_runtime78.trussProps)({
20309
20376
  height: "h100",
20310
20377
  width: ["w_var", {
20311
20378
  "--width": `${paneWidth}px`
@@ -20323,9 +20390,9 @@ function RightPaneLayout(props) {
20323
20390
  {
20324
20391
  layout: "position",
20325
20392
  "data-testid": "rightPaneContent",
20326
- ...(0, import_runtime77.trussProps)({
20393
+ ...(0, import_runtime78.trussProps)({
20327
20394
  backgroundColor: ["bgColor_var", {
20328
- "--backgroundColor": (0, import_runtime77.maybeCssVar)(paneBgColor)
20395
+ "--backgroundColor": (0, import_runtime78.maybeCssVar)(paneBgColor)
20329
20396
  }],
20330
20397
  height: "h100",
20331
20398
  width: ["w_var", {
@@ -20406,7 +20473,7 @@ function SidePanel(props) {
20406
20473
  }
20407
20474
 
20408
20475
  // src/components/Layout/TableReviewLayout/TableReviewLayout.tsx
20409
- var import_runtime78 = require("@homebound/truss/runtime");
20476
+ var import_runtime79 = require("@homebound/truss/runtime");
20410
20477
  var import_jsx_runtime152 = require("react/jsx-runtime");
20411
20478
  var defaultRightPaneWidth = 450;
20412
20479
  function TableReviewLayout(props) {
@@ -20448,14 +20515,14 @@ function TableReviewLayout(props) {
20448
20515
  bordered: true
20449
20516
  }, stickyHeader: true });
20450
20517
  }
20451
- return /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { ...(0, import_runtime78.trussProps)({
20518
+ return /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { ...(0, import_runtime79.trussProps)({
20452
20519
  position: "fixed",
20453
20520
  top: "top0",
20454
20521
  bottom: "bottom0",
20455
20522
  left: "left0",
20456
20523
  right: "right0",
20457
20524
  zIndex: ["z_var", {
20458
- "--zIndex": (0, import_runtime78.maybeCssVar)(zIndices.pageOverlay)
20525
+ "--zIndex": (0, import_runtime79.maybeCssVar)(zIndices.pageOverlay)
20459
20526
  }],
20460
20527
  backgroundColor: "bgWhite",
20461
20528
  display: "df",
@@ -20473,7 +20540,7 @@ function TableReviewLayout(props) {
20473
20540
  /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { className: "fw4 fz_14px lh_20px gray700 mt2", ...tid.description, children: description })
20474
20541
  ] }),
20475
20542
  /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { className: "fg1 df mh0", ...tid.content, children: [
20476
- /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { ...(0, import_runtime78.trussProps)({
20543
+ /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { ...(0, import_runtime79.trussProps)({
20477
20544
  ...{
20478
20545
  flexGrow: "fg1",
20479
20546
  overflowY: "oya",
@@ -20496,7 +20563,7 @@ function TableReviewLayout(props) {
20496
20563
  ease: "linear",
20497
20564
  duration: 0.2
20498
20565
  }, className: "df fdc fs0 relative", children: [
20499
- /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { ...(0, import_runtime78.trussProps)({
20566
+ /* @__PURE__ */ (0, import_jsx_runtime152.jsxs)("div", { ...(0, import_runtime79.trussProps)({
20500
20567
  position: "absolute",
20501
20568
  top: ["top_var", {
20502
20569
  "--top": `${-32}px`
@@ -20509,7 +20576,7 @@ function TableReviewLayout(props) {
20509
20576
  }],
20510
20577
  zIndex: "z1"
20511
20578
  }), children: [
20512
- /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */, circle: true, icon: "x", inc: 3.5, onClick: handleClosePanel, ...tid.closePanelButton }),
20579
+ /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */, variant: "circle", icon: "x", inc: 3.5, onClick: handleClosePanel, ...tid.closePanelButton }),
20513
20580
  /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { className: "w_1px bgGray300 vh100" })
20514
20581
  ] }),
20515
20582
  /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("div", { className: "fg1 oh mh0", children: /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(SidePanel, { ...panelContent }) })
@@ -20619,7 +20686,7 @@ function ButtonDatePicker(props) {
20619
20686
  // src/components/ButtonGroup.tsx
20620
20687
  var import_react107 = require("react");
20621
20688
  var import_react_aria48 = require("react-aria");
20622
- var import_runtime79 = require("@homebound/truss/runtime");
20689
+ var import_runtime80 = require("@homebound/truss/runtime");
20623
20690
  var import_jsx_runtime155 = (
20624
20691
  // Disable the button if the ButtonGroup is disabled or if the current button is disabled.
20625
20692
  require("react/jsx-runtime")
@@ -20633,7 +20700,7 @@ function ButtonGroup(props) {
20633
20700
  const tid = useTestIds(props, "buttonGroup");
20634
20701
  return (
20635
20702
  // Adding `line-height: 0` prevent inheriting line-heights that might throw off sizing within the button group.
20636
- /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("div", { ...tid, ...(0, import_runtime79.trussProps)({
20703
+ /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("div", { ...tid, ...(0, import_runtime80.trussProps)({
20637
20704
  ...{
20638
20705
  display: "df",
20639
20706
  lineHeight: "lh_0"
@@ -20679,10 +20746,10 @@ function GroupButton(props) {
20679
20746
  isHovered
20680
20747
  } = (0, import_react_aria48.useHover)(ariaProps);
20681
20748
  const tid = useTestIds(props);
20682
- return /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("span", { ...(0, import_runtime79.trussProps)(getButtonStyles2(isFirst, isLast)), children: maybeTooltip({
20749
+ return /* @__PURE__ */ (0, import_jsx_runtime155.jsx)("span", { ...(0, import_runtime80.trussProps)(getButtonStyles2(isFirst, isLast)), children: maybeTooltip({
20683
20750
  title: resolveTooltip(disabled, tooltip),
20684
20751
  placement: "top",
20685
- children: /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime79.trussProps)({
20752
+ children: /* @__PURE__ */ (0, import_jsx_runtime155.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime80.trussProps)({
20686
20753
  ...{
20687
20754
  fontWeight: "fw6",
20688
20755
  fontSize: "fz_14px",
@@ -20789,7 +20856,7 @@ var import_react_aria49 = require("react-aria");
20789
20856
  // src/components/Tag.tsx
20790
20857
  var import_utils121 = require("@react-aria/utils");
20791
20858
  var import_react108 = require("react");
20792
- var import_runtime80 = require("@homebound/truss/runtime");
20859
+ var import_runtime81 = require("@homebound/truss/runtime");
20793
20860
  var import_jsx_runtime156 = require("react/jsx-runtime");
20794
20861
  function Tag(props) {
20795
20862
  const {
@@ -20813,7 +20880,7 @@ function Tag(props) {
20813
20880
  });
20814
20881
  return maybeTooltip({
20815
20882
  title: !preventTooltip && showTooltip ? text : void 0,
20816
- children: /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("span", { ...tid, ...(0, import_runtime80.trussProps)({
20883
+ children: /* @__PURE__ */ (0, import_jsx_runtime156.jsxs)("span", { ...tid, ...(0, import_runtime81.trussProps)({
20817
20884
  ...{
20818
20885
  display: "dif",
20819
20886
  fontWeight: "fw6",
@@ -20863,7 +20930,7 @@ function getStyles(type) {
20863
20930
  }
20864
20931
 
20865
20932
  // src/components/Card.tsx
20866
- var import_runtime81 = require("@homebound/truss/runtime");
20933
+ var import_runtime82 = require("@homebound/truss/runtime");
20867
20934
  var import_jsx_runtime157 = require("react/jsx-runtime");
20868
20935
  function Card(props) {
20869
20936
  const {
@@ -20894,8 +20961,8 @@ function Card(props) {
20894
20961
  ...isHovered && cardHoverStyles,
20895
20962
  ...isDisabled && disabledStyles3
20896
20963
  }), [isDisabled, isHovered, bordered, type, isList]);
20897
- return /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { ...(0, import_runtime81.trussProps)(styles), ...hoverProps, ...tid, children: [
20898
- /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime81.trussProps)({
20964
+ return /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { ...(0, import_runtime82.trussProps)(styles), ...hoverProps, ...tid, children: [
20965
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime82.trussProps)({
20899
20966
  ...{
20900
20967
  height: ["h_var", {
20901
20968
  "--height": `${imgHeight}px`
@@ -20912,14 +20979,14 @@ function Card(props) {
20912
20979
  filter: "filter_brightness_1"
20913
20980
  },
20914
20981
  ...isHovered && !isList && imageHoverStyles
20915
- }), children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("img", { ...(0, import_runtime81.trussProps)({
20982
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("img", { ...(0, import_runtime82.trussProps)({
20916
20983
  width: "w100",
20917
20984
  height: "h100",
20918
20985
  objectFit: ["objectFit_var", {
20919
- "--objectFit": (0, import_runtime81.maybeCssVar)(imageFit)
20986
+ "--objectFit": (0, import_runtime82.maybeCssVar)(imageFit)
20920
20987
  }]
20921
20988
  }), src: imgSrc, alt: title, ...tid.img }) }),
20922
- isHovered && buttonMenuItems && /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime81.trussProps)({
20989
+ isHovered && buttonMenuItems && /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime82.trussProps)({
20923
20990
  position: "absolute",
20924
20991
  right: "right1",
20925
20992
  top: "top1",
@@ -20935,7 +21002,7 @@ function Card(props) {
20935
21002
  /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { className: "df fdc aifs gap1", children: [
20936
21003
  /* @__PURE__ */ (0, import_jsx_runtime157.jsxs)("div", { children: [
20937
21004
  /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { className: "fw6 fz_12px lh_16px gray700", ...tid.subtitle, children: subtitle }),
20938
- /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime81.trussProps)({
21005
+ /* @__PURE__ */ (0, import_jsx_runtime157.jsx)("div", { ...(0, import_runtime82.trussProps)({
20939
21006
  fontWeight: "fw6",
20940
21007
  fontSize: "fz_14px",
20941
21008
  lineHeight: "lh_20px",
@@ -20993,10 +21060,10 @@ var imageHoverStyles = {
20993
21060
  };
20994
21061
 
20995
21062
  // src/components/Copy.tsx
20996
- var import_runtime82 = require("@homebound/truss/runtime");
21063
+ var import_runtime83 = require("@homebound/truss/runtime");
20997
21064
  var import_jsx_runtime158 = require("react/jsx-runtime");
20998
21065
  function Copy(props) {
20999
- return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)("div", { ...(0, import_runtime82.mergeProps)("beam-copy", void 0, {
21066
+ return /* @__PURE__ */ (0, import_jsx_runtime158.jsx)("div", { ...(0, import_runtime83.mergeProps)("beam-copy", void 0, {
21000
21067
  ...{
21001
21068
  fontWeight: "fw4",
21002
21069
  fontSize: "fz_14px",
@@ -21025,7 +21092,7 @@ function useDnDGridContext() {
21025
21092
  }
21026
21093
 
21027
21094
  // src/components/DnDGrid/DnDGrid.tsx
21028
- var import_runtime83 = require("@homebound/truss/runtime");
21095
+ var import_runtime84 = require("@homebound/truss/runtime");
21029
21096
  var import_jsx_runtime159 = require("react/jsx-runtime");
21030
21097
  function DnDGrid(props) {
21031
21098
  const {
@@ -21208,7 +21275,7 @@ function DnDGrid(props) {
21208
21275
  return /* @__PURE__ */ (0, import_jsx_runtime159.jsx)(DnDGridContext.Provider, { value: {
21209
21276
  dragEl,
21210
21277
  onDragHandleKeyDown
21211
- }, children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("div", { ref: gridEl, ...(0, import_runtime83.trussProps)({
21278
+ }, children: /* @__PURE__ */ (0, import_jsx_runtime159.jsx)("div", { ref: gridEl, ...(0, import_runtime84.trussProps)({
21212
21279
  ...{
21213
21280
  containerType: "ctis",
21214
21281
  display: "dg"
@@ -21221,7 +21288,7 @@ var gridCloneKey = "dndgrid-clone";
21221
21288
 
21222
21289
  // src/components/DnDGrid/DnDGridItemHandle.tsx
21223
21290
  var import_react_aria50 = require("react-aria");
21224
- var import_runtime84 = require("@homebound/truss/runtime");
21291
+ var import_runtime85 = require("@homebound/truss/runtime");
21225
21292
  var import_jsx_runtime160 = require("react/jsx-runtime");
21226
21293
  function DnDGridItemHandle(props) {
21227
21294
  const {
@@ -21251,7 +21318,7 @@ function DnDGridItemHandle(props) {
21251
21318
  borderRadius: "br4",
21252
21319
  borderWidth: "bw1"
21253
21320
  };
21254
- return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("button", { ...(0, import_runtime84.trussProps)({
21321
+ return /* @__PURE__ */ (0, import_jsx_runtime160.jsx)("button", { ...(0, import_runtime85.trussProps)({
21255
21322
  ...compact ? iconButtonCompact2 : iconButtonNormal2,
21256
21323
  ...{
21257
21324
  cursor: "cursor_grab",
@@ -21313,7 +21380,7 @@ var gridItemDataAttribute = "data-grid-item-span";
21313
21380
  var ResponsiveGridContext = (0, import_react113.createContext)(void 0);
21314
21381
 
21315
21382
  // src/components/Grid/ResponsiveGrid.tsx
21316
- var import_runtime85 = require("@homebound/truss/runtime");
21383
+ var import_runtime86 = require("@homebound/truss/runtime");
21317
21384
  var import_jsx_runtime161 = require("react/jsx-runtime");
21318
21385
  function ResponsiveGrid(props) {
21319
21386
  const {
@@ -21334,12 +21401,12 @@ function ResponsiveGrid(props) {
21334
21401
  gap,
21335
21402
  columns
21336
21403
  }), [minColumnWidth, gap, columns]);
21337
- return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { ...(0, import_runtime85.trussProps)(gridStyles), children }) });
21404
+ return /* @__PURE__ */ (0, import_jsx_runtime161.jsx)(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ (0, import_jsx_runtime161.jsx)("div", { ...(0, import_runtime86.trussProps)(gridStyles), children }) });
21338
21405
  }
21339
21406
 
21340
21407
  // src/components/Grid/ResponsiveGridItem.tsx
21341
21408
  var import_react_aria51 = require("react-aria");
21342
- var import_runtime86 = require("@homebound/truss/runtime");
21409
+ var import_runtime87 = require("@homebound/truss/runtime");
21343
21410
  var import_jsx_runtime162 = require("react/jsx-runtime");
21344
21411
  function ResponsiveGridItem(props) {
21345
21412
  const {
@@ -21352,12 +21419,12 @@ function ResponsiveGridItem(props) {
21352
21419
  } = useResponsiveGridItem({
21353
21420
  colSpan
21354
21421
  });
21355
- return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...(0, import_react_aria51.mergeProps)(gridItemProps, (0, import_runtime86.trussProps)(gridItemStyles)), children });
21422
+ return /* @__PURE__ */ (0, import_jsx_runtime162.jsx)("div", { ...(0, import_react_aria51.mergeProps)(gridItemProps, (0, import_runtime87.trussProps)(gridItemStyles)), children });
21356
21423
  }
21357
21424
 
21358
21425
  // src/components/Grid/useResponsiveGrid.ts
21359
21426
  var import_react115 = require("react");
21360
- var import_runtime87 = require("@homebound/truss/runtime");
21427
+ var import_runtime88 = require("@homebound/truss/runtime");
21361
21428
  var __maybeInc12 = (inc) => {
21362
21429
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
21363
21430
  };
@@ -21376,11 +21443,11 @@ function useResponsiveGrid(props) {
21376
21443
  return {
21377
21444
  display: "dg",
21378
21445
  gridTemplateColumns: ["gtc_var", {
21379
- "--gridTemplateColumns": (0, import_runtime87.maybeCssVar)(gridTemplateColumns)
21446
+ "--gridTemplateColumns": (0, import_runtime88.maybeCssVar)(gridTemplateColumns)
21380
21447
  }],
21381
21448
  containerType: "ctis",
21382
21449
  gap: ["gap_var", {
21383
- "--gap": (0, import_runtime87.maybeCssVar)(__maybeInc12(gridGap))
21450
+ "--gap": (0, import_runtime88.maybeCssVar)(__maybeInc12(gridGap))
21384
21451
  }]
21385
21452
  };
21386
21453
  }, [minColumnWidth, gap, columns]);
@@ -21503,7 +21570,7 @@ function HbSpinnerProvider({
21503
21570
  }
21504
21571
 
21505
21572
  // src/components/HomeboundLogo.tsx
21506
- var import_runtime88 = require("@homebound/truss/runtime");
21573
+ var import_runtime89 = require("@homebound/truss/runtime");
21507
21574
  var import_jsx_runtime164 = require("react/jsx-runtime");
21508
21575
  var __maybeInc13 = (inc) => {
21509
21576
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -21514,15 +21581,15 @@ function HomeboundLogo(props) {
21514
21581
  width: width2 = "auto",
21515
21582
  height = "auto"
21516
21583
  } = props;
21517
- return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime88.trussProps)({
21584
+ return /* @__PURE__ */ (0, import_jsx_runtime164.jsx)("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...(0, import_runtime89.trussProps)({
21518
21585
  fill: ["fill_var", {
21519
- "--fill": (0, import_runtime88.maybeCssVar)(fill)
21586
+ "--fill": (0, import_runtime89.maybeCssVar)(fill)
21520
21587
  }],
21521
21588
  width: ["w_var", {
21522
- "--width": (0, import_runtime88.maybeCssVar)(__maybeInc13(width2))
21589
+ "--width": (0, import_runtime89.maybeCssVar)(__maybeInc13(width2))
21523
21590
  }],
21524
21591
  height: ["h_var", {
21525
- "--height": (0, import_runtime88.maybeCssVar)(__maybeInc13(height))
21592
+ "--height": (0, import_runtime89.maybeCssVar)(__maybeInc13(height))
21526
21593
  }]
21527
21594
  }), children: /* @__PURE__ */ (0, import_jsx_runtime164.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" }) });
21528
21595
  }
@@ -21530,7 +21597,7 @@ function HomeboundLogo(props) {
21530
21597
  // src/components/MaxLines.tsx
21531
21598
  var import_utils129 = require("@react-aria/utils");
21532
21599
  var import_react118 = require("react");
21533
- var import_runtime89 = require("@homebound/truss/runtime");
21600
+ var import_runtime90 = require("@homebound/truss/runtime");
21534
21601
  var import_jsx_runtime165 = require("react/jsx-runtime");
21535
21602
  function MaxLines({
21536
21603
  maxLines,
@@ -21555,10 +21622,10 @@ function MaxLines({
21555
21622
  onResize
21556
21623
  });
21557
21624
  return /* @__PURE__ */ (0, import_jsx_runtime165.jsxs)("div", { children: [
21558
- /* @__PURE__ */ (0, import_jsx_runtime165.jsx)("div", { ref: elRef, ...(0, import_runtime89.trussProps)({
21625
+ /* @__PURE__ */ (0, import_jsx_runtime165.jsx)("div", { ref: elRef, ...(0, import_runtime90.trussProps)({
21559
21626
  ...!expanded ? {
21560
21627
  WebkitLineClamp: ["lineClamp_var", {
21561
- "--WebkitLineClamp": (0, import_runtime89.maybeCssVar)(maxLines)
21628
+ "--WebkitLineClamp": (0, import_runtime90.maybeCssVar)(maxLines)
21562
21629
  }],
21563
21630
  overflow: "oh",
21564
21631
  display: "d_negwebkit_box",
@@ -21581,7 +21648,7 @@ var import_react121 = require("react");
21581
21648
  // src/components/AppNav/AppNavGroupTrigger.tsx
21582
21649
  var import_react119 = require("react");
21583
21650
  var import_react_aria52 = require("react-aria");
21584
- var import_runtime90 = require("@homebound/truss/runtime");
21651
+ var import_runtime91 = require("@homebound/truss/runtime");
21585
21652
  var import_jsx_runtime166 = require("react/jsx-runtime");
21586
21653
  function AppNavGroupTrigger(props) {
21587
21654
  const {
@@ -21617,7 +21684,7 @@ function AppNavGroupTrigger(props) {
21617
21684
  ref,
21618
21685
  "aria-expanded": expanded,
21619
21686
  "aria-controls": navGroupId,
21620
- ...(0, import_runtime90.mergeProps)(navLink, void 0, {
21687
+ ...(0, import_runtime91.mergeProps)(navLink, void 0, {
21621
21688
  ...baseStyles5,
21622
21689
  ...isFocusVisible && focusRingStyles2,
21623
21690
  ...isHovered && hoverStyles4,
@@ -21625,7 +21692,7 @@ function AppNavGroupTrigger(props) {
21625
21692
  })
21626
21693
  }), children: [
21627
21694
  label,
21628
- /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("span", { ...(0, import_runtime90.trussProps)({
21695
+ /* @__PURE__ */ (0, import_jsx_runtime166.jsx)("span", { ...(0, import_runtime91.trussProps)({
21629
21696
  ...{
21630
21697
  display: "df",
21631
21698
  alignItems: "aic",
@@ -21778,7 +21845,7 @@ function useAppNavGroupExpanded(linkGroup) {
21778
21845
  }
21779
21846
 
21780
21847
  // src/components/AppNav/AppNavGroup.tsx
21781
- var import_runtime91 = require("@homebound/truss/runtime");
21848
+ var import_runtime92 = require("@homebound/truss/runtime");
21782
21849
  var import_jsx_runtime167 = require("react/jsx-runtime");
21783
21850
  var __maybeInc14 = (inc) => {
21784
21851
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -21823,11 +21890,11 @@ function AppNavGroupDisclosure(props) {
21823
21890
  });
21824
21891
  return /* @__PURE__ */ (0, import_jsx_runtime167.jsxs)("div", { className: "df fdc", ...tid, children: [
21825
21892
  /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(AppNavGroupTrigger, { label: linkGroup.label, navGroupId, expanded, onClick: onToggle, ...tid }),
21826
- /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...(0, import_runtime91.trussProps)({
21893
+ /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...(0, import_runtime92.trussProps)({
21827
21894
  overflow: "oh",
21828
21895
  transition: "transitionHeight",
21829
21896
  height: ["h_var", {
21830
- "--height": (0, import_runtime91.maybeCssVar)(__maybeInc14(contentHeight))
21897
+ "--height": (0, import_runtime92.maybeCssVar)(__maybeInc14(contentHeight))
21831
21898
  }]
21832
21899
  }), ...tid.panel, children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)("div", { ref: setContentEl, className: "df fdc pl2", children: /* @__PURE__ */ (0, import_jsx_runtime167.jsx)(AppNavItems, { items: linkGroup.items, panelCollapsed: false, ...tid }) }) })
21833
21900
  ] });
@@ -21855,7 +21922,7 @@ function AppNavGroupMenu({
21855
21922
  }
21856
21923
 
21857
21924
  // src/components/AppNav/AppNavSectionView.tsx
21858
- var import_runtime92 = require("@homebound/truss/runtime");
21925
+ var import_runtime93 = require("@homebound/truss/runtime");
21859
21926
  var import_jsx_runtime169 = require("react/jsx-runtime");
21860
21927
  function AppNavSectionView(props) {
21861
21928
  const {
@@ -21881,7 +21948,7 @@ function AppNavSectionView(props) {
21881
21948
  "--borderColor": "var(--b-surface-separator)"
21882
21949
  }]
21883
21950
  };
21884
- return /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)("div", { ...(0, import_runtime92.trussProps)({
21951
+ return /* @__PURE__ */ (0, import_jsx_runtime169.jsxs)("div", { ...(0, import_runtime93.trussProps)({
21885
21952
  ...{
21886
21953
  display: "df",
21887
21954
  flexDirection: "fdc",
@@ -21889,7 +21956,7 @@ function AppNavSectionView(props) {
21889
21956
  },
21890
21957
  ...showDivider ? dividerStyles : {}
21891
21958
  }), ...tid, children: [
21892
- section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ (0, import_jsx_runtime169.jsx)("div", { ...(0, import_runtime92.trussProps)({
21959
+ section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ (0, import_jsx_runtime169.jsx)("div", { ...(0, import_runtime93.trussProps)({
21893
21960
  fontWeight: "fw6",
21894
21961
  fontSize: "fz_10px",
21895
21962
  lineHeight: "lh_14px",
@@ -21957,7 +22024,7 @@ var import_react122 = require("react");
21957
22024
  var import_react_aria53 = require("react-aria");
21958
22025
  var import_react_dom6 = require("react-dom");
21959
22026
  var import_react_router_dom5 = require("react-router-dom");
21960
- var import_runtime93 = require("@homebound/truss/runtime");
22027
+ var import_runtime94 = require("@homebound/truss/runtime");
21961
22028
  var import_jsx_runtime171 = require("react/jsx-runtime");
21962
22029
  function NavbarMobileMenu(props) {
21963
22030
  const {
@@ -21987,14 +22054,14 @@ function NavbarMobileDrawer({
21987
22054
  tid
21988
22055
  }) {
21989
22056
  return /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(import_jsx_runtime171.Fragment, { children: [
21990
- /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_framer_motion5.motion.div, { ...(0, import_runtime93.trussProps)({
22057
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_framer_motion5.motion.div, { ...(0, import_runtime94.trussProps)({
21991
22058
  position: "fixed",
21992
22059
  top: "top0",
21993
22060
  right: "right0",
21994
22061
  bottom: "bottom0",
21995
22062
  left: "left0",
21996
22063
  zIndex: ["z_var", {
21997
- "--zIndex": (0, import_runtime93.maybeCssVar)(zIndices.modalUnderlay)
22064
+ "--zIndex": (0, import_runtime94.maybeCssVar)(zIndices.modalUnderlay)
21998
22065
  }],
21999
22066
  backgroundColor: "backgroundColor_rgba_36_36_36_0_2"
22000
22067
  }), initial: {
@@ -22007,7 +22074,7 @@ function NavbarMobileDrawer({
22007
22074
  ease: "linear",
22008
22075
  duration: 0.2
22009
22076
  }, onClick: onClose, ...tid.mobileMenuScrim }, "navbarMobileMenuScrim"),
22010
- /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_react_aria53.FocusScope, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(import_framer_motion5.motion.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...(0, import_runtime93.trussProps)({
22077
+ /* @__PURE__ */ (0, import_jsx_runtime171.jsx)(import_react_aria53.FocusScope, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ (0, import_jsx_runtime171.jsxs)(import_framer_motion5.motion.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...(0, import_runtime94.trussProps)({
22011
22078
  position: "fixed",
22012
22079
  top: "top0",
22013
22080
  bottom: "bottom0",
@@ -22018,7 +22085,7 @@ function NavbarMobileDrawer({
22018
22085
  width: "w100",
22019
22086
  overflow: "oh",
22020
22087
  zIndex: ["z_var", {
22021
- "--zIndex": (0, import_runtime93.maybeCssVar)(zIndices.sideNav)
22088
+ "--zIndex": (0, import_runtime94.maybeCssVar)(zIndices.sideNav)
22022
22089
  }],
22023
22090
  backgroundColor: ["bgColor_var", {
22024
22091
  "--backgroundColor": "var(--b-surface)"
@@ -22052,7 +22119,7 @@ function NavbarMobileDrawer({
22052
22119
  }
22053
22120
 
22054
22121
  // src/components/Navbar/Navbar.tsx
22055
- var import_runtime94 = require("@homebound/truss/runtime");
22122
+ var import_runtime95 = require("@homebound/truss/runtime");
22056
22123
  var import_jsx_runtime172 = require("react/jsx-runtime");
22057
22124
  function Navbar(props) {
22058
22125
  const {
@@ -22071,7 +22138,7 @@ function Navbar(props) {
22071
22138
  overflows
22072
22139
  } = useContentOverflow(!sm);
22073
22140
  const showMobile = sm || overflows;
22074
- return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(ContrastScope, { children: /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)("nav", { ...(0, import_runtime94.trussProps)({
22141
+ return /* @__PURE__ */ (0, import_jsx_runtime172.jsx)(ContrastScope, { children: /* @__PURE__ */ (0, import_jsx_runtime172.jsxs)("nav", { ...(0, import_runtime95.trussProps)({
22075
22142
  backgroundColor: "bgGray800",
22076
22143
  flexShrink: "fs0",
22077
22144
  display: "df",
@@ -22095,7 +22162,7 @@ function Navbar(props) {
22095
22162
  ] }),
22096
22163
  !sm && // Stays mounted while overflowing (hidden) so the items remain measurable and the bar
22097
22164
  // can expand again as space frees up.
22098
- /* @__PURE__ */ (0, import_jsx_runtime172.jsx)("div", { ref: containerRef, ...(0, import_runtime94.trussProps)({
22165
+ /* @__PURE__ */ (0, import_jsx_runtime172.jsx)("div", { ref: containerRef, ...(0, import_runtime95.trussProps)({
22099
22166
  display: "df",
22100
22167
  alignItems: "aic",
22101
22168
  flexGrow: "fg1",
@@ -22130,7 +22197,7 @@ var import_react123 = require("react");
22130
22197
  var import_react_aria54 = require("react-aria");
22131
22198
  var import_react_router = require("react-router");
22132
22199
  var import_react_router_dom6 = require("react-router-dom");
22133
- var import_runtime95 = require("@homebound/truss/runtime");
22200
+ var import_runtime96 = require("@homebound/truss/runtime");
22134
22201
  var import_jsx_runtime173 = require("react/jsx-runtime");
22135
22202
  function TabsWithContent(props) {
22136
22203
  const styles = hideTabs(props) ? {} : {
@@ -22163,7 +22230,7 @@ function TabContent(props) {
22163
22230
  return (
22164
22231
  // Using FullBleed to allow the tab's bgColor to extend to the edges of the <ScrollableContent /> element.
22165
22232
  // Omit the padding from `FullBleed` if the caller passes in the `paddingLeft/Right` styles.
22166
- /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime95.trussProps)(contentXss), children: selectedTab.render() }) })
22233
+ /* @__PURE__ */ (0, import_jsx_runtime173.jsx)(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ (0, import_jsx_runtime173.jsx)("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...(0, import_runtime96.trussProps)(contentXss), children: selectedTab.render() }) })
22167
22234
  );
22168
22235
  }
22169
22236
  function Tabs(props) {
@@ -22205,7 +22272,7 @@ function Tabs(props) {
22205
22272
  setActive(selected);
22206
22273
  }
22207
22274
  }
22208
- return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)("div", { ...(0, import_runtime95.trussProps)({
22275
+ return /* @__PURE__ */ (0, import_jsx_runtime173.jsxs)("div", { ...(0, import_runtime96.trussProps)({
22209
22276
  ...{
22210
22277
  display: "df",
22211
22278
  alignItems: "aic",
@@ -22269,7 +22336,7 @@ function TabImpl(props) {
22269
22336
  role: "tab",
22270
22337
  tabIndex: active ? 0 : -1,
22271
22338
  ...others,
22272
- ...(0, import_runtime95.trussProps)({
22339
+ ...(0, import_runtime96.trussProps)({
22273
22340
  ...baseStyles5,
22274
22341
  ...active && activeStyles3,
22275
22342
  ...isDisabled && disabledStyles4,
@@ -22306,7 +22373,7 @@ function getTabStyles() {
22306
22373
  const borderBottomStyles = {
22307
22374
  borderBottomStyle: "bbs_solid",
22308
22375
  borderBottomWidth: ["borderBottomWidth_var", {
22309
- "--borderBottomWidth": (0, import_runtime95.maybeCssVar)(`${borderBottomWidthPx}px`)
22376
+ "--borderBottomWidth": (0, import_runtime96.maybeCssVar)(`${borderBottomWidthPx}px`)
22310
22377
  }],
22311
22378
  paddingBottom: ["pb_var", {
22312
22379
  "--paddingBottom": `${verticalPaddingPx - borderBottomWidthPx}px`
@@ -22390,7 +22457,7 @@ function hideTabs(props) {
22390
22457
  }
22391
22458
 
22392
22459
  // src/components/PageHeader.tsx
22393
- var import_runtime96 = require("@homebound/truss/runtime");
22460
+ var import_runtime97 = require("@homebound/truss/runtime");
22394
22461
  var import_jsx_runtime174 = require("react/jsx-runtime");
22395
22462
  function PageHeader2(props) {
22396
22463
  const {
@@ -22400,7 +22467,7 @@ function PageHeader2(props) {
22400
22467
  ...otherProps
22401
22468
  } = props;
22402
22469
  const tid = useTestIds(otherProps, "pageHeader");
22403
- return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("header", { ...tid, ...(0, import_runtime96.trussProps)({
22470
+ return /* @__PURE__ */ (0, import_jsx_runtime174.jsxs)("header", { ...tid, ...(0, import_runtime97.trussProps)({
22404
22471
  display: "df",
22405
22472
  flexDirection: "fdc",
22406
22473
  paddingTop: "pt3",
@@ -22426,7 +22493,7 @@ function PageHeader2(props) {
22426
22493
  // src/components/ScrollShadows.tsx
22427
22494
  var import_utils139 = require("@react-aria/utils");
22428
22495
  var import_react124 = require("react");
22429
- var import_runtime97 = require("@homebound/truss/runtime");
22496
+ var import_runtime98 = require("@homebound/truss/runtime");
22430
22497
  var import_jsx_runtime175 = require("react/jsx-runtime");
22431
22498
  function ScrollShadows(props) {
22432
22499
  const {
@@ -22451,7 +22518,7 @@ function ScrollShadows(props) {
22451
22518
  const commonStyles = {
22452
22519
  position: "absolute",
22453
22520
  zIndex: ["z_var", {
22454
- "--zIndex": (0, import_runtime97.maybeCssVar)(zIndices.scrollShadow)
22521
+ "--zIndex": (0, import_runtime98.maybeCssVar)(zIndices.scrollShadow)
22455
22522
  }],
22456
22523
  pointerEvents: "pointerEvents_none"
22457
22524
  };
@@ -22484,7 +22551,7 @@ function ScrollShadows(props) {
22484
22551
  ...startShadowStyles2,
22485
22552
  ...{
22486
22553
  background: ["background_var", {
22487
- "--background": (0, import_runtime97.maybeCssVar)(startGradient)
22554
+ "--background": (0, import_runtime98.maybeCssVar)(startGradient)
22488
22555
  }]
22489
22556
  }
22490
22557
  }, {
@@ -22492,7 +22559,7 @@ function ScrollShadows(props) {
22492
22559
  ...endShadowStyles2,
22493
22560
  ...{
22494
22561
  background: ["background_var", {
22495
- "--background": (0, import_runtime97.maybeCssVar)(endGradient)
22562
+ "--background": (0, import_runtime98.maybeCssVar)(endGradient)
22496
22563
  }]
22497
22564
  }
22498
22565
  }];
@@ -22517,10 +22584,10 @@ function ScrollShadows(props) {
22517
22584
  ref: scrollRef,
22518
22585
  onResize
22519
22586
  });
22520
- return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { ...(0, import_runtime97.trussProps)({
22587
+ return /* @__PURE__ */ (0, import_jsx_runtime175.jsxs)("div", { ...(0, import_runtime98.trussProps)({
22521
22588
  display: "df",
22522
22589
  flexDirection: ["fd_var", {
22523
- "--flexDirection": (0, import_runtime97.maybeCssVar)(!horizontal ? "column" : "row")
22590
+ "--flexDirection": (0, import_runtime98.maybeCssVar)(!horizontal ? "column" : "row")
22524
22591
  }],
22525
22592
  position: "relative",
22526
22593
  overflow: "oh",
@@ -22533,23 +22600,23 @@ function ScrollShadows(props) {
22533
22600
  width: width2
22534
22601
  }
22535
22602
  }), ...tid, children: [
22536
- /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime97.trussProps)({
22603
+ /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime98.trussProps)({
22537
22604
  ...startShadowStyles,
22538
22605
  ...{
22539
22606
  opacity: ["o_var", {
22540
- "--opacity": (0, import_runtime97.maybeCssVar)(showStartShadow ? 1 : 0)
22607
+ "--opacity": (0, import_runtime98.maybeCssVar)(showStartShadow ? 1 : 0)
22541
22608
  }]
22542
22609
  }
22543
22610
  }), "data-chromatic": "ignore" }),
22544
- /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime97.trussProps)({
22611
+ /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime98.trussProps)({
22545
22612
  ...endShadowStyles,
22546
22613
  ...{
22547
22614
  opacity: ["o_var", {
22548
- "--opacity": (0, import_runtime97.maybeCssVar)(showEndShadow ? 1 : 0)
22615
+ "--opacity": (0, import_runtime98.maybeCssVar)(showEndShadow ? 1 : 0)
22549
22616
  }]
22550
22617
  }
22551
22618
  }), "data-chromatic": "ignore" }),
22552
- /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime97.trussProps)({
22619
+ /* @__PURE__ */ (0, import_jsx_runtime175.jsx)("div", { ...(0, import_runtime98.trussProps)({
22553
22620
  ...xss,
22554
22621
  ...{
22555
22622
  overflow: "oa",
@@ -22620,7 +22687,7 @@ function useHasSideNavLayoutProvider() {
22620
22687
  }
22621
22688
 
22622
22689
  // src/components/SideNav/SideNav.tsx
22623
- var import_runtime98 = require("@homebound/truss/runtime");
22690
+ var import_runtime99 = require("@homebound/truss/runtime");
22624
22691
  var import_jsx_runtime177 = require("react/jsx-runtime");
22625
22692
  function SideNav(props) {
22626
22693
  const {
@@ -22635,7 +22702,7 @@ function SideNav(props) {
22635
22702
  const panelCollapsed = navState === "collapse";
22636
22703
  const hideOnCollapse = panelCollapsed && !allItemsHaveIcons(items);
22637
22704
  return /* @__PURE__ */ (0, import_jsx_runtime177.jsxs)("nav", { className: "df fdc h100 fs0", ...tid, children: [
22638
- top !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime98.trussProps)({
22705
+ top !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime99.trussProps)({
22639
22706
  flexShrink: "fs0",
22640
22707
  paddingLeft: "pl2",
22641
22708
  paddingRight: "pr2",
@@ -22646,7 +22713,7 @@ function SideNav(props) {
22646
22713
  paddingBottom: "pb4"
22647
22714
  } : {}
22648
22715
  }), ...tid.top, children: top }),
22649
- /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime98.trussProps)({
22716
+ /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime99.trussProps)({
22650
22717
  flexGrow: "fg1",
22651
22718
  overflowY: "oya",
22652
22719
  display: "df",
@@ -22659,7 +22726,7 @@ function SideNav(props) {
22659
22726
  paddingTop: "pt5"
22660
22727
  } : {}
22661
22728
  }), ...tid.items, children: !hideOnCollapse && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)(AppNavItems, { items, panelCollapsed }) }),
22662
- footer !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime98.trussProps)({
22729
+ footer !== void 0 && /* @__PURE__ */ (0, import_jsx_runtime177.jsx)("div", { ...(0, import_runtime99.trussProps)({
22663
22730
  flexShrink: "fs0",
22664
22731
  paddingLeft: "pl2",
22665
22732
  paddingRight: "pr2",
@@ -22736,7 +22803,7 @@ var snackbarId = 1;
22736
22803
  // src/components/Stepper.tsx
22737
22804
  var import_react127 = require("react");
22738
22805
  var import_react_aria55 = require("react-aria");
22739
- var import_runtime99 = require("@homebound/truss/runtime");
22806
+ var import_runtime100 = require("@homebound/truss/runtime");
22740
22807
  var import_jsx_runtime178 = require("react/jsx-runtime");
22741
22808
  var import_react128 = require("react");
22742
22809
  var __maybeInc15 = (inc) => {
@@ -22757,7 +22824,7 @@ function Stepper(props) {
22757
22824
  const minStepWidth = 100;
22758
22825
  const gap = 8;
22759
22826
  return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
22760
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("ol", { ...(0, import_runtime99.trussProps)({
22827
+ /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("ol", { ...(0, import_runtime100.trussProps)({
22761
22828
  padding: "p_0",
22762
22829
  margin: "m_0",
22763
22830
  listStyle: "lis_none",
@@ -22767,7 +22834,7 @@ function Stepper(props) {
22767
22834
  }]
22768
22835
  }), children: steps.map((step) => {
22769
22836
  const isCurrent = currentStep === step.value;
22770
- return /* @__PURE__ */ (0, import_react128.createElement)("li", { ...(0, import_runtime99.trussProps)({
22837
+ return /* @__PURE__ */ (0, import_react128.createElement)("li", { ...(0, import_runtime100.trussProps)({
22771
22838
  display: "df",
22772
22839
  flexGrow: "fg1",
22773
22840
  flexDirection: "fdc",
@@ -22779,7 +22846,7 @@ function Stepper(props) {
22779
22846
  }]
22780
22847
  }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
22781
22848
  }) }),
22782
- /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0, import_runtime99.trussProps)({
22849
+ /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0, import_runtime100.trussProps)({
22783
22850
  marginTop: "mt1",
22784
22851
  backgroundColor: "bgGray300",
22785
22852
  height: "h_4px",
@@ -22790,12 +22857,12 @@ function Stepper(props) {
22790
22857
  "--minWidth": `${steps.length * minStepWidth + (steps.length - 1) * gap}px`
22791
22858
  }],
22792
22859
  width: "w100"
22793
- }), children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0, import_runtime99.trussProps)({
22860
+ }), children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0, import_runtime100.trussProps)({
22794
22861
  backgroundColor: "bgBlue600",
22795
22862
  transition: "transition_width_200ms",
22796
22863
  height: "h100",
22797
22864
  width: ["w_var", {
22798
- "--width": (0, import_runtime99.maybeCssVar)(__maybeInc15(`${(lastCompletedStep + 1) / steps.length * 100}%`))
22865
+ "--width": (0, import_runtime100.maybeCssVar)(__maybeInc15(`${(lastCompletedStep + 1) / steps.length * 100}%`))
22799
22866
  }]
22800
22867
  }) }) })
22801
22868
  ] });
@@ -22831,7 +22898,7 @@ function StepButton(props) {
22831
22898
  boxShadow: "bshFocus"
22832
22899
  };
22833
22900
  const tid = useTestIds(props, "stepButton");
22834
- return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime99.trussProps)({
22901
+ return /* @__PURE__ */ (0, import_jsx_runtime178.jsxs)("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...(0, import_runtime100.trussProps)({
22835
22902
  ...{
22836
22903
  fontWeight: "fw6",
22837
22904
  fontSize: "fz_14px",
@@ -22899,7 +22966,7 @@ function StepIcon({
22899
22966
  if (state === "complete") {
22900
22967
  return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)(Icon, { icon: "check" });
22901
22968
  }
22902
- return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0, import_runtime99.trussProps)({
22969
+ return /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ (0, import_jsx_runtime178.jsx)("div", { ...(0, import_runtime100.trussProps)({
22903
22970
  width: "w_10px",
22904
22971
  height: "h_10px",
22905
22972
  borderStyle: "bss",
@@ -22914,7 +22981,7 @@ function StepIcon({
22914
22981
 
22915
22982
  // src/components/SuperDrawer/components/SuperDrawerHeader.tsx
22916
22983
  var import_react_dom7 = require("react-dom");
22917
- var import_runtime100 = require("@homebound/truss/runtime");
22984
+ var import_runtime101 = require("@homebound/truss/runtime");
22918
22985
  var import_jsx_runtime179 = require("react/jsx-runtime");
22919
22986
  function SuperDrawerHeader(props) {
22920
22987
  const {
@@ -22940,7 +23007,7 @@ function SuperDrawerHeader(props) {
22940
23007
  ] }),
22941
23008
  props.right && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { className: "fs0", children: props.right })
22942
23009
  ] }) : /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { className: "fg1", children: props.children }),
22943
- !hideControls && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...(0, import_runtime100.trussProps)({
23010
+ !hideControls && /* @__PURE__ */ (0, import_jsx_runtime179.jsx)("div", { ...(0, import_runtime101.trussProps)({
22944
23011
  flexShrink: "fs0",
22945
23012
  ...isDetail ? {
22946
23013
  visibility: "vh"
@@ -23120,7 +23187,7 @@ function canClose(canCloseCheck) {
23120
23187
  }
23121
23188
 
23122
23189
  // src/components/SuperDrawer/SuperDrawerContent.tsx
23123
- var import_runtime101 = require("@homebound/truss/runtime");
23190
+ var import_runtime102 = require("@homebound/truss/runtime");
23124
23191
  var import_jsx_runtime182 = require("react/jsx-runtime");
23125
23192
  var SuperDrawerContent = ({
23126
23193
  children,
@@ -23169,7 +23236,7 @@ var SuperDrawerContent = ({
23169
23236
  }, className: "pt2", children: children2 })
23170
23237
  ] }, "content");
23171
23238
  } else {
23172
- return /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(import_framer_motion6.motion.div, { ...(0, import_runtime101.mergeProps)(void 0, {
23239
+ return /* @__PURE__ */ (0, import_jsx_runtime182.jsx)(import_framer_motion6.motion.div, { ...(0, import_runtime102.mergeProps)(void 0, {
23173
23240
  overflow: "auto"
23174
23241
  }, {
23175
23242
  paddingTop: "pt3",
@@ -23213,7 +23280,7 @@ function useToast() {
23213
23280
  }
23214
23281
 
23215
23282
  // src/layouts/SideNavLayout/SideNavLayout.tsx
23216
- var import_runtime102 = require("@homebound/truss/runtime");
23283
+ var import_runtime103 = require("@homebound/truss/runtime");
23217
23284
  var import_jsx_runtime183 = require("react/jsx-runtime");
23218
23285
  function SideNavLayout(props) {
23219
23286
  const hasProvider = useHasSideNavLayoutProvider();
@@ -23238,7 +23305,7 @@ function SideNavLayoutContent(props) {
23238
23305
  const railCollapsedWidthPx = 56;
23239
23306
  const collapsed = navState === "collapse";
23240
23307
  const showRail = sideNav !== void 0 && navState !== "hidden";
23241
- const rail = showRail && /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("div", { ...(0, import_runtime102.trussProps)({
23308
+ const rail = showRail && /* @__PURE__ */ (0, import_jsx_runtime183.jsxs)("div", { ...(0, import_runtime103.trussProps)({
23242
23309
  ...{
23243
23310
  position: "absolute",
23244
23311
  top: "top0",
@@ -23262,7 +23329,7 @@ function SideNavLayoutContent(props) {
23262
23329
  overflow: "oh",
23263
23330
  transition: "transitionWidth",
23264
23331
  zIndex: ["zIndex_var", {
23265
- "--zIndex": (0, import_runtime102.maybeCssVar)(zIndices.sideNav)
23332
+ "--zIndex": (0, import_runtime103.maybeCssVar)(zIndices.sideNav)
23266
23333
  }]
23267
23334
  },
23268
23335
  ...collapsed ? {