-
Notifications
You must be signed in to change notification settings - Fork 214
docs: avatar Aura style variants and props #4862
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
base: main
Are you sure you want to change the base?
Conversation
AI Language ReviewThe Avatar documentation and source code files do not contain any new modifications or differences between the |
| Avatar has four available size variants: | ||
| == Use Cases | ||
|
|
||
| Avatar can be paired with Popover to create a user account menu. |
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.
Removed the example using menu bar and included a similar example with popover instead. Hopefully that leads to less work to make it work with Aura later on.
| -- | ||
|
|
||
| |=== | ||
| | Variant | Theme name |
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.
Removed this table, as it only duplicates what's shown in the table right above.
| |Avatar Group overlap | ||
| |`--vaadin-avatar-group-overlap` | ||
| |`8px` | ||
| |Aura, Lumo | ||
|
|
||
| |Avatar Group overlap border | ||
| |`--vaadin-avatar-group-overlap-border` | ||
| |`2px` | ||
| |Avatar Group gap | ||
| |`--vaadin-avatar-group-gap` | ||
| |Aura, Lumo |
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.
Comments by @web-padawan from #4848:
This property is marked as deprecated in the source CSS, should we maybe remove it from here?
The --vaadin-avatar-group-gap custom CSS property is missing (also supported by Lumo).
Replaced --vaadin-avatar-group-overlap-border with --vaadin-avatar-group-gap.
|
|
||
| |=== | ||
|
|
||
| === User Color Properties |
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.
Comment by @web-padawan from #4848:
Should we remove or change "User Color Properties" below as that table lists Lumo default values?
Replaced default values with supported by column. Added more rows for the additional values that only Aura supports.
List Aura style variants and props in the Avatar styling docs. (moved changes over from #4848)
Part of #4801