@nlxai/touchpoint-ui 1.2.6 → 1.2.7-alpha.0
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/build/App.d.ts +20 -0
- package/build/ProviderStack.d.ts +10 -0
- package/build/assets/index-B9Yzt2if.js +233 -0
- package/build/assets/index-BbXI3y3Q.css +1 -0
- package/build/bidirectional/analyzePageForms.d.ts +35 -0
- package/build/bidirectional/automaticContext.d.ts +12 -0
- package/build/bidirectional/commandHandler.d.ts +5 -0
- package/build/bidirectional/debug.d.ts +1 -0
- package/build/components/ErrorMessage.d.ts +4 -0
- package/build/components/FeedbackComment.d.ts +6 -0
- package/build/components/FullscreenError.d.ts +2 -0
- package/build/components/FullscreenVoice.d.ts +32 -0
- package/build/components/Header.d.ts +20 -0
- package/build/components/Input.d.ts +14 -0
- package/build/components/Layout.d.ts +23 -0
- package/build/components/Messages.d.ts +33 -0
- package/build/components/Notice.d.ts +4 -0
- package/build/components/Ripple.d.ts +9 -0
- package/build/components/RiveAnimation.d.ts +4 -0
- package/build/components/SafeMarkdown.d.ts +4 -0
- package/build/components/Settings.d.ts +10 -0
- package/build/components/Theme.d.ts +4 -0
- package/build/components/VoiceMini.d.ts +13 -0
- package/build/components/VoiceModalities.d.ts +11 -0
- package/build/components/defaultModalities/DefaultCard.d.ts +3 -0
- package/build/components/defaultModalities/DefaultCarousel.d.ts +6 -0
- package/build/components/defaultModalities/DefaultDateInput.d.ts +5 -0
- package/build/components/defaultModalities/shared.d.ts +20 -0
- package/build/components/ui/Carousel.d.ts +26 -0
- package/build/components/ui/CustomCard.d.ts +101 -0
- package/build/components/ui/DateInput.d.ts +30 -0
- package/build/components/ui/IconButton.d.ts +68 -0
- package/build/components/ui/Icons.d.ts +63 -0
- package/build/components/ui/LaunchButton.d.ts +13 -0
- package/build/components/ui/LightDarkToggle.d.ts +47 -0
- package/build/components/ui/Loader.d.ts +7 -0
- package/build/components/ui/MessageButton.d.ts +58 -0
- package/build/components/ui/PicturesContainer.d.ts +9 -0
- package/build/components/ui/Radio.d.ts +14 -0
- package/build/components/ui/TextButton.d.ts +46 -0
- package/build/components/ui/Typography.d.ts +29 -0
- package/build/components/ui/ViewMediaModal.d.ts +8 -0
- package/build/design-system.d.ts +1 -0
- package/build/favicon.ico +0 -0
- package/build/feedback.d.ts +38 -0
- package/build/index.d.ts +63 -0
- package/build/index.html +13 -0
- package/build/interface.d.ts +569 -0
- package/build/mocks/MockText.d.ts +10 -0
- package/build/mocks/MockVoice.d.ts +10 -0
- package/build/mocks/MockVoiceMini.d.ts +8 -0
- package/build/mocks/shared.d.ts +5 -0
- package/build/preview.d.ts +10 -0
- package/build/types.d.ts +5 -0
- package/build/utils/useAppRoot.d.ts +3 -0
- package/build/utils/useCopy.d.ts +4 -0
- package/build/utils/useTailwindMediaQuery.d.ts +1 -0
- package/build/voice.d.ts +70 -0
- package/index.html +43 -47
- package/lib/ProviderStack.d.ts +0 -21
- package/lib/components/FullscreenVoice.d.ts +4 -6
- package/lib/components/Layout.d.ts +23 -0
- package/lib/components/VoiceModalities.d.ts +11 -0
- package/lib/components/defaultModalities/index.d.ts +2 -0
- package/lib/components/ui/Radio.d.ts +14 -0
- package/lib/design-system/LightDarkToggle.d.ts +50 -0
- package/lib/design-system/index.d.ts +1 -0
- package/lib/index.js +11516 -11445
- package/lib/index.umd.js +82 -82
- package/lib/mocks/MockText.d.ts +10 -0
- package/lib/mocks/MockVoice.d.ts +10 -0
- package/lib/mocks/MockVoiceMini.d.ts +8 -0
- package/lib/mocks/shared.d.ts +5 -0
- package/package.json +3 -2
- package/vite.config.ts +61 -32
- package/lib/design-system.d.ts +0 -0
package/build/App.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ConversationHandler } from '@nlxai/core';
|
|
2
|
+
import { BidirectionalCustomCommand } from './interface';
|
|
3
|
+
import { NormalizedTouchpointConfiguration } from './types';
|
|
4
|
+
/**
|
|
5
|
+
* Main Touchpoint creation properties object
|
|
6
|
+
*/
|
|
7
|
+
interface Props extends NormalizedTouchpointConfiguration {
|
|
8
|
+
embedded: boolean;
|
|
9
|
+
onClose: ((event: Event) => void) | null;
|
|
10
|
+
enableSettings: boolean;
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
}
|
|
13
|
+
export interface AppRef {
|
|
14
|
+
setExpanded: (val: boolean) => void;
|
|
15
|
+
getExpanded: () => boolean;
|
|
16
|
+
getConversationHandler: () => ConversationHandler;
|
|
17
|
+
setCustomBidirectionalCommands: (commands: BidirectionalCustomCommand[]) => void;
|
|
18
|
+
}
|
|
19
|
+
declare const App: import('react').ForwardRefExoticComponent<Props & import('react').RefAttributes<AppRef>>;
|
|
20
|
+
export default App;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { FC, ReactNode } from 'react';
|
|
2
|
+
import { Copy, ColorMode, Theme } from './interface';
|
|
3
|
+
export declare const ProviderStack: FC<{
|
|
4
|
+
colorMode: ColorMode;
|
|
5
|
+
className?: string;
|
|
6
|
+
theme?: Partial<Theme>;
|
|
7
|
+
children?: ReactNode;
|
|
8
|
+
languageCode: string;
|
|
9
|
+
copy?: Partial<Copy>;
|
|
10
|
+
}>;
|