@homebound/beam 3.42.4 → 3.44.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/Css.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "increment": 8,
3
3
  "breakpoints": {"ifPrint":"@media print","ifSm":"@media screen and (max-width: 599px)","ifMd":"@media screen and (min-width: 600px) and (max-width: 1024px)","ifSmOrMd":"@media screen and (max-width: 1024px)","ifMdAndUp":"@media screen and (min-width: 600px)","ifMdAndDown":"@media screen and (max-width: 1024px)","ifLg":"@media screen and (min-width: 1025px)","ifMdOrLg":"@media screen and (min-width: 600px)"},
4
4
  "typography": ["xs2","xs2Sb","xs","xsSb","sm","smSb","md","mdSb","lg","xl","xl2"],
5
- "tokens": {"ButtonCautionDisabledBg":"--b-button-caution-disabled-bg","ButtonCautionDisabledFg":"--b-button-caution-disabled-fg","ButtonDangerDisabledBg":"--b-button-danger-disabled-bg","ButtonDangerDisabledFg":"--b-button-danger-disabled-fg","ButtonGhostDisabledFg":"--b-button-ghost-disabled-fg","ButtonGhostFg":"--b-button-ghost-fg","ButtonPrimaryDisabledBg":"--b-button-primary-disabled-bg","ButtonPrimaryDisabledFg":"--b-button-primary-disabled-fg","ButtonTertiaryFg":"--b-button-tertiary-fg","ButtonTertiaryFgPressed":"--b-button-tertiary-fg-pressed","Danger":"--b-danger","DangerPressed":"--b-danger-pressed","EnvBrandDev":"--b-env-brand-dev","EnvBrandLocalProd":"--b-env-brand-local-prod","EnvBrandProd":"--b-env-brand-prod","EnvBrandQa":"--b-env-brand-qa","FieldBgDefault":"--b-field-bg-default","FieldBgDisabled":"--b-field-bg-disabled","FieldBgHover":"--b-field-bg-hover","FieldBorderDefault":"--b-field-border-default","FieldBorderError":"--b-field-border-error","FieldBorderFocus":"--b-field-border-focus","FieldBorderHover":"--b-field-border-hover","FieldTextDisabled":"--b-field-text-disabled","FocusRingInset":"--b-focus-ring-inset","FocusRingMuted":"--b-focus-ring-muted","ListRowBgHover":"--b-list-row-bg-hover","LoaderFill":"--b-loader-fill","LoaderSpinner":"--b-loader-spinner","LoaderTrack":"--b-loader-track","MenuItemBgHover":"--b-menu-item-bg-hover","NavItemBgActive":"--b-nav-item-bg-active","NavItemBgHover":"--b-nav-item-bg-hover","NavItemBgPressed":"--b-nav-item-bg-pressed","NavText":"--b-nav-text","NavTextActive":"--b-nav-text-active","NavTextDisabled":"--b-nav-text-disabled","NavTextFocusVisible":"--b-nav-text-focus-visible","NavTextPressed":"--b-nav-text-pressed","NeutralFillHoverStrong":"--b-neutral-fill-hover-strong","NeutralFillHoverSubtle":"--b-neutral-fill-hover-subtle","NeutralFillPressed":"--b-neutral-fill-pressed","NeutralSurfacePressed":"--b-neutral-surface-pressed","OnPrimary":"--b-on-primary","OnSurface":"--b-on-surface","OnSurfaceMuted":"--b-on-surface-muted","OnSurfaceSubtle":"--b-on-surface-subtle","PopoverSurface":"--b-popover-surface","Primary":"--b-primary","PrimaryHover":"--b-primary-hover","PrimaryPressed":"--b-primary-pressed","Scrim":"--b-scrim","SelectionIndicator":"--b-selection-indicator","StatusSuccessFg":"--b-status-success-fg","Surface":"--b-surface","SurfaceSeparator":"--b-surface-separator","SurfaceSubtle":"--b-surface-subtle","TextDisabled":"--b-text-disabled","TextHelper":"--b-text-helper","TextLabel":"--b-text-label","TextLinkDefault":"--b-text-link-default","TextLinkDisabled":"--b-text-link-disabled","TextLinkHover":"--b-text-link-hover","TextLinkPressed":"--b-text-link-pressed","TextPlaceholder":"--b-text-placeholder","TextSelection":"--b-text-selection"},
5
+ "tokens": {"ButtonCautionDisabledBg":"--b-button-caution-disabled-bg","ButtonCautionDisabledFg":"--b-button-caution-disabled-fg","ButtonDangerDisabledBg":"--b-button-danger-disabled-bg","ButtonDangerDisabledFg":"--b-button-danger-disabled-fg","ButtonGhostDisabledFg":"--b-button-ghost-disabled-fg","ButtonGhostFg":"--b-button-ghost-fg","ButtonPrimaryDisabledBg":"--b-button-primary-disabled-bg","ButtonPrimaryDisabledFg":"--b-button-primary-disabled-fg","ButtonTertiaryFg":"--b-button-tertiary-fg","ButtonTertiaryFgPressed":"--b-button-tertiary-fg-pressed","Danger":"--b-danger","DangerPressed":"--b-danger-pressed","EnvBrandDev":"--b-env-brand-dev","EnvBrandLocalProd":"--b-env-brand-local-prod","EnvBrandProd":"--b-env-brand-prod","EnvBrandQa":"--b-env-brand-qa","FieldBgDefault":"--b-field-bg-default","FieldBgDisabled":"--b-field-bg-disabled","FieldBgHover":"--b-field-bg-hover","FieldBorderDefault":"--b-field-border-default","FieldBorderError":"--b-field-border-error","FieldBorderFocus":"--b-field-border-focus","FieldBorderHover":"--b-field-border-hover","FieldTextDisabled":"--b-field-text-disabled","FocusRingInset":"--b-focus-ring-inset","FocusRingMuted":"--b-focus-ring-muted","ListRowBgHover":"--b-list-row-bg-hover","LoaderFill":"--b-loader-fill","LoaderSpinner":"--b-loader-spinner","LoaderTrack":"--b-loader-track","MenuItemBgHover":"--b-menu-item-bg-hover","NavItemBgActive":"--b-nav-item-bg-active","NavItemBgHover":"--b-nav-item-bg-hover","NavItemBgPressed":"--b-nav-item-bg-pressed","NavText":"--b-nav-text","NavTextActive":"--b-nav-text-active","NavTextDisabled":"--b-nav-text-disabled","NavTextFocusVisible":"--b-nav-text-focus-visible","NavTextPressed":"--b-nav-text-pressed","NeutralFillHoverStrong":"--b-neutral-fill-hover-strong","NeutralFillHoverSubtle":"--b-neutral-fill-hover-subtle","NeutralFillPressed":"--b-neutral-fill-pressed","NeutralSurfacePressed":"--b-neutral-surface-pressed","OnPrimary":"--b-on-primary","OnSurface":"--b-on-surface","OnSurfaceMuted":"--b-on-surface-muted","OnSurfaceSubtle":"--b-on-surface-subtle","OnSurfaceDisabled":"--b-on-surface-disabled","OnSurfaceRaisedHover":"--b-on-surface-raised-hover","OnSurfaceRaisedPressed":"--b-on-surface-raised-pressed","PopoverSurface":"--b-popover-surface","Primary":"--b-primary","PrimaryHover":"--b-primary-hover","PrimaryPressed":"--b-primary-pressed","Scrim":"--b-scrim","SelectionIndicator":"--b-selection-indicator","StatusSuccessFg":"--b-status-success-fg","Surface":"--b-surface","SurfaceRaised":"--b-surface-raised","SurfaceRaisedHover":"--b-surface-raised-hover","SurfaceRaisedPressed":"--b-surface-raised-pressed","SurfaceDisabled":"--b-surface-disabled","SurfaceSeparator":"--b-surface-separator","SurfaceSubtle":"--b-surface-subtle","TextDisabled":"--b-text-disabled","TextHelper":"--b-text-helper","TextLabel":"--b-text-label","TextLinkDefault":"--b-text-link-default","TextLinkDisabled":"--b-text-link-disabled","TextLinkHover":"--b-text-link-hover","TextLinkPressed":"--b-text-link-pressed","TextPlaceholder":"--b-text-placeholder","TextSelection":"--b-text-selection"},
6
6
  "abbreviations": {
7
7
  "ba": {"kind":"static","defs":{"borderStyle":"solid","borderWidth":"1px"}},
8
8
  "bt": {"kind":"static","defs":{"borderTopStyle":"solid","borderTopWidth":"1px"}},
package/dist/index.cjs CHANGED
@@ -428,6 +428,9 @@ var Tokens = /* @__PURE__ */ ((Tokens2) => {
428
428
  Tokens2["OnSurface"] = "--b-on-surface";
429
429
  Tokens2["OnSurfaceMuted"] = "--b-on-surface-muted";
430
430
  Tokens2["OnSurfaceSubtle"] = "--b-on-surface-subtle";
431
+ Tokens2["OnSurfaceDisabled"] = "--b-on-surface-disabled";
432
+ Tokens2["OnSurfaceRaisedHover"] = "--b-on-surface-raised-hover";
433
+ Tokens2["OnSurfaceRaisedPressed"] = "--b-on-surface-raised-pressed";
431
434
  Tokens2["PopoverSurface"] = "--b-popover-surface";
432
435
  Tokens2["Primary"] = "--b-primary";
433
436
  Tokens2["PrimaryHover"] = "--b-primary-hover";
@@ -436,6 +439,10 @@ var Tokens = /* @__PURE__ */ ((Tokens2) => {
436
439
  Tokens2["SelectionIndicator"] = "--b-selection-indicator";
437
440
  Tokens2["StatusSuccessFg"] = "--b-status-success-fg";
438
441
  Tokens2["Surface"] = "--b-surface";
442
+ Tokens2["SurfaceRaised"] = "--b-surface-raised";
443
+ Tokens2["SurfaceRaisedHover"] = "--b-surface-raised-hover";
444
+ Tokens2["SurfaceRaisedPressed"] = "--b-surface-raised-pressed";
445
+ Tokens2["SurfaceDisabled"] = "--b-surface-disabled";
439
446
  Tokens2["SurfaceSeparator"] = "--b-surface-separator";
440
447
  Tokens2["SurfaceSubtle"] = "--b-surface-subtle";
441
448
  Tokens2["TextDisabled"] = "--b-text-disabled";
@@ -5827,7 +5834,8 @@ function IconButton(props) {
5827
5834
  download = false,
5828
5835
  forceFocusStyles = false,
5829
5836
  label,
5830
- preventTooltip = false
5837
+ preventTooltip = false,
5838
+ __storyState
5831
5839
  } = props;
5832
5840
  const isDisabled = !!disabled;
5833
5841
  const ariaProps = {
@@ -5838,20 +5846,25 @@ function IconButton(props) {
5838
5846
  };
5839
5847
  const ref = useGetRef(buttonRef);
5840
5848
  const {
5841
- buttonProps
5849
+ buttonProps,
5850
+ isPressed: isPressedFromEvents
5842
5851
  } = (0, import_react_aria2.useButton)({
5843
5852
  ...ariaProps,
5844
5853
  onPress: typeof onPress === "string" ? noop : onPress,
5845
5854
  elementType: typeof onPress === "string" ? "a" : "button"
5846
5855
  }, ref);
5856
+ const isPressed = __storyState?.pressed ?? isPressedFromEvents;
5857
+ const isPressing = isPressed || active;
5847
5858
  const {
5848
5859
  focusProps,
5849
- isFocusVisible
5860
+ isFocusVisible: isFocusVisibleFromEvents
5850
5861
  } = (0, import_react_aria2.useFocusRing)(ariaProps);
5851
5862
  const {
5852
5863
  hoverProps,
5853
- isHovered
5864
+ isHovered: isHoveredFromEvents
5854
5865
  } = (0, import_react_aria2.useHover)(ariaProps);
5866
+ const isHovered = __storyState?.hovered ?? isHoveredFromEvents;
5867
+ const isFocusVisible = __storyState?.focusVisible ?? isFocusVisibleFromEvents;
5855
5868
  const testIds = useTestIds(props, icon);
5856
5869
  const isCircle = variant === "circle";
5857
5870
  const isOutline = variant === "outline";
@@ -5868,7 +5881,7 @@ function IconButton(props) {
5868
5881
  ...base,
5869
5882
  ...isHovered && hover,
5870
5883
  ...(isFocusVisible || forceFocusStyles) && focus,
5871
- ...active && pressed,
5884
+ ...isPressing && pressed,
5872
5885
  ...isDisabled && iconButtonStylesDisabled,
5873
5886
  ...bgColor && {
5874
5887
  backgroundColor: ["bgColor_var", {
@@ -5876,7 +5889,7 @@ function IconButton(props) {
5876
5889
  }]
5877
5890
  }
5878
5891
  };
5879
- }, [isHovered, isFocusVisible, isDisabled, compact, isCircle, isOutline, active, bgColor, forceFocusStyles]);
5892
+ }, [isHovered, isFocusVisible, isDisabled, compact, isCircle, isOutline, isPressing, bgColor, forceFocusStyles]);
5880
5893
  const iconColor = isCircle ? circleIconColor : defaultIconColor;
5881
5894
  const buttonAttrs = {
5882
5895
  ...testIds,
@@ -5887,7 +5900,7 @@ function IconButton(props) {
5887
5900
  ...(0, import_runtime9.mergeProps)(typeof onPress === "string" ? navLink : void 0, void 0, styles),
5888
5901
  "aria-label": label
5889
5902
  };
5890
- 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 });
5903
+ const buttonContent = /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Icon, { icon, color: color || (isDisabled ? "--b-on-surface-disabled" /* OnSurfaceDisabled */ : isOutline && isPressing ? "--b-on-surface-raised-pressed" /* OnSurfaceRaisedPressed */ : isOutline && isHovered ? "--b-on-surface-raised-hover" /* OnSurfaceRaisedHover */ : isCircle && (isHovered || active || isFocusVisible) ? defaultIconColor : iconColor), bgColor, inc: compact ? 2 : isCircle ? 2.5 : inc });
5891
5904
  return maybeTooltip({
5892
5905
  title: resolveTooltip(disabled ?? (preventTooltip ? void 0 : label), tooltip),
5893
5906
  placement: "top",
@@ -5908,7 +5921,10 @@ var iconButtonStylesReset = {
5908
5921
  transition: "transition"
5909
5922
  };
5910
5923
  var iconButtonStylesDisabled = {
5911
- cursor: "cursorNotAllowed"
5924
+ cursor: "cursorNotAllowed",
5925
+ backgroundColor: ["bgColor_var", {
5926
+ "--backgroundColor": "var(--b-surface-disabled)"
5927
+ }]
5912
5928
  };
5913
5929
  var variantStyles = {
5914
5930
  default: {
@@ -5983,26 +5999,28 @@ var variantStyles = {
5983
5999
  borderRadius: "br8",
5984
6000
  width: "w_42px",
5985
6001
  height: "h_40px",
5986
- backgroundColor: ["bgColor_var", {
5987
- "--backgroundColor": "var(--b-surface)"
5988
- }],
5989
6002
  borderColor: "bcGray300",
5990
6003
  borderStyle: "bss",
5991
6004
  borderWidth: "bw1",
5992
6005
  display: "df",
5993
6006
  justifyContent: "jcc",
5994
- alignItems: "aic"
6007
+ alignItems: "aic",
6008
+ backgroundColor: ["bgColor_var", {
6009
+ "--backgroundColor": "var(--b-surface-raised)"
6010
+ }]
5995
6011
  },
5996
6012
  hover: {
5997
6013
  backgroundColor: ["bgColor_var", {
5998
- "--backgroundColor": "var(--b-neutral-fill-hover-strong)"
6014
+ "--backgroundColor": "var(--b-surface-raised-hover)"
5999
6015
  }]
6000
6016
  },
6001
6017
  focus: {
6002
6018
  boxShadow: "bshFocus"
6003
6019
  },
6004
6020
  pressed: {
6005
- backgroundColor: "bgGray200"
6021
+ backgroundColor: ["bgColor_var", {
6022
+ "--backgroundColor": "var(--b-surface-raised-pressed)"
6023
+ }]
6006
6024
  }
6007
6025
  }
6008
6026
  };
@@ -20984,7 +21002,7 @@ function FilterPanelOpen({
20984
21002
  }), children: [
20985
21003
  groupBy && /* @__PURE__ */ (0, import_jsx_runtime148.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) }),
20986
21004
  filterControls,
20987
- activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: onClear, ...tid.clearBtn })
21005
+ activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: () => maybeCall(onClear), ...tid.clearBtn })
20988
21006
  ] });
