-
-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Dialog): fix scrollbar pointer-down click prevent dialog closing (#…
…625) * fix(dialog): fix scrollbar pointer-down click prevent dialog closing * docs(dialog): add Dialog Toaster Example for @interact-outside demo * fix(dialog): replace `vue-sonner` to `radix-vue` Toast Component * Revert "fix(dialog): replace `vue-sonner` to `radix-vue` Toast Component" This reverts commit 819e0d2. * chore: bump vue-sonner version, fix build --------- Co-authored-by: zernonia <zernonia@gmail.com>
- Loading branch information
1 parent
74872bb
commit ecf993e
Showing
431 changed files
with
154,266 additions
and
3 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
const NavigationMenuListItem = `<script setup lang="ts"> | ||
import { NavigationMenuLink } from 'radix-vue' | ||
const props = defineProps({ | ||
title: String, | ||
}) | ||
<\/script> | ||
<template> | ||
<li> | ||
<NavigationMenuLink as-child> | ||
<a | ||
v-bind="$attrs" | ||
class="focus:shadow-[0_0_0_2px] focus:shadow-green7 hover:bg-mauve3 block select-none rounded-[6px] p-3 text-[15px] leading-none no-underline outline-none transition-colors" | ||
> | ||
<div class="text-green12 mb-[5px] font-medium leading-[1.2]"> | ||
{{ props.title }} | ||
</div> | ||
<p class="text-mauve11 my-0 leading-[1.4]"> | ||
<slot /> | ||
</p> | ||
</a> | ||
</NavigationMenuLink> | ||
</li> | ||
</template> | ||
`; | ||
export { | ||
NavigationMenuListItem as default | ||
}; |
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,29 @@ | ||
const NavigationMenuListItem = `<script setup lang="ts"> | ||
import { NavigationMenuLink } from 'radix-vue' | ||
const props = defineProps({ | ||
title: String, | ||
}) | ||
<\/script> | ||
<template> | ||
<li> | ||
<NavigationMenuLink as-child> | ||
<a | ||
v-bind="$attrs" | ||
class="ListItemLink" | ||
> | ||
<div class="ListItemHeading"> | ||
{{ props.title }} | ||
</div> | ||
<p class="ListItemText"> | ||
<slot /> | ||
</p> | ||
</a> | ||
</NavigationMenuLink> | ||
</li> | ||
</template> | ||
`; | ||
export { | ||
NavigationMenuListItem as default | ||
}; |
Oops, something went wrong.