@tarojs/taro 3.7.0-beta.1 → 3.7.0-beta.4

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 (56) hide show
  1. package/html.css +9 -0
  2. package/package.json +11 -4
  3. package/types/api/ai/visionkit.d.ts +625 -54
  4. package/types/api/base/performance.d.ts +5 -5
  5. package/types/api/canvas/index.d.ts +67 -54
  6. package/types/api/data-analysis/index.d.ts +51 -1
  7. package/types/api/device/accelerometer.d.ts +8 -6
  8. package/types/api/device/accessibility.d.ts +1 -1
  9. package/types/api/device/battery.d.ts +3 -3
  10. package/types/api/device/bluetooth-ble.d.ts +40 -17
  11. package/types/api/device/bluetooth-peripheral.d.ts +26 -26
  12. package/types/api/device/bluetooth.d.ts +37 -13
  13. package/types/api/device/calendar.d.ts +11 -1
  14. package/types/api/device/clipboard.d.ts +17 -17
  15. package/types/api/device/compass.d.ts +5 -5
  16. package/types/api/device/gyroscope.d.ts +4 -4
  17. package/types/api/device/iBeacon.d.ts +10 -8
  18. package/types/api/device/keyboard.d.ts +7 -5
  19. package/types/api/device/memory.d.ts +3 -4
  20. package/types/api/device/motion.d.ts +8 -6
  21. package/types/api/device/network.d.ts +12 -6
  22. package/types/api/device/nfc.d.ts +13 -13
  23. package/types/api/device/phone.d.ts +1 -1
  24. package/types/api/device/scan.d.ts +5 -3
  25. package/types/api/device/screen.d.ts +28 -12
  26. package/types/api/device/sms.d.ts +1 -1
  27. package/types/api/device/vibrate.d.ts +5 -5
  28. package/types/api/device/wifi.d.ts +25 -13
  29. package/types/api/files/index.d.ts +71 -41
  30. package/types/api/location/index.d.ts +166 -18
  31. package/types/api/media/camera.d.ts +6 -3
  32. package/types/api/navigate/index.d.ts +2 -0
  33. package/types/api/open-api/device-voip.d.ts +2 -2
  34. package/types/api/open-api/login.d.ts +1 -1
  35. package/types/api/open-api/my-miniprogram.d.ts +2 -2
  36. package/types/api/open-api/privacy.d.ts +99 -0
  37. package/types/api/route/index.d.ts +1 -0
  38. package/types/api/skyline/index.d.ts +59 -0
  39. package/types/api/storage/background-fetch.d.ts +63 -11
  40. package/types/api/storage/cache-manager.d.ts +61 -10
  41. package/types/api/storage/index.d.ts +125 -10
  42. package/types/api/taro.extend.d.ts +1 -1
  43. package/types/api/ui/fonts.d.ts +4 -3
  44. package/types/api/wxml/index.d.ts +2 -2
  45. package/types/compile/compiler.d.ts +7 -5
  46. package/types/compile/config/h5.d.ts +23 -10
  47. package/types/compile/config/mini.d.ts +46 -31
  48. package/types/compile/config/plugin.d.ts +34 -0
  49. package/types/compile/config/project.d.ts +8 -8
  50. package/types/compile/config/util.d.ts +20 -8
  51. package/types/compile/viteCompilerContext.d.ts +130 -0
  52. package/types/global.d.ts +1 -0
  53. package/types/index.d.ts +2 -0
  54. package/types/taro.api.d.ts +3 -0
  55. package/types/taro.component.d.ts +1 -1
  56. package/types/taro.config.d.ts +41 -4
package/html.css CHANGED
@@ -128,6 +128,15 @@
128
128
  font-size: 0.75em;
129
129
  }
130
130
 
131
+ .h5-h1,
132
+ .h5-h2,
133
+ .h5-h3,
134
+ .h5-h4,
135
+ .h5-h5,
136
+ .h5-h6 {
137
+ line-height: 1;
138
+ }
139
+
131
140
  .h5-h1,
132
141
  .h5-h2,
133
142
  .h5-h3,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tarojs/taro",
3
- "version": "3.7.0-beta.1",
3
+ "version": "3.7.0-beta.4",
4
4
  "description": "Taro framework",
5
5
  "homepage": "https://github.com/nervjs/taro/tree/master/packages/taro#readme",
6
6
  "main": "index.js",
@@ -21,11 +21,12 @@
21
21
  "author": "O2Team",
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@tarojs/api": "3.7.0-beta.1",
25
- "@tarojs/runtime": "3.7.0-beta.1"
24
+ "@tarojs/api": "3.7.0-beta.4",
25
+ "@tarojs/runtime": "3.7.0-beta.4"
26
26
  },
27
27
  "devDependencies": {
28
- "@tarojs/helper": "3.7.0-beta.1"
28
+ "@tarojs/shared": "3.7.0-beta.4",
29
+ "@tarojs/helper": "3.7.0-beta.4"
29
30
  },
30
31
  "peerDependenciesMeta": {
31
32
  "@types/react": {
@@ -37,11 +38,17 @@
37
38
  "@types/webpack-dev-server": {
38
39
  "optional": true
39
40
  },
41
+ "@types/postcss-url": {
42
+ "optional": true
43
+ },
40
44
  "postcss": {
41
45
  "optional": true
42
46
  },
43
47
  "vue": {
44
48
  "optional": true
49
+ },
50
+ "rollup": {
51
+ "optional": true
45
52
  }
46
53
  },
47
54
  "scripts": {