2023-03-03 06:47:35 +00:00
|
|
|
{
|
2024-08-16 05:49:42 +00:00
|
|
|
"name": "@appsmith/wds",
|
2023-03-03 06:47:35 +00:00
|
|
|
"version": "1.0.0",
|
|
|
|
|
"main": "src/index.ts",
|
|
|
|
|
"author": "Valera Melnikov <valera@appsmith.com>, Pawan Kumar <pawan@appsmith.com>",
|
|
|
|
|
"license": "MIT",
|
2025-02-27 10:35:52 +00:00
|
|
|
"type": "module",
|
|
|
|
|
"files": [
|
|
|
|
|
"build"
|
|
|
|
|
],
|
2023-03-23 11:32:18 +00:00
|
|
|
"scripts": {
|
2023-05-22 12:55:46 +00:00
|
|
|
"lint": "yarn g:lint",
|
|
|
|
|
"prettier": "yarn g:prettier",
|
feat: Tabler Icons (#30248)
Fixes #28443
Fixes #27866
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced `IconSelectControlV2` for enhanced icon selection with
keyboard navigation and state updates.
- Added new `iconStyle` theme property for users to define icon styles
globally.
- Implemented dynamic icon loading with fallback options, improving icon
management.
- **Enhancements**
- Simplified icon usage across various components like `Button`,
`IconButton`, `Menu`, `ModalHeader`, `TextInput`, and more by directly
using icon names.
- Enhanced `Tag` component to use a generic `Icon` component for the
remove action.
- **Style Updates**
- Added CSS classes for resizing, boundary display, and pointer event
handling.
- Updated icon size definitions using CSS custom properties.
- **Bug Fixes**
- Fixed icon-related issues in `Button`, `ActionGroup`, `Menu`, and
`TextInput` components to ensure proper icon display.
- **Documentation**
- Updated storybook and test cases to reflect new icon selection and
usage.
- **Refactor**
- Refactored theme and token management to include `iconStyle` for
consistent icon theming.
- Refined the `ButtonGroupWidget` and `MenuButtonWidget` to use the new
icon selection mechanism.
- **Chores**
- Cleaned up unused icon imports and components across the codebase to
streamline the icon system.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-19 08:54:44 +00:00
|
|
|
"test:unit": "yarn g:jest",
|
2025-02-27 10:35:52 +00:00
|
|
|
"build:icons": "npx tsx ./src/scripts/build-icons.ts",
|
|
|
|
|
"build:package": "rm -rf build && rollup -c rollup.config.js"
|
2023-03-23 11:32:18 +00:00
|
|
|
},
|
2023-03-03 06:47:35 +00:00
|
|
|
"dependencies": {
|
2024-08-16 05:49:42 +00:00
|
|
|
"@appsmith/wds-headless": "workspace:^",
|
|
|
|
|
"@appsmith/wds-theming": "workspace:^",
|
2023-10-06 06:59:02 +00:00
|
|
|
"@emotion/css": "^11.11.2",
|
2024-09-30 09:28:46 +00:00
|
|
|
"@floating-ui/react": "^0.26.24",
|
|
|
|
|
"@react-aria/focus": "^3.18.2",
|
2023-04-18 11:51:56 +00:00
|
|
|
"@react-aria/utils": "^3.16.0",
|
2023-05-30 12:37:49 +00:00
|
|
|
"@react-aria/visually-hidden": "^3.8.0",
|
2024-09-30 09:28:46 +00:00
|
|
|
"@react-spectrum/utils": "^3.11.10",
|
|
|
|
|
"@react-stately/collections": "^3.10.9",
|
|
|
|
|
"@react-stately/list": "^3.10.8",
|
2023-12-19 13:04:27 +00:00
|
|
|
"@react-types/actiongroup": "^3.4.6",
|
2024-05-24 12:58:45 +00:00
|
|
|
"@react-types/shared": "^3.23.1",
|
2024-07-22 08:56:07 +00:00
|
|
|
"@tabler/icons-react": "^3.10.0",
|
2023-09-22 07:14:58 +00:00
|
|
|
"clsx": "^2.0.0",
|
2025-03-11 11:33:25 +00:00
|
|
|
"lodash": ">=4.17.21",
|
2025-03-18 07:33:21 +00:00
|
|
|
"react-aria-components": "^1.7.1",
|
2024-10-03 11:26:18 +00:00
|
|
|
"react-markdown": "^9.0.1",
|
2024-10-14 05:50:21 +00:00
|
|
|
"react-syntax-highlighter": "^15.5.0",
|
2024-11-15 11:53:37 +00:00
|
|
|
"react-transition-group": "^4.4.5",
|
2024-12-06 11:30:02 +00:00
|
|
|
"remark-gfm": "^4.0.0",
|
|
|
|
|
"usehooks-ts": "*"
|
2023-04-05 12:39:11 +00:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
2025-03-20 12:09:13 +00:00
|
|
|
"@babel/core": "^7.26.10",
|
2025-02-27 10:35:52 +00:00
|
|
|
"@babel/helper-compilation-targets": "^7.26.5",
|
|
|
|
|
"@babel/preset-env": "^7.26.9",
|
|
|
|
|
"@babel/preset-react": "^7.26.3",
|
|
|
|
|
"@babel/preset-typescript": "^7.26.0",
|
2025-03-20 12:09:13 +00:00
|
|
|
"@babel/runtime": "^7.26.10",
|
2025-02-27 10:35:52 +00:00
|
|
|
"@rollup/plugin-babel": "^6.0.4",
|
|
|
|
|
"@rollup/plugin-commonjs": "^28.0.2",
|
|
|
|
|
"@rollup/plugin-image": "^3.0.3",
|
|
|
|
|
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
|
|
|
"@rollup/plugin-replace": "^6.0.2",
|
|
|
|
|
"@rollup/plugin-terser": "^0.4.4",
|
|
|
|
|
"@rollup/plugin-typescript": "^12.1.2",
|
|
|
|
|
"@rollup/plugin-url": "^8.0.2",
|
feat: Tabler Icons (#30248)
Fixes #28443
Fixes #27866
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Introduced `IconSelectControlV2` for enhanced icon selection with
keyboard navigation and state updates.
- Added new `iconStyle` theme property for users to define icon styles
globally.
- Implemented dynamic icon loading with fallback options, improving icon
management.
- **Enhancements**
- Simplified icon usage across various components like `Button`,
`IconButton`, `Menu`, `ModalHeader`, `TextInput`, and more by directly
using icon names.
- Enhanced `Tag` component to use a generic `Icon` component for the
remove action.
- **Style Updates**
- Added CSS classes for resizing, boundary display, and pointer event
handling.
- Updated icon size definitions using CSS custom properties.
- **Bug Fixes**
- Fixed icon-related issues in `Button`, `ActionGroup`, `Menu`, and
`TextInput` components to ensure proper icon display.
- **Documentation**
- Updated storybook and test cases to reflect new icon selection and
usage.
- **Refactor**
- Refactored theme and token management to include `iconStyle` for
consistent icon theming.
- Refined the `ButtonGroupWidget` and `MenuButtonWidget` to use the new
icon selection mechanism.
- **Chores**
- Cleaned up unused icon imports and components across the codebase to
streamline the icon system.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
2024-01-19 08:54:44 +00:00
|
|
|
"@types/fs-extra": "^11.0.4",
|
2024-10-03 11:26:18 +00:00
|
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
2025-02-27 10:35:52 +00:00
|
|
|
"@types/react-transition-group": "^4.4.12",
|
|
|
|
|
"browserslist": "^4.24.4",
|
|
|
|
|
"eslint-plugin-storybook": "^0.11.3",
|
|
|
|
|
"postcss-import": "^16.1.0",
|
|
|
|
|
"rollup": "^4.34.8",
|
|
|
|
|
"rollup-plugin-copy": "^3.5.0",
|
|
|
|
|
"rollup-plugin-postcss": "^4.0.2"
|
2023-04-05 12:39:11 +00:00
|
|
|
},
|
|
|
|
|
"peerDependencies": {
|
2025-02-27 10:35:52 +00:00
|
|
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0",
|
|
|
|
|
"react-dom": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
2023-03-03 06:47:35 +00:00
|
|
|
}
|
|
|
|
|
}
|