@kdcloudjs/kdesign 1.1.2 → 1.2.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 (160) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/dist/kdesign-complete.less +1125 -926
  3. package/dist/kdesign.css +485 -432
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +516 -251
  6. package/dist/kdesign.js.map +1 -1
  7. package/dist/kdesign.min.css +4 -4
  8. package/dist/kdesign.min.js +8 -8
  9. package/dist/kdesign.min.js.map +1 -1
  10. package/es/_utils/usePopper.js +37 -16
  11. package/es/anchor/anchor.js +0 -6
  12. package/es/anchor/style/index.css +5 -2
  13. package/es/anchor/style/index.less +6 -2
  14. package/es/anchor/style/token.less +2 -1
  15. package/es/button/button.d.ts +1 -1
  16. package/es/button/button.js +2 -2
  17. package/es/button/group.d.ts +21 -0
  18. package/es/button/group.js +130 -0
  19. package/es/button/index.d.ts +5 -1
  20. package/es/button/index.js +4 -1
  21. package/es/button/style/index.css +117 -21
  22. package/es/button/style/index.less +332 -192
  23. package/es/button/style/token.less +41 -25
  24. package/es/carousel/carousel.js +4 -0
  25. package/es/checkbox/checkbox.js +3 -4
  26. package/es/checkbox/style/index.css +36 -33
  27. package/es/checkbox/style/index.less +25 -18
  28. package/es/checkbox/style/token.less +34 -35
  29. package/es/collapse/panel.d.ts +1 -0
  30. package/es/collapse/panel.js +17 -5
  31. package/es/collapse/style/index.css +32 -6
  32. package/es/collapse/style/index.less +24 -1
  33. package/es/collapse/style/token.less +12 -10
  34. package/es/config-provider/compDefaultProps.d.ts +4 -0
  35. package/es/config-provider/compDefaultProps.js +4 -0
  36. package/es/drawer/drawer.d.ts +1 -0
  37. package/es/drawer/drawer.js +56 -21
  38. package/es/empty/defaultEmptyImg.js +5 -3
  39. package/es/empty/illustrationEmptyImg.js +6 -4
  40. package/es/icon/interface.js +1 -1
  41. package/es/image/preview.js +1 -1
  42. package/es/image/style/index.css +8 -8
  43. package/es/image/style/index.less +5 -5
  44. package/es/image/style/token.less +12 -25
  45. package/es/input/style/index.css +53 -50
  46. package/es/input/style/index.less +5 -4
  47. package/es/input/style/mixin.less +1 -0
  48. package/es/input/style/token.less +23 -20
  49. package/es/layout/style/index.css +1 -1
  50. package/es/layout/style/index.less +1 -1
  51. package/es/layout/style/token.less +5 -5
  52. package/es/menu/menu.js +1 -1
  53. package/es/menu/style/index.css +37 -31
  54. package/es/menu/style/index.less +14 -0
  55. package/es/menu/style/mixin.less +1 -1
  56. package/es/menu/style/token.less +13 -16
  57. package/es/pagination/pagination.js +4 -4
  58. package/es/pagination/style/index.css +70 -55
  59. package/es/pagination/style/index.less +61 -43
  60. package/es/pagination/style/token.less +4 -4
  61. package/es/radio/radio.js +23 -8
  62. package/es/radio/style/index.css +46 -18
  63. package/es/radio/style/index.less +27 -1
  64. package/es/radio/style/token.less +4 -4
  65. package/es/rate/style/index.css +9 -9
  66. package/es/rate/style/token.less +6 -6
  67. package/es/select/option.js +1 -1
  68. package/es/select/style/index.css +14 -5
  69. package/es/select/style/index.less +374 -368
  70. package/es/select/style/token.less +2 -2
  71. package/es/stepper/style/index.css +1 -1
  72. package/es/stepper/style/token.less +1 -1
  73. package/es/steps/style/index.css +40 -32
  74. package/es/steps/style/index.less +23 -33
  75. package/es/steps/style/token.less +6 -9
  76. package/es/style/icon/kdicon.css +225 -0
  77. package/es/style/icon/kdicon.woff +0 -0
  78. package/es/switch/style/index.css +11 -11
  79. package/es/switch/style/index.less +2 -2
  80. package/es/switch/style/token.less +7 -10
  81. package/es/tag/style/index.css +2 -147
  82. package/es/tag/style/index.less +4 -24
  83. package/es/tag/style/mixin.less +0 -13
  84. package/es/tag/style/token.less +1 -1
  85. package/lib/_utils/usePopper.js +38 -16
  86. package/lib/anchor/anchor.js +0 -6
  87. package/lib/anchor/style/index.css +5 -2
  88. package/lib/anchor/style/index.less +6 -2
  89. package/lib/anchor/style/token.less +2 -1
  90. package/lib/button/button.d.ts +1 -1
  91. package/lib/button/button.js +2 -2
  92. package/lib/button/group.d.ts +21 -0
  93. package/lib/button/group.js +166 -0
  94. package/lib/button/index.d.ts +5 -1
  95. package/lib/button/index.js +5 -1
  96. package/lib/button/style/index.css +117 -21
  97. package/lib/button/style/index.less +332 -192
  98. package/lib/button/style/token.less +41 -25
  99. package/lib/carousel/carousel.js +4 -0
  100. package/lib/checkbox/checkbox.js +3 -4
  101. package/lib/checkbox/style/index.css +36 -33
  102. package/lib/checkbox/style/index.less +25 -18
  103. package/lib/checkbox/style/token.less +34 -35
  104. package/lib/collapse/panel.d.ts +1 -0
  105. package/lib/collapse/panel.js +17 -5
  106. package/lib/collapse/style/index.css +32 -6
  107. package/lib/collapse/style/index.less +24 -1
  108. package/lib/collapse/style/token.less +12 -10
  109. package/lib/config-provider/compDefaultProps.d.ts +4 -0
  110. package/lib/config-provider/compDefaultProps.js +4 -0
  111. package/lib/drawer/drawer.d.ts +1 -0
  112. package/lib/drawer/drawer.js +61 -27
  113. package/lib/empty/defaultEmptyImg.js +6 -3
  114. package/lib/empty/illustrationEmptyImg.js +7 -4
  115. package/lib/icon/interface.js +1 -1
  116. package/lib/image/preview.js +1 -1
  117. package/lib/image/style/index.css +8 -8
  118. package/lib/image/style/index.less +5 -5
  119. package/lib/image/style/token.less +12 -25
  120. package/lib/input/style/index.css +53 -50
  121. package/lib/input/style/index.less +5 -4
  122. package/lib/input/style/mixin.less +1 -0
  123. package/lib/input/style/token.less +23 -20
  124. package/lib/layout/style/index.css +1 -1
  125. package/lib/layout/style/index.less +1 -1
  126. package/lib/layout/style/token.less +5 -5
  127. package/lib/menu/menu.js +1 -1
  128. package/lib/menu/style/index.css +37 -31
  129. package/lib/menu/style/index.less +14 -0
  130. package/lib/menu/style/mixin.less +1 -1
  131. package/lib/menu/style/token.less +13 -16
  132. package/lib/pagination/pagination.js +4 -3
  133. package/lib/pagination/style/index.css +70 -55
  134. package/lib/pagination/style/index.less +61 -43
  135. package/lib/pagination/style/token.less +4 -4
  136. package/lib/radio/radio.js +23 -8
  137. package/lib/radio/style/index.css +46 -18
  138. package/lib/radio/style/index.less +27 -1
  139. package/lib/radio/style/token.less +4 -4
  140. package/lib/rate/style/index.css +9 -9
  141. package/lib/rate/style/token.less +6 -6
  142. package/lib/select/option.js +1 -1
  143. package/lib/select/style/index.css +14 -5
  144. package/lib/select/style/index.less +374 -368
  145. package/lib/select/style/token.less +2 -2
  146. package/lib/stepper/style/index.css +1 -1
  147. package/lib/stepper/style/token.less +1 -1
  148. package/lib/steps/style/index.css +40 -32
  149. package/lib/steps/style/index.less +23 -33
  150. package/lib/steps/style/token.less +6 -9
  151. package/lib/style/icon/kdicon.css +225 -0
  152. package/lib/style/icon/kdicon.woff +0 -0
  153. package/lib/switch/style/index.css +11 -11
  154. package/lib/switch/style/index.less +2 -2
  155. package/lib/switch/style/token.less +7 -10
  156. package/lib/tag/style/index.css +2 -147
  157. package/lib/tag/style/index.less +4 -24
  158. package/lib/tag/style/mixin.less +0 -13
  159. package/lib/tag/style/token.less +1 -1
  160. package/package.json +1 -1
