mirror of
https://github.com/bitwarden/clients.git
synced 2026-06-22 21:02:34 +08:00
* CL-7 Begin Implementing Avatar * add figma design to parameters * rework size property * Update Figma file to correct component * remove circle input (avatar will always be a circle) * adjust sizing and limit inputs * Setup color input and functionality * Add border option * fix bug duplicating classes * Update size for large avatar * Remove unnecessary class * Fix typo * Remove 'dynamic' input (Avatar will now regenerate on changes by default) * Use Tailwind class instead of an arbitrary value * Remove gravatars (deprecated, see SG-434) * Rename methods to a more accurate name * Rework classList() getter method * Remove unnecessary logic and services * Make properties private, and rename for better clarity * Move sanitizer logic to the TS code rather than the template * Rework and move function to a common static class in Utils * Rename 'data' to 'text' for clarity * Rework classList implementation * Remove email since we removed gravatars * Remove template * set color based on color, id, or text input * rework generate method * add explicit null/undefined check * remove comment Co-authored-by: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| app | ||
| avatar | ||
| badge | ||
| banner | ||
| button | ||
| callout | ||
| dialog | ||
| form-field | ||
| icon | ||
| input | ||
| link | ||
| menu | ||
| stories | ||
| submit-button | ||
| table | ||
| tabs | ||
| toggle-group | ||
| utils | ||
| favicon.ico | ||
| index.html | ||
| index.ts | ||
| main.ts | ||
| polyfills.ts | ||
| styles.css | ||
| styles.scss | ||
| test.setup.ts | ||
| tw-theme.css | ||
| variables.scss | ||