kupos-ui-components-lib 9.1.1 → 9.1.3
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.
|
@@ -330,12 +330,12 @@ function ServiceItemMobile({ serviceItem, onBookButtonPress, colors, busStage, o
|
|
|
330
330
|
React.createElement("div", { className: "flex items-center" },
|
|
331
331
|
React.createElement("div", { className: `mr-[5px] ${isSoldOut ? "grayscale" : ""}` },
|
|
332
332
|
React.createElement(LottiePlayer, { animationData: serviceItem.icons.petFriendlyAnim, width: "20px", height: "20px" })))))) : null,
|
|
333
|
-
serviceItem.is_change_ticket && (React.createElement("div", { className: "flex items-center" },
|
|
333
|
+
serviceItem.is_change_ticket === true && (React.createElement("div", { className: "flex items-center" },
|
|
334
334
|
React.createElement("div", { className: "relative group cursor-default" },
|
|
335
335
|
React.createElement("div", { className: "flex items-center" },
|
|
336
336
|
React.createElement("div", { className: `mr-[5px] ${isSoldOut ? "grayscale" : ""}` },
|
|
337
337
|
React.createElement(LottiePlayer, { animationData: serviceItem.icons.flexibleAnim, width: "20px", height: "20px" })))))),
|
|
338
|
-
(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_tracking_enabled) && (React.createElement("div", { className: "flex items-center mr-[10px]" },
|
|
338
|
+
(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_tracking_enabled) === true && (React.createElement("div", { className: "flex items-center mr-[10px]" },
|
|
339
339
|
React.createElement("div", { className: `h-auto mr-[4px] min-[420]:text-[13px] text-[11px] text-[#464647] ${isSoldOut ? "grayscale" : ""}` },
|
|
340
340
|
React.createElement(LottiePlayer, { animationData: serviceItem.icons.locationAnim, width: "20px", height: "20px" })))),
|
|
341
341
|
(serviceItem.is_change_ticket || isPetSeat) && (React.createElement("img", { src: serviceItem.icons.plus, alt: "icon", width: 11 })))))),
|
|
@@ -3,7 +3,6 @@ import LottiePlayer from "../../assets/LottiePlayer";
|
|
|
3
3
|
import FlexibleBlock from "../FlexibleBlock";
|
|
4
4
|
import PetBlock from "../PetBlock";
|
|
5
5
|
function BottomAmenities({ otherItems, serviceItem, grayscaleClass, isSoldOut, isItemExpanded, colors, translation, getAnimationIcon, downArrowIcon, onToggleExpand, }) {
|
|
6
|
-
console.log("🚀 ~ BottomAmenities ~ isItemExpanded:", isItemExpanded);
|
|
7
6
|
const hasPetInfo = serviceItem.pet_seat_info &&
|
|
8
7
|
Object.keys(serviceItem.pet_seat_info).length > 0;
|
|
9
8
|
const showDownArrow = ((serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_change_ticket) && serviceItem.pet_seat_info) ||
|
package/package.json
CHANGED
|
@@ -619,7 +619,7 @@ function ServiceItemMobile({
|
|
|
619
619
|
) : null}
|
|
620
620
|
|
|
621
621
|
{/* Flexible ticket */}
|
|
622
|
-
{serviceItem.is_change_ticket && (
|
|
622
|
+
{serviceItem.is_change_ticket === true && (
|
|
623
623
|
<div className="flex items-center">
|
|
624
624
|
<div className="relative group cursor-default">
|
|
625
625
|
<div className="flex items-center">
|
|
@@ -637,7 +637,7 @@ function ServiceItemMobile({
|
|
|
637
637
|
</div>
|
|
638
638
|
)}
|
|
639
639
|
|
|
640
|
-
{serviceItem?.is_tracking_enabled && (
|
|
640
|
+
{serviceItem?.is_tracking_enabled === true && (
|
|
641
641
|
<div className="flex items-center mr-[10px]">
|
|
642
642
|
<div
|
|
643
643
|
className={`h-auto mr-[4px] min-[420]:text-[13px] text-[11px] text-[#464647] ${
|