kupos-ui-components-lib 6.0.2 → 6.0.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.
|
@@ -518,7 +518,9 @@ function ServiceItemPB({ serviceItem, onBookButtonPress, colors, metaData, child
|
|
|
518
518
|
margin: "auto",
|
|
519
519
|
} }),
|
|
520
520
|
React.createElement("div", { className: "content-center" },
|
|
521
|
-
React.createElement("div", { className: `relative flex gap-[10px] text-[13.33px] justify-between min-h-[2.5rem] ${getNumberOfSeats() < 3 ? "" : ""}`, style: getNumberOfSeats() < 2
|
|
521
|
+
React.createElement("div", { className: `relative flex gap-[10px] text-[13.33px] justify-between min-h-[2.5rem] ${getNumberOfSeats() < 3 ? "" : ""}`, style: getNumberOfSeats() < 2 || removeDuplicateSeats
|
|
522
|
+
? { alignItems: "center" }
|
|
523
|
+
: {} },
|
|
522
524
|
React.createElement("div", { className: "flex flex-col justify-between" }, getSeatNames()),
|
|
523
525
|
React.createElement("div", { className: "flex flex-col justify-between absolute inset-y-0 right-0 left-1/2 h-full", style: {
|
|
524
526
|
color: isSoldOut ? "#c0c0c0" : colors.priceColor,
|
|
@@ -527,7 +529,9 @@ function ServiceItemPB({ serviceItem, onBookButtonPress, colors, metaData, child
|
|
|
527
529
|
left: "clamp(75%, 75% + (100vw - 1300px) * 0.1, 80%)",
|
|
528
530
|
// left: "68%",
|
|
529
531
|
right: 0,
|
|
530
|
-
justifyContent: getNumberOfSeats() < 2
|
|
532
|
+
justifyContent: getNumberOfSeats() < 2 || removeDuplicateSeats
|
|
533
|
+
? "center"
|
|
534
|
+
: "",
|
|
531
535
|
} }, getSeatPrice()))),
|
|
532
536
|
React.createElement("div", null,
|
|
533
537
|
React.createElement("button", { onClick: () => (!isSoldOut ? checkMidnight() : null), disabled: serviceDetailsLoading, className: `w-full ${serviceDetailsLoading || isSoldOut
|
package/package.json
CHANGED
|
@@ -934,7 +934,9 @@ function ServiceItemPB({
|
|
|
934
934
|
getNumberOfSeats() < 3 ? "" : ""
|
|
935
935
|
}`}
|
|
936
936
|
style={
|
|
937
|
-
getNumberOfSeats() < 2
|
|
937
|
+
getNumberOfSeats() < 2 || removeDuplicateSeats
|
|
938
|
+
? { alignItems: "center" }
|
|
939
|
+
: {}
|
|
938
940
|
}
|
|
939
941
|
>
|
|
940
942
|
<div className="flex flex-col justify-between">
|
|
@@ -949,7 +951,10 @@ function ServiceItemPB({
|
|
|
949
951
|
left: "clamp(75%, 75% + (100vw - 1300px) * 0.1, 80%)",
|
|
950
952
|
// left: "68%",
|
|
951
953
|
right: 0,
|
|
952
|
-
justifyContent:
|
|
954
|
+
justifyContent:
|
|
955
|
+
getNumberOfSeats() < 2 || removeDuplicateSeats
|
|
956
|
+
? "center"
|
|
957
|
+
: "",
|
|
953
958
|
}}
|
|
954
959
|
>
|
|
955
960
|
{getSeatPrice()}
|