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

refactor(ui5-tabcontainer): refactor the component #318

Merged
merged 20 commits into from
Apr 12, 2019

Conversation

adrian-bobev
Copy link
Member

@adrian-bobev adrian-bobev commented Apr 8, 2019

Closes: #313

BREAKING CHANGE: 'selectedIndex' property is removed. Instead use 'selected' property of the Tab
BREAKING CHANGE: 'headerMode' property is removed. All Tabs by Fiori guidelines are rendered in
inline mode
BREAKING CHANGE: 'headerBackgroundDesign' property is removed
BREAKING CHANGE: 'backgroundDesign' property is removed
BREAKING CHANGE: 'content' property is removed. Instead if you want to use the TabContainer as
a filter just use it with 'collapsed' set to true and 'fixed' set to true
BREAKING CHANGE: 'TabContainerDensityMode' is deleted. To set different size modes use ?sap-ui-compactSize=true
BREAKING CHANGE: Tab's 'design' property is removed
BREAKING CHANGE: Tab's 'count' property is removed. Instead use the additional-text property

BREAKING CHANGE: 'selectedIndex' property is removed. Instead use 'selected' property of the Tab
BREAKING CHANGE: 'headerMode' property is removed. All Tabs by Fiori guidelines are rendered in
inline mode
BREAKING CHANGE: 'headerBackgroundDesign' property is removed
BREAKING CHANGE: 'backgroundDesign' property is removed
BREAKING CHANGE: 'content' property is removed. Instead if you want to use the TabContainer as
a filter just use it with 'collapsed' set to true and 'fixed' set to true
BREAKING CHANGE: 'TabContainerDensityMode' is deleted. To set different size modes use ?sap-ui-comp
actSize=true
BREAKING CHANGE: Tab's 'design' property is removed
BREAKING CHANGE: Tab's 'count' property is removed. Instead use the additional-text property
Copy link
Member

@MapTo0 MapTo0 left a comment

Choose a reason for hiding this comment

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

  • we should also mention that there is not default selected tab anymore. All apps should define a selected tab by property (used to be: if no selected - select the first one). This is a breaking change.

  • text color of text and additional-text

  • make inline-block and 100% width by default (root)

  • remove margin of additional-text with icon only

  • set initial tab index

@adrian-bobev
Copy link
Member Author

Lets fix the last point as a new issue, since it is reproducible even before the refactoring

@adrian-bobev adrian-bobev merged commit aa516ff into master Apr 12, 2019
@adrian-bobev adrian-bobev deleted the refactor-tabcontainer branch April 12, 2019 06:05
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.

Input does not accept SPACE in TabContainer
2 participants