ninchat-embed 2.6.2 → 2.8.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.
Files changed (159) hide show
  1. package/README.md +261 -29
  2. package/dist/embed3.js +1 -1
  3. package/dist/embed3.js.LICENSE.txt +2 -2
  4. package/dist/embed3.js.map +1 -1
  5. package/dist/src/antics/types/index.d.ts +24 -0
  6. package/dist/src/antics/types/index.d.ts.map +1 -1
  7. package/dist/src/api/NinchatClient.d.ts +2 -0
  8. package/dist/src/api/NinchatClient.d.ts.map +1 -1
  9. package/dist/src/api/action/createComment.d.ts +1 -1
  10. package/dist/src/api/action/createIdentity.d.ts +1 -1
  11. package/dist/src/api/action/createIdentityWithAuthResetAccess.d.ts +1 -1
  12. package/dist/src/api/action/createTag.d.ts +1 -1
  13. package/dist/src/api/action/deleteIdentity.d.ts +1 -1
  14. package/dist/src/api/action/deleteMessage.d.ts +1 -1
  15. package/dist/src/api/action/deleteTag.d.ts +1 -1
  16. package/dist/src/api/action/describeIdentity.d.ts +1 -1
  17. package/dist/src/api/action/describeQueue.d.ts +1 -1
  18. package/dist/src/api/action/describeTag.d.ts +1 -1
  19. package/dist/src/api/action/describeTags.d.ts +1 -1
  20. package/dist/src/api/action/endAudience.d.ts +1 -1
  21. package/dist/src/api/action/getAudienceRangeComments.d.ts +1 -1
  22. package/dist/src/api/action/getQueueActivity.d.ts +1 -1
  23. package/dist/src/api/action/getQueueStats.d.ts +1 -1
  24. package/dist/src/api/action/registerAudience.d.ts +1 -1
  25. package/dist/src/api/action/removeUnlinkedFile.d.ts +13 -0
  26. package/dist/src/api/action/removeUnlinkedFile.d.ts.map +1 -0
  27. package/dist/src/api/action/requestAudience.d.ts +1 -1
  28. package/dist/src/api/action/requestIdentityVerifyAccess.d.ts +1 -1
  29. package/dist/src/api/action/sendUnlinkedFiles.d.ts +21 -0
  30. package/dist/src/api/action/sendUnlinkedFiles.d.ts.map +1 -0
  31. package/dist/src/api/action/updateChannel.d.ts +1 -1
  32. package/dist/src/api/action/updateDialogue.d.ts +1 -1
  33. package/dist/src/api/action/updateIdentity.d.ts +1 -1
  34. package/dist/src/api/action/updateIdentityAuth.d.ts +1 -1
  35. package/dist/src/api/action/updateMessage.d.ts +1 -1
  36. package/dist/src/api/action/updateQueue.d.ts +1 -1
  37. package/dist/src/api/action/updateRealm.d.ts +1 -1
  38. package/dist/src/api/action/updateTag.d.ts +1 -1
  39. package/dist/src/api/action/updateUser.d.ts +1 -1
  40. package/dist/src/api/action/updateUserMessages.d.ts +1 -1
  41. package/dist/src/api/action/verifyIdentity.d.ts +1 -1
  42. package/dist/src/api/event/queueUpdated.d.ts.map +1 -1
  43. package/dist/src/api/types/actions.d.ts +13 -1
  44. package/dist/src/api/types/actions.d.ts.map +1 -1
  45. package/dist/src/api/types/events.d.ts +6 -1
  46. package/dist/src/api/types/events.d.ts.map +1 -1
  47. package/dist/src/api/types/properties.d.ts +6 -1
  48. package/dist/src/api/types/properties.d.ts.map +1 -1
  49. package/dist/src/api/types/settings.d.ts +4 -0
  50. package/dist/src/api/types/settings.d.ts.map +1 -1
  51. package/dist/src/components/Embed/EmbedQuestionnaire.d.ts +8 -4
  52. package/dist/src/components/Embed/EmbedQuestionnaire.d.ts.map +1 -1
  53. package/dist/src/components/Embed/Questionnaire/QuestionnaireAttachment/QuestionnaireAttachment.d.ts +5 -0
  54. package/dist/src/components/Embed/Questionnaire/QuestionnaireAttachment/QuestionnaireAttachment.d.ts.map +1 -0
  55. package/dist/src/components/Embed/Questionnaire/QuestionnaireAttachment/QuestionnaireAttachmentView.d.ts +5 -0
  56. package/dist/src/components/Embed/Questionnaire/QuestionnaireAttachment/QuestionnaireAttachmentView.d.ts.map +1 -0
  57. package/dist/src/components/Embed/Questionnaire/QuestionnaireAttachment/index.d.ts +4 -0
  58. package/dist/src/components/Embed/Questionnaire/QuestionnaireAttachment/index.d.ts.map +1 -0
  59. package/dist/src/components/Embed/Questionnaire/QuestionnaireAttachment/styles/index.d.ts +148 -0
  60. package/dist/src/components/Embed/Questionnaire/QuestionnaireAttachment/styles/index.d.ts.map +1 -0
  61. package/dist/src/components/Embed/Questionnaire/QuestionnaireAttachment/types/index.d.ts +32 -0
  62. package/dist/src/components/Embed/Questionnaire/QuestionnaireAttachment/types/index.d.ts.map +1 -0
  63. package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/QuestionnaireButton.d.ts +2 -0
  64. package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/QuestionnaireButton.d.ts.map +1 -1
  65. package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/styles/index.d.ts +44 -2
  66. package/dist/src/components/Embed/Questionnaire/QuestionnaireButton/styles/index.d.ts.map +1 -1
  67. package/dist/src/components/Embed/Questionnaire/QuestionnaireInput/QuestionnaireInput.d.ts.map +1 -1
  68. package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/QuestionnaireNavigation.d.ts +2 -2
  69. package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/QuestionnaireNavigation.d.ts.map +1 -1
  70. package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/styles/index.d.ts +21 -15
  71. package/dist/src/components/Embed/Questionnaire/QuestionnaireNavigation/styles/index.d.ts.map +1 -1
  72. package/dist/src/components/Embed/Questionnaire/QuestionnaireQueueButton/styles/index.d.ts +1 -0
  73. package/dist/src/components/Embed/Questionnaire/QuestionnaireQueueButton/styles/index.d.ts.map +1 -1
  74. package/dist/src/components/Embed/Questionnaire/QuestionnaireRadio/styles/index.d.ts +10 -0
  75. package/dist/src/components/Embed/Questionnaire/QuestionnaireRadio/styles/index.d.ts.map +1 -1
  76. package/dist/src/components/Embed/Questionnaire/QuestionnaireRating/QuestionnaireRating.d.ts +6 -6
  77. package/dist/src/components/Embed/Questionnaire/QuestionnaireRating/QuestionnaireRating.d.ts.map +1 -1
  78. package/dist/src/components/Embed/Questionnaire/QuestionnaireTextarea/QuestionnaireTextarea.d.ts.map +1 -1
  79. package/dist/src/components/Embed/components/EmbedHero/EmbedHero.d.ts +2 -2
  80. package/dist/src/components/Embed/components/EmbedHero/EmbedHero.d.ts.map +1 -1
  81. package/dist/src/components/Embed/components/EmbedHero/styles/index.d.ts +112 -17
  82. package/dist/src/components/Embed/components/EmbedHero/styles/index.d.ts.map +1 -1
  83. package/dist/src/components/Embed/styles/questionnaire.d.ts +9 -2
  84. package/dist/src/components/Embed/styles/questionnaire.d.ts.map +1 -1
  85. package/dist/src/components/EmbedContext.d.ts +391 -27
  86. package/dist/src/components/EmbedContext.d.ts.map +1 -1
  87. package/dist/src/components/Icon/Icon.d.ts +18 -0
  88. package/dist/src/components/Icon/Icon.d.ts.map +1 -1
  89. package/dist/src/components/Jitsi/utils/connectivity.d.ts +12 -0
  90. package/dist/src/components/Jitsi/utils/connectivity.d.ts.map +1 -0
  91. package/dist/src/components/PrescriptionRenewalSurveyResults/types/index.d.ts +21 -0
  92. package/dist/src/components/PrescriptionRenewalSurveyResults/types/index.d.ts.map +1 -0
  93. package/dist/src/components/Progress/ProgressView.d.ts +7 -0
  94. package/dist/src/components/Progress/ProgressView.d.ts.map +1 -0
  95. package/dist/src/components/Progress/index.d.ts +3 -0
  96. package/dist/src/components/Progress/index.d.ts.map +1 -0
  97. package/dist/src/components/Queue/types/index.d.ts +1 -0
  98. package/dist/src/components/Queue/types/index.d.ts.map +1 -1
  99. package/dist/src/embed/components/embedWrapper.d.ts +1 -1
  100. package/dist/src/embed/components/embedWrapper.d.ts.map +1 -1
  101. package/dist/src/embed/listeners/channel.d.ts.map +1 -1
  102. package/dist/src/embed/listeners/index.d.ts.map +1 -1
  103. package/dist/src/embed/listeners/members.d.ts +11 -0
  104. package/dist/src/embed/listeners/members.d.ts.map +1 -0
  105. package/dist/src/embed/listeners/queue.d.ts +4 -1
  106. package/dist/src/embed/listeners/queue.d.ts.map +1 -1
  107. package/dist/src/embed/listeners/session.d.ts +13 -1
  108. package/dist/src/embed/listeners/session.d.ts.map +1 -1
  109. package/dist/src/embed/schemas/index.d.ts +3860 -337
  110. package/dist/src/embed/schemas/index.d.ts.map +1 -1
  111. package/dist/src/embed/styles/global.d.ts.map +1 -1
  112. package/dist/src/embed/styles/index.d.ts.map +1 -1
  113. package/dist/src/embed/types/events.d.ts +14 -1
  114. package/dist/src/embed/types/events.d.ts.map +1 -1
  115. package/dist/src/embed/utils/config/index.d.ts +389 -26
  116. package/dist/src/embed/utils/config/index.d.ts.map +1 -1
  117. package/dist/src/hooks/queueTime/ticketDurationData.d.ts +25 -0
  118. package/dist/src/hooks/queueTime/ticketDurationData.d.ts.map +1 -0
  119. package/dist/src/hooks/queueTime/ticketState.d.ts +20 -0
  120. package/dist/src/hooks/queueTime/ticketState.d.ts.map +1 -0
  121. package/dist/src/hooks/queueTime/useQueueTimeContext.d.ts +11 -0
  122. package/dist/src/hooks/queueTime/useQueueTimeContext.d.ts.map +1 -0
  123. package/dist/src/hooks/queueTime/useTicketDuration.d.ts +27 -0
  124. package/dist/src/hooks/queueTime/useTicketDuration.d.ts.map +1 -0
  125. package/dist/src/middlewares/ninchat/sessionless.d.ts.map +1 -1
  126. package/dist/src/middlewares/ui.d.ts.map +1 -1
  127. package/dist/src/navigation/types.d.ts +1 -0
  128. package/dist/src/navigation/types.d.ts.map +1 -1
  129. package/dist/src/selectors/ninchat/groups.d.ts +21 -0
  130. package/dist/src/selectors/ninchat/groups.d.ts.map +1 -0
  131. package/dist/src/state/ui.d.ts +3 -0
  132. package/dist/src/state/ui.d.ts.map +1 -1
  133. package/dist/src/stitches/config.d.ts +130 -0
  134. package/dist/src/stitches/config.d.ts.map +1 -1
  135. package/dist/src/stitches/config.defaults.d.ts +36 -0
  136. package/dist/src/stitches/config.defaults.d.ts.map +1 -1
  137. package/dist/src/stitches/config.embed.d.ts.map +1 -1
  138. package/dist/src/stitches/overrideEmbedTheme.d.ts.map +1 -1
  139. package/dist/src/stitches/themes.d.ts +13 -0
  140. package/dist/src/stitches/themes.d.ts.map +1 -1
  141. package/dist/src/store/types/ui.d.ts +1 -0
  142. package/dist/src/store/types/ui.d.ts.map +1 -1
  143. package/dist/src/types/members.d.ts +11 -0
  144. package/dist/src/types/members.d.ts.map +1 -0
  145. package/dist/src/types/ui.d.ts +1 -0
  146. package/dist/src/types/ui.d.ts.map +1 -1
  147. package/dist/src/utils/cache.service/index.d.ts +7 -0
  148. package/dist/src/utils/cache.service/index.d.ts.map +1 -1
  149. package/dist/src/utils/download/index.d.ts +2 -0
  150. package/dist/src/utils/download/index.d.ts.map +1 -0
  151. package/dist/src/utils/file/index.d.ts +34 -0
  152. package/dist/src/utils/file/index.d.ts.map +1 -0
  153. package/dist/src/utils/index.d.ts +3 -0
  154. package/dist/src/utils/index.d.ts.map +1 -0
  155. package/dist/src/utils/queueSettings/index.d.ts +34 -0
  156. package/dist/src/utils/queueSettings/index.d.ts.map +1 -0
  157. package/dist/src/utils/regexp/index.d.ts +6 -0
  158. package/dist/src/utils/regexp/index.d.ts.map +1 -0
  159. package/package.json +1 -1
