diff --git a/src/components/widget/WidgetWindowExternal.tsx b/src/components/widget/WidgetWindowExternal.tsx deleted file mode 100644 index a6dbae5de..000000000 --- a/src/components/widget/WidgetWindowExternal.tsx +++ /dev/null @@ -1,17 +0,0 @@ -import Chat from './Chat'; -import { ChatAiWidgetProps } from './ChatAiWidget'; -import ProviderContainer from './ProviderContainer'; - -/** - * NOTE: External purpose only. - * Do not use this component directly. Use Chat instead for internal use. - */ -function WidgetWindowExternal(props: ChatAiWidgetProps) { - return ( - - - - ); -} - -export default WidgetWindowExternal; diff --git a/src/components/widget/WidgetWindowFullScreen.tsx b/src/components/widget/WidgetWindowFullScreen.tsx new file mode 100644 index 000000000..2711cf6b5 --- /dev/null +++ b/src/components/widget/WidgetWindowFullScreen.tsx @@ -0,0 +1,23 @@ +import Chat from './Chat'; +import { ChatAiWidgetProps } from './ChatAiWidget'; +import ProviderContainer from './ProviderContainer'; +import { elementIds } from '../../const'; + +/** + * NOTE: External purpose only. + * Do not use this component directly. Use Chat instead for internal use. + */ +function WidgetWindowFullScreen(props: ChatAiWidgetProps) { + return ( + +
+ +
+
+ ); +} + +export default WidgetWindowFullScreen; diff --git a/src/index.ts b/src/index.ts index 794ba3df8..1f5a306bf 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ export { default as ChatAiWidget } from './components/widget/ChatAiWidget'; export { type ProviderContainerProps as ChatAiWidgetConfigs } from './components/widget/ProviderContainer'; -export { default as ChatWindow } from './components/widget/WidgetWindowExternal'; +export { default as ChatWindow } from './components/widget/WidgetWindowFullScreen'; export { widgetServiceName } from './const'; export { clearWidgetSessionCache, clearCache } from './libs/storage/widgetSessionCache';