Skip to content

Releases: atlassian-labs/compiled

@compiled/[email protected]

28 Jan 03:48
40a4548
Compare
Choose a tag to compare

Patch Changes

@compiled/[email protected]

08 Jan 04:05
04f6280
Compare
Choose a tag to compare

Patch Changes

  • d75db85: Fix some false positives in shorthand-property-sorting with css and cssMap

@compiled/[email protected]

02 Jan 23:56
a2eb963
Compare
Choose a tag to compare

Patch Changes

@compiled/[email protected]

02 Jan 23:56
a2eb963
Compare
Choose a tag to compare

Patch Changes

@compiled/[email protected]

02 Jan 23:56
a2eb963
Compare
Choose a tag to compare

Minor Changes

  • 34e5339: Fix @compiled/babel-plugin to not require cssMap() to be called prior to use.

    Example, this failed before for no reason other than the fact that our state.cssMap was generated after JSXElement and JSXOpeningElement were ran.

    import { cssMap } from '@compiled/react';
    export default () => <div css={styles.root} />;
    const styles = cssMap({ root: { padding: 8 } });
  • 34e5339: Throw an error when compiling a cssMap object where we expect a css or nested cssMap object.

    Example of code that silently fails today, using styles directly:

    import { cssMap } from '@compiled/react';
    const styles = cssMap({ root: { padding: 8 } });
    export default () => <div css={styles} />;

    What we expect to see instead, using styles.root instead:

    import { cssMap } from '@compiled/react';
    const styles = cssMap({ root: { padding: 8 } });
    export default () => <div css={styles.root} />;

@compiled/[email protected]

19 Dec 02:34
56f4ac6
Compare
Choose a tag to compare

Minor Changes

  • e6d57ea: add engines to formalize supported node versions - ^16.0.0 || >= 18.0.0
  • e6d57ea: support eslint v9

@compiled/[email protected]

18 Dec 22:40
dea4f1c
Compare
Choose a tag to compare

Patch Changes

@compiled/[email protected]

18 Dec 22:40
dea4f1c
Compare
Choose a tag to compare

Patch Changes

@compiled/[email protected]

18 Dec 22:40
dea4f1c
Compare
Choose a tag to compare

Minor Changes

  • 0ebbfc1: Fix supporting ternaries referencing cssMap style objects when extracting styles.

@compiled/[email protected]

17 Dec 03:55
fc4c47a
Compare
Choose a tag to compare

Patch Changes

  • a90961b: Fix shorthand-property-sorting crashing when variable in css prop is not initialised