-
-
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.
refactor: redesign studio and fix 'React not defined' error (#2073)
* refactor: studio * fix: stop color warning
- Loading branch information
1 parent
770c7aa
commit 7a492d7
Showing
62 changed files
with
2,394 additions
and
1,112 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,5 @@ | ||
--- | ||
'@pandacss/studio': patch | ||
--- | ||
|
||
Fix issue where throws "React is not defined error" |
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 |
---|---|---|
|
@@ -41,6 +41,7 @@ | |
"src", | ||
"public", | ||
"styled-system", | ||
"tsconfig.json", | ||
"*.ts", | ||
"*.mjs" | ||
], | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,22 @@ | ||
import { type HTMLPandaProps, panda } from '../../styled-system/jsx' | ||
import { panda } from '../../styled-system/jsx' | ||
|
||
export function ColorWrapper(props: HTMLPandaProps<'div'>) { | ||
return ( | ||
<panda.div | ||
width="full" | ||
height="10" | ||
borderRadius="sm" | ||
position="relative" | ||
overflow="hidden" | ||
shadow="inset" | ||
_before={{ | ||
content: "''", | ||
position: 'absolute', | ||
borderRadius: 'sm', | ||
width: '100%', | ||
height: '100%', | ||
backgroundSize: '24px', | ||
zIndex: '-1', | ||
backgroundImage: 'check', | ||
}} | ||
{...props} | ||
/> | ||
) | ||
} | ||
export const ColorWrapper = panda('div', { | ||
base: { | ||
width: 'full', | ||
height: '10', | ||
borderRadius: 'sm', | ||
position: 'relative', | ||
overflow: 'hidden', | ||
shadow: 'inset', | ||
_before: { | ||
content: "''", | ||
position: 'absolute', | ||
borderRadius: 'sm', | ||
width: '100%', | ||
height: '100%', | ||
backgroundSize: '24px', | ||
zIndex: '-1', | ||
backgroundImage: 'check', | ||
}, | ||
}, | ||
}) |
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.
7a492d7
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-docs-chakra-ui.vercel.app
panda-css.com
panda-docs-git-main-chakra-ui.vercel.app
7a492d7
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-chakra-ui.vercel.app
play.panda-css.com
panda-playground-git-main-chakra-ui.vercel.app
panda-playground.vercel.app
7a492d7
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-app.vercel.app
panda-studio-chakra-ui.vercel.app
panda-studio-git-main-chakra-ui.vercel.app