Notable changes are documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
Breaking changes:
New features:
Bugfixes:
Other improvements:
New features:
- The
LineName
data constructor is now exported, replacing thelineName
function which is now deprecated. #44
Breaking changes:
- For pseudo-elements only, the
&:
operator has been replaced by&::
. Pseudo-classes continue to work with the&:
operator. #33 - The
keyframesName
function has been dropped. Just use theKeyframesName
constructor instead. (#34) - The
CustomAttribute
type andatt
constructor function have been removed in favor of theAttrName
type fromweb-html
. #35 - The
&.
operator (byClass
function) no longer accepts a string argument. Instead, it requires aClassName
. #35 - The
&#
operator (byId
function) no longer accepts a string argument. Instead, it requires a value of the newly-addedElementId
type. #35, #37 - The
nth
function has been dropped, replaced by the#+
and#-
operators that can be used to construct an+b formulas. #36
New features:
box-sizing
property #31cursor
property #41word-break
property #32- Support for custom pseudo-classes and pseudo-elements via the
PseudoClass
andPseudoElement
constructors #38 - A new
unsafeDeclaration
function offers an "escape hatch" for e.g. vendor-prefixed or experimental properties that haven't been added to the library yet. #40
Bugfixes:
- Fixed the content of the compiler error that results from duplicate properties or descriptors within a single ruleset. Previously all values were incorrectly reported as having the type
CommonKeyword
. #39
New features:
Other improvements:
- Examples and tests are now formatted using
purs-tidy
.
New features:
- Added the
Declarations
type alias.
New features:
- Grid support / new CSS properties #12
grid-auto-columns
grid-auto-flow
grid-auto-rows
grid-column-end
grid-column-start
grid-row-end
grid-row-start
grid-template-columns
grid-template-rows
- Flexbox properties extended to support additional values defined in
Box Alignment Module Level 3
justify-content
align-content
justify-self
align-self
justify-items
align-items
Other improvements:
- New examples of type safety #10
- The
check-examples
script now verifies that eachTypeError.*
example fails to compile.
Other improvements:
- Performance optimizations #9
- Dropped
arrays
dependency
New features:
- A single property appearing more than once within a ruleset now results in a compiler error. #7
- A new type alias
CSS
provides a way to annotate style sheet values without using internal types. #8
New features:
- Declarations are now guaranteed to be rendered in the input order. #6
Initial release