@ichaingo/header 1.5.2 → 1.5.3

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,6 +1,6 @@
1
1
  'use client';
2
- import { jsx as o, jsxs as p } from "react/jsx-runtime";
3
- import i from "@ichaingo/translation";
2
+ import { jsx as o, jsxs as i } from "react/jsx-runtime";
3
+ import p from "@ichaingo/translation";
4
4
  import { Dropdown as h } from "antd";
5
5
  import { useState as u, useEffect as d } from "react";
6
6
  import f from "@ichaingo/request";
@@ -16,7 +16,7 @@ function N() {
16
16
  }, []);
17
17
  const s = (r) => {
18
18
  var a, e;
19
- return /* @__PURE__ */ p(m, { href: n({ chain: r.chainSymbol }), className: "w-full h-full flex items-center gap-2 py-2 cursor-pointer font-medium", children: [
19
+ return /* @__PURE__ */ i(m, { href: n({ chain: r.chainSymbol }), className: "w-full h-full flex items-center gap-2 py-2 cursor-pointer font-medium", children: [
20
20
  /* @__PURE__ */ o(
21
21
  "i",
22
22
  {
@@ -34,7 +34,7 @@ function N() {
34
34
  {
35
35
  getPopupContainer: () => document.body,
36
36
  classNames: {
37
- root: "w-50 p-3!"
37
+ root: "w-50"
38
38
  },
39
39
  arrow: { pointAtCenter: !0 },
40
40
  placement: "bottom",
@@ -44,7 +44,7 @@ function N() {
44
44
  key: r.chainSymbol
45
45
  }))
46
46
  },
47
- children: /* @__PURE__ */ o("div", { className: "whitespace-nowrap leading-11 md:leading-[34px] flex items-center gap-1", children: /* @__PURE__ */ o(i, { value: "title", parentKey: "browser" }) })
47
+ children: /* @__PURE__ */ o("div", { className: "whitespace-nowrap leading-11 md:leading-[34px] flex items-center gap-1", children: /* @__PURE__ */ o(p, { value: "title", parentKey: "browser" }) })
48
48
  }
49
49
  );
50
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichaingo/header",
3
- "version": "1.5.2",
3
+ "version": "1.5.3",
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/auth": "1.5.2",
36
- "@ichaingo/avatar": "1.5.2",
37
- "@ichaingo/better-link": "1.5.2",
38
- "@ichaingo/image": "1.5.2",
39
- "@ichaingo/link": "1.5.2",
40
- "@ichaingo/iconfont": "1.5.2",
41
- "@ichaingo/with-login": "1.5.2",
42
- "@ichaingo/tooltip": "1.5.2",
43
- "@ichaingo/translation": "1.5.2",
44
- "@ichaingo/theme-toggle": "1.5.2",
45
- "@ichaingo/request": "1.5.2",
46
- "@ichaingo/token": "1.5.2",
47
- "@ichaingo/ui": "1.5.2"
35
+ "@ichaingo/auth": "1.5.3",
36
+ "@ichaingo/avatar": "1.5.3",
37
+ "@ichaingo/better-link": "1.5.3",
38
+ "@ichaingo/image": "1.5.3",
39
+ "@ichaingo/ui": "1.5.3",
40
+ "@ichaingo/translation": "1.5.3",
41
+ "@ichaingo/iconfont": "1.5.3",
42
+ "@ichaingo/request": "1.5.3",
43
+ "@ichaingo/with-login": "1.5.3",
44
+ "@ichaingo/link": "1.5.3",
45
+ "@ichaingo/tooltip": "1.5.3",
46
+ "@ichaingo/theme-toggle": "1.5.3",
47
+ "@ichaingo/token": "1.5.3"
48
48
  }
49
49
  }