@tryghost/koenig-lexical 0.3.24 → 0.4.0
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/dist/koenig-lexical.js
CHANGED
|
@@ -7,7 +7,7 @@ import uB, { createPortal as yse } from "react-dom";
|
|
|
7
7
|
(function() {
|
|
8
8
|
try {
|
|
9
9
|
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
10
|
-
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "
|
|
10
|
+
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "6a90b9b9-55ea-4c00-a661-48923d2a25d5", t._sentryDebugIdIdentifier = "sentry-dbid-6a90b9b9-55ea-4c00-a661-48923d2a25d5");
|
|
11
11
|
} catch {
|
|
12
12
|
}
|
|
13
13
|
})();
|
|
@@ -106070,14 +106070,15 @@ class Y3 extends fHe {
|
|
|
106070
106070
|
return n && i && (!this.buttonEnabled || !this.buttonText && !this.buttonUrl) && !this.backgroundImageSrc;
|
|
106071
106071
|
}
|
|
106072
106072
|
}
|
|
106073
|
-
//
|
|
106073
|
+
// We keep Header v1 here for testing and backwards compatibility
|
|
106074
|
+
// we keep it hidden in the Menu in Ghost but visible in the Demo to ensure it remains tested till we full deprecate it in the future
|
|
106074
106075
|
Le(Y3, "kgMenu", [
|
|
106075
106076
|
{
|
|
106076
|
-
label: "
|
|
106077
|
+
label: "Header1",
|
|
106077
106078
|
desc: "Add a header",
|
|
106078
106079
|
Icon: X2,
|
|
106079
106080
|
insertCommand: n9,
|
|
106080
|
-
matches: ["
|
|
106081
|
+
matches: ["v1_header", "v1_heading"],
|
|
106081
106082
|
priority: 17,
|
|
106082
106083
|
insertParams: () => ({
|
|
106083
106084
|
version: 1
|
|
@@ -106088,19 +106089,15 @@ Le(Y3, "kgMenu", [
|
|
|
106088
106089
|
}
|
|
106089
106090
|
},
|
|
106090
106091
|
{
|
|
106091
|
-
label: "Header
|
|
106092
|
-
desc: "
|
|
106092
|
+
label: "Header",
|
|
106093
|
+
desc: "Add a header",
|
|
106093
106094
|
Icon: X2,
|
|
106094
106095
|
insertCommand: n9,
|
|
106095
|
-
matches: ["
|
|
106096
|
+
matches: ["header", "heading"],
|
|
106096
106097
|
priority: 18,
|
|
106097
106098
|
insertParams: () => ({
|
|
106098
106099
|
version: 2
|
|
106099
|
-
})
|
|
106100
|
-
isHidden: ({ config: n }) => {
|
|
106101
|
-
var i;
|
|
106102
|
-
return !((i = n == null ? void 0 : n.feature) != null && i.headerV2);
|
|
106103
|
-
}
|
|
106100
|
+
})
|
|
106104
106101
|
}
|
|
106105
106102
|
]);
|
|
106106
106103
|
const mht = (t) => new Y3(t), vht = (t) => /* @__PURE__ */ te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", ...t }, /* @__PURE__ */ te.createElement("path", { fill: "none", stroke: "currentColor", strokeLinecap: "round", strokeLinejoin: "round", d: "M1 12V7m3 5V7M1 9.472h2.364M14 12V7l-1.5 2.472L11 7v5m8 0h-2.5V7m-9 5V7M6 7h3" }));
|
|
@@ -127761,7 +127758,7 @@ const uA = ({ paragraphs: t, allowBr: e }) => {
|
|
|
127761
127758
|
is.ListNode,
|
|
127762
127759
|
is.ListItemNode,
|
|
127763
127760
|
Es.LinkNode
|
|
127764
|
-
], cw = O2t, oxt = "0.
|
|
127761
|
+
], cw = O2t, oxt = "0.4.0";
|
|
127765
127762
|
export {
|
|
127766
127763
|
mI as $isAtStartOfDocument,
|
|
127767
127764
|
vI as $isAtTopOfNode,
|