@underverse-ui/underverse 2.0.9 → 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
@@ -5073,10 +5073,10 @@ var Combobox = ({
5073
5073
  className: cn(
5074
5074
  "group flex w-full items-center justify-between transition-all duration-200",
5075
5075
  formControlFixedClass,
5076
- formControlOutlineClass,
5077
5076
  radiusClass,
5078
5077
  sizeStyles7[size],
5079
5078
  variantStyles5[variant],
5079
+ formControlOutlineClass,
5080
5080
  "disabled:cursor-not-allowed disabled:opacity-50",
5081
5081
  open && "border-ring",
5082
5082
  !!effectiveError && "border-destructive",
@@ -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";