@telia-ace/widget-conversation-flamingo 1.1.120-rc.5 → 1.1.120-rc.7

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.
@@ -1,6 +1,6 @@
1
1
  import { LitElement } from 'lit';
2
2
  export declare class MessageTypeHtml extends LitElement {
3
- static styles: import('lit').CSSResult[];
3
+ static readonly styles: import('lit').CSSResult[];
4
4
  message: {
5
5
  content: string;
6
6
  };
@@ -1,24 +1,24 @@
1
1
  import { LitElement } from 'lit';
2
2
  export declare class MessageTypeMarkdown extends LitElement {
3
- static styles: import('lit').CSSResult[];
3
+ static readonly styles: import('lit').CSSResult[];
4
4
  message: {
5
5
  content: string;
6
6
  };
7
7
  showLightbox: boolean;
8
8
  imageUrl: string;
9
9
  altText: string;
10
- private scrollRef;
11
- private contentRef;
10
+ private readonly scrollRef;
11
+ private readonly contentRef;
12
12
  private autoScroll;
13
13
  private buffer;
14
14
  private pointer;
15
- private imageRegexp;
15
+ private readonly imageRegexp;
16
16
  private handleAutoscroll;
17
17
  private handleLightboxClose;
18
18
  private handleLightboxOpen;
19
19
  private includesImage;
20
20
  private getLastChunk;
21
- firstUpdated(): Promise<void>;
21
+ firstUpdated(): void;
22
22
  updated(): void;
23
23
  private applyCodeStyles;
24
24
  render(): import('lit-html').TemplateResult<1>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-conversation-flamingo",
3
- "version": "1.1.120-rc.5",
3
+ "version": "1.1.120-rc.7",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -9,10 +9,11 @@
9
9
  "@lit-labs/motion": "^1.0.8",
10
10
  "@teliads/icons": "^8.4.0",
11
11
  "@teliads/components": "^22.1.1",
12
- "@telia-ace/widget-core-flamingo": "1.1.120-rc.5",
12
+ "@telia-ace/widget-core-flamingo": "1.1.120-rc.7",
13
13
  "lit-html": "^3.0.2",
14
14
  "rxjs": "^7.8.2",
15
- "marked": "^15.0.2"
15
+ "marked": "^15.0.12",
16
+ "dompurify": "^3.2.6"
16
17
  },
17
18
  "main": "./index.js",
18
19
  "module": "./index.mjs",