-
-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: config validation * refactor: split config validation + add config.validation level * chore: cleanup * refactor: error handling and config validations * refactor: test file * refactor: validate breakpoint * refactor: types * refactor: some stuff --------- Co-authored-by: Segun Adebayo <[email protected]>
- Loading branch information
1 parent
f778d3e
commit ea3f554
Showing
41 changed files
with
870 additions
and
385 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,16 @@ | ||
--- | ||
'@pandacss/config': patch | ||
--- | ||
|
||
Add config validation: | ||
|
||
- Check for duplicate between token & semanticTokens names | ||
- Check for duplicate between recipes/patterns/slots names | ||
- Check for token / semanticTokens paths (must end/contain 'value') | ||
- Check for self/circular token references | ||
- Check for missing tokens references | ||
- Check for conditions selectors (must contain '&') | ||
- Check for breakpoints units (must be the same) | ||
|
||
> You can set `validate: 'warn'` in your config to only warn about errors or set it to `none` to disable validation | ||
> entirely. |
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.
ea3f554
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
panda-playground – ./playground
panda-playground-git-main-chakra-ui.vercel.app
panda-playground.vercel.app
panda-playground-chakra-ui.vercel.app
play.panda-css.com
ea3f554
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
panda-docs – ./website
panda-docs.vercel.app
panda-css.com
panda-docs-chakra-ui.vercel.app
panda-docs-git-main-chakra-ui.vercel.app
ea3f554
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
panda-studio – ./
panda-studio-chakra-ui.vercel.app
panda-app.vercel.app
panda-studio-git-main-chakra-ui.vercel.app