package/README.md CHANGED
@@ -91,19 +91,26 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
91
91
  | `initialRoute` | `Route` | Initial route on application load (for app version only) (app variant) |
92
92
  | `colorScheme` | `'light' \| 'dark'` | Color scheme preference (app variant) |
93
93
  | `hideSidebar` | `boolean` | Hide application sidebar |
94
+ | `hideMenubar` | `boolean` | Hide application menubar/navbar |
95
+
94
96
 
95
97
  ### Config 'Queue' and 'Channel' variants properties
96
98
 
97
99
  | Key | Type | Description |
98
100
  |-----|------|-------------|
101
+ | `reverseEmbedHeroContentOrdering` | `boolean`| Reverse order of elements in hero, rotating spinner will be the last |
99
102
  | `scheduleAccessKey` | `string` | Access key for scheduled appointments |
100
103
  | `channelId` | `string` | Channel id for variant "channel" |
101
104
  | `audienceRealmId` | `string` | Realm identifier for audience (required) |
102
105
  | `audienceAutoQueue` | `string` | Automatic queue for audience |
103
106
  | `language` | `'fi' \| 'en' \| 'sv'` | Default language |
104
107
  | `translations` | `object {"string": "string"}` | Custom translation overrides (key-value pairs) |
108
+ | `chatThumbnailsSize` | `object` | Configuration for chat thumbnails |
109
+ | `chatThumbnailsSize.maxHeight` | `number` | Chat thumbnail maxHeight (150px defailt) |
110
+ | `chatThumbnailsSize.maxWidth` | `string` | Chat thumbnail maxWidth (150px default) |
105
111
  | `askUserName` | `boolean` | Force ask userName modal before entering first chat message |
106
112
  | `inQueueText` | `string` | Text shown when user is in queue |
113
+ | `conversationEndedButtonText`| `string` | Text displayed at the end of closed/ended conversation |
107
114
  | `showCloseConfirmation` | `boolean` | Show confirmation dialog on close |
108
115
  | `closeConfirmText` | `string` | Close confirmation message text |
109
116
  | `closeConfirmTitle` | `string` | Close confirmation title |
@@ -151,15 +158,30 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
151
158
  | `containerOptions.headerOptions.image.height` | `number` | Image height |
152
159
  | `containerOptions.headerOptions.actions` | `object` | Header action buttons |
153
160
  | `containerOptions.headerOptions.actions.close` | `object` | Close button configuration |
154
- | `containerOptions.headerOptions.actions.close.icon` | `boolean` | Show close icon |
161
+ | `containerOptions.headerOptions.actions.close.icon` | `object/boolean` | Close icon configuration - show/hide default icon |
162
+ | `containerOptions.headerOptions.actions.close.icon.src` | `string` | Image source URL |
163
+ | `containerOptions.headerOptions.actions.close.icon.alt` | `string` | Image alt text |
164
+ | `containerOptions.headerOptions.actions.close.icon.svg` | `string` | Inline SVG |
165
+ | `containerOptions.headerOptions.actions.close.icon.width` | `number` | Image width |
166
+ | `containerOptions.headerOptions.actions.close.icon.height` | `number` | Image height |
155
167
  | `containerOptions.headerOptions.actions.close.buttonTitle` | `string` | Close button title |
156
168
  | `containerOptions.headerOptions.actions.close.text` | `string` | Close button text |
157
169
  | `containerOptions.headerOptions.actions.dropdown` | `object` | Dropdown button configuration |
158
- | `containerOptions.headerOptions.actions.dropdown.icon` | `boolean` | Show dropdown icon |
170
+ | `containerOptions.headerOptions.actions.dropdown.icon` | `object/boolean` | Dropdown icon configuration - show/hide default icon |
171
+ | `containerOptions.headerOptions.actions.dropdown.icon.src` | `string` | Image source URL |
172
+ | `containerOptions.headerOptions.actions.dropdown.icon.alt` | `string` | Image alt text |
173
+ | `containerOptions.headerOptions.actions.dropdown.icon.svg` | `string` | Inline SVG |
174
+ | `containerOptions.headerOptions.actions.dropdown.icon.width` | `number` | Image width |
175
+ | `containerOptions.headerOptions.actions.dropdown.icon.height` | `number` | Image height |
159
176
  | `containerOptions.headerOptions.actions.dropdown.buttonTitle` | `string` | Dropdown button title |
160
177
  | `containerOptions.headerOptions.actions.dropdown.text` | `string` | Dropdown button text |
161
178
  | `containerOptions.headerOptions.actions.chatList` | `object` | Chat list button configuration |
