context-menu: render toggle/selected menu items, rename internal dispatcher

- actions gain optional toggle + selected fields: items render in the shared
  tp-popup-menu-item checkmark style (icon faded unless selected/hovered)
- rename the private _onCtxAction dispatcher to _ctxItemClicked so a host
  method named _onCtxAction (the natural name for a ctx-action listener)
  no longer shadows it and breaks item clicks
This commit is contained in:
pk
2026-08-21 12:39:26 +02:00
parent 4158f88ae3
commit b9adc87306
2 changed files with 12 additions and 4 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@tp/helpers",
"version": "2.13.0",
"version": "2.14.0",
"description": "",
"main": "closest.js",
"scripts": {