@regulaforensics/vp-frontend-document-components 7.5.1993-nightly → 7.5.1999-nightly

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/README.md CHANGED
@@ -1149,24 +1149,20 @@ document-reader::part(container) {
1149
1149
 
1150
1150
  #### CSS variables
1151
1151
 
1152
- Using CSS variables, you can change the font and the main colors of the components. See the table for the details.
1152
+ Using CSS variables, you can change the font and font size. See the table for the details.
1153
1153
 
1154
1154
  | Variable | Info | Default value |
1155
1155
  |:-------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------:|
1156
1156
  | **--font-family** | The font family of all text elements. If you change the font family, make sure to adjust the font size so the message on the start screen would fit the frame. | `Noto Sans, sans-serif` |
1157
1157
  | **--font-size** | The font size for the text elements. | `16px` |
1158
- | **--main-color** | Color for the graphic elements of the component. By default, the brand Regula violet is set. | `#7E57C5` |
1159
- | **--hover-color** | Buttons hover color. | `#c994ff` |
1160
- | **--active-color** | Buttons active color. | `#bd7dff` |
1161
1158
 
1162
- The following example demonstrates the `document-reader` HTML element font and color customization via the custom CSS class:
1159
+ The following example demonstrates the `document-reader` HTML element font customization via the custom CSS class:
1163
1160
 
1164
1161
  CSS:
1165
1162
 
1166
1163
  ```css
1167
1164
  .my-custom-style {
1168
1165
  --font-family: Arial, sans-serif;
1169
- --main-color: green;
1170
1166
  }
1171
1167
  ```
1172
1168
 
package/dist/index.d.ts CHANGED
@@ -210,7 +210,7 @@ export declare interface DocumentReaderProcessParam {
210
210
  parseBarcodes?: boolean;
211
211
  splitNames?: boolean;
212
212
  imageQa?: {
213
- expectedPass?: Array<string>;
213
+ expectedPass?: Array<ImageQualityChecks>;
214
214
  dpiThreshold?: number;
215
215
  glaresCheck?: boolean;
216
216
  glaresCheckParams?: {
@@ -462,6 +462,16 @@ export declare interface ImageProcessingRequest extends BaseRequest {
462
462
  processParam: Pick<DocumentReaderProcessParam, 'returnPackageForReprocess' | 'returnUncroppedImage' | 'scenario' | 'backendProcessing'>;
463
463
  }
464
464
 
465
+ export declare enum ImageQualityChecks {
466
+ Glares = "glaresCheck",
467
+ Focus = "focusCheck",
468
+ Resolution = "dpiThreshold",
469
+ Perspective = "perspectiveCheck",
470
+ Bounds = "documentPosition",
471
+ Portrait = "portraitCheck",
472
+ Brightness = "brightnessCheck"
473
+ }
474
+
465
475
  export declare enum InternalScenarios {
466
476
  MrzAndLocate = "MrzAndLocate",
467
477
  MrzOrLocate = "MrzOrLocate",
@@ -618,6 +628,9 @@ export declare interface WidthAndHeight {
618
628
  height: number;
619
629
  }
620
630
 
631
+
632
+ export * from "@regulaforensics/document-reader-webclient";
633
+
621
634
  export { }
622
635
 
623
636