@symbiote-native/vue 0.3.2 → 0.3.3

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.
@@ -27,7 +27,7 @@
27
27
  import { computed, defineComponent, getCurrentInstance, h, isVNode, onBeforeUnmount, ref, shallowRef, watch, } from '@vue/runtime-core';
28
28
  import { DEFAULT_END_REACHED_THRESHOLD, DEFAULT_INITIAL_NUM_TO_RENDER, DEFAULT_MAX_TO_RENDER_PER_BATCH, DEFAULT_START_REACHED_THRESHOLD, DEFAULT_UPDATE_CELLS_BATCHING_PERIOD, DEFAULT_WINDOW_SIZE, EMPTY_OFFSET, FIRST_INDEX, INVERTED_X_STYLE, INVERTED_Y_STYLE, NO_CONTENT_LENGTH_SENT, averageMeasuredLength, buildListPlan, buildOffsets, buildViewabilityPairs, computeEndReached, computeStartReached, computeViewableSet, computeWindow, diffViewable, highestMeasuredIndex, maxMinimumViewTime, offsetForIndex, readLayoutLength, readScrollOffset, throttleWindow, } from '@symbiote-native/components';
29
29
  import { dlog, } from '@symbiote-native/engine';
30
- import { ScrollView } from '../scroll-view/index.js';
30
+ import { ScrollView } from '../scroll-view';
31
31
  import { RefreshControl } from '../refresh-control.js';
32
32
  import { normalizeVueAttrs } from '../../utils/normalize-attrs.js';
33
33
  import { componentFromSlot } from '../../utils/slots-to-render-props.js';
package/build/index.js CHANGED
@@ -17,17 +17,17 @@ export { Image, setImageSourceResolver } from './components/image.js';
17
17
  // First component off the shared @symbiote-native/components layer: render-only, drives the
18
18
  // agnostic renderActivityIndicator through descriptorToVue. Proof the layer is reusable:
19
19
  // the render fn is shared verbatim with React; Vue supplies only the bridge.
20
- export { ActivityIndicator } from './components/activity-indicator/index.js';
20
+ export { ActivityIndicator } from './components/activity-indicator';
21
21
  // First component to bring the state half into Vue (the lastNativeReport reducer + the
22
22
  // snap-back watch); render shared verbatim with React, Vue supplies the reactive lifecycle.
23
- export { Switch } from './components/switch/index.js';
23
+ export { Switch } from './components/switch';
24
24
  // ScrollView. Full parity: vertical + horizontal, every pass-through prop, the
25
25
  // synthesized onContentSizeChange, the imperative handle via expose() + shallowRef, RefreshControl
26
26
  // (iOS sibling / Android wrap), and sticky headers (the scroll AnimatedValue,
27
27
  // the headerLayoutYs cross-talk, and the per-header Animated.View wrap). The pure math (intrinsics,
28
28
  // decelerationRate, content-size dedupe, the handle, the sticky interpolation) is shared verbatim
29
29
  // with React from @symbiote-native/components.
30
- export { ScrollView } from './components/scroll-view/index.js';
30
+ export { ScrollView } from './components/scroll-view';
31
31
  // Pressable family. Full parity with React (the 3-layer split): the press state machine + render
32
32
  // decisions are shared in @symbiote-native/components; Vue supplies the reactivity + descriptor bridge.
33
33
  export { Pressable } from './components/pressable.js';
@@ -6,7 +6,7 @@
6
6
  import { AnimatedValue, AnimatedValueXY, AnimatedColor, AnimatedMock, Easing, Platform, timing, spring, decay, parallel, sequence, stagger, loop, delay, add, subtract, multiply, divide, modulo, diffClamp, event, forkEvent, unforkEvent, } from '@symbiote-native/engine';
7
7
  import { View, Text } from '../../components.js';
8
8
  import { Image } from '../../components/image.js';
9
- import { ScrollView } from '../../components/scroll-view/index.js';
9
+ import { ScrollView } from '../../components/scroll-view';
10
10
  import { createAnimatedComponent } from './create-animated-component.js';
11
11
  export { createAnimatedComponent } from './create-animated-component.js';
12
12
  // View/Text are pure host primitives; Image is the functional renderImage wrapper, and all expose
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/vue",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
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",
@@ -44,16 +44,16 @@
44
44
  "@vue/compiler-core": "^3.5.13",
45
45
  "@vue/compiler-sfc": "^3.5.13",
46
46
  "@vue/runtime-core": "^3.5.13",
47
- "@symbiote-native/components": "0.2.2",
47
+ "@symbiote-native/components": "0.2.3",
48
48
  "@symbiote-native/css-parser": "0.2.1",
49
- "@symbiote-native/engine": "0.1.3"
49
+ "@symbiote-native/engine": "0.1.4"
50
50
  },
51
51
  "peerDependencies": {
52
52
  "vue": ">=3.5.0",
53
53
  "react-native": ">=0.86"
54
54
  },
55
55
  "devDependencies": {
56
- "@symbiote-native/test-utils": "0.1.3"
56
+ "@symbiote-native/test-utils": "0.1.5"
57
57
  },
58
58
  "scripts": {
59
59
  "typecheck": "tsc --build",