Skip to content

refactor(ui5-li, ui5-li-custom): rename classes#9158

Merged
ilhan007 merged 3 commits intomainfrom
refactor-rename-listitem-classes
Jun 10, 2024
Merged

refactor(ui5-li, ui5-li-custom): rename classes#9158
ilhan007 merged 3 commits intomainfrom
refactor-rename-listitem-classes

Conversation

@ilhan007
Copy link
Copy Markdown
Contributor

@ilhan007 ilhan007 commented Jun 10, 2024

Rename classes for better consistency - StandardListItem has been renamed to ListItemStandard, and CustomListItem has been renamed to `ListItemCustom.

BREAKING CHANGE: StandardListItem has been renamed to ListItemStandard, and CustomListItem has been renamed to ListItemCustom. If you previously imported the classes as follows:

import StandardListItem from "@ui5/webcomponents/StandardListItem.js";
import CustomListItem from "@ui5/webcomponents/CustomListItem.js";

now you must change imports to:

import ListItemStandard from "@ui5/webcomponents/ListItemStandard.js";
import ListItemCustom from "@ui5/webcomponents/ListItemCustom.js";

Related to: #8461

@ilhan007 ilhan007 merged commit 8f5b679 into main Jun 10, 2024
@ilhan007 ilhan007 deleted the refactor-rename-listitem-classes branch June 10, 2024 09:32
@ilhan007 ilhan007 mentioned this pull request Jun 10, 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.

2 participants