Skip to content

feat(Regions): expose regions-container for external styling#4206

Merged
katspaugh merged 1 commit intokatspaugh:mainfrom
ricky-c-2001:feat/expose-regions-container
Sep 24, 2025
Merged

feat(Regions): expose regions-container for external styling#4206
katspaugh merged 1 commit intokatspaugh:mainfrom
ricky-c-2001:feat/expose-regions-container

Conversation

@ricky-c-2001
Copy link
Contributor

Short description

Exposes the div that containts regions for external styling outside of the shadow dom.

Implementation details

I've added the part attribute to when you create the div.

This lets you target the container with

#waveform ::part(regions-container) {
    // Your css here
}

How to test it

You can try it with yarn start and make some changes to #waveform ::part(regions-container).

Screenshots

Screen.Recording.2025-09-24.at.10.51.43.mov

Checklist

  • This PR is covered by e2e tests
  • It introduces no breaking API changes

Copy link
Owner

@katspaugh katspaugh left a comment

Choose a reason for hiding this comment

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

Thanks!

@katspaugh katspaugh merged commit dfc6833 into katspaugh:main Sep 24, 2025
5 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.

2 participants