@yamada-ui/motion 0.3.3 → 0.3.5

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.
@@ -5,7 +5,15 @@ import { motion } from "framer-motion";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  var Motion = forwardRef(
7
7
  ({ as = "div", className, ...rest }, ref) => {
8
- return /* @__PURE__ */ jsx(ui.div, { as: motion[as], ref, className: cx("ui-motion", className), ...rest });
8
+ return /* @__PURE__ */ jsx(
9
+ ui.div,
10
+ {
11
+ as: motion[as],
12
+ ref,
13
+ className: cx("ui-motion", className),
14
+ ...rest
15
+ }
16
+ );
9
17
  }
10
18
  );
11
19
 
package/dist/index.js CHANGED
@@ -62,7 +62,15 @@ var import_framer_motion = require("framer-motion");
62
62
  var import_jsx_runtime = require("react/jsx-runtime");
63
63
  var Motion = (0, import_core.forwardRef)(
64
64
  ({ as = "div", className, ...rest }, ref) => {
65
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.div, { as: import_framer_motion.motion[as], ref, className: (0, import_utils.cx)("ui-motion", className), ...rest });
65
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
66
+ import_core.ui.div,
67
+ {
68
+ as: import_framer_motion.motion[as],
69
+ ref,
70
+ className: (0, import_utils.cx)("ui-motion", className),
71
+ ...rest
72
+ }
73
+ );
66
74
  }
67
75
  );
68
76
 
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Motion
3
- } from "./chunk-AJFJWPGL.mjs";
3
+ } from "./chunk-M2CACKVG.mjs";
4
4
  import "./chunk-V4KRNLE3.mjs";
5
5
  import {
6
6
  MOTION_TRANSITION_DEFAULTS,
package/dist/motion.js CHANGED
@@ -29,7 +29,15 @@ var import_framer_motion = require("framer-motion");
29
29
  var import_jsx_runtime = require("react/jsx-runtime");
30
30
  var Motion = (0, import_core.forwardRef)(
31
31
  ({ as = "div", className, ...rest }, ref) => {
32
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_core.ui.div, { as: import_framer_motion.motion[as], ref, className: (0, import_utils.cx)("ui-motion", className), ...rest });
32
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
33
+ import_core.ui.div,
34
+ {
35
+ as: import_framer_motion.motion[as],
36
+ ref,
37
+ className: (0, import_utils.cx)("ui-motion", className),
38
+ ...rest
39
+ }
40
+ );
33
41
  }
34
42
  );
35
43
  // Annotate the CommonJS export names for ESM import in node:
package/dist/motion.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Motion
3
- } from "./chunk-AJFJWPGL.mjs";
3
+ } from "./chunk-M2CACKVG.mjs";
4
4
  export {
5
5
  Motion
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yamada-ui/motion",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Yamada UI motion components",
5
5
  "keywords": [
6
6
  "yamada",
@@ -36,8 +36,8 @@
36
36
  },
37
37
  "dependencies": {
38
38
  "framer-motion": "^9.1.7",
39
- "@yamada-ui/core": "0.5.0",
40
- "@yamada-ui/utils": "0.1.3"
39
+ "@yamada-ui/core": "0.5.2",
40
+ "@yamada-ui/utils": "0.1.4"
41
41
  },
42
42
  "devDependencies": {
43
43
  "react": "^18.0.0",