162
- | `containerOptions.headerOptions.actions.chatList.icon` | `boolean` | Show chat list icon |
179
+ | `containerOptions.headerOptions.actions.chatList.icon` | `object/boolean` | ChatList icon configuration - show/hide default icon |
180
+ | `containerOptions.headerOptions.actions.chatList.icon.src` | `string` | Image source URL |
181
+ | `containerOptions.headerOptions.actions.chatList.icon.alt` | `string` | Image alt text |
182
+ | `containerOptions.headerOptions.actions.chatList.icon.svg` | `string` | Inline SVG |
183
+ | `containerOptions.headerOptions.actions.chatList.icon.width` | `number` | Image width |
184
+ | `containerOptions.headerOptions.actions.chatList.icon.height` | `number` | Image height |
163
185
  | `containerOptions.headerOptions.actions.chatList.buttonTitle` | `string` | Chat list button title |
164
186
  | `containerOptions.headerOptions.actions.chatList.text` | `string` | Chat list button text |
165
187
 
@@ -184,9 +206,9 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
184
206
  | `floatingOptions.ballOptions.offset` | `object` | Ball position offset |
185
207
  | `floatingOptions.ballOptions.offset.x` | `number` | Horizontal offset in pixels |
186
208
  | `floatingOptions.ballOptions.offset.y` | `number` | Vertical offset in pixels |
187
- | `floatingOptions.ballOptions.padding` | `object` | Ball padding |
188
- | `floatingOptions.ballOptions.padding.horizontal` | `number` | Horizontal padding in pixels |
189
- | `floatingOptions.ballOptions.padding.vertical` | `number` | Vertical padding in pixels |
209
+ | `floatingOptions.ballOptions.stateIcon` | `object` | Ball state icon config |
210
+ | `floatingOptions.ballOptions.stateIcon.width` | `number` | Ball state icon width |
211
+ | `floatingOptions.ballOptions.stateIcon.height` | `number` | Ball state icon height|
190
212
  | `floatingOptions.headerOptions` | `object` | Floating header configuration |
191
213
  | `floatingOptions.headerOptions.height` | `number` | Header height in pixels |
192
214
  | `floatingOptions.headerOptions.title` | `object` | Title text per state |
@@ -202,65 +224,140 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
202
224
  | `floatingOptions.headerOptions.actions` | `object` | Action buttons configuration |
203
225
  | `floatingOptions.headerOptions.actions.minimized` | `object` | Actions for minimized state |
204
226
  | `floatingOptions.headerOptions.actions.minimized.minimize` | `object` | Minimize button config |
205
- | `floatingOptions.headerOptions.actions.minimized.minimize.icon` | `boolean` | Show minimize icon |
227
+ | `floatingOptions.headerOptions.actions.minimized.minimize.icon` | `object/boolean` | Minimize icon configuration - show/hide default |
228
+ | `floatingOptions.headerOptions.actions.minimized.minimize.icon.src` | `string` | Image source URL |
229
+ | `floatingOptions.headerOptions.actions.minimized.minimize.icon.alt` | `string` | Image alt text |
230
+ | `floatingOptions.headerOptions.actions.minimized.minimize.icon.svg` | `string` | Inline SVG |
231
+ | `floatingOptions.headerOptions.actions.minimized.minimize.icon.width` | `number` | Image width |
232
+ | `floatingOptions.headerOptions.actions.minimized.minimize.icon.height` | `number` | Image height |
206
233
  | `floatingOptions.headerOptions.actions.minimized.minimize.buttonTitle` | `string` | Minimize button title |
207
234
  | `floatingOptions.headerOptions.actions.minimized.minimize.text` | `string` | Minimize button text |
208
235
  | `floatingOptions.headerOptions.actions.minimized.expand` | `object` | Expand button config |
209
- | `floatingOptions.headerOptions.actions.minimized.expand.icon` | `boolean` | Show expand icon |
236
+ | `floatingOptions.headerOptions.actions.minimized.expand.icon` |`object/boolean` | Expand icon configuration - show/hide default |
237
+ | `floatingOptions.headerOptions.actions.minimized.expand.icon.src` | `string` | Image source URL |
238
+ | `floatingOptions.headerOptions.actions.minimized.expand.icon.alt` | `string` | Image alt text |
239
+ | `floatingOptions.headerOptions.actions.minimized.expand.icon.svg` | `string` | Inline SVG |
240
+ | `floatingOptions.headerOptions.actions.minimized.expand.icon.width` | `number` | Image width |
241
+ | `floatingOptions.headerOptions.actions.minimized.expand.icon.height` | `number` | Image height |
210
242
  | `floatingOptions.headerOptions.actions.minimized.expand.buttonTitle` | `string` | Expand button title |
211
243
  | `floatingOptions.headerOptions.actions.minimized.expand.text` | `string` | Expand button text |
212
244
  | `floatingOptions.headerOptions.actions.minimized.close` | `object` | Close button config |
213
- | `floatingOptions.headerOptions.actions.minimized.close.icon` | `boolean` | Show close icon |
245
+ | `floatingOptions.headerOptions.actions.minimized.close.icon` |`object/boolean` | Close icon configuration - show/hide default |
246
+ | `floatingOptions.headerOptions.actions.minimized.close.icon.src` | `string` | Image source URL |
247
+ | `floatingOptions.headerOptions.actions.minimized.close.icon.alt` | `string` | Image alt text |
248
+ | `floatingOptions.headerOptions.actions.minimized.close.icon.svg` | `string` | Inline SVG |
249
+ | `floatingOptions.headerOptions.actions.minimized.close.icon.width` | `number` | Image width |
250
+ | `floatingOptions.headerOptions.actions.minimized.close.icon.height` | `number` | Image height |
214
251
  | `floatingOptions.headerOptions.actions.minimized.close.buttonTitle` | `string` | Close button title |
215
252
  | `floatingOptions.headerOptions.actions.minimized.close.text` | `string` | Close button text |
216
253
  | `floatingOptions.headerOptions.actions.minimized.dropdown` | `object` | Dropdown button config |
217
- | `floatingOptions.headerOptions.actions.minimized.dropdown.icon` | `boolean` | Show dropdown icon |
254
+ | `floatingOptions.headerOptions.actions.minimized.dropdown.icon` |`object/boolean` | Dropdown icon configuration - show/hide default |
255
+ | `floatingOptions.headerOptions.actions.minimized.dropdown.icon.src` | `string` | Image source URL |
256
+ | `floatingOptions.headerOptions.actions.minimized.dropdown.icon.alt` | `string` | Image alt text |
257
+ | `floatingOptions.headerOptions.actions.minimized.dropdowd.icon.svg` | `string` | Inline SVG |
258
+ | `floatingOptions.headerOptions.actions.minimized.dropdown.icon.width` | `number` | Image width |
259
+ | `floatingOptions.headerOptions.actions.minimized.dropdown.icon.height` | `number` | Image height |
218
260
  | `floatingOptions.headerOptions.actions.minimized.dropdown.buttonTitle` | `string` | Dropdown button title |
219
261
  | `floatingOptions.headerOptions.actions.minimized.dropdown.text` | `string` | Dropdown button text |
220
262
  | `floatingOptions.headerOptions.actions.minimized.chatList` | `object` | Chat list button config |
221
- | `floatingOptions.headerOptions.actions.minimized.chatList.icon` | `boolean` | Show chat list icon |
263
+ | `floatingOptions.headerOptions.actions.minimized.chatList.icon` |`object/boolean` | Chat list icon configuration - show/hide default |
264
+ | `floatingOptions.headerOptions.actions.minimized.chatList.icon.src` | `string` | Image source URL |
265
+ | `floatingOptions.headerOptions.actions.minimized.chatList.icon.alt` | `string` | Image alt text |
266
+ | `floatingOptions.headerOptions.actions.minimized.chatList.icon.svg` | `string` | Inline SVG |
267
+ | `floatingOptions.headerOptions.actions.minimized.chatList.icon.width` | `number` | Image width |
268
+ | `floatingOptions.headerOptions.actions.minimized.chatList.icon.height` | `number` | Image height |
222
269
  | `floatingOptions.headerOptions.actions.minimized.chatList.buttonTitle` | `string` | Chat list button title |
223
270
  | `floatingOptions.headerOptions.actions.minimized.chatList.text` | `string` | Chat list button text |
224
271
  | `floatingOptions.headerOptions.actions.open` | `object` | Actions for open state |
225
272
  | `floatingOptions.headerOptions.actions.open.minimize` | `object` | Minimize button config |
226
- | `floatingOptions.headerOptions.actions.open.minimize.icon` | `boolean` | Show minimize icon |
273
+ | `floatingOptions.headerOptions.actions.open.minimize.icon` | `object/boolean` | Minimize icon configuration - show/hide default |
274
+ | `floatingOptions.headerOptions.actions.open.minimize.icon.src` | `string` | Image source URL |
275
+ | `floatingOptions.headerOptions.actions.open.minimize.icon.alt` | `string` | Image alt text |
276
+ | `floatingOptions.headerOptions.actions.open.minimize.icon.svg` | `string` | Inline SVG |
277
+ | `floatingOptions.headerOptions.actions.open.minimize.icon.width` | `number` | Image width |
278
+ | `floatingOptions.headerOptions.actions.open.minimize.icon.height` | `number` | Image height |
227
279
  | `floatingOptions.headerOptions.actions.open.minimize.buttonTitle` | `string` | Minimize button title |
