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
? this.setState({ isFocused: true })
<mask> inputProps.onFocus && inputProps.onFocus(); <mask> }} <mask> onBlur={e => { <mask> inputProps.value <mask> ? this.setState({ <mask> isFocused: true <mask> }) <mask> : !this.state.text.length && <mask> this.setState({ isFocused: false }); <mask> inputProps.onBlur && inputProps.onBlur(e); <mask> }} <mask> onChangeText={text => { </s> Fixes travisCI (#2992) * fix(travis): adds new travis script * fix(scripts): fixes eslint scripts * fix(linting): fixing linting issues * fix(travis): changes the travis config </s> remove ? this.setState({ isFocused: true }) </s> add ? this.setState({ isFocused: true }) </s> remove // Temporary fix to avoid the crash. // To be refactored to getDerivedStateFromProps. // eslint-disable-next-line camelcase UNSAFE_componentWillReceiveProps(nextProps) { const childrenArray = React.Children.toArray(nextProps.children); remove(childrenArray, item => { if (item.type.displayName === 'Styled(Input)') { this.inputProps = item.props; return item; } return null; }); if (this.props.floatingLabel) { if (this.inputProps && this.inputProps.value) { this.setState({ isFocused: true }); this.floatUp(-16); } if (this.inputProps && this.inputProps.getRef) this.inputProps.getRef(this._inputRef); } } </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a288c77230473f88556d524df10b2dc3a1c4055
src/basic/Item.js
? this.setState({ isFocused: true })
<mask> inputProps.onFocus && inputProps.onFocus(); <mask> }} <mask> onBlur={e => { <mask> inputProps.value <mask> ? this.setState({ <mask> isFocused: true <mask> }) <mask> : !this.state.text.length && this.setState({ isFocused: false }); <mask> inputProps.onBlur && inputProps.onBlur(e); <mask> }} <mask> onChangeText={text => { <mask> this.setState({ text }); </s> Fixes travisCI (#2992) * fix(travis): adds new travis script * fix(scripts): fixes eslint scripts * fix(linting): fixing linting issues * fix(travis): changes the travis config </s> remove ? this.setState({ isFocused: true }) </s> add ? this.setState({ isFocused: true }) </s> remove // Temporary fix to avoid the crash. // To be refactored to getDerivedStateFromProps. // eslint-disable-next-line camelcase UNSAFE_componentWillReceiveProps(nextProps) { const childrenArray = React.Children.toArray(nextProps.children); remove(childrenArray, item => { if (item.type.displayName === 'Styled(Input)') { this.inputProps = item.props; return item; } return null; }); if (this.props.floatingLabel) { if (this.inputProps && this.inputProps.value) { this.setState({ isFocused: true }); this.floatUp(-16); } if (this.inputProps && this.inputProps.getRef) this.inputProps.getRef(this._inputRef); } } </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a288c77230473f88556d524df10b2dc3a1c4055
src/basic/Item.js
// eslint-disable-next-line react/no-multi-comp
<mask> } <mask> <mask> PickerNB.Item = createReactClass({ <mask> render() { <mask> return <Picker.Item {...this.props} />; <mask> } <mask> }); <mask> </s> Fixes travisCI (#2992) * fix(travis): adds new travis script * fix(scripts): fixes eslint scripts * fix(linting): fixing linting issues * fix(travis): changes the travis config </s> remove // Temporary fix to avoid the crash. // To be refactored to getDerivedStateFromProps. // eslint-disable-next-line camelcase UNSAFE_componentWillReceiveProps(nextProps) { const childrenArray = React.Children.toArray(nextProps.children); remove(childrenArray, item => { if (item.type.displayName === 'Styled(Input)') { this.inputProps = item.props; return item; } return null; }); if (this.props.floatingLabel) { if (this.inputProps && this.inputProps.value) { this.setState({ isFocused: true }); this.floatUp(-16); } if (this.inputProps && this.inputProps.getRef) this.inputProps.getRef(this._inputRef); } } </s> add </s> remove case 'AntDesign': this.Icon = AntDesign; break; case 'Entypo': this.Icon = Entypo; break; case 'EvilIcons': this.Icon = EvilIcons; break; case 'Feather': this.Icon = Feather; break; case 'FontAwesome': this.Icon = FontAwesome; break; case 'FontAwesome5': this.Icon = FontAwesome5; break; case 'Foundation': this.Icon = Foundation; break; case 'Ionicons': this.Icon = Ionicons; break; case 'MaterialCommunityIcons': this.Icon = MaterialCommunityIcons; break; case 'MaterialIcons': this.Icon = MaterialIcons; break; case 'Octicons': this.Icon = Octicons; break; case 'SimpleLineIcons': this.Icon = SimpleLineIcons; break; case 'Zocial': this.Icon = Zocial; break; default: this.Icon = Ionicons; } } // eslint-disable-next-line camelcase UNSAFE_componentWillUpdate(nextProps) { if (nextProps.type && this.props.type !== nextProps.type) { this.setIcon(nextProps.type); </s> add case 'AntDesign': this.Icon = AntDesign; break; case 'Entypo': this.Icon = Entypo; break; case 'EvilIcons': this.Icon = EvilIcons; break; case 'Feather': this.Icon = Feather; break; case 'FontAwesome': this.Icon = FontAwesome; break; case 'FontAwesome5': this.Icon = FontAwesome5; break; case 'Foundation': this.Icon = Foundation; break; case 'Ionicons': this.Icon = Ionicons; break; case 'MaterialCommunityIcons': this.Icon = MaterialCommunityIcons; break; case 'MaterialIcons': this.Icon = MaterialIcons; break; case 'Octicons': this.Icon = Octicons; break; case 'SimpleLineIcons': this.Icon = SimpleLineIcons; break; case 'Zocial': this.Icon = Zocial; break; default: this.Icon = Ionicons;
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a288c77230473f88556d524df10b2dc3a1c4055
src/basic/Picker.android.js
// eslint-disable-next-line react/no-multi-comp
<mask> } <mask> <mask> PickerNB.Item = createReactClass({ <mask> render() { <mask> return <Picker.Item {...this.props()} />; <mask> } <mask> }); </s> Fixes travisCI (#2992) * fix(travis): adds new travis script * fix(scripts): fixes eslint scripts * fix(linting): fixing linting issues * fix(travis): changes the travis config </s> remove // Temporary fix to avoid the crash. // To be refactored to getDerivedStateFromProps. // eslint-disable-next-line camelcase UNSAFE_componentWillReceiveProps(nextProps) { const childrenArray = React.Children.toArray(nextProps.children); remove(childrenArray, item => { if (item.type.displayName === 'Styled(Input)') { this.inputProps = item.props; return item; } return null; }); if (this.props.floatingLabel) { if (this.inputProps && this.inputProps.value) { this.setState({ isFocused: true }); this.floatUp(-16); } if (this.inputProps && this.inputProps.getRef) this.inputProps.getRef(this._inputRef); } } </s> add </s> remove case 'AntDesign': this.Icon = AntDesign; break; case 'Entypo': this.Icon = Entypo; break; case 'EvilIcons': this.Icon = EvilIcons; break; case 'Feather': this.Icon = Feather; break; case 'FontAwesome': this.Icon = FontAwesome; break; case 'FontAwesome5': this.Icon = FontAwesome5; break; case 'Foundation': this.Icon = Foundation; break; case 'Ionicons': this.Icon = Ionicons; break; case 'MaterialCommunityIcons': this.Icon = MaterialCommunityIcons; break; case 'MaterialIcons': this.Icon = MaterialIcons; break; case 'Octicons': this.Icon = Octicons; break; case 'SimpleLineIcons': this.Icon = SimpleLineIcons; break; case 'Zocial': this.Icon = Zocial; break; default: this.Icon = Ionicons; } } // eslint-disable-next-line camelcase UNSAFE_componentWillUpdate(nextProps) { if (nextProps.type && this.props.type !== nextProps.type) { this.setIcon(nextProps.type); </s> add case 'AntDesign': this.Icon = AntDesign; break; case 'Entypo': this.Icon = Entypo; break; case 'EvilIcons': this.Icon = EvilIcons; break; case 'Feather': this.Icon = Feather; break; case 'FontAwesome': this.Icon = FontAwesome; break; case 'FontAwesome5': this.Icon = FontAwesome5; break; case 'Foundation': this.Icon = Foundation; break; case 'Ionicons': this.Icon = Ionicons; break; case 'MaterialCommunityIcons': this.Icon = MaterialCommunityIcons; break; case 'MaterialIcons': this.Icon = MaterialIcons; break; case 'Octicons': this.Icon = Octicons; break; case 'SimpleLineIcons': this.Icon = SimpleLineIcons; break; case 'Zocial': this.Icon = Zocial; break; default: this.Icon = Ionicons;
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a288c77230473f88556d524df10b2dc3a1c4055
src/basic/Picker.ios.js
// eslint-disable-next-line react/no-multi-comp
<mask> } <mask> <mask> PickerNB.Item = createReactClass({ <mask> render() { <mask> return <Picker.Item {...this.props} />; <mask> } <mask> }); <mask> </s> Fixes travisCI (#2992) * fix(travis): adds new travis script * fix(scripts): fixes eslint scripts * fix(linting): fixing linting issues * fix(travis): changes the travis config
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a288c77230473f88556d524df10b2dc3a1c4055
src/basic/Picker.js
<mask> /* eslint-disable class-methods-use-this */ <mask> import React, { Component } from 'react'; <mask> import PropTypes from 'prop-types'; <mask> import { Keyboard, Platform, Animated, ViewPropTypes } from 'react-native'; <mask> import { connectStyle } from 'native-base-shoutem-theme'; <mask> <mask> import mapPropsToStyleNames from '../utils/mapPropsToStyleNames'; <mask> import { PLATFORM } from '../theme/variables/commonColor'; </s> Fixes travisCI (#2992) * fix(travis): adds new travis script * fix(scripts): fixes eslint scripts * fix(linting): fixing linting issues * fix(travis): changes the travis config </s> remove import PropTypes from 'prop-types'; </s> add </s> remove static contextTypes = { theme: PropTypes.object, foregroundColor: PropTypes.string }; </s> add </s> remove static actionsheetInstance; </s> add </s> remove static toastInstance; </s> add
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a288c77230473f88556d524df10b2dc3a1c4055
src/basic/ToastContainer.js
<mask> TOP: 'top' <mask> }; <mask> <mask> class ToastContainer extends Component { <mask> static toastInstance; <mask> static show({ ...config }) { <mask> this.toastInstance._root.showToast({ config }); <mask> } <mask> static hide() { <mask> if (this.toastInstance._root.getModalState()) { </s> Fixes travisCI (#2992) * fix(travis): adds new travis script * fix(scripts): fixes eslint scripts * fix(linting): fixing linting issues * fix(travis): changes the travis config </s> remove static actionsheetInstance; </s> add </s> remove static contextTypes = { theme: PropTypes.object, foregroundColor: PropTypes.string }; </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a288c77230473f88556d524df10b2dc3a1c4055
src/basic/ToastContainer.js
static toastInstance;
<mask> } <mask> <mask> keyboardDidHide() { <mask> this.setState({ <mask> keyboardHeight: 0, <mask> isKeyboardVisible: false <mask> }); <mask> } </s> Fixes travisCI (#2992) * fix(travis): adds new travis script * fix(scripts): fixes eslint scripts * fix(linting): fixing linting issues * fix(travis): changes the travis config </s> remove ? this.setState({ isFocused: true }) </s> add ? this.setState({ isFocused: true }) </s> remove ? this.setState({ isFocused: true }) </s> add ? this.setState({ isFocused: true }) </s> remove // Temporary fix to avoid the crash. // To be refactored to getDerivedStateFromProps. // eslint-disable-next-line camelcase UNSAFE_componentWillReceiveProps(nextProps) { const childrenArray = React.Children.toArray(nextProps.children); remove(childrenArray, item => { if (item.type.displayName === 'Styled(Input)') { this.inputProps = item.props; return item; } return null; }); if (this.props.floatingLabel) { if (this.inputProps && this.inputProps.value) { this.setState({ isFocused: true }); this.floatUp(-16); } if (this.inputProps && this.inputProps.getRef) this.inputProps.getRef(this._inputRef); } } </s> add
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a288c77230473f88556d524df10b2dc3a1c4055
src/basic/ToastContainer.js
...ViewPropTypes
<mask> } <mask> } <mask> <mask> ToastContainer.propTypes = { <mask> ...ViewPropTypes, <mask> style: PropTypes.oneOfType([ <mask> PropTypes.object, <mask> PropTypes.number, <mask> PropTypes.array <mask> ]) <mask> }; <mask> <mask> const StyledToastContainer = connectStyle( <mask> 'NativeBase.ToastContainer', <mask> {}, </s> Fixes travisCI (#2992) * fix(travis): adds new travis script * fix(scripts): fixes eslint scripts * fix(linting): fixing linting issues * fix(travis): changes the travis config </s> remove ...ViewPropTypes, style: PropTypes.oneOfType([ PropTypes.object, PropTypes.number, PropTypes.array ]) </s> add ...ViewPropTypes </s> remove static contextTypes = { theme: PropTypes.object, foregroundColor: PropTypes.string }; </s> add </s> remove // Temporary fix to avoid the crash. // To be refactored to getDerivedStateFromProps. // eslint-disable-next-line camelcase UNSAFE_componentWillReceiveProps(nextProps) { const childrenArray = React.Children.toArray(nextProps.children); remove(childrenArray, item => { if (item.type.displayName === 'Styled(Input)') { this.inputProps = item.props; return item; } return null; }); if (this.props.floatingLabel) { if (this.inputProps && this.inputProps.value) { this.setState({ isFocused: true }); this.floatUp(-16); } if (this.inputProps && this.inputProps.getRef) this.inputProps.getRef(this._inputRef); } } </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a288c77230473f88556d524df10b2dc3a1c4055
src/basic/ToastContainer.js
"@codler/react-native-keyboard-aware-scroll-view": "1.0.0",
<mask> "license": "Apache-2.0", <mask> "private": false, <mask> "dependencies": { <mask> "blueimp-md5": "^2.5.0", <mask> "clamp": "^1.0.1", <mask> "color": "~3.1.2", <mask> "create-react-class": "^15.6.3", <mask> "eslint-config-prettier": "^6.0.0", </s> Fix #3179, #3183, for broken react-native 0.63.0, upgrade depencenciesFix for react native 0.63.0. (#3185) </s> remove import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'; </s> add import { KeyboardAwareScrollView } from '@codler/react-native-keyboard-aware-scroll-view'; </s> remove "react-native-keyboard-aware-scroll-view": "0.9.1", "react-native-vector-icons": "^6.6.0", </s> add "react-native-vector-icons": "^7.0.0",
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a3fe48adc8d1d028277b23a2f59c71dfacfcc2d
package.json
"react-native-vector-icons": "^7.0.0",
<mask> "print-message": "^2.1.0", <mask> "prop-types": "^15.5.10", <mask> "react-native-drawer": "2.5.1", <mask> "react-native-easy-grid": "0.2.2", <mask> "react-native-keyboard-aware-scroll-view": "0.9.1", <mask> "react-native-vector-icons": "^6.6.0", <mask> "react-tween-state": "^0.1.5", <mask> "tween-functions": "^1.0.1" <mask> }, <mask> "devDependencies": { <mask> "babel-cli": "^6.18.0", </s> Fix #3179, #3183, for broken react-native 0.63.0, upgrade depencenciesFix for react native 0.63.0. (#3185) </s> remove import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'; </s> add import { KeyboardAwareScrollView } from '@codler/react-native-keyboard-aware-scroll-view';
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a3fe48adc8d1d028277b23a2f59c71dfacfcc2d
package.json
import { KeyboardAwareScrollView } from '@codler/react-native-keyboard-aware-scroll-view';
<mask> import { connectStyle } from 'native-base-shoutem-theme'; <mask> import PropTypes from 'prop-types'; <mask> import React, { Component } from 'react'; <mask> import { SafeAreaView } from 'react-native'; <mask> import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'; <mask> <mask> import variable from '../theme/variables/platform'; <mask> import mapPropsToStyleNames from '../utils/mapPropsToStyleNames'; <mask> import getStyle from '../utils/getStyle'; <mask> </s> Fix #3179, #3183, for broken react-native 0.63.0, upgrade depencenciesFix for react native 0.63.0. (#3185) </s> remove "react-native-keyboard-aware-scroll-view": "0.9.1", "react-native-vector-icons": "^6.6.0", </s> add "react-native-vector-icons": "^7.0.0",
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a3fe48adc8d1d028277b23a2f59c71dfacfcc2d
src/basic/Content.js
"react-hook-form": "^6.14.0",
<mask> "react": "16.13.1", <mask> "react-dom": "16.13.1", <mask> "react-native": "https://github.com/expo/react-native/archive/sdk-40.0.1.tar.gz", <mask> "react-native-svg": "^12.1.0", <mask> "react-native-web": "~0.13.12", <mask> "styled-components": "^5.2.1", <mask> "styled-system": "^5.1.5" <mask> }, </s> feat: added basic examples to show react hook form integration </s> remove .add('Formik Example', () => <FormikExample />) // .add('DefaultValue', () => <DefaultValue />) // .add('MinMax', () => <MinMax />) </s> add </s> remove import FormikExample from './FormikExample'; // import MinMax from './MinMax'; </s> add </s> remove // import DefaultValue from './DefaultValue'; </s> add
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a6cae2384e7747de44ac3eee991dca9fe009058
example/package.json
<mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import Wrapper from './../../Wrapper'; <mask> import Usage from './Usage'; <mask> import CustomStyle from './CustomStyle'; <mask> // import DefaultValue from './DefaultValue'; <mask> import Playground from './Playground'; <mask> import FormikExample from './FormikExample'; <mask> // import MinMax from './MinMax'; <mask> <mask> storiesOf('FormControl', module) </s> feat: added basic examples to show react hook form integration </s> remove import FormikExample from './FormikExample'; // import MinMax from './MinMax'; </s> add </s> remove .add('Formik Example', () => <FormikExample />) // .add('DefaultValue', () => <DefaultValue />) // .add('MinMax', () => <MinMax />) </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a6cae2384e7747de44ac3eee991dca9fe009058
example/storybook/stories/components/composites/FormControl/index.tsx
<mask> import Usage from './Usage'; <mask> import CustomStyle from './CustomStyle'; <mask> // import DefaultValue from './DefaultValue'; <mask> import Playground from './Playground'; <mask> import FormikExample from './FormikExample'; <mask> // import MinMax from './MinMax'; <mask> <mask> storiesOf('FormControl', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>) <mask> .add('Playground', () => <Playground />) </s> feat: added basic examples to show react hook form integration </s> remove // import DefaultValue from './DefaultValue'; </s> add </s> remove .add('Formik Example', () => <FormikExample />) // .add('DefaultValue', () => <DefaultValue />) // .add('MinMax', () => <MinMax />) </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a6cae2384e7747de44ac3eee991dca9fe009058
example/storybook/stories/components/composites/FormControl/index.tsx
<mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>) <mask> .add('Playground', () => <Playground />) <mask> .add('Usage', () => <Usage />) <mask> .add('Formik Example', () => <FormikExample />) <mask> // .add('DefaultValue', () => <DefaultValue />) <mask> // .add('MinMax', () => <MinMax />) <mask> .add('CustomStyle', () => <CustomStyle />); </s> feat: added basic examples to show react hook form integration </s> remove import FormikExample from './FormikExample'; // import MinMax from './MinMax'; </s> add </s> remove // import DefaultValue from './DefaultValue'; </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8a6cae2384e7747de44ac3eee991dca9fe009058
example/storybook/stories/components/composites/FormControl/index.tsx
export * from './communityIntegration/Formik'; export * from './communityIntegration/ReactHookForm';
<mask> export * from './hooks/usePopover'; <mask> export * from './theme/Custom'; <mask> export * from './theme/Mode'; <mask> export * from './theme/Responsive'; </s> feat: added basic examples to show react hook form integration </s> remove // import DefaultValue from './DefaultValue'; </s> add </s> remove import FormikExample from './FormikExample'; // import MinMax from './MinMax'; </s> add </s> remove .add('Formik Example', () => <FormikExample />) // .add('DefaultValue', () => <DefaultValue />) // .add('MinMax', () => <MinMax />) </s> add
[ "keep", "keep", "keep", "add" ]
https://github.com/GeekyAnts/NativeBase/commit/8a6cae2384e7747de44ac3eee991dca9fe009058
example/storybook/stories/index.ts
newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?22:22,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:undefined,paddingBottom:_reactNative.Platform.OS==='ios'?undefined:12}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps))));
<mask> } <mask> }); <mask> if(this.props.floatingLabel&&icon.length){ <mask> newChildren.push(_react2.default.createElement(_Icon.Icon,_extends({key:'i1'},iconProps,{style:{top:6}}))); <mask> newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?22:22,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:30}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps)))); <mask> newChildren.push(_react2.default.createElement(_Input.Input,_extends({key:'l2'},inputProps,{onChangeText:function onChangeText(text){return _this2.setState({text:text});}}))); <mask> }else <mask> if(this.props.floatingLabel){ <mask> newChildren.push(this.props.floatingLabel?_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?15:0,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:30}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps))):_react2.default.createElement(_Label.Label,{style:{width:this.state.text?0:undefined,marginLeft:this.props.last?null:15}},this.renderLabel(label,labelProps))); <mask> newChildren.push(_react2.default.createElement(_Input.Input,_extends({key:'l2'},inputProps,{onChangeText:function onChangeText(text){return _this2.setState({text:text});}}))); </s> container fix, floating android fix, tabs bg fix </s> remove newChildren.push(this.props.floatingLabel?_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?15:0,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:30}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps))):_react2.default.createElement(_Label.Label,{style:{width:this.state.text?0:undefined,marginLeft:this.props.last?null:15}},this.renderLabel(label,labelProps))); </s> add newChildren.push(this.props.floatingLabel?_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?15:0,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:undefined,paddingBottom:_reactNative.Platform.OS==='ios'?undefined:12}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps))):_react2.default.createElement(_Label.Label,{style:{width:this.state.text?0:undefined,marginLeft:this.props.last?null:15}},this.renderLabel(label,labelProps))); </s> remove newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : 30, }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> add newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> remove 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) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> add 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 : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
dist/src/basic/Item.js
newChildren.push(this.props.floatingLabel?_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?15:0,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:undefined,paddingBottom:_reactNative.Platform.OS==='ios'?undefined:12}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps))):_react2.default.createElement(_Label.Label,{style:{width:this.state.text?0:undefined,marginLeft:this.props.last?null:15}},this.renderLabel(label,labelProps)));
<mask> newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?22:22,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:30}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps)))); <mask> newChildren.push(_react2.default.createElement(_Input.Input,_extends({key:'l2'},inputProps,{onChangeText:function onChangeText(text){return _this2.setState({text:text});}}))); <mask> }else <mask> if(this.props.floatingLabel){ <mask> newChildren.push(this.props.floatingLabel?_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?15:0,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:30}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps))):_react2.default.createElement(_Label.Label,{style:{width:this.state.text?0:undefined,marginLeft:this.props.last?null:15}},this.renderLabel(label,labelProps))); <mask> newChildren.push(_react2.default.createElement(_Input.Input,_extends({key:'l2'},inputProps,{onChangeText:function onChangeText(text){return _this2.setState({text:text});}}))); <mask> }else <mask> if(this.props.stackedLabel&&icon.length){ <mask> newChildren.push(_react2.default.createElement(_reactNative.View,{key:'s',style:{flexDirection:'row',flex:1,width:_variables2.default.deviceWidth-15}},_react2.default.createElement(_Icon.Icon,_extends({key:'s1'},iconProps,{style:{marginTop:36}})),_react2.default.createElement(_reactNative.View,{style:{flexDirection:'column'}},_react2.default.createElement(_Label.Label,_extends({key:'s2'},labelProps)),_react2.default.createElement(_Input.Input,_extends({key:'s3'},inputProps,{onChangeText:function onChangeText(text){return _this2.setState({text:text});},style:{width:_variables2.default.deviceWidth-40}}))))); <mask> </s> container fix, floating android fix, tabs bg fix </s> remove newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?22:22,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:30}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps)))); </s> add newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?22:22,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:undefined,paddingBottom:_reactNative.Platform.OS==='ios'?undefined:12}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps)))); </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5', </s> remove paddingLeft: 5, </s> add paddingLeft: 8, </s> remove paddingLeft: 5, </s> add paddingLeft: 8,
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
dist/src/basic/Item.js
height:_reactNative.Platform.OS==='ios'?deviceHeight:deviceHeight-20};
<mask> var deviceHeight=_reactNative.Dimensions.get('window').height;exports.default= <mask> function(){var variables=arguments.length>0&&arguments[0]!==undefined?arguments[0]:_variables2.default; <mask> var theme={ <mask> flex:1, <mask> height:deviceHeight}; <mask> <mask> <mask> return theme; <mask> }; <mask> //# sourceMappingURL=Container.js.map </s> container fix, floating android fix, tabs bg fix </s> remove height: deviceHeight </s> add height: (Platform.OS === 'ios') ? deviceHeight : deviceHeight - 20 </s> remove alignItems:'center'}; </s> add alignItems:'center', marginLeft:2}; </s> remove top:1.5, </s> add top:_reactNative.Platform.OS==='ios'?1.5:undefined, </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
dist/src/theme/Container.js
top:_reactNative.Platform.OS==='ios'?1.5:undefined,
<mask> 'NativeBase.Input':{ <mask> height:variables.inputHeightBase, <mask> color:variables.inputColor, <mask> flex:1, <mask> top:1.5, <mask> fontSize:variables.inputFontSize, <mask> lineHeight:variables.inputLineHeight}, <mask> <mask> '.underline':{ <mask> 'NativeBase.Input':{ </s> container fix, floating android fix, tabs bg fix </s> remove paddingLeft:5}, </s> add paddingLeft:8}, </s> remove paddingLeft:5}, </s> add paddingLeft:8}, </s> remove height:deviceHeight}; </s> add height:_reactNative.Platform.OS==='ios'?deviceHeight:deviceHeight-20}; </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
dist/src/theme/Item.js
paddingLeft:8},
<mask> borderColor:variables.inputBorderColor}, <mask> <mask> '.regular':{ <mask> 'NativeBase.Input':{ <mask> paddingLeft:5}, <mask> <mask> 'NativeBase.Icon':{ <mask> paddingLeft:10}, <mask> <mask> '.success':{ </s> container fix, floating android fix, tabs bg fix </s> remove paddingLeft:5}, </s> add paddingLeft:8}, </s> remove top:1.5, </s> add top:_reactNative.Platform.OS==='ios'?1.5:undefined, </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5', </s> remove paddingLeft: 5, </s> add paddingLeft: 8,
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
dist/src/theme/Item.js
paddingLeft:8},
<mask> borderColor:variables.inputBorderColor}, <mask> <mask> '.rounded':{ <mask> 'NativeBase.Input':{ <mask> paddingLeft:5}, <mask> <mask> 'NativeBase.Icon':{ <mask> paddingLeft:10}, <mask> <mask> '.success':{ </s> container fix, floating android fix, tabs bg fix </s> remove paddingLeft:5}, </s> add paddingLeft:8}, </s> remove top:1.5, </s> add top:_reactNative.Platform.OS==='ios'?1.5:undefined, </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5', </s> remove paddingLeft: 5, </s> add paddingLeft: 8,
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
dist/src/theme/Item.js
alignItems:'center', marginLeft:2};
<mask> borderLeftWidth:0, <mask> borderColor:variables.inputBorderColor, <mask> backgroundColor:'transparent', <mask> flexDirection:'row', <mask> alignItems:'center'}; <mask> <mask> <mask> <mask> return itemTheme; <mask> }; </s> container fix, floating android fix, tabs bg fix </s> remove height:deviceHeight}; </s> add height:_reactNative.Platform.OS==='ios'?deviceHeight:deviceHeight-20}; </s> remove height: deviceHeight </s> add height: (Platform.OS === 'ios') ? deviceHeight : deviceHeight - 20 </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5', </s> remove paddingLeft: 5, </s> add paddingLeft: 8,
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
dist/src/theme/Item.js
tabDefaultBg:platform==='ios'?'#F8F8F8':'#3F51B5',
<mask> tabBarActiveTextColor:platform==='ios'?'#007aff':'#fff', <mask> tabActiveBgColor:platform==='ios'?'#cde1f9':undefined, <mask> <mask> <mask> tabDefaultBg:platform==='ios'?'#F8F8F8':'#4179F7', <mask> topTabBarTextColor:platform==='ios'?'#6b6b6b':'#b3c7f9', <mask> topTabBarActiveTextColor:platform==='ios'?'#007aff':'#fff', <mask> topTabActiveBgColor:platform==='ios'?'#cde1f9':undefined, <mask> topTabBarBorderColor:platform==='ios'?'#007aff':'#fff', <mask> </s> container fix, floating android fix, tabs bg fix </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5', </s> remove paddingLeft: 5, </s> add paddingLeft: 8, </s> remove paddingLeft: 5, </s> add paddingLeft: 8, </s> remove top: 1.5, </s> add top: (Platform.OS === 'ios') ? 1.5 : undefined,
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
dist/src/theme/variables.js
newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>);
<mask> } <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, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : 30, }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); <mask> newChildren.push(<Input key="l2" {...inputProps} onChangeText={text => this.setState({ text })} />); <mask> } <mask> else if (this.props.floatingLabel) { <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) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); <mask> newChildren.push(<Input key="l2" {...inputProps} onChangeText={text => this.setState({ text })} />); </s> container fix, floating android fix, tabs bg fix </s> remove 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) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> add 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 : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5', </s> remove top: 1.5, </s> add top: (Platform.OS === 'ios') ? 1.5 : undefined, </s> remove height: deviceHeight </s> add height: (Platform.OS === 'ios') ? deviceHeight : deviceHeight - 20 </s> remove newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?22:22,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:30}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps)))); </s> add newChildren.push(_react2.default.createElement(_reactNative.Animated.View,{key:'float',style:{position:'absolute',left:this.props.last?22:22,right:0,top:this.state.topAnim,opacity:this.state.opacAnim,paddingTop:_reactNative.Platform.OS==='ios'?undefined:undefined,paddingBottom:_reactNative.Platform.OS==='ios'?undefined:12}},_react2.default.createElement(_Label.Label,{style:{fontSize:this.state.text?13:undefined}},this.renderLabel(label,labelProps))));
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
src/basic/Item.js
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 : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>);
<mask> newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : 30, }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); <mask> newChildren.push(<Input key="l2" {...inputProps} onChangeText={text => this.setState({ text })} />); <mask> } <mask> else if (this.props.floatingLabel) { <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) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); <mask> newChildren.push(<Input key="l2" {...inputProps} onChangeText={text => this.setState({ text })} />); <mask> } <mask> else if (this.props.stackedLabel && icon.length) { <mask> 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.setState({ text })} style={{ width: variables.deviceWidth - 40 }} /></View></View>); <mask> </s> container fix, floating android fix, tabs bg fix </s> remove newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : 30, }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> add newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5', </s> remove height: deviceHeight </s> add height: (Platform.OS === 'ios') ? deviceHeight : deviceHeight - 20 </s> remove top: 1.5, </s> add top: (Platform.OS === 'ios') ? 1.5 : undefined,
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
src/basic/Item.js
height: (Platform.OS === 'ios') ? deviceHeight : deviceHeight - 20
<mask> const deviceHeight = Dimensions.get('window').height; <mask> export default (variables = variable) => { <mask> const theme = { <mask> flex: 1, <mask> height: deviceHeight <mask> }; <mask> <mask> return theme; <mask> }; </s> container fix, floating android fix, tabs bg fix </s> remove top: 1.5, </s> add top: (Platform.OS === 'ios') ? 1.5 : undefined, </s> remove height:deviceHeight}; </s> add height:_reactNative.Platform.OS==='ios'?deviceHeight:deviceHeight-20}; </s> remove alignItems:'center'}; </s> add alignItems:'center', marginLeft:2}; </s> remove 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) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> add 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 : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>);
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
src/theme/Container.js
top: (Platform.OS === 'ios') ? 1.5 : undefined,
<mask> 'NativeBase.Input': { <mask> height: variables.inputHeightBase, <mask> color: variables.inputColor, <mask> flex: 1, <mask> top: 1.5, <mask> fontSize: variables.inputFontSize, <mask> lineHeight: variables.inputLineHeight, <mask> }, <mask> '.underline': { <mask> 'NativeBase.Input': { </s> container fix, floating android fix, tabs bg fix </s> remove paddingLeft: 5, </s> add paddingLeft: 8, </s> remove paddingLeft: 5, </s> add paddingLeft: 8, </s> remove height: deviceHeight </s> add height: (Platform.OS === 'ios') ? deviceHeight : deviceHeight - 20 </s> remove 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) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> add 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 : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> remove newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : 30, }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> add newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>);
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
src/theme/Item.js
paddingLeft: 8,
<mask> borderColor: variables.inputBorderColor, <mask> }, <mask> '.regular': { <mask> 'NativeBase.Input': { <mask> paddingLeft: 5, <mask> }, <mask> 'NativeBase.Icon': { <mask> paddingLeft: 10, <mask> }, <mask> '.success': { </s> container fix, floating android fix, tabs bg fix </s> remove paddingLeft: 5, </s> add paddingLeft: 8, </s> remove top: 1.5, </s> add top: (Platform.OS === 'ios') ? 1.5 : undefined, </s> remove height: deviceHeight </s> add height: (Platform.OS === 'ios') ? deviceHeight : deviceHeight - 20 </s> remove newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : 30, }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> add newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> remove 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) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> add 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 : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>);
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
src/theme/Item.js
paddingLeft: 8,
<mask> borderColor: variables.inputBorderColor, <mask> }, <mask> '.rounded': { <mask> 'NativeBase.Input': { <mask> paddingLeft: 5, <mask> }, <mask> 'NativeBase.Icon': { <mask> paddingLeft: 10, <mask> }, <mask> '.success': { </s> container fix, floating android fix, tabs bg fix </s> remove paddingLeft: 5, </s> add paddingLeft: 8, </s> remove top: 1.5, </s> add top: (Platform.OS === 'ios') ? 1.5 : undefined, </s> remove height: deviceHeight </s> add height: (Platform.OS === 'ios') ? deviceHeight : deviceHeight - 20 </s> remove newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : 30, }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> add newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> remove 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) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> add 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 : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>);
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
src/theme/Item.js
marginLeft: 2,
<mask> backgroundColor: 'transparent', <mask> flexDirection: 'row', <mask> alignItems: 'center', <mask> }; <mask> <mask> <mask> return itemTheme; <mask> }; </s> container fix, floating android fix, tabs bg fix </s> remove alignItems:'center'}; </s> add alignItems:'center', marginLeft:2}; </s> remove height:deviceHeight}; </s> add height:_reactNative.Platform.OS==='ios'?deviceHeight:deviceHeight-20}; </s> remove height: deviceHeight </s> add height: (Platform.OS === 'ios') ? deviceHeight : deviceHeight - 20 </s> remove 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) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> add 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 : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> remove tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', </s> add tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5',
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
src/theme/Item.js
tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#3F51B5',
<mask> tabBarActiveTextColor: (platform === 'ios') ? '#007aff' : '#fff', <mask> tabActiveBgColor: (platform === 'ios') ? '#cde1f9' : undefined, <mask> <mask> // Tab <mask> tabDefaultBg: (platform === 'ios') ? '#F8F8F8' : '#4179F7', <mask> topTabBarTextColor: (platform === 'ios') ? '#6b6b6b' : '#b3c7f9', <mask> topTabBarActiveTextColor: (platform === 'ios') ? '#007aff' : '#fff', <mask> topTabActiveBgColor: (platform === 'ios') ? '#cde1f9' : undefined, <mask> topTabBarBorderColor: (platform === 'ios') ? '#007aff' : '#fff', <mask> </s> container fix, floating android fix, tabs bg fix </s> remove newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : 30, }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> add newChildren.push(<Animated.View key="float" style={{ position: 'absolute', left: (this.props.last) ? 22 : 22, right: 0, top: this.state.topAnim, opacity: this.state.opacAnim, paddingTop: (Platform.OS === 'ios') ? undefined : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View>); </s> remove 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) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> add 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 : undefined, paddingBottom: (Platform.OS === 'ios') ? undefined : 12 }}><Label style={{fontSize: (this.state.text) ? 13 : undefined}}>{this.renderLabel(label, labelProps)}</Label></Animated.View> : <Label style={{width: (this.state.text) ? 0 : undefined, marginLeft: (this.props.last) ? null : 15}}>{this.renderLabel(label, labelProps)}</Label>); </s> remove top: 1.5, </s> add top: (Platform.OS === 'ios') ? 1.5 : undefined, </s> remove height: deviceHeight </s> add height: (Platform.OS === 'ios') ? deviceHeight : deviceHeight - 20
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8ad5e3df6e5883b254691ade7a3b9c85eb888922
src/theme/variables.js
mr="1"
<mask> return ( <mask> <HStack mx={{ base: 'auto', md: '0' }} space={2}> <mask> <Avatar <mask> bg="green.500" <mask> mr='1' <mask> source={{ uri: 'https://bit.ly/broken-link' }} <mask> > <mask> RS <mask> </Avatar> <mask> <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack alignItems="center" w="100%"> <InputGroup> </s> add <Stack alignItems="center"> <InputGroup w={{ base: '70%', md: '285' }}> </s> remove <Input w={{ base: '50%', md: '100%' }} placeholder="nativebase" /> </s> add <Input w={{ base: '70%', md: '100%' }} placeholder="nativebase" /> </s> remove <FormControl isInvalid> </s> add <FormControl isInvalid w={{ base: '70%', md: '25%' }}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/composites/Avatar/Fallback.tsx
fontWeight: 'medium', color: 'warmGray.50',
<mask> p="3" <mask> w="72" <mask> _text={{ <mask> fontSize: 'md', <mask> fontWeight: 'bold', <mask> color: 'white', <mask> letterSpacing: 'lg', <mask> }} <mask> > <mask> This is a Box <mask> </Box> </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove _text={{ color: 'white', fontWeight: '700', fontSize: 'xs' }} </s> add _dark={{ bg: 'violet.400' }} _text={{ color: 'warmGray.50', fontWeight: '700', fontSize: 'xs' }} </s> remove <Center p={1} rounded="full" bg="violet.500" boxSize="10" position="absolute" right="0" m="2" _text={{ color: 'white', textAlign: 'center', fontWeight: '700', fontSize: 'xs', }} > 27 MAR </Center> </s> add </s> remove bottom={0} px="2" py="1" </s> add bottom="0" px="3" py="1.5" </s> remove baseStyle: { py: '4', px: '3', borderBottomWidth: '1', borderColor: 'coolGray.200', _text: { fontSize: 'md', fontWeight: 'semibold', color: 'coolGray.800', lineHeight: 'sm', }, </s> add baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, }; </s> remove </Heading> </s> add </Text>
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/basic.tsx
<mask> import React from 'react'; <mask> import { <mask> Box, <mask> Heading, <mask> Icon, <mask> AspectRatio, <mask> Image, <mask> Text, <mask> Center, <mask> HStack, </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove import { MaterialIcons, Ionicons } from '@expo/vector-icons'; </s> add </s> remove return <Input mx="3" placeholder="Input" />; </s> add return <Input mx="3" placeholder="Input" w={{ base: '70%', md: '25%' }} />; </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading> </s> remove import { Example as CompositionCard } from './composition-card'; import { Example as CompositionCard1 } from './composition-card1'; import { Example as CompositionCard2 } from './composition-card2'; import { Example as CompositionCard3 } from './composition-card3'; import { Example as CompositionShoesCard } from './composition-shoes-card'; </s> add // import { Example as CompositionCard } from './composition-card'; // import { Example as CompositionCard1 } from './composition-card1'; // import { Example as CompositionCard2 } from './composition-card2'; // import { Example as CompositionCard3 } from './composition-card3'; // import { Example as CompositionShoesCard } from './composition-shoes-card'; </s> remove import { Platform } from 'react-native'; </s> add // import { Platform } from 'react-native';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
<mask> Center, <mask> HStack, <mask> Stack, <mask> } from 'native-base'; <mask> import { MaterialIcons, Ionicons } from '@expo/vector-icons'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Box <mask> width="72" </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300"> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading> </s> remove return <Input mx="3" placeholder="Input" />; </s> add return <Input mx="3" placeholder="Input" w={{ base: '70%', md: '25%' }} />; </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Sizes</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading> </s> remove <FormControl isInvalid> </s> add <FormControl isInvalid w={{ base: '70%', md: '25%' }}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
borderRadius="lg" _light={{ backgroundColor: 'coolGray.50' }}
<mask> return ( <mask> <Box <mask> width="72" <mask> shadow={1} <mask> _light={{ backgroundColor: 'gray.50' }} <mask> _dark={{ backgroundColor: 'gray.700' }} <mask> > <mask> <Box> <mask> <AspectRatio ratio={16 / 9}> <mask> <Image </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove _dark={{ color: 'violet.300' }} </s> add _dark={{ color: 'violet.400' }} </s> remove import { MaterialIcons, Ionicons } from '@expo/vector-icons'; </s> add </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400" </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400" </s> remove <Heading </s> add <Text
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
_dark={{ bg: 'violet.400' }} _text={{ color: 'warmGray.50', fontWeight: '700', fontSize: 'xs' }}
<mask> /> <mask> </AspectRatio> <mask> <Center <mask> bg="violet.500" <mask> _text={{ color: 'white', fontWeight: '700', fontSize: 'xs' }} <mask> position="absolute" <mask> bottom={0} <mask> px="2" <mask> py="1" <mask> > </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove bottom={0} px="2" py="1" </s> add bottom="0" px="3" py="1.5" </s> remove <Center p={1} rounded="full" bg="violet.500" boxSize="10" position="absolute" right="0" m="2" _text={{ color: 'white', textAlign: 'center', fontWeight: '700', fontSize: 'xs', }} > 27 MAR </Center> </s> add </s> remove fontWeight: 'bold', color: 'white', </s> add fontWeight: 'medium', color: 'warmGray.50', </s> remove <Stack direction="column" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column" space={3}> </s> remove <Stack direction="column-reverse" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column-reverse" space={3}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
bottom="0" px="3" py="1.5"
<mask> <Center <mask> bg="violet.500" <mask> _text={{ color: 'white', fontWeight: '700', fontSize: 'xs' }} <mask> position="absolute" <mask> bottom={0} <mask> px="2" <mask> py="1" <mask> > <mask> PHOTOS <mask> </Center> <mask> <Center <mask> p={1} </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove _text={{ color: 'white', fontWeight: '700', fontSize: 'xs' }} </s> add _dark={{ bg: 'violet.400' }} _text={{ color: 'warmGray.50', fontWeight: '700', fontSize: 'xs' }} </s> remove <Center p={1} rounded="full" bg="violet.500" boxSize="10" position="absolute" right="0" m="2" _text={{ color: 'white', textAlign: 'center', fontWeight: '700', fontSize: 'xs', }} > 27 MAR </Center> </s> add </s> remove fontWeight: 'bold', color: 'white', </s> add fontWeight: 'medium', color: 'warmGray.50', </s> remove <Stack direction="column" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column" space={3}> </s> remove <Stack direction="column-reverse" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column-reverse" space={3}>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
<mask> py="1" <mask> > <mask> PHOTOS <mask> </Center> <mask> <Center <mask> p={1} <mask> rounded="full" <mask> bg="violet.500" <mask> boxSize="10" <mask> position="absolute" <mask> right="0" <mask> m="2" <mask> _text={{ <mask> color: 'white', <mask> textAlign: 'center', <mask> fontWeight: '700', <mask> fontSize: 'xs', <mask> }} <mask> > <mask> 27 MAR <mask> </Center> <mask> </Box> <mask> <Stack p="4" space={2}> <mask> <Stack space={2}> <mask> <Heading size="md" ml="-1"> <mask> The Garden City </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack p="4" space={2}> </s> add <Stack p="4" space={3}> </s> remove bottom={0} px="2" py="1" </s> add bottom="0" px="3" py="1.5" </s> remove _text={{ color: 'white', fontWeight: '700', fontSize: 'xs' }} </s> add _dark={{ bg: 'violet.400' }} _text={{ color: 'warmGray.50', fontWeight: '700', fontSize: 'xs' }} </s> remove <Heading </s> add <Text </s> remove fontWeight: 'bold', color: 'white', </s> add fontWeight: 'medium', color: 'warmGray.50',
[ "keep", "keep", "keep", "keep", "replace", "replace", "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/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
<Stack p="4" space={3}>
<mask> > <mask> 27 MAR <mask> </Center> <mask> </Box> <mask> <Stack p="4" space={2}> <mask> <Stack space={2}> <mask> <Heading size="md" ml="-1"> <mask> The Garden City <mask> </Heading> <mask> <Heading </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Center p={1} rounded="full" bg="violet.500" boxSize="10" position="absolute" right="0" m="2" _text={{ color: 'white', textAlign: 'center', fontWeight: '700', fontSize: 'xs', }} > 27 MAR </Center> </s> add </s> remove <Heading </s> add <Text </s> remove _dark={{ color: 'violet.300' }} </s> add _dark={{ color: 'violet.400' }} </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Sizes</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
<Text
<mask> <Stack space={2}> <mask> <Heading size="md" ml="-1"> <mask> The Garden City <mask> </Heading> <mask> <Heading <mask> fontSize="xs" <mask> _light={{ color: 'violet.500' }} <mask> _dark={{ color: 'violet.300' }} <mask> fontWeight="500" <mask> ml="-0.5" </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove _dark={{ color: 'violet.300' }} </s> add _dark={{ color: 'violet.400' }} </s> remove <Stack p="4" space={2}> </s> add <Stack p="4" space={3}> </s> remove <Center p={1} rounded="full" bg="violet.500" boxSize="10" position="absolute" right="0" m="2" _text={{ color: 'white', textAlign: 'center', fontWeight: '700', fontSize: 'xs', }} > 27 MAR </Center> </s> add </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400" </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400"
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
_dark={{ color: 'violet.400' }}
<mask> </Heading> <mask> <Heading <mask> fontSize="xs" <mask> _light={{ color: 'violet.500' }} <mask> _dark={{ color: 'violet.300' }} <mask> fontWeight="500" <mask> ml="-0.5" <mask> mt="-1" <mask> > <mask> The Silicon Valley of India. </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Heading </s> add <Text </s> remove </Heading> </s> add </Text> </s> remove <Stack p="4" space={2}> </s> add <Stack p="4" space={3}> </s> remove _light={{ backgroundColor: 'gray.50' }} </s> add borderRadius="lg" _light={{ backgroundColor: 'coolGray.50' }} </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400"
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
</Text>
<mask> ml="-0.5" <mask> mt="-1" <mask> > <mask> The Silicon Valley of India. <mask> </Heading> <mask> </Stack> <mask> <Text fontWeight="400"> <mask> Bengaluru (also called Bangalore) is the center of India's high-tech <mask> industry. The city is also known for its parks and nightlife. <mask> </Text> </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Icon as={<MaterialIcons name="access-time" />} color="gray.500" size="sm" /> <Text ml="1" color="gray.500" fontWeight="500"> </s> add <Text color="coolGray.600" _dark={{ color: 'warmGray.200' }} fontWeight="400" > </s> remove _dark={{ color: 'violet.300' }} </s> add _dark={{ color: 'violet.400' }} </s> remove <Heading </s> add <Text </s> remove <HStack alignItems="center"> <Icon as={<Ionicons name="ios-chatbubbles" />} color="gray.500" size="sm" /> <Text ml="1" color="gray.500" fontWeight="500"> 39 comments </Text> </HStack> </s> add </s> remove <Stack p="4" space={2}> </s> add <Stack p="4" space={3}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
<Text color="coolGray.600" _dark={{ color: 'warmGray.200' }} fontWeight="400" >
<mask> industry. The city is also known for its parks and nightlife. <mask> </Text> <mask> <HStack alignItems="center" space={4} justifyContent="space-between"> <mask> <HStack alignItems="center"> <mask> <Icon <mask> as={<MaterialIcons name="access-time" />} <mask> color="gray.500" <mask> size="sm" <mask> /> <mask> <Text ml="1" color="gray.500" fontWeight="500"> <mask> 6 mins ago <mask> </Text> <mask> </HStack> <mask> <HStack alignItems="center"> <mask> <Icon </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <HStack alignItems="center"> <Icon as={<Ionicons name="ios-chatbubbles" />} color="gray.500" size="sm" /> <Text ml="1" color="gray.500" fontWeight="500"> 39 comments </Text> </HStack> </s> add </s> remove </Heading> </s> add </Text> </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400" </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400" </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300">
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
<mask> <Text ml="1" color="gray.500" fontWeight="500"> <mask> 6 mins ago <mask> </Text> <mask> </HStack> <mask> <HStack alignItems="center"> <mask> <Icon <mask> as={<Ionicons name="ios-chatbubbles" />} <mask> color="gray.500" <mask> size="sm" <mask> /> <mask> <mask> <Text ml="1" color="gray.500" fontWeight="500"> <mask> 39 comments <mask> </Text> <mask> </HStack> <mask> </HStack> <mask> </Stack> <mask> </Box> <mask> ); <mask> }; </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Icon as={<MaterialIcons name="access-time" />} color="gray.500" size="sm" /> <Text ml="1" color="gray.500" fontWeight="500"> </s> add <Text color="coolGray.600" _dark={{ color: 'warmGray.200' }} fontWeight="400" > </s> remove </Heading> </s> add </Text> </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400" </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400" </s> remove <Input w={{ base: '50%', md: '100%' }} placeholder="nativebase" /> </s> add <Input w={{ base: '70%', md: '100%' }} placeholder="nativebase" />
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/composition.tsx
// import { Example as CompositionCard } from './composition-card'; // import { Example as CompositionCard1 } from './composition-card1'; // import { Example as CompositionCard2 } from './composition-card2'; // import { Example as CompositionCard3 } from './composition-card3'; // import { Example as CompositionShoesCard } from './composition-shoes-card';
<mask> import { Example as Basic } from './basic'; <mask> import { Example as LinearGrad } from './LinearGrad'; <mask> import { Example as WithRef } from './WithRef'; <mask> import { Example as Composition } from './composition'; <mask> import { Example as CompositionCard } from './composition-card'; <mask> import { Example as CompositionCard1 } from './composition-card1'; <mask> import { Example as CompositionCard2 } from './composition-card2'; <mask> import { Example as CompositionCard3 } from './composition-card3'; <mask> import { Example as CompositionShoesCard } from './composition-shoes-card'; <mask> import Wrapper from './../../Wrapper'; <mask> <mask> storiesOf('Box', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>) </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove import { MaterialIcons, Ionicons } from '@expo/vector-icons'; </s> add </s> remove return <Input mx="3" placeholder="Input" />; </s> add return <Input mx="3" placeholder="Input" w={{ base: '70%', md: '25%' }} />; </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300"> </s> remove <FormControl isInvalid> </s> add <FormControl isInvalid w={{ base: '70%', md: '25%' }}> </s> remove import { Platform } from 'react-native'; </s> add // import { Platform } from 'react-native';
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/index.tsx
.add('With Ref', () => <WithRef />); // .add('Composition Card', () => <CompositionCard />) // .add('Composition Shoes Card', () => <CompositionShoesCard />) // .add('CompositionCard1', () => <CompositionCard1 />) // .add('CompositionCard2', () => <CompositionCard2 />) // .add('CompositionCard3', () => <CompositionCard3 />);
<mask> .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>) <mask> .add('Basic Box', () => <Basic />) <mask> .add('LinearGradient Box', () => <LinearGrad />) <mask> .add('Composition', () => <Composition />) <mask> .add('With Ref', () => <WithRef />) <mask> .add('Composition Card', () => <CompositionCard />) <mask> .add('Composition Shoes Card', () => <CompositionShoesCard />) <mask> .add('CompositionCard1', () => <CompositionCard1 />) <mask> .add('CompositionCard2', () => <CompositionCard2 />) <mask> .add('CompositionCard3', () => <CompositionCard3 />); </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove import { MaterialIcons, Ionicons } from '@expo/vector-icons'; </s> add </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300"> </s> remove return <Input mx="3" placeholder="Input" />; </s> add return <Input mx="3" placeholder="Input" w={{ base: '70%', md: '25%' }} />; </s> remove <Stack alignItems="center" w="100%"> <InputGroup> </s> add <Stack alignItems="center"> <InputGroup w={{ base: '70%', md: '285' }}> </s> remove <FormControl isInvalid> </s> add <FormControl isInvalid w={{ base: '70%', md: '25%' }}>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Box/index.tsx
<Stack alignItems="center"> <InputGroup w={{ base: '70%', md: '285' }}>
<mask> } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Stack alignItems="center" w="100%"> <mask> <InputGroup> <mask> <InputLeftAddon children={'https://'} /> <mask> <Input w={{ base: '50%', md: '100%' }} placeholder="nativebase" /> <mask> <InputRightAddon children={'.io'} /> <mask> </InputGroup> <mask> </Stack> </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Input w={{ base: '50%', md: '100%' }} placeholder="nativebase" /> </s> add <Input w={{ base: '70%', md: '100%' }} placeholder="nativebase" /> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Sizes</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading> </s> remove <FormControl isInvalid> </s> add <FormControl isInvalid w={{ base: '70%', md: '25%' }}> </s> remove return <Input mx="3" placeholder="Input" />; </s> add return <Input mx="3" placeholder="Input" w={{ base: '70%', md: '25%' }} />;
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/Addons.tsx
<Input w={{ base: '70%', md: '100%' }} placeholder="nativebase" />
<mask> return ( <mask> <Stack alignItems="center" w="100%"> <mask> <InputGroup> <mask> <InputLeftAddon children={'https://'} /> <mask> <Input w={{ base: '50%', md: '100%' }} placeholder="nativebase" /> <mask> <InputRightAddon children={'.io'} /> <mask> </InputGroup> <mask> </Stack> <mask> ); <mask> }; </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack alignItems="center" w="100%"> <InputGroup> </s> add <Stack alignItems="center"> <InputGroup w={{ base: '70%', md: '285' }}> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Sizes</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading> </s> remove <FormControl isInvalid> </s> add <FormControl isInvalid w={{ base: '70%', md: '25%' }}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/Addons.tsx
return <Input mx="3" placeholder="Input" w={{ base: '70%', md: '25%' }} />;
<mask> import React from 'react'; <mask> import { Input } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return <Input mx="3" placeholder="Input" />; <mask> }; </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading> </s> remove import { MaterialIcons, Ionicons } from '@expo/vector-icons'; </s> add </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300"> </s> remove <FormControl isInvalid> </s> add <FormControl isInvalid w={{ base: '70%', md: '25%' }}> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Sizes</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading>
[ "keep", "keep", "keep", "keep", "replace", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/Basic.tsx
w={{ base: '70%', md: '25%' }}
<mask> return ( <mask> <Input <mask> value={value} <mask> onChange={handleChange} <mask> placeholder="Value Controlled Input" <mask> /> <mask> ); <mask> }; </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Sizes</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading> </s> remove <Input w={{ base: '50%', md: '100%' }} placeholder="nativebase" /> </s> add <Input w={{ base: '70%', md: '100%' }} placeholder="nativebase" /> </s> remove Try different from previous used passwords. </s> add Try different from previous passwords. </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading> </s> remove <Stack alignItems="center" w="100%"> <InputGroup> </s> add <Stack alignItems="center"> <InputGroup w={{ base: '70%', md: '285' }}>
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/Controlled.tsx
<Stack space={4} w="100%" maxWidth="300">
<mask> import { MaterialIcons } from '@expo/vector-icons'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Stack space={4}> <mask> <Input <mask> InputLeftElement={ <mask> <Icon <mask> as={<MaterialIcons name="person" />} <mask> size={5} </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove import { MaterialIcons, Ionicons } from '@expo/vector-icons'; </s> add </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400" </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Sizes</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading> </s> remove return <Input mx="3" placeholder="Input" />; </s> add return <Input mx="3" placeholder="Input" w={{ base: '70%', md: '25%' }} />;
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/Elements.tsx
color="muted.400"
<mask> <Icon <mask> as={<MaterialIcons name="person" />} <mask> size={5} <mask> ml="2" <mask> _light={{ color: 'muted.400' }} <mask> _dark={{ color: 'muted.500' }} <mask> /> <mask> } <mask> placeholder="Name" <mask> /> <mask> <Input </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400" </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300"> </s> remove <Icon as={<MaterialIcons name="access-time" />} color="gray.500" size="sm" /> <Text ml="1" color="gray.500" fontWeight="500"> </s> add <Text color="coolGray.600" _dark={{ color: 'warmGray.200' }} fontWeight="400" > </s> remove _dark={{ color: 'violet.300' }} </s> add _dark={{ color: 'violet.400' }} </s> remove <Heading </s> add <Text
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/Elements.tsx
color="muted.400"
<mask> <Icon <mask> as={<MaterialIcons name="visibility-off" />} <mask> size={5} <mask> mr="2" <mask> _light={{ color: 'muted.400' }} <mask> _dark={{ color: 'muted.500' }} <mask> /> <mask> } <mask> placeholder="Password" <mask> /> <mask> </Stack> </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove _light={{ color: 'muted.400' }} _dark={{ color: 'muted.500' }} </s> add color="muted.400" </s> remove <Icon as={<MaterialIcons name="access-time" />} color="gray.500" size="sm" /> <Text ml="1" color="gray.500" fontWeight="500"> </s> add <Text color="coolGray.600" _dark={{ color: 'warmGray.200' }} fontWeight="400" > </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300"> </s> remove _dark={{ color: 'violet.300' }} </s> add _dark={{ color: 'violet.400' }} </s> remove <HStack alignItems="center"> <Icon as={<Ionicons name="ios-chatbubbles" />} color="gray.500" size="sm" /> <Text ml="1" color="gray.500" fontWeight="500"> 39 comments </Text> </HStack> </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/Elements.tsx
<FormControl isInvalid w={{ base: '70%', md: '25%' }}>
<mask> import { Input, FormControl, WarningOutlineIcon } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <FormControl isInvalid> <mask> <FormControl.Label>Password</FormControl.Label> <mask> <Input placeholder="Enter password" /> <mask> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> <mask> Try different from previous used passwords. <mask> </FormControl.ErrorMessage> </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove Try different from previous used passwords. </s> add Try different from previous passwords. </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Sizes</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading> </s> remove import { MaterialIcons, Ionicons } from '@expo/vector-icons'; </s> add </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading> </s> remove return <Input mx="3" placeholder="Input" />; </s> add return <Input mx="3" placeholder="Input" w={{ base: '70%', md: '25%' }} />;
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/FormControlled.tsx
Try different from previous passwords.
<mask> <FormControl isInvalid> <mask> <FormControl.Label>Password</FormControl.Label> <mask> <Input placeholder="Enter password" /> <mask> <FormControl.ErrorMessage leftIcon={<WarningOutlineIcon size="xs" />}> <mask> Try different from previous used passwords. <mask> </FormControl.ErrorMessage> <mask> </FormControl> <mask> ); <mask> }; </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <FormControl isInvalid> </s> add <FormControl isInvalid w={{ base: '70%', md: '25%' }}> </s> remove <Input w={{ base: '50%', md: '100%' }} placeholder="nativebase" /> </s> add <Input w={{ base: '70%', md: '100%' }} placeholder="nativebase" /> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Sizes</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/FormControlled.tsx
w={{ base: '70%', md: '25%' }}
<mask> return ( <mask> <Input <mask> type={show ? 'text' : 'password'} <mask> overflow="visible" <mask> InputRightElement={ <mask> <Button roundedLeft="0" onPress={handleClick}> <mask> {show ? 'Hide' : 'Show'} <mask> </Button> <mask> } </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove // Todo: Update to support similar focusRing on iOS , Android and Web const focusRing = Platform.OS === 'web' ? { boxShadow: props.variant !== 'underlined' ? `${primary[400]} 0px 0px 0px 1px` : `${primary[400]} 0px 1px 0px 0px`, zIndex: 1, } : { // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, }; </s> add // // Todo: Update to support similar focusRing on iOS , Android and Web // const focusRing = // Platform.OS === 'web' // ? { // boxShadow: // props.variant !== 'underlined' // ? `${primary[400]} 0px 0px 0px 1px` // : `${primary[400]} 0px 1px 0px 0px`, // zIndex: 1, // } // : { // // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, // }; </s> remove const { primary } = props.theme.colors; </s> add // const { primary } = props.theme.colors; </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300"> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading>
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/Masked.tsx
<Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading>
<mask> import { Input, Stack, Center, Heading } from 'native-base'; <mask> <mask> export const Example = () => { <mask> return ( <mask> <Stack space={4}> <mask> <Center mb="4"> <mask> <Heading>Input Sizes</Heading> <mask> </Center> <mask> <Input size="xs" placeholder="xs Input" /> <mask> <Input size="sm" placeholder="sm Input" /> <mask> <Input size="md" placeholder="md Input" /> <mask> <Input size="lg" placeholder="lg Input" /> </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Variants</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading> </s> remove <FormControl isInvalid> </s> add <FormControl isInvalid w={{ base: '70%', md: '25%' }}> </s> remove <Stack alignItems="center" w="100%"> <InputGroup> </s> add <Stack alignItems="center"> <InputGroup w={{ base: '70%', md: '285' }}> </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300">
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/Size.tsx
<Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input Variants </Heading>
<mask> import React from 'react'; <mask> import { Input, Stack, Center, Heading } from 'native-base'; <mask> export const Example = () => { <mask> return ( <mask> <Stack space={4}> <mask> <Center mb="4"> <mask> <Heading>Input Variants</Heading> <mask> </Center> <mask> <Input variant="outline" placeholder="Outline" /> <mask> <Input variant="filled" placeholder="Filled" /> <mask> <Input variant="underlined" placeholder="Underlined" /> <mask> <Input variant="unstyled" placeholder="Unstyled" /> </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack space={4}> <Center mb="4"> <Heading>Input Sizes</Heading> </s> add <Stack space={4} w={{ base: '70%', md: '20%' }}> <Center> <Heading textAlign="center" mb="10"> Input sizes </Heading> </s> remove return <Input mx="3" placeholder="Input" />; </s> add return <Input mx="3" placeholder="Input" w={{ base: '70%', md: '25%' }} />; </s> remove <FormControl isInvalid> </s> add <FormControl isInvalid w={{ base: '70%', md: '25%' }}> </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300"> </s> remove import { MaterialIcons, Ionicons } from '@expo/vector-icons'; </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Input/Variant.tsx
<VStack space="2.5" mt="4">
<mask> <mask> export function Example() { <mask> return ( <mask> <ScrollView> <mask> <VStack space="6"> <mask> <Heading>row</Heading> <mask> <Stack direction="row" space={3}> <mask> <Center <mask> size="16" <mask> bg="primary.400" </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack direction="row" space={3}> </s> add <Stack direction="row" mb="2.5" mt="1.5" space={3}> </s> remove <Stack direction="row" reversed space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="row" reversed space={3}> </s> remove <Stack direction="column" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column" space={3}> </s> remove <Stack direction="column-reverse" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column-reverse" space={3}> </s> remove <Stack space={4}> </s> add <Stack space={4} w="100%" maxWidth="300">
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Stack/basic.tsx
<Stack direction="row" mb="2.5" mt="1.5" space={3}>
<mask> return ( <mask> <ScrollView> <mask> <VStack space="6"> <mask> <Heading>row</Heading> <mask> <Stack direction="row" space={3}> <mask> <Center <mask> size="16" <mask> bg="primary.400" <mask> rounded="md" <mask> _text={{ color: 'white' }} </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <VStack space="6"> </s> add <VStack space="2.5" mt="4"> </s> remove <Stack direction="row" reversed space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="row" reversed space={3}> </s> remove <Stack direction="column-reverse" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column-reverse" space={3}> </s> remove <Stack direction="column" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column" space={3}> </s> remove _text={{ color: 'white', fontWeight: '700', fontSize: 'xs' }} </s> add _dark={{ bg: 'violet.400' }} _text={{ color: 'warmGray.50', fontWeight: '700', fontSize: 'xs' }}
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Stack/basic.tsx
<Stack mb="2.5" mt="1.5" direction="column" space={3}>
<mask> </Center> <mask> </Stack> <mask> <Divider /> <mask> <Heading>column</Heading> <mask> <Stack direction="column" space={3}> <mask> <Center <mask> size="16" <mask> bg="primary.400" <mask> rounded="md" <mask> _text={{ color: 'white' }} </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack direction="column-reverse" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column-reverse" space={3}> </s> remove <Stack direction="row" reversed space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="row" reversed space={3}> </s> remove <Stack direction="row" space={3}> </s> add <Stack direction="row" mb="2.5" mt="1.5" space={3}> </s> remove <VStack space="6"> </s> add <VStack space="2.5" mt="4"> </s> remove <Center p={1} rounded="full" bg="violet.500" boxSize="10" position="absolute" right="0" m="2" _text={{ color: 'white', textAlign: 'center', fontWeight: '700', fontSize: 'xs', }} > 27 MAR </Center> </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Stack/basic.tsx
<Stack mb="2.5" mt="1.5" direction="row" reversed space={3}>
<mask> </Center> <mask> </Stack> <mask> <Divider /> <mask> <Heading>row-reverse</Heading> <mask> <Stack direction="row" reversed space={3}> <mask> <Center <mask> size="16" <mask> bg="primary.400" <mask> rounded="md" <mask> _text={{ color: 'white' }} </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack direction="column-reverse" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column-reverse" space={3}> </s> remove <Stack direction="column" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column" space={3}> </s> remove <Stack direction="row" space={3}> </s> add <Stack direction="row" mb="2.5" mt="1.5" space={3}> </s> remove <VStack space="6"> </s> add <VStack space="2.5" mt="4"> </s> remove <Center p={1} rounded="full" bg="violet.500" boxSize="10" position="absolute" right="0" m="2" _text={{ color: 'white', textAlign: 'center', fontWeight: '700', fontSize: 'xs', }} > 27 MAR </Center> </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Stack/basic.tsx
<Stack mb="2.5" mt="1.5" direction="column-reverse" space={3}>
<mask> </Center> <mask> </Stack> <mask> <Divider /> <mask> <Heading>column-reverse</Heading> <mask> <Stack direction="column-reverse" space={3}> <mask> <Center <mask> size="16" <mask> bg="primary.400" <mask> rounded="md" <mask> _text={{ color: 'white' }} </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove <Stack direction="column" space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="column" space={3}> </s> remove <Stack direction="row" reversed space={3}> </s> add <Stack mb="2.5" mt="1.5" direction="row" reversed space={3}> </s> remove <Stack direction="row" space={3}> </s> add <Stack direction="row" mb="2.5" mt="1.5" space={3}> </s> remove <VStack space="6"> </s> add <VStack space="2.5" mt="4"> </s> remove <Center p={1} rounded="full" bg="violet.500" boxSize="10" position="absolute" right="0" m="2" _text={{ color: 'white', textAlign: 'center', fontWeight: '700', fontSize: 'xs', }} > 27 MAR </Center> </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
example/storybook/stories/components/primitives/Stack/basic.tsx
colors.error = colors.rose;
<mask> tertiary: {}, <mask> }; <mask> <mask> colors.danger = colors.red; <mask> colors.error = colors.red; <mask> colors.success = colors.emerald; <mask> colors.warning = colors.orange; <mask> colors.muted = colors.trueGray; <mask> colors.primary = colors.cyan; <mask> colors.secondary = colors.pink; </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove const { primary } = props.theme.colors; </s> add // const { primary } = props.theme.colors; </s> remove baseStyle: { mt: '2', _text: { fontSize: 'xs', _light: { color: 'error.600' }, _dark: { color: 'error.200' }, }, _stack: { space: 1, alignItems: 'center' }, </s> add baseStyle: (props: Record<string, any>) => { return { mt: '2', _text: { fontSize: 'xs', color: mode('danger.600', 'danger.300')(props), }, _stack: { space: 1, alignItems: 'center' }, }; </s> remove baseStyle: { p: '3', bg: 'coolGray.100', flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', </s> add baseStyle: (props: Record<string, any>) => { return { p: '3', bg: mode('coolGray.100', 'gray.600')(props), flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', }; </s> remove baseStyle: { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: 'error.400', mb: '2', mr: '3', </s> add baseStyle: (props: Record<string, any>) => { return { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: mode('danger.600', 'danger.300')(props), mb: '2', mr: '3', }; </s> remove baseStyle: { py: '4', px: '3', borderBottomWidth: '1', borderColor: 'coolGray.200', _text: { fontSize: 'md', fontWeight: 'semibold', color: 'coolGray.800', lineHeight: 'sm', }, </s> add baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, };
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/base/colors.ts
baseStyle: (props: Record<string, any>) => { return { mt: '2', _text: { fontSize: 'xs', color: mode('danger.600', 'danger.300')(props), }, _stack: { space: 1, alignItems: 'center' }, };
<mask> export const FormControl = {}; <mask> <mask> // FormControlErrorMessage <mask> export const FormControlErrorMessage = { <mask> baseStyle: { <mask> mt: '2', <mask> _text: { <mask> fontSize: 'xs', <mask> _light: { color: 'error.600' }, <mask> _dark: { color: 'error.200' }, <mask> }, <mask> _stack: { space: 1, alignItems: 'center' }, <mask> }, <mask> }; <mask> <mask> // FormControlLabel <mask> export const FormControlLabel = { </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove baseStyle: { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: 'error.400', mb: '2', mr: '3', </s> add baseStyle: (props: Record<string, any>) => { return { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: mode('danger.600', 'danger.300')(props), mb: '2', mr: '3', }; </s> remove baseStyle: { py: '4', px: '3', borderBottomWidth: '1', borderColor: 'coolGray.200', _text: { fontSize: 'md', fontWeight: 'semibold', color: 'coolGray.800', lineHeight: 'sm', }, </s> add baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, }; </s> remove baseStyle: { p: '3', bg: 'coolGray.100', flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', </s> add baseStyle: (props: Record<string, any>) => { return { p: '3', bg: mode('coolGray.100', 'gray.600')(props), flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', };
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/form-control.ts
baseStyle: (props: Record<string, any>) => { return { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: mode('danger.600', 'danger.300')(props), mb: '2', mr: '3', };
<mask> }; <mask> <mask> // FormControlLabel <mask> export const FormControlLabel = { <mask> baseStyle: { <mask> _text: { <mask> fontSize: 'sm', <mask> fontWeight: 'medium', <mask> }, <mask> astrickColor: 'error.400', <mask> mb: '2', <mask> mr: '3', <mask> }, <mask> }; <mask> <mask> // FormControlHelperText <mask> export const FormControlHelperText = { </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove baseStyle: { mt: '2', _text: { fontSize: 'xs', _light: { color: 'error.600' }, _dark: { color: 'error.200' }, }, _stack: { space: 1, alignItems: 'center' }, </s> add baseStyle: (props: Record<string, any>) => { return { mt: '2', _text: { fontSize: 'xs', color: mode('danger.600', 'danger.300')(props), }, _stack: { space: 1, alignItems: 'center' }, }; </s> remove baseStyle: { py: '4', px: '3', borderBottomWidth: '1', borderColor: 'coolGray.200', _text: { fontSize: 'md', fontWeight: 'semibold', color: 'coolGray.800', lineHeight: 'sm', }, </s> add baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, }; </s> remove baseStyle: { p: '3', bg: 'coolGray.100', flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', </s> add baseStyle: (props: Record<string, any>) => { return { p: '3', bg: mode('coolGray.100', 'gray.600')(props), flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', };
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/form-control.ts
// import { Platform } from 'react-native';
<mask> import { mode } from '../tools'; <mask> import { Platform } from 'react-native'; <mask> <mask> const baseStyle = (props: Record<string, any>) => { <mask> const { primary } = props.theme.colors; <mask> // Todo: Resolve boxShadow Color or Provide some alternatiove prop for user to change focusRing color <mask> // Todo: Update to support similar focusRing on iOS , Android and Web </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove const { primary } = props.theme.colors; </s> add // const { primary } = props.theme.colors; </s> remove // Todo: Update to support similar focusRing on iOS , Android and Web const focusRing = Platform.OS === 'web' ? { boxShadow: props.variant !== 'underlined' ? `${primary[400]} 0px 0px 0px 1px` : `${primary[400]} 0px 1px 0px 0px`, zIndex: 1, } : { // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, }; </s> add // // Todo: Update to support similar focusRing on iOS , Android and Web // const focusRing = // Platform.OS === 'web' // ? { // boxShadow: // props.variant !== 'underlined' // ? `${primary[400]} 0px 0px 0px 1px` // : `${primary[400]} 0px 1px 0px 0px`, // zIndex: 1, // } // : { // // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, // }; </s> remove borderLeftWidth: 0, roundedRight: 4, </s> add borderLeftWidth: '0', roundedRight: '4', </s> remove borderRightWidth: 0, roundedLeft: 4, </s> add borderRightWidth: '0', roundedLeft: '4', </s> remove import { Example as CompositionCard } from './composition-card'; import { Example as CompositionCard1 } from './composition-card1'; import { Example as CompositionCard2 } from './composition-card2'; import { Example as CompositionCard3 } from './composition-card3'; import { Example as CompositionShoesCard } from './composition-shoes-card'; </s> add // import { Example as CompositionCard } from './composition-card'; // import { Example as CompositionCard1 } from './composition-card1'; // import { Example as CompositionCard2 } from './composition-card2'; // import { Example as CompositionCard3 } from './composition-card3'; // import { Example as CompositionShoesCard } from './composition-shoes-card';
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
// const { primary } = props.theme.colors;
<mask> import { mode } from '../tools'; <mask> import { Platform } from 'react-native'; <mask> <mask> const baseStyle = (props: Record<string, any>) => { <mask> const { primary } = props.theme.colors; <mask> // Todo: Resolve boxShadow Color or Provide some alternatiove prop for user to change focusRing color <mask> // Todo: Update to support similar focusRing on iOS , Android and Web <mask> const focusRing = <mask> Platform.OS === 'web' <mask> ? { </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove import { Platform } from 'react-native'; </s> add // import { Platform } from 'react-native'; </s> remove // Todo: Update to support similar focusRing on iOS , Android and Web const focusRing = Platform.OS === 'web' ? { boxShadow: props.variant !== 'underlined' ? `${primary[400]} 0px 0px 0px 1px` : `${primary[400]} 0px 1px 0px 0px`, zIndex: 1, } : { // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, }; </s> add // // Todo: Update to support similar focusRing on iOS , Android and Web // const focusRing = // Platform.OS === 'web' // ? { // boxShadow: // props.variant !== 'underlined' // ? `${primary[400]} 0px 0px 0px 1px` // : `${primary[400]} 0px 1px 0px 0px`, // zIndex: 1, // } // : { // // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, // }; </s> remove borderLeftWidth: 0, roundedRight: 4, </s> add borderLeftWidth: '0', roundedRight: '4', </s> remove borderRightWidth: 0, roundedLeft: 4, </s> add borderRightWidth: '0', roundedLeft: '4', </s> remove import { Example as CompositionCard } from './composition-card'; import { Example as CompositionCard1 } from './composition-card1'; import { Example as CompositionCard2 } from './composition-card2'; import { Example as CompositionCard3 } from './composition-card3'; import { Example as CompositionShoesCard } from './composition-shoes-card'; </s> add // import { Example as CompositionCard } from './composition-card'; // import { Example as CompositionCard1 } from './composition-card1'; // import { Example as CompositionCard2 } from './composition-card2'; // import { Example as CompositionCard3 } from './composition-card3'; // import { Example as CompositionShoesCard } from './composition-shoes-card';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
// // Todo: Update to support similar focusRing on iOS , Android and Web // const focusRing = // Platform.OS === 'web' // ? { // boxShadow: // props.variant !== 'underlined' // ? `${primary[400]} 0px 0px 0px 1px` // : `${primary[400]} 0px 1px 0px 0px`, // zIndex: 1, // } // : { // // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, // };
<mask> <mask> const baseStyle = (props: Record<string, any>) => { <mask> const { primary } = props.theme.colors; <mask> // Todo: Resolve boxShadow Color or Provide some alternatiove prop for user to change focusRing color <mask> // Todo: Update to support similar focusRing on iOS , Android and Web <mask> const focusRing = <mask> Platform.OS === 'web' <mask> ? { <mask> boxShadow: <mask> props.variant !== 'underlined' <mask> ? `${primary[400]} 0px 0px 0px 1px` <mask> : `${primary[400]} 0px 1px 0px 0px`, <mask> zIndex: 1, <mask> } <mask> : { <mask> // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, <mask> }; <mask> <mask> return { <mask> fontFamily: 'body', <mask> p: '2', <mask> borderRadius: 'sm', </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove const { primary } = props.theme.colors; </s> add // const { primary } = props.theme.colors; </s> remove import { Platform } from 'react-native'; </s> add // import { Platform } from 'react-native'; </s> remove baseStyle: { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: 'error.400', mb: '2', mr: '3', </s> add baseStyle: (props: Record<string, any>) => { return { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: mode('danger.600', 'danger.300')(props), mb: '2', mr: '3', }; </s> remove baseStyle: { mt: '2', _text: { fontSize: 'xs', _light: { color: 'error.600' }, _dark: { color: 'error.200' }, }, _stack: { space: 1, alignItems: 'center' }, </s> add baseStyle: (props: Record<string, any>) => { return { mt: '2', _text: { fontSize: 'xs', color: mode('danger.600', 'danger.300')(props), }, _stack: { space: 1, alignItems: 'center' }, };
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
_ios: { selectionColor: mode('coolGray.800', 'warmGray.50')(props) }, _android: { selectionColor: mode('coolGray.800', 'warmGray.50')(props) },
<mask> // // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, <mask> // }; <mask> <mask> return { <mask> fontFamily: 'body', <mask> p: '2', <mask> borderRadius: 'sm', <mask> color: mode('coolGray.800', 'warmGray.50')(props), <mask> placeholderTextColor: 'muted.400', </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove // Todo: Update to support similar focusRing on iOS , Android and Web const focusRing = Platform.OS === 'web' ? { boxShadow: props.variant !== 'underlined' ? `${primary[400]} 0px 0px 0px 1px` : `${primary[400]} 0px 1px 0px 0px`, zIndex: 1, } : { // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, }; </s> add // // Todo: Update to support similar focusRing on iOS , Android and Web // const focusRing = // Platform.OS === 'web' // ? { // boxShadow: // props.variant !== 'underlined' // ? `${primary[400]} 0px 0px 0px 1px` // : `${primary[400]} 0px 1px 0px 0px`, // zIndex: 1, // } // : { // // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, // }; </s> remove color: mode('muted.900', 'muted.50')(props), placeholderTextColor: mode('muted.400', 'muted.500')(props), </s> add color: mode('coolGray.800', 'warmGray.50')(props), placeholderTextColor: 'muted.400', </s> remove baseStyle: { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: 'error.400', mb: '2', mr: '3', </s> add baseStyle: (props: Record<string, any>) => { return { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: mode('danger.600', 'danger.300')(props), mb: '2', mr: '3', }; </s> remove baseStyle: { mt: '2', _text: { fontSize: 'xs', _light: { color: 'error.600' }, _dark: { color: 'error.200' }, }, _stack: { space: 1, alignItems: 'center' }, </s> add baseStyle: (props: Record<string, any>) => { return { mt: '2', _text: { fontSize: 'xs', color: mode('danger.600', 'danger.300')(props), }, _stack: { space: 1, alignItems: 'center' }, }; </s> remove baseStyle: { py: '4', px: '3', borderBottomWidth: '1', borderColor: 'coolGray.200', _text: { fontSize: 'md', fontWeight: 'semibold', color: 'coolGray.800', lineHeight: 'sm', }, </s> add baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, };
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
color: mode('coolGray.800', 'warmGray.50')(props), placeholderTextColor: 'muted.400',
<mask> return { <mask> fontFamily: 'body', <mask> p: '2', <mask> borderRadius: 'sm', <mask> color: mode('muted.900', 'muted.50')(props), <mask> placeholderTextColor: mode('muted.400', 'muted.500')(props), <mask> background: 'transparent', <mask> borderColor: mode('muted.200', 'muted.600')(props), <mask> _disabled: { <mask> opacity: 0.8, <mask> bg: mode('muted.100', 'muted.700')(props), </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove borderColor: mode('muted.200', 'muted.600')(props), </s> add borderColor: mode('muted.200', 'gray.500')(props), </s> remove opacity: 0.8, </s> add opacity: '0.8', </s> remove _hover: { borderColor: mode('muted.300', 'muted.500')(props), }, </s> add </s> remove bg: mode('muted.300', 'muted.500')(props), </s> add bg: mode('muted.300', 'muted.700')(props),
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
borderColor: mode('muted.200', 'gray.500')(props),
<mask> borderRadius: 'sm', <mask> color: mode('muted.900', 'muted.50')(props), <mask> placeholderTextColor: mode('muted.400', 'muted.500')(props), <mask> background: 'transparent', <mask> borderColor: mode('muted.200', 'muted.600')(props), <mask> _disabled: { <mask> opacity: 0.8, <mask> bg: mode('muted.100', 'muted.700')(props), <mask> }, <mask> _hover: { </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove color: mode('muted.900', 'muted.50')(props), placeholderTextColor: mode('muted.400', 'muted.500')(props), </s> add color: mode('coolGray.800', 'warmGray.50')(props), placeholderTextColor: 'muted.400', </s> remove opacity: 0.8, </s> add opacity: '0.8', </s> remove _hover: { borderColor: mode('muted.300', 'muted.500')(props), }, </s> add </s> remove bg: mode('muted.300', 'muted.500')(props), </s> add bg: mode('muted.300', 'muted.700')(props),
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
opacity: '0.8',
<mask> placeholderTextColor: mode('muted.400', 'muted.500')(props), <mask> background: 'transparent', <mask> borderColor: mode('muted.200', 'muted.600')(props), <mask> _disabled: { <mask> opacity: 0.8, <mask> bg: mode('muted.100', 'muted.700')(props), <mask> }, <mask> _hover: { <mask> borderColor: mode('muted.300', 'muted.500')(props), <mask> }, </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove borderColor: mode('muted.200', 'muted.600')(props), </s> add borderColor: mode('muted.200', 'gray.500')(props), </s> remove color: mode('muted.900', 'muted.50')(props), placeholderTextColor: mode('muted.400', 'muted.500')(props), </s> add color: mode('coolGray.800', 'warmGray.50')(props), placeholderTextColor: 'muted.400', </s> remove _hover: { borderColor: mode('muted.300', 'muted.500')(props), }, </s> add </s> remove bg: mode('muted.300', 'muted.500')(props), </s> add bg: mode('muted.300', 'muted.700')(props), </s> remove borderColor: mode('error.600', 'error.200')(props), </s> add borderColor: mode('danger.600', 'danger.300')(props),
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
<mask> _disabled: { <mask> opacity: 0.8, <mask> bg: mode('muted.100', 'muted.700')(props), <mask> }, <mask> _hover: { <mask> borderColor: mode('muted.300', 'muted.500')(props), <mask> }, <mask> _invalid: { <mask> borderColor: mode('error.600', 'error.200')(props), <mask> }, <mask> _focus: { <mask> style: { ...focusRing }, </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove borderColor: mode('error.600', 'error.200')(props), </s> add borderColor: mode('danger.600', 'danger.300')(props), </s> remove opacity: 0.8, </s> add opacity: '0.8', </s> remove borderColor: mode('muted.200', 'muted.600')(props), </s> add borderColor: mode('muted.200', 'gray.500')(props), </s> remove style: { ...focusRing }, borderColor: 'primary.400', }, _android: { px: '4', py: '3', _focus: { borderColor: 'primary.400', }, }, _ios: { px: '4', py: '3', _focus: { borderColor: 'primary.400', }, </s> add borderColor: mode('primary.400', 'primary.500')(props), </s> remove bg: mode('muted.300', 'muted.500')(props), </s> add bg: mode('muted.300', 'muted.700')(props),
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
borderColor: mode('danger.600', 'danger.300')(props),
<mask> _hover: { <mask> borderColor: mode('muted.300', 'muted.500')(props), <mask> }, <mask> _invalid: { <mask> borderColor: mode('error.600', 'error.200')(props), <mask> }, <mask> _focus: { <mask> style: { ...focusRing }, <mask> borderColor: 'primary.400', <mask> }, </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove _hover: { borderColor: mode('muted.300', 'muted.500')(props), }, </s> add </s> remove style: { ...focusRing }, borderColor: 'primary.400', }, _android: { px: '4', py: '3', _focus: { borderColor: 'primary.400', }, }, _ios: { px: '4', py: '3', _focus: { borderColor: 'primary.400', }, </s> add borderColor: mode('primary.400', 'primary.500')(props), </s> remove opacity: 0.8, </s> add opacity: '0.8', </s> remove bg: mode('muted.300', 'muted.500')(props), </s> add bg: mode('muted.300', 'muted.700')(props), </s> remove borderColor: mode('muted.200', 'muted.600')(props), </s> add borderColor: mode('muted.200', 'gray.500')(props),
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
borderColor: mode('primary.400', 'primary.500')(props),
<mask> _invalid: { <mask> borderColor: mode('error.600', 'error.200')(props), <mask> }, <mask> _focus: { <mask> style: { ...focusRing }, <mask> borderColor: 'primary.400', <mask> }, <mask> _android: { <mask> px: '4', <mask> py: '3', <mask> _focus: { <mask> borderColor: 'primary.400', <mask> }, <mask> }, <mask> _ios: { <mask> px: '4', <mask> py: '3', <mask> _focus: { <mask> borderColor: 'primary.400', <mask> }, <mask> }, <mask> _web: { <mask> outlineWidth: 0, <mask> lineHeight: 'lg', // Todo: Move to _web inside size so that sm and xs don't have this much height <mask> }, </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove outlineWidth: 0, </s> add outlineWidth: '0', </s> remove borderColor: mode('error.600', 'error.200')(props), </s> add borderColor: mode('danger.600', 'danger.300')(props), </s> remove _hover: { borderColor: mode('muted.300', 'muted.500')(props), }, </s> add </s> remove baseStyle: { py: '4', px: '3', borderBottomWidth: '1', borderColor: 'coolGray.200', _text: { fontSize: 'md', fontWeight: 'semibold', color: 'coolGray.800', lineHeight: 'sm', }, </s> add baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, }; </s> remove baseStyle: { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: 'error.400', mb: '2', mr: '3', </s> add baseStyle: (props: Record<string, any>) => { return { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: mode('danger.600', 'danger.300')(props), mb: '2', mr: '3', };
[ "keep", "keep", "keep", "keep", "replace", "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/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
outlineWidth: '0',
<mask> borderColor: 'primary.400', <mask> }, <mask> }, <mask> _web: { <mask> outlineWidth: 0, <mask> lineHeight: 'lg', // Todo: Move to _web inside size so that sm and xs don't have this much height <mask> }, <mask> }; <mask> }; <mask> </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove style: { ...focusRing }, borderColor: 'primary.400', }, _android: { px: '4', py: '3', _focus: { borderColor: 'primary.400', }, }, _ios: { px: '4', py: '3', _focus: { borderColor: 'primary.400', }, </s> add borderColor: mode('primary.400', 'primary.500')(props), </s> remove borderColor: mode('error.600', 'error.200')(props), </s> add borderColor: mode('danger.600', 'danger.300')(props), </s> remove // Todo: Update to support similar focusRing on iOS , Android and Web const focusRing = Platform.OS === 'web' ? { boxShadow: props.variant !== 'underlined' ? `${primary[400]} 0px 0px 0px 1px` : `${primary[400]} 0px 1px 0px 0px`, zIndex: 1, } : { // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, }; </s> add // // Todo: Update to support similar focusRing on iOS , Android and Web // const focusRing = // Platform.OS === 'web' // ? { // boxShadow: // props.variant !== 'underlined' // ? `${primary[400]} 0px 0px 0px 1px` // : `${primary[400]} 0px 1px 0px 0px`, // zIndex: 1, // } // : { // // boxShadow: `${useToken('colors', ['primary.400'])} 0px 0px 0px 1px`, // }; </s> remove baseStyle: { py: '4', px: '3', borderBottomWidth: '1', borderColor: 'coolGray.200', _text: { fontSize: 'md', fontWeight: 'semibold', color: 'coolGray.800', lineHeight: 'sm', }, </s> add baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, }; </s> remove import { Platform } from 'react-native'; </s> add // import { Platform } from 'react-native';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
function roundedStyle(props: Record<string, any>) {
<mask> }, <mask> }; <mask> }; <mask> <mask> function roundedStyle() { <mask> return { <mask> borderRadius: '25', <mask> borderWidth: '1', <mask> }; <mask> } </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove function outlineStyle() { </s> add function outlineStyle(props: Record<string, any>) { </s> remove bg: mode('muted.300', 'muted.500')(props), </s> add bg: mode('muted.300', 'muted.700')(props), </s> remove borderWidth: 1, </s> add borderWidth: '1',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
_hover: { bg: mode('gray.100', 'gray.700')(props), },
<mask> return { <mask> borderRadius: '25', <mask> borderWidth: '1', <mask> }; <mask> } <mask> function outlineStyle(props: Record<string, any>) { <mask> return { <mask> borderWidth: '1', </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove function outlineStyle() { </s> add function outlineStyle(props: Record<string, any>) { </s> remove function roundedStyle() { </s> add function roundedStyle(props: Record<string, any>) { </s> remove bg: mode('muted.300', 'muted.500')(props), </s> add bg: mode('muted.300', 'muted.700')(props), </s> remove baseStyle: { py: '4', px: '3', borderBottomWidth: '1', borderColor: 'coolGray.200', _text: { fontSize: 'md', fontWeight: 'semibold', color: 'coolGray.800', lineHeight: 'sm', }, </s> add baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, };
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
function outlineStyle(props: Record<string, any>) {
<mask> borderRadius: '25', <mask> borderWidth: '1', <mask> }; <mask> } <mask> function outlineStyle() { <mask> return { <mask> borderWidth: '1', <mask> }; <mask> } <mask> function filledStyle(props: Record<string, any>) { </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove function roundedStyle() { </s> add function roundedStyle(props: Record<string, any>) { </s> remove bg: mode('muted.300', 'muted.500')(props), </s> add bg: mode('muted.300', 'muted.700')(props), </s> remove borderWidth: 1, </s> add borderWidth: '1',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
_hover: { bg: mode('gray.100', 'gray.700')(props), },
<mask> return { <mask> borderWidth: '1', <mask> }; <mask> } <mask> function filledStyle(props: Record<string, any>) { <mask> return { <mask> bg: props.bg || mode('muted.200', 'muted.600')(props), <mask> borderWidth: '1', </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove bg: mode('muted.300', 'muted.500')(props), </s> add bg: mode('muted.300', 'muted.700')(props), </s> remove function outlineStyle() { </s> add function outlineStyle(props: Record<string, any>) { </s> remove function roundedStyle() { </s> add function roundedStyle(props: Record<string, any>) { </s> remove borderWidth: 1, </s> add borderWidth: '1',
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
bg: mode('muted.300', 'muted.700')(props),
<mask> bg: props.bg || mode('muted.200', 'muted.600')(props), <mask> borderWidth: '1', <mask> borderColor: 'transparent', <mask> _hover: { <mask> bg: mode('muted.300', 'muted.500')(props), <mask> }, <mask> }; <mask> } <mask> function unstyledStyle() { <mask> return { </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove opacity: 0.8, </s> add opacity: '0.8', </s> remove borderColor: mode('muted.200', 'muted.600')(props), </s> add borderColor: mode('muted.200', 'gray.500')(props), </s> remove _hover: { borderColor: mode('muted.300', 'muted.500')(props), }, </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/input.ts
borderRightWidth: '0', roundedLeft: '4',
<mask> import { mode } from './../tools'; <mask> <mask> const baseStyle = (props: Record<string, any>) => { <mask> return { <mask> borderRightWidth: 0, <mask> roundedLeft: 4, <mask> bg: mode('gray.50', 'gray.700')(props), <mask> p: 3, <mask> borderColor: mode('gray.300', 'gray.600')(props), <mask> borderWidth: 1, <mask> _text: { </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove borderLeftWidth: 0, roundedRight: 4, </s> add borderLeftWidth: '0', roundedRight: '4', </s> remove p: 3, </s> add p: '2', </s> remove p: 3, </s> add p: '2', </s> remove borderWidth: 1, </s> add borderWidth: '1', </s> remove borderWidth: 1, </s> add borderWidth: '1',
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/inputleftaddon.ts
p: '2',
<mask> return { <mask> borderRightWidth: 0, <mask> roundedLeft: 4, <mask> bg: mode('gray.50', 'gray.700')(props), <mask> p: 3, <mask> borderColor: mode('gray.300', 'gray.600')(props), <mask> borderWidth: 1, <mask> _text: { <mask> color: mode('muted.400', 'muted.500')(props), <mask> }, </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove borderWidth: 1, </s> add borderWidth: '1', </s> remove p: 3, </s> add p: '2', </s> remove borderRightWidth: 0, roundedLeft: 4, </s> add borderRightWidth: '0', roundedLeft: '4', </s> remove borderWidth: 1, </s> add borderWidth: '1', </s> remove borderLeftWidth: 0, roundedRight: 4, </s> add borderLeftWidth: '0', roundedRight: '4',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/inputleftaddon.ts
borderWidth: '1',
<mask> roundedLeft: 4, <mask> bg: mode('gray.50', 'gray.700')(props), <mask> p: 3, <mask> borderColor: mode('gray.300', 'gray.600')(props), <mask> borderWidth: 1, <mask> _text: { <mask> color: mode('muted.400', 'muted.500')(props), <mask> }, <mask> }; <mask> }; </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove p: 3, </s> add p: '2', </s> remove borderWidth: 1, </s> add borderWidth: '1', </s> remove p: 3, </s> add p: '2', </s> remove borderRightWidth: 0, roundedLeft: 4, </s> add borderRightWidth: '0', roundedLeft: '4', </s> remove borderLeftWidth: 0, roundedRight: 4, </s> add borderLeftWidth: '0', roundedRight: '4',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/inputleftaddon.ts
borderLeftWidth: '0', roundedRight: '4',
<mask> import { mode } from './../tools'; <mask> <mask> const baseStyle = (props: Record<string, any>) => { <mask> return { <mask> borderLeftWidth: 0, <mask> roundedRight: 4, <mask> bg: mode('gray.50', 'gray.700')(props), <mask> p: 3, <mask> borderColor: mode('gray.300', 'gray.600')(props), <mask> borderWidth: 1, <mask> _text: { </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove borderRightWidth: 0, roundedLeft: 4, </s> add borderRightWidth: '0', roundedLeft: '4', </s> remove p: 3, </s> add p: '2', </s> remove p: 3, </s> add p: '2', </s> remove borderWidth: 1, </s> add borderWidth: '1', </s> remove borderWidth: 1, </s> add borderWidth: '1',
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/inputrightaddon.ts
p: '2',
<mask> return { <mask> borderLeftWidth: 0, <mask> roundedRight: 4, <mask> bg: mode('gray.50', 'gray.700')(props), <mask> p: 3, <mask> borderColor: mode('gray.300', 'gray.600')(props), <mask> borderWidth: 1, <mask> _text: { <mask> color: mode('muted.400', 'muted.500')(props), <mask> }, </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove borderWidth: 1, </s> add borderWidth: '1', </s> remove p: 3, </s> add p: '2', </s> remove borderLeftWidth: 0, roundedRight: 4, </s> add borderLeftWidth: '0', roundedRight: '4', </s> remove borderWidth: 1, </s> add borderWidth: '1', </s> remove borderRightWidth: 0, roundedLeft: 4, </s> add borderRightWidth: '0', roundedLeft: '4',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/inputrightaddon.ts
borderWidth: '1',
<mask> roundedRight: 4, <mask> bg: mode('gray.50', 'gray.700')(props), <mask> p: 3, <mask> borderColor: mode('gray.300', 'gray.600')(props), <mask> borderWidth: 1, <mask> _text: { <mask> color: mode('muted.400', 'muted.500')(props), <mask> }, <mask> }; <mask> }; </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove p: 3, </s> add p: '2', </s> remove borderWidth: 1, </s> add borderWidth: '1', </s> remove p: 3, </s> add p: '2', </s> remove borderLeftWidth: 0, roundedRight: 4, </s> add borderLeftWidth: '0', roundedRight: '4', </s> remove borderRightWidth: 0, roundedLeft: 4, </s> add borderRightWidth: '0', roundedLeft: '4',
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/inputrightaddon.ts
_text: { color: mode('coolGray.800', 'warmGray.50')(props) },
<mask> export const ModalContent = { <mask> baseStyle: (props: Record<string, any>) => { <mask> return { <mask> bg: mode('coolGray.50', 'gray.700')(props), <mask> shadow: 1, <mask> rounded: 'lg', <mask> maxHeight: `${Dimensions.get('window').height - 150}px`, <mask> overflow: 'hidden', <mask> }; </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove baseStyle: { p: '3', bg: 'coolGray.100', flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', </s> add baseStyle: (props: Record<string, any>) => { return { p: '3', bg: mode('coolGray.100', 'gray.600')(props), flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', }; </s> remove baseStyle: { py: '4', px: '3', borderBottomWidth: '1', borderColor: 'coolGray.200', _text: { fontSize: 'md', fontWeight: 'semibold', color: 'coolGray.800', lineHeight: 'sm', }, </s> add baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, }; </s> remove baseStyle: { mt: '2', _text: { fontSize: 'xs', _light: { color: 'error.600' }, _dark: { color: 'error.200' }, }, _stack: { space: 1, alignItems: 'center' }, </s> add baseStyle: (props: Record<string, any>) => { return { mt: '2', _text: { fontSize: 'xs', color: mode('danger.600', 'danger.300')(props), }, _stack: { space: 1, alignItems: 'center' }, }; </s> remove baseStyle: { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: 'error.400', mb: '2', mr: '3', </s> add baseStyle: (props: Record<string, any>) => { return { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: mode('danger.600', 'danger.300')(props), mb: '2', mr: '3', }; </s> remove borderLeftWidth: 0, roundedRight: 4, </s> add borderLeftWidth: '0', roundedRight: '4',
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/modal.ts
baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, };
<mask> }; <mask> }, <mask> }; <mask> export const ModalHeader = { <mask> baseStyle: { <mask> py: '4', <mask> px: '3', <mask> borderBottomWidth: '1', <mask> borderColor: 'coolGray.200', <mask> _text: { <mask> fontSize: 'md', <mask> fontWeight: 'semibold', <mask> color: 'coolGray.800', <mask> lineHeight: 'sm', <mask> }, <mask> }, <mask> }; <mask> export const ModalBody = { <mask> baseStyle: (props: Record<string, any>) => { <mask> return { </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove baseStyle: { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: 'error.400', mb: '2', mr: '3', </s> add baseStyle: (props: Record<string, any>) => { return { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: mode('danger.600', 'danger.300')(props), mb: '2', mr: '3', }; </s> remove baseStyle: { p: '3', bg: 'coolGray.100', flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', </s> add baseStyle: (props: Record<string, any>) => { return { p: '3', bg: mode('coolGray.100', 'gray.600')(props), flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', }; </s> remove baseStyle: { mt: '2', _text: { fontSize: 'xs', _light: { color: 'error.600' }, _dark: { color: 'error.200' }, }, _stack: { space: 1, alignItems: 'center' }, </s> add baseStyle: (props: Record<string, any>) => { return { mt: '2', _text: { fontSize: 'xs', color: mode('danger.600', 'danger.300')(props), }, _stack: { space: 1, alignItems: 'center' }, }; </s> remove style: { ...focusRing }, borderColor: 'primary.400', }, _android: { px: '4', py: '3', _focus: { borderColor: 'primary.400', }, }, _ios: { px: '4', py: '3', _focus: { borderColor: 'primary.400', }, </s> add borderColor: mode('primary.400', 'primary.500')(props),
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/modal.ts
baseStyle: (props: Record<string, any>) => { return { p: '3', bg: mode('coolGray.100', 'gray.600')(props), flexDirection: 'row', justifyContent: 'flex-end', flexWrap: 'wrap', };
<mask> }; <mask> }, <mask> }; <mask> export const ModalFooter = { <mask> baseStyle: { <mask> p: '3', <mask> bg: 'coolGray.100', <mask> flexDirection: 'row', <mask> justifyContent: 'flex-end', <mask> flexWrap: 'wrap', <mask> }, <mask> }; <mask> export const ModalOverlay = { <mask> baseStyle: { <mask> position: 'absolute', </s> Fix/container flex (#4057) * fix: design dark mode * fix: margin * fix: strict mode changes * Update usage.tsx * fix: input and form control * fix: strict-mode-fixe * fix: minor fixes * Update nativebase.config.ts * Update WithRef.tsx * Update basic.tsx Co-authored-by: Vidhi Kataria <[email protected]> Co-authored-by: Rohit Singh <[email protected]> </s> remove baseStyle: { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: 'error.400', mb: '2', mr: '3', </s> add baseStyle: (props: Record<string, any>) => { return { _text: { fontSize: 'sm', fontWeight: 'medium', }, astrickColor: mode('danger.600', 'danger.300')(props), mb: '2', mr: '3', }; </s> remove baseStyle: { py: '4', px: '3', borderBottomWidth: '1', borderColor: 'coolGray.200', _text: { fontSize: 'md', fontWeight: 'semibold', color: 'coolGray.800', lineHeight: 'sm', }, </s> add baseStyle: (props: Record<string, any>) => { return { py: '4', px: '3', borderBottomWidth: '1', borderColor: mode('coolGray.200', 'gray.600')(props), _text: { fontSize: 'md', fontWeight: 'semibold', color: mode('coolGray.800', 'warmGray.50')(props), lineHeight: 'sm', }, }; </s> remove baseStyle: { mt: '2', _text: { fontSize: 'xs', _light: { color: 'error.600' }, _dark: { color: 'error.200' }, }, _stack: { space: 1, alignItems: 'center' }, </s> add baseStyle: (props: Record<string, any>) => { return { mt: '2', _text: { fontSize: 'xs', color: mode('danger.600', 'danger.300')(props), }, _stack: { space: 1, alignItems: 'center' }, }; </s> remove return <Input mx="3" placeholder="Input" />; </s> add return <Input mx="3" placeholder="Input" w={{ base: '70%', md: '25%' }} />;
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c3e540c655820b7b07db40660855b390fb1b01d
src/theme/components/modal.ts
}, itemTextStyle: { color: this.props.itemTextColor, },
<mask> // alignItems: 'flex-end' <mask> }, <mask> pickerItem: { <mask> <mask> } <mask> } <mask> } <mask> _setModalVisible(visible) { <mask> this.setState({modalVisible: visible}); <mask> } </s> add style props : itemTextColor, iconColor, modalStyle </s> remove (<Icon name='ios-checkmark-outline' />) </s> add (<Icon name='ios-checkmark-outline' style={{color: this.props.iconColor}} />) </s> remove <Text >{child.props.label}</Text> </s> add <Text style={[this.getInitialStyle().itemTextStyle, child.props.textStyle]} >{child.props.label}</Text> </s> remove <Container> </s> add <Container style={this.props.modalStyle}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c7b53dcaf46414a094136637a4c1205d05758a1
Components/Widgets/Picker.ios.js
<Container style={this.props.modalStyle}>
<mask> transparent={false} <mask> visible={this.state.modalVisible} <mask> onRequestClose={() => {this._setModalVisible(false)}} <mask> > <mask> <Container> <mask> {this.renderHeader()} <mask> <Content> <mask> <List dataArray={this.props.children} <mask> renderRow={(child) => <mask> <ListItem style={{paddingVertical: 5}} iconRight button onPress={() => {this._setModalVisible(false);this.props.onValueChange(child.props.value); this.setState({current: child.props.label})}} > </s> add style props : itemTextColor, iconColor, modalStyle </s> remove (<Icon name='ios-checkmark-outline' />) </s> add (<Icon name='ios-checkmark-outline' style={{color: this.props.iconColor}} />) </s> remove <Text >{child.props.label}</Text> </s> add <Text style={[this.getInitialStyle().itemTextStyle, child.props.textStyle]} >{child.props.label}</Text> </s> remove } </s> add }, itemTextStyle: { color: this.props.itemTextColor, },
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c7b53dcaf46414a094136637a4c1205d05758a1
Components/Widgets/Picker.ios.js
<Text style={[this.getInitialStyle().itemTextStyle, child.props.textStyle]} >{child.props.label}</Text>
<mask> <Content> <mask> <List dataArray={this.props.children} <mask> renderRow={(child) => <mask> <ListItem style={{paddingVertical: 5}} iconRight button onPress={() => {this._setModalVisible(false);this.props.onValueChange(child.props.value); this.setState({current: child.props.label})}} > <mask> <Text >{child.props.label}</Text> <mask> {(child.props.value===this.props.selectedValue) ? <mask> (<Icon name='ios-checkmark-outline' />) <mask> : <mask> (<Icon name='ios-checkmark-outline' style={{color: 'transparent'}} />) <mask> } </s> add style props : itemTextColor, iconColor, modalStyle </s> remove <Container> </s> add <Container style={this.props.modalStyle}> </s> remove (<Icon name='ios-checkmark-outline' />) </s> add (<Icon name='ios-checkmark-outline' style={{color: this.props.iconColor}} />) </s> remove } </s> add }, itemTextStyle: { color: this.props.itemTextColor, },
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c7b53dcaf46414a094136637a4c1205d05758a1
Components/Widgets/Picker.ios.js
(<Icon name='ios-checkmark-outline' style={{color: this.props.iconColor}} />)
<mask> renderRow={(child) => <mask> <ListItem style={{paddingVertical: 5}} iconRight button onPress={() => {this._setModalVisible(false);this.props.onValueChange(child.props.value); this.setState({current: child.props.label})}} > <mask> <Text >{child.props.label}</Text> <mask> {(child.props.value===this.props.selectedValue) ? <mask> (<Icon name='ios-checkmark-outline' />) <mask> : <mask> (<Icon name='ios-checkmark-outline' style={{color: 'transparent'}} />) <mask> } <mask> </ListItem> <mask> }> </s> add style props : itemTextColor, iconColor, modalStyle </s> remove <Container> </s> add <Container style={this.props.modalStyle}> </s> remove <Text >{child.props.label}</Text> </s> add <Text style={[this.getInitialStyle().itemTextStyle, child.props.textStyle]} >{child.props.label}</Text> </s> remove } </s> add }, itemTextStyle: { color: this.props.itemTextColor, },
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c7b53dcaf46414a094136637a4c1205d05758a1
Components/Widgets/Picker.ios.js
import { usePropsResolution } from '../../../hooks/useThemeProps';
<mask> import React, { memo, forwardRef } from 'react'; <mask> import { Pressable } from '../../primitives/Pressable'; <mask> import { Icon } from '../../primitives/Icon'; <mask> import { usePropsResolutionTest } from '../../../hooks/useThemeProps'; <mask> import { composeEventHandlers } from '../../../utils'; <mask> import type { IIconButtonProps } from './types'; <mask> import { <mask> useHover, <mask> useFocus, </s> feat: added support for gradiant and contrast text </s> remove import { usePropsResolutionTest } from '../../../hooks/useThemeProps'; </s> add import { usePropsResolution } from '../../../hooks/useThemeProps'; </s> remove import { usePropsResolutionTest } from '../../../hooks/useThemeProps'; </s> add import { usePropsResolution } from '../../../hooks/useThemeProps'; </s> remove import { usePropsResolution, usePropsResolutionTest, } from '../../../hooks/useThemeProps'; </s> add import { usePropsResolution } from '../../../hooks/useThemeProps'; </s> remove import { usePropsResolutionTest, usePropsResolution, } from '../../../hooks/useThemeProps'; </s> add import { usePropsResolution } from '../../../hooks/useThemeProps'; </s> remove // TODO: have to remove as many ts-ignore as possible. const platformPropsMap = ['_ios', '_android', '_web']; const colorModePropsMap = ['_light', '_dark']; const statePropsMap = [ '_invalid', '_disabled', '_checked', '_hover', '_pressed', '_focused', </s> add import { useFlattenProps } from './useFlattenProps'; const specificityOrder = [ 'p', 'padding', 'px', 'py', 'pt', 'pb', 'pl', 'pr', 'paddingTop', 'paddingBottom', 'paddingLeft', 'paddingRight', 'm', 'margin', 'mx', 'my', 'mt', 'mb', 'ml', 'mr', 'marginTop', 'marginBottom', 'marginLeft', 'marginRight',
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c8f25bf84172d867d3f6146ef6fc1d75f965c51
src/components/composites/IconButton/index.tsx
} = usePropsResolution('IconButton', props, {
<mask> onHoverOut, <mask> onFocus, <mask> onBlur, <mask> ...resolvedProps <mask> } = usePropsResolutionTest('IconButton', props, { <mask> isHovered, <mask> isPressed, <mask> isFocused, <mask> }); <mask> </s> feat: added support for gradiant and contrast text </s> remove } = usePropsResolutionTest('Pressable', props, { </s> add } = usePropsResolution('Pressable', props, { </s> remove const { _text, ...resolvedProps } = usePropsResolutionTest('Box', props); </s> add const { _text, ...resolvedProps } = usePropsResolution('Box', props); </s> remove } = usePropsResolutionTest('Button', props); </s> add } = usePropsResolution('Button', props); </s> remove /** * @summary Resolved pseudo props and returns a flattened object. * @arg {object} {props, platform, colorMode, state} - . * @arg {number} currentDepth - . * @returns {object} Resolved and flattened props. */ const pseudoPropsResolver = ( { props, platform, colormode, state }: any, currentDepth: number ) => { for (const property in props) { // @ts-ignore if (pseudoPropsMap[property]) { if (shouldResolve({ property: property, state, platform, colormode })) { pseudoPropsResolver( { props: props[property], platform, colormode, state, }, currentDepth + 1 ); } } else { if ( flattenProps[property] === undefined || propertyDepth[property] <= currentDepth ) { propertyDepth[property] = currentDepth; if (property.startsWith('_')) { flattenProps[property] = merge( {}, flattenProps[property], props[property] ); } else { delete flattenProps[property]; flattenProps[property] = props[property]; } } } } return flattenProps; </s> add const specificityMaps: any = { ...paddingMap, ...marginMap, </s> remove // let ignore: any = []; // if ( // flattenProps.bg?.linearGradient || // flattenProps.background?.linearGradient || // flattenProps.bgColor?.linearGradient || // flattenProps.backgroundColor?.linearGradient // ) { // let bgProp = 'bg'; // if (flattenProps.background?.linearGradient) { // bgProp = 'background'; // } else if (flattenProps.bgColor?.linearGradient) { // bgProp = 'bgColor'; // } else if (flattenProps.backgroundColor?.linearGradient) { // bgProp = 'backgroundColor'; // } // flattenProps[bgProp].linearGradient.colors = flattenProps[ // bgProp // ].linearGradient.colors.map((color: string) => { // return get(theme.colors, color, color); // }); // ignore = ['bg', 'background', 'backgroundColor', 'bgColor']; // } </s> add let ignore: any = []; if ( flattenProps.bg?.linearGradient || flattenProps.background?.linearGradient || flattenProps.bgColor?.linearGradient || flattenProps.backgroundColor?.linearGradient ) { let bgProp = 'bg'; if (flattenProps.background?.linearGradient) { bgProp = 'background'; } else if (flattenProps.bgColor?.linearGradient) { bgProp = 'bgColor'; } else if (flattenProps.backgroundColor?.linearGradient) { bgProp = 'backgroundColor'; } flattenProps[bgProp].linearGradient.colors = flattenProps[ bgProp ].linearGradient.colors.map((color: string) => { return get(theme.colors, color, color); }); ignore = ['bg', 'background', 'backgroundColor', 'bgColor']; }
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/8c8f25bf84172d867d3f6146ef6fc1d75f965c51
src/components/composites/IconButton/index.tsx