@storybook/addon-a11y 10.2.0-alpha.15 → 10.2.0-alpha.17

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.
@@ -128,7 +128,7 @@ var vitestMatchersExtended = !1, decorators = [withVisionSimulator], afterEach =
128
128
  globals,
129
129
  viewMode
130
130
  }) => {
131
- let a11yParameter = parameters2.a11y, a11yGlobals = globals.a11y, shouldRunEnvironmentIndependent = a11yParameter?.disable !== !0 && a11yParameter?.test !== "off" && a11yGlobals?.manual !== !0, getMode = () => {
131
+ let a11yParameter = parameters2.a11y, a11yGlobals = globals.a11y, shouldRunEnvironmentIndependent = !!!globals.ghostStories && a11yParameter?.disable !== !0 && a11yParameter?.test !== "off" && a11yGlobals?.manual !== !0, getMode = () => {
132
132
  switch (a11yParameter?.test) {
133
133
  case "todo":
134
134
  return "warning";
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  preview_exports
3
- } from "./_browser-chunks/chunk-6SD2JYU6.js";
3
+ } from "./_browser-chunks/chunk-2FVV6YOY.js";
4
4
  import {
5
5
  PARAM_KEY
6
6
  } from "./_browser-chunks/chunk-7OPMK7TU.js";
@@ -1,10 +1,10 @@
1
- import CJS_COMPAT_NODE_URL_stl6qim69p from 'node:url';
2
- import CJS_COMPAT_NODE_PATH_stl6qim69p from 'node:path';
3
- import CJS_COMPAT_NODE_MODULE_stl6qim69p from "node:module";
1
+ import CJS_COMPAT_NODE_URL_sxfixx4lbdj from 'node:url';
2
+ import CJS_COMPAT_NODE_PATH_sxfixx4lbdj from 'node:path';
3
+ import CJS_COMPAT_NODE_MODULE_sxfixx4lbdj from "node:module";
4
4
 
5
- var __filename = CJS_COMPAT_NODE_URL_stl6qim69p.fileURLToPath(import.meta.url);
6
- var __dirname = CJS_COMPAT_NODE_PATH_stl6qim69p.dirname(__filename);
7
- var require = CJS_COMPAT_NODE_MODULE_stl6qim69p.createRequire(import.meta.url);
5
+ var __filename = CJS_COMPAT_NODE_URL_sxfixx4lbdj.fileURLToPath(import.meta.url);
6
+ var __dirname = CJS_COMPAT_NODE_PATH_sxfixx4lbdj.dirname(__filename);
7
+ var require = CJS_COMPAT_NODE_MODULE_sxfixx4lbdj.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,7 +3,7 @@ import {
3
3
  decorators,
4
4
  initialGlobals,
5
5
  parameters
6
- } from "./_browser-chunks/chunk-6SD2JYU6.js";
6
+ } from "./_browser-chunks/chunk-2FVV6YOY.js";
7
7
  import "./_browser-chunks/chunk-7OPMK7TU.js";
8
8
  import "./_browser-chunks/chunk-4BE7D4DS.js";
9
9
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-a11y",
3
- "version": "10.2.0-alpha.15",
3
+ "version": "10.2.0-alpha.17",
4
4
  "description": "Storybook Addon A11y: Test UI component compliance with WCAG web accessibility standards",
5
5
  "keywords": [
6
6
  "a11y",
@@ -70,7 +70,7 @@
70
70
  "vitest-axe": "^0.1.0"
71
71
  },
72
72
  "peerDependencies": {
73
- "storybook": "^10.2.0-alpha.15"
73
+ "storybook": "^10.2.0-alpha.17"
74
74
  },
75
75
  "publishConfig": {
76
76
  "access": "public"