@manhphi1309/drawer 0.2.6 → 0.2.7

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.cjs CHANGED
@@ -25,7 +25,6 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
25
25
  let react = require("react");
26
26
  react = __toESM(react);
27
27
  let vaul = require("vaul");
28
- let _manhphi1309_hooks = require("@manhphi1309/hooks");
29
28
  let _manhphi1309_utils = require("@manhphi1309/utils");
30
29
  let react_jsx_runtime = require("react/jsx-runtime");
31
30
  //#region index.tsx
@@ -45,7 +44,6 @@ function Drawer({ ...props }) {
45
44
  if (!isControlled) setInternalOpen(newOpen);
46
45
  onOpenChange?.(newOpen);
47
46
  }, [isControlled, onOpenChange]);
48
- (0, _manhphi1309_hooks.useThemeColorAnimation)(open ?? false);
49
47
  return /* @__PURE__ */ (0, react_jsx_runtime.jsx)(DrawerContext.Provider, {
50
48
  value: {
51
49
  open: open ?? false,
package/dist/index.mjs CHANGED
@@ -1,7 +1,6 @@
1
1
  "use client";
2
2
  import * as React from "react";
3
3
  import { Drawer as Drawer$1 } from "vaul";
4
- import { useThemeColorAnimation } from "@manhphi1309/hooks";
5
4
  import { cn } from "@manhphi1309/utils";
6
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
7
6
  //#region index.tsx
@@ -21,7 +20,6 @@ function Drawer({ ...props }) {
21
20
  if (!isControlled) setInternalOpen(newOpen);
22
21
  onOpenChange?.(newOpen);
23
22
  }, [isControlled, onOpenChange]);
24
- useThemeColorAnimation(open ?? false);
25
23
  return /* @__PURE__ */ jsx(DrawerContext.Provider, {
26
24
  value: {
27
25
  open: open ?? false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@manhphi1309/drawer",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
4
4
  "sideEffects": false,
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",