release: WRNexusJS 0.2.51

This commit is contained in:
2026-07-19 13:38:23 +05:30
parent 17dc7c1a06
commit df4c1d3e7d
203 changed files with 1713 additions and 237 deletions
+6 -1
View File
@@ -1,4 +1,9 @@
component IconButton {
props { label = "Action" icon = "•" variant = "ghost" disabled = false }
props {
label = "Action"
icon = "•"
variant = "ghost"
disabled = false
}
view { <button type="button" aria-label="{label}" title="{label}" disabled="{disabled}" class="inline-flex size-11 items-center justify-center rounded-xl transition duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-violet-500 disabled:opacity-50 {variant === 'primary' ? 'bg-violet-600 text-white hover:bg-violet-700' : 'text-slate-600 hover:bg-slate-100 dark:text-slate-300 dark:hover:bg-slate-800'}"><span aria-hidden="true">{icon}</span></button> }
}