@smart-cloud/ai-kit-ui 1.1.10 → 1.1.12
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.
- package/dist/ai-kit-ui.css +24 -7
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +9 -9
- package/package.json +2 -2
- package/src/ai-chatbot/AiChatbot.tsx +100 -30
- package/src/ai-chatbot/index.tsx +1 -1
- package/src/styles/ai-kit-ui.css +24 -7
- package/src/withAiKitShell.tsx +9 -1
package/dist/index.d.cts
CHANGED
|
@@ -38,6 +38,7 @@ declare const AiFeature: FC<_smart_cloud_ai_kit_core.AiWorkerProps & {
|
|
|
38
38
|
|
|
39
39
|
declare const markdownToHtml: (markdown: string) => Promise<string>;
|
|
40
40
|
|
|
41
|
+
declare const DEFAULT_CHATBOT_LABELS: Required<AiChatbotLabels>;
|
|
41
42
|
declare const AiChatbot: React__default.FC<_smart_cloud_ai_kit_core.AiWorkerProps & {
|
|
42
43
|
placeholder?: string;
|
|
43
44
|
maxImages?: number;
|
|
@@ -95,4 +96,4 @@ declare function withAiKitShell<P extends object>(RootComponent: ComponentType<P
|
|
|
95
96
|
|
|
96
97
|
declare const translations: Record<string, Record<string, string>>;
|
|
97
98
|
|
|
98
|
-
export { AiChatbot, AiFeature, type AiFeatureFunction, type AiRunState, type UseAiRunResult, isBackendConfigured, markdownToHtml, readDefaultOutputLanguage, stripCodeFence, translations, useAiRun, withAiKitShell };
|
|
99
|
+
export { AiChatbot, AiFeature, type AiFeatureFunction, type AiRunState, DEFAULT_CHATBOT_LABELS, type UseAiRunResult, isBackendConfigured, markdownToHtml, readDefaultOutputLanguage, stripCodeFence, translations, useAiRun, withAiKitShell };
|
package/dist/index.d.ts
CHANGED
|
@@ -38,6 +38,7 @@ declare const AiFeature: FC<_smart_cloud_ai_kit_core.AiWorkerProps & {
|
|
|
38
38
|
|
|
39
39
|
declare const markdownToHtml: (markdown: string) => Promise<string>;
|
|
40
40
|
|
|
41
|
+
declare const DEFAULT_CHATBOT_LABELS: Required<AiChatbotLabels>;
|
|
41
42
|
declare const AiChatbot: React__default.FC<_smart_cloud_ai_kit_core.AiWorkerProps & {
|
|
42
43
|
placeholder?: string;
|
|
43
44
|
maxImages?: number;
|
|
@@ -95,4 +96,4 @@ declare function withAiKitShell<P extends object>(RootComponent: ComponentType<P
|
|
|
95
96
|
|
|
96
97
|
declare const translations: Record<string, Record<string, string>>;
|
|
97
98
|
|
|
98
|
-
export { AiChatbot, AiFeature, type AiFeatureFunction, type AiRunState, type UseAiRunResult, isBackendConfigured, markdownToHtml, readDefaultOutputLanguage, stripCodeFence, translations, useAiRun, withAiKitShell };
|
|
99
|
+
export { AiChatbot, AiFeature, type AiFeatureFunction, type AiRunState, DEFAULT_CHATBOT_LABELS, type UseAiRunResult, isBackendConfigured, markdownToHtml, readDefaultOutputLanguage, stripCodeFence, translations, useAiRun, withAiKitShell };
|