@seamly/web-ui 24.5.0 → 25.1.0-beta.1

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 (154) hide show
  1. package/build/dist/lib/index.debug.js +2129 -1810
  2. package/build/dist/lib/index.debug.js.map +1 -1
  3. package/build/dist/lib/index.debug.min.js +1 -1
  4. package/build/dist/lib/index.debug.min.js.LICENSE.txt +49 -7
  5. package/build/dist/lib/index.debug.min.js.map +1 -1
  6. package/build/dist/lib/index.js +732 -398
  7. package/build/dist/lib/index.js.map +1 -1
  8. package/build/dist/lib/index.min.js +1 -1
  9. package/build/dist/lib/index.min.js.LICENSE.txt +16 -1
  10. package/build/dist/lib/index.min.js.map +1 -1
  11. package/build/dist/lib/style-guide.js +305 -93
  12. package/build/dist/lib/style-guide.js.map +1 -1
  13. package/build/dist/lib/style-guide.min.js +1 -1
  14. package/build/dist/lib/style-guide.min.js.map +1 -1
  15. package/build/dist/lib/styles-default-implementation.css +1 -1
  16. package/build/dist/lib/styles.css +1 -1
  17. package/package.json +27 -38
  18. package/src/javascripts/core/api/api.types.ts +3 -0
  19. package/src/javascripts/core/api/asyncapi.types.ts +292 -69
  20. package/src/javascripts/core/api/channel.types.ts +301 -69
  21. package/src/javascripts/core/api/conversation-connector.ts +1 -3
  22. package/src/javascripts/core/api/errors/seamly-api-error.ts +0 -1
  23. package/src/javascripts/core/api/errors/seamly-base-error.ts +1 -1
  24. package/src/javascripts/core/api/index.ts +7 -7
  25. package/src/javascripts/core/api/utils.ts +0 -1
  26. package/src/javascripts/core/domains/app/actions.ts +1 -1
  27. package/src/javascripts/core/domains/app/hooks.ts +1 -1
  28. package/src/javascripts/core/domains/config/hooks.ts +1 -1
  29. package/src/javascripts/core/domains/config/selectors.ts +1 -1
  30. package/src/javascripts/core/domains/config/slice.ts +2 -2
  31. package/src/javascripts/core/domains/forms/context.ts +1 -1
  32. package/src/javascripts/core/domains/forms/hooks.ts +12 -12
  33. package/src/javascripts/core/domains/forms/provider.tsx +9 -9
  34. package/src/javascripts/core/domains/i18n/actions.ts +1 -1
  35. package/src/javascripts/core/domains/i18n/hooks.ts +3 -3
  36. package/src/javascripts/core/domains/interrupt/hooks.ts +1 -1
  37. package/src/javascripts/core/domains/store/index.ts +2 -2
  38. package/src/javascripts/core/domains/store/slice.ts +47 -34
  39. package/src/javascripts/core/domains/store/store.types.ts +3 -7
  40. package/src/javascripts/core/domains/translations/components/options-button.tsx +2 -2
  41. package/src/javascripts/core/domains/translations/components/options-dialog/index.tsx +1 -1
  42. package/src/javascripts/core/domains/translations/components/options-dialog/translation-option.tsx +1 -1
  43. package/src/javascripts/core/domains/translations/components/options-dialog/translation-options.tsx +2 -2
  44. package/src/javascripts/core/domains/translations/components/translation-status.tsx +1 -1
  45. package/src/javascripts/core/domains/translations/hooks.ts +2 -2
  46. package/src/javascripts/core/domains/translations/middleware.ts +4 -2
  47. package/src/javascripts/core/domains/visibility/actions.ts +2 -2
  48. package/src/javascripts/core/domains/visibility/hooks.ts +5 -5
  49. package/src/javascripts/core/lib/debug.ts +1 -1
  50. package/src/javascripts/core/lib/engine/index.tsx +5 -5
  51. package/src/javascripts/core/lib/external-api/index.ts +6 -6
  52. package/src/javascripts/core/lib/mutex.ts +0 -1
  53. package/src/javascripts/core/lib/split-url-params.ts +1 -1
  54. package/src/javascripts/core/lib/store/index.ts +0 -1
  55. package/src/javascripts/core/lib/store/providers/app-storage.js +4 -7
  56. package/src/javascripts/core/lib/store/providers/app-storage.ts +4 -6
  57. package/src/javascripts/core/ui/components/app-options/index.tsx +1 -1
  58. package/src/javascripts/core/ui/components/chat-status/index.tsx +1 -1
  59. package/src/javascripts/core/ui/components/conversation/component-filter.tsx +1 -3
  60. package/src/javascripts/core/ui/components/conversation/conversation.tsx +9 -11
  61. package/src/javascripts/core/ui/components/conversation/event/card-component.tsx +3 -3
  62. package/src/javascripts/core/ui/components/conversation/event/carousel-component/components/pagination.tsx +1 -1
  63. package/src/javascripts/core/ui/components/conversation/event/carousel-component/index.tsx +1 -1
  64. package/src/javascripts/core/ui/components/conversation/event/chat-scroll/chat-scroll-provider.tsx +1 -1
  65. package/src/javascripts/core/ui/components/conversation/event/choice-prompt.tsx +5 -5
  66. package/src/javascripts/core/ui/components/conversation/event/conversation-suggestions.tsx +1 -1
  67. package/src/javascripts/core/ui/components/conversation/event/divider/variants/new-translation.tsx +3 -3
  68. package/src/javascripts/core/ui/components/conversation/event/divider/variants/time-indicator.tsx +1 -1
  69. package/src/javascripts/core/ui/components/conversation/event/event-participant.tsx +1 -1
  70. package/src/javascripts/core/ui/components/conversation/event/event.tsx +1 -1
  71. package/src/javascripts/core/ui/components/conversation/event/image-lightbox.tsx +1 -1
  72. package/src/javascripts/core/ui/components/conversation/event/image.tsx +2 -2
  73. package/src/javascripts/core/ui/components/conversation/event/participant.tsx +1 -1
  74. package/src/javascripts/core/ui/components/conversation/event/splash.tsx +0 -1
  75. package/src/javascripts/core/ui/components/conversation/event/text.tsx +2 -2
  76. package/src/javascripts/core/ui/components/conversation/event/upload.tsx +3 -3
  77. package/src/javascripts/core/ui/components/conversation/event/video.tsx +2 -2
  78. package/src/javascripts/core/ui/components/conversation/event-divider.tsx +1 -1
  79. package/src/javascripts/core/ui/components/conversation/message-container.tsx +2 -4
  80. package/src/javascripts/core/ui/components/conversation/use-chat-scroll.ts +3 -3
  81. package/src/javascripts/core/ui/components/core/seamly-activity-monitor.tsx +1 -1
  82. package/src/javascripts/core/ui/components/core/seamly-api-context.ts +1 -1
  83. package/src/javascripts/core/ui/components/core/seamly-core.tsx +3 -3
  84. package/src/javascripts/core/ui/components/core/seamly-event-subscriber.ts +9 -7
  85. package/src/javascripts/core/ui/components/core/seamly-file-upload.tsx +2 -3
  86. package/src/javascripts/core/ui/components/core/seamly-initializer.tsx +1 -1
  87. package/src/javascripts/core/ui/components/core/seamly-instance-functions-loader.ts +3 -3
  88. package/src/javascripts/core/ui/components/core/seamly-live-region.tsx +1 -1
  89. package/src/javascripts/core/ui/components/core/seamly-new-notifications.ts +1 -1
  90. package/src/javascripts/core/ui/components/core/seamly-read-state.ts +1 -1
  91. package/src/javascripts/core/ui/components/entry/entry-container.tsx +8 -3
  92. package/src/javascripts/core/ui/components/entry/text-entry/hooks.ts +21 -14
  93. package/src/javascripts/core/ui/components/entry/text-entry/index.tsx +1 -1
  94. package/src/javascripts/core/ui/components/entry/text-entry/text-entry-form.tsx +1 -1
  95. package/src/javascripts/core/ui/components/entry/upload/file-upload-form.tsx +1 -1
  96. package/src/javascripts/core/ui/components/entry/upload/index.tsx +1 -1
  97. package/src/javascripts/core/ui/components/entry/upload-toggle.tsx +2 -1
  98. package/src/javascripts/core/ui/components/form-controls/error.tsx +1 -1
  99. package/src/javascripts/core/ui/components/form-controls/file-input.tsx +1 -1
  100. package/src/javascripts/core/ui/components/form-controls/input.tsx +1 -1
  101. package/src/javascripts/core/ui/components/form-controls/wrapper.tsx +1 -1
  102. package/src/javascripts/core/ui/components/layout/agent-info.tsx +1 -1
  103. package/src/javascripts/core/ui/components/layout/chat-frame.tsx +1 -1
  104. package/src/javascripts/core/ui/components/layout/chat.tsx +8 -6
  105. package/src/javascripts/core/ui/components/layout/continue-chat-messages.tsx +1 -1
  106. package/src/javascripts/core/ui/components/layout/header.tsx +1 -1
  107. package/src/javascripts/core/ui/components/layout/interrupt.tsx +1 -1
  108. package/src/javascripts/core/ui/components/layout/pre-chat-messages.tsx +1 -1
  109. package/src/javascripts/core/ui/components/options/options-button.tsx +1 -3
  110. package/src/javascripts/core/ui/components/options/options-frame.tsx +1 -1
  111. package/src/javascripts/core/ui/components/options/transcript/index.tsx +1 -1
  112. package/src/javascripts/core/ui/components/suggestions/index.tsx +2 -2
  113. package/src/javascripts/core/ui/components/suggestions/suggestions-list.tsx +1 -1
  114. package/src/javascripts/core/ui/components/view/index.tsx +3 -3
  115. package/src/javascripts/core/ui/components/view/window-view/collapse-button.tsx +10 -1
  116. package/src/javascripts/core/ui/components/view/window-view/window-open-button.tsx +9 -3
  117. package/src/javascripts/core/ui/components/widgets/in-out-transition.tsx +2 -2
  118. package/src/javascripts/core/ui/components/widgets/lightbox.tsx +1 -1
  119. package/src/javascripts/core/ui/hooks/file-upload-hooks.ts +1 -1
  120. package/src/javascripts/core/ui/hooks/focus-helper-hooks.ts +6 -1
  121. package/src/javascripts/core/ui/hooks/seamly-entry-hooks.ts +1 -1
  122. package/src/javascripts/core/ui/hooks/seamly-option-hooks.ts +1 -1
  123. package/src/javascripts/core/ui/hooks/seamly-state-hooks.ts +9 -4
  124. package/src/javascripts/core/ui/hooks/use-debounce.ts +1 -1
  125. package/src/javascripts/core/ui/hooks/use-interval.ts +0 -1
  126. package/src/javascripts/core/ui/hooks/use-notifications.ts +2 -3
  127. package/src/javascripts/core/ui/hooks/use-seamly-chat.ts +2 -2
  128. package/src/javascripts/core/ui/hooks/use-seamly-commands.ts +2 -2
  129. package/src/javascripts/core/ui/hooks/use-seamly-conversation.ts +1 -1
  130. package/src/javascripts/core/ui/hooks/use-seamly-idle-detach-countdown.ts +15 -10
  131. package/src/javascripts/core/ui/hooks/use-session-expired-command.ts +1 -1
  132. package/src/javascripts/core/ui/hooks/use-single-file-upload.ts +1 -1
  133. package/src/javascripts/core/ui/hooks/utility-hooks.ts +1 -2
  134. package/src/javascripts/core/ui/utils/seamly-utils.ts +0 -2
  135. package/src/javascripts/core/ui/utils/validations.ts +1 -2
  136. package/src/javascripts/style-guide/components/app.tsx +2 -2
  137. package/src/javascripts/style-guide/components/static-core.tsx +2 -2
  138. package/src/javascripts/style-guide/components/view.tsx +1 -1
  139. package/src/javascripts/style-guide/state-helpers/index.ts +0 -2
  140. package/src/javascripts/style-guide/states.ts +5 -42
  141. package/src/javascripts/style-guide/style-guide-engine.tsx +1 -1
  142. package/src/stylesheets/5-components/_message-body.scss +0 -10
  143. package/src/stylesheets/6-default-implementation/_hover.scss +0 -7
  144. package/src/stylesheets/styles.scss +0 -1
  145. package/webpack/config.common.js +4 -11
  146. package/webpack/config.dev.js +0 -1
  147. package/webpack/config.package.js +5 -7
  148. package/webpack/config.site.js +2 -4
  149. package/webpack/config.test.js +1 -2
  150. package/webpack/defaults.js +0 -1
  151. package/webpack/parts/babel-loader-browser-plugins.js +0 -1
  152. package/webpack/parts/dev-server.js +0 -1
  153. package/src/javascripts/core/ui/components/conversation/event/cta.tsx +0 -54
  154. package/src/stylesheets/5-components/_message-cta.scss +0 -17
