@envive-ai/react-hooks 0.3.26 → 0.3.28
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/atoms/app/index.d.cts +7 -7
- package/dist/atoms/app/variant.d.cts +6 -6
- package/dist/atoms/chat/chatState.d.ts +19 -19
- package/dist/atoms/chat/form.d.cts +2 -2
- package/dist/atoms/chat/form.d.ts +2 -2
- package/dist/atoms/chat/index.d.ts +2 -2
- package/dist/atoms/chat/lastMessage.d.cts +2 -2
- package/dist/atoms/chat/lastMessage.d.ts +2 -2
- package/dist/atoms/chat/messageQueue.d.cts +6 -6
- package/dist/atoms/chat/messageQueue.d.ts +6 -6
- package/dist/atoms/chat/performanceMetrics.d.cts +6 -6
- package/dist/atoms/chat/performanceMetrics.d.ts +6 -6
- package/dist/atoms/chat/renderedWidgetRefs.d.cts +2 -2
- package/dist/atoms/chat/renderedWidgetRefs.d.ts +2 -2
- package/dist/atoms/chat/replies.d.cts +1 -1
- package/dist/atoms/chat/replies.d.ts +2 -2
- package/dist/atoms/chat/suggestions.d.cts +2 -2
- package/dist/atoms/chat/suggestions.d.ts +2 -2
- package/dist/atoms/envive/enviveConfig.d.cts +13 -13
- package/dist/atoms/globalSearch/globalSearch.d.cts +6 -6
- package/dist/atoms/globalSearch/globalSearch.d.ts +5 -5
- package/dist/atoms/org/customerService.d.cts +6 -6
- package/dist/atoms/org/graphqlConfig.d.cts +4 -4
- package/dist/atoms/org/graphqlConfig.d.ts +4 -4
- package/dist/atoms/org/newOrgConfigAtom.d.ts +2 -2
- package/dist/atoms/org/orgAnalyticsConfig.d.ts +5 -5
- package/dist/atoms/search/chatSearch.d.cts +17 -17
- package/dist/atoms/search/chatSearch.d.ts +17 -17
- package/dist/atoms/search/searchAPI.d.cts +13 -13
- package/dist/atoms/search/searchAPI.d.ts +13 -13
- package/dist/atoms/search/types.d.cts +1 -1
- package/dist/atoms/search/utils.d.cts +1 -1
- package/dist/atoms/search/utils.d.ts +1 -1
- package/dist/atoms/widget/chatPreviewLoading.d.cts +2 -2
- package/dist/contexts/systemSettingsContext/systemSettingsContext.d.cts +2 -2
- package/dist/contexts/systemSettingsContext/systemSettingsContext.d.ts +2 -2
- package/dist/contexts/types.d.cts +1 -1
- package/dist/contexts/types.d.ts +1 -1
- package/dist/contexts/typesV3.cjs +1 -1
- package/dist/contexts/typesV3.d.cts +7 -1
- package/dist/contexts/typesV3.d.ts +7 -1
- package/dist/contexts/typesV3.js +1 -1
- package/dist/hooks/GrabAndScroll/useGrabAndScroll.d.cts +2 -2
- package/dist/hooks/GrabAndScroll/useGrabAndScroll.d.ts +2 -2
- package/dist/hooks/SystemSettingsContext/useSystemSettingsContext.d.cts +2 -2
- package/dist/hooks/SystemSettingsContext/useSystemSettingsContext.d.ts +2 -2
- package/dist/hooks/WidgetInteraction/types.cjs +4 -2
- package/dist/hooks/WidgetInteraction/types.d.cts +2 -1
- package/dist/hooks/WidgetInteraction/types.d.ts +2 -1
- package/dist/hooks/WidgetInteraction/types.js +4 -2
- package/dist/hooks/utils.d.ts +1 -1
- package/package.json +1 -1
- package/src/contexts/typesV3.ts +6 -0
- package/src/hooks/WidgetInteraction/types.ts +2 -0
package/src/contexts/typesV3.ts
CHANGED
|
@@ -347,6 +347,12 @@ interface ProductCardWidgetV3Config extends BaseWidgetConfig<WidgetTypeV3.Produc
|
|
|
347
347
|
interface FullPageSalesAgentWidgetV3Config extends BaseWidgetConfig<WidgetTypeV3.FullPageSalesAgentV3> {
|
|
348
348
|
headerContainer?: string;
|
|
349
349
|
autoHeight?: boolean;
|
|
350
|
+
sparkleColor?: string;
|
|
351
|
+
useBackgroundImage?: boolean;
|
|
352
|
+
mobileBackgroundImage?: string;
|
|
353
|
+
desktopBackgroundImage?: string;
|
|
354
|
+
backgroundColor?: string;
|
|
355
|
+
suggestionButtonType?: PromptButtonVariant;
|
|
350
356
|
}
|
|
351
357
|
|
|
352
358
|
type WidgetConfigV3 =
|
|
@@ -64,6 +64,7 @@ export enum WidgetInteractionType {
|
|
|
64
64
|
MANUAL_SCROLL_TO_BOTTOM = 'manual_scroll_to_bottom',
|
|
65
65
|
VOICE_TRANSCRIPTION_STARTED = 'voice_transcription_started',
|
|
66
66
|
VOICE_TRANSCRIPTION_COMPLETED = 'voice_transcription_completed',
|
|
67
|
+
OVERLAY_DISMISSED = 'overlay_dismissed',
|
|
67
68
|
}
|
|
68
69
|
|
|
69
70
|
export enum InteractionClass {
|
|
@@ -89,6 +90,7 @@ export const INTERACTION_TYPE_CLASS: Record<WidgetInteractionType, InteractionCl
|
|
|
89
90
|
[WidgetInteractionType.MANUAL_SCROLL_TO_BOTTOM]: InteractionClass.PASSIVE,
|
|
90
91
|
[WidgetInteractionType.VOICE_TRANSCRIPTION_STARTED]: InteractionClass.INTENTIONAL,
|
|
91
92
|
[WidgetInteractionType.VOICE_TRANSCRIPTION_COMPLETED]: InteractionClass.INTENTIONAL,
|
|
93
|
+
[WidgetInteractionType.OVERLAY_DISMISSED]: InteractionClass.NAVIGATIONAL,
|
|
92
94
|
};
|
|
93
95
|
|
|
94
96
|
export type URL = {
|