@arco-design/mobile-react 2.19.1 → 2.19.2-ee92494.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/README.en-US.md +2 -2
- package/README.md +2 -2
- package/cjs/_helpers/type.d.ts +1 -1
- package/cjs/button/demo/style/mobile.less +4 -0
- package/cjs/button/index.d.ts +6 -0
- package/cjs/button/index.js +12 -2
- package/cjs/count-down/demo/style/mobile.less +1 -1
- package/cjs/grid/index.js +13 -12
- package/cjs/image/index.d.ts +0 -1
- package/cjs/image/index.js +9 -7
- package/cjs/image-picker/add-icon.d.ts +2 -0
- package/cjs/image-picker/add-icon.js +22 -0
- package/cjs/image-picker/demo/style/css/mobile.css +40 -0
- package/cjs/image-picker/demo/style/mobile.less +42 -0
- package/cjs/image-picker/index.d.ts +184 -0
- package/cjs/image-picker/index.js +307 -0
- package/cjs/image-picker/style/css/index.css +147 -0
- package/cjs/image-picker/style/css/index.d.ts +2 -0
- package/cjs/image-picker/style/css/index.js +5 -0
- package/cjs/image-picker/style/index.d.ts +2 -0
- package/cjs/image-picker/style/index.js +5 -0
- package/cjs/image-picker/style/index.less +116 -0
- package/cjs/image-preview/index.d.ts +2 -2
- package/cjs/index.d.ts +1 -0
- package/cjs/index.js +5 -1
- package/cjs/steps/demo/style/css/mobile.css +1 -1
- package/cjs/steps/demo/style/mobile.less +1 -1
- package/cjs/steps/style/css/index.css +5 -15
- package/cjs/steps/style/index.less +6 -10
- package/cjs/style.d.ts +1 -0
- package/cjs/style.js +2 -0
- package/dist/index.js +534 -218
- package/dist/index.min.js +3 -4
- package/dist/style.css +120 -9
- package/dist/style.min.css +1 -1
- package/esm/_helpers/type.d.ts +1 -1
- package/esm/button/demo/style/mobile.less +4 -0
- package/esm/button/index.d.ts +6 -0
- package/esm/button/index.js +12 -2
- package/esm/count-down/demo/style/mobile.less +1 -1
- package/esm/grid/index.js +13 -12
- package/esm/image/index.d.ts +0 -1
- package/esm/image/index.js +10 -8
- package/esm/image-picker/add-icon.d.ts +2 -0
- package/esm/image-picker/add-icon.js +14 -0
- package/esm/image-picker/demo/style/css/mobile.css +40 -0
- package/esm/image-picker/demo/style/mobile.less +42 -0
- package/esm/image-picker/index.d.ts +184 -0
- package/esm/image-picker/index.js +288 -0
- package/esm/image-picker/style/css/index.css +147 -0
- package/esm/image-picker/style/css/index.d.ts +2 -0
- package/esm/image-picker/style/css/index.js +2 -0
- package/esm/image-picker/style/index.d.ts +2 -0
- package/esm/image-picker/style/index.js +2 -0
- package/esm/image-picker/style/index.less +116 -0
- package/esm/image-preview/index.d.ts +2 -2
- package/esm/index.d.ts +1 -0
- package/esm/index.js +1 -0
- package/esm/steps/demo/style/css/mobile.css +1 -1
- package/esm/steps/demo/style/mobile.less +1 -1
- package/esm/steps/style/css/index.css +5 -15
- package/esm/steps/style/index.less +6 -10
- package/esm/style.d.ts +1 -0
- package/esm/style.js +1 -0
- package/package.json +2 -2
- package/tokens/app/arcodesign/default/css-variables.less +17 -2
- package/tokens/app/arcodesign/default/index.d.ts +17 -2
- package/tokens/app/arcodesign/default/index.js +18 -3
- package/tokens/app/arcodesign/default/index.json +204 -24
- package/tokens/app/arcodesign/default/index.less +17 -2
- package/umd/_helpers/type.d.ts +1 -1
- package/umd/button/demo/style/mobile.less +4 -0
- package/umd/button/index.d.ts +6 -0
- package/umd/button/index.js +12 -2
- package/umd/count-down/demo/style/mobile.less +1 -1
- package/umd/grid/index.js +13 -12
- package/umd/image/index.d.ts +0 -1
- package/umd/image/index.js +9 -7
- package/umd/image-picker/add-icon.d.ts +2 -0
- package/umd/image-picker/add-icon.js +35 -0
- package/umd/image-picker/demo/style/css/mobile.css +40 -0
- package/umd/image-picker/demo/style/mobile.less +42 -0
- package/umd/image-picker/index.d.ts +184 -0
- package/umd/image-picker/index.js +310 -0
- package/umd/image-picker/style/css/index.css +147 -0
- package/umd/image-picker/style/css/index.d.ts +2 -0
- package/umd/image-picker/style/css/index.js +15 -0
- package/umd/image-picker/style/index.d.ts +2 -0
- package/umd/image-picker/style/index.js +15 -0
- package/umd/image-picker/style/index.less +116 -0
- package/umd/image-preview/index.d.ts +2 -2
- package/umd/index.d.ts +1 -0
- package/umd/index.js +7 -5
- package/umd/steps/demo/style/css/mobile.css +1 -1
- package/umd/steps/demo/style/mobile.less +1 -1
- package/umd/steps/style/css/index.css +5 -15
- package/umd/steps/style/index.less +6 -10
- package/umd/style.d.ts +1 -0
- package/umd/style.js +4 -4
@@ -0,0 +1,147 @@
|
|
1
|
+
.arco-image-picker {
|
2
|
+
font-size: 0.28rem ;
|
3
|
+
}
|
4
|
+
.arco-image-picker-container {
|
5
|
+
display: -webkit-box;
|
6
|
+
display: -webkit-flex;
|
7
|
+
display: flex;
|
8
|
+
-webkit-flex-wrap: wrap;
|
9
|
+
flex-wrap: wrap;
|
10
|
+
}
|
11
|
+
.arco-image-picker-image {
|
12
|
+
position: relative;
|
13
|
+
width: 100%;
|
14
|
+
display: -webkit-box;
|
15
|
+
display: -webkit-flex;
|
16
|
+
display: flex;
|
17
|
+
-webkit-box-align: center;
|
18
|
+
-webkit-align-items: center;
|
19
|
+
align-items: center;
|
20
|
+
-webkit-box-pack: center;
|
21
|
+
-webkit-justify-content: center;
|
22
|
+
justify-content: center;
|
23
|
+
padding-top: 100%;
|
24
|
+
border-radius: 0.04rem ;
|
25
|
+
overflow: hidden;
|
26
|
+
}
|
27
|
+
.arco-image-picker-image-container {
|
28
|
+
position: absolute;
|
29
|
+
top: 0;
|
30
|
+
width: 100%;
|
31
|
+
height: 100%;
|
32
|
+
left: 0;
|
33
|
+
}
|
34
|
+
.arco-image-picker-image .arco-image {
|
35
|
+
height: 100%;
|
36
|
+
width: 100%;
|
37
|
+
}
|
38
|
+
.arco-image-picker-image-mask {
|
39
|
+
position: absolute;
|
40
|
+
left: 0;
|
41
|
+
top: 0;
|
42
|
+
width: 100%;
|
43
|
+
height: 100%;
|
44
|
+
z-index: 2;
|
45
|
+
}
|
46
|
+
.arco-image-picker-add {
|
47
|
+
background-color: #f7f8fa ;
|
48
|
+
border-radius: 0.04rem ;
|
49
|
+
position: relative;
|
50
|
+
width: 100%;
|
51
|
+
height: 100%;
|
52
|
+
padding-top: 100%;
|
53
|
+
}
|
54
|
+
.arco-image-picker-add-container {
|
55
|
+
position: absolute;
|
56
|
+
top: 0;
|
57
|
+
width: 100%;
|
58
|
+
height: 100%;
|
59
|
+
left: 0;
|
60
|
+
display: -webkit-box;
|
61
|
+
display: -webkit-flex;
|
62
|
+
display: flex;
|
63
|
+
-webkit-box-orient: vertical;
|
64
|
+
-webkit-box-direction: normal;
|
65
|
+
-webkit-flex-direction: column;
|
66
|
+
flex-direction: column;
|
67
|
+
-webkit-box-pack: center;
|
68
|
+
-webkit-justify-content: center;
|
69
|
+
justify-content: center;
|
70
|
+
-webkit-box-align: center;
|
71
|
+
-webkit-align-items: center;
|
72
|
+
align-items: center;
|
73
|
+
text-align: center;
|
74
|
+
font-size: 0.24rem ;
|
75
|
+
color: #86909c ;
|
76
|
+
}
|
77
|
+
.arco-image-picker-add-icon {
|
78
|
+
font-size: 0.6rem ;
|
79
|
+
color: #d8d8d8 ;
|
80
|
+
}
|
81
|
+
.arco-image-picker-add-icon svg {
|
82
|
+
display: block;
|
83
|
+
}
|
84
|
+
.arco-image-picker-add-disabled {
|
85
|
+
pointer-events: none;
|
86
|
+
}
|
87
|
+
.arco-image-picker-add-disabled .arco-image-picker-add-icon {
|
88
|
+
opacity: 0.7 ;
|
89
|
+
}
|
90
|
+
.arco-image-picker-add input {
|
91
|
+
position: absolute;
|
92
|
+
opacity: 0;
|
93
|
+
left: 0;
|
94
|
+
top: 0;
|
95
|
+
width: 100%;
|
96
|
+
height: 100%;
|
97
|
+
display: none;
|
98
|
+
}
|
99
|
+
.arco-image-picker-close {
|
100
|
+
position: absolute;
|
101
|
+
top: 0;
|
102
|
+
right: 0;
|
103
|
+
z-index: 2;
|
104
|
+
}
|
105
|
+
.arco-image-picker-close-icon {
|
106
|
+
display: -webkit-box;
|
107
|
+
display: -webkit-flex;
|
108
|
+
display: flex;
|
109
|
+
-webkit-box-align: center;
|
110
|
+
-webkit-align-items: center;
|
111
|
+
align-items: center;
|
112
|
+
-webkit-box-pack: center;
|
113
|
+
-webkit-justify-content: center;
|
114
|
+
justify-content: center;
|
115
|
+
font-size: 0.24rem ;
|
116
|
+
width: 0.36rem ;
|
117
|
+
height: 0.36rem ;
|
118
|
+
color: #ffffff ;
|
119
|
+
background: rgba(0, 0, 0, 0.3) ;
|
120
|
+
border-radius: 0 0.04rem ;
|
121
|
+
}
|
122
|
+
.arco-image-picker-error {
|
123
|
+
position: absolute;
|
124
|
+
top: 0;
|
125
|
+
left: 0;
|
126
|
+
width: 100%;
|
127
|
+
height: 100%;
|
128
|
+
display: -webkit-box;
|
129
|
+
display: -webkit-flex;
|
130
|
+
display: flex;
|
131
|
+
-webkit-box-orient: vertical;
|
132
|
+
-webkit-box-direction: normal;
|
133
|
+
-webkit-flex-direction: column;
|
134
|
+
flex-direction: column;
|
135
|
+
-webkit-box-pack: center;
|
136
|
+
-webkit-justify-content: center;
|
137
|
+
justify-content: center;
|
138
|
+
-webkit-box-align: center;
|
139
|
+
-webkit-align-items: center;
|
140
|
+
align-items: center;
|
141
|
+
background: rgba(0, 0, 0, 0.5) ;
|
142
|
+
color: #ffffff ;
|
143
|
+
font-size: 0.28rem ;
|
144
|
+
}
|
145
|
+
.arco-image-picker-disabled {
|
146
|
+
pointer-events: none;
|
147
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
if (typeof define === "function" && define.amd) {
|
3
|
+
define(["../../../../style/css/public.css", "./index.css"], factory);
|
4
|
+
} else if (typeof exports !== "undefined") {
|
5
|
+
factory(require("../../../../style/css/public.css"), require("./index.css"));
|
6
|
+
} else {
|
7
|
+
var mod = {
|
8
|
+
exports: {}
|
9
|
+
};
|
10
|
+
factory(global._public, global.index);
|
11
|
+
global.index = mod.exports;
|
12
|
+
}
|
13
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_public, _index) {
|
14
|
+
"use strict";
|
15
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
(function (global, factory) {
|
2
|
+
if (typeof define === "function" && define.amd) {
|
3
|
+
define(["../../../style/public.less", "./index.less"], factory);
|
4
|
+
} else if (typeof exports !== "undefined") {
|
5
|
+
factory(require("../../../style/public.less"), require("./index.less"));
|
6
|
+
} else {
|
7
|
+
var mod = {
|
8
|
+
exports: {}
|
9
|
+
};
|
10
|
+
factory(global._public, global.index);
|
11
|
+
global.index = mod.exports;
|
12
|
+
}
|
13
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_public, _index) {
|
14
|
+
"use strict";
|
15
|
+
});
|
@@ -0,0 +1,116 @@
|
|
1
|
+
@import '../../../style/mixin.less';
|
2
|
+
|
3
|
+
.@{prefix}-image-picker {
|
4
|
+
.use-var(font-size, image-picker-font-size);
|
5
|
+
&-container {
|
6
|
+
display: flex;
|
7
|
+
flex-wrap: wrap;
|
8
|
+
}
|
9
|
+
.container() {
|
10
|
+
position: absolute;
|
11
|
+
top: 0;
|
12
|
+
width: 100%;
|
13
|
+
height: 100%;
|
14
|
+
left: 0;
|
15
|
+
}
|
16
|
+
&-image {
|
17
|
+
position: relative;
|
18
|
+
width: 100%;
|
19
|
+
display: flex;
|
20
|
+
align-items: center;
|
21
|
+
justify-content: center;
|
22
|
+
padding-top: 100%;
|
23
|
+
.use-var(border-radius, image-picker-border-radius);
|
24
|
+
overflow: hidden;
|
25
|
+
&-container {
|
26
|
+
.container()
|
27
|
+
}
|
28
|
+
.@{prefix}-image {
|
29
|
+
height: 100%;
|
30
|
+
width: 100%;
|
31
|
+
}
|
32
|
+
&-mask {
|
33
|
+
position: absolute;
|
34
|
+
left: 0;
|
35
|
+
top: 0;
|
36
|
+
width: 100%;
|
37
|
+
height: 100%;
|
38
|
+
z-index: 2;
|
39
|
+
}
|
40
|
+
}
|
41
|
+
&-add {
|
42
|
+
.use-var(background-color, image-picker-add-background);
|
43
|
+
.use-var(border-radius, image-picker-border-radius);
|
44
|
+
position: relative;
|
45
|
+
width: 100%;
|
46
|
+
height: 100%;
|
47
|
+
padding-top: 100%;
|
48
|
+
&-container {
|
49
|
+
.container();
|
50
|
+
display: flex;
|
51
|
+
flex-direction: column;
|
52
|
+
justify-content: center;
|
53
|
+
align-items: center;
|
54
|
+
text-align: center;
|
55
|
+
.use-var(font-size, image-picker-add-text-font-size);
|
56
|
+
.use-var(color, image-picker-add-text-color);
|
57
|
+
}
|
58
|
+
&-icon {
|
59
|
+
.use-var(font-size, image-picker-add-icon-font-size);
|
60
|
+
.use-var(color, image-picker-add-icon-color);
|
61
|
+
svg {
|
62
|
+
display: block;
|
63
|
+
}
|
64
|
+
}
|
65
|
+
&-disabled {
|
66
|
+
pointer-events: none;
|
67
|
+
}
|
68
|
+
&-disabled &-icon {
|
69
|
+
.use-var(opacity, image-picker-disabled-opacity);
|
70
|
+
}
|
71
|
+
input {
|
72
|
+
position: absolute;
|
73
|
+
opacity: 0;
|
74
|
+
left: 0;
|
75
|
+
top: 0;
|
76
|
+
width: 100%;
|
77
|
+
height: 100%;
|
78
|
+
display: none;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
&-close {
|
82
|
+
position: absolute;
|
83
|
+
top: 0;
|
84
|
+
right: 0;
|
85
|
+
z-index: 2;
|
86
|
+
&-icon {
|
87
|
+
display: flex;
|
88
|
+
align-items: center;
|
89
|
+
justify-content: center;
|
90
|
+
.use-var(font-size, image-picker-close-font-size);
|
91
|
+
.use-var(width, image-picker-close-width);
|
92
|
+
.use-var(height, image-picker-close-height);
|
93
|
+
.use-var(color, image-picker-close-color);
|
94
|
+
.use-var(background, image-picker-close-background);
|
95
|
+
.use-var(border-radius, image-picker-close-border-radius);
|
96
|
+
}
|
97
|
+
}
|
98
|
+
&-error {
|
99
|
+
position: absolute;
|
100
|
+
top: 0;
|
101
|
+
left: 0;
|
102
|
+
width: 100%;
|
103
|
+
height: 100%;
|
104
|
+
display: flex;
|
105
|
+
flex-direction: column;
|
106
|
+
justify-content: center;
|
107
|
+
align-items: center;
|
108
|
+
.use-var(background, image-picker-error-background);
|
109
|
+
.use-var(color, image-picker-error-color);
|
110
|
+
.use-var(font-size, image-picker-font-size);
|
111
|
+
}
|
112
|
+
}
|
113
|
+
|
114
|
+
.@{prefix}-image-picker-disabled {
|
115
|
+
pointer-events: none;
|
116
|
+
}
|
@@ -268,9 +268,9 @@ declare const _default: React.ForwardRefExoticComponent<ImagePreviewProps & Reac
|
|
268
268
|
* @param {ImagePreviewProps} config configuration
|
269
269
|
* @returns {{ close: () => void; update: (newConfig: ImagePreviewProps) => void; }}
|
270
270
|
*/
|
271
|
-
open: (config: Pick<ImagePreviewProps & React.RefAttributes<ImagePreviewRef>, "style" | "ref" | "key" | "getContainer" | "className" | "onClose" | "onTouchMove" | "fit" | "loadingArea" | "errorArea" | "showLoading" | "showError" | "retryTime" | "staticLabel" | "onChange" | "onTouchEnd" | "onTouchStart" | "animateDurationSlide" | "loop" | "swipeable" | "renderIndicator" | "indicatorPos" | "showIndicator" | "hideSingleIndicator" | "spaceBetween" | "percentToChange" | "distanceToChange" | "speedToChange" | "lazyloadCount" | "onAfterChange" | "
|
271
|
+
open: (config: Pick<ImagePreviewProps & React.RefAttributes<ImagePreviewRef>, "style" | "ref" | "key" | "getContainer" | "className" | "onClose" | "onTouchMove" | "fit" | "loadingArea" | "errorArea" | "showLoading" | "showError" | "retryTime" | "staticLabel" | "onChange" | "onTouchEnd" | "onTouchStart" | "animateDurationSlide" | "loop" | "swipeable" | "renderIndicator" | "indicatorPos" | "showIndicator" | "hideSingleIndicator" | "spaceBetween" | "percentToChange" | "distanceToChange" | "speedToChange" | "lazyloadCount" | "onAfterChange" | "images" | "openIndex" | "displayDuration" | "replaceFallbackWhenLoaded" | "noselect" | "scrollBezier" | "swipeToClose" | "getMinScale" | "getMaxScale" | "getDoubleClickScale" | "getThumbBounds" | "onImageClick" | "onImageDoubleClick" | "onImageLongTap">) => {
|
272
272
|
close: () => void;
|
273
|
-
update: (newConfig: Pick<ImagePreviewProps & React.RefAttributes<ImagePreviewRef>, "style" | "ref" | "key" | "getContainer" | "className" | "onClose" | "onTouchMove" | "fit" | "loadingArea" | "errorArea" | "showLoading" | "showError" | "retryTime" | "staticLabel" | "onChange" | "onTouchEnd" | "onTouchStart" | "animateDurationSlide" | "loop" | "swipeable" | "renderIndicator" | "indicatorPos" | "showIndicator" | "hideSingleIndicator" | "spaceBetween" | "percentToChange" | "distanceToChange" | "speedToChange" | "lazyloadCount" | "onAfterChange" | "
|
273
|
+
update: (newConfig: Pick<ImagePreviewProps & React.RefAttributes<ImagePreviewRef>, "style" | "ref" | "key" | "getContainer" | "className" | "onClose" | "onTouchMove" | "fit" | "loadingArea" | "errorArea" | "showLoading" | "showError" | "retryTime" | "staticLabel" | "onChange" | "onTouchEnd" | "onTouchStart" | "animateDurationSlide" | "loop" | "swipeable" | "renderIndicator" | "indicatorPos" | "showIndicator" | "hideSingleIndicator" | "spaceBetween" | "percentToChange" | "distanceToChange" | "speedToChange" | "lazyloadCount" | "onAfterChange" | "images" | "openIndex" | "displayDuration" | "replaceFallbackWhenLoaded" | "noselect" | "scrollBezier" | "swipeToClose" | "getMinScale" | "getMaxScale" | "getDoubleClickScale" | "getThumbBounds" | "onImageClick" | "onImageDoubleClick" | "onImageLongTap">) => void; /**
|
274
274
|
* 是否可循环滑动
|
275
275
|
* @en Whether it can be swiped circularly
|
276
276
|
* @default false
|
package/umd/index.d.ts
CHANGED
@@ -21,6 +21,7 @@ export { default as Ellipsis } from './ellipsis';
|
|
21
21
|
export { default as Grid } from './grid';
|
22
22
|
export { default as Image } from './image';
|
23
23
|
export { default as ShowMonitor } from './show-monitor';
|
24
|
+
export { default as ImagePicker } from './image-picker';
|
24
25
|
export { default as ImagePreview } from './image-preview';
|
25
26
|
export { default as Input } from './input';
|
26
27
|
export { default as LoadMore } from './load-more';
|
package/umd/index.js
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
(function (global, factory) {
|
2
2
|
if (typeof define === "function" && define.amd) {
|
3
|
-
define(["exports", "./action-sheet", "./cell", "./loading", "./badge", "./avatar", "./button", "./carousel", "./toast", "./switch", "./checkbox", "./circle-progress", "./collapse", "./tabs", "./context-provider", "./dialog", "./count-down", "./date-picker", "./dropdown", "./dropdown-menu", "./ellipsis", "./grid", "./image", "./show-monitor", "./image-preview", "./input", "./load-more", "./masking", "./nav-bar", "./notice-bar", "./notify", "./pagination", "./picker", "./picker-view", "./popover", "./popup", "./popup-swiper", "./portal", "./progress", "./pull-refresh", "./radio", "./rate", "./slider", "./steps", "./sticky", "./swipe-load", "./tab-bar", "./tag", "./textarea", "./transition"], factory);
|
3
|
+
define(["exports", "./action-sheet", "./cell", "./loading", "./badge", "./avatar", "./button", "./carousel", "./toast", "./switch", "./checkbox", "./circle-progress", "./collapse", "./tabs", "./context-provider", "./dialog", "./count-down", "./date-picker", "./dropdown", "./dropdown-menu", "./ellipsis", "./grid", "./image", "./show-monitor", "./image-picker", "./image-preview", "./input", "./load-more", "./masking", "./nav-bar", "./notice-bar", "./notify", "./pagination", "./picker", "./picker-view", "./popover", "./popup", "./popup-swiper", "./portal", "./progress", "./pull-refresh", "./radio", "./rate", "./slider", "./steps", "./sticky", "./swipe-load", "./tab-bar", "./tag", "./textarea", "./transition"], factory);
|
4
4
|
} else if (typeof exports !== "undefined") {
|
5
|
-
factory(exports, require("./action-sheet"), require("./cell"), require("./loading"), require("./badge"), require("./avatar"), require("./button"), require("./carousel"), require("./toast"), require("./switch"), require("./checkbox"), require("./circle-progress"), require("./collapse"), require("./tabs"), require("./context-provider"), require("./dialog"), require("./count-down"), require("./date-picker"), require("./dropdown"), require("./dropdown-menu"), require("./ellipsis"), require("./grid"), require("./image"), require("./show-monitor"), require("./image-preview"), require("./input"), require("./load-more"), require("./masking"), require("./nav-bar"), require("./notice-bar"), require("./notify"), require("./pagination"), require("./picker"), require("./picker-view"), require("./popover"), require("./popup"), require("./popup-swiper"), require("./portal"), require("./progress"), require("./pull-refresh"), require("./radio"), require("./rate"), require("./slider"), require("./steps"), require("./sticky"), require("./swipe-load"), require("./tab-bar"), require("./tag"), require("./textarea"), require("./transition"));
|
5
|
+
factory(exports, require("./action-sheet"), require("./cell"), require("./loading"), require("./badge"), require("./avatar"), require("./button"), require("./carousel"), require("./toast"), require("./switch"), require("./checkbox"), require("./circle-progress"), require("./collapse"), require("./tabs"), require("./context-provider"), require("./dialog"), require("./count-down"), require("./date-picker"), require("./dropdown"), require("./dropdown-menu"), require("./ellipsis"), require("./grid"), require("./image"), require("./show-monitor"), require("./image-picker"), require("./image-preview"), require("./input"), require("./load-more"), require("./masking"), require("./nav-bar"), require("./notice-bar"), require("./notify"), require("./pagination"), require("./picker"), require("./picker-view"), require("./popover"), require("./popup"), require("./popup-swiper"), require("./portal"), require("./progress"), require("./pull-refresh"), require("./radio"), require("./rate"), require("./slider"), require("./steps"), require("./sticky"), require("./swipe-load"), require("./tab-bar"), require("./tag"), require("./textarea"), require("./transition"));
|
6
6
|
} else {
|
7
7
|
var mod = {
|
8
8
|
exports: {}
|
9
9
|
};
|
10
|
-
factory(mod.exports, global.actionSheet, global.cell, global.loading, global.badge, global.avatar, global.button, global.carousel, global.toast, global._switch, global.checkbox, global.circleProgress, global.collapse, global.tabs, global.contextProvider, global.dialog, global.countDown, global.datePicker, global.dropdown, global.dropdownMenu, global.ellipsis, global.grid, global.image, global.showMonitor, global.imagePreview, global.input, global.loadMore, global.masking, global.navBar, global.noticeBar, global.notify, global.pagination, global.picker, global.pickerView, global.popover, global.popup, global.popupSwiper, global.portal, global.progress, global.pullRefresh, global.radio, global.rate, global.slider, global.steps, global.sticky, global.swipeLoad, global.tabBar, global.tag, global.textarea, global.transition);
|
10
|
+
factory(mod.exports, global.actionSheet, global.cell, global.loading, global.badge, global.avatar, global.button, global.carousel, global.toast, global._switch, global.checkbox, global.circleProgress, global.collapse, global.tabs, global.contextProvider, global.dialog, global.countDown, global.datePicker, global.dropdown, global.dropdownMenu, global.ellipsis, global.grid, global.image, global.showMonitor, global.imagePicker, global.imagePreview, global.input, global.loadMore, global.masking, global.navBar, global.noticeBar, global.notify, global.pagination, global.picker, global.pickerView, global.popover, global.popup, global.popupSwiper, global.portal, global.progress, global.pullRefresh, global.radio, global.rate, global.slider, global.steps, global.sticky, global.swipeLoad, global.tabBar, global.tag, global.textarea, global.transition);
|
11
11
|
global.index = mod.exports;
|
12
12
|
}
|
13
|
-
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _actionSheet, _cell, _loading, _badge, _avatar, _button, _carousel, _toast, _switch, _checkbox, _circleProgress, _collapse, _tabs, _contextProvider, _dialog, _countDown, _datePicker, _dropdown, _dropdownMenu, _ellipsis, _grid, _image, _showMonitor, _imagePreview, _input, _loadMore, _masking, _navBar, _noticeBar, _notify, _pagination, _picker, _pickerView, _popover, _popup, _popupSwiper, _portal, _progress, _pullRefresh, _radio, _rate, _slider, _steps, _sticky, _swipeLoad, _tabBar, _tag, _textarea, _transition) {
|
13
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_exports, _actionSheet, _cell, _loading, _badge, _avatar, _button, _carousel, _toast, _switch, _checkbox, _circleProgress, _collapse, _tabs, _contextProvider, _dialog, _countDown, _datePicker, _dropdown, _dropdownMenu, _ellipsis, _grid, _image, _showMonitor, _imagePicker, _imagePreview, _input, _loadMore, _masking, _navBar, _noticeBar, _notify, _pagination, _picker, _pickerView, _popover, _popup, _popupSwiper, _portal, _progress, _pullRefresh, _radio, _rate, _slider, _steps, _sticky, _swipeLoad, _tabBar, _tag, _textarea, _transition) {
|
14
14
|
"use strict";
|
15
15
|
|
16
16
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
17
17
|
|
18
18
|
_exports.__esModule = true;
|
19
|
-
_exports.Transition = _exports.Toast = _exports.Textarea = _exports.Tag = _exports.Tabs = _exports.TabBar = _exports.Switch = _exports.SwipeLoad = _exports.Sticky = _exports.Steps = _exports.Slider = _exports.ShowMonitor = _exports.Rate = _exports.Radio = _exports.PullRefresh = _exports.Progress = _exports.Portal = _exports.PopupSwiper = _exports.Popup = _exports.Popover = _exports.PickerView = _exports.Picker = _exports.Pagination = _exports.Notify = _exports.NoticeBar = _exports.NavBar = _exports.Masking = _exports.Loading = _exports.LoadMore = _exports.Input = _exports.ImagePreview = _exports.Image = _exports.Grid = _exports.Ellipsis = _exports.DropdownMenu = _exports.Dropdown = _exports.Dialog = _exports.DatePicker = _exports.CountDown = _exports.ContextProvider = _exports.Collapse = _exports.CircleProgress = _exports.Checkbox = _exports.Cell = _exports.Carousel = _exports.Button = _exports.Badge = _exports.Avatar = _exports.ActionSheet = void 0;
|
19
|
+
_exports.Transition = _exports.Toast = _exports.Textarea = _exports.Tag = _exports.Tabs = _exports.TabBar = _exports.Switch = _exports.SwipeLoad = _exports.Sticky = _exports.Steps = _exports.Slider = _exports.ShowMonitor = _exports.Rate = _exports.Radio = _exports.PullRefresh = _exports.Progress = _exports.Portal = _exports.PopupSwiper = _exports.Popup = _exports.Popover = _exports.PickerView = _exports.Picker = _exports.Pagination = _exports.Notify = _exports.NoticeBar = _exports.NavBar = _exports.Masking = _exports.Loading = _exports.LoadMore = _exports.Input = _exports.ImagePreview = _exports.ImagePicker = _exports.Image = _exports.Grid = _exports.Ellipsis = _exports.DropdownMenu = _exports.Dropdown = _exports.Dialog = _exports.DatePicker = _exports.CountDown = _exports.ContextProvider = _exports.Collapse = _exports.CircleProgress = _exports.Checkbox = _exports.Cell = _exports.Carousel = _exports.Button = _exports.Badge = _exports.Avatar = _exports.ActionSheet = void 0;
|
20
20
|
_actionSheet = _interopRequireDefault(_actionSheet);
|
21
21
|
_exports.ActionSheet = _actionSheet.default;
|
22
22
|
_cell = _interopRequireDefault(_cell);
|
@@ -63,6 +63,8 @@
|
|
63
63
|
_exports.Image = _image.default;
|
64
64
|
_showMonitor = _interopRequireDefault(_showMonitor);
|
65
65
|
_exports.ShowMonitor = _showMonitor.default;
|
66
|
+
_imagePicker = _interopRequireDefault(_imagePicker);
|
67
|
+
_exports.ImagePicker = _imagePicker.default;
|
66
68
|
_imagePreview = _interopRequireDefault(_imagePreview);
|
67
69
|
_exports.ImagePreview = _imagePreview.default;
|
68
70
|
_input = _interopRequireDefault(_input);
|
@@ -59,7 +59,7 @@
|
|
59
59
|
.vertical .arco-steps-item-tail {
|
60
60
|
height: 100%;
|
61
61
|
width: 18PX ;
|
62
|
-
top:
|
62
|
+
top: 0.18rem ;
|
63
63
|
padding: 0.28rem 0 ;
|
64
64
|
}
|
65
65
|
.vertical .arco-steps-item-tail:after {
|
@@ -73,19 +73,7 @@
|
|
73
73
|
.finish .arco-steps-item-tail:after {
|
74
74
|
background: #165dff ;
|
75
75
|
}
|
76
|
-
.arco-steps-item-custom-icon
|
77
|
-
display: -webkit-box;
|
78
|
-
display: -webkit-flex;
|
79
|
-
display: flex;
|
80
|
-
-webkit-box-align: center;
|
81
|
-
-webkit-align-items: center;
|
82
|
-
align-items: center;
|
83
|
-
-webkit-box-pack: center;
|
84
|
-
-webkit-justify-content: center;
|
85
|
-
justify-content: center;
|
86
|
-
width: 20PX ;
|
87
|
-
height: 20PX ;
|
88
|
-
}
|
76
|
+
.arco-steps-item-custom-icon,
|
89
77
|
.arco-steps-item-icon {
|
90
78
|
display: -webkit-inline-box;
|
91
79
|
display: -webkit-inline-flex;
|
@@ -96,10 +84,12 @@
|
|
96
84
|
-webkit-box-pack: center;
|
97
85
|
-webkit-justify-content: center;
|
98
86
|
justify-content: center;
|
99
|
-
border-radius: 50%;
|
100
87
|
width: 18PX ;
|
101
88
|
height: 18PX ;
|
102
89
|
}
|
90
|
+
.arco-steps-item-icon {
|
91
|
+
border-radius: 50%;
|
92
|
+
}
|
103
93
|
.number.finish .arco-steps-item-icon {
|
104
94
|
background: #E8F3FF ;
|
105
95
|
}
|
@@ -47,7 +47,7 @@
|
|
47
47
|
.vertical & {
|
48
48
|
height: 100%;
|
49
49
|
.use-var(width, steps-icon-width);
|
50
|
-
.
|
50
|
+
.use-var(top, steps-tail-vertical-top);
|
51
51
|
.use-var(padding, steps-tail-vertical-padding);
|
52
52
|
|
53
53
|
&:after {
|
@@ -65,21 +65,17 @@
|
|
65
65
|
}
|
66
66
|
}
|
67
67
|
|
68
|
-
&-custom-icon
|
69
|
-
display: flex;
|
70
|
-
align-items: center;
|
71
|
-
justify-content: center;
|
72
|
-
.use-var(width, steps-custom-icon-width);
|
73
|
-
.use-var(height, steps-custom-icon-height);
|
74
|
-
}
|
75
|
-
|
68
|
+
&-custom-icon,
|
76
69
|
&-icon {
|
77
70
|
display: inline-flex;
|
78
71
|
align-items: center;
|
79
72
|
justify-content: center;
|
80
|
-
border-radius: 50%;
|
81
73
|
.use-var(width, steps-icon-width);
|
82
74
|
.use-var(height, steps-icon-height);
|
75
|
+
}
|
76
|
+
|
77
|
+
&-icon {
|
78
|
+
border-radius: 50%;
|
83
79
|
|
84
80
|
.number.finish & {
|
85
81
|
.use-var(background, steps-finish-icon-num-background);
|
package/umd/style.d.ts
CHANGED
package/umd/style.js
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
(function (global, factory) {
|
2
2
|
if (typeof define === "function" && define.amd) {
|
3
|
-
define(["../style/public.less", "./action-sheet/style", "./cell/style", "./loading/style", "./badge/style", "./avatar/style", "./button/style", "./carousel/style", "./toast/style", "./switch/style", "./checkbox/style", "./circle-progress/style", "./collapse/style", "./tabs/style", "./context-provider/style", "./dialog/style", "./count-down/style", "./date-picker/style", "./dropdown/style", "./dropdown-menu/style", "./ellipsis/style", "./grid/style", "./image/style", "./show-monitor/style", "./image-preview/style", "./input/style", "./load-more/style", "./masking/style", "./nav-bar/style", "./notice-bar/style", "./notify/style", "./pagination/style", "./picker/style", "./picker-view/style", "./popover/style", "./popup/style", "./popup-swiper/style", "./portal/style", "./progress/style", "./pull-refresh/style", "./radio/style", "./rate/style", "./slider/style", "./steps/style", "./sticky/style", "./swipe-load/style", "./tab-bar/style", "./tag/style", "./textarea/style", "./transition/style"], factory);
|
3
|
+
define(["../style/public.less", "./action-sheet/style", "./cell/style", "./loading/style", "./badge/style", "./avatar/style", "./button/style", "./carousel/style", "./toast/style", "./switch/style", "./checkbox/style", "./circle-progress/style", "./collapse/style", "./tabs/style", "./context-provider/style", "./dialog/style", "./count-down/style", "./date-picker/style", "./dropdown/style", "./dropdown-menu/style", "./ellipsis/style", "./grid/style", "./image/style", "./show-monitor/style", "./image-picker/style", "./image-preview/style", "./input/style", "./load-more/style", "./masking/style", "./nav-bar/style", "./notice-bar/style", "./notify/style", "./pagination/style", "./picker/style", "./picker-view/style", "./popover/style", "./popup/style", "./popup-swiper/style", "./portal/style", "./progress/style", "./pull-refresh/style", "./radio/style", "./rate/style", "./slider/style", "./steps/style", "./sticky/style", "./swipe-load/style", "./tab-bar/style", "./tag/style", "./textarea/style", "./transition/style"], factory);
|
4
4
|
} else if (typeof exports !== "undefined") {
|
5
|
-
factory(require("../style/public.less"), require("./action-sheet/style"), require("./cell/style"), require("./loading/style"), require("./badge/style"), require("./avatar/style"), require("./button/style"), require("./carousel/style"), require("./toast/style"), require("./switch/style"), require("./checkbox/style"), require("./circle-progress/style"), require("./collapse/style"), require("./tabs/style"), require("./context-provider/style"), require("./dialog/style"), require("./count-down/style"), require("./date-picker/style"), require("./dropdown/style"), require("./dropdown-menu/style"), require("./ellipsis/style"), require("./grid/style"), require("./image/style"), require("./show-monitor/style"), require("./image-preview/style"), require("./input/style"), require("./load-more/style"), require("./masking/style"), require("./nav-bar/style"), require("./notice-bar/style"), require("./notify/style"), require("./pagination/style"), require("./picker/style"), require("./picker-view/style"), require("./popover/style"), require("./popup/style"), require("./popup-swiper/style"), require("./portal/style"), require("./progress/style"), require("./pull-refresh/style"), require("./radio/style"), require("./rate/style"), require("./slider/style"), require("./steps/style"), require("./sticky/style"), require("./swipe-load/style"), require("./tab-bar/style"), require("./tag/style"), require("./textarea/style"), require("./transition/style"));
|
5
|
+
factory(require("../style/public.less"), require("./action-sheet/style"), require("./cell/style"), require("./loading/style"), require("./badge/style"), require("./avatar/style"), require("./button/style"), require("./carousel/style"), require("./toast/style"), require("./switch/style"), require("./checkbox/style"), require("./circle-progress/style"), require("./collapse/style"), require("./tabs/style"), require("./context-provider/style"), require("./dialog/style"), require("./count-down/style"), require("./date-picker/style"), require("./dropdown/style"), require("./dropdown-menu/style"), require("./ellipsis/style"), require("./grid/style"), require("./image/style"), require("./show-monitor/style"), require("./image-picker/style"), require("./image-preview/style"), require("./input/style"), require("./load-more/style"), require("./masking/style"), require("./nav-bar/style"), require("./notice-bar/style"), require("./notify/style"), require("./pagination/style"), require("./picker/style"), require("./picker-view/style"), require("./popover/style"), require("./popup/style"), require("./popup-swiper/style"), require("./portal/style"), require("./progress/style"), require("./pull-refresh/style"), require("./radio/style"), require("./rate/style"), require("./slider/style"), require("./steps/style"), require("./sticky/style"), require("./swipe-load/style"), require("./tab-bar/style"), require("./tag/style"), require("./textarea/style"), require("./transition/style"));
|
6
6
|
} else {
|
7
7
|
var mod = {
|
8
8
|
exports: {}
|
9
9
|
};
|
10
|
-
factory(global._public, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style);
|
10
|
+
factory(global._public, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style, global.style);
|
11
11
|
global.style = mod.exports;
|
12
12
|
}
|
13
|
-
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_public, _style, _style2, _style3, _style4, _style5, _style6, _style7, _style8, _style9, _style10, _style11, _style12, _style13, _style14, _style15, _style16, _style17, _style18, _style19, _style20, _style21, _style22, _style23, _style24, _style25, _style26, _style27, _style28, _style29, _style30, _style31, _style32, _style33, _style34, _style35, _style36, _style37, _style38, _style39, _style40, _style41, _style42, _style43, _style44, _style45, _style46, _style47, _style48, _style49) {
|
13
|
+
})(typeof globalThis !== "undefined" ? globalThis : typeof self !== "undefined" ? self : this, function (_public, _style, _style2, _style3, _style4, _style5, _style6, _style7, _style8, _style9, _style10, _style11, _style12, _style13, _style14, _style15, _style16, _style17, _style18, _style19, _style20, _style21, _style22, _style23, _style24, _style25, _style26, _style27, _style28, _style29, _style30, _style31, _style32, _style33, _style34, _style35, _style36, _style37, _style38, _style39, _style40, _style41, _style42, _style43, _style44, _style45, _style46, _style47, _style48, _style49, _style50) {
|
14
14
|
"use strict";
|
15
15
|
});
|