@storybook/addon-a11y 6.5.9 → 6.5.10

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.
@@ -89,9 +89,9 @@ function _objectWithoutProperties(source, excluded) { if (source == null) return
89
89
 
90
90
  function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
91
91
 
92
- var colorsByType = [(0, _theming.convert)(_theming.themes.normal).color.negative, // VIOLATION,
93
- (0, _theming.convert)(_theming.themes.normal).color.positive, // PASS,
94
- (0, _theming.convert)(_theming.themes.normal).color.warning // INCOMPLETION,
92
+ var colorsByType = [(0, _theming.convert)(_theming.themes.light).color.negative, // VIOLATION,
93
+ (0, _theming.convert)(_theming.themes.light).color.positive, // PASS,
94
+ (0, _theming.convert)(_theming.themes.light).color.warning // INCOMPLETION,
95
95
  ];
96
96
  var A11yContext = /*#__PURE__*/React.createContext({
97
97
  results: {
@@ -51,9 +51,9 @@ import { themes, convert } from '@storybook/theming';
51
51
  import { useChannel, useStorybookState, useAddonState } from '@storybook/api';
52
52
  import { STORY_CHANGED, STORY_RENDERED } from '@storybook/core-events';
53
53
  import { ADDON_ID, EVENTS } from '../constants';
54
- var colorsByType = [convert(themes.normal).color.negative, // VIOLATION,
55
- convert(themes.normal).color.positive, // PASS,
56
- convert(themes.normal).color.warning // INCOMPLETION,
54
+ var colorsByType = [convert(themes.light).color.negative, // VIOLATION,
55
+ convert(themes.light).color.positive, // PASS,
56
+ convert(themes.light).color.warning // INCOMPLETION,
57
57
  ];
58
58
  export var A11yContext = /*#__PURE__*/React.createContext({
59
59
  results: {
@@ -9,9 +9,9 @@ import { themes, convert } from '@storybook/theming';
9
9
  import { useChannel, useStorybookState, useAddonState } from '@storybook/api';
10
10
  import { STORY_CHANGED, STORY_RENDERED } from '@storybook/core-events';
11
11
  import { ADDON_ID, EVENTS } from '../constants';
12
- const colorsByType = [convert(themes.normal).color.negative, // VIOLATION,
13
- convert(themes.normal).color.positive, // PASS,
14
- convert(themes.normal).color.warning // INCOMPLETION,
12
+ const colorsByType = [convert(themes.light).color.negative, // VIOLATION,
13
+ convert(themes.light).color.positive, // PASS,
14
+ convert(themes.light).color.warning // INCOMPLETION,
15
15
  ];
16
16
  export const A11yContext = /*#__PURE__*/React.createContext({
17
17
  results: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storybook/addon-a11y",
3
- "version": "6.5.9",
3
+ "version": "6.5.10",
4
4
  "description": "Test component compliance with web accessibility standards",
5
5
  "keywords": [
6
6
  "a11y",
@@ -45,14 +45,14 @@
45
45
  "prepare": "node ../../scripts/prepare.js"
46
46
  },
47
47
  "dependencies": {
48
- "@storybook/addons": "6.5.9",
49
- "@storybook/api": "6.5.9",
50
- "@storybook/channels": "6.5.9",
51
- "@storybook/client-logger": "6.5.9",
52
- "@storybook/components": "6.5.9",
53
- "@storybook/core-events": "6.5.9",
48
+ "@storybook/addons": "6.5.10",
49
+ "@storybook/api": "6.5.10",
50
+ "@storybook/channels": "6.5.10",
51
+ "@storybook/client-logger": "6.5.10",
52
+ "@storybook/components": "6.5.10",
53
+ "@storybook/core-events": "6.5.10",
54
54
  "@storybook/csf": "0.0.2--canary.4566f4d.1",
55
- "@storybook/theming": "6.5.9",
55
+ "@storybook/theming": "6.5.10",
56
56
  "axe-core": "^4.2.0",
57
57
  "core-js": "^3.8.2",
58
58
  "global": "^4.4.0",
@@ -81,7 +81,7 @@
81
81
  "publishConfig": {
82
82
  "access": "public"
83
83
  },
84
- "gitHead": "e2673f765722cbb542ef1b5cf8d533c8e746a127",
84
+ "gitHead": "893881ff6f87272c0ab0f21776ef8fef990d0c36",
85
85
  "sbmodern": "dist/modern/index.js",
86
86
  "storybook": {
87
87
  "displayName": "Accessibility",