@meetelise/chat 1.20.32 → 1.20.33

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.
@@ -48,7 +48,7 @@ export class Launcher extends LitElement {
48
48
  @property()
49
49
  phoneNumber = "";
50
50
  @property({ attribute: true })
51
- chatCallUsHeader = "Call us";
51
+ chatCallUsHeader = "";
52
52
  @property({ attribute: false })
53
53
  buildingId = 0;
54
54
  @property({ attribute: true })
@@ -289,9 +289,7 @@ export class Launcher extends LitElement {
289
289
  onClick: (e: MouseEvent) => void
290
290
  ): TemplateResult => {
291
291
  return html`
292
- <div class="launcher__mini-option-wrapper-vertical">
293
- <div @click=${onClick} class="inner-pill-wrapper">${content}</div>
294
- </div>
292
+ <div @click=${onClick} class="inner-pill-wrapper">${content}</div>
295
293
  `;
296
294
  };
297
295
 
@@ -338,8 +336,10 @@ export class Launcher extends LitElement {
338
336
  html`
339
337
  <div class="vertical-pill-icon">${FilledPhoneIcon}</div>
340
338
  <div class="vertical-pill-title">
341
- <span class="vertical-pill-bold">Call</span> or
342
- <span class="vertical-pill-bold">Text</span> us
339
+ <span class="vertical-pill-bold">Call</span>
340
+ ${this.hasTextUsEnabled
341
+ ? html`or <span class="vertical-pill-bold">text</span> us`
342
+ : "us"}
343
343
  </div>
344
344
  `,
345
345
  this.onClickPhoneOption
@@ -431,6 +431,7 @@ export class Launcher extends LitElement {
431
431
  phoneNumber="${this.phoneNumber}"
432
432
  .buildingId=${this.buildingId}
433
433
  chatCallUsHeader="${this.chatCallUsHeader}"
434
+ hasTextUsEnabled=${this.hasTextUsEnabled ? true : ""}
434
435
  ></call-us-window>
435
436
  </div>
436
437
  `
@@ -484,6 +485,7 @@ export class Launcher extends LitElement {
484
485
  .onCloseClicked=${this.onClosePhoneWindow}
485
486
  phoneNumber="${this.phoneNumber}"
486
487
  .buildingId=${this.buildingId}
488
+ hasTextUsEnabled=${this.hasTextUsEnabled ? true : ""}
487
489
  ></call-us-window>
488
490
  </div>
489
491
  `