update items

This commit is contained in:
2025-12-26 11:19:14 -03:00
parent e7aa6a6694
commit 3cdded360f
11 changed files with 392 additions and 26 deletions

View File

@@ -5,11 +5,11 @@ import { useToggle } from 'ahooks'
import { format } from 'date-fns'
import { ptBR } from 'react-day-picker/locale'
import { Button } from '@repo/ui/components/ui/button'
import { Calendar } from '@repo/ui/components/ui/calendar'
import {
InputGroup,
InputGroupAddon,
InputGroupButton,
InputGroupInput
} from '@repo/ui/components/ui/input-group'
import {
@@ -46,11 +46,12 @@ export function ScheduledForInput({ value, onChange }: ScheduledForInputProps) {
</InputGroupAddon>
{selected && (
<InputGroupAddon align="inline-end" className="mr-0">
<Button
variant="link"
size="icon-sm"
className="cursor-pointer text-muted-foreground"
<InputGroupAddon align="inline-end">
<InputGroupButton
variant="ghost"
tabIndex={-1}
size="icon-xs"
className="cursor-pointer"
onClick={(e) => {
e.preventDefault()
setDate(undefined)
@@ -59,7 +60,7 @@ export function ScheduledForInput({ value, onChange }: ScheduledForInputProps) {
}}
>
<XIcon />
</Button>
</InputGroupButton>
</InputGroupAddon>
)}
</InputGroup>