@livechat/design-system-react-components 1.22.0 → 1.22.2
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/Modal/components/ModalHeader.d.ts +1 -1
- package/dist/components/Picker/components/PickerList.d.ts +0 -2
- package/dist/components/Picker/components/PickerTrigger.d.ts +1 -0
- package/dist/components/Picker/components/PickerTriggerBody.d.ts +2 -0
- package/dist/components/Typography/Display.d.ts +2 -0
- package/dist/components/Typography/types.d.ts +1 -1
- package/dist/foundations/design-token.d.ts +5 -0
- package/dist/foundations/shadow-token.d.ts +4 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1510 -1461
- package/dist/preview-stats.json +586 -586
- package/dist/style.css +1 -1
- package/package.json +2 -2
|
@@ -10,8 +10,6 @@ export interface IPickerListProps {
|
|
|
10
10
|
floatingStyles: React.CSSProperties;
|
|
11
11
|
maxHeight: number;
|
|
12
12
|
listElementsRef: React.MutableRefObject<(HTMLElement | null)[]>;
|
|
13
|
-
isPositioned: boolean;
|
|
14
|
-
pointer: boolean;
|
|
15
13
|
activeIndex: number | null;
|
|
16
14
|
selectedKeys: string[];
|
|
17
15
|
setPointer: (pointer: boolean) => void;
|
|
@@ -14,6 +14,8 @@ export interface ITriggerBodyProps {
|
|
|
14
14
|
onItemRemove: (key: string) => void;
|
|
15
15
|
onSelect: (key: string) => void;
|
|
16
16
|
onFilter: (text: string) => void;
|
|
17
|
+
onClear: () => void;
|
|
17
18
|
virtualItemRef: React.MutableRefObject<HTMLElement | null>;
|
|
19
|
+
isTriggerFocused: boolean;
|
|
18
20
|
}
|
|
19
21
|
export declare const PickerTriggerBody: React.FC<ITriggerBodyProps>;
|
|
@@ -11,6 +11,8 @@ interface IProps {
|
|
|
11
11
|
customColor?: string;
|
|
12
12
|
/** Optional prop to set the text align */
|
|
13
13
|
textAlign?: TTextAlign;
|
|
14
|
+
/** Optional prop to set the bold */
|
|
15
|
+
bold?: boolean;
|
|
14
16
|
}
|
|
15
17
|
export declare const Display: React.FC<React.PropsWithChildren<IProps>>;
|
|
16
18
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type TTextSize = 'xs' | 'sm' | 'md';
|
|
2
2
|
export type THeadingSize = '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
3
|
-
export type TDisplaySize = 'sm' | 'md' | 'max';
|
|
3
|
+
export type TDisplaySize = 'sm' | 'md' | 'lg' | 'max';
|
|
4
4
|
export type TTextAlign = 'left' | 'right' | 'center' | 'justify';
|
|
@@ -341,9 +341,14 @@ export declare const DesignToken: {
|
|
|
341
341
|
SurfaceAvatar9: string;
|
|
342
342
|
SurfaceAvatar10: string;
|
|
343
343
|
NavbarBackground: string;
|
|
344
|
+
TooltipBackgroundBasic: string;
|
|
345
|
+
TooltipBackgroundInvert: string;
|
|
344
346
|
TooltipBorder: string;
|
|
347
|
+
TooltipBorderForSvg: string;
|
|
345
348
|
AnimatedGradientValue1: string;
|
|
346
349
|
AnimatedGradientValue2: string;
|
|
347
350
|
AnimatedGradientValue3: string;
|
|
351
|
+
ContentBasicInternalNote: string;
|
|
352
|
+
ContentBasicBot: string;
|
|
348
353
|
};
|
|
349
354
|
export type DesignTokenKey = keyof typeof DesignToken;
|
|
@@ -16,5 +16,9 @@ export declare const ShadowToken: {
|
|
|
16
16
|
DividerTopRight: string;
|
|
17
17
|
DividerBottomRight: string;
|
|
18
18
|
MessageBox: string;
|
|
19
|
+
FixedRight: string;
|
|
20
|
+
FixedLeft: string;
|
|
21
|
+
FixedTop: string;
|
|
22
|
+
FixedBottom: string;
|
|
19
23
|
};
|
|
20
24
|
export type ShadowTokenKey = keyof typeof ShadowToken;
|