-
-
Notifications
You must be signed in to change notification settings - Fork 140
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Panda CSS v3 #267
Open
ImExoOdeex
wants to merge
22
commits into
saas-js:v3
Choose a base branch
from
ImExoOdeex:panda-v3
base: v3
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Panda CSS v3 #267
Changes from 7 commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
2adccac
init
ImExoOdeex 7d02a1d
use saas-ui v3 recipes
ImExoOdeex c50b7af
add storybook & use namespace for Menu
ImExoOdeex de32dca
use own icons
ImExoOdeex e89e884
fix menu check icon
ImExoOdeex 324786d
sidebar
ImExoOdeex b72427a
sidebar update
ImExoOdeex 3be9fc0
Merge remote-tracking branch 'origin/v3' into panda-v3
ImExoOdeex e11788b
sync
ImExoOdeex c437430
fix merged conflict
ImExoOdeex c5fd0f9
remove styled system from git
ImExoOdeex 11254c9
rename `@saas-ui/panda` to `@saas-ui/panda-preset`
ImExoOdeex a00a4fb
remove chakra ui panda preset from deps
ImExoOdeex 37cffb4
update imports of changed package name
ImExoOdeex 3fff778
use `styled` in style context
ImExoOdeex 0f3f873
feat: improve types
Pagebakers 0b70e78
Merge pull request #1 from saas-js/panda-v3-types
ImExoOdeex e7af0fc
fix: exports
Pagebakers d44d8cb
Merge pull request #2 from saas-js/panda-v3-types
ImExoOdeex 009ab51
fix menu & tag with new typings
ImExoOdeex 81e729e
init sync command
ImExoOdeex f08827a
move chakra and emotion deps to the devDeps
ImExoOdeex File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
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
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,45 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.* | ||
.yarn/* | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/versions | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# env files (can opt-in for committing if needed) | ||
.env* | ||
|
||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts | ||
|
||
## Panda | ||
styled-system | ||
styled-system-studio |
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,36 @@ | ||
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app). | ||
|
||
## Getting Started | ||
|
||
First, run the development server: | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
# or | ||
pnpm dev | ||
# or | ||
bun dev | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. | ||
|
||
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file. | ||
|
||
This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel. | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
|
||
You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome! | ||
|
||
## Deploy on Vercel | ||
|
||
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. | ||
|
||
Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details. |
Binary file not shown.
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 @@ | ||
@layer reset, base, tokens, recipes, utilities; |
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,27 @@ | ||
import { Box } from '@saas-ui/panda/jsx' | ||
|
||
export const BackgroundGradient = () => { | ||
const fallbackBackground = | ||
'radial-gradient(at 40% 45%, #4f1d9e 10%, transparent 30%),radial-gradient(at 60% 60%, #2ab4d9 0%, transparent 40%),radial-gradient(at 30% 60%, {colors.cyan.500} 0%, transparent 30%),radial-gradient(at 70% 70%, #1d979e 0%, transparent 10%),radial-gradient(at 60% 70%, #4f1d9e 0%, transparent 30%)' | ||
|
||
return ( | ||
<Box | ||
backgroundImage={fallbackBackground} | ||
backgroundBlendMode="saturation" | ||
position="absolute" | ||
top="-1000px" | ||
left="0" | ||
zIndex="0" | ||
opacity={{ | ||
base: 0.3, | ||
md: 0.5, | ||
}} | ||
height="1500px" | ||
width="100%" | ||
overflow="hidden" | ||
pointerEvents="none" | ||
transform="translate3d(0, 0, 0)" | ||
filter="blur(240px)" | ||
/> | ||
) | ||
} |
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,33 @@ | ||
import type { Metadata } from 'next' | ||
import { Geist, Geist_Mono } from 'next/font/google' | ||
import './globals.css' | ||
import { BackgroundGradient } from './gradient' | ||
|
||
const geistSans = Geist({ | ||
variable: '--font-geist-sans', | ||
subsets: ['latin'], | ||
}) | ||
|
||
const geistMono = Geist_Mono({ | ||
variable: '--font-geist-mono', | ||
subsets: ['latin'], | ||
}) | ||
|
||
export const metadata: Metadata = { | ||
title: 'SaaS UI + Panda CSS', | ||
} | ||
|
||
export default function RootLayout({ | ||
children, | ||
}: Readonly<{ | ||
children: React.ReactNode | ||
}>) { | ||
return ( | ||
<html lang="en" suppressHydrationWarning> | ||
<body className={`${geistSans.variable} ${geistMono.variable} light`}> | ||
{children} | ||
<BackgroundGradient /> | ||
</body> | ||
</html> | ||
) | ||
} |
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 @@ | ||
import { Flex } from '@saas-ui/panda/jsx' | ||
|
||
import { | ||
AccordionShowcase, | ||
BadgeShowcase, | ||
ButtonShowcase, | ||
CardShowcase, | ||
Headings, | ||
MenuShowcase, | ||
TagShowcase, | ||
} from './showcase' | ||
|
||
export default function Home() { | ||
return ( | ||
<Flex | ||
direction={'column'} | ||
gap={10} | ||
align={'center'} | ||
maxW={'2xl'} | ||
mx={'auto'} | ||
p={10} | ||
> | ||
<Headings /> | ||
<ButtonShowcase /> | ||
<AccordionShowcase /> | ||
<CardShowcase /> | ||
<BadgeShowcase /> | ||
<TagShowcase /> | ||
<MenuShowcase /> | ||
</Flex> | ||
) | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
The styled-system folder was checked into git even though this rule was added.
Can you make sure it gets removed?
This should work I think