@blocklet/discuss-kit 1.6.61 → 1.6.62
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 -3
- package/lib/es/comments.js +1 -3
- package/package.json +4 -4
package/lib/cjs/comments.js
CHANGED
|
@@ -166,7 +166,7 @@ function DiscussKitComments({
|
|
|
166
166
|
}
|
|
167
167
|
await api.delete(`/topics/${object.id}/ratings`);
|
|
168
168
|
};
|
|
169
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(Container, {
|
|
169
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { children: [
|
|
170
170
|
/* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
171
171
|
/* @__PURE__ */ jsxRuntime.jsxs(Box, { display: "flex", justifyContent: "space-between", alignItems: "end", children: [
|
|
172
172
|
displayReaction && objectRatingState.value && /* @__PURE__ */ jsxRuntime.jsx(Box, { children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -362,12 +362,10 @@ Wrapper.defaultProps = {
|
|
|
362
362
|
interactive: true
|
|
363
363
|
};
|
|
364
364
|
const Container = Theme.styled("div")`
|
|
365
|
-
background-color: #fff;
|
|
366
365
|
width: 100%;
|
|
367
366
|
margin: 0 auto;
|
|
368
367
|
box-sizing: border-box;
|
|
369
368
|
padding: ${(props) => props.padding ? "20px" : "0"};
|
|
370
|
-
color: #25292f;
|
|
371
369
|
border: ${(props) => props.border ? "1px solid rgb(208, 215, 222)" : "none"};
|
|
372
370
|
border-radius: 6px;
|
|
373
371
|
.input-no-connect {
|
package/lib/es/comments.js
CHANGED
|
@@ -165,7 +165,7 @@ function DiscussKitComments({
|
|
|
165
165
|
}
|
|
166
166
|
await api.delete(`/topics/${object.id}/ratings`);
|
|
167
167
|
};
|
|
168
|
-
return /* @__PURE__ */ jsxs(Container, {
|
|
168
|
+
return /* @__PURE__ */ jsxs(Container, { children: [
|
|
169
169
|
/* @__PURE__ */ jsxs(Fragment, { children: [
|
|
170
170
|
/* @__PURE__ */ jsxs(Box, { display: "flex", justifyContent: "space-between", alignItems: "end", children: [
|
|
171
171
|
displayReaction && objectRatingState.value && /* @__PURE__ */ jsx(Box, { children: /* @__PURE__ */ jsx(
|
|
@@ -361,12 +361,10 @@ Wrapper.defaultProps = {
|
|
|
361
361
|
interactive: true
|
|
362
362
|
};
|
|
363
363
|
const Container = styled("div")`
|
|
364
|
-
background-color: #fff;
|
|
365
364
|
width: 100%;
|
|
366
365
|
margin: 0 auto;
|
|
367
366
|
box-sizing: border-box;
|
|
368
367
|
padding: ${(props) => props.padding ? "20px" : "0"};
|
|
369
|
-
color: #25292f;
|
|
370
368
|
border: ${(props) => props.border ? "1px solid rgb(208, 215, 222)" : "none"};
|
|
371
369
|
border-radius: 6px;
|
|
372
370
|
.input-no-connect {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.62",
|
|
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.9.6",
|
|
38
38
|
"@arcblock/ux": "^2.9.6",
|
|
39
39
|
"@arcblock/ws": "^1.18.108",
|
|
40
|
-
"@blocklet/discuss-kit-ux": "1.6.
|
|
41
|
-
"@blocklet/editor": "1.6.
|
|
40
|
+
"@blocklet/discuss-kit-ux": "1.6.62",
|
|
41
|
+
"@blocklet/editor": "1.6.62",
|
|
42
42
|
"@emotion/react": "^11.10.5",
|
|
43
43
|
"@emotion/styled": "^11.10.5",
|
|
44
44
|
"@mui/icons-material": "^5.14.9",
|
|
@@ -76,5 +76,5 @@
|
|
|
76
76
|
"vite-plugin-build": "^0.10.0",
|
|
77
77
|
"vite-plugin-svgr": "^4.2.0"
|
|
78
78
|
},
|
|
79
|
-
"gitHead": "
|
|
79
|
+
"gitHead": "a997942306e0faff4f3a362746b2d972ac6bb87f"
|
|
80
80
|
}
|