@@ -6,7 +6,7 @@
6
6
  // color
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
- @select-item-active-bg: var(~'@{select-custom-prefix}-color-background', @color-hover);
9
+ @select-item-active-bg: var(~'@{select-custom-prefix}-color-background', #f5f5f5);
10
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);
@@ -15,7 +15,7 @@
15
15
  @select-placeholder-color: var(~'@{select-custom-prefix}-placeholder-color-text', @color-text-third);
16
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
- @select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', @color-text-link);
18
+ @select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', #0e5fd8);
19
19
  @select-g-item-text-color-disabled: var(~'@{select-custom-prefix}-item-color-text-disabled', @color-disabled);
20
20
 
21
21
  // font
@@ -199,7 +199,7 @@
199
199
  justify-content: center;
200
200
  height: 100%;
201
201
  border-radius: 0 1px 1px 0;
202
- background-color: var(--kd-c-stepper-embed-icon-color-background, #f6f7f9);
202
+ background-color: var(--kd-c-stepper-embed-icon-color-background, transparent);
203
203
  overflow: hidden;
204
204
  border-left: 1px solid var(--kd-c-stepper-color-border-strong, var(--kd-g-color-border-strong, #d9d9d9));
205
205
  border: none;
@@ -6,7 +6,7 @@
6
6
  @stepper-icon-color: var(~'@{stepper-prefix}-icon-color', @color-text-secondary);
7
7
  @stepper-icon-color-hover: var(~'@{stepper-prefix}-icon-color-hover', @color-theme);
8
8
  @stepper-color-border-strong: var(~'@{stepper-prefix}-color-border-strong', @color-border-strong);
9
- @stepper-embed-icon-color-background: var(~'@{stepper-prefix}-embed-icon-color-background', #f6f7f9);
9
+ @stepper-embed-icon-color-background: var(~'@{stepper-prefix}-embed-icon-color-background', transparent);
10
10
 
11
11
  // font
12
12
  @stepper-input-font-size: var(~'@{stepper-prefix}-input-font-size', 12px);
@@ -108,9 +108,13 @@
108
108
  -webkit-box-pack: justify;
109
109
  -ms-flex-pack: justify;
110
110
  justify-content: space-between;
111
- -webkit-box-align: baseline;
112
- -ms-flex-align: baseline;
113
- align-items: baseline;
111
+ }
112
+ .kd-steps .kd-steps-icon {
113
+ border: 2px solid;
114
+ padding-top: 1px;
115
+ }
116
+ .kd-steps .kdicon-exclamatory {
117
+ font-size: 30px;
114
118
  }
115
119
  .kd-steps-item {
116
120
  -webkit-box-flex: 1;
@@ -132,24 +136,24 @@
132
136
  }
133
137
  .kd-steps-item-clickable.kd-steps-item-wait .kd-steps-icon,
134
138
  .kd-steps-item-clickable.kd-steps-item-wait .kd-steps-item-title {
135
- -webkit-transition: all var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s));
136
- transition: all var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s));
139
+ -webkit-transition: all var(--kd-c-steps-motion-duration, var(--kd-g-duration, 0.3s));
140
+ transition: all var(--kd-c-steps-motion-duration, var(--kd-g-duration, 0.3s));
137
141
  }
