@fullcalendar/mui 7.0.0-beta.5

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.
Files changed (128) hide show
  1. package/LICENSE.md +22 -0
  2. package/README.md +79 -0
  3. package/breezy/theme.css +987 -0
  4. package/cjs/breezy/EventCalendar.cjs +62 -0
  5. package/cjs/breezy/EventCalendarContainer.cjs +35 -0
  6. package/cjs/breezy/EventCalendarToolbar.cjs +65 -0
  7. package/cjs/breezy/EventCalendarViews.cjs +283 -0
  8. package/cjs/breezy/ResourceTimeGrid.cjs +57 -0
  9. package/cjs/breezy/ResourceTimeline.cjs +54 -0
  10. package/cjs/breezy/SchedulerViews.cjs +70 -0
  11. package/cjs/breezy/icons.cjs +37 -0
  12. package/cjs/classic/EventCalendar.cjs +62 -0
  13. package/cjs/classic/EventCalendarContainer.cjs +22 -0
  14. package/cjs/classic/EventCalendarToolbar.cjs +62 -0
  15. package/cjs/classic/EventCalendarViews.cjs +230 -0
  16. package/cjs/classic/ResourceTimeGrid.cjs +57 -0
  17. package/cjs/classic/ResourceTimeline.cjs +54 -0
  18. package/cjs/classic/SchedulerViews.cjs +74 -0
  19. package/cjs/classic/icons.cjs +37 -0
  20. package/cjs/forma/EventCalendar.cjs +62 -0
  21. package/cjs/forma/EventCalendarContainer.cjs +35 -0
  22. package/cjs/forma/EventCalendarToolbar.cjs +64 -0
  23. package/cjs/forma/EventCalendarViews.cjs +251 -0
  24. package/cjs/forma/ResourceTimeGrid.cjs +57 -0
  25. package/cjs/forma/ResourceTimeline.cjs +54 -0
  26. package/cjs/forma/SchedulerViews.cjs +62 -0
  27. package/cjs/forma/icons.cjs +37 -0
  28. package/cjs/monarch/EventCalendar.cjs +62 -0
  29. package/cjs/monarch/EventCalendarContainer.cjs +35 -0
  30. package/cjs/monarch/EventCalendarToolbar.cjs +62 -0
  31. package/cjs/monarch/EventCalendarViews.cjs +252 -0
  32. package/cjs/monarch/ResourceTimeGrid.cjs +57 -0
  33. package/cjs/monarch/ResourceTimeline.cjs +54 -0
  34. package/cjs/monarch/SchedulerViews.cjs +83 -0
  35. package/cjs/monarch/icons.cjs +37 -0
  36. package/cjs/pulse/EventCalendar.cjs +62 -0
  37. package/cjs/pulse/EventCalendarContainer.cjs +22 -0
  38. package/cjs/pulse/EventCalendarToolbar.cjs +62 -0
  39. package/cjs/pulse/EventCalendarViews.cjs +268 -0
  40. package/cjs/pulse/ResourceTimeGrid.cjs +57 -0
  41. package/cjs/pulse/ResourceTimeline.cjs +54 -0
  42. package/cjs/pulse/SchedulerViews.cjs +58 -0
  43. package/cjs/pulse/icons.cjs +37 -0
  44. package/classic/theme.css +811 -0
  45. package/esm/breezy/EventCalendar.d.ts +15 -0
  46. package/esm/breezy/EventCalendar.js +49 -0
  47. package/esm/breezy/EventCalendarContainer.d.ts +15 -0
  48. package/esm/breezy/EventCalendarContainer.js +26 -0
  49. package/esm/breezy/EventCalendarToolbar.d.ts +16 -0
  50. package/esm/breezy/EventCalendarToolbar.js +51 -0
  51. package/esm/breezy/EventCalendarViews.d.ts +33 -0
  52. package/esm/breezy/EventCalendarViews.js +250 -0
  53. package/esm/breezy/ResourceTimeGrid.d.ts +15 -0
  54. package/esm/breezy/ResourceTimeGrid.js +45 -0
  55. package/esm/breezy/ResourceTimeline.d.ts +15 -0
  56. package/esm/breezy/ResourceTimeline.js +43 -0
  57. package/esm/breezy/SchedulerViews.d.ts +8 -0
  58. package/esm/breezy/SchedulerViews.js +62 -0
  59. package/esm/breezy/icons.d.ts +11 -0
  60. package/esm/breezy/icons.js +22 -0
  61. package/esm/classic/EventCalendar.d.ts +15 -0
  62. package/esm/classic/EventCalendar.js +49 -0
  63. package/esm/classic/EventCalendarContainer.d.ts +11 -0
  64. package/esm/classic/EventCalendarContainer.js +13 -0
  65. package/esm/classic/EventCalendarToolbar.d.ts +17 -0
  66. package/esm/classic/EventCalendarToolbar.js +48 -0
  67. package/esm/classic/EventCalendarViews.d.ts +31 -0
  68. package/esm/classic/EventCalendarViews.js +205 -0
  69. package/esm/classic/ResourceTimeGrid.d.ts +15 -0
  70. package/esm/classic/ResourceTimeGrid.js +45 -0
  71. package/esm/classic/ResourceTimeline.d.ts +15 -0
  72. package/esm/classic/ResourceTimeline.js +43 -0
  73. package/esm/classic/SchedulerViews.d.ts +8 -0
  74. package/esm/classic/SchedulerViews.js +66 -0
  75. package/esm/classic/icons.d.ts +11 -0
  76. package/esm/classic/icons.js +22 -0
  77. package/esm/forma/EventCalendar.d.ts +15 -0
  78. package/esm/forma/EventCalendar.js +49 -0
  79. package/esm/forma/EventCalendarContainer.d.ts +15 -0
  80. package/esm/forma/EventCalendarContainer.js +26 -0
  81. package/esm/forma/EventCalendarToolbar.d.ts +16 -0
  82. package/esm/forma/EventCalendarToolbar.js +50 -0
  83. package/esm/forma/EventCalendarViews.d.ts +30 -0
  84. package/esm/forma/EventCalendarViews.js +221 -0
  85. package/esm/forma/ResourceTimeGrid.d.ts +15 -0
  86. package/esm/forma/ResourceTimeGrid.js +45 -0
  87. package/esm/forma/ResourceTimeline.d.ts +15 -0
  88. package/esm/forma/ResourceTimeline.js +43 -0
  89. package/esm/forma/SchedulerViews.d.ts +8 -0
  90. package/esm/forma/SchedulerViews.js +54 -0
  91. package/esm/forma/icons.d.ts +11 -0
  92. package/esm/forma/icons.js +22 -0
  93. package/esm/monarch/EventCalendar.d.ts +15 -0
  94. package/esm/monarch/EventCalendar.js +49 -0
  95. package/esm/monarch/EventCalendarContainer.d.ts +15 -0
  96. package/esm/monarch/EventCalendarContainer.js +26 -0
  97. package/esm/monarch/EventCalendarToolbar.d.ts +16 -0
  98. package/esm/monarch/EventCalendarToolbar.js +48 -0
  99. package/esm/monarch/EventCalendarViews.d.ts +27 -0
  100. package/esm/monarch/EventCalendarViews.js +225 -0
  101. package/esm/monarch/ResourceTimeGrid.d.ts +15 -0
  102. package/esm/monarch/ResourceTimeGrid.js +45 -0
  103. package/esm/monarch/ResourceTimeline.d.ts +15 -0
  104. package/esm/monarch/ResourceTimeline.js +43 -0
  105. package/esm/monarch/SchedulerViews.d.ts +8 -0
  106. package/esm/monarch/SchedulerViews.js +75 -0
  107. package/esm/monarch/icons.d.ts +11 -0
  108. package/esm/monarch/icons.js +22 -0
  109. package/esm/pulse/EventCalendar.d.ts +15 -0
  110. package/esm/pulse/EventCalendar.js +49 -0
  111. package/esm/pulse/EventCalendarContainer.d.ts +11 -0
  112. package/esm/pulse/EventCalendarContainer.js +13 -0
  113. package/esm/pulse/EventCalendarToolbar.d.ts +17 -0
  114. package/esm/pulse/EventCalendarToolbar.js +48 -0
  115. package/esm/pulse/EventCalendarViews.d.ts +29 -0
  116. package/esm/pulse/EventCalendarViews.js +239 -0
  117. package/esm/pulse/ResourceTimeGrid.d.ts +15 -0
  118. package/esm/pulse/ResourceTimeGrid.js +45 -0
  119. package/esm/pulse/ResourceTimeline.d.ts +15 -0
  120. package/esm/pulse/ResourceTimeline.js +43 -0
  121. package/esm/pulse/SchedulerViews.d.ts +8 -0
  122. package/esm/pulse/SchedulerViews.js +50 -0
  123. package/esm/pulse/icons.d.ts +11 -0
  124. package/esm/pulse/icons.js +22 -0
  125. package/forma/theme.css +936 -0
  126. package/monarch/theme.css +1014 -0
  127. package/package.json +371 -0
  128. package/pulse/theme.css +913 -0
