@livechat/design-system-react-components 2.20.0 → 2.21.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/Accordion/components/{AccordionAnimatedLabel.d.ts → AccordionAnimatedLabel/AccordionAnimatedLabel.d.ts} +1 -1
- package/dist/components/Accordion/components/AccordionAnimatedLabel/styles.d.ts +2 -0
- package/dist/components/Accordion/components/AccordionMultilineElement/styles.d.ts +2 -0
- package/dist/components/Accordion/components/index.d.ts +2 -0
- package/dist/components/Accordion/styles.d.ts +8 -0
- package/dist/components/ActionCard/types.d.ts +20 -2
- package/dist/components/Picker/components/PickerTrigger.d.ts +1 -0
- package/dist/index.cjs +136 -1
- package/dist/index.js +2284 -2190
- package/dist/style.css +1 -1
- package/package.json +5 -3
- /package/dist/components/Accordion/components/{AccordionMultilineElement.d.ts → AccordionMultilineElement/AccordionMultilineElement.d.ts} +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const baseStyles: (isPromo?: boolean) => string;
|
|
2
|
+
export declare const kind: (kind?: string) => string;
|
|
3
|
+
export declare const open: string;
|
|
4
|
+
export declare const label: (isPromo?: boolean) => string;
|
|
5
|
+
export declare const chevron: (isOpen?: boolean, isPromo?: boolean) => string;
|
|
6
|
+
export declare const content: string;
|
|
7
|
+
export declare const contentInner: (isOpen?: boolean, isPromo?: boolean) => string;
|
|
8
|
+
export declare const footer: (isPromo?: boolean) => string;
|
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export type ActionCardProps = ({
|
|
3
|
+
/**
|
|
4
|
+
* Specify if the card is in loading state
|
|
5
|
+
*/
|
|
6
|
+
isLoading: true;
|
|
7
|
+
/**
|
|
8
|
+
* Specify if the card is in animated loading state
|
|
9
|
+
*/
|
|
10
|
+
isLoadingAnimated?: boolean;
|
|
11
|
+
} | {
|
|
12
|
+
/**
|
|
13
|
+
* Specify if the card is in loading state
|
|
14
|
+
*/
|
|
15
|
+
isLoading?: false;
|
|
16
|
+
/**
|
|
17
|
+
* Loading animation is not available when not loading
|
|
18
|
+
*/
|
|
19
|
+
isLoadingAnimated?: never;
|
|
20
|
+
}) & {
|
|
3
21
|
/**
|
|
4
22
|
* The CSS class for main container
|
|
5
23
|
*/
|
|
@@ -20,4 +38,4 @@ export interface ActionCardProps {
|
|
|
20
38
|
* Optional handler called on card click
|
|
21
39
|
*/
|
|
22
40
|
onClick?: () => void;
|
|
23
|
-
}
|
|
41
|
+
};
|