@kdcloudjs/kdesign 1.2.0 → 1.2.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 (106) hide show
  1. package/CHANGELOG.md +53 -0
  2. package/dist/kdesign-complete.less +566 -478
  3. package/dist/kdesign.css +240 -246
  4. package/dist/kdesign.css.map +1 -1
  5. package/dist/kdesign.js +350 -299
  6. package/dist/kdesign.js.map +1 -1
  7. package/dist/kdesign.min.css +3 -3
  8. package/dist/kdesign.min.js +8 -8
  9. package/dist/kdesign.min.js.map +1 -1
  10. package/es/_utils/usePopper.js +33 -11
  11. package/es/button/style/index.css +3 -3
  12. package/es/button/style/token.less +3 -3
  13. package/es/carousel/displayList.js +8 -4
  14. package/es/carousel/fadeList.js +9 -5
  15. package/es/carousel/slideList.js +6 -3
  16. package/es/carousel/style/index.css +66 -3
  17. package/es/carousel/style/index.less +67 -2
  18. package/es/collapse/panel.d.ts +1 -0
  19. package/es/collapse/panel.js +17 -5
  20. package/es/collapse/style/index.css +32 -6
  21. package/es/collapse/style/index.less +24 -1
  22. package/es/collapse/style/token.less +12 -10
  23. package/es/config-provider/compDefaultProps.d.ts +1 -0
  24. package/es/config-provider/compDefaultProps.js +2 -1
  25. package/es/drawer/drawer.d.ts +1 -0
  26. package/es/drawer/drawer.js +56 -21
  27. package/es/dropdown/style/index.css +5 -5
  28. package/es/form/Field.js +9 -4
  29. package/es/form/Form.js +7 -2
  30. package/es/form/hooks/useForm.js +1 -0
  31. package/es/form/interface.d.ts +5 -0
  32. package/es/input-number/inputNumber.d.ts +1 -0
  33. package/es/input-number/inputNumber.js +3 -2
  34. package/es/locale/locale.d.ts +1 -0
  35. package/es/locale/zh-CN.d.ts +1 -0
  36. package/es/locale/zh-CN.js +2 -1
  37. package/es/menu/subMenu.js +6 -2
  38. package/es/popconfirm/style/index.css +5 -5
  39. package/es/radio/radio.js +3 -1
  40. package/es/radio/style/index.css +51 -24
  41. package/es/radio/style/index.less +28 -2
  42. package/es/radio/style/token.less +4 -4
  43. package/es/select/option.js +1 -1
  44. package/es/select/style/index.css +27 -12
  45. package/es/select/style/index.less +382 -368
  46. package/es/select/style/token.less +6 -3
  47. package/es/steps/style/index.css +40 -32
  48. package/es/steps/style/index.less +23 -33
  49. package/es/steps/style/token.less +6 -9
  50. package/es/style/mixins/index.less +5 -5
  51. package/es/tabs/tabs.js +5 -1
  52. package/es/tag/style/index.css +2 -147
  53. package/es/tag/style/index.less +4 -24
  54. package/es/tag/style/mixin.less +0 -13
  55. package/es/tag/style/token.less +1 -1
  56. package/es/tooltip/style/index.css +8 -8
  57. package/es/tooltip/style/index.less +2 -2
  58. package/lib/_utils/usePopper.js +34 -11
  59. package/lib/button/style/index.css +3 -3
  60. package/lib/button/style/token.less +3 -3
  61. package/lib/carousel/displayList.js +9 -4
  62. package/lib/carousel/fadeList.js +10 -5
  63. package/lib/carousel/slideList.js +6 -3
  64. package/lib/carousel/style/index.css +66 -3
  65. package/lib/carousel/style/index.less +67 -2
  66. package/lib/collapse/panel.d.ts +1 -0
  67. package/lib/collapse/panel.js +17 -5
  68. package/lib/collapse/style/index.css +32 -6
  69. package/lib/collapse/style/index.less +24 -1
  70. package/lib/collapse/style/token.less +12 -10
  71. package/lib/config-provider/compDefaultProps.d.ts +1 -0
  72. package/lib/config-provider/compDefaultProps.js +2 -1
  73. package/lib/drawer/drawer.d.ts +1 -0
  74. package/lib/drawer/drawer.js +61 -27
  75. package/lib/dropdown/style/index.css +5 -5
  76. package/lib/form/Field.js +10 -4
  77. package/lib/form/Form.js +7 -2
  78. package/lib/form/hooks/useForm.js +1 -0
  79. package/lib/form/interface.d.ts +5 -0
  80. package/lib/input-number/inputNumber.d.ts +1 -0
  81. package/lib/input-number/inputNumber.js +3 -2
  82. package/lib/locale/locale.d.ts +1 -0
  83. package/lib/locale/zh-CN.d.ts +1 -0
  84. package/lib/locale/zh-CN.js +2 -1
  85. package/lib/menu/subMenu.js +6 -2
  86. package/lib/popconfirm/style/index.css +5 -5
  87. package/lib/radio/radio.js +3 -1
  88. package/lib/radio/style/index.css +51 -24
  89. package/lib/radio/style/index.less +28 -2
  90. package/lib/radio/style/token.less +4 -4
  91. package/lib/select/option.js +1 -1
  92. package/lib/select/style/index.css +27 -12
  93. package/lib/select/style/index.less +382 -368
  94. package/lib/select/style/token.less +6 -3
  95. package/lib/steps/style/index.css +40 -32
  96. package/lib/steps/style/index.less +23 -33
  97. package/lib/steps/style/token.less +6 -9
  98. package/lib/style/mixins/index.less +5 -5
  99. package/lib/tabs/tabs.js +6 -1
  100. package/lib/tag/style/index.css +2 -147
  101. package/lib/tag/style/index.less +4 -24
  102. package/lib/tag/style/mixin.less +0 -13
  103. package/lib/tag/style/token.less +1 -1
  104. package/lib/tooltip/style/index.css +8 -8
  105. package/lib/tooltip/style/index.less +2 -2
  106. package/package.json +1 -1
@@ -1276,12 +1276,12 @@
1276
1276
  @btn-primary-border-color-hover: var(~'@{button-custom-prefix}-primary-color-border-hover', @color-theme-hover); // 基础hover边框颜色
1277
1277
  @btn-primary-background-color-active: var(~'@{button-custom-prefix}-primary-color-background-active', @color-theme-click); // 基础active背景颜色
1278
1278
  @btn-primary-border-color-active: var(~'@{button-custom-prefix}-primary-color-border-active', @color-theme); // 基础active边框颜色
1279
- @btn-primary-background-color-disabled: var(~'@{button-custom-prefix}-primary-color-background-disabled', @color-theme-disabled); // 基础disabled背景颜色 禁用状态
1280
- @btn-primary-border-color-disabled: var(~'@{button-custom-prefix}-primary-color-border-disabled', @color-theme-disabled); // 基础disabled边框颜色
1279
+ @btn-primary-background-color-disabled: var(~'@{button-custom-prefix}-primary-color-background-disabled', @color-theme-4); // 基础disabled背景颜色 禁用状态
1280
+ @btn-primary-border-color-disabled: var(~'@{button-custom-prefix}-primary-color-border-disabled', @color-theme-4); // 基础disabled边框颜色
1281
1281
 
1282
1282
  @btn-ghost-background-color: var(~'@{button-custom-prefix}-ghost-color-background', transparent); // 幽灵背景颜色
1283
1283
  @btn-ghost-border-color: var(~'@{button-custom-prefix}-ghost-color-border', @color-theme-6); //幽灵边框颜色
