@king-design/vue 3.2.2-beta.0 → 3.3.1
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 +118 -66
- package/__tests__/components/dropdown.spec.ts +1 -0
- package/components/breadcrumb/index.js +1 -1
- package/components/breadcrumb/index.vdt.js +6 -2
- package/components/button/index.vdt.js +3 -2
- package/components/cascader/index.js +2 -1
- package/components/cascader/index.spec.js +32 -0
- package/components/cascader/index.vdt.js +8 -3
- package/components/cascader/styles.js +1 -1
- package/components/cascader/useFilterable.d.ts +2 -1
- package/components/cascader/useFilterable.js +15 -4
- package/components/checkbox/index.vdt.js +4 -2
- package/components/config/index.d.ts +2 -0
- package/components/config/index.js +3 -0
- package/components/datepicker/index.d.ts +1 -0
- package/components/datepicker/index.js +2 -0
- package/components/dialog/base.d.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/dropdown/menu.js +1 -1
- 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/input/index.d.ts +1 -1
- package/components/input/index.js +1 -1
- package/components/input/index.vdt.js +4 -2
- package/components/menu/item.vdt.js +8 -3
- package/components/menu/styles.d.ts +1 -1
- package/components/menu/styles.js +8 -7
- package/components/menu/title.vdt.js +6 -2
- package/components/radio/index.vdt.js +4 -2
- package/components/select/base.d.ts +1 -0
- package/components/select/base.vdt.js +4 -2
- package/components/select/useInput.js +5 -1
- package/components/table/styles.js +3 -3
- package/components/table/table.vdt.js +1 -1
- package/components/tabs/index.d.ts +1 -0
- package/components/tag/index.spec.js +4 -2
- package/components/tag/tags.vdt.js +2 -1
- package/components/tooltip/styles.js +1 -1
- package/components/upload/index.vdt.js +4 -2
- package/components/upload/styles.js +1 -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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@king-design/vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.3.1",
|
|
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.34",
|
|
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',
|