-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(playground): feat auto import playground component (#391)
* feat: auto generate playground * chore: add scripts * fix: auto import * fix: nuxt
- Loading branch information
1 parent
471f442
commit 1aebd09
Showing
77 changed files
with
1,089 additions
and
1,367 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
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,19 @@ | ||
<template> | ||
<div class="w-full h-full p-4"> | ||
<div class="home"> | ||
<NuxtPage /> | ||
</div> | ||
</template> | ||
|
||
<style> | ||
html, body { | ||
margin: 0; | ||
padding: 0; | ||
font-family: sans-serif; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
.home { | ||
padding: 20px; | ||
} | ||
</style> |
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,126 @@ | ||
[ | ||
{ | ||
"name": "AccordionDemo", | ||
"path": "/accordion" | ||
}, | ||
{ | ||
"name": "AlertDialogDemo", | ||
"path": "/alert-dialog" | ||
}, | ||
{ | ||
"name": "AspectRatioDemo", | ||
"path": "/aspect-ratio" | ||
}, | ||
{ | ||
"name": "AvatarDemo", | ||
"path": "/avatar" | ||
}, | ||
{ | ||
"name": "CheckboxDemo", | ||
"path": "/checkbox" | ||
}, | ||
{ | ||
"name": "CollapsibleDemo", | ||
"path": "/collapsible" | ||
}, | ||
{ | ||
"name": "DialogDemo", | ||
"path": "/dialog" | ||
}, | ||
{ | ||
"name": "HoverCardDemo", | ||
"path": "/hover-card" | ||
}, | ||
{ | ||
"name": "LabelDemo", | ||
"path": "/label" | ||
}, | ||
{ | ||
"name": "PopoverDemo", | ||
"path": "/popover" | ||
}, | ||
{ | ||
"name": "ProgressDemo", | ||
"path": "/progress" | ||
}, | ||
{ | ||
"name": "RadioGroupDemo", | ||
"path": "/radio-group" | ||
}, | ||
{ | ||
"name": "SeparatorDemo", | ||
"path": "/separator" | ||
}, | ||
{ | ||
"name": "SliderDemo", | ||
"path": "/slider" | ||
}, | ||
{ | ||
"name": "SwitchDemo", | ||
"path": "/switch" | ||
}, | ||
{ | ||
"name": "TabsDemo", | ||
"path": "/tabs" | ||
}, | ||
{ | ||
"name": "ToastDemo", | ||
"path": "/toast" | ||
}, | ||
{ | ||
"name": "ToggleDemo", | ||
"path": "/toggle" | ||
}, | ||
{ | ||
"name": "ToggleGroupDemo", | ||
"path": "/toggle-group" | ||
}, | ||
{ | ||
"name": "ToolbarDemo", | ||
"path": "/toolbar" | ||
}, | ||
{ | ||
"name": "TooltipDemo", | ||
"path": "/tooltip" | ||
}, | ||
{ | ||
"name": "ArrowDemo", | ||
"path": "/arrow" | ||
}, | ||
{ | ||
"name": "CollectionDemo", | ||
"path": "/collection" | ||
}, | ||
{ | ||
"name": "DismissableLayerDemo", | ||
"path": "/dismissable-layer" | ||
}, | ||
{ | ||
"name": "FocusScopeDemo", | ||
"path": "/focus-scope" | ||
}, | ||
{ | ||
"name": "PopperDemo", | ||
"path": "/popper" | ||
}, | ||
{ | ||
"name": "PortalDemo", | ||
"path": "/portal" | ||
}, | ||
{ | ||
"name": "PresenceDemo", | ||
"path": "/presence" | ||
}, | ||
{ | ||
"name": "RovingFocusDemo", | ||
"path": "/roving-focus" | ||
}, | ||
{ | ||
"name": "SlotDemo", | ||
"path": "/slot" | ||
}, | ||
{ | ||
"name": "VisuallyHiddenDemo", | ||
"path": "/visually-hidden" | ||
} | ||
] |
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,3 @@ | ||
<template> | ||
<div><AccordionDemo allshow /></div> | ||
</template> |
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 @@ | ||
<template> | ||
<div><AlertDialogDemo allshow /></div> | ||
</template> |
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,8 +1,3 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<ArrowDemo :allshow="true" /> | ||
</div> | ||
<div><ArrowDemo allshow /></div> | ||
</template> |
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,8 +1,3 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<AspectRatioDemo :allshow="true" /> | ||
</div> | ||
<div><AspectRatioDemo allshow /></div> | ||
</template> |
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,8 +1,3 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<div class="mt-4"> | ||
<AvatarDemo :allshow="true" /> | ||
</div> | ||
<div><AvatarDemo allshow /></div> | ||
</template> |
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,3 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<CheckboxDemo allshow /> | ||
<div><CheckboxDemo allshow /></div> | ||
</template> |
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,3 @@ | ||
<template> | ||
<div> | ||
<CollapsibleDemo allshow /> | ||
</div> | ||
<div><CollapsibleDemo allshow /></div> | ||
</template> |
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,3 @@ | ||
<template> | ||
<div> | ||
<CollectionDemo allshow /> | ||
</div> | ||
<div><CollectionDemo allshow /></div> | ||
</template> |
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,9 +1,3 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<DialogDemo :allshow="true" /> | ||
</div> | ||
<div><DialogDemo allshow /></div> | ||
</template> |
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,9 +1,3 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<DismissableLayerDemo :allshow="true" /> | ||
</div> | ||
<div><DismissableLayerDemo allshow /></div> | ||
</template> |
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,9 +1,3 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<FocusScopeDemo :allshow="true" /> | ||
</div> | ||
<div><FocusScopeDemo allshow /></div> | ||
</template> |
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,9 +1,3 @@ | ||
<script setup lang="ts"> | ||
</script> | ||
|
||
<template> | ||
<div> | ||
<HoverCardDemo :allshow="true" /> | ||
</div> | ||
<div><HoverCardDemo allshow /></div> | ||
</template> |
Oops, something went wrong.