@seamly/web-ui 20.0.0-beta.1 → 20.0.0-beta.4

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 (76) hide show
  1. package/build/dist/lib/components.js +1 -1
  2. package/build/dist/lib/components.min.js +1 -1
  3. package/build/dist/lib/deprecated-view.css +1 -0
  4. package/build/dist/lib/deprecated-view.js +1 -0
  5. package/build/dist/lib/index.debug.js +102 -57
  6. package/build/dist/lib/index.debug.min.js +1 -1
  7. package/build/dist/lib/index.debug.min.js.LICENSE.txt +28 -12
  8. package/build/dist/lib/index.js +14773 -13925
  9. package/build/dist/lib/index.min.js +1 -1
  10. package/build/dist/lib/index.min.js.LICENSE.txt +5 -0
  11. package/build/dist/lib/standalone.js +19922 -19625
  12. package/build/dist/lib/standalone.min.js +1 -1
  13. package/build/dist/lib/style-guide.js +5071 -10746
  14. package/build/dist/lib/style-guide.min.js +1 -2
  15. package/build/dist/lib/styles-default-implementation.css +1 -0
  16. package/build/dist/lib/styles-default-implementation.js +1 -0
  17. package/build/dist/lib/styles.css +1 -1
  18. package/package.json +8 -7
  19. package/src/.DS_Store +0 -0
  20. package/src/javascripts/domains/translations/components/options-button.js +1 -1
  21. package/src/javascripts/index.js +5 -2
  22. package/src/javascripts/lib/parse-body.js +1 -1
  23. package/src/javascripts/package/components.js +1 -1
  24. package/src/javascripts/style-guide/components/app.js +3 -3
  25. package/src/javascripts/style-guide/components/static-core.js +1 -1
  26. package/src/javascripts/style-guide/states.js +326 -69
  27. package/src/javascripts/ui/components/app-options/index.js +9 -3
  28. package/src/javascripts/ui/components/conversation/conversation.js +1 -1
  29. package/src/javascripts/ui/components/conversation/event/carousel-message/index.js +3 -1
  30. package/src/javascripts/ui/components/conversation/event/conversation-suggestions.js +12 -3
  31. package/src/javascripts/ui/components/conversation/event/hooks/use-text-rendering.js +35 -0
  32. package/src/javascripts/ui/components/conversation/event/participant.js +5 -2
  33. package/src/javascripts/ui/components/conversation/event/splash.js +2 -1
  34. package/src/javascripts/ui/components/conversation/event/text.js +2 -1
  35. package/src/javascripts/ui/components/entry/{toggle-button.js → deprecated-toggle-button.js} +0 -0
  36. package/src/javascripts/ui/components/entry/entry-container.js +1 -1
  37. package/src/javascripts/ui/components/faq/faq.js +162 -0
  38. package/src/javascripts/ui/components/layout/chat-frame.js +1 -1
  39. package/src/javascripts/ui/components/layout/chat.js +62 -0
  40. package/src/javascripts/ui/components/layout/{app-frame.js → deprecated-app-frame.js} +10 -24
  41. package/src/javascripts/ui/components/layout/header.js +1 -1
  42. package/src/javascripts/ui/components/options/options-button.js +2 -2
  43. package/src/javascripts/ui/components/suggestions/index.js +2 -2
  44. package/src/javascripts/ui/components/view/app-view.js +3 -3
  45. package/src/javascripts/ui/components/view/deprecated-view.js +6 -4
  46. package/src/javascripts/ui/components/view/index.js +61 -5
  47. package/src/javascripts/ui/components/view/inline-view.js +9 -3
  48. package/src/javascripts/ui/components/view/window-view/index.js +3 -3
  49. package/src/stylesheets/1-settings/_config.scss +6 -6
  50. package/src/stylesheets/{3-app/_app.scss → 3-chat/_chat.scss} +27 -25
  51. package/src/stylesheets/5-components/_conversation.scss +2 -2
  52. package/src/stylesheets/5-components/_disclaimer.scss +1 -1
  53. package/src/stylesheets/5-components/_error.scss +20 -10
  54. package/src/stylesheets/5-components/_message-count.scss +1 -0
  55. package/src/stylesheets/5-components/_modal.scss +2 -2
  56. package/src/stylesheets/5-components/_options.scss +8 -8
  57. package/src/stylesheets/5-components/_pre-chat-messages.scss +6 -2
  58. package/src/stylesheets/5-components/_suggestions.scss +12 -6
  59. package/src/stylesheets/5-components/_unstarted.scss +14 -8
  60. package/src/stylesheets/6-default-implementation/_hover.scss +153 -0
  61. package/src/stylesheets/{6-webui-only → 6-default-implementation}/_scrollbar.scss +1 -1
  62. package/src/stylesheets/7-deprecated/3-app/_app.scss +8 -8
  63. package/src/stylesheets/7-deprecated/5-components/_error.scss +19 -9
  64. package/src/stylesheets/7-deprecated/5-components/_input.scss +1 -1
  65. package/src/stylesheets/7-deprecated/5-components/_options.scss +8 -10
  66. package/src/stylesheets/styles-default-implementation.scss +3 -0
  67. package/src/stylesheets/styles.scss +8 -9
  68. package/webpack/config.common.js +7 -1
  69. package/webpack/config.package.js +9 -1
  70. package/webpack/config.test.js +1 -0
  71. package/webpack/defaults.js +3 -6
  72. package/CHANGELOG.md +0 -625
  73. package/build/dist/lib/style-guide.min.js.LICENSE.txt +0 -9
  74. package/src/javascripts/ui/components/layout/modal-wrapper.js +0 -0
  75. package/src/stylesheets/6-webui-only/_hover.scss +0 -151
  76. package/src/stylesheets/styles-webui-only.scss +0 -3
