kupos-ui-components-lib 2.0.9 → 2.0.10

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.
@@ -134,14 +134,12 @@ function ServiceItemMobile({ serviceItem, onBookButtonPress, colors, busStage, o
134
134
  if (serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_transpordo) {
135
135
  isConexion = true;
136
136
  }
137
- return (React.createElement("div", { className: `relative ${serviceItem.offer_text || (serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_direct_trip)
138
- ? "mb-[60px]"
139
- : "mb-[20px]"} ${(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_direct_trip) ||
137
+ return (React.createElement("div", { className: `relative ${serviceItem.offer_text ? "mb-[55px]" : "mb-[20px]"} ${(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.is_direct_trip) ||
140
138
  isConexion ||
141
139
  (serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.train_type_label) === "Tren Express (Nuevo)" ||
142
140
  showTopLabel
143
- ? "mt-[30px]"
144
- : "mt-[20px]"} `, style: { backgroundColor: "#fff", zIndex: 1 } },
141
+ ? "mt-[20px]"
142
+ : "mt-[10px]"} `, style: { backgroundColor: "#fff", zIndex: 1 } },
145
143
  React.createElement("div", { className: "border border-[#E6E6E6] rounded-[20px]", style: { backgroundColor: "#fff", zIndex: 1 } },
146
144
  React.createElement("div", { className: `p-[15px] ${(serviceItem === null || serviceItem === void 0 ? void 0 : serviceItem.train_type_label) === "Tren Express (Nuevo)" ||
147
145
  showTopLabel ||
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kupos-ui-components-lib",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "A reusable UI components package",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -198,16 +198,14 @@ function ServiceItemMobile({
198
198
  return (
199
199
  <div
200
200
  className={`relative ${
201
- serviceItem.offer_text || serviceItem?.is_direct_trip
202
- ? "mb-[60px]"
203
- : "mb-[20px]"
201
+ serviceItem.offer_text ? "mb-[55px]" : "mb-[20px]"
204
202
  } ${
205
203
  serviceItem?.is_direct_trip ||
206
204
  isConexion ||
207
205
  serviceItem?.train_type_label === "Tren Express (Nuevo)" ||
208
206
  showTopLabel
209
- ? "mt-[30px]"
210
- : "mt-[20px]"
207
+ ? "mt-[20px]"
208
+ : "mt-[10px]"
211
209
  } `}
212
210
  style={{ backgroundColor: "#fff", zIndex: 1 }}
213
211
  >