UNPKG

repoweaver

Version:

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

1 lines 28.1 kB
{"ast":null,"code":"import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nconst _excluded = [\"visible\", \"action\", \"icon\", \"onIconPress\", \"iconAccessibilityLabel\", \"duration\", \"onDismiss\", \"children\", \"elevation\", \"style\", \"wrapperStyle\", \"contentStyle\", \"theme\", \"maxFontSizeMultiplier\", \"rippleColor\", \"testID\"],\n _excluded2 = [\"style\", \"label\", \"onPress\", \"rippleColor\"];\nfunction _extends() {\n return _extends = Object.assign ? Object.assign.bind() : function (n) {\n for (var e = 1; e < arguments.length; e++) {\n var t = arguments[e];\n for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]);\n }\n return n;\n }, _extends.apply(null, arguments);\n}\nimport * as React from 'react';\nimport Animated from \"react-native-web/dist/exports/Animated\";\nimport Easing from \"react-native-web/dist/exports/Easing\";\nimport I18nManager from \"react-native-web/dist/exports/I18nManager\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport View from \"react-native-web/dist/exports/View\";\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport useLatestCallback from 'use-latest-callback';\nimport Button from \"./Button/Button\";\nimport IconButton from \"./IconButton/IconButton\";\nimport MaterialCommunityIcon from \"./MaterialCommunityIcon\";\nimport Surface from \"./Surface\";\nimport Text from \"./Typography/Text\";\nimport { useInternalTheme } from \"../core/theming\";\nconst DURATION_SHORT = 4000;\nconst DURATION_MEDIUM = 7000;\nconst DURATION_LONG = 10000;\nconst Snackbar = _ref => {\n let {\n visible,\n action,\n icon,\n onIconPress,\n iconAccessibilityLabel = 'Close icon',\n duration = DURATION_MEDIUM,\n onDismiss,\n children,\n elevation = 2,\n style,\n wrapperStyle,\n contentStyle,\n theme: themeOverrides,\n maxFontSizeMultiplier,\n rippleColor,\n testID\n } = _ref,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n const theme = useInternalTheme(themeOverrides);\n const {\n bottom,\n right,\n left\n } = useSafeAreaInsets();\n const {\n current: opacity\n } = React.useRef(new Animated.Value(0.0));\n const hideTimeout = React.useRef(undefined);\n const [hidden, setHidden] = React.useState(!visible);\n const {\n scale\n } = theme.animation;\n const animateShow = useLatestCallback(() => {\n if (hideTimeout.current) clearTimeout(hideTimeout.current);\n Animated.timing(opacity, {\n toValue: 1,\n duration: 200 * scale,\n easing: Easing.out(Easing.ease),\n useNativeDriver: true\n }).start(({\n finished\n }) => {\n if (finished) {\n const isInfinity = duration === Number.POSITIVE_INFINITY || duration === Number.NEGATIVE_INFINITY;\n if (!isInfinity) {\n hideTimeout.current = setTimeout(onDismiss, duration);\n }\n }\n });\n });\n const handleOnVisible = useLatestCallback(() => {\n setHidden(false);\n });\n const handleOnHidden = useLatestCallback(() => {\n if (hideTimeout.current) {\n clearTimeout(hideTimeout.current);\n }\n Animated.timing(opacity, {\n toValue: 0,\n duration: 100 * scale,\n useNativeDriver: true\n }).start(({\n finished\n }) => {\n if (finished) {\n setHidden(true);\n }\n });\n });\n React.useEffect(() => {\n if (!hidden) {\n animateShow();\n }\n }, [animateShow, hidden]);\n React.useEffect(() => {\n return () => {\n if (hideTimeout.current) clearTimeout(hideTimeout.current);\n };\n }, []);\n React.useLayoutEffect(() => {\n if (visible) {\n handleOnVisible();\n } else {\n handleOnHidden();\n }\n }, [visible, handleOnVisible, handleOnHidden]);\n const {\n colors,\n roundness,\n isV3\n } = theme;\n if (hidden) {\n return null;\n }\n const _ref2 = action || {},\n {\n style: actionStyle,\n label: actionLabel,\n onPress: onPressAction,\n rippleColor: actionRippleColor\n } = _ref2,\n actionProps = _objectWithoutPropertiesLoose(_ref2, _excluded2);\n const buttonTextColor = isV3 ? colors.inversePrimary : colors.accent;\n const textColor = isV3 ? colors.inverseOnSurface : colors === null || colors === void 0 ? void 0 : colors.surface;\n const backgroundColor = isV3 ? colors.inverseSurface : colors === null || colors === void 0 ? void 0 : colors.onSurface;\n const isIconButton = isV3 && onIconPress;\n const marginLeft = action ? -12 : -16;\n const wrapperPaddings = {\n paddingBottom: bottom,\n paddingHorizontal: Math.max(left, right)\n };\n const renderChildrenWithWrapper = () => {\n if (typeof children === 'string') {\n return React.createElement(Text, {\n variant: \"bodyMedium\",\n style: [styles.content, {\n color: textColor\n }],\n maxFontSizeMultiplier: maxFontSizeMultiplier\n }, children);\n }\n return React.createElement(View, {\n style: [styles.content, contentStyle]\n }, React.createElement(View, null, children));\n };\n return React.createElement(View, {\n pointerEvents: \"box-none\",\n style: [styles.wrapper, wrapperPaddings, wrapperStyle]\n }, React.createElement(Surface, _extends({\n pointerEvents: \"box-none\",\n accessibilityLiveRegion: \"polite\",\n theme: theme,\n style: [!isV3 && styles.elevation, styles.container, {\n backgroundColor,\n borderRadius: roundness,\n opacity: opacity,\n transform: [{\n scale: visible ? opacity.interpolate({\n inputRange: [0, 1],\n outputRange: [0.9, 1]\n }) : 1\n }]\n }, style],\n testID: testID,\n container: true\n }, isV3 && {\n elevation\n }, rest), renderChildrenWithWrapper(), (action || isIconButton) && React.createElement(View, {\n style: [styles.actionsContainer, {\n marginLeft\n }]\n }, action ? React.createElement(Button, _extends({\n onPress: event => {\n onPressAction === null || onPressAction === void 0 || onPressAction(event);\n onDismiss();\n },\n style: [styles.button, actionStyle],\n textColor: buttonTextColor,\n compact: !isV3,\n mode: \"text\",\n theme: theme,\n rippleColor: actionRippleColor\n }, actionProps), actionLabel) : null, isIconButton ? React.createElement(IconButton, {\n accessibilityRole: \"button\",\n borderless: true,\n onPress: onIconPress,\n iconColor: theme.colors.inverseOnSurface,\n rippleColor: rippleColor,\n theme: theme,\n icon: icon || (({\n size,\n color\n }) => {\n return React.createElement(MaterialCommunityIcon, {\n name: \"close\",\n color: color,\n size: size,\n direction: I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'\n });\n }),\n accessibilityLabel: iconAccessibilityLabel,\n style: styles.icon,\n testID: `${testID}-icon`\n }) : null)));\n};\nSnackbar.DURATION_SHORT = DURATION_SHORT;\nSnackbar.DURATION_MEDIUM = DURATION_MEDIUM;\nSnackbar.DURATION_LONG = DURATION_LONG;\nconst styles = StyleSheet.create({\n wrapper: {\n position: 'absolute',\n bottom: 0,\n width: '100%'\n },\n container: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n margin: 8,\n borderRadius: 4,\n minHeight: 48\n },\n content: {\n marginHorizontal: 16,\n marginVertical: 14,\n flex: 1\n },\n actionsContainer: {\n flexDirection: 'row',\n justifyContent: 'flex-end',\n alignItems: 'center',\n minHeight: 48\n },\n button: {\n marginRight: 8,\n marginLeft: 4\n },\n elevation: {\n elevation: 6\n },\n icon: {\n width: 40,\n height: 40,\n margin: 0\n }\n});\nexport default Snackbar;","map":{"version":3,"names":["React","Animated","Easing","I18nManager","StyleSheet","View","useSafeAreaInsets","useLatestCallback","Button","IconButton","MaterialCommunityIcon","Surface","Text","useInternalTheme","DURATION_SHORT","DURATION_MEDIUM","DURATION_LONG","Snackbar","_ref","visible","action","icon","onIconPress","iconAccessibilityLabel","duration","onDismiss","children","elevation","style","wrapperStyle","contentStyle","theme","themeOverrides","maxFontSizeMultiplier","rippleColor","testID","rest","_objectWithoutPropertiesLoose","_excluded","bottom","right","left","current","opacity","useRef","Value","hideTimeout","undefined","hidden","setHidden","useState","scale","animation","animateShow","clearTimeout","timing","toValue","easing","out","ease","useNativeDriver","start","finished","isInfinity","Number","POSITIVE_INFINITY","NEGATIVE_INFINITY","setTimeout","handleOnVisible","handleOnHidden","useEffect","useLayoutEffect","colors","roundness","isV3","_ref2","actionStyle","label","actionLabel","onPress","onPressAction","actionRippleColor","actionProps","_excluded2","buttonTextColor","inversePrimary","accent","textColor","inverseOnSurface","surface","backgroundColor","inverseSurface","onSurface","isIconButton","marginLeft","wrapperPaddings","paddingBottom","paddingHorizontal","Math","max","renderChildrenWithWrapper","createElement","variant","styles","content","color","pointerEvents","wrapper","_extends","accessibilityLiveRegion","container","borderRadius","transform","interpolate","inputRange","outputRange","actionsContainer","event","button","compact","mode","accessibilityRole","borderless","iconColor","size","name","direction","getConstants","isRTL","accessibilityLabel","create","position","width","flexDirection","justifyContent","margin","minHeight","marginHorizontal","marginVertical","flex","alignItems","marginRight","height"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/react-native-paper/src/components/Snackbar.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n Animated,\n ColorValue,\n Easing,\n I18nManager,\n StyleProp,\n StyleSheet,\n View,\n ViewStyle,\n} from 'react-native';\n\nimport { useSafeAreaInsets } from 'react-native-safe-area-context';\nimport useLatestCallback from 'use-latest-callback';\n\nimport Button from './Button/Button';\nimport type { IconSource } from './Icon';\nimport IconButton from './IconButton/IconButton';\nimport MaterialCommunityIcon from './MaterialCommunityIcon';\nimport Surface from './Surface';\nimport Text from './Typography/Text';\nimport { useInternalTheme } from '../core/theming';\nimport type { $Omit, $RemoveChildren, ThemeProp } from '../types';\n\nexport type Props = $Omit<React.ComponentProps<typeof Surface>, 'mode'> & {\n /**\n * Whether the Snackbar is currently visible.\n */\n visible: boolean;\n /**\n * Label and press callback for the action button. It should contain the following properties:\n * - `label` - Label of the action button\n * - `onPress` - Callback that is called when action button is pressed.\n */\n action?: $RemoveChildren<typeof Button> & {\n label: string;\n };\n /**\n * @supported Available in v5.x with theme version 3\n * Icon to display when `onIconPress` is defined. Default will be `close` icon.\n */\n icon?: IconSource;\n /**\n * @supported Available in v5.x with theme version 3\n * Color of the ripple effect.\n */\n rippleColor?: ColorValue;\n /**\n * @supported Available in v5.x with theme version 3\n * Function to execute on icon button press. The icon button appears only when this prop is specified.\n */\n onIconPress?: () => void;\n /**\n * @supported Available in v5.x with theme version 3\n * Accessibility label for the icon button. This is read by the screen reader when the user taps the button.\n */\n iconAccessibilityLabel?: string;\n /**\n * The duration for which the Snackbar is shown.\n */\n duration?: number;\n /**\n * Callback called when Snackbar is dismissed. The `visible` prop needs to be updated when this is called.\n */\n onDismiss: () => void;\n /**\n * Text content of the Snackbar.\n */\n children: React.ReactNode;\n /**\n * @supported Available in v5.x with theme version 3\n * Changes Snackbar shadow and background on iOS and Android.\n */\n elevation?: 0 | 1 | 2 | 3 | 4 | 5 | Animated.Value;\n /**\n * Specifies the largest possible scale a text font can reach.\n */\n maxFontSizeMultiplier?: number;\n /**\n * Style for the wrapper of the snackbar\n */\n wrapperStyle?: StyleProp<ViewStyle>;\n /**\n * Style for the content of the snackbar\n */\n contentStyle?: StyleProp<ViewStyle>;\n style?: Animated.WithAnimatedValue<StyleProp<ViewStyle>>;\n ref?: React.RefObject<View>;\n /**\n * @optional\n */\n theme?: ThemeProp;\n /**\n * TestID used for testing purposes\n */\n testID?: string;\n};\n\nconst DURATION_SHORT = 4000;\nconst DURATION_MEDIUM = 7000;\nconst DURATION_LONG = 10000;\n\n/**\n * Snackbars provide brief feedback about an operation through a message rendered at the bottom of the container in which it's wrapped.\n *\n * Note: To display it as a popup, regardless of the parent's position, wrap it with a `Portal` component – refer to the example in the \"More Examples` section.\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { View, StyleSheet } from 'react-native';\n * import { Button, Snackbar } from 'react-native-paper';\n *\n * const MyComponent = () => {\n * const [visible, setVisible] = React.useState(false);\n *\n * const onToggleSnackBar = () => setVisible(!visible);\n *\n * const onDismissSnackBar = () => setVisible(false);\n *\n * return (\n * <View style={styles.container}>\n * <Button onPress={onToggleSnackBar}>{visible ? 'Hide' : 'Show'}</Button>\n * <Snackbar\n * visible={visible}\n * onDismiss={onDismissSnackBar}\n * action={{\n * label: 'Undo',\n * onPress: () => {\n * // Do something\n * },\n * }}>\n * Hey there! I'm a Snackbar.\n * </Snackbar>\n * </View>\n * );\n * };\n *\n * const styles = StyleSheet.create({\n * container: {\n * flex: 1,\n * justifyContent: 'space-between',\n * },\n * });\n *\n * export default MyComponent;\n * ```\n */\nconst Snackbar = ({\n visible,\n action,\n icon,\n onIconPress,\n iconAccessibilityLabel = 'Close icon',\n duration = DURATION_MEDIUM,\n onDismiss,\n children,\n elevation = 2,\n style,\n wrapperStyle,\n contentStyle,\n theme: themeOverrides,\n maxFontSizeMultiplier,\n rippleColor,\n testID,\n ...rest\n}: Props) => {\n const theme = useInternalTheme(themeOverrides);\n const { bottom, right, left } = useSafeAreaInsets();\n\n const { current: opacity } = React.useRef<Animated.Value>(\n new Animated.Value(0.0)\n );\n const hideTimeout = React.useRef<NodeJS.Timeout | undefined>(undefined);\n\n const [hidden, setHidden] = React.useState(!visible);\n\n const { scale } = theme.animation;\n\n const animateShow = useLatestCallback(() => {\n if (hideTimeout.current) clearTimeout(hideTimeout.current);\n\n Animated.timing(opacity, {\n toValue: 1,\n duration: 200 * scale,\n easing: Easing.out(Easing.ease),\n useNativeDriver: true,\n }).start(({ finished }) => {\n if (finished) {\n const isInfinity =\n duration === Number.POSITIVE_INFINITY ||\n duration === Number.NEGATIVE_INFINITY;\n\n if (!isInfinity) {\n hideTimeout.current = setTimeout(\n onDismiss,\n duration\n ) as unknown as NodeJS.Timeout;\n }\n }\n });\n });\n\n const handleOnVisible = useLatestCallback(() => {\n // show\n setHidden(false);\n });\n\n const handleOnHidden = useLatestCallback(() => {\n // hide\n if (hideTimeout.current) {\n clearTimeout(hideTimeout.current);\n }\n\n Animated.timing(opacity, {\n toValue: 0,\n duration: 100 * scale,\n useNativeDriver: true,\n }).start(({ finished }) => {\n if (finished) {\n setHidden(true);\n }\n });\n });\n\n React.useEffect(() => {\n if (!hidden) {\n animateShow();\n }\n }, [animateShow, hidden]);\n\n React.useEffect(() => {\n return () => {\n if (hideTimeout.current) clearTimeout(hideTimeout.current);\n };\n }, []);\n\n React.useLayoutEffect(() => {\n if (visible) {\n handleOnVisible();\n } else {\n handleOnHidden();\n }\n }, [visible, handleOnVisible, handleOnHidden]);\n\n const { colors, roundness, isV3 } = theme;\n\n if (hidden) {\n return null;\n }\n\n const {\n style: actionStyle,\n label: actionLabel,\n onPress: onPressAction,\n rippleColor: actionRippleColor,\n ...actionProps\n } = action || {};\n\n const buttonTextColor = isV3 ? colors.inversePrimary : colors.accent;\n const textColor = isV3 ? colors.inverseOnSurface : colors?.surface;\n const backgroundColor = isV3 ? colors.inverseSurface : colors?.onSurface;\n\n const isIconButton = isV3 && onIconPress;\n\n const marginLeft = action ? -12 : -16;\n\n const wrapperPaddings = {\n paddingBottom: bottom,\n paddingHorizontal: Math.max(left, right),\n };\n\n const renderChildrenWithWrapper = () => {\n if (typeof children === 'string') {\n return (\n <Text\n variant=\"bodyMedium\"\n style={[styles.content, { color: textColor }]}\n maxFontSizeMultiplier={maxFontSizeMultiplier}\n >\n {children}\n </Text>\n );\n }\n\n return (\n <View style={[styles.content, contentStyle]}>\n {/* View is added to allow multiple lines support for Text component as children */}\n <View>{children}</View>\n </View>\n );\n };\n\n return (\n <View\n pointerEvents=\"box-none\"\n style={[styles.wrapper, wrapperPaddings, wrapperStyle]}\n >\n <Surface\n pointerEvents=\"box-none\"\n accessibilityLiveRegion=\"polite\"\n theme={theme}\n style={[\n !isV3 && styles.elevation,\n styles.container,\n {\n backgroundColor,\n borderRadius: roundness,\n opacity: opacity,\n transform: [\n {\n scale: visible\n ? opacity.interpolate({\n inputRange: [0, 1],\n outputRange: [0.9, 1],\n })\n : 1,\n },\n ],\n },\n style,\n ]}\n testID={testID}\n container\n {...(isV3 && { elevation })}\n {...rest}\n >\n {renderChildrenWithWrapper()}\n {(action || isIconButton) && (\n <View style={[styles.actionsContainer, { marginLeft }]}>\n {action ? (\n <Button\n onPress={(event) => {\n onPressAction?.(event);\n onDismiss();\n }}\n style={[styles.button, actionStyle]}\n textColor={buttonTextColor}\n compact={!isV3}\n mode=\"text\"\n theme={theme}\n rippleColor={actionRippleColor}\n {...actionProps}\n >\n {actionLabel}\n </Button>\n ) : null}\n {isIconButton ? (\n <IconButton\n accessibilityRole=\"button\"\n borderless\n onPress={onIconPress}\n iconColor={theme.colors.inverseOnSurface}\n rippleColor={rippleColor}\n theme={theme}\n icon={\n icon ||\n (({ size, color }) => {\n return (\n <MaterialCommunityIcon\n name=\"close\"\n color={color}\n size={size}\n direction={\n I18nManager.getConstants().isRTL ? 'rtl' : 'ltr'\n }\n />\n );\n })\n }\n accessibilityLabel={iconAccessibilityLabel}\n style={styles.icon}\n testID={`${testID}-icon`}\n />\n ) : null}\n </View>\n )}\n </Surface>\n </View>\n );\n};\n\n/**\n * Show the Snackbar for a short duration.\n */\nSnackbar.DURATION_SHORT = DURATION_SHORT;\n\n/**\n * Show the Snackbar for a medium duration.\n */\nSnackbar.DURATION_MEDIUM = DURATION_MEDIUM;\n\n/**\n * Show the Snackbar for a long duration.\n */\nSnackbar.DURATION_LONG = DURATION_LONG;\n\nconst styles = StyleSheet.create({\n wrapper: {\n position: 'absolute',\n bottom: 0,\n width: '100%',\n },\n container: {\n flexDirection: 'row',\n justifyContent: 'space-between',\n margin: 8,\n borderRadius: 4,\n minHeight: 48,\n },\n content: {\n marginHorizontal: 16,\n marginVertical: 14,\n flex: 1,\n },\n actionsContainer: {\n flexDirection: 'row',\n justifyContent: 'flex-end',\n alignItems: 'center',\n minHeight: 48,\n },\n button: {\n marginRight: 8,\n marginLeft: 4,\n },\n elevation: {\n elevation: 6,\n },\n icon: {\n width: 40,\n height: 40,\n margin: 0,\n },\n});\n\nexport default Snackbar;\n"],"mappings":";;;;;;;;;;;;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAAA,OAAAC,QAAA;AAAA,OAAAC,MAAA;AAAA,OAAAC,WAAA;AAAA,OAAAC,UAAA;AAAA,OAAAC,IAAA;AAY9B,SAASC,iBAAiB,QAAQ,gCAAgC;AAClE,OAAOC,iBAAiB,MAAM,qBAAqB;AAEnD,OAAOC,MAAM;AAEb,OAAOC,UAAU;AACjB,OAAOC,qBAAqB;AAC5B,OAAOC,OAAO;AACd,OAAOC,IAAI;AACX,SAASC,gBAAgB;AA6EzB,MAAMC,cAAc,GAAG,IAAI;AAC3B,MAAMC,eAAe,GAAG,IAAI;AAC5B,MAAMC,aAAa,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