@tarojs/taro 3.4.4 → 3.4.7

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 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
- .h5-caption {
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
- .h5-table {
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
- .h5-br:before {
206
- content: "\A";
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: -webkit-fill-available;
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
- .h5-q:before {
93
+
94
+ .h5-q::before {
77
95
  content: open-quote;
78
96
  }
79
- .h5-q:after {
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: 0em;
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
- -webkit-writing-mode: horizontal-tb !important;
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
- margin: 0em;
326
- font: -webkit-small-control;
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-transform: none;
389
+ text-align: start;
333
390
  text-indent: 0;
334
391
  text-shadow: none;
335
- display: inline-block;
336
- text-align: start;
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
- -webkit-rtl-ordering: logical;
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
- -webkit-rtl-ordering: logical;
417
+ appearance: auto;
418
+ background-color: #fff;
356
419
  cursor: text;
357
- background-color: #ffffff;
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
- white-space: pre;
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 2px;
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
- height: 1em;
476
+ box-sizing: border-box;
406
477
  width: 5em;
407
- vertical-align: -0.2em;
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
- height: 1em;
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
- -webkit-text-emphasis: none;
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
- top: 0;
640
+ left: 0;
539
641
  right: 0;
642
+ top: 0;
540
643
  bottom: 0;
541
- left: 0;
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.4.4",
3
+ "version": "3.4.7",
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.4.4",
28
- "@tarojs/runtime": "3.4.4",
29
- "@tarojs/taro-h5": "3.4.4"
27
+ "@tarojs/api": "3.4.7",
28
+ "@tarojs/runtime": "3.4.7",
29
+ "@tarojs/taro-h5": "3.4.7"
30
30
  },
31
- "gitHead": "099d062d74faa3f124ca2499de1154fae0adc4f9"
31
+ "gitHead": "bb62ad5d4f099940c8c4d6dfcba9b743bc3d2acf"
32
32
  }
@@ -97,7 +97,7 @@ declare module '../../index' {
97
97
  type OnLoadCallback = (res: TaroGeneral.CallbackResult) => void
98
98
  interface OnErrorCallbackResult extends TaroGeneral.CallbackResult {
99
99
  /** 错误码
100
- * @see https://nervjs.github.io/taro/docs/apis/General#AdErrCode
100
+ * @see /docs/apis/General#aderrcode
101
101
  */
102
102
  errCode: keyof TaroGeneral.AdErrCode
103
103
  /** 错误信息 */
@@ -160,7 +160,7 @@ declare module '../../index' {
160
160
  namespace RewardedVideoAd {
161
161
  interface OnErrorCallbackResult extends TaroGeneral.CallbackResult {
162
162
  /** 错误码
163
- * @see https://nervjs.github.io/taro/docs/apis/General#AdErrCode
163
+ * @see /docs/apis/General#aderrcode
164
164
  */
165
165
  errCode: keyof TaroGeneral.AdErrCode
166
166
  /** 错误信息 */
@@ -3,9 +3,9 @@ import Taro from '../../index'
3
3
  declare module '../../index' {
4
4
  namespace canvasToTempFilePath {
5
5
  interface Option {
6
- /** 画布标识,传入 [canvas](/docs/components/canvas/canvas) 组件实例 (canvas type="2d" 时使用该属性)。 */
6
+ /** 画布标识,传入 [canvas](/docs/components/canvas) 组件实例 (canvas type="2d" 时使用该属性)。 */
7
7
  canvas?: CanvasProps
8
- /** 画布标识,传入 [canvas](/docs/components/canvas/canvas) 组件的 canvas-id */
8
+ /** 画布标识,传入 [canvas](/docs/components/canvas) 组件的 canvas-id */
9
9
  canvasId?: string
10
10
  /** 图片的质量,目前仅对 jpg 有效。取值范围为 (0, 1],不在范围内时当作 1.0 处理。 */
11
11
  quality?: number
@@ -75,7 +75,7 @@ declare module '../../index' {
75
75
  }
76
76
  namespace canvasPutImageData {
77
77
  interface Option {
78
- /** 画布标识,传入 [canvas](/docs/components/canvas/canvas) 组件的 canvas-id 属性。 */
78
+ /** 画布标识,传入 [canvas](/docs/components/canvas) 组件的 canvas-id 属性。 */
79
79
  canvasId: string
80
80
  /** 图像像素点数据,一维数组,每四项表示一个像素点的 rgba */
81
81
  data: Uint8ClampedArray
@@ -97,7 +97,7 @@ declare module '../../index' {
97
97
  }
98
98
  namespace canvasGetImageData {
99
99
  interface Option {
100
- /** 画布标识,传入 [canvas](/docs/components/canvas/canvas) 组件的 `canvas-id` 属性。 */
100
+ /** 画布标识,传入 [canvas](/docs/components/canvas) 组件的 `canvas-id` 属性。 */
101
101
  canvasId: string
102
102
  /** 将要被提取的图像数据矩形区域的高度 */
103
103
  height: number
@@ -1736,9 +1736,9 @@ declare module '../../index' {
1736
1736
  * @see https://developers.weixin.qq.com/miniprogram/dev/api/canvas/wx.createCanvasContext.html
1737
1737
  */
1738
1738
  createCanvasContext(
1739
- /** 要获取上下文的 [canvas](/docs/components/canvas/canvas) 组件 canvas-id 属性 */
1739
+ /** 要获取上下文的 [canvas](/docs/components/canvas) 组件 canvas-id 属性 */
1740
1740
  canvasId: string,
1741
- /** 在自定义组件下,当前组件实例的this,表示在这个自定义组件下查找拥有 canvas-id 的 [canvas](/docs/components/canvas/canvas) ,如果省略则不在任何自定义组件内查找 */
1741
+ /** 在自定义组件下,当前组件实例的this,表示在这个自定义组件下查找拥有 canvas-id 的 [canvas](/docs/components/canvas) ,如果省略则不在任何自定义组件内查找 */
1742
1742
  component?: TaroGeneral.IAnyObject,
1743
1743
  ): CanvasContext
1744
1744
 
@@ -1767,7 +1767,7 @@ declare module '../../index' {
1767
1767
  */
1768
1768
  canvasToTempFilePath(
1769
1769
  option: canvasToTempFilePath.Option,
1770
- /** 在自定义组件下,当前组件实例的this,以操作组件内 [canvas](/docs/components/canvas/canvas) 组件 */
1770
+ /** 在自定义组件下,当前组件实例的this,以操作组件内 [canvas](/docs/components/canvas) 组件 */
1771
1771
  component?: TaroGeneral.IAnyObject,
1772
1772
  ): Promise<canvasToTempFilePath.SuccessCallbackResult>
1773
1773
 
@@ -1789,7 +1789,7 @@ declare module '../../index' {
1789
1789
  */
1790
1790
  canvasPutImageData(
1791
1791
  option: canvasPutImageData.Option,
1792
- /** 在自定义组件下,当前组件实例的this,以操作组件内 [canvas](/docs/components/canvas/canvas) 组件 */
1792
+ /** 在自定义组件下,当前组件实例的this,以操作组件内 [canvas](/docs/components/canvas) 组件 */
1793
1793
  component?: TaroGeneral.IAnyObject,
1794
1794
  ): Promise<TaroGeneral.CallbackResult>
1795
1795
 
@@ -1815,7 +1815,7 @@ declare module '../../index' {
1815
1815
  */
1816
1816
  canvasGetImageData(
1817
1817
  option: canvasGetImageData.Option,
1818
- /** 在自定义组件下,当前组件实例的this,以操作组件内 [canvas](/docs/components/canvas/canvas) 组件 */
1818
+ /** 在自定义组件下,当前组件实例的this,以操作组件内 [canvas](/docs/components/canvas) 组件 */
1819
1819
  component?: TaroGeneral.IAnyObject,
1820
1820
  ): Promise<canvasGetImageData.SuccessCallbackResult>
1821
1821
  }
@@ -139,7 +139,7 @@ declare module '../../index' {
139
139
  * @example
140
140
  * ```tsx
141
141
  * Taro.getNetworkType({
142
- * success: function (res)) {
142
+ * success: function (res) {
143
143
  * // 返回网络类型, 有效值:
144
144
  * // wifi/2g/3g/4g/unknown(Android下不常见的网络类型)/none(无网络)
145
145
  * var networkType = res.networkType
@@ -87,16 +87,22 @@ declare module '../../index' {
87
87
 
88
88
  namespace chooseLocation {
89
89
  interface Option {
90
- /** 接口调用结束的回调函数(调用成功、失败都会执行) */
91
- complete?: (res: TaroGeneral.CallbackResult) => void
92
- /** 接口调用失败的回调函数 */
93
- fail?: (res: TaroGeneral.CallbackResult) => void
94
90
  /** 目标地纬度 */
95
91
  latitude?: number
96
92
  /** 目标地经度 */
97
93
  longitude?: number
94
+ /** 地图选点组件参数
95
+ * @supported h5
96
+ * @h5 仅支持 H5 使用
97
+ * @see https://lbs.qq.com/webApi/component/componentGuide/componentPicker
98
+ */
99
+ mapOpts?: Record<string, unknown>
98
100
  /** 接口调用成功的回调函数 */
99
101
  success?: (result: SuccessCallbackResult) => void
102
+ /** 接口调用失败的回调函数 */
103
+ fail?: (res: TaroGeneral.CallbackResult) => void
104
+ /** 接口调用结束的回调函数(调用成功、失败都会执行) */
105
+ complete?: (res: TaroGeneral.CallbackResult) => void
100
106
  }
101
107
 
102
108
  interface SuccessCallbackResult extends TaroGeneral.CallbackResult {
@@ -367,7 +367,7 @@ declare module '../../index' {
367
367
  * ```
368
368
  * @see https://developers.weixin.qq.com/miniprogram/dev/api/network/request/wx.request.html
369
369
  */
370
- request<T = any, U = any>(option: request.Option<T,U>): RequestTask<T>
370
+ request<T = any, U = any>(option: request.Option<T, U>): RequestTask<T>
371
371
 
372
372
  /** 可以使用拦截器在请求发出前或发出后做一些额外操作。
373
373
  *
@@ -37,7 +37,7 @@ declare module '../../index' {
37
37
  }
38
38
 
39
39
  interface TaroStatic {
40
- /** **仅小程序插件中能调用该接口**,用法同 [Taro.authorize](./authorize)。目前仅支持三种 scope
40
+ /** **仅小程序插件中能调用该接口**,用法同 [Taro.authorize](../authorize)。目前仅支持三种 scope
41
41
  * @supported weapp
42
42
  * @example
43
43
  * ```tsx
@@ -473,7 +473,7 @@ declare module '../../index' {
473
473
  }
474
474
 
475
475
  interface TaroStatic {
476
- /** 创建一个动画实例 [animation](./Animation)。调用实例的方法来描述动画。最后通过动画实例的 export 方法导出动画数据传递给组件的 animation 属性。
476
+ /** 创建一个动画实例 [animation](../Animation)。调用实例的方法来描述动画。最后通过动画实例的 export 方法导出动画数据传递给组件的 animation 属性。
477
477
  * @supported weapp, h5
478
478
  * @example
479
479
  * ```tsx
@@ -60,7 +60,7 @@ declare module '../../index' {
60
60
  }
61
61
 
62
62
  interface TaroStatic {
63
- /** 创建一个 Worker 线程。目前限制最多只能创建一个 Worker,创建下一个 Worker 前请先调用 [Worker.terminate](/docs/apis/worker/Worker#terminate)
63
+ /** 创建一个 Worker 线程。目前限制最多只能创建一个 Worker,创建下一个 Worker 前请先调用 [Worker.terminate](/docs/apis/worker/#terminate)
64
64
  * @supported weapp
65
65
  * @example
66
66
  * ```tsx
@@ -268,7 +268,7 @@ declare module '../../index' {
268
268
  /** 回调函数 */
269
269
  callback?: NodesRef.FieldsCallback,
270
270
  ): SelectorQuery
271
- /** 获取 Node 节点实例。目前支持 [Canvas](/docs/components/canvas/canvas) 的获取。
271
+ /** 获取 Node 节点实例。目前支持 [Canvas](/docs/components/canvas) 的获取。
272
272
  * @supported weapp, h5
273
273
  * @example
274
274
  * ```tsx
@@ -174,6 +174,8 @@ declare module './index' {
174
174
  name?: string
175
175
  /** 分包是否是独立分包 */
176
176
  independent?: boolean
177
+ /** 分包支持引用独立的插件 */
178
+ plugins?: Plugins
177
179
  }
178
180
 
179
181
  interface Plugins {
@@ -9,7 +9,7 @@ declare module './index' {
9
9
  duration?: number
10
10
  }
11
11
 
12
- interface RequestParams<T> extends request.Option<T,any> {
12
+ interface RequestParams<T> extends request.Option<T, any> {
13
13
  [propName: string]: any
14
14
  }
15
15