-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Tab Updates and enhancements #8487
Comments
@carbon-design-system/design @kingtraceyj Something that came up when @abbeyhrt and I were beginning to look at implementing this today was a question around alignment and these secondary labels. If only one tab is provided a secondary label, should the others have an empty secondary label taking up the same vertical space so that the text/icons remains aligned? Or should the ones without secondary labels revert to the default middle alignment? |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
To be clear, with the new API in v11 there's nothing blocking the configuration of the above items. Consumers can place their own custom elements, markup, components, etc into Tabs. The revisiting of the items listed above will be aimed at making it easier to configure these types of tabs correctly out of the box. |
@francinelucca Here is an updated spec of Contained tabs with a secondary label and icon. |
We are updating the usage docs to account for more use cases.
Improvement on existing tabs
Adding modifiers
Line tabs
Contained tabs
Adding in motion
See below more more details.
Pieces delivered in v11:
TabList
,TabPanels
,TabPanel
#10086/next
version #10249Can/should LineTab(s) be separate components as well soTabs
can be a common primitive for both contained and line implementations?Tasks
The text was updated successfully, but these errors were encountered: