Skip to content

Releases: fpereiro/lith

6.0.7

03 Aug 06:25

Choose a tag to compare

  • ~15% performance speedup when in non-prod mode.
  • Upgrade teishi v5.0.3 -> v5.1.0

6.0.6

24 Jul 12:38

Choose a tag to compare

  • If using a LITERAL pseudo-tag in either a lith or litc, ensure that its contents are a string.

6.0.5

16 Jun 21:53

Choose a tag to compare

  • Add returnError flag to lith.css.v to return the error in case the input is invalid, instead of printing it to the console.
  • Edit the tests so that 1) only essential alerts are shown on old browsers; 2) performance benchmarking is done in proportionality to the speed of the engine.
  • Upgrade dale v6.0.1 -> v6.0.2 and teishi v5.0.2 -> v5.0.3

6.0.4

19 Mar 20:55

Choose a tag to compare

  • Add returnError flag to lith.v to test for a lith/lithbag validity and returning the error in case it's neither, instead of printing it to the console.

6.0.3

26 Nov 14:59

Choose a tag to compare

  • Update dale v6.0.0 -> v6.0.1 and teishi v5.0.0 -> 5.0.1

6.0.2

19 Nov 14:27

Choose a tag to compare

  • Bugfix: remove trailing commas in code & test in IE6-8 (fix is relevant only for v6.0.1).

6.0.1

19 Nov 14:08

Choose a tag to compare

  • Update dependencies: dale v5.0.3 -> v6.0.0, teishi v5.0.0 -> v5.0.1

6.0.0

06 Nov 16:33

Choose a tag to compare

  • Breaking change: lith.style has been renamed to lith.css.style. This function no longer accepts an object with lith attributes, and no longer returns an object with a style attribute. Rather, it simply generates a CSS string that can be placed inside a style attribute. If before, you wrote lith.style ({class: 'foo'}, {height: 1}), you should now write {class: 'foo', style: lith.css.style ({height: 1})}. Lastly, lith.css.style now can take a prod flag as a second argument, which internally will be passed to lith.css.g.
  • When a selector has no attributes, no CSS is generated for it. For example, ['a'] will generate an empty string instead of a{}. This particularly affects nested/descendant selectors: ['a', ['&:hover', {height: 1}]] will generate a:hover{height:100%} instead of a{}a:hover{height:100%}.
  • Upgrade dependencies: dale v5.0.2 -> v5.0.3 and teishi v5.0.0 -> v6.0.0

5.0.0

05 Aug 15:37

Choose a tag to compare

  • Compatibility with older browsers: indexOf polyfill (teishi), teishi.t works on more browsers, use dale.clog for logging.
  • Upgrade dale v4.3.3 -> v5.0.2, teishi v3.14.1 -> v4.0.0 .

4.6.0

06 Jun 13:19

Choose a tag to compare

  • Add lith.style helper function.
  • Enable prod mode for lith.css.g.
  • Upgrade teishi@3.13.2 -> teishi@3.14.1