Releases: vaakian/contextmenu
Releases · vaakian/contextmenu
v1.1.2
v1.1.0 beta.3
Bug Fixes
- update dependencies structure: move
@contextmenu/core
as a peer dependency of@contextmenu/react
&@contextmenu/vue
, so developer can get a warning whencore
is not installed along withreact
orvue
, for the purpose of importing built-in themes. fa7a8f9 - Fix extended native props issue in
@contextmenu/react
. f39fb98
Improvement
- Add react test coverage. 1cddf72
v1.1.0 beta.2
feature:
Add new UI preset, just import the css(make sure you have @contextmenu/core
installed):
import '@contextmenu/core/default.css'
v1.0.0
v0.0.6
Notice:
v1.0
is comming soon!
The logic of nested menu is completely redesigned, and will come up withReact
support as well.
Feature
- create nested menu using
createNestedMenu
for native javascript.
createNestedMenu({
el: '#group',
items: [
{ el: '#item1' },
{ el: '#item2', subMenu: { el: subMenu1 } },
{ el: '#item3', subMenu: { el: '#group_1' } },
],
})
v-contextMenu
directive
<div v-contextMenu />
I am a context menu!🎉
</div>
Bug fixes
- Docs wrong path matching
- potential un-disposed side effects
- SSR issue (Not yet ready)
v0.0.6-beta.3
Bug fixes
- hide sub menu on
scroll
v0.0.6-beta.2
New feature 🎉
refer to the documentations
Bug fixes 🐛
- potential memory leak when doing
MenuItem.dispose()
v0.0.6-beta.1
Bug fixes:
- Losing reactivity when passing target/hideOnClick
ref
to theContextMenu
component. - comment/docs update.
v0.0.6-beta.0
Currently impelemented:
-
Core
- Basic top level menu using custom element
- Deeply nested menu
-
Vue (both Vue2 & Vue3, empowered by Vue Demi)
-
useContextMenu
hook -
<ContextMenu />
component
-
-
React
-
useContextMenu
hook -
<ContextMenu />
component
-
Docs are coming soon~🎉