Skip to content

Releases: paulyoung/purescript-style

v0.17.0

20 Jul 06:27
62b09a5
Compare
Choose a tag to compare
  • Add TRBL and WSC type synonyms #26

v0.16.0

15 Jul 02:16
9643b39
Compare
Choose a tag to compare

Added

  • Added support for border in the form of many longhand and shorthand functions.

Updated

  • The return type for shorthand functions is now Declaration instead of Array Declaration
  • Type synonyms for property values were moved to the Style.Declaration.Value
  • zero is now an allowed value for border-radius and outline-width

v0.15.0

26 Jun 07:05
5f9ede2
Compare
Choose a tag to compare

Added

  • The boxShadow property and boxShadow_ value helper function.
  • The transparent value.
  • The type synonym Length_, which is Length + Zero
  • Variations of functions that accept their respective color values (which now include currentColor and transparent), e.g backgroundColor' and color'. The existing functions still take concrete color values to cater for the most common use case.
  • Renderers for individual type synonyms, e.g. renderColor and renderLength_, to facilitate the composition of renderers for shorthand functions, i.e. renderBoxShadow

Updated

  • Added an underscore suffix to function and type names that don't represent CSS values, e.g. color_ and number_

v0.14.1

21 Jun 07:37
1afcb46
Compare
Choose a tag to compare
  • Fix rendering of zero #21

v0.14.0

20 Jun 05:42
2f7eb6d
Compare
Choose a tag to compare

Added

  • borderBottomLeftRadius, borderBottomRightRadius, borderTopLeftRadius, and borderTopRightRadius
  • outline shorthand function

Removed

  • Property constructors for BorderRadius, Margin, and Padding

Updated

  • Turn borderRadius, margin, and padding into shorthand functions

v0.13.0

20 Jun 04:41
11adc7c
Compare
Choose a tag to compare

Added

  • outlineColor, outlineStyle, and outlineWidth
  • currentColor, invert, and the type synonym OutlineColorValue
  • dashed, dotted, double, groove, inset, none, outset, ridge, solid, and the type synonym OutlineStyleValue
  • thick, thin, and the type synonyms OutlineWidthKeyword and OutlineWidthValue

v0.12.0

18 Jun 07:25
4d9d075
Compare
Choose a tag to compare
  • Require non-empty arrays in rulesets #18

v0.11.0

18 Jun 06:12
4851143
Compare
Choose a tag to compare

Added

  • font-weight
  • number_
  • bold, normal, and the type synonym FontWeightKeyword
  • bolder, lighter, and the type synonym FontWeightKeywordRelative

v0.10.0

15 Jun 07:29
4aea8aa
Compare
Choose a tag to compare
  • Only render rulesets with selectors & declarations #16

v0.9.0

14 Jun 08:12
058013d
Compare
Choose a tag to compare

Fixed

  • Rendering of hyphenated property values
    • justifyAll
    • xLarge
    • xSmall
    • xxLarge
    • xxSmall