@snapdragonsnursery/react-components 1.1.20 → 1.1.21

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@snapdragonsnursery/react-components",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "description": "",
5
5
  "main": "src/index.js",
6
6
  "scripts": {
@@ -51,13 +51,13 @@ PaginationLink.displayName = "PaginationLink";
51
51
  const PaginationPrevious = React.forwardRef(({ className, ...props }, ref) => (
52
52
  <PaginationLink
53
53
  aria-label="Go to previous page"
54
- size="default"
54
+ size="icon"
55
55
  ref={ref}
56
- className={cn("gap-1 pl-2.5", className)}
56
+ className={cn("gap-1", className)}
57
57
  {...props}
58
58
  >
59
59
  <ChevronLeftIcon className="h-4 w-4" />
60
- <span>Previous</span>
60
+ <span className="sr-only">Previous</span>
61
61
  </PaginationLink>
62
62
  ));
63
63
  PaginationPrevious.displayName = "PaginationPrevious";
@@ -65,13 +65,13 @@ PaginationPrevious.displayName = "PaginationPrevious";
65
65
  const PaginationNext = React.forwardRef(({ className, ...props }, ref) => (
66
66
  <PaginationLink
67
67
  aria-label="Go to next page"
68
- size="default"
68
+ size="icon"
69
69
  ref={ref}
70
- className={cn("gap-1 pr-2.5", className)}
70
+ className={cn("gap-1", className)}
71
71
  {...props}
72
72
  >
73
- <span>Next</span>
74
73
  <ChevronRightIcon className="h-4 w-4" />
74
+ <span className="sr-only">Next</span>
75
75
  </PaginationLink>
76
76
  ));
77
77
  PaginationNext.displayName = "PaginationNext";