@session-services/web-elements 0.1.31 → 0.1.32

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.
@@ -3974,7 +3974,7 @@ const SessionsTicketing = class {
3974
3974
  const hasInput = this.couponInput.trim().length > 0;
3975
3975
  const busy = this.quoteLoading || this.previewLoading || this.checkoutLoading;
3976
3976
  const canApply = hasInput && !busy;
3977
- return (h$2("div", { class: "coupon-panel" }, h$2("div", { class: "coupon-row" }, h$2("input", { id: "coupon-code", name: "coupon-code", placeholder: "Coupon Code", value: this.appliedCouponCode || this.couponInput, onInput: this.handleCouponInput, onKeyDown: this.handleCouponKeyDown, autocomplete: "off", disabled: busy || Boolean(this.appliedCouponCode), "aria-label": "Coupon code", "aria-invalid": Boolean(this.couponError), "aria-describedby": this.couponError ? "coupon-error" : undefined }), this.appliedCouponCode ? (h$2("button", { type: "button", class: "coupon-remove", onClick: () => this.removeCoupon(), disabled: busy, "aria-label": "Remove coupon" }, "Remove")) : (h$2("button", { type: "button", class: "inline-retry-btn", onClick: () => this.applyCoupon(), disabled: !canApply }, "Apply"))), this.couponError && (h$2("span", { id: "coupon-error", class: "error-message", role: "alert", "aria-live": "assertive" }, this.couponError))));
3977
+ return (h$2("div", { class: "coupon-panel" }, h$2("div", { class: "coupon-row" }, h$2("input", { id: "coupon-code", name: "coupon-code", placeholder: "Coupon Code", value: this.appliedCouponCode || this.couponInput, onInput: this.handleCouponInput, onKeyDown: this.handleCouponKeyDown, autocomplete: "off", disabled: busy || Boolean(this.appliedCouponCode), "aria-label": "Coupon code", "aria-invalid": Boolean(this.couponError), "aria-describedby": this.couponError ? "coupon-error" : undefined }), this.appliedCouponCode ? (h$2("button", { type: "button", class: "coupon-remove", onClick: () => this.removeCoupon(), disabled: busy, "aria-label": "Remove coupon" }, "Remove")) : (h$2("button", { type: "button", class: "coupon-apply", onClick: () => this.applyCoupon(), disabled: !canApply }, "Apply"))), this.couponError && (h$2("span", { id: "coupon-error", class: "error-message", role: "alert", "aria-live": "assertive" }, this.couponError))));
3978
3978
  }
3979
3979
  isCheckoutDisabled() {
3980
3980
  return (this.quoteLoading ||