@seamly/web-ui 19.1.3 → 20.0.0-beta.3

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 (184) hide show
  1. package/build/dist/lib/components.js +2 -1
  2. package/build/dist/lib/components.min.js +1 -1
  3. package/build/dist/lib/index.debug.js +188 -111
  4. package/build/dist/lib/index.debug.min.js +1 -1
  5. package/build/dist/lib/index.debug.min.js.LICENSE.txt +48 -20
  6. package/build/dist/lib/index.js +11764 -11970
  7. package/build/dist/lib/index.min.js +1 -1
  8. package/build/dist/lib/index.min.js.LICENSE.txt +0 -5
  9. package/build/dist/lib/standalone.js +7131 -7333
  10. package/build/dist/lib/standalone.min.js +1 -1
  11. package/build/dist/lib/standalone.min.js.LICENSE.txt +0 -5
  12. package/build/dist/lib/style-guide.js +2117 -2007
  13. package/build/dist/lib/style-guide.min.js +1 -1
  14. package/build/dist/lib/styles.css +1 -1
  15. package/package.json +1 -2
  16. package/src/.DS_Store +0 -0
  17. package/src/icons/icon_file-32.svg +1 -1
  18. package/src/javascripts/api/index.js +48 -37
  19. package/src/javascripts/config.js +1 -5
  20. package/src/javascripts/domains/app/actions.js +22 -5
  21. package/src/javascripts/domains/config/actions.js +3 -0
  22. package/src/javascripts/domains/config/reducer.js +9 -0
  23. package/src/javascripts/domains/forms/hooks.js +3 -1
  24. package/src/javascripts/domains/forms/provider.js +12 -0
  25. package/src/javascripts/domains/forms/reducer.js +2 -0
  26. package/src/javascripts/domains/i18n/hooks.js +2 -1
  27. package/src/javascripts/domains/i18n/reducer.js +2 -0
  28. package/src/javascripts/domains/interrupt/reducer.js +2 -2
  29. package/src/javascripts/domains/options/middleware.js +15 -31
  30. package/src/javascripts/domains/store/index.js +2 -1
  31. package/src/javascripts/domains/store/state-reducer.js +3 -8
  32. package/src/javascripts/domains/translations/components/options-dialog/form.js +1 -1
  33. package/src/javascripts/domains/translations/components/options-dialog/index.js +15 -1
  34. package/src/javascripts/domains/translations/reducer.js +2 -0
  35. package/src/javascripts/domains/visibility/actions.js +1 -1
  36. package/src/javascripts/domains/visibility/hooks.js +10 -8
  37. package/src/javascripts/domains/visibility/utils.js +1 -2
  38. package/src/javascripts/index.js +7 -2
  39. package/src/javascripts/lib/css.js +7 -1
  40. package/src/javascripts/lib/engine/index.js +4 -3
  41. package/src/javascripts/lib/external-api/index.js +38 -29
  42. package/src/javascripts/package/components.js +2 -1
  43. package/src/javascripts/style-guide/components/app.js +4 -4
  44. package/src/javascripts/style-guide/components/static-core.js +9 -3
  45. package/src/javascripts/style-guide/components/view.js +0 -1
  46. package/src/javascripts/style-guide/states.js +468 -348
  47. package/src/javascripts/ui/components/chat-app.js +1 -1
  48. package/src/javascripts/ui/components/conversation/component-filter.js +6 -0
  49. package/src/javascripts/ui/components/conversation/event/carousel-component/index.js +8 -1
  50. package/src/javascripts/ui/components/conversation/event/carousel-message/components/slide.js +2 -3
  51. package/src/javascripts/ui/components/conversation/event/conversation-suggestions.js +70 -0
  52. package/src/javascripts/ui/components/conversation/event/participant.js +2 -5
  53. package/src/javascripts/ui/components/conversation/event/splash.js +26 -0
  54. package/src/javascripts/ui/components/conversation/event/text.js +1 -2
  55. package/src/javascripts/ui/components/core/seamly-core.js +12 -9
  56. package/src/javascripts/ui/components/core/seamly-event-subscriber.js +4 -10
  57. package/src/javascripts/ui/components/core/seamly-instance-functions-loader.js +1 -8
  58. package/src/javascripts/ui/components/entry/entry-container.js +5 -3
  59. package/src/javascripts/ui/components/entry/text-entry/index.js +7 -1
  60. package/src/javascripts/ui/components/entry/text-entry/text-entry-form.js +5 -1
  61. package/src/javascripts/ui/components/entry/toggle-button.js +4 -2
  62. package/src/javascripts/ui/components/entry/upload/file-upload-form.js +1 -1
  63. package/src/javascripts/ui/components/form-controls/error.js +6 -2
  64. package/src/javascripts/ui/components/form-controls/form.js +26 -3
  65. package/src/javascripts/ui/components/layout/app-frame.js +24 -15
  66. package/src/javascripts/ui/components/layout/chat-frame.js +0 -2
  67. package/src/javascripts/ui/components/layout/deprecated-app-frame.js +86 -0
  68. package/src/javascripts/ui/components/layout/modal-wrapper.js +0 -80
  69. package/src/javascripts/ui/components/layout/pre-chat-messages.js +45 -0
  70. package/src/javascripts/ui/components/options/options-frame.js +9 -4
  71. package/src/javascripts/ui/components/options/options.js +1 -4
  72. package/src/javascripts/ui/components/options/transcript/index.js +15 -1
  73. package/src/javascripts/ui/components/options/transcript/transcript-form.js +1 -1
  74. package/src/javascripts/ui/components/suggestions/index.js +174 -0
  75. package/src/javascripts/ui/components/suggestions/suggestions-item.js +40 -0
  76. package/src/javascripts/ui/components/suggestions/suggestions-list.js +24 -0
  77. package/src/javascripts/ui/components/view/app-view.js +21 -0
  78. package/src/javascripts/ui/components/view/deprecated-view.js +32 -0
  79. package/src/javascripts/ui/components/view/index.js +27 -0
  80. package/src/javascripts/ui/components/view/inline-view.js +45 -0
  81. package/src/javascripts/ui/components/view/window-view/collapse-button.js +20 -0
  82. package/src/javascripts/ui/components/view/window-view/index.js +82 -0
  83. package/src/javascripts/ui/components/view/window-view/window-open-button.js +68 -0
  84. package/src/javascripts/ui/components/widgets/lightbox.js +7 -2
  85. package/src/javascripts/ui/hooks/component-helper-hooks.js +0 -9
  86. package/src/javascripts/ui/hooks/seamly-hooks.js +0 -1
  87. package/src/javascripts/ui/hooks/seamly-state-hooks.js +28 -4
  88. package/src/javascripts/ui/hooks/use-seamly-chat.js +12 -3
  89. package/src/javascripts/ui/hooks/use-seamly-commands.js +4 -31
  90. package/src/javascripts/ui/utils/seamly-utils.js +2 -14
  91. package/src/stylesheets/1-settings/_animations.scss +0 -6
  92. package/src/stylesheets/1-settings/_config.scss +34 -35
  93. package/src/stylesheets/2-tools/_functions.scss +0 -5
  94. package/src/stylesheets/2-tools/_mixins.scss +4 -16
  95. package/src/stylesheets/3-app/_app.scss +78 -135
  96. package/src/stylesheets/4-base/_a11y.scss +0 -3
  97. package/src/stylesheets/4-base/_elements.scss +0 -11
  98. package/src/stylesheets/4-base/_formelements.scss +4 -14
  99. package/src/stylesheets/5-components/_avatar.scss +2 -44
  100. package/src/stylesheets/5-components/_buttons.scss +6 -45
  101. package/src/stylesheets/5-components/_chat-status.scss +14 -38
  102. package/src/stylesheets/5-components/_choice-prompt.scss +33 -2
  103. package/src/stylesheets/5-components/_collapse-button.scss +16 -0
  104. package/src/stylesheets/5-components/_conversation.scss +26 -2
  105. package/src/stylesheets/5-components/_disclaimer.scss +10 -12
  106. package/src/stylesheets/5-components/_divider.scss +7 -4
  107. package/src/stylesheets/5-components/_error.scss +19 -9
  108. package/src/stylesheets/5-components/_form.scss +9 -0
  109. package/src/stylesheets/5-components/_icon.scss +10 -1
  110. package/src/stylesheets/5-components/_idle.scss +0 -8
  111. package/src/stylesheets/5-components/_input.scss +14 -20
  112. package/src/stylesheets/5-components/_interrupt.scss +0 -2
  113. package/src/stylesheets/5-components/_loader.scss +0 -32
  114. package/src/stylesheets/5-components/_message-author.scss +40 -0
  115. package/src/stylesheets/5-components/_message-body.scss +194 -0
  116. package/src/stylesheets/5-components/_message-card.scss +55 -0
  117. package/src/stylesheets/5-components/_message-carousel.scss +143 -0
  118. package/src/stylesheets/5-components/_message-count.scss +11 -28
  119. package/src/stylesheets/5-components/_message-cta.scss +23 -0
  120. package/src/stylesheets/5-components/_message-info.scss +11 -0
  121. package/src/stylesheets/5-components/_message-translation-info.scss +17 -0
  122. package/src/stylesheets/5-components/_message.scss +13 -364
  123. package/src/stylesheets/5-components/_modal.scss +28 -58
  124. package/src/stylesheets/5-components/_notification.scss +0 -5
  125. package/src/stylesheets/5-components/_options.scss +27 -42
  126. package/src/stylesheets/5-components/_pre-chat-messages.scss +30 -0
  127. package/src/stylesheets/5-components/_prompt.scss +0 -8
  128. package/src/stylesheets/5-components/_skip-link.scss +3 -3
  129. package/src/stylesheets/5-components/_suggestions.scss +96 -0
  130. package/src/stylesheets/5-components/_unstarted.scss +50 -0
  131. package/src/stylesheets/5-components/_upload.scss +26 -28
  132. package/src/stylesheets/5-components/_window-open-button.scss +39 -0
  133. package/src/stylesheets/6-webui-only/_hover.scss +151 -0
  134. package/src/stylesheets/6-webui-only/_scrollbar.scss +31 -0
  135. package/src/stylesheets/7-deprecated/1-settings/_animations.scss +43 -0
  136. package/src/stylesheets/7-deprecated/1-settings/_config.scss +105 -0
  137. package/src/stylesheets/7-deprecated/2-tools/_functions.scss +22 -0
  138. package/src/stylesheets/7-deprecated/2-tools/_mixins.scss +77 -0
  139. package/src/stylesheets/7-deprecated/3-app/_app.scss +214 -0
  140. package/src/stylesheets/7-deprecated/4-base/_a11y.scss +14 -0
  141. package/src/stylesheets/7-deprecated/4-base/_elements.scss +21 -0
  142. package/src/stylesheets/7-deprecated/4-base/_formelements.scss +57 -0
  143. package/src/stylesheets/{5-components → 7-deprecated/5-components}/_agent-info.scss +0 -0
  144. package/src/stylesheets/7-deprecated/5-components/_avatar.scss +64 -0
  145. package/src/stylesheets/7-deprecated/5-components/_buttons.scss +94 -0
  146. package/src/stylesheets/{5-components → 7-deprecated/5-components}/_card.scss +0 -0
  147. package/src/stylesheets/{5-components → 7-deprecated/5-components}/_carousel.scss +0 -0
  148. package/src/stylesheets/7-deprecated/5-components/_character-limit.scss +36 -0
  149. package/src/stylesheets/{5-components/_cobrowsing.scss → 7-deprecated/5-components/_chat-status.scss} +18 -16
  150. package/src/stylesheets/7-deprecated/5-components/_choice-prompt.scss +27 -0
  151. package/src/stylesheets/7-deprecated/5-components/_collapse-button.scss +17 -0
  152. package/src/stylesheets/7-deprecated/5-components/_conversation.scss +44 -0
  153. package/src/stylesheets/7-deprecated/5-components/_disclaimer.scss +36 -0
  154. package/src/stylesheets/7-deprecated/5-components/_divider.scss +91 -0
  155. package/src/stylesheets/7-deprecated/5-components/_error.scss +34 -0
  156. package/src/stylesheets/{5-components → 7-deprecated/5-components}/_faq.scss +8 -3
  157. package/src/stylesheets/{5-components → 7-deprecated/5-components}/_header-controls.scss +0 -0
  158. package/src/stylesheets/7-deprecated/5-components/_icon.scss +4 -0
  159. package/src/stylesheets/7-deprecated/5-components/_idle.scss +61 -0
  160. package/src/stylesheets/7-deprecated/5-components/_input.scss +78 -0
  161. package/src/stylesheets/7-deprecated/5-components/_interrupt.scss +35 -0
  162. package/src/stylesheets/7-deprecated/5-components/_loader.scss +78 -0
  163. package/src/stylesheets/7-deprecated/5-components/_message-count.scss +41 -0
  164. package/src/stylesheets/7-deprecated/5-components/_message.scss +385 -0
  165. package/src/stylesheets/7-deprecated/5-components/_modal.scss +138 -0
  166. package/src/stylesheets/7-deprecated/5-components/_notification.scss +20 -0
  167. package/src/stylesheets/7-deprecated/5-components/_options.scss +284 -0
  168. package/src/stylesheets/7-deprecated/5-components/_prompt.scss +44 -0
  169. package/src/stylesheets/7-deprecated/5-components/_skip-link.scss +21 -0
  170. package/src/stylesheets/{5-components → 7-deprecated/5-components}/_svg-graphic.scss +0 -0
  171. package/src/stylesheets/7-deprecated/5-components/_upload.scss +213 -0
  172. package/src/stylesheets/deprecated-view.scss +64 -0
  173. package/src/stylesheets/styles-webui-only.scss +3 -0
  174. package/src/stylesheets/styles.scss +15 -25
  175. package/webpack/config.common.js +7 -1
  176. package/webpack/config.site.js +4 -0
  177. package/webpack/config.test.js +1 -0
  178. package/webpack/defaults.js +5 -0
  179. package/src/javascripts/ui/components/conversation/event/hooks/use-text-rendering.js +0 -35
  180. package/src/javascripts/ui/components/layout/view.js +0 -36
  181. package/src/javascripts/ui/components/options/cobrowsing.js +0 -110
  182. package/src/javascripts/ui/components/warnings/cobrowsing-active-frame.js +0 -29
  183. package/src/javascripts/ui/components/warnings/cobrowsing-active.js +0 -33
  184. package/src/stylesheets/5-components/_modal_mode.scss +0 -108
