Releases: atlassian-labs/compiled
Releases · atlassian-labs/compiled
@compiled/webpack-loader@0.19.3
Patch Changes
- Updated dependencies [0f64c39]
- @compiled/babel-plugin@0.36.0
- @compiled/css@0.19.0
- @compiled/babel-plugin-strip-runtime@0.36.0
@compiled/parcel-transformer@0.18.4
Patch Changes
- Updated dependencies [0f64c39]
- @compiled/babel-plugin@0.36.0
- @compiled/babel-plugin-strip-runtime@0.36.0
@compiled/parcel-optimizer@0.6.1
Patch Changes
- Updated dependencies [0f64c39]
- @compiled/css@0.19.0
@compiled/css@0.19.0
Minor Changes
- 0f64c39: Added support for the @starting-style at-rule.
@compiled/babel-plugin@0.36.0
@compiled/babel-plugin-strip-runtime@0.36.0
Patch Changes
- Updated dependencies [0f64c39]
- @compiled/css@0.19.0
@compiled/eslint-plugin@0.19.1
Patch Changes
- d75db85: Fix some false positives in
shorthand-property-sorting
with css and cssMap
@compiled/webpack-loader@0.19.2
@compiled/parcel-transformer@0.18.3
@compiled/babel-plugin@0.35.0
Minor Changes
-
34e5339: Fix
@compiled/babel-plugin
to not requirecssMap()
to be called prior to use.Example, this failed before for no reason other than the fact that our
state.cssMap
was generated afterJSXElement
andJSXOpeningElement
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 acss
or nestedcssMap
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} />;