@telia-ace/knowledge-widget-ui 1.0.30-next.0 → 1.0.36-next.0

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 { LinkProps } from '../missing-type-exports';
3
- export declare type Props = Merge<LinkProps, {
3
+ export type Props = Merge<LinkProps, {
4
4
  parent: {
5
5
  id: string;
6
6
  title: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { DrawerProps, ItemListProps } from '../missing-type-exports';
3
- declare type Props = Merge<ItemListProps, DrawerProps>;
3
+ type Props = Merge<ItemListProps, DrawerProps>;
4
4
  declare const DrawerList: React.FC<Props>;
5
5
  export default DrawerList;
@@ -1,6 +1,6 @@
1
1
  import { ItemRenderer } from '@telia-ace/widget-ui';
2
2
  import React from 'react';
3
- declare type Props = {
3
+ type Props = {
4
4
  trigger: React.ReactElement;
5
5
  header?: React.ReactElement;
6
6
  items?: any[];
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { DropdownProps, ItemListProps } from '../missing-type-exports';
3
- export declare type Props = Merge<DropdownProps, ItemListProps>;
3
+ export type Props = Merge<DropdownProps, ItemListProps>;
4
4
  declare const DropdownList: React.FC<Props>;
5
5
  export default DropdownList;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { FavoriteActions } from '../hooks';
3
- declare type Props = {
3
+ type Props = {
4
4
  isFavorite: boolean;
5
5
  actions: FavoriteActions;
6
6
  id: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type Props = {
2
+ export type Props = {
3
3
  onFeedback?: (feedback: 'positive' | 'negative') => void;
4
4
  positive?: string;
5
5
  negative?: string;
@@ -3,15 +3,15 @@ import { DispatchAction, ItemRenderer } from '@telia-ace/widget-ui';
3
3
  import { Params } from '@telia-ace/widget-utilities';
4
4
  import React from 'react';
5
5
  import { Props as MetadataProps } from './metadata';
6
- declare type Routing = {
6
+ type Routing = {
7
7
  guide?: string;
8
8
  page?: string;
9
9
  };
10
- declare type ParamMappers = {
10
+ type ParamMappers = {
11
11
  guide?: (guide: Guide) => Params;
12
12
  page?: () => Params;
13
13
  };
14
- export declare type Props = {
14
+ export type Props = {
15
15
  paramMappers?: ParamMappers;
16
16
  routing?: Routing;
17
17
  pageLabel?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- declare type Props = {
2
+ type Props = {
3
3
  loading: boolean | undefined;
4
4
  };
5
5
  export declare const Wrapper: import("@emotion/styled").StyledComponent<{
@@ -1,6 +1,6 @@
1
1
  import { DateFormats } from '@telia-ace/widget-ui';
2
2
  import React from 'react';
3
- export declare type Props = {
3
+ export type Props = {
4
4
  className?: string;
5
5
  modified?: string;
6
6
  published?: string;
@@ -1,7 +1,7 @@
1
1
  import { Notification } from '@telia-ace/knowledge-widget-core';
2
2
  import { Symbol } from '@telia-ace/widget-ui';
3
3
  import React from 'react';
4
- declare type Props = {
4
+ type Props = {
5
5
  className?: string;
6
6
  showHeader?: boolean;
7
7
  loading: boolean;
@@ -1,3 +1,3 @@
1
- declare type ArrowKey = 'up' | 'down' | 'left' | 'right';
1
+ type ArrowKey = 'up' | 'down' | 'left' | 'right';
2
2
  declare const useArrowKeys: () => ArrowKey | null;
3
3
  export default useArrowKeys;
@@ -1,4 +1,4 @@
1
- export declare type FavoriteActions = {
1
+ export type FavoriteActions = {
2
2
  addFavorite: (guideId: string) => Promise<string[]>;
3
3
  clearFavorites: () => Promise<string[]>;
4
4
  removeFavorite: (guideId: string) => Promise<string[]>;