Skip to content

Stage 1: Layout system - #4

Merged
ntucker merged 3 commits into
mainfrom
stage-1-layout-system
Jul 26, 2026
Merged

ntucker merged 3 commits into
mainfrom
stage-1-layout-system

Conversation

@ntucker

@ntucker ntucker commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Completes Stage 1 layout vocabulary: Inline, Grid, Center, Container, Separator, plus Box padding and Stack collapseBelow
  • System density via compactSpace + data-density space remaps; intrinsic-first responsive strategy with web-only container queries
  • AppSkeleton fixture (state matrix + tests), Expo native contract spike (FINDINGS.md), and pre-1.0 API_POLICY.md

Test plan

  • yarn build && yarn typecheck && yarn test
  • yarn docs — review Fixtures/AppSkeleton (normal, sidebar collapse, overflow, long content, compact) in light/dark
  • Spot-check new layout component stories (Inline, Grid, Center, Container, Separator)
  • yarn workspace @reactive/silk-native-spike test
  • yarn test:packed (optional; slower packed-consumer check)

Made with Cursor

@changeset-bot

changeset-bot Bot commented Jul 26, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 380410b

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 4 packages
Name Type
@reactive/silk-core Minor
@reactive/silk Minor
@reactive/silk-docs Patch
@reactive/silk-native-spike Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Comment thread packages/silk/src/layout/collapseBelow.ts
ntucker and others added 2 commits July 25, 2026 20:56
…e spike.

Complete the layout vocabulary (Inline, Grid, Center, Container, Separator), wire system density through space tokens, document intrinsic-first responsive strategy, add the AppSkeleton fixture, Expo contract spike, and pre-1.0 API policy.

Co-authored-by: Cursor <cursoragent@cursor.com>
Emit shared container-query rules last in each component Linaria block so equal-specificity source order wins regardless of module registration.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ntucker
ntucker force-pushed the stage-1-layout-system branch from 8dd6dba to 08fc99a Compare July 26, 2026 00:57

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 08fc99a. Configure here.

Comment thread packages/silk/src/layout/collapseBelow.ts
Stop forcing align-items:stretch on already-column Stacks; Inline still remaps stretch on collapse.

Co-authored-by: Cursor <cursoragent@cursor.com>
@ntucker
ntucker merged commit 7b6407b into main Jul 26, 2026
2 checks passed
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