@arcblock/did-playground 1.17.21 → 2.0.2
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/Action/index.js +4 -5
- package/package.json +7 -7
- package/src/Action/index.js +4 -5
package/lib/Action/index.js
CHANGED
|
@@ -15,13 +15,13 @@ var _useBrowser = _interopRequireDefault(require("@arcblock/react-hooks/lib/useB
|
|
|
15
15
|
|
|
16
16
|
var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
17
17
|
|
|
18
|
-
var _CircularProgress = _interopRequireDefault(require("@material
|
|
18
|
+
var _CircularProgress = _interopRequireDefault(require("@mui/material/CircularProgress"));
|
|
19
19
|
|
|
20
|
-
var _Dialog = _interopRequireDefault(require("@material
|
|
20
|
+
var _Dialog = _interopRequireDefault(require("@mui/material/Dialog"));
|
|
21
21
|
|
|
22
|
-
var _DialogContent = _interopRequireDefault(require("@material
|
|
22
|
+
var _DialogContent = _interopRequireDefault(require("@mui/material/DialogContent"));
|
|
23
23
|
|
|
24
|
-
var _styles = require("@
|
|
24
|
+
var _styles = require("@mui/styles");
|
|
25
25
|
|
|
26
26
|
var _Connect = _interopRequireDefault(require("@arcblock/did-connect/lib/Connect"));
|
|
27
27
|
|
|
@@ -211,7 +211,6 @@ function PlaygroundAction(props) {
|
|
|
211
211
|
color: "#fff"
|
|
212
212
|
})), open && !showDidConnect && /*#__PURE__*/_react.default.createElement(_Dialog.default, {
|
|
213
213
|
open: true,
|
|
214
|
-
disableBackdropClick: true,
|
|
215
214
|
disableEscapeKeyDown: true,
|
|
216
215
|
fullScreen: width < theme.breakpoints.values.sm && !browser.wallet,
|
|
217
216
|
fullWidth: showFrame,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arcblock/did-playground",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "React components that works with wallet-playground",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"react",
|
|
@@ -34,10 +34,10 @@
|
|
|
34
34
|
"url": "https://github.com/ArcBlock/wallet-playground/issues"
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
|
-
"@arcblock/did-connect": "^
|
|
38
|
-
"@arcblock/react-hooks": "^
|
|
39
|
-
"@arcblock/ux": "^
|
|
40
|
-
"@material
|
|
37
|
+
"@arcblock/did-connect": "^2.0.2",
|
|
38
|
+
"@arcblock/react-hooks": "^2.0.2",
|
|
39
|
+
"@arcblock/ux": "^2.0.2",
|
|
40
|
+
"@mui/material": "^5.6.4",
|
|
41
41
|
"axios": "^0.21.2",
|
|
42
42
|
"core-js": "^3.6.4",
|
|
43
43
|
"mustache": "^4.0.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
48
|
"prop-types": "^15.7.2",
|
|
49
|
-
"react": ">=
|
|
49
|
+
"react": ">=18.1.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@babel/cli": "^7.8.4",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"publishConfig": {
|
|
58
58
|
"access": "public"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "319d3e6d884b5f79311edca8aab7a9ed17a17b74"
|
|
61
61
|
}
|
package/src/Action/index.js
CHANGED
|
@@ -4,10 +4,10 @@ import useWindowSize from 'react-use/lib/useWindowSize';
|
|
|
4
4
|
import useBrowser from '@arcblock/react-hooks/lib/useBrowser';
|
|
5
5
|
import styled from 'styled-components';
|
|
6
6
|
|
|
7
|
-
import CircularProgress from '@material
|
|
8
|
-
import Dialog from '@material
|
|
9
|
-
import DialogContent from '@material
|
|
10
|
-
import { withTheme } from '@
|
|
7
|
+
import CircularProgress from '@mui/material/CircularProgress';
|
|
8
|
+
import Dialog from '@mui/material/Dialog';
|
|
9
|
+
import DialogContent from '@mui/material/DialogContent';
|
|
10
|
+
import { withTheme } from '@mui/styles';
|
|
11
11
|
|
|
12
12
|
import DidConnect from '@arcblock/did-connect/lib/Connect';
|
|
13
13
|
import Button from '@arcblock/ux/lib/Button';
|
|
@@ -199,7 +199,6 @@ function PlaygroundAction(props) {
|
|
|
199
199
|
{open && !showDidConnect && (
|
|
200
200
|
<Dialog
|
|
201
201
|
open
|
|
202
|
-
disableBackdropClick
|
|
203
202
|
disableEscapeKeyDown
|
|
204
203
|
fullScreen={width < theme.breakpoints.values.sm && !browser.wallet}
|
|
205
204
|
fullWidth={showFrame}
|