@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.
@@ -21,6 +21,6 @@ export interface ModalHeaderProps {
21
21
  /**
22
22
  * Define class name for container
23
23
  */
24
- className?: 'string';
24
+ className?: string;
25
25
  }
26
26
  export declare const ModalHeader: React.FC<ModalHeaderProps>;
@@ -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;
@@ -13,5 +13,6 @@ export interface PickerTriggerProps {
13
13
  isError?: boolean;
14
14
  isOpen: boolean;
15
15
  onClear: () => void;
16
+ setTriggerFocus: (v: boolean) => void;
16
17
  }
17
18
  export declare const PickerTrigger: React.FC<React.PropsWithChildren<PickerTriggerProps>>;
@@ -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;