refactor!: rename slhx to hemx

Rename the tracked product identity, crate/package names, Rust paths/macros, generated artifacts, runtime files, public attributes, examples, docs, requirements, and tests from slhx to hemx without compatibility shims.

Verified with cargo run -p hemx-xtask -- test, cargo test -p hemx-derive --test compile_fail, cargo test -p hemx-js, cargo test -p hemx-axum, cargo test -p hemx-v0-examples, cargo check --workspace, redgate list, redgate refs, redgate health --strict, git diff --check, and git grep/ls-files legacy-name audits.

req: misc/001

req: codegen/001

req: component/004

req: runtime/001
This commit is contained in:
slhx agent
2026-06-05 06:52:37 +02:00
parent d4e865ef92
commit c33500440e
69 changed files with 1415 additions and 1415 deletions
+3 -3
View File
@@ -3,8 +3,8 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>slhx v0 examples</title>
<script src="/slhx.js" defer></script>
<title>hemx v0 examples</title>
<script src="/hemx.js" defer></script>
<style>
body { font-family: system-ui, sans-serif; margin: 2rem; max-width: 54rem; }
section, main { border: 1px solid #ddd; border-radius: .5rem; margin: 1rem 0; padding: 1rem; }
@@ -13,7 +13,7 @@
</style>
</head>
<body>
<h1>slhx v0 browser examples</h1>
<h1>hemx v0 browser examples</h1>
<p>Try the counter, todo form, wizard, login, page swap, and live SSE notifications.</p>
{+= self.body =+}
</body>
+3 -3
View File
@@ -1,8 +1,8 @@
<section data-slhx-root="auth">
<form data-slhx-handle="login" data-slhx-form="credentials">
<section data-hemx-root="auth">
<form data-hemx-handle="login" data-hemx-form="credentials">
<input name="email" type="email" autocomplete="username" required>
<input name="password" type="password" autocomplete="current-password" required>
<button type="submit">Sign in</button>
</form>
<p data-slhx-slot="login_status">Signed out</p>
<p data-hemx-slot="login_status">Signed out</p>
</section>
+3 -3
View File
@@ -1,4 +1,4 @@
<section data-slhx-root="counter">
<output data-slhx-slot="counter_value">0</output>
<button type="button" data-slhx-handle="increment">+</button>
<section data-hemx-root="counter">
<output data-hemx-slot="counter_value">0</output>
<button type="button" data-hemx-handle="increment">+</button>
</section>
+2 -2
View File
@@ -1,4 +1,4 @@
<section data-slhx-root="notifications" data-slhx-sse="/events">
<section data-hemx-root="notifications" data-hemx-sse="/events">
<h2>Notifications</h2>
<div data-slhx-slot="notifications">No notifications</div>
<div data-hemx-slot="notifications">No notifications</div>
</section>
+5 -5
View File
@@ -1,7 +1,7 @@
<main data-slhx-root="docs">
<nav data-slhx-slot="nav">
<a href="/docs" data-slhx-nav="">Docs</a>
<main data-hemx-root="docs">
<nav data-hemx-slot="nav">
<a href="/docs" data-hemx-nav="">Docs</a>
</nav>
<article data-slhx-slot="content">{+= self.content =+}</article>
<title data-slhx-slot="title">{+ self.title +}</title>
<article data-hemx-slot="content">{+= self.content =+}</article>
<title data-hemx-slot="title">{+ self.title +}</title>
</main>
+2 -2
View File
@@ -1,10 +1,10 @@
<li>
<span>{+ self.title +}</span>
<form data-slhx-handle="rename_todo_row">
<form data-hemx-handle="rename_todo_row">
<input type="hidden" name="id" +value="self.id">
<button type="submit" name="title" value="Renamed todo">Rename</button>
</form>
<form data-slhx-handle="delete_todo_row">
<form data-hemx-handle="delete_todo_row">
<button type="submit" name="id" +value="self.id">Delete</button>
</form>
</li>
+8 -8
View File
@@ -1,19 +1,19 @@
<section data-slhx-root="todos">
<form data-slhx-handle="add_todo" data-slhx-form="new_todo">
<section data-hemx-root="todos">
<form data-hemx-handle="add_todo" data-hemx-form="new_todo">
<input name="title" required="required">
<button type="submit">Add</button>
</form>
<p data-slhx-slot="summary">{+ self.summary +}</p>
<div data-slhx-slot="todo_list">
<ul data-slhx-slot="todo_row">
<p data-hemx-slot="summary">{+ self.summary +}</p>
<div data-hemx-slot="todo_list">
<ul data-hemx-slot="todo_row">
<template h-for="todo in &self.items" h-key="todo.id">
<li data-slhx-slot="todo_row" +data-key="todo.id">
<li data-hemx-slot="todo_row" +data-key="todo.id">
<span>{+ todo.title +}</span>
<form data-slhx-handle="rename_todo">
<form data-hemx-handle="rename_todo">
<input type="hidden" name="id" +value="todo.id">
<button type="submit" name="title" value="Renamed todo">Rename</button>
</form>
<form data-slhx-handle="delete_todo">
<form data-hemx-handle="delete_todo">
<button type="submit" name="id" +value="todo.id">Delete</button>
</form>
</li>
+3 -3
View File
@@ -1,7 +1,7 @@
<section data-slhx-root="wizard">
<form data-slhx-handle="next_step" data-slhx-form="wizard_input">
<section data-hemx-root="wizard">
<form data-hemx-handle="next_step" data-hemx-form="wizard_input">
<input type="hidden" name="step" value="1" required>
<div data-slhx-slot="wizard_step">Step 1</div>
<div data-hemx-slot="wizard_step">Step 1</div>
<button type="submit">Next</button>
</form>
</section>