@seatlayer/js 0.21.0 → 0.21.1

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.
package/dist/index.cjs CHANGED
@@ -2712,6 +2712,7 @@ var SeatPicker = class _SeatPicker {
2712
2712
  if (narrow) {
2713
2713
  card.className = "sl-seccard strip on";
2714
2714
  card.setAttribute("role", "status");
2715
+ card.setAttribute("aria-label", (0, import_core2.t)("picker.sectionSummaryAria", { label: summary.label }));
2715
2716
  card.innerHTML = `<span class="sl-seccard-dot" style="background:${summary.color}"></span><span class="sl-seccard-name">${summary.label}</span><span class="sl-seccard-left">${leftLabel}</span>` + (summary.categories.length ? `<span class="sl-seccard-price">${priceLabel}</span>` : "") + xBtn;
2716
2717
  card.querySelector(".sl-seccard-x").addEventListener("click", () => this.controller.overview());
2717
2718
  (this.els.sheetHead ?? this.els.side ?? this.els.map).appendChild(card);