kupos-ui-components-lib 9.6.7 → 9.6.8
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.
|
@@ -82,7 +82,12 @@ const FeatureServiceUi = ({ serviceItem, showTopLabel, colors, isSoldOut, getAni
|
|
|
82
82
|
const operators = ((_a = serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.operators) === null || _a === void 0 ? void 0 : _a.length) > 0
|
|
83
83
|
? serviceItem.operators
|
|
84
84
|
: HARDCODED_OPERATORS;
|
|
85
|
-
return (React.createElement("div", {
|
|
85
|
+
return (React.createElement("div", {
|
|
86
|
+
// ${
|
|
87
|
+
// serviceItem.offer_text ? "mb-[55px]" : "mb-[10px]"
|
|
88
|
+
// }
|
|
89
|
+
className: `relative mb-[10px]
|
|
90
|
+
${(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_direct_trip) ||
|
|
86
91
|
(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.train_type_label) === "Tren Express (Nuevo)" ||
|
|
87
92
|
showTopLabel
|
|
88
93
|
? "mt-[24px]"
|
package/package.json
CHANGED
|
@@ -225,15 +225,17 @@ const FeatureServiceUi = ({
|
|
|
225
225
|
|
|
226
226
|
return (
|
|
227
227
|
<div
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
228
|
+
// ${
|
|
229
|
+
// serviceItem.offer_text ? "mb-[55px]" : "mb-[10px]"
|
|
230
|
+
// }
|
|
231
|
+
className={`relative mb-[10px]
|
|
232
|
+
${
|
|
233
|
+
serviceItem?.is_direct_trip ||
|
|
234
|
+
serviceItem?.train_type_label === "Tren Express (Nuevo)" ||
|
|
235
|
+
showTopLabel
|
|
236
|
+
? "mt-[24px]"
|
|
237
|
+
: "mt-[20px]"
|
|
238
|
+
}`}
|
|
237
239
|
>
|
|
238
240
|
<div
|
|
239
241
|
className=""
|