Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

@dgui/react-native-shared

Package Overview
Dependencies
Maintainers
2
Versions
90
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dgui/react-native-shared - npm Package Compare versions

Comparing version
0.3.2-beta.1
to
0.4.0
+1
-1
dist/Components/AppBar/index.js

@@ -34,4 +34,4 @@ "use strict";

]);
return ((0, jsx_runtime_1.jsxs)(NativeBaseContainer_1.default, Object.assign({ style: styles.tabBar }, { children: [(0, jsx_runtime_1.jsx)(DrawerToggle_1.default, {}), (0, jsx_runtime_1.jsx)(NativeBaseTabBar_1.NativeBaseTabBar, { children: tabs })] })));
return ((0, jsx_runtime_1.jsxs)(NativeBaseContainer_1.default, { style: styles.tabBar, children: [(0, jsx_runtime_1.jsx)(DrawerToggle_1.default, {}), (0, jsx_runtime_1.jsx)(NativeBaseTabBar_1.NativeBaseTabBar, { children: tabs })] }));
};
exports.default = AppBar;

@@ -30,5 +30,5 @@ "use strict";

]);
return ((0, jsx_runtime_1.jsx)(react_native_1.View, Object.assign({ style: styles.drawerBar }, { children: (0, jsx_runtime_1.jsx)(NativeBaseTabBar_1.NativeBaseTabBar, { children: tabs }) })));
return ((0, jsx_runtime_1.jsx)(react_native_1.View, { style: styles.drawerBar, children: (0, jsx_runtime_1.jsx)(NativeBaseTabBar_1.NativeBaseTabBar, { children: tabs }) }));
};
DrawerBar.displayName = 'NativeWebDrawerBar';
exports.default = DrawerBar;

@@ -6,3 +6,3 @@ import { type FunctionComponent, type PropsWithChildren } from 'react';

export type NativeBaseContainerProps = Omit<ViewProps, 'style'> & PropsWithChildren<{
style: ViewStyle;
readonly style: ViewStyle;
}>;

@@ -21,5 +21,5 @@ "use strict";

});
return ((0, jsx_runtime_1.jsx)(react_native_1.View, Object.assign({}, props, { style: styles.style }, { children: children })));
return ((0, jsx_runtime_1.jsx)(react_native_1.View, Object.assign({}, props, { style: styles.style, children: children })));
};
NativeBaseContainer.displayName = 'NativeBaseContainer';
exports.default = NativeBaseContainer;

@@ -5,8 +5,8 @@ import { type FunctionComponent, type PropsWithChildren, type ReactNode } from 'react';

export type NativeBaseDrawersProps = PropsWithChildren<{
animationTime?: number;
drawerContent?: ReactNode;
drawerWidth?: number;
opacity?: number;
open?: boolean;
position?: 'left' | 'right';
readonly animationTime?: number;
readonly drawerContent?: ReactNode;
readonly drawerWidth?: number;
readonly opacity?: number;
readonly open?: boolean;
readonly position?: 'left' | 'right';
}>;

@@ -141,5 +141,5 @@ "use strict";

]);
return ((0, jsx_runtime_1.jsxs)(react_native_1.View, Object.assign({ style: styles.container }, { children: [(0, jsx_runtime_1.jsx)(react_native_1.Animated.View, Object.assign({ style: styles.content }, { children: children })), (0, jsx_runtime_1.jsx)(react_native_1.Animated.View, Object.assign({ style: drawerStyle }, { children: drawerContent }))] })));
return ((0, jsx_runtime_1.jsxs)(react_native_1.View, { style: styles.container, children: [(0, jsx_runtime_1.jsx)(react_native_1.Animated.View, { style: styles.content, children: children }), (0, jsx_runtime_1.jsx)(react_native_1.Animated.View, { style: drawerStyle, children: drawerContent })] }));
};
NativeBaseDrawers.displayName = 'NativeBaseDrawers';
exports.default = NativeBaseDrawers;

@@ -15,4 +15,4 @@ "use strict";

const NativeBaseTabBar = ({ children }) => {
return ((0, jsx_runtime_1.jsx)(NativeBaseContainer_1.default, Object.assign({ style: styles.tabBar }, { children: children })));
return ((0, jsx_runtime_1.jsx)(NativeBaseContainer_1.default, { style: styles.tabBar, children: children }));
};
exports.default = NativeBaseTabBar;

@@ -5,6 +5,6 @@ import { type FunctionComponent } from 'react';

export type NativeBaseTabBarTabProps = {
onSelectTab: (tabIndex: number, tabId: string) => void;
tabId: string;
tabIndex: number;
tabTitle?: string;
readonly onSelectTab: (tabIndex: number, tabId: string) => void;
readonly tabId: string;
readonly tabIndex: number;
readonly tabTitle?: string;
};

@@ -5,3 +5,3 @@ {

"license": "LGPL-3.0-or-later",
"version": "0.3.2-beta.1",
"version": "0.4.0",
"private": false,

@@ -47,25 +47,25 @@ "description": "Native Shared Components for a boilerplate React GUI",

"devDependencies": {
"@digest/eslint-config-jest": "^4.2.2",
"@digest/eslint-config-react": "^4.2.2",
"@digest/eslint-config-typescript": "^4.2.2",
"@digest/jest-junit": "^4.2.2",
"@digest/jest-react": "^4.2.2",
"@digest/jest-typescript": "^4.2.2",
"@digest/typescript": "^4.2.2",
"@types/jest": "^29.5.1",
"@digest/eslint-config-jest": "^4.2.5",
"@digest/eslint-config-react": "^4.2.5",
"@digest/eslint-config-typescript": "^4.2.5",
"@digest/jest-junit": "^4.2.5",
"@digest/jest-react": "^4.2.5",
"@digest/jest-typescript": "^4.2.5",
"@digest/typescript": "^4.2.5",
"@types/jest": "^29.5.3",
"@types/lodash.debounce": "^4.0.7",
"@types/react": "^18.0.38",
"@types/react-native": "^0.71.6",
"@types/react": "^18.2.18",
"@types/react-native": "^0.72.2",
"@types/react-test-renderer": "^18.0.0",
"cross-env": "^7.0.3",
"jest-environment-jsdom": "^29.5.0",
"jest-environment-jsdom": "^29.6.2",
"jest-environment-jsdom-global": "^4.0.0",
"npm-run-all": "^4.1.5",
"react": "^18.2.0",
"react-native": "^0.71.7",
"react-native": "^0.72.3",
"react-test-renderer": "^18.2.0",
"rimraf": "^5.0.0"
"rimraf": "^5.0.1"
},
"dependencies": {
"@dgui/react-shared": "^0.3.2-beta.1",
"@dgui/react-shared": "^0.4.0",
"lodash.debounce": "^4.0.8"

@@ -75,3 +75,3 @@ },

"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
"react-native": "^0.71.0"
"react-native": "^0.72.0"
},

@@ -86,3 +86,3 @@ "keywords": [

],
"gitHead": "d7041d722670220288a98743c02810b000cf8020"
"gitHead": "94c816e2bceb058183cbe0f4dfacb1c7dd6c9d86"
}