## Description 1. Moved `wds` to the `design-system` folder. 2. Added `headless` package and `HeadlessButton`. 3. Added `theming` package. `ThemeProvider` and two classes were created to work with tokens([TokensAccessor](https://github.com/appsmithorg/appsmith/pull/21849/files#diff-58832e8b8e8017648929473a90eb716e6a2671ba1749be3d4c5665b093bc3dc3)) and colors([ColorsAccessor](https://github.com/appsmithorg/appsmith/pull/21849/files#diff-f515e0eefc418c8bfc0710572e83a0029bd94f2fb975853f71730e5b11c774bd)) 5. The token structure has been changed. The same class(TokensAccessor) is now used to create CSS variables and tokens for Figma([themeTokens.json](https://github.com/appsmithorg/appsmith/pull/21849/files#diff-5ad75b848cb4254c0bd0bb0bf6a89eeccb628dc0012752172654e12e62d570d9)) The final storybook is [here](https://widget-design-system-b1p6g13iq-get-appsmith.vercel.app/?path=/story/design-system-widgets--button). ## Type of change - New feature (non-breaking change which adds functionality) - Chore (housekeeping or task changes that don't impact user perception) - This change requires a documentation update ## How Has This Been Tested? - Manual ## Checklist: ### Dev activity - [x] My code follows the style guidelines of this project - [x] I have performed a self-review of my own code - [x] I have commented my code, particularly in hard-to-understand areas - [ ] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [ ] I have added tests that prove my fix is effective or that my feature works - [x] New and existing unit tests pass locally with my changes - [ ] PR is being merged under a feature flag --------- Co-authored-by: Valera Melnikov <melnikov.vv@greendatasoft.ru>
47 lines
1.5 KiB
JSON
47 lines
1.5 KiB
JSON
{
|
|
"name": "@design-system/storybook",
|
|
"version": "1.0.0",
|
|
"main": "src/index.ts",
|
|
"author": "Valera Melnikov <valera@appsmith.com>, Pawan Kumar <pawan@appsmith.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"storybook": "start-storybook -p 6006",
|
|
"build": "build-storybook",
|
|
"lint:ci": "echo 'No lint specified'",
|
|
"prettier:ci": "echo 'No prettier specified'"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.20.12",
|
|
"@storybook/addon-actions": "^6.5.16",
|
|
"@storybook/addon-essentials": "^6.5.16",
|
|
"@storybook/addon-interactions": "^6.5.16",
|
|
"@storybook/addon-links": "^6.5.16",
|
|
"@storybook/addon-postcss": "^2.0.0",
|
|
"@storybook/builder-webpack4": "^6.5.16",
|
|
"@storybook/builder-webpack5": "^6.5.16",
|
|
"@storybook/manager-webpack4": "^6.5.16",
|
|
"@storybook/manager-webpack5": "^6.5.16",
|
|
"@storybook/node-logger": "^6.5.16",
|
|
"@storybook/preset-create-react-app": "^4.1.2",
|
|
"@storybook/react": "^6.5.16",
|
|
"@storybook/testing-library": "^0.0.13",
|
|
"@types/react": "^17.0.2",
|
|
"@types/react-dom": "^17.0.2",
|
|
"autoprefixer": "^9.0.0",
|
|
"babel-loader": "^8.3.0",
|
|
"postcss": "^8",
|
|
"re-resizable": "^6.9.9",
|
|
"storybook-addon-pseudo-states": "^1.15.2",
|
|
"storybook-color-picker": "^3.1.0",
|
|
"tsconfig-paths-webpack-plugin": "^3.5.2"
|
|
},
|
|
"dependencies": {
|
|
"@capsizecss/core": "^3.1.0",
|
|
"@capsizecss/metrics": "^1.0.1",
|
|
"colorjs.io": "^0.4.3",
|
|
"react": "^17.0.2",
|
|
"react-docgen-typescript": "^2.2.2",
|
|
"react-dom": "^17.0.2"
|
|
}
|
|
}
|