@mantine/schedule 9.7.2 → 9.7.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cjs/components/DayView/DayView.cjs +45 -29
- package/cjs/components/DayView/DayView.cjs.map +1 -1
- package/cjs/components/DayView/DayView.module.cjs.map +1 -1
- package/cjs/components/MobileMonthView/MobileMonthView.cjs +54 -22
- package/cjs/components/MobileMonthView/MobileMonthView.cjs.map +1 -1
- package/cjs/components/MobileMonthView/MobileMonthView.module.cjs.map +1 -1
- package/cjs/components/MobileMonthView/get-mobile-month-view-weeks.cjs +32 -0
- package/cjs/components/MobileMonthView/get-mobile-month-view-weeks.cjs.map +1 -0
- package/cjs/components/ResourcesDayView/ResourcesDayView.cjs +15 -7
- package/cjs/components/ResourcesDayView/ResourcesDayView.cjs.map +1 -1
- package/cjs/components/ResourcesDayView/ResourcesDayView.module.cjs.map +1 -1
- package/cjs/components/ResourcesDayView/ResourcesDayViewColumn.cjs +11 -6
- package/cjs/components/ResourcesDayView/ResourcesDayViewColumn.cjs.map +1 -1
- package/cjs/components/ResourcesWeekView/ResourcesWeekView.cjs +15 -7
- package/cjs/components/ResourcesWeekView/ResourcesWeekView.cjs.map +1 -1
- package/cjs/components/ResourcesWeekView/ResourcesWeekView.module.cjs.map +1 -1
- package/cjs/components/ResourcesWeekView/ResourcesWeekViewRow.cjs +11 -6
- package/cjs/components/ResourcesWeekView/ResourcesWeekViewRow.cjs.map +1 -1
- package/cjs/components/Schedule/Schedule.cjs +2 -0
- package/cjs/components/Schedule/Schedule.cjs.map +1 -1
- package/cjs/components/WeekView/WeekView.cjs +29 -19
- package/cjs/components/WeekView/WeekView.cjs.map +1 -1
- package/cjs/components/WeekView/WeekView.module.cjs.map +1 -1
- package/cjs/components/WeekView/WeekViewDay.cjs +13 -7
- package/cjs/components/WeekView/WeekViewDay.cjs.map +1 -1
- package/cjs/components/YearView/YearView.cjs +1 -1
- package/cjs/components/YearView/YearView.cjs.map +1 -1
- package/cjs/components/YearView/YearViewMonth.cjs +1 -1
- package/cjs/components/YearView/YearViewMonth.cjs.map +1 -1
- package/cjs/index.cjs +10 -0
- package/cjs/utils/add-minutes-to-time/add-minutes-to-time.cjs +17 -0
- package/cjs/utils/add-minutes-to-time/add-minutes-to-time.cjs.map +1 -0
- package/cjs/utils/clamp-slot-label-interval/clamp-slot-label-interval.cjs +22 -0
- package/cjs/utils/clamp-slot-label-interval/clamp-slot-label-interval.cjs.map +1 -0
- package/cjs/utils/get-business-hours-mod/get-business-hours-mod.cjs +74 -17
- package/cjs/utils/get-business-hours-mod/get-business-hours-mod.cjs.map +1 -1
- package/cjs/utils/get-day-time-intervals/get-day-time-intervals.cjs +7 -2
- package/cjs/utils/get-day-time-intervals/get-day-time-intervals.cjs.map +1 -1
- package/cjs/utils/get-slot-label-groups/get-slot-label-groups.cjs +26 -0
- package/cjs/utils/get-slot-label-groups/get-slot-label-groups.cjs.map +1 -0
- package/cjs/{components/YearView → utils/get-visible-week-days}/get-visible-week-days.cjs +1 -1
- package/cjs/utils/get-visible-week-days/get-visible-week-days.cjs.map +1 -0
- package/esm/components/DayView/DayView.mjs +46 -30
- package/esm/components/DayView/DayView.mjs.map +1 -1
- package/esm/components/DayView/DayView.module.mjs.map +1 -1
- package/esm/components/MobileMonthView/MobileMonthView.mjs +54 -22
- package/esm/components/MobileMonthView/MobileMonthView.mjs.map +1 -1
- package/esm/components/MobileMonthView/MobileMonthView.module.mjs.map +1 -1
- package/esm/components/MobileMonthView/get-mobile-month-view-weeks.mjs +30 -0
- package/esm/components/MobileMonthView/get-mobile-month-view-weeks.mjs.map +1 -0
- package/esm/components/ResourcesDayView/ResourcesDayView.mjs +16 -8
- package/esm/components/ResourcesDayView/ResourcesDayView.mjs.map +1 -1
- package/esm/components/ResourcesDayView/ResourcesDayView.module.mjs.map +1 -1
- package/esm/components/ResourcesDayView/ResourcesDayViewColumn.mjs +12 -7
- package/esm/components/ResourcesDayView/ResourcesDayViewColumn.mjs.map +1 -1
- package/esm/components/ResourcesWeekView/ResourcesWeekView.mjs +16 -8
- package/esm/components/ResourcesWeekView/ResourcesWeekView.mjs.map +1 -1
- package/esm/components/ResourcesWeekView/ResourcesWeekView.module.mjs.map +1 -1
- package/esm/components/ResourcesWeekView/ResourcesWeekViewRow.mjs +12 -7
- package/esm/components/ResourcesWeekView/ResourcesWeekViewRow.mjs.map +1 -1
- package/esm/components/Schedule/Schedule.mjs +2 -0
- package/esm/components/Schedule/Schedule.mjs.map +1 -1
- package/esm/components/WeekView/WeekView.mjs +30 -20
- package/esm/components/WeekView/WeekView.mjs.map +1 -1
- package/esm/components/WeekView/WeekView.module.mjs.map +1 -1
- package/esm/components/WeekView/WeekViewDay.mjs +14 -8
- package/esm/components/WeekView/WeekViewDay.mjs.map +1 -1
- package/esm/components/YearView/YearView.mjs +1 -1
- package/esm/components/YearView/YearView.mjs.map +1 -1
- package/esm/components/YearView/YearViewMonth.mjs +1 -1
- package/esm/components/YearView/YearViewMonth.mjs.map +1 -1
- package/esm/index.mjs +6 -2
- package/esm/utils/add-minutes-to-time/add-minutes-to-time.mjs +17 -0
- package/esm/utils/add-minutes-to-time/add-minutes-to-time.mjs.map +1 -0
- package/esm/utils/clamp-slot-label-interval/clamp-slot-label-interval.mjs +22 -0
- package/esm/utils/clamp-slot-label-interval/clamp-slot-label-interval.mjs.map +1 -0
- package/esm/utils/get-business-hours-mod/get-business-hours-mod.mjs +74 -18
- package/esm/utils/get-business-hours-mod/get-business-hours-mod.mjs.map +1 -1
- package/esm/utils/get-day-time-intervals/get-day-time-intervals.mjs +7 -2
- package/esm/utils/get-day-time-intervals/get-day-time-intervals.mjs.map +1 -1
- package/esm/utils/get-slot-label-groups/get-slot-label-groups.mjs +26 -0
- package/esm/utils/get-slot-label-groups/get-slot-label-groups.mjs.map +1 -0
- package/esm/{components/YearView → utils/get-visible-week-days}/get-visible-week-days.mjs +1 -1
- package/esm/utils/get-visible-week-days/get-visible-week-days.mjs.map +1 -0
- package/lib/components/DayView/DayView.d.ts +3 -1
- package/lib/components/MobileMonthView/MobileMonthView.d.ts +2 -0
- package/lib/components/MobileMonthView/get-mobile-month-view-weeks.d.ts +11 -0
- package/lib/components/ResourcesDayView/ResourcesDayView.d.ts +1 -1
- package/lib/components/ResourcesDayView/ResourcesDayViewColumn.d.ts +2 -1
- package/lib/components/ResourcesWeekView/ResourcesWeekView.d.ts +1 -1
- package/lib/components/ResourcesWeekView/ResourcesWeekViewRow.d.ts +2 -1
- package/lib/components/Schedule/Schedule.d.ts +1 -1
- package/lib/components/WeekView/WeekView.d.ts +3 -1
- package/lib/utils/add-minutes-to-time/add-minutes-to-time.d.ts +1 -0
- package/lib/utils/clamp-slot-label-interval/clamp-slot-label-interval.d.ts +9 -0
- package/lib/utils/get-business-hours-mod/get-business-hours-mod.d.ts +24 -5
- package/lib/utils/get-day-time-intervals/get-day-time-intervals.d.ts +5 -1
- package/lib/utils/get-slot-label-groups/get-slot-label-groups.d.ts +15 -0
- package/lib/utils/index.d.ts +7 -2
- package/package.json +4 -4
- package/styles.css +175 -6
- package/styles.layer.css +175 -6
- package/cjs/components/YearView/get-visible-week-days.cjs.map +0 -1
- package/esm/components/YearView/get-visible-week-days.mjs.map +0 -1
- /package/lib/{components/YearView → utils/get-visible-week-days}/get-visible-week-days.d.ts +0 -0
package/styles.css
CHANGED
|
@@ -813,7 +813,7 @@
|
|
|
813
813
|
}
|
|
814
814
|
|
|
815
815
|
.m_2f950041 {
|
|
816
|
-
height: var(--slot-height);
|
|
816
|
+
height: calc(var(--slot-height) * var(--slot-label-size, 1));
|
|
817
817
|
border-top: 1px solid var(--day-view-border-color);
|
|
818
818
|
font-size: var(--mantine-font-size-sm);
|
|
819
819
|
text-align: right;
|
|
@@ -830,6 +830,10 @@
|
|
|
830
830
|
border-top: 0;
|
|
831
831
|
}
|
|
832
832
|
|
|
833
|
+
.m_2f950041:where([data-sub-hour]) {
|
|
834
|
+
border-top-style: dotted;
|
|
835
|
+
}
|
|
836
|
+
|
|
833
837
|
.m_2f950041:where([data-business-hours]) {
|
|
834
838
|
background-color: var(--day-view-business-hours-bg);
|
|
835
839
|
}
|
|
@@ -838,6 +842,16 @@
|
|
|
838
842
|
background-color: var(--day-view-non-business-hours-bg);
|
|
839
843
|
}
|
|
840
844
|
|
|
845
|
+
.m_2f950041:where([data-partial-business-hours]) {
|
|
846
|
+
background-image: linear-gradient(
|
|
847
|
+
to bottom,
|
|
848
|
+
var(--day-view-non-business-hours-bg) var(--business-hours-from),
|
|
849
|
+
var(--day-view-business-hours-bg) var(--business-hours-from),
|
|
850
|
+
var(--day-view-business-hours-bg) var(--business-hours-to),
|
|
851
|
+
var(--day-view-non-business-hours-bg) var(--business-hours-to)
|
|
852
|
+
);
|
|
853
|
+
}
|
|
854
|
+
|
|
841
855
|
.m_d5dc3060 {
|
|
842
856
|
flex: 1;
|
|
843
857
|
}
|
|
@@ -859,6 +873,11 @@
|
|
|
859
873
|
}
|
|
860
874
|
|
|
861
875
|
@media (hover: hover) {
|
|
876
|
+
|
|
877
|
+
.m_cd179e73:hover {
|
|
878
|
+
background-image: none;
|
|
879
|
+
}
|
|
880
|
+
|
|
862
881
|
:where([data-mantine-color-scheme='light']) .m_cd179e73:hover {
|
|
863
882
|
background-color: var(--mantine-color-gray-1);
|
|
864
883
|
}
|
|
@@ -869,6 +888,11 @@
|
|
|
869
888
|
}
|
|
870
889
|
|
|
871
890
|
@media (hover: none) {
|
|
891
|
+
|
|
892
|
+
.m_cd179e73:active {
|
|
893
|
+
background-image: none;
|
|
894
|
+
}
|
|
895
|
+
|
|
872
896
|
:where([data-mantine-color-scheme='light']) .m_cd179e73:active {
|
|
873
897
|
background-color: var(--mantine-color-gray-1);
|
|
874
898
|
}
|
|
@@ -891,6 +915,20 @@
|
|
|
891
915
|
background-color: var(--day-view-non-business-hours-bg);
|
|
892
916
|
}
|
|
893
917
|
|
|
918
|
+
.m_cd179e73:where([data-partial-business-hours]) {
|
|
919
|
+
background-image: linear-gradient(
|
|
920
|
+
to bottom,
|
|
921
|
+
var(--day-view-non-business-hours-bg) var(--business-hours-from),
|
|
922
|
+
var(--day-view-business-hours-bg) var(--business-hours-from),
|
|
923
|
+
var(--day-view-business-hours-bg) var(--business-hours-to),
|
|
924
|
+
var(--day-view-non-business-hours-bg) var(--business-hours-to)
|
|
925
|
+
);
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
.m_cd179e73:where([data-drop-target]) {
|
|
929
|
+
background-image: none;
|
|
930
|
+
}
|
|
931
|
+
|
|
894
932
|
:where([data-mantine-color-scheme='light']) .m_cd179e73:where([data-drop-target]) {
|
|
895
933
|
background-color: var(--mantine-color-blue-1);
|
|
896
934
|
}
|
|
@@ -919,6 +957,7 @@
|
|
|
919
957
|
|
|
920
958
|
.m_cd179e73:where([data-drag-selected]),
|
|
921
959
|
.m_cd179e73:where([data-drag-selected]):hover {
|
|
960
|
+
background-image: none;
|
|
922
961
|
background-color: var(--mantine-primary-color-light);
|
|
923
962
|
}
|
|
924
963
|
|
|
@@ -948,7 +987,8 @@
|
|
|
948
987
|
pointer-events: none;
|
|
949
988
|
}
|
|
950
989
|
|
|
951
|
-
.m_3c5fb2d5:where([data-hide-sub-hour-grid-lines]) .m_cd179e73:not([data-hour-start])
|
|
990
|
+
.m_3c5fb2d5:where([data-hide-sub-hour-grid-lines]) .m_cd179e73:not([data-hour-start]),
|
|
991
|
+
.m_3c5fb2d5:where([data-hide-sub-hour-grid-lines]) .m_2f950041:where([data-sub-hour]) {
|
|
952
992
|
border-top-color: transparent;
|
|
953
993
|
}
|
|
954
994
|
|
|
@@ -1097,6 +1137,7 @@
|
|
|
1097
1137
|
|
|
1098
1138
|
.m_70d87f99 {
|
|
1099
1139
|
--mobile-month-view-radius: var(--schedule-radius, var(--mantine-radius-default));
|
|
1140
|
+
--mobile-month-view-columns: 7;
|
|
1100
1141
|
--week-numbers-offset: 0rem;
|
|
1101
1142
|
--day-base-color: var(--mantine-color-text);
|
|
1102
1143
|
--day-dimmed-color: color-mix(in srgb, var(--day-base-color), transparent 50%);
|
|
@@ -1165,7 +1206,11 @@
|
|
|
1165
1206
|
}
|
|
1166
1207
|
|
|
1167
1208
|
.m_e357794f {
|
|
1168
|
-
flex: 0 0
|
|
1209
|
+
flex: 0 0
|
|
1210
|
+
calc(
|
|
1211
|
+
100% / var(--mobile-month-view-columns) - var(--week-numbers-offset) /
|
|
1212
|
+
var(--mobile-month-view-columns)
|
|
1213
|
+
);
|
|
1169
1214
|
font-size: var(--mobile-month-view-font-size);
|
|
1170
1215
|
font-weight: var(--mantine-font-weight-medium);
|
|
1171
1216
|
text-align: center;
|
|
@@ -1224,7 +1269,11 @@
|
|
|
1224
1269
|
}
|
|
1225
1270
|
|
|
1226
1271
|
.m_fa29b943 {
|
|
1227
|
-
flex: 0 0
|
|
1272
|
+
flex: 0 0
|
|
1273
|
+
calc(
|
|
1274
|
+
100% / var(--mobile-month-view-columns) - var(--week-numbers-offset) /
|
|
1275
|
+
var(--mobile-month-view-columns)
|
|
1276
|
+
);
|
|
1228
1277
|
height: calc(3rem * var(--mantine-scale));
|
|
1229
1278
|
padding: calc(0.25rem * var(--mantine-scale));
|
|
1230
1279
|
font-weight: var(--mantine-font-weight-medium);
|
|
@@ -1822,7 +1871,7 @@
|
|
|
1822
1871
|
.m_29f492e9 {
|
|
1823
1872
|
border-top: 1px solid var(--week-view-border-color);
|
|
1824
1873
|
text-align: right;
|
|
1825
|
-
height: var(--week-view-slot-height);
|
|
1874
|
+
height: calc(var(--week-view-slot-height) * var(--slot-label-size, 1));
|
|
1826
1875
|
padding: calc(0.25rem * var(--mantine-scale));
|
|
1827
1876
|
padding-inline-end: calc(0.5rem * var(--mantine-scale));
|
|
1828
1877
|
font-size: var(--mantine-font-size-sm);
|
|
@@ -1832,6 +1881,10 @@
|
|
|
1832
1881
|
text-transform: uppercase;
|
|
1833
1882
|
}
|
|
1834
1883
|
|
|
1884
|
+
.m_29f492e9:where([data-sub-hour]) {
|
|
1885
|
+
border-top-style: dotted;
|
|
1886
|
+
}
|
|
1887
|
+
|
|
1835
1888
|
.m_29f492e9:where([data-business-hours]) {
|
|
1836
1889
|
background-color: var(--week-view-business-hours-bg);
|
|
1837
1890
|
}
|
|
@@ -1840,6 +1893,16 @@
|
|
|
1840
1893
|
background-color: var(--week-view-non-business-hours-bg);
|
|
1841
1894
|
}
|
|
1842
1895
|
|
|
1896
|
+
.m_29f492e9:where([data-partial-business-hours]) {
|
|
1897
|
+
background-image: linear-gradient(
|
|
1898
|
+
to bottom,
|
|
1899
|
+
var(--week-view-non-business-hours-bg) var(--business-hours-from),
|
|
1900
|
+
var(--week-view-business-hours-bg) var(--business-hours-from),
|
|
1901
|
+
var(--week-view-business-hours-bg) var(--business-hours-to),
|
|
1902
|
+
var(--week-view-non-business-hours-bg) var(--business-hours-to)
|
|
1903
|
+
);
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1843
1906
|
.m_98199d2f {
|
|
1844
1907
|
flex: 1;
|
|
1845
1908
|
border-inline-start: 1px solid var(--week-view-border-color);
|
|
@@ -2058,6 +2121,11 @@
|
|
|
2058
2121
|
}
|
|
2059
2122
|
|
|
2060
2123
|
@media (hover: hover) {
|
|
2124
|
+
|
|
2125
|
+
.m_8ac0cbcd:hover {
|
|
2126
|
+
background-image: none;
|
|
2127
|
+
}
|
|
2128
|
+
|
|
2061
2129
|
:where([data-mantine-color-scheme='light']) .m_8ac0cbcd:hover {
|
|
2062
2130
|
background-color: var(--mantine-color-gray-1);
|
|
2063
2131
|
}
|
|
@@ -2068,6 +2136,11 @@
|
|
|
2068
2136
|
}
|
|
2069
2137
|
|
|
2070
2138
|
@media (hover: none) {
|
|
2139
|
+
|
|
2140
|
+
.m_8ac0cbcd:active {
|
|
2141
|
+
background-image: none;
|
|
2142
|
+
}
|
|
2143
|
+
|
|
2071
2144
|
:where([data-mantine-color-scheme='light']) .m_8ac0cbcd:active {
|
|
2072
2145
|
background-color: var(--mantine-color-gray-1);
|
|
2073
2146
|
}
|
|
@@ -2085,6 +2158,20 @@
|
|
|
2085
2158
|
background-color: var(--week-view-non-business-hours-bg);
|
|
2086
2159
|
}
|
|
2087
2160
|
|
|
2161
|
+
.m_8ac0cbcd:where([data-partial-business-hours]) {
|
|
2162
|
+
background-image: linear-gradient(
|
|
2163
|
+
to bottom,
|
|
2164
|
+
var(--week-view-non-business-hours-bg) var(--business-hours-from),
|
|
2165
|
+
var(--week-view-business-hours-bg) var(--business-hours-from),
|
|
2166
|
+
var(--week-view-business-hours-bg) var(--business-hours-to),
|
|
2167
|
+
var(--week-view-non-business-hours-bg) var(--business-hours-to)
|
|
2168
|
+
);
|
|
2169
|
+
}
|
|
2170
|
+
|
|
2171
|
+
.m_8ac0cbcd:where([data-drop-target]) {
|
|
2172
|
+
background-image: none;
|
|
2173
|
+
}
|
|
2174
|
+
|
|
2088
2175
|
:where([data-mantine-color-scheme='light']) .m_8ac0cbcd:where([data-drop-target]) {
|
|
2089
2176
|
background-color: var(--mantine-color-blue-1);
|
|
2090
2177
|
}
|
|
@@ -2113,6 +2200,7 @@
|
|
|
2113
2200
|
|
|
2114
2201
|
.m_8ac0cbcd:where([data-drag-selected]),
|
|
2115
2202
|
.m_8ac0cbcd:where([data-drag-selected]):hover {
|
|
2203
|
+
background-image: none;
|
|
2116
2204
|
background-color: var(--mantine-primary-color-light);
|
|
2117
2205
|
}
|
|
2118
2206
|
|
|
@@ -2152,7 +2240,8 @@
|
|
|
2152
2240
|
|
|
2153
2241
|
.m_6b2099af:where([data-hide-sub-hour-grid-lines])
|
|
2154
2242
|
.m_cd58ae46
|
|
2155
|
-
.m_8ac0cbcd:not([data-hour-start])
|
|
2243
|
+
.m_8ac0cbcd:not([data-hour-start]),
|
|
2244
|
+
.m_6b2099af:where([data-hide-sub-hour-grid-lines]) .m_29f492e9:where([data-sub-hour]) {
|
|
2156
2245
|
border-top-color: transparent;
|
|
2157
2246
|
}
|
|
2158
2247
|
|
|
@@ -2592,6 +2681,7 @@
|
|
|
2592
2681
|
}
|
|
2593
2682
|
|
|
2594
2683
|
.m_25154d8d {
|
|
2684
|
+
--_business-hours-direction: to right;
|
|
2595
2685
|
--resources-day-view-radius: var(--schedule-radius, var(--mantine-radius-default));
|
|
2596
2686
|
--resources-day-view-resource-label-width: calc(7.5rem * var(--mantine-scale));
|
|
2597
2687
|
--resources-day-view-slot-width: calc(5rem * var(--mantine-scale));
|
|
@@ -2612,6 +2702,10 @@
|
|
|
2612
2702
|
--resources-day-view-non-business-hours-bg: var(--mantine-color-dark-6);
|
|
2613
2703
|
}
|
|
2614
2704
|
|
|
2705
|
+
[dir="rtl"] .m_25154d8d {
|
|
2706
|
+
--_business-hours-direction: to left;
|
|
2707
|
+
}
|
|
2708
|
+
|
|
2615
2709
|
.m_d790b40f {
|
|
2616
2710
|
border: 1px solid var(--resources-day-view-border-color);
|
|
2617
2711
|
border-radius: var(--resources-day-view-radius);
|
|
@@ -2693,6 +2787,16 @@
|
|
|
2693
2787
|
background-color: var(--resources-day-view-non-business-hours-bg);
|
|
2694
2788
|
}
|
|
2695
2789
|
|
|
2790
|
+
.m_de91b51a:where([data-partial-business-hours]) {
|
|
2791
|
+
background-image: linear-gradient(
|
|
2792
|
+
var(--_business-hours-direction),
|
|
2793
|
+
var(--resources-day-view-non-business-hours-bg) var(--business-hours-from),
|
|
2794
|
+
var(--resources-day-view-business-hours-bg) var(--business-hours-from),
|
|
2795
|
+
var(--resources-day-view-business-hours-bg) var(--business-hours-to),
|
|
2796
|
+
var(--resources-day-view-non-business-hours-bg) var(--business-hours-to)
|
|
2797
|
+
);
|
|
2798
|
+
}
|
|
2799
|
+
|
|
2696
2800
|
.m_6a0ced0d {
|
|
2697
2801
|
display: flex;
|
|
2698
2802
|
border-top: 1px solid var(--resources-day-view-border-color);
|
|
@@ -2784,6 +2888,11 @@
|
|
|
2784
2888
|
}
|
|
2785
2889
|
|
|
2786
2890
|
@media (hover: hover) {
|
|
2891
|
+
|
|
2892
|
+
.m_90acfcab:hover {
|
|
2893
|
+
background-image: none;
|
|
2894
|
+
}
|
|
2895
|
+
|
|
2787
2896
|
:where([data-mantine-color-scheme='light']) .m_90acfcab:hover {
|
|
2788
2897
|
background-color: var(--mantine-color-gray-1);
|
|
2789
2898
|
}
|
|
@@ -2794,6 +2903,11 @@
|
|
|
2794
2903
|
}
|
|
2795
2904
|
|
|
2796
2905
|
@media (hover: none) {
|
|
2906
|
+
|
|
2907
|
+
.m_90acfcab:active {
|
|
2908
|
+
background-image: none;
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2797
2911
|
:where([data-mantine-color-scheme='light']) .m_90acfcab:active {
|
|
2798
2912
|
background-color: var(--mantine-color-gray-1);
|
|
2799
2913
|
}
|
|
@@ -2819,6 +2933,20 @@
|
|
|
2819
2933
|
background-color: var(--resources-day-view-non-business-hours-bg);
|
|
2820
2934
|
}
|
|
2821
2935
|
|
|
2936
|
+
.m_90acfcab:where([data-partial-business-hours]) {
|
|
2937
|
+
background-image: linear-gradient(
|
|
2938
|
+
var(--_business-hours-direction),
|
|
2939
|
+
var(--resources-day-view-non-business-hours-bg) var(--business-hours-from),
|
|
2940
|
+
var(--resources-day-view-business-hours-bg) var(--business-hours-from),
|
|
2941
|
+
var(--resources-day-view-business-hours-bg) var(--business-hours-to),
|
|
2942
|
+
var(--resources-day-view-non-business-hours-bg) var(--business-hours-to)
|
|
2943
|
+
);
|
|
2944
|
+
}
|
|
2945
|
+
|
|
2946
|
+
.m_90acfcab:where([data-drop-target]) {
|
|
2947
|
+
background-image: none;
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2822
2950
|
:where([data-mantine-color-scheme='light']) .m_90acfcab:where([data-drop-target]) {
|
|
2823
2951
|
background-color: var(--mantine-color-blue-1);
|
|
2824
2952
|
}
|
|
@@ -2847,6 +2975,7 @@
|
|
|
2847
2975
|
|
|
2848
2976
|
.m_90acfcab:where([data-drag-selected]),
|
|
2849
2977
|
.m_90acfcab:where([data-drag-selected]):hover {
|
|
2978
|
+
background-image: none;
|
|
2850
2979
|
background-color: var(--mantine-primary-color-light);
|
|
2851
2980
|
}
|
|
2852
2981
|
|
|
@@ -3117,6 +3246,7 @@
|
|
|
3117
3246
|
}
|
|
3118
3247
|
|
|
3119
3248
|
.m_ed4c47cf {
|
|
3249
|
+
--_business-hours-direction: to right;
|
|
3120
3250
|
--resources-week-view-radius: var(--schedule-radius, var(--mantine-radius-default));
|
|
3121
3251
|
--resources-week-view-resource-label-width: calc(7.5rem * var(--mantine-scale));
|
|
3122
3252
|
--resources-week-view-slot-width: calc(3.75rem * var(--mantine-scale));
|
|
@@ -3137,6 +3267,10 @@
|
|
|
3137
3267
|
--resources-week-view-non-business-hours-bg: var(--mantine-color-dark-6);
|
|
3138
3268
|
}
|
|
3139
3269
|
|
|
3270
|
+
[dir="rtl"] .m_ed4c47cf {
|
|
3271
|
+
--_business-hours-direction: to left;
|
|
3272
|
+
}
|
|
3273
|
+
|
|
3140
3274
|
.m_5b5cbd51 {
|
|
3141
3275
|
border: 1px solid var(--resources-week-view-border-color);
|
|
3142
3276
|
border-radius: var(--resources-week-view-radius);
|
|
@@ -3254,6 +3388,16 @@
|
|
|
3254
3388
|
background-color: var(--resources-week-view-non-business-hours-bg);
|
|
3255
3389
|
}
|
|
3256
3390
|
|
|
3391
|
+
.m_a6832518:where([data-partial-business-hours]) {
|
|
3392
|
+
background-image: linear-gradient(
|
|
3393
|
+
var(--_business-hours-direction),
|
|
3394
|
+
var(--resources-week-view-non-business-hours-bg) var(--business-hours-from),
|
|
3395
|
+
var(--resources-week-view-business-hours-bg) var(--business-hours-from),
|
|
3396
|
+
var(--resources-week-view-business-hours-bg) var(--business-hours-to),
|
|
3397
|
+
var(--resources-week-view-non-business-hours-bg) var(--business-hours-to)
|
|
3398
|
+
);
|
|
3399
|
+
}
|
|
3400
|
+
|
|
3257
3401
|
.m_9fd9b38b {
|
|
3258
3402
|
display: flex;
|
|
3259
3403
|
border-top: 1px solid var(--resources-week-view-border-color);
|
|
@@ -3349,6 +3493,11 @@
|
|
|
3349
3493
|
}
|
|
3350
3494
|
|
|
3351
3495
|
@media (hover: hover) {
|
|
3496
|
+
|
|
3497
|
+
.m_ed965429:hover {
|
|
3498
|
+
background-image: none;
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3352
3501
|
:where([data-mantine-color-scheme='light']) .m_ed965429:hover {
|
|
3353
3502
|
background-color: var(--mantine-color-gray-1);
|
|
3354
3503
|
}
|
|
@@ -3359,6 +3508,11 @@
|
|
|
3359
3508
|
}
|
|
3360
3509
|
|
|
3361
3510
|
@media (hover: none) {
|
|
3511
|
+
|
|
3512
|
+
.m_ed965429:active {
|
|
3513
|
+
background-image: none;
|
|
3514
|
+
}
|
|
3515
|
+
|
|
3362
3516
|
:where([data-mantine-color-scheme='light']) .m_ed965429:active {
|
|
3363
3517
|
background-color: var(--mantine-color-gray-1);
|
|
3364
3518
|
}
|
|
@@ -3380,6 +3534,20 @@
|
|
|
3380
3534
|
background-color: var(--resources-week-view-non-business-hours-bg);
|
|
3381
3535
|
}
|
|
3382
3536
|
|
|
3537
|
+
.m_ed965429:where([data-partial-business-hours]) {
|
|
3538
|
+
background-image: linear-gradient(
|
|
3539
|
+
var(--_business-hours-direction),
|
|
3540
|
+
var(--resources-week-view-non-business-hours-bg) var(--business-hours-from),
|
|
3541
|
+
var(--resources-week-view-business-hours-bg) var(--business-hours-from),
|
|
3542
|
+
var(--resources-week-view-business-hours-bg) var(--business-hours-to),
|
|
3543
|
+
var(--resources-week-view-non-business-hours-bg) var(--business-hours-to)
|
|
3544
|
+
);
|
|
3545
|
+
}
|
|
3546
|
+
|
|
3547
|
+
.m_ed965429:where([data-drop-target]) {
|
|
3548
|
+
background-image: none;
|
|
3549
|
+
}
|
|
3550
|
+
|
|
3383
3551
|
:where([data-mantine-color-scheme='light']) .m_ed965429:where([data-drop-target]) {
|
|
3384
3552
|
background-color: var(--mantine-color-blue-1);
|
|
3385
3553
|
}
|
|
@@ -3408,6 +3576,7 @@
|
|
|
3408
3576
|
|
|
3409
3577
|
.m_ed965429:where([data-drag-selected]),
|
|
3410
3578
|
.m_ed965429:where([data-drag-selected]):hover {
|
|
3579
|
+
background-image: none;
|
|
3411
3580
|
background-color: var(--mantine-primary-color-light);
|
|
3412
3581
|
}
|
|
3413
3582
|
|