@arcblock/ux 3.2.17 → 3.2.18

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.
@@ -5,4 +5,4 @@ export default function useBlockletLogo({ key, meta, theme: themeOverrides, squa
5
5
  meta?: any;
6
6
  theme?: ThemeOptions;
7
7
  square?: boolean;
8
- }): any;
8
+ }): string;
@@ -1,4 +1,4 @@
1
- const e = "3.2.17", s = { "@blocklet/js-sdk": "^1.17.5" }, n = {
1
+ const e = "3.2.18", s = { "@blocklet/js-sdk": "^1.17.5" }, n = {
2
2
  version: e,
3
3
  dependencies: s
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/ux",
3
- "version": "3.2.17",
3
+ "version": "3.2.18",
4
4
  "description": "Common used react components for arcblock products",
5
5
  "keywords": [
6
6
  "react",
@@ -68,16 +68,16 @@
68
68
  "react": "^19.0.0",
69
69
  "react-router-dom": "^6.22.3"
70
70
  },
71
- "gitHead": "5f9c8a00065316075847d5b5e5a56874f0929f6e",
71
+ "gitHead": "2637c095bf07f3fd8feb5f06ca6aff993a3be29b",
72
72
  "dependencies": {
73
- "@arcblock/bridge": "3.2.17",
73
+ "@arcblock/bridge": "3.2.18",
74
74
  "@arcblock/did": "^1.27.15",
75
75
  "@arcblock/did-motif": "^1.1.14",
76
- "@arcblock/icons": "3.2.17",
77
- "@arcblock/nft-display": "3.2.17",
78
- "@arcblock/react-hooks": "3.2.17",
76
+ "@arcblock/icons": "3.2.18",
77
+ "@arcblock/nft-display": "3.2.18",
78
+ "@arcblock/react-hooks": "3.2.18",
79
79
  "@blocklet/js-sdk": "^1.17.5",
80
- "@blocklet/theme": "3.2.17",
80
+ "@blocklet/theme": "3.2.18",
81
81
  "@fontsource/roboto": "~5.1.1",
82
82
  "@fontsource/ubuntu-mono": "^5.2.6",
83
83
  "@iconify-icons/logos": "^1.2.36",
@@ -14,7 +14,7 @@ import {
14
14
  } from '@blocklet/theme';
15
15
  import { cleanedObj, deepmergeAll } from '../Util';
16
16
 
17
- // 默认只加载最基本的 roboto latin 字体
17
+ // 默认只加载最基本的 Roboto latin 字体
18
18
  import '@fontsource/roboto/latin-400.css';
19
19
  import '@fontsource/roboto/latin-500.css';
20
20
  import '@fontsource/roboto/latin-700.css';
@@ -17,7 +17,7 @@ export default function useBlockletLogo({
17
17
  return themeOverrides?.palette?.mode || theme.palette.mode;
18
18
  }, [theme, themeOverrides]);
19
19
 
20
- const finalAppLogo = useCreation(() => {
20
+ const finalAppLogo = useCreation<string>(() => {
21
21
  const { appLogo, appLogoDark, appLogoRect, appLogoRectDark } = Object.assign({}, window.blocklet ?? {}, meta);
22
22
  const isDark = mode === 'dark';
23
23