228
280
  | `floatingOptions.headerOptions.actions.open.minimize.text` | `string` | Minimize button text |
229
281
  | `floatingOptions.headerOptions.actions.open.expand` | `object` | Expand button config |
230
- | `floatingOptions.headerOptions.actions.open.expand.icon` | `boolean` | Show expand icon |
282
+ | `floatingOptions.headerOptions.actions.open.expand.icon` |`object/boolean` | Expand icon configuration - show/hide default |
283
+ | `floatingOptions.headerOptions.actions.open.expand.icon.src` | `string` | Image source URL |
284
+ | `floatingOptions.headerOptions.actions.open.expand.icon.alt` | `string` | Image alt text |
285
+ | `floatingOptions.headerOptions.actions.open.expand.icon.svg` | `string` | Inline SVG |
286
+ | `floatingOptions.headerOptions.actions.open.expand.icon.width` | `number` | Image width |
287
+ | `floatingOptions.headerOptions.actions.open.expand.icon.height` | `number` | Image height |
231
288
  | `floatingOptions.headerOptions.actions.open.expand.buttonTitle` | `string` | Expand button title |
232
289
  | `floatingOptions.headerOptions.actions.open.expand.text` | `string` | Expand button text |
233
290
  | `floatingOptions.headerOptions.actions.open.close` | `object` | Close button config |
234
- | `floatingOptions.headerOptions.actions.open.close.icon` | `boolean` | Show close icon |
291
+ | `floatingOptions.headerOptions.actions.open.close.icon` |`object/boolean` | Close icon configuration - show/hide default |
292
+ | `floatingOptions.headerOptions.actions.open.close.icon.src` | `string` | Image source URL |
293
+ | `floatingOptions.headerOptions.actions.open.close.icon.alt` | `string` | Image alt text |
294
+ | `floatingOptions.headerOptions.actions.open.close.icon.svg` | `string` | Inline SVG |
295
+ | `floatingOptions.headerOptions.actions.open.close.icon.width` | `number` | Image width |
296
+ | `floatingOptions.headerOptions.actions.open.close.icon.height` | `number` | Image height |
235
297
  | `floatingOptions.headerOptions.actions.open.close.buttonTitle` | `string` | Close button title |
236
298
  | `floatingOptions.headerOptions.actions.open.close.text` | `string` | Close button text |
237
299
  | `floatingOptions.headerOptions.actions.open.dropdown` | `object` | Dropdown button config |
238
- | `floatingOptions.headerOptions.actions.open.dropdown.icon` | `boolean` | Show dropdown icon |
300
+ | `floatingOptions.headerOptions.actions.open.dropdown.icon` |`object/boolean` | Dropdown icon configuration - show/hide default |
301
+ | `floatingOptions.headerOptions.actions.open.dropdown.icon.src` | `string` | Image source URL |
302
+ | `floatingOptions.headerOptions.actions.open.dropdown.icon.alt` | `string` | Image alt text |
303
+ | `floatingOptions.headerOptions.actions.open.dropdowd.icon.svg` | `string` | Inline SVG |
304
+ | `floatingOptions.headerOptions.actions.open.dropdown.icon.width` | `number` | Image width |
305
+ | `floatingOptions.headerOptions.actions.open.dropdown.icon.height` | `number` | Image height |
239
306
  | `floatingOptions.headerOptions.actions.open.dropdown.buttonTitle` | `string` | Dropdown button title |
240
307
  | `floatingOptions.headerOptions.actions.open.dropdown.text` | `string` | Dropdown button text |
241
308
  | `floatingOptions.headerOptions.actions.open.chatList` | `object` | Chat list button config |
242
- | `floatingOptions.headerOptions.actions.open.chatList.icon` | `boolean` | Show chat list icon |
309
+ | `floatingOptions.headerOptions.actions.open.chatList.icon` |`object/boolean` | Chat list icon configuration - show/hide default |
310
+ | `floatingOptions.headerOptions.actions.open.chatList.icon.src` | `string` | Image source URL |
311
+ | `floatingOptions.headerOptions.actions.open.chatList.icon.alt` | `string` | Image alt text |
312
+ | `floatingOptions.headerOptions.actions.open.chatList.icon.svg` | `string` | Inline SVG |
313
+ | `floatingOptions.headerOptions.actions.open.chatList.icon.width` | `number` | Image width |
314
+ | `floatingOptions.headerOptions.actions.open.chatList.icon.height` | `number` | Image height |
243
315
  | `floatingOptions.headerOptions.actions.open.chatList.buttonTitle` | `string` | Chat list button title |
244
316
  | `floatingOptions.headerOptions.actions.open.chatList.text` | `string` | Chat list button text |
245
317
  | `floatingOptions.headerOptions.actions.full` | `object` | Actions for expanded/full state |
246
318
  | `floatingOptions.headerOptions.actions.full.minimize` | `object` | Minimize button config |
247
- | `floatingOptions.headerOptions.actions.full.minimize.icon` | `boolean` | Show minimize icon |
319
+ | `floatingOptions.headerOptions.actions.full.minimize.icon` | `object/boolean` | Minimize icon configuration - show/hide default |
320
+ | `floatingOptions.headerOptions.actions.full.minimize.icon.src` | `string` | Image source URL |
321
+ | `floatingOptions.headerOptions.actions.full.minimize.icon.alt` | `string` | Image alt text |
322
+ | `floatingOptions.headerOptions.actions.full.minimize.icon.svg` | `string` | Inline SVG |
323
+ | `floatingOptions.headerOptions.actions.full.minimize.icon.width` | `number` | Image width |
324
+ | `floatingOptions.headerOptions.actions.full.minimize.icon.height` | `number` | Image height |
248
325
  | `floatingOptions.headerOptions.actions.full.minimize.buttonTitle` | `string` | Minimize button title |
249
326
  | `floatingOptions.headerOptions.actions.full.minimize.text` | `string` | Minimize button text |
250
327
  | `floatingOptions.headerOptions.actions.full.expand` | `object` | Expand button config |
251
- | `floatingOptions.headerOptions.actions.full.expand.icon` | `boolean` | Show expand icon |
328
+ | `floatingOptions.headerOptions.actions.full.expand.icon` |`object/boolean` | Expand icon configuration - show/hide default |
329
+ | `floatingOptions.headerOptions.actions.full.expand.icon.src` | `string` | Image source URL |
330
+ | `floatingOptions.headerOptions.actions.full.expand.icon.alt` | `string` | Image alt text |
331
+ | `floatingOptions.headerOptions.actions.full.expand.icon.svg` | `string` | Inline SVG |
332
+ | `floatingOptions.headerOptions.actions.full.expand.icon.width` | `number` | Image width |
333
+ | `floatingOptions.headerOptions.actions.full.expand.icon.height` | `number` | Image height |
252
334
  | `floatingOptions.headerOptions.actions.full.expand.buttonTitle` | `string` | Expand button title |
253
335
  | `floatingOptions.headerOptions.actions.full.expand.text` | `string` | Expand button text |
254
336
  | `floatingOptions.headerOptions.actions.full.close` | `object` | Close button config |
255
- | `floatingOptions.headerOptions.actions.full.close.icon` | `boolean` | Show close icon |
337
+ | `floatingOptions.headerOptions.actions.full.close.icon` |`object/boolean` | Close icon configuration - show/hide default |
338
+ | `floatingOptions.headerOptions.actions.full.close.icon.src` | `string` | Image source URL |
339
+ | `floatingOptions.headerOptions.actions.full.close.icon.alt` | `string` | Image alt text |
340
+ | `floatingOptions.headerOptions.actions.full.close.icon.svg` | `string` | Inline SVG |
341
+ | `floatingOptions.headerOptions.actions.full.close.icon.width` | `number` | Image width |
342
+ | `floatingOptions.headerOptions.actions.full.close.icon.height` | `number` | Image height |
256
343
  | `floatingOptions.headerOptions.actions.full.close.buttonTitle` | `string` | Close button title |
257
344
  | `floatingOptions.headerOptions.actions.full.close.text` | `string` | Close button text |
258
345
  | `floatingOptions.headerOptions.actions.full.dropdown` | `object` | Dropdown button config |
259
- | `floatingOptions.headerOptions.actions.full.dropdown.icon` | `boolean` | Show dropdown icon |
346
+ | `floatingOptions.headerOptions.actions.full.dropdown.icon` |`object/boolean` | Dropdown icon configuration - show/hide default |
347
+ | `floatingOptions.headerOptions.actions.full.dropdown.icon.src` | `string` | Image source URL |
348
+ | `floatingOptions.headerOptions.actions.full.dropdown.icon.alt` | `string` | Image alt text |
349
+ | `floatingOptions.headerOptions.actions.full.dropdowd.icon.svg` | `string` | Inline SVG |
350
+ | `floatingOptions.headerOptions.actions.full.dropdown.icon.width` | `number` | Image width |
351
+ | `floatingOptions.headerOptions.actions.full.dropdown.icon.height` | `number` | Image height |
260
352
  | `floatingOptions.headerOptions.actions.full.dropdown.buttonTitle` | `string` | Dropdown button title |
