@blocklet/discuss-kit 2.0.81 → 2.0.83
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 +6 -2
- package/lib/es/comments.js +6 -2
- package/package.json +4 -4
package/lib/cjs/comments.js
CHANGED
|
@@ -273,6 +273,7 @@ function Wrapper({
|
|
|
273
273
|
interactive,
|
|
274
274
|
renderComments,
|
|
275
275
|
renderDonation,
|
|
276
|
+
renderActions,
|
|
276
277
|
...rest
|
|
277
278
|
}) {
|
|
278
279
|
if (!(target == null ? void 0 : target.id)) {
|
|
@@ -311,6 +312,7 @@ function Wrapper({
|
|
|
311
312
|
interactive,
|
|
312
313
|
containerRef,
|
|
313
314
|
renderDonation,
|
|
315
|
+
renderActions,
|
|
314
316
|
renderComments,
|
|
315
317
|
children: /* @__PURE__ */ jsxRuntime.jsx(DiscussKitComments, { ...rest, object, ref: containerRef })
|
|
316
318
|
}
|
|
@@ -335,7 +337,8 @@ Wrapper.propTypes = {
|
|
|
335
337
|
order: PropTypes.oneOf(["asc", "desc"]),
|
|
336
338
|
interactive: PropTypes.bool,
|
|
337
339
|
renderComments: PropTypes.func,
|
|
338
|
-
renderDonation: PropTypes.any
|
|
340
|
+
renderDonation: PropTypes.any,
|
|
341
|
+
renderActions: PropTypes.func
|
|
339
342
|
};
|
|
340
343
|
Wrapper.defaultProps = {
|
|
341
344
|
displayConnectButton: false,
|
|
@@ -351,7 +354,8 @@ Wrapper.defaultProps = {
|
|
|
351
354
|
order: void 0,
|
|
352
355
|
interactive: true,
|
|
353
356
|
renderComments: null,
|
|
354
|
-
renderDonation: null
|
|
357
|
+
renderDonation: null,
|
|
358
|
+
renderActions: null
|
|
355
359
|
};
|
|
356
360
|
const Container = Theme.styled("div")`
|
|
357
361
|
width: 100%;
|
package/lib/es/comments.js
CHANGED
|
@@ -272,6 +272,7 @@ function Wrapper({
|
|
|
272
272
|
interactive,
|
|
273
273
|
renderComments,
|
|
274
274
|
renderDonation,
|
|
275
|
+
renderActions,
|
|
275
276
|
...rest
|
|
276
277
|
}) {
|
|
277
278
|
if (!(target == null ? void 0 : target.id)) {
|
|
@@ -310,6 +311,7 @@ function Wrapper({
|
|
|
310
311
|
interactive,
|
|
311
312
|
containerRef,
|
|
312
313
|
renderDonation,
|
|
314
|
+
renderActions,
|
|
313
315
|
renderComments,
|
|
314
316
|
children: /* @__PURE__ */ jsx(DiscussKitComments, { ...rest, object, ref: containerRef })
|
|
315
317
|
}
|
|
@@ -334,7 +336,8 @@ Wrapper.propTypes = {
|
|
|
334
336
|
order: PropTypes.oneOf(["asc", "desc"]),
|
|
335
337
|
interactive: PropTypes.bool,
|
|
336
338
|
renderComments: PropTypes.func,
|
|
337
|
-
renderDonation: PropTypes.any
|
|
339
|
+
renderDonation: PropTypes.any,
|
|
340
|
+
renderActions: PropTypes.func
|
|
338
341
|
};
|
|
339
342
|
Wrapper.defaultProps = {
|
|
340
343
|
displayConnectButton: false,
|
|
@@ -350,7 +353,8 @@ Wrapper.defaultProps = {
|
|
|
350
353
|
order: void 0,
|
|
351
354
|
interactive: true,
|
|
352
355
|
renderComments: null,
|
|
353
|
-
renderDonation: null
|
|
356
|
+
renderDonation: null,
|
|
357
|
+
renderActions: null
|
|
354
358
|
};
|
|
355
359
|
const Container = styled("div")`
|
|
356
360
|
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.83",
|
|
4
4
|
"description": "A react component for Discuss Kit blocklet.",
|
|
5
5
|
"main": "./lib/cjs/index.js",
|
|
6
6
|
"module": "./lib/es/index.js",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"license": "MIT",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@arcblock/ws": "^1.18.126",
|
|
38
|
-
"@blocklet/discuss-kit-ux": "2.0.
|
|
39
|
-
"@blocklet/editor": "2.0.
|
|
38
|
+
"@blocklet/discuss-kit-ux": "2.0.83",
|
|
39
|
+
"@blocklet/editor": "2.0.83",
|
|
40
40
|
"@blocklet/js-sdk": "^1.16.28",
|
|
41
41
|
"@emotion/react": "^11.10.5",
|
|
42
42
|
"@emotion/styled": "^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": "ffe6740390580b8e886bb350a92c30c0b86fa62a"
|
|
82
82
|
}
|