From 78d15c0202eb74b7a8d7017d485294eeef024fbb Mon Sep 17 00:00:00 2001 From: 0xrohitgarg Date: Mon, 9 Dec 2024 18:41:40 +0530 Subject: [PATCH] chore: release 0.0.21 --- CHANGELOG.md | 5 +++++ package.json | 2 +- src/components/chat/ChatInterface.vue | 7 +++++++ src/components/chat/elements/DefaultScreen.vue | 5 +++++ 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 88c909b..9ffa710 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [0.0.21]() - 2024-12-09 + +### Added +- Config for Header + ## [0.0.20]() - 2024-12-09 ### Fixed - Config for Default Screen diff --git a/package.json b/package.json index 2c7900f..6be9825 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@videodb/chat-vue", "description": "Chat component for Director", - "version": "0.0.20", + "version": "0.0.21", "author": "VideoDB", "license": "Apache-2.0", "private": false, diff --git a/src/components/chat/ChatInterface.vue b/src/components/chat/ChatInterface.vue index b9e0b59..a827745 100644 --- a/src/components/chat/ChatInterface.vue +++ b/src/components/chat/ChatInterface.vue @@ -109,6 +109,7 @@ (activeCollectionData && activeCollectionVideos?.length === 0) " + :header-config="headerConfig" :collection-data="activeCollectionData" :collection-videos="activeCollectionVideos" :preview-videos=" @@ -238,6 +239,12 @@ const props = defineProps({ default: "full", validator: (value) => ["full", "embedded"].includes(value), }, + headerConfig: { + type: Object, + default: () => ({ + uploadButton: true, + }), + }, sidebarConfig: { type: Object, default: () => ({ diff --git a/src/components/chat/elements/DefaultScreen.vue b/src/components/chat/elements/DefaultScreen.vue index d2a5553..54453a1 100644 --- a/src/components/chat/elements/DefaultScreen.vue +++ b/src/components/chat/elements/DefaultScreen.vue @@ -24,6 +24,7 @@ {{ collectionName }}