@seamly/web-ui 20.2.0 → 20.4.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 (107) hide show
  1. package/build/dist/lib/deprecated-view.css +1 -1
  2. package/build/dist/lib/index.debug.js +211 -200
  3. package/build/dist/lib/index.debug.min.js +1 -1
  4. package/build/dist/lib/index.debug.min.js.LICENSE.txt +40 -36
  5. package/build/dist/lib/index.js +1811 -1137
  6. package/build/dist/lib/index.min.js +1 -1
  7. package/build/dist/lib/index.min.js.LICENSE.txt +2 -2
  8. package/build/dist/lib/standalone.js +5167 -2856
  9. package/build/dist/lib/standalone.min.js +1 -1
  10. package/build/dist/lib/standalone.min.js.LICENSE.txt +1 -1
  11. package/build/dist/lib/style-guide.js +7427 -7243
  12. package/build/dist/lib/style-guide.min.js +1 -1
  13. package/build/dist/lib/styles.css +1 -1
  14. package/package.json +15 -14
  15. package/src/javascripts/api/index.js +5 -4
  16. package/src/javascripts/domains/app/actions.js +22 -10
  17. package/src/javascripts/domains/config/reducer.js +2 -2
  18. package/src/javascripts/domains/forms/reducer.js +1 -1
  19. package/src/javascripts/domains/i18n/reducer.js +1 -1
  20. package/src/javascripts/domains/interrupt/reducer.js +1 -1
  21. package/src/javascripts/domains/store/state-reducer.js +1 -0
  22. package/src/javascripts/domains/translations/components/chat-status.js +10 -9
  23. package/src/javascripts/domains/translations/components/options-button.js +8 -3
  24. package/src/javascripts/domains/translations/components/options-dialog/form.js +6 -5
  25. package/src/javascripts/domains/translations/components/options-dialog/index.js +5 -2
  26. package/src/javascripts/domains/translations/hooks.js +15 -1
  27. package/src/javascripts/domains/translations/middleware.js +5 -2
  28. package/src/javascripts/domains/translations/reducer.js +2 -2
  29. package/src/javascripts/domains/visibility/actions.js +1 -1
  30. package/src/javascripts/index.js +1 -0
  31. package/src/javascripts/lib/debug.js +1 -0
  32. package/src/javascripts/lib/external-api/index.js +29 -4
  33. package/src/javascripts/style-guide/components/app.js +1 -1
  34. package/src/javascripts/style-guide/components/static-core.js +1 -4
  35. package/src/javascripts/style-guide/states.js +25 -0
  36. package/src/javascripts/ui/components/conversation/conversation.js +11 -12
  37. package/src/javascripts/ui/components/conversation/event/card-component.js +4 -1
  38. package/src/javascripts/ui/components/conversation/event/carousel-component/index.js +1 -1
  39. package/src/javascripts/ui/components/conversation/event/conversation-suggestions.js +18 -10
  40. package/src/javascripts/ui/components/conversation/event/cta.js +1 -1
  41. package/src/javascripts/ui/components/conversation/event/divider/variants/new-translation.js +4 -9
  42. package/src/javascripts/ui/components/conversation/event/image.js +12 -4
  43. package/src/javascripts/ui/components/conversation/event/text.js +2 -2
  44. package/src/javascripts/ui/components/conversation/loader.js +1 -1
  45. package/src/javascripts/ui/components/conversation/message-container.js +1 -1
  46. package/src/javascripts/ui/components/core/seamly-activity-monitor.js +1 -1
  47. package/src/javascripts/ui/components/core/seamly-core.js +2 -2
  48. package/src/javascripts/ui/components/core/seamly-file-upload.js +1 -1
  49. package/src/javascripts/ui/components/core/seamly-instance-functions-loader.js +6 -2
  50. package/src/javascripts/ui/components/core/seamly-live-region.js +2 -2
  51. package/src/javascripts/ui/components/entry/entry-container.js +2 -2
  52. package/src/javascripts/ui/components/entry/text-entry/hooks.js +1 -4
  53. package/src/javascripts/ui/components/entry/text-entry/text-entry-form.js +7 -1
  54. package/src/javascripts/ui/components/form-controls/select.js +1 -1
  55. package/src/javascripts/ui/components/layout/agent-info.js +1 -1
  56. package/src/javascripts/ui/components/layout/header.js +1 -1
  57. package/src/javascripts/ui/components/options/options-button.js +1 -1
  58. package/src/javascripts/ui/components/options/options.js +1 -1
  59. package/src/javascripts/ui/components/options/transcript/index.js +1 -1
  60. package/src/javascripts/ui/components/suggestions/suggestions-item.js +1 -1
  61. package/src/javascripts/ui/components/view/index.js +2 -2
  62. package/src/javascripts/ui/components/warnings/resume-conversation-prompt.js +1 -1
  63. package/src/javascripts/ui/components/widgets/lightbox.js +1 -1
  64. package/src/javascripts/ui/hooks/file-upload-hooks.js +2 -3
  65. package/src/javascripts/ui/hooks/focus-helper-hooks.js +2 -2
  66. package/src/javascripts/ui/hooks/seamly-entry-hooks.js +1 -1
  67. package/src/javascripts/ui/hooks/seamly-option-hooks.js +1 -1
  68. package/src/javascripts/ui/hooks/seamly-state-hooks.js +3 -0
  69. package/src/javascripts/ui/hooks/use-seamly-chat.js +2 -2
  70. package/src/javascripts/ui/hooks/use-seamly-commands.js +7 -7
  71. package/src/javascripts/ui/hooks/use-seamly-idle-detach-countdown.js +4 -4
  72. package/src/javascripts/ui/hooks/use-seamly-resume-conversation-prompt.js +2 -2
  73. package/src/javascripts/ui/hooks/use-single-file-upload.js +1 -1
  74. package/src/javascripts/ui/utils/general-utils.js +1 -1
  75. package/src/javascripts/ui/utils/seamly-utils.js +9 -1
  76. package/src/stylesheets/1-settings/_animations.scss +1 -1
  77. package/src/stylesheets/1-settings/_config.scss +17 -2
  78. package/src/stylesheets/2-tools/_functions.scss +4 -4
  79. package/src/stylesheets/2-tools/_mixins.scss +16 -14
  80. package/src/stylesheets/3-chat/_chat.scss +1 -1
  81. package/src/stylesheets/5-components/_choice-prompt.scss +1 -1
  82. package/src/stylesheets/5-components/_collapse-button.scss +1 -1
  83. package/src/stylesheets/5-components/_input.scss +1 -1
  84. package/src/stylesheets/5-components/_loader.scss +2 -2
  85. package/src/stylesheets/5-components/_message-carousel.scss +1 -1
  86. package/src/stylesheets/5-components/_message-count.scss +6 -3
  87. package/src/stylesheets/5-components/_message.scss +1 -2
  88. package/src/stylesheets/5-components/_modal.scss +1 -1
  89. package/src/stylesheets/5-components/_options.scss +3 -3
  90. package/src/stylesheets/5-components/_suggestions.scss +4 -5
  91. package/src/stylesheets/5-components/_upload.scss +1 -1
  92. package/src/stylesheets/7-deprecated/1-settings/_animations.scss +1 -1
  93. package/src/stylesheets/7-deprecated/1-settings/_config.scss +10 -7
  94. package/src/stylesheets/7-deprecated/2-tools/_functions.scss +2 -2
  95. package/src/stylesheets/7-deprecated/2-tools/_mixins.scss +6 -4
  96. package/src/stylesheets/7-deprecated/3-app/_app.scss +2 -2
  97. package/src/stylesheets/7-deprecated/4-base/_formelements.scss +1 -0
  98. package/src/stylesheets/7-deprecated/5-components/_chat-status.scss +1 -1
  99. package/src/stylesheets/7-deprecated/5-components/_collapse-button.scss +1 -1
  100. package/src/stylesheets/7-deprecated/5-components/_disclaimer.scss +1 -1
  101. package/src/stylesheets/7-deprecated/5-components/_input.scss +2 -1
  102. package/src/stylesheets/7-deprecated/5-components/_loader.scss +2 -2
  103. package/src/stylesheets/7-deprecated/5-components/_message-count.scss +1 -1
  104. package/src/stylesheets/7-deprecated/5-components/_message.scss +3 -4
  105. package/src/stylesheets/7-deprecated/5-components/_modal.scss +1 -1
  106. package/src/stylesheets/7-deprecated/5-components/_options.scss +2 -2
  107. package/src/stylesheets/7-deprecated/5-components/_upload.scss +1 -1
