@kopexa/drawer 8.0.3 → 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.
- package/dist/{chunk-P5E6W3AQ.mjs → chunk-73YAB5BL.mjs} +1 -1
- package/dist/{chunk-IPVFJD7Z.mjs → chunk-G37ASPA2.mjs} +1 -1
- package/dist/drawer.js +1 -1
- package/dist/drawer.mjs +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +2 -2
- package/dist/namespace.js +1 -1
- package/dist/namespace.mjs +2 -2
- package/package.json +8 -8
|
@@ -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";
|
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
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-
|
|
4
|
+
} from "./chunk-G37ASPA2.mjs";
|
|
5
5
|
import {
|
|
6
6
|
useDrawerContext
|
|
7
|
-
} from "./chunk-
|
|
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";
|
package/dist/namespace.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import "./chunk-
|
|
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-
|
|
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.
|
|
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.
|
|
31
|
+
"@kopexa/theme": "1.5.4"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@radix-ui/react-dialog": "^1.1.14",
|
|
35
|
-
"motion": "^12.23.
|
|
36
|
-
"@kopexa/react-utils": "2.0.
|
|
37
|
-
"@kopexa/shared-utils": "1.1.
|
|
38
|
-
"@kopexa/icons": "8.0.
|
|
39
|
-
"@kopexa/use-controllable-state": "1.1.
|
|
40
|
-
"@kopexa/motion-utils": "8.0.
|
|
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",
|