@para-ui/core 2.0.22 → 2.1.0-alpha2
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/Accordion/index.js +1 -1
- package/AutoBox/index.js +16 -3
- package/AutoTips/index.js +1 -1
- package/Breadcrumbs/index.js +16 -3
- package/Button/index.js +42 -3
- package/ButtonGroup/index.js +42 -3
- package/Cascader/index.js +29 -3
- package/Checkbox/index.js +2 -2
- package/CheckboxGroup/index.js +2 -2
- package/ColorPicker/index.js +1 -1
- package/ComboSelect/index.js +315 -3
- package/Container/index.js +1 -1
- package/DatePicker/index.js +107 -3
- package/Desktop/index.js +1 -1
- package/Drawer/index.js +1 -1
- package/Form/index.js +185 -3
- package/FormItem/index.js +185 -3
- package/FormItem/validateFunction.d.ts +1 -1
- package/FunctionModal/index.js +107 -3
- package/GlobalContext/index.js +1 -1
- package/Help/index.js +16 -3
- package/IconList/index.js +55 -3
- package/InputLang/index.js +81 -3
- package/InputNumber/index.js +94 -3
- package/Loading/index.js +15 -2
- package/Menu/index.js +42 -3
- package/Message/index.js +55 -3
- package/Modal/index.js +107 -3
- package/MultiBox/index.js +68 -3
- package/Notification/index.js +55 -3
- package/PageHeader/index.js +55 -3
- package/Pagination/index.js +146 -3
- package/ParauiProvider/index.js +2 -2
- package/PopConfirm/index.js +94 -3
- package/Popover/index.js +1 -1
- package/Popper/index.js +1 -1
- package/README.md +7 -0
- package/Radio/index.js +2 -2
- package/RadioGroup/index.js +3 -3
- package/Search/index.js +94 -3
- package/Select/index.js +68 -3
- package/SingleBox/index.js +68 -3
- package/Slider/index.js +1 -1
- package/Split/index.js +1 -1
- package/Stepper/index.js +133 -3
- package/Switch/index.js +16 -3
- package/Table/index.js +237 -3
- package/Tabs/index.js +16 -3
- package/Tag/index.js +29 -3
- package/TextField/index.js +42 -3
- package/TimePicker/index.js +107 -3
- package/Timeline/index.js +1 -1
- package/ToggleButton/index.js +42 -3
- package/Tooltip/index.js +1 -1
- package/Transfer/index.js +120 -3
- package/Tree/index.js +107 -3
- package/Upload/index.js +107 -3
- package/cdn/Accordion/index.js +2 -2
- package/cdn/AutoBox/index.js +16 -3
- package/cdn/AutoTips/index.js +3 -3
- package/cdn/Breadcrumbs/index.js +16 -3
- package/cdn/Button/index.js +42 -3
- package/cdn/ButtonGroup/index.js +43 -4
- package/cdn/Cascader/index.js +29 -3
- package/cdn/Checkbox/index.js +1 -1
- package/cdn/CheckboxGroup/index.js +1 -1
- package/cdn/ColorPicker/index.js +1 -1
- package/cdn/ComboSelect/index.js +319 -7
- package/cdn/Container/index.js +1 -1
- package/cdn/DatePicker/index.js +110 -6
- package/cdn/Desktop/index.js +2 -2
- package/cdn/Drawer/index.js +1 -1
- package/cdn/Form/index.js +186 -4
- package/cdn/FormItem/index.js +186 -4
- package/cdn/FunctionModal/index.js +107 -3
- package/cdn/GlobalContext/index.js +1 -1
- package/cdn/Help/index.js +16 -3
- package/cdn/IconList/index.js +55 -3
- package/cdn/InputLang/index.js +81 -3
- package/cdn/InputNumber/index.js +94 -3
- package/cdn/Loading/index.js +14 -1
- package/cdn/Menu/index.js +42 -3
- package/cdn/Message/index.js +53 -1
- package/cdn/Modal/index.js +107 -3
- package/cdn/MultiBox/index.js +68 -3
- package/cdn/Notification/index.js +55 -3
- package/cdn/PageHeader/index.js +56 -4
- package/cdn/Pagination/index.js +147 -4
- package/cdn/ParauiProvider/index.js +2 -2
- package/cdn/PopConfirm/index.js +94 -3
- package/cdn/Popover/index.js +3 -3
- package/cdn/Popper/index.js +2 -2
- package/cdn/Radio/index.js +1 -1
- package/cdn/RadioGroup/index.js +1 -1
- package/cdn/Search/index.js +95 -4
- package/cdn/Select/index.js +69 -4
- package/cdn/SingleBox/index.js +69 -4
- package/cdn/Slider/index.js +1 -1
- package/cdn/Split/index.js +1 -1
- package/cdn/Stepper/index.js +134 -4
- package/cdn/Switch/index.js +15 -2
- package/cdn/Table/index.js +238 -4
- package/cdn/Tabs/index.js +17 -4
- package/cdn/Tag/index.js +27 -1
- package/cdn/TextField/index.js +42 -3
- package/cdn/TimePicker/index.js +110 -6
- package/cdn/Timeline/index.js +1 -1
- package/cdn/ToggleButton/index.js +42 -3
- package/cdn/Tooltip/index.js +3 -3
- package/cdn/Transfer/index.js +121 -4
- package/cdn/Tree/index.js +109 -5
- package/cdn/Upload/index.js +108 -4
- package/index.d.ts +55 -0
- package/index.js +679 -3
- package/package.json +40 -33
- package/style.css +22 -22
- package/Styles/fonts/SourceHanSansCN-Light.css +0 -8
- package/Styles/fonts/SourceHanSansCN-Light.otf +0 -0
- package/Styles/fonts/SourceHanSansCN-Medium.css +0 -8
- package/Styles/fonts/SourceHanSansCN-Medium.otf +0 -0
- package/Styles/fonts/SourceHanSansCN-Regular.css +0 -8
- package/Styles/fonts/SourceHanSansCN-Regular.otf +0 -0
- package/Styles/index.d.ts +0 -1
- package/Styles/index.scss +0 -63
- package/Styles/index.ts +0 -1
- package/Styles/normalize.scss +0 -348
- package/Styles/theme.scss +0 -57
- package/cdn/Styles/fonts/SourceHanSansCN-Light.css +0 -8
- package/cdn/Styles/fonts/SourceHanSansCN-Light.otf +0 -0
- package/cdn/Styles/fonts/SourceHanSansCN-Medium.css +0 -8
- package/cdn/Styles/fonts/SourceHanSansCN-Medium.otf +0 -0
- package/cdn/Styles/fonts/SourceHanSansCN-Regular.css +0 -8
- package/cdn/Styles/fonts/SourceHanSansCN-Regular.otf +0 -0
- package/cdn/Styles/index.scss +0 -63
- package/cdn/Styles/index.ts +0 -1
- package/cdn/Styles/normalize.scss +0 -348
- package/cdn/Styles/theme.scss +0 -57
package/package.json
CHANGED
|
@@ -1,30 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@para-ui/core",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "2.0
|
|
4
|
+
"version": "2.1.0-alpha2",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"typings": "./index.d.ts",
|
|
7
7
|
"description": "Powered by Para FED",
|
|
8
8
|
"author": "HKLMTT",
|
|
9
9
|
"license": "ParaView",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"start": "
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"build:js": "webpack --mode
|
|
15
|
-
"build:
|
|
11
|
+
"start": "node run dev && webpack serve --mode=development --config=webpack.config.js",
|
|
12
|
+
"build": "npm run build:css && npm run build:js && npm run build:cdn",
|
|
13
|
+
"build:docs": "node run && webpack --config=webpack.config.js",
|
|
14
|
+
"build:js": "webpack --mode=production --config=webpack.config.js && node ./scripts/extract-css.js",
|
|
15
|
+
"build:css": "webpack --config=webpack.extract.css.js",
|
|
16
16
|
"build:cdn": "webpack --config=webpack.cdn.config.js",
|
|
17
|
-
"
|
|
18
|
-
"rename:css": "node ./scripts/rename-css.js",
|
|
19
|
-
"build:css": "webpack --config=webpack.extract.css.js && npm run build:js",
|
|
20
|
-
"build": "npm run build:css && npm run build:cdn"
|
|
17
|
+
"npm:publish": "npm run build && cd dist && npm publish --access public"
|
|
21
18
|
},
|
|
22
19
|
"dependencies": {
|
|
23
20
|
"@material-ui/core": "4.11.4",
|
|
24
21
|
"@material-ui/icons": "4.11.2",
|
|
25
22
|
"@material-ui/lab": "4.0.0-alpha.58",
|
|
26
|
-
"@para-
|
|
27
|
-
"@para-ui/
|
|
23
|
+
"@para-snack/core": "^1.6.16",
|
|
24
|
+
"@para-ui/core": "^2.0.9",
|
|
25
|
+
"@para-ui/icons": "^2.0.1",
|
|
28
26
|
"clsx": "1.1.1",
|
|
29
27
|
"moment": "2.29.1",
|
|
30
28
|
"para-lib": "^1.4.16",
|
|
@@ -41,46 +39,47 @@
|
|
|
41
39
|
"rc-upload": "4.3.1",
|
|
42
40
|
"react": "^17.0.2",
|
|
43
41
|
"react-color": "2.19.3",
|
|
44
|
-
"react-dom": "^17.0.2"
|
|
42
|
+
"react-dom": "^17.0.2",
|
|
43
|
+
"react-intl-hooks": "^1.0.11",
|
|
44
|
+
"react-router-dom": "^5.3.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@babel/core": "^7.13.13",
|
|
48
48
|
"@babel/preset-env": "^7.13.12",
|
|
49
49
|
"@babel/preset-react": "^7.13.13",
|
|
50
50
|
"@babel/preset-typescript": "^7.15.0",
|
|
51
|
-
"@
|
|
52
|
-
"@
|
|
53
|
-
"@types/
|
|
54
|
-
"@types/react": "^
|
|
55
|
-
"@types/react-
|
|
56
|
-
"@types/react-dom": "^17.0.
|
|
57
|
-
"@
|
|
51
|
+
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.3",
|
|
52
|
+
"@swc/core": "^1.2.118",
|
|
53
|
+
"@types/react": "^17.0.2",
|
|
54
|
+
"@types/react-color": "^3.0.6",
|
|
55
|
+
"@types/react-copy-to-clipboard": "^5.0.2",
|
|
56
|
+
"@types/react-dom": "^17.0.2",
|
|
57
|
+
"@types/react-router-dom": "^5.1.7",
|
|
58
|
+
"@types/react-syntax-highlighter": "^13.5.2",
|
|
58
59
|
"concurrently": "^6.2.1",
|
|
59
60
|
"copy-webpack-plugin": "^9.0.1",
|
|
60
61
|
"css-loader": "^3.4.2",
|
|
61
|
-
"enzyme": "^3.11.0",
|
|
62
|
-
"esbuild-loader": "^2.15.1",
|
|
63
62
|
"file-loader": "^5.1.0",
|
|
64
63
|
"fs-extra": "^8.1.0",
|
|
65
|
-
"
|
|
66
|
-
"jest-enzyme": "^7.1.2",
|
|
64
|
+
"html-webpack-plugin": "^5.5.0",
|
|
67
65
|
"mini-css-extract-plugin": "^2.4.5",
|
|
68
66
|
"node-sass": "^4.13.1",
|
|
69
|
-
"
|
|
67
|
+
"react-copy-to-clipboard": "^5.0.3",
|
|
68
|
+
"react-refresh": "^0.11.0",
|
|
69
|
+
"react-syntax-highlighter": "^15.4.4",
|
|
70
70
|
"sass-loader": "^8.0.2",
|
|
71
71
|
"style-loader": "^1.1.3",
|
|
72
|
-
"swc-loader": "^0.1.
|
|
72
|
+
"swc-loader": "^0.1.15",
|
|
73
73
|
"ts-loader": "^9.2.3",
|
|
74
|
-
"ts-node": "^10.2.1",
|
|
75
74
|
"typescript": "^4.2.3",
|
|
76
|
-
"url-loader": "^
|
|
77
|
-
"webpack": "5.
|
|
78
|
-
"webpack-
|
|
79
|
-
"webpack-
|
|
80
|
-
"webpack-dev-server": "4.0.0-beta.3"
|
|
75
|
+
"url-loader": "^4.1.1",
|
|
76
|
+
"webpack": "5.65.0",
|
|
77
|
+
"webpack-cli": "4.9.1",
|
|
78
|
+
"webpack-dev-server": "4.6.0"
|
|
81
79
|
},
|
|
82
80
|
"peerDependencies": {
|
|
83
81
|
"@types/react": "^16.8.6 || ^17.0.0",
|
|
82
|
+
"@types/react-dom": "^16.8.6 || ^17.0.0",
|
|
84
83
|
"react": "^16.8.0 || ^17.0.0",
|
|
85
84
|
"react-dom": "^16.8.0 || ^17.0.0"
|
|
86
85
|
},
|
|
@@ -102,5 +101,13 @@
|
|
|
102
101
|
"last 1 firefox version",
|
|
103
102
|
"last 1 safari version"
|
|
104
103
|
]
|
|
104
|
+
},
|
|
105
|
+
"dev": {
|
|
106
|
+
"debug": [
|
|
107
|
+
"http://192.168.7.27",
|
|
108
|
+
"http://192.168.3.1:10000",
|
|
109
|
+
"http://192.168.2.83:10000",
|
|
110
|
+
"http://10.10.2.48:10000"
|
|
111
|
+
]
|
|
105
112
|
}
|
|
106
|
-
}
|
|
113
|
+
}
|