refactor: migrate legacy wire namespace to wrn
This commit is contained in:
@@ -95,9 +95,9 @@ test("formats public event declarations as individual props members", () => {
|
||||
test("keeps long inline-closing tags idempotent after multiline expansion", () => {
|
||||
const source = `component Status {
|
||||
view {
|
||||
<section class="overflow-hidden rounded-3xl border border-[var(--wire-color-border,#e2e8f0)] bg-[var(--wire-color-surface,#ffffff)]">
|
||||
<span class="inline-flex items-center gap-2 rounded-full bg-[var(--wire-color-surface-2,#f8fafc)] px-3 py-1.5 text-xs font-semibold">
|
||||
<span class="h-2 w-2 animate-pulse rounded-full bg-[var(--wire-color-primary,#059669)]"></span>Loading
|
||||
<section class="overflow-hidden rounded-3xl border border-[var(--wrn-color-border,#e2e8f0)] bg-[var(--wrn-color-surface,#ffffff)]">
|
||||
<span class="inline-flex items-center gap-2 rounded-full bg-[var(--wrn-color-surface-2,#f8fafc)] px-3 py-1.5 text-xs font-semibold">
|
||||
<span class="h-2 w-2 animate-pulse rounded-full bg-[var(--wrn-color-primary,#059669)]"></span>Loading
|
||||
</span>
|
||||
</section>
|
||||
}
|
||||
@@ -205,7 +205,7 @@ test("expands inline if blocks around HTML", () => {
|
||||
const source = `component Button {
|
||||
view {
|
||||
<button>
|
||||
{#if loading}<span class="wire-spinner wire-spinner--inline" aria-hidden="true"></span>{/if}
|
||||
{#if loading}<span class="wrn-spinner wrn-spinner--inline" aria-hidden="true"></span>{/if}
|
||||
{#if icon}<span class="{icon}"></span>{:else}<span>Fallback</span>{/if}
|
||||
</button>
|
||||
}
|
||||
@@ -217,7 +217,7 @@ test("expands inline if blocks around HTML", () => {
|
||||
<button>
|
||||
{#if loading}
|
||||
<span
|
||||
class="wire-spinner wire-spinner--inline"
|
||||
class="wrn-spinner wrn-spinner--inline"
|
||||
aria-hidden="true"
|
||||
>
|
||||
</span>
|
||||
|
||||
Reference in New Issue
Block a user