@symbiote-native/vue 0.4.0 → 1.0.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 (57) hide show
  1. package/README.md +24 -9
  2. package/babel-jsx.cjs +53 -0
  3. package/babel-lower-host-primitives.cjs +225 -0
  4. package/build/bootstrap.js +1 -1
  5. package/build/components/button.js +4 -2
  6. package/build/components/flat-list/index.js +14 -5
  7. package/build/components/image-background.js +4 -5
  8. package/build/components/image.js +3 -1
  9. package/build/components/keyboard-avoiding-view.js +39 -14
  10. package/build/components/modal/index.js +5 -2
  11. package/build/components/pressable.d.ts +1 -1
  12. package/build/components/pressable.js +39 -20
  13. package/build/components/safe-area-view.d.ts +1 -0
  14. package/build/components/scroll-view/index.android.d.ts +1 -1
  15. package/build/components/scroll-view/index.android.js +3 -1
  16. package/build/components/scroll-view/index.ios.d.ts +1 -1
  17. package/build/components/scroll-view/index.ios.js +3 -1
  18. package/build/components/scroll-view/shared.js +33 -13
  19. package/build/components/scroll-view/sticky-header.js +18 -5
  20. package/build/components/section-list/index.js +4 -2
  21. package/build/components/switch/shared.js +12 -3
  22. package/build/components/text-input/index.js +25 -2
  23. package/build/components/touchable-native-feedback.js +11 -4
  24. package/build/components/touchable.d.ts +7 -1
  25. package/build/components/touchable.js +184 -33
  26. package/build/components/virtualized-list/index.js +42 -20
  27. package/build/components/virtualized-section-list/index.d.ts +5 -0
  28. package/build/components/virtualized-section-list/index.js +33 -4
  29. package/build/components.d.ts +2 -0
  30. package/build/components.js +25 -4
  31. package/build/composables/use-raw-attrs.d.ts +1 -0
  32. package/build/composables/use-raw-attrs.js +26 -0
  33. package/build/create-portal/index.d.ts +28 -0
  34. package/build/create-portal/index.js +42 -0
  35. package/build/host-instance/index.js +7 -6
  36. package/build/index.d.ts +9 -6
  37. package/build/index.js +14 -3
  38. package/build/modules/animated/create-animated-component.d.ts +1 -1
  39. package/build/modules/animated/create-animated-component.js +27 -5
  40. package/build/modules/animated/index.d.ts +2 -0
  41. package/build/modules/animated/index.js +18 -5
  42. package/build/modules/app-registry/index.js +4 -2
  43. package/build/modules/status-bar.js +4 -2
  44. package/build/register.d.ts +1 -0
  45. package/build/register.js +35 -0
  46. package/build/render.d.ts +3 -1
  47. package/build/render.js +62 -1
  48. package/build/renderer/index.js +58 -9
  49. package/build/runtime-helpers/index.d.ts +48 -24
  50. package/build/runtime-helpers/index.js +314 -30
  51. package/build/state-style.d.ts +1 -0
  52. package/build/state-style.js +13 -0
  53. package/build/utils/normalize-attrs.d.ts +1 -0
  54. package/build/utils/normalize-attrs.js +21 -13
  55. package/metro-css-parser.cjs +2 -1
  56. package/metro-vue-transformer.cjs +502 -101
  57. package/package.json +29 -8
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/vue",
3
- "version": "0.4.0",
3
+ "version": "1.0.0",
4
4
  "description": "SymbioteNative's Vue adapter — a @vue/runtime-core createRenderer driving real native iOS/Android views through the same engine as the React adapter.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -13,6 +13,18 @@
13
13
  "url": "https://github.com/OneEyed1366/symbiote-native/issues"
14
14
  },
15
15
  "author": "Andrey Prokopenko <psevdoproger@gmail.com>",
16
+ "keywords": [
17
+ "react-native",
18
+ "symbiote-native",
19
+ "vue",
20
+ "vue3",
21
+ "fabric",
22
+ "renderer",
23
+ "cross-platform",
24
+ "mobile",
25
+ "ios",
26
+ "android"
27
+ ],
16
28
  "type": "module",
17
29
  "main": "./build/index.js",
18
30
  "module": "./build/index.js",
@@ -31,9 +43,16 @@
31
43
  "default": "./build/runtime-helpers/index.js"
32
44
  },
33
45
  "./metro-css-parser": "./metro-css-parser.cjs",
34
- "./metro-vue-transformer": "./metro-vue-transformer.cjs"
46
+ "./metro-vue-transformer": "./metro-vue-transformer.cjs",
47
+ "./babel-jsx": "./babel-jsx.cjs",
48
+ "./state-style": {
49
+ "types": "./build/state-style.d.ts",
50
+ "default": "./build/state-style.js"
51
+ }
35
52
  },
36
53
  "files": [
54
+ "babel-jsx.cjs",
55
+ "babel-lower-host-primitives.cjs",
37
56
  "build",
38
57
  "metro-css-parser.cjs",
39
58
  "metro-vue-transformer.cjs"
@@ -42,21 +61,23 @@
42
61
  "access": "public"
43
62
  },
44
63
  "dependencies": {
64
+ "@vue/babel-plugin-jsx": "^1.5.0",
45
65
  "@vue/compiler-core": "^3.5.13",
46
66
  "@vue/compiler-sfc": "^3.5.13",
47
67
  "@vue/runtime-core": "^3.5.13",
48
68
  "typescript": "~6.0.0",
49
- "@symbiote-native/components": "0.4.0",
50
- "@symbiote-native/css-parser": "0.3.0"
69
+ "@symbiote-native/components": "1.0.0",
70
+ "@symbiote-native/css-parser": "0.5.0"
51
71
  },
52
72
  "peerDependencies": {
53
- "@symbiote-native/engine": ">=0.1.7",
54
73
  "vue": ">=3.5.0",
55
- "react-native": ">=0.86"
74
+ "react-native": ">=0.86",
75
+ "@symbiote-native/engine": "^0.4.0"
56
76
  },
57
77
  "devDependencies": {
58
- "@symbiote-native/engine": "0.2.0",
59
- "@symbiote-native/test-utils": "0.1.6"
78
+ "@babel/core": "^7.25.2",
79
+ "@symbiote-native/engine": "0.4.0",
80
+ "@symbiote-native/test-utils": "0.3.0"
60
81
  },
61
82
  "scripts": {
62
83
  "typecheck": "tsc --build",