@mantine/schedule 9.0.0-alpha.0 → 9.0.0-alpha.1
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/LICENSE +21 -0
- package/package.json +4 -4
- package/styles.css +18 -18
- package/styles.layer.css +18 -18
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2021 Vitaly Rtishchev
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mantine/schedule",
|
|
3
|
-
"version": "9.0.0-alpha.
|
|
3
|
+
"version": "9.0.0-alpha.1",
|
|
4
4
|
"description": "Schedule Mantine component",
|
|
5
5
|
"homepage": "https://mantine.dev/",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,9 +35,9 @@
|
|
|
35
35
|
"directory": "packages/@mantine/schedule"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
|
-
"@mantine/core": "9.0.0-alpha.
|
|
39
|
-
"@mantine/dates": "9.0.0-alpha.
|
|
40
|
-
"@mantine/hooks": "9.0.0-alpha.
|
|
38
|
+
"@mantine/core": "9.0.0-alpha.1",
|
|
39
|
+
"@mantine/dates": "9.0.0-alpha.1",
|
|
40
|
+
"@mantine/hooks": "9.0.0-alpha.1",
|
|
41
41
|
"react": "^18.x || ^19.x",
|
|
42
42
|
"react-dom": "^18.x || ^19.x"
|
|
43
43
|
},
|
package/styles.css
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
background-color: var(--_indicator-color);
|
|
52
52
|
color: var(--mantine-color-white);
|
|
53
53
|
font-size: var(--mantine-font-size-xs);
|
|
54
|
-
font-weight:
|
|
54
|
+
font-weight: var(--mantine-font-weight-bold);
|
|
55
55
|
box-shadow: var(--mantine-shadow-sm);
|
|
56
56
|
white-space: nowrap;
|
|
57
57
|
font-variant-numeric: tabular-nums;
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
color: var(--event-color);
|
|
144
144
|
pointer-events: all;
|
|
145
145
|
border-radius: var(--event-radius);
|
|
146
|
-
font-weight:
|
|
146
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
147
147
|
font-size: calc(0.75rem * var(--mantine-scale));
|
|
148
148
|
line-height: 1;
|
|
149
149
|
padding: calc(0.1875rem * var(--mantine-scale)) calc(0.25rem * var(--mantine-scale));
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
color: var(--mantine-color-default-color);
|
|
282
282
|
background: var(--mantine-color-default);
|
|
283
283
|
font-size: var(--mantine-font-size-sm);
|
|
284
|
-
font-weight:
|
|
284
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
.m_b366a0f3:where([data-interactive]) {
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
.m_807fa76f {
|
|
355
|
-
font-weight:
|
|
355
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
356
356
|
font-size: var(--mantine-font-size-sm);
|
|
357
357
|
padding-inline: calc(0.5rem * var(--mantine-scale));
|
|
358
358
|
margin-bottom: calc(0.375rem * var(--mantine-scale));
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
|
|
450
450
|
.m_feecf21b {
|
|
451
451
|
display: none;
|
|
452
|
-
font-weight:
|
|
452
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
@container (width <= 600px) {
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
align-items: center;
|
|
494
494
|
justify-content: center;
|
|
495
495
|
font-size: var(--mantine-font-size-sm);
|
|
496
|
-
font-weight:
|
|
496
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
.m_d5502881 {
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
display: flex;
|
|
701
701
|
align-items: center;
|
|
702
702
|
gap: calc(0.25rem * var(--mantine-scale));
|
|
703
|
-
font-weight:
|
|
703
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
704
704
|
cursor: pointer;
|
|
705
705
|
user-select: none;
|
|
706
706
|
font-size: var(--mobile-month-view-font-size);
|
|
@@ -735,7 +735,7 @@
|
|
|
735
735
|
.m_e357794f {
|
|
736
736
|
flex: 0 0 calc(100% / 7 - var(--week-numbers-offset) / 7);
|
|
737
737
|
font-size: var(--mobile-month-view-font-size);
|
|
738
|
-
font-weight:
|
|
738
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
739
739
|
text-align: center;
|
|
740
740
|
text-transform: capitalize;
|
|
741
741
|
display: flex;
|
|
@@ -760,7 +760,7 @@
|
|
|
760
760
|
font-size: var(--mantine-font-size-xs);
|
|
761
761
|
border-radius: var(--mobile-month-view-radius);
|
|
762
762
|
padding: calc(0.25rem * var(--mantine-scale));
|
|
763
|
-
font-weight:
|
|
763
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
764
764
|
cursor: pointer;
|
|
765
765
|
user-select: none;
|
|
766
766
|
color: var(--day-dimmed-color);
|
|
@@ -795,7 +795,7 @@
|
|
|
795
795
|
flex: 0 0 calc(100% / 7 - var(--week-numbers-offset) / 7);
|
|
796
796
|
height: calc(3rem * var(--mantine-scale));
|
|
797
797
|
padding: calc(0.25rem * var(--mantine-scale));
|
|
798
|
-
font-weight:
|
|
798
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
799
799
|
font-size: var(--mobile-month-view-font-size);
|
|
800
800
|
color: var(--day-base-color);
|
|
801
801
|
cursor: pointer;
|
|
@@ -1006,7 +1006,7 @@
|
|
|
1006
1006
|
border-block-end: none;
|
|
1007
1007
|
border-inline-start: var(--month-view-border);
|
|
1008
1008
|
border-inline-end: none;
|
|
1009
|
-
font-weight:
|
|
1009
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1010
1010
|
cursor: pointer;
|
|
1011
1011
|
user-select: none;
|
|
1012
1012
|
}
|
|
@@ -1058,7 +1058,7 @@
|
|
|
1058
1058
|
border-block-end: none;
|
|
1059
1059
|
border-inline-start: var(--month-view-border);
|
|
1060
1060
|
border-inline-end: none;
|
|
1061
|
-
font-weight:
|
|
1061
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1062
1062
|
text-align: center;
|
|
1063
1063
|
text-transform: capitalize;
|
|
1064
1064
|
display: flex;
|
|
@@ -1093,7 +1093,7 @@
|
|
|
1093
1093
|
flex: 0 0 calc(100% / 7 - var(--week-numbers-offset) / 7);
|
|
1094
1094
|
height: calc(6.25rem * var(--mantine-scale));
|
|
1095
1095
|
padding: calc(0.25rem * var(--mantine-scale));
|
|
1096
|
-
font-weight:
|
|
1096
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1097
1097
|
border-block-start: var(--month-view-border);
|
|
1098
1098
|
border-block-end: none;
|
|
1099
1099
|
border-inline-start: var(--month-view-border);
|
|
@@ -1362,7 +1362,7 @@
|
|
|
1362
1362
|
align-items: center;
|
|
1363
1363
|
justify-content: center;
|
|
1364
1364
|
line-height: 1;
|
|
1365
|
-
font-weight:
|
|
1365
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1366
1366
|
user-select: none;
|
|
1367
1367
|
cursor: pointer;
|
|
1368
1368
|
flex: 1;
|
|
@@ -1536,7 +1536,7 @@
|
|
|
1536
1536
|
}
|
|
1537
1537
|
|
|
1538
1538
|
.m_f1892b6a {
|
|
1539
|
-
font-weight:
|
|
1539
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1540
1540
|
text-align: center;
|
|
1541
1541
|
font-size: var(--mantine-font-size-lg);
|
|
1542
1542
|
}
|
|
@@ -1701,7 +1701,7 @@
|
|
|
1701
1701
|
font-size: var(--year-view-font-size);
|
|
1702
1702
|
border-radius: var(--year-view-radius);
|
|
1703
1703
|
padding: calc(0.25rem * var(--mantine-scale));
|
|
1704
|
-
font-weight:
|
|
1704
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1705
1705
|
cursor: pointer;
|
|
1706
1706
|
user-select: none;
|
|
1707
1707
|
color: var(--day-dimmed-color);
|
|
@@ -1745,7 +1745,7 @@
|
|
|
1745
1745
|
height: calc(2.25rem * var(--mantine-scale));
|
|
1746
1746
|
min-width: calc(2.25rem * var(--mantine-scale));
|
|
1747
1747
|
font-size: var(--year-view-font-size);
|
|
1748
|
-
font-weight:
|
|
1748
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1749
1749
|
text-align: center;
|
|
1750
1750
|
text-transform: capitalize;
|
|
1751
1751
|
display: flex;
|
|
@@ -1856,7 +1856,7 @@
|
|
|
1856
1856
|
padding-block: 0.2cqw;
|
|
1857
1857
|
margin-bottom: 0.5cqw;
|
|
1858
1858
|
font-size: var(--year-view-font-size);
|
|
1859
|
-
font-weight:
|
|
1859
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1860
1860
|
text-transform: capitalize;
|
|
1861
1861
|
border-radius: var(--year-view-radius);
|
|
1862
1862
|
}
|
package/styles.layer.css
CHANGED
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
background-color: var(--_indicator-color);
|
|
52
52
|
color: var(--mantine-color-white);
|
|
53
53
|
font-size: var(--mantine-font-size-xs);
|
|
54
|
-
font-weight:
|
|
54
|
+
font-weight: var(--mantine-font-weight-bold);
|
|
55
55
|
box-shadow: var(--mantine-shadow-sm);
|
|
56
56
|
white-space: nowrap;
|
|
57
57
|
font-variant-numeric: tabular-nums;
|
|
@@ -143,7 +143,7 @@
|
|
|
143
143
|
color: var(--event-color);
|
|
144
144
|
pointer-events: all;
|
|
145
145
|
border-radius: var(--event-radius);
|
|
146
|
-
font-weight:
|
|
146
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
147
147
|
font-size: calc(0.75rem * var(--mantine-scale));
|
|
148
148
|
line-height: 1;
|
|
149
149
|
padding: calc(0.1875rem * var(--mantine-scale)) calc(0.25rem * var(--mantine-scale));
|
|
@@ -281,7 +281,7 @@
|
|
|
281
281
|
color: var(--mantine-color-default-color);
|
|
282
282
|
background: var(--mantine-color-default);
|
|
283
283
|
font-size: var(--mantine-font-size-sm);
|
|
284
|
-
font-weight:
|
|
284
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
285
285
|
}
|
|
286
286
|
|
|
287
287
|
.m_b366a0f3:where([data-interactive]) {
|
|
@@ -352,7 +352,7 @@
|
|
|
352
352
|
}
|
|
353
353
|
|
|
354
354
|
.m_807fa76f {
|
|
355
|
-
font-weight:
|
|
355
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
356
356
|
font-size: var(--mantine-font-size-sm);
|
|
357
357
|
padding-inline: calc(0.5rem * var(--mantine-scale));
|
|
358
358
|
margin-bottom: calc(0.375rem * var(--mantine-scale));
|
|
@@ -449,7 +449,7 @@
|
|
|
449
449
|
|
|
450
450
|
.m_feecf21b {
|
|
451
451
|
display: none;
|
|
452
|
-
font-weight:
|
|
452
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
453
453
|
}
|
|
454
454
|
|
|
455
455
|
@container (width <= 600px) {
|
|
@@ -493,7 +493,7 @@
|
|
|
493
493
|
align-items: center;
|
|
494
494
|
justify-content: center;
|
|
495
495
|
font-size: var(--mantine-font-size-sm);
|
|
496
|
-
font-weight:
|
|
496
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
497
497
|
}
|
|
498
498
|
|
|
499
499
|
.m_d5502881 {
|
|
@@ -700,7 +700,7 @@
|
|
|
700
700
|
display: flex;
|
|
701
701
|
align-items: center;
|
|
702
702
|
gap: calc(0.25rem * var(--mantine-scale));
|
|
703
|
-
font-weight:
|
|
703
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
704
704
|
cursor: pointer;
|
|
705
705
|
user-select: none;
|
|
706
706
|
font-size: var(--mobile-month-view-font-size);
|
|
@@ -735,7 +735,7 @@
|
|
|
735
735
|
.m_e357794f {
|
|
736
736
|
flex: 0 0 calc(100% / 7 - var(--week-numbers-offset) / 7);
|
|
737
737
|
font-size: var(--mobile-month-view-font-size);
|
|
738
|
-
font-weight:
|
|
738
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
739
739
|
text-align: center;
|
|
740
740
|
text-transform: capitalize;
|
|
741
741
|
display: flex;
|
|
@@ -760,7 +760,7 @@
|
|
|
760
760
|
font-size: var(--mantine-font-size-xs);
|
|
761
761
|
border-radius: var(--mobile-month-view-radius);
|
|
762
762
|
padding: calc(0.25rem * var(--mantine-scale));
|
|
763
|
-
font-weight:
|
|
763
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
764
764
|
cursor: pointer;
|
|
765
765
|
user-select: none;
|
|
766
766
|
color: var(--day-dimmed-color);
|
|
@@ -795,7 +795,7 @@
|
|
|
795
795
|
flex: 0 0 calc(100% / 7 - var(--week-numbers-offset) / 7);
|
|
796
796
|
height: calc(3rem * var(--mantine-scale));
|
|
797
797
|
padding: calc(0.25rem * var(--mantine-scale));
|
|
798
|
-
font-weight:
|
|
798
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
799
799
|
font-size: var(--mobile-month-view-font-size);
|
|
800
800
|
color: var(--day-base-color);
|
|
801
801
|
cursor: pointer;
|
|
@@ -1006,7 +1006,7 @@
|
|
|
1006
1006
|
border-block-end: none;
|
|
1007
1007
|
border-inline-start: var(--month-view-border);
|
|
1008
1008
|
border-inline-end: none;
|
|
1009
|
-
font-weight:
|
|
1009
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1010
1010
|
cursor: pointer;
|
|
1011
1011
|
user-select: none;
|
|
1012
1012
|
}
|
|
@@ -1058,7 +1058,7 @@
|
|
|
1058
1058
|
border-block-end: none;
|
|
1059
1059
|
border-inline-start: var(--month-view-border);
|
|
1060
1060
|
border-inline-end: none;
|
|
1061
|
-
font-weight:
|
|
1061
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1062
1062
|
text-align: center;
|
|
1063
1063
|
text-transform: capitalize;
|
|
1064
1064
|
display: flex;
|
|
@@ -1093,7 +1093,7 @@
|
|
|
1093
1093
|
flex: 0 0 calc(100% / 7 - var(--week-numbers-offset) / 7);
|
|
1094
1094
|
height: calc(6.25rem * var(--mantine-scale));
|
|
1095
1095
|
padding: calc(0.25rem * var(--mantine-scale));
|
|
1096
|
-
font-weight:
|
|
1096
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1097
1097
|
border-block-start: var(--month-view-border);
|
|
1098
1098
|
border-block-end: none;
|
|
1099
1099
|
border-inline-start: var(--month-view-border);
|
|
@@ -1362,7 +1362,7 @@
|
|
|
1362
1362
|
align-items: center;
|
|
1363
1363
|
justify-content: center;
|
|
1364
1364
|
line-height: 1;
|
|
1365
|
-
font-weight:
|
|
1365
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1366
1366
|
user-select: none;
|
|
1367
1367
|
cursor: pointer;
|
|
1368
1368
|
flex: 1;
|
|
@@ -1536,7 +1536,7 @@
|
|
|
1536
1536
|
}
|
|
1537
1537
|
|
|
1538
1538
|
.m_f1892b6a {
|
|
1539
|
-
font-weight:
|
|
1539
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1540
1540
|
text-align: center;
|
|
1541
1541
|
font-size: var(--mantine-font-size-lg);
|
|
1542
1542
|
}
|
|
@@ -1701,7 +1701,7 @@
|
|
|
1701
1701
|
font-size: var(--year-view-font-size);
|
|
1702
1702
|
border-radius: var(--year-view-radius);
|
|
1703
1703
|
padding: calc(0.25rem * var(--mantine-scale));
|
|
1704
|
-
font-weight:
|
|
1704
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1705
1705
|
cursor: pointer;
|
|
1706
1706
|
user-select: none;
|
|
1707
1707
|
color: var(--day-dimmed-color);
|
|
@@ -1745,7 +1745,7 @@
|
|
|
1745
1745
|
height: calc(2.25rem * var(--mantine-scale));
|
|
1746
1746
|
min-width: calc(2.25rem * var(--mantine-scale));
|
|
1747
1747
|
font-size: var(--year-view-font-size);
|
|
1748
|
-
font-weight:
|
|
1748
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1749
1749
|
text-align: center;
|
|
1750
1750
|
text-transform: capitalize;
|
|
1751
1751
|
display: flex;
|
|
@@ -1856,7 +1856,7 @@
|
|
|
1856
1856
|
padding-block: 0.2cqw;
|
|
1857
1857
|
margin-bottom: 0.5cqw;
|
|
1858
1858
|
font-size: var(--year-view-font-size);
|
|
1859
|
-
font-weight:
|
|
1859
|
+
font-weight: var(--mantine-font-weight-medium);
|
|
1860
1860
|
text-transform: capitalize;
|
|
1861
1861
|
border-radius: var(--year-view-radius);
|
|
1862
1862
|
}
|