Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(list items): rename info & infoState properties #3259

Merged
merged 5 commits into from May 28, 2021

Conversation

fifoosid
Copy link
Contributor

Part of #3107

BREAKING_CHANGE: info and infoState properties of StandardListItem have been deprecated in favour of additionalText and AdditionalTextState properties

BREAKING_CHANGE: info and infoState properties of SuggestionItem have been deprecated in favour of additionalText and AdditionalTextState properties

BREAKING_CHANGE: info and infoState properties of TreeItem have been deprecated in favour of additionalText and AdditionalTextState properties

BREAKING_CHANGE: info and infoState properties of TreeListItem have been deprecated in favour of additionalText and AdditionalTextState properties

Copy link
Contributor

@nnaydenow nnaydenow left a comment

Choose a reason for hiding this comment

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

At all it looks okey for me. We can add someone from @SAP/ui5-webcomponents-topic-rl to approve the changes in input files

packages/main/src/InputPopover.hbs Show resolved Hide resolved
{{#if info}}
<span part="info" class="ui5-li-info">{{info}}</span>
{{#if additionalText}}
<span part="additionalText" class="ui5-li-info">{{additionalText}}</span>
Copy link
Contributor

@nnaydenow nnaydenow May 18, 2021

Choose a reason for hiding this comment

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

I'm not familiar with part but should we keep its value in camelCase style?

Copy link
Member

Choose a reason for hiding this comment

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

@nnaydenow we decided to write the CSS Shadow Parts in kebab-case

Copy link
Contributor

Choose a reason for hiding this comment

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

@ilhan007 we can submit this when @fifoosid fix this

Copy link
Member

@ilhan007 ilhan007 left a comment

Choose a reason for hiding this comment

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

Check some css class naming in relation to the prop name change, described inline

@nnaydenow
Copy link
Contributor

For me it looks okey now.

@ilhan007 ilhan007 merged commit ca42531 into master May 28, 2021
@ilhan007 ilhan007 deleted the list-item-additional-text branch May 28, 2021 12:15
kskondov pushed a commit that referenced this pull request May 31, 2021
Part of #3107

BREAKING_CHANGE: ```info``` and ```infoState``` properties of ```StandardListItem``` have been deprecated in favour of ```additionalText``` and ```AdditionalTextState``` properties

BREAKING_CHANGE: ```info``` and ```infoState``` properties of ```SuggestionItem``` have been deprecated in favour of ```additionalText``` and ```AdditionalTextState``` properties

BREAKING_CHANGE: ```info``` and ```infoState``` properties of ```TreeItem``` have been deprecated in favour of ```additionalText``` and ```AdditionalTextState``` properties

BREAKING_CHANGE: ```info``` and ```infoState``` properties of ```TreeListItem``` have been deprecated in favour of ```additionalText``` and ```AdditionalTextState``` properties
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.

None yet

3 participants