@maycolem/stories 27.0.0 → 29.0.0

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.esm.js CHANGED
@@ -3432,10 +3432,7 @@ const _u = "_BetSlip_1ysis_1", Mu = "_BetSlip_Title_1ysis_14", Au = "_SelectionI
3432
3432
  onButtonStoryClick: t
3433
3433
  }) => /* @__PURE__ */ U("div", { className: Se(nt.story), children: [
3434
3434
  /* @__PURE__ */ C("img", { src: e == null ? void 0 : e.image, alt: "" }),
3435
- e != null && e.btn_text && (e != null && e.btn_url) ? /* @__PURE__ */ C("div", { className: Se(nt.BetSlip_Wrapper), children: /* @__PURE__ */ C("div", { className: nt.BetSlip_ButtonWrap, children: /* @__PURE__ */ U(Io, { onClick: e, children: [
3436
- " ",
3437
- e == null ? void 0 : e.btn_text
3438
- ] }) }) }) : null
3435
+ e != null && e.btn_text && (e != null && e.btn_url) ? /* @__PURE__ */ C("div", { className: Se(nt.BetSlip_Wrapper), children: /* @__PURE__ */ C("div", { className: nt.BetSlip_ButtonWrap, children: /* @__PURE__ */ C(Io, { onClick: () => t == null ? void 0 : t(e), children: e == null ? void 0 : e.btn_text }) }) }) : null
3439
3436
  ] }), Yu = ({
3440
3437
  story: e,
3441
3438
  onButtonStoryClick: t
@@ -8002,7 +7999,9 @@ const Oh = ({
8002
7999
  open: i,
8003
8000
  onClose: f,
8004
8001
  initialSlide: d,
8005
- onButtonStoryClick: r
8002
+ onButtonStoryClick: (p) => {
8003
+ f(), r == null || r(p);
8004
+ }
8006
8005
  }
8007
8006
  ),
8008
8007
  document.body