@marketrix.ai/widget 4.0.113 → 4.0.114
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/src/components/views/ChatView.d.ts +3 -1
- package/dist/src/context/WidgetProviders.d.ts +8 -4
- package/dist/src/utils/log.d.ts +2 -0
- package/dist/widget.mjs +64 -64
- package/package.json +1 -1
- package/dist/src/test/a11y-utils.d.ts +0 -1
- package/dist/src/test/fixtures.d.ts +0 -10
- package/dist/src/test/renderWidget.d.ts +0 -6
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function assertNoA11yViolations(container: Element): Promise<void>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { CredentialedConfig } from '../services/StorageService';
|
|
2
|
-
import type { ChatMessage, ValidWidgetConfig, WidgetSettingsData } from '../types';
|
|
3
|
-
export declare const flushMicrotasks: () => Promise<void>;
|
|
4
|
-
export declare const mountTarget: () => HTMLDivElement;
|
|
5
|
-
export declare function agentMessage(overrides?: Partial<ChatMessage>): ChatMessage;
|
|
6
|
-
type MockWidgetConfig = ValidWidgetConfig & Pick<WidgetSettingsData, 'widget_border_radius' | 'widget_font_size' | 'widget_animation_duration' | 'widget_fade_duration'>;
|
|
7
|
-
export declare function getMockWidgetConfig(overrides?: Partial<MockWidgetConfig>): MockWidgetConfig;
|
|
8
|
-
export declare function validSettings(overrides?: Partial<MockWidgetConfig>): WidgetSettingsData;
|
|
9
|
-
export declare function credentialedConfig(overrides?: Partial<CredentialedConfig>): CredentialedConfig;
|
|
10
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { getMockWidgetConfig } from './fixtures';
|
|
2
|
-
export declare function renderWidget(overrides?: Parameters<typeof getMockWidgetConfig>[0], { previewMode }?: {
|
|
3
|
-
previewMode?: boolean;
|
|
4
|
-
}): import("@testing-library/react").RenderResult<typeof import("@testing-library/dom/types/queries"), HTMLElement, HTMLElement>;
|
|
5
|
-
export declare const openWidget: () => void;
|
|
6
|
-
export declare const openChatTab: () => void;
|