@livechat/design-system-react-components 1.0.0-beta.9 → 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/dist/components/Button/Button.stories.d.ts +1 -15
- package/dist/components/Modal/components/ModalHeader.d.ts +7 -1
- package/dist/components/Picker/Picker.d.ts +1 -1
- package/dist/components/Picker/TriggerBody.d.ts +1 -1
- package/dist/components/Picker/constants.d.ts +1 -1
- package/dist/components/Picker/types.d.ts +1 -2
- package/dist/components/Tag/Tag.d.ts +1 -1
- package/dist/components/Tooltip/helpers.d.ts +1 -1
- package/dist/dsrc.cjs.js +8 -8
- package/dist/dsrc.es.js +1051 -1093
- package/dist/dsrc.umd.js +8 -8
- package/dist/index.d.ts +0 -1
- package/dist/preview-stats.json +558 -666
- package/dist/stories/components/IconsShowcase.d.ts +0 -4
- package/dist/stories/components/TablerIconsShowcase.d.ts +0 -4
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/components/Icon/Icon.d.ts +0 -32
- package/dist/components/Icon/Icon.stories.d.ts +0 -15
- package/dist/components/Icon/index.d.ts +0 -2
- package/dist/components/Icon/types.d.ts +0 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@livechat/design-system-react-components",
|
|
3
|
-
"version": "1.0.0-
|
|
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": "
|
|
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
|
-
};
|