@livechat/design-system-react-components 1.0.0-alpha.50 → 1.0.0-alpha.51

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.
@@ -5,5 +5,5 @@ export interface AlertProps {
5
5
  kind?: AlertKind;
6
6
  onClose?: () => void;
7
7
  }
8
- export declare const Alert: React.FC<AlertProps>;
8
+ export declare const Alert: React.FC<React.PropsWithChildren<AlertProps>>;
9
9
  export {};
@@ -5,4 +5,4 @@ export interface FieldGroupProps extends React.HTMLAttributes<HTMLDivElement> {
5
5
  inline?: boolean;
6
6
  stretch?: boolean;
7
7
  }
8
- export declare const FieldGroup: React.FC<FieldGroupProps>;
8
+ export declare const FieldGroup: React.FC<React.PropsWithChildren<FieldGroupProps>>;
@@ -4,4 +4,4 @@ export interface FormProps extends React.HTMLAttributes<HTMLFormElement> {
4
4
  helperText?: string;
5
5
  formFooter?: React.ReactNode;
6
6
  }
7
- export declare const Form: React.FC<FormProps>;
7
+ export declare const Form: React.FC<React.PropsWithChildren<FormProps>>;
@@ -4,4 +4,4 @@ export interface FormGroupProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  labelText?: string;
5
5
  helperText?: string;
6
6
  }
7
- export declare const FormGroup: React.FC<FormGroupProps>;
7
+ export declare const FormGroup: React.FC<React.PropsWithChildren<FormGroupProps>>;
@@ -4,4 +4,4 @@ export interface ModalBaseProps extends React.HTMLAttributes<HTMLDivElement> {
4
4
  closeOnEscPress?: boolean;
5
5
  closeOnOverlayPress?: boolean;
6
6
  }
7
- export declare const ModalBase: React.FC<ModalBaseProps>;
7
+ export declare const ModalBase: React.FC<React.PropsWithChildren<ModalBaseProps>>;
@@ -12,4 +12,4 @@ export interface ITriggerProps {
12
12
  onTrigger: (e: React.MouseEvent | KeyboardEvent) => void;
13
13
  onClear: () => void;
14
14
  }
15
- export declare const Trigger: React.FC<ITriggerProps>;
15
+ export declare const Trigger: React.FC<React.PropsWithChildren<ITriggerProps>>;
@@ -10,4 +10,4 @@ export interface PromoBannerProps {
10
10
  onClose?: () => void;
11
11
  onLinkClick?: () => void;
12
12
  }
13
- export declare const PromoBanner: React.FC<PromoBannerProps>;
13
+ export declare const PromoBanner: React.FC<React.PropsWithChildren<PromoBannerProps>>;
@@ -11,5 +11,5 @@ export declare type TabProps = HTMLProps & {
11
11
  asBadge?: boolean;
12
12
  size?: Size;
13
13
  };
14
- export declare const Tab: React.FC<TabProps>;
14
+ export declare const Tab: React.FC<React.PropsWithChildren<TabProps>>;
15
15
  export {};
@@ -11,4 +11,4 @@ export interface TagProps extends React.HTMLAttributes<HTMLDivElement> {
11
11
  icon?: IconSource;
12
12
  avatar?: string;
13
13
  }
14
- export declare const Tag: React.FC<TagProps>;
14
+ export declare const Tag: React.FC<React.PropsWithChildren<TagProps>>;
@@ -12,5 +12,5 @@ export interface ToastProps extends React.HTMLAttributes<HTMLDivElement> {
12
12
  kind?: ToastKind;
13
13
  onClose?: () => void;
14
14
  }
15
- export declare const Toast: React.FC<ToastProps>;
15
+ export declare const Toast: React.FC<React.PropsWithChildren<ToastProps>>;
16
16
  export {};
@@ -7,5 +7,5 @@ interface IProps {
7
7
  /** Optional custom className */
8
8
  className?: string;
9
9
  }
10
- export declare const Heading: React.FC<IProps>;
10
+ export declare const Heading: React.FC<React.PropsWithChildren<IProps>>;
11
11
  export {};
@@ -11,5 +11,5 @@ interface IProps {
11
11
  underline?: boolean;
12
12
  strike?: boolean;
13
13
  }
14
- export declare const Text: React.FC<IProps>;
14
+ export declare const Text: React.FC<React.PropsWithChildren<IProps>>;
15
15
  export {};
@@ -13,4 +13,4 @@ export interface UploadBarProps {
13
13
  onCloseButtonClick?: () => void;
14
14
  onRetryButtonClick?: () => void;
15
15
  }
16
- export declare const UploadBar: React.FC<UploadBarProps>;
16
+ export declare const UploadBar: React.FC<React.PropsWithChildren<UploadBarProps>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@livechat/design-system-react-components",
3
- "version": "1.0.0-alpha.50",
3
+ "version": "1.0.0-alpha.51",
4
4
  "description": "",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -79,5 +79,5 @@
79
79
  "react-day-picker": "^7.4.10",
80
80
  "react-transition-group": "^4.4.2"
81
81
  },
82
- "gitHead": "5a459c0edf220b34f981d3c3c7b597469041f358"
82
+ "gitHead": "01d4f5db9a8c80bc7acb3117a4d3991430803ec5"
83
83
  }