package/LICENSE.md ADDED
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Adam Shaw
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining
6
+ a copy of this software and associated documentation files (the
7
+ "Software"), to deal in the Software without restriction, including
8
+ without limitation the rights to use, copy, modify, merge, publish,
9
+ distribute, sublicense, and/or sell copies of the Software, and to
10
+ permit persons to whom the Software is furnished to do so, subject to
11
+ the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be
14
+ included in all copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,79 @@
1
+
2
+ # FullCalendar MUI Integration
3
+
4
+ Display an event calendar that inherits from your [@mui/material](https://www.npmjs.com/package/@mui/material) theme.
5
+
6
+ ## Installation
7
+
8
+ First, ensure you have all React and MUI-related packages already installed.
9
+ Then install FullCalendar and a select set of plugins:
10
+
11
+ ```sh
12
+ npm install \
13
+ @fullcalendar/core \
14
+ @fullcalendar/mui \
15
+ @fullcalendar/daygrid \
16
+ @fullcalendar/timegrid \
17
+ @fullcalendar/interaction \
18
+ @fullcalendar/multimonth
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ First, choose a theme "flavor": `monarch`, `forma`, `breezy`, `pulse`, or `classic`.
24
+
25
+ Next, decide whether you're using FullCalendar "standard" (aka "EventCalendar") or [premium](https://fullcalendar.io/pricing) (aka "Scheduler").
26
+
27
+ ### Standard Usage
28
+
29
+ ```jsx
30
+ import EventCalendar from '@fullcalendar/mui/monarch/EventCalendar'
31
+
32
+ import '@fullcalendar/core/skeleton.css'
33
+ import '@fullcalendar/mui/monarch/global.css'
34
+
35
+ <EventCalendar
36
+ addButton={{
37
+ text: 'Add Event',
38
+ click() {
39
+ alert('add event...')
40
+ }
41
+ }}
42
+ />
43
+ ```
44
+
45
+ ### Premium Usage
46
+
47
+ You must install additional packages:
48
+
49
+ ```sh
50
+ npm install \
51
+ @fullcalendar/adaptive \
52
+ @fullcalendar/scrollgrid \
53
+ @fullcalendar/timeline \
54
+ @fullcalendar/resource-timeline \
55
+ @fullcalendar/resource-timegrid \
56
+ @fullcalendar/resource-daygrid
57
+ ```
58
+
59
+ Then write your component code:
60
+
61
+ ```jsx
62
+ import Scheduler from '@fullcalendar/mui/monarch/Scheduler'
63
+
64
+ import '@fullcalendar/core/skeleton.css'
65
+ import '@fullcalendar/mui/monarch/global.css'
66
+
67
+ <EventCalendar
68
+ addButton={{
69
+ text: 'Add Resource',
70
+ click() {
71
+ alert('add resource...')
72
+ }
73
+ }}
74
+ />
75
+ ```
76
+
77
+ ### Custom Usage
78
+
79
+ Want complete control over the toolbar, calendar views, or plugins? Future docs will explain how to do this.