Skip to content

feat(ui5-li-group): expose title CSS part for styling#13078

Merged
kgogov merged 1 commit intomainfrom
list-item-group-exportparts-title
Feb 13, 2026
Merged

feat(ui5-li-group): expose title CSS part for styling#13078
kgogov merged 1 commit intomainfrom
list-item-group-exportparts-title

Conversation

@kgogov
Copy link
Contributor

@kgogov kgogov commented Feb 12, 2026

The title CSS part was previously hidden inside the nested shadow DOM of ListItemGroupHeader, making it impossible to style from outside using ::part(title).

Added exportparts="title" to forward the inner title part, allowing developers to customize the group header title appearance with ui5-li-group::part(title). This enables use cases like setting full width for right-aligned header content.

Updated API documentation and added a sample demonstrating CSS Shadow Parts usage for styling group headers.

Fixes #13054

The title CSS part was previously hidden inside the nested
shadow DOM of ListItemGroupHeader, making it impossible to
style from outside using ::part(title).

Added exportparts="title" to forward the inner title part,
allowing developers to customize the group header appearance
with ui5-li-group::part(title). This enables use cases like
setting full width for right-aligned header content.

Updated API documentation and added a sample demonstrating
CSS Shadow Parts usage for styling group headers.

Fixes #13054
@ui5-webcomponents-bot
Copy link
Collaborator

ui5-webcomponents-bot commented Feb 12, 2026

🧹 Preview deployment cleaned up: https://pr-13078--ui5-webcomponents.netlify.app

@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 12, 2026 16:13 Inactive
@kgogov kgogov changed the title fix(ui5-li-group): expose title CSS part for styling feat(ui5-li-group): expose title CSS part for styling Feb 13, 2026
@kgogov kgogov merged commit e2178ae into main Feb 13, 2026
14 checks passed
@kgogov kgogov deleted the list-item-group-exportparts-title branch February 13, 2026 16:26
@ui5-webcomponents-bot ui5-webcomponents-bot temporarily deployed to preview February 13, 2026 16:26 Inactive
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.

[SF][ListItemGroup]: [Can't style the title inside shadow root]

3 participants