react-native-material-ui
Advanced tools
Comparing version 1.11.1 to 1.12.0
{ | ||
"name": "react-native-material-ui", | ||
"version": "1.11.1", | ||
"version": "1.12.0", | ||
"description": "React Native Material Design Components", | ||
@@ -5,0 +5,0 @@ "main": "./index.js", |
@@ -24,6 +24,2 @@ /* eslint-disable import/no-unresolved, import/extensions */ | ||
], | ||
actionsInnerContainer: [ | ||
dialog.actionsInnerContainer, | ||
props.style.actionsInnerContainer, | ||
], | ||
}; | ||
@@ -40,5 +36,3 @@ } | ||
<View style={styles.actionsContainer}> | ||
<View style={styles.actionsInnerContainer}> | ||
{children} | ||
</View> | ||
{children} | ||
</View> | ||
@@ -45,0 +39,0 @@ ); |
@@ -50,9 +50,14 @@ /* eslint-disable import/no-unresolved, import/extensions */ | ||
{actions.map(action => | ||
<View key={action} style={{ marginLeft: 8 }}> | ||
<Button | ||
primary | ||
text={action} | ||
onPress={this.onActionPressed} | ||
/> | ||
</View>, | ||
<Button | ||
key={action} | ||
primary | ||
text={action} | ||
onPress={this.onActionPressed} | ||
style={{ | ||
container: { | ||
marginLeft: 8, | ||
paddingHorizontal: 8, | ||
}, | ||
}} | ||
/> | ||
)} | ||
@@ -59,0 +64,0 @@ </View> |
@@ -16,2 +16,3 @@ import * as COLOR from './styles/colors'; | ||
export { default as DialogDefaultActions } from './Dialog/DialogDefaultActions.react'; | ||
export { default as DialogStackedActions } from './Dialog/DialogStackedActions.react'; | ||
export { default as Divider } from './Divider'; | ||
@@ -18,0 +19,0 @@ export { default as Drawer } from './Drawer'; |
@@ -230,6 +230,6 @@ /* eslint-disable import/no-unresolved, import/extensions */ | ||
paddingTop: 24, | ||
paddingHorizontal: 24, | ||
}, | ||
titleContainer: { | ||
paddingBottom: 20, | ||
paddingHorizontal: 24, | ||
}, | ||
@@ -244,15 +244,16 @@ titleText: { | ||
paddingBottom: 24, | ||
paddingHorizontal: 24, | ||
}, | ||
// TODO: merge actionsContainer with actionsInnerContainer | ||
actionsContainer: { | ||
height: 56, | ||
alignItems: 'flex-end', | ||
justifyContent: 'center', | ||
}, | ||
actionsInnerContainer: { | ||
margin: 8, | ||
}, | ||
defaultActionsContainer: { | ||
marginHorizontal: 8, | ||
height: 52, | ||
flexDirection: 'row', | ||
alignItems: 'center', | ||
justifyContent: 'flex-end', | ||
}, | ||
stackedActionsContainer: { | ||
marginBottom: 8, | ||
}, | ||
}, theme.dialog)), | ||
@@ -259,0 +260,0 @@ checkbox: StyleSheet.create(merge({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
245197
88
4979