@sigx/lynx-gestures 0.4.2 → 0.4.3
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 +2 -2
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -247,13 +247,13 @@ const ref = useSwiperDotProgress({ offset, pageWidth, index: i });
|
|
|
247
247
|
<view main-thread:ref={ref} style={{ opacity: '0' }} />
|
|
248
248
|
```
|
|
249
249
|
|
|
250
|
-
For a fully themed indicator (5 ready-made variants — dots, bar, pill, numbered, scale-pulse), use `<SwiperIndicator>` from [`@sigx/lynx-daisyui`](
|
|
250
|
+
For a fully themed indicator (5 ready-made variants — dots, bar, pill, numbered, scale-pulse), use `<SwiperIndicator>` from [`@sigx/lynx-daisyui`](https://github.com/signalxjs/lynx/tree/main/packages/lynx-daisyui).
|
|
251
251
|
|
|
252
252
|
---
|
|
253
253
|
|
|
254
254
|
## Animation primitives
|
|
255
255
|
|
|
256
|
-
> The cross-thread primitive — `useSharedValue`, `SharedValue`, `useAnimatedStyle` — lives in [`@sigx/lynx`](
|
|
256
|
+
> The cross-thread primitive — `useSharedValue`, `SharedValue`, `useAnimatedStyle` — lives in [`@sigx/lynx`](https://github.com/signalxjs/lynx/tree/main/packages/lynx#sharedvalue--the-cross-thread-primitive) since 0.3.0. Import from `@sigx/lynx` directly:
|
|
257
257
|
|
|
258
258
|
### `useSharedValue<T>(initial)` *(from `@sigx/lynx`)*
|
|
259
259
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sigx/lynx-gestures",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.3",
|
|
4
4
|
"description": "Gesture system for sigx-lynx - declarative composables for tap, pan, pinch, swipe, long press",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
"author": "Andreas Ekdahl",
|
|
29
29
|
"license": "MIT",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@sigx/lynx": "^0.4.
|
|
31
|
+
"@sigx/lynx": "^0.4.3"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@lynx-js/react": "^0.121.0",
|
|
35
35
|
"@typescript/native-preview": "7.0.0-dev.20260521.1",
|
|
36
36
|
"typescript": "^6.0.3",
|
|
37
|
-
"@sigx/lynx-
|
|
38
|
-
"@sigx/lynx-
|
|
39
|
-
"@sigx/lynx-
|
|
37
|
+
"@sigx/lynx-runtime-main": "^0.4.3",
|
|
38
|
+
"@sigx/lynx-testing": "^0.4.3",
|
|
39
|
+
"@sigx/lynx-plugin": "^0.4.3"
|
|
40
40
|
},
|
|
41
41
|
"repository": {
|
|
42
42
|
"type": "git",
|