Clay: CardWithUser doesn't support a label for the sticker

Created on 26 Oct 2020  路  5Comments  路  Source: liferay/clay

We're currently only supporting userImageSrc and userSymbol to render'em as the children of the Sticker, but according to lexicon definition we should allow a label to be passed

https://liferay.design/lexicon/core-components/cards/cards-variation/#user-card

User cards represent users. The user can be represented by their user image or up to two initials extracted from their user name or name + surname.

3.x clay-components bug

All 5 comments

@carloslancha I was starting to add support for this, but I remembered that we had removed this in v2, so I went to look in the documents, I found in the changelog that we shouldn't support this anymore. Perhaps the site鈥檚 documentation is out of date cc @victorvalle @hold-shift

https://docs.google.com/document/d/1st2moaRVphrsFrDJUz-ic26aH-V46YkQam75X6BHPY0/edit#heading=h.l82je57kortn

Hi @mateomustapic !
If you mean the text inside the sticker, I believe we don't have that anymore. We removed that due to accessibility reasons.
With this I mean the stickers with text are something not desired from Lexicon.

Latest document on stickers: https://docs.google.com/document/d/1F5usuexmav7h3s9gKhUEgMhYYMMQiy_UUvHxSEx5bBE/edit#heading=h.jkrp0t7cj15n

Hey @victorvalle could you please update lexicon site to remove

User cards represent users. The user can be represented by their user image or up to two initials extracted from their user name or name + surname.

when you have a chance?

Thx!

Thanks @victorvalle and @carloslancha! Well, then I will close this issue!

Was this page helpful?
0 / 5 - 0 ratings