@joanroucoux/cairn-ui 0.6.3 → 0.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -133,7 +133,8 @@ declare class UiAvatar {
|
|
|
133
133
|
}
|
|
134
134
|
/**
|
|
135
135
|
* Round hit area around a `ui-avatar` that links somewhere: 44px on touch, 40px from 64rem, with a
|
|
136
|
-
* glow on hover and the press scale.
|
|
136
|
+
* glow on hover and the press scale. On the current page (`aria-current="page"`, which `routerLinkActive`
|
|
137
|
+
* sets through `ariaCurrentWhenActive`) it holds a soft halo. The avatar itself keeps its own size.
|
|
137
138
|
*
|
|
138
139
|
* @example
|
|
139
140
|
* <a uiAvatarLink routerLink="/profile"><ui-avatar initials="JR" label="Profile" size="auto" /></a>
|