@dgui/react-native-web 1.7.0-next.1 → 1.7.0-next.3
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.
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { type ReactNativeWebDigestDrawersProps } from '../../Types';
|
|
2
2
|
import { type FunctionComponent, type PropsWithChildren } from 'react';
|
|
3
|
+
import { type ViewStyle } from 'react-native';
|
|
3
4
|
declare const Drawers: FunctionComponent<DrawersProps>;
|
|
4
5
|
export default Drawers;
|
|
5
|
-
export type DrawersProps = PropsWithChildren<ReactNativeWebDigestDrawersProps
|
|
6
|
+
export type DrawersProps = Omit<PropsWithChildren<ReactNativeWebDigestDrawersProps>, 'style'> & {
|
|
7
|
+
readonly style: ViewStyle;
|
|
8
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/Drawers/index.tsx"],"names":[],"mappings":";;;;;;AAAA,sEAEyC;AAIzC,kDAA0B;AAC1B,mEAEmC;AACnC,qDAE4B;AAC5B,iCAIe;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/Drawers/index.tsx"],"names":[],"mappings":";;;;;;AAAA,sEAEyC;AAIzC,kDAA0B;AAC1B,mEAEmC;AACnC,qDAE4B;AAC5B,iCAIe;AAMf,MAAM,OAAO,GAAoC,CAChD,KAAK,EACJ,EAAE;IACH,MAAM,UAAU,GAAG,IAAA,4BAAa,GAAE,CAAC;IAEnC,MAAM,MAAM,GAAG,IAAA,eAAO,EACrB,GAAG,EAAE;QACJ,OAAO,CACN,6DACC,uBAAC,uCAAkB,IAClB,SAAS,EAAC,+BAA+B,GACxC,EACF,uBAAC,cAAI,KAAG,IACN,CACH,CAAC;IACH,CAAC,EACD,EAAE,CACF,CAAC;IAEF,OAAO,CACN,uBAAC,uCAAW,kBACX,aAAa,EAAE,MAAM,EACrB,IAAI,EAAE,UAAU,IACZ,KAAK,EACR,CACF,CAAC;AACH,CAAC,CAAC;AAEF,OAAO,CAAC,WAAW,GAAG,kBAAkB,CAAC;AAEzC,kBAAe,OAAO,CAAC"}
|
|
@@ -14,8 +14,8 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
14
14
|
zIndex: 1
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
|
-
const ReactNativeWebDigest = ({ children, drawerAnimationTime, drawerIndex, drawerOpacity, drawerOpen, drawerPosition, drawerWidth, onDrawerToggle, onSelectDrawer, onSelectTab, swipe, tabIndex }) => {
|
|
18
|
-
return ((0, jsx_runtime_1.jsxs)(Providers_1.default, { drawerIndex: drawerIndex, drawerOpen: drawerOpen, onDrawerToggle: onDrawerToggle, onSelectDrawer: onSelectDrawer, onSelectTab: onSelectTab, tabIndex: tabIndex, children: [(0, jsx_runtime_1.jsx)(NativeWebGateway_1.NativeWebGatewayDest, { gatewayId: 'ReactNativeWebDigestAppBar', style: styles.appbar }), (0, jsx_runtime_1.jsx)(Drawers_1.default, { animationTime: drawerAnimationTime, opacity: drawerOpacity, position: drawerPosition, width: drawerWidth, children: (0, jsx_runtime_1.jsx)(Tabs_1.default, { swipe: swipe }) }), children] }));
|
|
17
|
+
const ReactNativeWebDigest = ({ children, drawerAnimationTime, drawerIndex, drawerOpacity, drawerOpen, drawerPosition, drawerStyle, drawerWidth, onDrawerToggle, onSelectDrawer, onSelectTab, swipe, tabIndex }) => {
|
|
18
|
+
return ((0, jsx_runtime_1.jsxs)(Providers_1.default, { drawerIndex: drawerIndex, drawerOpen: drawerOpen, onDrawerToggle: onDrawerToggle, onSelectDrawer: onSelectDrawer, onSelectTab: onSelectTab, tabIndex: tabIndex, children: [(0, jsx_runtime_1.jsx)(NativeWebGateway_1.NativeWebGatewayDest, { gatewayId: 'ReactNativeWebDigestAppBar', style: styles.appbar }), (0, jsx_runtime_1.jsx)(Drawers_1.default, { animationTime: drawerAnimationTime, opacity: drawerOpacity, position: drawerPosition, style: drawerStyle, width: drawerWidth, children: (0, jsx_runtime_1.jsx)(Tabs_1.default, { swipe: swipe }) }), children] }));
|
|
19
19
|
};
|
|
20
20
|
ReactNativeWebDigest.displayName = 'ReactNativeWebDigest';
|
|
21
21
|
exports.default = ReactNativeWebDigest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactNativeWebDigest.js","sourceRoot":"","sources":["../src/ReactNativeWebDigest.tsx"],"names":[],"mappings":";;;;;;AAAA,mEAA2C;AAC3C,6DAAqC;AACrC,kEAEqC;AACrC,4DAAoC;AAOpC,+
|
|
1
|
+
{"version":3,"file":"ReactNativeWebDigest.js","sourceRoot":"","sources":["../src/ReactNativeWebDigest.tsx"],"names":[],"mappings":";;;;;;AAAA,mEAA2C;AAC3C,6DAAqC;AACrC,kEAEqC;AACrC,4DAAoC;AAOpC,+CAIsB;AAEtB,MAAM,MAAM,GAAG,yBAAU,CAAC,MAAM,CAAC;IAChC,MAAM,EAAE;QACP,MAAM,EAAE,CAAC;KACT;CACD,CAAC,CAAC;AAEH,MAAM,oBAAoB,GAAiD,CAAC,EAC3E,QAAQ,EACR,mBAAmB,EACnB,WAAW,EACX,aAAa,EACb,UAAU,EACV,cAAc,EACd,WAAW,EACX,WAAW,EACX,cAAc,EACd,cAAc,EACd,WAAW,EACX,KAAK,EACL,QAAQ,EACR,EAAE,EAAE;IACJ,OAAO,CACN,wBAAC,mBAAS,IACT,WAAW,EAAE,WAAW,EACxB,UAAU,EAAE,UAAU,EACtB,cAAc,EAAE,cAAc,EAC9B,cAAc,EAAE,cAAc,EAC9B,WAAW,EAAE,WAAW,EACxB,QAAQ,EAAE,QAAQ,aAElB,uBAAC,uCAAkB,IAClB,SAAS,EAAC,4BAA4B,EACtC,KAAK,EAAE,MAAM,CAAC,MAAM,GACnB,EACF,uBAAC,iBAAO,IACP,aAAa,EAAE,mBAAmB,EAClC,OAAO,EAAE,aAAa,EACtB,QAAQ,EAAE,cAAc,EACxB,KAAK,EAAE,WAAwB,EAC/B,KAAK,EAAE,WAAW,YAElB,uBAAC,cAAI,IACJ,KAAK,EAAE,KAAK,GACX,GACO,EACT,QAAQ,IACE,CACZ,CAAC;AACH,CAAC,CAAC;AAEF,oBAAoB,CAAC,WAAW,GAAG,sBAAsB,CAAC;AAE1D,kBAAe,oBAAoB,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@dgui/react-native-web",
|
|
3
3
|
"title": "Digested React GUI Native Web Components",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
|
-
"version": "1.7.0-next.
|
|
5
|
+
"version": "1.7.0-next.3",
|
|
6
6
|
"private": false,
|
|
7
7
|
"description": "Native Web Components for a boilerplate React GUI",
|
|
8
8
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"rimraf": "^6.0.1"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@dgui/react-native-shared": "1.7.0-next.
|
|
69
|
-
"@dgui/react-shared": "1.7.0-next.
|
|
70
|
-
"@dgui/react-web-shared": "1.7.0-next.
|
|
68
|
+
"@dgui/react-native-shared": "1.7.0-next.3",
|
|
69
|
+
"@dgui/react-shared": "1.7.0-next.3",
|
|
70
|
+
"@dgui/react-web-shared": "1.7.0-next.3"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
73
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -86,5 +86,5 @@
|
|
|
86
86
|
"react-native-web",
|
|
87
87
|
"typescript"
|
|
88
88
|
],
|
|
89
|
-
"gitHead": "
|
|
89
|
+
"gitHead": "0069cf82614f9de8788c85f30254827298d9c6c9"
|
|
90
90
|
}
|