← All changes
|
backend/views/components/Analytics/components/ui/pagination.jsx
+7
-7
1.4.1
→
1.4.23
View file →
| @@ -12,9 +12,9 @@ | ||
| 12 | 12 | <nav |
| 13 | 13 | role="navigation" |
| 14 | 14 | aria-label="pagination" |
| 15 | 15 | data-slot="pagination" |
| 16 | - className={cn('disco-flex disco-w-fit disco-justify-center', className)} | |
| 16 | + className={cn('disco:flex disco:w-fit disco:justify-center', className)} | |
| 17 | 17 | {...props} |
| 18 | 18 | /> |
| 19 | 19 | ); |
| 20 | 20 | } |
| @@ -23,9 +23,9 @@ | ||
| 23 | 23 | return ( |
| 24 | 24 | <ul |
| 25 | 25 | data-slot="pagination-content" |
| 26 | 26 | className={cn( |
| 27 | - 'disco-flex disco-flex-row disco-items-center disco-gap-1', | |
| 27 | + 'disco:flex disco:flex-row disco:items-center disco:gap-1', | |
| 28 | 28 | className |
| 29 | 29 | )} |
| 30 | 30 | {...props} |
| 31 | 31 | /> |
| @@ -45,10 +45,10 @@ | ||
| 45 | 45 | data-active={isActive} |
| 46 | 46 | className={cn( |
| 47 | 47 | buttonVariants({ variant: 'ghost', size }), |
| 48 | 48 | isActive |
| 49 | - ? 'disco-bg-[#47cd89] disco-text-white hover:disco-bg-[#47cd89]/90 hover:disco-text-white' | |
| 50 | - : 'disco-text-[#6b7280]', | |
| 49 | + ? 'disco:bg-primary disco:text-white disco:hover:bg-primary/90 disco:hover:text-white' | |
| 50 | + : 'disco:text-[#6b7280]', | |
| 51 | 51 | className |
| 52 | 52 | )} |
| 53 | 53 | {...props} |
| 54 | 54 | /> |
| @@ -84,15 +84,15 @@ | ||
| 84 | 84 | <span |
| 85 | 85 | aria-hidden |
| 86 | 86 | data-slot="pagination-ellipsis" |
| 87 | 87 | className={cn( |
| 88 | - 'disco-flex disco-size-7 disco-items-center disco-justify-center disco-text-[#6b7280]', | |
| 88 | + 'disco:flex disco:size-7 disco:items-center disco:justify-center disco:text-[#6b7280]', | |
| 89 | 89 | className |
| 90 | 90 | )} |
| 91 | 91 | {...props} |
| 92 | 92 | > |
| 93 | - <MoreHorizontalIcon className="disco-size-4" /> | |
| 94 | - <span className="disco-sr-only">More pages</span> | |
| 93 | + <MoreHorizontalIcon className="disco:size-4" /> | |
| 94 | + <span className="disco:sr-only">More pages</span> | |
| 95 | 95 | </span> |
| 96 | 96 | ); |
| 97 | 97 | } |
| 98 | 98 | |