@haklex/rich-ext-code-snippet 0.28.0 → 0.30.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/{CodeSnippetNode-DIyfPOdA.js → CodeSnippetNode-B_ICe2dE.js} +6 -6
- package/dist/{CodeSnippetRenderer-B8BuxVDx.js → CodeSnippetRenderer-Ck0f-p1Q.js} +1 -1
- package/dist/{edit-CdAf0hrI.js → edit-Dol_emkU.js} +4 -4
- package/dist/edit.mjs +1 -1
- package/dist/index.mjs +4 -4
- package/dist/{node-DCc-pqKW.js → node-CaVBwz4Z.js} +1 -1
- package/dist/node.mjs +2 -2
- package/dist/nodes/CodeSnippetEditNode.d.ts +3 -3
- package/dist/nodes/CodeSnippetEditNode.d.ts.map +1 -1
- package/dist/nodes/CodeSnippetNode.d.ts +1 -1
- package/dist/nodes/CodeSnippetNode.d.ts.map +1 -1
- package/dist/renderer.mjs +1 -1
- package/dist/static.mjs +3 -3
- package/package.json +22 -22
|
@@ -9,7 +9,7 @@ import { createRendererDecoration } from "@haklex/rich-editor/renderers";
|
|
|
9
9
|
*/
|
|
10
10
|
var CODE_SNIPPET_NODE_KEY = "CodeSnippet";
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region \0@oxc-project+runtime@0.
|
|
12
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/typeof.js
|
|
13
13
|
function _typeof(o) {
|
|
14
14
|
"@babel/helpers - typeof";
|
|
15
15
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -19,7 +19,7 @@ function _typeof(o) {
|
|
|
19
19
|
}, _typeof(o);
|
|
20
20
|
}
|
|
21
21
|
//#endregion
|
|
22
|
-
//#region \0@oxc-project+runtime@0.
|
|
22
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPrimitive.js
|
|
23
23
|
function toPrimitive(t, r) {
|
|
24
24
|
if ("object" != _typeof(t) || !t) return t;
|
|
25
25
|
var e = t[Symbol.toPrimitive];
|
|
@@ -31,13 +31,13 @@ function toPrimitive(t, r) {
|
|
|
31
31
|
return ("string" === r ? String : Number)(t);
|
|
32
32
|
}
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region \0@oxc-project+runtime@0.
|
|
34
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/toPropertyKey.js
|
|
35
35
|
function toPropertyKey(t) {
|
|
36
36
|
var i = toPrimitive(t, "string");
|
|
37
37
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
38
38
|
}
|
|
39
39
|
//#endregion
|
|
40
|
-
//#region \0@oxc-project+runtime@0.
|
|
40
|
+
//#region \0@oxc-project+runtime@0.137.0/helpers/esm/defineProperty.js
|
|
41
41
|
function _defineProperty(e, r, t) {
|
|
42
42
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
43
43
|
value: t,
|
|
@@ -71,8 +71,8 @@ var CodeSnippetNode = class CodeSnippetNode extends DecoratorNode {
|
|
|
71
71
|
isInline() {
|
|
72
72
|
return false;
|
|
73
73
|
}
|
|
74
|
-
static importJSON(
|
|
75
|
-
return $createCodeSnippetNode(
|
|
74
|
+
static importJSON(_serializedNode) {
|
|
75
|
+
return $createCodeSnippetNode(_serializedNode.files);
|
|
76
76
|
}
|
|
77
77
|
exportJSON() {
|
|
78
78
|
return {
|
|
@@ -4,7 +4,7 @@ import { normalizeLanguage } from "@haklex/rich-renderer-codeblock/constants";
|
|
|
4
4
|
import { FileIcon } from "@haklex/rich-renderer-codeblock/icons";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { SHIKI_DUAL_THEMES, getHighlighterWithLang } from "@haklex/rich-renderer-codeblock/shiki";
|
|
7
|
-
//#region ../../node_modules/.pnpm/@vanilla-extract+recipes@0.5.7_@vanilla-extract+css@1.
|
|
7
|
+
//#region ../../node_modules/.pnpm/@vanilla-extract+recipes@0.5.7_@vanilla-extract+css@1.21.0/node_modules/@vanilla-extract/recipes/dist/createRuntimeFn-62c9670f.esm.js
|
|
8
8
|
function toPrimitive(t, r) {
|
|
9
9
|
if ("object" != typeof t || !t) return t;
|
|
10
10
|
var e = t[Symbol.toPrimitive];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as modalSidebar, D as semanticClassNames, E as renameInput, O as sidebarAddButton, S as modalIconButton, T as modalTitlebar, _ as fileList, a as breadcrumbLeft, b as modalBody, c as dragOverlay, d as editOverlay, f as editorContainer, g as fileItem, h as fileIcon, k as sidebarHeader, l as editContainer, m as fileDragHandle, n as getLanguageFromFilename, r as breadcrumb, s as codeSnippetDialogPopup, t as CodeSnippetRenderer, u as editLabel, v as fileName, w as modalTitle, x as modalEditor, y as modal } from "./CodeSnippetRenderer-
|
|
2
|
-
import { i as _defineProperty, n as $isCodeSnippetNode, r as CodeSnippetNode } from "./CodeSnippetNode-
|
|
1
|
+
import { C as modalSidebar, D as semanticClassNames, E as renameInput, O as sidebarAddButton, S as modalIconButton, T as modalTitlebar, _ as fileList, a as breadcrumbLeft, b as modalBody, c as dragOverlay, d as editOverlay, f as editorContainer, g as fileItem, h as fileIcon, k as sidebarHeader, l as editContainer, m as fileDragHandle, n as getLanguageFromFilename, r as breadcrumb, s as codeSnippetDialogPopup, t as CodeSnippetRenderer, u as editLabel, v as fileName, w as modalTitle, x as modalEditor, y as modal } from "./CodeSnippetRenderer-Ck0f-p1Q.js";
|
|
2
|
+
import { i as _defineProperty, n as $isCodeSnippetNode, r as CodeSnippetNode } from "./CodeSnippetNode-B_ICe2dE.js";
|
|
3
3
|
import { $getNodeByKey, $insertNodes } from "lexical";
|
|
4
4
|
import { FileCode, GripVertical, Pencil, Plus, Trash2, X } from "lucide-react";
|
|
5
5
|
import { createElement, useCallback, useEffect, useMemo, useRef, useState } from "react";
|
|
@@ -352,8 +352,8 @@ var CodeSnippetEditNode = class CodeSnippetEditNode extends CodeSnippetNode {
|
|
|
352
352
|
static clone(node) {
|
|
353
353
|
return new CodeSnippetEditNode(node.__files, node.__key);
|
|
354
354
|
}
|
|
355
|
-
static importJSON(
|
|
356
|
-
return new CodeSnippetEditNode(
|
|
355
|
+
static importJSON(_serializedNode) {
|
|
356
|
+
return new CodeSnippetEditNode(_serializedNode.files);
|
|
357
357
|
}
|
|
358
358
|
decorate(_editor, _config) {
|
|
359
359
|
return createElement(CodeSnippetEditDecorator, {
|
package/dist/edit.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as __augmentLoaded_code_snippet } from "./augment-B79wHSjn.js";
|
|
2
|
-
import { a as CodeSnippetEditRenderer, i as CodeSnippetEditNode, n as $createCodeSnippetEditNode, r as $isCodeSnippetEditNode, t as codeSnippetEditNodes } from "./edit-
|
|
2
|
+
import { a as CodeSnippetEditRenderer, i as CodeSnippetEditNode, n as $createCodeSnippetEditNode, r as $isCodeSnippetEditNode, t as codeSnippetEditNodes } from "./edit-Dol_emkU.js";
|
|
3
3
|
export { $createCodeSnippetEditNode, $isCodeSnippetEditNode, CodeSnippetEditNode, CodeSnippetEditRenderer, __augmentLoaded_code_snippet, codeSnippetEditNodes };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __augmentLoaded_code_snippet } from "./augment-B79wHSjn.js";
|
|
2
|
-
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-
|
|
3
|
-
import { a as CodeSnippetEditRenderer, i as CodeSnippetEditNode, n as $createCodeSnippetEditNode, r as $isCodeSnippetEditNode, t as codeSnippetEditNodes } from "./edit-
|
|
4
|
-
import { a as CODE_SNIPPET_NODE_KEY, n as $isCodeSnippetNode, r as CodeSnippetNode, t as $createCodeSnippetNode } from "./CodeSnippetNode-
|
|
5
|
-
import { n as CODE_SNIPPET_BLOCK_TRANSFORMER, t as codeSnippetNodes } from "./node-
|
|
2
|
+
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-Ck0f-p1Q.js";
|
|
3
|
+
import { a as CodeSnippetEditRenderer, i as CodeSnippetEditNode, n as $createCodeSnippetEditNode, r as $isCodeSnippetEditNode, t as codeSnippetEditNodes } from "./edit-Dol_emkU.js";
|
|
4
|
+
import { a as CODE_SNIPPET_NODE_KEY, n as $isCodeSnippetNode, r as CodeSnippetNode, t as $createCodeSnippetNode } from "./CodeSnippetNode-B_ICe2dE.js";
|
|
5
|
+
import { n as CODE_SNIPPET_BLOCK_TRANSFORMER, t as codeSnippetNodes } from "./node-CaVBwz4Z.js";
|
|
6
6
|
import "./renderer.mjs";
|
|
7
7
|
export { $createCodeSnippetEditNode, $createCodeSnippetNode, $isCodeSnippetEditNode, $isCodeSnippetNode, CODE_SNIPPET_BLOCK_TRANSFORMER, CODE_SNIPPET_NODE_KEY, CodeSnippetEditNode, CodeSnippetEditRenderer, CodeSnippetNode, CodeSnippetRenderer, __augmentLoaded_code_snippet, codeSnippetEditNodes, codeSnippetNodes };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as CodeSnippetNode } from "./CodeSnippetNode-
|
|
1
|
+
import { r as CodeSnippetNode } from "./CodeSnippetNode-B_ICe2dE.js";
|
|
2
2
|
import { CODE_SNIPPET_BLOCK_TRANSFORMER } from "@haklex/rich-headless/transformers";
|
|
3
3
|
//#region src/node.ts
|
|
4
4
|
var codeSnippetNodes = [CodeSnippetNode];
|
package/dist/node.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { t as __augmentLoaded_code_snippet } from "./augment-B79wHSjn.js";
|
|
2
|
-
import { a as CODE_SNIPPET_NODE_KEY, n as $isCodeSnippetNode, r as CodeSnippetNode, t as $createCodeSnippetNode } from "./CodeSnippetNode-
|
|
3
|
-
import { n as CODE_SNIPPET_BLOCK_TRANSFORMER, t as codeSnippetNodes } from "./node-
|
|
2
|
+
import { a as CODE_SNIPPET_NODE_KEY, n as $isCodeSnippetNode, r as CodeSnippetNode, t as $createCodeSnippetNode } from "./CodeSnippetNode-B_ICe2dE.js";
|
|
3
|
+
import { n as CODE_SNIPPET_BLOCK_TRANSFORMER, t as codeSnippetNodes } from "./node-CaVBwz4Z.js";
|
|
4
4
|
export { $createCodeSnippetNode, $isCodeSnippetNode, CODE_SNIPPET_BLOCK_TRANSFORMER, CODE_SNIPPET_NODE_KEY, CodeSnippetNode, __augmentLoaded_code_snippet, codeSnippetNodes };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { CommandItemConfig } from '@haklex/rich-editor/commands';
|
|
2
|
-
import { EditorConfig, LexicalEditor, LexicalNode } from 'lexical';
|
|
2
|
+
import { EditorConfig, LexicalEditor, LexicalNode, SerializedLexicalNode } from 'lexical';
|
|
3
3
|
import { ReactElement } from 'react';
|
|
4
4
|
import { CodeFile } from '../types';
|
|
5
|
-
import { CodeSnippetNode
|
|
5
|
+
import { CodeSnippetNode } from './CodeSnippetNode';
|
|
6
6
|
export declare class CodeSnippetEditNode extends CodeSnippetNode {
|
|
7
7
|
static commandItems: CommandItemConfig[];
|
|
8
8
|
static clone(node: CodeSnippetEditNode): CodeSnippetEditNode;
|
|
9
|
-
static importJSON(
|
|
9
|
+
static importJSON(_serializedNode: SerializedLexicalNode & Record<string, unknown>): CodeSnippetEditNode;
|
|
10
10
|
decorate(_editor: LexicalEditor, _config: EditorConfig): ReactElement;
|
|
11
11
|
}
|
|
12
12
|
export declare function $createCodeSnippetEditNode(files: CodeFile[]): CodeSnippetEditNode;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeSnippetEditNode.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeSnippetEditNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"CodeSnippetEditNode.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeSnippetEditNode.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,WAAW,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AAG/F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAI1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AACzC,OAAO,EAAE,eAAe,EAAkC,MAAM,mBAAmB,CAAC;AAEpF,qBAAa,mBAAoB,SAAQ,eAAe;IACtD,MAAM,CAAC,YAAY,EAAE,iBAAiB,EAAE,CAmBtC;IAEF,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,mBAAmB,GAAG,mBAAmB;IAI5D,MAAM,CAAC,UAAU,CACf,eAAe,EAAE,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/D,mBAAmB;IAKtB,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAMtE;AAED,wBAAgB,0BAA0B,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,mBAAmB,CAEjF;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GACnC,IAAI,IAAI,mBAAmB,CAE7B"}
|
|
@@ -12,7 +12,7 @@ export declare class CodeSnippetNode extends DecoratorNode<ReactElement> {
|
|
|
12
12
|
createDOM(_config: EditorConfig): HTMLElement;
|
|
13
13
|
updateDOM(): boolean;
|
|
14
14
|
isInline(): boolean;
|
|
15
|
-
static importJSON(
|
|
15
|
+
static importJSON(_serializedNode: SerializedLexicalNode & Record<string, unknown>): CodeSnippetNode;
|
|
16
16
|
exportJSON(): SerializedCodeSnippetNode;
|
|
17
17
|
getFiles(): CodeFile[];
|
|
18
18
|
setFiles(files: CodeFile[]): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CodeSnippetNode.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeSnippetNode.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AAGpB,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAC5C;IACE,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB,EACD,qBAAqB,CACtB,CAAC;AAEF,qBAAa,eAAgB,SAAQ,aAAa,CAAC,YAAY,CAAC;IAC9D,OAAO,EAAE,QAAQ,EAAE,CAAC;IAEpB,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,eAAe,GAAG,eAAe;gBAIxC,KAAK,EAAE,QAAQ,EAAE,EAAE,GAAG,CAAC,EAAE,OAAO;IAK5C,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAM7C,SAAS,IAAI,OAAO;IAIpB,QAAQ,IAAI,OAAO;IAInB,MAAM,CAAC,UAAU,
|
|
1
|
+
{"version":3,"file":"CodeSnippetNode.d.ts","sourceRoot":"","sources":["../../src/nodes/CodeSnippetNode.ts"],"names":[],"mappings":"AAAA,OAAO,YAAY,CAAC;AAGpB,OAAO,KAAK,EACV,YAAY,EACZ,aAAa,EACb,WAAW,EACX,OAAO,EACP,qBAAqB,EACrB,MAAM,EACP,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AACxC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,OAAO,CAAC;AAG1C,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEzC,MAAM,MAAM,yBAAyB,GAAG,MAAM,CAC5C;IACE,KAAK,EAAE,QAAQ,EAAE,CAAC;CACnB,EACD,qBAAqB,CACtB,CAAC;AAEF,qBAAa,eAAgB,SAAQ,aAAa,CAAC,YAAY,CAAC;IAC9D,OAAO,EAAE,QAAQ,EAAE,CAAC;IAEpB,MAAM,CAAC,OAAO,IAAI,MAAM;IAIxB,MAAM,CAAC,KAAK,CAAC,IAAI,EAAE,eAAe,GAAG,eAAe;gBAIxC,KAAK,EAAE,QAAQ,EAAE,EAAE,GAAG,CAAC,EAAE,OAAO;IAK5C,SAAS,CAAC,OAAO,EAAE,YAAY,GAAG,WAAW;IAM7C,SAAS,IAAI,OAAO;IAIpB,QAAQ,IAAI,OAAO;IAInB,MAAM,CAAC,UAAU,CACf,eAAe,EAAE,qBAAqB,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAC/D,eAAe;IAKlB,UAAU,IAAI,yBAAyB;IASvC,QAAQ,IAAI,QAAQ,EAAE;IAItB,QAAQ,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI;IAKjC,QAAQ,CAAC,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,YAAY,GAAG,YAAY;CAKtE;AAED,wBAAgB,sBAAsB,CAAC,KAAK,EAAE,QAAQ,EAAE,GAAG,eAAe,CAEzE;AAED,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,WAAW,GAAG,IAAI,GAAG,SAAS,GAAG,IAAI,IAAI,eAAe,CAEhG"}
|
package/dist/renderer.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __augmentLoaded_code_snippet } from "./augment-B79wHSjn.js";
|
|
2
|
-
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-
|
|
2
|
+
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-Ck0f-p1Q.js";
|
|
3
3
|
//#region src/renderer.ts
|
|
4
4
|
var renderer_default = CodeSnippetRenderer;
|
|
5
5
|
//#endregion
|
package/dist/static.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __augmentLoaded_code_snippet } from "./augment-B79wHSjn.js";
|
|
2
|
-
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-
|
|
3
|
-
import { a as CODE_SNIPPET_NODE_KEY, n as $isCodeSnippetNode, r as CodeSnippetNode, t as $createCodeSnippetNode } from "./CodeSnippetNode-
|
|
4
|
-
import { n as CODE_SNIPPET_BLOCK_TRANSFORMER, t as codeSnippetNodes } from "./node-
|
|
2
|
+
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-Ck0f-p1Q.js";
|
|
3
|
+
import { a as CODE_SNIPPET_NODE_KEY, n as $isCodeSnippetNode, r as CodeSnippetNode, t as $createCodeSnippetNode } from "./CodeSnippetNode-B_ICe2dE.js";
|
|
4
|
+
import { n as CODE_SNIPPET_BLOCK_TRANSFORMER, t as codeSnippetNodes } from "./node-CaVBwz4Z.js";
|
|
5
5
|
import "./renderer.mjs";
|
|
6
6
|
export { $createCodeSnippetNode, $isCodeSnippetNode, CODE_SNIPPET_BLOCK_TRANSFORMER, CODE_SNIPPET_NODE_KEY, CodeSnippetNode, CodeSnippetRenderer, __augmentLoaded_code_snippet, codeSnippetNodes };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-ext-code-snippet",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.0",
|
|
4
4
|
"description": "Multi-file code snippet extension",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,40 +37,40 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@codemirror/commands": "^6.10.
|
|
41
|
-
"@codemirror/state": "^6.
|
|
42
|
-
"@codemirror/view": "^6.43.
|
|
40
|
+
"@codemirror/commands": "^6.10.4",
|
|
41
|
+
"@codemirror/state": "^6.7.0",
|
|
42
|
+
"@codemirror/view": "^6.43.3",
|
|
43
43
|
"@dnd-kit/core": "^6.3.1",
|
|
44
44
|
"@dnd-kit/sortable": "^10.0.0",
|
|
45
45
|
"@dnd-kit/utilities": "^3.2.2",
|
|
46
|
-
"@haklex/rich-
|
|
47
|
-
"@haklex/rich-
|
|
48
|
-
"@haklex/cm-editor": "0.
|
|
46
|
+
"@haklex/rich-headless": "0.30.0",
|
|
47
|
+
"@haklex/rich-renderer-codeblock": "0.30.0",
|
|
48
|
+
"@haklex/cm-editor": "0.30.0"
|
|
49
49
|
},
|
|
50
50
|
"devDependencies": {
|
|
51
|
-
"@lexical/react": "^0.
|
|
51
|
+
"@lexical/react": "^0.46.0",
|
|
52
52
|
"@types/react": "^19.2.17",
|
|
53
53
|
"@types/react-dom": "^19.2.3",
|
|
54
|
-
"@vanilla-extract/css": "^1.
|
|
54
|
+
"@vanilla-extract/css": "^1.21.0",
|
|
55
55
|
"@vanilla-extract/recipes": "^0.5.7",
|
|
56
|
-
"@vanilla-extract/vite-plugin": "^5.2.
|
|
57
|
-
"lexical": "^0.
|
|
58
|
-
"react": "19.2.
|
|
59
|
-
"react-dom": "19.2.
|
|
60
|
-
"shiki": "^4.
|
|
61
|
-
"typescript": "^
|
|
62
|
-
"unplugin-dts": "^1.0.
|
|
63
|
-
"vite": "^8.0
|
|
56
|
+
"@vanilla-extract/vite-plugin": "^5.2.3",
|
|
57
|
+
"lexical": "^0.46.0",
|
|
58
|
+
"react": "^19.2.7",
|
|
59
|
+
"react-dom": "19.2.7",
|
|
60
|
+
"shiki": "^4.3.0",
|
|
61
|
+
"typescript": "^6.0.3",
|
|
62
|
+
"unplugin-dts": "^1.0.3",
|
|
63
|
+
"vite": "^8.1.0"
|
|
64
64
|
},
|
|
65
65
|
"peerDependencies": {
|
|
66
|
-
"@lexical/react": "^0.
|
|
67
|
-
"lexical": "^0.
|
|
66
|
+
"@lexical/react": "^0.46.0",
|
|
67
|
+
"lexical": "^0.46.0",
|
|
68
68
|
"lucide-react": "^1.0.0",
|
|
69
69
|
"react": ">=19",
|
|
70
70
|
"shiki": ">=4.0.0",
|
|
71
|
-
"@haklex/rich-editor": "^0.
|
|
72
|
-
"@haklex/rich-editor-ui": "^0.
|
|
73
|
-
"@haklex/rich-style-token": "^0.
|
|
71
|
+
"@haklex/rich-editor": "^0.30.0",
|
|
72
|
+
"@haklex/rich-editor-ui": "^0.30.0",
|
|
73
|
+
"@haklex/rich-style-token": "^0.30.0"
|
|
74
74
|
},
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|