@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.
- package/build/dist/lib/components.js +2 -1
- package/build/dist/lib/components.min.js +1 -1
- package/build/dist/lib/index.debug.js +188 -111
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.debug.min.js.LICENSE.txt +48 -20
- package/build/dist/lib/index.js +11764 -11970
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/index.min.js.LICENSE.txt +0 -5
- package/build/dist/lib/standalone.js +7131 -7333
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/standalone.min.js.LICENSE.txt +0 -5
- package/build/dist/lib/style-guide.js +2117 -2007
- package/build/dist/lib/style-guide.min.js +1 -1
- package/build/dist/lib/styles.css +1 -1
- package/package.json +1 -2
- package/src/.DS_Store +0 -0
- package/src/icons/icon_file-32.svg +1 -1
- package/src/javascripts/api/index.js +48 -37
- package/src/javascripts/config.js +1 -5
- package/src/javascripts/domains/app/actions.js +22 -5
- package/src/javascripts/domains/config/actions.js +3 -0
- package/src/javascripts/domains/config/reducer.js +9 -0
- package/src/javascripts/domains/forms/hooks.js +3 -1
- package/src/javascripts/domains/forms/provider.js +12 -0
- package/src/javascripts/domains/forms/reducer.js +2 -0
- package/src/javascripts/domains/i18n/hooks.js +2 -1
- package/src/javascripts/domains/i18n/reducer.js +2 -0
- package/src/javascripts/domains/interrupt/reducer.js +2 -2
- package/src/javascripts/domains/options/middleware.js +15 -31
- package/src/javascripts/domains/store/index.js +2 -1
- package/src/javascripts/domains/store/state-reducer.js +3 -8
- package/src/javascripts/domains/translations/components/options-dialog/form.js +1 -1
- package/src/javascripts/domains/translations/components/options-dialog/index.js +15 -1
- package/src/javascripts/domains/translations/reducer.js +2 -0
- package/src/javascripts/domains/visibility/actions.js +1 -1
- package/src/javascripts/domains/visibility/hooks.js +10 -8
- package/src/javascripts/domains/visibility/utils.js +1 -2
- package/src/javascripts/index.js +7 -2
- package/src/javascripts/lib/css.js +7 -1
- package/src/javascripts/lib/engine/index.js +4 -3
- package/src/javascripts/lib/external-api/index.js +38 -29
- package/src/javascripts/package/components.js +2 -1
- package/src/javascripts/style-guide/components/app.js +4 -4
- package/src/javascripts/style-guide/components/static-core.js +9 -3
- package/src/javascripts/style-guide/components/view.js +0 -1
- package/src/javascripts/style-guide/states.js +468 -348
- package/src/javascripts/ui/components/chat-app.js +1 -1
- package/src/javascripts/ui/components/conversation/component-filter.js +6 -0
- package/src/javascripts/ui/components/conversation/event/carousel-component/index.js +8 -1
- package/src/javascripts/ui/components/conversation/event/carousel-message/components/slide.js +2 -3
- package/src/javascripts/ui/components/conversation/event/conversation-suggestions.js +70 -0
- package/src/javascripts/ui/components/conversation/event/participant.js +2 -5
- package/src/javascripts/ui/components/conversation/event/splash.js +26 -0
- package/src/javascripts/ui/components/conversation/event/text.js +1 -2
- package/src/javascripts/ui/components/core/seamly-core.js +12 -9
- package/src/javascripts/ui/components/core/seamly-event-subscriber.js +4 -10
- package/src/javascripts/ui/components/core/seamly-instance-functions-loader.js +1 -8
- package/src/javascripts/ui/components/entry/entry-container.js +5 -3
- package/src/javascripts/ui/components/entry/text-entry/index.js +7 -1
- package/src/javascripts/ui/components/entry/text-entry/text-entry-form.js +5 -1
- package/src/javascripts/ui/components/entry/toggle-button.js +4 -2
- package/src/javascripts/ui/components/entry/upload/file-upload-form.js +1 -1
- package/src/javascripts/ui/components/form-controls/error.js +6 -2
- package/src/javascripts/ui/components/form-controls/form.js +26 -3
- package/src/javascripts/ui/components/layout/app-frame.js +24 -15
- package/src/javascripts/ui/components/layout/chat-frame.js +0 -2
- package/src/javascripts/ui/components/layout/deprecated-app-frame.js +86 -0
- package/src/javascripts/ui/components/layout/modal-wrapper.js +0 -80
- package/src/javascripts/ui/components/layout/pre-chat-messages.js +45 -0
- package/src/javascripts/ui/components/options/options-frame.js +9 -4
- package/src/javascripts/ui/components/options/options.js +1 -4
- package/src/javascripts/ui/components/options/transcript/index.js +15 -1
- package/src/javascripts/ui/components/options/transcript/transcript-form.js +1 -1
- package/src/javascripts/ui/components/suggestions/index.js +174 -0
- package/src/javascripts/ui/components/suggestions/suggestions-item.js +40 -0
- package/src/javascripts/ui/components/suggestions/suggestions-list.js +24 -0
- package/src/javascripts/ui/components/view/app-view.js +21 -0
- package/src/javascripts/ui/components/view/deprecated-view.js +32 -0
- package/src/javascripts/ui/components/view/index.js +27 -0
- package/src/javascripts/ui/components/view/inline-view.js +45 -0
- package/src/javascripts/ui/components/view/window-view/collapse-button.js +20 -0
- package/src/javascripts/ui/components/view/window-view/index.js +82 -0
- package/src/javascripts/ui/components/view/window-view/window-open-button.js +68 -0
- package/src/javascripts/ui/components/widgets/lightbox.js +7 -2
- package/src/javascripts/ui/hooks/component-helper-hooks.js +0 -9
- package/src/javascripts/ui/hooks/seamly-hooks.js +0 -1
- package/src/javascripts/ui/hooks/seamly-state-hooks.js +28 -4
- package/src/javascripts/ui/hooks/use-seamly-chat.js +12 -3
- package/src/javascripts/ui/hooks/use-seamly-commands.js +4 -31
- package/src/javascripts/ui/utils/seamly-utils.js +2 -14
- package/src/stylesheets/1-settings/_animations.scss +0 -6
- package/src/stylesheets/1-settings/_config.scss +34 -35
- package/src/stylesheets/2-tools/_functions.scss +0 -5
- package/src/stylesheets/2-tools/_mixins.scss +4 -16
- package/src/stylesheets/3-app/_app.scss +78 -135
- package/src/stylesheets/4-base/_a11y.scss +0 -3
- package/src/stylesheets/4-base/_elements.scss +0 -11
- package/src/stylesheets/4-base/_formelements.scss +4 -14
- package/src/stylesheets/5-components/_avatar.scss +2 -44
- package/src/stylesheets/5-components/_buttons.scss +6 -45
- package/src/stylesheets/5-components/_chat-status.scss +14 -38
- package/src/stylesheets/5-components/_choice-prompt.scss +33 -2
- package/src/stylesheets/5-components/_collapse-button.scss +16 -0
- package/src/stylesheets/5-components/_conversation.scss +26 -2
- package/src/stylesheets/5-components/_disclaimer.scss +10 -12
- package/src/stylesheets/5-components/_divider.scss +7 -4
- package/src/stylesheets/5-components/_error.scss +19 -9
- package/src/stylesheets/5-components/_form.scss +9 -0
- package/src/stylesheets/5-components/_icon.scss +10 -1
- package/src/stylesheets/5-components/_idle.scss +0 -8
- package/src/stylesheets/5-components/_input.scss +14 -20
- package/src/stylesheets/5-components/_interrupt.scss +0 -2
- package/src/stylesheets/5-components/_loader.scss +0 -32
- package/src/stylesheets/5-components/_message-author.scss +40 -0
- package/src/stylesheets/5-components/_message-body.scss +194 -0
- package/src/stylesheets/5-components/_message-card.scss +55 -0
- package/src/stylesheets/5-components/_message-carousel.scss +143 -0
- package/src/stylesheets/5-components/_message-count.scss +11 -28
- package/src/stylesheets/5-components/_message-cta.scss +23 -0
- package/src/stylesheets/5-components/_message-info.scss +11 -0
- package/src/stylesheets/5-components/_message-translation-info.scss +17 -0
- package/src/stylesheets/5-components/_message.scss +13 -364
- package/src/stylesheets/5-components/_modal.scss +28 -58
- package/src/stylesheets/5-components/_notification.scss +0 -5
- package/src/stylesheets/5-components/_options.scss +27 -42
- package/src/stylesheets/5-components/_pre-chat-messages.scss +30 -0
- package/src/stylesheets/5-components/_prompt.scss +0 -8
- package/src/stylesheets/5-components/_skip-link.scss +3 -3
- package/src/stylesheets/5-components/_suggestions.scss +96 -0
- package/src/stylesheets/5-components/_unstarted.scss +50 -0
- package/src/stylesheets/5-components/_upload.scss +26 -28
- package/src/stylesheets/5-components/_window-open-button.scss +39 -0
- package/src/stylesheets/6-webui-only/_hover.scss +151 -0
- package/src/stylesheets/6-webui-only/_scrollbar.scss +31 -0
- package/src/stylesheets/7-deprecated/1-settings/_animations.scss +43 -0
- package/src/stylesheets/7-deprecated/1-settings/_config.scss +105 -0
- package/src/stylesheets/7-deprecated/2-tools/_functions.scss +22 -0
- package/src/stylesheets/7-deprecated/2-tools/_mixins.scss +77 -0
- package/src/stylesheets/7-deprecated/3-app/_app.scss +214 -0
- package/src/stylesheets/7-deprecated/4-base/_a11y.scss +14 -0
- package/src/stylesheets/7-deprecated/4-base/_elements.scss +21 -0
- package/src/stylesheets/7-deprecated/4-base/_formelements.scss +57 -0
- package/src/stylesheets/{5-components → 7-deprecated/5-components}/_agent-info.scss +0 -0
- package/src/stylesheets/7-deprecated/5-components/_avatar.scss +64 -0
- package/src/stylesheets/7-deprecated/5-components/_buttons.scss +94 -0
- package/src/stylesheets/{5-components → 7-deprecated/5-components}/_card.scss +0 -0
- package/src/stylesheets/{5-components → 7-deprecated/5-components}/_carousel.scss +0 -0
- package/src/stylesheets/7-deprecated/5-components/_character-limit.scss +36 -0
- package/src/stylesheets/{5-components/_cobrowsing.scss → 7-deprecated/5-components/_chat-status.scss} +18 -16
- package/src/stylesheets/7-deprecated/5-components/_choice-prompt.scss +27 -0
- package/src/stylesheets/7-deprecated/5-components/_collapse-button.scss +17 -0
- package/src/stylesheets/7-deprecated/5-components/_conversation.scss +44 -0
- package/src/stylesheets/7-deprecated/5-components/_disclaimer.scss +36 -0
- package/src/stylesheets/7-deprecated/5-components/_divider.scss +91 -0
- package/src/stylesheets/7-deprecated/5-components/_error.scss +34 -0
- package/src/stylesheets/{5-components → 7-deprecated/5-components}/_faq.scss +8 -3
- package/src/stylesheets/{5-components → 7-deprecated/5-components}/_header-controls.scss +0 -0
- package/src/stylesheets/7-deprecated/5-components/_icon.scss +4 -0
- package/src/stylesheets/7-deprecated/5-components/_idle.scss +61 -0
- package/src/stylesheets/7-deprecated/5-components/_input.scss +78 -0
- package/src/stylesheets/7-deprecated/5-components/_interrupt.scss +35 -0
- package/src/stylesheets/7-deprecated/5-components/_loader.scss +78 -0
- package/src/stylesheets/7-deprecated/5-components/_message-count.scss +41 -0
- package/src/stylesheets/7-deprecated/5-components/_message.scss +385 -0
- package/src/stylesheets/7-deprecated/5-components/_modal.scss +138 -0
- package/src/stylesheets/7-deprecated/5-components/_notification.scss +20 -0
- package/src/stylesheets/7-deprecated/5-components/_options.scss +284 -0
- package/src/stylesheets/7-deprecated/5-components/_prompt.scss +44 -0
- package/src/stylesheets/7-deprecated/5-components/_skip-link.scss +21 -0
- package/src/stylesheets/{5-components → 7-deprecated/5-components}/_svg-graphic.scss +0 -0
- package/src/stylesheets/7-deprecated/5-components/_upload.scss +213 -0
- package/src/stylesheets/deprecated-view.scss +64 -0
- package/src/stylesheets/styles-webui-only.scss +3 -0
- package/src/stylesheets/styles.scss +15 -25
- package/webpack/config.common.js +7 -1
- package/webpack/config.site.js +4 -0
- package/webpack/config.test.js +1 -0
- package/webpack/defaults.js +5 -0
- package/src/javascripts/ui/components/conversation/event/hooks/use-text-rendering.js +0 -35
- package/src/javascripts/ui/components/layout/view.js +0 -36
- package/src/javascripts/ui/components/options/cobrowsing.js +0 -110
- package/src/javascripts/ui/components/warnings/cobrowsing-active-frame.js +0 -29
- package/src/javascripts/ui/components/warnings/cobrowsing-active.js +0 -33
- 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/
|
|
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/
|
|
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/
|
|
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/
|
|
1090
|
+
!*** ./src/javascripts/ui/components/conversation/event/conversation-suggestions.js ***!
|
|
1063
1091
|
\**************************************************************************************/
|
|
1064
1092
|
|
|
1065
1093
|
/*!**************************************************************************************!*\
|
|
1066
|
-
!*** ./src/javascripts/ui/components/conversation/event/
|
|
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-
|
|
1098
|
+
!*** ./src/javascripts/ui/components/conversation/event/hooks/use-formatted-date.js ***!
|
|
1071
1099
|
\**************************************************************************************/
|
|
1072
1100
|
|
|
1073
1101
|
/*!*********************************************************************************************!*\
|