@@ -37,7 +37,7 @@ $white: #fff !default;
37
37
  $black: #000 !default;
38
38
 
39
39
  // BACKGROUND COLORS
40
- $app-bg: $white !default;
40
+ $chat-bg: $white !default;
41
41
 
42
42
  $threadlist-agent-text-bgcolor: $grey-a;
43
43
  $threadlist-user-text-bgcolor: $brand2;
@@ -70,13 +70,13 @@ $borderradius-small: $borderradius * 0.5 !default;
70
70
  $borderradius-large: $borderradius * 2 !default;
71
71
 
72
72
  // DIMENSIONS
73
- $app-window-width: $spacer * 18 !default;
74
- $app-window-height: $spacer * 36 !default;
73
+ $chat-window-width: $spacer * 18 !default;
74
+ $chat-window-height: $spacer * 36 !default;
75
75
 
76
- $app-inline-height: $spacer * 32 !default;
77
- $app-inline-maxheight: 90vh !default;
76
+ $chat-inline-height: $spacer * 32 !default;
77
+ $chat-inline-maxheight: 90vh !default;
78
78
 
79
- $app-suggestions-maxheight: $spacer * 16 !default;
79
+ $chat-suggestions-maxheight: $spacer * 16 !default;
80
80
 
81
81
  $viewport-width: 100vw !default;
82
82
  $viewport-height: 100vh !default;
@@ -1,4 +1,4 @@
1
- .#{$n}-app {
1
+ .#{$n}-chat {
2
2
  @include boxSizing;
3
3
 
4
4
  display: flex;
@@ -7,12 +7,12 @@
7
7
  transition: margin $transition, height $transition, transform $transition,
8
8
  opacity $transition;
9
9
  outline: 0;
10
- color: set-text-color($app-bg);
10
+ color: set-text-color($chat-bg);
11
11
  font-family: $fontfamily-default;
12
12
  font-size: $fontsize-small;
13
13
  }
14
14
 
15
- .#{$n}-app--layout-inline {
15
+ &.#{$n}-app--layout-inline .#{$n}-chat {
16
16
  height: fit-content;
17
17
  background-color: initial;
18
18
  box-shadow: none;
