@react-navigation/drawer 7.0.8 → 7.0.10
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/commonjs/views/DrawerToggleButton.js +3 -4
- package/lib/commonjs/views/DrawerToggleButton.js.map +1 -1
- package/lib/module/views/DrawerToggleButton.js +3 -4
- package/lib/module/views/DrawerToggleButton.js.map +1 -1
- package/lib/typescript/commonjs/src/views/DrawerToggleButton.d.ts.map +1 -1
- package/lib/typescript/commonjs/tsconfig.build.tsbuildinfo +1 -1
- package/lib/typescript/module/src/views/DrawerToggleButton.d.ts.map +1 -1
- package/lib/typescript/module/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +5 -5
- package/src/views/DrawerToggleButton.tsx +2 -1
|
@@ -34,12 +34,11 @@ function DrawerToggleButton({
|
|
|
34
34
|
}
|
|
35
35
|
}),
|
|
36
36
|
children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_reactNative.Image, {
|
|
37
|
-
style: [styles.icon, tintColor ? {
|
|
38
|
-
tintColor
|
|
39
|
-
} : null],
|
|
40
37
|
resizeMode: "contain",
|
|
41
38
|
source: _toggleDrawerIcon.default,
|
|
42
|
-
fadeDuration: 0
|
|
39
|
+
fadeDuration: 0,
|
|
40
|
+
tintColor: tintColor,
|
|
41
|
+
style: styles.icon
|
|
43
42
|
})
|
|
44
43
|
});
|
|
45
44
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["_elements","require","_native","_reactNative","_toggleDrawerIcon","_interopRequireDefault","_jsxRuntime","e","__esModule","default","DrawerToggleButton","tintColor","accessibilityLabel","rest","navigation","useNavigation","jsx","PlatformPressable","android_ripple","borderless","onPress","dispatch","DrawerActions","toggleDrawer","style","styles","touchable","hitSlop","Platform","select","ios","undefined","top","right","bottom","left","children","Image","
|
|
1
|
+
{"version":3,"names":["_elements","require","_native","_reactNative","_toggleDrawerIcon","_interopRequireDefault","_jsxRuntime","e","__esModule","default","DrawerToggleButton","tintColor","accessibilityLabel","rest","navigation","useNavigation","jsx","PlatformPressable","android_ripple","borderless","onPress","dispatch","DrawerActions","toggleDrawer","style","styles","touchable","hitSlop","Platform","select","ios","undefined","top","right","bottom","left","children","Image","resizeMode","source","toggleDrawerIcon","fadeDuration","icon","StyleSheet","create","height","width","marginVertical","marginHorizontal","borderRadius"],"sourceRoot":"../../../src","sources":["views/DrawerToggleButton.tsx"],"mappings":";;;;;;AAAA,IAAAA,SAAA,GAAAC,OAAA;AACA,IAAAC,OAAA,GAAAD,OAAA;AAKA,IAAAE,YAAA,GAAAF,OAAA;AAGA,IAAAG,iBAAA,GAAAC,sBAAA,CAAAJ,OAAA;AAA+D,IAAAK,WAAA,GAAAL,OAAA;AAAA,SAAAI,uBAAAE,CAAA,WAAAA,CAAA,IAAAA,CAAA,CAAAC,UAAA,GAAAD,CAAA,KAAAE,OAAA,EAAAF,CAAA;AASxD,SAASG,kBAAkBA,CAAC;EACjCC,SAAS;EACTC,kBAAkB,GAAG,sBAAsB;EAC3C,GAAGC;AACE,CAAC,EAAE;EACR,MAAMC,UAAU,GAAG,IAAAC,qBAAa,EAAsC,CAAC;EAEvE,oBACE,IAAAT,WAAA,CAAAU,GAAA,EAAChB,SAAA,CAAAiB,iBAAiB;IAAA,GACZJ,IAAI;IACRD,kBAAkB,EAAEA,kBAAmB;IACvCM,cAAc,EAAE;MAAEC,UAAU,EAAE;IAAK,CAAE;IACrCC,OAAO,EAAEA,CAAA,KAAMN,UAAU,CAACO,QAAQ,CAACC,qBAAa,CAACC,YAAY,CAAC,CAAC,CAAE;IACjEC,KAAK,EAAEC,MAAM,CAACC,SAAU;IACxBC,OAAO,EAAEC,qBAAQ,CAACC,MAAM,CAAC;MACvBC,GAAG,EAAEC,SAAS;MACdtB,OAAO,EAAE;QAAEuB,GAAG,EAAE,EAAE;QAAEC,KAAK,EAAE,EAAE;QAAEC,MAAM,EAAE,EAAE;QAAEC,IAAI,EAAE;MAAG;IACtD,CAAC,CAAE;IAAAC,QAAA,eAEH,IAAA9B,WAAA,CAAAU,GAAA,EAACb,YAAA,CAAAkC,KAAK;MACJC,UAAU,EAAC,SAAS;MACpBC,MAAM,EAAEC,yBAAiB;MACzBC,YAAY,EAAE,CAAE;MAChB9B,SAAS,EAAEA,SAAU;MACrBa,KAAK,EAAEC,MAAM,CAACiB;IAAK,CACpB;EAAC,CACe,CAAC;AAExB;AAEA,MAAMjB,MAAM,GAAGkB,uBAAU,CAACC,MAAM,CAAC;EAC/BF,IAAI,EAAE;IACJG,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE,EAAE;IACTC,cAAc,EAAE,CAAC;IACjBC,gBAAgB,EAAE;EACpB,CAAC;EACDtB,SAAS,EAAE;IACT;IACAuB,YAAY,EAAE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -29,12 +29,11 @@ export function DrawerToggleButton({
|
|
|
29
29
|
}
|
|
30
30
|
}),
|
|
31
31
|
children: /*#__PURE__*/_jsx(Image, {
|
|
32
|
-
style: [styles.icon, tintColor ? {
|
|
33
|
-
tintColor
|
|
34
|
-
} : null],
|
|
35
32
|
resizeMode: "contain",
|
|
36
33
|
source: toggleDrawerIcon,
|
|
37
|
-
fadeDuration: 0
|
|
34
|
+
fadeDuration: 0,
|
|
35
|
+
tintColor: tintColor,
|
|
36
|
+
style: styles.icon
|
|
38
37
|
})
|
|
39
38
|
});
|
|
40
39
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["PlatformPressable","DrawerActions","useNavigation","Image","Platform","StyleSheet","toggleDrawerIcon","jsx","_jsx","DrawerToggleButton","tintColor","accessibilityLabel","rest","navigation","android_ripple","borderless","onPress","dispatch","toggleDrawer","style","styles","touchable","hitSlop","select","ios","undefined","default","top","right","bottom","left","children","
|
|
1
|
+
{"version":3,"names":["PlatformPressable","DrawerActions","useNavigation","Image","Platform","StyleSheet","toggleDrawerIcon","jsx","_jsx","DrawerToggleButton","tintColor","accessibilityLabel","rest","navigation","android_ripple","borderless","onPress","dispatch","toggleDrawer","style","styles","touchable","hitSlop","select","ios","undefined","default","top","right","bottom","left","children","resizeMode","source","fadeDuration","icon","create","height","width","marginVertical","marginHorizontal","borderRadius"],"sourceRoot":"../../../src","sources":["views/DrawerToggleButton.tsx"],"mappings":";;AAAA,SAASA,iBAAiB,QAAQ,4BAA4B;AAC9D,SACEC,aAAa,EAEbC,aAAa,QACR,0BAA0B;AACjC,SAASC,KAAK,EAAEC,QAAQ,EAAEC,UAAU,QAAQ,cAAc;AAG1D,OAAOC,gBAAgB,MAAM,iCAAiC;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAS/D,OAAO,SAASC,kBAAkBA,CAAC;EACjCC,SAAS;EACTC,kBAAkB,GAAG,sBAAsB;EAC3C,GAAGC;AACE,CAAC,EAAE;EACR,MAAMC,UAAU,GAAGX,aAAa,CAAsC,CAAC;EAEvE,oBACEM,IAAA,CAACR,iBAAiB;IAAA,GACZY,IAAI;IACRD,kBAAkB,EAAEA,kBAAmB;IACvCG,cAAc,EAAE;MAAEC,UAAU,EAAE;IAAK,CAAE;IACrCC,OAAO,EAAEA,CAAA,KAAMH,UAAU,CAACI,QAAQ,CAAChB,aAAa,CAACiB,YAAY,CAAC,CAAC,CAAE;IACjEC,KAAK,EAAEC,MAAM,CAACC,SAAU;IACxBC,OAAO,EAAElB,QAAQ,CAACmB,MAAM,CAAC;MACvBC,GAAG,EAAEC,SAAS;MACdC,OAAO,EAAE;QAAEC,GAAG,EAAE,EAAE;QAAEC,KAAK,EAAE,EAAE;QAAEC,MAAM,EAAE,EAAE;QAAEC,IAAI,EAAE;MAAG;IACtD,CAAC,CAAE;IAAAC,QAAA,eAEHvB,IAAA,CAACL,KAAK;MACJ6B,UAAU,EAAC,SAAS;MACpBC,MAAM,EAAE3B,gBAAiB;MACzB4B,YAAY,EAAE,CAAE;MAChBxB,SAAS,EAAEA,SAAU;MACrBS,KAAK,EAAEC,MAAM,CAACe;IAAK,CACpB;EAAC,CACe,CAAC;AAExB;AAEA,MAAMf,MAAM,GAAGf,UAAU,CAAC+B,MAAM,CAAC;EAC/BD,IAAI,EAAE;IACJE,MAAM,EAAE,EAAE;IACVC,KAAK,EAAE,EAAE;IACTC,cAAc,EAAE,CAAC;IACjBC,gBAAgB,EAAE;EACpB,CAAC;EACDnB,SAAS,EAAE;IACT;IACAoB,YAAY,EAAE;EAChB;AACF,CAAC,CAAC","ignoreList":[]}
|
|
@@ -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,EACjC,SAAS,EACT,kBAA2C,EAC3C,GAAG,IAAI,EACR,EAAE,KAAK,
|
|
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,EACjC,SAAS,EACT,kBAA2C,EAC3C,GAAG,IAAI,EACR,EAAE,KAAK,2CAwBP"}
|