@haklex/rich-ext-chat 0.51.1 → 0.52.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { streamdownCodePlugin } from "@haklex/rich-editor-ui";
|
|
1
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { code } from "@streamdown/code";
|
|
3
3
|
import { Streamdown } from "streamdown";
|
|
4
4
|
//#region src/styles.css.ts
|
|
5
5
|
var container = "_7z1aq60";
|
|
@@ -66,7 +66,7 @@ var buttonPrimary = "_7z1aq61c";
|
|
|
66
66
|
var buttonGhost = "_7z1aq61d";
|
|
67
67
|
//#endregion
|
|
68
68
|
//#region src/ChatRenderer.tsx
|
|
69
|
-
var streamdownPlugins = { code };
|
|
69
|
+
var streamdownPlugins = { code: streamdownCodePlugin };
|
|
70
70
|
var UNKNOWN = {
|
|
71
71
|
id: "__unknown__",
|
|
72
72
|
kind: "user",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as variantPill, C as participantLabel, D as rail, E as participantRow, M as variantPillHint, N as variantPillName, O as sectionLabel, P as variantStack, S as participantInput, T as participantPillUser, _ as modalBody, a as buttonGhost, b as pane, c as editLabel, d as messageActions, f as messageCard, g as modal, h as messageTextarea, i as button, j as variantPillActive, k as semanticClassNames, l as editOverlay, m as messageSelect, n as addMessage, o as buttonPrimary, p as messageHead, r as addMessageButton, s as editContainer, t as ChatRenderer, u as editorDialogPopup, v as modalFooter, w as participantPill, x as participantCard, y as modalHeader } from "./ChatRenderer-
|
|
1
|
+
import { A as variantPill, C as participantLabel, D as rail, E as participantRow, M as variantPillHint, N as variantPillName, O as sectionLabel, P as variantStack, S as participantInput, T as participantPillUser, _ as modalBody, a as buttonGhost, b as pane, c as editLabel, d as messageActions, f as messageCard, g as modal, h as messageTextarea, i as button, j as variantPillActive, k as semanticClassNames, l as editOverlay, m as messageSelect, n as addMessage, o as buttonPrimary, p as messageHead, r as addMessageButton, s as editContainer, t as ChatRenderer, u as editorDialogPopup, v as modalFooter, w as participantPill, x as participantCard, y as modalHeader } from "./ChatRenderer-DhF8PrWR.js";
|
|
2
2
|
import { i as _defineProperty, n as $isChatNode, o as createMessageId, r as ChatNode } from "./ChatNode-BfiW4nZ3.js";
|
|
3
3
|
import { $getNodeByKey, $insertNodes } from "lexical";
|
|
4
4
|
import { ArrowDown, ArrowUp, MessageSquare, Pencil, Trash2 } from "lucide-react";
|
package/dist/edit.mjs
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { t as __augmentLoaded_chat } from "./augment-jeNYpQAa.js";
|
|
2
|
-
import { a as ChatEditDecorator, i as ChatEditNode, n as $createChatEditNode, o as ChatEditRenderer, r as $isChatEditNode, s as ChatEditorModal, t as chatEditNodes } from "./edit-
|
|
2
|
+
import { a as ChatEditDecorator, i as ChatEditNode, n as $createChatEditNode, o as ChatEditRenderer, r as $isChatEditNode, s as ChatEditorModal, t as chatEditNodes } from "./edit-CNNgcM_N.js";
|
|
3
3
|
export { $createChatEditNode, $isChatEditNode, ChatEditDecorator, ChatEditNode, ChatEditRenderer, ChatEditorModal, __augmentLoaded_chat, chatEditNodes };
|
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __augmentLoaded_chat } from "./augment-jeNYpQAa.js";
|
|
2
|
-
import { t as ChatRenderer } from "./ChatRenderer-
|
|
2
|
+
import { t as ChatRenderer } from "./ChatRenderer-DhF8PrWR.js";
|
|
3
3
|
import { a as CHAT_NODE_KEY, n as $isChatNode, r as ChatNode, t as $createChatNode } from "./ChatNode-BfiW4nZ3.js";
|
|
4
|
-
import { a as ChatEditDecorator, i as ChatEditNode, n as $createChatEditNode, o as ChatEditRenderer, r as $isChatEditNode, s as ChatEditorModal, t as chatEditNodes } from "./edit-
|
|
4
|
+
import { a as ChatEditDecorator, i as ChatEditNode, n as $createChatEditNode, o as ChatEditRenderer, r as $isChatEditNode, s as ChatEditorModal, t as chatEditNodes } from "./edit-CNNgcM_N.js";
|
|
5
5
|
import { chatNodes } from "./node.mjs";
|
|
6
6
|
import "./renderer.mjs";
|
|
7
7
|
export { $createChatEditNode, $createChatNode, $isChatEditNode, $isChatNode, CHAT_NODE_KEY, ChatEditDecorator, ChatEditNode, ChatEditRenderer, ChatEditorModal, ChatNode, ChatRenderer, __augmentLoaded_chat, chatEditNodes, chatNodes };
|
package/dist/renderer.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __augmentLoaded_chat } from "./augment-jeNYpQAa.js";
|
|
2
|
-
import { t as ChatRenderer } from "./ChatRenderer-
|
|
2
|
+
import { t as ChatRenderer } from "./ChatRenderer-DhF8PrWR.js";
|
|
3
3
|
//#region src/renderer.ts
|
|
4
4
|
var renderer_default = ChatRenderer;
|
|
5
5
|
//#endregion
|
package/dist/static.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __augmentLoaded_chat } from "./augment-jeNYpQAa.js";
|
|
2
|
-
import { t as ChatRenderer } from "./ChatRenderer-
|
|
2
|
+
import { t as ChatRenderer } from "./ChatRenderer-DhF8PrWR.js";
|
|
3
3
|
import { a as CHAT_NODE_KEY, n as $isChatNode, r as ChatNode, t as $createChatNode } from "./ChatNode-BfiW4nZ3.js";
|
|
4
4
|
import { chatNodes } from "./node.mjs";
|
|
5
5
|
import "./renderer.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haklex/rich-ext-chat",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.52.0",
|
|
4
4
|
"description": "Static chat-snapshot node for the haklex rich editor",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -37,12 +37,11 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@streamdown/code": "^2.0.0",
|
|
41
40
|
"nanoid": "^6.0.2",
|
|
42
41
|
"streamdown": "^2.7.0"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
45
|
-
"@haklex/rich-editor": "0.
|
|
44
|
+
"@haklex/rich-editor": "0.52.0",
|
|
46
45
|
"@lexical/react": "^0.52.0",
|
|
47
46
|
"@types/react": "^19.3.0",
|
|
48
47
|
"@types/react-dom": "^19.3.0",
|
|
@@ -56,9 +55,9 @@
|
|
|
56
55
|
"vite": "^8.3.4"
|
|
57
56
|
},
|
|
58
57
|
"peerDependencies": {
|
|
59
|
-
"@haklex/rich-editor": "^0.
|
|
60
|
-
"@haklex/rich-editor-ui": "^0.
|
|
61
|
-
"@haklex/rich-style-token": "^0.
|
|
58
|
+
"@haklex/rich-editor": "^0.52.0",
|
|
59
|
+
"@haklex/rich-editor-ui": "^0.52.0",
|
|
60
|
+
"@haklex/rich-style-token": "^0.52.0",
|
|
62
61
|
"@lexical/react": "^0.52.0",
|
|
63
62
|
"lexical": "^0.52.0",
|
|
64
63
|
"lucide-react": "^1.0.0",
|