@kdcloudjs/kdesign 1.8.30 → 1.8.32

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 (157) hide show
  1. package/dist/kdesign-complete.less +798 -83
  2. package/dist/kdesign.css +578 -7
  3. package/dist/kdesign.css.map +1 -1
  4. package/dist/kdesign.js +166 -93
  5. package/dist/kdesign.js.map +1 -1
  6. package/dist/kdesign.min.css +3 -3
  7. package/dist/kdesign.min.js +5 -5
  8. package/dist/kdesign.min.js.map +1 -1
  9. package/es/anchor/anchor.js +7 -5
  10. package/es/anchor/style/index.css +14 -0
  11. package/es/anchor/style/index.less +15 -0
  12. package/es/button/button.js +4 -2
  13. package/es/button/group.js +5 -3
  14. package/es/button/style/index.css +32 -0
  15. package/es/button/style/index.less +42 -1
  16. package/es/checkbox/checkbox.js +5 -3
  17. package/es/checkbox/group.js +4 -2
  18. package/es/checkbox/style/index.css +38 -1
  19. package/es/checkbox/style/index.less +56 -15
  20. package/es/city-picker/city-picker.js +32 -14
  21. package/es/city-picker/option.js +7 -2
  22. package/es/city-picker/style/index.css +54 -0
  23. package/es/city-picker/style/index.less +67 -0
  24. package/es/collapse/collapse.js +4 -2
  25. package/es/collapse/style/index.css +24 -0
  26. package/es/collapse/style/index.less +26 -0
  27. package/es/color-picker/color-picker.js +6 -4
  28. package/es/color-picker/style/index.css +129 -4
  29. package/es/color-picker/style/index.less +174 -29
  30. package/es/config-provider/compDefaultProps.d.ts +0 -1
  31. package/es/config-provider/compDefaultProps.js +0 -5
  32. package/es/dropdown/dropdown.js +5 -2
  33. package/es/dropdown/menu.js +4 -2
  34. package/es/dropdown/style/index.css +3 -0
  35. package/es/dropdown/style/index.less +4 -0
  36. package/es/image/preview.js +6 -4
  37. package/es/image/style/index.css +11 -0
  38. package/es/image/style/index.less +20 -4
  39. package/es/input/ClearableLabeledInput.d.ts +1 -0
  40. package/es/input/ClearableLabeledInput.js +6 -4
  41. package/es/input/TextArea.js +7 -4
  42. package/es/input/input.js +6 -3
  43. package/es/input/style/index.css +48 -0
  44. package/es/input/style/index.less +55 -0
  45. package/es/link/link.js +4 -2
  46. package/es/link/style/index.css +11 -0
  47. package/es/link/style/index.less +14 -0
  48. package/es/menu/menu.js +4 -2
  49. package/es/menu/menuItem.js +5 -3
  50. package/es/menu/style/index.css +10 -0
  51. package/es/menu/style/index.less +33 -22
  52. package/es/menu/subMenu.js +6 -4
  53. package/es/modal/modal.js +4 -2
  54. package/es/modal/style/index.css +7 -0
  55. package/es/modal/style/index.less +14 -0
  56. package/es/qr-code/qr-code.js +4 -2
  57. package/es/qr-code/style/index.css +3 -0
  58. package/es/qr-code/style/index.less +7 -3
  59. package/es/radio/group.js +4 -2
  60. package/es/radio/radio.js +4 -2
  61. package/es/radio/style/index.css +38 -0
  62. package/es/radio/style/index.less +46 -0
  63. package/es/select/option.js +4 -2
  64. package/es/select/select.js +8 -6
  65. package/es/select/style/index.css +61 -0
  66. package/es/select/style/index.less +87 -0
  67. package/es/steps/Steps.js +4 -2
  68. package/es/steps/style/index.css +35 -0
  69. package/es/steps/style/index.less +59 -5
  70. package/es/switch/style/index.css +9 -0
  71. package/es/switch/style/index.less +9 -2
  72. package/es/switch/switch.js +4 -2
  73. package/es/tag/style/index.css +7 -0
  74. package/es/tag/style/index.less +8 -0
  75. package/es/tag/tag.js +4 -2
  76. package/es/tree/style/index.css +19 -0
  77. package/es/tree/style/index.less +27 -0
  78. package/es/tree/tree.js +4 -2
  79. package/es/tree/treeNode.js +3 -2
  80. package/es/upload/style/index.css +24 -1
  81. package/es/upload/style/index.less +40 -2
  82. package/es/upload/upload.js +4 -2
  83. package/lib/anchor/anchor.js +7 -5
  84. package/lib/anchor/style/index.css +14 -0
  85. package/lib/anchor/style/index.less +15 -0
  86. package/lib/button/button.js +4 -2
  87. package/lib/button/group.js +5 -3
  88. package/lib/button/style/index.css +32 -0
  89. package/lib/button/style/index.less +42 -1
  90. package/lib/checkbox/checkbox.js +5 -3
  91. package/lib/checkbox/group.js +4 -2
  92. package/lib/checkbox/style/index.css +38 -1
  93. package/lib/checkbox/style/index.less +56 -15
  94. package/lib/city-picker/city-picker.js +32 -14
  95. package/lib/city-picker/option.js +7 -2
  96. package/lib/city-picker/style/index.css +54 -0
  97. package/lib/city-picker/style/index.less +67 -0
  98. package/lib/collapse/collapse.js +4 -2
  99. package/lib/collapse/style/index.css +24 -0
  100. package/lib/collapse/style/index.less +26 -0
  101. package/lib/color-picker/color-picker.js +6 -4
  102. package/lib/color-picker/style/index.css +129 -4
  103. package/lib/color-picker/style/index.less +174 -29
  104. package/lib/config-provider/compDefaultProps.d.ts +0 -1
  105. package/lib/config-provider/compDefaultProps.js +0 -5
  106. package/lib/dropdown/dropdown.js +5 -2
  107. package/lib/dropdown/menu.js +4 -2
  108. package/lib/dropdown/style/index.css +3 -0
  109. package/lib/dropdown/style/index.less +4 -0
  110. package/lib/image/preview.js +6 -4
  111. package/lib/image/style/index.css +11 -0
  112. package/lib/image/style/index.less +20 -4
  113. package/lib/input/ClearableLabeledInput.d.ts +1 -0
  114. package/lib/input/ClearableLabeledInput.js +6 -4
  115. package/lib/input/TextArea.js +7 -4
  116. package/lib/input/input.js +6 -3
  117. package/lib/input/style/index.css +48 -0
  118. package/lib/input/style/index.less +55 -0
  119. package/lib/link/link.js +4 -2
  120. package/lib/link/style/index.css +11 -0
  121. package/lib/link/style/index.less +14 -0
  122. package/lib/menu/menu.js +4 -2
  123. package/lib/menu/menuItem.js +5 -3
  124. package/lib/menu/style/index.css +10 -0
  125. package/lib/menu/style/index.less +33 -22
  126. package/lib/menu/subMenu.js +6 -4
  127. package/lib/modal/modal.js +4 -2
  128. package/lib/modal/style/index.css +7 -0
  129. package/lib/modal/style/index.less +14 -0
  130. package/lib/qr-code/qr-code.js +4 -2
  131. package/lib/qr-code/style/index.css +3 -0
  132. package/lib/qr-code/style/index.less +7 -3
  133. package/lib/radio/group.js +4 -2
  134. package/lib/radio/radio.js +4 -2
  135. package/lib/radio/style/index.css +38 -0
  136. package/lib/radio/style/index.less +46 -0
  137. package/lib/select/option.js +4 -2
  138. package/lib/select/select.js +8 -6
  139. package/lib/select/style/index.css +61 -0
  140. package/lib/select/style/index.less +87 -0
  141. package/lib/steps/Steps.js +4 -2
  142. package/lib/steps/style/index.css +35 -0
  143. package/lib/steps/style/index.less +59 -5
  144. package/lib/switch/style/index.css +9 -0
  145. package/lib/switch/style/index.less +9 -2
  146. package/lib/switch/switch.js +4 -2
  147. package/lib/tag/style/index.css +7 -0
  148. package/lib/tag/style/index.less +8 -0
  149. package/lib/tag/tag.js +4 -2
  150. package/lib/tree/style/index.css +19 -0
  151. package/lib/tree/style/index.less +27 -0
  152. package/lib/tree/tree.js +4 -2
  153. package/lib/tree/treeNode.js +3 -2
  154. package/lib/upload/style/index.css +24 -1
  155. package/lib/upload/style/index.less +40 -2
  156. package/lib/upload/upload.js +4 -2
  157. package/package.json +1 -1
