Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Latest commit

 

History

History
35 lines (27 loc) · 1.24 KB

CHANGELOG.md

File metadata and controls

35 lines (27 loc) · 1.24 KB

Changelog

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

[3.3.0] - 2019-05-15

Added

  • Added prop parameter in mapToTheme (Thanks to @mmartinsky - #19)

Changed

  • Updated all dependencies

[3.2.0-rc.1] - 2018-10-18

Added

  • Added basic TypeScript typings

[3.1.0] - 2018-10-13

Added

  • Added support for nested object properties in mapToTheme (Thanks to #5)

Changed

  • Smaller bundle size (~500b)

[3.0.0] - 2018-08-08

Added

  • Added completely new CSS-like API. You can still use style objects, but I think you'll find this is much better.

[2.0.1] - 2017-07-07

Fixed

  • Fixed bug (thank you @linayanse)

[2.0.0] - 2017-07-02

Changed

  • styled-map now looks for a "default" key if there are no matches. Otherwise it will use the last item in the map as in previous versions.

Added

  • Sometimes you want to use the value of a prop instead of its name, like <Button type="primary" />. You can use styled-map this way by providing a string as the first argument. E.g., styledMap('type', { ... }).