@blocklet/discuss-kit 1.0.70 → 1.0.72

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.
@@ -265,7 +265,8 @@ function DiscussKitComments({
265
265
  mt: 2,
266
266
  children: /* @__PURE__ */ jsxRuntime.jsx(discussKitUx.CommentInput, {
267
267
  send: sendComment,
268
- draftKey: `object-${object.id}`
268
+ draftKey: `object-${object.id}`,
269
+ autoFocus: false
269
270
  })
270
271
  })]
271
272
  }), !!total && showTopbar && /* @__PURE__ */ jsxRuntime.jsxs(Box__default.default, {
@@ -293,7 +294,8 @@ function DiscussKitComments({
293
294
  mt: 6,
294
295
  children: /* @__PURE__ */ jsxRuntime.jsx(discussKitUx.CommentInput, {
295
296
  send: sendComment,
296
- draftKey: `object-${object.id}`
297
+ draftKey: `object-${object.id}`,
298
+ autoFocus: false
297
299
  })
298
300
  })]
299
301
  });
@@ -252,7 +252,8 @@ function DiscussKitComments({
252
252
  mt: 2,
253
253
  children: /* @__PURE__ */ jsx(CommentInput, {
254
254
  send: sendComment,
255
- draftKey: `object-${object.id}`
255
+ draftKey: `object-${object.id}`,
256
+ autoFocus: false
256
257
  })
257
258
  })]
258
259
  }), !!total && showTopbar && /* @__PURE__ */ jsxs(Box, {
@@ -280,7 +281,8 @@ function DiscussKitComments({
280
281
  mt: 6,
281
282
  children: /* @__PURE__ */ jsx(CommentInput, {
282
283
  send: sendComment,
283
- draftKey: `object-${object.id}`
284
+ draftKey: `object-${object.id}`,
285
+ autoFocus: false
284
286
  })
285
287
  })]
286
288
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blocklet/discuss-kit",
3
- "version": "1.0.70",
3
+ "version": "1.0.72",
4
4
  "description": "A react component for Discuss Kit blocklet.",
5
5
  "main": "./lib/cjs/index.js",
6
6
  "module": "./lib/es/index.js",
@@ -37,8 +37,8 @@
37
37
  "@arcblock/did-connect": "^2.5.1",
38
38
  "@arcblock/ux": "^2.5.1",
39
39
  "@arcblock/ws": "^1.18.50",
40
- "@blocklet/discuss-kit-ux": "1.0.70",
41
- "@blocklet/editor": "1.0.70",
40
+ "@blocklet/discuss-kit-ux": "1.0.72",
41
+ "@blocklet/editor": "1.0.72",
42
42
  "@emotion/react": "^11.10.5",
43
43
  "@emotion/styled": "^11.10.5",
44
44
  "@mui/icons-material": "^5.10.9",
@@ -77,5 +77,5 @@
77
77
  "vite-plugin-build": "^0.6.0",
78
78
  "vite-plugin-svgr": "^2.2.2"
79
79
  },
80
- "gitHead": "f7d4130b3f1e642bb56d39968f779f7d74d748ab"
80
+ "gitHead": "ae47efc681a3514189009ee5ec267d3554f8d4dd"
81
81
  }