@haklex/rich-compose 0.46.2 → 0.46.3

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.
@@ -67,7 +67,7 @@ function renderBuiltinNode(node, key, children, headingSlugs, textContent) {
67
67
  return /* @__PURE__ */ jsx("p", {
68
68
  className: shared$1("paragraph"),
69
69
  style: align,
70
- children
70
+ children: children ?? /* @__PURE__ */ jsx("br", {})
71
71
  }, key);
72
72
  }
73
73
  case "heading": {
package/dist/core.mjs CHANGED
@@ -1,2 +1,2 @@
1
- import { a as RichRenderer, i as mergeModules, n as wrapLazy, r as dedupNodes, t as composeRenderer } from "./compose-7SEahaEz.js";
1
+ import { a as RichRenderer, i as mergeModules, n as wrapLazy, r as dedupNodes, t as composeRenderer } from "./compose-DzGdPIfs.js";
2
2
  export { RichRenderer, composeRenderer, dedupNodes, mergeModules, wrapLazy };
package/dist/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as RichRenderer, i as mergeModules, n as wrapLazy, r as dedupNodes, t as composeRenderer } from "./compose-7SEahaEz.js";
1
+ import { a as RichRenderer, i as mergeModules, n as wrapLazy, r as dedupNodes, t as composeRenderer } from "./compose-DzGdPIfs.js";
2
2
  import { t as defineConfigurableModule } from "./configurable-module-Bur4JaI3.js";
3
3
  import { Fragment, memo, useCallback, useMemo } from "react";
4
4
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
@@ -33919,7 +33919,7 @@
33919
33919
  return /* @__PURE__ */ (0, import_jsx_runtime$220.jsx)("p", {
33920
33920
  className: shared$2("paragraph"),
33921
33921
  style: align,
33922
- children
33922
+ children: children ?? /* @__PURE__ */ (0, import_jsx_runtime$220.jsx)("br", {})
33923
33923
  }, key);
33924
33924
  }
33925
33925
  case "heading": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-compose",
3
- "version": "0.46.2",
3
+ "version": "0.46.3",
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",
@@ -301,28 +301,28 @@
301
301
  ],
302
302
  "dependencies": {
303
303
  "@lexical/headless": "^0.52.0",
304
- "@haklex/rich-ext-chat": "0.46.2",
305
- "@haklex/rich-ext-embed": "0.46.2",
306
- "@haklex/rich-ext-excalidraw": "0.46.2",
307
- "@haklex/rich-ext-code-snippet": "0.46.2",
308
- "@haklex/rich-ext-gallery": "0.46.2",
309
- "@haklex/rich-ext-dynamic": "0.46.2",
310
- "@haklex/rich-ext-nested-doc": "0.46.2",
311
- "@haklex/rich-plugin-slash-menu": "0.46.2",
312
- "@haklex/rich-ext-poll": "0.46.2",
313
- "@haklex/rich-renderer-alert": "0.46.2",
314
- "@haklex/rich-litexml": "0.46.2",
315
- "@haklex/rich-renderer-codeblock": "0.46.2",
316
- "@haklex/rich-renderer-banner": "0.46.2",
317
- "@haklex/rich-renderer-file": "0.46.2",
318
- "@haklex/rich-renderer-image": "0.46.2",
319
- "@haklex/rich-renderer-katex": "0.46.2",
320
- "@haklex/rich-renderer-linkcard": "0.46.2",
321
- "@haklex/rich-renderer-mention": "0.46.2",
322
- "@haklex/rich-renderer-video": "0.46.2",
323
- "@haklex/rich-renderer-mermaid": "0.46.2",
324
- "@haklex/rich-style-token": "0.46.2",
325
- "@haklex/rich-renderer-ruby": "0.46.2"
304
+ "@haklex/rich-ext-chat": "0.46.3",
305
+ "@haklex/rich-ext-excalidraw": "0.46.3",
306
+ "@haklex/rich-ext-code-snippet": "0.46.3",
307
+ "@haklex/rich-ext-dynamic": "0.46.3",
308
+ "@haklex/rich-ext-embed": "0.46.3",
309
+ "@haklex/rich-ext-gallery": "0.46.3",
310
+ "@haklex/rich-ext-nested-doc": "0.46.3",
311
+ "@haklex/rich-ext-poll": "0.46.3",
312
+ "@haklex/rich-litexml": "0.46.3",
313
+ "@haklex/rich-plugin-slash-menu": "0.46.3",
314
+ "@haklex/rich-renderer-alert": "0.46.3",
315
+ "@haklex/rich-renderer-banner": "0.46.3",
316
+ "@haklex/rich-renderer-codeblock": "0.46.3",
317
+ "@haklex/rich-renderer-file": "0.46.3",
318
+ "@haklex/rich-renderer-image": "0.46.3",
319
+ "@haklex/rich-renderer-katex": "0.46.3",
320
+ "@haklex/rich-renderer-linkcard": "0.46.3",
321
+ "@haklex/rich-renderer-mermaid": "0.46.3",
322
+ "@haklex/rich-renderer-mention": "0.46.3",
323
+ "@haklex/rich-renderer-ruby": "0.46.3",
324
+ "@haklex/rich-renderer-video": "0.46.3",
325
+ "@haklex/rich-style-token": "0.46.3"
326
326
  },
327
327
  "devDependencies": {
328
328
  "@lexical/react": "^0.52.0",
@@ -338,7 +338,7 @@
338
338
  "unplugin-dts": "^1.0.3",
339
339
  "vite": "^8.2.2",
340
340
  "vitest": "^4.1.11",
341
- "@haklex/rich-editor": "0.46.2"
341
+ "@haklex/rich-editor": "0.46.3"
342
342
  },
343
343
  "peerDependencies": {
344
344
  "@lexical/react": "^0.52.0",
@@ -346,7 +346,7 @@
346
346
  "lucide-react": "^1.0.0",
347
347
  "react": ">=19",
348
348
  "react-dom": ">=19",
349
- "@haklex/rich-editor": "^0.46.2"
349
+ "@haklex/rich-editor": "^0.46.3"
350
350
  },
351
351
  "publishConfig": {
352
352
  "access": "public"