calendar-components 0.0.0-stage → 0.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/LICENSE +21 -0
- package/README.md +540 -2
- package/dist/agenda/index.d.ts +273 -0
- package/dist/agenda/index.js +18 -0
- package/dist/agenda/index.js.map +1 -0
- package/dist/chunk-E6WBQCX3.js +192 -0
- package/dist/chunk-E6WBQCX3.js.map +1 -0
- package/dist/chunk-IZC5ZZ5H.js +493 -0
- package/dist/chunk-IZC5ZZ5H.js.map +1 -0
- package/dist/chunk-X27ZSAPJ.js +271 -0
- package/dist/chunk-X27ZSAPJ.js.map +1 -0
- package/dist/chunk-X6ZOEKT4.js +1475 -0
- package/dist/chunk-X6ZOEKT4.js.map +1 -0
- package/dist/date-grid/index.d.ts +456 -0
- package/dist/date-grid/index.js +33 -0
- package/dist/date-grid/index.js.map +1 -0
- package/dist/index.d.ts +149 -0
- package/dist/index.js +254 -0
- package/dist/index.js.map +1 -0
- package/dist/time-grid/index.d.ts +773 -0
- package/dist/time-grid/index.js +41 -0
- package/dist/time-grid/index.js.map +1 -0
- package/dist/types-BxqOsLkh.d.ts +30 -0
- package/package.json +97 -4
- package/src/styles/apple-ios.css +817 -0
- package/src/styles/apple-macos.css +388 -0
- package/src/styles/apple.css +12 -0
- package/src/styles/base.css +256 -0
- package/src/styles/google.css +416 -0
|
@@ -0,0 +1,773 @@
|
|
|
1
|
+
import { ChangeDetails, CalendarDay, HourRange, CalendarLabels, CalendarEvent, LocaleInfo, Span } from 'calendar-components-core';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
import { c as CalendarComponentsPartElementProps, d as CalendarComponentsPartProps, b as CalendarComponentsInteractionState } from '../types-BxqOsLkh.js';
|
|
4
|
+
export { C as CalendarComponentsEvent, a as CalendarComponentsHandlers } from '../types-BxqOsLkh.js';
|
|
5
|
+
|
|
6
|
+
/** An event moved or resized: where it is now. The caller owns the events, and puts it there. */
|
|
7
|
+
interface TimeGridEventChange {
|
|
8
|
+
id: string;
|
|
9
|
+
/** The day it is on now. */
|
|
10
|
+
date: string;
|
|
11
|
+
start: number;
|
|
12
|
+
end: number;
|
|
13
|
+
}
|
|
14
|
+
type TimeGridValueChangeReason = "event-press";
|
|
15
|
+
type TimeGridValueChangeDetails = ChangeDetails<TimeGridValueChangeReason>;
|
|
16
|
+
type TimeGridEventChangeReason = "drag" | "resize" | "keyboard";
|
|
17
|
+
type TimeGridEventChangeDetails = ChangeDetails<TimeGridEventChangeReason>;
|
|
18
|
+
|
|
19
|
+
type TimeGridRootState = {
|
|
20
|
+
editable: boolean;
|
|
21
|
+
dragging: boolean;
|
|
22
|
+
direction: "ltr" | "rtl";
|
|
23
|
+
};
|
|
24
|
+
/** Where to scroll to: a time of day in minutes past midnight, on a day shown (left out, the first day). */
|
|
25
|
+
type TimeGridScrollTarget = {
|
|
26
|
+
date?: string;
|
|
27
|
+
minutes: number;
|
|
28
|
+
};
|
|
29
|
+
interface TimeGridScrollOptions {
|
|
30
|
+
/** @default "auto" */
|
|
31
|
+
behavior?: ScrollBehavior;
|
|
32
|
+
/**
|
|
33
|
+
* Where in the scrolling area the time lands.
|
|
34
|
+
* @default "start"
|
|
35
|
+
*/
|
|
36
|
+
block?: ScrollLogicalPosition;
|
|
37
|
+
/** Pixels kept clear over the time, for a header that stays put while the hours scroll. */
|
|
38
|
+
offset?: number;
|
|
39
|
+
}
|
|
40
|
+
interface TimeGridRootActions {
|
|
41
|
+
/**
|
|
42
|
+
* Scrolls whatever the grid scrolls in (and across, to the day) so that a
|
|
43
|
+
* time is in view. `"now"` is the time it is, in the grid's time zone, on
|
|
44
|
+
* today when today is shown. A time outside the hours drawn goes to the
|
|
45
|
+
* nearest that is. Returns false when there is no column to scroll to.
|
|
46
|
+
*/
|
|
47
|
+
scrollToTime: (target: TimeGridScrollTarget | "now", options?: TimeGridScrollOptions) => boolean;
|
|
48
|
+
/** Scrolls an event into view and gives it the keyboard. Returns false when it is not drawn. */
|
|
49
|
+
scrollToEvent: (id: string, options?: Pick<TimeGridScrollOptions, "behavior" | "block">) => boolean;
|
|
50
|
+
}
|
|
51
|
+
interface TimeGridRootProps extends CalendarComponentsPartElementProps<TimeGridRootState, HTMLDivElement, "defaultValue"> {
|
|
52
|
+
/** The days to draw, in order, each with its events. */
|
|
53
|
+
days: readonly CalendarDay[];
|
|
54
|
+
/** The selected event's id. Use with `onValueChange` to control it. */
|
|
55
|
+
value?: string | null;
|
|
56
|
+
/** The event selected at first, when uncontrolled. */
|
|
57
|
+
defaultValue?: string | null;
|
|
58
|
+
/** Called when the selected event changes. `details.cancel()` keeps the old one. */
|
|
59
|
+
onValueChange?: (value: string | null, details: TimeGridValueChangeDetails) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Called when an event is dragged to another time or day, resized, or
|
|
62
|
+
* moved from the keyboard. Given, the grid is editable. The events are
|
|
63
|
+
* yours: put the event where it says. `details.cancel()` skips the announcement.
|
|
64
|
+
*/
|
|
65
|
+
onEventChange?: (change: TimeGridEventChange, details: TimeGridEventChangeDetails) => void;
|
|
66
|
+
/** Whether events stay put even with `onEventChange`. */
|
|
67
|
+
readOnly?: boolean;
|
|
68
|
+
/**
|
|
69
|
+
* Minutes a drag snaps to.
|
|
70
|
+
* @default 15
|
|
71
|
+
*/
|
|
72
|
+
step?: number;
|
|
73
|
+
/**
|
|
74
|
+
* What an hour is tall, in pixels.
|
|
75
|
+
* @default 56
|
|
76
|
+
*/
|
|
77
|
+
hourHeight?: number;
|
|
78
|
+
/**
|
|
79
|
+
* The hours to draw, to show part of the day: `{ from: 8, to: 18 }`.
|
|
80
|
+
* @default the whole day, midnight to midnight
|
|
81
|
+
*/
|
|
82
|
+
range?: HourRange;
|
|
83
|
+
/**
|
|
84
|
+
* The hours of a working day, for a theme that sets the rest apart (macOS
|
|
85
|
+
* draws lighter lines outside them): `{ from: 8, to: 18 }`. Left out, no
|
|
86
|
+
* hour is set apart.
|
|
87
|
+
*/
|
|
88
|
+
workHours?: HourRange;
|
|
89
|
+
/**
|
|
90
|
+
* Where events overlap in time, how much of the next one's lane each runs under: 0 has them share the
|
|
91
|
+
* width side by side (as Apple's calendars do), and 0.7 is Google Calendar's, each event over the one before.
|
|
92
|
+
* @default 0
|
|
93
|
+
*/
|
|
94
|
+
laneOverlap?: number;
|
|
95
|
+
/**
|
|
96
|
+
* The least an event is tall, however short it is.
|
|
97
|
+
* @default 24
|
|
98
|
+
*/
|
|
99
|
+
minEventHeight?: number;
|
|
100
|
+
/**
|
|
101
|
+
* What an event is tall, in pixels, below which its state is `short` (no room for a second line) and
|
|
102
|
+
* from which it is `tall` (room for two lines of its name): set them to your type's sizes.
|
|
103
|
+
* @default { short: 40, tall: 52 }
|
|
104
|
+
*/
|
|
105
|
+
eventHeights?: {
|
|
106
|
+
short: number;
|
|
107
|
+
tall: number;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* What a scroll comes to rest on: `"days"` on a day's start, `"hours"` on an hour's line, `"both"` on
|
|
111
|
+
* both. Left out, it rests wherever it stops. The grid only says so, as `data-scroll-snap`: the
|
|
112
|
+
* stylesheet (or yours) does the snapping, in whatever element scrolls.
|
|
113
|
+
*/
|
|
114
|
+
scrollSnap?: "days" | "hours" | "both";
|
|
115
|
+
/**
|
|
116
|
+
* Whether a touch scrolls one way at a time: up and down, or between days, whichever the finger first
|
|
117
|
+
* goes, and not both at once.
|
|
118
|
+
* @default false
|
|
119
|
+
*/
|
|
120
|
+
scrollLock?: boolean;
|
|
121
|
+
/** A BCP 47 tag. Left out, it is the nearest React Aria `I18nProvider`'s, or the browser's. */
|
|
122
|
+
locale?: string;
|
|
123
|
+
/**
|
|
124
|
+
* The IANA time zone "today" and the line for "now" are told in: the zone
|
|
125
|
+
* the events happen in ("Asia/Tokyo"), wherever the grid is read.
|
|
126
|
+
* @default this device's
|
|
127
|
+
*/
|
|
128
|
+
timeZone?: string;
|
|
129
|
+
/** Your words for "all-day" and for what is read aloud. */
|
|
130
|
+
labels?: Partial<CalendarLabels>;
|
|
131
|
+
/** A ref to the grid's actions: `actionsRef.current.scrollToTime("now")`. */
|
|
132
|
+
actionsRef?: React.RefObject<TimeGridRootActions | null>;
|
|
133
|
+
}
|
|
134
|
+
declare const TimeGridRoot: React.ForwardRefExoticComponent<TimeGridRootProps & React.RefAttributes<HTMLDivElement>>;
|
|
135
|
+
declare namespace TimeGridRoot {
|
|
136
|
+
type Actions = TimeGridRootActions;
|
|
137
|
+
type ScrollTarget = TimeGridScrollTarget;
|
|
138
|
+
type ScrollOptions = TimeGridScrollOptions;
|
|
139
|
+
type Props = TimeGridRootProps;
|
|
140
|
+
type State = TimeGridRootState;
|
|
141
|
+
type ValueChangeDetails = TimeGridValueChangeDetails;
|
|
142
|
+
type EventChange = TimeGridEventChange;
|
|
143
|
+
type EventChangeDetails = TimeGridEventChangeDetails;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
type TimeGridHoursState = {
|
|
147
|
+
from: number;
|
|
148
|
+
to: number;
|
|
149
|
+
};
|
|
150
|
+
interface TimeGridHoursProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style" | "children">, CalendarComponentsPartProps<TimeGridHoursState, HTMLDivElement> {
|
|
151
|
+
/** Draws one hour: return a `TimeGrid.Hour`. Left out, each is a plain `TimeGrid.Hour`. */
|
|
152
|
+
children?: (hour: number) => React.ReactNode;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* One hour's label: the hour (0 to 23, past 24 for the day after), its words
|
|
156
|
+
* in the locale ("7 AM"), and those words in parts ("7", "AM") for a label
|
|
157
|
+
* that sets them apart. `noon` is true at midday when the grid's labels name it,
|
|
158
|
+
* and `offHours` outside the working day when the grid was given one.
|
|
159
|
+
*/
|
|
160
|
+
type TimeGridHourState = {
|
|
161
|
+
hour: number;
|
|
162
|
+
label: string;
|
|
163
|
+
hourLabel: string;
|
|
164
|
+
dayPeriodLabel: string;
|
|
165
|
+
noon: boolean;
|
|
166
|
+
offHours: boolean;
|
|
167
|
+
};
|
|
168
|
+
interface TimeGridHourProps extends CalendarComponentsPartElementProps<TimeGridHourState> {
|
|
169
|
+
/** The hour, from `TimeGrid.Hours`. */
|
|
170
|
+
hour: number;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* The hours down the side: as tall as the columns, holding a `TimeGrid.Hour`
|
|
174
|
+
* at each hour's line. Hidden from screen readers, which hear each event's
|
|
175
|
+
* times. Renders a `<div>`.
|
|
176
|
+
*/
|
|
177
|
+
declare const TimeGridHours: React.ForwardRefExoticComponent<TimeGridHoursProps & React.RefAttributes<HTMLDivElement>>;
|
|
178
|
+
declare namespace TimeGridHours {
|
|
179
|
+
type Props = TimeGridHoursProps;
|
|
180
|
+
type State = TimeGridHoursState;
|
|
181
|
+
}
|
|
182
|
+
/** An hour's label, placed at its line. Its children default to the hour in the locale's words. Renders a `<div>`. */
|
|
183
|
+
declare const TimeGridHour: React.ForwardRefExoticComponent<TimeGridHourProps & React.RefAttributes<HTMLDivElement>>;
|
|
184
|
+
declare namespace TimeGridHour {
|
|
185
|
+
type Props = TimeGridHourProps;
|
|
186
|
+
type State = TimeGridHourState;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
/** What every part of a day says about it. */
|
|
190
|
+
type TimeGridDayState = {
|
|
191
|
+
date: string;
|
|
192
|
+
today: boolean;
|
|
193
|
+
weekend: boolean;
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
/** The day, and its words in the locale: "Sun" and "22". */
|
|
197
|
+
type TimeGridDayHeaderState = TimeGridDayState & {
|
|
198
|
+
weekdayLabel: string;
|
|
199
|
+
dayLabel: string;
|
|
200
|
+
};
|
|
201
|
+
interface TimeGridDayHeaderProps extends CalendarComponentsPartElementProps<TimeGridDayHeaderState> {
|
|
202
|
+
/** The day this heads. */
|
|
203
|
+
day: CalendarDay;
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* A day's heading, for the eye. Its children are given the weekday and the
|
|
207
|
+
* date in the locale's words. A screen reader hears the day from its
|
|
208
|
+
* `TimeGrid.Column`, which is named for it, so this is hidden from one:
|
|
209
|
+
* give it `aria-hidden={false}` if you draw it as a button or a link.
|
|
210
|
+
* Renders a `<div>`.
|
|
211
|
+
*/
|
|
212
|
+
declare const TimeGridDayHeader: React.ForwardRefExoticComponent<TimeGridDayHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
213
|
+
declare namespace TimeGridDayHeader {
|
|
214
|
+
type Props = TimeGridDayHeaderProps;
|
|
215
|
+
type State = TimeGridDayHeaderState;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
type TimeGridAllDayState = TimeGridDayState;
|
|
219
|
+
interface TimeGridAllDayProps extends CalendarComponentsPartElementProps<TimeGridAllDayState> {
|
|
220
|
+
/** The day this cell is for. */
|
|
221
|
+
day: CalendarDay;
|
|
222
|
+
}
|
|
223
|
+
/** A day's cell in the all-day row: what is on that day at no set time. Renders a `<div>`. */
|
|
224
|
+
declare const TimeGridAllDay: React.ForwardRefExoticComponent<TimeGridAllDayProps & React.RefAttributes<HTMLDivElement>>;
|
|
225
|
+
declare namespace TimeGridAllDay {
|
|
226
|
+
type Props = TimeGridAllDayProps;
|
|
227
|
+
type State = TimeGridAllDayState;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
type TimeGridAllDayEventState<E extends {
|
|
231
|
+
id: string;
|
|
232
|
+
} = {
|
|
233
|
+
id: string;
|
|
234
|
+
}> = CalendarComponentsInteractionState & {
|
|
235
|
+
/** The event you gave. */
|
|
236
|
+
event: E;
|
|
237
|
+
selected: boolean;
|
|
238
|
+
};
|
|
239
|
+
interface TimeGridAllDayEventProps<E extends {
|
|
240
|
+
id: string;
|
|
241
|
+
} = {
|
|
242
|
+
id: string;
|
|
243
|
+
}> extends CalendarComponentsPartElementProps<TimeGridAllDayEventState<E>> {
|
|
244
|
+
/** The event, as every event part takes it: its id is what `value` is when it is selected. */
|
|
245
|
+
event: E;
|
|
246
|
+
/** The event's name: what it shows when it has no children. */
|
|
247
|
+
label?: string;
|
|
248
|
+
/** Whether it ignores presses. */
|
|
249
|
+
disabled?: boolean;
|
|
250
|
+
}
|
|
251
|
+
/**
|
|
252
|
+
* An all-day event. Pressed, it is selected, as a timed one is. It is a row of
|
|
253
|
+
* the grid's list with them: the arrows go between the all-day events of a day
|
|
254
|
+
* and across days, and down from the last is the day's first timed event.
|
|
255
|
+
* Renders a `<div>` with the row role, and its content in a cell.
|
|
256
|
+
*/
|
|
257
|
+
declare const TimeGridAllDayEvent: React.ForwardRefExoticComponent<TimeGridAllDayEventProps<{
|
|
258
|
+
id: string;
|
|
259
|
+
}> & React.RefAttributes<HTMLDivElement>>;
|
|
260
|
+
declare namespace TimeGridAllDayEvent {
|
|
261
|
+
type Props = TimeGridAllDayEventProps;
|
|
262
|
+
type State = TimeGridAllDayEventState;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
type TimeGridColumnState = TimeGridDayState;
|
|
266
|
+
interface TimeGridColumnProps extends CalendarComponentsPartElementProps<TimeGridColumnState> {
|
|
267
|
+
/** The day this column is. */
|
|
268
|
+
day: CalendarDay;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* One day's column: as tall as the hours drawn, and what its events, lines
|
|
272
|
+
* and "now" are placed against. A screen reader hears it as a group of the
|
|
273
|
+
* grid's rows, named for the day. Renders a `<div>`.
|
|
274
|
+
*/
|
|
275
|
+
declare const TimeGridColumn: React.ForwardRefExoticComponent<TimeGridColumnProps & React.RefAttributes<HTMLDivElement>>;
|
|
276
|
+
declare namespace TimeGridColumn {
|
|
277
|
+
type Props = TimeGridColumnProps;
|
|
278
|
+
type State = TimeGridColumnState;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
interface TimeGridLinesProps {
|
|
282
|
+
/** Draws one hour's line: return a `TimeGrid.Line`. Left out, each is a plain `TimeGrid.Line` with these props. */
|
|
283
|
+
children?: (hour: number) => React.ReactNode;
|
|
284
|
+
/** Given to each line when `children` is left out. */
|
|
285
|
+
className?: string;
|
|
286
|
+
style?: React.CSSProperties;
|
|
287
|
+
}
|
|
288
|
+
type TimeGridLineState = {
|
|
289
|
+
hour: number;
|
|
290
|
+
/** Outside the working day, when the grid was given `workHours`. */
|
|
291
|
+
offHours: boolean;
|
|
292
|
+
};
|
|
293
|
+
interface TimeGridLineProps extends CalendarComponentsPartElementProps<TimeGridLineState> {
|
|
294
|
+
/**
|
|
295
|
+
* The time the line is at, in hours: 9 for nine o'clock, 9.5 for half past,
|
|
296
|
+
* so a column can have lines of its own between the hours.
|
|
297
|
+
*/
|
|
298
|
+
hour: number;
|
|
299
|
+
}
|
|
300
|
+
/** A `TimeGrid.Line` across the column at each hour. Renders nothing itself. */
|
|
301
|
+
declare function TimeGridLines({ children, className, style }: TimeGridLinesProps): React.JSX.Element;
|
|
302
|
+
declare namespace TimeGridLines {
|
|
303
|
+
type Props = TimeGridLinesProps;
|
|
304
|
+
}
|
|
305
|
+
/** A line across the column at a time. Renders a `<div>`. */
|
|
306
|
+
declare const TimeGridLine: React.ForwardRefExoticComponent<TimeGridLineProps & React.RefAttributes<HTMLDivElement>>;
|
|
307
|
+
declare namespace TimeGridLine {
|
|
308
|
+
type Props = TimeGridLineProps;
|
|
309
|
+
type State = TimeGridLineState;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
/** An event and where it sits among those it overlaps: lane 0 is the leading one, of `lanes`. */
|
|
313
|
+
interface TimeGridEventsItem<E extends CalendarEvent = CalendarEvent> {
|
|
314
|
+
event: E;
|
|
315
|
+
lane: number;
|
|
316
|
+
lanes: number;
|
|
317
|
+
}
|
|
318
|
+
interface TimeGridEventsProps<E extends CalendarEvent = CalendarEvent> {
|
|
319
|
+
/** Draws one event: return a `TimeGrid.Event`, given the item's `event`, `lane` and `lanes`. */
|
|
320
|
+
children: (item: TimeGridEventsItem<E>) => React.ReactNode;
|
|
321
|
+
}
|
|
322
|
+
/** The column's events, in time order, each with its lane: events that overlap share the width. Renders nothing itself. */
|
|
323
|
+
declare function TimeGridEvents<E extends CalendarEvent = CalendarEvent>({ children }: TimeGridEventsProps<E>): React.JSX.Element;
|
|
324
|
+
declare namespace TimeGridEvents {
|
|
325
|
+
type Props<E extends CalendarEvent = CalendarEvent> = TimeGridEventsProps<E>;
|
|
326
|
+
type Item<E extends CalendarEvent = CalendarEvent> = TimeGridEventsItem<E>;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
type TimeGridEventState = CalendarComponentsInteractionState & {
|
|
330
|
+
event: CalendarEvent;
|
|
331
|
+
/** Its start and end as drawn: where a drag has it, while it is dragged. */
|
|
332
|
+
start: number;
|
|
333
|
+
end: number;
|
|
334
|
+
/** Its times in the locale's words: "9:30 AM". */
|
|
335
|
+
startLabel: string;
|
|
336
|
+
endLabel: string;
|
|
337
|
+
/** The same times in parts, to set the day period apart: `{ time: "9:30", dayPeriod: "AM" }`. */
|
|
338
|
+
startParts: {
|
|
339
|
+
time: string;
|
|
340
|
+
dayPeriod: string;
|
|
341
|
+
};
|
|
342
|
+
endParts: {
|
|
343
|
+
time: string;
|
|
344
|
+
dayPeriod: string;
|
|
345
|
+
};
|
|
346
|
+
selected: boolean;
|
|
347
|
+
dragging: boolean;
|
|
348
|
+
/** Too short for a second line. */
|
|
349
|
+
short: boolean;
|
|
350
|
+
/** Tall enough for a line under its name. */
|
|
351
|
+
tall: boolean;
|
|
352
|
+
lane: number;
|
|
353
|
+
lanes: number;
|
|
354
|
+
};
|
|
355
|
+
interface TimeGridEventProps extends CalendarComponentsPartElementProps<TimeGridEventState> {
|
|
356
|
+
/** The event, from `TimeGrid.Events`. */
|
|
357
|
+
event: CalendarEvent;
|
|
358
|
+
/** Its lane among the events it overlaps, from `TimeGrid.Events`. */
|
|
359
|
+
lane?: number;
|
|
360
|
+
lanes?: number;
|
|
361
|
+
/** The event's name: what it shows when it has no children, and what is announced when it is moved. */
|
|
362
|
+
label: string;
|
|
363
|
+
/** Whether it ignores presses and stays put. */
|
|
364
|
+
disabled?: boolean;
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* An event, placed in its column by its times and its lane. One event in the
|
|
368
|
+
* grid takes Tab; the arrows move between them (through a day in time order,
|
|
369
|
+
* sideways to the nearest in time on the next day), Home and End go to a
|
|
370
|
+
* day's first and last, and Enter or Space selects.
|
|
371
|
+
*
|
|
372
|
+
* In an editable grid it can be dragged to another time or day, by a pointer
|
|
373
|
+
* or from the keyboard (React Aria's drag and drop: Alt+Enter picks it up,
|
|
374
|
+
* the arrows go from time to time, Enter drops it), and its end pulled from
|
|
375
|
+
* `TimeGrid.EventResizeHandle`. What happened is announced.
|
|
376
|
+
*
|
|
377
|
+
* Renders a `<div>` with the row role, and its content in a cell.
|
|
378
|
+
*/
|
|
379
|
+
declare const TimeGridEvent: React.ForwardRefExoticComponent<TimeGridEventProps & React.RefAttributes<HTMLDivElement>>;
|
|
380
|
+
declare namespace TimeGridEvent {
|
|
381
|
+
type Props = TimeGridEventProps;
|
|
382
|
+
type State = TimeGridEventState;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
type TimeGridEventResizeHandleState = Record<string, never>;
|
|
386
|
+
interface TimeGridEventResizeHandleProps extends CalendarComponentsPartElementProps<TimeGridEventResizeHandleState> {
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* The foot of an event, pulled to change when it ends: by a pointer, or by
|
|
390
|
+
* the keyboard as a slider is (Tab from the event comes to it, and up and
|
|
391
|
+
* down move the end a step). Nothing in a grid that is not editable, or in
|
|
392
|
+
* an event that is disabled. Renders a `<div>` with the slider role.
|
|
393
|
+
*/
|
|
394
|
+
declare const TimeGridEventResizeHandle: React.ForwardRefExoticComponent<TimeGridEventResizeHandleProps & React.RefAttributes<HTMLDivElement>>;
|
|
395
|
+
declare namespace TimeGridEventResizeHandle {
|
|
396
|
+
type Props = TimeGridEventResizeHandleProps;
|
|
397
|
+
type State = TimeGridEventResizeHandleState;
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
/** The time it is: minutes past midnight, and in the locale's words. */
|
|
401
|
+
type TimeGridNowState = {
|
|
402
|
+
minutes: number;
|
|
403
|
+
label: string;
|
|
404
|
+
};
|
|
405
|
+
interface TimeGridNowProps extends CalendarComponentsPartElementProps<TimeGridNowState> {
|
|
406
|
+
}
|
|
407
|
+
/**
|
|
408
|
+
* Placed across today's column at the time it is now, and kept there. Renders
|
|
409
|
+
* nothing on any other day, or outside the hours drawn. Renders a `<div>`.
|
|
410
|
+
*/
|
|
411
|
+
declare const TimeGridNow: React.ForwardRefExoticComponent<TimeGridNowProps & React.RefAttributes<HTMLDivElement>>;
|
|
412
|
+
declare namespace TimeGridNow {
|
|
413
|
+
type Props = TimeGridNowProps;
|
|
414
|
+
type State = TimeGridNowState;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
declare namespace index_parts {
|
|
418
|
+
export { TimeGridAllDay as AllDay, TimeGridAllDayEvent as AllDayEvent, TimeGridColumn as Column, TimeGridDayHeader as DayHeader, TimeGridEvent as Event, TimeGridEventResizeHandle as EventResizeHandle, TimeGridEvents as Events, TimeGridHour as Hour, TimeGridHours as Hours, TimeGridLine as Line, TimeGridLines as Lines, TimeGridNow as Now, TimeGridRoot as Root };
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
/** What a part of your own can know of the grid it is in: what it draws and in whose words, and nothing of how it keeps focus or a drag. */
|
|
422
|
+
interface TimeGridContextValue {
|
|
423
|
+
days: readonly CalendarDay[];
|
|
424
|
+
/** The hours drawn. */
|
|
425
|
+
range: HourRange;
|
|
426
|
+
workHours: HourRange | undefined;
|
|
427
|
+
hourHeight: number;
|
|
428
|
+
laneOverlap: number;
|
|
429
|
+
minEventHeight: number;
|
|
430
|
+
eventHeights: {
|
|
431
|
+
short: number;
|
|
432
|
+
tall: number;
|
|
433
|
+
};
|
|
434
|
+
locale: LocaleInfo;
|
|
435
|
+
/** The IANA zone "today" and "now" are told in. */
|
|
436
|
+
timeZone: string;
|
|
437
|
+
labels: CalendarLabels;
|
|
438
|
+
/** Minutes a drag snaps to. */
|
|
439
|
+
step: number;
|
|
440
|
+
/** Whether events can be moved and resized. */
|
|
441
|
+
editable: boolean;
|
|
442
|
+
}
|
|
443
|
+
/** For a part of your own inside `TimeGrid.Root`. To place it by its times, use `useEventPlacement`. */
|
|
444
|
+
declare function useTimeGrid(): TimeGridContextValue;
|
|
445
|
+
|
|
446
|
+
/** What an event's own parts need of it: here, the handle that resizes it. */
|
|
447
|
+
interface TimeGridEventContextValue {
|
|
448
|
+
/** The handle's handlers and what it says of itself (a slider of when the event ends). Null where the event cannot be resized. */
|
|
449
|
+
resizeProps: React.HTMLAttributes<HTMLElement> | null;
|
|
450
|
+
}
|
|
451
|
+
/** For a part of your own inside `TimeGrid.Event`: a resize handle drawn your own way puts `resizeProps` on what is pulled. */
|
|
452
|
+
declare function useTimeGridEvent(): TimeGridEventContextValue;
|
|
453
|
+
|
|
454
|
+
declare function useTimeGridColumnContext(part?: string): CalendarDay;
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Where something with a start and an end sits in its column, as
|
|
458
|
+
* `TimeGrid.Event` places itself: for a part of your own that is not an
|
|
459
|
+
* event (a block of travel time, a shaded stretch of working hours).
|
|
460
|
+
*/
|
|
461
|
+
declare function useEventPlacement(span: Span, lane?: number, lanes?: number): {
|
|
462
|
+
style: React.CSSProperties;
|
|
463
|
+
height: number;
|
|
464
|
+
};
|
|
465
|
+
|
|
466
|
+
/**
|
|
467
|
+
* Identifies the grid.
|
|
468
|
+
* @type {'time-grid'}
|
|
469
|
+
*/
|
|
470
|
+
declare const slot$a = "data-slot";
|
|
471
|
+
/**
|
|
472
|
+
* Present when events can be moved and resized.
|
|
473
|
+
*/
|
|
474
|
+
declare const editable = "data-editable";
|
|
475
|
+
/**
|
|
476
|
+
* Present while an event is being dragged.
|
|
477
|
+
*/
|
|
478
|
+
declare const dragging$1 = "data-dragging";
|
|
479
|
+
/**
|
|
480
|
+
* What a scroll comes to rest on, when `scrollSnap` is given.
|
|
481
|
+
* @type {'days' | 'hours' | 'both'}
|
|
482
|
+
*/
|
|
483
|
+
declare const scrollSnap = "data-scroll-snap";
|
|
484
|
+
/**
|
|
485
|
+
* Present when `scrollLock` is on: a touch scrolls one way at a time.
|
|
486
|
+
*/
|
|
487
|
+
declare const scrollLock = "data-scroll-lock";
|
|
488
|
+
/**
|
|
489
|
+
* Present while a finger moves the days, when `scrollLock` is on.
|
|
490
|
+
* @type {'x'}
|
|
491
|
+
*/
|
|
492
|
+
declare const scrollAxis = "data-scroll-axis";
|
|
493
|
+
|
|
494
|
+
declare const TimeGridRootDataAttributes_editable: typeof editable;
|
|
495
|
+
declare const TimeGridRootDataAttributes_scrollAxis: typeof scrollAxis;
|
|
496
|
+
declare const TimeGridRootDataAttributes_scrollLock: typeof scrollLock;
|
|
497
|
+
declare const TimeGridRootDataAttributes_scrollSnap: typeof scrollSnap;
|
|
498
|
+
declare namespace TimeGridRootDataAttributes {
|
|
499
|
+
export { dragging$1 as dragging, TimeGridRootDataAttributes_editable as editable, TimeGridRootDataAttributes_scrollAxis as scrollAxis, TimeGridRootDataAttributes_scrollLock as scrollLock, TimeGridRootDataAttributes_scrollSnap as scrollSnap, slot$a as slot };
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
/**
|
|
503
|
+
* What an hour is tall.
|
|
504
|
+
* @type {length}
|
|
505
|
+
* @default 56px
|
|
506
|
+
*/
|
|
507
|
+
declare const hourHeight = "--time-grid-hour-height";
|
|
508
|
+
/**
|
|
509
|
+
* The height of the hours drawn: every column's height.
|
|
510
|
+
* @type {length}
|
|
511
|
+
*/
|
|
512
|
+
declare const height = "--time-grid-height";
|
|
513
|
+
/**
|
|
514
|
+
* How many days the grid has.
|
|
515
|
+
* @type {number}
|
|
516
|
+
*/
|
|
517
|
+
declare const days = "--time-grid-days";
|
|
518
|
+
/**
|
|
519
|
+
* What the days' names are tall, measured: where the all-day row stays put under them.
|
|
520
|
+
* @type {length}
|
|
521
|
+
*/
|
|
522
|
+
declare const dayHeaderHeight = "--time-grid-day-header-height";
|
|
523
|
+
/**
|
|
524
|
+
* What the names and the all-day row are tall together, measured: what stays put over the hours.
|
|
525
|
+
* @type {length}
|
|
526
|
+
*/
|
|
527
|
+
declare const headHeight = "--time-grid-head-height";
|
|
528
|
+
|
|
529
|
+
declare const TimeGridRootCssVars_dayHeaderHeight: typeof dayHeaderHeight;
|
|
530
|
+
declare const TimeGridRootCssVars_days: typeof days;
|
|
531
|
+
declare const TimeGridRootCssVars_headHeight: typeof headHeight;
|
|
532
|
+
declare const TimeGridRootCssVars_height: typeof height;
|
|
533
|
+
declare const TimeGridRootCssVars_hourHeight: typeof hourHeight;
|
|
534
|
+
declare namespace TimeGridRootCssVars {
|
|
535
|
+
export { TimeGridRootCssVars_dayHeaderHeight as dayHeaderHeight, TimeGridRootCssVars_days as days, TimeGridRootCssVars_headHeight as headHeight, TimeGridRootCssVars_height as height, TimeGridRootCssVars_hourHeight as hourHeight };
|
|
536
|
+
}
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* Identifies a day's column.
|
|
540
|
+
* @type {'time-grid-column'}
|
|
541
|
+
*/
|
|
542
|
+
declare const slot$9 = "data-slot";
|
|
543
|
+
/**
|
|
544
|
+
* The day, as YYYY-MM-DD.
|
|
545
|
+
* @type {string}
|
|
546
|
+
*/
|
|
547
|
+
declare const date$2 = "data-date";
|
|
548
|
+
/**
|
|
549
|
+
* Present on today's column.
|
|
550
|
+
*/
|
|
551
|
+
declare const today$2 = "data-today";
|
|
552
|
+
/**
|
|
553
|
+
* Present on a day of the locale's weekend.
|
|
554
|
+
*/
|
|
555
|
+
declare const weekend$2 = "data-weekend";
|
|
556
|
+
|
|
557
|
+
declare namespace TimeGridColumnDataAttributes {
|
|
558
|
+
export { date$2 as date, slot$9 as slot, today$2 as today, weekend$2 as weekend };
|
|
559
|
+
}
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* Identifies a day's heading.
|
|
563
|
+
* @type {'time-grid-day-header'}
|
|
564
|
+
*/
|
|
565
|
+
declare const slot$8 = "data-slot";
|
|
566
|
+
/**
|
|
567
|
+
* The day, as YYYY-MM-DD.
|
|
568
|
+
* @type {string}
|
|
569
|
+
*/
|
|
570
|
+
declare const date$1 = "data-date";
|
|
571
|
+
/**
|
|
572
|
+
* Present on today's heading.
|
|
573
|
+
*/
|
|
574
|
+
declare const today$1 = "data-today";
|
|
575
|
+
/**
|
|
576
|
+
* Present on a day of the locale's weekend.
|
|
577
|
+
*/
|
|
578
|
+
declare const weekend$1 = "data-weekend";
|
|
579
|
+
|
|
580
|
+
declare namespace TimeGridDayHeaderDataAttributes {
|
|
581
|
+
export { date$1 as date, slot$8 as slot, today$1 as today, weekend$1 as weekend };
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Identifies a day's cell in the all-day row.
|
|
586
|
+
* @type {'time-grid-all-day'}
|
|
587
|
+
*/
|
|
588
|
+
declare const slot$7 = "data-slot";
|
|
589
|
+
/**
|
|
590
|
+
* The day, as YYYY-MM-DD.
|
|
591
|
+
* @type {string}
|
|
592
|
+
*/
|
|
593
|
+
declare const date = "data-date";
|
|
594
|
+
/**
|
|
595
|
+
* Present on today's cell.
|
|
596
|
+
*/
|
|
597
|
+
declare const today = "data-today";
|
|
598
|
+
/**
|
|
599
|
+
* Present on a day of the locale's weekend.
|
|
600
|
+
*/
|
|
601
|
+
declare const weekend = "data-weekend";
|
|
602
|
+
|
|
603
|
+
declare const TimeGridAllDayDataAttributes_date: typeof date;
|
|
604
|
+
declare const TimeGridAllDayDataAttributes_today: typeof today;
|
|
605
|
+
declare const TimeGridAllDayDataAttributes_weekend: typeof weekend;
|
|
606
|
+
declare namespace TimeGridAllDayDataAttributes {
|
|
607
|
+
export { TimeGridAllDayDataAttributes_date as date, slot$7 as slot, TimeGridAllDayDataAttributes_today as today, TimeGridAllDayDataAttributes_weekend as weekend };
|
|
608
|
+
}
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* Identifies an event.
|
|
612
|
+
* @type {'time-grid-event'}
|
|
613
|
+
*/
|
|
614
|
+
declare const slot$6 = "data-slot";
|
|
615
|
+
/**
|
|
616
|
+
* The event's id.
|
|
617
|
+
* @type {string}
|
|
618
|
+
*/
|
|
619
|
+
declare const value$1 = "data-value";
|
|
620
|
+
/**
|
|
621
|
+
* Present on the selected event.
|
|
622
|
+
*/
|
|
623
|
+
declare const selected$1 = "data-selected";
|
|
624
|
+
/**
|
|
625
|
+
* Present while the event is being dragged or resized.
|
|
626
|
+
*/
|
|
627
|
+
declare const dragging = "data-dragging";
|
|
628
|
+
/**
|
|
629
|
+
* Present on an event too short for a second line.
|
|
630
|
+
*/
|
|
631
|
+
declare const short = "data-short";
|
|
632
|
+
/**
|
|
633
|
+
* Present on an event tall enough for a line under its name.
|
|
634
|
+
*/
|
|
635
|
+
declare const tall = "data-tall";
|
|
636
|
+
/**
|
|
637
|
+
* Which lane it is in among the events it overlaps; 0 is the leading one.
|
|
638
|
+
* @type {number}
|
|
639
|
+
*/
|
|
640
|
+
declare const lane = "data-lane";
|
|
641
|
+
/**
|
|
642
|
+
* How many lanes there are among the events it overlaps; 1 when it overlaps none.
|
|
643
|
+
* @type {number}
|
|
644
|
+
*/
|
|
645
|
+
declare const lanes = "data-lanes";
|
|
646
|
+
/**
|
|
647
|
+
* Present while it is pressed.
|
|
648
|
+
*/
|
|
649
|
+
declare const pressed$1 = "data-pressed";
|
|
650
|
+
/**
|
|
651
|
+
* Present while the pointer is over it (never on touch).
|
|
652
|
+
*/
|
|
653
|
+
declare const hovered$1 = "data-hovered";
|
|
654
|
+
/**
|
|
655
|
+
* Present while it has keyboard focus.
|
|
656
|
+
*/
|
|
657
|
+
declare const focusVisible$1 = "data-focus-visible";
|
|
658
|
+
/**
|
|
659
|
+
* Present when it is disabled.
|
|
660
|
+
*/
|
|
661
|
+
declare const disabled$1 = "data-disabled";
|
|
662
|
+
|
|
663
|
+
declare const TimeGridEventDataAttributes_dragging: typeof dragging;
|
|
664
|
+
declare const TimeGridEventDataAttributes_lane: typeof lane;
|
|
665
|
+
declare const TimeGridEventDataAttributes_lanes: typeof lanes;
|
|
666
|
+
declare const TimeGridEventDataAttributes_short: typeof short;
|
|
667
|
+
declare const TimeGridEventDataAttributes_tall: typeof tall;
|
|
668
|
+
declare namespace TimeGridEventDataAttributes {
|
|
669
|
+
export { disabled$1 as disabled, TimeGridEventDataAttributes_dragging as dragging, focusVisible$1 as focusVisible, hovered$1 as hovered, TimeGridEventDataAttributes_lane as lane, TimeGridEventDataAttributes_lanes as lanes, pressed$1 as pressed, selected$1 as selected, TimeGridEventDataAttributes_short as short, slot$6 as slot, TimeGridEventDataAttributes_tall as tall, value$1 as value };
|
|
670
|
+
}
|
|
671
|
+
|
|
672
|
+
/**
|
|
673
|
+
* Identifies the hours down the side.
|
|
674
|
+
* @type {'time-grid-hours'}
|
|
675
|
+
*/
|
|
676
|
+
declare const slot$5 = "data-slot";
|
|
677
|
+
|
|
678
|
+
declare namespace TimeGridHoursDataAttributes {
|
|
679
|
+
export { slot$5 as slot };
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
/**
|
|
683
|
+
* Identifies an hour's label.
|
|
684
|
+
* @type {'time-grid-hour'}
|
|
685
|
+
*/
|
|
686
|
+
declare const slot$4 = "data-slot";
|
|
687
|
+
/**
|
|
688
|
+
* The hour, 0 to 23.
|
|
689
|
+
* @type {number}
|
|
690
|
+
*/
|
|
691
|
+
declare const hour$1 = "data-hour";
|
|
692
|
+
/** Present at midday, when the grid's labels name it. */
|
|
693
|
+
declare const noon = "data-noon";
|
|
694
|
+
/** Present outside the working day, when the grid was given `workHours`. */
|
|
695
|
+
declare const offHours$1 = "data-off-hours";
|
|
696
|
+
|
|
697
|
+
declare const TimeGridHourDataAttributes_noon: typeof noon;
|
|
698
|
+
declare namespace TimeGridHourDataAttributes {
|
|
699
|
+
export { hour$1 as hour, TimeGridHourDataAttributes_noon as noon, offHours$1 as offHours, slot$4 as slot };
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* Identifies a line across a day.
|
|
704
|
+
* @type {'time-grid-line'}
|
|
705
|
+
*/
|
|
706
|
+
declare const slot$3 = "data-slot";
|
|
707
|
+
/**
|
|
708
|
+
* The time it is at, in hours: 9.5 is half past nine.
|
|
709
|
+
* @type {number}
|
|
710
|
+
*/
|
|
711
|
+
declare const hour = "data-hour";
|
|
712
|
+
/** Present outside the working day, when the grid was given `workHours`. */
|
|
713
|
+
declare const offHours = "data-off-hours";
|
|
714
|
+
|
|
715
|
+
declare const TimeGridLineDataAttributes_hour: typeof hour;
|
|
716
|
+
declare const TimeGridLineDataAttributes_offHours: typeof offHours;
|
|
717
|
+
declare namespace TimeGridLineDataAttributes {
|
|
718
|
+
export { TimeGridLineDataAttributes_hour as hour, TimeGridLineDataAttributes_offHours as offHours, slot$3 as slot };
|
|
719
|
+
}
|
|
720
|
+
|
|
721
|
+
/**
|
|
722
|
+
* Identifies an all-day event.
|
|
723
|
+
* @type {'time-grid-all-day-event'}
|
|
724
|
+
*/
|
|
725
|
+
declare const slot$2 = "data-slot";
|
|
726
|
+
/**
|
|
727
|
+
* The event's id.
|
|
728
|
+
* @type {string}
|
|
729
|
+
*/
|
|
730
|
+
declare const value = "data-value";
|
|
731
|
+
/** Present on the selected event. */
|
|
732
|
+
declare const selected = "data-selected";
|
|
733
|
+
/** Present while it is pressed. */
|
|
734
|
+
declare const pressed = "data-pressed";
|
|
735
|
+
/** Present while the pointer is over it (never on touch). */
|
|
736
|
+
declare const hovered = "data-hovered";
|
|
737
|
+
/** Present while it has keyboard focus. */
|
|
738
|
+
declare const focusVisible = "data-focus-visible";
|
|
739
|
+
/** Present when it is disabled. */
|
|
740
|
+
declare const disabled = "data-disabled";
|
|
741
|
+
|
|
742
|
+
declare const TimeGridAllDayEventDataAttributes_disabled: typeof disabled;
|
|
743
|
+
declare const TimeGridAllDayEventDataAttributes_focusVisible: typeof focusVisible;
|
|
744
|
+
declare const TimeGridAllDayEventDataAttributes_hovered: typeof hovered;
|
|
745
|
+
declare const TimeGridAllDayEventDataAttributes_pressed: typeof pressed;
|
|
746
|
+
declare const TimeGridAllDayEventDataAttributes_selected: typeof selected;
|
|
747
|
+
declare const TimeGridAllDayEventDataAttributes_value: typeof value;
|
|
748
|
+
declare namespace TimeGridAllDayEventDataAttributes {
|
|
749
|
+
export { TimeGridAllDayEventDataAttributes_disabled as disabled, TimeGridAllDayEventDataAttributes_focusVisible as focusVisible, TimeGridAllDayEventDataAttributes_hovered as hovered, TimeGridAllDayEventDataAttributes_pressed as pressed, TimeGridAllDayEventDataAttributes_selected as selected, slot$2 as slot, TimeGridAllDayEventDataAttributes_value as value };
|
|
750
|
+
}
|
|
751
|
+
|
|
752
|
+
/**
|
|
753
|
+
* Identifies the foot of an event that is pulled to resize it.
|
|
754
|
+
* @type {'time-grid-event-resize-handle'}
|
|
755
|
+
*/
|
|
756
|
+
declare const slot$1 = "data-slot";
|
|
757
|
+
|
|
758
|
+
declare namespace TimeGridEventResizeHandleDataAttributes {
|
|
759
|
+
export { slot$1 as slot };
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* Identifies the line at the time it is.
|
|
764
|
+
* @type {'time-grid-now'}
|
|
765
|
+
*/
|
|
766
|
+
declare const slot = "data-slot";
|
|
767
|
+
|
|
768
|
+
declare const TimeGridNowDataAttributes_slot: typeof slot;
|
|
769
|
+
declare namespace TimeGridNowDataAttributes {
|
|
770
|
+
export { TimeGridNowDataAttributes_slot as slot };
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
export { CalendarComponentsInteractionState, CalendarComponentsPartElementProps, CalendarComponentsPartProps, index_parts as TimeGrid, TimeGridAllDayDataAttributes, TimeGridAllDayEventDataAttributes, type TimeGridAllDayEventProps, type TimeGridAllDayEventState, type TimeGridAllDayProps, type TimeGridAllDayState, TimeGridColumnDataAttributes, type TimeGridColumnProps, type TimeGridColumnState, type TimeGridContextValue, TimeGridDayHeaderDataAttributes, type TimeGridDayHeaderProps, type TimeGridDayHeaderState, type TimeGridEventChange, type TimeGridEventChangeDetails, type TimeGridEventChangeReason, type TimeGridEventContextValue, TimeGridEventDataAttributes, type TimeGridEventProps, TimeGridEventResizeHandleDataAttributes, type TimeGridEventResizeHandleProps, type TimeGridEventResizeHandleState, type TimeGridEventState, type TimeGridEventsItem, type TimeGridEventsProps, TimeGridHourDataAttributes, type TimeGridHourProps, type TimeGridHourState, TimeGridHoursDataAttributes, type TimeGridHoursProps, type TimeGridHoursState, TimeGridLineDataAttributes, type TimeGridLineProps, type TimeGridLineState, type TimeGridLinesProps, TimeGridNowDataAttributes, type TimeGridNowProps, type TimeGridNowState, type TimeGridRootActions, TimeGridRootCssVars as TimeGridRootCssVariables, TimeGridRootDataAttributes, type TimeGridRootProps, type TimeGridRootState, type TimeGridScrollOptions, type TimeGridScrollTarget, type TimeGridValueChangeDetails, type TimeGridValueChangeReason, useEventPlacement, useTimeGrid, useTimeGridColumnContext as useTimeGridColumn, useTimeGridEvent };
|