@@ -1,5 +1,5 @@
1
1
  /*!
2
- * focus-trap 7.6.4
2
+ * focus-trap 7.6.5
3
3
  * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
4
4
  */
5
5
 
@@ -203,8 +203,12 @@ and limitations under the License.
203
203
 
204
204
  /*! ../internals/iterator-close */
205
205
 
206
+ /*! ../internals/iterator-close-all */
207
+
206
208
  /*! ../internals/iterator-create-proxy */
207
209
 
210
+ /*! ../internals/iterator-helper-throws-on-invalid-iterator */
211
+
208
212
  /*! ../internals/iterator-helper-without-closing-on-early-error */
209
213
 
210
214
  /*! ../internals/iterators */
@@ -263,6 +267,8 @@ and limitations under the License.
263
267
 
264
268
  /*! ../internals/set-method-accept-set-like */
265
269
 
270
+ /*! ../internals/set-method-get-keys-before-cloning-detection */
271
+
266
272
  /*! ../internals/set-size */
267
273
 
268
274
  /*! ../internals/set-symmetric-difference */
@@ -291,6 +297,8 @@ and limitations under the License.
291
297
 
292
298
  /*! ../internals/to-property-key */
293
299
 
300
+ /*! ../internals/to-string */
301
+
294
302
  /*! ../internals/to-string-tag-support */
