@react-navigation/drawer 7.0.0-alpha.1 → 7.0.0-alpha.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,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DefaultNavigatorOptions, DrawerNavigationState, DrawerRouterOptions, ParamListBase } from '@react-navigation/native';
3
2
  import type { DrawerNavigationConfig, DrawerNavigationEventMap, DrawerNavigationOptions } from '../types';
4
3
  type Props = DefaultNavigatorOptions<ParamListBase, DrawerNavigationState<ParamListBase>, DrawerNavigationOptions, DrawerNavigationEventMap> & DrawerRouterOptions & DrawerNavigationConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"createDrawerNavigator.d.ts","sourceRoot":"","sources":["../../../../src/navigators/createDrawerNavigator.tsx"],"names":[],"mappings":";AAAA,OAAO,EAEL,uBAAuB,EAEvB,qBAAqB,EAErB,mBAAmB,EACnB,aAAa,EAEd,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,UAAU,CAAC;AAGlB,KAAK,KAAK,GAAG,uBAAuB,CAClC,aAAa,EACb,qBAAqB,CAAC,aAAa,CAAC,EACpC,uBAAuB,EACvB,wBAAwB,CACzB,GACC,mBAAmB,GACnB,sBAAsB,CAAC;AAEzB,iBAAS,eAAe,CAAC,EACvB,EAAE,EACF,gBAAgB,EAChB,aAAwB,EACxB,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,aAAa,EACb,GAAG,IAAI,EACR,EAAE,KAAK,eA6BP;AAED,eAAO,MAAM,qBAAqB;;;;;CAKhB,CAAC"}
