@ichaingo/header 1.4.85 → 1.4.87
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/Logo.js +1 -1
- package/dist/lib/Setting/index.js +5 -5
- package/package.json +23 -23
package/dist/lib/Logo.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import
|
|
1
|
+
import { jsxs as t, jsx as e } from "react/jsx-runtime";
|
|
2
|
+
import d from "@ichaingo/iconfont";
|
|
3
3
|
import i from "@ichaingo/tooltip";
|
|
4
4
|
import o from "./SettingBody.js";
|
|
5
|
-
function a({ onClick:
|
|
5
|
+
function a({ onClick: r = () => {
|
|
6
6
|
} }) {
|
|
7
|
-
return /* @__PURE__ */
|
|
8
|
-
/* @__PURE__ */ e("div", { className: "hidden md:flex items-center bg-module rounded-lg p-1.5 cursor-pointer", children: /* @__PURE__ */ e(i, { side: "bottom", contentClassName: "bg-module w-70 rounded-lg bg-module text-title", trigger: /* @__PURE__ */ e(
|
|
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 items-center bg-module 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-setting", className: "text-2xl" }), arrowClassName: "fill-module", children: /* @__PURE__ */ e(o, { onClick: r }) }) }),
|
|
9
9
|
/* @__PURE__ */ e("div", { className: "md:hidden", children: /* @__PURE__ */ e(o, {}) })
|
|
10
10
|
] });
|
|
11
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ichaingo/header",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.87",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -17,32 +17,32 @@
|
|
|
17
17
|
"dist",
|
|
18
18
|
"!**/*.tsbuildinfo"
|
|
19
19
|
],
|
|
20
|
-
"
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"rollup-plugin-preserve-use-client": "3.0.1",
|
|
22
|
+
"@types/js-cookie": "3.0.6"
|
|
23
|
+
},
|
|
24
|
+
"dependencies": {
|
|
21
25
|
"js-cookie": "^3.0.5",
|
|
22
26
|
"lucide-react": "^0.539.0",
|
|
23
27
|
"next-intl": "^4.5.6",
|
|
24
28
|
"@ichaingo/next-themes": "^0.5.0",
|
|
25
29
|
"rc-drawer": "^1.0.1",
|
|
26
|
-
"react": "^19.1.
|
|
27
|
-
"react-dom": "^19.1.
|
|
28
|
-
"tailwind-merge": "^
|
|
29
|
-
"next": "15.
|
|
30
|
-
"@ichaingo/auth": "1.4.
|
|
31
|
-
"@ichaingo/
|
|
32
|
-
"@ichaingo/
|
|
33
|
-
"@ichaingo/
|
|
34
|
-
"@ichaingo/
|
|
35
|
-
"@ichaingo/
|
|
36
|
-
"@ichaingo/
|
|
37
|
-
"@ichaingo/theme-toggle": "1.4.
|
|
38
|
-
"@ichaingo/
|
|
39
|
-
"@ichaingo/
|
|
40
|
-
"@ichaingo/token": "1.4.
|
|
41
|
-
"@ichaingo/
|
|
42
|
-
"@ichaingo/
|
|
43
|
-
},
|
|
44
|
-
"devDependencies": {
|
|
45
|
-
"rollup-plugin-preserve-use-client": "^1.0.0",
|
|
46
|
-
"@types/js-cookie": "^3.0.6"
|
|
30
|
+
"react": "^19.1.1",
|
|
31
|
+
"react-dom": "^19.1.1",
|
|
32
|
+
"tailwind-merge": "^3.3.1",
|
|
33
|
+
"next": "^15.5.6",
|
|
34
|
+
"@ichaingo/auth": "1.4.87",
|
|
35
|
+
"@ichaingo/better-link": "1.4.87",
|
|
36
|
+
"@ichaingo/image": "1.4.87",
|
|
37
|
+
"@ichaingo/link": "1.4.87",
|
|
38
|
+
"@ichaingo/translation": "1.4.87",
|
|
39
|
+
"@ichaingo/request": "1.4.87",
|
|
40
|
+
"@ichaingo/with-login": "1.4.87",
|
|
41
|
+
"@ichaingo/theme-toggle": "1.4.87",
|
|
42
|
+
"@ichaingo/avatar": "1.4.87",
|
|
43
|
+
"@ichaingo/tooltip": "1.4.87",
|
|
44
|
+
"@ichaingo/token": "1.4.87",
|
|
45
|
+
"@ichaingo/iconfont": "1.4.87",
|
|
46
|
+
"@ichaingo/ui": "1.4.87"
|
|
47
47
|
}
|
|
48
48
|
}
|