-
Notifications
You must be signed in to change notification settings - Fork 279
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: support react and add new components: rich-text-editor/color-pi…
…cker/divider/calendar-view
- Loading branch information
Showing
1,818 changed files
with
32,335 additions
and
24,517 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 |
---|---|---|
|
@@ -81,5 +81,6 @@ | |
"bold": false, | ||
"italic": false | ||
} | ||
] | ||
], | ||
"vue.codeActions.enabled": 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
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
examples/docs/resources/mobile-first/app/badge/props-content.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,13 @@ | ||
<template> | ||
<tiny-badge data="我的待办" :value="0"></tiny-badge> | ||
</template> | ||
|
||
<script> | ||
import { Badge } from '@opentiny/vue' | ||
export default { | ||
components: { | ||
TinyBadge: Badge | ||
} | ||
} | ||
</script> |
16 changes: 16 additions & 0 deletions
16
examples/docs/resources/mobile-first/app/button/banner.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,16 @@ | ||
<template> | ||
<div> | ||
<tiny-button type="primary" banner native-type="submit">默认按钮</tiny-button> | ||
<tiny-button type="primary" custom-class="mt-4" banner plain>线性按钮</tiny-button> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { Button } from '@opentiny/vue' | ||
export default { | ||
components: { | ||
TinyButton: Button | ||
} | ||
} | ||
</script> |
2 changes: 1 addition & 1 deletion
2
examples/docs/resources/mobile-first/app/button/button-class.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
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
20 changes: 20 additions & 0 deletions
20
examples/docs/resources/mobile-first/app/cell/basic-usage.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,20 @@ | ||
<template> | ||
<div> | ||
<tiny-cell :data="data"></tiny-cell> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { Cell } from '@opentiny/vue' | ||
export default { | ||
components: { | ||
TinyCell: Cell | ||
}, | ||
data() { | ||
return { | ||
data: '进行中' | ||
} | ||
} | ||
} | ||
</script> |
20 changes: 20 additions & 0 deletions
20
examples/docs/resources/mobile-first/app/cell/disabled.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,20 @@ | ||
<template> | ||
<div> | ||
<tiny-cell :data="data" disabled></tiny-cell> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { Cell } from '@opentiny/vue' | ||
export default { | ||
components: { | ||
TinyCell: Cell | ||
}, | ||
data() { | ||
return { | ||
data: '进行中' | ||
} | ||
} | ||
} | ||
</script> |
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,22 @@ | ||
<template> | ||
<div> | ||
<tiny-cell :data="data" :icon="icon"></tiny-cell> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { Cell } from '@opentiny/vue' | ||
import { IconWriting } from '@opentiny/vue-icon' | ||
export default { | ||
components: { | ||
TinyCell: Cell | ||
}, | ||
data() { | ||
return { | ||
data: '', | ||
icon: IconWriting() | ||
} | ||
} | ||
} | ||
</script> |
20 changes: 20 additions & 0 deletions
20
examples/docs/resources/mobile-first/app/cell/placeholder.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,20 @@ | ||
<template> | ||
<div> | ||
<tiny-cell :data="data" placeholder="请选择日期"></tiny-cell> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { Cell } from '@opentiny/vue' | ||
export default { | ||
components: { | ||
TinyCell: Cell | ||
}, | ||
data() { | ||
return { | ||
data: '' | ||
} | ||
} | ||
} | ||
</script> |
9 changes: 9 additions & 0 deletions
9
examples/docs/resources/mobile-first/app/cell/webdoc/cell.cn.md
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 @@ | ||
--- | ||
title: Cell 单元格 | ||
--- | ||
|
||
# Cell 单元格 | ||
|
||
<div> | ||
此组件主要用于移动下拉选择组件(DatePickerMobile、SelectMobile 等)显示值的承载容器 | ||
</div> |
9 changes: 9 additions & 0 deletions
9
examples/docs/resources/mobile-first/app/cell/webdoc/cell.en.md
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 @@ | ||
--- | ||
title: Cell 单元格 | ||
--- | ||
|
||
# Cell 单元格 | ||
|
||
<div> | ||
此组件主要用于移动下拉选择组件(DatePickerMobile、SelectMobile 等)显示值的承载容器 | ||
</div> |
67 changes: 67 additions & 0 deletions
67
examples/docs/resources/mobile-first/app/cell/webdoc/cell.js
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,67 @@ | ||
export default { | ||
column: '2', | ||
owner: '', | ||
demos: [ | ||
{ | ||
demoId: 'basic-usage', | ||
name: { | ||
'zh-CN': '基本用法', | ||
'en-US': 'events' | ||
}, | ||
desc: { | ||
'zh-CN': '<p><p>', | ||
'en-US': '<p>bbutton click</p>' | ||
}, | ||
codeFiles: ['basic-usage.vue'] | ||
}, | ||
{ | ||
demoId: 'with-date-picker', | ||
name: { | ||
'zh-CN': '结合日期选择一起使用', | ||
'en-US': 'events' | ||
}, | ||
desc: { | ||
'zh-CN': '<p><p>', | ||
'en-US': '<p>bbutton click</p>' | ||
}, | ||
codeFiles: ['with-date-picker.vue'] | ||
}, | ||
{ | ||
demoId: 'placeholder', | ||
name: { | ||
'zh-CN': '占位文本', | ||
'en-US': 'events' | ||
}, | ||
desc: { | ||
'zh-CN': '<p><p>', | ||
'en-US': '<p>bbutton click</p>' | ||
}, | ||
codeFiles: ['placeholder.vue'] | ||
}, | ||
{ | ||
demoId: 'disabled', | ||
name: { | ||
'zh-CN': '禁用', | ||
'en-US': 'events' | ||
}, | ||
desc: { | ||
'zh-CN': '<p><p>', | ||
'en-US': '<p>bbutton click</p>' | ||
}, | ||
codeFiles: ['disabled.vue'] | ||
}, | ||
{ | ||
demoId: 'icon', | ||
name: { | ||
'zh-CN': 'icon 图标', | ||
'en-US': 'events' | ||
}, | ||
desc: { | ||
'zh-CN': '<p>可以传入一个 svg 对象替换默认的下拉图标<p>', | ||
'en-US': '<p>bbutton click</p>' | ||
}, | ||
codeFiles: ['icon.vue'] | ||
} | ||
], | ||
apis: [] | ||
} |
Oops, something went wrong.