@mailstep/design-system 0.7.82 → 0.7.83-beta.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.
- package/package.json +1 -1
- package/ui/Elements/Icon/Icon.js +1 -1
- package/ui/index.es.js +3987 -3973
- package/ui/index.umd.js +166 -166
package/package.json
CHANGED
package/ui/Elements/Icon/Icon.js
CHANGED
|
@@ -265,7 +265,7 @@ var Icon = function (_a) {
|
|
|
265
265
|
}, [icon, style, namedIcon]);
|
|
266
266
|
var flipProp = (namedIcon && Array.isArray(namedIcon) && namedIcon[1]) || undefined;
|
|
267
267
|
var IconComponent = icons[icon];
|
|
268
|
-
return (_jsx(FaIconSizing, { size: size, className: className !== null && className !== void 0 ? className : '', "$colorSecondary": colorSecondary, "$fixedWidth": fixedWidth, children: IconComponent ? _jsx(IconComponent, { fill: colorFill, stroke: colorStroke }) : (_jsx(FontAwesomeIcon, { color: colorFill, flip: flipProp, icon: iconProp, className: "faIcon ".concat(fixedWidth ? 'fa-fw' : '', " ").concat(spinning ? 'fa-spin' : '') })) }));
|
|
268
|
+
return (_jsx(FaIconSizing, { size: size, className: className !== null && className !== void 0 ? className : '', "$colorSecondary": colorSecondary, "$fixedWidth": fixedWidth, children: IconComponent ? _jsx(IconComponent, { fill: colorFill, stroke: colorStroke, width: size, height: size }) : (_jsx(FontAwesomeIcon, { color: colorFill, flip: flipProp, icon: iconProp, className: "faIcon ".concat(fixedWidth ? 'fa-fw' : '', " ").concat(spinning ? 'fa-spin' : '') })) }));
|
|
269
269
|
};
|
|
270
270
|
export default Icon;
|
|
271
271
|
var templateObject_1;
|