@ankhorage/zora 28.9.0 → 28.10.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.
Files changed (44) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -1
  3. package/dist/capabilities/index.js +52 -5
  4. package/dist/capabilities/index.js.map +4 -4
  5. package/dist/features/calendar/adapters/inbound/Calendar.d.ts +1 -1
  6. package/dist/features/calendar/adapters/inbound/Calendar.d.ts.map +1 -1
  7. package/dist/features/calendar/adapters/inbound/Calendar.js +207 -75
  8. package/dist/features/calendar/adapters/inbound/Calendar.js.map +1 -1
  9. package/dist/features/calendar/calendarMeta.d.ts +106 -4
  10. package/dist/features/calendar/calendarMeta.d.ts.map +1 -1
  11. package/dist/features/calendar/calendarMeta.js +44 -4
  12. package/dist/features/calendar/calendarMeta.js.map +1 -1
  13. package/dist/features/calendar/public.d.ts +1 -1
  14. package/dist/features/calendar/public.d.ts.map +1 -1
  15. package/dist/features/calendar/public.js.map +1 -1
  16. package/dist/features/data-table/dataTableMeta.d.ts +10 -0
  17. package/dist/features/data-table/dataTableMeta.d.ts.map +1 -1
  18. package/dist/features/data-table/dataTableMeta.js +7 -0
  19. package/dist/features/data-table/dataTableMeta.js.map +1 -1
  20. package/dist/types/calendar.d.ts +40 -19
  21. package/dist/types/calendar.d.ts.map +1 -1
  22. package/dist/types/calendar.js.map +1 -1
  23. package/package.json +79 -4
  24. package/src/features/calendar/adapters/inbound/Calendar.interaction.test.tsx +95 -0
  25. package/src/features/calendar/adapters/inbound/Calendar.tsx +425 -135
  26. package/src/features/calendar/calendarMeta.ts +44 -4
  27. package/src/features/calendar/public.test.ts +8 -5
  28. package/src/features/calendar/public.ts +4 -0
  29. package/src/features/data-table/adapters/inbound/DataTable.test.tsx +52 -1
  30. package/src/features/data-table/dataTableMeta.test.ts +8 -1
  31. package/src/features/data-table/dataTableMeta.ts +7 -0
  32. package/src/features/registry/componentMeta.test.ts +1 -0
  33. package/src/types/calendar.ts +44 -19
  34. package/web-dist/chunks/Accordion-59x6e7bs.js +200 -0
  35. package/web-dist/chunks/Accordion-q2yxtdzc.js +426 -0
  36. package/web-dist/components/calendar/Calendar.d.ts +2 -2
  37. package/web-dist/components/calendar/Calendar.dependency-2.d.ts +165 -0
  38. package/web-dist/components/calendar/Calendar.js +2 -1
  39. package/web-dist/components/calendar/Calendar.types-0.d.ts +45 -19
  40. package/web-dist/components/calendar/index.d.ts +1 -1
  41. package/web-dist/components/date-picker/DatePicker.js +2 -1
  42. package/web-dist/components/time-grid/TimeGrid.js +4 -198
  43. package/web-dist/manifest.json +6 -2
  44. package/web-dist/chunks/Accordion-v3bmbnfh.js +0 -237
