Skip to content

Releases: atlassian-labs/compiled

@compiled/[email protected]

05 Jun 01:17
f79d88f

Choose a tag to compare

Patch Changes

  • 8ab02df: Babel template string replaced with it's AST node counterparts - Minorly improving performance

@compiled/[email protected]

04 Jun 02:50
b02652a

Choose a tag to compare

Patch Changes

  • e2b408a: Allow for flattened chained pseudo-selectors, eg. &:hover::after in our type syntaxes

@compiled/[email protected]

23 May 01:21
9fd3818

Choose a tag to compare

Patch Changes

@compiled/[email protected]

23 May 01:21
9fd3818

Choose a tag to compare

Patch Changes

@compiled/[email protected]

23 May 01:21
9fd3818

Choose a tag to compare

Patch Changes

@compiled/[email protected]

23 May 01:21
9fd3818

Choose a tag to compare

Minor Changes

  • 9a66324: Adds a possibly breaking change to flatten multiple selectors into separate rules to better deduplicate and sort styles.

    You can disable this by setting flattenMultipleSelectors: false in Babel and other config.

    For example:

    css({
      '&:hover, &:focus': {
        color: 'red',
      },
    });

    Is transformed into the same code as this would be:

    css({
      '&:hover': { color: 'red' },
      '&:focus': { color: 'red' },
    });

    Without this, pseudo-selectors aren't sorted properly in some scenarios.

@compiled/[email protected]

23 May 01:21
9fd3818

Choose a tag to compare

Minor Changes

  • 9a66324: Adds option flattenMultipleSelectors (defaults to true) to allow flattening of multiple selectors into separate rules to better deduplicate and sort styles.

Patch Changes

  • cceffda: Resolve an issue where cssMap was being defined after its consumer, which relies on the xcss prop.
  • Updated dependencies [9a66324]

@compiled/[email protected]

23 May 01:21
9fd3818

Choose a tag to compare

Patch Changes

@compiled/[email protected]

16 Apr 02:00
28bf423

Choose a tag to compare

Patch Changes

  • c321da7: Reducing bundle size and improving runtime performance of the ax runtime function.

    import { ax } from '@compiled/react/runtime';
  • b3b4b34: Fix toHaveCompiledCss in @compiled/jest crashing on SVG elements due to lack of className property and expands tests in @compiled/react.

@compiled/[email protected]

16 Apr 02:00
28bf423

Choose a tag to compare

Patch Changes

  • b3b4b34: Fix toHaveCompiledCss in @compiled/jest crashing on SVG elements due to lack of className property and expands tests in @compiled/react.