@tarojs/taro 3.5.0-canary.1 → 3.5.0-theta.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.
Files changed (108) hide show
  1. package/html.css +50 -14
  2. package/html5.css +167 -64
  3. package/index.js +3 -4
  4. package/package.json +17 -7
  5. package/types/api/ad/index.d.ts +2 -2
  6. package/types/api/ai/face.d.ts +133 -0
  7. package/types/api/ai/visionkit.d.ts +303 -0
  8. package/types/api/base/crypto.d.ts +90 -0
  9. package/types/api/base/debug.d.ts +152 -13
  10. package/types/api/base/env.d.ts +2 -1
  11. package/types/api/base/index.d.ts +11 -3
  12. package/types/api/base/performance.d.ts +195 -0
  13. package/types/api/base/system.d.ts +541 -103
  14. package/types/api/base/update.d.ts +60 -8
  15. package/types/api/base/weapp/app-event.d.ts +99 -37
  16. package/types/api/base/weapp/life-cycle.d.ts +142 -2
  17. package/types/api/canvas/index.d.ts +150 -136
  18. package/types/api/cloud/index.d.ts +17 -2
  19. package/types/api/data-analysis/index.d.ts +1 -1
  20. package/types/api/device/accelerometer.d.ts +6 -6
  21. package/types/api/device/accessibility.d.ts +26 -0
  22. package/types/api/device/battery.d.ts +2 -2
  23. package/types/api/device/{ble.d.ts → bluetooth-ble.d.ts} +228 -62
  24. package/types/api/device/bluetooth-peripheral.d.ts +430 -0
  25. package/types/api/device/bluetooth.d.ts +67 -2
  26. package/types/api/device/calendar.d.ts +88 -0
  27. package/types/api/device/clipboard.d.ts +2 -2
  28. package/types/api/device/compass.d.ts +3 -3
  29. package/types/api/device/contact.d.ts +74 -50
  30. package/types/api/device/gyroscope.d.ts +6 -6
  31. package/types/api/device/iBeacon.d.ts +33 -19
  32. package/types/api/{ui → device}/keyboard.d.ts +1 -1
  33. package/types/api/device/{performance.d.ts → memory.d.ts} +5 -5
  34. package/types/api/device/motion.d.ts +3 -3
  35. package/types/api/device/network.d.ts +56 -15
  36. package/types/api/device/nfc.d.ts +1089 -13
  37. package/types/api/device/phone.d.ts +1 -1
  38. package/types/api/device/scan.d.ts +1 -1
  39. package/types/api/device/screen.d.ts +42 -14
  40. package/types/api/device/vibrate.d.ts +2 -2
  41. package/types/api/device/wifi.d.ts +44 -9
  42. package/types/api/ext/index.d.ts +2 -2
  43. package/types/api/files/index.d.ts +392 -205
  44. package/types/api/framework/index.d.ts +1 -1
  45. package/types/api/location/index.d.ts +126 -59
  46. package/types/api/media/audio.d.ts +629 -38
  47. package/types/api/media/background-audio.d.ts +9 -9
  48. package/types/api/media/camera.d.ts +41 -22
  49. package/types/api/media/editor.d.ts +22 -2
  50. package/types/api/media/image.d.ts +64 -35
  51. package/types/api/media/live.d.ts +66 -6
  52. package/types/api/media/map.d.ts +474 -54
  53. package/types/api/media/media-recorder.d.ts +92 -0
  54. package/types/api/media/recorder.d.ts +21 -21
  55. package/types/api/media/video-decoder.d.ts +117 -0
  56. package/types/api/media/video-processing.d.ts +11 -7
  57. package/types/api/media/video.d.ts +47 -18
  58. package/types/api/media/voip.d.ts +290 -0
  59. package/types/api/{open-api/navigate.d.ts → navigate/index.d.ts} +65 -27
  60. package/types/api/network/download.d.ts +39 -16
  61. package/types/api/network/request.d.ts +129 -41
  62. package/types/api/network/tcp.d.ts +181 -0
  63. package/types/api/network/udp.d.ts +154 -83
  64. package/types/api/network/upload.d.ts +41 -25
  65. package/types/api/network/websocket.d.ts +20 -19
  66. package/types/api/open-api/address.d.ts +1 -1
  67. package/types/api/open-api/authorize.d.ts +42 -3
  68. package/types/api/open-api/channels.d.ts +178 -0
  69. package/types/api/open-api/facial.d.ts +3 -0
  70. package/types/api/open-api/favorites.d.ts +100 -0
  71. package/types/api/open-api/group.d.ts +59 -0
  72. package/types/api/open-api/invoice.d.ts +2 -2
  73. package/types/api/open-api/license-plate.d.ts +27 -0
  74. package/types/api/open-api/login.d.ts +21 -0
  75. package/types/api/open-api/redpackage.d.ts +24 -0
  76. package/types/api/open-api/settings.d.ts +82 -17
  77. package/types/api/open-api/soter.d.ts +2 -2
  78. package/types/api/open-api/subscribe-message.d.ts +89 -4
  79. package/types/api/open-api/user-info.d.ts +56 -19
  80. package/types/api/open-api/werun.d.ts +33 -6
  81. package/types/api/payment/index.d.ts +119 -0
  82. package/types/api/route/index.d.ts +18 -14
  83. package/types/api/share/index.d.ts +192 -9
  84. package/types/api/storage/index.d.ts +38 -92
  85. package/types/api/swan/index.d.ts +1 -1
  86. package/types/api/ui/animation.d.ts +105 -155
  87. package/types/api/ui/background.d.ts +4 -2
  88. package/types/api/ui/custom-component.d.ts +1 -1
  89. package/types/api/ui/fonts.d.ts +27 -31
  90. package/types/api/ui/interaction.d.ts +6 -6
  91. package/types/api/ui/menu.d.ts +1 -1
  92. package/types/api/ui/navigation-bar.d.ts +6 -5
  93. package/types/api/ui/pull-down-refresh.d.ts +2 -2
  94. package/types/api/ui/scroll.d.ts +75 -7
  95. package/types/api/ui/sticky.d.ts +4 -4
  96. package/types/api/ui/tab-bar.d.ts +8 -8
  97. package/types/api/ui/window.d.ts +22 -2
  98. package/types/api/worker/index.d.ts +9 -1
  99. package/types/api/wxml/index.d.ts +116 -112
  100. package/types/compile.d.ts +47 -6
  101. package/types/global.d.ts +142 -111
  102. package/types/taro.api.d.ts +79 -62
  103. package/types/taro.component.d.ts +11 -9
  104. package/types/taro.config.d.ts +18 -0
  105. package/types/taro.extend.d.ts +10 -1
  106. package/types/taro.hooks.d.ts +34 -0
  107. package/LICENSE +0 -21
  108. package/types/api/open-api/payment.d.ts +0 -61
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
  }