@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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "package": "@underverse-ui/underverse",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "sourceEntry": "src/index.ts",
5
5
  "totalExports": 257,
6
6
  "exports": [
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";