← All changes
|
backend/views/components/Analytics/components/ui/dialog.jsx
+10
-10
1.4.6
→
1.4.21
View file →
| @@ -21,10 +21,10 @@ | ||
| 21 | 21 | function DialogBackdrop({ className, ...props }) { |
| 22 | 22 | return ( |
| 23 | 23 | <DialogPrimitive.Backdrop |
| 24 | 24 | className={cn( |
| 25 | - 'disco-fixed disco-inset-0 disco-z-50 disco-bg-black/30 disco-backdrop-blur-[2px]', | |
| 26 | - 'data-[starting-style]:disco-opacity-0 data-[ending-style]:disco-opacity-0 disco-transition-opacity', | |
| 25 | + 'disco:fixed disco:inset-0 disco:z-50 disco:bg-black/30 disco:backdrop-blur-[2px]', | |
| 26 | + 'disco:data-starting-style:opacity-0 disco:data-ending-style:opacity-0 disco:transition-opacity', | |
| 27 | 27 | className |
| 28 | 28 | )} |
| 29 | 29 | {...props} |
| 30 | 30 | /> |
| @@ -36,14 +36,14 @@ | ||
| 36 | 36 | <DialogPrimitive.Portal> |
| 37 | 37 | <DialogBackdrop /> |
| 38 | 38 | <DialogPrimitive.Popup |
| 39 | 39 | className={cn( |
| 40 | - 'disco-fixed disco-left-1/2 disco-top-1/2 disco-z-50 disco--translate-x-1/2 disco--translate-y-1/2', | |
| 41 | - 'disco-rounded-2xl disco-bg-white disco-shadow-xl', | |
| 42 | - 'disco-overflow-hidden disco-outline-none', | |
| 43 | - 'data-[starting-style]:disco-opacity-0 data-[starting-style]:disco-scale-95', | |
| 44 | - 'data-[ending-style]:disco-opacity-0 data-[ending-style]:disco-scale-95', | |
| 45 | - 'disco-transition-all', | |
| 40 | + 'disco:fixed disco:left-1/2 disco:top-1/2 disco:z-50 disco:-translate-x-1/2 disco:-translate-y-1/2', | |
| 41 | + 'disco:rounded-2xl disco:bg-white disco:shadow-xl', | |
| 42 | + 'disco:overflow-hidden disco:outline-hidden', | |
| 43 | + 'disco:data-starting-style:opacity-0 disco:data-starting-style:scale-95', | |
| 44 | + 'disco:data-ending-style:opacity-0 disco:data-ending-style:scale-95', | |
| 45 | + 'disco:transition-all', | |
| 46 | 46 | className |
| 47 | 47 | )} |
| 48 | 48 | {...props} |
| 49 | 49 | > |
| @@ -55,9 +55,9 @@ | ||
| 55 | 55 | |
| 56 | 56 | function DialogTitle({ className, ...props }) { |
| 57 | 57 | return ( |
| 58 | 58 | <DialogPrimitive.Title |
| 59 | - className={cn('disco-text-lg disco-font-semibold', className)} | |
| 59 | + className={cn('disco:text-lg disco:font-semibold', className)} | |
| 60 | 60 | {...props} |
| 61 | 61 | /> |
| 62 | 62 | ); |
| 63 | 63 | } |
| @@ -64,9 +64,9 @@ | ||
| 64 | 64 | |
| 65 | 65 | function DialogDescription({ className, ...props }) { |
| 66 | 66 | return ( |
| 67 | 67 | <DialogPrimitive.Description |
| 68 | - className={cn('disco-text-sm disco-text-muted-foreground', className)} | |
| 68 | + className={cn('disco:text-sm disco:text-muted-foreground', className)} | |
| 69 | 69 | {...props} |
| 70 | 70 | /> |
| 71 | 71 | ); |
| 72 | 72 | } |