@lynx-js/react 0.108.1 → 0.109.1

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 (95) hide show
  1. package/CHANGELOG.md +24 -0
  2. package/package.json +3 -3
  3. package/refresh/.turbo/turbo-build.log +1 -1
  4. package/runtime/jsx-dev-runtime/index.d.ts +13 -7
  5. package/runtime/jsx-runtime/index.d.ts +17 -7
  6. package/runtime/lib/gesture/processGesture.d.ts +2 -2
  7. package/runtime/lib/gesture/processGesture.js +14 -7
  8. package/runtime/lib/gesture/processGesture.js.map +1 -1
  9. package/runtime/lib/lifecycle/patch/snapshotPatchApply.js +2 -2
  10. package/runtime/lib/lifecycle/patch/snapshotPatchApply.js.map +1 -1
  11. package/runtime/lib/list.js +2 -2
  12. package/runtime/lib/list.js.map +1 -1
  13. package/runtime/lib/lynx/calledByNative.js +1 -1
  14. package/runtime/lib/lynx/calledByNative.js.map +1 -1
  15. package/runtime/lib/snapshot/gesture.d.ts +1 -1
  16. package/runtime/lib/snapshot/gesture.js +4 -3
  17. package/runtime/lib/snapshot/gesture.js.map +1 -1
  18. package/runtime/lib/snapshot/workletEvent.d.ts +1 -1
  19. package/runtime/lib/snapshot/workletEvent.js +3 -2
  20. package/runtime/lib/snapshot/workletEvent.js.map +1 -1
  21. package/runtime/lib/snapshot/workletRef.js +4 -4
  22. package/runtime/lib/snapshot/workletRef.js.map +1 -1
  23. package/runtime/lib/snapshot.d.ts +1 -0
  24. package/runtime/lib/snapshot.js +5 -4
  25. package/runtime/lib/snapshot.js.map +1 -1
  26. package/runtime/lib/worklet/execMap.js +4 -3
  27. package/runtime/lib/worklet/execMap.js.map +1 -1
  28. package/runtime/lib/worklet/functionality.js +2 -8
  29. package/runtime/lib/worklet/functionality.js.map +1 -1
  30. package/runtime/lib/worklet/hmr.js.map +1 -1
  31. package/runtime/lib/worklet/indexMap.js +3 -0
  32. package/runtime/lib/worklet/indexMap.js.map +1 -1
  33. package/runtime/lib/worklet/runOnBackground.js +21 -12
  34. package/runtime/lib/worklet/runOnBackground.js.map +1 -1
  35. package/runtime/src/gesture/processGesture.ts +23 -15
  36. package/runtime/src/lifecycle/patch/snapshotPatchApply.ts +8 -2
  37. package/runtime/src/list.ts +2 -2
  38. package/runtime/src/lynx/calledByNative.ts +1 -1
  39. package/runtime/src/snapshot/gesture.ts +6 -4
  40. package/runtime/src/snapshot/workletEvent.ts +3 -2
  41. package/runtime/src/snapshot/workletRef.ts +5 -5
  42. package/runtime/src/snapshot.ts +6 -4
  43. package/runtime/src/worklet/execMap.ts +4 -3
  44. package/runtime/src/worklet/functionality.ts +2 -8
  45. package/runtime/src/worklet/hmr.ts +5 -1
  46. package/runtime/src/worklet/indexMap.ts +4 -1
  47. package/runtime/src/worklet/runOnBackground.ts +37 -15
  48. package/testing-library/dist/vitest-global-setup.js +7 -0
  49. package/transform/dist/wasm.cjs +1 -2
  50. package/transform/index.d.ts +443 -14
  51. package/types/react.d.ts +1 -1
  52. package/worklet-runtime/dist/dev.js +137 -49
  53. package/worklet-runtime/dist/dev.js.map +4 -4
  54. package/worklet-runtime/dist/main.js +137 -49
  55. package/worklet-runtime/dist/main.js.map +4 -4
  56. package/worklet-runtime/lib/api/element.d.ts +3 -3
  57. package/worklet-runtime/lib/api/element.js +3 -3
  58. package/worklet-runtime/lib/api/element.js.map +1 -1
  59. package/worklet-runtime/lib/api/lepusQuerySelector.js +1 -3
  60. package/worklet-runtime/lib/api/lepusQuerySelector.js.map +1 -1
  61. package/worklet-runtime/lib/api/lynxApi.js +10 -10
  62. package/worklet-runtime/lib/api/lynxApi.js.map +1 -1
  63. package/worklet-runtime/lib/bindings/bindings.d.ts +1 -1
  64. package/worklet-runtime/lib/bindings/bindings.js +20 -7
  65. package/worklet-runtime/lib/bindings/bindings.js.map +1 -1
  66. package/worklet-runtime/lib/bindings/events.d.ts +4 -1
  67. package/worklet-runtime/lib/bindings/events.js.map +1 -1
  68. package/worklet-runtime/lib/bindings/index.d.ts +1 -1
  69. package/worklet-runtime/lib/bindings/index.js +1 -1
  70. package/worklet-runtime/lib/bindings/index.js.map +1 -1
  71. package/worklet-runtime/lib/bindings/loadRuntime.js +0 -2
  72. package/worklet-runtime/lib/bindings/loadRuntime.js.map +1 -1
  73. package/worklet-runtime/lib/bindings/types.d.ts +8 -2
  74. package/worklet-runtime/lib/delayRunOnBackground.d.ts +12 -0
  75. package/worklet-runtime/lib/delayRunOnBackground.js +23 -0
  76. package/worklet-runtime/lib/delayRunOnBackground.js.map +1 -0
  77. package/worklet-runtime/lib/delayWorkletEvent.js +2 -2
  78. package/worklet-runtime/lib/delayWorkletEvent.js.map +1 -1
  79. package/worklet-runtime/lib/global.d.ts +6 -3
  80. package/worklet-runtime/lib/hydrate.d.ts +11 -0
  81. package/worklet-runtime/lib/hydrate.js +86 -0
  82. package/worklet-runtime/lib/hydrate.js.map +1 -0
  83. package/worklet-runtime/lib/jsFunctionLifecycle.js +2 -2
  84. package/worklet-runtime/lib/jsFunctionLifecycle.js.map +1 -1
  85. package/worklet-runtime/lib/listeners.js.map +1 -1
  86. package/worklet-runtime/lib/utils/profile.d.ts +1 -1
  87. package/worklet-runtime/lib/utils/version.js +1 -1
  88. package/worklet-runtime/lib/workletRef.d.ts +6 -3
  89. package/worklet-runtime/lib/workletRef.js +33 -6
  90. package/worklet-runtime/lib/workletRef.js.map +1 -1
  91. package/worklet-runtime/lib/workletRuntime.js +13 -18
  92. package/worklet-runtime/lib/workletRuntime.js.map +1 -1
  93. package/worklet-runtime/lib/ctxTrace.d.ts +0 -8
  94. package/worklet-runtime/lib/ctxTrace.js +0 -13
  95. package/worklet-runtime/lib/ctxTrace.js.map +0 -1

There are too many changes on this page to be displayed.


The amount of changes on this page would crash your brower.

You can still verify the content by downloading the package file manually.