kupos-ui-components-lib 9.5.1 → 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.
|
@@ -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
|
@@ -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
|
)}
|