261
353
  | `floatingOptions.headerOptions.actions.full.dropdown.text` | `string` | Dropdown button text |
262
354
  | `floatingOptions.headerOptions.actions.full.chatList` | `object` | Chat list button config |
263
- | `floatingOptions.headerOptions.actions.full.chatList.icon` | `boolean` | Show chat list icon |
355
+ | `floatingOptions.headerOptions.actions.full.chatList.icon` |`object/boolean` | Chat list icon configuration - show/hide default |
356
+ | `floatingOptions.headerOptions.actions.full.chatList.icon.src` | `string` | Image source URL |
357
+ | `floatingOptions.headerOptions.actions.full.chatList.icon.alt` | `string` | Image alt text |
358
+ | `floatingOptions.headerOptions.actions.full.chatList.icon.svg` | `string` | Inline SVG |
359
+ | `floatingOptions.headerOptions.actions.full.chatList.icon.width` | `number` | Image width |
360
+ | `floatingOptions.headerOptions.actions.full.chatList.icon.height` | `number` | Image height |
264
361
  | `floatingOptions.headerOptions.actions.full.chatList.buttonTitle` | `string` | Chat list button title |
265
362
  | `floatingOptions.headerOptions.actions.full.chatList.text` | `string` | Chat list button text |
266
363
  | `floatingOptions.promoBubble` | `object` | Promotional bubble configuration |
@@ -296,6 +393,9 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
296
393
  | `customFonts[].weight` | `string \| number` | Font weight |
297
394
  | `customFonts[].style` | `'normal' \| 'italic' \| 'bold'` | Font style |
298
395
  | `customFonts[].src` | `string` | Font file URL (required) |
396
+ | `customFonts[].ascentOverride` | `string` | `@font-face` ascent-override descriptor (e.g. `'90%'`). Normalizes the font's intrinsic ascent metric to keep line-box height consistent across browsers (notably Firefox) |
397
+ | `customFonts[].descentOverride` | `string` | `@font-face` descent-override descriptor (e.g. `'22%'`). Normalizes the font's intrinsic descent metric to keep line-box height consistent across browsers |
398
+ | `customFonts[].lineGapOverride` | `string` | `@font-face` line-gap-override descriptor (e.g. `'0%'`). Normalizes the font's intrinsic line gap to keep line-box height consistent across browsers |
299
399
  | `colors.buttonFilledBackground` | `string` | Button filled background color |
300
400
  | `colors.buttonFilledBackgroundActive` | `string` | Button filled background color (active) |
301
401
  | `colors.buttonFilledBackgroundDisabled` | `string` | Button filled background color (disabled) |
@@ -329,7 +429,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
329
429
  | `colors.buttonBorderHover` | `string` | Button border color (hover) |
330
430
  | `colors.buttonText` | `string` | Button text color |
331
431
  | `colors.buttonTextActive` | `string` | Button text color (active) |
332
- | `colors.buttonTextdDisabled` | `string` | Button text color (disabled) |
432
+ | `colors.buttonTextDisabled` | `string` | Button text color (disabled) |
333
433
  | `colors.buttonTextFocus` | `string` | Button text color (focus) |
334
434
  | `colors.buttonTextHover` | `string` | Button text color (hover) |
335
435
  | `colors.buttonIcon` | `string` | Button icon color |
@@ -380,6 +480,11 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
380
480
  | `colors.buttonSendIconFocus` | `string` | Send button icon color (focus) |
381
481
  | `colors.buttonSendIconHover` | `string` | Send button icon color (hover) |
382
482
  | `colors.buttonSendOutlineFocus` | `string` | Send button focus outline color |
483
+ | `colors.buttonCommandBarBorder` | `string` | Command bar button border color |
484
+ | `colors.buttonCommandBarBorderActive` | `string` | Command bar button border color (active) |
485
+ | `colors.buttonCommandBarBorderDisabled` | `string` | Command bar button border color (disabled) |
486
+ | `colors.buttonCommandBarBorderFocus` | `string` | Command bar button border color (focus) |
487
+ | `colors.buttonCommandBarBorderHover` | `string` | Command bar button border color (hover) |
383
488
  | `colors.buttonVideoBackground` | `string` | Video button background color |
384
489
  | `colors.buttonVideoBackgroundActive` | `string` | Video button background color (active) |
385
490
  | `colors.buttonVideoBackgroundDisabled` | `string` | Video button background color (disabled) |
@@ -403,10 +508,13 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
403
508
  | `colors.buttonVideoOutlineFocus` | `string` | Video button focus outline color |
404
509
  | `colors.questionnaireRadioBackground` | `string` | Radio button background color |
405
510
  | `colors.questionnaireRadioBackgroundSelected` | `string` | Radio button background color (selected) |
511
+ | `colors.questionnaireRadioBackgroundHover` | `string` | Radio button background hover |
406
512
  | `colors.questionnaireRadioBorder` | `string` | Radio button border color |
407
513
  | `colors.questionnaireRadioBorderSelected` | `string` | Radio button border color (selected) |
514
+ | `colors.questionnaireRadioBorderHover` | `string`| Radio button border hover color |
408
515
  | `colors.questionnaireRadioText` | `string` | Radio button text color |
409
516
  | `colors.questionnaireRadioTextSelected` | `string` | Radio button text color (selected) |
517
+ | `colors.questionnaireRadioTextHover` | `string`| Radio button text hover color |
410
518
  | `colors.questionnaireRadioFocusOutline` | `string` | Radio button focus outline color |
411
519
  | `colors.modalBackground` | `string` | Modal background color |
412
520
  | `colors.modalHeaderBackground` | `string` | Modal header background color |
@@ -521,11 +629,16 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
521
629
  | `colors.floatingEmbedHeaderSubtitle` | `string` | Floating embed header subtitle color |
522
630
  | `colors.floatingEmbedHeaderButton` | `string` | Floating embed header button color |
523
631
  | `colors.floatingEmbedHeaderButtonIcon` | `string` | Floating embed header button icon color |
632
+ | `colors.floatingEmbedHeaderButtonHover` | `string` | Floating embed header button hover color |
633
+ | `colors.floatingEmbedHeaderButtonIconHiver` | `string` | Floating embed header button icon hover color |
524
634
  | `colors.floatingEmbedHeaderButtonBackground` | `string` | Floating embed header button background color |
525
635
  | `colors.floatingEmbedHeaderButtonBorder` | `string` | Floating embed header button border color |
526
636
  | `colors.floatingEmbedHeaderButtonHoverBackground` | `string` | Floating embed header button background (hover) |
527
637
  | `colors.floatingEmbedHeaderButtonFocusBackground` | `string` | Floating embed header button background (focus) |
528
638
  | `colors.floatingEmbedHeaderButtonActiveOutline` | `string` | Floating embed header button outline (active) |
639
+ | `colors.floatingEmbedHeaderAvatar` | `string` | Floating embed header avatar text color |
640
+ | `colors.floatingEmbedHeaderAvatarBackground` | `string` | Floating embed header avatar background color |
641
+ | `colors.floatingEmbedHeaderAvatarBorder` | `string` | Floating embed header avatar border color |
529
642
  | `colors.floatingEmbedBall` | `string` | Floating embed ball background color |
530
643
  | `colors.floatingEmbedBallHover` | `string` | Floating embed ball background color (hover) |
531
644
  | `colors.floatingEmbedBallActive` | `string` | Floating embed ball background color (active) |
@@ -540,6 +653,8 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
540
653
  | `colors.containerEmbedHeaderSubtitle` | `string` | Container embed header subtitle color |
541
654
  | `colors.containerEmbedHeaderButton` | `string` | Container embed header button color |
542
655
  | `colors.containerEmbedHeaderButtonIcon` | `string` | Container embed header button icon color |
656
+ | `colors.containerEmbedHeaderButtonHover` | `string` | Container embed header button hover color |
657
+ | `colors.containerEmbedHeaderButtonIconHover` | `string` | Container embed header button icon hover color |
543
658
  | `colors.containerEmbedHeaderButtonBackground` | `string` | Container embed header button background color |
544
659
  | `colors.containerEmbedHeaderButtonBorder` | `string` | Container embed header button border color |
545
660
  | `colors.containerEmbedHeaderButtonHoverBackground` | `string` | Container embed header button background (hover) |
@@ -555,19 +670,29 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
555
670
  | `colors.embedBodyBold` | `string` | Embed body bold text color |
556
671
  | `colors.embedBodyBackground` | `string` | Embed body background color |
557
672
  | `colors.embedErrorTitle` | `string` | Embed error title color |
673
+ | `colors.embedHeadingHighlighted` | `string` | Embed body heading highlighted color |
558
674
  | `colors.embedHero` | `string` | Embed hero text color |
