Releases: styled-components/polished
Releases · styled-components/polished
v3.4.4
v3.4.3
3.4.3 (2020-01-26)
Bug Fixes
- flow: fix several errors with flow compatibility (5a8fd51) - Thanks @tobilen
- hideVisually: remove
clip-path
fromhideVisually
(43c69c6) - Thanks @ughitsaaron
Enhancements
- Adds more tagging for easier discoverability - Thanks @nurbek-ab
v3.4.2
v3.4.1
v3.4.0
- Adds a color module (
getContrast
) for getting the contrast score between two colors. - Adds a color module (
meetsContrastGuidelines
) for checking which contrast guidelines have been met between two colors.
Thanks @souporserious!
v3.3.2
v3.3.1
v3.3.0
v3.2.1
v3.2.0
triangle
now supports intermediate directions (i.e. 'topLeft'). In most cases, it will now also
return a smaller object than prior by combining colors into a single 'borderColor' line. (#399)triangle no longer relies on
borderColoror
directionalProperty`, and therefore has a smaller bundle size.- fixed a bug with
triangle
where passing a unitless number to triangle defaulted to a pixel value. It will instead return the unitless value.