Skip to content

refactor(ui5-illustrated-message): remove titleLevel property#8700

Merged
yanaminkova merged 3 commits intomainfrom
ui5-illmsg-remove-titlelevel
Apr 24, 2024
Merged

refactor(ui5-illustrated-message): remove titleLevel property#8700
yanaminkova merged 3 commits intomainfrom
ui5-illmsg-remove-titlelevel

Conversation

@yanaminkova
Copy link
Copy Markdown
Contributor

Removes the titleLevel property of the ui5-illustrated-message, since users can set the required title level on the title slot.
Also, now the the slotted element has proper styles and responsiveness.

BREAKING CHANGE: The titleLevel property of the ui5-illustrated-messageis removed.
If you have previously used the titleLevel property:

<ui5-illustrated-message title-level="H6>

it will no longer work for the component.

Instead, you could set the title of the ui5-illustrated-message on the title slot, as it follows

<ui5-illustrated-message>
      <ui5-title slot="title" level="H3">This is a slotted title</ui5-title>
</ui5-illustrated-message>

Related to #8461, #7887

@yanaminkova yanaminkova merged commit 9fe199c into main Apr 24, 2024
@yanaminkova yanaminkova deleted the ui5-illmsg-remove-titlelevel branch April 24, 2024 13:12
@dobrinyonkov dobrinyonkov mentioned this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants