From 32671f32fd6ac53c0b7960e351149b1dfa59e904 Mon Sep 17 00:00:00 2001 From: Alois Date: Sun, 9 Aug 2026 12:05:04 +0200 Subject: [PATCH] wip(chat): overall improvements --- packages/markdown/package.json | 1 + packages/markdown/src/markdown.tsx | 28 +------- pnpm-lock.yaml | 112 +++++++++++++++++++++++++---- 3 files changed, 102 insertions(+), 39 deletions(-) diff --git a/packages/markdown/package.json b/packages/markdown/package.json index 9c324da..247d715 100644 --- a/packages/markdown/package.json +++ b/packages/markdown/package.json @@ -23,6 +23,7 @@ "@methanium/ui": "*", "@twemoji/api": "^17.0.3", "emojibase-data": "^17.0.0", + "lucide-react": "^1.30.0", "react": "^19.2.8", "react-dom": "^19.2.8" } diff --git a/packages/markdown/src/markdown.tsx b/packages/markdown/src/markdown.tsx index bc64692..cd2a210 100644 --- a/packages/markdown/src/markdown.tsx +++ b/packages/markdown/src/markdown.tsx @@ -8,6 +8,7 @@ import { } from "react"; import Emoji from "./emoji"; import { findEmojiShortcodes } from "./emojiData"; +import { Check } from "lucide-react"; type InlineNode = | { type: "text"; value: string } @@ -86,30 +87,7 @@ function CopiedIndicator({ aria-live="polite" aria-hidden={!visible} > - - Copied + ); } @@ -144,7 +122,7 @@ function CopyableCode({ const code = (