idmission-web-sdk 2.3.35 → 2.3.36

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.
@@ -235,7 +235,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
235
235
  return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
236
236
  };
237
237
 
238
- var webSdkVersion = '2.3.35';
238
+ var webSdkVersion = '2.3.36';
239
239
 
240
240
  function getPlatform() {
241
241
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -8062,6 +8062,7 @@ function IdCardBorderSvg(_a) {
8062
8062
  totalLength = _f[0],
8063
8063
  setTotalLength = _f[1];
8064
8064
  var resolvedProgress = progress * totalLength;
8065
+ var scaledBorderRadius = borderRadius * (typeof props.height === 'number' ? props.height / 500 : 1);
8065
8066
  var rectRef = function rectRef(r) {
8066
8067
  try {
8067
8068
  if (isProgressBar && r) setTotalLength(r.getTotalLength());
@@ -8080,16 +8081,16 @@ function IdCardBorderSvg(_a) {
8080
8081
  y: "0",
8081
8082
  width: props.width || '100%',
8082
8083
  height: props.height || '100%',
8083
- rx: borderRadius,
8084
- ry: borderRadius
8084
+ rx: scaledBorderRadius,
8085
+ ry: scaledBorderRadius
8085
8086
  }))), /*#__PURE__*/React__namespace.default.createElement(IdCardBorderRect, {
8086
8087
  ref: rectRef,
8087
8088
  x: "0",
8088
8089
  y: "0",
8089
8090
  width: props.width || '100%',
8090
8091
  height: props.height || '100%',
8091
- rx: borderRadius,
8092
- ry: borderRadius,
8092
+ rx: scaledBorderRadius,
8093
+ ry: scaledBorderRadius,
8093
8094
  clipPath: "url(#round-corner)",
8094
8095
  stroke: borderColor,
8095
8096
  strokeWidth: borderWidth,