@ada-support/embed2 1.1.39 → 1.1.40
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/npm-entry/client/components/ChatFrame/index.d.ts +6 -6
- package/dist/npm-entry/client/{index.d.ts → embed.d.ts} +0 -0
- package/dist/npm-entry/common/helpers/config-info.d.ts +0 -1
- package/dist/npm-entry/common/types/store-state.d.ts +0 -4
- package/dist/npm-entry/index.js +15602 -23935
- package/package.json +10 -20
|
@@ -40,13 +40,8 @@ interface ChatFrameState {
|
|
|
40
40
|
}
|
|
41
41
|
export declare class ChatFrame extends Component<ChatFrameProps, ChatFrameState> {
|
|
42
42
|
iframeRef: import("preact").RefObject<any>;
|
|
43
|
-
|
|
43
|
+
pageScrollLocked: boolean;
|
|
44
44
|
documentBodyOverflow: string;
|
|
45
|
-
documentBodyPosition: string;
|
|
46
|
-
documentBodyTop: string;
|
|
47
|
-
documentBodyBottom: string;
|
|
48
|
-
documentBodyLeft: string;
|
|
49
|
-
documentBodyRight: string;
|
|
50
45
|
channel?: FrameChannel;
|
|
51
46
|
chatRenderTimeout?: number;
|
|
52
47
|
url: string;
|
|
@@ -62,6 +57,11 @@ export declare class ChatFrame extends Component<ChatFrameProps, ChatFrameState>
|
|
|
62
57
|
static get parentElementStyles(): string;
|
|
63
58
|
get chooseStyles(): string;
|
|
64
59
|
handleScrollLock(): void;
|
|
60
|
+
/**
|
|
61
|
+
* Initial body "overflow" style may be set to something other than "auto"
|
|
62
|
+
* We should remember it, to put back the initial value when we unlock the scrolling
|
|
63
|
+
*/
|
|
64
|
+
rememberInitialPageStyle(): void;
|
|
65
65
|
/**
|
|
66
66
|
* Lock the document body from scrolling. If we don't do this,
|
|
67
67
|
* there are SERIOUS issues on iOS.
|
|
File without changes
|