@nlxai/touchpoint-ui 1.0.5-alpha.1 → 1.0.5-alpha.2
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/docs/.nojekyll +1 -0
- package/docs/README.md +341 -0
- package/docs/interfaces/CustomCardProps.md +47 -0
- package/docs/interfaces/CustomCardRowProps.md +39 -0
- package/docs/interfaces/DateInputProps.md +29 -0
- package/docs/interfaces/IconButtonProps.md +71 -0
- package/docs/interfaces/Icons.IconProps.md +29 -0
- package/docs/interfaces/TextButtonProps.md +72 -0
- package/docs/interfaces/Theme.md +303 -0
- package/docs/interfaces/TouchpointConfiguration.md +89 -0
- package/docs/interfaces/TouchpointInstance.md +47 -0
- package/docs/modules/Icons.md +857 -0
- package/index.html +1 -0
- package/lib/App.d.ts +2 -1
- package/lib/components/Input.d.ts +1 -0
- package/lib/components/ui/IconButton.d.ts +1 -1
- package/lib/index.d.ts +1 -1
- package/lib/index.js +21835 -6360
- package/lib/index.umd.js +113 -76
- package/lib/types.d.ts +15 -1
- package/lib/voice.d.ts +11 -0
- package/package.json +4 -3
package/index.html
CHANGED
package/lib/App.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ConversationHandler } from '@nlxai/chat-core';
|
|
2
|
-
import { TouchpointConfiguration } from './types';
|
|
2
|
+
import { TouchpointConfiguration, InitializeConversation } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Main Touchpoint creation properties object
|
|
5
5
|
*/
|
|
@@ -8,6 +8,7 @@ interface Props extends TouchpointConfiguration {
|
|
|
8
8
|
onClose: ((event: Event) => void) | null;
|
|
9
9
|
enableSettings: boolean;
|
|
10
10
|
enabled: boolean;
|
|
11
|
+
initializeConversation: InitializeConversation;
|
|
11
12
|
}
|
|
12
13
|
export interface AppRef {
|
|
13
14
|
setExpanded: (val: boolean) => void;
|
|
@@ -9,7 +9,7 @@ import { IconProps } from './Icons';
|
|
|
9
9
|
* - `coverup`: An icon button used to cover up or mask something.
|
|
10
10
|
* - `overlay`: An icon button that appears over other content.
|
|
11
11
|
*/
|
|
12
|
-
export type IconButtonType = "main" | "ghost" | "activated" | "coverup" | "overlay";
|
|
12
|
+
export type IconButtonType = "main" | "ghost" | "activated" | "coverup" | "error" | "overlay";
|
|
13
13
|
/**
|
|
14
14
|
* Props for the IconButton component
|
|
15
15
|
*/
|
package/lib/index.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export { type CustomCardProps, type CustomCardRowProps, } from './components/ui/
|
|
|
14
14
|
export { type DateInputProps } from './components/ui/DateInput';
|
|
15
15
|
export { type IconButtonProps, type IconButtonType, } from './components/ui/IconButton';
|
|
16
16
|
export { type TextButtonProps } from './components/ui/TextButton';
|
|
17
|
-
export { type ColorMode, type Theme, type WindowSize, type CustomModalityComponent, type TouchpointConfiguration, } from './types';
|
|
17
|
+
export { type InitializeConversation, type ColorMode, type Theme, type WindowSize, type CustomModalityComponent, type TouchpointConfiguration, } from './types';
|
|
18
18
|
/**
|
|
19
19
|
* Instance of a Touchpoint UI component
|
|
20
20
|
*/
|