Skip to content

Commit a2eb963

Browse files
Version Packages (#1778)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent 858bdac commit a2eb963

File tree

8 files changed

+53
-39
lines changed

8 files changed

+53
-39
lines changed

.changeset/dirty-carrots-sit.md

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

.changeset/silent-geese-wonder.md

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

packages/babel-plugin/CHANGELOG.md

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

3+
## 0.35.0
4+
5+
### Minor Changes
6+
7+
- 34e5339a: Fix `@compiled/babel-plugin` to not require `cssMap()` to be called prior to use.
8+
9+
Example, this failed before for no reason other than the fact that our `state.cssMap` was generated _after_ `JSXElement` and `JSXOpeningElement` were ran.
10+
11+
```tsx
12+
import { cssMap } from '@compiled/react';
13+
export default () => <div css={styles.root} />;
14+
const styles = cssMap({ root: { padding: 8 } });
15+
```
16+
17+
- 34e5339a: Throw an error when compiling a `cssMap` object where we expect a `css` or nested `cssMap` object.
18+
19+
Example of code that silently fails today, using `styles` directly:
20+
21+
```tsx
22+
import { cssMap } from '@compiled/react';
23+
const styles = cssMap({ root: { padding: 8 } });
24+
export default () => <div css={styles} />;
25+
```
26+
27+
What we expect to see instead, using `styles.root` instead:
28+
29+
```tsx
30+
import { cssMap } from '@compiled/react';
31+
const styles = cssMap({ root: { padding: 8 } });
32+
export default () => <div css={styles.root} />;
33+
```
34+
335
## 0.34.0
436

537
### Minor Changes

packages/babel-plugin/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@compiled/babel-plugin",
3-
"version": "0.34.0",
3+
"version": "0.35.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",

packages/parcel-transformer/CHANGELOG.md

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

3+
## 0.18.3
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [34e5339a]
8+
- Updated dependencies [34e5339a]
9+
- @compiled/babel-plugin@0.35.0
10+
311
## 0.18.2
412

513
### Patch Changes

packages/parcel-transformer/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@compiled/parcel-transformer",
3-
"version": "0.18.2",
3+
"version": "0.18.3",
44
"description": "A familiar and performant compile time CSS-in-JS library for React.",
55
"homepage": "https://compiledcssinjs.com/docs/pkg-parcel-transformer",
66
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
@@ -22,7 +22,7 @@
2222
"dependencies": {
2323
"@babel/core": "^7.26.0",
2424
"@babel/generator": "^7.26.3",
25-
"@compiled/babel-plugin": "^0.34.0",
25+
"@compiled/babel-plugin": "^0.35.0",
2626
"@compiled/babel-plugin-strip-runtime": "^0.33.0",
2727
"@compiled/utils": "^0.13.1",
2828
"@parcel/plugin": "^2.8.3",

packages/webpack-loader/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @compiled/webpack-loader
22

3+
## 0.19.2
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [34e5339a]
8+
- Updated dependencies [34e5339a]
9+
- @compiled/babel-plugin@0.35.0
10+
311
## 0.19.1
412

513
### Patch Changes

packages/webpack-loader/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@compiled/webpack-loader",
3-
"version": "0.19.1",
3+
"version": "0.19.2",
44
"description": "A familiar and performant compile time CSS-in-JS library for React.",
55
"homepage": "https://compiledcssinjs.com/docs/pkg-webpack-loader",
66
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
@@ -22,7 +22,7 @@
2222
"dependencies": {
2323
"@babel/core": "^7.26.0",
2424
"@babel/parser": "^7.26.3",
25-
"@compiled/babel-plugin": "^0.34.0",
25+
"@compiled/babel-plugin": "^0.35.0",
2626
"@compiled/babel-plugin-strip-runtime": "^0.33.0",
2727
"@compiled/css": "^0.18.0",
2828
"@compiled/utils": "^0.13.1",

0 commit comments

Comments
 (0)