vtex / shoreline

VTEX Design System for back-office experiences. Currently available for internal usage at VTEX.
https://shoreline.vtex.com
24 stars 1 forks source link

Standardize number and date formats #1874

Open davicostalf opened 1 month ago

davicostalf commented 1 month ago

Problem

We use numeric information in multiple components, but we have no guideline in Shoreline on how they should be formatted. Ideally, it should be very clear to designers what formats they should follow and it should be very easy for developers to implement these formats.

Solution

There are already some clues on what directions we should follow:

Some things that I would like to note:

Usage examples

Date pickers, table column cells, information in cards, filters, etc.

Dependencies

We need to align with the localization and education team on a direction.

References

There is documentation from other design systems that we can use as basis. For example:

davicostalf commented 1 week ago

This is being tackled by the localization team