@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.js CHANGED
@@ -5341,7 +5341,7 @@ function IconButton(props) {
5341
5341
  openInNew,
5342
5342
  active = false,
5343
5343
  compact = false,
5344
- circle = false,
5344
+ variant = "default",
5345
5345
  download = false,
5346
5346
  forceFocusStyles = false,
5347
5347
  label,
@@ -5371,20 +5371,22 @@ function IconButton(props) {
5371
5371
  isHovered
5372
5372
  } = useHover(ariaProps);
5373
5373
  const testIds = useTestIds(props, icon);
5374
+ const isCircle = variant === "circle";
5375
+ const isOutline = variant === "outline";
5374
5376
  const styles = useMemo5(() => ({
5375
5377
  ...iconButtonStylesReset,
5376
- ...circle ? iconButtonCircle : compact ? iconButtonCompact : iconButtonNormal,
5377
- ...isHovered && (circle ? iconButtonCircleStylesHover : iconButtonTokenHover),
5378
- ...isFocusVisible || forceFocusStyles ? circle ? iconButtonCircleStylesFocus : iconButtonStylesFocus : {},
5379
- ...active && (circle ? activeStylesCircle : iconButtonTokenHover),
5378
+ ...isCircle ? iconButtonCircle : isOutline ? iconButtonOutline : compact ? iconButtonCompact : iconButtonNormal,
5379
+ ...isHovered && (isCircle || isOutline ? iconButtonCircleStylesHover : iconButtonTokenHover),
5380
+ ...isFocusVisible || forceFocusStyles ? isCircle ? iconButtonCircleStylesFocus : iconButtonStylesFocus : {},
5381
+ ...active && (isCircle || isOutline ? activeStylesCircle : iconButtonTokenHover),
5380
5382
  ...isDisabled && iconButtonStylesDisabled,
5381
5383
  ...bgColor && {
5382
5384
  backgroundColor: ["bgColor_var", {
5383
5385
  "--backgroundColor": maybeCssVar7(bgColor)
5384
5386
  }]
5385
5387
  }
5386
- }), [isHovered, isFocusVisible, isDisabled, compact, circle, active, bgColor, forceFocusStyles]);
5387
- const iconColor = circle ? circleIconColor : defaultIconColor;
5388
+ }), [isHovered, isFocusVisible, isDisabled, compact, isCircle, isOutline, active, bgColor, forceFocusStyles]);
5389
+ const iconColor = isCircle ? circleIconColor : defaultIconColor;
5388
5390
  const buttonAttrs = {
5389
5391
  ...testIds,
5390
5392
  ...buttonProps,
@@ -5394,7 +5396,7 @@ function IconButton(props) {
5394
5396
  ...mergeProps2(typeof onPress === "string" ? navLink : void 0, void 0, styles),
5395
5397
  "aria-label": label
5396
5398
  };
5397
- const buttonContent = /* @__PURE__ */ jsx11(Icon, { icon, color: color || (isDisabled ? "--b-text-disabled" /* TextDisabled */ : circle && (isHovered || active || isFocusVisible) ? defaultIconColor : iconColor), bgColor, inc: compact ? 2 : circle ? 2.5 : inc });
5399
+ const buttonContent = /* @__PURE__ */ jsx11(Icon, { icon, color: color || (isDisabled ? "--b-text-disabled" /* TextDisabled */ : isCircle && (isHovered || active || isFocusVisible) ? defaultIconColor : iconColor), bgColor, inc: compact ? 2 : isCircle ? 2.5 : inc });
5398
5400
  return maybeTooltip({
5399
5401
  title: resolveTooltip(disabled ?? (preventTooltip ? void 0 : label), tooltip),
5400
5402
  placement: "top",
@@ -5437,6 +5439,17 @@ var iconButtonCircle = {
5437
5439
  justifyContent: "jcc",
5438
5440
  alignItems: "aic"
5439
5441
  };
5442
+ var iconButtonOutline = {
5443
+ borderRadius: "br8",
5444
+ width: "w_48px",
5445
+ height: "h_40px",
5446
+ borderColor: "bcGray300",
5447
+ borderStyle: "bss",
5448
+ borderWidth: "bw1",
5449
+ display: "df",
5450
+ justifyContent: "jcc",
5451
+ alignItems: "aic"
5452
+ };
5440
5453
  var iconButtonTokenHover = {
5441
5454
  backgroundColor: ["bgColor_var", {
5442
5455
  "--backgroundColor": "var(--b-neutral-fill-hover-strong)"
@@ -18207,7 +18220,7 @@ function RightSidebar({
18207
18220
  flexDirection: "fdc",
18208
18221
  alignItems: "aic"
18209
18222
  }), children: [
18210
- /* @__PURE__ */ jsx121(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */, circle: true, onClick: () => setSelectedIcon(void 0), icon: "x", inc: 3.5 }),
18223
+ /* @__PURE__ */ jsx121(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */, variant: "circle", onClick: () => setSelectedIcon(void 0), icon: "x", inc: 3.5 }),
18211
18224
  /* @__PURE__ */ jsx121("div", { className: "absolute top_48px h_calc_100vh_168px w_1px bgGray300" })
18212
18225
  ] }),
18213
18226
  /* @__PURE__ */ jsx121("div", { className: "df aic jcfe gap2 mb3", children: /* @__PURE__ */ jsx121(IconButtonList, { content, selectedIcon, onIconClick: setSelectedIcon }) })
@@ -18226,7 +18239,7 @@ function IconButtonList({
18226
18239
  }) => /* @__PURE__ */ jsx121(
18227
18240
  IconButton,
18228
18241
  {
18229
- circle: true,
18242
+ variant: "circle",
18230
18243
  active: icon === selectedIcon,
18231
18244
  onClick: () => onIconClick(icon),
18232
18245
  icon,
@@ -18664,7 +18677,7 @@ function invertSpacing(value) {
18664
18677
  }
18665
18678
 
18666
18679
  // src/components/Layout/GridTableLayout/GridTableLayout.tsx
18667
- import React17, { useEffect as useEffect27, useMemo as useMemo38, useState as useState43 } from "react";
18680
+ import React17, { useEffect as useEffect28, useMemo as useMemo38, useState as useState43 } from "react";
18668
18681
 
18669
18682
  // src/components/ButtonMenu.tsx
18670
18683
  import { useRef as useRef45 } from "react";
@@ -18704,7 +18717,7 @@ function isSelectionButtonMenuProps(props) {
18704
18717
  }
18705
18718
 
18706
18719
  // src/components/Filters/FilterDropdownMenu.tsx
18707
- import { memo as memo2, useMemo as useMemo35, useState as useState42 } from "react";
18720
+ import { memo as memo2, useEffect as useEffect27, useMemo as useMemo35, useState as useState42 } from "react";
18708
18721
 
18709
18722
  // src/components/CountBadge.tsx
18710
18723
  import { trussProps as trussProps66, maybeCssVar as maybeCssVar39 } from "@homebound/truss/runtime";
@@ -19310,35 +19323,109 @@ function updateFilter(currentFilter, key, value) {
19310
19323
  var filterTestIdPrefix = "filter";
19311
19324
 
19312
19325
  // src/components/Filters/FilterDropdownMenu.tsx
19326
+ import { useDebounce as useDebounce2 } from "use-debounce";
19327
+ import { StringParam as StringParam2, useQueryParams as useQueryParams3 } from "use-query-params";
19328
+ import { trussProps as trussProps69 } from "@homebound/truss/runtime";
19313
19329
  import { Fragment as Fragment32, jsx as jsx140, jsxs as jsxs70 } from "react/jsx-runtime";
19314
19330
  function FilterDropdownMenu(props) {
19315
19331
  const {
19316
19332
  filter,
19317
19333
  onChange,
19318
19334
  filterDefs,
19319
- groupBy
19335
+ groupBy,
19336
+ searchProps
19320
19337
  } = props;
19321
19338
  const testId = useTestIds(props, filterTestIdPrefix);
19339
+ const {
19340
+ sm
19341
+ } = useBreakpoint();
19322
19342
  const [isOpen, setIsOpen] = useState42(false);
19323
- const activeFilterCount = useMemo35(() => getActiveFilterCount(filter), [filter]);
19324
- const filterImpls = useMemo35(() => buildFilterImpls(filterDefs), [filterDefs]);
19343
+ const [searchIsOpen, setSearchIsOpen] = useState42(false);
19344
+ const [{
19345
+ search: initialValue
19346
+ }, setQueryParams] = useQueryParams3({
19347
+ search: StringParam2
19348
+ });
19349
+ const [searchValue, setSearchValue] = useState42(initialValue || "");
19350
+ const [debouncedSearch] = useDebounce2(searchValue, 300);
19351
+ useEffect27(() => {
19352
+ if (searchProps) {
19353
+ searchProps.onSearch(debouncedSearch);
19354
+ setQueryParams({
19355
+ search: debouncedSearch || void 0
19356
+ }, "replaceIn");
19357
+ }
19358
+ }, [debouncedSearch, searchProps, setQueryParams]);
19359
+ const hasSearch = !!searchProps;
19360
+ const hasFilters = !!filterDefs && Object.keys(filterDefs ?? {}).length > 0;
19361
+ const activeFilterCount = useMemo35(() => filter ? getActiveFilterCount(filter) : 0, [filter]);
19362
+ const filterImpls = useMemo35(() => filterDefs ? buildFilterImpls(filterDefs) : {}, [filterDefs]);
19325
19363
  const renderFilters = () => {
19364
+ if (!filter || !onChange) return null;
19326
19365
  const entries = safeEntries(filterImpls);
19327
19366
  const nonCheckbox = entries.filter(([_, f]) => !f.hideLabelInModal);
19328
19367
  const checkbox = entries.filter(([_, f]) => f.hideLabelInModal);
19329
19368
  return [...nonCheckbox, ...checkbox].map(([key, f]) => /* @__PURE__ */ jsx140("div", { children: f.render(filter[key], (value) => onChange(updateFilter(filter, key, value)), testId, false, false) }, key));
19330
19369
  };
19370
+ const searchTextField = /* @__PURE__ */ jsx140(TextField, { label: "Search", labelStyle: "hidden", value: searchValue, onChange: (v) => setSearchValue(v ?? ""), placeholder: "Search", clearable: true, startAdornment: /* @__PURE__ */ jsx140(Icon, { icon: "search", color: "rgba(100, 100, 100, 1)" /* Gray700 */ }) });
19331
19371
  return /* @__PURE__ */ jsxs70(Fragment32, { children: [
19332
- /* @__PURE__ */ jsx140(Button, { label: "Filter", icon: "filter", size: "md", endAdornment: /* @__PURE__ */ jsxs70("div", { className: "df aic gap1", children: [
19372
+ hasSearch && /* @__PURE__ */ jsx140("div", { ...trussProps69({
19373
+ width: "w_244px",
19374
+ ...sm ? {
19375
+ position: "absolute",
19376
+ overflow: "oh",
19377
+ clip: "cli_inset_50",
19378
+ clipPath: "clp_none",
19379
+ border: "bd_0",
19380
+ height: "h_1px",
19381
+ margin: "m_neg1px",
19382
+ width: "w_1px",
19383
+ padding: "p_0",
19384
+ whiteSpace: "wsnw",
19385
+ opacity: "o0"
19386
+ } : {}
19387
+ }), children: searchTextField }),
19388
+ sm && hasSearch && /* @__PURE__ */ jsx140(Button, { label: "", "aria-label": "Search", icon: "search", onClick: () => setSearchIsOpen(!searchIsOpen), active: searchIsOpen, variant: "secondaryBlack", ...testId.searchButton }),
19389
+ hasFilters && /* @__PURE__ */ jsx140(Button, { label: sm ? "" : "Filter", "aria-label": "Filter", icon: "filter", size: "md", endAdornment: /* @__PURE__ */ jsxs70("div", { className: "df aic gap1", children: [
19333
19390
  activeFilterCount > 0 && /* @__PURE__ */ jsx140(CountBadge, { count: activeFilterCount }),
19334
- /* @__PURE__ */ jsx140(Icon, { icon: isOpen ? "chevronUp" : "chevronDown" })
19391
+ /* @__PURE__ */ jsx140(Icon, { xss: {
19392
+ ...sm ? {
19393
+ position: "absolute",
19394
+ overflow: "oh",
19395
+ clip: "cli_inset_50",
19396
+ clipPath: "clp_none",
19397
+ border: "bd_0",
19398
+ height: "h_1px",
19399
+ margin: "m_neg1px",
19400
+ width: "w_1px",
19401
+ padding: "p_0",
19402
+ whiteSpace: "wsnw",
19403
+ opacity: "o0"
19404
+ } : {}
19405
+ }, icon: isOpen ? "chevronUp" : "chevronDown" })
19335
19406
  ] }), variant: "secondaryBlack", onClick: () => setIsOpen(!isOpen), active: isOpen, ...testId.button }),
19336
- isOpen && /* @__PURE__ */ jsxs70("div", { className: "df aic fww gap1 w100", children: [
19407
+ searchIsOpen && /* @__PURE__ */ jsx140("div", { ...trussProps69({
19408
+ width: "w100",
19409
+ ...!sm ? {
19410
+ position: "absolute",
19411
+ overflow: "oh",
19412
+ clip: "cli_inset_50",
19413
+ clipPath: "clp_none",
19414
+ border: "bd_0",
19415
+ height: "h_1px",
19416
+ margin: "m_neg1px",
19417
+ width: "w_1px",
19418
+ padding: "p_0",
19419
+ whiteSpace: "wsnw",
19420
+ opacity: "o0"
19421
+ } : {}
19422
+ }), children: searchTextField }),
19423
+ hasFilters && isOpen && /* @__PURE__ */ jsxs70("div", { className: "df aic fww gap1 w100", children: [
19337
19424
  groupBy && /* @__PURE__ */ jsx140(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) }),
19338
19425
  renderFilters(),
19339
- activeFilterCount > 0 && /* @__PURE__ */ jsx140(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn })
19426
+ activeFilterCount > 0 && /* @__PURE__ */ jsx140(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange?.({}), ...testId.clearBtn })
19340
19427
  ] }),
19341
- !isOpen && /* @__PURE__ */ jsx140(FilterChips, { filter, filterImpls, onChange, onClear: () => onChange({}), testId })
19428
+ hasFilters && !isOpen && filter && onChange && /* @__PURE__ */ jsx140(FilterChips, { filter, filterImpls, onChange, onClear: () => onChange({}), testId })
19342
19429
  ] });
19343
19430
  }
19344
19431
  function FilterChips({
@@ -19472,6 +19559,9 @@ function EditColumnsButton(props) {
19472
19559
  isDisabled: !!disabled
19473
19560
  }, state, buttonRef);
19474
19561
  const tid = useTestIds(props, isTextButton(trigger) ? labelOr(trigger, "editColumnsButton") : isNavLinkButton(trigger) ? defaultTestId(trigger.navLabel) : isIconButton(trigger) ? trigger.icon : trigger.name);
19562
+ const {
19563
+ sm
19564
+ } = useBreakpoint();
19475
19565
  const options = useMemo36(() => columns.filter((column2) => column2.canHide).filter((column2) => {
19476
19566
  if (!column2.name || column2.name.length === 0 || !column2.id || column2.id.length === 0) {
19477
19567
  console.warn("Column is missing 'name' and/or 'id' property required by the Edit Columns button", column2);
@@ -19487,7 +19577,7 @@ function EditColumnsButton(props) {
19487
19577
  api.resetColumnWidths();
19488
19578
  api.setVisibleColumns(columns.filter((column2) => column2.canHide ? ids.includes(column2.id) : true).map((c) => c.id));
19489
19579
  }, [columns, api]);
19490
- return /* @__PURE__ */ jsx142(OverlayTrigger, { ...props, menuTriggerProps, state, buttonRef, ...tid, children: /* @__PURE__ */ jsxs72("div", { className: "dg gtc_1fr_auto gap2 bgWhite pt2 pb2 pr2 pl2 maxw_326px h_bshHover", children: [
19580
+ return /* @__PURE__ */ jsx142(OverlayTrigger, { ...props, menuTriggerProps, state, buttonRef, hideEndAdornment: sm, ...tid, children: /* @__PURE__ */ jsxs72("div", { className: "dg gtc_1fr_auto gap2 bgWhite pt2 pb2 pr2 pl2 maxw_326px h_bshHover", children: [
19491
19581
  options.map((option) => /* @__PURE__ */ jsxs72(Fragment33, { children: [
19492
19582
  /* @__PURE__ */ jsx142("div", { className: "fw4 fz_14px lh_20px wsnw oh to_ellipsis pr1", children: option.label }),
19493
19583
  /* @__PURE__ */ jsx142(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}`] })
@@ -19497,7 +19587,7 @@ function EditColumnsButton(props) {
19497
19587
  }
19498
19588
 
19499
19589
  // src/components/Table/TableActions.tsx
19500
- import { trussProps as trussProps69 } from "@homebound/truss/runtime";
19590
+ import { trussProps as trussProps70 } from "@homebound/truss/runtime";
19501
19591
  import { jsx as jsx143, jsxs as jsxs73 } from "react/jsx-runtime";
19502
19592
  function TableActions(props) {
19503
19593
  const {
@@ -19505,7 +19595,7 @@ function TableActions(props) {
19505
19595
  children,
19506
19596
  right
19507
19597
  } = props;
19508
- return /* @__PURE__ */ jsxs73("div", { ...trussProps69({
19598
+ return /* @__PURE__ */ jsxs73("div", { ...trussProps70({
19509
19599
  ...{
19510
19600
  display: "df",
19511
19601
  gap: "gap1",
@@ -19520,10 +19610,6 @@ function TableActions(props) {
19520
19610
  ] });
19521
19611
  }
19522
19612
 
19523
- // src/components/Layout/GridTableLayout/GridTableLayout.tsx
19524
- import { useDebounce as useDebounce2 } from "use-debounce";
19525
- import { StringParam as StringParam2, useQueryParams as useQueryParams3 } from "use-query-params";
19526
-
19527
19613
  // src/components/Layout/layoutTypes.ts
19528
19614
  function isGridTableProps(props) {
19529
19615
  return "rows" in props;
@@ -19533,7 +19619,7 @@ function isGridTableProps(props) {
19533
19619
  import { useMemo as useMemo37 } from "react";
19534
19620
 
19535
19621
  // src/components/LoadingSkeleton.tsx
19536
- import { trussProps as trussProps70, maybeCssVar as maybeCssVar40 } from "@homebound/truss/runtime";
19622
+ import { trussProps as trussProps71, maybeCssVar as maybeCssVar40 } from "@homebound/truss/runtime";
19537
19623
  import { jsx as jsx144 } from "react/jsx-runtime";
19538
19624
  function LoadingSkeleton({
19539
19625
  rows = 1,
@@ -19546,7 +19632,7 @@ function LoadingSkeleton({
19546
19632
  const rowHeight = sizeToPixels2[size];
19547
19633
  const rowCells = (rowNumber) => {
19548
19634
  const flexGrowForCell = randomizeWidths ? getRandomizedFlexBasisByRowIndex(rowNumber) : 1;
19549
- return cellArray.map((_, i) => /* @__PURE__ */ jsx144("div", { ...trussProps70({
19635
+ return cellArray.map((_, i) => /* @__PURE__ */ jsx144("div", { ...trussProps71({
19550
19636
  borderRadius: "br4",
19551
19637
  animation: "animation_pulse_2s_cubic_bezier_0_4_0_0_6_1_infinite",
19552
19638
  flexGrow: ["flexGrow_var", {
@@ -19557,7 +19643,7 @@ function LoadingSkeleton({
19557
19643
  }]
19558
19644
  }) }, `row-${rowNumber}-cell-${i}`));
19559
19645
  };
19560
- return /* @__PURE__ */ jsx144("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ jsx144("div", { ...trussProps70({
19646
+ return /* @__PURE__ */ jsx144("div", { "aria-label": "Loading", children: rowArray.map((_, i) => /* @__PURE__ */ jsx144("div", { ...trussProps71({
19561
19647
  display: "df",
19562
19648
  gap: "gap1",
19563
19649
  marginBottom: "mb1",
@@ -19598,7 +19684,7 @@ function LoadingTable(props) {
19598
19684
  }
19599
19685
 
19600
19686
  // src/components/Layout/GridTableLayout/GridTableLayout.tsx
19601
- import { trussProps as trussProps71 } from "@homebound/truss/runtime";
19687
+ import { trussProps as trussProps72 } from "@homebound/truss/runtime";
19602
19688
  import { Fragment as Fragment35, jsx as jsx146, jsxs as jsxs75 } from "react/jsx-runtime";
19603
19689
  function GridTableLayoutComponent(props) {
19604
19690
  const {
@@ -19625,23 +19711,22 @@ function GridTableLayoutComponent(props) {
19625
19711
  const showTableActions = layoutState?.filterDefs || layoutState?.search || hasHideableColumns;
19626
19712
  const isVirtualized = tableProps.as === "virtual";
19627
19713
  const visibleColumnIds = useComputed(() => api.getVisibleColumnIds(), [api]);
19628
- useEffect27(() => {
19714
+ useEffect28(() => {
19629
19715
  if (layoutState?.setVisibleColumnIds) {
19630
19716
  layoutState.setVisibleColumnIds(visibleColumnIds);
19631
19717
  }
19632
19718
  }, [visibleColumnIds, layoutState]);
19633
19719
  const visibleColumnsStorageKey = layoutState?.persistedColumnsStorageKey;
19634
19720
  return /* @__PURE__ */ jsxs75(Fragment35, { children: [
19635
- /* @__PURE__ */ jsx146(Header2, { pageTitle, breadCrumb, primaryAction, secondaryAction, tertiaryAction, actionMenu }),
19636
- showTableActions && /* @__PURE__ */ jsxs75(TableActions, { right: hasHideableColumns && /* @__PURE__ */ jsx146(EditColumnsButton, { columns, api, tooltip: "Display columns", trigger: {
19721
+ pageTitle && /* @__PURE__ */ jsx146(Header2, { pageTitle, breadCrumb, primaryAction, secondaryAction, tertiaryAction, actionMenu }),
19722
+ showTableActions && /* @__PURE__ */ jsx146(TableActions, { right: hasHideableColumns && /* @__PURE__ */ jsx146(EditColumnsButton, { columns, api, tooltip: "Display columns", trigger: {
19637
19723
  icon: "kanban",
19638
19724
  size: "md",
19639
19725
  label: "",
19640
19726
  variant: "secondaryBlack"
19641
- }, ...tid.editColumnsButton }), children: [
19642
- layoutState?.search && /* @__PURE__ */ jsx146(SearchBox, { onSearch: layoutState.setSearchString }),
19643
- layoutState?.filterDefs && /* @__PURE__ */ jsx146(_FilterDropdownMenu, { filterDefs: layoutState.filterDefs, filter: layoutState.filter, onChange: layoutState.setFilter, groupBy: layoutState.groupBy })
19644
- ] }),
19727
+ }, ...tid.editColumnsButton }), children: layoutState && (layoutState.filterDefs || layoutState.search) && /* @__PURE__ */ jsx146(_FilterDropdownMenu, { filterDefs: layoutState.filterDefs, filter: layoutState.filter, onChange: layoutState.setFilter, groupBy: layoutState.groupBy, searchProps: layoutState.search ? {
19728
+ onSearch: layoutState.setSearchString
19729
+ } : void 0 }) }),
19645
19730
  /* @__PURE__ */ jsxs75(ScrollableContent, { virtualized: isVirtualized, children: [
19646
19731
  isGridTableProps(tableProps) ? /* @__PURE__ */ jsx146(GridTable, { ...tableProps, api, filter: clientSearch, style: {
19647
19732
  allWhite: true
@@ -19692,7 +19777,7 @@ function useGridTableLayoutState({
19692
19777
  offset: 0,
19693
19778
  limit: persistedPageSize
19694
19779
  });
19695
- useEffect27(() => {
19780
+ useEffect28(() => {
19696
19781
  if (page.limit !== persistedPageSize) setPersistedPageSize(page.limit);
19697
19782
  setPage((prev) => prev.offset === 0 ? prev : {
19698
19783
  ...prev,
@@ -19729,7 +19814,7 @@ function Header2(props) {
19729
19814
  actionMenu
19730
19815
  } = props;
19731
19816
  const tids = useTestIds(props);
19732
- return /* @__PURE__ */ jsx146(FullBleed, { children: /* @__PURE__ */ jsxs75("header", { ...trussProps71({
19817
+ return /* @__PURE__ */ jsx146(FullBleed, { children: /* @__PURE__ */ jsxs75("header", { ...trussProps72({
19733
19818
  ...{
19734
19819
  paddingTop: "pt3",
19735
19820
  paddingBottom: "pb3",
@@ -19757,24 +19842,6 @@ function Header2(props) {
19757
19842
  ] })
19758
19843
  ] }) });
19759
19844
  }
19760
- function SearchBox({
19761
- onSearch
19762
- }) {
19763
- const [{
19764
- search: initialValue
19765
- }, setQueryParams] = useQueryParams3({
19766
- search: StringParam2
19767
- });
19768
- const [value, setValue] = useState43(initialValue || "");
19769
- const [debouncedSearch] = useDebounce2(value, 300);
19770
- useEffect27(() => {
19771
- onSearch(debouncedSearch);
19772
- setQueryParams({
19773
- search: debouncedSearch || void 0
19774
- }, "replaceIn");
19775
- }, [debouncedSearch, onSearch, setQueryParams]);
19776
- return /* @__PURE__ */ jsx146("div", { className: "w_244px", children: /* @__PURE__ */ jsx146(TextField, { label: "Search", labelStyle: "hidden", value, onChange: (v) => setValue(v ?? ""), placeholder: "Search", clearable: true, startAdornment: /* @__PURE__ */ jsx146(Icon, { icon: "search", color: "rgba(100, 100, 100, 1)" /* Gray700 */ }) }) });
19777
- }
19778
19845
 
19779
19846
  // src/components/Layout/PreventBrowserScroll.tsx
19780
19847
  import { jsx as jsx147 } from "react/jsx-runtime";
@@ -19826,8 +19893,8 @@ function useRightPaneContext() {
19826
19893
 
19827
19894
  // src/components/Layout/RightPaneLayout/RightPaneLayout.tsx
19828
19895
  import { AnimatePresence as AnimatePresence3, motion as motion3 } from "framer-motion";
19829
- import { useEffect as useEffect28 } from "react";
19830
- import { trussProps as trussProps72, maybeCssVar as maybeCssVar41 } from "@homebound/truss/runtime";
19896
+ import { useEffect as useEffect29 } from "react";
19897
+ import { trussProps as trussProps73, maybeCssVar as maybeCssVar41 } from "@homebound/truss/runtime";
19831
19898
  import { Fragment as Fragment36, jsx as jsx149, jsxs as jsxs76 } from "react/jsx-runtime";
19832
19899
  var __maybeInc11 = (inc) => {
19833
19900
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -19845,9 +19912,9 @@ function RightPaneLayout(props) {
19845
19912
  clearPane,
19846
19913
  closePane
19847
19914
  } = useRightPaneContext();
19848
- useEffect28(() => closePane, [closePane]);
19915
+ useEffect29(() => closePane, [closePane]);
19849
19916
  return /* @__PURE__ */ jsx149("div", { className: "h100 df oxh", children: /* @__PURE__ */ jsxs76(Fragment36, { children: [
19850
- /* @__PURE__ */ jsx149("div", { ...trussProps72({
19917
+ /* @__PURE__ */ jsx149("div", { ...trussProps73({
19851
19918
  ...{
19852
19919
  width: ["w_var", {
19853
19920
  "--width": maybeCssVar41(__maybeInc11(`calc(100% - ${paneWidth + 24}px)`))
@@ -19872,7 +19939,7 @@ function RightPaneLayout(props) {
19872
19939
  } : {}
19873
19940
  }
19874
19941
  }), children }),
19875
- /* @__PURE__ */ jsxs76("div", { ...trussProps72({
19942
+ /* @__PURE__ */ jsxs76("div", { ...trussProps73({
19876
19943
  position: "relative",
19877
19944
  ...!!defaultPaneContent ? {
19878
19945
  width: ["w_var", {
@@ -19880,7 +19947,7 @@ function RightPaneLayout(props) {
19880
19947
  }]
19881
19948
  } : {}
19882
19949
  }), children: [
19883
- defaultPaneContent && /* @__PURE__ */ jsx149("div", { ...trussProps72({
19950
+ defaultPaneContent && /* @__PURE__ */ jsx149("div", { ...trussProps73({
19884
19951
  height: "h100",
19885
19952
  width: ["w_var", {
19886
19953
  "--width": `${paneWidth}px`
@@ -19898,7 +19965,7 @@ function RightPaneLayout(props) {
19898
19965
  {
19899
19966
  layout: "position",
19900
19967
  "data-testid": "rightPaneContent",
19901
- ...trussProps72({
19968
+ ...trussProps73({
19902
19969
  backgroundColor: ["bgColor_var", {
19903
19970
  "--backgroundColor": maybeCssVar41(paneBgColor)
19904
19971
  }],
@@ -19957,7 +20024,7 @@ function ScrollableFooter(props) {
19957
20024
 
19958
20025
  // src/components/Layout/TableReviewLayout/TableReviewLayout.tsx
19959
20026
  import { AnimatePresence as AnimatePresence4, motion as motion4 } from "framer-motion";
19960
- import { useEffect as useEffect29, useState as useState45 } from "react";
20027
+ import { useEffect as useEffect30, useState as useState45 } from "react";
19961
20028
 
19962
20029
  // src/components/Layout/TableReviewLayout/SidePanel.tsx
19963
20030
  import { jsx as jsx151, jsxs as jsxs77 } from "react/jsx-runtime";
@@ -19981,7 +20048,7 @@ function SidePanel(props) {
19981
20048
  }
19982
20049
 
19983
20050
  // src/components/Layout/TableReviewLayout/TableReviewLayout.tsx
19984
- import { trussProps as trussProps73, maybeCssVar as maybeCssVar42 } from "@homebound/truss/runtime";
20051
+ import { trussProps as trussProps74, maybeCssVar as maybeCssVar42 } from "@homebound/truss/runtime";
19985
20052
  import { jsx as jsx152, jsxs as jsxs78 } from "react/jsx-runtime";
19986
20053
  var defaultRightPaneWidth = 450;
19987
20054
  function TableReviewLayout(props) {
@@ -19998,7 +20065,7 @@ function TableReviewLayout(props) {
19998
20065
  } = props;
19999
20066
  const tid = useTestIds(props, "tableReviewLayout");
20000
20067
  const [isPanelVisible, setIsPanelVisible] = useState45(!!panelContent);
20001
- useEffect29(() => {
20068
+ useEffect30(() => {
20002
20069
  setIsPanelVisible(!!panelContent);
20003
20070
  }, [panelContent]);
20004
20071
  function handleClosePanel() {
@@ -20023,7 +20090,7 @@ function TableReviewLayout(props) {
20023
20090
  bordered: true
20024
20091
  }, stickyHeader: true });
20025
20092
  }
20026
- return /* @__PURE__ */ jsxs78("div", { ...trussProps73({
20093
+ return /* @__PURE__ */ jsxs78("div", { ...trussProps74({
20027
20094
  position: "fixed",
20028
20095
  top: "top0",
20029
20096
  bottom: "bottom0",
@@ -20048,7 +20115,7 @@ function TableReviewLayout(props) {
20048
20115
  /* @__PURE__ */ jsx152("div", { className: "fw4 fz_14px lh_20px gray700 mt2", ...tid.description, children: description })
20049
20116
  ] }),
20050
20117
  /* @__PURE__ */ jsxs78("div", { className: "fg1 df mh0", ...tid.content, children: [
20051
- /* @__PURE__ */ jsx152("div", { ...trussProps73({
20118
+ /* @__PURE__ */ jsx152("div", { ...trussProps74({
20052
20119
  ...{
20053
20120
  flexGrow: "fg1",
20054
20121
  overflowY: "oya",
@@ -20071,7 +20138,7 @@ function TableReviewLayout(props) {
20071
20138
  ease: "linear",
20072
20139
  duration: 0.2
20073
20140
  }, className: "df fdc fs0 relative", children: [
20074
- /* @__PURE__ */ jsxs78("div", { ...trussProps73({
20141
+ /* @__PURE__ */ jsxs78("div", { ...trussProps74({
20075
20142
  position: "absolute",
20076
20143
  top: ["top_var", {
20077
20144
  "--top": `${-32}px`
@@ -20084,7 +20151,7 @@ function TableReviewLayout(props) {
20084
20151
  }],
20085
20152
  zIndex: "z1"
20086
20153
  }), children: [
20087
- /* @__PURE__ */ jsx152(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */, circle: true, icon: "x", inc: 3.5, onClick: handleClosePanel, ...tid.closePanelButton }),
20154
+ /* @__PURE__ */ jsx152(IconButton, { bgColor: "rgba(255, 255, 255, 1)" /* White */, variant: "circle", icon: "x", inc: 3.5, onClick: handleClosePanel, ...tid.closePanelButton }),
20088
20155
  /* @__PURE__ */ jsx152("div", { className: "w_1px bgGray300 vh100" })
20089
20156
  ] }),
20090
20157
  /* @__PURE__ */ jsx152("div", { className: "fg1 oh mh0", children: /* @__PURE__ */ jsx152(SidePanel, { ...panelContent }) })
@@ -20194,7 +20261,7 @@ function ButtonDatePicker(props) {
20194
20261
  // src/components/ButtonGroup.tsx
20195
20262
  import { useRef as useRef49 } from "react";
20196
20263
  import { useButton as useButton10, useFocusRing as useFocusRing12, useHover as useHover15 } from "react-aria";
20197
- import { trussProps as trussProps74 } from "@homebound/truss/runtime";
20264
+ import { trussProps as trussProps75 } from "@homebound/truss/runtime";
20198
20265
  import { jsx as jsx155, jsxs as jsxs80 } from "react/jsx-runtime";
20199
20266
  function ButtonGroup(props) {
20200
20267
  const {
@@ -20205,7 +20272,7 @@ function ButtonGroup(props) {
20205
20272
  const tid = useTestIds(props, "buttonGroup");
20206
20273
  return (
20207
20274
  // Adding `line-height: 0` prevent inheriting line-heights that might throw off sizing within the button group.
20208
- /* @__PURE__ */ jsx155("div", { ...tid, ...trussProps74({
20275
+ /* @__PURE__ */ jsx155("div", { ...tid, ...trussProps75({
20209
20276
  ...{
20210
20277
  display: "df",
20211
20278
  lineHeight: "lh_0"
@@ -20254,10 +20321,10 @@ function GroupButton(props) {
20254
20321
  isHovered
20255
20322
  } = useHover15(ariaProps);
20256
20323
  const tid = useTestIds(props);
20257
- return /* @__PURE__ */ jsx155("span", { ...trussProps74(getButtonStyles2(isFirst, isLast)), children: maybeTooltip({
20324
+ return /* @__PURE__ */ jsx155("span", { ...trussProps75(getButtonStyles2(isFirst, isLast)), children: maybeTooltip({
20258
20325
  title: resolveTooltip(disabled, tooltip),
20259
20326
  placement: "top",
20260
- children: /* @__PURE__ */ jsxs80("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...trussProps74({
20327
+ children: /* @__PURE__ */ jsxs80("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...trussProps75({
20261
20328
  ...{
20262
20329
  fontWeight: "fw6",
20263
20330
  fontSize: "fz_14px",
@@ -20364,7 +20431,7 @@ import { useHover as useHover16 } from "react-aria";
20364
20431
  // src/components/Tag.tsx
20365
20432
  import { useResizeObserver as useResizeObserver4 } from "@react-aria/utils";
20366
20433
  import { useRef as useRef50, useState as useState46 } from "react";
20367
- import { trussProps as trussProps75 } from "@homebound/truss/runtime";
20434
+ import { trussProps as trussProps76 } from "@homebound/truss/runtime";
20368
20435
  import { jsx as jsx156, jsxs as jsxs81 } from "react/jsx-runtime";
20369
20436
  function Tag(props) {
20370
20437
  const {
@@ -20388,7 +20455,7 @@ function Tag(props) {
20388
20455
  });
20389
20456
  return maybeTooltip({
20390
20457
  title: !preventTooltip && showTooltip ? text : void 0,
20391
- children: /* @__PURE__ */ jsxs81("span", { ...tid, ...trussProps75({
20458
+ children: /* @__PURE__ */ jsxs81("span", { ...tid, ...trussProps76({
20392
20459
  ...{
20393
20460
  display: "dif",
20394
20461
  fontWeight: "fw6",
@@ -20438,7 +20505,7 @@ function getStyles(type) {
20438
20505
  }
20439
20506
 
20440
20507
  // src/components/Card.tsx
20441
- import { trussProps as trussProps76, maybeCssVar as maybeCssVar43 } from "@homebound/truss/runtime";
20508
+ import { trussProps as trussProps77, maybeCssVar as maybeCssVar43 } from "@homebound/truss/runtime";
20442
20509
  import { jsx as jsx157, jsxs as jsxs82 } from "react/jsx-runtime";
20443
20510
  function Card(props) {
20444
20511
  const {
@@ -20469,8 +20536,8 @@ function Card(props) {
20469
20536
  ...isHovered && cardHoverStyles,
20470
20537
  ...isDisabled && disabledStyles3
20471
20538
  }), [isDisabled, isHovered, bordered, type, isList]);
20472
- return /* @__PURE__ */ jsxs82("div", { ...trussProps76(styles), ...hoverProps, ...tid, children: [
20473
- /* @__PURE__ */ jsx157("div", { ...trussProps76({
20539
+ return /* @__PURE__ */ jsxs82("div", { ...trussProps77(styles), ...hoverProps, ...tid, children: [
20540
+ /* @__PURE__ */ jsx157("div", { ...trussProps77({
20474
20541
  ...{
20475
20542
  height: ["h_var", {
20476
20543
  "--height": `${imgHeight}px`
@@ -20487,14 +20554,14 @@ function Card(props) {
20487
20554
  filter: "filter_brightness_1"
20488
20555
  },
20489
20556
  ...isHovered && !isList && imageHoverStyles
20490
- }), children: /* @__PURE__ */ jsx157("img", { ...trussProps76({
20557
+ }), children: /* @__PURE__ */ jsx157("img", { ...trussProps77({
20491
20558
  width: "w100",
20492
20559
  height: "h100",
20493
20560
  objectFit: ["objectFit_var", {
20494
20561
  "--objectFit": maybeCssVar43(imageFit)
20495
20562
  }]
20496
20563
  }), src: imgSrc, alt: title, ...tid.img }) }),
20497
- isHovered && buttonMenuItems && /* @__PURE__ */ jsx157("div", { ...trussProps76({
20564
+ isHovered && buttonMenuItems && /* @__PURE__ */ jsx157("div", { ...trussProps77({
20498
20565
  position: "absolute",
20499
20566
  right: "right1",
20500
20567
  top: "top1",
@@ -20510,7 +20577,7 @@ function Card(props) {
20510
20577
  /* @__PURE__ */ jsxs82("div", { className: "df fdc aifs gap1", children: [
20511
20578
  /* @__PURE__ */ jsxs82("div", { children: [
20512
20579
  /* @__PURE__ */ jsx157("div", { className: "fw6 fz_12px lh_16px gray700", ...tid.subtitle, children: subtitle }),
20513
- /* @__PURE__ */ jsx157("div", { ...trussProps76({
20580
+ /* @__PURE__ */ jsx157("div", { ...trussProps77({
20514
20581
  fontWeight: "fw6",
20515
20582
  fontSize: "fz_14px",
20516
20583
  lineHeight: "lh_20px",
@@ -20600,7 +20667,7 @@ function useDnDGridContext() {
20600
20667
  }
20601
20668
 
20602
20669
  // src/components/DnDGrid/DnDGrid.tsx
20603
- import { trussProps as trussProps77 } from "@homebound/truss/runtime";
20670
+ import { trussProps as trussProps78 } from "@homebound/truss/runtime";
20604
20671
  import { jsx as jsx159 } from "react/jsx-runtime";
20605
20672
  function DnDGrid(props) {
20606
20673
  const {
@@ -20783,7 +20850,7 @@ function DnDGrid(props) {
20783
20850
  return /* @__PURE__ */ jsx159(DnDGridContext.Provider, { value: {
20784
20851
  dragEl,
20785
20852
  onDragHandleKeyDown
20786
- }, children: /* @__PURE__ */ jsx159("div", { ref: gridEl, ...trussProps77({
20853
+ }, children: /* @__PURE__ */ jsx159("div", { ref: gridEl, ...trussProps78({
20787
20854
  ...{
20788
20855
  containerType: "ctis",
20789
20856
  display: "dg"
@@ -20796,7 +20863,7 @@ var gridCloneKey = "dndgrid-clone";
20796
20863
 
20797
20864
  // src/components/DnDGrid/DnDGridItemHandle.tsx
20798
20865
  import { mergeProps as mergeProps23, useFocusRing as useFocusRing13, useHover as useHover17 } from "react-aria";
20799
- import { trussProps as trussProps78 } from "@homebound/truss/runtime";
20866
+ import { trussProps as trussProps79 } from "@homebound/truss/runtime";
20800
20867
  import { jsx as jsx160 } from "react/jsx-runtime";
20801
20868
  function DnDGridItemHandle(props) {
20802
20869
  const {
@@ -20826,7 +20893,7 @@ function DnDGridItemHandle(props) {
20826
20893
  borderRadius: "br4",
20827
20894
  borderWidth: "bw1"
20828
20895
  };
20829
- return /* @__PURE__ */ jsx160("button", { ...trussProps78({
20896
+ return /* @__PURE__ */ jsx160("button", { ...trussProps79({
20830
20897
  ...compact ? iconButtonCompact2 : iconButtonNormal2,
20831
20898
  ...{
20832
20899
  cursor: "cursor_grab",
@@ -20888,7 +20955,7 @@ var gridItemDataAttribute = "data-grid-item-span";
20888
20955
  var ResponsiveGridContext = createContext10(void 0);
20889
20956
 
20890
20957
  // src/components/Grid/ResponsiveGrid.tsx
20891
- import { trussProps as trussProps79 } from "@homebound/truss/runtime";
20958
+ import { trussProps as trussProps80 } from "@homebound/truss/runtime";
20892
20959
  import { jsx as jsx161 } from "react/jsx-runtime";
20893
20960
  function ResponsiveGrid(props) {
20894
20961
  const {
@@ -20909,12 +20976,12 @@ function ResponsiveGrid(props) {
20909
20976
  gap,
20910
20977
  columns
20911
20978
  }), [minColumnWidth, gap, columns]);
20912
- return /* @__PURE__ */ jsx161(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ jsx161("div", { ...trussProps79(gridStyles), children }) });
20979
+ return /* @__PURE__ */ jsx161(ResponsiveGridContext.Provider, { value: config, children: /* @__PURE__ */ jsx161("div", { ...trussProps80(gridStyles), children }) });
20913
20980
  }
20914
20981
 
20915
20982
  // src/components/Grid/ResponsiveGridItem.tsx
20916
20983
  import { mergeProps as mergeProps24 } from "react-aria";
20917
- import { trussProps as trussProps80 } from "@homebound/truss/runtime";
20984
+ import { trussProps as trussProps81 } from "@homebound/truss/runtime";
20918
20985
  import { jsx as jsx162 } from "react/jsx-runtime";
20919
20986
  function ResponsiveGridItem(props) {
20920
20987
  const {
@@ -20927,7 +20994,7 @@ function ResponsiveGridItem(props) {
20927
20994
  } = useResponsiveGridItem({
20928
20995
  colSpan
20929
20996
  });
20930
- return /* @__PURE__ */ jsx162("div", { ...mergeProps24(gridItemProps, trussProps80(gridItemStyles)), children });
20997
+ return /* @__PURE__ */ jsx162("div", { ...mergeProps24(gridItemProps, trussProps81(gridItemStyles)), children });
20931
20998
  }
20932
20999
 
20933
21000
  // src/components/Grid/useResponsiveGrid.ts
@@ -20965,7 +21032,7 @@ function useResponsiveGrid(props) {
20965
21032
  }
20966
21033
 
20967
21034
  // src/components/Grid/useResponsiveGridItem.ts
20968
- import { useContext as useContext20, useEffect as useEffect30, useMemo as useMemo45 } from "react";
21035
+ import { useContext as useContext20, useEffect as useEffect31, useMemo as useMemo45 } from "react";
20969
21036
  var injectedResponsiveGridClasses = /* @__PURE__ */ new Set();
20970
21037
  var responsiveGridStyleEl;
20971
21038
  function useResponsiveGridItem(props) {
@@ -20995,7 +21062,7 @@ function useResponsiveGridItem(props) {
20995
21062
  };
20996
21063
  }
20997
21064
  function useResponsiveGridItemStyle(className, cssText) {
20998
- useEffect30(
21065
+ useEffect31(
20999
21066
  function() {
21000
21067
  if (!className || !cssText || typeof document === "undefined") return;
21001
21068
  if (!responsiveGridStyleEl) {
@@ -21078,7 +21145,7 @@ function HbSpinnerProvider({
21078
21145
  }
21079
21146
 
21080
21147
  // src/components/HomeboundLogo.tsx
21081
- import { trussProps as trussProps81, maybeCssVar as maybeCssVar45 } from "@homebound/truss/runtime";
21148
+ import { trussProps as trussProps82, maybeCssVar as maybeCssVar45 } from "@homebound/truss/runtime";
21082
21149
  import { jsx as jsx164 } from "react/jsx-runtime";
21083
21150
  var __maybeInc13 = (inc) => {
21084
21151
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -21089,7 +21156,7 @@ function HomeboundLogo(props) {
21089
21156
  width: width2 = "auto",
21090
21157
  height = "auto"
21091
21158
  } = props;
21092
- return /* @__PURE__ */ jsx164("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...trussProps81({
21159
+ return /* @__PURE__ */ jsx164("svg", { viewBox: "0 0 158.1 97.6", xmlns: "http://www.w3.org/2000/svg", ...trussProps82({
21093
21160
  fill: ["fill_var", {
21094
21161
  "--fill": maybeCssVar45(fill)
21095
21162
  }],
@@ -21104,8 +21171,8 @@ function HomeboundLogo(props) {
21104
21171
 
21105
21172
  // src/components/MaxLines.tsx
21106
21173
  import { useLayoutEffect as useLayoutEffect3, useResizeObserver as useResizeObserver5 } from "@react-aria/utils";
21107
- import { useCallback as useCallback26, useEffect as useEffect31, useRef as useRef52, useState as useState47 } from "react";
21108
- import { trussProps as trussProps82, maybeCssVar as maybeCssVar46 } from "@homebound/truss/runtime";
21174
+ import { useCallback as useCallback26, useEffect as useEffect32, useRef as useRef52, useState as useState47 } from "react";
21175
+ import { trussProps as trussProps83, maybeCssVar as maybeCssVar46 } from "@homebound/truss/runtime";
21109
21176
  import { jsx as jsx165, jsxs as jsxs84 } from "react/jsx-runtime";
21110
21177
  function MaxLines({
21111
21178
  maxLines,
@@ -21118,7 +21185,7 @@ function MaxLines({
21118
21185
  if (!elRef.current) return;
21119
21186
  setHasMore(elRef.current.scrollHeight > elRef.current.clientHeight);
21120
21187
  }, []);
21121
- useEffect31(() => {
21188
+ useEffect32(() => {
21122
21189
  setExpanded(false);
21123
21190
  }, [children]);
21124
21191
  const onResize = useCallback26(() => {
@@ -21130,7 +21197,7 @@ function MaxLines({
21130
21197
  onResize
21131
21198
  });
21132
21199
  return /* @__PURE__ */ jsxs84("div", { children: [
21133
- /* @__PURE__ */ jsx165("div", { ref: elRef, ...trussProps82({
21200
+ /* @__PURE__ */ jsx165("div", { ref: elRef, ...trussProps83({
21134
21201
  ...!expanded ? {
21135
21202
  WebkitLineClamp: ["lineClamp_var", {
21136
21203
  "--WebkitLineClamp": maybeCssVar46(maxLines)
@@ -21151,12 +21218,12 @@ import { camelCase as camelCase6 } from "change-case";
21151
21218
  // src/components/AppNav/AppNavGroup.tsx
21152
21219
  import { useResizeObserver as useResizeObserver6 } from "@react-aria/utils";
21153
21220
  import { camelCase as camelCase5, kebabCase } from "change-case";
21154
- import { useCallback as useCallback28, useEffect as useEffect32, useMemo as useMemo48, useState as useState49 } from "react";
21221
+ import { useCallback as useCallback28, useEffect as useEffect33, useMemo as useMemo48, useState as useState49 } from "react";
21155
21222
 
21156
21223
  // src/components/AppNav/AppNavGroupTrigger.tsx
21157
21224
  import { useMemo as useMemo47, useRef as useRef53 } from "react";
21158
21225
  import { mergeProps as mergeProps25, useButton as useButton11, useFocusRing as useFocusRing14, useHover as useHover18 } from "react-aria";
21159
- import { trussProps as trussProps83, mergeProps as mergeProps_14 } from "@homebound/truss/runtime";
21226
+ import { trussProps as trussProps84, mergeProps as mergeProps_14 } from "@homebound/truss/runtime";
21160
21227
  import { jsx as jsx166, jsxs as jsxs85 } from "react/jsx-runtime";
21161
21228
  function AppNavGroupTrigger(props) {
21162
21229
  const {
@@ -21200,7 +21267,7 @@ function AppNavGroupTrigger(props) {
21200
21267
  })
21201
21268
  }), children: [
21202
21269
  label,
21203
- /* @__PURE__ */ jsx166("span", { ...trussProps83({
21270
+ /* @__PURE__ */ jsx166("span", { ...trussProps84({
21204
21271
  ...{
21205
21272
  display: "df",
21206
21273
  alignItems: "aic",
@@ -21353,7 +21420,7 @@ function useAppNavGroupExpanded(linkGroup) {
21353
21420
  }
21354
21421
 
21355
21422
  // src/components/AppNav/AppNavGroup.tsx
21356
- import { trussProps as trussProps84, maybeCssVar as maybeCssVar47 } from "@homebound/truss/runtime";
21423
+ import { trussProps as trussProps85, maybeCssVar as maybeCssVar47 } from "@homebound/truss/runtime";
21357
21424
  import { Fragment as Fragment38, jsx as jsx167, jsxs as jsxs86 } from "react/jsx-runtime";
21358
21425
  var __maybeInc14 = (inc) => {
21359
21426
  return typeof inc === "string" ? inc : `calc(var(--t-spacing) * ${inc})`;
@@ -21384,7 +21451,7 @@ function AppNavGroupDisclosure(props) {
21384
21451
  current: contentEl
21385
21452
  }), [contentEl]);
21386
21453
  const [contentHeight, setContentHeight] = useState49(expanded ? "auto" : "0");
21387
- useEffect32(() => {
21454
+ useEffect33(() => {
21388
21455
  setContentHeight(expanded && contentEl ? `${contentEl.scrollHeight}px` : "0");
21389
21456
  }, [expanded, contentEl]);
21390
21457
  const onResize = useCallback28(() => {
@@ -21398,7 +21465,7 @@ function AppNavGroupDisclosure(props) {
21398
21465
  });
21399
21466
  return /* @__PURE__ */ jsxs86("div", { className: "df fdc", ...tid, children: [
21400
21467
  /* @__PURE__ */ jsx167(AppNavGroupTrigger, { label: linkGroup.label, navGroupId, expanded, onClick: onToggle, ...tid }),
21401
- /* @__PURE__ */ jsx167("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...trussProps84({
21468
+ /* @__PURE__ */ jsx167("div", { id: navGroupId, role: "region", "aria-hidden": !expanded, ...trussProps85({
21402
21469
  overflow: "oh",
21403
21470
  transition: "transitionHeight",
21404
21471
  height: ["h_var", {
@@ -21430,7 +21497,7 @@ function AppNavGroupMenu({
21430
21497
  }
21431
21498
 
21432
21499
  // src/components/AppNav/AppNavSectionView.tsx
21433
- import { trussProps as trussProps85 } from "@homebound/truss/runtime";
21500
+ import { trussProps as trussProps86 } from "@homebound/truss/runtime";
21434
21501
  import { jsx as jsx169, jsxs as jsxs87 } from "react/jsx-runtime";
21435
21502
  function AppNavSectionView(props) {
21436
21503
  const {
@@ -21456,7 +21523,7 @@ function AppNavSectionView(props) {
21456
21523
  "--borderColor": "var(--b-surface-separator)"
21457
21524
  }]
21458
21525
  };
21459
- return /* @__PURE__ */ jsxs87("div", { ...trussProps85({
21526
+ return /* @__PURE__ */ jsxs87("div", { ...trussProps86({
21460
21527
  ...{
21461
21528
  display: "df",
21462
21529
  flexDirection: "fdc",
@@ -21464,7 +21531,7 @@ function AppNavSectionView(props) {
21464
21531
  },
21465
21532
  ...showDivider ? dividerStyles : {}
21466
21533
  }), ...tid, children: [
21467
- section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ jsx169("div", { ...trussProps85({
21534
+ section.label && !panelCollapsed && variant !== "global" && /* @__PURE__ */ jsx169("div", { ...trussProps86({
21468
21535
  fontWeight: "fw6",
21469
21536
  fontSize: "fz_10px",
21470
21537
  lineHeight: "lh_14px",
@@ -21528,11 +21595,11 @@ function AppNavItems(props) {
21528
21595
 
21529
21596
  // src/components/Navbar/NavbarMobileMenu.tsx
21530
21597
  import { AnimatePresence as AnimatePresence5, motion as motion5 } from "framer-motion";
21531
- import { useEffect as useEffect33, useState as useState50 } from "react";
21598
+ import { useEffect as useEffect34, useState as useState50 } from "react";
21532
21599
  import { FocusScope as FocusScope5, usePreventScroll as usePreventScroll2 } from "react-aria";
21533
21600
  import { createPortal as createPortal6 } from "react-dom";
21534
21601
  import { useLocation } from "react-router-dom";
21535
- import { trussProps as trussProps86, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
21602
+ import { trussProps as trussProps87, maybeCssVar as maybeCssVar48 } from "@homebound/truss/runtime";
21536
21603
  import { Fragment as Fragment40, jsx as jsx171, jsxs as jsxs88 } from "react/jsx-runtime";
21537
21604
  function NavbarMobileMenu(props) {
21538
21605
  const {
@@ -21547,7 +21614,7 @@ function NavbarMobileMenu(props) {
21547
21614
  usePreventScroll2({
21548
21615
  isDisabled: !isOpen
21549
21616
  });
21550
- useEffect33(() => {
21617
+ useEffect34(() => {
21551
21618
  setIsOpen(false);
21552
21619
  }, [pathname, search]);
21553
21620
  const close = () => setIsOpen(false);
@@ -21562,7 +21629,7 @@ function NavbarMobileDrawer({
21562
21629
  tid
21563
21630
  }) {
21564
21631
  return /* @__PURE__ */ jsxs88(Fragment40, { children: [
21565
- /* @__PURE__ */ jsx171(motion5.div, { ...trussProps86({
21632
+ /* @__PURE__ */ jsx171(motion5.div, { ...trussProps87({
21566
21633
  position: "fixed",
21567
21634
  top: "top0",
21568
21635
  right: "right0",
@@ -21582,7 +21649,7 @@ function NavbarMobileDrawer({
21582
21649
  ease: "linear",
21583
21650
  duration: 0.2
21584
21651
  }, onClick: onClose, ...tid.mobileMenuScrim }, "navbarMobileMenuScrim"),
21585
- /* @__PURE__ */ jsx171(FocusScope5, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ jsxs88(motion5.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...trussProps86({
21652
+ /* @__PURE__ */ jsx171(FocusScope5, { autoFocus: true, contain: true, restoreFocus: true, children: /* @__PURE__ */ jsxs88(motion5.aside, { role: "dialog", "aria-modal": "true", "aria-label": "Navigation", ...trussProps87({
21586
21653
  position: "fixed",
21587
21654
  top: "top0",
21588
21655
  bottom: "bottom0",
@@ -21627,7 +21694,7 @@ function NavbarMobileDrawer({
21627
21694
  }
21628
21695
 
21629
21696
  // src/components/Navbar/Navbar.tsx
21630
- import { trussProps as trussProps87 } from "@homebound/truss/runtime";
21697
+ import { trussProps as trussProps88 } from "@homebound/truss/runtime";
21631
21698
  import { jsx as jsx172, jsxs as jsxs89 } from "react/jsx-runtime";
21632
21699
  function Navbar(props) {
21633
21700
  const {
@@ -21646,7 +21713,7 @@ function Navbar(props) {
21646
21713
  overflows
21647
21714
  } = useContentOverflow(!sm);
21648
21715
  const showMobile = sm || overflows;
21649
- return /* @__PURE__ */ jsx172(ContrastScope, { children: /* @__PURE__ */ jsxs89("nav", { ...trussProps87({
21716
+ return /* @__PURE__ */ jsx172(ContrastScope, { children: /* @__PURE__ */ jsxs89("nav", { ...trussProps88({
21650
21717
  backgroundColor: "bgGray800",
21651
21718
  flexShrink: "fs0",
21652
21719
  display: "df",
@@ -21670,7 +21737,7 @@ function Navbar(props) {
21670
21737
  ] }),
21671
21738
  !sm && // Stays mounted while overflowing (hidden) so the items remain measurable and the bar
21672
21739
  // can expand again as space frees up.
21673
- /* @__PURE__ */ jsx172("div", { ref: containerRef, ...trussProps87({
21740
+ /* @__PURE__ */ jsx172("div", { ref: containerRef, ...trussProps88({
21674
21741
  display: "df",
21675
21742
  alignItems: "aic",
21676
21743
  flexGrow: "fg1",
@@ -21701,11 +21768,11 @@ function NavbarUserMenu({
21701
21768
 
21702
21769
  // src/components/Tabs.tsx
21703
21770
  import { camelCase as camelCase7 } from "change-case";
21704
- import { useEffect as useEffect34, useMemo as useMemo49, useRef as useRef54, useState as useState51 } from "react";
21771
+ import { useEffect as useEffect35, useMemo as useMemo49, useRef as useRef54, useState as useState51 } from "react";
21705
21772
  import { mergeProps as mergeProps26, useFocusRing as useFocusRing15, useHover as useHover19 } from "react-aria";
21706
21773
  import { matchPath } from "react-router";
21707
21774
  import { Link as Link5, useLocation as useLocation2 } from "react-router-dom";
21708
- import { trussProps as trussProps88, maybeCssVar as maybeCssVar49 } from "@homebound/truss/runtime";
21775
+ import { trussProps as trussProps89, maybeCssVar as maybeCssVar49 } from "@homebound/truss/runtime";
21709
21776
  import { Fragment as Fragment41, jsx as jsx173, jsxs as jsxs90 } from "react/jsx-runtime";
21710
21777
  function TabsWithContent(props) {
21711
21778
  const styles = hideTabs(props) ? {} : {
@@ -21738,7 +21805,7 @@ function TabContent(props) {
21738
21805
  return (
21739
21806
  // Using FullBleed to allow the tab's bgColor to extend to the edges of the <ScrollableContent /> element.
21740
21807
  // Omit the padding from `FullBleed` if the caller passes in the `paddingLeft/Right` styles.
21741
- /* @__PURE__ */ jsx173(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ jsx173("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...trussProps88(contentXss), children: selectedTab.render() }) })
21808
+ /* @__PURE__ */ jsx173(FullBleed, { omitPadding: omitFullBleedPadding, children: /* @__PURE__ */ jsx173("div", { "aria-labelledby": `${uniqueValue}-tab`, id: `${uniqueValue}-tabPanel`, role: "tabpanel", tabIndex: 0, ...tid.panel, ...trussProps89(contentXss), children: selectedTab.render() }) })
21742
21809
  );
21743
21810
  }
21744
21811
  function Tabs(props) {
@@ -21764,7 +21831,7 @@ function Tabs(props) {
21764
21831
  const tid = useTestIds(others, "tabs");
21765
21832
  const [active, setActive] = useState51(selected);
21766
21833
  const ref = useRef54(null);
21767
- useEffect34(() => setActive(selected), [selected]);
21834
+ useEffect35(() => setActive(selected), [selected]);
21768
21835
  function onKeyUp(e) {
21769
21836
  if (e.key === "ArrowLeft" || e.key === "ArrowRight") {
21770
21837
  const nextTabValue = getNextTabValue(active, e.key, tabs);
@@ -21780,7 +21847,7 @@ function Tabs(props) {
21780
21847
  setActive(selected);
21781
21848
  }
21782
21849
  }
21783
- return /* @__PURE__ */ jsxs90("div", { ...trussProps88({
21850
+ return /* @__PURE__ */ jsxs90("div", { ...trussProps89({
21784
21851
  ...{
21785
21852
  display: "df",
21786
21853
  alignItems: "aic",
@@ -21844,7 +21911,7 @@ function TabImpl(props) {
21844
21911
  role: "tab",
21845
21912
  tabIndex: active ? 0 : -1,
21846
21913
  ...others,
21847
- ...trussProps88({
21914
+ ...trussProps89({
21848
21915
  ...baseStyles5,
21849
21916
  ...active && activeStyles3,
21850
21917
  ...isDisabled && disabledStyles4,
@@ -21965,7 +22032,7 @@ function hideTabs(props) {
21965
22032
  }
21966
22033
 
21967
22034
  // src/components/PageHeader.tsx
21968
- import { trussProps as trussProps89 } from "@homebound/truss/runtime";
22035
+ import { trussProps as trussProps90 } from "@homebound/truss/runtime";
21969
22036
  import { jsx as jsx174, jsxs as jsxs91 } from "react/jsx-runtime";
21970
22037
  function PageHeader2(props) {
21971
22038
  const {
@@ -21975,7 +22042,7 @@ function PageHeader2(props) {
21975
22042
  ...otherProps
21976
22043
  } = props;
21977
22044
  const tid = useTestIds(otherProps, "pageHeader");
21978
- return /* @__PURE__ */ jsxs91("header", { ...tid, ...trussProps89({
22045
+ return /* @__PURE__ */ jsxs91("header", { ...tid, ...trussProps90({
21979
22046
  display: "df",
21980
22047
  flexDirection: "fdc",
21981
22048
  paddingTop: "pt3",
@@ -22001,7 +22068,7 @@ function PageHeader2(props) {
22001
22068
  // src/components/ScrollShadows.tsx
22002
22069
  import { useResizeObserver as useResizeObserver7 } from "@react-aria/utils";
22003
22070
  import { useCallback as useCallback29, useMemo as useMemo50, useRef as useRef55, useState as useState52 } from "react";
22004
- import { trussProps as trussProps90, maybeCssVar as maybeCssVar50 } from "@homebound/truss/runtime";
22071
+ import { trussProps as trussProps91, maybeCssVar as maybeCssVar50 } from "@homebound/truss/runtime";
22005
22072
  import { jsx as jsx175, jsxs as jsxs92 } from "react/jsx-runtime";
22006
22073
  function ScrollShadows(props) {
22007
22074
  const {
@@ -22092,7 +22159,7 @@ function ScrollShadows(props) {
22092
22159
  ref: scrollRef,
22093
22160
  onResize
22094
22161
  });
22095
- return /* @__PURE__ */ jsxs92("div", { ...trussProps90({
22162
+ return /* @__PURE__ */ jsxs92("div", { ...trussProps91({
22096
22163
  display: "df",
22097
22164
  flexDirection: ["fd_var", {
22098
22165
  "--flexDirection": maybeCssVar50(!horizontal ? "column" : "row")
@@ -22108,7 +22175,7 @@ function ScrollShadows(props) {
22108
22175
  width: width2
22109
22176
  }
22110
22177
  }), ...tid, children: [
22111
- /* @__PURE__ */ jsx175("div", { ...trussProps90({
22178
+ /* @__PURE__ */ jsx175("div", { ...trussProps91({
22112
22179
  ...startShadowStyles,
22113
22180
  ...{
22114
22181
  opacity: ["o_var", {
@@ -22116,7 +22183,7 @@ function ScrollShadows(props) {
22116
22183
  }]
22117
22184
  }
22118
22185
  }), "data-chromatic": "ignore" }),
22119
- /* @__PURE__ */ jsx175("div", { ...trussProps90({
22186
+ /* @__PURE__ */ jsx175("div", { ...trussProps91({
22120
22187
  ...endShadowStyles,
22121
22188
  ...{
22122
22189
  opacity: ["o_var", {
@@ -22124,7 +22191,7 @@ function ScrollShadows(props) {
22124
22191
  }]
22125
22192
  }
22126
22193
  }), "data-chromatic": "ignore" }),
22127
- /* @__PURE__ */ jsx175("div", { ...trussProps90({
22194
+ /* @__PURE__ */ jsx175("div", { ...trussProps91({
22128
22195
  ...xss,
22129
22196
  ...{
22130
22197
  overflow: "oa",
@@ -22140,7 +22207,7 @@ import {
22140
22207
  createContext as createContext11,
22141
22208
  useCallback as useCallback30,
22142
22209
  useContext as useContext22,
22143
- useEffect as useEffect35,
22210
+ useEffect as useEffect36,
22144
22211
  useRef as useRef56,
22145
22212
  useState as useState53
22146
22213
  } from "react";
@@ -22173,7 +22240,7 @@ function SideNavLayoutProvider(props) {
22173
22240
  );
22174
22241
  const bp = useBreakpoint();
22175
22242
  const prevMdAndUp = useRef56(bp.mdAndUp);
22176
- useEffect35(() => {
22243
+ useEffect36(() => {
22177
22244
  if (prevMdAndUp.current && !bp.mdAndUp) {
22178
22245
  setNavStateInternal((prev) => prev === "expanded" ? "collapse" : prev);
22179
22246
  }
@@ -22202,7 +22269,7 @@ function useHasSideNavLayoutProvider() {
22202
22269
  }
22203
22270
 
22204
22271
  // src/components/SideNav/SideNav.tsx
22205
- import { trussProps as trussProps91 } from "@homebound/truss/runtime";
22272
+ import { trussProps as trussProps92 } from "@homebound/truss/runtime";
22206
22273
  import { jsx as jsx177, jsxs as jsxs93 } from "react/jsx-runtime";
22207
22274
  function SideNav(props) {
22208
22275
  const {
@@ -22217,7 +22284,7 @@ function SideNav(props) {
22217
22284
  const panelCollapsed = navState === "collapse";
22218
22285
  const hideOnCollapse = panelCollapsed && !allItemsHaveIcons(items);
22219
22286
  return /* @__PURE__ */ jsxs93("nav", { className: "df fdc h100 fs0", ...tid, children: [
22220
- top !== void 0 && /* @__PURE__ */ jsx177("div", { ...trussProps91({
22287
+ top !== void 0 && /* @__PURE__ */ jsx177("div", { ...trussProps92({
22221
22288
  flexShrink: "fs0",
22222
22289
  paddingLeft: "pl2",
22223
22290
  paddingRight: "pr2",
@@ -22228,7 +22295,7 @@ function SideNav(props) {
22228
22295
  paddingBottom: "pb4"
22229
22296
  } : {}
22230
22297
  }), ...tid.top, children: top }),
22231
- /* @__PURE__ */ jsx177("div", { ...trussProps91({
22298
+ /* @__PURE__ */ jsx177("div", { ...trussProps92({
22232
22299
  flexGrow: "fg1",
22233
22300
  overflowY: "oya",
22234
22301
  display: "df",
@@ -22241,7 +22308,7 @@ function SideNav(props) {
22241
22308
  paddingTop: "pt5"
22242
22309
  } : {}
22243
22310
  }), ...tid.items, children: !hideOnCollapse && /* @__PURE__ */ jsx177(AppNavItems, { items, panelCollapsed }) }),
22244
- footer !== void 0 && /* @__PURE__ */ jsx177("div", { ...trussProps91({
22311
+ footer !== void 0 && /* @__PURE__ */ jsx177("div", { ...trussProps92({
22245
22312
  flexShrink: "fs0",
22246
22313
  paddingLeft: "pl2",
22247
22314
  paddingRight: "pr2",
@@ -22257,7 +22324,7 @@ function SideNav(props) {
22257
22324
  }
22258
22325
 
22259
22326
  // src/components/Snackbar/useSnackbar.tsx
22260
- import { useCallback as useCallback31, useEffect as useEffect36 } from "react";
22327
+ import { useCallback as useCallback31, useEffect as useEffect37 } from "react";
22261
22328
  function useSnackbar() {
22262
22329
  const { setNotices, setOffset } = useSnackbarContext();
22263
22330
  const onClose = useCallback31(
@@ -22307,7 +22374,7 @@ function useSnackbar() {
22307
22374
  [onClose, setNotices]
22308
22375
  );
22309
22376
  const closeNotice = useCallback31((id) => onClose(id), [onClose]);
22310
- const useSnackbarOffset = ({ bottom }) => useEffect36(() => {
22377
+ const useSnackbarOffset = ({ bottom }) => useEffect37(() => {
22311
22378
  setOffset({ bottom });
22312
22379
  return () => setOffset({});
22313
22380
  }, [bottom]);
@@ -22318,7 +22385,7 @@ var snackbarId = 1;
22318
22385
  // src/components/Stepper.tsx
22319
22386
  import { useRef as useRef57 } from "react";
22320
22387
  import { useButton as useButton12, useFocusRing as useFocusRing16, useHover as useHover20 } from "react-aria";
22321
- import { trussProps as trussProps92, maybeCssVar as maybeCssVar51 } from "@homebound/truss/runtime";
22388
+ import { trussProps as trussProps93, maybeCssVar as maybeCssVar51 } from "@homebound/truss/runtime";
22322
22389
  import { jsx as jsx178, jsxs as jsxs94 } from "react/jsx-runtime";
22323
22390
  import { createElement as createElement4 } from "react";
22324
22391
  var __maybeInc15 = (inc) => {
@@ -22339,7 +22406,7 @@ function Stepper(props) {
22339
22406
  const minStepWidth = 100;
22340
22407
  const gap = 8;
22341
22408
  return /* @__PURE__ */ jsxs94("nav", { "aria-label": "steps", className: "df fdc w100", ...tid, children: [
22342
- /* @__PURE__ */ jsx178("ol", { ...trussProps92({
22409
+ /* @__PURE__ */ jsx178("ol", { ...trussProps93({
22343
22410
  padding: "p_0",
22344
22411
  margin: "m_0",
22345
22412
  listStyle: "lis_none",
@@ -22349,7 +22416,7 @@ function Stepper(props) {
22349
22416
  }]
22350
22417
  }), children: steps.map((step) => {
22351
22418
  const isCurrent = currentStep === step.value;
22352
- return /* @__PURE__ */ createElement4("li", { ...trussProps92({
22419
+ return /* @__PURE__ */ createElement4("li", { ...trussProps93({
22353
22420
  display: "df",
22354
22421
  flexGrow: "fg1",
22355
22422
  flexDirection: "fdc",
@@ -22361,7 +22428,7 @@ function Stepper(props) {
22361
22428
  }]
22362
22429
  }), key: step.label, "aria-current": isCurrent, ...tid.step }, /* @__PURE__ */ jsx178(StepButton, { ...step, onClick: () => onChange(step.value), isCurrent, ...tid.stepButton }));
22363
22430
  }) }),
22364
- /* @__PURE__ */ jsx178("div", { ...trussProps92({
22431
+ /* @__PURE__ */ jsx178("div", { ...trussProps93({
22365
22432
  marginTop: "mt1",
22366
22433
  backgroundColor: "bgGray300",
22367
22434
  height: "h_4px",
@@ -22372,7 +22439,7 @@ function Stepper(props) {
22372
22439
  "--minWidth": `${steps.length * minStepWidth + (steps.length - 1) * gap}px`
22373
22440
  }],
22374
22441
  width: "w100"
22375
- }), children: /* @__PURE__ */ jsx178("div", { ...trussProps92({
22442
+ }), children: /* @__PURE__ */ jsx178("div", { ...trussProps93({
22376
22443
  backgroundColor: "bgBlue600",
22377
22444
  transition: "transition_width_200ms",
22378
22445
  height: "h100",
@@ -22413,7 +22480,7 @@ function StepButton(props) {
22413
22480
  boxShadow: "bshFocus"
22414
22481
  };
22415
22482
  const tid = useTestIds(props, "stepButton");
22416
- return /* @__PURE__ */ jsxs94("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...trussProps92({
22483
+ return /* @__PURE__ */ jsxs94("button", { ref, ...buttonProps, ...focusProps, ...hoverProps, ...trussProps93({
22417
22484
  ...{
22418
22485
  fontWeight: "fw6",
22419
22486
  fontSize: "fz_14px",
@@ -22481,7 +22548,7 @@ function StepIcon({
22481
22548
  if (state === "complete") {
22482
22549
  return /* @__PURE__ */ jsx178(Icon, { icon: "check" });
22483
22550
  }
22484
- return /* @__PURE__ */ jsx178("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ jsx178("div", { ...trussProps92({
22551
+ return /* @__PURE__ */ jsx178("div", { className: "w_24px h_24px df aic jcc", children: /* @__PURE__ */ jsx178("div", { ...trussProps93({
22485
22552
  width: "w_10px",
22486
22553
  height: "h_10px",
22487
22554
  borderStyle: "bss",
@@ -22496,7 +22563,7 @@ function StepIcon({
22496
22563
 
22497
22564
  // src/components/SuperDrawer/components/SuperDrawerHeader.tsx
22498
22565
  import { createPortal as createPortal7 } from "react-dom";
22499
- import { trussProps as trussProps93 } from "@homebound/truss/runtime";
22566
+ import { trussProps as trussProps94 } from "@homebound/truss/runtime";
22500
22567
  import { jsx as jsx179, jsxs as jsxs95 } from "react/jsx-runtime";
22501
22568
  function SuperDrawerHeader(props) {
22502
22569
  const {
@@ -22522,7 +22589,7 @@ function SuperDrawerHeader(props) {
22522
22589
  ] }),
22523
22590
  props.right && /* @__PURE__ */ jsx179("div", { className: "fs0", children: props.right })
22524
22591
  ] }) : /* @__PURE__ */ jsx179("div", { className: "fg1", children: props.children }),
22525
- !hideControls && /* @__PURE__ */ jsx179("div", { ...trussProps93({
22592
+ !hideControls && /* @__PURE__ */ jsx179("div", { ...trussProps94({
22526
22593
  flexShrink: "fs0",
22527
22594
  ...isDetail ? {
22528
22595
  visibility: "vh"
@@ -22795,7 +22862,7 @@ function useToast() {
22795
22862
  }
22796
22863
 
22797
22864
  // src/layouts/SideNavLayout/SideNavLayout.tsx
22798
- import { trussProps as trussProps94, maybeCssVar as maybeCssVar52 } from "@homebound/truss/runtime";
22865
+ import { trussProps as trussProps95, maybeCssVar as maybeCssVar52 } from "@homebound/truss/runtime";
22799
22866
  import { jsx as jsx183, jsxs as jsxs98 } from "react/jsx-runtime";
22800
22867
  function SideNavLayout(props) {
22801
22868
  const hasProvider = useHasSideNavLayoutProvider();
@@ -22820,7 +22887,7 @@ function SideNavLayoutContent(props) {
22820
22887
  const railCollapsedWidthPx = 56;
22821
22888
  const collapsed = navState === "collapse";
22822
22889
  const showRail = sideNav !== void 0 && navState !== "hidden";
22823
- const rail = showRail && /* @__PURE__ */ jsxs98("div", { ...trussProps94({
22890
+ const rail = showRail && /* @__PURE__ */ jsxs98("div", { ...trussProps95({
22824
22891
  ...{
22825
22892
  position: "absolute",
22826
22893
  top: "top0",