@regulaforensics/ui-components 0.0.8 → 0.0.10

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
@@ -1,9 +1,12 @@
1
1
  import { eCheckResult } from '@regulaforensics/document-reader-typings';
2
2
  import { FC } from 'react';
3
+ import { ForwardRefExoticComponent } from 'react';
3
4
  import { HTMLAttributes } from 'react';
4
5
  import { JSX as JSX_2 } from 'react/jsx-runtime';
6
+ import { JSX as JSX_3 } from 'react';
5
7
  import { ProcessResponse } from '@regulaforensics/document-reader-typings';
6
8
  import { ReactNode } from 'react';
9
+ import { RefAttributes } from 'react';
7
10
 
8
11
  declare const Arrow: FC<IArrowProps>;
9
12
 
@@ -15,10 +18,12 @@ declare const ClosedEye: FC<IClosedEyeProps>;
15
18
 
16
19
  export declare const Collapse: FC<ICollapseProps>;
17
20
 
18
- export declare const Container: FC<IContainerProps>;
21
+ export declare const Container: IContainer;
19
22
 
20
23
  declare const Copy: FC<ICopyProps>;
21
24
 
25
+ export declare const DocReaderContainer: FC<IDocReaderContainerProps>;
26
+
22
27
  declare const Download: FC<IDownloadProps>;
23
28
 
24
29
  declare const Eye: FC<IEyeProps>;
@@ -48,9 +53,9 @@ declare interface IClosedEyeProps extends HTMLAttributes<HTMLSpanElement> {
48
53
  }
49
54
 
50
55
  export declare interface ICollapseProps extends HTMLAttributes<HTMLDivElement> {
51
- name: string;
52
- value?: string;
53
- status: eCheckResult;
56
+ name: string | number | JSX_3.Element;
57
+ value?: string | number | JSX_3.Element;
58
+ status?: eCheckResult;
54
59
  children: ReactNode;
55
60
  shift?: number;
56
61
  nested?: boolean;
@@ -58,9 +63,10 @@ export declare interface ICollapseProps extends HTMLAttributes<HTMLDivElement> {
58
63
 
59
64
  export declare const Icon: IIcon;
60
65
 
61
- declare interface IContainerProps extends HTMLAttributes<HTMLElement> {
62
- response: ProcessResponse;
63
- request?: any;
66
+ declare const Icon_2: ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & RefAttributes<HTMLSpanElement>>;
67
+
68
+ declare interface IContainer extends FC {
69
+ Icon: typeof Icon_2;
64
70
  }
65
71
 
66
72
  declare interface ICopyProps extends HTMLAttributes<HTMLSpanElement> {
@@ -68,6 +74,11 @@ declare interface ICopyProps extends HTMLAttributes<HTMLSpanElement> {
68
74
  fillColor?: string;
69
75
  }
70
76
 
77
+ declare interface IDocReaderContainerProps extends HTMLAttributes<HTMLElement> {
78
+ response: ProcessResponse;
79
+ request?: any;
80
+ }
81
+
71
82
  declare interface IDownloadProps extends HTMLAttributes<HTMLSpanElement> {
72
83
  size?: number;
73
84
  fillColor?: string;
@@ -130,7 +141,7 @@ declare interface IMenuProps extends HTMLAttributes<HTMLSpanElement> {
130
141
  fillColor?: string;
131
142
  }
132
143
 
133
- export declare const Info: () => JSX_2.Element;
144
+ export declare const Info: () => JSX_2.Element | null;
134
145
 
135
146
  declare interface INotVerifiedProps extends HTMLAttributes<HTMLSpanElement> {
136
147
  size?: number;
@@ -209,11 +220,11 @@ declare const NotVerified: FC<INotVerifiedProps>;
209
220
 
210
221
  export declare const Popover: FC<IPopoverProps>;
211
222
 
212
- declare const Question: FC<IQuestionProps>;
223
+ declare const Question: ForwardRefExoticComponent<IQuestionProps & RefAttributes<HTMLSpanElement>>;
213
224
 
214
225
  declare const Refresh: FC<IRefreshProps>;
215
226
 
216
- export declare const RequestViewer: () => JSX_2.Element | null;
227
+ export declare const RequestViewer: () => JSX_2.Element;
217
228
 
218
229
  export declare const ResponseViewer: () => JSX_2.Element | null;
219
230