isometrik-plugin-chat-sdk 1.3.13 → 1.3.15
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/cjs/attachment-preview_22.cjs.entry.js +20 -3
- package/dist/cjs/attachment-preview_22.cjs.entry.js.map +1 -1
- package/dist/cjs/index.cjs.js +3 -0
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/isometrik-webchat.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/login-page_3.cjs.entry.js +5 -2
- package/dist/cjs/login-page_3.cjs.entry.js.map +1 -1
- package/dist/collection/components/ChatUIComponent/Footer/ChatFooter.js +21 -3
- package/dist/collection/components/ChatUIComponent/Footer/ChatFooter.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/WebChat.js +19 -0
- package/dist/collection/components/my-component/web-chat/WebChat.js.map +1 -1
- package/dist/collection/components/my-component/web-chat/shell-render.js +3 -1
- package/dist/collection/components/my-component/web-chat/shell-render.js.map +1 -1
- package/dist/collection/index.js +3 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/components/ChatFooter.js +21 -3
- package/dist/components/ChatFooter.js.map +1 -1
- package/dist/components/WebChat.js +6 -2
- package/dist/components/WebChat.js.map +1 -1
- package/dist/components/index.js +3 -0
- package/dist/components/index.js.map +1 -1
- package/dist/esm/attachment-preview_22.entry.js +20 -3
- package/dist/esm/attachment-preview_22.entry.js.map +1 -1
- package/dist/esm/index.js +3 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/isometrik-webchat.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/login-page_3.entry.js +5 -2
- package/dist/esm/login-page_3.entry.js.map +1 -1
- package/dist/isometrik-webchat/index.esm.js +1 -1
- package/dist/isometrik-webchat/index.esm.js.map +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.esm.js +1 -1
- package/dist/isometrik-webchat/isometrik-webchat.esm.js.map +1 -1
- package/dist/isometrik-webchat/{p-6ffeb379.entry.js → p-1f9b855a.entry.js} +2 -2
- package/dist/isometrik-webchat/p-1f9b855a.entry.js.map +1 -0
- package/dist/isometrik-webchat/p-c544329c.entry.js +2 -0
- package/dist/isometrik-webchat/p-c544329c.entry.js.map +1 -0
- package/dist/types/components/ChatUIComponent/Footer/ChatFooter.d.ts +6 -0
- package/dist/types/components.d.ts +8 -0
- package/dist/types/index.d.ts +2 -0
- package/package.json +5 -2
- package/dist/isometrik-webchat/p-6d9f8cec.entry.js +0 -2
- package/dist/isometrik-webchat/p-6d9f8cec.entry.js.map +0 -1
- package/dist/isometrik-webchat/p-6ffeb379.entry.js.map +0 -1
|
@@ -98,6 +98,10 @@ declare class ChatFooter {
|
|
|
98
98
|
left?: string;
|
|
99
99
|
bottom?: string;
|
|
100
100
|
};
|
|
101
|
+
attachMenuStyle: {
|
|
102
|
+
left?: string;
|
|
103
|
+
bottom?: string;
|
|
104
|
+
};
|
|
101
105
|
showAttachMenu: boolean;
|
|
102
106
|
isRecording: boolean;
|
|
103
107
|
isPaused: boolean;
|
|
@@ -146,6 +150,8 @@ declare class ChatFooter {
|
|
|
146
150
|
onMessageBodyChange(): void;
|
|
147
151
|
handleComposerKeyDown: (event: KeyboardEvent) => void;
|
|
148
152
|
handleAttachClick: () => void;
|
|
153
|
+
/** Viewport-fixed menu anchored to the attach (+) button — safe in split layouts. */
|
|
154
|
+
positionAttachMenu: () => void;
|
|
149
155
|
closeAttachOutside: (event: PointerEvent) => void;
|
|
150
156
|
pickDocument: () => void;
|
|
151
157
|
pickPhotos: () => void;
|
|
@@ -941,6 +941,10 @@ export namespace Components {
|
|
|
941
941
|
* Public: set / clear reply target for next sendText.
|
|
942
942
|
*/
|
|
943
943
|
"setReply": (message: any | null) => Promise<void>;
|
|
944
|
+
/**
|
|
945
|
+
* Show the left profile icon rail (Chat / Profile / Groupcast). Hosts that only want the conversation list: set `showProfileRail={false}`. Default true for backward compatibility.
|
|
946
|
+
*/
|
|
947
|
+
"showProfileRail": boolean;
|
|
944
948
|
"sidebarColor": string;
|
|
945
949
|
"sidebarHeaderLabel": string;
|
|
946
950
|
"sidebarSelectedColor": string;
|
|
@@ -2830,6 +2834,10 @@ declare namespace LocalJSX {
|
|
|
2830
2834
|
"onReplyChange"?: (event: WebChatCustomEvent<ReplyChangeDetail>) => void;
|
|
2831
2835
|
"onUnreadMessageCountUpdated"?: (event: WebChatCustomEvent<any>) => void;
|
|
2832
2836
|
"projectId"?: string;
|
|
2837
|
+
/**
|
|
2838
|
+
* Show the left profile icon rail (Chat / Profile / Groupcast). Hosts that only want the conversation list: set `showProfileRail={false}`. Default true for backward compatibility.
|
|
2839
|
+
*/
|
|
2840
|
+
"showProfileRail"?: boolean;
|
|
2833
2841
|
"sidebarColor"?: string;
|
|
2834
2842
|
"sidebarHeaderLabel"?: string;
|
|
2835
2843
|
"sidebarSelectedColor"?: string;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export type InitializeChatProps = {
|
|
|
28
28
|
slots?: Partial<Record<WebChatSlotName, HTMLElement>>;
|
|
29
29
|
/** Custom element tags for list rows / dialogs. See WebChatCustomParts. */
|
|
30
30
|
customParts?: WebChatCustomParts;
|
|
31
|
+
/** When false, hide the left profile icon rail. Default true. */
|
|
32
|
+
showProfileRail?: boolean;
|
|
31
33
|
};
|
|
32
34
|
/** Tear down existing chat instance (MQTT via disconnectedCallback, DOM). */
|
|
33
35
|
export declare const destroyChat: () => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "isometrik-plugin-chat-sdk",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.15",
|
|
4
4
|
"description": "Isometrik WebChat SDK — embeddable real-time chat web components",
|
|
5
5
|
"main": "dist/index.cjs.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -52,9 +52,12 @@
|
|
|
52
52
|
"generate": "stencil generate",
|
|
53
53
|
"storybook": "storybook dev -p 6006",
|
|
54
54
|
"build-storybook": "storybook build",
|
|
55
|
+
"prepare": "husky install",
|
|
55
56
|
"check:stencil-boundary": "node scripts/check-stories-imports.mjs",
|
|
56
57
|
"check:presentational-imports": "node scripts/check-presentational-imports.mjs",
|
|
57
|
-
"test.spec": "stencil test --spec"
|
|
58
|
+
"test.spec": "stencil test --spec",
|
|
59
|
+
"pretest": "npm run check:stencil-boundary && npm run check:presentational-imports",
|
|
60
|
+
"prebuild": "npm run check:stencil-boundary && npm run check:presentational-imports"
|
|
58
61
|
},
|
|
59
62
|
"devDependencies": {
|
|
60
63
|
"@chromatic-com/storybook": "^3.2.3",
|