umwd-components 0.1.229 → 0.1.230
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
/*
|
|
2
3
|
* UMWD-Components
|
|
3
4
|
* @copyright Jelle Paulus
|
|
@@ -48,11 +49,11 @@ function SideNav(_ref) {
|
|
|
48
49
|
const AppbarSxOpen = {
|
|
49
50
|
zIndex: theme.zIndex.drawer + 1,
|
|
50
51
|
marginLeft: drawerWidth,
|
|
51
|
-
width: "calc(100% - ".concat(drawerWidth, "px)")
|
|
52
|
-
transition: theme.transitions.create(["width", "margin"], {
|
|
53
|
-
easing: theme.transitions.easing.sharp,
|
|
54
|
-
duration: theme.transitions.duration.enteringScreen
|
|
55
|
-
})
|
|
52
|
+
width: "calc(100% - ".concat(drawerWidth, "px)")
|
|
53
|
+
/* transition: theme.transitions.create(["width", "margin"], {
|
|
54
|
+
easing: theme.transitions.easing.sharp,
|
|
55
|
+
duration: theme.transitions.duration.enteringScreen,
|
|
56
|
+
}), */
|
|
56
57
|
};
|
|
57
58
|
const AppbarSxClosed = {
|
|
58
59
|
zIndex: theme.zIndex.drawer + 1,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
/*
|
|
2
3
|
* UMWD-Components
|
|
3
4
|
* @copyright Jelle Paulus
|
|
@@ -25,11 +26,11 @@ function SideNav(_ref) {
|
|
|
25
26
|
const AppbarSxOpen = {
|
|
26
27
|
zIndex: theme.zIndex.drawer + 1,
|
|
27
28
|
marginLeft: drawerWidth,
|
|
28
|
-
width: "calc(100% - ".concat(drawerWidth, "px)")
|
|
29
|
-
transition: theme.transitions.create(["width", "margin"], {
|
|
30
|
-
easing: theme.transitions.easing.sharp,
|
|
31
|
-
duration: theme.transitions.duration.enteringScreen
|
|
32
|
-
})
|
|
29
|
+
width: "calc(100% - ".concat(drawerWidth, "px)")
|
|
30
|
+
/* transition: theme.transitions.create(["width", "margin"], {
|
|
31
|
+
easing: theme.transitions.easing.sharp,
|
|
32
|
+
duration: theme.transitions.duration.enteringScreen,
|
|
33
|
+
}), */
|
|
33
34
|
};
|
|
34
35
|
const AppbarSxClosed = {
|
|
35
36
|
zIndex: theme.zIndex.drawer + 1,
|
package/package.json
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
1
3
|
import * as React from "react";
|
|
2
4
|
import Link from "next/link";
|
|
3
5
|
import {
|
|
@@ -60,10 +62,10 @@ function SideNav({
|
|
|
60
62
|
zIndex: theme.zIndex.drawer + 1,
|
|
61
63
|
marginLeft: drawerWidth,
|
|
62
64
|
width: `calc(100% - ${drawerWidth}px)`,
|
|
63
|
-
transition: theme.transitions.create(["width", "margin"], {
|
|
65
|
+
/* transition: theme.transitions.create(["width", "margin"], {
|
|
64
66
|
easing: theme.transitions.easing.sharp,
|
|
65
67
|
duration: theme.transitions.duration.enteringScreen,
|
|
66
|
-
}),
|
|
68
|
+
}), */
|
|
67
69
|
};
|
|
68
70
|
|
|
69
71
|
const AppbarSxClosed = {
|