295
303
 
296
304
  /*! ../internals/try-to-string */
@@ -301,6 +309,8 @@ and limitations under the License.
301
309
 
302
310
  /*! ../internals/v8-prototype-define-bug */
303
311
 
312
+ /*! ../internals/validate-arguments-length */
313
+
304
314
  /*! ../internals/weak-map-basic-detection */
305
315
 
306
316
  /*! ../internals/well-known-symbol */
@@ -385,8 +395,6 @@ and limitations under the License.
385
395
 
386
396
  /*! ./event/conversation-suggestions */
387
397
 
388
- /*! ./event/cta */
389
-
390
398
  /*! ./event/divider */
391
399
 
392
400
  /*! ./event/divider/variants/time-indicator */
@@ -579,6 +587,12 @@ and limitations under the License.
579
587
 
580
588
  /*! core-js/modules/esnext.set.union.v2.js */
581
589
 
590
+ /*! core-js/modules/web.url-search-params.delete.js */
591
+
592
+ /*! core-js/modules/web.url-search-params.has.js */
593
+
594
+ /*! core-js/modules/web.url-search-params.size.js */
595
+
582
596
  /*! domains/app/actions */
583
597
 
584
598
  /*! domains/app/hooks */
@@ -1167,6 +1181,10 @@ and limitations under the License.
1167
1181
  !*** ./node_modules/core-js/internals/to-object.js ***!
