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.
@@ -3249,7 +3249,7 @@
3249
3249
  var OverlayContainer = styled__default['default'](PageContainer)(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n background: white;\n z-index: 10000;\n"], ["\n background: white;\n z-index: 10000;\n"])));
3250
3250
  var OverlayInner = styled__default['default'].div(templateObject_2 || (templateObject_2 = __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"])));
3251
3251
  var OverlayImageWrapper = styled__default['default'].div(templateObject_3 || (templateObject_3 = __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"])));
3252
- var OverlayImageMultiContainer = styled__default['default'].div(templateObject_4 || (templateObject_4 = __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"])));
3252
+ var OverlayImageMultiContainer = styled__default['default'].div(templateObject_4 || (templateObject_4 = __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"])));
3253
3253
  var templateObject_1$3, templateObject_2, templateObject_3, templateObject_4;
3254
3254
 
3255
3255
  var __assign = (undefined && undefined.__assign) || function () {
@@ -5662,13 +5662,19 @@
5662
5662
  }
5663
5663
  }, idCardFront && /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("h3", null, idCardFrontText), /*#__PURE__*/React__default['default'].createElement("img", {
5664
5664
  src: idCardFront.imageData,
5665
- alt: idCardFrontText
5665
+ alt: idCardFrontText,
5666
+ width: idCardFront.width,
5667
+ height: idCardFront.height
5666
5668
  })), idCardBack && /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("h3", null, idCardBackText), /*#__PURE__*/React__default['default'].createElement("img", {
5667
5669
  src: idCardBack.imageData,
5668
- alt: idCardBackText
5670
+ alt: idCardBackText,
5671
+ width: idCardBack.width,
5672
+ height: idCardBack.height
5669
5673
  })), passport && /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement("h3", null, passportText), /*#__PURE__*/React__default['default'].createElement("img", {
5670
5674
  src: passport.imageData,
5671
- alt: passportText
5675
+ alt: passportText,
5676
+ width: passport.width,
5677
+ height: passport.height
5672
5678
  })))), /*#__PURE__*/React__default['default'].createElement("p", {
5673
5679
  style: {
5674
5680
  fontSize: 18