@passui/react 0.1.42 → 0.1.44
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.
|
@@ -46,6 +46,7 @@ export * from "./lib/haptics";
|
|
|
46
46
|
export * from "./lib/clipboard";
|
|
47
47
|
export * from "./lib/screen-edges";
|
|
48
48
|
export * from "./motion/transitions";
|
|
49
|
+
export { AnimatePresence, motion } from "motion/react";
|
|
49
50
|
export * from "./appearance";
|
|
50
51
|
export * from "./components/date-picker/date-picker";
|
|
51
52
|
export * from "./components/compact-date-picker/compact-date-picker";
|
package/package.json
CHANGED
|
@@ -192,7 +192,7 @@ function OpenMorph({
|
|
|
192
192
|
}}
|
|
193
193
|
className="glass-menu pointer-events-none absolute top-0 left-0 -z-10 rounded-5xl"
|
|
194
194
|
style={{ width: "100%", height: "100%" }}
|
|
195
|
-
initial={reducedMotion || !reveal ?
|
|
195
|
+
initial={reducedMotion || !reveal ? { opacity: 0 } : reveal}
|
|
196
196
|
animate={
|
|
197
197
|
target
|
|
198
198
|
? {
|
|
@@ -287,7 +287,7 @@ function OpenPopover({
|
|
|
287
287
|
surfaceRadius[size]
|
|
288
288
|
)}
|
|
289
289
|
style={{ width: "100%", height: "100%" }}
|
|
290
|
-
initial={reducedMotion || !reveal ?
|
|
290
|
+
initial={reducedMotion || !reveal ? { opacity: 0 } : reveal}
|
|
291
291
|
animate={
|
|
292
292
|
reveal
|
|
293
293
|
? {
|
package/src/index.ts
CHANGED
|
@@ -62,6 +62,7 @@ export * from "./lib/haptics"
|
|
|
62
62
|
export * from "./lib/clipboard"
|
|
63
63
|
export * from "./lib/screen-edges"
|
|
64
64
|
export * from "./motion/transitions"
|
|
65
|
+
export { AnimatePresence, motion } from "motion/react"
|
|
65
66
|
export * from "./appearance"
|
|
66
67
|
|
|
67
68
|
export * from "./components/date-picker/date-picker"
|