@dinachi/cli 1.1.0 → 1.3.0
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/CHANGELOG.md +55 -0
- package/dist/index.js +244 -72
- package/package.json +5 -1
- package/templates/agent/agent.tsx +35 -18
- package/templates/alert/alert.tsx +345 -0
- package/templates/alert/index.ts +16 -0
- package/templates/ask-bar/ask-bar.tsx +1061 -0
- package/templates/ask-bar/index.ts +1 -0
- package/templates/autocomplete/autocomplete.tsx +0 -1
- package/templates/breadcrumb/breadcrumb.tsx +606 -0
- package/templates/breadcrumb/index.ts +9 -0
- package/templates/calendar/calendar.tsx +1155 -0
- package/templates/calendar/index.ts +15 -0
- package/templates/combobox/combobox.tsx +0 -1
- package/templates/command-items/command-items.tsx +69 -0
- package/templates/command-items/index.ts +1 -0
- package/templates/command-palette/command-palette.tsx +954 -0
- package/templates/command-palette/index.ts +1 -0
- package/templates/comparison-table/comparison-table.tsx +540 -0
- package/templates/comparison-table/index.ts +15 -0
- package/templates/data-table/data-table.tsx +2077 -0
- package/templates/data-table/index.ts +14 -0
- package/templates/date-picker/date-picker.tsx +527 -0
- package/templates/date-picker/index.ts +2 -0
- package/templates/date-range-picker/date-range-picker.tsx +504 -0
- package/templates/date-range-picker/index.ts +2 -0
- package/templates/detail-list/detail-list.tsx +419 -0
- package/templates/detail-list/index.ts +12 -0
- package/templates/heat-table/heat-table.tsx +613 -0
- package/templates/heat-table/index.ts +9 -0
- package/templates/menu/menu.tsx +8 -3
- package/templates/month-picker/index.ts +1 -0
- package/templates/month-picker/month-picker.tsx +351 -0
- package/templates/omnibar/index.ts +1 -0
- package/templates/omnibar/omnibar.tsx +1009 -0
- package/templates/pagination/index.ts +8 -0
- package/templates/pagination/pagination.tsx +389 -0
- package/templates/table/index.ts +13 -0
- package/templates/table/table.tsx +265 -0
- package/templates/time-slots/index.ts +1 -0
- package/templates/time-slots/time-slots.tsx +589 -0
- package/templates/week-strip/index.ts +1 -0
- package/templates/week-strip/week-strip.tsx +329 -0
- package/templates/year-view/index.ts +1 -0
- package/templates/year-view/year-view.tsx +362 -0
|
@@ -0,0 +1,329 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
|
|
3
|
+
import * as React from "react";
|
|
4
|
+
import { format, type Locale } from "date-fns";
|
|
5
|
+
import { ChevronLeft, ChevronRight } from "lucide-react";
|
|
6
|
+
import { cn } from "@/lib/utils";
|
|
7
|
+
import { changeAsAgent, useAgentControl, useAgentState, useHasAgent } from "@/components/ui/agent";
|
|
8
|
+
import {
|
|
9
|
+
type CalendarChangeDetails,
|
|
10
|
+
addDays,
|
|
11
|
+
dayFirst,
|
|
12
|
+
daysBetween,
|
|
13
|
+
fromISODate,
|
|
14
|
+
isSameDay,
|
|
15
|
+
parseDate,
|
|
16
|
+
startOfDay,
|
|
17
|
+
toISODate,
|
|
18
|
+
} from "@/components/ui/calendar";
|
|
19
|
+
|
|
20
|
+
function changeDetails(reason: string, event?: Event): CalendarChangeDetails {
|
|
21
|
+
const details: CalendarChangeDetails = {
|
|
22
|
+
reason,
|
|
23
|
+
event,
|
|
24
|
+
isCanceled: false,
|
|
25
|
+
cancel() {
|
|
26
|
+
details.isCanceled = true;
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
return details;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
const reducedMotion = () => typeof window !== "undefined" && window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;
|
|
33
|
+
|
|
34
|
+
const startOfWeek = (d: Date, weekStartsOn: number) => addDays(d, -((d.getDay() - weekStartsOn + 7) % 7));
|
|
35
|
+
|
|
36
|
+
/** Weeks rendered either side of the selected one. */
|
|
37
|
+
const SPAN = 8;
|
|
38
|
+
|
|
39
|
+
const events = (n: number) => `${n} ${n === 1 ? "event" : "events"}`;
|
|
40
|
+
|
|
41
|
+
export interface WeekStripProps
|
|
42
|
+
extends Omit<React.HTMLAttributes<HTMLDivElement>, "defaultValue" | "onChange" | "dir"> {
|
|
43
|
+
/** The selected day. Defaults to today. */
|
|
44
|
+
value?: Date;
|
|
45
|
+
defaultValue?: Date;
|
|
46
|
+
onValueChange?: (value: Date, details: CalendarChangeDetails) => void;
|
|
47
|
+
/** The first day in the strip. Defaults to the start of last week. */
|
|
48
|
+
min?: Date;
|
|
49
|
+
/** The last day in the strip. Defaults to the end of the third week ahead. */
|
|
50
|
+
max?: Date;
|
|
51
|
+
/** How busy each day is, keyed YYYY-MM-DD. Up to three dots show under the date. */
|
|
52
|
+
counts?: Record<string, number>;
|
|
53
|
+
/** Counts at or above each step get one more dot. Defaults to one dot per count, up to three. */
|
|
54
|
+
thresholds?: [number, number, number];
|
|
55
|
+
/** How a day's count reads to screen readers. Defaults to `2 events`. */
|
|
56
|
+
formatCount?: (count: number) => string;
|
|
57
|
+
/** A date-fns locale, for day names and the first day of the week. */
|
|
58
|
+
locale?: Locale;
|
|
59
|
+
weekStartsOn?: 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
60
|
+
dir?: "ltr" | "rtl";
|
|
61
|
+
/** Defaults to the current day. */
|
|
62
|
+
today?: Date;
|
|
63
|
+
disabled?: boolean;
|
|
64
|
+
/** Submits the day as YYYY-MM-DD. */
|
|
65
|
+
name?: string;
|
|
66
|
+
/** What the content under the strip shows for the selected day. */
|
|
67
|
+
children?: React.ReactNode;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
/**
|
|
71
|
+
* Days in a row that snaps a week at a time, for schedules and bookings where the week
|
|
72
|
+
* matters more than the month. The content under it follows the selected day.
|
|
73
|
+
*/
|
|
74
|
+
const WeekStrip = React.forwardRef<HTMLDivElement, WeekStripProps>((props, ref) => {
|
|
75
|
+
const {
|
|
76
|
+
value: valueProp,
|
|
77
|
+
defaultValue,
|
|
78
|
+
onValueChange,
|
|
79
|
+
min: minProp,
|
|
80
|
+
max: maxProp,
|
|
81
|
+
counts,
|
|
82
|
+
thresholds,
|
|
83
|
+
formatCount = events,
|
|
84
|
+
locale,
|
|
85
|
+
weekStartsOn = locale?.options?.weekStartsOn ?? 1,
|
|
86
|
+
dir,
|
|
87
|
+
today: todayProp,
|
|
88
|
+
disabled,
|
|
89
|
+
name,
|
|
90
|
+
className,
|
|
91
|
+
children,
|
|
92
|
+
"aria-label": ariaLabel = "Day",
|
|
93
|
+
"aria-labelledby": labelledBy,
|
|
94
|
+
...rest
|
|
95
|
+
} = props;
|
|
96
|
+
const hasAgent = useHasAgent();
|
|
97
|
+
const today = React.useMemo(() => startOfDay(todayProp ?? new Date()), [todayProp ? toISODate(todayProp) : null]);
|
|
98
|
+
const thisWeek = startOfWeek(today, weekStartsOn);
|
|
99
|
+
const min = startOfDay(minProp ?? addDays(thisWeek, -7));
|
|
100
|
+
const max = startOfDay(maxProp ?? addDays(thisWeek, 27));
|
|
101
|
+
const clamp = (d: Date) => (d < min ? min : d > max ? max : d);
|
|
102
|
+
|
|
103
|
+
const [raw, change] = useAgentState<Date, CalendarChangeDetails>(valueProp, defaultValue ?? clamp(today), onValueChange);
|
|
104
|
+
const value = startOfDay(raw);
|
|
105
|
+
// A value off the strip still leaves a day to tab to and step from.
|
|
106
|
+
const stop = clamp(value);
|
|
107
|
+
const strip = React.useRef<HTMLDivElement>(null);
|
|
108
|
+
|
|
109
|
+
/* ---- only the weeks around the stop render, and more as the strip scrolls ---- */
|
|
110
|
+
const around = startOfWeek(stop, weekStartsOn);
|
|
111
|
+
const near = { from: clamp(addDays(around, -7 * SPAN)), to: clamp(addDays(around, 7 * SPAN + 6)) };
|
|
112
|
+
const [shown, setShown] = React.useState(() => ({ from: toISODate(near.from), to: toISODate(near.to) }));
|
|
113
|
+
let from = fromISODate(shown.from)!;
|
|
114
|
+
let to = fromISODate(shown.to)!;
|
|
115
|
+
if (from < min || to > max || near.from < from || near.to > to) {
|
|
116
|
+
const joined = near.from <= addDays(to, 1) && near.to >= addDays(from, -1);
|
|
117
|
+
from = clamp(joined && from < near.from ? from : near.from);
|
|
118
|
+
to = clamp(joined && to > near.to ? to : near.to);
|
|
119
|
+
setShown({ from: toISODate(from), to: toISODate(to) });
|
|
120
|
+
}
|
|
121
|
+
const days = Array.from({ length: daysBetween(from, to) + 1 }, (_, i) => addDays(from, i));
|
|
122
|
+
const widthBefore = React.useRef<number | null>(null);
|
|
123
|
+
const grow = () => {
|
|
124
|
+
const sc = strip.current;
|
|
125
|
+
const pills = sc?.querySelectorAll<HTMLElement>("[data-day]");
|
|
126
|
+
if (!sc || !pills?.length) return;
|
|
127
|
+
const rtl = getComputedStyle(sc).direction === "rtl";
|
|
128
|
+
const box = sc.getBoundingClientRect();
|
|
129
|
+
const head = pills[0].getBoundingClientRect();
|
|
130
|
+
const tail = pills[pills.length - 1].getBoundingClientRect();
|
|
131
|
+
const before = rtl ? head.right - box.right : box.left - head.left;
|
|
132
|
+
const after = rtl ? box.left - tail.left : tail.right - box.right;
|
|
133
|
+
if (before < box.width && from > min) {
|
|
134
|
+
widthBefore.current = sc.scrollWidth;
|
|
135
|
+
setShown((s) => ({ ...s, from: toISODate(clamp(addDays(fromISODate(s.from)!, -7 * SPAN))) }));
|
|
136
|
+
} else if (after < box.width && to < max) {
|
|
137
|
+
setShown((s) => ({ ...s, to: toISODate(clamp(addDays(fromISODate(s.to)!, 7 * SPAN))) }));
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
// Days added before the ones in view push them along; scrolling back by as much keeps them still.
|
|
141
|
+
React.useLayoutEffect(() => {
|
|
142
|
+
const sc = strip.current;
|
|
143
|
+
if (!sc || widthBefore.current === null) return;
|
|
144
|
+
const added = sc.scrollWidth - widthBefore.current;
|
|
145
|
+
widthBefore.current = null;
|
|
146
|
+
sc.scrollLeft += getComputedStyle(sc).direction === "rtl" ? -added : added;
|
|
147
|
+
}, [shown.from]);
|
|
148
|
+
|
|
149
|
+
const select = (d: Date, reason: string, event?: Event) => {
|
|
150
|
+
if (disabled || d < min || d > max || isSameDay(d, value)) return;
|
|
151
|
+
change(d, changeDetails(reason, event));
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
/* ---- the selected day's week stays in view ---- */
|
|
155
|
+
// The day a key or Today asked for, focused once it is the value.
|
|
156
|
+
const focusNext = React.useRef<string | null>(null);
|
|
157
|
+
const first = React.useRef(true);
|
|
158
|
+
React.useLayoutEffect(() => {
|
|
159
|
+
const sc = strip.current;
|
|
160
|
+
const pill = sc?.querySelector<HTMLElement>(`[data-day="${toISODate(stop)}"]`);
|
|
161
|
+
const start = sc?.querySelector<HTMLElement>(`[data-day="${toISODate(clamp(startOfWeek(stop, weekStartsOn)))}"]`);
|
|
162
|
+
if (!sc || !pill) return;
|
|
163
|
+
if (start) {
|
|
164
|
+
// Scrolls the strip only; scrollIntoView would move the page too.
|
|
165
|
+
const box = sc.getBoundingClientRect();
|
|
166
|
+
const at = start.getBoundingClientRect();
|
|
167
|
+
const pad = parseFloat(getComputedStyle(sc).scrollPaddingInlineStart) || 0;
|
|
168
|
+
const rtl = getComputedStyle(sc).direction === "rtl";
|
|
169
|
+
const delta = rtl ? at.right - box.right + pad : at.left - box.left - pad;
|
|
170
|
+
sc.scrollTo?.({ left: sc.scrollLeft + delta, behavior: first.current || reducedMotion() ? "auto" : "smooth" });
|
|
171
|
+
}
|
|
172
|
+
first.current = false;
|
|
173
|
+
if (focusNext.current === toISODate(value)) pill.focus({ preventScroll: true });
|
|
174
|
+
focusNext.current = null;
|
|
175
|
+
}, [toISODate(value)]);
|
|
176
|
+
|
|
177
|
+
/* ---- agent ---- */
|
|
178
|
+
useAgentControl(() => ({
|
|
179
|
+
kind: "date",
|
|
180
|
+
element: strip.current,
|
|
181
|
+
value: toISODate(value),
|
|
182
|
+
disabled,
|
|
183
|
+
actions: {
|
|
184
|
+
setValue: (wanted: unknown) => {
|
|
185
|
+
const d =
|
|
186
|
+
wanted instanceof Date
|
|
187
|
+
? isNaN(wanted.getTime()) ? null : startOfDay(wanted)
|
|
188
|
+
: typeof wanted === "string"
|
|
189
|
+
? fromISODate(wanted) ?? parseDate(wanted, { today, order: dayFirst(locale) ? "day-first" : "month-first", weekStartsOn })
|
|
190
|
+
: null;
|
|
191
|
+
if (!d) return `"${String(wanted)}" is not a date. Send YYYY-MM-DD, or a phrase such as next fri.`;
|
|
192
|
+
if (d < min) return `The strip starts on ${toISODate(min)}.`;
|
|
193
|
+
if (d > max) return `The strip ends on ${toISODate(max)}.`;
|
|
194
|
+
return changeAsAgent((next: Date, details: CalendarChangeDetails) => {
|
|
195
|
+
if (!isSameDay(next, value)) change(next, details);
|
|
196
|
+
}, d);
|
|
197
|
+
},
|
|
198
|
+
},
|
|
199
|
+
}));
|
|
200
|
+
|
|
201
|
+
/* ---- render ---- */
|
|
202
|
+
const isToday = isSameDay(value, today);
|
|
203
|
+
const week = (n: -1 | 1) => clamp(addDays(stop, 7 * n));
|
|
204
|
+
const otherYear = (d: Date) => d.getFullYear() !== today.getFullYear();
|
|
205
|
+
const iconButton = "inline-flex size-8 items-center justify-center rounded-md text-muted-foreground hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-40";
|
|
206
|
+
|
|
207
|
+
return (
|
|
208
|
+
<div {...rest} ref={ref} dir={dir} data-slot="week-strip" data-disabled={disabled || undefined} className={cn("w-full", className)}>
|
|
209
|
+
<div data-slot="week-strip-header" className="flex items-center gap-2 px-[1.125rem] pb-3">
|
|
210
|
+
<div
|
|
211
|
+
data-slot="week-strip-title"
|
|
212
|
+
aria-live="polite"
|
|
213
|
+
className="min-w-0 flex-1 truncate text-[1.625rem] font-semibold tracking-[-0.02em] md:text-[0.9375rem] md:tracking-normal"
|
|
214
|
+
>
|
|
215
|
+
{/* A phone's title is the screen's own, so it is short and says Today when it is. */}
|
|
216
|
+
<span className="md:hidden">{isToday ? "Today" : format(value, otherYear(value) ? "EEE d MMM yyyy" : "EEE d MMM", { locale })}</span>
|
|
217
|
+
<span className="max-md:hidden">{format(value, otherYear(value) ? "EEEE d MMMM yyyy" : "EEEE d MMMM", { locale })}</span>
|
|
218
|
+
</div>
|
|
219
|
+
{!isToday && today >= min && today <= max && (
|
|
220
|
+
<button
|
|
221
|
+
type="button"
|
|
222
|
+
data-slot="week-strip-today"
|
|
223
|
+
data-agent-part={hasAgent ? "" : undefined}
|
|
224
|
+
disabled={disabled}
|
|
225
|
+
onClick={(e) => {
|
|
226
|
+
focusNext.current = toISODate(today);
|
|
227
|
+
select(today, "today-press", e.nativeEvent);
|
|
228
|
+
}}
|
|
229
|
+
className="inline-flex h-8 items-center rounded-md px-3 text-sm font-medium hover:bg-accent hover:text-accent-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50"
|
|
230
|
+
>
|
|
231
|
+
Today
|
|
232
|
+
</button>
|
|
233
|
+
)}
|
|
234
|
+
{([-1, 1] as const).map((n) => (
|
|
235
|
+
<button
|
|
236
|
+
key={n}
|
|
237
|
+
type="button"
|
|
238
|
+
aria-label={n < 0 ? "Previous week" : "Next week"}
|
|
239
|
+
data-slot={n < 0 ? "week-strip-previous" : "week-strip-next"}
|
|
240
|
+
data-agent-part={hasAgent ? "" : undefined}
|
|
241
|
+
disabled={disabled || isSameDay(week(n), stop)}
|
|
242
|
+
onClick={(e) => select(week(n), "week-step", e.nativeEvent)}
|
|
243
|
+
className={iconButton}
|
|
244
|
+
>
|
|
245
|
+
{n < 0 ? <ChevronLeft className="size-4 rtl:rotate-180" aria-hidden /> : <ChevronRight className="size-4 rtl:rotate-180" aria-hidden />}
|
|
246
|
+
</button>
|
|
247
|
+
))}
|
|
248
|
+
</div>
|
|
249
|
+
<div
|
|
250
|
+
ref={strip}
|
|
251
|
+
role="listbox"
|
|
252
|
+
aria-orientation="horizontal"
|
|
253
|
+
aria-label={ariaLabel}
|
|
254
|
+
aria-labelledby={labelledBy}
|
|
255
|
+
aria-disabled={disabled || undefined}
|
|
256
|
+
data-slot="week-strip-days"
|
|
257
|
+
className={cn(
|
|
258
|
+
"flex snap-x snap-mandatory scroll-px-[1.125rem] gap-1.5 overflow-x-auto px-[1.125rem] pb-2.5 pt-1 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",
|
|
259
|
+
// The clipped day fades, so it reads as more to scroll rather than a cut.
|
|
260
|
+
"[mask-image:linear-gradient(to_right,transparent,#000_14px,#000_calc(100%-32px),transparent)]",
|
|
261
|
+
"rtl:[mask-image:linear-gradient(to_left,transparent,#000_14px,#000_calc(100%-32px),transparent)]"
|
|
262
|
+
)}
|
|
263
|
+
onScroll={grow}
|
|
264
|
+
onKeyDown={(e) => {
|
|
265
|
+
const rtl = strip.current?.closest("[dir]")?.getAttribute("dir") === "rtl";
|
|
266
|
+
const step: Record<string, number> = { ArrowLeft: rtl ? 1 : -1, ArrowRight: rtl ? -1 : 1 };
|
|
267
|
+
const next =
|
|
268
|
+
e.key === "Home" ? clamp(today)
|
|
269
|
+
: e.key === "End" ? max
|
|
270
|
+
: e.key === "PageUp" ? week(-1)
|
|
271
|
+
: e.key === "PageDown" ? week(1)
|
|
272
|
+
: step[e.key] !== undefined ? addDays(stop, step[e.key])
|
|
273
|
+
: null;
|
|
274
|
+
if (!next) return;
|
|
275
|
+
e.preventDefault();
|
|
276
|
+
if (next < min || next > max) return;
|
|
277
|
+
focusNext.current = toISODate(next);
|
|
278
|
+
select(next, "keyboard", e.nativeEvent);
|
|
279
|
+
}}
|
|
280
|
+
>
|
|
281
|
+
{days.map((d) => {
|
|
282
|
+
const n = counts?.[toISODate(d)] ?? 0;
|
|
283
|
+
const dots = n <= 0 ? 0 : thresholds ? thresholds.filter((t) => n >= t).length : Math.min(n, 3);
|
|
284
|
+
const selected = isSameDay(d, value);
|
|
285
|
+
return (
|
|
286
|
+
<button
|
|
287
|
+
key={toISODate(d)}
|
|
288
|
+
type="button"
|
|
289
|
+
role="option"
|
|
290
|
+
data-slot="week-strip-day"
|
|
291
|
+
data-day={toISODate(d)}
|
|
292
|
+
data-today={isSameDay(d, today) || undefined}
|
|
293
|
+
aria-selected={selected}
|
|
294
|
+
aria-label={`${format(d, otherYear(d) ? "EEEE d MMMM yyyy" : "EEEE d MMMM", { locale })}${counts ? `, ${formatCount(n)}` : ""}`}
|
|
295
|
+
tabIndex={isSameDay(d, stop) ? 0 : -1}
|
|
296
|
+
disabled={disabled}
|
|
297
|
+
onClick={(e) => select(d, "day-press", e.nativeEvent)}
|
|
298
|
+
className={cn(
|
|
299
|
+
"grid w-[2.625rem] shrink-0 snap-start justify-items-center gap-[3px] rounded-[0.875rem] border border-transparent pb-[9px] pt-2 md:w-16",
|
|
300
|
+
"transition-colors duration-150 motion-reduce:transition-none hover:bg-accent",
|
|
301
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
|
|
302
|
+
"data-[today]:border-muted-foreground",
|
|
303
|
+
"aria-selected:bg-primary aria-selected:text-primary-foreground aria-selected:hover:bg-primary",
|
|
304
|
+
"disabled:pointer-events-none disabled:opacity-50",
|
|
305
|
+
// A gap between weeks shows where each starts.
|
|
306
|
+
d.getDay() === weekStartsOn && !isSameDay(d, from) && "ms-2.5"
|
|
307
|
+
)}
|
|
308
|
+
>
|
|
309
|
+
<span className={cn("text-[0.6875rem] uppercase tracking-[0.04em] text-muted-foreground", selected && "text-current opacity-70")}>
|
|
310
|
+
{format(d, "EEE", { locale })}
|
|
311
|
+
</span>
|
|
312
|
+
<span className="text-[1.0625rem] font-medium tabular-nums md:text-lg">{d.getDate()}</span>
|
|
313
|
+
<span aria-hidden className="flex h-1 gap-[3px]">
|
|
314
|
+
{Array.from({ length: dots }, (_, i) => (
|
|
315
|
+
<i key={i} className={cn("size-1 rounded-full bg-muted-foreground", selected && "bg-primary-foreground")} />
|
|
316
|
+
))}
|
|
317
|
+
</span>
|
|
318
|
+
</button>
|
|
319
|
+
);
|
|
320
|
+
})}
|
|
321
|
+
</div>
|
|
322
|
+
{children}
|
|
323
|
+
{name && <input type="hidden" name={name} disabled={disabled} value={toISODate(value)} />}
|
|
324
|
+
</div>
|
|
325
|
+
);
|
|
326
|
+
});
|
|
327
|
+
WeekStrip.displayName = "WeekStrip";
|
|
328
|
+
|
|
329
|
+
export { WeekStrip };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { YearView, type YearViewProps } from "./year-view";
|