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
|
---|---|---|---|---|
// STEP 4: merge | <mask> 1
<mask> );
<mask> }
<mask>
<mask> // // STEP 4: merge
<mask> const defaultStyles = merge(
<mask> {},
<mask> flattenBaseStyle,
<mask> flattenVariantStyle,
<mask> flattenSizeStyle
</s> fix: migrated linear gradint and contrast text </s> remove // // STEP 5: linear Grad and contrastText
let ignore: any = [];
if (
flattenProps.bg?.linearGradient ||
flattenProps.background?.linearGradient ||
flattenProps.bgColor?.linearGradient ||
flattenProps.backgroundColor?.linearGradient
) {
let bgProp = 'bg';
if (flattenProps.background?.linearGradient) {
bgProp = 'background';
} else if (flattenProps.bgColor?.linearGradient) {
bgProp = 'bgColor';
} else if (flattenProps.backgroundColor?.linearGradient) {
bgProp = 'backgroundColor';
}
flattenProps[bgProp].linearGradient.colors = flattenProps[
bgProp
].linearGradient.colors.map((color: string) => {
return get(theme.colors, color, color);
});
ignore = ['bg', 'background', 'backgroundColor', 'bgColor'];
}
// // NOTE: seprating bg props when linearGardiant is available
const [gradientProps] = extractInObject(flattenProps, ignore);
const disableContrastText = useNativeBaseConfig('NativeBaseConfigProvider')
.disableContrastText;
const bgColor =
flattenProps.bg ?? flattenProps.backgroundColor ?? flattenProps.bgColor;
const contrastTextColor = useContrastText(
bgColor,
flattenProps?._text?.color,
disableCSSMediaQueries ? (disableContrastText ? true : false) : true
);
flattenProps._text =
contrastTextColor && flattenProps?._text?.color === undefined
? {
color: contrastTextColor,
...flattenProps._text,
}
: flattenProps._text;
</s> add </s> remove ...gradientProps,
</s> add </s> remove const { totalLines, ...newProps } = usePropsResolution(
</s> add const [isFocused, setIsFocused] = React.useState(false);
const handleFocus = (focusState: boolean, callback: any) => {
setIsFocused(focusState);
callback();
};
const { totalLines, onFocus, onBlur, ...newProps } = usePropsResolution( | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c417b7deee8cf5f22f48576a8750b53d87acb96b | src/hooks/useThemeProps/usePropsResolution.tsx |
<mask> { ...defaultStyles, ...flattenProps },
<mask> defaultSpecificity
<mask> );
<mask>
<mask> // // STEP 5: linear Grad and contrastText
<mask> let ignore: any = [];
<mask> if (
<mask> flattenProps.bg?.linearGradient ||
<mask> flattenProps.background?.linearGradient ||
<mask> flattenProps.bgColor?.linearGradient ||
<mask> flattenProps.backgroundColor?.linearGradient
<mask> ) {
<mask> let bgProp = 'bg';
<mask> if (flattenProps.background?.linearGradient) {
<mask> bgProp = 'background';
<mask> } else if (flattenProps.bgColor?.linearGradient) {
<mask> bgProp = 'bgColor';
<mask> } else if (flattenProps.backgroundColor?.linearGradient) {
<mask> bgProp = 'backgroundColor';
<mask> }
<mask> flattenProps[bgProp].linearGradient.colors = flattenProps[
<mask> bgProp
<mask> ].linearGradient.colors.map((color: string) => {
<mask> return get(theme.colors, color, color);
<mask> });
<mask> ignore = ['bg', 'background', 'backgroundColor', 'bgColor'];
<mask> }
<mask> // // NOTE: seprating bg props when linearGardiant is available
<mask> const [gradientProps] = extractInObject(flattenProps, ignore);
<mask>
<mask> const disableContrastText = useNativeBaseConfig('NativeBaseConfigProvider')
<mask> .disableContrastText;
<mask> const bgColor =
<mask> flattenProps.bg ?? flattenProps.backgroundColor ?? flattenProps.bgColor;
<mask>
<mask> const contrastTextColor = useContrastText(
<mask> bgColor,
<mask> flattenProps?._text?.color,
<mask> disableCSSMediaQueries ? (disableContrastText ? true : false) : true
<mask> );
<mask>
<mask> flattenProps._text =
<mask> contrastTextColor && flattenProps?._text?.color === undefined
<mask> ? {
<mask> color: contrastTextColor,
<mask> ...flattenProps._text,
<mask> }
<mask> : flattenProps._text;
<mask>
<mask> const resolvedProps = omitUndefined({
<mask> ...flattenProps,
<mask> ...ignoredProps,
<mask> ...gradientProps,
<mask> });
</s> fix: migrated linear gradint and contrast text </s> remove let darkTextConstrast = getContrastRatio(trueBg, trueDarkText);
let lightTextConstrast = getContrastRatio(trueBg, trueLightText);
</s> add const darkTextConstrast = getContrastRatio(trueBg, trueDarkText);
const lightTextConstrast = getContrastRatio(trueBg, trueLightText); </s> remove const { totalLines, ...newProps } = usePropsResolution(
</s> add const [isFocused, setIsFocused] = React.useState(false);
const handleFocus = (focusState: boolean, callback: any) => {
setIsFocused(focusState);
callback();
};
const { totalLines, onFocus, onBlur, ...newProps } = usePropsResolution( | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c417b7deee8cf5f22f48576a8750b53d87acb96b | src/hooks/useThemeProps/usePropsResolution.tsx |
|
<mask>
<mask> const resolvedProps = omitUndefined({
<mask> ...flattenProps,
<mask> ...ignoredProps,
<mask> ...gradientProps,
<mask> });
<mask> // STEP 6: Return
<mask>
<mask> // flattenProps = {};
<mask> // propertyDepth = {};
</s> fix: migrated linear gradint and contrast text </s> remove // STEP 6: Return
// flattenProps = {};
// propertyDepth = {};
</s> add </s> remove // // STEP 5: linear Grad and contrastText
let ignore: any = [];
if (
flattenProps.bg?.linearGradient ||
flattenProps.background?.linearGradient ||
flattenProps.bgColor?.linearGradient ||
flattenProps.backgroundColor?.linearGradient
) {
let bgProp = 'bg';
if (flattenProps.background?.linearGradient) {
bgProp = 'background';
} else if (flattenProps.bgColor?.linearGradient) {
bgProp = 'bgColor';
} else if (flattenProps.backgroundColor?.linearGradient) {
bgProp = 'backgroundColor';
}
flattenProps[bgProp].linearGradient.colors = flattenProps[
bgProp
].linearGradient.colors.map((color: string) => {
return get(theme.colors, color, color);
});
ignore = ['bg', 'background', 'backgroundColor', 'bgColor'];
}
// // NOTE: seprating bg props when linearGardiant is available
const [gradientProps] = extractInObject(flattenProps, ignore);
const disableContrastText = useNativeBaseConfig('NativeBaseConfigProvider')
.disableContrastText;
const bgColor =
flattenProps.bg ?? flattenProps.backgroundColor ?? flattenProps.bgColor;
const contrastTextColor = useContrastText(
bgColor,
flattenProps?._text?.color,
disableCSSMediaQueries ? (disableContrastText ? true : false) : true
);
flattenProps._text =
contrastTextColor && flattenProps?._text?.color === undefined
? {
color: contrastTextColor,
...flattenProps._text,
}
: flattenProps._text;
</s> add </s> remove // // STEP 4: merge
</s> add // STEP 4: merge | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c417b7deee8cf5f22f48576a8750b53d87acb96b | src/hooks/useThemeProps/usePropsResolution.tsx |
|
<mask> ...flattenProps,
<mask> ...ignoredProps,
<mask> ...gradientProps,
<mask> });
<mask> // STEP 6: Return
<mask>
<mask> // flattenProps = {};
<mask> // propertyDepth = {};
<mask>
<mask> return resolvedProps;
<mask> };
</s> fix: migrated linear gradint and contrast text </s> remove ...gradientProps,
</s> add </s> remove // // STEP 5: linear Grad and contrastText
let ignore: any = [];
if (
flattenProps.bg?.linearGradient ||
flattenProps.background?.linearGradient ||
flattenProps.bgColor?.linearGradient ||
flattenProps.backgroundColor?.linearGradient
) {
let bgProp = 'bg';
if (flattenProps.background?.linearGradient) {
bgProp = 'background';
} else if (flattenProps.bgColor?.linearGradient) {
bgProp = 'bgColor';
} else if (flattenProps.backgroundColor?.linearGradient) {
bgProp = 'backgroundColor';
}
flattenProps[bgProp].linearGradient.colors = flattenProps[
bgProp
].linearGradient.colors.map((color: string) => {
return get(theme.colors, color, color);
});
ignore = ['bg', 'background', 'backgroundColor', 'bgColor'];
}
// // NOTE: seprating bg props when linearGardiant is available
const [gradientProps] = extractInObject(flattenProps, ignore);
const disableContrastText = useNativeBaseConfig('NativeBaseConfigProvider')
.disableContrastText;
const bgColor =
flattenProps.bg ?? flattenProps.backgroundColor ?? flattenProps.bgColor;
const contrastTextColor = useContrastText(
bgColor,
flattenProps?._text?.color,
disableCSSMediaQueries ? (disableContrastText ? true : false) : true
);
flattenProps._text =
contrastTextColor && flattenProps?._text?.color === undefined
? {
color: contrastTextColor,
...flattenProps._text,
}
: flattenProps._text;
</s> add </s> remove // // STEP 4: merge
</s> add // STEP 4: merge | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c417b7deee8cf5f22f48576a8750b53d87acb96b | src/hooks/useThemeProps/usePropsResolution.tsx |
|
// STEP 5: Return | <mask> ...flattenProps,
<mask> ...ignoredProps,
<mask> });
<mask>
<mask> return resolvedProps;
<mask> };
</s> fix: migrated linear gradint and contrast text </s> remove // STEP 6: Return
// flattenProps = {};
// propertyDepth = {};
</s> add </s> remove ...gradientProps,
</s> add </s> remove // // STEP 5: linear Grad and contrastText
let ignore: any = [];
if (
flattenProps.bg?.linearGradient ||
flattenProps.background?.linearGradient ||
flattenProps.bgColor?.linearGradient ||
flattenProps.backgroundColor?.linearGradient
) {
let bgProp = 'bg';
if (flattenProps.background?.linearGradient) {
bgProp = 'background';
} else if (flattenProps.bgColor?.linearGradient) {
bgProp = 'bgColor';
} else if (flattenProps.backgroundColor?.linearGradient) {
bgProp = 'backgroundColor';
}
flattenProps[bgProp].linearGradient.colors = flattenProps[
bgProp
].linearGradient.colors.map((color: string) => {
return get(theme.colors, color, color);
});
ignore = ['bg', 'background', 'backgroundColor', 'bgColor'];
}
// // NOTE: seprating bg props when linearGardiant is available
const [gradientProps] = extractInObject(flattenProps, ignore);
const disableContrastText = useNativeBaseConfig('NativeBaseConfigProvider')
.disableContrastText;
const bgColor =
flattenProps.bg ?? flattenProps.backgroundColor ?? flattenProps.bgColor;
const contrastTextColor = useContrastText(
bgColor,
flattenProps?._text?.color,
disableCSSMediaQueries ? (disableContrastText ? true : false) : true
);
flattenProps._text =
contrastTextColor && flattenProps?._text?.color === undefined
? {
color: contrastTextColor,
...flattenProps._text,
}
: flattenProps._text;
</s> add | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c417b7deee8cf5f22f48576a8750b53d87acb96b | src/hooks/useThemeProps/usePropsResolution.tsx |
it('Input: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios'; | <mask> const inputElement = getByTestId('test');
<mask> expect(inputElement.props.style.backgroundColor).toBe('#e5e5e5');
<mask> });
<mask>
<mask> it('Input: inputElemets', () => {
<mask> const { getByTestId } = render(
<mask> <Provider>
<mask> <Input
<mask> testID="test1"
<mask> InputLeftElement={<Button testID="test2">leftIcon</Button>}
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove <Provider>
</s> add <Provider theme={newTheme}> </s> remove testID="test1"
InputLeftElement={<Button testID="test2">leftIcon</Button>}
placeholder="Input"
</s> add testID="test"
_ios={{ _dark: { variant: 'underlined', size: 'sm' } }}
variant="outline"
size="lg" </s> remove const inputElement = getByTestId('test1');
const iconElement = getByTestId('test2');
console.log(inputElement, '!!!!!');
console.log('===========');
console.log(inputElement.props, '!!!!!');
expect(inputElement.props.InputLeftElement).toBe(iconElement);
</s> add const inputElement = getByTestId('test');
expect(inputElement.props.style.borderBottomWidth).toBe(1);
expect(inputElement.props.style.fontSize).toBe(14); </s> remove // expect(modalElement.props.style.width).toBe('60%');
// });
</s> add const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); </s> remove <HStack testID="hstack" direction="column">
</s> add <HStack testID="test" direction="column"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
<Provider theme={newTheme}> | <mask> });
<mask>
<mask> it('Input: inputElemets', () => {
<mask> const { getByTestId } = render(
<mask> <Provider>
<mask> <Input
<mask> testID="test1"
<mask> InputLeftElement={<Button testID="test2">leftIcon</Button>}
<mask> placeholder="Input"
<mask> />
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove testID="test1"
InputLeftElement={<Button testID="test2">leftIcon</Button>}
placeholder="Input"
</s> add testID="test"
_ios={{ _dark: { variant: 'underlined', size: 'sm' } }}
variant="outline"
size="lg" </s> remove it('Input: inputElemets', () => {
</s> add it('Input: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios'; </s> remove const inputElement = getByTestId('test1');
const iconElement = getByTestId('test2');
console.log(inputElement, '!!!!!');
console.log('===========');
console.log(inputElement.props, '!!!!!');
expect(inputElement.props.InputLeftElement).toBe(iconElement);
</s> add const inputElement = getByTestId('test');
expect(inputElement.props.style.borderBottomWidth).toBe(1);
expect(inputElement.props.style.fontSize).toBe(14); </s> remove // expect(modalElement.props.style.width).toBe('60%');
// });
</s> add const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); </s> remove <HStack testID="hstack" direction="column">
</s> add <HStack testID="test" direction="column"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
testID="test"
_ios={{ _dark: { variant: 'underlined', size: 'sm' } }}
variant="outline"
size="lg" | <mask> it('Input: inputElemets', () => {
<mask> const { getByTestId } = render(
<mask> <Provider>
<mask> <Input
<mask> testID="test1"
<mask> InputLeftElement={<Button testID="test2">leftIcon</Button>}
<mask> placeholder="Input"
<mask> />
<mask> </Provider>
<mask> );
<mask> const inputElement = getByTestId('test1');
<mask> const iconElement = getByTestId('test2');
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove const inputElement = getByTestId('test1');
const iconElement = getByTestId('test2');
console.log(inputElement, '!!!!!');
console.log('===========');
console.log(inputElement.props, '!!!!!');
expect(inputElement.props.InputLeftElement).toBe(iconElement);
</s> add const inputElement = getByTestId('test');
expect(inputElement.props.style.borderBottomWidth).toBe(1);
expect(inputElement.props.style.fontSize).toBe(14); </s> remove <Provider>
</s> add <Provider theme={newTheme}> </s> remove it('Input: inputElemets', () => {
</s> add it('Input: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios'; </s> remove // expect(modalElement.props.style.width).toBe('60%');
// });
</s> add const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); </s> remove <HStack testID="hstack" direction="column">
</s> add <HStack testID="test" direction="column"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
const inputElement = getByTestId('test');
expect(inputElement.props.style.borderBottomWidth).toBe(1);
expect(inputElement.props.style.fontSize).toBe(14); | <mask> placeholder="Input"
<mask> />
<mask> </Provider>
<mask> );
<mask> const inputElement = getByTestId('test1');
<mask> const iconElement = getByTestId('test2');
<mask> console.log(inputElement, '!!!!!');
<mask> console.log('===========');
<mask> console.log(inputElement.props, '!!!!!');
<mask> expect(inputElement.props.InputLeftElement).toBe(iconElement);
<mask> });
<mask>
<mask> it('Input: disabled', () => {
<mask> const { getByTestId } = render(
<mask> <Provider>
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove testID="test1"
InputLeftElement={<Button testID="test2">leftIcon</Button>}
placeholder="Input"
</s> add testID="test"
_ios={{ _dark: { variant: 'underlined', size: 'sm' } }}
variant="outline"
size="lg" </s> remove <Provider>
</s> add <Provider theme={newTheme}> </s> remove it('Input: inputElemets', () => {
</s> add it('Input: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios'; </s> remove // expect(modalElement.props.style.width).toBe('60%');
// });
</s> add const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); </s> remove <HStack testID="hstack" direction="column">
</s> add <HStack testID="test" direction="column"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
expect(inputElement.props.required).toBe(true); | <mask> const inputElement = getByTestId('test');
<mask> expect(inputElement.props.disabled).toBe(true);
<mask> });
<mask>
<mask> // ==========================================
<mask>
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove const hstackElement = getByTestId('hstack');
</s> add const hstackElement = getByTestId('test'); </s> remove // ==========================================
// it('Modal: size', () => {
// const { getByTestId } = render(
// <Provider>
// <Modal isOpen={true} size="sm">
// <Modal.Content testID="size">
// <Modal.Header>Modal Title</Modal.Header>
// <Modal.Body>
// Sit nulla est ex deserunt exercitation anim occaecat. Nostrud
// ullamco deserunt aute id consequat veniam incididunt duis in sint
// irure nisi. Mollit officia cillum Lorem ullamco minim nostrud elit
// officia tempor esse quis. Sunt ad dolore quis aute consequat.
// Magna exercitation reprehenderit magna aute tempor cupidatat
// consequat elit dolor adipisicing. Mollit dolor eiusmod sunt ex
// incididunt cillum quis. Velit duis sit officia eiusmod Lorem
// aliqua enim laboris do dolor eiusmod. Et mollit incididunt nisi
// consectetur esse laborum eiusmod pariatur
// </Modal.Body>
// </Modal.Content>
// </Modal>
// </Provider>
// );
// const modalElement = getByTestId('size');
</s> add it('Slider: style props test with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_dark={{
minValue: 20,
maxValue: 120,
step: 25,
colorScheme: 'blue',
size: 'md',
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
); </s> remove const inputElement = getByTestId('test1');
const iconElement = getByTestId('test2');
console.log(inputElement, '!!!!!');
console.log('===========');
console.log(inputElement.props, '!!!!!');
expect(inputElement.props.InputLeftElement).toBe(iconElement);
</s> add const inputElement = getByTestId('test');
expect(inputElement.props.style.borderBottomWidth).toBe(1);
expect(inputElement.props.style.fontSize).toBe(14); </s> remove // expect(modalElement.props.style.width).toBe('60%');
// });
</s> add const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); </s> remove it('Input: inputElemets', () => {
</s> add it('Input: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios'; | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
size="sm" | <mask> maxValue={100}
<mask> accessibilityLabel="hello world"
<mask> step={10}
<mask> colorScheme="red"
<mask> size="md"
<mask> >
<mask> <Slider.Track>
<mask> <Slider.FilledTrack />
<mask> </Slider.Track>
<mask> <Slider.Thumb />
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove // expect(modalElement.props.style.width).toBe('60%');
// });
</s> add const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); </s> remove // ==========================================
// it('Modal: size', () => {
// const { getByTestId } = render(
// <Provider>
// <Modal isOpen={true} size="sm">
// <Modal.Content testID="size">
// <Modal.Header>Modal Title</Modal.Header>
// <Modal.Body>
// Sit nulla est ex deserunt exercitation anim occaecat. Nostrud
// ullamco deserunt aute id consequat veniam incididunt duis in sint
// irure nisi. Mollit officia cillum Lorem ullamco minim nostrud elit
// officia tempor esse quis. Sunt ad dolore quis aute consequat.
// Magna exercitation reprehenderit magna aute tempor cupidatat
// consequat elit dolor adipisicing. Mollit dolor eiusmod sunt ex
// incididunt cillum quis. Velit duis sit officia eiusmod Lorem
// aliqua enim laboris do dolor eiusmod. Et mollit incididunt nisi
// consectetur esse laborum eiusmod pariatur
// </Modal.Body>
// </Modal.Content>
// </Modal>
// </Provider>
// );
// const modalElement = getByTestId('size');
</s> add it('Slider: style props test with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_dark={{
minValue: 20,
maxValue: 120,
step: 25,
colorScheme: 'blue',
size: 'md',
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
); </s> remove <Provider>
</s> add <Provider theme={newTheme}> </s> remove const inputElement = getByTestId('test1');
const iconElement = getByTestId('test2');
console.log(inputElement, '!!!!!');
console.log('===========');
console.log(inputElement.props, '!!!!!');
expect(inputElement.props.InputLeftElement).toBe(iconElement);
</s> add const inputElement = getByTestId('test');
expect(inputElement.props.style.borderBottomWidth).toBe(1);
expect(inputElement.props.style.fontSize).toBe(14); </s> remove testID="test1"
InputLeftElement={<Button testID="test2">leftIcon</Button>}
placeholder="Input"
</s> add testID="test"
_ios={{ _dark: { variant: 'underlined', size: 'sm' } }}
variant="outline"
size="lg" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
expect(sliderElement.props.thumbSize).toBe(4);
expect(sliderElement.props.sliderSize).toBe(4);
expect(sliderElement.props.colorScheme).toBe('red'); | <mask> const sliderElement = getByTestId('slider');
<mask> expect(sliderElement.props.minValue).toBe(0);
<mask> expect(sliderElement.props.maxValue).toBe(100);
<mask> expect(sliderElement.props.step).toBe(10);
<mask> });
<mask>
<mask> it('Slider: style props test with dark mode', () => {
<mask> const newTheme = extendTheme({
<mask> config: { initialColorMode: 'dark' },
<mask> });
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove it('Input: inputElemets', () => {
</s> add it('Input: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios'; </s> remove // expect(modalElement.props.style.width).toBe('60%');
// });
</s> add const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); </s> remove // ==========================================
// it('Modal: size', () => {
// const { getByTestId } = render(
// <Provider>
// <Modal isOpen={true} size="sm">
// <Modal.Content testID="size">
// <Modal.Header>Modal Title</Modal.Header>
// <Modal.Body>
// Sit nulla est ex deserunt exercitation anim occaecat. Nostrud
// ullamco deserunt aute id consequat veniam incididunt duis in sint
// irure nisi. Mollit officia cillum Lorem ullamco minim nostrud elit
// officia tempor esse quis. Sunt ad dolore quis aute consequat.
// Magna exercitation reprehenderit magna aute tempor cupidatat
// consequat elit dolor adipisicing. Mollit dolor eiusmod sunt ex
// incididunt cillum quis. Velit duis sit officia eiusmod Lorem
// aliqua enim laboris do dolor eiusmod. Et mollit incididunt nisi
// consectetur esse laborum eiusmod pariatur
// </Modal.Body>
// </Modal.Content>
// </Modal>
// </Provider>
// );
// const modalElement = getByTestId('size');
</s> add it('Slider: style props test with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_dark={{
minValue: 20,
maxValue: 120,
step: 25,
colorScheme: 'blue',
size: 'md',
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
); </s> remove const inputElement = getByTestId('test1');
const iconElement = getByTestId('test2');
console.log(inputElement, '!!!!!');
console.log('===========');
console.log(inputElement.props, '!!!!!');
expect(inputElement.props.InputLeftElement).toBe(iconElement);
</s> add const inputElement = getByTestId('test');
expect(inputElement.props.style.borderBottomWidth).toBe(1);
expect(inputElement.props.style.fontSize).toBe(14); </s> remove <Provider>
</s> add <Provider theme={newTheme}> | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
it('Slider: style props test with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_dark={{
minValue: 20,
maxValue: 120,
step: 25,
colorScheme: 'blue',
size: 'md',
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
); | <mask> expect(sliderElement.props.maxValue).toBe(100);
<mask> expect(sliderElement.props.step).toBe(10);
<mask> });
<mask>
<mask> // ==========================================
<mask> // it('Modal: size', () => {
<mask> // const { getByTestId } = render(
<mask> // <Provider>
<mask> // <Modal isOpen={true} size="sm">
<mask> // <Modal.Content testID="size">
<mask> // <Modal.Header>Modal Title</Modal.Header>
<mask> // <Modal.Body>
<mask> // Sit nulla est ex deserunt exercitation anim occaecat. Nostrud
<mask> // ullamco deserunt aute id consequat veniam incididunt duis in sint
<mask> // irure nisi. Mollit officia cillum Lorem ullamco minim nostrud elit
<mask> // officia tempor esse quis. Sunt ad dolore quis aute consequat.
<mask> // Magna exercitation reprehenderit magna aute tempor cupidatat
<mask> // consequat elit dolor adipisicing. Mollit dolor eiusmod sunt ex
<mask> // incididunt cillum quis. Velit duis sit officia eiusmod Lorem
<mask> // aliqua enim laboris do dolor eiusmod. Et mollit incididunt nisi
<mask> // consectetur esse laborum eiusmod pariatur
<mask> // </Modal.Body>
<mask> // </Modal.Content>
<mask> // </Modal>
<mask> // </Provider>
<mask> // );
<mask> // const modalElement = getByTestId('size');
<mask>
<mask> // expect(modalElement.props.style.width).toBe('60%');
<mask> // });
<mask>
<mask> it('HStack: basic', () => {
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove // expect(modalElement.props.style.width).toBe('60%');
// });
</s> add const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); </s> remove const hstackElement = getByTestId('hstack');
</s> add const hstackElement = getByTestId('test'); </s> remove <HStack testID="hstack" direction="column">
</s> add <HStack testID="test" direction="column"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); | <mask> // </Provider>
<mask> // );
<mask> // const modalElement = getByTestId('size');
<mask>
<mask> // expect(modalElement.props.style.width).toBe('60%');
<mask> // });
<mask>
<mask> it('HStack: basic', () => {
<mask> const { getByTestId } = render(
<mask> <Provider>
<mask> <HStack testID="hstack">
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove // ==========================================
// it('Modal: size', () => {
// const { getByTestId } = render(
// <Provider>
// <Modal isOpen={true} size="sm">
// <Modal.Content testID="size">
// <Modal.Header>Modal Title</Modal.Header>
// <Modal.Body>
// Sit nulla est ex deserunt exercitation anim occaecat. Nostrud
// ullamco deserunt aute id consequat veniam incididunt duis in sint
// irure nisi. Mollit officia cillum Lorem ullamco minim nostrud elit
// officia tempor esse quis. Sunt ad dolore quis aute consequat.
// Magna exercitation reprehenderit magna aute tempor cupidatat
// consequat elit dolor adipisicing. Mollit dolor eiusmod sunt ex
// incididunt cillum quis. Velit duis sit officia eiusmod Lorem
// aliqua enim laboris do dolor eiusmod. Et mollit incididunt nisi
// consectetur esse laborum eiusmod pariatur
// </Modal.Body>
// </Modal.Content>
// </Modal>
// </Provider>
// );
// const modalElement = getByTestId('size');
</s> add it('Slider: style props test with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_dark={{
minValue: 20,
maxValue: 120,
step: 25,
colorScheme: 'blue',
size: 'md',
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
); </s> remove <HStack testID="hstack" direction="column">
</s> add <HStack testID="test" direction="column"> </s> remove const hstackElement = getByTestId('hstack');
</s> add const hstackElement = getByTestId('test'); </s> remove const inputElement = getByTestId('test1');
const iconElement = getByTestId('test2');
console.log(inputElement, '!!!!!');
console.log('===========');
console.log(inputElement.props, '!!!!!');
expect(inputElement.props.InputLeftElement).toBe(iconElement);
</s> add const inputElement = getByTestId('test');
expect(inputElement.props.style.borderBottomWidth).toBe(1);
expect(inputElement.props.style.fontSize).toBe(14); </s> remove it('Input: inputElemets', () => {
</s> add it('Input: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios'; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
<HStack testID="test" direction="column"> | <mask>
<mask> it('HStack: direction', () => {
<mask> const { getByTestId } = render(
<mask> <Provider>
<mask> <HStack testID="hstack" direction="column">
<mask> <Box>1</Box>
<mask> <Box>2</Box>
<mask> <Box>3</Box>
<mask> </HStack>
<mask> </Provider>
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove // expect(modalElement.props.style.width).toBe('60%');
// });
</s> add const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); </s> remove const hstackElement = getByTestId('hstack');
</s> add const hstackElement = getByTestId('test'); </s> remove testID="test1"
InputLeftElement={<Button testID="test2">leftIcon</Button>}
placeholder="Input"
</s> add testID="test"
_ios={{ _dark: { variant: 'underlined', size: 'sm' } }}
variant="outline"
size="lg" </s> remove const inputElement = getByTestId('test1');
const iconElement = getByTestId('test2');
console.log(inputElement, '!!!!!');
console.log('===========');
console.log(inputElement.props, '!!!!!');
expect(inputElement.props.InputLeftElement).toBe(iconElement);
</s> add const inputElement = getByTestId('test');
expect(inputElement.props.style.borderBottomWidth).toBe(1);
expect(inputElement.props.style.fontSize).toBe(14); </s> remove <Provider>
</s> add <Provider theme={newTheme}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
const hstackElement = getByTestId('test'); | <mask> <Box>3</Box>
<mask> </HStack>
<mask> </Provider>
<mask> );
<mask> const hstackElement = getByTestId('hstack');
<mask> expect(hstackElement.props.style.flexDirection).toBe('column');
<mask> });
<mask> });
<mask>
<mask> // =========================================================
</s> fix: pesudoprops test cases for input, slider, hstack and checkbox --no-verify </s> remove <HStack testID="hstack" direction="column">
</s> add <HStack testID="test" direction="column"> </s> remove // expect(modalElement.props.style.width).toBe('60%');
// });
</s> add const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(20);
expect(sliderElement.props.maxValue).toBe(120);
expect(sliderElement.props.step).toBe(25);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('blue');
});
it('Slider: style props test on ios with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
Platform.OS = 'ios';
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_ios={{
_dark: {
minValue: 10,
maxValue: 110,
step: 15,
colorScheme: 'green',
size: 'md',
},
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
);
const sliderElement = getByTestId('test');
expect(sliderElement.props.minValue).toBe(10);
expect(sliderElement.props.maxValue).toBe(110);
expect(sliderElement.props.step).toBe(15);
expect(sliderElement.props.thumbSize).toBe(5);
expect(sliderElement.props.sliderSize).toBe(5);
expect(sliderElement.props.colorScheme).toBe('green');
}); </s> remove // ==========================================
// it('Modal: size', () => {
// const { getByTestId } = render(
// <Provider>
// <Modal isOpen={true} size="sm">
// <Modal.Content testID="size">
// <Modal.Header>Modal Title</Modal.Header>
// <Modal.Body>
// Sit nulla est ex deserunt exercitation anim occaecat. Nostrud
// ullamco deserunt aute id consequat veniam incididunt duis in sint
// irure nisi. Mollit officia cillum Lorem ullamco minim nostrud elit
// officia tempor esse quis. Sunt ad dolore quis aute consequat.
// Magna exercitation reprehenderit magna aute tempor cupidatat
// consequat elit dolor adipisicing. Mollit dolor eiusmod sunt ex
// incididunt cillum quis. Velit duis sit officia eiusmod Lorem
// aliqua enim laboris do dolor eiusmod. Et mollit incididunt nisi
// consectetur esse laborum eiusmod pariatur
// </Modal.Body>
// </Modal.Content>
// </Modal>
// </Provider>
// );
// const modalElement = getByTestId('size');
</s> add it('Slider: style props test with dark mode', () => {
const newTheme = extendTheme({
config: { initialColorMode: 'dark' },
});
const { getByTestId } = render(
<Provider theme={newTheme}>
<Slider
testID="test"
_dark={{
minValue: 20,
maxValue: 120,
step: 25,
colorScheme: 'blue',
size: 'md',
}}
minValue={0}
maxValue={100}
accessibilityLabel="hello world"
step={10}
colorScheme="red"
size="sm"
>
<Slider.Track>
<Slider.FilledTrack />
</Slider.Track>
<Slider.Thumb />
</Slider>
</Provider>
); </s> remove const inputElement = getByTestId('test1');
const iconElement = getByTestId('test2');
console.log(inputElement, '!!!!!');
console.log('===========');
console.log(inputElement.props, '!!!!!');
expect(inputElement.props.InputLeftElement).toBe(iconElement);
</s> add const inputElement = getByTestId('test');
expect(inputElement.props.style.borderBottomWidth).toBe(1);
expect(inputElement.props.style.fontSize).toBe(14); | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c4271bf9edeb8ae0b25ec25cfea33b657692a5ca | src/hooks/useThemeProps/usePropsResolution.test.tsx |
thumbnailPresent() { | <mask> }
<mask> }
<mask> }
<mask>
<mask> isThumbnail() {
<mask> var thumbnailComponentPresent = false;
<mask> React.Children.forEach(this.props.children, function (child) {
<mask> if(child.type == Thumbnail)
<mask> thumbnailComponentPresent = true;
<mask> })
</s> uniformity between icon and thumbnail items </s> remove if(!this.isThumbnail()) {
</s> add if(!this.thumbnailPresent() && !this.iconPresent()) { </s> remove if(child.props.note && this.isThumbnail())
</s> add if(child.props.note && this.thumbnailPresent()) | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5607416de2cbf3b2cf9f1c119f98eeeb078cd2c | Components/Widgets/ListItem.js |
iconPresent() {
var iconComponentPresent = false;
React.Children.forEach(this.props.children, function (child) {
if(child.type == Icon)
iconComponentPresent = true;
})
return iconComponentPresent;
}
| <mask>
<mask> return thumbnailComponentPresent;
<mask> }
<mask>
<mask> getChildStyle(child) {
<mask> var mergedStyle = {};
<mask> if(child.type == Icon) {
<mask> return _.merge(mergedStyle, this.getInitialStyle().itemIcon, child.props.style);
</s> uniformity between icon and thumbnail items </s> remove isThumbnail() {
</s> add thumbnailPresent() { </s> remove if(!this.isThumbnail()) {
</s> add if(!this.thumbnailPresent() && !this.iconPresent()) { </s> remove if(child.props.note && this.isThumbnail())
</s> add if(child.props.note && this.thumbnailPresent()) | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5607416de2cbf3b2cf9f1c119f98eeeb078cd2c | Components/Widgets/ListItem.js |
if(child.props.note && this.thumbnailPresent()) | <mask> return _.merge(mergedStyle, this.getInitialStyle().itemIcon, child.props.style);
<mask> }
<mask>
<mask> else if(child.type == Text) {
<mask> if(child.props.note && this.isThumbnail())
<mask> return _.merge(mergedStyle, this.getInitialStyle().itemSubNote, child.props.style);
<mask> else if(child.props.note)
<mask> return _.merge(mergedStyle, this.getInitialStyle().itemNote, child.props.style);
<mask> else
<mask> return _.merge(mergedStyle, this.getInitialStyle().itemText, child.props.style);
</s> uniformity between icon and thumbnail items </s> remove if(!this.isThumbnail()) {
</s> add if(!this.thumbnailPresent() && !this.iconPresent()) { </s> remove isThumbnail() {
</s> add thumbnailPresent() { | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5607416de2cbf3b2cf9f1c119f98eeeb078cd2c | Components/Widgets/ListItem.js |
if(!this.thumbnailPresent() && !this.iconPresent()) { | <mask>
<mask> }
<mask>
<mask> renderChildren() {
<mask> if(!this.isThumbnail()) {
<mask> var newChildren = React.Children.map(this.props.children, (child) => {
<mask> return React.cloneElement(child, this.getChildProps(child));
<mask> });
<mask> }
<mask> else {
</s> uniformity between icon and thumbnail items </s> remove isThumbnail() {
</s> add thumbnailPresent() { </s> remove if(child.props.note && this.isThumbnail())
</s> add if(child.props.note && this.thumbnailPresent()) | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5607416de2cbf3b2cf9f1c119f98eeeb078cd2c | Components/Widgets/ListItem.js |
_react2.default.createElement(_reactNative.View,{style:[{maxHeight:buttonStyle.height},buttonStyle,{paddingTop:undefined,paddingBottom:undefined,flex:buttonFlex}],__source:{fileName:_jsxFileName,lineNumber:82}}, | <mask> if(this.props.rounded){
<mask> var buttonStyle=_extends({},this.prepareRootProps().style);
<mask> var buttonFlex=this.props.full||this.props.block?1:buttonStyle.flex;
<mask> return(
<mask> _react2.default.createElement(_reactNative.View,{style:[buttonStyle,{paddingTop:undefined,paddingBottom:undefined,flex:buttonFlex}],__source:{fileName:_jsxFileName,lineNumber:82}},
<mask> _react2.default.createElement(_reactNative.TouchableNativeFeedback,_extends({
<mask> ref:function ref(c){return _this2._root=c;},
<mask> background:
<mask> this.props.androidRippleColor?
<mask> _reactNative.TouchableNativeFeedback.Ripple(this.props.androidRippleColor,true):
</s> transpiled merged PRs, updated ChangeLog </s> remove var _mapPropsToStyleNames=require("../Utils/mapPropsToStyleNames");var _mapPropsToStyleNames2=_interopRequireDefault(_mapPropsToStyleNames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var
</s> add var _mapPropsToStyleNames=require("../Utils/mapPropsToStyleNames");var _mapPropsToStyleNames2=_interopRequireDefault(_mapPropsToStyleNames);
var _platform=require("../theme/variables/platform");var _platform2=_interopRequireDefault(_platform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var </s> remove this.props,{__source:{fileName:_jsxFileName,lineNumber:10}}),
</s> add this.props,{
contentContainerStyle:[{padding:this.props.padder?variables.contentPadding:undefined},this.props.contentContainerStyle],__source:{fileName:_jsxFileName,lineNumber:14}}), </s> remove fontSize:variables.inputFontSize},
</s> add fontSize:variables.inputFontSize,
lineHeight:variables.inputLineHeight-6}, </s> remove marginTop:2,
</s> add marginTop:0, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/basic/Button.js |
var _mapPropsToStyleNames=require("../Utils/mapPropsToStyleNames");var _mapPropsToStyleNames2=_interopRequireDefault(_mapPropsToStyleNames);
var _platform=require("../theme/variables/platform");var _platform2=_interopRequireDefault(_platform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var | <mask> Object.defineProperty(exports,"__esModule",{value:true});exports.Content=undefined;var _extends=Object.assign||function(target){for(var i=1;i<arguments.length;i++){var source=arguments[i];for(var key in source){if(Object.prototype.hasOwnProperty.call(source,key)){target[key]=source[key];}}}return target;};var _jsxFileName="src/basic/Content.js";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor);}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor;};}();var _react=require("react");var _react2=_interopRequireDefault(_react);
<mask> var _propTypes=require("prop-types");var _propTypes2=_interopRequireDefault(_propTypes);
<mask> var _reactNativeKeyboardAwareScrollView=require("react-native-keyboard-aware-scroll-view");
<mask> var _nativeBaseShoutemTheme=require("native-base-shoutem-theme");
<mask> var _mapPropsToStyleNames=require("../Utils/mapPropsToStyleNames");var _mapPropsToStyleNames2=_interopRequireDefault(_mapPropsToStyleNames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var
<mask>
<mask> Content=function(_Component){_inherits(Content,_Component);function Content(){_classCallCheck(this,Content);return _possibleConstructorReturn(this,(Content.__proto__||Object.getPrototypeOf(Content)).apply(this,arguments));}_createClass(Content,[{key:"render",value:function render()
<mask> {var _this2=this;
<mask> return(
<mask> _react2.default.createElement(_reactNativeKeyboardAwareScrollView.KeyboardAwareScrollView,_extends({
</s> transpiled merged PRs, updated ChangeLog </s> remove _react2.default.createElement(_reactNative.View,{style:[buttonStyle,{paddingTop:undefined,paddingBottom:undefined,flex:buttonFlex}],__source:{fileName:_jsxFileName,lineNumber:82}},
</s> add _react2.default.createElement(_reactNative.View,{style:[{maxHeight:buttonStyle.height},buttonStyle,{paddingTop:undefined,paddingBottom:undefined,flex:buttonFlex}],__source:{fileName:_jsxFileName,lineNumber:82}}, </s> remove fontSize:variables.inputFontSize},
</s> add fontSize:variables.inputFontSize,
lineHeight:variables.inputLineHeight-6}, </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/basic/Content.js |
var variables=this.context.theme?
this.context.theme["@@shoutem.theme/themeStyle"].variables:_platform2.default;
| <mask> var _platform=require("../theme/variables/platform");var _platform2=_interopRequireDefault(_platform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var
<mask>
<mask> Content=function(_Component){_inherits(Content,_Component);function Content(){_classCallCheck(this,Content);return _possibleConstructorReturn(this,(Content.__proto__||Object.getPrototypeOf(Content)).apply(this,arguments));}_createClass(Content,[{key:"render",value:function render()
<mask> {var _this2=this;
<mask> return(
<mask> _react2.default.createElement(_reactNativeKeyboardAwareScrollView.KeyboardAwareScrollView,_extends({
<mask> automaticallyAdjustContentInsets:false,
<mask> resetScrollToCoords:this.props.disableKBDismissScroll?null:{x:0,y:0},
<mask> keyboardShouldPersistTaps:this.props.keyboardShouldPersistTaps?this.props.keyboardShouldPersistTaps:'handled',
<mask> ref:function ref(c){
</s> transpiled merged PRs, updated ChangeLog </s> remove var _mapPropsToStyleNames=require("../Utils/mapPropsToStyleNames");var _mapPropsToStyleNames2=_interopRequireDefault(_mapPropsToStyleNames);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var
</s> add var _mapPropsToStyleNames=require("../Utils/mapPropsToStyleNames");var _mapPropsToStyleNames2=_interopRequireDefault(_mapPropsToStyleNames);
var _platform=require("../theme/variables/platform");var _platform2=_interopRequireDefault(_platform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function");}}function _possibleConstructorReturn(self,call){if(!self){throw new ReferenceError("this hasn't been initialised - super() hasn't been called");}return call&&(typeof call==="object"||typeof call==="function")?call:self;}function _inherits(subClass,superClass){if(typeof superClass!=="function"&&superClass!==null){throw new TypeError("Super expression must either be null or a function, not "+typeof superClass);}subClass.prototype=Object.create(superClass&&superClass.prototype,{constructor:{value:subClass,enumerable:false,writable:true,configurable:true}});if(superClass)Object.setPrototypeOf?Object.setPrototypeOf(subClass,superClass):subClass.__proto__=superClass;}var </s> remove _react2.default.createElement(_reactNative.View,{style:[buttonStyle,{paddingTop:undefined,paddingBottom:undefined,flex:buttonFlex}],__source:{fileName:_jsxFileName,lineNumber:82}},
</s> add _react2.default.createElement(_reactNative.View,{style:[{maxHeight:buttonStyle.height},buttonStyle,{paddingTop:undefined,paddingBottom:undefined,flex:buttonFlex}],__source:{fileName:_jsxFileName,lineNumber:82}}, </s> remove this.props,{__source:{fileName:_jsxFileName,lineNumber:10}}),
</s> add this.props,{
contentContainerStyle:[{padding:this.props.padder?variables.contentPadding:undefined},this.props.contentContainerStyle],__source:{fileName:_jsxFileName,lineNumber:14}}), </s> remove fontSize:variables.inputFontSize},
</s> add fontSize:variables.inputFontSize,
lineHeight:variables.inputLineHeight-6}, </s> remove marginTop:2,
</s> add marginTop:0, | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/basic/Content.js |
this.props,{
contentContainerStyle:[{padding:this.props.padder?variables.contentPadding:undefined},this.props.contentContainerStyle],__source:{fileName:_jsxFileName,lineNumber:14}}), | <mask> ref:function ref(c){
<mask> _this2._scrollview=c;
<mask> _this2._root=c;
<mask> }},
<mask> this.props,{__source:{fileName:_jsxFileName,lineNumber:10}}),
<mask>
<mask> this.props.children));
<mask>
<mask>
<mask> }}]);return Content;}(_react.Component);
</s> transpiled merged PRs, updated ChangeLog </s> remove _react2.default.createElement(_reactNative.View,{style:[buttonStyle,{paddingTop:undefined,paddingBottom:undefined,flex:buttonFlex}],__source:{fileName:_jsxFileName,lineNumber:82}},
</s> add _react2.default.createElement(_reactNative.View,{style:[{maxHeight:buttonStyle.height},buttonStyle,{paddingTop:undefined,paddingBottom:undefined,flex:buttonFlex}],__source:{fileName:_jsxFileName,lineNumber:82}}, </s> remove fontSize:variables.inputFontSize},
</s> add fontSize:variables.inputFontSize,
lineHeight:variables.inputLineHeight-6}, </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/basic/Content.js |
lineHeight:null, | <mask> alignSelf:"center"},
<mask>
<mask> "NativeBase.Input":{
<mask> alignSelf:"center",
<mask> lineHeight:24,
<mask> height:variables.searchBarInputHeight},
<mask>
<mask> alignSelf:"center",
<mask> alignItems:"center",
<mask> justifyContent:"flex-start",
</s> transpiled merged PRs, updated ChangeLog </s> remove fontSize:variables.inputFontSize},
</s> add fontSize:variables.inputFontSize,
lineHeight:variables.inputLineHeight-6}, </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/theme/components/Header.js |
fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, | <mask> ".transparent":{
<mask> marginLeft:-3,
<mask> "NativeBase.Icon":{
<mask> color:variables.toolbarBtnColor,
<mask> fontSize:variables.iconHeaderSize,
<mask> marginTop:2,
<mask> marginRight:2,
<mask> marginLeft:2},
<mask>
<mask> "NativeBase.IconNB":{
<mask> color:variables.toolbarBtnColor,
</s> transpiled merged PRs, updated ChangeLog </s> remove fontSize:variables.iconHeaderSize,
marginTop:2,
</s> add fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove fontSize:variables.inputFontSize},
</s> add fontSize:variables.inputFontSize,
lineHeight:variables.inputLineHeight-6}, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/theme/components/Header.js |
fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, | <mask> marginLeft:2},
<mask>
<mask> "NativeBase.IconNB":{
<mask> color:variables.toolbarBtnColor,
<mask> fontSize:variables.iconHeaderSize,
<mask> marginTop:2,
<mask> marginRight:2,
<mask> marginLeft:2},
<mask>
<mask> "NativeBase.Text":{
<mask> color:variables.toolbarBtnTextColor,
</s> transpiled merged PRs, updated ChangeLog </s> remove fontSize:variables.iconHeaderSize,
marginTop:2,
</s> add fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, </s> remove marginTop:2,
</s> add marginTop:0, </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/theme/components/Header.js |
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: | <mask> borderRadius:50,
<mask> "NativeBase.Icon":{
<mask> color:variables.toolbarBtnColor,
<mask> fontSize:
<mask> platform==="ios"?
<mask> variables.iconHeaderSize-6:
<mask> variables.iconHeaderSize-2,
<mask> marginTop:2,
<mask> marginLeft:2,
<mask> marginRight:2},
<mask>
</s> transpiled merged PRs, updated ChangeLog </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove marginTop:2,
</s> add marginTop:0, </s> remove fontSize:variables.iconHeaderSize,
marginTop:2,
</s> add fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, </s> remove fontSize:variables.iconHeaderSize,
marginTop:2,
</s> add fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/theme/components/Header.js |
marginTop:0, | <mask> fontSize:
<mask> platform==="ios"?
<mask> variables.iconHeaderSize-6:
<mask> variables.iconHeaderSize-2,
<mask> marginTop:2,
<mask> marginLeft:2,
<mask> marginRight:2},
<mask>
<mask> "NativeBase.IconNB":{
<mask> color:variables.toolbarBtnColor,
</s> transpiled merged PRs, updated ChangeLog </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove marginTop:2,
</s> add marginTop:0, </s> remove fontSize:variables.iconHeaderSize,
marginTop:2,
</s> add fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, </s> remove fontSize:variables.iconHeaderSize,
marginTop:2,
</s> add fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/theme/components/Header.js |
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: | <mask>
<mask> "NativeBase.IconNB":{
<mask> color:variables.toolbarBtnColor,
<mask> fontSize:
<mask> platform==="ios"?
<mask> variables.iconHeaderSize-6:
<mask> variables.iconHeaderSize-2,
<mask> marginTop:2,
<mask> marginLeft:2,
<mask> marginRight:2},
<mask>
</s> transpiled merged PRs, updated ChangeLog </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove marginTop:2,
</s> add marginTop:0, </s> remove fontSize:variables.iconHeaderSize,
marginTop:2,
</s> add fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, </s> remove fontSize:variables.iconHeaderSize,
marginTop:2,
</s> add fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/theme/components/Header.js |
marginTop:0, | <mask> fontSize:
<mask> platform==="ios"?
<mask> variables.iconHeaderSize-6:
<mask> variables.iconHeaderSize-2,
<mask> marginTop:2,
<mask> marginLeft:2,
<mask> marginRight:2},
<mask>
<mask> "NativeBase.Text":{
<mask> color:variables.toolbarBtnTextColor,
</s> transpiled merged PRs, updated ChangeLog </s> remove fontSize:variables.iconHeaderSize,
marginTop:2,
</s> add fontSize:
platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3:
variables.iconHeaderSize-2,
marginTop:0, </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove fontSize:variables.inputFontSize},
</s> add fontSize:variables.inputFontSize,
lineHeight:variables.inputLineHeight-6}, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/theme/components/Header.js |
fontSize:variables.inputFontSize,
lineHeight:variables.inputLineHeight-6}, | <mask> "NativeBase.Input":{
<mask> alignSelf:_reactNative.Platform.OS==="ios"?"stretch":"flex-start",
<mask> flex:1,
<mask> width:_reactNative.Platform.OS==="ios"?null:variables.deviceWidth-25,
<mask> fontSize:variables.inputFontSize},
<mask>
<mask> flexDirection:null,
<mask> height:variables.inputHeightBase+15},
<mask>
<mask> ".inlineLabel":{
</s> transpiled merged PRs, updated ChangeLog </s> remove lineHeight:24,
</s> add lineHeight:null, </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: </s> remove marginTop:2,
</s> add marginTop:0, </s> remove platform==="ios"?
variables.iconHeaderSize-6:
</s> add platform==="ios"&&variables.platformStyle!=="material"?
variables.iconHeaderSize-3: | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5ac7d86ccd7da88daeb54fb5c1c3923d3f8b205 | dist/src/theme/components/Item.js |
bg="lightBlue.400" | <mask> export const Example = () => {
<mask> return (
<mask> <HStack mx={{ base: 'auto', md: 0 }} space={2}>
<mask> <Avatar
<mask> bg="teal.600"
<mask> source={{
<mask> uri: 'https://alpha.nativebase.io/img/native-base-icon.png',
<mask> }}
<mask> >
<mask> NB
</s> fix: avatar design and typography size fix </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="red.600"
</s> add bg="amber.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx |
<Avatar.Badge bg="green.500" /> | <mask> uri: 'https://alpha.nativebase.io/img/native-base-icon.png',
<mask> }}
<mask> >
<mask> NB
<mask> <Avatar.Badge bg={'red.200'} />
<mask> </Avatar>
<mask> <Avatar
<mask> bg="red.600"
<mask> source={{
<mask> uri: 'https://alpha.nativebase.io/img/native-base-icon.png',
</s> fix: avatar design and typography size fix </s> remove bg="red.600"
</s> add bg="amber.500" </s> remove <Avatar.Badge borderColor="papayawhip" bg="tomato" />
</s> add <Avatar.Badge bg="green.500" /> </s> remove bg="teal.600"
</s> add bg="lightBlue.400" </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> remove <Avatar bg="green.600" source={{ uri: 'https://bit.ly/broken-link' }} />
</s> add <Avatar bg="lightBlue.400" source={{ uri: 'https://bit.ly/broken-link' }}>
--
</Avatar> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx |
bg="amber.500" | <mask> NB
<mask> <Avatar.Badge bg={'red.200'} />
<mask> </Avatar>
<mask> <Avatar
<mask> bg="red.600"
<mask> source={{
<mask> uri: 'https://alpha.nativebase.io/img/native-base-icon.png',
<mask> }}
<mask> >
<mask> NB
</s> fix: avatar design and typography size fix </s> remove <Avatar.Badge bg={'red.200'} />
</s> add <Avatar.Badge bg="green.500" /> </s> remove <Avatar.Badge borderColor="papayawhip" bg="tomato" />
</s> add <Avatar.Badge bg="green.500" /> </s> remove bg="teal.600"
</s> add bg="lightBlue.400" </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> remove <Avatar bg="green.600" source={{ uri: 'https://bit.ly/broken-link' }} />
</s> add <Avatar bg="lightBlue.400" source={{ uri: 'https://bit.ly/broken-link' }}>
--
</Avatar> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx |
<Avatar.Badge bg="green.500" /> | <mask> uri: 'https://alpha.nativebase.io/img/native-base-icon.png',
<mask> }}
<mask> >
<mask> NB
<mask> <Avatar.Badge borderColor="papayawhip" bg="tomato" />
<mask> </Avatar>
<mask> </HStack>
<mask> );
<mask> };
</s> fix: avatar design and typography size fix </s> remove <Avatar.Badge bg={'red.200'} />
</s> add <Avatar.Badge bg="green.500" /> </s> remove bg="red.600"
</s> add bg="amber.500" </s> remove <Avatar bg="green.600" source={{ uri: 'https://bit.ly/broken-link' }} />
</s> add <Avatar bg="lightBlue.400" source={{ uri: 'https://bit.ly/broken-link' }}>
--
</Avatar> </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> remove bg="teal.600"
</s> add bg="lightBlue.400" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/AvatarBadge.tsx |
bg="green.500" | <mask> export const Example = () => {
<mask> return (
<mask> <Avatar.Group size="lg" max={3}>
<mask> <Avatar
<mask> bg="teal.600"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1369921787568422915/hoyvrUpc_400x400.jpg',
<mask> }}
<mask> >
</s> fix: avatar design and typography size fix </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="lightBlue.400" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="green.600"
</s> add bg="amber.500" </s> remove bg="teal.600"
</s> add bg="green.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx |
bg="lightBlue.500" | <mask> >
<mask> SS
<mask> </Avatar>
<mask> <Avatar
<mask> bg="red.600"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
<mask> }}
<mask> >
</s> fix: avatar design and typography size fix </s> remove bg="red.600"
</s> add bg="cyan.500" </s> remove bg="blue.600"
</s> add bg="cyan.500" </s> remove bg="amber.600"
</s> add bg="amber.500" </s> remove bg="green.600"
</s> add bg="amber.500" </s> remove bg="red.600"
</s> add bg="indigo.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx |
bg="indigo.500" | <mask> >
<mask> AK
<mask> </Avatar>
<mask> <Avatar
<mask> bg="cyan.600"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg',
<mask> }}
<mask> >
</s> fix: avatar design and typography size fix </s> remove bg="cyan.600"
</s> add bg="purple.600" </s> remove bg="yellow.600"
</s> add bg="pink.600" </s> remove bg="red.600"
</s> add bg="indigo.500" </s> remove bg="blue.600"
</s> add bg="indigo.500" </s> remove bg="red.600"
</s> add bg="lightBlue.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/AvatarGroup.tsx |
bg="green.500" | <mask> export const Example = () => {
<mask> return (
<mask> <HStack mx={{ base: 'auto', md: 0 }} space={2}>
<mask> <Avatar
<mask> bg="teal.600"
<mask> mr={1}
<mask> source={{ uri: 'https://bit.ly/broken-link' }}
<mask> >
<mask> RS
<mask> </Avatar>
</s> fix: avatar design and typography size fix </s> remove bg="teal.600"
</s> add bg="lightBlue.400" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/Fallback.tsx |
<Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> | <mask> source={{ uri: 'https://bit.ly/broken-link' }}
<mask> >
<mask> RS
<mask> </Avatar>
<mask> <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
<mask> MR
<mask> </Avatar>
<mask> <Avatar bg="green.600" source={{ uri: 'https://bit.ly/broken-link' }} />
<mask> </HStack>
<mask> );
</s> fix: avatar design and typography size fix </s> remove <Avatar bg="green.600" source={{ uri: 'https://bit.ly/broken-link' }} />
</s> add <Avatar bg="lightBlue.400" source={{ uri: 'https://bit.ly/broken-link' }}>
--
</Avatar> </s> remove bg="green.600"
</s> add bg="amber.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove <Avatar.Badge bg={'red.200'} />
</s> add <Avatar.Badge bg="green.500" /> </s> remove bg="amber.600"
</s> add bg="amber.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/Fallback.tsx |
<Avatar bg="lightBlue.400" source={{ uri: 'https://bit.ly/broken-link' }}>
--
</Avatar> | <mask> </Avatar>
<mask> <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
<mask> MR
<mask> </Avatar>
<mask> <Avatar bg="green.600" source={{ uri: 'https://bit.ly/broken-link' }} />
<mask> </HStack>
<mask> );
<mask> };
</s> fix: avatar design and typography size fix </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> remove <Avatar.Badge borderColor="papayawhip" bg="tomato" />
</s> add <Avatar.Badge bg="green.500" /> </s> remove <Avatar.Badge bg={'red.200'} />
</s> add <Avatar.Badge bg="green.500" /> </s> remove bg="green.600"
</s> add bg="amber.500" </s> remove bg="red.600"
</s> add bg="amber.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/Fallback.tsx |
bg="green.500" | <mask> space={1}
<mask> alignItems={{ base: 'center', md: 'flex-start' }}
<mask> >
<mask> <Avatar
<mask> bg="teal.600"
<mask> size="xs"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg',
<mask> }}
</s> fix: avatar design and typography size fix </s> remove bg="teal.600"
</s> add bg="lightBlue.400" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/size.tsx |
bg="cyan.500" | <mask> >
<mask> SS
<mask> </Avatar>
<mask> <Avatar
<mask> bg="red.600"
<mask> size="sm"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/929409889788510208/gRr2f7rZ_400x400.jpg',
<mask> }}
</s> fix: avatar design and typography size fix </s> remove bg="red.600"
</s> add bg="lightBlue.500" </s> remove bg="blue.600"
</s> add bg="cyan.500" </s> remove bg="red.600"
</s> add bg="indigo.500" </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> remove bg="red.600"
</s> add bg="amber.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/size.tsx |
bg="indigo.500" | <mask> >
<mask> HS
<mask> </Avatar>
<mask> <Avatar
<mask> bg="blue.600"
<mask> size="md"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg',
<mask> }}
</s> fix: avatar design and typography size fix </s> remove bg="blue.600"
</s> add bg="cyan.500" </s> remove bg="cyan.600"
</s> add bg="indigo.500" </s> remove bg="red.600"
</s> add bg="indigo.500" </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> remove bg="red.600"
</s> add bg="lightBlue.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/size.tsx |
bg="amber.500" | <mask> >
<mask> RS
<mask> </Avatar>
<mask> <Avatar
<mask> bg="green.600"
<mask> size="lg"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
<mask> }}
</s> fix: avatar design and typography size fix </s> remove bg="amber.600"
</s> add bg="amber.500" </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> remove bg="red.600"
</s> add bg="lightBlue.500" </s> remove <Avatar bg="green.600" source={{ uri: 'https://bit.ly/broken-link' }} />
</s> add <Avatar bg="lightBlue.400" source={{ uri: 'https://bit.ly/broken-link' }}>
--
</Avatar> </s> remove bg="teal.600"
</s> add bg="green.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/size.tsx |
bg="pink.600" | <mask> >
<mask> AK
<mask> </Avatar>
<mask> <Avatar
<mask> bg="yellow.600"
<mask> size="xl"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg',
<mask> }}
</s> fix: avatar design and typography size fix </s> remove bg="cyan.600"
</s> add bg="indigo.500" </s> remove bg="blue.600"
</s> add bg="cyan.500" </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> remove bg="red.600"
</s> add bg="lightBlue.500" </s> remove bg="amber.600"
</s> add bg="amber.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/size.tsx |
bg="purple.600" | <mask> >
<mask> GG
<mask> </Avatar>
<mask> <Avatar
<mask> bg="cyan.600"
<mask> size="2xl"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1320985200663293952/lE_Kg6vr_400x400.jpg',
<mask> }}
</s> fix: avatar design and typography size fix </s> remove bg="cyan.600"
</s> add bg="indigo.500" </s> remove bg="red.600"
</s> add bg="indigo.500" </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> remove bg="red.600"
</s> add bg="lightBlue.500" </s> remove bg="amber.600"
</s> add bg="amber.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/size.tsx |
bg="green.500" | <mask> export const Example = () => {
<mask> return (
<mask> <HStack space={2}>
<mask> <Avatar
<mask> bg="teal.600"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1188747996843761665/8CiUdKZW_400x400.jpg',
<mask> }}
<mask> >
</s> fix: avatar design and typography size fix </s> remove bg="teal.600"
</s> add bg="lightBlue.400" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove fontSize: fontSize,
</s> add _text: {
fontSize: fontSize,
}, | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/usage.tsx |
bg="cyan.500" | <mask> >
<mask> SS
<mask> </Avatar>
<mask> <Avatar
<mask> bg="blue.600"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1177303899243343872/B0sUJIH0_400x400.jpg',
<mask> }}
<mask> >
</s> fix: avatar design and typography size fix </s> remove bg="blue.600"
</s> add bg="indigo.500" </s> remove bg="yellow.600"
</s> add bg="pink.600" </s> remove bg="red.600"
</s> add bg="lightBlue.500" </s> remove bg="red.600"
</s> add bg="cyan.500" </s> remove bg="red.600"
</s> add bg="indigo.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/usage.tsx |
bg="indigo.500" | <mask> >
<mask> GG
<mask> </Avatar>
<mask> <Avatar
<mask> bg="red.600"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1352844693151731713/HKO7cnlW_400x400.jpg',
<mask> }}
<mask> >
</s> fix: avatar design and typography size fix </s> remove bg="cyan.600"
</s> add bg="purple.600" </s> remove bg="cyan.600"
</s> add bg="indigo.500" </s> remove bg="blue.600"
</s> add bg="indigo.500" </s> remove bg="red.600"
</s> add bg="lightBlue.500" </s> remove bg="red.600"
</s> add bg="cyan.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/usage.tsx |
bg="amber.500" | <mask> >
<mask> RS
<mask> </Avatar>
<mask> <Avatar
<mask> bg="amber.600"
<mask> source={{
<mask> uri:
<mask> 'https://pbs.twimg.com/profile_images/1309797238651060226/18cm6VhQ_400x400.jpg',
<mask> }}
<mask> >
</s> fix: avatar design and typography size fix </s> remove bg="green.600"
</s> add bg="amber.500" </s> remove bg="red.600"
</s> add bg="lightBlue.500" </s> remove <Avatar bg="red.600" source={{ uri: 'https://bit.ly/broken-link' }}>
</s> add <Avatar bg="amber.500" source={{ uri: 'https://bit.ly/broken-link' }}> </s> remove bg="red.600"
</s> add bg="indigo.500" </s> remove bg="blue.600"
</s> add bg="cyan.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | example/storybook/stories/components/composites/Avatar/usage.tsx |
_text: {
fontSize: fontSize,
}, | <mask> function getSize(size: any, fontSize: string) {
<mask> return {
<mask> width: size,
<mask> height: size,
<mask> fontSize: fontSize,
<mask> };
<mask> }
<mask>
<mask> const sizes = {
<mask> '2xs': getSize('4', 'xs'),
</s> fix: avatar design and typography size fix </s> remove '2xs': getSize('4', 'xs'),
'xs': getSize('6', 'sm'),
'sm': getSize('8', 'md'),
'md': getSize('12', 'lg'),
</s> add 'xs': getSize('6', '2xs'),
'sm': getSize('8', 'xs'),
'md': getSize('12', 'md'), </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="lightBlue.400" </s> remove bg="teal.600"
</s> add bg="green.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | src/theme/components/avatar.ts |
'xs': getSize('6', '2xs'),
'sm': getSize('8', 'xs'),
'md': getSize('12', 'md'), | <mask> };
<mask> }
<mask>
<mask> const sizes = {
<mask> '2xs': getSize('4', 'xs'),
<mask> 'xs': getSize('6', 'sm'),
<mask> 'sm': getSize('8', 'md'),
<mask> 'md': getSize('12', 'lg'),
<mask> 'lg': getSize('16', 'xl'),
<mask> 'xl': getSize('24', '2xl'),
<mask> '2xl': getSize('32', '3xl'),
<mask> 'full': getSize('100%', '4xl'),
<mask> };
</s> fix: avatar design and typography size fix </s> remove 'xl': getSize('24', '2xl'),
'2xl': getSize('32', '3xl'),
'full': getSize('100%', '4xl'),
</s> add 'xl': getSize('24', '3xl'),
'2xl': getSize('32', '5xl'), </s> remove fontSize: fontSize,
</s> add _text: {
fontSize: fontSize,
}, </s> remove <Avatar.Badge borderColor="papayawhip" bg="tomato" />
</s> add <Avatar.Badge bg="green.500" /> </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | src/theme/components/avatar.ts |
'xl': getSize('24', '3xl'),
'2xl': getSize('32', '5xl'), | <mask> 'xs': getSize('6', 'sm'),
<mask> 'sm': getSize('8', 'md'),
<mask> 'md': getSize('12', 'lg'),
<mask> 'lg': getSize('16', 'xl'),
<mask> 'xl': getSize('24', '2xl'),
<mask> '2xl': getSize('32', '3xl'),
<mask> 'full': getSize('100%', '4xl'),
<mask> };
<mask>
<mask> const defaultProps = {
<mask> size: 'md',
<mask> };
</s> fix: avatar design and typography size fix </s> remove '2xs': getSize('4', 'xs'),
'xs': getSize('6', 'sm'),
'sm': getSize('8', 'md'),
'md': getSize('12', 'lg'),
</s> add 'xs': getSize('6', '2xs'),
'sm': getSize('8', 'xs'),
'md': getSize('12', 'md'), </s> remove fontSize: fontSize,
</s> add _text: {
fontSize: fontSize,
}, </s> remove <Avatar.Badge borderColor="papayawhip" bg="tomato" />
</s> add <Avatar.Badge bg="green.500" /> </s> remove bg="teal.600"
</s> add bg="green.500" </s> remove bg="teal.600"
</s> add bg="green.500" | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c5e21a7d9f576e3b5d6c150c7f50a40c66f684fc | src/theme/components/avatar.ts |
<NumberInput defaultValue="5" w="95%"> | <mask> NumberDecrementStepper,
<mask> } from 'native-base';
<mask> export default function () {
<mask> return (
<mask> <NumberInput defaultValue="5">
<mask> <NumberInputField />
<mask> <NumberInputStepper>
<mask> <NumberIncrementStepper />
<mask> <NumberDecrementStepper />
<mask> </NumberInputStepper>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <NumberInput defaultValue="10" min={5} max={20}>
</s> add <NumberInput defaultValue="10" min={5} max={20} w="95%"> </s> remove <NumberInput>
</s> add <NumberInput w="95%"> </s> remove <NumberInput defaultValue="10" min={5} max={20} step={2}>
</s> add <NumberInput defaultValue="10" min={5} max={20} step={2} w="95%"> </s> remove <Container>
</s> add <Container w={'95%'}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/NumberInput/DefaultValue.tsx |
<Container w={'95%'}> | <mask> } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <Container>
<mask> <FormControl isRequired isInvalid>
<mask> <FormControl.Label>How many components we have</FormControl.Label>
<mask> <NumberInput>
<mask> <NumberInputField />
<mask> <NumberInputStepper>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <NumberInput>
</s> add <NumberInput w="95%"> </s> remove <NumberInput defaultValue="5">
</s> add <NumberInput defaultValue="5" w="95%"> </s> remove <NumberInput defaultValue="10" min={5} max={20}>
</s> add <NumberInput defaultValue="10" min={5} max={20} w="95%"> </s> remove <NumberInput defaultValue="10" min={5} max={20} step={2}>
</s> add <NumberInput defaultValue="10" min={5} max={20} step={2} w="95%"> </s> remove import { Button, useOverlay, VStack, Alert, CloseButton } from 'native-base';
</s> add import {
Button,
useOverlay,
VStack,
Alert,
View,
IconButton,
Icon,
} from 'native-base'; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/NumberInput/FormControlled.tsx |
<NumberInput defaultValue="10" min={5} max={20} w="95%"> | <mask> NumberDecrementStepper,
<mask> } from 'native-base';
<mask> export default function () {
<mask> return (
<mask> <NumberInput defaultValue="10" min={5} max={20}>
<mask> <NumberInputField />
<mask> <NumberInputStepper>
<mask> <NumberIncrementStepper />
<mask> <NumberDecrementStepper />
<mask> </NumberInputStepper>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <NumberInput defaultValue="10" min={5} max={20} step={2}>
</s> add <NumberInput defaultValue="10" min={5} max={20} step={2} w="95%"> </s> remove <NumberInput defaultValue="5">
</s> add <NumberInput defaultValue="5" w="95%"> </s> remove <NumberInput>
</s> add <NumberInput w="95%"> </s> remove <Container>
</s> add <Container w={'95%'}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/NumberInput/MinMax.tsx |
w="95%" | <mask> isDisabled={boolean('isDisabled', true)}
<mask> keepWithinRange={boolean('keepWithinRange', true)}
<mask> >
<mask> <NumberInputField />
<mask> <NumberInputStepper>
<mask> <NumberIncrementStepper />
</s> fix: modal styling fix and example fixes for multiple components </s> remove <NumberInput>
</s> add <NumberInput w="95%"> </s> remove <NumberInput defaultValue="5">
</s> add <NumberInput defaultValue="5" w="95%"> </s> remove <NumberInput defaultValue="10" min={5} max={20}>
</s> add <NumberInput defaultValue="10" min={5} max={20} w="95%"> </s> remove <NumberInput defaultValue="10" min={5} max={20} step={2}>
</s> add <NumberInput defaultValue="10" min={5} max={20} step={2} w="95%"> </s> remove <Container>
</s> add <Container w={'95%'}> | [
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/NumberInput/Playground.tsx |
<NumberInput defaultValue="10" min={5} max={20} step={2} w="95%"> | <mask> NumberDecrementStepper,
<mask> } from 'native-base';
<mask> export default function () {
<mask> return (
<mask> <NumberInput defaultValue="10" min={5} max={20} step={2}>
<mask> <NumberInputField />
<mask> <NumberInputStepper>
<mask> <NumberIncrementStepper />
<mask> <NumberDecrementStepper />
<mask> </NumberInputStepper>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <NumberInput defaultValue="10" min={5} max={20}>
</s> add <NumberInput defaultValue="10" min={5} max={20} w="95%"> </s> remove <NumberInput defaultValue="5">
</s> add <NumberInput defaultValue="5" w="95%"> </s> remove <NumberInput>
</s> add <NumberInput w="95%"> </s> remove <Container>
</s> add <Container w={'95%'}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/NumberInput/Steps.tsx |
<NumberInput w="95%"> | <mask> } from 'native-base';
<mask>
<mask> export default function () {
<mask> return (
<mask> <NumberInput>
<mask> <NumberInputField />
<mask> <NumberInputStepper>
<mask> <NumberIncrementStepper />
<mask> <NumberDecrementStepper />
<mask> </NumberInputStepper>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <NumberInput defaultValue="5">
</s> add <NumberInput defaultValue="5" w="95%"> </s> remove <NumberInput defaultValue="10" min={5} max={20}>
</s> add <NumberInput defaultValue="10" min={5} max={20} w="95%"> </s> remove <NumberInput defaultValue="10" min={5} max={20} step={2}>
</s> add <NumberInput defaultValue="10" min={5} max={20} step={2} w="95%"> </s> remove <Container>
</s> add <Container w={'95%'}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/NumberInput/Usage.tsx |
<Heading px={0}>This is a Simple Progress Bar</Heading> | <mask> export default function () {
<mask> return (
<mask> <Box w="90%">
<mask> <Center mb={8}>
<mask> <Heading>This is a Simple Progress Bar</Heading>
<mask> </Center>
<mask> <Progress value={45} />
<mask> </Box>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Progress value={45} />
</s> add <Progress value={45} mx={4} /> </s> remove <Progress rounded="0" size="lg" value={65} />
</s> add <Progress rounded="0" size="lg" value={65} mx={4} /> </s> remove <Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</s> add <VStack mx={4} space="md">
<Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</VStack> </s> remove <Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</s> add <VStack mx={4} space="md">
<Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</VStack> </s> remove <NumberInput>
</s> add <NumberInput w="95%"> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/Progress/Basic.tsx |
<Progress value={45} mx={4} /> | <mask> <Box w="90%">
<mask> <Center mb={8}>
<mask> <Heading>This is a Simple Progress Bar</Heading>
<mask> </Center>
<mask> <Progress value={45} />
<mask> </Box>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Heading>This is a Simple Progress Bar</Heading>
</s> add <Heading px={0}>This is a Simple Progress Bar</Heading> </s> remove <Progress rounded="0" size="lg" value={65} />
</s> add <Progress rounded="0" size="lg" value={65} mx={4} /> </s> remove <Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</s> add <VStack mx={4} space="md">
<Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</VStack> </s> remove <Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</s> add <VStack mx={4} space="md">
<Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</VStack> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/Progress/Basic.tsx |
<VStack mx={4} space="md">
<Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</VStack> | <mask> <VStack space="md">
<mask> <Heading textAlign="center" mb={8}>
<mask> Progress ColorScheme
<mask> </Heading>
<mask> <Progress colorScheme="primary" value={35} />
<mask> <Progress colorScheme="secondary" value={45} />
<mask> <Progress colorScheme="emerald" value={55} />
<mask> <Progress colorScheme="warning" value={65} />
<mask> <Progress colorScheme="light" value={75} />
<mask> </VStack>
<mask> </Box>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</s> add <VStack mx={4} space="md">
<Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</VStack> </s> remove <Progress value={45} />
</s> add <Progress value={45} mx={4} /> </s> remove <Progress rounded="0" size="lg" value={65} />
</s> add <Progress rounded="0" size="lg" value={65} mx={4} /> </s> remove <Heading>This is a Simple Progress Bar</Heading>
</s> add <Heading px={0}>This is a Simple Progress Bar</Heading> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/Progress/ColorScheme.tsx |
mx={4} | <mask> bg="secondary.200"
<mask> mb={4}
<mask> value={75}
<mask> />
<mask> </Box>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</s> add <VStack mx={4} space="md">
<Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</VStack> </s> remove <Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</s> add <VStack mx={4} space="md">
<Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</VStack> </s> remove <Progress value={45} />
</s> add <Progress value={45} mx={4} /> </s> remove <Progress rounded="0" size="lg" value={65} />
</s> add <Progress rounded="0" size="lg" value={65} mx={4} /> </s> remove <Heading>This is a Simple Progress Bar</Heading>
</s> add <Heading px={0}>This is a Simple Progress Bar</Heading> | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/Progress/CustomBgColor.tsx |
<Progress rounded="0" size="lg" value={65} mx={4} /> | <mask> <Box w="90%">
<mask> <Center mb={8}>
<mask> <Heading>Flat Progress</Heading>
<mask> </Center>
<mask> <Progress rounded="0" size="lg" value={65} />
<mask> </Box>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Progress value={45} />
</s> add <Progress value={45} mx={4} /> </s> remove <Heading>This is a Simple Progress Bar</Heading>
</s> add <Heading px={0}>This is a Simple Progress Bar</Heading> </s> remove <Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</s> add <VStack mx={4} space="md">
<Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</VStack> </s> remove <Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</s> add <VStack mx={4} space="md">
<Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</VStack> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/Progress/Flat.tsx |
<VStack mx={4} space="md">
<Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</VStack> | <mask> <VStack space="md">
<mask> <Heading textAlign="center" mb={8}>
<mask> Progress Sizes
<mask> </Heading>
<mask> <Progress size="xs" mb={4} value={25} />
<mask> <Progress size="sm" mb={4} value={35} />
<mask> <Progress size="md" mb={4} value={45} />
<mask> <Progress size="lg" mb={4} value={55} />
<mask> <Progress size="xl" mb={4} value={65} />
<mask> <Progress size="2xl" mb={4} value={75} />
<mask> </VStack>
<mask> </Box>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</s> add <VStack mx={4} space="md">
<Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</VStack> </s> remove <Progress rounded="0" size="lg" value={65} />
</s> add <Progress rounded="0" size="lg" value={65} mx={4} /> </s> remove <Progress value={45} />
</s> add <Progress value={45} mx={4} /> </s> remove <Heading>This is a Simple Progress Bar</Heading>
</s> add <Heading px={0}>This is a Simple Progress Bar</Heading> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/composites/Progress/Sizes.tsx |
BUTTON | <mask> width="200px"
<mask> border="2px"
<mask> borderColor="green.500"
<mask> >
<mask> Button
<mask> </Button>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Button/Composition.tsx |
BUTTON | <mask> });
<mask> }, [myRef]);
<mask> return (
<mask> <Button size="sm" variant={'solid'} ref={myRef}>
<mask> Button
<mask> </Button>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Button/WithRef.tsx |
return <Button onPress={() => console.log('hello world')}>BUTTON</Button>; | <mask> import React from 'react';
<mask> import { Button } from 'native-base';
<mask>
<mask> export default function () {
<mask> return <Button onPress={() => console.log('hello world')}>Button</Button>;
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove import { Button, useOverlay, VStack, Alert, CloseButton } from 'native-base';
</s> add import {
Button,
useOverlay,
VStack,
Alert,
View,
IconButton,
Icon,
} from 'native-base'; </s> remove <NumberInput>
</s> add <NumberInput w="95%"> </s> remove <NumberInput defaultValue="5">
</s> add <NumberInput defaultValue="5" w="95%"> </s> remove <Container>
</s> add <Container w={'95%'}> </s> remove borderRadius: 'lg',
</s> add borderRadius: 'md', | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Button/basic.tsx |
MENU | <mask> color={colorMode === 'dark' ? 'black' : 'white'}
<mask> />
<mask> }
<mask> >
<mask> Menu
<mask> </Button>
<mask> <Button
<mask> endIcon={
<mask> <Icon
<mask> name="menu"
</s> fix: modal styling fix and example fixes for multiple components </s> remove Menu
</s> add MENU </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Button/icons.tsx |
MENU | <mask> color={colorMode === 'dark' ? 'black' : 'white'}
<mask> />
<mask> }
<mask> >
<mask> Menu
<mask> </Button>
<mask> </VStack>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove Menu
</s> add MENU </s> remove Button
</s> add BUTTON </s> remove <Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</s> add <VStack mx={4} space="md">
<Progress colorScheme="primary" value={35} />
<Progress colorScheme="secondary" value={45} />
<Progress colorScheme="emerald" value={55} />
<Progress colorScheme="warning" value={65} />
<Progress colorScheme="light" value={75} />
</VStack> </s> remove Button
</s> add BUTTON </s> remove <Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</s> add <VStack mx={4} space="md">
<Progress size="xs" mb={4} value={25} />
<Progress size="sm" mb={4} value={35} />
<Progress size="md" mb={4} value={45} />
<Progress size="lg" mb={4} value={55} />
<Progress size="xl" mb={4} value={65} />
<Progress size="2xl" mb={4} value={75} />
</VStack> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Button/icons.tsx |
BUTTON | <mask> return (
<mask> <HStack space={2}>
<mask> <Button isLoading>Button</Button>
<mask> <Button isLoading isLoadingText="Submitting">
<mask> Button
<mask> </Button>
<mask> <Button isLoading isLoadingText="Submitting" variant="outline">
<mask> Button
<mask> </Button>
<mask> </HStack>
</s> fix: modal styling fix and example fixes for multiple components </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove return <Button onPress={() => console.log('hello world')}>Button</Button>;
</s> add return <Button onPress={() => console.log('hello world')}>BUTTON</Button>; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Button/loading.tsx |
BUTTON | <mask> <Button isLoading isLoadingText="Submitting">
<mask> Button
<mask> </Button>
<mask> <Button isLoading isLoadingText="Submitting" variant="outline">
<mask> Button
<mask> </Button>
<mask> </HStack>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Button/loading.tsx |
BUTTON | <mask> return (
<mask> <HStack space={2}>
<mask> {['xs', 'sm', 'md', 'lg'].map((size: any) => (
<mask> <Button key={size} size={size}>
<mask> Button
<mask> </Button>
<mask> ))}
<mask> </HStack>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove return <Button onPress={() => console.log('hello world')}>Button</Button>;
</s> add return <Button onPress={() => console.log('hello world')}>BUTTON</Button>; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Button/sizes.tsx |
BUTTON | <mask> return (
<mask> <HStack space={2}>
<mask> {['solid', 'outline', 'ghost', 'link', 'unstyled'].map((variant: any) => (
<mask> <Button variant={variant} key={variant}>
<mask> Button
<mask> </Button>
<mask> ))}
<mask> </HStack>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove Button
</s> add BUTTON </s> remove return <Button onPress={() => console.log('hello world')}>Button</Button>;
</s> add return <Button onPress={() => console.log('hello world')}>BUTTON</Button>; | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Button/variants.tsx |
import {
Button,
useOverlay,
VStack,
Alert,
View,
IconButton,
Icon,
} from 'native-base'; | <mask> import React from 'react';
<mask> import { Button, useOverlay, VStack, Alert, CloseButton } from 'native-base';
<mask>
<mask> export default function () {
<mask> const { closeOverlay, setOverlay } = useOverlay();
<mask>
<mask> return (
</s> fix: modal styling fix and example fixes for multiple components </s> remove return <Button onPress={() => console.log('hello world')}>Button</Button>;
</s> add return <Button onPress={() => console.log('hello world')}>BUTTON</Button>; </s> remove borderRadius: 'lg',
</s> add borderRadius: 'md', </s> remove <NumberInput>
</s> add <NumberInput w="95%"> </s> remove <NumberInput defaultValue="5">
</s> add <NumberInput defaultValue="5" w="95%"> </s> remove <Container>
</s> add <Container w={'95%'}> | [
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Overlay/Usage.tsx |
<Radio value="one" my={1}>
<Text mx={1}>One</Text> | <mask> onChange={(nextValue) => {
<mask> setValue(nextValue);
<mask> }}
<mask> >
<mask> <Radio value="one">
<mask> <Text>One</Text>
<mask> </Radio>
<mask> <Radio value="two">
<mask> <Text>Two</Text>
<mask> </Radio>
<mask> </Radio.Group>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="two">
<Text>Two</Text>
</s> add <Radio value="two" my={1}>
<Text mx={1}>Two</Text> </s> remove return <Button onPress={() => console.log('hello world')}>Button</Button>;
</s> add return <Button onPress={() => console.log('hello world')}>BUTTON</Button>; </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/controlledRadio.tsx |
<Radio value="two" my={1}>
<Text mx={1}>Two</Text> | <mask> >
<mask> <Radio value="one">
<mask> <Text>One</Text>
<mask> </Radio>
<mask> <Radio value="two">
<mask> <Text>Two</Text>
<mask> </Radio>
<mask> </Radio.Group>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="one">
<Text>One</Text>
</s> add <Radio value="one" my={1}>
<Text mx={1}>One</Text> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> </s> remove <Radio colorScheme="success" value="3">
</s> add <Radio colorScheme="success" value="3" my={1}> </s> remove <Radio value="3" colorScheme="yellow" size="lg">
</s> add <Radio value="3" colorScheme="yellow" size="lg" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/controlledRadio.tsx |
<Radio colorScheme="red" value="1" my={1}> | <mask>
<mask> export default function () {
<mask> return (
<mask> <Radio.Group defaultValue="1" name="exampleGroup">
<mask> <Radio colorScheme="red" value="1">
<mask> <Text mx={2}>red</Text>
<mask> </Radio>
<mask> <Radio colorScheme="dark" value="2">
<mask> <Text mx={2}>dark</Text>
<mask> </Radio>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio colorScheme="dark" value="2">
</s> add <Radio colorScheme="dark" value="2" my={1}> </s> remove <Radio value="1">
</s> add <Radio value="1" my={1}> </s> remove <Radio value="1" isDisabled>
</s> add <Radio value="1" my={1} isDisabled> </s> remove <Radio value="1" colorScheme="red" size="sm">
</s> add <Radio value="1" colorScheme="red" size="sm" my={1}> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/customeColor.tsx |
<Radio colorScheme="dark" value="2" my={1}> | <mask> <Radio.Group defaultValue="1" name="exampleGroup">
<mask> <Radio colorScheme="red" value="1">
<mask> <Text mx={2}>red</Text>
<mask> </Radio>
<mask> <Radio colorScheme="dark" value="2">
<mask> <Text mx={2}>dark</Text>
<mask> </Radio>
<mask> <Radio colorScheme="success" value="3">
<mask> <Text mx={2}>success</Text>
<mask> </Radio>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio colorScheme="red" value="1">
</s> add <Radio colorScheme="red" value="1" my={1}> </s> remove <Radio colorScheme="success" value="3">
</s> add <Radio colorScheme="success" value="3" my={1}> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio value="1">
</s> add <Radio value="1" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/customeColor.tsx |
<Radio colorScheme="success" value="3" my={1}> | <mask> </Radio>
<mask> <Radio colorScheme="dark" value="2">
<mask> <Text mx={2}>dark</Text>
<mask> </Radio>
<mask> <Radio colorScheme="success" value="3">
<mask> <Text mx={2}>success</Text>
<mask> </Radio>
<mask> </Radio.Group>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio colorScheme="dark" value="2">
</s> add <Radio colorScheme="dark" value="2" my={1}> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> </s> remove <Radio colorScheme="red" value="1">
</s> add <Radio colorScheme="red" value="1" my={1}> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/customeColor.tsx |
my={1} | <mask> colorScheme="green"
<mask> value="1"
<mask> icon={<Icon name="alien" type="MaterialCommunityIcons" />}
<mask> >
<mask> Alien
<mask> </Radio>
<mask> <Radio
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="2" colorScheme="green" size="md">
</s> add <Radio value="2" colorScheme="green" size="md" my={1}> </s> remove <Radio value="1" colorScheme="red" size="sm">
</s> add <Radio value="1" colorScheme="red" size="sm" my={1}> </s> remove <Radio value="1" isDisabled>
</s> add <Radio value="1" my={1} isDisabled> | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/customeIcon.tsx |
my={1} | <mask> _text={{ mx: 2 }}
<mask> colorScheme="red"
<mask> value="2"
<mask> icon={<Icon name="fire" type="MaterialCommunityIcons" />}
<mask> >
<mask> Fire
<mask> </Radio>
<mask> <Radio
<mask> colorScheme="warning"
<mask> _text={{ mx: 2 }}
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="one">
<Text>One</Text>
</s> add <Radio value="one" my={1}>
<Text mx={1}>One</Text> </s> remove <Radio value="1" colorScheme="red" size="sm">
</s> add <Radio value="1" colorScheme="red" size="sm" my={1}> </s> remove <Radio value="2" colorScheme="green" size="md">
</s> add <Radio value="2" colorScheme="green" size="md" my={1}> | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/customeIcon.tsx |
my={1} | <mask> _text={{ mx: 2 }}
<mask> value="3"
<mask> icon={<Icon name="exclamation" type="MaterialCommunityIcons" />}
<mask> >
<mask> Warning
<mask> </Radio>
<mask> </Radio.Group>
<mask> );
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="one">
<Text>One</Text>
</s> add <Radio value="one" my={1}>
<Text mx={1}>One</Text> </s> remove <Radio value="3" colorScheme="yellow" size="lg">
</s> add <Radio value="3" colorScheme="yellow" size="lg" my={1}> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/customeIcon.tsx |
<Radio value="1" my={1} isDisabled> | <mask>
<mask> export default function () {
<mask> return (
<mask> <Radio.Group defaultValue="1" name="exampleGroup">
<mask> <Radio value="1" isDisabled>
<mask> <Text mx={2}>First</Text>
<mask> </Radio>
<mask> <Radio value="2">
<mask> <Text mx={2}>Second</Text>
<mask> </Radio>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio value="1">
</s> add <Radio value="1" my={1}> </s> remove <Radio colorScheme="red" value="1">
</s> add <Radio colorScheme="red" value="1" my={1}> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio value="1" colorScheme="red" size="sm">
</s> add <Radio value="1" colorScheme="red" size="sm" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/disabled.tsx |
<Radio value="2" my={1}> | <mask> <Radio.Group defaultValue="1" name="exampleGroup">
<mask> <Radio value="1" isDisabled>
<mask> <Text mx={2}>First</Text>
<mask> </Radio>
<mask> <Radio value="2">
<mask> <Text mx={2}>Second</Text>
<mask> </Radio>
<mask> <Radio value="3">
<mask> <Text mx={2}>Third</Text>
<mask> </Radio>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="1" isDisabled>
</s> add <Radio value="1" my={1} isDisabled> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio value="1">
</s> add <Radio value="1" my={1}> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/disabled.tsx |
<Radio value="3" my={1}> | <mask> </Radio>
<mask> <Radio value="2">
<mask> <Text mx={2}>Second</Text>
<mask> </Radio>
<mask> <Radio value="3">
<mask> <Text mx={2}>Third</Text>
<mask> </Radio>
<mask> </Radio.Group>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio colorScheme="success" value="3">
</s> add <Radio colorScheme="success" value="3" my={1}> </s> remove <Radio colorScheme="dark" value="2">
</s> add <Radio colorScheme="dark" value="2" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/disabled.tsx |
colorScheme={text('colorScheme', 'primary')} | <mask> return (
<mask> <View display="flex" justifyContent="space-between" alignItems="center">
<mask> <Radio.Group value={value} onChange={setValue} name="exampleGroup">
<mask> <Radio
<mask> colorScheme={text('colorScheme', 'default')}
<mask> size={select('size', ['sm', 'md', 'lg'], 'md')}
<mask> isDisabled={boolean('isDisabled', false)}
<mask> isInvalid={boolean('isInvalid', false)}
<mask> value={'cool'}
<mask> >
</s> fix: modal styling fix and example fixes for multiple components </s> remove colorScheme={text('colorScheme', 'default')}
</s> add colorScheme={text('colorScheme', 'primary')} </s> remove <Radio value="1" isDisabled>
</s> add <Radio value="1" my={1} isDisabled> </s> remove <Radio colorScheme="red" value="1">
</s> add <Radio colorScheme="red" value="1" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/playground.tsx |
my={1} | <mask> isDisabled={boolean('isDisabled', false)}
<mask> isInvalid={boolean('isInvalid', false)}
<mask> value={'cool'}
<mask> >
<mask> <Text mx={2}>Are you Awesome?</Text>
<mask> </Radio>
<mask> <Radio
<mask> colorScheme={text('colorScheme', 'primary')}
</s> fix: modal styling fix and example fixes for multiple components </s> remove colorScheme={text('colorScheme', 'default')}
</s> add colorScheme={text('colorScheme', 'primary')} </s> remove colorScheme={text('colorScheme', 'default')}
</s> add colorScheme={text('colorScheme', 'primary')} </s> remove <Text>{'Yes, you are ' + value}</Text>
</s> add <Text mt={1}>{'Yes, you are ' + value}</Text> | [
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/playground.tsx |
colorScheme={text('colorScheme', 'primary')} | <mask> >
<mask> <Text mx={2}>Are you Awesome?</Text>
<mask> </Radio>
<mask> <Radio
<mask> colorScheme={text('colorScheme', 'default')}
<mask> size={select('size', ['sm', 'md', 'lg'], 'md')}
<mask> isDisabled={boolean('isDisabled', false)}
<mask> isInvalid={boolean('isInvalid', false)}
<mask> value={'awesome'}
<mask> >
</s> fix: modal styling fix and example fixes for multiple components </s> remove colorScheme={text('colorScheme', 'default')}
</s> add colorScheme={text('colorScheme', 'primary')} </s> remove <Text>{'Yes, you are ' + value}</Text>
</s> add <Text mt={1}>{'Yes, you are ' + value}</Text> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/playground.tsx |
my={1} | <mask> size={select('size', ['sm', 'md', 'lg'], 'md')}
<mask> isDisabled={boolean('isDisabled', false)}
<mask> isInvalid={boolean('isInvalid', false)}
<mask> value={'awesome'}
<mask> >
<mask> <Text mx={2}>Are you Cool?</Text>
<mask> </Radio>
<mask> </Radio.Group>
<mask> <Text mt={1}>{'Yes, you are ' + value}</Text>
<mask> </View>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Text>{'Yes, you are ' + value}</Text>
</s> add <Text mt={1}>{'Yes, you are ' + value}</Text> </s> remove colorScheme={text('colorScheme', 'default')}
</s> add colorScheme={text('colorScheme', 'primary')} </s> remove colorScheme={text('colorScheme', 'default')}
</s> add colorScheme={text('colorScheme', 'primary')} </s> remove <Radio value="two">
<Text>Two</Text>
</s> add <Radio value="two" my={1}>
<Text mx={1}>Two</Text> | [
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/playground.tsx |
<Text mt={1}>{'Yes, you are ' + value}</Text> | <mask> >
<mask> <Text mx={2}>Are you Cool?</Text>
<mask> </Radio>
<mask> </Radio.Group>
<mask> <Text>{'Yes, you are ' + value}</Text>
<mask> </View>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove colorScheme={text('colorScheme', 'default')}
</s> add colorScheme={text('colorScheme', 'primary')} </s> remove <Radio value="two">
<Text>Two</Text>
</s> add <Radio value="two" my={1}>
<Text mx={1}>Two</Text> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/playground.tsx |
<Radio value="1" colorScheme="red" size="sm" my={1}> | <mask>
<mask> export default function () {
<mask> return (
<mask> <Radio.Group name="exampleGroup" defaultValue="1">
<mask> <Radio value="1" colorScheme="red" size="sm">
<mask> <Text mx={2}>Small</Text>
<mask> </Radio>
<mask> <Radio value="2" colorScheme="green" size="md">
<mask> <Text mx={2}>Medium</Text>
<mask> </Radio>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="2" colorScheme="green" size="md">
</s> add <Radio value="2" colorScheme="green" size="md" my={1}> </s> remove <Radio colorScheme="red" value="1">
</s> add <Radio colorScheme="red" value="1" my={1}> </s> remove <Radio value="3" colorScheme="yellow" size="lg">
</s> add <Radio value="3" colorScheme="yellow" size="lg" my={1}> </s> remove <Radio value="1" isDisabled>
</s> add <Radio value="1" my={1} isDisabled> </s> remove <Radio value="1">
</s> add <Radio value="1" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/size.tsx |
<Radio value="2" colorScheme="green" size="md" my={1}> | <mask> <Radio.Group name="exampleGroup" defaultValue="1">
<mask> <Radio value="1" colorScheme="red" size="sm">
<mask> <Text mx={2}>Small</Text>
<mask> </Radio>
<mask> <Radio value="2" colorScheme="green" size="md">
<mask> <Text mx={2}>Medium</Text>
<mask> </Radio>
<mask> <Radio value="3" colorScheme="yellow" size="lg">
<mask> <Text mx={2}>Large</Text>
<mask> </Radio>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="1" colorScheme="red" size="sm">
</s> add <Radio value="1" colorScheme="red" size="sm" my={1}> </s> remove <Radio value="3" colorScheme="yellow" size="lg">
</s> add <Radio value="3" colorScheme="yellow" size="lg" my={1}> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio colorScheme="red" value="1">
</s> add <Radio colorScheme="red" value="1" my={1}> </s> remove <Radio colorScheme="dark" value="2">
</s> add <Radio colorScheme="dark" value="2" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/size.tsx |
<Radio value="3" colorScheme="yellow" size="lg" my={1}> | <mask> </Radio>
<mask> <Radio value="2" colorScheme="green" size="md">
<mask> <Text mx={2}>Medium</Text>
<mask> </Radio>
<mask> <Radio value="3" colorScheme="yellow" size="lg">
<mask> <Text mx={2}>Large</Text>
<mask> </Radio>
<mask> </Radio.Group>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="2" colorScheme="green" size="md">
</s> add <Radio value="2" colorScheme="green" size="md" my={1}> </s> remove <Radio value="1" colorScheme="red" size="sm">
</s> add <Radio value="1" colorScheme="red" size="sm" my={1}> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> </s> remove <Radio colorScheme="success" value="3">
</s> add <Radio colorScheme="success" value="3" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/size.tsx |
<Radio value="1" my={1}> | <mask>
<mask> export default function () {
<mask> return (
<mask> <Radio.Group defaultValue="1" name="myRadioGroup">
<mask> <Radio value="1">
<mask> <Text mx={2}>First</Text>
<mask> </Radio>
<mask> <Radio value="2">
<mask> <Text mx={2}>Second</Text>
<mask> </Radio>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio value="1" isDisabled>
</s> add <Radio value="1" my={1} isDisabled> </s> remove <Radio colorScheme="red" value="1">
</s> add <Radio colorScheme="red" value="1" my={1}> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio colorScheme="dark" value="2">
</s> add <Radio colorScheme="dark" value="2" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/uncontrolledRadio.tsx |
<Radio value="2" my={1}> | <mask> <Radio.Group defaultValue="1" name="myRadioGroup">
<mask> <Radio value="1">
<mask> <Text mx={2}>First</Text>
<mask> </Radio>
<mask> <Radio value="2">
<mask> <Text mx={2}>Second</Text>
<mask> </Radio>
<mask> <Radio value="3">
<mask> <Text mx={2}>Third</Text>
<mask> </Radio>
</s> fix: modal styling fix and example fixes for multiple components </s> remove <Radio value="1">
</s> add <Radio value="1" my={1}> </s> remove <Radio value="2">
</s> add <Radio value="2" my={1}> </s> remove <Radio colorScheme="dark" value="2">
</s> add <Radio colorScheme="dark" value="2" my={1}> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> </s> remove <Radio value="3">
</s> add <Radio value="3" my={1}> | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/uncontrolledRadio.tsx |
<Radio value="3" my={1}> | <mask> </Radio>
<mask> <Radio value="2">
<mask> <Text mx={2}>Second</Text>
<mask> </Radio>
<mask> <Radio value="3">
<mask> <Text mx={2}>Third</Text>
<mask> </Radio>
<mask> </Radio.Group>
<mask> );
<mask> }
</s> fix: modal styling fix and example fixes for multiple components | [
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | example/storybook/stories/components/primitives/Radio/uncontrolledRadio.tsx |
borderRadius: 'md', | <mask> import { Dict, mode } from './../tools';
<mask>
<mask> const baseStyle = {
<mask> borderRadius: 'lg',
<mask> display: 'flex',
<mask> flexDirection: 'row',
<mask> justifyContent: 'center',
<mask> alignItems: 'center',
<mask> };
</s> fix: modal styling fix and example fixes for multiple components </s> remove import { Button, useOverlay, VStack, Alert, CloseButton } from 'native-base';
</s> add import {
Button,
useOverlay,
VStack,
Alert,
View,
IconButton,
Icon,
} from 'native-base'; </s> remove return <Button onPress={() => console.log('hello world')}>Button</Button>;
</s> add return <Button onPress={() => console.log('hello world')}>BUTTON</Button>; </s> remove <NumberInput>
</s> add <NumberInput w="95%"> | [
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] | https://github.com/GeekyAnts/NativeBase/commit/c642b44af2015d657c367dd57bc22fcc2bff7cb2 | src/theme/components/button.ts |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.