@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.
Files changed (76) hide show
  1. package/build/App.d.ts +20 -0
  2. package/build/ProviderStack.d.ts +10 -0
  3. package/build/assets/index-B9Yzt2if.js +233 -0
  4. package/build/assets/index-BbXI3y3Q.css +1 -0
  5. package/build/bidirectional/analyzePageForms.d.ts +35 -0
  6. package/build/bidirectional/automaticContext.d.ts +12 -0
  7. package/build/bidirectional/commandHandler.d.ts +5 -0
  8. package/build/bidirectional/debug.d.ts +1 -0
  9. package/build/components/ErrorMessage.d.ts +4 -0
  10. package/build/components/FeedbackComment.d.ts +6 -0
  11. package/build/components/FullscreenError.d.ts +2 -0
  12. package/build/components/FullscreenVoice.d.ts +32 -0
  13. package/build/components/Header.d.ts +20 -0
  14. package/build/components/Input.d.ts +14 -0
  15. package/build/components/Layout.d.ts +23 -0
  16. package/build/components/Messages.d.ts +33 -0
  17. package/build/components/Notice.d.ts +4 -0
  18. package/build/components/Ripple.d.ts +9 -0
  19. package/build/components/RiveAnimation.d.ts +4 -0
  20. package/build/components/SafeMarkdown.d.ts +4 -0
  21. package/build/components/Settings.d.ts +10 -0
  22. package/build/components/Theme.d.ts +4 -0
  23. package/build/components/VoiceMini.d.ts +13 -0
  24. package/build/components/VoiceModalities.d.ts +11 -0
  25. package/build/components/defaultModalities/DefaultCard.d.ts +3 -0
  26. package/build/components/defaultModalities/DefaultCarousel.d.ts +6 -0
  27. package/build/components/defaultModalities/DefaultDateInput.d.ts +5 -0
  28. package/build/components/defaultModalities/shared.d.ts +20 -0
  29. package/build/components/ui/Carousel.d.ts +26 -0
  30. package/build/components/ui/CustomCard.d.ts +101 -0
  31. package/build/components/ui/DateInput.d.ts +30 -0
  32. package/build/components/ui/IconButton.d.ts +68 -0
  33. package/build/components/ui/Icons.d.ts +63 -0
  34. package/build/components/ui/LaunchButton.d.ts +13 -0
  35. package/build/components/ui/LightDarkToggle.d.ts +47 -0
  36. package/build/components/ui/Loader.d.ts +7 -0
  37. package/build/components/ui/MessageButton.d.ts +58 -0
  38. package/build/components/ui/PicturesContainer.d.ts +9 -0
  39. package/build/components/ui/Radio.d.ts +14 -0
  40. package/build/components/ui/TextButton.d.ts +46 -0
  41. package/build/components/ui/Typography.d.ts +29 -0
  42. package/build/components/ui/ViewMediaModal.d.ts +8 -0
  43. package/build/design-system.d.ts +1 -0
  44. package/build/favicon.ico +0 -0
  45. package/build/feedback.d.ts +38 -0
  46. package/build/index.d.ts +63 -0
  47. package/build/index.html +13 -0
  48. package/build/interface.d.ts +569 -0
  49. package/build/mocks/MockText.d.ts +10 -0
  50. package/build/mocks/MockVoice.d.ts +10 -0
  51. package/build/mocks/MockVoiceMini.d.ts +8 -0
  52. package/build/mocks/shared.d.ts +5 -0
  53. package/build/preview.d.ts +10 -0
  54. package/build/types.d.ts +5 -0
  55. package/build/utils/useAppRoot.d.ts +3 -0
  56. package/build/utils/useCopy.d.ts +4 -0
  57. package/build/utils/useTailwindMediaQuery.d.ts +1 -0
  58. package/build/voice.d.ts +70 -0
  59. package/index.html +43 -47
  60. package/lib/ProviderStack.d.ts +0 -21
  61. package/lib/components/FullscreenVoice.d.ts +4 -6
  62. package/lib/components/Layout.d.ts +23 -0
  63. package/lib/components/VoiceModalities.d.ts +11 -0
  64. package/lib/components/defaultModalities/index.d.ts +2 -0
  65. package/lib/components/ui/Radio.d.ts +14 -0
  66. package/lib/design-system/LightDarkToggle.d.ts +50 -0
  67. package/lib/design-system/index.d.ts +1 -0
  68. package/lib/index.js +11516 -11445
  69. package/lib/index.umd.js +82 -82
  70. package/lib/mocks/MockText.d.ts +10 -0
  71. package/lib/mocks/MockVoice.d.ts +10 -0
  72. package/lib/mocks/MockVoiceMini.d.ts +8 -0
  73. package/lib/mocks/shared.d.ts +5 -0
  74. package/package.json +3 -2
  75. package/vite.config.ts +61 -32
  76. 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
+ }>;