@livechat/design-system-react-components 1.13.0 → 1.15.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.
- package/dist/components/Button/Button.d.ts +3 -4
- package/dist/components/Button/Button.stories.d.ts +3 -2
- package/dist/components/Button/types.d.ts +1 -0
- package/dist/components/DetailsCard/DetailsCard.d.ts +1 -1
- package/dist/dsrc.cjs.js +1 -1
- package/dist/dsrc.es.js +152 -138
- package/dist/preview-stats.json +614 -614
- package/dist/stories/components/StoryDescriptor.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/themes/design-token.d.ts +1 -0
- package/package.json +3 -3
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import {
|
|
3
|
-
import { ButtonKind } from './types';
|
|
2
|
+
import { ButtonKind, ButtonSize } from './types';
|
|
4
3
|
export type ButtonProps = {
|
|
5
4
|
/**
|
|
6
5
|
* Specify the button kind
|
|
@@ -9,7 +8,7 @@ export type ButtonProps = {
|
|
|
9
8
|
/**
|
|
10
9
|
* Specify the button size
|
|
11
10
|
*/
|
|
12
|
-
size?:
|
|
11
|
+
size?: ButtonSize;
|
|
13
12
|
/**
|
|
14
13
|
* Set the loading state
|
|
15
14
|
*/
|
|
@@ -39,7 +38,7 @@ export declare const Button: React.ForwardRefExoticComponent<{
|
|
|
39
38
|
/**
|
|
40
39
|
* Specify the button size
|
|
41
40
|
*/
|
|
42
|
-
size?:
|
|
41
|
+
size?: ButtonSize | undefined;
|
|
43
42
|
/**
|
|
44
43
|
* Set the loading state
|
|
45
44
|
*/
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { ButtonProps } from './Button';
|
|
3
|
+
import { ButtonKind, ButtonSize } from './types';
|
|
3
4
|
declare const _default: import("@storybook/types").ComponentAnnotations<import("@storybook/react/dist/types-0a347bb9").R, {
|
|
4
|
-
kind?:
|
|
5
|
-
size?:
|
|
5
|
+
kind?: ButtonKind | undefined;
|
|
6
|
+
size?: ButtonSize | undefined;
|
|
6
7
|
loading?: boolean | undefined;
|
|
7
8
|
fullWidth?: boolean | undefined;
|
|
8
9
|
loaderLabel?: string | undefined;
|