docstring_tokens
stringlengths
0
76.5k
code_tokens
stringlengths
75
1.81M
label_window
listlengths
4
2.12k
html_url
stringlengths
74
116
file_name
stringlengths
3
311
subtitleColor:platform==="ios"?"#000":"#fff",
<mask> <mask> titleFontfamily:platform==="ios"?"System":"Roboto_medium", <mask> titleFontSize:platform==="ios"?17:19, <mask> subTitleFontSize:platform==="ios"?12:14, <mask> subtitleColor:"#FFF", <mask> <mask> <mask> titleFontColor:"#FFF", <mask> <mask> </s> Modified color values to standard ones in vari...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/commonColor.js
titleFontColor:platform==="ios"?"#000":"#fff",
<mask> subTitleFontSize:platform==="ios"?12:14, <mask> subtitleColor:"#FFF", <mask> <mask> <mask> titleFontColor:"#FFF", <mask> <mask> <mask> borderRadiusBase:platform==="ios"?5:2, <mask> borderWidth:1/_reactNative.PixelRatio.getPixelSizeForLayoutSize(1), <mask> contentPadding:10, </s> Modified color val...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/commonColor.js
tabBarTextColor:"#fff",
<mask> footerDefaultBg:"#3F51B5", <mask> footerPaddingBottom:isIphoneX?34:0, <mask> <mask> <mask> tabBarTextColor:"#b3c7f9", <mask> tabBarTextSize:platform==="ios"?14:11, <mask> activeTab:"#fff", <mask> sTabBarActiveTextColor:"#007aff", <mask> tabBarActiveTextColor:"#fff", <mask> tabActiveBgColor:undefined,...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/material.js
tabActiveBgColor:"#3F51B5",
<mask> tabBarTextSize:platform==="ios"?14:11, <mask> activeTab:"#fff", <mask> sTabBarActiveTextColor:"#007aff", <mask> tabBarActiveTextColor:"#fff", <mask> tabActiveBgColor:undefined, <mask> <mask> <mask> tabDefaultBg:"#3F51B5", <mask> topTabBarTextColor:"#b3c7f9", <mask> topTabBarActiveTextColor:"#fff", <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/material.js
toolbarDefaultBg:platform==="ios"?"#F8F8F8":"#3F51B5",
<mask> topTabBarActiveBorderColor:"#fff", <mask> <mask> <mask> toolbarBtnColor:"#fff", <mask> toolbarDefaultBg:"#3F51B5", <mask> toolbarHeight:platform==="ios"?isIphoneX?88:64:56, <mask> toolbarSearchIconSize:platform==="ios"?20:23, <mask> toolbarInputColor:"#fff", <mask> searchBarHeight:platform==="ios"?30:...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/material.js
brandPrimary:"#007aff",
<mask> <mask> cardDefaultBg:"#fff", <mask> <mask> <mask> brandPrimary:platform==="ios"?"#007aff":"#3F51B5", <mask> brandInfo:"#62B1F6", <mask> brandSuccess:"#5cb85c", <mask> brandDanger:"#d9534f", <mask> brandWarning:"#f0ad4e", <mask> brandDark:"#000", </s> Modified color values to standard ones in variab...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/platform.js
tabBarTextColor:"#2874F0",
<mask> footerDefaultBg:platform==="ios"?"#F8F8F8":"#4179F7", <mask> footerPaddingBottom:isIphoneX?34:0, <mask> <mask> <mask> tabBarTextColor:platform==="ios"?"#6b6b6b":"#b3c7f9", <mask> tabBarTextSize:platform==="ios"?14:11, <mask> activeTab:platform==="ios"?"#007aff":"#fff", <mask> sTabBarActiveTextColor:"#0...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/platform.js
activeTab:"#fff",
<mask> <mask> <mask> tabBarTextColor:platform==="ios"?"#6b6b6b":"#b3c7f9", <mask> tabBarTextSize:platform==="ios"?14:11, <mask> activeTab:platform==="ios"?"#007aff":"#fff", <mask> sTabBarActiveTextColor:"#007aff", <mask> tabBarActiveTextColor:platform==="ios"?"#007aff":"#fff", <mask> tabActiveBgColor:platform...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/platform.js
tabBarActiveTextColor:"#2874F0", tabActiveBgColor:"#cde1f9",
<mask> tabBarTextColor:platform==="ios"?"#6b6b6b":"#b3c7f9", <mask> tabBarTextSize:platform==="ios"?14:11, <mask> activeTab:platform==="ios"?"#007aff":"#fff", <mask> sTabBarActiveTextColor:"#007aff", <mask> tabBarActiveTextColor:platform==="ios"?"#007aff":"#fff", <mask> tabActiveBgColor:platform==="ios"?"#cde1f9"...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/platform.js
toolbarBtnColor:"#007aff",
<mask> topTabBarBorderColor:platform==="ios"?"#a7a6ab":"#fff", <mask> topTabBarActiveBorderColor:platform==="ios"?"#007aff":"#fff", <mask> <mask> <mask> toolbarBtnColor:platform==="ios"?"#007aff":"#fff", <mask> toolbarDefaultBg:platform==="ios"?"#F8F8F8":"#3F51B5", <mask> toolbarHeight:platform==="ios"?isIphon...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/platform.js
toolbarBtnTextColor:"#000", toolbarDefaultBorder:"#a7a6ab",
<mask> toolbarSearchIconSize:platform==="ios"?20:23, <mask> toolbarInputColor:platform==="ios"?"#CECDD2":"#fff", <mask> searchBarHeight:platform==="ios"?30:40, <mask> searchBarInputHeight:platform==="ios"?30:50, <mask> toolbarBtnTextColor:platform==="ios"?"#007aff":"#fff", <mask> toolbarDefaultBorder:platform==="...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2bfd1bd0523371468998c076e10cf738f789ba81
dist/src/theme/variables/platform.js
<mask> export const ModalContext = React.createContext({ <mask> visible: false, <mask> toggleVisible: (_bool: boolean) => {}, <mask> toggleOnClose: (_bool: boolean) => {}, <mask> newProps: { <mask> _width: '60%', <mask> size: 'md', <mask> modalOverlayStyle: {}, <mask> closeOnOverlayClic...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/Context.ts
const { contentSize, ...newProps } = useThemeProps('Modal', props);
<mask> const closeOverlayInMobile = () => { <mask> setIsVisible(false); <mask> onClose(false); <mask> }; <mask> const newProps = useThemeProps('Modal', props); <mask> const value: any = { <mask> visible: isVisible, <mask> toggleVisible: setIsVisible, <mask> toggleOnClose: onClose ? ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/Modal.tsx
contentSize: contentSize,
<mask> const value: any = { <mask> visible: isVisible, <mask> toggleVisible: setIsVisible, <mask> toggleOnClose: onClose ? onClose : () => {}, <mask> newProps: newProps, <mask> }; <mask> const modalChildren = ( <mask> <Box <mask> {...newProps.modalProps} <mask> justifyCon...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/Modal.tsx
{...newProps}
<mask> newProps: newProps, <mask> }; <mask> const modalChildren = ( <mask> <Box <mask> {...newProps.modalProps} <mask> justifyContent={justifyContent ?? 'center'} <mask> alignItems={alignItems ?? 'center'} <mask> > <mask> {props.closeOnOverlayClick === false ? <Box /> : ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/Modal.tsx
{newProps.closeOnOverlayClick === false ? <Box /> : <ModalOverlay />}
<mask> {...newProps.modalProps} <mask> justifyContent={justifyContent ?? 'center'} <mask> alignItems={alignItems ?? 'center'} <mask> > <mask> {props.closeOnOverlayClick === false ? <Box /> : <ModalOverlay />} <mask> {children} <mask> </Box> <mask> ); <mask> React.useEf...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/Modal.tsx
closeOnPress: newProps.closeOnOverlayClick === false ? false : true,
<mask> </FocusScope> <mask> </ModalContext.Provider>, <mask> { <mask> onClose: onClose, <mask> closeOnPress: props.closeOnOverlayClick === false ? false : true, <mask> backgroundColor: overlayColor ? overlayColor : undefined, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/Modal.tsx
closeOnPress: newProps.closeOnOverlayClick === false ? false : true,
<mask> } <mask> ) <mask> : setOverlay(<Box />, { <mask> onClose: closeOverlayInMobile, <mask> closeOnPress: props.closeOnOverlayClick === false ? false : true, <mask> backgroundColor: overlayColor ? overlayColor : undefined, <mask> dis...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/Modal.tsx
{...newProps}
<mask> onShow={() => initialFocusRef?.current?.focus()} <mask> onDismiss={() => finalFocusRef?.current?.focus()} <mask> animationType={motionPreset || 'slide'} <mask> transparent <mask> {...props} <mask> ref={ref} <mask> > <mask> {avo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/Modal.tsx
import { useThemeProps } from '../../../hooks';
<mask> import React from 'react'; <mask> import { Box, IBoxProps } from '../../primitives'; <mask> import { ModalContext } from './Context'; <mask> const ModalBody = (props: IBoxProps) => { <mask> const { newProps } = React.useContext(ModalContext); <mask> return <Box {...newProps.modalBodyProps} {...props} /...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/ModalBody.tsx
// const { newProps } = React.useContext(ModalContext); const newProps = useThemeProps('ModalBody', props); return <Box {...newProps} />;
<mask> import React from 'react'; <mask> import { Box, IBoxProps } from '../../primitives'; <mask> import { ModalContext } from './Context'; <mask> const ModalBody = (props: IBoxProps) => { <mask> const { newProps } = React.useContext(ModalContext); <mask> return <Box {...newProps.modalBodyProps} {...props} /...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/ModalBody.tsx
<mask> import React from 'react'; <mask> import View from '../../primitives/View'; <mask> import CloseButton, { ICloseButtonProps } from '../../composites/CloseButton'; <mask> import { ModalContext } from './Context'; <mask> const ModalCloseButton = (props: ICloseButtonProps) => { <mask> const { toggleVisible, ...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/ModalCloseButton.tsx
import { useThemeProps } from '../../../hooks';
<mask> import CloseButton, { ICloseButtonProps } from '../../composites/CloseButton'; <mask> import { ModalContext } from './Context'; <mask> const ModalCloseButton = (props: ICloseButtonProps) => { <mask> const newProps = useThemeProps('ModalCloseButton', props); <mask> const { toggleVisible, toggleOnClose } ...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/ModalCloseButton.tsx
const newProps = useThemeProps('ModalCloseButton', props); const { toggleVisible, toggleOnClose } = React.useContext(ModalContext);
<mask> import View from '../../primitives/View'; <mask> import CloseButton, { ICloseButtonProps } from '../../composites/CloseButton'; <mask> import { ModalContext } from './Context'; <mask> const ModalCloseButton = (props: ICloseButtonProps) => { <mask> const { toggleVisible, toggleOnClose, newProps } = React.u...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/ModalCloseButton.tsx
<CloseButton {...newProps} // accessibilityLabel="Close dialog" onPress={() => { toggleVisible(false); toggleOnClose(false); }} />
<mask> const { toggleVisible, toggleOnClose, newProps } = React.useContext( <mask> ModalContext <mask> ); <mask> return ( <mask> <View style={newProps.modalCloseButtonStyle}> <mask> <CloseButton <mask> {...newProps.modalCloseButtonProps} <mask> {...props} <mask> // a...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/ModalCloseButton.tsx
import type { IModalContextType } from './types'; import { useThemeProps } from '../../../hooks';
<mask> import React from 'react'; <mask> import { Box, IBoxProps } from '../../primitives'; <mask> import { ModalContext } from './Context'; <mask> const ModalContent = (props: IBoxProps) => { <mask> const { ...newProps } = useThemeProps('ModalContent', props); <mask> const { contentSize }: IModalContextType ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/components/composites/Modal/ModalContent.tsx
rounded: 'lg', }; }, }; export const ModalCloseButton = { baseStyle: { position: 'absolute', right: 8, top: 8, zIndex: 1, }, defaultProps: { size: 8, }, }; export const ModalHeader = { baseStyle: { pb: 3, }, }; export const ModalBody = { baseStyle: { mb: 3, font...
<mask> }, <mask> modalContentProps: { <mask> bg: mode('gray.100', 'gray.700')(props), <mask> p: 8, <mask> rounded: 6, <mask> }, <mask> // NOTE: Now using custom overlay. <mask> // modalOverlayProps: { <mask> // bg: 'black', <mask> // }, <mask> modalHeaderPr...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2cf74cb11f988ecf86051cd696bbb235ae952a4a
src/theme/components/modal.ts
<mask> <mask> // Extracting baseInputProps from remaining props <mask> const [, baseInputProps] = extractInObject(nonLayoutProps, ['variant']); <mask> <mask> const _ref = React.useRef(null); <mask> const { isHovered } = useHover({}, _ref); <mask> <mask> return ( <mask> <Box <mask> displ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Input/InputAdvanced.tsx
<mask> alignItems="center" <mask> justifyContent="space-between" <mask> overflow="hidden" <mask> {...layoutProps} <mask> {...(isHovered && _hover)} <mask> {...(isFocused && _focus)} <mask> {...(isInvalid && _invalid)} <mask> {...(isReadOnly && _readOnly)} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Input/InputAdvanced.tsx
<mask> import { getSpacedChildren } from '../../../utils'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { IBoxProps } from '../Box'; <mask> import type { ResponsiveValue } from '../../types'; <mask> import { useBreakpointResolvedProps } from '../../../hooks'; <mask>...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Stack/Stack.tsx
<mask> const { <mask> children, <mask> space, <mask> direction, <mask> divider, <mask> reversed, <mask> ...remainingProps <mask> } = props; <mask> const newProps: any = usePropsResolution('Stack', remainingProps); <mask> </s> feat: updated few components for the newPropsResolut...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Stack/Stack.tsx
divider, ...resolvedProps }: any = usePropsResolution( 'Stack', props, {}, { resolveResponsively: ['space', 'direction'] } );
<mask> space, <mask> direction, <mask> divider, <mask> reversed, <mask> ...remainingProps <mask> } = props; <mask> const newProps: any = usePropsResolution('Stack', remainingProps); <mask> <mask> const { <mask> space: resolvedSpace, <mask> direction: resolvedDirection, <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Stack/Stack.tsx
<Box flexDirection={direction} {...resolvedProps} ref={ref}>
<mask> direction: resolvedDirection, <mask> } = useBreakpointResolvedProps({ space, direction }); <mask> <mask> return ( <mask> <Box flexDirection={resolvedDirection} {...newProps} ref={ref}> <mask> {getSpacedChildren( <mask> children, <mask> resolvedSpace, <mask> res...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Stack/Stack.tsx
space, direction === 'row' ? 'X' : 'Y',
<mask> return ( <mask> <Box flexDirection={resolvedDirection} {...newProps} ref={ref}> <mask> {getSpacedChildren( <mask> children, <mask> resolvedSpace, <mask> resolvedDirection === 'row' ? 'X' : 'Y', <mask> reversed ? 'reverse' : 'normal', <mask> divider <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Stack/Stack.tsx
const resolvedProps = usePropsResolution('VStack', props); return <StackMain ref={ref} {...resolvedProps} />;
<mask> >; <mask> } <mask> <mask> const VStack = (props: IVStackProps, ref?: any) => { <mask> const newProps = usePropsResolution('VStack', props); <mask> return <StackMain ref={ref} {...newProps} />; <mask> }; <mask> <mask> export default memo(forwardRef(VStack)); </s> feat: updated few components for...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Stack/VStack.tsx
// TODO: Needs proper refactor
<mask> import { useHover } from '@react-native-aria/interactions'; <mask> <mask> const StyledNBSwitch = makeStyledComponent(RNSwitch); <mask> <mask> const Switch = ( <mask> { <mask> style, <mask> onToggle, </s> feat: updated few components for the newPropsResolution </s> remove import { useBreakpoi...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Switch/index.tsx
<mask> ) => { <mask> const state = useToggleState({ <mask> defaultSelected: !isNil(defaultIsChecked) ? defaultIsChecked : false, <mask> }); <mask> const { <mask> onTrackColor: _onTrackColor, <mask> offTrackColor: _offTrackColor, <mask> onThumbColor: _onThumbColor, <mask> offThumbColor...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Switch/index.tsx
<mask> ...newProps <mask> } = usePropsResolution('Switch', props); <mask> const borderColorInvalid = useToken('colors', 'danger.600'); <mask> const checked = !isNil(isChecked) ? isChecked : state.isSelected; <mask> const onTrackColor = useToken('colors', _onTrackColor); <mask> const offTrackColor = ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Switch/index.tsx
const _ref = React.useRef(null); const { isHovered } = useHover({}, _ref); const { onTrackColor: _onTrackColor, offTrackColor: _offTrackColor, onThumbColor: _onThumbColor, offThumbColor: _offThumbColor, style: themeStyle, ...resolvedProps } = usePropsResolution('Switch', props, { isHove...
<mask> borderRadius: 16, <mask> borderColor: borderColorInvalid, <mask> }; <mask> <mask> let computedStyle: ViewStyle = StyleSheet.flatten([ <mask> themeStyle, <mask> style, <mask> isInvalid ? inValidPropFactors : {}, <mask> ]); <mask> </s> feat: updated few components for the new...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Switch/index.tsx
const onTrackColor = useToken('colors', _onTrackColor); const offTrackColor = useToken('colors', _offTrackColor); const onThumbColor = useToken('colors', _onThumbColor); const offThumbColor = useToken('colors', _offThumbColor);
<mask> style, <mask> isInvalid ? inValidPropFactors : {}, <mask> ]); <mask> <mask> const _ref = React.useRef(null); <mask> const { isHovered } = useHover({}, _ref); <mask> <mask> return ( <mask> <StyledNBSwitch <mask> accessibilityLabel={accessibilityLabel} <mask> accessibil...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Switch/index.tsx
{...resolvedProps}
<mask> trackColor={{ false: offTrackColor, true: onTrackColor }} <mask> thumbColor={checked ? onThumbColor : offThumbColor} <mask> activeThumbColor={onThumbColor} // react-native-web prop for active thumbColor <mask> ios_backgroundColor={offTrackColor} <mask> {...(isHovered && _hover)...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/Switch/index.tsx
const resolvedProps = usePropsResolution('ZStack', props);
<mask> reversed?: boolean; <mask> } <mask> <mask> const ZStack = ({ children, reversed, ...props }: IZStackProps, ref?: any) => { <mask> const newProps = usePropsResolution('ZStack', props); <mask> return ( <mask> <Box {...newProps} ref={ref}> <mask> {getAbsoluteChildren(children, reversed)} <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/ZStack/index.tsx
<Box {...resolvedProps} ref={ref}>
<mask> <mask> const ZStack = ({ children, reversed, ...props }: IZStackProps, ref?: any) => { <mask> const newProps = usePropsResolution('ZStack', props); <mask> return ( <mask> <Box {...newProps} ref={ref}> <mask> {getAbsoluteChildren(children, reversed)} <mask> </Box> <mask> ); <mask> };...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/components/primitives/ZStack/index.tsx
// Add new pseudeo props in between ------- _readOnly: { dependentOn: 'state', respondTo: 'isReadOnly', priority: SPECIFICITY_30, }, // Add new pseudeo props in between -------
<mask> dependentOn: 'state', <mask> respondTo: 'isChecked', <mask> priority: SPECIFICITY_30, <mask> }, <mask> _invalid: { <mask> dependentOn: 'state', <mask> respondTo: 'isInvalid', <mask> priority: SPECIFICITY_40, <mask> }, <mask> _focus: { </s> feat: updated few components f...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d03e131e505aa0609e08396d7db9e9f16103ccf
src/hooks/useThemeProps/propsFlattener.tsx
borderWidth={2} borderRadius="md"
<mask> backgroundColor={ <mask> isChecked ? (isDisabled ? borderColor : activeColor) : 'transparent' <mask> } <mask> borderColor={outlineColor} <mask> borderWidth={1} <mask> borderRadius={4} <mask> p={1} <mask> > <mask> {icon && sizedIcon ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d1bd28c67ed08b1fe4c4d6722a9748aa854af78
src/components/primitives/Checkbox/Checkbox.tsx
borderWidth={2}
<mask> > <mask> <Box <mask> borderColor={outlineColor} <mask> backgroundColor={inputProps.disabled ? 'muted.200' : 'transparent'} <mask> borderWidth={1} <mask> display="flex" <mask> justifyContent="center" <mask> alignItems="center" <mask> borde...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d1bd28c67ed08b1fe4c4d6722a9748aa854af78
src/components/primitives/Radio/Radio.tsx
borderRadius="full" p="2px"
<mask> borderWidth={1} <mask> display="flex" <mask> justifyContent="center" <mask> alignItems="center" <mask> borderRadius={999} <mask> p={'2px'} <mask> > <mask> {icon && isSelected ? ( <mask> sizedIcon() <mask> ) : ( <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d1bd28c67ed08b1fe4c4d6722a9748aa854af78
src/components/primitives/Radio/Radio.tsx
backgroundColor={colorScheme}
<mask> } <mask> borderColor={colorScheme} <mask> position="relative" <mask> borderRadius="full" <mask> backgroundColor="light.50" <mask> p={1} <mask> display="flex" <mask> justifyContent="center" <mask> alignItems="center" <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d1bd28c67ed08b1fe4c4d6722a9748aa854af78
src/components/primitives/Slider/SliderThumb.tsx
borderRadius="full"
<mask> <Box <mask> position="absolute" <mask> backgroundColor={trackColor} <mask> height={orientation === 'vertical' ? '100%' : `${sliderSize}px`} <mask> borderRadius={999} <mask> width={orientation === 'vertical' ? `${sliderSize}px` : '100%'} <mask> {...props} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d1bd28c67ed08b1fe4c4d6722a9748aa854af78
src/components/primitives/Slider/SliderTrack.tsx
import { mode, getColorScheme, transparentize } from '../tools';
<mask> import { mode, getColorScheme } from '../tools'; <mask> <mask> const baseStyle = (props: Record<string, any>) => { <mask> const simplifiedColorScheme = getColorScheme(props); <mask> return { <mask> activeColor: mode( </s> fix: checkbox, radio and slider style update </s> remove trackColor: mo...
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d1bd28c67ed08b1fe4c4d6722a9748aa854af78
src/theme/components/slider.ts
trackColor: transparentize( mode( `${simplifiedColorScheme}.500`, `${simplifiedColorScheme}.200` )(props), 0.3 )(props.theme),
<mask> activeColor: mode( <mask> `${simplifiedColorScheme}.500`, <mask> `${simplifiedColorScheme}.200` <mask> )(props), <mask> trackColor: mode('gray.200', 'gray.700')(props), <mask> }; <mask> }; <mask> <mask> const sizes = { <mask> // sizes mentioned here are used in pxiles. </s...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2d1bd28c67ed08b1fe4c4d6722a9748aa854af78
src/theme/components/slider.ts
newProps = mergeUnderscoreProps(newProps, props);
<mask> delete newProps[key]; <mask> } <mask> }); <mask> <mask> // Merging _ props <mask> Object.keys(props) <mask> .filter((propName) => propName.startsWith('_')) <mask> .forEach((propName: string) => { <mask> newProps[propName] = { ...newProps[propName], ...props[propName] }; <...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2da1a3758a63010d9cdd30ff285ed961bebc448f
src/hooks/useThemeProps/utils.ts
<mask> color: 'black', <mask> }, <mask> cyan: { <mask> bg: 'cyan.400', <mask> color: 'black', <mask> }, <mask> }; <mask> <mask> function variantSolid(props: Dict) { <mask> const { colorScheme: c } = props; </s> Added useContrastText and added it to text </s> remove _text: { col...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2da1a3758a63010d9cdd30ff285ed961bebc448f
src/theme/components/button.ts
const { bg = `${c}.500` } = accessibleColorMap[c] || {};
<mask> if (c === 'gray') <mask> return { <mask> bg: mode(`gray.100`, `whiteAlpha.200`)(props), <mask> }; <mask> const { bg = `${c}.500`, color = 'white' } = accessibleColorMap[c] || {}; <mask> return { <mask> bg: mode(bg, `${c}.400`)(props), <mask> _text: { <mask> color: mode(...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2da1a3758a63010d9cdd30ff285ed961bebc448f
src/theme/components/button.ts
<mask> }; <mask> const { bg = `${c}.500`, color = 'white' } = accessibleColorMap[c] || {}; <mask> return { <mask> bg: mode(bg, `${c}.400`)(props), <mask> _text: { <mask> color: mode(color, `gray.800`)(props), <mask> }, <mask> }; <mask> } <mask> <mask> function variantLink(props: ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2da1a3758a63010d9cdd30ff285ed961bebc448f
src/theme/components/button.ts
function variantLink() {
<mask> }, <mask> }; <mask> } <mask> <mask> function variantLink(props: Dict) { <mask> const { colorScheme: c } = props; <mask> return { <mask> padding: 0, <mask> height: 'auto', <mask> // lineHeight: 'normal', <mask> _text: { </s> Added useContrastText and added it to text </s> re...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2da1a3758a63010d9cdd30ff285ed961bebc448f
src/theme/components/button.ts
<mask> const { colorScheme: c } = props; <mask> return { <mask> padding: 0, <mask> height: 'auto', <mask> // lineHeight: 'normal', <mask> _text: { <mask> color: mode(`${c}.500`, `${c}.200`)(props), <mask> textDecorationLine: 'underline', <mask> }, <mask> }; </s> Added us...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2da1a3758a63010d9cdd30ff285ed961bebc448f
src/theme/components/button.ts
<mask> padding: 0, <mask> height: 'auto', <mask> // lineHeight: 'normal', <mask> _text: { <mask> color: mode(`${c}.500`, `${c}.200`)(props), <mask> textDecorationLine: 'underline', <mask> }, <mask> }; <mask> } <mask> </s> Added useContrastText and added it to text </s> remo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2da1a3758a63010d9cdd30ff285ed961bebc448f
src/theme/components/button.ts
import { useToken } from './../../hooks/useToken';
<mask> import isEmpty from 'lodash/isEmpty'; <mask> import Color from 'tinycolor2'; <mask> import type { Dict } from './utils'; <mask> <mask> export function mode(light: any, dark: any) { <mask> return (props: any) => (props.colorMode === 'dark' ? dark : light); <mask> } <mask> </s> Added useContrastText a...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2da1a3758a63010d9cdd30ff285ed961bebc448f
src/theme/tools/colors.ts
disable,
<mask> render() { <mask> const { <mask> expanded, <mask> expandedIcon, <mask> expandedIconStyle, <mask> headerStyle, <mask> icon, <mask> iconStyle, </s> Revert "Revert "Feat/accordian disable row"" </s> remove selected </s> add selected: props.expanded, </...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/basic/Accordion.js
<Text style={{ color: disable ? variable.disableRow : null }}> {' '} {title} </Text>
<mask> styles.defaultHeader, <mask> headerStyle || { backgroundColor: variables.headerStyle } <mask> ]} <mask> > <mask> <Text> {title}</Text> <mask> <Icon <mask> style={[ <mask> { fontSize: variables.accordionIconFontSize }, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/basic/Accordion.js
: { color: disable ? variable.disableRow : variables.iconStyle },
<mask> ? expandedIconStyle <mask> : { color: variables.expandedIconStyle } <mask> : icon && iconStyle <mask> ? iconStyle <mask> : { color: variables.iconStyle } <mask> ]} <mask> name={ <mask> expanded ? exp...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/basic/Accordion.js
disable,
<mask> const { <mask> contentStyle, <mask> expanded, <mask> expandedIcon, <mask> expandedIconStyle, <mask> headerStyle, </s> Revert "Revert "Feat/accordian disable row"" </s> remove selected </s> add selected: props.expanded, </s> remove title={item....
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/basic/Accordion.js
disabled={disable}
<mask> } = this.props; <mask> return ( <mask> <View> <mask> <TouchableWithoutFeedback <mask> onPress={() => { <mask> onAccordionOpen && !expanded && onAccordionOpen(item, index); <mask> onAccordionClose && expanded && onAccordionClose(item, index); <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/basic/Accordion.js
disable={disable}
<mask> {renderHeader ? ( <mask> renderHeader(item, expanded, index) <mask> ) : ( <mask> <DefaultHeader <mask> title={item.title} <mask> expanded={expanded} <mask> headerStyle={headerStyle} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/basic/Accordion.js
selected: props.expanded,
<mask> selected = Array.isArray(expanded) ? expanded : [expanded]; <mask> selected = expandMultiple ? selected : selected.slice(0, 1); <mask> } <mask> this.state = { <mask> selected <mask> }; <mask> } <mask> <mask> setSelected(index) { <mask> const { expandMultiple } = t...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/basic/Accordion.js
disable,
<mask> const { <mask> contentStyle, <mask> dataArray, <mask> expandedIcon, <mask> expandedIconStyle, <mask> headerStyle, <mask> icon, <mask> iconStyle, </s> Revert "Revert "Feat/accordian disable row"" </s> remove selected </s> add selected: props.expa...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/basic/Accordion.js
disable={disable == index ? true : false}
<mask> ]} <mask> keyExtractor={(item, index) => String(index)} <mask> renderItem={({ item, index }) => ( <mask> <AccordionItem <mask> key={String(index)} <mask> item={item} <mask> expanded={this.state.selected.indexOf(index) !== -1} <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/basic/Accordion.js
setSelected={(i) => this.setSelected(i)}
<mask> expandedIcon={expandedIcon} <mask> expandedIconStyle={expandedIconStyle} <mask> onAccordionOpen={onAccordionOpen} <mask> onAccordionClose={onAccordionClose} <mask> /> <mask> )} <mask> {...this.props} <mask> /> <mask> ); ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/basic/Accordion.js
disableRow: '#a9a9a9',
<mask> expandedIconStyle: '#000', <mask> accordionBorderColor: '#d3d3d3', <mask> <mask> // ActionSheet <mask> elevation: 4, <mask> containerTouchableBackgroundColor: 'rgba(0,0,0,0.4)', <mask> innerTouchableBackgroundColor: '#fff', </s> Revert "Revert "Feat/accordian disable row"" </s> remove ...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/theme/variables/commonColor.js
disableRow: '#a9a9a9',
<mask> contentStyle: '#f5f4f5', <mask> expandedIconStyle: '#000', <mask> headerStyle: '#edebed', <mask> iconStyle: '#000', <mask> <mask> // ActionSheet <mask> elevation: 4, <mask> containerTouchableBackgroundColor: 'rgba(0,0,0,0.4)', </s> Revert "Revert "Feat/accordian disable row"" </s> remove ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2de1a1b93b185ab6772718a67e5ddef4667f16ec
src/theme/variables/platform.js
Object.defineProperty(exports,"__esModule",{value:true});exports.Text=undefined;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};var _jsxFileName...
<mask> Object.defineProperty(exports,"__esModule",{value:true});exports.Text=undefined;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};var _jsx...
[ "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
dist/src/basic/Text.js
var _nativeBaseShoutemTheme=require('native-base-shoutem-theme'); var _animation=require('@shoutem/animation'); var _mapPropsToStyleNames=require('../Utils/mapPropsToStyleNames');var _mapPropsToStyleNames2=_interopRequireDefault(_mapPropsToStyleNames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:...
<mask> Object.defineProperty(exports,"__esModule",{value:true});exports.Text=undefined;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};var _jsx...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
dist/src/basic/Text.js
<mask> var _nativeBaseShoutemTheme=require("native-base-shoutem-theme"); <mask> var _animation=require("@shoutem/animation"); <mask> var _mapPropsToStyleNames=require("../Utils/mapPropsToStyleNames");var _mapPropsToStyleNames2=_interopRequireDefault(_mapPropsToStyleNames);function _interopRequireDefault(obj){return ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
dist/src/basic/Text.js
_react2.default.createElement(_reactNative.Text,_extends({ref:function ref(c){return _this2._root=c;}},this.props,{__source:{fileName:_jsxFileName,lineNumber:30}}), text));
<mask> <mask> Text=function(_Component){_inherits(Text,_Component);function Text(){_classCallCheck(this,Text);return _possibleConstructorReturn(this,(Text.__proto__||Object.getPrototypeOf(Text)).apply(this,arguments));}_createClass(Text,[{key:"render",value:function render() <mask> {var _this2=this; <mask> return(...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
dist/src/basic/Text.js
var StyledText=(0,_nativeBaseShoutemTheme.connectStyle)('NativeBase.Text',{},_mapPropsToStyleNames2.default)(
<mask> uppercase:false}; <mask> <mask> <mask> var AnimatedText=(0,_animation.connectAnimation)(Text); <mask> var StyledText=(0,_nativeBaseShoutemTheme.connectStyle)("NativeBase.Text",{},_mapPropsToStyleNames2.default)( <mask> Text);exports. <mask> <mask> <mask> Text=StyledText; <mask> //# sourceMappingURL...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
dist/src/basic/Text.js
import React, { Component } from 'react'; import { Text as RNText } from 'react-native';
<mask> import React, { Component } from "react"; <mask> import { Text as RNText } from "react-native"; <mask> import _ from 'lodash'; <mask> <mask> import { connectStyle } from "native-base-shoutem-theme"; <mask> import { connectAnimation } from "@shoutem/animation"; <mask> import mapPropsToStyleNames from "../...
[ "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
src/basic/Text.js
import { connectStyle } from 'native-base-shoutem-theme'; import { connectAnimation } from '@shoutem/animation'; import mapPropsToStyleNames from '../Utils/mapPropsToStyleNames';
<mask> import React, { Component } from "react"; <mask> import { Text as RNText } from "react-native"; <mask> import _ from 'lodash'; <mask> <mask> import { connectStyle } from "native-base-shoutem-theme"; <mask> import { connectAnimation } from "@shoutem/animation"; <mask> import mapPropsToStyleNames from "../...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
src/basic/Text.js
{text}
<mask> class Text extends Component { <mask> render() { <mask> return ( <mask> <RNText ref={c => (this._root = c)} {...this.props}> <mask> {this.props.uppercase <mask> ? _.toUpper(this.props.children) <mask> : this.props.children} <mask> </RNText> <mask> ); <m...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
src/basic/Text.js
style: React.PropTypes.object,
<mask> <mask> Text.propTypes = { <mask> ...RNText.propTypes, <mask> uppercase: React.PropTypes.bool, <mask> style: React.PropTypes.object <mask> }; <mask> <mask> Text.defaultProps = { <mask> uppercase: false <mask> }; </s> Text component Android comma bug fixed </s> remove uppercase: false </s> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
src/basic/Text.js
uppercase: false,
<mask> style: React.PropTypes.object <mask> }; <mask> <mask> Text.defaultProps = { <mask> uppercase: false <mask> }; <mask> <mask> const AnimatedText = connectAnimation(Text); <mask> const StyledText = connectStyle("NativeBase.Text", {}, mapPropsToStyleNames)( <mask> Text </s> Text component Android ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
src/basic/Text.js
const StyledText = connectStyle('NativeBase.Text', {}, mapPropsToStyleNames)(
<mask> uppercase: false <mask> }; <mask> <mask> const AnimatedText = connectAnimation(Text); <mask> const StyledText = connectStyle("NativeBase.Text", {}, mapPropsToStyleNames)( <mask> Text <mask> ); <mask> <mask> export { StyledText as Text }; </s> Text component Android comma bug fixed </s> remove u...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2e8cb63690a68b03eb2b91aa7b35bed0101095e0
src/basic/Text.js
module.exports = Button; //export default Button;
<mask> </TouchableNativeFeedback> <mask> ); <mask> }; <mask> <mask> export default Button; </s> Fix - Red screen - check the render method of DefaultTabBar </s> remove export default StaticContainer; </s> add module.exports = StaticContainer; //export default StaticContainer; </s> remove export default Sc...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/2eba6d577a184c6f4813473d2b41382698fe7e89
src/basic/Tabs/Button.android.js
module.exports = Button; //export default Button;
<mask> </TouchableOpacity> <mask> ); <mask> }; <mask> <mask> export default Button; </s> Fix - Red screen - check the render method of DefaultTabBar </s> remove export default StaticContainer; </s> add module.exports = StaticContainer; //export default StaticContainer; </s> remove export default Button; ...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/2eba6d577a184c6f4813473d2b41382698fe7e89
src/basic/Tabs/Button.ios.js
module.exports = Button; //export default Button;
<mask> </TouchableOpacity> <mask> ); <mask> }; <mask> <mask> export default Button; </s> Fix - Red screen - check the render method of DefaultTabBar
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/2eba6d577a184c6f4813473d2b41382698fe7e89
src/basic/Tabs/Button.windows.js
module.exports = SceneComponent; //export default SceneComponent;
<mask> </View> <mask> ); <mask> }; <mask> <mask> export default SceneComponent; </s> Fix - Red screen - check the render method of DefaultTabBar </s> remove export default StaticContainer; </s> add module.exports = StaticContainer; //export default StaticContainer; </s> remove export default Button; </s>...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/2eba6d577a184c6f4813473d2b41382698fe7e89
src/basic/Tabs/SceneComponent.js
module.exports = StaticContainer; //export default StaticContainer;
<mask> return React.Children.only(child); <mask> } <mask> } <mask> <mask> export default StaticContainer; </s> Fix - Red screen - check the render method of DefaultTabBar </s> remove export default SceneComponent; </s> add module.exports = SceneComponent; //export default SceneComponent; </s> remove expor...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/2eba6d577a184c6f4813473d2b41382698fe7e89
src/basic/Tabs/StaticContainer.js
segmentBackgroundColor: platform === "ios" ? "#F8F8F8" : "#3F51B5", segmentActiveBackgroundColor: platform === "ios" ? "#007aff" : "#fff", segmentTextColor: platform === "ios" ? "#007aff" : "#fff", segmentActiveTextColor: platform === "ios" ? "#fff" : "#3F51B5", segmentBorderColor: platform === "ios" ? "#007a...
<mask> checkboxSize: 20, <mask> checkboxTickColor: "#fff", <mask> <mask> // Segment <mask> segmentBackgroundColor: "#3F51B5", <mask> segmentActiveBackgroundColor: "#fff", <mask> segmentTextColor: "#fff", <mask> segmentActiveTextColor: "#3F51B5", <mask> segmentBorderColor: "#fff", <mask> seg...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2ec0f1024d7132f48d25a1112b294a26f06b6eb0
src/theme/variables/commonColor.js
brandPrimary: platform === "ios" ? "#007aff" : "#3F51B5",
<mask> // Card <mask> cardDefaultBg: "#fff", <mask> <mask> // Color <mask> brandPrimary: "#2874F0", <mask> brandInfo: "#62B1F6", <mask> brandSuccess: "#5cb85c", <mask> brandDanger: "#d9534f", <mask> brandWarning: "#f0ad4e", <mask> brandDark: "#000", </s> Modified variable values of commonC...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2ec0f1024d7132f48d25a1112b294a26f06b6eb0
src/theme/variables/commonColor.js
footerDefaultBg: platform === "ios" ? "#F8F8F8" : "#3F51B5",
<mask> }, <mask> <mask> // Footer <mask> footerHeight: isIphoneX ? 89 : 55, <mask> footerDefaultBg: "#2874F0", <mask> footerPaddingBottom: isIphoneX ? 34 : 0, <mask> <mask> // FooterTab <mask> tabBarTextColor: "#8bb3f4", <mask> tabBarTextSize: platform === "ios" ? 14 : 11, </s> Modified var...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2ec0f1024d7132f48d25a1112b294a26f06b6eb0
src/theme/variables/commonColor.js
tabBarTextColor: platform === "ios" ? "#737373" : "#bfc6ea",
<mask> footerDefaultBg: "#2874F0", <mask> footerPaddingBottom: isIphoneX ? 34 : 0, <mask> <mask> // FooterTab <mask> tabBarTextColor: "#8bb3f4", <mask> tabBarTextSize: platform === "ios" ? 14 : 11, <mask> activeTab: platform === "ios" ? "#007aff" : "#fff", <mask> sTabBarActiveTextColor: "#007aff"...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2ec0f1024d7132f48d25a1112b294a26f06b6eb0
src/theme/variables/commonColor.js
tabBarActiveTextColor: platform === "ios" ? "#2874F0" : "#fff", tabActiveBgColor: platform === "ios" ? "#cde1f9" : "#3F51B5",
<mask> tabBarTextColor: "#8bb3f4", <mask> tabBarTextSize: platform === "ios" ? 14 : 11, <mask> activeTab: platform === "ios" ? "#007aff" : "#fff", <mask> sTabBarActiveTextColor: "#007aff", <mask> tabBarActiveTextColor: "#fff", <mask> tabActiveBgColor: platform === "ios" ? "#1569f4" : undefined, <mask...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2ec0f1024d7132f48d25a1112b294a26f06b6eb0
src/theme/variables/commonColor.js
tabDefaultBg: platform === "ios" ? "#F8F8F8" : "#3F51B5", topTabBarTextColor: platform === "ios" ? "#6b6b6b" : "#b3c7f9", topTabBarActiveTextColor: platform === "ios" ? "#007aff" : "#fff", topTabBarBorderColor: platform === "ios" ? "#a7a6ab" : "#fff", topTabBarActiveBorderColor: platform === "ios" ? "#007aff"...
<mask> tabBarActiveTextColor: "#fff", <mask> tabActiveBgColor: platform === "ios" ? "#1569f4" : undefined, <mask> <mask> // Tab <mask> tabDefaultBg: "#2874F0", <mask> topTabBarTextColor: "#b3c7f9", <mask> topTabBarActiveTextColor: "#fff", <mask> topTabBarBorderColor: "#fff", <mask> topTabBarAc...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2ec0f1024d7132f48d25a1112b294a26f06b6eb0
src/theme/variables/commonColor.js
toolbarBtnColor: platform === "ios" ? "#007aff" : "#fff", toolbarDefaultBg: platform === "ios" ? "#F8F8F8" : "#3F51B5",
<mask> topTabBarBorderColor: "#fff", <mask> topTabBarActiveBorderColor: "#fff", <mask> <mask> // Header <mask> toolbarBtnColor: "#fff", <mask> toolbarDefaultBg: "#2874F0", <mask> toolbarHeight: platform === "ios" ? (isIphoneX ? 88 : 64) : 56, <mask> toolbarSearchIconSize: platform === "ios" ? 20 ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2ec0f1024d7132f48d25a1112b294a26f06b6eb0
src/theme/variables/commonColor.js
toolbarBtnTextColor: platform === "ios" ? "#000" : "#fff", iosStatusbar: "dark-content", toolbarDefaultBorder: platform === "ios" ? "#a7a6ab" : "#3F51B5",
<mask> toolbarSearchIconSize: platform === "ios" ? 20 : 23, <mask> toolbarInputColor: platform === "ios" ? "#CECDD2" : "#fff", <mask> searchBarHeight: platform === "ios" ? 30 : 40, <mask> searchBarInputHeight: platform === "ios" ? 30 : 50, <mask> toolbarBtnTextColor: "#fff", <mask> iosStatusbar: "ligh...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2ec0f1024d7132f48d25a1112b294a26f06b6eb0
src/theme/variables/commonColor.js
subtitleColor: platform === "ios" ? "#000" : "#fff",
<mask> // Title <mask> titleFontfamily: platform === "ios" ? "System" : "Roboto_medium", <mask> titleFontSize: platform === "ios" ? 17 : 19, <mask> subTitleFontSize: platform === "ios" ? 12 : 14, <mask> subtitleColor: "#FFF", <mask> <mask> // New Variable <mask> titleFontColor: "#FFF", <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2ec0f1024d7132f48d25a1112b294a26f06b6eb0
src/theme/variables/commonColor.js
titleFontColor: platform === "ios" ? "#000" : "#fff",
<mask> subTitleFontSize: platform === "ios" ? 12 : 14, <mask> subtitleColor: "#FFF", <mask> <mask> // New Variable <mask> titleFontColor: "#FFF", <mask> <mask> // Other <mask> borderRadiusBase: platform === "ios" ? 5 : 2, <mask> borderWidth: 1 / PixelRatio.getPixelSizeForLayoutSize(1), <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2ec0f1024d7132f48d25a1112b294a26f06b6eb0
src/theme/variables/commonColor.js
getSelectedItem() { return _.find(this.props.children, child => child.props.value === this.props.selectedValue); }
<mask> } <mask> <mask> modifyHeader() { <mask> const childrenArray = React.Children.toArray(this.props.headerComponent.props.children); <mask> const newChildren = []; <mask> childrenArray.forEach((child) => { </s> Added selectedItem to props.renderButton args. Combined args into single object s...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2fe5c13b8e3928d3b871074875de081f02154dab
src/basic/Picker.ios.js
return this.props.renderButton({ onPress, text, picker: this, selectedItem: this.getSelectedItem() });
<mask> renderButton() { <mask> const onPress = () => { this._setModalVisible(true); }; <mask> const text = this.state.currentLabel ? this.state.currentLabel : this.props.defaultLabel; <mask> if (this.props.renderButton) { <mask> return this.props.renderButton(onPress, text, this); <mask> }...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2fe5c13b8e3928d3b871074875de081f02154dab
src/basic/Picker.ios.js
renderButton: React.PropTypes.func
<mask> }); <mask> <mask> PickerNB.propTypes = { <mask> ...View.propTypes, <mask> }; <mask> <mask> const StyledPickerNB = connectStyle('NativeBase.PickerNB', {}, mapPropsToStyleNames)(PickerNB); <mask> <mask> export { <mask> StyledPickerNB as PickerNB, </s> Added selectedItem to props.renderButton args...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2fe5c13b8e3928d3b871074875de081f02154dab
src/basic/Picker.ios.js