@@ -130,10 +130,6 @@
130
130
  !*** ./src/javascripts/lib/parse-body.js ***!
131
131
  \*******************************************/
132
132
 
133
- /*!********************************************!*\
134
- !*** ./node_modules/mustache/mustache.mjs ***!
135
- \********************************************/
136
-
137
133
  /*!********************************************!*\
138
134
  !*** ./node_modules/side-channel/index.js ***!
139
135
  \********************************************/
@@ -434,6 +430,10 @@
434
430
  !*** ./src/javascripts/domains/visibility/utils.js ***!
435
431
  \*****************************************************/
436
432
 
433
+ /*!*****************************************************!*\
434
+ !*** ./src/javascripts/ui/components/view/index.js ***!
435
+ \*****************************************************/
436
+
437
437
  /*!*****************************************************!*\
438
438
  !*** ./src/javascripts/ui/hooks/use-seamly-chat.js ***!
439
439
  \*****************************************************/
@@ -462,10 +462,6 @@
462
462
  !*** ./src/javascripts/ui/components/layout/icon.js ***!
463
463
  \******************************************************/
464
464
 
465
- /*!******************************************************!*\
466
- !*** ./src/javascripts/ui/components/layout/view.js ***!
467
- \******************************************************/
468
-
469
465
  /*!******************************************************!*\
470
466
  !*** ./src/javascripts/ui/hooks/seamly-api-hooks.js ***!
471
467
  \******************************************************/
