Skip to content

0.5.0

Compare
Choose a tag to compare
@kettanaito kettanaito released this 28 May 19:59
· 395 commits to master since this release

Announcements

  • This library no longer supports Internet Explorer of any version
  • From this point on the API will start to move towards its final version, preparing to 1.0 release. Any consequent API changes will be released in a backward-compatible manner as minor versions.

Features

  • Atomic layout is now written entirely in TypeScript, improving the experience of both contributors and users (#87)
  • Uses Proxy to allow references and render attempts of potentially non-existent template areas
  • Supports dynamic template areas (i.e. changed on runtime) (#78)
  • Prints warning on multiple attempts to call Layout.configure() (#63)
  • Prints warning when trying to render an area component that is not defined in a template string (#63)
  • All components exported from the library are now polymorphic (thank to styled-components), which means you can specify which component to render instead of a default div:
<Composition as={Header} {...}>
  {({ SomeArea }) => (
    <SomeArea as="nav" />
  )}
</Composition>

Bug fixes

  • Fixes an unexpected behavior when CSS properties with undefined value had undefined as the outputted value (#79)
  • The library is no longer shipped as minified, making debugging much easier

Dependencies

  • Updates to react-responsive@6
  • Updates various dev dependencies