idmission-web-sdk 2.2.89 → 2.2.91

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.esm.js CHANGED
@@ -203,7 +203,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
203
203
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
204
204
  };
205
205
 
206
- var webSdkVersion = '2.2.89';
206
+ var webSdkVersion = '2.2.91';
207
207
 
208
208
  function getPlatform() {
209
209
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -7331,8 +7331,8 @@ function IdCardBorder(_a) {
7331
7331
  var theme = useTheme();
7332
7332
  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;
7333
7333
  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';
7334
- 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 : '#287ec6';
7335
- 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 : borderColor;
7334
+ 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;
7335
+ 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';
7336
7336
  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;
7337
7337
  return /*#__PURE__*/React__default.createElement(IdCardBorderContainer, _assign({}, props), /*#__PURE__*/React__default.createElement("div", {
7338
7338
  ref: ref,
@@ -7367,7 +7367,7 @@ function IdCardBorder(_a) {
7367
7367
  width: width,
7368
7368
  height: height,
7369
7369
  borderRadius: borderRadius,
7370
- borderColor: progressBarIndicatorColor,
7370
+ borderColor: progressBarColor,
7371
7371
  borderWidth: progressBarWidth,
7372
7372
  className: "idmSdkWavesOrigin"
7373
7373
  }), (status === 'capturing' || progress > 0) && ( /*#__PURE__*/React__default.createElement(IdCardBorderSvg, {
@@ -7375,7 +7375,7 @@ function IdCardBorder(_a) {
7375
7375
  width: width,
7376
7376
  height: height,
7377
7377
  borderRadius: borderRadius,
7378
- borderColor: progressBarColor,
7378
+ borderColor: progressBarIndicatorColor,
7379
7379
  borderWidth: progressBarWidth,
7380
7380
  isProgressBar: true,
7381
7381
  progress: progress,
@@ -14711,8 +14711,8 @@ var defaultTheme = {
14711
14711
  imagePadding: 50,
14712
14712
  wavesDisabled: false,
14713
14713
  wavesColor: '#287ec6',
14714
- progressBarColor: '#287ec6',
14715
- progressBarIndicatorColor: 'white',
14714
+ progressBarColor: 'white',
14715
+ progressBarIndicatorColor: '#287ec6',
14716
14716
  progressBarWidth: '2.5%'
14717
14717
  }
14718
14718
  },