@react-navigation/drawer 7.3.7 → 7.3.9
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/lib/typescript/src/index.d.ts.map +1 -0
- package/lib/typescript/src/navigators/createDrawerNavigator.d.ts.map +1 -0
- package/lib/typescript/src/types.d.ts.map +1 -0
- package/lib/typescript/src/utils/DrawerPositionContext.d.ts.map +1 -0
- package/lib/typescript/src/utils/DrawerStatusContext.d.ts.map +1 -0
- package/lib/typescript/src/utils/addCancelListener.d.ts.map +1 -0
- package/lib/typescript/src/utils/addCancelListener.native.d.ts.map +1 -0
- package/lib/typescript/src/utils/getDrawerStatusFromState.d.ts.map +1 -0
- package/lib/typescript/src/utils/useDrawerStatus.d.ts.map +1 -0
- package/lib/typescript/src/views/DrawerContent.d.ts.map +1 -0
- package/lib/typescript/src/views/DrawerContentScrollView.d.ts.map +1 -0
- package/lib/typescript/src/views/DrawerItem.d.ts.map +1 -0
- package/lib/typescript/src/views/DrawerItemList.d.ts.map +1 -0
- package/lib/typescript/src/views/DrawerToggleButton.d.ts.map +1 -0
- package/lib/typescript/src/views/DrawerView.d.ts.map +1 -0
- package/lib/typescript/src/views/ScreenFallback.d.ts.map +1 -0
- package/package.json +16 -27
- package/lib/commonjs/index.js +0 -89
- package/lib/commonjs/index.js.map +0 -1
- package/lib/commonjs/navigators/createDrawerNavigator.js +0 -53
- package/lib/commonjs/navigators/createDrawerNavigator.js.map +0 -1
- package/lib/commonjs/package.json +0 -1
- package/lib/commonjs/types.js +0 -6
- package/lib/commonjs/types.js.map +0 -1
- package/lib/commonjs/utils/DrawerPositionContext.js +0 -11
- package/lib/commonjs/utils/DrawerPositionContext.js.map +0 -1
- package/lib/commonjs/utils/DrawerStatusContext.js +0 -11
- package/lib/commonjs/utils/DrawerStatusContext.js.map +0 -1
- package/lib/commonjs/utils/addCancelListener.js +0 -19
- package/lib/commonjs/utils/addCancelListener.js.map +0 -1
- package/lib/commonjs/utils/addCancelListener.native.js +0 -15
- package/lib/commonjs/utils/addCancelListener.native.js.map +0 -1
- package/lib/commonjs/utils/getDrawerStatusFromState.js +0 -14
- package/lib/commonjs/utils/getDrawerStatusFromState.js.map +0 -1
- package/lib/commonjs/utils/useDrawerStatus.js +0 -22
- package/lib/commonjs/utils/useDrawerStatus.js.map +0 -1
- package/lib/commonjs/views/DrawerContent.js +0 -33
- package/lib/commonjs/views/DrawerContent.js.map +0 -1
- package/lib/commonjs/views/DrawerContentScrollView.js +0 -47
- package/lib/commonjs/views/DrawerContentScrollView.js.map +0 -1
- package/lib/commonjs/views/DrawerItem.js +0 -121
- package/lib/commonjs/views/DrawerItem.js.map +0 -1
- package/lib/commonjs/views/DrawerItemList.js +0 -73
- package/lib/commonjs/views/DrawerItemList.js.map +0 -1
- package/lib/commonjs/views/DrawerToggleButton.js +0 -41
- package/lib/commonjs/views/DrawerToggleButton.js.map +0 -1
- package/lib/commonjs/views/DrawerView.js +0 -290
- package/lib/commonjs/views/DrawerView.js.map +0 -1
- package/lib/commonjs/views/ScreenFallback.js +0 -53
- package/lib/commonjs/views/ScreenFallback.js.map +0 -1
- package/lib/commonjs/views/assets/toggle-drawer-icon.png +0 -0
- package/lib/commonjs/views/assets/toggle-drawer-icon@1x.android.png +0 -0
- package/lib/commonjs/views/assets/toggle-drawer-icon@1x.ios.png +0 -0
- package/lib/commonjs/views/assets/toggle-drawer-icon@2x.android.png +0 -0
- package/lib/commonjs/views/assets/toggle-drawer-icon@2x.ios.png +0 -0
- package/lib/commonjs/views/assets/toggle-drawer-icon@3x.android.png +0 -0
- package/lib/commonjs/views/assets/toggle-drawer-icon@3x.ios.png +0 -0
- package/lib/commonjs/views/assets/toggle-drawer-icon@4x.android.png +0 -0
- package/lib/commonjs/views/assets/toggle-drawer-icon@4x.ios.png +0 -0
- package/lib/typescript/commonjs/package.json +0 -1
- package/lib/typescript/commonjs/src/index.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/navigators/createDrawerNavigator.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/types.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/DrawerPositionContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/DrawerStatusContext.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/addCancelListener.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/addCancelListener.native.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/getDrawerStatusFromState.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/utils/useDrawerStatus.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/DrawerContent.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/DrawerContentScrollView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/DrawerItem.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/DrawerItemList.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/DrawerToggleButton.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/DrawerView.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/views/ScreenFallback.d.ts.map +0 -1
- package/lib/typescript/module/src/index.d.ts +0 -25
- package/lib/typescript/module/src/index.d.ts.map +0 -1
- package/lib/typescript/module/src/navigators/createDrawerNavigator.d.ts +0 -16
- package/lib/typescript/module/src/navigators/createDrawerNavigator.d.ts.map +0 -1
- package/lib/typescript/module/src/types.d.ts +0 -280
- package/lib/typescript/module/src/types.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/DrawerPositionContext.d.ts +0 -3
- package/lib/typescript/module/src/utils/DrawerPositionContext.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/DrawerStatusContext.d.ts +0 -4
- package/lib/typescript/module/src/utils/DrawerStatusContext.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/addCancelListener.d.ts +0 -2
- package/lib/typescript/module/src/utils/addCancelListener.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/addCancelListener.native.d.ts +0 -2
- package/lib/typescript/module/src/utils/addCancelListener.native.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/getDrawerStatusFromState.d.ts +0 -3
- package/lib/typescript/module/src/utils/getDrawerStatusFromState.d.ts.map +0 -1
- package/lib/typescript/module/src/utils/useDrawerStatus.d.ts +0 -7
- package/lib/typescript/module/src/utils/useDrawerStatus.d.ts.map +0 -1
- package/lib/typescript/module/src/views/DrawerContent.d.ts +0 -3
- package/lib/typescript/module/src/views/DrawerContent.d.ts.map +0 -1
- package/lib/typescript/module/src/views/DrawerContentScrollView.d.ts +0 -6
- package/lib/typescript/module/src/views/DrawerContentScrollView.d.ts.map +0 -1
- package/lib/typescript/module/src/views/DrawerItem.d.ts +0 -92
- package/lib/typescript/module/src/views/DrawerItem.d.ts.map +0 -1
- package/lib/typescript/module/src/views/DrawerItemList.d.ts +0 -14
- package/lib/typescript/module/src/views/DrawerItemList.d.ts.map +0 -1
- package/lib/typescript/module/src/views/DrawerToggleButton.d.ts +0 -11
- package/lib/typescript/module/src/views/DrawerToggleButton.d.ts.map +0 -1
- package/lib/typescript/module/src/views/DrawerView.d.ts +0 -11
- package/lib/typescript/module/src/views/DrawerView.d.ts.map +0 -1
- package/lib/typescript/module/src/views/ScreenFallback.d.ts +0 -18
- package/lib/typescript/module/src/views/ScreenFallback.d.ts.map +0 -1
- /package/lib/typescript/{module/package.json → package.json} +0 -0
- /package/lib/typescript/{commonjs/src → src}/index.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/navigators/createDrawerNavigator.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/types.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/DrawerPositionContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/DrawerStatusContext.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/addCancelListener.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/addCancelListener.native.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/getDrawerStatusFromState.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/utils/useDrawerStatus.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/DrawerContent.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/DrawerContentScrollView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/DrawerItem.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/DrawerItemList.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/DrawerToggleButton.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/DrawerView.d.ts +0 -0
- /package/lib/typescript/{commonjs/src → src}/views/ScreenFallback.d.ts +0 -0
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type ImageSourcePropType } from 'react-native';
|
|
2
|
-
type Props = {
|
|
3
|
-
accessibilityLabel?: string;
|
|
4
|
-
pressColor?: string;
|
|
5
|
-
pressOpacity?: number;
|
|
6
|
-
tintColor?: string;
|
|
7
|
-
imageSource?: ImageSourcePropType;
|
|
8
|
-
};
|
|
9
|
-
export declare function DrawerToggleButton({ tintColor, accessibilityLabel, imageSource, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=DrawerToggleButton.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerToggleButton.d.ts","sourceRoot":"","sources":["../../../../../src/views/DrawerToggleButton.tsx"],"names":[],"mappings":"AAMA,OAAO,EAAS,KAAK,mBAAmB,EAAc,MAAM,cAAc,CAAC;AAK3E,KAAK,KAAK,GAAG;IACX,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,mBAAmB,CAAC;CACnC,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EACjC,SAAS,EACT,kBAA2C,EAC3C,WAA8B,EAC9B,GAAG,IAAI,EACR,EAAE,KAAK,2CAkBP"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { type DrawerNavigationState, type DrawerStatus, type ParamListBase } from '@react-navigation/native';
|
|
2
|
-
import type { DrawerDescriptorMap, DrawerNavigationConfig, DrawerNavigationHelpers } from '../types';
|
|
3
|
-
type Props = DrawerNavigationConfig & {
|
|
4
|
-
defaultStatus: DrawerStatus;
|
|
5
|
-
state: DrawerNavigationState<ParamListBase>;
|
|
6
|
-
navigation: DrawerNavigationHelpers;
|
|
7
|
-
descriptors: DrawerDescriptorMap;
|
|
8
|
-
};
|
|
9
|
-
export declare function DrawerView({ navigation, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=DrawerView.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"DrawerView.d.ts","sourceRoot":"","sources":["../../../../../src/views/DrawerView.tsx"],"names":[],"mappings":"AAOA,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,YAAY,EACjB,KAAK,aAAa,EAInB,MAAM,0BAA0B,CAAC;AAOlC,OAAO,KAAK,EAEV,mBAAmB,EAEnB,sBAAsB,EACtB,uBAAuB,EAExB,MAAM,UAAU,CAAC;AASlB,KAAK,KAAK,GAAG,sBAAsB,GAAG;IACpC,aAAa,EAAE,YAAY,CAAC;IAC5B,KAAK,EAAE,qBAAqB,CAAC,aAAa,CAAC,CAAC;IAC5C,UAAU,EAAE,uBAAuB,CAAC;IACpC,WAAW,EAAE,mBAAmB,CAAC;CAClC,CAAC;AA8TF,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,2CAMxD"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { type StyleProp, type ViewProps, type ViewStyle } from 'react-native';
|
|
3
|
-
type Props = {
|
|
4
|
-
visible: boolean;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
enabled: boolean;
|
|
7
|
-
freezeOnBlur?: boolean;
|
|
8
|
-
shouldFreeze: boolean;
|
|
9
|
-
style?: StyleProp<ViewStyle>;
|
|
10
|
-
};
|
|
11
|
-
export declare const MaybeScreenContainer: ({ enabled, ...rest }: ViewProps & {
|
|
12
|
-
enabled: boolean;
|
|
13
|
-
hasTwoStates: boolean;
|
|
14
|
-
children: React.ReactNode;
|
|
15
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export declare function MaybeScreen({ visible, children, ...rest }: Props): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export {};
|
|
18
|
-
//# sourceMappingURL=ScreenFallback.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ScreenFallback.d.ts","sourceRoot":"","sources":["../../../../../src/views/ScreenFallback.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EACL,KAAK,SAAS,EAEd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,KAAK,KAAK,GAAG;IACX,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,YAAY,EAAE,OAAO,CAAC;IACtB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B,CAAC;AAUF,eAAO,MAAM,oBAAoB,yBAG9B,SAAS,GAAG;IACb,OAAO,EAAE,OAAO,CAAC;IACjB,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,4CAMA,CAAC;AAEF,wBAAgB,WAAW,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,2CAchE"}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|