BREAKING CHANGE: 'VtmnNavbarLink' remove properties label and showLabel, replaced by a span slot
Changes description
Move the Label property into slot in order to apply a sr-only with breakpoints.
Context
With SSR, it is not possible to detect the width of the device. So, in order to avoid flikering effects, we have to set the label on a slot in order to apply style show/hidden on it.
How it looks
On the navbar
Checklist
[x] Make sure you are requesting to pull a topic/feature/bugfix branch. Please, don't request directly from your main!
BREAKING CHANGE: 'VtmnNavbarLink' remove properties label and showLabel, replaced by a span slot
Changes description
Move the Label property into slot in order to apply a
sr-only
with breakpoints.Context
With SSR, it is not possible to detect the width of the device. So, in order to avoid flikering effects, we have to set the label on a slot in order to apply style show/hidden on it.
How it looks
On the navbar
Checklist
design-system-core-team-design
GitHub team.Does this introduce a breaking change?
Other information
Rework the css part and enhancer the CSS in order to match the figma with the VtmnBadge.
Current :
Target :