@zat-design/sisyphus-react 4.0.5 → 4.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (64) hide show
  1. package/dist/index.esm.css +1 -1
  2. package/dist/less.esm.css +1 -1
  3. package/es/ProDrawerForm/components/ProDrawer/index.js +14 -2
  4. package/es/ProDrawerForm/components/ProModal/index.js +10 -1
  5. package/es/ProEditTable/index.js +1 -1
  6. package/es/ProEnum/index.js +1 -1
  7. package/es/ProForm/components/base/Checkbox/index.js +2 -1
  8. package/es/ProForm/components/base/Input/index.js +75 -17
  9. package/es/ProForm/components/combination/FormList/components/BlockFields.js +2 -2
  10. package/es/ProForm/components/combination/Group/utils/index.d.ts +25 -25
  11. package/es/ProForm/components/render/ChangedWrapper.js +1 -3
  12. package/es/ProForm/style/index.less +18 -0
  13. package/es/ProIcon/index.js +115 -25
  14. package/es/ProIcon/propsTypes.d.ts +17 -11
  15. package/es/ProLayout/components/ProCollapse/index.js +1 -1
  16. package/es/ProLayout/components/ProHeader/index.js +2 -6
  17. package/es/ProSelect/index.js +1 -1
  18. package/es/ProTable/components/RenderColumn/index.js +1 -1
  19. package/es/ProTable/components/RenderTabs/index.js +9 -3
  20. package/es/ProTable/style/index.less +12 -9
  21. package/es/ProThemeTools/component/ProTools/index.js +1 -1
  22. package/es/ProTreeModal/components/List.js +1 -1
  23. package/es/ProTreeModal/components/SortableItem.js +6 -5
  24. package/es/ProTreeModal/components/Trigger.js +34 -13
  25. package/es/ProTreeModal/index.js +54 -14
  26. package/es/ProTreeModal/style/index.less +51 -1
  27. package/es/ProUpload/components/ImageRender.js +1 -1
  28. package/es/ProViewer/index.js +2 -3
  29. package/es/style/core/normalize.less +25 -19
  30. package/es/style/theme/antd.less +0 -9
  31. package/es/style/theme/base.less +1 -1
  32. package/es/style/variables.less +1 -0
  33. package/jest.config.js +2 -0
  34. package/lib/ProDrawerForm/components/ProDrawer/index.js +13 -1
  35. package/lib/ProDrawerForm/components/ProModal/index.js +10 -1
  36. package/lib/ProEditTable/index.js +1 -1
  37. package/lib/ProEnum/index.js +1 -1
  38. package/lib/ProForm/components/base/Checkbox/index.js +2 -1
  39. package/lib/ProForm/components/base/Input/index.js +73 -16
  40. package/lib/ProForm/components/combination/FormList/components/BlockFields.js +2 -2
  41. package/lib/ProForm/components/combination/Group/utils/index.d.ts +25 -25
  42. package/lib/ProForm/components/render/ChangedWrapper.js +1 -3
  43. package/lib/ProForm/style/index.less +18 -0
  44. package/lib/ProIcon/index.js +117 -25
  45. package/lib/ProIcon/propsTypes.d.ts +17 -11
  46. package/lib/ProLayout/components/ProCollapse/index.js +1 -1
  47. package/lib/ProLayout/components/ProHeader/index.js +3 -6
  48. package/lib/ProSelect/index.js +1 -1
  49. package/lib/ProTable/components/RenderColumn/index.js +1 -1
  50. package/lib/ProTable/components/RenderTabs/index.js +9 -3
  51. package/lib/ProTable/style/index.less +12 -9
  52. package/lib/ProThemeTools/component/ProTools/index.js +1 -1
  53. package/lib/ProTreeModal/components/List.js +1 -1
  54. package/lib/ProTreeModal/components/SortableItem.js +6 -5
  55. package/lib/ProTreeModal/components/Trigger.js +34 -13
  56. package/lib/ProTreeModal/index.js +54 -14
  57. package/lib/ProTreeModal/style/index.less +51 -1
  58. package/lib/ProUpload/components/ImageRender.js +1 -1
  59. package/lib/ProViewer/index.js +3 -3
  60. package/lib/style/core/normalize.less +25 -19
  61. package/lib/style/theme/antd.less +0 -9
  62. package/lib/style/theme/base.less +1 -1
  63. package/lib/style/variables.less +1 -0
  64. package/package.json +14 -14
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "4.0.5",
3
+ "version": "4.0.8",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -54,6 +54,9 @@
54
54
  "lint-staged": {
55
55
  "src/**/*.{js,jsx,ts,tsx}": "npm run lint-staged:js"
56
56
  },
