@regulaforensics/ui-components 1.5.0 → 7.3.18
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 +15 -1
- package/dist/index.js +33999 -25751
- package/dist/style.css +1 -1
- package/package.json +11 -12
package/dist/index.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ declare const Copy: FC<ICopyProps>;
|
|
|
34
34
|
|
|
35
35
|
declare const Cross: FC<ICrossProps>;
|
|
36
36
|
|
|
37
|
+
export declare const DefaultImage: FC<IDefaultImageProps>;
|
|
38
|
+
|
|
37
39
|
export declare const DocReaderContainer: FC<IDocReaderContainerProps>;
|
|
38
40
|
|
|
39
41
|
declare const Download: FC<IDownloadProps>;
|
|
@@ -171,6 +173,10 @@ declare interface ICrossProps extends HTMLAttributes<HTMLSpanElement> {
|
|
|
171
173
|
fillColor?: string;
|
|
172
174
|
}
|
|
173
175
|
|
|
176
|
+
declare interface IDefaultImageProps extends HTMLAttributes<HTMLDivElement> {
|
|
177
|
+
type?: ImageType;
|
|
178
|
+
}
|
|
179
|
+
|
|
174
180
|
declare interface IDocReaderContainerProps extends HTMLAttributes<HTMLElement> {
|
|
175
181
|
response: unknown;
|
|
176
182
|
request?: any;
|
|
@@ -220,6 +226,7 @@ declare interface IIcon extends FC {
|
|
|
220
226
|
declare interface IImageProps extends HTMLAttributes<HTMLDivElement> {
|
|
221
227
|
src: string;
|
|
222
228
|
alt: string;
|
|
229
|
+
draggable?: boolean;
|
|
223
230
|
download?: boolean;
|
|
224
231
|
magnifier?: boolean;
|
|
225
232
|
viewer?: boolean;
|
|
@@ -256,6 +263,8 @@ export { Image_2 as Image }
|
|
|
256
263
|
|
|
257
264
|
declare const ImageQualityCheckTypeLabel: FC<iImageQualityCheckTypeLabelProps>;
|
|
258
265
|
|
|
266
|
+
declare type ImageType = 'photo' | 'passport' | 'id-card';
|
|
267
|
+
|
|
259
268
|
declare interface IMagnifierProps extends HTMLAttributes<HTMLSpanElement> {
|
|
260
269
|
size?: number;
|
|
261
270
|
fillColor?: string;
|
|
@@ -318,6 +327,11 @@ declare interface iOpticalStatusFieldProps {
|
|
|
318
327
|
children: ReactNode;
|
|
319
328
|
}
|
|
320
329
|
|
|
330
|
+
declare interface IPersonInfoProps {
|
|
331
|
+
showPortrait?: boolean;
|
|
332
|
+
className?: string;
|
|
333
|
+
}
|
|
334
|
+
|
|
321
335
|
export declare interface IPopoverProps extends HTMLAttributes<HTMLDivElement> {
|
|
322
336
|
modal: ReactNode;
|
|
323
337
|
}
|
|
@@ -447,7 +461,7 @@ declare const OpticalStatusField: FC<iOpticalStatusFieldProps>;
|
|
|
447
461
|
|
|
448
462
|
export declare const Overall: () => JSX_2.Element | null;
|
|
449
463
|
|
|
450
|
-
export declare const PersonInfo:
|
|
464
|
+
export declare const PersonInfo: FC<IPersonInfoProps>;
|
|
451
465
|
|
|
452
466
|
export declare const Popover: FC<IPopoverProps>;
|
|
453
467
|
|