← All changes
|
backend/views/components/Analytics/components/layout/date-range/picker-classes.js
+18
-18
1.4.2
→
1.4.21
View file →
| @@ -1,32 +1,32 @@ | ||
| 1 | 1 | const PICKER_CLASSES = { |
| 2 | - root: 'disco-p-0', | |
| 3 | - months: 'disco-flex disco-flex-col', | |
| 4 | - month: 'disco-flex disco-flex-col disco-gap-1', | |
| 2 | + root: 'disco:p-0', | |
| 3 | + months: 'disco:flex disco:flex-col', | |
| 4 | + month: 'disco:flex disco:flex-col disco:gap-1', | |
| 5 | 5 | month_caption: |
| 6 | - 'disco-relative disco-flex disco-h-7 disco-items-center disco-justify-center', | |
| 6 | + 'disco:relative disco:flex disco:h-7 disco:items-center disco:justify-center', | |
| 7 | 7 | caption_label: |
| 8 | - 'disco-text-[11px] disco-font-semibold disco-text-[rgba(74,74,74,0.85)] disco-select-none', | |
| 9 | - nav: 'disco-absolute disco-inset-x-0 disco-top-0 disco-flex disco-items-center disco-justify-between', | |
| 8 | + 'disco:text-[11px] disco:font-semibold disco:text-[rgba(74,74,74,0.85)] disco:select-none', | |
| 9 | + nav: 'disco:absolute disco:inset-x-0 disco:top-0 disco:flex disco:items-center disco:justify-between', | |
| 10 | 10 | button_previous: |
| 11 | - 'disco-flex disco-h-8 disco-w-8 disco-items-center disco-justify-center disco-rounded disco-text-[rgba(74,74,74,0.4)] disco-transition-colors hover:disco-text-[rgba(74,74,74,0.8)] disabled:disco-opacity-30 disco-z-10', | |
| 11 | + 'disco:flex disco:h-8 disco:w-8 disco:items-center disco:justify-center disco:rounded disco:text-[rgba(74,74,74,0.4)] disco:transition-colors disco:hover:text-[rgba(74,74,74,0.8)] disco:disabled:opacity-30 disco:z-10', | |
| 12 | 12 | button_next: |
| 13 | - 'disco-flex disco-h-8 disco-w-8 disco-items-center disco-justify-center disco-rounded disco-text-[rgba(74,74,74,0.4)] disco-transition-colors hover:disco-text-[rgba(74,74,74,0.8)] disabled:disco-opacity-30 disco-z-10', | |
| 14 | - weekdays: 'disco-flex', | |
| 13 | + 'disco:flex disco:h-8 disco:w-8 disco:items-center disco:justify-center disco:rounded disco:text-[rgba(74,74,74,0.4)] disco:transition-colors disco:hover:text-[rgba(74,74,74,0.8)] disco:disabled:opacity-30 disco:z-10', | |
| 14 | + weekdays: 'disco:flex', | |
| 15 | 15 | // explicit w/h so table columns don't auto-size wider than CELL |
| 16 | 16 | weekday: |
| 17 | - 'disco-flex disco-h-[26px] disco-w-[26px] disco-items-center disco-justify-center disco-select-none disco-text-[9px] disco-font-medium disco-text-[rgba(74,74,74,0.4)]', | |
| 18 | - weeks: 'disco-flex disco-flex-col', | |
| 19 | - week: 'disco-flex', | |
| 17 | + 'disco:flex disco:h-[26px] disco:w-[26px] disco:items-center disco:justify-center disco:select-none disco:text-[9px] disco:font-medium disco:text-[rgba(74,74,74,0.4)]', | |
| 18 | + weeks: 'disco:flex disco:flex-col', | |
| 19 | + week: 'disco:flex', | |
| 20 | 20 | // td — explicit size keeps table columns at exactly CELL px |
| 21 | - day: 'disco-flex disco-h-[26px] disco-w-[26px] disco-items-center disco-justify-center disco-p-0', | |
| 22 | - range_start: 'disco-rounded-l-full disco-bg-[rgba(8,200,137,0.12)]', | |
| 23 | - range_end: 'disco-rounded-r-full disco-bg-[rgba(8,200,137,0.12)]', | |
| 24 | - range_middle: 'disco-rounded-none disco-bg-[rgba(8,200,137,0.12)]', | |
| 21 | + day: 'disco:flex disco:h-[26px] disco:w-[26px] disco:items-center disco:justify-center disco:p-0', | |
| 22 | + range_start: 'disco:rounded-l-full disco:bg-[rgba(8,200,137,0.12)]', | |
| 23 | + range_end: 'disco:rounded-r-full disco:bg-[rgba(8,200,137,0.12)]', | |
| 24 | + range_middle: 'disco:rounded-none disco:bg-[rgba(8,200,137,0.12)]', | |
| 25 | 25 | today: '', |
| 26 | 26 | outside: '', |
| 27 | - disabled: 'disco-opacity-30 disco-pointer-events-none', | |
| 28 | - hidden: 'disco-invisible', | |
| 27 | + disabled: 'disco:opacity-30 disco:pointer-events-none', | |
| 28 | + hidden: 'disco:invisible', | |
| 29 | 29 | selected: '', |
| 30 | 30 | }; |
| 31 | 31 | |
| 32 | 32 | export default PICKER_CLASSES; |