@kdcloudjs/kdesign 1.1.0 → 1.1.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/CHANGELOG.md +39 -0
- package/dist/kdesign-complete.less +304 -219
- package/dist/kdesign.css +167 -97
- package/dist/kdesign.css.map +1 -1
- package/dist/kdesign.js +19 -10
- package/dist/kdesign.js.map +1 -1
- package/dist/kdesign.min.css +4 -4
- package/dist/kdesign.min.js +3 -3
- package/dist/kdesign.min.js.map +1 -1
- 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/token.less +7 -5
- 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/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/image/style/token.less +0 -13
- package/es/menu/menu.js +1 -1
- package/es/menu/style/index.css +113 -69
- package/es/menu/style/index.less +149 -61
- package/es/menu/style/mixin.less +1 -10
- package/es/menu/style/token.less +13 -13
- package/es/menu/subMenu.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/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 +1 -1
- package/es/select/style/token.less +1 -1
- 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/tree/style/index.css +6 -3
- package/es/tree/style/index.less +4 -0
- package/es/tree/style/token.less +2 -2
- 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/token.less +7 -5
- 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/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/image/style/token.less +0 -13
- package/lib/menu/menu.js +1 -1
- package/lib/menu/style/index.css +113 -69
- package/lib/menu/style/index.less +149 -61
- package/lib/menu/style/mixin.less +1 -10
- package/lib/menu/style/token.less +13 -13
- package/lib/menu/subMenu.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/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 +1 -1
- package/lib/select/style/token.less +1 -1
- 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/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);
|
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
|
|