@paramms/chat-widget 1.0.44 → 1.0.46
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/README.md +4 -4
- package/dist/chatlist.d.ts +3 -1
- package/dist/chatlist.js +128 -102
- package/dist/chatlist.js.map +1 -1
- package/dist/chatlist.styles.d.ts +1 -0
- package/dist/codec.js +191 -157
- package/dist/codec.js.map +1 -1
- package/dist/core.js.map +1 -1
- package/dist/e2e.d.ts +21 -2
- package/dist/e2e.js +50 -40
- package/dist/e2e.js.map +1 -1
- package/dist/embed-lite.js +242 -0
- package/dist/embed-lite.js.map +1 -0
- package/dist/embed.d.ts +10 -0
- package/dist/embed.js +87 -78
- package/dist/embed.js.map +1 -1
- package/dist/history.d.ts +7 -4
- package/dist/index.d.ts +22 -0
- package/dist/index.js +639 -723
- package/dist/index.js.map +1 -1
- package/dist/outbox.js +65 -75
- package/dist/outbox.js.map +1 -1
- package/dist/protocol/entities.d.ts +0 -11
- package/dist/protocol/frames.d.ts +1 -17
- package/dist/react.d.ts +16 -5
- package/dist/react.js +349 -323
- package/dist/react.js.map +1 -1
- package/dist/renderer.d.ts +17 -19
- package/dist/renderer.styles.d.ts +1 -0
- package/dist/store.d.ts +1 -5
- package/dist/theme-tokens.d.ts +4 -0
- package/package.json +2 -2
- package/dist/annotations.d.ts +0 -11
package/dist/embed.d.ts
CHANGED
|
@@ -90,8 +90,18 @@ export interface RelaySettings {
|
|
|
90
90
|
/** i18n string overrides — matches the React `i18n` prop. Same restriction
|
|
91
91
|
* as `quickReplies`: object, so JS-object form only. */
|
|
92
92
|
i18n?: MountOptions['i18n'];
|
|
93
|
+
/** Per-tenant feature switches (default all ON). Object form only. Matches
|
|
94
|
+
* the React `features` prop. Set a flag false to disable that feature. */
|
|
95
|
+
features?: MountOptions['features'];
|
|
93
96
|
/** Appearance. `launcher` defaults to true (a floating bubble). */
|
|
94
97
|
accent?: string;
|
|
98
|
+
/** Secondary accent (guest bubble + send button). Object/attr form; follows
|
|
99
|
+
* `accent` when omitted. */
|
|
100
|
+
accent2?: string;
|
|
101
|
+
/** Colour scheme: 'auto'|'light'|'dark'. Attr: data-relay-theme. */
|
|
102
|
+
theme?: 'auto' | 'light' | 'dark';
|
|
103
|
+
/** Load brand webfonts (default true). Attr: data-relay-webfont="false". */
|
|
104
|
+
webfont?: boolean;
|
|
95
105
|
launcher?: boolean;
|
|
96
106
|
position?: 'bottom-right' | 'bottom-left';
|
|
97
107
|
/** Launcher teaser ("optional message" above the bubble). Matches the React
|