kupos-ui-components-lib 9.4.5 → 9.4.7

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.
@@ -11,7 +11,7 @@ const RatingHover = ({ serviceItem, isSoldOut, colors, t = (key) => key, transla
11
11
  const val = parseFloat(details[key]);
12
12
  return isNaN(val) ? 0 : +val.toFixed(1);
13
13
  };
14
- return (React.createElement("div", { className: "flex items-center relative cursor-pointer group" },
14
+ return (React.createElement("div", { className: "flex items-center relative cursor-pointer group hover:z-[500]" },
15
15
  React.createElement("div", { className: "w-[18px] h-auto mr-[4px]", style: { opacity: isSoldOut ? 0.5 : 1 } },
16
16
  React.createElement("img", { src: serviceItem.icons.rating, alt: "origin", className: `w-[16px] h-[16px] mr-[4px] object-contain mb-[4px] ${isSoldOut ? "grayscale" : ""}` })),
17
17
  React.createElement("span", { className: "text-[#464647] text-[13.33px]", style: { opacity: isSoldOut ? 0.5 : 1 } }, typeof serviceItem.operator_details[1] === "number"
@@ -241,12 +241,8 @@ 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
- ? 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",
244
+ ? "15px 15px 20px 15px"
245
+ : "20px 15px 10px 15px ",
250
246
  marginTop: hasDiscount || hasOfferText ? "14px" : "0",
251
247
  } },
252
248
  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.5",
3
+ "version": "9.4.7",
4
4
  "description": "A reusable UI components package",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -30,7 +30,7 @@ const RatingHover: React.FC<RatingHoverProps> = ({
30
30
  };
31
31
 
32
32
  return (
33
- <div className="flex items-center relative cursor-pointer group">
33
+ <div className="flex items-center relative cursor-pointer group hover:z-[500]">
34
34
  <div
35
35
  className="w-[18px] h-auto mr-[4px]"
36
36
  style={{ opacity: isSoldOut ? 0.5 : 1 }}
@@ -422,12 +422,9 @@ function ServiceItemPB({
422
422
  className=" pt-[20px]"
423
423
  style={{
424
424
  padding: coachKey
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",
425
+ ? "15px 15px 20px 15px"
426
+ : "20px 15px 10px 15px ",
427
+
431
428
  marginTop: hasDiscount || hasOfferText ? "14px" : "0",
432
429
  }}
433
430
  >