@haklex/rich-compose 0.50.2 → 0.51.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/editor.d.ts +1 -2
- package/dist/editor.d.ts.map +1 -1
- package/dist/editor.mjs +1 -3
- package/dist/litexml-html-preview-client.js +6 -1
- package/dist/renderer.d.ts +1 -2
- package/dist/renderer.d.ts.map +1 -1
- package/dist/renderer.mjs +1 -3
- package/package.json +32 -26
package/dist/editor.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { chartEditModule } from './modules/chart/edit';
|
|
|
4
4
|
import { chatEditModule } from './modules/chat/edit';
|
|
5
5
|
import { codeBlockEditModule } from './modules/code-block/edit';
|
|
6
6
|
import { codeSnippetEditModule } from './modules/code-snippet/edit';
|
|
7
|
-
import { dynamicEditModule } from './modules/dynamic/edit';
|
|
8
7
|
import { embedEditModule } from './modules/embed/edit';
|
|
9
8
|
import { excalidrawEditModule } from './modules/excalidraw/edit';
|
|
10
9
|
import { fileEditModule } from './modules/file/edit';
|
|
@@ -19,6 +18,6 @@ import { pollEditModule } from './modules/poll/edit';
|
|
|
19
18
|
import { rubyEditModule } from './modules/ruby/edit';
|
|
20
19
|
import { slashMenuEditModule } from './modules/slash-menu/edit';
|
|
21
20
|
import { videoEditModule } from './modules/video/edit';
|
|
22
|
-
export { alertEditModule, bannerEditModule, chartEditModule, chatEditModule, codeBlockEditModule, codeSnippetEditModule,
|
|
21
|
+
export { alertEditModule, bannerEditModule, chartEditModule, chatEditModule, codeBlockEditModule, codeSnippetEditModule, embedEditModule, excalidrawEditModule, fileEditModule, galleryEditModule, imageEditModule, katexEditModule, linkCardEditModule, mentionEditModule, mermaidEditModule, nestedDocEditModule, pollEditModule, rubyEditModule, slashMenuEditModule, videoEditModule, };
|
|
23
22
|
export declare const allEditorModules: import('./core').RichEditorModule[];
|
|
24
23
|
//# sourceMappingURL=editor.d.ts.map
|
package/dist/editor.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../src/editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"editor.d.ts","sourceRoot":"","sources":["../src/editor.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,qBAAqB,EAAE,MAAM,6BAA6B,CAAC;AACpE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAC3D,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAEvD,OAAO,EACL,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,qBAAqB,EACrB,eAAe,EACf,oBAAoB,EACpB,cAAc,EACd,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,mBAAmB,EACnB,cAAc,EACd,cAAc,EACd,mBAAmB,EACnB,eAAe,GAChB,CAAC;AAEF,eAAO,MAAM,gBAAgB,qCAqB5B,CAAC"}
|
package/dist/editor.mjs
CHANGED
|
@@ -4,7 +4,6 @@ import { chartEditModule } from "./modules/chart/edit.mjs";
|
|
|
4
4
|
import { chatEditModule } from "./modules/chat/edit.mjs";
|
|
5
5
|
import { codeBlockEditModule } from "./modules/code-block/edit.mjs";
|
|
6
6
|
import { codeSnippetEditModule } from "./modules/code-snippet/edit.mjs";
|
|
7
|
-
import { dynamicEditModule } from "./modules/dynamic/edit.mjs";
|
|
8
7
|
import { embedEditModule } from "./modules/embed/edit.mjs";
|
|
9
8
|
import { excalidrawEditModule } from "./modules/excalidraw/edit.mjs";
|
|
10
9
|
import { fileEditModule } from "./modules/file/edit.mjs";
|
|
@@ -27,7 +26,6 @@ var allEditorModules = [
|
|
|
27
26
|
chatEditModule,
|
|
28
27
|
codeBlockEditModule,
|
|
29
28
|
codeSnippetEditModule,
|
|
30
|
-
dynamicEditModule,
|
|
31
29
|
embedEditModule,
|
|
32
30
|
excalidrawEditModule,
|
|
33
31
|
fileEditModule,
|
|
@@ -44,4 +42,4 @@ var allEditorModules = [
|
|
|
44
42
|
videoEditModule
|
|
45
43
|
];
|
|
46
44
|
//#endregion
|
|
47
|
-
export { alertEditModule, allEditorModules, bannerEditModule, chartEditModule, chatEditModule, codeBlockEditModule, codeSnippetEditModule,
|
|
45
|
+
export { alertEditModule, allEditorModules, bannerEditModule, chartEditModule, chatEditModule, codeBlockEditModule, codeSnippetEditModule, embedEditModule, excalidrawEditModule, fileEditModule, galleryEditModule, imageEditModule, katexEditModule, linkCardEditModule, mentionEditModule, mermaidEditModule, nestedDocEditModule, pollEditModule, rubyEditModule, slashMenuEditModule, videoEditModule };
|
|
@@ -107771,7 +107771,12 @@ ${g}`, r = e.length;
|
|
|
107771
107771
|
//#endregion
|
|
107772
107772
|
//#region ../rich-ext-dynamic/src/DynamicHostRenderer.tsx
|
|
107773
107773
|
init_static_entry();
|
|
107774
|
-
var importRemoteModule =
|
|
107774
|
+
var importRemoteModule = (url) => import(
|
|
107775
|
+
/* @vite-ignore */
|
|
107776
|
+
/* webpackIgnore: true */
|
|
107777
|
+
/* turbopackIgnore: true */
|
|
107778
|
+
url
|
|
107779
|
+
);
|
|
107775
107780
|
function parseProps(json) {
|
|
107776
107781
|
try {
|
|
107777
107782
|
const value = JSON.parse(json);
|
package/dist/renderer.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ import { chartModule } from './modules/chart/module';
|
|
|
4
4
|
import { chatModule } from './modules/chat/module';
|
|
5
5
|
import { codeBlockModule } from './modules/code-block/module';
|
|
6
6
|
import { codeSnippetModule } from './modules/code-snippet/module';
|
|
7
|
-
import { dynamicModule } from './modules/dynamic/module';
|
|
8
7
|
import { embedModule } from './modules/embed/module';
|
|
9
8
|
import { excalidrawModule } from './modules/excalidraw/module';
|
|
10
9
|
import { fileModule } from './modules/file/module';
|
|
@@ -18,6 +17,6 @@ import { nestedDocModule } from './modules/nested-doc/module';
|
|
|
18
17
|
import { pollModule } from './modules/poll/module';
|
|
19
18
|
import { rubyModule } from './modules/ruby/module';
|
|
20
19
|
import { videoModule } from './modules/video/module';
|
|
21
|
-
export { alertModule, bannerModule, chartModule, chatModule, codeBlockModule, codeSnippetModule,
|
|
20
|
+
export { alertModule, bannerModule, chartModule, chatModule, codeBlockModule, codeSnippetModule, embedModule, excalidrawModule, fileModule, galleryModule, imageModule, katexModule, linkCardModule, mentionModule, mermaidModule, nestedDocModule, pollModule, rubyModule, videoModule, };
|
|
22
21
|
export declare const allRendererModules: import('./core').RichRendererModule[];
|
|
23
22
|
//# sourceMappingURL=renderer.d.ts.map
|
package/dist/renderer.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../src/renderer.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AACrD,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAC5D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EACL,WAAW,EACX,YAAY,EACZ,WAAW,EACX,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,WAAW,EACX,gBAAgB,EAChB,UAAU,EACV,aAAa,EACb,WAAW,EACX,WAAW,EACX,cAAc,EACd,aAAa,EACb,aAAa,EACb,eAAe,EACf,UAAU,EACV,UAAU,EACV,WAAW,GACZ,CAAC;AAEF,eAAO,MAAM,kBAAkB,uCAoB9B,CAAC"}
|
package/dist/renderer.mjs
CHANGED
|
@@ -4,7 +4,6 @@ import { t as chartModule } from "./module-DjKoXi0Y.js";
|
|
|
4
4
|
import { n as chatModule } from "./module-BdmfHBDV.js";
|
|
5
5
|
import { t as codeBlockModule } from "./module-D1w72FNW.js";
|
|
6
6
|
import { t as codeSnippetModule } from "./module-Bik_qOoy.js";
|
|
7
|
-
import { t as dynamicModule } from "./module-Db26fECJ.js";
|
|
8
7
|
import { t as embedModule } from "./module-DxMbBHiD.js";
|
|
9
8
|
import { t as excalidrawModule } from "./module-BVnJlh0l.js";
|
|
10
9
|
import { t as fileModule } from "./module-BSm4hLH_.js";
|
|
@@ -26,7 +25,6 @@ var allRendererModules = [
|
|
|
26
25
|
chatModule,
|
|
27
26
|
codeBlockModule,
|
|
28
27
|
codeSnippetModule,
|
|
29
|
-
dynamicModule,
|
|
30
28
|
embedModule,
|
|
31
29
|
excalidrawModule,
|
|
32
30
|
fileModule,
|
|
@@ -42,4 +40,4 @@ var allRendererModules = [
|
|
|
42
40
|
videoModule
|
|
43
41
|
];
|
|
44
42
|
//#endregion
|
|
45
|
-
export { alertModule, allRendererModules, bannerModule, chartModule, chatModule, codeBlockModule, codeSnippetModule,
|
|
43
|
+
export { alertModule, allRendererModules, bannerModule, chartModule, chatModule, codeBlockModule, codeSnippetModule, embedModule, excalidrawModule, fileModule, galleryModule, imageModule, katexModule, linkCardModule, mentionModule, mermaidModule, nestedDocModule, pollModule, rubyModule, videoModule };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-compose",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.51.0",
|
|
4
4
|
"description": "Compose primitives for haklex rich content renderers — Gundam-style assembly of Lexical nodes, sync/lazy renderers, and Provider stacks.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -312,33 +312,33 @@
|
|
|
312
312
|
"dist"
|
|
313
313
|
],
|
|
314
314
|
"dependencies": {
|
|
315
|
-
"@haklex/rich-ext-chart": "0.
|
|
316
|
-
"@haklex/rich-ext-chat": "0.
|
|
317
|
-
"@haklex/rich-ext-code-snippet": "0.
|
|
318
|
-
"@haklex/rich-ext-
|
|
319
|
-
"@haklex/rich-ext-
|
|
320
|
-
"@haklex/rich-ext-
|
|
321
|
-
"@haklex/rich-ext-
|
|
322
|
-
"@haklex/rich-ext-
|
|
323
|
-
"@haklex/rich-
|
|
324
|
-
"@haklex/rich-
|
|
325
|
-
"@haklex/rich-
|
|
326
|
-
"@haklex/rich-renderer-
|
|
327
|
-
"@haklex/rich-renderer-
|
|
328
|
-
"@haklex/rich-renderer-
|
|
329
|
-
"@haklex/rich-renderer-
|
|
330
|
-
"@haklex/rich-renderer-
|
|
331
|
-
"@haklex/rich-renderer-
|
|
332
|
-
"@haklex/rich-renderer-
|
|
333
|
-
"@haklex/rich-renderer-
|
|
334
|
-
"@haklex/rich-renderer-
|
|
335
|
-
"@haklex/rich-renderer-
|
|
336
|
-
"@haklex/rich-
|
|
337
|
-
"@haklex/rich-style-token": "0.50.2",
|
|
315
|
+
"@haklex/rich-ext-chart": "0.51.0",
|
|
316
|
+
"@haklex/rich-ext-chat": "0.51.0",
|
|
317
|
+
"@haklex/rich-ext-code-snippet": "0.51.0",
|
|
318
|
+
"@haklex/rich-ext-embed": "0.51.0",
|
|
319
|
+
"@haklex/rich-ext-excalidraw": "0.51.0",
|
|
320
|
+
"@haklex/rich-ext-gallery": "0.51.0",
|
|
321
|
+
"@haklex/rich-ext-nested-doc": "0.51.0",
|
|
322
|
+
"@haklex/rich-ext-poll": "0.51.0",
|
|
323
|
+
"@haklex/rich-litexml": "0.51.0",
|
|
324
|
+
"@haklex/rich-plugin-slash-menu": "0.51.0",
|
|
325
|
+
"@haklex/rich-renderer-alert": "0.51.0",
|
|
326
|
+
"@haklex/rich-renderer-banner": "0.51.0",
|
|
327
|
+
"@haklex/rich-renderer-codeblock": "0.51.0",
|
|
328
|
+
"@haklex/rich-renderer-file": "0.51.0",
|
|
329
|
+
"@haklex/rich-renderer-image": "0.51.0",
|
|
330
|
+
"@haklex/rich-renderer-katex": "0.51.0",
|
|
331
|
+
"@haklex/rich-renderer-linkcard": "0.51.0",
|
|
332
|
+
"@haklex/rich-renderer-mention": "0.51.0",
|
|
333
|
+
"@haklex/rich-renderer-mermaid": "0.51.0",
|
|
334
|
+
"@haklex/rich-renderer-ruby": "0.51.0",
|
|
335
|
+
"@haklex/rich-renderer-video": "0.51.0",
|
|
336
|
+
"@haklex/rich-style-token": "0.51.0",
|
|
338
337
|
"@lexical/headless": "^0.52.0"
|
|
339
338
|
},
|
|
340
339
|
"devDependencies": {
|
|
341
|
-
"@haklex/rich-editor": "0.
|
|
340
|
+
"@haklex/rich-editor": "0.51.0",
|
|
341
|
+
"@haklex/rich-ext-dynamic": "0.51.0",
|
|
342
342
|
"@lexical/react": "^0.52.0",
|
|
343
343
|
"@types/react": "^19.3.0",
|
|
344
344
|
"@types/react-dom": "^19.3.0",
|
|
@@ -354,13 +354,19 @@
|
|
|
354
354
|
"vitest": "^5.0.5"
|
|
355
355
|
},
|
|
356
356
|
"peerDependencies": {
|
|
357
|
-
"@haklex/rich-editor": "^0.
|
|
357
|
+
"@haklex/rich-editor": "^0.51.0",
|
|
358
|
+
"@haklex/rich-ext-dynamic": "^0.51.0",
|
|
358
359
|
"@lexical/react": "^0.52.0",
|
|
359
360
|
"lexical": "^0.52.0",
|
|
360
361
|
"lucide-react": "^1.0.0",
|
|
361
362
|
"react": ">=19",
|
|
362
363
|
"react-dom": ">=19"
|
|
363
364
|
},
|
|
365
|
+
"peerDependenciesMeta": {
|
|
366
|
+
"@haklex/rich-ext-dynamic": {
|
|
367
|
+
"optional": true
|
|
368
|
+
}
|
|
369
|
+
},
|
|
364
370
|
"publishConfig": {
|
|
365
371
|
"access": "public"
|
|
366
372
|
},
|