@livechat/design-system-react-components 1.0.0-beta.5 → 1.0.0-beta.7-rc.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,7 +1,7 @@
1
1
  import * as React from 'react';
2
+ import { IconSource } from './types';
2
3
  export type IconSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
3
4
  export type IconKind = 'primary' | 'subtle' | 'inverted' | 'inverted-subtle' | 'link' | 'success' | 'warning' | 'error' | 'negative' | 'positive' | 'action-primary' | 'action-negative' | 'action-positive' | 'action-warning' | 'action-neutral';
4
- export type IconSource = React.FC<React.SVGProps<SVGSVGElement>> & React.ReactElement;
5
5
  export interface IconProps {
6
6
  /**
7
7
  * Specify the source of svg element
@@ -1 +1,2 @@
1
1
  export * from './Icon';
2
+ export type { IconSource } from './types';
@@ -0,0 +1,2 @@
1
+ import * as React from 'react';
2
+ export type IconSource = React.FC<React.SVGProps<SVGSVGElement>> & React.ReactElement;
@@ -1,3 +1,3 @@
1
1
  export * from './Picker';
2
2
  export * from './PickerList';
3
- export type { PickerType } from './types';
3
+ export type { PickerType, IPickerListItem } from './types';
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { IconSource } from 'components/Icon';
2
+ import { IconSource } from '../Icon';
3
3
  export interface IPickerListItem {
4
4
  key: string;
5
5
  name: string;