1
+ {"version":3,"file":"createDrawerNavigator.d.ts","sourceRoot":"","sources":["../../../../src/navigators/createDrawerNavigator.tsx"],"names":[],"mappings":"AAAA,OAAO,EAEL,uBAAuB,EAEvB,qBAAqB,EAErB,mBAAmB,EACnB,aAAa,EAEd,MAAM,0BAA0B,CAAC;AAGlC,OAAO,KAAK,EACV,sBAAsB,EACtB,wBAAwB,EACxB,uBAAuB,EACxB,MAAM,UAAU,CAAC;AAGlB,KAAK,KAAK,GAAG,uBAAuB,CAClC,aAAa,EACb,qBAAqB,CAAC,aAAa,CAAC,EACpC,uBAAuB,EACvB,wBAAwB,CACzB,GACC,mBAAmB,GACnB,sBAAsB,CAAC;AAEzB,iBAAS,eAAe,CAAC,EACvB,EAAE,EACF,gBAAgB,EAChB,aAAwB,EACxB,YAAY,EACZ,QAAQ,EACR,eAAe,EACf,aAAa,EACb,GAAG,IAAI,EACR,EAAE,KAAK,eA6BP;AAED,eAAO,MAAM,qBAAqB;;;;;CAKhB,CAAC"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import type { DrawerContentComponentProps } from '../types';
3
2
  export declare function DrawerContent({ descriptors, state, ...rest }: DrawerContentComponentProps): JSX.Element;
4
3
  //# sourceMappingURL=DrawerContent.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerContent.d.ts","sourceRoot":"","sources":["../../../../src/views/DrawerContent.tsx"],"names":[],"mappings":";AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAI5D,wBAAgB,aAAa,CAAC,EAC5B,WAAW,EACX,KAAK,EACL,GAAG,IAAI,EACR,EAAE,2BAA2B,eAgB7B"}
1
+ {"version":3,"file":"DrawerContent.d.ts","sourceRoot":"","sources":["../../../../src/views/DrawerContent.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,UAAU,CAAC;AAI5D,wBAAgB,aAAa,CAAC,EAC5B,WAAW,EACX,KAAK,EACL,GAAG,IAAI,EACR,EAAE,2BAA2B,eAgB7B"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  type Props = {
3
2
  accessibilityLabel?: string;
4
3
  pressColor?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerToggleButton.d.ts","sourceRoot":"","sources":["../../../../src/views/DrawerToggleButton.tsx"],"names":[],"mappings":";AAWA,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;CACpB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,eAuB/D"}
1
+ {"version":3,"file":"DrawerToggleButton.d.ts","sourceRoot":"","sources":["../../../../src/views/DrawerToggleButton.tsx"],"names":[],"mappings":"AAWA,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;CACpB,CAAC;AAEF,wBAAgB,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,eAuB/D"}
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { DrawerNavigationState, DrawerStatus, ParamListBase } from '@react-navigation/native';
3
2
  import type { DrawerDescriptorMap, DrawerNavigationConfig, DrawerNavigationHelpers } from '../types';
4
3
  type Props = DrawerNavigationConfig & {
@@ -1 +1 @@
1
- {"version":3,"file":"DrawerView.d.ts","sourceRoot":"","sources":["../../../../src/views/DrawerView.tsx"],"names":[],"mappings":";AAMA,OAAO,EAEL,qBAAqB,EACrB,YAAY,EACZ,aAAa,EAEd,MAAM,0BAA0B,CAAC;AAOlC,OAAO,KAAK,EAEV,mBAAmB,EAEnB,sBAAsB,EACtB,uBAAuB,EAExB,MAAM,UAAU,CAAC;AAQlB,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;AAwRF,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,eAMxD"}
1
+ {"version":3,"file":"DrawerView.d.ts","sourceRoot":"","sources":["../../../../src/views/DrawerView.tsx"],"names":[],"mappings":"AAMA,OAAO,EAEL,qBAAqB,EACrB,YAAY,EACZ,aAAa,EAEd,MAAM,0BAA0B,CAAC;AAOlC,OAAO,KAAK,EAEV,mBAAmB,EAEnB,sBAAsB,EACtB,uBAAuB,EAExB,MAAM,UAAU,CAAC;AAQlB,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;AAwRF,wBAAgB,UAAU,CAAC,EAAE,UAAU,EAAE,GAAG,IAAI,EAAE,EAAE,KAAK,eAMxD"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@react-navigation/drawer",
3
- "description": "Drawer navigator component with animated transitions and gesturess",
4
- "version": "7.0.0-alpha.1",
3
+ "description": "Integration for the drawer component from react-native-drawer-layout",
4
+ "version": "7.0.0-alpha.2",
5
5
  "keywords": [
6
6
  "react-native-component",
7
7
  "react-component",
@@ -41,24 +41,24 @@
41
41
  "clean": "del lib"
42
42
  },
43
43
  "dependencies": {
44
- "@react-navigation/elements": "^1.4.0-alpha.0",
44
+ "@react-navigation/elements": "^1.4.0-alpha.1",
45
45
  "color": "^4.2.3",
46
- "react-native-drawer-layout": "^3.2.0",
46
+ "react-native-drawer-layout": "^3.2.1",
47
47
  "use-latest-callback": "^0.1.5"
48
48
  },
49
49
  "devDependencies": {
50
- "@react-navigation/native": "^7.0.0-alpha.1",
50
+ "@react-navigation/native": "^7.0.0-alpha.2",
51
51
  "@testing-library/react-native": "^11.5.0",
52
- "@types/react": "~18.0.26",
52
+ "@types/react": "~18.0.27",
53
53
  "@types/react-native": "~0.70.8",
54
54
  "del-cli": "^5.0.0",
55
- "react": "18.1.0",
56
- "react-native": "0.70.5",
55
+ "react": "18.2.0",
56
+ "react-native": "0.71.8",
57
57
  "react-native-builder-bob": "^0.20.4",
58
- "react-native-gesture-handler": "~2.8.0",
59
- "react-native-reanimated": "~2.9.1",
60
- "react-native-safe-area-context": "4.4.1",
61
- "react-native-screens": "~3.18.0",
58
+ "react-native-gesture-handler": "~2.9.0",
59
+ "react-native-reanimated": "~2.14.4",
60
+ "react-native-safe-area-context": "4.5.0",
61
+ "react-native-screens": "~3.20.0",
62
62
  "typescript": "^4.9.4"
63
63
  },
64
64
  "peerDependencies": {
@@ -84,5 +84,5 @@
84
84
  ]
85
85
  ]
86
86
  },
87
- "gitHead": "230c09deeeb886929a15cb4cdcb496372a9496e1"
87
+ "gitHead": "36c8f091556157dab74d3483651bbcbd340762ff"
88
88
  }