-
Notifications
You must be signed in to change notification settings - Fork 53
Feature/priority navigation #573
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
Conversation
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-573.westeurope.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-573.westeurope.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-573.westeurope.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-573.westeurope.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-573.westeurope.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-573.westeurope.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-573.westeurope.azurestaticapps.net |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-573.westeurope.azurestaticapps.net |
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-573.westeurope.azurestaticapps.net |
Description
Updates tab-group to enable collapsible tabs (priority navigation) which will collapse tabs into a dropdown when there is not enough space. Uses a resizeObserver to listen to changes in the tab group size.
priority-navigation
- enables priority navigationdropdown-content-direction
- Set the flex direction of the content of the dropdown. ( Usefull if you have a stacked tab with an icon or similar.Adds the following to uui-tab:
CSS Vars:
--uui-tab-padding-horizontal
- Define the tab horizontal padding--uui-tab-text-align
- Define the tab text alignProperties:
active-bar-location
- Set the location of the active bar. ( this is used in the dropdown to make the active bar appear on the left)CSS:
Enables users to overwrite the width of a tab. by adding
width: fit-content
on host andwidth: 100%
on the tab buttonTypes of changes
Screenshots (if appropriate)
Checklist