@@ -522,6 +518,10 @@
522
518
  !*** ./src/javascripts/ui/components/layout/header.js ***!
523
519
  \********************************************************/
524
520
 
521
+ /*!********************************************************!*\
522
+ !*** ./src/javascripts/ui/components/view/app-view.js ***!
523
+ \********************************************************/
524
+
525
525
  /*!********************************************************!*\
526
526
  !*** ./src/javascripts/ui/components/widgets/modal.js ***!
527
527
  \********************************************************/
@@ -606,6 +606,10 @@
606
606
  !*** ./src/javascripts/ui/components/layout/interrupt.js ***!
607
607
  \***********************************************************/
608
608
 
609
+ /*!***********************************************************!*\
610
+ !*** ./src/javascripts/ui/components/view/inline-view.js ***!
611
+ \***********************************************************/
612
+
609
613
  /*!***********************************************************!*\
610
614
  !*** ./src/javascripts/ui/components/widgets/lightbox.js ***!
611
615
  \***********************************************************/
@@ -646,6 +650,10 @@
646
650
  !*** ./src/javascripts/ui/components/layout/chat-frame.js ***!
647
651
  \************************************************************/
648
652
 
653
+ /*!************************************************************!*\
654
+ !*** ./src/javascripts/ui/components/suggestions/index.js ***!
655
+ \************************************************************/
656
+
649
657
  /*!************************************************************!*\
650
658
  !*** ./src/javascripts/ui/hooks/component-helper-hooks.js ***!
651
659
  \************************************************************/
