@bcgov/design-system-react-components 0.8.1-pr840 → 0.8.1-pr849
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/README.md +2 -0
- package/dist/cjs/index.cjs +386 -246
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/esm/index.js +385 -245
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +123 -66
- package/package.json +17 -15
package/README.md
CHANGED
|
@@ -113,6 +113,8 @@ Most components are based on <a href="https://react-aria.adobe.com">React Aria</
|
|
|
113
113
|
|
|
114
114
|
This package has a peer dependency on `react` and `react-dom` at these versions: `"^16.14.0 || ^17.0.0-rc.1 || ^18.0.0 || ^19.0.0"`
|
|
115
115
|
|
|
116
|
+
If using React v16 or v17, you'll need to use an [SSRProvider](https://react-aria.adobe.com/SSRProvider) to prevent errors from components that rely on the [useId hook](https://react-aria.adobe.com/useId).
|
|
117
|
+
|
|
116
118
|
By targeting v16.14.0 as a minimum, we get to use [React's modern JSX transformation](https://legacy.reactjs.org/blog/2020/09/22/introducing-the-new-jsx-transform.html) in `tsconfig.json`:
|
|
117
119
|
|
|
118
120
|
```json
|