Doist / reactist

Open source React components made with ❤️ by Doist
http://doist.github.io/reactist
MIT License
250 stars 22 forks source link

BREAKING: Remove unused components, menu design tokens, internal refactoring #754

Closed gnapse closed 1 year ago

gnapse commented 1 year ago

Short description

This PR started as a motivation to get rid of the src/new-components/ folder structure, so it was originally intended to be only a refactoring without outward changes. But I couldn't resist to also remove a couple of public exports that are no longer used in Todoist or Twist (usePrevious and DeprecatedNotification). Finally, while moving the menu component alongside others, I realized that it still used old .less variables instead of the new CSS variables, so I made the change as well.

PR Checklist

Versioning

New major release v20.0.0