@arco-design/mobile-react 2.19.2-ee92494.5 → 2.20.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 (112) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/README.en-US.md +4 -4
  3. package/README.md +4 -4
  4. package/cjs/avatar/group.js +1 -1
  5. package/cjs/avatar/index.js +10 -13
  6. package/cjs/avatar/style/css/index.css +96 -126
  7. package/cjs/avatar/style/index.less +54 -72
  8. package/cjs/badge/index.js +6 -8
  9. package/cjs/badge/style/css/index.css +5 -5
  10. package/cjs/badge/style/index.less +5 -5
  11. package/cjs/button/demo/style/mobile.less +0 -4
  12. package/cjs/button/hooks.d.ts +1 -2
  13. package/cjs/button/hooks.js +5 -3
  14. package/cjs/button/index.d.ts +1 -1
  15. package/cjs/button/index.js +28 -33
  16. package/cjs/button/style/css/index.css +75 -310
  17. package/cjs/button/style/index.less +32 -38
  18. package/cjs/dropdown/dropdown.d.ts +3 -0
  19. package/cjs/dropdown/dropdown.js +306 -0
  20. package/cjs/dropdown/index.d.ts +3 -4
  21. package/cjs/dropdown/index.js +3 -303
  22. package/cjs/dropdown/options.js +2 -1
  23. package/cjs/dropdown/type.d.ts +20 -9
  24. package/cjs/dropdown-menu/dropdown-menu.d.ts +4 -0
  25. package/cjs/dropdown-menu/dropdown-menu.js +273 -0
  26. package/cjs/dropdown-menu/helper.d.ts +1 -1
  27. package/cjs/dropdown-menu/index.d.ts +2 -3
  28. package/cjs/dropdown-menu/index.js +2 -245
  29. package/cjs/dropdown-menu/type.d.ts +21 -20
  30. package/cjs/image/index.js +4 -1
  31. package/cjs/image/style/css/index.css +2 -1
  32. package/cjs/image/style/index.less +2 -1
  33. package/cjs/image-picker/index.d.ts +6 -6
  34. package/cjs/image-picker/index.js +4 -3
  35. package/cjs/nav-bar/index.js +7 -2
  36. package/cjs/show-monitor/index.js +31 -3
  37. package/dist/index.js +644 -604
  38. package/dist/index.min.js +3 -3
  39. package/dist/style.css +174 -438
  40. package/dist/style.min.css +1 -1
  41. package/esm/avatar/group.js +1 -1
  42. package/esm/avatar/index.js +10 -13
  43. package/esm/avatar/style/css/index.css +96 -126
  44. package/esm/avatar/style/index.less +54 -72
  45. package/esm/badge/index.js +6 -8
  46. package/esm/badge/style/css/index.css +5 -5
  47. package/esm/badge/style/index.less +5 -5
  48. package/esm/button/demo/style/mobile.less +0 -4
  49. package/esm/button/hooks.d.ts +1 -2
  50. package/esm/button/hooks.js +5 -3
  51. package/esm/button/index.d.ts +1 -1
  52. package/esm/button/index.js +30 -35
  53. package/esm/button/style/css/index.css +75 -310
  54. package/esm/button/style/index.less +32 -38
  55. package/esm/dropdown/dropdown.d.ts +3 -0
  56. package/esm/dropdown/dropdown.js +288 -0
  57. package/esm/dropdown/index.d.ts +3 -4
  58. package/esm/dropdown/index.js +3 -293
  59. package/esm/dropdown/options.js +2 -1
  60. package/esm/dropdown/type.d.ts +20 -9
  61. package/esm/dropdown-menu/dropdown-menu.d.ts +4 -0
  62. package/esm/dropdown-menu/dropdown-menu.js +256 -0
  63. package/esm/dropdown-menu/helper.d.ts +1 -1
  64. package/esm/dropdown-menu/index.d.ts +2 -3
  65. package/esm/dropdown-menu/index.js +2 -237
  66. package/esm/dropdown-menu/type.d.ts +21 -20
  67. package/esm/image/index.js +4 -1
  68. package/esm/image/style/css/index.css +2 -1
  69. package/esm/image/style/index.less +2 -1
  70. package/esm/image-picker/index.d.ts +6 -6
  71. package/esm/image-picker/index.js +4 -3
  72. package/esm/nav-bar/index.js +6 -2
  73. package/esm/show-monitor/index.js +31 -3
  74. package/package.json +3 -3
  75. package/tokens/app/arcodesign/default/css-variables.less +2 -1
  76. package/tokens/app/arcodesign/default/index.d.ts +2 -1
  77. package/tokens/app/arcodesign/default/index.js +2 -1
  78. package/tokens/app/arcodesign/default/index.json +27 -15
  79. package/tokens/app/arcodesign/default/index.less +2 -1
  80. package/umd/avatar/group.js +1 -1
  81. package/umd/avatar/index.js +10 -13
  82. package/umd/avatar/style/css/index.css +96 -126
  83. package/umd/avatar/style/index.less +54 -72
  84. package/umd/badge/index.js +6 -8
  85. package/umd/badge/style/css/index.css +5 -5
  86. package/umd/badge/style/index.less +5 -5
  87. package/umd/button/demo/style/mobile.less +0 -4
  88. package/umd/button/hooks.d.ts +1 -2
  89. package/umd/button/hooks.js +5 -3
  90. package/umd/button/index.d.ts +1 -1
  91. package/umd/button/index.js +28 -33
  92. package/umd/button/style/css/index.css +75 -310
  93. package/umd/button/style/index.less +32 -38
  94. package/umd/dropdown/dropdown.d.ts +3 -0
  95. package/umd/dropdown/dropdown.js +309 -0
  96. package/umd/dropdown/index.d.ts +3 -4
  97. package/umd/dropdown/index.js +5 -298
  98. package/umd/dropdown/options.js +2 -1
  99. package/umd/dropdown/type.d.ts +20 -9
  100. package/umd/dropdown-menu/dropdown-menu.d.ts +4 -0
  101. package/umd/dropdown-menu/dropdown-menu.js +278 -0
  102. package/umd/dropdown-menu/helper.d.ts +1 -1
  103. package/umd/dropdown-menu/index.d.ts +2 -3
  104. package/umd/dropdown-menu/index.js +5 -241
  105. package/umd/dropdown-menu/type.d.ts +21 -20
  106. package/umd/image/index.js +4 -1
  107. package/umd/image/style/css/index.css +2 -1
  108. package/umd/image/style/index.less +2 -1
  109. package/umd/image-picker/index.d.ts +6 -6
  110. package/umd/image-picker/index.js +4 -3
  111. package/umd/nav-bar/index.js +9 -6
  112. package/umd/show-monitor/index.js +31 -3
