## Description - Add fluid root unit - Add fluid tokens for typography, spacing and sizing - Add docs about Theme - Typography now works by creating a class at the provider level - Update styled component version. Add PickRename interface to work with [transient props](https://styled-components.com/docs/api#transient-props) - Remove the direct use of rootUnit and replace it with sizing tokens - Get rid of some unit test because new version of styled components doesn't work with Jest. Fortunately, we have visual tests. #### PR fixes following issue(s) #24295 #### Type of change - New feature (non-breaking change which adds functionality) #### How Has This Been Tested? > Please describe the tests that you ran to verify your changes. Also list any relevant details for your test configuration. > Delete anything that is not relevant - [x] Manual - [ ] Jest - [ ] Cypress ## 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 - [x] 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>
43 lines
1.4 KiB
JSON
43 lines
1.4 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",
|
|
"chromatic": "chromatic --project-token CHROMATIC_PROJECT_TOKEN"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.21.0",
|
|
"@babel/preset-env": "^7.20.2",
|
|
"@babel/preset-react": "^7.18.6",
|
|
"@babel/preset-typescript": "^7.21.0",
|
|
"@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-webpack5": "^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": "9.1.2",
|
|
"chromatic": "^6.19.8",
|
|
"postcss": "^8.4.23",
|
|
"storybook-addon-pseudo-states": "^1.15.2",
|
|
"storybook-color-picker": "^3.1.0",
|
|
"tsconfig-paths-webpack-plugin": "^4.0.1"
|
|
},
|
|
"dependencies": {
|
|
"colorjs.io": "^0.4.3",
|
|
"react-docgen-typescript": "^2.2.2"
|
|
}
|
|
}
|