@mackin.com/styleguide 7.1.0-beta.2 → 7.1.0-beta.3

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 +3 -3
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -2402,7 +2402,7 @@ const OmniLink = (props) => {
2402
2402
  line-height: ${theme.controls.heightSmall};
2403
2403
  `}
2404
2404
  `;
2405
- const mainClassName = css.cx('omniLink', props.className);
2405
+ const mainClassName = css.cx('omniLink', linkStyles, props.className);
2406
2406
  const content = React__namespace.createElement(React__namespace.Fragment, null,
2407
2407
  React__namespace.createElement("span", null,
2408
2408
  props.leftIcon && React__namespace.createElement("span", { className: css.css({
@@ -2417,9 +2417,9 @@ const OmniLink = (props) => {
2417
2417
  verticalAlign: 'middle'
2418
2418
  }) }, props.rightIcon));
2419
2419
  if (props.noRouter) {
2420
- return (React__namespace.createElement("a", { title: props.title, target: props.target, className: css.cx(mainClassName, linkStyles), href: props.href, onClick: props.onClick }, content));
2420
+ return (React__namespace.createElement("a", { title: props.title, target: props.target, className: mainClassName, href: props.href, onClick: props.onClick }, content));
2421
2421
  }
2422
- return (React__namespace.createElement(reactRouterDom.Link, { title: props.title, className: css.cx(mainClassName, linkStyles), onClick: props.onClick, to: props.href }, content));
2422
+ return (React__namespace.createElement(reactRouterDom.Link, { title: props.title, className: mainClassName, onClick: props.onClick, to: props.href }, content));
2423
2423
  };
2424
2424
 
2425
2425
  const ProgressBar = (props) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mackin.com/styleguide",
3
- "version": "7.1.0-beta.2",
3
+ "version": "7.1.0-beta.3",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",