@haklex/rich-compose 0.8.0 → 0.9.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.
Files changed (88) hide show
  1. package/README.md +30 -1
  2. package/dist/modules/alert/edit.d.ts.map +1 -1
  3. package/dist/modules/alert/edit.mjs +0 -1
  4. package/dist/modules/alert/index.d.ts.map +1 -1
  5. package/dist/modules/alert/index.mjs +0 -1
  6. package/dist/modules/banner/edit.d.ts.map +1 -1
  7. package/dist/modules/banner/edit.mjs +0 -1
  8. package/dist/modules/banner/index.d.ts.map +1 -1
  9. package/dist/modules/banner/index.mjs +0 -1
  10. package/dist/modules/chat/edit.d.ts.map +1 -1
  11. package/dist/modules/chat/edit.mjs +0 -1
  12. package/dist/modules/chat/index.d.ts.map +1 -1
  13. package/dist/modules/chat/index.mjs +0 -1
  14. package/dist/modules/code-block/edit.d.ts.map +1 -1
  15. package/dist/modules/code-block/edit.mjs +0 -1
  16. package/dist/modules/code-block/index.d.ts.map +1 -1
  17. package/dist/modules/code-block/index.mjs +0 -1
  18. package/dist/modules/code-snippet/edit.d.ts.map +1 -1
  19. package/dist/modules/code-snippet/edit.mjs +0 -1
  20. package/dist/modules/code-snippet/index.d.ts.map +1 -1
  21. package/dist/modules/code-snippet/index.mjs +0 -1
  22. package/dist/modules/embed/edit.d.ts.map +1 -1
  23. package/dist/modules/embed/edit.mjs +0 -1
  24. package/dist/modules/embed/index.d.ts.map +1 -1
  25. package/dist/modules/embed/index.mjs +0 -1
  26. package/dist/modules/excalidraw/edit.d.ts.map +1 -1
  27. package/dist/modules/excalidraw/edit.mjs +0 -1
  28. package/dist/modules/excalidraw/index.d.ts.map +1 -1
  29. package/dist/modules/excalidraw/index.mjs +0 -1
  30. package/dist/modules/gallery/edit.d.ts.map +1 -1
  31. package/dist/modules/gallery/edit.mjs +0 -1
  32. package/dist/modules/gallery/index.d.ts.map +1 -1
  33. package/dist/modules/gallery/index.mjs +0 -1
  34. package/dist/modules/image/edit.d.ts.map +1 -1
  35. package/dist/modules/image/edit.mjs +0 -1
  36. package/dist/modules/image/index.d.ts.map +1 -1
  37. package/dist/modules/image/index.mjs +0 -1
  38. package/dist/modules/katex/edit.d.ts.map +1 -1
  39. package/dist/modules/katex/edit.mjs +0 -1
  40. package/dist/modules/link-card/edit.d.ts.map +1 -1
  41. package/dist/modules/link-card/edit.mjs +0 -1
  42. package/dist/modules/link-card/index.d.ts.map +1 -1
  43. package/dist/modules/link-card/index.mjs +0 -1
  44. package/dist/modules/mention/edit.d.ts.map +1 -1
  45. package/dist/modules/mention/edit.mjs +0 -1
  46. package/dist/modules/mention/index.d.ts.map +1 -1
  47. package/dist/modules/mention/index.mjs +0 -1
  48. package/dist/modules/mermaid/edit.d.ts.map +1 -1
  49. package/dist/modules/mermaid/edit.mjs +0 -1
  50. package/dist/modules/mermaid/index.d.ts.map +1 -1
  51. package/dist/modules/mermaid/index.mjs +0 -1
  52. package/dist/modules/nested-doc/edit.d.ts.map +1 -1
  53. package/dist/modules/nested-doc/edit.mjs +0 -1
  54. package/dist/modules/nested-doc/index.d.ts.map +1 -1
  55. package/dist/modules/nested-doc/index.mjs +0 -1
  56. package/dist/modules/poll/edit.d.ts.map +1 -1
  57. package/dist/modules/poll/edit.mjs +0 -1
  58. package/dist/modules/poll/index.d.ts.map +1 -1
  59. package/dist/modules/poll/index.mjs +0 -1
  60. package/dist/modules/ruby/edit.d.ts.map +1 -1
  61. package/dist/modules/ruby/edit.mjs +0 -1
  62. package/dist/modules/ruby/index.d.ts.map +1 -1
  63. package/dist/modules/ruby/index.mjs +0 -1
  64. package/dist/modules/video/edit.d.ts.map +1 -1
  65. package/dist/modules/video/edit.mjs +0 -1
  66. package/dist/modules/video/index.d.ts.map +1 -1
  67. package/dist/modules/video/index.mjs +0 -1
  68. package/dist/style/alert.css +2 -0
  69. package/dist/style/banner.css +2 -0
  70. package/dist/style/chat.css +2 -0
  71. package/dist/style/code-block.css +2 -0
  72. package/dist/style/code-snippet.css +2 -0
  73. package/dist/style/embed.css +2 -0
  74. package/dist/style/excalidraw.css +2 -0
  75. package/dist/style/foundation.css +9 -0
  76. package/dist/style/gallery.css +2 -0
  77. package/dist/style/image.css +2 -0
  78. package/dist/style/katex.css +2 -0
  79. package/dist/style/link-card.css +2 -0
  80. package/dist/style/mention.css +2 -0
  81. package/dist/style/mermaid.css +2 -0
  82. package/dist/style/nested-doc.css +2 -0
  83. package/dist/style/poll.css +2 -0
  84. package/dist/{rich-compose.css → style/ruby.css} +1 -1
  85. package/dist/style/table.css +11 -0
  86. package/dist/style/video.css +2 -0
  87. package/dist/style.css +92 -0
  88. package/package.json +24 -23
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haklex/rich-compose",
3
- "version": "0.8.0",
3
+ "version": "0.9.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",
@@ -245,7 +245,8 @@
245
245
  "import": "./dist/style-token/styles.mjs",
