@mackin.com/styleguide 8.1.0 → 8.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -2
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -823,11 +823,11 @@ const Text = (props) => {
823
823
  if (props.leftPad) {
824
824
  style.paddingLeft = props.leftPad;
825
825
  }
826
- const styles = css.css({
826
+ const styles = css.css(getTagStyles(theme, tagChoice), {
827
827
  userSelect: 'text',
828
828
  label: 'Text',
829
829
  fontSize: props.fontSize ? props.fontSize : undefined
830
- }, getTagStyles(theme, tagChoice), alignStyles[(_a = props.align) !== null && _a !== void 0 ? _a : 'left'], props.smaller && { fontSize: theme.fonts.sizeSmall }, props.larger && { fontSize: theme.fonts.sizeLarge }, props.italics && { fontStyle: 'italic' }, props.ellipsis && {
830
+ }, alignStyles[(_a = props.align) !== null && _a !== void 0 ? _a : 'left'], props.smaller && { fontSize: theme.fonts.sizeSmall }, props.larger && { fontSize: theme.fonts.sizeLarge }, props.italics && { fontStyle: 'italic' }, props.ellipsis && {
831
831
  overflow: 'hidden',
832
832
  whiteSpace: 'nowrap',
833
833
  textOverflow: 'ellipsis'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mackin.com/styleguide",
3
- "version": "8.1.0",
3
+ "version": "8.1.1",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",