@arcblock/ux 3.2.3 → 3.2.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.
@@ -104,7 +104,7 @@ function ko({
104
104
  s,
105
105
  {
106
106
  sx: {
107
- border: `1px solid ${c(e, 0.1)}`,
107
+ border: `3px solid ${c(e, 0.1)}`,
108
108
  m: "-1px",
109
109
  position: "relative",
110
110
  borderRadius: "12px",
@@ -6,58 +6,34 @@ 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
- */
12
9
  /**
13
10
  * - The content of the dialog.
14
11
  */
15
12
  children: React.ReactNode;
16
- /**
17
- * - The title of the dialog.
18
- */
19
13
  /**
20
14
  * - The title of the dialog.
21
15
  */
22
16
  title?: React.ReactNode;
23
- /**
24
- * - Content to be displayed before the dialog title.
25
- */
26
17
  /**
27
18
  * - Content to be displayed before the dialog title.
28
19
  */
29
20
  prepend?: React.ReactNode;
30
- /**
31
- * - Content to be displayed in the top toolbar of the dialog.
32
- */
33
21
  /**
34
22
  * - Content to be displayed in the top toolbar of the dialog.
35
23
  */
36
24
  toolbar?: React.ReactNode;
37
- /**
38
- * - Content to be displayed in the bottom actions toolbar of the dialog.
39
- */
40
25
  /**
41
26
  * - Content to be displayed in the bottom actions toolbar of the dialog.
42
27
  */
43
28
  actions?: React.ReactNode;
44
- /**
45
- * - Whether or not to show the close button.
46
- */
47
29
  /**
48
30
  * - Whether or not to show the close button.
49
31
  */
50
32
  showCloseButton?: boolean | undefined;
51
- /**
52
- * - The position of the actions toolbar.
53
- */
54
33
  /**
55
34
  * - The position of the actions toolbar.
56
35
  */
57
36
  actionsPosition?: "left" | "right" | "center" | undefined;
58
- /**
59
- * - Props to be passed down to the dialog paper.
60
- */
61
37
  /**
62
38
  * - Props to be passed down to the dialog paper.
63
39
  */
@@ -65,9 +41,6 @@ export type UxDialogProps = {
65
41
  slotProps?: {
66
42
  content: object;
67
43
  } | undefined;
68
- /**
69
- * - Callback function fired when the dialog is closed.
70
- */
71
44
  /**
72
45
  * - Callback function fired when the dialog is closed.
73
46
  */
@@ -1,9 +1,6 @@
1
1
  import { default as PropTypes } from 'prop-types';
2
2
  export default Img;
3
3
  export type ImgExProps = {
4
- /**
5
- * - required
6
- */
7
4
  /**
8
5
  * - required
9
6
  */
@@ -19,9 +16,6 @@ export type ImgExProps = {
19
16
  lazy?: boolean | undefined;
20
17
  placeholder?: string | undefined;
21
18
  fallback?: string | undefined;
22
- /**
23
- * - 是否使用代理 fallback, 用于解决 CSP 的问题
24
- */
25
19
  /**
26
20
  * - 是否使用代理 fallback, 用于解决 CSP 的问题
27
21
  */
@@ -26,7 +26,15 @@ export declare const LOGIN_PROVIDER: {
26
26
  TWITTER: string;
27
27
  };
28
28
  export declare const LOGIN_PROVIDER_NAME: {
29
- [x: string]: string;
29
+ [LOGIN_PROVIDER.EMAIL]: string;
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;
30
38
  };
31
39
  export declare const OAUTH_PROVIDER: {
32
40
  email: string;
@@ -1,4 +1,4 @@
1
- const e = "3.2.3", s = { "@blocklet/js-sdk": "1.17.1" }, n = {
1
+ const e = "3.2.5", s = { "@blocklet/js-sdk": "1.17.1" }, 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.3",
3
+ "version": "3.2.5",
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": "bbd2b3c8caecf454ee738676f1ca5fe0e71fdb6a",
71
+ "gitHead": "8fe09067fd88bc4fd7fe300c984b2b4775fcd128",
72
72
  "dependencies": {
73
- "@arcblock/bridge": "3.2.3",
74
- "@arcblock/did": "^1.27.3",
73
+ "@arcblock/bridge": "3.2.5",
74
+ "@arcblock/did": "^1.27.6",
75
75
  "@arcblock/did-motif": "^1.1.14",
76
- "@arcblock/icons": "3.2.3",
77
- "@arcblock/nft-display": "3.2.3",
78
- "@arcblock/react-hooks": "3.2.3",
76
+ "@arcblock/icons": "3.2.5",
77
+ "@arcblock/nft-display": "3.2.5",
78
+ "@arcblock/react-hooks": "3.2.5",
79
79
  "@blocklet/js-sdk": "1.17.1",
80
- "@blocklet/theme": "3.2.3",
80
+ "@blocklet/theme": "3.2.5",
81
81
  "@fontsource/roboto": "~5.1.1",
82
82
  "@fontsource/ubuntu-mono": "^5.2.6",
83
83
  "@iconify-icons/logos": "^1.2.36",
@@ -85,7 +85,7 @@
85
85
  "@iconify-icons/mdi": "^1.2.48",
86
86
  "@iconify-icons/tabler": "^1.2.95",
87
87
  "@iconify/react": "^5.2.1",
88
- "@ocap/mcrypto": "^1.27.3",
88
+ "@ocap/mcrypto": "^1.27.6",
89
89
  "@solana/qr-code-styling": "^1.6.0",
90
90
  "@types/dompurify": "^3.2.0",
91
91
  "@types/mui-datatables": "^4.3.12",
@@ -188,7 +188,7 @@ export default function DIDConnectContainer({
188
188
  )}>
189
189
  <Box
190
190
  sx={{
191
- border: `1px solid ${hexToRgba(color, 0.1)}`,
191
+ border: `3px solid ${hexToRgba(color, 0.1)}`,
192
192
  m: '-1px',
193
193
  position: 'relative',
194
194
  borderRadius: '12px',