Skip to content

Remove LocaleNumber and RelativeTime until they are real components #66

Closed

Description

@sapatmohit

LocaleNumber and RelativeTime are thin wrappers over Intl.NumberFormat / Intl.RelativeTimeFormat that render bare text. They have no UI, so they don't belong in a UI component library next to the redesigned components.

Scope

  • Remove both components, their exports, registry items, tests and docs pages (the Formatters section).
  • Breaking for npm consumers importing them; ship with the 2.0.0 redesign release.

They can come back as proper components (for example a relative time with an absolute-date tooltip, or an animated locale-aware counter) in a new proposal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    componentNew or modified componentenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions