@qn-pandora/pandora-component 3.1.1 → 4.0.0

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 (145) hide show
  1. package/CHANGELOG.json +7 -7
  2. package/CHANGELOG.md +8 -7
  3. package/es/components/AutoComplete/style.css +25 -29
  4. package/es/components/Button/index.d.ts +0 -8
  5. package/es/components/Button/index.js +4 -4
  6. package/es/components/Button/style.css +100 -104
  7. package/es/components/Button/style.less +3 -14
  8. package/es/components/Card/style.css +28 -2
  9. package/es/components/CheckTransformList/style.css +50 -21
  10. package/es/components/Checkbox/style.css +1 -1
  11. package/es/components/CheckboxList/index.d.ts +2 -0
  12. package/es/components/CheckboxList/index.js +2 -2
  13. package/es/components/CheckboxList/style.css +5 -3
  14. package/es/components/CheckboxList/style.less +4 -2
  15. package/es/components/Collapse/style.css +16 -12
  16. package/es/components/CollapsiblePanel/style.css +4 -4
  17. package/es/components/CollapsiblePanel/style.less +4 -4
  18. package/es/components/DateTimePicker/Base/style.css +378 -49
  19. package/es/components/DateTimePicker/Base/style.less +37 -41
  20. package/es/components/DateTimePicker/BaseMobile/style.css +4 -4
  21. package/es/components/DateTimePicker/BaseMobile/style.less +4 -4
  22. package/es/components/DateTimePicker/DisplayInput/style.css +47 -16
  23. package/es/components/DateTimePicker/constants.d.ts +1 -1
  24. package/es/components/DateTimePicker/constants.js +17 -6
  25. package/es/components/DateTimePicker/index.js +1 -1
  26. package/es/components/DateTimePicker/style.css +7 -7
  27. package/es/components/DateTimePicker/style.less +12 -10
  28. package/es/components/DateTimePicker/transform.d.ts +4 -0
  29. package/es/components/DateTimePicker/transform.js +52 -0
  30. package/es/components/Drawer/style.css +45 -45
  31. package/es/components/Input/index.d.ts +1 -2
  32. package/es/components/Input/index.js +0 -2
  33. package/es/components/Input/style.css +47 -16
  34. package/es/components/InputNumber/index.d.ts +1 -8
  35. package/es/components/InputNumber/index.js +1 -35
  36. package/es/components/Menu/Option.d.ts +4 -0
  37. package/es/components/Menu/Option.js +2 -1
  38. package/es/components/Menu/index.d.ts +1 -1
  39. package/es/components/Menu/style.css +20 -10
  40. package/es/components/Menu/style.less +10 -0
  41. package/es/components/NameLimiter/style.css +2 -4
  42. package/es/components/NameLimiter/style.less +2 -4
  43. package/es/components/OptionList/OptionItem/style.css +2 -2
  44. package/es/components/OptionList/OptionItem/style.less +2 -2
  45. package/es/components/OptionList/style.css +2 -2
  46. package/es/components/RadioGroup/style.css +8 -8
  47. package/es/components/RangeInput/style.css +427 -27
  48. package/es/components/RemarkName/style.css +2 -4
  49. package/es/components/Selector/style.css +25 -29
  50. package/es/components/Selector/style.less +27 -28
  51. package/es/components/Spin/style.css +0 -1
  52. package/es/components/Steps/style.css +8 -6
  53. package/es/components/Steps/style.less +9 -7
  54. package/es/components/Table/style.css +81 -23
  55. package/es/components/Table/style.less +10 -17
  56. package/es/components/Tabs/style.css +29 -1
  57. package/es/components/Tabs/style.less +3 -1
  58. package/es/components/TagList/style.css +10 -10
  59. package/es/components/TagList/style.less +1 -1
  60. package/es/components/Transfer/List/index.js +3 -3
  61. package/es/components/Transfer/List/style.css +3 -0
  62. package/es/components/Transfer/List/style.less +4 -0
  63. package/es/components/Transfer/style.css +3 -0
  64. package/es/components/TreeSelector/style.css +64 -20
  65. package/es/components/TreeSelector/style.less +9 -7
  66. package/es/index.css +2701 -2207
  67. package/es/index.d.ts +1 -1
  68. package/es/index.less +0 -1
  69. package/es/style/theme.less +2 -0
  70. package/lib/components/AutoComplete/style.css +25 -29
  71. package/lib/components/Button/index.d.ts +0 -8
  72. package/lib/components/Button/index.js +4 -4
  73. package/lib/components/Button/style.css +100 -104
  74. package/lib/components/Button/style.less +3 -14
  75. package/lib/components/Card/style.css +28 -2
  76. package/lib/components/CheckTransformList/style.css +50 -21
  77. package/lib/components/Checkbox/style.css +1 -1
  78. package/lib/components/CheckboxList/index.d.ts +2 -0
  79. package/lib/components/CheckboxList/index.js +2 -2
  80. package/lib/components/CheckboxList/style.css +5 -3
  81. package/lib/components/CheckboxList/style.less +4 -2
  82. package/lib/components/Collapse/style.css +16 -12
  83. package/lib/components/CollapsiblePanel/style.css +4 -4
  84. package/lib/components/CollapsiblePanel/style.less +4 -4
  85. package/lib/components/DateTimePicker/Base/style.css +378 -49
  86. package/lib/components/DateTimePicker/Base/style.less +37 -41
  87. package/lib/components/DateTimePicker/BaseMobile/style.css +4 -4
  88. package/lib/components/DateTimePicker/BaseMobile/style.less +4 -4
  89. package/lib/components/DateTimePicker/DisplayInput/style.css +47 -16
  90. package/lib/components/DateTimePicker/constants.d.ts +1 -1
  91. package/lib/components/DateTimePicker/constants.js +17 -6
  92. package/lib/components/DateTimePicker/index.js +1 -1
  93. package/lib/components/DateTimePicker/style.css +7 -7
  94. package/lib/components/DateTimePicker/style.less +12 -10
  95. package/lib/components/DateTimePicker/transform.d.ts +4 -0
  96. package/lib/components/DateTimePicker/transform.js +53 -0
  97. package/lib/components/Drawer/style.css +45 -45
  98. package/lib/components/Input/index.d.ts +1 -2
  99. package/lib/components/Input/index.js +0 -2
  100. package/lib/components/Input/style.css +47 -16
  101. package/lib/components/InputNumber/index.d.ts +1 -8
  102. package/lib/components/InputNumber/index.js +1 -38
  103. package/lib/components/Menu/Option.d.ts +4 -0
  104. package/lib/components/Menu/Option.js +2 -1
  105. package/lib/components/Menu/index.d.ts +1 -1
  106. package/lib/components/Menu/style.css +20 -10
  107. package/lib/components/Menu/style.less +10 -0
  108. package/lib/components/NameLimiter/style.css +2 -4
  109. package/lib/components/NameLimiter/style.less +2 -4
  110. package/lib/components/OptionList/OptionItem/style.css +2 -2
  111. package/lib/components/OptionList/OptionItem/style.less +2 -2
  112. package/lib/components/OptionList/style.css +2 -2
  113. package/lib/components/RadioGroup/style.css +8 -8
  114. package/lib/components/RangeInput/style.css +427 -27
  115. package/lib/components/RemarkName/style.css +2 -4
  116. package/lib/components/Selector/style.css +25 -29
  117. package/lib/components/Selector/style.less +27 -28
  118. package/lib/components/Spin/style.css +0 -1
  119. package/lib/components/Steps/style.css +8 -6
  120. package/lib/components/Steps/style.less +9 -7
  121. package/lib/components/Table/style.css +81 -23
  122. package/lib/components/Table/style.less +10 -17
  123. package/lib/components/Tabs/style.css +29 -1
  124. package/lib/components/Tabs/style.less +3 -1
  125. package/lib/components/TagList/style.css +10 -10
  126. package/lib/components/TagList/style.less +1 -1
  127. package/lib/components/Transfer/List/index.js +3 -3
  128. package/lib/components/Transfer/List/style.css +3 -0
  129. package/lib/components/Transfer/List/style.less +4 -0
  130. package/lib/components/Transfer/style.css +3 -0
  131. package/lib/components/TreeSelector/style.css +64 -20
  132. package/lib/components/TreeSelector/style.less +9 -7
  133. package/lib/index.css +5228 -4734
  134. package/lib/index.d.ts +1 -1
  135. package/lib/index.less +6 -7
  136. package/lib/style/theme.less +2 -0
  137. package/package.json +18 -47
  138. package/es/components/Input/NumberInput/index.d.ts +0 -29
  139. package/es/components/Input/NumberInput/index.js +0 -116
  140. package/es/components/InputNumber/style.css +0 -400
  141. package/es/components/InputNumber/style.less +0 -45
  142. package/lib/components/Input/NumberInput/index.d.ts +0 -29
  143. package/lib/components/Input/NumberInput/index.js +0 -121
  144. package/lib/components/InputNumber/style.css +0 -400
  145. package/lib/components/InputNumber/style.less +0 -45
