-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fix KMenu component with is not correct in vertical mode (#460)
- Loading branch information
1 parent
9f944c6
commit 4bcfbef
Showing
21 changed files
with
297 additions
and
438 deletions.
There are no files selected for viewing
18 changes: 9 additions & 9 deletions
18
components/AutoComplete/__test__/__snapshots__/auto-complete.spec.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
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
28 changes: 14 additions & 14 deletions
28
components/ColorPicker/__test__/__snapshots__/color-picker.spec.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
14 changes: 7 additions & 7 deletions
14
components/Dropdown/__test__/__snapshots__/dropdown.spec.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
10 changes: 5 additions & 5 deletions
10
components/Ellipsis/__test__/__snapshots__/ellipsis.spec.ts.snap
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html | ||
|
||
exports[`Test: KEllipsis > props: cls 1`] = `"<button class="k-popover--trigger svelte-13arsd0" data-popover-trigger=""><button class="k-ellipsis k-ellipsis--test" slot="triggerEl" style="">...</button></button> "`; | ||
exports[`Test: KEllipsis > props: cls 1`] = `"<div class="k-popover--trigger svelte-13arsd0" role="button" tabindex="-1" data-popover-trigger=""><button class="k-ellipsis k-ellipsis--test" slot="triggerEl" style="">...</button></div> "`; | ||
|
||
exports[`Test: KEllipsis > props: content 1`] = `"<button class="k-popover--trigger svelte-13arsd0" data-popover-trigger=""><button class="k-ellipsis" slot="triggerEl" style="">我言秋日胜春朝</button></button> <div role="tooltip" class="k-popover--base k-popover--base__top k-popover--base__top__dark k-popover--base__dark svelte-13arsd0" data-popper-placement="" style="animation: __svelte_767937530_0 300ms linear 0ms 1 both; position: absolute; left: 0px; top: -8px;"><span slot="contentEl">自古逢秋悲寂寥</span> <div k-popover-arrow="true" data-popper-arrow-bottom="" data-popper-arrow-top="" data-popper-arrow-right="" data-popper-arrow-left="" class="svelte-13arsd0"></div></div>"`; | ||
exports[`Test: KEllipsis > props: content 1`] = `"<div class="k-popover--trigger svelte-13arsd0" role="button" tabindex="-1" data-popover-trigger=""><button class="k-ellipsis" slot="triggerEl" style="">我言秋日胜春朝</button></div> <div role="tooltip" class="k-popover--base k-popover--base__top k-popover--base__top__dark k-popover--base__dark svelte-13arsd0" data-popper-placement="" style="animation: __svelte_767937530_0 300ms linear 0ms 1 both; position: absolute; left: 0px; top: -8px;"><span slot="contentEl">自古逢秋悲寂寥</span> <div k-popover-arrow="true" data-popper-arrow-bottom="" data-popper-arrow-top="" data-popper-arrow-right="" data-popper-arrow-left="" class="svelte-13arsd0"></div></div>"`; | ||
|
||
exports[`Test: KEllipsis > props: expand 1`] = `"<button class="k-popover--trigger svelte-13arsd0" data-popover-trigger=""><button class="k-ellipsis--line-clamp" slot="triggerEl" style="-webkit-line-clamp: 3; display: -webkit-inline-box; overflow: hidden;">我言秋日...</button></button> "`; | ||
exports[`Test: KEllipsis > props: expand 1`] = `"<div class="k-popover--trigger svelte-13arsd0" role="button" tabindex="-1" data-popover-trigger=""><button class="k-ellipsis--line-clamp" slot="triggerEl" style="-webkit-line-clamp: 3; display: -webkit-inline-box; overflow: hidden;">我言秋日...</button></div> "`; | ||
|
||
exports[`Test: KEllipsis > props: num 1`] = `"<button class="k-popover--trigger svelte-13arsd0" data-popover-trigger=""><button class="k-ellipsis" slot="triggerEl" style="">我言秋日...</button></button> "`; | ||
exports[`Test: KEllipsis > props: num 1`] = `"<div class="k-popover--trigger svelte-13arsd0" role="button" tabindex="-1" data-popover-trigger=""><button class="k-ellipsis" slot="triggerEl" style="">我言秋日...</button></div> "`; | ||
|
||
exports[`Test: KEllipsis > props: text 1`] = `"<button class="k-popover--trigger svelte-13arsd0" data-popover-trigger=""><button class="k-ellipsis" slot="triggerEl" style="">我言秋日胜春朝</button></button> "`; | ||
exports[`Test: KEllipsis > props: text 1`] = `"<div class="k-popover--trigger svelte-13arsd0" role="button" tabindex="-1" data-popover-trigger=""><button class="k-ellipsis" slot="triggerEl" style="">我言秋日胜春朝</button></div> "`; |
Large diffs are not rendered by default.
Oops, something went wrong.
160 changes: 80 additions & 80 deletions
160
components/Menu/__test__/__snapshots__/menu.spec.ts.snap
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.