@contentmunch/contentmunch-ui 1.1.12 → 1.1.13
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/lib/card/FlippableCard.d.ts +3 -2
- package/lib/card/assets/card.css +3 -3
- package/lib/card/assets/flippable-card.css +33 -30
- package/lib/index.cjs.js +1 -1
- package/lib/index.es.js +4 -4
- package/lib/index.umd.js +1 -1
- package/package.json +1 -1
package/lib/index.es.js
CHANGED
|
@@ -2366,7 +2366,7 @@ const Sh = ({ variant: e, collapsed: t, children: n }) => {
|
|
|
2366
2366
|
] })
|
|
2367
2367
|
] })
|
|
2368
2368
|
] });
|
|
2369
|
-
}, Yh = ({ children: e }) => /* @__PURE__ */ s.jsx("div", { className: "card", children: /* @__PURE__ */ s.jsx("div", { className: "face", children: /* @__PURE__ */ s.jsx("div", { className: "card-content
|
|
2369
|
+
}, Yh = ({ children: e }) => /* @__PURE__ */ s.jsx("div", { className: "muncher-card", children: /* @__PURE__ */ s.jsx("div", { className: "muncher-card--face", children: /* @__PURE__ */ s.jsx("div", { className: "muncher-card-content--scrollable", children: e }) }) }), wi = ze({});
|
|
2370
2370
|
function Po(e) {
|
|
2371
2371
|
const t = fe(null);
|
|
2372
2372
|
return t.current === null && (t.current = e()), t.current;
|
|
@@ -7483,12 +7483,12 @@ const vh = {
|
|
|
7483
7483
|
}, Th = /* @__PURE__ */ zu(bh, Hu), qh = ({ flipped: e, setFlipped: t, front: n, back: i }) => /* @__PURE__ */ s.jsxs(
|
|
7484
7484
|
Th.div,
|
|
7485
7485
|
{
|
|
7486
|
-
className: `flippable-card ${e ? "flipped" : ""}`,
|
|
7486
|
+
className: `muncher-flippable-card ${e ? "flipped" : ""}`,
|
|
7487
7487
|
onClick: () => t(!e),
|
|
7488
7488
|
whileHover: { scale: 1.02 },
|
|
7489
7489
|
children: [
|
|
7490
|
-
/* @__PURE__ */ s.jsx("div", { className: "card-face front", children: /* @__PURE__ */ s.jsx("div", { className: "card-content-scrollable", children: n }) }),
|
|
7491
|
-
/* @__PURE__ */ s.jsx("div", { className: "card-face back", children: /* @__PURE__ */ s.jsx("div", { className: "card-content-scrollable", children: i }) })
|
|
7490
|
+
/* @__PURE__ */ s.jsx("div", { className: "muncher-flippable-card-face front", children: /* @__PURE__ */ s.jsx("div", { className: "muncher-card-content-scrollable", children: n }) }),
|
|
7491
|
+
/* @__PURE__ */ s.jsx("div", { className: "muncher-flippable-card-face back", children: /* @__PURE__ */ s.jsx("div", { className: "muncher-flippable-card-content-scrollable", children: i }) })
|
|
7492
7492
|
]
|
|
7493
7493
|
}
|
|
7494
7494
|
);
|