@@ -4,6 +4,45 @@ All notable changes to this project will be documented in this file.
44
55See the [Changesets](./.changeset) for the latest changes.
66
7+ ## [1.8.2](#1.8.2) - 2026-02-14
8+
9+ ### Fixed
10+
11+ Fix condition order when combining mixed conditions (array format) with nested selectors.
12+
13+ When using conditions like `hover: ['&:hover']` with nested selectors like `'& > :where(svg)'`, the CSS selector order
14+ was incorrect:
15+
16+ ```js
17+ // Before (broken):
18+ // .class > :where(svg):hover - hover applied to svg child
19+
20+ // After (fixed):
21+ // .class:hover > :where(svg) - hover applied to parent element
22+ ```
23+
24+ The fix ensures that:
25+
26+ - At-rules are always placed first (for proper CSS wrapping)
27+ - Selector conditions preserve their source order (matching what you write)
28+
29+ This affects users who define conditions using the array format and combine them with arbitrary/nested selectors.
30+
31+ ### Added
32+
33+ Add support for the experimental [`corner-shape`](https://developer.mozilla.org/en-US/docs/Web/CSS/corner-shape) CSS
34+ property, which specifies the shape of a box's corners. Valid values include: `round`, `square`, `bevel`, `scoop`,
35+ `notch`, `squircle`, and `superellipse(<number>)`.
36+
37+ ### Changed
38+
39+ Update `csstype` from 3.1.3 to 3.2.3, which adds support for newer CSS properties including:
40+
41+ - Anchor positioning: `anchorName`, `anchorScope`, `positionAnchor`, `positionArea`, `positionTry`,
42+ `positionTryFallbacks`, `positionTryOrder`, `positionVisibility`
43+ - Text wrapping: `textWrapMode`, `textWrapStyle`, `textSpacingTrim`
44+ - Form sizing: `fieldSizing`, `interpolateSize`
45+
746## [1.8.1](#1.8.1) - 2026-01-13
847
948### Changed
0 commit comments