reachat 3.1.0 → 3.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -768,7 +768,7 @@ export const CVEExample = () => {
768
768
  viewType="console"
769
769
  sessions={sessionWithMarkdown}
770
770
  activeSessionId="session-cve"
771
- remarkPlugins={[remarkCve as any]}
771
+ remarkPlugins={[remarkCve]}
772
772
  >
773
773
  <SessionsList>
774
774
  <NewSessionButton />
package/dist/theme.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ import { DeepPartial } from 'reablocks';
1
2
  export interface ChatTheme {
2
3
  base: string;
3
4
  console: string;
@@ -83,17 +84,25 @@ export interface ChatTheme {
83
84
  };
84
85
  };
85
86
  markdown: {
87
+ hr: string;
86
88
  p: string;
87
89
  a: string;
88
90
  table: string;
89
91
  th: string;
90
92
  td: string;
91
93
  code: string;
94
+ inlineCode: string;
92
95
  toolbar: string;
93
96
  li: string;
94
97
  ul: string;
95
98
  ol: string;
96
99
  copy: string;
100
+ h1: string;
101
+ h2: string;
102
+ h3: string;
103
+ h4: string;
104
+ h5: string;
105
+ h6: string;
97
106
  };
98
107
  footer: {
99
108
  base: string;
@@ -163,4 +172,5 @@ export interface ChatTheme {
163
172
  base?: string;
164
173
  };
165
174
  }
175
+ export type PartialChatTheme = DeepPartial<ChatTheme>;
166
176
  export declare const chatTheme: ChatTheme;
@@ -0,0 +1 @@
1
+ export * from './grouping';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reachat",
3
- "version": "3.1.0",
3
+ "version": "3.2.1",
4
4
  "description": "Chat UI for Building LLMs",
5
5
  "scripts": {
6
6
  "build-storybook": "storybook build",
@@ -61,7 +61,7 @@
61
61
  "lodash": "^4.17.21",
62
62
  "mdast-util-find-and-replace": "^3.0.1",
63
63
  "motion": "^12.4.2",
64
- "reablocks": "^10.0.0-beta.1",
64
+ "reablocks": "^10.0.0-beta.5",
65
65
  "react-markdown": "^10.0.0",
66
66
  "react-syntax-highlighter": "^16.1.0",
67
67
  "reakeys": "^2.0.3",