-
-
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.
Merge remote-tracking branch 'origin' into chore/update-ts-56
- Loading branch information
Showing
40 changed files
with
6,944 additions
and
5,679 deletions.
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,19 @@ | ||
--- | ||
'@pandacss/types': minor | ||
'@pandacss/node': minor | ||
'@pandacss/dev': minor | ||
'@pandacss/reporter': minor | ||
--- | ||
|
||
Adds support for static analysis of used tokens and recipe variants. It helps to get a birds-eye view of how your design | ||
system is used and answers the following questions: | ||
|
||
- What tokens are most used? | ||
- What recipe variants are most used? | ||
- How many hardcoded values vs tokens do we have? | ||
|
||
```sh | ||
panda analyze --scope=<token|recipe> | ||
``` | ||
|
||
> Still work in progress but we're excited to get your feedback! |
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,32 @@ | ||
--- | ||
'@pandacss/token-dictionary': minor | ||
'@pandacss/generator': minor | ||
'@pandacss/types': minor | ||
--- | ||
|
||
Add support for semantic tokens in composite shadow `blur`, `offsetX`, `offsetY` and `spread` properties. | ||
|
||
This enables the use of semantic tokens in composite shadow properties. | ||
|
||
```ts | ||
// panda.config.ts | ||
|
||
export default defineConfig({ | ||
theme: { | ||
tokens: { | ||
// ... | ||
shadows: { | ||
sm: { | ||
value: { | ||
offsetX: '{spacing.3}', | ||
offsetY: '{spacing.3}', | ||
blur: '1rem', | ||
spread: '{spacing.3}', | ||
color: '{colors.red}', | ||
}, | ||
}, | ||
}, | ||
}, | ||
}, | ||
}) | ||
``` |
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
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
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
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
Oops, something went wrong.