559
675
  | `colors.embedHeroBorder` | `string` | Embed hero border color |
560
676
  | `colors.embedHeroBackground` | `string` | Embed hero background color |
561
- | `colors.embedHeroAvatar` | `string` | Embed hero avatar background color |
677
+ | `colors.embedHeroAvatar` | `string` | Embed hero avatar text color |
678
+ | `colors.embedHeroAvatarBackground` | `string` | Embed hero avatar background color |
562
679
  | `colors.embedHeroAvatarBorder` | `string` | Embed hero avatar border color |
680
+ | `colors.embedHeroTitle` | `string` | Embed hero title color |
681
+ | `colors.embedHeroTitleInQueue` | `string` | Embed hero title in queue color |
563
682
  | `colors.embedHeroSubtitle` | `string` | Embed hero subtitle color |
683
+ | `colors.embedHeroSubtitleInQueue` | `string` | Embed hero subtitle in queue color |
684
+ | `colors.embedHeroErrorTitle` | `string` | Embed hero error title color |
685
+ | `colors.embedHeroErrorMessage` | `string` | Embed hero error message color |
564
686
  | `colors.embedQueuePosition` | `string` | Embed queue position text color |
565
687
  | `colors.embedQueueSpinner` | `string` | Embed queue spinner color |
688
+ | `colors.embedModalHeader` | `string` | Embed modal header color |
689
+ | `colors.questionnaireErrorTitle` | `string` | Embed error title color |
566
690
  | `colors.questionnaireNavigation` | `string` | Questionnaire navigation color |
691
+ | `colors.questionnaireNavigationBorder` | `string` | Questionnaire navigation bordercolor |
567
692
  | `colors.questionnaireEmojiGood` | `string` | Questionnaire good emoji color |
568
- | `colors.questionnaireEmojiAvarageGood` | `string` | Questionnaire above average emoji color |
569
- | `colors.questionnaireEmojiAvarage` | `string` | Questionnaire average emoji color |
570
- | `colors.questionnaireEmojiAvarageBad` | `string` | Questionnaire below average emoji color |
693
+ | `colors.questionnaireEmojiAverageGood` | `string` | Questionnaire above average emoji color |
694
+ | `colors.questionnaireEmojiAverage` | `string` | Questionnaire average emoji color |
695
+ | `colors.questionnaireEmojiAverageBad` | `string` | Questionnaire below average emoji color |
571
696
  | `colors.questionnaireEmojiBad` | `string` | Questionnaire bad emoji color |
572
697
  | `colors.questionnaireLink` | `string` | Questionnaire link color |
573
698
  | `colors.questionnaireLinkHover` | `string` | Questionnaire link color (hover) |
@@ -590,6 +715,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
590
715
  | `colors.messageInfo` | `string` | Message info background color |
591
716
  | `colors.messageInfoBorder` | `string` | Message info border color |
592
717
  | `colors.messageInfoText` | `string` | Message info text color |
718
+ | `colors.messageInfoIconSuccess` | `string` | Message info icon success color |
593
719
  | `colors.messageInfoTimestamp` | `string` | Message info timestamp color |
594
720
  | `colors.messageInfoIcon` | `string` | Message info icon color |
595
721
  | `colors.messageInfoLink` | `string` | Message info link color |
@@ -619,6 +745,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
619
745
  | `borderStyles.button` | `string` | Button border style |
620
746
  | `borderStyles.buttonText` | `string` | Text button border style |
621
747
  | `borderStyles.buttonSend` | `string` | Send button border style |
748
+ | `borderStyles.buttonCommandBar` | `string` | Command bar buttons border style |
622
749
  | `borderStyles.buttonVideo` | `string` | Video button border style |
623
750
  | `borderStyles.modal` | `string` | Modal border style |
624
751
  | `borderStyles.input` | `string` | Input border style |
@@ -632,6 +759,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
632
759
  | `borderStyles.messageSpeechBubbleOther` | `string` | Other user speech bubble border style |
633
760
  | `borderStyles.questionnaireLightBotBubble` | `string` | Questionnaire light bot bubble border style |
634
761
  | `borderStyles.questionnaireLightBotAnswerBubble` | `string` | Questionnaire light bot answer bubble border style |
762
+ | `borderStyles.questionnaireNavigation` | `string` | Questionnaire navigation border style |
635
763
  | `borderWidths.embedHero` | `string` | Embed hero border width |
636
764
  | `borderWidths.floatingEmbedHeaderBorder` | `string` | Floating embed header border width |
637
765
  | `borderWidths.containerEmbedHeaderBorder` | `string` | Container embed header border width |
@@ -639,6 +767,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
639
767
  | `borderWidths.button` | `string` | Button border width |
640
768
  | `borderWidths.buttonText` | `string` | Text button border width |
641
769
  | `borderWidths.buttonSend` | `string` | Send button border width |
770
+ | `borderWidths.buttonCommandBar` | `string` | Command bar buttons border width |
642
771
  | `borderWidths.buttonVideo` | `string` | Video button border width |
643
772
  | `borderWidths.modal` | `string` | Modal border width |
644
773
  | `borderWidths.input` | `string` | Input border width |
@@ -652,6 +781,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
652
781
  | `borderWidths.messageSpeechBubbleOther` | `string` | Other user speech bubble border width |
653
782
  | `borderWidths.questionnaireLightBotBubble` | `string` | Questionnaire light bot bubble border width |
654
783
  | `borderWidths.questionnaireLightBotAnswerBubble` | `string` | Questionnaire light bot answer bubble border width |
784
+ | `borderWidths.questionnaireNavigation` | `string` | Questionnaire navigation border width |
655
785
  | `fonts.floatingEmbedBall` | `string` | Floating embed ball font family |
656
786
  | `fonts.floatingEmbedHeaderTitle` | `string` | Floating embed header title font family |
657
787
  | `fonts.floatingEmbedHeaderSubtitle` | `string` | Floating embed header subtitle font family |
@@ -668,7 +798,14 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
668
798
  | `fonts.embedBodyHeading5` | `string` | Embed body heading 5 font family |
669
799
  | `fonts.embedBodyHeading6` | `string` | Embed body heading 6 font family |
670
800
  | `fonts.embedHero` | `string` | Embed hero font family |
801
+ | `fonts.embedHeroTitle` | `string` | Embed hero title font family |
802
+ | `fonts.embedHeroAvatar` | `string` | Embed hero avatar font family |
803
+ | `fonts.embedHeroTitleInQueue` | `string` | Embed hero title in queue font family |
671
804
  | `fonts.embedHeroSubtitle` | `string` | Embed hero subtitle font family |
805
+ | `fonts.embedHeroSubtitleInQueue` | `string` | Embed hero subtitle in queue font family |
806
+ | `fonts.embedHeroErrorTitle` | `string` | Embed hero error title font family |
807
+ | `fonts.embedHeroErrorMessage` | `string` | Embed hero error message font family |
808
+ | `fonts.embedModalHeader` | `string` | Embed Modal heater font family |
672
809
  | `fonts.questionnaireLink` | `string` | Questionnaire link font family |
673
810
  | `fonts.buttonFilled` | `string` | Filled button font family |
674
811
  | `fonts.button` | `string` | Button font family |
@@ -686,6 +823,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
686
823
  | `fonts.questionnaireLightBotBubble` | `string` | Questionnaire light bot bubble font family |
687
824
  | `fonts.questionnaireLightBotAnswerBubble` | `string` | Questionnaire light bot answer bubble font family |
688
825
  | `fontSizes.floatingEmbedBall` | `string` | Floating embed ball font size |
826
+ | `fontSizes.floatingEmbedBallState` | `string` | Floating embed ball state font size |
689
827
  | `fontSizes.floatingEmbedHeaderTitle` | `string` | Floating embed header title font size |
690
828
  | `fontSizes.floatingEmbedHeaderSubtitle` | `string` | Floating embed header subtitle font size |
691
829
  | `fontSizes.floatingEmbedHeaderButton` | `string` | Floating embed header button font size |
@@ -693,6 +831,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
693
831
  | `fontSizes.containerEmbedHeaderTitle` | `string` | Container embed header title font size |
694
832
  | `fontSizes.containerEmbedHeaderSubtitle` | `string` | Container embed header subtitle font size |
695
833
  | `fontSizes.containerEmbedHeaderButton` | `string` | Container embed header button font size |
834
+ | `fontSizes.containerEmbedHeaderAvatar` | `string` | Container embed header avatar font size |
696
835
  | `fontSizes.embedBody` | `string` | Embed body font size |
697
836
  | `fontSizes.embedBodyHeading1` | `string` | Embed body heading 1 font size |
698
837
  | `fontSizes.embedBodyHeading2` | `string` | Embed body heading 2 font size |
@@ -701,7 +840,15 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
701
840
  | `fontSizes.embedBodyHeading5` | `string` | Embed body heading 5 font size |
702
841
  | `fontSizes.embedBodyHeading6` | `string` | Embed body heading 6 font size |
