Skip to content

Commit ca61818

Browse files
committed
docs: fix some changes
1 parent 2b35853 commit ca61818

File tree

5 files changed

+1631
-1980
lines changed

5 files changed

+1631
-1980
lines changed

packages/react/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
node_modules/
22
lib/*
3+
4+
*storybook.log

packages/react/.storybook/main.js

Lines changed: 0 additions & 28 deletions
This file was deleted.

packages/react/package.json

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,36 +10,40 @@
1010
"@babel/preset-env": "^7.10.4",
1111
"@babel/preset-react": "^7.10.4",
1212
"@babel/preset-typescript": "^7.10.4",
13-
"@storybook/preset-typescript": "^3.0.0",
14-
"@storybook/react-vite": "^8.0.10",
13+
"@chromatic-com/storybook": "1.6.1",
14+
"@storybook/addon-essentials": "^8.1.11",
15+
"@storybook/addon-interactions": "^8.1.11",
16+
"@storybook/addon-links": "^8.1.11",
17+
"@storybook/addon-onboarding": "^8.1.11",
18+
"@storybook/blocks": "^8.1.11",
19+
"@storybook/react": "^8.1.11",
20+
"@storybook/react-vite": "^8.1.11",
21+
"@storybook/test": "^8.1.11",
1522
"@testing-library/jest-dom": "^5.11.1",
1623
"@testing-library/react": "^10.4.7",
1724
"@types/jest": "^26.0.7",
1825
"@types/react": "^16.9.43",
1926
"@vitejs/plugin-react": "^4.2.1",
2027
"babel-loader": "^8.1.0",
21-
"chromatic": "^5.0.0",
28+
"chromatic": "^11.5.5",
2229
"jest": "^26.1.0",
2330
"react": "^16.13.1",
2431
"rollup": "^2.22.1",
2532
"rollup-plugin-typescript2": "^0.27.1",
26-
"storybook": "8.0.10",
27-
"typescript": "^5.4.5",
28-
"vite": "^5.2.11"
33+
"typescript": "^5.4.5"
2934
},
3035
"scripts": {
3136
"build": "rollup -c",
3237
"dev": "yarn build --watch",
3338
"test": "jest --verbose",
3439
"test:watch": "yarn test --watch",
35-
"start-storybook": "storybook dev",
36-
"build-storybook": "storybook build",
3740
"test:chromatic": "chromatic --project-token=\"$CHROMATIC_PROJECT_TOKEN\""
3841
},
3942
"publishConfig": {
4043
"access": "public"
4144
},
4245
"dependencies": {
46+
"@storybook/addon-knobs": "^8.0.1",
4347
"@test.ds.e/foundation": "^1.0.2"
4448
},
4549
"gitHead": "ed66e502dd009938406950b3d81f0d16c41b51b7"

packages/react/src/molecules/Select/Select.stories.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from 'react'
22
import Select from './Select'
3-
import { withA11Y } from '@storybook/addon-a11y'
3+
// import { withA11Y } from '@storybook/addon-a11y'
44

55
// css
66
import '@ds.e/scss/lib/Select.css'
@@ -18,7 +18,7 @@ const options = [{
1818

1919
export default {
2020
title: 'Molecules|Select',
21-
decorators: [withA11Y]
21+
// decorators: [withA11Y]
2222
}
2323

2424
export const Common = () => <Select options={options} />

0 commit comments

Comments
 (0)