From 9bba33607506bc1abde1fd1e032876e02927a5a0 Mon Sep 17 00:00:00 2001 From: Nicolas Brichet Date: Fri, 20 Dec 2024 12:46:44 +0100 Subject: [PATCH] Export the chat components from @jupyter/chat --- .../jupyter-chat/src/components/code-blocks/index.ts | 2 ++ packages/jupyter-chat/src/components/index.ts | 10 ++++++++++ packages/jupyter-chat/src/components/input/index.ts | 2 ++ .../jupyter-chat/src/components/mui-extras/index.ts | 3 +++ packages/jupyter-chat/src/index.ts | 1 + 5 files changed, 18 insertions(+) create mode 100644 packages/jupyter-chat/src/components/code-blocks/index.ts create mode 100644 packages/jupyter-chat/src/components/index.ts create mode 100644 packages/jupyter-chat/src/components/input/index.ts create mode 100644 packages/jupyter-chat/src/components/mui-extras/index.ts diff --git a/packages/jupyter-chat/src/components/code-blocks/index.ts b/packages/jupyter-chat/src/components/code-blocks/index.ts new file mode 100644 index 0000000..e4054f7 --- /dev/null +++ b/packages/jupyter-chat/src/components/code-blocks/index.ts @@ -0,0 +1,2 @@ +export * from './code-toolbar'; +export * from './copy-button'; diff --git a/packages/jupyter-chat/src/components/index.ts b/packages/jupyter-chat/src/components/index.ts new file mode 100644 index 0000000..7ca8905 --- /dev/null +++ b/packages/jupyter-chat/src/components/index.ts @@ -0,0 +1,10 @@ +export * from './chat'; +export * from './chat-input'; +export * from './chat-input'; +export * from './code-blocks'; +export * from './input'; +export * from './jl-theme-provider'; +export * from './markdown-renderer'; +export * from './mui-extras'; +export * from './scroll-container'; +export * from './toolbar'; diff --git a/packages/jupyter-chat/src/components/input/index.ts b/packages/jupyter-chat/src/components/input/index.ts new file mode 100644 index 0000000..5337477 --- /dev/null +++ b/packages/jupyter-chat/src/components/input/index.ts @@ -0,0 +1,2 @@ +export * from './cancel-button'; +export * from './send-button'; diff --git a/packages/jupyter-chat/src/components/mui-extras/index.ts b/packages/jupyter-chat/src/components/mui-extras/index.ts new file mode 100644 index 0000000..59d9124 --- /dev/null +++ b/packages/jupyter-chat/src/components/mui-extras/index.ts @@ -0,0 +1,3 @@ +export * from './contrasting-tooltip'; +export * from './tooltipped-button'; +export * from './tooltipped-icon-button'; diff --git a/packages/jupyter-chat/src/index.ts b/packages/jupyter-chat/src/index.ts index b550358..7e084db 100644 --- a/packages/jupyter-chat/src/index.ts +++ b/packages/jupyter-chat/src/index.ts @@ -4,6 +4,7 @@ */ export * from './active-cell-manager'; +export * from './components'; export * from './icons'; export * from './model'; export * from './registry';