Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Akryum/floating-vue
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: vukadinFE/floating-vue
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 6 commits
  • 31 files changed
  • 1 contributor

Commits on Dec 11, 2024

  1. fix: prevent closing parents on hide

    vukadinFE committed Dec 11, 2024
    Copy the full SHA
    acf2863 View commit details

Commits on Dec 12, 2024

  1. expose dist

    vukadinFE committed Dec 12, 2024
    Copy the full SHA
    27a2a67 View commit details
  2. add pack file

    vukadinFE committed Dec 12, 2024
    Copy the full SHA
    4244e69 View commit details

Commits on Dec 17, 2024

  1. fix: prevent aria-hidden on focusable elements

    vukadinFE committed Dec 17, 2024
    Copy the full SHA
    7d70286 View commit details
  2. Copy the full SHA
    c7d3c80 View commit details
  3. Copy the full SHA
    0a6eaba View commit details
Showing with 6,629 additions and 8 deletions.
  1. +0 −1 .gitignore
  2. +23 −4 docs/.vitepress/components/SubMenuExample.vue
  3. +398 −0 packages/floating-vue/dist/components/Dropdown.d.ts
  4. +398 −0 packages/floating-vue/dist/components/Menu.d.ts
  5. +495 −0 packages/floating-vue/dist/components/Popper.d.ts
  6. +474 −0 packages/floating-vue/dist/components/Popper.vue.d.ts
  7. +37 −0 packages/floating-vue/dist/components/PopperContent.vue.d.ts
  8. +9 −0 packages/floating-vue/dist/components/PopperMethods.d.ts
  9. +414 −0 packages/floating-vue/dist/components/PopperWrapper.vue.d.ts
  10. +6 −0 packages/floating-vue/dist/components/ThemeClass.d.ts
  11. +398 −0 packages/floating-vue/dist/components/Tooltip.d.ts
  12. +67 −0 packages/floating-vue/dist/components/TooltipDirective.vue.d.ts
  13. +11 −0 packages/floating-vue/dist/config.d.ts
  14. +13 −0 packages/floating-vue/dist/directives/v-close-popper.d.ts
  15. +27 −0 packages/floating-vue/dist/directives/v-tooltip.d.ts
  16. +1 −0 packages/floating-vue/dist/directives/v-tooltip.spec.d.ts
  17. +1,587 −0 packages/floating-vue/dist/floating-vue.mjs
  18. +1 −0 packages/floating-vue/dist/floating-vue.umd.js
  19. +2,239 −0 packages/floating-vue/dist/index.d.ts
  20. +1 −0 packages/floating-vue/dist/style.css
  21. +1 −0 packages/floating-vue/dist/util/assign-deep.d.ts
  22. +2 −0 packages/floating-vue/dist/util/env.d.ts
  23. +14 −0 packages/floating-vue/dist/util/events.d.ts
  24. +1 −0 packages/floating-vue/dist/util/frame.d.ts
  25. +1 −0 packages/floating-vue/dist/util/lang.d.ts
  26. +3 −0 packages/floating-vue/dist/util/popper.d.ts
  27. BIN packages/floating-vue/floating-vue-5.2.2-1.tgz
  28. BIN packages/floating-vue/floating-vue-5.2.2.tgz
  29. +1 −1 packages/floating-vue/package.json
  30. +6 −1 packages/floating-vue/src/components/Popper.ts
  31. +1 −1 packages/floating-vue/src/components/PopperContent.vue
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -2,4 +2,3 @@
node_modules/
npm-debug.log
coverage/
dist/
27 changes: 23 additions & 4 deletions docs/.vitepress/components/SubMenuExample.vue
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@
Click me
</button>

<template #popper>
<template #popper="{ hide }">
<div class="px-4 py-1">
Sub menus:
</div>
@@ -62,7 +62,7 @@
Sub menu >
</button>

<template #popper>
<template #popper="{ hide: hideLevel2 }">
<VDropdown
v-for="m in 5"
:key="m"
@@ -73,14 +73,33 @@
Option {{ m }} >
</button>

<template #popper>
<div class="px-6 py-2">
<template #popper="{ hide: hideLevel3 }">
<div class="px-6 py-2 text-center">
Hello
<button
class="rounded hover:bg-red-100 px-4 py-2 w-full mt-2"
@click="hideLevel3"
>
Hide
</button>
</div>
</template>
</VDropdown>
<button
class="rounded hover:bg-red-100 px-4 py-2 w-full text-left"
@click="hideLevel2"
>
Hide
</button>
</template>
</VDropdown>

<button
class="rounded hover:bg-red-100 px-4 py-2 w-full text-left"
@click="hide"
>
Hide
</button>
</template>
</VDropdown>
</div>
Loading