From 00009ae53e65ab829d67a915b56a38f9e2626f39 Mon Sep 17 00:00:00 2001 From: Thuc Pham <51660321+thucpn@users.noreply.github.com> Date: Fri, 1 Nov 2024 17:21:08 +0700 Subject: [PATCH] feat: import pdf css (#408) --- .changeset/thick-emus-raise.md | 5 +++++ .../types/streaming/nextjs/app/components/chat-section.tsx | 1 + templates/types/streaming/nextjs/package.json | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changeset/thick-emus-raise.md diff --git a/.changeset/thick-emus-raise.md b/.changeset/thick-emus-raise.md new file mode 100644 index 00000000..204c0744 --- /dev/null +++ b/.changeset/thick-emus-raise.md @@ -0,0 +1,5 @@ +--- +"create-llama": patch +--- + +feat: import pdf css diff --git a/templates/types/streaming/nextjs/app/components/chat-section.tsx b/templates/types/streaming/nextjs/app/components/chat-section.tsx index 483ca7bb..46b00542 100644 --- a/templates/types/streaming/nextjs/app/components/chat-section.tsx +++ b/templates/types/streaming/nextjs/app/components/chat-section.tsx @@ -3,6 +3,7 @@ import { ChatSection as ChatSectionUI } from "@llamaindex/chat-ui"; import "@llamaindex/chat-ui/styles/code.css"; import "@llamaindex/chat-ui/styles/katex.css"; +import "@llamaindex/chat-ui/styles/pdf.css"; import { useChat } from "ai/react"; import CustomChatInput from "./ui/chat/chat-input"; import CustomChatMessages from "./ui/chat/chat-messages"; diff --git a/templates/types/streaming/nextjs/package.json b/templates/types/streaming/nextjs/package.json index e1aa94b0..19533067 100644 --- a/templates/types/streaming/nextjs/package.json +++ b/templates/types/streaming/nextjs/package.json @@ -37,7 +37,7 @@ "uuid": "^9.0.1", "vaul": "^0.9.1", "marked": "^14.1.2", - "@llamaindex/chat-ui": "0.0.4" + "@llamaindex/chat-ui": "0.0.5" }, "devDependencies": { "@types/node": "^20.10.3", -- GitLab