@symbiote-native/vue 0.3.4 → 0.3.6

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.
@@ -13,7 +13,7 @@
13
13
  import { defineComponent, h, ref, watch } from '@vue/runtime-core';
14
14
  import { createInitialModalState, modalReducer, renderModal, resolveAccessibilityProps, shouldRenderModal, } from '@symbiote-native/components';
15
15
  import { dlog, } from '@symbiote-native/engine';
16
- import { normalizeVueAttrs } from '../utils/normalize-attrs.js';
16
+ import { normalizeVueAttrs } from '../../utils/normalize-attrs.js';
17
17
  function asBoolean(value) {
18
18
  return typeof value === 'boolean' ? value : undefined;
19
19
  }
package/build/index.js CHANGED
@@ -4,7 +4,7 @@
4
4
  export { mount, unmount } from './render.js';
5
5
  // createTunnel: cross-surface content sharing (Teleport stays same-surface-only by design —
6
6
  // see create-tunnel.ts for why).
7
- export { createTunnel } from './create-tunnel.js';
7
+ export { createTunnel } from './create-tunnel/index.js';
8
8
  export { View, Text } from './components.js';
9
9
  // findNodeHandle: RN's ref -> native reactTag lookup, the Vue twin of the React adapter's
10
10
  // host-instance resolution. IHostInstance is the raw engine node (Vue host refs fall
@@ -58,7 +58,7 @@ export { normalizeVueAttrs } from './utils/normalize-attrs.js';
58
58
  // controlled-value component uses. Exported for the same external-package reason as
59
59
  // normalizeVueAttrs above (e.g. @symbiote-native/slider/vue).
60
60
  export { resolveModelValue, emitModelUpdate } from './utils/model-binding.js';
61
- export { createSymbioteRenderer } from './renderer.js';
61
+ export { createSymbioteRenderer } from './renderer/index.js';
62
62
  // Animated: Animated.View/Text/Image + the lazy Animated.ScrollView over the
63
63
  // Vue primitives, with the value graph / easing / drivers spread from @symbiote-native/engine. The wrap
64
64
  // mechanism (createAnimatedComponent) is the Vue twin of React's; the pure leaves live in the
@@ -67,7 +67,7 @@ export { Animated, createAnimatedComponent } from './modules/animated/index.js';
67
67
  // Visual components off the shared @symbiote-native/components layer (wave: simple-visual).
68
68
  export { ImageBackground } from './components/image-background.js';
69
69
  export { InputAccessoryView } from './components/input-accessory-view.js';
70
- export { Modal } from './components/modal.js';
70
+ export { Modal } from './components/modal/index.js';
71
71
  // KeyboardAvoidingView: full parity via the shared inset math; Vue owns the Keyboard subscription.
72
72
  export { KeyboardAvoidingView } from './components/keyboard-avoiding-view.js';
73
73
  // StatusBar: declarative component + the shared imperative API.
package/build/render.js CHANGED
@@ -2,7 +2,7 @@
2
2
  // a surface for it and let the Vue renderer drive the engine, which commits into
3
3
  // nativeFabricUIManager; RN's own renderer never in the path.
4
4
  import { createSurface, disposeRoot, dlog, } from '@symbiote-native/engine';
5
- import { createSymbioteRenderer } from './renderer.js';
5
+ import { createSymbioteRenderer } from './renderer/index.js';
6
6
  // One Vue app per surface, so a surface can be torn down (unmount) or cleanly
7
7
  // re-mounted on the same rootTag: the bridgeless host stops and restarts a surface on
8
8
  // Fast Refresh and on lifecycle/focus changes, reusing the rootTag.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/vue",
3
- "version": "0.3.4",
3
+ "version": "0.3.6",
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
  "repository": {
6
6
  "type": "git",
@@ -26,8 +26,8 @@
26
26
  "default": "./build/bootstrap.js"
27
27
  },
28
28
  "./runtime-helpers": {
29
- "types": "./build/runtime-helpers.d.ts",
30
- "default": "./build/runtime-helpers.js"
29
+ "types": "./build/runtime-helpers/index.d.ts",
30
+ "default": "./build/runtime-helpers/index.js"
31
31
  },
32
32
  "./metro-css-parser": "./metro-css-parser.cjs",
33
33
  "./metro-vue-transformer": "./metro-vue-transformer.cjs"
@@ -45,15 +45,16 @@
45
45
  "@vue/compiler-sfc": "^3.5.13",
46
46
  "@vue/runtime-core": "^3.5.13",
47
47
  "typescript": "~6.0.0",
48
- "@symbiote-native/css-parser": "0.2.1",
49
- "@symbiote-native/components": "0.2.3",
50
- "@symbiote-native/engine": "0.1.4"
48
+ "@symbiote-native/css-parser": "0.2.2",
49
+ "@symbiote-native/components": "0.2.5"
51
50
  },
52
51
  "peerDependencies": {
52
+ "@symbiote-native/engine": ">=0.1.6",
53
53
  "vue": ">=3.5.0",
54
54
  "react-native": ">=0.86"
55
55
  },
56
56
  "devDependencies": {
57
+ "@symbiote-native/engine": "0.1.6",
57
58
  "@symbiote-native/test-utils": "0.1.5"
58
59
  },
59
60
  "scripts": {
File without changes
File without changes