@edu-tosel/design 1.0.48 → 1.0.50
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/interface/Property.d.ts
CHANGED
|
@@ -36,7 +36,7 @@ export type Size = "3xs" | "2xs" | "xs" | "sm" | "md" | "lg" | "xl" | "2xl" | "f
|
|
|
36
36
|
* @property {"sub"} sub - Sub size
|
|
37
37
|
* @property {"full"} full - Full size
|
|
38
38
|
*/
|
|
39
|
-
export type OnClick<
|
|
39
|
+
export type OnClick<Request = unknown, Response = unknown> = (prop?: Request) => Response | ((prop?: Request) => Promise<Response>);
|
|
40
40
|
export interface Button extends HTMLLabelElement {
|
|
41
41
|
}
|
|
42
42
|
export type FileRead = string | ArrayBuffer | null;
|
|
@@ -16,11 +16,12 @@ export default function Navigation({ clickBrowser, }) {
|
|
|
16
16
|
leave: { width: 0, height: screen.height, duration: 500 },
|
|
17
17
|
});
|
|
18
18
|
const overlayTransition = useTransition(flag, {
|
|
19
|
-
from: { width: 0 },
|
|
20
|
-
enter: { width:
|
|
19
|
+
from: { width: "0%" },
|
|
20
|
+
enter: { width: "100%" },
|
|
21
21
|
config: { duration: 500 },
|
|
22
22
|
});
|
|
23
23
|
useEffect(() => {
|
|
24
|
+
console.log(screen.width);
|
|
24
25
|
if (flag) {
|
|
25
26
|
const timer = setTimeout(() => {
|
|
26
27
|
clickBrowser();
|
package/package.json
CHANGED
package/version.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.50
|