Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update
AvatarSubject
component to use consistent sizing and in…
…itials generation logic - Adopted new size definitions (`xs`, `sm`, `md`, `lg`, `xlg`, `xxlg`) for AvatarSubject, ensuring a more structured approach to styling. - Introduced a method to calculate initials dynamically from names or split texts by splitting on spaces (for multi-word names). - Implemented consistent logic for handling the display of icons and initials based on provided parameters (`color`, `icon`, `size`, `isMultiSubject`, `name`), with fallbacks for size-specific configurations. - Updated internal references to use updated sizing definitions and improved readability through refactored code organization. This update enhances maintainability, clarity, and consistency within the AvatarSubject component by consolidating logic and improving documentation through clear commit message practices. (cherry picked from commit 14afa73)
- Loading branch information