feat: publish changed packages independently
Quality / quality (ubuntu-latest) (push) Failing after 21s
Quality / quality (windows-latest) (push) Canceled after 0s

This commit is contained in:
2026-08-11 15:32:36 +05:30
parent feff30a2b5
commit 8d044565e3
67 changed files with 10935 additions and 876 deletions
+30
View File
@@ -318,4 +318,34 @@ component Captcha {
</div>
</section>
}
style {
/*
* Compact image challenges read as a single sequence: challenge,
* secondary actions, answer, then verification. Flattening the footer
* lets Listen/New challenge move directly beneath the image without
* changing the DOM or the client runtime selectors.
*/
[data-wrn-captcha]:is([data-captcha-compact="true"], [data-captcha-size="compact"])[data-captcha-layout="horizontal"] {
grid-template-columns: minmax(0, 1fr);
}
[data-wrn-captcha]:is([data-captcha-compact="true"], [data-captcha-size="compact"])
[data-captcha-response-panel]
[data-captcha-footer] {
display: contents;
}
[data-wrn-captcha]:is([data-captcha-compact="true"], [data-captcha-size="compact"])
[data-captcha-footer]
> div:first-child {
order: -1;
justify-content: flex-start;
}
[data-wrn-captcha]:is([data-captcha-compact="true"], [data-captcha-size="compact"])
[data-captcha-verify] {
align-self: flex-start;
}
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@wrnexus/captcha",
"version": "0.8.8",
"version": "0.8.9",
"description": "First-class CAPTCHA challenges, providers, verification guards, page gates, and WRNexusJS UI.",
"type": "module",
"sideEffects": false,
+3
View File
@@ -58,6 +58,9 @@ test("Captcha.wrn parses and exposes the full public contract", async () => {
expect(source).toContain("group-data-[captcha-size=compact]/captcha:max-h-24");
expect(source).toContain("group-data-[captcha-size=compact]/captcha:h-8");
expect(source).toContain("group-data-[captcha-size=compact]/captcha:hidden");
expect(source).toContain("[data-captcha-footer]");
expect(source).toContain("display: contents");
expect(source).toContain("order: -1");
expect(source).toContain("data-[captcha-size=big]");
expect(source).toContain("{...attrs}");
expect(source).toContain("--wire-");