@haklex/rich-compose 0.29.2 → 0.30.1

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.
@@ -71204,6 +71204,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
71204
71204
  //#endregion
71205
71205
  //#region ../rich-ext-dynamic/src/DynamicHostRenderer.tsx
71206
71206
  init_static_entry();
71207
+ var importRemoteModule = new Function("url", "return import(url)");
71207
71208
  function parseProps(json) {
71208
71209
  try {
71209
71210
  const value = JSON.parse(json);
@@ -71246,10 +71247,7 @@ Please report this to https://github.com/markedjs/marked.`, e) {
71246
71247
  const container = document.createElement("div");
71247
71248
  container.style.minHeight = `${initialHeight}px`;
71248
71249
  shadow.append(container);
71249
- import(
71250
- /* @vite-ignore */
71251
- url
71252
- ).then((mod) => {
71250
+ importRemoteModule(url).then((mod) => {
71253
71251
  if (cancelled) return;
71254
71252
  const component = mod?.default;
71255
71253
  if (!isDynamicComponentModule(component)) throw new Error("module default export does not implement the dynamic mount protocol");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-compose",
3
- "version": "0.29.2",
3
+ "version": "0.30.1",
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",
@@ -273,26 +273,26 @@
273
273
  ],
274
274
  "dependencies": {
275
275
  "@lexical/headless": "^0.46.0",
276
- "@haklex/rich-ext-chat": "0.29.0",
277
- "@haklex/rich-ext-code-snippet": "0.29.0",
278
- "@haklex/rich-ext-dynamic": "0.29.0",
279
- "@haklex/rich-ext-embed": "0.29.0",
280
- "@haklex/rich-litexml": "0.29.0",
281
- "@haklex/rich-ext-excalidraw": "0.29.0",
282
- "@haklex/rich-ext-nested-doc": "0.29.0",
283
- "@haklex/rich-ext-poll": "0.29.0",
284
- "@haklex/rich-renderer-alert": "0.29.0",
285
- "@haklex/rich-ext-gallery": "0.29.0",
286
- "@haklex/rich-renderer-codeblock": "0.29.0",
287
- "@haklex/rich-renderer-linkcard": "0.29.0",
288
- "@haklex/rich-renderer-mention": "0.29.0",
289
- "@haklex/rich-renderer-katex": "0.29.0",
290
- "@haklex/rich-renderer-banner": "0.29.0",
291
- "@haklex/rich-renderer-mermaid": "0.29.0",
292
- "@haklex/rich-renderer-ruby": "0.29.0",
293
- "@haklex/rich-renderer-image": "0.29.0",
294
- "@haklex/rich-renderer-video": "0.29.0",
295
- "@haklex/rich-style-token": "0.29.0"
276
+ "@haklex/rich-ext-chat": "0.30.0",
277
+ "@haklex/rich-ext-excalidraw": "0.30.0",
278
+ "@haklex/rich-ext-code-snippet": "0.30.0",
279
+ "@haklex/rich-ext-gallery": "0.30.0",
280
+ "@haklex/rich-ext-embed": "0.30.0",
281
+ "@haklex/rich-ext-dynamic": "0.30.0",
282
+ "@haklex/rich-ext-poll": "0.30.0",
283
+ "@haklex/rich-renderer-alert": "0.30.0",
284
+ "@haklex/rich-ext-nested-doc": "0.30.0",
285
+ "@haklex/rich-renderer-banner": "0.30.0",
286
+ "@haklex/rich-litexml": "0.30.0",
287
+ "@haklex/rich-renderer-codeblock": "0.30.0",
288
+ "@haklex/rich-renderer-mention": "0.30.0",
289
+ "@haklex/rich-renderer-linkcard": "0.30.0",
290
+ "@haklex/rich-renderer-mermaid": "0.30.1",
291
+ "@haklex/rich-renderer-image": "0.30.0",
292
+ "@haklex/rich-renderer-ruby": "0.30.0",
293
+ "@haklex/rich-renderer-katex": "0.30.0",
294
+ "@haklex/rich-renderer-video": "0.30.0",
295
+ "@haklex/rich-style-token": "0.30.0"
296
296
  },
297
297
  "devDependencies": {
298
298
  "@lexical/react": "^0.46.0",
@@ -308,7 +308,7 @@
308
308
  "unplugin-dts": "^1.0.3",
309
309
  "vite": "^8.1.0",
310
310
  "vitest": "^4.1.9",
311
- "@haklex/rich-editor": "0.29.0"
311
+ "@haklex/rich-editor": "0.30.0"
312
312
  },
313
313
  "peerDependencies": {
314
314
  "@lexical/react": "^0.46.0",
@@ -316,7 +316,7 @@
316
316
  "lucide-react": "^1.0.0",
317
317
  "react": ">=19",
318
318
  "react-dom": ">=19",
319
- "@haklex/rich-editor": "^0.29.0"
319
+ "@haklex/rich-editor": "^0.30.0"
320
320
  },
321
321
  "publishConfig": {
322
322
  "access": "public"