@lofcz/platejs-utils 52.3.6 → 53.0.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/index.d.ts
CHANGED
|
@@ -25,6 +25,9 @@ declare const NODES: {
|
|
|
25
25
|
readonly equation: "equation";
|
|
26
26
|
readonly excalidraw: "excalidraw";
|
|
27
27
|
readonly file: "file";
|
|
28
|
+
readonly footnoteDefinition: "footnoteDefinition";
|
|
29
|
+
readonly footnoteInput: "footnoteInput";
|
|
30
|
+
readonly footnoteReference: "footnoteReference";
|
|
28
31
|
readonly h1: "h1";
|
|
29
32
|
readonly h2: "h2";
|
|
30
33
|
readonly h3: "h3";
|
|
@@ -146,6 +149,9 @@ declare const KEYS: {
|
|
|
146
149
|
readonly equation: "equation";
|
|
147
150
|
readonly excalidraw: "excalidraw";
|
|
148
151
|
readonly file: "file";
|
|
152
|
+
readonly footnoteDefinition: "footnoteDefinition";
|
|
153
|
+
readonly footnoteInput: "footnoteInput";
|
|
154
|
+
readonly footnoteReference: "footnoteReference";
|
|
149
155
|
readonly h1: "h1";
|
|
150
156
|
readonly h2: "h2";
|
|
151
157
|
readonly h3: "h3";
|
|
@@ -218,6 +224,7 @@ interface TColumnGroupElement extends TElement {
|
|
|
218
224
|
}
|
|
219
225
|
interface TDateElement extends TElement {
|
|
220
226
|
date?: string;
|
|
227
|
+
rawDate?: string;
|
|
221
228
|
}
|
|
222
229
|
interface TEquationElement extends TElement {
|
|
223
230
|
texExpression: string;
|
|
@@ -292,6 +299,8 @@ type TMediaProps = {
|
|
|
292
299
|
isUpload?: boolean;
|
|
293
300
|
name?: string;
|
|
294
301
|
placeholderId?: string;
|
|
302
|
+
provider?: string;
|
|
303
|
+
sourceUrl?: string;
|
|
295
304
|
};
|
|
296
305
|
type TMediaElement = TElement & TMediaProps;
|
|
297
306
|
type TCaptionProps = {
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as NODES, r as STYLE_KEYS, t as KEYS } from "./plate-keys-
|
|
1
|
+
import { n as NODES, r as STYLE_KEYS, t as KEYS } from "./plate-keys-CN1p7z_o.js";
|
|
2
2
|
import { createSlatePlugin, createTSlatePlugin } from "@platejs/core";
|
|
3
3
|
import { ElementApi, NodeApi, PathApi, TextApi, queryNode } from "@platejs/slate";
|
|
4
4
|
|
package/dist/react/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as KEYS } from "../plate-keys-
|
|
1
|
+
import { t as KEYS } from "../plate-keys-CN1p7z_o.js";
|
|
2
2
|
import { getContainerTypes } from "@platejs/core";
|
|
3
3
|
import { c } from "react-compiler-runtime";
|
|
4
4
|
import { createTPlatePlugin, useEditorComposing, useEditorReadOnly, useEditorRef, useEditorSelector, useFocused, usePluginOption } from "@platejs/core/react";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lofcz/platejs-utils",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "53.0.0",
|
|
4
4
|
"description": "Plate utils",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"plate",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"clsx": "^2.1.1",
|
|
33
33
|
"lodash": "^4.17.21",
|
|
34
34
|
"react-compiler-runtime": "^1.0.0",
|
|
35
|
-
"@platejs/core": "npm:@lofcz/platejs-core@
|
|
36
|
-
"@platejs/slate": "npm:@lofcz/platejs-slate@
|
|
35
|
+
"@platejs/core": "npm:@lofcz/platejs-core@53.0.0",
|
|
36
|
+
"@platejs/slate": "npm:@lofcz/platejs-slate@53.0.0",
|
|
37
37
|
"@udecode/react-utils": "npm:@lofcz/udecode-react-utils@52.3.4",
|
|
38
38
|
"@udecode/utils": "npm:@lofcz/udecode-utils@52.3.4"
|
|
39
39
|
},
|