@@ -22,19 +22,19 @@
22
22
  }
23
23
  }
24
24
 
25
- .#{$n}-app--layout-inline.#{$n}-app--collapsed .#{$n}-app-wrapper {
25
+ &.#{$n}-app--layout-inline .#{$n}-chat--collapsed .#{$n}-chat-wrapper {
26
26
  height: auto;
27
27
  }
28
28
 
29
- .#{$n}-app--layout-inline.#{$n}-app--user-responded {
29
+ &.#{$n}-app--layout-inline .#{$n}-chat--user-responded {
30
30
  transition: none;
31
31
  }
32
32
 
33
- .#{$n}-app--layout-inline.#{$n}-app--user-responded .#{$n}-app-wrapper {
33
+ &.#{$n}-app--layout-inline .#{$n}-chat--user-responded .#{$n}-chat-wrapper {
34
34
  transition: none;
35
35
  }
36
36
 
37
- .#{$n}-app--layout-window {
37
+ &.#{$n}-app--layout-window .#{$n}-chat {
38
38
  @include responsiveAppSizing();
39
39
 
40
40
  display: none;
@@ -42,23 +42,23 @@
42
42
  z-index: $z-index;
43
43
  right: $spacer;
44
44
  bottom: $spacer;
45
- width: $app-window-width;
45
+ width: $chat-window-width;
46
46
  max-width: calc(100% - #{$spacer * 2});
47
- height: $app-window-height;
47
+ height: $chat-window-height;
48
48
  transform: scale(0);
49
49
  opacity: 0;
50
50
  }
51
51
 
52
- .#{$n}-app--layout-window.#{$n}-transition--visible {
52
+ &.#{$n}-app--layout-window .#{$n}-chat.#{$n}-transition--visible {
53
53
  display: flex;
54
54
  }
55
55
 
56
- .#{$n}-app--layout-window.#{$n}-transition--in {
56
+ &.#{$n}-app--layout-window .#{$n}-chat.#{$n}-transition--in {
57
57
  transform: scale(1);
58
58
  opacity: 1;
59
59
  }
60
60
 
61
- .#{$n}-app--layout-app {
61
+ &.#{$n}-app--layout-app .#{$n}-chat {
62
62
  position: fixed;
63
63
  z-index: $z-index;
64
64
  top: 0;
@@ -71,7 +71,7 @@
71
71
  max-height: 100%;
72
72
  }
73
73
 
74
- .#{$n}-app-wrapper {
74
+ .#{$n}-chat-wrapper {
75
75
  display: flex;
76
76
  position: relative;
77
77
  z-index: 1;
@@ -81,18 +81,18 @@
81
81
  overflow: hidden;
82
82
  transition: flex $transition, width $transition, height $transition,
83
83
  border-radius $transition;
84
- border: $thin-border solid set-border-color($app-bg);
84
+ border: $thin-border solid set-border-color($chat-bg);
85
85
  border-radius: $borderradius;
86
- background-color: $app-bg;
86
+ background-color: $chat-bg;
87
87
  box-shadow: $boxshadow-soft;
88
88
  }
89
89
 
90
- .#{$n}-app--layout-app .#{$n}-app-wrapper {
90
+ &.#{$n}-app--layout-app .#{$n}-chat-wrapper {
91
91
  border: 0 none;
92
92
  border-radius: 0;
93
93
  }
94
94
 
95
- .#{$n}-app--layout-inline .#{$n}-app-wrapper {
95
+ &.#{$n}-app--layout-inline .#{$n}-chat-wrapper {
96
96
  width: 100%;
97
97
  height: 0;
98
98
 
@@ -111,12 +111,14 @@
111
111
  }
112
112
  }
113
113
 
114
- .#{$n}-app--layout-inline.#{$n}-transition--in .#{$n}-app-wrapper {
115
- height: $app-inline-height;
116
- max-height: $app-inline-maxheight;
114
+ &.#{$n}-app--layout-inline
115
+ .#{$n}-chat.#{$n}-transition--in
116
+ .#{$n}-chat-wrapper {
117
+ height: $chat-inline-height;
118
+ max-height: $chat-inline-maxheight;
117
119
  }
