@kdcloudjs/kdesign 1.1.0 → 1.1.3

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 (128) hide show
  1. package/CHANGELOG.md +63 -0
  2. package/dist/kdesign-complete.less +339 -310
  3. package/dist/kdesign.css +261 -207
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +50 -28
  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/_utils/usePopper.js +4 -4
  11. package/es/avatar/style/token.less +13 -8
  12. package/es/base-data/base-data.js +5 -1
  13. package/es/base-data/style/index.css +8 -3
  14. package/es/base-data/style/index.less +8 -3
  15. package/es/base-data/style/token.less +7 -0
  16. package/es/button/style/token.less +7 -5
  17. package/es/card/style/token.less +8 -8
  18. package/es/carousel/style/index.css +4 -4
  19. package/es/carousel/style/token.less +10 -9
  20. package/es/checkbox/checkbox.js +3 -4
  21. package/es/checkbox/style/index.css +36 -33
  22. package/es/checkbox/style/index.less +25 -18
  23. package/es/checkbox/style/token.less +34 -35
  24. package/es/city-picker/style/token.less +7 -7
  25. package/es/date-picker/style/index.css +8 -8
  26. package/es/date-picker/style/index.less +8 -8
  27. package/es/date-picker/style/token.less +3 -21
  28. package/es/form/Field.js +4 -2
  29. package/es/form/style/index.css +1 -2
  30. package/es/form/style/index.less +1 -2
  31. package/es/form/style/token.less +7 -12
  32. package/es/icon/interface.js +1 -1
  33. package/es/image/style/token.less +0 -13
  34. package/es/input/style/index.css +53 -50
  35. package/es/input/style/index.less +5 -4
  36. package/es/input/style/mixin.less +1 -0
  37. package/es/input/style/token.less +23 -20
  38. package/es/layout/style/index.css +1 -1
  39. package/es/layout/style/index.less +1 -1
  40. package/es/layout/style/token.less +5 -5
  41. package/es/menu/menu.js +1 -1
  42. package/es/menu/style/index.css +37 -31
  43. package/es/menu/style/index.less +14 -0
  44. package/es/menu/style/mixin.less +1 -1
  45. package/es/menu/style/token.less +13 -16
  46. package/es/message/content.js +7 -3
  47. package/es/message/style/index.css +30 -13
  48. package/es/message/style/index.less +22 -9
  49. package/es/message/style/token.less +29 -5
  50. package/es/pagination/pagination.js +4 -4
  51. package/es/pagination/style/index.css +70 -55
  52. package/es/pagination/style/index.less +61 -43
  53. package/es/pagination/style/token.less +9 -7
  54. package/es/progress/style/token.less +0 -8
  55. package/es/radio/radio.js +21 -8
  56. package/es/radio/style/token.less +0 -16
  57. package/es/select/style/index.css +2 -2
  58. package/es/select/style/token.less +2 -2
  59. package/es/stepper/style/index.css +1 -0
  60. package/es/stepper/style/index.less +1 -0
  61. package/es/stepper/style/token.less +8 -10
  62. package/es/style/icon/kdicon.css +224 -0
  63. package/es/style/icon/kdicon.woff +0 -0
  64. package/es/switch/style/token.less +0 -6
  65. package/es/timeline/style/token.less +0 -8
  66. package/es/tree/style/index.css +6 -3
  67. package/es/tree/style/index.less +4 -0
  68. package/es/tree/style/token.less +2 -2
  69. package/lib/_utils/usePopper.js +4 -4
  70. package/lib/avatar/style/token.less +13 -8
  71. package/lib/base-data/base-data.js +5 -1
  72. package/lib/base-data/style/index.css +8 -3
  73. package/lib/base-data/style/index.less +8 -3
  74. package/lib/base-data/style/token.less +7 -0
  75. package/lib/button/style/token.less +7 -5
  76. package/lib/card/style/token.less +8 -8
  77. package/lib/carousel/style/index.css +4 -4
  78. package/lib/carousel/style/token.less +10 -9
  79. package/lib/checkbox/checkbox.js +3 -4
  80. package/lib/checkbox/style/index.css +36 -33
  81. package/lib/checkbox/style/index.less +25 -18
  82. package/lib/checkbox/style/token.less +34 -35
  83. package/lib/city-picker/style/token.less +7 -7
  84. package/lib/date-picker/style/index.css +8 -8
  85. package/lib/date-picker/style/index.less +8 -8
  86. package/lib/date-picker/style/token.less +3 -21
  87. package/lib/form/Field.js +4 -2
  88. package/lib/form/style/index.css +1 -2
  89. package/lib/form/style/index.less +1 -2
  90. package/lib/form/style/token.less +7 -12
  91. package/lib/icon/interface.js +1 -1
  92. package/lib/image/style/token.less +0 -13
  93. package/lib/input/style/index.css +53 -50
  94. package/lib/input/style/index.less +5 -4
  95. package/lib/input/style/mixin.less +1 -0
  96. package/lib/input/style/token.less +23 -20
  97. package/lib/layout/style/index.css +1 -1
  98. package/lib/layout/style/index.less +1 -1
  99. package/lib/layout/style/token.less +5 -5
  100. package/lib/menu/menu.js +1 -1
  101. package/lib/menu/style/index.css +37 -31
  102. package/lib/menu/style/index.less +14 -0
  103. package/lib/menu/style/mixin.less +1 -1
  104. package/lib/menu/style/token.less +13 -16
  105. package/lib/message/content.js +7 -3
  106. package/lib/message/style/index.css +30 -13
  107. package/lib/message/style/index.less +22 -9
  108. package/lib/message/style/token.less +29 -5
  109. package/lib/pagination/pagination.js +4 -3
  110. package/lib/pagination/style/index.css +70 -55
  111. package/lib/pagination/style/index.less +61 -43
  112. package/lib/pagination/style/token.less +9 -7
  113. package/lib/progress/style/token.less +0 -8
  114. package/lib/radio/radio.js +21 -8
  115. package/lib/radio/style/token.less +0 -16
  116. package/lib/select/style/index.css +2 -2
  117. package/lib/select/style/token.less +2 -2
  118. package/lib/stepper/style/index.css +1 -0
  119. package/lib/stepper/style/index.less +1 -0
  120. package/lib/stepper/style/token.less +8 -10
  121. package/lib/style/icon/kdicon.css +224 -0
  122. package/lib/style/icon/kdicon.woff +0 -0
  123. package/lib/switch/style/token.less +0 -6
  124. package/lib/timeline/style/token.less +0 -8
  125. package/lib/tree/style/index.css +6 -3
  126. package/lib/tree/style/index.less +4 -0
  127. package/lib/tree/style/token.less +2 -2
  128. package/package.json +1 -1
