react-native-resource-calendar 1.1.14 → 1.1.15

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/dist/index.mjs CHANGED
@@ -1027,7 +1027,10 @@ var EventBlock = React19__default.memo(({
1027
1027
  zIndex: frame.zIndex,
1028
1028
  opacity: anyEventSelected || disabled ? 0.5 : 1,
1029
1029
  borderWidth: selected ? 2 : 1,
1030
- borderColor: selected ? "#4d959c" : "rgba(0,0,0,0.12)"
1030
+ borderColor: selected ? "#4d959c" : "rgba(0,0,0,0.12)",
1031
+ // When disabled, let touches fall through to the grid blocks beneath
1032
+ // (e.g. "select a time" mode) instead of swallowing them.
1033
+ pointerEvents: disabled ? "none" : "auto"
1031
1034
  };
1032
1035
  const resolved = typeof styleOverrides === "function" ? styleOverrides(event) ?? {} : styleOverrides ?? {};
1033
1036
  const handlePress = useCallback(() => onPress?.(event), [onPress, event]);