118
120
 
119
- .#{$n}-app__container {
121
+ .#{$n}-chat__container {
120
122
  display: flex;
121
123
  position: relative;
122
124
  flex-direction: column;
@@ -124,7 +126,7 @@
124
126
  height: 100%;
125
127
  }
126
128
 
127
- .#{$n}-app__body {
129
+ .#{$n}-chat__body {
128
130
  display: flex;
129
131
  position: relative;
130
132
  flex-grow: 4;
@@ -132,11 +134,11 @@
132
134
  overflow-y: auto;
133
135
  }
134
136
 
135
- .#{$n}-app--layout-window .#{$n}-app__body {
137
+ &.#{$n}-app--layout-window .#{$n}-chat__body {
136
138
  overscroll-behavior: contain;
137
139
  }
138
140
 
139
- .#{$n}-app__entry {
141
+ .#{$n}-chat__entry {
140
142
  position: relative;
141
143
  flex: 0 0 auto;
142
144
  padding: $spacer * 0.5;
@@ -147,7 +149,7 @@
147
149
  }
148
150
  }
149
151
 
150
- .#{$n}-app--layout-inline.#{$n}-app--collapsed .#{$n}-app__entry {
152
+ &.#{$n}-app--layout-inline .#{$n}-chat.#{$n}-app--collapsed .#{$n}-chat__entry {
151
153
  border: 0 none;
152
154
  }
153
155
 
@@ -29,12 +29,12 @@
29
29
  }
30
30
  }
31
31
 
32
- .#{$n}-chat-status ~ .#{$n}-app__container .#{$n}-conversation {
32
+ .#{$n}-chat-status ~ .#{$n}-chat__container .#{$n}-conversation {
33
33
  padding-top: $buttonsize + $spacer * 2;
34
34
  }
35
35
 
36
36
  .#{$n}-chat-status
37
- ~ .#{$n}-app__container
37
+ ~ .#{$n}-chat__container
38
38
  .#{$n}-disclaimer
39
39
  + .#{$n}-conversation {
40
40
  padding-top: 0;
@@ -11,7 +11,7 @@
11
11
  padding-right: $buttonsize + $spacer * 2;
12
12
  }
13
13
 
14
- .#{$n}-chat-status ~ .#{$n}-app__container .#{$n}-disclaimer {
14
+ .#{$n}-chat-status ~ .#{$n}-chat__container .#{$n}-disclaimer {
15
15
  margin-top: $buttonsize + $spacer * 2;
16
16
  padding: $spacer * 0.5 $spacer;
17
17
  }
@@ -3,17 +3,15 @@
3
3
 
4
4
  // BASE
5
5
  // ----
6
- .#{$n}-error__message {
7
- display: flex;
8
- align-items: flex-start;
6
+ .#{$n}-error {
7
+ display: block;
9
8
  width: 100%;
10
- margin: 0 0 $spacer * 0.5;
11
- padding: $spacer * 0.25 $spacer * 0.5;
12
- border-radius: $borderradius-small;
13
- background-color: rgba($negative, 0.1);
14
- color: $negative-dark;
15
- font-size: $fontsize-small;
16
- font-weight: $fontweight-bold;
9
+ margin: 0 0 $spacer * 0.25;
10
+
11
+ &:empty {
12
+ display: none;
13
+ margin: 0;
14
+ }
17
15
 
18
16
  .#{$n}-icon {
19
17
  flex: 0 0 16px;
@@ -21,4 +19,16 @@
21
19
  height: 16px;
22
20
  margin-right: $spacer * 0.25;
23
21
  }
22
+
23
+ .#{$n}-error__message {
24
+ display: flex;
25
+ align-items: flex-start;
26
+ width: 100%;
27
+ padding: $spacer * 0.25 $spacer * 0.5;
28
+ border-radius: $borderradius-small;
29
+ background-color: rgba($negative, 0.1);
30
+ color: $negative-dark;
31
+ font-size: $fontsize-small;
32
+ font-weight: $fontweight-bold;
33
+ }
24
34
  }