1168
1182
  \*****************************************************/
1169
1183
 
1184
+ /*!*****************************************************!*\
1185
+ !*** ./node_modules/core-js/internals/to-string.js ***!
1186
+ \*****************************************************/
1187
+
1170
1188
  /*!*****************************************************!*\
1171
1189
  !*** ./node_modules/core-js/modules/es.array.at.js ***!
1172
1190
  \*****************************************************/
@@ -1651,6 +1669,10 @@ and limitations under the License.
1651
1669
  !*** ./node_modules/core-js/internals/add-to-unscopables.js ***!
1652
1670
  \**************************************************************/
1653
1671
 
1672
+ /*!**************************************************************!*\
1673
+ !*** ./node_modules/core-js/internals/iterator-close-all.js ***!
1674
+ \**************************************************************/
1675
+
1654
1676
  /*!**************************************************************!*\
1655
1677
  !*** ./node_modules/core-js/internals/set-is-superset-of.js ***!
1656
1678
  \**************************************************************/
@@ -1923,6 +1945,10 @@ and limitations under the License.
1923
1945
  !*** ./node_modules/core-js/internals/v8-prototype-define-bug.js ***!
1924
1946
  \*******************************************************************/
1925
1947
 
1948
+ /*!*******************************************************************!*\
1949
+ !*** ./node_modules/core-js/modules/web.url-search-params.has.js ***!
1950
+ \*******************************************************************/
1951
+
1926
1952
  /*!*******************************************************************!*\
1927
1953
  !*** ./src/javascripts/core/ui/components/entry/upload/index.tsx ***!
1928
1954
  \*******************************************************************/
