@huskel/sdk 0.4.8 → 0.4.9

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.mjs CHANGED
@@ -2032,7 +2032,11 @@ function CheckoutModal({
2032
2032
  "data-hsk-theme": hskThemeAttr,
2033
2033
  children: [
2034
2034
  /* @__PURE__ */ jsx8("div", { className: "hsk-checkout-panel-left", children: /* @__PURE__ */ jsxs5("div", { className: "hsk-checkout-left-content", children: [
2035
- /* @__PURE__ */ jsxs5("button", { onClick: onClose, className: "hsk-checkout-back-btn", disabled: phase !== "idle", children: [
2035
+ /* @__PURE__ */ jsxs5("button", { onClick: (e) => {
2036
+ e.preventDefault();
2037
+ e.stopPropagation();
2038
+ onClose();
2039
+ }, className: "hsk-checkout-back-btn", disabled: phase !== "idle", children: [
2036
2040
  /* @__PURE__ */ jsxs5("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
2037
2041
  /* @__PURE__ */ jsx8("line", { x1: "19", y1: "12", x2: "5", y2: "12" }),
2038
2042
  /* @__PURE__ */ jsx8("polyline", { points: "12 19 5 12 12 5" })