20989
21007
  }
20990
21008
  function FilterPanelClosed({
@@ -21009,7 +21027,7 @@ function FilterPanelClosed({
21009
21027
  } : {}
21010
21028
  }), children: [
21011
21029
  chips,
21012
- /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: onClear, ...tid.clearBtn })
21030
+ /* @__PURE__ */ (0, import_jsx_runtime148.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: () => maybeCall(onClear), ...tid.clearBtn })
21013
21031
  ] });
21014
21032
  }
21015
21033
  function buildFilterControls(filterImpls, filter, setFilter, testId) {
@@ -21053,7 +21071,9 @@ function GridTableLayoutActionsComponent(props) {
21053
21071
  api,
21054
21072
  withCardView,
21055
21073
  view,
21056
- setView
21074
+ setView,
21075
+ clearFilters,
21076
+ searchApi
21057
21077
  } = props;
21058
21078
  const testId = useTestIds(props, "gridTableLayoutActions");
21059
21079
  const {
@@ -21084,6 +21104,17 @@ function GridTableLayoutActionsComponent(props) {
21084
21104
  setSearchValue(v ?? "");
21085
21105
  handleSearchDebounced(v ?? "");
21086
21106
  }, placeholder: "Search", clearable: true, fullWidth: true, startAdornment: /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(Icon, { icon: "search", color: "rgba(100, 100, 100, 1)" /* Gray700 */ }) });
