@privateers/ui 0.3.16 → 0.3.17

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.cjs CHANGED
@@ -949,18 +949,18 @@ function PaginationItem({
949
949
  function PaginationLink({
950
950
  className,
951
951
  isActive,
952
+ size = "icon",
952
953
  ...props
953
954
  }) {
955
+ const variant = isActive ? "outline" : "ghost";
954
956
  return /* @__PURE__ */ jsxRuntime.jsx(
955
957
  "button",
956
958
  {
957
959
  "aria-current": isActive ? "page" : void 0,
958
960
  "data-slot": "pagination-link",
961
+ "data-variant": variant,
959
962
  className: cn(
960
- buttonVariants({
961
- variant: isActive ? "outline" : "ghost",
962
- size: "icon"
963
- }),
963
+ buttonVariants({ variant, size }),
964
964
  className
965
965
  ),
966
966
  ...props
@@ -975,6 +975,7 @@ function PaginationPrevious({
975
975
  PaginationLink,
976
976
  {
977
977
  "aria-label": "Go to previous page",
978
+ size: "default",
978
979
  "data-slot": "pagination-previous",
979
980
  className: cn("gap-1 pl-2.5", className),
980
981
  ...props,
@@ -993,6 +994,7 @@ function PaginationNext({
993
994
  PaginationLink,
994
995
  {
995
996
  "aria-label": "Go to next page",
997
+ size: "default",
996
998
  "data-slot": "pagination-next",
997
999
  className: cn("gap-1 pr-2.5", className),
998
1000
  ...props,