@telia-ace/widget-conversation 1.0.29-next.6 → 1.0.29-next.8

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.
@@ -7,5 +7,5 @@ declare type Props = {
7
7
  timestamp: number | null;
8
8
  };
9
9
  declare const AgentMessage: React.FC<Props>;
10
- export declare const StyledAgentMessage: import("styled-components").StyledComponent<"div", any, any, never>;
10
+ export declare const StyledAgentMessage: import("@emotion/styled").StyledComponent<any, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
11
  export default AgentMessage;
@@ -7,6 +7,9 @@ export declare type Props = {
7
7
  children: any;
8
8
  };
9
9
  declare const SystemMessage: React.ForwardRefExoticComponent<Props & React.RefAttributes<HTMLDivElement>>;
10
- export declare const StyledSystemMessage: import("styled-components").StyledComponent<"div", any, any, never>;
11
- export declare const Discrete: import("styled-components").StyledComponent<"div", any, {}, never>;
10
+ export declare const StyledSystemMessage: import("@emotion/styled").StyledComponent<any, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ export declare const Discrete: import("@emotion/styled").StyledComponent<{
12
+ theme?: import("@emotion/react").Theme | undefined;
13
+ as?: React.ElementType<any> | undefined;
14
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
15
  export default SystemMessage;
@@ -1,31 +1,58 @@
1
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, {
2
+ import { Theme } from '@emotion/react';
3
+ export declare const Avatar: import("@emotion/styled").StyledComponent<any, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ export declare const LoaderAnimation: import("@emotion/serialize").Keyframes;
5
+ export declare const Loader: import("@emotion/styled").StyledComponent<{
6
+ theme?: Theme | undefined;
7
+ as?: import("react").ElementType<any> | undefined;
8
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ export declare const ContentBundle: import("@emotion/styled").StyledComponent<{
10
+ theme?: Theme | undefined;
11
+ as?: import("react").ElementType<any> | undefined;
12
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
+ export declare const MessageTitle: import("@emotion/styled").StyledComponent<import("@telia-ace/widget-ui").TypographyProps & {
14
+ theme?: Theme | undefined;
15
+ }, {}, {}>;
16
+ export declare const MessageContainer: import("@emotion/styled").StyledComponent<{
17
+ theme?: Theme | undefined;
18
+ as?: import("react").ElementType<any> | undefined;
19
+ } & {
8
20
  left?: boolean | undefined;
9
21
  center?: boolean | undefined;
10
22
  right?: boolean | undefined;
11
- }, never>;
23
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
24
  export declare type Stacked = 'first' | 'last' | 'middle';
13
- export declare const MessageContent: import("styled-components").StyledComponent<"div", any, {
25
+ export declare const MessageContent: import("@emotion/styled").StyledComponent<{
26
+ theme?: Theme | undefined;
27
+ as?: import("react").ElementType<any> | undefined;
28
+ } & {
14
29
  user?: boolean | undefined;
15
30
  fullWidth?: boolean | undefined;
16
31
  stacked?: Stacked | undefined;
17
32
  padded?: boolean | undefined;
18
- }, never>;
19
- export declare const MessageContentPart: import("styled-components").StyledComponent<"div", any, {}, never>;
20
- export declare const messageContentPadding: import("styled-components").FlattenInterpolation<import("styled-components").ThemeProps<any>>;
21
- export declare const StyledForm: import("styled-components").StyledComponent<import("react").FC<{
33
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
34
+ export declare const MessageContentPart: import("@emotion/styled").StyledComponent<{
35
+ theme?: Theme | undefined;
36
+ as?: import("react").ElementType<any> | undefined;
37
+ }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
38
+ export declare const messageContentPadding: (p: {
39
+ theme: Theme;
40
+ }) => import("@emotion/utils").SerializedStyles;
41
+ export declare const StyledForm: import("@emotion/styled").StyledComponent<{
22
42
  data?: import("@telia-ace/widget-forms").FormData | null | undefined;
23
43
  className?: string | undefined;
24
44
  onChange?: Function | undefined;
25
45
  autoFocus?: boolean | undefined;
26
46
  schema: import("@telia-ace/widget-forms/dist/form").FormSchema;
27
47
  layout: import("@telia-ace/widget-forms/dist/form").FormLayout;
28
- }>, any, {}, never>;
29
- export declare const StyledHtml: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Pick<import("@telia-ace/widget-ui").HtmlProps, "key" | "html" | keyof import("react").HTMLAttributes<HTMLDivElement> | "htmlParseInstruction"> & import("react").RefAttributes<HTMLDivElement>>, any, any, never>;
30
- 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>;
31
- export declare const StyledActionButton: import("styled-components").StyledComponent<"button", any, {}, never>;
48
+ } & {
49
+ theme?: Theme | undefined;
50
+ }, {}, {}>;
51
+ export declare const StyledHtml: import("@emotion/styled").StyledComponent<any, {}, {}>;
52
+ export declare const StyledActionList: import("@emotion/styled").StyledComponent<Pick<import("@telia-ace/widget-ui").ListProps, "key" | "items" | keyof import("react").HTMLAttributes<HTMLUListElement> | "renderItem" | "renderLi"> & import("react").RefAttributes<HTMLUListElement> & {
53
+ theme?: Theme | undefined;
54
+ }, {}, {}>;
55
+ export declare const StyledActionButton: import("@emotion/styled").StyledComponent<{
56
+ theme?: Theme | undefined;
57
+ as?: import("react").ElementType<any> | undefined;
58
+ }, import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, {}>;