@telia-ace/widget-conversation-flamingo 1.1.72-rc.19 → 1.1.72-rc.20

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/index.js +45 -1
  2. package/index.mjs +45 -1
  3. package/package.json +2 -2
package/index.js CHANGED
@@ -125,11 +125,16 @@
125
125
  font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
126
126
  }
127
127
 
128
+ :focus {
129
+ outline-color: var(--focus-color);
130
+ }
131
+
128
132
  .trigger-container {
129
133
  display: flex;
130
134
  align-items: center;
131
135
  gap: 1rem;
132
136
  }
137
+
133
138
  .trigger-container.hidden {
134
139
  display: none;
135
140
  }
@@ -157,19 +162,24 @@
157
162
  box-sizing: border-box;
158
163
  transition: transform 200ms ease-out;
159
164
  }
165
+
160
166
  .trigger:active {
161
167
  transform: scale(0.8) !important;
162
168
  }
169
+
163
170
  .trigger:hover:not(:active) {
164
171
  transform: scale(1.1) !important;
165
172
  }
173
+
166
174
  .trigger.rendered {
167
175
  transform: scale(1);
168
176
  }
177
+
169
178
  .trigger.active .trigger-icon {
170
179
  opacity: 0;
171
180
  transform: rotate(-180deg) scale(0);
172
181
  }
182
+
173
183
  .trigger.active .trigger-close {
174
184
  opacity: 1;
175
185
  transform: rotate(0deg) scale(1);
@@ -187,6 +197,7 @@
187
197
  var(--text-on-primary-background)
188
198
  );
189
199
  }
200
+
190
201
  .trigger-close {
191
202
  opacity: 0;
192
203
  transition: transform 200ms ease-out;
@@ -200,6 +211,7 @@
200
211
  justify-content: center;
201
212
  align-items: center;
202
213
  }
