@blocklet/ui-react 2.12.26 → 2.12.27

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.
@@ -58,8 +58,8 @@ export default function Nft({ user }) {
58
58
  children: t("common.nft")
59
59
  }
60
60
  ),
61
- /* @__PURE__ */ jsxs(Box, { className: "nft-list-wrapper", display: "flex", flexDirection: "row", gap: 2, children: [
62
- data?.assets?.map((item) => /* @__PURE__ */ jsx(Box, { width: 166, height: 166, children: /* @__PURE__ */ jsx(
61
+ /* @__PURE__ */ jsxs(Box, { className: "nft-list-wrapper", display: "flex", flexDirection: "row", gap: 2, flexWrap: "wrap", children: [
62
+ data?.assets?.map((item) => /* @__PURE__ */ jsx(Box, { width: 166, height: 166, flexShrink: 0, children: /* @__PURE__ */ jsx(
63
63
  NFTDisplay,
64
64
  {
65
65
  data: item.display,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/ui-react",
3
- "version": "2.12.26",
3
+ "version": "2.12.27",
4
4
  "description": "Some useful front-end web components that can be used in Blocklets.",
5
5
  "keywords": [
6
6
  "react",
@@ -33,8 +33,8 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@abtnode/constant": "^1.16.40",
36
- "@arcblock/bridge": "^2.12.26",
37
- "@arcblock/react-hooks": "^2.12.26",
36
+ "@arcblock/bridge": "^2.12.27",
37
+ "@arcblock/react-hooks": "^2.12.27",
38
38
  "@arcblock/ws": "^1.19.15",
39
39
  "@blocklet/did-space-react": "^1.0.34",
40
40
  "@iconify-icons/logos": "^1.2.36",
@@ -87,5 +87,5 @@
87
87
  "jest": "^29.7.0",
88
88
  "unbuild": "^2.0.0"
89
89
  },
90
- "gitHead": "2223efa91e0938df78e7ae850e793516cd6ae065"
90
+ "gitHead": "017c7cb1ca09ee5d3d40198c87ce2208e41d2408"
91
91
  }
@@ -81,9 +81,9 @@ export default function Nft({ user }: { user: User }) {
81
81
  }}>
82
82
  {t('common.nft')}
83
83
  </Typography>
84
- <Box className="nft-list-wrapper" display="flex" flexDirection="row" gap={2}>
84
+ <Box className="nft-list-wrapper" display="flex" flexDirection="row" gap={2} flexWrap="wrap">
85
85
  {data?.assets?.map((item) => (
86
- <Box key={item.address} width={166} height={166}>
86
+ <Box key={item.address} width={166} height={166} flexShrink={0}>
87
87
  <NFTDisplay
88
88
  data={item.display}
89
89
  address={item.address}