703
842
  | `fontSizes.embedHero` | `string` | Embed hero font size |
843
+ | `fontSizes.embedHeroTitle` | `string` | Embed hero title font size |
844
+ | `fontSizes.embedHeroAvatar` | `string` | Embed hero avatar font size |
845
+ | `fontSizes.embedHeroTitleInQueue` | `string` | Embed hero title in queue font size |
704
846
  | `fontSizes.embedHeroSubtitle` | `string` | Embed hero subtitle font size |
847
+ | `fontSizes.embedHeroSubtitleInQueue` | `string` | Embed hero subtitle in queue font size |
848
+ | `fontSizes.embedHeroErrorTitle` | `string` | Embed hero error title font size |
849
+ | `fontSizes.embedHeroErrorMessage` | `string` | Embed hero error message font size |
850
+ | `fontSizes.embedQueuePosition` | `string` | Embed queue spinner position text size |
851
+ | `fontSizes.embedModalHeader` | `string` | Embed modal header text size |
705
852
  | `fontSizes.questionnaireLink` | `string` | Questionnaire link font size |
706
853
  | `fontSizes.questionnaireLabel` | `string` | Questionnaire label font size |
707
854
  | `fontSizes.questionnaireLabelDescription` | `string` | Questionnaire label description font size |
@@ -721,6 +868,8 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
721
868
  | `fontSizes.questionnaireLightBotUsername` | `string` | Questionnaire light bot avatar name font size |
722
869
  | `fontSizes.questionnaireLightBotBubble` | `string` | Questionnaire light bot bubble font size |
723
870
  | `fontSizes.questionnaireLightBotAnswerBubble` | `string` | Questionnaire light bot answer bubble font size|
871
+ | `fontSizes.floatingEmbedHeaderInQueueLoader` | `string` | Floating Embed Header in queue loader position font size |
872
+ | `fontSizez.floatingEmbedHeaderAvatar` | `string` | Floating Embed header Avatar font size |
724
873
  | `fontStyle.embedBody` | `string` | Embed body font style |
725
874
  | `fontStyle.embedBodyHeading1` | `string` | Embed body heading 1 font style |
726
875
  | `fontStyle.embedBodyHeading2` | `string` | Embed body heading 2 font style |
@@ -729,7 +878,14 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
729
878
  | `fontStyle.embedBodyHeading5` | `string` | Embed body heading 5 font style |
730
879
  | `fontStyle.embedBodyHeading6` | `string` | Embed body heading 6 font style |
731
880
  | `fontStyle.embedHero` | `string` | Embed hero font style |
881
+ | `fontStyle.embedHeroTitle` | `string` | Embed hero title font style |
882
+ | `fontStyle.embedHeroAvatar` | `string` | Embed hero avatar font style |
883
+ | `fontStyle.embedHeroTitleInQueue` | `string` | Embed hero title in queue font style |
732
884
  | `fontStyle.embedHeroSubtitle` | `string` | Embed hero subtitle font style |
885
+ | `fontStyle.embedHeroSubtitleInQueue` | `string` | Embed hero subtitle in queue font style |
886
+ | `fontStyle.embedHeroErrorTitle` | `string` | Embed hero error title font style |
887
+ | `fontStyle.embedHeroErrorMessage` | `string` | Embed hero error message font style |
888
+ | `fontStyle.embedModalHeader` | `string` | Embed modal header font style |
733
889
  | `fontStyle.questionnaireLink` | `string` | Questionnaire link font style |
734
890
  | `fontStyle.questionnaireLabel` | `string` | Questionnaire label font style |
735
891
  | `fontStyle.questionnaireLabelDescription` | `string` | Questionnaire label description font style |
@@ -756,7 +912,14 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
756
912
  | `fontVariant.embedBodyHeading5` | `string` | Embed body heading 5 font variant |
757
913
  | `fontVariant.embedBodyHeading6` | `string` | Embed body heading 6 font variant |
758
914
  | `fontVariant.embedHero` | `string` | Embed hero font variant |
915
+ | `fontVariant.embedHeroTitle` | `string` | Embed hero title font variant |
916
+ | `fontVariant.embedHeroAvatar` | `string` | Embed hero avatar font variant |
917
+ | `fontVariant.embedHeroTitleInQueue` | `string` | Embed hero title in queue font variant |
759
918
  | `fontVariant.embedHeroSubtitle` | `string` | Embed hero subtitle font variant |
919
+ | `fontVariant.embedHeroSubtitleInQueue` | `string` | Embed hero subtitle in queue font variant |
920
+ | `fontVariant.embedHeroErrorTitle` | `string` | Embed hero error title font variant |
921
+ | `fontVariant.embedHeroErrorMessage` | `string` | Embed hero error message font variant |
922
+ | `fontVariant.embedModalHeader` | `string` | Embed modal header font variant |
760
923
  | `fontVariant.questionnaireLink` | `string` | Questionnaire link font variant |
761
924
  | `fontVariant.questionnaireLabel` | `string` | Questionnaire label font variant |
762
925
  | `fontVariant.questionnaireLabelDescription` | `string` | Questionnaire label description font variant |
@@ -790,7 +953,14 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
790
953
  | `fontWeights.embedBodyHeading5` | `string` | Embed body heading 5 font weight |
791
954
  | `fontWeights.embedBodyHeading6` | `string` | Embed body heading 6 font weight |
792
955
  | `fontWeights.embedHero` | `string` | Embed hero font weight |
956
+ | `fontWeights.embedHeroTitle` | `string` | Embed hero title font weight |
957
+ | `fontWeights.embedHeroAvatar` | `string` | Embed hero avatar font weight |
958
+ | `fontWeights.embedHeroTitleInQueue` | `string` | Embed hero title in queue font weight |
793
959
  | `fontWeights.embedHeroSubtitle` | `string` | Embed hero subtitle font weight |
960
+ | `fontWeights.embedHeroSubtitleInQueue` | `string` | Embed hero subtitle in queue font weight |
961
+ | `fontWeights.embedHeroErrorTitle` | `string` | Embed hero error title font weight |
962
+ | `fontWeights.embedHeroErrorMessage` | `string` | Embed hero error message font weight |
963
+ | `fontWeights.embedModalHeader` | `string` | Embed modal header font weight |
794
964
  | `fontWeights.questionnaireLink` | `string` | Questionnaire link font weight |
795
965
  | `fontWeights.questionnaireLabel` | `string` | Questionnaire label font weight |
796
966
  | `fontWeights.questionnaireLabelDescription` | `string` | Questionnaire label description font weight |
@@ -810,20 +980,54 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
810
980
  | `fontWeights.questionnaireLightBotBubble` | `string` | Questionnaire light bot bubble font weight |
811
981
  | `fontWeights.questionnaireLightBotAnswerBubble` | `string` | Questionnaire light bot answer bubble font weight |
812
982
  | `maxWidths.questionnaire` | `string` | Questionnaire maximum width |
983
+ | `maxWidths.questionnaireNavigation` | `string` | Questionnaire navigation maximum width |
984
+ | `sizes.embedQueueSpinner` | `string` | In Queue Spinner size |
985
+ | `sizes.floatingEmbedBallInQueueLoader` | `string` | Floating emebed ball in queue loader size |
986
+ | `sizes.floatingEmbedBallVideoIcon` | `string` | Floating embed ball in video icon size |
987
+ | `sizes.floatingEmbedBallNewMessageIcon` | `string` | Floating embed ball new message icon size |
988
+ | `sizes.floatingEmbedHeaderInQueueLoader` | `string` | Floating emebed header in queue loader size |
989
+ | `sizes.floatingEmbedHeaderVideoIcon` | `string` | Floating embed header in video icon size |
990
+ | `sizes.floatingEmbedHeaderNewMessageIcon` | `string` | Floating embed header new message icon size |
991
+ | `sizes.floatingEmbedHeaderAvatar` | `string` | Floating embed header avatar size |
992
+ | `sizes.containerEmbedHeaderAvatar` | `string` | Container embed header avatar size |
993
+ ' `sizes.chatTextareaMaxHeight` | `string` | Chat textarea max height |
994
+ | `space.embedHeroTitle` | `string` | Embed hero title margin |
995
+ | `space.embedHeroTitleInQueue` | `string` | Embed hero title in queue margin |
996
+ | `space.embedHeroSubtitle` | `string` | Embed hero subtitle margin |
997
+ | `space.embedHeroSubtitleInQueue` | `string` | Embed hero subtitle in queue margin |
998
+ | `space.embedHeroErrorTitle` | `string` | Embed hero error title margin |
999
+ | `space.embedHeroErrorMessage` | `string` | Embed hero error message margin |
813
1000
  | `space.embedHero` | `string` | Embed hero spacing |
814
- | `space.buttonSend` | `string` | Send button spacing |
1001
+ | `space.button` | `string` | Default padding for all questionnaire and modal buttons (send and video have separate configs) |
1002
+ | `space.buttonSend` | `string` | Send button padding |
1003
+ | `space.buttonSendMargin` | `string` | Send button margin |
1004
+ | `space.buttonCommandBar` | `string` | Command bar buttons padding |
1005
+ | `space.buttonCommandBarMargin` | `string` | Command bar buttons margin |
815
1006
  | `space.buttonVideo` | `string` | Video button spacing |
