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
[ ] Added tests for bugs / new features
[ ] Updated docs (storybooks, readme)
[x] Executed npm run validate and made sure no errors / warnings were shown
[x] Described changes in CHANGELOG.md
[ ] Bumped version in package.json and package-lock.json (npm --no-git-tag-version version <major|minor|patch>) ref
[ ] Updated all static build artifacts (npm run build-all)
[ ] Reviewed and approved Chromatic visual regression tests in CI
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
andDeprecatedNotification
). 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
npm run validate
and made sure no errors / warnings were shownCHANGELOG.md
package.json
andpackage-lock.json
(npm --no-git-tag-version version <major|minor|patch>
) refnpm run build-all
)Versioning
New major release v20.0.0