@trionesdev/antd-taro-react 0.0.2-beta.22 → 0.0.2-beta.24
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/style.scss +246 -246
- 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/CalendarPicker/style.scss +32 -32
- package/dist/CascaderPicker/style.scss +45 -45
- package/dist/DatePicker/style.scss +41 -41
- package/dist/FetchPicker/styles.scss +130 -130
- package/dist/FloatButton/style.scss +126 -126
- package/dist/Form/style.scss +100 -100
- package/dist/ImagesPreview/style.scss +34 -34
- package/dist/ImagesWall/style.scss +70 -70
- package/dist/Input/index.scss +282 -282
- package/dist/Overlay/style.scss +20 -20
- package/dist/Picker/Picker.d.ts +1 -1
- package/dist/Picker/Picker.js +6 -5
- package/dist/Picker/style.scss +41 -41
- package/dist/PickerView/style.scss +13 -13
- package/dist/Popup/Popup.d.ts +12 -0
- package/dist/Popup/Popup.js +14 -4
- package/dist/Popup/style.scss +126 -126
- package/dist/SideBar/side-bar.js +6 -6
- package/dist/SideBar/style.scss +85 -85
- package/dist/Toast/style.scss +63 -63
- package/dist/VerificationCodeInput/style.scss +20 -20
- package/dist/style/variable.scss +34 -34
- package/package.json +17 -15
- package/readme.md +23 -23
package/dist/Form/style.scss
CHANGED
|
@@ -1,100 +1,100 @@
|
|
|
1
|
-
@use "../style/variable" as variable;
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
$cls-prefix-form-item: 'triones-antm-form-item';
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
.#{$cls-prefix-form-item} {
|
|
8
|
-
&.h5 {
|
|
9
|
-
@include variable.h5-line-height;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
&.wx {
|
|
13
|
-
@include variable.wx-input-size;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-label {
|
|
17
|
-
font-size: variable.$trionesFontSize;
|
|
18
|
-
color: #6F6F6F;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
&-wrapper {
|
|
22
|
-
//display: flex;
|
|
23
|
-
//align-items: center;
|
|
24
|
-
height: 100%;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
&-required-mark {
|
|
28
|
-
display: inline-block;
|
|
29
|
-
color: variable.$trionesColorError;
|
|
30
|
-
width: 8Px;
|
|
31
|
-
margin-left: -8Px;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
&-content {
|
|
37
|
-
|
|
38
|
-
&-end {
|
|
39
|
-
text-align: end;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.#{$cls-prefix-form-item} {
|
|
43
|
-
&-error {
|
|
44
|
-
font-size: variable.$trionesFontSizeSm;
|
|
45
|
-
color: variable.$trionesColorError;
|
|
46
|
-
line-height: normal;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
&-horizontal {
|
|
52
|
-
display: flex;
|
|
53
|
-
|
|
54
|
-
.#{$cls-prefix-form-item} {
|
|
55
|
-
&-label {
|
|
56
|
-
padding-block: 12Px;
|
|
57
|
-
flex-shrink: 1;
|
|
58
|
-
min-width: 0;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&-content {
|
|
62
|
-
padding-block: 12Px;
|
|
63
|
-
flex: 1;
|
|
64
|
-
flex-shrink: 1;
|
|
65
|
-
min-width: 0;
|
|
66
|
-
|
|
67
|
-
&-end {
|
|
68
|
-
text-align: end;
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.#{$cls-prefix-form-item} {
|
|
74
|
-
&-start {
|
|
75
|
-
align-items: flex-start;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&-center {
|
|
79
|
-
//align-items: center;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&-vertical {
|
|
85
|
-
.#{$cls-prefix-form-item} {
|
|
86
|
-
&-label {
|
|
87
|
-
margin-bottom: 4Px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
&-content {
|
|
91
|
-
padding-block-end: 8Px;
|
|
92
|
-
}
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&-hidden {
|
|
98
|
-
display: none;
|
|
99
|
-
}
|
|
100
|
-
}
|
|
1
|
+
@use "../style/variable" as variable;
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
$cls-prefix-form-item: 'triones-antm-form-item';
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
.#{$cls-prefix-form-item} {
|
|
8
|
+
&.h5 {
|
|
9
|
+
@include variable.h5-line-height;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
&.wx {
|
|
13
|
+
@include variable.wx-input-size;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-label {
|
|
17
|
+
font-size: variable.$trionesFontSize;
|
|
18
|
+
color: #6F6F6F;
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
&-wrapper {
|
|
22
|
+
//display: flex;
|
|
23
|
+
//align-items: center;
|
|
24
|
+
height: 100%;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-required-mark {
|
|
28
|
+
display: inline-block;
|
|
29
|
+
color: variable.$trionesColorError;
|
|
30
|
+
width: 8Px;
|
|
31
|
+
margin-left: -8Px;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&-content {
|
|
37
|
+
|
|
38
|
+
&-end {
|
|
39
|
+
text-align: end;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.#{$cls-prefix-form-item} {
|
|
43
|
+
&-error {
|
|
44
|
+
font-size: variable.$trionesFontSizeSm;
|
|
45
|
+
color: variable.$trionesColorError;
|
|
46
|
+
line-height: normal;
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
&-horizontal {
|
|
52
|
+
display: flex;
|
|
53
|
+
|
|
54
|
+
.#{$cls-prefix-form-item} {
|
|
55
|
+
&-label {
|
|
56
|
+
padding-block: 12Px;
|
|
57
|
+
flex-shrink: 1;
|
|
58
|
+
min-width: 0;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&-content {
|
|
62
|
+
padding-block: 12Px;
|
|
63
|
+
flex: 1;
|
|
64
|
+
flex-shrink: 1;
|
|
65
|
+
min-width: 0;
|
|
66
|
+
|
|
67
|
+
&-end {
|
|
68
|
+
text-align: end;
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.#{$cls-prefix-form-item} {
|
|
74
|
+
&-start {
|
|
75
|
+
align-items: flex-start;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&-center {
|
|
79
|
+
//align-items: center;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
&-vertical {
|
|
85
|
+
.#{$cls-prefix-form-item} {
|
|
86
|
+
&-label {
|
|
87
|
+
margin-bottom: 4Px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
&-content {
|
|
91
|
+
padding-block-end: 8Px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
&-hidden {
|
|
98
|
+
display: none;
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -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
|
+
|