← All changes
|
backend/views/components/Analytics/components/ui/breadcrumb.jsx
+8
-8
1.4.13
→
1.4.21
View file →
| @@ -16,12 +16,12 @@ | ||
| 16 | 16 | } |
| 17 | 17 | |
| 18 | 18 | function BreadcrumbList({ className, ...props }) { |
| 19 | 19 | return ( |
| 20 | - <ol | |
| 20 | + <ul | |
| 21 | 21 | data-slot="breadcrumb-list" |
| 22 | 22 | className={cn( |
| 23 | - 'disco-flex disco-flex-wrap disco-items-center disco-gap-1.5 disco-text-sm disco-wrap-break-word disco-text-muted-foreground', | |
| 23 | + 'disco:flex disco:flex-wrap disco:items-center disco:gap-1.5 disco:text-sm disco:wrap-break-word disco:text-muted-foreground', | |
| 24 | 24 | className |
| 25 | 25 | )} |
| 26 | 26 | {...props} |
| 27 | 27 | /> |
| @@ -32,9 +32,9 @@ | ||
| 32 | 32 | return ( |
| 33 | 33 | <li |
| 34 | 34 | data-slot="breadcrumb-item" |
| 35 | 35 | className={cn( |
| 36 | - 'disco-inline-flex disco-items-center disco-gap-1', | |
| 36 | + 'disco:inline-flex disco:items-center disco:gap-1', | |
| 37 | 37 | className |
| 38 | 38 | )} |
| 39 | 39 | {...props} |
| 40 | 40 | /> |
| @@ -46,9 +46,9 @@ | ||
| 46 | 46 | defaultTagName: 'a', |
| 47 | 47 | props: mergeProps( |
| 48 | 48 | { |
| 49 | 49 | className: cn( |
| 50 | - 'transition-colors hover:text-foreground', | |
| 50 | + 'disco:transition-colors disco:text-gray-600! disco:hover:text-primary!', | |
| 51 | 51 | className |
| 52 | 52 | ), |
| 53 | 53 | }, |
| 54 | 54 | props |
| @@ -66,9 +66,9 @@ | ||
| 66 | 66 | data-slot="breadcrumb-page" |
| 67 | 67 | role="link" |
| 68 | 68 | aria-disabled="true" |
| 69 | 69 | aria-current="page" |
| 70 | - className={cn('disco-font-normal disco-text-foreground', className)} | |
| 70 | + className={cn('disco:font-normal disco:text-foreground', className)} | |
| 71 | 71 | {...props} |
| 72 | 72 | /> |
| 73 | 73 | ); |
| 74 | 74 | } |
| @@ -78,9 +78,9 @@ | ||
| 78 | 78 | <li |
| 79 | 79 | data-slot="breadcrumb-separator" |
| 80 | 80 | role="presentation" |
| 81 | 81 | aria-hidden="true" |
| 82 | - className={cn('[&>svg]:disco-size-3.5', className)} | |
| 82 | + className={cn('disco:[&>svg]:size-3.5', className)} | |
| 83 | 83 | {...props} |
| 84 | 84 | > |
| 85 | 85 | {children ?? <ChevronRightIcon />} |
| 86 | 86 | </li> |
| @@ -93,15 +93,15 @@ | ||
| 93 | 93 | data-slot="breadcrumb-ellipsis" |
| 94 | 94 | role="presentation" |
| 95 | 95 | aria-hidden="true" |
| 96 | 96 | className={cn( |
| 97 | - 'disco-flex disco-size-5 disco-items-center disco-justify-center [&>svg]:disco-size-4', | |
| 97 | + 'disco:flex disco:size-5 disco:items-center disco:justify-center disco:[&>svg]:size-4', | |
| 98 | 98 | className |
| 99 | 99 | )} |
| 100 | 100 | {...props} |
| 101 | 101 | > |
| 102 | 102 | <MoreHorizontalIcon /> |
| 103 | - <span className="disco-sr-only">More</span> | |
| 103 | + <span className="disco:sr-only">More</span> | |
| 104 | 104 | </span> |
| 105 | 105 | ); |
| 106 | 106 | } |
| 107 | 107 | |