Releases: atlassian-labs/compiled
Releases · atlassian-labs/compiled
@compiled/[email protected]
Patch Changes
- Updated dependencies [34e5339]
- Updated dependencies [34e5339]
- @compiled/[email protected]
@compiled/[email protected]
Patch Changes
- Updated dependencies [34e5339]
- Updated dependencies [34e5339]
- @compiled/[email protected]
@compiled/[email protected]
Minor Changes
-
34e5339: Fix
@compiled/babel-pluginto not requirecssMap()to be called prior to use.Example, this failed before for no reason other than the fact that our
state.cssMapwas generated afterJSXElementandJSXOpeningElementwere 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
cssMapobject where we expect acssor nestedcssMapobject.Example of code that silently fails today, using
stylesdirectly:import { cssMap } from '@compiled/react'; const styles = cssMap({ root: { padding: 8 } }); export default () => <div css={styles} />;
What we expect to see instead, using
styles.rootinstead:import { cssMap } from '@compiled/react'; const styles = cssMap({ root: { padding: 8 } }); export default () => <div css={styles.root} />;
@compiled/[email protected]
@compiled/[email protected]
Patch Changes
- Updated dependencies [0ebbfc1]
- @compiled/[email protected]
@compiled/[email protected]
Patch Changes
- Updated dependencies [0ebbfc1]
- @compiled/[email protected]
@compiled/[email protected]
Minor Changes
- 0ebbfc1: Fix supporting ternaries referencing cssMap style objects when extracting styles.
@compiled/[email protected]
Patch Changes
- a90961b: Fix shorthand-property-sorting crashing when variable in css prop is not initialised
@compiled/[email protected]
Patch Changes
- 6fb2894: Fix border-inline-start and border-inline-end not having any valid ordering in the shorthand-property-sorting ESLint rule
@compiled/[email protected]
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/[email protected]