🚨 BREAKING CHANGE
Peer dependencies from dependencies have been removed.
react, react-dom, @emotion/react, @emotion/styled, @mui/material, and @types/react were incorrectly listed in dependencies, causing a duplicate React instance when consumers used React 18. They are now only in peerDependencies and devDependencies.
If you are using React 18, this release fixes the crash (Cannot read properties of null (reading 'useRef')).
Fixes
- #78 React 18 compatibility — removed peer dependencies from
dependenciesto prevent duplicate React instances ; - Fixed
.MuiTelInput-TextFieldcopy-paste error in CSS documentation (was referencing the wrong library) ; - Fixed broken MUI links in documentation (
/api/box→/material-ui/api/box/) ; - Added missing
BoxandFormHelperTextimports in React Hook Form example ; - Added peer dependencies section to getting-started documentation ;
- Updated Next.js config examples to ESM (
export default+next.config.mjs) ;
Internal
- Vite 6 → 8, Vitest 3 → 4, TypeScript 5.8 → 5.9, Storybook 8 → 10
- React 19.1 → 19.2, @mui/material 7.0 → 7.3
- jsdom 26 → 29, @types/node 22 → 25
- ESLint 9.24 → 9.39, eslint-config-viclafouch 4 → 5
- Docusaurus 3.7 → 3.9
- Removed
rollup-plugin-peer-deps-externalandvite-aliases(replaced by native Vite 8 config) - Added
"type": "module"to package.json - Codebase cleanup following project rules (removed redundant comments, added eslint-disable reasons)