Skip to content

Releases: styled-components/polished

v3.4.4

28 Jan 13:23
Compare
Choose a tag to compare

3.4.4 (2020-01-28)

Bug Fixes

  • position: fix typing for position to address typescript incompatability (63ab9a6), closes #475

v3.4.3

26 Jan 17:35
Compare
Choose a tag to compare

3.4.3 (2020-01-26)

Bug Fixes

Enhancements

  • Adds more tagging for easier discoverability - Thanks @nurbek-ab

v3.4.2

30 Oct 01:06
Compare
Choose a tag to compare
  • hsl(a) - Fixed a bug preventing the use of decimal values.

v3.4.1

15 Jun 23:47
Compare
Choose a tag to compare
  • between (and therefore fluidRange) now supports unitless values for fromSize and toSize.

v3.4.0

25 May 19:43
Compare
Choose a tag to compare
  • 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

18 May 21:17
64dad52
Compare
Choose a tag to compare
  • (Color Modules) - Fixes a bug that would cause hue to be negative in some cases instead of rotating around the color wheel to a positive value. Thanks @DavidDeprost

v3.3.1

18 May 21:00
Compare
Choose a tag to compare

3.3.1 (2019-05-18)

Bug Fixes

  • hslToRgb: correct % for potential negative hue (5c306c8), closes #437

v3.3.0

05 May 17:02
Compare
Choose a tag to compare
  • modularScale now supports all base values regardless of unit, including unitless values. (fixes #429)
  • parseToRGB is now case-insensitive (thanks @Andarist)
  • refactored export statements across the library resulting in a small decrease in bundle size.

v3.2.1

05 May 16:59
Compare
Choose a tag to compare

3.2.1 (2019-05-05)

Bug Fixes

  • modularScale: Remove rem/em restriction (70f373e)

v3.2.0

30 Mar 15:42
Compare
Choose a tag to compare
  • 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 borderColorordirectionalProperty`, and therefore has a smaller bundle size.
  • fixed a bug withtriangle where passing a unitless number to triangle defaulted to a pixel value. It will instead return the unitless value.