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
lineHeight: 13
<mask> }, <mask> btnActiveTextStyle: { <mask> color: this.getTheme().tabBarActiveTextColor, <mask> fontSize: (Platform.OS=='ios') ? 12.5 : 11, <mask> lineHeight: 15 <mask> }, <mask> btnStringTextStyle: { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/031bde76daaa8424134030ea31ab33497fe494d9
Components/Widgets/FooterTab.js
alignSelf: 'center', flex: 1, borderRadius: 0, justifyContent: 'center', height: this.getTheme().footerHeight
<mask> fontSize: (Platform.OS=='ios') ? 14 : 12, <mask> lineHeight: 16 <mask> }, <mask> btnStyle: { <mask> alignSelf: 'center' <mask> } <mask> } <mask> } <mask> <mask> prepareRootProps() { </s> git push foote...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/031bde76daaa8424134030ea31ab33497fe494d9
Components/Widgets/FooterTab.js
// console.log('this.props.children', this.props.children);
<mask> <mask> } <mask> <mask> renderFooter() { <mask> var childrenArray = React.Children.toArray(this.props.children); <mask> var newChildren = []; <mask> <mask> {childrenArray.map((child, i) => { <mask> if (typeof child.props.children==='string') { <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/031bde76daaa8424134030ea31ab33497fe494d9
Components/Widgets/FooterTab.js
style: [this.getInitialStyle().btnStyle, {backgroundColor: (child.props.active) ? this.getTheme().tabActiveBgColor : undefined }],
<mask> <mask> {childrenArray.map((child, i) => { <mask> if (typeof child.props.children==='string') { <mask> newChildren.push(React.cloneElement(child, { <mask> style: this.getInitialStyle().btnStyle, <mask> vertical: true, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/031bde76daaa8424134030ea31ab33497fe494d9
Components/Widgets/FooterTab.js
style={[this.getInitialStyle().btnStyle, {backgroundColor: (child.props.active) ? this.getTheme().tabActiveBgColor : undefined}]}
<mask> if (iconElement.length>0) { <mask> newChildren.push( <mask> <Button transparent vertical <mask> capitalize={false} <mask> style={this.getInitialStyle().btnStyle} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/031bde76daaa8424134030ea31ab33497fe494d9
Components/Widgets/FooterTab.js
style={[this.getInitialStyle().btnStyle, {backgroundColor: (child.props.active) ? this.getTheme().tabActiveBgColor : undefined}]}
<mask> else { <mask> newChildren.push( <mask> <Button transparent vertical <mask> capitalize={false} <mask> style={this.getInitialStyle().btnStyle} <mask> key={i}> <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/031bde76daaa8424134030ea31ab33497fe494d9
Components/Widgets/FooterTab.js
import { Picker, Modal, View, ViewPropTypes, FlatList } from "react-native";
<mask> import React, { Component } from "react"; <mask> import PropTypes from "prop-types"; <mask> import createReactClass from "create-react-class"; <mask> import { Picker, Modal, View, ListView, ViewPropTypes } from "react-native"; <mask> import _ from "lodash"; <mask> import { Text } from "./Text"; <mask> imp...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03502034bcdd3cf86344d876fcc4216ce3c8c9aa
src/basic/Picker.ios.js
<FlatList data={this.state.dataSource} renderItem={({item}) => <ListItem selected={item.props.value === this.props.selectedValue} button style={this.props.itemStyle} onPress={() => { this._setModalVisible(fal...
<mask> > <mask> <Container> <mask> {this.renderHeader()} <mask> <Content> <mask> <List <mask> dataArray={this.state.dataSource} <mask> renderRow={child => ( <mask> <ListItem <mask> sele...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/GeekyAnts/NativeBase/commit/03502034bcdd3cf86344d876fcc4216ce3c8c9aa
src/basic/Picker.ios.js
</Right> </ListItem>} />
<mask> )} <mask> </Right> <mask> </ListItem> <mask> )} <mask> /> <mask> </Content> <mask> </Container> <mask> </Modal> <mask> </View> <mask> ); </s> Possible Fix for issue #1239 R...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03502034bcdd3cf86344d876fcc4216ce3c8c9aa
src/basic/Picker.ios.js
import { Pressable } from '../../primitives/Pressable';
<mask> import React, { memo, forwardRef } from 'react'; <mask> import { ModalContext } from './Context'; <mask> import { usePropsResolution } from '../../../hooks'; <mask> import Button from '../../primitives/Button/Button'; <mask> import { CloseIcon } from '../../primitives/Icon/Icons'; <mask> import type { IBut...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03bce4e64b42d9322740b26eca3308bc94e11638
src/components/composites/Modal/ModalCloseButton.tsx
import { useHover, useFocus, useIsPressed, } from '../../primitives/Pressable/Pressable'; import { composeEventHandlers } from '../../../utils'; import { useFocusRing } from '@react-native-aria/focus';
<mask> import Button from '../../primitives/Button/Button'; <mask> import { CloseIcon } from '../../primitives/Icon/Icons'; <mask> import type { IButtonProps } from '../../primitives/Button'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> import { useHover } from '@reac...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03bce4e64b42d9322740b26eca3308bc94e11638
src/components/composites/Modal/ModalCloseButton.tsx
const { hoverProps, isHovered } = useHover(); const { pressableProps, isPressed } = useIsPressed(); const { focusProps, isFocused } = useFocus(); const { isFocusVisible, focusProps: focusRingProps }: any = useFocusRing(); const { _icon, onPressIn, onPressOut, onHoverIn, onHoverOut, on...
<mask> import { useHover } from '@react-native-aria/interactions'; <mask> import { mergeRefs } from '../../../utils'; <mask> <mask> const ModalCloseButton = (props: IButtonProps, ref?: any) => { <mask> const _ref = React.useRef(null); <mask> const { isHovered } = useHover({}, _ref); <mask> const { _icon, ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03bce4e64b42d9322740b26eca3308bc94e11638
src/components/composites/Modal/ModalCloseButton.tsx
<Pressable accessibilityRole="button" ref={ref} onPressIn={composeEventHandlers(onPressIn, pressableProps.onPressIn)} onPressOut={composeEventHandlers(onPressOut, pressableProps.onPressOut)} // @ts-ignore - web only onHoverIn={composeEventHandlers(onHoverIn, hoverProps.onHoverIn)...
<mask> if (useHasResponsiveProps(props)) { <mask> return null; <mask> } <mask> return ( <mask> <Button <mask> variant="ghost" <mask> {...resolvedProps} <mask> onPress={handleClose} <mask> accessibilityLabel="Close dialog" <mask> ref={mergeRefs([ref, _ref])} <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03bce4e64b42d9322740b26eca3308bc94e11638
src/components/composites/Modal/ModalCloseButton.tsx
{...resolvedProps}
<mask> <Button <mask> variant="ghost" <mask> {...resolvedProps} <mask> onPress={handleClose} <mask> accessibilityLabel="Close dialog" <mask> ref={mergeRefs([ref, _ref])} <mask> > <mask> <CloseIcon {..._icon} /> <mask> </Button> <mask> ); <mask> }; </s> fix: ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03bce4e64b42d9322740b26eca3308bc94e11638
src/components/composites/Modal/ModalCloseButton.tsx
</Pressable>
<mask> accessibilityLabel="Close dialog" <mask> ref={mergeRefs([ref, _ref])} <mask> > <mask> <CloseIcon {..._icon} /> <mask> </Button> <mask> ); <mask> }; <mask> <mask> export default memo(forwardRef(ModalCloseButton)); </s> fix: hover and press issue in close icon button </s> rem...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03bce4e64b42d9322740b26eca3308bc94e11638
src/components/composites/Modal/ModalCloseButton.tsx
"node_modules/(?!(react-native|styled-components|expo-asset|expo-constants|@unimodules|react-native-unimodules|expo-font|react-native-svg|@expo/vector-icons|styled-system|react-native-vector-icons|@react-native-aria/checkbox|@react-native-aria/interactions|@react-native-aria/button|@react-native-aria/switch|@reac...
<mask> "<rootDir>/example/node_modules", <mask> "<rootDir>/lib/" <mask> ], <mask> "transformIgnorePatterns": [ <mask> "node_modules/(?!(react-native|styled-components|expo-asset|expo-constants|@unimodules|react-native-unimodules|expo-font|react-native-svg|@expo/vector-icons|styled-system|...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03ebe1d9d1c17d5f54a22b4713dd57799d7c4e19
package.json
import { platformSpecificSpaceUnits } from '../theme/tools/utils';
<mask> NativeBaseConfigProvider, <mask> } from './NativeBaseContext'; <mask> import { Platform } from 'react-native'; <mask> <mask> // For SSR to work, we need to pass initial insets as 0 values on web. <mask> <mask> // https://github.com/th3rdwave/react-native-safe-area-context/issues/132 </s> feat: add re...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03ebe1d9d1c17d5f54a22b4713dd57799d7c4e19
src/core/NativeBaseProvider.tsx
const newTheme = React.useMemo(() => platformSpecificSpaceUnits(theme), [ theme, ]);
<mask> initialWindowMetrics, <mask> } = props; <mask> const theme = config.theme ?? propsTheme; <mask> <mask> return ( <mask> <ThemeProvider theme={newTheme}> <mask> <NativeBaseConfigProvider config={config}> <mask> <SafeAreaProvider <mask> initialMetrics={ <mask> ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03ebe1d9d1c17d5f54a22b4713dd57799d7c4e19
src/core/NativeBaseProvider.tsx
<ThemeProvider theme={newTheme}>
<mask> } = props; <mask> const theme = config.theme ?? propsTheme; <mask> <mask> return ( <mask> <ThemeProvider theme={theme}> <mask> <NativeBaseConfigProvider config={config}> <mask> <SafeAreaProvider <mask> initialMetrics={ <mask> initialWindowMetrics ?? default...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03ebe1d9d1c17d5f54a22b4713dd57799d7c4e19
src/core/NativeBaseProvider.tsx
import get from 'lodash.get'; import type { ITheme } from '../base'; import { Platform } from 'react-native';
<mask> import pick from 'lodash.pick'; <mask> import omit from 'lodash.omit'; <mask> <mask> export const stylingProps = { <mask> margin: [ <mask> 'margin', </s> feat: add rem support on web </s> remove <ThemeProvider theme={theme}> </s> add <ThemeProvider theme={newTheme}> </s> remove "node...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/03ebe1d9d1c17d5f54a22b4713dd57799d7c4e19
src/theme/tools/utils.ts
import { View } from 'react-native';
<mask> import React from 'react'; <mask> import { storiesOf } from '@storybook/react-native'; <mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import Flexible from './Flexible'; <mask> import Fixed from './Fixed'; </s> feat: added use cases for safeareaview props </s> remove import Basic from './...
[ "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/049112371ab48df8c788e913752da3ead1c61265
example/storybook/stories/hooks/useSafeArea/index.tsx
import Flexible from './Flexible'; import Fixed from './Fixed'; import Hook from './Hook';
<mask> import React from 'react'; <mask> import { storiesOf } from '@storybook/react-native'; <mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import Basic from './Basic'; <mask> import { View } from 'react-native'; <mask> <mask> storiesOf('useSafeArea', module) <mask> .addDecorator(withKnob...
[ "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/049112371ab48df8c788e913752da3ead1c61265
example/storybook/stories/hooks/useSafeArea/index.tsx
.add('Flexible', () => <Flexible />) .add('Fixed', () => <Fixed />) .add('Hook', () => <Hook />);
<mask> <mask> storiesOf('useSafeArea', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => <View>{getStory()}</View>) <mask> .add('Basic', () => <Basic />); </s> feat: added use cases for safeareaview props </s> remove import Basic from './Basic'; import { View } from 'react-nat...
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/049112371ab48df8c788e913752da3ead1c61265
example/storybook/stories/hooks/useSafeArea/index.tsx
const safeAreaProps = useSafeArea(viewProps); return <StyledView {...safeAreaProps} ref={ref} />;
<mask> ); <mask> <mask> const View = (props: IViewProps, ref: any) => { <mask> const viewProps = useThemeProps('View', props); <mask> const safeProps = useSafeArea(viewProps); <mask> return <StyledView {...safeProps} ref={ref} />; <mask> }; <mask> export default React.memo(React.forwardRef(View)); <mask...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/049112371ab48df8c788e913752da3ead1c61265
src/components/primitives/View/index.tsx
paddingKeys: any,
<mask> }); <mask> } <mask> function getValueInPixels( <mask> paddingProps: any, <mask> propKeys: any, <mask> sizes: any, <mask> inset: any, <mask> manualInset: number | string <mask> ) { <mask> let appliedInset: any = 0; </s> feat: added use cases for safeareaview props </s> remove let origin...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/049112371ab48df8c788e913752da3ead1c61265
src/hooks/useSafeArea/utils.ts
let originalValue = paddingKeys.length ? sizes[paddingProps[paddingKeys[paddingKeys.length - 1]]]
<mask> inset: any, <mask> manualInset: number | string <mask> ) { <mask> let appliedInset: any = 0; <mask> let originalValue = propKeys.length <mask> ? sizes[paddingProps[propKeys[propKeys.length - 1]]] <mask> : 0; <mask> <mask> if (!isNil(manualInset) && typeof manualInset !== 'boolean') { ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/049112371ab48df8c788e913752da3ead1c61265
src/hooks/useSafeArea/utils.ts
// DOC: Handles case of manually passed inset
<mask> : 0; <mask> <mask> if (!isNil(manualInset) && typeof manualInset !== 'boolean') { <mask> appliedInset = <mask> typeof manualInset === 'string' && manualInset.includes('px') <mask> ? parseInt(manualInset, 10) <mask> : sizes[manualInset]; <mask> } else { <mask> // DO...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/049112371ab48df8c788e913752da3ead1c61265
src/hooks/useSafeArea/utils.ts
// DOC: Handles case of auto inset
<mask> : sizes[manualInset]; <mask> } else { <mask> appliedInset = inset; <mask> } <mask> return originalValue <mask> ? parseInt(originalValue, 10) + parseInt(appliedInset, 10) + 'px' <mask> : parseInt(appliedInset, 10) + 'px'; </s> feat: added use cases for safeareaview props </s> rem...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/049112371ab48df8c788e913752da3ead1c61265
src/hooks/useSafeArea/utils.ts
if (!insets.top && (typeof manualInset === 'boolean' || !manualInset)) {
<mask> let topSafeAreaArray = Object.keys(topSafeAreaProps); <mask> const manualInset = topSafeAreaArray.length <mask> ? topSafeAreaProps[topSafeAreaArray[topSafeAreaArray.length - 1]] <mask> : undefined; <mask> if (!insets.top && (!manualInset || typeof manualInset === 'boolean')) { <mask> retu...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/049112371ab48df8c788e913752da3ead1c61265
src/hooks/useSafeArea/utils.ts
// DOC: Since last value takes precedence so, directly takes last value
<mask> 'safeAreaX', <mask> ]); <mask> let leftSafeAreaArray = Object.keys(leftSafeAreaProps); <mask> const manualInset = leftSafeAreaArray.length <mask> ? leftSafeAreaProps[leftSafeAreaArray[leftSafeAreaArray.length - 1]] <mask> : undefined; <mask> if (!insets.left && (!manualInset || typeof ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/049112371ab48df8c788e913752da3ead1c61265
src/hooks/useSafeArea/utils.ts
// import React from 'react'; // import { Spinner } from 'native-base';
<mask> import React from 'react'; <mask> import { Spinner } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <Spinner color="danger.400" variant="dotted" size="lg" duration={1000} /> <mask> ); </s> fix: remove variants from spinner and related props </s> remove expo...
[ "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
example/storybook/stories/components/primitives/Spinner/duration.tsx
// export default function () { // // return <Spinner color="danger.400" size="lg" duration={1000} />; // }
<mask> import React from 'react'; <mask> import { Spinner } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <Spinner color="danger.400" variant="dotted" size="lg" duration={1000} /> <mask> ); <mask> } </s> fix: remove variants from spinner and related props </s> r...
[ "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
example/storybook/stories/components/primitives/Spinner/duration.tsx
// import Variant from './variant'; // import Duration from './duration';
<mask> import Usage from './usage'; <mask> import Color from './color'; <mask> import Size from './size'; <mask> import Playground from './withKnob'; <mask> import Variant from './variant'; <mask> import Duration from './duration'; <mask> <mask> storiesOf('Spinner', module) <mask> .addDecorator(withKnobs) ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
example/storybook/stories/components/primitives/Spinner/index.tsx
.add('Size', () => <Size />); // .add('Variant', () => <Variant />); // .add('Duration', () => <Duration />);
<mask> .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>) <mask> .add('Playground', () => <Playground />) <mask> .add('Usage', () => <Usage />) <mask> .add('Color', () => <Color />) <mask> .add('Size', () => <Size />) <mask> .add('Variant', () => <Variant />) <mask> .add('Duration', ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
example/storybook/stories/components/primitives/Spinner/index.tsx
// import React from 'react'; // import { Spinner, HStack, Icon } from 'native-base';
<mask> import React from 'react'; <mask> import { Spinner, HStack, Icon } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <HStack space={2}> <mask> <Spinner /> </s> fix: remove variants from spinner and related props </s> remove export default function () { r...
[ "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
example/storybook/stories/components/primitives/Spinner/variant.tsx
// export default function () { // return ( // <HStack space={2}> // <Spinner /> // {/* <Spinner color="danger.400" variant="dotted" /> // <Spinner color="blue.500" variant="stroked" /> // <Spinner color="gray.900" variant="multiColorDotted" /> // <Spinner color="yellow.500" variant=...
<mask> import React from 'react'; <mask> import { Spinner, HStack, Icon } from 'native-base'; <mask> <mask> export default function () { <mask> return ( <mask> <HStack space={2}> <mask> <Spinner /> <mask> <Spinner color="danger.400" variant="dotted" /> <mask> <Spinner color="blue.500" ...
[ "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
example/storybook/stories/components/primitives/Spinner/variant.tsx
color={color('color', 'green.400')}
<mask> return ( <mask> <View display="flex" justifyContent="space-between" alignItems="center"> <mask> <Spinner <mask> size={select('size', ['sm', 'lg'], 'lg')} <mask> color={color('color', 'blue')} <mask> /> <mask> </View> <mask> ); <mask> } </s> fix: remove variants f...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
example/storybook/stories/components/primitives/Spinner/withKnob.tsx
import { ActivityIndicator } from 'react-native';
<mask> import React from 'react'; <mask> import { ActivityIndicator, Animated, Easing, StyleSheet } from 'react-native'; <mask> import type { ActivityIndicator as ActivityIndicatorType } from 'react-native'; <mask> import styled from 'styled-components/native'; <mask> import { color, space, position, border } from...
[ "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
src/components/primitives/Spinner/index.tsx
import { color, space, position } from 'styled-system';
<mask> import React from 'react'; <mask> import { ActivityIndicator, Animated, Easing, StyleSheet } from 'react-native'; <mask> import type { ActivityIndicator as ActivityIndicatorType } from 'react-native'; <mask> import styled from 'styled-components/native'; <mask> import { color, space, position, border } from...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
src/components/primitives/Spinner/index.tsx
// import type { IBoxProps } from '../Box'; // import { customLayout, customPosition } from '../../../utils/customProps'; // import { // Default, // Dotted, // MultiColorDotted, // Stroked, // SquareDotted, // } from './variants';
<mask> import { color, space, position, border } from 'styled-system'; <mask> import { useToken, useThemeProps } from '../../../hooks'; <mask> import type { ISpinnerProps } from './types'; <mask> import { useSpinner } from './useSpinner'; <mask> import type { IBoxProps } from '../Box'; <mask> import { customLayou...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
src/components/primitives/Spinner/index.tsx
// const StyleAnimatedView = styled(Animated.View)<IBoxProps>( // color, // border, // position, // customPosition, // customLayout // );
<mask> Stroked, <mask> SquareDotted, <mask> } from './variants'; <mask> <mask> const StyleAnimatedView = styled(Animated.View)<IBoxProps>( <mask> color, <mask> border, <mask> position, <mask> customPosition, <mask> customLayout <mask> ); <mask> <mask> const StyledSpinner = styled(ActivityIn...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
src/components/primitives/Spinner/index.tsx
const Spinner: any = ({ ...props }: ISpinnerProps, ref: any) => {
<mask> color, <mask> space, <mask> position <mask> ); <mask> const Spinner: any = ({ renderProp, ...props }: ISpinnerProps, ref: any) => { <mask> const newProps = useThemeProps('Spinner', props); <mask> const spinnerColor = useToken('colors', newProps.color); <mask> const { spinnerProps } = useSpinn...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
src/components/primitives/Spinner/index.tsx
// const iconSize: any = { sm: 10, lg: 20 };
<mask> const Spinner: any = ({ renderProp, ...props }: ISpinnerProps, ref: any) => { <mask> const newProps = useThemeProps('Spinner', props); <mask> const spinnerColor = useToken('colors', newProps.color); <mask> const { spinnerProps } = useSpinner(props); <mask> const iconSize: any = { sm: 10, lg: 20 }; ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
src/components/primitives/Spinner/index.tsx
// const degree: any = new Animated.Value(0); // Animated.loop( // Animated.timing(degree, { // toValue: 1, // duration: newProps.duration ?? 1900, // easing: Easing.linear, // useNativeDriver: false, // }) // ).start();
<mask> const spinnerColor = useToken('colors', newProps.color); <mask> const { spinnerProps } = useSpinner(props); <mask> const iconSize: any = { sm: 10, lg: 20 }; <mask> <mask> const degree: any = new Animated.Value(0); <mask> Animated.loop( <mask> Animated.timing(degree, { <mask> toValue:...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
src/components/primitives/Spinner/index.tsx
// const styles = StyleSheet.create({ // animateStyle: { // transform: [ // { // rotateZ: degree.interpolate({ // inputRange: [0, 1], // outputRange: ['0deg', '360deg'], // }), // }, // ], // }, // }); // if (!newProps.variant) { re...
<mask> useNativeDriver: false, <mask> }) <mask> ).start(); <mask> <mask> const styles = StyleSheet.create({ <mask> animateStyle: { <mask> transform: [ <mask> { <mask> rotateZ: degree.interpolate({ <mask> inputRange: [0, 1], <mask> outputRange...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
src/components/primitives/Spinner/index.tsx
// variant?: // | 'custom' // | 'dotted' // | 'multiColorDotted' // | 'stroked' // | 'squareDotted'; // duration?: number; // renderProp?: JSX.Element | JSX.Element[];
<mask> PositionProps & { <mask> style?: any | undefined; <mask> size?: 'sm' | 'lg' | 'small' | 'large'; <mask> accessibilityLabel?: string; <mask> variant?: <mask> | 'custom' <mask> | 'dotted' <mask> | 'multiColorDotted' <mask> | 'stroked' <mask> | 'squareDotted...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05d0486d6b23b5ca660cc332c279783ebcba8ac3
src/components/primitives/Spinner/types.tsx
* If true and the keyboard is opened, the AlertDialog will move up equivalent to the keyboard height.
<mask> * The ref of element to receive focus when the AlertDialog closes. <mask> */ <mask> finalFocusRef?: React.RefObject<any> | any; <mask> /** <mask> * If true and the keyboard is opened, the AlertDialog will move up equvivalent to the keyboard height. <mask> * @default false <mask> */ <ma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05ffb43b3ee91f3a3db6e030d8b9bf922635ca3f
src/components/composites/AlertDialog/types.ts
* If true and the keyboard is opened, the modal will move up equivalent to the keyboard height.
<mask> * The ref of element to receive focus when the modal closes. <mask> */ <mask> finalFocusRef?: React.RefObject<any>; <mask> /** <mask> * If true and the keyboard is opened, the modal will move up equvivalent to the keyboard height. <mask> * @default false <mask> */ <mask> avoidKeyboar...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05ffb43b3ee91f3a3db6e030d8b9bf922635ca3f
src/components/composites/Modal/types.ts
* If true and the keyboard is opened, the Toast will move up equivalent to the keyboard height.
<mask> * Determines the [accessibility announcement tone](https://reactnative.dev/docs/accessibility#accessibilityliveregion-android). <mask> */ <mask> accessibilityLiveRegion?: 'none' | 'polite' | 'assertive'; <mask> /** <mask> * If true and the keyboard is opened, the Toast will move up equvivalent ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/05ffb43b3ee91f3a3db6e030d8b9bf922635ca3f
src/components/composites/Toast/types.ts
<Fab icon={<Icon name="plus" color="white" type="AntDesign" size="sm" />} />
<mask> import React from 'react'; <mask> <mask> export default function () { <mask> return ( <mask> <Fab <mask> bg="#6200ee" <mask> icon={<Icon name="plus" color="white" type="AntDesign" size="sm" />} <mask> /> <mask> ); <mask> } </s> fix: slider and fab matched </s> remove ico...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
example/storybook/stories/components/composites/Fab/Basic.tsx
icon={<Icon name="plus" color="white" type="AntDesign" size={4} />}
<mask> export default function () { <mask> return ( <mask> <Fab <mask> placement="top-left" <mask> icon={<Icon name="plus" color="white" type="AntDesign" />} <mask> label={ <mask> <Text color="white" fontSize="sm"> <mask> Click <mask> </Text> <mask> } <...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
example/storybook/stories/components/composites/Fab/Placement.tsx
BUTTON
<mask> placement="top-left" <mask> icon={<Icon name="plus" color="white" type="AntDesign" />} <mask> label={ <mask> <Text color="white" fontSize="sm"> <mask> Click <mask> </Text> <mask> } <mask> /> <mask> ); <mask> } </s> fix: slider and fab matched </s...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
example/storybook/stories/components/composites/Fab/Placement.tsx
<Slider defaultValue={60}>
<mask> <Slider.FilledTrack /> <mask> </Slider.Track> <mask> <Slider.Thumb /> <mask> </Slider> <mask> <Slider defaultValue={60} colorScheme="purple"> <mask> <Slider.Track> <mask> <Slider.FilledTrack /> <mask> </Slider.Track> <mask> <Slider....
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
example/storybook/stories/components/primitives/Slider/Size.tsx
import type { IButtonProps } from '../../primitives/Button/types';
<mask> import type { IIconButtonProps } from '../IconButton'; <mask> <mask> export type IFabProps = IIconButtonProps & { <mask> placement?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; <mask> label?: JSX.Element; <mask> }; </s> fix: slider and fab matched </s> remove export type IFabProps = II...
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
src/components/composites/Fab/types.tsx
export type IFabProps = IButtonProps & {
<mask> import type { IIconButtonProps } from '../IconButton'; <mask> <mask> export type IFabProps = IIconButtonProps & { <mask> placement?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; <mask> label?: JSX.Element; <mask> }; </s> fix: slider and fab matched </s> remove import type { IIconButtonP...
[ "keep", "keep", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
src/components/composites/Fab/types.tsx
icon?: JSX.Element;
<mask> export type IFabProps = IButtonProps & { <mask> placement?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left'; <mask> label?: JSX.Element; <mask> }; </s> fix: slider and fab matched </s> remove export type IFabProps = IIconButtonProps & { </s> add export type IFabProps = IButtonProps & { </s> r...
[ "keep", "keep", "add", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
src/components/composites/Fab/types.tsx
import View from '../../primitives/View';
<mask> import Box from '../../primitives/Box'; <mask> import Text from '../../primitives/Text'; <mask> import type { IToastProps } from './types'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import { AccessibilityInfo, Platform } from 'react-native'; <mask> <mask> const ToastItem = ({ </s> fi...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
src/components/composites/Toast/ToastItem.tsx
<View safeArea> <Box ml={offset?.x} mt={offset?.y} {...newProps}> <Text {..._title}>{title}</Text> </Box> </View>
<mask> } <mask> }, [accessibilityAnnouncement]); <mask> <mask> return ( <mask> <Box ml={offset?.x} mt={offset?.y} {...newProps}> <mask> <Text {..._title}>{title}</Text> <mask> </Box> <mask> ); <mask> }; <mask> <mask> export default React.memo(ToastItem); </s> fix: slider and fab ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
src/components/composites/Toast/ToastItem.tsx
p: 5,
<mask> colorScheme: 'primary', <mask> rounded: 'full', <mask> zIndex: 20, <mask> placementProps, <mask> p: 2, <mask> placement: 'bottom-right', <mask> }; <mask> const baseStyle = { <mask> shadow: 7, <mask> }; </s> fix: slider and fab matched </s> remove lg: { thumbSize: 10, sliderSize: 9 }, ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
src/theme/components/fab.ts
lg: { thumbSize: 14, sliderSize: 9 }, md: { thumbSize: 10, sliderSize: 6 }, sm: { thumbSize: 6, sliderSize: 3 },
<mask> }; <mask> <mask> const sizes = { <mask> // sizes mentioned here are used in pxiles. <mask> lg: { thumbSize: 10, sliderSize: 9 }, <mask> md: { thumbSize: 8, sliderSize: 8 }, <mask> sm: { thumbSize: 6, sliderSize: 6 }, <mask> }; <mask> <mask> const defaultProps = { <mask> colorScheme: 'prima...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/060817ea01501774c39ca0c3882b321e66e2fdc5
src/theme/components/slider.ts
const { theme, colorScheme: c, status, variant } = props;
<mask> import type { InterfaceAlertProps } from '../../components/composites/Alert/types'; <mask> function getBg( <mask> props: InterfaceAlertProps & { theme: any } & { colorScheme: any } <mask> ) { <mask> let { theme, colorScheme, status, variant } = props; <mask> <mask> colorScheme = getColorScheme(prop...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/alert.ts
const colorScheme = getColorScheme(props, !status ? c : status);
<mask> props: InterfaceAlertProps & { theme: any } & { colorScheme: any } <mask> ) { <mask> let { theme, colorScheme, status, variant } = props; <mask> <mask> colorScheme = getColorScheme(props, !status ? colorScheme : status); <mask> <mask> const lightBg = <mask> variant === 'solid' <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/alert.ts
bg: lightBg, _icon: { color: `${colorScheme}.700` },
<mask> <mask> colorScheme = getColorScheme(props, !status ? colorScheme : status); <mask> <mask> return { <mask> _light: { <mask> bg: lightBg, <mask> _icon: { color: `${colorScheme}.700` }, <mask> }, <mask> _dark: { <mask> bg: darkBg, <mask> _icon: { color: `${colorS...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/alert.ts
_icon: { color: `${colorScheme}.700` }, borderColor: `${colorScheme}.700`,
<mask> colorScheme = getColorScheme(props, !status ? colorScheme : status); <mask> <mask> return { <mask> borderWidth: 1, <mask> _light: { <mask> _icon: { color: `${colorScheme}.700` }, <mask> borderColor: `${colorScheme}.700`, <mask> }, <mask> _dark: { <mask> _icon: { c...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/alert.ts
_icon: { color: `${colorScheme}.700` }, borderColor: transparentize(`${colorScheme}.700`, 0.4)(theme),
<mask> colorScheme = getColorScheme(props, !status ? colorScheme : status); <mask> <mask> return { <mask> borderWidth: 1, <mask> _light: { <mask> _icon: { color: `${colorScheme}.700` }, <mask> borderColor: transparentize(`${colorScheme}.700`, 0.4)(theme), <mask> }, <mask> _dark...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/alert.ts
bg: lightBg,
<mask> props: InterfaceAlertProps & { theme: any } & { colorScheme: any } <mask> ) => { <mask> const { lightBg, darkBg } = getBg(props); <mask> return { <mask> _light: { <mask> bg: lightBg, <mask> }, <mask> _dark: { <mask> bg: darkBg, <mask> }, <mask> _icon: { color: `mu...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/alert.ts
bg: lightBg, _icon: { color: `${colorScheme}.700` }, borderLeftColor: `${colorScheme}.700`,
<mask> colorScheme = getColorScheme(props, !status ? colorScheme : status); <mask> <mask> return { <mask> borderLeftWidth: 4, <mask> _light: { <mask> bg: lightBg, <mask> _icon: { color: `${colorScheme}.700` }, <mask> borderLeftColor: `${colorScheme}.700`, <mask> }, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/alert.ts
bg: lightBg, _icon: { color: `${colorScheme}.700` }, borderTopColor: `${colorScheme}.700`,
<mask> colorScheme = getColorScheme(props, !status ? colorScheme : status); <mask> <mask> return { <mask> borderTopWidth: 4, <mask> _light: { <mask> bg: lightBg, <mask> _icon: { color: `${colorScheme}.700` }, <mask> borderTopColor: `${colorScheme}.700`, <mask> }, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/alert.ts
borderColor: 'gray.800',
<mask> height: '100%', <mask> width: '100%', <mask> }, <mask> }, <mask> _light: { <mask> borderColor: 'gray.800', <mask> }, <mask> _dark: { <mask> borderColor: 'white', <mask> }, <mask> }; <mask> }; </s> fix: remove light pseudo props from base style ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/avatar.ts
bg: `${colorScheme}.100`,
<mask> const colorScheme = getColorScheme(props); <mask> return { <mask> _text: { color: `${colorScheme}.900` }, <mask> _icon: { color: `${colorScheme}.900` }, <mask> _light: { bg: `${colorScheme}.100` }, <mask> _dark: { bg: `${colorScheme}.300` }, <mask> borderWidth: '1', <mask> bor...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/badge.ts
_text: { color: `${colorScheme}.600` }, _icon: { color: `${colorScheme}.600` }, borderColor: `${colorScheme}.600`,
<mask> <mask> function variantOutline(props: InterfaceBadgeProps & { colorScheme: any }) { <mask> const colorScheme = getColorScheme(props); <mask> return { <mask> _light: { <mask> _text: { color: `${colorScheme}.600` }, <mask> _icon: { color: `${colorScheme}.600` }, <mask> borderColo...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/badge.ts
bg: 'muted.300',
<mask> height: `${thickness}px`, <mask> }; <mask> <mask> return { <mask> _light: { <mask> bg: 'muted.300', <mask> }, <mask> _dark: { <mask> bg: 'muted.600', <mask> }, <mask> ...orientationProps, <mask> }; </s> fix: remove light pseudo props from base s...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/divider.ts
color: 'error.600',
<mask> _text: { <mask> fontSize: 'xs', <mask> }, <mask> _stack: { space: 1, alignItems: 'center' }, <mask> _dark: { <mask> _text: { </s> fix: remove light pseudo props from base style </s> remove _light: { _text: { color: 'error.600', }, ...
[ "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/form-control.ts
<mask> _text: { <mask> fontSize: 'xs', <mask> }, <mask> _stack: { space: 1, alignItems: 'center' }, <mask> _light: { <mask> _text: { <mask> color: 'error.600', <mask> }, <mask> }, <mask> _dark: { <mask> _text: { <mask> c...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/form-control.ts
color: 'text.500',
<mask> _text: { <mask> fontSize: 'sm', <mask> fontWeight: 'medium', <mask> }, <mask> my: '1', <mask> _astrick: { <mask> color: 'error.600', <mask> }, <mask> _dark: { </s> fix: remove light pseudo props from base style </s> remove _light: { ...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/form-control.ts
_astrick: { color: 'error.600',
<mask> fontSize: 'sm', <mask> fontWeight: 'medium', <mask> }, <mask> my: '1', <mask> _light: { <mask> _text: { <mask> color: 'text.500', <mask> }, <mask> _astrick: { <mask> color: 'error.600', <mask> }, <mask> }, <m...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/form-control.ts
color: 'text.500',
<mask> return { <mask> mt: '2', <mask> _text: { <mask> fontSize: 'xs', <mask> }, <mask> _light: { <mask> _text: { <mask> color: 'text.500', <mask> }, <mask> }, <mask> _dark: { <mask> _text: { <mask> color: 'text.400...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/form-control.ts
<mask> import { mode } from './../tools'; <mask> <mask> const baseStyle = (props: any) => { <mask> const { colorScheme } = props; <mask> const colors = props.theme.colors; <mask> const focusRing = mode( <mask> { </s> fix: remove light pseudo props from base style </s> remove const focusRing = mode(...
[ "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
<mask> <mask> const baseStyle = (props: any) => { <mask> const { colorScheme } = props; <mask> const colors = props.theme.colors; <mask> const focusRing = mode( <mask> { <mask> outlineWidth: '2px', <mask> outlineColor: `${colors[colorScheme][600]}`, <mask> outlineStyle: 'solid', <...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
style: { outlineWidth: '2px', outlineColor: `${colors[colorScheme][600]}`, outlineStyle: 'solid', },
<mask> borderColor: `${colorScheme}.400`, <mask> }, <mask> _focusVisible: { <mask> _web: { <mask> style: { ...focusRing }, <mask> }, <mask> }, <mask> _loading: { <mask> opacity: '40', <mask> }, </s> fix: remove light pseudo props from base style </s> remove...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
_dark: { _focusVisible: { _web: { style: { outlineWidth: '2px', outlineColor: `${colors[colorScheme][500]}`, outlineStyle: 'solid', }, }, }, },
<mask> opacity: '40', <mask> }, <mask> }; <mask> }; <mask> <mask> function variantGhost({ colorScheme }: Record<string, any>) { <mask> return { </s> fix: remove light pseudo props from base style </s> remove _light: { _icon: { color: `${colorScheme}.600`, }, _hover: ...
[ "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
_icon: { color: `${colorScheme}.600`, }, _hover: { bg: `${colorScheme}.600:alpha.10`, }, _pressed: { bg: `${colorScheme}.600:alpha.20`,
<mask> }; <mask> <mask> function variantGhost({ colorScheme }: Record<string, any>) { <mask> return { <mask> _light: { <mask> _icon: { <mask> color: `${colorScheme}.600`, <mask> }, <mask> _hover: { <mask> bg: `${colorScheme}.600:alpha.10`, <mask> }, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
borderColor: `${colorScheme}.600`, _icon: { color: `${colorScheme}.600`, }, _hover: { bg: `${colorScheme}.700`,
<mask> <mask> function variantOutline({ colorScheme }: Record<string, any>) { <mask> return { <mask> borderWidth: '1px', <mask> _light: { <mask> borderColor: `${colorScheme}.600`, <mask> _icon: { <mask> color: `${colorScheme}.600`, <mask> }, <mask> _hover: { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
color: 'muted.50',
<mask> borderWidth: '1px', <mask> _light: { <mask> borderColor: `${colorScheme}.600`, <mask> _icon: { <mask> color: `${colorScheme}.600`, <mask> }, <mask> _hover: { <mask> bg: `${colorScheme}.700`, <mask> _icon: { <mask> color: 'muted.50', <ma...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
}, _pressed: { bg: `${colorScheme}.800`, _icon: { color: 'muted.50',
<mask> _icon: { <mask> color: 'muted.50', <mask> }, <mask> }, <mask> _pressed: { <mask> bg: `${colorScheme}.800`, <mask> _icon: { <mask> color: 'muted.50', <mask> }, <mask> }, <mask> _focus: { <mask> bg: `${colorSche...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
}, _focus: { bg: `${colorScheme}.600`, _icon: { color: 'muted.50',
<mask> _icon: { <mask> color: 'muted.50', <mask> }, <mask> }, <mask> _focus: { <mask> bg: `${colorScheme}.600`, <mask> _icon: { <mask> color: 'muted.50', <mask> }, <mask> }, <mask> }, <mask> _dark: { <mask> borderCo...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
bg: `${colorScheme}.600`, _hover: { bg: `${colorScheme}.700`, }, _pressed: { bg: `${colorScheme}.800`, }, _icon: { color: 'muted.50',
<mask> } <mask> <mask> function variantSolid({ colorScheme }: Record<string, any>) { <mask> return { <mask> _light: { <mask> bg: `${colorScheme}.600`, <mask> _hover: { <mask> bg: `${colorScheme}.700`, <mask> }, <mask> _pressed: { <mask> bg: `${colorScheme}.800`,...
[ "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/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
bg: `${colorScheme}.100`, _hover: { bg: `${colorScheme}.200`, }, _pressed: { bg: `${colorScheme}.300`,
<mask> }, <mask> _icon: { <mask> color: `${colorScheme}.900`, <mask> }, <mask> _light: { <mask> bg: `${colorScheme}.100`, <mask> _hover: { <mask> bg: `${colorScheme}.200`, <mask> }, <mask> _pressed: { <mask> bg: `${colorScheme}.300`, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
_icon: { color: `${colorScheme}.600`, }, _hover: {
<mask> _spinner: { <mask> color: `${colorScheme}.600`, <mask> }, <mask> <mask> _light: { <mask> _icon: { <mask> color: `${colorScheme}.600`, <mask> }, <mask> _hover: { <mask> _icon: { </s> fix: remove light pseudo props from base style </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
color: `${colorScheme}.700`,
<mask> }, <mask> <mask> _light: { <mask> _icon: { <mask> color: `${colorScheme}.600`, <mask> }, <mask> _hover: { <mask> _icon: { <mask> color: `${colorScheme}.700`, <mask> }, <mask> }, <mask> _pressed: { <mask> _icon: { <mask...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
}, _pressed: { _icon: { color: `${colorScheme}.800`,
<mask> _icon: { <mask> color: `${colorScheme}.700`, <mask> }, <mask> }, <mask> _pressed: { <mask> _icon: { <mask> color: `${colorScheme}.800`, <mask> }, <mask> }, <mask> }, <mask> _dark: { <mask> _icon: { <mask> col...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
_icon: { color: 'muted.900',
<mask> } <mask> <mask> function variantUnstyled() { <mask> return { <mask> _light: { <mask> _icon: { <mask> color: 'muted.900', <mask> }, <mask> }, <mask> _dark: { <mask> _icon: { <mask> color: 'muted.50', <mask> }, </s> fix: remove light pseudo props...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/icon-button.ts
bg: 'muted.50',
<mask> const baseStyle = { <mask> py: 2, <mask> borderRadius: 'sm', <mask> shadow: 6, <mask> _light: { <mask> bg: 'muted.50', <mask> }, <mask> _dark: { <mask> bg: 'muted.800', <mask> }, <mask> _presenceTransition: { <mask> initial: { opacity: 0 }, </s> fix: remove light pseudo p...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/menu.ts
color: 'text.500',
<mask> baseStyle: { <mask> _title: { <mask> fontSize: 'xs', <mask> textTransform: 'uppercase', <mask> _light: { <mask> color: 'text.500', <mask> }, <mask> _dark: { <mask> color: 'text.400', <mask> }, <mask> }, <mask> p: 3, </s> fix: remove l...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/menu.ts
color: 'muted.500', }, _text: { color: 'text.900',
<mask> }, <mask> _icon: { <mask> size: 4, <mask> opacity: 0, <mask> }, <mask> _disabled: { <mask> _text: { <mask> color: 'text.400', <mask> }, </s> fix: remove light pseudo props from base style </s> remove _light: { </s> add _disabled: { </s> remove ...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/menu.ts
_disabled: {
<mask> _icon: { <mask> size: 4, <mask> opacity: 0, <mask> }, <mask> _light: { <mask> _text: { <mask> color: 'text.900', <mask> }, <mask> _disabled: { <mask> _text: { </s> fix: remove light pseudo props from base style </s> remove color: 'text....
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/menu.ts
color: 'text.400',
<mask> opacity: 0, <mask> }, <mask> _light: { <mask> _text: { <mask> color: 'text.900', <mask> }, <mask> _disabled: { <mask> _text: { <mask> color: 'text.400', <mask> }, <mask> }, <mask> _hover: { <mask> bg: 'muted.200', ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/menu.ts
}, _hover: { bg: 'muted.200', }, _focus: { bg: 'muted.300', }, _pressed: { bg: 'muted.400', }, _focusVisible: { _web: { outlineWidth: '0', style: { boxShadow: `none` },
<mask> }, <mask> _hover: { <mask> bg: 'muted.200', <mask> }, <mask> _focus: { <mask> bg: 'muted.300', <mask> }, <mask> _pressed: { <mask> bg: 'muted.400', <mask> }, </s> fix: remove light pseudo props from base style </s> remove color:...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/menu.ts
<mask> }, <mask> _focus: { <mask> bg: 'muted.300', <mask> }, <mask> _pressed: { <mask> bg: 'muted.400', <mask> }, <mask> <mask> _icon: { <mask> color: 'muted.500', <mask> }, <mask> _focusVisible: { <mask> _web: { <mask> ...
[ "keep", "keep", "keep", "keep", "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/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/menu.ts
_focusVisible: { _web: { outlineWidth: '0', style: { boxShadow: `none` }, bg: 'muted.600', },
<mask> <mask> _icon: { <mask> color: 'muted.400', <mask> }, <mask> }, <mask> _focusVisible: { <mask> _web: { <mask> outlineWidth: '0', <mask> style: { boxShadow: `none` }, <mask> bg: 'muted.600', <mask> }, <mask> }, <mask> _checked: {...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/06b901fcf7960c0af5159ed3f38fe90d286d2e3a
src/theme/components/menu.ts