kupos-ui-components-lib 9.4.3 → 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" },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kupos-ui-components-lib",
3
- "version": "9.4.3",
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
  >