Releases: atlassian-labs/compiled
@compiled/parcel-optimizer@0.6.0
Minor Changes
-
f63b99d: Possibly BREAKING: Default
sortShorthand
to be enabled during stylesheet extraction to match the config we have internally at Atlassian and our recommendation.You can opt-out from this change by setting
sortShorthand: false
in several places, refer to https://compiledcssinjs.com/docs/shorthand and package-specific documentation.This is only a breaking change if you expect
margin:0
to overridemargin-top:8px
for example, which in other CSS-in-JS libraries may actually work, but in Compiled it's not guaranteed to work, so we forcibly sort it to guarantee the order in which these styles are applied.
Patch Changes
@compiled/parcel-config@0.5.5
Patch Changes
- Updated dependencies [f63b99d]
- @compiled/parcel-optimizer@0.6.0
- @compiled/parcel-transformer@0.18.1
@compiled/eslint-plugin@0.18.0
@compiled/css@0.18.0
Minor Changes
-
f63b99d: Possibly BREAKING: Default
sortShorthand
to be enabled during stylesheet extraction to match the config we have internally at Atlassian and our recommendation.You can opt-out from this change by setting
sortShorthand: false
in several places, refer to https://compiledcssinjs.com/docs/shorthand and package-specific documentation.This is only a breaking change if you expect
margin:0
to overridemargin-top:8px
for example, which in other CSS-in-JS libraries may actually work, but in Compiled it's not guaranteed to work, so we forcibly sort it to guarantee the order in which these styles are applied.
Patch Changes
- Updated dependencies [88bbe38]
- @compiled/utils@0.13.1
@compiled/babel-plugin@0.33.0
@compiled/babel-plugin-strip-runtime@0.33.0
Minor Changes
-
f63b99d: Possibly BREAKING: Default
sortShorthand
to be enabled during stylesheet extraction to match the config we have internally at Atlassian and our recommendation.You can opt-out from this change by setting
sortShorthand: false
in several places, refer to https://compiledcssinjs.com/docs/shorthand and package-specific documentation.This is only a breaking change if you expect
margin:0
to overridemargin-top:8px
for example, which in other CSS-in-JS libraries may actually work, but in Compiled it's not guaranteed to work, so we forcibly sort it to guarantee the order in which these styles are applied.
Patch Changes
@compiled/eslint-plugin@0.17.0
Minor Changes
- 6fc00de: Add
shorthand-property-sorting
to recommended ESLint rules
@compiled/eslint-plugin@0.16.0
Minor Changes
- e8b09ec: Adding flat config preset for
@compiled/eslint-plugin
and adding missing descriptions to ESLint rules
@compiled/css@0.17.1
Patch Changes
- 124243c: Fix sortShorthand when mixed with multi-property classes such as
._1jmq18uv{-webkit-text-decoration-color:initial;text-decoration-color:initial}
(previously, these broke sorting as they exited early).
@compiled/webpack-loader@0.18.1
Patch Changes
- Updated dependencies [9b96000]
- @compiled/css@0.17.0
- @compiled/babel-plugin@0.32.2
- @compiled/babel-plugin-strip-runtime@0.32.2