kui-vue 3.3.11 → 3.4.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/components/_tool/clone.js +1 -2
- package/components/_tool/transfer.js +5 -5
- package/components/_tool/utils.js +2 -137
- package/components/alert/styles/index.less +2 -2
- package/components/avatar/AvatarGroup.jsx +2 -2
- package/components/backtop/styles/index.less +44 -47
- package/components/base/drop.jsx +231 -17
- package/components/base/pop.jsx +35 -21
- package/components/button/button.jsx +5 -11
- package/components/button/index.js +1 -8
- package/components/collapse/styles/index.less +3 -16
- package/components/colorPicker/colorpicker.jsx +4 -3
- package/components/colorPicker/styles/index.less +22 -43
- package/components/datePicker/datecalendar.jsx +1 -1
- package/components/datePicker/datepicker.jsx +5 -2
- package/components/datePicker/styles/datepicker.less +4 -14
- package/components/drawer/drawer.jsx +1 -1
- package/components/dropdown/demo/base.md +1 -1
- package/components/dropdown/demo/rightmenu.md +5 -5
- package/components/dropdown/dropdown.jsx +11 -3
- package/components/dropdown/styles/index.less +35 -13
- package/components/form/demo/align.md +1 -1
- package/components/form/demo/base.md +1 -1
- package/components/form/demo/dynamicvalid.md +1 -1
- package/components/form/demo/length.md +2 -2
- package/components/form/demo/valid.md +2 -2
- package/components/form/form.jsx +1 -1
- package/components/form/styles/index.less +3 -14
- package/components/fragment/component.js +98 -0
- package/components/fragment/frag.js +362 -0
- package/components/fragment/fragment.js +19 -0
- package/components/fragment/index.js +104 -0
- package/components/fragment/ssr.js +4 -0
- package/components/icon/demo/search.vue +1 -1
- package/components/image/styles/index.less +41 -17
- package/components/index.js +2 -2
- package/components/input/styles/index.less +2 -2
- package/components/menu/menuitem.jsx +12 -7
- package/components/menu/styles/index.less +190 -203
- package/components/menu/submenu.jsx +106 -37
- package/components/message/styles/index.less +11 -14
- package/components/modal/index.js +1 -1
- package/components/modal/modal.jsx +2 -2
- package/components/modal/styles/index.less +227 -221
- package/components/notice/styles/index.less +19 -5
- package/components/popconfirm/styles/index.less +33 -14
- package/components/poptip/demo/closeinside.md +1 -1
- package/components/poptip/styles/index.less +3 -14
- package/components/radio/button.jsx +1 -1
- package/components/rate/styles/index.less +9 -1
- package/components/select/demo/base.md +1 -1
- package/components/select/demo/multiple.md +1 -1
- package/components/select/demo/theme.md +11 -13
- package/components/select/select.jsx +64 -34
- package/components/select/styles/index.less +143 -149
- package/components/table/table.jsx +1 -1
- package/components/tabs/styles/index.less +3 -2
- package/components/tag/styles/index.less +3 -15
- package/components/tooltip/styles/index.less +48 -17
- package/components/tooltip/tooltip.jsx +3 -3
- package/components/tree/node.jsx +1 -1
- package/dist/k-ui.css +2 -2
- package/dist/k-ui.js +2 -2
- package/package.json +4 -4
- package/components/menu/styles/dropmenu.less +0 -119
- /package/{README.md → readme.md} +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kui-vue",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"description": "A high quality UI Toolkit built on Vue.js 2.0",
|
|
5
5
|
"private": false,
|
|
6
6
|
"main": "dist/k-ui.js",
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
"components/"
|
|
12
12
|
],
|
|
13
13
|
"scripts": {
|
|
14
|
-
"start": "
|
|
14
|
+
"start": "npm run dev",
|
|
15
15
|
"buildlib": "webpack --config build/webpack.config.js --env prod",
|
|
16
16
|
"builddocs": "webpack --config build/webpack.config.js --env docs",
|
|
17
17
|
"buildlang": "webpack --config build/webpack.config.js --env lang",
|
|
18
|
-
"
|
|
18
|
+
"dev": "vue-cli-service serve",
|
|
19
19
|
"builddocs_bak": "vue-cli-service build --dest docs",
|
|
20
20
|
"buildlib_bak": "vue-cli-service build --progres --no-clean --target lib --name k-ui components/bin/index.js",
|
|
21
21
|
"buildlang_bak": "vue-cli-service build --progres --dest dist/locale --target lib --name lang --formats umd-min components/locale/index.js",
|
|
@@ -74,7 +74,7 @@
|
|
|
74
74
|
"markdown-it-container": "^3.0.0",
|
|
75
75
|
"style-loader": "^3.3.3",
|
|
76
76
|
"terser-webpack-plugin": "^5.3.10",
|
|
77
|
-
"vue": "^2.
|
|
77
|
+
"vue": "^2.7.16",
|
|
78
78
|
"vue-clipboard2": "^0.3.3",
|
|
79
79
|
"vue-i18n": "^8.28.2",
|
|
80
80
|
"vue-loader": "^15.11.1",
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
.k-dropdown-menu {
|
|
2
|
-
display: inline-block;
|
|
3
|
-
margin: 0;
|
|
4
|
-
outline: 0;
|
|
5
|
-
font-size: 14px;
|
|
6
|
-
position: relative;
|
|
7
|
-
zoom: 1;
|
|
8
|
-
background: var(--kui-color-control-10);
|
|
9
|
-
list-style: none;
|
|
10
|
-
padding: 0 0;
|
|
11
|
-
border-radius: var(--kui-border-radius);
|
|
12
|
-
min-width: 100px;
|
|
13
|
-
box-shadow: 0 1px 6px rgba(0, 0, 0, .2);
|
|
14
|
-
color: var(--kui-color-font);
|
|
15
|
-
|
|
16
|
-
.k-menu-item-divider {
|
|
17
|
-
height: 1px;
|
|
18
|
-
margin: 4px 0;
|
|
19
|
-
overflow: hidden;
|
|
20
|
-
line-height: 0;
|
|
21
|
-
background-color: var(--kui-color-border);
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.k-dropdown-menu-icon-temp {
|
|
25
|
-
// width: 20px;
|
|
26
|
-
// height: 20px;
|
|
27
|
-
// display: inline-block;
|
|
28
|
-
// margin-right: 8px;
|
|
29
|
-
display: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.k-dropdown-menu-item {
|
|
33
|
-
line-height: 1;
|
|
34
|
-
font-size: 14px;
|
|
35
|
-
list-style: none;
|
|
36
|
-
padding: 9px 12px;
|
|
37
|
-
box-sizing: border-box;
|
|
38
|
-
position: relative;
|
|
39
|
-
cursor: pointer;
|
|
40
|
-
display: flex;
|
|
41
|
-
align-items: center;
|
|
42
|
-
// border-radius: var(--kui-border-radius);
|
|
43
|
-
// margin: 8px;
|
|
44
|
-
margin: 4px;
|
|
45
|
-
border-radius: 4px;
|
|
46
|
-
|
|
47
|
-
a {
|
|
48
|
-
color: var(--kui-color-font);
|
|
49
|
-
display: block;
|
|
50
|
-
text-decoration: none;
|
|
51
|
-
// margin: -5px -12px -5px -24px;
|
|
52
|
-
// padding: 5px 12px 5px 24px;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
&.k-dropdown-menu-item-active {
|
|
56
|
-
background-color: var(--kui-color-hover);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.k-dropdown-menu-item-icon {
|
|
60
|
-
font-size: 16px;
|
|
61
|
-
margin-right: 8px;
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
.k-dropdown-menu-submenu-active {
|
|
66
|
-
background-color: var(--kui-color-hover);
|
|
67
|
-
|
|
68
|
-
&:active {
|
|
69
|
-
background-color: var(--kui-color-actived);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.k-dropdown-menu-item-divider {
|
|
74
|
-
height: 1px;
|
|
75
|
-
margin: 2px 0;
|
|
76
|
-
overflow: hidden;
|
|
77
|
-
line-height: 0;
|
|
78
|
-
background-color: var(--kui-color-border);
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
.k-dropdown-menu-item-disabled,
|
|
82
|
-
.k-dropdown-menu-submenu-disabled {
|
|
83
|
-
color: var(--kui-color-disable-color);
|
|
84
|
-
cursor: not-allowed;
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
.k-dropdown-menu-submenu-popup {
|
|
88
|
-
position: absolute;
|
|
89
|
-
top: 0;
|
|
90
|
-
box-sizing: content-box;
|
|
91
|
-
position: absolute;
|
|
92
|
-
z-index: 1001;
|
|
93
|
-
min-width: 160px;
|
|
94
|
-
border-radius: var(--kui-border-radius);
|
|
95
|
-
padding-left: 5px;
|
|
96
|
-
left: 100%;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.k-dropdown-menu-submenu {
|
|
100
|
-
// padding-right: 36px;
|
|
101
|
-
position: relative;
|
|
102
|
-
margin: 4px;
|
|
103
|
-
border-radius: 4px;
|
|
104
|
-
|
|
105
|
-
.k-dropdown-menu-submenu-title {
|
|
106
|
-
flex: 1;
|
|
107
|
-
padding: 10px 12px;
|
|
108
|
-
line-height: 1;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.k-dropdown-menu-submenu-arrow {
|
|
112
|
-
position: absolute;
|
|
113
|
-
right: 12px;
|
|
114
|
-
top: 50%;
|
|
115
|
-
transform: translateY(-50%);
|
|
116
|
-
font-size: 12px;
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
}
|
/package/{README.md → readme.md}
RENAMED
|
File without changes
|