@arcblock/ux 3.1.46 → 3.1.47
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/lib/Dialog/dialog.d.ts +27 -0
- package/lib/Img/index.d.ts +6 -0
- package/lib/Util/constant.d.ts +1 -9
- package/lib/package.json.js +2 -2
- package/package.json +8 -8
package/lib/Dialog/dialog.d.ts
CHANGED
@@ -6,34 +6,58 @@ export type PaperStyle = import('@mui/material').PaperProps & {
|
|
6
6
|
minHeight?: number | string;
|
7
7
|
};
|
8
8
|
export type UxDialogProps = {
|
9
|
+
/**
|
10
|
+
* - The content of the dialog.
|
11
|
+
*/
|
9
12
|
/**
|
10
13
|
* - The content of the dialog.
|
11
14
|
*/
|
12
15
|
children: React.ReactNode;
|
16
|
+
/**
|
17
|
+
* - The title of the dialog.
|
18
|
+
*/
|
13
19
|
/**
|
14
20
|
* - The title of the dialog.
|
15
21
|
*/
|
16
22
|
title?: React.ReactNode;
|
23
|
+
/**
|
24
|
+
* - Content to be displayed before the dialog title.
|
25
|
+
*/
|
17
26
|
/**
|
18
27
|
* - Content to be displayed before the dialog title.
|
19
28
|
*/
|
20
29
|
prepend?: React.ReactNode;
|
30
|
+
/**
|
31
|
+
* - Content to be displayed in the top toolbar of the dialog.
|
32
|
+
*/
|
21
33
|
/**
|
22
34
|
* - Content to be displayed in the top toolbar of the dialog.
|
23
35
|
*/
|
24
36
|
toolbar?: React.ReactNode;
|
37
|
+
/**
|
38
|
+
* - Content to be displayed in the bottom actions toolbar of the dialog.
|
39
|
+
*/
|
25
40
|
/**
|
26
41
|
* - Content to be displayed in the bottom actions toolbar of the dialog.
|
27
42
|
*/
|
28
43
|
actions?: React.ReactNode;
|
44
|
+
/**
|
45
|
+
* - Whether or not to show the close button.
|
46
|
+
*/
|
29
47
|
/**
|
30
48
|
* - Whether or not to show the close button.
|
31
49
|
*/
|
32
50
|
showCloseButton?: boolean | undefined;
|
51
|
+
/**
|
52
|
+
* - The position of the actions toolbar.
|
53
|
+
*/
|
33
54
|
/**
|
34
55
|
* - The position of the actions toolbar.
|
35
56
|
*/
|
36
57
|
actionsPosition?: "left" | "right" | "center" | undefined;
|
58
|
+
/**
|
59
|
+
* - Props to be passed down to the dialog paper.
|
60
|
+
*/
|
37
61
|
/**
|
38
62
|
* - Props to be passed down to the dialog paper.
|
39
63
|
*/
|
@@ -41,6 +65,9 @@ export type UxDialogProps = {
|
|
41
65
|
slotProps?: {
|
42
66
|
content: object;
|
43
67
|
} | undefined;
|
68
|
+
/**
|
69
|
+
* - Callback function fired when the dialog is closed.
|
70
|
+
*/
|
44
71
|
/**
|
45
72
|
* - Callback function fired when the dialog is closed.
|
46
73
|
*/
|
package/lib/Img/index.d.ts
CHANGED
@@ -1,6 +1,9 @@
|
|
1
1
|
import { default as PropTypes } from 'prop-types';
|
2
2
|
export default Img;
|
3
3
|
export type ImgExProps = {
|
4
|
+
/**
|
5
|
+
* - required
|
6
|
+
*/
|
4
7
|
/**
|
5
8
|
* - required
|
6
9
|
*/
|
@@ -16,6 +19,9 @@ export type ImgExProps = {
|
|
16
19
|
lazy?: boolean | undefined;
|
17
20
|
placeholder?: string | undefined;
|
18
21
|
fallback?: string | undefined;
|
22
|
+
/**
|
23
|
+
* - 是否使用代理 fallback, 用于解决 CSP 的问题
|
24
|
+
*/
|
19
25
|
/**
|
20
26
|
* - 是否使用代理 fallback, 用于解决 CSP 的问题
|
21
27
|
*/
|
package/lib/Util/constant.d.ts
CHANGED
@@ -26,15 +26,7 @@ export declare const LOGIN_PROVIDER: {
|
|
26
26
|
TWITTER: string;
|
27
27
|
};
|
28
28
|
export declare const LOGIN_PROVIDER_NAME: {
|
29
|
-
[
|
30
|
-
[LOGIN_PROVIDER.AUTH0]: string;
|
31
|
-
[LOGIN_PROVIDER.APPLE]: string;
|
32
|
-
[LOGIN_PROVIDER.GITHUB]: string;
|
33
|
-
[LOGIN_PROVIDER.GOOGLE]: string;
|
34
|
-
[LOGIN_PROVIDER.WALLET]: string;
|
35
|
-
[LOGIN_PROVIDER.NFT]: string;
|
36
|
-
[LOGIN_PROVIDER.PASSKEY]: string;
|
37
|
-
[LOGIN_PROVIDER.TWITTER]: string;
|
29
|
+
[x: string]: string;
|
38
30
|
};
|
39
31
|
export declare const OAUTH_PROVIDER: {
|
40
32
|
email: string;
|
package/lib/package.json.js
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
const e = "3.1.
|
1
|
+
const e = "3.1.47", s = { "@blocklet/js-sdk": "1.16.52" }, n = {
|
2
2
|
version: e,
|
3
3
|
dependencies: s
|
4
4
|
};
|
5
5
|
export {
|
6
|
-
|
6
|
+
n as default,
|
7
7
|
s as dependencies,
|
8
8
|
e as version
|
9
9
|
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "3.1.
|
3
|
+
"version": "3.1.47",
|
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": "
|
71
|
+
"gitHead": "8081935df0b3a38eba2c52f758be63318aa8c3ef",
|
72
72
|
"dependencies": {
|
73
|
-
"@arcblock/bridge": "3.1.
|
73
|
+
"@arcblock/bridge": "3.1.47",
|
74
74
|
"@arcblock/did": "^1.25.6",
|
75
75
|
"@arcblock/did-motif": "^1.1.14",
|
76
|
-
"@arcblock/icons": "3.1.
|
77
|
-
"@arcblock/nft-display": "3.1.
|
78
|
-
"@arcblock/react-hooks": "3.1.
|
79
|
-
"@blocklet/js-sdk": "1.16.52
|
80
|
-
"@blocklet/theme": "3.1.
|
76
|
+
"@arcblock/icons": "3.1.47",
|
77
|
+
"@arcblock/nft-display": "3.1.47",
|
78
|
+
"@arcblock/react-hooks": "3.1.47",
|
79
|
+
"@blocklet/js-sdk": "1.16.52",
|
80
|
+
"@blocklet/theme": "3.1.47",
|
81
81
|
"@fontsource/roboto": "~5.1.1",
|
82
82
|
"@fontsource/ubuntu-mono": "^5.2.6",
|
83
83
|
"@iconify-icons/logos": "^1.2.36",
|