Skip to content

Commit

Permalink
Changelog v0.41.0 (#2675)
Browse files Browse the repository at this point in the history
  • Loading branch information
anubra266 authored Jun 16, 2024
1 parent b02be17 commit adb2484
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,31 @@ See the [Changesets](./.changeset) for the latest changes.

## [Unreleased]

## [0.41.0] - 2024-06-16

### Fixed

Fix an issue where spreading an identifier in a sva `slots` array would prevent expected CSS from being generated

```ts
import { sva } from 'styled-system/css'
const parts = ['positioner', 'content']

const card = sva({
slots: [...parts], // <- spreading here was causing the below CSS not to be generated, it's now fixed ✅
base: {
root: {
p: '6',
},
},
})
```

### Added

Annotate config recipe default variants with the `@default` js doc comment. This makes it easy to know the default value
of a variant.

## [0.40.1] - 2024-05-31

### Fixed
Expand Down

0 comments on commit adb2484

Please sign in to comment.