docs: update portal for WRNexusJS 0.2.79

This commit is contained in:
2026-07-22 13:03:54 +05:30
parent e7d70da5cf
commit 38ee481b8a
979 changed files with 4275 additions and 4190 deletions
+23 -23
View File
@@ -10,10 +10,10 @@ page ProductHerocomponent {
<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.78</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.79</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">ProductHero</span></nav><section class="doc-intro"><span class="eyebrow">layout component</span><h1>ProductHero</h1><p>Reusable product hero component.</p><div class="doc-meta"><span>@wrnexus/ui 0.2.78</span><span>5 props</span><span>1 slots</span><span>0 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;ProductHero
<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">ProductHero</span></nav><section class="doc-intro"><span class="eyebrow">layout component</span><h1>ProductHero</h1><p>Reusable product hero component.</p><div class="doc-meta"><span>@wrnexus/ui 0.2.79</span><span>5 props</span><span>1 slots</span><span>0 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;ProductHero
eyebrow=&quot;eyebrow&quot;
title=&quot;title&quot;
description=&quot;description&quot;
@@ -29,17 +29,9 @@ page ProductHerocomponent {
view &#123;
&lt;section
class=&quot;
relative isolate overflow-hidden border-b border-[var(--wire-color-border,#e2e8f0)]
bg-[var(--wire-color-background,#ffffff)] px-4 py-16 sm:px-6 sm:py-20 lg:px-8 lg:py-24
&#123;class&#125;
&quot;
class=&quot; relative isolate overflow-hidden border-b border-[var(--wire-color-border,#e2e8f0)] bg-[var(--wire-color-bg,#ffffff)] px-4 py-14 sm:px-6 sm:py-18 lg:px-8 lg:py-20 &#123;class&#125; &quot;
&gt;
&lt;div
class=&quot;pointer-events-none absolute inset-0 -z-10 opacity-80&quot;
style=&quot;background: radial-gradient(circle at 16% 0%, color-mix(in srgb, var(--wire-color-primary, #059669) 16%, transparent), transparent 36%);&quot;
aria-hidden=&quot;true&quot;
&gt;
&lt;div class=&quot;pointer-events-none absolute inset-0 -z-10 opacity-80&quot; style=&quot;background: radial-gradient(circle at 16% 0%, color-mix(in srgb, var(--wire-color-primary, #059669) 16%, transparent), transparent 36%);&quot; aria-hidden=&quot;true&quot; &gt;
&lt;/div&gt;
&lt;div class=&quot;mx-auto w-full max-w-7xl&quot;&gt;
&lt;div
@@ -48,24 +40,32 @@ page ProductHerocomponent {
class:text-center='&#123;align === &quot;center&quot;&#125;'
&gt;
&#123;#if eyebrow&#125;
&lt;p class=&quot;mb-4 text-xs font-bold uppercase tracking-[0.18em] text-[var(--wire-color-primary,#059669)] sm:text-sm&quot;&gt;
&#123;eyebrow&#125;
&lt;/p&gt;
&lt;p
class=&quot;mb-4 text-xs font-bold uppercase tracking-[0.18em] text-[var(--wire-color-primary,#059669)] sm:text-sm&quot;
&gt;
&#123;eyebrow&#125;
&lt;/p&gt;
&#123;/if&#125;
&#123;#if title&#125;
&lt;h1 class=&quot;m-0 max-w-[18ch] text-4xl font-semibold leading-[1.05] tracking-[-0.045em] text-[var(--wire-color-text,#0f172a)] sm:text-5xl lg:text-6xl&quot; class:mx-auto='&#123;align === &quot;center&quot;&#125;'&gt;
&#123;title&#125;
&lt;/h1&gt;
&lt;h1
class=&quot;m-0 max-w-[18ch] text-4xl font-semibold leading-[1.05] tracking-[-0.045em] text-[var(--wire-color-text,#0f172a)] sm:text-5xl lg:text-6xl&quot;
class:mx-auto='&#123;align === &quot;center&quot;&#125;'
&gt;
&#123;title&#125;
&lt;/h1&gt;
&#123;/if&#125;
&#123;#if description&#125;
&lt;p class=&quot;mt-6 max-w-3xl text-base leading-8 text-[var(--wire-color-text-muted,#64748b)] sm:text-lg&quot; class:mx-auto='&#123;align === &quot;center&quot;&#125;'&gt;
&#123;description&#125;
&lt;/p&gt;
&lt;p
class=&quot;mt-6 max-w-3xl text-base leading-8 text-[var(--wire-color-muted,#64748b)] sm:text-lg&quot;
class:mx-auto='&#123;align === &quot;center&quot;&#125;'
&gt;
&#123;description&#125;
&lt;/p&gt;
&#123;/if&#125;
&lt;/div&gt;
&lt;div class=&quot;mt-8 space-y-8&quot;&gt;
&lt;div class=&quot;mt-10 space-y-10&quot;&gt;
&lt;slot /&gt;
&lt;/div&gt;
&lt;/div&gt;
@@ -73,7 +73,7 @@ page ProductHerocomponent {
&#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.78</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.79</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>
}