@regulaforensics/ui-components 0.0.10 → 0.0.12

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/index.d.ts CHANGED
@@ -8,6 +8,8 @@ import { ProcessResponse } from '@regulaforensics/document-reader-typings';
8
8
  import { ReactNode } from 'react';
9
9
  import { RefAttributes } from 'react';
10
10
 
11
+ export declare const About: FC<IAboutProps>;
12
+
11
13
  declare const Arrow: FC<IArrowProps>;
12
14
 
13
15
  declare const Block: FC<IBlockProps>;
@@ -30,15 +32,21 @@ declare const Eye: FC<IEyeProps>;
30
32
 
31
33
  export declare const Graphics: () => JSX_2.Element;
32
34
 
35
+ declare interface IAboutProps {
36
+ additionalFields?: Array<{
37
+ name: string;
38
+ value: string | number;
39
+ }>;
40
+ }
41
+
33
42
  declare interface IArrowProps extends HTMLAttributes<HTMLSpanElement> {
34
43
  size?: number;
35
44
  fillColor?: string;
36
45
  }
37
46
 
38
- declare interface IBlockProps {
47
+ declare interface IBlockProps extends HTMLAttributes<HTMLDivElement> {
39
48
  width?: number | string;
40
49
  height?: number | string;
41
- isRound?: boolean;
42
50
  borderRadius?: number;
43
51
  }
44
52
 
@@ -166,6 +174,13 @@ export declare interface ISkeleton extends FC {
166
174
  Block: typeof Block;
167
175
  }
168
176
 
177
+ declare interface IStatusProps {
178
+ additionalFields?: Array<{
179
+ name: string;
180
+ value: string | number;
181
+ }>;
182
+ }
183
+
169
184
  export declare interface ITableProps extends HTMLAttributes<HTMLTableElement> {
170
185
  dataSource: Array<Record<string, ReactNode>>;
171
186
  columns: Array<{
@@ -180,6 +195,7 @@ export declare interface ITabsProps extends HTMLAttributes<HTMLDivElement> {
180
195
  children: ReactNode;
181
196
  }>;
182
197
  type?: 'line' | 'card';
198
+ onTabChange?: (tabIndex: number) => void;
183
199
  }
184
200
 
185
201
  export declare interface ITextProps extends HTMLAttributes<HTMLSpanElement> {
@@ -218,6 +234,10 @@ declare const Menu: FC<IMenuProps>;
218
234
 
219
235
  declare const NotVerified: FC<INotVerifiedProps>;
220
236
 
237
+ export declare const Overall: () => JSX_2.Element | null;
238
+
239
+ export declare const PersonInfo: () => JSX_2.Element | null;
240
+
221
241
  export declare const Popover: FC<IPopoverProps>;
222
242
 
223
243
  declare const Question: ForwardRefExoticComponent<IQuestionProps & RefAttributes<HTMLSpanElement>>;
@@ -234,7 +254,9 @@ declare type Size = '20x135' | '18x135' | '16x100' | '14x135' | '12x160' | '12x1
234
254
 
235
255
  export declare const Skeleton: ISkeleton;
236
256
 
237
- export declare const Status: FC;
257
+ export declare const Status: FC<IStatusProps>;
258
+
259
+ export declare const StatusLoader: () => JSX_2.Element;
238
260
 
239
261
  export declare const Table: FC<ITableProps>;
240
262
 
@@ -247,6 +269,8 @@ export declare const Title: FC<IH1Props>;
247
269
 
248
270
  declare const Unknown: FC<IUnknownProps>;
249
271
 
272
+ export declare const Verifications: () => JSX_2.Element | null;
273
+
250
274
  declare const Verified: FC<IVerifiedProps>;
251
275
 
252
276
  declare const Warning: FC<IWarningProps>;