@@ -666,10 +674,6 @@
666
674
  !*** ./src/javascripts/ui/components/form-controls/form.js ***!
667
675
  \*************************************************************/
668
676
 
669
- /*!*************************************************************!*\
670
- !*** ./src/javascripts/ui/components/options/cobrowsing.js ***!
671
- \*************************************************************/
672
-
673
677
  /*!**************************************************************!*\
674
678
  !*** ./src/javascripts/ui/components/conversation/loader.js ***!
675
679
  \**************************************************************/
@@ -699,7 +703,7 @@
699
703
  \***************************************************************/
700
704
 
701
705
  /*!***************************************************************!*\
702
- !*** ./src/javascripts/ui/components/layout/modal-wrapper.js ***!
706
+ !*** ./src/javascripts/ui/components/view/deprecated-view.js ***!
703
707
  \***************************************************************/
704
708
 
705
709
  /*!****************************************************************!*\
@@ -746,6 +750,10 @@
746
750
  !*** ./src/javascripts/ui/components/options/options-button.js ***!
747
751
  \*****************************************************************/
748
752
 
753
+ /*!*****************************************************************!*\
754
+ !*** ./src/javascripts/ui/components/view/window-view/index.js ***!
755
+ \*****************************************************************/
756
+
749
757
  /*!*****************************************************************!*\
750
758
  !*** ./src/javascripts/ui/hooks/use-event-component-mapping.js ***!
751
759
  \*****************************************************************/
