Remove variant semibold, because this option is not available in the styleguide
Remove variant bold use new boolean flag bold, because bold for all text sizes possible
Change attribute variant to size
When tags are placed inside slot(children). You should use the attribute tagless so that the wrapping paragraph is not rendered.
Now the text host element has margin bottom as specified in the styleguide. To edit margins, Custom CSS prop --margin can be used, or directly rewritten to axa-text margin.
Features:
Add back shadow DOM, fix paragraph issue for screenreaders on host element with role paragraph
Add tagless attribute to not render a wrapping paragraph
Changes:
semibold
, because this option is not available in the styleguidebold
use new boolean flagbold
, because bold for all text sizes possiblevariant
tosize
tagless
so that the wrapping paragraph is not rendered.--margin
can be used, or directly rewritten toaxa-text
margin. Features:tagless
attribute to not render a wrapping paragraphbold
attribute for font-weightitalic
attribute for font-style Fix: