kupos-ui-components-lib 9.4.2 → 9.4.4

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.
@@ -241,8 +241,12 @@ function ServiceItemPB({ serviceItem, onBookButtonPress, colors, metaData, child
241
241
  : "rounded-[10px] border border-[#ccc]"}`, style: serviceCardStyle },
242
242
  React.createElement("div", { className: " pt-[20px]", style: {
243
243
  padding: coachKey
244
- ? "15px 15px 10px 15px"
245
- : "20px 15px 11px 15px",
244
+ ? hasOfferText || (serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_dp_enabled)
245
+ ? "15px 15px 10px 15px"
246
+ : "15px 15px 20px 15px"
247
+ : hasOfferText || (serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_dp_enabled)
248
+ ? "15px 15px 20px 15px"
249
+ : "20px 15px 10px 15px",
246
250
  marginTop: hasDiscount || hasOfferText ? "14px" : "0",
247
251
  } },
248
252
  React.createElement("div", { className: "grid text-[#464647] w-full [grid-template-columns:22%_28%_2.5%_24%_15.5%] gap-x-[2%] items-center" },
@@ -288,7 +292,8 @@ function ServiceItemPB({ serviceItem, onBookButtonPress, colors, metaData, child
288
292
  ((serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.offer_text) || (serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_dp_enabled)) && (React.createElement("div", { className: "text-white p-[10px_15px] text-left w-full flex items-center absolute -bottom-[36px] pt-[50px] rounded-b-[14px] text-[14px]", style: {
289
293
  background: offerGradient,
290
294
  opacity: isSoldOut ? 0.5 : 1,
291
- zIndex: hasOfferText ? 2 : -2,
295
+ zIndex: isPeru ? undefined : -2,
296
+ // zIndex: hasOfferText ? 2 : isPeru ? 1 : -2,
292
297
  } },
293
298
  React.createElement("div", { className: "flex justify-between items-center w-full" },
294
299
  React.createElement("div", { className: "flex items-center " }, (serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_dp_enabled) ? (React.createElement("div", { className: "flex items-center gap-[3px]" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kupos-ui-components-lib",
3
- "version": "9.4.2",
3
+ "version": "9.4.4",
4
4
  "description": "A reusable UI components package",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -422,8 +422,12 @@ function ServiceItemPB({
422
422
  className=" pt-[20px]"
423
423
  style={{
424
424
  padding: coachKey
425
- ? "15px 15px 10px 15px"
426
- : "20px 15px 11px 15px",
425
+ ? hasOfferText || serviceItem?.is_dp_enabled
426
+ ? "15px 15px 10px 15px"
427
+ : "15px 15px 20px 15px"
428
+ : hasOfferText || serviceItem?.is_dp_enabled
429
+ ? "15px 15px 20px 15px"
430
+ : "20px 15px 10px 15px",
427
431
  marginTop: hasDiscount || hasOfferText ? "14px" : "0",
428
432
  }}
429
433
  >
@@ -612,7 +616,8 @@ function ServiceItemPB({
612
616
  style={{
613
617
  background: offerGradient,
614
618
  opacity: isSoldOut ? 0.5 : 1,
615
- zIndex: hasOfferText ? 2 : -2,
619
+ zIndex: isPeru ? undefined : -2,
620
+ // zIndex: hasOfferText ? 2 : isPeru ? 1 : -2,
616
621
  }}
617
622
  >
618
623
  <div className="flex justify-between items-center w-full">