docstring_tokens
stringlengths 0
76.5k
| code_tokens
stringlengths 75
1.81M
| label_window
listlengths 4
2.12k
| html_url
stringlengths 74
116
| file_name
stringlengths 3
311
|
---|---|---|---|---|
colorScheme = getColorScheme(props, !status ? colorScheme : status);
|
<mask>
<mask> const variantOutlineLight = (props: Record<string, any>) => {
<mask> let { colorScheme, status, theme } = props;
<mask>
<mask> colorScheme = getColorScheme(
<mask> props,
<mask> colorScheme !== 'primary' ? colorScheme : status
<mask> );
<mask>
<mask> return {
<mask> borderWidth: 1,
<mask> _light: {
<mask> _icon: { color: `${colorScheme}.700` },
</s> fix: status not changing bg of alert </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5a4cbd095b48a31e6b47580c4bf5537784f9dbab
|
src/theme/components/alert.ts
|
colorScheme = getColorScheme(props, !status ? colorScheme : status);
|
<mask> const variantLeftAccent = (props: Record<string, any>) => {
<mask> let { colorScheme, status } = props;
<mask> const { lightBg, darkBg } = getBg(props);
<mask>
<mask> colorScheme = getColorScheme(
<mask> props,
<mask> colorScheme !== 'primary' ? colorScheme : status
<mask> );
<mask>
<mask> return {
<mask> borderLeftWidth: 4,
<mask> _light: {
<mask> bg: lightBg,
</s> fix: status not changing bg of alert </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5a4cbd095b48a31e6b47580c4bf5537784f9dbab
|
src/theme/components/alert.ts
|
colorScheme = getColorScheme(props, !status ? colorScheme : status);
|
<mask> const variantTopAccent = (props: Record<string, any>) => {
<mask> let { colorScheme, status } = props;
<mask> const { lightBg, darkBg } = getBg(props);
<mask>
<mask> colorScheme = getColorScheme(
<mask> props,
<mask> colorScheme !== 'primary' ? colorScheme : status
<mask> );
<mask>
<mask> return {
<mask> borderTopWidth: 4,
<mask> _light: {
<mask> bg: lightBg,
</s> fix: status not changing bg of alert </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status); </s> remove colorScheme = getColorScheme(
props,
colorScheme !== 'primary' ? colorScheme : status
);
</s> add colorScheme = getColorScheme(props, !status ? colorScheme : status);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5a4cbd095b48a31e6b47580c4bf5537784f9dbab
|
src/theme/components/alert.ts
|
import React, { forwardRef, memo } from 'react';
|
<mask> import React from 'react';
<mask> import { StyleSheet, ViewStyle, Platform } from 'react-native';
<mask> import { default as Box } from '../../primitives/Box';
<mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps';
<mask> import { usePropsResolution } from '../../../hooks';
<mask> import type { IAspectRatioProps } from './types';
</s> fix: aspect ratio doc props table fix </s> remove const AspectView = React.forwardRef((props: any, ref?: any) => {
</s> add const AspectView = forwardRef((props: any, ref?: any) => { </s> remove export default React.memo(React.forwardRef(AspectRatio));
</s> add export default memo(forwardRef(AspectRatio));
|
[
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5aa2f2e4287d9be34a8de4258d0b8c4fb8a66c00
|
src/components/composites/AspectRatio/index.tsx
|
const AspectView = forwardRef((props: any, ref?: any) => {
|
<mask> import { useHasResponsiveProps } from '../../../hooks/useHasResponsiveProps';
<mask> import { usePropsResolution } from '../../../hooks';
<mask> import type { IAspectRatioProps } from './types';
<mask>
<mask> const AspectView = React.forwardRef((props: any, ref?: any) => {
<mask> const [layout, setLayout] = React.useState();
<mask> const inputStyle = [StyleSheet.flatten(props.style) || {}];
<mask> if (layout) {
<mask> // @ts-ignore
<mask> let { width = 0, height = 0 } = layout;
</s> fix: aspect ratio doc props table fix </s> remove import React from 'react';
</s> add import React, { forwardRef, memo } from 'react'; </s> remove export default React.memo(React.forwardRef(AspectRatio));
</s> add export default memo(forwardRef(AspectRatio));
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5aa2f2e4287d9be34a8de4258d0b8c4fb8a66c00
|
src/components/composites/AspectRatio/index.tsx
|
export default memo(forwardRef(AspectRatio));
|
<mask> );
<mask> }
<mask> };
<mask>
<mask> export default React.memo(React.forwardRef(AspectRatio));
</s> fix: aspect ratio doc props table fix </s> remove import React from 'react';
</s> add import React, { forwardRef, memo } from 'react'; </s> remove const AspectView = React.forwardRef((props: any, ref?: any) => {
</s> add const AspectView = forwardRef((props: any, ref?: any) => {
|
[
"keep",
"keep",
"keep",
"keep",
"replace"
] |
https://github.com/GeekyAnts/NativeBase/commit/5aa2f2e4287d9be34a8de4258d0b8c4fb8a66c00
|
src/components/composites/AspectRatio/index.tsx
|
space={3}
mb={3}
|
<mask> <Heading>Stack with Divider</Heading>
<mask> <Box>
<mask> <Stack
<mask> direction="row"
<mask> space={number('space', 3)}
<mask> mb={number('mb', 3)}
<mask> alignItems="center"
<mask> divider={<Divider bg="red.200" />}
<mask> >
<mask> <Box>Simple</Box>
<mask> <Box>Easy</Box>
</s> fix: maxWidth in Toast component </s> remove <VStack>
</s> add <VStack flexShrink={1}> </s> remove 'bottom': {
</s> add bottom: {
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5af267f28889be507d3182572fc8888b647683e8
|
example/storybook/stories/components/primitives/Stack/divider.tsx
|
bottom: {
|
<mask> 'top-left': {
<mask> top: INSET,
<mask> left: 0,
<mask> },
<mask> 'bottom': {
<mask> bottom: INSET,
<mask> left: 0,
<mask> right: 0,
<mask> },
<mask> 'bottom-left': {
</s> fix: maxWidth in Toast component </s> remove <VStack>
</s> add <VStack flexShrink={1}> </s> remove space={number('space', 3)}
mb={number('mb', 3)}
</s> add space={3}
mb={3}
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5af267f28889be507d3182572fc8888b647683e8
|
src/components/composites/Toast/Toast.tsx
|
<VStack flexShrink={1}>
|
<mask> }
<mask> {...rest}
<mask> >
<mask> <Alert.Icon />
<mask> <VStack>
<mask> <Alert.Title>{title}</Alert.Title>
<mask> {description ? (
<mask> <Alert.Description>{description}</Alert.Description>
<mask> ) : null}
<mask> </VStack>
</s> fix: maxWidth in Toast component </s> remove space={number('space', 3)}
mb={number('mb', 3)}
</s> add space={3}
mb={3} </s> remove 'bottom': {
</s> add bottom: {
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5af267f28889be507d3182572fc8888b647683e8
|
src/components/composites/Toast/Toast.tsx
|
Object.defineProperty(exports,"__esModule",{value:true});var _platform=require('./../variables/platform');var _platform2=_interopRequireDefault(_platform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=
|
<mask> Object.defineProperty(exports,"__esModule",{value:true});var _platform=require("./../variables/platform");var _platform2=_interopRequireDefault(_platform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=
<mask>
<mask> function(){var variables=arguments.length>0&&arguments[0]!==undefined?arguments[0]:_platform2.default;
<mask> var theme={
<mask> ".bordered":{
<mask> ".noTopBorder":{
</s> group prop added for Separator #903 </s> remove ".bordered":{
".noTopBorder":{
</s> add '.group':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12,
'.bordered':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12}},
'.bordered':{
'.noTopBorder':{ </s> remove return theme;
</s> add return theme; </s> remove const theme = {
".bordered": {
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 35,
paddingVertical: variables.listItemPadding + 1,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor
},
"NativeBase.Text": {
fontSize: variables.tabBarTextSize
},
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 38,
backgroundColor: "#F0EFF5",
flex: 1,
justifyContent: "center",
paddingLeft: variables.listItemPadding + 5
};
</s> add const theme = {
'.group': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
'.bordered': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
},
},
'.bordered': {
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 35,
paddingTop: variables.listItemPadding + 2,
paddingBottom: variables.listItemPadding,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor,
},
'NativeBase.Text': {
fontSize: variables.tabBarTextSize - 2,
color: '#777',
},
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 38,
backgroundColor: '#F0EFF5',
flex: 1,
justifyContent: 'center',
paddingLeft: variables.listItemPadding + 5,
}; </s> remove import variable from "./../variables/platform";
</s> add import variable from './../variables/platform'; </s> remove justifyContent:"center",
</s> add justifyContent:'center',
|
[
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5b233bf4e464e3e9e0e41c087a12f3268bf29ce3
|
dist/src/theme/components/Separator.js
|
'.group':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12,
'.bordered':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12}},
'.bordered':{
'.noTopBorder':{
|
<mask> Object.defineProperty(exports,"__esModule",{value:true});var _platform=require("./../variables/platform");var _platform2=_interopRequireDefault(_platform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=
<mask>
<mask> function(){var variables=arguments.length>0&&arguments[0]!==undefined?arguments[0]:_platform2.default;
<mask> var theme={
<mask> ".bordered":{
<mask> ".noTopBorder":{
<mask> borderTopWidth:0},
<mask>
<mask> ".noBottomBorder":{
<mask> borderBottomWidth:0},
<mask>
</s> group prop added for Separator #903 </s> remove Object.defineProperty(exports,"__esModule",{value:true});var _platform=require("./../variables/platform");var _platform2=_interopRequireDefault(_platform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default=
</s> add Object.defineProperty(exports,"__esModule",{value:true});var _platform=require('./../variables/platform');var _platform2=_interopRequireDefault(_platform);function _interopRequireDefault(obj){return obj&&obj.__esModule?obj:{default:obj};}exports.default= </s> remove backgroundColor:"#F0EFF5",
</s> add backgroundColor:'#F0EFF5', </s> remove return theme;
</s> add return theme; </s> remove const theme = {
".bordered": {
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 35,
paddingVertical: variables.listItemPadding + 1,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor
},
"NativeBase.Text": {
fontSize: variables.tabBarTextSize
},
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 38,
backgroundColor: "#F0EFF5",
flex: 1,
justifyContent: "center",
paddingLeft: variables.listItemPadding + 5
};
</s> add const theme = {
'.group': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
'.bordered': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
},
},
'.bordered': {
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 35,
paddingTop: variables.listItemPadding + 2,
paddingBottom: variables.listItemPadding,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor,
},
'NativeBase.Text': {
fontSize: variables.tabBarTextSize - 2,
color: '#777',
},
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 38,
backgroundColor: '#F0EFF5',
flex: 1,
justifyContent: 'center',
paddingLeft: variables.listItemPadding + 5,
}; </s> remove import variable from "./../variables/platform";
</s> add import variable from './../variables/platform';
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5b233bf4e464e3e9e0e41c087a12f3268bf29ce3
|
dist/src/theme/components/Separator.js
|
backgroundColor:'#F0EFF5',
|
<mask> ".noBottomBorder":{
<mask> borderBottomWidth:0},
<mask>
<mask> height:38,
<mask> backgroundColor:"#F0EFF5",
<mask> flex:1,
<mask> justifyContent:"center",
<mask> paddingLeft:variables.listItemPadding+5};
<mask>
<mask>
</s> group prop added for Separator #903 </s> remove justifyContent:"center",
</s> add justifyContent:'center', </s> remove ".bordered":{
".noTopBorder":{
</s> add '.group':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12,
'.bordered':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12}},
'.bordered':{
'.noTopBorder':{ </s> remove return theme;
</s> add return theme; </s> remove const theme = {
".bordered": {
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 35,
paddingVertical: variables.listItemPadding + 1,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor
},
"NativeBase.Text": {
fontSize: variables.tabBarTextSize
},
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 38,
backgroundColor: "#F0EFF5",
flex: 1,
justifyContent: "center",
paddingLeft: variables.listItemPadding + 5
};
</s> add const theme = {
'.group': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
'.bordered': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
},
},
'.bordered': {
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 35,
paddingTop: variables.listItemPadding + 2,
paddingBottom: variables.listItemPadding,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor,
},
'NativeBase.Text': {
fontSize: variables.tabBarTextSize - 2,
color: '#777',
},
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 38,
backgroundColor: '#F0EFF5',
flex: 1,
justifyContent: 'center',
paddingLeft: variables.listItemPadding + 5,
}; </s> remove import variable from "./../variables/platform";
</s> add import variable from './../variables/platform';
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5b233bf4e464e3e9e0e41c087a12f3268bf29ce3
|
dist/src/theme/components/Separator.js
|
justifyContent:'center',
|
<mask>
<mask> height:38,
<mask> backgroundColor:"#F0EFF5",
<mask> flex:1,
<mask> justifyContent:"center",
<mask> paddingLeft:variables.listItemPadding+5};
<mask>
<mask>
<mask> return theme;
<mask> };
</s> group prop added for Separator #903 </s> remove backgroundColor:"#F0EFF5",
</s> add backgroundColor:'#F0EFF5', </s> remove return theme;
</s> add return theme; </s> remove const theme = {
".bordered": {
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 35,
paddingVertical: variables.listItemPadding + 1,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor
},
"NativeBase.Text": {
fontSize: variables.tabBarTextSize
},
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 38,
backgroundColor: "#F0EFF5",
flex: 1,
justifyContent: "center",
paddingLeft: variables.listItemPadding + 5
};
</s> add const theme = {
'.group': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
'.bordered': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
},
},
'.bordered': {
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 35,
paddingTop: variables.listItemPadding + 2,
paddingBottom: variables.listItemPadding,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor,
},
'NativeBase.Text': {
fontSize: variables.tabBarTextSize - 2,
color: '#777',
},
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 38,
backgroundColor: '#F0EFF5',
flex: 1,
justifyContent: 'center',
paddingLeft: variables.listItemPadding + 5,
}; </s> remove import variable from "./../variables/platform";
</s> add import variable from './../variables/platform'; </s> remove ".bordered":{
".noTopBorder":{
</s> add '.group':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12,
'.bordered':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12}},
'.bordered':{
'.noTopBorder':{
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5b233bf4e464e3e9e0e41c087a12f3268bf29ce3
|
dist/src/theme/components/Separator.js
|
import variable from './../variables/platform';
|
<mask> import variable from "./../variables/platform";
<mask>
<mask> export default (variables = variable) => {
<mask> const theme = {
<mask> ".bordered": {
<mask> ".noTopBorder": {
</s> group prop added for Separator #903 </s> remove const theme = {
".bordered": {
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 35,
paddingVertical: variables.listItemPadding + 1,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor
},
"NativeBase.Text": {
fontSize: variables.tabBarTextSize
},
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 38,
backgroundColor: "#F0EFF5",
flex: 1,
justifyContent: "center",
paddingLeft: variables.listItemPadding + 5
};
</s> add const theme = {
'.group': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
'.bordered': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
},
},
'.bordered': {
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 35,
paddingTop: variables.listItemPadding + 2,
paddingBottom: variables.listItemPadding,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor,
},
'NativeBase.Text': {
fontSize: variables.tabBarTextSize - 2,
color: '#777',
},
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 38,
backgroundColor: '#F0EFF5',
flex: 1,
justifyContent: 'center',
paddingLeft: variables.listItemPadding + 5,
}; </s> remove return theme;
</s> add return theme; </s> remove justifyContent:"center",
</s> add justifyContent:'center', </s> remove backgroundColor:"#F0EFF5",
</s> add backgroundColor:'#F0EFF5', </s> remove ".bordered":{
".noTopBorder":{
</s> add '.group':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12,
'.bordered':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12}},
'.bordered':{
'.noTopBorder':{
|
[
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5b233bf4e464e3e9e0e41c087a12f3268bf29ce3
|
src/theme/components/Separator.js
|
const theme = {
'.group': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
'.bordered': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
},
},
'.bordered': {
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 35,
paddingTop: variables.listItemPadding + 2,
paddingBottom: variables.listItemPadding,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor,
},
'NativeBase.Text': {
fontSize: variables.tabBarTextSize - 2,
color: '#777',
},
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 38,
backgroundColor: '#F0EFF5',
flex: 1,
justifyContent: 'center',
paddingLeft: variables.listItemPadding + 5,
};
|
<mask> import variable from "./../variables/platform";
<mask>
<mask> export default (variables = variable) => {
<mask> const theme = {
<mask> ".bordered": {
<mask> ".noTopBorder": {
<mask> borderTopWidth: 0
<mask> },
<mask> ".noBottomBorder": {
<mask> borderBottomWidth: 0
<mask> },
<mask> height: 35,
<mask> paddingVertical: variables.listItemPadding + 1,
<mask> borderBottomWidth: variables.borderWidth,
<mask> borderTopWidth: variables.borderWidth,
<mask> borderColor: variables.listBorderColor
<mask> },
<mask> "NativeBase.Text": {
<mask> fontSize: variables.tabBarTextSize
<mask> },
<mask> ".noTopBorder": {
<mask> borderTopWidth: 0
<mask> },
<mask> ".noBottomBorder": {
<mask> borderBottomWidth: 0
<mask> },
<mask> height: 38,
<mask> backgroundColor: "#F0EFF5",
<mask> flex: 1,
<mask> justifyContent: "center",
<mask> paddingLeft: variables.listItemPadding + 5
<mask> };
<mask>
<mask> return theme;
<mask> };
</s> group prop added for Separator #903 </s> remove import variable from "./../variables/platform";
</s> add import variable from './../variables/platform'; </s> remove return theme;
</s> add return theme; </s> remove justifyContent:"center",
</s> add justifyContent:'center', </s> remove backgroundColor:"#F0EFF5",
</s> add backgroundColor:'#F0EFF5', </s> remove ".bordered":{
".noTopBorder":{
</s> add '.group':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12,
'.bordered':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12}},
'.bordered':{
'.noTopBorder':{
|
[
"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",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5b233bf4e464e3e9e0e41c087a12f3268bf29ce3
|
src/theme/components/Separator.js
|
return theme;
|
<mask> justifyContent: "center",
<mask> paddingLeft: variables.listItemPadding + 5
<mask> };
<mask>
<mask> return theme;
<mask> };
</s> group prop added for Separator #903 </s> remove const theme = {
".bordered": {
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 35,
paddingVertical: variables.listItemPadding + 1,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor
},
"NativeBase.Text": {
fontSize: variables.tabBarTextSize
},
".noTopBorder": {
borderTopWidth: 0
},
".noBottomBorder": {
borderBottomWidth: 0
},
height: 38,
backgroundColor: "#F0EFF5",
flex: 1,
justifyContent: "center",
paddingLeft: variables.listItemPadding + 5
};
</s> add const theme = {
'.group': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
'.bordered': {
height: 50,
paddingVertical: variables.listItemPadding - 8,
paddingTop: variables.listItemPadding + 12,
},
},
'.bordered': {
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 35,
paddingTop: variables.listItemPadding + 2,
paddingBottom: variables.listItemPadding,
borderBottomWidth: variables.borderWidth,
borderTopWidth: variables.borderWidth,
borderColor: variables.listBorderColor,
},
'NativeBase.Text': {
fontSize: variables.tabBarTextSize - 2,
color: '#777',
},
'.noTopBorder': {
borderTopWidth: 0,
},
'.noBottomBorder': {
borderBottomWidth: 0,
},
height: 38,
backgroundColor: '#F0EFF5',
flex: 1,
justifyContent: 'center',
paddingLeft: variables.listItemPadding + 5,
}; </s> remove justifyContent:"center",
</s> add justifyContent:'center', </s> remove import variable from "./../variables/platform";
</s> add import variable from './../variables/platform'; </s> remove backgroundColor:"#F0EFF5",
</s> add backgroundColor:'#F0EFF5', </s> remove ".bordered":{
".noTopBorder":{
</s> add '.group':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12,
'.bordered':{
height:50,
paddingVertical:variables.listItemPadding-8,
paddingTop:variables.listItemPadding+12}},
'.bordered':{
'.noTopBorder':{
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5b233bf4e464e3e9e0e41c087a12f3268bf29ce3
|
src/theme/components/Separator.js
|
const config = {
dependencies: {
'linear-gradient': require('react-native-linear-gradient').default,
},
};
console.log('man ', config);
|
<mask> import {NativeBaseProvider, Box, Center} from 'native-base';
<mask>
<mask> const App = () => {
<mask> return (
<mask> <NativeBaseProvider config={config}>
<mask> <Center flex={1}>
<mask> <Box
</s> fix: bare example linear gradient </s> remove <NativeBaseProvider>
</s> add <NativeBaseProvider config={config}> </s> remove 42CCD72C7CF4497793037815 /* Resources */ = {
isa = "PBXGroup";
children = (
EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */,
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */,
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */,
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */,
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */,
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */,
);
name = Resources;
sourceTree = "<group>";
path = "";
};
</s> add </s> remove 4A2BEF80E0F0453CB2500790 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */; };
38BE891D962D4F349AF2917E /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */; };
4664335C02E54CEEA39B7112 /* Merriweather-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */; };
</s> add
|
[
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/App.tsx
|
<NativeBaseProvider config={config}>
|
<mask> import {NativeBaseProvider, Box, Center} from 'native-base';
<mask>
<mask> const App = () => {
<mask> return (
<mask> <NativeBaseProvider>
<mask> <Center flex={1}>
<mask> <Box
<mask> bg={{
<mask> linearGradient: {
<mask> colors: ['lightBlue.300', 'violet.800'],
</s> fix: bare example linear gradient </s> remove 42CCD72C7CF4497793037815 /* Resources */ = {
isa = "PBXGroup";
children = (
EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */,
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */,
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */,
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */,
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */,
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */,
);
name = Resources;
sourceTree = "<group>";
path = "";
};
</s> add </s> remove 4A2BEF80E0F0453CB2500790 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */; };
38BE891D962D4F349AF2917E /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */; };
4664335C02E54CEEA39B7112 /* Merriweather-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */; };
</s> add
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/App.tsx
|
38BE891D962D4F349AF2917E /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */; };
4664335C02E54CEEA39B7112 /* Merriweather-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */; };
4A2BEF80E0F0453CB2500790 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */; };
|
<mask> 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
<mask> 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
<mask> 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
<mask> 8EC97A0012A44B37A239430B /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */; };
<mask> A407EFB79BE54725A37F6732 /* Roboto-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */; };
<mask> CC958B3576C25F72C64CD117 /* libPods-RNBareExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 11C0BDDBE1B1045431ABC4E5 /* libPods-RNBareExample.a */; };
<mask> DE9675BE0B1F7B1E29B249D0 /* libPods-RNBareExample-RNBareExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */; };
<mask> F8E98893793F4862BBC06E24 /* Roboto-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */; };
</s> fix: bare example linear gradient </s> remove CC958B3576C25F72C64CD117 /* libPods-RNBareExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 11C0BDDBE1B1045431ABC4E5 /* libPods-RNBareExample.a */; };
DE9675BE0B1F7B1E29B249D0 /* libPods-RNBareExample-RNBareExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */; };
</s> add </s> remove 4A2BEF80E0F0453CB2500790 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */; };
38BE891D962D4F349AF2917E /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */; };
4664335C02E54CEEA39B7112 /* Merriweather-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */; };
</s> add </s> remove EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
</s> add EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; };
|
[
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
<mask> 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; };
<mask> 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
<mask> 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
<mask> 81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
<mask> CC958B3576C25F72C64CD117 /* libPods-RNBareExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 11C0BDDBE1B1045431ABC4E5 /* libPods-RNBareExample.a */; };
<mask> DE9675BE0B1F7B1E29B249D0 /* libPods-RNBareExample-RNBareExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */; };
<mask> 8EC97A0012A44B37A239430B /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */; };
<mask> A407EFB79BE54725A37F6732 /* Roboto-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */; };
<mask> F8E98893793F4862BBC06E24 /* Roboto-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */; };
<mask> 4A2BEF80E0F0453CB2500790 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */; };
<mask> 38BE891D962D4F349AF2917E /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */; };
</s> fix: bare example linear gradient </s> remove 4A2BEF80E0F0453CB2500790 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */; };
38BE891D962D4F349AF2917E /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */; };
4664335C02E54CEEA39B7112 /* Merriweather-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */; };
</s> add </s> remove EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
</s> add EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; };
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
|
CC958B3576C25F72C64CD117 /* libPods-RNBareExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 11C0BDDBE1B1045431ABC4E5 /* libPods-RNBareExample.a */; };
DE9675BE0B1F7B1E29B249D0 /* libPods-RNBareExample-RNBareExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */; };
|
<mask> 8EC97A0012A44B37A239430B /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */; };
<mask> A407EFB79BE54725A37F6732 /* Roboto-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */; };
<mask> F8E98893793F4862BBC06E24 /* Roboto-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */; };
<mask> /* End PBXBuildFile section */
<mask>
<mask> /* Begin PBXContainerItemProxy section */
<mask> 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
<mask> isa = PBXContainerItemProxy;
</s> fix: bare example linear gradient </s> remove 4A2BEF80E0F0453CB2500790 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */; };
38BE891D962D4F349AF2917E /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */; };
4664335C02E54CEEA39B7112 /* Merriweather-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */; };
</s> add </s> remove CC958B3576C25F72C64CD117 /* libPods-RNBareExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 11C0BDDBE1B1045431ABC4E5 /* libPods-RNBareExample.a */; };
DE9675BE0B1F7B1E29B249D0 /* libPods-RNBareExample-RNBareExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */; };
</s> add </s> remove 42CCD72C7CF4497793037815 /* Resources */ = {
isa = "PBXGroup";
children = (
EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */,
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */,
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */,
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */,
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */,
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */,
);
name = Resources;
sourceTree = "<group>";
path = "";
};
</s> add </s> remove EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
</s> add EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; };
|
[
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
<mask> DE9675BE0B1F7B1E29B249D0 /* libPods-RNBareExample-RNBareExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */; };
<mask> 8EC97A0012A44B37A239430B /* Roboto-Bold.ttf in Resources */ = {isa = PBXBuildFile; fileRef = EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */; };
<mask> A407EFB79BE54725A37F6732 /* Roboto-Italic.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */; };
<mask> F8E98893793F4862BBC06E24 /* Roboto-Light.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */; };
<mask> 4A2BEF80E0F0453CB2500790 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */; };
<mask> 38BE891D962D4F349AF2917E /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */; };
<mask> 4664335C02E54CEEA39B7112 /* Merriweather-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */; };
<mask> /* End PBXBuildFile section */
<mask>
<mask> /* Begin PBXContainerItemProxy section */
<mask> 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = {
<mask> isa = PBXContainerItemProxy;
</s> fix: bare example linear gradient </s> remove CC958B3576C25F72C64CD117 /* libPods-RNBareExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 11C0BDDBE1B1045431ABC4E5 /* libPods-RNBareExample.a */; };
DE9675BE0B1F7B1E29B249D0 /* libPods-RNBareExample-RNBareExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */; };
</s> add </s> remove 42CCD72C7CF4497793037815 /* Resources */ = {
isa = "PBXGroup";
children = (
EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */,
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */,
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */,
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */,
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */,
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */,
);
name = Resources;
sourceTree = "<group>";
path = "";
};
</s> add </s> remove EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
</s> add EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; };
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
|
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; };
|
<mask> 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = RNBareExample/AppDelegate.m; sourceTree = "<group>"; };
<mask> 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNBareExample/Images.xcassets; sourceTree = "<group>"; };
<mask> 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNBareExample/Info.plist; sourceTree = "<group>"; };
<mask> 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = RNBareExample/main.m; sourceTree = "<group>"; };
<mask> 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNBareExample-RNBareExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
<mask> 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; };
<mask> 48A3F3B34B71A627C36D23AE /* Pods-RNBareExample-RNBareExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample-RNBareExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-RNBareExample-RNBareExampleTests/Pods-RNBareExample-RNBareExampleTests.debug.xcconfig"; sourceTree = "<group>"; };
<mask> 6C3E26B903A9FBC8FEAD0366 /* Pods-RNBareExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample.release.xcconfig"; path = "Target Support Files/Pods-RNBareExample/Pods-RNBareExample.release.xcconfig"; sourceTree = "<group>"; };
<mask> 7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; };
</s> fix: bare example linear gradient </s> remove EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
</s> add EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; }; </s> remove CC958B3576C25F72C64CD117 /* libPods-RNBareExample.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 11C0BDDBE1B1045431ABC4E5 /* libPods-RNBareExample.a */; };
DE9675BE0B1F7B1E29B249D0 /* libPods-RNBareExample-RNBareExampleTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */; };
</s> add
|
[
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; };
|
<mask> 3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; };
<mask> 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; };
<mask> 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNBareExample-RNBareExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
<mask> 48A3F3B34B71A627C36D23AE /* Pods-RNBareExample-RNBareExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample-RNBareExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-RNBareExample-RNBareExampleTests/Pods-RNBareExample-RNBareExampleTests.debug.xcconfig"; sourceTree = "<group>"; };
<mask> 6C3E26B903A9FBC8FEAD0366 /* Pods-RNBareExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample.release.xcconfig"; path = "Target Support Files/Pods-RNBareExample/Pods-RNBareExample.release.xcconfig"; sourceTree = "<group>"; };
<mask> 7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; };
<mask> 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNBareExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
</s> fix: bare example linear gradient </s> remove EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
</s> add EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; };
|
[
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; };
|
<mask> 41168D7081D471981F679225 /* libPods-RNBareExample-RNBareExampleTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-RNBareExample-RNBareExampleTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
<mask> 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; };
<mask> 48A3F3B34B71A627C36D23AE /* Pods-RNBareExample-RNBareExampleTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample-RNBareExampleTests.debug.xcconfig"; path = "Target Support Files/Pods-RNBareExample-RNBareExampleTests/Pods-RNBareExample-RNBareExampleTests.debug.xcconfig"; sourceTree = "<group>"; };
<mask> 6C3E26B903A9FBC8FEAD0366 /* Pods-RNBareExample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample.release.xcconfig"; path = "Target Support Files/Pods-RNBareExample/Pods-RNBareExample.release.xcconfig"; sourceTree = "<group>"; };
<mask> 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNBareExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
<mask> BE9748D91138D25975CC7644 /* Pods-RNBareExample-RNBareExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample-RNBareExampleTests.release.xcconfig"; path = "Target Support Files/Pods-RNBareExample-RNBareExampleTests/Pods-RNBareExample-RNBareExampleTests.release.xcconfig"; sourceTree = "<group>"; };
<mask> D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; };
<mask> DC9506A1E7FC0D9474DB233B /* Pods-RNBareExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample.debug.xcconfig"; path = "Target Support Files/Pods-RNBareExample/Pods-RNBareExample.debug.xcconfig"; sourceTree = "<group>"; };
<mask> ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
</s> fix: bare example linear gradient </s> remove EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
</s> add EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; };
|
[
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; };
|
<mask> 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNBareExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
<mask> BE9748D91138D25975CC7644 /* Pods-RNBareExample-RNBareExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample-RNBareExampleTests.release.xcconfig"; path = "Target Support Files/Pods-RNBareExample-RNBareExampleTests/Pods-RNBareExample-RNBareExampleTests.release.xcconfig"; sourceTree = "<group>"; };
<mask> DC9506A1E7FC0D9474DB233B /* Pods-RNBareExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample.debug.xcconfig"; path = "Target Support Files/Pods-RNBareExample/Pods-RNBareExample.debug.xcconfig"; sourceTree = "<group>"; };
<mask> ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
<mask> EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; };
<mask> /* End PBXFileReference section */
</s> fix: bare example linear gradient </s> remove EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
</s> add EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; }; </s> remove 42CCD72C7CF4497793037815 /* Resources */ = {
isa = "PBXGroup";
children = (
EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */,
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */,
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */,
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */,
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */,
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */,
);
name = Resources;
sourceTree = "<group>";
path = "";
};
</s> add
|
[
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; };
|
<mask> 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = RNBareExample/LaunchScreen.storyboard; sourceTree = "<group>"; };
<mask> BE9748D91138D25975CC7644 /* Pods-RNBareExample-RNBareExampleTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample-RNBareExampleTests.release.xcconfig"; path = "Target Support Files/Pods-RNBareExample-RNBareExampleTests/Pods-RNBareExample-RNBareExampleTests.release.xcconfig"; sourceTree = "<group>"; };
<mask> DC9506A1E7FC0D9474DB233B /* Pods-RNBareExample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RNBareExample.debug.xcconfig"; path = "Target Support Files/Pods-RNBareExample/Pods-RNBareExample.debug.xcconfig"; sourceTree = "<group>"; };
<mask> ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
<mask> EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
<mask> 3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
<mask> 7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
<mask> 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
<mask> D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
<mask> 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
<mask> /* End PBXFileReference section */
<mask>
<mask> /* Begin PBXFrameworksBuildPhase section */
<mask> 00E356EB1AD99517003FC87E /* Frameworks */ = {
<mask> isa = PBXFrameworksBuildPhase;
</s> fix: bare example linear gradient </s> remove 42CCD72C7CF4497793037815 /* Resources */ = {
isa = "PBXGroup";
children = (
EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */,
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */,
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */,
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */,
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */,
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */,
);
name = Resources;
sourceTree = "<group>";
path = "";
};
</s> add
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
42CCD72C7CF4497793037815 /* Resources */ = {
isa = PBXGroup;
children = (
EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */,
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */,
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */,
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */,
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */,
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */,
);
name = Resources;
path = "";
sourceTree = "<group>";
};
|
<mask> sourceTree = "<group>";
<mask> };
<mask> 832341AE1AAA6A7D00B99B32 /* Libraries */ = {
<mask> isa = PBXGroup;
<mask> children = (
<mask> );
<mask> name = Libraries;
<mask> sourceTree = "<group>";
</s> fix: bare example linear gradient </s> remove 42CCD72C7CF4497793037815 /* Resources */ = {
isa = "PBXGroup";
children = (
EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */,
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */,
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */,
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */,
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */,
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */,
);
name = Resources;
sourceTree = "<group>";
path = "";
};
</s> add </s> remove EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
</s> add EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; };
|
[
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
<mask> );
<mask> name = Products;
<mask> sourceTree = "<group>";
<mask> };
<mask> 42CCD72C7CF4497793037815 /* Resources */ = {
<mask> isa = "PBXGroup";
<mask> children = (
<mask> EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */,
<mask> 3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */,
<mask> 7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */,
<mask> 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */,
<mask> D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */,
<mask> 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */,
<mask> );
<mask> name = Resources;
<mask> sourceTree = "<group>";
<mask> path = "";
<mask> };
<mask> /* End PBXGroup section */
<mask>
<mask> /* Begin PBXNativeTarget section */
<mask> 00E356ED1AD99517003FC87E /* RNBareExampleTests */ = {
<mask> isa = PBXNativeTarget;
</s> fix: bare example linear gradient </s> remove 4A2BEF80E0F0453CB2500790 /* Roboto-Medium.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */; };
38BE891D962D4F349AF2917E /* Roboto-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */; };
4664335C02E54CEEA39B7112 /* Merriweather-Regular.ttf in Resources */ = {isa = PBXBuildFile; fileRef = 4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */; };
</s> add </s> remove EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3DF03166C76248F88B6F59F2 /* Roboto-Italic.ttf */ = {isa = PBXFileReference; name = "Roboto-Italic.ttf"; path = "../assets/fonts/Roboto-Italic.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
7BA646F9875F4FCEBAB2D80B /* Roboto-Light.ttf */ = {isa = PBXFileReference; name = "Roboto-Light.ttf"; path = "../assets/fonts/Roboto-Light.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
3E1CF7D40B1D414988D3CC15 /* Roboto-Medium.ttf */ = {isa = PBXFileReference; name = "Roboto-Medium.ttf"; path = "../assets/fonts/Roboto-Medium.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
D54F1726BC514FD686C64532 /* Roboto-Regular.ttf */ = {isa = PBXFileReference; name = "Roboto-Regular.ttf"; path = "../assets/fonts/Roboto-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
4509DF3E719D42139C6957FB /* Merriweather-Regular.ttf */ = {isa = PBXFileReference; name = "Merriweather-Regular.ttf"; path = "../assets/fonts/Merriweather-Regular.ttf"; sourceTree = "<group>"; fileEncoding = undefined; lastKnownFileType = unknown; explicitFileType = undefined; includeInIndex = 0; };
</s> add EE3CE23D43B345559A3E9B05 /* Roboto-Bold.ttf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "Roboto-Bold.ttf"; path = "../assets/fonts/Roboto-Bold.ttf"; sourceTree = "<group>"; };
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bad680d00cf17dafb5d7835f6de06567ec84976
|
RNBareExample/ios/RNBareExample.xcodeproj/project.pbxproj
|
|
import { useColorScheme } from 'react-native';
|
<mask> import { HybridContext } from './../hybrid-overlay/Context';
<mask> import type { IHybridContextProps } from './../hybrid-overlay/types';
<mask>
<mask> export const useColorMode = (): IColorModeContextProps => {
<mask> const {
<mask> colorMode: colorModeContext,
<mask> }: {
</s> fix: use system color mode </s> remove export type ColorMode = 'light' | 'dark';
</s> add export type ColorMode = 'light' | 'dark' | null | undefined;
|
[
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bb7cdcec4054cd85f01cef4be8b817e3b1d239b
|
src/core/color-mode/hooks.tsx
|
useSystemColorMode: boolean | undefined,
|
<mask>
<mask> export function useModeManager(
<mask> initialColorMode: ColorMode,
<mask> colorModeManager?: StorageManager
<mask> ) {
<mask> const systemColorMode = useColorScheme();
<mask>
<mask> if (useSystemColorMode) {
</s> fix: use system color mode </s> remove export type ColorMode = 'light' | 'dark';
</s> add export type ColorMode = 'light' | 'dark' | null | undefined;
|
[
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bb7cdcec4054cd85f01cef4be8b817e3b1d239b
|
src/core/color-mode/hooks.tsx
|
const systemColorMode = useColorScheme();
if (useSystemColorMode) {
initialColorMode = systemColorMode;
}
|
<mask> initialColorMode: ColorMode,
<mask> useSystemColorMode: boolean | undefined,
<mask> colorModeManager?: StorageManager
<mask> ) {
<mask> const [colorMode, setRawMode] = useState<ColorMode>(initialColorMode);
<mask> async function setColorMode(val: ColorMode) {
<mask> if (colorModeManager) {
<mask> await colorModeManager.set(val);
<mask> }
</s> fix: use system color mode </s> remove export type ColorMode = 'light' | 'dark';
</s> add export type ColorMode = 'light' | 'dark' | null | undefined;
|
[
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bb7cdcec4054cd85f01cef4be8b817e3b1d239b
|
src/core/color-mode/hooks.tsx
|
// Set system color mode only when user has not passed a colorModeManager
useEffect(() => {
if (!colorModeManager && useSystemColorMode) {
setRawMode(systemColorMode);
}
}, [systemColorMode, colorModeManager, useSystemColorMode, setRawMode]);
|
<mask> })();
<mask> }
<mask> }, [colorMode, initialColorMode, colorModeManager]);
<mask>
<mask> return { colorMode, setColorMode };
<mask> }
<mask>
<mask> export function useAccessibleColors(): [
<mask> boolean,
<mask> (val: boolean) => void,
</s> fix: use system color mode </s> remove export type ColorMode = 'light' | 'dark';
</s> add export type ColorMode = 'light' | 'dark' | null | undefined;
|
[
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bb7cdcec4054cd85f01cef4be8b817e3b1d239b
|
src/core/color-mode/hooks.tsx
|
export type ColorMode = 'light' | 'dark' | null | undefined;
|
<mask> export type ColorMode = 'light' | 'dark';
<mask> export interface StorageManager {
<mask> get(init?: ColorMode): Promise<ColorMode | undefined>;
<mask> set(value: ColorMode): void;
<mask> }
<mask>
</s> fix: use system color mode
|
[
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bb7cdcec4054cd85f01cef4be8b817e3b1d239b
|
src/core/color-mode/types.ts
|
useSystemColorMode,
|
<mask> initialColorMode = 'light',
<mask> accessibleColors: isTextColorAccessible = false,
<mask> },
<mask> colorModeManager,
<mask> }: IColorModeProviderProps) => {
<mask> // Color-mode content
</s> fix: use system color mode
|
[
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bb7cdcec4054cd85f01cef4be8b817e3b1d239b
|
src/core/hybrid-overlay/HybridProvider.tsx
|
useSystemColorMode,
|
<mask> const { colorMode, setColorMode } = useModeManager(
<mask> initialColorMode,
<mask> colorModeManager
<mask> );
<mask>
<mask> const toggleColorMode = React.useCallback(() => {
</s> fix: use system color mode
|
[
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5bb7cdcec4054cd85f01cef4be8b817e3b1d239b
|
src/core/hybrid-overlay/HybridProvider.tsx
|
<mask> onClose?: () => void;
<mask> offsetSpace?: number;
<mask> closeOnSelect?: boolean;
<mask> style?: ViewStyle;
<mask> ref?: any;
<mask> };
<mask>
<mask> export type IMenuItemProps = IBoxProps &
<mask> BorderProps &
<mask> customBorderProps &
</s> fix: removed manual ref type from components </s> remove ref: any;
</s> add ref?: React.Ref<any>; </s> remove ref?: any;
</s> add </s> remove ref: any
</s> add ref?: any </s> remove const Progress = ({ value, isIndeterminate, ...props }: IProgressProps) => {
</s> add const Progress = (
{ value, isIndeterminate, ...props }: IProgressProps,
ref?: any
) => { </s> remove export default React.memo(Progress);
</s> add export default React.memo(React.forwardRef(Progress));
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c2e70b1cb5a54849d98d1237c2f320638a61c0f
|
src/components/composites/Menu/types.ts
|
|
ref?: any
|
<mask> overlayColor,
<mask> overlayVisible,
<mask> ...props
<mask> }: IModalProps,
<mask> ref: any
<mask> ) => {
<mask> const { closeOverlay, setOverlay } = useOverlay();
<mask> const [isVisible, setIsVisible] = React.useState(true);
<mask> const closeOverlayInMobile = () => {
<mask> setIsVisible(false);
</s> fix: removed manual ref type from components </s> remove const Progress = ({ value, isIndeterminate, ...props }: IProgressProps) => {
</s> add const Progress = (
{ value, isIndeterminate, ...props }: IProgressProps,
ref?: any
) => { </s> remove ref: any;
</s> add ref?: React.Ref<any>; </s> remove ref?: any;
</s> add </s> remove <Box {...newProps} style={props.style}>
</s> add <Box {...newProps} style={props.style} ref={ref}> </s> remove ref?: any;
</s> add
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c2e70b1cb5a54849d98d1237c2f320638a61c0f
|
src/components/composites/Modal/Modal.tsx
|
ref?: React.Ref<any>;
|
<mask> motionPreset?: 'slide' | 'fade' | 'none';
<mask> closeOnOverlayClick?: boolean;
<mask> overlayVisible?: boolean;
<mask> overlayColor?: string;
<mask> ref: any;
<mask> };
<mask> export type IModalComponentType = ((props: IModalProps) => JSX.Element) & {
<mask> Body: React.MemoExoticComponent<(props: IBoxProps) => JSX.Element>;
<mask> CloseButton: React.MemoExoticComponent<
<mask> (props: ICloseButtonProps) => JSX.Element
</s> fix: removed manual ref type from components </s> remove ref?: any;
</s> add </s> remove ref?: any;
</s> add </s> remove const Progress = ({ value, isIndeterminate, ...props }: IProgressProps) => {
</s> add const Progress = (
{ value, isIndeterminate, ...props }: IProgressProps,
ref?: any
) => { </s> remove ref: any
</s> add ref?: any </s> remove export default React.memo(Progress);
</s> add export default React.memo(React.forwardRef(Progress));
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c2e70b1cb5a54849d98d1237c2f320638a61c0f
|
src/components/composites/Modal/types.ts
|
const Progress = (
{ value, isIndeterminate, ...props }: IProgressProps,
ref?: any
) => {
|
<mask> colorScheme?: string;
<mask> isIndeterminate?: any;
<mask> };
<mask>
<mask> const Progress = ({ value, isIndeterminate, ...props }: IProgressProps) => {
<mask> // const width = new Animated.Value(0);
<mask> // useEffect(() => {
<mask> // Animated.loop(
<mask> // Animated.timing(width, {
<mask> // toValue: 270,
</s> fix: removed manual ref type from components </s> remove <Box {...newProps} style={props.style}>
</s> add <Box {...newProps} style={props.style} ref={ref}> </s> remove ref: any
</s> add ref?: any </s> remove ref: any;
</s> add ref?: React.Ref<any>; </s> remove ref?: any;
</s> add </s> remove ref?: any;
</s> add
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c2e70b1cb5a54849d98d1237c2f320638a61c0f
|
src/components/composites/Progress/index.tsx
|
<Box {...newProps} style={props.style} ref={ref}>
|
<mask> justifyContent: 'center',
<mask> color: 'white',
<mask> };
<mask> return (
<mask> <Box {...newProps} style={props.style}>
<mask> {isIndeterminate ? (
<mask> // <Animated.View
<mask> // style={[
<mask> // {
<mask> // transform: [
</s> fix: removed manual ref type from components </s> remove const Progress = ({ value, isIndeterminate, ...props }: IProgressProps) => {
</s> add const Progress = (
{ value, isIndeterminate, ...props }: IProgressProps,
ref?: any
) => { </s> remove ref: any;
</s> add ref?: React.Ref<any>; </s> remove ref: any
</s> add ref?: any </s> remove export default React.memo(Progress);
</s> add export default React.memo(React.forwardRef(Progress)); </s> remove ref?: any;
</s> add
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c2e70b1cb5a54849d98d1237c2f320638a61c0f
|
src/components/composites/Progress/index.tsx
|
export default React.memo(React.forwardRef(Progress));
|
<mask> </Box>
<mask> );
<mask> };
<mask>
<mask> export default React.memo(Progress);
</s> fix: removed manual ref type from components </s> remove ref?: any;
</s> add </s> remove ref: any;
</s> add ref?: React.Ref<any>; </s> remove ref?: any;
</s> add </s> remove <Box {...newProps} style={props.style}>
</s> add <Box {...newProps} style={props.style} ref={ref}> </s> remove const Progress = ({ value, isIndeterminate, ...props }: IProgressProps) => {
</s> add const Progress = (
{ value, isIndeterminate, ...props }: IProgressProps,
ref?: any
) => {
|
[
"keep",
"keep",
"keep",
"keep",
"replace"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c2e70b1cb5a54849d98d1237c2f320638a61c0f
|
src/components/composites/Progress/index.tsx
|
<mask> style?: ViewStyle;
<mask> children?: JSX.Element | JSX.Element[] | string | any;
<mask> shadow?: number;
<mask> _text?: ITextProps;
<mask> ref?: any;
<mask> };
</s> fix: removed manual ref type from components </s> remove ref: any;
</s> add ref?: React.Ref<any>; </s> remove ref?: any;
</s> add </s> remove const Progress = ({ value, isIndeterminate, ...props }: IProgressProps) => {
</s> add const Progress = (
{ value, isIndeterminate, ...props }: IProgressProps,
ref?: any
) => { </s> remove export default React.memo(Progress);
</s> add export default React.memo(React.forwardRef(Progress)); </s> remove <Box {...newProps} style={props.style}>
</s> add <Box {...newProps} style={props.style} ref={ref}>
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c2e70b1cb5a54849d98d1237c2f320638a61c0f
|
src/components/primitives/Box/types.ts
|
|
Object.defineProperty(exports,"__esModule",{value:true});exports.DatePicker=undefined;var _jsxFileName="src/basic/DatePicker.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> Object.defineProperty(exports,"__esModule",{value:true});var _jsxFileName="src/basic/DatePicker.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 _reactNative=require("react-native");
<mask>
<mask>
<mask>
<mask>
</s> export statement fix for Date Picker </s> remove export default class DatePicker extends React.Component {
</s> add export class DatePicker extends React.Component { </s> remove }}]);return DatePicker;}(_react2.default.Component);exports.default=DatePicker;
</s> add }}]);return DatePicker;}(_react2.default.Component); </s> remove DatePicker=function(_React$Component){_inherits(DatePicker,_React$Component);
</s> add DatePicker=exports.DatePicker=function(_React$Component){_inherits(DatePicker,_React$Component);
|
[
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c39c9f79e957ef2f9feaac65239d67049b775c2
|
dist/src/basic/DatePicker.js
|
DatePicker=exports.DatePicker=function(_React$Component){_inherits(DatePicker,_React$Component);
|
<mask>
<mask> var _nativeBase=require("native-base");
<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> DatePicker=function(_React$Component){_inherits(DatePicker,_React$Component);
<mask> function DatePicker(props){_classCallCheck(this,DatePicker);var _this=_possibleConstructorReturn(this,(DatePicker.__proto__||Object.getPrototypeOf(DatePicker)).call(this,
<mask> props));_this.
<mask>
<mask>
<mask>
</s> export statement fix for Date Picker </s> remove export default class DatePicker extends React.Component {
</s> add export class DatePicker extends React.Component { </s> remove }}]);return DatePicker;}(_react2.default.Component);exports.default=DatePicker;
</s> add }}]);return DatePicker;}(_react2.default.Component); </s> remove Object.defineProperty(exports,"__esModule",{value:true});var _jsxFileName="src/basic/DatePicker.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);
</s> add Object.defineProperty(exports,"__esModule",{value:true});exports.DatePicker=undefined;var _jsxFileName="src/basic/DatePicker.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);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c39c9f79e957ef2f9feaac65239d67049b775c2
|
dist/src/basic/DatePicker.js
|
}}]);return DatePicker;}(_react2.default.Component);
|
<mask>
<mask>
<mask>
<mask>
<mask> }}]);return DatePicker;}(_react2.default.Component);exports.default=DatePicker;
<mask> //# sourceMappingURL=DatePicker.js.map </s> export statement fix for Date Picker </s> remove export default class DatePicker extends React.Component {
</s> add export class DatePicker extends React.Component { </s> remove DatePicker=function(_React$Component){_inherits(DatePicker,_React$Component);
</s> add DatePicker=exports.DatePicker=function(_React$Component){_inherits(DatePicker,_React$Component); </s> remove Object.defineProperty(exports,"__esModule",{value:true});var _jsxFileName="src/basic/DatePicker.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);
</s> add Object.defineProperty(exports,"__esModule",{value:true});exports.DatePicker=undefined;var _jsxFileName="src/basic/DatePicker.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);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c39c9f79e957ef2f9feaac65239d67049b775c2
|
dist/src/basic/DatePicker.js
|
export class DatePicker extends React.Component {
|
<mask> } from "react-native";
<mask> import { Text } from "native-base";
<mask> import variable from "../theme/variables/platform";
<mask>
<mask> export default class DatePicker extends React.Component {
<mask> constructor(props) {
<mask> super(props);
<mask> this.state = {
<mask> modalVisible: false,
<mask> defaultDate: new Date(),
</s> export statement fix for Date Picker </s> remove }}]);return DatePicker;}(_react2.default.Component);exports.default=DatePicker;
</s> add }}]);return DatePicker;}(_react2.default.Component); </s> remove DatePicker=function(_React$Component){_inherits(DatePicker,_React$Component);
</s> add DatePicker=exports.DatePicker=function(_React$Component){_inherits(DatePicker,_React$Component); </s> remove Object.defineProperty(exports,"__esModule",{value:true});var _jsxFileName="src/basic/DatePicker.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);
</s> add Object.defineProperty(exports,"__esModule",{value:true});exports.DatePicker=undefined;var _jsxFileName="src/basic/DatePicker.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);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5c39c9f79e957ef2f9feaac65239d67049b775c2
|
src/basic/DatePicker.js
|
function baseStyle({ isVertical }: Record<string, any>) {
|
<mask> import { mode } from '../tools';
<mask>
<mask> function baseStyle({ isVertical, ...props }: Record<string, any>) {
<mask> return {
<mask> flexDirection: isVertical ? 'column-reverse' : 'row-reverse',
<mask> space: -4,
<mask> _avatar: {
<mask> borderColor: mode('gray.50', 'gray.800')(props),
</s> fix: avatar group design changes </s> remove bg: mode('gray.600', 'gray.100')(props),
</s> add _text: {
color: 'text.50',
},
},
_light: {
_avatar: {
borderColor: 'muted.50',
},
_hiddenAvatarPlaceholder: {
bg: 'gray.600',
},
},
_dark: {
_avatar: {
borderColor: 'muted.900',
},
_hiddenAvatarPlaceholder: {
bg: 'gray.600',
}, </s> remove borderColor: mode('gray.50', 'gray.800')(props),
</s> add
|
[
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5d8b4e5f5819f56842e67dad053ad7ba8d5b90e0
|
src/theme/components/avatar-group.ts
|
<mask> return {
<mask> flexDirection: isVertical ? 'column-reverse' : 'row-reverse',
<mask> space: -4,
<mask> _avatar: {
<mask> borderColor: mode('gray.50', 'gray.800')(props),
<mask> borderWidth: 2,
<mask> },
<mask> _hiddenAvatarPlaceholder: {
<mask> bg: mode('gray.600', 'gray.100')(props),
<mask> },
</s> fix: avatar group design changes </s> remove import { mode } from '../tools';
function baseStyle({ isVertical, ...props }: Record<string, any>) {
</s> add function baseStyle({ isVertical }: Record<string, any>) { </s> remove bg: mode('gray.600', 'gray.100')(props),
</s> add _text: {
color: 'text.50',
},
},
_light: {
_avatar: {
borderColor: 'muted.50',
},
_hiddenAvatarPlaceholder: {
bg: 'gray.600',
},
},
_dark: {
_avatar: {
borderColor: 'muted.900',
},
_hiddenAvatarPlaceholder: {
bg: 'gray.600',
},
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5d8b4e5f5819f56842e67dad053ad7ba8d5b90e0
|
src/theme/components/avatar-group.ts
|
|
_text: {
color: 'text.50',
},
},
_light: {
_avatar: {
borderColor: 'muted.50',
},
_hiddenAvatarPlaceholder: {
bg: 'gray.600',
},
},
_dark: {
_avatar: {
borderColor: 'muted.900',
},
_hiddenAvatarPlaceholder: {
bg: 'gray.600',
},
|
<mask> borderColor: mode('gray.50', 'gray.800')(props),
<mask> borderWidth: 2,
<mask> },
<mask> _hiddenAvatarPlaceholder: {
<mask> bg: mode('gray.600', 'gray.100')(props),
<mask> },
<mask> };
<mask> }
<mask>
<mask> export default {
</s> fix: avatar group design changes </s> remove import { mode } from '../tools';
function baseStyle({ isVertical, ...props }: Record<string, any>) {
</s> add function baseStyle({ isVertical }: Record<string, any>) { </s> remove borderColor: mode('gray.50', 'gray.800')(props),
</s> add
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5d8b4e5f5819f56842e67dad053ad7ba8d5b90e0
|
src/theme/components/avatar-group.ts
|
rounded="25"
|
<mask> </RNSVGSvgView>
<mask> </View>
<mask> <View
<mask> mx="auto"
<mask> rounded="pill"
<mask> style={
<mask> Array [
<mask> Object {
<mask> "borderRadius": 25,
<mask> "marginLeft": "auto",
</s> fix: border radius pill changed to 25 </s> remove rounded="pill"
</s> add rounded="25" </s> remove rounded="pill"
</s> add rounded="25" </s> remove rounded="pill"
</s> add rounded="25" </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove roundedTop="pill"
</s> add roundedTop="25"
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/__snapshots__/storybook.test.js.snap
|
roundedTop="25"
|
<mask> alt="NativeBase Card"
<mask> h={56}
<mask> maxWidth="100%"
<mask> onError={[Function]}
<mask> roundedTop="pill"
<mask> source={
<mask> Object {
<mask> "uri": "https://image.freepik.com/free-photo/clown-anemonefish-amphiprion-swimming-among-tentacles-its-anemone-home_211453-2.jpg",
<mask> }
<mask> }
</s> fix: border radius pill changed to 25 </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove rounded="pill"
</s> add rounded="25" </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove roundedTop="pill"
</s> add roundedTop="25"
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/__snapshots__/storybook.test.js.snap
|
rounded="25"
|
<mask> </RNSVGSvgView>
<mask> </View>
<mask> <View
<mask> mx="auto"
<mask> rounded="pill"
<mask> style={
<mask> Array [
<mask> Object {
<mask> "borderRadius": 25,
<mask> "marginLeft": "auto",
</s> fix: border radius pill changed to 25
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/__snapshots__/storybook.test.js.snap
|
roundedTop="25"
|
<mask> alt="NativeBase Card"
<mask> h={64}
<mask> maxWidth="100%"
<mask> onError={[Function]}
<mask> roundedTop="pill"
<mask> source={
<mask> Object {
<mask> "uri": "https://image.freepik.com/free-photo/silhouette-person-standing-top-hill-beautiful-colorful-sky-morning_181624-24501.jpg",
<mask> }
<mask> }
</s> fix: border radius pill changed to 25 </s> remove rounded="pill"
</s> add rounded="25" </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove rounded="pill"
</s> add rounded="25" </s> remove borderRadius: 'pill',
</s> add borderRadius: '25',
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/__snapshots__/storybook.test.js.snap
|
rounded="25"
|
<mask> </RNSVGSvgView>
<mask> </View>
<mask> <View
<mask> mx="auto"
<mask> rounded="pill"
<mask> style={
<mask> Array [
<mask> Object {
<mask> "borderRadius": 25,
<mask> "marginLeft": "auto",
</s> fix: border radius pill changed to 25
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/__snapshots__/storybook.test.js.snap
|
rounded="25"
|
<mask> alt="NativeBase Card"
<mask> h={64}
<mask> maxWidth="100%"
<mask> onError={[Function]}
<mask> rounded="pill"
<mask> source={
<mask> Object {
<mask> "uri": "https://image.freepik.com/free-photo/pathway-middle-green-leafed-trees-with-sun-shining-through-branches_181624-4539.jpg",
<mask> }
<mask> }
</s> fix: border radius pill changed to 25 </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove rounded="pill"
</s> add rounded="25" </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove borderRadius: 'pill',
</s> add borderRadius: '25',
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/__snapshots__/storybook.test.js.snap
|
borderRadius="25"
|
<mask> accessible={true}
<mask> allowFontScaling={true}
<mask> background="transparent"
<mask> borderColor="muted.200"
<mask> borderRadius="pill"
<mask> borderWidth={1}
<mask> color="black"
<mask> editable={true}
<mask> fontSize="md"
<mask> fontStyle="normal"
</s> fix: border radius pill changed to 25 </s> remove borderRadius: 'pill',
</s> add borderRadius: '25', </s> remove <Button.Group space={1} alignItems={{ base: 'center', md: 'flex-start' }}>
</s> add <Button.Group
space={1}
alignItems={{ base: 'center', md: 'flex-start' }}
direction="column"
> </s> remove rounded="pill"
</s> add rounded="25" </s> remove // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add // <Box rounded="25" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove roundedTop="pill"
</s> add roundedTop="25"
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/__snapshots__/storybook.test.js.snap
|
<Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
|
<mask> import React from 'react';
<mask> import { Box, Heading, Image, Text, HStack, Stack, Button } from 'native-base';
<mask> export const Example = () => {
<mask> return (
<mask> <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
<mask> <Image
<mask> roundedTop="pill"
<mask> h={56}
<mask> source={{
<mask> uri:
</s> fix: border radius pill changed to 25 </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add // <Box rounded="25" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Button.Group space={1} alignItems={{ base: 'center', md: 'flex-start' }}>
</s> add <Button.Group
space={1}
alignItems={{ base: 'center', md: 'flex-start' }}
direction="column"
> </s> remove roundedTop="pill"
</s> add roundedTop="25"
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/storybook/stories/components/primitives/Box/composition-card1.tsx
|
roundedTop="25"
|
<mask> export const Example = () => {
<mask> return (
<mask> <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
<mask> <Image
<mask> roundedTop="pill"
<mask> h={56}
<mask> source={{
<mask> uri:
<mask> 'https://image.freepik.com/free-photo/clown-anemonefish-amphiprion-swimming-among-tentacles-its-anemone-home_211453-2.jpg',
<mask> }}
</s> fix: border radius pill changed to 25 </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add // <Box rounded="25" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove <Button.Group space={1} alignItems={{ base: 'center', md: 'flex-start' }}>
</s> add <Button.Group
space={1}
alignItems={{ base: 'center', md: 'flex-start' }}
direction="column"
>
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/storybook/stories/components/primitives/Box/composition-card1.tsx
|
<Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
|
<mask> import React from 'react';
<mask> import { Box, Heading, Image, Text, Stack } from 'native-base';
<mask> export const Example = () => {
<mask> return (
<mask> <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
<mask> <Image
<mask> h={64}
<mask> roundedTop="pill"
<mask> source={{
<mask> uri:
</s> fix: border radius pill changed to 25 </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add // <Box rounded="25" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove <Button.Group space={1} alignItems={{ base: 'center', md: 'flex-start' }}>
</s> add <Button.Group
space={1}
alignItems={{ base: 'center', md: 'flex-start' }}
direction="column"
> </s> remove roundedTop="pill"
</s> add roundedTop="25"
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/storybook/stories/components/primitives/Box/composition-card2.tsx
|
roundedTop="25"
|
<mask> return (
<mask> <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
<mask> <Image
<mask> h={64}
<mask> roundedTop="pill"
<mask> source={{
<mask> uri:
<mask> 'https://image.freepik.com/free-photo/silhouette-person-standing-top-hill-beautiful-colorful-sky-morning_181624-24501.jpg',
<mask> }}
<mask> alt="NativeBase Card"
</s> fix: border radius pill changed to 25 </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add // <Box rounded="25" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove rounded="pill"
</s> add rounded="25"
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/storybook/stories/components/primitives/Box/composition-card2.tsx
|
// <Box rounded="25" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
|
<mask> import { Feather, AntDesign } from '@expo/vector-icons';
<mask>
<mask> export const Example = () => {
<mask> return (
<mask> // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<mask> <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
<mask> <Image
<mask> h={64}
<mask> // w={200}
<mask> w="100%"
<mask> rounded="pill"
</s> fix: border radius pill changed to 25 </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove rounded="pill"
</s> add rounded="25"
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/storybook/stories/components/primitives/Box/composition-card3.tsx
|
rounded="25"
|
<mask> <Image
<mask> h={64}
<mask> // w={200}
<mask> w="100%"
<mask> rounded="pill"
<mask> source={{
<mask> uri:
<mask> 'https://image.freepik.com/free-photo/pathway-middle-green-leafed-trees-with-sun-shining-through-branches_181624-4539.jpg',
<mask> }}
<mask> alt="NativeBase Card"
</s> fix: border radius pill changed to 25 </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add // <Box rounded="25" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove rounded="pill"
</s> add rounded="25" </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/storybook/stories/components/primitives/Box/composition-card3.tsx
|
<Button.Group
space={1}
alignItems={{ base: 'center', md: 'flex-start' }}
direction="column"
>
|
<mask> import { Button, Box } from 'native-base';
<mask>
<mask> export const Example = () => {
<mask> return (
<mask> <Button.Group space={1} alignItems={{ base: 'center', md: 'flex-start' }}>
<mask> {['xs', 'sm', 'md', 'lg'].map((size) => (
<mask> <Box>
<mask> {/* @ts-ignore */}
<mask> <Button key={size} size={size}>
<mask> BUTTON
</s> fix: border radius pill changed to 25 </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove // <Box rounded="pill" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add // <Box rounded="25" shadow={4} mx={{ base: 'auto', md: 0 }}>
<Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}> </s> remove roundedTop="pill"
</s> add roundedTop="25"
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
example/storybook/stories/components/primitives/ButtonGroup/sizes.tsx
|
borderRadius: '25',
|
<mask> };
<mask>
<mask> function roundedStyle() {
<mask> return {
<mask> borderRadius: 'pill',
<mask> borderWidth: 1,
<mask> };
<mask> }
<mask> function outlineStyle() {
<mask> return {
</s> fix: border radius pill changed to 25 </s> remove rounded="pill"
</s> add rounded="25" </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove roundedTop="pill"
</s> add roundedTop="25" </s> remove <Button.Group space={1} alignItems={{ base: 'center', md: 'flex-start' }}>
</s> add <Button.Group
space={1}
alignItems={{ base: 'center', md: 'flex-start' }}
direction="column"
> </s> remove <Box rounded="pill" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
</s> add <Box rounded="25" w="100%" shadow={4} mx={{ base: 'auto', md: 0 }}>
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5da79de3e45f33632db7a2370d76c421854d7b4e
|
src/theme/components/input.ts
|
? <ListItem list style={this.props.style}>
|
<mask> zIndex: 2,
<mask> }}
<mask> >
<mask> {!this.props.list
<mask> ? <ListItem list>
<mask> {this.props.body}
<mask> </ListItem>
<mask> : <View style={{ backgroundColor: '#FFF' }}>
<mask> {this.props.body}
<mask> </View>}
</s> Added style implementation for SwipeRow. Related to issue #1430 #issuecomment-351650432 </s> remove ? <ListItem list>
</s> add ? <ListItem list style={this.props.style}> </s> remove : <View style={{ backgroundColor: '#FFF' }}>
</s> add : <View style={[{ backgroundColor: '#FFF' },this.props.style]}> </s> remove : <View style={{ backgroundColor: '#FFF' }}>
</s> add : <View style={[{ backgroundColor: '#FFF' },this.props.style]}>
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5e819ef64d5be31311370fdc1f40af7bfa3931ab
|
src/basic/SwipeRow.js
|
: <View style={[{ backgroundColor: '#FFF' },this.props.style]}>
|
<mask> {!this.props.list
<mask> ? <ListItem list>
<mask> {this.props.body}
<mask> </ListItem>
<mask> : <View style={{ backgroundColor: '#FFF' }}>
<mask> {this.props.body}
<mask> </View>}
<mask> </Animated.View>
<mask> );
<mask> } else {
</s> Added style implementation for SwipeRow. Related to issue #1430 #issuecomment-351650432 </s> remove ? <ListItem list>
</s> add ? <ListItem list style={this.props.style}> </s> remove ? <ListItem list>
</s> add ? <ListItem list style={this.props.style}> </s> remove : <View style={{ backgroundColor: '#FFF' }}>
</s> add : <View style={[{ backgroundColor: '#FFF' },this.props.style]}>
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5e819ef64d5be31311370fdc1f40af7bfa3931ab
|
src/basic/SwipeRow.js
|
? <ListItem list style={this.props.style}>
|
<mask> zIndex: 2,
<mask> }}
<mask> >
<mask> {!this.props.list
<mask> ? <ListItem list>
<mask> {this.props.body}
<mask> </ListItem>
<mask> : <View style={{ backgroundColor: '#FFF' }}>
<mask> {this.props.body}
<mask> </View>}
</s> Added style implementation for SwipeRow. Related to issue #1430 #issuecomment-351650432
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5e819ef64d5be31311370fdc1f40af7bfa3931ab
|
src/basic/SwipeRow.js
|
: <View style={[{ backgroundColor: '#FFF' },this.props.style]}>
|
<mask> {!this.props.list
<mask> ? <ListItem list>
<mask> {this.props.body}
<mask> </ListItem>
<mask> : <View style={{ backgroundColor: '#FFF' }}>
<mask> {this.props.body}
<mask> </View>}
<mask> </Animated.View>
<mask> );
<mask> }
</s> Added style implementation for SwipeRow. Related to issue #1430 #issuecomment-351650432 </s> remove ? <ListItem list>
</s> add ? <ListItem list style={this.props.style}> </s> remove ? <ListItem list>
</s> add ? <ListItem list style={this.props.style}> </s> remove : <View style={{ backgroundColor: '#FFF' }}>
</s> add : <View style={[{ backgroundColor: '#FFF' },this.props.style]}>
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5e819ef64d5be31311370fdc1f40af7bfa3931ab
|
src/basic/SwipeRow.js
|
<mask> <Animated.View
<mask> style={{
<mask> transform: [{ translateY: pan.y }],
<mask> width: '100%',
<mask> paddingTop: 40,
<mask> }}
<mask> onLayout={(event) => {
<mask> const { height } = event.nativeEvent.layout;
<mask> sheetHeight.current = height;
<mask> }}
</s> fix: attach pan responder on drag indicator actionsheet </s> remove <Box py={5} mt={-2}>
</s> add <Box
py={5}
mt={-2}
{...panResponder.panHandlers}
width="100%"
alignItems="center"
> </s> remove {...panResponder.panHandlers}
</s> add
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5e91044bcd8d8f06d409d4d3d4bf8a81d3c5bc2e
|
src/components/composites/Actionsheet/ActionsheetContent.tsx
|
|
<mask> onLayout={(event) => {
<mask> const { height } = event.nativeEvent.layout;
<mask> sheetHeight.current = height;
<mask> }}
<mask> {...panResponder.panHandlers}
<mask> >
<mask> <Modal.Content {...newProps} ref={ref}>
<mask> {/* Hack. Fix later. Add -2 negative margin to remove the padding added by ActionSheetContent */}
<mask> <Box py={5} mt={-2}>
<mask> <Box bg="coolGray.400" height={1} width={9} borderRadius={2} />
</s> fix: attach pan responder on drag indicator actionsheet </s> remove paddingTop: 40,
</s> add </s> remove <Box py={5} mt={-2}>
</s> add <Box
py={5}
mt={-2}
{...panResponder.panHandlers}
width="100%"
alignItems="center"
>
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5e91044bcd8d8f06d409d4d3d4bf8a81d3c5bc2e
|
src/components/composites/Actionsheet/ActionsheetContent.tsx
|
|
{/* To increase the draggable area */}
<Box py={5} {...panResponder.panHandlers} />
|
<mask> const { height } = event.nativeEvent.layout;
<mask> sheetHeight.current = height;
<mask> }}
<mask> >
<mask> <Modal.Content {...newProps} ref={ref}>
<mask> {/* Hack. Fix later. Add -2 negative margin to remove the padding added by ActionSheetContent */}
<mask> <Box
<mask> py={5}
</s> fix: attach pan responder on drag indicator actionsheet </s> remove paddingTop: 40,
</s> add </s> remove <Box py={5} mt={-2}>
</s> add <Box
py={5}
mt={-2}
{...panResponder.panHandlers}
width="100%"
alignItems="center"
> </s> remove {...panResponder.panHandlers}
</s> add
|
[
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5e91044bcd8d8f06d409d4d3d4bf8a81d3c5bc2e
|
src/components/composites/Actionsheet/ActionsheetContent.tsx
|
<Box
py={5}
mt={-2}
{...panResponder.panHandlers}
width="100%"
alignItems="center"
>
|
<mask> {...panResponder.panHandlers}
<mask> >
<mask> <Modal.Content {...newProps} ref={ref}>
<mask> {/* Hack. Fix later. Add -2 negative margin to remove the padding added by ActionSheetContent */}
<mask> <Box py={5} mt={-2}>
<mask> <Box bg="coolGray.400" height={1} width={9} borderRadius={2} />
<mask> </Box>
<mask> {children}
<mask> </Modal.Content>
<mask> </Animated.View>
</s> fix: attach pan responder on drag indicator actionsheet </s> remove paddingTop: 40,
</s> add </s> remove {...panResponder.panHandlers}
</s> add
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5e91044bcd8d8f06d409d4d3d4bf8a81d3c5bc2e
|
src/components/composites/Actionsheet/ActionsheetContent.tsx
|
const StorybookUIRoot = getStorybookUI({
// DOC: Uncomment this to get normal app view
// onDeviceUI: false,
asyncStorage: null,
});
|
<mask> }, module);
<mask>
<mask> // Refer to https://github.com/storybookjs/storybook/tree/master/app/react-native#start-command-parameters
<mask> // To find allowed options for getStorybookUI
<mask> const StorybookUIRoot = getStorybookUI({ asyncStorage: null });
<mask>
<mask> // If you are using React Native vanilla and after installation you don't see your app name here, write it manually.
<mask> // If you use Expo you should remove this line.
<mask> AppRegistry.registerComponent('%APP_NAME%', () => StorybookUIRoot);
<mask>
</s> fix: contrast text color warning when color is passed manually </s> remove ? { color: useContrastText(bg, newProps[propName].color) }
</s> add ? {
color: useContrastText(
bg,
newProps[propName].color ?? props[propName].color
),
} </s> remove darkText: '#27272a',
</s> add darkText: '#000000', </s> remove const trueContrastColor =
getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
? trueDarkText
: trueLightText;
</s> add let trueContrastColor;
let contrastColorToken;
let darkTextConstrast = getContrastRatio(trueBg, trueDarkText);
let lightTextConstrast = getContrastRatio(trueBg, trueLightText);
if (
darkTextConstrast >= contrastThreshold ||
darkTextConstrast > lightTextConstrast
) {
trueContrastColor = trueDarkText;
contrastColorToken = 'darkText';
} else {
trueContrastColor = trueLightText;
contrastColorToken = 'lightText';
} </s> remove const contrastColorToken =
getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
? 'darkText'
: 'lightText';
</s> add
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5fa87a39f43e2b8df6e2e2c4a0bcc6d16b23ceb0
|
example/storybook/index.ts
|
? {
color: useContrastText(
bg,
newProps[propName].color ?? props[propName].color
),
}
|
<mask> _props.forEach((propName: string) => {
<mask> // Adding color based on bg contrast if no color is given
<mask> const bg = newProps.bg ?? newProps.backgroundColor;
<mask> const textColor = bg
<mask> ? { color: useContrastText(bg, newProps[propName].color) }
<mask> : {};
<mask> // Overriding calculated props with user added props
<mask> newProps[propName] = {
<mask> ...textColor,
<mask> ...newProps[propName],
</s> fix: contrast text color warning when color is passed manually </s> remove const trueContrastColor =
getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
? trueDarkText
: trueLightText;
</s> add let trueContrastColor;
let contrastColorToken;
let darkTextConstrast = getContrastRatio(trueBg, trueDarkText);
let lightTextConstrast = getContrastRatio(trueBg, trueLightText);
if (
darkTextConstrast >= contrastThreshold ||
darkTextConstrast > lightTextConstrast
) {
trueContrastColor = trueDarkText;
contrastColorToken = 'darkText';
} else {
trueContrastColor = trueLightText;
contrastColorToken = 'lightText';
} </s> remove const contrastColorToken =
getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
? 'darkText'
: 'lightText';
</s> add </s> remove const StorybookUIRoot = getStorybookUI({ asyncStorage: null });
</s> add const StorybookUIRoot = getStorybookUI({
// DOC: Uncomment this to get normal app view
// onDeviceUI: false,
asyncStorage: null,
}); </s> remove darkText: '#27272a',
</s> add darkText: '#000000',
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5fa87a39f43e2b8df6e2e2c4a0bcc6d16b23ceb0
|
src/hooks/useThemeProps/utils.ts
|
darkText: '#000000',
|
<mask> // Singleton colors
<mask> white: '#FFFFFF',
<mask> black: '#000000',
<mask> lightText: '#FFFFFF',
<mask> darkText: '#27272a',
<mask> // Primary colors
<mask> rose: {
<mask> 50: '#fff1f2',
<mask> 100: '#ffe4e6',
<mask> 200: '#fecdd3',
</s> fix: contrast text color warning when color is passed manually </s> remove ? { color: useContrastText(bg, newProps[propName].color) }
</s> add ? {
color: useContrastText(
bg,
newProps[propName].color ?? props[propName].color
),
} </s> remove const StorybookUIRoot = getStorybookUI({ asyncStorage: null });
</s> add const StorybookUIRoot = getStorybookUI({
// DOC: Uncomment this to get normal app view
// onDeviceUI: false,
asyncStorage: null,
}); </s> remove const trueContrastColor =
getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
? trueDarkText
: trueLightText;
</s> add let trueContrastColor;
let contrastColorToken;
let darkTextConstrast = getContrastRatio(trueBg, trueDarkText);
let lightTextConstrast = getContrastRatio(trueBg, trueLightText);
if (
darkTextConstrast >= contrastThreshold ||
darkTextConstrast > lightTextConstrast
) {
trueContrastColor = trueDarkText;
contrastColorToken = 'darkText';
} else {
trueContrastColor = trueLightText;
contrastColorToken = 'lightText';
} </s> remove const contrastColorToken =
getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
? 'darkText'
: 'lightText';
</s> add
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5fa87a39f43e2b8df6e2e2c4a0bcc6d16b23ceb0
|
src/theme/base/colors.ts
|
let trueContrastColor;
let contrastColorToken;
let darkTextConstrast = getContrastRatio(trueBg, trueDarkText);
let lightTextConstrast = getContrastRatio(trueBg, trueLightText);
if (
darkTextConstrast >= contrastThreshold ||
darkTextConstrast > lightTextConstrast
) {
trueContrastColor = trueDarkText;
contrastColorToken = 'darkText';
} else {
trueContrastColor = trueLightText;
contrastColorToken = 'lightText';
}
|
<mask>
<mask> if (typeof trueBg !== 'string') {
<mask> trueBg = bg;
<mask> }
<mask> const trueContrastColor =
<mask> getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
<mask> ? trueDarkText
<mask> : trueLightText;
<mask>
<mask> const contrastColorToken =
<mask> getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
<mask> ? 'darkText'
<mask> : 'lightText';
</s> fix: contrast text color warning when color is passed manually </s> remove const contrastColorToken =
getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
? 'darkText'
: 'lightText';
</s> add </s> remove ? { color: useContrastText(bg, newProps[propName].color) }
</s> add ? {
color: useContrastText(
bg,
newProps[propName].color ?? props[propName].color
),
} </s> remove const StorybookUIRoot = getStorybookUI({ asyncStorage: null });
</s> add const StorybookUIRoot = getStorybookUI({
// DOC: Uncomment this to get normal app view
// onDeviceUI: false,
asyncStorage: null,
}); </s> remove darkText: '#27272a',
</s> add darkText: '#000000',
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5fa87a39f43e2b8df6e2e2c4a0bcc6d16b23ceb0
|
src/theme/hooks/useContrastText.ts
|
<mask> getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
<mask> ? trueDarkText
<mask> : trueLightText;
<mask>
<mask> const contrastColorToken =
<mask> getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
<mask> ? 'darkText'
<mask> : 'lightText';
<mask> if (process.env.NODE_ENV !== 'production') {
<mask> const contrast = getContrastRatio(
<mask> trueBg,
<mask> trueColor ? trueColor : trueContrastColor
<mask> );
</s> fix: contrast text color warning when color is passed manually </s> remove const trueContrastColor =
getContrastRatio(trueBg, trueDarkText) >= contrastThreshold
? trueDarkText
: trueLightText;
</s> add let trueContrastColor;
let contrastColorToken;
let darkTextConstrast = getContrastRatio(trueBg, trueDarkText);
let lightTextConstrast = getContrastRatio(trueBg, trueLightText);
if (
darkTextConstrast >= contrastThreshold ||
darkTextConstrast > lightTextConstrast
) {
trueContrastColor = trueDarkText;
contrastColorToken = 'darkText';
} else {
trueContrastColor = trueLightText;
contrastColorToken = 'lightText';
} </s> remove ? { color: useContrastText(bg, newProps[propName].color) }
</s> add ? {
color: useContrastText(
bg,
newProps[propName].color ?? props[propName].color
),
} </s> remove const StorybookUIRoot = getStorybookUI({ asyncStorage: null });
</s> add const StorybookUIRoot = getStorybookUI({
// DOC: Uncomment this to get normal app view
// onDeviceUI: false,
asyncStorage: null,
}); </s> remove darkText: '#27272a',
</s> add darkText: '#000000',
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/5fa87a39f43e2b8df6e2e2c4a0bcc6d16b23ceb0
|
src/theme/hooks/useContrastText.ts
|
|
backgroundColor: null,
tabFontSize: variable.tabFontSize
|
<mask> getDefaultProps() {
<mask> return {
<mask> activeTextColor: variable.topTabBarActiveTextColor,
<mask> inactiveTextColor: variable.topTabBarTextColor,
<mask> backgroundColor: null
<mask> };
<mask> },
<mask>
<mask> renderTabOption(name, page) {},
<mask>
</s> tab button text font size customizable </s> remove const { activeTextColor, inactiveTextColor } = this.props;
</s> add const { activeTextColor, inactiveTextColor, tabFontSize } = this.props; </s> remove <Text style={isTabActive ? activeTextStyle : textStyle}>
</s> add <Text
style={[
isTabActive ? activeTextStyle : textStyle,
{ fontSize: tabFontSize }
]}
>
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/6041019121b5c013cadf717752a66df5fbe02b54
|
src/basic/Tabs/DefaultTabBar.js
|
const { activeTextColor, inactiveTextColor, tabFontSize } = this.props;
|
<mask> tabHeaderStyle
<mask> ) {
<mask> const headerContent =
<mask> typeof name !== "string" ? name.props.children : undefined;
<mask> const { activeTextColor, inactiveTextColor } = this.props;
<mask> const textColor = isTabActive ? activeTextColor : inactiveTextColor;
<mask> const fontWeight = isTabActive ? "bold" : "normal";
<mask> if (typeof name === "string") {
<mask> return (
<mask> <Button
</s> tab button text font size customizable </s> remove <Text style={isTabActive ? activeTextStyle : textStyle}>
</s> add <Text
style={[
isTabActive ? activeTextStyle : textStyle,
{ fontSize: tabFontSize }
]}
> </s> remove backgroundColor: null
</s> add backgroundColor: null,
tabFontSize: variable.tabFontSize
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/6041019121b5c013cadf717752a66df5fbe02b54
|
src/basic/Tabs/DefaultTabBar.js
|
const fontSize = tabFontSize;
|
<mask> typeof name !== "string" ? name.props.children : undefined;
<mask> const { activeTextColor, inactiveTextColor, tabFontSize } = this.props;
<mask> const textColor = isTabActive ? activeTextColor : inactiveTextColor;
<mask> const fontWeight = isTabActive ? "bold" : "normal";
<mask> if (typeof name === "string") {
<mask> return (
<mask> <Button
<mask> style={{ flex: 1 }}
<mask> key={name}
<mask> onPress={() => onPressHandler(page)}
</s> tab button text font size customizable </s> remove const { activeTextColor, inactiveTextColor } = this.props;
</s> add const { activeTextColor, inactiveTextColor, tabFontSize } = this.props; </s> remove <Text style={isTabActive ? activeTextStyle : textStyle}>
</s> add <Text
style={[
isTabActive ? activeTextStyle : textStyle,
{ fontSize: tabFontSize }
]}
> </s> remove backgroundColor: null
</s> add backgroundColor: null,
tabFontSize: variable.tabFontSize
|
[
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/6041019121b5c013cadf717752a66df5fbe02b54
|
src/basic/Tabs/DefaultTabBar.js
|
<Text
style={[
isTabActive ? activeTextStyle : textStyle,
{ fontSize: tabFontSize }
]}
>
|
<mask> <TabHeading
<mask> style={isTabActive ? activeTabStyle : tabStyle}
<mask> active={isTabActive}
<mask> >
<mask> <Text style={isTabActive ? activeTextStyle : textStyle}>
<mask> {name}
<mask> </Text>
<mask> </TabHeading>
<mask> </Button>
<mask> );
</s> tab button text font size customizable </s> remove const { activeTextColor, inactiveTextColor } = this.props;
</s> add const { activeTextColor, inactiveTextColor, tabFontSize } = this.props; </s> remove backgroundColor: null
</s> add backgroundColor: null,
tabFontSize: variable.tabFontSize
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/6041019121b5c013cadf717752a66df5fbe02b54
|
src/basic/Tabs/DefaultTabBar.js
|
<Badge colorScheme="coolGray">DARK</Badge>
|
<mask> <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}>
<mask> <Badge colorScheme="success">SUCCESS</Badge>
<mask> <Badge colorScheme="danger">DANGER</Badge>
<mask> <Badge colorScheme="info">INFO</Badge>
<mask> <Badge colorScheme="dark">DARK</Badge>
<mask> </HStack>
<mask> );
<mask> }
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}>
{['solid', 'outline', 'subtle'].map((key) => (
<VStack key={key} space={{ base: 1, md: 4 }}>
<Badge variant={key}>DEFAULT</Badge>
<Badge colorScheme="success" variant={key}>
SUCCESS
</Badge>
<Badge colorScheme="danger" variant={key}>
DANGER
</Badge>
<Badge colorScheme="info" variant={key}>
INFO
</Badge>
</VStack>
))}
</HStack>
</s> add <>
<HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}>
{['solid', 'outline', 'subtle'].map((key) => (
<VStack key={key} space={{ base: 1, md: 4 }}>
<Badge variant={key} alignSelf="center">
DEFAULT
</Badge>
<Badge colorScheme="success" alignSelf="center" variant={key}>
SUCCESS
</Badge>
<Badge colorScheme="danger" alignSelf="center" variant={key}>
DANGER
</Badge>
<Badge colorScheme="info" alignSelf="center" variant={key}>
INFO
</Badge>
</VStack>
))}
</HStack>
</> </s> remove <Button
endIcon={
<Badge colorScheme="secondary" ml={1} rounded="md">
10
</Badge>
}
mx={{ base: 'auto', md: 0 }}
>
Notifications
</Button>
</s> add <VStack>
<Badge
// bg="red.400"
colorScheme="danger"
rounded="999px"
mb={-4}
mr={-4}
zIndex={1}
variant="solid"
alignSelf="flex-end"
_text={{ fontSize: 12 }}
>
2
</Badge>
<Button
mx={{ base: 'auto', md: 0 }}
p="2"
bg="cyan.500"
_text={{ fontSize: 14 }}
>
Notifications
</Button>
</VStack> </s> remove import { Badge, Button } from 'native-base';
</s> add import { Badge, Button, VStack } from 'native-base'; </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
example/storybook/stories/components/composites/Badge/color.tsx
|
import { Badge, Button, VStack } from 'native-base';
|
<mask> import React from 'react';
<mask> import { Badge, Button } from 'native-base';
<mask>
<mask> export function Example() {
<mask> return (
<mask> <Button
<mask> endIcon={
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove <Button
endIcon={
<Badge colorScheme="secondary" ml={1} rounded="md">
10
</Badge>
}
mx={{ base: 'auto', md: 0 }}
>
Notifications
</Button>
</s> add <VStack>
<Badge
// bg="red.400"
colorScheme="danger"
rounded="999px"
mb={-4}
mr={-4}
zIndex={1}
variant="solid"
alignSelf="flex-end"
_text={{ fontSize: 12 }}
>
2
</Badge>
<Button
mx={{ base: 'auto', md: 0 }}
p="2"
bg="cyan.500"
_text={{ fontSize: 14 }}
>
Notifications
</Button>
</VStack> </s> remove <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}>
{['solid', 'outline', 'subtle'].map((key) => (
<VStack key={key} space={{ base: 1, md: 4 }}>
<Badge variant={key}>DEFAULT</Badge>
<Badge colorScheme="success" variant={key}>
SUCCESS
</Badge>
<Badge colorScheme="danger" variant={key}>
DANGER
</Badge>
<Badge colorScheme="info" variant={key}>
INFO
</Badge>
</VStack>
))}
</HStack>
</s> add <>
<HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}>
{['solid', 'outline', 'subtle'].map((key) => (
<VStack key={key} space={{ base: 1, md: 4 }}>
<Badge variant={key} alignSelf="center">
DEFAULT
</Badge>
<Badge colorScheme="success" alignSelf="center" variant={key}>
SUCCESS
</Badge>
<Badge colorScheme="danger" alignSelf="center" variant={key}>
DANGER
</Badge>
<Badge colorScheme="info" alignSelf="center" variant={key}>
INFO
</Badge>
</VStack>
))}
</HStack>
</> </s> remove px: 1,
_text: { fontSize: 'xs', fontWeight: 'bold' },
</s> add px: '2',
py: '0.5',
alignItems: 'center',
_text: { fontSize: 'xs', fontWeight: 'medium' }, </s> remove export * from './components/primitives/Image';
</s> add // export * from './components/primitives/Image'; </s> remove bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
_text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
borderWidth: '1',
|
[
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
example/storybook/stories/components/composites/Badge/composition.tsx
|
<VStack>
<Badge
// bg="red.400"
colorScheme="danger"
rounded="999px"
mb={-4}
mr={-4}
zIndex={1}
variant="solid"
alignSelf="flex-end"
_text={{ fontSize: 12 }}
>
2
</Badge>
<Button
mx={{ base: 'auto', md: 0 }}
p="2"
bg="cyan.500"
_text={{ fontSize: 14 }}
>
Notifications
</Button>
</VStack>
|
<mask> import { Badge, Button } from 'native-base';
<mask>
<mask> export function Example() {
<mask> return (
<mask> <Button
<mask> endIcon={
<mask> <Badge colorScheme="secondary" ml={1} rounded="md">
<mask> 10
<mask> </Badge>
<mask> }
<mask> mx={{ base: 'auto', md: 0 }}
<mask> >
<mask> Notifications
<mask> </Button>
<mask> );
<mask> }
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove import { Badge, Button } from 'native-base';
</s> add import { Badge, Button, VStack } from 'native-base'; </s> remove <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}>
{['solid', 'outline', 'subtle'].map((key) => (
<VStack key={key} space={{ base: 1, md: 4 }}>
<Badge variant={key}>DEFAULT</Badge>
<Badge colorScheme="success" variant={key}>
SUCCESS
</Badge>
<Badge colorScheme="danger" variant={key}>
DANGER
</Badge>
<Badge colorScheme="info" variant={key}>
INFO
</Badge>
</VStack>
))}
</HStack>
</s> add <>
<HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}>
{['solid', 'outline', 'subtle'].map((key) => (
<VStack key={key} space={{ base: 1, md: 4 }}>
<Badge variant={key} alignSelf="center">
DEFAULT
</Badge>
<Badge colorScheme="success" alignSelf="center" variant={key}>
SUCCESS
</Badge>
<Badge colorScheme="danger" alignSelf="center" variant={key}>
DANGER
</Badge>
<Badge colorScheme="info" alignSelf="center" variant={key}>
INFO
</Badge>
</VStack>
))}
</HStack>
</> </s> remove <Badge colorScheme="dark">DARK</Badge>
</s> add <Badge colorScheme="coolGray">DARK</Badge> </s> remove px: 1,
_text: { fontSize: 'xs', fontWeight: 'bold' },
</s> add px: '2',
py: '0.5',
alignItems: 'center',
_text: { fontSize: 'xs', fontWeight: 'medium' },
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
example/storybook/stories/components/composites/Badge/composition.tsx
|
<>
<HStack space={{ base: '2', md: '4' }} mx={{ base: 'auto', md: '0' }}>
{['solid', 'outline', 'subtle'].map((key) => (
<VStack key={key} space={{ base: 1, md: 4 }}>
<Badge variant={key} alignSelf="center">
DEFAULT
</Badge>
<Badge colorScheme="success" alignSelf="center" variant={key}>
SUCCESS
</Badge>
<Badge colorScheme="danger" alignSelf="center" variant={key}>
DANGER
</Badge>
<Badge colorScheme="info" alignSelf="center" variant={key}>
INFO
</Badge>
</VStack>
))}
</HStack>
</>
|
<mask> import { Badge, HStack, VStack } from 'native-base';
<mask>
<mask> export function Example() {
<mask> return (
<mask> <HStack space={{ base: 2, md: 4 }} mx={{ base: 'auto', md: 0 }}>
<mask> {['solid', 'outline', 'subtle'].map((key) => (
<mask> <VStack key={key} space={{ base: 1, md: 4 }}>
<mask> <Badge variant={key}>DEFAULT</Badge>
<mask> <Badge colorScheme="success" variant={key}>
<mask> SUCCESS
<mask> </Badge>
<mask> <Badge colorScheme="danger" variant={key}>
<mask> DANGER
<mask> </Badge>
<mask> <Badge colorScheme="info" variant={key}>
<mask> INFO
<mask> </Badge>
<mask> </VStack>
<mask> ))}
<mask> </HStack>
<mask> );
<mask> }
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove <Badge colorScheme="dark">DARK</Badge>
</s> add <Badge colorScheme="coolGray">DARK</Badge> </s> remove <Button
endIcon={
<Badge colorScheme="secondary" ml={1} rounded="md">
10
</Badge>
}
mx={{ base: 'auto', md: 0 }}
>
Notifications
</Button>
</s> add <VStack>
<Badge
// bg="red.400"
colorScheme="danger"
rounded="999px"
mb={-4}
mr={-4}
zIndex={1}
variant="solid"
alignSelf="flex-end"
_text={{ fontSize: 12 }}
>
2
</Badge>
<Button
mx={{ base: 'auto', md: 0 }}
p="2"
bg="cyan.500"
_text={{ fontSize: 14 }}
>
Notifications
</Button>
</VStack> </s> remove import { Badge, Button } from 'native-base';
</s> add import { Badge, Button, VStack } from 'native-base'; </s> remove px: 1,
_text: { fontSize: 'xs', fontWeight: 'bold' },
</s> add px: '2',
py: '0.5',
alignItems: 'center',
_text: { fontSize: 'xs', fontWeight: 'medium' }, </s> remove bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
_text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
borderWidth: '1',
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"replace",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
example/storybook/stories/components/composites/Badge/variants.tsx
|
// export * from './components/primitives/Image';
|
<mask> export * from './components/primitives/Hidden';
<mask> export * from './components/primitives/HStack';
<mask> export * from './components/primitives/Icon';
<mask> export * from './components/composites/IconButton';
<mask> export * from './components/primitives/Image';
<mask> export * from './components/primitives/Input';
<mask> // export * from './components/composites/Kbd';
<mask> export * from './components/primitives/Link';
<mask> export * from './components/primitives/List';
<mask> export * from './components/composites/Menu';
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove import { Badge, Button } from 'native-base';
</s> add import { Badge, Button, VStack } from 'native-base'; </s> remove <Button
endIcon={
<Badge colorScheme="secondary" ml={1} rounded="md">
10
</Badge>
}
mx={{ base: 'auto', md: 0 }}
>
Notifications
</Button>
</s> add <VStack>
<Badge
// bg="red.400"
colorScheme="danger"
rounded="999px"
mb={-4}
mr={-4}
zIndex={1}
variant="solid"
alignSelf="flex-end"
_text={{ fontSize: 12 }}
>
2
</Badge>
<Button
mx={{ base: 'auto', md: 0 }}
p="2"
bg="cyan.500"
_text={{ fontSize: 14 }}
>
Notifications
</Button>
</VStack> </s> remove colors.tertiary = colors.emerald;
</s> add colors.tertiary = colors.green; </s> remove px: 1,
_text: { fontSize: 'xs', fontWeight: 'bold' },
</s> add px: '2',
py: '0.5',
alignItems: 'center',
_text: { fontSize: 'xs', fontWeight: 'medium' }, </s> remove colorScheme: 'muted',
</s> add colorScheme: 'coolGray',
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
example/storybook/stories/index.ts
|
colors.danger = colors.red;
|
<mask> light: {},
<mask> tertiary: {},
<mask> };
<mask>
<mask> colors.danger = colors.rose;
<mask> colors.error = colors.red;
<mask> colors.success = colors.green;
<mask> colors.warning = colors.orange;
<mask> colors.muted = colors.trueGray;
<mask> colors.primary = colors.cyan;
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove colors.success = colors.green;
</s> add colors.success = colors.emerald; </s> remove colors.tertiary = colors.emerald;
</s> add colors.tertiary = colors.green; </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove borderWidth: 1,
</s> add borderRadius: '2',
borderWidth: '1',
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/base/colors.ts
|
colors.success = colors.emerald;
|
<mask> };
<mask>
<mask> colors.danger = colors.rose;
<mask> colors.error = colors.red;
<mask> colors.success = colors.green;
<mask> colors.warning = colors.orange;
<mask> colors.muted = colors.trueGray;
<mask> colors.primary = colors.cyan;
<mask> colors.secondary = colors.pink;
<mask> colors.tertiary = colors.emerald;
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove colors.danger = colors.rose;
</s> add colors.danger = colors.red; </s> remove colors.tertiary = colors.emerald;
</s> add colors.tertiary = colors.green; </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove borderWidth: 1,
</s> add borderRadius: '2',
borderWidth: '1',
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/base/colors.ts
|
colors.tertiary = colors.green;
|
<mask> colors.warning = colors.orange;
<mask> colors.muted = colors.trueGray;
<mask> colors.primary = colors.cyan;
<mask> colors.secondary = colors.pink;
<mask> colors.tertiary = colors.emerald;
<mask> colors.info = colors.lightBlue;
<mask> colors.light = colors.warmGray;
<mask>
<mask> export default colors;
<mask> export type IColors = typeof colors;
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove colors.success = colors.green;
</s> add colors.success = colors.emerald; </s> remove colors.danger = colors.rose;
</s> add colors.danger = colors.red; </s> remove colorScheme: 'muted',
</s> add colorScheme: 'coolGray', </s> remove borderWidth: 1,
</s> add borderRadius: '2',
borderWidth: '1', </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/base/colors.ts
|
px: '2',
py: '0.5',
alignItems: 'center',
_text: { fontSize: 'xs', fontWeight: 'medium' },
|
<mask> import { mode, getColorScheme } from '../tools';
<mask>
<mask> const baseStyle = {
<mask> px: 1,
<mask> _text: { fontSize: 'xs', fontWeight: 'bold' },
<mask> };
<mask>
<mask> function variantSolid(props: Record<string, any>) {
<mask> let colorScheme = getColorScheme(props);
<mask> return {
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
_text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
borderWidth: '1', </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove import { Badge, Button } from 'native-base';
</s> add import { Badge, Button, VStack } from 'native-base';
|
[
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/components/badge.ts
|
const colorScheme = getColorScheme(props);
|
<mask> _text: { fontSize: 'xs', fontWeight: 'bold' },
<mask> };
<mask>
<mask> function variantSolid(props: Record<string, any>) {
<mask> let colorScheme = getColorScheme(props);
<mask> return {
<mask> bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
<mask> borderWidth: 1,
<mask> borderColor: 'transparent',
<mask> };
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove px: 1,
_text: { fontSize: 'xs', fontWeight: 'bold' },
</s> add px: '2',
py: '0.5',
alignItems: 'center',
_text: { fontSize: 'xs', fontWeight: 'medium' }, </s> remove bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
_text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
borderWidth: '1', </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove bg: mode(`${colorScheme}.300`, `${colorScheme}.600`)(props),
_text: { color: mode(`${colorScheme}.900`, `${colorScheme}.100`)(props) },
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.200`, `${colorScheme}.700`)(props),
_text: { color: mode(`${colorScheme}.600`, `${colorScheme}.200`)(props) },
borderWidth: '1',
borderRadius: '2',
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/components/badge.ts
|
bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
_text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
borderWidth: '1',
|
<mask>
<mask> function variantSolid(props: Record<string, any>) {
<mask> let colorScheme = getColorScheme(props);
<mask> return {
<mask> bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
<mask> borderWidth: 1,
<mask> borderColor: 'transparent',
<mask> };
<mask> }
<mask>
<mask> function variantSubtle(props: Record<string, any>) {
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove bg: mode(`${colorScheme}.300`, `${colorScheme}.600`)(props),
_text: { color: mode(`${colorScheme}.900`, `${colorScheme}.100`)(props) },
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.200`, `${colorScheme}.700`)(props),
_text: { color: mode(`${colorScheme}.600`, `${colorScheme}.200`)(props) },
borderWidth: '1',
borderRadius: '2', </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/components/badge.ts
|
borderRadius: '2',
|
<mask> bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
<mask> _text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
<mask> borderWidth: '1',
<mask> borderColor: 'transparent',
<mask> };
<mask> }
<mask>
<mask> function variantSubtle(props: Record<string, any>) {
<mask> const colorScheme = getColorScheme(props);
<mask> return {
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
_text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
borderWidth: '1', </s> remove bg: mode(`${colorScheme}.300`, `${colorScheme}.600`)(props),
_text: { color: mode(`${colorScheme}.900`, `${colorScheme}.100`)(props) },
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.200`, `${colorScheme}.700`)(props),
_text: { color: mode(`${colorScheme}.600`, `${colorScheme}.200`)(props) },
borderWidth: '1',
borderRadius: '2', </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props);
|
[
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/components/badge.ts
|
const colorScheme = getColorScheme(props);
|
<mask> };
<mask> }
<mask>
<mask> function variantSubtle(props: Record<string, any>) {
<mask> let colorScheme = getColorScheme(props);
<mask> return {
<mask> bg: mode(`${colorScheme}.300`, `${colorScheme}.600`)(props),
<mask> _text: { color: mode(`${colorScheme}.900`, `${colorScheme}.100`)(props) },
<mask> borderWidth: 1,
<mask> borderColor: 'transparent',
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove bg: mode(`${colorScheme}.300`, `${colorScheme}.600`)(props),
_text: { color: mode(`${colorScheme}.900`, `${colorScheme}.100`)(props) },
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.200`, `${colorScheme}.700`)(props),
_text: { color: mode(`${colorScheme}.600`, `${colorScheme}.200`)(props) },
borderWidth: '1',
borderRadius: '2', </s> remove bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
_text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
borderWidth: '1', </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/components/badge.ts
|
bg: mode(`${colorScheme}.200`, `${colorScheme}.700`)(props),
_text: { color: mode(`${colorScheme}.600`, `${colorScheme}.200`)(props) },
borderWidth: '1',
borderRadius: '2',
|
<mask>
<mask> function variantSubtle(props: Record<string, any>) {
<mask> let colorScheme = getColorScheme(props);
<mask> return {
<mask> bg: mode(`${colorScheme}.300`, `${colorScheme}.600`)(props),
<mask> _text: { color: mode(`${colorScheme}.900`, `${colorScheme}.100`)(props) },
<mask> borderWidth: 1,
<mask> borderColor: 'transparent',
<mask> };
<mask> }
<mask>
<mask> function variantOutline(props: Record<string, any>) {
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
_text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
borderWidth: '1', </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"replace",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/components/badge.ts
|
const colorScheme = getColorScheme(props);
|
<mask> };
<mask> }
<mask>
<mask> function variantOutline(props: Record<string, any>) {
<mask> let colorScheme = getColorScheme(props);
<mask> return {
<mask> borderColor: mode(`${colorScheme}.500`, `${colorScheme}.400`)(props),
<mask> _text: { color: mode(`${colorScheme}.500`, `${colorScheme}.400`)(props) },
<mask> borderWidth: 1,
<mask> };
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove borderWidth: 1,
</s> add borderRadius: '2',
borderWidth: '1', </s> remove bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
_text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
borderWidth: '1', </s> remove bg: mode(`${colorScheme}.300`, `${colorScheme}.600`)(props),
_text: { color: mode(`${colorScheme}.900`, `${colorScheme}.100`)(props) },
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.200`, `${colorScheme}.700`)(props),
_text: { color: mode(`${colorScheme}.600`, `${colorScheme}.200`)(props) },
borderWidth: '1',
borderRadius: '2', </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/components/badge.ts
|
borderRadius: '2',
borderWidth: '1',
|
<mask> let colorScheme = getColorScheme(props);
<mask> return {
<mask> borderColor: mode(`${colorScheme}.500`, `${colorScheme}.400`)(props),
<mask> _text: { color: mode(`${colorScheme}.500`, `${colorScheme}.400`)(props) },
<mask> borderWidth: 1,
<mask> };
<mask> }
<mask>
<mask> const variants = {
<mask> solid: variantSolid,
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove bg: mode(`${colorScheme}.500`, `${colorScheme}.200`)(props),
borderWidth: 1,
</s> add bg: mode(`${colorScheme}.600`, `${colorScheme}.300`)(props),
_text: { color: mode(`coolGray.100`, `coolGray.800`)(props) },
borderWidth: '1', </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/components/badge.ts
|
colorScheme: 'coolGray',
|
<mask> };
<mask>
<mask> const defaultProps = {
<mask> variant: 'subtle',
<mask> colorScheme: 'muted',
<mask> };
<mask>
<mask> export default {
<mask> baseStyle,
<mask> variants,
</s> fix: badge-design (#4045)
* fix: badge-design
* fix: dark mode changes
* fix: strict mode fixes
Co-authored-by: Vidhi Kataria <[email protected]> </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props); </s> remove colors.tertiary = colors.emerald;
</s> add colors.tertiary = colors.green; </s> remove borderWidth: 1,
</s> add borderRadius: '2',
borderWidth: '1', </s> remove let colorScheme = getColorScheme(props);
</s> add const colorScheme = getColorScheme(props);
|
[
"keep",
"keep",
"keep",
"keep",
"replace",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/607ae6590d873a647fb9b90f1d01925c0c29cc25
|
src/theme/components/badge.ts
|
Link: {
sizes: {
mysize: 10,
},
},
|
<mask> mySpace: '29px',
<mask> },
<mask>
<mask> components: {
<mask> Button: {
<mask> variants: {
<mask> myBtn: {
<mask> padding: 10,
<mask> },
<mask> myNewButton: ({ myPadding }: { myPadding: number }) => {
</s> fix: custom prop typing fixes </s> remove isCustom={true}
variant="myNewButton"
myPadding={1}
</s> add </s> remove (props: IIconProps & { ref?: any }) => JSX.Element
</s> add (props: InterfaceIconProps & { ref?: any }) => JSX.Element
|
[
"keep",
"keep",
"keep",
"add",
"keep",
"keep",
"keep",
"keep",
"keep",
"keep"
] |
https://github.com/GeekyAnts/NativeBase/commit/608a4fdfb2abc1eb28ca88d1a58c5a60087e7abe
|
example/storybook/stories/components/Wrapper.tsx
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.