@0xchain/header 1.1.0-beta.38 → 1.1.0-beta.39
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/lib/Nav.js
CHANGED
|
@@ -6,7 +6,7 @@ import Setting from "./Setting/index.js";
|
|
|
6
6
|
import Translation from "@0xchain/translation";
|
|
7
7
|
import { twMerge } from "tailwind-merge";
|
|
8
8
|
import BetterLink from "@0xchain/better-link";
|
|
9
|
-
import { useLocale } from "
|
|
9
|
+
import { useLocale } from "@0xchain/i18n/react";
|
|
10
10
|
import Logout from "./User/Logout.js";
|
|
11
11
|
import { useState, useCallback, useEffect } from "react";
|
|
12
12
|
import SignIn from "./User/SignIn.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import { jsxs, jsx } from "react/jsx-runtime";
|
|
3
|
-
import { useLocale, useTranslations } from "
|
|
3
|
+
import { useLocale, useTranslations } from "@0xchain/i18n/react";
|
|
4
4
|
import { useSearchParams, usePathname } from "next/navigation";
|
|
5
5
|
import { Accordion, AccordionItem, AccordionTrigger, AccordionContent } from "@0xchain/ui/accordion";
|
|
6
6
|
import { twMerge } from "tailwind-merge";
|
|
@@ -4,7 +4,7 @@ import { useState, useMemo, useEffect } from "react";
|
|
|
4
4
|
import LinkBar from "@0xchain/link";
|
|
5
5
|
import Translation from "@0xchain/translation";
|
|
6
6
|
import BetterLink from "@0xchain/better-link";
|
|
7
|
-
import { useLocale } from "
|
|
7
|
+
import { useLocale } from "@0xchain/i18n/react";
|
|
8
8
|
import Avatar from "@0xchain/avatar";
|
|
9
9
|
function MainTrigger({
|
|
10
10
|
userInfo
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xchain/header",
|
|
3
|
-
"version": "1.1.0-beta.
|
|
3
|
+
"version": "1.1.0-beta.39",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"antd": "6.1.1",
|
|
22
22
|
"lucide-react": "0.539.0",
|
|
23
23
|
"next": "16.1.6",
|
|
24
|
-
"next-intl": "4.
|
|
24
|
+
"next-intl": "4.13.0",
|
|
25
25
|
"rc-drawer": "7.3.0",
|
|
26
26
|
"react": "19.1.1",
|
|
27
27
|
"react-dom": "19.1.1",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"js-cookie": "3.0.5",
|
|
35
35
|
"lucide-react": "0.539.0",
|
|
36
36
|
"next": "16.1.6",
|
|
37
|
-
"next-intl": "4.
|
|
37
|
+
"next-intl": "4.13.0",
|
|
38
38
|
"rc-drawer": "7.3.0",
|
|
39
39
|
"react": "19.1.1",
|
|
40
40
|
"react-dom": "19.1.1",
|
|
@@ -42,18 +42,19 @@
|
|
|
42
42
|
"tailwind-merge": "3.3.1"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@0xchain/
|
|
46
|
-
"@0xchain/
|
|
47
|
-
"@0xchain/link": "1.1.0-beta.
|
|
48
|
-
"@0xchain/
|
|
49
|
-
"@0xchain/image": "1.1.0-beta.
|
|
50
|
-
"@0xchain/
|
|
51
|
-
"@0xchain/
|
|
52
|
-
"@0xchain/
|
|
53
|
-
"@0xchain/
|
|
54
|
-
"@0xchain/
|
|
55
|
-
"@0xchain/
|
|
56
|
-
"@0xchain/
|
|
45
|
+
"@0xchain/avatar": "1.1.0-beta.39",
|
|
46
|
+
"@0xchain/i18n": "1.1.0-beta.39",
|
|
47
|
+
"@0xchain/better-link": "1.1.0-beta.39",
|
|
48
|
+
"@0xchain/auth": "1.1.0-beta.39",
|
|
49
|
+
"@0xchain/image": "1.1.0-beta.39",
|
|
50
|
+
"@0xchain/ui": "1.1.0-beta.39",
|
|
51
|
+
"@0xchain/link": "1.1.0-beta.39",
|
|
52
|
+
"@0xchain/theme-toggle": "1.1.0-beta.39",
|
|
53
|
+
"@0xchain/with-login": "1.1.0-beta.39",
|
|
54
|
+
"@0xchain/iconfont": "1.1.0-beta.39",
|
|
55
|
+
"@0xchain/translation": "1.1.0-beta.39",
|
|
56
|
+
"@0xchain/tooltip": "1.1.0-beta.39",
|
|
57
|
+
"@0xchain/request": "1.1.0-beta.39"
|
|
57
58
|
},
|
|
58
59
|
"nx": {
|
|
59
60
|
"tags": [
|