## 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>
28 lines
736 B
JSON
28 lines
736 B
JSON
{
|
|
"name": "@design-system/widgets",
|
|
"version": "1.0.0",
|
|
"main": "src/index.ts",
|
|
"author": "Valera Melnikov <valera@appsmith.com>, Pawan Kumar <pawan@appsmith.com>",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"lint": "yarn g:lint",
|
|
"prettier": "yarn g:prettier",
|
|
"test:unit": "yarn g:jest"
|
|
},
|
|
"dependencies": {
|
|
"@design-system/headless": "workspace:^",
|
|
"@design-system/theming": "workspace:^",
|
|
"@react-aria/utils": "^3.16.0",
|
|
"@react-aria/visually-hidden": "^3.8.0",
|
|
"classnames": "*",
|
|
"colorjs.io": "^0.4.3",
|
|
"styled-components": "6.0.2"
|
|
},
|
|
"devDependencies": {
|
|
"eslint-plugin-storybook": "^0.6.10"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
}
|
|
}
|