@stackable-labs/embeddables 1.61.0 → 1.63.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.
- package/dist/embeddables/src/components/WidgetComponent.d.ts +1 -1
- package/dist/embeddables/src/lib/messagingState.d.ts +6 -0
- package/dist/embeddables/src/lib/zendesk.d.ts +1 -1
- package/dist/react.js +2564 -2514
- package/dist/stackable-widget.external.js +62 -62
- package/dist/stackable-widget.js +24 -24
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export interface WidgetComponentProps {
|
|
|
7
7
|
}
|
|
8
8
|
/**
|
|
9
9
|
* Container component that manages widget visibility and positioning.
|
|
10
|
-
* Listens for
|
|
10
|
+
* Listens for stackable:action:* CustomEvents from extensions to control visibility:
|
|
11
11
|
* open/close — toggle the widget panel
|
|
12
12
|
* show/hide — toggle the launcher button
|
|
13
13
|
*/
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Module-level messaging state — tracks the active Zendesk conversation ID.
|
|
3
|
+
* Used by future outbound posting. Not exposed to extensions.
|
|
4
|
+
*/
|
|
5
|
+
export declare const getActiveConversationId: () => string | null;
|
|
6
|
+
export declare const setActiveConversationId: (id: string | null) => void;
|
|
@@ -4,7 +4,7 @@ export interface LoadZendeskSnippetOptions {
|
|
|
4
4
|
}
|
|
5
5
|
declare global {
|
|
6
6
|
interface Window {
|
|
7
|
-
zE?: (command: string, action?: string, options?: unknown) =>
|
|
7
|
+
zE?: (command: string, action?: string, options?: unknown) => unknown;
|
|
8
8
|
zEMessenger?: {
|
|
9
9
|
autorender: boolean;
|
|
10
10
|
};
|