assui 2.0.145 → 2.1.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.
- package/es/button-drawer/index.d.ts +1 -1
- package/es/button-modal/index.d.ts +1 -1
- package/es/copy-to-clipboard/style/index.css +58 -43
- package/es/highlight-textarea/extractSpansOfClasses.js +9 -7
- package/es/highlight-textarea/getRanges.js +9 -7
- package/es/highlight-textarea/index.js +3 -3
- package/es/highlight-textarea/style/index.css +169 -41
- package/es/highlight-textarea/types.js +1 -0
- package/es/img-crop/index.js +7 -7
- package/es/img-crop/style/index.css +1784 -0
- package/es/img-crop/style/index.less +1 -1
- package/es/keep-tab/style/index.css +40 -23
- package/es/label-auto-complete/style/index.css +1784 -0
- package/es/label-auto-complete/style/index.less +1 -1
- package/es/label-customize-range-picker/defaultRadioList.d.ts +24 -0
- package/es/label-customize-range-picker/defaultRadioList.js +79 -0
- package/es/label-customize-range-picker/index.d.ts +6 -7
- package/es/label-customize-range-picker/index.js +9 -12
- package/es/label-customize-range-picker/style/index.css +1784 -0
- package/es/label-customize-range-picker/style/index.less +1 -1
- package/es/label-date-picker/index.js +1 -1
- package/es/label-date-picker/style/index.css +1784 -0
- package/es/label-date-picker/style/index.less +1 -1
- package/es/label-number-input/index.js +1 -1
- package/es/label-range-picker/style/index.css +1784 -0
- package/es/label-range-picker/style/index.less +1 -1
- package/es/label-select/style/index.css +1784 -0
- package/es/label-select/style/index.less +1 -1
- package/es/label-tree-select/style/index.css +1784 -0
- package/es/label-tree-select/style/index.less +1 -1
- package/es/number-input/index.js +4 -4
- package/es/number-input/utils.js +1 -1
- package/es/rich-text-editor/style/index.css +6 -5
- package/es/single-img-upload/index.js +1 -1
- package/es/single-img-upload/style/index.css +1784 -0
- package/es/single-img-upload/style/index.less +1 -1
- package/es/step-number-input/index.js +8 -8
- package/es/step-number-input/style/index.css +1784 -0
- package/es/step-number-input/style/index.less +1 -1
- package/es/text-input/index.js +8 -6
- package/es/text-input/style/index.css +169 -41
- package/lib/beautiful-dnd/index.js +13 -7
- package/lib/button-drawer/index.d.ts +1 -1
- package/lib/button-drawer/index.js +18 -12
- package/lib/button-modal/index.d.ts +1 -1
- package/lib/button-modal/index.js +14 -8
- package/lib/condition-input/index.js +17 -11
- package/lib/condition-input/parse2RegexOption.js +3 -3
- package/lib/copy-to-clipboard/index.js +15 -9
- package/lib/copy-to-clipboard/style/index.css +58 -43
- package/lib/highlight-textarea/HighlighedContents.js +2 -2
- package/lib/highlight-textarea/extractSpansOfClasses.js +9 -7
- package/lib/highlight-textarea/getRanges.js +10 -8
- package/lib/highlight-textarea/index.js +19 -13
- package/lib/highlight-textarea/style/index.css +169 -41
- package/lib/img-crop/EasyCrop.js +13 -7
- package/lib/img-crop/index.js +21 -15
- package/lib/img-crop/style/index.css +1784 -0
- package/lib/img-crop/style/index.less +1 -1
- package/lib/index.js +38 -31
- package/lib/keep-tab/index.js +17 -11
- package/lib/keep-tab/style/index.css +40 -23
- package/lib/label-auto-complete/index.js +5 -5
- package/lib/label-auto-complete/style/index.css +1784 -0
- package/lib/label-auto-complete/style/index.less +1 -1
- package/lib/label-condition-input/index.js +5 -5
- package/lib/label-customize-range-picker/defaultRadioList.d.ts +24 -0
- package/lib/label-customize-range-picker/defaultRadioList.js +93 -0
- package/lib/label-customize-range-picker/index.d.ts +6 -7
- package/lib/label-customize-range-picker/index.js +26 -24
- package/lib/label-customize-range-picker/style/index.css +1784 -0
- package/lib/label-customize-range-picker/style/index.less +1 -1
- package/lib/label-date-picker/index.js +5 -5
- package/lib/label-date-picker/style/index.css +1784 -0
- package/lib/label-date-picker/style/index.less +1 -1
- package/lib/label-input/index.js +5 -5
- package/lib/label-number-input/index.js +6 -6
- package/lib/label-range-picker/index.js +3 -3
- package/lib/label-range-picker/style/index.css +1784 -0
- package/lib/label-range-picker/style/index.less +1 -1
- package/lib/label-select/index.js +5 -5
- package/lib/label-select/style/index.css +1784 -0
- package/lib/label-select/style/index.less +1 -1
- package/lib/label-text-area/index.js +4 -4
- package/lib/label-tree-select/index.js +4 -4
- package/lib/label-tree-select/style/index.css +1784 -0
- package/lib/label-tree-select/style/index.less +1 -1
- package/lib/number-input/index.js +21 -15
- package/lib/number-input/utils.js +8 -4
- package/lib/rc-echart/core.js +21 -15
- package/lib/rc-echart/index.js +13 -7
- package/lib/rc-qrcode/index.js +14 -8
- package/lib/rc-qrcode/useQrcode.js +4 -3
- package/lib/rc-transition-group/index.js +13 -7
- package/lib/rich-text-editor/index.js +1 -1
- package/lib/rich-text-editor/style/index.css +6 -5
- package/lib/single-img-upload/index.js +18 -12
- package/lib/single-img-upload/style/index.css +1784 -0
- package/lib/single-img-upload/style/index.less +1 -1
- package/lib/sortable-hoc/index.js +13 -7
- package/lib/split-pane/index.js +13 -7
- package/lib/step-number-input/index.js +32 -26
- package/lib/step-number-input/style/index.css +1784 -0
- package/lib/step-number-input/style/index.less +1 -1
- package/lib/text-area/index.js +14 -8
- package/lib/text-input/index.js +8 -6
- package/lib/text-input/style/index.css +169 -41
- package/package.json +4 -3
- package/es/label-customize-range-picker/getDateScope.d.ts +0 -45
- package/es/label-customize-range-picker/getDateScope.js +0 -85
- package/es/label-customize-range-picker/getRadioList.d.ts +0 -10
- package/es/label-customize-range-picker/getRadioList.js +0 -49
- package/lib/label-customize-range-picker/getDateScope.d.ts +0 -45
- package/lib/label-customize-range-picker/getDateScope.js +0 -99
- package/lib/label-customize-range-picker/getRadioList.d.ts +0 -10
- package/lib/label-customize-range-picker/getRadioList.js +0 -55
|
@@ -316,6 +316,8 @@
|
|
|
316
316
|
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);
|
|
317
317
|
}
|
|
318
318
|
.ant-tabs-dropdown-menu-item {
|
|
319
|
+
display: flex;
|
|
320
|
+
align-items: center;
|
|
319
321
|
min-width: 120px;
|
|
320
322
|
margin: 0;
|
|
321
323
|
padding: 5px 12px;
|
|
@@ -329,6 +331,22 @@
|
|
|
329
331
|
cursor: pointer;
|
|
330
332
|
transition: all 0.3s;
|
|
331
333
|
}
|
|
334
|
+
.ant-tabs-dropdown-menu-item > span {
|
|
335
|
+
flex: 1;
|
|
336
|
+
white-space: nowrap;
|
|
337
|
+
}
|
|
338
|
+
.ant-tabs-dropdown-menu-item-remove {
|
|
339
|
+
flex: none;
|
|
340
|
+
margin-left: 12px;
|
|
341
|
+
color: rgba(0, 0, 0, 0.45);
|
|
342
|
+
font-size: 12px;
|
|
343
|
+
background: transparent;
|
|
344
|
+
border: 0;
|
|
345
|
+
cursor: pointer;
|
|
346
|
+
}
|
|
347
|
+
.ant-tabs-dropdown-menu-item-remove:hover {
|
|
348
|
+
color: #40a9ff;
|
|
349
|
+
}
|
|
332
350
|
.ant-tabs-dropdown-menu-item:hover {
|
|
333
351
|
background: #f5f5f5;
|
|
334
352
|
}
|
|
@@ -410,7 +428,6 @@
|
|
|
410
428
|
list-style: none;
|
|
411
429
|
font-feature-settings: 'tnum';
|
|
412
430
|
display: flex;
|
|
413
|
-
overflow: hidden;
|
|
414
431
|
}
|
|
415
432
|
.ant-tabs > .ant-tabs-nav,
|
|
416
433
|
.ant-tabs > div > .ant-tabs-nav {
|
|
@@ -550,7 +567,7 @@
|
|
|
550
567
|
}
|
|
551
568
|
.ant-tabs-tab.ant-tabs-tab-active .ant-tabs-tab-btn {
|
|
552
569
|
color: #1890ff;
|
|
553
|
-
text-shadow: 0 0 0.25px
|
|
570
|
+
text-shadow: 0 0 0.25px currentcolor;
|
|
554
571
|
}
|
|
555
572
|
.ant-tabs-tab.ant-tabs-tab-disabled {
|
|
556
573
|
color: rgba(0, 0, 0, 0.25);
|
|
@@ -769,7 +786,8 @@
|
|
|
769
786
|
.ant-badge-not-a-wrapper:not(.ant-badge-status) {
|
|
770
787
|
vertical-align: middle;
|
|
771
788
|
}
|
|
772
|
-
.ant-badge-not-a-wrapper .ant-scroll-number-custom-component
|
|
789
|
+
.ant-badge-not-a-wrapper .ant-scroll-number-custom-component,
|
|
790
|
+
.ant-badge-not-a-wrapper .ant-badge-count {
|
|
773
791
|
transform: none;
|
|
774
792
|
}
|
|
775
793
|
.ant-badge-not-a-wrapper .ant-scroll-number-custom-component,
|
|
@@ -779,9 +797,6 @@
|
|
|
779
797
|
display: block;
|
|
780
798
|
transform-origin: 50% 50%;
|
|
781
799
|
}
|
|
782
|
-
.ant-badge-not-a-wrapper .ant-badge-count {
|
|
783
|
-
transform: none;
|
|
784
|
-
}
|
|
785
800
|
@-webkit-keyframes antStatusProcessing {
|
|
786
801
|
0% {
|
|
787
802
|
transform: scale(0.8);
|
|
@@ -804,20 +819,25 @@
|
|
|
804
819
|
}
|
|
805
820
|
.ant-scroll-number {
|
|
806
821
|
overflow: hidden;
|
|
822
|
+
direction: ltr;
|
|
807
823
|
}
|
|
808
824
|
.ant-scroll-number-only {
|
|
809
825
|
position: relative;
|
|
810
826
|
display: inline-block;
|
|
811
827
|
height: 20px;
|
|
812
828
|
transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
829
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
813
830
|
-webkit-transform-style: preserve-3d;
|
|
814
831
|
-webkit-backface-visibility: hidden;
|
|
832
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
815
833
|
}
|
|
816
834
|
.ant-scroll-number-only > p.ant-scroll-number-only-unit {
|
|
817
835
|
height: 20px;
|
|
818
836
|
margin: 0;
|
|
837
|
+
/* stylelint-disable property-no-vendor-prefix */
|
|
819
838
|
-webkit-transform-style: preserve-3d;
|
|
820
839
|
-webkit-backface-visibility: hidden;
|
|
840
|
+
/* stylelint-enable property-no-vendor-prefix */
|
|
821
841
|
}
|
|
822
842
|
.ant-scroll-number-symbol {
|
|
823
843
|
vertical-align: top;
|
|
@@ -943,7 +963,7 @@
|
|
|
943
963
|
top: 100%;
|
|
944
964
|
width: 8px;
|
|
945
965
|
height: 8px;
|
|
946
|
-
color:
|
|
966
|
+
color: currentcolor;
|
|
947
967
|
border: 4px solid;
|
|
948
968
|
transform: scaleY(0.75);
|
|
949
969
|
transform-origin: top;
|
|
@@ -1016,7 +1036,7 @@
|
|
|
1016
1036
|
}
|
|
1017
1037
|
.ant-ribbon.ant-ribbon-placement-end .ant-ribbon-corner {
|
|
1018
1038
|
right: 0;
|
|
1019
|
-
border-color:
|
|
1039
|
+
border-color: currentcolor transparent transparent currentcolor;
|
|
1020
1040
|
}
|
|
1021
1041
|
.ant-ribbon.ant-ribbon-placement-start {
|
|
1022
1042
|
left: -8px;
|
|
@@ -1024,21 +1044,21 @@
|
|
|
1024
1044
|
}
|
|
1025
1045
|
.ant-ribbon.ant-ribbon-placement-start .ant-ribbon-corner {
|
|
1026
1046
|
left: 0;
|
|
1027
|
-
border-color:
|
|
1047
|
+
border-color: currentcolor currentcolor transparent transparent;
|
|
1028
1048
|
}
|
|
1029
1049
|
.ant-badge-rtl {
|
|
1030
1050
|
direction: rtl;
|
|
1031
1051
|
}
|
|
1032
|
-
.ant-badge-rtl .ant-badge-count,
|
|
1033
|
-
.ant-badge-rtl .ant-badge-dot,
|
|
1034
|
-
.ant-badge-rtl
|
|
1052
|
+
.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-badge-count,
|
|
1053
|
+
.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-badge-dot,
|
|
1054
|
+
.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-scroll-number-custom-component {
|
|
1035
1055
|
right: auto;
|
|
1036
1056
|
left: 0;
|
|
1037
1057
|
direction: ltr;
|
|
1038
1058
|
transform: translate(-50%, -50%);
|
|
1039
1059
|
transform-origin: 0% 0%;
|
|
1040
1060
|
}
|
|
1041
|
-
.ant-badge-rtl.ant-badge .ant-scroll-number-custom-component {
|
|
1061
|
+
.ant-badge-rtl.ant-badge:not(.ant-badge-not-a-wrapper) .ant-scroll-number-custom-component {
|
|
1042
1062
|
right: auto;
|
|
1043
1063
|
left: 0;
|
|
1044
1064
|
transform: translate(-50%, -50%);
|
|
@@ -1048,18 +1068,15 @@
|
|
|
1048
1068
|
margin-right: 8px;
|
|
1049
1069
|
margin-left: 0;
|
|
1050
1070
|
}
|
|
1051
|
-
.ant-badge-rtl .ant-badge-zoom-appear,
|
|
1052
|
-
.ant-badge-rtl .ant-badge-zoom-enter {
|
|
1071
|
+
.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-appear,
|
|
1072
|
+
.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-enter {
|
|
1053
1073
|
-webkit-animation-name: antZoomBadgeInRtl;
|
|
1054
1074
|
animation-name: antZoomBadgeInRtl;
|
|
1055
1075
|
}
|
|
1056
|
-
.ant-badge-rtl .ant-badge-zoom-leave {
|
|
1076
|
+
.ant-badge:not(.ant-badge-not-a-wrapper).ant-badge-rtl .ant-badge-zoom-leave {
|
|
1057
1077
|
-webkit-animation-name: antZoomBadgeOutRtl;
|
|
1058
1078
|
animation-name: antZoomBadgeOutRtl;
|
|
1059
1079
|
}
|
|
1060
|
-
.ant-badge-not-a-wrapper .ant-badge-count {
|
|
1061
|
-
transform: none;
|
|
1062
|
-
}
|
|
1063
1080
|
.ant-ribbon-rtl {
|
|
1064
1081
|
direction: rtl;
|
|
1065
1082
|
}
|
|
@@ -1072,10 +1089,10 @@
|
|
|
1072
1089
|
.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner {
|
|
1073
1090
|
right: unset;
|
|
1074
1091
|
left: 0;
|
|
1075
|
-
border-color:
|
|
1092
|
+
border-color: currentcolor currentcolor transparent transparent;
|
|
1076
1093
|
}
|
|
1077
1094
|
.ant-ribbon-rtl.ant-ribbon-placement-end .ant-ribbon-corner::after {
|
|
1078
|
-
border-color:
|
|
1095
|
+
border-color: currentcolor currentcolor transparent transparent;
|
|
1079
1096
|
}
|
|
1080
1097
|
.ant-ribbon-rtl.ant-ribbon-placement-start {
|
|
1081
1098
|
right: -8px;
|
|
@@ -1086,10 +1103,10 @@
|
|
|
1086
1103
|
.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner {
|
|
1087
1104
|
right: 0;
|
|
1088
1105
|
left: unset;
|
|
1089
|
-
border-color:
|
|
1106
|
+
border-color: currentcolor transparent transparent currentcolor;
|
|
1090
1107
|
}
|
|
1091
1108
|
.ant-ribbon-rtl.ant-ribbon-placement-start .ant-ribbon-corner::after {
|
|
1092
|
-
border-color:
|
|
1109
|
+
border-color: currentcolor transparent transparent currentcolor;
|
|
1093
1110
|
}
|
|
1094
1111
|
@-webkit-keyframes antZoomBadgeInRtl {
|
|
1095
1112
|
0% {
|