@regulaforensics/ui-components 8.1.476-rc → 8.1.478-nightly

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.
@@ -35568,7 +35568,7 @@ const rVt = () => ue("dc87716ea86ebf584e6de7d3249457b2"), _Vt = "_container_f5fu
35568
35568
  {
35569
35569
  name: ((A = e.find((S) => S.pageIndex === a)) == null ? void 0 : A.documentName) || `Page ${a + 1}`,
35570
35570
  status: I,
35571
- open: _.has(String(i)) || I === Z.ERROR,
35571
+ open: _.has(String(i)),
35572
35572
  onOpen: (S) => n(S, a, String(i)),
35573
35573
  children: /* @__PURE__ */ T("div", { className: KD["image-quality"], children: c.map(({ checkType: S, checkResult: R }) => /* @__PURE__ */ T(P0, { name: S, status: R, shift: 24 }, S)) })
35574
35574
  },
@@ -35585,8 +35585,13 @@ const rVt = () => ue("dc87716ea86ebf584e6de7d3249457b2"), _Vt = "_container_f5fu
35585
35585
  const { setScroll: r } = wT(), { openFields: o, addOpenField: a, removeOpenField: c, resetOpenField: I } = cA(), i = (S, R, C) => {
35586
35586
  S ? (n(R), a("imageQuality", C)) : c("imageQuality", C);
35587
35587
  }, A = r ? (S) => r("imageQuality", S) : void 0;
35588
- return Ge(() => () => {
35589
- I("imageQuality");
35588
+ return Ge(() => {
35589
+ if (t.length !== 1)
35590
+ return t.forEach((S, R) => {
35591
+ S.checkResult === Z.ERROR && a("imageQuality", String(R));
35592
+ }), () => {
35593
+ I("imageQuality");
35594
+ };
35590
35595
  }, [t]), /* @__PURE__ */ T(
35591
35596
  uVt,
35592
35597
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@regulaforensics/ui-components",
3
- "version": "8.1.476-rc",
3
+ "version": "8.1.478-nightly",
4
4
  "description": "Regula UI components",
5
5
  "author": "Regula Forensics, Inc.",
6
6
  "license": "MIT",
@@ -41,7 +41,7 @@
41
41
  },
42
42
  "dependencies": {
43
43
  "@babel/runtime": "^7.27.0",
44
- "@regulaforensics/document-reader-typings": "^8.1.476-rc",
44
+ "@regulaforensics/document-reader-typings": "^8.1.478-nightly",
45
45
  "@regulaforensics/facesdk-webclient": "^6.4.85",
46
46
  "@uiw/react-json-view": "^2.0.0-alpha.30",
47
47
  "classnames": "^2.5.1",