2.0.0

Released: 23/01/2024

Valence 2 (version 2.0.0) is the first major refresh of Valence, and includes a number of sweeping and breaking changes to the codebase.

  • Responsive props have replaced the Reactive props schema.

    • All components now support Responsiveness; this is no longer limited to select props.

  • Restructured the ValenceProvider.

    • Added more breakpoints.

    • Moved theme.defaultSize, theme.defaultRadius, etc. to a custom defaults object.

  • [APP] The App Container has been rebuilt, improving general code quality and providing compatibility with a better Sidebar.

  • The color system has been rebuilt, and is now best accessed via the useColors hook.

  • Added the Flex Center component.

  • Added the Dropdown Container.

  • Added an automatic CSS override element that should remove the need for a global.css file to override basic page styles.

    • Added CSS to remove blue highlighting on clickable elements on mobile.

  • Released new documentation here!

Last updated

Was this helpful?