@@ -1971,6 +1997,10 @@ and limitations under the License.
1971
1997
  !*** ./node_modules/core-js/modules/esnext.set.is-subset-of.v2.js ***!
1972
1998
  \********************************************************************/
1973
1999
 
2000
+ /*!********************************************************************!*\
2001
+ !*** ./node_modules/core-js/modules/web.url-search-params.size.js ***!
2002
+ \********************************************************************/
2003
+
1974
2004
  /*!********************************************************************!*\
1975
2005
  !*** ./src/javascripts/core/lib/store/providers/cookie-storage.ts ***!
1976
2006
  \********************************************************************/
@@ -1999,6 +2029,10 @@ and limitations under the License.
1999
2029
  !*** ./node_modules/core-js/internals/create-iter-result-object.js ***!
2000
2030
  \*********************************************************************/
2001
2031
 
2032
+ /*!*********************************************************************!*\
2033
+ !*** ./node_modules/core-js/internals/validate-arguments-length.js ***!
2034
+ \*********************************************************************/
2035
+
2002
2036
  /*!*********************************************************************!*\
2003
2037
  !*** ./node_modules/core-js/modules/esnext.iterator.constructor.js ***!
2004
2038
  \*********************************************************************/
@@ -2023,6 +2057,10 @@ and limitations under the License.
2023
2057
  !*** ./node_modules/core-js/modules/esnext.set.is-superset-of.v2.js ***!
2024
2058
  \**********************************************************************/
2025
2059
 
2060
+ /*!**********************************************************************!*\
2061
+ !*** ./node_modules/core-js/modules/web.url-search-params.delete.js ***!
2062
+ \**********************************************************************/
2063
+
2026
2064
  /*!**********************************************************************!*\
2027
2065
  !*** ./src/javascripts/core/api/errors/seamly-unauthorized-error.ts ***!
2028
2066
  \**********************************************************************/
@@ -2063,10 +2101,6 @@ and limitations under the License.
2063
2101
  !*** ./src/javascripts/core/api/errors/seamly-configuration-error.ts ***!
2064
2102
  \***********************************************************************/
2065
2103
 
2066
- /*!***********************************************************************!*\
2067
- !*** ./src/javascripts/core/ui/components/conversation/event/cta.tsx ***!
2068
- \***********************************************************************/
2069
-
2070
2104
  /*!***********************************************************************!*\
2071
2105
  !*** ./src/javascripts/core/ui/components/core/seamly-api-context.ts ***!
2072
2106
  \***********************************************************************/
@@ -2371,10 +2405,18 @@ and limitations under the License.
2371
2405
  !*** ./src/javascripts/core/ui/components/core/seamly-instance-functions-loader.ts ***!
2372
2406
  \*************************************************************************************/
2373
2407
 
2408
+ /*!**************************************************************************************!*\
2409
+ !*** ./node_modules/core-js/internals/iterator-helper-throws-on-invalid-iterator.js ***!
2410
+ \**************************************************************************************/
2411
+
2374
2412
  /*!***************************************************************************************!*\
2375
2413
  !*** ./src/javascripts/core/domains/translations/components/options-dialog/index.tsx ***!
2376
2414
  \***************************************************************************************/
2377
2415
 
2416
+ /*!****************************************************************************************!*\
2417
+ !*** ./node_modules/core-js/internals/set-method-get-keys-before-cloning-detection.js ***!
2418
+ \****************************************************************************************/
2419
+
2378
2420
  /*!******************************************************************************************!*\
2379
2421
  !*** ./node_modules/core-js/internals/iterator-helper-without-closing-on-early-error.js ***!
2380
2422
  \******************************************************************************************/