@opentiny/vue-docs 2.2.19 → 2.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/demos/apis/numeric.js +12 -0
- package/demos/pc/app/button/ghost-composition-api.vue +6 -6
- package/demos/pc/app/button/ghost.spec.ts +13 -6
- package/demos/pc/app/button/ghost.vue +6 -6
- package/demos/pc/app/grid/webdoc/grid-custom-style.js +1 -1
- package/demos/pc/app/grid/webdoc/grid-editor.js +1 -1
- package/demos/pc/app/grid/webdoc/grid-toolbar.js +1 -1
- package/demos/pc/app/numeric/mouse-wheel.spec.ts +2 -2
- package/demos/pc/app/numeric/string-mode-composition-api.vue +10 -0
- package/demos/pc/app/numeric/string-mode.spec.ts +17 -0
- package/demos/pc/app/numeric/string-mode.vue +19 -0
- package/demos/pc/app/numeric/webdoc/numeric.js +13 -0
- package/demos/pc/app/select/disabled-composition-api.vue +2 -2
- package/demos/pc/app/select/disabled.spec.ts +3 -3
- package/demos/pc/app/select/disabled.vue +2 -2
- package/demos/pc/app/select/events.spec.ts +3 -3
- package/demos/pc/app/select/multiple.vue +1 -1
- package/demos/pc/app/tabs/tabs-events-close.spec.ts +1 -1
- package/demos/pc/webdoc/changelog.md +4 -3
- package/package.json +5 -5
package/demos/apis/numeric.js
CHANGED
|
@@ -393,6 +393,18 @@ export default {
|
|
|
393
393
|
mode: ['mobile-first'],
|
|
394
394
|
mfDemo: ''
|
|
395
395
|
},
|
|
396
|
+
{
|
|
397
|
+
name: 'string-mode',
|
|
398
|
+
type: 'Boolean',
|
|
399
|
+
defaultValue: '',
|
|
400
|
+
desc: {
|
|
401
|
+
'zh-CN': '使用字符串模式,精度超过JS限制时使用',
|
|
402
|
+
'en-US': ''
|
|
403
|
+
},
|
|
404
|
+
mode: ['pc', 'mobile', 'mobile-first'],
|
|
405
|
+
pcDemo: 'string-mode',
|
|
406
|
+
mfDemo: ''
|
|
407
|
+
},
|
|
396
408
|
{
|
|
397
409
|
name: 'value',
|
|
398
410
|
type: 'Number',
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="gray-bg">
|
|
3
|
-
<tiny-button ghost>幽灵按钮</tiny-button>
|
|
4
|
-
<tiny-button ghost type="primary">主要按钮</tiny-button>
|
|
5
|
-
<tiny-button ghost type="success">成功按钮</tiny-button>
|
|
6
|
-
<tiny-button ghost type="info">信息按钮</tiny-button>
|
|
7
|
-
<tiny-button ghost type="warning">告警按钮</tiny-button>
|
|
8
|
-
<tiny-button ghost type="danger">危险按钮</tiny-button>
|
|
3
|
+
<tiny-button ghost reset-time="0">幽灵按钮</tiny-button>
|
|
4
|
+
<tiny-button ghost type="primary" reset-time="0">主要按钮</tiny-button>
|
|
5
|
+
<tiny-button ghost type="success" reset-time="0">成功按钮</tiny-button>
|
|
6
|
+
<tiny-button ghost type="info" reset-time="0">信息按钮</tiny-button>
|
|
7
|
+
<tiny-button ghost type="warning" reset-time="0">告警按钮</tiny-button>
|
|
8
|
+
<tiny-button ghost type="danger" reset-time="0">危险按钮</tiny-button>
|
|
9
9
|
</div>
|
|
10
10
|
</template>
|
|
11
11
|
|
|
@@ -8,10 +8,12 @@ test('幽灵按钮', async ({ page }) => {
|
|
|
8
8
|
const getGhostBtn = (index: number) => demo.locator('.tiny-button').nth(index)
|
|
9
9
|
|
|
10
10
|
// 默认幽灵按钮
|
|
11
|
+
await page.waitForTimeout(1000)
|
|
11
12
|
await expect(getGhostBtn(0)).toHaveCSS('color', 'rgb(37, 43, 58)')
|
|
12
13
|
await expect(getGhostBtn(0)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
13
14
|
await expect(getGhostBtn(0)).toHaveCSS('border-bottom-color', 'rgb(173, 176, 184)')
|
|
14
|
-
await
|
|
15
|
+
await page.waitForTimeout(100)
|
|
16
|
+
await getGhostBtn(0).click()
|
|
15
17
|
await page.waitForTimeout(100)
|
|
16
18
|
await expect(getGhostBtn(0)).toHaveCSS('color', 'rgb(94, 124, 224)')
|
|
17
19
|
await expect(getGhostBtn(0)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
@@ -21,7 +23,8 @@ test('幽灵按钮', async ({ page }) => {
|
|
|
21
23
|
await expect(getGhostBtn(1)).toHaveCSS('color', 'rgb(94, 124, 224)')
|
|
22
24
|
await expect(getGhostBtn(1)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
23
25
|
await expect(getGhostBtn(1)).toHaveCSS('border-bottom-color', 'rgb(94, 124, 224)')
|
|
24
|
-
await
|
|
26
|
+
await page.waitForTimeout(100)
|
|
27
|
+
await getGhostBtn(1).click()
|
|
25
28
|
await page.waitForTimeout(100)
|
|
26
29
|
await expect(getGhostBtn(1)).toHaveCSS('color', 'rgb(118, 147, 245)')
|
|
27
30
|
await expect(getGhostBtn(1)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
@@ -31,7 +34,8 @@ test('幽灵按钮', async ({ page }) => {
|
|
|
31
34
|
await expect(getGhostBtn(2)).toHaveCSS('color', 'rgb(80, 212, 171)')
|
|
32
35
|
await expect(getGhostBtn(2)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
33
36
|
await expect(getGhostBtn(2)).toHaveCSS('border-bottom-color', 'rgb(80, 212, 171)')
|
|
34
|
-
await
|
|
37
|
+
await page.waitForTimeout(100)
|
|
38
|
+
await getGhostBtn(2).click()
|
|
35
39
|
await page.waitForTimeout(100)
|
|
36
40
|
await expect(getGhostBtn(2)).toHaveCSS('color', 'rgb(172, 242, 220)')
|
|
37
41
|
await expect(getGhostBtn(2)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
@@ -41,7 +45,8 @@ test('幽灵按钮', async ({ page }) => {
|
|
|
41
45
|
await expect(getGhostBtn(3)).toHaveCSS('color', 'rgb(37, 43, 58)')
|
|
42
46
|
await expect(getGhostBtn(3)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
43
47
|
await expect(getGhostBtn(3)).toHaveCSS('border-bottom-color', 'rgb(37, 43, 58)')
|
|
44
|
-
await
|
|
48
|
+
await page.waitForTimeout(100)
|
|
49
|
+
await getGhostBtn(3).click()
|
|
45
50
|
await page.waitForTimeout(100)
|
|
46
51
|
await expect(getGhostBtn(3)).toHaveCSS('color', 'rgb(92, 97, 115)')
|
|
47
52
|
await expect(getGhostBtn(3)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
@@ -51,7 +56,8 @@ test('幽灵按钮', async ({ page }) => {
|
|
|
51
56
|
await expect(getGhostBtn(4)).toHaveCSS('color', 'rgb(250, 152, 65)')
|
|
52
57
|
await expect(getGhostBtn(4)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
53
58
|
await expect(getGhostBtn(4)).toHaveCSS('border-bottom-color', 'rgb(250, 152, 65)')
|
|
54
|
-
await
|
|
59
|
+
await page.waitForTimeout(100)
|
|
60
|
+
await getGhostBtn(4).click()
|
|
55
61
|
await page.waitForTimeout(100)
|
|
56
62
|
await expect(getGhostBtn(4)).toHaveCSS('color', 'rgb(250, 194, 10)')
|
|
57
63
|
await expect(getGhostBtn(4)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
@@ -61,7 +67,8 @@ test('幽灵按钮', async ({ page }) => {
|
|
|
61
67
|
await expect(getGhostBtn(5)).toHaveCSS('color', 'rgb(199, 0, 11)')
|
|
62
68
|
await expect(getGhostBtn(5)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
63
69
|
await expect(getGhostBtn(5)).toHaveCSS('border-bottom-color', 'rgb(199, 0, 11)')
|
|
64
|
-
await
|
|
70
|
+
await page.waitForTimeout(100)
|
|
71
|
+
await getGhostBtn(5).click()
|
|
65
72
|
await page.waitForTimeout(100)
|
|
66
73
|
await expect(getGhostBtn(5)).toHaveCSS('color', 'rgb(214, 74, 82)')
|
|
67
74
|
await expect(getGhostBtn(5)).toHaveCSS('background-color', 'rgba(0, 0, 0, 0)')
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div class="gray-bg">
|
|
3
|
-
<tiny-button ghost>幽灵按钮</tiny-button>
|
|
4
|
-
<tiny-button ghost type="primary">主要按钮</tiny-button>
|
|
5
|
-
<tiny-button ghost type="success">成功按钮</tiny-button>
|
|
6
|
-
<tiny-button ghost type="info">信息按钮</tiny-button>
|
|
7
|
-
<tiny-button ghost type="warning">告警按钮</tiny-button>
|
|
8
|
-
<tiny-button ghost type="danger">危险按钮</tiny-button>
|
|
3
|
+
<tiny-button ghost reset-time="0">幽灵按钮</tiny-button>
|
|
4
|
+
<tiny-button ghost reset-time="0" type="primary">主要按钮</tiny-button>
|
|
5
|
+
<tiny-button ghost reset-time="0" type="success">成功按钮</tiny-button>
|
|
6
|
+
<tiny-button ghost reset-time="0" type="info">信息按钮</tiny-button>
|
|
7
|
+
<tiny-button ghost reset-time="0" type="warning">告警按钮</tiny-button>
|
|
8
|
+
<tiny-button ghost reset-time="0" type="danger">危险按钮</tiny-button>
|
|
9
9
|
</div>
|
|
10
10
|
</template>
|
|
11
11
|
|
|
@@ -28,7 +28,7 @@ export default {
|
|
|
28
28
|
'name': { 'zh-CN': '自定义表尾样式', 'en-US': 'Table tail style (customized table tail row style)' },
|
|
29
29
|
'desc': {
|
|
30
30
|
'zh-CN':
|
|
31
|
-
'<p>通过 <code>footer-cell-class-name</code> 和 <code>footer-row-class-name</code> 设置表尾的单元格和行样式。或者使用表格列的属性 <code>footer-class-name</code>
|
|
31
|
+
'<p>通过 <code>footer-cell-class-name</code> 和 <code>footer-row-class-name</code> 设置表尾的单元格和行样式。或者使用表格列的属性 <code>footer-class-name</code> 设置表尾单元格样式。</p>\n',
|
|
32
32
|
'en-US':
|
|
33
33
|
'<p>Use <code>footer-cell-class-name</code> and <code>footer-row-class-name</code> to set the cell and row styles at the end of the table</p>\n'
|
|
34
34
|
},
|
|
@@ -9,7 +9,7 @@ export default {
|
|
|
9
9
|
'zh-CN': `
|
|
10
10
|
<p>通过在 <code>grid</code> 标签上配置 <code>edit-config</code>。在 <code>grid-column</code> 列配置 <code>editor</code> 对象, <code>component</code> 渲染内置编辑组件, <code>events</code> 配置组件事件。</p>
|
|
11
11
|
<div class="tip custom-block">
|
|
12
|
-
<p class="custom-block-title"
|
|
12
|
+
<p class="custom-block-title">特别说明:</p>
|
|
13
13
|
<p>内置编辑器只支持 <code>Input</code> 和 <code>Select</code> 组件,需要使用其他组件可参考自定义编辑器。</p>
|
|
14
14
|
</div>
|
|
15
15
|
`,
|
|
@@ -88,7 +88,7 @@ export default {
|
|
|
88
88
|
'zh-CN': `
|
|
89
89
|
<p>设置工具栏组件属性 <code>refresh</code> 开启表格刷新功能。</p>
|
|
90
90
|
<ul>
|
|
91
|
-
<li>设置表格属性 <code>loading</code>
|
|
91
|
+
<li>设置表格属性 <code>loading</code> 开启/关闭加载中。自定义实现刷新时直接调用<code>handleFetch('reload')</code>。</li>
|
|
92
92
|
</ul>`,
|
|
93
93
|
'en-US':
|
|
94
94
|
"<p>Toolbar configuration procedure:\n1. Import the table toolbar component <code>GridToolbar</code> in slot mode and set the toolbar component attribute <code>slot="toolbar"</code> . \n2. Set the toolbar component attribute <code>refresh</code> to enable the table refresh function. </p>\n<ul>\n<li> Setting Toolbar Properties <code>loading</code>Enable/Disable Loading. \n <code>handleFetch('reload') </code></li>\n</ul>\n is invoked when the customized implementation is refreshed"
|
|
@@ -7,7 +7,7 @@ test('鼠标滚轮事件', async ({ page }) => {
|
|
|
7
7
|
const numeric = page.getByRole('spinbutton')
|
|
8
8
|
const initVal = Number(await numeric.inputValue())
|
|
9
9
|
await numeric.click()
|
|
10
|
-
await page.mouse.wheel(0, -
|
|
10
|
+
await page.mouse.wheel(0, -500)
|
|
11
11
|
const currentVal = Number(await numeric.inputValue())
|
|
12
|
-
expect(currentVal).
|
|
12
|
+
expect(currentVal).toBeLessThan(initVal)
|
|
13
13
|
})
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<tiny-numeric style="width: 500px" v-model="stepNum" :step="step" string-mode :precision="20"></tiny-numeric>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script setup>
|
|
6
|
+
import { Numeric as TinyNumeric } from '@opentiny/vue'
|
|
7
|
+
import { ref } from 'vue'
|
|
8
|
+
const step = ref('0.00000000000000000002')
|
|
9
|
+
const stepNum = ref('0.00000000000000000002')
|
|
10
|
+
</script>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { test, expect } from '@playwright/test'
|
|
2
|
+
|
|
3
|
+
test('高精度', async ({ page }) => {
|
|
4
|
+
page.on('pageerror', (exception) => expect(exception).toBeNull())
|
|
5
|
+
await page.goto('numeric#string-mode')
|
|
6
|
+
|
|
7
|
+
const input = page.getByRole('spinbutton')
|
|
8
|
+
const increaseBtn = page.locator('.tiny-numeric__increase')
|
|
9
|
+
const decreaseBtn = page.locator('.tiny-numeric__decrease')
|
|
10
|
+
await increaseBtn.click()
|
|
11
|
+
const increasedVal = await input.inputValue()
|
|
12
|
+
expect(increasedVal).toContain('0.00000000000000000004')
|
|
13
|
+
|
|
14
|
+
await decreaseBtn.click()
|
|
15
|
+
const decreasedVal = await input.inputValue()
|
|
16
|
+
expect(decreasedVal).toContain('0.00000000000000000002')
|
|
17
|
+
})
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<tiny-numeric style="width: 500px" v-model="stepNum" :step="step" string-mode :precision="20"></tiny-numeric>
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script>
|
|
6
|
+
import { Numeric } from '@opentiny/vue'
|
|
7
|
+
|
|
8
|
+
export default {
|
|
9
|
+
components: {
|
|
10
|
+
TinyNumeric: Numeric
|
|
11
|
+
},
|
|
12
|
+
data() {
|
|
13
|
+
return {
|
|
14
|
+
step: '0.00000000000000000002',
|
|
15
|
+
stepNum: '0.00000000000000000002'
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
</script>
|
|
@@ -171,6 +171,19 @@ export default {
|
|
|
171
171
|
},
|
|
172
172
|
codeFiles: ['blur-event.vue']
|
|
173
173
|
},
|
|
174
|
+
{
|
|
175
|
+
demoId: 'string-mode',
|
|
176
|
+
name: {
|
|
177
|
+
'zh-CN': '高精度',
|
|
178
|
+
'en-US': 'Out of Focus Event'
|
|
179
|
+
},
|
|
180
|
+
desc: {
|
|
181
|
+
'zh-CN':
|
|
182
|
+
'<p>可通过 <code>string-mode</code> 设置高精度模式,当 JS 默认的 Number 不满足数字的长度与精度需求时。</p>\n',
|
|
183
|
+
'en-US': '<p>The<code>@blur</code>event is triggered when the text box loses focus. </p>\n'
|
|
184
|
+
},
|
|
185
|
+
codeFiles: ['string-mode.vue']
|
|
186
|
+
},
|
|
174
187
|
{
|
|
175
188
|
demoId: 'filter-mode',
|
|
176
189
|
name: {
|
|
@@ -82,12 +82,12 @@ const options2 = ref([
|
|
|
82
82
|
{ value: '选项1', label: '黄金糕' },
|
|
83
83
|
{ value: '选项2', label: '双皮奶', disabled: true },
|
|
84
84
|
{ value: '选项3', label: '蚵仔煎' },
|
|
85
|
-
{ value: '选项4', label: '龙须面' },
|
|
85
|
+
{ value: '选项4', label: '龙须面', disabled: true },
|
|
86
86
|
{ value: '选项5', label: '北京烤鸭' }
|
|
87
87
|
])
|
|
88
88
|
|
|
89
89
|
const value1 = ref('')
|
|
90
|
-
const value2 = ref([])
|
|
90
|
+
const value2 = ref(['选项2'])
|
|
91
91
|
const value3 = ref('')
|
|
92
92
|
const value4 = ref(['选项2', '选项3'])
|
|
93
93
|
const value5 = ref(['选项1', '选项2', '选项3', '选项4', '选项5'])
|
|
@@ -19,15 +19,15 @@ test('多选某项禁用', async ({ page }) => {
|
|
|
19
19
|
const tag = select.locator('.tiny-tag')
|
|
20
20
|
const option = dropdown.locator('.tiny-option')
|
|
21
21
|
|
|
22
|
-
await expect(tag).toHaveCount(
|
|
22
|
+
await expect(tag).toHaveCount(1)
|
|
23
23
|
await select.click()
|
|
24
24
|
await expect(option.filter({ hasText: '双皮奶' })).toHaveClass(/is-disabled/)
|
|
25
25
|
|
|
26
26
|
await option.filter({ hasText: '双皮奶' }).click()
|
|
27
|
-
await expect(tag).toHaveCount(
|
|
27
|
+
await expect(tag).toHaveCount(1)
|
|
28
28
|
|
|
29
29
|
await option.filter({ hasText: '黄金糕' }).click()
|
|
30
|
-
await expect(tag).toHaveCount(
|
|
30
|
+
await expect(tag).toHaveCount(2)
|
|
31
31
|
await expect(tag.filter({ hasText: '黄金糕' })).toHaveCount(1)
|
|
32
32
|
})
|
|
33
33
|
|
|
@@ -87,11 +87,11 @@ export default {
|
|
|
87
87
|
{ value: '选项1', label: '黄金糕' },
|
|
88
88
|
{ value: '选项2', label: '双皮奶', disabled: true },
|
|
89
89
|
{ value: '选项3', label: '蚵仔煎' },
|
|
90
|
-
{ value: '选项4', label: '龙须面' },
|
|
90
|
+
{ value: '选项4', label: '龙须面', disabled: true },
|
|
91
91
|
{ value: '选项5', label: '北京烤鸭' }
|
|
92
92
|
],
|
|
93
93
|
value1: '',
|
|
94
|
-
value2: [],
|
|
94
|
+
value2: ['选项2'],
|
|
95
95
|
value3: '',
|
|
96
96
|
value4: ['选项2', '选项3'],
|
|
97
97
|
value5: ['选项1', '选项2', '选项3', '选项4', '选项5']
|
|
@@ -26,7 +26,7 @@ test('单选事件', async ({ page }) => {
|
|
|
26
26
|
|
|
27
27
|
await page.waitForTimeout(200)
|
|
28
28
|
await input.hover()
|
|
29
|
-
await select.locator('.tiny-select__caret').click()
|
|
29
|
+
await select.locator('.tiny-select__caret.icon-close').click()
|
|
30
30
|
await page.waitForTimeout(500)
|
|
31
31
|
await expect(input).toHaveValue('')
|
|
32
32
|
await expect(model.filter({ hasText: '触发 clear 事件' })).toHaveCount(1)
|
|
@@ -42,6 +42,7 @@ test('多选事件', async ({ page }) => {
|
|
|
42
42
|
const option = dropdown.locator('.tiny-option')
|
|
43
43
|
const model = page.locator('.tiny-modal')
|
|
44
44
|
|
|
45
|
+
await page.waitForTimeout(500)
|
|
45
46
|
await select.click()
|
|
46
47
|
await expect(model.filter({ hasText: '触发 focus 事件' })).toHaveCount(1)
|
|
47
48
|
await expect(model.filter({ hasText: '触发 visible-change 事件' })).toHaveCount(1)
|
|
@@ -56,7 +57,6 @@ test('多选事件', async ({ page }) => {
|
|
|
56
57
|
|
|
57
58
|
await page.waitForTimeout(500)
|
|
58
59
|
await tag.first().locator('.tiny-tag__close').click()
|
|
59
|
-
await expect(model.filter({ hasText: '触发 blur 事件' })).toHaveCount(1)
|
|
60
60
|
await expect(model.filter({ hasText: '触发 change 事件' })).toHaveCount(1)
|
|
61
61
|
await expect(model.filter({ hasText: '触发 remove-tag 事件' })).toHaveCount(1)
|
|
62
62
|
await expect(tag).toHaveCount(4)
|
|
@@ -66,7 +66,7 @@ test('多选事件', async ({ page }) => {
|
|
|
66
66
|
|
|
67
67
|
await page.waitForTimeout(200)
|
|
68
68
|
await select.hover()
|
|
69
|
-
await select.locator('.tiny-select__caret').click()
|
|
69
|
+
await select.locator('.tiny-select__caret.icon-close').click()
|
|
70
70
|
|
|
71
71
|
await expect(tag).toHaveCount(0)
|
|
72
72
|
await expect(model.filter({ hasText: '触发 change 事件' })).toHaveCount(1)
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<br />
|
|
4
4
|
<div>场景1:多选</div>
|
|
5
5
|
<br />
|
|
6
|
-
<tiny-select v-model="value1" multiple>
|
|
6
|
+
<tiny-select v-model="value1" multiple searchable>
|
|
7
7
|
<tiny-option v-for="item in options1" :key="item.value" :label="item.label" :value="item.value"> </tiny-option>
|
|
8
8
|
</tiny-select>
|
|
9
9
|
<br />
|
|
@@ -5,7 +5,7 @@ test('删除事件', async ({ page }) => {
|
|
|
5
5
|
await page.goto('tabs#tabs-events-close')
|
|
6
6
|
|
|
7
7
|
const tabs = page.locator('.tiny-tabs')
|
|
8
|
-
const tabItem = tabs.getByRole('tab', { name: '
|
|
8
|
+
const tabItem = tabs.getByRole('tab', { name: '其他组件' })
|
|
9
9
|
const close = tabItem.locator('.tiny-tabs__icon-close')
|
|
10
10
|
const modal = page.locator('.tiny-modal').first()
|
|
11
11
|
|
|
@@ -9,6 +9,10 @@
|
|
|
9
9
|
### Exciting New Features 🎉
|
|
10
10
|
|
|
11
11
|
- feat(vue): [mind-map] mindmap by @GaoNeng-wWw in https://github.com/opentiny/tiny-vue/pull/1207
|
|
12
|
+
- feat(skeleton): skeleton component by @mengqiuleo in https://github.com/opentiny/tiny-vue/pull/1345
|
|
13
|
+
- feat(float-button): [float-button] add float-button by @fanbingbing16 in https://github.com/opentiny/tiny-vue/pull/1394
|
|
14
|
+
- feat(card): add card component by @shenjunjian
|
|
15
|
+
- feat auto import plugin by @mengqiuleo in https://github.com/opentiny/tiny-vue/pull/1397
|
|
12
16
|
- feat(time-line): refresh ui by @MNZhu in https://github.com/opentiny/tiny-vue/pull/1281
|
|
13
17
|
- feat(numeric): refresh ui by @MNZhu in https://github.com/opentiny/tiny-vue/pull/1258
|
|
14
18
|
- styles(action-sheet): [action-sheet] add action-sheet type by @jxhhdx in https://github.com/opentiny/tiny-vue/pull/1307
|
|
@@ -26,18 +30,15 @@
|
|
|
26
30
|
- styles(async-flowchart): [async-flowchart] add async-flowchart types by @jxhhdx in https://github.com/opentiny/tiny-vue/pull/1312
|
|
27
31
|
- styles(area): [area] add area types by @jxhhdx in https://github.com/opentiny/tiny-vue/pull/1311
|
|
28
32
|
- feat(dialog-box): [dialog-box] make the dialogBox drag outside the window by @wNing50 in https://github.com/opentiny/tiny-vue/pull/1268
|
|
29
|
-
- feat(skeleton): skeleton component by @mengqiuleo in https://github.com/opentiny/tiny-vue/pull/1345
|
|
30
33
|
- style(user-head): [user-head] improve typescript declaration of compo… by @Floyd-bit in https://github.com/opentiny/tiny-vue/pull/1380
|
|
31
34
|
- fix(carousel ): [carousel] update carousel xdesign by @James-9696 in https://github.com/opentiny/tiny-vue/pull/1422
|
|
32
35
|
- fix(badge): [badge] update badge xdesign by @You-Hw-Y in https://github.com/opentiny/tiny-vue/pull/1420
|
|
33
36
|
- feat(date-picker): [date-picker] support xdesign by @kagol in https://github.com/opentiny/tiny-vue/pull/1417
|
|
34
37
|
- feat(slider): [slider] marks supported, input range supported by @yoyo201626 in https://github.com/opentiny/tiny-vue/pull/1429
|
|
35
|
-
- feat auto import plugin by @mengqiuleo in https://github.com/opentiny/tiny-vue/pull/1397
|
|
36
38
|
- [drawer] fix smb theme by @Huangyilin19 in https://github.com/opentiny/tiny-vue/pull/1411
|
|
37
39
|
- feat(vue): add vue sub packages dependencies by @gimmyhehe in https://github.com/opentiny/tiny-vue/pull/1424
|
|
38
40
|
- fix(transfer ): [transfer] update transfer xdesign by @James-9696 in https://github.com/opentiny/tiny-vue/pull/1419
|
|
39
41
|
- fix(skeleton): [skeleton]add skeleton of smb theme by @James-9696 in https://github.com/opentiny/tiny-vue/pull/1410
|
|
40
|
-
- feat(float-button): [float-button] add float-button by @fanbingbing16 in https://github.com/opentiny/tiny-vue/pull/1394
|
|
41
42
|
- feat(loading): [loading] smb theme by @yoyo201626 in https://github.com/opentiny/tiny-vue/pull/1431
|
|
42
43
|
- fix(Switch): [Switch] add keydown support and improth the accessibility by @AcWrong02 in https://github.com/opentiny/tiny-vue/pull/1428
|
|
43
44
|
- feat(vue): [popconfirm] add popper-options props by @gimmyhehe in https://github.com/opentiny/tiny-vue/pull/1439
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-docs",
|
|
3
|
-
"version": "2.2.
|
|
3
|
+
"version": "2.2.20",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@unocss/reset": "0.38.2",
|
|
@@ -17,15 +17,15 @@
|
|
|
17
17
|
"sortablejs": "1.15.0",
|
|
18
18
|
"@opentiny/vue-repl": "^1.1.0",
|
|
19
19
|
"@opentiny/vue": "~3.14.0",
|
|
20
|
-
"@opentiny/vue-common": "~3.14.0",
|
|
21
20
|
"@opentiny/vue-icon": "~3.14.0",
|
|
22
|
-
"@opentiny/vue-
|
|
21
|
+
"@opentiny/vue-common": "~3.14.0",
|
|
23
22
|
"@opentiny/vue-icon-saas": "~3.14.0",
|
|
23
|
+
"@opentiny/vue-design-aurora": "~3.14.0",
|
|
24
24
|
"@opentiny/vue-design-saas": "~3.14.0",
|
|
25
|
-
"@opentiny/vue-theme": "~3.14.0",
|
|
26
25
|
"@opentiny/vue-theme-mobile": "~3.14.0",
|
|
27
|
-
"@opentiny/vue-design-
|
|
26
|
+
"@opentiny/vue-design-smb": "~3.14.0",
|
|
28
27
|
"@opentiny/vue-vite-import": "~1.1.5",
|
|
28
|
+
"@opentiny/vue-theme": "~3.14.0",
|
|
29
29
|
"@opentiny/vue-theme-saas": "~3.14.0"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|