1284
- @btn-ghost-font-color: var(~'@{button-custom-prefix}-ghost-color-text', #5582F3); // 幽灵按钮文字颜色
1284
+ @btn-ghost-font-color: var(~'@{button-custom-prefix}-ghost-color-text', @color-theme); // 幽灵按钮文字颜色
1285
1285
  @btn-ghost-background-color-hover: var(~'@{button-custom-prefix}-ghost-color-background-hover', @color-theme-5); //幽灵hover背景颜色
1286
1286
  @btn-ghost-border-color-hover: var(~'@{button-custom-prefix}-ghost-color-border-hover', transparent); //幽灵hover边框颜色
1287
1287
  @btn-ghost-font-color-hover: var(~'@{button-custom-prefix}-ghost-color-text-hover',#ffffff); // 幽灵hover按钮文字颜色
@@ -1573,7 +1573,7 @@
1573
1573
  list-style: none;
1574
1574
  display: flex;
1575
1575
  flex-direction: row;
1576
- flex: 1;
1576
+ width: 100%;
1577
1577
  position: relative;
1578
1578
  &-item {
1579
1579
  display: block;
@@ -1589,6 +1589,71 @@
1589
1589
  }
1590
1590
  }
1591
1591
  }
1592
+
1593
+ &-list {
1594
+ list-style: none;
1595
+ display: flex;
1596
+ flex-direction: row;
1597
+ flex: 1;
1598
+ position: relative;
1599
+
1600
+ &-item {
1601
+ position: relative;
1602
+ flex-shrink: 0;
1603
+ height: 100%;
1604
+ width: 100%;
1605
+ }
1606
+
1607
+ &-slide {
1608
+ .@{carousel-prefix-cls}-list-item {
1609
+ opacity: 1;
1610
+ border-radius: @carousel-boder-radius;
1611
+ &-animation {
1612
+ transition: opacity 0.3s ease;
1613
+ }
1614
+ &-none-animation {
1615
+ transition: none;
1616
+ }
1617
+ &-not-hidden {
1618
+ opacity: 1;
1619
+ }
1620
+ &-hidden {
1621
+ opacity: 0;
1622
+ }
1623
+ }
1624
+ }
1625
+
1626
+ &-fade {
1627
+ .@{carousel-prefix-cls}-list-item {
1628
+ opacity: 1;
1629
+ &-animation {
1630
+ transition: opacity 0.3s ease;
1631
+ }
1632
+ &-none-animation {
1633
+ transition: none;
1634
+ }
1635
+ &-not-hidden {
1636
+ opacity: 1;
1637
+ }
1638
+ &-hidden {
1639
+ opacity: 0;
1640
+ }
1641
+ }
1642
+ }
1643
+
1644
+ &-display {
1645
+ .@{carousel-prefix-cls}-list-item {
1646
+ display: block;
1647
+ &-not-hidden {
1648
+ display: block;
1649
+ }
1650
+ &-hidden {
1651
+ display: none;
1652
+ }
1653
+ }
1654
+ }
1655
+ }
1656
+
1592
1657
  &-slidebar {
1593
1658
  position: absolute;
1594
1659
  &-left {
@@ -1607,7 +1672,7 @@
1607
1672
  .horizontal;
1608
1673
  top: @carousel-dots-margin-top;
1609
1674
  }
1610
-
1675
+
1611
1676
  &-dot > button {
1612
1677
  display: block;
1613
1678
  border-radius: @carousel-dots-boder-radius;
@@ -2536,11 +2601,23 @@
2536
2601
  &-left {
2537
2602
  display: inline-flex;
2538
2603
  align-items: center;
2539
- flex-grow: 1;
2604
+ line-height: 1.5;
2605
+ }
2606
+ &-middle {
2607
+ display: inline-flex;
2608
+ align-items: center;
2609
+ flex: 1;
2610
+ margin-left: 22px;
2611
+ color: @collapse-header-font-color-secondary;
2612
+ white-space: nowrap;
2613
+ overflow: hidden;
2614
+ text-overflow: ellipsis;
2540
2615
  }
2541
2616
  &-right {
2617
+ margin-left: 40px;
2542
2618
  display: inline-flex;
2543
2619
  align-items: center;
2620
+ white-space: nowrap;
2544
2621
  }
2545
2622
  &-extra,
2546
2623
  &-header {
@@ -2549,10 +2626,21 @@
2549
2626
  color: @collapse-header-font-color;
2550
2627
  font-size: @collapse-header-font-size;
2551
2628
  }
2629
+
2630
+ &-header {
2631
+ display: inline-block;
2632
+ white-space: nowrap;
2633
+ overflow: hidden;
2634
+ text-overflow: ellipsis;
2635
+ &:hover {
2636
+ color: @collapse-header-color-text-hover;
2637
+ }
2638
+ }
2552
2639
  &-icon {
2553
2640
  align-items: center;
2554
2641
  display: inline-flex;
2555
2642
  margin-right: @collapse-icon-margin-right;
2643
+ font-size: @collapse-icon-font-size;
2556
2644
  }
2557
2645
  &-icon:hover,
2558
2646
  &-left:hover {
@@ -2600,29 +2688,31 @@
2600
2688
 
2601
2689
  @collapse-prefix: '--@{kd-prefix}-c-collapse';
2602
2690
 
2603
- // sizing
2604
- @collapse-border-width: var(~'@{collapse-prefix}-border-width', 1px);
2605
- @collapse-icon-margin-right: var(~'@{collapse-prefix}-spacing-margin-right', 6px);
2606
- @collapse-header-padding: var(~'@{collapse-prefix}-header-spacing-padding', 12px);
2607
- @collapse-content-bordered-padding: var(~'@{collapse-prefix}-content-bordered-spacing-padding', 12px);
2608
- @collapse-content-padding: var(~'@{collapse-prefix}-content-spacing-padding', 0 16px);
2609
-
2610
2691
  // color
2611
2692
  @collapse-border-color: var(~'@{collapse-prefix}-color-border-strong-2', @color-border-strong-2);
2612
2693
  @collapse-header-font-color: var(~'@{collapse-prefix}-header-color-text-primary', @color-text-primary);
2694
+ @collapse-header-font-color-secondary: var(~'@{collapse-prefix}-header-color-text-secondary', @color-text-secondary);
2613
2695
  @collapse-content-font-color: var(~'@{collapse-prefix}-content-color-text-primary', @color-text-primary);
2614
2696
  @collapse-disabled-color: var(~'@{collapse-prefix}-color-disabled', raba(178, 178, 178, 1));
2615
2697
  @collapse-header-color-background: var(~'@{collapse-prefix}-header-color-background', rgba(0, 0, 0, 0));
2616
2698
  @collapse-content-color-background: var(~'@{collapse-prefix}-content-color-background', rgba(0, 0, 0, 0));
2617
-
2699
+ @collapse-header-color-text-hover: var(~'@{collapse-prefix}-header-color-text-hover', #666666);
2618
2700
 
2619
2701
  // font
2620
- @collapse-header-font-size: var(~'@{collapse-prefix}-header-font-size', @font-size-middle);
2702
+ @collapse-header-font-size: var(~'@{collapse-prefix}-header-font-size', 16px);
2621
2703
  @collapse-content-font-size: var(~'@{collapse-prefix}-content-font-size', @font-size-middle);
2704
+ @collapse-icon-font-size: var(~'@{collapse-prefix}-icon-font-size', 16px);
2622
2705
 
2623
2706
  // motion
2624
2707
  @collapse-transition-duration: var(~'@{collapse-prefix}-motion-duration', @duration-promptly);
2625
2708
 
2709
+ // sizing
2710
+ @collapse-border-width: var(~'@{collapse-prefix}-border-width', 1px);
2711
+ @collapse-icon-margin-right: var(~'@{collapse-prefix}-spacing-margin-right', 6px);
2712
+ @collapse-header-padding: var(~'@{collapse-prefix}-header-spacing-padding', 8px 50px 8px 28px);
2713
+ @collapse-content-bordered-padding: var(~'@{collapse-prefix}-content-bordered-spacing-padding', 12px);
2714
+ @collapse-content-padding: var(~'@{collapse-prefix}-content-spacing-padding', 0 50px);
2715
+
2626
2716
 
2627
2717
 
2628
2718
 
@@ -7509,11 +7599,12 @@ textarea {
7509
7599
 
7510
7600
 
7511
7601
 
7602
+
7512
7603
  @radio-prefix-cls: ~'@{kd-prefix}-radio';
7513
7604
  @radio-square-prefix-cls: ~'@{radio-prefix-cls}-square';
7514
7605
  @radio-button-prefix-cls: ~'@{radio-prefix-cls}-button';
7515
7606
  @radio-group-prefix-cls: ~'@{radio-prefix-cls}-group';
7516
- @radio-focus-shadow: 0 0 0 3px rgba(@radio-color-theme, 10%);
7607
+ @radio-focus-shadow: 0 0 0 3px rgba(85, 130, 243, 10%);
7517
7608
 
7518
7609
  // 默认类型(单选项)
7519
7610
  .@{radio-prefix-cls} {
@@ -7525,6 +7616,7 @@ textarea {
7525
7616
  padding-left: @radio-circle-size;
7526
7617
  margin-right: @radio-margin-right;
7527
7618
  white-space: nowrap;
7619
+ text-overflow: ellipsis;
7528
7620
  cursor: pointer;
7529
7621
  vertical-align: middle;
7530
7622
  color: @radio-font-color;
@@ -7573,7 +7665,7 @@ textarea {
7573
7665
  // 悬停状态
7574
7666
  &:hover {
7575
7667
 
7576
- // color: @radio-color-theme;
7668
+ color: @radio-color-theme;
7577
7669
  &::before {
7578
7670
  border-color: @radio-color-theme;
7579
7671
  }
@@ -7622,6 +7714,14 @@ textarea {
7622
7714
  background-color: @radio-color-disabled;
7623
7715
  animation: none;
7624
7716
  }
7717
+
7718
+ &.@{radio-prefix-cls}-checked {
7719
+ color: @radio-font-color;
7720
+ }
7721
+ }
7722
+
7723
+ &-text {
7724
+ line-height: 1.5;
7625
7725
  }
7626
7726
  }
7627
7727
 
@@ -7629,6 +7729,8 @@ textarea {
7629
7729
  .@{radio-square-prefix-cls} {
7630
7730
  .reset-component();
7631
7731
 
7732
+ .ellipsis();
7733
+
7632
7734
  // 默认状态
7633
7735
  position: relative;
7634
7736
  display: inline-block;
@@ -7720,6 +7822,14 @@ textarea {
7720
7822
  background-color: @radio-color-disabled;
7721
7823
  animation: none;
7722
7824
  }
7825
+
7826
+ &.@{radio-square-prefix-cls}-checked {
7827
+ color: @radio-font-color;
7828
+ }
7829
+ }
7830
+
7831
+ &-text {
7832
+ line-height: 1.5;
7723
7833
  }
7724
7834
  }
7725
7835
 
@@ -7833,6 +7943,12 @@ textarea {
7833
7943
  // background-color: @radio-color-background-disabled;
7834
7944
  cursor: not-allowed;
7835
7945
  }
7946
+
7947
+ &-text {
7948
+ .ellipsis();
7949
+ display: block;
7950
+ line-height: 1.5;
7951
+ }
7836
7952
  }
7837
7953
 
7838
7954
 
@@ -7857,14 +7973,14 @@ textarea {
7857
7973
  @radio-border-width: var(~'@{radio-prefix}-radius-border-width',1px);
7858
7974
 
7859
7975
  // sizing
7860
- @radio-circle-size:var(~'@{radio-prefix}-square-sizing-width-height',13px);//单选图标大小
7976
+ @radio-circle-size:var(~'@{radio-prefix}-square-sizing-width-height',14px);//单选图标大小
7861
7977
  @radio-square-height: var(~'@{radio-prefix}-square-sizing-height',32px);//单选框 高度
7862
7978
 
7863
7979
  // spacing
7864
7980
  @radio-margin-right: var(~'@{radio-prefix}-spacing-margin-right',8px);
7865
- @radio-square-padding-vertical: var(~'@{radio-prefix}-square-spacing-padding-vertical',0px); //内间距 纵向
7866
- @radio-square-padding-horizontal: var(~'@{radio-prefix}-square-spacing-padding-horizontal',20px);//内间距 横向 /单选框 宽度
7867
- @radio-padding-left: var(~'@{radio-prefix}-spacing-padding-left',6px);//图标与文字间距
7981
+ @radio-square-padding-vertical: var(~'@{radio-prefix}-square-spacing-padding-vertical',6px); //内间距 纵向
7982
+ @radio-square-padding-horizontal: var(~'@{radio-prefix}-square-spacing-padding-horizontal',12px);//内间距 横向 /单选框 宽度
7983
+ @radio-padding-left: var(~'@{radio-prefix}-spacing-padding-left',4px);//图标与文字间距
7868
7984
 
7869
7985
 
7870
7986
 
@@ -8577,374 +8693,388 @@ textarea {
8577
8693
 
8578
8694
  // radius
8579
8695
  @search-radius-size: var(~'@{search-prefix}-radius-border', @radius-border);
8580
-
8581
-
8582
-
8583
-
8584
- @select-prefix-cls: ~'@{kd-prefix}-select';
8585
-
8586
- .@{select-prefix-cls} {
8587
- position: relative;
8588
- display: inline-block;
8589
- box-sizing: border-box;
8590
- background-color: transparent;
8591
- cursor: pointer;
8592
- margin: 0 8px 2px 0;
8593
- vertical-align: middle;
8594
-
8595
- &-selector:hover {
8596
- .@{select-prefix-cls}-icon-active {
8597
- color: #3761ca;
8598
- }
8599
- }
8600
- &-visible {
8601
- .@{select-prefix-cls}-icon-active {
8602
- color: #3761ca;
8603
- }
8604
- }
8605
-
8606
- &-icon {
8607
- &-arrow {
8608
- display: inline-flex;
8609
- align-items: center;
8610
- vertical-align: middle;
8611
- &-up {
8612
- transform: rotate(180deg);
8613
- transition: transform calc(@transition-duration - 0.1s) @ease;
8614
- }
8615
-
8616
- &-down {
8617
- transform: rotate(0deg);
8618
- transition: transform calc(@transition-duration - 0.1s) @ease;
8619
- }
8620
-
8621
- &-focus {
8622
- color: #3761ca;
8623
- }
8624
- }
8625
-
8626
- &-clear {
8627
- opacity: 0;
8628
- transition: opacity 0.15s ease;
8629
- &:hover {
8630
- color: @select-g-color-border-hover;
8631
- }
8632
- }
8633
- }
8634
-
8635
- &-selection-search {
8636
- position: absolute;
8637
- top: 0;
8638
- bottom: 0;
8639
- left: 11px;
8640
- &-input {
8641
- opacity: 0;
8642
- margin: 0;
8643
- padding: 0;
8644
- background: 0 0;
8645
- border: none;
8646
- outline: none;
8647
- appearance: none;
8648
- &:hover {
8649
- cursor: pointer;
8650
- }
8651
- }
8652
- }
8653
-
8654
- &-focused {
8655
- .focusColor();
8656
- // border-bottom: 1px solid #5582F3 ;
8657
- }
8658
- &-placeholder {
8659
- color: @select-placeholder-color;
8660
- overflow: hidden;
8661
- white-space: nowrap;
8662
- text-overflow: ellipsis;
8663
- }
8664
-
8665
- &-borderless {
8666
- border: none;
8667
- }
8668
-
8669
- &-underline {
8670
- border-bottom: 1px solid @select-g-color-border;
8671
- &:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
8672
- border-bottom: 1px solid @select-g-color-border-hover;
8673
- }
8674
- }
8675
-
8676
- &-bordered {
8677
- border: 1px solid @select-border-g-color-border;
8678
- padding-left: 8px !important;
8679
- border-radius: 2px;
8680
- &:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
8681
- border: 1px solid @select-g-color-border-hover;
8682
- }
8683
- }
8684
-
8685
- &-wrapper {
8686
- transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
8687
- padding: 1px 28px 1px 0;
8688
- max-width: 100%;
8689
- color: #212121;
8690
- display: flex;
8691
- flex-wrap: wrap;
8692
- align-items: center;
8693
- cursor: pointer;
8694
- box-sizing: border-box;
8695
- overflow-y: auto;
8696
- overflow-x: hidden;
8697
- }
8698
-
8699
- &-dropdown {
8700
- display: block;
8701
- left: 0;
8702
- z-index: @select-z-index;
8703
- box-sizing: border-box;
8704
- padding: 4px 0; // update
8705
- margin: 0;
8706
- overflow: auto;
8707
- font-size: @select-list-font-size; // update
8708
- font-variant: initial;
8709
- background-color: @select-dropdown-bg;
8710
- border-radius: @select-g-radius-border;
8711
- outline: none;
8712
- box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
8713
-
8714
- &-scroll {
8715
- overflow-y: auto;
8716
- }
8717
-
8718
- &-empty {
8719
- padding: 5px 12px;
8720
- }
8721
-
8722
- // 搜索框
8723
- &-search {
8724
- padding: 5px 6px;
8725
- &-hidden {
8726
- display: none;
8727
- }
8728
- }
8729
- }
8730
-
8731
- // 下拉列表选项
8732
- &-item {
8733
- .item();
8734
- cursor: pointer;
8735
- transition: background 0.3s ease;
8736
-
8737
- &-option {
8738
- display: flex;
8739
- min-width: 75px;
8740
-
8741
- &-content {
8742
- flex: auto;
8743
- .over();
8744
- }
8745
-
8746
- &:hover:not(&-selected):not(&-disabled) {
8747
- background-color: @select-item-active-bg;
8748
- }
8749
-
8750
- &-active:not(&-disabled) {
8751
- background-color: @select-item-active-bg;
8752
- }
8753
-
8754
- &-selected:not(&-disabled) {
8755
- color: @select-item-selected-color;
8756
- // font-weight: @select-item-selected-font-weight;
8757
- background-color: @select-item-selected-bg;
8758
- }
8759
-
8760
- &-disabled {
8761
- color: @select-g-item-text-color-disabled;
8762
- cursor: not-allowed;
8763
- background-color: @select-disabled-option-bg;
8764
- }
8765
- }
8766
- }
8767
-
8768
- // 选择器框大小
8769
- &-size-small {
8770
- .select-input-size(@select-small-height, @select-small-height, @select-small-line-height, @select-small-font-size);
8771
- }
8772
-
8773
- &-size-middle {
8774
- .select-input-size(@select-middle-height, @select-middle-height, @select-middle-line-height, @select-middle-font-size);
8775
- }
8776
-
8777
- &-size-large {
8778
- .select-input-size(@select-large-height, @select-large-height, @select-large-line-height, @select-large-font-size);
8779
- }
8780
-
8781
- &-suffix {
8782
- right: 10px;
8783
- position: absolute;
8784
- display: flex;
8785
- flex: 0;
8786
- flex-wrap: wrap;
8787
- align-items: center;
8788
- justify-content: center;
8789
- margin-left: 4px;
8790
- }
8791
- &-single {
8792
- &-focused {
8793
- .focusColor();
8794
- }
8795
- &-disabled {
8796
- background-color: @disabled-contain-bg;
8797
- color: @disabled-color;
8798
- &:hover {
8799
- cursor: not-allowed;
8800
- }
8801
- }
8802
- &:hover .@{select-prefix-cls}-icon-clear {
8803
- opacity: 1;
8804
- }
8805
- &-text {
8806
- color: #666;
8807
- .over();
8808
- }
8809
- &-disabled-text {
8810
- color: @disabled-color;
8811
- }
8812
- }
8813
-
8814
- .@{select-prefix-cls}-selection-item {
8815
- // position: relative;
8816
- display: inline-flex;
8817
- box-sizing: border-box;
8818
- align-items: center;
8819
- vertical-align: middle;
8820
- max-width: 100%;
8821
- height: 20px;
8822
- line-height: 20px;
8823
- margin: 2px 8px 2px 0;
8824
- // margin: 2px 4px 2px 0;
8825
- // margin-right: 4px;
8826
- // padding-left: 8px;
8827
- // background: #fafafa;
8828
- // border: 1px solid #d9d9d9;
8829
- // border-radius: 2px;
8830
- cursor: default;
8831
- user-select: none;
8832
- &-small {
8833
- height: 18px;
8834
- line-height: 18px;
8835
- font-size: 12px;
8836
- }
8837
-
8838
- &-middle {
8839
- font-size: 12px;
8840
- height: 18px;
8841
- line-height: 18px;
8842
- }
8843
-
8844
- &-large {
8845
- font-size: 14px;
8846
- line-height: 22px;
8847
- height: 22px;
8848
- }
8849
-
8850
- &-content {
8851
- display: inline-flex;
8852
- align-items: center;
8853
- vertical-align: middle;
8854
- padding: 0 7px;
8855
- overflow: hidden;
8856
- white-space: nowrap;
8857
- text-overflow: ellipsis;
8858
- border: 1px solid #ccc;
8859
- color: #212121;
8860
- }
8861
- // &-remove {
8862
- // text-align: center;
8863
- // text-transform: none;
8864
- // display: inline-flex;
8865
- // color: rgba(0, 0, 0, 0.45);
8866
- // line-height: inherit;
8867
- // cursor: pointer;
8868
- // &:hover {
8869
- // color: #212121;
8870
- // }
8871
- // }
8872
- &-span {
8873
- position: relative;
8874
- margin-left: 0.5px;
8875
- box-sizing: border-box;
8876
- }
8877
- &-input {
8878
- // opacity: 0;
8879
- cursor: text;
8880
- margin: 0;
8881
- padding: 0;
8882
- background: 0 0;
8883
- border: none;
8884
- outline: none;
8885
- appearance: none;
8886
- width: 100%;
8887
- min-width: 20px;
8888
- }
8889
- }
8890
-
8891
- // 多选
8892
- &-multiple {
8893
- &-disabled {
8894
- cursor: not-allowed;
8895
- background-color: @disabled-contain-bg;
8896
- color: @disabled-color;
8897
- }
8898
- &:hover .@{select-prefix-cls}-icon-clear {
8899
- opacity: 1;
8900
- }
8901
- &-selector {
8902
- position: relative;
8903
- cursor: text;
8904
- padding-right: 24px;
8905
- display: flex;
8906
- flex-wrap: wrap;
8907
- align-items: center;
8908
- }
8909
- .@{select-prefix-cls}-wrapper {
8910
- &:hover:not(.@{select-prefix-cls}-multiple-disabled) {
8911
- border-bottom: 1px solid @select-g-color-border-hover;
8912
- }
8913
- }
8914
-
8915
- &-footer {
8916
- color: @select-font-color;
8917
- display: inline-flex;
8918
- align-items: center;
8919
- width: 100%;
8920
- padding: 0 12px;
8921
- height: 32px;
8922
- line-height: 32px;
8923
- border-top: 1px solid #d9d9d9;
8924
- box-sizing: border-box;
8925
-
8926
- &-hadSelected {
8927
- color: #999999;
8928
- padding-left: 12px;
8929
- > span {
8930
- color: @select-footer-g-text-color-selected;
8931
- padding: 0 2px;
8932
- }
8933
- }
8934
- }
8935
- }
8936
-
8937
- &.topLeft.hidden,
8938
- &.bottomLeft.hidden,
8939
- &.topRight.hidden,
8940
- &.bottomRight.hidden {
8941
- opacity: 0;
8942
- visibility: hidden;
8943
- transition: all calc(@transition-duration - 0.1s) @ease;
8944
- }
8945
- }
8946
-
8947
-
8696
+
8697
+
8698
+
8699
+
8700
+ @select-prefix-cls: ~'@{kd-prefix}-select';
8701
+
8702
+ .@{select-prefix-cls} {
8703
+ position: relative;
8704
+ display: inline-block;
8705
+ box-sizing: border-box;
8706
+ background-color: transparent;
8707
+ cursor: pointer;
8708
+ margin: 0 8px 2px 0;
8709
+ vertical-align: middle;
8710
+
8711
+ &-selector:hover {
8712
+ .@{select-prefix-cls}-icon-active {
8713
+ color: #3761ca;
8714
+ }
8715
+ }
8716
+ &-visible {
8717
+ .@{select-prefix-cls}-icon-active {
8718
+ color: #3761ca;
8719
+ }
8720
+ }
8721
+
8722
+ &-icon {
8723
+ &-arrow {
8724
+ display: inline-flex;
8725
+ align-items: center;
8726
+ vertical-align: middle;
8727
+ &-up {
8728
+ transform: rotate(180deg);
8729
+ transition: transform calc(@transition-duration - 0.1s) @ease;
8730
+ }
8731
+
8732
+ &-down {
8733
+ transform: rotate(0deg);
8734
+ transition: transform calc(@transition-duration - 0.1s) @ease;
8735
+ }
8736
+
8737
+ &-focus {
8738
+ color: @select-g-color-border-foucs;
8739
+ }
8740
+ }
8741
+
8742
+ &-clear {
8743
+ opacity: 0;
8744
+ transition: opacity 0.15s ease;
8745
+ &:hover {
8746
+ color: @select-g-color-border-hover;
8747
+ }
8748
+ }
8749
+ }
8750
+
8751
+ &-selection-search {
8752
+ position: absolute;
8753
+ top: 0;
8754
+ bottom: 0;
8755
+ left: 11px;
8756
+ &-input {
8757
+ opacity: 0;
8758
+ margin: 0;
8759
+ padding: 0;
8760
+ background: 0 0;
8761
+ border: none;
8762
+ outline: none;
8763
+ appearance: none;
8764
+ &:hover {
8765
+ cursor: pointer;
8766
+ }
8767
+ }
8768
+ }
8769
+
8770
+ &-focused {
8771
+ .focusColor();
8772
+ // border-bottom: 1px solid #5582F3 ;
8773
+ }
8774
+ &-placeholder {
8775
+ color: @select-placeholder-color;
8776
+ overflow: hidden;
8777
+ white-space: nowrap;
8778
+ text-overflow: ellipsis;
8779
+ }
8780
+
8781
+ &-borderless {
8782
+ border: none;
8783
+ }
8784
+
8785
+ &-underline {
8786
+ border-bottom: 1px solid @select-g-color-border;
8787
+ &:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
8788
+ border-bottom: 1px solid @select-g-color-border-hover;
8789
+ }
8790
+ }
8791
+
8792
+ &-bordered {
8793
+ border: 1px solid @select-border-g-color-border;
8794
+ padding-left: 8px !important;
8795
+ border-radius: 2px;
8796
+ &:hover:not(.@{select-prefix-cls}-multiple-disabled):not(.@{select-prefix-cls}-single-disabled) {
8797
+ border: 1px solid @select-g-color-border-hover;
8798
+ }
8799
+
8800
+ .@{select-prefix-cls}-suffix {
8801
+ right: 10px;
8802
+ }
8803
+ }
8804
+
8805
+ &-wrapper {
8806
+ transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
8807
+ padding: 1px 28px 1px 0;
8808
+ max-width: 100%;
8809
+ color: #212121;
8810
+ display: flex;
8811
+ flex-wrap: wrap;
8812
+ align-items: center;
8813
+ cursor: pointer;
8814
+ box-sizing: border-box;
8815
+ overflow-y: auto;
8816
+ overflow-x: hidden;
8817
+ }
8818
+
8819
+ &-dropdown {
8820
+ display: block;
8821
+ left: 0;
8822
+ z-index: @select-z-index;
8823
+ box-sizing: border-box;
8824
+ padding: 4px 0; // update
8825
+ margin: 0;
8826
+ overflow: auto;
8827
+ font-size: @select-list-font-size; // update
8828
+ font-variant: initial;
8829
+ background-color: @select-dropdown-bg;
8830
+ border-radius: @select-g-radius-border;
8831
+ outline: none;
8832
+ box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
8833
+
8834
+ &-scroll {
8835
+ overflow-y: auto;
8836
+ }
8837
+
8838
+ &-empty {
8839
+ padding: 5px 12px;
8840
+ }
8841
+
8842
+ // 搜索框
8843
+ &-search {
8844
+ padding: 5px 6px;
8845
+ &-hidden {
8846
+ display: none;
8847
+ }
8848
+ }
8849
+ }
8850
+
8851
+ // 下拉列表选项
8852
+ &-item {
8853
+ .item();
8854
+ cursor: pointer;
8855
+ transition: background 0.3s ease;
8856
+
8857
+ &-option {
8858
+ display: flex;
8859
+ min-width: 75px;
8860
+
8861
+ &-content {
8862
+ display: flex;
8863
+ align-items: center;
8864
+ flex: auto;
8865
+ .over();
8866
+ }
8867
+
8868
+ &:hover:not(&-selected):not(&-disabled) {
8869
+ background-color: @select-item-active-bg;
8870
+ }
8871
+
8872
+ &-active:not(&-disabled) {
8873
+ background-color: @select-item-active-bg;
8874
+ }
8875
+
8876
+ &-selected:not(&-disabled) {
8877
+ color: @select-item-selected-color;
8878
+ // font-weight: @select-item-selected-font-weight;
8879
+ background-color: @select-item-selected-bg;
8880
+ }
8881
+
8882
+ &-disabled {
8883
+ color: @select-g-item-text-color-disabled;
8884
+ cursor: not-allowed;
8885
+ background-color: @select-disabled-option-bg;
8886
+ }
8887
+ }
8888
+ }
8889
+
8890
+ // 选择器框大小
8891
+ &-size-small {
8892
+ .select-input-size(@select-small-height, @select-small-height, @select-small-line-height, @select-small-font-size);
8893
+ }
8894
+
8895
+ &-size-middle {
8896
+ .select-input-size(@select-middle-height, @select-middle-height, @select-middle-line-height, @select-middle-font-size);
8897
+ }
8898
+
8899
+ &-size-large {
8900
+ .select-input-size(@select-large-height, @select-large-height, @select-large-line-height, @select-large-font-size);
8901
+ }
8902
+
8903
+ &-suffix {
8904
+ right: 0;
8905
+ position: absolute;
8906
+ display: flex;
8907
+ flex: 0;
8908
+ flex-wrap: wrap;
8909
+ align-items: center;
8910
+ justify-content: center;
8911
+ margin-left: 8px;
8912
+ }
8913
+ &-single {
8914
+ &-focused {
8915
+ .focusColor();
8916
+ }
8917
+ &-disabled {
8918
+ background-color: @select-color-background-disabled;
8919
+ color: @select-color-text-disabled;
8920
+ &:hover {
8921
+ cursor: not-allowed;
8922
+ }
8923
+
8924
+ .@{select-prefix-cls}-suffix {
8925
+ color: @select-arrow-icon-color-text-disabled;
8926
+ }
8927
+ }
8928
+ &:hover .@{select-prefix-cls}-icon-clear {
8929
+ opacity: 1;
8930
+ }
8931
+ &-text {
8932
+ color: #666;
8933
+ .over();
8934
+ }
8935
+ &-disabled-text {
8936
+ color: @select-color-text-disabled;
8937
+ }
8938
+ }
8939
+
8940
+ .@{select-prefix-cls}-selection-item {
8941
+ // position: relative;
8942
+ display: inline-flex;
8943
+ box-sizing: border-box;
8944
+ align-items: center;
8945
+ vertical-align: middle;
8946
+ max-width: 100%;
8947
+ height: 20px;
8948
+ line-height: 20px;
8949
+ margin: 2px 8px 2px 0;
8950
+ // margin: 2px 4px 2px 0;
8951
+ // margin-right: 4px;
8952
+ // padding-left: 8px;
8953
+ // background: #fafafa;
8954
+ // border: 1px solid #d9d9d9;
8955
+ // border-radius: 2px;
8956
+ cursor: default;
8957
+ user-select: none;
8958
+ &-small {
8959
+ height: 18px;
8960
+ line-height: 18px;
8961
+ font-size: 12px;
8962
+ }
8963
+
8964
+ &-middle {
8965
+ font-size: 12px;
8966
+ height: 18px;
8967
+ line-height: 18px;
8968
+ }
8969
+
8970
+ &-large {
8971
+ font-size: 14px;
8972
+ line-height: 22px;
8973
+ height: 22px;
8974
+ }
8975
+
8976
+ &-content {
8977
+ display: inline-flex;
8978
+ align-items: center;
8979
+ vertical-align: middle;
8980
+ padding: 0 7px;
8981
+ overflow: hidden;
8982
+ white-space: nowrap;
8983
+ text-overflow: ellipsis;
8984
+ border: 1px solid #ccc;
8985
+ color: #212121;
8986
+ }
8987
+ // &-remove {
8988
+ // text-align: center;
8989
+ // text-transform: none;
8990
+ // display: inline-flex;
8991
+ // color: rgba(0, 0, 0, 0.45);
8992
+ // line-height: inherit;
8993
+ // cursor: pointer;
8994
+ // &:hover {
8995
+ // color: #212121;
8996
+ // }
8997
+ // }
8998
+ &-span {
8999
+ position: relative;
9000
+ margin-left: 0.5px;
9001
+ box-sizing: border-box;
9002
+ }
9003
+ &-input {
9004
+ // opacity: 0;
9005
+ cursor: text;
9006
+ margin: 0;
9007
+ padding: 0;
9008
+ background: 0 0;
9009
+ border: none;
9010
+ outline: none;
9011
+ appearance: none;
9012
+ width: 100%;
9013
+ min-width: 20px;
9014
+ }
9015
+ }
9016
+
9017
+ // 多选
9018
+ &-multiple {
9019
+ &-disabled {
9020
+ cursor: not-allowed;
9021
+ background-color: @select-color-background-disabled;
9022
+ color: @select-color-text-disabled;
9023
+
9024
+ .@{select-prefix-cls}-suffix {
9025
+ color: @select-arrow-icon-color-text-disabled;
9026
+ }
9027
+ }
9028
+ &:hover .@{select-prefix-cls}-icon-clear {
9029
+ opacity: 1;
9030
+ }
9031
+ &-selector {
9032
+ position: relative;
9033
+ cursor: text;
9034
+ padding-right: 24px;
9035
+ display: flex;
9036
+ flex-wrap: wrap;
9037
+ align-items: center;
9038
+ }
9039
+ .@{select-prefix-cls}-wrapper {
9040
+ &:hover:not(.@{select-prefix-cls}-multiple-disabled) {
9041
+ border-bottom: 1px solid @select-g-color-border-hover;
9042
+ }
9043
+ }
9044
+
9045
+ &-footer {
9046
+ color: @select-font-color;
9047
+ display: inline-flex;
9048
+ align-items: center;
9049
+ width: 100%;
9050
+ padding: 0 12px;
9051
+ height: 32px;
9052
+ line-height: 32px;
9053
+ border-top: 1px solid #d9d9d9;
9054
+ box-sizing: border-box;
9055
+
9056
+ &-hadSelected {
9057
+ color: #999999;
9058
+ padding-left: 12px;
9059
+ > span {
9060
+ color: @select-footer-g-text-color-selected;
9061
+ padding: 0 2px;
9062
+ }
9063
+ }
9064
+ }
9065
+ }
9066
+
9067
+ &.topLeft.hidden,
9068
+ &.bottomLeft.hidden,
9069
+ &.topRight.hidden,
9070
+ &.bottomRight.hidden {
9071
+ opacity: 0;
9072
+ visibility: hidden;
9073
+ transition: all calc(@transition-duration - 0.1s) @ease;
9074
+ }
9075
+ }
9076
+
9077
+
8948
9078
 
8949
9079
 
8950
9080
 
@@ -9036,17 +9166,20 @@ textarea {
9036
9166
  // color
9037
9167
  @select-dropdown-bg: var(~'@{select-custom-prefix}-dropdown-color-background', @color-background);
9038
9168
  @select-disabled-option-bg: var(~'@{select-custom-prefix}-item-color-background-disabled', @color-background-contain-disabled);
9039
- @select-item-active-bg: var(~'@{select-custom-prefix}-color-background', @color-hover);
9169
+ @select-item-active-bg: var(~'@{select-custom-prefix}-color-background', #f5f5f5);
9040
9170
  @select-item-selected-bg: var(~'@{select-custom-prefix}-color-background-selected', @color-theme-3);
9041
9171
  @select-g-color-border: var(~'@{select-custom-prefix}-color-border', @color-input);
9042
9172
  @select-g-color-border-foucs: var(~'@{select-custom-prefix}-color-border-foucs', @color-theme);
9043
9173
  @select-g-color-border-hover: var(~'@{select-custom-prefix}-color-border-hover', @color-theme);
9044
9174
  @select-border-g-color-border: var(~'@{select-custom-prefix}-border-color-border', @color-border-strong);
9045
- @select-placeholder-color: var(~'@{select-custom-prefix}-placeholder-color-text', @color-text-third);
9175
+ @select-placeholder-color: var(~'@{select-custom-prefix}-placeholder-color-text', #b2b2b2);
9046
9176
  @select-item-selected-color: var(~'@{select-custom-prefix}-item-color-text-selected', @color-theme);
9047
9177
  @select-font-color: var(~'@{select-custom-prefix}-footer-color-text', @color-text-primary);
9048
- @select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', @color-text-link);
9178
+ @select-footer-g-text-color-selected: var(~'@{select-custom-prefix}-footer-color-text-selected', #0e5fd8);
9049
9179
  @select-g-item-text-color-disabled: var(~'@{select-custom-prefix}-item-color-text-disabled', @color-disabled);
9180
+ @select-color-background-disabled: var(~'@{select-custom-prefix}-color-background-disabled', #f5f5f5);
9181
+ @select-color-text-disabled: var(~'@{select-custom-prefix}-color-text-disabled', #212121);
9182
+ @select-arrow-icon-color-text-disabled: var(~'@{select-custom-prefix}-arrow-icon-color-text-disabled', #b2b2b2);
9050
9183
 
9051
9184
  // font
9052
9185
  @select-list-font-size: var(~'@{select-custom-prefix}-dropdown-font-size', 12px); // 下拉列表文字大小
@@ -9892,16 +10025,19 @@ textarea {
9892
10025
 
9893
10026
 
9894
10027
 
9895
-
9896
10028
  @steps-prefix-cls: ~'@{kd-prefix}-steps';
9897
10029
 
9898
10030
  .@{steps-prefix-cls} {
9899
10031
  display: flex;
9900
10032
  justify-content: space-between;
9901
- align-items: baseline;
9902
10033
 
9903
- &-iconSize {
9904
- // font-size: @steps-font-size;
10034
+ .@{steps-prefix-cls}-icon {
10035
+ border: 2px solid;
10036
+ padding-top: 1px;
10037
+ }
10038
+
10039
+ .@{kd-prefix}icon-exclamatory {
10040
+ font-size: 30px;
9905
10041
  }
9906
10042
 
9907
10043
  &-item {
@@ -9922,25 +10058,21 @@ textarea {
9922
10058
  }
9923
10059
 
9924
10060
  &-clickable&-wait {
9925
-
9926
10061
  .@{steps-prefix-cls}-icon,
9927
10062
  .@{steps-prefix-cls}-item-title {
9928
10063
  transition: all @steps-duration-promptly;
9929
10064
  }
9930
10065
 
9931
-
9932
10066
  &:hover {
9933
10067
  .@{steps-prefix-cls}-icon {
9934
- // background-color: @steps-color-background-wait-icon-hover;
9935
-
9936
10068
  background-color: @steps-color-white;
9937
- color: @steps-color-completed;
9938
- border: 2px solid @steps-color-completed;
10069
+ color: @steps-color-hover;
10070
+ border-color: @steps-color-hover;
9939
10071
  }
9940
10072
 
9941
10073
  .@{steps-prefix-cls}-item-title,
9942
10074
  .@{steps-prefix-cls}-item-description {
9943
- color: @steps-color-completed;
10075
+ color: @steps-color-hover;
9944
10076
  }
9945
10077
  }
9946
10078
  }
@@ -9973,11 +10105,12 @@ textarea {
9973
10105
  content: '';
9974
10106
  width: 100%;
9975
10107
  height: @steps-line-sizing-height;
9976
- background-color: @steps-color-wait;
10108
+ border-bottom: 1px dashed @steps-color-wait;
10109
+ border-left: 1px dashed @steps-color-wait;
9977
10110
  position: absolute;
9978
10111
  left: 50%;
9979
10112
  top: calc(50% - @steps-line-sizing-height / 2);
9980
- transition: width @steps-duration-promptly @steps-transition-fn, background-color @steps-duration-promptly @steps-transition-fn
10113
+ 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)
9981
10114
  }
9982
10115
 
9983
10116
  &:last-child {
@@ -9994,7 +10127,6 @@ textarea {
9994
10127
  justify-content: center;
9995
10128
  align-items: center;
9996
10129
 
9997
- // background-color:@steps-color-white;
9998
10130
  .@{steps-prefix-cls}-icon {
9999
10131
  width: @steps-icon-sizing-width;
10000
10132
  height: @steps-icon-sizing-width;
@@ -10005,7 +10137,7 @@ textarea {
10005
10137
  color: @steps-color-wait;
10006
10138
  font-size: calc(@steps-icon-sizing-width - 13px);
10007
10139
  border-radius: 50%;
10008
- border: 2px solid @steps-color-wait;
10140
+ border-color: @steps-color-wait;
10009
10141
  box-sizing: border-box;
10010
10142
  }
10011
10143
  }
@@ -10026,7 +10158,6 @@ textarea {
10026
10158
  }
10027
10159
 
10028
10160
  .@{steps-prefix-cls}-item-description {
10029
-
10030
10161
  line-height: 20px;
10031
10162
  font-size: @steps-font-size;
10032
10163
  color: @steps-color-wait;
@@ -10035,19 +10166,21 @@ textarea {
10035
10166
  word-break: break-word;
10036
10167
  display: -webkit-box;
10037
10168
  -webkit-box-orient: vertical;
10038
-
10039
10169
  width: @steps-vertical-description-sizing-width;
10040
-
10041
10170
  }
10042
10171
  }
10043
10172
 
10044
10173
  &-process {
10174
+ color: @steps-color-hover;
10175
+
10045
10176
  .@{steps-prefix-cls}-icon {
10046
- background-color: @steps-color-background-process-icon;
10177
+ background-color: @steps-color-white;
10178
+ color: @steps-color-hover;
10179
+ border-color: @steps-color-hover;
10047
10180
  }
10048
10181
 
10049
- .@{steps-prefix-cls}-item-title {
10050
- color: @steps-color-wait;
10182
+ .@{steps-prefix-cls}-item-title, .@{steps-prefix-cls}-item-description {
10183
+ color: @steps-color-hover;
10051
10184
  }
10052
10185
  }
10053
10186
 
@@ -10063,12 +10196,11 @@ textarea {
10063
10196
  .@{steps-prefix-cls}-icon {
10064
10197
  background-color: @steps-color-white;
10065
10198
  color: @steps-color-completed;
10066
- border: 2px solid @steps-color-completed;
10199
+ border-color: @steps-color-completed;
10067
10200
  box-sizing: border-box;
10068
10201
  }
10069
10202
 
10070
10203
  .@{steps-prefix-cls}-item-content {
10071
-
10072
10204
  .@{steps-prefix-cls}-item-title,
10073
10205
  .@{steps-prefix-cls}-item-description {
10074
10206
  color: @steps-color-completed;
@@ -10076,31 +10208,22 @@ textarea {
10076
10208
  }
10077
10209
  }
10078
10210
 
10079
- &-iconContainer-finish {
10080
- &::after {
10081
- background-color: @steps-color-completed;
10082
- }
10083
- }
10084
10211
 
10085
10212
  &-error {
10086
10213
  .@{steps-prefix-cls}-icon {
10087
10214
  color: @steps-color-error;
10088
- border: 2px solid @steps-color-error;
10215
+ border-color: @steps-color-error;
10089
10216
  }
10090
10217
 
10091
10218
  .@{steps-prefix-cls}-item-content {
10092
-
10093
10219
  .@{steps-prefix-cls}-item-title,
10094
10220
  .@{steps-prefix-cls}-item-description {
10095
10221
  color: @steps-color-error;
10096
10222
  }
10097
10223
  }
10098
-
10099
-
10100
10224
  }
10101
10225
  }
10102
10226
 
10103
-
10104
10227
  &-bottomLable {
10105
10228
  .@{steps-prefix-cls}-item-iconContainer {
10106
10229
  margin-bottom: 4px;
@@ -10178,26 +10301,23 @@ textarea {
10178
10301
 
10179
10302
  @steps-prefix: '--@{kd-prefix}-c-steps';
10180
10303
 
10181
- @steps-duration-promptly: var(~'@{steps-prefix}-duration-promptly', @duration-promptly);
10182
- @steps-transition-fn: cubic-bezier(0.48, 0.04, 0.52, 0.96);
10183
-
10184
-
10185
-
10186
10304
  // color
10187
- @steps-color-completed: var(~'@{steps-prefix}-color-completed', @color-theme);//已经完成
10305
+ @steps-color-completed: var(~'@{steps-prefix}-color-completed', @color-success);//已经完成
10306
+ @steps-color-hover: var(~'@{steps-prefix}-color-hover', @color-theme);
10188
10307
  @steps-color-error: var(~'@{steps-prefix}-color-error', @color-error);
10189
- @steps-color-wait: var(~'@{steps-prefix}-color-wait', @color-text-secondary);//未开始 等待
10308
+ @steps-color-wait: var(~'@{steps-prefix}-color-wait', #999);//未开始 等待
10190
10309
  @steps-color-white: var(~'@{steps-prefix}-color-white',@color-white);
10191
10310
  @steps-color-background-process-icon: var(~'@{steps-prefix}-icon-color-background', @color-theme);//图标的颜色
10192
10311
 
10193
-
10194
10312
  // font
10195
10313
  @steps-font-size: var(~'@{steps-prefix}-font-size', @font-size-small); // 文字大小
10196
10314
 
10315
+ // motion
10316
+ @steps-duration-promptly: var(~'@{steps-prefix}-motion-duration', @duration-promptly);
10197
10317
 
10198
10318
  // sizing
10199
10319
  @steps-icon-sizing-width: var(~'@{steps-prefix}-icon-sizing-width', 28px);//图标的大小
10200
- @steps-line-sizing-height: var(~'@{steps-prefix}-line-sizing-height', 4px);//连接线高度
10320
+ @steps-line-sizing-height: var(~'@{steps-prefix}-line-sizing-height', 1px);//连接线高度
10201
10321
  @steps-horizontal-description-sizing-height: var(~'@{steps-prefix}-horizontal-description-sizing-height', 60px);//内容部分高度 横向
10202
10322
  @steps-vertical-description-sizing-width: var(~'@{steps-prefix}-vertical-description-sizing-width', 200px);//内容部分宽度 纵向
10203
10323
 
@@ -10975,7 +11095,7 @@ template {
10975
11095
  &::before {
10976
11096
  position: absolute;
10977
11097
  z-index: -2;
10978
- background: transparent;
11098
+ background: @popperBg;
10979
11099
  border-style: solid;
10980
11100
  border-width: var(--arrowSize);
10981
11101
  transform: rotate(45deg);
@@ -11001,7 +11121,7 @@ template {
11001
11121
  left: var(--arrowLeft);
11002
11122
  top: var(--arrowSpill);
11003
11123
  box-shadow: -2px -2px calc(@blur - 1px) rgba(0, 0, 0, 0.1);
11004
- border-color: @color-white transparent transparent @color-white;
11124
+ border-color: @popperBg transparent transparent @popperBg;
11005
11125
  }
11006
11126
  }
11007
11127
 
@@ -11012,7 +11132,7 @@ template {
11012
11132
  left: var(--arrowLeft);
11013
11133
  bottom: var(--arrowSpill);
11014
11134
  box-shadow: 3px 3px calc(@blur + 1px) rgba(0, 0, 0, 0.15);
11015
- border-color: transparent @color-white @color-white transparent;
11135
+ border-color: transparent @popperBg @popperBg transparent;
11016
11136
  }
11017
11137
  }
11018
11138
 
@@ -11023,7 +11143,7 @@ template {
11023
11143
  top: var(--arrowTop);
11024
11144
  right: var(--arrowSpill);
11025
11145
  box-shadow: 3px 0 @blur rgba(0, 0, 0, 0.12), 0 -2px @blur rgba(204, 149, 149, 0.12);
11026
- border-color: @color-white @color-white transparent transparent;
11146
+ border-color: @popperBg @popperBg transparent transparent;
11027
11147
  }
11028
11148
  }
11029
11149
 
@@ -11034,7 +11154,7 @@ template {
11034
11154
  top: var(--arrowTop);
11035
11155
  left: var(--arrowSpill);
11036
11156
  box-shadow: 0 3px @blur rgba(0, 0, 0, 0.1), -2px 0 @blur rgba(0, 0, 0, 0.1);
11037
- border-color: transparent transparent @color-white @color-white;
11157
+ border-color: transparent transparent @popperBg @popperBg;
11038
11158
  }
11039
11159
  }
11040
11160
  }
@@ -12564,7 +12684,7 @@ template {
12564
12684
  &-size-large {
12565
12685
  .tag-size(@tag-large-font-size, @tag-large-height, @tag-large-padding-horizontal);
12566
12686
  }
12567
-
12687
+
12568
12688
  transition: all @tag-g-motion-duration;
12569
12689
  // 状态标签
12570
12690
  &-shape-status {
@@ -12588,16 +12708,6 @@ template {
12588
12708
  // 文本标签
12589
12709
  &-shape-text {
12590
12710
  .tag-text-color(@tag-process-color);
12591
- .tag-text-padding(@tag-small-padding-horizontal)
12592
- }
12593
- &-shape-text.@{tag-prefix-cls}-size-small {
12594
- .tag-text-padding(@tag-small-padding-horizontal)
12595
- }
12596
- &-shape-text.@{tag-prefix-cls}-size-middle {
12597
- .tag-text-padding(@tag-middle-padding-horizontal)
12598
- }
12599
- &-shape-text.@{tag-prefix-cls}-size-large {
12600
- .tag-text-padding(@tag-large-padding-horizontal)
12601
12711
  }
12602
12712
  each(@types, {
12603
12713
  &-shape-text.@{tag-prefix-cls}-@{value} {
@@ -12622,13 +12732,13 @@ template {
12622
12732
  &:not(.@{tag-prefix-cls}-closable-disabled):hover {
12623
12733
  border-color: @tag-edit-g-color-border-hover;
12624
12734
  .@{tag-prefix-cls}-closeWrapper {
12625
- background-color: @tag-edit-cloesWrapper-g-color-background-hover;
12735
+ // background-color: @tag-edit-cloesWrapper-g-color-background-hover;
12626
12736
  color: @tag-edit-cloesWrapper-g-text-color-hover;
12627
12737
  }
12628
12738
  }
12629
12739
 
12630
12740
  &.@{tag-prefix-cls}-closable {
12631
- padding-right: 0;
12741
+ padding-right: 8px;
12632
12742
  }
12633
12743
  }
12634
12744
 
@@ -12655,28 +12765,18 @@ template {
12655
12765
  }
12656
12766
  &-closable.@{tag-prefix-cls}-size-middle {
12657
12767
  line-height: @tag-middle-height;
12658
-
12659
- .@{tag-prefix-cls}-closeWrapper {
12660
- width: calc(@tag-middle-height - 2px);
12661
- height: calc(@tag-middle-height - 2px);
12662
- }
12663
12768
  }
12664
12769
  &-closable.@{tag-prefix-cls}-size-large {
12665
12770
  line-height: @tag-large-height;
12666
12771
  padding-left: @tag-large-padding-horizontal;
12667
12772
 
12668
12773
  .@{tag-prefix-cls}-closeWrapper {
12669
- width: calc(@tag-large-height - 2px);
12670
- height: calc(@tag-large-height - 2px);
12671
-
12672
12774
  .@{tag-prefix-cls}-close-icon {
12673
12775
  font-size: 14px;
12674
12776
  }
12675
12777
  }
12676
12778
  }
12677
12779
  &-closeWrapper {
12678
- width: calc(@tag-middle-height - 2px);
12679
- height: calc(@tag-middle-height - 2px);
12680
12780
  margin-left: 4px;
12681
12781
  display: inline-flex;
12682
12782
  justify-content: center;
@@ -12690,6 +12790,7 @@ template {
12690
12790
  }
12691
12791
 
12692
12792
 
12793
+
12693
12794
  // code component mixin here
12694
12795
  .tag-size(@size, @height, @padding) {
12695
12796
  font-size: @size;
@@ -12719,19 +12820,6 @@ template {
12719
12820
  align-items: center;
12720
12821
  padding: 0;
12721
12822
  border-radius: 0;
12722
- &::before{
12723
- content: '';
12724
- display: block;
12725
- background-color: @color;
12726
- border-radius: 50%;
12727
- }
12728
- }
12729
- .tag-text-padding(@padding) {
12730
- &::before{
12731
- width: @padding;
12732
- height: @padding;
12733
- margin-right: @padding;
12734
- }
12735
12823
  }
12736
12824
 
12737
12825
 
@@ -12751,7 +12839,7 @@ template {
12751
12839
  @tag-edit-g-text-color: var(~'@{tag-custom-prefix}-edit-color-text', @color-text-primary);
12752
12840
  @tag-edit-g-color-border-hover: var(~'@{tag-custom-prefix}-edit-color-border-hover', @color-theme);
12753
12841
  @tag-edit-cloesWrapper-g-color-background-hover: var(~'@{tag-custom-prefix}-edit-cloesWrapper-color-background-hover', @color-theme);
12754
- @tag-edit-cloesWrapper-g-text-color-hover: var(~'@{tag-custom-prefix}-edit-cloesWrapper-color-text-hover', @color-white);
12842
+ @tag-edit-cloesWrapper-g-text-color-hover: var(~'@{tag-custom-prefix}-edit-cloesWrapper-color-text-hover', @color-theme);
12755
12843
  @tag-edit-g-color-background-disabled: var(~'@{tag-custom-prefix}-edit-color-background-disabled', @color-background-contain-disabled);
12756
12844
  @tag-edit-g-color-border-disabled: var(~'@{tag-custom-prefix}-edit-color-background-disabled', @color-border-strong);
12757
12845
  @tag-edit-g-text-color-disabled: var(~'@{tag-custom-prefix}-edit-color-text-disabled', @color-border-strong);
@@ -13091,9 +13179,9 @@ template {
13091
13179
  color: @tooltip-color;
13092
13180
  border-radius: @tooltip-border-radius;
13093
13181
  font-size: @tooltip-font-size;
13094
- line-height: 18px;
13182
+ line-height: 1.5;
13095
13183
  background-color: @tooltip-background-color;
13096
- box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.3);
13184
+ box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.2);
13097
13185
  opacity: 1;
13098
13186
  z-index: @z-index-popper;
13099
13187
  visibility: visible;