File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,41 @@ All notable changes to this project will be documented in this file.
44
55See the [ Changesets] ( ./.changeset ) for the latest changes.
66
7+ ## [ 1.6.1] ( #1.6.1 ) - 2025-12-03
8+
9+ ### Fixed
10+
11+ - ** css.raw Spreading** : Fixed several scenarios where spreading ` css.raw ` objects wouldn't be properly extracted:
12+
13+ ** Child selectors:**
14+
15+ ``` js
16+ const baseStyles = css .raw ({ margin: 0 , padding: 0 })
17+ const component = css ({
18+ ' & p' : { ... baseStyles, fontSize: ' 1rem' }, // Now works
19+ })
20+ ```
21+
22+ ** Nested conditions:**
23+
24+ ``` js
25+ const interactive = css .raw ({ cursor: ' pointer' , transition: ' all 0.2s' })
26+ const card = css ({
27+ _hover: {
28+ ... interactive, // Now works
29+ _dark: { ... interactive, color: ' white' },
30+ },
31+ })
32+ ```
33+
34+ ** CSS aliases:**
35+
36+ ``` js
37+ import { css as xcss } from ' styled-system/css'
38+ const styles = xcss .raw ({ color: ' red' })
39+ // xcss.raw now properly recognized
40+ ```
41+
742## [ 1.6.0] ( #1.6.0 ) - 2025-12-01
843
944### Added
You can’t perform that action at this time.
0 commit comments