-
Notifications
You must be signed in to change notification settings - Fork 87
Closed
Labels
refactorInternal improvementInternal improvementrequires new majorThis would be a breaking changeThis would be a breaking changev24To be done in V24To be done in V24vaadin-messages
Description
Describe your motivation
The vaadin-message elements in the vaadin-message-list component are currently in the component's shadow dom. This presents a challenge for ::part() based styling:
- The 8 shadow parts inside
vaadin-messageneed to be propagated tovaadin-message-listusing exportparts. That's rather much. - Theme names applied to
vaadin-messageinstances cannot be exposed to the::part()selector, making it impossible to style messages based on theme using::part().
Describe the solution you'd like
Move the vaadin-message elements into a slot in vaadin-message-list.
Describe alternatives you've considered
I suppose theme names applied to messages could be reflected as part names.
Additional context
No response
Metadata
Metadata
Assignees
Labels
refactorInternal improvementInternal improvementrequires new majorThis would be a breaking changeThis would be a breaking changev24To be done in V24To be done in V24vaadin-messages