@telia-ace/widget-conversation-flamingo 1.1.67-rc.2 → 1.1.67-rc.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,12 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class Lightbox extends LitElement {
3
+ static styles: import("lit").CSSResult[];
4
+ imageUrl: string;
5
+ altText?: string;
6
+ firstUpdated(): void;
7
+ disconnectedCallback(): void;
8
+ private escapeListener;
9
+ private closeLightbox;
10
+ private handleKeyDown;
11
+ render(): import("lit-html").TemplateResult<1>;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { LitElement } from 'lit';
2
+ export declare class MessageTypeMarkdown extends LitElement {
3
+ static styles: import("lit").CSSResult[];
4
+ message: {
5
+ content: string;
6
+ };
7
+ showLightbox: boolean;
8
+ imageUrl: string;
9
+ altText: string;
10
+ firstUpdated(): Promise<void>;
11
+ render(): import("lit-html").TemplateResult<1>;
12
+ }
package/models/agent.d.ts CHANGED
@@ -3,6 +3,6 @@ export declare class Agent {
3
3
  name: string;
4
4
  private print$;
5
5
  constructor(name: string);
6
- print(text: string): ConversationEntry;
6
+ print(text: string, type?: string): ConversationEntry;
7
7
  subscribe(): import("rxjs").Observable<ConversationEntry>;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/widget-conversation-flamingo",
3
- "version": "1.1.67-rc.2",
3
+ "version": "1.1.67-rc.4",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org"
6
6
  },
@@ -9,9 +9,10 @@
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.67-rc.2",
12
+ "@telia-ace/widget-core-flamingo": "1.1.67-rc.4",
13
13
  "lit-html": "^3.0.2",
14
- "rxjs": "^7.8.1"
14
+ "rxjs": "^7.8.1",
15
+ "marked": "^12.0.2"
15
16
  },
16
17
  "main": "./index.js",
17
18
  "module": "./index.mjs",