@trionesdev/antd-taro-react 0.0.2-beta.23 → 0.0.2-beta.25
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 +7 -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 +9 -1
- 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 +4 -4
- package/readme.md +23 -23
package/dist/Toast/style.scss
CHANGED
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
$toastCls: 'triones-antm-toast';
|
|
2
|
-
|
|
3
|
-
.#{$toastCls} {
|
|
4
|
-
position: fixed;
|
|
5
|
-
top: 0;
|
|
6
|
-
left: 0;
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
text-align: center;
|
|
10
|
-
pointer-events: none;
|
|
11
|
-
|
|
12
|
-
&-main {
|
|
13
|
-
|
|
14
|
-
padding: 12Px;
|
|
15
|
-
display: inline-block;
|
|
16
|
-
position: relative;
|
|
17
|
-
top: 50%;
|
|
18
|
-
transform: translateY(-50%);
|
|
19
|
-
width: auto;
|
|
20
|
-
max-width: 204px;
|
|
21
|
-
max-height: 70%;
|
|
22
|
-
overflow: auto;
|
|
23
|
-
color: #fff;
|
|
24
|
-
word-break: break-all;
|
|
25
|
-
background-color: rgba(0, 0, 0, .7);
|
|
26
|
-
border-radius: 8px;
|
|
27
|
-
pointer-events: all;
|
|
28
|
-
font-size: var(--adm-font-size-7);
|
|
29
|
-
line-height: 1.5;
|
|
30
|
-
box-sizing: border-box;
|
|
31
|
-
&-icon{
|
|
32
|
-
padding: 35Px 12Px;
|
|
33
|
-
min-width: 150Px;
|
|
34
|
-
.#{$toastCls}{
|
|
35
|
-
&-center{
|
|
36
|
-
&-center{
|
|
37
|
-
text-align: initial;
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
&-center{
|
|
45
|
-
display: flex;
|
|
46
|
-
flex-direction: column;
|
|
47
|
-
justify-content: center;
|
|
48
|
-
align-items: center;
|
|
49
|
-
gap: 8Px;
|
|
50
|
-
&-icon{
|
|
51
|
-
.triones-antm-icon{
|
|
52
|
-
font-size: 36Px;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
&-content{
|
|
56
|
-
display: inline-block;
|
|
57
|
-
color: #fff;
|
|
58
|
-
word-break: break-all;
|
|
59
|
-
pointer-events: all;
|
|
60
|
-
text-align: initial;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
}
|
|
1
|
+
$toastCls: 'triones-antm-toast';
|
|
2
|
+
|
|
3
|
+
.#{$toastCls} {
|
|
4
|
+
position: fixed;
|
|
5
|
+
top: 0;
|
|
6
|
+
left: 0;
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
text-align: center;
|
|
10
|
+
pointer-events: none;
|
|
11
|
+
|
|
12
|
+
&-main {
|
|
13
|
+
|
|
14
|
+
padding: 12Px;
|
|
15
|
+
display: inline-block;
|
|
16
|
+
position: relative;
|
|
17
|
+
top: 50%;
|
|
18
|
+
transform: translateY(-50%);
|
|
19
|
+
width: auto;
|
|
20
|
+
max-width: 204px;
|
|
21
|
+
max-height: 70%;
|
|
22
|
+
overflow: auto;
|
|
23
|
+
color: #fff;
|
|
24
|
+
word-break: break-all;
|
|
25
|
+
background-color: rgba(0, 0, 0, .7);
|
|
26
|
+
border-radius: 8px;
|
|
27
|
+
pointer-events: all;
|
|
28
|
+
font-size: var(--adm-font-size-7);
|
|
29
|
+
line-height: 1.5;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
&-icon{
|
|
32
|
+
padding: 35Px 12Px;
|
|
33
|
+
min-width: 150Px;
|
|
34
|
+
.#{$toastCls}{
|
|
35
|
+
&-center{
|
|
36
|
+
&-center{
|
|
37
|
+
text-align: initial;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&-center{
|
|
45
|
+
display: flex;
|
|
46
|
+
flex-direction: column;
|
|
47
|
+
justify-content: center;
|
|
48
|
+
align-items: center;
|
|
49
|
+
gap: 8Px;
|
|
50
|
+
&-icon{
|
|
51
|
+
.triones-antm-icon{
|
|
52
|
+
font-size: 36Px;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
&-content{
|
|
56
|
+
display: inline-block;
|
|
57
|
+
color: #fff;
|
|
58
|
+
word-break: break-all;
|
|
59
|
+
pointer-events: all;
|
|
60
|
+
text-align: initial;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
@use "../style/variable" as variable;
|
|
2
|
-
|
|
3
|
-
$verificationCodeInputCls: 'triones-antm-verification-code-input';
|
|
4
|
-
|
|
5
|
-
.#{$verificationCodeInputCls} {
|
|
6
|
-
&-send {
|
|
7
|
-
padding-inline: variable.$trionesPaddingContentHorizontal;
|
|
8
|
-
cursor: pointer;
|
|
9
|
-
|
|
10
|
-
&:hover {
|
|
11
|
-
color: variable.$trionesColorPrimary;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&-counting {
|
|
16
|
-
padding-inline: variable.$trionesPaddingContentHorizontal;
|
|
17
|
-
cursor: not-allowed;
|
|
18
|
-
color: variable.$trionesColorTextDisabled;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
1
|
+
@use "../style/variable" as variable;
|
|
2
|
+
|
|
3
|
+
$verificationCodeInputCls: 'triones-antm-verification-code-input';
|
|
4
|
+
|
|
5
|
+
.#{$verificationCodeInputCls} {
|
|
6
|
+
&-send {
|
|
7
|
+
padding-inline: variable.$trionesPaddingContentHorizontal;
|
|
8
|
+
cursor: pointer;
|
|
9
|
+
|
|
10
|
+
&:hover {
|
|
11
|
+
color: variable.$trionesColorPrimary;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
&-counting {
|
|
16
|
+
padding-inline: variable.$trionesPaddingContentHorizontal;
|
|
17
|
+
cursor: not-allowed;
|
|
18
|
+
color: variable.$trionesColorTextDisabled;
|
|
19
|
+
}
|
|
20
|
+
}
|
package/dist/style/variable.scss
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
@forward "@trionesdev/antd-mobile-base-react/dist/style/variable";
|
|
2
|
-
|
|
3
|
-
@mixin h5-label-size {
|
|
4
|
-
height: 1.47059em;
|
|
5
|
-
line-height: 1.47059;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
@mixin h5-input-size {
|
|
9
|
-
height: 1.47059em;
|
|
10
|
-
line-height: 1.47059;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
@mixin h5-line-height {
|
|
14
|
-
line-height: 1.47059;
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
@mixin wx-input-size {
|
|
18
|
-
min-height: 1.4rem;
|
|
19
|
-
line-height: 1.4rem;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
@mixin wx-line-height {
|
|
24
|
-
line-height: 1.4rem;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
page {
|
|
28
|
-
font-size: 14Px;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
view {
|
|
32
|
-
box-sizing: border-box;
|
|
33
|
-
font-size: 14Px;
|
|
34
|
-
}
|
|
1
|
+
@forward "@trionesdev/antd-mobile-base-react/dist/style/variable";
|
|
2
|
+
|
|
3
|
+
@mixin h5-label-size {
|
|
4
|
+
height: 1.47059em;
|
|
5
|
+
line-height: 1.47059;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin h5-input-size {
|
|
9
|
+
height: 1.47059em;
|
|
10
|
+
line-height: 1.47059;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
@mixin h5-line-height {
|
|
14
|
+
line-height: 1.47059;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@mixin wx-input-size {
|
|
18
|
+
min-height: 1.4rem;
|
|
19
|
+
line-height: 1.4rem;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
@mixin wx-line-height {
|
|
24
|
+
line-height: 1.4rem;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
page {
|
|
28
|
+
font-size: 14Px;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
view {
|
|
32
|
+
box-sizing: border-box;
|
|
33
|
+
font-size: 14Px;
|
|
34
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trionesdev/antd-taro-react",
|
|
3
|
-
"version": "0.0.2-beta.
|
|
3
|
+
"version": "0.0.2-beta.25",
|
|
4
4
|
"description": "antd taro react",
|
|
5
5
|
"module": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -56,12 +56,12 @@
|
|
|
56
56
|
},
|
|
57
57
|
"dependencies": {
|
|
58
58
|
"@tarojs/components": "4.2.0",
|
|
59
|
-
"@trionesdev/antd-mobile-base-react": "0.0.2-beta.
|
|
60
|
-
"@trionesdev/antd-mobile-icons-react": "0.0.2-beta.
|
|
59
|
+
"@trionesdev/antd-mobile-base-react": "0.0.2-beta.25",
|
|
60
|
+
"@trionesdev/antd-mobile-icons-react": "0.0.2-beta.25",
|
|
61
61
|
"crypto-js": "^4.2.0",
|
|
62
62
|
"dayjs": "^1.11.19",
|
|
63
63
|
"rc-field-form": "^2.7.0",
|
|
64
64
|
"react": "^18.0.0"
|
|
65
65
|
},
|
|
66
|
-
"gitHead": "
|
|
66
|
+
"gitHead": "21c0b5deaf9878fe78a4dfe4b2427ca78ecc1a6d"
|
|
67
67
|
}
|
package/readme.md
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# @trionesdev/antd-taro-react
|
|
2
|
-
|
|
3
|
-
[](https://npmjs.com/package/@trionesdev/antd-taro-react)
|
|
4
|
-
[](https://npmjs.com/package/@trionesdev/antd-taro-react)
|
|
5
|
-
|
|
6
|
-
## Install
|
|
7
|
-
|
|
8
|
-
```bash
|
|
9
|
-
$ pnpm install
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
```bash
|
|
13
|
-
$ npm run dev
|
|
14
|
-
$ npm run build
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
## Options
|
|
18
|
-
|
|
19
|
-
TODO
|
|
20
|
-
|
|
21
|
-
## LICENSE
|
|
22
|
-
|
|
23
|
-
MIT
|
|
1
|
+
# @trionesdev/antd-taro-react
|
|
2
|
+
|
|
3
|
+
[](https://npmjs.com/package/@trionesdev/antd-taro-react)
|
|
4
|
+
[](https://npmjs.com/package/@trionesdev/antd-taro-react)
|
|
5
|
+
|
|
6
|
+
## Install
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
$ pnpm install
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
```bash
|
|
13
|
+
$ npm run dev
|
|
14
|
+
$ npm run build
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## Options
|
|
18
|
+
|
|
19
|
+
TODO
|
|
20
|
+
|
|
21
|
+
## LICENSE
|
|
22
|
+
|
|
23
|
+
MIT
|