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
backgroundColor: Platform.OS === "android" ? variables.footerDefaultBg : undefined,
<mask> fontSize: variables.tabBarTextSize, <mask> lineHeight: 16 <mask> } <mask> }, <mask> backgroundColor: Platform.OS === "android" <mask> ? variables.footerDefaultBg <mask> : undefined, <mask> flexDirection: "row", <mask> justifyContent: "space-between", <m...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/FooterTab.js
lineHeight: variables.lineHeightH1
<mask> export default (variables /*: * */ = variable) => { <mask> const h1Theme = { <mask> color: variables.textColor, <mask> fontSize: variables.fontSizeH1, <mask> lineHeight: variables.lineHeightH1, <mask> }; <mask> <mask> return h1Theme; <mask> }; </s> chore(): adss format script and fo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/H1.js
lineHeight: variables.lineHeightH2
<mask> export default (variables /*: * */ = variable) => { <mask> const h2Theme = { <mask> color: variables.textColor, <mask> fontSize: variables.fontSizeH2, <mask> lineHeight: variables.lineHeightH2, <mask> }; <mask> <mask> return h2Theme; <mask> }; </s> chore(): adss format script and fo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/H2.js
height: platform === "android" ? variables.toolbarHeight + StatusBar.currentHeight : variables.toolbarHeight
<mask> shadowOffset: null, <mask> shadowRadius: null, <mask> shadowOpacity: null, <mask> paddingTop: platform === "android" ? StatusBar.currentHeight : undefined, <mask> height: platform === "android" ? variables.toolbarHeight + StatusBar.currentHeight : variables.toolbarHeight <mask...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Header.js
import variable from "./../variables/platform";
<mask> // @flow <mask> <mask> import variable from './../variables/platform'; <mask> <mask> export default (variables /*: * */ = variable) => { <mask> const inputTheme = { <mask> '.multiline': { <mask> height: null, </s> chore(): adss format script and formats files </s> remove import variable f...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Input.js
".multiline": { height: null
<mask> import variable from './../variables/platform'; <mask> <mask> export default (variables /*: * */ = variable) => { <mask> const inputTheme = { <mask> '.multiline': { <mask> height: null, <mask> }, <mask> height: variables.inputHeightBase, <mask> color: variables.inputColor, <mas...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Input.js
import variable from "./../variables/platform";
<mask> // @flow <mask> <mask> import variable from './../variables/platform'; <mask> <mask> export default (variables /*: * */ = variable) => { <mask> const leftTheme = { <mask> flex: 1, <mask> alignSelf: 'center', </s> chore(): adss format script and formats files </s> remove import variable from...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Left.js
alignSelf: "center", alignItems: "flex-start"
<mask> <mask> export default (variables /*: * */ = variable) => { <mask> const leftTheme = { <mask> flex: 1, <mask> alignSelf: 'center', <mask> alignItems: 'flex-start', <mask> }; <mask> <mask> return leftTheme; <mask> }; </s> chore(): adss format script and formats files </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Left.js
color: Platform.OS === "ios" ? variables.radioColor : variables.radioSelectedColorAndroid,
<mask> export default (variables /*: * */ = variable) => { <mask> const radioTheme = { <mask> ".selected": { <mask> "NativeBase.IconNB": { <mask> color: Platform.OS === "ios" <mask> ? variables.radioColor <mask> : variables.radioSelectedColorAndroid, <mask> lineHe...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Radio.js
lineHeight: Platform.OS === "ios" ? undefined : variables.radioBtnLineHeight,
<mask> } <mask> }, <mask> "NativeBase.IconNB": { <mask> color: Platform.OS === "ios" ? "transparent" : undefined, <mask> lineHeight: Platform.OS === "ios" <mask> ? undefined <mask> : variables.radioBtnLineHeight, <mask> fontSize: Platform.OS === "ios" ? undefined ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Radio.js
import variable from "./../variables/platform";
<mask> // @flow <mask> <mask> import variable from './../variables/platform'; <mask> <mask> export default (variables /*: * */ = variable) => { <mask> const rightTheme = { <mask> 'NativeBase.Button': { <mask> alignSelf: null, </s> chore(): adss format script and formats files </s> remove 'Na...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Right.js
"NativeBase.Button": { alignSelf: null
<mask> import variable from './../variables/platform'; <mask> <mask> export default (variables /*: * */ = variable) => { <mask> const rightTheme = { <mask> 'NativeBase.Button': { <mask> alignSelf: null, <mask> }, <mask> flex: 1, <mask> alignSelf: 'center', <mask> alignItems: 'flex...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Right.js
alignSelf: "center", alignItems: "flex-end"
<mask> 'NativeBase.Button': { <mask> alignSelf: null, <mask> }, <mask> flex: 1, <mask> alignSelf: 'center', <mask> alignItems: 'flex-end', <mask> }; <mask> <mask> return rightTheme; <mask> }; </s> chore(): adss format script and formats files </s> remove 'NativeBase.Button...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Right.js
import variable from "./../variables/platform";
<mask> // @flow <mask> <mask> import variable from './../variables/platform'; <mask> <mask> export default (variables /*: * */ = variable) => { <mask> const theme = { <mask> '.group': { <mask> height: 50, </s> chore(): adss format script and formats files </s> remove '.group': { </s> add ...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
".group": {
<mask> import variable from './../variables/platform'; <mask> <mask> export default (variables /*: * */ = variable) => { <mask> const theme = { <mask> '.group': { <mask> height: 50, <mask> paddingVertical: variables.listItemPadding - 8, <mask> paddingTop: variables.listItemPadding + 12,...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
".bordered": {
<mask> '.group': { <mask> height: 50, <mask> paddingVertical: variables.listItemPadding - 8, <mask> paddingTop: variables.listItemPadding + 12, <mask> '.bordered': { <mask> height: 50, <mask> paddingVertical: variables.listItemPadding - 8, <mask> paddingTop: v...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
paddingTop: variables.listItemPadding + 12 }
<mask> paddingTop: variables.listItemPadding + 12, <mask> '.bordered': { <mask> height: 50, <mask> paddingVertical: variables.listItemPadding - 8, <mask> paddingTop: variables.listItemPadding + 12, <mask> }, <mask> }, <mask> '.bordered': { <mask> '.noTopB...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
".bordered": { ".noTopBorder": { borderTopWidth: 0
<mask> paddingVertical: variables.listItemPadding - 8, <mask> paddingTop: variables.listItemPadding + 12, <mask> }, <mask> }, <mask> '.bordered': { <mask> '.noTopBorder': { <mask> borderTopWidth: 0, <mask> }, <mask> '.noBottomBorder': { <mask> bo...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
".noBottomBorder": { borderBottomWidth: 0
<mask> '.bordered': { <mask> '.noTopBorder': { <mask> borderTopWidth: 0, <mask> }, <mask> '.noBottomBorder': { <mask> borderBottomWidth: 0, <mask> }, <mask> height: 35, <mask> paddingTop: variables.listItemPadding + 2, <mask> paddingBottom: variabl...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
borderColor: variables.listBorderColor
<mask> paddingTop: variables.listItemPadding + 2, <mask> paddingBottom: variables.listItemPadding, <mask> borderBottomWidth: variables.borderWidth, <mask> borderTopWidth: variables.borderWidth, <mask> borderColor: variables.listBorderColor, <mask> }, <mask> 'NativeBase.Text'...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
"NativeBase.Text": {
<mask> borderBottomWidth: variables.borderWidth, <mask> borderTopWidth: variables.borderWidth, <mask> borderColor: variables.listBorderColor, <mask> }, <mask> 'NativeBase.Text': { <mask> fontSize: variables.tabBarTextSize - 2, <mask> color: '#777', <mask> }, <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
color: "#777"
<mask> borderColor: variables.listBorderColor, <mask> }, <mask> 'NativeBase.Text': { <mask> fontSize: variables.tabBarTextSize - 2, <mask> color: '#777', <mask> }, <mask> '.noTopBorder': { <mask> borderTopWidth: 0, <mask> }, <mask> '.noBottomBorder': { </s> cho...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
".noTopBorder": { borderTopWidth: 0
<mask> 'NativeBase.Text': { <mask> fontSize: variables.tabBarTextSize - 2, <mask> color: '#777', <mask> }, <mask> '.noTopBorder': { <mask> borderTopWidth: 0, <mask> }, <mask> '.noBottomBorder': { <mask> borderBottomWidth: 0, <mask> }, <mask> height: 38, </...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
".noBottomBorder": { borderBottomWidth: 0
<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', </s> chore(): adss ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
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> chore(): adss format script ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
justifyContent: "center", paddingLeft: variables.listItemPadding + 5
<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> chore(): adss format script and formats files </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Separator.js
backgroundColor: "#FFF"
<mask> export default (variables /*: * */ = variable) => { <mask> const swipeRowTheme = { <mask> "NativeBase.ListItem": { <mask> ".list": { <mask> backgroundColor: "#FFF", <mask> }, <mask> marginLeft: 0, <mask> }, <mask> "NativeBase.Left": { <mask> flex: 0, </s> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/SwipeRow.js
marginLeft: 0
<mask> "NativeBase.ListItem": { <mask> ".list": { <mask> backgroundColor: "#FFF", <mask> }, <mask> marginLeft: 0, <mask> }, <mask> "NativeBase.Left": { <mask> flex: 0, <mask> alignSelf: null, <mask> alignItems: null, </s> chore(): adss format script an...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/SwipeRow.js
borderRadius: 0 }
<mask> flex: 1, <mask> alignItems: "center", <mask> justifyContent: "center", <mask> alignSelf: "stretch", <mask> borderRadius: 0, <mask> }, <mask> }, <mask> "NativeBase.Right": { <mask> flex: 0, <mask> alignSelf: null, <mask> alignItems...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/SwipeRow.js
borderRadius: 0 }
<mask> flex: 1, <mask> alignItems: "center", <mask> justifyContent: "center", <mask> alignSelf: "stretch", <mask> borderRadius: 0, <mask> }, <mask> }, <mask> "NativeBase.Button": { <mask> flex: 1, <mask> height: null, <mask> alignItems: ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/SwipeRow.js
borderRadius: 0 }
<mask> height: null, <mask> alignItems: "center", <mask> justifyContent: "center", <mask> alignSelf: "stretch", <mask> borderRadius: 0, <mask> }, <mask> }; <mask> <mask> return swipeRowTheme; <mask> }; </s> chore(): adss format script and formats files </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/SwipeRow.js
marginVertical: -5
<mask> import variable from "./../variables/platform"; <mask> <mask> export default (variables /*: * */ = variable) => { <mask> const switchTheme = { <mask> marginVertical: -5, <mask> }; <mask> <mask> return switchTheme; <mask> }; </s> chore(): adss format script and formats files </s> remove imp...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Switch.js
shadowOffset: platformStyle === "material" ? { width: 0, height: 2 } : undefined,
<mask> elevation: 3, <mask> height: 50, <mask> flexDirection: "row", <mask> shadowColor: platformStyle === "material" ? "#000" : undefined, <mask> shadowOffset: platformStyle === "material" <mask> ? { width: 0, height: 2 } <mask> : undefined, <mask> shadowOpacity: platformSty...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/TabContainer.js
import variable from "./../variables/platform";
<mask> // @flow <mask> <mask> import variable from './../variables/platform'; <mask> <mask> export default (variables /*: * */ = variable) => { <mask> const thumbnailTheme = { <mask> '.square': { <mask> borderRadius: 0, </s> chore(): adss format script and formats files </s> remove '.square'...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
".square": {
<mask> import variable from './../variables/platform'; <mask> <mask> export default (variables /*: * */ = variable) => { <mask> const thumbnailTheme = { <mask> '.square': { <mask> borderRadius: 0, <mask> '.small': { <mask> width: 36, <mask> height: 36, <mask> borderR...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
".small": {
<mask> export default (variables /*: * */ = variable) => { <mask> const thumbnailTheme = { <mask> '.square': { <mask> borderRadius: 0, <mask> '.small': { <mask> width: 36, <mask> height: 36, <mask> borderRadius: 0, <mask> }, <mask> '.large': { </s> chore(...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
borderRadius: 0
<mask> borderRadius: 0, <mask> '.small': { <mask> width: 36, <mask> height: 36, <mask> borderRadius: 0, <mask> }, <mask> '.large': { <mask> width: 80, <mask> height: 80, <mask> borderRadius: 0, </s> chore(): adss format script and forma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
".large": {
<mask> width: 36, <mask> height: 36, <mask> borderRadius: 0, <mask> }, <mask> '.large': { <mask> width: 80, <mask> height: 80, <mask> borderRadius: 0, <mask> }, <mask> }, </s> chore(): adss format script and formats files </s> remove ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
borderRadius: 0 }
<mask> }, <mask> '.large': { <mask> width: 80, <mask> height: 80, <mask> borderRadius: 0, <mask> }, <mask> }, <mask> '.small': { <mask> width: 36, <mask> height: 36, <mask> borderRadius: 18, </s> chore(): adss format script and formats fil...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
".small": {
<mask> height: 80, <mask> borderRadius: 0, <mask> }, <mask> }, <mask> '.small': { <mask> width: 36, <mask> height: 36, <mask> borderRadius: 18, <mask> '.square': { <mask> borderRadius: 0, </s> chore(): adss format script and formats files </s> re...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
".square": { borderRadius: 0 }
<mask> '.small': { <mask> width: 36, <mask> height: 36, <mask> borderRadius: 18, <mask> '.square': { <mask> borderRadius: 0, <mask> }, <mask> }, <mask> '.large': { <mask> width: 80, <mask> height: 80, <mask> borderRadius: 40, </s> chore():...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
".large": {
<mask> '.square': { <mask> borderRadius: 0, <mask> }, <mask> }, <mask> '.large': { <mask> width: 80, <mask> height: 80, <mask> borderRadius: 40, <mask> '.square': { <mask> borderRadius: 0, </s> chore(): adss format script and formats files </s> rem...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
".square": { borderRadius: 0 }
<mask> '.large': { <mask> width: 80, <mask> height: 80, <mask> borderRadius: 40, <mask> '.square': { <mask> borderRadius: 0, <mask> }, <mask> }, <mask> width: 56, <mask> height: 56, <mask> borderRadius: 28, <mask> }; </s> chore(): adss format scri...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
borderRadius: 28
<mask> }, <mask> }, <mask> width: 56, <mask> height: 56, <mask> borderRadius: 28, <mask> }; <mask> <mask> return thumbnailTheme; <mask> }; </s> chore(): adss format script and formats files </s> remove '.square': { borderRadius: 0, }, </s> add ".square": ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/Thumbnail.js
import pickerTheme from "./Picker";
<mask> import cardItemTheme from "./CardItem"; <mask> import listItemTheme from "./ListItem"; <mask> import formTheme from "./Form"; <mask> import separatorTheme from "./Separator"; <mask> import pickerTheme from "./Picker" <mask> import variable from "./../variables/platform"; <mask> <mask> export default (va...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/index.js
if ( style && typeof style === "object" && styleName !== "fontVariant" && styleName !== "transform" ) {
<mask> grandparent[styleName][parentKey] = style; <mask> } <mask> } <mask> } <mask> if (style && typeof style === "object" && styleName !== "fontVariant" && styleName !== "transform") { <mask> cssifyTheme(parent, style, styleName); <mask> } <mask> }); ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/components/index.js
platform === "ios" && (deviceHeight === 812 || deviceWidth === 812 || deviceHeight === 896 || deviceWidth === 896);
<mask> const deviceWidth = Dimensions.get("window").width; <mask> const platform = Platform.OS; <mask> const platformStyle = undefined; <mask> const isIphoneX = <mask> platform === "ios" && (deviceHeight === 812 || deviceWidth === 812 || deviceHeight === 896 || deviceWidth === 896); <mask> <mask> export defau...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/variables/commonColor.js
platform === "ios" && (deviceHeight === 812 || deviceWidth === 812 || deviceHeight === 896 || deviceWidth === 896);
<mask> const deviceWidth = Dimensions.get("window").width; <mask> const platform = Platform.OS; <mask> const platformStyle = "material"; <mask> const isIphoneX = <mask> platform === "ios" && (deviceHeight === 812 || deviceWidth === 812 || deviceHeight === 896 || deviceWidth === 896); <mask> <mask> export defaul...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/variables/material.js
platform === "ios" && (deviceHeight === 812 || deviceWidth === 812 || deviceHeight === 896 || deviceWidth === 896);
<mask> const deviceWidth = Dimensions.get("window").width; <mask> const platform = Platform.OS; <mask> const platformStyle = undefined; <mask> const isIphoneX = <mask> platform === "ios" && (deviceHeight === 812 || deviceWidth === 812 || deviceHeight === 896 || deviceWidth === 896); <mask> <mask> export default...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1e7744d482e9e1e4113f4dce1043f18f53139a19
src/theme/variables/platform.js
import type { IBorderWidth } from '../../theme/base/borders';
<mask> import type { ResponsiveValue } from './responsiveValue'; <mask> // TODO: More BorderProps exists <mask> import type { BorderProps as ssBorderProps } from 'styled-system'; <mask> <mask> export interface BorderProps extends ssBorderProps { <mask> rounded?: ResponsiveValue<CSS.Property.BorderRadius<string...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1f1fec27f435c88314e8eba9241278c9bb051384
src/components/types/BorderProps.ts
borderWidth?: ResponsiveValue< IBorderWidth | CSS.Property.BorderWidth<(string & {}) | number> >; borderTopWidth?: ResponsiveValue< IBorderWidth | CSS.Property.BorderWidth<(string & {}) | number> >; borderBottomWidth?: ResponsiveValue< IBorderWidth | CSS.Property.BorderWidth<(string & {}) | number...
<mask> CSS.Property.BorderRadius<string | number> <mask> >; <mask> roundedRight?: ResponsiveValue<CSS.Property.BorderRadius<string | number>>; <mask> } </s> fix: platform web , borderWidth typing fixes </s> remove 0: 0, 1: '1px', 2: '2px', 4: '4px', 8: '8px', </s> add '0': 0, '1': '1px', '...
[ "keep", "keep", "add", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1f1fec27f435c88314e8eba9241278c9bb051384
src/components/types/BorderProps.ts
'0': 0, '1': '1px', '2': '2px', '4': '4px', '8': '8px',
<mask> const borderWidths = { <mask> 0: 0, <mask> 1: '1px', <mask> 2: '2px', <mask> 4: '4px', <mask> 8: '8px', <mask> }; <mask> <mask> export type IBorderWidth = keyof typeof borderWidths; <mask> <mask> export default borderWidths; </s> fix: platform web , borderWidth typing fixes
[ "keep", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1f1fec27f435c88314e8eba9241278c9bb051384
src/theme/base/borders.ts
import { Box, Stack, Button } from 'native-base';
<mask> import React from 'react'; <mask> import type { NextPage } from 'next'; <mask> import { Text } from 'react-native'; <mask> import { Box, Stack } from 'native-base'; <mask> <mask> const Home: NextPage = () => { <mask> return ( <mask> <Stack space={[20, 40, 80]} direction={['column', 'column', 'row'...
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1ffa22e36418e17be423c8d3751a7af3fa15280c
next-example/pages/index.tsx
<Stack space={[20, 40, 80]}> {/* <Text>hi</Text> */} <Button bg={['red.900', 'light.200', 'lightBlue.100']} // _text={{ color: ['white', 'black', 'red.900'] }} > Text </Button> {/* <Box boxSize="20" bg="red.100"></Box> */}
<mask> import { Box, Stack } from 'native-base'; <mask> <mask> const Home: NextPage = () => { <mask> return ( <mask> <Stack space={[20, 40, 80]} direction={['column', 'column', 'row']}> <mask> <Text>hi</Text> <mask> <Box boxSize="20" bg="red.100"></Box> <mask> </Stack> <mask> ); <mask...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1ffa22e36418e17be423c8d3751a7af3fa15280c
next-example/pages/index.tsx
<mask> { ...props, size: space }, <mask> {}, <mask> { resolveResponsively: ['direction'] } <mask> ); <mask> // console.log(direction); <mask> <mask> console.log(dir, 'DIRECTION', direction); <mask> //TODO: refactor for responsive prop <mask> if (useHasResponsiveProps(props)) { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1ffa22e36418e17be423c8d3751a7af3fa15280c
src/components/primitives/Stack/Stack.tsx
<mask> { resolveResponsively: ['direction'] } <mask> ); <mask> // console.log(direction); <mask> <mask> console.log(dir, 'DIRECTION', direction); <mask> //TODO: refactor for responsive prop <mask> if (useHasResponsiveProps(props)) { <mask> return null; <mask> } <mask> </s> fix: removed ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1ffa22e36418e17be423c8d3751a7af3fa15280c
src/components/primitives/Stack/Stack.tsx
<mask> import { Platform } from 'react-native'; <mask> import { useNativeBase } from '../useNativeBase'; <mask> import { useColorMode } from '../../core/color-mode'; <mask> import { omitUndefined, extractInObject } from '../../theme/tools'; <mask> import { useContrastText } from '../useContrastText'; <mask> impor...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1ffa22e36418e17be423c8d3751a7af3fa15280c
src/hooks/useThemeProps/usePropsResolution.tsx
// const contrastTextColor = useContrastText( // bgColor, // flattenProps?._text?.color // ); // flattenProps._text = // contrastTextColor && flattenProps?._text?.color === undefined // ? { // color: contrastTextColor, // ...flattenProps._text, // } // : flatte...
<mask> } <mask> // // NOTE: seprating bg props when linearGardiant is available <mask> const [gradientProps] = extractInObject(flattenProps, ignore); <mask> <mask> const bgColor = <mask> flattenProps.bg ?? flattenProps.backgroundColor ?? flattenProps.bgColor; <mask> <mask> const contrastTextColo...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/1ffa22e36418e17be423c8d3751a7af3fa15280c
src/hooks/useThemeProps/usePropsResolution.tsx
<mask> import { withKnobs } from '@storybook/addon-knobs'; <mask> import Wrapper from './../../Wrapper'; <mask> import { Example as Usage } from './usage'; <mask> import { Example as Playground } from './Playground'; <mask> import { Example as CenteringChildren } from './centeringChildren'; <mask> <mask> storie...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/composites/Container/index.tsx
.add('Usage', () => <Usage />);
<mask> storiesOf('Container', module) <mask> .addDecorator(withKnobs) <mask> .addDecorator((getStory: any) => <Wrapper>{getStory()}</Wrapper>) <mask> .add('Playground', () => <Playground />) <mask> .add('Usage', () => <Usage />) <mask> .add('CenteringChildren', () => <CenteringChildren />); </s> fix: d...
[ "keep", "keep", "keep", "keep", "replace", "replace" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/composites/Container/index.tsx
<Heading color="emerald.500"> React Ecosystem</Heading>
<mask> return ( <mask> <Container> <mask> <Heading> <mask> A component library for the <mask> <Heading color="emerald.400"> React Ecosystem</Heading> <mask> </Heading> <mask> <Text pt="3" fontWeight="md"> <mask> NativeBase is a simple, modular and accessible compo...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/composites/Container/usage.tsx
<Text mt="3" fontWeight="medium">
<mask> <Heading> <mask> A component library for the <mask> <Heading color="emerald.400"> React Ecosystem</Heading> <mask> </Heading> <mask> <Text pt="3" fontWeight="md"> <mask> NativeBase is a simple, modular and accessible component library that <mask> gives you...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/composites/Container/usage.tsx
<Center mt="4"> <VStack space={2.5}>
<mask> <mask> export function Example() { <mask> return ( <mask> <ScrollView> <mask> <Center> <mask> <VStack space={6}> <mask> {/* flexDirection -> row */} <mask> <Heading>row</Heading> <mask> <Flex direction="row"> <mask> <Center size="16" bg="pr...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Heading size="md">row</Heading> <Flex direction="row" mb="2.5" mt="1.5" _text={{ color: 'coolGray.800' }} > <Center size="16" bg="primary.100">
<mask> <ScrollView> <mask> <Center> <mask> <VStack space={6}> <mask> {/* flexDirection -> row */} <mask> <Heading>row</Heading> <mask> <Flex direction="row"> <mask> <Center size="16" bg="primary.100" _text={{ color: 'gray.800' }}> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center size="16" bg="primary.200">
<mask> <Flex direction="row"> <mask> <Center size="16" bg="primary.100" _text={{ color: 'gray.800' }}> <mask> 100 <mask> </Center> <mask> <Center size="16" bg="primary.200" _text={{ color: 'white' }}> <mask> 200 <mask> </Center...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center bg="primary.300" size="16">
<mask> </Center> <mask> <Center size="16" bg="primary.200" _text={{ color: 'white' }}> <mask> 200 <mask> </Center> <mask> <Center bg="primary.300" size="16" _text={{ color: 'white' }}> <mask> 300 <mask> </Center> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center size="16" bg="primary.400">
<mask> </Center> <mask> <Center bg="primary.300" size="16" _text={{ color: 'white' }}> <mask> 300 <mask> </Center> <mask> <Center size="16" bg="primary.400" _text={{ color: 'white' }}> <mask> 400 <mask> </Center> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Heading size="md">column</Heading> <Flex direction="column" mb="2.5" mt="1.5" _text={{ color: 'coolGray.800' }} > <Center size="16" bg="primary.100">
<mask> </Center> <mask> </Flex> <mask> <Divider /> <mask> {/* flexDirection -> column */} <mask> <Heading>column</Heading> <mask> <Flex direction="column"> <mask> <Center size="16" bg="primary.100" _text={{ color: 'gray.800' }}> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center size="16" bg="primary.200">
<mask> <Flex direction="column"> <mask> <Center size="16" bg="primary.100" _text={{ color: 'gray.800' }}> <mask> 100 <mask> </Center> <mask> <Center size="16" bg="primary.200" _text={{ color: 'white' }}> <mask> 200 <mask> </Cen...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center bg="primary.300" size="16">
<mask> </Center> <mask> <Center size="16" bg="primary.200" _text={{ color: 'white' }}> <mask> 200 <mask> </Center> <mask> <Center bg="primary.300" size="16" _text={{ color: 'white' }}> <mask> 300 <mask> </Center> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center size="16" bg="primary.400">
<mask> </Center> <mask> <Center bg="primary.300" size="16" _text={{ color: 'white' }}> <mask> 300 <mask> </Center> <mask> <Center size="16" bg="primary.400" _text={{ color: 'white' }}> <mask> 400 <mask> </Center> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Heading size="md">row-reverse</Heading> <Flex direction="row-reverse" mb="2.5" mt="1.5" _text={{ color: 'coolGray.800' }} > <Center size="16" bg="primary.100">
<mask> </Center> <mask> </Flex> <mask> <Divider /> <mask> {/* flexDirection -> row-reverse */} <mask> <Heading>row-reverse</Heading> <mask> <Flex direction="row-reverse"> <mask> <Center size="16" bg="primary.100" _text={{ color: 'gray.800'...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center size="16" bg="primary.200">
<mask> <Flex direction="row-reverse"> <mask> <Center size="16" bg="primary.100" _text={{ color: 'gray.800' }}> <mask> 100 <mask> </Center> <mask> <Center size="16" bg="primary.200" _text={{ color: 'white' }}> <mask> 200 <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center bg="primary.300" size="16">
<mask> </Center> <mask> <Center size="16" bg="primary.200" _text={{ color: 'white' }}> <mask> 200 <mask> </Center> <mask> <Center bg="primary.300" size="16" _text={{ color: 'white' }}> <mask> 300 <mask> </Center> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center size="16" bg="primary.400">
<mask> </Center> <mask> <Center bg="primary.300" size="16" _text={{ color: 'white' }}> <mask> 300 <mask> </Center> <mask> <Center size="16" bg="primary.400" _text={{ color: 'white' }}> <mask> 400 <mask> </Center> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Heading size="md">column-reverse</Heading> <Flex direction="column-reverse" mb="2.5" mt="1.5" _text={{ color: 'coolGray.800' }} > <Center size="16" bg="primary.100">
<mask> </Center> <mask> </Flex> <mask> <Divider /> <mask> {/* flexDirection -> column-reverse */} <mask> <Heading>column-reverse</Heading> <mask> <Flex direction="column-reverse"> <mask> <Center size="16" bg="primary.100" _text={{ color: '...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center size="16" bg="primary.200">
<mask> <Flex direction="column-reverse"> <mask> <Center size="16" bg="primary.100" _text={{ color: 'gray.800' }}> <mask> 100 <mask> </Center> <mask> <Center size="16" bg="primary.200" _text={{ color: 'white' }}> <mask> 200 <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center bg="primary.300" size="16">
<mask> </Center> <mask> <Center size="16" bg="primary.200" _text={{ color: 'white' }}> <mask> 200 <mask> </Center> <mask> <Center bg="primary.300" size="16" _text={{ color: 'white' }}> <mask> 300 <mask> </Center> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
<Center size="16" bg="primary.400">
<mask> </Center> <mask> <Center bg="primary.300" size="16" _text={{ color: 'white' }}> <mask> 300 <mask> </Center> <mask> <Center size="16" bg="primary.400" _text={{ color: 'white' }}> <mask> 400 <mask> </Center> <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/basic.tsx
bg="primary.500" _dark={{ bg: 'primary.400' }} rounded="sm" _text={{ color: 'warmGray.50', fontWeight: 'medium', }}
<mask> return ( <mask> <Flex h={40} w={20} mt={6}> <mask> <Center <mask> size={16} <mask> bg="primary.400" <mask> rounded="xl" <mask> _text={{ color: 'white' }} <mask> > <mask> Box 1 <mask> </Center> <mask> <Spacer /> <mask> <Center...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/spacer.tsx
bg="secondary.500" _dark={{ bg: 'secondary.400' }} rounded="sm" _text={{ color: 'warmGray.50', fontWeight: 'medium', }}
<mask> </Center> <mask> <Spacer /> <mask> <Center <mask> size={16} <mask> bg="secondary.400" <mask> rounded="xl" <mask> _text={{ color: 'white' }} <mask> > <mask> Box 2 <mask> </Center> <mask> </Flex> <mask> ); </s> fix: design dar...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
example/storybook/stories/components/primitives/Flex/spacer.tsx
bg: mode('coolGray.200', 'gray.500')(props),
<mask> height: `${size}px`, <mask> }; <mask> <mask> return { <mask> bg: mode('muted.200', 'muted.500')(props), <mask> ...orientationProps, <mask> }; <mask> } <mask> <mask> export default { </s> fix: design dark mode (#4048) * fix: design dark mode * fix: margin * fix: s...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
src/theme/components/divider.ts
color: mode('coolGray.800', 'warmGray.50')(props),
<mask> import { mode } from './../tools'; <mask> <mask> const baseStyle = (props: Record<string, any>) => { <mask> return { <mask> color: mode('coolGray.800', 'white')(props), <mask> fontWeight: '400', <mask> fontFamily: 'body', <mask> fontStyle: 'normal', <mask> fontSize: 'sm', <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2004c89af1550155876e90cf31f43774609f4a97
src/theme/components/text.ts
const text = this.state.currentLabel ? this.state.currentLabel : this.props.defaultLabel;
<mask> } <mask> <mask> renderButton() { <mask> const onPress = () => { this._setModalVisible(true); }; <mask> if (this.props.renderButton) { <mask> return this.props.renderButton(onPress, text, this); <mask> } <mask> return <Button </s> added text and reordered renderButton args base...
[ "keep", "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/20dd4a9b617ea6cecd87bcbf34ea061e5c13f6df
src/basic/Picker.ios.js
return this.props.renderButton(onPress, text, this);
<mask> <mask> renderButton() { <mask> const onPress = () => { this._setModalVisible(true); }; <mask> if (this.props.renderButton) { <mask> return this.props.renderButton(this, onPress); <mask> } <mask> return <Button <mask> style={this.props.style} <mask> dark <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/20dd4a9b617ea6cecd87bcbf34ea061e5c13f6df
src/basic/Picker.ios.js
<Text note={(this.props.note)} style={this.props.textStyle}>{text}</Text>
<mask> picker <mask> transparent <mask> onPress={onPress} <mask> > <mask> <Text note={(this.props.note)} style={this.props.textStyle}>{this.state.currentLabel ? this.state.currentLabel : this.props.defaultLabel}</Text> <mask> {(this.props.iosIcon === undefined) ? null : this.rend...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/20dd4a9b617ea6cecd87bcbf34ea061e5c13f6df
src/basic/Picker.ios.js
import type { ColorSchemeType, PlatformProps } from '../../../components/types';
<mask> import type { InterfacePressableProps } from '../../primitives/Pressable/types'; <mask> import type { IIconProps } from '../../primitives/Icon'; <mask> import type { ColorSchemeType } from '../../../components/types'; <mask> <mask> import type { CustomProps, VariantType } from '../../types'; <mask> import...
[ "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/23baa80c96a1afd7b7aefb39abf70595659161e5
src/components/composites/IconButton/types.ts
extends Omit< InterfacePressableProps, 'children' | 'color' | '_light' | '_dark' | '_web' | '_android' | '_ios' >,
<mask> <mask> import type { CustomProps, VariantType } from '../../types'; <mask> import type { ThemeComponentSizeType } from '../../../components/types/utils'; <mask> export interface InterfaceIconButtonProps <mask> extends Omit<InterfacePressableProps, 'children' | 'color'>, <mask> Omit< <mask> II...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/23baa80c96a1afd7b7aefb39abf70595659161e5
src/components/composites/IconButton/types.ts
>, PlatformProps<IIconButtonProps> {
<mask> | '_dark' <mask> | '_web' <mask> | '_android' <mask> | '_ios' <mask> > { <mask> /** <mask> * The color of the radio when it's checked. This should be one of the color keys in the theme (e.g."green", "red"). <mask> * @default 'primary' <mask> */ <mask> colorSchem...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/23baa80c96a1afd7b7aefb39abf70595659161e5
src/components/composites/IconButton/types.ts
<mask> import { useFormControlContext } from './useFormControl'; <mask> import { usePropsResolution } from '../../../hooks/useThemeProps'; <mask> import type { IFormControlLabelProps } from './types'; <mask> import { mergeRefs } from '../../../utils'; <mask> import { useHasResponsiveProps } from '../../../hooks/us...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/23da5739177c0bd28e1e575efc95bfe419d466f1
src/components/composites/FormControl/FormControlLabel.tsx
//@ts-ignore
<mask> <Text <mask> _web={{ <mask> accessibilityHidden: true, <mask> accessibilityRole: 'presentation', <mask> }} <mask> color={astrickColor} <mask> > <mask> * <mask> </Text> </s> fix: platform web typing fixes </s> remove //TODO: refactor for responsive p...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/23da5739177c0bd28e1e575efc95bfe419d466f1
src/components/composites/FormControl/FormControlLabel.tsx
<mask> _ref.current.htmlFor = formControlContext.nativeID; <mask> } <mask> } <mask> }, [formControlContext?.nativeID, props.htmlFor]); <mask> //TODO: refactor for responsive prop <mask> if (useHasResponsiveProps(props)) { <mask> return null; <mask> } <mask> return ( <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/23da5739177c0bd28e1e575efc95bfe419d466f1
src/components/composites/FormControl/FormControlLabel.tsx
//@ts-ignore
<mask> flexDirection="row" <mask> justifyContent="flex-start" <mask> _web={{ <mask> accessibilityRole: 'label', <mask> }} <mask> {...reslovedProps} <mask> nativeID={formControlContext?.labelId} </s> fix: platform web typing fixes </s> remove //TODO: refactor for res...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/23da5739177c0bd28e1e575efc95bfe419d466f1
src/components/composites/FormControl/FormControlLabel.tsx
componentWillReceiveProps (nextProps) { const { props: {direction,position} } = this; if(this.props.direction) { if(this.props.direction === 'up') { this.upAnimate(nextProps.active); } else if (this.props.direction === 'left') { this.leftAnimate(nextProps.acti...
<mask> }).start(); <mask> } <mask> } <mask> <mask> else if (this.props.direction === 'right') { <mask> this.rightAnimate(nextProps.active); <mask> } <mask> else if(this.props.direction === 'down') { <mask> this.downAnimate(nextProps.active); </s>...
[ "keep", "keep", "add", "keep", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/241430122e2f27f3d67dca65b2fe1dae8d6e0d6a
Components/Widgets/Fab.js
downAnimate(bool) { if (bool) {
<mask> }).start(); <mask> } <mask> } <mask> <mask> downAnimate() { <mask> if (!this.state.active) { <mask> Animated.spring(this.containerHeight, { <mask> toValue: (56) <mask> }).start(); <mask> Animated.spring(this.buttonScale, { <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/241430122e2f27f3d67dca65b2fe1dae8d6e0d6a
Components/Widgets/Fab.js
<mask> }).start(); <mask> } <mask> } <mask> <mask> _animate() { <mask> <mask> const { props: {direction,position} } = this; <mask> if(this.props.direction) { <mask> if(this.props.direction === 'up') { <mask> this.upAnimate(); <mask> } <mask> ...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "replace", "re...
https://github.com/GeekyAnts/NativeBase/commit/241430122e2f27f3d67dca65b2fe1dae8d6e0d6a
Components/Widgets/Fab.js
const { ...resolvedProps } = usePropsResolution('FlatList', props);
<mask> <mask> const StyledFlatList: any = makeStyledBox(RNFlatList); <mask> <mask> export const FlatList = forwardRef((props: IFlatListProps, ref: any) => { <mask> const { ...resolvedProps } = usePropsResolution('FlatList', props, { <mask> ignoreProps: ['data', 'renderItem', 'keyExtractor'], <mask> });...
[ "keep", "keep", "keep", "keep", "replace", "replace", "replace", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2414fd352793a5bc0b9240cf65d6efb3f26c0367
src/components/basic/FlatList/FlatList.tsx
import { makeStyledComponent } from '../../../utils/styled';
<mask> import React, { forwardRef } from 'react'; <mask> import { KeyboardAvoidingView as RNKeyboardAvoidingView } from 'react-native'; <mask> import { usePropsResolution } from '../../../hooks'; <mask> import { makeStyledBox } from '../../../utils/styled'; <mask> import type { IKeyboardAvoidingViewProps } from '....
[ "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2414fd352793a5bc0b9240cf65d6efb3f26c0367
src/components/basic/KeyboardAvoidingView/KeyboardAvoidingView.tsx
const StyledKeyboardAvoidingView: any = makeStyledComponent( RNKeyboardAvoidingView );
<mask> import { usePropsResolution } from '../../../hooks'; <mask> import { makeStyledBox } from '../../../utils/styled'; <mask> import type { IKeyboardAvoidingViewProps } from './types'; <mask> <mask> const StyledKeyboardAvoidingView: any = makeStyledBox(RNKeyboardAvoidingView); <mask> <mask> export const Key...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2414fd352793a5bc0b9240cf65d6efb3f26c0367
src/components/basic/KeyboardAvoidingView/KeyboardAvoidingView.tsx
import { makeStyledComponent } from '../../../utils/styled';
<mask> import { <mask> usePropsResolution, <mask> useStyledSystemPropsResolver, <mask> } from '../../../hooks'; <mask> import { makeStyledBox } from '../../../utils/styled'; <mask> import type { IScrollViewProps } from './types'; <mask> <mask> const StyledScrollView: any = makeStyledBox(RNScrollView); <ma...
[ "keep", "keep", "keep", "keep", "replace", "keep", "keep", "keep", "keep", "keep" ]
https://github.com/GeekyAnts/NativeBase/commit/2414fd352793a5bc0b9240cf65d6efb3f26c0367
src/components/basic/ScrollView/ScrollView.tsx