@@ -370,6 +370,10 @@
370
370
  !*** ./node_modules/object-keys/implementation.js ***!
371
371
  \****************************************************/
372
372
 
373
+ /*!****************************************************!*\
374
+ !*** ./node_modules/reselect/es/defaultMemoize.js ***!
375
+ \****************************************************/
376
+
373
377
  /*!****************************************************!*\
374
378
  !*** ./node_modules/symbol-observable/ponyfill.js ***!
375
379
  \****************************************************/
@@ -486,6 +490,10 @@
486
490
  !*** ./node_modules/focus-trap/dist/focus-trap.esm.js ***!
487
491
  \********************************************************/
488
492
 
493
+ /*!********************************************************!*\
494
+ !*** ./node_modules/has-property-descriptors/index.js ***!
495
+ \********************************************************/
496
+
489
497
  /*!********************************************************!*\
490
498
  !*** ./node_modules/symbol-observable/lib/ponyfill.js ***!
491
499
  \********************************************************/
@@ -694,6 +702,10 @@
694
702
  !*** ./src/javascripts/ui/components/view/deprecated-view.js ***!
695
703
  \***************************************************************/
696
704
 
705
+ /*!****************************************************************!*\
706
+ !*** ./node_modules/@babel/runtime/helpers/esm/createClass.js ***!
707
+ \****************************************************************/
708
+
697
709
  /*!****************************************************************!*\
698
710
  !*** ./node_modules/superagent/node_modules/qs/lib/formats.js ***!
699
711
  \****************************************************************/