@@ -391,6 +391,20 @@
391
391
  }
392
392
  }
393
393
 
394
+ .@{anchor-prefix-cls}-rtl {
395
+ direction: rtl;
396
+ .@{anchor-prefix-cls} {
397
+ padding-right: @anchor-link-left;
398
+ padding-left: 0;
399
+ &-line {
400
+ right: @anchor-link-left;
401
+ left: auto;
402
+ }
403
+ &-link {
404
+ text-align: right;
405
+ }
406
+ }
407
+ }
394
408
 
395
409
 
396
410
  .disabled() {
@@ -1313,7 +1327,7 @@
1313
1327
  }
1314
1328
  }
1315
1329
  }
1316
- &>.@{btn-prefix-cls} {
1330
+ & > .@{btn-prefix-cls} {
1317
1331
  &:first-child {
1318
1332
  border-top-right-radius: 0;
1319
1333
  border-bottom-right-radius: 0;
@@ -1368,6 +1382,47 @@
1368
1382
  transition: all calc(@transition-duration - 0.1s) @ease;
1369
1383
  }
1370
1384
  }
1385
+ .@{btn-prefix-cls}-rtl {
1386
+ direction: rtl;
1387
+ .@{btn-prefix-cls}-iconWrapper-left {
1388
+ float: right;
1389
+ margin-left: 4px;
1390
+ }
1391
+ .@{btn-prefix-cls}-iconWrapper-right {
1392
+ float: left;
1393
+ margin-right: 4px;
1394
+ }
1395
+ .@{btn-prefix-cls}-group-basic {
1396
+ &-icon {
1397
+ margin-right: 5px;
1398
+ margin-left: 0;
1399
+ }
1400
+ }
1401
+ .btn-space {
1402
+ margin-left: 0;
1403
+ }
1404
+ &-similar {
1405
+ .@{btn-prefix-cls}-group-trigger {
1406
+ .@{btn-prefix-cls} {
1407
+ border-top-left-radius: @btn-g-radius-border;
1408
+ border-bottom-left-radius: @btn-g-radius-border;
1409
+ border-top-right-radius: 0;
1410
+ border-bottom-right-radius: 0;
1411
+ margin-right: -1px;
1412
+ }
1413
+ }
1414
+ & > .@{btn-prefix-cls} {
1415
+ &:first-child {
1416
+ border-top-right-radius: @btn-g-radius-border;
1417
+ border-bottom-right-radius: @btn-g-radius-border;
1418
+ }
1419
+ }
1420
+ }
1421
+ }
1422
+
1423
+ .@{btn-prefix-cls}-group-rtl {
1424
+ direction: rtl;
1425
+ }
1371
1426
 
1372
1427
 
1373
1428
 
@@ -2349,7 +2404,6 @@
2349
2404
  }
2350
2405
  }
2351
2406
  }
2352
-
2353
2407
  .@{checkbox-prefix-cls}-square {
2354
2408
  border-radius: 2px;
2355
2409
  border: 1px solid @checkbox-border-color;
@@ -2386,8 +2440,8 @@
2386
2440
  border-bottom-color: @checkbox-checked-border-color;
2387
2441
  }
2388
2442
  &-triangle {
2389
- animation: kdZoomBounceLeaveEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0,.4,.4,1) forwards;
2390
- transition: all @checkbox-transition-duration cubic-bezier(0.4,0,0.6,1);
2443
+ animation: kdZoomBounceLeaveEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
2444
+ transition: all @checkbox-transition-duration cubic-bezier(0.4, 0, 0.6, 1);
2391
2445
  visibility: hidden;
2392
2446
  opacity: 0;
2393
2447
  }
@@ -2405,7 +2459,7 @@
2405
2459
  &-inner-icon {
2406
2460
  font-size: inherit;
2407
2461
  line-height: 100%;
2408
- animation: kdZoomLeaveEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0,.4,.4,1);
2462
+ animation: kdZoomLeaveEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
2409
2463
  }
2410
2464
  &-triangle-disabled {
2411
2465
  border-bottom-color: @checkbox-disabled-text-color;
@@ -2421,14 +2475,14 @@
2421
2475
  &-checked {
2422
2476
  border-color: @checkbox-checked-border-color;
2423
2477
  &:not(&-disabled)::after {
2424
- animation: fadeEffect calc(@checkbox-transition-duration + 0.1s) cubic-bezier(0,.4,.4,1) forwards,
2425
- waveEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0,.4,.4,1) forwards;
2478
+ animation: fadeEffect calc(@checkbox-transition-duration + 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards,
2479
+ waveEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
2426
2480
  }
2427
2481
  .@{checkbox-prefix-cls}-square-triangle-checked:not(.@{checkbox-prefix-cls}-square-disabled) {
2428
- animation: kdZoomBounceEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0.4,0,0.6,1);
2482
+ animation: kdZoomBounceEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0.4, 0, 0.6, 1);
2429
2483
  }
2430
2484
  .@{checkbox-prefix-cls}-square-inner-icon:not(.@{checkbox-prefix-cls}-square-disabled) {
2431
- animation: kdZoomEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0,.4,.4,1);
2485
+ animation: kdZoomEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
2432
2486
  }
2433
2487
  }
2434
2488
  &-checked-disabled {
@@ -2509,14 +2563,14 @@
2509
2563
  &-checked {
2510
2564
  background-color: @checkbox-checked-border-color;
2511
2565
  border-color: @checkbox-checked-border-color;
2512
- transition: background-color calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0,.4,.4,1),
2513
- border-color calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0,.4,.4,1);
2566
+ transition: background-color calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0, 0.4, 0.4, 1),
2567
+ border-color calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0, 0.4, 0.4, 1);
2514
2568
  &:not(&-disabled)::after {
2515
- animation: fadeEffect calc(@checkbox-transition-duration + 0.1s) cubic-bezier(0,.4,.4,1) forwards,
2516
- waveEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0,.4,.4,1) forwards;
2569
+ animation: fadeEffect calc(@checkbox-transition-duration + 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards,
2570
+ waveEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
2517
2571
  }
