-
-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fea78c7
commit 7c85ac7
Showing
4 changed files
with
54 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--- | ||
'@pandacss/parser': patch | ||
'@pandacss/core': patch | ||
--- | ||
|
||
Improve inference of slots in slot recipes when spreading and concatenating slot names. | ||
|
||
This handles the following case gracefully: | ||
|
||
```ts | ||
const styles = sva({ | ||
className: 'foo', | ||
slots: [...componentAnatomy.keys(), 'additional', 'slots', 'here'], | ||
}) | ||
``` | ||
|
||
Panda will now infer the slots from the anatomy and add them to the recipe. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters