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
<mask> top:null, <mask> left:null, <mask> right:null, <mask> paddingTop:5, <mask> paddingLeft:10, <mask> alignSelf:'flex-start', <mask> fontSize:variables.inputFontSize-2}, <mask> <mask> 'NativeBase.Input':{ <mask> alignSelf:_reactNative.Platform.OS==='ios'?'stretch':'flex-start', </s> items fix, tabs text ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Item.js
<mask> 'NativeBase.Input':{ <mask> alignSelf:_reactNative.Platform.OS==='ios'?'stretch':'flex-start', <mask> flex:1, <mask> width:_reactNative.Platform.OS==='ios'?null:variables.deviceWidth-25, <mask> paddingTop:10, <mask> paddingLeft:10, <mask> fontSize:variables.inputFontSize}, <mask> <mask> flexDirection:n...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Item.js
<mask> position:null, <mask> top:null, <mask> left:null, <mask> right:null, <mask> paddingLeft:10, <mask> paddingRight:20, <mask> height:null, <mask> width:null, <mask> fontSize:variables.inputFontSize}, <mask> </s> items fix, tabs text color fix,picker fix </s> remove paddingLeft:10, </s> add </s> remove...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Item.js
<mask> <mask> flexDirection:'row'}, <mask> <mask> 'NativeBase.Label':{ <mask> position:'absolute', <mask> top:10, <mask> left:15, <mask> right:0, <mask> fontSize:variables.inputFontSize, <mask> color:variables.inputColorPlaceholder}, <mask> <mask> 'NativeBase.Icon':{ <mask> fontSize:24, </s> items fix,...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Item.js
color:variables.inputColorPlaceholder, paddingRight:5},
<mask> top:10, <mask> left:15, <mask> right:0, <mask> fontSize:variables.inputFontSize, <mask> color:variables.inputColorPlaceholder}, <mask> <mask> 'NativeBase.Icon':{ <mask> fontSize:24, <mask> paddingRight:8}, <mask> </s> items fix, tabs text color fix,picker fix </s> remove position:'absolute', top:10,...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Item.js
<mask> <mask> 'NativeBase.Input':{ <mask> height:variables.inputHeightBase, <mask> color:variables.inputColor, <mask> paddingRight:5, <mask> paddingLeft:5, <mask> flex:1, <mask> fontSize:variables.inputFontSize, <mask> lineHeight:variables.inputLineHeight}, <mask> <mask> '.underline':{ </s> items fix, tab...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Item.js
top:1.5,
<mask> height:variables.inputHeightBase, <mask> color:variables.inputColor, <mask> flex:1, <mask> fontSize:variables.inputFontSize, <mask> lineHeight:variables.inputLineHeight}, <mask> <mask> '.underline':{ <mask> 'NativeBase.Input':{ </s> items fix, tabs text color fix,picker fix </s> remove paddingRight:5, ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Item.js
paddingLeft:5}, 'NativeBase.Icon':{ paddingLeft:10},
<mask> borderColor:variables.inputBorderColor}, <mask> <mask> '.regular':{ <mask> 'NativeBase.Input':{ <mask> paddingLeft:15}, <mask> <mask> '.success':{ <mask> borderColor:variables.inputSuccessBorderColor}, <mask> <mask> '.error':{ </s> items fix, tabs text color fix,picker fix </s> remove paddingLeft:1...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Item.js
paddingLeft:5}, 'NativeBase.Icon':{ paddingLeft:10},
<mask> borderColor:variables.inputBorderColor}, <mask> <mask> '.rounded':{ <mask> 'NativeBase.Input':{ <mask> paddingLeft:15}, <mask> <mask> '.success':{ <mask> borderColor:variables.inputSuccessBorderColor}, <mask> <mask> '.error':{ </s> items fix, tabs text color fix,picker fix </s> remove paddingLeft:1...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Item.js
color:variables.topTabBarActiveTextColor},
<mask> padding:1.7, <mask> paddingHorizontal:3}, <mask> <mask> 'NativeBase.Icon':{ <mask> color:variables.topTabBarTextColor}, <mask> <mask> 'NativeBase.IconNB':{ <mask> color:variables.topTabBarTextColor}, <mask> <mask> 'NativeBase.Text':{ </s> items fix, tabs text color fix,picker fix </s> remove color:...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Tab.js
color:variables.topTabBarActiveTextColor},
<mask> 'NativeBase.Icon':{ <mask> color:variables.topTabBarTextColor}, <mask> <mask> 'NativeBase.IconNB':{ <mask> color:variables.topTabBarTextColor}, <mask> <mask> 'NativeBase.Text':{ <mask> color:variables.topTabBarTextColor, <mask> fontSize:variables.tabBarTextSize, <mask> lineHeight:16, </s> items fix,...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Tab.js
color:variables.topTabBarActiveTextColor,
<mask> 'NativeBase.IconNB':{ <mask> color:variables.topTabBarTextColor}, <mask> <mask> 'NativeBase.Text':{ <mask> color:variables.topTabBarTextColor, <mask> fontSize:variables.tabBarTextSize, <mask> lineHeight:16, <mask> paddingVertical:3}, <mask> <mask> '.vertical':{ </s> items fix, tabs text color fix,pi...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
dist/src/theme/Tab.js
<mask> import { connectStyle } from '@shoutem/theme'; <mask> import variables from '../theme/variables'; <mask> import computeProps from '../Utils/computeProps'; <mask> import mapPropsToStyleNames from '../Utils/mapPropsToStyleNames'; <mask> import _ from 'lodash'; <mask> <mask> class Item extends Component { ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/basic/Item.js
<mask> )); <mask> } <mask> return newLabel; <mask> } <mask> onTextChange(text, inputProps) { <mask> this.setState({ text: text }); <mask> inputProps.onChangeText(); <mask> } <mask> <mask> renderChildren() { <mask> const newChildren = []; <mask> const childrenArray = ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/basic/Item.js
newChildren.push(<Input key="l2" {...inputProps} onChangeText={text => this.setState({ text })} />);
<mask> }); <mask> if(this.props.floatingLabel && icon.length) { <mask> newChildren.push(<Icon key="i1" {...iconProps} style={{ top: 6 }} />); <mask> newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/basic/Item.js
newChildren.push(<Input key="l2" {...inputProps} onChangeText={text => this.setState({ text })} />);
<mask> newChildren.push(<Input key="l2" {...inputProps} onChangeText={(text) => this.onTextChange(text,inputProps)} />); <mask> } <mask> else if (this.props.floatingLabel) { <mask> newChildren.push((this.props.floatingLabel) ? <Animated.View key="float" style={{ position: 'absolute', left: (...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/basic/Item.js
newChildren.push(<View key="s" style={{ flexDirection: 'row', flex: 1, width: variables.deviceWidth - 15 }}><Icon key="s1" {...iconProps} style={{ marginTop: 36 }} /><View style={{ flexDirection: 'column' }}><Label key="s2" {...labelProps}></Label><Input key="s3" {...inputProps} onChangeText={text => this.setStat...
<mask> newChildren.push((this.props.floatingLabel) ? <Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 15 : 0, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : 30, }}><Label style={{fontSize: (this.state.text) ?...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/basic/Item.js
import { Picker, Modal, View, ListView } from 'react-native';
<mask> /* @flow */ <mask> <mask> import React, { Component } from 'react'; <mask> import { Picker, Modal, View } from 'react-native'; <mask> import _ from 'lodash'; <mask> import { Text } from './Text'; <mask> import { List } from './List'; <mask> import { IconNB as Icon } from './IconNB'; <mask> import { Rad...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/basic/Picker.ios.js
const ds = new ListView.DataSource({ rowHasChanged: (r1, r2) => r1 !== r2 });
<mask> class PickerNB extends Component { <mask> <mask> constructor(props) { <mask> super(props); <mask> const ds = new List.DataSource({ rowHasChanged: (r1, r2) => r1 !== r2 }); <mask> this.state = { <mask> modalVisible: false, <mask> currentLabel: this.getLabel(props), <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/basic/Picker.ios.js
<ListView
<mask> > <mask> <Container> <mask> {this.renderHeader()} <mask> <Content> <mask> <List <mask> dataSource={this.state.dataSource} <mask> renderRow={child => <mask> <ListItem <mask> selec...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/basic/Picker.ios.js
<mask> <mask> import variable from './variables'; <mask> <mask> export default (variables = variable) => { <mask> const platformStyle = variables.platformStyle; <mask> const platform = variables.platform; <mask> <mask> const theme = { <mask> 'NativeBase.Item':{ <mask> '.fixedLabel': { <mask>...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Form.js
<mask> marginLeft: 15, <mask> }, <mask> '.placeholderLabel': { <mask> 'NativeBase.Input': { <mask> marginLeft: -5, <mask> }, <mask> }, <mask> '.stackedLabel': { <mask> 'NativeBase.Label': { <mask> paddingLeft: null, </s> items fix, tabs text color fix,p...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Form.js
marginLeft: (Platform.OS === 'ios') ? undefined : -5,
<mask> paddingLeft: null, <mask> }, <mask> 'NativeBase.Input': { <mask> paddingLeft: null, <mask> marginLeft: (platform === 'ios') ? undefined : -5, <mask> }, <mask> marginLeft: 15, <mask> }, <mask> '.floatingLabel': { <mask> 'NativeBase.Input': { ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Form.js
top: 8, marginLeft: (Platform.OS === 'ios') ? undefined : -5,
<mask> }, <mask> '.floatingLabel': { <mask> 'NativeBase.Input': { <mask> paddingLeft: null, <mask> marginLeft: (platform === 'ios') ? undefined : -5, <mask> }, <mask> 'NativeBase.Label': { <mask> left: 0, <mask> }, <mask> marginLeft: 15, </s> item...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Form.js
'NativeBase.Label': { paddingRight: 5, },
<mask> '.last': { <mask> marginLeft:0, <mask> paddingLeft:15, <mask> }, <mask> marginLeft: 15, <mask> }, <mask> }; <mask> <mask> return theme; </s> items fix, tabs text color fix,picker fix </s> remove marginLeft: -5, </s> add </s> remove marginLeft: (platform ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Form.js
height: 60, top: 8, }, 'NativeBase.Label': { top: 8,
<mask> export default (variables = variable) => { <mask> const itemTheme = { <mask> '.floatingLabel': { <mask> 'NativeBase.Input': { <mask> height: 55, <mask> top: 10, <mask> }, <mask> }, <mask> '.fixedLabel': { <mask> 'NativeBase.Label': { <mas...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
<mask> position: null, <mask> top: null, <mask> left: null, <mask> right: null, <mask> paddingLeft: 10, <mask> flex: 1, <mask> height: null, <mask> width: null, <mask> fontSize: variables.inputFontSize, <mask> },...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
<mask> top: null, <mask> left: null, <mask> right: null, <mask> paddingTop: 5, <mask> paddingLeft: 10, <mask> alignSelf: 'flex-start', <mask> fontSize: variables.inputFontSize - 2, <mask> }, <mask> 'NativeBase.Input': { <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
<mask> 'NativeBase.Input': { <mask> alignSelf: (Platform.OS === 'ios') ? 'stretch' : 'flex-start', <mask> flex: 1, <mask> width: (Platform.OS === 'ios') ? null : variables.deviceWidth - 25, <mask> paddingTop: 10, <mask> paddingLeft: 10, <mask> f...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
<mask> position: null, <mask> top: null, <mask> left: null, <mask> right: null, <mask> paddingLeft: 10, <mask> paddingRight: 20, <mask> height: null, <mask> width: null, <mask> fontSize: variables.inputFontSize, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
<mask> }, <mask> flexDirection: 'row', <mask> }, <mask> 'NativeBase.Label': { <mask> position: 'absolute', <mask> top: 10, <mask> left: 15, <mask> right: 0, <mask> fontSize: variables.inputFontSize, <mask> color: variables.inputColorP...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
paddingRight: 5,
<mask> 'NativeBase.Label': { <mask> fontSize: variables.inputFontSize, <mask> color: variables.inputColorPlaceholder, <mask> }, <mask> 'NativeBase.Icon': { <mask> fontSize: 24, <mask> paddingRight: 8, <mask> }, <mask> 'NativeBase.IconNB': { </s> it...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
<mask> }, <mask> 'NativeBase.Input': { <mask> height: variables.inputHeightBase, <mask> color: variables.inputColor, <mask> paddingRight: 5, <mask> paddingLeft: 5, <mask> flex: 1, <mask> fontSize: variables.inputFontSize, <mask> lineHeight: va...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
top: 1.5,
<mask> height: variables.inputHeightBase, <mask> color: variables.inputColor, <mask> flex: 1, <mask> fontSize: variables.inputFontSize, <mask> lineHeight: variables.inputLineHeight, <mask> }, <mask> '.underline': { <mask> 'NativeBase.Input': { </s> it...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
paddingLeft: 5, }, 'NativeBase.Icon': { paddingLeft: 10,
<mask> borderColor: variables.inputBorderColor, <mask> }, <mask> '.regular': { <mask> 'NativeBase.Input': { <mask> paddingLeft: 15, <mask> }, <mask> '.success': { <mask> borderColor: variables.inputSuccessBorderColor, <mask> }, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
paddingLeft: 5, }, 'NativeBase.Icon': { paddingLeft: 10,
<mask> borderColor: variables.inputBorderColor, <mask> }, <mask> '.rounded': { <mask> 'NativeBase.Input': { <mask> paddingLeft: 15, <mask> }, <mask> '.success': { <mask> borderColor: variables.inputSuccessBorderColor, <mask> }, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Item.js
color: variables.topTabBarActiveTextColor,
<mask> padding: 1.7, <mask> paddingHorizontal: 3, <mask> }, <mask> 'NativeBase.Icon': { <mask> color: variables.topTabBarTextColor, <mask> }, <mask> 'NativeBase.IconNB': { <mask> color: variables.topTabBarTextColor, <mask> }, <mas...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Tab.js
color: variables.topTabBarActiveTextColor,
<mask> 'NativeBase.Icon': { <mask> color: variables.topTabBarTextColor, <mask> }, <mask> 'NativeBase.IconNB': { <mask> color: variables.topTabBarTextColor, <mask> }, <mask> 'NativeBase.Text': { <mask> color: variables.topTabBarTextColor, <ma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Tab.js
color: variables.topTabBarActiveTextColor,
<mask> 'NativeBase.IconNB': { <mask> color: variables.topTabBarTextColor, <mask> }, <mask> 'NativeBase.Text': { <mask> color: variables.topTabBarTextColor, <mask> fontSize: variables.tabBarTextSize, <mask> lineHeight: 16, <mask> paddingVe...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7c8f40051192533e065a963551a2f580b355cd90
src/theme/Tab.js
lineHeight: 21, defaultSpinnerColor: "#45D56E", inverseSpinnerColor: "#1A191B", defaultProgressColor: "#E4202D", inverseProgressColor: "#1A191B"
<mask> <mask> badgeColor: "#fff", <mask> badgeBg: "#ED1727", <mask> <mask> lineHeight: 21 <mask> } </s> inverse colors added for spinner and progress bar </s> remove <ActivityIndicatorIOS {...this.prepareRootProps()} color={this.props.color ? this.props.color : '#A6A4A2'} </s> add ...
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d32ff6466fb333b2420741d68a240c16104f3d6
Components/Themes/light.js
color={this.props.color ? this.props.color : this.props.inverse ? this.getTheme().inverseProgressColor : this.getTheme().defaultProgressColor} />
<mask> render() { <mask> return( <mask> <ProgressBar {...this.prepareRootProps()} styleAttr = "Horizontal" <mask> indeterminate = {false} progress={this.props.progress ? this.props.progress/100 : 0.5} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d32ff6466fb333b2420741d68a240c16104f3d6
Components/Widgets/ProgressBar.android.js
progressTintColor={this.props.color ? this.props.color : this.props.inverse ? this.getTheme().inverseProgressColor : this.getTheme().defaultProgressColor} />
<mask> <mask> render() { <mask> return( <mask> <ProgressViewIOS progress={this.props.progress ? this.props.progress/100 : 0.5} <mask> progressTintColor={this.props.color ? this.props.color : '#FD2E1F'} /> <mask> ); <mask> } <mask> <ma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d32ff6466fb333b2420741d68a240c16104f3d6
Components/Widgets/ProgressBar.ios.js
color={this.props.color ? this.props.color : this.props.inverse ? this.getTheme().inverseSpinnerColor : this.getTheme().defaultSpinnerColor} />
<mask> <mask> render() { <mask> return( <mask> <ProgressBar {...this.prepareRootProps()} styleAttr = {this.props.size ? this.props.size : "Large" } <mask> color={this.props.color ? this.props.color : '#41B367'} /> <mask> )...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d32ff6466fb333b2420741d68a240c16104f3d6
Components/Widgets/Spinner.android.js
<ActivityIndicatorIOS {...this.prepareRootProps()} color={this.props.color ? this.props.color : this.props.inverse ? this.getTheme().inverseSpinnerColor : this.getTheme().default...
<mask> <mask> <mask> render() { <mask> return( <mask> <ActivityIndicatorIOS {...this.prepareRootProps()} color={this.props.color ? this.props.color : '#A6A4A2'} <mask> size={this.props.size ? this.props.size : "larg...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d32ff6466fb333b2420741d68a240c16104f3d6
Components/Widgets/Spinner.ios.js
backgroundColor: "rgba(255, 255, 255, 0.7)",
<mask> left: 0, <mask> right: 0, <mask> [this.props.tabBarPosition === "overlayTop" ? "top" : "bottom"]: 0, <mask> }; <mask> } <mask> <mask> return ( <mask> <View style={[styles.container, this.props.style]} onLayout={this._handleLayout}> <mask> {(this.props...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d6a0660a1b0511c531585920e53c21d428bd15e
src/basic/Tabs/index.js
{(this.props.tabBarPosition === "top" || this.props.tabBarPosition==="overlayTop")&& this.renderTabBar(tabBarProps)}
<mask> } <mask> <mask> return ( <mask> <View style={[styles.container, this.props.style]} onLayout={this._handleLayout}> <mask> {this.props.tabBarPosition === "top" && this.renderTabBar(tabBarProps)} <mask> {this.renderScrollableContent()} <mask> {(this.props.tabBarPosition...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d6a0660a1b0511c531585920e53c21d428bd15e
src/basic/Tabs/index.js
{(this.props.tabBarPosition === "bottom" || this.props.tabBarPosition==="overlayBottom") && this.renderTabBar(tabBarProps)}
<mask> return ( <mask> <View style={[styles.container, this.props.style]} onLayout={this._handleLayout}> <mask> {this.props.tabBarPosition === "top" && this.renderTabBar(tabBarProps)} <mask> {this.renderScrollableContent()} <mask> {(this.props.tabBarPosition === "bottom" || overla...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d6a0660a1b0511c531585920e53c21d428bd15e
src/basic/Tabs/index.js
<mask> onOpen?: () => void; <mask> onClose?: () => void; <mask> offsetSpace?: number; <mask> closeOnSelect?: boolean; <mask> testID?: string; <mask> style?: ViewStyle; <mask> shadowOffset?: any; <mask> shadowOpacity?: number; <mask> shadowColor?: string; <mask> elevatio...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/Menu/types.ts
import type { INumberInputContext, INumberInputStepperProps } from './types';
<mask> import React from 'react'; <mask> import type { INumberInputContext, INumberInputStepperProps } from './props'; <mask> import { NBStepper } from './NumberInputStepper'; <mask> import { NumberInputContext } from './Context'; <mask> <mask> const NumberDecrementStepper = ({ <mask> children, </s> WIP: Ren...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/NumberInput/NumberDecrementStepper.tsx
import type { INumberInputContext, INumberInputStepperProps } from './types';
<mask> import React from 'react'; <mask> import type { INumberInputContext, INumberInputStepperProps } from './props'; <mask> import { NBStepper } from './NumberInputStepper'; <mask> import { NumberInputContext } from './Context'; <mask> <mask> const NumberIncrementStepper = ({ <mask> children, </s> WIP: Ren...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/NumberInput/NumberIncrementStepper.tsx
import type { INumberInputProps } from './types';
<mask> import React from 'react'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import { FormControlContext, IFormControlContext } from '../FormControl'; <mask> import type { INumberInputProps } from './props'; <mask> import { NumberInputContext } from './Context'; <mask> <mask> const NumberInpu...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/NumberInput/NumberInput.tsx
import type { INumberInputContext, INumberInputFieldProps } from './types';
<mask> import React from 'react'; <mask> import Input from '../../primitives/Input'; <mask> import type { INumberInputContext, INumberInputFieldProps } from './props'; <mask> import { NumberInputContext } from './Context'; <mask> import type { TextInput } from 'react-native'; <mask> <mask> const NumberInputFile...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/NumberInput/NumberInputField.tsx
import type { INumberInputSteppersProps } from './types';
<mask> import React from 'react'; <mask> import { TouchableOpacity, Platform } from 'react-native'; <mask> import { VStack, Box, Icon } from '../../primitives'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import type { INumberInputSteppersProps } from './props'; <mask> <mask> export const NBSt...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/NumberInput/NumberInputStepper.tsx
export { default as NumberInputStepper } from './NumberInputStepper';
<mask> export { default as NumberInput } from './NumberInput'; <mask> export { NumberInputContext } from './Context'; <mask> export { default as NumberInputField } from './NumberInputField'; <mask> export { default as NumberInputStepper, NBStepper } from './NumberInputStepper'; <mask> export { default as NumberInc...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/NumberInput/index.tsx
} from './types';
<mask> INumberInputFieldProps, <mask> INumberInputContext, <mask> INumberInputSteppersProps, <mask> INumberInputStepperProps, <mask> } from './props'; </s> WIP: Renamed some props files to types </s> remove import type { INumberInputContext, INumberInputFieldProps } from './props'; </s> add import type {...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/NumberInput/index.tsx
import type { IPinInputFieldProps, IPinInputContext } from './types';
<mask> import React from 'react'; <mask> import Input from '../../primitives/Input'; <mask> import type { IPinInputFieldProps, IPinInputContext } from './props'; <mask> import { PinInputContext } from './Context'; <mask> <mask> const PinInputFiled = ({ <mask> fieldIndex = 0, <mask> defaultValue: pDefaultVa...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/PinInput/PinInputField.tsx
} from './types';
<mask> import type { <mask> IPinInputProps, <mask> IPinInputFieldProps, <mask> IPinInputContext, <mask> } from './props'; <mask> import { FormControlContext, IFormControlContext } from '../FormControl'; <mask> import { Platform } from 'react-native'; <mask> import { PinInputContext } from './Context'; <m...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/PinInput/index.tsx
import type { ITagProps } from './types';
<mask> import styled from 'styled-components/native'; <mask> import { Box, IIconProps, Icon, Text, ITextProps } from '../../primitives'; <mask> import { useThemeProps } from '../../../hooks'; <mask> <mask> import type { ITagProps } from './props'; <mask> <mask> const StyledTag = styled(Box)<ITagProps>({}); <m...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/Tag/index.tsx
import type { IToastProps } from './types';
<mask> import React from 'react'; <mask> import Box from '../../primitives/Box'; <mask> import Text from '../../primitives/Text'; <mask> import type { IToastProps } from './props'; <mask> import { themeTools } from '../../../theme'; <mask> import { useThemeProps } from '../../../hooks'; <mask> <mask> const Toa...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/Toast/ToastItem.tsx
import type { IsetToastProps } from './types';
<mask> import React from 'react'; <mask> import { useOverlay } from '../../../core/Overlay'; <mask> import ToastItem from './ToastItem'; <mask> import type { IsetToastProps } from './props'; <mask> <mask> export const useToast = () => { <mask> const { closeOverlay, setOverlay } = useOverlay(); <mask> <mask...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/composites/Toast/hooks.tsx
import type { ISelectItemProps } from './types';
<mask> import React from 'react'; <mask> import type { ISelectItemProps } from './props'; <mask> import { usePopover } from '../../../core'; <mask> import { themeTools } from '../../../theme'; <mask> import Button from '../Button'; <mask> import Text from '../Text'; <mask> </s> WIP: Renamed some props files to...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/primitives/Select/Item.tsx
import type { ISelectProps, ISelectItemProps } from './types';
<mask> import React from 'react'; <mask> import Text from '../Text'; <mask> import { Item as SelectItem } from './Item'; <mask> import type { ISelectProps, ISelectItemProps } from './props'; <mask> import { usePopover } from '../../../core'; <mask> import Button from '../Button'; <mask> import { ScrollView } fro...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/primitives/Select/index.tsx
import type { ISwitchProps } from './types';
<mask> customExtra, <mask> customShadow, <mask> customPosition, <mask> } from '../../../utils/customProps'; <mask> import type { ISwitchProps } from './props'; <mask> import { useSwitch, AriaInputWrapper } from 'react-native-aria'; <mask> <mask> const StyledNBSwitch = styled(RNSwitch)<ISwitchProps>( <ma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/primitives/Switch/index.tsx
import type { ITextProps } from './types';
<mask> customShadow, <mask> customTypography, <mask> customPosition, <mask> } from '../../../utils/customProps'; <mask> import type { ITextProps } from './props'; <mask> <mask> const StyledText = styled(NativeText)<ITextProps>( <mask> color, <mask> space, <mask> position, </s> WIP: Renamed some ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7d969c792ff5e9b0d0cef226c54a10e4cecd72c8
src/components/primitives/Text/index.tsx
return multiply(this.fontSizeBase, 1.1);
<mask> get fontSizeH3 () { <mask> return multiply(this.fontSizeBase, 1.4); <mask> }, <mask> get btnTextSize () { <mask> return multiply(this.fontSizeBase, 1.2); <mask> }, <mask> get btnTextSizeLarge () { <mask> return multiply(this.fontSizeBase, 1.5); <mask> }, ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfc02c092821b4630df0aeafb84a30cb9d08610
Components/Themes/light.js
padding: 15,
<mask> <mask> getInitialStyle() { <mask> return { <mask> button: { <mask> padding: 10, <mask> justifyContent: 'space-around', <mask> flexDirection: 'row', <mask> alignSelf: 'center', <mask> backgroundCo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfc02c092821b4630df0aeafb84a30cb9d08610
Components/Widgets/Button.js
alignItems: 'center',
<mask> padding: 15, <mask> justifyContent: 'space-around', <mask> flexDirection: 'row', <mask> alignSelf: 'center', <mask> backgroundColor: this.getTheme().btnPrimaryBg <mask> } <mask> } <mask> } <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfc02c092821b4630df0aeafb84a30cb9d08610
Components/Widgets/Button.js
paddingLeft: 3, color: (((this.props.bordered) && (this.props.primary)) || ((this.props.transparent) && (this.props.primary))) ? this.getTheme().btnPrimaryBg : (((this.props.bordered) && (this.props.success)) || ((this.props.transparent) && (this.props.success))) ? this.getTheme().btnSuc...
<mask> getTextStyle() { <mask> var mergedStyle = {}; <mask> <mask> var btnType = { <mask> color: ((this.props.bordered) && (this.props.primary)) ? this.getTheme().btnPrimaryBg : <mask> ((this.props.bordered) && (this.props.success)) ? this.getTheme().btnSuccessBg : <mask>...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfc02c092821b4630df0aeafb84a30cb9d08610
Components/Widgets/Button.js
color: (((this.props.bordered) && (this.props.primary)) || ((this.props.transparent) && (this.props.primary))) ? this.getTheme().btnPrimaryBg : (((this.props.bordered) && (this.props.success)) || ((this.props.transparent) && (this.props.success))) ? this.getTheme().btnSuccessBg : ...
<mask> } <mask> <mask> getIconProps(icon) { <mask> var defaultStyle = { <mask> color: ((this.props.bordered) && (this.props.primary)) ? this.getTheme().btnPrimaryBg : <mask> ((this.props.bordered) && (this.props.success)) ? this.getTheme().btnSuccessBg : <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfc02c092821b4630df0aeafb84a30cb9d08610
Components/Widgets/Button.js
if (this.props['item-divider']) {
<mask> style: this.getInitialStyle().itemButton <mask> } <mask> } <mask> else if(child.type == Text) { <mask> if (this.props.itemDivider) { <mask> defaultProps = { <mask> style: this.getInitialStyle().dividerItemText <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfc02c092821b4630df0aeafb84a30cb9d08610
Components/Widgets/ListItem.js
if(this.props['item-divider'])
<mask> return computeProps(child.props, defaultProps); <mask> } <mask> <mask> prepareRootProps() { <mask> if(this.props.itemDivider) <mask> var defaultProps = { <mask> style: this.getInitialStyle().listItemDivider <mask> }; <mask> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfc02c092821b4630df0aeafb84a30cb9d08610
Components/Widgets/ListItem.js
var StyleSheetRegistry = require('react-native/Libraries/StyleSheet/StyleSheetRegistry');
<mask> var React = require('react-native'); <mask> <mask> var StyleSheetRegistry = require('react-native/Libraries/ReactNative/ReactNativePropRegistry'); <mask> <mask> module.exports = function(incomingProps, defaultProps) { <mask> <mask> <mask> // External props has a higher precedence </s> buttons fi...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfc02c092821b4630df0aeafb84a30cb9d08610
Utils/computeProps.js
import _ from 'lodash'; import { Icon } from './Icon'; import { IconNB, Button, Badge } from 'native-base';
<mask> <mask> import React from 'react'; <mask> import { Platform, View } from 'react-native'; <mask> import { connectStyle } from '@shoutem/theme'; <mask> import { Icon, Icon as IconNB, Button, Badge } from 'native-base'; <mask> import mapPropsToStyleNames from '../../Utils/mapPropsToStyleNames'; <mask> import...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
backward/Widgets/FooterTab.js
if (item.type.displayName === "Styled(Icon)") {
<mask> key: i })); <mask> } else { <mask> let iconElement = []; <mask> iconElement = _.remove(children, (item) => { <mask> if (item.type === IconNB) { <mask> return true; <mask> } <mask> }); <mask> let badgeElement = []; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
backward/Widgets/FooterTab.js
console.log(iconElement);
<mask> } <mask> }); <mask> let badgeElement = []; <mask> badgeElement = _.remove(children, (item) => { <mask> if (item.type.displayName === "Styled(Badge)") { <mask> return true; <mask> } <mask> }); </s> Footer and Fab fixes for 2.0 and ...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
backward/Widgets/FooterTab.js
if (item.type.displayName === "Styled(Badge)") {
<mask> } <mask> }); <mask> let badgeElement = []; <mask> badgeElement = _.remove(children, (item) => { <mask> if (item.type === Badge) { <mask> return true; <mask> } <mask> }); <mask> if (iconElement.length > 0) { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
backward/Widgets/FooterTab.js
console.log(child); if ((typeof child !== 'string') && (child.type.displayName !== 'Styled(Icon)') && (child.type.displayName !== 'Styled(Text)') && (child.type.displayName !== 'Styled(AnimatedComponent)')) {
<mask> const childrenType = function childrenType(props, propName, component) { <mask> let error; <mask> const prop = props[propName]; <mask> React.Children.forEach(prop, (child) => { <mask> if ((typeof child !== 'string') && (child.type.displayName !== 'Styled(Icon)') && (child.type.displayName !== 'Sty...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
basic/Badge.js
import { IconNB, Icon, Button } from 'native-base';
<mask> <mask> <mask> import React, { Component } from 'react'; <mask> // import Button from './Button'; <mask> import { IconNB as Icon, Button } from 'native-base'; <mask> import { Platform, Animated, TouchableOpacity } from 'react-native'; <mask> // import View from './View'; <mask> // import Icon from './Ic...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
basic/Fab.js
bottom: (this.props.active === false) ? ((Platform.OS === 'ios') ? 8 : 8) : ((i * 50) + 65),
<mask> fabOtherBtns(direction, i) { <mask> if (direction === 'up') { <mask> return { <mask> top: undefined, <mask> bottom: (this.props.active === false) ? ((Platform.OS === 'ios') ? 8 : 8) : ((i * 50) + 15), <mask> left: 8, <mask> right: 0, <mask> }; <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
basic/Fab.js
left: (this.props.active === false) ? ((Platform.OS === 'ios') ? 8 : 8) : -((i * 50) + 50),
<mask> } else if (direction === 'left') { <mask> return { <mask> top: 8, <mask> bottom: 0, <mask> left: (this.props.active === false) ? ((Platform.OS === 'ios') ? 8 : 8) : -((i * 50)), <mask> right: 0, <mask> }; <mask> } else if (direction === 'down') { <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
basic/Fab.js
top: (this.props.active === false) ? ((Platform.OS === 'ios') ? 8 : 8) : ((i * 50) + 65),
<mask> right: 0, <mask> }; <mask> } else if (direction === 'down') { <mask> return { <mask> top: (this.props.active === false) ? ((Platform.OS === 'ios') ? 8 : 8) : ((i * 50) + 15), <mask> bottom: 0, <mask> left: 8, <mask> right: 0, <mask> }; <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
basic/Fab.js
left: (this.props.active === false) ? ((Platform.OS === 'ios') ? 8 : 8) : ((i * 50) + 65),
<mask> } else if (direction === 'right') { <mask> return { <mask> top: 10, <mask> bottom: 0, <mask> left: (this.props.active === false) ? ((Platform.OS === 'ios') ? 8 : 8) : ((i * 50) + 15), <mask> right: 0, <mask> }; <mask> } <mask> } <mask> </s> Footer...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
basic/Fab.js
if (item.type.displayName === "Styled(Icon)" || item.type.displayName === "Styled(IconNB)") {
<mask> <mask> renderButtons() { <mask> const childrenArray = React.Children.toArray(this.props.children); <mask> const icon = _.remove(childrenArray, (item) => { <mask> if (item.type === Icon) { <mask> return true; <mask> } <mask> }); <mask> <mask> const newChildren = [...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
basic/Fab.js
"_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#4601289ce558b9b398394232985d7853fdff796c", "_shasum": "62518c8afce391a31a460481e7c5aa632c245e1a",
<mask> }, <mask> "_requiredBy": [ <mask> "/" <mask> ], <mask> "_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#c9a94bb306844b52377afa265070dbe8d36fdc36", <mask> "_shasum": "ab587463e63750a79bbc23c875b0ab0ff29f30b7", <mask> "_shrinkwrap": null, <mask> "_spec": "native-base@git+http...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
package.json
"_where": "/Users/sahusoft/Sites/projects/NBKS",
<mask> "_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#c9a94bb306844b52377afa265070dbe8d36fdc36", <mask> "_shasum": "ab587463e63750a79bbc23c875b0ab0ff29f30b7", <mask> "_shrinkwrap": null, <mask> "_spec": "native-base@git+https://github.com/GeekyAnts/NativeBase.git#v2.0-alpha1", <mask> "_whe...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
package.json
<mask> flexDirection: 'row', <mask> alignItems: 'center', <mask> }, <mask> '.cardBody': { <mask> flexDirection: 'column', <mask> 'NativeBase.Text': { <mask> marginTop: 5, <mask> }, <mask> }, <mask> 'NativeBase.Body': { </s> Footer and ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
theme/CardItem.js
...cardItemTheme(variables), '.cardBody': { padding: -5, 'NativeBase.Text': { marginTop: 5, }, }, 'NativeBase.Icon': { paddingRight: 10, }, 'NativeBase.IconNB': { paddingRight: 10, },
<mask> ...cardTheme(), <mask> }, <mask> <mask> 'NativeBase.CardItem': { <mask> ...cardItemTheme(variables), <mask> flexDirection: 'row', <mask> alignItems: 'center', <mask> }, <mask> <mask> 'NativeBase.CardItem1': { </s> Footer and Fab fixes for 2.0 and /backward...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
theme/index.js
'NativeBase.Text': { '.note': { color: variables.listNoteColor, fontWeight: '200', }, alignSelf: 'center', },
<mask> 'NativeBase.CheckBox': { <mask> marginLeft: -10, <mask> marginRight: 10, <mask> }, <mask> }, <mask> <mask> 'NativeBase.ListItem1': { <mask> ...listItemTheme(variables), <mask> }, <mask> </s> Footer and Fab fixes for 2.0 and /backward </s> remove .....
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7dfe3435bf54e2121b51a29c0c9449ce90a45207
theme/index.js
...transparentBtnCommon,
<mask> alignSelf: 'center', <mask> }, <mask> 'NativeBase.Button': { <mask> '.transparent': { <mask> 'NativeBase.Text': { <mask> fontSize: variables.DefaultFontSize - 4, <mask> color: variables.sTabBarActiveTextColor, <mask> }, <mask> 'NativeBase.Icon': { <mask> f...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7e10c597562ad6139327a65d05dbf52fcb2b3857
src/theme/components/CardItem.js
...transparentBtnCommon,
<mask> }, <mask> }, <mask> 'NativeBase.Button': { <mask> '.transparent': { <mask> 'NativeBase.Text': { <mask> fontSize: variables.DefaultFontSize - 4, <mask> color: variables.sTabBarActiveTextColor, <mask> }, <mask> 'NativeBase.Icon': { <mask> fontSize: variables...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7e10c597562ad6139327a65d05dbf52fcb2b3857
src/theme/components/CardItem.js
...transparentBtnCommon
<mask> alignSelf: null, <mask> }, <mask> 'NativeBase.Button': { <mask> '.transparent': { <mask> 'NativeBase.Text': { <mask> fontSize: variables.DefaultFontSize - 4, <mask> color: variables.sTabBarActiveTextColor, <mask> }, <mask> 'NativeBase.Icon': { <mask> fontS...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7e10c597562ad6139327a65d05dbf52fcb2b3857
src/theme/components/CardItem.js
import { NativeBaseProvider, extendTheme, themeTools } from 'native-base'; import { Content } from './Content';
<mask> import React from 'react'; <mask> import { <mask> Heading, <mask> useColorMode, <mask> Button, <mask> HStack, <mask> Avatar, <mask> Center, <mask> useColorModeValue, <mask> } from 'native-base'; <mask> <mask> const LocalWrapper = ({ children }: any) => { <mask> return ( <mask> ...
[ "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "ke...
https://github.com/GeekyAnts/NativeBase/commit/7f355abd89758726f526b03cb10da92c854c9aaf
example/storybook/stories/theme/Mode/Basic.tsx
const customTheme = extendTheme({ components: { Heading: { baseStyle: (props: any) => { return { color: themeTools.mode('red.300', 'blue.300')(props), fontWeight: 'bold', }; }, }, }, });
<mask> import { NativeBaseProvider, extendTheme, themeTools } from 'native-base'; <mask> import { Content } from './Content'; <mask> <mask> export default function () { <mask> return ( <mask> <NativeBaseProvider theme={customTheme}> <mask> <Content /> <mask> </NativeBaseProvider> <mask> ); ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7f355abd89758726f526b03cb10da92c854c9aaf
example/storybook/stories/theme/Mode/Basic.tsx
<mask> ); <mask> }; <mask> <mask> export default function () { <mask> const { colorMode, toggleColorMode } = useColorMode(); <mask> return ( <mask> <LocalWrapper> <mask> <Heading> I'm a Heading</Heading> <mask> <Button <mask> colorScheme={colorMode === 'light' ? 'blue' : 'red'} ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7f355abd89758726f526b03cb10da92c854c9aaf
example/storybook/stories/theme/Mode/Basic.tsx
<NativeBaseProvider theme={customTheme}> <Content /> </NativeBaseProvider>
<mask> <mask> export default function () { <mask> const { colorMode, toggleColorMode } = useColorMode(); <mask> return ( <mask> <LocalWrapper> <mask> <Heading> I'm a Heading</Heading> <mask> <Button <mask> colorScheme={colorMode === 'light' ? 'blue' : 'red'} <mask> onPress=...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/GeekyAnts/NativeBase/commit/7f355abd89758726f526b03cb10da92c854c9aaf
example/storybook/stories/theme/Mode/Basic.tsx
import { View, StyleSheet } from 'react-native';
<mask> import React from 'react'; <mask> import { storiesOf } from '@storybook/react-native'; <mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import Wrapper from './../../components/Wrapper'; <mask> import { extendTheme, themeTools } from 'native-base'; <mask> import Basic from './Basic'; <mask...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7f355abd89758726f526b03cb10da92c854c9aaf
example/storybook/stories/theme/Mode/index.tsx
.add('Basic', () => <Basic />) .add('DefaultMode', () => <DefaultMode />); const styles = StyleSheet.create({ wrapper: { position: 'absolute', top: 0, bottom: 0, left: 0, right: 0 }, });
<mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => ( <mask> <Wrapper theme={customTheme}>{getStory()}</Wrapper> <mask> )) <mask> .add('Basic', () => <Basic />); </s> Added default dark mode example </s> remove import { Heading, useColorMode, Button, HStack, Avatar, Cen...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/7f355abd89758726f526b03cb10da92c854c9aaf
example/storybook/stories/theme/Mode/index.tsx
duration: 150
<mask> <mask> floatBack() { <mask> Animated.timing(this.state.topAnim, { <mask> toValue: 18, <mask> duration: 150, <mask> useNativeDriver: true <mask> }).start(); <mask> Animated.timing(this.state.opacAnim, { <mask> toValue: 1, <mask> duration: 150, <mask> u...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7fc84b73bc8c66ec5542437ff7449bb0b3f73334
src/basic/Item.js
duration: 150
<mask> useNativeDriver: true <mask> }).start(); <mask> Animated.timing(this.state.opacAnim, { <mask> toValue: 1, <mask> duration: 150, <mask> useNativeDriver: true <mask> }).start(); <mask> } <mask> <mask> floatUp(e) { <mask> Animated.timing(this.state.topAnim, { ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7fc84b73bc8c66ec5542437ff7449bb0b3f73334
src/basic/Item.js
duration: 150
<mask> <mask> floatUp(e) { <mask> Animated.timing(this.state.topAnim, { <mask> toValue: e || -22, <mask> duration: 150, <mask> useNativeDriver: true <mask> }).start(); <mask> Animated.timing(this.state.opacAnim, { <mask> toValue: 0.7, <mask> duration: 150, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/7fc84b73bc8c66ec5542437ff7449bb0b3f73334
src/basic/Item.js