@@ -1,6 +1,7 @@
1
1
  .#{$n}-message-count {
2
2
  display: flex;
3
3
  position: absolute;
4
+ z-index: 1;
4
5
  top: $spacer * -0.5;
5
6
  right: $spacer * -0.5;
6
7
  align-items: center;
@@ -17,7 +17,7 @@
17
17
  padding: $spacer;
18
18
  transform: scale(1);
19
19
  opacity: 1;
20
- background-color: rgba($app-bg, 0.8);
20
+ background-color: rgba($chat-bg, 0.8);
21
21
  }
22
22
 
23
23
  .#{$n}-modal__float {
@@ -29,7 +29,7 @@
29
29
  border: $thin-border solid $grey-b;
30
30
  border-radius: $borderradius;
31
31
  outline: 0;
32
- background-color: $app-bg;
32
+ background-color: $chat-bg;
33
33
  box-shadow: $boxshadow-soft;
34
34
  }
35
35
 
@@ -1,4 +1,4 @@
1
- .#{$n}-app__options {
1
+ .#{$n}-chat__options {
2
2
  display: flex;
3
3
  position: relative;
4
4
  flex: 0;
@@ -9,15 +9,15 @@
9
9
  border-top: $thin-border solid $grey-b;
10
10
  }
11
11
 
12
- .#{$n}-app__options-item--left {
12
+ .#{$n}-chat__options-item--left {
13
13
  margin-right: auto;
14
14
  }
15
15
 
16
- &.#{$n}-app--collapsed .#{$n}-app__options {
16
+ &.#{$n}-app--collapsed .#{$n}-chat__options {
17
17
  display: none;
18
18
  }
19
19
 
20
- .#{$n}-app__options__button {
20
+ .#{$n}-chat__options__button {
21
21
  display: flex;
22
22
  align-items: center;
23
23
  justify-content: flex-end;
@@ -25,23 +25,23 @@
25
25
  border-radius: $borderradius-small;
26
26
  }
27
27
 
28
- &.#{$n}-app--collapsed .#{$n}-app__options-button {
28
+ &.#{$n}-app--collapsed .#{$n}-chat__options-button {
29
29
  display: none;
30
30
  }
31
31
 
32
- .#{$n}-app__options__button .#{$n}-icon {
32
+ .#{$n}-chat__options__button .#{$n}-icon {
33
33
  flex: 0 0 $iconsize-small;
34
34
  width: $iconsize-small;
35
35
  height: $iconsize-small;
36
36
  margin-right: $spacer * 0.25;
37
37
  }
38
38
 
39
- .#{$n}-app__options__button .#{$n}-icon svg {
39
+ .#{$n}-chat__options__button .#{$n}-icon svg {
40
40
  width: 100%;
41
41
  height: 100%;
42
42
  }
43
43
 
44
- .#{$n}-app__options__button .#{$n}-icon path {
44
+ .#{$n}-chat__options__button .#{$n}-icon path {
45
45
  fill: currentColor;
46
46
  }
47
47
 
@@ -5,7 +5,7 @@
5
5
  padding: 0;
6
6
  }
7
7
 
8
- .#{$n}-pre-chat-messages--window {
8
+ &.#{$n}-app--layout-window .#{$n}-pre-chat-messages {
9
9
  position: fixed;
10
10
  z-index: $z-index;
11
11
  right: $spacer;
@@ -21,7 +21,11 @@
21
21
  margin-bottom: $spacer * 0.5;
22
22
  }
23
23
 
24
- .#{$n}-pre-chat-messages--window .#{$n}-message__body {
24
+ &.#{$n}-app--layout-window .#{$n}-pre-chat-messages .#{$n}-message {
25
+ width: 100%;
26
+ }
27
+
28
+ &.#{$n}-app--layout-window .#{$n}-pre-chat-messages .#{$n}-message__body {
25
29
  padding: $spacer * 0.5 $spacer * 0.75;
