@haklex/rich-compose 0.44.1 → 0.46.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/litexml-html-preview-client.js +11649 -9942
- package/dist/module-B2RXliuk.js +8 -0
- package/dist/modules/katex/edit.d.ts.map +1 -1
- package/dist/modules/katex/edit.mjs +2 -1
- package/dist/modules/katex/index.d.ts +3 -0
- package/dist/modules/katex/index.d.ts.map +1 -0
- package/dist/modules/katex/index.mjs +3 -0
- package/dist/modules/katex/module.d.ts +3 -0
- package/dist/modules/katex/module.d.ts.map +1 -0
- package/dist/modules/katex/renderer.d.ts +3 -0
- package/dist/modules/katex/renderer.d.ts.map +1 -0
- package/dist/modules/katex/renderer.mjs +2 -0
- package/dist/renderer.d.ts +2 -1
- package/dist/renderer.d.ts.map +1 -1
- package/dist/renderer.mjs +3 -1
- package/package.json +38 -30
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../../src/modules/katex/edit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;
|
|
1
|
+
{"version":3,"file":"edit.d.ts","sourceRoot":"","sources":["../../../src/modules/katex/edit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAGzD,eAAO,MAAM,eAAe,EAAE,gBAG7B,CAAC"}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { t as katexModule } from "../../module-B2RXliuk.js";
|
|
1
2
|
import { katexEditNodes } from "@haklex/rich-renderer-katex";
|
|
2
3
|
//#region src/modules/katex/edit.ts
|
|
3
4
|
var katexEditModule = {
|
|
4
|
-
|
|
5
|
+
...katexModule,
|
|
5
6
|
editNodes: katexEditNodes
|
|
6
7
|
};
|
|
7
8
|
//#endregion
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/modules/katex/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AACvC,OAAO,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"module.d.ts","sourceRoot":"","sources":["../../../src/modules/katex/module.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D,eAAO,MAAM,WAAW,EAAE,kBAGzB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"renderer.d.ts","sourceRoot":"","sources":["../../../src/modules/katex/renderer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAE9D,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
package/dist/renderer.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ import { excalidrawModule } from './modules/excalidraw/module';
|
|
|
9
9
|
import { fileModule } from './modules/file/module';
|
|
10
10
|
import { galleryModule } from './modules/gallery/module';
|
|
11
11
|
import { imageModule } from './modules/image/module';
|
|
12
|
+
import { katexModule } from './modules/katex/module';
|
|
12
13
|
import { linkCardModule } from './modules/link-card/module';
|
|
13
14
|
import { mentionModule } from './modules/mention/module';
|
|
14
15
|
import { mermaidModule } from './modules/mermaid/module';
|
|
@@ -16,6 +17,6 @@ import { nestedDocModule } from './modules/nested-doc/module';
|
|
|
16
17
|
import { pollModule } from './modules/poll/module';
|
|
17
18
|
import { rubyModule } from './modules/ruby/module';
|
|
18
19
|
import { videoModule } from './modules/video/module';
|
|
19
|
-
export { alertModule, bannerModule, chatModule, codeBlockModule, codeSnippetModule, dynamicModule, embedModule, excalidrawModule, fileModule, galleryModule, imageModule, linkCardModule, mentionModule, mermaidModule, nestedDocModule, pollModule, rubyModule, videoModule, };
|
|
20
|
+
export { alertModule, bannerModule, chatModule, codeBlockModule, codeSnippetModule, dynamicModule, embedModule, excalidrawModule, fileModule, galleryModule, imageModule, katexModule, linkCardModule, mentionModule, mermaidModule, nestedDocModule, pollModule, rubyModule, videoModule, };
|
|
20
21
|
export declare const allRendererModules: import('./core').RichRendererModule[];
|
|
21
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,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,aAAa,EAAE,MAAM,0BAA0B,CAAC;AACzD,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,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,WAA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nD,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,OAAO,EACL,WAAW,EACX,YAAY,EACZ,UAAU,EACV,eAAe,EACf,iBAAiB,EACjB,aAAa,EACb,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
|
@@ -9,6 +9,7 @@ import { t as excalidrawModule } from "./module-BVnJlh0l.js";
|
|
|
9
9
|
import { t as fileModule } from "./module-BSm4hLH_.js";
|
|
10
10
|
import { t as galleryModule } from "./module-DpXDKeCg.js";
|
|
11
11
|
import { t as imageModule } from "./module-7aXXh4ho.js";
|
|
12
|
+
import { t as katexModule } from "./module-B2RXliuk.js";
|
|
12
13
|
import { t as linkCardModule } from "./module-C3Li1aCW.js";
|
|
13
14
|
import { t as mentionModule } from "./module-B0p3y6_-.js";
|
|
14
15
|
import { t as mermaidModule } from "./module-CvVXsc8m.js";
|
|
@@ -29,6 +30,7 @@ var allRendererModules = [
|
|
|
29
30
|
fileModule,
|
|
30
31
|
galleryModule,
|
|
31
32
|
imageModule,
|
|
33
|
+
katexModule,
|
|
32
34
|
linkCardModule,
|
|
33
35
|
mentionModule,
|
|
34
36
|
mermaidModule,
|
|
@@ -38,4 +40,4 @@ var allRendererModules = [
|
|
|
38
40
|
videoModule
|
|
39
41
|
];
|
|
40
42
|
//#endregion
|
|
41
|
-
export { alertModule, allRendererModules, bannerModule, chatModule, codeBlockModule, codeSnippetModule, dynamicModule, embedModule, excalidrawModule, fileModule, galleryModule, imageModule, linkCardModule, mentionModule, mermaidModule, nestedDocModule, pollModule, rubyModule, videoModule };
|
|
43
|
+
export { alertModule, allRendererModules, bannerModule, chatModule, codeBlockModule, codeSnippetModule, dynamicModule, 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.46.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",
|
|
@@ -233,6 +233,14 @@
|
|
|
233
233
|
"import": "./dist/modules/image/edit.mjs",
|
|
234
234
|
"types": "./dist/modules/image/edit.d.ts"
|
|
235
235
|
},
|
|
236
|
+
"./modules/katex": {
|
|
237
|
+
"import": "./dist/modules/katex/index.mjs",
|
|
238
|
+
"types": "./dist/modules/katex/index.d.ts"
|
|
239
|
+
},
|
|
240
|
+
"./modules/katex/renderer": {
|
|
241
|
+
"import": "./dist/modules/katex/renderer.mjs",
|
|
242
|
+
"types": "./dist/modules/katex/renderer.d.ts"
|
|
243
|
+
},
|
|
236
244
|
"./modules/katex/edit": {
|
|
237
245
|
"import": "./dist/modules/katex/edit.mjs",
|
|
238
246
|
"types": "./dist/modules/katex/edit.d.ts"
|
|
@@ -292,37 +300,37 @@
|
|
|
292
300
|
"dist"
|
|
293
301
|
],
|
|
294
302
|
"dependencies": {
|
|
295
|
-
"@lexical/headless": "^0.
|
|
296
|
-
"@haklex/rich-ext-
|
|
297
|
-
"@haklex/rich-ext-
|
|
298
|
-
"@haklex/rich-ext-
|
|
299
|
-
"@haklex/rich-ext-
|
|
300
|
-
"@haklex/rich-ext-
|
|
301
|
-
"@haklex/rich-ext-
|
|
302
|
-
"@haklex/rich-
|
|
303
|
-
"@haklex/rich-
|
|
304
|
-
"@haklex/rich-
|
|
305
|
-
"@haklex/rich-
|
|
306
|
-
"@haklex/rich-renderer-
|
|
307
|
-
"@haklex/rich-renderer-
|
|
308
|
-
"@haklex/rich-renderer-
|
|
309
|
-
"@haklex/rich-renderer-
|
|
310
|
-
"@haklex/rich-renderer-
|
|
311
|
-
"@haklex/rich-
|
|
312
|
-
"@haklex/rich-
|
|
313
|
-
"@haklex/rich-
|
|
314
|
-
"@haklex/rich-renderer-
|
|
315
|
-
"@haklex/rich-renderer-
|
|
316
|
-
"@haklex/rich-
|
|
317
|
-
"@haklex/rich-
|
|
303
|
+
"@lexical/headless": "^0.52.0",
|
|
304
|
+
"@haklex/rich-ext-chat": "0.46.0",
|
|
305
|
+
"@haklex/rich-ext-dynamic": "0.46.0",
|
|
306
|
+
"@haklex/rich-ext-excalidraw": "0.46.0",
|
|
307
|
+
"@haklex/rich-ext-embed": "0.46.0",
|
|
308
|
+
"@haklex/rich-ext-poll": "0.46.0",
|
|
309
|
+
"@haklex/rich-ext-nested-doc": "0.46.0",
|
|
310
|
+
"@haklex/rich-renderer-codeblock": "0.46.0",
|
|
311
|
+
"@haklex/rich-renderer-banner": "0.46.0",
|
|
312
|
+
"@haklex/rich-renderer-file": "0.46.0",
|
|
313
|
+
"@haklex/rich-renderer-image": "0.46.0",
|
|
314
|
+
"@haklex/rich-renderer-katex": "0.46.0",
|
|
315
|
+
"@haklex/rich-renderer-linkcard": "0.46.0",
|
|
316
|
+
"@haklex/rich-renderer-mermaid": "0.46.0",
|
|
317
|
+
"@haklex/rich-renderer-ruby": "0.46.0",
|
|
318
|
+
"@haklex/rich-renderer-video": "0.46.0",
|
|
319
|
+
"@haklex/rich-plugin-slash-menu": "0.46.0",
|
|
320
|
+
"@haklex/rich-style-token": "0.46.0",
|
|
321
|
+
"@haklex/rich-ext-code-snippet": "0.46.0",
|
|
322
|
+
"@haklex/rich-renderer-alert": "0.46.0",
|
|
323
|
+
"@haklex/rich-renderer-mention": "0.46.0",
|
|
324
|
+
"@haklex/rich-litexml": "0.46.0",
|
|
325
|
+
"@haklex/rich-ext-gallery": "0.46.0"
|
|
318
326
|
},
|
|
319
327
|
"devDependencies": {
|
|
320
|
-
"@lexical/react": "^0.
|
|
328
|
+
"@lexical/react": "^0.52.0",
|
|
321
329
|
"@types/react": "^19.2.18",
|
|
322
330
|
"@types/react-dom": "^19.2.4",
|
|
323
331
|
"@vanilla-extract/css": "^1.21.2",
|
|
324
332
|
"@vanilla-extract/vite-plugin": "^5.2.6",
|
|
325
|
-
"lexical": "^0.
|
|
333
|
+
"lexical": "^0.52.0",
|
|
326
334
|
"lucide-react": "^1.33.0",
|
|
327
335
|
"react": "^19.2.8",
|
|
328
336
|
"react-dom": "^19.2.8",
|
|
@@ -330,15 +338,15 @@
|
|
|
330
338
|
"unplugin-dts": "^1.0.3",
|
|
331
339
|
"vite": "^8.2.2",
|
|
332
340
|
"vitest": "^4.1.11",
|
|
333
|
-
"@haklex/rich-editor": "0.
|
|
341
|
+
"@haklex/rich-editor": "0.46.0"
|
|
334
342
|
},
|
|
335
343
|
"peerDependencies": {
|
|
336
|
-
"@lexical/react": "^0.
|
|
337
|
-
"lexical": "^0.
|
|
344
|
+
"@lexical/react": "^0.52.0",
|
|
345
|
+
"lexical": "^0.52.0",
|
|
338
346
|
"lucide-react": "^1.0.0",
|
|
339
347
|
"react": ">=19",
|
|
340
348
|
"react-dom": ">=19",
|
|
341
|
-
"@haklex/rich-editor": "^0.
|
|
349
|
+
"@haklex/rich-editor": "^0.46.0"
|
|
342
350
|
},
|
|
343
351
|
"publishConfig": {
|
|
344
352
|
"access": "public"
|