kupos-ui-components-lib 9.5.0 → 9.5.2
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.
|
@@ -249,7 +249,9 @@ function ServiceItemPB({ serviceItem, onBookButtonPress, colors, metaData, child
|
|
|
249
249
|
(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.offer_text) ||
|
|
250
250
|
hasDiscount
|
|
251
251
|
? "20px 15px 10px 15px"
|
|
252
|
-
:
|
|
252
|
+
: coachKey
|
|
253
|
+
? "20px 15px 20px 15px"
|
|
254
|
+
: "20px 15px 10px 15px",
|
|
253
255
|
marginTop: hasDiscount || hasOfferText ? "14px" : "",
|
|
254
256
|
} },
|
|
255
257
|
React.createElement("div", { className: "grid text-[#464647] w-full [grid-template-columns:22%_28%_2.5%_24%_15.5%] gap-x-[2%] items-center" },
|
|
@@ -97,7 +97,9 @@ function SeatSectionMobile({ seatTypes: seatTypesData, isSoldOut, isPeru, seatPr
|
|
|
97
97
|
((_a = serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.icons) === null || _a === void 0 ? void 0 : _a.fireIcon) ? (React.createElement("img", { src: serviceItem.icons.fireIcon, alt: "dp", className: "h-[14px] w-[14px] object-contain", style: { filter: isSoldOut ? "grayscale(1)" : "" } })) : null,
|
|
98
98
|
commonService.currency(discountedPrice, currencySign))),
|
|
99
99
|
showLastSeats ? (React.createElement("div", { className: "flex justify-end" }, (serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.available_seats) < 10 &&
|
|
100
|
-
(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.available_seats) > 0 && (React.createElement("div", { className: "text-[10px]
|
|
100
|
+
(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.available_seats) > 0 && (React.createElement("div", { className: "text-[10px] text-center mt-[3px]", style: {
|
|
101
|
+
color: tooltipBgColor,
|
|
102
|
+
} }, "\u00A1\u00DAltimos Asientos!")))) : null,
|
|
101
103
|
isSoldOut ? (React.createElement("div", { className: "flex justify-end" },
|
|
102
104
|
React.createElement("span", { className: "min-[420]:text-[13px] text-[12px] text-[#ccc]" }, "Agotado"))) : null));
|
|
103
105
|
};
|
|
@@ -166,7 +168,9 @@ function SeatSectionMobile({ seatTypes: seatTypesData, isSoldOut, isPeru, seatPr
|
|
|
166
168
|
} },
|
|
167
169
|
renderSeats(),
|
|
168
170
|
showLastSeats ? (React.createElement("div", { className: "flex justify-end " }, (serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.available_seats) < 10 &&
|
|
169
|
-
(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.available_seats) > 0 && (React.createElement("div", { className: "text-[10px] text-
|
|
171
|
+
(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.available_seats) > 0 && (React.createElement("div", { className: "text-[10px] text-center", style: {
|
|
172
|
+
color: tooltipBgColor,
|
|
173
|
+
} }, "\u00A1 \u00DAltimos Asientos!")))) : null,
|
|
170
174
|
isSoldOut ? (React.createElement("div", { className: "flex justify-end" },
|
|
171
175
|
React.createElement("span", { className: "min-[420]:text-[13px] text-[12px] text-[#ccc]" }, "Agotado"))) : null))));
|
|
172
176
|
}
|
package/package.json
CHANGED
|
@@ -442,7 +442,9 @@ function ServiceItemPB({
|
|
|
442
442
|
serviceItem?.offer_text ||
|
|
443
443
|
hasDiscount
|
|
444
444
|
? "20px 15px 10px 15px"
|
|
445
|
-
:
|
|
445
|
+
: coachKey
|
|
446
|
+
? "20px 15px 20px 15px"
|
|
447
|
+
: "20px 15px 10px 15px",
|
|
446
448
|
|
|
447
449
|
marginTop: hasDiscount || hasOfferText ? "14px" : "",
|
|
448
450
|
}}
|
|
@@ -243,7 +243,12 @@ function SeatSectionMobile({
|
|
|
243
243
|
<div className="flex justify-end">
|
|
244
244
|
{serviceItem?.available_seats < 10 &&
|
|
245
245
|
serviceItem?.available_seats > 0 && (
|
|
246
|
-
<div
|
|
246
|
+
<div
|
|
247
|
+
className="text-[10px] text-center mt-[3px]"
|
|
248
|
+
style={{
|
|
249
|
+
color: tooltipBgColor,
|
|
250
|
+
}}
|
|
251
|
+
>
|
|
247
252
|
¡Últimos Asientos!
|
|
248
253
|
</div>
|
|
249
254
|
)}
|
|
@@ -436,7 +441,12 @@ function SeatSectionMobile({
|
|
|
436
441
|
<div className="flex justify-end ">
|
|
437
442
|
{serviceItem?.available_seats < 10 &&
|
|
438
443
|
serviceItem?.available_seats > 0 && (
|
|
439
|
-
<div
|
|
444
|
+
<div
|
|
445
|
+
className="text-[10px] text-center"
|
|
446
|
+
style={{
|
|
447
|
+
color: tooltipBgColor,
|
|
448
|
+
}}
|
|
449
|
+
>
|
|
440
450
|
¡ Últimos Asientos!
|
|
441
451
|
</div>
|
|
442
452
|
)}
|