kupos-ui-components-lib 2.0.6 → 2.0.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.
@@ -300,8 +300,8 @@ function ServiceItemPB({ serviceItem, onBookButtonPress, colors, metaData, child
300
300
  React.createElement("div", { className: "flex items-center", style: { flex: 1 } },
301
301
  React.createElement("div", null,
302
302
  " ",
303
- orignLabel ? (React.createElement("div", { className: "w-[60px]" }, orignLabel)) : (React.createElement("div", { className: " h-auto mr-[8px]", style: { width: originIconStyle ? "16px" : "18px" } },
304
- React.createElement("img", { src: (_a = serviceItem.icons) === null || _a === void 0 ? void 0 : _a.origin, alt: "origin", className: ` h-auto mr-[8px] ${isSoldOut ? "grayscale" : ""}`, style: { width: originIconStyle ? "16px" : "18px" } })))),
303
+ orignLabel ? (React.createElement("div", { className: "w-[60px]" }, orignLabel)) : (React.createElement("div", { className: "w-[18px] h-auto mr-[8px]", style: { width: originIconStyle ? "16px" : "18px" } },
304
+ React.createElement("img", { src: (_a = serviceItem.icons) === null || _a === void 0 ? void 0 : _a.origin, alt: "origin", className: `w-[18px] h-auto mr-[8px] ${isSoldOut ? "grayscale" : ""}` })))),
305
305
  React.createElement("div", { className: "flex items-center capitalize relative group items-center justify-between ", style: { flex: 1 } },
306
306
  React.createElement("span", { className: "cursor-pointer bold-text" }, DateService.getServiceItemDate(serviceItem.travel_date)),
307
307
  React.createElement("div", { className: "absolute left-[48%]" }, "\u2022"),
@@ -448,7 +448,7 @@ function ServiceItemPB({ serviceItem, onBookButtonPress, colors, metaData, child
448
448
  } },
449
449
  React.createElement(LottiePlayer, { animationData: serviceItem.icons.promoAnim, width: "18px", height: "18px" }),
450
450
  React.createElement("span", { className: "ml-[10px]" }, serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.offer_text))),
451
- React.createElement("div", { className: "absolute -top-[13px] left-0 w-full flex items-center justify-end gap-[12px] pr-[28px] z-10 " },
451
+ React.createElement("div", { className: "absolute -top-[13px] left-0 w-full flex items-center justify-end gap-[12px] pr-[15px] z-10 " },
452
452
  showTopLabel && (React.createElement("div", { className: `flex items-center gap-[10px] py-[5px] px-[14px] rounded-[38px] text-[13.33px] z-20`, style: { backgroundColor: !isSoldOut && colors.ratingBottomColor } },
453
453
  React.createElement("div", { className: isSoldOut ? "grayscale" : "" },
454
454
  React.createElement(LottiePlayer, { animationData: serviceItem.icons.priorityStageAnim, width: "16px", height: "16px" })),
package/dist/styles.css CHANGED
@@ -651,9 +651,6 @@
651
651
  .pr-\[20px\] {
652
652
  padding-right: 20px;
653
653
  }
654
- .pr-\[28px\] {
655
- padding-right: 28px;
656
- }
657
654
  .pb-\[5px\] {
658
655
  padding-bottom: 5px;
659
656
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kupos-ui-components-lib",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "A reusable UI components package",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -479,16 +479,16 @@ function ServiceItemPB({
479
479
  <div className="w-[60px]">{orignLabel}</div>
480
480
  ) : (
481
481
  <div
482
- className=" h-auto mr-[8px]"
482
+ className="w-[18px] h-auto mr-[8px]"
483
483
  style={{ width: originIconStyle ? "16px" : "18px" }}
484
484
  >
485
485
  <img
486
486
  src={serviceItem.icons?.origin}
487
487
  alt="origin"
488
- className={` h-auto mr-[8px] ${
488
+ className={`w-[18px] h-auto mr-[8px] ${
489
489
  isSoldOut ? "grayscale" : ""
490
490
  }`}
491
- style={{ width: originIconStyle ? "16px" : "18px" }}
491
+ // style={{ width: originIconStyle ? "16px" : "18px" }}
492
492
  />
493
493
  </div>
494
494
  )}
@@ -1024,7 +1024,7 @@ function ServiceItemPB({
1024
1024
  </div>
1025
1025
  )}
1026
1026
 
1027
- <div className="absolute -top-[13px] left-0 w-full flex items-center justify-end gap-[12px] pr-[28px] z-10 ">
1027
+ <div className="absolute -top-[13px] left-0 w-full flex items-center justify-end gap-[12px] pr-[15px] z-10 ">
1028
1028
  {showTopLabel && (
1029
1029
  <div
1030
1030
  className={`flex items-center gap-[10px] py-[5px] px-[14px] rounded-[38px] text-[13.33px] z-20`}