repoweaver
Version:
A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies
1 lines • 1.46 kB
JSON
{"ast":null,"code":"\"use strict\";\n\nvar APPROX_APP_BAR_HEIGHT = 56;\nvar DEFAULT_DRAWER_WIDTH = 360;\nexport var getDefaultSidebarWidth = function getDefaultSidebarWidth(_ref) {\n var width = _ref.width;\n if (width - APPROX_APP_BAR_HEIGHT <= 360) {\n return width - APPROX_APP_BAR_HEIGHT;\n }\n return DEFAULT_DRAWER_WIDTH;\n};","map":{"version":3,"names":["APPROX_APP_BAR_HEIGHT","DEFAULT_DRAWER_WIDTH","getDefaultSidebarWidth","_ref","width"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/elements/src/getDefaultSidebarWidth.tsx"],"sourcesContent":["const APPROX_APP_BAR_HEIGHT = 56;\nconst DEFAULT_DRAWER_WIDTH = 360;\n\nexport const getDefaultSidebarWidth = ({ width }: { width: number }) => {\n /**\n * Default sidebar width is 360dp\n * On screens smaller than 320dp, ideally the drawer would collapse to a tab bar\n * https://m3.material.io/components/navigation-drawer/specs\n */\n if (width - APPROX_APP_BAR_HEIGHT <= 360) {\n return width - APPROX_APP_BAR_HEIGHT;\n }\n\n return DEFAULT_DRAWER_WIDTH;\n};\n"],"mappings":";;AAAA,IAAMA,qBAAqB,GAAG,EAAE;AAChC,IAAMC,oBAAoB,GAAG,GAAG;AAEhC,OAAO,IAAMC,sBAAsB,GAAG,SAAzBA,sBAAsBA,CAAAC,IAAA,EAAqC;EAAA,IAA/BC,KAAA,GAAAD,IAAA,CAAAC,KAAA;EAMvC,IAAIA,KAAK,GAAGJ,qBAAqB,IAAI,GAAG,EAAE;IACxC,OAAOI,KAAK,GAAGJ,qBAAqB;EACtC;EAEA,OAAOC,oBAAoB;AAC7B,CAAC","ignoreList":[]},"metadata":{},"sourceType":"module","externalDependencies":[]}