@regulaforensics/ui-components 0.0.18 → 0.0.19

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
@@ -3,7 +3,6 @@ import { FC } from 'react';
3
3
  import { ForwardRefExoticComponent } from 'react';
4
4
  import { HTMLAttributes } from 'react';
5
5
  import { JSX as JSX_2 } from 'react/jsx-runtime';
6
- import { JSX as JSX_3 } from 'react';
7
6
  import { ProcessResponse } from '@regulaforensics/document-reader-typings';
8
7
  import { ReactNode } from 'react';
9
8
  import { RefAttributes } from 'react';
@@ -38,6 +37,13 @@ export declare const DocReaderContainer: FC<IDocReaderContainerProps>;
38
37
 
39
38
  declare const Download: FC<IDownloadProps>;
40
39
 
40
+ export declare enum eInfoTabID {
41
+ TEXT_DATA = "TEXT_DATA",
42
+ AUTHENTICITY = "AUTHENTICITY",
43
+ IMAGE_QUALITY = "IMAGE_QUALITY",
44
+ IDENTIFICATION = "IDENTIFICATION"
45
+ }
46
+
41
47
  declare const Eye: FC<IEyeProps>;
42
48
 
43
49
  declare const getAuthenticity: (input: any) => string;
@@ -123,7 +129,7 @@ declare interface IClosedEyeProps extends HTMLAttributes<HTMLSpanElement> {
123
129
  export declare interface ICollapseProps extends HTMLAttributes<HTMLDivElement> {
124
130
  name: ReactNode;
125
131
  collapse?: boolean;
126
- value?: string | number | JSX_3.Element;
132
+ value?: string | number | ReactNode;
127
133
  status?: eCheckResult;
128
134
  open?: boolean;
129
135
  children: ReactNode;
@@ -347,11 +353,13 @@ export declare interface ITableProps extends HTMLAttributes<HTMLTableElement> {
347
353
 
348
354
  export declare interface ITabsProps extends HTMLAttributes<HTMLDivElement> {
349
355
  items: Array<{
356
+ id: string | number;
350
357
  label: string;
351
358
  children: ReactNode;
352
359
  }>;
360
+ initialTab?: string | number;
353
361
  type?: 'line' | 'card';
354
- onTabChange?: (tabIndex: number) => void;
362
+ onTabChange?: (tabIndex: number | string) => void;
355
363
  }
356
364
 
357
365
  export declare interface ITextProps extends HTMLAttributes<HTMLSpanElement> {