@arcblock/ux 2.11.4 → 2.11.5
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/types.d.ts +3 -0
- package/package.json +5 -5
- package/src/Dialog/types.d.ts +3 -0
package/lib/Dialog/types.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { ReactNode } from 'react';
|
2
|
+
import type { ButtonProps } from '@mui/material';
|
2
3
|
|
3
4
|
export interface OpenConfirmProps {
|
4
5
|
title: ReactNode;
|
@@ -8,6 +9,8 @@ export interface OpenConfirmProps {
|
|
8
9
|
showCancelButton?: true | false;
|
9
10
|
confirmButtonText?: string;
|
10
11
|
cancelButtonText?: string;
|
12
|
+
confirmButtonProps?: ButtonProps;
|
13
|
+
cancelButtonProps?: ButtonProps;
|
11
14
|
}
|
12
15
|
|
13
16
|
export type UpdateConfirmProps = Partial<Pick<OpenConfirmProps, 'title' | 'content'>>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "2.11.
|
3
|
+
"version": "2.11.5",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -68,12 +68,12 @@
|
|
68
68
|
"react": ">=18.2.0",
|
69
69
|
"react-router-dom": ">=6.22.3"
|
70
70
|
},
|
71
|
-
"gitHead": "
|
71
|
+
"gitHead": "ad0f1851be1f8ee0f655131ad3734fceb807f9de",
|
72
72
|
"dependencies": {
|
73
73
|
"@arcblock/did-motif": "^1.1.13",
|
74
|
-
"@arcblock/icons": "^2.11.
|
75
|
-
"@arcblock/nft-display": "^2.11.
|
76
|
-
"@arcblock/react-hooks": "^2.11.
|
74
|
+
"@arcblock/icons": "^2.11.5",
|
75
|
+
"@arcblock/nft-display": "^2.11.5",
|
76
|
+
"@arcblock/react-hooks": "^2.11.5",
|
77
77
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
78
78
|
"@fontsource/inter": "^5.0.16",
|
79
79
|
"@fontsource/ubuntu-mono": "^5.0.18",
|
package/src/Dialog/types.d.ts
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { ReactNode } from 'react';
|
2
|
+
import type { ButtonProps } from '@mui/material';
|
2
3
|
|
3
4
|
export interface OpenConfirmProps {
|
4
5
|
title: ReactNode;
|
@@ -8,6 +9,8 @@ export interface OpenConfirmProps {
|
|
8
9
|
showCancelButton?: true | false;
|
9
10
|
confirmButtonText?: string;
|
10
11
|
cancelButtonText?: string;
|
12
|
+
confirmButtonProps?: ButtonProps;
|
13
|
+
cancelButtonProps?: ButtonProps;
|
11
14
|
}
|
12
15
|
|
13
16
|
export type UpdateConfirmProps = Partial<Pick<OpenConfirmProps, 'title' | 'content'>>;
|