docstring_tokens
stringlengths
0
76.5k
code_tokens
stringlengths
75
1.81M
label_window
sequencelengths
4
2.12k
html_url
stringlengths
74
116
file_name
stringlengths
3
311
<mask> customExtra, <mask> customShadow, <mask> customPosition, <mask> } from '../../../utils/customProps'; <mask> <mask> import type { IModalProps, IModalSemiProps } from './props'; <mask> import { <mask> default as CloseButton, <mask> ICloseButtonProps, <mask> } from '../../composites/CloseButton'; <mask> </s> Changed props file to types </s> remove customShadow, </s> add customLayout, customOutline, </s> remove import { useOverlay } from '../../../core/Overlay'; import { useThemeProps } from '../../../hooks'; import { Box, View, IBoxProps } from '../../primitives'; </s> add import { Box, IBoxProps, View } from '../../primitives'; import type { IModalProps, IModalSemiProps } from './types'; </s> remove customShadow, </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Modal/index.tsx
import { Box, IBoxProps, View } from '../../primitives'; import type { IModalProps, IModalSemiProps } from './types';
<mask> import { <mask> default as CloseButton, <mask> ICloseButtonProps, <mask> } from '../../composites/CloseButton'; <mask> <mask> import { useOverlay } from '../../../core/Overlay'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import { Box, View, IBoxProps } from '../../primitives'; <mask> <mask> const StyledModal = styled(RNModal)<IModalSemiProps>( <mask> color, <mask> space, <mask> layout, </s> Changed props file to types </s> remove import type { IModalProps, IModalSemiProps } from './props'; </s> add </s> remove import { border, color, flexbox, layout, space, position } from 'styled-system'; </s> add import { border, color, flexbox, layout, position, space } from 'styled-system'; import { useOverlay } from '../../../core/Overlay'; import { useThemeProps } from '../../../hooks'; </s> remove import type { IPopoverProps } from './props'; </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Modal/index.tsx
<mask> export { default as NumberInput } from './NumberInput'; <mask> export { NumberInputContext } from './Context'; <mask> export { default as NumberInputField } from './NumberInputField'; <mask> export { default as NumberInputStepper } from './NumberInputStepper'; <mask> export { default as NumberIncrementStepper } from './NumberIncrementStepper'; <mask> export { default as NumberDecrementStepper } from './NumberDecrementStepper'; </s> Changed props file to types </s> remove export { default as NumberIncrementStepper } from './NumberIncrementStepper'; export { default as NumberDecrementStepper } from './NumberDecrementStepper'; </s> add </s> remove INumberInputProps, INumberInputFieldProps, </s> add </s> remove export type { IAlertProps, IAlertContext } from './props'; </s> add export type { IAlertProps, IAlertContext } from './types'; </s> remove export type { ICenterProps, ICircleProps, ISquareProps } from './props'; </s> add export { default as Square } from './Square'; export type { ICenterProps, ICircleProps, ISquareProps } from './types';
[ "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/NumberInput/index.tsx
export { default as NumberDecrementStepper } from './NumberDecrementStepper'; export { default as NumberIncrementStepper } from './NumberIncrementStepper'; export { default as NumberInput } from './NumberInput';
<mask> export { NumberInputContext } from './Context'; <mask> export { default as NumberInputField } from './NumberInputField'; <mask> export { default as NumberInputStepper } from './NumberInputStepper'; <mask> export type { <mask> INumberInputContext, <mask> INumberInputFieldProps, <mask> INumberInputProps, </s> Changed props file to types </s> remove export { default as NumberIncrementStepper } from './NumberIncrementStepper'; export { default as NumberDecrementStepper } from './NumberDecrementStepper'; </s> add </s> remove export { default as NumberInput } from './NumberInput'; </s> add </s> remove INumberInputProps, INumberInputFieldProps, </s> add </s> remove export type { IAlertProps, IAlertContext } from './props'; </s> add export type { IAlertProps, IAlertContext } from './types'; </s> remove export type { ICenterProps, ICircleProps, ISquareProps } from './props'; </s> add export { default as Square } from './Square'; export type { ICenterProps, ICircleProps, ISquareProps } from './types';
[ "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/NumberInput/index.tsx
<mask> export { default as NumberInput } from './NumberInput'; <mask> export { NumberInputContext } from './Context'; <mask> export { default as NumberInputField } from './NumberInputField'; <mask> export { default as NumberInputStepper } from './NumberInputStepper'; <mask> export { default as NumberIncrementStepper } from './NumberIncrementStepper'; <mask> export { default as NumberDecrementStepper } from './NumberDecrementStepper'; <mask> export type { <mask> INumberInputProps, <mask> INumberInputFieldProps, <mask> INumberInputContext, <mask> INumberInputSteppersProps, </s> Changed props file to types </s> remove export { default as NumberInput } from './NumberInput'; </s> add </s> remove INumberInputProps, INumberInputFieldProps, </s> add </s> remove export type { IAlertProps, IAlertContext } from './props'; </s> add export type { IAlertProps, IAlertContext } from './types'; </s> remove export type { ICenterProps, ICircleProps, ISquareProps } from './props'; </s> add export { default as Square } from './Square'; export type { ICenterProps, ICircleProps, ISquareProps } from './types';
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/NumberInput/index.tsx
<mask> export { default as NumberInputStepper } from './NumberInputStepper'; <mask> export { default as NumberIncrementStepper } from './NumberIncrementStepper'; <mask> export { default as NumberDecrementStepper } from './NumberDecrementStepper'; <mask> export type { <mask> INumberInputProps, <mask> INumberInputFieldProps, <mask> INumberInputContext, <mask> INumberInputSteppersProps, <mask> INumberInputStepperProps, <mask> } from './types'; </s> Changed props file to types </s> remove export { default as NumberIncrementStepper } from './NumberIncrementStepper'; export { default as NumberDecrementStepper } from './NumberDecrementStepper'; </s> add </s> remove export { default as NumberInput } from './NumberInput'; </s> add </s> remove INumberInputSteppersProps, </s> add INumberInputFieldProps, INumberInputProps, </s> remove export type { ICenterProps, ICircleProps, ISquareProps } from './props'; </s> add export { default as Square } from './Square'; export type { ICenterProps, ICircleProps, ISquareProps } from './types';
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/NumberInput/index.tsx
INumberInputFieldProps, INumberInputProps,
<mask> export type { <mask> INumberInputProps, <mask> INumberInputFieldProps, <mask> INumberInputContext, <mask> INumberInputSteppersProps, <mask> INumberInputStepperProps, <mask> } from './types'; </s> Changed props file to types </s> remove INumberInputProps, INumberInputFieldProps, </s> add </s> remove export { default as NumberIncrementStepper } from './NumberIncrementStepper'; export { default as NumberDecrementStepper } from './NumberDecrementStepper'; </s> add </s> remove export type { IAlertProps, IAlertContext } from './props'; </s> add export type { IAlertProps, IAlertContext } from './types';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/NumberInput/index.tsx
INumberInputSteppersProps,
<mask> INumberInputContext, <mask> INumberInputFieldProps, <mask> INumberInputProps, <mask> INumberInputStepperProps, <mask> } from './types'; </s> Changed props file to types </s> remove INumberInputSteppersProps, </s> add INumberInputFieldProps, INumberInputProps, </s> remove INumberInputProps, INumberInputFieldProps, </s> add </s> remove export { default as NumberIncrementStepper } from './NumberIncrementStepper'; export { default as NumberDecrementStepper } from './NumberDecrementStepper'; </s> add </s> remove } from './props'; </s> add } from './types';
[ "keep", "keep", "keep", "add", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/NumberInput/index.tsx
<mask> } from '../../../utils/customProps'; <mask> import { default as Box, IBoxProps } from '../../primitives/Box'; <mask> import View from '../../primitives/View'; <mask> import CloseButton from '../CloseButton'; <mask> import type { IPopoverProps } from './props'; <mask> import Tooltip from './Tooltip'; <mask> <mask> const StyledPopover = styled(Tooltip)<IPopoverProps>( <mask> color, <mask> space, </s> Changed props file to types </s> remove import { useOverlay } from '../../../core/Overlay'; import { useThemeProps } from '../../../hooks'; import { Box, View, IBoxProps } from '../../primitives'; </s> add import { Box, IBoxProps, View } from '../../primitives'; import type { IModalProps, IModalSemiProps } from './types'; </s> remove import type { IWrapProps } from './props'; import { useThemeProps } from '../../../hooks'; </s> add </s> remove import type { IDividerProps } from './props'; import { useThemeProps } from '../../../hooks'; </s> add import type { IDividerProps } from './types';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Popover/index.tsx
import type { IPopoverProps } from './types';
<mask> import View from '../../primitives/View'; <mask> import CloseButton from '../CloseButton'; <mask> import Tooltip from './Tooltip'; <mask> <mask> const StyledPopover = styled(Tooltip)<IPopoverProps>( <mask> color, <mask> space, <mask> layout, </s> Changed props file to types </s> remove import type { IPopoverProps } from './props'; </s> add </s> remove import { useOverlay } from '../../../core/Overlay'; import { useThemeProps } from '../../../hooks'; import { Box, View, IBoxProps } from '../../primitives'; </s> add import { Box, IBoxProps, View } from '../../primitives'; import type { IModalProps, IModalSemiProps } from './types'; </s> remove import type { IDividerProps } from './props'; import { useThemeProps } from '../../../hooks'; </s> add import type { IDividerProps } from './types';
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Popover/index.tsx
import type { ISimpleGridProps } from './types';
<mask> import React from 'react'; <mask> import { Box, HStack, VStack } from '../../primitives'; <mask> import type { ISimpleGridProps } from './props'; <mask> // const isDebug = process.env.NODE_ENV !== 'production'; <mask> <mask> const DEBUG_STYLES = false <mask> ? { <mask> rows: { </s> Changed props file to types </s> remove import type { IAvatarProps } from './props'; </s> add import type { IAvatarProps } from './types'; </s> remove import { useThemeProps } from '../../../hooks'; import type { ISkeletonTextProps } from './props'; </s> add import type { ISkeletonTextProps } from './types'; </s> remove import { useOverlay } from '../../../core/Overlay'; import { useThemeProps } from '../../../hooks'; import { Box, View, IBoxProps } from '../../primitives'; </s> add import { Box, IBoxProps, View } from '../../primitives'; import type { IModalProps, IModalSemiProps } from './types'; </s> remove import type { IKbdProps } from './props'; </s> add import type { IKbdProps } from './types';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/SimpleGrid/SimpleGrid.tsx
<mask> import React from 'react'; <mask> import Box from '../../primitives/Box'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import { Animated, Platform } from 'react-native'; <mask> import type { ISkeletonProps } from './props'; <mask> import { canUseDom } from '../../../utils'; <mask> <mask> const Bones = (allProps: ISkeletonProps & { circle?: boolean }) => { </s> Changed props file to types </s> remove import type { ISkeletonProps } from './props'; </s> add import { useThemeProps } from '../../../hooks'; </s> remove import type { ISkeletonProps } from './props'; </s> add </s> remove import type { ISlideFadeProps } from './props'; </s> add import type { ISlideFadeProps } from './types';
[ "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/Bones.tsx
import { useThemeProps } from '../../../hooks';
<mask> import React from 'react'; <mask> import Box from '../../primitives/Box'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import { Animated, Platform } from 'react-native'; <mask> import type { ISkeletonProps } from './props'; <mask> import { canUseDom } from '../../../utils'; <mask> <mask> const Bones = (allProps: ISkeletonProps & { circle?: boolean }) => { <mask> const isDomUsable = canUseDom(); <mask> const { circle, children, ...props } = allProps; </s> Changed props file to types </s> remove import Box from '../../primitives/Box'; import { useThemeProps } from '../../../hooks'; </s> add </s> remove import type { ISlideFadeProps } from './props'; </s> add import type { ISlideFadeProps } from './types'; </s> remove import type { IScaleFadeProps } from './props'; </s> add import type { IScaleFadeProps } from './types'; </s> remove import type { ISkeletonProps } from './props'; </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/Bones.tsx
import Box from '../../primitives/Box'; import type { ISkeletonProps } from './types';
<mask> import { Animated, Platform } from 'react-native'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import { canUseDom } from '../../../utils'; <mask> <mask> const Bones = (allProps: ISkeletonProps & { circle?: boolean }) => { <mask> const isDomUsable = canUseDom(); <mask> const { circle, children, ...props } = allProps; </s> Changed props file to types </s> remove import type { ISkeletonProps } from './props'; </s> add import { useThemeProps } from '../../../hooks'; </s> remove import Box from '../../primitives/Box'; import { useThemeProps } from '../../../hooks'; </s> add </s> remove import type { ISlideFadeProps } from './props'; </s> add import type { ISlideFadeProps } from './types'; </s> remove import type { IScaleFadeProps } from './props'; </s> add import type { IScaleFadeProps } from './types';
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/Bones.tsx
<mask> import React from 'react'; <mask> import Box from '../../primitives/Box'; <mask> import type { ISkeletonProps } from './props'; <mask> import Bones from './Bones'; <mask> <mask> export const Skeleton = React.memo( <mask> ({ children, isLoaded, ...props }: ISkeletonProps & { circle?: boolean }) => { <mask> if (isLoaded) return <Box {...props}>{children}</Box>; </s> Changed props file to types </s> remove import Box from '../../primitives/Box'; import { useThemeProps } from '../../../hooks'; </s> add </s> remove import type { ISkeletonProps } from './props'; </s> add import { useThemeProps } from '../../../hooks'; </s> remove import type { IContainerProps } from './props'; </s> add import Box from '../../primitives/Box'; import type { IContainerProps } from './types';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/Skeleton.tsx
import type { ISkeletonProps } from './types';
<mask> import Box from '../../primitives/Box'; <mask> import Bones from './Bones'; <mask> <mask> export const Skeleton = React.memo( <mask> ({ children, isLoaded, ...props }: ISkeletonProps & { circle?: boolean }) => { <mask> if (isLoaded) return <Box {...props}>{children}</Box>; <mask> <mask> const hideChildren = () => { </s> Changed props file to types </s> remove import type { ISkeletonProps } from './props'; </s> add </s> remove import type { ISkeletonProps } from './props'; </s> add import { useThemeProps } from '../../../hooks'; </s> remove import Box from '../../primitives/Box'; import { useThemeProps } from '../../../hooks'; </s> add </s> remove import type { ITabsContextProps, ITabViewProps } from './props'; </s> add import type { ITabsContextProps, ITabViewProps } from './types';
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/Skeleton.tsx
import { useThemeProps } from '../../../hooks';
<mask> import React from 'react'; <mask> import { Box, Stack } from '../../primitives'; <mask> import { Skeleton } from './Skeleton'; <mask> import type { ISkeletonTextProps } from './types'; <mask> <mask> const NBSkeletonText = ({ ...props }: ISkeletonTextProps) => { <mask> const newProps = useThemeProps('SkeletonText', props); </s> Changed props file to types </s> remove import { useThemeProps } from '../../../hooks'; import type { ISkeletonTextProps } from './props'; </s> add import type { ISkeletonTextProps } from './types'; </s> remove import type { IKbdProps } from './props'; </s> add import type { IKbdProps } from './types'; </s> remove import type { IContainerProps } from './props'; </s> add import Box from '../../primitives/Box'; import type { IContainerProps } from './types'; </s> remove import Box from '../../primitives/Box'; </s> add
[ "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/SkeletonText.tsx
import type { ISkeletonTextProps } from './types';
<mask> import React from 'react'; <mask> import { Box, Stack } from '../../primitives'; <mask> import { Skeleton } from './Skeleton'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import type { ISkeletonTextProps } from './props'; <mask> <mask> const NBSkeletonText = ({ ...props }: ISkeletonTextProps) => { <mask> const newProps = useThemeProps('SkeletonText', props); <mask> const { skeletonColor, lineSize, baseColor, noOfLines } = newProps; <mask> const para = []; </s> Changed props file to types </s> remove import type { IKbdProps } from './props'; </s> add import type { IKbdProps } from './types'; </s> remove import Box from '../../primitives/Box'; </s> add </s> remove import type { IContainerProps } from './props'; </s> add import Box from '../../primitives/Box'; import type { IContainerProps } from './types';
[ "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/SkeletonText.tsx
import { Skeleton } from './Skeleton';
<mask> import React from 'react'; <mask> import type { <mask> ISkeletonCircleProps, <mask> ISkeletonProps, <mask> ISkeletonTextProps, <mask> } from './types'; </s> Changed props file to types </s> remove ISkeletonProps, </s> add </s> remove } from './props'; import { Skeleton } from './Skeleton'; </s> add } from './types'; </s> remove import type { ITabProps, ITabsContextProps } from './props'; </s> add import type { ITabProps, ITabsContextProps } from './types';
[ "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/index.tsx
<mask> import React from 'react'; <mask> import type { <mask> ISkeletonProps, <mask> ISkeletonCircleProps, <mask> ISkeletonTextProps, <mask> } from './props'; <mask> import { Skeleton } from './Skeleton'; <mask> </s> Changed props file to types </s> remove } from './props'; import { Skeleton } from './Skeleton'; </s> add } from './types'; </s> remove import { useThemeProps } from '../../../hooks'; import type { ISkeletonTextProps } from './props'; </s> add import type { ISkeletonTextProps } from './types';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/index.tsx
ISkeletonProps,
<mask> import { Skeleton } from './Skeleton'; <mask> import type { <mask> ISkeletonCircleProps, <mask> ISkeletonTextProps, <mask> } from './types'; <mask> <mask> // Adding circle prop in normal Skeleton which gives it borderRadius <mask> const SkeletonCircle = React.memo((props: ISkeletonCircleProps) => { <mask> return <Skeleton circle {...props} />; </s> Changed props file to types </s> remove } from './props'; import { Skeleton } from './Skeleton'; </s> add } from './types'; </s> remove export { SkeletonCircle }; </s> add </s> remove ISkeletonProps, </s> add
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/index.tsx
} from './types';
<mask> import type { <mask> ISkeletonProps, <mask> ISkeletonCircleProps, <mask> ISkeletonTextProps, <mask> } from './props'; <mask> import { Skeleton } from './Skeleton'; <mask> <mask> // Adding circle prop in normal Skeleton which gives it borderRadius <mask> const SkeletonCircle = React.memo((props: ISkeletonCircleProps) => { <mask> return <Skeleton circle {...props} />; <mask> }); </s> Changed props file to types </s> remove export { SkeletonCircle }; </s> add </s> remove ISkeletonProps, </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/index.tsx
<mask> return <Skeleton circle {...props} />; <mask> }); <mask> <mask> export default Skeleton; <mask> export { SkeletonCircle }; <mask> export { default as SkeletonText } from './SkeletonText'; <mask> export type { ISkeletonProps, ISkeletonCircleProps, ISkeletonTextProps }; </s> Changed props file to types </s> remove } from './props'; import { Skeleton } from './Skeleton'; </s> add } from './types'; </s> remove export { default as NumberIncrementStepper } from './NumberIncrementStepper'; export { default as NumberDecrementStepper } from './NumberDecrementStepper'; </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/index.tsx
export { SkeletonCircle };
<mask> }); <mask> <mask> export default Skeleton; <mask> export { default as SkeletonText } from './SkeletonText'; <mask> export type { ISkeletonProps, ISkeletonCircleProps, ISkeletonTextProps }; </s> Changed props file to types </s> remove export { SkeletonCircle }; </s> add </s> remove export { default as NumberIncrementStepper } from './NumberIncrementStepper'; export { default as NumberDecrementStepper } from './NumberDecrementStepper'; </s> add </s> remove export type { ICenterProps, ICircleProps, ISquareProps } from './props'; </s> add export { default as Square } from './Square'; export type { ICenterProps, ICircleProps, ISquareProps } from './types'; </s> remove export type { IFabProps } from './props'; </s> add export type { IFabProps } from './types';
[ "keep", "keep", "keep", "add", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Skeleton/index.tsx
import type { ISnackbarProps } from './types';
<mask> import React from 'react'; <mask> import { Slide } from '../Transitions'; <mask> import type { ISnackbarProps } from './props'; <mask> import { AccessibilityInfo, Platform } from 'react-native'; <mask> <mask> const Snackbar = ({ <mask> children, <mask> duration = 5000, </s> Changed props file to types </s> remove import type { ISlideProps } from './props'; </s> add import type { ISlideProps } from './types'; </s> remove import type { IFadeProps } from './props'; </s> add import type { IFadeProps } from './types'; </s> remove import type { ISlideFadeProps } from './props'; </s> add import type { ISlideFadeProps } from './types'; </s> remove import type { IScaleFadeProps } from './props'; </s> add import type { IScaleFadeProps } from './types'; </s> remove import type { ISkeletonProps } from './props'; </s> add import { useThemeProps } from '../../../hooks';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Snackbar/Snackbar.tsx
import type { IsetSnackbar, IuseSnackbarProps } from './types';
<mask> import React from 'react'; <mask> import { useOverlay } from '../../../core/Overlay'; <mask> import Snackbar from './Snackbar'; <mask> import type { IsetSnackbar, IuseSnackbarProps } from './props'; <mask> <mask> export const useSnackbar: IuseSnackbarProps = () => { <mask> const { closeOverlay, setOverlay } = useOverlay(); <mask> const defaultConfig = { <mask> enableOverlay: false, </s> Changed props file to types </s> remove import type { ISnackbarProps } from './props'; </s> add import type { ISnackbarProps } from './types'; </s> remove import { useOverlay } from '../../../core/Overlay'; import { useThemeProps } from '../../../hooks'; import { Box, View, IBoxProps } from '../../primitives'; </s> add import { Box, IBoxProps, View } from '../../primitives'; import type { IModalProps, IModalSemiProps } from './types'; </s> remove import type { ITabsContextProps, ITabViewProps } from './props'; </s> add import type { ITabsContextProps, ITabViewProps } from './types'; </s> remove import type { IFabProps } from './props'; </s> add import type { IFabProps } from './types'; </s> remove import { useThemeProps } from '../../../hooks'; import type { ISkeletonTextProps } from './props'; </s> add import type { ISkeletonTextProps } from './types';
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Snackbar/hooks.tsx
import type { ITabProps, ITabsContextProps } from './types';
<mask> import React from 'react'; <mask> import { TouchableOpacity } from 'react-native'; <mask> import Box from '../../primitives/Box'; <mask> import { TabsContext } from './Context'; <mask> import type { ITabProps, ITabsContextProps } from './props'; <mask> import { omitUndefined } from '../../../theme/tools/utils'; <mask> <mask> const Tab = ({ <mask> index, <mask> children, </s> Changed props file to types </s> remove import type { ITabsContextProps, ITabViewProps } from './props'; </s> add import type { ITabsContextProps, ITabViewProps } from './types'; </s> remove import type { ITabsContextProps, ITabBarProps } from './props'; </s> add import type { ITabsContextProps, ITabBarProps } from './types'; </s> remove import type { ITabsProps } from './props'; </s> add import type { ITabsProps } from './types'; </s> remove import type { IActionsheetHeaderProps } from './props'; </s> add import type { IActionsheetHeaderProps } from './types'; </s> remove import type { IActionsheetItemProps } from './props'; </s> add import type { IActionsheetItemProps } from './types';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Tabs/Tab.tsx
import type { ITabsContextProps, ITabBarProps } from './types';
<mask> import React from 'react'; <mask> import getIndexedChildren from '../../../utils/getIndexedChildren'; <mask> import Box from '../../primitives/Box'; <mask> import { TabsContext } from './Context'; <mask> import type { ITabsContextProps, ITabBarProps } from './props'; <mask> <mask> const TabBar = ({ children, ...props }: ITabBarProps) => { <mask> const { tabBarStyle, align, isFitted }: ITabsContextProps = React.useContext( <mask> TabsContext <mask> ); </s> Changed props file to types </s> remove import type { ITabsContextProps, ITabViewProps } from './props'; </s> add import type { ITabsContextProps, ITabViewProps } from './types'; </s> remove import type { ITabProps, ITabsContextProps } from './props'; </s> add import type { ITabProps, ITabsContextProps } from './types'; </s> remove import type { ITabsProps } from './props'; </s> add import type { ITabsProps } from './types'; </s> remove import type { IFormErrorMessageProps, IFormControlContext } from './props'; </s> add import type { IFormErrorMessageProps, IFormControlContext } from './types'; </s> remove import type { ITabViewsProps } from './props'; </s> add import type { ITabViewsProps } from './types';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Tabs/TabBar.tsx
import type { ITabsContextProps, ITabViewProps } from './types';
<mask> import React from 'react'; <mask> import Box from '../../primitives/Box'; <mask> import { TabsContext } from './Context'; <mask> import type { ITabsContextProps, ITabViewProps } from './props'; <mask> <mask> const TabView = ({ index, children, ...props }: ITabViewProps) => { <mask> const { activeIndex }: ITabsContextProps = React.useContext(TabsContext); <mask> const tabViewTemplate = () => { <mask> return activeIndex === index ? ( </s> Changed props file to types </s> remove import type { ITabsContextProps, ITabBarProps } from './props'; </s> add import type { ITabsContextProps, ITabBarProps } from './types'; </s> remove import type { ITabProps, ITabsContextProps } from './props'; </s> add import type { ITabProps, ITabsContextProps } from './types'; </s> remove import type { ITabsProps } from './props'; </s> add import type { ITabsProps } from './types'; </s> remove import type { IActionsheetHeaderProps } from './props'; </s> add import type { IActionsheetHeaderProps } from './types'; </s> remove import type { IContainerProps } from './props'; </s> add import Box from '../../primitives/Box'; import type { IContainerProps } from './types';
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Tabs/TabView.tsx
import type { ITabViewsProps } from './types';
<mask> import React from 'react'; <mask> import Box from '../../primitives/Box'; <mask> import getIndexedChildren from '../../../utils/getIndexedChildren'; <mask> import type { ITabViewsProps } from './props'; <mask> <mask> const TabViews = ({ children, ...props }: ITabViewsProps) => { <mask> return <Box {...props}>{getIndexedChildren(children, 'TabView')}</Box>; <mask> }; <mask> </s> Changed props file to types </s> remove import type { ITabsContextProps, ITabBarProps } from './props'; </s> add import type { ITabsContextProps, ITabBarProps } from './types'; </s> remove import type { IContainerProps } from './props'; </s> add import Box from '../../primitives/Box'; import type { IContainerProps } from './types'; </s> remove import type { ISkeletonProps } from './props'; </s> add </s> remove import type { IActionsheetHeaderProps } from './props'; </s> add import type { IActionsheetHeaderProps } from './types'; </s> remove import type { IAvatarBadgeProps } from './props'; </s> add import type { IAvatarBadgeProps } from './types';
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Tabs/TabViews.tsx
import type { ITabsProps } from './types';
<mask> import React from 'react'; <mask> import Box from '../../primitives/Box'; <mask> import type { ITabsProps } from './props'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import { TabsContext } from './Context'; <mask> <mask> const Tabs = ({ children, ...props }: ITabsProps) => { <mask> const { </s> Changed props file to types </s> remove import type { ITabsContextProps, ITabBarProps } from './props'; </s> add import type { ITabsContextProps, ITabBarProps } from './types'; </s> remove import type { ITabProps, ITabsContextProps } from './props'; </s> add import type { ITabProps, ITabsContextProps } from './types'; </s> remove import type { IAlertProps } from './props'; </s> add import type { IAlertProps } from './types'; </s> remove import type { ITabsContextProps, ITabViewProps } from './props'; </s> add import type { ITabsContextProps, ITabViewProps } from './types'; </s> remove import type { IBadgeProps } from './props'; </s> add import type { IBadgeProps } from './types';
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Tabs/Tabs.tsx
} from './types';
<mask> ITabProps, <mask> ITabViewsProps, <mask> ITabViewProps, <mask> ITabsContextProps, <mask> } from './props'; </s> Changed props file to types </s> remove import type { ITabProps, ITabsContextProps } from './props'; </s> add import type { ITabProps, ITabsContextProps } from './types'; </s> remove import type { ITabsContextProps, ITabBarProps } from './props'; </s> add import type { ITabsContextProps, ITabBarProps } from './types'; </s> remove import type { ITabsContextProps, ITabViewProps } from './props'; </s> add import type { ITabsContextProps, ITabViewProps } from './types'; </s> remove } from './props'; </s> add } from './types'; </s> remove } from './props'; </s> add } from './types';
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Tabs/index.tsx
import type { IFadeProps } from './types';
<mask> import React from 'react'; <mask> import { Animated } from 'react-native'; <mask> import { useThemeProps } from '../../../hooks/useThemeProps'; <mask> import type { IFadeProps } from './props'; <mask> import { useFadeTransition } from './useFadeTransition'; <mask> import Box from '../../primitives/Box'; <mask> <mask> const Fade = ({ children, ...props }: IFadeProps) => { <mask> const { in: animationState, duration } = useThemeProps('Fade', props); </s> Changed props file to types </s> remove import type { IScaleFadeProps } from './props'; </s> add import type { IScaleFadeProps } from './types'; </s> remove import type { ISlideFadeProps } from './props'; </s> add import type { ISlideFadeProps } from './types'; </s> remove import type { ISlideProps } from './props'; </s> add import type { ISlideProps } from './types'; </s> remove import type { ISnackbarProps } from './props'; </s> add import type { ISnackbarProps } from './types'; </s> remove import type { IContainerProps } from './props'; </s> add import Box from '../../primitives/Box'; import type { IContainerProps } from './types';
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Transitions/Fade.tsx
import type { IScaleFadeProps } from './types';
<mask> import React from 'react'; <mask> import Box from '../../primitives/Box'; <mask> import { useThemeProps } from '../../../hooks/useThemeProps'; <mask> import { Animated, Platform } from 'react-native'; <mask> import type { IScaleFadeProps } from './props'; <mask> import { canUseDom } from '../../../utils'; <mask> <mask> const ScaleFade = ({ children, ...props }: IScaleFadeProps) => { <mask> const isDomUsable = canUseDom(); <mask> const { in: animationState, duration, initialScale } = useThemeProps( </s> Changed props file to types </s> remove import type { ISlideFadeProps } from './props'; </s> add import type { ISlideFadeProps } from './types'; </s> remove import type { ISlideProps } from './props'; </s> add import type { ISlideProps } from './types'; </s> remove import type { ISkeletonProps } from './props'; </s> add import { useThemeProps } from '../../../hooks'; </s> remove import type { IFadeProps } from './props'; </s> add import type { IFadeProps } from './types';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Transitions/ScaleFade.tsx
import type { ISlideProps } from './types';
<mask> import React from 'react'; <mask> import Box from '../../primitives/Box'; <mask> import { useThemeProps } from '../../../hooks/useThemeProps'; <mask> import { Animated, Platform } from 'react-native'; <mask> import type { ISlideProps } from './props'; <mask> import { canUseDom } from '../../../utils'; <mask> <mask> const Slide = ({ children, ...props }: ISlideProps) => { <mask> const isDomUsable = canUseDom(); <mask> // TODO: Slide from right and left needs implmentation. </s> Changed props file to types </s> remove import type { ISlideFadeProps } from './props'; </s> add import type { ISlideFadeProps } from './types'; </s> remove import type { IScaleFadeProps } from './props'; </s> add import type { IScaleFadeProps } from './types'; </s> remove import type { ISkeletonProps } from './props'; </s> add import { useThemeProps } from '../../../hooks'; </s> remove import type { ISnackbarProps } from './props'; </s> add import type { ISnackbarProps } from './types';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Transitions/Slide.tsx
import type { ISlideFadeProps } from './types';
<mask> import React from 'react'; <mask> import Box from '../../primitives/Box'; <mask> import { useThemeProps } from '../../../hooks/useThemeProps'; <mask> import { Animated, Platform } from 'react-native'; <mask> import type { ISlideFadeProps } from './props'; <mask> import { canUseDom } from '../../../utils'; <mask> <mask> const SlideFade = ({ children, ...props }: ISlideFadeProps) => { <mask> const isDomUsable = canUseDom(); <mask> </s> Changed props file to types </s> remove import type { IScaleFadeProps } from './props'; </s> add import type { IScaleFadeProps } from './types'; </s> remove import type { ISlideProps } from './props'; </s> add import type { ISlideProps } from './types'; </s> remove import type { ISkeletonProps } from './props'; </s> add import { useThemeProps } from '../../../hooks'; </s> remove import Box from '../../primitives/Box'; import { useThemeProps } from '../../../hooks'; </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Transitions/SlideFade.tsx
} from './types';
<mask> IFadeProps, <mask> IScaleFadeProps, <mask> ISlideProps, <mask> ISlideFadeProps, <mask> } from './props'; </s> Changed props file to types </s> remove } from './props'; </s> add } from './types'; </s> remove } from './props'; </s> add } from './types'; </s> remove } from './props'; </s> add } from './types'; </s> remove import type { IModalProps, IModalSemiProps } from './props'; </s> add </s> remove customShadow, </s> add
[ "keep", "keep", "keep", "keep", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Transitions/index.tsx
import { ITypeaheadProps, layoutPropsList } from './types';
<mask> import { ScrollView } from 'react-native'; <mask> import { Box, Input, Button, Link } from '../../primitives'; <mask> import { useTypeahead } from './useTypeahead'; <mask> import { extractInObject } from '../../../theme/tools'; <mask> import { ITypeaheadProps, layoutPropsList } from './props'; <mask> const Typeahead = ( <mask> { <mask> data, <mask> renderItem, <mask> onChangeText, </s> Changed props file to types </s> remove import { useThemeProps } from '../../../hooks'; export { default as BreadcrumbItem } from './BreadcrumbItem'; export { BreadcrumbLink }; </s> add import type { IBreadcrumbProps } from './types'; </s> remove import { Flex, Link as BreadcrumbLink } from '../../primitives'; import type { IBreadcrumbProps } from './props'; </s> add import { useThemeProps } from '../../../hooks'; </s> remove import { useOverlay } from '../../../core/Overlay'; import { useThemeProps } from '../../../hooks'; import { Box, View, IBoxProps } from '../../primitives'; </s> add import { Box, IBoxProps, View } from '../../primitives'; import type { IModalProps, IModalSemiProps } from './types'; </s> remove import { useThemeProps } from '../../../hooks'; import type { ISkeletonTextProps } from './props'; </s> add import type { ISkeletonTextProps } from './types';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Typeahead/index.tsx
import { border, color, flexbox, layout, position, space } from 'styled-system'; import { useThemeProps } from '../../../hooks';
<mask> import isNil from 'lodash/isNil'; <mask> import React from 'react'; <mask> import styled from 'styled-components/native'; <mask> import { border, color, flexbox, layout, space, position } from 'styled-system'; <mask> import { <mask> customBorder, <mask> customBackground, <mask> customOutline, <mask> customLayout, </s> Changed props file to types </s> remove customBorder, </s> add </s> remove customBorder, </s> add </s> remove import { border, color, flexbox, layout, space, position } from 'styled-system'; </s> add import { border, color, flexbox, layout, position, space } from 'styled-system'; import { useOverlay } from '../../../core/Overlay'; import { useThemeProps } from '../../../hooks'; </s> remove customOutline, customLayout, </s> add customBorder, </s> remove customOutline, customLayout, </s> add customBorder,
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Wrap/index.tsx
<mask> import React from 'react'; <mask> import styled from 'styled-components/native'; <mask> import { border, color, flexbox, layout, space, position } from 'styled-system'; <mask> import { <mask> customBorder, <mask> customBackground, <mask> customOutline, <mask> customLayout, <mask> customExtra, <mask> customShadow, </s> Changed props file to types </s> remove customBorder, </s> add </s> remove customOutline, customLayout, </s> add customBorder, </s> remove customOutline, customLayout, </s> add customBorder, </s> remove customBorder, </s> add </s> remove import { border, color, flexbox, layout, space, position } from 'styled-system'; </s> add import { border, color, flexbox, layout, position, space } from 'styled-system'; import { useThemeProps } from '../../../hooks';
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Wrap/index.tsx
customBorder,
<mask> import { border, color, flexbox, layout, space, position } from 'styled-system'; <mask> import { <mask> customBorder, <mask> customBackground, <mask> customOutline, <mask> customLayout, <mask> customExtra, <mask> customShadow, <mask> customFlexBox, <mask> customPosition, <mask> } from '../../../utils/customProps'; </s> Changed props file to types </s> remove customOutline, customLayout, </s> add customBorder, </s> remove customBorder, </s> add </s> remove customBorder, </s> add </s> remove customOutline, customLayout, </s> add customBorder, </s> remove import { border, color, flexbox, layout, space, position } from 'styled-system'; </s> add import { border, color, flexbox, layout, position, space } from 'styled-system'; import { useThemeProps } from '../../../hooks';
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Wrap/index.tsx
<mask> customBackground, <mask> customOutline, <mask> customLayout, <mask> customExtra, <mask> customShadow, <mask> customFlexBox, <mask> customPosition, <mask> } from '../../../utils/customProps'; <mask> import type { IWrapProps } from './props'; <mask> import { useThemeProps } from '../../../hooks'; </s> Changed props file to types </s> remove customShadow, </s> add customLayout, customOutline, </s> remove customOutline, customLayout, </s> add customBorder, </s> remove import type { IWrapProps } from './props'; import { useThemeProps } from '../../../hooks'; </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Wrap/index.tsx
customLayout, customOutline,
<mask> customBorder, <mask> customExtra, <mask> customFlexBox, <mask> customPosition, <mask> customShadow, <mask> } from '../../../utils/customProps'; <mask> import Box from '../../primitives/Box'; <mask> import type { IWrapProps } from './types'; <mask> </s> Changed props file to types </s> remove customShadow, </s> add </s> remove import type { IWrapProps } from './props'; import { useThemeProps } from '../../../hooks'; </s> add </s> remove customOutline, customLayout, </s> add customBorder,
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Wrap/index.tsx
customShadow,
<mask> customLayout, <mask> customOutline, <mask> customPosition, <mask> } from '../../../utils/customProps'; <mask> import Box from '../../primitives/Box'; <mask> import type { IWrapProps } from './types'; <mask> </s> Changed props file to types </s> remove customShadow, </s> add </s> remove customShadow, </s> add customLayout, customOutline, </s> remove import type { IWrapProps } from './props'; import { useThemeProps } from '../../../hooks'; </s> add
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Wrap/index.tsx
<mask> customShadow, <mask> customFlexBox, <mask> customPosition, <mask> } from '../../../utils/customProps'; <mask> import type { IWrapProps } from './props'; <mask> import { useThemeProps } from '../../../hooks'; <mask> import Box from '../../primitives/Box'; <mask> <mask> const StyledWrap = styled(Box)<IWrapProps>( <mask> color, <mask> space, </s> Changed props file to types </s> remove customShadow, </s> add </s> remove import type { IDividerProps } from './props'; import { useThemeProps } from '../../../hooks'; </s> add import type { IDividerProps } from './types';
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Wrap/index.tsx
import type { IWrapProps } from './types';
<mask> customShadow, <mask> } from '../../../utils/customProps'; <mask> import Box from '../../primitives/Box'; <mask> <mask> const StyledWrap = styled(Box)<IWrapProps>( <mask> color, <mask> space, <mask> layout, </s> Changed props file to types </s> remove import type { IWrapProps } from './props'; import { useThemeProps } from '../../../hooks'; </s> add </s> remove import type { IDividerProps } from './props'; import { useThemeProps } from '../../../hooks'; </s> add import type { IDividerProps } from './types'; </s> remove customOutline, customLayout, </s> add customBorder, </s> remove customOutline, customLayout, </s> add customBorder, </s> remove import type { IPopoverProps } from './props'; </s> add
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a7311fb216d2447b48a17e3ca2ae13afdf78c7b5
src/components/composites/Wrap/index.tsx
this.activeTimer = setTimeout(() => {
<mask> }); <mask> this.setState({ <mask> buttons: icon.length, <mask> }); <mask> setTimeout(() => { <mask> this.setState({ <mask> active: this.props.active, <mask> }); <mask> }, 0); <mask> } </s> Cancel Fab timers on unmount </s> remove setTimeout(() => { </s> add this.activeTimer = setTimeout(() => {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a8ad6c6cecaf3e114b90ccb4f554611c666f446a
src/basic/Fab.js
componentWillUnmount() { if (this.activeTimer) { clearTimeout(this.activeTimer); } }
<mask> }); <mask> }, 0); <mask> } <mask> <mask> renderFab() { <mask> let childrenArray = React.Children.toArray(this.props.children); <mask> let icon = _.remove(childrenArray, item => { <mask> if (item.type.displayName === "Styled(Button)") { </s> Cancel Fab timers on unmount </s> remove setTimeout(() => { </s> add this.activeTimer = setTimeout(() => { </s> remove setTimeout(() => { </s> add this.activeTimer = setTimeout(() => {
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a8ad6c6cecaf3e114b90ccb4f554611c666f446a
src/basic/Fab.js
this.activeTimer = setTimeout(() => {
<mask> fabOnPress() { <mask> if (this.props.onPress) { <mask> this.props.onPress(); <mask> this._animate(); <mask> setTimeout(() => { <mask> this.setState({ <mask> active: this.props.active, <mask> }); <mask> }, 100); <mask> } </s> Cancel Fab timers on unmount </s> remove setTimeout(() => { </s> add this.activeTimer = setTimeout(() => {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a8ad6c6cecaf3e114b90ccb4f554611c666f446a
src/basic/Fab.js
<mask> InputGroup, <mask> InputLeftAddon, <mask> InputRightAddon, <mask> Stack, <mask> Text, <mask> Center, <mask> Heading, <mask> Button, <mask> Icon, <mask> } from 'native-base'; </s> fix: input crosscheck update ui </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />; </s> remove const addonsDefaultStyle = { p: 3, borderColor: 'gray.300', borderWidth: 1, }; </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
return <Input mx={3} placeholder="Default Input" />;
<mask> Icon, <mask> } from 'native-base'; <mask> <mask> export const DefaultInput = () => { <mask> return <Input placeholder="Default Input" />; <mask> }; <mask> export const SizeInput = () => { <mask> return ( <mask> <Stack alignItems="center" space={4}> <mask> <Center> </s> fix: input crosscheck update ui </s> remove <Stack alignItems="center" space={4}> </s> add <Stack space={4} w="80%"> </s> remove <Heading>Size Input</Heading> </s> add <Heading>Input Sizes</Heading> </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%"> </s> remove const addonsDefaultStyle = { p: 3, borderColor: 'gray.300', borderWidth: 1, }; </s> add </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%">
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
<Stack space={4} w="80%">
<mask> return <Input placeholder="Default Input" />; <mask> }; <mask> export const SizeInput = () => { <mask> return ( <mask> <Stack alignItems="center" space={4}> <mask> <Center> <mask> <Heading>Size Input</Heading> <mask> </Center> <mask> <Input w="90%" size="xs" placeholder="xs Input" /> <mask> <Input w="90%" size="sm" placeholder="sm Input" /> </s> fix: input crosscheck update ui </s> remove <Heading>Size Input</Heading> </s> add <Heading>Input Sizes</Heading> </s> remove <Input w="90%" size="xs" placeholder="xs Input" /> <Input w="90%" size="sm" placeholder="sm Input" /> <Input w="90%" size="md" placeholder="md Input" /> <Input w="90%" size="lg" placeholder="lg Input" /> <Input w="90%" size="xl" placeholder="xl Input" /> <Input w="90%" size="2xl" placeholder="2xl Input" isDisabled={true} /> </s> add <Input size="xs" placeholder="xs Input" /> <Input size="sm" placeholder="sm Input" /> <Input size="md" placeholder="md Input" /> <Input size="lg" placeholder="lg Input" /> <Input size="xl" placeholder="xl Input" /> <Input size="2xl" placeholder="2xl Input" isDisabled={true} /> </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />; </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%">
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
<Heading>Input Sizes</Heading>
<mask> export const SizeInput = () => { <mask> return ( <mask> <Stack alignItems="center" space={4}> <mask> <Center> <mask> <Heading>Size Input</Heading> <mask> </Center> <mask> <Input w="90%" size="xs" placeholder="xs Input" /> <mask> <Input w="90%" size="sm" placeholder="sm Input" /> <mask> <Input w="90%" size="md" placeholder="md Input" /> <mask> <Input w="90%" size="lg" placeholder="lg Input" /> </s> fix: input crosscheck update ui </s> remove <Input w="90%" size="xs" placeholder="xs Input" /> <Input w="90%" size="sm" placeholder="sm Input" /> <Input w="90%" size="md" placeholder="md Input" /> <Input w="90%" size="lg" placeholder="lg Input" /> <Input w="90%" size="xl" placeholder="xl Input" /> <Input w="90%" size="2xl" placeholder="2xl Input" isDisabled={true} /> </s> add <Input size="xs" placeholder="xs Input" /> <Input size="sm" placeholder="sm Input" /> <Input size="md" placeholder="md Input" /> <Input size="lg" placeholder="lg Input" /> <Input size="xl" placeholder="xl Input" /> <Input size="2xl" placeholder="2xl Input" isDisabled={true} /> </s> remove <Stack alignItems="center" space={4}> </s> add <Stack space={4} w="80%"> </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />; </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%">
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
<Input size="xs" placeholder="xs Input" /> <Input size="sm" placeholder="sm Input" /> <Input size="md" placeholder="md Input" /> <Input size="lg" placeholder="lg Input" /> <Input size="xl" placeholder="xl Input" /> <Input size="2xl" placeholder="2xl Input" isDisabled={true} />
<mask> <Stack alignItems="center" space={4}> <mask> <Center> <mask> <Heading>Size Input</Heading> <mask> </Center> <mask> <Input w="90%" size="xs" placeholder="xs Input" /> <mask> <Input w="90%" size="sm" placeholder="sm Input" /> <mask> <Input w="90%" size="md" placeholder="md Input" /> <mask> <Input w="90%" size="lg" placeholder="lg Input" /> <mask> <Input w="90%" size="xl" placeholder="xl Input" /> <mask> <Input w="90%" size="2xl" placeholder="2xl Input" isDisabled={true} /> <mask> </Stack> <mask> ); <mask> }; <mask> export const VariantInput = () => { <mask> return ( </s> fix: input crosscheck update ui </s> remove <Heading>Size Input</Heading> </s> add <Heading>Input Sizes</Heading> </s> remove <Stack alignItems="center" space={4}> </s> add <Stack space={4} w="80%"> </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />; </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%">
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
<Stack space={4} w="80%">
<mask> ); <mask> }; <mask> export const VariantInput = () => { <mask> return ( <mask> <Stack space={4}> <mask> <Center> <mask> <Heading>Input Variants</Heading> <mask> </Center> <mask> <Input variant="outline" placeholder="Outline" /> <mask> <Input </s> fix: input crosscheck update ui </s> remove <Heading>Size Input</Heading> </s> add <Heading>Input Sizes</Heading> </s> remove <Stack alignItems="center" space={4}> </s> add <Stack space={4} w="80%"> </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />; </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%"> </s> remove <Input w="90%" size="xs" placeholder="xs Input" /> <Input w="90%" size="sm" placeholder="sm Input" /> <Input w="90%" size="md" placeholder="md Input" /> <Input w="90%" size="lg" placeholder="lg Input" /> <Input w="90%" size="xl" placeholder="xl Input" /> <Input w="90%" size="2xl" placeholder="2xl Input" isDisabled={true} /> </s> add <Input size="xs" placeholder="xs Input" /> <Input size="sm" placeholder="sm Input" /> <Input size="md" placeholder="md Input" /> <Input size="lg" placeholder="lg Input" /> <Input size="xl" placeholder="xl Input" /> <Input size="2xl" placeholder="2xl Input" isDisabled={true} />
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
<InputLeftAddon children={'https://'} />
<mask> export const InputAddons = () => { <mask> return ( <mask> <Stack space={4}> <mask> <InputGroup> <mask> <InputLeftAddon children={<Text>https://</Text>} /> <mask> <Input w="70%" placeholder="nativebase" /> <mask> <InputRightAddon children={<Text>.io</Text>} /> <mask> </InputGroup> <mask> </Stack> <mask> ); </s> fix: input crosscheck update ui </s> remove <InputRightAddon children={<Text>.io</Text>} /> </s> add <InputRightAddon children={'.io'} /> </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%"> </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%"> </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />; </s> remove placeholder="Here is a sample placeholder" focusBorderColor="green" </s> add placeholder="focusBorderColor Example" focusBorderColor="green.400"
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
<InputRightAddon children={'.io'} />
<mask> <Stack space={4}> <mask> <InputGroup> <mask> <InputLeftAddon children={<Text>https://</Text>} /> <mask> <Input w="70%" placeholder="nativebase" /> <mask> <InputRightAddon children={<Text>.io</Text>} /> <mask> </InputGroup> <mask> </Stack> <mask> ); <mask> }; <mask> export const InputElements = () => { </s> fix: input crosscheck update ui </s> remove <InputLeftAddon children={<Text>https://</Text>} /> </s> add <InputLeftAddon children={'https://'} /> </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%"> </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%"> </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />; </s> remove <Stack alignItems="center" space={4}> </s> add <Stack space={4} w="80%">
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
<Button ml={1} roundedLeft={0} roundedRight="md" colorScheme="default" onPress={handleClick} >
<mask> <Input <mask> w="70%" <mask> type={show ? 'text' : 'password'} <mask> InputRightElement={ <mask> <Button ml={1} onPress={handleClick}> <mask> {show ? 'Hide' : 'Show'} <mask> </Button> <mask> } <mask> placeholder="Password" <mask> /> </s> fix: input crosscheck update ui </s> remove <Text ml={2} color="danger.600" {..._errorMessage}> </s> add <Text ml={2} {..._errorMessageBaseProps} {..._errorMessage}> </s> remove : mode('gray.600', 'gray.400')(props), </s> add : mode('gray.300', 'gray.600')(props), </s> remove opacity: 0.4, </s> add opacity: 0.8, bg: mode('gray.100', 'gray.700')(props), </s> remove <InputRightAddon children={<Text>.io</Text>} /> </s> add <InputRightAddon children={'.io'} /> </s> remove <InputLeftAddon children={<Text>https://</Text>} /> </s> add <InputLeftAddon children={'https://'} />
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
mx={3}
<mask> const handleChange = (event: any) => setValue(event.target.value); <mask> return ( <mask> <Input <mask> value={value} <mask> onChange={handleChange} <mask> placeholder="Value Controlled Input" <mask> /> </s> fix: input crosscheck update ui </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />; </s> remove <Heading>Size Input</Heading> </s> add <Heading>Input Sizes</Heading> </s> remove <Stack alignItems="center" space={4}> </s> add <Stack space={4} w="80%"> </s> remove <Input w="90%" size="xs" placeholder="xs Input" /> <Input w="90%" size="sm" placeholder="sm Input" /> <Input w="90%" size="md" placeholder="md Input" /> <Input w="90%" size="lg" placeholder="lg Input" /> <Input w="90%" size="xl" placeholder="xl Input" /> <Input w="90%" size="2xl" placeholder="2xl Input" isDisabled={true} /> </s> add <Input size="xs" placeholder="xs Input" /> <Input size="sm" placeholder="sm Input" /> <Input size="md" placeholder="md Input" /> <Input size="lg" placeholder="lg Input" /> <Input size="xl" placeholder="xl Input" /> <Input size="2xl" placeholder="2xl Input" isDisabled={true} />
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
<Stack space={4} w="80%">
<mask> ); <mask> }; <mask> export const FocusErrorBorderColor = () => { <mask> return ( <mask> <Stack space={4}> <mask> <Input <mask> placeholder="Here is a sample placeholder" <mask> focusBorderColor="green" <mask> /> <mask> <Input </s> fix: input crosscheck update ui </s> remove placeholder="Here is a sample placeholder" focusBorderColor="green" </s> add placeholder="focusBorderColor Example" focusBorderColor="green.400" </s> remove placeholder="Here is a sample placeholder" focusBorderColor="pink" </s> add placeholder="focusBorderColor Example" focusBorderColor="pink.400" </s> remove errorBorderColor="yellow" </s> add errorBorderColor="yellow.400" </s> remove <Input placeholder="Here is a sample placeholder" isInvalid /> </s> add <Input placeholder="Invalid Input Example" isInvalid /> </s> remove placeholder="Here is a sample placeholder" </s> add placeholder="errorBorderColor Example"
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
placeholder="focusBorderColor Example" focusBorderColor="green.400"
<mask> export const FocusErrorBorderColor = () => { <mask> return ( <mask> <Stack space={4}> <mask> <Input <mask> placeholder="Here is a sample placeholder" <mask> focusBorderColor="green" <mask> /> <mask> <Input <mask> placeholder="Here is a sample placeholder" <mask> focusBorderColor="pink" <mask> /> </s> fix: input crosscheck update ui </s> remove placeholder="Here is a sample placeholder" focusBorderColor="pink" </s> add placeholder="focusBorderColor Example" focusBorderColor="pink.400" </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%"> </s> remove <Input placeholder="Here is a sample placeholder" isInvalid /> </s> add <Input placeholder="Invalid Input Example" isInvalid /> </s> remove placeholder="Here is a sample placeholder" </s> add placeholder="errorBorderColor Example" </s> remove errorBorderColor="yellow" </s> add errorBorderColor="yellow.400"
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
placeholder="focusBorderColor Example" focusBorderColor="pink.400"
<mask> placeholder="Here is a sample placeholder" <mask> focusBorderColor="green" <mask> /> <mask> <Input <mask> placeholder="Here is a sample placeholder" <mask> focusBorderColor="pink" <mask> /> <mask> <Input placeholder="Here is a sample placeholder" isInvalid /> <mask> <Input <mask> placeholder="Here is a sample placeholder" <mask> isInvalid </s> fix: input crosscheck update ui </s> remove <Input placeholder="Here is a sample placeholder" isInvalid /> </s> add <Input placeholder="Invalid Input Example" isInvalid /> </s> remove placeholder="Here is a sample placeholder" </s> add placeholder="errorBorderColor Example" </s> remove errorBorderColor="yellow" </s> add errorBorderColor="yellow.400" </s> remove placeholder="Here is a sample placeholder" focusBorderColor="green" </s> add placeholder="focusBorderColor Example" focusBorderColor="green.400" </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%">
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
<Input placeholder="Invalid Input Example" isInvalid />
<mask> <Input <mask> placeholder="Here is a sample placeholder" <mask> focusBorderColor="pink" <mask> /> <mask> <Input placeholder="Here is a sample placeholder" isInvalid /> <mask> <Input <mask> placeholder="Here is a sample placeholder" <mask> isInvalid <mask> errorBorderColor="yellow" <mask> errorMessage="This is an Error Message" </s> fix: input crosscheck update ui </s> remove placeholder="Here is a sample placeholder" </s> add placeholder="errorBorderColor Example" </s> remove errorBorderColor="yellow" </s> add errorBorderColor="yellow.400" </s> remove placeholder="Here is a sample placeholder" focusBorderColor="pink" </s> add placeholder="focusBorderColor Example" focusBorderColor="pink.400" </s> remove placeholder="Here is a sample placeholder" focusBorderColor="green" </s> add placeholder="focusBorderColor Example" focusBorderColor="green.400" </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%">
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
placeholder="errorBorderColor Example"
<mask> focusBorderColor="pink" <mask> /> <mask> <Input placeholder="Here is a sample placeholder" isInvalid /> <mask> <Input <mask> placeholder="Here is a sample placeholder" <mask> isInvalid <mask> errorBorderColor="yellow" <mask> errorMessage="This is an Error Message" <mask> /> <mask> </Stack> </s> fix: input crosscheck update ui </s> remove <Input placeholder="Here is a sample placeholder" isInvalid /> </s> add <Input placeholder="Invalid Input Example" isInvalid /> </s> remove errorBorderColor="yellow" </s> add errorBorderColor="yellow.400" </s> remove placeholder="Here is a sample placeholder" focusBorderColor="pink" </s> add placeholder="focusBorderColor Example" focusBorderColor="pink.400" </s> remove placeholder="Here is a sample placeholder" focusBorderColor="green" </s> add placeholder="focusBorderColor Example" focusBorderColor="green.400" </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%">
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
errorBorderColor="yellow.400"
<mask> <Input placeholder="Here is a sample placeholder" isInvalid /> <mask> <Input <mask> placeholder="Here is a sample placeholder" <mask> isInvalid <mask> errorBorderColor="yellow" <mask> errorMessage="This is an Error Message" <mask> /> <mask> </Stack> <mask> ); <mask> }; </s> fix: input crosscheck update ui </s> remove placeholder="Here is a sample placeholder" </s> add placeholder="errorBorderColor Example" </s> remove <Input placeholder="Here is a sample placeholder" isInvalid /> </s> add <Input placeholder="Invalid Input Example" isInvalid /> </s> remove placeholder="Here is a sample placeholder" focusBorderColor="pink" </s> add placeholder="focusBorderColor Example" focusBorderColor="pink.400" </s> remove placeholder="Here is a sample placeholder" focusBorderColor="green" </s> add placeholder="focusBorderColor Example" focusBorderColor="green.400" </s> remove <Stack space={4}> </s> add <Stack space={4} w="80%">
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
example/storybook/stories/components/primitives/Input/example.tsx
import { useColorModeValue } from '../../../core/color-mode/hooks';
<mask> import React from 'react'; <mask> import { default as Box, IBoxProps } from '../Box'; <mask> import type { IInputProps } from '../Input'; <mask> import { getAttachedChildren } from '../../../utils'; <mask> import Flex from '../Flex'; <mask> <mask> export const InputLeftAddon = React.memo((props: IBoxProps & IInputProps) => { <mask> const addonsDefaultStyle = { <mask> p: 3, <mask> borderColor: useColorModeValue('gray.300', 'gray.600'), </s> fix: input crosscheck update ui </s> remove const addonsDefaultStyle = { p: 3, borderColor: 'gray.300', borderWidth: 1, }; </s> add </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />; </s> remove Text, </s> add
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/InputGroup.tsx
<mask> import type { IInputProps } from '../Input'; <mask> import { getAttachedChildren } from '../../../utils'; <mask> import Flex from '../Flex'; <mask> <mask> const addonsDefaultStyle = { <mask> p: 3, <mask> borderColor: 'gray.300', <mask> borderWidth: 1, <mask> }; <mask> <mask> export const InputLeftAddon = React.memo((props: IBoxProps & IInputProps) => { <mask> return ( <mask> <Box <mask> {...addonsDefaultStyle} <mask> borderRightWidth={0} </s> fix: input crosscheck update ui </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />; </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box>
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/InputGroup.tsx
const addonsDefaultStyle = { p: 3, borderColor: useColorModeValue('gray.300', 'gray.600'), borderWidth: 1, };
<mask> import { useColorModeValue } from '../../../core/color-mode/hooks'; <mask> import Flex from '../Flex'; <mask> <mask> export const InputLeftAddon = React.memo((props: IBoxProps & IInputProps) => { <mask> return ( <mask> <Box <mask> {...addonsDefaultStyle} <mask> borderRightWidth={0} </s> fix: input crosscheck update ui </s> remove const addonsDefaultStyle = { p: 3, borderColor: 'gray.300', borderWidth: 1, }; </s> add </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box> </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />;
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/InputGroup.tsx
bg={useColorModeValue('gray.50', 'gray.700')}
<mask> <Box <mask> {...addonsDefaultStyle} <mask> borderRightWidth={0} <mask> roundedLeft={4} <mask> bg="gray.200" <mask> {...props} <mask> > <mask> <Box m="auto">{props.children}</Box> <mask> </Box> <mask> ); </s> fix: input crosscheck update ui </s> remove bg="gray.200" </s> add bg={useColorModeValue('gray.50', 'gray.700')} </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box> </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/InputGroup.tsx
<Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box>
<mask> roundedLeft={4} <mask> bg="gray.200" <mask> {...props} <mask> > <mask> <Box m="auto">{props.children}</Box> <mask> </Box> <mask> ); <mask> }); <mask> export const InputRightAddon = React.memo((props: IBoxProps & IInputProps) => { <mask> return ( </s> fix: input crosscheck update ui </s> remove bg="gray.200" </s> add bg={useColorModeValue('gray.50', 'gray.700')} </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box> </s> remove bg="gray.200" </s> add bg={useColorModeValue('gray.50', 'gray.700')}
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/InputGroup.tsx
const addonsDefaultStyle = { p: 3, borderColor: useColorModeValue('gray.300', 'gray.600'), borderWidth: 1, };
<mask> </Box> <mask> ); <mask> }); <mask> export const InputRightAddon = React.memo((props: IBoxProps & IInputProps) => { <mask> return ( <mask> <Box <mask> {...addonsDefaultStyle} <mask> borderLeftWidth={0} </s> fix: input crosscheck update ui </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box> </s> remove const addonsDefaultStyle = { p: 3, borderColor: 'gray.300', borderWidth: 1, }; </s> add </s> remove bg="gray.200" </s> add bg={useColorModeValue('gray.50', 'gray.700')}
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/InputGroup.tsx
bg={useColorModeValue('gray.50', 'gray.700')}
<mask> <Box <mask> {...addonsDefaultStyle} <mask> borderLeftWidth={0} <mask> roundedRight={4} <mask> bg="gray.200" <mask> {...props} <mask> > <mask> <Box m="auto">{props.children}</Box> <mask> </Box> <mask> ); </s> fix: input crosscheck update ui </s> remove bg="gray.200" </s> add bg={useColorModeValue('gray.50', 'gray.700')} </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box> </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/InputGroup.tsx
<Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box>
<mask> roundedRight={4} <mask> bg="gray.200" <mask> {...props} <mask> > <mask> <Box m="auto">{props.children}</Box> <mask> </Box> <mask> ); <mask> }); <mask> <mask> type InputGroupProps = { </s> fix: input crosscheck update ui </s> remove bg="gray.200" </s> add bg={useColorModeValue('gray.50', 'gray.700')} </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box> </s> remove bg="gray.200" </s> add bg={useColorModeValue('gray.50', 'gray.700')} </s> remove const addonsDefaultStyle = { p: 3, borderColor: 'gray.300', borderWidth: 1, }; </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/InputGroup.tsx
mx, my,
<mask> mr, <mask> ml, <mask> mt, <mask> mb, <mask> label, <mask> _label, <mask> placeholderTextColor, <mask> ...props <mask> }: IInputProps, </s> fix: input crosscheck update ui </s> remove <InputLeftAddon children={<Text>https://</Text>} /> </s> add <InputLeftAddon children={'https://'} /> </s> remove placeholder="Here is a sample placeholder" focusBorderColor="green" </s> add placeholder="focusBorderColor Example" focusBorderColor="green.400"
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/index.tsx
mx, my,
<mask> mr, <mask> ml, <mask> mt, <mask> mb, <mask> }; <mask> const [isFocused, setIsFocused] = React.useState(false); <mask> const handleFocus = (focusState: boolean, callback: any) => { <mask> setIsFocused(focusState); <mask> callback(); </s> fix: input crosscheck update ui </s> remove return <Input placeholder="Default Input" />; </s> add return <Input mx={3} placeholder="Default Input" />;
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/index.tsx
_errorMessageBaseProps,
<mask> hoverBorderColor, <mask> borderBottomWidth, <mask> ...newProps <mask> } = useThemeProps('Input', { ...formControlContext, ...props }); <mask> <mask> const computedProps = { <mask> display: 'flex', <mask> flexDirection: 'row', </s> fix: input crosscheck update ui </s> remove const addonsDefaultStyle = { p: 3, borderColor: 'gray.300', borderWidth: 1, }; </s> add </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box>
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/index.tsx
<Text ml={2} {..._errorMessageBaseProps} {..._errorMessage}>
<mask> ) : null} <mask> </Box> <mask> <mask> {isInvalid && errorMessage ? ( <mask> <Text ml={2} color="danger.600" {..._errorMessage}> <mask> {errorMessage} <mask> </Text> <mask> ) : null} <mask> </Box> <mask> ); </s> fix: input crosscheck update ui </s> remove <Button ml={1} onPress={handleClick}> </s> add <Button ml={1} roundedLeft={0} roundedRight="md" colorScheme="default" onPress={handleClick} > </s> remove : mode('gray.600', 'gray.400')(props), </s> add : mode('gray.300', 'gray.600')(props), </s> remove opacity: 0.4, </s> add opacity: 0.8, bg: mode('gray.100', 'gray.700')(props), </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box> </s> remove <Box m="auto">{props.children}</Box> </s> add <Box m="auto" _text={props._text || { fontWeight: 600 }}> {props.children} </Box>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/components/primitives/Input/index.tsx
opacity: 0.8, bg: mode('gray.100', 'gray.700')(props),
<mask> p: Platform.OS === 'android' ? 2 : 3, // Android's input have default padding. <mask> color: mode('black', 'white')(props), <mask> placeholderTextColor: mode(colors.gray[600], colors.black)(props), <mask> _isDisabledProps: { <mask> opacity: 0.4, <mask> }, <mask> borderColor: isInvalid <mask> ? mode('danger.600', 'danger.200')(props) <mask> : mode('gray.600', 'gray.400')(props), <mask> hoverBorderColor: 'default.500', </s> fix: input crosscheck update ui </s> remove : mode('gray.600', 'gray.400')(props), </s> add : mode('gray.300', 'gray.600')(props), </s> remove <Button ml={1} onPress={handleClick}> </s> add <Button ml={1} roundedLeft={0} roundedRight="md" colorScheme="default" onPress={handleClick} > </s> remove <Text ml={2} color="danger.600" {..._errorMessage}> </s> add <Text ml={2} {..._errorMessageBaseProps} {..._errorMessage}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/theme/components/input.ts
: mode('gray.300', 'gray.600')(props),
<mask> opacity: 0.4, <mask> }, <mask> borderColor: isInvalid <mask> ? mode('danger.600', 'danger.200')(props) <mask> : mode('gray.600', 'gray.400')(props), <mask> hoverBorderColor: 'default.500', <mask> focusBorderColor: mode('default.600', 'default.400')(props), <mask> errorBorderColor: mode('danger.600', 'danger.200')(props), <mask> }; <mask> }; </s> fix: input crosscheck update ui </s> remove opacity: 0.4, </s> add opacity: 0.8, bg: mode('gray.100', 'gray.700')(props), </s> remove <Button ml={1} onPress={handleClick}> </s> add <Button ml={1} roundedLeft={0} roundedRight="md" colorScheme="default" onPress={handleClick} > </s> remove <Text ml={2} color="danger.600" {..._errorMessage}> </s> add <Text ml={2} {..._errorMessageBaseProps} {..._errorMessage}> </s> remove errorBorderColor="yellow" </s> add errorBorderColor="yellow.400"
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/theme/components/input.ts
_errorMessageBaseProps: { color: mode('danger.600', 'danger.200')(props) },
<mask> focusBorderColor: mode('default.600', 'default.400')(props), <mask> errorBorderColor: mode('danger.600', 'danger.200')(props), <mask> }; <mask> }; <mask> <mask> function roundedStyle() { <mask> return { <mask> borderRadius: '50', </s> fix: input crosscheck update ui </s> remove : mode('gray.600', 'gray.400')(props), </s> add : mode('gray.300', 'gray.600')(props), </s> remove opacity: 0.4, </s> add opacity: 0.8, bg: mode('gray.100', 'gray.700')(props), </s> remove const addonsDefaultStyle = { p: 3, borderColor: 'gray.300', borderWidth: 1, }; </s> add
[ "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a944325a081ed5ae3b65c22c554cca42d2df3fd8
src/theme/components/input.ts
import { extractInObject, stylingProps } from '../../../theme/tools/utils';
<mask> import { useFocusRing } from '@react-native-aria/focus'; <mask> import { CircleIcon } from '../Icon/Icons'; <mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps'; <mask> import { combineContextAndProps } from '../../../utils'; <mask> <mask> const Radio = ( <mask> { icon, children, wrapperRef, ...props }: IRadioProps, <mask> ref: any <mask> ) => { </s> fix: fixed radio layout on web </s> remove const { _interactionBox, _iconWrapper, _icon, ...resolvedProps } = usePropsResolution('Radio', combinedProps, { isInvalid, isReadOnly, isFocusVisible, isDisabled, isIndeterminate, isChecked, isHovered, }); </s> add const { _interactionBox, _icon, ...resolvedProps } = usePropsResolution( 'Radio', combinedProps, { isInvalid, isReadOnly, isFocusVisible, isDisabled, isIndeterminate, isChecked, isHovered, } ); const [layoutProps, nonLayoutProps] = extractInObject(resolvedProps, [ ...stylingProps.margin, ...stylingProps.layout, ...stylingProps.flexbox, ...stylingProps.position, '_text', ]); </s> remove <Center {..._iconWrapper} // {...(isChecked && _radioChecked)} // {...(isDisabled && _radioDisabled)} // {...(isInvalid && _radioInvalid)} > </s> add <Center {...nonLayoutProps}> </s> remove {...resolvedProps} </s> add {...layoutProps} </s> remove // {...(isFocusVisible && _iterationBoxFocus)} // {...(isHovered && _iterationBoxHover)} // {...(isDisabled && _iterationBoxDisabled)} </s> add
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a9e8798e5ed9517da027c41ebb325ab5c261a3e2
src/components/primitives/Radio/Radio.web.tsx
const { _interactionBox, _icon, ...resolvedProps } = usePropsResolution( 'Radio', combinedProps, { isInvalid, isReadOnly, isFocusVisible, isDisabled, isIndeterminate, isChecked, isHovered, } ); const [layoutProps, nonLayoutProps] = extractInObject(resolvedProps, [ ...stylingProps.margin, ...stylingProps.layout, ...stylingProps.flexbox, ...stylingProps.position, '_text', ]);
<mask> React.cloneElement(icon, { <mask> ..._icon, <mask> }); <mask> <mask> const { <mask> _interactionBox, <mask> _iconWrapper, <mask> _icon, <mask> ...resolvedProps <mask> } = usePropsResolution('Radio', combinedProps, { <mask> isInvalid, <mask> isReadOnly, <mask> isFocusVisible, <mask> isDisabled, <mask> isIndeterminate, <mask> isChecked, <mask> isHovered, <mask> }); <mask> <mask> const component = ( <mask> <Box <mask> flexDirection="row" <mask> alignItems="center" </s> fix: fixed radio layout on web </s> remove {...resolvedProps} </s> add {...layoutProps} </s> remove <Center {..._iconWrapper} // {...(isChecked && _radioChecked)} // {...(isDisabled && _radioDisabled)} // {...(isInvalid && _radioInvalid)} > </s> add <Center {...nonLayoutProps}> </s> remove // {...(isFocusVisible && _iterationBoxFocus)} // {...(isHovered && _iterationBoxHover)} // {...(isDisabled && _iterationBoxDisabled)} </s> add
[ "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/a9e8798e5ed9517da027c41ebb325ab5c261a3e2
src/components/primitives/Radio/Radio.web.tsx
{...layoutProps}
<mask> const component = ( <mask> <Box <mask> flexDirection="row" <mask> alignItems="center" <mask> {...resolvedProps} <mask> opacity={isDisabled ? 0.4 : 1} <mask> cursor={isDisabled ? 'not-allowed' : 'pointer'} <mask> > <mask> <Center> <mask> {/* Interaction Box */} </s> fix: fixed radio layout on web </s> remove // {...(isFocusVisible && _iterationBoxFocus)} // {...(isHovered && _iterationBoxHover)} // {...(isDisabled && _iterationBoxDisabled)} </s> add </s> remove <Center {..._iconWrapper} // {...(isChecked && _radioChecked)} // {...(isDisabled && _radioDisabled)} // {...(isInvalid && _radioInvalid)} > </s> add <Center {...nonLayoutProps}> </s> remove const { _interactionBox, _iconWrapper, _icon, ...resolvedProps } = usePropsResolution('Radio', combinedProps, { isInvalid, isReadOnly, isFocusVisible, isDisabled, isIndeterminate, isChecked, isHovered, }); </s> add const { _interactionBox, _icon, ...resolvedProps } = usePropsResolution( 'Radio', combinedProps, { isInvalid, isReadOnly, isFocusVisible, isDisabled, isIndeterminate, isChecked, isHovered, } ); const [layoutProps, nonLayoutProps] = extractInObject(resolvedProps, [ ...stylingProps.margin, ...stylingProps.layout, ...stylingProps.flexbox, ...stylingProps.position, '_text', ]);
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a9e8798e5ed9517da027c41ebb325ab5c261a3e2
src/components/primitives/Radio/Radio.web.tsx
<mask> <Center> <mask> {/* Interaction Box */} <mask> <Box <mask> {..._interactionBox} <mask> // {...(isFocusVisible && _iterationBoxFocus)} <mask> // {...(isHovered && _iterationBoxHover)} <mask> // {...(isDisabled && _iterationBoxDisabled)} <mask> style={{ <mask> // @ts-ignore - only for web" <mask> transition: 'height 200ms, width 200ms', <mask> }} <mask> h={isFocusVisible || isHovered ? '200%' : '100%'} </s> fix: fixed radio layout on web </s> remove <Center {..._iconWrapper} // {...(isChecked && _radioChecked)} // {...(isDisabled && _radioDisabled)} // {...(isInvalid && _radioInvalid)} > </s> add <Center {...nonLayoutProps}> </s> remove {...resolvedProps} </s> add {...layoutProps} </s> remove const { _interactionBox, _iconWrapper, _icon, ...resolvedProps } = usePropsResolution('Radio', combinedProps, { isInvalid, isReadOnly, isFocusVisible, isDisabled, isIndeterminate, isChecked, isHovered, }); </s> add const { _interactionBox, _icon, ...resolvedProps } = usePropsResolution( 'Radio', combinedProps, { isInvalid, isReadOnly, isFocusVisible, isDisabled, isIndeterminate, isChecked, isHovered, } ); const [layoutProps, nonLayoutProps] = extractInObject(resolvedProps, [ ...stylingProps.margin, ...stylingProps.layout, ...stylingProps.flexbox, ...stylingProps.position, '_text', ]);
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a9e8798e5ed9517da027c41ebb325ab5c261a3e2
src/components/primitives/Radio/Radio.web.tsx
<Center {...nonLayoutProps}>
<mask> h={isFocusVisible || isHovered ? '200%' : '100%'} <mask> w={isFocusVisible || isHovered ? '200%' : '100%'} <mask> /> <mask> {/* Radio */} <mask> <Center <mask> {..._iconWrapper} <mask> // {...(isChecked && _radioChecked)} <mask> // {...(isDisabled && _radioDisabled)} <mask> // {...(isInvalid && _radioInvalid)} <mask> > <mask> {icon && sizedIcon && isChecked ? ( <mask> sizedIcon() <mask> ) : ( <mask> <CircleIcon {..._icon} opacity={isChecked ? 1 : 0} /> <mask> )} </s> fix: fixed radio layout on web </s> remove // {...(isFocusVisible && _iterationBoxFocus)} // {...(isHovered && _iterationBoxHover)} // {...(isDisabled && _iterationBoxDisabled)} </s> add </s> remove {...resolvedProps} </s> add {...layoutProps} </s> remove const { _interactionBox, _iconWrapper, _icon, ...resolvedProps } = usePropsResolution('Radio', combinedProps, { isInvalid, isReadOnly, isFocusVisible, isDisabled, isIndeterminate, isChecked, isHovered, }); </s> add const { _interactionBox, _icon, ...resolvedProps } = usePropsResolution( 'Radio', combinedProps, { isInvalid, isReadOnly, isFocusVisible, isDisabled, isIndeterminate, isChecked, isHovered, } ); const [layoutProps, nonLayoutProps] = extractInObject(resolvedProps, [ ...stylingProps.margin, ...stylingProps.layout, ...stylingProps.flexbox, ...stylingProps.position, '_text', ]);
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/a9e8798e5ed9517da027c41ebb325ab5c261a3e2
src/components/primitives/Radio/Radio.web.tsx
<HStack key={key}>
<mask> export default function () { <mask> return ( <mask> <VStack> <mask> {['solid', 'outline', 'subtle'].map((key: any) => ( <mask> <HStack> <mask> <Badge m={2}>Default</Badge> <mask> <Badge m={2} colorScheme="success" variant={key}> <mask> SUCCESS <mask> </Badge> <mask> <Badge m={2} colorScheme="danger" variant={key}> </s> Minor changes for contrast text </s> remove _text: { color: mode(`${colorScheme}.100`, `${colorScheme}.500`)(props) }, </s> add </s> remove export * from './components/primitives/Checkbox'; </s> add </s> remove const { color, fontSize, fontWeight, ...newProps } = useThemeProps('Avatar', { </s> add const { _name, ...newProps } = useThemeProps('Avatar', { </s> remove const textProps = { color, fontSize, fontWeight }; </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aa03adf21ce1aee24fa742f307ab81643c825e16
example/storybook/stories/components/composites/Badge/variants.tsx
export * from './components/primitives/Checkbox';
<mask> export * from './components/primitives/Box'; <mask> export * from './components/composites/Breadcrumb'; <mask> export * from './components/primitives/Button'; <mask> export * from './components/composites/Center'; <mask> export * from './components/composites/CircularProgress'; <mask> export * from './components/composites/CloseButton'; <mask> export * from './components/composites/Code'; <mask> export * from './components/composites/Collapse'; <mask> export * from './components/primitives/Column'; </s> Minor changes for contrast text </s> remove export * from './components/primitives/Checkbox'; </s> add </s> remove <HStack> </s> add <HStack key={key}> </s> remove _text: { color: mode(`${colorScheme}.100`, `${colorScheme}.500`)(props) }, </s> add </s> remove <Text {...textProps}>{name ? initials(name) : '--'}</Text> </s> add <Text {..._name}>{name ? initials(name) : '--'}</Text> </s> remove // FIXME: Review needed textProps={{ color, fontSize, fontWeight, }} </s> add _alt={_name}
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aa03adf21ce1aee24fa742f307ab81643c825e16
example/storybook/stories/index.ts
<mask> export * from './components/composites/Center'; <mask> export * from './components/composites/CircularProgress'; <mask> export * from './components/composites/CloseButton'; <mask> export * from './components/composites/Code'; <mask> export * from './components/primitives/Checkbox'; <mask> export * from './components/composites/Collapse'; <mask> export * from './components/primitives/Column'; <mask> export * from './components/composites/Container'; <mask> export * from './components/composites/Divider'; <mask> export * from './components/composites/Fab'; </s> Minor changes for contrast text </s> remove <HStack> </s> add <HStack key={key}> </s> remove _text: { color: mode(`${colorScheme}.100`, `${colorScheme}.500`)(props) }, </s> add </s> remove <Text {...textProps}>{name ? initials(name) : '--'}</Text> </s> add <Text {..._name}>{name ? initials(name) : '--'}</Text> </s> remove // FIXME: Review needed textProps={{ color, fontSize, fontWeight, }} </s> add _alt={_name}
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aa03adf21ce1aee24fa742f307ab81643c825e16
example/storybook/stories/index.ts
const { _name, ...newProps } = useThemeProps('Avatar', {
<mask> const StyledAvatar = styled(Box)<IAvatarProps>({}); <mask> <mask> const Avatar = (props: IAvatarProps) => { <mask> const { size, name, style, source, children, ...remainingProps } = props; <mask> const { color, fontSize, fontWeight, ...newProps } = useThemeProps('Avatar', { <mask> ...remainingProps, <mask> name, <mask> size, <mask> }); <mask> const textProps = { color, fontSize, fontWeight }; </s> Minor changes for contrast text </s> remove const textProps = { color, fontSize, fontWeight }; </s> add </s> remove _text: { color: mode(`${colorScheme}.100`, `${colorScheme}.500`)(props) }, </s> add </s> remove // FIXME: Review needed textProps={{ color, fontSize, fontWeight, }} </s> add _alt={_name} </s> remove <HStack> </s> add <HStack key={key}> </s> remove <Text {...textProps}>{name ? initials(name) : '--'}</Text> </s> add <Text {..._name}>{name ? initials(name) : '--'}</Text>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aa03adf21ce1aee24fa742f307ab81643c825e16
src/components/composites/Avatar/Avatar.tsx
<mask> ...remainingProps, <mask> name, <mask> size, <mask> }); <mask> const textProps = { color, fontSize, fontWeight }; <mask> const imageFitStyle = { height: '100%', width: '100%' }; <mask> return ( <mask> <StyledAvatar {...newProps} style={style}> <mask> {source ? ( <mask> <Image </s> Minor changes for contrast text </s> remove const { color, fontSize, fontWeight, ...newProps } = useThemeProps('Avatar', { </s> add const { _name, ...newProps } = useThemeProps('Avatar', { </s> remove // FIXME: Review needed textProps={{ color, fontSize, fontWeight, }} </s> add _alt={_name} </s> remove _text: { color: mode(`${colorScheme}.100`, `${colorScheme}.500`)(props) }, </s> add </s> remove <Text {...textProps}>{name ? initials(name) : '--'}</Text> </s> add <Text {..._name}>{name ? initials(name) : '--'}</Text> </s> remove <HStack> </s> add <HStack key={key}>
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aa03adf21ce1aee24fa742f307ab81643c825e16
src/components/composites/Avatar/Avatar.tsx
_alt={_name}
<mask> <Image <mask> borderRadius={newProps.borderRadius} <mask> source={source} <mask> alt={name ? initials(name) : '--'} <mask> // FIXME: Review needed <mask> textProps={{ <mask> color, <mask> fontSize, <mask> fontWeight, <mask> }} <mask> style={[style, imageFitStyle]} <mask> /> <mask> ) : ( <mask> <Text {...textProps}>{name ? initials(name) : '--'}</Text> <mask> )} </s> Minor changes for contrast text </s> remove <Text {...textProps}>{name ? initials(name) : '--'}</Text> </s> add <Text {..._name}>{name ? initials(name) : '--'}</Text> </s> remove const textProps = { color, fontSize, fontWeight }; </s> add </s> remove const { color, fontSize, fontWeight, ...newProps } = useThemeProps('Avatar', { </s> add const { _name, ...newProps } = useThemeProps('Avatar', { </s> remove _text: { color: mode(`${colorScheme}.100`, `${colorScheme}.500`)(props) }, </s> add </s> remove export * from './components/primitives/Checkbox'; </s> add
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aa03adf21ce1aee24fa742f307ab81643c825e16
src/components/composites/Avatar/Avatar.tsx
<Text {..._name}>{name ? initials(name) : '--'}</Text>
<mask> }} <mask> style={[style, imageFitStyle]} <mask> /> <mask> ) : ( <mask> <Text {...textProps}>{name ? initials(name) : '--'}</Text> <mask> )} <mask> {children} <mask> </StyledAvatar> <mask> ); <mask> }; </s> Minor changes for contrast text </s> remove // FIXME: Review needed textProps={{ color, fontSize, fontWeight, }} </s> add _alt={_name} </s> remove const textProps = { color, fontSize, fontWeight }; </s> add </s> remove _text: { color: mode(`${colorScheme}.100`, `${colorScheme}.500`)(props) }, </s> add </s> remove const { color, fontSize, fontWeight, ...newProps } = useThemeProps('Avatar', { </s> add const { _name, ...newProps } = useThemeProps('Avatar', { </s> remove export * from './components/primitives/Checkbox'; </s> add
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aa03adf21ce1aee24fa742f307ab81643c825e16
src/components/composites/Avatar/Avatar.tsx
<mask> function variantSolid(props: Record<string, any>) { <mask> let colorScheme = getColorScheme(props); <mask> return { <mask> bg: mode(`${colorScheme}.500`, `${colorScheme}.100`)(props), <mask> _text: { color: mode(`${colorScheme}.100`, `${colorScheme}.500`)(props) }, <mask> borderWidth: 1, <mask> borderColor: 'transparent', <mask> }; <mask> } <mask> </s> Minor changes for contrast text </s> remove const { color, fontSize, fontWeight, ...newProps } = useThemeProps('Avatar', { </s> add const { _name, ...newProps } = useThemeProps('Avatar', { </s> remove <HStack> </s> add <HStack key={key}> </s> remove const textProps = { color, fontSize, fontWeight }; </s> add </s> remove <Text {...textProps}>{name ? initials(name) : '--'}</Text> </s> add <Text {..._name}>{name ? initials(name) : '--'}</Text> </s> remove // FIXME: Review needed textProps={{ color, fontSize, fontWeight, }} </s> add _alt={_name}
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aa03adf21ce1aee24fa742f307ab81643c825e16
src/theme/components/badge.ts
interface List extends ReactListViewProps, Testable {
<mask> /** <mask> <mask> * see Widget List.js <mask> */ <mask> interface List extends ReactNative.FlatListProperties<any>, Testable { <mask> listBorderColor?: string; <mask> listDividerBg?: string; <mask> listNoteColor?: string; <mask> listItemPadding?: number; <mask> listNoteSize?: number; </s> fix(types): adds keyExtractor props for list </s> remove rightOpenValue?: number; </s> add rightOpenValue?: number; keyExtractor?: (item, index: number) => string; </s> remove dataArray?: Array<any>; </s> add dataArray?: Array<any>; renderItem?: ( item: any, index: string | number, ) => React.ReactElement<any>;
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aab70c320a1615e0a707f4655af7a166dbe5e64f
index.d.ts
dataArray?: Array<any>; renderItem?: ( item: any, index: string | number, ) => React.ReactElement<any>;
<mask> inset?: boolean; <mask> /** <mask> * Array of data chunks to render iteratively. <mask> */ <mask> dataArray?: Array<any>; <mask> renderRow?: ( <mask> rowData: any, <mask> sectionID: string | number, <mask> rowID: string | number, <mask> highlightRow?: boolean </s> fix(types): adds keyExtractor props for list </s> remove rightOpenValue?: number; </s> add rightOpenValue?: number; keyExtractor?: (item, index: number) => string; </s> remove interface List extends ReactNative.FlatListProperties<any>, Testable { </s> add interface List extends ReactListViewProps, Testable {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aab70c320a1615e0a707f4655af7a166dbe5e64f
index.d.ts
rightOpenValue?: number; keyExtractor?: (item, index: number) => string;
<mask> ) => React.ReactElement<any>; <mask> dataSource?: ReactNative.ListViewDataSource; <mask> disableLeftSwipe?: boolean; <mask> disableRightSwipe?: boolean; <mask> rightOpenValue?: number; <mask> leftOpenValue?: number; <mask> renderRightHiddenRow?: ( <mask> rowData: any, <mask> sectionID: string | number, <mask> rowID: string | number, </s> fix(types): adds keyExtractor props for list </s> remove dataArray?: Array<any>; </s> add dataArray?: Array<any>; renderItem?: ( item: any, index: string | number, ) => React.ReactElement<any>; </s> remove interface List extends ReactNative.FlatListProperties<any>, Testable { </s> add interface List extends ReactListViewProps, Testable {
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/aab70c320a1615e0a707f4655af7a166dbe5e64f
index.d.ts
<View ref={c => this._root = c} {...this.props} style={{ position: 'relative', flexDirection: 'column', flex: 1 }}>{(this.state.selectedItem) === undefined ? (<View />) :
<mask> return [animatedCardStyles, animatedCardStyles2]; <mask> } <mask> render() { <mask> return ( <mask> <View ref={c => this._root = c} {...this.props} style={{ position: 'relative', flexDirection: 'column' }}>{(this.state.selectedItem) === undefined ? (<View />) : <mask> (<View> <mask> <Animated.View <mask> style={[this.getCardStyles()[1], this.getInitialStyle().topCard, <mask> { opacity: this.state.fadeAnim }]} <mask> {...this._panResponder.panHandlers} </s> styleProvider for custom theme and variables </s> remove import variables from './variables'; </s> add import variables from './theme/variables'; </s> remove "_where": "/Users/sahusoft/Sites/projects/DatingApp", </s> add "_where": "/Users/sahusoft/Sites/projects/Try", </s> remove "_phantomChildren": { "camelcase": "3.0.0", "cliui": "3.2.0", "decamelize": "1.2.0", "get-caller-file": "1.0.2", "os-locale": "1.4.0", "read-pkg-up": "1.0.1", "require-directory": "2.1.1", "require-main-filename": "1.0.1", "set-blocking": "2.0.0", "string-width": "1.0.2", "which-module": "1.0.0", "y18n": "3.2.1" }, </s> add "_phantomChildren": {}, </s> remove "_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#7c3562e7afd549b232892b2b9b69b3202c85f833", "_shasum": "1d4dbcfaf8f78d74a3a6ad72f76f5b7bcdb58e11", </s> add "_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#c9a94bb306844b52377afa265070dbe8d36fdc36", "_shasum": "ab587463e63750a79bbc23c875b0ab0ff29f30b7", </s> remove "tween-functions": "^1.0.1", "react-tween-state": "^0.1.5" </s> add "react-tween-state": "^0.1.5", "tween-functions": "^1.0.1"
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/ab455916721095bd446a280a85e16b34049139da
basic/DeckSwiper.js
import variables from './theme/variables';
<mask> import { Gravatar } from 'native-base/backward'; <mask> import { Col, Row, Grid } from 'react-native-easy-grid'; <mask> import { setDefaultThemeStyle } from './init'; <mask> import getTheme from './theme'; <mask> import variables from './variables'; <mask> import Drawer from './basic/Drawer'; <mask> import { Swipeout } from './basic/Swipe'; <mask> <mask> setDefaultThemeStyle(); <mask> // Theme </s> styleProvider for custom theme and variables </s> remove <View ref={c => this._root = c} {...this.props} style={{ position: 'relative', flexDirection: 'column' }}>{(this.state.selectedItem) === undefined ? (<View />) : </s> add <View ref={c => this._root = c} {...this.props} style={{ position: 'relative', flexDirection: 'column', flex: 1 }}>{(this.state.selectedItem) === undefined ? (<View />) : </s> remove "_where": "/Users/sahusoft/Sites/projects/DatingApp", </s> add "_where": "/Users/sahusoft/Sites/projects/Try", </s> remove "_phantomChildren": { "camelcase": "3.0.0", "cliui": "3.2.0", "decamelize": "1.2.0", "get-caller-file": "1.0.2", "os-locale": "1.4.0", "read-pkg-up": "1.0.1", "require-directory": "2.1.1", "require-main-filename": "1.0.1", "set-blocking": "2.0.0", "string-width": "1.0.2", "which-module": "1.0.0", "y18n": "3.2.1" }, </s> add "_phantomChildren": {}, </s> remove "_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#7c3562e7afd549b232892b2b9b69b3202c85f833", "_shasum": "1d4dbcfaf8f78d74a3a6ad72f76f5b7bcdb58e11", </s> add "_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#c9a94bb306844b52377afa265070dbe8d36fdc36", "_shasum": "ab587463e63750a79bbc23c875b0ab0ff29f30b7", </s> remove "tween-functions": "^1.0.1", "react-tween-state": "^0.1.5" </s> add "react-tween-state": "^0.1.5", "tween-functions": "^1.0.1"
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/ab455916721095bd446a280a85e16b34049139da
index.js
"_phantomChildren": {},
<mask> "_from": "git+https://github.com/GeekyAnts/NativeBase.git#v2.0-alpha1", <mask> "_id": "[email protected]", <mask> "_inCache": true, <mask> "_location": "/native-base", <mask> "_phantomChildren": { <mask> "camelcase": "3.0.0", <mask> "cliui": "3.2.0", <mask> "decamelize": "1.2.0", <mask> "get-caller-file": "1.0.2", <mask> "os-locale": "1.4.0", <mask> "read-pkg-up": "1.0.1", <mask> "require-directory": "2.1.1", <mask> "require-main-filename": "1.0.1", <mask> "set-blocking": "2.0.0", <mask> "string-width": "1.0.2", <mask> "which-module": "1.0.0", <mask> "y18n": "3.2.1" <mask> }, <mask> "_requested": { <mask> "raw": "native-base@git+https://github.com/GeekyAnts/NativeBase.git#v2.0-alpha1", <mask> "scope": null, <mask> "escapedName": "native-base", <mask> "name": "native-base", </s> styleProvider for custom theme and variables </s> remove "_where": "/Users/sahusoft/Sites/projects/DatingApp", </s> add "_where": "/Users/sahusoft/Sites/projects/Try", </s> remove "_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#7c3562e7afd549b232892b2b9b69b3202c85f833", "_shasum": "1d4dbcfaf8f78d74a3a6ad72f76f5b7bcdb58e11", </s> add "_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#c9a94bb306844b52377afa265070dbe8d36fdc36", "_shasum": "ab587463e63750a79bbc23c875b0ab0ff29f30b7", </s> remove import variables from './variables'; </s> add import variables from './theme/variables'; </s> remove "tween-functions": "^1.0.1", "react-tween-state": "^0.1.5" </s> add "react-tween-state": "^0.1.5", "tween-functions": "^1.0.1" </s> remove <View ref={c => this._root = c} {...this.props} style={{ position: 'relative', flexDirection: 'column' }}>{(this.state.selectedItem) === undefined ? (<View />) : </s> add <View ref={c => this._root = c} {...this.props} style={{ position: 'relative', flexDirection: 'column', flex: 1 }}>{(this.state.selectedItem) === undefined ? (<View />) :
[ "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/ab455916721095bd446a280a85e16b34049139da
package.json
"_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#c9a94bb306844b52377afa265070dbe8d36fdc36", "_shasum": "ab587463e63750a79bbc23c875b0ab0ff29f30b7",
<mask> }, <mask> "_requiredBy": [ <mask> "/" <mask> ], <mask> "_resolved": "git+https://github.com/GeekyAnts/NativeBase.git#7c3562e7afd549b232892b2b9b69b3202c85f833", <mask> "_shasum": "1d4dbcfaf8f78d74a3a6ad72f76f5b7bcdb58e11", <mask> "_shrinkwrap": null, <mask> "_spec": "native-base@git+https://github.com/GeekyAnts/NativeBase.git#v2.0-alpha1", <mask> "_where": "/Users/sahusoft/Sites/projects/DatingApp", <mask> "bugs": { <mask> "url": "https://github.com/GeekyAnts/NativeBase/issues" </s> styleProvider for custom theme and variables </s> remove "_where": "/Users/sahusoft/Sites/projects/DatingApp", </s> add "_where": "/Users/sahusoft/Sites/projects/Try", </s> remove "_phantomChildren": { "camelcase": "3.0.0", "cliui": "3.2.0", "decamelize": "1.2.0", "get-caller-file": "1.0.2", "os-locale": "1.4.0", "read-pkg-up": "1.0.1", "require-directory": "2.1.1", "require-main-filename": "1.0.1", "set-blocking": "2.0.0", "string-width": "1.0.2", "which-module": "1.0.0", "y18n": "3.2.1" }, </s> add "_phantomChildren": {}, </s> remove "tween-functions": "^1.0.1", "react-tween-state": "^0.1.5" </s> add "react-tween-state": "^0.1.5", "tween-functions": "^1.0.1" </s> remove import variables from './variables'; </s> add import variables from './theme/variables'; </s> remove <View ref={c => this._root = c} {...this.props} style={{ position: 'relative', flexDirection: 'column' }}>{(this.state.selectedItem) === undefined ? (<View />) : </s> add <View ref={c => this._root = c} {...this.props} style={{ position: 'relative', flexDirection: 'column', flex: 1 }}>{(this.state.selectedItem) === undefined ? (<View />) :
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/ab455916721095bd446a280a85e16b34049139da
package.json