@telia-ace/widget-conversation-flamingo 1.1.67-rc.7 → 1.1.67-rc.9
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +93 -138
- package/index.mjs +2333 -3782
- package/package.json +3 -4
- package/types.d.ts +9 -3
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@telia-ace/widget-conversation-flamingo",
|
3
|
-
"version": "1.1.67-rc.
|
3
|
+
"version": "1.1.67-rc.9",
|
4
4
|
"publishConfig": {
|
5
5
|
"registry": "https://registry.npmjs.org"
|
6
6
|
},
|
@@ -9,10 +9,9 @@
|
|
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.
|
12
|
+
"@telia-ace/widget-core-flamingo": "1.1.67-rc.9",
|
13
13
|
"lit-html": "^3.0.2",
|
14
|
-
"rxjs": "^7.8.1"
|
15
|
-
"marked": "^12.0.2"
|
14
|
+
"rxjs": "^7.8.1"
|
16
15
|
},
|
17
16
|
"main": "./index.js",
|
18
17
|
"module": "./index.mjs",
|
package/types.d.ts
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
export type ConversationMessageGroup = {
|
2
2
|
items: ConversationMessage[];
|
3
3
|
};
|
4
|
-
export type ConversationMessage = [
|
5
|
-
|
6
|
-
|
4
|
+
export type ConversationMessage = [
|
5
|
+
string,
|
6
|
+
{
|
7
|
+
content: string;
|
8
|
+
},
|
9
|
+
{
|
10
|
+
[key: string]: string;
|
11
|
+
}?
|
12
|
+
];
|
7
13
|
export type ConversationMessageSender = {
|
8
14
|
name?: string;
|
9
15
|
avatar?: string | symbol;
|