2518
2572
  .@{checkbox-prefix-cls}-default-inner:not(&-disabled .@{checkbox-prefix-cls}-default-inner) {
2519
- animation: kdZoomBounceDefaultEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0.4,0,0.6,1) !important;
2573
+ animation: kdZoomBounceDefaultEffect calc(@checkbox-transition-duration - 0.1s) cubic-bezier(0.4, 0, 0.6, 1) !important;
2520
2574
  }
2521
2575
  }
2522
2576
  &-inner {
@@ -2542,9 +2596,9 @@
2542
2596
  height: @checkbox-default-indeterminate-square;
2543
2597
  background-color: @checkbox-checked-border-color;
2544
2598
  border: 0;
2545
- transform: translate(-50%,-50%) scale(1);
2599
+ transform: translate(-50%, -50%) scale(1);
2546
2600
  opacity: 1;
2547
- content: " ";
2601
+ content: ' ';
2548
2602
  }
2549
2603
  &.checked {
2550
2604
  .@{checkbox-prefix-cls}-children {
@@ -2558,6 +2612,48 @@
2558
2612
  }
2559
2613
  }
2560
2614
 
2615
+ .@{checkbox-prefix-cls}-rtl {
2616
+ direction: rtl;
2617
+ &.@{checkbox-prefix-cls}-default {
2618
+ .@{checkbox-prefix-cls}-default-margin {
2619
+ margin-right: 0;
2620
+ margin-left: @checkbox-default-input-margin-right;
2621
+ }
2622
+ }
2623
+ }
2624
+ .@{checkbox-prefix-cls}-group-rtl {
2625
+ direction: rtl;
2626
+ &.@{checkbox-prefix-cls}-group {
2627
+ text-align: right;
2628
+ > .@{checkbox-prefix-cls}-rtl:not(:last-child) {
2629
+ margin-left: @checkbox-group-margin-right;
2630
+ margin-right: 0;
2631
+ }
2632
+ .@{checkbox-prefix-cls} {
2633
+ margin-left: @checkbox-group-margin-right;
2634
+ margin-right: 0;
2635
+ }
2636
+ }
2637
+ .@{checkbox-prefix-cls}-square {
2638
+ &-triangle,
2639
+ &-triangle-checked {
2640
+ position: absolute;
2641
+ content: '';
2642
+ height: 0;
2643
+ width: 0;
2644
+ right: auto;
2645
+ left: 0;
2646
+ bottom: 0;
2647
+ border-style: solid;
2648
+ border-width: 0 @checkbox-square-triangle-width @checkbox-square-triangle-height 0;
2649
+ border-top-color: transparent;
2650
+ border-right-color: transparent;
2651
+ border-left-color: transparent;
2652
+ border-bottom-color: @checkbox-checked-border-color;
2653
+ }
2654
+ }
2655
+ }
2656
+
2561
2657
 
2562
2658
 
2563
2659
  @checkbox-prefix: '--@{kd-prefix}-c-checkbox';
@@ -2977,6 +3073,72 @@
2977
3073
  }
2978
3074
  }
2979
3075
 
3076
+ .@{city-picker-prefix-cls}-rtl {
3077
+ direction: rtl;
3078
+ &.@{city-picker-prefix-cls} {
3079
+ .@{city-picker-prefix-cls}-description {
3080
+ text-align: right;
3081
+ }
3082
+ .@{city-picker-prefix-cls}-selector {
3083
+ .@{city-picker-prefix-cls}-wrapper {
3084
+ padding-right: 0;
3085
+ padding-left: 24px;
3086
+ }
3087
+ }
3088
+ .@{city-picker-prefix-cls}-placeholder {
3089
+ position: absolute;
3090
+ left: 24px;
3091
+ right: 0;
3092
+ top: 0;
3093
+ bottom: 0;
3094
+ }
3095
+
3096
+ .@{city-picker-prefix-cls}-bordered {
3097
+ padding-right: @city-picker-bordered !important;
3098
+ padding-left: auto !important;
3099
+ .@{city-picker-prefix-cls}-suffix {
3100
+ padding-right: 8px;
3101
+ padding-left: auto;
3102
+ }
3103
+
3104
+ .@{city-picker-prefix-cls}-placeholder {
3105
+ padding-right: @city-picker-bordered;
3106
+ }
3107
+ }
3108
+
3109
+ .@{city-picker-prefix-cls}-suffix {
3110
+ left: 0;
3111
+ right: auto;
3112
+ top: 0;
3113
+ bottom: 0;
3114
+ position: absolute;
3115
+ display: flex;
3116
+ margin-right: 8px;
3117
+ }
3118
+
3119
+
3120
+
3121
+ .@{city-picker-prefix-cls}-disabled {
3122
+ &.@{city-picker-prefix-cls}-bordered {
3123
+ padding-right: auto;
3124
+ padding-left: @city-picker-bordered;
3125
+ }
3126
+ }
3127
+
3128
+ .@{city-picker-prefix-cls}-content {
3129
+ &-item {
3130
+ position: absolute;
3131
+ right: 0;
3132
+ left: auto;
3133
+ }
3134
+
3135
+ &-info {
3136
+ text-align: left;
3137
+ .over();
3138
+ }
3139
+ }
3140
+ }
3141
+ }
2980
3142
 
2981
3143
 
2982
3144
  .item() {
@@ -3306,6 +3468,32 @@
3306
3468
  }
3307
3469
  }
3308
3470
 
3471
+ .@{collapse-prefix-cls}-rtl {
3472
+ direction: rtl;
3473
+ .@{collapse-prefix-cls}-panel {
3474
+ &-top {
3475
+ padding: 8px 28px 8px 50px;
3476
+ }
3477
+ &-icon {
3478
+ margin-left: @collapse-icon-margin-right;
3479
+ margin-right: 0;
3480
+ }
3481
+ &-animation-expand {
3482
+ transform: rotate(180deg);
3483
+ }
3484
+ &-children > div {
3485
+ text-align: right;
3486
+ }
3487
+ &-children-hide > div {
3488
+ text-align: right;
3489
+ }
3490
+ &-middle {
3491
+ margin-right: 22px;
3492
+ margin-left: 0;
3493
+ }
3494
+ }
3495
+ }
3496
+
3309
3497
 
3310
3498
 
3311
3499
 
@@ -3435,13 +3623,13 @@
3435
3623
  box-sizing: border-box;
3436
3624
  width: @color-picker-panel-sizing-width;
3437
3625
  padding: 4px 12px 16px;
3438
- background: #FFFFFF;
3626
+ background: #ffffff;
3439
3627
  box-shadow: 0 4px 12px 0 rgba(0, 0, 0, 0.15);
3440
3628
  border-radius: 2px;
3441
3629
  transform-origin: top left;
3442
3630
  z-index: @color-picker-panel-z-index;
3443
3631
 
