-
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.
- Loading branch information
1 parent
1c5ebea
commit 1700c9e
Showing
72 changed files
with
2,233 additions
and
732 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,12 @@ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.md] | ||
trim_trailing_whitespace = false |
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 @@ | ||
{ | ||
"typescript.tsdk": "node_modules/typescript/lib" | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 @@ | ||
export function Subtext({ | ||
children, | ||
requirementLevel = 'optional', | ||
}: { | ||
children?: React.ReactNode; | ||
requirementLevel?: 'optional' | 'required'; | ||
}) { | ||
return ( | ||
<div className="flex flex-col gap-2 pt-2"> | ||
<span className="uppercase nx-text-primary-600 text-xs font-medium"> | ||
{requirementLevel} | ||
</span> | ||
<span className="font-medium">{children}</span> | ||
</div> | ||
); | ||
} |
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 |
---|---|---|
@@ -1,7 +1,10 @@ | ||
const withNextra = require('nextra')({ | ||
theme: 'nextra-theme-docs', | ||
themeConfig: './theme.config.tsx', | ||
transpilePackages: ['@commonalityco/ui-design-system'], | ||
transpilePackages: [ | ||
'@commonalityco/ui-design-system', | ||
'@commonalityco/ui-core', | ||
], | ||
}); | ||
|
||
module.exports = withNextra(); |
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,23 @@ | ||
import './globals.css'; | ||
import type { AppProps } from 'next/app'; | ||
import { Inter, Fira_Code } from 'next/font/google'; | ||
|
||
export const inter = Inter({ | ||
subsets: ['latin'], | ||
variable: '--font-inter', | ||
}); | ||
|
||
export const firaCode = Fira_Code({ | ||
subsets: ['latin'], | ||
variable: '--font-fira-code', | ||
}); | ||
|
||
export default function MyApp({ Component, pageProps }: AppProps) { | ||
return ( | ||
<div | ||
className={`${inter.className} ${firaCode.variable} ${inter.variable}`} | ||
> | ||
<Component {...pageProps} /> | ||
</div> | ||
); | ||
} |
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,18 +1,10 @@ | ||
{ | ||
"index": "Overview", | ||
"installation": "Installation", | ||
"getting-started": "Getting Started", | ||
"checks": "Checks", | ||
"constraints": "Constraints", | ||
"reference": "API Reference", | ||
"about": { | ||
"title": "About", | ||
"index": { | ||
"title": "Home", | ||
"type": "page" | ||
}, | ||
"contact": { | ||
"title": "Contact ↗", | ||
"type": "page", | ||
"href": "https://twitter.com/shuding_", | ||
"newWindow": true | ||
"docs": { | ||
"title": "Documentation", | ||
"type": "page" | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
This file was deleted.
Oops, something went wrong.
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,25 @@ | ||
{ | ||
"-- Getting Started": { | ||
"type": "separator", | ||
"title": "Getting Started" | ||
}, | ||
"overview": "", | ||
"installation": "", | ||
"getting-started": "Getting Started", | ||
|
||
"-- Guides": { | ||
"type": "separator", | ||
"title": "Guides" | ||
}, | ||
"checks": "Checks", | ||
"constraints": "Constraints", | ||
"codeowners": "", | ||
"sharing": "", | ||
"ci": "CI", | ||
|
||
"-- Reference": { | ||
"type": "separator", | ||
"title": "Reference" | ||
}, | ||
"api": "API" | ||
} |
Oops, something went wrong.