-
Notifications
You must be signed in to change notification settings - Fork 6
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
15 changed files
with
1,164 additions
and
152 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
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,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<link rel="icon" href="/favicon.ico" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Eden Components</title> | ||
</head> | ||
<body> | ||
<div id="app"></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
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,9 @@ | ||
import Menu from './src/index.vue' | ||
import type { App } from 'vue' | ||
Upload.name = 't-upload' | ||
|
||
Upload.install = (app: App) => { | ||
app.component(Upload.name, Upload) | ||
} | ||
|
||
export { Upload } |
7 changes: 7 additions & 0 deletions
7
lib/eden-design/packages/eden-ui/components/Menu/src/Menu.vue
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 @@ | ||
<script setup lang="ts"></script> | ||
|
||
<template> | ||
<div></div> | ||
</template> | ||
|
||
<style scoped lang="scss"></style> |
15 changes: 15 additions & 0 deletions
15
lib/eden-design/packages/eden-ui/components/Menu/src/MenuCollapsible.vue
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 @@ | ||
<script setup lang="ts"> | ||
import { | ||
CollapsibleContent, | ||
CollapsibleRoot, | ||
CollapsibleTrigger, | ||
} from "radix-vue"; | ||
</script> | ||
|
||
<template> | ||
<CollapsibleRoot> | ||
<CollapsibleTrigger> </CollapsibleTrigger> | ||
</CollapsibleRoot> | ||
</template> | ||
|
||
<style scoped lang="scss"></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,37 @@ | ||
import type { App } from 'vue' | ||
import { Button, ButtonGroup } from '../components/Button' | ||
import { Avatar } from '../components/Avatar' | ||
import { TCard } from '../components/Card' | ||
import { Badge } from '../components/Badge' | ||
import { Input } from '../components/Input' | ||
import { Textarea } from '../components/textarea' | ||
import { Preview } from '../components/Preview' | ||
import { Icon } from '../components/Icon' | ||
import { Dialog } from '../components/Dialog' | ||
import { Upload } from '../components/Upload' | ||
import { Result } from '../components/Result' | ||
import { Pagination } from '../components/Pagination' | ||
|
||
const components = [ | ||
Button, | ||
ButtonGroup, | ||
Avatar, | ||
TCard, | ||
Badge, | ||
Input, | ||
Textarea, | ||
Preview, | ||
Icon, | ||
Dialog, | ||
Upload, | ||
Result, | ||
Pagination, | ||
] | ||
|
||
const install = (app: App) => { | ||
components.forEach((item) => { | ||
app.component(item.name, item) | ||
}) | ||
} | ||
|
||
export default install |
Oops, something went wrong.