@mailstep/design-system 0.7.74-beta.1 → 0.7.74-beta.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mailstep/design-system",
3
- "version": "0.7.74-beta.1",
3
+ "version": "0.7.74-beta.2",
4
4
  "license": "ISC",
5
5
  "type": "module",
6
6
  "main": "./ui/index.js",
@@ -266,7 +266,7 @@ var Icon = function (_a) {
266
266
  var flipProp = (namedIcon && Array.isArray(namedIcon) && namedIcon[1]) || undefined;
267
267
  if (icons[icon]) {
268
268
  var IconComponent = icons[icon];
269
- return _jsx(IconComponent, { fill: colorFill, stroke: colorStroke });
269
+ return (_jsx(FaIconSizing, { size: size, className: className !== null && className !== void 0 ? className : '', "$colorSecondary": colorSecondary, "$fixedWidth": fixedWidth, children: _jsx(IconComponent, { fill: colorFill, stroke: colorStroke }) }));
270
270
  }
271
271
  return (_jsx(FaIconSizing, { size: size, className: className !== null && className !== void 0 ? className : '', "$colorSecondary": colorSecondary, "$fixedWidth": fixedWidth, children: _jsx(FontAwesomeIcon, { color: colorFill, flip: flipProp, icon: iconProp, className: "faIcon ".concat(fixedWidth ? 'fa-fw' : '', " ").concat(spinning ? 'fa-spin' : '') }) }));
272
272
  };