diff --git a/src/Components/Button/ButtonBase/ButtonBase.js b/src/Components/Button/ButtonBase/ButtonBase.js
index 19b08fde..35db57c4 100644
--- a/src/Components/Button/ButtonBase/ButtonBase.js
+++ b/src/Components/Button/ButtonBase/ButtonBase.js
@@ -55,6 +55,7 @@ class ButtonBase extends Component {
textStyle,
typeTextColor,
theme,
+ hideLabel,
useInputCasing,
} = this.props;
@@ -65,7 +66,7 @@ class ButtonBase extends Component {
style={[
theme.buttonText,
{
- color: typeTextColor,
+ color: hideLabel ? 'transparent' : typeTextColor,
fontSize: theme.buttonText.fontSize,
letterSpacing: theme.buttonText.letterSpacing,
},
@@ -160,6 +161,7 @@ class ButtonBase extends Component {
alignItems: 'center',
justifyContent: 'center',
flexDirection: hideLabel ? 'column' : 'row',
+ padding: hideLabel ? 18 : 0,
width: fullWidth ? '100%' : 'auto',
minWidth: 64,
height: densityHeight,
diff --git a/src/Components/Button/ContainedButton/ContainedButton.stories.js b/src/Components/Button/ContainedButton/ContainedButton.stories.js
index 798d85a4..47731dca 100644
--- a/src/Components/Button/ContainedButton/ContainedButton.stories.js
+++ b/src/Components/Button/ContainedButton/ContainedButton.stories.js
@@ -108,7 +108,7 @@ export default storiesOf('Components|Buttons/Contained Button', module)
}
type="contained"
iconPosition={'right'}
@@ -170,7 +170,7 @@ export default storiesOf('Components|Buttons/Contained Button', module)
))
.add('density', () => (
-
+
-
+
}
/>
-
-
@@ -334,13 +335,14 @@ export default storiesOf('Components|Buttons/Contained Button', module)
density={-2}
radius={0}
loading
+ hideLabel
type="contained"
- icon={}
/>
}
/>
diff --git a/src/Components/Button/FlatButton/FlatButton.stories.js b/src/Components/Button/FlatButton/FlatButton.stories.js
index 97e53624..c93e8dab 100644
--- a/src/Components/Button/FlatButton/FlatButton.stories.js
+++ b/src/Components/Button/FlatButton/FlatButton.stories.js
@@ -306,12 +306,13 @@ export default storiesOf('Components|Buttons/Flat Button', module)
flexWrap: 'wrap',
marginBottom: 20,
}}>
-
+
}
/>
@@ -319,6 +320,7 @@ export default storiesOf('Components|Buttons/Flat Button', module)
text={'Settings'}
color={'#FF5722'}
loading
+ hideLabel
radius={60}
type="flat"
/>
@@ -328,6 +330,7 @@ export default storiesOf('Components|Buttons/Flat Button', module)
density={-2}
radius={0}
loading
+ hideLabel
type="flat"
icon={}
/>
@@ -335,6 +338,7 @@ export default storiesOf('Components|Buttons/Flat Button', module)
text={'Archive'}
color={'#009688'}
loading
+ hideLabel
type="flat"
icon={}
/>
diff --git a/src/Components/Button/OutlinedButton/OutlinedButton.stories.js b/src/Components/Button/OutlinedButton/OutlinedButton.stories.js
index 0bb37829..8f9b2412 100644
--- a/src/Components/Button/OutlinedButton/OutlinedButton.stories.js
+++ b/src/Components/Button/OutlinedButton/OutlinedButton.stories.js
@@ -108,7 +108,7 @@ export default storiesOf('Components|Buttons/Outlined Button', module)
}
type="outlined"
iconPosition={'right'}
@@ -170,7 +170,7 @@ export default storiesOf('Components|Buttons/Outlined Button', module)
))
.add('density', () => (
-
+
-
-
-
+
+
+
+
-
))
diff --git a/src/Components/Button/TextButton/TextButton.stories.js b/src/Components/Button/TextButton/TextButton.stories.js
index 9326ea8a..2635d9b4 100644
--- a/src/Components/Button/TextButton/TextButton.stories.js
+++ b/src/Components/Button/TextButton/TextButton.stories.js
@@ -101,7 +101,7 @@ export default storiesOf('Components|Buttons/Text Button', module)
}
iconPosition={'right'}
/>
@@ -153,7 +153,7 @@ export default storiesOf('Components|Buttons/Text Button', module)
))
.add('density', () => (
-
+
-
+
}
/>
-
+
}
/>
}
/>
-
+
))
.add('disabled', () => (
diff --git a/src/Components/DataTable/DataTableHeader/__snapshots__/DataTableHeader.test.js.snap b/src/Components/DataTable/DataTableHeader/__snapshots__/DataTableHeader.test.js.snap
index 2c2586fc..db9c6c14 100644
--- a/src/Components/DataTable/DataTableHeader/__snapshots__/DataTableHeader.test.js.snap
+++ b/src/Components/DataTable/DataTableHeader/__snapshots__/DataTableHeader.test.js.snap
@@ -9,7 +9,7 @@ exports[`DataTableHeader Renders 1`] = `
"flexDirection": "row",
"height": 64,
"minWidth": "auto",
- "paddingHorizontal": 16,
+ "paddingVertical": 20,
"width": "100%",
},
undefined,
@@ -18,12 +18,18 @@ exports[`DataTableHeader Renders 1`] = `
>