idmission-web-sdk 2.3.26 → 2.3.28
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/components/id_capture/IdCaptureGuideOverlay.d.ts.map +1 -1
- package/dist/sdk2.cjs.development.js +3 -3
- package/dist/sdk2.cjs.development.js.map +1 -1
- package/dist/sdk2.cjs.production.js +1 -1
- package/dist/sdk2.cjs.production.js.map +1 -1
- package/dist/sdk2.esm.js +3 -3
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +3 -3
- package/dist/sdk2.umd.development.js.map +1 -1
- package/dist/sdk2.umd.production.js +1 -1
- package/dist/sdk2.umd.production.js.map +1 -1
- package/dist/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -211,7 +211,7 @@
|
|
|
211
211
|
return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
-
var webSdkVersion = '2.3.
|
|
214
|
+
var webSdkVersion = '2.3.28';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -17598,7 +17598,7 @@
|
|
|
17598
17598
|
var imageWidth = state.guideRectWidth - paddingForMathMax * 2;
|
|
17599
17599
|
var imageHeight = state.guideRectHeight - paddingForMathMax * 2;
|
|
17600
17600
|
var centerRegionMinWidth = imageAspectRatio >= wrapperAspectRatio ? wrapperWidth - paddingAndBorderPx : undefined;
|
|
17601
|
-
var cardAspectRatio =
|
|
17601
|
+
var cardAspectRatio = imageAspectRatio > 1 ? '16/10' : '10/16';
|
|
17602
17602
|
var onImageLoaded = React.useCallback(function (e) {
|
|
17603
17603
|
var _a, _b;
|
|
17604
17604
|
guideOrientationOnImageLoaded(e);
|
|
@@ -17714,7 +17714,7 @@
|
|
|
17714
17714
|
return props.$padding ? "padding: ".concat(props.$padding, ";") : '';
|
|
17715
17715
|
});
|
|
17716
17716
|
var GuideText = styled.span(templateObject_8$2 || (templateObject_8$2 = __makeTemplateObject(["\n align-content: center;\n margin-top: 12px;\n margin-bottom: 12px;\n"], ["\n align-content: center;\n margin-top: 12px;\n margin-bottom: 12px;\n"])));
|
|
17717
|
-
var GuideCenterInner = styled.div(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n position: relative;\n margin: auto;\n"], ["\n position: relative;\n margin: auto;\n"])));
|
|
17717
|
+
var GuideCenterInner = styled.div(templateObject_9$2 || (templateObject_9$2 = __makeTemplateObject(["\n position: relative;\n margin: auto;\n display: flex;\n max-width: 100%;\n max-height: 100%;\n"], ["\n position: relative;\n margin: auto;\n display: flex;\n max-width: 100%;\n max-height: 100%;\n"])));
|
|
17718
17718
|
var templateObject_1$y, templateObject_2$s, templateObject_3$j, templateObject_4$d, templateObject_5$9, templateObject_6$6, templateObject_7$4, templateObject_8$2, templateObject_9$2;
|
|
17719
17719
|
|
|
17720
17720
|
var IdCaptureFitGuide = function IdCaptureFitGuide(_a) {
|