@opentiny/vue-docs 3.19.1 → 3.19.2
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/tag-group.js +1 -1
- package/demos/apis/tag.js +1 -1
- package/demos/pc/app/grid/webdoc/grid-import-export.js +1 -1
- package/demos/pc/app/tag/size-composition-api.vue +0 -2
- package/demos/pc/app/tag/size.spec.ts +0 -2
- package/demos/pc/app/tag/size.vue +0 -2
- package/demos/pc/app/tag/webdoc/tag.js +2 -2
- package/demos/pc/app/tag-group/tag-group-size-composition-api.vue +0 -2
- package/demos/pc/app/tag-group/tag-group-size.spec.js +0 -4
- package/demos/pc/app/tag-group/tag-group-size.vue +0 -2
- package/package.json +9 -9
package/demos/apis/tag-group.js
CHANGED
package/demos/apis/tag.js
CHANGED
|
@@ -20,7 +20,7 @@ export default {
|
|
|
20
20
|
<p>本示例使用的xlsx版本为0.18.2,导入的excel表格,表头字段需与表格field字段保持一致。</p>
|
|
21
21
|
<p>提示: xlsx 是一个非常强大的前端 EXCEL 文件操作库,支持表格带格式导入导出,可兼容 IE9+ 版本的浏览器。</p>
|
|
22
22
|
<p>详情参考:<a href="https://github.com/SheetJS/sheetjs" target="_blank">https://github.com/SheetJS/sheetjs</a></p>
|
|
23
|
-
<p>注意:如需体验demo,需要将demo
|
|
23
|
+
<p>注意:如需体验demo,需要将demo中注释部分代码取消注释,且自行安装相关依赖。</p>
|
|
24
24
|
</div>
|
|
25
25
|
`,
|
|
26
26
|
'en-US': 'For details, see the following example.'
|
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
<tiny-tag size="medium" type="success"> 中等标签 </tiny-tag>
|
|
4
4
|
<tiny-tag type="success"> 默认标签 </tiny-tag>
|
|
5
5
|
<tiny-tag size="small" type="success"> 小型标签 </tiny-tag>
|
|
6
|
-
<tiny-tag size="mini" type="success"> 超小标签 </tiny-tag>
|
|
7
6
|
<br /><br />
|
|
8
7
|
<tiny-tag size="medium" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
|
|
9
8
|
<tiny-tag type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
|
|
10
9
|
<tiny-tag size="small" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
|
|
11
|
-
<tiny-tag size="mini" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
|
|
12
10
|
</div>
|
|
13
11
|
</template>
|
|
14
12
|
|
|
@@ -7,10 +7,8 @@ test('各型号尺寸是否正常', async ({ page }) => {
|
|
|
7
7
|
const normal = page.getByText('默认标签')
|
|
8
8
|
const medium = page.getByText('中等标签')
|
|
9
9
|
const small = page.getByText('小型标签')
|
|
10
|
-
const mini = page.getByText('超小标签')
|
|
11
10
|
|
|
12
11
|
await expect(normal).toHaveCSS('height', '24px')
|
|
13
12
|
await expect(medium).toHaveCSS('height', '32px')
|
|
14
13
|
await expect(small).toHaveCSS('height', '20px')
|
|
15
|
-
await expect(mini).toHaveCSS('height', '18px')
|
|
16
14
|
})
|
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
<tiny-tag size="medium" type="success"> 中等标签 </tiny-tag>
|
|
4
4
|
<tiny-tag type="success"> 默认标签 </tiny-tag>
|
|
5
5
|
<tiny-tag size="small" type="success"> 小型标签 </tiny-tag>
|
|
6
|
-
<tiny-tag size="mini" type="success"> 超小标签 </tiny-tag>
|
|
7
6
|
<br /><br />
|
|
8
7
|
<tiny-tag size="medium" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
|
|
9
8
|
<tiny-tag type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
|
|
10
9
|
<tiny-tag size="small" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
|
|
11
|
-
<tiny-tag size="mini" type="success" only-icon> <tiny-icon-heartempty /> </tiny-tag>
|
|
12
10
|
</div>
|
|
13
11
|
</template>
|
|
14
12
|
|
|
@@ -69,8 +69,8 @@ export default {
|
|
|
69
69
|
'en-US': 'Size'
|
|
70
70
|
},
|
|
71
71
|
desc: {
|
|
72
|
-
'zh-CN': '通过 <code>size</code> 设置尺寸大小,可选值: <code>(medium / small
|
|
73
|
-
'en-US': 'Set the size through <code>size</code> , with optional values: <code>(medium/small
|
|
72
|
+
'zh-CN': '通过 <code>size</code> 设置尺寸大小,可选值: <code>(medium / small)</code> 。',
|
|
73
|
+
'en-US': 'Set the size through <code>size</code> , with optional values: <code>(medium/small)</code> .'
|
|
74
74
|
},
|
|
75
75
|
codeFiles: ['size.vue']
|
|
76
76
|
},
|
|
@@ -11,8 +11,4 @@ test('TagGroup 尺寸', async ({ page }) => {
|
|
|
11
11
|
const smallTag = page.locator('.tiny-demo-tag-group-size .tiny-tag-group .tiny-tag.tiny-tag--small').nth(0)
|
|
12
12
|
await expect(smallTag).toHaveCSS('height', '20px')
|
|
13
13
|
await expect(smallTag).toHaveCSS('line-height', '18px')
|
|
14
|
-
|
|
15
|
-
const miniTag = page.locator('.tiny-demo-tag-group-size .tiny-tag-group .tiny-tag.tiny-tag--mini').nth(0)
|
|
16
|
-
await expect(miniTag).toHaveCSS('height', '18px')
|
|
17
|
-
await expect(miniTag).toHaveCSS('line-height', '15px')
|
|
18
14
|
})
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opentiny/vue-docs",
|
|
3
|
-
"version": "3.19.
|
|
3
|
+
"version": "3.19.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@opentiny/vue-repl": "^1.1.2",
|
|
@@ -16,18 +16,18 @@
|
|
|
16
16
|
"vue": "^3.4.31",
|
|
17
17
|
"vue-i18n": "^9.1.10",
|
|
18
18
|
"vue-router": "4.1.5",
|
|
19
|
-
"@opentiny/vue": "~3.19.0",
|
|
20
|
-
"@opentiny/vue-design-saas": "~3.19.0",
|
|
21
19
|
"@opentiny/vue-common": "~3.19.0",
|
|
22
20
|
"@opentiny/vue-directive": "~3.19.0",
|
|
23
|
-
"@opentiny/vue
|
|
24
|
-
"@opentiny/vue-icon-multicolor": "~3.19.0",
|
|
25
|
-
"@opentiny/vue-hooks": "~3.19.0",
|
|
21
|
+
"@opentiny/vue": "~3.19.0",
|
|
26
22
|
"@opentiny/vue-design-aurora": "~3.19.0",
|
|
27
|
-
"@opentiny/vue-
|
|
28
|
-
"@opentiny/vue-
|
|
29
|
-
"@opentiny/vue-theme-mobile": "~3.19.0",
|
|
23
|
+
"@opentiny/vue-hooks": "~3.19.0",
|
|
24
|
+
"@opentiny/vue-design-saas": "~3.19.0",
|
|
30
25
|
"@opentiny/vue-icon-saas": "~3.19.0",
|
|
26
|
+
"@opentiny/vue-icon-multicolor": "~3.19.0",
|
|
27
|
+
"@opentiny/vue-icon": "~3.19.0",
|
|
28
|
+
"@opentiny/vue-theme-mobile": "~3.19.0",
|
|
29
|
+
"@opentiny/vue-theme": "~3.19.3",
|
|
30
|
+
"@opentiny/vue-theme-saas": "~3.19.0",
|
|
31
31
|
"@opentiny/vue-vite-import": "~1.2.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|