@@ -3,6 +3,7 @@
3
3
  @import './token.less';
4
4
 
5
5
  @pagination-prefix-cls: ~'@{kd-prefix}-pagination';
6
+ @dropdown-prefix-cls: ~'@{kd-prefix}-dropdown';
6
7
  @pagination-action-prefix-cls: ~'@{pagination-prefix-cls}-action';
7
8
  @pagination-selector-prefix-cls: ~'@{pagination-prefix-cls}-selector';
8
9
  @pagination-pages-prefix-cls: ~'@{pagination-prefix-cls}-pages';
@@ -22,11 +23,11 @@
22
23
 
23
24
  .@{pagination-prefix-cls}-current {
24
25
  display: inline-block;
25
- margin-right: 15px;
26
+ margin-right: 12px;
26
27
  vertical-align: middle;
27
28
  .@{pagination-prefix-cls}-current-input {
28
29
  box-sizing: border-box;
29
- width: 32px;
30
+ width: 44px;
30
31
  height: @pagination-size;
31
32
  margin: 0 3px;
32
33
  padding: 0;
@@ -46,7 +47,7 @@
46
47
  }
47
48
 
48
49
  &:disabled {
49
- color: @color-disabled;
50
+ color: @pagination-disabled-color;
50
51
  border: @pagination-border-size solid @pagination-border-disabled-color;
51
52
  background: @pagination-button-disabled-background-color;
52
53
  cursor: not-allowed;
@@ -107,7 +108,7 @@
107
108
  cursor: not-allowed;
108
109
 
109
110
  i {
110
- color: @pagination-icon-disabled-color;
111
+ color: @pagination-disabled-color;
111
112
  }
112
113
  }
113
114
 
@@ -141,6 +142,7 @@
141
142
  .@{pagination-selector-prefix-cls}-size {
142
143
  box-sizing: border-box;
143
144
  display: inline-block;
145
+ padding: 0;
144
146
  line-height: @pagination-size;
145
147
  font-size: @pagination-font-size;
146
148
  color: @color-text-primary;
@@ -160,21 +162,34 @@
160
162
  &.disabled,
161
163
  &.disabled > i {
162
164
  cursor: not-allowed;
163
- color: @color-border-disabled;
165
+ color: @pagination-disabled-color;
164
166
  }
165
167
 
166
168
  i {
167
- margin-left: 5px;
169
+ margin-left: 4px;
168
170
  line-height: @pagination-size;
169
171
  font-size: @pagination-icon-size;
170
172
  color: @pagination-text-color;
171
173
  }
172
174
  }
175
+
176
+ .@{dropdown-prefix-cls}-menu-item {
177
+ text-align: right;
178
+ padding-right: @pagination-dropdown-item-spacing-horizontal;
179
+ padding-left: @pagination-dropdown-item-spacing-horizontal;
180
+
181
+ span {
182
+ white-space: nowrap;
183
+ }
184
+ }
173
185
  }
