@hybr1d-tech/charizard 0.7.2 → 0.7.4
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/dist/hybr1d-ui.js +3 -3
- package/dist/hybr1d-ui.umd.cjs +2 -2
- package/package.json +1 -1
package/dist/hybr1d-ui.js
CHANGED
|
@@ -1996,7 +1996,7 @@ function hs({
|
|
|
1996
1996
|
positioning: { placement: (c == null ? void 0 : c.placement) || "bottom-end" }
|
|
1997
1997
|
})
|
|
1998
1998
|
), [x, b] = f.useState(!1);
|
|
1999
|
-
console.
|
|
1999
|
+
console.warn(x);
|
|
2000
2000
|
const C = f.useRef(null), v = f.useRef(null), y = oe.connect(p, _, w0), A = d == null ? void 0 : d.customMenuStyles, S = d == null ? void 0 : d.customButtonStyles;
|
|
2001
2001
|
f.useEffect(() => {
|
|
2002
2002
|
!u || !(i != null && i.setIsActive) || i.setIsActive(y.open);
|
|
@@ -8709,10 +8709,10 @@ function ho({ paginationConfig: e }) {
|
|
|
8709
8709
|
), i = ln.connect(s, l, w0);
|
|
8710
8710
|
f.useEffect(() => {
|
|
8711
8711
|
i.setPage(e.page + 1);
|
|
8712
|
-
}, []), f.useEffect(() => {
|
|
8712
|
+
}, [e.page]), f.useEffect(() => {
|
|
8713
8713
|
i.setCount((o == null ? void 0 : o.total_items) || 0);
|
|
8714
8714
|
}, [o == null ? void 0 : o.total_items, a]), f.useEffect(() => {
|
|
8715
|
-
i.setPageSize(e.limit);
|
|
8715
|
+
i.setPage(1), i.setPageSize(e.limit);
|
|
8716
8716
|
}, [a]);
|
|
8717
8717
|
const c = o != null && o.page_no ? o.page_no : 0, r = c * ((o == null ? void 0 : o.items_on_page) || 0) + 1, u = Math.min(
|
|
8718
8718
|
c * ((o == null ? void 0 : o.items_on_page) || 0) + a,
|