linaria

Zero-runtime CSS in JS library

MIT License

Downloads
4.5M
Stars
11.2K
Committers
134

Bot releases are hidden (Show)

linaria - v3.0.0-beta.4

Published by Anber over 3 years ago

3.0.0-beta.4 (2021-05-07)

Bug Fixes

linaria - v3.0.0-beta.3

Published by Anber over 3 years ago

3.0.0-beta.3 (2021-04-20)

Bug Fixes

linaria - Release 2.1.0

Published by Anber over 3 years ago

  • feat(babel): expose CSS extraction from AST logic (#738) (03b0e385)
  • fix: refine preset-env targets to support more browsers (#709) (134ed0b5)
linaria - Release 2.0.2

Published by Anber almost 4 years ago

  • fix: missed babel config in monorepos with babel.config.js #698 (9b1ad97c)
linaria - Release 2.0.1

Published by Anber almost 4 years ago

  • fix(rollup): 'unexpected token' in some cases (#694) (3cd77296)
  • fix: missing linaria/server TS types (#691) (08be43a3)
linaria - Release 1.4.1

Published by Anber almost 4 years ago

  • fix(rollup): 'unexpected token' in some cases (#694) (dbcb83a4)
linaria - Release 2.0.0

Published by Anber almost 4 years ago

1.4 -> 2.0 Migration guide

In comparison with 1.4, 2.0 doesn't have new features or improvements but it introduces two breaking changes:

linaria - Release 1.4.0

Published by Anber almost 4 years ago

Features:

  • introduces evaluation strategies
  • add ignore option to CLI (#458)
  • allow a function to be passed for classNameSlug option (#547)

Fixes:

  • performance boost for large projects
  • support String and Number object (#524)
  • allow styled import to be locally renamed (#544)
  • expand the valid CSS Identifier method to allow more valid characters in class names (#656)
  • add @font-face to critical, remove redundant atrules. (#588)
  • added more variables when vm context is created (#592)
  • handle empty string values in css rules
  • cache directory for modules above project root, support lerna root (#591)
  • create rollup slug from cssText (#647)
  • push '' into className before regex special characters (#640)
  • css identifier cannot start with a digit (#683)

Also, Linaria has been rewritten to TypeScript that helped us to introduce a couple of new type checks:

  • a component passed to styled should have a className property;
  • if styles include an interpolated function, a passed component should also have a style property.
linaria - Release 2.0.0-rc.3

Published by Anber about 4 years ago

linaria - Release 1.4.0-rc.3

Published by Anber about 4 years ago

linaria - Release 2.0.0-rc.2

Published by Anber about 4 years ago

  • fix(typings): styled mistakenly infers type from interpolated component (#669) (80b7337)
  • fix(evaluators): pass all env variables (#670) (4151149)
  • fix: push '' into className before regex special characters (#640) (7c322a4)
  • fix: create rollup slug from cssText (#647) (b61ea32)
  • Bump @emotion/is-prop-valid (#661) (9746107)
linaria - Release 1.4.0-rc.2

Published by Anber about 4 years ago

  • fix(evaluators): pass all env variables (#670) (046ae72)
  • fix: push '' into className before regex special characters (#640) (1e4c67d)
  • fix: create rollup slug from cssText (#647) (457b06e)
  • Bump @emotion/is-prop-valid (#661) (89a200c)
  • fix(typings): styled mistakenly infers type from interpolated component (91dd894)
linaria - Release 2.0.0-rc.1

Published by jayu about 4 years ago

  • fix(typings): export CSSProperties (closes #641) (#656) (e71012e)
  • fix(deps): drop a few unnecessary dependencies (#643) (#654) (47c8157)
  • chore: upgrade eslint, prettier and typescript (315d07a)
  • docs: update preact configuration (260b60c)
linaria - Release 1.4.0-rc.1

Published by Anber about 4 years ago

  • fix(typings): export CSSProperties (closes #641) (4efebf4)
  • fix(deps): drop a few unnecessary dependencies (#643) (#654) (d33fede)
  • chore: upgrade eslint, prettier and typescript (fb6186f)
linaria - Release 2.0.0-rc.0

Published by jayu about 4 years ago

2.0.0-rc.0 (2020-07-27)

Bug Fixes

Features

linaria - Release 1.4.0-rc.0

Published by jayu about 4 years ago

1.4.0-rc.0 (2020-07-27)

Bug Fixes

Features

linaria - Release 1.4.0-beta.10

Published by jayu over 4 years ago

1.4.0-beta.10 (2020-05-18)

Bug Fixes

  • pass rootMode from babelOptions to initial transform (#600) (8abb51d)
  • use transform-tagged-template-literal plugin explicitly (#609) (df7cd17)
linaria - Release 2.0.0-alpha.5

Published by jayu over 4 years ago

2.0.0-alpha.5 (2020-05-18)

Bug Fixes

  • pass rootMode from babelOptions to initial transform (#600) (bfe2a44)
  • use transform-tagged-template-literal plugin explicitly (#609) (797b7aa)

Features

  • evaluators: change default evaluator (Breaking Change) (4062232)
  • evaluators: make evaluators exportable from the root (26e9d8c)
linaria - Release 2.0.0-alpha.4

Published by jayu over 4 years ago

2.0.0-alpha.4 (2020-05-08)

linaria - Release 1.4.0-beta.9

Published by jayu over 4 years ago

1.4.0-beta.9 (2020-05-08)

Package Rankings
Top 0.66% on Npmjs.org
Badges
Extracted from project README
Build Status Code Coverage Version MIT License All Contributors PRs Welcome Chat Code of Conduct Greenkeeper Sponsored by Callstack tweet Edit Linaria Demo
Related Projects