@haklex/rich-ext-code-snippet 0.8.0 → 0.9.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.
|
@@ -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.20.
|
|
7
|
+
//#region ../../node_modules/.pnpm/@vanilla-extract+recipes@0.5.7_@vanilla-extract+css@1.20.1/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,4 +1,4 @@
|
|
|
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-
|
|
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-DkotUEm3.js";
|
|
2
2
|
import { i as _defineProperty, n as $isCodeSnippetNode, r as CodeSnippetNode } from "./CodeSnippetNode-AQ_DQ1mj.js";
|
|
3
3
|
import { $getNodeByKey, $insertNodes } from "lexical";
|
|
4
4
|
import { FileCode, GripVertical, Pencil, Plus, Trash2, X } from "lucide-react";
|
package/dist/edit.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as __augmentLoaded_code_snippet } from "./augment-DszWIR0j.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-DO9YLH0Z.js";
|
|
3
3
|
export { $createCodeSnippetEditNode, $isCodeSnippetEditNode, CodeSnippetEditNode, CodeSnippetEditRenderer, __augmentLoaded_code_snippet, codeSnippetEditNodes };
|
package/dist/index.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __augmentLoaded_code_snippet } from "./augment-DszWIR0j.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-
|
|
2
|
+
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-DkotUEm3.js";
|
|
3
|
+
import { a as CodeSnippetEditRenderer, i as CodeSnippetEditNode, n as $createCodeSnippetEditNode, r as $isCodeSnippetEditNode, t as codeSnippetEditNodes } from "./edit-DO9YLH0Z.js";
|
|
4
4
|
import { a as CODE_SNIPPET_NODE_KEY, n as $isCodeSnippetNode, r as CodeSnippetNode, t as $createCodeSnippetNode } from "./CodeSnippetNode-AQ_DQ1mj.js";
|
|
5
5
|
import { n as CODE_SNIPPET_BLOCK_TRANSFORMER, t as codeSnippetNodes } from "./node-CvHtP3Jq.js";
|
|
6
6
|
import "./renderer.mjs";
|
package/dist/renderer.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __augmentLoaded_code_snippet } from "./augment-DszWIR0j.js";
|
|
2
|
-
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-
|
|
2
|
+
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-DkotUEm3.js";
|
|
3
3
|
//#region src/renderer.ts
|
|
4
4
|
var renderer_default = CodeSnippetRenderer;
|
|
5
5
|
//#endregion
|
package/dist/static.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __augmentLoaded_code_snippet } from "./augment-DszWIR0j.js";
|
|
2
|
-
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-
|
|
2
|
+
import { t as CodeSnippetRenderer } from "./CodeSnippetRenderer-DkotUEm3.js";
|
|
3
3
|
import { a as CODE_SNIPPET_NODE_KEY, n as $isCodeSnippetNode, r as CodeSnippetNode, t as $createCodeSnippetNode } from "./CodeSnippetNode-AQ_DQ1mj.js";
|
|
4
4
|
import { n as CODE_SNIPPET_BLOCK_TRANSFORMER, t as codeSnippetNodes } from "./node-CvHtP3Jq.js";
|
|
5
5
|
import "./renderer.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-ext-code-snippet",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Multi-file code snippet extension",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"@dnd-kit/sortable": "^10.0.0",
|
|
45
45
|
"@dnd-kit/utilities": "^3.2.2",
|
|
46
46
|
"shiki": "^4.0.2",
|
|
47
|
-
"@haklex/cm-editor": "0.
|
|
48
|
-
"@haklex/rich-
|
|
49
|
-
"@haklex/rich-
|
|
47
|
+
"@haklex/cm-editor": "0.9.0",
|
|
48
|
+
"@haklex/rich-headless": "0.9.0",
|
|
49
|
+
"@haklex/rich-renderer-codeblock": "0.9.0"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@lexical/react": "^0.44.0",
|
|
@@ -66,9 +66,9 @@
|
|
|
66
66
|
"lexical": "^0.44.0",
|
|
67
67
|
"lucide-react": "^1.0.0",
|
|
68
68
|
"react": ">=19",
|
|
69
|
-
"@haklex/rich-editor": "0.
|
|
70
|
-
"@haklex/rich-editor-ui": "0.
|
|
71
|
-
"@haklex/rich-style-token": "0.
|
|
69
|
+
"@haklex/rich-editor": "0.9.0",
|
|
70
|
+
"@haklex/rich-editor-ui": "0.9.0",
|
|
71
|
+
"@haklex/rich-style-token": "0.9.0"
|
|
72
72
|
},
|
|
73
73
|
"publishConfig": {
|
|
74
74
|
"access": "public"
|