Skip to content

Releases: atlassian-labs/compiled

@compiled/webpack-loader@0.19.2

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

Patch Changes

  • Updated dependencies [34e5339]
  • Updated dependencies [34e5339]
    • @compiled/babel-plugin@0.35.0

@compiled/parcel-transformer@0.18.3

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

Patch Changes

  • Updated dependencies [34e5339]
  • Updated dependencies [34e5339]
    • @compiled/babel-plugin@0.35.0

@compiled/babel-plugin@0.35.0

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/eslint-plugin@0.19.0

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/webpack-loader@0.19.1

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

Patch Changes

  • Updated dependencies [0ebbfc1]
    • @compiled/babel-plugin@0.34.0

@compiled/parcel-transformer@0.18.2

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

Patch Changes

  • Updated dependencies [0ebbfc1]
    • @compiled/babel-plugin@0.34.0

@compiled/babel-plugin@0.34.0

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/eslint-plugin@0.18.2

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

@compiled/utils@0.13.2

11 Dec 22:58
130ed3b
Compare
Choose a tag to compare

Patch Changes

  • 6fb2894: Fix border-inline-start and border-inline-end not having any valid ordering in the shorthand-property-sorting ESLint rule

@compiled/eslint-plugin@0.18.1

11 Dec 22:58
130ed3b
Compare
Choose a tag to compare

Patch Changes

  • 6fb2894: Fix border-inline-start and border-inline-end not having any valid ordering in the shorthand-property-sorting ESLint rule
  • Updated dependencies [6fb2894]
    • @compiled/utils@0.13.2