@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/dist/index.js CHANGED
@@ -22039,6 +22039,7 @@ function DataTablePagination({
22039
22039
  result.push(totalPages);
22040
22040
  return result;
22041
22041
  }, [curPage, totalPages]);
22042
+ if (totalItems === 0) return null;
22042
22043
  const controlButtonSize = size === "lg" ? "md" : "sm";
22043
22044
  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";
22044
22045
  const navIconClass = size === "sm" ? "h-3.5 w-3.5" : size === "lg" ? "h-5 w-5" : "h-4 w-4";