@itilite/iui-user-management 1.4.4993 → 1.4.4994
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/index.css +4 -6
- package/dist/index.js +21 -3
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +21 -3
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -4715,7 +4715,18 @@ var RenderList = function RenderList(_ref) {
|
|
|
4715
4715
|
},
|
|
4716
4716
|
key: item.id,
|
|
4717
4717
|
className: styles$3.memberItem
|
|
4718
|
-
}, item !== null && item !== void 0 && item.loyalty_program_image_url ? /*#__PURE__*/React.createElement("
|
|
4718
|
+
}, item !== null && item !== void 0 && item.loyalty_program_image_url ? /*#__PURE__*/React.createElement("div", {
|
|
4719
|
+
style: {
|
|
4720
|
+
background: "url(" + (item === null || item === void 0 ? void 0 : item.loyalty_program_image_url) + ")",
|
|
4721
|
+
backgroundSize: 600,
|
|
4722
|
+
borderRadius: 6,
|
|
4723
|
+
border: '1px solid #F1F3F5',
|
|
4724
|
+
backgroundPosition: 'top',
|
|
4725
|
+
height: 40,
|
|
4726
|
+
display: 'flex',
|
|
4727
|
+
alignItems: 'center'
|
|
4728
|
+
}
|
|
4729
|
+
}, /*#__PURE__*/React.createElement("img", {
|
|
4719
4730
|
src: item === null || item === void 0 ? void 0 : item.loyalty_program_image_url,
|
|
4720
4731
|
alt: item.title,
|
|
4721
4732
|
onError: function onError(e) {
|
|
@@ -4723,7 +4734,7 @@ var RenderList = function RenderList(_ref) {
|
|
|
4723
4734
|
var fallbackContainer = e.target.nextElementSibling;
|
|
4724
4735
|
if (fallbackContainer) fallbackContainer.style.display = 'block';
|
|
4725
4736
|
}
|
|
4726
|
-
}) : /*#__PURE__*/React.createElement("div", {
|
|
4737
|
+
})) : /*#__PURE__*/React.createElement("div", {
|
|
4727
4738
|
className: styles$3.newMembershipIcon
|
|
4728
4739
|
}, /*#__PURE__*/React.createElement(FallbackIcon, null)), /*#__PURE__*/React.createElement("div", {
|
|
4729
4740
|
className: styles$3.newMembershipIcon,
|
|
@@ -4904,7 +4915,14 @@ var SavedMemberships = function SavedMemberships(_ref) {
|
|
|
4904
4915
|
}, /*#__PURE__*/React.createElement("div", {
|
|
4905
4916
|
className: styles$3.iconWrapper
|
|
4906
4917
|
}, loyalty_program_image_url ? /*#__PURE__*/React.createElement("div", {
|
|
4907
|
-
className: styles$3.iconPar
|
|
4918
|
+
className: styles$3.iconPar,
|
|
4919
|
+
style: {
|
|
4920
|
+
background: "url(" + loyalty_program_image_url + ")",
|
|
4921
|
+
backgroundSize: 600,
|
|
4922
|
+
borderRadius: 6,
|
|
4923
|
+
border: '1px solid #F1F3F5',
|
|
4924
|
+
backgroundPosition: 'top'
|
|
4925
|
+
}
|
|
4908
4926
|
}, /*#__PURE__*/React.createElement("img", {
|
|
4909
4927
|
src: loyalty_program_image_url,
|
|
4910
4928
|
alt: name,
|