@homebound/beam 2.413.0 → 2.414.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -7065,7 +7065,7 @@ function Button(props) {
7065
7065
  // Default the icon based on other properties.
7066
7066
  icon = download ? "download" : showExternalLinkIcon ? "linkExternal" : void 0,
7067
7067
  variant = "primary",
7068
- size = "sm",
7068
+ size = "md",
7069
7069
  buttonRef
7070
7070
  } = ariaProps;
7071
7071
  const ref = useGetRef(buttonRef);
@@ -8635,10 +8635,10 @@ function RowImpl(props) {
8635
8635
  const maybeSticky = (isGridCellContent(maybeContent) && maybeContent.sticky || column2.sticky) ?? void 0;
8636
8636
  const maybeStickyColumnStyles = maybeSticky && columnSizes ? {
8637
8637
  ...Css.sticky.z(zIndices.stickyColumns).bgWhite.$,
8638
- ...maybeSticky === "left" ? Css.left(columnIndex === 0 ? 0 : `calc(${columnSizes.slice(0, columnIndex).join(" + ")})`).$ : {},
8639
- ...maybeSticky === "right" ? Css.right(
8640
- columnIndex + 1 === columnSizes.length ? 0 : `calc(${columnSizes.slice(columnIndex + 1 - columnSizes.length).join(" + ")})`
8641
- ).$ : {}
8638
+ // For flex layouts, all sticky columns should have left/right: 0
8639
+ // The flex layout handles their adjacency based on their widths
8640
+ ...maybeSticky === "left" ? Css.left(0).$ : {},
8641
+ ...maybeSticky === "right" ? Css.right(0).$ : {}
8642
8642
  } : {};
8643
8643
  minStickyLeftOffset += maybeSticky === "left" ? parseInt(columnSizes[columnIndex].replace("px", ""), 10) : 0;
8644
8644
  const cellId = `${row.kind}_${row.id}_${column2.id}`;
@@ -8834,7 +8834,7 @@ function TextFieldBase(props) {
8834
8834
  const fieldStyles = {
8835
8835
  container: Css.df.fdc.w100.maxw(fieldMaxWidth).relative.if(labelStyle === "left").maxw100.fdr.gap2.jcsb.aic.$,
8836
8836
  inputWrapper: {
8837
- ...Css[typeScale].df.aic.br4.pxPx(textFieldBasePadding).w100.bgColor(bgColor).gray900.if(contrast && !inputStylePalette).white.if(labelStyle === "left").w(labelLeftFieldWidth).$,
8837
+ ...Css[typeScale].df.aic.br8.pxPx(textFieldBasePadding).w100.bgColor(bgColor).gray900.if(contrast && !inputStylePalette).white.if(labelStyle === "left").w(labelLeftFieldWidth).$,
8838
8838
  // When borderless then perceived vertical alignments are misaligned. As there is no longer a border, then the field looks oddly indented.
8839
8839
  // 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.
8840
8840
  // 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.
@@ -14605,7 +14605,7 @@ var variantStyles2 = {
14605
14605
 
14606
14606
  // src/components/BeamContext.tsx
14607
14607
  var import_react103 = require("react");
14608
- var import_react_aria46 = require("react-aria");
14608
+ var import_react_aria45 = require("react-aria");
14609
14609
 
14610
14610
  // src/components/Modal/Modal.tsx
14611
14611
  var import_utils72 = require("@react-aria/utils");
@@ -16525,7 +16525,6 @@ function isSelectionButtonMenuProps(props) {
16525
16525
 
16526
16526
  // src/components/Filters/FilterDropdownMenu.tsx
16527
16527
  var import_react97 = require("react");
16528
- var import_react_aria45 = require("react-aria");
16529
16528
 
16530
16529
  // src/components/CountBadge.tsx
16531
16530
  var import_jsx_runtime127 = require("@emotion/react/jsx-runtime");
@@ -16580,7 +16579,6 @@ var DateFilter = class extends BaseFilter {
16580
16579
  /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16581
16580
  SelectField,
16582
16581
  {
16583
- compact: true,
16584
16582
  sizeToContent: true,
16585
16583
  options: [
16586
16584
  // Always show the 'Any' option
@@ -16603,7 +16601,6 @@ var DateFilter = class extends BaseFilter {
16603
16601
  /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
16604
16602
  DateField,
16605
16603
  {
16606
- compact: true,
16607
16604
  labelStyle: "inline",
16608
16605
  value: value?.value ? new Date(value.value) : /* @__PURE__ */ new Date(),
16609
16606
  label: "Date",
@@ -16630,7 +16627,6 @@ var DateRangeFilter = class extends BaseFilter {
16630
16627
  /* @__PURE__ */ (0, import_jsx_runtime129.jsx)(
16631
16628
  DateRangeField,
16632
16629
  {
16633
- compact: true,
16634
16630
  labelStyle: "inline",
16635
16631
  isRangeFilterField: true,
16636
16632
  placeholder: placeholderText,
@@ -16684,7 +16680,6 @@ var MultiFilter = class extends BaseFilter {
16684
16680
  MultiSelectField,
16685
16681
  {
16686
16682
  ...props,
16687
- compact: !vertical,
16688
16683
  label: this.label,
16689
16684
  values: value || [],
16690
16685
  labelStyle: inModal ? "hidden" : !inModal && !vertical ? "inline" : "above",
@@ -16749,7 +16744,6 @@ var NumberRangeFilter = class extends BaseFilter {
16749
16744
  /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
16750
16745
  NumberField,
16751
16746
  {
16752
- compact: true,
16753
16747
  sizeToContent: !inModal,
16754
16748
  labelStyle: "inline",
16755
16749
  clearable: true,
@@ -16767,7 +16761,6 @@ var NumberRangeFilter = class extends BaseFilter {
16767
16761
  /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
16768
16762
  NumberField,
16769
16763
  {
16770
- compact: true,
16771
16764
  sizeToContent: !inModal,
16772
16765
  labelStyle: "inline",
16773
16766
  clearable: true,
@@ -16812,7 +16805,6 @@ var SingleFilter = class extends BaseFilter {
16812
16805
  options,
16813
16806
  getOptionValue: (o) => o === allOption ? void 0 : getOptionValue(o),
16814
16807
  getOptionLabel: (o) => o === allOption ? nothingSelectedText ?? "All" : getOptionLabel(o),
16815
- compact: !vertical,
16816
16808
  value,
16817
16809
  label: this.label,
16818
16810
  labelStyle: inModal ? "hidden" : !inModal && !vertical ? "inline" : "above",
@@ -16839,7 +16831,6 @@ var TreeFilter = class extends BaseFilter {
16839
16831
  ...props,
16840
16832
  label: this.label,
16841
16833
  values: value,
16842
- compact: !vertical,
16843
16834
  labelStyle: inModal ? "hidden" : !inModal && !vertical ? "inline" : "above",
16844
16835
  sizeToContent: !inModal && !vertical,
16845
16836
  onSelect: (options) => {
@@ -16865,7 +16856,6 @@ var BooleanFilter = class extends BaseFilter {
16865
16856
  SelectField,
16866
16857
  {
16867
16858
  ...props,
16868
- compact: !vertical,
16869
16859
  label: this.label,
16870
16860
  value: String(value),
16871
16861
  labelStyle: inModal ? "hidden" : !inModal && !vertical ? "inline" : "above",
@@ -17015,7 +17005,6 @@ function Filters(props) {
17015
17005
  SelectField,
17016
17006
  {
17017
17007
  label: "Group by",
17018
- compact: !vertical,
17019
17008
  labelStyle: !vertical ? "inline" : "above",
17020
17009
  sizeToContent: !vertical,
17021
17010
  options: groupBy.options,
@@ -17039,6 +17028,7 @@ function Filters(props) {
17039
17028
  Button,
17040
17029
  {
17041
17030
  label: "More Filters",
17031
+ size: "md",
17042
17032
  endAdornment: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(CountBadge, { count: numModalFilters, hideIfZero: true }),
17043
17033
  variant: "secondary",
17044
17034
  onClick: () => openModal({
@@ -17048,7 +17038,7 @@ function Filters(props) {
17048
17038
  ...testId.moreFiltersBtn
17049
17039
  }
17050
17040
  ),
17051
- Object.keys(filter).length > 0 && /* @__PURE__ */ (0, import_jsx_runtime138.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn }) })
17041
+ Object.keys(filter).length > 0 && /* @__PURE__ */ (0, import_jsx_runtime138.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime138.jsx)(Button, { label: "Clear", size: "md", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn }) })
17052
17042
  ]
17053
17043
  }
17054
17044
  );
@@ -17102,20 +17092,6 @@ function FilterDropdownMenu(props) {
17102
17092
  const { filter, onChange, filterDefs, groupBy } = props;
17103
17093
  const testId = useTestIds(props, filterTestIdPrefix);
17104
17094
  const [isOpen, setIsOpen] = (0, import_react97.useState)(false);
17105
- const buttonRef = (0, import_react97.useRef)(null);
17106
- const filterContentRef = (0, import_react97.useRef)(null);
17107
- const { overlayProps } = (0, import_react_aria45.useOverlay)(
17108
- {
17109
- isOpen,
17110
- onClose: () => setIsOpen(false),
17111
- isDismissable: true,
17112
- shouldCloseOnInteractOutside: (element) => {
17113
- if (buttonRef.current?.contains(element)) return false;
17114
- return true;
17115
- }
17116
- },
17117
- filterContentRef
17118
- );
17119
17095
  const activeFilterCount = (0, import_react97.useMemo)(() => getActiveFilterCount(filter), [filter]);
17120
17096
  const filterImpls = (0, import_react97.useMemo)(() => buildFilterImpls(filterDefs), [filterDefs]);
17121
17097
  const renderFilters = () => {
@@ -17125,7 +17101,7 @@ function FilterDropdownMenu(props) {
17125
17101
  return [...nonCheckbox, ...checkbox].map(([key, f]) => /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("div", { children: f.render(filter[key], (value) => onChange(updateFilter(filter, key, value)), testId, false, false) }, key));
17126
17102
  };
17127
17103
  return /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)(import_jsx_runtime140.Fragment, { children: [
17128
- /* @__PURE__ */ (0, import_jsx_runtime140.jsx)("div", { ref: buttonRef, children: /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
17104
+ /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
17129
17105
  Button,
17130
17106
  {
17131
17107
  label: "Filter",
@@ -17139,13 +17115,12 @@ function FilterDropdownMenu(props) {
17139
17115
  onClick: () => setIsOpen(!isOpen),
17140
17116
  ...testId.button
17141
17117
  }
17142
- ) }),
17143
- isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { ref: filterContentRef, ...overlayProps, css: Css.df.aic.fww.gap1.order(1).$, children: [
17118
+ ),
17119
+ isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { css: Css.df.aic.fww.gap1.order(1).$, children: [
17144
17120
  groupBy && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
17145
17121
  SelectField,
17146
17122
  {
17147
17123
  label: "Group by",
17148
- compact: true,
17149
17124
  labelStyle: "inline",
17150
17125
  sizeToContent: true,
17151
17126
  options: groupBy.options,
@@ -17156,7 +17131,7 @@ function FilterDropdownMenu(props) {
17156
17131
  }
17157
17132
  ),
17158
17133
  renderFilters(),
17159
- activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn })
17134
+ activeFilterCount > 0 && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", size: "md", variant: "tertiary", onClick: () => onChange({}), ...testId.clearBtn })
17160
17135
  ] }),
17161
17136
  !isOpen && /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(
17162
17137
  FilterChips,
@@ -17208,7 +17183,7 @@ function FilterChips({
17208
17183
  if (chips.length === 0) return null;
17209
17184
  return /* @__PURE__ */ (0, import_jsx_runtime140.jsxs)("div", { css: Css.df.gap1.fww.aic.order(1).$, children: [
17210
17185
  chips,
17211
- /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", variant: "tertiary", onClick: onClear, ...testId.clearBtn })
17186
+ /* @__PURE__ */ (0, import_jsx_runtime140.jsx)(Button, { label: "Clear", size: "md", variant: "tertiary", onClick: onClear, ...testId.clearBtn })
17212
17187
  ] });
17213
17188
  }
17214
17189
  function buildFilterImpls(filterDefs) {
@@ -17759,7 +17734,7 @@ function BeamProvider({ children, ...presentationProps }) {
17759
17734
  };
17760
17735
  }, [modalBodyDiv, modalFooterDiv, modalHeaderDiv, sdHeaderDiv]);
17761
17736
  return /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(BeamContext.Provider, { value: { ...context }, children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(PresentationProvider, { ...presentationProps, children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(RightPaneProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(AutoSaveStatusProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(SnackbarProvider, { children: /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(ToastProvider, { children: [
17762
- /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(import_react_aria46.OverlayProvider, { children: [
17737
+ /* @__PURE__ */ (0, import_jsx_runtime150.jsxs)(import_react_aria45.OverlayProvider, { children: [
17763
17738
  children,
17764
17739
  modalRef.current && /* @__PURE__ */ (0, import_jsx_runtime150.jsx)(Modal, { ...modalRef.current })
17765
17740
  ] }),
@@ -17785,14 +17760,14 @@ function useBeamContext() {
17785
17760
 
17786
17761
  // src/components/ButtonDatePicker.tsx
17787
17762
  var import_react104 = require("react");
17788
- var import_react_aria47 = require("react-aria");
17763
+ var import_react_aria46 = require("react-aria");
17789
17764
  var import_react_stately18 = require("react-stately");
17790
17765
  var import_jsx_runtime151 = require("@emotion/react/jsx-runtime");
17791
17766
  function ButtonDatePicker(props) {
17792
17767
  const { defaultOpen, disabled, trigger, onSelect, ...datePickerProps } = props;
17793
17768
  const state = (0, import_react_stately18.useMenuTriggerState)({ isOpen: defaultOpen });
17794
17769
  const buttonRef = (0, import_react104.useRef)(null);
17795
- const { menuTriggerProps, menuProps } = (0, import_react_aria47.useMenuTrigger)({ isDisabled: !!disabled }, state, buttonRef);
17770
+ const { menuTriggerProps, menuProps } = (0, import_react_aria46.useMenuTrigger)({ isDisabled: !!disabled }, state, buttonRef);
17796
17771
  const tid = useTestIds(
17797
17772
  props,
17798
17773
  isTextButton(trigger) ? defaultTestId(labelOr(trigger, "buttonDatePicker")) : isNavLinkButton(trigger) ? defaultTestId(trigger.navLabel) : isIconButton(trigger) ? trigger.icon : trigger.name
@@ -17812,7 +17787,7 @@ function ButtonDatePicker(props) {
17812
17787
 
17813
17788
  // src/components/ButtonGroup.tsx
17814
17789
  var import_react105 = require("react");
17815
- var import_react_aria48 = require("react-aria");
17790
+ var import_react_aria47 = require("react-aria");
17816
17791
  var import_jsx_runtime152 = (
17817
17792
  // Disable the button if the ButtonGroup is disabled or if the current button is disabled.
17818
17793
  require("@emotion/react/jsx-runtime")
@@ -17829,9 +17804,9 @@ function GroupButton(props) {
17829
17804
  const { icon, iconInc, iconColor, text, active, onClick: onPress, disabled, size, tooltip, ...otherProps } = props;
17830
17805
  const ariaProps = { onPress, isDisabled: !!disabled, ...otherProps };
17831
17806
  const ref = (0, import_react105.useRef)(null);
17832
- const { buttonProps, isPressed } = (0, import_react_aria48.useButton)(ariaProps, ref);
17833
- const { isFocusVisible, focusProps } = (0, import_react_aria48.useFocusRing)();
17834
- const { hoverProps, isHovered } = (0, import_react_aria48.useHover)(ariaProps);
17807
+ const { buttonProps, isPressed } = (0, import_react_aria47.useButton)(ariaProps, ref);
17808
+ const { isFocusVisible, focusProps } = (0, import_react_aria47.useFocusRing)();
17809
+ const { hoverProps, isHovered } = (0, import_react_aria47.useHover)(ariaProps);
17835
17810
  const tid = useTestIds(props);
17836
17811
  return /* @__PURE__ */ (0, import_jsx_runtime152.jsx)("span", { css: getButtonStyles2(), children: maybeTooltip({
17837
17812
  title: resolveTooltip(disabled, tooltip),
@@ -17888,7 +17863,7 @@ var iconStyles2 = {
17888
17863
 
17889
17864
  // src/components/Card.tsx
17890
17865
  var import_react107 = require("react");
17891
- var import_react_aria49 = require("react-aria");
17866
+ var import_react_aria48 = require("react-aria");
17892
17867
 
17893
17868
  // src/components/Tag.tsx
17894
17869
  var import_utils116 = require("@react-aria/utils");
@@ -17947,7 +17922,7 @@ function Card(props) {
17947
17922
  tag
17948
17923
  } = props;
17949
17924
  const tid = useTestIds(props, "card");
17950
- const { hoverProps, isHovered } = (0, import_react_aria49.useHover)({ isDisabled });
17925
+ const { hoverProps, isHovered } = (0, import_react_aria48.useHover)({ isDisabled });
17951
17926
  const isList = type === "list";
17952
17927
  const imgHeight = isList ? 96 : bordered ? 224 : 256;
17953
17928
  const styles = (0, import_react107.useMemo)(
@@ -18222,12 +18197,12 @@ var gridCloneKey = "dndgrid-clone";
18222
18197
  var activeGridItemClass = "dndgrid-active";
18223
18198
 
18224
18199
  // src/components/DnDGrid/DnDGridItemHandle.tsx
18225
- var import_react_aria50 = require("react-aria");
18200
+ var import_react_aria49 = require("react-aria");
18226
18201
  var import_jsx_runtime157 = require("@emotion/react/jsx-runtime");
18227
18202
  function DnDGridItemHandle(props) {
18228
18203
  const { dragHandleProps, icon = "move", compact = false, color } = props;
18229
- const { focusProps, isFocusVisible } = (0, import_react_aria50.useFocusRing)();
18230
- const { hoverProps, isHovered } = (0, import_react_aria50.useHover)({});
18204
+ const { focusProps, isFocusVisible } = (0, import_react_aria49.useFocusRing)();
18205
+ const { hoverProps, isHovered } = (0, import_react_aria49.useHover)({});
18231
18206
  const tid = useTestIds(props, "dragHandle");
18232
18207
  const iconButtonNormal2 = Css.hPx(28).wPx(28).br8.bw2.$;
18233
18208
  const iconButtonCompact2 = Css.hPx(18).wPx(18).br4.bw1.$;
@@ -18239,7 +18214,7 @@ function DnDGridItemHandle(props) {
18239
18214
  ...Css.cursor("grab").bcTransparent.bss.bgTransparent.outline0.dif.aic.jcc.transition.if(isFocusVisible).bcBlue700.$,
18240
18215
  ...isHovered && Css.bgGray200.$
18241
18216
  },
18242
- ...(0, import_react_aria50.mergeProps)(dragHandleProps, focusProps, hoverProps),
18217
+ ...(0, import_react_aria49.mergeProps)(dragHandleProps, focusProps, hoverProps),
18243
18218
  ...tid,
18244
18219
  children: /* @__PURE__ */ (0, import_jsx_runtime157.jsx)(Icon, { icon, inc: compact ? 2 : void 0, color })
18245
18220
  }
@@ -18553,7 +18528,7 @@ var snackbarId = 1;
18553
18528
 
18554
18529
  // src/components/Stepper.tsx
18555
18530
  var import_react116 = require("react");
18556
- var import_react_aria51 = require("react-aria");
18531
+ var import_react_aria50 = require("react-aria");
18557
18532
  var import_jsx_runtime163 = require("@emotion/react/jsx-runtime");
18558
18533
  function Stepper(props) {
18559
18534
  const { steps, currentStep, onChange } = props;
@@ -18597,9 +18572,9 @@ function StepButton(props) {
18597
18572
  const { label, disabled, state, isCurrent, onClick } = props;
18598
18573
  const ariaProps = { onPress: onClick, isDisabled: disabled };
18599
18574
  const ref = (0, import_react116.useRef)(null);
18600
- const { buttonProps, isPressed } = (0, import_react_aria51.useButton)(ariaProps, ref);
18601
- const { isFocusVisible, focusProps } = (0, import_react_aria51.useFocusRing)();
18602
- const { hoverProps, isHovered } = (0, import_react_aria51.useHover)(ariaProps);
18575
+ const { buttonProps, isPressed } = (0, import_react_aria50.useButton)(ariaProps, ref);
18576
+ const { isFocusVisible, focusProps } = (0, import_react_aria50.useFocusRing)();
18577
+ const { hoverProps, isHovered } = (0, import_react_aria50.useHover)(ariaProps);
18603
18578
  const focusRingStyles2 = state === "error" ? Css.bshDanger.$ : Css.bshFocus.$;
18604
18579
  const tid = useTestIds(props, "stepButton");
18605
18580
  return /* @__PURE__ */ (0, import_jsx_runtime163.jsxs)(
@@ -18886,7 +18861,7 @@ var SuperDrawerContent = ({ children, actions }) => {
18886
18861
  // src/components/Tabs.tsx
18887
18862
  var import_change_case7 = require("change-case");
18888
18863
  var import_react118 = require("react");
18889
- var import_react_aria52 = require("react-aria");
18864
+ var import_react_aria51 = require("react-aria");
18890
18865
  var import_react_router2 = require("react-router");
18891
18866
  var import_react_router_dom5 = require("react-router-dom");
18892
18867
  var import_jsx_runtime168 = require("@emotion/react/jsx-runtime");
@@ -18929,7 +18904,7 @@ function Tabs(props) {
18929
18904
  const selected = isRouteTabs(props) ? uniqueTabValue(
18930
18905
  props.tabs.find((t) => !!(0, import_react_router2.matchPath)(location.pathname, { path: t.path, exact: true })) || props.tabs[0]
18931
18906
  ) : props.selected;
18932
- const { isFocusVisible, focusProps } = (0, import_react_aria52.useFocusRing)();
18907
+ const { isFocusVisible, focusProps } = (0, import_react_aria51.useFocusRing)();
18933
18908
  const tid = useTestIds(others, "tabs");
18934
18909
  const [active, setActive] = (0, import_react118.useState)(selected);
18935
18910
  const ref = (0, import_react118.useRef)(null);
@@ -18974,7 +18949,7 @@ function TabImpl(props) {
18974
18949
  const { tab, onClick, active, onKeyUp, onBlur, focusProps, isFocusVisible = false, ...others } = props;
18975
18950
  const { disabled = false, name: label, icon, endAdornment } = tab;
18976
18951
  const isDisabled = !!disabled;
18977
- const { hoverProps, isHovered } = (0, import_react_aria52.useHover)({ isDisabled });
18952
+ const { hoverProps, isHovered } = (0, import_react_aria51.useHover)({ isDisabled });
18978
18953
  const { baseStyles: baseStyles5, activeStyles: activeStyles4, focusRingStyles: focusRingStyles2, hoverStyles: hoverStyles4, disabledStyles: disabledStyles4, activeHoverStyles } = (0, import_react118.useMemo)(
18979
18954
  () => getTabStyles(),
18980
18955
  []
@@ -18997,7 +18972,7 @@ function TabImpl(props) {
18997
18972
  ...isFocusVisible && active && focusRingStyles2
18998
18973
  }
18999
18974
  };
19000
- const interactiveProps = (0, import_react_aria52.mergeProps)(focusProps, hoverProps, {
18975
+ const interactiveProps = (0, import_react_aria51.mergeProps)(focusProps, hoverProps, {
19001
18976
  onKeyUp,
19002
18977
  onBlur,
19003
18978
  ...isRouteTab(tab) ? {} : { onClick: () => onClick(tab.value) }