@@ -806,6 +814,10 @@
806
814
  !*** ./src/javascripts/ui/components/form-controls/file-input.js ***!
807
815
  \*******************************************************************/
808
816
 
817
+ /*!*******************************************************************!*\
818
+ !*** ./src/javascripts/ui/components/layout/pre-chat-messages.js ***!
819
+ \*******************************************************************/
820
+
809
821
  /*!*******************************************************************!*\
810
822
  !*** ./src/javascripts/ui/components/options/transcript/index.js ***!
811
823
  \*******************************************************************/
@@ -818,6 +830,10 @@
818
830
  !*** ./src/javascripts/ui/components/conversation/conversation.js ***!
819
831
  \********************************************************************/
820
832
 
833
+ /*!********************************************************************!*\
834
+ !*** ./src/javascripts/ui/components/conversation/event/splash.js ***!
835
+ \********************************************************************/
836
+
821
837
  /*!********************************************************************!*\
822
838
  !*** ./src/javascripts/ui/components/conversation/event/upload.js ***!
823
839
  \********************************************************************/
@@ -834,9 +850,9 @@
834
850
  !*** ./src/javascripts/ui/components/conversation/event-divider.js ***!
835
851
  \*********************************************************************/
836
852
 
837
- /*!*********************************************************************!*\
838
- !*** ./src/javascripts/ui/components/warnings/cobrowsing-active.js ***!
839
- \*********************************************************************/
853
+ /*!**********************************************************************!*\
854
+ !*** ./src/javascripts/ui/components/layout/deprecated-app-frame.js ***!
855
+ \**********************************************************************/
840
856
 
