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.js CHANGED
@@ -1052,7 +1052,10 @@ var EventBlock = React19__namespace.default.memo(({
1052
1052
  zIndex: frame.zIndex,
1053
1053
  opacity: anyEventSelected || disabled ? 0.5 : 1,
1054
1054
  borderWidth: selected ? 2 : 1,
1055
- borderColor: selected ? "#4d959c" : "rgba(0,0,0,0.12)"
1055
+ borderColor: selected ? "#4d959c" : "rgba(0,0,0,0.12)",
1056
+ // When disabled, let touches fall through to the grid blocks beneath
1057
+ // (e.g. "select a time" mode) instead of swallowing them.
1058
+ pointerEvents: disabled ? "none" : "auto"
1056
1059
  };
1057
1060
  const resolved = typeof styleOverrides === "function" ? styleOverrides(event) ?? {} : styleOverrides ?? {};
1058
1061
  const handlePress = React19.useCallback(() => onPress?.(event), [onPress, event]);