@haklex/rich-ext-code-snippet 0.4.1 → 0.6.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/README.md +45 -25
- package/dist/CodeEditorModal.d.ts +1 -1
- package/dist/CodeEditorModal.d.ts.map +1 -1
- package/dist/CodeSnippetEditDecorator.d.ts +1 -1
- package/dist/CodeSnippetEditDecorator.d.ts.map +1 -1
- package/dist/CodeSnippetEditRenderer.d.ts +1 -1
- package/dist/CodeSnippetEditRenderer.d.ts.map +1 -1
- package/dist/CodeSnippetNode-DD50J5NW.js +103 -0
- package/dist/{transformer-BK2M_fTu.js → CodeSnippetRenderer-BNGQYBtp.js} +7 -101
- package/dist/CodeSnippetRenderer.d.ts +1 -1
- package/dist/CodeSnippetRenderer.d.ts.map +1 -1
- package/dist/augment.d.ts +9 -0
- package/dist/augment.d.ts.map +1 -0
- package/dist/edit-BpfJ1A_-.js +416 -0
- package/dist/edit.d.ts +6 -0
- package/dist/edit.d.ts.map +1 -0
- package/dist/edit.mjs +2 -0
- package/dist/index.d.ts +3 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.mjs +6 -416
- package/dist/node-DEOtFSlD.js +6 -0
- package/dist/node.d.ts +8 -0
- package/dist/node.d.ts.map +1 -0
- package/dist/node.mjs +3 -0
- package/dist/nodes/CodeSnippetEditNode.d.ts +1 -1
- 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.d.ts +5 -0
- package/dist/renderer.d.ts.map +1 -0
- package/dist/renderer.mjs +5 -0
- package/dist/rich-ext-code-snippet.css +1 -1
- package/dist/slot.d.ts +8 -0
- package/dist/slot.d.ts.map +1 -0
- package/dist/static.d.ts +2 -6
- package/dist/static.d.ts.map +1 -1
- package/dist/static.mjs +5 -5
- package/dist/types.d.ts +10 -0
- package/dist/types.d.ts.map +1 -0
- package/package.json +20 -8
- package/dist/nodes/index.d.ts +0 -7
- package/dist/nodes/index.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-ext-code-snippet",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.0",
|
|
4
4
|
"description": "Multi-file code snippet extension",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,6 +14,18 @@
|
|
|
14
14
|
"import": "./dist/index.mjs",
|
|
15
15
|
"types": "./dist/index.d.ts"
|
|
16
16
|
},
|
|
17
|
+
"./node": {
|
|
18
|
+
"import": "./dist/node.mjs",
|
|
19
|
+
"types": "./dist/node.d.ts"
|
|
20
|
+
},
|
|
21
|
+
"./renderer": {
|
|
22
|
+
"import": "./dist/renderer.mjs",
|
|
23
|
+
"types": "./dist/renderer.d.ts"
|
|
24
|
+
},
|
|
25
|
+
"./edit": {
|
|
26
|
+
"import": "./dist/edit.mjs",
|
|
27
|
+
"types": "./dist/edit.d.ts"
|
|
28
|
+
},
|
|
17
29
|
"./static": {
|
|
18
30
|
"import": "./dist/static.mjs",
|
|
19
31
|
"types": "./dist/static.d.ts"
|
|
@@ -32,9 +44,9 @@
|
|
|
32
44
|
"@dnd-kit/sortable": "^10.0.0",
|
|
33
45
|
"@dnd-kit/utilities": "^3.2.2",
|
|
34
46
|
"shiki": "^4.0.2",
|
|
35
|
-
"@haklex/
|
|
36
|
-
"@haklex/rich-
|
|
37
|
-
"@haklex/
|
|
47
|
+
"@haklex/cm-editor": "0.6.0",
|
|
48
|
+
"@haklex/rich-headless": "0.6.0",
|
|
49
|
+
"@haklex/rich-renderer-codeblock": "0.6.0"
|
|
38
50
|
},
|
|
39
51
|
"devDependencies": {
|
|
40
52
|
"@lexical/react": "^0.44.0",
|
|
@@ -51,12 +63,12 @@
|
|
|
51
63
|
"vite-plugin-dts": "^4.5.4"
|
|
52
64
|
},
|
|
53
65
|
"peerDependencies": {
|
|
54
|
-
"@haklex/rich-editor": ">=0.3.0",
|
|
55
|
-
"@haklex/rich-editor-ui": ">=0.3.0",
|
|
56
|
-
"@haklex/rich-style-token": ">=0.3.0",
|
|
57
66
|
"lexical": "^0.44.0",
|
|
58
67
|
"lucide-react": "^1.0.0",
|
|
59
|
-
"react": ">=19"
|
|
68
|
+
"react": ">=19",
|
|
69
|
+
"@haklex/rich-editor": "0.6.0",
|
|
70
|
+
"@haklex/rich-editor-ui": "0.6.0",
|
|
71
|
+
"@haklex/rich-style-token": "0.6.0"
|
|
60
72
|
},
|
|
61
73
|
"publishConfig": {
|
|
62
74
|
"access": "public"
|
package/dist/nodes/index.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CodeSnippetEditNode } from './CodeSnippetEditNode';
|
|
2
|
-
import { CodeSnippetNode } from './CodeSnippetNode';
|
|
3
|
-
export { CodeSnippetEditNode } from './CodeSnippetEditNode';
|
|
4
|
-
export { CodeSnippetNode } from './CodeSnippetNode';
|
|
5
|
-
export declare const codeSnippetNodes: (typeof CodeSnippetNode)[];
|
|
6
|
-
export declare const codeSnippetEditNodes: (typeof CodeSnippetEditNode)[];
|
|
7
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/nodes/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAA;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,gBAAgB,4BAAoB,CAAA;AACjD,eAAO,MAAM,oBAAoB,gCAAwB,CAAA"}
|