UNPKG

repoweaver

Version:

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

1 lines 22.9 kB
{"ast":null,"code":"import _objectWithoutPropertiesLoose from \"@babel/runtime/helpers/objectWithoutPropertiesLoose\";\nconst _excluded = [\"style\", \"background\", \"borderless\", \"disabled\", \"rippleColor\", \"underlayColor\", \"children\", \"theme\"];\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 Platform from \"react-native-web/dist/exports/Platform\";\nimport StyleSheet from \"react-native-web/dist/exports/StyleSheet\";\nimport color from 'color';\nimport { Pressable } from \"./Pressable\";\nimport { getTouchableRippleColors } from \"./utils\";\nimport { SettingsContext } from \"../../core/settings\";\nimport { useInternalTheme } from \"../../core/theming\";\nimport { forwardRef } from \"../../utils/forwardRef\";\nimport hasTouchHandler from \"../../utils/hasTouchHandler\";\nconst TouchableRipple = (_ref, ref) => {\n let {\n style,\n borderless = false,\n disabled: disabledProp,\n rippleColor,\n children,\n theme: themeOverrides\n } = _ref,\n rest = _objectWithoutPropertiesLoose(_ref, _excluded);\n const theme = useInternalTheme(themeOverrides);\n const {\n calculatedRippleColor\n } = getTouchableRippleColors({\n theme,\n rippleColor\n });\n const hoverColor = color(calculatedRippleColor).fade(0.5).rgb().string();\n const {\n rippleEffectEnabled\n } = React.useContext(SettingsContext);\n const {\n onPress,\n onLongPress,\n onPressIn,\n onPressOut\n } = rest;\n const handlePressIn = React.useCallback(e => {\n onPressIn === null || onPressIn === void 0 || onPressIn(e);\n if (rippleEffectEnabled) {\n const {\n centered\n } = rest;\n const button = e.currentTarget;\n const style = window.getComputedStyle(button);\n const dimensions = button.getBoundingClientRect();\n let touchX;\n let touchY;\n const {\n changedTouches,\n touches\n } = e.nativeEvent;\n const touch = (touches === null || touches === void 0 ? void 0 : touches[0]) ?? (changedTouches === null || changedTouches === void 0 ? void 0 : changedTouches[0]);\n if (centered || !touch) {\n touchX = dimensions.width / 2;\n touchY = dimensions.height / 2;\n } else {\n touchX = touch.locationX ?? e.pageX;\n touchY = touch.locationY ?? e.pageY;\n }\n const size = centered ? Math.min(dimensions.width, dimensions.height) * 1.5 : Math.max(dimensions.width, dimensions.height) * 2;\n const container = document.createElement('span');\n container.setAttribute('data-paper-ripple', '');\n Object.assign(container.style, {\n position: 'absolute',\n pointerEvents: 'none',\n top: '0',\n left: '0',\n right: '0',\n bottom: '0',\n borderTopLeftRadius: style.borderTopLeftRadius,\n borderTopRightRadius: style.borderTopRightRadius,\n borderBottomRightRadius: style.borderBottomRightRadius,\n borderBottomLeftRadius: style.borderBottomLeftRadius,\n overflow: centered ? 'visible' : 'hidden'\n });\n const ripple = document.createElement('span');\n Object.assign(ripple.style, {\n position: 'absolute',\n pointerEvents: 'none',\n backgroundColor: calculatedRippleColor,\n borderRadius: '50%',\n transitionProperty: 'transform opacity',\n transitionDuration: `${Math.min(size * 1.5, 350)}ms`,\n transitionTimingFunction: 'linear',\n transformOrigin: 'center',\n transform: 'translate3d(-50%, -50%, 0) scale3d(0.1, 0.1, 0.1)',\n opacity: '0.5',\n left: `${touchX}px`,\n top: `${touchY}px`,\n width: `${size}px`,\n height: `${size}px`\n });\n container.appendChild(ripple);\n button.appendChild(container);\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n Object.assign(ripple.style, {\n transform: 'translate3d(-50%, -50%, 0) scale3d(1, 1, 1)',\n opacity: '1'\n });\n });\n });\n }\n }, [onPressIn, rest, rippleEffectEnabled, calculatedRippleColor]);\n const handlePressOut = React.useCallback(e => {\n onPressOut === null || onPressOut === void 0 || onPressOut(e);\n if (rippleEffectEnabled) {\n const containers = e.currentTarget.querySelectorAll('[data-paper-ripple]');\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n containers.forEach(container => {\n const ripple = container.firstChild;\n Object.assign(ripple.style, {\n transitionDuration: '250ms',\n opacity: 0\n });\n setTimeout(() => {\n const {\n parentNode\n } = container;\n if (parentNode) {\n parentNode.removeChild(container);\n }\n }, 500);\n });\n });\n });\n }\n }, [onPressOut, rippleEffectEnabled]);\n const hasPassedTouchHandler = hasTouchHandler({\n onPress,\n onLongPress,\n onPressIn,\n onPressOut\n });\n const disabled = disabledProp || !hasPassedTouchHandler;\n return React.createElement(Pressable, _extends({}, rest, {\n ref: ref,\n onPressIn: handlePressIn,\n onPressOut: handlePressOut,\n disabled: disabled,\n style: state => [styles.touchable, borderless && styles.borderless, state.hovered && {\n backgroundColor: hoverColor\n }, disabled && styles.disabled, typeof style === 'function' ? style(state) : style]\n }), state => React.Children.only(typeof children === 'function' ? children(state) : children));\n};\nTouchableRipple.supported = true;\nconst styles = StyleSheet.create({\n touchable: Object.assign({\n position: 'relative'\n }, Platform.OS === 'web' && {\n cursor: 'pointer',\n transition: '150ms background-color'\n }),\n disabled: Object.assign({}, Platform.OS === 'web' && {\n cursor: 'auto'\n }),\n borderless: {\n overflow: 'hidden'\n }\n});\nconst Component = forwardRef(TouchableRipple);\nexport default Component;","map":{"version":3,"names":["React","Platform","StyleSheet","color","Pressable","getTouchableRippleColors","SettingsContext","useInternalTheme","forwardRef","hasTouchHandler","TouchableRipple","_ref","ref","style","borderless","disabled","disabledProp","rippleColor","children","theme","themeOverrides","rest","_objectWithoutPropertiesLoose","_excluded","calculatedRippleColor","hoverColor","fade","rgb","string","rippleEffectEnabled","useContext","onPress","onLongPress","onPressIn","onPressOut","handlePressIn","useCallback","e","centered","button","currentTarget","window","getComputedStyle","dimensions","getBoundingClientRect","touchX","touchY","changedTouches","touches","nativeEvent","touch","width","height","locationX","pageX","locationY","pageY","size","Math","min","max","container","document","createElement","setAttribute","Object","assign","position","pointerEvents","top","left","right","bottom","borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius","overflow","ripple","backgroundColor","borderRadius","transitionProperty","transitionDuration","transitionTimingFunction","transformOrigin","transform","opacity","appendChild","requestAnimationFrame","handlePressOut","containers","querySelectorAll","forEach","firstChild","setTimeout","parentNode","removeChild","hasPassedTouchHandler","_extends","state","styles","touchable","hovered","Children","only","supported","create","OS","cursor","transition","Component"],"sources":["/Users/pmouli/Documents/GitHub.nosync/boots-strapper/mobile/node_modules/react-native-paper/src/components/TouchableRipple/TouchableRipple.tsx"],"sourcesContent":["import * as React from 'react';\nimport {\n ColorValue,\n GestureResponderEvent,\n Platform,\n StyleProp,\n StyleSheet,\n View,\n ViewStyle,\n} from 'react-native';\n\nimport color from 'color';\n\nimport type { PressableProps, PressableStateCallbackType } from './Pressable';\nimport { Pressable } from './Pressable';\nimport { getTouchableRippleColors } from './utils';\nimport { Settings, SettingsContext } from '../../core/settings';\nimport { useInternalTheme } from '../../core/theming';\nimport type { ThemeProp } from '../../types';\nimport { forwardRef } from '../../utils/forwardRef';\nimport hasTouchHandler from '../../utils/hasTouchHandler';\n\nexport type Props = PressableProps & {\n /**\n * Whether to render the ripple outside the view bounds.\n */\n borderless?: boolean;\n /**\n * Type of background drawabale to display the feedback (Android).\n * https://reactnative.dev/docs/pressable#rippleconfig\n */\n background?: Object;\n /**\n * Whether to start the ripple at the center (Web).\n */\n centered?: boolean;\n /**\n * Whether to prevent interaction with the touchable.\n */\n disabled?: boolean;\n /**\n * Function to execute on press. If not set, will cause the touchable to be disabled.\n */\n onPress?: (e: GestureResponderEvent) => void;\n /**\n * Function to execute on long press.\n */\n onLongPress?: (e: GestureResponderEvent) => void;\n /**\n * Function to execute immediately when a touch is engaged, before `onPressOut` and `onPress`.\n */\n onPressIn?: (e: GestureResponderEvent) => void;\n /**\n * Function to execute when a touch is released.\n */\n onPressOut?: (e: GestureResponderEvent) => void;\n /**\n * Color of the ripple effect (Android >= 5.0 and Web).\n */\n rippleColor?: ColorValue;\n /**\n * Color of the underlay for the highlight effect (Android < 5.0 and iOS).\n */\n underlayColor?: string;\n /**\n * Content of the `TouchableRipple`.\n */\n children:\n | ((state: PressableStateCallbackType) => React.ReactNode)\n | React.ReactNode;\n style?:\n | StyleProp<ViewStyle>\n | ((state: PressableStateCallbackType) => StyleProp<ViewStyle>)\n | undefined;\n /**\n * @optional\n */\n theme?: ThemeProp;\n};\n\n/**\n * A wrapper for views that should respond to touches.\n * Provides a material \"ink ripple\" interaction effect for supported platforms (>= Android Lollipop).\n * On unsupported platforms, it falls back to a highlight effect.\n *\n * ## Usage\n * ```js\n * import * as React from 'react';\n * import { View } from 'react-native';\n * import { Text, TouchableRipple } from 'react-native-paper';\n *\n * const MyComponent = () => (\n * <TouchableRipple\n * onPress={() => console.log('Pressed')}\n * rippleColor=\"rgba(0, 0, 0, .32)\"\n * >\n * <Text>Press anywhere</Text>\n * </TouchableRipple>\n * );\n *\n * export default MyComponent;\n * ```\n *\n * @extends Pressable props https://reactnative.dev/docs/Pressable#props\n */\nconst TouchableRipple = (\n {\n style,\n background: _background,\n borderless = false,\n disabled: disabledProp,\n rippleColor,\n underlayColor: _underlayColor,\n children,\n theme: themeOverrides,\n ...rest\n }: Props,\n ref: React.ForwardedRef<View>\n) => {\n const theme = useInternalTheme(themeOverrides);\n const { calculatedRippleColor } = getTouchableRippleColors({\n theme,\n rippleColor,\n });\n const hoverColor = color(calculatedRippleColor).fade(0.5).rgb().string();\n const { rippleEffectEnabled } = React.useContext<Settings>(SettingsContext);\n\n const { onPress, onLongPress, onPressIn, onPressOut } = rest;\n\n const handlePressIn = React.useCallback(\n (e: any) => {\n onPressIn?.(e);\n\n if (rippleEffectEnabled) {\n const { centered } = rest;\n\n const button = e.currentTarget;\n const style = window.getComputedStyle(button);\n const dimensions = button.getBoundingClientRect();\n\n let touchX;\n let touchY;\n\n const { changedTouches, touches } = e.nativeEvent;\n const touch = touches?.[0] ?? changedTouches?.[0];\n\n // If centered or it was pressed using keyboard - enter or space\n if (centered || !touch) {\n touchX = dimensions.width / 2;\n touchY = dimensions.height / 2;\n } else {\n touchX = touch.locationX ?? e.pageX;\n touchY = touch.locationY ?? e.pageY;\n }\n\n // Get the size of the button to determine how big the ripple should be\n const size = centered\n ? // If ripple is always centered, we don't need to make it too big\n Math.min(dimensions.width, dimensions.height) * 1.5\n : // Otherwise make it twice as big so clicking on one end spreads ripple to other\n Math.max(dimensions.width, dimensions.height) * 2;\n\n // Create a container for our ripple effect so we don't need to change the parent's style\n const container = document.createElement('span');\n\n container.setAttribute('data-paper-ripple', '');\n\n Object.assign(container.style, {\n position: 'absolute',\n pointerEvents: 'none',\n top: '0',\n left: '0',\n right: '0',\n bottom: '0',\n borderTopLeftRadius: style.borderTopLeftRadius,\n borderTopRightRadius: style.borderTopRightRadius,\n borderBottomRightRadius: style.borderBottomRightRadius,\n borderBottomLeftRadius: style.borderBottomLeftRadius,\n overflow: centered ? 'visible' : 'hidden',\n });\n\n // Create span to show the ripple effect\n const ripple = document.createElement('span');\n\n Object.assign(ripple.style, {\n position: 'absolute',\n pointerEvents: 'none',\n backgroundColor: calculatedRippleColor,\n borderRadius: '50%',\n\n /* Transition configuration */\n transitionProperty: 'transform opacity',\n transitionDuration: `${Math.min(size * 1.5, 350)}ms`,\n transitionTimingFunction: 'linear',\n transformOrigin: 'center',\n\n /* We'll animate these properties */\n transform: 'translate3d(-50%, -50%, 0) scale3d(0.1, 0.1, 0.1)',\n opacity: '0.5',\n\n // Position the ripple where cursor was\n left: `${touchX}px`,\n top: `${touchY}px`,\n width: `${size}px`,\n height: `${size}px`,\n });\n\n // Finally, append it to DOM\n container.appendChild(ripple);\n button.appendChild(container);\n\n // rAF runs in the same frame as the event handler\n // Use double rAF to ensure the transition class is added in next frame\n // This will make sure that the transition animation is triggered\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n Object.assign(ripple.style, {\n transform: 'translate3d(-50%, -50%, 0) scale3d(1, 1, 1)',\n opacity: '1',\n });\n });\n });\n }\n },\n [onPressIn, rest, rippleEffectEnabled, calculatedRippleColor]\n );\n\n const handlePressOut = React.useCallback(\n (e: any) => {\n onPressOut?.(e);\n\n if (rippleEffectEnabled) {\n const containers = e.currentTarget.querySelectorAll(\n '[data-paper-ripple]'\n ) as HTMLElement[];\n\n requestAnimationFrame(() => {\n requestAnimationFrame(() => {\n containers.forEach((container) => {\n const ripple = container.firstChild as HTMLSpanElement;\n\n Object.assign(ripple.style, {\n transitionDuration: '250ms',\n opacity: 0,\n });\n\n // Finally remove the span after the transition\n setTimeout(() => {\n const { parentNode } = container;\n\n if (parentNode) {\n parentNode.removeChild(container);\n }\n }, 500);\n });\n });\n });\n }\n },\n [onPressOut, rippleEffectEnabled]\n );\n\n const hasPassedTouchHandler = hasTouchHandler({\n onPress,\n onLongPress,\n onPressIn,\n onPressOut,\n });\n\n const disabled = disabledProp || !hasPassedTouchHandler;\n\n return (\n <Pressable\n {...rest}\n ref={ref}\n onPressIn={handlePressIn}\n onPressOut={handlePressOut}\n disabled={disabled}\n style={(state) => [\n styles.touchable,\n borderless && styles.borderless,\n // focused state is not ready yet: https://github.com/necolas/react-native-web/issues/1849\n // state.focused && { backgroundColor: ___ },\n state.hovered && { backgroundColor: hoverColor },\n disabled && styles.disabled,\n typeof style === 'function' ? style(state) : style,\n ]}\n >\n {(state) =>\n React.Children.only(\n typeof children === 'function' ? children(state) : children\n )\n }\n </Pressable>\n );\n};\n\n/**\n * Whether ripple effect is supported.\n */\nTouchableRipple.supported = true;\n\nconst styles = StyleSheet.create({\n touchable: {\n position: 'relative',\n ...(Platform.OS === 'web' && {\n cursor: 'pointer',\n transition: '150ms background-color',\n }),\n },\n disabled: {\n ...(Platform.OS === 'web' && {\n cursor: 'auto',\n }),\n },\n borderless: {\n overflow: 'hidden',\n },\n});\n\nconst Component = forwardRef(TouchableRipple);\n\nexport default Component as typeof Component & { supported: boolean };\n"],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAAA,OAAAC,QAAA;AAAA,OAAAC,UAAA;AAW9B,OAAOC,KAAK,MAAM,OAAO;AAGzB,SAASC,SAAS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