@blocklet/discuss-kit-ux 2.0.71 → 2.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.
|
@@ -4,7 +4,7 @@ import { OnContentChangePlugin } from "@blocklet/editor/lib/ext/OnContentChangeP
|
|
|
4
4
|
import { CtrlsShortcutPlugin } from "@blocklet/editor/lib/ext/ShortcutPlugin";
|
|
5
5
|
import { SafeAreaPlugin } from "@blocklet/editor/lib/ext/SafeAreaPlugin";
|
|
6
6
|
import { lazy } from "react";
|
|
7
|
-
import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-
|
|
7
|
+
import { i as inferInitialEditorState, I as ImagePathFixerPlugin, V as VideoPathFixerPlugin, a as isEmptyContent, s as stringify, g as getExcerptSync } from "./index-DRyXxhLw.mjs";
|
|
8
8
|
const BlockletEditor = lazy(() => import("@blocklet/editor"));
|
|
9
9
|
const Root = styled(Box)`
|
|
10
10
|
.be-editable,
|
|
@@ -2141,10 +2141,10 @@ function GithubReaction({
|
|
|
2141
2141
|
gap: 0.75,
|
|
2142
2142
|
ml: -0.25,
|
|
2143
2143
|
cursor: "pointer",
|
|
2144
|
-
".github-reaction-text": {
|
|
2144
|
+
".github-reaction-text, .github-reaction-icon": {
|
|
2145
2145
|
color: "text.secondary"
|
|
2146
2146
|
},
|
|
2147
|
-
"&:hover .github-reaction-text": {
|
|
2147
|
+
"&:hover .github-reaction-text, &:hover .github-reaction-icon": {
|
|
2148
2148
|
color: "secondary.main"
|
|
2149
2149
|
}
|
|
2150
2150
|
},
|
|
@@ -2153,7 +2153,7 @@ function GithubReaction({
|
|
|
2153
2153
|
/* @__PURE__ */ jsx(
|
|
2154
2154
|
Box,
|
|
2155
2155
|
{
|
|
2156
|
-
className: "github-reaction-
|
|
2156
|
+
className: "github-reaction-icon",
|
|
2157
2157
|
component: tablerMoodPlus,
|
|
2158
2158
|
sx: { width: "1em", height: "1em", fontSize: 18 }
|
|
2159
2159
|
}
|
|
@@ -2352,6 +2352,7 @@ function Comment({
|
|
|
2352
2352
|
onRate: ({ value, ratingType }) => onRate(post, value, ratingType),
|
|
2353
2353
|
onUnrate: () => onUnrate(post),
|
|
2354
2354
|
interactive,
|
|
2355
|
+
sx: { ".github-reaction-text": { display: { xs: "none", md: "inline-block" } } },
|
|
2355
2356
|
append: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2356
2357
|
(!!(session == null ? void 0 : session.user) || preferences.displayReplyButtonForAnonymousUsers) && interactive && /* @__PURE__ */ jsxs(
|
|
2357
2358
|
Box$1,
|
|
@@ -2374,7 +2375,7 @@ function Comment({
|
|
|
2374
2375
|
sx: { width: "1em", height: "1em", fontSize: 18, color: "text.secondary" }
|
|
2375
2376
|
}
|
|
2376
2377
|
),
|
|
2377
|
-
/* @__PURE__ */ jsx(Box$1, { component: "span", children: "Reply" })
|
|
2378
|
+
/* @__PURE__ */ jsx(Box$1, { component: "span", sx: { display: { xs: "none", md: "inline-block" } }, children: "Reply" })
|
|
2378
2379
|
]
|
|
2379
2380
|
}
|
|
2380
2381
|
),
|
|
@@ -4749,7 +4750,7 @@ function Back({ url, fallbackUrl, iconOnly, sx, ...rest }) {
|
|
|
4749
4750
|
}
|
|
4750
4751
|
const tablerSend = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M10 14L21 3m0 0l-6.5 18a.55.55 0 0 1-1 0L10 14l-7-3.5a.55.55 0 0 1 0-1z" }) });
|
|
4751
4752
|
const tablerLetterCase = (props) => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", "data-iconify": "tabler", width: "1.2em", height: "1.2em", ...props, children: /* @__PURE__ */ jsx("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M14 15.5a3.5 3.5 0 1 0 7 0a3.5 3.5 0 1 0-7 0M3 19V8.5a3.5 3.5 0 0 1 7 0V19m-7-6h7m11-1v7" }) });
|
|
4752
|
-
const Editor = lazy(() => import("./editor-
|
|
4753
|
+
const Editor = lazy(() => import("./editor-ywsvT-rA.mjs"));
|
|
4753
4754
|
function LazyEditor(props) {
|
|
4754
4755
|
const fallback2 = /* @__PURE__ */ jsxs(Box, { sx: { px: 3 }, children: [
|
|
4755
4756
|
/* @__PURE__ */ jsx(Skeleton, {}),
|
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export * from "@blocklet/labels";
|
|
2
|
-
import { T, n, W, A, m, ad, B, F, K, J, L, ap, Y, X, $, Z, _, a1, w, C, x, y, E, a5, a6, ah, a8, O, Q, ac, D, ag, af, H, G, b, k, ae, M, P, ao, v, q, R, S, a9, aq, o, a2, a4, ai, al, ak, am, ar, N, as, l, f, p, r, j, t, h, aa, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-
|
|
2
|
+
import { T, n, W, A, m, ad, B, F, K, J, L, ap, Y, X, $, Z, _, a1, w, C, x, y, E, a5, a6, ah, a8, O, Q, ac, D, ag, af, H, G, b, k, ae, M, P, ao, v, q, R, S, a9, aq, o, a2, a4, ai, al, ak, am, ar, N, as, l, f, p, r, j, t, h, aa, U, c, a0, z, a7, ab, u, an, d, at, a3, aj, e } from "./index-DRyXxhLw.mjs";
|
|
3
3
|
import "react/jsx-runtime";
|
|
4
4
|
import "react";
|
|
5
5
|
import "@mui/material/Box";
|
package/dist/index.umd.js
CHANGED
|
@@ -2067,10 +2067,10 @@ var __publicField = (obj, key, value) => {
|
|
|
2067
2067
|
gap: 0.75,
|
|
2068
2068
|
ml: -0.25,
|
|
2069
2069
|
cursor: "pointer",
|
|
2070
|
-
".github-reaction-text": {
|
|
2070
|
+
".github-reaction-text, .github-reaction-icon": {
|
|
2071
2071
|
color: "text.secondary"
|
|
2072
2072
|
},
|
|
2073
|
-
"&:hover .github-reaction-text": {
|
|
2073
|
+
"&:hover .github-reaction-text, &:hover .github-reaction-icon": {
|
|
2074
2074
|
color: "secondary.main"
|
|
2075
2075
|
}
|
|
2076
2076
|
},
|
|
@@ -2079,7 +2079,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2079
2079
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
2080
2080
|
material.Box,
|
|
2081
2081
|
{
|
|
2082
|
-
className: "github-reaction-
|
|
2082
|
+
className: "github-reaction-icon",
|
|
2083
2083
|
component: tablerMoodPlus,
|
|
2084
2084
|
sx: { width: "1em", height: "1em", fontSize: 18 }
|
|
2085
2085
|
}
|
|
@@ -2278,6 +2278,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2278
2278
|
onRate: ({ value, ratingType }) => onRate(post, value, ratingType),
|
|
2279
2279
|
onUnrate: () => onUnrate(post),
|
|
2280
2280
|
interactive,
|
|
2281
|
+
sx: { ".github-reaction-text": { display: { xs: "none", md: "inline-block" } } },
|
|
2281
2282
|
append: /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
2282
2283
|
(!!(session == null ? void 0 : session.user) || preferences.displayReplyButtonForAnonymousUsers) && interactive && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
2283
2284
|
Box,
|
|
@@ -2300,7 +2301,7 @@ var __publicField = (obj, key, value) => {
|
|
|
2300
2301
|
sx: { width: "1em", height: "1em", fontSize: 18, color: "text.secondary" }
|
|
2301
2302
|
}
|
|
2302
2303
|
),
|
|
2303
|
-
/* @__PURE__ */ jsxRuntime.jsx(Box, { component: "span", children: "Reply" })
|
|
2304
|
+
/* @__PURE__ */ jsxRuntime.jsx(Box, { component: "span", sx: { display: { xs: "none", md: "inline-block" } }, children: "Reply" })
|
|
2304
2305
|
]
|
|
2305
2306
|
}
|
|
2306
2307
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blocklet/discuss-kit-ux",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.72",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist"
|
|
6
6
|
],
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"@arcblock/bridge": "^2.10.6",
|
|
32
32
|
"@arcblock/react-hooks": "^2.10.6",
|
|
33
33
|
"@arcblock/ws": "^1.18.126",
|
|
34
|
-
"@blocklet/editor": "2.0.
|
|
35
|
-
"@blocklet/labels": "2.0.
|
|
34
|
+
"@blocklet/editor": "2.0.72",
|
|
35
|
+
"@blocklet/labels": "2.0.72",
|
|
36
36
|
"@blocklet/uploader": "^0.1.19",
|
|
37
37
|
"@emotion/css": "^11.10.5",
|
|
38
38
|
"@emotion/react": "^11.10.5",
|
|
@@ -100,5 +100,5 @@
|
|
|
100
100
|
"resolutions": {
|
|
101
101
|
"react": "^18.2.0"
|
|
102
102
|
},
|
|
103
|
-
"gitHead": "
|
|
103
|
+
"gitHead": "3a55e1cdbe23ed4a905c8859dacbefe53daf337f"
|
|
104
104
|
}
|