@livechat/design-system-react-components 1.0.0-beta.2 → 1.0.0-beta.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.
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Input/Input.d.ts +4 -0
- package/dist/dsrc.cjs.js +2 -2
- package/dist/dsrc.es.js +755 -743
- package/dist/dsrc.umd.js +3 -3
- package/dist/preview-stats.json +550 -547
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
export type IconSize = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge';
|
|
3
|
-
export type IconKind = 'primary' | 'subtle' | 'inverted' | 'inverted-subtle' | 'link' | 'success' | 'warning' | 'error' | 'negative' | 'positive' | '
|
|
3
|
+
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
4
|
export type IconSource = React.FC<React.SVGProps<SVGSVGElement>> & React.ReactElement;
|
|
5
5
|
export interface IconProps {
|
|
6
6
|
/**
|
|
@@ -20,6 +20,10 @@ export interface InputProps extends React.InputHTMLAttributes<HTMLInputElement>
|
|
|
20
20
|
* Set the icon and its position
|
|
21
21
|
*/
|
|
22
22
|
icon?: InputIcon;
|
|
23
|
+
/**
|
|
24
|
+
* Set to enable ellipsis
|
|
25
|
+
*/
|
|
26
|
+
cropOnBlur?: boolean;
|
|
23
27
|
}
|
|
24
28
|
export declare const Input: React.ForwardRefExoticComponent<InputProps & React.RefAttributes<HTMLInputElement>>;
|
|
25
29
|
export {};
|