Skip to content

Commit 9fd3818

Browse files
Version Packages (#1831)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 9a66324 commit 9fd3818

File tree

15 files changed

+89
-56
lines changed

15 files changed

+89
-56
lines changed

.changeset/lazy-bats-remain.md

Lines changed: 0 additions & 32 deletions
This file was deleted.

.changeset/lovely-rockets-hammer.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/wild-numbers-share.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

packages/babel-plugin-strip-runtime/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @compiled/babel-plugin-strip-runtime
22

3+
## 0.38.0
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [9a66324]
8+
- @compiled/css@0.21.0
9+
310
## 0.37.1
411

512
### Patch Changes

packages/babel-plugin-strip-runtime/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@compiled/babel-plugin-strip-runtime",
3-
"version": "0.37.1",
3+
"version": "0.38.0",
44
"description": "A familiar and performant compile time CSS-in-JS library for React.",
55
"homepage": "https://compiledcssinjs.com/docs/pkg-babel-plugin-strip-runtime",
66
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
@@ -24,7 +24,7 @@
2424
"@babel/template": "^7.26.9",
2525
"@babel/traverse": "^7.26.10",
2626
"@babel/types": "^7.26.10",
27-
"@compiled/css": "^0.20.0",
27+
"@compiled/css": "^0.21.0",
2828
"@compiled/utils": "^0.13.1"
2929
},
3030
"devDependencies": {

packages/babel-plugin/CHANGELOG.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,17 @@
11
# @compiled/babel-plugin
22

3+
## 0.38.0
4+
5+
### Minor Changes
6+
7+
- 9a66324: Adds option `flattenMultipleSelectors` (defaults to `true`) to allow flattening of multiple selectors into separate rules to better deduplicate and sort styles.
8+
9+
### Patch Changes
10+
11+
- cceffda: Resolve an issue where cssMap was being defined after its consumer, which relies on the xcss prop.
12+
- Updated dependencies [9a66324]
13+
- @compiled/css@0.21.0
14+
315
## 0.37.1
416

517
### Patch Changes

packages/babel-plugin/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@compiled/babel-plugin",
3-
"version": "0.37.1",
3+
"version": "0.38.0",
44
"description": "A familiar and performant compile time CSS-in-JS library for React.",
55
"homepage": "https://compiledcssinjs.com/docs/pkg-babel-plugin",
66
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
@@ -28,7 +28,7 @@
2828
"@babel/template": "^7.26.9",
2929
"@babel/traverse": "^7.26.10",
3030
"@babel/types": "^7.26.10",
31-
"@compiled/css": "^0.20.0",
31+
"@compiled/css": "^0.21.0",
3232
"@compiled/utils": "^0.13.1",
3333
"@emotion/is-prop-valid": "^1.3.1",
3434
"resolve": "^1.22.10"

packages/css/CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# @compiled/css
22

3+
## 0.21.0
4+
5+
### Minor Changes
6+
7+
- 9a66324: Adds a possibly breaking change to flatten multiple selectors into separate rules to better deduplicate and sort styles.
8+
9+
You can disable this by setting `flattenMultipleSelectors: false` in Babel and other config.
10+
11+
For example:
12+
13+
```tsx
14+
css({
15+
'&:hover, &:focus': {
16+
color: 'red',
17+
},
18+
});
19+
```
20+
21+
Is transformed into the same code as this would be:
22+
23+
```tsx
24+
css({
25+
'&:hover': { color: 'red' },
26+
'&:focus': { color: 'red' },
27+
});
28+
```
29+
30+
Without this, pseudo-selectors aren't sorted properly in some scenarios.
31+
332
## 0.20.0
433

534
### Minor Changes

packages/css/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@compiled/css",
3-
"version": "0.20.0",
3+
"version": "0.21.0",
44
"description": "A familiar and performant compile time CSS-in-JS library for React.",
55
"homepage": "https://compiledcssinjs.com/docs/pkg-css",
66
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",

packages/parcel-optimizer/CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# @compiled/parcel-optimizer
22

3+
## 0.6.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [9a66324]
8+
- @compiled/css@0.21.0
9+
310
## 0.6.2
411

512
### Patch Changes

0 commit comments

Comments
 (0)