@telia-ace/widget-conversation 1.0.24 → 1.0.27
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.
- package/README.md +110 -210
- package/dist/conversation.70c6987f.js +1101 -0
- package/dist/conversation.70c6987f.js.map +1 -0
- package/dist/index.d.ts +1 -2
- package/dist/index.js +164 -182
- package/dist/index.js.map +1 -1
- package/dist/{return-button.facf6a45.js → return-button.8773c0de.js} +1 -1
- package/dist/return-button.8773c0de.js.map +1 -0
- package/dist/types.d.ts +41 -34
- package/dist/{components/conversation/plugin.d.ts → ui/conversation/conversation-component.d.ts} +2 -13
- package/dist/ui/conversation/conversation-content.d.ts +11 -0
- package/dist/{components/conversation/ui/input.d.ts → ui/conversation/conversation-input.d.ts} +0 -0
- package/dist/ui/conversation/conversation-loader.d.ts +8 -0
- package/dist/ui/conversation/conversation-message.d.ts +7 -0
- package/dist/ui/conversation/conversation-styles.d.ts +11 -0
- package/dist/{components → ui}/conversation/conversation.d.ts +0 -0
- package/dist/ui/conversation/index.d.ts +2 -0
- package/dist/{components/conversation/ui → ui/conversation}/message-types/agent.d.ts +1 -1
- package/dist/ui/conversation/message-types/custom.d.ts +9 -0
- package/dist/{components/conversation/ui → ui/conversation}/message-types/index.d.ts +1 -0
- package/dist/{components/conversation/ui → ui/conversation}/message-types/system.d.ts +0 -0
- package/dist/{components/conversation/ui → ui/conversation}/message-types/timestamp.d.ts +0 -0
- package/dist/{components/conversation/ui → ui/conversation}/message-types/user.d.ts +0 -0
- package/dist/ui/index.d.ts +2 -0
- package/dist/ui/return-button/index.d.ts +2 -0
- package/dist/{components/return-button/plugin.d.ts → ui/return-button/return-button-component.d.ts} +2 -1
- package/dist/{components → ui}/return-button/return-button.d.ts +0 -0
- package/package.json +10 -13
- package/dist/components/conversation/ui/content.d.ts +0 -2
- package/dist/components/conversation/ui/loader.d.ts +0 -8
- package/dist/components/conversation/ui/message-list-items/button-list.d.ts +0 -8
- package/dist/components/conversation/ui/message-list-items/custom.d.ts +0 -9
- package/dist/components/conversation/ui/message-list-items/html.d.ts +0 -5
- package/dist/components/conversation/ui/message-list-items/link-list.d.ts +0 -8
- package/dist/components/conversation/ui/message-list-items/separator.d.ts +0 -2
- package/dist/components/conversation/ui/message-list-items/text.d.ts +0 -6
- package/dist/components/conversation/ui/message-list-items/video-request.d.ts +0 -8
- package/dist/components/conversation/ui/message-types/message-list.d.ts +0 -9
- package/dist/components/conversation/ui/message.d.ts +0 -7
- package/dist/components/conversation/ui/overlay-outlets.d.ts +0 -13
- package/dist/components/conversation/ui/styles.d.ts +0 -27
- package/dist/conversation.edf14596.js +0 -1191
- package/dist/conversation.edf14596.js.map +0 -1
- package/dist/return-button.facf6a45.js.map +0 -1
- package/dist/utils/map-actions.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telia-ace/widget-conversation",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.27",
|
|
4
4
|
"description": "ACE Widget Conversation Platform",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"author": "Telia Company AB",
|
|
7
7
|
"keywords": [
|
|
8
8
|
"telia"
|
|
9
9
|
],
|
|
10
|
-
"
|
|
11
|
-
"development": "./src/index.ts",
|
|
12
|
-
"default": "./dist/index.js"
|
|
13
|
-
},
|
|
10
|
+
"main": "dist/index.js",
|
|
14
11
|
"type": "module",
|
|
15
12
|
"types": "dist/index.d.ts",
|
|
16
13
|
"files": [
|
|
@@ -28,13 +25,13 @@
|
|
|
28
25
|
},
|
|
29
26
|
"sideEffects": false,
|
|
30
27
|
"dependencies": {
|
|
31
|
-
"@telia-ace/widget-core": "^1.0.
|
|
32
|
-
"@telia-ace/widget-forms": "^1.0.
|
|
33
|
-
"@telia-ace/widget-plugins": "^1.0.
|
|
34
|
-
"@telia-ace/widget-routing": "^1.0.
|
|
35
|
-
"@telia-ace/widget-services": "^1.0.
|
|
36
|
-
"@telia-ace/widget-ui": "^1.0.
|
|
37
|
-
"@telia-ace/widget-utilities": "^1.0.
|
|
28
|
+
"@telia-ace/widget-core": "^1.0.14",
|
|
29
|
+
"@telia-ace/widget-forms": "^1.0.21",
|
|
30
|
+
"@telia-ace/widget-plugins": "^1.0.15",
|
|
31
|
+
"@telia-ace/widget-routing": "^1.0.15",
|
|
32
|
+
"@telia-ace/widget-services": "^1.0.14",
|
|
33
|
+
"@telia-ace/widget-ui": "^1.0.21",
|
|
34
|
+
"@telia-ace/widget-utilities": "^1.0.3",
|
|
38
35
|
"@webprovisions/platform": "^1.1.2"
|
|
39
36
|
},
|
|
40
37
|
"peerDependencies": {
|
|
@@ -44,5 +41,5 @@
|
|
|
44
41
|
"devDependencies": {
|
|
45
42
|
"@types/react": "^16.8.0"
|
|
46
43
|
},
|
|
47
|
-
"gitHead": "
|
|
44
|
+
"gitHead": "e9e22ff408d32106cc60212d14fb1ff63dd5c1e1"
|
|
48
45
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ConversationMessageSender } from '../../../types';
|
|
3
|
-
declare type Props = {
|
|
4
|
-
className?: string;
|
|
5
|
-
agentData?: ConversationMessageSender;
|
|
6
|
-
};
|
|
7
|
-
declare const ConversationLoader: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
|
|
8
|
-
export default ConversationLoader;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DispatchAction } from '@telia-ace/widget-ui';
|
|
2
|
-
import { FC } from 'react';
|
|
3
|
-
import { ButtonListProperties } from '../../../../types';
|
|
4
|
-
declare type Props = {
|
|
5
|
-
dispatch: DispatchAction;
|
|
6
|
-
} & ButtonListProperties;
|
|
7
|
-
export declare const ButtonList: FC<Props>;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DispatchAction } from '@telia-ace/widget-ui';
|
|
2
|
-
import { FC } from 'react';
|
|
3
|
-
import { LinkListProperties } from '../../../../types';
|
|
4
|
-
declare type Props = {
|
|
5
|
-
dispatch: DispatchAction;
|
|
6
|
-
} & LinkListProperties;
|
|
7
|
-
export declare const LinkList: FC<Props>;
|
|
8
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { DispatchAction } from '@telia-ace/widget-ui';
|
|
2
|
-
import { FC } from 'react';
|
|
3
|
-
import { VideoRequestProperties } from '../../../../types';
|
|
4
|
-
declare type Props = {
|
|
5
|
-
dispatch: DispatchAction;
|
|
6
|
-
} & VideoRequestProperties;
|
|
7
|
-
export declare const VideoRequest: FC<Props>;
|
|
8
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { FC } from 'react';
|
|
2
|
-
import { DispatchAction } from '@telia-ace/widget-ui';
|
|
3
|
-
import { ConverstationMessageItem } from '../../../../types';
|
|
4
|
-
declare type Props = {
|
|
5
|
-
items: ConverstationMessageItem<any>[];
|
|
6
|
-
dispatch: DispatchAction;
|
|
7
|
-
};
|
|
8
|
-
export declare const MessageList: FC<Props>;
|
|
9
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { DispatchAction } from '@telia-ace/widget-ui';
|
|
2
|
-
import { FC } from 'react';
|
|
3
|
-
declare type OverlayOutletProps = {
|
|
4
|
-
dispatch: DispatchAction;
|
|
5
|
-
};
|
|
6
|
-
export declare const OverlayOutlet: FC<OverlayOutletProps>;
|
|
7
|
-
declare type ConversationOverlayProps = {
|
|
8
|
-
dispatch: DispatchAction;
|
|
9
|
-
header?: string;
|
|
10
|
-
buttonLabel?: string;
|
|
11
|
-
};
|
|
12
|
-
export declare const ConversationOverlayOutlet: FC<ConversationOverlayProps>;
|
|
13
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Avatar: import("styled-components").StyledComponent<"div", any, any, never>;
|
|
3
|
-
export declare const LoaderAnimation: import("styled-components").Keyframes;
|
|
4
|
-
export declare const Loader: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const ContentBundle: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
6
|
-
export declare const MessageTitle: import("styled-components").StyledComponent<import("react").FC<import("@telia-ace/widget-ui").TypographyProps>, any, {}, never>;
|
|
7
|
-
export declare const MessageContainer: import("styled-components").StyledComponent<"div", any, {
|
|
8
|
-
user?: boolean | undefined;
|
|
9
|
-
}, never>;
|
|
10
|
-
export declare type Stacked = 'first' | 'last' | 'middle';
|
|
11
|
-
export declare const MessageContent: import("styled-components").StyledComponent<"div", any, {
|
|
12
|
-
user?: boolean | undefined;
|
|
13
|
-
fullWidth?: boolean | undefined;
|
|
14
|
-
stacked?: Stacked | undefined;
|
|
15
|
-
}, never>;
|
|
16
|
-
export declare const MessageContentPart: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
17
|
-
export declare const messageContentPadding: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
|
|
18
|
-
export declare const StyledForm: import("styled-components").StyledComponent<import("react").FC<{
|
|
19
|
-
data?: import("@telia-ace/widget-forms").FormData | null | undefined;
|
|
20
|
-
className?: string | undefined;
|
|
21
|
-
onChange?: Function | undefined;
|
|
22
|
-
autoFocus?: boolean | undefined;
|
|
23
|
-
schema: import("@telia-ace/widget-forms/dist/form").FormSchema;
|
|
24
|
-
layout: import("@telia-ace/widget-forms/dist/form").FormLayout;
|
|
25
|
-
}>, any, {}, never>;
|
|
26
|
-
export declare const StyledActionList: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@telia-ace/widget-ui").ListProps, "key" | "items" | keyof import("react").HTMLAttributes<HTMLUListElement> | "renderItem" | "renderLi"> & import("react").RefAttributes<HTMLUListElement>>, any, {}, never>;
|
|
27
|
-
export declare const StyledActionButton: import("styled-components").StyledComponent<"button", any, {}, never>;
|