Add calendar + popover components and a custom DateTimePicker wrapper. Video forms use date-only; article forms include a time picker. Also add video player preview to the video edit form. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
13 lines
318 B
Svelte
13 lines
318 B
Svelte
<script lang="ts">
|
|
import { Calendar as CalendarPrimitive } from "bits-ui";
|
|
import { cn } from "$lib/utils.js";
|
|
|
|
let {
|
|
ref = $bindable(null),
|
|
class: className,
|
|
...restProps
|
|
}: CalendarPrimitive.GridBodyProps = $props();
|
|
</script>
|
|
|
|
<CalendarPrimitive.GridBody bind:ref class={cn(className)} {...restProps} />
|