@cloudbase/weda-ui 3.1.3 → 3.1.7
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/dist/configs/components/carousel.json +2 -2
- package/dist/configs/components/chart/bar.json +3 -0
- package/dist/configs/components/chart/line.json +3 -0
- package/dist/configs/components/chart/pie.json +3 -0
- package/dist/configs/components/form/checkbox.json +1 -0
- package/dist/configs/components/form/form.json +39 -15
- package/dist/configs/components/form/richText.json +17 -9
- package/dist/configs/components/form/select.json +1 -0
- package/dist/web/components/chart/common/core/eChartBar.js +3 -1
- package/dist/web/components/chart/common/core/eChartLine.js +3 -1
- package/dist/web/components/form/checkbox/index.js +1 -1
- package/dist/web/components/form/form/index.css +4 -0
- package/dist/web/components/form/form/index.d.ts +21 -2
- package/dist/web/components/form/form/index.js +90 -16
- package/dist/web/components/form/location/common/mapChoose.js +93 -35
- package/dist/web/components/form/select/dropdown-select/ui.d.ts +15 -0
- package/dist/web/components/form/select/dropdown-select/ui.js +55 -0
- package/dist/web/components/form/select/h5.d.ts +1 -1
- package/dist/web/components/form/select/h5.js +54 -152
- package/dist/web/components/form/select/index.d.ts +1 -1
- package/dist/web/components/form/select/index.js +33 -96
- package/dist/web/components/form/select/use-options.d.ts +26 -0
- package/dist/web/components/form/select/use-options.js +103 -0
- package/dist/web/components/form/uploader/index.css +10 -3
- package/dist/web/components/form/uploader/uploader.h5.d.ts +1 -1
- package/dist/web/components/form/uploader/uploader.h5.js +18 -19
- package/dist/web/components/form/uploader/uploader.pc.js +6 -3
- package/dist/web/components/richText/index.css +20 -6
- package/dist/web/components/richText/index.d.ts +2 -3
- package/dist/web/components/richText/index.js +119 -65
- package/dist/web/components/richText/richtext.module.css +5 -0
- package/dist/web/utils/tcb.d.ts +5 -1
- package/dist/web/utils/tcb.js +26 -3
- package/dist/web/utils/use-cloud-id-temp-url.d.ts +1 -0
- package/dist/web/utils/use-cloud-id-temp-url.js +13 -0
- package/package.json +41 -37
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/weda-ui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.7",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"module": "./dist/index",
|
|
6
6
|
"miniprogram": "mpdist",
|
|
@@ -22,9 +22,9 @@
|
|
|
22
22
|
"test": "npm run test:jest",
|
|
23
23
|
"test:jest": "jest test --env=jsdom",
|
|
24
24
|
"test:watch": "jest test --env=jsdom --watch",
|
|
25
|
-
"test:e2e": "npx cypress run
|
|
25
|
+
"test:e2e": "npx cypress run --component",
|
|
26
26
|
"test:all": "npm run test && npm run test:e2e",
|
|
27
|
-
"e2e": "npx cypress open
|
|
27
|
+
"e2e": "npx cypress open --component",
|
|
28
28
|
"pretest:all": "rimraf .nyc_output || true",
|
|
29
29
|
"posttest:all": "npm run report:combined",
|
|
30
30
|
"mkdir:reports": "mkdir reports || true",
|
|
@@ -64,12 +64,13 @@
|
|
|
64
64
|
"dayjs": "^1.10.7",
|
|
65
65
|
"destr": "^1.1.1",
|
|
66
66
|
"echarts": "^5.3.0",
|
|
67
|
-
"kedao": "0.1.
|
|
67
|
+
"kedao": "^0.1.24",
|
|
68
68
|
"lodash.isequal": "^4.5.0",
|
|
69
69
|
"object.fromentries": "^2.0.5",
|
|
70
70
|
"prop-types": "^15.7.2",
|
|
71
71
|
"react-easy-swipe": "0.0.22",
|
|
72
72
|
"spark-md5": "^3.0.2",
|
|
73
|
+
"swr": "^1.3.0",
|
|
73
74
|
"tdesign-icons-react": "0.0.8",
|
|
74
75
|
"tea-component": "^2.7.3",
|
|
75
76
|
"uuid": "8.3.2",
|
|
@@ -81,69 +82,72 @@
|
|
|
81
82
|
"react": ">=16.8.0"
|
|
82
83
|
},
|
|
83
84
|
"devDependencies": {
|
|
84
|
-
"@babel/preset-env": "^7.
|
|
85
|
-
"@babel/preset-react": "^7.
|
|
86
|
-
"@babel/preset-typescript": "^7.
|
|
87
|
-
"@cloudbase/lowcode-cli": "^0.14.
|
|
85
|
+
"@babel/preset-env": "^7.18.6",
|
|
86
|
+
"@babel/preset-react": "^7.18.6",
|
|
87
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
88
|
+
"@cloudbase/lowcode-cli": "^0.14.4",
|
|
88
89
|
"@commitlint/cli": "^16.0.2",
|
|
89
90
|
"@commitlint/config-conventional": "^17.0.0",
|
|
90
|
-
"@craco/craco": "^
|
|
91
|
-
"@cypress/code-coverage": "^3.
|
|
92
|
-
"@cypress/react": "^
|
|
93
|
-
"@cypress/webpack-dev-server": "~
|
|
91
|
+
"@craco/craco": "^7.0.0-alpha.7",
|
|
92
|
+
"@cypress/code-coverage": "^3.10.0",
|
|
93
|
+
"@cypress/react": "^6.0.0",
|
|
94
|
+
"@cypress/webpack-dev-server": "~2.0.0",
|
|
94
95
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
95
96
|
"@size-limit/preset-big-lib": "^7.0.8",
|
|
96
|
-
"@storybook/addon-actions": "^6.
|
|
97
|
-
"@storybook/addon-essentials": "^6.
|
|
98
|
-
"@storybook/addon-links": "^6.
|
|
99
|
-
"@storybook/addon-storyshots": "^6.
|
|
100
|
-
"@storybook/
|
|
97
|
+
"@storybook/addon-actions": "^6.5.9",
|
|
98
|
+
"@storybook/addon-essentials": "^6.5.9",
|
|
99
|
+
"@storybook/addon-links": "^6.5.9",
|
|
100
|
+
"@storybook/addon-storyshots": "^6.5.9",
|
|
101
|
+
"@storybook/builder-webpack5": "^6.5.9",
|
|
102
|
+
"@storybook/manager-webpack5": "^6.5.9",
|
|
103
|
+
"@storybook/react": "^6.5.9",
|
|
101
104
|
"@swc-node/jest": "^1.5.2",
|
|
102
|
-
"@testing-library/jest-dom": "^5.16.
|
|
103
|
-
"@testing-library/react": "^12.1.
|
|
104
|
-
"@testing-library/react-hooks": "^
|
|
105
|
+
"@testing-library/jest-dom": "^5.16.4",
|
|
106
|
+
"@testing-library/react": "^12.1.5",
|
|
107
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
105
108
|
"@types/jest": "^27.5.1",
|
|
106
109
|
"@types/resize-observer-browser": "^0.1.7",
|
|
107
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
108
|
-
"@typescript-eslint/parser": "^5.
|
|
110
|
+
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
111
|
+
"@typescript-eslint/parser": "^5.30.5",
|
|
109
112
|
"babel-loader": "^8.2.5",
|
|
110
113
|
"babel-plugin-istanbul": "^6.1.1",
|
|
111
114
|
"cross-env": "^7.0.3",
|
|
112
|
-
"cypress": "~
|
|
113
|
-
"eslint": "^8.
|
|
115
|
+
"cypress": "~10.3.0",
|
|
116
|
+
"eslint": "^8.19.0",
|
|
114
117
|
"eslint-config-prettier": "^8.5.0",
|
|
115
118
|
"eslint-config-tencent": "^1.0.4",
|
|
116
|
-
"eslint-import-resolver-typescript": "^2.
|
|
119
|
+
"eslint-import-resolver-typescript": "^3.2.4",
|
|
117
120
|
"eslint-plugin-cypress": "^2.12.1",
|
|
118
121
|
"eslint-plugin-import": "^2.26.0",
|
|
119
|
-
"eslint-plugin-jest": "^26.
|
|
120
|
-
"eslint-plugin-prettier": "^4.
|
|
121
|
-
"eslint-plugin-react": "^7.30.
|
|
122
|
+
"eslint-plugin-jest": "^26.5.3",
|
|
123
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
124
|
+
"eslint-plugin-react": "^7.30.1",
|
|
122
125
|
"eslint-plugin-rulesdir": "^0.2.1",
|
|
126
|
+
"eslint-plugin-storybook": "^0.5.13",
|
|
123
127
|
"husky": "^8.0.1",
|
|
124
128
|
"identity-obj-proxy": "^3.0.0",
|
|
125
129
|
"jest": "^27.5.1",
|
|
126
130
|
"jest-canvas-mock": "^2.4.0",
|
|
127
131
|
"jest-environment-jsdom": "^27",
|
|
128
|
-
"jest-preview": "^0.2.
|
|
132
|
+
"jest-preview": "^0.2.6",
|
|
129
133
|
"miniprogram-simulate": "^1.5.7",
|
|
130
134
|
"nano-staged": "^0.8.0",
|
|
131
135
|
"pinst": "^3.0.0",
|
|
132
|
-
"prettier": "^2.
|
|
136
|
+
"prettier": "^2.7.1",
|
|
133
137
|
"react": "^16",
|
|
134
138
|
"react-dom": "^16",
|
|
135
|
-
"react-scripts": "^
|
|
139
|
+
"react-scripts": "^5.0.1",
|
|
136
140
|
"react-test-renderer": "^16",
|
|
137
141
|
"regenerator-runtime": "^0.13.9",
|
|
138
142
|
"rimraf": "^3.0.2",
|
|
139
143
|
"size-limit": "^7.0.8",
|
|
140
|
-
"swc-loader": "0.
|
|
141
|
-
"swc-plugin-coverage-instrument": "^0.0.
|
|
142
|
-
"ts-loader": "^
|
|
143
|
-
"typescript": "^4.
|
|
144
|
+
"swc-loader": "0.2.3",
|
|
145
|
+
"swc-plugin-coverage-instrument": "^0.0.7",
|
|
146
|
+
"ts-loader": "^9.3.1",
|
|
147
|
+
"typescript": "^4.7.4",
|
|
144
148
|
"webpack": "^5.73.0",
|
|
145
|
-
"webpack-cli": "^4.
|
|
146
|
-
"webpack-dev-server": "^4.9.
|
|
149
|
+
"webpack-cli": "^4.10.0",
|
|
150
|
+
"webpack-dev-server": "^4.9.3",
|
|
147
151
|
"zx": "^5.2.0"
|
|
148
152
|
},
|
|
149
153
|
"nano-staged": {
|