package/dist/style.css CHANGED
@@ -731,28 +731,28 @@ samp {
731
731
  min-width: 8PX;
732
732
  padding: 0 4PX ;
733
733
  }
734
- .arco-badge .badge-text {
734
+ .arco-badge-text {
735
735
  display: block;
736
736
  font-weight: 500;
737
737
  font-size: 12PX;
738
738
  }
739
- .arco-badge.dot {
739
+ .arco-badge-dot {
740
740
  width: 8PX ;
741
741
  height: 8PX ;
742
742
  padding: 0;
743
743
  min-width: auto;
744
744
  }
745
- .arco-badge.bordered {
745
+ .arco-badge-bordered {
746
746
  border: 1PX solid #FFFFFF ;
747
747
  }
748
- .arco-badge.absolute {
748
+ .arco-badge-absolute {
749
749
  position: absolute;
750
750
  top: 0;
751
751
  left: 100%;
752
752
  margin-left: -8PX ;
753
753
  margin-top: -8PX ;
754
754
  }
755
- .arco-badge.absolute.dot {
755
+ .arco-badge-absolute.arco-badge-dot {
756
756
  margin-left: -4PX ;
757
757
  margin-top: -4PX ;
758
758
  }
@@ -815,7 +815,8 @@ samp {
815
815
  }
816
816
  .arco-image .image-container.static-label,
817
817
  .arco-image .image-container.loaded,
818
- .arco-image .image-container.error {
818
+ .arco-image .image-container.error,
819
+ .arco-image .image-container.has-loaded {
819
820
  opacity: 1;
820
821
  }
821
822
  .arco-image .image-container.animate {
@@ -898,73 +899,6 @@ samp {
898
899
  stroke: #e6e8eb;
899
900
  }
900
901
 
901
- .arco-avatar-wrapper {
902
- display: inline-block;
903
- }
904
- .arco-avatar-wrapper.with-info.ultra-small {
905
- height: 1.12rem ;
906
- }
907
- .arco-avatar-wrapper.ultra-small .arco-avatar-name {
908
- font-size: 0.26rem ;
909
- line-height: 0.36rem ;
910
- }
911
- .arco-avatar-wrapper.ultra-small .arco-avatar-desc {
912
- margin-top: 0.04rem ;
913
- font-size: 0.2rem ;
914
- line-height: 0.28rem ;
915
- }
916
- .arco-avatar-wrapper.with-info.smaller {
917
- height: 1.28rem ;
918
- }
919
- .arco-avatar-wrapper.smaller .arco-avatar-name {
920
- font-size: 0.28rem ;
921
- line-height: 0.4rem ;
922
- }
923
- .arco-avatar-wrapper.smaller .arco-avatar-desc {
924
- margin-top: 0 ;
925
- font-size: 0.24rem ;
926
- line-height: 0.32rem ;
927
- }
928
- .arco-avatar-wrapper.with-info.small {
929
- height: 1.6rem ;
930
- }
931
- .arco-avatar-wrapper.small .arco-avatar-name {
932
- font-size: 0.32rem ;
933
- line-height: 0.48rem ;
934
- }
935
- .arco-avatar-wrapper.small .arco-avatar-desc {
936
- margin-top: 0 ;
937
- font-size: 0.24rem ;
938
- line-height: 0.32rem ;
939
- }
940
- .arco-avatar-wrapper.with-info.medium {
941
- height: 1.6rem ;
942
- }
943
- .arco-avatar-wrapper.medium .arco-avatar-name {
944
- font-size: 0.36rem ;
945
- line-height: 0.52rem ;
946
- }
947
- .arco-avatar-wrapper.medium .arco-avatar-desc {
948
- margin-top: 0.04rem ;
949
- font-size: 0.28rem ;
950
- line-height: 0.4rem ;
951
- }
952
- .arco-avatar-wrapper.with-info.large {
953
- height: 1.76rem ;
954
- }
955
- .arco-avatar-wrapper.large .arco-avatar-name {
956
- font-size: 0.36rem ;
957
- line-height: 0.52rem ;
958
- }
959
- .arco-avatar-wrapper.large .arco-avatar-desc {
960
- margin-top: 0.04rem ;
961
- font-size: 0.28rem ;
962
- line-height: 0.4rem ;
963
- }
964
- .arco-avatar-wrapper.with-info {
965
- display: flex;
966
- align-items: center;
967
- }
968
902
  .arco-avatar {
969
903
  position: relative;
970
904
  font-size: 0;
@@ -974,104 +908,134 @@ samp {
974
908
  color: #fff ;
975
909
  background-color: #4080FF ;
976
910
  }
977
- .arco-avatar.arco-image-avatar {
911
+ .arco-avatar-mode-image {
978
912
  background-color: transparent;
979
913
  }
980
- .arco-avatar.default-overlap {
914
+ .arco-avatar-default-overlap {
981
915
  background-color: #c9cdd4 ;
982
916
  }
983
- .arco-avatar.circle {
917
+ .arco-avatar-shape-circle {
984
918
  border-radius: 50%;
985
919
  }
986
- .arco-avatar.circle .arco-avatar-img .image-content {
920
+ .arco-avatar-shape-circle .arco-avatar-img .image-content {
987
921
  border-radius: 50%;
988
922
  }
989
- .arco-avatar.square {
923
+ .arco-avatar-shape-square {
990
924
  border-radius: 0.08rem;
991
925
  }
992
- .arco-avatar.square .arco-avatar-img .image-content {
926
+ .arco-avatar-shape-square .arco-avatar-img .image-content {
993
927
  border-radius: 0.08rem;
994
928
  }
995
- .arco-avatar.group-ultra-small .arco-avatar-wrapper {
996
- margin-left: -0.16rem ;
997
- }
998
- .arco-avatar.group-ultra-small .arco-avatar {
999
- border-width: 0.02rem ;
1000
- }
1001
- .arco-avatar.ultra-small {
929
+ .arco-avatar-size-ultra-small {
1002
930
  width: 0.48rem ;
1003
931
  height: 0.48rem ;
1004
932
  }
1005
- .arco-avatar.ultra-small .arco-avatar-default {
933
+ .arco-avatar-default-icon-size-ultra-small {
1006
934
  font-size: 0.24rem ;
1007
935
  }
1008
- .arco-avatar.ultra-small .arco-avatar-text {
936
+ .arco-avatar-text-size-ultra-small {
1009
937
  font-size: 0.2rem ;
1010
938
  }
1011
- .arco-avatar.group-smaller .arco-avatar-wrapper {
1012
- margin-left: -0.16rem ;
939
+ .arco-avatar-wrapper-with-info-size-ultra-small {
940
+ height: 1.12rem ;
1013
941
  }
1014
- .arco-avatar.group-smaller .arco-avatar {
1015
- border-width: 0.02rem ;
942
+ .arco-avatar-name-size-ultra-small {
943
+ font-size: 0.26rem ;
944
+ line-height: 0.36rem ;
1016
945
  }
1017
- .arco-avatar.smaller {
946
+ .arco-avatar-desc-size-ultra-small {
947
+ margin-top: 0.04rem ;
948
+ font-size: 0.2rem ;
949
+ line-height: 0.28rem ;
950
+ }
951
+ .arco-avatar-size-smaller {
1018
952
  width: 0.64rem ;
1019
953
  height: 0.64rem ;
1020
954
  }
1021
- .arco-avatar.smaller .arco-avatar-default {
955
+ .arco-avatar-default-icon-size-smaller {
1022
956
  font-size: 0.32rem ;
1023
957
  }
1024
- .arco-avatar.smaller .arco-avatar-text {
958
+ .arco-avatar-text-size-smaller {
1025
959
  font-size: 0.24rem ;
1026
960
  }
1027
- .arco-avatar.group-small .arco-avatar-wrapper {
1028
- margin-left: -0.24rem ;
961
+ .arco-avatar-wrapper-with-info-size-smaller {
962
+ height: 1.28rem ;
1029
963
  }
1030
- .arco-avatar.group-small .arco-avatar {
1031
- border-width: 0.03rem ;
964
+ .arco-avatar-name-size-smaller {
965
+ font-size: 0.28rem ;
966
+ line-height: 0.4rem ;
967
+ }
968
+ .arco-avatar-desc-size-smaller {
969
+ margin-top: 0 ;
970
+ font-size: 0.24rem ;
971
+ line-height: 0.32rem ;
1032
972
  }
1033
- .arco-avatar.small {
973
+ .arco-avatar-size-small {
1034
974
  width: 0.8rem ;
1035
975
  height: 0.8rem ;
1036
976
  }
1037
- .arco-avatar.small .arco-avatar-default {
977
+ .arco-avatar-default-icon-size-small {
1038
978
  font-size: 0.4rem ;
1039
979
  }
1040
- .arco-avatar.small .arco-avatar-text {
980
+ .arco-avatar-text-size-small {
1041
981
  font-size: 0.28rem ;
1042
982
  }
1043
- .arco-avatar.group-medium .arco-avatar-wrapper {
1044
- margin-left: -0.24rem ;
983
+ .arco-avatar-wrapper-with-info-size-small {
984
+ height: 1.6rem ;
1045
985
  }
1046
- .arco-avatar.group-medium .arco-avatar {
1047
- border-width: 0.03rem ;
986
+ .arco-avatar-name-size-small {
987
+ font-size: 0.32rem ;
988
+ line-height: 0.48rem ;
989
+ }
990
+ .arco-avatar-desc-size-small {
991
+ margin-top: 0 ;
992
+ font-size: 0.24rem ;
993
+ line-height: 0.32rem ;
1048
994
  }
1049
- .arco-avatar.medium {
995
+ .arco-avatar-size-medium {
1050
996
  width: 0.96rem ;
1051
997
  height: 0.96rem ;
1052
998
  }
1053
- .arco-avatar.medium .arco-avatar-default {
999
+ .arco-avatar-default-icon-size-medium {
1054
1000
  font-size: 0.48rem ;
1055
1001
  }
1056
- .arco-avatar.medium .arco-avatar-text {
1002
+ .arco-avatar-text-size-medium {
1057
1003
  font-size: 0.32rem ;
1058
1004
  }
1059
- .arco-avatar.group-large .arco-avatar-wrapper {
1060
- margin-left: -0.24rem ;
1005
+ .arco-avatar-wrapper-with-info-size-medium {
1006
+ height: 1.6rem ;
1061
1007
  }
1062
- .arco-avatar.group-large .arco-avatar {
1063
- border-width: 0.03rem ;
1008
+ .arco-avatar-name-size-medium {
1009
+ font-size: 0.36rem ;
1010
+ line-height: 0.52rem ;
1011
+ }
1012
+ .arco-avatar-desc-size-medium {
1013
+ margin-top: 0.04rem ;
1014
+ font-size: 0.28rem ;
1015
+ line-height: 0.4rem ;
1064
1016
  }
1065
- .arco-avatar.large {
1017
+ .arco-avatar-size-large {
1066
1018
  width: 1.12rem ;
1067
1019
  height: 1.12rem ;
1068
1020
  }
1069
- .arco-avatar.large .arco-avatar-default {
1021
+ .arco-avatar-default-icon-size-large {
1070
1022
  font-size: 0.56rem ;
1071
1023
  }
1072
- .arco-avatar.large .arco-avatar-text {
1024
+ .arco-avatar-text-size-large {
1073
1025
  font-size: 0.32rem ;
1074
1026
  }
1027
+ .arco-avatar-wrapper-with-info-size-large {
1028
+ height: 1.76rem ;
1029
+ }
1030
+ .arco-avatar-name-size-large {
1031
+ font-size: 0.36rem ;
1032
+ line-height: 0.52rem ;
1033
+ }
1034
+ .arco-avatar-desc-size-large {
1035
+ margin-top: 0.04rem ;
1036
+ font-size: 0.28rem ;
1037
+ line-height: 0.4rem ;
1038
+ }
1075
1039
  .arco-avatar-img {
1076
1040
  width: 100%;
1077
1041
  height: 100%;
@@ -1083,6 +1047,13 @@ samp {
1083
1047
  flex: 0 0 auto;
1084
1048
  font-weight: bold;
1085
1049
  }
1050
+ .arco-avatar-wrapper {
1051
+ display: inline-block;
1052
+ }
1053
+ .arco-avatar-wrapper-with-info {
1054
+ display: flex;
1055
+ align-items: center;
1056
+ }
1086
1057
  .arco-avatar-info {
1087
1058
  display: flex;
1088
1059
  justify-content: center;
@@ -1095,44 +1066,44 @@ samp {
1095
1066
  .arco-avatar-desc {
1096
1067
  color: #86909c ;
1097
1068
  }
1098
- .arco-avatar-group .arco-avatar-wrapper.circle {
1069
+ .arco-avatar-group .arco-avatar-wrapper-shape-circle {
1099
1070
  position: relative;
1100
1071
  }
1101
- .arco-avatar-group .arco-avatar-wrapper.circle:first-child {
1072
+ .arco-avatar-group .arco-avatar-wrapper-shape-circle:first-child {
1102
1073
  margin-left: 0;
1103
1074
  }
1104
1075
  .arco-avatar-group .arco-avatar {
1105
1076
  border-style: solid;
1106
1077
  border-color: #ffffff ;
1107
1078
  }
1108
- .arco-avatar-group.group-ultra-small .arco-avatar-wrapper {
1079
+ .arco-avatar-group-size-ultra-small .arco-avatar-wrapper {
1109
1080
  margin-left: -0.16rem ;
1110
1081
  }
1111
- .arco-avatar-group.group-ultra-small .arco-avatar {
1082
+ .arco-avatar-group-size-ultra-small .arco-avatar {
1112
1083
  border-width: 0.02rem ;
1113
1084
  }
1114
- .arco-avatar-group.group-smaller .arco-avatar-wrapper {
1085
+ .arco-avatar-group-size-smaller .arco-avatar-wrapper {
1115
1086
  margin-left: -0.16rem ;
1116
1087
  }
1117
- .arco-avatar-group.group-smaller .arco-avatar {
1088
+ .arco-avatar-group-size-smaller .arco-avatar {
1118
1089
  border-width: 0.02rem ;
1119
1090
  }
1120
- .arco-avatar-group.group-small .arco-avatar-wrapper {
1091
+ .arco-avatar-group-size-small .arco-avatar-wrapper {
1121
1092
  margin-left: -0.24rem ;
1122
1093
  }
1123
- .arco-avatar-group.group-small .arco-avatar {
1094
+ .arco-avatar-group-size-small .arco-avatar {
1124
1095
  border-width: 0.03rem ;
1125
1096
  }
1126
- .arco-avatar-group.group-medium .arco-avatar-wrapper {
1097
+ .arco-avatar-group-size-medium .arco-avatar-wrapper {
1127
1098
  margin-left: -0.24rem ;
1128
1099
  }
1129
- .arco-avatar-group.group-medium .arco-avatar {
1100
+ .arco-avatar-group-size-medium .arco-avatar {
1130
1101
  border-width: 0.03rem ;
1131
1102
  }
1132
- .arco-avatar-group.group-large .arco-avatar-wrapper {
1103
+ .arco-avatar-group-size-large .arco-avatar-wrapper {
1133
1104
  margin-left: -0.24rem ;
1134
1105
  }
1135
- .arco-avatar-group.group-large .arco-avatar {
1106
+ .arco-avatar-group-size-large .arco-avatar {
1136
1107
  border-width: 0.03rem ;
1137
1108
  }
1138
1109
 
@@ -1144,8 +1115,8 @@ samp {
1144
1115
  display: block;
1145
1116
  width: 100%;
1146
1117
  box-sizing: border-box;
1118
+ line-height: 1.2 ;
1147
1119
  border-radius: 2PX ;
1148
- border: 1PX solid #165dff ;
1149
1120
  -webkit-touch-callout: none;
1150
1121
  /* iOS Safari */
1151
1122
  -webkit-user-select: none;
@@ -1157,433 +1128,198 @@ samp {
1157
1128
  user-select: none;
1158
1129
  /* Non-prefixed version, currently*/
1159
1130
  }
1160
- .arco-button.half-border:not(.has-custom-border) {
1161
- border-width: 0;
1162
- box-shadow: 0 0 0 1PX #165dff inset;
1163
- }
1164
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1165
- .arco-button.half-border:not(.has-custom-border) {
1166
- box-shadow: 0 0 0 0.5PX #165dff inset;
1167
- }
1168
- }
1169
- .ios .arco-button.half-border:not(.has-custom-border),
1170
- .arco-button.half-border:not(.has-custom-border).ios {
1171
- box-shadow: none;
1172
- border: 0.5PX solid #165dff;
1173
- }
1174
- .arco-button.inline {
1131
+ .arco-button-inline {
1175
1132
  width: auto;
1176
1133
  display: inline-block;
1177
1134
  }
1178
- .arco-button.type-ghost {
1179
- border: 1PX solid transparent ;
1135
+ .arco-button-type-ghost {
1180
1136
  background: transparent ;
1181
1137
  color: #165dff ;
1182
1138
  }
1183
- .arco-button.type-ghost.half-border:not(.has-custom-border) {
1184
- border-width: 0;
1185
- box-shadow: 0 0 0 1PX transparent inset;
1186
- }
1187
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1188
- .arco-button.type-ghost.half-border:not(.has-custom-border) {
1189
- box-shadow: 0 0 0 0.5PX transparent inset;
1190
- }
1191
- }
1192
- .ios .arco-button.type-ghost.half-border:not(.has-custom-border),
1193
- .arco-button.type-ghost.half-border:not(.has-custom-border).ios {
1194
- box-shadow: none;
1195
- border: 0.5PX solid transparent;
1196
- }
1197
- .arco-button.type-ghost .bg-color-with-config {
1139
+ .arco-button-type-ghost .bg-color-with-config {
1198
1140
  background: #165dff;
1199
1141
  }
1200
- .arco-button.type-ghost .stop-color-with-config {
1142
+ .arco-button-type-ghost .stop-color-with-config {
1201
1143
  stop-color: #165dff;
1202
1144
  }
1203
- .arco-button.type-ghost .fill-color-with-config {
1145
+ .arco-button-type-ghost .fill-color-with-config {
1204
1146
  fill: #165dff;
1205
1147
  }
1206
- .arco-button.type-ghost .stroke-color-with-config {
1148
+ .arco-button-type-ghost .stroke-color-with-config {
1207
1149
  stroke: #165dff;
1208
1150
  }
1209
- .arco-button.type-ghost.disabled {
1151
+ .arco-button-type-ghost-disabled {
1210
1152
  background: transparent ;
1211
1153
  color: #94bfff ;
1212
1154
  }
1213
- .arco-button.type-ghost.disabled.ios,
1214
- .arco-button.type-ghost.disabled.android {
1215
- border-width: 0;
1216
- box-shadow: none;
1217
- }
1218
- .arco-button.type-ghost.active {
1155
+ .arco-button-type-ghost-active {
1219
1156
  background: #e8f3ff ;
1220
- border: 1PX solid #e8f3ff ;
1221
- }
1222
- .arco-button.type-ghost.active.half-border:not(.has-custom-border) {
1223
- border-width: 0;
1224
- box-shadow: 0 0 0 1PX #e8f3ff inset;
1225
1157
  }
1226
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1227
- .arco-button.type-ghost.active.half-border:not(.has-custom-border) {
1228
- box-shadow: 0 0 0 0.5PX #e8f3ff inset;
1229
- }
1230
- }
1231
- .ios .arco-button.type-ghost.active.half-border:not(.has-custom-border),
1232
- .arco-button.type-ghost.active.half-border:not(.has-custom-border).ios {
1233
- box-shadow: none;
1234
- border: 0.5PX solid #e8f3ff;
1235
- }
1236
- .arco-button.type-ghost,
1237
- .arco-button.type-ghost.active {
1238
- border: 1PX solid #165dff ;
1239
- }
1240
- .arco-button.type-ghost.half-border:not(.has-custom-border),
1241
- .arco-button.type-ghost.active.half-border:not(.has-custom-border) {
1242
- border-width: 0;
1243
- box-shadow: 0 0 0 1PX #165dff inset;
1244
- }
1245
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1246
- .arco-button.type-ghost.half-border:not(.has-custom-border),
1247
- .arco-button.type-ghost.active.half-border:not(.has-custom-border) {
1248
- box-shadow: 0 0 0 0.5PX #165dff inset;
1249
- }
1250
- }
1251
- .ios .arco-button.type-ghost.half-border:not(.has-custom-border),
1252
- .ios .arco-button.type-ghost.active.half-border:not(.has-custom-border),
1253
- .arco-button.type-ghost.half-border:not(.has-custom-border).ios,
1254
- .arco-button.type-ghost.active.half-border:not(.has-custom-border).ios {
1255
- box-shadow: none;
1256
- border: 0.5PX solid #165dff;
1257
- }
1258
- .arco-button.type-ghost.disabled.ios,
1259
- .arco-button.type-ghost.disabled.android {
1260
- border: 1PX solid #94bfff ;
1261
- }
1262
- .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border),
1263
- .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border) {
1264
- border-width: 0;
1265
- box-shadow: 0 0 0 1PX #94bfff inset;
1266
- }
1267
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1268
- .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border),
1269
- .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border) {
1270
- box-shadow: 0 0 0 0.5PX #94bfff inset;
1271
- }
1272
- }
1273
- .ios .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border),
1274
- .ios .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border),
1275
- .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border).ios,
1276
- .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border).ios {
1277
- box-shadow: none;
1278
- border: 0.5PX solid #94bfff;
1279
- }
1280
- .arco-button.type-default {
1281
- border: 1PX solid #E8F3FF ;
1158
+ .arco-button-type-default {
1282
1159
  background: #E8F3FF ;
1283
1160
  color: #165dff ;
1284
1161
  }
1285
- .arco-button.type-default.half-border:not(.has-custom-border) {
1286
- border-width: 0;
1287
- box-shadow: 0 0 0 1PX #E8F3FF inset;
1288
- }
1289
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1290
- .arco-button.type-default.half-border:not(.has-custom-border) {
1291
- box-shadow: 0 0 0 0.5PX #E8F3FF inset;
1292
- }
1293
- }
1294
- .ios .arco-button.type-default.half-border:not(.has-custom-border),
1295
- .arco-button.type-default.half-border:not(.has-custom-border).ios {
1296
- box-shadow: none;
1297
- border: 0.5PX solid #E8F3FF;
1298
- }
1299
- .arco-button.type-default .bg-color-with-config {
1162
+ .arco-button-type-default .bg-color-with-config {
1300
1163
  background: #165dff;
1301
1164
  }
1302
- .arco-button.type-default .stop-color-with-config {
1165
+ .arco-button-type-default .stop-color-with-config {
1303
1166
  stop-color: #165dff;
1304
1167
  }
1305
- .arco-button.type-default .fill-color-with-config {
1168
+ .arco-button-type-default .fill-color-with-config {
1306
1169
  fill: #165dff;
1307
1170
  }
1308
- .arco-button.type-default .stroke-color-with-config {
1171
+ .arco-button-type-default .stroke-color-with-config {
1309
1172
  stroke: #165dff;
1310
1173
  }
1311
- .arco-button.type-default.disabled {
1174
+ .arco-button-type-default-disabled {
1312
1175
  background: #E8F3FF ;
1313
1176
  color: #94bfff ;
1314
1177
  }
1315
- .arco-button.type-default.disabled.ios,
1316
- .arco-button.type-default.disabled.android {
1317
- border-width: 0;
1318
- box-shadow: none;
1319
- }
1320
- .arco-button.type-default.active {
1178
+ .arco-button-type-default-active {
1321
1179
  background: #94bfff ;
1322
- border: 1PX solid #94bfff ;
1323
1180
  }
1324
- .arco-button.type-default.active.half-border:not(.has-custom-border) {
1325
- border-width: 0;
1326
- box-shadow: 0 0 0 1PX #94bfff inset;
1327
- }
1328
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1329
- .arco-button.type-default.active.half-border:not(.has-custom-border) {
1330
- box-shadow: 0 0 0 0.5PX #94bfff inset;
1331
- }
1332
- }
1333
- .ios .arco-button.type-default.active.half-border:not(.has-custom-border),
1334
- .arco-button.type-default.active.half-border:not(.has-custom-border).ios {
1335
- box-shadow: none;
1336
- border: 0.5PX solid #94bfff;
1337
- }
1338
- .arco-button.type-ghost,
1339
- .arco-button.type-ghost.active {
1340
- border: 1PX solid #165dff ;
1341
- }
1342
- .arco-button.type-ghost.half-border:not(.has-custom-border),
1343
- .arco-button.type-ghost.active.half-border:not(.has-custom-border) {
1344
- border-width: 0;
1345
- box-shadow: 0 0 0 1PX #165dff inset;
1346
- }
1347
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1348
- .arco-button.type-ghost.half-border:not(.has-custom-border),
1349
- .arco-button.type-ghost.active.half-border:not(.has-custom-border) {
1350
- box-shadow: 0 0 0 0.5PX #165dff inset;
1351
- }
1352
- }
1353
- .ios .arco-button.type-ghost.half-border:not(.has-custom-border),
1354
- .ios .arco-button.type-ghost.active.half-border:not(.has-custom-border),
1355
- .arco-button.type-ghost.half-border:not(.has-custom-border).ios,
1356
- .arco-button.type-ghost.active.half-border:not(.has-custom-border).ios {
1357
- box-shadow: none;
1358
- border: 0.5PX solid #165dff;
1359
- }
1360
- .arco-button.type-ghost.disabled.ios,
1361
- .arco-button.type-ghost.disabled.android {
1362
- border: 1PX solid #94bfff ;
1363
- }
1364
- .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border),
1365
- .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border) {
1366
- border-width: 0;
1367
- box-shadow: 0 0 0 1PX #94bfff inset;
1368
- }
1369
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1370
- .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border),
1371
- .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border) {
1372
- box-shadow: 0 0 0 0.5PX #94bfff inset;
1373
- }
1374
- }
1375
- .ios .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border),
1376
- .ios .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border),
1377
- .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border).ios,
1378
- .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border).ios {
1379
- box-shadow: none;
1380
- border: 0.5PX solid #94bfff;
1381
- }
1382
- .arco-button.type-primary {
1383
- border: 1PX solid #165dff ;
1181
+ .arco-button-type-primary {
1384
1182
  background: #165dff ;
1385
1183
  color: #fff ;
1386
1184
  }
1387
- .arco-button.type-primary.half-border:not(.has-custom-border) {
1388
- border-width: 0;
1389
- box-shadow: 0 0 0 1PX #165dff inset;
1390
- }
1391
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1392
- .arco-button.type-primary.half-border:not(.has-custom-border) {
1393
- box-shadow: 0 0 0 0.5PX #165dff inset;
1394
- }
1395
- }
1396
- .ios .arco-button.type-primary.half-border:not(.has-custom-border),
1397
- .arco-button.type-primary.half-border:not(.has-custom-border).ios {
1398
- box-shadow: none;
1399
- border: 0.5PX solid #165dff;
1400
- }
1401
- .arco-button.type-primary .bg-color-with-config {
1185
+ .arco-button-type-primary .bg-color-with-config {
1402
1186
  background: #fff;
1403
1187
  }
1404
- .arco-button.type-primary .stop-color-with-config {
1188
+ .arco-button-type-primary .stop-color-with-config {
1405
1189
  stop-color: #fff;
1406
1190
  }
1407
- .arco-button.type-primary .fill-color-with-config {
1191
+ .arco-button-type-primary .fill-color-with-config {
1408
1192
  fill: #fff;
1409
1193
  }
1410
- .arco-button.type-primary .stroke-color-with-config {
1194
+ .arco-button-type-primary .stroke-color-with-config {
1411
1195
  stroke: #fff;
1412
1196
  }
1413
- .arco-button.type-primary.disabled {
1197
+ .arco-button-type-primary-disabled {
1414
1198
  background: #94bfff ;
1415
1199
  color: #E8F3FF ;
1416
1200
  }
1417
- .arco-button.type-primary.disabled.ios,
1418
- .arco-button.type-primary.disabled.android {
1419
- border-width: 0;
1420
- box-shadow: none;
1421
- }
1422
- .arco-button.type-primary.active {
1201
+ .arco-button-type-primary-active {
1423
1202
  background: #0E42D2 ;
1424
- border: 1PX solid #0E42D2 ;
1425
- }
1426
- .arco-button.type-primary.active.half-border:not(.has-custom-border) {
1427
- border-width: 0;
1428
- box-shadow: 0 0 0 1PX #0E42D2 inset;
1429
- }
1430
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1431
- .arco-button.type-primary.active.half-border:not(.has-custom-border) {
1432
- box-shadow: 0 0 0 0.5PX #0E42D2 inset;
1433
- }
1434
- }
1435
- .ios .arco-button.type-primary.active.half-border:not(.has-custom-border),
1436
- .arco-button.type-primary.active.half-border:not(.has-custom-border).ios {
1437
- box-shadow: none;
1438
- border: 0.5PX solid #0E42D2;
1439
1203
  }
1440
- .arco-button.type-ghost,
1441
- .arco-button.type-ghost.active {
1442
- border: 1PX solid #165dff ;
1204
+ .arco-button-type-ghost {
1205
+ border: 1PX solid currentColor;
1443
1206
  }
1444
- .arco-button.type-ghost.half-border:not(.has-custom-border),
1445
- .arco-button.type-ghost.active.half-border:not(.has-custom-border) {
1207
+ .arco-button-type-ghost.half-border {
1446
1208
  border-width: 0;
1447
- box-shadow: 0 0 0 1PX #165dff inset;
1209
+ box-shadow: 0 0 0 1PX currentColor inset;
1448
1210
  }
1449
1211
  @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1450
- .arco-button.type-ghost.half-border:not(.has-custom-border),
1451
- .arco-button.type-ghost.active.half-border:not(.has-custom-border) {
1452
- box-shadow: 0 0 0 0.5PX #165dff inset;
1212
+ .arco-button-type-ghost.half-border {
1213
+ box-shadow: 0 0 0 0.5PX currentColor inset;
1453
1214
  }
1454
1215
  }
1455
- .ios .arco-button.type-ghost.half-border:not(.has-custom-border),
1456
- .ios .arco-button.type-ghost.active.half-border:not(.has-custom-border),
1457
- .arco-button.type-ghost.half-border:not(.has-custom-border).ios,
1458
- .arco-button.type-ghost.active.half-border:not(.has-custom-border).ios {
1216
+ .ios .arco-button-type-ghost.half-border,
1217
+ .arco-button-type-ghost.half-border.ios {
1459
1218
  box-shadow: none;
1460
- border: 0.5PX solid #165dff;
1461
- }
1462
- .arco-button.type-ghost.disabled.ios,
1463
- .arco-button.type-ghost.disabled.android {
1464
- border: 1PX solid #94bfff ;
1465
- }
1466
- .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border),
1467
- .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border) {
1468
- border-width: 0;
1469
- box-shadow: 0 0 0 1PX #94bfff inset;
1219
+ border: 0.5PX solid currentColor;
1470
1220
  }
1471
- @media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 2dppx) {
1472
- .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border),
1473
- .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border) {
1474
- box-shadow: 0 0 0 0.5PX #94bfff inset;
1475
- }
1476
- }
1477
- .ios .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border),
1478
- .ios .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border),
1479
- .arco-button.type-ghost.disabled.ios.half-border:not(.has-custom-border).ios,
1480
- .arco-button.type-ghost.disabled.android.half-border:not(.has-custom-border).ios {
1481
- box-shadow: none;
1482
- border: 0.5PX solid #94bfff;
1483
- }
1484
- .arco-button.size-mini {
1221
+ .arco-button-size-mini {
1485
1222
  padding: 0 0.16rem ;
1486
1223
  height: 0.48rem ;
1487
1224
  }
1488
- .arco-button.size-mini.is-round {
1225
+ .arco-button-size-mini-is-round {
1489
1226
  border-radius: 0.48rem ;
1490
1227
  }
1491
- .arco-button.size-mini.is-square {
1228
+ .arco-button-size-mini-is-square {
1492
1229
  border-radius: 0;
1493
1230
  }
1494
- .arco-button.size-mini .btn-icon,
1495
- .arco-button.size-mini i,
1496
- .arco-button.size-mini .btn-text,
1497
- .arco-button.size-mini svg {
1231
+ .arco-button-size-mini .arco-button-icon,
1232
+ .arco-button-size-mini i,
1233
+ .arco-button-size-mini .arco-button-text,
1234
+ .arco-button-size-mini svg {
1498
1235
  font-size: 0.24rem ;
1499
1236
  }
1500
- .arco-button.size-small {
1237
+ .arco-button-size-small {
1501
1238
  padding: 0 0.16rem ;
1502
1239
  height: 0.56rem ;
1503
1240
  }
1504
- .arco-button.size-small.is-round {
1241
+ .arco-button-size-small-is-round {
1505
1242
  border-radius: 0.56rem ;
1506
1243
  }
1507
- .arco-button.size-small.is-square {
1244
+ .arco-button-size-small-is-square {
1508
1245
  border-radius: 0;
1509
1246
  }
1510
- .arco-button.size-small .btn-icon,
1511
- .arco-button.size-small i,
1512
- .arco-button.size-small .btn-text,
1513
- .arco-button.size-small svg {
1247
+ .arco-button-size-small .arco-button-icon,
1248
+ .arco-button-size-small i,
1249
+ .arco-button-size-small .arco-button-text,
1250
+ .arco-button-size-small svg {
1514
1251
  font-size: 0.28rem ;
1515
1252
  }
1516
- .arco-button.size-medium {
1253
+ .arco-button-size-medium {
1517
1254
  padding: 0 0.32rem ;
1518
1255
  height: 0.64rem ;
1519
1256
  }
1520
- .arco-button.size-medium.is-round {
1257
+ .arco-button-size-medium-is-round {
1521
1258
  border-radius: 0.64rem ;
1522
1259
  }
1523
- .arco-button.size-medium.is-square {
1260
+ .arco-button-size-medium-is-square {
1524
1261
  border-radius: 0;
1525
1262
  }
1526
- .arco-button.size-medium .btn-icon,
1527
- .arco-button.size-medium i,
1528
- .arco-button.size-medium .btn-text,
1529
- .arco-button.size-medium svg {
1263
+ .arco-button-size-medium .arco-button-icon,
1264
+ .arco-button-size-medium i,
1265
+ .arco-button-size-medium .arco-button-text,
1266
+ .arco-button-size-medium svg {
1530
1267
  font-size: 0.28rem ;
1531
1268
  }
1532
- .arco-button.size-large {
1269
+ .arco-button-size-large {
1533
1270
  padding: 0 0.32rem ;
1534
1271
  height: 0.72rem ;
1535
1272
  }
1536
- .arco-button.size-large.is-round {
1273
+ .arco-button-size-large-is-round {
1537
1274
  border-radius: 0.72rem ;
1538
1275
  }
1539
- .arco-button.size-large.is-square {
1276
+ .arco-button-size-large-is-square {
1540
1277
  border-radius: 0;
1541
1278
  }
1542
- .arco-button.size-large .btn-icon,
1543
- .arco-button.size-large i,
1544
- .arco-button.size-large .btn-text,
1545
- .arco-button.size-large svg {
1279
+ .arco-button-size-large .arco-button-icon,
1280
+ .arco-button-size-large i,
1281
+ .arco-button-size-large .arco-button-text,
1282
+ .arco-button-size-large svg {
1546
1283
  font-size: 0.3rem ;
1547
1284
  }
1548
- .arco-button.size-huge {
1285
+ .arco-button-size-huge {
1549
1286
  padding: 0 0.32rem ;
1550
1287
  height: 0.88rem ;
1551
1288
  }
1552
- .arco-button.size-huge.is-round {
1289
+ .arco-button-size-huge-is-round {
1553
1290
  border-radius: 0.88rem ;
1554
1291
  }
1555
- .arco-button.size-huge.is-square {
1292
+ .arco-button-size-huge-is-square {
1556
1293
  border-radius: 0;
1557
1294
  }
1558
- .arco-button.size-huge .btn-icon,
1559
- .arco-button.size-huge i,
1560
- .arco-button.size-huge .btn-text,
1561
- .arco-button.size-huge svg {
1295
+ .arco-button-size-huge .arco-button-icon,
1296
+ .arco-button-size-huge i,
1297
+ .arco-button-size-huge .arco-button-text,
1298
+ .arco-button-size-huge svg {
1562
1299
  font-size: 0.32rem ;
1563
1300
  }
1564
- .arco-button.android .btn-text {
1301
+ .arco-button-text-android {
1565
1302
  padding-top: 0.04rem;
1566
1303
  }
1567
- .arco-button .btn-icon {
1304
+ .arco-button-icon {
1568
1305
  vertical-align: middle;
1569
1306
  display: inline-flex;
1570
1307
  align-items: center;
1571
1308
  justify-content: center;
1572
1309
  }
1573
- .arco-button .btn-text {
1574
- font-size: 0.3rem;
1310
+ .arco-button-text {
1575
1311
  display: inline-block;
1576
1312
  vertical-align: middle;
1577
1313
  }
1578
- .arco-button .btn-text.has-icon {
1579
- margin-left: 0.08rem;
1314
+ .arco-button-text-has-icon {
1315
+ margin-left: 0.08rem ;
1580
1316
  }
1581
- .arco-button .loading-icon {
1317
+ .arco-button-loading-icon {
1582
1318
  display: inline-block;
1583
1319
  vertical-align: middle;
1584
1320
  }
1585
- .arco-button .loading-icon + .btn-text {
1586
- margin-left: 0.16rem;
1321
+ .arco-button.has-custom-border {
1322
+ border: 1PX solid;
1587
1323
  }
1588
1324
 
1589
1325
  .arco-carousel {