@king-design/vue 3.2.2-beta.0 → 3.3.0
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/__tests__/__snapshots__/Vue Next Demos.md +61 -15
- package/__tests__/components/dropdown.spec.ts +1 -0
- package/components/divider/index.d.ts +14 -0
- package/components/divider/index.js +38 -0
- package/components/divider/index.spec.d.ts +1 -0
- package/components/divider/index.spec.js +1 -0
- package/components/divider/index.vdt.js +31 -0
- package/components/divider/styles.d.ts +5 -0
- package/components/divider/styles.js +35 -0
- package/components/dropdown/dropdown.js +2 -2
- package/components/ellipsis/index.d.ts +16 -0
- package/components/ellipsis/index.js +36 -0
- package/components/ellipsis/index.spec.d.ts +1 -0
- package/components/ellipsis/index.spec.js +94 -0
- package/components/ellipsis/index.vdt.js +50 -0
- package/components/ellipsis/styles.d.ts +5 -0
- package/components/ellipsis/styles.js +10 -0
- package/components/ellipsis/useEllipsis.d.ts +4 -0
- package/components/ellipsis/useEllipsis.js +21 -0
- package/components/menu/item.vdt.js +8 -3
- package/components/menu/styles.d.ts +1 -1
- package/components/menu/styles.js +6 -5
- package/components/menu/title.vdt.js +6 -2
- package/components/table/table.vdt.js +1 -1
- package/components/tag/index.spec.js +4 -2
- package/components/tag/tags.vdt.js +2 -1
- package/components/view/index.d.ts +15 -0
- package/components/view/index.js +30 -0
- package/i18n/en-US.d.ts +1 -1
- package/i18n/en-US.js +1 -1
- package/index.d.ts +5 -2
- package/index.js +5 -2
- package/package.json +2 -2
- package/styles/theme.d.ts +8 -0
- package/styles/theme.js +8 -4
- package/yarn-error.log +0 -1013
package/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v3.
|
|
2
|
+
* @king-design v3.3.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -24,9 +24,11 @@ export * from './components/config';
|
|
|
24
24
|
export * from './components/copy';
|
|
25
25
|
export * from './components/datepicker';
|
|
26
26
|
export * from './components/dialog';
|
|
27
|
+
export * from './components/divider';
|
|
27
28
|
export * from './components/drawer';
|
|
28
29
|
export * from './components/dropdown';
|
|
29
30
|
export * from './components/editable';
|
|
31
|
+
export * from './components/ellipsis';
|
|
30
32
|
export * from './components/form';
|
|
31
33
|
export * from './components/grid';
|
|
32
34
|
export * from './components/icon';
|
|
@@ -59,8 +61,9 @@ export * from './components/transfer';
|
|
|
59
61
|
export * from './components/tree';
|
|
60
62
|
export * from './components/treeSelect';
|
|
61
63
|
export * from './components/upload';
|
|
64
|
+
export * from './components/view';
|
|
62
65
|
export * from './components/wave';
|
|
63
|
-
export declare const version = "3.
|
|
66
|
+
export declare const version = "3.3.0";
|
|
64
67
|
|
|
65
68
|
|
|
66
69
|
export {normalize} from 'intact-vue-next';
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/*!
|
|
2
|
-
* @king-design v3.
|
|
2
|
+
* @king-design v3.3.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Kingsoft Cloud
|
|
5
5
|
* Released under the MIT License
|
|
@@ -25,9 +25,11 @@ export * from './components/config';
|
|
|
25
25
|
export * from './components/copy';
|
|
26
26
|
export * from './components/datepicker';
|
|
27
27
|
export * from './components/dialog';
|
|
28
|
+
export * from './components/divider';
|
|
28
29
|
export * from './components/drawer';
|
|
29
30
|
export * from './components/dropdown';
|
|
30
31
|
export * from './components/editable';
|
|
32
|
+
export * from './components/ellipsis';
|
|
31
33
|
export * from './components/form';
|
|
32
34
|
export * from './components/grid';
|
|
33
35
|
export * from './components/icon';
|
|
@@ -60,8 +62,9 @@ export * from './components/transfer';
|
|
|
60
62
|
export * from './components/tree';
|
|
61
63
|
export * from './components/treeSelect';
|
|
62
64
|
export * from './components/upload';
|
|
65
|
+
export * from './components/view';
|
|
63
66
|
export * from './components/wave';
|
|
64
|
-
export var version = '3.
|
|
67
|
+
export var version = '3.3.0';
|
|
65
68
|
/* generate end */
|
|
66
69
|
|
|
67
70
|
export {normalize} from 'intact-vue-next';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@king-design/vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.0",
|
|
4
4
|
"description": "King-Design UI components for Vue3.0.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"component",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"@emotion/css": "^11.5.0",
|
|
38
38
|
"dayjs": "^1.10.7",
|
|
39
39
|
"enquire.js": "^2.1.6",
|
|
40
|
-
"intact-vue-next": "3.0.
|
|
40
|
+
"intact-vue-next": "3.0.33",
|
|
41
41
|
"monaco-editor": "^0.26.1",
|
|
42
42
|
"mxgraphx": "^4.0.7",
|
|
43
43
|
"resize-observer-polyfill": "^1.5.1",
|
package/styles/theme.d.ts
CHANGED
|
@@ -6,21 +6,25 @@ export declare function defaultTheme(): {
|
|
|
6
6
|
height: string;
|
|
7
7
|
fontSize: string;
|
|
8
8
|
padding: string;
|
|
9
|
+
margin: string;
|
|
9
10
|
};
|
|
10
11
|
default: {
|
|
11
12
|
height: string;
|
|
12
13
|
fontSize: string;
|
|
13
14
|
padding: string;
|
|
15
|
+
margin: string;
|
|
14
16
|
};
|
|
15
17
|
small: {
|
|
16
18
|
height: string;
|
|
17
19
|
fontSize: string;
|
|
18
20
|
padding: string;
|
|
21
|
+
margin: string;
|
|
19
22
|
};
|
|
20
23
|
mini: {
|
|
21
24
|
height: string;
|
|
22
25
|
fontSize: string;
|
|
23
26
|
padding: string;
|
|
27
|
+
margin: string;
|
|
24
28
|
};
|
|
25
29
|
color: {
|
|
26
30
|
primary: string;
|
|
@@ -63,21 +67,25 @@ declare let theme: {
|
|
|
63
67
|
height: string;
|
|
64
68
|
fontSize: string;
|
|
65
69
|
padding: string;
|
|
70
|
+
margin: string;
|
|
66
71
|
};
|
|
67
72
|
default: {
|
|
68
73
|
height: string;
|
|
69
74
|
fontSize: string;
|
|
70
75
|
padding: string;
|
|
76
|
+
margin: string;
|
|
71
77
|
};
|
|
72
78
|
small: {
|
|
73
79
|
height: string;
|
|
74
80
|
fontSize: string;
|
|
75
81
|
padding: string;
|
|
82
|
+
margin: string;
|
|
76
83
|
};
|
|
77
84
|
mini: {
|
|
78
85
|
height: string;
|
|
79
86
|
fontSize: string;
|
|
80
87
|
padding: string;
|
|
88
|
+
margin: string;
|
|
81
89
|
};
|
|
82
90
|
color: {
|
|
83
91
|
primary: string;
|
package/styles/theme.js
CHANGED
|
@@ -4,22 +4,26 @@ export function defaultTheme() {
|
|
|
4
4
|
large: {
|
|
5
5
|
height: '40px',
|
|
6
6
|
fontSize: '14px',
|
|
7
|
-
padding: '16px'
|
|
7
|
+
padding: '16px',
|
|
8
|
+
margin: '16px'
|
|
8
9
|
},
|
|
9
10
|
default: {
|
|
10
11
|
height: '32px',
|
|
11
12
|
fontSize: '12px',
|
|
12
|
-
padding: '12px'
|
|
13
|
+
padding: '12px',
|
|
14
|
+
margin: '12px'
|
|
13
15
|
},
|
|
14
16
|
small: {
|
|
15
17
|
height: '24px',
|
|
16
18
|
fontSize: '12px',
|
|
17
|
-
padding: '8px'
|
|
19
|
+
padding: '8px',
|
|
20
|
+
margin: '8px'
|
|
18
21
|
},
|
|
19
22
|
mini: {
|
|
20
23
|
height: '20px',
|
|
21
24
|
fontSize: '12px',
|
|
22
|
-
padding: '8px'
|
|
25
|
+
padding: '8px',
|
|
26
|
+
margin: '8px'
|
|
23
27
|
},
|
|
24
28
|
color: {
|
|
25
29
|
primary: '#0091ea',
|