Skip to content

Commit

Permalink
Version Packages (#1626)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
atlas-dst-bot and github-actions[bot] authored Mar 4, 2024
1 parent 7d3406c commit ac82deb
Show file tree
Hide file tree
Showing 10 changed files with 47 additions and 44 deletions.
5 changes: 0 additions & 5 deletions .changeset/funny-camels-punch.md

This file was deleted.

25 changes: 0 additions & 25 deletions .changeset/rare-pans-trade.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/ten-candles-own.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/two-dryers-sniff.md

This file was deleted.

28 changes: 28 additions & 0 deletions packages/babel-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,33 @@
# @compiled/babel-plugin

## 0.28.3

### Patch Changes

- 7d3406c9: Previously, if you passed `props => ...` directly to `styled.div` or `css()`, and the return value of the arrow function was an object, you would cause `@compiled/babel-plugin` to crash:

```tsx
import { styled } from '@compiled/react';
import React from 'react';

const Component = styled.div((props) => ({
color: `${props.customColor}`,
background: props.background,
}));
```

While at the same time, wrapping the return value inside a logical expression or ternary expression would make it work perfectly fine:

```tsx
const Styles = styled.div((props) =>
props.isEditing ? {} : { backgroundColor: props.highlightColor }
);
```

With this version, both of these forms will work without issue. :)

- d5c6578c: Fix props (used by Compiled) being incorrectly forwarded to React when default values are used.

## 0.28.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/babel-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compiled/babel-plugin",
"version": "0.28.2",
"version": "0.28.3",
"description": "A familiar and performant compile time CSS-in-JS library for React.",
"homepage": "https://compiledcssinjs.com/docs/pkg-babel-plugin",
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
Expand Down
9 changes: 9 additions & 0 deletions packages/parcel-transformer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @compiled/parcel-transformer

## 0.14.7

### Patch Changes

- 41bcb1eb: Allow the transformer to bail early if compiled isn't present
- Updated dependencies [7d3406c9]
- Updated dependencies [d5c6578c]
- @compiled/babel-plugin@0.28.3

## 0.14.6

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/parcel-transformer/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compiled/parcel-transformer",
"version": "0.14.6",
"version": "0.14.7",
"description": "A familiar and performant compile time CSS-in-JS library for React.",
"homepage": "https://compiledcssinjs.com/docs/pkg-parcel-transformer",
"bugs": "https://github.com/atlassian-labs/compiled/issues/new?assignees=&labels=bug&template=bug_report.md",
Expand All @@ -22,7 +22,7 @@
"dependencies": {
"@babel/core": "^7.21.8",
"@babel/generator": "^7.21.5",
"@compiled/babel-plugin": "^0.28.0",
"@compiled/babel-plugin": "^0.28.3",
"@compiled/babel-plugin-strip-runtime": "^0.28.0",
"@compiled/utils": "^0.9.2",
"@parcel/plugin": "^2.8.3",
Expand Down
6 changes: 6 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @compiled/react

## 0.16.10

### Patch Changes

- a68817a2: Fix css function base types to have CSS property values available in intellisense.

## 0.16.9

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@compiled/react",
"version": "0.16.9",
"version": "0.16.10",
"description": "A familiar and performant compile time CSS-in-JS library for React.",
"keywords": [
"compiled",
Expand Down

0 comments on commit ac82deb

Please sign in to comment.