Skip to content

Commit f603bf3

Browse files
benvinegarclaude
andcommitted
chore: add changeset for host-overridable slots
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 0ca1205 commit f603bf3

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
---
2+
"sideshow": minor
3+
---
4+
5+
Add host-overridable slots to the embeddable viewer engine. Two layout regions
6+
that carry deployment-specific guidance — the empty-board onboarding and the
7+
sidebar footer's instructional links — are now wrapped in named `<slot>`s whose
8+
fallback content is the existing self-hosted markup. An embedder projects
9+
light-DOM children with a matching `slot=` attribute into the mount element to
10+
replace a whole region; with nothing projected (and self-hosted, outside a
11+
shadow root) the fallback renders unchanged, so self-hosted parity is preserved.
12+
The new `SLOTS` registry and `SlotName` type are exported from the embed entry
13+
and `embed.d.ts` so embedders share one typed source of truth.

0 commit comments

Comments
 (0)