react-native-resource-calendar 1.1.2 → 1.1.4
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
|
@@ -804,10 +804,10 @@ var EventGridBlocksSkia = ({
|
|
|
804
804
|
const onTouchesUp = React19__namespace.useCallback(() => {
|
|
805
805
|
setPressedRow(null);
|
|
806
806
|
}, []);
|
|
807
|
-
const longPressGesture = reactNativeGestureHandler.Gesture.LongPress().onBegin((e) => {
|
|
807
|
+
const longPressGesture = reactNativeGestureHandler.Gesture.LongPress().minDuration(350).onBegin((e) => {
|
|
808
808
|
"worklet";
|
|
809
809
|
reactNativeWorklets.scheduleOnRN(onPressBegin, Math.floor(e.y / rowHeight));
|
|
810
|
-
}).
|
|
810
|
+
}).onStart((e) => {
|
|
811
811
|
"worklet";
|
|
812
812
|
reactNativeWorklets.scheduleOnRN(onSlotLongPress, Math.floor(e.y / rowHeight));
|
|
813
813
|
}).onTouchesUp(() => {
|