@pigmilcom/a11y 1.0.6 → 1.0.8
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.
Potentially problematic release.
This version of @pigmilcom/a11y might be problematic. Click here for more details.
- package/README.md +1 -23
- package/dist/a11y.cdn.js +368 -5
- package/dist/index.css +347 -634
- package/dist/index.js +35 -35
- package/dist/index.min.css +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.mjs +1 -1
- package/dist/index.mjs +35 -35
- package/package.json +4 -7
- package/src/cdn.jsx +18 -14
package/README.md
CHANGED
|
@@ -115,7 +115,7 @@ import '@pigmilcom/a11y/styles';
|
|
|
115
115
|
```
|
|
116
116
|
|
|
117
117
|
This single import contains both the panel UI styles and all the accessibility
|
|
118
|
-
class rules applied to `<html>`.
|
|
118
|
+
class rules applied to `<html>`.
|
|
119
119
|
|
|
120
120
|
### 2 — Drop in the widget
|
|
121
121
|
|
|
@@ -209,28 +209,6 @@ All rules live in `@pigmilcom/a11y/styles` and can be freely overridden in your
|
|
|
209
209
|
|
|
210
210
|
---
|
|
211
211
|
|
|
212
|
-
## Tailwind CSS users
|
|
213
|
-
|
|
214
|
-
The pre-built `@pigmilcom/a11y/styles` import **already contains all required
|
|
215
|
-
utility styles** — you do not need Tailwind installed.
|
|
216
|
-
|
|
217
|
-
If you _do_ use Tailwind v3 and want to avoid shipping duplicate utility
|
|
218
|
-
declarations, add the package to your `content` scanning paths and skip the
|
|
219
|
-
stylesheet import:
|
|
220
|
-
|
|
221
|
-
```js
|
|
222
|
-
// tailwind.config.js
|
|
223
|
-
export default {
|
|
224
|
-
content: [
|
|
225
|
-
'./src/**/*.{js,jsx,ts,tsx}',
|
|
226
|
-
'./node_modules/@pigmilcom/a11y/dist/**/*.{js,mjs}',
|
|
227
|
-
],
|
|
228
|
-
// …
|
|
229
|
-
};
|
|
230
|
-
```
|
|
231
|
-
|
|
232
|
-
---
|
|
233
|
-
|
|
234
212
|
## Storage
|
|
235
213
|
|
|
236
214
|
Preferences are saved under the `localStorage` key `pgm-a11y` as a JSON
|