-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Showing
25 changed files
with
472 additions
and
0 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
14 changes: 14 additions & 0 deletions
14
apps/www/src/registry/default/example/typography-blockquote.ts
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,14 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<blockquote class="mt-6 border-l-2 pl-6 italic"> | ||
"After all," he said, "everyone enjoys a good joke, so it's only fair that | ||
they should pay for the privilege." | ||
</blockquote> | ||
`, | ||
}) | ||
export class TypographyBlockquoteComponent {} | ||
|
||
export default TypographyBlockquoteComponent; |
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,15 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<h2 | ||
class="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0" | ||
> | ||
The People of the Kingdom | ||
</h2> | ||
`, | ||
}) | ||
export class TypographyH2Component {} | ||
|
||
export default TypographyH2Component; |
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,13 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<h3 class="scroll-m-20 text-2xl font-semibold tracking-tight"> | ||
The Joke Tax | ||
</h3> | ||
`, | ||
}) | ||
export class TypographyH3Component {} | ||
|
||
export default TypographyH3Component; |
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,13 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<h4 class="scroll-m-20 text-xl font-semibold tracking-tight"> | ||
People stopped telling jokes | ||
</h4> | ||
`, | ||
}) | ||
export class TypographyH4Component {} | ||
|
||
export default TypographyH4Component; |
15 changes: 15 additions & 0 deletions
15
apps/www/src/registry/default/example/typography-inline-code.ts
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,15 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<code | ||
class="relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold" | ||
> | ||
{{ "@" }}radix-ui/react-alert-dialog | ||
</code> | ||
`, | ||
}) | ||
export class TypographyInlineCodeComponent {} | ||
|
||
export default TypographyInlineCodeComponent; |
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 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<div class="text-lg font-semibold">Are you absolutely sure?</div> | ||
`, | ||
}) | ||
export class TypographyLargeComponent {} | ||
|
||
export default TypographyLargeComponent; |
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,14 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<p class="text-xl text-muted-foreground"> | ||
A modal dialog that interrupts the user with important content and expects | ||
a response. | ||
</p> | ||
`, | ||
}) | ||
export class TypographyLeadComponent {} | ||
|
||
export default TypographyLeadComponent; |
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,15 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<ul class="my-6 ml-6 list-disc [&>li]:mt-2"> | ||
<li>1st level of puns: 5 gold coins</li> | ||
<li>2nd level of jokes: 10 gold coins</li> | ||
<li>3rd level of one-liners : 20 gold coins</li> | ||
</ul> | ||
`, | ||
}) | ||
export class TypographyListComponent {} | ||
|
||
export default TypographyListComponent; |
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 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<p class="text-sm text-muted-foreground">Enter your email address.</p> | ||
`, | ||
}) | ||
export class TypographyMutedComponent {} | ||
|
||
export default TypographyMutedComponent; |
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,14 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<p class="leading-7 [&:not(:first-child)]:mt-6"> | ||
The king, seeing how much happier his subjects were, realized the error of | ||
his ways and repealed the joke tax. | ||
</p> | ||
`, | ||
}) | ||
export class TypographyPComponent {} | ||
|
||
export default TypographyPComponent; |
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 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<small class="text-sm font-medium leading-none">Email address</small> | ||
`, | ||
}) | ||
export class TypographySmallComponent {} | ||
|
||
export default TypographySmallComponent; |
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,66 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<div class="my-6 w-full overflow-y-auto"> | ||
<table class="w-full"> | ||
<thead> | ||
<tr class="m-0 border-t p-0 even:bg-muted"> | ||
<th | ||
class="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right" | ||
> | ||
King's Treasury | ||
</th> | ||
<th | ||
class="border px-4 py-2 text-left font-bold [&[align=center]]:text-center [&[align=right]]:text-right" | ||
> | ||
People's happiness | ||
</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<tr class="m-0 border-t p-0 even:bg-muted"> | ||
<td | ||
class="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right" | ||
> | ||
Empty | ||
</td> | ||
<td | ||
class="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right" | ||
> | ||
Overflowing | ||
</td> | ||
</tr> | ||
<tr class="m-0 border-t p-0 even:bg-muted"> | ||
<td | ||
class="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right" | ||
> | ||
Modest | ||
</td> | ||
<td | ||
class="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right" | ||
> | ||
Satisfied | ||
</td> | ||
</tr> | ||
<tr class="m-0 border-t p-0 even:bg-muted"> | ||
<td | ||
class="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right" | ||
> | ||
Full | ||
</td> | ||
<td | ||
class="border px-4 py-2 text-left [&[align=center]]:text-center [&[align=right]]:text-right" | ||
> | ||
Ecstatic | ||
</td> | ||
</tr> | ||
</tbody> | ||
</table> | ||
</div> | ||
`, | ||
}) | ||
export class TypographyTableComponent {} | ||
|
||
export default TypographyTableComponent; |
14 changes: 14 additions & 0 deletions
14
apps/www/src/registry/new-york/example/typography-blockquote.ts
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,14 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<blockquote class="mt-6 border-l-2 pl-6 italic"> | ||
"After all," he said, "everyone enjoys a good joke, so it's only fair that | ||
they should pay for the privilege." | ||
</blockquote> | ||
`, | ||
}) | ||
export class TypographyBlockquoteComponent {} | ||
|
||
export default TypographyBlockquoteComponent; |
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,15 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<h2 | ||
class="scroll-m-20 border-b pb-2 text-3xl font-semibold tracking-tight first:mt-0" | ||
> | ||
The People of the Kingdom | ||
</h2> | ||
`, | ||
}) | ||
export class TypographyH2Component {} | ||
|
||
export default TypographyH2Component; |
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,13 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<h3 class="scroll-m-20 text-2xl font-semibold tracking-tight"> | ||
The Joke Tax | ||
</h3> | ||
`, | ||
}) | ||
export class TypographyH3Component {} | ||
|
||
export default TypographyH3Component; |
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,13 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<h4 class="scroll-m-20 text-xl font-semibold tracking-tight"> | ||
People stopped telling jokes | ||
</h4> | ||
`, | ||
}) | ||
export class TypographyH4Component {} | ||
|
||
export default TypographyH4Component; |
15 changes: 15 additions & 0 deletions
15
apps/www/src/registry/new-york/example/typography-inline-code.ts
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,15 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<code | ||
class="relative rounded bg-muted px-[0.3rem] py-[0.2rem] font-mono text-sm font-semibold" | ||
> | ||
{{ "@" }}radix-ui/react-alert-dialog | ||
</code> | ||
`, | ||
}) | ||
export class TypographyInlineCodeComponent {} | ||
|
||
export default TypographyInlineCodeComponent; |
11 changes: 11 additions & 0 deletions
11
apps/www/src/registry/new-york/example/typography-large.ts
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 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<div class="text-lg font-semibold">Are you absolutely sure?</div> | ||
`, | ||
}) | ||
export class TypographyLargeComponent {} | ||
|
||
export default TypographyLargeComponent; |
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,14 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<p class="text-xl text-muted-foreground"> | ||
A modal dialog that interrupts the user with important content and expects | ||
a response. | ||
</p> | ||
`, | ||
}) | ||
export class TypographyLeadComponent {} | ||
|
||
export default TypographyLeadComponent; |
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,15 @@ | ||
import { Component } from "@angular/core"; | ||
|
||
@Component({ | ||
standalone: true, | ||
template: ` | ||
<ul class="my-6 ml-6 list-disc [&>li]:mt-2"> | ||
<li>1st level of puns: 5 gold coins</li> | ||
<li>2nd level of jokes: 10 gold coins</li> | ||
<li>3rd level of one-liners : 20 gold coins</li> | ||
</ul> | ||
`, | ||
}) | ||
export class TypographyListComponent {} | ||
|
||
export default TypographyListComponent; |
Oops, something went wrong.