@dgui/react-native 1.7.0-next.1 → 1.7.0-next.2
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 ReactNativeDigestDrawersProps } 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<ReactNativeDigestDrawersProps
|
|
6
|
+
export type DrawersProps = Omit<PropsWithChildren<ReactNativeDigestDrawersProps>, 'style'> & {
|
|
7
|
+
readonly style: ViewStyle;
|
|
8
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/Drawers/index.tsx"],"names":[],"mappings":";;;;;;AAAA,gEAEsC;AAItC,kDAA0B;AAC1B,mEAEmC;AACnC,qDAE4B;AAC5B,iCAIe;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/Components/Drawers/index.tsx"],"names":[],"mappings":";;;;;;AAAA,gEAEsC;AAItC,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,iCAAkB,IAClB,SAAS,EAAC,4BAA4B,GACrC,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,eAAe,CAAC;AAEtC,kBAAe,OAAO,CAAC"}
|
|
@@ -14,8 +14,8 @@ const styles = react_native_1.StyleSheet.create({
|
|
|
14
14
|
zIndex: 1
|
|
15
15
|
}
|
|
16
16
|
});
|
|
17
|
-
const ReactNativeDigest = ({ 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)(NativeGateway_1.NativeGatewayDest, { gatewayId: 'ReactNativeDigestAppBar', 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 ReactNativeDigest = ({ 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)(NativeGateway_1.NativeGatewayDest, { gatewayId: 'ReactNativeDigestAppBar', 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
|
ReactNativeDigest.displayName = 'ReactNativeDigest';
|
|
21
21
|
exports.default = ReactNativeDigest;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ReactNativeDigest.js","sourceRoot":"","sources":["../src/ReactNativeDigest.tsx"],"names":[],"mappings":";;;;;;AAAA,mEAA2C;AAC3C,6DAAqC;AACrC,4DAEkC;AAClC,4DAAoC;AAOpC,+
|
|
1
|
+
{"version":3,"file":"ReactNativeDigest.js","sourceRoot":"","sources":["../src/ReactNativeDigest.tsx"],"names":[],"mappings":";;;;;;AAAA,mEAA2C;AAC3C,6DAAqC;AACrC,4DAEkC;AAClC,4DAAoC;AAOpC,+CAIsB;AAEtB,MAAM,MAAM,GAAG,yBAAU,CAAC,MAAM,CAAC;IAChC,MAAM,EAAE;QACP,MAAM,EAAE,CAAC;KACT;CACD,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAA8C,CAAC,EACrE,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,iCAAkB,IAClB,SAAS,EAAC,yBAAyB,EACnC,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,iBAAiB,CAAC,WAAW,GAAG,mBAAmB,CAAC;AAEpD,kBAAe,iBAAiB,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@dgui/react-native",
|
|
3
3
|
"title": "Digested React GUI Native Components",
|
|
4
4
|
"license": "LGPL-3.0-or-later",
|
|
5
|
-
"version": "1.7.0-next.
|
|
5
|
+
"version": "1.7.0-next.2",
|
|
6
6
|
"private": false,
|
|
7
7
|
"description": "Native Components for a boilerplate React GUI",
|
|
8
8
|
"author": "wallzero @wallzeroblog (http://wallzero.com)",
|
|
@@ -65,8 +65,8 @@
|
|
|
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.
|
|
68
|
+
"@dgui/react-native-shared": "1.7.0-next.2",
|
|
69
|
+
"@dgui/react-shared": "1.7.0-next.2"
|
|
70
70
|
},
|
|
71
71
|
"peerDependencies": {
|
|
72
72
|
"react": "^16.0.0 || ^17.0.0 || ^18.0.0",
|
|
@@ -82,5 +82,5 @@
|
|
|
82
82
|
"react-native",
|
|
83
83
|
"typescript"
|
|
84
84
|
],
|
|
85
|
-
"gitHead": "
|
|
85
|
+
"gitHead": "182f10bd7e6db31cd5450ac4611671766e83c8e1"
|
|
86
86
|
}
|