← All changes
|
backend/views/components/Analytics/components/layout/date-range/DateHeader.jsx
+6
-6
1.4.2
→
1.4.20
View file →
| @@ -73,13 +73,13 @@ | ||
| 73 | 73 | |
| 74 | 74 | return ( |
| 75 | 75 | <div |
| 76 | 76 | className={cn( |
| 77 | - 'disco-mb-2 disco-flex disco-items-center disco-gap-2 disco-rounded-[5px] disco-border disco-px-3 disco-py-1.5', | |
| 78 | - error ? 'disco-border-red-400' : 'disco-border-[#e5e7eb]' | |
| 77 | + 'disco:mb-2 disco:flex disco:items-center disco:gap-2 disco:rounded-[5px] disco:border disco:px-3 disco:py-1.5', | |
| 78 | + error ? 'disco:border-red-400' : 'disco:border-[#e5e7eb]' | |
| 79 | 79 | )} |
| 80 | 80 | > |
| 81 | - <span className="disco-text-xs disco-font-medium disco-text-[rgba(74,74,74,0.45)]"> | |
| 81 | + <span className="disco:text-xs disco:font-medium disco:text-[rgba(74,74,74,0.45)]"> | |
| 82 | 82 | {label} |
| 83 | 83 | </span> |
| 84 | 84 | |
| 85 | 85 | {editing ? ( |
| @@ -93,16 +93,16 @@ | ||
| 93 | 93 | }} |
| 94 | 94 | onBlur={handleBlur} |
| 95 | 95 | onKeyDown={handleKeyDown} |
| 96 | 96 | placeholder={PLACEHOLDER} |
| 97 | - className="!disco-border-none disco-bg-transparent disco-p-0 disco-text-xs disco-font-semibold disco-text-gray-700 !disco-outline-none !disco-shadow-none focus:!disco-outline-none focus:!disco-shadow-none focus:!disco-border-none disco-h-[30px] !disco-min-h-0 disco-max-w-28" | |
| 97 | + className="disco:border-none! disco:bg-transparent! disco:p-0! disco:text-xs disco:font-semibold disco:text-gray-700! disco:outline-hidden! disco:shadow-none! disco:focus:outline-hidden! disco:focus:shadow-none! disco:focus:border-none! disco:h-[30px] disco:min-h-0! disco:max-w-28" | |
| 98 | 98 | /> |
| 99 | 99 | ) : ( |
| 100 | 100 | <span |
| 101 | 101 | onClick={handleClick} |
| 102 | 102 | className={cn( |
| 103 | - 'disco-text-xs disco-font-semibold disco-text-gray-700 disco-h-[30px] disco-leading-8', | |
| 104 | - onDateChange && 'disco-cursor-text' | |
| 103 | + 'disco:text-xs disco:font-semibold disco:text-gray-700 disco:h-[30px] disco:leading-8', | |
| 104 | + onDateChange && 'disco:cursor-text' | |
| 105 | 105 | )} |
| 106 | 106 | > |
| 107 | 107 | {formattedDate || '--'} |
| 108 | 108 | </span> |