@blocklet/ui-react 3.0.11 → 3.0.13

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.
@@ -37,6 +37,7 @@ function y({
37
37
  /* @__PURE__ */ h(
38
38
  A,
39
39
  {
40
+ component: "div",
40
41
  onClick: r,
41
42
  sx: {
42
43
  color: "text.primary",
@@ -1,20 +1,20 @@
1
- import { jsxs as t, jsx as i } from "react/jsx-runtime";
2
- import { Box as n, Typography as o } from "@mui/material";
1
+ import { jsxs as t, jsx as n } from "react/jsx-runtime";
2
+ import { Box as o, Typography as r } from "@mui/material";
3
3
  import { Verified as l } from "@mui/icons-material";
4
- function x({ data: e, verified: s = !1, ...r }) {
4
+ function x({ data: e, verified: s = !1, ...i }) {
5
5
  return /* @__PURE__ */ t(
6
- n,
6
+ o,
7
7
  {
8
- ...r,
8
+ ...i,
9
9
  sx: {
10
10
  display: "flex",
11
11
  alignItems: "center",
12
12
  justifyContent: "space-between",
13
- ...r.sx
13
+ ...i.sx
14
14
  },
15
15
  children: [
16
16
  /* @__PURE__ */ t(
17
- o,
17
+ r,
18
18
  {
19
19
  sx: {
20
20
  display: "flex",
@@ -31,7 +31,7 @@ function x({ data: e, verified: s = !1, ...r }) {
31
31
  }
32
32
  ),
33
33
  /* @__PURE__ */ t(
34
- n,
34
+ o,
35
35
  {
36
36
  sx: {
37
37
  display: "flex",
@@ -39,9 +39,10 @@ function x({ data: e, verified: s = !1, ...r }) {
39
39
  alignItems: "center"
40
40
  },
41
41
  children: [
42
- /* @__PURE__ */ i(
43
- o,
42
+ /* @__PURE__ */ n(
43
+ r,
44
44
  {
45
+ component: "div",
45
46
  sx: {
46
47
  color: "text.secondary",
47
48
  whiteSpace: "pre-wrap",
@@ -50,7 +51,7 @@ function x({ data: e, verified: s = !1, ...r }) {
50
51
  children: e.content
51
52
  }
52
53
  ),
53
- s && /* @__PURE__ */ i(l, { color: "success", style: { fontSize: 16, marginLeft: 4 } })
54
+ s && /* @__PURE__ */ n(l, { color: "success", style: { fontSize: 16, marginLeft: 4 } })
54
55
  ]
55
56
  }
56
57
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/ui-react",
3
- "version": "3.0.11",
3
+ "version": "3.0.13",
4
4
  "description": "Some useful front-end web components that can be used in Blocklets.",
5
5
  "keywords": [
6
6
  "react",
@@ -35,9 +35,9 @@
35
35
  "dependencies": {
36
36
  "@abtnode/constant": "^1.16.45",
37
37
  "@abtnode/util": "^1.16.45",
38
- "@arcblock/bridge": "3.0.11",
39
- "@arcblock/icons": "3.0.11",
40
- "@arcblock/react-hooks": "3.0.11",
38
+ "@arcblock/bridge": "3.0.13",
39
+ "@arcblock/icons": "3.0.13",
40
+ "@arcblock/react-hooks": "3.0.13",
41
41
  "@arcblock/ws": "^1.20.15",
42
42
  "@blocklet/constant": "^1.16.45",
43
43
  "@blocklet/did-space-react": "^1.1.0",
@@ -90,5 +90,5 @@
90
90
  "jest": "^29.7.0",
91
91
  "unbuild": "^2.0.0"
92
92
  },
93
- "gitHead": "3619d5d23622fb8074ace5f6c685bcc25c14c056"
93
+ "gitHead": "2c404ff0a38e52d197334a035160b5eddf56df07"
94
94
  }
@@ -44,6 +44,7 @@ function NotificationItem({
44
44
  }}>
45
45
  <Switch checked={value} size="small" onChange={onChange} />
46
46
  <Typography
47
+ component="div"
47
48
  onClick={handleClick}
48
49
  sx={{
49
50
  color: 'text.primary',
@@ -39,6 +39,7 @@ export default function UserInfoItem({ data, verified = false, ...rest }: TUserI
39
39
  alignItems: 'center',
40
40
  }}>
41
41
  <Typography
42
+ component="div"
42
43
  sx={{
43
44
  color: 'text.secondary',
44
45
  whiteSpace: 'pre-wrap',