Skip to content

Commit

Permalink
Adding storybook a11y plugin (MetaMask#258)
Browse files Browse the repository at this point in the history
* Upgrading storybook to v6.5.13

* Adding a11y plugin
  • Loading branch information
georgewrmarshall authored Nov 29, 2022
1 parent 84a779d commit 40dfbc3
Show file tree
Hide file tree
Showing 4 changed files with 397 additions and 329 deletions.
1 change: 1 addition & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ module.exports = {
'@storybook/addon-links',
'@storybook/addon-essentials',
'@storybook/preset-scss',
'@storybook/addon-a11y',
],
framework: '@storybook/react',
};
2 changes: 1 addition & 1 deletion docs/ThemeColors.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React from 'react';
import { ComponentStory, ComponentMeta } from '@storybook/react';

import { ColorSwatchGroup, Text } from './components';
import { ColorSwatchGroup } from './components';
import README from './ThemeColors.mdx';

import tokens from '../src/figma/tokens.json';
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@
"@metamask/eslint-config-jest": "^9.0.0",
"@metamask/eslint-config-nodejs": "^9.0.0",
"@metamask/eslint-config-typescript": "^9.0.1",
"@storybook/addon-actions": "^6.5.10",
"@storybook/addon-essentials": "^6.5.10",
"@storybook/addon-links": "^6.5.10",
"@storybook/addon-a11y": "^6.5.13",
"@storybook/addon-actions": "^6.5.13",
"@storybook/addon-essentials": "^6.5.13",
"@storybook/addon-links": "^6.5.13",
"@storybook/preset-scss": "^1.0.3",
"@storybook/react": "^6.5.10",
"@storybook/react": "^6.5.13",
"@types/jest": "^26.0.13",
"@typescript-eslint/eslint-plugin": "^4.21.0",
"@typescript-eslint/parser": "^4.21.0",
Expand All @@ -62,7 +63,7 @@
"eslint-plugin-jsdoc": "^36.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-storybook": "^0.6.3",
"eslint-plugin-storybook": "^0.6.7",
"jest": "^26.4.2",
"node-fetch": "^2.6.0",
"prettier": "^2.2.1",
Expand Down
Loading

0 comments on commit 40dfbc3

Please sign in to comment.