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> : !thi... | [
"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.setS... | [
"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
... | [
"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(t... | [
"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
... | [
"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 ... | [
"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()) {
... | [
"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... | [
"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> 'Na... | [
"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 r... | [
"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.... | [
"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>... | [
"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> "s... | [
"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 FormikExamp... | [
"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('FormContro... | [
"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 />)
... | [
"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 impo... | [
"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... | <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... | [
"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.Platf... | <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:{fo... | [
"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> };
<ma... | [
"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 ... | [
"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 pad... | [
"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 pad... | [
"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:deviceHei... | [
"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'?... | [
"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={{fo... | <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: th... | [
"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') ? undefin... | <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.rend... | [
"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 ... | [
"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> ... | [
"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> ... | [
"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> ... | [
"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}... | [
"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' : '#b3c7f... | [
"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" sour... | [
"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... | [
"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... | [
"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
... | [
"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 fl... | [
"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> ... | [
"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> </Cent... | [
"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> ... | [
"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 ... | [
"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> ... | [
"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> ... | [
"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> ... | [
"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-tim... | [
"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... | [
"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 CompositionShoesCar... | <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> impor... | [
"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', () => <CompositionCa... | <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', () => ... | [
"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>... | [
"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>
<ma... | [
"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... | [
"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... | [
"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={... | [
"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... | [
"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="Pass... | [
"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> <FormContr... | [
"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> </FormCont... | [
"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... | [
"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"... | [
"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 var... | [
"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/contai... | [
"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={{... | [
"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> ... | [
"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>... | [
"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"
<... | [
"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> ... | [
"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' },
<... | [
"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> };
... | [
"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... | [
"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... | [
"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`,
/... | <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> ... | [
"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> placeholderTextCol... | [
"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', 'mute... | [
"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,
<... | [
"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:... | [
"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),
<... | [
"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> ... | [
"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: {
<m... | [
"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)
... | [
"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
* fi... | [
"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
... | [
"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: ma... | [
"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: margi... | [
"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/co... | [
"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')(prop... | [
"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),... | [
"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/co... | [
"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')(prop... | [
"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),... | [
"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/c... | [
"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:... | [
"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),
li... | <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> ... | [
"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 = {
<m... | [
"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,
i... | [
"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> ... | [
"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.on... | [
"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> ... | [
"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';
<m... | [
"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 }... | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/8c8f25bf84172d867d3f6146ef6fc1d75f965c51 | src/components/composites/IconButton/index.tsx |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.