57
+ "engines": {
58
+ "node": ">=20.0.0"
59
+ },
57
60
  "browserslist": [
58
61
  "last 2 versions",
59
62
  "Firefox ESR",
@@ -87,7 +90,7 @@
87
90
  "react-svg": "^15.1.7"
88
91
  },
89
92
  "peerDependencies": {
90
- "antd": "^6.0.0",
93
+ "antd": "^6.0.0",
91
94
  "react": "^18.3.0 || ^19.0.0",
92
95
  "react-dom": "^18.3.0 || ^19.0.0",
93
96
  "react-router-dom": "^6.0.0"
@@ -98,7 +101,6 @@
98
101
  "@commitlint/config-conventional": "^12.1.1",
99
102
  "@testing-library/jest-dom": "^6.0.0",
100
103
  "@testing-library/react": "^14.0.0",
101
- "@testing-library/react-hooks": "^8.0.1",
102
104
  "@types/classnames": "^2.3.1",
103
105
  "@types/jest": "^29.5.11",
104
106
  "@types/lodash": "^4.14.171",
@@ -106,23 +108,20 @@
106
108
  "@types/react-dom": "^18.2.0",
107
109
  "@types/react-lazyload": "^3.2.3",
108
110
  "@types/react-resizable": "^3.0.8",
109
- "@typescript-eslint/eslint-plugin": "4.0.1",
110
- "@typescript-eslint/parser": "4.0.1",
111
+ "@typescript-eslint/eslint-plugin": "^7.18.0",
112
+ "@typescript-eslint/parser": "^7.18.0",
111
113
  "@umijs/fabric": "^2.8.1",
112
- "@umijs/preset-react": "^1.8.22",
113
114
  "@umijs/test": "^3.0.5",
114
115
  "@zat-design/login-react": "1.0.25",
115
116
  "babel-plugin-import": "^1.13.8",
116
117
  "babel-plugin-lodash": "^3.3.4",
117
118
  "cross-env": "^7.0.3",
118
- "dumi": "^1.0.9",
119
- "eslint": "7.10.0",
120
- "eslint-config-za": "2.1.0",
121
- "eslint-plugin-babel": "5.3.0",
122
- "eslint-plugin-import": "^2.22.1",
123
- "eslint-plugin-jsx-a11y": "6.2.3",
124
- "eslint-plugin-react": "7.16.0",
125
- "eslint-plugin-react-hooks": "2.2.0",
119
+ "dumi": "^1.1.53",
120
+ "eslint": "^8.57.0",
121
+ "eslint-plugin-import": "^2.29.0",
122
+ "eslint-plugin-jsx-a11y": "^6.9.0",
123
+ "eslint-plugin-react": "^7.34.0",
124
+ "eslint-plugin-react-hooks": "^4.6.0",
126
125
  "eslint-plugin-unused-imports": "^3.0.0",
127
126
  "father": "^4.6.1",
128
127
  "gh-pages": "^3.0.0",
@@ -136,6 +135,7 @@
136
135
  "react": "^18.2.0",
137
136
  "react-dom": "^18.2.0",
138
137
  "react-json-view": "^1.21.3",
138
+ "react-router-dom": "^6.0.0",
139
139
  "stylelint": "13.0.0",
140
140
  "stylelint-checkstyle-formatter": "0.1.2",
141
141
  "typescript": "^4.9.5",