@telia-ace/knowledge-widget-plugins 1.3.30 → 1.3.31-rc.3

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,4 +1,5 @@
1
1
  import { Container } from '@webprovisions/platform';
2
+
2
3
  export type FavoritePlatform = {
3
4
  add: (guideId: string) => Promise<string[]>;
4
5
  remove: (guideId: string) => Promise<string[]>;
@@ -1,6 +1,7 @@
1
- import { Plugin } from '@telia-ace/knowledge-widget-core';
1
+ import { Plugin } from '../../../core/src/index.ts';
2
2
  import { Container } from '@webprovisions/platform';
3
3
  import { FavoritePlatform } from './favorite-platform';
4
+
4
5
  export type FavoritePluginSettings = {};
5
6
  export default class FavoritePlugin extends Plugin {
6
7
  settings: FavoritePluginSettings;
@@ -1,2 +1,3 @@
1
- import FavoritePlugin from './favorite';
1
+ import { default as FavoritePlugin } from './favorite';
2
+
2
3
  export default FavoritePlugin;
@@ -1,4 +1,5 @@
1
1
  import { Container } from '@webprovisions/platform';
2
+
2
3
  export declare const addFavoriteToStorage: (guideId: string, container: Container) => Promise<string[]>;
3
4
  export declare const removeFavoriteFromStorage: (guideId: string, container: Container) => Promise<string[]>;
4
5
  export declare const readFavoritesFromStorage: (container: Container) => Promise<string[]>;
@@ -1,2 +1,3 @@
1
- import LegacyResources from './legacy-resources';
1
+ import { default as LegacyResources } from './legacy-resources';
2
+
2
3
  export default LegacyResources;
@@ -1,5 +1,6 @@
1
- import { Plugin } from '@telia-ace/knowledge-widget-core';
1
+ import { Plugin } from '../../../core/src/index.ts';
2
2
  import { Container } from '@webprovisions/platform';
3
+
3
4
  type Settings = {
4
5
  initialCss?: string;
5
6
  };
@@ -1,5 +1,6 @@
1
1
  import { Container } from '@webprovisions/platform';
2
2
  import { Settings } from './plugin';
3
+
3
4
  /**
4
5
  * Sets contactMethod.expanded and contactMethod.inline for contactMethods
5
6
  * with a clientName that match the regular expression passed in
@@ -1,5 +1,6 @@
1
1
  import { Container } from '@webprovisions/platform';
2
2
  import { Settings } from './plugin';
3
+
3
4
  /**
4
5
  * Will hide the back-button in the widget-header back-button if there
5
6
  * is only a single contact method in the contact-list.
@@ -1,2 +1,3 @@
1
- import plugin from './plugin';
1
+ import { default as plugin } from './plugin';
2
+
2
3
  export default plugin;
@@ -1,5 +1,6 @@
1
- import { Plugin } from '@telia-ace/knowledge-widget-core';
1
+ import { Plugin } from '../../../core/src/index.ts';
2
2
  import { Container } from '@webprovisions/platform';
3
+
3
4
  export type Settings = {
4
5
  denyAutoExpandContactMethods?: string;
5
6
  hideBackOnSingleContactMethod?: boolean;
@@ -1,5 +1,6 @@
1
1
  import { Container } from '@webprovisions/platform';
2
2
  import { Listerners, Settings } from './plugin';
3
+
3
4
  /**
4
5
  * Will focus guide-list when focusing search-input and pressing arrow-down key
5
6
  */
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@telia-ace/knowledge-widget-plugins",
3
- "version": "1.3.30",
3
+ "version": "1.3.31-rc.3",
4
4
  "dependencies": {
5
- "@telia-ace/knowledge-data-client": "^1.3.30",
6
- "@telia-ace/widget-services": "^1.3.30",
5
+ "@telia-ace/knowledge-data-client": "^1.3.31-rc.3",
6
+ "@telia-ace/widget-services": "^1.3.31-rc.3",
7
7
  "@webprovisions/platform": "^1.1.4",
8
- "@telia-ace/knowledge-widget-core": "^1.3.30",
9
- "@telia-ace/knowledge-resource-loader": "^1.3.30"
8
+ "@telia-ace/knowledge-widget-core": "^1.3.31-rc.3",
9
+ "@telia-ace/knowledge-resource-loader": "^1.3.31-rc.3"
10
10
  },
11
11
  "peerDependencies": {
12
12
  "@emotion/react": "11.11.1"