@@ -3,9 +3,49 @@ import type { ZoraComponentMeta } from '../../types/authoring';
3
3
  export const calendarMeta = {
4
4
  name: 'Calendar',
5
5
  category: 'component',
6
- description: 'Reusable local-date calendar with a month view backed by GridView geometry.',
7
- directManifestNode: false,
8
- note: 'Uses Date values and executable change callbacks; available through the public code API.',
6
+ description: 'Serializable Calendar with GridView month and TimeGrid day/week views.',
7
+ directManifestNode: true,
9
8
  allowedChildren: [],
10
- props: {},
9
+ blueprint: {
10
+ label: 'Calendar',
11
+ defaultProps: { displayedDate: '2026-12-04', events: [], view: 'month' },
12
+ },
13
+ events: {
14
+ dateChange: {
15
+ label: 'Date change',
16
+ eventType: 'calendar.dateChange',
17
+ payloadFields: [{ path: 'date', type: 'string', label: 'Date' }],
18
+ },
19
+ viewChange: {
20
+ label: 'View change',
21
+ eventType: 'calendar.viewChange',
22
+ payloadFields: [{ path: 'view', type: 'string', label: 'View' }],
23
+ },
24
+ eventActivate: {
25
+ label: 'Activate event',
26
+ eventType: 'calendar.eventActivate',
27
+ payloadFields: [{ path: 'eventId', type: 'string', label: 'Event ID' }],
28
+ },
29
+ },
30
+ bindings: {
31
+ props: {
32
+ displayedDate: { value: { type: 'string' }, acceptsFallback: true, acceptsTransforms: true },
33
+ events: {
34
+ value: { type: 'array', itemType: 'object' },
35
+ acceptsFallback: true,
36
+ acceptsTransforms: true,
37
+ },
38
+ view: { value: { type: 'string' }, acceptsFallback: true },
39
+ },
40
+ },
41
+ props: {
42
+ displayedDate: { type: 'string', category: 'State', label: 'Displayed date' },
43
+ defaultDisplayedDate: { type: 'string', category: 'State', label: 'Initial displayed date' },
44
+ view: { type: 'enum', category: 'State', enum: ['day', 'week', 'month'] },
45
+ timeZone: { type: 'string', category: 'State', label: 'Timezone' },
46
+ events: { type: 'array', category: 'Data', label: 'Events' },
47
+ locale: { type: 'string', category: 'Content', label: 'Locale' },
48
+ weekStartsOn: { type: 'number', category: 'Layout', label: 'Week starts on' },
49
+ density: { type: 'enum', category: 'Layout', enum: ['regular', 'compact'] },
50
+ },
11
51
  } as const satisfies ZoraComponentMeta;
@@ -2,13 +2,16 @@ import { expect, test } from 'bun:test';
2
2
 
3
3
  import { calendarMeta } from './calendarMeta';
4
4
 
