compiled

A familiar and performant compile time CSS-in-JS library for React.

APACHE-2.0 License

Downloads
186.9K
Stars
2K
Committers
46

Bot releases are visible (Hide)

compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Patch Changes

  • Updated dependencies [b68411c]
  • Updated dependencies [53a3d71]
compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Minor Changes

  • 53a3d71: Breaking change: Ternary conditionals will no longer add falsy path styles when expression evaluates truthy

Patch Changes

  • b68411c: Fix styled path check
compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Patch Changes

  • Updated dependencies [b68411c]
  • Updated dependencies [53a3d71]
compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Minor Changes

  • 507bcad: Initial release of the @compiled/eslint-plugin. This will become a useful complementary tool to use with the @compiled library.
compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Minor Changes

  • f12c08d: Add support for keyframes import with alphabetical sorting

Patch Changes

  • 507bcad: Minor change to account for css() usage in the emotion codemod.
compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Minor Changes

  • 1185f0e: Use @compiled/codemods as dependency for @compiled/cli to allow npx usage

Patch Changes

  • Updated dependencies [507bcad]
  • Updated dependencies [f12c08d]
compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Minor Changes

  • 0ba3ea3: Keep named imports from styled-components that are known to be compatible with @compiled/react when using the styled-components-to-compiled codemod. Currently this only includes the css named import.

    Breaking change: The buildImport plugin API has changed. It now passes an array of specifiers to be added to the created import statement instead of just the defaultSpecifierName and namedImport strings, making it possible to build statements with multiple imports.

  • ba66b35: Add styled-components innerRef to ref codemod

compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Minor Changes

  • 0b60ae1: Support custom resolver
  • 2092839: Allow inline strings and inline css mixins in conditional expressions. Fix ordering of styles in template literals.
compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Patch Changes

  • Updated dependencies [0b60ae1]
  • Updated dependencies [2092839]
compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Minor Changes

  • 0b60ae1: Use webpack resolution and add custom resolve override

Patch Changes

  • Updated dependencies [0b60ae1]
  • Updated dependencies [2092839]
compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Minor Changes

  • 2092839: Allow inline strings and inline css mixins in conditional expressions. Fix ordering of styles in template literals.
compiled - @compiled/[email protected]

Published by atlas-dst-bot almost 3 years ago

Minor Changes

  • ba66b35: Add styled-components innerRef to ref codemod

Patch Changes

  • Updated dependencies [0ba3ea3]
  • Updated dependencies [ba66b35]
compiled - @compiled/[email protected]

Published by atlas-dst-bot about 3 years ago

Patch Changes

compiled - @compiled/[email protected]

Published by atlas-dst-bot about 3 years ago

Minor Changes

  • 4210ff6: Add flow types support
compiled - @compiled/[email protected]

Published by atlas-dst-bot about 3 years ago

Minor Changes

  • a33c65d: New codemod package with plugin system
  • 10f4fe9: Update codemod plugin API to include all parameters from jscodeshift
compiled - @compiled/[email protected]

Published by atlas-dst-bot about 3 years ago

Minor Changes

  • 53935b3: Add ObjectExpression support to css
compiled - @compiled/[email protected]

Published by atlas-dst-bot about 3 years ago

Patch Changes

compiled - @compiled/[email protected]

Published by atlas-dst-bot about 3 years ago

Minor Changes

  • 4210ff6: Add flow types support
  • 53935b3: Add ObjectExpression support to css
import { css } from '@compiled/react';

css({
  fontSize: 12,
});
compiled - @compiled/[email protected]

Published by atlas-dst-bot about 3 years ago

Minor Changes

  • a33c65d: New codemod package with plugin system

Patch Changes

  • Updated dependencies [a33c65d]
  • Updated dependencies [10f4fe9]
compiled - @compiled/[email protected]

Published by atlas-dst-bot about 3 years ago

Minor Changes

  • bcb2a68: Add support for keyframes
  • a7ab8e1: Add support for conditional rules for Styled

Patch Changes

  • e1dc346: Fix missing key prop on generated React elements
  • 48805ec: Use the correct expression in the style prop, when an identifier is shadowed by a function argument
  • 587e729: Generate CSS for rules defined before a mixin and ensure that mixins can be overriden
  • Updated dependencies [bcb2a68]