@blocklet/ui-react 3.3.8 → 3.3.10

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.
@@ -15,7 +15,7 @@ declare function Dashboard({ meta, fallbackUrl, invalidPathFallback, headerAddon
15
15
  showRole: boolean;
16
16
  onLogout: () => void;
17
17
  } | undefined;
18
- links?: never[] | undefined;
18
+ links?: any[] | undefined;
19
19
  showDomainWarningDialog?: boolean | undefined;
20
20
  appPath?: undefined;
21
21
  appTab?: undefined;
@@ -27,7 +27,7 @@ declare namespace Dashboard {
27
27
  export { BlockletMetaProps as meta };
28
28
  export let fallbackUrl: PropTypes.Requireable<string>;
29
29
  export let invalidPathFallback: PropTypes.Requireable<(...args: any[]) => any>;
30
- export let headerAddons: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>;
30
+ export let headerAddons: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.ReactNodeLike>>;
31
31
  export { SessionManagerProps as sessionManagerProps };
32
32
  export let links: PropTypes.Requireable<NonNullable<any[] | ((...args: any[]) => any) | null | undefined>>;
33
33
  export let showDomainWarningDialog: PropTypes.Requireable<boolean>;
@@ -4,7 +4,7 @@ import { default as PropTypes } from 'prop-types';
4
4
  */
5
5
  declare function Links({ links, flowLayout, minColumns, maxColumns, ...rest }: {
6
6
  [x: string]: any;
7
- links?: never[] | undefined;
7
+ links?: any[] | undefined;
8
8
  flowLayout?: boolean | undefined;
9
9
  minColumns?: number | undefined;
10
10
  maxColumns?: number | undefined;
@@ -11,7 +11,7 @@ export function getLocalizedNavigation({ navigation, locale, defaultLocale, sect
11
11
  }>;
12
12
  locale: string;
13
13
  defaultLocale: string;
14
- section?: "header" | "footer" | undefined;
14
+ section?: "footer" | "header" | undefined;
15
15
  }): any[];
16
16
  export function formatNavigation(navigation: any): any;
17
17
  export function parseNavigation(navigation: any): {
@@ -11,7 +11,7 @@ declare function HeaderAddons({ formattedBlocklet, addons, showDomainWarningDial
11
11
  declare namespace HeaderAddons {
12
12
  namespace propTypes {
13
13
  export let formattedBlocklet: PropTypes.Validator<object>;
14
- export let addons: PropTypes.Requireable<NonNullable<PropTypes.ReactNodeLike | ((...args: any[]) => any)>>;
14
+ export let addons: PropTypes.Requireable<NonNullable<((...args: any[]) => any) | PropTypes.ReactNodeLike>>;
15
15
  export { SessionManagerProps as sessionManagerProps };
16
16
  export let showDomainWarningDialog: PropTypes.Requireable<boolean>;
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/ui-react",
3
- "version": "3.3.8",
3
+ "version": "3.3.10",
4
4
  "description": "Some useful front-end web components that can be used in Blocklets.",
5
5
  "keywords": [
6
6
  "react",
@@ -33,13 +33,13 @@
33
33
  "url": "https://github.com/ArcBlock/ux/issues"
34
34
  },
35
35
  "dependencies": {
36
- "@abtnode/constant": "^1.17.6",
37
- "@abtnode/util": "^1.17.6",
38
- "@arcblock/bridge": "3.3.8",
39
- "@arcblock/icons": "3.3.8",
40
- "@arcblock/react-hooks": "3.3.8",
36
+ "@abtnode/constant": "^1.17.7",
37
+ "@abtnode/util": "^1.17.7",
38
+ "@arcblock/bridge": "3.3.10",
39
+ "@arcblock/icons": "3.3.10",
40
+ "@arcblock/react-hooks": "3.3.10",
41
41
  "@arcblock/ws": "^1.27.16",
42
- "@blocklet/did-space-react": "^1.2.11",
42
+ "@blocklet/did-space-react": "^1.2.13",
43
43
  "@iconify-icons/logos": "^1.2.36",
44
44
  "@iconify-icons/material-symbols": "^1.2.58",
45
45
  "@iconify-icons/tabler": "^1.2.95",
@@ -82,7 +82,7 @@
82
82
  "access": "public"
83
83
  },
84
84
  "devDependencies": {
85
- "@arcblock/did-connect-react": "3.3.8",
85
+ "@arcblock/did-connect-react": "3.3.10",
86
86
  "@babel/preset-env": "^7.28.0",
87
87
  "@babel/preset-react": "^7.27.1",
88
88
  "@babel/preset-typescript": "^7.27.1",
@@ -96,5 +96,5 @@
96
96
  "typescript": "~5.5.4",
97
97
  "unbuild": "^2.0.0"
98
98
  },
99
- "gitHead": "b4c40eaa794d708a6d21b721306b8e1cf6fb00ce"
99
+ "gitHead": "6c98492b766cb7f7486f3a81f3d4e4b0936af163"
100
100
  }