feat: publish changed packages independently
This commit is contained in:
@@ -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,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,
|
||||
|
||||
@@ -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-");
|
||||
|
||||
Reference in New Issue
Block a user