@atlaskit/avatar
Version:
An avatar is a visual representation of a user or entity.
3,341 lines • 106 kB
Markdown
# @atlaskit/avatar
## 30.0.3
### Patch Changes
- Updated dependencies
## 30.0.2
### Patch Changes
- [`2135c166f4159`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2135c166f4159) -
Very minor adjustments to Avatar sizing to align exactly with Figma. Updated labels in Avatar
examples to display the correct size.
## 30.0.1
### Patch Changes
- [`0f780b942b35d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0f780b942b35d) -
Use Popup's shared trigger types for existing trigger ARIA contracts.
## 30.0.0
### Major Changes
- [`ae5c32fe7bfd6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ae5c32fe7bfd6) -
Record the rollback of the DSP-25935 popup trigger type expansion in PR #487935. This restores
compatibility with existing consumers, including Jira Assets audit logs and linked objects.
Popup's `aria-haspopup` trigger contract returns to `boolean | 'dialog'`. The affected public
trigger props in Dropdown Menu, Avatar, Lozenge, Universal Create, Rovo Pins, and Navigation
System also return to their earlier contracts. Consumers using the newly added role-specific
string values must return to values supported by those earlier contracts. Popup no longer exports
`AriaHasPopup` or `TriggerAriaProps`; use `TriggerProps['aria-haspopup']` and
`Pick<TriggerProps, 'aria-controls' | 'aria-expanded' | 'aria-haspopup'>` instead.
Popup and Dropdown Menu retain their existing top-layer runtime ARIA values through the prior
compatibility adapters. Conversation Assistant returns to its previous internal trigger type
annotation without changing its public API.
### Patch Changes
- Updated dependencies
## 29.2.0
### Minor Changes
- [`228be7a992e49`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/228be7a992e49) -
Allow Avatar and Lozenge Dropdown Trigger to accept popup role values and booleans for
`aria-haspopup`, including values forwarded by Popup. Align Universal Create and Rovo Pins trigger
types with Popup when forwarding its ARIA props.
### Patch Changes
- Updated dependencies
## 29.1.1
### Patch Changes
- [`3f8590bf6d39f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3f8590bf6d39f) -
Fixed images being stretched instead of cropped to fit when `UNSAFE_isUpdatedGeometry` is enabled,
by applying `object-fit: cover` to the avatar image.
## 29.1.0
### Minor Changes
- [`3f554debe10e9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3f554debe10e9) -
Added an experimental `UNSAFE_isUpdatedGeometry` prop to `Avatar` and `AvatarGroup` that selects a
taller hexagon geometry with adjusted negative margins for the 16px, 24px, 32px, 40px, 96px, and
128px sizes. The 20px size retains the legacy geometry.
## 29.0.0
### Major Changes
- [`0c7c7be927bde`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0c7c7be927bde) -
Remove deprecated Volt re-export shims from public package entry points. Consumers should import
from the replacement subpaths or implementation entry points instead.
### Patch Changes
- Updated dependencies
## 28.0.4
### Patch Changes
- Updated dependencies
## 28.0.3
### Patch Changes
- Updated dependencies
## 28.0.2
### Patch Changes
- Updated dependencies
## 28.0.1
### Patch Changes
- [`8a39156cf22f5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8a39156cf22f5) -
Deprecate the `xsmall` Avatar prop overload while retaining runtime and type compatibility for the
current 16px size.
## 28.0.0
### Major Changes
- [`3516c9fac5ea8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3516c9fac5ea8) -
Rename the public 16px Avatar size from `xsmall` to `xxsmall` to make room for a future 20px
`xsmall` size. `xsmall` still renders at runtime for now to avoid immediate JavaScript breakages,
but it has been removed from TypeScript interfaces and will be removed in a future major before
being re-added as the public 20px size.
Run the Avatar codemod to update static 16px Avatar usage:
```diff
<Avatar
- size="xsmall"
+ size="xxsmall"
/>
```
AvatarGroup continues to exclude 16px and 20px Avatar-only sizes.
### Patch Changes
- [`3516c9fac5ea8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3516c9fac5ea8) -
Migrates internal 16px Avatar usage from `xsmall` to `xxsmall`.
- Updated dependencies
## 27.3.0
### Minor Changes
- [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
Remove stale API report artifacts from published Platform packages.
### Patch Changes
- Updated dependencies
## 27.2.2
### Patch Changes
- [`695fcbc68ad47`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/695fcbc68ad47) -
Experimental React 19 peer dependency support. This patch widens the peer range; CI coverage is
partial.
- Updated dependencies
## 27.2.1
### Patch Changes
- [`9a7653523837c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9a7653523837c) -
Use `@atlassian/testing-library` exclusively in unit tests.
## 27.2.0
### Minor Changes
- [`d82e6f76528ab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d82e6f76528ab) -
Add direct subpath package exports as part of the linking-platform, search, media, and
design-system barrel-removal (de-barrel) migration.
These packages now expose their individual modules via explicit `package.json` `exports` subpaths
so that consumers can import directly from the leaf module (e.g. `@atlaskit/pkg/thing`) instead of
the package barrel/index. This adds new public entry points without changing or removing any
existing exports, so it is a backwards-compatible additive change.
No runtime behaviour changes; this is an API-surface (entry-point) addition to support
tree-shaking and to unblock removal of the barrel index files.
### Patch Changes
- Updated dependencies
## 27.1.0
### Minor Changes
- [`8022d651e6a43`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/8022d651e6a43) -
Add the `./avatar-sizes` entry point, which exports the `AVATAR_SIZES` size map. This allows
consumers to import avatar sizing values directly via `@atlaskit/avatar/avatar-sizes`.
## 27.0.0
### Major Changes
- [`517bbea71d2d2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/517bbea71d2d2) -
**Breaking change:** The `isDecorative` prop has been removed from `Avatar`.
This prop was used to suppress `aria-labelledby` on decorative avatars. The same effect can be
achieved by passing an empty string to the `label` prop.
**Migration:**
```diff
- <Avatar src={src} name="User name" isDecorative />
+ <Avatar src={src} name="User name" label="" />
```
If you were conditionally setting `isDecorative`:
```diff
- <Avatar src={src} name={name} isDecorative={isDecorative} />
+ <Avatar src={src} name={name} label={isDecorative ? '' : undefined} />
```
### Patch Changes
- Updated dependencies
## 26.4.2
### Patch Changes
- [`e0edc05cd52d7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e0edc05cd52d7) -
Migrates internal 16px Avatar usage from `xsmall` to `xxsmall` as a 1:1 size rename with no visual
change.
## 26.4.1
### Patch Changes
- [`4b7c5c71d51c0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4b7c5c71d51c0) -
Add a codemod and migration guide for replacing 16px `xsmall` Avatar usage with `xxsmall`.
## 26.4.0
### Minor Changes
- [`3a45d08ff1c62`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3a45d08ff1c62) -
Add `xxsmall` as the public 16px Avatar size and deprecate `xsmall` as the legacy 16px alias. This
starts the migration from the existing 16/24px Avatar size scale to 16/20/24px. Static Avatar
usages in AFM should migrate from `xsmall` to `xxsmall`; `xsmall` remains available for now and
continues to render as 16px while the migration feature gate is off.
AvatarGroup continues to exclude the Avatar-only 16px and 20px sizes.
## 26.3.0
### Minor Changes
- [`6fc1fcd1b0196`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6fc1fcd1b0196) -
Adjusts hexagon avatars so that their stroke width is closer to 2px and consistent with other
avatar shapes. This change is behind the `platform_editor_agent_mentions_drop_one_fixes` feature
gate.
## 26.2.0
### Minor Changes
- [`0a1dac0483f0a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0a1dac0483f0a) -
Add a new `UNSAFE_xsmall` size variant (20px) to `Avatar`, `AvatarContent`, and `Skeleton`. It
sits between the existing `xsmall` (16px) and `small` (24px) sizes and supports presence and
status indicators.
`UNSAFE_xsmall` is an unsafe, transitional size that is intentionally hidden from the documented
size scale (`@private`). The size scale will eventually be renamed so the 16px avatar becomes
`xxsmall` and `xsmall` represents 20px. Until that migration happens, `UNSAFE_xsmall` provides a
20px avatar for consumers that need it.
### Patch Changes
- Updated dependencies
## 26.1.3
### Patch Changes
- Updated dependencies
## 26.1.2
### Patch Changes
- Updated dependencies
## 26.1.1
### Patch Changes
- Updated dependencies
## 26.1.0
### Minor Changes
- [`cd097a2111788`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd097a2111788) -
Republish packages depending on `@atlaskit/react-compiler-gating` so their published dependency
reference is updated to the renamed `@atlaskit/react-compiler-gating` scope.
The earlier rename of `@atlassian/react-compiler-gating` to `@atlaskit/react-compiler-gating` only
bumped the renamed package itself, so dependent packages were never republished and their
published versions still referenced the old `@atlassian/react-compiler-gating` name, which is not
available in the public npm registry. This minor bump republishes all affected packages with the
corrected dependency.
### Patch Changes
- Updated dependencies
## 26.0.2
### Patch Changes
- [`ee28cf33718b0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ee28cf33718b0) -
Add @atlaskit/react-compiler-gating as a runtime dependency to enable React Compiler platform
gating.
- Updated dependencies
## 26.0.1
### Patch Changes
- [`9810045072e34`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9810045072e34) -
Remove feature flag `platform_square_avatar_remove_xlarge_xxlarge_sizes`. Square avatars now
support all sizes including `xlarge` and `xxlarge`.
## 26.0.0
### Major Changes
- [`f2dc9097319f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f2dc9097319f0) - ###
Dropped support for _legacy_ Typescript 4 types. **Typescript 5 is now the new minimum**.
Removes the `typesVersions` property and `dist/types-ts4.5` directory from the dist.
Types are now exclusively via the `"types": "dist/types/index.d.ts"` property.
```diff
- "typesVersions": {
- ">=4.5 <4.9": {
- "*": [
- "dist/types-ts4.5/*",
- "dist/types-ts4.5/index.d.ts"
- ]
- }
- },
```
### Patch Changes
- Updated dependencies
## 25.15.1
### Patch Changes
- [`d39a9f06a8508`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d39a9f06a8508) -
[ux] Bug fix: square avatars allow size to be set to xlarge and xxlarge, which are invalid sizes
that should not be available for square avatars (only circle and hexagonal avatars).
## 25.15.0
### Minor Changes
- [`e52f0046ff01d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e52f0046ff01d) -
Cleanup feature gate `platform_dst_hexagon_avatar_unified_size`. Hexagonal avatars now
consistently use unified sizing to align with other avatar types. We have not seen any regression
with this breaking alignment, but it's possible to have subtle breaking changes with unsafe style
overrides.
## 25.14.2
### Patch Changes
- Updated dependencies
## 25.14.1
### Patch Changes
- [`0b2913c48cd7a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0b2913c48cd7a) -
Fix hexagon avatar hover scaling: apply motion scale transform to the outermost hexagon wrapper so
the border and content scale together, instead of only the inner content scaling.
## 25.14.0
### Minor Changes
- [`436b89822a386`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/436b89822a386) -
Autofix: add explicit package exports (barrel removal)
## 25.13.0
### Minor Changes
- [`91ec2c3ecc3b5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/91ec2c3ecc3b5) -
[ux] Added `'warning'` as a new value for the `status` prop on `Avatar` and the `Status`
component. This adds a yellow warning indicator to signal caution or attention-required states,
supporting Agent visibility use cases.
## 25.12.0
### Minor Changes
- [`1a7161faf1584`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a7161faf1584) -
[ux] Added `'warning'` as a new value for the `status` prop on `Avatar` and the `Status`
component. This adds a yellow warning indicator to signal caution or attention-required states,
supporting Agent visibility use cases.
## 25.11.7
### Patch Changes
- Updated dependencies
## 25.11.6
### Patch Changes
- [`ddd049a745d38`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ddd049a745d38) -
Internal change to how legacy colors are applied. No visual changes.
- Updated dependencies
## 25.11.5
### Patch Changes
- Updated dependencies
## 25.11.4
### Patch Changes
- [`02483200273ec`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/02483200273ec) -
Enrol all Design System UI packages into the React Compiler with platform gating via
isReactCompilerActivePlatform.
- Updated dependencies
## 25.11.3
### Patch Changes
- [`22bf79dbdcdca`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22bf79dbdcdca) -
Internal changes to remove unnecessary token fallbacks and imports from `@atlaskit/theme`
- Updated dependencies
## 25.11.2
### Patch Changes
- Updated dependencies
## 25.11.1
### Patch Changes
- [`7aef1e49e90ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7aef1e49e90ea) -
Removes redundant fallback color values via @atlaskit/theme
## 25.11.0
### Minor Changes
- [`2596f105ed08c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2596f105ed08c) -
[ux] Added motion on hover for interactive Avatar behind fg platform-dst-motion-uplift
## 25.10.0
### Minor Changes
- [`bab17fe0fd7cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bab17fe0fd7cf) -
Allow avatar border to accept non colour values like css calculated values
## 25.9.2
### Patch Changes
- [`1ba6ced5fedb9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1ba6ced5fedb9) -
Move some internal API into dedicated files to avoid them being inadvertently exported via
entrypoints.
## 25.9.1
### Patch Changes
- Updated dependencies
## 25.9.0
### Minor Changes
- [`a3d111d3b5a28`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a3d111d3b5a28) -
[ux] Cleans up platform_dst_avatar_tile and platform_dst_avatar_tile_stage2 feature gates as they
are fully rolled out now.
### Patch Changes
- [`0511c5b5930bb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0511c5b5930bb) -
Adjust the hexagonal appearance Avatar's width and height to be aligned with other Avatars behind
fg platform_dst_hexagon_avatar_unified_size
## 25.8.4
### Patch Changes
- [`eb30d533bbb0f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/eb30d533bbb0f) -
Added hexagon appearance support for avatargroup view more dropdown button
## 25.8.3
### Patch Changes
- Updated dependencies
## 25.8.2
### Patch Changes
- Updated dependencies
## 25.8.1
### Patch Changes
- Updated dependencies
## 25.8.0
### Minor Changes
- [`7140aa6f03a00`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7140aa6f03a00) -
Adds aria-controls, aria-expanded, and aria-haspopup props to Avatar, enabling it to be used
directly as a popup trigger without needing an external button wrapper.
## 25.7.5
### Patch Changes
- Updated dependencies
## 25.7.4
### Patch Changes
- Updated dependencies
## 25.7.3
### Patch Changes
- Updated dependencies
## 25.7.2
### Patch Changes
- [`a48fdadce2137`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a48fdadce2137) -
Minor internal typography changes.
- Updated dependencies
## 25.7.1
### Patch Changes
- Updated dependencies
## 25.7.0
### Minor Changes
- [`87b12e64ff750`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/87b12e64ff750) -
Removed usages of LEGACY icon props
## 25.6.3
### Patch Changes
- Updated dependencies
## 25.6.2
### Patch Changes
- [`d14ea5f60b689`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d14ea5f60b689) -
chore: migrate platform UI & component libraries icon imports from migration paths to core
## 25.6.1
### Patch Changes
- Updated dependencies
## 25.6.0
### Minor Changes
- [`7df690ca5c497`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7df690ca5c497) -
We are expanding the testing of previous changes behind an additional feature flag to more apps.
If this change is successful, it will be available in a later release.
### Patch Changes
- Updated dependencies
## 25.5.6
### Patch Changes
- [`a60a82196851a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a60a82196851a) -
Internal refactors to remove unused variables. No functional or public changes.
- Updated dependencies
## 25.5.5
### Patch Changes
- Updated dependencies
## 25.5.4
### Patch Changes
- Updated dependencies
## 25.5.3
### Patch Changes
- Updated dependencies
## 25.5.2
### Patch Changes
- Updated dependencies
## 25.5.1
### Patch Changes
- [`221b64f10f5eb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/221b64f10f5eb) -
ts-ignore added as a workaround for help-center local consumption typecheck
## 25.5.0
### Minor Changes
- [`f70c3197f7179`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f70c3197f7179) -
[ux] add hexagon appearanceShape to user-picker based on appType as agent
## 25.4.4
### Patch Changes
- Updated dependencies
## 25.4.3
### Patch Changes
- Updated dependencies
## 25.4.2
### Patch Changes
- Updated dependencies
## 25.4.1
### Patch Changes
- [`eb7832f0123e5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/eb7832f0123e5) -
Updates the Avatar hexagon shape to work better with circular images.
## 25.4.0
### Minor Changes
- [`a37090c1d91de`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a37090c1d91de) -
Adds a new hexagon appearance (`<Avatar appearance="hexagon">`) as well as a
`<Skeleton appearance="hexagon">` and internal Image default loader for this. The intent with this
appearance is documented as displaying AI agents: `circle` for users, `square` for app entities
(teams, projects, spaces), and`hexagon` for agent entities.
## 25.3.2
### Patch Changes
- [`2e422847ee061`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2e422847ee061) -
[ux] Revert PR (Add a new prop to set the container element for avatar content)
## 25.3.1
### Patch Changes
- [`42beb385671cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/42beb385671cf) -
[ux] Add a new prop to set the container element for avatar content"
## 25.3.0
### Minor Changes
- [`e314c4cb133f7`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e314c4cb133f7) -
[ux] Updates avatar and avatar group styles to reflect our new visual design language. These
changes were previously behind a feature flag and are now fully rolled out.
## 25.2.1
### Patch Changes
- [`39e543109ec09`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/39e543109ec09) -
add type info to forwardRef components
- Updated dependencies
## 25.2.0
### Minor Changes
- [`955c510552199`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/955c510552199) -
We are testing a visual change behind a feature flag. Square avatar border radius will be updated
to be consistent with the new ADS Tile System. If this change is successful it will be available
in a later release.
### Patch Changes
- Updated dependencies
## 25.1.20
### Patch Changes
- [`248faa32d4835`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/248faa32d4835) -
Internal changes to how borders are applied.
- Updated dependencies
## 25.1.19
### Patch Changes
- [`f0662cd7a143e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f0662cd7a143e) -
Internal changes to how borders are applied.
- Updated dependencies
## 25.1.18
### Patch Changes
- Updated dependencies
## 25.1.17
### Patch Changes
- [`74c2f420ee49b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/74c2f420ee49b) -
Internal changes to how border radius is applied.
- Updated dependencies
## 25.1.16
### Patch Changes
- Updated dependencies
## 25.1.15
### Patch Changes
- [`23bcc5bbc9cee`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/23bcc5bbc9cee) -
Internal changes to how border radius is applied.
- Updated dependencies
## 25.1.14
### Patch Changes
- [`cd70a377d007c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/cd70a377d007c) -
Internal changes to how border radius is applied.
## 25.1.13
### Patch Changes
- [`ef3b2dfa2f8a8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef3b2dfa2f8a8) -
Internal changes to use radius tokens. No visual changes.
## 25.1.12
### Patch Changes
- [`20a5aa8c4e7a0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/20a5aa8c4e7a0) -
Removed gridSize import. No visual changes.
## 25.1.11
### Patch Changes
- Updated dependencies
## 25.1.10
### Patch Changes
- Updated dependencies
## 25.1.9
### Patch Changes
- Updated dependencies
## 25.1.8
### Patch Changes
- [#193214](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/193214)
[`c661806a65543`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c661806a65543) -
Internal changes to how border radius and border width values are applied. No visual change.
- Updated dependencies
## 25.1.7
### Patch Changes
- Updated dependencies
## 25.1.6
### Patch Changes
- Updated dependencies
## 25.1.5
### Patch Changes
- Updated dependencies
## 25.1.4
### Patch Changes
- Updated dependencies
## 25.1.3
### Patch Changes
- Updated dependencies
## 25.1.2
### Patch Changes
- Updated dependencies
## 25.1.1
### Patch Changes
- [#155802](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155802)
[`08019848e3eab`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/08019848e3eab) -
Refreshed "issue" terminology.
- Updated dependencies
## 25.1.0
### Minor Changes
- [#152706](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/152706)
[`72f35bd8c908c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/72f35bd8c908c) -
Add prop to control lazy loading behaviour for avatar
## 25.0.5
### Patch Changes
- Updated dependencies
## 25.0.4
### Patch Changes
- [#146865](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/146865)
[`944d9adf63995`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/944d9adf63995) -
add isDecorative attribute in the Avatar
## 25.0.3
### Patch Changes
- [#142181](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142181)
[`d6934885b334e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d6934885b334e) -
Fixed some new icons that were enabled with the incorrect feature flag.
## 25.0.2
### Patch Changes
- [#129972](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/129972)
[`b2d69a39e6687`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b2d69a39e6687) -
Update `@compiled/react` dependency for improved type checking support.
- Updated dependencies
## 25.0.1
### Patch Changes
- Updated dependencies
## 25.0.0
### Major Changes
- [#122909](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/122909)
[`5330c20b7c5fd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5330c20b7c5fd) -
Migrated from `@emotion/react` to `@compiled/react` in order to improve performance, align with
the rest of the Atlaskit techstack, and support React 18 Streaming SSR. Please note, in order to
use this version of `@atlaskit/avatar`, you will need to ensure that your bundler is configured to
handle `.css` imports correctly.
Most bundlers come with built-in support for `.css` imports, so you may not need to do anything.
If you are using a different bundler, please refer to the documentation for that bundler to
understand how to handle `.css` imports.
### Patch Changes
- Updated dependencies
## 24.0.1
### Patch Changes
- Updated dependencies
## 24.0.0
### Major Changes
- [#119746](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/119746)
[`42617a5e15cd2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/42617a5e15cd2) -
Removes the `children` prop from `AvatarItem`, along with the `CustomAvatarItemProps` type.
Limiting the amount of customization that can be applied. This change is in preparation for the
migration from `@emotion/react` to Compiled CSS-in-JS.
## 23.0.0
### Major Changes
- [#117222](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117222)
[`a80e8994489e7`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a80e8994489e7) -
Removes the option to provide a function to the `children` prop to create a custom avatar. A new
`AvatarContent` sub-component is now available, which similarly enables custom content to be
provided for the avatar. This change is in preparation for the migration from `@emotion/react` to
Compiled CSS-in-JS.
Example usage before and after:
### Before
```jsx
import Avatar from '@atlaskit/avatar';
<Avatar>
{(props) => (
<span {...props}>
Custom content
</span>
)}
<Avatar>
```
### After
```jsx
import Avatar, { AvatarContent } from '@atlaskit/avatar';
<Avatar>
<AvatarContent>
Custom content
</AvatarContent>
<Avatar>
```
### Patch Changes
- Updated dependencies
## 22.0.0
### Major Changes
- [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
[`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
status of only supporting React 18 going forward. No explicit breaking change to React support has
been made in this release, but this is to signify going forward, breaking changes for React 16 or
React 17 may come via non-major semver releases.
Please refer this community post for more details:
https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
### Patch Changes
- Updated dependencies
## 21.18.4
### Patch Changes
- Updated dependencies
## 21.18.3
### Patch Changes
- [#111651](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111651)
[`0627ea1ac419e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0627ea1ac419e) -
Remove old codemods and update dependencies.
## 21.18.2
### Patch Changes
- Updated dependencies
## 21.18.1
### Patch Changes
- Updated dependencies
## 21.18.0
### Minor Changes
- [#109060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/109060)
[`4660ec858a305`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4660ec858a305) -
Update `React` from v16 to v18
### Patch Changes
- Updated dependencies
## 21.17.9
### Patch Changes
- [#104075](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104075)
[`534b86dda4d5c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/534b86dda4d5c) -
Remove unused internal exports and update dependencies.
## 21.17.8
### Patch Changes
- [#103999](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103999)
[`9f62ecec4d422`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9f62ecec4d422) -
Update dependencies.
## 21.17.7
### Patch Changes
- Updated dependencies
## 21.17.6
### Patch Changes
- [#178053](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178053)
[`cb318c8c28c26`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cb318c8c28c26) -
Internal changes to typography.
## 21.17.5
### Patch Changes
- Updated dependencies
## 21.17.4
### Patch Changes
- Updated dependencies
## 21.17.3
### Patch Changes
- [#165531](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/165531)
[`57f451bda8919`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/57f451bda8919) -
Adds side-effect config to support Compiled css extraction in third-party apps
## 21.17.2
### Patch Changes
- [#159704](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/159704)
[`b3a2ceaf98b77`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b3a2ceaf98b77) -
Internal refactoring of file names and resolving of ESLint disables.
## 21.17.1
### Patch Changes
- [#157335](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157335)
[`51a41686c7949`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/51a41686c7949) -
Fixes lineheight issue for xxxsmall avatars which was throwing off the positioning of the fallback
icon
## 21.17.0
### Minor Changes
- [#157307](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157307)
[`a1e80ec0a5e4a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a1e80ec0a5e4a) -
Enable new icons behind a feature flag.
## 21.16.1
### Patch Changes
- Updated dependencies
## 21.16.0
### Minor Changes
- [#155193](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/155193)
[`823ac616e85a9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/823ac616e85a9) -
adding data-ssr-placeholder-ignored attribute for VC calculation
### Patch Changes
- [#154751](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/154751)
[`002c8762275d8`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/002c8762275d8) -
Fix focus styles overriding custom border styles when focus is not visible.
- Updated dependencies
## 21.15.5
### Patch Changes
- Updated dependencies
## 21.15.4
### Patch Changes
- Updated dependencies
## 21.15.3
### Patch Changes
- [#148281](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/148281)
[`3c4de48168ffe`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/3c4de48168ffe) -
Update the import path of `useId*` from `@atlaskit/ds-lib`
- Updated dependencies
## 21.15.2
### Patch Changes
- Updated dependencies
## 21.15.1
### Patch Changes
- [#135555](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/135555)
[`6325e9c5617d5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6325e9c5617d5) -
Use a ID generator that is compatible with React16 and React 18
## 21.15.0
### Minor Changes
- [#129060](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/129060)
[`8613836cba783`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8613836cba783) -
updating data-vc attribute to use test-id
## 21.14.1
### Patch Changes
- Updated dependencies
## 21.14.0
### Minor Changes
- [#127511](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/127511)
[`db30e29344013`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/db30e29344013) -
Widening range of `react` and `react-dom` peer dependencies from `^16.8.0 || ^17.0.0 || ~18.2.0`
to the wider range of ``^16.8.0 || ^17.0.0 || ^18.0.0` (where applicable).
This change has been done to enable usage of `react@18.3` as well as to have a consistent peer
dependency range for `react` and `react-dom` for `/platform` packages.
### Patch Changes
- Updated dependencies
## 21.13.1
### Patch Changes
- Updated dependencies
## 21.13.0
### Minor Changes
- [#128333](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/128333)
[`e8ee91f820e6f`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e8ee91f820e6f) -
Refactors the way focus-rings are applied to avatars and avatar-groups in relation to custom
border colors.
### Patch Changes
- Updated dependencies
## 21.12.1
### Patch Changes
- Updated dependencies
## 21.12.0
### Minor Changes
- [#125278](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/125278)
[`f80ae8ed91fc9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f80ae8ed91fc9) -
Adding data-vc attributes for tracking TTVC (go/ttvc).
## 21.11.2
### Patch Changes
- [#120049](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/120049)
[`77504ff274f72`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/77504ff274f72) -
DSP-19576: Assign names to anonymous default exports
## 21.11.1
### Patch Changes
- Updated dependencies
## 21.11.0
### Minor Changes
- [#116644](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/116644)
[`40234970169dc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/40234970169dc) -
[ux] DSP-19190 We are testing a new visual appearance behind a feature flag. If successful it will
be released at a later date.
## 21.10.4
### Patch Changes
- Updated dependencies
## 21.10.3
### Patch Changes
- Updated dependencies
## 21.10.2
### Patch Changes
- [#113372](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/113372)
[`4b4faf5caa25a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/4b4faf5caa25a) -
[ux] The font size and font weight of avatar group more button is brought in line with design
system guidelines.
## 21.10.1
### Patch Changes
- Updated dependencies
## 21.10.0
### Minor Changes
- [#111696](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/111696)
[`20c2d58f6f8a9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/20c2d58f6f8a9) -
Explicitly set jsxRuntime to classic via pragma comments in order to avoid issues where jsxRuntime
is implicitly set to automatic.
### Patch Changes
- Updated dependencies
## 21.9.2
### Patch Changes
- [#110310](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/110310)
[`ea4751db471b1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ea4751db471b1) -
Allow maker-provided prop to override the context value for the AvatarContext's `size` property.
- Updated dependencies
## 21.9.1
### Patch Changes
- Updated dependencies
## 21.9.0
### Minor Changes
- [#96699](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96699)
[`65f87a3ac916`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/65f87a3ac916) -
[ux] Increase font size of secondary text from computed 11.9px to 12px.
## 21.8.0
### Minor Changes
- [#98168](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98168)
[`bc3ef8133b6c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/bc3ef8133b6c) -
Add support for React 18 in non-strict mode.
## 21.7.0
### Minor Changes
- [#96490](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96490)
[`e7e14229e1ca`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/e7e14229e1ca) -
Add support for React 18 in non-strict mode.
## 21.6.1
### Patch Changes
- [#97453](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97453)
[`6d382c5e1dce`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6d382c5e1dce) -
Export types for new avatar context.
## 21.6.0
### Minor Changes
- [#95982](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/95982)
[`44381801376a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/44381801376a) -
Creates a context to set the `size` prop for all avatars under the provider.
## 21.5.2
### Patch Changes
- [#83188](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83188)
[`cd5d06cd3329`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/cd5d06cd3329) -
Minor adjustments to improve compatibility with React 18
## 21.5.1
### Patch Changes
- [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
[`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
Upgrade Typescript from `4.9.5` to `5.4.2`
## 21.5.0
### Minor Changes
- [#69996](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69996)
[`1b320a82df61`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/1b320a82df61) -
Add Team fallback avatar
- [#73763](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/73763)
[`20bb01a34fcd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/20bb01a34fcd) -
test id selector added to Avatar label
## 21.4.6
### Patch Changes
- [#70213](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/70213)
[`31068e587071`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/31068e587071) -
[ux] Removes decorative images of presence and status from view of assistive technologies. The
presence and status are announced as part of the labeling of the parent component and therefore no
longer necessary.
## 21.4.5
### Patch Changes
- [#67339](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/67339)
[`33c37b4c2c1e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/33c37b4c2c1e) -
[ux] Remove nested images introduced in 21.4.3
## 21.4.4
### Patch Changes
- [#64854](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/64854)
[`61b09a38c764`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/61b09a38c764) -
[ux] Adds label to custom avatars using the render prop API.
## 21.4.3
### Patch Changes
- [#63807](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/63807)
[`538c46e739b6`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/538c46e739b6) -
[ux] Add accessible name to non-interactive avatars. If you are a making a test that relies on
there being only a single element containing the avatar's expected text, skipping any elements
with a `hidden` attribute will narrow down your search to only the visible element; this will make
the test act the same as it would before this change.
## 21.4.2
### Patch Changes
- Updated dependencies
## 21.4.1
### Patch Changes
- [#41729](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41729)
[`04235acacd6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/04235acacd6) - Enrol
package to push model in Jira
## 21.4.0
### Minor Changes
- [#40977](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40977)
[`994a98df01b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/994a98df01b) -
Introduce `as` prop for customising the wrapping element
## 21.3.9
### Patch Changes
- [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162)
[`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete
version.json
- Updated dependencies
## 21.3.8
### Patch Changes
- [#38336](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38336)
[`7a3cbead067`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7a3cbead067) - Default
content for label
## 21.3.7
### Patch Changes
- [#36754](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36754)
[`4ae083a7e66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ae083a7e66) - Use
`@af/accessibility-testing` for default jest-axe config and jest-axe import in accessibility
testing.
## 21.3.6
### Patch Changes
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441)
[`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal
change to use shape tokens. There is no expected visual change.
## 21.3.5
### Patch Changes
- [#36027](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36027)
[`342bd17ba74`](https://bitbucket.org/atlassian/atlassian-frontend/commits/342bd17ba74) - Fix
presence and status props being expanded to all strings instead of the allowed values.
## 21.3.4
### Patch Changes
- [#34811](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34811)
[`abf69e9a4f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/abf69e9a4f6) - Removes
usage of deprecated theme mixins in favor of static token / color usage.
## 21.3.3
### Patch Changes
- [#34804](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34804)
[`e2d375fa634`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e2d375fa634) - Refactor
how some internal styles are applied; no functional changes.
## 21.3.2
### Patch Changes
- [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
[`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
legacy types are published for TS 4.5-4.8
## 21.3.1
### Patch Changes
- [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
[`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade
Typescript from `4.5.5` to `4.9.5`
## 21.3.0
### Minor Changes
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
[`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
minor dependency bump
### Patch Changes
- Updated dependencies
## 21.2.1
### Patch Changes
- [#32211](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32211)
[`4ba10567310`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ba10567310) - Internal
changes.
## 21.2.0
### Minor Changes
- [#30248](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30248)
[`51928bbe70c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/51928bbe70c) - [ux]
Removes status/presence indicator images from the accessibility tree for the Avatar component.
### Patch Changes
- [`64f11e50567`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64f11e50567) - [ux]
Adds accessible name to standalone Presence and Status components.
- [`0ecd2a2238b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ecd2a2238b) - Add more
precision to custom component check for status and presence
## 21.1.10
### Patch Changes
- [#30134](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30134)
[`5aab9bfc96c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5aab9bfc96c) - Replace
gridSize in spacing values with corresponding spacing tokens
## 21.1.9
### Patch Changes
- Updated dependencies
## 21.1.8
### Patch Changes
- Updated dependencies
## 21.1.7
### Patch Changes
- [#29390](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29390)
[`18aeca8c199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/18aeca8c199) - Internal
change to update token references. There is no expected behaviour or visual change.
## 21.1.6
### Patch Changes
- [#29227](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29227)
[`4ee60bafc6d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ee60bafc6d) -
ED-16603: Remove tooltips from VR tests and make them opt in. To opt-in, add `allowedSideEffects`
when loading the page.
## 21.1.5
### Patch Changes
- Updated dependencies
## 21.1.4
### Patch Changes
- Updated dependencies
## 21.1.3
### Patch Changes
- Updated dependencies
## 21.1.2
### Patch Changes
- [#26699](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26699)
[`47f0e63c935`](https://bitbucket.org/atlassian/atlassian-frontend/commits/47f0e63c935) - Internal
changes to apply spacing tokens. This should be a no-op change.
## 21.1.1
### Patch Changes
- [#26488](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26488)
[`bc989043572`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bc989043572) - Internal
changes to apply spacing tokens. This should be a no-op change.
## 21.1.0
### Minor Changes
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
[`c1d012d6d20`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c1d012d6d20) - Updates
`@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behaviour change.
### Patch Changes
- Updated dependencies
## 21.0.3
### Patch Changes
- [#24968](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24968)
[`f9cd9e55e43`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f9cd9e55e43) - Update
to disabled tokens which slightly affects the opacity in disabled states
## 21.0.2
### Patch Changes
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
[`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade
Typescript from `4.3.5` to `4.5.5`
## 21.0.1
### Patch Changes
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
[`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade
Typescript from `4.2.4` to `4.3.5`.
## 21.0.0
### Major Changes
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570)
[`92bb02bc46b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/92bb02bc46b) - [ux]
There are **no code changes required** to consume this major, but you should be aware that
internal changes have been made to how `@atlaskit/avatar` loads images.
Before, the image loading behaviour was written in JS. Now, it leans on a standard HTML `img` tag
if you provide a `src` prop, allowing it to rely on the browser to optimise the loading. These
changes should result in faster image loading and an improved server-side rendering story.
In this version, the **breaking change is that you will no longer see a fallback icon while the
image is loading**. We have intentionally removed this loading behaviour as it is no longer
consistent with our native `img` behaviour-first approach, and was a source of SSR bugs. Avatar
images will load either instantly from the cache, or very fast from a CDN. In the edge cases where
there is an error with the image src provided, we will still fall back to a default icon.
### Patch Changes
- [`be23a6d8ee1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/be23a6d8ee1) - [ux]
Updates color tokens used to be more semantically accurate
## 20.5.10
### Patch Changes
- Updated dependencies
## 20.5.9
### Patch Changes
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
[`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
to TypeScript 4.2.4
## 20.5.8
### Patch Changes
- Updated dependencies
## 20.5.7
### Patch Changes
- Updated dependencies
## 20.5.6
### Patch Changes
- Updated dependencies
## 20.5.5
### Patch Changes
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
[`58884c2f6c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58884c2f6c1) - Internal
code change turning on a new linting rule.
## 20.5.4
### Patch Changes
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates
usage of deprecated token names so they're aligned with the latest naming conventions. No UI or
visual changes
- Updated dependencies
## 20.5.3
### Patch Changes
- Updated dependencies
## 20.5.2
### Patch Changes
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
[`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
for this package now pass through a tokens babel plugin, removing runtime invocations of the
tokens() function and improving bundle size.
- Updated dependencies
## 20.5.1
### Patch Changes
- Updated dependencies
## 20.5.0
### Minor Changes
- [#14319](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14319)
[`cf853e39278`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cf853e39278) - [ux] Fix
avatar focus ring in windows high contrast mode
### Patch Changes
- Updated dependencies
## 20.4.2
### Patch Changes
- Updated dependencies
## 20.4.1
### Patch Changes
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
[`0a759df738f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0a759df738f) - When
Avatar is not interactive and no `name` prop is provided, `role` and an empty `aria-label`
attributes are not rendered anymore. Screen readers consider these images as decorative now and
doesn't announce them as "Unlabeled image".
- [`016d19b8038`](https://bitbucket.org/atlassian/atlassian-frontend/commits/016d19b8038) - [ux]
When avatars are disabled they no longer will appear as interactive.
- Updated dependencies
## 20.4.0
### Minor Changes
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
[`cb101fd1d29`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb101fd1d29) - [ux]
Colors are now sourced through tokens.
### Patch Changes
- Updated dependencies
## 20.3.3
### Patch Changes
- [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
[`0d0ecc6e790`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d0ecc6e790) - Corrects
eslint supressions.
- Updated dependencies
## 20.3.2
### Patch Changes
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880)
[`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump
`@atlaskit/theme` to version `^11.3.0`.
## 20.3.1
### Patch Changes
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
[`34992526ab4`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34992526ab4) - Removes
duplicate dependency (@atlaskit/tooltip) from dependency array.
## 20.3.0
### Minor Changes
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113)
[`8f84c89cad5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f84c89cad5) - [ux] The
styles of overflow button of avatar group has been aligned with default button styles. Also,
contrast issue of the button has been fixed.
### Patch Changes
- [`af5707375f7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af5707375f7) - Internal
code changes.
- [`cfcefd986eb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cfcefd986eb) - Adds
jsdoc description to exported components.
- [`4e8f13c9b8a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4e8f13c9b8a) - Renames
internal props to match naming convention.
- [`1974621bc4d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1974621bc4d) - Add
eslint rule disable for enforcing filename and extension
- [`9e335c673bb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e335c673bb) - Rename
no-type-suffix eslint rule to type-name-no-type-suffix-nor-props, and add restriction for nameing
types props.
- [`1512054d655`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1512054d655) - Fixed
no-type-suffix eslint errors
- [`ebd98351a30`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ebd98351a30) - Corrects
internal jsdoc declarations.
- [`70679cfeb04`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70679cfeb04) - Fixed
eslint errors by using css object notation
- [`7ea77bc9fbe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ea77bc9fbe) - Internal
changes.
- Updated dependencies
## 20.2.2
### Patch Changes
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
[`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use
injected package name and version for analytics instead of version.json.
- Updated dependencies
## 20.2.1
### Patch Changes
- [#8710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8710)
[`e177a840b13`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e177a840b13) - Fix
flickering of cached avatar images on mount
## 20.2.0
### Minor Changes
- [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
[`1a8fcbf9878`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1a8fcbf9878) - [ux]
Avatar and AvatarItem now accept a label prop which allows the components to be accessible when
viewed in a screen reader. The isDisabled prop now correctly generates the appropriate markup (was
a span, now a disabled button) for screen reader users.
### Patch Changes
- [`8308fe23b9b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8308fe23b9b) - Removing
incorrect cursor styles from non-interactive AvatarItems
- Updated dependencies
## 20.1.1
### Patch Changes
- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
[`fe59fc62a58`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe59fc62a58) -
Increased the contrast for the fallback icon of the Avatar package so that it passes WCAG AA
contrast requirements.
## 20.1.0
### Minor Changes
- [#7170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7170)
[`4f9e6e2db5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4f9e6e2db5) - These
packages now have defined entry points -- this means that you cannot access internal files in the
packages that are not meant to be public. Sub-components in these packages have been explicitly
defined, aiding tree-shaking and reducing bundle size.
### Patch Changes
- Updated dependencies
## 20.0.8
### Patch Changes
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
[`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile
packages using babel rather than tsc
## 20.0.7
### Patch Changes
- [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228)
[`5c1b4d64ef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c1b4d64ef) - [ux] There
were two browser specific issues in avatar component. 1- Misalignment in firefox (Interactive
button avatar is incorrectly aligned) — To fix this we added font-size and font-family to button
element. 2- Hover issue in safari (On hover avatar was showing rectangular background) — To fix
this we have added border radius to avatar on hover.
## 20.0.6
### Patch Changes
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
[`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
compiler option. This requires version 3.8 of Typescript, read more about how we handle Typescript
versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
`devDependencies` to denote version that the package was built with.
## 20.0.5
### Patch Changes
- Updated dependencies
## 20.0.4
### Patch Changes
- Updated dependencies
## 20.0.3
### Patch Changes
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885)
[`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded
to TypeScript 3.9.6 and tslib to 2.0.0
Since tslib is a dependency for all our packages we recommend that products also follow this tslib
upgrade to prevent duplicates of tslib being bundled.
## 20.0.2
### Patch Changes
- [#3293](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3293)
[`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme
and package information has been updated to point to the new design system website.
## 20.0.1
### Patch Changes
- [#4044](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4044)
[`dfd7418707`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dfd7418707) - Added
types for function parameters in the Presence, Status and Skeleton avatar sub-components. Without
these types we were unable to generate prop tables in the documentation site using
`extract-react-types`.
## 20.0.0
### Major Changes
- [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428)
[`cde426961a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cde426961a) - Changes to
Avatar in this release are intended to provide users with more flexible and performant
customization options.
Previously Avatars could only be customized like so:
```javascript
<Avatar component={Button} />
```
This is restrictive in that you're not able to pass custom props or children to button without
passing props directly through to Avatar first.
Now with render props, we can enable that:
```jsx
const initials = 'MCB';
<Avatar render={(props) => <Button {...props}>{initials} // custom initials etc.</Button>} />;
```
Since there are significant prop and API changes we provided a codemod to help consumers upgrade
their components.
**Running the codemod cli**
To run the codemod: **You first need to have the latest avatar installed before you can run the
codemod**
`yarn upgrade @atlaskit/avatar@^19.0.0`
Once upgraded, use the Atlaskit codemod-cli;
`npx @atlaskit/codemod-cli --parser [PARSER] --extensions [FILE_EXTENSIONS] [TARGET_PATH]`
Or run `npx @atlaskit/codemod-cli -h` for more details on usage. For Atlassians, refer to
[this doc](https://hello.atlassian.net/wiki/spaces/AF/pages/2627171992/Codemods) for more details
on the codemod CLI.
**Change summary:**
- BREAKING: `Avatar`'s `component` prop is now a
[renderProp](https://reactjs.org/docs/render-props.html) and has been renamed to `render`
- BREAKING: `AvatarItem`'s `component` prop is now a
[renderProp](https://reactjs.org/docs/render-props.html) and has been renamed to `render`
- Avatar now forwards its ref
- AvatarItem now forwards its ref
- Type `AvatarClickType` has been renamed to `AvatarClickEventHandler`
### Patch Changes
- [`cacf9a3097`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cacf9a3097) - Fixes a
regression in AvatarItem where the default padding was 16px instead of 4px.
- [`e99c1c2ac8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99c1c2ac8) - Removes
text decoration from AvatarItems rendered as anchor tags
- [`19b9dc6daf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19b9dc6daf) - Avatar now
sends complete contextualised analytics metadata.
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all
the theme imports to be tree-shakable
## 19.0.0
### Major Changes
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335)
[`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially
dropping IE11 support, from this version onwards there are no warranties of the package working in
IE11. For more information see:
https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
### Patch Changes
- Updated dependencies
## 18.0.2
### Patch Changes
- [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443)
[`1c401b41d6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1c401b41d6) - Codemod
updated to target the correct avatarItem prop name
- [`e3cb6026bc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3cb6026bc) - Updates
the v18 codemod to ensure it doesnt format files that are not relevant
## 18.0.1
### Patch Changes
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866)
[`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and
supporting files will no longer be published to npm
## 18.0.0
### Major Changes
- [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137)
[`b1fa2d6d1c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1fa2d6d1c) - Avatar has
been refactored to improve performance and be compliant with the lite-mode specification. Since
there are significant prop and API changes, we will be providing a codemod to help consumers
upgrade their components.
To run the codemod:
**You first need to have the latest avatar installed before you can run the codemod**
`yarn upgrade @atlaskit/avatar@^18.0.0`
**Run the codemod cli**
`npx @atlaskit/codemod-cli /path/to/target/directory`
For more information on @atlaskit/codemod-cli please refer to
[this doc](https://atlaskit.atlassian.com/docs/guides/atlassian-codemods)
**Summary**
- Fixes re-rendering issues
- Removes all deprecated theme API. This includes previous experimental dark-mode theme support
- Stop accepting and spreading arbitrary props
- Removes analytics-next HOCs in favor of hook variant (You may need to update snapshot tests)
- Removes all usage of HOCs
- Replaces `styled-components` v3 with `@emotion/core` to improve runtime and bundlesize
**Avatar API / PROP CHANGES**
- `enableTooltip` removed. Please use `@atlaskit/tooltip` instead
- `onClick` method signature has been simplified to `onChange(event, analyticsEvent)`
- `isHover` removed
- `isActive` removed
- `isFocus` removed
- `isSelected` removed
- `theme` removed
- Added prop types to the `component` prop
- `BORDER_WIDTH` is now a single value rather than an object
- `withPseudoState`, `getProps`, `getBorderRadius`, `getInnerStyles` have been removed and are
therefor no longer available. These methods were for designed for internal use and use within
the AvatarGroup component.
**Avatar Item API / PROP CHANGES**
- `enableTruncation` renamed to `isTruncationDisabled`
- `onClick` method signature has been simplified to `onChange(event, analyticsEvent)`
- `isHover` removed
- `isActive` removed
- `isFocus` removed
- `isSelected` removed
- `theme` removed
- Added prop types to the `component` prop
## 17.1.11
### Patch Changes
- Updated dependencies
## 17.1.10
### Patch Changes
- [patch][167a55fd7a](https://bitbucket.org/atlassian/atlassian-frontend/commits/167a55fd7a):
Change imports to comply with Atlassian conventions- Updated dependencies
[3940bd71f1](https://bitbucket.org/atlassian/atlassian-frontend/commits/3940bd71f1):
- Updated dependencies
[9e4b195732](https://bitbucket.org/atlassian/atlassian-frontend/commits/9e4b195732):
- Updated dependencies
[6b8e60827e](https://bitbucket.org/atlassian/atlassian-frontend/commits/6b8e60827e):
- Updated dependencies
[449ef134b3](https://bitbucket.org/atlassian/atlassian-frontend/commits/449ef134b3):
- Updated dependencies
[57c0487a02](https://bitbucket.org/atlassian/atlassian-frontend/commits/57c0487a02):
- Updated dependencies
[fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
- @atlaskit/tooltip@15.2.6
- @atlaskit/toggle@8.1.7
- @atlaskit/button@13.3.11
- @atlaskit/icon@20.1.1
- @atlaskit/webdriver-runner@0.3.4
## 17.1.9
### Patch Changes
- Updated dependencies
[66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
- Updated dependencies
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
- Updated dependencies
[64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
- Updated dependencies
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
- Updated dependencies
[eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
- Updated dependencies
[fd5292fd5a](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd5292fd5a):
- Updated dependencies
[109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
- Updated dependencies
[c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
- @atlaskit/docs@8.4.0
- @atlaskit/icon@20.1.0
- @atlaskit/webdriver-runner@0.3.0
- @atlaskit/field-base@14.0.2
- @atlaskit/button@13.3.9
- @atlaskit/section-message@4.1.7
- @atlaskit/toggle@8.1.6
- @atlaskit/tooltip@15.2.5
## 17.1.8
### Patch Changes
- Updated dependencies
[e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
- @atlaskit/webdriver-runner@0.2.0
- @atlaskit/button@13.3.8
- @atlaskit/section-message@4.1.6
- @atlaskit/toggle@8.1.5
- @atlaskit/tooltip@15.2.4
## 17.1.7
### Patch Changes
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
[6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
- @atlaskit/docs@8.3.2
- @atlaskit/visual-regression@0.1.9
- @atlaskit/analytics-next@6.3.5
- @atlaskit/button@13.3.7
- @atlaskit/field-base@14.0.1
- @atlaskit/icon@20.0.1
- @atlaskit/section-message@4.1.5
- @atlaskit/theme@9.5.1
- @atlaskit/toggle@8.1.4
- @atlaskit/tooltip@15.2.3
## 17.1.6
### Patch Changes
- [patch][b9dc265bc9](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9dc265bc9):
Avatar-item will now respect the width of it's parent container- Updated dependencies
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
- @atlaskit/field-base@14.0.0
- @atlaskit/icon@20.0.0
- @atlaskit/section-message@4.1.4
- @atlaskit/docs@8.3.1
- @atlaskit/button@13.3.6
- @atlaskit/tooltip@15.2.2
## 17.1.5
### Patch Changes
- [patch][24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
Corrects bgColor type from never to string- Updated dependencies
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
- Updated dependencies
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
- Updated dependencies
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
- Updated dependencies
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
- Updated dependencies
[24865cfaff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/24865cfaff):
- @atlaskit/tooltip@15.2.0
- @atlaskit/analytics-next@6.3.3
- @atlaskit/field-base@13.0.16
## 17.1.4
### Patch Changes
- [patch][d222c2b987](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d222c2b987):
Theme has been converted to Typescript. Typescript consumers will now get static type safety. Flow
types are no longer provided.
### Breaking
** getTokens props changes ** When defining the value function passed into a ThemeProvider, the
getTokens parameter cannot be called without props; if no props are provided an empty object `{}`
must be passed in:
```javascript
<CustomTheme.Provider
value={t => ({ ...t(), backgroundColor: '#333'})}
>
```
becomes:
```javascript
<CustomTheme.Provider
value={t => ({ ...t({}), backgroundColor: '#333'})}
>
```
** Color palette changes ** Color palettes have been moved into their own file. Users will need to
update imports from this:
```javascript
import { colors } from '@atlaskit/theme';
colors.colorPalette('8');
```
to this:
```javascript
import { colorPalette } from '@atlaskit/theme';
colorPalette.colorPalette('8');
```
or for multi entry-point users:
```javascript
import * as colors from '@atlaskit/theme/colors';
colors.colorPalette('8');
```
to this:
```javascript
import * as colorPalettes from '@atlaskit/theme/color-palette';
colorPalettes.colorPalette('8');
```
## 17.1.3
### Patch Changes
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
## 17.1.2
### Patch Changes
- [patch][a2d0043716](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a2d0043716):
Updated version of analytics-next to fix potential incompatibilities with TS 3.6
## 17.1.1
### Patch Changes
- [patch][8dff68dffa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8dff68dffa):
AvatarItems will only present a pointer cursor if onClick or href has been supplied
## 17.1.0
### Minor Changes
- [minor][79689c9027](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/79689c9027):
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help
products to write better integration and end to end tests.
## 17.0.1
### Patch Changes
- [patch][40bda8f796](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/40bda8f796):
@atlaskit/avatar-group has been converted to Typescript. Typescript consumers will now get static
type safety. Flow types are no longer provided. No API or behavioural changes.
## 17.0.0
### Major Changes
- [major][8d0f37c23e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8d0f37c23e):
@atlaskit/avatar has been converted to Typescript. Typescript consumers will now get static type
safety. Flow types are no longer provided. No API or behavioural changes.
## 16.1.0
### Minor Changes
- [minor][c6efb2f5b6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c6efb2f5b6):
Prefix the legacy lifecycle methods with UNSAFE\_\* to avoid warning in React 16.9+
More information about the deprecation of lifecycles methods can be found here:
https://reactjs.org/blog/2018/03/29/react-v-16-3.html#component-lifecycle-changes
## 16.0.14
### Patch Changes
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving
non-relative imports as relative imports
## 16.0.13
### Patch Changes
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
Upgraded Typescript to 3.3.x
## 16.0.12
### Patch Changes
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
Change all the imports to theme in Core to use multi entry points
## 16.0.11
### Patch Changes
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
Updates component maintainers
## 16.0.10
### Patch Changes
- [patch][926b43142b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926b43142b):
Analytics-next has been converted to Typescript. Typescript consumers will now get static type
safety. Flow types are no longer provided. No behavioural changes.
**Breaking changes**
- `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
- `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
**Breaking changes to TypeScript annotations**
- `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
props as a generic type.
- `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
props as a generic type.
- Type `WithAnalyticsEventProps` has been renamed to `WithAnalyticsEventsProps` to match source
code
- Type `CreateUIAnalyticsEventSignature` has been renamed to `CreateUIAnalyticsEvent` to match
source code
- Type `UIAnalyticsEventHandlerSignature` has been renamed to `UIAnalyticsEventHandler` to match
source code
- Type `AnalyticsEventsPayload` has been renamed to `AnalyticsEventPayload`
- Type `ObjectType` has been removed, please use `Record<string, any>` or `[key: string]: any`
- Type `UIAnalyticsEventInterface` has been removed, please use `UIAnalyticsEvent`
- Type `AnalyticsEventInterface` has been removed, please use `AnalyticsEvent`
- Type `CreateAndFireEventFunction` removed and should now be inferred by TypeScript
- Type `AnalyticsEventUpdater` removed and should now be inferred by TypeScript
## 16.0.9
### Patch Changes
- [patch][d905cbc0ac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d905cbc0ac):
Adding a condition to check if the component are referenced in tests running in CI. It reduces the
noise and help reading the CI log.
## 16.0.8
- Updated dependencies
[7e9d653278](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e9d653278):
- @atlaskit/toggle@8.0.0
## 16.0.7
### Patch Changes
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
Consume analytics-next ts type definitions as an ambient declaration.
## 16.0.6
- Updated dependencies
[06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
- @atlaskit/docs@8.1.3
- @atlaskit/button@13.0.9
- @atlaskit/field-base@13.0.6
- @atlaskit/section-message@4.0.5
- @atlaskit/toggle@7.0.3
- @atlaskit/tooltip@15.0.2
- @atlaskit/icon@19.0.0
## 16.0.5
### Patch Changes
- [patch][4615439434](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4615439434):
index.ts will now be ignored when publishing to npm
## 16.0.4
- Updated dependencies
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
- @atlaskit/icon@18.0.1
- @atlaskit/tooltip@15.0.0
## 16.0.3
- Updated dependencies
[cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
- @atlaskit/docs@8.1.2
- @atlaskit/button@13.0.8
- @atlaskit/field-base@13.0.4
- @atlaskit/section-message@4.0.2
- @atlaskit/toggle@7.0.1
- @atlaskit/tooltip@14.0.3
- @atlaskit/icon@18.0.0
## 16.0.2
- Updated dependencies
[6dd86f5b07](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6dd86f5b07):
- @atlaskit/icon@17.1.1
- @atlaskit/theme@9.0.2
- @atlaskit/section-message@4.0.0
## 16.0.1
- [patch][21854842b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/21854842b5):
- Clean couple of TODO's that were already done
## 16.0.0
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
this package, please ensure you use at least this version of react and react-dom.
## 15.0.5
- [patch][d01ab3961b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d01ab3961b):
- Bugfix: fixes issue with src image flickering
## 15.0.4
- Updated dependencies
[9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
- @atlaskit/docs@7.0.3
- @atlaskit/button@12.0.3
- @atlaskit/field-base@12.0.2
- @atlaskit/icon@16.0.9
- @atlaskit/section-message@2.0.3
- @atlaskit/toggle@6.0.4
- @atlaskit/tooltip@13.0.4
- @atlaskit/theme@8.1.7
## 15.0.3
- Updated dependencies
[1e826b2966](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e826b2966):
- @atlaskit/docs@7.0.2
- @atlaskit/analytics-next@4.0.3
- @atlaskit/icon@16.0.8
- @atlaskit/section-message@2.0.2
- @atlaskit/theme@8.1.6
- @atlaskit/toggle@6.0.3
- @atlaskit/tooltip@13.0.3
- @atlaskit/button@12.0.0
## 15.0.2
- [patch][ea173a3ee2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ea173a3ee2):
- Internal changes only. Component is now SSR compatible. If server side rendered, Avatar Images
will begin to load immediately; before client bundle is ready. If this is undesired, `imageUrl`
can be passed in after component is mounted.
## 15.0.1
- Updated dependencies
[9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
- @atlaskit/docs@7.0.1
- @atlaskit/analytics-next@4.0.1
- @atlaskit/icon@16.0.5
- @atlaskit/section-message@2.0.1
- @atlaskit/theme@8.0.1
- @atlaskit/toggle@6.0.1
- @atlaskit/tooltip@13.0.1
- @atlaskit/button@11.0.0
## 15.0.0
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
- Drop ES5 from all the flow modules
### Dropping CJS support in all @atlaskit packages
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only
distribute esm. This means all distributed code will be transpiled, but will still contain
`import` and `export` declarations.
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
```js
import colors from `@atlaskit/theme/colors`;
```
Previously this was sort of possible for consumers by doing something like:
```js
import colors from `@atlaskit/theme/dist/esm/colors`;
```
This has a couple of issues. 1, it treats the file system as API making internal refactors harder,
we have to worry about how consumers might be using things that aren't _actually_ supposed to be
used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of
packages bundling all of theme, just to use a single color, especially in situations where tree
shaking fails.
To support being able to use multiple entrypoints internally, we unfortunately cannot have
multiple distributions as they would need to have very different imports from of their own
internal dependencies.
ES Modules are widely supported by all modern bundlers and can be worked around in node
environments.
We may choose to revisit this solution in the future if we find any unintended condequences, but
we see this as a pretty sane path forward which should lead to some major bundle size decreases,
saner API's and simpler package architecture.
Please reach out to #fabric-build (if in Atlassian) or create an issue in
[Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for
external) if you have any questions or queries about this.
## 14.1.9
- [patch][92d8e6317c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/92d8e6317c):
- Check if the DOM is available when rendering an AvatarImage so that SSR rendered Avatars will
render with the provided image.
## 14.1.8
- Updated dependencies
[d7ef59d432](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d7ef59d432):
- @atlaskit/docs@6.0.1
- @atlaskit/button@10.1.2
- @atlaskit/field-base@11.0.14
- @atlaskit/section-message@1.0.16
- @atlaskit/toggle@5.0.15
- @atlaskit/tooltip@12.1.15
- @atlaskit/icon@16.0.0
## 14.1.7
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
- @atlaskit/analytics-next@3.1.2
- @atlaskit/button@10.1.1
- @atlaskit/field-base@11.0.13
- @atlaskit/icon@15.0.2
- @atlaskit/section-message@1.0.14
- @atlaskit/theme@7.0.1
- @atlaskit/toggle@5.0.14
- @atlaskit/tooltip@12.1.13
- @atlaskit/docs@6.0.0
## 14.1.6
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
- Change API to experimental theming API to namespace component themes into separate contexts and
make theming simpler. Update all dependant components.
## 14.1.5
- Updated dependencies [ab9b69c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ab9b69c):
- @atlaskit/docs@5.2.2
- @atlaskit/button@10.0.1
- @atlaskit/field-base@11.0.11
- @atlaskit/section-message@1.0.12
- @atlaskit/toggle@5.0.12
- @atlaskit/tooltip@12.1.11
- @atlaskit/icon@15.0.0
## 14.1.4
- Updated dependencies [6998f11](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6998f11):
- @atlaskit/docs@5.2.1
- @atlaskit/analytics-next@3.1.1
- @atlaskit/icon@14.6.1
- @atlaskit/section-message@1.0.11
- @atlaskit/theme@6.2.1
- @atlaskit/toggle@5.0.11
- @atlaskit/tooltip@12.1.10
- @atlaskit/button@10.0.0
## 14.1.3
- [patch][a981c43](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a981c43):
- Update Avatar to allow to use a custom icon as status.
## 14.1.2
- [patch] Adds missing implicit @babel/runtime dependency
[b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
## 14.1.1
- [patch] Update avatar index exports to fix babel transpilation bug
[0208158](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0208158)
## 14.1.0
- [minor] Adds new theming API to Avatar and AvatarItem components
[79dd93f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/79dd93f)
## 14.0.11
- [patch] Updated dependencies
[65c6514](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/65c6514)
- @atlaskit/docs@5.0.8
- @atlaskit/button@9.0.13
- @atlaskit/field-base@11.0.8
- @atlaskit/section-message@1.0.8
- @atlaskit/toggle@5.0.9
- @atlaskit/tooltip@12.1.1
- @atlaskit/icon@14.0.0
## 14.0.10
- [patch] Fix bug where analytics was causing avatar to always have an onClick and render with
onClick styles/attributes.
[966f1fb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/966f1fb)
## 14.0.8
- [patch] Updated dependencies
[df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
- @atlaskit/theme@6.0.0
- @atlaskit/tooltip@12.0.9
- @atlaskit/toggle@5.0.6
- @atlaskit/section-message@1.0.5
- @atlaskit/icon@13.2.5
- @atlaskit/field-base@11.0.5
- @atlaskit/button@9.0.6
- @atlaskit/docs@5.0.6
## 14.0.7
- [patch] updated the custom component proxy to be class instead of function to fix the errors
related to innerRef [06690a6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06690a6)
- [none] Updated dependencies
[06690a6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06690a6)
## 14.0.6
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions
read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
- [none] Updated dependencies
[a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
- @atlaskit/tooltip@12.0.5
- @atlaskit/field-base@11.0.3
- @atlaskit/analytics-next@3.0.4
- @atlaskit/toggle@5.0.5
- @atlaskit/button@9.0.5
- @atlaskit/theme@5.1.3
- @atlaskit/section-message@1.0.4
- @atlaskit/icon@13.2.4
## 14.0.5
- [patch] Updated dependencies
[acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
- @atlaskit/tooltip@12.0.4
- @atlaskit/icon@13.2.2
- @atlaskit/toggle@5.0.4
- @atlaskit/section-message@1.0.3
- @atlaskit/button@9.0.4
- @atlaskit/theme@5.1.2
- @atlaskit/analytics-next@3.0.3
- @atlaskit/docs@5.0.2
- @atlaskit/field-base@11.0.2
## 14.0.4
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
- [none] Updated dependencies
[7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
- @atlaskit/tooltip@12.0.3
- @atlaskit/field-base@11.0.1
- @atlaskit/analytics-next@3.0.2
- @atlaskit/toggle@5.0.3
- @atlaskit/button@9.0.3
- @atlaskit/theme@5.1.1
- @atlaskit/section-message@1.0.2
- @atlaskit/icon@13.2.1
## 14.0.3
- [patch] Update docs, change dev deps
[25d6e48](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d6e48)
- [none] Updated dependencies
[25d6e48](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d6e48)
## 14.0.2
- [patch] Move analytics tests and replace elements to core
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
- [none] Updated dependencies
[49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
- @atlaskit/tooltip@12.0.1
- @atlaskit/analytics-next@3.0.1
- @atlaskit/toggle@5.0.1
- @atlaskit/button@9.0.2
- @atlaskit/docs@5.0.1
## 14.0.1
- [patch] Updated dependencies
[e6b1985](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e6b1985)
- @atlaskit/tooltip@12.0.0
- @atlaskit/icon@13.1.1
## 14.0.0
- [major] Provides analytics for common component interations. See the
[Instrumented Components](https://atlaskit.atlassian.com/packages/core/analytics-next) section for
more details. If you are using enzyme for testing you will have to use
[our forked version of the library](https://atlaskit.atlassian.com/docs/guides/testing#we-use-a-forked-version-of-enzyme).
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
- [major] Updates to React ^16.4.0
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
- [major] Updated dependencies
[563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
- @atlaskit/tooltip@11.0.0
- @atlaskit/field-base@11.0.0
- @atlaskit/analytics-next@3.0.0
- @atlaskit/toggle@5.0.0
- @atlaskit/button@9.0.0
- @atlaskit/theme@5.0.0
- @atlaskit/docs@5.0.0
- @atlaskit/icon@13.0.0
- [major] Updated dependencies
[7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
- @atlaskit/tooltip@11.0.0
- @atlaskit/field-base@11.0.0
- @atlaskit/analytics-next@3.0.0
- @atlaskit/toggle@5.0.0
- @atlaskit/button@9.0.0
- @atlaskit/theme@5.0.0
- @atlaskit/docs@5.0.0
- @atlaskit/icon@13.0.0
## 13.0.0
- [major] Remove unneeded componentType and functionType type exports
[7724115](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7724115)
- [none] Updated dependencies
[da63331](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/da63331)
- @atlaskit/button@8.2.5
- [none] Updated dependencies
[7724115](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7724115)
- @atlaskit/button@8.2.5
## 12.0.0
- [major] Split avatar-group into its own package
[8a01bcd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8a01bcd)
- [none] Updated dependencies
[8a01bcd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8a01bcd)
## 11.2.2
- [patch] Remove or update \$FlowFixMe
[e8ad98a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e8ad98a)
- [none] Updated dependencies
[e8ad98a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e8ad98a)
- @atlaskit/button@8.2.4
- @atlaskit/icon@12.6.1
- @atlaskit/dropdown-menu@5.2.1
## 11.2.1
- [patch] Fix \$FlowFixMe and release packages
[25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
- [none] Updated dependencies
[25d0b2d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25d0b2d)
- @atlaskit/tooltip@10.3.1
- @atlaskit/button@8.2.2
- @atlaskit/icon@12.3.1
## 11.2.0
- [minor] Fixes types for Flow 0.74
[dc50cd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc50cd2)
- [none] Updated dependencies
[dc50cd2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/dc50cd2)
- @atlaskit/tooltip@10.3.0
- @atlaskit/button@8.2.0
- @atlaskit/icon@12.2.0
- @atlaskit/dropdown-menu@5.1.0
## 11.1.1
- [patch] Update changelogs to remove duplicate
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
- [none] Updated dependencies
[cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
- @atlaskit/theme@4.0.3
- @atlaskit/item@7.0.4
- @atlaskit/icon@12.1.1
- @atlaskit/field-base@10.1.1
- @atlaskit/dropdown-menu@5.0.3
- @atlaskit/button@8.1.1
- @atlaskit/docs@4.1.1
## 11.1.0
- [none] Updated dependencies
[9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
- @atlaskit/tooltip@10.2.0
- @atlaskit/item@7.0.3
- @atlaskit/dropdown-menu@5.0.2
- @atlaskit/icon@12.1.0
- @atlaskit/toggle@4.0.2
- @atlaskit/docs@4.1.0
- @atlaskit/theme@4.0.2
- @atlaskit/field-base@10.1.0
- @atlaskit/button@8.1.0
## 11.0.1
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
- [patch] Updated dependencies
[223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
- @atlaskit/tooltip@10.0.1
- @atlaskit/item@7.0.1
- @atlaskit/icon@12.0.1
- @atlaskit/toggle@4.0.1
- @atlaskit/field-base@10.0.1
- @atlaskit/button@8.0.1
- @atlaskit/theme@4.0.1
- @atlaskit/docs@4.0.1
- @atlaskit/dropdown-menu@5.0.1
## 11.0.0
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to
^3.2.6 [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
- [patch] Updated dependencies
[1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
- @atlaskit/tooltip@10.0.0
- @atlaskit/item@7.0.0
- @atlaskit/icon@12.0.0
- @atlaskit/toggle@4.0.0
- @atlaskit/field-base@10.0.0
- @atlaskit/button@8.0.0
- @atlaskit/theme@4.0.0
- @atlaskit/docs@4.0.0
- @atlaskit/dropdown-menu@5.0.0
## 10.0.7
- [patch] Fix text color for items with href in AvatarGroup
[2cbb9ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2cbb9ff)
- [none] Updated dependencies
[2cbb9ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2cbb9ff)
## 10.0.6
- [patch] Updated dependencies
[d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
- @atlaskit/icon@11.3.0
- @atlaskit/tooltip@9.2.1
- @atlaskit/toggle@3.0.2
- @atlaskit/item@6.0.3
- @atlaskit/field-base@9.0.3
- @atlaskit/dropdown-menu@4.0.3
- @atlaskit/button@7.2.5
- @atlaskit/theme@3.2.2
- @atlaskit/docs@3.0.4
## 10.0.4
- [patch] Fix clipping of dropdown items in avatar group for certain browsers
[7b82fa6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7b82fa6)
## 10.0.3
- [patch] Fix avatars appearing clickable when no onClick or href prop is provided
[e6fec4f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e6fec4f)
## 10.0.2
- [patch] Fix native tooltips appearing for avatars without a src prop
[6a3fb67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/6a3fb67)
## 10.0.0
- [major] Bump to React 16.3.
[4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
## 9.2.3
- [patch] Remove dependency on @atlaskit/polyfill as it is not being used.
[f0f9307](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f0f9307)
- [patch] Add "sideEffects: false" to AKM2 packages to allow consumer's to tree-shake
[c3b018a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c3b018a)
## 9.2.2
- [patch] Makes packages Flow types compatible with version 0.67
[25daac0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/25daac0)
## 9.2.1
- [patch] Re-releasing due to potentially broken babel release
[9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
## 9.2.0
- [minor] Update styled-components dependency to support versions 1.4.6 - 3
[ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
## 9.1.0
- [minor] Create skeleton representations of various components
[cd628e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cd628e4)
## 9.0.4
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2
[1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
## 9.0.2
- [patch] Remove babel-plugin-react-flow-props-to-prop-types
[06c1f08](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06c1f08)
## 9.0.1
- [patch] Packages Flow types for elements components
[3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
## 9.0.0
- [major] onAvatarClick prop on AvatarGroup now has a second argument. This second argument is the
item that was clicked on. [23a488e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/23a488e)
## 8.4.1
- [patch] Migrate Navigation from Ak repo to ak mk 2 repo, Fixed flow typing inconsistencies in ak
mk 2 [bdeef5b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bdeef5b)
## 8.4.0
- [minor] Add React 16 support.
[12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
## 8.3.10
- [patch] update flow dep, fix flow errors
[722ad83](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/722ad83)
- [patch] update flow dep, fix flow errors
[722ad83](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/722ad83)
## 8.3.6
- [patch] migrating avatar package to new repo
[f3f5e51](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f3f5e51)
## 8.3.5 (2017-11-30)
- bug fix; release stories with fixed console errors
([3321c2b](https://bitbucket.org/atlassian/atlaskit/commits/3321c2b))
## 8.3.4 (2017-11-28)
- bug fix; fix avatar group having less width than its children (issues closed: ak-3872)
([e88ee42](https://bitbucket.org/atlassian/atlaskit/commits/e88ee42))
## 8.3.3 (2017-11-23)
- bug fix; fix avatar group's more items dropdown not being tabbable (issues closed: ak-3707)
([a0ee45d](https://bitbucket.org/atlassian/atlaskit/commits/a0ee45d))
## 8.3.2 (2017-11-20)
- bug fix; fS-3907 Use Tooltip component in Avatar
([2126336](https://bitbucket.org/atlassian/atlaskit/commits/2126336))
## 8.3.1 (2017-11-16)
- bug fix; avatar flex styles are now explicit to fix Firefox issue (issues closed: ak-3898)
([73ac57d](https://bitbucket.org/atlassian/atlaskit/commits/73ac57d))
## 8.3.0 (2017-11-16)
- feature; added a new prop background in AvatarItem to have custom background (issues closed:
ak-3706) ([e93888c](https://bitbucket.org/atlassian/atlaskit/commits/e93888c))
## 8.2.4 (2017-11-15)
- bug fix; fix incorrect border radius on Avatars (issues closed: ak-3897)
([6570495](https://bitbucket.org/atlassian/atlaskit/commits/6570495))
## 8.2.3 (2017-11-15)
- bug fix; explicitly disable tooltip on avatar when rendered in a group dropdown
([593f2e9](https://bitbucket.org/atlassian/atlaskit/commits/593f2e9))
## 8.2.2 (2017-11-15)
- bug fix; improve avatar perf by caching styled components (issues closed: ak-3699)
([0e6fa65](https://bitbucket.org/atlassian/atlaskit/commits/0e6fa65))
## 8.2.1 (2017-11-14)
- bug fix; add additional link target options (issues closed: ak-3886)
([a932aa8](https://bitbucket.org/atlassian/atlaskit/commits/a932aa8))
## 8.2.0 (2017-11-14)
- feature; aK-3883 Expose boundariesElement property on AvatarGroup component
([78001fd](https://bitbucket.org/atlassian/atlaskit/commits/78001fd))
## 8.1.0 (2017-11-13)
- feature; add support for focus presence type (issues closed: ak-3758)
([06b6da3](https://bitbucket.org/atlassian/atlaskit/commits/06b6da3))
- bug fix; AvatarGroup more indicator fixed in Firefox (issues closed: ak-3791)
([6c9464e](https://bitbucket.org/atlassian/atlaskit/commits/6c9464e))
## 8.0.11 (2017-11-02)
- bug fix; added missing dependencies (issues closed: ak-3782)
([4dbc3ef](https://bitbucket.org/atlassian/atlaskit/commits/4dbc3ef))
## 8.0.10 (2017-10-26)
- bug fix; fix to rebuild stories
([793b2a7](https://bitbucket.org/atlassian/atlaskit/commits/793b2a7))
## 8.0.9 (2017-10-22)
- bug fix; update dependencies for react-16
([077d1ad](https://bitbucket.org/atlassian/atlaskit/commits/077d1ad))
## 8.0.8 (2017-10-15)
- bug fix; fix borked styles caused by missing semicolons in CSS (issues closed: ak-3694)
([07e0c54](https://bitbucket.org/atlassian/atlaskit/commits/07e0c54))
## 8.0.7 (2017-10-13)
- bug fix; add polyfill from AK polyfills package (issues closed: ak-3667)
([a841e6d](https://bitbucket.org/atlassian/atlaskit/commits/a841e6d))
## 8.0.6 (2017-10-09)
- bug fix; remove the console error Invalid prop types for border
([de45a14](https://bitbucket.org/atlassian/atlaskit/commits/de45a14))
## 8.0.5 (2017-09-18)
- bug fix; fix avatar isInteractive style
([1296049](https://bitbucket.org/atlassian/atlaskit/commits/1296049))
## 8.0.4 (2017-09-12)
- bug fix; avatars now display in Firefox when used in an Avatar Group
([1db854f](https://bitbucket.org/atlassian/atlaskit/commits/1db854f))
## 8.0.3 (2017-09-11)
- bug fix; limit avatar + more count to maxCount size (issues closed: ak-3472)
([3516192](https://bitbucket.org/atlassian/atlaskit/commits/3516192))
## 8.0.1 (2017-09-05)
- bug fix; update dark theme color palette (issues closed: ak-3172)
([d23e55f](https://bitbucket.org/atlassian/atlaskit/commits/d23e55f))
## 8.0.0 (2017-08-11)
- bug fix; fix the theme-dependency
([db90333](https://bitbucket.org/atlassian/atlaskit/commits/db90333))
- breaking; affects internal styled-components implementation
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
- breaking; implement dark mode theme
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
- feature; dark mode for avatar
([3eb7531](https://bitbucket.org/atlassian/atlaskit/commits/3eb7531))
## 7.0.0 (2017-08-11)
- breaking; affects internal styled-components implementation
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
- breaking; implement dark mode theme
([d14522a](https://bitbucket.org/atlassian/atlaskit/commits/d14522a))
- feature; dark mode for avatar
([3eb7531](https://bitbucket.org/atlassian/atlaskit/commits/3eb7531))
## 6.4.5 (2017-08-04)
- bug fix; moves babel-plugin-react-flow-props-to-prop-types to a devDependency
([6378b88](https://bitbucket.org/atlassian/atlaskit/commits/6378b88))
## 6.4.4 (2017-08-03)
- bug fix; fixes uncaught type error in avatar by consuming latest util-shared-styles (issues
closed: ak-3067) ([be705fa](https://bitbucket.org/atlassian/atlaskit/commits/be705fa))
## 6.4.3 (2017-07-28)
- fix; fixes avatars devDeps to include lozenge and button-group
([d9ae05f](https://bitbucket.org/atlassian/atlaskit/commits/d9ae05f))
## 6.4.2 (2017-07-27)
- fix; rename jsnext:main to jsnext:experimental:main temporarily
([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
## 6.4.1 (2017-07-25)
- fix; use class transform in loose mode in babel to improve load performance in apps
([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
## 6.1.0 (2017-07-17)
- fix; rerelease, failed prepublish scripts
([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
- feature; added ES module builds to dist and add jsnext:main to most ADG packages
([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
## 5.0.0 (2017-07-12)
- feature; added the xxlarge size to Avatar
([5cfbfb5](https://bitbucket.org/atlassian/atlaskit/commits/5cfbfb5))
- feature; adds AvatarGroup export with 'stack' and 'grid' appearances
([59dac0c](https://bitbucket.org/atlassian/atlaskit/commits/59dac0c))
- feature; adds AvatarItem named export to Avatar
([9939bfd](https://bitbucket.org/atlassian/atlaskit/commits/9939bfd))
- feature; adds name prop to Avatar (replaces label)
([5cfe547](https://bitbucket.org/atlassian/atlaskit/commits/5cfe547))
- feature; adds tooltips for Avatars
([816402a](https://bitbucket.org/atlassian/atlaskit/commits/816402a))
- feature; avatar how handles href, onClick and arbitrary \`component\` prop functionality
([763e00c](https://bitbucket.org/atlassian/atlaskit/commits/763e00c))
- feature; presence prop now accepts a react element in addition to its enumerable values (rep
([dfcc3f7](https://bitbucket.org/atlassian/atlaskit/commits/dfcc3f7))
- feature; replaced presenceBorderColor prop with \`borderColor\`
([0e4c171](https://bitbucket.org/atlassian/atlaskit/commits/0e4c171))
- breaking; Removed presenceBorderColor prop (replaced with \`borderColor\`)
- breaking; \`icon\` prop has been replaced with a more accepting \`presence\` prop
- breaking; Label prop has been replaced with \`name\`
## 4.0.6 (2017-06-27)
- fix; when src is removed after mount show default image
([d3e9e2a](https://bitbucket.org/atlassian/atlaskit/commits/d3e9e2a))
## 4.0.4 (2017-05-26)
- fix; change align-items: middle to align-items: center
([8740b22](https://bitbucket.org/atlassian/atlaskit/commits/8740b22))
- fix; add prop-types as a dependency to avoid React 15.x warnings
([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
## 4.0.3 (2017-05-23)
- fix; update util-shared-styles and util-readme dependencies
([9c0e218](https://bitbucket.org/atlassian/atlaskit/commits/9c0e218))
## 4.0.2 (2017-05-11)
- fix; load avatar from src prop correctly
([d94798e](https://bitbucket.org/atlassian/atlaskit/commits/d94798e))
## 4.0.1 (2017-05-10)
- fix; testing releasing more than 5 packages at a time
([e69b832](https://bitbucket.org/atlassian/atlaskit/commits/e69b832))
## 4.0.0 (2017-05-03)
- feature; optional square avatar appearance
([c43c905](https://bitbucket.org/atlassian/atlaskit/commits/c43c905))
- breaking; Previously you could pass a custom Presence to an Avatar via the Avatar's children. Now,
these custom Presence or icon elements should be passed to the new 'icon' prop. This change has
been made to avoid overloading the concept of Presence and to make the API clearer.
- ISSUES CLOSED: AK-1645
## 3.0.3 (2017-04-27)
- fix; isolate getPresenceSVG in its own module so we only export a single React Component
([ca8e14b](https://bitbucket.org/atlassian/atlaskit/commits/ca8e14b))
- fix; remove unused constants.js, import correctly from Avatar component for tests
([fcaccb9](https://bitbucket.org/atlassian/atlaskit/commits/fcaccb9))
## 3.0.2 (2017-04-27)
- fix; update legal copy to be more clear. Not all modules include ADG license.
([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
## 3.0.1 (2017-04-26)
- fix; update legal copy and fix broken links for component README on npm. New contribution and
([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
## 3.0.0 (2017-04-13)
- null refactor avatar to styled-components
([21a371c](https://bitbucket.org/atlassian/atlaskit/commits/21a371c))
- breaking; added peerDependency "styled-components", removed dependency "classnames"
- ISSUES CLOSED: AK-2099
## 2.1.5 (2017-04-04)
- fix; fixes avatar to be able to be tested using mocha and jsdom
([7a0f9fb](https://bitbucket.org/atlassian/atlaskit/commits/7a0f9fb))
## 2.1.4 (2017-03-23)
- fix; Empty commit to release the component
([49c08ee](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
## 2.1.2 (2017-03-21)
- fix; maintainers for all the packages were added
([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
## 2.1.0 (2017-03-06)
- feature; adds 'xsmall' size to avatar appearance (16px)
([d8da663](https://bitbucket.org/atlassian/atlaskit/commits/d8da663))
## 2.0.2 (2017-02-16)
- fix; refactor stories to use // rather than http://
([a0826cf](https://bitbucket.org/atlassian/atlaskit/commits/a0826cf))
## 2.0.1 (2017-02-10)
- fix; Dummy commit to release components to registry
([5bac43b](https://bitbucket.org/atlassian/atlaskit/commits/5bac43b))