-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(ui): replace navigation tree with test explorer (#5907)
- Loading branch information
Showing
34 changed files
with
2,221 additions
and
733 deletions.
There are no files selected for viewing
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
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
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 |
---|---|---|
@@ -0,0 +1,33 @@ | ||
<script setup lang="ts"> | ||
defineProps<{ label: string }>() | ||
const modelValue = defineModel<boolean | null>() | ||
</script> | ||
|
||
<template> | ||
<label | ||
class="font-light text-sm checkbox flex items-center cursor-pointer py-1 text-sm w-full gap-y-1 mb-1px" | ||
v-bind="$attrs" | ||
@click.prevent="modelValue = !modelValue" | ||
> | ||
<span | ||
:class="[ | ||
modelValue ? 'i-carbon:checkbox-checked-filled' : 'i-carbon:checkbox', | ||
]" | ||
text-lg | ||
aria-hidden="true" | ||
/> | ||
<input | ||
v-model="modelValue" | ||
type="checkbox" | ||
sr-only | ||
> | ||
<span flex-1 ms-2 select-none>{{ label }}</span> | ||
</label> | ||
</template> | ||
|
||
<style> | ||
.checkbox:focus-within { | ||
outline: none; | ||
@apply focus-base border-b-1 !mb-none; | ||
} | ||
</style> |
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
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
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
Oops, something went wrong.