UNPKG

repoweaver

Version:

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

1 lines 25.7 kB
{"ast":null,"code":"\"use strict\";\n\nimport { getLabel, Label, PlatformPressable } from '@react-navigation/elements';\nimport { useTheme } from '@react-navigation/native';\nimport Color from 'color';\nimport React from 'react';\nimport Platform from \"react-native-web/dist/exports/Platform\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\nimport { TabBarIcon } from \"./TabBarIcon.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst renderButtonDefault = props => _jsx(PlatformPressable, Object.assign({}, props));\nconst SUPPORTS_LARGE_CONTENT_VIEWER = Platform.OS === 'ios' && parseInt(Platform.Version, 10) >= 13;\nexport function BottomTabItem({\n route,\n href,\n focused,\n descriptor,\n label,\n icon,\n badge,\n badgeStyle,\n button = renderButtonDefault,\n accessibilityLabel,\n testID,\n onPress,\n onLongPress,\n horizontal,\n compact,\n sidebar,\n variant,\n activeTintColor: customActiveTintColor,\n inactiveTintColor: customInactiveTintColor,\n activeBackgroundColor: customActiveBackgroundColor,\n inactiveBackgroundColor = 'transparent',\n showLabel = true,\n allowFontScaling = SUPPORTS_LARGE_CONTENT_VIEWER ? false : undefined,\n labelStyle,\n iconStyle,\n style\n}) {\n const {\n colors,\n fonts\n } = useTheme();\n const activeTintColor = customActiveTintColor ?? (variant === 'uikit' && sidebar && horizontal ? Color(colors.primary).isDark() ? 'white' : Color(colors.primary).darken(0.71).string() : colors.primary);\n const inactiveTintColor = customInactiveTintColor === undefined ? variant === 'material' ? Color(colors.text).alpha(0.68).rgb().string() : Color(colors.text).mix(Color(colors.card), 0.5).hex() : customInactiveTintColor;\n const activeBackgroundColor = customActiveBackgroundColor ?? (variant === 'material' ? Color(activeTintColor).alpha(0.12).rgb().string() : sidebar && horizontal ? colors.primary : 'transparent');\n const {\n options\n } = descriptor;\n const labelString = getLabel({\n label: typeof options.tabBarLabel === 'string' ? options.tabBarLabel : undefined,\n title: options.title\n }, route.name);\n let labelInactiveTintColor = inactiveTintColor;\n let iconInactiveTintColor = inactiveTintColor;\n if (variant === 'uikit' && sidebar && horizontal && customInactiveTintColor === undefined) {\n iconInactiveTintColor = colors.primary;\n labelInactiveTintColor = colors.text;\n }\n const renderLabel = ({\n focused\n }) => {\n if (showLabel === false) {\n return null;\n }\n const color = focused ? activeTintColor : labelInactiveTintColor;\n if (typeof label !== 'string') {\n return label({\n focused,\n color,\n position: horizontal ? 'beside-icon' : 'below-icon',\n children: labelString\n });\n }\n return _jsx(Label, {\n style: [horizontal ? [styles.labelBeside, variant === 'material' ? styles.labelSidebarMaterial : sidebar ? styles.labelSidebarUiKit : compact ? styles.labelBesideUikitCompact : styles.labelBesideUikit, icon == null && {\n marginStart: 0\n }] : styles.labelBeneath, compact || variant === 'uikit' && sidebar && horizontal ? fonts.regular : fonts.medium, labelStyle],\n allowFontScaling: allowFontScaling,\n tintColor: color,\n children: label\n });\n };\n const renderIcon = ({\n focused\n }) => {\n if (icon === undefined) {\n return null;\n }\n const activeOpacity = focused ? 1 : 0;\n const inactiveOpacity = focused ? 0 : 1;\n return _jsx(TabBarIcon, {\n route: route,\n variant: variant,\n size: compact ? 'compact' : 'regular',\n badge: badge,\n badgeStyle: badgeStyle,\n activeOpacity: activeOpacity,\n allowFontScaling: allowFontScaling,\n inactiveOpacity: inactiveOpacity,\n activeTintColor: activeTintColor,\n inactiveTintColor: iconInactiveTintColor,\n renderIcon: icon,\n style: iconStyle\n });\n };\n const scene = {\n route,\n focused\n };\n const backgroundColor = focused ? activeBackgroundColor : inactiveBackgroundColor;\n const {\n flex\n } = StyleSheet.flatten(style || {});\n const borderRadius = variant === 'material' ? horizontal ? 56 : 16 : sidebar && horizontal ? 10 : 0;\n return _jsx(View, {\n style: [{\n borderRadius,\n overflow: variant === 'material' ? 'hidden' : 'visible'\n }, style],\n children: button({\n href,\n onPress,\n onLongPress,\n testID,\n 'aria-label': accessibilityLabel,\n 'accessibilityLargeContentTitle': labelString,\n 'accessibilityShowsLargeContentViewer': true,\n 'role': Platform.select({\n ios: 'button',\n default: 'tab'\n }),\n 'aria-selected': focused,\n 'android_ripple': {\n borderless: true\n },\n 'hoverEffect': variant === 'material' || sidebar && horizontal ? {\n color: colors.text\n } : undefined,\n 'pressOpacity': 1,\n 'style': [styles.tab, {\n flex,\n backgroundColor,\n borderRadius\n }, sidebar ? variant === 'material' ? horizontal ? styles.tabBarSidebarMaterial : styles.tabVerticalMaterial : horizontal ? styles.tabBarSidebarUiKit : styles.tabVerticalUiKit : variant === 'material' ? styles.tabVerticalMaterial : horizontal ? styles.tabHorizontalUiKit : styles.tabVerticalUiKit],\n 'children': _jsxs(React.Fragment, {\n children: [renderIcon(scene), renderLabel(scene)]\n })\n })\n });\n}\nconst styles = StyleSheet.create({\n tab: {\n alignItems: 'center',\n borderRadius: 10\n },\n tabVerticalUiKit: {\n justifyContent: 'flex-start',\n flexDirection: 'column',\n padding: 5\n },\n tabVerticalMaterial: {\n padding: 10\n },\n tabHorizontalUiKit: {\n justifyContent: 'center',\n alignItems: 'center',\n flexDirection: 'row',\n padding: 5\n },\n tabBarSidebarUiKit: {\n justifyContent: 'flex-start',\n alignItems: 'center',\n flexDirection: 'row',\n paddingVertical: 7,\n paddingHorizontal: 5\n },\n tabBarSidebarMaterial: {\n justifyContent: 'flex-start',\n alignItems: 'center',\n flexDirection: 'row',\n paddingVertical: 15,\n paddingStart: 16,\n paddingEnd: 24\n },\n labelSidebarMaterial: {\n marginStart: 12\n },\n labelSidebarUiKit: {\n fontSize: 17,\n marginStart: 10\n },\n labelBeneath: {\n fontSize: 10\n },\n labelBeside: {\n marginEnd: 12,\n lineHeight: 24\n },\n labelBesideUikit: {\n fontSize: 13,\n marginStart: 5\n },\n labelBesideUikitCompact: {\n fontSize: 12,\n marginStart: 5\n }\n});","map":{"version":3,"names":["getLabel","Label","PlatformPressable","useTheme","Color","React","Platform","StyleSheet","View","TabBarIcon","jsx","_jsx","jsxs","_jsxs","renderButtonDefault","props","Object","assign","SUPPORTS_LARGE_CONTENT_VIEWER","OS","parseInt","Version","BottomTabItem","route","href","focused","descriptor","label","icon","badge","badgeStyle","button","accessibilityLabel","testID","onPress","onLongPress","horizontal","compact","sidebar","variant","activeTintColor","customActiveTintColor","inactiveTintColor","customInactiveTintColor","activeBackgroundColor","customActiveBackgroundColor","inactiveBackgroundColor","showLabel","allowFontScaling","undefined","labelStyle","iconStyle","style","colors","fonts","primary","isDark","darken","string","text","alpha","rgb","mix","card","hex","options","labelString","tabBarLabel","title","name","labelInactiveTintColor","iconInactiveTintColor","renderLabel","color","position","children","styles","labelBeside","labelSidebarMaterial","labelSidebarUiKit","labelBesideUikitCompact","labelBesideUikit","marginStart","labelBeneath","regular","medium","tintColor","renderIcon","activeOpacity","inactiveOpacity","size","scene","backgroundColor","flex","flatten","borderRadius","overflow","select","ios","default","borderless","tab","tabBarSidebarMaterial","tabVerticalMaterial","tabBarSidebarUiKit","tabVerticalUiKit","tabHorizontalUiKit","Fragment","create","alignItems","justifyContent","flexDirection","padding","paddingVertical","paddingHorizontal","paddingStart","paddingEnd","fontSize","marginEnd","lineHeight"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/@react-navigation/bottom-tabs/src/views/BottomTabItem.tsx"],"sourcesContent":["import { getLabel, Label, PlatformPressable } from '@react-navigation/elements';\nimport { type Route, useTheme } from '@react-navigation/native';\nimport Color from 'color';\nimport React from 'react';\nimport {\n type GestureResponderEvent,\n Platform,\n type StyleProp,\n StyleSheet,\n type TextStyle,\n View,\n type ViewStyle,\n} from 'react-native';\n\nimport type {\n BottomTabBarButtonProps,\n BottomTabDescriptor,\n LabelPosition,\n} from '../types';\nimport { TabBarIcon } from './TabBarIcon';\n\ntype Props = {\n /**\n * The route object which should be specified by the tab.\n */\n route: Route<string>;\n /**\n * The `href` to use for the anchor tag on web\n */\n href?: string;\n /**\n * Whether the tab is focused.\n */\n focused: boolean;\n /**\n * The descriptor object for the route.\n */\n descriptor: BottomTabDescriptor;\n /**\n * The label text of the tab.\n */\n label:\n | string\n | ((props: {\n focused: boolean;\n color: string;\n position: LabelPosition;\n children: string;\n }) => React.ReactNode);\n /**\n * Icon to display for the tab.\n */\n icon: (props: {\n focused: boolean;\n size: number;\n color: string;\n }) => React.ReactNode;\n /**\n * Text to show in a badge on the tab icon.\n */\n badge?: number | string;\n /**\n * Custom style for the badge.\n */\n badgeStyle?: StyleProp<TextStyle>;\n /**\n * The button for the tab. Uses a `Pressable` by default.\n */\n button?: (props: BottomTabBarButtonProps) => React.ReactNode;\n /**\n * The accessibility label for the tab.\n */\n accessibilityLabel?: string;\n /**\n * An unique ID for testing for the tab.\n */\n testID?: string;\n /**\n * Function to execute on press in React Native.\n * On the web, this will use onClick.\n */\n onPress: (\n e: React.MouseEvent<HTMLElement, MouseEvent> | GestureResponderEvent\n ) => void;\n /**\n * Function to execute on long press.\n */\n onLongPress: (e: GestureResponderEvent) => void;\n /**\n * Whether the label should be aligned with the icon horizontally.\n */\n horizontal: boolean;\n /**\n * Whether to render the icon and label in compact mode.\n */\n compact: boolean;\n /**\n * Whether the tab is an item in a side bar.\n */\n sidebar: boolean;\n /**\n * Variant of navigation bar styling\n * - `uikit`: iOS UIKit style\n * - `material`: Material Design style\n */\n variant: 'uikit' | 'material';\n /**\n * Color for the icon and label when the item is active.\n */\n activeTintColor?: string;\n /**\n * Color for the icon and label when the item is inactive.\n */\n inactiveTintColor?: string;\n /**\n * Background color for item when its active.\n */\n activeBackgroundColor?: string;\n /**\n * Background color for item when its inactive.\n */\n inactiveBackgroundColor?: string;\n /**\n * Whether to show the label text for the tab.\n */\n showLabel?: boolean;\n /**\n * Whether to allow scaling the font for the label for accessibility purposes.\n * Defaults to `false` on iOS 13+ where it uses `largeContentTitle`.\n */\n allowFontScaling?: boolean;\n /**\n * Style object for the label element.\n */\n labelStyle?: StyleProp<TextStyle>;\n /**\n * Style object for the icon element.\n */\n iconStyle?: StyleProp<ViewStyle>;\n /**\n * Style object for the wrapper element.\n */\n style?: StyleProp<ViewStyle>;\n};\n\nconst renderButtonDefault = (props: BottomTabBarButtonProps) => (\n <PlatformPressable {...props} />\n);\n\nconst SUPPORTS_LARGE_CONTENT_VIEWER =\n Platform.OS === 'ios' && parseInt(Platform.Version, 10) >= 13;\n\nexport function BottomTabItem({\n route,\n href,\n focused,\n descriptor,\n label,\n icon,\n badge,\n badgeStyle,\n button = renderButtonDefault,\n accessibilityLabel,\n testID,\n onPress,\n onLongPress,\n horizontal,\n compact,\n sidebar,\n variant,\n activeTintColor: customActiveTintColor,\n inactiveTintColor: customInactiveTintColor,\n activeBackgroundColor: customActiveBackgroundColor,\n inactiveBackgroundColor = 'transparent',\n showLabel = true,\n // On iOS 13+, we use `largeContentTitle` for accessibility\n // So we don't need the font to scale up\n // https://developer.apple.com/documentation/uikit/uiview/3183939-largecontenttitle\n allowFontScaling = SUPPORTS_LARGE_CONTENT_VIEWER ? false : undefined,\n labelStyle,\n iconStyle,\n style,\n}: Props) {\n const { colors, fonts } = useTheme();\n\n const activeTintColor =\n customActiveTintColor ??\n (variant === 'uikit' && sidebar && horizontal\n ? Color(colors.primary).isDark()\n ? 'white'\n : Color(colors.primary).darken(0.71).string()\n : colors.primary);\n\n const inactiveTintColor =\n customInactiveTintColor === undefined\n ? variant === 'material'\n ? Color(colors.text).alpha(0.68).rgb().string()\n : Color(colors.text).mix(Color(colors.card), 0.5).hex()\n : customInactiveTintColor;\n\n const activeBackgroundColor =\n customActiveBackgroundColor ??\n (variant === 'material'\n ? Color(activeTintColor).alpha(0.12).rgb().string()\n : sidebar && horizontal\n ? colors.primary\n : 'transparent');\n\n const { options } = descriptor;\n const labelString = getLabel(\n {\n label:\n typeof options.tabBarLabel === 'string'\n ? options.tabBarLabel\n : undefined,\n title: options.title,\n },\n route.name\n );\n\n let labelInactiveTintColor = inactiveTintColor;\n let iconInactiveTintColor = inactiveTintColor;\n\n if (\n variant === 'uikit' &&\n sidebar &&\n horizontal &&\n customInactiveTintColor === undefined\n ) {\n iconInactiveTintColor = colors.primary;\n labelInactiveTintColor = colors.text;\n }\n\n const renderLabel = ({ focused }: { focused: boolean }) => {\n if (showLabel === false) {\n return null;\n }\n\n const color = focused ? activeTintColor : labelInactiveTintColor;\n\n if (typeof label !== 'string') {\n return label({\n focused,\n color,\n position: horizontal ? 'beside-icon' : 'below-icon',\n children: labelString,\n });\n }\n\n return (\n <Label\n style={[\n horizontal\n ? [\n styles.labelBeside,\n variant === 'material'\n ? styles.labelSidebarMaterial\n : sidebar\n ? styles.labelSidebarUiKit\n : compact\n ? styles.labelBesideUikitCompact\n : styles.labelBesideUikit,\n icon == null && { marginStart: 0 },\n ]\n : styles.labelBeneath,\n compact || (variant === 'uikit' && sidebar && horizontal)\n ? fonts.regular\n : fonts.medium,\n labelStyle,\n ]}\n allowFontScaling={allowFontScaling}\n tintColor={color}\n >\n {label}\n </Label>\n );\n };\n\n const renderIcon = ({ focused }: { focused: boolean }) => {\n if (icon === undefined) {\n return null;\n }\n\n const activeOpacity = focused ? 1 : 0;\n const inactiveOpacity = focused ? 0 : 1;\n\n return (\n <TabBarIcon\n route={route}\n variant={variant}\n size={compact ? 'compact' : 'regular'}\n badge={badge}\n badgeStyle={badgeStyle}\n activeOpacity={activeOpacity}\n allowFontScaling={allowFontScaling}\n inactiveOpacity={inactiveOpacity}\n activeTintColor={activeTintColor}\n inactiveTintColor={iconInactiveTintColor}\n renderIcon={icon}\n style={iconStyle}\n />\n );\n };\n\n const scene = { route, focused };\n\n const backgroundColor = focused\n ? activeBackgroundColor\n : inactiveBackgroundColor;\n\n const { flex } = StyleSheet.flatten(style || {});\n const borderRadius =\n variant === 'material'\n ? horizontal\n ? 56\n : 16\n : sidebar && horizontal\n ? 10\n : 0;\n\n return (\n <View\n style={[\n // Clip ripple effect on Android\n {\n borderRadius,\n overflow: variant === 'material' ? 'hidden' : 'visible',\n },\n style,\n ]}\n >\n {button({\n href,\n onPress,\n onLongPress,\n testID,\n 'aria-label': accessibilityLabel,\n 'accessibilityLargeContentTitle': labelString,\n 'accessibilityShowsLargeContentViewer': true,\n // FIXME: role: 'tab' doesn't seem to work as expected on iOS\n 'role': Platform.select({ ios: 'button', default: 'tab' }),\n 'aria-selected': focused,\n 'android_ripple': { borderless: true },\n 'hoverEffect':\n variant === 'material' || (sidebar && horizontal)\n ? { color: colors.text }\n : undefined,\n 'pressOpacity': 1,\n 'style': [\n styles.tab,\n { flex, backgroundColor, borderRadius },\n sidebar\n ? variant === 'material'\n ? horizontal\n ? styles.tabBarSidebarMaterial\n : styles.tabVerticalMaterial\n : horizontal\n ? styles.tabBarSidebarUiKit\n : styles.tabVerticalUiKit\n : variant === 'material'\n ? styles.tabVerticalMaterial\n : horizontal\n ? styles.tabHorizontalUiKit\n : styles.tabVerticalUiKit,\n ],\n 'children': (\n <React.Fragment>\n {renderIcon(scene)}\n {renderLabel(scene)}\n </React.Fragment>\n ),\n })}\n </View>\n );\n}\n\nconst styles = StyleSheet.create({\n tab: {\n alignItems: 'center',\n // Roundness for iPad hover effect\n borderRadius: 10,\n },\n tabVerticalUiKit: {\n justifyContent: 'flex-start',\n flexDirection: 'column',\n padding: 5,\n },\n tabVerticalMaterial: {\n padding: 10,\n },\n tabHorizontalUiKit: {\n justifyContent: 'center',\n alignItems: 'center',\n flexDirection: 'row',\n padding: 5,\n },\n tabBarSidebarUiKit: {\n justifyContent: 'flex-start',\n alignItems: 'center',\n flexDirection: 'row',\n paddingVertical: 7,\n paddingHorizontal: 5,\n },\n tabBarSidebarMaterial: {\n justifyContent: 'flex-start',\n alignItems: 'center',\n flexDirection: 'row',\n paddingVertical: 15,\n paddingStart: 16,\n paddingEnd: 24,\n },\n labelSidebarMaterial: {\n marginStart: 12,\n },\n labelSidebarUiKit: {\n fontSize: 17,\n marginStart: 10,\n },\n labelBeneath: {\n fontSize: 10,\n },\n labelBeside: {\n marginEnd: 12,\n lineHeight: 24,\n },\n labelBesideUikit: {\n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