release: WRNexusJS 0.6.0

This commit is contained in:
2026-08-01 01:09:58 +05:30
parent 3e565e8d03
commit 687d345882
502 changed files with 33038 additions and 11358 deletions
@@ -0,0 +1,23 @@
component LegacyModal {
props {
title = "Confirm"
@event confirm = function
}
state open = false
functions {
function show() {
open = true
}
function confirm() {
$emit("confirm", { accepted: true })
}
}
view {
<button @click='show()'>Open</button>
<button @click='confirm()'>Confirm</button>
}
}
@@ -0,0 +1,5 @@
layout PublicLayout {
view {
<main><slot /></main>
}
}
@@ -0,0 +1,13 @@
page Home {
layout = "public"
functions {
function handleConfirm(value) {
console.log(value)
}
}
view {
<LegacyModal @confirm='handleConfirm(event.detail)' />
}
}
@@ -0,0 +1,3 @@
interface LegacyGlobalContext {
requestId: string;
}
@@ -0,0 +1,9 @@
{
"name": "wrnexus-v05-legacy-fixture",
"private": true,
"version": "0.5.14",
"dependencies": {
"@wrnexus/core": "0.5.14",
"@wrnexus/ui": "0.5.14"
}
}