@bcgov/design-system-react-components 0.8.1-pr759 → 0.8.1-pr760

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 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
@@ -193,7 +195,11 @@ Then in a local React project folder, use `npm link @bcgov/design-system-react-c
193
195
 
194
196
  ### Linting
195
197
 
196
- ESLint is used for linting. See configuration file `eslint.config.js` and `lint` script in `package.json`.
198
+ ESLint is used for linting TypeScript files. See configuration file `eslint.config.js` and `lint:ts` script in `package.json`.
199
+
200
+ Stylelint is used for linting CSS files. See configuration file `stylelint.config.mjs` and `lint:css` script in `package.json`.
201
+
202
+ The `lint` script in `package.json` runs both the TypeScript and CSS linting in series.
197
203
 
198
204
  ### Formatting
199
205