idmission-web-sdk 0.0.12 → 0.0.13

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.
@@ -228,7 +228,7 @@ var templateObject_1$4;
228
228
  var OverlayContainer = styled__default['default'](PageContainer)(templateObject_1$3 || (templateObject_1$3 = tslib.__makeTemplateObject(["\n background: white;\n z-index: 10000;\n"], ["\n background: white;\n z-index: 10000;\n"])));
229
229
  var OverlayInner = styled__default['default'].div(templateObject_2 || (templateObject_2 = tslib.__makeTemplateObject(["\n text-align: center;\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n padding: 25px;\n max-height: var(--app-height);\n height: 100%;\n box-sizing: border-box;\n"], ["\n text-align: center;\n display: flex;\n flex-direction: column;\n flex-wrap: nowrap;\n padding: 25px;\n max-height: var(--app-height);\n height: 100%;\n box-sizing: border-box;\n"])));
230
230
  var OverlayImageWrapper = styled__default['default'].div(templateObject_3 || (templateObject_3 = tslib.__makeTemplateObject(["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n max-width: var(--app-width);\n max-height: var(--app-height);\n overflow: hidden;\n\n & > img {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"], ["\n position: relative;\n display: flex;\n flex-grow: 1;\n padding-bottom: 25px;\n max-width: var(--app-width);\n max-height: var(--app-height);\n overflow: hidden;\n\n & > img {\n margin: 0 auto;\n width: max-content;\n max-width: 100%;\n max-height: 100%;\n aspect-ratio: initial;\n object-fit: contain;\n display: block;\n }\n"])));
231
- var OverlayImageMultiContainer = styled__default['default'].div(templateObject_4 || (templateObject_4 = tslib.__makeTemplateObject(["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100vh - 320px);\n\n & > img {\n max-width: 100%;\n max-height: 100%;\n }\n }\n"], ["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100vh - 320px);\n\n & > img {\n max-width: 100%;\n max-height: 100%;\n }\n }\n"])));
231
+ var OverlayImageMultiContainer = styled__default['default'].div(templateObject_4 || (templateObject_4 = tslib.__makeTemplateObject(["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100vh - 320px);\n\n & > img {\n width: 100%;\n max-height: 100%;\n height: auto;\n }\n }\n"], ["\n display: flex;\n margin: auto;\n\n & > div {\n max-height: calc(100vh - 320px);\n\n & > img {\n width: 100%;\n max-height: 100%;\n height: auto;\n }\n }\n"])));
232
232
  var templateObject_1$3, templateObject_2, templateObject_3, templateObject_4;
233
233
 
234
234
  var GeolocationAccessDeniedOverlay = function GeolocationAccessDeniedOverlay(_a) {
@@ -2051,13 +2051,19 @@ var IdCaptureSuccess = function IdCaptureSuccess(_a) {
2051
2051
  }
2052
2052
  }, idCardFront && /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("h3", null, idCardFrontText), /*#__PURE__*/React__default['default'].createElement("img", {
2053
2053
  src: idCardFront.imageData,
2054
- alt: idCardFrontText
2054
+ alt: idCardFrontText,
2055
+ width: idCardFront.width,
2056
+ height: idCardFront.height
2055
2057
  })), idCardBack && /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("h3", null, idCardBackText), /*#__PURE__*/React__default['default'].createElement("img", {
2056
2058
  src: idCardBack.imageData,
2057
- alt: idCardBackText
2059
+ alt: idCardBackText,
2060
+ width: idCardBack.width,
2061
+ height: idCardBack.height
2058
2062
  })), passport && /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("h3", null, passportText), /*#__PURE__*/React__default['default'].createElement("img", {
2059
2063
  src: passport.imageData,
2060
- alt: passportText
2064
+ alt: passportText,
2065
+ width: passport.width,
2066
+ height: passport.height
2061
2067
  })))), /*#__PURE__*/React__default['default'].createElement("p", {
2062
2068
  style: {
2063
2069
  fontSize: 18