841
857
  /*!**********************************************************************!*\
842
858
  !*** ./src/javascripts/ui/hooks/use-seamly-idle-detach-countdown.js ***!
@@ -850,6 +866,14 @@
850
866
  !*** ./src/javascripts/ui/components/core/seamly-event-subscriber.js ***!
851
867
  \***********************************************************************/
852
868
 
869
+ /*!***********************************************************************!*\
870
+ !*** ./src/javascripts/ui/components/suggestions/suggestions-item.js ***!
871
+ \***********************************************************************/
872
+
873
+ /*!***********************************************************************!*\
874
+ !*** ./src/javascripts/ui/components/suggestions/suggestions-list.js ***!
875
+ \***********************************************************************/
876
+
853
877
  /*!***********************************************************************!*\
854
878
  !*** ./src/javascripts/ui/components/warnings/idle-detach-warning.js ***!
855
879
  \***********************************************************************/
@@ -947,7 +971,7 @@
947
971
  \***************************************************************************/
948
972
 
949
973
  /*!***************************************************************************!*\
950
- !*** ./src/javascripts/ui/components/warnings/cobrowsing-active-frame.js ***!
974
+ !*** ./src/javascripts/ui/components/view/window-view/collapse-button.js ***!
951
975
  \***************************************************************************/
952
976
 
953
977
  /*!***************************************************************************!*\
@@ -994,6 +1018,10 @@
994
1018
  !*** ./node_modules/raw-loader/dist/cjs.js!./src/icons/icon_newtopic-32.svg ***!
995
1019
  \******************************************************************************/
996
1020
 
1021
+ /*!******************************************************************************!*\
1022
+ !*** ./src/javascripts/ui/components/view/window-view/window-open-button.js ***!
1023
+ \******************************************************************************/
1024
+
997
1025
  /*!******************************************************************************!*\
998
1026
  !*** ./src/javascripts/ui/components/warnings/resume-conversation-prompt.js ***!
999
1027
  \******************************************************************************/
@@ -1059,15 +1087,15 @@
1059
1087
  \**************************************************************************************/
1060
1088
 
1061
1089
  /*!**************************************************************************************!*\
1062
- !*** ./src/javascripts/ui/components/conversation/event/divider/variants/default.js ***!
1090
+ !*** ./src/javascripts/ui/components/conversation/event/conversation-suggestions.js ***!
1063
1091
  \**************************************************************************************/
1064
1092
 
1065
1093
  /*!**************************************************************************************!*\
1066
- !*** ./src/javascripts/ui/components/conversation/event/hooks/use-formatted-date.js ***!
1094
+ !*** ./src/javascripts/ui/components/conversation/event/divider/variants/default.js ***!
1067
1095
  \**************************************************************************************/
1068
1096
 
1069
1097
  /*!**************************************************************************************!*\
1070
- !*** ./src/javascripts/ui/components/conversation/event/hooks/use-text-rendering.js ***!
1098
+ !*** ./src/javascripts/ui/components/conversation/event/hooks/use-formatted-date.js ***!
1071
1099
  \**************************************************************************************/
1072
1100
 
1073
1101
  /*!*********************************************************************************************!*\