@meetelise/chat 1.20.63 → 1.20.64

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.
@@ -4,6 +4,8 @@ export const launcherStyles = css`
4
4
  * {
5
5
  font-family: "Helvetica Neue", Arial;
6
6
  font-size: 14px;
7
+
8
+ transition: all 0.2s ease-in-out; /* apply a smooth transition effect to all properties */
7
9
  }
8
10
  :host {
9
11
  --glowBarHeight: 11.2px;
@@ -317,8 +319,8 @@ export const launcherStyles = css`
317
319
 
318
320
  .minimize-bttn {
319
321
  position: absolute;
320
- top: -9px;
321
- right: 15px;
322
+ top: -24px;
323
+ right: 4px;
322
324
 
323
325
  background: #ffffff;
324
326
  border-radius: 4px;
@@ -350,45 +352,6 @@ export const launcherStyles = css`
350
352
  .chevron-up {
351
353
  transform: rotate(-90deg);
352
354
  }
353
- .vertical-pill-list {
354
- display: flex;
355
- flex-direction: column;
356
- gap: 1px;
357
- }
358
- .inner-pill-wrapper {
359
- background: #353535;
360
- border-width: 4px 0px 4px 4px;
361
- border-style: solid;
362
- border-color: #ffffff;
363
- box-shadow: 0px 34px 34px 14px rgba(0, 0, 0, 0.35);
364
- border-radius: 10px 0px 0px 10px;
365
-
366
- display: flex;
367
- flex-direction: row;
368
- align-items: center;
369
- gap: 7px;
370
-
371
- font-family: "Helvetica Neue", Arial;
372
- font-style: normal;
373
- font-size: 15px;
374
- line-height: 18px;
375
-
376
- color: #ffffff;
377
- width: 164px;
378
- height: 44px;
379
- padding-left: 10px;
380
- }
381
- .inner-pill-wrapper:hover {
382
- cursor: pointer;
383
- background: #2b2b2b;
384
- }
385
- .vertical-pill-bold {
386
- font-weight: 700;
387
- }
388
- .vertical-pill-icon {
389
- text-align: center;
390
- width: 28px;
391
- }
392
355
 
393
356
  .type-gradient__list {
394
357
  width: 199px;
@@ -516,183 +479,6 @@ export const launcherStyles = css`
516
479
  color: #ffffff;
517
480
  }
518
481
 