@@ -379,11 +379,11 @@
379
379
  cursor: auto;
380
380
  }
381
381
  .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input) .ant-select-selector {
382
- border-color: #528cde;
382
+ border-color: #9ca0a6;
383
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
384
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
383
385
  border-right-width: 1px !important;
384
386
  outline: 0;
385
- -webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
386
- box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
387
387
  }
388
388
  .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {
389
389
  color: rgba(0, 0, 0, 0.25);
@@ -408,6 +408,7 @@
408
408
  }
409
409
  .ant-select:not(.ant-select-customize-input) .ant-select-selector .ant-select-selection-search-input::-webkit-search-cancel-button {
410
410
  display: none;
411
+ /* stylelint-disable-next-line property-no-vendor-prefix */
411
412
  -webkit-appearance: none;
412
413
  }
413
414
  .ant-select:not(.ant-select-disabled):hover .ant-select-selector {
@@ -419,6 +420,7 @@
419
420
  -ms-flex: 1;
420
421
  flex: 1;
421
422
  overflow: hidden;
423
+ font-weight: normal;
422
424
  white-space: nowrap;
423
425
  text-overflow: ellipsis;
424
426
  }
@@ -803,7 +805,7 @@
803
805
  .ant-checkbox-inner::after {
804
806
  position: absolute;
805
807
  top: 50%;
806
- left: 22%;
808
+ left: 21.5%;
807
809
  display: table;
808
810
  width: 5.71428571px;
809
811
  height: 9.14285714px;
@@ -984,16 +986,13 @@
984
986
  .pandora-sdk-selector .ant-select-selection:hover .ant-select-selection__clear + .ant-select-arrow {
985
987
  opacity: 0;
986
988
  }
987
- .pandora-sdk-selector .ant-select-selection__choice {
988
- color: #666 !important;
989
- background: #f5f5f5 !important;
989
+ .pandora-sdk-selector.ant-select-multiple .ant-select-selection-item {
990
+ color: #666;
991
+ background: #f5f5f5;
990
992
  border: none;
991
993
  }
992
- .pandora-sdk-selector .ant-select-selection__choice__remove {
993
- color: #d9d9d9 !important;
994
- }
995
- .pandora-sdk-selector .ant-select-selection__choice__remove i {
996
- font-size: 12px;
994
+ .pandora-sdk-selector .ant-select-selection-item-remove {
995
+ color: #d9d9d9;
997
996
  }
998
997
  .pandora-sdk-selector .ant-select-selection--single {
999
998
  height: 32px;
@@ -1008,17 +1007,6 @@
1008
1007
  .pandora-sdk-selector .ant-select-selection__clear i {
1009
1008
  color: inherit;
1010
1009
  }
1011
- .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option {
1012
- color: #2c6dd2 !important;
1013
- cursor: default !important;
1014
- }
1015
- .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option::before,
1016
- .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option::after {
1017
- content: none !important;
1018
- }
1019
- .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option a {
1020
- color: #2c6dd2;
1021
- }
1022
1010
  .pandora-sdk-selector-dropdown .ant-select-dropdown-menu {
1023
1011
  margin: 0;
1024
1012
  }
@@ -1046,15 +1034,12 @@
1046
1034
  background: transparent;
1047
1035
  }
1048
1036
  .pandora-sdk-selector-dropdown .ant-select-item-option-disabled {
1049
- color: #d9d9d9 !important;
1037
+ color: #d9d9d9;
1050
1038
  }
1051
1039
  .pandora-sdk-selector-dropdown .ant-select-item-option-selected {
1052
1040
  color: #2c6dd2;
1053
1041
  font-weight: 400;
1054
1042
  }
1055
- .pandora-sdk-selector-dropdown .ant-select-item-option-selected::after {
1056
- color: #2c6dd2 !important;
1057
- }
1058
1043
  .pandora-sdk-selector-dropdown .ant-select-item-option:hover {
1059
1044
  color: #2c6dd2;
1060
1045
  }
@@ -1069,8 +1054,19 @@
1069
1054
  overflow: unset;
1070
1055
  text-overflow: unset;
1071
1056
  }
1072
- .pandora-sdk-selector-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected .ant-select-selected-icon {
1073
- color: inherit !important;
1057
+ .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option {
1058
+ color: #2c6dd2;
1059
+ cursor: default;
1060
+ }
1061
+ .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option::before,
1062
+ .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option::after {
1063
+ content: none;
1064
+ }
1065
+ .pandora-sdk-selector-dropdown .pandora-sdk-selector-create-option a {
1066
+ color: #2c6dd2;
1067
+ }
1068
+ .pandora-sdk-selector-dropdown .ant-select-item-option-selected:not(.ant-select-item-option-disabled) .ant-select-item-option-state .anticon-check.anticon {
1069
+ color: #2c6dd2;
1074
1070
  }
1075
1071
  .pandora-sdk-selector-create-lint {
1076
1072
  display: block;
@@ -14,17 +14,16 @@
14
14
  }
15
15
  }
16
16
  }
17
- .@{ant-prefix}-select-selection__choice {
18
- color: @font-color-6!important;
19
- background: @select-selection-bg!important;
20
- border: none;
21
- }
22
- .@{ant-prefix}-select-selection__choice__remove {
23
- color: @font-disable-color !important;
24
- i {
25
- font-size: 12px;
17
+ &.@{ant-prefix}-select-multiple {
18
+ .@{ant-prefix}-select-selection-item {
19
+ color: @font-color-6;
20
+ background: @select-selection-bg;
21
+ border: none;
26
22
  }
27
23
  }
24
+ .@{ant-prefix}-select-selection-item-remove {
25
+ color: @font-disable-color;
26
+ }
28
27
  .@{ant-prefix}-select-selection--single {
29
28
  height: 32px;
30
29
  }
@@ -41,30 +40,16 @@
41
40
  }
42
41
 
43
42
  .@{sdk-prefix}-selector-dropdown {
44
- .@{sdk-prefix}-selector-create-option {
45
- color: @theme-color!important;
46
- cursor: default !important;
47
- &::before,
48
- &::after {
49
- content: none !important;
50
- }
51
- a {
52
- color: @theme-color;
53
- }
54
- }
55
43
  .@{ant-prefix}-select-dropdown-menu {
56
44
  margin: 0;
57
45
  .scrollbar();
58
46
  }
59
47
  .@{ant-prefix}-select-item-option-disabled {
60
- color: @font-disable-color!important;
48
+ color: @font-disable-color;
61
49
  }
62
50
  .@{ant-prefix}-select-item-option-selected {
63
51
  color: @theme-color;
64
52
  font-weight: 400;
65
- &::after {
66
- color: @theme-color!important;
67
- }
68
53
  }
69
54
  .@{ant-prefix}-select-item-option:hover {
70
55
  color: @theme-color;
@@ -84,10 +69,24 @@
84
69
  }
85
70
  }
86
71
 
87
- &.@{ant-prefix}-select-dropdown--multiple
88
- .@{ant-prefix}-select-dropdown-menu-item-selected
89
- .@{ant-prefix}-select-selected-icon {
90
- color: inherit !important;
72
+ .@{sdk-prefix}-selector-create-option {
73
+ color: @theme-color;
74
+ cursor: default;
75
+ &::before,
76
+ &::after {
77
+ content: none;
78
+ }
79
+ a {
80
+ color: @theme-color;
81
+ }
82
+ }
83
+ .@{ant-prefix}-select-item-option-selected:not(.@{ant-prefix}-select-item-option-disabled)
84
+ .@{ant-prefix}-select-item-option-state {
85
+ .anticon-check {
86
+ &.anticon {
87
+ color: @theme-color;
88
+ }
89
+ }
91
90
  }
92
91
  }
93
92
 
@@ -101,7 +101,6 @@
101
101
  }
102
102
  .ant-spin-blur {
103
103
  clear: both;
104
- overflow: hidden;
105
104
  opacity: 0.5;
106
105
  -webkit-user-select: none;
107
106
  -moz-user-select: none;
@@ -479,12 +479,12 @@
479
479
  left: 0;
480
480
  }
481
481
  .ant-steps-vertical.ant-steps-dot .ant-steps-item-icon {
482
- margin-top: 8px;
482
+ margin-top: 13px;
483
483
  margin-left: 0;
484
484
  background: none;
485
485
  }
486
486
  .ant-steps-vertical.ant-steps-dot .ant-steps-item > .ant-steps-item-container > .ant-steps-item-tail {
487
- top: 2px;
487
+ top: 6.5px;
488
488
  left: -9px;
489
489
  margin: 0;
490
490
  padding: 22px 0 4px;
@@ -496,7 +496,8 @@
496
496
  width: inherit;
497
497
  }
498
498
  .ant-steps-vertical.ant-steps-dot .ant-steps-item-process .ant-steps-item-container .ant-steps-item-icon .ant-steps-icon-dot {
499
- left: -2px;
499
+ top: -1px;
500
+ left: -1px;
500
501
  }
501
502
  .ant-steps-navigation {
502
503
  padding-top: 12px;
@@ -768,6 +769,7 @@
768
769
  width: 24px;
769
770
  height: 24px;
770
771
  font-size: 12px;
772
+ line-height: 24px;
771
773
  }
772
774
  .pandora-sdk-steps .ant-steps-item-icon .ant-steps-icon {
773
775
  font-size: 10px;
@@ -786,12 +788,12 @@
786
788
  .pandora-sdk-steps .ant-steps-item.ant-steps-item-finish .ant-steps-item-icon .ant-steps-icon {
787
789
  color: #ffffff;
788
790
  }
789
- .pandora-sdk-steps .ant-steps-item.ant-steps-item-finish .ant-steps-item-icon .ant-steps-icon .antion {
790
- color: #ffffff !important;
791
+ .pandora-sdk-steps .ant-steps-item.ant-steps-item-finish .ant-steps-item-icon .ant-steps-icon span.anticon.anticon-check.ant-steps-finish-icon {
792
+ color: #ffffff;
791
793
  }
792
794
  .pandora-sdk-steps .ant-steps-item.ant-steps-item-wait .ant-steps-item-icon {
793
795
  background: #eee;
794
796
  }
795
797
  .pandora-sdk-steps .ant-steps-item.ant-steps-item-wait .ant-steps-item-icon .ant-steps-icon {
796
- color: #bfbfbf !important;
798
+ color: #bfbfbf;
797
799
  }
@@ -6,6 +6,7 @@
6
6
  width: 24px;
7
7
  height: 24px;
8
8
  font-size: 12px;
9
+ line-height: 24px;
9
10
  .@{ant-prefix}-steps-icon {
10
11
  font-size: 10px;
11
12
  }
@@ -26,12 +27,13 @@
26
27
  background: @theme-color;
27
28
  border: none;
28
29
  }
29
-
30
- &.@{ant-prefix}-steps-item-finish .@{ant-prefix}-steps-item-icon {
31
- .@{ant-prefix}-steps-icon {
32
- color: @normal-color;
33
- .antion {
34
- color: @normal-color !important;
30
+ &.@{ant-prefix}-steps-item-finish {
31
+ .@{ant-prefix}-steps-item-icon {
32
+ .@{ant-prefix}-steps-icon {
33
+ color: @normal-color;
34
+ span.anticon.anticon-check.@{ant-prefix}-steps-finish-icon {
35
+ color: @normal-color;
36
+ }
35
37
  }
36
38
  }
37
39
  }
@@ -39,7 +41,7 @@
39
41
  &.@{ant-prefix}-steps-item-wait .@{ant-prefix}-steps-item-icon {
40
42
  background: @button-disabled-bg;
41
43
  .@{ant-prefix}-steps-icon {
42
- color: @icon-color !important;
44
+ color: @icon-color;
43
45
  }
44
46
  }
45
47
  }
@@ -265,7 +265,8 @@
265
265
  .ant-table-tbody > tr > td > .ant-table-expanded-row-fixed > .ant-table-wrapper:only-child .ant-table-tbody > tr:last-child > td:last-child {
266
266
  border-radius: 0;
267
267
  }
268
- .ant-table-tbody > tr.ant-table-row:hover > td {
268
+ .ant-table-tbody > tr.ant-table-row:hover > td,
269
+ .ant-table-tbody > tr > td.ant-table-cell-row-hover {
269
270
  background: #e9f0fa;
270
271
  }
271
272
  .ant-table-tbody > tr.ant-table-row-selected > td {
@@ -375,6 +376,7 @@ td.ant-table-column-sort {
375
376
  content: '';
376
377
  }
377
378
  .ant-table-column-sorter {
379
+ margin-left: 4px;
378
380
  color: #bfbfbf;
379
381
  font-size: 0;
380
382
  -webkit-transition: color 0.3s;
@@ -463,6 +465,39 @@ td.ant-table-column-sort {
463
465
  -webkit-box-shadow: none;
464
466
  box-shadow: none;
465
467
  }
468
+ .ant-table-filter-dropdown .ant-dropdown-menu:empty::after {
469
+ display: block;
470
+ padding: 8px 0;
471
+ color: rgba(0, 0, 0, 0.25);
472
+ font-size: 12px;
473
+ text-align: center;
474
+ content: 'Not Found';
475
+ }
476
+ .ant-table-filter-dropdown-tree {
477
+ padding: 8px 8px 0;
478
+ }
479
+ .ant-table-filter-dropdown-tree .ant-tree-treenode .ant-tree-node-content-wrapper:hover {
480
+ background-color: rgba(44, 109, 210, 0.05);
481
+ }
482
+ .ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper,
483
+ .ant-table-filter-dropdown-tree .ant-tree-treenode-checkbox-checked .ant-tree-node-content-wrapper:hover {
484
+ background-color: rgba(44, 109, 210, 0.05);
485
+ }
486
+ .ant-table-filter-dropdown-search {
487
+ padding: 8px;
488
+ border-bottom: 1px #e5e5e5 solid;
489
+ }
490
+ .ant-table-filter-dropdown-search-input input {
491
+ min-width: 140px;
492
+ }
493
+ .ant-table-filter-dropdown-search-input .anticon {
494
+ color: rgba(0, 0, 0, 0.25);
495
+ }
496
+ .ant-table-filter-dropdown-checkall {
497
+ width: 100%;
498
+ margin-bottom: 4px;
499
+ margin-left: 4px;
500
+ }
466
501
  .ant-table-filter-dropdown-submenu > ul {
467
502
  max-height: calc(100vh - 130px);
468
503
  overflow-x: hidden;
@@ -479,7 +514,7 @@ td.ant-table-column-sort {
479
514
  -webkit-box-pack: justify;
480
515
  -ms-flex-pack: justify;
481
516
  justify-content: space-between;
482
- padding: 7px 8px 7px 3px;
517
+ padding: 7px 8px;
483
518
  overflow: hidden;
484
519
  background-color: inherit;
485
520
  border-top: 1px solid #ebecf0;
@@ -500,6 +535,9 @@ table tr th.ant-table-selection-column .ant-radio-wrapper,
500
535
  table tr td.ant-table-selection-column .ant-radio-wrapper {
501
536
  margin-right: 0;
502
537
  }
538
+ table tr th.ant-table-selection-column.ant-table-cell-fix-left {
539
+ z-index: 3;
540
+ }
503
541
  table tr th.ant-table-selection-column::after {
504
542
  background-color: transparent !important;
505
543
  }
@@ -747,13 +785,13 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
747
785
  }
748
786
  .ant-table-sticky-holder {
749
787
  position: sticky;
750
- z-index: 3;
788
+ z-index: calc(2 + 1);
751
789
  background: #ffffff;
752
790
  }
753
791
  .ant-table-sticky-scroll {
754
792
  position: sticky;
755
793
  bottom: 0;
756
- z-index: 3;
794
+ z-index: calc(2 + 1);
757
795
  display: -webkit-box;
758
796
  display: -ms-flexbox;
759
797
  display: flex;
@@ -832,6 +870,10 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
832
870
  .ant-table-wrapper-rtl .ant-table-thead > tr > th[colspan]:not([colspan='1']) {
833
871
  text-align: center;
834
872
  }
873
+ .ant-table-wrapper-rtl .ant-table-thead > tr > th:not(:last-child):not(.ant-table-selection-column):not(.ant-table-row-expand-icon-cell):not([colspan])::before {
874
+ right: auto;
875
+ left: 0;
876
+ }
835
877
  .ant-table-wrapper-rtl .ant-table-thead > tr > th {
836
878
  text-align: right;
837
879
  }
@@ -849,7 +891,7 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
849
891
  justify-content: flex-start;
850
892
  }
851
893
  .ant-table-wrapper-rtl .ant-table-column-sorter {
852
- margin-right: 8px;
894
+ margin-right: 4px;
853
895
  margin-left: 0;
854
896
  }
855
897
  .ant-table-wrapper-rtl .ant-table-filter-column-title {
@@ -858,9 +900,8 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
858
900
  .ant-table-rtl .ant-table-thead tr th.ant-table-column-has-sorters .ant-table-filter-column-title {
859
901
  padding: 0 0 0 2.3em;
860
902
  }
861
- .ant-table-wrapper-rtl .ant-table-filter-trigger-container {
862
- right: auto;
863
- left: 0;
903
+ .ant-table-wrapper-rtl .ant-table-filter-trigger {
904
+ margin: -4px 4px -4px -6px;
864
905
  }
865
906
  .ant-dropdown-rtl .ant-table-filter-dropdown .ant-checkbox-wrapper + span,
866
907
  .ant-dropdown-rtl .ant-table-filter-dropdown-submenu .ant-checkbox-wrapper + span,
@@ -1154,6 +1195,7 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
1154
1195
  border-radius: 2px;
1155
1196
  -webkit-transition: all 0.3s;
1156
1197
  transition: all 0.3s;
1198
+ /* stylelint-disable-next-line selector-no-vendor-prefix */
1157
1199
  width: 50px;
1158
1200
  height: 32px;
1159
1201
  margin: 0 8px;
@@ -1163,12 +1205,20 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
1163
1205
  }
1164
1206
  .ant-pagination-options-quick-jumper input::-webkit-input-placeholder {
1165
1207
  color: #bfbfbf;
1208
+ -webkit-user-select: none;
1209
+ user-select: none;
1166
1210
  }
1167
1211
  .ant-pagination-options-quick-jumper input::-ms-input-placeholder {
1168
1212
  color: #bfbfbf;
1213
+ -ms-user-select: none;
1214
+ user-select: none;
1169
1215
  }
1170
1216
  .ant-pagination-options-quick-jumper input::placeholder {
1171
1217
  color: #bfbfbf;
1218
+ -webkit-user-select: none;
1219
+ -moz-user-select: none;
1220
+ -ms-user-select: none;
1221
+ user-select: none;
1172
1222
  }
1173
1223
  .ant-pagination-options-quick-jumper input:placeholder-shown {
1174
1224
  text-overflow: ellipsis;
@@ -1179,15 +1229,18 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
1179
1229
  }
1180
1230
  .ant-pagination-options-quick-jumper input:focus,
1181
1231
  .ant-pagination-options-quick-jumper input-focused {
1182
- border-color: #528cde;
1232
+ border-color: #9ca0a6;
1233
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
1234
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
1183
1235
  border-right-width: 1px !important;
1184
1236
  outline: 0;
1185
- -webkit-box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
1186
- box-shadow: 0 0 0 2px rgba(44, 109, 210, 0.2);
1187
1237
  }
1188
1238
  .ant-pagination-options-quick-jumper input-disabled {
1189
1239
  color: rgba(0, 0, 0, 0.25);
1190
1240
  background-color: #f5f5f5;
1241
+ border-color: #bfbfbf;
1242
+ -webkit-box-shadow: none;
1243
+ box-shadow: none;
1191
1244
  cursor: not-allowed;
1192
1245
  opacity: 1;
1193
1246
  }
@@ -1198,6 +1251,9 @@ tr.ant-table-expanded-row .ant-descriptions-view table {
1198
1251
  .ant-pagination-options-quick-jumper input[disabled] {
1199
1252
  color: rgba(0, 0, 0, 0.25);
1200
1253
  background-color: #f5f5f5;
1254
+ border-color: #bfbfbf;
1255
+ -webkit-box-shadow: none;
1256
+ box-shadow: none;
1201
1257
  cursor: not-allowed;
1202
1258
  opacity: 1;
1203
1259
  }
@@ -1271,6 +1327,11 @@ textarea.ant-pagination-options-quick-jumper input {
1271
1327
  .ant-pagination-simple .ant-pagination-simple-pager input:hover {
1272
1328
  border-color: #7a869a;
1273
1329
  }
1330
+ .ant-pagination-simple .ant-pagination-simple-pager input:focus {
1331
+ border-color: #9ca0a6;
1332
+ -webkit-box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
1333
+ box-shadow: 0 0 0 2px rgba(122, 134, 154, 0.2);
1334
+ }
1274
1335
  .ant-pagination-simple .ant-pagination-simple-pager input[disabled] {
1275
1336
  color: rgba(0, 0, 0, 0.25);
1276
1337
  background: #f5f5f5;
@@ -1435,9 +1496,6 @@ textarea.ant-pagination-options-quick-jumper input {
1435
1496
  .pandora-sdk-table-wrapper .ant-table colgroup .ant-table-selection-col {
1436
1497
  width: 36px;
1437
1498
  }
1438
- .pandora-sdk-table-wrapper .ant-table-column-sorter .ant-table-column-sorter-inner .on {
1439
- color: #2c6dd2 !important;
1440
- }
1441
1499
  .pandora-sdk-table-wrapper .ant-table-tbody > tr .ant-table-selection-column {
1442
1500
  text-align: left;
1443
1501
  }
@@ -1475,7 +1533,7 @@ textarea.ant-pagination-options-quick-jumper input {
1475
1533
  }
1476
1534
  .pandora-sdk-table-wrapper .ant-table-thead > tr > th {
1477
1535
  background: #fafafa;
1478
- border-bottom: none !important;
1536
+ border-bottom: none;
1479
1537
  color: #333;
1480
1538
  font-weight: 500;
1481
1539
  }
@@ -1541,11 +1599,11 @@ textarea.ant-pagination-options-quick-jumper input {
1541
1599
  }
1542
1600
  .pandora-sdk-table-wrapper .ant-pagination-item:hover,
1543
1601
  .pandora-sdk-table-wrapper .ant-pagination-item-active {
1544
- border-color: #2c6dd2 !important;
1602
+ border-color: #2c6dd2;
1545
1603
  }
1546
1604
  .pandora-sdk-table-wrapper .ant-pagination-item:hover a,
1547
1605
  .pandora-sdk-table-wrapper .ant-pagination-item-active a {
1548
- color: #2c6dd2 !important;
1606
+ color: #2c6dd2;
1549
1607
  }
1550
1608
  .pandora-sdk-table-wrapper .ant-pagination-item-link,
1551
1609
  .pandora-sdk-table-wrapper .ant-pagination-item-link {
@@ -1557,19 +1615,19 @@ textarea.ant-pagination-options-quick-jumper input {
1557
1615
  }
1558
1616
  .pandora-sdk-table-wrapper .ant-pagination-item-link:hover,
1559
1617
  .pandora-sdk-table-wrapper .ant-pagination-item-link:hover {
1560
- border-color: #2c6dd2 !important;
1618
+ border-color: #2c6dd2;
1561
1619
  }
1562
1620
  .pandora-sdk-table-wrapper .ant-pagination-item-link:hover i,
1563
1621
  .pandora-sdk-table-wrapper .ant-pagination-item-link:hover i {
1564
- color: #2c6dd2 !important;
1622
+ color: #2c6dd2;
1565
1623
  }
1566
1624
  .pandora-sdk-table-wrapper .ant-pagination-disabled .ant-pagination-item-link:hover,
1567
1625
  .pandora-sdk-table-wrapper .ant-pagination-disabled .ant-pagination-item-link:hover {
1568
- border-color: #d9d9d9 !important;
1626
+ border-color: #d9d9d9;
1569
1627
  }
1570
1628
  .pandora-sdk-table-wrapper .ant-pagination-disabled .ant-pagination-item-link:hover i,
1571
1629
  .pandora-sdk-table-wrapper .ant-pagination-disabled .ant-pagination-item-link:hover i {
1572
- color: #666 !important;
1630
+ color: #666;
1573
1631
  }
1574
1632
  .pandora-sdk-table-wrapper .ant-pagination-options-size-changer {
1575
1633
  color: #333;
@@ -1647,10 +1705,10 @@ textarea.ant-pagination-options-quick-jumper input {
1647
1705
  pointer-events: none;
1648
1706
  color: #bfbfbf;
1649
1707
  }
1650
- .pandora-sdk-table-scrollX .ant-table-scroll > .ant-table-body {
1708
+ .pandora-sdk-table-scrollX .ant-table-body {
1651
1709
  overflow-x: auto !important;
1652
1710
  }
1653
- .pandora-sdk-table-scrollY .ant-table-scroll > .ant-table-body {
1711
+ .pandora-sdk-table-scrollY .ant-table-body {
1654
1712
  overflow-y: auto !important;
1655
1713
  }
1656
1714
  .ant-table-row-collapsed::after {
@@ -21,14 +21,6 @@
21
21
  }
22
22
  }
23
23
 
24
- .@{ant-prefix}-table-column-sorter {
25
- .@{ant-prefix}-table-column-sorter-inner {
26
- .on {
27
- color: @theme-color !important;
28
- }
29
- }
30
- }
31
-
32
24
  .@{ant-prefix}-table-tbody > tr {
33
25
  .@{ant-prefix}-table-selection-column {
34
26
  text-align: left;
@@ -84,7 +76,7 @@
84
76
 
85
77
  .@{ant-prefix}-table-thead > tr > th {
86
78
  background: @table-thead-bg;
87
- border-bottom: none !important;
79
+ border-bottom: none;
88
80
  color: @table-thead-color;
89
81
  font-weight: 500;
90
82
  .@{ant-prefix}-table-selection {
@@ -181,9 +173,9 @@
181
173
 
182
174
  .@{ant-prefix}-pagination-item:hover,
183
175
  .@{ant-prefix}-pagination-item-active {
184
- border-color: @table-link-color !important;
176
+ border-color: @table-link-color;
185
177
  a {
186
- color: @table-link-color !important;
178
+ color: @table-link-color;
187
179
  }
188
180
  }
189
181
 
@@ -197,18 +189,18 @@
197
189
 
198
190
  .@{ant-prefix}-pagination-item-link:hover,
199
191
  .@{ant-prefix}-pagination-item-link:hover {
200
- border-color: @table-link-color !important;
192
+ border-color: @table-link-color;
201
193
  i {
202
- color: @table-link-color !important;
194
+ color: @table-link-color;
203
195
  }
204
196
  }
205
197
 
206
198
  .@{ant-prefix}-pagination-disabled {
207
199
  .@{ant-prefix}-pagination-item-link:hover,
208
200
  .@{ant-prefix}-pagination-item-link:hover {
209
- border-color: @pagination-item-border-color !important;
201
+ border-color: @pagination-item-border-color;
210
202
  i {
211
- color: @pagination-item-text-color !important;
203
+ color: @pagination-item-text-color;
212
204
  }
213
205
  }
214
206
  }
@@ -286,14 +278,15 @@
286
278
  }
287
279
  }
288
280
 
281
+ // 表格滚动条样式,覆盖style中的样式important不能去掉
289
282
  .@{sdk-prefix}-table-scrollX {
290
- .@{ant-prefix}-table-scroll > .@{ant-prefix}-table-body {
283
+ .@{ant-prefix}-table-body {
291
284
  overflow-x: auto !important;
292
285
  }
293
286
  }
294
287
 
295
288
  .@{sdk-prefix}-table-scrollY {
296
- .@{ant-prefix}-table-scroll > .@{ant-prefix}-table-body {
289
+ .@{ant-prefix}-table-body {
297
290
  overflow-y: auto !important;
298
291
  }
299
292
  }
@@ -355,6 +355,12 @@
355
355
  box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
356
356
  }
357
357
  .ant-tabs-dropdown-menu-item {
358
+ display: -webkit-box;
359
+ display: -ms-flexbox;
360
+ display: flex;
361
+ -webkit-box-align: center;
362
+ -ms-flex-align: center;
363
+ align-items: center;
358
364
  min-width: 120px;
359
365
  margin: 0;
360
366
  padding: 5px 12px;
@@ -369,6 +375,26 @@
369
375
  -webkit-transition: all 0.3s;
370
376
  transition: all 0.3s;
371
377
  }
378
+ .ant-tabs-dropdown-menu-item > span {
379
+ -webkit-box-flex: 1;
380
+ -ms-flex: 1;
381
+ flex: 1;
382
+ white-space: nowrap;
383
+ }
384
+ .ant-tabs-dropdown-menu-item-remove {
385
+ -webkit-box-flex: 0;
386
+ -ms-flex: none;
387
+ flex: none;
388
+ margin-left: 12px;
389
+ color: rgba(0, 0, 0, 0.45);
390
+ font-size: 12px;
391
+ background: transparent;
392
+ border: 0;
393
+ cursor: pointer;
394
+ }
395
+ .ant-tabs-dropdown-menu-item-remove:hover {
396
+ color: #2c6dd2;
397
+ }
372
398
  .ant-tabs-dropdown-menu-item:hover {
373
399
  background: rgba(44, 109, 210, 0.05);
374
400
  }
@@ -948,9 +974,11 @@
948
974
  opacity: 1;
949
975
  pointer-events: auto;
950
976
  }
977
+ .pandora-sdk-tabs span.anticon.anticon-reload.pandora-sdk-tabs-refresh-icon {
978
+ margin-right: 0;
979
+ }
951
980
  .pandora-sdk-tabs .pandora-sdk-tabs-refresh-icon {
952
981
  margin-left: 8px;
953
- margin-right: 0 !important;
954
982
  font-size: 12px;
955
983
  color: #d9d9d9;
956
984
  -webkit-transition: color 0.5s, opacity 0.2s;
@@ -13,9 +13,11 @@
13
13
  pointer-events: auto;
14
14
  }
15
15
  }
16
+ span.anticon.anticon-reload.@{sdk-prefix}-tabs-refresh-icon {
17
+ margin-right: 0;
18
+ }
16
19
  .@{sdk-prefix}-tabs-refresh-icon {
17
20
  margin-left: 8px;
18
- margin-right: 0 !important;
19
21
  font-size: 12px;
20
22
  color: @font-disable-color;
21
23
  transition: color 0.5s, opacity 0.2s;