UNPKG

repoweaver

Version:

A GitHub App that skillfully weaves multiple templates together to create and update repositories with intelligent merge strategies

1 lines 4.67 kB
{"ast":null,"code":"\"use strict\";\n\nimport _defineProperty from \"@babel/runtime/helpers/defineProperty\";\nimport _objectWithoutProperties from \"@babel/runtime/helpers/objectWithoutProperties\";\nvar _excluded = [\"tintColor\", \"style\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nimport { useTheme } from '@react-navigation/native';\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport Platform from \"react-native-web/dist/exports/Platform\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function HeaderTitle(_ref) {\n var tintColor = _ref.tintColor,\n style = _ref.style,\n rest = _objectWithoutProperties(_ref, _excluded);\n var _useTheme = useTheme(),\n colors = _useTheme.colors,\n fonts = _useTheme.fonts;\n return _jsx(Animated.Text, _objectSpread(_objectSpread({\n role: \"heading\",\n \"aria-level\": \"1\",\n numberOfLines: 1\n }, rest), {}, {\n style: [{\n color: tintColor === undefined ? colors.text : tintColor\n }, Platform.select({\n ios: fonts.bold,\n default: fonts.medium\n }), styles.title, style]\n }));\n}\nvar styles = StyleSheet.create({\n title: Platform.select({\n ios: {\n fontSize: 17\n },\n android: {\n fontSize: 20\n },\n default: {\n fontSize: 18\n }\n })\n});","map":{"version":3,"names":["useTheme","Animated","Platform","StyleSheet","jsx","_jsx","HeaderTitle","_ref","tintColor","style","rest","_objectWithoutProperties","_excluded","_useTheme","colors","fonts","Text","_objectSpread","role","numberOfLines","color","undefined","text","select","ios","bold","default","medium","styles","title","create","fontSize","android"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/elements/src/Header/HeaderTitle.tsx"],"sourcesContent":["import { useTheme } from '@react-navigation/native';\nimport {\n Animated,\n Platform,\n type StyleProp,\n StyleSheet,\n type TextProps,\n type TextStyle,\n} from 'react-native';\n\ntype Props = Omit<TextProps, 'style'> & {\n tintColor?: string;\n children?: string;\n style?: Animated.WithAnimatedValue<StyleProp<TextStyle>>;\n};\n\nexport function HeaderTitle({ tintColor, style, ...rest }: Props) {\n const { colors, fonts } = useTheme();\n\n return (\n <Animated.Text\n role=\"heading\"\n aria-level=\"1\"\n numberOfLines={1}\n {...rest}\n style={[\n { color: tintColor === undefined ? colors.text : tintColor },\n Platform.select({ ios: fonts.bold, default: fonts.medium }),\n styles.title,\n style,\n ]}\n />\n );\n}\n\nconst styles = StyleSheet.create({\n title: Platform.select({\n ios: {\n fontSize: 17,\n },\n android: {\n fontSize: 20,\n },\n default: {\n fontSize: 18,\n },\n }),\n});\n"],"mappings":";;;;;;;AAAA,SAASA,QAAQ,QAAQ,0BAA0B;AAAA,OAAAC,QAAA;AAAA,OAAAC,QAAA;AAAA,OAAAC,UAAA;AAQ7B,SAAAC,GAAA,IAAAC,IAAA;AAQtB,OAAO,SAASC,WAAWA,CAAAC,IAAA,EAAuC;EAAA,IAApCC,SAAS,GAAAD,IAAA,CAATC,SAAS;IAAEC,KAAK,GAAAF,IAAA,CAALE,KAAK;IAAKC,IAAA,GAAAC,wBAAA,CAAAJ,IAAA,EAAAK,SAAA;EACjD,IAAAC,SAAA,GAA0Bb,QAAQ,CAAC,CAAC;IAA5Bc,MAAM,GAAAD,SAAA,CAANC,MAAM;IAAEC,KAAA,GAAAF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