acud 1.0.0 → 1.0.3
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.
- package/CHANGELOG.md +183 -0
- package/dist/acud.css +70 -36
- package/dist/acud.css.map +1 -1
- package/dist/acud.js +19837 -31243
- package/dist/acud.js.map +1 -1
- package/dist/acud.min.css +1 -1
- package/dist/acud.min.css.map +1 -1
- package/dist/acud.min.js +8 -86
- package/dist/acud.min.js.map +1 -1
- package/es/button/style/index.css +3 -0
- package/es/button/style/mixin.less +1 -0
- package/es/config-provider/renderEmpty.js +8 -0
- package/es/empty/style/index.css +1 -1
- package/es/empty/style/index.less +1 -1
- package/es/locale/en_US.js +3 -1
- package/es/locale/zh_CN.js +3 -1
- package/es/locale-provider/index.d.ts +2 -0
- package/es/locale-provider/index.js +13 -2
- package/es/menu/MenuHead.js +2 -1
- package/es/menu/globalSilderBar.d.ts +1 -0
- package/es/menu/globalSilderBar.js +4 -2
- package/es/menu/style/index.css +34 -18
- package/es/menu/style/index.less +32 -15
- package/es/menu/style/sider.less +1 -0
- package/es/modal/DialogBox.js +27 -2
- package/es/modal/Modal.js +10 -4
- package/es/modal/dialog.js +4 -12
- package/es/modal/index.d.ts +4 -1
- package/es/modal/locale.d.ts +9 -0
- package/es/modal/locale.js +11 -0
- package/es/pagination/style/index.css +3 -0
- package/es/radio/Radio.d.ts +1 -0
- package/es/radio/RadioButton.js +12 -3
- package/es/select/src/OptionList.d.ts +1 -0
- package/es/select/src/OptionList.js +17 -8
- package/es/select/src/generate.d.ts +1 -0
- package/es/select/src/generate.js +4 -2
- package/es/select/style/index.css +18 -6
- package/es/select/style/index.less +16 -9
- package/es/select/style/multiple.less +4 -1
- package/es/style/themes/default/components/menu.less +4 -4
- package/es/table/hooks/useFilter/FilterDropdown.js +25 -15
- package/es/table/style/base.less +7 -2
- package/es/table/style/index.css +9 -5
- package/es/table/style/index.less +4 -3
- package/es/tree/tree.d.ts +1 -4
- package/es/upload/style/index.css +1 -5
- package/es/upload/style/index.less +3 -2
- package/lib/button/style/index.css +3 -0
- package/lib/button/style/mixin.less +1 -0
- package/lib/config-provider/renderEmpty.js +9 -0
- package/lib/empty/style/index.css +1 -1
- package/lib/empty/style/index.less +1 -1
- package/lib/locale/en_US.js +3 -1
- package/lib/locale/zh_CN.js +3 -1
- package/lib/locale-provider/index.d.ts +2 -0
- package/lib/locale-provider/index.js +14 -2
- package/lib/menu/MenuHead.js +2 -1
- package/lib/menu/globalSilderBar.d.ts +1 -0
- package/lib/menu/globalSilderBar.js +4 -2
- package/lib/menu/style/index.css +34 -18
- package/lib/menu/style/index.less +32 -15
- package/lib/menu/style/sider.less +1 -0
- package/lib/modal/DialogBox.js +29 -2
- package/lib/modal/Modal.js +12 -4
- package/lib/modal/dialog.js +4 -12
- package/lib/modal/index.d.ts +4 -1
- package/lib/modal/locale.d.ts +9 -0
- package/lib/modal/locale.js +26 -0
- package/lib/pagination/style/index.css +3 -0
- package/lib/radio/Radio.d.ts +1 -0
- package/lib/radio/RadioButton.js +12 -3
- package/lib/select/src/OptionList.d.ts +1 -0
- package/lib/select/src/OptionList.js +17 -8
- package/lib/select/src/generate.d.ts +1 -0
- package/lib/select/src/generate.js +4 -2
- package/lib/select/style/index.css +18 -6
- package/lib/select/style/index.less +16 -9
- package/lib/select/style/multiple.less +4 -1
- package/lib/style/themes/default/components/menu.less +4 -4
- package/lib/table/hooks/useFilter/FilterDropdown.js +25 -15
- package/lib/table/style/base.less +7 -2
- package/lib/table/style/index.css +9 -5
- package/lib/table/style/index.less +4 -3
- package/lib/tree/tree.d.ts +1 -4
- package/lib/upload/style/index.css +1 -5
- package/lib/upload/style/index.less +3 -2
- package/package.json +14 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "acud",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "acg react 组件库",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "es/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"lint-fix:script": "npm run lint:script -- --fix",
|
|
23
23
|
"lint-fix:style": "npm run lint:style -- --fix",
|
|
24
24
|
"prepublishOnly": "npm run build",
|
|
25
|
-
"pub": "
|
|
25
|
+
"pub": "node ./scripts/publish.js"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"acud-icon": "^1.0.1",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"rc-tabs": "^11.9.1",
|
|
47
47
|
"rc-textarea": "^0.3.4",
|
|
48
48
|
"rc-tooltip": "^5.1.1",
|
|
49
|
-
"rc-tree": "^5.
|
|
49
|
+
"rc-tree": "^5.6.5",
|
|
50
50
|
"rc-tree-select": "^5.4.0",
|
|
51
51
|
"rc-trigger": "^5.2.10",
|
|
52
52
|
"rc-util": "5.19.2",
|
|
@@ -74,6 +74,8 @@
|
|
|
74
74
|
"@babel/plugin-transform-typescript": "^7.14.3",
|
|
75
75
|
"@babel/preset-env": "^7.14.2",
|
|
76
76
|
"@babel/preset-react": "^7.13.13",
|
|
77
|
+
"@commitlint/cli": "^17.0.3",
|
|
78
|
+
"@commitlint/config-conventional": "^17.0.3",
|
|
77
79
|
"@ecomfe/eslint-config": "^7.1.0",
|
|
78
80
|
"@ecomfe/stylelint-config": "^1.1.1",
|
|
79
81
|
"@types/classnames": "^2.3.1",
|
|
@@ -118,8 +120,10 @@
|
|
|
118
120
|
"gulp-strip-code": "^0.1.4",
|
|
119
121
|
"gulp-typescript": "^5.0.1",
|
|
120
122
|
"gulp-watch": "^5.0.1",
|
|
123
|
+
"husky": "^8.0.1",
|
|
121
124
|
"ignore-emit-webpack-plugin": "^2.0.6",
|
|
122
125
|
"immutability-helper": "^3.1.1",
|
|
126
|
+
"inquirer": "^9.0.0",
|
|
123
127
|
"is-windows": "^1.0.2",
|
|
124
128
|
"jest": "27.0.0-next.1",
|
|
125
129
|
"jsonml.js": "^0.1.0",
|
|
@@ -127,6 +131,7 @@
|
|
|
127
131
|
"less-loader": "^7.1.0",
|
|
128
132
|
"less-plugin-npm-import": "^2.1.0",
|
|
129
133
|
"less-vars-to-js": "^1.3.0",
|
|
134
|
+
"lint-staged": "^13.0.3",
|
|
130
135
|
"majo": "^0.9.1",
|
|
131
136
|
"mark-twain": "^2.0.3",
|
|
132
137
|
"merge2": "^1.2.3",
|
|
@@ -154,6 +159,8 @@
|
|
|
154
159
|
"remark-stringify": "^8.0.0",
|
|
155
160
|
"remark-yaml-config": "^4.1.0",
|
|
156
161
|
"rimraf": "^3.0.0",
|
|
162
|
+
"semver-parser": "^3.0.0",
|
|
163
|
+
"standard-version": "^9.5.0",
|
|
157
164
|
"string-replace-loader": "^3.0.1",
|
|
158
165
|
"stylelint": "^13.13.1",
|
|
159
166
|
"stylelint-config-prettier": "^8.0.0",
|
|
@@ -192,5 +199,8 @@
|
|
|
192
199
|
"lib",
|
|
193
200
|
"es"
|
|
194
201
|
],
|
|
195
|
-
"license": "ISC"
|
|
202
|
+
"license": "ISC",
|
|
203
|
+
"lint-staged": {
|
|
204
|
+
"components/**/*.{ts,tsx,js,jsx}": "npm run lint"
|
|
205
|
+
}
|
|
196
206
|
}
|