kupos-ui-components-lib 9.5.2 → 9.5.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.
|
@@ -91,10 +91,10 @@ function ServiceItemMobile({ serviceItem, onBookButtonPress, colors, busStage, o
|
|
|
91
91
|
(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.train_type_label) === "Tren Express (Nuevo)" ||
|
|
92
92
|
showTopLabel
|
|
93
93
|
? "mt-[20px]"
|
|
94
|
-
: "mt-[10px]"} `, style: {
|
|
95
|
-
React.createElement("div", { className: `
|
|
94
|
+
: "mt-[10px]"} `, style: { zIndex: 1 } },
|
|
95
|
+
React.createElement("div", { className: `z-1 ${hasOfferText || (serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_dp_enabled)
|
|
96
96
|
? "rounded-[18px]"
|
|
97
|
-
: "rounded-[10px] border border-[#ccc]"}`, style: serviceCardStyle },
|
|
97
|
+
: "rounded-[10px] border border-[#ccc]"}`, style: Object.assign(Object.assign({}, serviceCardStyle), { backgroundColor: "#fff" }) },
|
|
98
98
|
React.createElement("div", { style: { padding: "12px 12px 8px 12px" } },
|
|
99
99
|
React.createElement("div", { className: "flex justify-between items-center mb-[10px]" },
|
|
100
100
|
React.createElement("div", { className: "flex items-center justify-center gap-x-4", style: {
|
package/package.json
CHANGED
|
@@ -161,15 +161,15 @@ function ServiceItemMobile({
|
|
|
161
161
|
? "mt-[20px]"
|
|
162
162
|
: "mt-[10px]"
|
|
163
163
|
} `}
|
|
164
|
-
style={{
|
|
164
|
+
style={{ zIndex: 1 }}
|
|
165
165
|
>
|
|
166
166
|
<div
|
|
167
|
-
className={`
|
|
167
|
+
className={`z-1 ${
|
|
168
168
|
hasOfferText || serviceItem?.is_dp_enabled
|
|
169
169
|
? "rounded-[18px]"
|
|
170
170
|
: "rounded-[10px] border border-[#ccc]"
|
|
171
171
|
}`}
|
|
172
|
-
style={serviceCardStyle}
|
|
172
|
+
style={{ ...serviceCardStyle, backgroundColor: "#fff" }}
|
|
173
173
|
>
|
|
174
174
|
<div style={{ padding: "12px 12px 8px 12px" }}>
|
|
175
175
|
{/* Header with operator info and favorite */}
|