@fullcalendar/theme-breezy 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.
- package/LICENSE.md +22 -0
- package/README.md +45 -0
- package/cjs/index.cjs +352 -0
- package/esm/index.d.ts +6 -0
- package/esm/index.js +348 -0
- package/global.js +361 -0
- package/global.min.js +6 -0
- package/package.json +55 -0
- package/palettes/emerald.css +88 -0
- package/palettes/honey.css +88 -0
- package/palettes/indigo.css +93 -0
- package/palettes/rose.css +88 -0
- package/theme.css +1063 -0
- package/theme.min.css +1 -0
- package/theme.styles.js +30 -0
package/esm/index.js
ADDED
|
@@ -0,0 +1,348 @@
|
|
|
1
|
+
import { joinClassNames, createPlugin } from '@fullcalendar/core';
|
|
2
|
+
import { createElement, Fragment } from '@fullcalendar/core/preact';
|
|
3
|
+
|
|
4
|
+
// usually 11px font / 12px line-height
|
|
5
|
+
const xxsTextClass = "fc-breezy-vQz";
|
|
6
|
+
// outline
|
|
7
|
+
const outlineWidthClass = "fc-breezy-0Bj";
|
|
8
|
+
const outlineWidthFocusClass = "fc-breezy-uqo";
|
|
9
|
+
const outlineWidthGroupFocusClass = "fc-breezy-nPR";
|
|
10
|
+
const outlineOffsetClass = "fc-breezy-3Xj";
|
|
11
|
+
const primaryOutlineColorClass = "fc-breezy-yg7";
|
|
12
|
+
const primaryOutlineFocusClass = `${outlineWidthFocusClass} ${primaryOutlineColorClass}`;
|
|
13
|
+
// neutral buttons
|
|
14
|
+
const strongSolidPressableClass = joinClassNames("fc-breezy-hJa", "fc-breezy-AT7", "fc-breezy-b3B");
|
|
15
|
+
const mutedHoverClass = "fc-breezy-qiG";
|
|
16
|
+
const mutedHoverPressableClass = `${mutedHoverClass} fc-breezy-WfX`;
|
|
17
|
+
const faintHoverClass = "fc-breezy-1EL";
|
|
18
|
+
const faintHoverPressableClass = `${faintHoverClass} fc-breezy-qWF fc-breezy-UTk`;
|
|
19
|
+
// controls
|
|
20
|
+
const selectedClass = `fc-breezy-GfU fc-breezy-Oiq ${primaryOutlineFocusClass}`;
|
|
21
|
+
const unselectedClass = `fc-breezy-t4l fc-breezy-hnE ${primaryOutlineFocusClass}`;
|
|
22
|
+
// primary
|
|
23
|
+
const primaryClass = "fc-breezy-Anp fc-breezy-ECg";
|
|
24
|
+
const primaryPressableClass = `${primaryClass} fc-breezy-8mf`;
|
|
25
|
+
const primaryPressableGroupClass = `${primaryClass} fc-breezy-t8l`;
|
|
26
|
+
const primaryButtonClass = `${primaryPressableClass} fc-breezy-d0j ${primaryOutlineFocusClass} ${outlineOffsetClass}`;
|
|
27
|
+
// secondary
|
|
28
|
+
const secondaryClass = "fc-breezy-nyY fc-breezy-NK3";
|
|
29
|
+
const secondaryPressableClass = `${secondaryClass} fc-breezy-StK`;
|
|
30
|
+
const secondaryButtonClass = `${secondaryPressableClass} fc-breezy-nuP ${primaryOutlineFocusClass} fc-breezy-07j`;
|
|
31
|
+
const secondaryButtonIconClass = "fc-breezy-XUJ fc-breezy-J7Y fc-breezy-b7A fc-breezy-tRE";
|
|
32
|
+
// event content
|
|
33
|
+
const eventMutedFgClass = "fc-breezy-WLU";
|
|
34
|
+
const eventFaintBgClass = "fc-breezy-GjO";
|
|
35
|
+
const eventFaintPressableClass = joinClassNames(eventFaintBgClass, "fc-breezy-yE8", "fc-breezy-x2T");
|
|
36
|
+
// interactive neutral foregrounds
|
|
37
|
+
const mutedFgPressableGroupClass = "fc-breezy-t4l fc-breezy-Wxh fc-breezy-x7E";
|
|
38
|
+
// transparent resizer for mouse
|
|
39
|
+
const blockPointerResizerClass = "fc-breezy-1EY fc-breezy-pps fc-breezy-vs6";
|
|
40
|
+
const rowPointerResizerClass = `${blockPointerResizerClass} fc-breezy-AWB fc-breezy-hza`;
|
|
41
|
+
const columnPointerResizerClass = `${blockPointerResizerClass} fc-breezy-MaV fc-breezy-uuA`;
|
|
42
|
+
// circle resizer for touch
|
|
43
|
+
const blockTouchResizerClass = "fc-breezy-1EY fc-breezy-3wQ fc-breezy-wsy fc-breezy-lNM fc-breezy-gmc fc-breezy-AAA";
|
|
44
|
+
const rowTouchResizerClass = `${blockTouchResizerClass} fc-breezy-ERR fc-breezy-Dq8`;
|
|
45
|
+
const columnTouchResizerClass = `${blockTouchResizerClass} fc-breezy-1V6 fc-breezy-F99`;
|
|
46
|
+
const getNormalDayHeaderBorderClass = (data) => joinClassNames(!data.inPopover && (data.isMajor ? "fc-breezy-wsy fc-breezy-OFc" :
|
|
47
|
+
!data.isNarrow && "fc-breezy-wsy fc-breezy-EAo"));
|
|
48
|
+
const getMutedDayHeaderBorderClass = (data) => joinClassNames(!data.inPopover && (data.isMajor ? "fc-breezy-wsy fc-breezy-OFc" :
|
|
49
|
+
!data.isNarrow && "fc-breezy-wsy fc-breezy-tTN"));
|
|
50
|
+
const getNormalDayCellBorderColorClass = (data) => (data.isMajor ? "fc-breezy-OFc" : "fc-breezy-EAo");
|
|
51
|
+
const getMutedDayCellBorderColorClass = (data) => (data.isMajor ? "fc-breezy-OFc" : "fc-breezy-tTN");
|
|
52
|
+
const tallDayCellBottomClass = "fc-breezy-mhE";
|
|
53
|
+
const getShortDayCellBottomClass = (data) => joinClassNames(!data.isNarrow && "fc-breezy-toR");
|
|
54
|
+
const mutedHoverButtonClass = joinClassNames(mutedHoverPressableClass, outlineWidthFocusClass, primaryOutlineColorClass);
|
|
55
|
+
const dayRowCommonClasses = {
|
|
56
|
+
/* Day Row > List-Item Event
|
|
57
|
+
----------------------------------------------------------------------------------------------- */
|
|
58
|
+
listItemEventClass: (data) => joinClassNames("fc-breezy-Ika fc-breezy-7A6", data.isNarrow
|
|
59
|
+
? "fc-breezy-148 fc-breezy-Fvv"
|
|
60
|
+
: "fc-breezy-rVY fc-breezy-KzJ", data.isSelected
|
|
61
|
+
? "fc-breezy-pZQ"
|
|
62
|
+
: data.isInteractive
|
|
63
|
+
? mutedHoverPressableClass
|
|
64
|
+
: mutedHoverClass),
|
|
65
|
+
listItemEventInnerClass: (data) => joinClassNames("fc-breezy-dl1 fc-breezy-1sP fc-breezy-XpK fc-breezy-N2M", data.isNarrow
|
|
66
|
+
? `fc-breezy-z5u ${xxsTextClass}`
|
|
67
|
+
: "fc-breezy-2rx fc-breezy-a3B"),
|
|
68
|
+
listItemEventTimeClass: (data) => joinClassNames(data.isNarrow ? "fc-breezy-F1o" : "fc-breezy-oQ2", "fc-breezy-t4l fc-breezy-NPw fc-breezy-TZ4 fc-breezy-pKG fc-breezy-1Zl"),
|
|
69
|
+
listItemEventTitleClass: (data) => joinClassNames(data.isNarrow ? "fc-breezy-F1o" : "fc-breezy-oQ2", "fc-breezy-Oiq fc-breezy-1OT fc-breezy-TZ4 fc-breezy-pKG fc-breezy-OLq", data.timeText && "fc-breezy-IPx"),
|
|
70
|
+
/* Day Row > Row Event
|
|
71
|
+
----------------------------------------------------------------------------------------------- */
|
|
72
|
+
rowEventClass: (data) => joinClassNames(data.isStart && (data.isNarrow ? "fc-breezy-Jzj" : "fc-breezy-Wga"), data.isEnd && (data.isNarrow ? "fc-breezy-3e1" : "fc-breezy-KYn")),
|
|
73
|
+
rowEventInnerClass: (data) => data.isNarrow ? "fc-breezy-z5u" : "fc-breezy-2rx",
|
|
74
|
+
/* Day Row > More-Link
|
|
75
|
+
----------------------------------------------------------------------------------------------- */
|
|
76
|
+
rowMoreLinkClass: (data) => joinClassNames("fc-breezy-Ika fc-breezy-wsy", data.isNarrow
|
|
77
|
+
? "fc-breezy-148 fc-breezy-UIT fc-breezy-Fvv"
|
|
78
|
+
: "fc-breezy-sI7 fc-breezy-rVY fc-breezy-d0j fc-breezy-KzJ", mutedHoverPressableClass),
|
|
79
|
+
rowMoreLinkInnerClass: (data) => joinClassNames(data.isNarrow
|
|
80
|
+
? `fc-breezy-7A6 ${xxsTextClass}`
|
|
81
|
+
: "fc-breezy-KUX fc-breezy-a3B", "fc-breezy-Oiq"),
|
|
82
|
+
};
|
|
83
|
+
var index = createPlugin({
|
|
84
|
+
name: "@fullcalendar/theme-breezy",
|
|
85
|
+
optionDefaults: {
|
|
86
|
+
className: "fc-breezy-gmc fc-breezy-wsy fc-breezy-EAo fc-breezy-hny fc-breezy-pKG fc-breezy-R1q",
|
|
87
|
+
/* Toolbar
|
|
88
|
+
--------------------------------------------------------------------------------------------- */
|
|
89
|
+
headerToolbarClass: "fc-breezy-zi1 fc-breezy-EAo",
|
|
90
|
+
footerToolbarClass: "fc-breezy-ku3 fc-breezy-EAo",
|
|
91
|
+
toolbarClass: "fc-breezy-KRz fc-breezy-OEz fc-breezy-nYK fc-breezy-dl1 fc-breezy-1sP fc-breezy-dNl fc-breezy-XpK fc-breezy-N2M fc-breezy-Pms",
|
|
92
|
+
toolbarSectionClass: "fc-breezy-yi0 fc-breezy-dl1 fc-breezy-1sP fc-breezy-XpK fc-breezy-Pms",
|
|
93
|
+
toolbarTitleClass: "fc-breezy-9ZS fc-breezy-C8a fc-breezy-Oiq",
|
|
94
|
+
buttonGroupClass: (data) => joinClassNames("fc-breezy-dl1 fc-breezy-1sP fc-breezy-XpK", !data.isSelectGroup && "fc-breezy-KzJ fc-breezy-eSM"),
|
|
95
|
+
buttonClass: (data) => joinClassNames("fc-breezy-bCs fc-breezy-dl6 fc-breezy-dl1 fc-breezy-1sP fc-breezy-XpK fc-breezy-9yp fc-breezy-Z9U", data.isIconOnly ? "fc-breezy-Nca" : "fc-breezy-Apf", data.inSelectGroup ? joinClassNames("fc-breezy-KzJ fc-breezy-1OT", data.isSelected
|
|
96
|
+
? selectedClass
|
|
97
|
+
: unselectedClass) : joinClassNames("fc-breezy-C8a", data.isPrimary
|
|
98
|
+
? primaryButtonClass
|
|
99
|
+
: secondaryButtonClass, data.inGroup
|
|
100
|
+
? "fc-breezy-Ps8 fc-breezy-H1W fc-breezy-g3A fc-breezy-7ss fc-breezy-JIC"
|
|
101
|
+
: "fc-breezy-KzJ fc-breezy-eSM fc-breezy-wsy")),
|
|
102
|
+
buttons: {
|
|
103
|
+
prev: {
|
|
104
|
+
iconContent: () => chevronDown(joinClassNames(secondaryButtonIconClass, "fc-breezy-z44 fc-breezy-keW")),
|
|
105
|
+
},
|
|
106
|
+
next: {
|
|
107
|
+
iconContent: () => chevronDown(joinClassNames(secondaryButtonIconClass, "fc-breezy-KxI fc-breezy-ZW3")),
|
|
108
|
+
},
|
|
109
|
+
prevYear: {
|
|
110
|
+
iconContent: () => chevronDoubleLeft(joinClassNames(secondaryButtonIconClass, "fc-breezy-asP"))
|
|
111
|
+
},
|
|
112
|
+
nextYear: {
|
|
113
|
+
iconContent: () => chevronDoubleLeft(joinClassNames(secondaryButtonIconClass, "fc-breezy-jmT fc-breezy-jY6"))
|
|
114
|
+
},
|
|
115
|
+
},
|
|
116
|
+
/* Abstract Event
|
|
117
|
+
--------------------------------------------------------------------------------------------- */
|
|
118
|
+
eventShortHeight: 50,
|
|
119
|
+
eventColor: "var(--fc-breezy-event)",
|
|
120
|
+
eventClass: (data) => joinClassNames(data.isSelected
|
|
121
|
+
? joinClassNames(outlineWidthClass, data.isDragging && "fc-breezy-tkw")
|
|
122
|
+
: outlineWidthFocusClass, primaryOutlineColorClass),
|
|
123
|
+
/* Background Event
|
|
124
|
+
--------------------------------------------------------------------------------------------- */
|
|
125
|
+
backgroundEventColor: "var(--fc-breezy-background-event)",
|
|
126
|
+
backgroundEventClass: "fc-breezy-AhZ",
|
|
127
|
+
backgroundEventTitleClass: (data) => joinClassNames("fc-breezy-lMo fc-breezy-L1Y", data.isNarrow
|
|
128
|
+
? `fc-breezy-iS4 ${xxsTextClass}`
|
|
129
|
+
: "fc-breezy-3N5 fc-breezy-a3B", "fc-breezy-sI1"),
|
|
130
|
+
/* Block Event
|
|
131
|
+
--------------------------------------------------------------------------------------------- */
|
|
132
|
+
blockEventClass: (data) => joinClassNames("fc-breezy-bCs fc-breezy-eYX fc-breezy-vwH fc-breezy-d0j fc-breezy-DO7", data.isInteractive ? eventFaintPressableClass : eventFaintBgClass, (data.isDragging && !data.isSelected) && "fc-breezy-iTG"),
|
|
133
|
+
blockEventInnerClass: eventMutedFgClass,
|
|
134
|
+
blockEventTimeClass: "fc-breezy-TZ4 fc-breezy-pKG fc-breezy-1Zl",
|
|
135
|
+
blockEventTitleClass: "fc-breezy-TZ4 fc-breezy-pKG fc-breezy-OLq",
|
|
136
|
+
/* Row Event
|
|
137
|
+
--------------------------------------------------------------------------------------------- */
|
|
138
|
+
rowEventClass: (data) => joinClassNames("fc-breezy-Ika fc-breezy-JIC", data.isStart && joinClassNames("fc-breezy-3J4", data.isNarrow ? "fc-breezy-kmj" : "fc-breezy-QUg"), data.isEnd && joinClassNames("fc-breezy-USt", data.isNarrow ? "fc-breezy-Skl" : "fc-breezy-RNO")),
|
|
139
|
+
rowEventBeforeClass: (data) => joinClassNames(data.isStartResizable && joinClassNames(data.isSelected ? rowTouchResizerClass : rowPointerResizerClass, "fc-breezy-11a")),
|
|
140
|
+
rowEventAfterClass: (data) => joinClassNames(data.isEndResizable && joinClassNames(data.isSelected ? rowTouchResizerClass : rowPointerResizerClass, "fc-breezy-Tuc")),
|
|
141
|
+
rowEventInnerClass: (data) => joinClassNames("fc-breezy-dl1 fc-breezy-1sP fc-breezy-XpK", data.isNarrow ? xxsTextClass : "fc-breezy-a3B"),
|
|
142
|
+
rowEventTimeClass: (data) => joinClassNames(data.isNarrow ? "fc-breezy-a7i" : "fc-breezy-C2j", "fc-breezy-1OT"),
|
|
143
|
+
rowEventTitleClass: (data) => (data.isNarrow ? "fc-breezy-oQ2" : "fc-breezy-aCI"),
|
|
144
|
+
/* Column Event
|
|
145
|
+
--------------------------------------------------------------------------------------------- */
|
|
146
|
+
columnEventClass: (data) => joinClassNames("fc-breezy-1Wx fc-breezy-A3h fc-breezy-9Iz", data.isStart && joinClassNames("fc-breezy-ku3 fc-breezy-wko", data.isNarrow ? "fc-breezy-sEX" : "fc-breezy-zZM"), data.isEnd && joinClassNames("fc-breezy-zi1 fc-breezy-L2o", data.isNarrow ? "fc-breezy-Ika" : "fc-breezy-vUo")),
|
|
147
|
+
columnEventBeforeClass: (data) => joinClassNames(data.isStartResizable && joinClassNames(data.isSelected ? columnTouchResizerClass : columnPointerResizerClass, "fc-breezy-YDC")),
|
|
148
|
+
columnEventAfterClass: (data) => joinClassNames(data.isEndResizable && joinClassNames(data.isSelected ? columnTouchResizerClass : columnPointerResizerClass, "fc-breezy-fJL")),
|
|
149
|
+
columnEventInnerClass: (data) => joinClassNames("fc-breezy-dl1", data.isShort
|
|
150
|
+
? "fc-breezy-1sP fc-breezy-XpK fc-breezy-NWN fc-breezy-iS4"
|
|
151
|
+
: joinClassNames("fc-breezy-sgX", data.isNarrow ? "fc-breezy-aCI fc-breezy-2rx" : "fc-breezy-Nca fc-breezy-Jhn"), (data.isShort || data.isNarrow) ? xxsTextClass : "fc-breezy-a3B"),
|
|
152
|
+
columnEventTimeClass: (data) => (!data.isShort && (data.isNarrow ? "fc-breezy-166" : "fc-breezy-4dx")),
|
|
153
|
+
columnEventTitleClass: (data) => joinClassNames(!data.isShort && (data.isNarrow ? "fc-breezy-2rx" : "fc-breezy-Jhn"), "fc-breezy-C8a"),
|
|
154
|
+
/* More-Link
|
|
155
|
+
--------------------------------------------------------------------------------------------- */
|
|
156
|
+
moreLinkClass: `${outlineWidthFocusClass} ${primaryOutlineColorClass}`,
|
|
157
|
+
moreLinkInnerClass: "fc-breezy-TZ4 fc-breezy-pKG",
|
|
158
|
+
columnMoreLinkClass: (data) => joinClassNames(data.isNarrow ? "fc-breezy-SEP" : "fc-breezy-V9v", `fc-breezy-wsy fc-breezy-d0j fc-breezy-4MR fc-breezy-KzJ ${strongSolidPressableClass} fc-breezy-vwH fc-breezy-A3h fc-breezy-9Iz`),
|
|
159
|
+
columnMoreLinkInnerClass: (data) => joinClassNames(data.isNarrow
|
|
160
|
+
? `fc-breezy-KUX ${xxsTextClass}`
|
|
161
|
+
: "fc-breezy-iS4 fc-breezy-a3B", "fc-breezy-sI1"),
|
|
162
|
+
/* Day Header
|
|
163
|
+
--------------------------------------------------------------------------------------------- */
|
|
164
|
+
dayHeaderAlign: (data) => data.inPopover ? "start" : "center",
|
|
165
|
+
dayHeaderClass: (data) => joinClassNames("fc-breezy-E9P", data.inPopover && "fc-breezy-zi1 fc-breezy-EAo fc-breezy-nYK"),
|
|
166
|
+
dayHeaderInnerClass: (data) => joinClassNames("fc-breezy-dl1 fc-breezy-1sP fc-breezy-XpK", (!data.dayNumberText && !data.inPopover)
|
|
167
|
+
? joinClassNames("fc-breezy-Jhn fc-breezy-Fvv fc-breezy-a3B", data.isNarrow
|
|
168
|
+
? "fc-breezy-aCI fc-breezy-gMS fc-breezy-t4l"
|
|
169
|
+
: "fc-breezy-ZrE fc-breezy-bvX fc-breezy-C8a fc-breezy-sI1", data.hasNavLink && mutedHoverButtonClass)
|
|
170
|
+
: (data.isToday && data.dayNumberText && !data.inPopover)
|
|
171
|
+
? joinClassNames("fc-breezy-bCs fc-breezy-bvX fc-breezy-hS8", data.isNarrow ? "fc-breezy-TFV" : "fc-breezy-I1A")
|
|
172
|
+
: joinClassNames("fc-breezy-Fvv", data.inPopover
|
|
173
|
+
? "fc-breezy-bvX fc-breezy-aCI fc-breezy-2rx"
|
|
174
|
+
: joinClassNames("fc-breezy-fn8 fc-breezy-TFV fc-breezy-ZrE", data.isNarrow ? "fc-breezy-2tF" : "fc-breezy-X6C"), data.hasNavLink && mutedHoverButtonClass)),
|
|
175
|
+
dayHeaderContent: (data) => ((!data.dayNumberText && !data.inPopover) ? (createElement(Fragment, null, data.text)) : (createElement(Fragment, null, data.textParts.map((textPart, i) => (createElement("span", { key: i, className: joinClassNames("fc-breezy-jm6", data.isNarrow ? "fc-breezy-a3B" : "fc-breezy-9yp", textPart.type === "day"
|
|
176
|
+
? joinClassNames("fc-breezy-dl1 fc-breezy-1sP fc-breezy-XpK", !data.isNarrow && "fc-breezy-C8a", (data.isToday && !data.inPopover)
|
|
177
|
+
? joinClassNames("fc-breezy-cKZ fc-breezy-AAA fc-breezy-E9P", data.isNarrow ? "fc-breezy-MSG" : "fc-breezy-n6w", data.hasNavLink
|
|
178
|
+
? `${primaryPressableGroupClass} ${outlineWidthGroupFocusClass} ${outlineOffsetClass} ${primaryOutlineColorClass}`
|
|
179
|
+
: primaryClass)
|
|
180
|
+
: "fc-breezy-Oiq")
|
|
181
|
+
: "fc-breezy-t4l") }, textPart.value)))))),
|
|
182
|
+
/* Day Cell
|
|
183
|
+
--------------------------------------------------------------------------------------------- */
|
|
184
|
+
dayCellClass: (data) => joinClassNames("fc-breezy-wsy", ((data.isOther || data.isDisabled) && !data.options.businessHours) && "fc-breezy-nYK"),
|
|
185
|
+
dayCellTopClass: (data) => joinClassNames(data.isNarrow ? "fc-breezy-84e" : "fc-breezy-p7s", "fc-breezy-dl1 fc-breezy-1sP"),
|
|
186
|
+
dayCellTopInnerClass: (data) => joinClassNames("fc-breezy-dl1 fc-breezy-1sP fc-breezy-XpK fc-breezy-E9P fc-breezy-TZ4", data.isNarrow
|
|
187
|
+
? `fc-breezy-SEP fc-breezy-oM6 ${xxsTextClass}`
|
|
188
|
+
: "fc-breezy-V9v fc-breezy-TFV fc-breezy-a3B", data.isToday
|
|
189
|
+
? joinClassNames("fc-breezy-AAA fc-breezy-C8a", data.isNarrow ? "fc-breezy-qvL" : "fc-breezy-Wga", data.text === data.dayNumberText
|
|
190
|
+
? (data.isNarrow ? "fc-breezy-79F" : "fc-breezy-ilz")
|
|
191
|
+
: (data.isNarrow ? "fc-breezy-aCI" : "fc-breezy-Nca"), data.hasNavLink
|
|
192
|
+
? `${primaryPressableClass} ${outlineOffsetClass}`
|
|
193
|
+
: primaryClass)
|
|
194
|
+
: joinClassNames("fc-breezy-Skl", data.isNarrow ? "fc-breezy-aCI" : "fc-breezy-Nca", data.hasNavLink && mutedHoverPressableClass, data.isOther
|
|
195
|
+
? "fc-breezy-mNS"
|
|
196
|
+
: (data.monthText ? "fc-breezy-sI1" : "fc-breezy-t4l"), data.monthText && "fc-breezy-DIS")),
|
|
197
|
+
dayCellInnerClass: (data) => joinClassNames(data.inPopover && "fc-breezy-3N5"),
|
|
198
|
+
/* Popover
|
|
199
|
+
--------------------------------------------------------------------------------------------- */
|
|
200
|
+
popoverClass: "fc-breezy-uhF fc-breezy-wsy fc-breezy-LDJ fc-breezy-hny fc-breezy-pKG fc-breezy-1kP fc-breezy-gMS fc-breezy-aNc fc-breezy-R1q",
|
|
201
|
+
popoverCloseClass: `fc-breezy-bCs fc-breezy-1EY fc-breezy-SKv fc-breezy-aYN fc-breezy-KUX fc-breezy-Fvv ${mutedHoverButtonClass} fc-breezy-Z9U`,
|
|
202
|
+
popoverCloseContent: () => x(`fc-breezy-XUJ ${mutedFgPressableGroupClass}`),
|
|
203
|
+
/* Lane
|
|
204
|
+
--------------------------------------------------------------------------------------------- */
|
|
205
|
+
dayLaneClass: (data) => joinClassNames("fc-breezy-wsy", data.isMajor ? "fc-breezy-OFc" : "fc-breezy-tTN", data.isDisabled && "fc-breezy-nYK"),
|
|
206
|
+
dayLaneInnerClass: (data) => (data.isStack
|
|
207
|
+
? "fc-breezy-gMS"
|
|
208
|
+
: data.isNarrow ? "fc-breezy-148" : "fc-breezy-rVY"),
|
|
209
|
+
slotLaneClass: (data) => joinClassNames("fc-breezy-wsy fc-breezy-tTN", data.isMinor && "fc-breezy-TN2"),
|
|
210
|
+
/* List Day
|
|
211
|
+
--------------------------------------------------------------------------------------------- */
|
|
212
|
+
listDaysClass: "fc-breezy-8T7 fc-breezy-g0K fc-breezy-6u7 fc-breezy-E7b fc-breezy-KRz",
|
|
213
|
+
listDayClass: "fc-breezy-iCr fc-breezy-tTN fc-breezy-dl1 fc-breezy-1sP fc-breezy-EF4 fc-breezy-tgZ",
|
|
214
|
+
listDayHeaderClass: "fc-breezy-SEP fc-breezy-yi0 fc-breezy-vVE fc-breezy-kMV fc-breezy-MKw fc-breezy-dl1 fc-breezy-sgX fc-breezy-EF4",
|
|
215
|
+
listDayHeaderInnerClass: (data) => joinClassNames("fc-breezy-cJ3 fc-breezy-2rx fc-breezy-Nca fc-breezy-PtF fc-breezy-AAA fc-breezy-9yp", !data.level
|
|
216
|
+
? joinClassNames(data.isToday
|
|
217
|
+
? joinClassNames("fc-breezy-C8a", data.hasNavLink ? primaryPressableClass : primaryClass)
|
|
218
|
+
: joinClassNames("fc-breezy-1OT fc-breezy-Oiq", data.hasNavLink && mutedHoverPressableClass))
|
|
219
|
+
: joinClassNames("fc-breezy-mNS", data.hasNavLink && `${mutedHoverPressableClass} fc-breezy-i3P`)),
|
|
220
|
+
listDayEventsClass: "fc-breezy-9Qs fc-breezy-1El fc-breezy-2KU fc-breezy-wsy fc-breezy-EAo fc-breezy-KzJ",
|
|
221
|
+
/* Single Month (in Multi-Month)
|
|
222
|
+
--------------------------------------------------------------------------------------------- */
|
|
223
|
+
singleMonthClass: "fc-breezy-jD5",
|
|
224
|
+
singleMonthHeaderClass: (data) => joinClassNames(data.isSticky && "fc-breezy-gmc fc-breezy-zi1 fc-breezy-EAo", data.colCount > 1 ? "fc-breezy-x96" : "fc-breezy-Jhn", "fc-breezy-XpK"),
|
|
225
|
+
singleMonthHeaderInnerClass: (data) => joinClassNames("fc-breezy-Jhn fc-breezy-Nca fc-breezy-KzJ fc-breezy-9yp fc-breezy-Oiq fc-breezy-C8a", data.hasNavLink && mutedHoverPressableClass),
|
|
226
|
+
/* Misc Table
|
|
227
|
+
--------------------------------------------------------------------------------------------- */
|
|
228
|
+
fillerClass: "fc-breezy-wsy fc-breezy-tTN",
|
|
229
|
+
dayNarrowWidth: 100,
|
|
230
|
+
dayHeaderRowClass: "fc-breezy-wsy fc-breezy-tTN",
|
|
231
|
+
dayRowClass: "fc-breezy-wsy fc-breezy-EAo",
|
|
232
|
+
slotHeaderRowClass: "fc-breezy-wsy fc-breezy-EAo",
|
|
233
|
+
slotHeaderInnerClass: "fc-breezy-mNS fc-breezy-XHd",
|
|
234
|
+
/* Misc Content
|
|
235
|
+
--------------------------------------------------------------------------------------------- */
|
|
236
|
+
navLinkClass: `${outlineWidthFocusClass} ${primaryOutlineColorClass}`,
|
|
237
|
+
inlineWeekNumberClass: (data) => joinClassNames("fc-breezy-1EY fc-breezy-n9G fc-breezy-iD1 fc-breezy-gmc fc-breezy-t4l fc-breezy-TZ4 fc-breezy-4In fc-breezy-zi1 fc-breezy-k8g fc-breezy-3J4 fc-breezy-Hhp", data.isNarrow
|
|
238
|
+
? `fc-breezy-KUX ${xxsTextClass}`
|
|
239
|
+
: "fc-breezy-XJa fc-breezy-a3B", data.hasNavLink
|
|
240
|
+
? `${mutedHoverPressableClass} fc-breezy-07j`
|
|
241
|
+
: mutedHoverClass),
|
|
242
|
+
highlightClass: "fc-breezy-xAy",
|
|
243
|
+
nonBusinessClass: "fc-breezy-nYK",
|
|
244
|
+
nowIndicatorLineClass: "fc-breezy-CH7 fc-breezy-qQW fc-breezy-D9l",
|
|
245
|
+
nowIndicatorDotClass: "fc-breezy-aAW fc-breezy-Vpk fc-breezy-D9l fc-breezy-63n fc-breezy-AAA fc-breezy-GBJ fc-breezy-9Iz",
|
|
246
|
+
/* Resource Day Header
|
|
247
|
+
--------------------------------------------------------------------------------------------- */
|
|
248
|
+
resourceDayHeaderAlign: "center",
|
|
249
|
+
resourceDayHeaderClass: "fc-breezy-wsy",
|
|
250
|
+
resourceDayHeaderInnerClass: (data) => joinClassNames("fc-breezy-3N5 fc-breezy-sI1 fc-breezy-C8a", data.isNarrow ? "fc-breezy-a3B" : "fc-breezy-9yp"),
|
|
251
|
+
/* Resource Data Grid
|
|
252
|
+
--------------------------------------------------------------------------------------------- */
|
|
253
|
+
resourceColumnHeaderClass: "fc-breezy-wsy fc-breezy-tTN fc-breezy-E9P",
|
|
254
|
+
resourceColumnHeaderInnerClass: "fc-breezy-3N5 fc-breezy-sI1 fc-breezy-9yp",
|
|
255
|
+
resourceColumnResizerClass: "fc-breezy-1EY fc-breezy-AWB fc-breezy-4Tv fc-breezy-dnf",
|
|
256
|
+
resourceGroupHeaderClass: "fc-breezy-wsy fc-breezy-EAo fc-breezy-pZQ",
|
|
257
|
+
resourceGroupHeaderInnerClass: "fc-breezy-3N5 fc-breezy-sI1 fc-breezy-9yp",
|
|
258
|
+
resourceCellClass: "fc-breezy-wsy fc-breezy-tTN",
|
|
259
|
+
resourceCellInnerClass: "fc-breezy-3N5 fc-breezy-sI1 fc-breezy-9yp",
|
|
260
|
+
resourceIndentClass: "fc-breezy-Wga fc-breezy-p9t fc-breezy-E9P",
|
|
261
|
+
resourceExpanderClass: `fc-breezy-bCs fc-breezy-KUX fc-breezy-AAA ${mutedHoverPressableClass} ${outlineWidthFocusClass} ${primaryOutlineColorClass}`,
|
|
262
|
+
resourceExpanderContent: (data) => chevronDown(joinClassNames(`fc-breezy-XUJ ${mutedFgPressableGroupClass}`, !data.isExpanded && "fc-breezy-KxI fc-breezy-ZW3")),
|
|
263
|
+
resourceHeaderRowClass: "fc-breezy-wsy fc-breezy-EAo",
|
|
264
|
+
resourceRowClass: "fc-breezy-wsy fc-breezy-EAo",
|
|
265
|
+
resourceColumnDividerClass: "fc-breezy-USt fc-breezy-OFc",
|
|
266
|
+
/* Timeline Lane
|
|
267
|
+
--------------------------------------------------------------------------------------------- */
|
|
268
|
+
resourceGroupLaneClass: "fc-breezy-wsy fc-breezy-EAo fc-breezy-pZQ",
|
|
269
|
+
resourceLaneClass: "fc-breezy-wsy fc-breezy-EAo",
|
|
270
|
+
resourceLaneBottomClass: (data) => joinClassNames(data.options.eventOverlap && "fc-breezy-uuA"),
|
|
271
|
+
timelineBottomClass: "fc-breezy-uuA",
|
|
272
|
+
},
|
|
273
|
+
views: {
|
|
274
|
+
dayGrid: Object.assign(Object.assign({}, dayRowCommonClasses), { dayHeaderClass: getNormalDayHeaderBorderClass, dayHeaderDividerClass: "fc-breezy-zi1 fc-breezy-OFc", dayCellClass: getNormalDayCellBorderColorClass, dayCellBottomClass: getShortDayCellBottomClass, backgroundEventInnerClass: "fc-breezy-dl1 fc-breezy-1sP fc-breezy-LMv" }),
|
|
275
|
+
multiMonth: Object.assign(Object.assign({}, dayRowCommonClasses), { dayHeaderClass: getNormalDayHeaderBorderClass, dayHeaderDividerClass: (data) => data.isSticky && "fc-breezy-zi1 fc-breezy-OFc fc-breezy-qNs", dayCellClass: getNormalDayCellBorderColorClass, dayCellBottomClass: getShortDayCellBottomClass, tableHeaderClass: (data) => data.isSticky && "fc-breezy-gmc", tableBodyClass: "fc-breezy-wsy fc-breezy-EAo fc-breezy-KzJ fc-breezy-eSM fc-breezy-pKG" }),
|
|
276
|
+
timeGrid: Object.assign(Object.assign({}, dayRowCommonClasses), { dayHeaderClass: getMutedDayHeaderBorderClass, dayHeaderDividerClass: (data) => joinClassNames("fc-breezy-zi1", data.options.allDaySlot
|
|
277
|
+
? "fc-breezy-EAo"
|
|
278
|
+
: "fc-breezy-OFc fc-breezy-qNs"), dayCellClass: getMutedDayCellBorderColorClass, dayCellBottomClass: tallDayCellBottomClass,
|
|
279
|
+
/* TimeGrid > Week Number Header
|
|
280
|
+
------------------------------------------------------------------------------------------- */
|
|
281
|
+
weekNumberHeaderClass: "fc-breezy-XpK fc-breezy-LMv", weekNumberHeaderInnerClass: (data) => joinClassNames("fc-breezy-cGD fc-breezy-TFV fc-breezy-ZrE fc-breezy-t4l fc-breezy-Fvv fc-breezy-dl1 fc-breezy-1sP fc-breezy-XpK", data.hasNavLink && mutedHoverPressableClass, data.isNarrow ? "fc-breezy-a3B" : "fc-breezy-9yp"),
|
|
282
|
+
/* TimeGrid > All-Day Header
|
|
283
|
+
------------------------------------------------------------------------------------------- */
|
|
284
|
+
allDayHeaderClass: "fc-breezy-XpK", allDayHeaderInnerClass: (data) => joinClassNames("fc-breezy-IJJ fc-breezy-mNS", data.isNarrow ? xxsTextClass : "fc-breezy-a3B"), allDayDividerClass: "fc-breezy-zi1 fc-breezy-OFc fc-breezy-qNs",
|
|
285
|
+
/* TimeGrid > Slot Header
|
|
286
|
+
------------------------------------------------------------------------------------------- */
|
|
287
|
+
slotHeaderClass: "fc-breezy-LMv", slotHeaderInnerClass: (data) => joinClassNames("fc-breezy-eYX fc-breezy-Apf fc-breezy-dl6", data.isNarrow
|
|
288
|
+
? `fc-breezy-Cy2 ${xxsTextClass}`
|
|
289
|
+
: "fc-breezy-uqG fc-breezy-a3B", data.isFirst && "fc-breezy-pps"), slotHeaderDividerClass: "fc-breezy-USt fc-breezy-tTN" }),
|
|
290
|
+
list: {
|
|
291
|
+
/* List-View > List-Item Event
|
|
292
|
+
------------------------------------------------------------------------------------------- */
|
|
293
|
+
listItemEventClass: (data) => joinClassNames("fc-breezy-bCs fc-breezy-iCr fc-breezy-tTN fc-breezy-lqx fc-breezy-XpK fc-breezy-wwb", data.isInteractive
|
|
294
|
+
? faintHoverPressableClass
|
|
295
|
+
: faintHoverClass),
|
|
296
|
+
listItemEventBeforeClass: "fc-breezy-5JF fc-breezy-lNM fc-breezy-AAA",
|
|
297
|
+
listItemEventInnerClass: "fc-breezy-dl1 fc-breezy-1sP fc-breezy-XpK fc-breezy-wwb fc-breezy-9yp",
|
|
298
|
+
listItemEventTimeClass: "fc-breezy-yi0 fc-breezy-roZ fc-breezy-kMV fc-breezy-TZ4 fc-breezy-pKG fc-breezy-IPx fc-breezy-t4l",
|
|
299
|
+
listItemEventTitleClass: (data) => joinClassNames("fc-breezy-1El fc-breezy-2KU fc-breezy-1OT fc-breezy-TZ4 fc-breezy-pKG fc-breezy-sI1", data.event.url && "fc-breezy-Ogp"),
|
|
300
|
+
/* No-Events Screen
|
|
301
|
+
------------------------------------------------------------------------------------------- */
|
|
302
|
+
noEventsClass: "fc-breezy-1El fc-breezy-dl1 fc-breezy-sgX fc-breezy-XpK fc-breezy-E9P",
|
|
303
|
+
noEventsInnerClass: "fc-breezy-P9h",
|
|
304
|
+
},
|
|
305
|
+
resourceDayGrid: {
|
|
306
|
+
resourceDayHeaderClass: (data) => (data.isMajor
|
|
307
|
+
? "fc-breezy-OFc"
|
|
308
|
+
: "fc-breezy-EAo"),
|
|
309
|
+
},
|
|
310
|
+
resourceTimeGrid: {
|
|
311
|
+
resourceDayHeaderClass: (data) => (data.isMajor
|
|
312
|
+
? "fc-breezy-OFc"
|
|
313
|
+
: "fc-breezy-tTN"),
|
|
314
|
+
},
|
|
315
|
+
timeline: {
|
|
316
|
+
/* Timeline > Row Event
|
|
317
|
+
------------------------------------------------------------------------------------------- */
|
|
318
|
+
rowEventClass: (data) => data.isEnd && "fc-breezy-9hC",
|
|
319
|
+
rowEventInnerClass: (data) => data.options.eventOverlap ? "fc-breezy-Jhn" : "fc-breezy-dl6",
|
|
320
|
+
/* Timeline > More-Link
|
|
321
|
+
------------------------------------------------------------------------------------------- */
|
|
322
|
+
rowMoreLinkClass: `fc-breezy-9hC fc-breezy-Ika fc-breezy-wsy fc-breezy-d0j fc-breezy-4MR fc-breezy-KzJ ${strongSolidPressableClass} fc-breezy-vwH`,
|
|
323
|
+
rowMoreLinkInnerClass: "fc-breezy-iS4 fc-breezy-sI1 fc-breezy-a3B",
|
|
324
|
+
/* Timeline > Slot Header
|
|
325
|
+
------------------------------------------------------------------------------------------- */
|
|
326
|
+
slotHeaderAlign: (data) => data.isTime ? "start" : "center",
|
|
327
|
+
slotHeaderClass: (data) => joinClassNames(data.level > 0 && "fc-breezy-wsy fc-breezy-tTN", "fc-breezy-LMv"),
|
|
328
|
+
slotHeaderInnerClass: (data) => joinClassNames("fc-breezy-Apf fc-breezy-dl6 fc-breezy-a3B", data.isTime && joinClassNames("fc-breezy-eYX fc-breezy-OAt", data.isFirst && "fc-breezy-pps"), data.hasNavLink && "fc-breezy-Eu0"),
|
|
329
|
+
slotHeaderDividerClass: "fc-breezy-zi1 fc-breezy-OFc fc-breezy-qNs",
|
|
330
|
+
},
|
|
331
|
+
},
|
|
332
|
+
});
|
|
333
|
+
/* SVGs
|
|
334
|
+
------------------------------------------------------------------------------------------------- */
|
|
335
|
+
function chevronDown(className) {
|
|
336
|
+
return createElement("svg", { className: className, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "currentColor" },
|
|
337
|
+
createElement("path", { "fill-rule": "evenodd", d: "M5.22 8.22a.75.75 0 0 1 1.06 0L10 11.94l3.72-3.72a.75.75 0 1 1 1.06 1.06l-4.25 4.25a.75.75 0 0 1-1.06 0L5.22 9.28a.75.75 0 0 1 0-1.06Z", "clip-rule": "evenodd" }));
|
|
338
|
+
}
|
|
339
|
+
function chevronDoubleLeft(className) {
|
|
340
|
+
return createElement("svg", { className: className, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "currentColor" },
|
|
341
|
+
createElement("path", { "fill-rule": "evenodd", d: "M4.72 9.47a.75.75 0 0 0 0 1.06l4.25 4.25a.75.75 0 1 0 1.06-1.06L6.31 10l3.72-3.72a.75.75 0 1 0-1.06-1.06L4.72 9.47Zm9.25-4.25L9.72 9.47a.75.75 0 0 0 0 1.06l4.25 4.25a.75.75 0 1 0 1.06-1.06L11.31 10l3.72-3.72a.75.75 0 0 0-1.06-1.06Z", "clip-rule": "evenodd" }));
|
|
342
|
+
}
|
|
343
|
+
function x(className) {
|
|
344
|
+
return createElement("svg", { className: className, xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 20 20", fill: "currentColor" },
|
|
345
|
+
createElement("path", { d: "M6.28 5.22a.75.75 0 0 0-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 1 0 1.06 1.06L10 11.06l3.72 3.72a.75.75 0 1 0 1.06-1.06L11.06 10l3.72-3.72a.75.75 0 0 0-1.06-1.06L10 8.94 6.28 5.22Z" }));
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export { index as default };
|