docs: update portal for WRNexusJS 0.2.66

This commit is contained in:
2026-07-20 00:18:14 +05:30
parent 7013019e99
commit 82f127afd0
979 changed files with 4555 additions and 23089 deletions
+49 -24
View File
@@ -10,12 +10,33 @@ page PublicHeadercomponent {
<header class="topbar">
<a class="brand" href="/"><span>W</span> WRNexusJS</a>
<nav aria-label="Primary"><a href="/getting-started">Get started</a><a href="/packages">Packages</a><a href="/components">Components</a><a href="/language">Language</a><a href="/architecture">Architecture</a></nav>
<div class="topbar-actions"><a class="preview-pill" href="/access">Private preview · v0.2.65</a><button data-wire-theme-toggle class="theme-button" aria-label="Toggle color theme" title="Toggle color theme">◐</button></div>
<div class="topbar-actions"><a class="preview-pill" href="/access">Private preview · v0.2.66</a><button data-wire-theme-toggle class="theme-button" aria-label="Toggle color theme" title="Toggle color theme">◐</button></div>
</header>
<div class="mobile-doc-nav"><details><summary>Browse documentation</summary><nav><a href="/getting-started">Get started</a><a href="/packages">Packages</a><a href="/components">Components</a><a href="/language">Language</a><a href="/architecture">Architecture</a><a href="/tutorial">Tutorial</a><a href="/guides/project-structure">Guides</a><a href="/examples">Examples</a><a href="/search">Search</a></nav></details></div>
<main class="portal-main docs-layout component-detail-page"><article id="main" class="documentation prose standalone"><nav class="breadcrumbs" aria-label="Breadcrumb"><a href="/">Home</a><span>/</span><a href="/components">Components</a><span>/</span><span aria-current="page">PublicHeader</span></nav><section class="doc-intro"><span class="eyebrow">layout component</span><h1>PublicHeader</h1><p>Reusable public header component.</p><div class="doc-meta"><span>@wrnexus/ui 0.2.65</span><span>1 props</span><span>0 slots</span><span>1 events</span></div></section><section id="usage"><h2>Usage</h2><p>Components are auto-discovered. Use the component directly in any <code>.wrn</code> view:</p><pre data-language="wrn"><code>&lt;PublicHeader /&gt;</code></pre><p>Legacy mount name: <code>data-component=&quot;PublicHeader&quot;</code>.</p></section><section id="props"><h2>Props and attributes</h2><div class="table-wrap"><table><thead><tr><th>Prop</th><th>Type</th><th>Requirement</th><th>Default</th></tr></thead><tbody><tr><td><code>class</code></td><td><code>string</code></td><td>Optional</td><td><code>&quot;&quot;</code></td></tr></tbody></table></div></section><section id="slots"><h2>Slots</h2><p>This component does not declare a slot.</p></section><section id="events"><h2>Events</h2><ul><li><code>click</code></li></ul></section><section id="source"><h2>Source contract</h2><p>Installed source: <code>components/PublicHeader.wrn</code></p><pre data-language="wrn"><code>component PublicHeader &#123;
<main class="portal-main docs-layout component-detail-page"><article id="main" class="documentation prose standalone"><nav class="breadcrumbs" aria-label="Breadcrumb"><a href="/">Home</a><span>/</span><a href="/components">Components</a><span>/</span><span aria-current="page">PublicHeader</span></nav><section class="doc-intro"><span class="eyebrow">layout component</span><h1>PublicHeader</h1><p>Reusable public header component.</p><div class="doc-meta"><span>@wrnexus/ui 0.2.66</span><span>1 props</span><span>0 slots</span><span>1 events</span></div></section><section id="usage"><h2>Usage</h2><p>Components are auto-discovered. Use the component directly in any <code>.wrn</code> view:</p><pre data-language="wrn"><code>&lt;PublicHeader /&gt;</code></pre><p>Legacy mount name: <code>data-component=&quot;PublicHeader&quot;</code>.</p></section><section id="props"><h2>Props and attributes</h2><div class="table-wrap"><table><thead><tr><th>Prop</th><th>Type</th><th>Requirement</th><th>Default</th></tr></thead><tbody><tr><td><code>class</code></td><td><code>string</code></td><td>Optional</td><td><code>&quot;&quot;</code></td></tr></tbody></table></div></section><section id="slots"><h2>Slots</h2><p>This component does not declare a slot.</p></section><section id="events"><h2>Events</h2><ul><li><code>click</code></li></ul></section><section id="source"><h2>Source contract</h2><p>Installed source: <code>components/PublicHeader.wrn</code></p><pre data-language="wrn"><code>component PublicHeader &#123;
props &#123;
class: string = &quot;&quot;
homeHref: string = &quot;/&quot;
brandName: string = &quot;WRNexusJS&quot;
brandTagline: string = &quot;Identity Cloud&quot;
brandAriaLabel: string = &quot;WRNexusJS home&quot;
brandIcon: string = &quot;icon-[lucide--blocks]&quot;
pricingLabel: string = &quot;Pricing&quot;
pricingHref: string = &quot;/pricing&quot;
statusLabel: string = &quot;All systems operational&quot;
statusHref: string = &quot;/status&quot;
signInLabel: string = &quot;Sign in&quot;
signInHref: string = &quot;/sign-in&quot;
primaryLabel: string = &quot;Start free&quot;
primaryHref: string = &quot;/sign-up&quot;
showStatus: boolean = true
showThemeToggle: boolean = true
showSignIn: boolean = true
showPrimaryAction: boolean = true
productLabel: string = &quot;Product&quot;
solutionsLabel: string = &quot;Solutions&quot;
developersLabel: string = &quot;Developers&quot;
resourcesLabel: string = &quot;Resources&quot;
&#125;
state activeMenu = &quot;&quot;
state mobileMenuOpen = false
@@ -39,24 +60,24 @@ page PublicHeadercomponent {
&gt;
&lt;!-- Brand --&gt;
&lt;a
href=&quot;/&quot;
aria-label=&quot;WRNexusJS home&quot;
href=&quot;&#123;homeHref&#125;&quot;
aria-label=&quot;&#123;brandAriaLabel&#125;&quot;
class=&quot;group inline-flex shrink-0 items-center gap-3 rounded-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-slate-950&quot;
&gt;
&lt;span
class=&quot;grid h-10 w-10 place-items-center rounded-xl bg-indigo-600 text-white shadow-lg shadow-indigo-600/20 transition duration-200 group-hover:-translate-y-0.5 group-hover:bg-indigo-500 group-hover:shadow-xl&quot;
&gt;
&lt;span class=&quot;icon-[lucide--blocks] h-5 w-5&quot; aria-hidden=&quot;true&quot; &gt;
&lt;span class=&quot;&#123;brandIcon&#125; h-5 w-5&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/span&gt;
&lt;span class=&quot;min-w-0&quot;&gt;
&lt;span class=&quot;block text-lg font-bold tracking-tight text-slate-950 dark:text-white&quot;&gt;
WRNexusJS
&#123;brandName&#125;
&lt;/span&gt;
&lt;span
class=&quot;block text-[10px] font-semibold uppercase tracking-[0.2em] text-slate-500 dark:text-slate-400&quot;
&gt;
Identity Cloud
&#123;brandTagline&#125;
&lt;/span&gt;
&lt;/span&gt;
&lt;/a&gt;
@@ -65,6 +86,7 @@ page PublicHeadercomponent {
aria-label=&quot;Main navigation&quot;
class=&quot;hidden items-center gap-1 lg:flex&quot;
&gt;
&lt;slot name=&quot;navigation&quot;&gt;
&lt;!-- Product --&gt;
&lt;button
type=&quot;button&quot;
@@ -81,7 +103,7 @@ page PublicHeadercomponent {
class:dark:text-slate-300=&quot;activeMenu !== 'product'&quot;
class:dark:hover:bg-white/5=&quot;activeMenu !== 'product'&quot;
&gt;
Product
&#123;productLabel&#125;
&lt;span class=&quot;icon-[lucide--chevron-down] h-4 w-4 transition-transform duration-200&quot; class:rotate-180=&quot;activeMenu === 'product'&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
@@ -104,7 +126,7 @@ page PublicHeadercomponent {
class:dark:hover:bg-white/5=&quot;activeMenu !== 'solutions'&quot;
class:dark:hover:text-white=&quot;activeMenu !== 'solutions'&quot;
&gt;
Solutions
&#123;solutionsLabel&#125;
&lt;span class=&quot;icon-[lucide--chevron-down] h-4 w-4 transition-transform duration-200&quot; class:rotate-180=&quot;activeMenu === 'solutions'&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
@@ -127,7 +149,7 @@ page PublicHeadercomponent {
class:dark:hover:bg-white/5=&quot;activeMenu !== 'developers'&quot;
class:dark:hover:text-white=&quot;activeMenu !== 'developers'&quot;
&gt;
Developers
&#123;developersLabel&#125;
&lt;span class=&quot;icon-[lucide--chevron-down] h-4 w-4 transition-transform duration-200&quot; class:rotate-180=&quot;activeMenu === 'developers'&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
@@ -150,22 +172,24 @@ page PublicHeadercomponent {
class:dark:hover:bg-white/5=&quot;activeMenu !== 'resources'&quot;
class:dark:hover:text-white=&quot;activeMenu !== 'resources'&quot;
&gt;
Resources
&#123;resourcesLabel&#125;
&lt;span class=&quot;icon-[lucide--chevron-down] h-4 w-4 transition-transform duration-200&quot; class:rotate-180=&quot;activeMenu === 'resources'&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/button&gt;
&lt;a
href=&quot;/pricing&quot;
href=&quot;&#123;pricingHref&#125;&quot;
class=&quot;inline-flex h-10 items-center rounded-xl px-3.5 text-sm font-semibold text-slate-700 transition hover:bg-slate-100 hover:text-slate-950 focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 dark:text-slate-300 dark:hover:bg-white/5 dark:hover:text-white&quot;
&gt;
Pricing
&#123;pricingLabel&#125;
&lt;/a&gt;
&lt;/slot&gt;
&lt;/nav&gt;
&lt;!-- Desktop actions --&gt;
&lt;div class=&quot;hidden items-center gap-2 lg:flex&quot;&gt;
&lt;a
href=&quot;/status&quot;
&lt;slot name=&quot;actions&quot;&gt;
&lt;a data-show=&quot;showStatus&quot;
href=&quot;&#123;statusHref&#125;&quot;
class=&quot;mr-1 inline-flex items-center gap-2 rounded-xl px-3 py-2 text-xs font-semibold text-slate-500 transition hover:bg-slate-100 hover:text-slate-950 dark:text-slate-400 dark:hover:bg-white/5 dark:hover:text-white&quot;
&gt;
&lt;span class=&quot;relative flex h-2 w-2&quot;&gt;
@@ -175,9 +199,9 @@ page PublicHeadercomponent {
&lt;/span&gt;
&lt;/span&gt;
All systems operational
&#123;statusLabel&#125;
&lt;/a&gt;
&lt;button
&lt;button data-show=&quot;showThemeToggle&quot;
type=&quot;button&quot;
data-wire-theme-toggle
aria-label=&quot;Toggle color theme&quot;
@@ -192,21 +216,22 @@ page PublicHeadercomponent {
Toggle color theme
&lt;/span&gt;
&lt;/button&gt;
&lt;a
href=&quot;/sign-in&quot;
&lt;a data-show=&quot;showSignIn&quot;
href=&quot;&#123;signInHref&#125;&quot;
class=&quot;inline-flex h-10 items-center justify-center rounded-xl px-4 text-sm font-semibold text-slate-700 transition hover:bg-slate-100 hover:text-slate-950 focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 dark:text-slate-200 dark:hover:bg-white/5 dark:hover:text-white&quot;
&gt;
Sign in
&#123;signInLabel&#125;
&lt;/a&gt;
&lt;a
href=&quot;/sign-up&quot;
&lt;a data-show=&quot;showPrimaryAction&quot;
href=&quot;&#123;primaryHref&#125;&quot;
class=&quot;group inline-flex h-10 items-center justify-center gap-2 rounded-xl bg-indigo-600 px-4 text-sm font-bold text-white shadow-lg shadow-indigo-600/20 transition hover:-translate-y-0.5 hover:bg-indigo-500 hover:shadow-xl focus:outline-none focus-visible:ring-2 focus-visible:ring-indigo-500 focus-visible:ring-offset-2 dark:focus-visible:ring-offset-slate-950&quot;
&gt;
Start free
&#123;primaryLabel&#125;
&lt;span class=&quot;icon-[lucide--arrow-right] h-4 w-4 transition-transform group-hover:translate-x-0.5&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/span&gt;
&lt;/a&gt;
&lt;/slot&gt;
&lt;/div&gt;
&lt;!-- Mobile actions --&gt;
&lt;div class=&quot;flex items-center gap-2 lg:hidden&quot;&gt;
@@ -287,7 +312,7 @@ page PublicHeadercomponent {
&#125;
&#125;
</code></pre></section></article><aside class="on-this-page"><h2>On this page</h2><nav><a href="#usage">Usage</a><a href="#props">Props and attributes</a><a href="#slots">Slots</a><a href="#events">Events</a><a href="#source">Source contract</a></nav></aside></main>
<footer><div class="footer-brand"><span class="footer-mark" aria-hidden="true">W</span><p><strong>WRNexusJS 0.2.65</strong><span>Complete API documentation generated from installed package declarations.</span></p></div><nav aria-label="Footer"><a href="/packages">All packages</a><a href="/getting-started">Get started</a><a href="/security">Security</a><a href="/support">Support</a><a href="/llms.txt">AI guide</a></nav><p class="footer-meta">Private Developer Preview · Bun-native</p></footer>
<footer><div class="footer-brand"><span class="footer-mark" aria-hidden="true">W</span><p><strong>WRNexusJS 0.2.66</strong><span>Complete API documentation generated from installed package declarations.</span></p></div><nav aria-label="Footer"><a href="/packages">All packages</a><a href="/getting-started">Get started</a><a href="/security">Security</a><a href="/support">Support</a><a href="/llms.txt">AI guide</a></nav><p class="footer-meta">Private Developer Preview · Bun-native</p></footer>
<BackToTop />
</div>
}