@@ -754,6 +766,10 @@
754
766
  !*** ./node_modules/@babel/runtime/helpers/esm/objectSpread2.js ***!
755
767
  \******************************************************************/
756
768
 
769
+ /*!******************************************************************!*\
770
+ !*** ./node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***!
771
+ \******************************************************************/
772
+
757
773
  /*!******************************************************************!*\
758
774
  !*** ./node_modules/@ultraq/function-utils/function-utils.es.js ***!
759
775
  \******************************************************************/
@@ -790,6 +806,14 @@
790
806
  !*** ./src/javascripts/ui/components/widgets/upload-progress.js ***!
791
807
  \******************************************************************/
792
808
 
809
+ /*!*******************************************************************!*\
810
+ !*** ./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
811
+ \*******************************************************************/
812
+
813
+ /*!*******************************************************************!*\
814
+ !*** ./node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
815
+ \*******************************************************************/
816
+
793
817
  /*!*******************************************************************!*\
794
818
  !*** ./node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
795
819
  \*******************************************************************/
@@ -818,6 +842,10 @@
818
842
  !*** ./src/javascripts/ui/components/options/transcript/index.js ***!
819
843
  \*******************************************************************/
820
844
 
845
+ /*!********************************************************************!*\
846
+ !*** ./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
847
+ \********************************************************************/
848
+
821
849
  /*!********************************************************************!*\
822
850
  !*** ./src/javascripts/api/errors/seamly-session-expired-error.js ***!
823
851
  \********************************************************************/
