kupos-ui-components-lib 10.1.2 → 10.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.
@@ -223,7 +223,7 @@ function SeatSection({ seatTypes, availableSeats, isSoldOut, priceColor, currenc
223
223
  height: "20px",
224
224
  marginRight: "5px",
225
225
  } })),
226
- seatLabel)) : (React.createElement("span", { className: "text-[13.33px]" }, "Desde")))));
226
+ CommonService.capitalize(seatLabel))) : (React.createElement("span", { className: "text-[13.33px]" }, "Desde")))));
227
227
  }
228
228
  return renderSeatNames();
229
229
  };
@@ -89,7 +89,9 @@ function SeatSectionMobile({ seatTypes: seatTypesData, isSoldOut, isPeru, seatPr
89
89
  React.createElement("span", { className: "min-[420]:text-[13px] text-[12px]", style: { color: "#bbb" } }, "Antes"),
90
90
  React.createElement("span", { className: "min-[420]:text-[13px] text-[12px] line-through", style: { color: "#bbb" } }, commonService.currency(originalPrice, currencySign)))),
91
91
  React.createElement("div", { className: "w-[100%] flex flex-row justify-between items-center" },
92
- React.createElement("span", { className: "min-[420]:text-[13px] text-[12px] bold-text", style: { color: isSoldOut ? "#bbb" : "#464647" } }, originalPrice !== discountedPrice ? "Desde" : seatLabel || "Desde"),
92
+ React.createElement("span", { className: "min-[420]:text-[13px] text-[12px] bold-text", style: { color: isSoldOut ? "#bbb" : "#464647" } }, originalPrice !== discountedPrice
93
+ ? "Desde"
94
+ : commonService.capitalize(seatLabel) || "Desde"),
93
95
  React.createElement("span", { className: "min-[420]:text-[13px] text-[12px] bold-text", style: { color: priceColor } }, commonService.currency(discountedPrice, currencySign)))));
94
96
  };
95
97
  const renderDpSeats = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kupos-ui-components-lib",
3
- "version": "10.1.2",
3
+ "version": "10.1.3",
4
4
  "description": "A reusable UI components package",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -428,7 +428,7 @@ function SeatSection({
428
428
  }}
429
429
  />
430
430
  )}
431
- {seatLabel}
431
+ {CommonService.capitalize(seatLabel)}
432
432
  </span>
433
433
  ) : (
434
434
  <span className="text-[13.33px]">Desde</span>
@@ -230,7 +230,9 @@ function SeatSectionMobile({
230
230
  className="min-[420]:text-[13px] text-[12px] bold-text"
231
231
  style={{ color: isSoldOut ? "#bbb" : "#464647" }}
232
232
  >
233
- {originalPrice !== discountedPrice ? "Desde" : seatLabel || "Desde"}
233
+ {originalPrice !== discountedPrice
234
+ ? "Desde"
235
+ : commonService.capitalize(seatLabel) || "Desde"}
234
236
  </span>
235
237
  <span
236
238
  className="min-[420]:text-[13px] text-[12px] bold-text"