21107
+ if (searchApi) {
21108
+ searchApi.current = {
21109
+ clear: () => {
21110
+ handleSearchDebounced.cancel();
21111
+ setSearchValue("");
21112
+ setQueryParams({
21113
+ search: void 0
21114
+ }, "replaceIn");
21115
+ }
21116
+ };
21117
+ }
21087
21118
  return /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)("div", { className: "df fdc gap1 pb2", children: [
21088
21119
  /* @__PURE__ */ (0, import_jsx_runtime149.jsxs)("div", { ...(0, import_runtime79.trussProps)({
21089
21120
  display: "df",
@@ -21110,7 +21141,7 @@ function GridTableLayoutActionsComponent(props) {
21110
21141
  ] })
21111
21142
  ] }),
21112
21143
  sm && showSearch && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)("div", { className: "pl3 pr3", children: searchTextField }),
21113
- hasFilters && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(FilterPanel, { isOpen: showFilters, groupBy, filterImpls, filter, setFilter, onClear: () => setFilter?.({}) })
21144
+ hasFilters && /* @__PURE__ */ (0, import_jsx_runtime149.jsx)(FilterPanel, { isOpen: showFilters, groupBy, filterImpls, filter, setFilter, onClear: clearFilters })
21114
21145
  ] });
