@blocklet/discuss-kit 2.1.199 → 2.1.201
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.
- package/lib/cjs/comments.js +1 -1
- package/lib/es/comments.js +1 -1
- package/package.json +3 -3
package/lib/cjs/comments.js
CHANGED
|
@@ -230,7 +230,7 @@ const DiscussKitComments = react.forwardRef(
|
|
|
230
230
|
] }) }),
|
|
231
231
|
session.user && interactive && commentInputPosition === "top" && /* @__PURE__ */ jsxRuntime.jsx(material.Box, { mt: 2, className: "comment-editor", children: renderCommentInput() })
|
|
232
232
|
] }),
|
|
233
|
-
!!total && showTopbar && /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { display: "flex", justifyContent: "space-between", mt: 3, children: [
|
|
233
|
+
!!total && showTopbar && /* @__PURE__ */ jsxRuntime.jsxs(material.Box, { display: "flex", justifyContent: "space-between", alignItems: "center", mt: 3, children: [
|
|
234
234
|
/* @__PURE__ */ jsxRuntime.jsxs(material.Box, { sx: { fontWeight: "medium" }, children: [
|
|
235
235
|
total > 0 ? `${total} ${t("comments")}` : t("comment"),
|
|
236
236
|
" "
|
package/lib/es/comments.js
CHANGED
|
@@ -229,7 +229,7 @@ const DiscussKitComments = forwardRef(
|
|
|
229
229
|
] }) }),
|
|
230
230
|
session.user && interactive && commentInputPosition === "top" && /* @__PURE__ */ jsx(Box, { mt: 2, className: "comment-editor", children: renderCommentInput() })
|
|
231
231
|
] }),
|
|
232
|
-
!!total && showTopbar && /* @__PURE__ */ jsxs(Box, { display: "flex", justifyContent: "space-between", mt: 3, children: [
|
|
232
|
+
!!total && showTopbar && /* @__PURE__ */ jsxs(Box, { display: "flex", justifyContent: "space-between", alignItems: "center", mt: 3, children: [
|
|
233
233
|
/* @__PURE__ */ jsxs(Box, { sx: { fontWeight: "medium" }, children: [
|
|
234
234
|
total > 0 ? `${total} ${t("comments")}` : t("comment"),
|
|
235
235
|
" "
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.201",
|
|
4
4
|
"description": "A react component for Discuss Kit blocklet.",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/es/index.js",
|
|
@@ -49,8 +49,8 @@
|
|
|
49
49
|
"rehype-sanitize": "^5.0.1",
|
|
50
50
|
"timeago.js": "^4.0.2",
|
|
51
51
|
"url-join": "^4.0.1",
|
|
52
|
-
"@blocklet/discuss-kit-ux": "^2.1.
|
|
53
|
-
"@blocklet/editor": "^2.1.
|
|
52
|
+
"@blocklet/discuss-kit-ux": "^2.1.201",
|
|
53
|
+
"@blocklet/editor": "^2.1.201"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"@arcblock/did-connect": "^2.10.36",
|