@kdcloudjs/kdesign 1.7.22 → 1.7.24
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/CHANGELOG.md +41 -0
- package/dist/kdesign-complete.less +75 -21
- package/dist/kdesign.css +79 -12
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +425 -180
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +4 -4
- package/dist/kdesign.min.js +8 -8
- package/dist/kdesign.min.js.map +1 -1
- package/es/_utils/usePopper.js +36 -19
- package/es/button/style/index.css +3 -0
- package/es/button/style/index.less +3 -3
- package/es/button/style/mixin.less +2 -1
- package/es/button/style/token.less +3 -0
- package/es/checkbox/style/index.css +1 -0
- package/es/checkbox/style/index.less +1 -0
- package/es/checkbox/style/token.less +1 -0
- package/es/city-picker/city-picker.js +6 -3
- package/es/city-picker/interface.d.ts +1 -0
- package/es/city-picker/style/index.css +2 -0
- package/es/city-picker/style/index.less +1 -0
- package/es/filter/style/index.css +6 -0
- package/es/filter/style/index.less +7 -0
- package/es/filter/style/token.less +4 -0
- package/es/form/style/index.css +1 -1
- package/es/form/style/index.less +1 -1
- package/es/form/style/token.less +1 -1
- package/es/input-number/inputNumber.js +5 -2
- package/es/menu/style/index.css +2 -1
- package/es/menu/style/mixin.less +2 -1
- package/es/menu/style/token.less +2 -0
- package/es/radio/style/index.css +8 -0
- package/es/radio/style/index.less +6 -1
- package/es/radio/style/token.less +3 -0
- package/es/search/search.js +2 -1
- package/es/search/style/index.css +1 -0
- package/es/search/style/index.less +1 -0
- package/es/search/style/token.less +1 -0
- package/es/select/select.js +3 -2
- package/es/select/style/index.css +6 -3
- package/es/select/style/index.less +10 -4
- package/es/select/style/token.less +1 -1
- package/es/style/core/motion/slide.less +5 -2
- package/es/style/index.css +36 -4
- package/es/table/api.js +19 -3
- package/es/tag/style/index.css +6 -0
- package/es/tag/style/index.less +3 -3
- package/es/tag/style/mixin.less +3 -1
- package/es/tag/style/token.less +2 -0
- package/es/timeline/style/index.css +2 -0
- package/es/timeline/style/index.less +3 -0
- package/es/timeline/style/token.less +2 -0
- package/es/transfer/style/index.css +2 -2
- package/es/transfer/style/index.less +2 -2
- package/es/transfer/style/token.less +1 -0
- package/es/tree/style/index.css +2 -0
- package/es/tree/style/index.less +2 -0
- package/es/tree/style/token.less +2 -0
- package/lib/_utils/usePopper.js +36 -19
- package/lib/button/style/index.css +3 -0
- package/lib/button/style/index.less +3 -3
- package/lib/button/style/mixin.less +2 -1
- package/lib/button/style/token.less +3 -0
- package/lib/checkbox/style/index.css +1 -0
- package/lib/checkbox/style/index.less +1 -0
- package/lib/checkbox/style/token.less +1 -0
- package/lib/city-picker/city-picker.js +6 -3
- package/lib/city-picker/interface.d.ts +1 -0
- package/lib/city-picker/style/index.css +2 -0
- package/lib/city-picker/style/index.less +1 -0
- package/lib/filter/style/index.css +6 -0
- package/lib/filter/style/index.less +7 -0
- package/lib/filter/style/token.less +4 -0
- package/lib/form/style/index.css +1 -1
- package/lib/form/style/index.less +1 -1
- package/lib/form/style/token.less +1 -1
- package/lib/input-number/inputNumber.js +5 -2
- package/lib/menu/style/index.css +2 -1
- package/lib/menu/style/mixin.less +2 -1
- package/lib/menu/style/token.less +2 -0
- package/lib/radio/style/index.css +8 -0
- package/lib/radio/style/index.less +6 -1
- package/lib/radio/style/token.less +3 -0
- package/lib/search/search.js +2 -1
- package/lib/search/style/index.css +1 -0
- package/lib/search/style/index.less +1 -0
- package/lib/search/style/token.less +1 -0
- package/lib/select/select.js +3 -2
- package/lib/select/style/index.css +6 -3
- package/lib/select/style/index.less +10 -4
- package/lib/select/style/token.less +1 -1
- package/lib/style/core/motion/slide.less +5 -2
- package/lib/style/index.css +36 -4
- package/lib/table/api.js +19 -3
- package/lib/tag/style/index.css +6 -0
- package/lib/tag/style/index.less +3 -3
- package/lib/tag/style/mixin.less +3 -1
- package/lib/tag/style/token.less +2 -0
- package/lib/timeline/style/index.css +2 -0
- package/lib/timeline/style/index.less +3 -0
- package/lib/timeline/style/token.less +2 -0
- package/lib/transfer/style/index.css +2 -2
- package/lib/transfer/style/index.less +2 -2
- package/lib/transfer/style/token.less +1 -0
- package/lib/tree/style/index.css +2 -0
- package/lib/tree/style/index.less +2 -0
- package/lib/tree/style/token.less +2 -0
- package/package.json +2 -2
|
@@ -138,12 +138,12 @@
|
|
|
138
138
|
-webkit-box-direction: normal;
|
|
139
139
|
-ms-flex-direction: column;
|
|
140
140
|
flex-direction: column;
|
|
141
|
-
width: 250px;
|
|
141
|
+
width: var(--kd-c-transfer-list-sizing-width, 250px);
|
|
142
142
|
min-height: 300px;
|
|
143
143
|
border: 1px solid var(--kd-c-transfer-color-border, var(--kd-g-color-border-strong, #d9d9d9));
|
|
144
144
|
}
|
|
145
145
|
.kd-transfer-list-with-pagination {
|
|
146
|
-
width: 250px;
|
|
146
|
+
width: var(--kd-c-transfer-list-sizing-width, 250px);
|
|
147
147
|
height: auto;
|
|
148
148
|
}
|
|
149
149
|
.kd-transfer-list-header {
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
&-list {
|
|
26
26
|
display: flex;
|
|
27
27
|
flex-direction: column;
|
|
28
|
-
width:
|
|
28
|
+
width: @transfer-list-width;
|
|
29
29
|
min-height: 300px;
|
|
30
30
|
border: 1px solid @transfer-border-color;
|
|
31
31
|
|
|
32
32
|
&-with-pagination {
|
|
33
|
-
width:
|
|
33
|
+
width: @transfer-list-width;
|
|
34
34
|
height: auto;
|
|
35
35
|
}
|
|
36
36
|
|
|
@@ -17,6 +17,7 @@
|
|
|
17
17
|
@transfer-header-height: var(~'@{transfer-custom-prefix}-header-sizing-height', 36px);
|
|
18
18
|
@transfer-search-height: var(~'@{transfer-custom-prefix}-search-sizing-height', 32px);
|
|
19
19
|
@transfer-pagination-height: var(~'@{transfer-custom-prefix}-pagination-sizing-height', 36px);
|
|
20
|
+
@transfer-list-width: var(~'@{transfer-custom-prefix}-list-sizing-width', 250px);
|
|
20
21
|
|
|
21
22
|
// spacing
|
|
22
23
|
@transfer-padding-base: var(~'@{transfer-custom-prefix}-spacing-horizontal', 14px);
|
package/lib/tree/style/index.css
CHANGED
|
@@ -135,6 +135,8 @@
|
|
|
135
135
|
color: var(--kd-c-tree-color-text, var(--kd-g-color-text-primary, #212121));
|
|
136
136
|
margin-left: var(--kd-c-tree-spacing-margin-left, 0px);
|
|
137
137
|
padding: var(--kd-c-tree-spacing-padding-vertical, 3px) 0;
|
|
138
|
+
max-width: var(--kd-c-tree-root-sizing-max-width);
|
|
139
|
+
min-width: var(--kd-c-tree-root-sizing-min-width);
|
|
138
140
|
}
|
|
139
141
|
.kd-tree-root {
|
|
140
142
|
min-width: 100%;
|
|
@@ -22,6 +22,8 @@
|
|
|
22
22
|
@tree-expand-icon-loading-width: var(~'@{tree-prefix}-expand-icon-loading-sizing-width', 16px);
|
|
23
23
|
@tree-node-icon-height: var(~'@{tree-prefix}-node-icon-sizing-height', 16px);
|
|
24
24
|
@tree-node-icon-width: var(~'@{tree-prefix}-node-icon-sizing-width', 16px);
|
|
25
|
+
@tree-root-max-width: var(~'@{tree-prefix}-root-sizing-max-width');
|
|
26
|
+
@tree-root-min-width: var(~'@{tree-prefix}-root-sizing-min-width');
|
|
25
27
|
|
|
26
28
|
// spacing
|
|
27
29
|
@tree-margin-left: var(~'@{tree-prefix}-spacing-margin-left', 0px);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kdcloudjs/kdesign",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.24",
|
|
4
4
|
"description": "KDesign 金蝶前端react 组件库",
|
|
5
5
|
"title": "kdesign",
|
|
6
6
|
"keywords": [
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@babel/runtime-corejs3": "^7.11.2",
|
|
79
79
|
"@babel/standalone": "^7.14.3",
|
|
80
80
|
"@kdcloudjs/kdesign-icons": "^1.0.0",
|
|
81
|
-
"@kdcloudjs/table": "1.
|
|
81
|
+
"@kdcloudjs/table": "1.2.0-canary.1",
|
|
82
82
|
"@popperjs/core": "^2.5.4",
|
|
83
83
|
"@types/js-cookie": "^3.0.3",
|
|
84
84
|
"async-validator": "^3.5.1",
|