🚀 Socket Launch Week Day 5:Introducing Repository Access Permissions and Custom Roles.Learn more
Sign In

react-native-airship

Package Overview
Dependencies
Maintainers
3
Versions
19
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-native-airship - npm Package Compare versions

Comparing version
0.2.11
to
0.2.12
+4
-0
CHANGELOG.md
# react-native-airship
## 0.2.12 (2023-07-07)
- fixed: Make the barometer component non-accessible.
## 0.2.11 (2022-12-19)

@@ -4,0 +8,0 @@

+1
-2

@@ -1,2 +0,2 @@

import * as React from 'react';
/// <reference types="react" />
import { Offset, Padding } from '../util/sides';

@@ -8,3 +8,2 @@ export interface BarometerLayout {

interface Props {
children?: React.ReactNode;
onLayout?: (layout: BarometerLayout) => void;

@@ -11,0 +10,0 @@ }

@@ -22,3 +22,3 @@ import * as React from 'react';

export function Barometer(props) {
const { children, onLayout = () => { } } = props;
const { onLayout = () => { } } = props;
// Mutable state:

@@ -108,6 +108,6 @@ const keyboardHeight = React.useRef(0);

if (Platform.OS === 'android') {
return (React.createElement(View, { ref: view, onLayout: handleLayout, pointerEvents: "none", style: StyleSheet.absoluteFill, testID: "AirshipBarometer" }, children));
return (React.createElement(View, { ref: view, accessible: false, pointerEvents: "none", style: StyleSheet.absoluteFill, onLayout: handleLayout }));
}
return (React.createElement(SafeAreaView, { ref: view, onLayout: handleLayout, pointerEvents: "none", style: StyleSheet.absoluteFill, testID: "AirshipBarometer" },
React.createElement(View, { ref: childView, style: { flex: 1 }, testID: "AirshipBarometerChild" }, children)));
return (React.createElement(SafeAreaView, { ref: view, accessible: false, pointerEvents: "none", style: StyleSheet.absoluteFill, onLayout: handleLayout },
React.createElement(View, { ref: childView, accessible: false, style: { flex: 1 } })));
}
{
"name": "react-native-airship",
"version": "0.2.11",
"version": "0.2.12",
"private": false,

@@ -5,0 +5,0 @@ "description": "Flexible toolkit for building modals & alerts",