Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
95 commits
Select commit Hold shift + click to select a range
55c322c
docs: update release notes (#397)
kagol Aug 17, 2023
b6e7939
fix Playground Page (#399)
shenjunjian Aug 17, 2023
194df1f
fix(sites): fix (#400)
shenjunjian Aug 17, 2023
8a972cf
feat(release): delete color-picker
zzcr Aug 17, 2023
060aab7
feat(release): delete color-picker
zzcr Aug 17, 2023
fe58760
feat(release): fix grid tips contentMethod
zzcr Aug 18, 2023
7a410e7
fix(playground): fix process.env \ changeVersion \sortablejs bugs (…
shenjunjian Aug 21, 2023
770149d
fix(sites): fix grid demo api link jump error url (#421)
gimmyhehe Aug 21, 2023
7162ac5
fix(form-demo): add form validateField api demo (#424)
gimmyhehe Aug 21, 2023
2f61b95
fix: fix demo import vue-modal; fix playground share (#428)
shenjunjian Aug 22, 2023
8dcf029
fix: import Modal (#430)
shenjunjian Aug 22, 2023
1f8ade7
fix(select): Fix label not displaying correctly when using optimizati…
MomoPoppy Aug 22, 2023
0da300c
fix(search): the enter bug of the search component is fixed (#439)
chenxi-20 Aug 23, 2023
056f12e
feat(release): fix grid watch data
zzcr Aug 24, 2023
898c45d
feat(grid): fix grid custom tooltip
zzcr Aug 24, 2023
f4c5973
fix: fix grid pager events
zzcr Aug 29, 2023
bdbb188
docs: fix the problem of missing container component style (#453)
kagol Aug 31, 2023
fbfa551
fix(checkbox): fix checkbox selected icon bug close #450 (#451)
gimmyhehe Aug 31, 2023
5dbb699
fix: fix input attrs id
zzcr Sep 1, 2023
3884661
fix(slider): fix slider range demo bug
zzcr Sep 1, 2023
44e4fc6
fix: fix when datetime component in dialog-box, the popper scroll awa…
shenjunjian Sep 3, 2023
279f336
fix(mobile-tabbar): fixed a tabbar component switchover issue on the …
chenxi-20 Sep 4, 2023
16dae49
fix(slider): fix upload destory bug
zzcr Sep 6, 2023
4d66cf2
fix(smb-theme): smb theme change fix (#469)
gimmyhehe Sep 8, 2023
b34bdb1
fix(checkbox): fix checkbox group wrap (#467)
gimmyhehe Sep 8, 2023
b42738d
fix(dropdown): Fix the issue of incorrect theme icons for Dropdown co…
MomoPoppy Sep 8, 2023
adf9d90
fix(dropdown-item): (#472)
MomoPoppy Sep 8, 2023
ea53ded
fix(button): button smb theme change fix (#470)
gimmyhehe Sep 8, 2023
ee5e6f5
fix(playground): fix jump to incorrect demo (#466)
gimmyhehe Sep 8, 2023
1d93f28
fix(link): smb theme change fix (#474)
gimmyhehe Sep 8, 2023
c485da2
fix(theme): smb theme change fix (#480)
gimmyhehe Sep 11, 2023
3e19c40
fix(grid): fix grid checkbox radio x-design theme
zzcr Sep 11, 2023
8bb8e4b
chore(ts): change code style for import ts type (#511)
gimmyhehe Sep 25, 2023
913342c
fix(Cascader, DropDown, Popeditor): fixed Cascader component panel no…
yoyo201626 Sep 25, 2023
460c5f6
fix(popper): fix popper element offset error in micro-app (#570)
gimmyhehe Oct 10, 2023
0feddf2
feat: update code
zzcr Oct 23, 2023
7b64c67
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 23, 2023
06ac1b5
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 23, 2023
eb366ad
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 23, 2023
4863d34
fix(docs): add support vue2.7 docs (#630)
shenjunjian Oct 24, 2023
aeacb6f
fix: fix color-picker error
zzcr Oct 24, 2023
eb20bed
Merge branch 'release' of github.com:opentiny/tiny-vue into release
zzcr Oct 24, 2023
77f7125
docs: update changelog v3.11.0 (#629)
kagol Oct 24, 2023
9fac7c5
fix: update site version
zzcr Oct 24, 2023
485687a
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 24, 2023
ce52fd0
feat(site): add pnpm importPlugin docs
zzcr Oct 24, 2023
10efe3e
fix(dialog-box): recover dialog-box's css (#633)
shenjunjian Oct 24, 2023
def1d14
docs(calendar-view): add calendar-view composition api demos (#635)
kagol Oct 24, 2023
c98e08a
Release recover css (#637)
shenjunjian Oct 24, 2023
0828015
feat: add divider composition-api demo
zzcr Oct 24, 2023
5350999
Merge branch 'release' of github.com:opentiny/tiny-vue into release
zzcr Oct 24, 2023
8d36562
fix(layout): fix layout styles
zzcr Oct 24, 2023
fcedd24
fix(checkbox): fix checkbox style (#640)
gimmyhehe Oct 25, 2023
3c9497b
feat(playground): optimize the playground UI style (#638)
shenjunjian Oct 25, 2023
6c436e3
fix(rich-text-editor): Change the display of event triggered Demo, fi…
shonen7 Oct 25, 2023
a2a0750
fix(rich-text-editor): remove Collaboration function, remove the depe…
shenjunjian Oct 25, 2023
6efb48f
Fix bugs of dialog-box, tabbar and tree-menu (#643)
Huangyilin19 Oct 25, 2023
8c2e8dd
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 25, 2023
ce244c5
fix(rich-text-editor): Enable History Mode;Fix Console Warning (#651)
shonen7 Oct 25, 2023
b6de6a5
Hyl fixbug 2310 (#654)
Huangyilin19 Oct 25, 2023
5451f94
fix(dialog-box): fix the right dialog-box's layout to flex layout (#…
shenjunjian Oct 25, 2023
ab55d43
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 25, 2023
c3ae0ca
feat(site): update docs
zzcr Oct 25, 2023
b0ae9af
fix(image): fix preview image demo's bug (#664)
shenjunjian Oct 26, 2023
2cfe3ab
fix(grid): Solving the problem of multiple tables being mutually excl…
zzcr Oct 26, 2023
0790b37
fix(date-picker): fix date-picker style (#669)
zzcr Oct 26, 2023
bd91555
docs(date-picker): fix date-picker time-arrow-control demo error (#670)
kagol Oct 26, 2023
1b82e44
fix(playground): fix first time visite Tinyvue site, cdn url error! (…
shenjunjian Oct 26, 2023
6d75a7f
fix(link-menu): fix link-menu style
zzcr Oct 26, 2023
a84250d
Merge branch 'release' of github.com:opentiny/tiny-vue into release
zzcr Oct 26, 2023
26f24a1
fix(link-menu): fix link-menu style
zzcr Oct 26, 2023
58fbb27
fix(build): [playground] fix build docs replace 'process.env' string …
gimmyhehe Oct 27, 2023
5618812
fix(docs): [sites] fix grid api link jump to error demo (#677)
gimmyhehe Oct 27, 2023
2fbe30f
feat: update docs version
zzcr Oct 27, 2023
bcda303
fix(component): [image] fix no teleport in vue2 (#680)
gimmyhehe Oct 27, 2023
73203b7
fix(components): [date-picker] fix date-picker browser lag issue (#682)
zzcr Oct 27, 2023
df39cf8
fix(tree): fix some bugs: lazy load nodes failed (#685)
Huangyilin19 Oct 27, 2023
326bcd3
fix(tabs): Fix tabs initialization clicking more buttons not working …
chenxi-20 Oct 27, 2023
ac6d2f2
fix(components): [date-picker] fix Invalid prop: type check failed fo…
kagol Oct 27, 2023
63d32fc
fix(option): Fixed incorrect style when using the multiple limit attr…
MomoPoppy Oct 28, 2023
6a15351
fix(components): [rich-text-editor] add sideEffects for tree-shaking
zzcr Oct 30, 2023
0a5a3c9
Merge branch 'dev' of github.com:opentiny/tiny-vue into release
zzcr Oct 30, 2023
5163d9d
style(components): [date-range] change date range icons (#695)
gimmyhehe Oct 30, 2023
fe4f606
fix(components): [image-viewer] fix img url not match bug (#709)
gimmyhehe Oct 31, 2023
3cb489f
Fixed bugs of dialog-select and tree (#712)
Huangyilin19 Oct 31, 2023
e963c56
fix(renderless): fix get error window in micro app (#731)
gimmyhehe Nov 3, 2023
eb78e05
fix(theme): [form] fix textarea border color when validate error (#721)
gimmyhehe Nov 6, 2023
0e1ccb2
fix(renderless): fix viewportWindow in grid and modal components (#741)
gimmyhehe Nov 6, 2023
f84ec4b
fix(option): Fix the issue of check boxes not displaying when multipl…
MomoPoppy Nov 8, 2023
05a96a9
docs(dropdown): [dropdown] optimite dropdown demos and api docs (#774)
MomoPoppy Nov 9, 2023
cb63a3c
fixed(timeline): [timeline] solve the problem that timeline item can'…
Huangyilin19 Nov 10, 2023
4a5a3b8
fix(components): [form] add submit prevent in form (#786)
gimmyhehe Nov 10, 2023
0d33e08
fix(components): [popover] fix popover offset error (#809)
gimmyhehe Nov 13, 2023
f634a23
fix(components): [select, dropdown] fix select, dropdown offset error…
gimmyhehe Nov 15, 2023
a20dda3
Merge branch 'dev' of github.com:opentiny/tiny-vue into release-to-dev
zzcr Nov 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 17 additions & 8 deletions examples/sites/demos/pc/app/dropdown/disabled-composition-api.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
<template>
<div>
<tiny-dropdown>
<p>场景1:下拉菜单禁用</p>
<tiny-dropdown disabled>
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item>黄金糕</tiny-dropdown-item>
<tiny-dropdown-item>狮子头</tiny-dropdown-item>
<tiny-dropdown-item>螺蛳粉</tiny-dropdown-item>
<tiny-dropdown-item disabled>不能选择</tiny-dropdown-item>
<tiny-dropdown-item>双皮奶</tiny-dropdown-item>
<tiny-dropdown-item>蚵仔煎</tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>

<br />
<br />
<br />

<tiny-dropdown disabled>
<p>场景2:按钮类型禁用</p>
<tiny-dropdown split-button disabled>
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item>黄金糕</tiny-dropdown-item>
Expand All @@ -27,6 +24,18 @@
</tiny-dropdown-menu>
</template>
</tiny-dropdown>
<p>场景3:菜单项禁用</p>
<tiny-dropdown>
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item>黄金糕</tiny-dropdown-item>
<tiny-dropdown-item>狮子头</tiny-dropdown-item>
<tiny-dropdown-item>螺蛳粉</tiny-dropdown-item>
<tiny-dropdown-item disabled>不能选择</tiny-dropdown-item>
<tiny-dropdown-item>蚵仔煎</tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>
</div>
</template>

Expand Down
32 changes: 24 additions & 8 deletions examples/sites/demos/pc/app/dropdown/disabled.vue
Original file line number Diff line number Diff line change
@@ -1,22 +1,19 @@
<template>
<div>
<tiny-dropdown>
<p>场景1:下拉菜单禁用</p>
<tiny-dropdown disabled>
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item>黄金糕</tiny-dropdown-item>
<tiny-dropdown-item>狮子头</tiny-dropdown-item>
<tiny-dropdown-item>螺蛳粉</tiny-dropdown-item>
<tiny-dropdown-item disabled>不能选择</tiny-dropdown-item>
<tiny-dropdown-item>双皮奶</tiny-dropdown-item>
<tiny-dropdown-item>蚵仔煎</tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>

<br />
<br />
<br />

<tiny-dropdown disabled>
<p>场景2:按钮类型禁用</p>
<tiny-dropdown split-button disabled>
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item>黄金糕</tiny-dropdown-item>
Expand All @@ -27,6 +24,18 @@
</tiny-dropdown-menu>
</template>
</tiny-dropdown>
<p>场景3:菜单项禁用</p>
<tiny-dropdown>
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item>黄金糕</tiny-dropdown-item>
<tiny-dropdown-item>狮子头</tiny-dropdown-item>
<tiny-dropdown-item>螺蛳粉</tiny-dropdown-item>
<tiny-dropdown-item disabled>不能选择</tiny-dropdown-item>
<tiny-dropdown-item>蚵仔煎</tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>
</div>
</template>

Expand All @@ -41,3 +50,10 @@ export default {
}
}
</script>

<style lang="less" scoped>
p {
line-height: 1.5;
font-size: 14px;
}
</style>
75 changes: 59 additions & 16 deletions examples/sites/demos/pc/app/dropdown/events-composition-api.vue
Original file line number Diff line number Diff line change
@@ -1,27 +1,63 @@
<template>
<tiny-dropdown split-button @item-click="itemClick" @button-click="buttonClick" @visible-change="visibleChange">
下拉菜单
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item label="黄金糕"></tiny-dropdown-item>
<tiny-dropdown-item>狮子头</tiny-dropdown-item>
<tiny-dropdown-item>螺蛳粉</tiny-dropdown-item>
<tiny-dropdown-item disabled>双皮奶</tiny-dropdown-item>
<tiny-dropdown-item divided>蚵仔煎</tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>
<div>
<p>场景1:按钮类型 + 循环 tiny-dropdown-item</p>

<tiny-dropdown split-button @item-click="itemClick" @button-click="buttonClick" @visible-change="visibleChange">
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item
v-for="(item, index) in options"
:key="index"
:label="item.label"
:disabled="item.disabled"
:divided="item.divided"
:icon="item.icon"
:item-data="item"
></tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>

<p>场景2:配置式</p>
<tiny-dropdown @item-click="itemClick" @button-click="buttonClick" @visible-change="visibleChange">
<template #dropdown>
<tiny-dropdown-menu :options="options"> </tiny-dropdown-menu>
</template>
</tiny-dropdown>
</div>
</template>

<script setup lang="jsx">
<script setup>
import {
Dropdown as TinyDropdown,
DropdownMenu as TinyDropdownMenu,
DropdownItem as TinyDropdownItem,
Notify
} from '@opentiny/vue'
import { iconStarDisable } from '@opentiny/vue-icon'

const options = [
{
label: '黄金糕'
},
{
label: '狮子头',
disabled: true
},
{
label: '螺蛳粉',
divided: true
},
{
label: '双皮奶',
icon: iconStarDisable()
},
{
label: '蚵仔煎'
}
]

function itemClick(data) {
const itemClick = (data) => {
Notify({
type: 'info',
title: 'itemClick 回调事件',
Expand All @@ -31,14 +67,21 @@ function itemClick(data) {
})
}

function buttonClick() {
const buttonClick = () => {
Notify({ message: '下拉菜单内置按钮点击事件', status: 'info' })
}

function visibleChange(status) {
const visibleChange = (status) => {
Notify({
message: `下拉菜单显隐事件,当前为${status ? '显示' : '隐藏'}`,
status: 'info'
})
}
</script>

<style lang="less" scoped>
p {
line-height: 1.5;
font-size: 14px;
}
</style>
71 changes: 58 additions & 13 deletions examples/sites/demos/pc/app/dropdown/events.vue
Original file line number Diff line number Diff line change
@@ -1,27 +1,65 @@
<template>
<tiny-dropdown split-button @item-click="itemClick" @button-click="buttonClick" @visible-change="visibleChange">
下拉菜单
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item label="黄金糕"></tiny-dropdown-item>
<tiny-dropdown-item>狮子头</tiny-dropdown-item>
<tiny-dropdown-item>螺蛳粉</tiny-dropdown-item>
<tiny-dropdown-item disabled>双皮奶</tiny-dropdown-item>
<tiny-dropdown-item divided>蚵仔煎</tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>
<div>
<p>场景1:按钮类型 + 循环 tiny-dropdown-item</p>
<tiny-dropdown split-button @item-click="itemClick" @button-click="buttonClick" @visible-change="visibleChange">
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item
v-for="(item, index) in options"
:key="index"
:label="item.label"
:disabled="item.disabled"
:divided="item.divided"
:icon="item.icon"
:item-data="item"
></tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>

<p>场景2:配置式</p>
<tiny-dropdown @item-click="itemClick" @button-click="buttonClick" @visible-change="visibleChange">
<template #dropdown>
<tiny-dropdown-menu :options="options"> </tiny-dropdown-menu>
</template>
</tiny-dropdown>
</div>
</template>

<script lang="jsx">
<script>
import { Dropdown, DropdownMenu, DropdownItem, Notify } from '@opentiny/vue'
import { iconStarDisable } from '@opentiny/vue-icon'

export default {
components: {
TinyDropdown: Dropdown,
TinyDropdownMenu: DropdownMenu,
TinyDropdownItem: DropdownItem
},
data() {
return {
options: [
{
label: '黄金糕'
},
{
label: '狮子头',
disabled: true
},
{
label: '螺蛳粉',
divided: true
},
{
label: '双皮奶',
icon: iconStarDisable()
},
{
label: '蚵仔煎'
}
]
}
},
methods: {
itemClick(data) {
Notify({
Expand All @@ -44,3 +82,10 @@ export default {
}
}
</script>

<style lang="less" scoped>
p {
line-height: 1.5;
font-size: 14px;
}
</style>
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<template>
<tiny-dropdown :hide-on-click="false">
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item>黄金糕</tiny-dropdown-item>
<tiny-dropdown-item>狮子头</tiny-dropdown-item>
<tiny-dropdown-item>螺蛳粉</tiny-dropdown-item>
<tiny-dropdown-item disabled>双皮奶</tiny-dropdown-item>
<tiny-dropdown-item divided>蚵仔煎</tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>
<div>
<p>点击后不收起菜单弹框:</p>
<tiny-dropdown :hide-on-click="false">
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item>黄金糕</tiny-dropdown-item>
<tiny-dropdown-item>狮子头</tiny-dropdown-item>
<tiny-dropdown-item>螺蛳粉</tiny-dropdown-item>
<tiny-dropdown-item disabled>双皮奶</tiny-dropdown-item>
<tiny-dropdown-item divided>蚵仔煎</tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>
</div>
</template>

<script setup>
Expand All @@ -19,3 +22,10 @@ import {
DropdownItem as TinyDropdownItem
} from '@opentiny/vue'
</script>

<style lang="less" scoped>
p {
line-height: 1.5;
font-size: 14px;
}
</style>
32 changes: 21 additions & 11 deletions examples/sites/demos/pc/app/dropdown/hide-on-click.vue
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
<template>
<tiny-dropdown :hide-on-click="false">
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item>黄金糕</tiny-dropdown-item>
<tiny-dropdown-item>狮子头</tiny-dropdown-item>
<tiny-dropdown-item>螺蛳粉</tiny-dropdown-item>
<tiny-dropdown-item disabled>双皮奶</tiny-dropdown-item>
<tiny-dropdown-item divided>蚵仔煎</tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>
<div>
<p>点击后不收起菜单弹框:</p>
<tiny-dropdown :hide-on-click="false">
<template #dropdown>
<tiny-dropdown-menu>
<tiny-dropdown-item>黄金糕</tiny-dropdown-item>
<tiny-dropdown-item>狮子头</tiny-dropdown-item>
<tiny-dropdown-item>螺蛳粉</tiny-dropdown-item>
<tiny-dropdown-item disabled>双皮奶</tiny-dropdown-item>
<tiny-dropdown-item divided>蚵仔煎</tiny-dropdown-item>
</tiny-dropdown-menu>
</template>
</tiny-dropdown>
</div>
</template>

<script>
Expand All @@ -23,3 +26,10 @@ export default {
}
}
</script>

<style lang="less" scoped>
p {
line-height: 1.5;
font-size: 14px;
}
</style>
Loading