@lynx-js/react-canary 0.112.4-canary-20250825-e4d116b6 → 0.112.4-canary-20250826-bc7f532b
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/CHANGELOG.md +13 -13
- package/package.json +1 -1
- package/refresh/.turbo/turbo-build.log +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# @lynx-js/react
|
|
2
2
|
|
|
3
|
-
## 0.112.4-canary-
|
|
3
|
+
## 0.112.4-canary-20250826035202-bc7f532b048be97bae08b8b66137faaa7bc6deee
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
- fix
|
|
7
|
+
- fix `withInitDataInState` got wrong state in 2nd or more times `defaultDataProcessor`, now it will keep its own state. ([#1478](https://github.com/lynx-family/lynx-stack/pull/1478))
|
|
8
8
|
|
|
9
9
|
- change `__CreateElement('raw-text')` to `__CreateRawText('')` to avoid `setNativeProps` not working ([#1570](https://github.com/lynx-family/lynx-stack/pull/1570))
|
|
10
10
|
|
|
@@ -16,17 +16,17 @@
|
|
|
16
16
|
|
|
17
17
|
- Add `animate` API in Main Thread Script(MTS), so you can now control a CSS animation imperatively ([#1534](https://github.com/lynx-family/lynx-stack/pull/1534))
|
|
18
18
|
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
animation.pause()
|
|
19
|
+
```ts
|
|
20
|
+
import type { MainThread } from "@lynx-js/types";
|
|
21
|
+
|
|
22
|
+
function startAnimation(ele: MainThread.Element) {
|
|
23
|
+
"main thread";
|
|
24
|
+
const animation = ele.animate([{ opacity: 0 }, { opacity: 1 }], {
|
|
25
|
+
duration: 3000,
|
|
26
|
+
});
|
|
27
|
+
|
|
28
|
+
// Can also be paused
|
|
29
|
+
// animation.pause()
|
|
30
30
|
}
|
|
31
31
|
```
|
|
32
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lynx-js/react-canary",
|
|
3
|
-
"version": "0.112.4-canary-
|
|
3
|
+
"version": "0.112.4-canary-20250826-bc7f532b",
|
|
4
4
|
"description": "ReactLynx is a framework for developing Lynx applications with familiar React.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|