@symbiote-native/engine 0.2.0 → 0.3.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.
- package/README.md +17 -10
- package/build/action-sheet-ios/index.js +4 -1
- package/build/animated/animations/composition.js +3 -1
- package/build/animated/animations/spring-config.js +4 -1
- package/build/animated/animations/spring.js +23 -9
- package/build/animated/animations/timing.js +3 -2
- package/build/animated/bezier.js +2 -1
- package/build/animated/color.js +4 -2
- package/build/animated/event.js +7 -3
- package/build/animated/graph.js +8 -3
- package/build/animated/index.d.ts +2 -2
- package/build/animated/index.js +2 -2
- package/build/animated/interpolation.js +7 -2
- package/build/animated/mock.js +1 -1
- package/build/animated/native/native-animated.js +1 -1
- package/build/animated/operators.js +27 -6
- package/build/animated/props.js +1 -1
- package/build/animated/rgba.js +18 -3
- package/build/animated/style.js +13 -3
- package/build/animated/value-xy.d.ts +8 -5
- package/build/animated/value-xy.js +4 -1
- package/build/appearance/index.js +4 -1
- package/build/commit.d.ts +13 -0
- package/build/commit.js +145 -9
- package/build/events/index.js +19 -8
- package/build/fabric-props.js +8 -2
- package/build/image-loader.js +3 -2
- package/build/index.d.ts +19 -17
- package/build/index.js +17 -10
- package/build/interaction-manager/index.js +2 -1
- package/build/layout-animation/index.js +12 -4
- package/build/native-events.js +2 -1
- package/build/native-modules/index.js +3 -1
- package/build/node.d.ts +25 -0
- package/build/node.js +168 -2
- package/build/pan-responder/index.js +20 -9
- package/build/permissions-android/index.js +3 -1
- package/build/platform/index.android.d.ts +1 -1
- package/build/platform/index.android.js +1 -1
- package/build/platform/index.ios.d.ts +1 -1
- package/build/platform-color/index.js +3 -1
- package/build/post-commit.d.ts +1 -0
- package/build/post-commit.js +6 -0
- package/build/process-background-image/index.js +30 -9
- package/build/process-filter.js +11 -4
- package/build/registry.js +10 -2
- package/build/report-error.js +4 -1
- package/build/share/index.android.js +1 -1
- package/build/share/index.ios.js +1 -1
- package/build/status-bar/index.android.js +3 -4
- package/build/status-bar/index.ios.js +1 -1
- package/build/style-registry/index.d.ts +9 -2
- package/build/style-registry/index.js +145 -170
- package/build/style-registry/scope.d.ts +15 -1
- package/build/style-registry/scope.js +29 -27
- package/build/styles.d.ts +11 -1
- package/build/surface.d.ts +1 -1
- package/build/surface.js +5 -0
- package/build/tags.d.ts +1 -0
- package/build/tags.js +31 -1
- package/build/touch-history.js +9 -2
- package/build/vibration/index.ios.js +1 -1
- package/build/view-config.js +14 -2
- package/package.json +2 -2
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// Everything else (the single-number buzz, cancel, the module resolver) is the shared
|
|
4
4
|
// core. Metro picks this file on an iOS host; the base vibration.ts re-exports it for
|
|
5
5
|
// web/headless.
|
|
6
|
-
import { createVibration, DEFAULT_VIBRATION_LENGTH } from './shared.js';
|
|
6
|
+
import { createVibration, DEFAULT_VIBRATION_LENGTH, } from './shared.js';
|
|
7
7
|
// JS scheduler state, mirroring RN's _vibrating / _id. `scheduleId` guards against a
|
|
8
8
|
// stale timer from a previous run firing into a new one.
|
|
9
9
|
let vibrating = false;
|
package/build/view-config.js
CHANGED
|
@@ -55,7 +55,12 @@ const TEXT_INPUT_EVENTS = [
|
|
|
55
55
|
'selectionChange',
|
|
56
56
|
'contentSizeChange',
|
|
57
57
|
];
|
|
58
|
-
const MODAL_EVENTS = [
|
|
58
|
+
const MODAL_EVENTS = [
|
|
59
|
+
'show',
|
|
60
|
+
'dismiss',
|
|
61
|
+
'requestClose',
|
|
62
|
+
'orientationChange',
|
|
63
|
+
];
|
|
59
64
|
// A scroll view's events are the same on both axes and both platforms; only the native
|
|
60
65
|
// NAME differs (iOS RCTScrollView for both; Android RCTScrollView vertical vs
|
|
61
66
|
// AndroidHorizontalScrollView horizontal). Declared once, keyed under each name below. The
|
|
@@ -78,7 +83,14 @@ const TEXT_EVENTS = ['textLayout'];
|
|
|
78
83
|
// SymbioteNode.component (what createNode is called with). A component absent here
|
|
79
84
|
// still gets BASE_EVENTS, so a new primitive has working press/layout for free.
|
|
80
85
|
const COMPONENT_EVENTS = {
|
|
81
|
-
RCTImageView: [
|
|
86
|
+
RCTImageView: [
|
|
87
|
+
'loadStart',
|
|
88
|
+
'load',
|
|
89
|
+
'loadEnd',
|
|
90
|
+
'error',
|
|
91
|
+
'progress',
|
|
92
|
+
'partialLoad',
|
|
93
|
+
],
|
|
82
94
|
RCTScrollView: SCROLL_EVENTS,
|
|
83
95
|
AndroidHorizontalScrollView: SCROLL_EVENTS,
|
|
84
96
|
RCTSinglelineTextInputView: TEXT_INPUT_EVENTS,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@symbiote-native/engine",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "SymbioteNative's retained shadow-tree engine — clone-on-write commit path + event normalization over React Native Fabric, shared by every framework adapter.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"react-native": ">=0.86"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
36
|
-
"@symbiote-native/test-utils": "0.
|
|
36
|
+
"@symbiote-native/test-utils": "0.2.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"typecheck": "tsc --build",
|