@livechat/design-system-react-components 1.0.0-beta.8 → 1.0.0-icons-remake.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/design-system-react-components",
3
- "version": "1.0.0-beta.8",
3
+ "version": "1.0.0-icons-remake.1",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -84,5 +84,5 @@
84
84
  "react-day-picker": "^7.4.10",
85
85
  "react-transition-group": "^4.4.2"
86
86
  },
87
- "gitHead": "7779ca9b7952c33a027c6297be993191c63e92ae"
87
+ "gitHead": "b379bcbfbbc66eda967e8fe7d0b883eb2a902e5f"
88
88
  }
@@ -1,32 +0,0 @@
1
- import * as React from 'react';
2
- import { IconSource } from './types';
3
- export type IconSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
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';
5
- export interface IconProps {
6
- /**
7
- * Specify the source of svg element
8
- */
9
- source: IconSource;
10
- /**
11
- * Specify the icon size
12
- */
13
- size?: IconSize;
14
- /**
15
- * Specify the icon kind
16
- */
17
- kind?: IconKind;
18
- /**
19
- * Specify whether the icon should be disabled
20
- */
21
- disabled?: boolean;
22
- /**
23
- * The CSS class for icon
24
- */
25
- className?: string;
26
- /**
27
- * Set the icon custom color
28
- */
29
- customColor?: string;
30
- }
31
- export declare const Icon: React.FC<IconProps>;
32
- export default Icon;
@@ -1,15 +0,0 @@
1
- import * as React from 'react';
2
- import { IconProps } from './Icon';
3
- declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, IconProps & {
4
- children?: React.ReactNode;
5
- }>;
6
- export default _default;
7
- export declare const Icon: {
8
- (args: IconProps): React.ReactElement;
9
- args: {
10
- source: any;
11
- size: string;
12
- kind: string;
13
- disabled: boolean;
14
- };
15
- };
@@ -1,2 +0,0 @@
1
- export * from './Icon';
2
- export type { IconSource } from './types';
@@ -1,2 +0,0 @@
1
- import * as React from 'react';
2
- export type IconSource = React.FC<React.SVGProps<SVGSVGElement>> & React.ReactElement;