Skip to content

Use the shared MoreMenuButton and ButtonGroup seam - #1266

Merged
microbit-matt-hillsdon merged 1 commit into
mainfrom
button-group-seam
Aug 16, 2026
Merged

Use the shared MoreMenuButton and ButtonGroup seam#1266
microbit-matt-hillsdon merged 1 commit into
mainfrom
button-group-seam

Conversation

@microbit-matt-hillsdon

Copy link
Copy Markdown
Collaborator

@microbit/ui's ButtonGroup now draws the seam between attached buttons itself: a 1px hairline in the variant's border colour, or a gap where the variant has no border to lend. That is what the split buttons here already hand-wrote — a borderRight and a borderLeft either side of the group's -1px overlap — so the save and send buttons lose their local borders, and MoreMenuButton goes up to the shared package with them.

The zoom and undo/redo pills drop their gray.10 dividers for the same reason. neutral has no border, so their seam is now a gap showing the page through rather than a near-white line drawn over the grey; on this surface that is the same pixels.

No visual change intended.

See microbit-foundation/ui#22

@github-actions

Copy link
Copy Markdown

Upgrade to @microbit/ui@0.1.0-alpha.30

@microbit/ui's ButtonGroup now draws the seam between attached buttons
itself: a 1px hairline in the variant's border colour, or a gap where the
variant has no border to lend. That is what the split buttons here
already hand-wrote — a `borderRight` and a `borderLeft` either side of
the group's -1px overlap — so the save and send buttons lose their local
borders, and MoreMenuButton goes up to the shared package with them.

The zoom and undo/redo pills drop their gray.10 dividers for the same
reason. `neutral` has no border, so their seam is now a gap showing the
page through rather than a near-white line drawn over the grey; on this
surface that is the same pixels.

No visual change intended.

See microbit-foundation/ui#22
@microbit-matt-hillsdon
microbit-matt-hillsdon merged commit 8397f79 into main Aug 16, 2026
1 check passed
@microbit-matt-hillsdon
microbit-matt-hillsdon deleted the button-group-seam branch August 16, 2026 18:10
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