174
186
 
175
187
  // 简化版分页
176
188
  &.simple {
177
- display: inline-block;
189
+ display: inline-flex;
190
+ justify-content: space-around;
191
+ align-items: center;
192
+ height: @pagination-size;
178
193
  border-radius: @radius-border;
179
194
  border: @pagination-border-size solid transparent;
180
195
 
@@ -193,15 +208,17 @@
193
208
  }
194
209
 
195
210
  &.disabled > .@{pagination-prefix-cls}-item {
196
- color: @color-border-disabled;
211
+ color: @pagination-disabled-color;
197
212
  }
198
213
 
199
214
  .@{pagination-prefix-cls}-item {
200
215
  .reset-component;
201
216
  display: inline-block;
217
+ height: @pagination-size;
218
+ overflow: hidden;
219
+ margin: 0 8px;
202
220
  vertical-align: middle;
203
221
  color: @color-text-primary;
204
- margin: 0 18px;
205
222
 
206
223
  &:first-child,
207
224
  &:last-child {
@@ -216,7 +233,7 @@
216
233
  margin: 0;
217
234
 
218
235
  &:disabled {
219
- color: @color-disabled;
236
+ color: @pagination-disabled-color;
220
237
  cursor: not-allowed;
221
238
  }
222
239
  }
@@ -243,7 +260,7 @@
243
260
  &:hover,
244
261
  &:active {
245
262
  &:not(:disabled) {
246
- border-color: @pagination-border-hover-color
263
+ border-color: @pagination-border-hover-color;
247
264
  }
248
265
 
249
266
  i {
@@ -255,7 +272,7 @@
255
272
  cursor: not-allowed;
256
273
 
257
274
  i {
258
- color: @pagination-icon-disabled-color;
275
+ color: @pagination-disabled-color;
259
276
  }
260
277
  }
261
278
 
@@ -318,7 +335,7 @@
318
335
  border-color: @pagination-border-hover-color;
319
336
 
320
337
  &:disabled {
321
- border-color: @pagination-border-disabled-color
338
+ border-color: @pagination-border-disabled-color;
322
339
  }
323
340
  }
324
341
  }
@@ -339,7 +356,7 @@
339
356
 
