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/esm/index.js
CHANGED
|
@@ -316,7 +316,7 @@ var Component$3e = function (_a) {
|
|
|
316
316
|
};
|
|
317
317
|
var iconSrc = useMemo(function () { return (!imageError ? icon !== null && icon !== void 0 ? icon : undefined : fallbackIcon); }, [fallbackIcon, imageError, icon]);
|
|
318
318
|
var isHover = hover ? cx$1m('magneto-ui-hover') : '';
|
|
319
|
-
var customStyle = size ? { width: size + 'px' } : {};
|
|
319
|
+
var customStyle = size ? { width: size + 'px', height: size + 'px' } : {};
|
|
320
320
|
if (!iconSrc && !showDefaultFallback)
|
|
321
321
|
return null;
|
|
322
322
|
return (React.createElement(Fragment, null, icon && (React.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 }))));
|
|
@@ -4456,7 +4456,7 @@ var InputPlus = function (_a) {
|
|
|
4456
4456
|
|
|
4457
4457
|
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"};
|
|
4458
4458
|
|
|
4459
|
-
var style$N = {"popover":"
|
|
4459
|
+
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"};
|
|
4460
4460
|
|
|
4461
4461
|
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"};
|
|
4462
4462
|
|
|
@@ -4476,7 +4476,7 @@ var Component$1U = function (_a) {
|
|
|
4476
4476
|
var title = _a.title, href = _a.href, ariaLabel = _a.ariaLabel, icon = _a.icon, name = _a.name;
|
|
4477
4477
|
return (React.createElement("li", { key: "".concat(title, "-").concat(index) },
|
|
4478
4478
|
React.createElement("a", { title: title, href: href, target: "_blank", rel: "noreferrer", "aria-label": ariaLabel, className: style$N['content__link'], onClick: function () { return setShow(false); } },
|
|
4479
|
-
React.createElement(IconItem, { size:
|
|
4479
|
+
React.createElement(IconItem, { size: 20, icon: name ? ShareIcons[name].icon : icon }),
|
|
4480
4480
|
React.createElement("span", null, title))));
|
|
4481
4481
|
}),
|
|
4482
4482
|
React.createElement("li", { className: style$N['content__share'] },
|
|
@@ -4873,7 +4873,7 @@ var Component$1P = function (_a) {
|
|
|
4873
4873
|
Component$1P.displayName = 'JobDetails';
|
|
4874
4874
|
var JobDetails = Component$1P;
|
|
4875
4875
|
|
|
4876
|
-
var styles$1E = {"magneto-ui-job-footer-card":"mg_job_footer_card_magneto-ui-job-footer-
|
|
4876
|
+
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"};
|
|
4877
4877
|
|
|
4878
4878
|
var Component$1O = function (_a) {
|
|
4879
4879
|
var offerFooterHeader = _a.offerFooterHeader, offerCompanyLogo = _a.offerCompanyLogo, offerFooterList = _a.offerFooterList, iconList = _a.iconList, shareButtonProps = _a.shareButtonProps, companyImgAlt = _a.companyImgAlt, companyName = _a.companyName;
|