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