26
30
  border: $thin-border solid $white;
27
31
  border-radius: $borderradius;
@@ -4,9 +4,9 @@
4
4
  overscroll-behavior: contain;
5
5
  }
6
6
 
7
- .#{$n}-app--layout-inline > .#{$n}-suggestions {
7
+ &.#{$n}-app--layout-inline .#{$n}-chat > .#{$n}-suggestions {
8
8
  flex-direction: column;
9
- max-height: $app-suggestions-maxheight;
9
+ max-height: $chat-suggestions-maxheight;
10
10
  padding: $spacer;
11
11
  overflow: hidden;
12
12
  transition: max-height $transition, padding $transition, transform $transition,
@@ -30,9 +30,9 @@
30
30
  @include media('>phablet-l') {
31
31
  flex: 0 0 50%;
32
32
  width: 50%;
33
- height: $app-inline-height;
33
+ height: $chat-inline-height;
34
34
  min-height: 100%;
35
- max-height: $app-inline-maxheight;
35
+ max-height: $chat-inline-maxheight;
36
36
  transform: translateX(-100%);
37
37
  }
38
38
 
@@ -61,7 +61,10 @@
61
61
  overscroll-behavior: contain;
62
62
  }
63
63
 
64
- .#{$n}-app--layout-inline > .#{$n}-suggestions .#{$n}-suggestions__list {
64
+ &.#{$n}-app--layout-inline
65
+ .#{$n}-chat
66
+ > .#{$n}-suggestions
67
+ .#{$n}-suggestions__list {
65
68
  flex: 1 1 100%;
66
69
  flex-direction: column;
67
70
  flex-wrap: nowrap;
@@ -77,7 +80,10 @@
77
80
  margin: 0 $spacer * 0.25 $spacer * 0.25 0;
78
81
  }
79
82
 
80
- .#{$n}-app--layout-inline > .#{$n}-suggestions .#{$n}-suggestions-item {
83
+ &.#{$n}-app--layout-inline
84
+ .#{$n}-chat
85
+ > .#{$n}-suggestions
86
+ .#{$n}-suggestions-item {
81
87
  width: 100%;
82
88
  margin-right: 0;
83
89
  }
@@ -3,21 +3,25 @@
3
3
  width: 100%;
4
4
  overflow: hidden;
5
5
  transition: margin $transition, max-height $transition;
6
+ }
6
7
 
7
- &:not(&.#{$n}-unstarted-wrapper--window) {
8
- max-height: 0;
8
+ &.#{$n}-app--layout-inline .#{$n}-unstarted-wrapper {
9
+ max-height: 0;
9
10
 
10
- @include media('>desktop') {
11
- width: 67%;
12
- }
11
+ @include media('>desktop') {
12
+ width: 67%;
13
13
  }
14
14
  }
15
15
 
16
16
  .#{$n}-unstarted-wrapper.#{$n}-transition--visible {
17
17
  display: block;
18
+
19
+ &:empty {
20
+ display: none;
21
+ }
18
22
  }
19
23
 
20
- .#{$n}-unstarted-wrapper:not(.#{$n}-unstarted-wrapper--window).#{$n}-transition--in {
24
+ &.#{$n}-app--layout-inline .#{$n}-unstarted-wrapper.#{$n}-transition--in {
21
25
  max-height: $spacer * 30;
22
26
  margin-bottom: $spacer;
23
27
  }
@@ -40,11 +44,13 @@
40
44
  opacity: 1;
41
45
  }
42
46
 
43
- .#{$n}-unstarted-wrapper--window .#{$n}-pre-chat-messages {
47
+ &.#{$n}-app--layout-window .#{$n}-pre-chat-messages {
44
48
  transform: scale(0);
45
49
  transform-origin: 100% 100%;
46
50
  }
47
51
 
