@seamly/web-ui 20.0.0-beta.3 → 20.0.0-beta.6
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 +1 -1
- package/build/dist/lib/components.min.js +1 -1
- package/build/dist/lib/deprecated-view.css +1 -0
- package/build/dist/lib/deprecated-view.js +1 -0
- package/build/dist/lib/index.debug.js +80 -57
- package/build/dist/lib/index.debug.min.js +1 -1
- package/build/dist/lib/index.debug.min.js.LICENSE.txt +20 -12
- package/build/dist/lib/index.js +14645 -14065
- package/build/dist/lib/index.min.js +1 -1
- package/build/dist/lib/index.min.js.LICENSE.txt +5 -0
- package/build/dist/lib/standalone.js +19725 -19707
- package/build/dist/lib/standalone.min.js +1 -1
- package/build/dist/lib/style-guide.js +86 -27
- package/build/dist/lib/style-guide.min.js +1 -1
- package/build/dist/lib/styles-default-implementation.css +1 -0
- package/build/dist/lib/styles-default-implementation.js +1 -0
- package/build/dist/lib/styles.css +1 -1
- package/package.json +8 -7
- package/src/javascripts/api/index.js +19 -10
- package/src/javascripts/api/producer.js +5 -3
- package/src/javascripts/domains/translations/components/options-button.js +1 -1
- package/src/javascripts/index.js +2 -2
- package/src/javascripts/lib/engine/index.js +2 -1
- package/src/javascripts/lib/parse-body.js +1 -1
- package/src/javascripts/package/components.js +1 -1
- package/src/javascripts/style-guide/components/view.js +1 -0
- package/src/javascripts/style-guide/states.js +67 -6
- package/src/javascripts/style-guide/style-guide-engine.js +1 -0
- package/src/javascripts/ui/components/app-options/index.js +9 -3
- package/src/javascripts/ui/components/conversation/conversation.js +1 -1
- package/src/javascripts/ui/components/conversation/event/carousel-message/index.js +3 -1
- package/src/javascripts/ui/components/conversation/event/conversation-suggestions.js +12 -3
- package/src/javascripts/ui/components/conversation/event/hooks/use-text-rendering.js +35 -0
- package/src/javascripts/ui/components/conversation/event/participant.js +5 -2
- package/src/javascripts/ui/components/conversation/event/splash.js +2 -1
- package/src/javascripts/ui/components/conversation/event/text.js +2 -1
- package/src/javascripts/ui/components/entry/{toggle-button.js → deprecated-toggle-button.js} +0 -0
- package/src/javascripts/ui/components/entry/entry-container.js +1 -1
- package/src/javascripts/ui/components/layout/chat-frame.js +1 -1
- package/src/javascripts/ui/components/layout/{app-frame.js → chat.js} +10 -41
- package/src/javascripts/ui/components/layout/deprecated-app-frame.js +1 -8
- package/src/javascripts/ui/components/layout/header.js +1 -1
- package/src/javascripts/ui/components/layout/pre-chat-messages.js +2 -8
- package/src/javascripts/ui/components/options/options-button.js +2 -2
- package/src/javascripts/ui/components/suggestions/index.js +2 -3
- package/src/javascripts/ui/components/suggestions/suggestions-list.js +1 -1
- package/src/javascripts/ui/components/view/app-view.js +3 -3
- package/src/javascripts/ui/components/view/deprecated-view.js +2 -2
- package/src/javascripts/ui/components/view/index.js +61 -5
- package/src/javascripts/ui/components/view/inline-view.js +15 -4
- package/src/javascripts/ui/components/view/window-view/index.js +5 -5
- package/src/stylesheets/1-settings/_config.scss +6 -6
- package/src/stylesheets/{3-app/_app.scss → 3-chat/_chat.scss} +22 -35
- package/src/stylesheets/5-components/_chat-status.scss +1 -5
- package/src/stylesheets/5-components/_conversation.scss +3 -3
- package/src/stylesheets/5-components/_disclaimer.scss +2 -6
- package/src/stylesheets/5-components/_interrupt.scss +21 -2
- package/src/stylesheets/5-components/_message-body.scss +23 -1
- package/src/stylesheets/5-components/_message-count.scss +1 -0
- package/src/stylesheets/5-components/_message.scss +4 -0
- package/src/stylesheets/5-components/_modal.scss +2 -2
- package/src/stylesheets/5-components/_options.scss +6 -14
- package/src/stylesheets/5-components/_pre-chat-messages.scss +24 -17
- package/src/stylesheets/5-components/_suggestions.scss +6 -6
- package/src/stylesheets/5-components/_unstarted.scss +22 -36
- package/src/stylesheets/6-default-implementation/_hover.scss +153 -0
- package/src/stylesheets/{6-webui-only → 6-default-implementation}/_scrollbar.scss +1 -1
- package/src/stylesheets/7-deprecated/3-app/_app.scss +8 -8
- package/src/stylesheets/7-deprecated/5-components/_message.scss +1 -1
- package/src/stylesheets/7-deprecated/5-components/_modal.scss +1 -1
- package/src/stylesheets/7-deprecated/5-components/_options.scss +8 -8
- package/src/stylesheets/style-guide.scss +1 -1
- package/src/stylesheets/styles-default-implementation.scss +3 -0
- package/src/stylesheets/styles.scss +8 -9
- package/webpack/config.package.js +9 -1
- package/webpack/defaults.js +3 -6
- package/src/javascripts/ui/components/layout/modal-wrapper.js +0 -0
- package/src/stylesheets/6-webui-only/_hover.scss +0 -151
- 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
|
-
$
|
|
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
|
-
$
|
|
74
|
-
$
|
|
73
|
+
$chat-window-width: $spacer * 18 !default;
|
|
74
|
+
$chat-window-height: $spacer * 36 !default;
|
|
75
75
|
|
|
76
|
-
$
|
|
77
|
-
$
|
|
76
|
+
$chat-inline-height: $spacer * 32 !default;
|
|
77
|
+
$chat-inline-maxheight: 90vh !default;
|
|
78
78
|
|
|
79
|
-
$
|
|
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}-
|
|
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($
|
|
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}-
|
|
15
|
+
.#{$n}-chat--layout-inline {
|
|
16
16
|
height: fit-content;
|
|
17
17
|
background-color: initial;
|
|
18
18
|
box-shadow: none;
|
|
@@ -22,19 +22,11 @@
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
.#{$n}-
|
|
25
|
+
.#{$n}-chat--layout-inline.#{$n}-chat--collapsed .#{$n}-chat-wrapper {
|
|
26
26
|
height: auto;
|
|
27
27
|
}
|
|
28
28
|
|
|
29
|
-
.#{$n}-
|
|
30
|
-
transition: none;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.#{$n}-app--layout-inline.#{$n}-app--user-responded .#{$n}-app-wrapper {
|
|
34
|
-
transition: none;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.#{$n}-app--layout-window {
|
|
29
|
+
.#{$n}-chat--layout-window {
|
|
38
30
|
@include responsiveAppSizing();
|
|
39
31
|
|
|
40
32
|
display: none;
|
|
@@ -42,23 +34,23 @@
|
|
|
42
34
|
z-index: $z-index;
|
|
43
35
|
right: $spacer;
|
|
44
36
|
bottom: $spacer;
|
|
45
|
-
width: $
|
|
37
|
+
width: $chat-window-width;
|
|
46
38
|
max-width: calc(100% - #{$spacer * 2});
|
|
47
|
-
height: $
|
|
39
|
+
height: $chat-window-height;
|
|
48
40
|
transform: scale(0);
|
|
49
41
|
opacity: 0;
|
|
50
42
|
}
|
|
51
43
|
|
|
52
|
-
.#{$n}-
|
|
44
|
+
.#{$n}-chat--layout-window.#{$n}-transition--visible {
|
|
53
45
|
display: flex;
|
|
54
46
|
}
|
|
55
47
|
|
|
56
|
-
.#{$n}-
|
|
48
|
+
.#{$n}-chat--layout-window.#{$n}-transition--in {
|
|
57
49
|
transform: scale(1);
|
|
58
50
|
opacity: 1;
|
|
59
51
|
}
|
|
60
52
|
|
|
61
|
-
.#{$n}-
|
|
53
|
+
.#{$n}-chat--layout-app {
|
|
62
54
|
position: fixed;
|
|
63
55
|
z-index: $z-index;
|
|
64
56
|
top: 0;
|
|
@@ -71,7 +63,7 @@
|
|
|
71
63
|
max-height: 100%;
|
|
72
64
|
}
|
|
73
65
|
|
|
74
|
-
.#{$n}-
|
|
66
|
+
.#{$n}-chat-wrapper {
|
|
75
67
|
display: flex;
|
|
76
68
|
position: relative;
|
|
77
69
|
z-index: 1;
|
|
@@ -81,18 +73,13 @@
|
|
|
81
73
|
overflow: hidden;
|
|
82
74
|
transition: flex $transition, width $transition, height $transition,
|
|
83
75
|
border-radius $transition;
|
|
84
|
-
border: $thin-border solid set-border-color($
|
|
76
|
+
border: $thin-border solid set-border-color($chat-bg);
|
|
85
77
|
border-radius: $borderradius;
|
|
86
|
-
background-color: $
|
|
78
|
+
background-color: $chat-bg;
|
|
87
79
|
box-shadow: $boxshadow-soft;
|
|
88
80
|
}
|
|
89
81
|
|
|
90
|
-
.#{$n}-
|
|
91
|
-
border: 0 none;
|
|
92
|
-
border-radius: 0;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.#{$n}-app--layout-inline .#{$n}-app-wrapper {
|
|
82
|
+
.#{$n}-chat--layout-inline .#{$n}-chat-wrapper {
|
|
96
83
|
width: 100%;
|
|
97
84
|
height: 0;
|
|
98
85
|
|
|
@@ -111,12 +98,12 @@
|
|
|
111
98
|
}
|
|
112
99
|
}
|
|
113
100
|
|
|
114
|
-
.#{$n}-
|
|
115
|
-
height: $
|
|
116
|
-
max-height: $
|
|
101
|
+
.#{$n}-chat--layout-inline.#{$n}-transition--in .#{$n}-chat-wrapper {
|
|
102
|
+
height: $chat-inline-height;
|
|
103
|
+
max-height: $chat-inline-maxheight;
|
|
117
104
|
}
|
|
118
105
|
|
|
119
|
-
.#{$n}-
|
|
106
|
+
.#{$n}-chat__container {
|
|
120
107
|
display: flex;
|
|
121
108
|
position: relative;
|
|
122
109
|
flex-direction: column;
|
|
@@ -124,7 +111,7 @@
|
|
|
124
111
|
height: 100%;
|
|
125
112
|
}
|
|
126
113
|
|
|
127
|
-
.#{$n}-
|
|
114
|
+
.#{$n}-chat__body {
|
|
128
115
|
display: flex;
|
|
129
116
|
position: relative;
|
|
130
117
|
flex-grow: 4;
|
|
@@ -132,11 +119,11 @@
|
|
|
132
119
|
overflow-y: auto;
|
|
133
120
|
}
|
|
134
121
|
|
|
135
|
-
.#{$n}-
|
|
122
|
+
.#{$n}-chat--layout-window .#{$n}-chat__body {
|
|
136
123
|
overscroll-behavior: contain;
|
|
137
124
|
}
|
|
138
125
|
|
|
139
|
-
.#{$n}-
|
|
126
|
+
.#{$n}-chat__entry {
|
|
140
127
|
position: relative;
|
|
141
128
|
flex: 0 0 auto;
|
|
142
129
|
padding: $spacer * 0.5;
|
|
@@ -147,7 +134,7 @@
|
|
|
147
134
|
}
|
|
148
135
|
}
|
|
149
136
|
|
|
150
|
-
.#{$n}-
|
|
137
|
+
.#{$n}-chat--layout-inline.#{$n}-chat--collapsed .#{$n}-chat__entry {
|
|
151
138
|
border: 0 none;
|
|
152
139
|
}
|
|
153
140
|
|
|
@@ -15,14 +15,10 @@
|
|
|
15
15
|
box-shadow: $boxshadow;
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
.#{$n}-chat--layout-window .#{$n}-chat-status {
|
|
19
19
|
width: calc(100% - #{$spacer * 2.5 + $buttonsize});
|
|
20
20
|
}
|
|
21
21
|
|
|
22
|
-
&.#{$n}-app--collapsed .#{$n}-chat-status {
|
|
23
|
-
display: none;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
22
|
.#{$n}-chat-status__title {
|
|
27
23
|
display: flex;
|
|
28
24
|
flex: 1;
|
|
@@ -29,18 +29,18 @@
|
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
.#{$n}-chat-status ~ .#{$n}-
|
|
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}-
|
|
37
|
+
~ .#{$n}-chat__container
|
|
38
38
|
.#{$n}-disclaimer
|
|
39
39
|
+ .#{$n}-conversation {
|
|
40
40
|
padding-top: 0;
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
.#{$n}-chat--layout-inline .#{$n}-conversation {
|
|
44
44
|
position: relative;
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -7,19 +7,15 @@
|
|
|
7
7
|
background-color: $grey-a;
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
|
|
10
|
+
.#{$n}-chat--layout-window .#{$n}-disclaimer {
|
|
11
11
|
padding-right: $buttonsize + $spacer * 2;
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
.#{$n}-chat-status ~ .#{$n}-
|
|
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
|
}
|
|
18
18
|
|
|
19
|
-
&.#{$n}-app--collapsed .#{$n}-disclaimer {
|
|
20
|
-
display: none;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
19
|
.#{$n}-disclaimer__title {
|
|
24
20
|
margin: 0 0 $spacer * 0.25;
|
|
25
21
|
padding-right: $spacer;
|
|
@@ -8,17 +8,32 @@
|
|
|
8
8
|
background: $white;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
&.#{$n}-app--layout-inline.#{$n}-app--collapsed .#{$n}-interrupt {
|
|
12
|
+
position: static;
|
|
13
|
+
width: 100%;
|
|
14
|
+
border-radius: $borderradius;
|
|
15
|
+
|
|
16
|
+
@include media('>desktop') {
|
|
17
|
+
width: 67%;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
11
21
|
.#{$n}-interrupt__body {
|
|
12
22
|
display: flex;
|
|
13
23
|
flex: 1 1 auto;
|
|
14
24
|
flex-direction: column;
|
|
15
|
-
align-items:
|
|
25
|
+
align-items: left;
|
|
16
26
|
justify-content: center;
|
|
17
|
-
margin: $spacer * 0.5;
|
|
18
27
|
padding: $spacer * 2;
|
|
28
|
+
text-align: left;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.#{$n}-chat .#{$n}-interrupt__body {
|
|
32
|
+
margin: $spacer * 0.5;
|
|
19
33
|
}
|
|
20
34
|
|
|
21
35
|
.#{$n}-interrupt__title {
|
|
36
|
+
margin: 0 0 $spacer;
|
|
22
37
|
font-size: $fontsize-default;
|
|
23
38
|
font-weight: bold;
|
|
24
39
|
}
|
|
@@ -26,6 +41,10 @@
|
|
|
26
41
|
.#{$n}-interrupt__message {
|
|
27
42
|
margin-bottom: $spacer * 2;
|
|
28
43
|
font-size: $fontsize-default;
|
|
44
|
+
|
|
45
|
+
&:last-child {
|
|
46
|
+
margin-bottom: 0;
|
|
47
|
+
}
|
|
29
48
|
}
|
|
30
49
|
|
|
31
50
|
.#{$n}-interrupt__actions {
|
|
@@ -17,6 +17,28 @@
|
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
.#{$n}-unstarted-wrapper.#{$n}-unstarted-wrapper--window .#{$n}-message__body {
|
|
21
|
+
margin-left: auto;
|
|
22
|
+
padding: $spacer * 0.5 $spacer * 0.75;
|
|
23
|
+
border: $thin-border solid $white;
|
|
24
|
+
border-radius: $borderradius;
|
|
25
|
+
background-color: $threadlist-agent-text-bgcolor;
|
|
26
|
+
font-size: $fontsize-medium;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.#{$n}-unstarted-wrapper--continue .#{$n}-message__body {
|
|
30
|
+
transform: scale(0);
|
|
31
|
+
transform-origin: 100% 100%;
|
|
32
|
+
transition: transform $transition, opacity $transition;
|
|
33
|
+
opacity: 0;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.#{$n}-unstarted-wrapper--continue.#{$n}-transition--in .#{$n}-message__body {
|
|
37
|
+
transform: scale(1);
|
|
38
|
+
transition: transform $transition-delay, opacity $transition-delay;
|
|
39
|
+
opacity: 1;
|
|
40
|
+
}
|
|
41
|
+
|
|
20
42
|
.#{$n}-conversation__item--source-info .#{$n}-message__body {
|
|
21
43
|
flex: 0 0 100%;
|
|
22
44
|
width: 100%;
|
|
@@ -82,7 +104,7 @@
|
|
|
82
104
|
}
|
|
83
105
|
}
|
|
84
106
|
|
|
85
|
-
|
|
107
|
+
.#{$n}-message--source-user .#{$n}-message__body a {
|
|
86
108
|
color: $white;
|
|
87
109
|
}
|
|
88
110
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
padding: $spacer;
|
|
18
18
|
transform: scale(1);
|
|
19
19
|
opacity: 1;
|
|
20
|
-
background-color: rgba($
|
|
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: $
|
|
32
|
+
background-color: $chat-bg;
|
|
33
33
|
box-shadow: $boxshadow-soft;
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.#{$n}-
|
|
1
|
+
.#{$n}-chat__options {
|
|
2
2
|
display: flex;
|
|
3
3
|
position: relative;
|
|
4
4
|
flex: 0;
|
|
@@ -9,15 +9,11 @@
|
|
|
9
9
|
border-top: $thin-border solid $grey-b;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
|
-
.#{$n}-
|
|
12
|
+
.#{$n}-chat__options-item--left {
|
|
13
13
|
margin-right: auto;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
|
|
17
|
-
display: none;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
.#{$n}-app__options__button {
|
|
16
|
+
.#{$n}-chat__options__button {
|
|
21
17
|
display: flex;
|
|
22
18
|
align-items: center;
|
|
23
19
|
justify-content: flex-end;
|
|
@@ -25,23 +21,19 @@
|
|
|
25
21
|
border-radius: $borderradius-small;
|
|
26
22
|
}
|
|
27
23
|
|
|
28
|
-
|
|
29
|
-
display: none;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.#{$n}-app__options__button .#{$n}-icon {
|
|
24
|
+
.#{$n}-chat__options__button .#{$n}-icon {
|
|
33
25
|
flex: 0 0 $iconsize-small;
|
|
34
26
|
width: $iconsize-small;
|
|
35
27
|
height: $iconsize-small;
|
|
36
28
|
margin-right: $spacer * 0.25;
|
|
37
29
|
}
|
|
38
30
|
|
|
39
|
-
.#{$n}-
|
|
31
|
+
.#{$n}-chat__options__button .#{$n}-icon svg {
|
|
40
32
|
width: 100%;
|
|
41
33
|
height: 100%;
|
|
42
34
|
}
|
|
43
35
|
|
|
44
|
-
.#{$n}-
|
|
36
|
+
.#{$n}-chat__options__button .#{$n}-icon path {
|
|
45
37
|
fill: currentColor;
|
|
46
38
|
}
|
|
47
39
|
|
|
@@ -5,26 +5,33 @@
|
|
|
5
5
|
padding: 0;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.#{$n}-pre-chat-messages
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
.#{$n}-unstarted-wrapper .#{$n}-pre-chat-messages {
|
|
9
|
+
display: none;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.#{$n}-unstarted-wrapper.#{$n}-transition--visible .#{$n}-pre-chat-messages {
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.#{$n}-unstarted-wrapper--inline .#{$n}-pre-chat-messages {
|
|
17
|
+
transition: opacity $transition;
|
|
18
|
+
opacity: 0;
|
|
19
|
+
}
|
|
14
20
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
21
|
+
.#{$n}-unstarted-wrapper--inline.#{$n}-transition--in .#{$n}-pre-chat-messages {
|
|
22
|
+
transition: opacity $transition-delay;
|
|
23
|
+
opacity: 1;
|
|
18
24
|
}
|
|
19
25
|
|
|
20
|
-
.#{$n}-pre-chat-
|
|
21
|
-
|
|
26
|
+
.#{$n}-unstarted-wrapper--window .#{$n}-pre-chat-messages {
|
|
27
|
+
transform: scale(0);
|
|
28
|
+
transform-origin: 100% 100%;
|
|
29
|
+
transition: transform $transition, opacity $transition;
|
|
30
|
+
opacity: 0;
|
|
22
31
|
}
|
|
23
32
|
|
|
24
|
-
.#{$n}-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
background-color: $threadlist-agent-text-bgcolor;
|
|
29
|
-
font-size: $fontsize-medium;
|
|
33
|
+
.#{$n}-unstarted-wrapper--window.#{$n}-transition--in .#{$n}-pre-chat-messages {
|
|
34
|
+
transform: scale(1);
|
|
35
|
+
transition: transform $transition-delay, opacity $transition-delay;
|
|
36
|
+
opacity: 1;
|
|
30
37
|
}
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
overscroll-behavior: contain;
|
|
5
5
|
}
|
|
6
6
|
|
|
7
|
-
.#{$n}-
|
|
7
|
+
.#{$n}-chat--layout-inline > .#{$n}-suggestions {
|
|
8
8
|
flex-direction: column;
|
|
9
|
-
max-height: $
|
|
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: $
|
|
33
|
+
height: $chat-inline-height;
|
|
34
34
|
min-height: 100%;
|
|
35
|
-
max-height: $
|
|
35
|
+
max-height: $chat-inline-maxheight;
|
|
36
36
|
transform: translateX(-100%);
|
|
37
37
|
}
|
|
38
38
|
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
overscroll-behavior: contain;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
-
.#{$n}-
|
|
64
|
+
.#{$n}-chat--layout-inline > .#{$n}-suggestions .#{$n}-suggestions__list {
|
|
65
65
|
flex: 1 1 100%;
|
|
66
66
|
flex-direction: column;
|
|
67
67
|
flex-wrap: nowrap;
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
margin: 0 $spacer * 0.25 $spacer * 0.25 0;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
-
.#{$n}-
|
|
80
|
+
.#{$n}-chat--layout-inline > .#{$n}-suggestions .#{$n}-suggestions-item {
|
|
81
81
|
width: 100%;
|
|
82
82
|
margin-right: 0;
|
|
83
83
|
}
|
|
@@ -1,50 +1,36 @@
|
|
|
1
|
-
.#{$n}-unstarted-wrapper {
|
|
1
|
+
.#{$n}-unstarted-wrapper:empty {
|
|
2
|
+
display: none;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.#{$n}-unstarted-wrapper--window {
|
|
6
|
+
position: fixed;
|
|
7
|
+
z-index: $z-index;
|
|
8
|
+
right: $spacer * 1.5;
|
|
9
|
+
bottom: $spacer * 1.5 + $avatarsize-large;
|
|
10
|
+
max-width: calc(100% - #{$spacer * 3});
|
|
11
|
+
|
|
12
|
+
@include media('>phablet-l') {
|
|
13
|
+
max-width: $spacer * 14;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.#{$n}-unstarted-wrapper--inline {
|
|
2
18
|
display: none;
|
|
3
19
|
width: 100%;
|
|
20
|
+
max-height: 0;
|
|
4
21
|
overflow: hidden;
|
|
5
22
|
transition: margin $transition, max-height $transition;
|
|
6
23
|
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
@include media('>desktop') {
|
|
11
|
-
width: 67%;
|
|
12
|
-
}
|
|
24
|
+
@include media('>desktop') {
|
|
25
|
+
width: 67%;
|
|
13
26
|
}
|
|
14
27
|
}
|
|
15
28
|
|
|
16
|
-
.#{$n}-unstarted-wrapper.#{$n}-transition--visible {
|
|
29
|
+
.#{$n}-unstarted-wrapper--inline.#{$n}-transition--visible {
|
|
17
30
|
display: block;
|
|
18
31
|
}
|
|
19
32
|
|
|
20
|
-
.#{$n}-unstarted-wrapper
|
|
33
|
+
.#{$n}-unstarted-wrapper--inline.#{$n}-transition--in {
|
|
21
34
|
max-height: $spacer * 30;
|
|
22
35
|
margin-bottom: $spacer;
|
|
23
36
|
}
|
|
24
|
-
|
|
25
|
-
.#{$n}-unstarted-wrapper .#{$n}-pre-chat-messages,
|
|
26
|
-
.#{$n}-unstarted-wrapper .#{$n}-cvco-suggestions {
|
|
27
|
-
display: none;
|
|
28
|
-
transition: transform $transition, opacity $transition;
|
|
29
|
-
opacity: 0;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
.#{$n}-unstarted-wrapper.#{$n}-transition--visible .#{$n}-pre-chat-messages,
|
|
33
|
-
.#{$n}-unstarted-wrapper.#{$n}-transition--visible .#{$n}-cvco-suggestions {
|
|
34
|
-
display: block;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
.#{$n}-unstarted-wrapper.#{$n}-transition--in .#{$n}-pre-chat-messages,
|
|
38
|
-
.#{$n}-unstarted-wrapper.#{$n}-transition--in .#{$n}-cvco-suggestions {
|
|
39
|
-
transition: transform $transition-delay, opacity $transition-delay;
|
|
40
|
-
opacity: 1;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.#{$n}-unstarted-wrapper--window .#{$n}-pre-chat-messages {
|
|
44
|
-
transform: scale(0);
|
|
45
|
-
transform-origin: 100% 100%;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.#{$n}-unstarted-wrapper--window.#{$n}-transition--in .#{$n}-pre-chat-messages {
|
|
49
|
-
transform: scale(1);
|
|
50
|
-
}
|