release: WRNexusJS 0.2.54

This commit is contained in:
2026-07-19 15:51:27 +05:30
parent 7cee13526e
commit 6dbc75c370
127 changed files with 2211 additions and 88 deletions
+11
View File
@@ -0,0 +1,11 @@
component MegaMenu {
props {
label = "Explore"
sections = []
class = ""
}
state open = false
view {
<div class="wire-mega-menu {class}"><button type="button" class="wire-mega-menu__trigger" aria-expanded="{open}" @click="open = !open">{label}<span aria-hidden="true">⌄</span></button><div data-show="open" class="wire-mega-menu__panel">{#each sections as section}<section><h3>{section.title}</h3><ul>{#each section.items as item}<li><a href="{item.href}">{item.label}</a></li>{/each}</ul></section>{/each}</div></div>
}
}