idmission-web-sdk 2.2.89 → 2.2.90
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/sdk2.cjs.development.js +5 -5
- 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 +5 -5
- package/dist/sdk2.esm.js.map +1 -1
- package/dist/sdk2.umd.development.js +5 -5
- 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 +3 -3
|
@@ -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.2.
|
|
214
|
+
var webSdkVersion = '2.2.90';
|
|
215
215
|
|
|
216
216
|
function getPlatform() {
|
|
217
217
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
@@ -16405,8 +16405,8 @@
|
|
|
16405
16405
|
var theme = styled.useTheme();
|
|
16406
16406
|
var wavesDisabled = (_d = (_c = (_b = theme.idCapture) === null || _b === void 0 ? void 0 : _b.guideBox) === null || _c === void 0 ? void 0 : _c.wavesDisabled) !== null && _d !== void 0 ? _d : false;
|
|
16407
16407
|
var wavesColor = (_g = (_f = (_e = theme.idCapture) === null || _e === void 0 ? void 0 : _e.guideBox) === null || _f === void 0 ? void 0 : _f.wavesColor) !== null && _g !== void 0 ? _g : '#287ec6';
|
|
16408
|
-
var progressBarColor = (_k = (_j = (_h = theme.idCapture) === null || _h === void 0 ? void 0 : _h.guideBox) === null || _j === void 0 ? void 0 : _j.progressBarColor) !== null && _k !== void 0 ? _k :
|
|
16409
|
-
var progressBarIndicatorColor = (_o = (_m = (_l = theme.idCapture) === null || _l === void 0 ? void 0 : _l.guideBox) === null || _m === void 0 ? void 0 : _m.progressBarIndicatorColor) !== null && _o !== void 0 ? _o :
|
|
16408
|
+
var progressBarColor = (_k = (_j = (_h = theme.idCapture) === null || _h === void 0 ? void 0 : _h.guideBox) === null || _j === void 0 ? void 0 : _j.progressBarColor) !== null && _k !== void 0 ? _k : borderColor;
|
|
16409
|
+
var progressBarIndicatorColor = (_o = (_m = (_l = theme.idCapture) === null || _l === void 0 ? void 0 : _l.guideBox) === null || _m === void 0 ? void 0 : _m.progressBarIndicatorColor) !== null && _o !== void 0 ? _o : '#287ec6';
|
|
16410
16410
|
var progressBarWidth = (_r = (_q = (_p = theme.idCapture) === null || _p === void 0 ? void 0 : _p.guideBox) === null || _q === void 0 ? void 0 : _q.progressBarWidth) !== null && _r !== void 0 ? _r : borderWidth;
|
|
16411
16411
|
return /*#__PURE__*/React.createElement(IdCardBorderContainer, _assign({}, props), /*#__PURE__*/React.createElement("div", {
|
|
16412
16412
|
ref: ref,
|
|
@@ -16441,7 +16441,7 @@
|
|
|
16441
16441
|
width: width,
|
|
16442
16442
|
height: height,
|
|
16443
16443
|
borderRadius: borderRadius,
|
|
16444
|
-
borderColor:
|
|
16444
|
+
borderColor: progressBarColor,
|
|
16445
16445
|
borderWidth: progressBarWidth,
|
|
16446
16446
|
className: "idmSdkWavesOrigin"
|
|
16447
16447
|
}), (status === 'capturing' || progress > 0) && ( /*#__PURE__*/React.createElement(IdCardBorderSvg, {
|
|
@@ -16449,7 +16449,7 @@
|
|
|
16449
16449
|
width: width,
|
|
16450
16450
|
height: height,
|
|
16451
16451
|
borderRadius: borderRadius,
|
|
16452
|
-
borderColor:
|
|
16452
|
+
borderColor: progressBarIndicatorColor,
|
|
16453
16453
|
borderWidth: progressBarWidth,
|
|
16454
16454
|
isProgressBar: true,
|
|
16455
16455
|
progress: progress,
|