@m4l/components 9.4.29-beta.4 → 9.4.29-beta.5
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.
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { delay as t } from "../delay/index.js";
|
|
2
|
-
import { isElementInViewport as
|
|
2
|
+
import { isElementInViewport as r } from "../isElementInViewport/index.js";
|
|
3
3
|
const c = 0, l = 50;
|
|
4
|
-
async function
|
|
4
|
+
async function d(o, n, i) {
|
|
5
5
|
await t(c);
|
|
6
6
|
for (const e of o)
|
|
7
|
-
if (
|
|
8
|
-
i(e, { shouldSelect: !0 }), await t(l),
|
|
7
|
+
if (n(e).error) {
|
|
8
|
+
i(e, { shouldSelect: !0 }), await t(l), typeof document < "u" && document.activeElement && !r(document.activeElement) && document.activeElement.scrollIntoView({
|
|
9
9
|
behavior: "smooth",
|
|
10
10
|
block: "center"
|
|
11
11
|
});
|
|
@@ -13,5 +13,5 @@ async function s(o, r, i) {
|
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
export {
|
|
16
|
-
|
|
16
|
+
d as focusFirstErrorField
|
|
17
17
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@m4l/components",
|
|
3
|
-
"version": "9.4.29-beta.
|
|
3
|
+
"version": "9.4.29-beta.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -55,13 +55,13 @@
|
|
|
55
55
|
"nprogress": "^0.2.0",
|
|
56
56
|
"react-transition-group": "^4.4.5",
|
|
57
57
|
"react-rnd": "^10.5.2",
|
|
58
|
-
"react
|
|
58
|
+
"simplebar-react": "3.2.6",
|
|
59
59
|
"react-color": "^2.19.3",
|
|
60
60
|
"@mui/x-date-pickers": "6.20.2",
|
|
61
|
-
"simplebar-react": "3.2.6",
|
|
62
61
|
"react-resizable": "^3.0.4",
|
|
63
62
|
"react-resizable-panels": "^2.1.8",
|
|
64
63
|
"react-spinners": "^0.13.8",
|
|
64
|
+
"react-draggable": "^4.4.5",
|
|
65
65
|
"chart.js": "^4.4.0",
|
|
66
66
|
"chartjs-chart-error-bars": "^4.3.3",
|
|
67
67
|
"qrcode.react": "^3.1.0"
|