@arcblock/ux 2.8.17 → 2.8.19

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.
@@ -12,13 +12,16 @@ export default function UserDrawer({
12
12
  onClose
13
13
  }) {
14
14
  return /*#__PURE__*/_jsxs(Drawer, {
15
- anchor: "right",
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: "right",
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.17",
3
+ "version": "2.8.19",
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": "bd7a8f9d5bfbd61bcb0f6ff57de4600d8afded7b",
325
+ "gitHead": "57efebc8fb50e17e368c9d9ca4a2efb5218a7565",
326
326
  "dependencies": {
327
327
  "@arcblock/did-motif": "^1.1.13",
328
- "@arcblock/icons": "^2.8.17",
329
- "@arcblock/react-hooks": "^2.8.17",
328
+ "@arcblock/icons": "^2.8.19",
329
+ "@arcblock/react-hooks": "^2.8.19",
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="right"
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,