@sampleapp.ai/sdk 1.0.24 → 1.0.25
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/components/chat-bar/typing-textarea.js +144 -0
- package/dist/components/chat-bar/voice-button/voice-icon.js +129 -0
- package/dist/components/chat-bar/voice-button.js +42 -0
- package/dist/components/chat-bar/voice-overlay.js +190 -0
- package/dist/components/chat-bar.js +546 -0
- package/dist/components/ui/button.js +141 -0
- package/dist/components/ui/card.js +77 -0
- package/dist/components/ui/textarea.js +68 -0
- package/dist/index.d.ts +56 -0
- package/dist/index.es.js +6468 -95
- package/dist/index.js +4 -1
- package/dist/index.umd.js +96 -15
- package/dist/themes.js +189 -0
- package/package.json +5 -1
package/dist/index.js
CHANGED
|
@@ -2,8 +2,11 @@ import * as React from "react"; // Change this line
|
|
|
2
2
|
import * as ReactDOM from "react-dom/client"; // Change this line
|
|
3
3
|
import { ChatButton } from "./components/ChatButton";
|
|
4
4
|
import { ModalSearchAndChat } from "./components/ModalSearchAndChat";
|
|
5
|
+
import { ChatBar } from "./components/chat-bar";
|
|
5
6
|
// Export React components for direct JSX usage
|
|
6
|
-
export { ChatButton, ModalSearchAndChat };
|
|
7
|
+
export { ChatButton, ModalSearchAndChat, ChatBar };
|
|
8
|
+
// Export themes
|
|
9
|
+
export { themes, getTheme, DEFAULT_THEME } from "./themes";
|
|
7
10
|
// SDK class for loadScript programmatic usage
|
|
8
11
|
class SampleAppSDK {
|
|
9
12
|
constructor() {
|