salesforce / design-system-react

Salesforce Lightning Design System for React
https://react.lightningdesignsystem.com/
BSD 3-Clause "New" or "Revised" License
909 stars 411 forks source link

Update react-modal library version from 3.14.3 to 3.16.1 #3111

Open anujsingla opened 1 year ago

anujsingla commented 1 year ago

Update react-modal library version from 3.14.3 to 3.16.1 When we try to update react version from 17 to 18 then, I get a warning in the console:

npm WARN react-modal@3.14.3 requires a peer of react@^0.14.0 || ^15.0.0 || ^16 || ^17 but none is installed. You must install peer dependencies yourself. npm WARN react-modal@3.14.3 requires a peer of react-dom@^0.14.0 || ^15.0.0 || ^16 || ^17 but none is installed. You must install peer dependencies yourself.

https://github.com/salesforce/design-system-react/blob/master/package.json#L107

In the latest version, they are supporting react 18 version https://github.com/reactjs/react-modal/blob/master/package.json#L73