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