magneto365.ui 2.75.9-alpha → 2.75.9
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
CHANGED
|
@@ -325,7 +325,7 @@ var Component$3e = function (_a) {
|
|
|
325
325
|
};
|
|
326
326
|
var iconSrc = React.useMemo(function () { return (!imageError ? icon !== null && icon !== void 0 ? icon : undefined : fallbackIcon); }, [fallbackIcon, imageError, icon]);
|
|
327
327
|
var isHover = hover ? cx$1m('magneto-ui-hover') : '';
|
|
328
|
-
var customStyle = size ? { width: size + 'px' } : {};
|
|
328
|
+
var customStyle = size ? { width: size + 'px', height: size + 'px' } : {};
|
|
329
329
|
if (!iconSrc && !showDefaultFallback)
|
|
330
330
|
return null;
|
|
331
331
|
return (React__default["default"].createElement(React.Fragment, null, icon && (React__default["default"].createElement("img", { "data-name": "icon", style: customStyle, className: cx$1m('magneto-ui-icon', { 'magneto-ui-rotate': isRotate }, isHover, className), src: iconSrc, alt: alt !== null && alt !== void 0 ? alt : "".concat(icon, " icon item"), loading: "lazy", width: '25px', onError: handleError }))));
|
|
@@ -4465,7 +4465,7 @@ var InputPlus = function (_a) {
|
|
|
4465
4465
|
|
|
4466
4466
|
var styles$1O = {"magneto-ui-job-actions":"mg_job_actions_magneto-ui-job-actions_1awr3","magneto-ui-job-actions__button-wrapper":"mg_job_actions_magneto-ui-job-actions_button-wrapper_1awr3","magneto-ui-job-actions__buttons-wrapper":"mg_job_actions_magneto-ui-job-actions_buttons-wrapper_1awr3","magneto-ui-job-actions__icon-wrapper":"mg_job_actions_magneto-ui-job-actions_icon-wrapper_1awr3","magneto-ui-job-actions__icon-anchor":"mg_job_actions_magneto-ui-job-actions_icon-anchor_1awr3","magneto-ui__external-child":"mg_job_actions_magneto-ui_external-child_1awr3"};
|
|
4467
4467
|
|
|
4468
|
-
var style$N = {"popover":"
|
|
4468
|
+
var style$N = {"popover":"mg_share_popover_popover_1i6gd","popover--hidden":"mg_share_popover_popover--hidden_1i6gd","popover__btn":"mg_share_popover_popover_btn_1i6gd","content":"mg_share_popover_content_1i6gd","content__link":"mg_share_popover_content_link_1i6gd","content__share":"mg_share_popover_content_share_1i6gd"};
|
|
4469
4469
|
|
|
4470
4470
|
var styles$1N = {"tooltip-container":"mg_tooltip_tooltip-container_6uf1v","tooltip":"mg_tooltip_tooltip_6uf1v","tooltip-text":"mg_tooltip_tooltip-text_6uf1v","tooltip-top":"mg_tooltip_tooltip-top_6uf1v","tooltip-bottom":"mg_tooltip_tooltip-bottom_6uf1v","tooltip-left":"mg_tooltip_tooltip-left_6uf1v","tooltip-right":"mg_tooltip_tooltip-right_6uf1v"};
|
|
4471
4471
|
|
|
@@ -4485,7 +4485,7 @@ var Component$1U = function (_a) {
|
|
|
4485
4485
|
var title = _a.title, href = _a.href, ariaLabel = _a.ariaLabel, icon = _a.icon, name = _a.name;
|
|
4486
4486
|
return (React__default["default"].createElement("li", { key: "".concat(title, "-").concat(index) },
|
|
4487
4487
|
React__default["default"].createElement("a", { title: title, href: href, target: "_blank", rel: "noreferrer", "aria-label": ariaLabel, className: style$N['content__link'], onClick: function () { return setShow(false); } },
|
|
4488
|
-
React__default["default"].createElement(IconItem, { size:
|
|
4488
|
+
React__default["default"].createElement(IconItem, { size: 20, icon: name ? ShareIcons[name].icon : icon }),
|
|
4489
4489
|
React__default["default"].createElement("span", null, title))));
|
|
4490
4490
|
}),
|
|
4491
4491
|
React__default["default"].createElement("li", { className: style$N['content__share'] },
|
|
@@ -4882,7 +4882,7 @@ var Component$1P = function (_a) {
|
|
|
4882
4882
|
Component$1P.displayName = 'JobDetails';
|
|
4883
4883
|
var JobDetails = Component$1P;
|
|
4884
4884
|
|
|
4885
|
-
var styles$1E = {"magneto-ui-job-footer-card":"mg_job_footer_card_magneto-ui-job-footer-
|
|
4885
|
+
var styles$1E = {"magneto-ui-job-footer-card":"mg_job_footer_card_magneto-ui-job-footer-card_oo5go","magneto-ui-job-footer-card__icons":"mg_job_footer_card_magneto-ui-job-footer-card_icons_oo5go","magneto-ui-job-footer-card__wrapper":"mg_job_footer_card_magneto-ui-job-footer-card_wrapper_oo5go","magneto-ui__share-button":"mg_job_footer_card_magneto-ui_share-button_oo5go"};
|
|
4886
4886
|
|
|
4887
4887
|
var Component$1O = function (_a) {
|
|
4888
4888
|
var offerFooterHeader = _a.offerFooterHeader, offerCompanyLogo = _a.offerCompanyLogo, offerFooterList = _a.offerFooterList, iconList = _a.iconList, shareButtonProps = _a.shareButtonProps, companyImgAlt = _a.companyImgAlt, companyName = _a.companyName;
|