@kopexa/drawer 8.0.4 → 8.0.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.
@@ -126,7 +126,7 @@ function DrawerOverlay({ className, ...props }) {
126
126
  ) });
127
127
  }
128
128
  var DrawerContent = (props) => {
129
- const { className, children, showCloseButton, ...rest } = props;
129
+ const { className, children, showCloseButton = false, ...rest } = props;
130
130
  const { open, styles, placement } = useDrawerContext();
131
131
  const motionProps = useMemo2(() => {
132
132
  const key = placement === "left" || placement === "right" ? "x" : "y";
@@ -13,7 +13,7 @@ import {
13
13
  DrawerTitle,
14
14
  DrawerTrigger,
15
15
  __export
16
- } from "./chunk-P5E6W3AQ.mjs";
16
+ } from "./chunk-73YAB5BL.mjs";
17
17
 
18
18
  // src/namespace.ts
19
19
  var namespace_exports = {};
package/dist/drawer.js CHANGED
@@ -162,7 +162,7 @@ function DrawerOverlay({ className, ...props }) {
162
162
  ) });
163
163
  }
164
164
  var DrawerContent = (props) => {
165
- const { className, children, showCloseButton, ...rest } = props;
165
+ const { className, children, showCloseButton = false, ...rest } = props;
166
166
  const { open, styles, placement } = useDrawerContext();
167
167
  const motionProps = (0, import_react4.useMemo)(() => {
168
168
  const key = placement === "left" || placement === "right" ? "x" : "y";
package/dist/drawer.mjs CHANGED
@@ -14,7 +14,7 @@ import {
14
14
  DrawerTitle,
15
15
  DrawerTrigger,
16
16
  useDrawerContext
17
- } from "./chunk-P5E6W3AQ.mjs";
17
+ } from "./chunk-73YAB5BL.mjs";
18
18
  export {
19
19
  DrawerBody,
20
20
  DrawerClose,
package/dist/index.js CHANGED
@@ -152,7 +152,7 @@ function DrawerOverlay({ className, ...props }) {
152
152
  ) });
153
153
  }
154
154
  var DrawerContent = (props) => {
155
- const { className, children, showCloseButton, ...rest } = props;
155
+ const { className, children, showCloseButton = false, ...rest } = props;
156
156
  const { open, styles, placement } = useDrawerContext();
157
157
  const motionProps = (0, import_react4.useMemo)(() => {
158
158
  const key = placement === "left" || placement === "right" ? "x" : "y";
package/dist/index.mjs CHANGED
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  namespace_exports
4
- } from "./chunk-IPVFJD7Z.mjs";
4
+ } from "./chunk-G37ASPA2.mjs";
5
5
  import {
6
6
  useDrawerContext
7
- } from "./chunk-P5E6W3AQ.mjs";
7
+ } from "./chunk-73YAB5BL.mjs";
8
8
  export {
9
9
  namespace_exports as Drawer,
10
10
  useDrawerContext
package/dist/namespace.js CHANGED
@@ -162,7 +162,7 @@ function DrawerOverlay({ className, ...props }) {
162
162
  ) });
163
163
  }
164
164
  var DrawerContent = (props) => {
165
- const { className, children, showCloseButton, ...rest } = props;
165
+ const { className, children, showCloseButton = false, ...rest } = props;
166
166
  const { open, styles, placement } = useDrawerContext();
167
167
  const motionProps = (0, import_react4.useMemo)(() => {
168
168
  const key = placement === "left" || placement === "right" ? "x" : "y";
@@ -1,5 +1,5 @@
1
1
  "use client";
2
- import "./chunk-IPVFJD7Z.mjs";
2
+ import "./chunk-G37ASPA2.mjs";
3
3
  import {
4
4
  DrawerBody,
5
5
  DrawerClose,
@@ -13,7 +13,7 @@ import {
13
13
  DrawerRoot,
14
14
  DrawerTitle,
15
15
  DrawerTrigger
16
- } from "./chunk-P5E6W3AQ.mjs";
16
+ } from "./chunk-73YAB5BL.mjs";
17
17
  export {
18
18
  DrawerBody as Body,
19
19
  DrawerClose as Close,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kopexa/drawer",
3
- "version": "8.0.4",
3
+ "version": "8.0.5",
4
4
  "description": "A drawer for kopexa",
5
5
  "keywords": [
6
6
  "drawer"
@@ -28,16 +28,16 @@
28
28
  "motion": ">=12.23.6",
29
29
  "react": ">=19.0.0-rc.0",
30
30
  "react-dom": ">=19.0.0-rc.0",
31
- "@kopexa/theme": "1.5.3"
31
+ "@kopexa/theme": "1.5.4"
32
32
  },
33
33
  "dependencies": {
34
34
  "@radix-ui/react-dialog": "^1.1.14",
35
- "motion": "^12.23.6",
36
- "@kopexa/react-utils": "2.0.4",
37
- "@kopexa/shared-utils": "1.1.4",
38
- "@kopexa/icons": "8.0.4",
39
- "@kopexa/use-controllable-state": "1.1.1",
40
- "@kopexa/motion-utils": "8.0.3"
35
+ "motion": "^12.23.9",
36
+ "@kopexa/react-utils": "2.0.5",
37
+ "@kopexa/shared-utils": "1.1.5",
38
+ "@kopexa/icons": "8.0.5",
39
+ "@kopexa/use-controllable-state": "1.1.2",
40
+ "@kopexa/motion-utils": "8.0.4"
41
41
  },
42
42
  "clean-package": "../../../clean-package.config.json",
43
43
  "module": "dist/index.mjs",