pattern-library icon indicating copy to clipboard operation
pattern-library copied to clipboard

axa-text implementation violates lit contract

Open markus-walther opened this issue 2 years ago • 1 comments

The current axa-text implementation has no render() method, but manipulates DOM.

The new lit version we use is more strict in demanding that lit controls the DOM, and may issue error messages in certain usage scenarios, as has been observed for this component. Axa-text is used embedded in other lit-based PL components, therefore the problem is already observable within our own collection of components.

Research an implementation alternative that preserves axa-text semantics but does not use lit's base class.

Then implement it.

markus-walther avatar May 31 '22 16:05 markus-walther

I fix the whole thing with a rewrite of the text component. Furthermore, the text component does not comply with the current styleguide.

MKaHead avatar Oct 07 '22 15:10 MKaHead