-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ NICE-43 revamp Next RSC, Notion API, & Tailwind
BREAKING CHANGE: New Notion Implementation through Next 13 App
- Loading branch information
1 parent
f28b27a
commit 7d15a3b
Showing
135 changed files
with
3,161 additions
and
290 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
3 changes: 1 addition & 2 deletions
3
packages/design-system/src/components/Button/Button.stories.tsx
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
3 changes: 1 addition & 2 deletions
3
packages/design-system/src/components/Button/ButtonLink.stories.tsx
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
function Callout({ children }) { | ||
return <div>{children}</div> | ||
} | ||
|
||
export { Callout } |
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,7 @@ | ||
function Column({ children }) { | ||
return ( | ||
<div className="my-3 flex flex-[1_1] flex-col md:my-3 md:pr-5">{children}</div> | ||
) | ||
} | ||
|
||
export { Column } |
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,7 @@ | ||
function ColumnList({ children }) { | ||
return ( | ||
<div className="my-4 flex flex-col justify-between md:flex-row">{children}</div> | ||
) | ||
} | ||
|
||
export { ColumnList } |
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,9 @@ | ||
function Divider() { | ||
return ( | ||
<div className="my-7 h-12 w-full"> | ||
<hr /> | ||
</div> | ||
) | ||
} | ||
|
||
export { Divider } |
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,9 @@ | ||
/** | ||
* @note(notion) PageHeader, previous to Notion Content is H1 | ||
* => All Headings from Notion are bumped up by 1 as a result. | ||
*/ | ||
function Heading1({ children }) { | ||
return <h2 className="mb-3 text-3xl font-black md:mb-5 md:text-5xl">{children}</h2> | ||
} | ||
|
||
export { Heading1 } |
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,11 @@ | ||
/** | ||
* @note(notion) PageHeader, previous to Notion Content is H1 | ||
* => All Headings from Notion are bumped up by 1 as a result. | ||
*/ | ||
function Heading2({ children }) { | ||
return ( | ||
<h3 className="my-4 text-xl font-black md:mt-0 md:text-4xl">{children}</h3> | ||
) | ||
} | ||
|
||
export { Heading2 } |
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,9 @@ | ||
/** | ||
* @note(notion) PageHeader, previous to Notion Content is H1 | ||
* => All Headings from Notion are bumped up by 1 as a result. | ||
*/ | ||
function Heading3({ children }) { | ||
return <h4 className="mb-3 text-lg font-black md:text-2xl">{children}</h4> | ||
} | ||
|
||
export { Heading3 } |
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 @@ | ||
function ListBulleted({ children }) { | ||
return <ul className="flex list-inside list-disc flex-col">{children}</ul> | ||
} | ||
|
||
export { ListBulleted } |
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,9 @@ | ||
function ListItem({ children }) { | ||
return ( | ||
<li> | ||
<span className="mb-3 inline-block leading-tight">{children}</span> | ||
</li> | ||
) | ||
} | ||
|
||
export { ListItem } |
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 @@ | ||
function ListNumbered({ children }) { | ||
return <ol className="flex list-inside list-decimal flex-col">{children}</ol> | ||
} | ||
|
||
export { ListNumbered } |
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 @@ | ||
function Paragraph({ children }) { | ||
return <p className="mb-4 text-lg font-normal leading-normal">{children}</p> | ||
} | ||
|
||
export { Paragraph } |
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 @@ | ||
function Quote({ children }) { | ||
return <blockquote>{children}</blockquote> | ||
} | ||
|
||
export { Quote } |
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,12 @@ | ||
export { Callout } from './Callout' | ||
export { Column } from './Column' | ||
export { ColumnList } from './ColumnList' | ||
export { Divider } from './Divider' | ||
export { Heading1 } from './Heading1' | ||
export { Heading2 } from './Heading2' | ||
export { Heading3 } from './Heading3' | ||
export { ListBulleted } from './ListBulleted' | ||
export { ListItem } from './ListItem' | ||
export { ListNumbered } from './ListNumbered' | ||
export { Paragraph } from './Paragraph' | ||
export { Quote } from './Quote' |
Empty file.
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 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
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
File renamed without changes.
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 @@ | ||
export { cx } from './cx' |
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,5 +1,13 @@ | ||
const { backgrounds } = require('./backgrounds') | ||
const { buttons, buttonTypes } = require('./buttons') | ||
const { colors } = require('./lib/const') | ||
const { radixColors } = require('./lib/const') | ||
const { notion, notionColors } = require('./notion') | ||
|
||
module.exports = { backgrounds, buttons, buttonTypes, colors } | ||
module.exports = { | ||
backgrounds, | ||
buttons, | ||
buttonTypes, | ||
notion, | ||
notionColors, | ||
radixColors, | ||
} |
Oops, something went wrong.