340
357
  &:disabled {
341
358
  cursor: not-allowed;
342
- color: @color-disabled;
359
+ color: @pagination-disabled-color;
343
360
  }
344
361
  }
345
362
  }
@@ -377,11 +394,8 @@
377
394
  background-color: @color-background-contain;
378
395
  }
379
396
 
380
- &:hover,
381
- &:active,
382
397
  &.active,
383
- &:first-child,
384
- &:last-child {
398
+ &:hover {
385
399
  button {
386
400
  color: @color-theme;
387
401
 
@@ -394,16 +408,16 @@
394
408
  &:first-child,
395
409
  &:last-child {
396
410
  button {
397
- width: @pagination-nicety-size;
411
+ width: @pagination-size;
398
412
  padding: 0;
399
- line-height: calc(@pagination-nicety-size - 2px);
413
+ line-height: calc(@pagination-size - 2px);
400
414
  }
401
415
  }
402
416
 
403
417
  button {
404
418
  .reset-component;
405
- min-width: @pagination-nicety-size;
406
- height: @pagination-nicety-size;
419
+ min-width: @pagination-size;
420
+ height: @pagination-size;
407
421
  padding: 0 6px;
408
422
  cursor: pointer;
409
423
  outline: none;
@@ -416,7 +430,11 @@
416
430
 
417
431
  &:disabled {
418
432
  cursor: not-allowed;
419
- color: @color-disabled;
433
+ color: @pagination-disabled-color;
434
+ }
435
+
436
+ > i {
437
+ font-size: 16px;
420
438
  }
421
439
 
422
440
  .@{pagination-pages-prefix-cls}-jumper-icon {
@@ -427,7 +445,7 @@
427
445
  width: 100%;
428
446
  height: 100%;
429
447
  color: @color-theme;
430
- line-height: @pagination-nicety-size;
448
+ line-height: @pagination-size;
431
449
  background-color: @color-background;
432
450
  transition: opacity @duration-promptly;
433
451
  }
@@ -437,13 +455,13 @@
437
455
 
438
456
  .@{pagination-jumper-prefix-cls} {
439
457
  display: inline-block;
440
- margin-left: 12px;
458
+ margin-left: 4px;
441
459
  vertical-align: middle;
442
460
 
443
461
  .@{pagination-jumper-prefix-cls}-input {
444
462
  box-sizing: border-box;
445
- width: 48px;
446
- height: @pagination-nicety-size;
463
+ width: 40px;
464
+ height: @pagination-size;
447
465
  padding: 0;
448
466
  outline: none;
449
467
  text-align: center;
@@ -461,7 +479,7 @@
461
479
  }
462
480
 
463
481
  &:disabled {
464
- color: @color-disabled;
482
+ color: @pagination-disabled-color;
465
483
  border: @pagination-border-size solid @pagination-border-disabled-color;
466
484
  background: @pagination-button-disabled-background-color;
467
485
  cursor: not-allowed;
@@ -470,14 +488,14 @@
470
488
 
471
489
  .@{pagination-jumper-prefix-cls}-button {
472
490
  .reset-component;
473
- width: @pagination-nicety-size;
474
- height: @pagination-nicety-size;
491
+ width: @pagination-size;
492
+ height: @pagination-size;
475
493
  margin-left: @pagination-button-spacing;
476
- line-height: @pagination-nicety-size;
494
+ line-height: @pagination-size;
477
495
  vertical-align: top;
478
496
  cursor: pointer;
479
497
  outline: none;
480
- color: @color-theme;
498
+ color: @color-text-primary;
481
499
  font-size: @pagination-font-size;
482
500
  border-radius: @radius-border;
483
501
  border: @pagination-border-size solid @color-border-strong;
@@ -485,8 +503,8 @@
485
503
  transition: border-color @duration-promptly;
486
504
 
487
505
  &:hover,
488
- &:active,
489
- &.active {
506
+ &:active {
507
+ color: @color-theme;
490
508
  border-color: @pagination-border-hover-color;
491
509
 
492
510
  &:disabled {
@@ -495,7 +513,7 @@
495
513
  }
496
514
 
497
515
  &:disabled {
498
- color: @color-disabled;
516
+ color: @pagination-disabled-color;
499
517
  cursor: not-allowed;
500
518
  }
501
519
  }
@@ -505,9 +523,9 @@
505
523
  .reset-component;
506
524
  position: relative;
507
525
  display: inline-block;
508
- margin-left: 40px;
526
+ margin-left: 22px;
509
527
  outline: none;
510
- height: @pagination-nicety-size;
528
+ height: @pagination-size;
511
529
  color: @color-text-primary;
512
530
  vertical-align: middle;
513
531
 
@@ -515,11 +533,11 @@
515
533
  position: relative;
516
534
  box-sizing: border-box;
517
535
  display: inline-block;
518
- width: 67px;
519
- height: @pagination-nicety-size;
536
+ min-width: 64px;
537
+ height: @pagination-size;
520
538
  margin-right: 8px;
521
- padding: 0 8px;
522
- line-height: @pagination-nicety-size;
539
+ padding: 0 24px 0 4px;
540
+ line-height: @pagination-size;
523
541
  font-size: @pagination-font-size;
524
542
  color: @color-text-primary;
525
543
  text-align: left;
@@ -542,7 +560,7 @@
542
560
  &.disabled,
543
561
  &.disabled > i {
544
562
  cursor: not-allowed;
545
- color: @color-border-disabled;
563
+ color: @pagination-disabled-color;
546
564
  }
547
565
 
548
566
  i {
@@ -554,7 +572,7 @@
554
572
  color: @pagination-hover-color;
555
573
  transform: translateY(-50%);
556
574
  }
557
-
575
+
558
576
  .@{pagination-prefix-cls}-dropdown-icon-open {
559
577
  transform: rotate(180deg) translateY(50%);
560
578
  }
@@ -5,24 +5,26 @@
5
5
  // color
6
6
  @pagination-text-color: var(~'@{pagination-custom-prefix}-text-color', @color-text-secondary);
7
7
  @pagination-hover-color: var(~'@{pagination-custom-prefix}-color-text-hover', @color-theme);
8
- @pagination-disabled-color: var(~'@{pagination-custom-prefix}-color-text-disabled', @color-border-disabled);
9
8
  @pagination-icon-color: var(~'@{pagination-custom-prefix}-button-color', @color-text-secondary);
10
- @pagination-icon-disabled-color: var(~'@{pagination-custom-prefix}-button-color-disabled', @color-border-disabled);
9
+ @pagination-disabled-color: var(~'@{pagination-custom-prefix}-color-disabled', @color-disabled);
11
10
  @pagination-border-color: var(~'@{pagination-custom-prefix}-color-border', @color-border-strong);
12
- @pagination-border-hover-color: var(~'@{pagination-custom-prefix}-color-border-hover', @color-theme);
11
+ @pagination-border-hover-color: var(~'@{pagination-custom-prefix}-color-border-hover', @color-theme-7);
13
12
  @pagination-border-disabled-color: var(~'@{pagination-custom-prefix}-color-border-disabled', @color-border-strong);
14
13
  @pagination-button-disabled-background-color: var(~'@{pagination-custom-prefix}-button-color-background-disabled', @color-background-contain-disabled);
15
14
 
15
+ // font
16
+ @pagination-font-size: var(~'@{pagination-custom-prefix}-font-size', @font-size-small);
17
+ @pagination-icon-size: var(~'@{pagination-custom-prefix}-icon-font-size', @font-size-large);
18
+
19
+
16
20
  // sizing
17
21
  @pagination-size: var(~'@{pagination-custom-prefix}-sizing-square', 24px);
18
- @pagination-nicety-size: var(~'@{pagination-custom-prefix}-nicety-sizing-square', 30px);
19
22
  @pagination-border-size: var(~'@{pagination-custom-prefix}-sizing-border-width', 1px);
20
23
 
21
24
  // spacing
22
25
  @pagination-button-spacing: var(~'@{pagination-custom-prefix}-button-spacing', 4px);
26
+ @pagination-dropdown-item-spacing-horizontal: var(~'@{pagination-custom-prefix}-dropdown-item-spacing-padding-horizontal', 24px);
27
+
23
28
 
24
- // font
25
- @pagination-font-size: var(~'@{pagination-custom-prefix}-font-size', @font-size-small);
26
- @pagination-icon-size: var(~'@{pagination-custom-prefix}-icon-font-size', @font-size-large);
27
29
 
28
30
 
@@ -1,14 +1,7 @@
1
1
  @import '../../style/themes/token.less';
2
2
  @progress-prefix: '--@{kd-prefix}-c-progress';
3
-
4
-
5
-
6
3
  @progress-transition-fn: cubic-bezier(0.66, 0, 0.34, 1);
7
4
 
8
-
9
-
10
-
11
-
12
5
  // color
13
6
  @progress-remaining-color: var(~'@{progress-prefix}-color-remaining', #e5e5e5);//背景色
14
7
  @progress-default-color: var(~'@{progress-prefix}-color-default', #5582f3);//进度条 默认色
@@ -28,7 +21,6 @@
28
21
  @progress-border-radius: var(~'@{progress-prefix}-radius-border', 100px);//线性进度条圆角
29
22
 
30
23
 
31
-
32
24
  // sizing
33
25
  @progress-line-stroke-width: var(~'@{progress-prefix}-line-stroke-sizing-width', 8px);
34
26
  @progress-circle-stroke-width: var(~'@{progress-prefix}-circle-stroke-sizing-width', 4px);
package/es/radio/radio.js CHANGED
@@ -85,14 +85,27 @@ var InternalRadio = function InternalRadio(props, ref) {
85
85
 
86
86
  var classString = classNames((_classNames = {}, _defineProperty(_classNames, "".concat(radioPrefixCls), true), _defineProperty(_classNames, "".concat(radioPrefixCls, "-disabled"), radioProps.disabled), _defineProperty(_classNames, "".concat(radioPrefixCls, "-checked"), context ? radioProps.checked : isChecked), _classNames), className); // 单选包裹元素class名称
87
87
 
88
- return /*#__PURE__*/React.createElement("label", {
89
- className: classString,
90
- style: style,
91
- ref: mergedRef
92
- }, /*#__PURE__*/React.createElement("input", _extends({
93
- type: "radio",
94
- className: "".concat(radioPrefixCls, "-input")
95
- }, radioProps)), children !== undefined ? /*#__PURE__*/React.createElement("span", null, children) : null);
88
+ var handleRepeatClick = function handleRepeatClick(e) {
89
+ var element = e.target;
90
+
91
+ if (element.tagName !== 'INPUT') {
92
+ e.stopPropagation();
93
+ }
94
+ };
95
+
96
+ return (
97
+ /*#__PURE__*/
98
+ // eslint-disable-next-line
99
+ React.createElement("label", {
100
+ className: classString,
101
+ style: style,
102
+ ref: mergedRef,
103
+ onClick: handleRepeatClick
104
+ }, /*#__PURE__*/React.createElement("input", _extends({
105
+ type: "radio",
106
+ className: "".concat(radioPrefixCls, "-input")
107
+ }, radioProps)), children !== undefined ? /*#__PURE__*/React.createElement("span", null, children) : null)
108
+ );
96
109
  };
97
110
 
98
111
  var Radio = /*#__PURE__*/React.forwardRef(InternalRadio);
@@ -1,19 +1,9 @@
1
1
  @import '../../style/themes/token.less';
2
2
  @import '../../style/mixins/index';
3
3
 
4
-
5
4
  @radio-prefix: '--@{kd-prefix}-c-radio';
6
-
7
-
8
-
9
-
10
-
11
-
12
5
  @radio-transition-fn: cubic-bezier(0.075, 0.82, 0.165, 1);
13
6
 
14
-
15
-
16
-
17
7
  // color
18
8
  @radio-font-color: var(~'@{radio-prefix}-color-font', @color-text-primary);//单选项字体颜色
19
9
  @radio-color-theme: var(~'@{radio-prefix}-color-theme', @color-theme);//悬停/选中跟随主题色
@@ -26,19 +16,13 @@
26
16
  // font
27
17
  @radio-font-size: var(~'@{radio-prefix}-font-size', @font-size-small);//单选项字体大小
28
18
 
29
-
30
-
31
-
32
19
  //radius
33
20
  @radio-border-width: var(~'@{radio-prefix}-radius-border-width',1px);
34
21
 
35
-
36
-
37
22
  // sizing
38
23
  @radio-circle-size:var(~'@{radio-prefix}-square-sizing-width-height',13px);//单选图标大小
39
24
  @radio-square-height: var(~'@{radio-prefix}-square-sizing-height',32px);//单选框 高度
40
25
 
41
-
42
26
  // spacing
43
27
  @radio-margin-right: var(~'@{radio-prefix}-spacing-margin-right',8px);
44
28
  @radio-square-padding-vertical: var(~'@{radio-prefix}-square-spacing-padding-vertical',0px); //内间距 纵向
@@ -413,8 +413,8 @@
413
413
  background-color: var(--kd-c-select-color-background, var(--kd-g-color-hover, #f5f5f5));
414
414
  }
415
415
  .kd-select-item-option-selected:not(.kd-select-item-option-disabled) {
416
- color: var(--kd-c-select-item-color-text-selected, var(--kd-g-color-ongoing, #276ff5));
417
- background-color: var(--kd-c-select-color-background-selected, #f2f9ff);
416
+ color: var(--kd-c-select-item-color-text-selected, var(--kd-g-color-theme, #5582f3));
417
+ background-color: var(--kd-c-select-color-background-selected, var(--kd-g-color-theme-3, #e3eeff));
418
418
  }
419
419
  .kd-select-item-option-disabled {
420
420
  color: var(--kd-c-select-item-color-text-disabled, var(--kd-g-color-disabled, #b2b2b2));
@@ -7,13 +7,13 @@
7
7
  @select-dropdown-bg: var(~'@{select-custom-prefix}-dropdown-color-background', @color-background);
8
8
  @select-disabled-option-bg: var(~'@{select-custom-prefix}-item-color-background-disabled', @color-background-contain-disabled);
9
9
  @select-item-active-bg: var(~'@{select-custom-prefix}-color-background', @color-hover);
10
- @select-item-selected-bg: var(~'@{select-custom-prefix}-color-background-selected', #f2f9ff);
10
+ @select-item-selected-bg: var(~'@{select-custom-prefix}-color-background-selected', @color-theme-3);
11
11
  @select-g-color-border: var(~'@{select-custom-prefix}-color-border', @color-input);
12
12
  @select-g-color-border-foucs: var(~'@{select-custom-prefix}-color-border-foucs', @color-theme);
13
13
  @select-g-color-border-hover: var(~'@{select-custom-prefix}-color-border-hover', @color-theme);
14
14
  @select-border-g-color-border: var(~'@{select-custom-prefix}-border-color-border', @color-border-strong);
15
15
  @select-placeholder-color: var(~'@{select-custom-prefix}-placeholder-color-text', @color-text-third);
16
- @select-item-selected-color: var(~'@{select-custom-prefix}-item-color-text-selected', @color-ongoing);
16
+ @select-item-selected-color: var(~'@{select-custom-prefix}-item-color-text-selected', @color-theme);
17
17
  @select-font-color: var(~'@{select-custom-prefix}-footer-color-text', @color-text-primary);
18
18
  @select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', @color-text-link);
19
19
  @select-g-item-text-color-disabled: var(~'@{select-custom-prefix}-item-color-text-disabled', @color-disabled);
@@ -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
-