generated from chiffre-io/template-library
-
Notifications
You must be signed in to change notification settings - Fork 9
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
v3 - Chakra-UI v1 & Next.js v10 #210
Closed
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
18126bd
chore: Update dependencies
franky47 d4713d4
chore: Upgrade existing components
franky47 f37ba8d
chore: Ignore Next stuff
franky47 9dc0e35
chore: Remove containers (now part of Chakra core)
franky47 d447493
chore: Simplify _app.tsx
franky47 e52488c
test: Fix links test
franky47 019628f
feat: Add basic Image component
franky47 5736440
chore: Enable beta release channel
franky47 b980457
chore: Update deps
franky47 e3a8b1b
fix: Remove automatic inclusion of Image
franky47 1dfb685
chore: Add funding options
franky47 d21e726
fix: Explicitly declare path to TS types
franky47 dac57d3
doc: Update funding
franky47 e9f66c6
fix: Improve accessibility of NavLinks
franky47 8565fc7
feat: Add control over rel in outgoing links
franky47 1a7dc27
chore: Update deps
franky47 8ed85eb
test: Fix TypeScript error
franky47 52e6b34
test: Add link tests
franky47 fc0c933
chore: Enable CI on v3 branch
dependabot-preview[bot] bed78de
fix: Update external link icon
franky47 258c52d
chore: Include react-icons in devDeps for build
franky47 fa17db6
fix: External icon layout
franky47 8f590e4
fix: Allow custom roles for SVG
franky47 34d992d
chore: Migrate to GH-builtin Dependabot
franky47 d2f35de
chore: Use Docker image for semantic-release
franky47 46a0cd4
chore: Update Next.js & fix missing types
franky47 9a13fb3
chore: Notify of CI failures in Slack
franky47 8c9cc5b
chore: Testing new Slack notifications
franky47 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
github: [franky47] | ||
liberapay: francoisbest | ||
custom: ['https://paypal.me/francoisbest?locale.x=fr_FR'] |
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 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: npm | ||
directory: / | ||
schedule: | ||
interval: weekly | ||
time: "09:00" | ||
timezone: Europe/Paris | ||
assignees: | ||
- franky47 | ||
- package-ecosystem: github-actions | ||
directory: / | ||
schedule: | ||
interval: monthly | ||
assignees: | ||
- franky47 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,10 @@ | ||
/// <reference types="next" /> | ||
/// <reference types="next/types/global" /> | ||
|
||
declare namespace webpack { | ||
export type Compiler = any | ||
export type Plugin = any | ||
} | ||
declare module 'next/dist/compiled/webpack/webpack' { | ||
export const webpack: any | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,27 @@ | ||
import { useRouter } from 'next/router' | ||
import { Box, Stack, Text, Code, Button } from '@chakra-ui/core' | ||
import { Container, StackCard } from '../src' | ||
import { | ||
Box, | ||
Stack, | ||
Text, | ||
Code, | ||
Button, | ||
Heading, | ||
StackDivider, | ||
Container, | ||
} from '@chakra-ui/react' | ||
import { StackCard, NavLink, Image } from '../src' | ||
|
||
export default ({ children }) => <Container my={8}>{children}</Container> | ||
|
||
Foo | ||
|
||
<StackCard> | ||
<Text>Bar</Text> | ||
<StackCard spacing={8}> | ||
<Heading fontSize="3xl" textAlign="center"> | ||
Chakra-UI 🤝 Next.js | ||
</Heading> | ||
<NavLink to="/">Foo</NavLink> | ||
<Text fontSize="sm">Subtext</Text> | ||
<Image | ||
src="https://images.unsplash.com/photo-1585245332774-3dd2b177e7fa?ixlib=rb-1.2.1&q=85&fm=jpg&crop=entropy&cs=srgb&ixid=eyJhcHBfaWQiOjU3ODY1fQ" | ||
dimensions={[5048, 3414]} | ||
rounded="md" | ||
/> | ||
</StackCard> |
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 was deleted.
Oops, something went wrong.
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.
Note: This is a workaround for Next.js image config not having a default, should be resolved in the next version:
vercel/next.js#18373 (comment)