reykit 1.0.174 → 1.0.176
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.js +3 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -49036,7 +49036,7 @@ function O4(a) {
|
|
|
49036
49036
|
return /* @__PURE__ */ E.jsxs(i, { value: b, children: [
|
|
49037
49037
|
m,
|
|
49038
49038
|
/* @__PURE__ */ E.jsx("div", { className: oe(
|
|
49039
|
-
"fixed inset-0 z-50 flex justify-center items-center transition
|
|
49039
|
+
"fixed inset-0 z-50 flex justify-center items-center transition-opacity duration-300",
|
|
49040
49040
|
g ? "opacity-100" : "opacity-0 pointer-events-none"
|
|
49041
49041
|
), children: g && a })
|
|
49042
49042
|
] });
|
|
@@ -49045,10 +49045,10 @@ function O4(a) {
|
|
|
49045
49045
|
if (!m) throw new Error("must be used within cover component");
|
|
49046
49046
|
return {
|
|
49047
49047
|
...m,
|
|
49048
|
-
withCover: async (
|
|
49048
|
+
withCover: async (y, ...b) => {
|
|
49049
49049
|
m.setIsCovering(!0);
|
|
49050
49050
|
try {
|
|
49051
|
-
return await
|
|
49051
|
+
return await y(...b);
|
|
49052
49052
|
} finally {
|
|
49053
49053
|
m.setIsCovering(!1);
|
|
49054
49054
|
}
|