@aws-amplify/ui-react-liveness 3.1.3 → 3.1.5
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.
|
@@ -180,7 +180,7 @@ const LivenessCameraModule = (props) => {
|
|
|
180
180
|
React__default.createElement(View, { className: LivenessClassNames.VideoAnchor, style: {
|
|
181
181
|
aspectRatio: `${aspectRatio}`,
|
|
182
182
|
} },
|
|
183
|
-
React__default.createElement("video", { ref: videoRef, muted: true, autoPlay: true, playsInline: true, width: mediaWidth, height: mediaHeight, onCanPlay: handleMediaPlay, "data-testid": "video", className: LivenessClassNames.Video, "aria-label": cameraDisplayText.a11yVideoLabelText }),
|
|
183
|
+
React__default.createElement("video", { ref: videoRef, muted: true, autoPlay: true, playsInline: true, width: mediaWidth, height: mediaHeight, onCanPlay: handleMediaPlay, "data-testid": "video", className: classNames(LivenessClassNames.Video, isRecordingStopped && LivenessClassNames.FadeOut), "aria-label": cameraDisplayText.a11yVideoLabelText }),
|
|
184
184
|
React__default.createElement(Flex, { className: classNames(LivenessClassNames.OvalCanvas, shouldShowFullScreenCamera &&
|
|
185
185
|
`${LivenessClassNames.OvalCanvas}--mobile`, isRecordingStopped && LivenessClassNames.FadeOut) },
|
|
186
186
|
React__default.createElement(View, { as: "canvas", ref: canvasRef })),
|
package/dist/esm/version.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -833,7 +833,7 @@ function getFaceMatchStateInLivenessOval({ face, ovalDetails, initialFaceInterse
|
|
|
833
833
|
return { faceMatchState, faceMatchPercentage };
|
|
834
834
|
}
|
|
835
835
|
|
|
836
|
-
const VERSION = '3.1.
|
|
836
|
+
const VERSION = '3.1.5';
|
|
837
837
|
|
|
838
838
|
const BASE_USER_AGENT = `ui-react-liveness/${VERSION}`;
|
|
839
839
|
const getLivenessUserAgent = () => {
|
|
@@ -3151,7 +3151,7 @@ const LivenessCameraModule = (props) => {
|
|
|
3151
3151
|
React__default["default"].createElement(uiReact.View, { className: LivenessClassNames.VideoAnchor, style: {
|
|
3152
3152
|
aspectRatio: `${aspectRatio}`,
|
|
3153
3153
|
} },
|
|
3154
|
-
React__default["default"].createElement("video", { ref: videoRef, muted: true, autoPlay: true, playsInline: true, width: mediaWidth, height: mediaHeight, onCanPlay: handleMediaPlay, "data-testid": "video", className: LivenessClassNames.Video, "aria-label": cameraDisplayText.a11yVideoLabelText }),
|
|
3154
|
+
React__default["default"].createElement("video", { ref: videoRef, muted: true, autoPlay: true, playsInline: true, width: mediaWidth, height: mediaHeight, onCanPlay: handleMediaPlay, "data-testid": "video", className: ui.classNames(LivenessClassNames.Video, isRecordingStopped && LivenessClassNames.FadeOut), "aria-label": cameraDisplayText.a11yVideoLabelText }),
|
|
3155
3155
|
React__default["default"].createElement(uiReact.Flex, { className: ui.classNames(LivenessClassNames.OvalCanvas, shouldShowFullScreenCamera &&
|
|
3156
3156
|
`${LivenessClassNames.OvalCanvas}--mobile`, isRecordingStopped && LivenessClassNames.FadeOut) },
|
|
3157
3157
|
React__default["default"].createElement(uiReact.View, { as: "canvas", ref: canvasRef })),
|
package/dist/styles.css
CHANGED
|
@@ -1640,9 +1640,8 @@ strong.amplify-text {
|
|
|
1640
1640
|
padding-inline-start: var(--amplify-components-button-padding-inline-start);
|
|
1641
1641
|
padding-inline-end: var(--amplify-components-button-padding-inline-end);
|
|
1642
1642
|
transition: all var(--amplify-components-button-transition-duration);
|
|
1643
|
-
-
|
|
1644
|
-
|
|
1645
|
-
user-select: none;
|
|
1643
|
+
-moz-user-select: none;
|
|
1644
|
+
user-select: none;
|
|
1646
1645
|
--amplify-internal-button-disabled-color: var(
|
|
1647
1646
|
--amplify-components-button-disabled-color
|
|
1648
1647
|
);
|
|
@@ -2663,58 +2662,50 @@ strong.amplify-text {
|
|
|
2663
2662
|
background-color: var(--amplify-internal-button-disabled-background-color);
|
|
2664
2663
|
border-color: var(--amplify-internal-button-disabled-border-color);
|
|
2665
2664
|
color: var(--amplify-internal-button-disabled-color);
|
|
2666
|
-
|
|
2667
|
-
text-decoration: var(--amplify-internal-button-disabled-text-decoration);
|
|
2665
|
+
text-decoration: var(--amplify-internal-button-disabled-text-decoration);
|
|
2668
2666
|
cursor: not-allowed;
|
|
2669
2667
|
}
|
|
2670
2668
|
.amplify-button--disabled:hover {
|
|
2671
2669
|
background-color: var(--amplify-internal-button-disabled-background-color);
|
|
2672
2670
|
border-color: var(--amplify-internal-button-disabled-border-color);
|
|
2673
2671
|
color: var(--amplify-internal-button-disabled-color);
|
|
2674
|
-
|
|
2675
|
-
text-decoration: var(--amplify-internal-button-disabled-text-decoration);
|
|
2672
|
+
text-decoration: var(--amplify-internal-button-disabled-text-decoration);
|
|
2676
2673
|
}
|
|
2677
2674
|
.amplify-button--disabled :focus {
|
|
2678
2675
|
background-color: var(--amplify-internal-button-disabled-background-color);
|
|
2679
2676
|
border-color: var(--amplify-internal-button-disabled-border-color);
|
|
2680
2677
|
color: var(--amplify-internal-button-disabled-color);
|
|
2681
|
-
|
|
2682
|
-
text-decoration: var(--amplify-internal-button-disabled-text-decoration);
|
|
2678
|
+
text-decoration: var(--amplify-internal-button-disabled-text-decoration);
|
|
2683
2679
|
}
|
|
2684
2680
|
.amplify-button--disabled:active {
|
|
2685
2681
|
background-color: var(--amplify-internal-button-disabled-background-color);
|
|
2686
2682
|
border-color: var(--amplify-internal-button-disabled-border-color);
|
|
2687
2683
|
color: var(--amplify-internal-button-disabled-color);
|
|
2688
|
-
|
|
2689
|
-
text-decoration: var(--amplify-internal-button-disabled-text-decoration);
|
|
2684
|
+
text-decoration: var(--amplify-internal-button-disabled-text-decoration);
|
|
2690
2685
|
}
|
|
2691
2686
|
.amplify-button--loading {
|
|
2692
2687
|
background-color: var(--amplify-internal-button-loading-background-color);
|
|
2693
2688
|
border-color: var(--amplify-internal-button-loading-border-color);
|
|
2694
2689
|
color: var(--amplify-components-button-loading-color);
|
|
2695
|
-
|
|
2696
|
-
text-decoration: var(--amplify-internal-button-loading-text-decoration);
|
|
2690
|
+
text-decoration: var(--amplify-internal-button-loading-text-decoration);
|
|
2697
2691
|
}
|
|
2698
2692
|
.amplify-button--loading:hover {
|
|
2699
2693
|
background-color: var(--amplify-internal-button-loading-background-color);
|
|
2700
2694
|
border-color: var(--amplify-internal-button-loading-border-color);
|
|
2701
2695
|
color: var(--amplify-components-button-loading-color);
|
|
2702
|
-
|
|
2703
|
-
text-decoration: var(--amplify-internal-button-loading-text-decoration);
|
|
2696
|
+
text-decoration: var(--amplify-internal-button-loading-text-decoration);
|
|
2704
2697
|
}
|
|
2705
2698
|
.amplify-button--loading:focus {
|
|
2706
2699
|
background-color: var(--amplify-internal-button-loading-background-color);
|
|
2707
2700
|
border-color: var(--amplify-internal-button-loading-border-color);
|
|
2708
2701
|
color: var(--amplify-components-button-loading-color);
|
|
2709
|
-
|
|
2710
|
-
text-decoration: var(--amplify-internal-button-loading-text-decoration);
|
|
2702
|
+
text-decoration: var(--amplify-internal-button-loading-text-decoration);
|
|
2711
2703
|
}
|
|
2712
2704
|
.amplify-button--loading:active {
|
|
2713
2705
|
background-color: var(--amplify-internal-button-loading-background-color);
|
|
2714
2706
|
border-color: var(--amplify-internal-button-loading-border-color);
|
|
2715
2707
|
color: var(--amplify-components-button-loading-color);
|
|
2716
|
-
|
|
2717
|
-
text-decoration: var(--amplify-internal-button-loading-text-decoration);
|
|
2708
|
+
text-decoration: var(--amplify-internal-button-loading-text-decoration);
|
|
2718
2709
|
}
|
|
2719
2710
|
.amplify-button__loader-wrapper {
|
|
2720
2711
|
align-items: var(--amplify-components-button-loader-wrapper-align-items);
|
|
@@ -2862,9 +2853,8 @@ strong.amplify-text {
|
|
|
2862
2853
|
outline-style: var(--amplify-components-fieldcontrol-outline-style);
|
|
2863
2854
|
outline-width: var(--amplify-components-fieldcontrol-outline-width);
|
|
2864
2855
|
outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
|
|
2865
|
-
-
|
|
2866
|
-
|
|
2867
|
-
user-select: text;
|
|
2856
|
+
-moz-user-select: text;
|
|
2857
|
+
user-select: text;
|
|
2868
2858
|
display: inline-block;
|
|
2869
2859
|
--amplify-components-fieldcontrol-color: var(
|
|
2870
2860
|
--amplify-components-input-color
|
|
@@ -2947,9 +2937,8 @@ strong.amplify-text {
|
|
|
2947
2937
|
outline-style: var(--amplify-components-fieldcontrol-outline-style);
|
|
2948
2938
|
outline-width: var(--amplify-components-fieldcontrol-outline-width);
|
|
2949
2939
|
outline-offset: var(--amplify-components-fieldcontrol-outline-offset);
|
|
2950
|
-
-
|
|
2951
|
-
|
|
2952
|
-
user-select: text;
|
|
2940
|
+
-moz-user-select: text;
|
|
2941
|
+
user-select: text;
|
|
2953
2942
|
white-space: pre-wrap;
|
|
2954
2943
|
}
|
|
2955
2944
|
.amplify-textarea:focus {
|
|
@@ -3013,29 +3002,24 @@ strong.amplify-text {
|
|
|
3013
3002
|
|
|
3014
3003
|
.amplify-link {
|
|
3015
3004
|
color: var(--amplify-components-link-color);
|
|
3016
|
-
|
|
3017
|
-
text-decoration: var(--amplify-components-link-text-decoration);
|
|
3005
|
+
text-decoration: var(--amplify-components-link-text-decoration);
|
|
3018
3006
|
cursor: pointer;
|
|
3019
3007
|
}
|
|
3020
3008
|
.amplify-link:visited {
|
|
3021
3009
|
color: var(--amplify-components-link-visited-color);
|
|
3022
|
-
|
|
3023
|
-
text-decoration: var(--amplify-components-link-visited-text-decoration);
|
|
3010
|
+
text-decoration: var(--amplify-components-link-visited-text-decoration);
|
|
3024
3011
|
}
|
|
3025
3012
|
.amplify-link:active {
|
|
3026
3013
|
color: var(--amplify-components-link-active-color);
|
|
3027
|
-
|
|
3028
|
-
text-decoration: var(--amplify-components-link-active-text-decoration);
|
|
3014
|
+
text-decoration: var(--amplify-components-link-active-text-decoration);
|
|
3029
3015
|
}
|
|
3030
3016
|
.amplify-link:focus {
|
|
3031
3017
|
color: var(--amplify-components-link-focus-color);
|
|
3032
|
-
|
|
3033
|
-
text-decoration: var(--amplify-components-link-focus-text-decoration);
|
|
3018
|
+
text-decoration: var(--amplify-components-link-focus-text-decoration);
|
|
3034
3019
|
}
|
|
3035
3020
|
.amplify-link:hover {
|
|
3036
3021
|
color: var(--amplify-components-link-hover-color);
|
|
3037
|
-
|
|
3038
|
-
text-decoration: var(--amplify-components-link-hover-text-decoration);
|
|
3022
|
+
text-decoration: var(--amplify-components-link-hover-text-decoration);
|
|
3039
3023
|
}
|
|
3040
3024
|
|
|
3041
3025
|
.amplify-loader {
|
|
@@ -3466,16 +3450,14 @@ strong.amplify-text {
|
|
|
3466
3450
|
font-weight: var(--amplify-components-breadcrumbs-link-font-weight);
|
|
3467
3451
|
padding-inline: var(--amplify-components-breadcrumbs-link-padding-inline);
|
|
3468
3452
|
padding-block: var(--amplify-components-breadcrumbs-link-padding-block);
|
|
3469
|
-
|
|
3470
|
-
text-decoration: var(--amplify-components-breadcrumbs-link-text-decoration);
|
|
3453
|
+
text-decoration: var(--amplify-components-breadcrumbs-link-text-decoration);
|
|
3471
3454
|
}
|
|
3472
3455
|
|
|
3473
3456
|
.amplify-breadcrumbs__link--current {
|
|
3474
3457
|
color: var(--amplify-components-breadcrumbs-link-current-color);
|
|
3475
3458
|
font-size: var(--amplify-components-breadcrumbs-link-current-font-size);
|
|
3476
3459
|
font-weight: var(--amplify-components-breadcrumbs-link-current-font-weight);
|
|
3477
|
-
|
|
3478
|
-
text-decoration: var(--amplify-components-breadcrumbs-link-current-text-decoration);
|
|
3460
|
+
text-decoration: var(--amplify-components-breadcrumbs-link-current-text-decoration);
|
|
3479
3461
|
}
|
|
3480
3462
|
|
|
3481
3463
|
.amplify-card {
|
|
@@ -5025,9 +5007,8 @@ html[dir=rtl] .amplify-field-group__inner-start {
|
|
|
5025
5007
|
padding-block: var(--amplify-components-sliderfield-padding-block);
|
|
5026
5008
|
position: relative;
|
|
5027
5009
|
touch-action: none;
|
|
5028
|
-
-
|
|
5029
|
-
|
|
5030
|
-
user-select: none;
|
|
5010
|
+
-moz-user-select: none;
|
|
5011
|
+
user-select: none;
|
|
5031
5012
|
--amplify-internal-sliderfield-root-height: var(
|
|
5032
5013
|
--amplify-components-sliderfield-thumb-height
|
|
5033
5014
|
);
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "3.1.
|
|
1
|
+
export declare const VERSION = "3.1.5";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-amplify/ui-react-liveness",
|
|
3
|
-
"version": "3.1.
|
|
3
|
+
"version": "3.1.5",
|
|
4
4
|
"main": "dist/index.js",
|
|
5
5
|
"module": "dist/esm/index.mjs",
|
|
6
6
|
"exports": {
|
|
@@ -47,10 +47,10 @@
|
|
|
47
47
|
"react-dom": "^16.14.0 || ^17.0 || ^18.0"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@aws-amplify/ui": "6.0
|
|
51
|
-
"@aws-amplify/ui-react": "6.1
|
|
50
|
+
"@aws-amplify/ui": "6.2.0",
|
|
51
|
+
"@aws-amplify/ui-react": "6.2.1",
|
|
52
52
|
"@aws-sdk/client-rekognitionstreaming": "3.621.0",
|
|
53
|
-
"@aws-sdk/util-format-url": "
|
|
53
|
+
"@aws-sdk/util-format-url": "3.609.0",
|
|
54
54
|
"@smithy/eventstream-serde-browser": "^2.0.4",
|
|
55
55
|
"@smithy/fetch-http-handler": "^2.1.3",
|
|
56
56
|
"@smithy/protocol-http": "^3.0.3",
|