214
+
203
215
  .trigger-close svg path {
204
216
  fill: var(
205
217
  --interactive-text-on-primary-background,
@@ -587,6 +599,7 @@
587
599
  :host {
588
600
  display: block;
589
601
  }
602
+
590
603
  .conversation-feed {
591
604
  display: flex;
592
605
  flex-direction: column;
@@ -594,6 +607,10 @@
594
607
  min-height: 100%;
595
608
  padding: var(--spacing-md);
596
609
  }
610
+
611
+ .conversation-entry:focus {
612
+ outline-color: var(--focus-color);
613
+ }
597
614
  `];gi([w({attribute:!1})],mt.prototype,"entries",2);gi([w({type:Boolean})],mt.prototype,"loading",2);/**
598
615
  * @license
599
616
  * Copyright 2021 Google LLC
@@ -665,17 +682,25 @@
665
682
  :host {
666
683
  box-sizing: border-box;
667
684
  }
685
+
686
+ :focus {
687
+ outline-color: var(--focus-color);
688
+ }
689
+
668
690
  * {
669
691
  box-sizing: border-box;
670
692
  }
693
+
671
694
  p {
672
695
  margin: 0;
673
696
  padding: 0;
674
697
  word-break: break-word;
675
698
  }
699
+
676
700
  a {
677
701
  word-break: break-all;
678
702
  }
703
+
679
704
  img {
680
705
  cursor: pointer;
681
706
  width: 100%;
@@ -740,20 +765,29 @@ Please report this to https://github.com/markedjs/marked.`,e){const i="<p>An err
740
765
  :host {
741
766
  box-sizing: border-box;
742
767
  }
768
+
769
+ :focus {
770
+ outline-color: var(--focus-color);
771
+ }
772
+
743
773
  * {
744
774
  box-sizing: border-box;
745
775
  }
776
+
746
777
  p {
747
778
  margin: 0;
748
779
  padding: 0;
749
780
  word-break: break-word;
750
781
  }
782
+
751
783
  p:not(:first-of-type) {
752
784
  margin-top: var(--spacing-sm);
753
785
  }
786
+
754
787
  a {
755
788
  word-break: break-all;
756
789
  }
790
+
757
791
  img {
758
792
  cursor: pointer;
759
793
  width: 100%;
@@ -770,6 +804,10 @@ Please report this to https://github.com/markedjs/marked.`,e){const i="<p>An err
770
804
  </button>
771
805
  <img src="${this.imageUrl}" alt="${this.altText??""}" />
772
806
  </div> `}}wn.styles=[E`
807
+ :focus {
808
+ outline-color: var(--focus-color);
809
+ }
810
+
773
811
  .lightbox {
774
812
  position: fixed;
775
813
  z-index: 9999;
@@ -924,14 +962,21 @@ Please report this to https://github.com/markedjs/marked.`,e){const i="<p>An err
924
962
  scrollbar-width: thin; /* Firefox */
925
963
  scrollbar-color: #7f7f7f transparent; /* Firefox */
926
964
  }
965
+
966
+ :focus {
967
+ outline-color: var(--focus-color);
968
+ }
969
+
927
970
  ::-webkit-scrollbar {
928
971
  width: 3px !important;
929
972
  background-color: transparent;
930
973
  border-left: none;
931
974
  }
975
+
932
976
  ::-webkit-scrollbar-thumb {
933
977
  background-color: #7f7f7f;
934
978
  }
979
+
935
980
  ::-webkit-scrollbar-track {
936
981
  -webkit-box-shadow: none !important;
937
982
  box-shadow: none !important;
@@ -976,7 +1021,6 @@ Please report this to https://github.com/markedjs/marked.`,e){const i="<p>An err
976
1021
  padding: var(--spacing-sm);
977
1022
  border-radius: var(--spacing-sm);
978
1023
  left: -10000000px;
979
- outline: none;
980
1024
  }
981
1025
  .skip-to-latest-message-button:focus-visible {
982
1026
  left: 50%;
package/index.mjs CHANGED
@@ -3333,11 +3333,16 @@ X.styles = [
3333
3333
  font-family: TeliaSans, Helvetica, Arial, Lucida Grande, sans-serif;
3334
3334
  }
3335
3335
 
3336
+ :focus {
3337
+ outline-color: var(--focus-color);
3338
+ }
3339
+
3336
3340
  .trigger-container {
3337
3341
  display: flex;
3338
3342
  align-items: center;
3339
3343
  gap: 1rem;
3340
3344
  }
3345
+
3341
3346
  .trigger-container.hidden {
3342
3347
  display: none;
3343
3348
  }
@@ -3365,19 +3370,24 @@ X.styles = [
3365
3370
  box-sizing: border-box;
3366
3371
  transition: transform 200ms ease-out;
3367
3372
  }
3373
+
3368
3374
  .trigger:active {
3369
3375
  transform: scale(0.8) !important;
3370
3376
  }
3377
+
3371
3378
  .trigger:hover:not(:active) {
3372
3379
  transform: scale(1.1) !important;
3373
3380
  }
3381
+
3374
3382
  .trigger.rendered {
3375
3383
  transform: scale(1);
3376
3384
  }
3385
+
3377
3386
  .trigger.active .trigger-icon {
3378
3387
  opacity: 0;
3379
3388
  transform: rotate(-180deg) scale(0);
3380
3389
  }
3390
+
3381
3391
  .trigger.active .trigger-close {
3382
3392
  opacity: 1;
3383
3393
  transform: rotate(0deg) scale(1);
@@ -3395,6 +3405,7 @@ X.styles = [
3395
3405
  var(--text-on-primary-background)
3396
3406
  );
3397
3407
  }
3408
+
3398
3409
  .trigger-close {
3399
3410
  opacity: 0;
3400
3411
  transition: transform 200ms ease-out;
@@ -3408,6 +3419,7 @@ X.styles = [
3408
3419
  justify-content: center;
3409
3420
  align-items: center;
3410
3421
  }
3422
+
3411
3423
  .trigger-close svg path {
3412
3424
  fill: var(
3413
3425
  --interactive-text-on-primary-background,
@@ -4399,6 +4411,7 @@ mt.styles = [
4399
4411
  :host {
4400
4412
  display: block;
4401
4413
  }
4414
+
4402
4415
  .conversation-feed {
4403
4416
  display: flex;
4404
4417
  flex-direction: column;
@@ -4406,6 +4419,10 @@ mt.styles = [
4406
4419
  min-height: 100%;
4407
4420
  padding: var(--spacing-md);
4408
4421
  }
4422
+
4423
+ .conversation-entry:focus {
4424
+ outline-color: var(--focus-color);
4425
+ }
4409
4426
  `
4410
4427
  ];
4411
4428
  pi([
@@ -4567,17 +4584,25 @@ dn.styles = [
4567
4584
  :host {
4568
4585
  box-sizing: border-box;
4569
4586
  }
4587
+
4588
+ :focus {
4589
+ outline-color: var(--focus-color);
4590
+ }
4591
+
4570
4592
  * {
4571
4593
  box-sizing: border-box;
4572
4594
  }
4595
+
4573
4596
  p {
4574
4597
  margin: 0;
4575
4598
  padding: 0;
4576
4599
  word-break: break-word;
4577
4600
  }
4601
+
4578
4602
  a {
4579
4603
  word-break: break-all;
4580
4604
  }
4605
+
4581
4606
  img {
4582
4607
  cursor: pointer;
4583
4608
  width: 100%;
@@ -6116,20 +6141,29 @@ bt.styles = [
6116
6141
  :host {
6117
6142
  box-sizing: border-box;
6118
6143
  }
6144
+
6145
+ :focus {
6146
+ outline-color: var(--focus-color);
6147
+ }
6148
+
6119
6149
  * {
6120
6150
  box-sizing: border-box;
6121
6151
  }
6152
+
6122
6153
  p {
6123
6154
  margin: 0;
6124
6155
  padding: 0;
6125
6156
  word-break: break-word;
6126
6157
  }
6158
+
6127
6159
  p:not(:first-of-type) {
6128
6160
  margin-top: var(--spacing-sm);
6129
6161
  }
6162
+
6130
6163
  a {
6131
6164
  word-break: break-all;
6132
6165
  }
6166
+
6133
6167
  img {
6134
6168
  cursor: pointer;
6135
6169
  width: 100%;
@@ -6194,6 +6228,10 @@ class xn extends k {
6194
6228
  }
6195
6229
  xn.styles = [
6196
6230
  E`
6231
+ :focus {
6232
+ outline-color: var(--focus-color);
6233
+ }
6234
+
6197
6235
  .lightbox {
6198
6236
  position: fixed;
6199
6237
  z-index: 9999;
@@ -6535,14 +6573,21 @@ R.styles = [
6535
6573
  scrollbar-width: thin; /* Firefox */
6536
6574
  scrollbar-color: #7f7f7f transparent; /* Firefox */
6537
6575
  }
6576
+
6577
+ :focus {
6578
+ outline-color: var(--focus-color);
6579
+ }
6580
+
6538
6581
  ::-webkit-scrollbar {
6539
6582
  width: 3px !important;
6540
6583
  background-color: transparent;
6541
6584
  border-left: none;
6542
6585
  }
6586
+
6543
6587
  ::-webkit-scrollbar-thumb {
6544
6588
  background-color: #7f7f7f;
6545
6589
  }
6590
+
6546
6591
  ::-webkit-scrollbar-track {
6547
6592
  -webkit-box-shadow: none !important;
6548
6593
  box-shadow: none !important;
@@ -6587,7 +6632,6 @@ R.styles = [
6587
6632
  padding: var(--spacing-sm);
6588
6633
  border-radius: var(--spacing-sm);
6589
6634
  left: -10000000px;
6590
- outline: none;
6591
6635
  }
6592
6636
  .skip-to-latest-message-button:focus-visible {
6593
6637
  left: 50%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-conversation-flamingo",
3
- "version": "1.1.72-rc.19",
3
+ "version": "1.1.72-rc.20",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -9,7 +9,7 @@
9
9
  "@lit-labs/motion": "^1.0.4",
10
10
  "@teliads/icons": "^8.4.0",
11
11
  "@teliads/components": "^22.1.1",
12
- "@telia-ace/widget-core-flamingo": "1.1.72-rc.19",
12
+ "@telia-ace/widget-core-flamingo": "1.1.72-rc.20",
13
13
  "lit-html": "^3.0.2",
14
14
  "rxjs": "^7.8.1",
15
15
  "marked": "^12.0.2"