Skip to content

Commit 2600c82

Browse files
authored
Merge branch 'dev' into MomoPoppy/feat-dropdown-0914
2 parents aba0a14 + 2f4db09 commit 2600c82

File tree

148 files changed

+1606
-1077
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+1606
-1077
lines changed

.vscode/settings.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,15 @@
8080
"backgroundColor": "transparent",
8181
"bold": false,
8282
"italic": false
83+
},
84+
{
85+
"tag": "--",
86+
"color": "#FFFFFF",
87+
"strikethrough": false,
88+
"underline": false,
89+
"backgroundColor": "#5CB300",
90+
"bold": false,
91+
"italic": false
8392
}
8493
],
8594
"vue.codeActions.enabled": false

examples/sites/demos/pc/app/action-menu/icon-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const options = ref([
4242
},
4343
{
4444
label: '网络设置',
45-
children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }]
45+
children: [{ label: '更改安全组' }, { label: '切换VPC' }]
4646
}
4747
])
4848

examples/sites/demos/pc/app/action-menu/icon.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ export default {
4343
},
4444
{
4545
label: '网络设置',
46-
children: [{ label: '更改安全组' }, { label: '切换VPC', divided: true }]
46+
children: [{ label: '更改安全组' }, { label: '切换VPC' }]
4747
}
4848
],
4949
options1: [

examples/sites/demos/pc/app/carousel/show-title-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { Carousel as TinyCarousel, CarouselItem as TinyCarouselItem } from '@ope
2121
}
2222
2323
.carousel-item-demo:nth-child(2n) {
24-
background-color: #fafafa;
24+
background-color: #f0f0f0;
2525
}
2626
2727
.carousel-item-demo:nth-child(2n + 1) {

examples/sites/demos/pc/app/carousel/show-title.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default {
2828
}
2929
3030
.carousel-item-demo:nth-child(2n) {
31-
background-color: #fafafa;
31+
background-color: #f0f0f0;
3232
}
3333
3434
.carousel-item-demo:nth-child(2n + 1) {

examples/sites/demos/pc/app/cascader/check-strictly-multiple.spec.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,4 @@ test('多选选择任意一级选项', async ({ page }) => {
66
await page.getByText('指南 /安装指南 /开发 /引入组件').click()
77
await page.getByRole('menuitem', { name: '开发' }).locator('span').nth(1).click()
88
await page.getByRole('menuitem', { name: '安装' }).click()
9-
const kaifa = page.getByRole('menuitem', { name: '开发' }).locator('span').nth(1)
10-
const anzhuang = page.getByRole('menuitem', { name: '安装' }).locator('span').nth(1)
11-
await expect(kaifa).toHaveCSS('background-color', 'rgb(94, 124, 224)')
12-
await expect(anzhuang).toHaveCSS('background-color', 'rgb(94, 124, 224)')
139
})

examples/sites/demos/pc/app/cascader/filter-mode-composition-api.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
tip="提示"
1010
label="开发文档"
1111
></tiny-cascader>
12-
<div>
12+
<div style="margin-top: 16px">
1313
<tiny-cascader v-model="value" :options="options" shape="filter" label="开发文档" blank></tiny-cascader>
1414
</div>
1515
</div>

examples/sites/demos/pc/app/cascader/filter-mode.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
tip="提示"
1010
label="开发文档"
1111
></tiny-cascader>
12-
<div>
12+
<div style="margin-top: 16px">
1313
<tiny-cascader v-model="value" :options="options" shape="filter" label="开发文档" blank></tiny-cascader>
1414
</div>
1515
</div>

examples/sites/demos/pc/app/cascader/size.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ test('size', async ({ page }) => {
66

77
await expect(page.locator('.tiny-cascader.tiny-cascader--mini input')).toHaveCSS('height', '24px')
88

9-
await expect(page.locator('.tiny-cascader.tiny-cascader--small input')).toHaveCSS('height', '32px')
9+
await expect(page.locator('.tiny-cascader.tiny-cascader--small input')).toHaveCSS('height', '28px')
1010

1111
await expect(page.locator('.tiny-cascader.tiny-cascader--medium input')).toHaveCSS('height', '40px')
12-
1312
})

examples/sites/demos/pc/app/checkbox/basic-usage.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ test('基础用法', async ({ page }) => {
66
const demo = page.locator('#basic-usage')
77
const checkbox = demo.locator('.tiny-checkbox')
88
await expect(checkbox).toHaveClass(/is-checked/)
9-
await expect(checkbox.locator('.tiny-checkbox__inner')).toHaveCSS('background-color', 'rgb(94, 124, 224)')
10-
await expect(checkbox.locator('.tiny-checkbox__inner')).toHaveCSS('border-left-color', 'rgb(94, 124, 224)')
9+
await expect(checkbox.locator('.tiny-checkbox__inner')).toHaveCSS('background-color', 'rgb(20, 118, 255)')
10+
await expect(checkbox.locator('.tiny-checkbox__inner')).toHaveCSS('border-left-color', 'rgb(20, 118, 255)')
1111
await checkbox.click()
1212
await expect(checkbox).not.toHaveClass(/is-checked/)
1313
})

0 commit comments

Comments
 (0)