react-native-resource-calendar 1.0.25 → 1.0.26
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 +12 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -22,11 +22,23 @@ https://github.com/user-attachments/assets/68fe0283-73ce-4689-8241-6587b817ecbd
|
|
|
22
22
|
|
|
23
23
|
## 📦 Installation
|
|
24
24
|
|
|
25
|
+
This library supports multiple Expo SDK versions via npm dist-tags.
|
|
26
|
+
|
|
27
|
+
✅ Expo SDK 54 (default / latest)
|
|
25
28
|
```bash
|
|
26
29
|
npm install react-native-resource-calendar
|
|
27
30
|
# or
|
|
28
31
|
yarn add react-native-resource-calendar
|
|
29
32
|
```
|
|
33
|
+
This installs the latest release, compatible with Expo SDK 54.
|
|
34
|
+
|
|
35
|
+
🧭 Expo SDK 53 (legacy)
|
|
36
|
+
```bash
|
|
37
|
+
npm install react-native-resource-calendar@legacy
|
|
38
|
+
# or
|
|
39
|
+
yarn add react-native-resource-calendar@legacy
|
|
40
|
+
```
|
|
41
|
+
Use this if your app is still running Expo SDK 53.
|
|
30
42
|
|
|
31
43
|
## ⚙️ Peer Dependencies
|
|
32
44
|
|
package/dist/index.js
CHANGED
|
@@ -803,10 +803,10 @@ var EventGridBlocksSkia = ({
|
|
|
803
803
|
const onTouchesUp = React19__namespace.useCallback(() => {
|
|
804
804
|
setPressedRow(null);
|
|
805
805
|
}, []);
|
|
806
|
-
const longPressGesture = reactNativeGestureHandler.Gesture.LongPress().onBegin((e) => {
|
|
806
|
+
const longPressGesture = reactNativeGestureHandler.Gesture.LongPress().minDuration(350).onBegin((e) => {
|
|
807
807
|
"worklet";
|
|
808
808
|
Animated2.runOnJS(onPressBegin)(Math.floor(e.y / rowHeight));
|
|
809
|
-
}).
|
|
809
|
+
}).onStart((e) => {
|
|
810
810
|
"worklet";
|
|
811
811
|
Animated2.runOnJS(onSlotLongPress)(Math.floor(e.y / rowHeight));
|
|
812
812
|
}).onTouchesCancelled(() => {
|