Skip to content

Commit e2f525b

Browse files
authored
Changelog v1.5.0 (#3411)
1 parent 96deacf commit e2f525b

File tree

1 file changed

+73
-0
lines changed

1 file changed

+73
-0
lines changed

CHANGELOG.md

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,79 @@ All notable changes to this project will be documented in this file.
44

55
See the [Changesets](./.changeset) for the latest changes.
66

7+
## [1.5.0](#1.5.0) - 2025-11-09
8+
9+
### Fixed
10+
11+
Fix TypeScript error when using `data-*` attributes in `defaultProps` for `createStyleContext` and JSX factory
12+
functions.
13+
14+
```tsx
15+
const TabsList = withContext(TabsPrimitive.List, 'list', {
16+
defaultProps: {
17+
'data-slot': 'tabs-list', // now works without type errors
18+
},
19+
})
20+
```
21+
22+
### Changed
23+
24+
Update the experimental atlaskit preset with comprehensive token coverage from Atlassian Design System
25+
26+
**New Token Categories**
27+
28+
- **Opacity tokens** - `disabled` (0.4) and `loading` (0.2) semantic opacity values
29+
- **Duration tokens** - Animation durations from @atlaskit/motion (`none`, `small`, `medium`, `large`)
30+
- **Easing tokens** - Cubic-bezier curves from @atlaskit/motion (7 variants: `easeIn`, `easeOut`, `easeInOut`,
31+
`easeIn40Out`, `easeIn60Out`, `easeIn80Out`, `linear`)
32+
- **TextStyles** - Semantic typography presets combining font properties (`heading.*`, `body.*`, `code`, `metric.*`)
33+
34+
### Added
35+
36+
- Add support for controlling the color palette generation via `theme.colorPalette` property.
37+
38+
```ts
39+
// Disable color palette generation completely
40+
export default defineConfig({
41+
theme: {
42+
colorPalette: {
43+
enabled: false,
44+
},
45+
},
46+
})
47+
48+
// Include only specific colors
49+
export default defineConfig({
50+
theme: {
51+
colorPalette: {
52+
include: ['gray', 'blue', 'red'],
53+
},
54+
},
55+
})
56+
57+
// Exclude specific colors
58+
export default defineConfig({
59+
theme: {
60+
colorPalette: {
61+
exclude: ['yellow', 'orange'],
62+
},
63+
},
64+
})
65+
```
66+
67+
- Add `endLineNumber` and `endColumn` fields to AST JSON output from `panda debug` command.
68+
69+
The `*.ast.json` files generated by `panda debug` now include complete position information for detected CSS usage
70+
locations. Previously, only start position (`line` and `column`) was exported. Now the output includes:
71+
72+
- `line`: Start line number
73+
- `column`: Start column number
74+
- `endLineNumber`: End line number (new)
75+
- `endColumn`: End column number (new)
76+
77+
This provides complete span coverage for each detected node, making it easier to precisely locate CSS usage in source
78+
files.
79+
780
## [1.4.3](#1.4.3) - 2025-10-18
881

982
### Fixed

0 commit comments

Comments
 (0)