Skip to content

v0.2.0

Latest
Compare
Choose a tag to compare
@nsaunders nsaunders released this 16 May 19:16
· 59 commits to master since this release

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 the KeyframesName constructor instead. (#34)
  • The CustomAttribute type and att constructor function have been removed in favor of the AttrName type from web-html. #35
  • The &. operator (byClass function) no longer accepts a string argument. Instead, it requires a ClassName. #35
  • The &# operator (byId function) no longer accepts a string argument. Instead, it requires a value of the newly-added ElementId 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 #31
  • cursor property #41
  • word-break property #32
  • Support for custom pseudo-classes and pseudo-elements via the PseudoClass and PseudoElement 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