@blocklet/list 0.9.23 → 0.9.24

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.
@@ -161,7 +161,6 @@ function Autocomplete(_ref) {
161
161
  theme: muiTheme,
162
162
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_item.default, {
163
163
  item: item,
164
- title: (item === null || item === void 0 ? void 0 : item.title) || (item === null || item === void 0 ? void 0 : item.name),
165
164
  did: item.did,
166
165
  description: item.description,
167
166
  cover: logoUrl
@@ -75,7 +75,6 @@ function Blocklet(_ref) {
75
75
  component: "h3",
76
76
  variant: "h3",
77
77
  className: "arcblock-blocklet__title",
78
- title: title,
79
78
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ShowAttributes, {
80
79
  item: item,
81
80
  attribute: "title",
@@ -85,7 +84,6 @@ function Blocklet(_ref) {
85
84
  component: "div",
86
85
  variant: "body2",
87
86
  className: "arcblock-blocklet__describe",
88
- title: description,
89
87
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(ShowAttributes, {
90
88
  item: item,
91
89
  attribute: "description",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/list",
3
- "version": "0.9.23",
3
+ "version": "0.9.24",
4
4
  "description": "Common ux components of blocklet",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -68,5 +68,5 @@
68
68
  "eslint": "^8.22.0",
69
69
  "prettier": "^2.7.1"
70
70
  },
71
- "gitHead": "ea58ea3f43c1d1f8d9d6208d9a27380aac3c8994"
71
+ "gitHead": "942087559070e1d4805c153ad72fc5fe6c78740f"
72
72
  }
@@ -98,13 +98,7 @@ export default function Autocomplete({ onSelect }) {
98
98
  return (
99
99
  <MuiThemeProvider theme={muiTheme}>
100
100
  <EmotionThemeProvider theme={muiTheme}>
101
- <Blocklet
102
- item={item}
103
- title={item?.title || item?.name}
104
- did={item.did}
105
- description={item.description}
106
- cover={logoUrl}
107
- />
101
+ <Blocklet item={item} did={item.did} description={item.description} cover={logoUrl} />
108
102
  </EmotionThemeProvider>
109
103
  </MuiThemeProvider>
110
104
  );
@@ -79,11 +79,11 @@ export default function Blocklet({ cover, item, className, ...rest }) {
79
79
  )}
80
80
  <div className="arcblock-blocklet__info">
81
81
  <div className="arcblock-blocklet__text">
82
- <Typography component="h3" variant="h3" className="arcblock-blocklet__title" title={title}>
82
+ <Typography component="h3" variant="h3" className="arcblock-blocklet__title">
83
83
  <ShowAttributes item={item} attribute="title" value={title || name} />
84
84
  </Typography>
85
85
  {description && (
86
- <Typography component="div" variant="body2" className="arcblock-blocklet__describe" title={description}>
86
+ <Typography component="div" variant="body2" className="arcblock-blocklet__describe">
87
87
  <ShowAttributes item={item} attribute="description" value={description} />
88
88
  </Typography>
89
89
  )}