Skip to content

Commit fb82ead

Browse files
Version Packages (#1703)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 3ba9bf8 commit fb82ead

3 files changed

Lines changed: 21 additions & 20 deletions

File tree

.changeset/mighty-ravens-fail.md

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

packages/css/CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# @vanilla-extract/css
22

3+
## 1.20.0
4+
5+
### Minor Changes
6+
7+
- [#1702](https://github.com/vanilla-extract-css/vanilla-extract/pull/1702) [`48a9caf`](https://github.com/vanilla-extract-css/vanilla-extract/commit/48a9cafbbd4abfcc1bf0e72f01ad4f19f59e48cd) Thanks [@bschlenk](https://github.com/bschlenk)! - Allow `:where` and `:is` in `selectors` if all selectors target `&`
8+
9+
EXAMPLE USAGE:
10+
11+
```ts
12+
const example = style({
13+
color: 'red',
14+
selectors: {
15+
// Valid: all selectors in the list target `example`
16+
':is(h1 > &, h2 > &)': { color: 'blue' }
17+
// Invalid: the second selector in the list does not target `example`
18+
':is(h1 > &, h2)': { color: 'blue' }
19+
}
20+
});
21+
```
22+
323
## 1.19.1
424

525
### Patch 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": "@vanilla-extract/css",
3-
"version": "1.19.1",
3+
"version": "1.20.0",
44
"description": "Zero-runtime Stylesheets-in-TypeScript",
55
"sideEffects": true,
66
"main": "dist/vanilla-extract-css.cjs.js",

0 commit comments

Comments
 (0)