ui-beyable 1.0.38 → 1.0.39-beta.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.
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { IEmptyState } from './types';
3
- declare function EmptyState({ title, text, primaryAction, secondaryAction, imageUrl, icon, verticalSize, verticalAlign, textSize, titleIsBold, hasSpinner, hasBorder }: IEmptyState): JSX.Element;
3
+ declare function EmptyState({ title, text, primaryAction, secondaryAction, imageUrl, imageWidth, icon, footer, card, cardTextSize, cardWidth, verticalSize, verticalAlign, textSize, titleIsBold, hasSpinner, hasBorder, width, }: IEmptyState): JSX.Element;
4
4
  export { EmptyState };
@@ -1,16 +1,22 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  interface IEmptyState {
3
3
  title?: React.ReactNode | string;
4
4
  text?: React.ReactNode | string;
5
5
  primaryAction?: React.ReactNode;
6
6
  secondaryAction?: React.ReactNode;
7
7
  imageUrl?: string;
8
+ imageWidth?: number;
8
9
  icon?: string;
10
+ footer?: React.ReactNode | string;
11
+ card?: React.ReactNode | string;
12
+ cardTextSize?: 'm' | 'l';
13
+ cardWidth?: 's' | 'm';
9
14
  textSize?: 's' | 'm' | 'l' | 'xl';
10
15
  verticalSize?: 'xs' | 's' | 'm' | 'l' | 'xl';
11
16
  verticalAlign?: boolean;
12
17
  titleIsBold?: boolean;
13
18
  hasSpinner?: boolean;
14
19
  hasBorder?: boolean;
20
+ width?: 'full' | 's' | 'm' | 'l' | 'xl';
15
21
  }
16
22
  export { IEmptyState };
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ interface IText {
3
+ children?: React.ReactNode;
4
+ }
5
+ declare function Text({ children }: IText): JSX.Element;
6
+ export { Text };