138
142
  .kd-steps-item-clickable.kd-steps-item-wait:hover .kd-steps-icon {
139
143
  background-color: var(--kd-c-steps-color-white, var(--kd-g-color-white, #fff));
140
- color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
141
- border: 2px solid var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
144
+ color: var(--kd-c-steps-color-hover, var(--kd-g-color-theme, #5582f3));
145
+ border-color: var(--kd-c-steps-color-hover, var(--kd-g-color-theme, #5582f3));
142
146
  }
143
147
  .kd-steps-item-clickable.kd-steps-item-wait:hover .kd-steps-item-title,
144
148
  .kd-steps-item-clickable.kd-steps-item-wait:hover .kd-steps-item-description {
145
- color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
149
+ color: var(--kd-c-steps-color-hover, var(--kd-g-color-theme, #5582f3));
146
150
  }
147
151
  .kd-steps-item-clickable.kd-steps-item-finish .kd-steps-item-title {
148
- -webkit-transition: all var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) ease;
149
- transition: all var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) ease;
152
+ -webkit-transition: all var(--kd-c-steps-motion-duration, var(--kd-g-duration, 0.3s)) ease;
153
+ transition: all var(--kd-c-steps-motion-duration, var(--kd-g-duration, 0.3s)) ease;
150
154
  }
151
155
  .kd-steps-item-clickable.kd-steps-item-finish:hover .kd-steps-item-title {
152
- color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
156
+ color: var(--kd-c-steps-color-completed, var(--kd-g-color-success, #1ba854));
153
157
  }
154
158
  .kd-steps-item-container {
155
159
  width: 100%;
@@ -176,13 +180,14 @@
176
180
  .kd-steps-item-iconContainer::after {
177
181
  content: '';
178
182
  width: 100%;
179
- height: var(--kd-c-steps-line-sizing-height, 4px);
180
- background-color: var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
183
+ height: var(--kd-c-steps-line-sizing-height, 1px);
184
+ border-bottom: 1px dashed var(--kd-c-steps-color-wait, #999);
185
+ border-left: 1px dashed var(--kd-c-steps-color-wait, #999);
181
186
  position: absolute;
182
187
  left: 50%;
183
- top: calc(50% - var(--kd-c-steps-line-sizing-height, 4px) / 2);
184
- -webkit-transition: width var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96), background-color var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96);
185
- transition: width var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96), background-color var(--kd-c-steps-duration-promptly, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96);
188
+ top: calc(50% - var(--kd-c-steps-line-sizing-height, 1px) / 2);
189
+ -webkit-transition: width var(--kd-c-steps-motion-duration, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96), background-color var(--kd-c-steps-motion-duration, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96);
190
+ transition: width var(--kd-c-steps-motion-duration, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96), background-color var(--kd-c-steps-motion-duration, var(--kd-g-duration, 0.3s)) cubic-bezier(0.48, 0.04, 0.52, 0.96);
186
191
  }
187
192
  .kd-steps-item-iconContainer:last-child::after {
188
193
  display: none;
@@ -214,10 +219,10 @@
214
219
  -ms-flex-align: center;
215
220
  align-items: center;
216
221
  background-color: var(--kd-c-steps-color-white, var(--kd-g-color-white, #fff));
217
- color: var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
222
+ color: var(--kd-c-steps-color-wait, #999);
218
223
  font-size: calc(var(--kd-c-steps-icon-sizing-width, 28px) - 13px);
219
224
  border-radius: 50%;
220
- border: 2px solid var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
225
+ border-color: var(--kd-c-steps-color-wait, #999);
221
226
  -webkit-box-sizing: border-box;
222
227
  box-sizing: border-box;
223
228
  }
@@ -227,7 +232,7 @@
227
232
  .kd-steps-item-content .kd-steps-item-title {
228
233
  line-height: 20px;
229
234
  font-size: var(--kd-c-steps-font-size, var(--kd-g-font-size-small, 12px));
230
- color: var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
235
+ color: var(--kd-c-steps-color-wait, #999);
231
236
  overflow: hidden;
232
237
  text-overflow: ellipsis;
233
238
  word-break: break-word;
@@ -237,7 +242,7 @@
237
242
  .kd-steps-item-content .kd-steps-item-description {
238
243
  line-height: 20px;
239
244
  font-size: var(--kd-c-steps-font-size, var(--kd-g-font-size-small, 12px));
240
- color: var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
245
+ color: var(--kd-c-steps-color-wait, #999);
241
246
  overflow: hidden;
242
247
  text-overflow: ellipsis;
243
248
  word-break: break-word;
@@ -245,32 +250,35 @@
245
250
  -webkit-box-orient: vertical;
246
251
  width: var(--kd-c-steps-vertical-description-sizing-width, 200px);
247
252
  }
253
+ .kd-steps-item-process {
254
+ color: var(--kd-c-steps-color-hover, var(--kd-g-color-theme, #5582f3));
255
+ }
248
256
  .kd-steps-item-process .kd-steps-icon {
249
- background-color: var(--kd-c-steps-icon-color-background, var(--kd-g-color-theme, #5582f3));
257
+ background-color: var(--kd-c-steps-color-white, var(--kd-g-color-white, #fff));
258
+ color: var(--kd-c-steps-color-hover, var(--kd-g-color-theme, #5582f3));
259
+ border-color: var(--kd-c-steps-color-hover, var(--kd-g-color-theme, #5582f3));
250
260
  }
251
- .kd-steps-item-process .kd-steps-item-title {
252
- color: var(--kd-c-steps-color-wait, var(--kd-g-color-text-secondary, #666));
261
+ .kd-steps-item-process .kd-steps-item-title,
262
+ .kd-steps-item-process .kd-steps-item-description {
263
+ color: var(--kd-c-steps-color-hover, var(--kd-g-color-theme, #5582f3));
253
264
  }
254
265
  .kd-steps-item:last-child .kd-steps-item-iconContainer::after {
255
266
  display: none;
256
267
  }
257
268
  .kd-steps-item-finish .kd-steps-icon {
258
269
  background-color: var(--kd-c-steps-color-white, var(--kd-g-color-white, #fff));
259
- color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
260
- border: 2px solid var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
270
+ color: var(--kd-c-steps-color-completed, var(--kd-g-color-success, #1ba854));
271
+ border-color: var(--kd-c-steps-color-completed, var(--kd-g-color-success, #1ba854));
261
272
  -webkit-box-sizing: border-box;
262
273
  box-sizing: border-box;
263
274
  }
264
275
  .kd-steps-item-finish .kd-steps-item-content .kd-steps-item-title,
265
276
  .kd-steps-item-finish .kd-steps-item-content .kd-steps-item-description {
266
- color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
267
- }
268
- .kd-steps-item-iconContainer-finish::after {
269
- background-color: var(--kd-c-steps-color-completed, var(--kd-g-color-theme, #5582f3));
277
+ color: var(--kd-c-steps-color-completed, var(--kd-g-color-success, #1ba854));
270
278
  }
271
279
  .kd-steps-item-error .kd-steps-icon {
272
280
  color: var(--kd-c-steps-color-error, var(--kd-g-color-error, #fb2323));
273
- border: 2px solid var(--kd-c-steps-color-error, var(--kd-g-color-error, #fb2323));
281
+ border-color: var(--kd-c-steps-color-error, var(--kd-g-color-error, #fb2323));
274
282
  }
275
283
  .kd-steps-item-error .kd-steps-item-content .kd-steps-item-title,
276
284
  .kd-steps-item-error .kd-steps-item-content .kd-steps-item-description {
@@ -331,10 +339,10 @@
331
339
  margin-right: 4px;
332
340
  }
333
341
  .kd-steps-vertical .kd-steps-item-iconContainer::after {
334
- width: var(--kd-c-steps-line-sizing-height, 4px);
342
+ width: var(--kd-c-steps-line-sizing-height, 1px);
335
343
  height: calc(100% + 44px);
336
344
  top: 2px;
337
- left: calc(50% - var(--kd-c-steps-line-sizing-height, 4px) / 2);
345
+ left: calc(50% - var(--kd-c-steps-line-sizing-height, 1px) / 2);
338
346
  }
339
347
  .kd-steps-vertical .kd-steps-item-content {
340
348
  text-align: left;
@@ -1,16 +1,19 @@
1
1
  @import '../../style/themes/index';
2
2
  @import './token.less';
3
3
 
4
-
5
4
  @steps-prefix-cls: ~'@{kd-prefix}-steps';
6
5
 
7
6
  .@{steps-prefix-cls} {
8
7
  display: flex;
9
8
  justify-content: space-between;
10
- align-items: baseline;
11
9
 
12
- &-iconSize {
13
- // font-size: @steps-font-size;
10
+ .@{steps-prefix-cls}-icon {
11
+ border: 2px solid;
12
+ padding-top: 1px;
13
+ }
14
+
15
+ .@{kd-prefix}icon-exclamatory {
16
+ font-size: 30px;
14
17
  }
15
18
 
16
19
  &-item {
@@ -31,25 +34,21 @@
31
34
  }
32
35
 
33
36
  &-clickable&-wait {
34
-
35
37
  .@{steps-prefix-cls}-icon,
36
38
  .@{steps-prefix-cls}-item-title {
37
39
  transition: all @steps-duration-promptly;
38
40
  }
39
41
 
40
-
41
42
  &:hover {
42
43
  .@{steps-prefix-cls}-icon {
43
- // background-color: @steps-color-background-wait-icon-hover;
44
-
45
44
  background-color: @steps-color-white;
46
- color: @steps-color-completed;
47
- border: 2px solid @steps-color-completed;
45
+ color: @steps-color-hover;
46
+ border-color: @steps-color-hover;
48
47
  }
49
48
 
50
49
  .@{steps-prefix-cls}-item-title,
51
50
  .@{steps-prefix-cls}-item-description {
52
- color: @steps-color-completed;
51
+ color: @steps-color-hover;
53
52
  }
54
53
  }
55
54
  }
@@ -82,11 +81,12 @@
82
81
  content: '';
83
82
  width: 100%;
84
83
  height: @steps-line-sizing-height;
85
- background-color: @steps-color-wait;
84
+ border-bottom: 1px dashed @steps-color-wait;
85
+ border-left: 1px dashed @steps-color-wait;
86
86
  position: absolute;
87
87
  left: 50%;
88
88
  top: calc(50% - @steps-line-sizing-height / 2);
89
- transition: width @steps-duration-promptly @steps-transition-fn, background-color @steps-duration-promptly @steps-transition-fn
89
+ transition: width @steps-duration-promptly cubic-bezier(0.48, 0.04, 0.52, 0.96), background-color @steps-duration-promptly cubic-bezier(0.48, 0.04, 0.52, 0.96)
90
90
  }
91
91
 
92
92
  &:last-child {
@@ -103,7 +103,6 @@
103
103
  justify-content: center;
104
104
  align-items: center;
105
105
 
106
- // background-color:@steps-color-white;
107
106
  .@{steps-prefix-cls}-icon {
108
107
  width: @steps-icon-sizing-width;
109
108
  height: @steps-icon-sizing-width;
@@ -114,7 +113,7 @@
114
113
  color: @steps-color-wait;
115
114
  font-size: calc(@steps-icon-sizing-width - 13px);
116
115
  border-radius: 50%;
117
- border: 2px solid @steps-color-wait;
116
+ border-color: @steps-color-wait;
118
117
  box-sizing: border-box;
119
118
  }
120
119
  }
@@ -135,7 +134,6 @@
135
134
  }
136
135
 
137
136
  .@{steps-prefix-cls}-item-description {
138
-
139
137
  line-height: 20px;
140
138
  font-size: @steps-font-size;
141
139
  color: @steps-color-wait;
@@ -144,19 +142,21 @@
144
142
  word-break: break-word;
145
143
  display: -webkit-box;
146
144
  -webkit-box-orient: vertical;
147
-
148
145
  width: @steps-vertical-description-sizing-width;
149
-
150
146
  }
151
147
  }
152
148
 
153
149
  &-process {
150
+ color: @steps-color-hover;
151
+
154
152
  .@{steps-prefix-cls}-icon {
155
- background-color: @steps-color-background-process-icon;
153
+ background-color: @steps-color-white;
154
+ color: @steps-color-hover;
155
+ border-color: @steps-color-hover;
156
156
  }
157
157
 
158
- .@{steps-prefix-cls}-item-title {
159
- color: @steps-color-wait;
158
+ .@{steps-prefix-cls}-item-title, .@{steps-prefix-cls}-item-description {
159
+ color: @steps-color-hover;
160
160
  }
161
161
  }
162
162
 
@@ -172,12 +172,11 @@
172
172
  .@{steps-prefix-cls}-icon {
173
173
  background-color: @steps-color-white;
174
174
  color: @steps-color-completed;
175
- border: 2px solid @steps-color-completed;
175
+ border-color: @steps-color-completed;
176
176
  box-sizing: border-box;
177
177
  }
178
178
 
179
179
  .@{steps-prefix-cls}-item-content {
180
-
181
180
  .@{steps-prefix-cls}-item-title,
182
181
  .@{steps-prefix-cls}-item-description {
183
182
  color: @steps-color-completed;
@@ -185,31 +184,22 @@
185
184
  }
186
185
  }
187
186
 
188
- &-iconContainer-finish {
189
- &::after {
190
- background-color: @steps-color-completed;
191
- }
192
- }
193
187
 
194
188
  &-error {
195
189
  .@{steps-prefix-cls}-icon {
196
190
  color: @steps-color-error;
197
- border: 2px solid @steps-color-error;
191
+ border-color: @steps-color-error;
198
192
  }
199
193
 
200
194
  .@{steps-prefix-cls}-item-content {
201
-
202
195
  .@{steps-prefix-cls}-item-title,
203
196
  .@{steps-prefix-cls}-item-description {
204
197
  color: @steps-color-error;
205
198
  }
206
199
  }
207
-
208
-
209
200
  }
210
201
  }
211
202
 
212
-
213
203
  &-bottomLable {
214
204
  .@{steps-prefix-cls}-item-iconContainer {
215
205
  margin-bottom: 4px;
@@ -2,26 +2,23 @@
2
2
 
3
3
  @steps-prefix: '--@{kd-prefix}-c-steps';
4
4
 
5
- @steps-duration-promptly: var(~'@{steps-prefix}-duration-promptly', @duration-promptly);
6
- @steps-transition-fn: cubic-bezier(0.48, 0.04, 0.52, 0.96);
7
-
8
-
9
-
10
5
  // color
11
- @steps-color-completed: var(~'@{steps-prefix}-color-completed', @color-theme);//已经完成
6
+ @steps-color-completed: var(~'@{steps-prefix}-color-completed', @color-success);//已经完成
7
+ @steps-color-hover: var(~'@{steps-prefix}-color-hover', @color-theme);
12
8
  @steps-color-error: var(~'@{steps-prefix}-color-error', @color-error);
13
- @steps-color-wait: var(~'@{steps-prefix}-color-wait', @color-text-secondary);//未开始 等待
9
+ @steps-color-wait: var(~'@{steps-prefix}-color-wait', #999);//未开始 等待
14
10
  @steps-color-white: var(~'@{steps-prefix}-color-white',@color-white);
15
11
  @steps-color-background-process-icon: var(~'@{steps-prefix}-icon-color-background', @color-theme);//图标的颜色
16
12
 
17
-
18
13
  // font
19
14
  @steps-font-size: var(~'@{steps-prefix}-font-size', @font-size-small); // 文字大小
20
15
 
16
+ // motion
17
+ @steps-duration-promptly: var(~'@{steps-prefix}-motion-duration', @duration-promptly);
21
18
 
22
19
  // sizing
23
20
  @steps-icon-sizing-width: var(~'@{steps-prefix}-icon-sizing-width', 28px);//图标的大小
24
- @steps-line-sizing-height: var(~'@{steps-prefix}-line-sizing-height', 4px);//连接线高度
21
+ @steps-line-sizing-height: var(~'@{steps-prefix}-line-sizing-height', 1px);//连接线高度
25
22
  @steps-horizontal-description-sizing-height: var(~'@{steps-prefix}-horizontal-description-sizing-height', 60px);//内容部分高度 横向
26
23
  @steps-vertical-description-sizing-width: var(~'@{steps-prefix}-vertical-description-sizing-width', 200px);//内容部分宽度 纵向
27
24
 
@@ -0,0 +1,225 @@
1
+ @font-face {
2
+ font-family: "kdicon";
3
+ src: url("kdicon.woff?t=1649311510226") format("woff");
4
+ }
5
+ .kdicon {
6
+ font-family: 'kdicon' !important;
7
+ font-style:normal;
8
+ -webkit-font-smoothing: antialiased;
9
+ -moz-osx-font-smoothing: grayscale;
10
+ }
11
+ .kdicon-add-child:before { content: "\e6c0"; }
12
+ .kdicon-add-indentation:before { content: "\e6a7"; }
13
+ .kdicon-add-line:before { content: "\e6c5"; }
14
+ .kdicon-add-solid:before { content: "\e643"; }
15
+ .kdicon-add-word:before { content: "\e6ed"; }
16
+ .kdicon-add:before { content: "\e628"; }
17
+ .kdicon-address:before { content: "\e6cc"; }
18
+ .kdicon-align-center:before { content: "\e69a"; }
19
+ .kdicon-align-left:before { content: "\e6af"; }
20
+ .kdicon-align-right:before { content: "\e67a"; }
21
+ .kdicon-all-border:before { content: "\e677"; }
22
+ .kdicon-allowance-workbench:before { content: "\e714"; }
23
+ .kdicon-analysis:before { content: "\e6ce"; }
24
+ .kdicon-arrow-down-solid:before { content: "\e656"; }
25
+ .kdicon-arrow-down:before { content: "\e627"; }
26
+ .kdicon-arrow-left-solid:before { content: "\e657"; }
27
+ .kdicon-arrow-left:before { content: "\e63f"; }
28
+ .kdicon-arrow-right-solid:before { content: "\e655"; }
29
+ .kdicon-arrow-right:before { content: "\e62c"; }
30
+ .kdicon-arrow-up-solid:before { content: "\e654"; }
31
+ .kdicon-arrow-up:before { content: "\e62b"; }
32
+ .kdicon-arrow:before { content: "\e69c"; }
33
+ .kdicon-attachment:before { content: "\e694"; }
34
+ .kdicon-avatar-default:before { content: "\e717"; }
35
+ .kdicon-avatar-head-default:before { content: "\e718"; }
36
+ .kdicon-avatar-solid:before { content: "\e711"; }
37
+ .kdicon-back:before { content: "\e6cd"; }
38
+ .kdicon-bankcard:before { content: "\e705"; }
39
+ .kdicon-bellOutlined:before { content: "\e71a"; }
40
+ .kdicon-bold-solid:before { content: "\e668"; }
41
+ .kdicon-border:before { content: "\e6f9"; }
42
+ .kdicon-bottom-border:before { content: "\e704"; }
43
+ .kdicon-business-type:before { content: "\e716"; }
44
+ .kdicon-cancel:before { content: "\e68f"; }
45
+ .kdicon-cell:before { content: "\e692"; }
46
+ .kdicon-change:before { content: "\e6e2"; }
47
+ .kdicon-chart-display:before { content: "\e710"; }
48
+ .kdicon-chart:before { content: "\e6d0"; }
49
+ .kdicon-classify:before { content: "\e6d4"; }
50
+ .kdicon-close-bold:before { content: "\e647"; }
51
+ .kdicon-close-full-screen:before { content: "\e679"; }
52
+ .kdicon-close-solid:before { content: "\e644"; }
53
+ .kdicon-close:before { content: "\e62f"; }
54
+ .kdicon-cn:before { content: "\e6b5"; }
55
+ .kdicon-code:before { content: "\e6ca"; }
56
+ .kdicon-collect:before { content: "\e6ec"; }
57
+ .kdicon-comment:before { content: "\e6bc"; }
58
+ .kdicon-communication-solid:before { content: "\e65e"; }
59
+ .kdicon-contract:before { content: "\e69f"; }
60
+ .kdicon-cooperation:before { content: "\e6fb"; }
61
+ .kdicon-copy-code:before { content: "\e6e1"; }
62
+ .kdicon-copy:before { content: "\e678"; }
63
+ .kdicon-counterclockwise:before { content: "\e6e5"; }
64
+ .kdicon-customize:before { content: "\e707"; }
65
+ .kdicon-date-selection:before { content: "\e70f"; }
66
+ .kdicon-date:before { content: "\e6eb"; }
67
+ .kdicon-delete-indentation:before { content: "\e697"; }
68
+ .kdicon-delete-line:before { content: "\e68c"; }
69
+ .kdicon-delete-solid:before { content: "\e667"; }
70
+ .kdicon-delete:before { content: "\e6ee"; }
71
+ .kdicon-detail:before { content: "\e6c4"; }
72
+ .kdicon-detect:before { content: "\e68e"; }
73
+ .kdicon-division-solid:before { content: "\e65a"; }
74
+ .kdicon-double-arrow-left:before { content: "\e64a"; }
75
+ .kdicon-double-arrow-right:before { content: "\e649"; }
76
+ .kdicon-download:before { content: "\e70a"; }
77
+ .kdicon-edit-border:before { content: "\e6c8"; }
78
+ .kdicon-edit-view:before { content: "\e6c7"; }
79
+ .kdicon-edit:before { content: "\e6a6"; }
80
+ .kdicon-education:before { content: "\e69d"; }
81
+ .kdicon-eliminate-solid:before { content: "\e659"; }
82
+ .kdicon-en:before { content: "\e6b6"; }
83
+ .kdicon-enlarge:before { content: "\e6d5"; }
84
+ .kdicon-equal:before { content: "\e6a3"; }
85
+ .kdicon-exclamatory:before { content: "\e64e"; }
86
+ .kdicon-expand:before { content: "\e651"; }
87
+ .kdicon-experience:before { content: "\e6ff"; }
88
+ .kdicon-fail:before { content: "\e6a5"; }
89
+ .kdicon-feedback:before { content: "\e6d6"; }
90
+ .kdicon-female:before { content: "\e684"; }
91
+ .kdicon-filter-solid:before { content: "\e66a"; }
92
+ .kdicon-filter-switch:before { content: "\e6b1"; }
93
+ .kdicon-filter:before { content: "\e6a0"; }
94
+ .kdicon-finish:before { content: "\e6dc"; }
95
+ .kdicon-first:before { content: "\e630"; }
96
+ .kdicon-fixed-shrink:before { content: "\e693"; }
97
+ .kdicon-fixed-solid:before { content: "\e65f"; }
98
+ .kdicon-fixed-window:before { content: "\e6d1"; }
99
+ .kdicon-fixed:before { content: "\e6e3"; }
100
+ .kdicon-foldmenu:before { content: "\e70e"; }
101
+ .kdicon-font-background-solid:before { content: "\e673"; }
102
+ .kdicon-font-color-solid:before { content: "\e674"; }
103
+ .kdicon-forbid:before { content: "\e69b"; }
104
+ .kdicon-git:before { content: "\e6c1"; }
105
+ .kdicon-graffiti:before { content: "\e6fe"; }
106
+ .kdicon-greater-equal:before { content: "\e6d7"; }
107
+ .kdicon-have-attachment:before { content: "\e6a8"; }
108
+ .kdicon-hide:before { content: "\e6a9"; }
109
+ .kdicon-hyperlink:before { content: "\e6c9"; }
110
+ .kdicon-image:before { content: "\e687"; }
111
+ .kdicon-import:before { content: "\e6cb"; }
112
+ .kdicon-international:before { content: "\e719"; }
113
+ .kdicon-job-info:before { content: "\e68d"; }
114
+ .kdicon-last:before { content: "\e631"; }
115
+ .kdicon-left-border:before { content: "\e708"; }
116
+ .kdicon-left-extension:before { content: "\e6ae"; }
117
+ .kdicon-left-unfold-solid:before { content: "\e675"; }
118
+ .kdicon-left-unfold:before { content: "\e709"; }
119
+ .kdicon-like:before { content: "\e67f"; }
120
+ .kdicon-list:before { content: "\e6e6"; }
121
+ .kdicon-little-k:before { content: "\e700"; }
122
+ .kdicon-loadding-circle:before { content: "\e645"; }
123
+ .kdicon-loadding:before { content: "\e62d"; }
124
+ .kdicon-location-solid:before { content: "\e640"; }
125
+ .kdicon-location:before { content: "\e695"; }
126
+ .kdicon-lock-solid:before { content: "\e66b"; }
127
+ .kdicon-lock:before { content: "\e68b"; }
128
+ .kdicon-male:before { content: "\e683"; }
129
+ .kdicon-material:before { content: "\e6db"; }
130
+ .kdicon-medical-report:before { content: "\e703"; }
131
+ .kdicon-menu:before { content: "\e6d8"; }
132
+ .kdicon-merge-cell:before { content: "\e6f3"; }
133
+ .kdicon-more-info-solid:before { content: "\e660"; }
134
+ .kdicon-more-info:before { content: "\e6e4"; }
135
+ .kdicon-more-item:before { content: "\e6f4"; }
136
+ .kdicon-more:before { content: "\e6a1"; }
137
+ .kdicon-mosaic-solid:before { content: "\e663"; }
138
+ .kdicon-multiply:before { content: "\e65b"; }
139
+ .kdicon-my-receipt:before { content: "\e715"; }
140
+ .kdicon-no-border:before { content: "\e6f8"; }
141
+ .kdicon-not-equal:before { content: "\e6dd"; }
142
+ .kdicon-notice:before { content: "\e658"; }
143
+ .kdicon-oblique-solid:before { content: "\e66e"; }
144
+ .kdicon-operating-element:before { content: "\e6a4"; }
145
+ .kdicon-order-facet:before { content: "\e713"; }
146
+ .kdicon-order:before { content: "\e6d2"; }
147
+ .kdicon-ordered-list:before { content: "\e6fa"; }
148
+ .kdicon-person-solid:before { content: "\e669"; }
149
+ .kdicon-phone:before { content: "\e6d3"; }
150
+ .kdicon-platform:before { content: "\e6f1"; }
151
+ .kdicon-preview-view:before { content: "\e6ba"; }
152
+ .kdicon-preview:before { content: "\e6ac"; }
153
+ .kdicon-print:before { content: "\e690"; }
154
+ .kdicon-processing-solid:before { content: "\e665"; }
155
+ .kdicon-project:before { content: "\e681"; }
156
+ .kdicon-push-down:before { content: "\e702"; }
157
+ .kdicon-put-bottom:before { content: "\e6b4"; }
158
+ .kdicon-put-off:before { content: "\e685"; }
159
+ .kdicon-put-on:before { content: "\e6bd"; }
160
+ .kdicon-put-top:before { content: "\e6b3"; }
161
+ .kdicon-qrcode:before { content: "\e6df"; }
162
+ .kdicon-qualification-info:before { content: "\e6b2"; }
163
+ .kdicon-quit:before { content: "\e6fc"; }
164
+ .kdicon-quote-solid:before { content: "\e66d"; }
165
+ .kdicon-reduce:before { content: "\e696"; }
166
+ .kdicon-reduction:before { content: "\e6f2"; }
167
+ .kdicon-refresh-solid:before { content: "\e642"; }
168
+ .kdicon-refresh:before { content: "\e629"; }
169
+ .kdicon-report-form:before { content: "\e712"; }
170
+ .kdicon-reset:before { content: "\e6b9"; }
171
+ .kdicon-resign-report:before { content: "\e699"; }
172
+ .kdicon-return:before { content: "\e6e0"; }
173
+ .kdicon-right-bold:before { content: "\e648"; }
174
+ .kdicon-right-border:before { content: "\e67c"; }
175
+ .kdicon-right-extension:before { content: "\e6aa"; }
176
+ .kdicon-right-solid:before { content: "\e641"; }
177
+ .kdicon-right-unfold-solid:before { content: "\e672"; }
178
+ .kdicon-right-unfold:before { content: "\e6ab"; }
179
+ .kdicon-right:before { content: "\e62e"; }
180
+ .kdicon-rough-border:before { content: "\e6de"; }
181
+ .kdicon-save:before { content: "\e6c2"; }
182
+ .kdicon-scanning:before { content: "\e67d"; }
183
+ .kdicon-search-border:before { content: "\e6da"; }
184
+ .kdicon-search:before { content: "\e62a"; }
185
+ .kdicon-setting:before { content: "\e652"; }
186
+ .kdicon-share:before { content: "\e6cf"; }
187
+ .kdicon-shoppingcart:before { content: "\e6bf"; }
188
+ .kdicon-shrink:before { content: "\e6fd"; }
189
+ .kdicon-shutdown:before { content: "\e686"; }
190
+ .kdicon-sigma:before { content: "\e71b"; }
191
+ .kdicon-spin:before { content: "\e6f7"; }
192
+ .kdicon-split:before { content: "\e6c3"; }
193
+ .kdicon-star:before { content: "\e653"; }
194
+ .kdicon-stop:before { content: "\e691"; }
195
+ .kdicon-strike-solid:before { content: "\e664"; }
196
+ .kdicon-sun-solid:before { content: "\e670"; }
197
+ .kdicon-switch-down:before { content: "\e698"; }
198
+ .kdicon-switch-up:before { content: "\e680"; }
199
+ .kdicon-switch:before { content: "\e6e7"; }
200
+ .kdicon-table-setting:before { content: "\e6c6"; }
201
+ .kdicon-task-process:before { content: "\e6ea"; }
202
+ .kdicon-timezone-solid:before { content: "\e662"; }
203
+ .kdicon-tips-solid:before { content: "\e66c"; }
204
+ .kdicon-tips:before { content: "\e650"; }
205
+ .kdicon-title-solid:before { content: "\e65c"; }
206
+ .kdicon-top-border:before { content: "\e6ef"; }
207
+ .kdicon-two-window:before { content: "\e6f6"; }
208
+ .kdicon-underline-solid:before { content: "\e671"; }
209
+ .kdicon-unfold-all:before { content: "\e6ad"; }
210
+ .kdicon-unfold:before { content: "\e6bb"; }
211
+ .kdicon-unfoldmenu:before { content: "\e70d"; }
212
+ .kdicon-unlock-solid:before { content: "\e666"; }
213
+ .kdicon-unlock:before { content: "\e69e"; }
214
+ .kdicon-upload-cloud:before { content: "\e632"; }
215
+ .kdicon-upload:before { content: "\e70b"; }
216
+ .kdicon-user-info:before { content: "\e682"; }
217
+ .kdicon-vertical-center:before { content: "\e6f5"; }
218
+ .kdicon-voice:before { content: "\e6d9"; }
219
+ .kdicon-waiting:before { content: "\e64b"; }
220
+ .kdicon-warning-solid:before { content: "\e64c"; }
221
+ .kdicon-warning:before { content: "\e64d"; }
222
+ .kdicon-workbench:before { content: "\e64f"; }
223
+ .kdicon-wrap:before { content: "\e6b0"; }
224
+ .kdicon-yunzhijia:before { content: "\e706"; }
225
+ .kdicon-zoom:before { content: "\e70c"; }
Binary file