@meetelise/chat 1.20.32 → 1.20.34

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.
@@ -20,7 +20,6 @@ import {
20
20
  OutlinedChatIcon,
21
21
  OutlinedEmailIcon,
22
22
  OutlinedPhoneIcon,
23
- OutlinedTextIcon,
24
23
  OutlinedTourIcon,
25
24
  } from "../svgIcons";
26
25
 
@@ -48,7 +47,7 @@ export class Launcher extends LitElement {
48
47
  @property()
49
48
  phoneNumber = "";
50
49
  @property({ attribute: true })
51
- chatCallUsHeader = "Call us";
50
+ chatCallUsHeader = "";
52
51
  @property({ attribute: false })
53
52
  buildingId = 0;
54
53
  @property({ attribute: true })
@@ -289,9 +288,7 @@ export class Launcher extends LitElement {
289
288
  onClick: (e: MouseEvent) => void
290
289
  ): TemplateResult => {
291
290
  return html`
292
- <div class="launcher__mini-option-wrapper-vertical">
293
- <div @click=${onClick} class="inner-pill-wrapper">${content}</div>
294
- </div>
291
+ <div @click=${onClick} class="inner-pill-wrapper">${content}</div>
295
292
  `;
296
293
  };
297
294
 
@@ -338,8 +335,10 @@ export class Launcher extends LitElement {
338
335
  html`
339
336
  <div class="vertical-pill-icon">${FilledPhoneIcon}</div>
340
337
  <div class="vertical-pill-title">
341
- <span class="vertical-pill-bold">Call</span> or
342
- <span class="vertical-pill-bold">Text</span> us
338
+ <span class="vertical-pill-bold">Call</span>
339
+ ${this.hasTextUsEnabled
340
+ ? html`or <span class="vertical-pill-bold">text</span> us`
341
+ : "us"}
343
342
  </div>
344
343
  `,
345
344
  this.onClickPhoneOption
@@ -370,13 +369,6 @@ export class Launcher extends LitElement {
370
369
  true
371
370
  )
372
371
  : ""}
373
- ${this.hasTextUsEnabled && !this.isCallToActionWindowOpen()
374
- ? this.renderMiniOption(
375
- OutlinedTextIcon,
376
- this.onClickTextUsOption,
377
- true
378
- )
379
- : ""}
380
372
  `;
381
373
  };
382
374
 
@@ -431,6 +423,7 @@ export class Launcher extends LitElement {
431
423
  phoneNumber="${this.phoneNumber}"
432
424
  .buildingId=${this.buildingId}
433
425
  chatCallUsHeader="${this.chatCallUsHeader}"
426
+ hasTextUsEnabled=${this.hasTextUsEnabled ? true : ""}
434
427
  ></call-us-window>
435
428
  </div>
436
429
  `
@@ -484,6 +477,7 @@ export class Launcher extends LitElement {
484
477
  .onCloseClicked=${this.onClosePhoneWindow}
485
478
  phoneNumber="${this.phoneNumber}"
486
479
  .buildingId=${this.buildingId}
480
+ hasTextUsEnabled=${this.hasTextUsEnabled ? true : ""}
487
481
  ></call-us-window>
488
482
  </div>
489
483
  `