Skip to content

Add a fixed square-corner radius token - #403

Open
ctate wants to merge 3 commits into
mainfrom
ctate/non-rounded-elements-d2304fb3
Open

Add a fixed square-corner radius token#403
ctate wants to merge 3 commits into
mainfrom
ctate/non-rounded-elements-d2304fb3

Conversation

@ctate

@ctate ctate commented Aug 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add radius="none" as the supported Native markup token for square corners.
  • Resolve none to zero independently of theme radius customization so its meaning cannot be overridden.
  • Keep surface content clips aligned with explicit square chrome, including full-bleed children.
  • Update schema validation, diagnostics, generated component vocabulary, documentation, and regression coverage.

Why

Native markup authors need a supported, stable way to render square corners without changing the existing radius scale or relying on unsupported styling paths.

Verification

  • scripts/gate.sh fast main: docs installation and the complete docs check passed.
  • Added canvas regressions for themed radius="none" resolution, button rendering and focus treatment, and square surface content clipping.
  • Zig-backed test, validation, and example steps could not run because Zig is unavailable in the environment. The surface-claims step could not resolve the existing @typescript/old dependency.

ctate and others added 3 commits August 24, 2026 17:08
Co-authored-by: eduardogarre <10983002+eduardogarre@users.noreply.github.com>
Co-authored-by: eduardogarre <10983002+eduardogarre@users.noreply.github.com>
Co-authored-by: eduardogarre <10983002+eduardogarre@users.noreply.github.com>
@vercel

vercel Bot commented Aug 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
native-sdk Ready Ready Preview, v0 Aug 24, 2026 10:09pm
native-sdk-schema Ready Ready Preview, v0 Aug 24, 2026 10:09pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant