@telia-ace/widget-conversation 1.0.17 → 1.0.18
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/dist/{ui → components}/conversation/conversation.d.ts +0 -0
- package/dist/{ui/conversation/conversation-component.d.ts → components/conversation/plugin.d.ts} +8 -2
- package/dist/components/conversation/ui/content.d.ts +2 -0
- package/dist/{ui/conversation/conversation-input.d.ts → components/conversation/ui/input.d.ts} +0 -0
- package/dist/{ui/conversation/conversation-loader.d.ts → components/conversation/ui/loader.d.ts} +1 -1
- package/dist/{ui/conversation → components/conversation/ui}/message-list-items/button-list.d.ts +1 -1
- package/dist/{ui/conversation → components/conversation/ui}/message-list-items/custom.d.ts +0 -0
- package/dist/{ui/conversation → components/conversation/ui}/message-list-items/html.d.ts +1 -1
- package/dist/{ui/conversation → components/conversation/ui}/message-list-items/link-list.d.ts +1 -1
- package/dist/{ui/conversation → components/conversation/ui}/message-list-items/separator.d.ts +0 -0
- package/dist/{ui/conversation → components/conversation/ui}/message-list-items/text.d.ts +0 -0
- package/dist/{ui/conversation → components/conversation/ui}/message-types/agent.d.ts +1 -1
- package/dist/{ui/conversation → components/conversation/ui}/message-types/index.d.ts +0 -0
- package/dist/{ui/conversation → components/conversation/ui}/message-types/message-list.d.ts +1 -1
- package/dist/{ui/conversation → components/conversation/ui}/message-types/system.d.ts +0 -0
- package/dist/{ui/conversation → components/conversation/ui}/message-types/timestamp.d.ts +0 -0
- package/dist/{ui/conversation → components/conversation/ui}/message-types/user.d.ts +0 -0
- package/dist/components/conversation/ui/message.d.ts +7 -0
- package/dist/components/conversation/ui/overlay-outlets.d.ts +13 -0
- package/dist/components/conversation/ui/styles.d.ts +27 -0
- package/dist/{ui/return-button/return-button-component.d.ts → components/return-button/plugin.d.ts} +1 -2
- package/dist/{ui → components}/return-button/return-button.d.ts +0 -0
- package/dist/conversation.js +418 -312
- package/dist/conversation.js.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +30 -8
- package/dist/index.js.map +1 -1
- package/dist/return-button.js.map +1 -1
- package/package.json +4 -4
- package/dist/ui/conversation/conversation-content.d.ts +0 -11
- package/dist/ui/conversation/conversation-message.d.ts +0 -7
- package/dist/ui/conversation/conversation-styles.d.ts +0 -12
- package/dist/ui/conversation/index.d.ts +0 -2
- package/dist/ui/index.d.ts +0 -2
- package/dist/ui/return-button/index.d.ts +0 -2
|
File without changes
|
package/dist/{ui/conversation/conversation-component.d.ts → components/conversation/plugin.d.ts}
RENAMED
|
@@ -18,6 +18,12 @@ export declare type ConversationContent = {
|
|
|
18
18
|
export declare type ConversationComponentProperties = {
|
|
19
19
|
providers: string[];
|
|
20
20
|
messages: BundledConversationMessage[];
|
|
21
|
+
overlay?: {
|
|
22
|
+
conversation: boolean;
|
|
23
|
+
secondary: boolean;
|
|
24
|
+
};
|
|
25
|
+
overlayConversationHeader?: string;
|
|
26
|
+
overlayConversationCloseLabel?: string;
|
|
21
27
|
loading: boolean;
|
|
22
28
|
inputPlaceholder: string;
|
|
23
29
|
inputDisabled: boolean;
|
|
@@ -33,5 +39,5 @@ export declare type ConversationComponentProperties = {
|
|
|
33
39
|
label: string;
|
|
34
40
|
};
|
|
35
41
|
};
|
|
36
|
-
declare const ConversationComponent: (container: Container) => Promise<void>;
|
|
37
|
-
export
|
|
42
|
+
export declare const ConversationComponent: (container: Container) => Promise<void>;
|
|
43
|
+
export {};
|
package/dist/{ui/conversation/conversation-input.d.ts → components/conversation/ui/input.d.ts}
RENAMED
|
File without changes
|
package/dist/{ui/conversation → components/conversation/ui}/message-list-items/button-list.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DispatchAction } from '@telia-ace/widget-ui';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import { ButtonListProperties } from '
|
|
3
|
+
import { ButtonListProperties } from '../../../../types';
|
|
4
4
|
declare type Props = {
|
|
5
5
|
dispatch: DispatchAction;
|
|
6
6
|
} & ButtonListProperties;
|
|
File without changes
|
package/dist/{ui/conversation → components/conversation/ui}/message-list-items/link-list.d.ts
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DispatchAction } from '@telia-ace/widget-ui';
|
|
2
2
|
import { FC } from 'react';
|
|
3
|
-
import { LinkListProperties } from '
|
|
3
|
+
import { LinkListProperties } from '../../../../types';
|
|
4
4
|
declare type Props = {
|
|
5
5
|
dispatch: DispatchAction;
|
|
6
6
|
} & LinkListProperties;
|
package/dist/{ui/conversation → components/conversation/ui}/message-list-items/separator.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
2
|
import { DispatchAction } from '@telia-ace/widget-ui';
|
|
3
|
-
import { ConverstationMessageItem } from '
|
|
3
|
+
import { ConverstationMessageItem } from '../../../../types';
|
|
4
4
|
declare type Props = {
|
|
5
5
|
items: ConverstationMessageItem<any>[];
|
|
6
6
|
dispatch: DispatchAction;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,13 @@
|
|
|
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 {};
|
|
@@ -0,0 +1,27 @@
|
|
|
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>;
|
package/dist/{ui/return-button/return-button-component.d.ts → components/return-button/plugin.d.ts}
RENAMED
|
@@ -15,5 +15,4 @@ export declare type ReturnButtonProps = {
|
|
|
15
15
|
label?: string;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
declare const ConversationReturnButtonComponent: (container: Container) => Promise<void>;
|
|
19
|
-
export default ConversationReturnButtonComponent;
|
|
18
|
+
export declare const ConversationReturnButtonComponent: (container: Container) => Promise<void>;
|
|
File without changes
|