@homebound/beam 2.413.0 → 2.414.0-alpha.2

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
@@ -6697,7 +6697,7 @@ function Button(props) {
6697
6697
  // Default the icon based on other properties.
6698
6698
  icon = download ? "download" : showExternalLinkIcon ? "linkExternal" : void 0,
6699
6699
  variant = "primary",
6700
- size = "sm",
6700
+ size = "md",
6701
6701
  buttonRef
6702
6702
  } = ariaProps;
6703
6703
  const ref = useGetRef(buttonRef);
@@ -6835,7 +6835,7 @@ var variantStyles = (contrast) => ({
6835
6835
  });
6836
6836
  var sizeStyles = {
6837
6837
  sm: Css.hPx(32).pxPx(12).$,
6838
- md: Css.hPx(40).px1.$,
6838
+ md: Css.hPx(40).px2.$,
6839
6839
  lg: Css.hPx(48).px3.$
6840
6840
  };
6841
6841
  var iconStyles = {
@@ -8267,10 +8267,10 @@ function RowImpl(props) {
8267
8267
  const maybeSticky = (isGridCellContent(maybeContent) && maybeContent.sticky || column2.sticky) ?? void 0;
8268
8268
  const maybeStickyColumnStyles = maybeSticky && columnSizes ? {
8269
8269
  ...Css.sticky.z(zIndices.stickyColumns).bgWhite.$,
8270
- ...maybeSticky === "left" ? Css.left(columnIndex === 0 ? 0 : `calc(${columnSizes.slice(0, columnIndex).join(" + ")})`).$ : {},
8271
- ...maybeSticky === "right" ? Css.right(
8272
- columnIndex + 1 === columnSizes.length ? 0 : `calc(${columnSizes.slice(columnIndex + 1 - columnSizes.length).join(" + ")})`
8273
- ).$ : {}
8270
+ // For flex layouts, all sticky columns should have left/right: 0
8271
+ // The flex layout handles their adjacency based on their widths
8272
+ ...maybeSticky === "left" ? Css.left(0).$ : {},
8273
+ ...maybeSticky === "right" ? Css.right(0).$ : {}
8274
8274
  } : {};
8275
8275
  minStickyLeftOffset += maybeSticky === "left" ? parseInt(columnSizes[columnIndex].replace("px", ""), 10) : 0;
8276
8276
  const cellId = `${row.kind}_${row.id}_${column2.id}`;
@@ -8466,7 +8466,7 @@ function TextFieldBase(props) {
8466
8466
  const fieldStyles = {
8467
8467
  container: Css.df.fdc.w100.maxw(fieldMaxWidth).relative.if(labelStyle === "left").maxw100.fdr.gap2.jcsb.aic.$,
8468
8468
  inputWrapper: {
8469
- ...Css[typeScale].df.aic.br4.pxPx(textFieldBasePadding).w100.bgColor(bgColor).gray900.if(contrast && !inputStylePalette).white.if(labelStyle === "left").w(labelLeftFieldWidth).$,
8469
+ ...Css[typeScale].df.aic.br8.pxPx(textFieldBasePadding).w100.bgColor(bgColor).gray900.if(contrast && !inputStylePalette).white.if(labelStyle === "left").w(labelLeftFieldWidth).$,
8470
8470
  // When borderless then perceived vertical alignments are misaligned. As there is no longer a border, then the field looks oddly indented.
8471
8471
  // This typically happens in tables when a column has a mix of static text (i.e. "roll up" rows and table headers) and input fields.
8472
8472
  // To remedy this perceived misalignment then we increase the width by the horizontal padding applied (16px), and set a negative margin left margin to re-center the field.
@@ -8490,16 +8490,14 @@ function TextFieldBase(props) {
8490
8490
  ...labelStyle === "hidden" && Css.mhPx(fieldHeight - maybeSmaller).if(compact).mhPx(compactFieldHeight - maybeSmaller).$
8491
8491
  },
8492
8492
  input: {
8493
- ...Css.w100.mw0.outline0.fg1.bgColor(bgColor).$,
8493
+ ...Css.w100.mw0.outline0.fg1.bgTransparent.$,
8494
8494
  // Not using Truss's inline `if` statement here because `addIn` properties do not respect the if statement.
8495
8495
  ...contrast && !inputStylePalette && Css.addIn("&::selection", Css.bgGray800.$).$,
8496
- // Make the background transparent when highlighting the field on hover
8497
- ...borderOnHover && Css.bgTransparent.$,
8498
8496
  // For "multiline" fields we add top and bottom padding of 7px for compact, or 11px for non-compact, to properly match the height of the single line fields
8499
8497
  ...multiline ? Css.br4.pyPx(compact ? 7 : textFieldBaseMultilineTopPadding).add("resize", "none").$ : Css.truncate.$
8500
8498
  },
8501
8499
  hover: Css.bgColor(hoverBgColor).if(contrast).bcGray600.$,
8502
- focus: Css.bcBlue700.if(contrast).bcBlue500.if(borderOnHover).bgColor(hoverBgColor).bcBlue500.$,
8500
+ focus: Css.bcBlue700.bgColor(hoverBgColor).if(contrast).bcBlue500.if(borderOnHover).bcBlue500.$,
8503
8501
  disabled: visuallyDisabled ? Css.cursorNotAllowed.gray600.bgColor(disabledBgColor).if(contrast).gray500.$ : Css.cursorNotAllowed.$,
8504
8502
  error: Css.bcRed600.if(contrast).bcRed400.$
8505
8503
  };
@@ -14245,7 +14243,7 @@ var variantStyles2 = {
14245
14243
  };
14246
14244
 
14247
14245
  // src/components/BeamContext.tsx
14248
- import { createContext as createContext6, useContext as useContext16, useMemo as useMemo38, useReducer, useRef as useRef47 } from "react";
14246
+ import { createContext as createContext6, useContext as useContext16, useMemo as useMemo38, useReducer, useRef as useRef46 } from "react";
14249
14247
  import { OverlayProvider } from "react-aria";
14250
14248
 
14251
14249
  // src/components/Modal/Modal.tsx
@@ -16165,8 +16163,7 @@ function isSelectionButtonMenuProps(props) {
16165
16163
  }
16166
16164
 
16167
16165
  // src/components/Filters/FilterDropdownMenu.tsx
16168
- import { memo as memo2, useMemo as useMemo34, useRef as useRef46, useState as useState39 } from "react";
16169
- import { useOverlay as useOverlay3 } from "react-aria";
16166
+ import { memo as memo2, useMemo as useMemo34, useState as useState39 } from "react";
16170
16167
 
16171
16168
  // src/components/CountBadge.tsx
16172
16169
  import { jsx as jsx127 } from "@emotion/react/jsx-runtime";
@@ -16221,7 +16218,6 @@ var DateFilter = class extends BaseFilter {
16221
16218
  /* @__PURE__ */ jsx128(
16222
16219
  SelectField,
16223
16220
  {
16224
- compact: true,
16225
16221
  sizeToContent: true,
16226
16222
  options: [
16227
16223
  // Always show the 'Any' option
@@ -16244,7 +16240,6 @@ var DateFilter = class extends BaseFilter {
16244
16240
  /* @__PURE__ */ jsx128(
16245
16241
  DateField,
16246
16242
  {
16247
- compact: true,
16248
16243
  labelStyle: "inline",
16249
16244
  value: value?.value ? new Date(value.value) : /* @__PURE__ */ new Date(),
16250
16245
  label: "Date",
@@ -16271,7 +16266,6 @@ var DateRangeFilter = class extends BaseFilter {
16271
16266
  /* @__PURE__ */ jsx129(
16272
16267
  DateRangeField,
16273
16268
  {
16274
- compact: true,
16275
16269
  labelStyle: "inline",
16276
16270
  isRangeFilterField: true,
16277
16271
  placeholder: placeholderText,
@@ -16325,7 +16319,6 @@ var MultiFilter = class extends BaseFilter {
16325
16319
  MultiSelectField,
16326
16320
  {
16327
16321
  ...props,
16328
- compact: !vertical,
16329
16322
  label: this.label,
16330
16323
  values: value || [],
16331
16324
  labelStyle: inModal ? "hidden" : !inModal && !vertical ? "inline" : "above",
@@ -16390,7 +16383,6 @@ var NumberRangeFilter = class extends BaseFilter {
16390
16383
  /* @__PURE__ */ jsx131(
16391
16384
  NumberField,
16392
16385
  {
16393
- compact: true,
16394
16386
  sizeToContent: !inModal,
16395
16387
  labelStyle: "inline",
16396
16388
  clearable: true,
@@ -16408,7 +16400,6 @@ var NumberRangeFilter = class extends BaseFilter {
16408
16400
  /* @__PURE__ */ jsx131(
16409
16401
  NumberField,
16410
16402
  {
16411
- compact: true,
16412
16403
  sizeToContent: !inModal,
16413
16404
  labelStyle: "inline",
16414
16405
  clearable: true,
@@ -16453,7 +16444,6 @@ var SingleFilter = class extends BaseFilter {
16453
16444
  options,
16454
16445
  getOptionValue: (o) => o === allOption ? void 0 : getOptionValue(o),
16455
16446
  getOptionLabel: (o) => o === allOption ? nothingSelectedText ?? "All" : getOptionLabel(o),
16456
- compact: !vertical,
16457
16447
  value,
16458
16448
  label: this.label,
16459
16449
  labelStyle: inModal ? "hidden" : !inModal && !vertical ? "inline" : "above",
@@ -16480,7 +16470,6 @@ var TreeFilter = class extends BaseFilter {
16480
16470
  ...props,
16481
16471
  label: this.label,
16482
16472
  values: value,
16483
- compact: !vertical,
16484
16473
  labelStyle: inModal ? "hidden" : !inModal && !vertical ? "inline" : "above",
16485
16474
  sizeToContent: !inModal && !vertical,
16486
16475
  onSelect: (options) => {
@@ -16506,7 +16495,6 @@ var BooleanFilter = class extends BaseFilter {
16506
16495
  SelectField,
16507
16496
  {
16508
16497
  ...props,
16509
- compact: !vertical,
16510
16498
  label: this.label,
16511
16499
  value: String(value),
16512
16500
  labelStyle: inModal ? "hidden" : !inModal && !vertical ? "inline" : "above",
@@ -16656,7 +16644,6 @@ function Filters(props) {
16656
16644
  SelectField,
16657
16645
  {
16658
16646
  label: "Group by",
16659
- compact: !vertical,
16660
16647
  labelStyle: !vertical ? "inline" : "above",
16661
16648
  sizeToContent: !vertical,
16662
16649
  options: groupBy.options,
@@ -16680,6 +16667,7 @@ function Filters(props) {
16680
16667
  Button,
16681
16668
  {
16682
16669
  label: "More Filters",
16670
+ size: "md",
16683
16671
  endAdornment: /* @__PURE__ */ jsx138(CountBadge, { count: numModalFilters, hideIfZero: true }),
16684
16672
  variant: "secondary",
16685
16673
  onClick: () => openModal({
@@ -16689,7 +16677,7 @@ function Filters(props) {
16689
16677
  ...testId.moreFiltersBtn
16690
16678
  }
16691
16679
  ),
16692
- Object.keys(filter).length > 0 && /* @__PURE__ */ jsx138("div", { children: /* @__PURE__ */ jsx138(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn }) })
16680
+ Object.keys(filter).length > 0 && /* @__PURE__ */ jsx138("div", { children: /* @__PURE__ */ jsx138(Button, { label: "Clear", size: "md", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn }) })
16693
16681
  ]
16694
16682
  }
16695
16683
  );
@@ -16743,20 +16731,6 @@ function FilterDropdownMenu(props) {
16743
16731
  const { filter, onChange, filterDefs, groupBy } = props;
16744
16732
  const testId = useTestIds(props, filterTestIdPrefix);
16745
16733
  const [isOpen, setIsOpen] = useState39(false);
16746
- const buttonRef = useRef46(null);
16747
- const filterContentRef = useRef46(null);
16748
- const { overlayProps } = useOverlay3(
16749
- {
16750
- isOpen,
16751
- onClose: () => setIsOpen(false),
16752
- isDismissable: true,
16753
- shouldCloseOnInteractOutside: (element) => {
16754
- if (buttonRef.current?.contains(element)) return false;
16755
- return true;
16756
- }
16757
- },
16758
- filterContentRef
16759
- );
16760
16734
  const activeFilterCount = useMemo34(() => getActiveFilterCount(filter), [filter]);
16761
16735
  const filterImpls = useMemo34(() => buildFilterImpls(filterDefs), [filterDefs]);
16762
16736
  const renderFilters = () => {
@@ -16766,7 +16740,7 @@ function FilterDropdownMenu(props) {
16766
16740
  return [...nonCheckbox, ...checkbox].map(([key, f]) => /* @__PURE__ */ jsx140("div", { children: f.render(filter[key], (value) => onChange(updateFilter(filter, key, value)), testId, false, false) }, key));
16767
16741
  };
16768
16742
  return /* @__PURE__ */ jsxs68(Fragment31, { children: [
16769
- /* @__PURE__ */ jsx140("div", { ref: buttonRef, children: /* @__PURE__ */ jsx140(
16743
+ /* @__PURE__ */ jsx140(
16770
16744
  Button,
16771
16745
  {
16772
16746
  label: "Filter",
@@ -16780,13 +16754,12 @@ function FilterDropdownMenu(props) {
16780
16754
  onClick: () => setIsOpen(!isOpen),
16781
16755
  ...testId.button
16782
16756
  }
16783
- ) }),
16784
- isOpen && /* @__PURE__ */ jsxs68("div", { ref: filterContentRef, ...overlayProps, css: Css.df.aic.fww.gap1.order(1).$, children: [
16757
+ ),
16758
+ isOpen && /* @__PURE__ */ jsxs68("div", { css: Css.df.aic.fww.gap1.w100.$, children: [
16785
16759
  groupBy && /* @__PURE__ */ jsx140(
16786
16760
  SelectField,
16787
16761
  {
16788
16762
  label: "Group by",
16789
- compact: true,
16790
16763
  labelStyle: "inline",
16791
16764
  sizeToContent: true,
16792
16765
  options: groupBy.options,
@@ -16797,7 +16770,7 @@ function FilterDropdownMenu(props) {
16797
16770
  }
16798
16771
  ),
16799
16772
  renderFilters(),
16800
- activeFilterCount > 0 && /* @__PURE__ */ jsx140(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn })
16773
+ activeFilterCount > 0 && /* @__PURE__ */ jsx140(Button, { label: "Clear", size: "md", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn })
16801
16774
  ] }),
16802
16775
  !isOpen && /* @__PURE__ */ jsx140(
16803
16776
  FilterChips,
@@ -16849,7 +16822,7 @@ function FilterChips({
16849
16822
  if (chips.length === 0) return null;
16850
16823
  return /* @__PURE__ */ jsxs68("div", { css: Css.df.gap1.fww.aic.order(1).$, children: [
16851
16824
  chips,
16852
- /* @__PURE__ */ jsx140(Button, { label: "Clear", variant: "tertiary", onClick: onClear, ...testId.clearBtn })
16825
+ /* @__PURE__ */ jsx140(Button, { label: "Clear", size: "md", variant: "tertiary", onClick: onClear, ...testId.clearBtn })
16853
16826
  ] });
16854
16827
  }
16855
16828
  function buildFilterImpls(filterDefs) {
@@ -17371,18 +17344,18 @@ var BeamContext = createContext6({
17371
17344
  });
17372
17345
  function BeamProvider({ children, ...presentationProps }) {
17373
17346
  const [, tick] = useReducer((prev) => prev + 1, 0);
17374
- const modalRef = useRef47();
17347
+ const modalRef = useRef46();
17375
17348
  const modalHeaderDiv = useMemo38(() => document.createElement("div"), []);
17376
17349
  const modalBodyDiv = useMemo38(() => {
17377
17350
  const el = document.createElement("div");
17378
17351
  el.style.height = "100%";
17379
17352
  return el;
17380
17353
  }, []);
17381
- const modalCanCloseChecksRef = useRef47([]);
17354
+ const modalCanCloseChecksRef = useRef46([]);
17382
17355
  const modalFooterDiv = useMemo38(() => document.createElement("div"), []);
17383
- const drawerContentStackRef = useRef47([]);
17384
- const drawerCanCloseChecks = useRef47([]);
17385
- const drawerCanCloseDetailsChecks = useRef47([]);
17356
+ const drawerContentStackRef = useRef46([]);
17357
+ const drawerCanCloseChecks = useRef46([]);
17358
+ const drawerCanCloseDetailsChecks = useRef46([]);
17386
17359
  const sdHeaderDiv = useMemo38(() => document.createElement("div"), []);
17387
17360
  const context = useMemo38(() => {
17388
17361
  return {
@@ -17425,14 +17398,14 @@ function useBeamContext() {
17425
17398
  }
17426
17399
 
17427
17400
  // src/components/ButtonDatePicker.tsx
17428
- import { useRef as useRef48 } from "react";
17401
+ import { useRef as useRef47 } from "react";
17429
17402
  import { useMenuTrigger as useMenuTrigger4 } from "react-aria";
17430
17403
  import { useMenuTriggerState as useMenuTriggerState4 } from "react-stately";
17431
17404
  import { jsx as jsx151 } from "@emotion/react/jsx-runtime";
17432
17405
  function ButtonDatePicker(props) {
17433
17406
  const { defaultOpen, disabled, trigger, onSelect, ...datePickerProps } = props;
17434
17407
  const state = useMenuTriggerState4({ isOpen: defaultOpen });
17435
- const buttonRef = useRef48(null);
17408
+ const buttonRef = useRef47(null);
17436
17409
  const { menuTriggerProps, menuProps } = useMenuTrigger4({ isDisabled: !!disabled }, state, buttonRef);
17437
17410
  const tid = useTestIds(
17438
17411
  props,
@@ -17452,7 +17425,7 @@ function ButtonDatePicker(props) {
17452
17425
  }
17453
17426
 
17454
17427
  // src/components/ButtonGroup.tsx
17455
- import { useRef as useRef49 } from "react";
17428
+ import { useRef as useRef48 } from "react";
17456
17429
  import { useButton as useButton10, useFocusRing as useFocusRing12, useHover as useHover15 } from "react-aria";
17457
17430
  import { jsx as jsx152, jsxs as jsxs75 } from "@emotion/react/jsx-runtime";
17458
17431
  function ButtonGroup(props) {
@@ -17469,7 +17442,7 @@ function ButtonGroup(props) {
17469
17442
  function GroupButton(props) {
17470
17443
  const { icon, iconInc, iconColor, text, active, onClick: onPress, disabled, size, tooltip, ...otherProps } = props;
17471
17444
  const ariaProps = { onPress, isDisabled: !!disabled, ...otherProps };
17472
- const ref = useRef49(null);
17445
+ const ref = useRef48(null);
17473
17446
  const { buttonProps, isPressed } = useButton10(ariaProps, ref);
17474
17447
  const { isFocusVisible, focusProps } = useFocusRing12();
17475
17448
  const { hoverProps, isHovered } = useHover15(ariaProps);
@@ -17533,14 +17506,14 @@ import { useHover as useHover16 } from "react-aria";
17533
17506
 
17534
17507
  // src/components/Tag.tsx
17535
17508
  import { useResizeObserver as useResizeObserver4 } from "@react-aria/utils";
17536
- import { useRef as useRef50, useState as useState42 } from "react";
17509
+ import { useRef as useRef49, useState as useState42 } from "react";
17537
17510
  import { jsx as jsx153, jsxs as jsxs76 } from "@emotion/react/jsx-runtime";
17538
17511
  function Tag(props) {
17539
17512
  const { text, type, xss, preventTooltip = false, ...otherProps } = props;
17540
17513
  const typeStyles2 = getStyles(type);
17541
17514
  const tid = useTestIds(otherProps);
17542
17515
  const [showTooltip, setShowTooltip] = useState42(false);
17543
- const ref = useRef50(null);
17516
+ const ref = useRef49(null);
17544
17517
  useResizeObserver4({
17545
17518
  ref,
17546
17519
  onResize: () => {
@@ -17654,7 +17627,7 @@ function Copy(props) {
17654
17627
 
17655
17628
  // src/components/DnDGrid/DnDGrid.tsx
17656
17629
  import equal2 from "fast-deep-equal";
17657
- import { useCallback as useCallback23, useRef as useRef51 } from "react";
17630
+ import { useCallback as useCallback23, useRef as useRef50 } from "react";
17658
17631
 
17659
17632
  // src/components/DnDGrid/DnDGridContext.tsx
17660
17633
  import { createContext as createContext7, useContext as useContext17 } from "react";
@@ -17671,12 +17644,12 @@ function useDnDGridContext() {
17671
17644
  import { jsx as jsx156 } from "@emotion/react/jsx-runtime";
17672
17645
  function DnDGrid(props) {
17673
17646
  const { children, gridStyles, onReorder, activeItemStyles } = props;
17674
- const gridEl = useRef51(null);
17675
- const dragEl = useRef51();
17676
- const cloneEl = useRef51();
17677
- const initialOrder = useRef51();
17678
- const reorderViaKeyboard = useRef51(false);
17679
- const transformFrom = useRef51({ x: 0, y: 0 });
17647
+ const gridEl = useRef50(null);
17648
+ const dragEl = useRef50();
17649
+ const cloneEl = useRef50();
17650
+ const initialOrder = useRef50();
17651
+ const reorderViaKeyboard = useRef50(false);
17652
+ const transformFrom = useRef50({ x: 0, y: 0 });
17680
17653
  const tid = useTestIds(props, "dndGrid");
17681
17654
  const getGridItems = useCallback23(() => {
17682
17655
  return gridEl.current ? Array.from(gridEl.current.querySelectorAll(`[${gridItemIdKey}]`)) : [];
@@ -18045,10 +18018,10 @@ function HbSpinnerProvider({ quips = [], children }) {
18045
18018
 
18046
18019
  // src/components/MaxLines.tsx
18047
18020
  import { useLayoutEffect as useLayoutEffect2, useResizeObserver as useResizeObserver5 } from "@react-aria/utils";
18048
- import { useCallback as useCallback24, useEffect as useEffect29, useRef as useRef52, useState as useState43 } from "react";
18021
+ import { useCallback as useCallback24, useEffect as useEffect29, useRef as useRef51, useState as useState43 } from "react";
18049
18022
  import { jsx as jsx161, jsxs as jsxs79 } from "@emotion/react/jsx-runtime";
18050
18023
  function MaxLines({ maxLines, children }) {
18051
- const elRef = useRef52(null);
18024
+ const elRef = useRef51(null);
18052
18025
  const [hasMore, setHasMore] = useState43(false);
18053
18026
  const [expanded, setExpanded] = useState43(false);
18054
18027
  useLayoutEffect2(() => {
@@ -18071,7 +18044,7 @@ function MaxLines({ maxLines, children }) {
18071
18044
 
18072
18045
  // src/components/ScrollShadows.tsx
18073
18046
  import { useResizeObserver as useResizeObserver6 } from "@react-aria/utils";
18074
- import { useCallback as useCallback25, useMemo as useMemo43, useRef as useRef53, useState as useState44 } from "react";
18047
+ import { useCallback as useCallback25, useMemo as useMemo43, useRef as useRef52, useState as useState44 } from "react";
18075
18048
  import { jsx as jsx162, jsxs as jsxs80 } from "@emotion/react/jsx-runtime";
18076
18049
  function ScrollShadows(props) {
18077
18050
  const { children, xss, horizontal = false, bgColor = "rgba(255,255,255,1)" /* White */ } = props;
@@ -18082,7 +18055,7 @@ function ScrollShadows(props) {
18082
18055
  }
18083
18056
  const [showStartShadow, setShowStartShadow] = useState44(false);
18084
18057
  const [showEndShadow, setShowEndShadow] = useState44(false);
18085
- const scrollRef = useRef53(null);
18058
+ const scrollRef = useRef52(null);
18086
18059
  const [startShadowStyles, endShadowStyles] = useMemo43(() => {
18087
18060
  const transparentBgColor = bgColor.replace(/,1\)$/, ",0)");
18088
18061
  const commonStyles = Css.absolute.z3.add({ pointerEvents: "none" }).$;
@@ -18193,7 +18166,7 @@ function useSnackbar() {
18193
18166
  var snackbarId = 1;
18194
18167
 
18195
18168
  // src/components/Stepper.tsx
18196
- import { useRef as useRef54 } from "react";
18169
+ import { useRef as useRef53 } from "react";
18197
18170
  import { useButton as useButton11, useFocusRing as useFocusRing14, useHover as useHover18 } from "react-aria";
18198
18171
  import { jsx as jsx163, jsxs as jsxs81 } from "@emotion/react/jsx-runtime";
18199
18172
  function Stepper(props) {
@@ -18237,7 +18210,7 @@ function Stepper(props) {
18237
18210
  function StepButton(props) {
18238
18211
  const { label, disabled, state, isCurrent, onClick } = props;
18239
18212
  const ariaProps = { onPress: onClick, isDisabled: disabled };
18240
- const ref = useRef54(null);
18213
+ const ref = useRef53(null);
18241
18214
  const { buttonProps, isPressed } = useButton11(ariaProps, ref);
18242
18215
  const { isFocusVisible, focusProps } = useFocusRing14();
18243
18216
  const { hoverProps, isHovered } = useHover18(ariaProps);
@@ -18526,7 +18499,7 @@ var SuperDrawerContent = ({ children, actions }) => {
18526
18499
 
18527
18500
  // src/components/Tabs.tsx
18528
18501
  import { camelCase as camelCase5 } from "change-case";
18529
- import { useEffect as useEffect31, useMemo as useMemo45, useRef as useRef55, useState as useState45 } from "react";
18502
+ import { useEffect as useEffect31, useMemo as useMemo45, useRef as useRef54, useState as useState45 } from "react";
18530
18503
  import { mergeProps as mergeProps13, useFocusRing as useFocusRing15, useHover as useHover19 } from "react-aria";
18531
18504
  import { matchPath, Route } from "react-router";
18532
18505
  import { Link as Link5, useLocation } from "react-router-dom";
@@ -18573,7 +18546,7 @@ function Tabs(props) {
18573
18546
  const { isFocusVisible, focusProps } = useFocusRing15();
18574
18547
  const tid = useTestIds(others, "tabs");
18575
18548
  const [active, setActive] = useState45(selected);
18576
- const ref = useRef55(null);
18549
+ const ref = useRef54(null);
18577
18550
  useEffect31(() => setActive(selected), [selected]);
18578
18551
  function onKeyUp(e) {
18579
18552
  if (e.key === "ArrowLeft" || e.key === "ArrowRight") {