@doist/reactist 30.1.4 → 31.0.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/CHANGELOG.md CHANGED
@@ -1,3 +1,13 @@
1
+ ## [31.0.0](https://github.com/Doist/reactist/compare/v30.1.4...v31.0.0) (2026-05-18)
2
+
3
+ ### ⚠ BREAKING CHANGES
4
+
5
+ - drop React 17 support (#1040)
6
+
7
+ ### Miscellaneous Chores
8
+
9
+ - drop React 17 support ([#1040](https://github.com/Doist/reactist/issues/1040)) ([f8d34e0](https://github.com/Doist/reactist/commit/f8d34e00dadccc0c524f633188fe10be3186ddff))
10
+
1
11
  ## [30.1.4](https://github.com/Doist/reactist/compare/v30.1.3...v30.1.4) (2026-04-08)
2
12
 
3
13
  ### Bug Fixes
@@ -683,6 +683,8 @@ const Tooltip = /*#__PURE__*/React__namespace.forwardRef(({
683
683
  if (!child) {
684
684
  return child;
685
685
  }
686
+
687
+ /* eslint-disable react-hooks/refs */
686
688
  if (typeof child.ref === 'string') {
687
689
  throw new Error('Tooltip: String refs cannot be used as they cannot be forwarded');
688
690
  }
@@ -705,6 +707,7 @@ const Tooltip = /*#__PURE__*/React__namespace.forwardRef(({
705
707
  textAlign: "center"
706
708
  })
707
709
  }, withArrow ? /*#__PURE__*/React__namespace.createElement(react.TooltipArrow, null) : null, typeof content === 'function' ? content() : content) : null);
710
+ /* eslint-enable react-hooks/refs */
708
711
  });
709
712
  Tooltip.displayName = 'Tooltip';
710
713
 
@@ -3076,7 +3079,7 @@ function useForkRef(...refs) {
3076
3079
  refs.forEach(ref => setRef(ref, value));
3077
3080
  };
3078
3081
  },
3079
- // eslint-disable-next-line react-hooks/exhaustive-deps
3082
+ // eslint-disable-next-line react-hooks/exhaustive-deps, react-hooks/use-memo
3080
3083
  refs);
3081
3084
  }
3082
3085
 
@@ -6159,6 +6162,7 @@ const TabPanel = /*#__PURE__*/React__namespace.forwardRef(function TabPanel(_ref
6159
6162
  const tabIsActive = selectedId === id;
6160
6163
  React__namespace.useEffect(function trackTabRenderedState() {
6161
6164
  if (!tabRendered && tabIsActive) {
6165
+ // eslint-disable-next-line react-hooks/set-state-in-effect
6162
6166
  setTabRendered(true);
6163
6167
  }
6164
6168
  }, [tabRendered, tabIsActive]);