48
- .#{$n}-unstarted-wrapper--window.#{$n}-transition--in .#{$n}-pre-chat-messages {
52
+ &.#{$n}-app--layout-window
53
+ .#{$n}-unstarted-wrapper.#{$n}-transition--in
54
+ .#{$n}-pre-chat-messages {
49
55
  transform: scale(1);
50
56
  }
@@ -0,0 +1,153 @@
1
+ .#{$n}-app {
2
+ @media (hover: hover) {
3
+ .#{$n}-button.#{$n}-collapse-button,
4
+ .#{$n}-modal__enlarge,
5
+ .#{$n}-modal__close {
6
+ transition: background-color $transition;
7
+
8
+ &:hover {
9
+ background-color: $interaction-dark;
10
+ }
11
+
12
+ path {
13
+ transition: fill $transition;
14
+ }
15
+
16
+ &:hover svg path {
17
+ fill: $white;
18
+ }
19
+ }
20
+
21
+ .#{$n}-button {
22
+ transition: color $transition, background-color $transition;
23
+ }
24
+
25
+ .#{$n}-button--primary:not(.#{$n}-button--disabled) {
26
+ &:hover {
27
+ background-color: $interaction-dark;
28
+ }
29
+ }
30
+
31
+ .#{$n}-button--secondary:not(.#{$n}-button--disabled),
32
+ .#{$n}-button--tertiary:not(.#{$n}-button--disabled) {
33
+ &:hover {
34
+ color: $interaction-dark;
35
+ }
36
+ }
37
+
38
+ .#{$n}-choice-prompt__item--secondary .#{$n}-button {
39
+ &:hover {
40
+ background-color: initial;
41
+ color: $interaction-dark;
42
+ }
43
+ }
44
+
45
+ .#{$n}-message--type-cta .#{$n}-button {
46
+ &:hover {
47
+ background-color: $white;
48
+ color: $interaction-dark;
49
+ }
50
+ }
51
+
52
+ .#{$n}-message__body a {
53
+ transition: color $transition;
54
+
55
+ &:hover {
56
+ text-decoration: none;
57
+ }
58
+ }
59
+
60
+ .#{$n}-conversation__item--source-agent
61
+ .#{$n}-message__body.#{$n}-message__body
62
+ a {
63
+ &:hover {
64
+ color: $interaction-dark;
65
+ }
66
+ }
67
+
68
+ .#{$n}-input__text {
69
+ transition: padding $transition, border $transition;
70
+
71
+ &:hover {
72
+ border-color: $interaction-dark;
73
+ }
74
+
75
+ &:focus {
76
+ border-color: transparent;
77
+ }
78
+ }
79
+
80
+ .#{$n}-input__submit:not(:disabled):hover .#{$n}-icon path {
81
+ fill: $interaction-dark;
82
+ }
83
+
84
+ .#{$n}-card__content.#{$n}-card__content .#{$n}-button.#{$n}-button:hover {
85
+ color: $white;
86
+ }
87
+
88
+ .#{$n}-carousel__controls .#{$n}-button .#{$n}-icon svg path {
89
+ transition: fill $transition;
90
+ }
91
+
92
+ .#{$n}-carousel__controls .#{$n}-button:hover .#{$n}-icon svg path {
93
+ fill: $interaction-dark;
94
+ }
95
+
96
+ .#{$n}-carousel-pagination__button::before {
97
+ transition: background-color $transition;
98
+ }
99
+
100
+ .#{$n}-carousel-pagination__button:hover::before {
101
+ background-color: $interaction-dark;
102
+ }
103
+
104
+ .#{$n}-upload-toggle path {
105
+ transition: fill $transition;
106
+ }
107
+
108
+ .#{$n}-upload-toggle:hover path {
109
+ background-color: $interaction-dark;
110
+ }
111
+
112
+ .#{$n}-file-upload {
113
+ transition: border $transition;
114
+
115
+ &:hover {
116
+ border-color: $interaction-dark;
117
+ }
118
+ }
119
+
120
+ .#{$n}-upload__label {
121
+ transition: color $transition;
122
+
123
+ &:hover {
124
+ color: $interaction-dark;
125
+ }
126
+ }
127
+
128
+ .#{$n}-options__menu__item:not(.#{$n}-button--disabled) {
129
+ transition: color $transition;
130
+
131
+ &:hover {
132
+ color: $interaction-dark;
133
+ }
134
+ }
135
+
136
+ .#{$n}-options__close {
137
+ transition: color $transition;
138
+
139
+ &:hover {
140
+ color: $interaction-dark;
141
+ }
142
+ }
143
+
144
+ .#{$n}-transcript__input,
145
+ .#{$n}-input__select {
146
+ transition: border $transition;
147
+
148
+ &:hover {
149
+ border-color: $interaction-dark;
150
+ }
151
+ }
152
+ }
153
+ }
@@ -1,4 +1,4 @@
1
- .#{$n}-app__body,
1
+ .#{$n}-chat__body,
2
2
  .#{$n}-app--layout-inline .#{$n}-suggestions__list,
