@regulaforensics/vp-frontend-face-components 8.1.1907-nightly → 8.1.1909-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
@@ -139,6 +139,7 @@ component.settings = {
139
139
  env: 'Production',
140
140
  retryCount: 5,
141
141
  recordingProcess: 1,
142
+ captureButton: false,
142
143
  customization: {
143
144
  fontFamily: 'Noto Sans, sans-serif',
144
145
  fontSize: '16px',
@@ -213,9 +214,9 @@ Here are all the available settings:
213
214
  | `timeoutInterval` | Timeout for the Capture screen. | `number` | `undefined` | seconds | `face-capture` |
214
215
  | `livenessType` | You can choose a scenario for the liveness assessment. `0` - active liveness, full process that requires head rotation; `1` - passive liveness, a person is asked to only take a selfie, no head rotation required. | `number` | `0` | `0`, `1` | `face-liveness` |
215
216
  | `detectOcclusion` | Whether to disable face occlusion hint. | `boolean` | `true` | `true`, `false` | `face-capture` |
216
- | `tenant` | A label used to group transactions by specific customers, applications, or other criteria. | `string` | `undefined` | tenant | `face-liveness` |
217
- | `env` | A label used to differentiate transactions by development stages. | `string` | `undefined` | env | `face-liveness` |
218
- | `captureButton` | Whether to enable user-triggered capture. Shows the **Capture** button, desktop layout height increases accordingly. When enabled, the shot is taken only on user action. | `boolean` | `false` | `true`, `false` | `face-capture` |
217
+ | `tenant` | A label used to group transactions by specific customers, applications, or other criteria. | `string` | `undefined` | tenant | `face-liveness` |
218
+ | `env` | A label used to differentiate transactions by development stages. | `string` | `undefined` | env | `face-liveness` |
219
+ | `captureButton` | Whether to enable user-triggered capture. Shows the **Capture** button, desktop layout height increases accordingly. When enabled, the shot is taken only on user action. | `boolean` | `false` | `true`, `false` | `face-liveness`, `face-capture` |
219
220
 
220
221
 
221
222
  ## Customization
@@ -373,6 +374,10 @@ face-liveness::part(retry-screen-subtitle-text) {
373
374
  face-capture::part(camera-screen-capture-button-icon) {
374
375
  color: blue;
375
376
  }
377
+ /** face-liveness: change active Capture button icon color */
378
+ face-liveness::part(camera-screen-capture-button-icon) {
379
+ color: blue;
380
+ }
376
381
 
377
382
  ```
378
383
 
package/dist/index.d.ts CHANGED
@@ -145,7 +145,7 @@ export declare const FaceLivenessResultStatus: {
145
145
 
146
146
  export declare type FaceLivenessResultStatus = (typeof FaceLivenessResultStatus)[keyof typeof FaceLivenessResultStatus];
147
147
 
148
- export declare interface FaceLivenessSettings extends Omit<FaceDetectionSettings, 'holdStillDuration' | 'timeoutInterval' | 'showFaceAnimation' | 'captureButton'> {
148
+ export declare interface FaceLivenessSettings extends Omit<FaceDetectionSettings, 'holdStillDuration' | 'timeoutInterval' | 'showFaceAnimation'> {
149
149
  url?: string;
150
150
  deviceOrientation?: boolean;
151
151
  videoRecording?: boolean;