Skip to content

Modern Docker Management, Designed for Everyone

523 B
Raw Blame
<script lang="ts">
	import { Calendar as CalendarPrimitive } from 'bits-ui';

	import { cn } from '#lib/utils.js';

	let { ref = $bindable(null), class: className, ...restProps }: CalendarPrimitive.CellProps = $props();
</script>

<CalendarPrimitive.Cell
	bind:ref
	class={cn(
		'relative size-(--cell-size) p-0 text-center text-sm focus-within:z-(--arcane-z-sticky) [&:first-child[data-selected]_[data-bits-day]]:rounded-s-md [&:last-child[data-selected]_[data-bits-day]]:rounded-e-md',
		className
	)}
	{...restProps}
/>