magneto365.ui 2.59.2 → 2.59.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.
- package/dist/cjs/index.js +3 -2
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/atoms/Button/Button.interface.d.ts +3 -2
- package/dist/cjs/types/components/UI/atoms/index.d.ts +1 -0
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/atoms/Button/Button.interface.d.ts +3 -2
- package/dist/esm/types/components/UI/atoms/index.d.ts +1 -0
- package/dist/index.d.ts +47 -2
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -4415,9 +4415,9 @@ var styles$1d = {"magneto-ui-button":"mg_button_magneto-ui-button_2zrcl","magnet
|
|
|
4415
4415
|
var Component$1r = function (_a) {
|
|
4416
4416
|
var buttonText = _a.buttonText, buttonTitle = _a.buttonTitle, addHover = _a.addHover, onClick = _a.onClick, suffixIcon = _a.suffixIcon, prefixIcon = _a.prefixIcon, className = _a.className, _b = _a.iconSize, iconSize = _b === void 0 ? 20 : _b;
|
|
4417
4417
|
return (React__default["default"].createElement("button", { className: "".concat(className, " ").concat(styles$1d['magneto-ui-button'], " ").concat(addHover ? styles$1d['hover-effect'] : '', " "), type: "button", onClick: onClick, title: buttonTitle },
|
|
4418
|
-
suffixIcon
|
|
4418
|
+
typeof suffixIcon === 'string' ? (React__default["default"].createElement(IconItem, { size: iconSize, icon: suffixIcon, hover: addHover, className: styles$1d['magneto-ui-button__icon'] })) : (suffixIcon),
|
|
4419
4419
|
buttonText && React__default["default"].createElement("p", { className: styles$1d['magneto-ui-button__mobile-text'] }, buttonText),
|
|
4420
|
-
prefixIcon
|
|
4420
|
+
typeof prefixIcon === 'string' ? (React__default["default"].createElement(IconItem, { size: iconSize, icon: prefixIcon, hover: addHover, className: styles$1d['magneto-ui-button__icon'] })) : (prefixIcon)));
|
|
4421
4421
|
};
|
|
4422
4422
|
/**
|
|
4423
4423
|
* UI Atom Component of Save Button
|
|
@@ -8408,6 +8408,7 @@ exports.BrandsMenuPopover = BrandsMenuPopover$1;
|
|
|
8408
8408
|
exports.Breadcrumb = Breadcrumb;
|
|
8409
8409
|
exports.Breadcrumbs = Breadcrumbs;
|
|
8410
8410
|
exports.Button = Button;
|
|
8411
|
+
exports.ButtonLink = ButtonLink;
|
|
8411
8412
|
exports.Checkbox = Checkbox;
|
|
8412
8413
|
exports.CitiesDetailDrawer = CitiesDetailDrawer;
|
|
8413
8414
|
exports.ComparativeCounter = ComparativeCounter;
|