@@ -842,6 +870,10 @@
842
870
  !*** ./src/javascripts/ui/components/widgets/in-out-transition.js ***!
843
871
  \********************************************************************/
844
872
 
873
+ /*!*********************************************************************!*\
874
+ !*** ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
875
+ \*********************************************************************/
876
+
845
877
  /*!*********************************************************************!*\
846
878
  !*** ./src/javascripts/ui/components/conversation/event-divider.js ***!
847
879
  \*********************************************************************/
@@ -894,6 +926,10 @@
894
926
  !*** ./src/javascripts/ui/components/entry/upload/file-upload-form.js ***!
895
927
  \************************************************************************/
896
928
 
929
+ /*!*************************************************************************!*\
930
+ !*** ./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***!
931
+ \*************************************************************************/
932
+
897
933
  /*!*************************************************************************!*\
898
934
  !*** ./src/javascripts/ui/components/conversation/component-context.js ***!
899
935
  \*************************************************************************/
@@ -1026,6 +1062,10 @@
1026
1062
  !*** ./src/javascripts/ui/components/warnings/resume-conversation-prompt.js ***!
1027
1063
  \******************************************************************************/
1028
1064
 
1065
+ /*!*******************************************************************************!*\
1066
+ !*** ./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
1067
+ \*******************************************************************************/
1068
+
1029
1069
  /*!*******************************************************************************!*\
1030
1070
  !*** ./src/javascripts/ui/components/conversation/event/event-participant.js ***!
1031
1071
  \*******************************************************************************/
@@ -1125,39 +1165,3 @@
1125
1165
  /*!******************************************************************************************************!*\
1126
1166
  !*** ./src/javascripts/ui/components/conversation/event/carousel-component/components/pagination.js ***!
1127
1167
  \******************************************************************************************************/
1128
-
1129
- /*!***********************************************************************************************************!*\
1130
- !*** ./node_modules/@ultraq/icu-message-formatter/node_modules/@babel/runtime/helpers/esm/createClass.js ***!
1131
- \***********************************************************************************************************/
1132
-
1133
- /*!*************************************************************************************************************!*\
1134
- !*** ./node_modules/@ultraq/icu-message-formatter/node_modules/@babel/runtime/helpers/esm/slicedToArray.js ***!
1135
- \*************************************************************************************************************/
1136
-
1137
- /*!**************************************************************************************************************!*\
1138
- !*** ./node_modules/@ultraq/icu-message-formatter/node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js ***!
1139
- \**************************************************************************************************************/
1140
-
1141
- /*!**************************************************************************************************************!*\
1142
- !*** ./node_modules/@ultraq/icu-message-formatter/node_modules/@babel/runtime/helpers/esm/classCallCheck.js ***!
1143
- \**************************************************************************************************************/
1144
-
1145
- /*!**************************************************************************************************************!*\
1146
- !*** ./node_modules/@ultraq/icu-message-formatter/node_modules/@babel/runtime/helpers/esm/defineProperty.js ***!
1147
- \**************************************************************************************************************/
1148
-
1149
- /*!***************************************************************************************************************!*\
1150
- !*** ./node_modules/@ultraq/icu-message-formatter/node_modules/@babel/runtime/helpers/esm/nonIterableRest.js ***!
1151
- \***************************************************************************************************************/
1152
-
1153
- /*!****************************************************************************************************************!*\
1154
- !*** ./node_modules/@ultraq/icu-message-formatter/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js ***!
1155
- \****************************************************************************************************************/
1156
-
1157
- /*!********************************************************************************************************************!*\
1158
- !*** ./node_modules/@ultraq/icu-message-formatter/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js ***!
1159
- \********************************************************************************************************************/
1160
-
1161
- /*!**************************************************************************************************************************!*\
1162
- !*** ./node_modules/@ultraq/icu-message-formatter/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js ***!
1163
- \**************************************************************************************************************************/