vtex / shoreline

Design System for the VTEX Admin, previously called Admin UI
https://shoreline.vtex.com
15 stars 0 forks source link

Date Picker and DateRangePicker are missing a clear button when they are filled #1632

Open beatrizmilhomem opened 1 month ago

beatrizmilhomem commented 1 month ago

Summary

DatePicker and DateRangePicker aren't showing a clear button when they are filled when they should.

Expected behavior

When the DatePicker or DateRangePicker is filled, a clear button should appear beside the calendar button. Also, the calendar button should be Secondary. Both buttons should have use radius-1.

image

Current behavior

Tested filling the fields in the Shoreline website examples.

image image

Reproducible Example

No response

Suggested solution

See Figma for DatePicker and DateRangePicker.

Additional context

No response

Package

No response

Packages version

No response

Browser

No response

Package Manager

pnpm