@ichaingo/header 1.5.22 → 1.5.24
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 +2 -2
- package/dist/lib/Setting/index.js +1 -1
- package/package.json +14 -14
package/dist/lib/Nav.js
CHANGED
|
@@ -74,7 +74,7 @@ function Y({ onClick: s = () => {
|
|
|
74
74
|
className: a(
|
|
75
75
|
"flex flex-col justify-start items-start md:px-3",
|
|
76
76
|
"md:flex-row md:justify-end md:items-center md:px-0",
|
|
77
|
-
"md:gap-
|
|
77
|
+
"md:gap-4"
|
|
78
78
|
),
|
|
79
79
|
children: [
|
|
80
80
|
/* @__PURE__ */ r(
|
|
@@ -85,7 +85,7 @@ function Y({ onClick: s = () => {
|
|
|
85
85
|
"md:flex-row md:items-center md:w-auto md:h-[34px] md:gap-6",
|
|
86
86
|
"order-2 md:order-0"
|
|
87
87
|
),
|
|
88
|
-
children: y.map((e, n) => /* @__PURE__ */ r("li", { className: a("w-full md:px-4 md:py-1 h-11 md:h-auto md:font-bold md:w-auto cursor-pointer md:rounded-full", e.show(l) ? "md:text-primary md:bg-primary/20" : "md:hover:bg-
|
|
88
|
+
children: y.map((e, n) => /* @__PURE__ */ r("li", { className: a("w-full md:px-4 md:py-1 h-11 md:h-auto md:font-bold md:w-auto cursor-pointer md:rounded-full", e.show(l) ? "md:text-primary md:bg-primary/20" : "md:hover:bg-stroke"), children: e.href === l ? e.label : /* @__PURE__ */ r(L, { href: e.href, onClick: s, className: "h-full flex items-center justify-start", baseUrl: e.baseUrl, suppressHydrationWarning: !0, children: e.label }) }, n))
|
|
89
89
|
}
|
|
90
90
|
),
|
|
91
91
|
/* @__PURE__ */ r(v, { onClick: s }),
|
|
@@ -5,7 +5,7 @@ import r from "./SettingBody.js";
|
|
|
5
5
|
function a({ onClick: o = () => {
|
|
6
6
|
} }) {
|
|
7
7
|
return /* @__PURE__ */ t("div", { className: "w-full md:w-auto order-3 md:order-0", children: [
|
|
8
|
-
/* @__PURE__ */ e("div", { className: "hidden md:flex
|
|
8
|
+
/* @__PURE__ */ e("div", { className: "hidden md:flex items-center bg-module hover:bg-stroke rounded-lg p-1.5 cursor-pointer", children: /* @__PURE__ */ e(i, { side: "bottom", needClick: !0, contentClassName: "bg-module w-70 rounded-lg bg-module text-title border border-stroke", trigger: /* @__PURE__ */ e(d, { type: "icon-centersetup", className: "text-2xl" }), arrowClassName: "fill-module", children: /* @__PURE__ */ e(r, { onClick: o }) }) }),
|
|
9
9
|
/* @__PURE__ */ e("div", { className: "md:hidden", children: /* @__PURE__ */ e(r, {}) })
|
|
10
10
|
] });
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ichaingo/header",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -32,18 +32,18 @@
|
|
|
32
32
|
"tailwind-merge": "3.3.1",
|
|
33
33
|
"next": "15.5.6",
|
|
34
34
|
"antd": "6.1.1",
|
|
35
|
-
"@ichaingo/
|
|
36
|
-
"@ichaingo/auth": "1.5.
|
|
37
|
-
"@ichaingo/avatar": "1.5.
|
|
38
|
-
"@ichaingo/
|
|
39
|
-
"@ichaingo/
|
|
40
|
-
"@ichaingo/
|
|
41
|
-
"@ichaingo/
|
|
42
|
-
"@ichaingo/
|
|
43
|
-
"@ichaingo/
|
|
44
|
-
"@ichaingo/
|
|
45
|
-
"@ichaingo/
|
|
46
|
-
"@ichaingo/
|
|
47
|
-
"@ichaingo/
|
|
35
|
+
"@ichaingo/better-link": "1.5.24",
|
|
36
|
+
"@ichaingo/auth": "1.5.24",
|
|
37
|
+
"@ichaingo/avatar": "1.5.24",
|
|
38
|
+
"@ichaingo/link": "1.5.24",
|
|
39
|
+
"@ichaingo/translation": "1.5.24",
|
|
40
|
+
"@ichaingo/request": "1.5.24",
|
|
41
|
+
"@ichaingo/image": "1.5.24",
|
|
42
|
+
"@ichaingo/iconfont": "1.5.24",
|
|
43
|
+
"@ichaingo/with-login": "1.5.24",
|
|
44
|
+
"@ichaingo/token": "1.5.24",
|
|
45
|
+
"@ichaingo/tooltip": "1.5.24",
|
|
46
|
+
"@ichaingo/theme-toggle": "1.5.24",
|
|
47
|
+
"@ichaingo/ui": "1.5.24"
|
|
48
48
|
}
|
|
49
49
|
}
|