3
3
  .#{$n}-options__wrapper {
4
4
  scrollbar-color: $brand1 transparent;
@@ -95,7 +95,7 @@ $app-header-bgcolor: $brand3;
95
95
  }
96
96
  }
97
97
 
98
- .#{$n}-app__header {
98
+ .#{$n}-chat__header {
99
99
  display: flex;
100
100
  position: relative;
101
101
  flex: 0 0 auto;
@@ -108,7 +108,7 @@ $app-header-bgcolor: $brand3;
108
108
  border-top-right-radius: $borderradius;
109
109
  }
110
110
 
111
- .#{$n}-app--collapsed.#{$n}-app--deprecated .#{$n}-app__header {
111
+ .#{$n}-app--collapsed.#{$n}-app--deprecated .#{$n}-chat__header {
112
112
  border-bottom: 0;
113
113
  border-bottom-left-radius: $borderradius;
114
114
  border-bottom-right-radius: $borderradius;
@@ -167,7 +167,7 @@ $app-header-bgcolor: $brand3;
167
167
  }
168
168
  }
169
169
 
170
- .#{$n}-app__container {
170
+ .#{$n}-chat__container {
171
171
  display: flex;
172
172
  position: relative;
173
173
  flex: 1 1 auto;
@@ -175,7 +175,7 @@ $app-header-bgcolor: $brand3;
175
175
  max-height: 100%;
176
176
  }
177
177
 
178
- .#{$n}-app__body {
178
+ .#{$n}-chat__body {
179
179
  display: flex;
180
180
  position: relative;
181
181
  flex-grow: 4;
@@ -184,17 +184,17 @@ $app-header-bgcolor: $brand3;
184
184
  border-bottom: $thin-border solid $grey-b;
185
185
  }
186
186
 
187
- .#{$n}-app--collapsed.#{$n}-app--deprecated .#{$n}-app__body {
187
+ .#{$n}-app--collapsed.#{$n}-app--deprecated .#{$n}-chat__body {
188
188
  display: none;
189
189
  }
190
190
 
191
- .#{$n}-app--layout-window.#{$n}-app--deprecated .#{$n}-app__body {
191
+ .#{$n}-app--layout-window.#{$n}-app--deprecated .#{$n}-chat__body {
192
192
  overscroll-behavior: contain;
193
193
  /* stylelint-disable-next-line property-no-vendor-prefix */
194
194
  -ms-scroll-chaining: none;
195
195
  }
196
196
 
197
- .#{$n}-app__entry {
197
+ .#{$n}-chat__entry {
198
198
  position: relative;
199
199
  flex: 0 0 auto;
200
200
  padding: $app-parts-padding;
@@ -204,7 +204,7 @@ $app-header-bgcolor: $brand3;
204
204
  }
205
205
  }
206
206
 
207
- .#{$n}-app--collapsed.#{$n}-app--deprecated .#{$n}-app__entry {
207
+ .#{$n}-app--collapsed.#{$n}-app--deprecated .#{$n}-chat__entry {
208
208
  display: none;
209
209
  }
210
210