Skip to content

Releases: dabapps/roe

Specify cookie for entire subdomain rather than specific subpath

23 Apr 11:32
9ca6a0d
Compare
Choose a tag to compare

This should avoid the user to needing accepting the cookie for one sub-path after accepting the cookie for another sub-path or domain.

Releases: #355

Set optional max age for cookie banner

22 Apr 14:12
03e2ad7
Compare
Choose a tag to compare
  • Set optional maxAge for cookie banner
  • Default to 1 year
  • Previously it defaulted to session

Includes: #353

React 16.8-17 support (and huge re-write)

26 Mar 16:30
245a011
Compare
Choose a tag to compare

v0.13.0 a.k.a. "with a little bit of luck"

With a little bit of luck this should "just work" with any projects already using React 16.8 and up.

BREAKING CHANGES

  • Dropped support for react < 16.8
  • All components are now function components
  • All components that have state now use hooks
  • Upgrade typescript (now only officially supports TS 3.9 and up, but may work with slightly older versions)

As a result of these breaking changes any tests that rely on Roe's component state may need to be updated to use renderer.act

Changes

  • Add support for react 17
  • Upgrade all dev dependencies
  • Minor type improvements
  • Components are now only exported as default internally
  • Explicit list of types the component prop will accept (if you are using one that is not defined in this release, please open a PR to add it and publish a new patch version)

Alpha: React 16.8-17 support

12 Mar 17:29
Compare
Choose a tag to compare
Pre-release

Alpha: React 16.8-17 support

12 Mar 16:34
Compare
Choose a tag to compare
Pre-release

Was unable to be published due to npm errors

Checkbox border radius variable

04 Mar 10:03
d360135
Compare
Choose a tag to compare
  • Added @checkbox-border-radius less variable #346

Footer and NavBar ResizeObserver

11 Nov 16:22
5bad5c8
Compare
Choose a tag to compare

Instead of listening for window resizes we now observe the elements themselves: #345

This may require a MutationObserver polyfill if you need to support older browsers e.g. IE 10.

If you don't already polyfill Map and requestAnimationFrame (which are required by React) you will also need polyfills for them.

Export component types (and not store state)

12 Oct 16:56
1569083
Compare
Choose a tag to compare

This change should be backward compatible, but will not longer allow access to the internal StoreState type.

#343

Upgrade to react-transition-group v2

10 Oct 13:45
6606232
Compare
Choose a tag to compare

Breaking change!

Roe has a peer dependency on react-transition-group and so any projects using Roe will also need to upgrade react-transition-group to version 2.

The new version has a different set of components, renders a different wrapper element (div, not span), and has slightly different transition class names (-exit, not leave, and -[type]-done as a final class).

See #342 for examples of upgrading.

Add variables for custom form-group and label spacings.

07 Oct 10:36
f7c0930
Compare
Choose a tag to compare