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.
@@ -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.3.35';
214
+ var webSdkVersion = '2.3.36';
215
215
 
216
216
  function getPlatform() {
217
217
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -17169,6 +17169,7 @@
17169
17169
  totalLength = _f[0],
17170
17170
  setTotalLength = _f[1];
17171
17171
  var resolvedProgress = progress * totalLength;
17172
+ var scaledBorderRadius = borderRadius * (typeof props.height === 'number' ? props.height / 500 : 1);
17172
17173
  var rectRef = function rectRef(r) {
17173
17174
  try {
17174
17175
  if (isProgressBar && r) setTotalLength(r.getTotalLength());
@@ -17187,16 +17188,16 @@
17187
17188
  y: "0",
17188
17189
  width: props.width || '100%',
17189
17190
  height: props.height || '100%',
17190
- rx: borderRadius,
17191
- ry: borderRadius
17191
+ rx: scaledBorderRadius,
17192
+ ry: scaledBorderRadius
17192
17193
  }))), /*#__PURE__*/React.createElement(IdCardBorderRect, {
17193
17194
  ref: rectRef,
17194
17195
  x: "0",
17195
17196
  y: "0",
17196
17197
  width: props.width || '100%',
17197
17198
  height: props.height || '100%',
17198
- rx: borderRadius,
17199
- ry: borderRadius,
17199
+ rx: scaledBorderRadius,
17200
+ ry: scaledBorderRadius,
17200
17201
  clipPath: "url(#round-corner)",
17201
17202
  stroke: borderColor,
17202
17203
  strokeWidth: borderWidth,