@tarojs/taro 3.4.6 → 3.5.0-alpha.1
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/html.css +50 -14
- package/html5.css +167 -64
- package/package.json +5 -5
- package/types/compile.d.ts +32 -0
- package/types/taro.config.d.ts +2 -0
package/html.css
CHANGED
|
@@ -33,62 +33,78 @@
|
|
|
33
33
|
display: block;
|
|
34
34
|
unicode-bidi: embed;
|
|
35
35
|
}
|
|
36
|
+
|
|
36
37
|
.h5-li {
|
|
37
38
|
display: list-item;
|
|
38
39
|
}
|
|
40
|
+
|
|
39
41
|
.h5-head {
|
|
40
42
|
display: none;
|
|
41
43
|
}
|
|
44
|
+
|
|
42
45
|
.h5-table {
|
|
43
46
|
display: table;
|
|
47
|
+
border-spacing: 2px;
|
|
44
48
|
}
|
|
49
|
+
|
|
45
50
|
.h5-tr {
|
|
46
51
|
display: table-row;
|
|
47
52
|
}
|
|
53
|
+
|
|
48
54
|
.h5-thead {
|
|
49
55
|
display: table-header-group;
|
|
50
56
|
}
|
|
57
|
+
|
|
51
58
|
.h5-tbody {
|
|
52
59
|
display: table-row-group;
|
|
53
60
|
}
|
|
61
|
+
|
|
54
62
|
.h5-tfoot {
|
|
55
63
|
display: table-footer-group;
|
|
56
64
|
}
|
|
65
|
+
|
|
57
66
|
.h5-col {
|
|
58
67
|
display: table-column;
|
|
59
68
|
}
|
|
69
|
+
|
|
60
70
|
.h5-colgroup {
|
|
61
71
|
display: table-column-group;
|
|
62
72
|
}
|
|
73
|
+
|
|
63
74
|
.h5-td,
|
|
64
75
|
.h5-th {
|
|
65
76
|
display: table-cell;
|
|
66
77
|
}
|
|
78
|
+
|
|
67
79
|
.h5-caption {
|
|
68
80
|
display: table-caption;
|
|
69
|
-
}
|
|
70
|
-
.h5-th {
|
|
71
|
-
font-weight: bolder;
|
|
72
81
|
text-align: center;
|
|
73
82
|
}
|
|
74
|
-
|
|
83
|
+
|
|
84
|
+
.h5-th {
|
|
75
85
|
text-align: center;
|
|
86
|
+
font-weight: bolder;
|
|
76
87
|
}
|
|
88
|
+
|
|
77
89
|
.h5-body {
|
|
78
90
|
margin: 8px;
|
|
79
91
|
}
|
|
92
|
+
|
|
80
93
|
.h5-h1 {
|
|
81
|
-
font-size: 2em;
|
|
82
94
|
margin: 0.67em 0;
|
|
95
|
+
font-size: 2em;
|
|
83
96
|
}
|
|
97
|
+
|
|
84
98
|
.h5-h2 {
|
|
85
|
-
font-size: 1.5em;
|
|
86
99
|
margin: 0.75em 0;
|
|
100
|
+
font-size: 1.5em;
|
|
87
101
|
}
|
|
102
|
+
|
|
88
103
|
.h5-h3 {
|
|
89
|
-
font-size: 1.17em;
|
|
90
104
|
margin: 0.83em 0;
|
|
105
|
+
font-size: 1.17em;
|
|
91
106
|
}
|
|
107
|
+
|
|
92
108
|
.h5-h4,
|
|
93
109
|
.h5-p,
|
|
94
110
|
.h5-blockquote,
|
|
@@ -101,14 +117,17 @@
|
|
|
101
117
|
.h5-menu {
|
|
102
118
|
margin: 1.12em 0;
|
|
103
119
|
}
|
|
120
|
+
|
|
104
121
|
.h5-h5 {
|
|
105
|
-
font-size: 0.83em;
|
|
106
122
|
margin: 1.5em 0;
|
|
123
|
+
font-size: 0.83em;
|
|
107
124
|
}
|
|
125
|
+
|
|
108
126
|
.h5-h6 {
|
|
109
|
-
font-size: 0.75em;
|
|
110
127
|
margin: 1.67em 0;
|
|
128
|
+
font-size: 0.75em;
|
|
111
129
|
}
|
|
130
|
+
|
|
112
131
|
.h5-h1,
|
|
113
132
|
.h5-h2,
|
|
114
133
|
.h5-h3,
|
|
@@ -119,10 +138,12 @@
|
|
|
119
138
|
.h5-strong {
|
|
120
139
|
font-weight: bolder;
|
|
121
140
|
}
|
|
141
|
+
|
|
122
142
|
.h5-blockquote {
|
|
123
143
|
margin-left: 40px;
|
|
124
144
|
margin-right: 40px;
|
|
125
145
|
}
|
|
146
|
+
|
|
126
147
|
.h5-i,
|
|
127
148
|
.h5-cite,
|
|
128
149
|
.h5-em,
|
|
@@ -130,6 +151,7 @@
|
|
|
130
151
|
.h5-address {
|
|
131
152
|
font-style: italic;
|
|
132
153
|
}
|
|
154
|
+
|
|
133
155
|
.h5-pre,
|
|
134
156
|
.h5-tt,
|
|
135
157
|
.h5-code,
|
|
@@ -137,50 +159,58 @@
|
|
|
137
159
|
.h5-samp {
|
|
138
160
|
font-family: monospace;
|
|
139
161
|
}
|
|
162
|
+
|
|
140
163
|
.h5-pre {
|
|
141
164
|
white-space: pre;
|
|
142
165
|
}
|
|
166
|
+
|
|
143
167
|
.h5-button,
|
|
144
168
|
.h5-textarea,
|
|
145
169
|
.h5-input,
|
|
146
170
|
.h5-select {
|
|
147
171
|
display: inline-block;
|
|
148
172
|
}
|
|
173
|
+
|
|
149
174
|
.h5-big {
|
|
150
175
|
font-size: 1.17em;
|
|
151
176
|
}
|
|
177
|
+
|
|
152
178
|
.h5-small,
|
|
153
179
|
.h5-sub,
|
|
154
180
|
.h5-sup {
|
|
155
181
|
font-size: 0.83em;
|
|
156
182
|
}
|
|
183
|
+
|
|
157
184
|
.h5-sub {
|
|
158
185
|
vertical-align: sub;
|
|
159
186
|
}
|
|
187
|
+
|
|
160
188
|
.h5-sup {
|
|
161
189
|
vertical-align: super;
|
|
162
190
|
}
|
|
163
|
-
|
|
164
|
-
border-spacing: 2px;
|
|
165
|
-
}
|
|
191
|
+
|
|
166
192
|
.h5-thead,
|
|
167
193
|
.h5-tbody,
|
|
168
194
|
.h5-tfoot {
|
|
169
195
|
vertical-align: middle;
|
|
170
196
|
}
|
|
197
|
+
|
|
171
198
|
.h5-td,
|
|
172
199
|
.h5-th,
|
|
173
200
|
.h5-tr {
|
|
174
201
|
vertical-align: inherit;
|
|
175
202
|
}
|
|
203
|
+
|
|
176
204
|
.h5-s,
|
|
177
205
|
.h5-strike,
|
|
178
206
|
.h5-del {
|
|
179
207
|
text-decoration: line-through;
|
|
180
208
|
}
|
|
209
|
+
|
|
181
210
|
.h5-hr {
|
|
182
211
|
border: 1px inset;
|
|
183
212
|
}
|
|
213
|
+
|
|
184
214
|
.h5-ol,
|
|
185
215
|
.h5-ul,
|
|
186
216
|
.h5-dir,
|
|
@@ -188,9 +218,11 @@
|
|
|
188
218
|
.h5-dd {
|
|
189
219
|
margin-left: 40px;
|
|
190
220
|
}
|
|
221
|
+
|
|
191
222
|
.h5-ol {
|
|
192
223
|
list-style-type: decimal;
|
|
193
224
|
}
|
|
225
|
+
|
|
194
226
|
.h5-ol .h5-ul,
|
|
195
227
|
.h5-ul .h5-ol,
|
|
196
228
|
.h5-ul .h5-ul,
|
|
@@ -198,17 +230,21 @@
|
|
|
198
230
|
margin-top: 0;
|
|
199
231
|
margin-bottom: 0;
|
|
200
232
|
}
|
|
233
|
+
|
|
201
234
|
.h5-u,
|
|
202
235
|
.h5-ins {
|
|
203
236
|
text-decoration: underline;
|
|
204
237
|
}
|
|
205
|
-
|
|
206
|
-
|
|
238
|
+
|
|
239
|
+
.h5-br::before {
|
|
207
240
|
white-space: pre-line;
|
|
241
|
+
content: "\A";
|
|
208
242
|
}
|
|
243
|
+
|
|
209
244
|
.h5-center {
|
|
210
245
|
text-align: center;
|
|
211
246
|
}
|
|
247
|
+
|
|
212
248
|
input[type="hidden"] {
|
|
213
249
|
display: none !important;
|
|
214
250
|
}
|
package/html5.css
CHANGED
|
@@ -1,28 +1,36 @@
|
|
|
1
1
|
.h5-html {
|
|
2
2
|
display: block;
|
|
3
3
|
}
|
|
4
|
+
|
|
4
5
|
.h5-head {
|
|
5
6
|
display: none;
|
|
6
7
|
}
|
|
8
|
+
|
|
7
9
|
.h5-meta {
|
|
8
10
|
display: none;
|
|
9
11
|
}
|
|
12
|
+
|
|
10
13
|
.h5-title {
|
|
11
14
|
display: none;
|
|
12
15
|
}
|
|
16
|
+
|
|
13
17
|
.h5-link {
|
|
14
18
|
display: none;
|
|
15
19
|
}
|
|
20
|
+
|
|
16
21
|
.h5-style {
|
|
17
22
|
display: none;
|
|
18
23
|
}
|
|
24
|
+
|
|
19
25
|
.h5-script {
|
|
20
26
|
display: none;
|
|
21
27
|
}
|
|
28
|
+
|
|
22
29
|
.h5-body {
|
|
23
30
|
display: block;
|
|
24
31
|
margin: 8px;
|
|
25
32
|
}
|
|
33
|
+
|
|
26
34
|
.h5-p {
|
|
27
35
|
display: block;
|
|
28
36
|
margin-block-start: 1em;
|
|
@@ -30,12 +38,15 @@
|
|
|
30
38
|
margin-inline-start: 0;
|
|
31
39
|
margin-inline-end: 0;
|
|
32
40
|
}
|
|
41
|
+
|
|
33
42
|
.h5-div {
|
|
34
43
|
display: block;
|
|
35
44
|
}
|
|
45
|
+
|
|
36
46
|
.h5-layer {
|
|
37
47
|
display: block;
|
|
38
48
|
}
|
|
49
|
+
|
|
39
50
|
.h5-article,
|
|
40
51
|
.h5-aside,
|
|
41
52
|
.h5-footer,
|
|
@@ -46,13 +57,16 @@
|
|
|
46
57
|
.h5-section {
|
|
47
58
|
display: block;
|
|
48
59
|
}
|
|
60
|
+
|
|
49
61
|
.h5-marquee {
|
|
50
62
|
display: inline-block;
|
|
51
|
-
width:
|
|
63
|
+
width: fill-available;
|
|
52
64
|
}
|
|
65
|
+
|
|
53
66
|
.h5-address {
|
|
54
67
|
display: block;
|
|
55
68
|
}
|
|
69
|
+
|
|
56
70
|
.h5-blockquote {
|
|
57
71
|
display: block;
|
|
58
72
|
margin-block-start: 1em;
|
|
@@ -60,9 +74,11 @@
|
|
|
60
74
|
margin-inline-start: 40px;
|
|
61
75
|
margin-inline-end: 40px;
|
|
62
76
|
}
|
|
77
|
+
|
|
63
78
|
.h5-figcaption {
|
|
64
79
|
display: block;
|
|
65
80
|
}
|
|
81
|
+
|
|
66
82
|
.h5-figure {
|
|
67
83
|
display: block;
|
|
68
84
|
margin-block-start: 1em;
|
|
@@ -70,88 +86,104 @@
|
|
|
70
86
|
margin-inline-start: 40px;
|
|
71
87
|
margin-inline-end: 40px;
|
|
72
88
|
}
|
|
89
|
+
|
|
73
90
|
.h5-q {
|
|
74
91
|
display: inline;
|
|
75
92
|
}
|
|
76
|
-
|
|
93
|
+
|
|
94
|
+
.h5-q::before {
|
|
77
95
|
content: open-quote;
|
|
78
96
|
}
|
|
79
|
-
|
|
97
|
+
|
|
98
|
+
.h5-q::after {
|
|
80
99
|
content: close-quote;
|
|
81
100
|
}
|
|
101
|
+
|
|
82
102
|
.h5-center {
|
|
83
103
|
display: block;
|
|
84
104
|
text-align: -webkit-center;
|
|
85
105
|
}
|
|
106
|
+
|
|
86
107
|
.h5-hr {
|
|
87
108
|
display: block;
|
|
88
109
|
overflow: hidden;
|
|
110
|
+
border-width: 1px;
|
|
111
|
+
border-style: inset;
|
|
89
112
|
unicode-bidi: isolate;
|
|
90
113
|
margin-block-start: 0.5em;
|
|
91
114
|
margin-block-end: 0.5em;
|
|
92
115
|
margin-inline-start: auto;
|
|
93
116
|
margin-inline-end: auto;
|
|
94
|
-
border-style: inset;
|
|
95
|
-
border-width: 1px;
|
|
96
117
|
}
|
|
118
|
+
|
|
97
119
|
.h5-map {
|
|
98
120
|
display: inline;
|
|
99
121
|
}
|
|
122
|
+
|
|
100
123
|
.h5-video {
|
|
101
124
|
object-fit: contain;
|
|
102
125
|
}
|
|
126
|
+
|
|
103
127
|
.h5-h1 {
|
|
104
128
|
display: block;
|
|
129
|
+
font-weight: bold;
|
|
105
130
|
font-size: 2em;
|
|
106
131
|
margin-block-start: 0.67em;
|
|
107
132
|
margin-block-end: 0.67em;
|
|
108
133
|
margin-inline-start: 0;
|
|
109
134
|
margin-inline-end: 0;
|
|
110
|
-
font-weight: bold;
|
|
111
135
|
}
|
|
136
|
+
|
|
112
137
|
:-webkit-any(.h5-article) .h5-h1 {
|
|
113
138
|
font-size: 1.5em;
|
|
114
139
|
margin-block-start: 0.83em;
|
|
115
140
|
margin-block-end: 0.83em;
|
|
116
141
|
}
|
|
142
|
+
|
|
117
143
|
:-webkit-any(.h5-article) :-webkit-any(.h5-article) .h5-h1 {
|
|
118
144
|
font-size: 1.17em;
|
|
119
145
|
margin-block-start: 1em;
|
|
120
146
|
margin-block-end: 1em;
|
|
121
147
|
}
|
|
148
|
+
|
|
122
149
|
:-webkit-any(.h5-article) :-webkit-any(.h5-article) :-webkit-any(.h5-article) .h5-h1 {
|
|
123
150
|
font-size: 1em;
|
|
124
151
|
margin-block-start: 1.33em;
|
|
125
152
|
margin-block-end: 1.33em;
|
|
126
153
|
}
|
|
154
|
+
|
|
127
155
|
:-webkit-any(.h5-article) :-webkit-any(.h5-article) :-webkit-any(.h5-article) :-webkit-any(.h5-article) .h5-h1 {
|
|
128
156
|
font-size: 0.83em;
|
|
129
157
|
margin-block-start: 1.67em;
|
|
130
158
|
margin-block-end: 1.67em;
|
|
131
159
|
}
|
|
160
|
+
|
|
132
161
|
:-webkit-any(.h5-article) :-webkit-any(.h5-article) :-webkit-any(.h5-article) :-webkit-any(.h5-article) :-webkit-any(.h5-article) .h5-h1 {
|
|
133
162
|
font-size: 0.67em;
|
|
134
163
|
margin-block-start: 2.33em;
|
|
135
164
|
margin-block-end: 2.33em;
|
|
136
165
|
}
|
|
166
|
+
|
|
137
167
|
.h5-h2 {
|
|
138
168
|
display: block;
|
|
169
|
+
font-weight: bold;
|
|
139
170
|
font-size: 1.5em;
|
|
140
171
|
margin-block-start: 0.83em;
|
|
141
172
|
margin-block-end: 0.83em;
|
|
142
173
|
margin-inline-start: 0;
|
|
143
174
|
margin-inline-end: 0;
|
|
144
|
-
font-weight: bold;
|
|
145
175
|
}
|
|
176
|
+
|
|
146
177
|
.h5-h3 {
|
|
147
178
|
display: block;
|
|
179
|
+
font-weight: bold;
|
|
148
180
|
font-size: 1.17em;
|
|
149
181
|
margin-block-start: 1em;
|
|
150
182
|
margin-block-end: 1em;
|
|
151
183
|
margin-inline-start: 0;
|
|
152
184
|
margin-inline-end: 0;
|
|
153
|
-
font-weight: bold;
|
|
154
185
|
}
|
|
186
|
+
|
|
155
187
|
.h5-h4 {
|
|
156
188
|
display: block;
|
|
157
189
|
margin-block-start: 1.33em;
|
|
@@ -160,74 +192,88 @@
|
|
|
160
192
|
margin-inline-end: 0;
|
|
161
193
|
font-weight: bold;
|
|
162
194
|
}
|
|
195
|
+
|
|
163
196
|
.h5-h5 {
|
|
164
197
|
display: block;
|
|
198
|
+
font-weight: bold;
|
|
165
199
|
font-size: 0.83em;
|
|
166
200
|
margin-block-start: 1.67em;
|
|
167
201
|
margin-block-end: 1.67em;
|
|
168
202
|
margin-inline-start: 0;
|
|
169
203
|
margin-inline-end: 0;
|
|
170
|
-
font-weight: bold;
|
|
171
204
|
}
|
|
205
|
+
|
|
172
206
|
.h5-h6 {
|
|
173
207
|
display: block;
|
|
208
|
+
font-weight: bold;
|
|
174
209
|
font-size: 0.67em;
|
|
175
210
|
margin-block-start: 2.33em;
|
|
176
211
|
margin-block-end: 2.33em;
|
|
177
212
|
margin-inline-start: 0;
|
|
178
213
|
margin-inline-end: 0;
|
|
179
|
-
font-weight: bold;
|
|
180
214
|
}
|
|
215
|
+
|
|
181
216
|
.h5-table {
|
|
182
217
|
display: table;
|
|
183
218
|
border-collapse: separate;
|
|
184
219
|
border-spacing: 2px;
|
|
185
|
-
border-color: gray;
|
|
186
220
|
box-sizing: border-box;
|
|
221
|
+
border-color: gray;
|
|
187
222
|
text-indent: initial;
|
|
188
223
|
}
|
|
224
|
+
|
|
189
225
|
.h5-thead {
|
|
190
226
|
display: table-header-group;
|
|
191
|
-
vertical-align: middle;
|
|
192
227
|
border-color: inherit;
|
|
228
|
+
vertical-align: middle;
|
|
193
229
|
}
|
|
230
|
+
|
|
194
231
|
.h5-tbody {
|
|
195
232
|
display: table-row-group;
|
|
196
|
-
vertical-align: middle;
|
|
197
233
|
border-color: inherit;
|
|
234
|
+
vertical-align: middle;
|
|
198
235
|
}
|
|
236
|
+
|
|
199
237
|
.h5-tfoot {
|
|
200
238
|
display: table-footer-group;
|
|
201
|
-
vertical-align: middle;
|
|
202
239
|
border-color: inherit;
|
|
240
|
+
vertical-align: middle;
|
|
203
241
|
}
|
|
242
|
+
|
|
204
243
|
.h5-table > .h5-tr {
|
|
205
244
|
vertical-align: middle;
|
|
206
245
|
}
|
|
246
|
+
|
|
207
247
|
.h5-col {
|
|
208
248
|
display: table-column;
|
|
209
249
|
}
|
|
250
|
+
|
|
210
251
|
.h5-colgroup {
|
|
211
252
|
display: table-column-group;
|
|
212
253
|
}
|
|
254
|
+
|
|
213
255
|
.h5-tr {
|
|
214
256
|
display: table-row;
|
|
215
|
-
vertical-align: inherit;
|
|
216
257
|
border-color: inherit;
|
|
258
|
+
vertical-align: inherit;
|
|
217
259
|
}
|
|
260
|
+
|
|
218
261
|
.h5-td,
|
|
219
262
|
.h5-th {
|
|
220
263
|
display: table-cell;
|
|
221
264
|
vertical-align: inherit;
|
|
222
265
|
}
|
|
266
|
+
|
|
223
267
|
.h5-th {
|
|
224
|
-
font-weight: bold;
|
|
225
268
|
text-align: -internal-center;
|
|
269
|
+
font-weight: bold;
|
|
226
270
|
}
|
|
271
|
+
|
|
227
272
|
.h5-caption {
|
|
228
273
|
display: table-caption;
|
|
229
274
|
text-align: -webkit-center;
|
|
230
275
|
}
|
|
276
|
+
|
|
231
277
|
.h5-ul,
|
|
232
278
|
.h5-menu,
|
|
233
279
|
.h5-dir {
|
|
@@ -239,6 +285,7 @@
|
|
|
239
285
|
margin-inline-end: 0;
|
|
240
286
|
padding-inline-start: 40px;
|
|
241
287
|
}
|
|
288
|
+
|
|
242
289
|
.h5-ol {
|
|
243
290
|
display: block;
|
|
244
291
|
list-style-type: decimal;
|
|
@@ -248,24 +295,29 @@
|
|
|
248
295
|
margin-inline-end: 0;
|
|
249
296
|
padding-inline-start: 40px;
|
|
250
297
|
}
|
|
298
|
+
|
|
251
299
|
.h5-li {
|
|
252
300
|
display: list-item;
|
|
253
301
|
text-align: -webkit-match-parent;
|
|
254
302
|
}
|
|
303
|
+
|
|
255
304
|
.h5-ul .h5-ul,
|
|
256
305
|
.h5-ol .h5-ul {
|
|
257
306
|
list-style-type: circle;
|
|
258
307
|
}
|
|
308
|
+
|
|
259
309
|
.h5-ol .h5-ol .h5-ul,
|
|
260
310
|
.h5-ol .h5-ul .h5-ul,
|
|
261
311
|
.h5-ul .h5-ol .h5-ul,
|
|
262
312
|
.h5-ul .h5-ul .h5-ul {
|
|
263
313
|
list-style-type: square;
|
|
264
314
|
}
|
|
315
|
+
|
|
265
316
|
.h5-dd {
|
|
266
317
|
display: block;
|
|
267
318
|
margin-inline-start: 40px;
|
|
268
319
|
}
|
|
320
|
+
|
|
269
321
|
.h5-dl {
|
|
270
322
|
display: block;
|
|
271
323
|
margin-block-start: 1em;
|
|
@@ -273,9 +325,11 @@
|
|
|
273
325
|
margin-inline-start: 0;
|
|
274
326
|
margin-inline-end: 0;
|
|
275
327
|
}
|
|
328
|
+
|
|
276
329
|
.h5-dt {
|
|
277
330
|
display: block;
|
|
278
331
|
}
|
|
332
|
+
|
|
279
333
|
.h5-ol .h5-ul,
|
|
280
334
|
.h5-ul .h5-ol,
|
|
281
335
|
.h5-ul .h5-ul,
|
|
@@ -283,19 +337,23 @@
|
|
|
283
337
|
margin-block-start: 0;
|
|
284
338
|
margin-block-end: 0;
|
|
285
339
|
}
|
|
340
|
+
|
|
286
341
|
.h5-form {
|
|
287
342
|
display: block;
|
|
288
|
-
margin-top:
|
|
343
|
+
margin-top: 0;
|
|
289
344
|
}
|
|
345
|
+
|
|
290
346
|
.h5-label {
|
|
291
347
|
cursor: default;
|
|
292
348
|
}
|
|
349
|
+
|
|
293
350
|
.h5-legend {
|
|
294
351
|
display: block;
|
|
295
352
|
padding-inline-start: 2px;
|
|
296
353
|
padding-inline-end: 2px;
|
|
297
354
|
border: none;
|
|
298
355
|
}
|
|
356
|
+
|
|
299
357
|
.h5-fieldset {
|
|
300
358
|
display: block;
|
|
301
359
|
margin-inline-start: 2px;
|
|
@@ -307,122 +365,141 @@
|
|
|
307
365
|
border: 2px groove ThreeDFace;
|
|
308
366
|
min-inline-size: min-content;
|
|
309
367
|
}
|
|
368
|
+
|
|
310
369
|
.h5-button {
|
|
311
370
|
appearance: auto;
|
|
312
371
|
}
|
|
372
|
+
|
|
313
373
|
.h5-input,
|
|
314
374
|
.h5-textarea,
|
|
315
375
|
.h5-select,
|
|
316
376
|
.h5-button,
|
|
317
377
|
.h5-meter,
|
|
318
378
|
.h5-progress {
|
|
319
|
-
|
|
379
|
+
writing-mode: horizontal-tb !important;
|
|
320
380
|
}
|
|
381
|
+
|
|
321
382
|
.h5-input,
|
|
322
383
|
.h5-textarea,
|
|
323
384
|
.h5-select,
|
|
324
385
|
.h5-button {
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
text-rendering: auto;
|
|
328
|
-
color: black;
|
|
329
|
-
letter-spacing: normal;
|
|
330
|
-
word-spacing: normal;
|
|
386
|
+
display: inline-block;
|
|
387
|
+
margin: 0;
|
|
331
388
|
line-height: normal;
|
|
332
|
-
text-
|
|
389
|
+
text-align: start;
|
|
333
390
|
text-indent: 0;
|
|
334
391
|
text-shadow: none;
|
|
335
|
-
|
|
336
|
-
|
|
392
|
+
text-transform: none;
|
|
393
|
+
font-variant: small-control;
|
|
394
|
+
color: black;
|
|
395
|
+
word-spacing: normal;
|
|
396
|
+
letter-spacing: normal;
|
|
397
|
+
text-rendering: auto;
|
|
337
398
|
}
|
|
399
|
+
|
|
338
400
|
.h5-textarea {
|
|
339
|
-
appearance: auto;
|
|
340
|
-
border: 1px solid #767676;
|
|
341
401
|
column-count: initial !important;
|
|
342
|
-
|
|
402
|
+
padding: 2px;
|
|
403
|
+
border: 1px solid #767676;
|
|
404
|
+
appearance: auto;
|
|
405
|
+
background-color: #fff;
|
|
343
406
|
resize: auto;
|
|
344
407
|
cursor: text;
|
|
345
|
-
padding: 2px;
|
|
346
|
-
white-space: pre-wrap;
|
|
347
|
-
word-wrap: break-word;
|
|
348
|
-
background-color: #ffffff;
|
|
349
408
|
font-family: monospace;
|
|
409
|
+
word-wrap: break-word;
|
|
410
|
+
white-space: pre-wrap;
|
|
411
|
+
-webkit-rtl-ordering: logical;
|
|
350
412
|
}
|
|
413
|
+
|
|
351
414
|
.h5-input {
|
|
352
|
-
appearance: auto;
|
|
353
415
|
padding: 1px 0;
|
|
354
416
|
border: 2px inset #767676;
|
|
355
|
-
|
|
417
|
+
appearance: auto;
|
|
418
|
+
background-color: #fff;
|
|
356
419
|
cursor: text;
|
|
357
|
-
|
|
420
|
+
-webkit-rtl-ordering: logical;
|
|
358
421
|
}
|
|
422
|
+
|
|
359
423
|
.h5-option:-internal-spatial-navigation-focus {
|
|
360
424
|
outline: black dashed 1px;
|
|
361
425
|
outline-offset: -1px;
|
|
362
426
|
}
|
|
427
|
+
|
|
363
428
|
.h5-datalist {
|
|
364
429
|
display: none;
|
|
365
430
|
}
|
|
431
|
+
|
|
366
432
|
.h5-area {
|
|
367
433
|
display: inline;
|
|
368
434
|
}
|
|
435
|
+
|
|
369
436
|
.h5-param {
|
|
370
437
|
display: none;
|
|
371
438
|
}
|
|
439
|
+
|
|
372
440
|
.h5-select {
|
|
373
|
-
appearance: auto;
|
|
374
|
-
box-sizing: border-box;
|
|
375
441
|
align-items: center;
|
|
376
|
-
|
|
377
|
-
-webkit-rtl-ordering: logical;
|
|
378
|
-
color: black;
|
|
379
|
-
background-color: #ffffff;
|
|
442
|
+
box-sizing: border-box;
|
|
380
443
|
border: 1px solid #767676;
|
|
381
|
-
cursor: default;
|
|
382
444
|
border-radius: 0;
|
|
445
|
+
appearance: auto;
|
|
446
|
+
background-color: #fff;
|
|
447
|
+
cursor: default;
|
|
448
|
+
color: black;
|
|
449
|
+
white-space: pre;
|
|
450
|
+
-webkit-rtl-ordering: logical;
|
|
383
451
|
}
|
|
452
|
+
|
|
384
453
|
.h5-optgroup {
|
|
385
|
-
font-weight: bolder;
|
|
386
454
|
display: block;
|
|
455
|
+
font-weight: bolder;
|
|
387
456
|
}
|
|
457
|
+
|
|
388
458
|
.h5-option {
|
|
389
|
-
font-weight: normal;
|
|
390
459
|
display: block;
|
|
391
|
-
padding: 0 2px 1px
|
|
392
|
-
white-space: nowrap;
|
|
460
|
+
padding: 0 2px 1px;
|
|
393
461
|
min-height: 1.2em;
|
|
462
|
+
font-weight: normal;
|
|
463
|
+
white-space: nowrap;
|
|
394
464
|
}
|
|
465
|
+
|
|
395
466
|
.h5-selectmenu {
|
|
396
467
|
display: inline-block;
|
|
397
468
|
}
|
|
469
|
+
|
|
398
470
|
.h5-output {
|
|
399
471
|
display: inline;
|
|
400
472
|
}
|
|
473
|
+
|
|
401
474
|
.h5-meter {
|
|
402
|
-
appearance: auto;
|
|
403
|
-
box-sizing: border-box;
|
|
404
475
|
display: inline-block;
|
|
405
|
-
|
|
476
|
+
box-sizing: border-box;
|
|
406
477
|
width: 5em;
|
|
407
|
-
|
|
478
|
+
height: 1em;
|
|
479
|
+
appearance: auto;
|
|
408
480
|
-webkit-user-modify: read-only !important;
|
|
481
|
+
vertical-align: -0.2em;
|
|
409
482
|
}
|
|
483
|
+
|
|
410
484
|
.h5-progress {
|
|
411
|
-
appearance: auto;
|
|
412
|
-
box-sizing: border-box;
|
|
413
485
|
display: inline-block;
|
|
414
|
-
|
|
486
|
+
box-sizing: border-box;
|
|
415
487
|
width: 10em;
|
|
488
|
+
height: 1em;
|
|
489
|
+
appearance: auto;
|
|
416
490
|
vertical-align: -0.2em;
|
|
417
491
|
}
|
|
492
|
+
|
|
418
493
|
.h5-u,
|
|
419
494
|
.h5-ins {
|
|
420
495
|
text-decoration: underline;
|
|
421
496
|
}
|
|
497
|
+
|
|
422
498
|
.h5-strong,
|
|
423
499
|
.h5-b {
|
|
424
500
|
font-weight: bold;
|
|
425
501
|
}
|
|
502
|
+
|
|
426
503
|
.h5-i,
|
|
427
504
|
.h5-cite,
|
|
428
505
|
.h5-em,
|
|
@@ -431,116 +508,142 @@
|
|
|
431
508
|
.h5-dfn {
|
|
432
509
|
font-style: italic;
|
|
433
510
|
}
|
|
511
|
+
|
|
434
512
|
.h5-tt,
|
|
435
513
|
.h5-code,
|
|
436
514
|
.h5-kbd,
|
|
437
515
|
.h5-samp {
|
|
438
516
|
font-family: monospace;
|
|
439
517
|
}
|
|
518
|
+
|
|
440
519
|
.h5-pre,
|
|
441
520
|
.h5-xmp,
|
|
442
521
|
.h5-plaintext,
|
|
443
522
|
.h5-listing {
|
|
444
523
|
display: block;
|
|
524
|
+
margin: 1em 0;
|
|
445
525
|
font-family: monospace;
|
|
446
526
|
white-space: pre;
|
|
447
|
-
margin: 1em 0;
|
|
448
527
|
}
|
|
528
|
+
|
|
449
529
|
.h5-mark {
|
|
450
530
|
background-color: yellow;
|
|
451
531
|
color: black;
|
|
452
532
|
}
|
|
533
|
+
|
|
453
534
|
.h5-big {
|
|
454
535
|
font-size: larger;
|
|
455
536
|
}
|
|
537
|
+
|
|
456
538
|
.h5-small {
|
|
457
539
|
font-size: smaller;
|
|
458
540
|
}
|
|
541
|
+
|
|
459
542
|
.h5-s,
|
|
460
543
|
.h5-strike,
|
|
461
544
|
.h5-del {
|
|
462
545
|
text-decoration: line-through;
|
|
463
546
|
}
|
|
547
|
+
|
|
464
548
|
.h5-sub {
|
|
465
549
|
vertical-align: sub;
|
|
466
550
|
font-size: smaller;
|
|
467
551
|
}
|
|
552
|
+
|
|
468
553
|
.h5-sup {
|
|
469
554
|
vertical-align: super;
|
|
470
555
|
font-size: smaller;
|
|
471
556
|
}
|
|
557
|
+
|
|
472
558
|
.h5-nobr {
|
|
473
559
|
white-space: nowrap;
|
|
474
560
|
}
|
|
561
|
+
|
|
475
562
|
.h5-ruby,
|
|
476
563
|
.h5-rt {
|
|
477
564
|
text-indent: 0;
|
|
478
565
|
}
|
|
566
|
+
|
|
479
567
|
.h5-rt {
|
|
480
568
|
line-height: normal;
|
|
481
|
-
|
|
569
|
+
text-emphasis: none;
|
|
482
570
|
}
|
|
571
|
+
|
|
483
572
|
.h5-ruby > .h5-rt {
|
|
484
573
|
display: block;
|
|
485
|
-
font-size: 50%;
|
|
486
574
|
text-align: start;
|
|
575
|
+
font-size: 50%;
|
|
487
576
|
}
|
|
577
|
+
|
|
488
578
|
.h5-rp {
|
|
489
579
|
display: none;
|
|
490
580
|
}
|
|
581
|
+
|
|
491
582
|
.h5-noframes {
|
|
492
583
|
display: none;
|
|
493
584
|
}
|
|
585
|
+
|
|
494
586
|
.h5-frameset,
|
|
495
587
|
.h5-frame {
|
|
496
588
|
display: block;
|
|
497
589
|
}
|
|
590
|
+
|
|
498
591
|
.h5-frameset {
|
|
499
592
|
border-color: inherit;
|
|
500
593
|
}
|
|
594
|
+
|
|
501
595
|
.h5-iframe {
|
|
502
596
|
border: 2px inset;
|
|
503
597
|
}
|
|
598
|
+
|
|
504
599
|
.h5-details {
|
|
505
600
|
display: block;
|
|
506
601
|
}
|
|
602
|
+
|
|
507
603
|
.h5-summary {
|
|
508
604
|
display: block;
|
|
509
605
|
}
|
|
606
|
+
|
|
510
607
|
.h5-template {
|
|
511
608
|
display: none;
|
|
512
609
|
}
|
|
610
|
+
|
|
513
611
|
.h5-bdi,
|
|
514
612
|
.h5-output {
|
|
515
613
|
unicode-bidi: isolate;
|
|
516
614
|
}
|
|
615
|
+
|
|
517
616
|
.h5-bdo {
|
|
518
617
|
unicode-bidi: bidi-override;
|
|
519
618
|
}
|
|
619
|
+
|
|
520
620
|
.h5-dialog:not([open]) {
|
|
521
621
|
display: none;
|
|
522
622
|
}
|
|
623
|
+
|
|
523
624
|
.h5-dialog {
|
|
524
625
|
display: block;
|
|
525
626
|
position: absolute;
|
|
526
627
|
left: 0;
|
|
527
628
|
right: 0;
|
|
528
|
-
width: fit-content;
|
|
529
|
-
height: fit-content;
|
|
530
629
|
margin: auto;
|
|
531
|
-
border: solid;
|
|
532
630
|
padding: 1em;
|
|
631
|
+
border: solid;
|
|
632
|
+
width: fit-content;
|
|
633
|
+
height: fit-content;
|
|
533
634
|
background: white;
|
|
534
635
|
color: black;
|
|
535
636
|
}
|
|
637
|
+
|
|
536
638
|
.h5-dialog::backdrop {
|
|
537
639
|
position: fixed;
|
|
538
|
-
|
|
640
|
+
left: 0;
|
|
539
641
|
right: 0;
|
|
642
|
+
top: 0;
|
|
540
643
|
bottom: 0;
|
|
541
|
-
|
|
542
|
-
background: rgba(0, 0, 0, 0.1);
|
|
644
|
+
background: rgb(0 0 0 / 10%);
|
|
543
645
|
}
|
|
646
|
+
|
|
544
647
|
.h5-slot {
|
|
545
648
|
display: contents;
|
|
546
649
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tarojs/taro",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.5.0-alpha.1",
|
|
4
4
|
"description": "Taro framework",
|
|
5
5
|
"homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
|
|
6
6
|
"main": "index.js",
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
"author": "O2Team",
|
|
25
25
|
"license": "MIT",
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@tarojs/api": "3.
|
|
28
|
-
"@tarojs/runtime": "3.
|
|
29
|
-
"@tarojs/taro-h5": "3.
|
|
27
|
+
"@tarojs/api": "3.5.0-alpha.1",
|
|
28
|
+
"@tarojs/runtime": "3.5.0-alpha.1",
|
|
29
|
+
"@tarojs/taro-h5": "3.5.0-alpha.1"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "3bd136d26d77b847a1a18e028d5b0d048c89f288"
|
|
32
32
|
}
|
package/types/compile.d.ts
CHANGED
|
@@ -357,6 +357,32 @@ export interface IManifestConfig extends ITaroManifestConfig {
|
|
|
357
357
|
|
|
358
358
|
export type PluginItem = string | [string, object]
|
|
359
359
|
|
|
360
|
+
interface ICache {
|
|
361
|
+
enable?: boolean
|
|
362
|
+
buildDependencies?: Record<string, any>
|
|
363
|
+
name?: string
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
type CompilerTypes = 'webpack4' | 'webpack5'
|
|
367
|
+
interface IPrebundle {
|
|
368
|
+
enable?: boolean
|
|
369
|
+
timings?: boolean
|
|
370
|
+
cacheDir?: string
|
|
371
|
+
force?: boolean
|
|
372
|
+
include?: string[]
|
|
373
|
+
exclude?: string[]
|
|
374
|
+
}
|
|
375
|
+
interface ICompiler {
|
|
376
|
+
type: CompilerTypes
|
|
377
|
+
prebundle: IPrebundle
|
|
378
|
+
}
|
|
379
|
+
type Compiler = CompilerTypes | ICompiler
|
|
380
|
+
|
|
381
|
+
interface ILogger {
|
|
382
|
+
quiet: boolean
|
|
383
|
+
stats: boolean
|
|
384
|
+
}
|
|
385
|
+
|
|
360
386
|
export interface IProjectBaseConfig {
|
|
361
387
|
projectName?: string
|
|
362
388
|
date?: string
|
|
@@ -369,14 +395,20 @@ export interface IProjectBaseConfig {
|
|
|
369
395
|
alias?: IOption
|
|
370
396
|
defineConstants?: IOption
|
|
371
397
|
copy?: ICopyOptions
|
|
398
|
+
jsMinimizer?: 'terser' | 'esbuild'
|
|
399
|
+
cssMinimizer?: 'csso' | 'esbuild' | 'parcelCss'
|
|
372
400
|
csso?: TogglableOptions
|
|
373
401
|
terser?: TogglableOptions
|
|
402
|
+
esbuild?: Record<'minify', TogglableOptions>
|
|
374
403
|
uglify?: TogglableOptions
|
|
375
404
|
sass?: ISassOptions
|
|
376
405
|
plugins?: PluginItem[]
|
|
377
406
|
presets?: PluginItem[]
|
|
378
407
|
baseLevel?: number
|
|
379
408
|
framework?: string
|
|
409
|
+
compiler?: Compiler
|
|
410
|
+
cache?: ICache
|
|
411
|
+
logger?: ILogger
|
|
380
412
|
}
|
|
381
413
|
|
|
382
414
|
export interface IProjectConfig extends IProjectBaseConfig {
|