@arco-design/mobile-react 2.30.4 → 2.30.5
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/CHANGELOG.md +13 -0
- package/README.en-US.md +2 -2
- package/README.md +2 -2
- package/cjs/dialog/style/css/index.css +88 -0
- package/cjs/dialog/style/index.less +16 -4
- package/cjs/ellipsis/index.d.ts +2 -2
- package/cjs/ellipsis/index.js +2 -2
- package/cjs/image-preview/index.js +1 -0
- package/cjs/index-bar/style/css/index.css +28 -5
- package/cjs/index-bar/style/index.less +10 -10
- package/cjs/pagination/arrow.js +6 -3
- package/cjs/pagination/style/css/index.css +21 -6
- package/cjs/pagination/style/index.less +9 -9
- package/cjs/picker/style/css/index.css +8 -0
- package/cjs/picker/style/index.less +2 -2
- package/cjs/progress/style/css/index.css +20 -0
- package/cjs/progress/style/index.less +5 -5
- package/cjs/search-bar/style/css/index.css +18 -0
- package/cjs/search-bar/style/index.less +5 -5
- package/cjs/slider/hooks/index.d.ts +1 -1
- package/cjs/slider/index.d.ts +10 -0
- package/cjs/slider/index.js +1 -0
- package/cjs/slider/thumb.d.ts +6 -5
- package/cjs/slider/thumb.js +19 -20
- package/dist/index.js +34 -26
- package/dist/index.min.js +1 -1
- package/dist/style.css +146 -11
- package/dist/style.min.css +1 -1
- package/esm/dialog/style/css/index.css +88 -0
- package/esm/dialog/style/index.less +16 -4
- package/esm/ellipsis/index.d.ts +2 -2
- package/esm/ellipsis/index.js +2 -2
- package/esm/image-preview/index.js +1 -0
- package/esm/index-bar/style/css/index.css +28 -5
- package/esm/index-bar/style/index.less +10 -10
- package/esm/pagination/arrow.js +6 -3
- package/esm/pagination/style/css/index.css +21 -6
- package/esm/pagination/style/index.less +9 -9
- package/esm/picker/style/css/index.css +8 -0
- package/esm/picker/style/index.less +2 -2
- package/esm/progress/style/css/index.css +20 -0
- package/esm/progress/style/index.less +5 -5
- package/esm/search-bar/style/css/index.css +18 -0
- package/esm/search-bar/style/index.less +5 -5
- package/esm/slider/hooks/index.d.ts +1 -1
- package/esm/slider/index.d.ts +10 -0
- package/esm/slider/index.js +1 -0
- package/esm/slider/thumb.d.ts +6 -5
- package/esm/slider/thumb.js +19 -17
- package/package.json +3 -3
- package/tokens/app/arcodesign/default/css-variables.less +3 -4
- package/tokens/app/arcodesign/default/index.d.ts +0 -1
- package/tokens/app/arcodesign/default/index.js +3 -4
- package/tokens/app/arcodesign/default/index.json +9 -21
- package/tokens/app/arcodesign/default/index.less +3 -4
- package/umd/dialog/style/css/index.css +88 -0
- package/umd/dialog/style/index.less +16 -4
- package/umd/ellipsis/index.d.ts +2 -2
- package/umd/ellipsis/index.js +2 -2
- package/umd/image-preview/index.js +1 -0
- package/umd/index-bar/style/css/index.css +28 -5
- package/umd/index-bar/style/index.less +10 -10
- package/umd/pagination/arrow.js +6 -3
- package/umd/pagination/style/css/index.css +21 -6
- package/umd/pagination/style/index.less +9 -9
- package/umd/picker/style/css/index.css +8 -0
- package/umd/picker/style/index.less +2 -2
- package/umd/progress/style/css/index.css +20 -0
- package/umd/progress/style/index.less +5 -5
- package/umd/search-bar/style/css/index.css +18 -0
- package/umd/search-bar/style/index.less +5 -5
- package/umd/slider/hooks/index.d.ts +1 -1
- package/umd/slider/index.d.ts +10 -0
- package/umd/slider/index.js +1 -0
- package/umd/slider/thumb.d.ts +6 -5
- package/umd/slider/thumb.js +23 -23
package/dist/style.css
CHANGED
@@ -13018,10 +13018,18 @@ samp {
|
|
13018
13018
|
left: 0;
|
13019
13019
|
color: #165DFF ;
|
13020
13020
|
}
|
13021
|
+
[dir="rtl"] .arco-picker-header-btn.left {
|
13022
|
+
left: initial;
|
13023
|
+
right: 0;
|
13024
|
+
}
|
13021
13025
|
.arco-picker-header-btn.right {
|
13022
13026
|
right: 0;
|
13023
13027
|
color: #165DFF ;
|
13024
13028
|
}
|
13029
|
+
[dir="rtl"] .arco-picker-header-btn.right {
|
13030
|
+
right: initial;
|
13031
|
+
left: 0;
|
13032
|
+
}
|
13025
13033
|
|
13026
13034
|
/**
|
13027
13035
|
* @type mixin-var
|
@@ -14141,6 +14149,10 @@ samp {
|
|
14141
14149
|
.arco-dialog-body.left {
|
14142
14150
|
text-align: left;
|
14143
14151
|
}
|
14152
|
+
[dir="rtl"] .arco-dialog-header.left,
|
14153
|
+
[dir="rtl"] .arco-dialog-body.left {
|
14154
|
+
text-align: right;
|
14155
|
+
}
|
14144
14156
|
.arco-dialog-header.center,
|
14145
14157
|
.arco-dialog-body.center {
|
14146
14158
|
text-align: center;
|
@@ -14149,6 +14161,10 @@ samp {
|
|
14149
14161
|
.arco-dialog-body.right {
|
14150
14162
|
text-align: right;
|
14151
14163
|
}
|
14164
|
+
[dir="rtl"] .arco-dialog-header.right,
|
14165
|
+
[dir="rtl"] .arco-dialog-body.right {
|
14166
|
+
text-align: left;
|
14167
|
+
}
|
14152
14168
|
.arco-dialog-header.android,
|
14153
14169
|
.arco-dialog-body.sub-title.android {
|
14154
14170
|
padding-top: 0.4rem ;
|
@@ -14173,6 +14189,9 @@ samp {
|
|
14173
14189
|
justify-content: flex-end;
|
14174
14190
|
text-align: right;
|
14175
14191
|
}
|
14192
|
+
[dir="rtl"] .arco-dialog-footer.android {
|
14193
|
+
text-align: left;
|
14194
|
+
}
|
14176
14195
|
.arco-dialog-footer.android .dialog-footer-button {
|
14177
14196
|
color: #1a74ff ;
|
14178
14197
|
font-size: 0.3rem ;
|
@@ -14181,6 +14200,10 @@ samp {
|
|
14181
14200
|
.arco-dialog-footer.android .dialog-footer-button:not(:last-child) {
|
14182
14201
|
margin-right: 0.56rem ;
|
14183
14202
|
}
|
14203
|
+
[dir="rtl"] .arco-dialog-footer.android .dialog-footer-button:not(:last-child) {
|
14204
|
+
margin-right: initial;
|
14205
|
+
margin-left: 0.56rem ;
|
14206
|
+
}
|
14184
14207
|
.arco-dialog-footer.ios {
|
14185
14208
|
overflow: hidden;
|
14186
14209
|
}
|
@@ -14265,6 +14288,44 @@ samp {
|
|
14265
14288
|
border-radius: 0;
|
14266
14289
|
}
|
14267
14290
|
}
|
14291
|
+
[dir='rtl'] .arco-dialog-footer.ios:not(.collapsed):not(.type-button) .dialog-footer-button:not(:last-child) {
|
14292
|
+
position: relative;
|
14293
|
+
border-width: 0;
|
14294
|
+
}
|
14295
|
+
[dir='rtl'] .arco-dialog-footer.ios:not(.collapsed):not(.type-button) .dialog-footer-button:not(:last-child)::before {
|
14296
|
+
content: '';
|
14297
|
+
width: 1PX;
|
14298
|
+
height: 100%;
|
14299
|
+
position: absolute;
|
14300
|
+
left: 0;
|
14301
|
+
top: 0;
|
14302
|
+
z-index: 1;
|
14303
|
+
border-left-style: solid;
|
14304
|
+
border-left-width: 1PX;
|
14305
|
+
border-left-color: #e5e6eb;
|
14306
|
+
box-sizing: border-box;
|
14307
|
+
transform-origin: left top;
|
14308
|
+
-webkit-transform-origin: left top;
|
14309
|
+
pointer-events: none;
|
14310
|
+
border-radius: 0;
|
14311
|
+
}
|
14312
|
+
@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) {
|
14313
|
+
[dir='rtl'] .arco-dialog-footer.ios:not(.collapsed):not(.type-button) .dialog-footer-button:not(:last-child)::before {
|
14314
|
+
transform: scaleX(0.5);
|
14315
|
+
-webkit-transform: scaleX(0.5);
|
14316
|
+
border-radius: 0;
|
14317
|
+
}
|
14318
|
+
}
|
14319
|
+
@media (-webkit-min-device-pixel-ratio: 3), (min-device-pixel-ratio: 3) {
|
14320
|
+
[dir='rtl'] .arco-dialog-footer.ios:not(.collapsed):not(.type-button) .dialog-footer-button:not(:last-child)::before {
|
14321
|
+
transform: scaleX(0.33333333);
|
14322
|
+
-webkit-transform: scaleX(0.33333333);
|
14323
|
+
border-radius: 0;
|
14324
|
+
}
|
14325
|
+
}
|
14326
|
+
[dir='rtl'] .arco-dialog-footer.ios:not(.collapsed):not(.type-button) .dialog-footer-button:not(:last-child)::after {
|
14327
|
+
display: none;
|
14328
|
+
}
|
14268
14329
|
.arco-dialog-footer.ios.collapsed {
|
14269
14330
|
flex-direction: column;
|
14270
14331
|
}
|
@@ -19523,6 +19584,10 @@ samp {
|
|
19523
19584
|
display: flex;
|
19524
19585
|
align-items: center;
|
19525
19586
|
}
|
19587
|
+
[dir="rtl"] .arco-index-bar-group-title {
|
19588
|
+
padding-left: initial;
|
19589
|
+
padding-right: 0.32rem ;
|
19590
|
+
}
|
19526
19591
|
.arco-index-bar-group-item {
|
19527
19592
|
height: 1.08rem ;
|
19528
19593
|
display: flex;
|
@@ -19530,6 +19595,10 @@ samp {
|
|
19530
19595
|
margin-left: 0.32rem ;
|
19531
19596
|
font-size: 0.32rem ;
|
19532
19597
|
}
|
19598
|
+
[dir="rtl"] .arco-index-bar-group-item {
|
19599
|
+
margin-left: initial;
|
19600
|
+
margin-right: 0.32rem ;
|
19601
|
+
}
|
19533
19602
|
.arco-index-bar-group-item:not(:last-child) {
|
19534
19603
|
position: relative;
|
19535
19604
|
border-width: 0;
|
@@ -19575,9 +19644,13 @@ samp {
|
|
19575
19644
|
-moz-user-select: none;
|
19576
19645
|
user-select: none;
|
19577
19646
|
}
|
19578
|
-
.arco-index-bar-sidebar
|
19647
|
+
[dir="rtl"] .arco-index-bar-sidebar {
|
19648
|
+
right: initial;
|
19579
19649
|
left: 0;
|
19580
19650
|
}
|
19651
|
+
.arco-index-bar-sidebar-touching {
|
19652
|
+
width: 100%;
|
19653
|
+
}
|
19581
19654
|
.arco-index-bar-sidebar-item {
|
19582
19655
|
display: flex;
|
19583
19656
|
justify-content: flex-end;
|
@@ -19608,25 +19681,36 @@ samp {
|
|
19608
19681
|
border-radius: 9999px;
|
19609
19682
|
text-align: center;
|
19610
19683
|
padding: 0 0.16rem ;
|
19611
|
-
background:
|
19684
|
+
background: #333333 ;
|
19612
19685
|
right: 0.72rem ;
|
19613
19686
|
font-size: 0.48rem ;
|
19614
19687
|
color: #FFFFFF ;
|
19615
19688
|
}
|
19689
|
+
[dir="rtl"] .arco-index-bar-sidebar-sweat {
|
19690
|
+
right: initial;
|
19691
|
+
left: 0.72rem ;
|
19692
|
+
}
|
19616
19693
|
.arco-index-bar-sidebar-sweat::before {
|
19617
19694
|
content: '';
|
19618
19695
|
position: absolute;
|
19619
19696
|
top: 0;
|
19620
19697
|
bottom: 0;
|
19621
19698
|
margin: auto;
|
19622
|
-
right: -0.
|
19699
|
+
right: -0.56rem ;
|
19623
19700
|
width: 0;
|
19624
19701
|
height: 0;
|
19625
19702
|
border: 0.36rem solid transparent ;
|
19626
|
-
border:
|
19627
|
-
border-left-color: rgba(0, 0, 0, 0.8) ;
|
19703
|
+
border-left-color: #333333 ;
|
19628
19704
|
border-radius: 4px;
|
19629
19705
|
}
|
19706
|
+
[dir="rtl"] .arco-index-bar-sidebar-sweat::before {
|
19707
|
+
right: initial;
|
19708
|
+
left: -0.56rem ;
|
19709
|
+
}
|
19710
|
+
[dir="rtl"] .arco-index-bar-sidebar-sweat::before {
|
19711
|
+
border-left-color: initial;
|
19712
|
+
border-right-color: #333333 ;
|
19713
|
+
}
|
19630
19714
|
.arco-index-bar-sidebar-toast {
|
19631
19715
|
position: absolute;
|
19632
19716
|
background: rgba(0, 0, 0, 0.8) ;
|
@@ -23646,6 +23730,10 @@ samp {
|
|
23646
23730
|
justify-content: flex-end;
|
23647
23731
|
margin-right: 0.48rem ;
|
23648
23732
|
}
|
23733
|
+
[dir="rtl"] .arco-pagination-prev-field.flex-center {
|
23734
|
+
margin-right: initial;
|
23735
|
+
margin-left: 0.48rem ;
|
23736
|
+
}
|
23649
23737
|
.arco-pagination-next-field {
|
23650
23738
|
justify-content: flex-end;
|
23651
23739
|
}
|
@@ -23653,6 +23741,10 @@ samp {
|
|
23653
23741
|
justify-content: flex-start;
|
23654
23742
|
margin-left: 0.48rem ;
|
23655
23743
|
}
|
23744
|
+
[dir="rtl"] .arco-pagination-next-field.flex-center {
|
23745
|
+
margin-left: initial;
|
23746
|
+
margin-right: 0.48rem ;
|
23747
|
+
}
|
23656
23748
|
.arco-pagination-field {
|
23657
23749
|
cursor: pointer;
|
23658
23750
|
text-align: center;
|
@@ -23678,9 +23770,15 @@ samp {
|
|
23678
23770
|
display: inline-flex;
|
23679
23771
|
align-items: center;
|
23680
23772
|
}
|
23773
|
+
[dir="rtl"] .arco-pagination-field .btn-icon {
|
23774
|
+
transform: scaleX(-1);
|
23775
|
+
}
|
23681
23776
|
.arco-pagination-field .btn-icon.next {
|
23682
23777
|
transform: rotateY(180deg);
|
23683
23778
|
}
|
23779
|
+
[dir="rtl"] .arco-pagination-field .btn-icon.next {
|
23780
|
+
transform: none;
|
23781
|
+
}
|
23684
23782
|
.arco-pagination-field.button {
|
23685
23783
|
padding: 0.12rem 0.32rem ;
|
23686
23784
|
border-radius: 0.04rem ;
|
@@ -23697,13 +23795,12 @@ samp {
|
|
23697
23795
|
}
|
23698
23796
|
.arco-pagination-field.button .btn-icon + .btn-text,
|
23699
23797
|
.arco-pagination-field.button .btn-text + .btn-icon {
|
23700
|
-
margin-left: 0.
|
23701
|
-
}
|
23702
|
-
.arco-pagination-field.button .btn-icon:first-child {
|
23703
|
-
margin-left: -0.06rem ;
|
23798
|
+
margin-left: 0.22rem ;
|
23704
23799
|
}
|
23705
|
-
.arco-pagination-field.button .btn-icon
|
23706
|
-
|
23800
|
+
[dir="rtl"] .arco-pagination-field.button .btn-icon + .btn-text,
|
23801
|
+
[dir="rtl"] .arco-pagination-field.button .btn-text + .btn-icon {
|
23802
|
+
margin-left: initial;
|
23803
|
+
margin-right: 0.22rem ;
|
23707
23804
|
}
|
23708
23805
|
.arco-pagination.android .arco-pagination-field.button .btn-text {
|
23709
23806
|
padding-top: 0.04rem;
|
@@ -25572,6 +25669,10 @@ samp {
|
|
25572
25669
|
left: 0;
|
25573
25670
|
z-index: 1001;
|
25574
25671
|
}
|
25672
|
+
[dir="rtl"] .arco-progress.progress-fixed {
|
25673
|
+
left: initial;
|
25674
|
+
right: 0;
|
25675
|
+
}
|
25575
25676
|
.arco-progress .progress-wrapper {
|
25576
25677
|
position: relative;
|
25577
25678
|
width: 100%;
|
@@ -25603,6 +25704,10 @@ samp {
|
|
25603
25704
|
top: 50%;
|
25604
25705
|
transform: translateY(-50%);
|
25605
25706
|
}
|
25707
|
+
[dir="rtl"] .arco-progress .progress-wrapper .progress-bar .wrapper {
|
25708
|
+
right: initial;
|
25709
|
+
left: 0;
|
25710
|
+
}
|
25606
25711
|
.arco-progress .progress-wrapper .filleted {
|
25607
25712
|
border-radius: 100PX;
|
25608
25713
|
}
|
@@ -25611,10 +25716,22 @@ samp {
|
|
25611
25716
|
margin-left: 0.16rem ;
|
25612
25717
|
color: #165DFF ;
|
25613
25718
|
}
|
25719
|
+
[dir="rtl"] .arco-progress .progress-wrapper .text {
|
25720
|
+
margin-left: initial;
|
25721
|
+
margin-right: 0.16rem ;
|
25722
|
+
}
|
25614
25723
|
.arco-progress .progress-wrapper .text-left {
|
25615
25724
|
margin-left: 0;
|
25616
25725
|
margin-right: 0.16rem ;
|
25617
25726
|
}
|
25727
|
+
[dir="rtl"] .arco-progress .progress-wrapper .text-left {
|
25728
|
+
margin-left: initial;
|
25729
|
+
margin-right: 0;
|
25730
|
+
}
|
25731
|
+
[dir="rtl"] .arco-progress .progress-wrapper .text-left {
|
25732
|
+
margin-right: initial;
|
25733
|
+
margin-left: 0.16rem ;
|
25734
|
+
}
|
25618
25735
|
.arco-progress .progress-wrapper .text-innerLeft {
|
25619
25736
|
position: absolute;
|
25620
25737
|
z-index: 1;
|
@@ -27867,9 +27984,15 @@ samp {
|
|
27867
27984
|
.arco-search-bar-input-left {
|
27868
27985
|
text-align: left;
|
27869
27986
|
}
|
27987
|
+
[dir="rtl"] .arco-search-bar-input-left {
|
27988
|
+
text-align: right;
|
27989
|
+
}
|
27870
27990
|
.arco-search-bar-input-right {
|
27871
27991
|
text-align: right;
|
27872
27992
|
}
|
27993
|
+
[dir="rtl"] .arco-search-bar-input-right {
|
27994
|
+
text-align: left;
|
27995
|
+
}
|
27873
27996
|
.arco-search-bar-input-center {
|
27874
27997
|
text-align: center;
|
27875
27998
|
}
|
@@ -27893,11 +28016,19 @@ samp {
|
|
27893
28016
|
.arco-search-bar-prefix {
|
27894
28017
|
margin-right: 0.18rem ;
|
27895
28018
|
}
|
28019
|
+
[dir="rtl"] .arco-search-bar-prefix {
|
28020
|
+
margin-right: initial;
|
28021
|
+
margin-left: 0.18rem ;
|
28022
|
+
}
|
27896
28023
|
.arco-search-bar-clear {
|
27897
28024
|
color: #c9cdd4 ;
|
27898
28025
|
font-size: 16PX ;
|
27899
28026
|
padding-left: 0.32rem ;
|
27900
28027
|
}
|
28028
|
+
[dir="rtl"] .arco-search-bar-clear {
|
28029
|
+
padding-left: initial;
|
28030
|
+
padding-right: 0.32rem ;
|
28031
|
+
}
|
27901
28032
|
.arco-search-bar-search-icon {
|
27902
28033
|
color: #86909c ;
|
27903
28034
|
font-size: 0.32rem ;
|
@@ -27907,6 +28038,10 @@ samp {
|
|
27907
28038
|
color: #165DFF ;
|
27908
28039
|
font-size: 0.3rem ;
|
27909
28040
|
}
|
28041
|
+
[dir="rtl"] .arco-search-bar-cancel-btn {
|
28042
|
+
margin-left: initial;
|
28043
|
+
margin-right: 0.32rem ;
|
28044
|
+
}
|
27910
28045
|
.arco-search-bar-association {
|
27911
28046
|
position: absolute;
|
27912
28047
|
left: 0;
|