@telia-ace/knowledge-widget-components-guide 1.0.27 → 1.0.28-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.
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { AvailablePerspectives, GuideProps } from './guide-component';
3
- declare type Props = {
3
+ type Props = {
4
4
  className?: string;
5
5
  defaultAnswerVersionLabel: string;
6
6
  availablePerspectives?: AvailablePerspectives[];
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { GuideProps, ToolbarProps } from './guide-component';
3
- declare type Props = {
3
+ type Props = {
4
4
  guide: GuideProps;
5
5
  toolbar: ToolbarProps;
6
6
  };
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type Props = {
2
+ type Props = {
3
3
  backButtonShown?: boolean;
4
4
  accordion?: boolean;
5
5
  };
@@ -2,11 +2,11 @@ import { PickerTypes } from '@telia-ace/knowledge-widget-core';
2
2
  import { DispatchAction } from '@telia-ace/knowledge-widget-ui';
3
3
  import React from 'react';
4
4
  import { GuideProps } from './guide-component';
5
- export declare type FunctionListItem = {
5
+ export type FunctionListItem = {
6
6
  type: string;
7
7
  child: React.ReactNode;
8
8
  };
9
- declare type Props = {
9
+ type Props = {
10
10
  header?: string;
11
11
  tooltip?: string;
12
12
  printActionLabel?: string;
@@ -4,7 +4,7 @@ import { DialogItem, PickerTypes } from '@telia-ace/knowledge-widget-core';
4
4
  import { DataError } from '@telia-ace/knowledge-widget-types-grid';
5
5
  import { FormComponentInstanceProperties } from '@telia-ace/widget-forms';
6
6
  import { Container } from '@webprovisions/platform';
7
- export declare type GuideProps = {
7
+ export type GuideProps = {
8
8
  id: string;
9
9
  title: string;
10
10
  body: string;
@@ -24,11 +24,11 @@ export declare type GuideProps = {
24
24
  modifiedBy?: string | null;
25
25
  perspective: string | null;
26
26
  };
27
- export declare type AvailablePerspectives = {
27
+ export type AvailablePerspectives = {
28
28
  name: string;
29
29
  title: string;
30
30
  };
31
- export declare type GuideComponentProps = {
31
+ export type GuideComponentProps = {
32
32
  showHeader?: boolean;
33
33
  showFeedback?: boolean;
34
34
  feedbackDirection?: 'horizontal' | 'vertical';
@@ -57,7 +57,7 @@ export declare type GuideComponentProps = {
57
57
  error?: DataError;
58
58
  availablePerspectives?: AvailablePerspectives[];
59
59
  } & FormComponentInstanceProperties & FavoriteProperties & MetaDataProperties & LanguageProperties;
60
- export declare type ToolbarProps = {
60
+ export type ToolbarProps = {
61
61
  language?: boolean;
62
62
  guideCategories?: boolean;
63
63
  allowCopy?: boolean;
package/dist/guide.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type Props = {
2
+ type Props = {
3
3
  className: string;
4
4
  accordion?: boolean;
5
5
  };
@@ -2,12 +2,12 @@ import { LanguageProperties } from '@telia-ace/knowledge-widget-component-utilit
2
2
  import { PickerTypes } from '@telia-ace/knowledge-widget-core';
3
3
  import React from 'react';
4
4
  import { GuideProps } from './guide-component';
5
- export declare type LanguageListItem = {
5
+ export type LanguageListItem = {
6
6
  id: string;
7
7
  key: string;
8
8
  label: string;
9
9
  };
10
- declare type Props = Merge<{
10
+ type Props = Merge<{
11
11
  header?: string;
12
12
  tooltip?: string;
13
13
  guide: GuideProps;
package/dist/toolbar.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { DispatchAction } from '@telia-ace/knowledge-widget-ui';
2
2
  import React from 'react';
3
- declare type Props = {
3
+ type Props = {
4
4
  className?: string;
5
5
  dispatch: DispatchAction;
6
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telia-ace/knowledge-widget-components-guide",
3
- "version": "1.0.27",
3
+ "version": "1.0.28-next.1",
4
4
  "description": "Guide component for ACE Knowledge Widgets.",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "author": "Telia Company AB",
@@ -21,14 +21,14 @@
21
21
  },
22
22
  "sideEffects": false,
23
23
  "dependencies": {
24
- "@telia-ace/knowledge-widget-adapters": "^1.0.33",
25
- "@telia-ace/knowledge-widget-component-utilities": "^1.0.27",
26
- "@telia-ace/knowledge-widget-core": "^1.0.23",
27
- "@telia-ace/knowledge-widget-types-grid": "^1.0.34",
28
- "@telia-ace/knowledge-widget-ui": "^1.0.29",
29
- "@telia-ace/widget-forms": "^1.0.24",
30
- "@telia-ace/widget-routing": "^1.0.18",
31
- "@telia-ace/widget-utilities": "^1.0.6",
24
+ "@telia-ace/knowledge-widget-adapters": "^1.0.34-next.1",
25
+ "@telia-ace/knowledge-widget-component-utilities": "^1.0.28-next.1",
26
+ "@telia-ace/knowledge-widget-core": "^1.0.24-next.1",
27
+ "@telia-ace/knowledge-widget-types-grid": "^1.0.35-next.1",
28
+ "@telia-ace/knowledge-widget-ui": "^1.0.30-next.1",
29
+ "@telia-ace/widget-forms": "^1.0.25-next.1",
30
+ "@telia-ace/widget-routing": "^1.0.19-next.1",
31
+ "@telia-ace/widget-utilities": "^1.0.7-next.1",
32
32
  "@webprovisions/platform": "^1.1.2",
33
33
  "clipboard-polyfill": "4.0.0-rc1"
34
34
  },
@@ -42,7 +42,7 @@
42
42
  "@emotion/react": "^11.10.5",
43
43
  "@emotion/styled": "^11.10.5",
44
44
  "@types/react": "^18.0.25",
45
- "@types/react-dom": "^18.0.8",
45
+ "@types/react-dom": "^18.0.9",
46
46
  "react": "^18.2.0",
47
47
  "react-dom": "^18.2.0"
48
48
  },