Skip to content

Releases: nsaunders/purescript-tecton

v0.2.0

16 May 19:16
Compare
Choose a tag to compare

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

v0.1.6

13 Dec 00:37
Compare
Choose a tag to compare

New features:

  • :focus-within pseudo-class #17
  • appearance property #18

Other improvements:

  • Examples and tests are now formatted using purs-tidy.

v0.1.5

09 Dec 00:23
Compare
Choose a tag to compare
  • Added the Declarations type alias.

v0.1.4

29 Nov 13:30
76fc1cd
Compare
Choose a tag to compare

v0.1.3

10 Nov 00:22
Compare
Choose a tag to compare
  • Performance optimizations
  • Dropped arrays dependency

v0.1.2

06 Nov 22:36
Compare
Choose a tag to compare
  • 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

v0.1.1

03 Nov 13:38
Compare
Choose a tag to compare
  • Declarations are now guaranteed to be rendered in the input order.

v0.1.0

14 Oct 23:06
6660d62
Compare
Choose a tag to compare

Initial Tecton release