@storybook/addon-a11y 10.6.0 → 11.0.0-alpha.1

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.
@@ -3,7 +3,7 @@ import {
3
3
  PANEL_ID,
4
4
  filterDefs,
5
5
  filters
6
- } from "./chunk-7OPMK7TU.js";
6
+ } from "./chunk-YE6HEHZH.js";
7
7
  import {
8
8
  __export
9
9
  } from "./chunk-4BE7D4DS.js";
@@ -48,7 +48,7 @@ var filters = {
48
48
  label: "Grayscale",
49
49
  filter: "grayscale(100%)"
50
50
  }
51
- }, filterDefs = `<svg id="storybook-a11y-vision-filters" style="display: none !important;">
51
+ }, filterDefs = `<svg id="storybook-a11y-vision-filters" aria-hidden="true" color-interpolation-filters="sRGB" style="position:absolute;width:0;height:0;overflow:hidden">
52
52
  <defs>
53
53
  <filter id="storybook-a11y-vision-protanopia">
54
54
  <feColorMatrix
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  preview_exports
3
- } from "./_browser-chunks/chunk-P5J2FJ2Z.js";
3
+ } from "./_browser-chunks/chunk-NYNS5KES.js";
4
4
  import {
5
5
  PARAM_KEY
6
- } from "./_browser-chunks/chunk-7OPMK7TU.js";
6
+ } from "./_browser-chunks/chunk-YE6HEHZH.js";
7
7
  import "./_browser-chunks/chunk-4BE7D4DS.js";
8
8
 
9
9
  // src/index.ts
package/dist/manager.js CHANGED
@@ -9,7 +9,7 @@ import {
9
9
  VISION_GLOBAL_KEY,
10
10
  filterDefs,
11
11
  filters
12
- } from "./_browser-chunks/chunk-7OPMK7TU.js";
12
+ } from "./_browser-chunks/chunk-YE6HEHZH.js";
13
13
  import "./_browser-chunks/chunk-4BE7D4DS.js";
14
14
 
15
15
  // src/manager.tsx
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_rh0rhzp4hk from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_rh0rhzp4hk from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_rh0rhzp4hk from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2oay6bqf50n from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2oay6bqf50n from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2oay6bqf50n from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_rh0rhzp4hk.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_rh0rhzp4hk.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_rh0rhzp4hk.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2oay6bqf50n.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2oay6bqf50n.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2oay6bqf50n.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/dist/preset.js CHANGED
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_rh0rhzp4hk from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_rh0rhzp4hk from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_rh0rhzp4hk from "node:module";
1
+ import CJS_COMPAT_NODE_URL_2oay6bqf50n from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_2oay6bqf50n from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_2oay6bqf50n from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_rh0rhzp4hk.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_rh0rhzp4hk.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_rh0rhzp4hk.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_2oay6bqf50n.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_2oay6bqf50n.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_2oay6bqf50n.createRequire(import.meta.url);
8
8
 
9
9
  // ------------------------------------------------------------
10
10
  // end of CJS compatibility banner, injected by Storybook's esbuild configuration
package/dist/preview.js CHANGED
@@ -3,8 +3,8 @@ import {
3
3
  decorators,
4
4
  initialGlobals,
5
5
  parameters
6
- } from "./_browser-chunks/chunk-P5J2FJ2Z.js";
7
- import "./_browser-chunks/chunk-7OPMK7TU.js";
6
+ } from "./_browser-chunks/chunk-NYNS5KES.js";
7
+ import "./_browser-chunks/chunk-YE6HEHZH.js";
8
8
  import "./_browser-chunks/chunk-4BE7D4DS.js";
9
9
  export {
10
10
  afterEach,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-a11y",
3
- "version": "10.6.0",
3
+ "version": "11.0.0-alpha.1",
4
4
  "description": "Storybook Addon A11y: Test UI component compliance with WCAG web accessibility standards",
5
5
  "keywords": [
6
6
  "a11y",
@@ -73,7 +73,7 @@
73
73
  "vitest-axe": "^0.1.0"
74
74
  },
75
75
  "peerDependencies": {
76
- "storybook": "^10.6.0"
76
+ "storybook": "^11.0.0-alpha.1"
77
77
  },
78
78
  "publishConfig": {
79
79
  "access": "public"