Fixes #29134 <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit - **New Features** - Introduced `TagGroup` and `Tag` components with features like label, description, error message, and tag removal options. - Added new stories for `TagGroup` to demonstrate various configurations and use cases. - **Enhancements** - Updated `Switch` component with improved validation logic. - Enhanced `TextArea` initialization to handle undefined default values more gracefully. - Added `validationState` property to `HelpText` and `Field` components to support form validation states. - **Style Updates** - Implemented new CSS styles for `TagGroup` and `Tag` components to improve UI consistency and interactivity. - **Documentation** - Expanded Storybook documentation with examples and usage guidelines for `TagGroup` and `Tag` components. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"name": "@design-system/headless",
|
|
"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"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/react": "^0.24.0",
|
|
"@react-aria/button": "^3.7.0",
|
|
"@react-aria/checkbox": "^3.9.0",
|
|
"@react-aria/focus": "^3.11.0",
|
|
"@react-aria/interactions": "^3.14.0",
|
|
"@react-aria/menu": "^3.11.1",
|
|
"@react-aria/radio": "^3.6.1",
|
|
"@react-aria/switch": "^3.5.2",
|
|
"@react-aria/textfield": "^3.11.0",
|
|
"@react-aria/utils": "^3.16.0",
|
|
"@react-aria/visually-hidden": "^3.8.0",
|
|
"@react-spectrum/utils": "^3.9.0",
|
|
"@react-stately/checkbox": "^3.4.1",
|
|
"@react-stately/collections": "^3.10.2",
|
|
"@react-stately/menu": "^3.5.6",
|
|
"@react-stately/radio": "^3.8.1",
|
|
"@react-stately/toggle": "^3.5.1",
|
|
"@react-types/button": "^3.7.1",
|
|
"@react-types/checkbox": "^3.4.3",
|
|
"@react-types/label": "^3.7.3",
|
|
"@react-types/menu": "^3.9.5",
|
|
"@react-types/shared": "^3.22.0",
|
|
"classnames": "*"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
}
|
|
}
|