docs: update portal for WRNexusJS 0.2.74

This commit is contained in:
2026-07-21 11:23:06 +05:30
parent 11e13331fa
commit 71635ba08d
979 changed files with 4306 additions and 4163 deletions
+973 -973
View File
File diff suppressed because it is too large Load Diff
+4 -4
View File
@@ -1,4 +1,4 @@
# WRNexusJS 0.2.73 comprehensive documentation index
# WRNexusJS 0.2.74 comprehensive documentation index
Status: Private Developer Preview. Runtime: Bun. UI language: .wrn.
This is the documentation application, not the framework monorepo.
@@ -40,7 +40,7 @@ This is the documentation application, not the framework monorepo.
- https://wrnexusjs.dev/benchmarks
- https://wrnexusjs.dev/roadmap
- https://wrnexusjs.dev/changelog
- https://wrnexusjs.dev/releases/0.2.73
- https://wrnexusjs.dev/releases/0.2.74
- https://wrnexusjs.dev/security
- https://wrnexusjs.dev/support
- https://wrnexusjs.dev/license
@@ -5405,14 +5405,14 @@ Events: none
### PublicFooter
Mount: data-component="PublicFooter"
Category: core
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", newsletterEyebrow: string = "WrNexus updates", newsletterTitle: string = "Identity insights delivered to your inbox", newsletterDescription: string = "Get product updates, security guidance, implementation strategies, and practical identity architecture resources.", newsletterAction: string = "/api/newsletter/subscribe", newsletterButtonLabel: string = "Subscribe", newsletterPlaceholder: string = "Enter your work email", newsletterSuccessMessage: string = "Thanks. Please check your inbox to confirm your subscription.", copyrightText: string = "© 2026 WrNexus. All rights reserved.", attributionText: string = "Built by WorkRoot Workspace.", showNewsletter: boolean = true, showSocialLinks: boolean = true, showThemeToggle: boolean = true
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", brandIcon: string = "icon-[lucide--blocks]", brandDescription: string = "Secure authentication, user management, organizations, authorization, and enterprise identity for modern applications.", statusLabel: string = "All systems operational", statusHref: string = "/status", newsletterEyebrow: string = "WrNexus updates", newsletterTitle: string = "Identity insights delivered to your inbox", newsletterDescription: string = "Get product updates, security guidance, implementation strategies, and practical identity architecture resources.", newsletterAction: string = "/api/newsletter/subscribe", newsletterButtonLabel: string = "Subscribe", newsletterPlaceholder: string = "Enter your work email", newsletterSuccessMessage: string = "Thanks. Please check your inbox to confirm your subscription.", newsletterPrivacyLabel: string = "privacy policy", newsletterPrivacyHref: string = "/privacy", newsletterFinePrintPrefix: string = "No spam. Unsubscribe at any time. Read our", newsletterFinePrintSuffix: string = ".", newsletterEmailLabel: string = "Work email address", newsletterEmailName: string = "email", copyrightText: string = "© 2026 WrNexus. All rights reserved.", attributionText: string = "Built by WorkRoot Workspace.", showNewsletter: boolean = true, showSocialLinks: boolean = true, showThemeToggle: boolean = true, showStatus: boolean = true, showCookiePreferences: boolean = true, cookiePreferencesLabel: string = "Cookie preferences", themeLabel: string = "Theme", themeToggleLabel: string = "Toggle color theme", legalTitle: string = "Legal", socialLinks: PublicFooterLink[] = [], navigationColumns: PublicFooterColumn[] = [], legalLinks: PublicFooterLink[] = [], navigationAriaLabel: string = "Footer navigation"
Slots: navigation
Events: submit
### PublicHeader
Mount: data-component="PublicHeader"
Category: layout
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", brandIcon: string = "icon-[lucide--blocks]", pricingLabel: string = "Pricing", pricingHref: string = "/pricing", statusLabel: string = "All systems operational", statusHref: string = "/status", signInLabel: string = "Sign in", signInHref: string = "/sign-in", primaryLabel: string = "Start free", primaryHref: string = "/sign-up", showStatus: boolean = true, showThemeToggle: boolean = true, showSignIn: boolean = true, showPrimaryAction: boolean = true, productLabel: string = "Product", solutionsLabel: string = "Solutions", developersLabel: string = "Developers", resourcesLabel: string = "Resources"
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", brandIcon: string = "icon-[lucide--blocks]", pricingLabel: string = "Pricing", pricingHref: string = "/pricing", statusLabel: string = "All systems operational", statusHref: string = "/status", signInLabel: string = "Sign in", signInHref: string = "/sign-in", primaryLabel: string = "Start free", primaryHref: string = "/sign-up", showStatus: boolean = true, showThemeToggle: boolean = true, showSignIn: boolean = true, showPrimaryAction: boolean = true, productLabel: string = "Product", solutionsLabel: string = "Solutions", developersLabel: string = "Developers", resourcesLabel: string = "Resources", navigationAriaLabel: string = "Main navigation", themeToggleLabel: string = "Toggle color theme", mobileMenuOpenLabel: string = "Open navigation menu", mobileMenuCloseLabel: string = "Close navigation menu", navigationItems: PublicHeaderNavigationItem[] = [], actionItems: PublicHeaderActionItem[] = [], showNavigation: boolean = true, showMobileThemeToggle: boolean = true
Slots: navigation, actions
Events: click
+34 -19
View File
@@ -1,4 +1,4 @@
# WRNexusJS documentation 0.2.73
# WRNexusJS documentation 0.2.74
Status: Private Developer Preview. This site documents 26 release-aligned packages.
@@ -4710,14 +4710,14 @@ Events: none
### PublicFooter
Mount: data-component="PublicFooter"
Category: core
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", newsletterEyebrow: string = "WrNexus updates", newsletterTitle: string = "Identity insights delivered to your inbox", newsletterDescription: string = "Get product updates, security guidance, implementation strategies, and practical identity architecture resources.", newsletterAction: string = "/api/newsletter/subscribe", newsletterButtonLabel: string = "Subscribe", newsletterPlaceholder: string = "Enter your work email", newsletterSuccessMessage: string = "Thanks. Please check your inbox to confirm your subscription.", copyrightText: string = "© 2026 WrNexus. All rights reserved.", attributionText: string = "Built by WorkRoot Workspace.", showNewsletter: boolean = true, showSocialLinks: boolean = true, showThemeToggle: boolean = true
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", brandIcon: string = "icon-[lucide--blocks]", brandDescription: string = "Secure authentication, user management, organizations, authorization, and enterprise identity for modern applications.", statusLabel: string = "All systems operational", statusHref: string = "/status", newsletterEyebrow: string = "WrNexus updates", newsletterTitle: string = "Identity insights delivered to your inbox", newsletterDescription: string = "Get product updates, security guidance, implementation strategies, and practical identity architecture resources.", newsletterAction: string = "/api/newsletter/subscribe", newsletterButtonLabel: string = "Subscribe", newsletterPlaceholder: string = "Enter your work email", newsletterSuccessMessage: string = "Thanks. Please check your inbox to confirm your subscription.", newsletterPrivacyLabel: string = "privacy policy", newsletterPrivacyHref: string = "/privacy", newsletterFinePrintPrefix: string = "No spam. Unsubscribe at any time. Read our", newsletterFinePrintSuffix: string = ".", newsletterEmailLabel: string = "Work email address", newsletterEmailName: string = "email", copyrightText: string = "© 2026 WrNexus. All rights reserved.", attributionText: string = "Built by WorkRoot Workspace.", showNewsletter: boolean = true, showSocialLinks: boolean = true, showThemeToggle: boolean = true, showStatus: boolean = true, showCookiePreferences: boolean = true, cookiePreferencesLabel: string = "Cookie preferences", themeLabel: string = "Theme", themeToggleLabel: string = "Toggle color theme", legalTitle: string = "Legal", socialLinks: PublicFooterLink[] = [], navigationColumns: PublicFooterColumn[] = [], legalLinks: PublicFooterLink[] = [], navigationAriaLabel: string = "Footer navigation"
Slots: navigation
Events: submit
### PublicHeader
Mount: data-component="PublicHeader"
Category: layout
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", brandIcon: string = "icon-[lucide--blocks]", pricingLabel: string = "Pricing", pricingHref: string = "/pricing", statusLabel: string = "All systems operational", statusHref: string = "/status", signInLabel: string = "Sign in", signInHref: string = "/sign-in", primaryLabel: string = "Start free", primaryHref: string = "/sign-up", showStatus: boolean = true, showThemeToggle: boolean = true, showSignIn: boolean = true, showPrimaryAction: boolean = true, productLabel: string = "Product", solutionsLabel: string = "Solutions", developersLabel: string = "Developers", resourcesLabel: string = "Resources"
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", brandIcon: string = "icon-[lucide--blocks]", pricingLabel: string = "Pricing", pricingHref: string = "/pricing", statusLabel: string = "All systems operational", statusHref: string = "/status", signInLabel: string = "Sign in", signInHref: string = "/sign-in", primaryLabel: string = "Start free", primaryHref: string = "/sign-up", showStatus: boolean = true, showThemeToggle: boolean = true, showSignIn: boolean = true, showPrimaryAction: boolean = true, productLabel: string = "Product", solutionsLabel: string = "Solutions", developersLabel: string = "Developers", resourcesLabel: string = "Resources", navigationAriaLabel: string = "Main navigation", themeToggleLabel: string = "Toggle color theme", mobileMenuOpenLabel: string = "Open navigation menu", mobileMenuCloseLabel: string = "Close navigation menu", navigationItems: PublicHeaderNavigationItem[] = [], actionItems: PublicHeaderActionItem[] = [], showNavigation: boolean = true, showMobileThemeToggle: boolean = true
Slots: navigation, actions
Events: click
@@ -11021,14 +11021,14 @@ Events: none
### PublicFooter
Mount: data-component="PublicFooter"
Category: core
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", newsletterEyebrow: string = "WrNexus updates", newsletterTitle: string = "Identity insights delivered to your inbox", newsletterDescription: string = "Get product updates, security guidance, implementation strategies, and practical identity architecture resources.", newsletterAction: string = "/api/newsletter/subscribe", newsletterButtonLabel: string = "Subscribe", newsletterPlaceholder: string = "Enter your work email", newsletterSuccessMessage: string = "Thanks. Please check your inbox to confirm your subscription.", copyrightText: string = "© 2026 WrNexus. All rights reserved.", attributionText: string = "Built by WorkRoot Workspace.", showNewsletter: boolean = true, showSocialLinks: boolean = true, showThemeToggle: boolean = true
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", brandIcon: string = "icon-[lucide--blocks]", brandDescription: string = "Secure authentication, user management, organizations, authorization, and enterprise identity for modern applications.", statusLabel: string = "All systems operational", statusHref: string = "/status", newsletterEyebrow: string = "WrNexus updates", newsletterTitle: string = "Identity insights delivered to your inbox", newsletterDescription: string = "Get product updates, security guidance, implementation strategies, and practical identity architecture resources.", newsletterAction: string = "/api/newsletter/subscribe", newsletterButtonLabel: string = "Subscribe", newsletterPlaceholder: string = "Enter your work email", newsletterSuccessMessage: string = "Thanks. Please check your inbox to confirm your subscription.", newsletterPrivacyLabel: string = "privacy policy", newsletterPrivacyHref: string = "/privacy", newsletterFinePrintPrefix: string = "No spam. Unsubscribe at any time. Read our", newsletterFinePrintSuffix: string = ".", newsletterEmailLabel: string = "Work email address", newsletterEmailName: string = "email", copyrightText: string = "© 2026 WrNexus. All rights reserved.", attributionText: string = "Built by WorkRoot Workspace.", showNewsletter: boolean = true, showSocialLinks: boolean = true, showThemeToggle: boolean = true, showStatus: boolean = true, showCookiePreferences: boolean = true, cookiePreferencesLabel: string = "Cookie preferences", themeLabel: string = "Theme", themeToggleLabel: string = "Toggle color theme", legalTitle: string = "Legal", socialLinks: PublicFooterLink[] = [], navigationColumns: PublicFooterColumn[] = [], legalLinks: PublicFooterLink[] = [], navigationAriaLabel: string = "Footer navigation"
Slots: navigation
Events: submit
### PublicHeader
Mount: data-component="PublicHeader"
Category: layout
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", brandIcon: string = "icon-[lucide--blocks]", pricingLabel: string = "Pricing", pricingHref: string = "/pricing", statusLabel: string = "All systems operational", statusHref: string = "/status", signInLabel: string = "Sign in", signInHref: string = "/sign-in", primaryLabel: string = "Start free", primaryHref: string = "/sign-up", showStatus: boolean = true, showThemeToggle: boolean = true, showSignIn: boolean = true, showPrimaryAction: boolean = true, productLabel: string = "Product", solutionsLabel: string = "Solutions", developersLabel: string = "Developers", resourcesLabel: string = "Resources"
Props: class: string = "", homeHref: string = "/", brandName: string = "WrNexus", brandTagline: string = "Identity Cloud", brandAriaLabel: string = "WrNexus home", brandIcon: string = "icon-[lucide--blocks]", pricingLabel: string = "Pricing", pricingHref: string = "/pricing", statusLabel: string = "All systems operational", statusHref: string = "/status", signInLabel: string = "Sign in", signInHref: string = "/sign-in", primaryLabel: string = "Start free", primaryHref: string = "/sign-up", showStatus: boolean = true, showThemeToggle: boolean = true, showSignIn: boolean = true, showPrimaryAction: boolean = true, productLabel: string = "Product", solutionsLabel: string = "Solutions", developersLabel: string = "Developers", resourcesLabel: string = "Resources", navigationAriaLabel: string = "Main navigation", themeToggleLabel: string = "Toggle color theme", mobileMenuOpenLabel: string = "Open navigation menu", mobileMenuCloseLabel: string = "Close navigation menu", navigationItems: PublicHeaderNavigationItem[] = [], actionItems: PublicHeaderActionItem[] = [], showNavigation: boolean = true, showMobileThemeToggle: boolean = true
Slots: navigation, actions
Events: click
@@ -12903,7 +12903,7 @@ Events: none
# Installed package documentation
The following README files and declarations come from the installed private 0.2.73 release.
The following README files and declarations come from the installed private 0.2.74 release.
## @wrnexus/ai
@@ -13659,6 +13659,19 @@ Part of the **WrNexus** framework — an SSR-first, Bun-native full-stack web fr
`@wrnexus/compiler` turns `.wrn` source into TypeScript that targets the framework's runtime primitives. A `.wrn` file declares either a `page` (a route) or a `component` (a reusable, prop-driven fragment) with blocks for `state`, `view` (plain HTML), `seo`, `style`, `functions`, `api`, `ssr`/`client` data bindings, and `realtime` websocket handlers. The pipeline is `source → Lexer → parse() → PageAst → generate() → TypeScript`. It is a build/server-side library — the WrNexus dev loader calls it to compile `.wrn` files on the fly, surfacing `ParseError` as a readable error page.
Static ES module imports may appear before the root declaration. Imported values are
available to server-rendered expressions, including component props:
```wrn
import { appUrl } from "@wrnexus/helpers";
layout PublicLayout {
view {
<PublicHeader signInHref="{appUrl('sso', '/sign-in')}" />
}
}
```
## Installation
```bash
@@ -13727,19 +13740,19 @@ class Lexer {
Exported type-only symbols describing the parsed tree:
| Type | Description |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------- |
| `PageAst` | Root node including `kind`, `name`, `types`, typed `props`, typed `states`, `view`, styles, functions, data APIs, lifecycle, and routes. |
| `ViewNode` | `{ type: "text"; value }` or `{ type: "element"; tag; attrs; children }`. |
| `Attr` | `{ name; value; event; boolean? }` — `event` marks `@event` bindings. |
| `StateDecl` | `{ name; valueType?; expr }` — a typed `state x: Type = <expr>` declaration. |
| `PropDecl` | `{ name; valueType?; required; default }` — a typed prop declaration. |
| `SeoBlock` | `Record<string, string>` from the `seo { ... }` block. |
| `ApiBlock` | `{ method; path; body }` — a top-level `api METHOD /path { ... }`. |
| `DataApiBlock` | `{ mode; name; method; path; body }` — an `api` inside an `ssr`/`client` block. |
| `DataMode` | `"ssr" \| "client"`. |
| `ModeFunctionsBlock` | `{ mode; body }` — a `functions { ... }` inside an `ssr`/`client` block. |
| `RealtimeBlock` | `{ name; handlers }` — a `realtime <name> { on evt(args) { ... } }` block. |
| Type | Description |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `PageAst` | Root node including top-level `imports`, `kind`, `name`, `types`, typed `props`, typed `states`, `view`, styles, functions, data APIs, lifecycle, and routes. |
| `ViewNode` | `{ type: "text"; value }` or `{ type: "element"; tag; attrs; children }`. |
| `Attr` | `{ name; value; event; boolean? }` — `event` marks `@event` bindings. |
| `StateDecl` | `{ name; valueType?; expr }` — a typed `state x: Type = <expr>` declaration. |
| `PropDecl` | `{ name; valueType?; required; default }` — a typed prop declaration. |
| `SeoBlock` | `Record<string, string>` from the `seo { ... }` block. |
| `ApiBlock` | `{ method; path; body }` — a top-level `api METHOD /path { ... }`. |
| `DataApiBlock` | `{ mode; name; method; path; body }` — an `api` inside an `ssr`/`client` block. |
| `DataMode` | `"ssr" \| "client"`. |
| `ModeFunctionsBlock` | `{ mode; body }` — a `functions { ... }` inside an `ssr`/`client` block. |
| `RealtimeBlock` | `{ name; handlers }` — a `realtime <name> { on evt(args) { ... } }` block. |
## Usage
@@ -13940,6 +13953,8 @@ interface PropDecl {
}
interface PageAst {
type: "page";
/** Static ES module imports declared before the WRN root declaration. */
imports: string[];
/**
* `page` is a route, `component` is a reusable fragment,
* and `layout` is a reusable page wrapper.
+1 -1
View File
File diff suppressed because one or more lines are too long