taro-react-uilib 1.4.29 → 1.4.30-0
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/dist/components/AmountInput/index.js +1 -1
- package/dist/components/AmountInput/index.js.map +1 -1
- package/dist/components/Icon/index.js.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/styles/components/amountinput.scss +19 -2
- package/dist/styles/components/font/iconfont.ttf +0 -0
- package/dist/styles/components/font/iconfont.woff +0 -0
- package/dist/styles/components/font/iconfont.woff2 +0 -0
- package/dist/styles/components/icon.scss +13 -1
- package/package.json +1 -1
- package/types/components/Icon/index.d.ts +1 -1
|
@@ -6,12 +6,14 @@
|
|
|
6
6
|
font-family: PingFangSC, PingFang SC;
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
background-color: #fff;
|
|
9
|
+
|
|
9
10
|
&-title {
|
|
10
11
|
font-size: 24px;
|
|
11
12
|
color: #666666;
|
|
12
13
|
line-height: 1.5;
|
|
13
14
|
padding: 28px 0 0;
|
|
14
15
|
}
|
|
16
|
+
|
|
15
17
|
&-top {
|
|
16
18
|
display: flex;
|
|
17
19
|
justify-content: space-between;
|
|
@@ -20,9 +22,11 @@
|
|
|
20
22
|
border-bottom: 2px solid #eee;
|
|
21
23
|
align-items: baseline;
|
|
22
24
|
position: relative;
|
|
25
|
+
|
|
23
26
|
&-unit {
|
|
24
27
|
font-size: 36px;
|
|
25
28
|
}
|
|
29
|
+
|
|
26
30
|
&-amount {
|
|
27
31
|
display: flex;
|
|
28
32
|
align-items: center;
|
|
@@ -31,6 +35,7 @@
|
|
|
31
35
|
line-height: 1;
|
|
32
36
|
// height: 128px;
|
|
33
37
|
position: relative;
|
|
38
|
+
|
|
34
39
|
&-num {
|
|
35
40
|
font-size: 64px;
|
|
36
41
|
display: flex;
|
|
@@ -39,9 +44,11 @@
|
|
|
39
44
|
font-family: DIN Alternate;
|
|
40
45
|
color: #333;
|
|
41
46
|
font-weight: bold;
|
|
47
|
+
|
|
42
48
|
&-key {
|
|
43
49
|
display: inline-block;
|
|
44
50
|
}
|
|
51
|
+
|
|
45
52
|
&-placeholder {
|
|
46
53
|
font-size: 28px;
|
|
47
54
|
font-family: PingFang SC-Regular, PingFang SC;
|
|
@@ -50,6 +57,7 @@
|
|
|
50
57
|
position: absolute;
|
|
51
58
|
left: 32px;
|
|
52
59
|
}
|
|
60
|
+
|
|
53
61
|
&-cursor {
|
|
54
62
|
&.focus {
|
|
55
63
|
width: 4px;
|
|
@@ -61,6 +69,7 @@
|
|
|
61
69
|
}
|
|
62
70
|
}
|
|
63
71
|
}
|
|
72
|
+
|
|
64
73
|
&-shortcut {
|
|
65
74
|
&-text {
|
|
66
75
|
padding: 0 20px;
|
|
@@ -76,6 +85,7 @@
|
|
|
76
85
|
}
|
|
77
86
|
}
|
|
78
87
|
}
|
|
88
|
+
|
|
79
89
|
&-error {
|
|
80
90
|
font-size: 20px;
|
|
81
91
|
font-family: PingFang SC-Regular, PingFang SC;
|
|
@@ -87,28 +97,34 @@
|
|
|
87
97
|
left: 0;
|
|
88
98
|
}
|
|
89
99
|
}
|
|
100
|
+
|
|
90
101
|
&-slot {
|
|
91
102
|
margin-top: 8px;
|
|
92
103
|
}
|
|
104
|
+
|
|
93
105
|
&-bottom {
|
|
94
106
|
color: #999;
|
|
95
107
|
display: flex;
|
|
96
108
|
justify-content: space-between;
|
|
97
109
|
margin: 20px 0;
|
|
110
|
+
|
|
98
111
|
&-range {
|
|
99
112
|
font-size: 26px;
|
|
100
113
|
font-family: PingFang SC-Regular, PingFang SC;
|
|
101
114
|
font-weight: 400;
|
|
115
|
+
|
|
102
116
|
&-number {
|
|
103
117
|
color: #333;
|
|
104
118
|
display: inline-block;
|
|
105
119
|
}
|
|
106
120
|
}
|
|
121
|
+
|
|
107
122
|
&-tip {
|
|
108
123
|
font-size: 24px;
|
|
124
|
+
|
|
109
125
|
&-update {
|
|
110
126
|
display: inline-block;
|
|
111
|
-
color:
|
|
127
|
+
color: #4739DF;
|
|
112
128
|
}
|
|
113
129
|
}
|
|
114
130
|
}
|
|
@@ -118,7 +134,8 @@
|
|
|
118
134
|
from {
|
|
119
135
|
opacity: 1;
|
|
120
136
|
}
|
|
137
|
+
|
|
121
138
|
to {
|
|
122
139
|
opacity: 0;
|
|
123
140
|
}
|
|
124
|
-
}
|
|
141
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -24,6 +24,18 @@
|
|
|
24
24
|
font-size: 20PX;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
+
.xh-icon-star:before {
|
|
28
|
+
content: "\e63e";
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.xh-icon-shopCart:before {
|
|
32
|
+
content: "\e63c";
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.xh-icon-medal:before {
|
|
36
|
+
content: "\e63d";
|
|
37
|
+
}
|
|
38
|
+
|
|
27
39
|
.xh-icon-download:before {
|
|
28
40
|
content: "\e63b";
|
|
29
41
|
}
|
|
@@ -267,4 +279,4 @@
|
|
|
267
279
|
|
|
268
280
|
.xh-icon-arrowRight:before {
|
|
269
281
|
content: "\e603";
|
|
270
|
-
}
|
|
282
|
+
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import type { StandardLonghandProperties } from "csstype";
|
|
3
3
|
import { XHComponentCommonProps } from "../../types";
|
|
4
|
-
export declare type XHIcon = "prompt" | "score" | "info" | "failure" | "success" | "loading" | "back" | "notice" | "scan" | "light" | "faceScan" | "delete" | "radioFull" | "checkboxFull" | "checkedSquare" | "checked2" | "arrowTop" | "notice2" | "position" | "contacts" | "billFull" | "bill2" | "bill3" | "bill4" | "edit" | "editFull" | "camera" | "close" | "gift" | "message" | "user" | "wenhao" | "kefu" | "play" | "arrowLeft" | "arrowRight" | "keyboardClose" | "add" | "tongxunlu" | "zhuyi" | "duigou" | "edit2" | "alipay" | "wechat" | "friendPay" | "pen" | "location" | "search" | "qa" | "thumbsUp" | "thumbsDown" | "thumbsUpFull" | "thumbsDownFull" | "waiting" | "scan2" | "safety" | "report" | "forbidden" | "unlock" | "tel" | "download" | (string & {});
|
|
4
|
+
export declare type XHIcon = "prompt" | "score" | "info" | "failure" | "success" | "loading" | "back" | "notice" | "scan" | "light" | "faceScan" | "delete" | "radioFull" | "checkboxFull" | "checkedSquare" | "checked2" | "arrowTop" | "notice2" | "position" | "contacts" | "billFull" | "bill2" | "bill3" | "bill4" | "edit" | "editFull" | "camera" | "close" | "gift" | "message" | "user" | "wenhao" | "kefu" | "play" | "arrowLeft" | "arrowRight" | "keyboardClose" | "add" | "tongxunlu" | "zhuyi" | "duigou" | "edit2" | "alipay" | "wechat" | "friendPay" | "pen" | "location" | "search" | "qa" | "thumbsUp" | "thumbsDown" | "thumbsUpFull" | "thumbsDownFull" | "waiting" | "scan2" | "safety" | "report" | "forbidden" | "unlock" | "tel" | "download" | "medal" | "shopCart" | "star" | (string & {});
|
|
5
5
|
export declare type XHIconProps = {
|
|
6
6
|
icon: XHIcon;
|
|
7
7
|
size?: number;
|