@kdcloudjs/kdesign 1.0.4 → 1.1.2
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 +62 -0
- package/dist/kdesign-complete.less +230 -224
- package/dist/kdesign.css +127 -96
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +46 -52
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +4 -4
- package/dist/kdesign.min.js +6 -6
- package/dist/kdesign.min.js.map +1 -1
- package/es/anchor/style/index.css +5 -0
- package/es/anchor/style/index.less +5 -0
- package/es/avatar/style/token.less +13 -8
- package/es/base-data/base-data.js +5 -1
- package/es/base-data/style/index.css +8 -3
- package/es/base-data/style/index.less +8 -3
- package/es/base-data/style/token.less +7 -0
- package/es/button/style/index.css +4 -4
- package/es/button/style/index.less +1 -1
- package/es/button/style/token.less +16 -14
- package/es/card/card.d.ts +1 -0
- package/es/card/card.js +4 -1
- package/es/card/style/index.css +16 -0
- package/es/card/style/index.less +19 -0
- package/es/card/style/token.less +8 -8
- package/es/carousel/style/index.css +4 -4
- package/es/carousel/style/token.less +10 -9
- package/es/city-picker/style/token.less +7 -7
- package/es/config-provider/compDefaultProps.d.ts +0 -1
- package/es/config-provider/compDefaultProps.js +1 -2
- package/es/date-picker/style/index.css +8 -8
- package/es/date-picker/style/index.less +8 -8
- package/es/date-picker/style/token.less +3 -21
- package/es/drawer/drawer.d.ts +0 -1
- package/es/drawer/drawer.js +6 -26
- package/es/drawer/style/index.css +8 -11
- package/es/drawer/style/index.less +7 -9
- package/es/drawer/style/token.less +3 -1
- package/es/dropdown/dropdown.d.ts +1 -0
- package/es/dropdown/dropdown.js +9 -6
- package/es/dropdown/menu.d.ts +1 -1
- package/es/dropdown/menu.js +3 -3
- package/es/form/Field.js +4 -2
- package/es/form/style/index.css +1 -2
- package/es/form/style/index.less +1 -2
- package/es/form/style/token.less +7 -12
- package/es/icon/interface.js +1 -1
- package/es/image/style/token.less +0 -13
- package/es/menu/menuItem.js +1 -2
- package/es/message/content.js +7 -3
- package/es/message/style/index.css +30 -13
- package/es/message/style/index.less +22 -9
- package/es/message/style/token.less +29 -5
- package/es/notification/content.js +1 -1
- package/es/notification/style/index.css +1 -1
- package/es/notification/style/index.less +1 -1
- package/es/pagination/pagination.js +2 -2
- package/es/pagination/style/token.less +5 -3
- package/es/progress/style/token.less +0 -8
- package/es/radio/style/token.less +0 -16
- package/es/select/style/index.css +2 -2
- package/es/select/style/token.less +2 -2
- package/es/split-panel/style/index.css +24 -42
- package/es/split-panel/style/index.less +14 -33
- package/es/split-panel/style/token.less +15 -4
- package/es/stepper/style/index.css +1 -0
- package/es/stepper/style/index.less +1 -0
- package/es/stepper/style/token.less +8 -10
- package/es/switch/style/token.less +0 -6
- package/es/timeline/style/token.less +0 -8
- package/es/transfer/operation.js +2 -2
- package/es/transfer/style/index.css +5 -1
- package/es/transfer/style/index.less +4 -0
- package/es/transfer/style/token.less +1 -1
- package/es/tree/style/index.css +6 -3
- package/es/tree/style/index.less +4 -0
- package/es/tree/style/token.less +2 -2
- package/lib/anchor/style/index.css +5 -0
- package/lib/anchor/style/index.less +5 -0
- package/lib/avatar/style/token.less +13 -8
- package/lib/base-data/base-data.js +5 -1
- package/lib/base-data/style/index.css +8 -3
- package/lib/base-data/style/index.less +8 -3
- package/lib/base-data/style/token.less +7 -0
- package/lib/button/style/index.css +4 -4
- package/lib/button/style/index.less +1 -1
- package/lib/button/style/token.less +16 -14
- package/lib/card/card.d.ts +1 -0
- package/lib/card/card.js +4 -1
- package/lib/card/style/index.css +16 -0
- package/lib/card/style/index.less +19 -0
- package/lib/card/style/token.less +8 -8
- package/lib/carousel/style/index.css +4 -4
- package/lib/carousel/style/token.less +10 -9
- package/lib/city-picker/style/token.less +7 -7
- package/lib/config-provider/compDefaultProps.d.ts +0 -1
- package/lib/config-provider/compDefaultProps.js +1 -2
- package/lib/date-picker/style/index.css +8 -8
- package/lib/date-picker/style/index.less +8 -8
- package/lib/date-picker/style/token.less +3 -21
- package/lib/drawer/drawer.d.ts +0 -1
- package/lib/drawer/drawer.js +6 -26
- package/lib/drawer/style/index.css +8 -11
- package/lib/drawer/style/index.less +7 -9
- package/lib/drawer/style/token.less +3 -1
- package/lib/dropdown/dropdown.d.ts +1 -0
- package/lib/dropdown/dropdown.js +9 -6
- package/lib/dropdown/menu.d.ts +1 -1
- package/lib/dropdown/menu.js +3 -3
- package/lib/form/Field.js +4 -2
- package/lib/form/style/index.css +1 -2
- package/lib/form/style/index.less +1 -2
- package/lib/form/style/token.less +7 -12
- package/lib/icon/interface.js +1 -1
- package/lib/image/style/token.less +0 -13
- package/lib/menu/menuItem.js +1 -2
- package/lib/message/content.js +7 -3
- package/lib/message/style/index.css +30 -13
- package/lib/message/style/index.less +22 -9
- package/lib/message/style/token.less +29 -5
- package/lib/notification/content.js +1 -1
- package/lib/notification/style/index.css +1 -1
- package/lib/notification/style/index.less +1 -1
- package/lib/pagination/pagination.js +2 -2
- package/lib/pagination/style/token.less +5 -3
- package/lib/progress/style/token.less +0 -8
- package/lib/radio/style/token.less +0 -16
- package/lib/select/style/index.css +2 -2
- package/lib/select/style/token.less +2 -2
- package/lib/split-panel/style/index.css +24 -42
- package/lib/split-panel/style/index.less +14 -33
- package/lib/split-panel/style/token.less +15 -4
- package/lib/stepper/style/index.css +1 -0
- package/lib/stepper/style/index.less +1 -0
- package/lib/stepper/style/token.less +8 -10
- package/lib/switch/style/token.less +0 -6
- package/lib/timeline/style/token.less +0 -8
- package/lib/transfer/operation.js +2 -2
- package/lib/transfer/style/index.css +5 -1
- package/lib/transfer/style/index.less +4 -0
- package/lib/transfer/style/token.less +1 -1
- package/lib/tree/style/index.css +6 -3
- package/lib/tree/style/index.less +4 -0
- package/lib/tree/style/token.less +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
@import "../../style/themes/token.less";
|
|
2
|
-
|
|
3
2
|
@stepper-prefix: '--@{kd-prefix}-c-stepper';
|
|
4
3
|
|
|
5
|
-
// shadow
|
|
6
4
|
// color
|
|
7
5
|
@stepper-input-color: var(~'@{stepper-prefix}-input-color', @color-text-primary);
|
|
8
6
|
@stepper-icon-color: var(~'@{stepper-prefix}-icon-color', @color-text-secondary);
|
|
@@ -10,6 +8,14 @@
|
|
|
10
8
|
@stepper-color-border-strong: var(~'@{stepper-prefix}-color-border-strong', @color-border-strong);
|
|
11
9
|
@stepper-embed-icon-color-background: var(~'@{stepper-prefix}-embed-icon-color-background', #f6f7f9);
|
|
12
10
|
|
|
11
|
+
// font
|
|
12
|
+
@stepper-input-font-size: var(~'@{stepper-prefix}-input-font-size', 12px);
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
// motion
|
|
16
|
+
@stepper-motion-duration: var(~'@{stepper-prefix}-motion-duration', @duration-promptly);
|
|
17
|
+
|
|
18
|
+
|
|
13
19
|
// sizing
|
|
14
20
|
@stepper-input-small-sizing-height: var(~'@{stepper-prefix}-input-small-sizing-height', 20px);
|
|
15
21
|
@stepper-input-middle-sizing-height: var(~'@{stepper-prefix}-input-middle-sizing-height', 28px);
|
|
@@ -18,11 +24,3 @@
|
|
|
18
24
|
// spacing
|
|
19
25
|
@stepper-input-spacing-padding-horizontal: var(~'@{stepper-prefix}-input-spacing-padding-horizontal', 9px);
|
|
20
26
|
|
|
21
|
-
// motion
|
|
22
|
-
@stepper-motion-duration: var(~'@{stepper-prefix}-motion-duration', @duration-promptly);
|
|
23
|
-
|
|
24
|
-
// font
|
|
25
|
-
// radius
|
|
26
|
-
// line-height
|
|
27
|
-
// z-index
|
|
28
|
-
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
@import '../../style/themes/token.less';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
3
|
@timeline-prefix: '--@{kd-prefix}-c-timeline';
|
|
6
|
-
|
|
7
|
-
|
|
8
4
|
@timeline-gap: 8px;
|
|
9
5
|
|
|
10
6
|
// @timeline-dot-size: var(~'@{timeline-prefix}-dot-sizing',9px);
|
|
@@ -12,10 +8,6 @@
|
|
|
12
8
|
|
|
13
9
|
|
|
14
10
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
11
|
// color
|
|
20
12
|
@timeline-finished-color: var(~'@{timeline-prefix}-finished-color',@color-theme);
|
|
21
13
|
@timeline-error-color: var(~'@{timeline-prefix}-error-color',@color-error);
|
|
@@ -31,7 +31,7 @@ var Operation = function Operation(_ref) {
|
|
|
31
31
|
className: className,
|
|
32
32
|
style: style
|
|
33
33
|
}, /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
34
|
-
type:
|
|
34
|
+
type: disabled || !rightActive ? 'ghost' : 'primary',
|
|
35
35
|
size: "small",
|
|
36
36
|
disabled: disabled || !rightActive,
|
|
37
37
|
onClick: moveToRight,
|
|
@@ -41,7 +41,7 @@ var Operation = function Operation(_ref) {
|
|
|
41
41
|
type: "arrow-left"
|
|
42
42
|
})
|
|
43
43
|
}, rightArrowText), !oneWay && /*#__PURE__*/_react.default.createElement(_button.default, {
|
|
44
|
-
type:
|
|
44
|
+
type: disabled || !leftActive ? 'ghost' : 'primary',
|
|
45
45
|
size: "small",
|
|
46
46
|
disabled: disabled || !leftActive,
|
|
47
47
|
onClick: moveToLeft,
|
|
@@ -195,7 +195,7 @@
|
|
|
195
195
|
position: relative;
|
|
196
196
|
}
|
|
197
197
|
.kd-transfer-list-search-prefix i {
|
|
198
|
-
color: var(--kd-c-transfer-search-icon-color-text-prefix,
|
|
198
|
+
color: var(--kd-c-transfer-search-icon-color-text-prefix, #999);
|
|
199
199
|
}
|
|
200
200
|
.kd-transfer-list-search-suffix {
|
|
201
201
|
cursor: pointer;
|
|
@@ -347,7 +347,11 @@
|
|
|
347
347
|
padding: 0 10px;
|
|
348
348
|
-webkit-box-sizing: border-box;
|
|
349
349
|
box-sizing: border-box;
|
|
350
|
+
min-width: 40px;
|
|
350
351
|
}
|
|
351
352
|
.kd-transfer-operation .kd-btn + .kd-btn {
|
|
352
353
|
margin-top: 20px;
|
|
353
354
|
}
|
|
355
|
+
.kd-transfer-operation .kd-btn .kd-btn-iconWrapper-left {
|
|
356
|
+
float: none;
|
|
357
|
+
}
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
// text
|
|
25
25
|
@transfer-list-item-checked: var(~'@{transfer-custom-prefix}-list-item-color-text-checked', @color-theme);
|
|
26
26
|
@transfer-list-item-disabled: var(~'@{transfer-custom-prefix}-list-item-color-text-disabled', @color-disabled);
|
|
27
|
-
@transfer-search-prefix-icon-color: var(~'@{transfer-custom-prefix}-search-icon-color-text-prefix',
|
|
27
|
+
@transfer-search-prefix-icon-color: var(~'@{transfer-custom-prefix}-search-icon-color-text-prefix', #999);
|
|
28
28
|
@transfer-search-suffix-icon-color: var(~'@{transfer-custom-prefix}-search-icon-color-text-suffix', #bbb);
|
|
29
29
|
@transfer-search-suffix-icon-color-hover: var(~'@{transfer-custom-prefix}-search-icon-color-text-suffix-hover', #999);
|
package/lib/tree/style/index.css
CHANGED
|
@@ -227,11 +227,14 @@
|
|
|
227
227
|
margin-left: 6px;
|
|
228
228
|
}
|
|
229
229
|
.kd-tree-node-selected {
|
|
230
|
-
background-color: var(--kd-c-tree-node-color-backgroung-checked, #
|
|
231
|
-
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme
|
|
230
|
+
background-color: var(--kd-c-tree-node-color-backgroung-checked, var(--kd-g-color-theme-3, #e3eeff)) !important;
|
|
231
|
+
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
232
232
|
}
|
|
233
233
|
.kd-tree-node-selected .kd-tree-node-title {
|
|
234
|
-
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme
|
|
234
|
+
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
235
|
+
}
|
|
236
|
+
.kd-tree-node-selected .kd-tree-node-icon {
|
|
237
|
+
color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme, #5582f3));
|
|
235
238
|
}
|
|
236
239
|
.kd-tree-node-draggabled {
|
|
237
240
|
display: -webkit-box;
|
|
@@ -7,8 +7,8 @@
|
|
|
7
7
|
@tree-node-disabled-color: var(~'@{tree-prefix}-node-color-disabled', @color-disabled);
|
|
8
8
|
@tree-node-disabled-border-color: var(~'@{tree-prefix}-node-color-border-disabled', @color-border-disabled);
|
|
9
9
|
@tree-color-theme: var(~'@{tree-prefix}-color-theme', @color-theme);
|
|
10
|
-
@tree-node-checked-bg-color: var(~'@{tree-prefix}-node-color-backgroung-checked',
|
|
11
|
-
@tree-node-checked-text-color: var(~'@{tree-prefix}-node-color-text-checked', @color-theme
|
|
10
|
+
@tree-node-checked-bg-color: var(~'@{tree-prefix}-node-color-backgroung-checked', @color-theme-3);
|
|
11
|
+
@tree-node-checked-text-color: var(~'@{tree-prefix}-node-color-text-checked', @color-theme);
|
|
12
12
|
@tree-node-hover-bg-color: var(~'@{tree-prefix}-node-color-backgroung-hover', @color-hover);
|
|
13
13
|
@tree-node-icon-color-text: var(~'@{tree-prefix}-node-icon-color-text', #666666);
|
|
14
14
|
|