@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.
Files changed (64) hide show
  1. package/README.md +17 -10
  2. package/build/action-sheet-ios/index.js +4 -1
  3. package/build/animated/animations/composition.js +3 -1
  4. package/build/animated/animations/spring-config.js +4 -1
  5. package/build/animated/animations/spring.js +23 -9
  6. package/build/animated/animations/timing.js +3 -2
  7. package/build/animated/bezier.js +2 -1
  8. package/build/animated/color.js +4 -2
  9. package/build/animated/event.js +7 -3
  10. package/build/animated/graph.js +8 -3
  11. package/build/animated/index.d.ts +2 -2
  12. package/build/animated/index.js +2 -2
  13. package/build/animated/interpolation.js +7 -2
  14. package/build/animated/mock.js +1 -1
  15. package/build/animated/native/native-animated.js +1 -1
  16. package/build/animated/operators.js +27 -6
  17. package/build/animated/props.js +1 -1
  18. package/build/animated/rgba.js +18 -3
  19. package/build/animated/style.js +13 -3
  20. package/build/animated/value-xy.d.ts +8 -5
  21. package/build/animated/value-xy.js +4 -1
  22. package/build/appearance/index.js +4 -1
  23. package/build/commit.d.ts +13 -0
  24. package/build/commit.js +145 -9
  25. package/build/events/index.js +19 -8
  26. package/build/fabric-props.js +8 -2
  27. package/build/image-loader.js +3 -2
  28. package/build/index.d.ts +19 -17
  29. package/build/index.js +17 -10
  30. package/build/interaction-manager/index.js +2 -1
  31. package/build/layout-animation/index.js +12 -4
  32. package/build/native-events.js +2 -1
  33. package/build/native-modules/index.js +3 -1
  34. package/build/node.d.ts +25 -0
  35. package/build/node.js +168 -2
  36. package/build/pan-responder/index.js +20 -9
  37. package/build/permissions-android/index.js +3 -1
  38. package/build/platform/index.android.d.ts +1 -1
  39. package/build/platform/index.android.js +1 -1
  40. package/build/platform/index.ios.d.ts +1 -1
  41. package/build/platform-color/index.js +3 -1
  42. package/build/post-commit.d.ts +1 -0
  43. package/build/post-commit.js +6 -0
  44. package/build/process-background-image/index.js +30 -9
  45. package/build/process-filter.js +11 -4
  46. package/build/registry.js +10 -2
  47. package/build/report-error.js +4 -1
  48. package/build/share/index.android.js +1 -1
  49. package/build/share/index.ios.js +1 -1
  50. package/build/status-bar/index.android.js +3 -4
  51. package/build/status-bar/index.ios.js +1 -1
  52. package/build/style-registry/index.d.ts +9 -2
  53. package/build/style-registry/index.js +145 -170
  54. package/build/style-registry/scope.d.ts +15 -1
  55. package/build/style-registry/scope.js +29 -27
  56. package/build/styles.d.ts +11 -1
  57. package/build/surface.d.ts +1 -1
  58. package/build/surface.js +5 -0
  59. package/build/tags.d.ts +1 -0
  60. package/build/tags.js +31 -1
  61. package/build/touch-history.js +9 -2
  62. package/build/vibration/index.ios.js +1 -1
  63. package/build/view-config.js +14 -2
  64. 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;
@@ -55,7 +55,12 @@ const TEXT_INPUT_EVENTS = [
55
55
  'selectionChange',
56
56
  'contentSizeChange',
57
57
  ];
58
- const MODAL_EVENTS = ['show', 'dismiss', 'requestClose', 'orientationChange'];
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: ['loadStart', 'load', 'loadEnd', 'error', 'progress', 'partialLoad'],
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.2.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.1.6"
36
+ "@symbiote-native/test-utils": "0.2.0"
37
37
  },
38
38
  "scripts": {
39
39
  "typecheck": "tsc --build",