chore: update

This commit is contained in:
sadeghbarati 2024-08-20 15:38:56 +03:30
parent 1cf486cb94
commit 185bb4b9ba
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ const forwardedProps = useForwardProps(delegatedProps)
<RangeCalendarCellTrigger <RangeCalendarCellTrigger
:class="cn( :class="cn(
buttonVariants({ variant: 'ghost' }), buttonVariants({ variant: 'ghost' }),
'h-9 w-9 p-0 font-normal data-[selected]:opacity-100', 'h-8 w-8 p-0 font-normal data-[selected]:opacity-100',
'[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground', '[&[data-today]:not([data-selected])]:bg-accent [&[data-today]:not([data-selected])]:text-accent-foreground',
// Selection Start // Selection Start
'data-[selection-start]:bg-primary data-[selection-start]:text-primary-foreground data-[selection-start]:hover:bg-primary data-[selection-start]:hover:text-primary-foreground data-[selection-start]:focus:bg-primary data-[selection-start]:focus:text-primary-foreground', 'data-[selection-start]:bg-primary data-[selection-start]:text-primary-foreground data-[selection-start]:hover:bg-primary data-[selection-start]:hover:text-primary-foreground data-[selection-start]:focus:bg-primary data-[selection-start]:focus:text-primary-foreground',

View File

@ -15,7 +15,7 @@ const forwardedProps = useForwardProps(delegatedProps)
</script> </script>
<template> <template>
<RangeCalendarGridRow :class="cn('flex mt-2 w-full', props.class)" v-bind="forwardedProps"> <RangeCalendarGridRow :class="cn('flex', props.class)" v-bind="forwardedProps">
<slot /> <slot />
</RangeCalendarGridRow> </RangeCalendarGridRow>
</template> </template>

View File

@ -16,7 +16,7 @@ const forwardedProps = useForwardProps(delegatedProps)
<template> <template>
<RangeCalendarHeadCell <RangeCalendarHeadCell
:class="cn('w-9 rounded-md text-[0.8rem] font-normal text-muted-foreground', props.class)" :class="cn('w-8 rounded-md text-[0.8rem] font-normal text-muted-foreground', props.class)"
v-bind="forwardedProps" v-bind="forwardedProps"
> >
<slot /> <slot />