5
- test('Calendar publishes one locked GridView month presentation for both densities', async () => {
5
+ test('Calendar publishes serializable GridView and TimeGrid manifest presentations', async () => {
6
6
  const source = await Bun.file('src/features/calendar/adapters/inbound/Calendar.tsx').text();
7
7
 
8
- expect(calendarMeta.directManifestNode).toBe(false);
8
+ expect(calendarMeta.directManifestNode).toBe(true);
9
9
  expect(calendarMeta.description).toContain('GridView');
10
+ expect(calendarMeta.description).toContain('TimeGrid');
11
+ expect(calendarMeta.bindings.props.displayedDate.value.type).toBe('string');
12
+ expect(calendarMeta.events.eventActivate.eventType).toBe('calendar.eventActivate');
10
13
  expect(source).toContain('<GridView');
11
- expect(source).toContain('viewportInteraction="locked"');
12
- expect(source).toContain("density === 'compact' ? 42 : 48");
13
- expect(source).toContain('onSelectedDateChange?.(cell.date)');
14
+ expect(source).toContain('<TimeGrid');
15
+ expect(source).toContain('getZonedDateTimeParts');
16
+ expect(source).toContain('onEventActivate?.({ eventId: id })');
14
17
  });
@@ -1,7 +1,11 @@
1
1
  export type {
2
+ CalendarDateChangeEvent,
2
3
  CalendarDensity,
4
+ CalendarEventActivateEvent,
5
+ CalendarManifestProps,
3
6
  CalendarProps,
4
7
  CalendarView,
8
+ CalendarViewChangeEvent,
5
9
  CalendarWeekStart,
6
10
  } from '../../types/calendar';
7
11
  export type {
@@ -78,7 +78,20 @@ await mock.module('../../../card/public', () => ({
78
78
  </div>
79
79
  ),
80
80
  }));
81
- await mock.module('../../../empty-state/public', () => ({ EmptyState: View }));
81
+ await mock.module('../../../empty-state/public', () => ({
82
+ EmptyState: ({
83
+ description,
84
+ title,
85
+ }: {
86
+ description?: React.ReactNode;
87
+ title?: React.ReactNode;
88
+ }) => (
89
+ <div data-testid="empty-state">
90
+ {title}
91
+ {description}
92
+ </div>
93
+ ),
94
+ }));
82
95
  await mock.module('../../../form/checkbox/public', () => ({
83
96
  Checkbox: ({
84
97
  accessibilityLabel,
@@ -232,6 +245,44 @@ test('keeps controlled selection visibly disabled in passive mode', async () =>
232
245
  }
233
246
  });
234
247
 
248
+ test('renders reactive row replacements while retaining supported loading and empty presentations', async () => {
249
+ const mounted = mount();
250
+ const columns = [{ accessor: 'name' as const, header: 'Company', id: 'company' }];
251
+
252
+ try {
253
+ await mounted.render(<DataTable columns={columns} loading rowKey="id" rows={[]} />);
254
+ expect(mounted.host.textContent).not.toContain('No data');
255
+
256
+ await mounted.render(
257
+ <DataTable columns={columns} rowKey="id" rows={[{ id: 'acme', name: 'Acme' }]} />,
258
+ );
259
+ expect(mounted.host.textContent).toContain('Acme');
260
+
261
+ await mounted.render(
262
+ <DataTable columns={columns} rowKey="id" rows={[{ id: 'zora', name: 'ZORA' }]} />,
263
+ );
264
+ expect(mounted.host.textContent).not.toContain('Acme');
265
+ expect(mounted.host.textContent).toContain('ZORA');
266
+
267
+ await mounted.render(
268
+ <DataTable
269
+ columns={columns}
270
+ emptyDescription="The request could not be completed."
271
+ emptyTitle="Unable to load companies"
272
+ rowKey="id"
273
+ rows={[]}
274
+ />,
275
+ );
276
+ expect(mounted.host.querySelector('[data-testid="empty-state"]')?.textContent).toContain(
277
+ 'Unable to load companies',
278
+ );
279
+ expect(mounted.host.textContent).toContain('The request could not be completed.');
280
+ } finally {
281
+ await mounted.unmount();
282
+ mounted.host.remove();
283
+ }
284
+ });
285
+
235
286
  test('uses desktop stable row ids and the controlled callback in mobile cards', async () => {
236
287
  mobilePresentation = true;
237
288
  const mounted = mount();
@@ -9,7 +9,14 @@ test('describes serializable controlled selection and row activation manifest ev
9
9
  rowActivate: { payload: { eventType: 'dataTable.rowActivate' } },
10
10
  selectionChange: { payload: { eventType: 'dataTable.selectionChange' } },
11
11
  },
12
- props: { selectedRowIds: { value: { type: 'array' } } },
12
+ props: {
13
+ rows: {
14
+ acceptsFallback: true,
15
+ acceptsTransforms: true,
16
+ value: { itemType: 'object', type: 'array' },
17
+ },
18
+ selectedRowIds: { value: { type: 'array' } },
19
+ },
13
20
  },
14
21
  events: {
15
22
  rowActivate: { payloadFields: [{ path: 'rowId', type: 'string' }] },
@@ -28,6 +28,13 @@ export const dataTableMeta = {
28
28
  },
29
29
  bindings: {
30
30
  props: {
31
+ rows: {
32
+ label: 'Rows',
33
+ description: 'Reactive serializable rows rendered by the data table.',
34
+ value: { type: 'array', itemType: 'object' },
35
+ acceptsFallback: true,
36
+ acceptsTransforms: true,
37
+ },
31
38
  sort: {
32
39
  value: {
33
40
  type: 'object',
@@ -256,6 +256,7 @@ describe('ZORA_COMPONENT_META invariants', () => {
256
256
  'ChipGroup',
257
257
  'DataTable',
258
258
  'DatePicker',
259
+ 'Calendar',
259
260
  'Pagination',
260
261
  'Rating',
261
262
  'SearchInput',
@@ -1,25 +1,50 @@
1
1
  import type { ZoraBaseProps } from './base';
2
+ import type { TemporalDate, TemporalEvent, TemporalTimeZone } from './temporal';
2
3
 
3
4
  export type CalendarDensity = 'regular' | 'compact';
4
- export type CalendarView = 'month';
5
+ export type CalendarView = 'day' | 'month' | 'week';
5
6
  export type CalendarWeekStart = 0 | 1 | 2 | 3 | 4 | 5 | 6;
6
7
 
7
- /** Public Calendar state uses local calendar dates, never UTC instants. */
8
- export interface CalendarProps extends ZoraBaseProps {
9
- /** The only currently implemented Calendar presentation. */
10
- view?: CalendarView;
11
- density?: CalendarDensity;
12
- /** A local date within the controlled month to display. */
13
- displayedMonth?: Date;
14
- /** Initial local month when displayedMonth is not controlled. */
15
- defaultDisplayedMonth?: Date;
16
- onDisplayedMonthChange?: (month: Date) => void;
17
- selectedDate?: Date | null;
18
- onSelectedDateChange?: (date: Date) => void;
19
- locale?: string;
20
- weekStartsOn?: CalendarWeekStart;
21
- minDate?: Date;
22
- maxDate?: Date;
23
- disabledDates?: readonly Date[];
24
- isDateDisabled?: (date: Date) => boolean;
8
+ /** Serializable payload for a controlled Calendar date. */
9
+ export interface CalendarDateChangeEvent {
10
+ readonly date: TemporalDate;
11
+ }
12
+
13
+ /** Serializable payload for a controlled Calendar view. */
14
+ export interface CalendarViewChangeEvent {
15
+ readonly view: CalendarView;
16
+ }
17
+
18
+ /** Serializable payload emitted when an event is activated. */
19
+ export interface CalendarEventActivateEvent {
20
+ readonly eventId: string;
21
+ }
22
+
23
+ /** Serializable props accepted by a direct Calendar manifest node. */
24
+ export interface CalendarManifestProps {
25
+ readonly view?: CalendarView;
26
+ readonly displayedDate?: TemporalDate;
27
+ readonly defaultDisplayedDate?: TemporalDate;
28
+ readonly events?: readonly TemporalEvent[];
29
+ readonly timeZone?: TemporalTimeZone;
30
+ readonly locale?: string;
31
+ readonly weekStartsOn?: CalendarWeekStart;
32
+ readonly density?: CalendarDensity;
33
+ }
34
+
35
+ /** Code API retaining DatePicker's local-Date compatibility alongside manifest data. */
36
+ export interface CalendarProps extends ZoraBaseProps, CalendarManifestProps {
37
+ readonly displayedMonth?: Date;
38
+ readonly defaultDisplayedMonth?: Date;
39
+ readonly onDisplayedMonthChange?: (month: Date) => void;
40
+ readonly selectedDate?: Date | null;
41
+ readonly onSelectedDateChange?: (date: Date) => void;
42
+ readonly onDateChange?: (event: CalendarDateChangeEvent) => void;
43
+ readonly defaultView?: CalendarView;
44
+ readonly onViewChange?: (event: CalendarViewChangeEvent) => void;
45
+ readonly onEventActivate?: (event: CalendarEventActivateEvent) => void;
46
+ readonly minDate?: Date;
47
+ readonly maxDate?: Date;
48
+ readonly disabledDates?: readonly Date[];
49
+ readonly isDateDisabled?: (date: Date) => boolean;
25
50
  }
@@ -0,0 +1,200 @@
1
+ 'use client';
2
+ import {
3
+ GridView2
4
+ } from "./Accordion-0zk0xp73.js";
5
+ import {
6
+ getLaneIntervalPlacement,
7
+ getVisibleLaneIntervals
8
+ } from "./Accordion-tnyqv1xv.js";
9
+
10
+ // src/features/time-grid/adapters/inbound/TimeGrid.tsx
11
+ import React from "react";
12
+ import { Pressable, View } from "react-native-web";
13
+
14
+ // src/features/time-grid/application/resolveTimeGridNextFocusId.ts
15
+ function resolveTimeGridNextFocusId(placements, focusedId, direction) {
16
+ const focused = placements.find((placement) => placement.id === focusedId);
17
+ if (!focused)
18
+ return;
19
+ const candidates = placements.filter((placement) => {
20
+ if (direction === "left")
21
+ return placement.laneId === focused.laneId && placement.x < focused.x;
22
+ if (direction === "right")
23
+ return placement.laneId === focused.laneId && placement.x > focused.x;
24
+ if (direction === "up")
25
+ return placement.laneIndex < focused.laneIndex;
26
+ return placement.laneIndex > focused.laneIndex;
27
+ });
28
+ return candidates.sort((first, second) => resolveFocusDistance(first, focused, direction) - resolveFocusDistance(second, focused, direction)).at(0)?.id;
29
+ }
30
+ function resolveFocusDistance(candidate, focused, direction) {
31
+ const horizontal = direction === "left" || direction === "right";
32
+ const primary = horizontal ? Math.abs(candidate.x - focused.x) : Math.abs(candidate.laneIndex - focused.laneIndex);
33
+ const secondary = horizontal ? Math.abs(candidate.laneIndex - focused.laneIndex) : Math.abs(candidate.x - focused.x);
34
+ return primary * 1e6 + secondary;
35
+ }
36
+
37
+ // src/features/time-grid/application/resolveTimeGridVisibleIntervals.ts
38
+ function resolveTimeGridVisibleIntervals(lanes, intervals, viewport, overscanPixels) {
39
+ return getVisibleLaneIntervals(lanes, intervals, viewport, overscanPixels);
40
+ }
41
+
42
+ // src/features/time-grid/adapters/inbound/TimeGridKeyboardProxy.web.tsx
43
+ import { jsx } from "react/jsx-runtime";
44
+ function TimeGridKeyboardProxy({ children, onKeyDown }) {
45
+ return /* @__PURE__ */ jsx("div", {
46
+ onKeyDown: (event) => {
47
+ if (onKeyDown(event.key))
48
+ event.preventDefault();
49
+ },
50
+ style: { display: "flex", flex: 1 },
51
+ children
52
+ });
53
+ }
54
+
55
+ // src/features/time-grid/adapters/inbound/TimeGrid.tsx
56
+ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
57
+ function TimeGrid2({
58
+ contentWidth,
59
+ focusedIntervalId,
60
+ height,
61
+ interactionPolicy,
62
+ intervals,
63
+ lanes,
64
+ onFocusedIntervalIdChange,
65
+ onIntervalPress,
66
+ onViewportChange,
67
+ onVisibleIntervalIdsChange,
68
+ overscanPixels,
69
+ renderInterval,
70
+ renderLaneLabel,
71
+ revealPaddingPixels,
72
+ selectedIntervalIds = [],
73
+ testID,
74
+ width,
75
+ zoom
76
+ }) {
77
+ const scale = Math.max(0.01, zoom ?? 1);
78
+ const [scrollOffsets, setScrollOffsets] = React.useState(() => ({
79
+ offsetX: 0,
80
+ offsetY: 0
81
+ }));
82
+ const viewport = React.useMemo(() => ({
83
+ ...scrollOffsets,
84
+ height,
85
+ pixelsPerUnitX: scale,
86
+ pixelsPerUnitY: scale,
87
+ width
88
+ }), [height, scale, scrollOffsets, width]);
89
+ const intervalById = React.useMemo(() => new Map(intervals.map((interval) => [interval.id, interval])), [intervals]);
90
+ const selectedIds = React.useMemo(() => new Set(selectedIntervalIds), [selectedIntervalIds]);
91
+ const contentHeight = React.useMemo(() => lanes.reduce((total, lane) => total + lane.height, 0), [lanes]);
92
+ const visibleIntervals = React.useMemo(() => resolveTimeGridVisibleIntervals(lanes, intervals, viewport, overscanPixels), [intervals, lanes, overscanPixels, viewport]);
93
+ const focusedPlacement = React.useMemo(() => {
94
+ const focusedInterval = intervals.find((interval) => interval.id === focusedIntervalId);
95
+ return focusedInterval ? getLaneIntervalPlacement(lanes, focusedInterval) : undefined;
96
+ }, [focusedIntervalId, intervals, lanes]);
97
+ const gridItems = React.useMemo(() => focusedPlacement && !visibleIntervals.some((interval) => interval.id === focusedPlacement.id) ? [...visibleIntervals, focusedPlacement] : visibleIntervals, [focusedPlacement, visibleIntervals]);
98
+ const labelIntervals = React.useMemo(() => lanes.map((lane) => ({
99
+ extent: contentWidth,
100
+ id: `lane-label-${lane.id}`,
101
+ laneId: lane.id,
102
+ start: 0
103
+ })), [contentWidth, lanes]);
104
+ const visibleLabels = React.useMemo(() => resolveTimeGridVisibleIntervals(lanes, labelIntervals, viewport, overscanPixels), [labelIntervals, lanes, overscanPixels, viewport]);
105
+ const handleViewportChange = React.useCallback((nextViewport) => {
106
+ setScrollOffsets((current) => current.offsetX === nextViewport.offsetX && current.offsetY === nextViewport.offsetY ? current : { offsetX: nextViewport.offsetX, offsetY: nextViewport.offsetY });
107
+ onViewportChange?.(nextViewport);
108
+ }, [onViewportChange]);
109
+ const resolveNextFocusId = React.useCallback((intervalId, direction) => {
110
+ const allIntervals = resolveTimeGridVisibleIntervals(lanes, intervals, {
111
+ height: contentHeight,
112
+ offsetX: 0,
113
+ offsetY: 0,
114
+ pixelsPerUnitX: 1,
115
+ pixelsPerUnitY: 1,
116
+ width: contentWidth
117
+ });
118
+ return resolveTimeGridNextFocusId(allIntervals, intervalId, direction);
119
+ }, [contentHeight, contentWidth, intervals, lanes]);
120
+ return /* @__PURE__ */ jsxs(View, {
121
+ style: { flexDirection: "row", height, width },
122
+ testID,
123
+ children: [
124
+ renderLaneLabel ? /* @__PURE__ */ jsx2(View, {
125
+ accessibilityElementsHidden: true,
126
+ pointerEvents: "none",
127
+ style: { height, overflow: "hidden" },
128
+ children: visibleLabels.map((placement) => {
129
+ const lane = lanes[placement.laneIndex];
130
+ if (!lane)
131
+ return null;
132
+ return /* @__PURE__ */ jsx2(View, {
133
+ style: {
134
+ height: placement.height * scale,
135
+ position: "absolute",
136
+ top: (placement.y - viewport.offsetY) * scale
137
+ },
138
+ testID: testID === undefined ? undefined : `${testID}-lane-label-${lane.id}`,
139
+ children: renderLaneLabel(lane)
140
+ }, lane.id);
141
+ })
142
+ }) : null,
143
+ /* @__PURE__ */ jsx2(GridView2, {
144
+ contentHeight,
145
+ contentWidth,
146
+ focusedItemId: focusedIntervalId,
147
+ height,
148
+ interactionPolicy,
149
+ items: gridItems,
150
+ onViewportChange: handleViewportChange,
151
+ onVisibleItemIdsChange: onVisibleIntervalIdsChange,
152
+ overscanPixels,
153
+ renderItem: (placement) => {
154
+ const interval = intervalById.get(placement.id);
155
+ if (!interval)
156
+ return null;
157
+ const selected = selectedIds.has(interval.id);
158
+ return /* @__PURE__ */ jsx2(TimeGridKeyboardProxy, {
159
+ onKeyDown: (key) => {
160
+ const direction = resolveKeyboardDirection(key);
161
+ const nextId = direction === undefined ? undefined : resolveNextFocusId(interval.id, direction);
162
+ if (!nextId)
163
+ return false;
164
+ onFocusedIntervalIdChange?.(nextId);
165
+ return true;
166
+ },
167
+ children: /* @__PURE__ */ jsx2(Pressable, {
168
+ accessibilityLabel: `Interval ${interval.id}`,
169
+ accessibilityRole: "button",
170
+ disabled: interactionPolicy === "passive",
171
+ onPress: () => {
172
+ onFocusedIntervalIdChange?.(interval.id);
173
+ onIntervalPress?.(interval);
174
+ },
175
+ style: { flex: 1 },
176
+ testID: testID === undefined ? undefined : `${testID}-interval-${interval.id}`,
177
+ children: renderInterval(interval, selected)
178
+ })
179
+ });
180
+ },
181
+ revealPaddingPixels,
182
+ testID: testID === undefined ? undefined : `${testID}-viewport`,
183
+ width,
184
+ zoom
185
+ })
186
+ ]
187
+ });
188
+ }
189
+ function resolveKeyboardDirection(key) {
190
+ if (key === "ArrowDown")
191
+ return "down";
192
+ if (key === "ArrowLeft")
193
+ return "left";
194
+ if (key === "ArrowRight")
195
+ return "right";
196
+ if (key === "ArrowUp")
197
+ return "up";
198
+ return;
199
+ }
200
+ export { TimeGrid2 };