@regulaforensics/ui-components 0.0.9 → 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
 
@@ -50,8 +53,8 @@ declare interface IClosedEyeProps extends HTMLAttributes<HTMLSpanElement> {
50
53
  }
51
54
 
52
55
  export declare interface ICollapseProps extends HTMLAttributes<HTMLDivElement> {
53
- name: string | number;
54
- value?: string | number;
56
+ name: string | number | JSX_3.Element;
57
+ value?: string | number | JSX_3.Element;
55
58
  status?: eCheckResult;
56
59
  children: ReactNode;
57
60
  shift?: number;
@@ -60,7 +63,7 @@ export declare interface ICollapseProps extends HTMLAttributes<HTMLDivElement> {
60
63
 
61
64
  export declare const Icon: IIcon;
62
65
 
63
- declare const Icon_2: FC<HTMLAttributes<HTMLSpanElement>>;
66
+ declare const Icon_2: ForwardRefExoticComponent<HTMLAttributes<HTMLSpanElement> & RefAttributes<HTMLSpanElement>>;
64
67
 
65
68
  declare interface IContainer extends FC {
66
69
  Icon: typeof Icon_2;
@@ -138,7 +141,7 @@ declare interface IMenuProps extends HTMLAttributes<HTMLSpanElement> {
138
141
  fillColor?: string;
139
142
  }
140
143
 
141
- export declare const Info: () => JSX_2.Element;
144
+ export declare const Info: () => JSX_2.Element | null;
142
145
 
143
146
  declare interface INotVerifiedProps extends HTMLAttributes<HTMLSpanElement> {
144
147
  size?: number;
@@ -217,11 +220,11 @@ declare const NotVerified: FC<INotVerifiedProps>;
217
220
 
218
221
  export declare const Popover: FC<IPopoverProps>;
219
222
 
220
- declare const Question: FC<IQuestionProps>;
223
+ declare const Question: ForwardRefExoticComponent<IQuestionProps & RefAttributes<HTMLSpanElement>>;
221
224
 
222
225
  declare const Refresh: FC<IRefreshProps>;
223
226
 
224
- export declare const RequestViewer: () => JSX_2.Element | null;
227
+ export declare const RequestViewer: () => JSX_2.Element;
225
228
 
226
229
  export declare const ResponseViewer: () => JSX_2.Element | null;
227
230