@underverse-ui/underverse 2.0.10 → 2.0.11
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/api-reference.json +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/api-reference.json
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -31672,6 +31672,7 @@ function DataTablePagination({
|
|
|
31672
31672
|
result.push(totalPages);
|
|
31673
31673
|
return result;
|
|
31674
31674
|
}, [curPage, totalPages]);
|
|
31675
|
+
if (totalItems === 0) return null;
|
|
31675
31676
|
const controlButtonSize = size === "lg" ? "md" : "sm";
|
|
31676
31677
|
const navBtnClass = size === "sm" ? "h-6 w-6 p-0 rounded-full" : size === "lg" ? "h-8 w-8 p-0 rounded-full" : "h-7 w-7 p-0 rounded-full";
|
|
31677
31678
|
const navIconClass = size === "sm" ? "h-3.5 w-3.5" : size === "lg" ? "h-5 w-5" : "h-4 w-4";
|