@doist/reactist 30.1.3 → 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 +16 -0
- package/dist/reactist.cjs.development.js +5 -1
- package/dist/reactist.cjs.development.js.map +1 -1
- package/dist/reactist.cjs.production.min.js.map +1 -1
- package/es/checkbox-field/use-fork-ref.js +1 -1
- package/es/checkbox-field/use-fork-ref.js.map +1 -1
- package/es/tabs/tabs.js +1 -0
- package/es/tabs/tabs.js.map +1 -1
- package/es/tooltip/tooltip.js +3 -0
- package/es/tooltip/tooltip.js.map +1 -1
- package/lib/checkbox-field/use-fork-ref.js +1 -1
- package/lib/checkbox-field/use-fork-ref.js.map +1 -1
- package/lib/tabs/tabs.js +1 -0
- package/lib/tabs/tabs.js.map +1 -1
- package/lib/tooltip/tooltip.js +3 -0
- package/lib/tooltip/tooltip.js.map +1 -1
- package/lib/utils/test-helpers.d.ts +1 -1
- package/package.json +20 -16
- package/styles/index.css +9 -1
- /package/styles/{stack.css → divider.css} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
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
|
+
|
|
11
|
+
## [30.1.4](https://github.com/Doist/reactist/compare/v30.1.3...v30.1.4) (2026-04-08)
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
- use OIDC trusted publishing instead of npm token for releases ([#1031](https://github.com/Doist/reactist/issues/1031)) ([e15f898](https://github.com/Doist/reactist/commit/e15f898d2dc04a034323628aff3e6f01d811f6d4))
|
|
16
|
+
|
|
1
17
|
## [30.1.3](https://github.com/Doist/reactist/compare/v30.1.2...v30.1.3) (2026-04-07)
|
|
2
18
|
|
|
3
19
|
### 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]);
|