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

@adrian-bobev adrian-bobev requested review from ilhan007 and MapTo0 April 8, 2019 13:54
@adrian-bobev adrian-bobev force-pushed the refactor-tabcontainer branch from 1a388f8 to 6095402 Compare April 8, 2019 13:59
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
@adrian-bobev adrian-bobev force-pushed the refactor-tabcontainer branch from 6095402 to ac5230c Compare April 8, 2019 14:00
@adrian-bobev adrian-bobev force-pushed the refactor-tabcontainer branch from 23eb9ac to c082004 Compare April 9, 2019 12:07
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 requested a review from MapTo0 April 10, 2019 11:51
@adrian-bobev adrian-bobev force-pushed the refactor-tabcontainer branch from 38cdc35 to af01afc Compare April 10, 2019 13:58
@adrian-bobev adrian-bobev force-pushed the refactor-tabcontainer branch from 31142b0 to f1dfe63 Compare April 10, 2019 14:27
@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