@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.
Files changed (86) hide show
  1. package/CHANGELOG.md +39 -0
  2. package/dist/kdesign-complete.less +304 -219
  3. package/dist/kdesign.css +167 -97
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +19 -10
  6. package/dist/kdesign.js.map +1 -1
  7. package/dist/kdesign.min.css +4 -4
  8. package/dist/kdesign.min.js +3 -3
  9. package/dist/kdesign.min.js.map +1 -1
  10. package/es/avatar/style/token.less +13 -8
  11. package/es/base-data/base-data.js +5 -1
  12. package/es/base-data/style/index.css +8 -3
  13. package/es/base-data/style/index.less +8 -3
  14. package/es/base-data/style/token.less +7 -0
  15. package/es/button/style/token.less +7 -5
  16. package/es/card/style/token.less +8 -8
  17. package/es/carousel/style/index.css +4 -4
  18. package/es/carousel/style/token.less +10 -9
  19. package/es/city-picker/style/token.less +7 -7
  20. package/es/form/Field.js +4 -2
  21. package/es/form/style/index.css +1 -2
  22. package/es/form/style/index.less +1 -2
  23. package/es/form/style/token.less +7 -12
  24. package/es/image/style/token.less +0 -13
  25. package/es/menu/menu.js +1 -1
  26. package/es/menu/style/index.css +113 -69
  27. package/es/menu/style/index.less +149 -61
  28. package/es/menu/style/mixin.less +1 -10
  29. package/es/menu/style/token.less +13 -13
  30. package/es/menu/subMenu.js +1 -2
  31. package/es/message/content.js +7 -3
  32. package/es/message/style/index.css +30 -13
  33. package/es/message/style/index.less +22 -9
  34. package/es/message/style/token.less +29 -5
  35. package/es/pagination/style/token.less +5 -3
  36. package/es/progress/style/token.less +0 -8
  37. package/es/radio/style/token.less +0 -16
  38. package/es/select/style/index.css +1 -1
  39. package/es/select/style/token.less +1 -1
  40. package/es/stepper/style/index.css +1 -0
  41. package/es/stepper/style/index.less +1 -0
  42. package/es/stepper/style/token.less +8 -10
  43. package/es/switch/style/token.less +0 -6
  44. package/es/timeline/style/token.less +0 -8
  45. package/es/tree/style/index.css +6 -3
  46. package/es/tree/style/index.less +4 -0
  47. package/es/tree/style/token.less +2 -2
  48. package/lib/avatar/style/token.less +13 -8
  49. package/lib/base-data/base-data.js +5 -1
  50. package/lib/base-data/style/index.css +8 -3
  51. package/lib/base-data/style/index.less +8 -3
  52. package/lib/base-data/style/token.less +7 -0
  53. package/lib/button/style/token.less +7 -5
  54. package/lib/card/style/token.less +8 -8
  55. package/lib/carousel/style/index.css +4 -4
  56. package/lib/carousel/style/token.less +10 -9
  57. package/lib/city-picker/style/token.less +7 -7
  58. package/lib/form/Field.js +4 -2
  59. package/lib/form/style/index.css +1 -2
  60. package/lib/form/style/index.less +1 -2
  61. package/lib/form/style/token.less +7 -12
  62. package/lib/image/style/token.less +0 -13
  63. package/lib/menu/menu.js +1 -1
  64. package/lib/menu/style/index.css +113 -69
  65. package/lib/menu/style/index.less +149 -61
  66. package/lib/menu/style/mixin.less +1 -10
  67. package/lib/menu/style/token.less +13 -13
  68. package/lib/menu/subMenu.js +1 -2
  69. package/lib/message/content.js +7 -3
  70. package/lib/message/style/index.css +30 -13
  71. package/lib/message/style/index.less +22 -9
  72. package/lib/message/style/token.less +29 -5
  73. package/lib/pagination/style/token.less +5 -3
  74. package/lib/progress/style/token.less +0 -8
  75. package/lib/radio/style/token.less +0 -16
  76. package/lib/select/style/index.css +1 -1
  77. package/lib/select/style/token.less +1 -1
  78. package/lib/stepper/style/index.css +1 -0
  79. package/lib/stepper/style/index.less +1 -0
  80. package/lib/stepper/style/token.less +8 -10
  81. package/lib/switch/style/token.less +0 -6
  82. package/lib/timeline/style/token.less +0 -8
  83. package/lib/tree/style/index.css +6 -3
  84. package/lib/tree/style/index.less +4 -0
  85. package/lib/tree/style/token.less +2 -2
  86. package/package.json +1 -1
@@ -109,6 +109,7 @@
109
109
  text-align: center;
110
110
  color: var(--kd-c-stepper-input-color, var(--kd-g-color-text-primary, #212121));
111
111
  margin: 0 4px;
112
+ font-size: var(--kd-c-stepper-input-font-size, 12px);
112
113
  }
113
114
  .kd-inputNumber-icon {
114
115
  font-size: 14px;
@@ -10,6 +10,7 @@
10
10
  text-align: center;
11
11
  color: @stepper-input-color;
12
12
  margin: 0 4px;
13
+ font-size: @stepper-input-font-size;
13
14
  }
14
15
 
15
16
  &-icon {
@@ -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
-
@@ -3,12 +3,6 @@
3
3
  @switch-prefix: '--@{kd-prefix}-c-switch';
4
4
 
5
5
 
6
-
7
-
8
-
9
-
10
-
11
-
12
6
  // color
13
7
  @switch-on-color: var(~'@{switch-prefix}-color-on', @color-theme);
14
8
  @switch-off-color: var(~'@{switch-prefix}-color-off', #999);
@@ -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);
@@ -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, #E3EBFF) !important;
231
- color: var(--kd-c-tree-node-color-text-checked, var(--kd-g-color-theme-6, #5582f3));
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-6, #5582f3));
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;
@@ -105,6 +105,10 @@
105
105
  .@{tree-node-prefix-cls}-title {
106
106
  color: @tree-node-checked-text-color;
107
107
  }
108
+
109
+ .@{tree-node-prefix-cls}-icon {
110
+ color: @tree-node-checked-text-color;
111
+ }
108
112
  }
109
113
 
110
114
  &-draggabled {
@@ -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', #E3EBFF);
11
- @tree-node-checked-text-color: var(~'@{tree-prefix}-node-color-text-checked', @color-theme-6);
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kdcloudjs/kdesign",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "KDesign 金蝶前端react 组件库",
5
5
  "title": "kdesign",
6
6
  "keywords": [