@trionesdev/antd-taro-react 0.0.2-beta.15 → 0.0.2-beta.17
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/LICENSE +21 -21
- package/dist/ActionSheet/style.scss +52 -52
- package/dist/Button/button.d.ts +2 -2
- package/dist/Button/button.js +2 -3
- package/dist/Button/style.scss +246 -235
- package/dist/Calendar/style.scss +88 -88
- package/dist/Calendar/touchable-calendar-grid.js +9 -9
- package/dist/CalendarDatetimePicker/style.scss +62 -62
- package/dist/CalendarDatetimePickerCell/CalendarDatetimePickerCell.d.ts +2 -2
- package/dist/CalendarDatetimePickerCell/CalendarDatetimePickerCell.js +3 -3
- package/dist/CalendarPicker/style.scss +32 -32
- package/dist/CalendarPickerCell/CalendarPickerCell.d.ts +2 -2
- package/dist/CalendarPickerCell/CalendarPickerCell.js +3 -3
- package/dist/CalendarPickerCell/CalendarRangePickerCell.d.ts +2 -2
- package/dist/CalendarPickerCell/CalendarRangePickerCell.js +3 -3
- package/dist/CascaderPicker/style.scss +45 -45
- package/dist/CascaderPickerCell/CascaderPickerCell.d.ts +2 -2
- package/dist/CascaderPickerCell/CascaderPickerCell.js +3 -3
- package/dist/DatePicker/style.scss +41 -41
- package/dist/FetchPicker/FetchPicker.d.ts +113 -0
- package/dist/FetchPicker/FetchPicker.js +322 -0
- package/dist/FetchPicker/index.d.ts +4 -0
- package/dist/FetchPicker/index.js +3 -0
- package/dist/FetchPicker/styles.scss +118 -0
- package/dist/FloatButton/style.scss +126 -126
- package/dist/Form/FormItem/{form-item-input.d.ts → form-item-content.d.ts} +3 -1
- package/dist/Form/FormItem/{form-item-input.js → form-item-content.js} +2 -2
- package/dist/Form/FormItem/form-item-label.js +2 -8
- package/dist/Form/FormItem/form-item.d.ts +3 -2
- package/dist/Form/FormItem/form-item.js +23 -19
- package/dist/Form/index.d.ts +2 -2
- package/dist/Form/style.scss +100 -78
- package/dist/FormCell/index.d.ts +3 -0
- package/dist/FormCell/index.js +2 -0
- package/dist/ImagesPreview/style.scss +34 -34
- package/dist/ImagesWall/style.scss +70 -70
- package/dist/Input/index.scss +282 -267
- package/dist/Input/input-affix-wrapper.js +1 -1
- package/dist/Input/taro-input.js +16 -3
- package/dist/Input/types.d.ts +3 -3
- package/dist/Loading/index.d.ts +4 -0
- package/dist/Loading/index.js +3 -0
- package/dist/Overlay/style.scss +20 -20
- package/dist/Picker/Picker.d.ts +8 -0
- package/dist/Picker/Picker.js +6 -7
- package/dist/Picker/style.scss +41 -41
- package/dist/PickerView/style.scss +13 -13
- package/dist/PickerView/types.d.ts +2 -2
- package/dist/Popup/style.scss +126 -124
- package/dist/SideBar/side-bar.js +6 -6
- package/dist/SideBar/style.scss +85 -85
- package/dist/Stepper/index.d.ts +3 -0
- package/dist/Stepper/index.js +2 -0
- package/dist/Toast/style.scss +63 -63
- package/dist/VerificationCodeInput/style.scss +20 -20
- package/dist/index.d.ts +10 -3
- package/dist/index.js +4 -1
- package/dist/style/variable.scss +34 -20
- package/package.json +20 -24
- package/readme.md +23 -23
- package/dist/SpinLoading/index.d.ts +0 -3
- package/dist/SpinLoading/index.js +0 -2
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
$imagePreviewCls: 'triones-antm-image-preview';
|
|
2
|
-
|
|
3
|
-
.#{$imagePreviewCls} {
|
|
4
|
-
height: 100%;
|
|
5
|
-
width: 100%;
|
|
6
|
-
position: relative;
|
|
7
|
-
background-color: rgba(0, 0, 0, 0.8);
|
|
8
|
-
|
|
9
|
-
&-head {
|
|
10
|
-
position: fixed;
|
|
11
|
-
top: 50Px;
|
|
12
|
-
left: 0;
|
|
13
|
-
right: 0;
|
|
14
|
-
display: flex;
|
|
15
|
-
justify-content: center;
|
|
16
|
-
align-items: center;
|
|
17
|
-
color: white;
|
|
18
|
-
font-size: 14Px;
|
|
19
|
-
z-index: 1000;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
&-content {
|
|
23
|
-
height: 100%;
|
|
24
|
-
width: 100%;
|
|
25
|
-
:global{
|
|
26
|
-
.triones-antm-image-img{
|
|
27
|
-
height: auto!important;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
&-foot {
|
|
33
|
-
}
|
|
34
|
-
}
|
|
1
|
+
$imagePreviewCls: 'triones-antm-image-preview';
|
|
2
|
+
|
|
3
|
+
.#{$imagePreviewCls} {
|
|
4
|
+
height: 100%;
|
|
5
|
+
width: 100%;
|
|
6
|
+
position: relative;
|
|
7
|
+
background-color: rgba(0, 0, 0, 0.8);
|
|
8
|
+
|
|
9
|
+
&-head {
|
|
10
|
+
position: fixed;
|
|
11
|
+
top: 50Px;
|
|
12
|
+
left: 0;
|
|
13
|
+
right: 0;
|
|
14
|
+
display: flex;
|
|
15
|
+
justify-content: center;
|
|
16
|
+
align-items: center;
|
|
17
|
+
color: white;
|
|
18
|
+
font-size: 14Px;
|
|
19
|
+
z-index: 1000;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-content {
|
|
23
|
+
height: 100%;
|
|
24
|
+
width: 100%;
|
|
25
|
+
:global{
|
|
26
|
+
.triones-antm-image-img{
|
|
27
|
+
height: auto!important;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
&-foot {
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -1,70 +1,70 @@
|
|
|
1
|
-
@use "../style/variable" as variable;
|
|
2
|
-
|
|
3
|
-
$imagesWallCls: 'triones-antm-images-wall';
|
|
4
|
-
|
|
5
|
-
.#{$imagesWallCls} {
|
|
6
|
-
display: grid;
|
|
7
|
-
grid-gap: 4PX;
|
|
8
|
-
width: 100%;
|
|
9
|
-
|
|
10
|
-
&-item {
|
|
11
|
-
aspect-ratio: 1;
|
|
12
|
-
border-radius: variable.$trionesBorderRadius;
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
position: relative;
|
|
15
|
-
|
|
16
|
-
&-inner {
|
|
17
|
-
width: 100%;
|
|
18
|
-
height: 100%;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-close {
|
|
22
|
-
position: absolute;
|
|
23
|
-
top: 0;
|
|
24
|
-
right: 0;
|
|
25
|
-
background-color: rgb(0 0 0 / 63%);
|
|
26
|
-
width: 20Px;
|
|
27
|
-
height: 20Px;
|
|
28
|
-
border-bottom-left-radius: variable.$trionesBorderRadius;
|
|
29
|
-
display: flex;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
align-items: center;
|
|
32
|
-
|
|
33
|
-
.triones-antm-icon {
|
|
34
|
-
color: white;
|
|
35
|
-
font-size: 12Px;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&-input {
|
|
40
|
-
position: absolute;
|
|
41
|
-
width: 100%;
|
|
42
|
-
height: 100%;
|
|
43
|
-
top: 0;
|
|
44
|
-
left: 0;
|
|
45
|
-
margin: 0;
|
|
46
|
-
padding: 0;
|
|
47
|
-
z-index: 1;
|
|
48
|
-
opacity: 0;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-image {
|
|
52
|
-
width: 100%;
|
|
53
|
-
height: 100%;
|
|
54
|
-
object-fit: cover;
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
&-upload {
|
|
59
|
-
display: flex;
|
|
60
|
-
justify-content: center;
|
|
61
|
-
align-items: center;
|
|
62
|
-
background-color: variable.$trionesColorBgTextActive;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
&-action-sheet {
|
|
66
|
-
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
|
|
1
|
+
@use "../style/variable" as variable;
|
|
2
|
+
|
|
3
|
+
$imagesWallCls: 'triones-antm-images-wall';
|
|
4
|
+
|
|
5
|
+
.#{$imagesWallCls} {
|
|
6
|
+
display: grid;
|
|
7
|
+
grid-gap: 4PX;
|
|
8
|
+
width: 100%;
|
|
9
|
+
|
|
10
|
+
&-item {
|
|
11
|
+
aspect-ratio: 1;
|
|
12
|
+
border-radius: variable.$trionesBorderRadius;
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
position: relative;
|
|
15
|
+
|
|
16
|
+
&-inner {
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&-close {
|
|
22
|
+
position: absolute;
|
|
23
|
+
top: 0;
|
|
24
|
+
right: 0;
|
|
25
|
+
background-color: rgb(0 0 0 / 63%);
|
|
26
|
+
width: 20Px;
|
|
27
|
+
height: 20Px;
|
|
28
|
+
border-bottom-left-radius: variable.$trionesBorderRadius;
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
align-items: center;
|
|
32
|
+
|
|
33
|
+
.triones-antm-icon {
|
|
34
|
+
color: white;
|
|
35
|
+
font-size: 12Px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&-input {
|
|
40
|
+
position: absolute;
|
|
41
|
+
width: 100%;
|
|
42
|
+
height: 100%;
|
|
43
|
+
top: 0;
|
|
44
|
+
left: 0;
|
|
45
|
+
margin: 0;
|
|
46
|
+
padding: 0;
|
|
47
|
+
z-index: 1;
|
|
48
|
+
opacity: 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-image {
|
|
52
|
+
width: 100%;
|
|
53
|
+
height: 100%;
|
|
54
|
+
object-fit: cover;
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
&-upload {
|
|
59
|
+
display: flex;
|
|
60
|
+
justify-content: center;
|
|
61
|
+
align-items: center;
|
|
62
|
+
background-color: variable.$trionesColorBgTextActive;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
&-action-sheet {
|
|
66
|
+
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
|