Releases: paulyoung/purescript-style
Releases · paulyoung/purescript-style
v0.17.0
v0.16.0
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 ofArray Declaration
- Type synonyms for property values were moved to the
Style.Declaration.Value
zero
is now an allowed value forborder-radius
andoutline-width
v0.15.0
Added
- The
boxShadow
property andboxShadow_
value helper function. - The
transparent
value. - The type synonym
Length_
, which isLength
+Zero
- Variations of functions that accept their respective color values (which now include
currentColor
andtransparent
), e.gbackgroundColor'
andcolor'
. The existing functions still take concrete color values to cater for the most common use case. - Renderers for individual type synonyms, e.g.
renderColor
andrenderLength_
, 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_
andnumber_
v0.14.1
v0.14.0
Added
borderBottomLeftRadius
,borderBottomRightRadius
,borderTopLeftRadius
, andborderTopRightRadius
outline
shorthand function
Removed
Property
constructors forBorderRadius
,Margin
, andPadding
Updated
- Turn
borderRadius
,margin
, andpadding
into shorthand functions
v0.13.0
Added
outlineColor
,outlineStyle
, andoutlineWidth
currentColor
,invert
, and the type synonymOutlineColorValue
dashed
,dotted
,double
,groove
,inset
,none
,outset
,ridge
,solid
, and the type synonymOutlineStyleValue
thick
,thin
, and the type synonymsOutlineWidthKeyword
andOutlineWidthValue