@cloudbase/weda-ui 3.1.1 → 3.1.4
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/asset-manifest.json +17 -0
- package/dist/configs/components/carousel.json +2 -2
- package/dist/configs/components/form/checkbox.json +1 -0
- package/dist/configs/components/form/form.json +39 -15
- package/dist/configs/components/form/location.json +0 -32
- package/dist/configs/components/form/select.json +1 -0
- package/dist/index.html +88 -0
- package/dist/static/js/bundle.js +963 -0
- package/dist/static/js/bundle.js.map +1 -0
- package/dist/static/js/main.chunk.js +8841 -0
- package/dist/static/js/main.chunk.js.map +1 -0
- package/dist/static/js/vendors~main.chunk.js +247885 -0
- package/dist/static/js/vendors~main.chunk.js.map +1 -0
- package/dist/static/media/ef6fa527e24e354765d806b826b41391.fa67580a.svg +627 -0
- package/dist/web/components/chart/common/core/eChartBar.d.ts +36 -0
- package/dist/web/components/chart/common/core/eChartBar.js +3 -1
- package/dist/web/components/chart/common/core/eChartLine.d.ts +34 -0
- package/dist/web/components/chart/common/core/eChartLine.js +3 -1
- package/dist/web/components/chart/common/core/eChartPie.d.ts +22 -0
- 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 +97 -35
- package/dist/web/components/form/location/common/propsConfig.d.ts +1 -4
- package/dist/web/components/form/location/common/propsConfig.js +0 -2
- package/dist/web/components/form/location/common/useLocationInfo.d.ts +2 -0
- package/dist/web/components/form/location/common/useLocationInfo.js +19 -3
- package/dist/web/components/form/location/components/LocationH5/index.css +1 -1
- package/dist/web/components/form/location/components/LocationH5/location.h5.js +30 -54
- package/dist/web/components/form/location/components/LocationPC/location.PC.js +16 -51
- 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 -150
- package/dist/web/components/form/select/index.d.ts +1 -1
- package/dist/web/components/form/select/index.js +33 -94
- 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.js +20 -17
- package/dist/web/utils/isObjectEqual.d.ts +1 -1
- package/dist/web/utils/tcb.d.ts +5 -1
- package/dist/web/utils/tcb.js +26 -3
- package/package.json +41 -39
- package/CHANGELOG.md +0 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudbase/weda-ui",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.4",
|
|
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",
|
|
@@ -81,70 +81,72 @@
|
|
|
81
81
|
"react": ">=16.8.0"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
|
-
"@babel/preset-env": "^7.
|
|
85
|
-
"@babel/preset-react": "^7.
|
|
86
|
-
"@babel/preset-typescript": "^7.
|
|
87
|
-
"@cloudbase/lowcode-cli": "^0.14.
|
|
84
|
+
"@babel/preset-env": "^7.18.6",
|
|
85
|
+
"@babel/preset-react": "^7.18.6",
|
|
86
|
+
"@babel/preset-typescript": "^7.18.6",
|
|
87
|
+
"@cloudbase/lowcode-cli": "^0.14.4",
|
|
88
88
|
"@commitlint/cli": "^16.0.2",
|
|
89
89
|
"@commitlint/config-conventional": "^17.0.0",
|
|
90
|
-
"@craco/craco": "^
|
|
91
|
-
"@cypress/code-coverage": "^3.
|
|
92
|
-
"@cypress/react": "^
|
|
93
|
-
"@cypress/webpack-dev-server": "~
|
|
90
|
+
"@craco/craco": "^7.0.0-alpha.7",
|
|
91
|
+
"@cypress/code-coverage": "^3.10.0",
|
|
92
|
+
"@cypress/react": "^6.0.0",
|
|
93
|
+
"@cypress/webpack-dev-server": "~2.0.0",
|
|
94
94
|
"@istanbuljs/nyc-config-typescript": "^1.0.2",
|
|
95
95
|
"@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/
|
|
96
|
+
"@storybook/addon-actions": "^6.5.9",
|
|
97
|
+
"@storybook/addon-essentials": "^6.5.9",
|
|
98
|
+
"@storybook/addon-links": "^6.5.9",
|
|
99
|
+
"@storybook/addon-storyshots": "^6.5.9",
|
|
100
|
+
"@storybook/builder-webpack5": "^6.5.9",
|
|
101
|
+
"@storybook/manager-webpack5": "^6.5.9",
|
|
102
|
+
"@storybook/react": "^6.5.9",
|
|
101
103
|
"@swc-node/jest": "^1.5.2",
|
|
102
|
-
"@testing-library/jest-dom": "^5.16.
|
|
103
|
-
"@testing-library/react": "^12.1.
|
|
104
|
-
"@testing-library/react-hooks": "^
|
|
104
|
+
"@testing-library/jest-dom": "^5.16.4",
|
|
105
|
+
"@testing-library/react": "^12.1.5",
|
|
106
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
105
107
|
"@types/jest": "^27.5.1",
|
|
106
108
|
"@types/resize-observer-browser": "^0.1.7",
|
|
107
|
-
"@typescript-eslint/eslint-plugin": "^5.
|
|
108
|
-
"@typescript-eslint/parser": "^5.
|
|
109
|
+
"@typescript-eslint/eslint-plugin": "^5.30.5",
|
|
110
|
+
"@typescript-eslint/parser": "^5.30.5",
|
|
109
111
|
"babel-loader": "^8.2.5",
|
|
110
112
|
"babel-plugin-istanbul": "^6.1.1",
|
|
111
113
|
"cross-env": "^7.0.3",
|
|
112
|
-
"cypress": "~
|
|
113
|
-
"eslint": "^8.
|
|
114
|
+
"cypress": "~10.3.0",
|
|
115
|
+
"eslint": "^8.19.0",
|
|
114
116
|
"eslint-config-prettier": "^8.5.0",
|
|
115
117
|
"eslint-config-tencent": "^1.0.4",
|
|
116
|
-
"eslint-import-resolver-typescript": "^2.
|
|
118
|
+
"eslint-import-resolver-typescript": "^3.2.4",
|
|
117
119
|
"eslint-plugin-cypress": "^2.12.1",
|
|
118
120
|
"eslint-plugin-import": "^2.26.0",
|
|
119
|
-
"eslint-plugin-jest": "^26.
|
|
120
|
-
"eslint-plugin-prettier": "^4.
|
|
121
|
-
"eslint-plugin-react": "^7.30.
|
|
121
|
+
"eslint-plugin-jest": "^26.5.3",
|
|
122
|
+
"eslint-plugin-prettier": "^4.2.1",
|
|
123
|
+
"eslint-plugin-react": "^7.30.1",
|
|
122
124
|
"eslint-plugin-rulesdir": "^0.2.1",
|
|
125
|
+
"eslint-plugin-storybook": "^0.5.13",
|
|
123
126
|
"husky": "^8.0.1",
|
|
124
127
|
"identity-obj-proxy": "^3.0.0",
|
|
125
128
|
"jest": "^27.5.1",
|
|
126
129
|
"jest-canvas-mock": "^2.4.0",
|
|
127
130
|
"jest-environment-jsdom": "^27",
|
|
128
|
-
"jest-preview": "^0.2.
|
|
129
|
-
"less": "^4.1.2",
|
|
131
|
+
"jest-preview": "^0.2.6",
|
|
130
132
|
"miniprogram-simulate": "^1.5.7",
|
|
131
133
|
"nano-staged": "^0.8.0",
|
|
132
134
|
"pinst": "^3.0.0",
|
|
133
|
-
"prettier": "^2.
|
|
135
|
+
"prettier": "^2.7.1",
|
|
134
136
|
"react": "^16",
|
|
135
137
|
"react-dom": "^16",
|
|
136
|
-
"react-scripts": "^
|
|
138
|
+
"react-scripts": "^5.0.1",
|
|
137
139
|
"react-test-renderer": "^16",
|
|
138
140
|
"regenerator-runtime": "^0.13.9",
|
|
139
141
|
"rimraf": "^3.0.2",
|
|
140
142
|
"size-limit": "^7.0.8",
|
|
141
|
-
"swc-loader": "0.
|
|
142
|
-
"swc-plugin-coverage-instrument": "^0.0.
|
|
143
|
-
"ts-loader": "^
|
|
144
|
-
"typescript": "^4.
|
|
145
|
-
"webpack": "
|
|
146
|
-
"webpack-cli": "^4.
|
|
147
|
-
"webpack-dev-server": "^4.9.
|
|
143
|
+
"swc-loader": "0.2.3",
|
|
144
|
+
"swc-plugin-coverage-instrument": "^0.0.7",
|
|
145
|
+
"ts-loader": "^9.3.1",
|
|
146
|
+
"typescript": "^4.7.4",
|
|
147
|
+
"webpack": "^5.73.0",
|
|
148
|
+
"webpack-cli": "^4.10.0",
|
|
149
|
+
"webpack-dev-server": "^4.9.3",
|
|
148
150
|
"zx": "^5.2.0"
|
|
149
151
|
},
|
|
150
152
|
"nano-staged": {
|
|
@@ -168,4 +170,4 @@
|
|
|
168
170
|
"excludeAfterRemap": false,
|
|
169
171
|
"report-dir": "cypress-coverage"
|
|
170
172
|
}
|
|
171
|
-
}
|
|
173
|
+
}
|