@telia-ace/knowledge-widget-adapters 1.0.33 → 1.0.34-next.1

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.
@@ -3,11 +3,11 @@ import { Form } from '@telia-ace/widget-forms';
3
3
  import { Container } from '@webprovisions/platform';
4
4
  import React from 'react';
5
5
  import { ContactMethodProps } from './ui';
6
- export declare type ReactComponentImport = Promise<{
6
+ export type ReactComponentImport = Promise<{
7
7
  default: React.FunctionComponent<any>;
8
8
  }>;
9
- export declare type Click = (e: React.MouseEvent, cm: ContactMethodProps) => void;
10
- export declare type AdapterSettings = {
9
+ export type Click = (e: React.MouseEvent, cm: ContactMethodProps) => void;
10
+ export type AdapterSettings = {
11
11
  clientName: string;
12
12
  render: string | ReactComponentImport;
13
13
  handleDescription?: (cm: ContactMethodProps) => Promise<string> | string;
@@ -18,7 +18,7 @@ export declare type AdapterSettings = {
18
18
  onSubmit?: (cm: ContactMethodProps) => Promise<string> | string;
19
19
  onComplete?: (cm: ContactMethodProps) => Promise<void> | void;
20
20
  };
21
- export declare type ValidationResult = {
21
+ export type ValidationResult = {
22
22
  errors?: {
23
23
  [key: string]: string;
24
24
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type Props = {
2
+ export type Props = {
3
3
  html: string;
4
4
  };
5
5
  declare const Confirmation: React.FC<Props>;
@@ -5,7 +5,7 @@ import { ContactMethodType } from './contact-method';
5
5
  export declare const contactItemList: (p: {
6
6
  theme: Theme;
7
7
  }) => import("@emotion/react").SerializedStyles;
8
- declare type Props = {
8
+ type Props = {
9
9
  contactMethods: ContactMethodType[];
10
10
  header?: string;
11
11
  className?: string;
@@ -2,7 +2,7 @@ import { Theme } from '@emotion/react';
2
2
  import { Symbol } from '@telia-ace/knowledge-widget-core';
3
3
  import { DispatchAction, HtmlParseInstruction } from '@telia-ace/knowledge-widget-ui';
4
4
  import React from 'react';
5
- export declare type ContactMethodType = {
5
+ export type ContactMethodType = {
6
6
  id: string;
7
7
  title: string;
8
8
  symbol?: Symbol;
@@ -17,7 +17,7 @@ export declare type ContactMethodType = {
17
17
  disabled?: boolean;
18
18
  guideId?: string;
19
19
  };
20
- export declare type Props = Merge<ContactMethodType, {
20
+ export type Props = Merge<ContactMethodType, {
21
21
  className?: string;
22
22
  onClick?: (event: React.MouseEvent, properties: Props) => void;
23
23
  renderDefault?: (extraProps?: Partial<Props>) => any;
@@ -1,5 +1,5 @@
1
1
  import { Container } from '@webprovisions/platform';
2
- export declare type Callback = (settings: {
2
+ export type Callback = (settings: {
3
3
  [key: string]: any;
4
4
  }, data?: {
5
5
  [key: string]: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/knowledge-widget-adapters",
3
- "version": "1.0.33",
3
+ "version": "1.0.34-next.1",
4
4
  "description": "ACE knowledge adapters for ACE widgets.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Telia Company AB",
@@ -21,12 +21,12 @@
21
21
  },
22
22
  "sideEffects": false,
23
23
  "dependencies": {
24
- "@telia-ace/knowledge-serviceclient": "^1.0.12",
25
- "@telia-ace/knowledge-widget-core": "^1.0.23",
26
- "@telia-ace/knowledge-widget-ui": "^1.0.29",
27
- "@telia-ace/widget-forms": "^1.0.24",
28
- "@telia-ace/widget-routing": "^1.0.18",
29
- "@telia-ace/widget-utilities": "^1.0.6",
24
+ "@telia-ace/knowledge-serviceclient": "^1.0.13-next.1",
25
+ "@telia-ace/knowledge-widget-core": "^1.0.24-next.1",
26
+ "@telia-ace/knowledge-widget-ui": "^1.0.30-next.1",
27
+ "@telia-ace/widget-forms": "^1.0.25-next.1",
28
+ "@telia-ace/widget-routing": "^1.0.19-next.1",
29
+ "@telia-ace/widget-utilities": "^1.0.7-next.1",
30
30
  "@webprovisions/platform": "^1.1.2"
31
31
  },
32
32
  "peerDependencies": {