21115
21146
  }
21116
21147
  var _GridTableLayoutActions = (0, import_react107.memo)(GridTableLayoutActionsComponent);
@@ -21274,8 +21305,13 @@ function GridTableLayoutComponent(props) {
21274
21305
  const filterSearchProps = (0, import_react110.useMemo)(() => layoutState?.search ? {
21275
21306
  onSearch: layoutState.setSearchString
21276
21307
  } : void 0, [layoutState?.search, layoutState?.setSearchString]);
21277
- const emptyState = (0, import_react110.useMemo)(() => composeEmptyState(tableProps, layoutState, layoutEmptyFallback), [layoutEmptyFallback, layoutState, tableProps]);
21278
- const tableActionsEl = /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(_GridTableLayoutActions, { filterDefs: layoutState?.filterDefs, filter: layoutState?.filter, setFilter: layoutState?.setFilter, groupBy: layoutState?.groupBy, searchProps: filterSearchProps, hasHideableColumns, columns, api, withCardView, view, setView });
21308
+ const searchApiRef = (0, import_react110.useRef)();
21309
+ const clearFilters = (0, import_react110.useCallback)(() => {
21310
+ layoutState?.clearFilters();
21311
+ searchApiRef.current?.clear();
21312
+ }, [layoutState]);
21313
+ const emptyState = (0, import_react110.useMemo)(() => composeEmptyState(tableProps, layoutState, layoutEmptyFallback, clearFilters), [layoutEmptyFallback, layoutState, tableProps, clearFilters]);
21314
+ const tableActionsEl = /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(_GridTableLayoutActions, { filterDefs: layoutState?.filterDefs, filter: layoutState?.filter, setFilter: layoutState?.setFilter, groupBy: layoutState?.groupBy, searchProps: filterSearchProps, hasHideableColumns, columns, api, withCardView, view, setView, clearFilters, searchApi: searchApiRef });
21279
21315
  const cardAs = withCardView && view === "card" ? "card" : void 0;
21280
21316
  const tableBody = /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(import_jsx_runtime152.Fragment, { children: isGridTableProps(tableProps) ? /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(GridTable, { ...tableProps, ...cardAs ? {
21281
21317
  as: cardAs
@@ -21365,7 +21401,7 @@ function useGridTableLayoutState({
21365
21401
  clearFilters
21366
21402
  };
21367
21403
  }
21368
- function composeEmptyState(tableProps, layoutState, layoutEmptyFallback) {
21404
+ function composeEmptyState(tableProps, layoutState, layoutEmptyFallback, clearFilters) {
21369
21405
  const tableEmptyState = "emptyState" in tableProps ? tableProps.emptyState : void 0;
21370
21406
  const tableEmptyFallback = "emptyFallback" in tableProps ? tableProps.emptyFallback : void 0;
21371
21407
  const filteringActive = layoutState?.filteringActive ?? false;
@@ -21373,7 +21409,7 @@ function composeEmptyState(tableProps, layoutState, layoutEmptyFallback) {
21373
21409
  return {
21374
21410
  title: tableEmptyState?.title ?? tableEmptyFallback ?? layoutEmptyFallback,
21375
21411
  description: tableEmptyState?.description ?? (filteringActive ? filterEmptyDescription : void 0),
21376
- actions: tableEmptyState?.actions ?? (filteringActive && layoutState ? /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(Button, { label: "Clear Filters", variant: "tertiary", onClick: layoutState.clearFilters, "data-testid": "clearFilters" }) : void 0)
21412
+ actions: tableEmptyState?.actions ?? (filteringActive && layoutState ? /* @__PURE__ */ (0, import_jsx_runtime152.jsx)(Button, { label: "Clear Filters", variant: "tertiary", onClick: clearFilters, "data-testid": "clearFilters" }) : void 0)
21377
21413
  };
21378
21414
  }
21379
21415
  function useSetTableActionsHeight(tableWrapperRef, tableActionsRef, enabled) {
@@ -23568,7 +23604,9 @@ function Navbar(props) {
23568
23604
  } = useContentOverflow(!sm);
23569
23605
  const showMobile = sm || overflows;
23570
23606
  return /* @__PURE__ */ (0, import_jsx_runtime180.jsx)(ContrastScope, { children: /* @__PURE__ */ (0, import_jsx_runtime180.jsxs)("nav", { ...(0, import_runtime100.trussProps)({
23571
- backgroundColor: "bgGray800",
23607
+ backgroundColor: ["bgColor_var", {
23608
+ "--backgroundColor": "var(--b-surface-raised)"
23609
+ }],
23572
23610
  flexShrink: "fs0",
23573
23611
  display: "df",
23574
23612
  alignItems: "aic",