@arcblock/ux 2.8.16 → 2.8.18
Sign up to get free protection for your applications and to get access to all the features.
@@ -12,13 +12,16 @@ export default function UserDrawer({
|
|
12
12
|
onClose
|
13
13
|
}) {
|
14
14
|
return /*#__PURE__*/_jsxs(Drawer, {
|
15
|
-
anchor: "
|
15
|
+
anchor: "bottom",
|
16
16
|
open: open,
|
17
17
|
onClose: onClose,
|
18
18
|
onOpen: onOpen,
|
19
19
|
sx: theme => ({
|
20
|
-
'& .MuiPaper-root': {
|
21
|
-
width: '100%'
|
20
|
+
'& .MuiDrawer-paper.MuiPaper-root': {
|
21
|
+
width: '100%',
|
22
|
+
height: '90vh',
|
23
|
+
borderTopLeftRadius: '16px',
|
24
|
+
borderTopRightRadius: '16px'
|
22
25
|
},
|
23
26
|
'& .MuiChip-root .MuiChip-icon': {
|
24
27
|
color: theme.palette.success.main
|
@@ -19,13 +19,16 @@ function UserDrawer(_ref) {
|
|
19
19
|
onClose
|
20
20
|
} = _ref;
|
21
21
|
return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_material.Drawer, {
|
22
|
-
anchor: "
|
22
|
+
anchor: "bottom",
|
23
23
|
open: open,
|
24
24
|
onClose: onClose,
|
25
25
|
onOpen: onOpen,
|
26
26
|
sx: theme => ({
|
27
|
-
'& .MuiPaper-root': {
|
28
|
-
width: '100%'
|
27
|
+
'& .MuiDrawer-paper.MuiPaper-root': {
|
28
|
+
width: '100%',
|
29
|
+
height: '90vh',
|
30
|
+
borderTopLeftRadius: '16px',
|
31
|
+
borderTopRightRadius: '16px'
|
29
32
|
},
|
30
33
|
'& .MuiChip-root .MuiChip-icon': {
|
31
34
|
color: theme.palette.success.main
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@arcblock/ux",
|
3
|
-
"version": "2.8.
|
3
|
+
"version": "2.8.18",
|
4
4
|
"description": "Common used react components for arcblock products",
|
5
5
|
"keywords": [
|
6
6
|
"react",
|
@@ -322,11 +322,11 @@
|
|
322
322
|
"peerDependencies": {
|
323
323
|
"react": ">=18.1.0"
|
324
324
|
},
|
325
|
-
"gitHead": "
|
325
|
+
"gitHead": "850b2abccbe574066e6cdd012052fb91808a80d2",
|
326
326
|
"dependencies": {
|
327
327
|
"@arcblock/did-motif": "^1.1.13",
|
328
|
-
"@arcblock/icons": "^2.8.
|
329
|
-
"@arcblock/react-hooks": "^2.8.
|
328
|
+
"@arcblock/icons": "^2.8.18",
|
329
|
+
"@arcblock/react-hooks": "^2.8.18",
|
330
330
|
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
331
331
|
"@emotion/react": "^11.10.4",
|
332
332
|
"@emotion/styled": "^11.10.4",
|
@@ -7,13 +7,16 @@ import noop from 'lodash/noop';
|
|
7
7
|
export default function UserDrawer({ children, open, onOpen, onClose }) {
|
8
8
|
return (
|
9
9
|
<Drawer
|
10
|
-
anchor="
|
10
|
+
anchor="bottom"
|
11
11
|
open={open}
|
12
12
|
onClose={onClose}
|
13
13
|
onOpen={onOpen}
|
14
14
|
sx={(theme) => ({
|
15
|
-
'& .MuiPaper-root': {
|
15
|
+
'& .MuiDrawer-paper.MuiPaper-root': {
|
16
16
|
width: '100%',
|
17
|
+
height: '90vh',
|
18
|
+
borderTopLeftRadius: '16px',
|
19
|
+
borderTopRightRadius: '16px',
|
17
20
|
},
|
18
21
|
'& .MuiChip-root .MuiChip-icon': {
|
19
22
|
color: theme.palette.success.main,
|