1007
+ | `space.inQueueText` | `string` | inQueueText text spacing |
1008
+ | `space.input` | `string` | Questionnaire input padding |
1009
+ | `space.inputModal` | `string` | Embed input modal padding |
1010
+ | `space.floatingEmbedHeaderButton` | `string` | Floating Embed header button padding |
1011
+ | `space.containerEmbedHeaderButton` | `string` | Container Embed header button padding |
1012
+ | `space.floatingEmbedHeader` | `string` | Floating Embed header padding (fixed width and height still will be in use) |
1013
+ | `space.containerEmbedHeader` | `string` | Container Embed headerpadding (fixed width and height still will be in use) |
1014
+ | `space.floatingEmbedBall` | `string` | Floating embed ball padding |
1015
+ | `space.messageSpeechBubbleOther` | `string` | Other user speech bubble padding |
1016
+ | `space.messageSpeechBubbleOperatorModerator` | `string` | Operator/moderator speech bubble padding |
816
1017
  | `zIndices.floatingEmbed` | `number` | Floating embed z-index |
817
1018
  | `zIndices.floatingEmbedBall` | `number` | Floating embed ball z-index |
818
1019
  | `zIndices.containerHeader` | `number` | Container header z-index |
819
1020
  | `radii.floatingEmbed` | `string` | Floating embed border radius |
820
1021
  | `radii.floatingEmbedBall` | `string` | Floating embed ball border radius |
821
1022
  | `radii.floatingEmbedPromoBubble` | `string` | Floating embed promo bubble border radius |
1023
+ | `radii.floatingEmbedHeaderButton` | `string` | Floating embed header button border radius |
1024
+ | `radii.containerEmbedHeaderButton` | `string` | Container embed header button border radius |
822
1025
  | `radii.embedHero` | `string` | Embed hero border radius |
823
1026
  | `radii.buttonFilled` | `string` | Filled button border radius |
824
1027
  | `radii.button` | `string` | Button border radius |
825
1028
  | `radii.buttonText` | `string` | Text button border radius |
826
1029
  | `radii.buttonSend` | `string` | Send button border radius |
1030
+ | `radii.buttonCommandBar` | `string` | Command bar buttons border radius |
827
1031
  | `radii.buttonVideo` | `string` | Video button border radius |
828
1032
  | `radii.modal` | `string` | Modal border radius |
829
1033
  | `radii.input` | `string` | Input border radius |
@@ -848,7 +1052,14 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
848
1052
  | `lineHeights.embedBodyHeading5` | `string` | Embed body heading 5 line height |
849
1053
  | `lineHeights.embedBodyHeading6` | `string` | Embed body heading 6 line height |
850
1054
  | `lineHeights.embedHero` | `string` | Embed hero line height |
1055
+ | `lineHeights.embedHeroTitle` | `string` | Embed hero title line height |
1056
+ | `lineHeights.embedHeroAvatar` | `string` | Embed hero avatar line height |
1057
+ | `lineHeights.embedHeroTitleInQueue` | `string` | Embed hero title in queue line height |
851
1058
  | `lineHeights.embedHeroSubtitle` | `string` | Embed hero subtitle line height |
1059
+ | `lineHeights.embedHeroSubtitleInQueue` | `string` | Embed hero subtitle in queue line height |
1060
+ | `lineHeights.embedHeroErrorTitle` | `string` | Embed hero error title line height |
1061
+ | `lineHeights.embedHeroErrorMessage` | `string` | Embed hero error message line height |
1062
+ | `lineHeights.embedModalHeader` | `string` | Embed modal header line height |
852
1063
  | `lineHeights.buttonFilled` | `string` | Filled button line height |
853
1064
  | `lineHeights.button` | `string` | Button line height |
854
1065
  | `lineHeights.buttonText` | `string` | Text button line height |
@@ -923,6 +1134,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
923
1134
  | `color` | `string` | Text color |
924
1135
  | `padding` | `string` | Padding around text |
925
1136
  | `margin` | `string` | Margin around element |
1137
+ ' `fontSize`| `string` | Text component default font size |
926
1138
  | `hide` | `boolean` | Whether element is hidden by default |
927
1139
  | `logic` | `object` | Conditional logic for element |
928
1140
  | `logic.conditions` | `array` | Array of condition objects (same as Logic Item conditions) |
@@ -945,6 +1157,7 @@ install using `npm i ninchat-embed` or link main directly from ninchat.com:
945
1157
  | `variant` | `'primary'` | Button variant style |
946
1158
  | `target` | `string` | Target view ID |
947
1159
  | `align` | `'center' \| 'right' \| 'left'` | Button alignment |
1160
+ | `clearAfter` | `boolean` | Clear float after current element |
948
1161
  | `textAlign` | `'center'` | Text alignment within button |
949
1162
  | `inline` | `boolean` | Whether button is displayed inline |
950
1163
  | `iconLeft` | `object` | Left icon configuration |
@@ -1235,9 +1448,10 @@ Ninchat.route(Route)
1235
1448
  | ActivityCount | activity_count | `activity`: number, `highlights`: number | Typical use case for `ActivityCount` is to display activity as a number in host sites favicon. `activity` property contains the total activity including `highlights`. `highlights` are activity which has importance based on users settings or their role. Eg. highlight can be a name mention or a visitor requesting an audience. |
1236
1449
  | AudienceEnded | audience_eneded | `audience_id`: string | Emitted when an audience session ends |
1237
1450
  | AudienceClosed | audience_closed | `audience_id`: string | Emitted when the chat is closed |
1238
- | SessionCreated | session_created | `user_queues?`: {[queue_id]: {`delivery_time`, `queue_time`, `realm_id`, `queue_attrs`: {`name`, `length`, `group_id`, `is_group`, `unassigned_registered`}}}, `user_channels?`: {[channel_id]: {`channel_attrs`, `channel_status?`, `realm_id?`}} | Emitted when a user session is created with queue and channel information |
1239
- | QueueUpdated | queue_updated | `queue_id`: string, `queue_attrs`: {`name`, `length`, `group_id`, `is_group`, `unassigned_registered`}, `queue_time?`: number, `realm_id?`: string | Emitted when queue information is updated |
1451
+ | SessionCreated | session_created | `user_queues?`: {[queue_id]: {`delivery_time`, `queue_time`, `unassigned_registered_time`, `realm_id`, `queue_attrs`: {`name`, `length`, `group_id`, `is_group`, `unassigned_registered`}}}, `user_channels?`: {[channel_id]: {`channel_attrs`, `channel_status?`, `realm_id?`}} | Emitted when a user session is created with queue and channel information |
1452
+ | QueueUpdated | queue_updated | `queue_id`: string, `queue_attrs`: {`name`, `length`, `group_id`, `is_group`, `unassigned_registered`}, `queue_time?`: number, `unassigned_registered_time?`: number, `realm_id?`: string | Emitted when queue information is updated |
1240
1453
  | ChannelUpdated | channel_updated | `channel_id`: string, `channel_attrs`: {`audience_id`, `queue_id`, `name`, `closed`}, `channel_status?`: string, `realm_id?`: string | Emitted when channel information is updated |
1454
+ | MembersUpdated | members_updated | `channel_id`: string, `members`: [{`id`: string, `presence`: `'online'`\|`'idle'`\|`'offline'`, `name?`: string}] | Emitted when a channel member's presence (online/idle/offline) changes. Only fires for audience channels. Members list excludes the current user. |
1241
1455
  | ContainerInitialized | container_initialized | - | Emitted when the embed container is initialized |
1242
1456
 
1243
1457
  #### Events for 'app' version
@@ -1431,10 +1645,28 @@ Ninchat.route(route)
1431
1645
 
1432
1646
  ## Release history
1433
1647
 
1648
+ ### v2.8.0
1649
+
1650
+ - expose MembersUpdated event to indicate if other channel members go offline / idle
1651
+ - big set of new `queue` embed customizations - all new properties documented under `Init options` section
1652
+ - bugfixing and spec adjusting
1653
+
1654
+ ### v2.7.0
1655
+
1656
+ - expose unassigned_registered parameter to sessionCreated and QueueUpdated events
1657
+ - add hideMenubar property for 'app' embed version
1658
+ - support for questionnaire attachments
1659
+ - configUrls merging improvements
1660
+ - variety od new embed customizations and bugfixes
1661
+
1434
1662
  ### v2.6.2
1435
1663
 
1436
1664
  - fix RegisteredAudience route metadata composition and audience metadata sharing
1437
1665
 
1666
+ ### v2.6.1
1667
+
1668
+ - fix RegisteredAudience route metadata composition from transcript data
1669
+
1438
1670
  ### v2.6.0
1439
1671
 
1440
1672
  - extend QueueUpdated event to include information about unassigned_registered