519
- .type-hey__list {
520
- width: 280px;
521
- height: 300px;
522
- margin-right: 24px;
523
-
524
- background: linear-gradient(139.82deg, #5770f5 -33.12%, #ffffff 111.99%);
525
- border: 2px solid #a6b4ff;
526
-
527
- border-radius: 16px;
528
- display: flex;
529
- flex-direction: column;
530
- justify-content: center;
531
- align-items: center;
532
- position: relative;
533
- }
534
- .type-hey__chat-container {
535
- position: absolute;
536
- bottom: -84px;
537
- right: 24px;
538
- cursor: pointer;
539
- }
540
- .type-hey__chat-container:hover {
541
- filter: brightness(90%);
542
- }
543
-
544
- .type-hey__bottom-section {
545
- background: rgba(255, 255, 255, 1);
546
- border-radius: 16px;
547
- display: flex;
548
- flex-direction: column;
549
- justify-content: center;
550
- align-items: center;
551
- gap: 4px;
552
- padding: 16px 40px;
553
- flex: 1;
554
- }
555
-
556
- .type-hey__email,
557
- .type-hey__contact {
558
- width: 170px;
559
- height: 32px;
560
-
561
- background: #ffffff;
562
- mix-blend-mode: normal;
563
- box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.03),
564
- 0px 10px 10px rgba(0, 0, 0, 0.03);
565
- border-radius: 4px;
566
-
567
- display: flex;
568
- justify-content: flex-start;
569
- align-items: center;
570
-
571
- padding-left: 15px;
572
- padding-right: 15px;
573
- gap: 12px;
574
- font-size: 12px;
575
-
576
- cursor: pointer;
577
- }
578
- .type-hey__email:hover,
579
- .type-hey__contact:hover {
580
- background: rgba(167, 141, 243, 0.1);
581
- }
582
- .type-hey__ai-topic {
583
- background: rgba(255, 255, 255, 0.2);
584
- border-radius: 4px 4px 4px 0px;
585
- padding: 0px 8px;
586
- text-align: center;
587
- width: 73px;
588
-
589
- margin: auto;
590
- margin-top: 26px;
591
- color: #ffffff;
592
- position: relative;
593
- }
594
- .type-hey__ai-topic p {
595
- font-weight: 700;
596
- font-size: 8px;
597
- line-height: 18px;
598
- letter-spacing: 0.05em;
599
- text-transform: uppercase;
600
- }
601
- .type-hey__ai-topic-notch {
602
- content: "";
603
- width: 0px;
604
- height: 0px;
605
- position: absolute;
606
- border-left: 3px solid rgba(255, 255, 255, 0.2);
607
- border-right: 3px solid transparent;
608
- border-top: 3px solid rgba(255, 255, 255, 0.2);
609
- border-bottom: 3px solid transparent;
610
- left: 0px;
611
- bottom: -6px;
612
- }
613
- .type-hey__icon {
614
- display: flex;
615
- align-items: center;
616
- justify-content: center;
617
- }
618
- .type-hey__greeting {
619
- margin: auto;
620
- display: flex;
621
- justify-content: center;
622
- align-items: center;
623
- gap: 4px;
624
- }
625
- .type-hey__greeting > h1 {
626
- font-family: "Helvetica Neue", Arial;
627
- font-style: normal;
628
- font-weight: 500;
629
- font-size: 20px;
630
- line-height: 22px;
631
-
632
- color: #ffffff;
633
- }
634
-
635
- .type-hey__ask-prompt {
636
- margin: auto;
637
- margin-top: 9px;
638
- margin-bottom: 24px;
639
-
640
- width: 220px;
641
- height: 32px;
642
-
643
- background: rgba(255, 255, 255, 0.2);
644
- mix-blend-mode: normal;
645
- box-shadow: 0px 14px 100px rgba(91, 69, 196, 0.1),
646
- 0px 14px 20px rgba(91, 69, 196, 0.3);
647
- border-radius: 4px;
648
- cursor: pointer;
649
- }
650
- .type-hey__ask-prompt-inner {
651
- width: calc(100% - 30px);
652
- height: 100%;
653
- box-shadow: inset 0px 10px 8px -10px rgba(156, 156, 156, 0.9),
654
- inset 0px -10px 8px -10px rgba(156, 156, 156, 0.9);
655
- display: flex;
656
- justify-content: space-between;
657
- align-items: center;
658
- padding-left: 15px;
659
- padding-right: 15px;
660
- position: relative;
661
- z-index: 10000000000000000000000000000000000000000000000000000000;
662
- }
663
- .type-hey__ask-start {
664
- display: flex;
665
- align-items: center;
666
- gap: 8px;
667
- }
668
- .type-hey__ask-start > h2 {
669
- font-family: "Helvetica Neue", Arial;
670
- font-style: normal;
671
- font-weight: 400;
672
- font-size: 12px;
673
- line-height: 18px;
674
- color: #ffffff;
675
- }
676
-
677
- .type-hey__bottom-info {
678
- margin-top: 16px;
679
- font-family: "Helvetica Neue", Arial;
680
- font-style: normal;
681
- font-size: 10px;
682
- line-height: 140%;
683
- }
684
-
685
- .title-bold {
686
- font-weight: 700;
687
- }
688
- .heavy-blue {
689
- font-family: "Helvetica Neue", Arial;
690
- font-style: normal;
691
- font-size: 10px;
692
- line-height: 140%;
693
- color: #5770f5;
694
- font-weight: 700;
695
- }
696
482
  @media screen and (max-height: 750px) {
697
483
  .launcher__window-wrapper {
698
484
  bottom: 0;
@@ -704,115 +490,4 @@ export const launcherStyles = css`
704
490
  width: 164px;
705
491
  }
706
492
  }
707
-
708
- .scroll-container {
709
- height: 32px;
710
- position: relative;
711
- overflow: hidden;
712
- }
713
- .scroll-container > ul {
714
- display: flex;
715
- flex-direction: column;
716
- animation: move calc(3s * 4) steps(4) infinite;
717
- list-style: none;
718
- padding: 0;
719
- margin-top: 26px;
720
-
721
- -webkit-transition: 1.5s;
722
- -moz-transition: 1.5s;
723
- transition: 1.5s;
724
-
725
- -webkit-transition-timing-function: linear;
726
- -moz-transition-timing-function: linear;
727
- transition-timing-function: linear;
728
- }
729
- .scroll-container > ul li {
730
- width: 100%;
731
- animation: liMove calc(3s) infinite;
732
- display: flex;
733
- align-items: center;
734
- height: 18px;
735
-
736
- font-family: "Helvetica Neue", Arial;
737
- font-style: normal;
738
- font-size: 12px;
739
- font-weight: 700;
740
- color: #ffffff;
741
-
742
- -webkit-transition: 1.5s;
743
- -moz-transition: 1.5s;
744
- transition: 1.5s;
745
-
746
- -webkit-transition-timing-function: linear;
747
- -moz-transition-timing-function: linear;
748
- transition-timing-function: linear;
749
- }
750
- @keyframes move {
751
- 0% {
752
- transform: translate(0, 0);
753
- }
754
- 100% {
755
- transform: translate(
756
- 0,
757
- calc(4 * 18 * -1px)
758
- ); // 18 is the height of each list item
759
- }
760
- }
761
- @keyframes liMove {
762
- 0% {
763
- transform: translate(0, 0);
764
- }
765
- 80%,
766
- 100% {
767
- transform: translate(0, calc(18 * -1px));
768
- }
769
- }
770
-
771
- .typeMobile-list {
772
- display: flex;
773
- justify-content: flex-end;
774
- align-items: center;
775
- margin-right: 12px;
776
- }
777
- .typeMobile-list > ul {
778
- padding: 0;
779
- list-style: none;
780
- display: flex;
781
- justify-content: center;
782
- align-items: center;
783
- gap: 8px;
784
- }
785
- .typeMobile-bttn {
786
- width: 51px;
787
- height: 51px;
788
- background: #f3f6fc;
789
- border: 1px solid rgba(156, 171, 209, 0.2);
790
- box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
791
- border-radius: 10px;
792
-
793
- display: flex;
794
- justify-content: center;
795
- align-items: center;
796
- }
797
- .typeMobile-bttn:hover {
798
- filter: brightness(1.1);
799
- cursor: pointer;
800
- }
801
- .typeMobile-bttn > .typeMobile-inner {
802
- width: 43px;
803
- height: 43px;
804
- background: linear-gradient(
805
- 325.18deg,
806
- #151821 33.41%,
807
- rgba(155, 170, 208, 0.8) 117.28%
808
- );
809
- border: 1px solid rgba(255, 255, 255, 0.7);
810
- box-shadow: -2px -2px 4px 1px #ffffff,
811
- 2px 2px 4px 1px rgba(57, 83, 149, 0.2);
812
- border-radius: 6px;
813
-
814
- display: flex;
815
- justify-content: center;
816
- align-items: center;
817
- }
818
493
  `;
@@ -0,0 +1,301 @@
1
+ import { css } from "lit";
2
+
3
+ // hacky way to get the animation to not jump after loop.
4
+ const elementsInScrollList = 16; // 4 elements in list, looped over 4 times
5
+ const emojiListAnimation = css`
6
+ .scroll-container {
7
+ height: 32px;
8
+ position: relative;
9
+ overflow: hidden;
10
+ }
11
+ .scroll-container > ul {
12
+ display: flex;
13
+ flex-direction: column;
14
+ animation: move calc(3s * ${elementsInScrollList})
15
+ steps(${elementsInScrollList}) infinite;
16
+ list-style: none;
17
+ padding: 0;
18
+ margin-top: 25px;
19
+
20
+ -webkit-transition: 1.5s;
21
+ -moz-transition: 1.5s;
22
+ transition: 1.5s;
23
+
24
+ -webkit-transition-timing-function: linear;
25
+ -moz-transition-timing-function: linear;
26
+ transition-timing-function: linear;
27
+ }
28
+ .scroll-container > ul li {
29
+ width: 100%;
30
+ animation: liMove calc(3s) infinite;
31
+ display: flex;
32
+ align-items: center;
33
+ height: 18px;
34
+
35
+ font-family: "Helvetica Neue", Arial;
36
+ font-style: normal;
37
+ font-size: 12px;
38
+ font-weight: 700;
39
+ color: #ffffff;
40
+
41
+ -webkit-transition: 1.5s;
42
+ -moz-transition: 1.5s;
43
+ transition: 1.5s;
44
+
45
+ -webkit-transition-timing-function: linear;
46
+ -moz-transition-timing-function: linear;
47
+ transition-timing-function: linear;
48
+ }
49
+ @keyframes move {
50
+ 0% {
51
+ transform: translate(0, 0);
52
+ }
53
+ 100% {
54
+ transform: translate(
55
+ 0,
56
+ calc(${elementsInScrollList} * 18 * -1px)
57
+ ); // 18 is the height of each list item
58
+ }
59
+ }
60
+ @keyframes liMove {
61
+ 0% {
62
+ transform: translate(0, 0);
63
+ }
64
+ 80%,
65
+ 100% {
66
+ transform: translate(0, calc(18 * -1px));
67
+ }
68
+ }
69
+ `;
70
+
71
+ export const typeEmojiStyles = css`
72
+ .type-hey__list {
73
+ width: 280px;
74
+ height: 300px;
75
+ margin-right: 4px;
76
+
77
+ border: 2px solid #a6b4ff;
78
+
79
+ border-radius: 16px;
80
+ display: flex;
81
+ flex-direction: column;
82
+ align-items: center;
83
+ position: relative;
84
+ }
85
+ .type-hey__top-section {
86
+ width: 100%;
87
+ border-radius: 16px;
88
+ height: calc(100% + 56px);
89
+ }
90
+ .type-hey__top-section:hover {
91
+ cursor: pointer;
92
+ background: rgba(0, 0, 0, 0.6);
93
+ }
94
+ .type-hey__chat-container {
95
+ position: absolute;
96
+ bottom: -72px;
97
+ right: 0px;
98
+
99
+ width: 56px;
100
+ height: 56px;
101
+
102
+ background: #ffffff;
103
+ border: 1px solid rgba(95, 95, 95, 0.2);
104
+ border-radius: 1000px;
105
+
106
+ display: flex;
107
+ justify-content: center;
108
+ align-items: center;
109
+ }
110
+ .type-hey__inner-chat-container {
111
+ width: 46px;
112
+ height: 46px;
113
+
114
+ border-radius: 1000px;
115
+ border: 1px solid rgba(255, 255, 255, 0.7);
116
+
117
+ display: flex;
118
+ justify-content: center;
119
+ align-items: center;
120
+ }
121
+ .type-hey__chat-icon {
122
+ width: 100%;
123
+ height: 100%;
124
+ display: flex;
125
+ justify-content: center;
126
+ align-items: center;
127
+ border-radius: 1000px;
128
+ }
129
+ .type-hey__chat-icon:hover {
130
+ cursor: pointer;
131
+ background: rgba(0, 0, 0, 0.6);
132
+ }
133
+
134
+ .type-hey__bottom-section {
135
+ position: absolute;
136
+ bottom: 0;
137
+ left: 0;
138
+ right: 0;
139
+
140
+ height: 120px;
141
+
142
+ background: rgba(255, 255, 255, 1);
143
+ border-radius: 16px;
144
+ display: flex;
145
+ flex-direction: column;
146
+ justify-content: center;
147
+ align-items: center;
148
+ gap: 4px;
149
+
150
+ padding: 16px 40px;
151
+ }
152
+ .type-hey__botton-section-pills {
153
+ margin-top: -24px;
154
+ display: flex;
155
+ flex-direction: column;
156
+ gap: 4px;
157
+ }
158
+ .type-hey__pill {
159
+ width: 130px;
160
+ height: 32px;
161
+
162
+ background: #ffffff;
163
+ mix-blend-mode: normal;
164
+ box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
165
+ border-radius: 4px;
166
+
167
+ display: flex;
168
+ justify-content: space-between;
169
+ align-items: center;
170
+
171
+ padding-left: 15px;
172
+ padding-right: 15px;
173
+ font-size: 12px;
174
+
175
+ cursor: pointer;
176
+ }
177
+ .type-hey__pill-left {
178
+ display: flex;
179
+ justify-content: flex-start;
180
+ align-items: center;
181
+ gap: 8px;
182
+ }
183
+
184
+ .type-hey__pill:hover {
185
+ background: #eaecf4;
186
+ }
187
+ .type-hey__ai-topic {
188
+ background: rgba(255, 255, 255, 0.2);
189
+ border-radius: 4px 4px 4px 0px;
190
+ padding: 0px 8px;
191
+ text-align: center;
192
+ width: 73px;
193
+
194
+ margin: auto;
195
+ margin-top: 26px;
196
+ color: #ffffff;
197
+ position: relative;
198
+ }
199
+ .type-hey__ai-topic p {
200
+ font-weight: 700;
201
+ font-size: 8px;
202
+ line-height: 18px;
203
+ letter-spacing: 0.05em;
204
+ text-transform: uppercase;
205
+ }
206
+ .type-hey__ai-topic-notch {
207
+ content: "";
208
+ width: 0px;
209
+ height: 0px;
210
+ position: absolute;
211
+ border-left: 3px solid rgba(255, 255, 255, 0.2);
212
+ border-right: 3px solid transparent;
213
+ border-top: 3px solid rgba(255, 255, 255, 0.2);
214
+ border-bottom: 3px solid transparent;
215
+ left: 0px;
216
+ bottom: -6px;
217
+ }
218
+ .type-hey__icon {
219
+ display: flex;
220
+ align-items: center;
221
+ justify-content: center;
222
+ }
223
+ .type-hey__greeting {
224
+ margin: auto;
225
+ display: flex;
226
+ justify-content: center;
227
+ align-items: center;
228
+ gap: 4px;
229
+ }
230
+ .type-hey__greeting > h1 {
231
+ font-family: "Helvetica Neue", Arial;
232
+ font-style: normal;
233
+ font-weight: 500;
234
+ font-size: 20px;
235
+ line-height: 22px;
236
+ margin: 0;
237
+
238
+ color: #ffffff;
239
+ }
240
+
241
+ .type-hey__ask-prompt {
242
+ margin: auto;
243
+ margin-top: 9px;
244
+ margin-bottom: 24px;
245
+
246
+ width: 220px;
247
+ height: 32px;
248
+ border: 1px solid rgba(255, 255, 255, 0.2);
249
+
250
+ background: linear-gradient(
251
+ 180deg,
252
+ rgba(255, 255, 255, 0.55) -6.25%,
253
+ rgba(255, 255, 255, 0) 35.46%,
254
+ rgba(255, 255, 255, 0) 72.81%,
255
+ #ffffff 104.69%
256
+ );
257
+ border-radius: 4px;
258
+ cursor: pointer;
259
+ }
260
+ .type-hey__ask-prompt-inner {
261
+ width: calc(100% - 30px); // 30px for padding
262
+ height: 100%;
263
+
264
+ display: flex;
265
+ justify-content: space-between;
266
+ align-items: center;
267
+ padding-left: 15px;
268
+ padding-right: 15px;
269
+ position: relative;
270
+ z-index: 10000000000000000000000000000000000000000000000000000000;
271
+ }
272
+ .type-hey__ask-start {
273
+ display: flex;
274
+ align-items: center;
275
+ gap: 8px;
276
+ }
277
+ .type-hey__ask-start > h2 {
278
+ font-family: "Helvetica Neue", Arial;
279
+ font-style: normal;
280
+ font-weight: 400;
281
+ font-size: 12px;
282
+ line-height: 18px;
283
+ color: #ffffff;
284
+ margin: 0;
285
+ }
286
+
287
+ .type-hey__bottom-info {
288
+ margin-top: 16px;
289
+ }
290
+ .type-hey__bottom-info-inner,
291
+ .type-hey__bottom-info-inner > .title-bold {
292
+ font-family: "Helvetica Neue", Arial;
293
+ font-style: normal;
294
+ font-size: 10px;
295
+ line-height: 140%;
296
+ }
297
+ .title-bold {
298
+ font-weight: 700;
299
+ }
300
+ ${emojiListAnimation}
301
+ `;
@@ -0,0 +1,60 @@
1
+ import { css } from "lit";
2
+
3
+ export const typeMiniStyles = css`
4
+ .vertical-pill-list {
5
+ position: relative;
6
+ display: flex;
7
+ flex-direction: column;
8
+ gap: 4px;
9
+ margin-right: 4px;
10
+ }
11
+ #overlay-inner-pill {
12
+ color: #ffffff;
13
+ }
14
+ .inner-pill-wrapper {
15
+ width: 130px;
16
+ height: 36px;
17
+ position: relative;
18
+
19
+ background: #ffffff;
20
+ mix-blend-mode: normal;
21
+ box-shadow: 0px 6px 10px rgba(0, 0, 0, 0.15);
22
+ border-radius: 4px;
23
+
24
+ display: flex;
25
+ flex-direction: row;
26
+ justify-content: space-between;
27
+ align-items: center;
28
+
29
+ padding-left: 15px;
30
+ padding-right: 15px;
31
+ }
32
+ .inner-pill-wrapper:hover,
33
+ #overlay-inner-pill:hover {
34
+ cursor: pointer;
35
+ filter: brightness(90%);
36
+ }
37
+
38
+ .vertical-pill-left {
39
+ display: flex;
40
+ flex-direction: row;
41
+ justify-content: flex-start;
42
+ align-items: center;
43
+ gap: 12px;
44
+ }
45
+ .vertical-pill-title {
46
+ font-size: 13px;
47
+ font-weight: 400;
48
+ line-height: 18px;
49
+ letter-spacing: 0em;
50
+ }
51
+ .vertical-pill-bold {
52
+ font-weight: 700;
53
+ }
54
+ .vertical-pill-icon {
55
+ text-align: center;
56
+ display: flex;
57
+ justify-content: center;
58
+ align-items: center;
59
+ }
60
+ `;