3444
- &>div {
3632
+ & > div {
3445
3633
  margin-top: 12px;
3446
3634
  }
3447
3635
 
@@ -3511,15 +3699,15 @@
3511
3699
  width: 278px !important;
3512
3700
  box-shadow: none !important;
3513
3701
 
3514
- &>div:last-child {
3702
+ & > div:last-child {
3515
3703
  padding: 9px 0 4px !important;
3516
3704
 
3517
3705
  .flexbox-fix:first-child {
3518
3706
  display: flex;
3519
3707
  flex-direction: row-reverse;
3520
3708
 
3521
- &>div:first-child {
3522
- &>div {
3709
+ & > div:first-child {
3710
+ & > div {
3523
3711
  width: 28px !important;
3524
3712
  height: 28px !important;
3525
3713
  border-radius: 50% !important;
@@ -3528,44 +3716,42 @@
3528
3716
  }
3529
3717
  }
3530
3718
 
3531
- &>div:last-child {
3532
-
3719
+ & > div:last-child {
3533
3720
  .hue-horizontal {
3534
3721
  width: 240px !important;
3535
3722
  height: 12px !important;
3536
3723
  border-radius: 6px !important;
3537
3724
  padding: unset !important;
3538
3725
 
3539
- &>div>div {
3726
+ & > div > div {
3540
3727
  margin-top: 1px;
3541
3728
  }
3542
3729
  }
3543
3730
 
3544
- &>div:last-child {
3545
- &>div {
3731
+ & > div:last-child {
3732
+ & > div {
3546
3733
  width: 240px !important;
3547
3734
  height: 12px !important;
3548
3735
  margin: unset;
3549
3736
 
3550
- &>div:first-child {
3737
+ & > div:first-child {
3551
3738
  border-radius: 6px !important;
3552
3739
  }
3553
3740
 
3554
- &>div:nth-child(2) {
3741
+ & > div:nth-child(2) {
3555
3742
  border-radius: 6px !important;
3556
3743
  }
3557
3744
 
3558
- &>div:last-child {
3745
+ & > div:last-child {
3559
3746
  margin: unset !important;
3560
3747
 
3561
- &>div>div {
3748
+ & > div > div {
3562
3749
  margin-top: 1px;
3563
3750
  }
3564
3751
  }
3565
3752
  }
3566
3753
  }
3567
3754
  }
3568
-
3569
3755
  }
3570
3756
 
3571
3757
  .flexbox-fix:last-child {
@@ -3574,20 +3760,20 @@
3574
3760
  }
3575
3761
 
3576
3762
  &-no-box {
3577
- &>div:first-child {
3763
+ & > div:first-child {
3578
3764
  display: none;
3579
3765
  }
3580
3766
  }
3581
3767
 
3582
3768
  &-no-hue {
3583
- &>div:last-child {
3769
+ & > div:last-child {
3584
3770
  .flexbox-fix:first-child {
3585
- &>div:last-child {
3586
- &>div:first-child {
3771
+ & > div:last-child {
3772
+ & > div:first-child {
3587
3773
  display: none;
3588
3774
  }
3589
3775
 
3590
- &>div:last-child {
3776
+ & > div:last-child {
3591
3777
  margin-top: 8px;
3592
3778
  }
3593
3779
  }
@@ -3596,14 +3782,14 @@
3596
3782
  }
3597
3783
 
3598
3784
  &-no-opacity {
3599
- &>div:last-child {
3785
+ & > div:last-child {
3600
3786
  .flexbox-fix:first-child {
3601
- &>div:last-child {
3602
- &>div:last-child {
3787
+ & > div:last-child {
3788
+ & > div:last-child {
3603
3789
  display: none;
3604
3790
  }
3605
3791
 
3606
- &>div:first-child {
3792
+ & > div:first-child {
3607
3793
  margin-top: 8px;
3608
3794
  }
3609
3795
  }
@@ -3617,7 +3803,7 @@
3617
3803
  }
3618
3804
 
3619
3805
  .@{color-picker-prefix-cls}-panel-chrome-no-hue.@{color-picker-prefix-cls}-panel-chrome-no-opacity {
3620
- &>div:last-child {
3806
+ & > div:last-child {
3621
3807
  display: none;
3622
3808
  }
3623
3809
  }
@@ -3671,10 +3857,10 @@
3671
3857
  position: absolute;
3672
3858
  width: 64px !important;
3673
3859
  min-width: unset !important;
3674
- background: #FFFFFF;
3860
+ background: #ffffff;
3675
3861
  right: 0;
3676
3862
  left: unset !important;
3677
- box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.20);
3863
+ box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
3678
3864
  border-radius: 2px;
3679
3865
  }
3680
3866
 
@@ -3778,7 +3964,7 @@
3778
3964
  margin-right: 0;
3779
3965
  }
3780
3966
 
3781
- &:nth-child(-n+12) {
3967
+ &:nth-child(-n + 12) {
3782
3968
  margin-top: 0;
3783
3969
  }
3784
3970
  }
@@ -3847,7 +4033,7 @@
3847
4033
  margin-right: 0;
3848
4034
  }
3849
4035
 
3850
- &:nth-child(-n+12) {
4036
+ &:nth-child(-n + 12) {
3851
4037
  margin-top: 0;
3852
4038
  }
3853
4039
  }
@@ -3891,6 +4077,153 @@
3891
4077
  }
3892
4078
  }
3893
4079
 
4080
+ .@{color-picker-prefix-cls}-rtl {
4081
+ direction: rtl;
4082
+ .@{color-picker-prefix-cls}-input {
4083
+ .@{kd-prefix}-input-prefix {
4084
+ margin-right: auto;
4085
+ margin-left: 3px;
4086
+ }
4087
+ }
4088
+ &.@{color-picker-prefix-cls}-pop {
4089
+ .@{color-picker-prefix-cls}-panel {
4090
+ transform-origin: top left;
4091
+ &-clear {
4092
+ &-box {
4093
+ margin-left: 4px;
4094
+ }
4095
+ }
4096
+ &-switch {
4097
+ span {
4098
+ vertical-align: middle;
4099
+ margin-right: 9px;
4100
+ }
4101
+ }
4102
+
4103
+ &-container {
4104
+ display: flex;
4105
+ flex-wrap: nowrap;
4106
+
4107
+ &-select {
4108
+ margin-left: 8px;
4109
+ margin-right: 0;
4110
+ .@{kd-prefix}-select-bordered {
4111
+ border-radius: 2px;
4112
+ width: @color-picker-panel-select-sizing-width;
4113
+ height: @color-picker-panel-select-sizing-height;
4114
+ min-height: 28px;
4115
+ padding: 0 28px 0 0;
4116
+ }
4117
+
4118
+ .active-option {
4119
+ background-color: @color-picker-panel-option-color-background;
4120
+ }
4121
+ }
4122
+
4123
+ &-input {
4124
+ height: 28px;
4125
+ flex: 1 1 auto;
4126
+ padding: 0 8px;
4127
+ }
4128
+
4129
+ &-input-group {
4130
+ display: flex;
4131
+ align-items: center;
4132
+
4133
+ &-item {
4134
+ height: 28px;
4135
+ flex: 1;
4136
+
4137
+ &.active {
4138
+ z-index: 2;
4139
+ }
4140
+
4141
+ &:first-child {
4142
+ border-top-right-radius: 0;
4143
+ border-bottom-right-radius: 0;
4144
+ z-index: 1;
4145
+ }
4146
+
4147
+ &:nth-child(2) {
4148
+ margin-right: -1px;
4149
+ margin-left: -1px;
4150
+ border-radius: 0;
4151
+
4152
+ &:hover {
4153
+ z-index: 1;
4154
+ }
4155
+ }
4156
+
4157
+ &:last-child {
4158
+ border-top-left-radius: 0;
4159
+ border-bottom-left-radius: 0;
4160
+ }
4161
+ }
4162
+ }
4163
+
4164
+ &-transparent {
4165
+ flex: 0 0 54px;
4166
+ height: 28px;
4167
+ margin-right: 8px;
4168
+ margin-left: 0;
4169
+ padding: 0;
4170
+ text-align: center;
4171
+ font-size: @color-picker-panel-alpha-font-size;
4172
+ }
4173
+ }
4174
+
4175
+ &-historical-color-box {
4176
+ &-title {
4177
+ font-size: 12px;
4178
+ color: #666666;
4179
+ line-height: 18px;
4180
+ font-weight: 400;
4181
+ margin-bottom: 8px;
4182
+ }
4183
+
4184
+ &-container {
4185
+ display: grid;
4186
+ grid-template-columns: repeat(12, 1fr);
4187
+ grid-column-gap: 8px;
4188
+ grid-row-gap: 8px;
4189
+
4190
+ &-ie11 {
4191
+ display: flex;
4192
+ flex-wrap: wrap;
4193
+
4194
+ li {
4195
+ margin-right: 8px;
4196
+ margin-top: 8px;
4197
+
4198
+ &:nth-child(12n) {
4199
+ margin-right: 0;
4200
+ }
4201
+
4202
+ &:nth-child(-n + 12) {
4203
+ margin-top: 0;
4204
+ }
4205
+ }
4206
+ }
4207
+ }
4208
+ }
4209
+ }
4210
+ }
4211
+ .@{color-picker-prefix-cls}-panel {
4212
+ &-chrome {
4213
+ & > div:last-child {
4214
+ .flexbox-fix:first-child {
4215
+ & > div:first-child {
4216
+ & > div {
4217
+ margin-right: 4px !important;
4218
+ margin-left: 0 !important;
4219
+ }
4220
+ }
4221
+ }
4222
+ }
4223
+ }
4224
+ }
4225
+ }
4226
+
3894
4227
 
3895
4228
  // code component mixin here
3896
4229
  .test() {
@@ -5295,6 +5628,10 @@
5295
5628
  }
5296
5629
  }
5297
5630
  }
5631
+
5632
+ .@{dropdown-prefix-cls}-menu-rtl {
5633
+ direction: rtl;
5634
+ }
5298
5635
  }
5299
5636
 
5300
5637
 
@@ -6302,7 +6639,7 @@
6302
6639
  transition: all 0.2s ease-out;
6303
6640
  background-color: @image-action-background-color;
6304
6641
 
6305
- >* {
6642
+ > * {
6306
6643
  color: @image-icon-color;
6307
6644
  cursor: pointer;
6308
6645
  display: inline-block;
@@ -6325,14 +6662,14 @@
6325
6662
  opacity: 0;
6326
6663
  transform: scale(0.15);
6327
6664
  visibility: hidden;
6328
- transition: all 0.2s cubic-bezier(0.4,0,1,0.6);
6665
+ transition: all 0.2s cubic-bezier(0.4, 0, 1, 0.6);
6329
6666
  -webkit-overflow-scrolling: touch;
6330
6667
 
6331
6668
  &.show {
6332
6669
  opacity: 1;
6333
6670
  transform: scale(1);
6334
6671
  visibility: visible;
6335
- transition: all 0.2s cubic-bezier(0,.4,.4,1);
6672
+ transition: all 0.2s cubic-bezier(0, 0.4, 0.4, 1);
6336
6673
  }
6337
6674
 
6338
6675
  &-mask {
@@ -6466,7 +6803,7 @@
6466
6803
  position: absolute;
6467
6804
  right: 40px;
6468
6805
 
6469
- >* {
6806
+ > * {
6470
6807
  display: inline-block;
6471
6808
  margin-left: 20px;
6472
6809
  cursor: pointer;
@@ -6480,6 +6817,22 @@
6480
6817
  }
6481
6818
  }
6482
6819
 
6820
+ .@{image-prefix-cls}-rtl {
6821
+ direction: rtl;
6822
+ .@{image-preview-prefix-cls}-close {
6823
+ left: 18px;
6824
+ right: auto;
6825
+ }
6826
+ .@{image-preview-prefix-cls}-action {
6827
+ i {
6828
+ &:not(:first-child) {
6829
+ margin-right: 20px;
6830
+ margin-left: 0;
6831
+ }
6832
+ }
6833
+ }
6834
+ }
6835
+
6483
6836
 
6484
6837
 
6485
6838
  @image-prefix: '--@{kd-prefix}-c-image';
@@ -7151,6 +7504,61 @@ textarea {
7151
7504
  }
7152
7505
  }
7153
7506
 
7507
+ .@{input-prefix-cls}-rtl {
7508
+ direction: rtl;
7509
+ &.@{input-prefix-cls}-group {
7510
+ .@{input-prefix-cls}-group-addon {
7511
+ &:first-child {
7512
+ border-top-left-radius: 0;
7513
+ border-bottom-left-radius: 0;
7514
+ border-top-right-radius: @input-border-radius-inner;
7515
+ border-bottom-right-radius: @input-border-radius-inner;
7516
+ border-left: none;
7517
+ border-right: 1px solid @input-border-color-disabled-inner;
7518
+ }
7519
+ &:last-child {
7520
+ border-top-right-radius: 0;
7521
+ border-bottom-right-radius: 0;
7522
+ border-top-left-radius: @input-border-radius-inner;
7523
+ border-bottom-left-radius: @input-border-radius-inner;
7524
+ border-right: none;
7525
+ border-left: 1px solid @input-border-color-disabled-inner;
7526
+ }
7527
+ }
7528
+ }
7529
+ &.@{input-prefix-cls}-wrapper {
7530
+ .@{input-prefix-cls}-prefix {
7531
+ margin-right: 0;
7532
+ margin-left: calc(@input-small-padding-vertical-inner * 2);
7533
+ }
7534
+ .@{input-prefix-cls}-suffix {
7535
+ margin-left: 0;
7536
+ margin-right: calc(@input-small-padding-vertical-inner * 2);
7537
+ }
7538
+ .@{input-prefix-cls}-clear-icon-rightSpace {
7539
+ margin-left: 4px;
7540
+ margin-right: 0;
7541
+ }
7542
+ }
7543
+ .@{input-prefix-cls}-textarea-mark {
7544
+ right: auto;
7545
+ left: 2px;
7546
+ &-inner {
7547
+ top: auto;
7548
+ left: 8px;
7549
+ right: auto;
7550
+ }
7551
+ }
7552
+ .@{input-prefix-cls}-textarea-clear-icon {
7553
+ left: 8px;
7554
+ right: auto;
7555
+ }
7556
+ &.@{input-prefix-cls}-allowClear-spacing {
7557
+ padding-right: @input-small-padding-horizontal-inner;
7558
+ padding-left: 20px;
7559
+ }
7560
+ }
7561
+
7154
7562
 
7155
7563
 
7156
7564
  @input-prefix-cls: ~'@{kd-prefix}-input';
@@ -7636,6 +8044,19 @@ textarea {
7636
8044
  }
7637
8045
  }
7638
8046
 
8047
+ .@{link-prefix-cls}-rtl {
8048
+ direction: rtl;
8049
+ .@{link-prefix-cls} {
8050
+ &-prefix {
8051
+ margin-right: 0;
8052
+ margin-left: @link-prefix-horizontal;
8053
+ }
8054
+ &-suffix {
8055
+ margin-left: 0;
8056
+ margin-right: @link-suffix-horizontal;
8057
+ }
8058
+ }
8059
+ }
7639
8060
 
7640
8061
 
7641
8062
  .link-size(@font-size, @height,) {
@@ -7794,13 +8215,13 @@ textarea {
7794
8215
 
7795
8216
  // dark
7796
8217
  .@{menu-dark-prefix-cls} {
7797
-
7798
8218
  .@{submenu-prefix-cls}-sub {
7799
8219
  color: @menu-sub-color;
7800
8220
  background: @menu-sub-inline-color-background;
7801
8221
  }
7802
8222
 
7803
- .@{submenu-prefix-cls}-sub-second, .@{submenu-prefix-cls}-sub-third {
8223
+ .@{submenu-prefix-cls}-sub-second,
8224
+ .@{submenu-prefix-cls}-sub-third {
7804
8225
  background: @menu-sub-color-background;
7805
8226
  }
7806
8227
 
@@ -7810,29 +8231,32 @@ textarea {
7810
8231
  }
7811
8232
 
7812
8233
  &-active {
7813
- .menu-dark-active()
8234
+ .menu-dark-active();
7814
8235
  }
7815
8236
  }
7816
8237
 
7817
- .@{menuitem-prefix-cls}-active, .@{submenu-prefix-cls}-active {
7818
- .menu-dark-active()
8238
+ .@{menuitem-prefix-cls}-active,
8239
+ .@{submenu-prefix-cls}-active {
8240
+ .menu-dark-active();
7819
8241
  }
7820
8242
 
7821
- .@{menuitem-prefix-cls}-hover, .@{submenu-prefix-cls}-hover {
7822
- .menu-dark-hover()
8243
+ .@{menuitem-prefix-cls}-hover,
8244
+ .@{submenu-prefix-cls}-hover {
8245
+ .menu-dark-hover();
7823
8246
  }
7824
8247
  }
7825
8248
 
7826
8249
  .@{menu-inline-prefix-cls}.@{menu-dark-prefix-cls} {
7827
- .@{menuitem-prefix-cls}-active, .@{submenu-prefix-cls}-active {
8250
+ .@{menuitem-prefix-cls}-active,
8251
+ .@{submenu-prefix-cls}-active {
7828
8252
  .@{submenu-prefix-cls}-title {
7829
- .menu-dark-active-inline-title()
8253
+ .menu-dark-active-inline-title();
7830
8254
  }
7831
8255
  }
7832
8256
 
7833
8257
  .@{submenu-prefix-cls}:not(.@{submenu-prefix-cls}-disabled):not(.@{submenu-prefix-cls}-active) {
7834
8258
  > .@{submenu-prefix-cls}-title:hover {
7835
- .menu-dark-active-inline-title()
8259
+ .menu-dark-active-inline-title();
7836
8260
  }
7837
8261
  }
7838
8262
  }
@@ -7843,9 +8267,10 @@ textarea {
7843
8267
  }
7844
8268
 
7845
8269
  .@{menu-inline-prefix-cls}.@{menu-light-prefix-cls} {
7846
- .@{menuitem-prefix-cls}-active, .@{submenu-prefix-cls}-active {
8270
+ .@{menuitem-prefix-cls}-active,
8271
+ .@{submenu-prefix-cls}-active {
7847
8272
  .@{submenu-prefix-cls}-title {
7848
- .menu-light-active-inline-title()
8273
+ .menu-light-active-inline-title();
7849
8274
  }
7850
8275
  }
7851
8276
  }
@@ -7857,7 +8282,7 @@ textarea {
7857
8282
  }
7858
8283
 
7859
8284
  &.hidden {
7860
- .menu-hidden()
8285
+ .menu-hidden();
7861
8286
  }
7862
8287
 
7863
8288
  .@{submenu-prefix-cls} {
@@ -7867,18 +8292,18 @@ textarea {
7867
8292
  color: @menu-sub-color;
7868
8293
  background: @menu-sub-inline-color-background;
7869
8294
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08),
7870
- 0 9px 28px 8px rgba(0, 0, 0, 0.05);
8295
+ 0 9px 28px 8px rgba(0, 0, 0, 0.05);
7871
8296
 
7872
8297
  .@{menuitem-prefix-cls} {
7873
8298
  &:not(.@{menuitem-prefix-cls}-disabled):not(.@{menuitem-prefix-cls}-active):hover,
7874
8299
  &-active {
7875
- .menu-dark-hover()
8300
+ .menu-dark-hover();
7876
8301
  }
7877
8302
  }
7878
8303
 
7879
8304
  &-second,
7880
8305
  &-third {
7881
- animation: kdZoomTopLeftIn calc(@menu-motion-duration - 0.1s) cubic-bezier(0, .4, .4, 1) forwards;
8306
+ animation: kdZoomTopLeftIn calc(@menu-motion-duration - 0.1s) cubic-bezier(0, 0.4, 0.4, 1) forwards;
7882
8307
  opacity: 1;
7883
8308
  visibility: visible;
7884
8309
  transition: opacity, visibility;
@@ -7887,7 +8312,7 @@ textarea {
7887
8312
  }
7888
8313
 
7889
8314
  &-hide {
7890
- .menu-hidden()
8315
+ .menu-hidden();
7891
8316
  }
7892
8317
  }
7893
8318
  }
@@ -7897,11 +8322,18 @@ textarea {
7897
8322
  }
7898
8323
  }
7899
8324
 
7900
-
7901
-
7902
-
7903
-
7904
-
8325
+ .@{menu-prefix-cls}-rtl {
8326
+ direction: rtl;
8327
+ .@{submenu-prefix-cls} {
8328
+ direction: rtl;
8329
+ .@{submenu-prefix-cls}-title {
8330
+ .@{submenu-prefix-cls}-arrow {
8331
+ margin-left: 0;
8332
+ margin-right: auto;
8333
+ }
8334
+ }
8335
+ }
8336
+ }
7905
8337
 
7906
8338
 
7907
8339
 
@@ -8487,6 +8919,20 @@ textarea {
8487
8919
  }
8488
8920
  }
8489
8921
 
8922
+ .@{modal-prefix-cls}-rtl {
8923
+ direction: rtl;
8924
+ .@{modal-prefix-cls}-container-box {
8925
+ .@{modal-prefix-cls}-footer {
8926
+ .@{modal-prefix-cls}-cancel-node {
8927
+ .@{modal-prefix-cls}-margin-btn {
8928
+ margin-left: @modal-footer-button-spacing;
8929
+ margin-right: 0;
8930
+ }
8931
+ }
8932
+ }
8933
+ }
8934
+ }
8935
+
8490
8936
 
8491
8937
 
8492
8938
  .modal-title-icon-type(@squareWidth) {
@@ -9977,11 +10423,11 @@ textarea {
9977
10423
  list-style: none;
9978
10424
  overflow: hidden;
9979
10425
 
9980
- &-expired{
10426
+ &-expired {
9981
10427
  margin-bottom: @qrcode-spacing-margin-vertical;
9982
10428
  }
9983
10429
 
9984
- &-mask{
10430
+ &-mask {
9985
10431
  position: absolute;
9986
10432
  z-index: 10;
9987
10433
  display: flex;
@@ -9994,11 +10440,15 @@ textarea {
9994
10440
  background: @qrcode-color-background;
9995
10441
  text-align: center;
9996
10442
  }
9997
- &-borderless{
10443
+ &-borderless {
9998
10444
  border: none;
9999
10445
  }
10000
10446
  }
10001
10447
 
10448
+ .@{qrcode-prefix-cls}-rtl {
10449
+ direction: rtl;
10450
+ }
10451
+
10002
10452
 
10003
10453
 
10004
10454
  .qrcode() {
@@ -10399,6 +10849,51 @@ textarea {
10399
10849
  }
10400
10850
  }
10401
10851
 
10852
+ .@{radio-prefix-cls}-rtl {
10853
+ direction: rtl;
10854
+ }
10855
+
10856
+ .@{radio-button-prefix-cls}-rtl {
10857
+ direction: rtl;
10858
+ &.@{radio-button-prefix-cls} {
10859
+ border: @radio-border-width solid @radio-color-border;
10860
+ border-right: none;
10861
+ &.@{radio-button-prefix-cls}:first-child {
10862
+ border-radius: 0 @radius-size @radius-size 0;
10863
+ border-right: @radio-border-width solid @radio-color-border;
10864
+ &::before {
10865
+ content: none;
10866
+ }
10867
+ }
10868
+
10869
+ &.@{radio-button-prefix-cls}:last-child {
10870
+ border-radius: @radius-size 0 0 @radius-size;
10871
+ }
10872
+ }
10873
+
10874
+ }
10875
+
10876
+ .@{radio-square-prefix-cls}-rtl {
10877
+ direction: rtl;
10878
+ &.@{radio-square-prefix-cls} {
10879
+ margin-left: @radio-margin-right;
10880
+ margin-right: 0;
10881
+ &.@{radio-square-prefix-cls}::after {
10882
+ left: calc(-1 * (@radio-square-height - 10px) / 2);
10883
+ right: auto;
10884
+ }
10885
+ &.@{radio-square-prefix-cls}-checked {
10886
+ &::after {
10887
+ left: calc(-1 * (@radio-square-height - 10px) / 2);
10888
+ right: auto;
10889
+ }
10890
+ }
10891
+ }
10892
+
10893
+ }
10894
+ .@{radio-group-prefix-cls}-rtl {
10895
+ direction: rtl;
10896
+ }
10402
10897
 
10403
10898
 
10404
10899
 
@@ -11596,6 +12091,93 @@ textarea {
11596
12091
  }
11597
12092
  }
11598
12093
 
12094
+ .@{select-prefix-cls}-rtl {
12095
+ direction: rtl;
12096
+ .@{select-prefix-cls}-selector {
12097
+ .@{select-prefix-cls}-wrapper {
12098
+ padding: 1px 0 1px 28px;
12099
+ .@{select-prefix-cls}-suffix {
12100
+ position: absolute;
12101
+ right: auto;
12102
+ left: 0;
12103
+ margin-left: 0;
12104
+ margin-right: 8px;
12105
+ }
12106
+ .@{select-prefix-cls}-placeholder {
12107
+ right: 0;
12108
+ left: 28px;
12109
+ }
12110
+ &.@{select-prefix-cls}-single {
12111
+ .@{select-prefix-cls}-selection-search {
12112
+ padding-left: auto;
12113
+ position: absolute;
12114
+ left: 28px;
12115
+ right: 0;
12116
+ height: 100%;
12117
+ top: 0;
12118
+ bottom: 0;
12119
+ }
12120
+ }
12121
+ }
12122
+ .@{select-prefix-cls}-multiple {
12123
+ .@{select-prefix-cls}-selection-tag {
12124
+ .@{kd-prefix}-tag {
12125
+ margin: 2px 0 2px 8px;
12126
+ &-closeWrapper {
12127
+ margin-right: 4px;
12128
+ margin-left: 0;
12129
+ }
12130
+ }
12131
+ }
12132
+ }
12133
+ .@{select-prefix-cls}-bordered {
12134
+ padding-left: auto !important;
12135
+ padding-right: @select-bordered !important;
12136
+ .@{select-prefix-cls}-suffix {
12137
+ padding-left: 8px;
12138
+ }
12139
+
12140
+ &.@{select-prefix-cls}-single {
12141
+ .@{select-prefix-cls}-selection-search {
12142
+ padding-right: @select-bordered;
12143
+ }
12144
+ }
12145
+
12146
+ .@{select-prefix-cls}-placeholder {
12147
+ padding-right: @select-bordered;
12148
+ }
12149
+ }
12150
+ }
12151
+ .@{select-prefix-cls}-dropdown {
12152
+ .@{select-prefix-cls}-multiple-footer {
12153
+ &-hadSelected {
12154
+ padding-right: 12px;
12155
+ padding-left: 0;
12156
+ }
12157
+ .@{kd-prefix}-checkbox {
12158
+ &-default-margin {
12159
+ margin-right: 0;
12160
+ margin-left: 4px;
12161
+ }
12162
+ }
12163
+ }
12164
+ }
12165
+ }
12166
+
12167
+ .@{select-prefix-cls}-item-rtl {
12168
+ direction: rtl;
12169
+ &.@{select-prefix-cls}-item {
12170
+ .@{select-prefix-cls}-item-option-content {
12171
+ .@{kd-prefix}-checkbox {
12172
+ &-default-margin {
12173
+ margin-right: 0;
12174
+ margin-left: 4px;
12175
+ }
12176
+ }
12177
+ }
12178
+ }
12179
+ }
12180
+
11599
12181
 
11600
12182
 
11601
12183
  .item() {
@@ -12747,7 +13329,6 @@ textarea {
12747
13329
  background-color: @steps-color-white;
12748
13330
  }
12749
13331
  }
12750
-
12751
13332
  }
12752
13333
 
12753
13334
  &-clickable&-wait {
@@ -12777,7 +13358,7 @@ textarea {
12777
13358
 
12778
13359
  &:hover {
12779
13360
  .@{steps-prefix-cls}-item-title {
12780
- color: @steps-color-completed
13361
+ color: @steps-color-completed;
12781
13362
  }
12782
13363
  }
12783
13364
  }
@@ -12802,7 +13383,8 @@ textarea {
12802
13383
  position: absolute;
12803
13384
  left: 50%;
12804
13385
  top: calc(50% - @steps-line-sizing-height / 2);
12805
- 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)
13386
+ transition: width @steps-duration-promptly cubic-bezier(0.48, 0.04, 0.52, 0.96),
13387
+ background-color @steps-duration-promptly cubic-bezier(0.48, 0.04, 0.52, 0.96);
12806
13388
  }
12807
13389
 
12808
13390
  &:last-child {
@@ -12861,7 +13443,8 @@ textarea {
12861
13443
  border-color: @steps-color-hover;
12862
13444
  }
12863
13445
 
12864
- .@{steps-prefix-cls}-item-title, .@{steps-prefix-cls}-item-description {
13446
+ .@{steps-prefix-cls}-item-title,
13447
+ .@{steps-prefix-cls}-item-description {
12865
13448
  color: @steps-color-hover;
12866
13449
  }
12867
13450
  }
@@ -12890,7 +13473,6 @@ textarea {
12890
13473
  }
12891
13474
  }
12892
13475
 
12893
-
12894
13476
  &-error {
12895
13477
  .@{steps-prefix-cls}-icon {
12896
13478
  color: @steps-color-error;
@@ -12979,6 +13561,60 @@ textarea {
12979
13561
  }
12980
13562
  }
12981
13563
 
13564
+ .@{steps-prefix-cls}-rtl {
13565
+ direction: rtl;
13566
+ .@{steps-prefix-cls}-item:first-child {
13567
+ .@{steps-prefix-cls}-item-iconContainer {
13568
+ &::before {
13569
+ display: none;
13570
+ }
13571
+ }
13572
+ }
13573
+ &.@{steps-prefix-cls}-horizontal {
13574
+ &:first-child {
13575
+ padding-right: 0;
13576
+ }
13577
+
13578
+ &:last-child {
13579
+ padding-right: 0;
13580
+ padding-left: 0;
13581
+ }
13582
+ .@{steps-prefix-cls}-item {
13583
+ .@{steps-prefix-cls}-item-container {
13584
+ .@{steps-prefix-cls}-item-iconContainer {
13585
+ &::after {
13586
+ display: none;
13587
+ }
13588
+ &::before {
13589
+ content: '';
13590
+ width: ~'calc(100% + 35px)';
13591
+ height: @steps-line-sizing-height;
13592
+ border-bottom: 1px dashed @steps-color-wait;
13593
+ border-left: 1px dashed @steps-color-wait;
13594
+ position: absolute;
13595
+ left: 50%;
13596
+ top: calc(50% - @steps-line-sizing-height / 2);
13597
+ transition: width @steps-duration-promptly cubic-bezier(0.48, 0.04, 0.52, 0.96),
13598
+ background-color @steps-duration-promptly cubic-bezier(0.48, 0.04, 0.52, 0.96);
13599
+
13600
+ }
13601
+ }
13602
+ }
13603
+ }
13604
+ }
13605
+ &.@{steps-prefix-cls}-vertical {
13606
+ .@{steps-prefix-cls}-item {
13607
+ &-iconContainer {
13608
+ margin-left: 4px;
13609
+ margin-right: 0;
13610
+ }
13611
+ &-content {
13612
+ text-align: right;
13613
+ }
13614
+ }
13615
+ }
13616
+ }
13617
+
12982
13618
 
12983
13619
 
12984
13620
  @steps-prefix: '--@{kd-prefix}-c-steps';
@@ -14967,7 +15603,6 @@ template {
14967
15603
  @switch-prefix-cls: ~'@{kd-prefix}-switch';
14968
15604
  @icon-prefix-cls: ~'@{kd-prefix}icon';
14969
15605
 
14970
-
14971
15606
  .@{switch-prefix-cls} {
14972
15607
  .switch;
14973
15608
 
@@ -14988,7 +15623,7 @@ template {
14988
15623
 
14989
15624
  .@{icon-prefix-cls}-loadding-circle {
14990
15625
  animation: loadingcircle 1s infinite;
14991
- animation-timing-function: cubic-bezier(0.42, 0.00, 0.58, 1.00);
15626
+ animation-timing-function: cubic-bezier(0.42, 0, 0.58, 1);
14992
15627
  font-size: @switch-small-font-size;
14993
15628
  line-height: 1;
14994
15629
  vertical-align: baseline;
@@ -15044,6 +15679,14 @@ template {
15044
15679
  }
15045
15680
  }
15046
15681
 
15682
+ .@{switch-prefix-cls}-rtl {
15683
+ direction: rtl;
15684
+ transform: rotateY(180deg);
15685
+ .@{switch-prefix-cls}-inner {
15686
+ transform: rotateY(180deg);
15687
+ }
15688
+ }
15689
+
15047
15690
 
15048
15691
  .switch() {
15049
15692
  padding: 0;
@@ -15736,6 +16379,13 @@ template {
15736
16379
  }
15737
16380
  }
15738
16381
 
16382
+ .@{tag-prefix-cls}-rtl {
16383
+ direction: rtl;
16384
+ .@{tag-prefix-cls}-closeWrapper {
16385
+ margin-right: 4px;
16386
+ margin-left: 0;
16387
+ }
16388
+ }
15739
16389
 
15740
16390
 
15741
16391
  // code component mixin here
@@ -16586,6 +17236,33 @@ template {
16586
17236
  align-items: center;
16587
17237
  }
16588
17238
  }
17239
+ .@{tree-prefix-cls}-rtl {
17240
+ direction: rtl;
17241
+ .@{tree-prefix-cls}-root {
17242
+ .@{tree-node-prefix-cls}-item {
17243
+ .@{tree-node-prefix-cls}-root {
17244
+ .@{tree-node-prefix-cls}-indent {
17245
+ margin-right: 0;
17246
+ margin-left: 6px;
17247
+ }
17248
+ .@{tree-node-prefix-cls}-title-wrap {
17249
+ padding-right: 4px;
17250
+ padding-left: 0;
17251
+ .@{kd-prefix}-checkbox {
17252
+ &-default-margin {
17253
+ margin-right: 0;
17254
+ margin-left: 4px;
17255
+ }
17256
+ }
17257
+ }
17258
+ .@{tree-node-prefix-cls}-animation-expand {
17259
+ transform: rotate(-90deg);
17260
+ }
17261
+ }
17262
+ }
17263
+ }
17264
+ }
17265
+
16589
17266
 
16590
17267
 
16591
17268
 
@@ -17450,7 +18127,7 @@ template {
17450
18127
  opacity: 0;
17451
18128
  overflow: hidden;
17452
18129
 
17453
- input[type="file"] {
18130
+ input[type='file'] {
17454
18131
  position: absolute;
17455
18132
  top: -20%;
17456
18133
  left: 0;
@@ -17498,7 +18175,8 @@ template {
17498
18175
  font-size: @upload-font-size;
17499
18176
  }
17500
18177
 
17501
- &-name,&-icon {
18178
+ &-name,
18179
+ &-icon {
17502
18180
  cursor: pointer;
17503
18181
  }
17504
18182
 
@@ -17644,6 +18322,43 @@ template {
17644
18322
  }
17645
18323
  }
17646
18324
 
18325
+ .@{upload-prefix-cls}-rtl {
18326
+ direction: rtl;
18327
+ &.@{upload-prefix-cls} {
18328
+ .@{upload-prefix-text-list-cls} {
18329
+ &-item {
18330
+ &-name {
18331
+ margin: 0 @upload-text-list-item-name-padding-left 0 @upload-text-list-item-name-padding-right;
18332
+ }
18333
+ &-action {
18334
+ left: 0;
18335
+ right: auto;
18336
+ transform: translateX(-5px);
18337
+ a {
18338
+ &:not(:first-child) {
18339
+ margin-right: 20px;
18340
+ margin-left: 0;
18341
+ }
18342
+ }
18343
+ }
18344
+ }
18345
+ }
18346
+ .@{upload-prefix-picture-list-cls} {
18347
+ &-item {
18348
+ margin: 0 0 28px 28px;
18349
+ &-error {
18350
+ a {
18351
+ &:not(:first-child) {
18352
+ margin-right: 10px;
18353
+ margin-left: auto;
18354
+ }
18355
+ }
18356
+ }
18357
+ }
18358
+ }
18359
+ }
18360
+ }
18361
+
17647
18362
 
17648
18363
 
17649
18364
  @upload-prefix: '--@{kd-prefix}-c-upload';