@blocklet/discuss-kit 2.0.45 → 2.0.46
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 +4 -1
- package/lib/es/comments.js +4 -1
- package/package.json +4 -4
package/lib/cjs/comments.js
CHANGED
|
@@ -273,6 +273,7 @@ function Wrapper({
|
|
|
273
273
|
showProfileCard,
|
|
274
274
|
interactive,
|
|
275
275
|
renderComments,
|
|
276
|
+
renderDonation,
|
|
276
277
|
...rest
|
|
277
278
|
}) {
|
|
278
279
|
if (!(target == null ? void 0 : target.id)) {
|
|
@@ -310,6 +311,7 @@ function Wrapper({
|
|
|
310
311
|
showProfileCard,
|
|
311
312
|
interactive,
|
|
312
313
|
containerRef,
|
|
314
|
+
renderDonation,
|
|
313
315
|
renderComments,
|
|
314
316
|
children: /* @__PURE__ */ jsxRuntime.jsx(DiscussKitComments, { ...rest, object, ref: containerRef })
|
|
315
317
|
}
|
|
@@ -348,7 +350,8 @@ Wrapper.defaultProps = {
|
|
|
348
350
|
showProfileCard: false,
|
|
349
351
|
order: void 0,
|
|
350
352
|
interactive: true,
|
|
351
|
-
renderComments: null
|
|
353
|
+
renderComments: null,
|
|
354
|
+
renderDonation: null
|
|
352
355
|
};
|
|
353
356
|
const Container = Theme.styled("div")`
|
|
354
357
|
width: 100%;
|
package/lib/es/comments.js
CHANGED
|
@@ -272,6 +272,7 @@ function Wrapper({
|
|
|
272
272
|
showProfileCard,
|
|
273
273
|
interactive,
|
|
274
274
|
renderComments,
|
|
275
|
+
renderDonation,
|
|
275
276
|
...rest
|
|
276
277
|
}) {
|
|
277
278
|
if (!(target == null ? void 0 : target.id)) {
|
|
@@ -309,6 +310,7 @@ function Wrapper({
|
|
|
309
310
|
showProfileCard,
|
|
310
311
|
interactive,
|
|
311
312
|
containerRef,
|
|
313
|
+
renderDonation,
|
|
312
314
|
renderComments,
|
|
313
315
|
children: /* @__PURE__ */ jsx(DiscussKitComments, { ...rest, object, ref: containerRef })
|
|
314
316
|
}
|
|
@@ -347,7 +349,8 @@ Wrapper.defaultProps = {
|
|
|
347
349
|
showProfileCard: false,
|
|
348
350
|
order: void 0,
|
|
349
351
|
interactive: true,
|
|
350
|
-
renderComments: null
|
|
352
|
+
renderComments: null,
|
|
353
|
+
renderDonation: null
|
|
351
354
|
};
|
|
352
355
|
const Container = styled("div")`
|
|
353
356
|
width: 100%;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.46",
|
|
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.10.1",
|
|
38
38
|
"@arcblock/ux": "^2.10.1",
|
|
39
39
|
"@arcblock/ws": "^1.18.123",
|
|
40
|
-
"@blocklet/discuss-kit-ux": "2.0.
|
|
41
|
-
"@blocklet/editor": "2.0.
|
|
40
|
+
"@blocklet/discuss-kit-ux": "2.0.46",
|
|
41
|
+
"@blocklet/editor": "2.0.46",
|
|
42
42
|
"@blocklet/js-sdk": "^1.16.28",
|
|
43
43
|
"@blocklet/ui-react": "^2.10.1",
|
|
44
44
|
"@emotion/react": "^11.10.5",
|
|
@@ -78,5 +78,5 @@
|
|
|
78
78
|
"vite-plugin-build": "^0.10.0",
|
|
79
79
|
"vite-plugin-svgr": "^4.2.0"
|
|
80
80
|
},
|
|
81
|
-
"gitHead": "
|
|
81
|
+
"gitHead": "aacdd3922f539000ddae02530aebd49641af17ef"
|
|
82
82
|
}
|