246
246
  "types": "./dist/style-token/styles.d.ts"
247
247
  },
248
- "./style.css": "./dist/rich-compose.css"
248
+ "./style.css": "./dist/style.css",
249
+ "./style/*": "./dist/style/*"
249
250
  },
250
251
  "main": "./dist/index.mjs",
251
252
  "files": [
@@ -253,24 +254,24 @@
253
254
  ],
254
255
  "dependencies": {
255
256
  "@lexical/headless": "^0.44.0",
256
- "@haklex/rich-ext-embed": "0.8.0",
257
- "@haklex/rich-ext-chat": "0.8.0",
258
- "@haklex/rich-ext-gallery": "0.8.0",
259
- "@haklex/rich-ext-code-snippet": "0.8.0",
260
- "@haklex/rich-ext-excalidraw": "0.8.0",
261
- "@haklex/rich-renderer-alert": "0.8.0",
262
- "@haklex/rich-ext-poll": "0.8.0",
263
- "@haklex/rich-renderer-banner": "0.8.0",
264
- "@haklex/rich-ext-nested-doc": "0.8.0",
265
- "@haklex/rich-renderer-codeblock": "0.8.0",
266
- "@haklex/rich-renderer-image": "0.8.0",
267
- "@haklex/rich-renderer-katex": "0.8.0",
268
- "@haklex/rich-renderer-linkcard": "0.8.0",
269
- "@haklex/rich-renderer-mention": "0.8.0",
270
- "@haklex/rich-renderer-mermaid": "0.8.0",
271
- "@haklex/rich-renderer-video": "0.8.0",
272
- "@haklex/rich-renderer-ruby": "0.8.0",
273
- "@haklex/rich-style-token": "0.8.0"
257
+ "@haklex/rich-ext-chat": "0.9.0",
258
+ "@haklex/rich-ext-code-snippet": "0.9.0",
259
+ "@haklex/rich-ext-embed": "0.9.0",
260
+ "@haklex/rich-ext-excalidraw": "0.9.0",
261
+ "@haklex/rich-ext-gallery": "0.9.0",
262
+ "@haklex/rich-ext-nested-doc": "0.9.0",
263
+ "@haklex/rich-renderer-image": "0.9.0",
264
+ "@haklex/rich-ext-poll": "0.9.0",
265
+ "@haklex/rich-renderer-alert": "0.9.0",
266
+ "@haklex/rich-renderer-banner": "0.9.0",
267
+ "@haklex/rich-renderer-katex": "0.9.0",
268
+ "@haklex/rich-renderer-codeblock": "0.9.0",
269
+ "@haklex/rich-renderer-linkcard": "0.9.0",
270
+ "@haklex/rich-renderer-mention": "0.9.0",
271
+ "@haklex/rich-renderer-ruby": "0.9.0",
272
+ "@haklex/rich-renderer-mermaid": "0.9.0",
273
+ "@haklex/rich-renderer-video": "0.9.0",
274
+ "@haklex/rich-style-token": "0.9.0"
274
275
  },
275
276
  "devDependencies": {
276
277
  "@lexical/react": "^0.44.0",
@@ -286,7 +287,7 @@
286
287
  "vite": "^8.0.10",
287
288
  "vite-plugin-dts": "^4.5.4",
288
289
  "vitest": "^4.1.5",
289
- "@haklex/rich-editor": "0.8.0"
290
+ "@haklex/rich-editor": "0.9.0"
290
291
  },
291
292
  "peerDependencies": {
292
293
  "@lexical/react": "^0.44.0",
@@ -294,13 +295,13 @@
294
295
  "lucide-react": "^1.0.0",
295
296
  "react": ">=19",
296
297
  "react-dom": ">=19",
297
- "@haklex/rich-editor": "0.8.0"
298
+ "@haklex/rich-editor": "0.9.0"
298
299
  },
299
300
  "publishConfig": {
300
301
  "access": "public"
301
302
  },
302
303
  "scripts": {
303
- "build": "vite build",
304
+ "build": "vite build && tsx scripts/build-css.ts",
304
305
  "dev:build": "vite build --watch",
305
306
  "test": "vitest run"
306
307
  },