arpeggi-framer-components 0.0.41 → 1.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.es.js CHANGED
@@ -8537,7 +8537,7 @@ const sn = new Up(), Ha = "Recording.wav", Vp = 1500, bu = (e) => {
8537
8537
  gap: "12px",
8538
8538
  display: "flex",
8539
8539
  flexDirection: "column",
8540
- alignItems: "center",
8540
+ alignItems: "stretch",
8541
8541
  justifyContent: "center",
8542
8542
  padding: "32px"
8543
8543
  }), pu = Fe("div", {
@@ -8593,9 +8593,11 @@ const sn = new Up(), Ha = "Recording.wav", Vp = 1500, bu = (e) => {
8593
8593
  transform: "scale(1.1)"
8594
8594
  }
8595
8595
  }), fu = ({ demo: e, onSelect: t, selected: i }) => {
8596
- const { playPause: n, player: r } = la(e.audioUrl);
8596
+ const { playPause: n, player: r } = la(e.audioUrl), a = (o) => {
8597
+ o.stopPropagation(), n();
8598
+ };
8597
8599
  return /* @__PURE__ */ N.jsxs(pu, { onClick: () => t(e), selected: i, children: [
8598
- /* @__PURE__ */ N.jsx(du, { onClick: n, disabled: r.isLoading, children: /* @__PURE__ */ N.jsxs(Le, { children: [
8600
+ /* @__PURE__ */ N.jsx(du, { onClick: a, disabled: r.isLoading, children: /* @__PURE__ */ N.jsxs(Le, { children: [
8599
8601
  /* @__PURE__ */ N.jsx(Le.If, { isTrue: r.isLoading, children: /* @__PURE__ */ N.jsx(oa, {}) }),
8600
8602
  /* @__PURE__ */ N.jsx(Le.If, { isTrue: r.isPlaying, children: /* @__PURE__ */ N.jsx(sa, {}) }),
8601
8603
  /* @__PURE__ */ N.jsx(Le.Else, { children: /* @__PURE__ */ N.jsx(ca, {}) })