vxui-react 1.3.5 → 1.3.6
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/README.en.md +4 -3
- package/README.md +4 -3
- package/dist/index.cjs +2 -2
- package/dist/index.js +10 -8
- package/llms.txt +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3733,7 +3733,7 @@ function hl({
|
|
|
3733
3733
|
]
|
|
3734
3734
|
}
|
|
3735
3735
|
);
|
|
3736
|
-
return O ? Te(D, document.body) : D;
|
|
3736
|
+
return O ? Te(D, z.current ?? document.body) : D;
|
|
3737
3737
|
})()
|
|
3738
3738
|
] });
|
|
3739
3739
|
}
|
|
@@ -4095,7 +4095,9 @@ function Al({
|
|
|
4095
4095
|
u && S(r);
|
|
4096
4096
|
}, [u, r]), xe(() => {
|
|
4097
4097
|
if (!u || !x.current) return;
|
|
4098
|
-
const p = x.current.getBoundingClientRect()
|
|
4098
|
+
const p = x.current.getBoundingClientRect();
|
|
4099
|
+
if (p.width === 0 && p.height === 0) return;
|
|
4100
|
+
const m = 8;
|
|
4099
4101
|
k === "left" && p.right > window.innerWidth - m ? S("right") : k === "right" && p.left < m && S("left");
|
|
4100
4102
|
}, [u, k]);
|
|
4101
4103
|
const g = Y((p) => {
|
|
@@ -5062,7 +5064,7 @@ function nc({
|
|
|
5062
5064
|
)
|
|
5063
5065
|
}
|
|
5064
5066
|
);
|
|
5065
|
-
return C ? Te(P, document.body) : P;
|
|
5067
|
+
return C ? Te(P, b.current ?? document.body) : P;
|
|
5066
5068
|
})() : null
|
|
5067
5069
|
] });
|
|
5068
5070
|
}
|
|
@@ -5262,7 +5264,7 @@ function rc({
|
|
|
5262
5264
|
]
|
|
5263
5265
|
}
|
|
5264
5266
|
);
|
|
5265
|
-
return D ? Te(W, document.body) : W;
|
|
5267
|
+
return D ? Te(W, z.current ?? document.body) : W;
|
|
5266
5268
|
})()
|
|
5267
5269
|
] });
|
|
5268
5270
|
}
|
|
@@ -5477,7 +5479,7 @@ function ac({
|
|
|
5477
5479
|
]
|
|
5478
5480
|
}
|
|
5479
5481
|
);
|
|
5480
|
-
return M ? Te(H, document.body) : H;
|
|
5482
|
+
return M ? Te(H, R.current ?? document.body) : H;
|
|
5481
5483
|
})()
|
|
5482
5484
|
] });
|
|
5483
5485
|
}
|
|
@@ -6641,9 +6643,9 @@ function Sc({
|
|
|
6641
6643
|
}, [t]), U(() => {
|
|
6642
6644
|
k(0);
|
|
6643
6645
|
}, [u]), U(() => {
|
|
6644
|
-
var b;
|
|
6646
|
+
var b, w;
|
|
6645
6647
|
const f = (b = g.current) == null ? void 0 : b.children[x];
|
|
6646
|
-
f == null
|
|
6648
|
+
(w = f == null ? void 0 : f.scrollIntoView) == null || w.call(f, { block: "nearest" });
|
|
6647
6649
|
}, [x]);
|
|
6648
6650
|
const _ = Y(
|
|
6649
6651
|
(f) => {
|
|
@@ -8636,7 +8638,7 @@ function Ec({
|
|
|
8636
8638
|
) })
|
|
8637
8639
|
] });
|
|
8638
8640
|
}
|
|
8639
|
-
const Oi = "1.3.
|
|
8641
|
+
const Oi = "1.3.6", $i = {
|
|
8640
8642
|
version: Oi
|
|
8641
8643
|
}, Ve = `v${$i.version}`, Wr = {
|
|
8642
8644
|
locale: "en",
|
package/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# VXUI React
|
|
2
2
|
|
|
3
|
-
> A pure-CSS, zero-dependency React UI library for building admin dashboards and operator interfaces. v1.3.
|
|
3
|
+
> A pure-CSS, zero-dependency React UI library for building admin dashboards and operator interfaces. v1.3.6.
|
|
4
4
|
|
|
5
5
|
> ℹ️ This file (`llms.txt`) is included in the npm package. AI tools can read it directly to obtain component documentation and usage guides.
|
|
6
6
|
|