@itilite/iui-user-management 1.4.4993 → 1.4.4995

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 CHANGED
@@ -363,7 +363,7 @@
363
363
  ._AJzhr ._u-SZq {
364
364
  background: white;
365
365
  border-radius: 12px;
366
- border: 1px solid #d1d5db;
366
+ border: 1px solid #F1F3F5;
367
367
  max-height: 305px;
368
368
  overflow-y: auto;
369
369
  position: relative;
@@ -420,14 +420,11 @@
420
420
  line-height: 20px;
421
421
  }
422
422
  ._2d9GY img {
423
- height: 40px;
424
423
  width: 48px;
425
- max-height: 40px;
426
424
  max-width: 48px;
427
- border-radius: 6px;
425
+ border-radius: 4px;
428
426
  -o-object-fit: contain;
429
427
  object-fit: contain;
430
- border: 1px solid #d1d5db;
431
428
  }
432
429
 
433
430
  ._35aiF ._2d5UD {
@@ -483,6 +480,7 @@
483
480
  -o-object-fit: contain;
484
481
  object-fit: contain;
485
482
  border-radius: 8px;
483
+ border: 1px solid #f1f3f5;
486
484
  }
487
485
  ._35aiF ._10Fx3 {
488
486
  display: flex;
@@ -539,7 +537,6 @@
539
537
  border-radius: 4px;
540
538
  -o-object-fit: contain;
541
539
  object-fit: contain;
542
- border: 1px solid #d1d5db;
543
540
  height: auto;
544
541
  }
545
542
  ._2cSoW img {
package/dist/index.js CHANGED
@@ -4718,7 +4718,18 @@ var RenderList = function RenderList(_ref) {
4718
4718
  },
4719
4719
  key: item.id,
4720
4720
  className: styles$3.memberItem
4721
- }, item !== null && item !== void 0 && item.loyalty_program_image_url ? /*#__PURE__*/React__default.createElement("img", {
4721
+ }, item !== null && item !== void 0 && item.loyalty_program_image_url ? /*#__PURE__*/React__default.createElement("div", {
4722
+ style: {
4723
+ background: "url(" + (item === null || item === void 0 ? void 0 : item.loyalty_program_image_url) + ")",
4724
+ backgroundSize: 600,
4725
+ borderRadius: 6,
4726
+ border: '1px solid #F1F3F5',
4727
+ backgroundPosition: 'top',
4728
+ height: 40,
4729
+ display: 'flex',
4730
+ alignItems: 'center'
4731
+ }
4732
+ }, /*#__PURE__*/React__default.createElement("img", {
4722
4733
  src: item === null || item === void 0 ? void 0 : item.loyalty_program_image_url,
4723
4734
  alt: item.title,
4724
4735
  onError: function onError(e) {
@@ -4726,7 +4737,7 @@ var RenderList = function RenderList(_ref) {
4726
4737
  var fallbackContainer = e.target.nextElementSibling;
4727
4738
  if (fallbackContainer) fallbackContainer.style.display = 'block';
4728
4739
  }
4729
- }) : /*#__PURE__*/React__default.createElement("div", {
4740
+ })) : /*#__PURE__*/React__default.createElement("div", {
4730
4741
  className: styles$3.newMembershipIcon
4731
4742
  }, /*#__PURE__*/React__default.createElement(FallbackIcon, null)), /*#__PURE__*/React__default.createElement("div", {
4732
4743
  className: styles$3.newMembershipIcon,
@@ -4907,7 +4918,14 @@ var SavedMemberships = function SavedMemberships(_ref) {
4907
4918
  }, /*#__PURE__*/React__default.createElement("div", {
4908
4919
  className: styles$3.iconWrapper
4909
4920
  }, loyalty_program_image_url ? /*#__PURE__*/React__default.createElement("div", {
4910
- className: styles$3.iconPar
4921
+ className: styles$3.iconPar,
4922
+ style: {
4923
+ background: "url(" + loyalty_program_image_url + ")",
4924
+ backgroundSize: 600,
4925
+ borderRadius: 6,
4926
+ border: '1px solid #F1F3F5',
4927
+ backgroundPosition: 'top'
4928
+ }
4911
4929
  }, /*#__PURE__*/React__default.createElement("img", {
4912
4930
  src: loyalty_program_image_url,
4913
4931
  alt: name,