@atlaskit/mention
Version:
A React component used to display user profiles in a list for 'Mention' functionality
1,680 lines (1,053 loc) • 103 kB
Markdown
# @atlaskit/mention
## 24.2.7
### Patch Changes
- Updated dependencies
## 24.2.6
### Patch Changes
- [#188952](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188952)
[`1a88e6e2601ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a88e6e2601ae) -
Migrated usage of renamed/deprecated icons
- Updated dependencies
## 24.2.5
### Patch Changes
- Updated dependencies
## 24.2.4
### Patch Changes
- [#173636](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/173636)
[`22b85a186fb8a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22b85a186fb8a) -
SSR placeholder for mention profile card trigger
## 24.2.3
### Patch Changes
- Updated dependencies
## 24.2.2
### Patch Changes
- Updated dependencies
## 24.2.1
### Patch Changes
- Updated dependencies
## 24.2.0
### Minor Changes
- [#157101](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/157101)
[`22968df0284f0`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/22968df0284f0) -
We are testing the migration to the ADS Link component behind a feature flag. If this fix is
successful it will be available in a later release.
## 24.1.5
### Patch Changes
- Updated dependencies
## 24.1.4
### Patch Changes
- [#142842](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/142842)
[`63265d6000c11`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/63265d6000c11) -
Internal change to migrate to Compiled CSS-in-JS styling.
## 24.1.3
### Patch Changes
- Updated dependencies
## 24.1.2
### Patch Changes
- Updated dependencies
## 24.1.1
### Patch Changes
- Updated dependencies
## 24.1.0
### Minor Changes
- [#121564](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/121564)
[`3de01b4441aaf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3de01b4441aaf) -
Team refreshed avatar support
## 24.0.3
### Patch Changes
- Updated dependencies
## 24.0.2
### Patch Changes
- [#120533](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/120533)
[`f1bec731e278f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f1bec731e278f) -
Adds a `sideEffects` field to ensure this package does not have Compiled styles tree-shaken in the
future to avoid an accidental regression.
This is related to
https://community.developer.atlassian.com/t/rfc-73-migrating-our-components-to-compiled-css-in-js/85953
## 24.0.1
### Patch Changes
- Updated dependencies
## 24.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
## 23.11.4
### Patch Changes
- Updated dependencies
## 23.11.3
### Patch Changes
- [#100905](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100905)
[`09996c6135609`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/09996c6135609) -
[EDF-2181] Cleanup platform_editor_ai_remove_mentions_record FF
## 23.11.2
### Patch Changes
- Updated dependencies
## 23.11.1
### Patch Changes
- Updated dependencies
## 23.11.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
## 23.10.0
### Minor Changes
- [#105029](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105029)
[`d32ea9117bf88`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d32ea9117bf88) -
Add support for React 18
## 23.9.0
### Minor Changes
- [#103277](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/103277)
[`38e621ec55cd4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/38e621ec55cd4) -
Changed signature of optional prop (inviteXProductUser) with 1 more param. This is regarding
CCEDITIONS-4746 (x-product-user-invite experiment). Project poster link -
https://hello.atlassian.net/wiki/spaces/CV1/pages/3685626022/Project+poster+-+Cross+Product+User+Search+Invites
## 23.8.0
### Minor Changes
- [#101931](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/101931)
[`8a09e2cba1485`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8a09e2cba1485) -
Changed signature of optional prop (inviteXProductUser) with 1 more param. This is regarding
CCEDITIONS-4746 (x-product-user-invite experiment). Project poster link -
## 23.7.1
### Patch Changes
- Updated dependencies
## 23.7.0
### Minor Changes
- [#99344](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99344)
[`fbeb84f180cd2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fbeb84f180cd2) -
Added optional `isEligibleXProductUserInvite` and `inviteXProductUser` props which will be used in
CCEDITIONS-4746 (x-product-user-invite experiment). Project poster link -
https://hello.atlassian.net/wiki/spaces/CV1/pages/3685626022/Project+poster+-+Cross+Product+User+Search+Invites
## 23.6.0
### Minor Changes
- [#99487](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/99487)
[`8c482c8d11e99`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8c482c8d11e99) -
[https://product-fabric.atlassian.net/browse/EDF-67](EDF-67) - remove
/api/mentions/CLOUD_ID/record endpoint call
## 23.5.0
### Minor Changes
- [#98070](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98070)
[`567bc6e27663e`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/567bc6e27663e) -
Adding option boolean flag isEligibleXProductUserInvite on MentionResourceConfig for
CCEDITIONS-4746(x-product user search/invite) experiment
## 23.4.7
### Patch Changes
- [#178297](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/178297)
[`7abc8162b32ab`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7abc8162b32ab) -
Internal changes to typography styles. There may be some minor visual changes to align with
modernized typography styles.
## 23.4.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.
## 23.4.5
### Patch Changes
- Updated dependencies
## 23.4.4
### Patch Changes
- Updated dependencies
## 23.4.3
### Patch Changes
- Updated dependencies
## 23.4.2
### Patch Changes
- Updated dependencies
## 23.4.1
### Patch Changes
- Updated dependencies
## 23.4.0
### Minor Changes
- [#161683](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/161683)
[`f3f374290027a`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/f3f374290027a) -
Adding en-zz locale support to elements package
## 23.3.4
### Patch Changes
- [#163815](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/163815)
[`c4cc01fa62da2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c4cc01fa62da2) -
Typography uplift work
## 23.3.3
### Patch Changes
- Updated dependencies
## 23.3.2
### Patch Changes
- [#152012](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/152012)
[`30a69f02904da`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/30a69f02904da) -
[ED-23460] Make sure that error analytics in editor-plugin-mentions can fire by using actions from
editor-plugin-analytics
- **@atlaskit/editor-common**: Add types for `@atlaskit/editor-plugin-mentions` analytics
- **@atlaskit/editor-plugin-mentions**: Switch to using `@atlaskit/editor-plugin-analytics`
actions so that error events can be queued and fired consistently
- **@atlaskit/mention**: Move some enums to the types file and export them so they can be used to
type analytics events
## 23.3.1
### Patch Changes
- Updated dependencies
## 23.3.0
### Minor Changes
- [#144209](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/144209)
[`8a016767c9e26`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8a016767c9e26) -
[ux] Enable new icons behind a feature flag.
## 23.2.3
### Patch Changes
- Updated dependencies
## 23.2.2
### Patch Changes
- Updated dependencies
## 23.2.1
### Patch Changes
- Updated dependencies
## 23.2.0
### Minor Changes
- [#104824](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104824)
[`10443be28cedb`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10443be28cedb) -
converting tagged template syntax to object syntax for remanining styles from DSP-17626
### Patch Changes
- Updated dependencies
## 23.1.0
### Minor Changes
- [#105861](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105861)
[`0dab14fe2ba2`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/0dab14fe2ba2) -
Add callback to be called once mention resolver queue is empty
## 23.0.4
### Patch Changes
- [#104781](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/104781)
[`c1f5107a8905`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c1f5107a8905) -
Fix some mentions for the same user never loading in pages with many mentions
## 23.0.3
### Patch Changes
- [#98103](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/98103)
[`14c055a65f67`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14c055a65f67) -
removed invite from mention experiment check
## 23.0.2
### 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`
## 23.0.1
### Patch Changes
- [#80085](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/80085)
[`7febfed958dd`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/7febfed958dd) -
Update usage of `React.FC` to explicity include `children`
## 23.0.0
### Major Changes
- [#65974](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/65974)
[`edca08bd6e06`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/edca08bd6e06) -
Migrate @atlaskit/mention to use declarative entry points. /\_constants public endpoint has been
removed as part of the migration process.
### Patch Changes
- [#72162](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72162)
[`dadc682d36ba`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/dadc682d36ba) -
Replace hardcoded values with space tokens
## 22.1.10
### Patch Changes
- [#57137](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/57137)
[`9b9900944973`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9b9900944973) -
Remove legacy theming logic from @atlaskit/date, @atlaskit/mention, @atlaskit/task-decision and
@atlaskit/user-picker.
## 22.1.9
### Patch Changes
- Updated dependencies
## 22.1.8
### Patch Changes
- Updated dependencies
## 22.1.7
### Patch Changes
- [#42251](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/42251)
[`9c7b42127f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c7b42127f6) - Enrol
`@atlaskit/mention` and `@atlaskit/link-provider` on push model in JFE.
## 22.1.6
### Patch Changes
- [#40715](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40715)
[`eb792f21a58`](https://bitbucket.org/atlassian/atlassian-frontend/commits/eb792f21a58) - remove
unused type paramater from setStateSafely
## 22.1.5
### Patch Changes
- [#39787](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39787)
[`6900f89eb0e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6900f89eb0e) - Internal
changes to use space tokens. There is no expected visual or behaviour change.
## 22.1.4
### 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
## 22.1.3
### Patch Changes
- [#37925](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37925)
[`f01deb5e6ab`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f01deb5e6ab) - Use
injected env vars instead of version.json
## 22.1.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
## 22.1.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`
## 22.1.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
## 22.0.1
### Patch Changes
- [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424)
[`2e01c9c74b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e01c9c74b5) - DUMMY
remove before merging to master; dupe adf-schema via adf-utils
## 22.0.0
### Major Changes
- [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299)
[`6c543971074`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c543971074) - [ux]
PTC-6520 remove team mention highlight
## 21.0.19
### Patch Changes
- Updated dependencies
## 21.0.18
### Patch Changes
- Updated dependencies
## 21.0.17
### 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.0.16
### Patch Changes
- [#28324](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28324)
[`6455cf006b3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6455cf006b3) - Builds
for this package now pass through a tokens babel plugin, removing runtime invocations of the
tokens() function and improving performance.
## 21.0.15
### Patch Changes
- [#28090](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28090)
[`9ace7f714e3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9ace7f714e3) - Handle
new Teams ARI format in mentions
## 21.0.14
### Patch Changes
- Updated dependencies
## 21.0.13
### Patch Changes
- Updated dependencies
## 21.0.12
### Patch Changes
- [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712)
[`136542df4cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/136542df4cf) - Changes
restricted mention border color token to bold version and text color token to default one for
better accessibility. Updated appearances only visible in applications configured to use the new
Tokens API (currently in alpha).
- Updated dependencies
## 21.0.11
### Patch Changes
- [#27924](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27924)
[`f14b977abd5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f14b977abd5) - Bump
query-string to ^v7.1.3
## 21.0.10
### Patch Changes
- Updated dependencies
## 21.0.9
### Patch Changes
- [#26786](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26786)
[`016d3039482`](https://bitbucket.org/atlassian/atlassian-frontend/commits/016d3039482) - Updates
`@emotion/core` v10 to `@emotion/react` v11. There is no expected behavior change.
## 21.0.8
### 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.7
### 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.6
### Patch Changes
- Updated dependencies
## 21.0.5
### Patch Changes
- Updated dependencies
## 21.0.4
### Patch Changes
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
[`a424e62b264`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a424e62b264) - Changes
to support Node 16 Typescript definitions from `@types/node`.
## 21.0.3
### Patch Changes
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade
to TypeScript 4.2.4
- Updated dependencies
## 21.0.2
### Patch Changes
- Updated dependencies
## 21.0.1
### Patch Changes
- [#19618](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19618)
[`9120f857a67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9120f857a67) - Remove
react-intl v2 from dev dependencies
- [`6ee0b5cac9a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6ee0b5cac9a) - Mention
lozenge component rendering performance/reliability is now tracked
- [`62edf20ab1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/62edf20ab1e) - Migrates
all usage of brand tokens to either selected or information tokens. This change is purely for
semantic reasons, there are no visual or behavioural changes.
- Updated dependencies
## 21.0.0
### Major Changes
- [#19019](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/19019)
[`c5d52f78847`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5d52f78847) -
Extracting smart-mention-resource into its own private package
### Patch Changes
- Updated dependencies
## 20.0.0
### Major Changes
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526)
[`ee723e753de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ee723e753de) -
[UR-3222]: Upgrade to intl v5. To consume Mentions, you will need a react-intl v5 intl provider
### Minor Changes
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
[`0e32e4669ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0e32e4669ae) - Internal
changes to migrate package from 'styled-components' to @emotion. There should be no change to the
UX.
### Patch Changes
- [`9ec7ba1a899`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9ec7ba1a899) - [ux] Add
interaction state tokens to mention.
- [`36d7a940820`](https://bitbucket.org/atlassian/atlassian-frontend/commits/36d7a940820) - Async
load heavy dependencies and assets for Mention and MentionItem
- [`a6260fbc145`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a6260fbc145) - Fix for
ref not being provided back when using MentionPicker
- [`112cd3a4024`](https://bitbucket.org/atlassian/atlassian-frontend/commits/112cd3a4024) -
TeamMentionHighlight is now lazy loaded
- Updated dependencies
## 19.9.6
### Patch Changes
- [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475)
[`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch
VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
## 19.9.5
### Patch Changes
- [#16666](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16666)
[`6344bc53c4e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6344bc53c4e) - Remove
bulk imports in mentions
## 19.9.4
### Patch Changes
- [#16169](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16169)
[`e770c0c16d9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e770c0c16d9) - Remove
non-prod API configs from mentions, and update docs to mock out API calls.
## 19.9.3
### Patch Changes
- [#16445](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16445)
[`d1ed723c1e0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d1ed723c1e0) - Fix bug
where includeTeams in smartMentionResource was not being passed in correctly
## 19.9.2
### Patch Changes
- [#15889](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15889)
[`570ccaa00bd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/570ccaa00bd) - Add the
ability for users in Default Mention Name Resolver to be nullable
## 19.9.1
### Patch Changes
- [#15454](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15454)
[`a92e3bdb515`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a92e3bdb515) - Relaxed
product enum typing to take in any string
## 19.9.0
### Minor Changes
- [#15112](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15112)
[`e65ada9dbbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e65ada9dbbb) - Debounce
MentionResource when debounceTime is passed in
## 19.8.1
### Patch Changes
- [#14944](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14944)
[`e5e658bc51d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e5e658bc51d) - Fix for
mention default name provider using an incorrect API endpoint when no baseUrl was supplied to
SmartMentionResource
## 19.8.0
### Minor Changes
- [#14604](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14604)
[`9871a89fe5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9871a89fe5d) -
SmartMentionResource now has a default name resolver if one is not provided. You can still provide
the `mentionNameResolver` in the config when instantiating SmartMentionResource if a custom name
resolver is needed.
## 19.7.2
### Patch Changes
- Updated dependencies
## 19.7.1
### Patch Changes
- [#14494](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14494)
[`4ac918aad80`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4ac918aad80) - Added
helper documentation for easier onboarding onto Atlaskit Editor
## 19.7.0
### Minor Changes
- [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864)
[`71bb1bb3cd0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71bb1bb3cd0) -
[ED-12933] Export min height mentions to improve rendering performance on editor typeahead
### Patch Changes
- Updated dependencies
## 19.6.4
### Patch Changes
- Updated dependencies
## 19.6.3
### Patch Changes
- [#11649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11649)
[`52e7807e543`](https://bitbucket.org/atlassian/atlassian-frontend/commits/52e7807e543) - Fixed
English translations for team counts
## 19.6.2
### Patch Changes
- [#10978](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10978)
[`56ffe4d3c5a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56ffe4d3c5a) - Add
optional MentionNameResolver to SmartMentionResource config
## 19.6.1
### Patch Changes
- [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230)
[`f5eba1a5c71`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f5eba1a5c71) - ED-11989
fixed mention displaying old cached name
- Updated dependencies
## 19.6.0
### Minor Changes
- [#9756](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9756)
[`f042eac9bf1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f042eac9bf1) - Add
SmartMentionResource to mentions with editor-core example
### Patch Changes
- Updated dependencies
## 19.5.1
### Patch Changes
- [#10035](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10035)
[`3274237a5be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3274237a5be) - [ux]
reverted changes in ED-11939
## 19.5.0
### Minor Changes
- [#9780](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9780)
[`c49d543a921`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c49d543a921) - Only
restrict mentions view if UserAccessLevel is set to NONE
## 19.4.1
### Patch Changes
- [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510)
[`d5b0036f8c5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d5b0036f8c5) - Updated
LozengeProps type to accept React.ReactNode instead of string. This makes it easier to pass in
translations to this component from the consumer.
## 19.4.0
### Minor Changes
- [#9083](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9083)
[`3dae9ea0c02`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3dae9ea0c02) -
MentionItem now accepts and renders Lozenges when provided with a LozengeProps type object - ex. {
text: 'GUEST', appearance: 'new' }. Previously, it only accepted a string.
### Patch Changes
- [`967aa365eff`](https://bitbucket.org/atlassian/atlassian-frontend/commits/967aa365eff) - [ux]
ED-11939: fix mentions showing the wrong name after unselect
- [`b0ac0fc993d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b0ac0fc993d) -
Transferring mentions package ownership to Search & Smarts
- Updated dependencies
## 19.3.1
### Patch Changes
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644)
[`178e91b75ad`](https://bitbucket.org/atlassian/atlassian-frontend/commits/178e91b75ad) -
PL-AFDD-JOB1-158 Add translations for new messages
- Updated dependencies
## 19.3.0
### Minor Changes
- [#8178](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8178)
[`cafde5bbe21`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cafde5bbe21) - [ux]
Added Team prefix to teams in the mention list to increase clarity.
- [`43b2f925f0b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43b2f925f0b) - Add
optional attributes to mentionProvider analytics callback
### Patch Changes
- Updated dependencies
## 19.2.0
### Minor Changes
- [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762)
[`7ddbf962bd9`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7ddbf962bd9) - [ux]
Updated and added new translations
## 19.1.2
### Patch Changes
- [#6571](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6571)
[`05757c917b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05757c917b) - taking
config.productName into mentionResource
- [`dd91541afe`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dd91541afe) - [ux]
Further improvements on the invite from mention experiment
## 19.1.1
### 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
## 19.1.0
### Minor Changes
- [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228)
[`22791ceed0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22791ceed0) - [ux] -
added new properites in MentionResource interface to support invite from mention experiment
- updated util-data-test/mention to enable invite from mention experiment
- added invite from mention experiment logic into editor-core
## 19.0.9
### Patch Changes
- [#5516](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5516)
[`dcd6b0ecfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/dcd6b0ecfb) - Fix React
warning: should not setState on unmounted component
- Updated dependencies
## 19.0.8
### 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.
## 19.0.7
### Patch Changes
- Updated dependencies
## 19.0.6
### Patch Changes
- [#4749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4749)
[`c0533f4b35`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0533f4b35) - Upgrade
analytics-next to prevent event loss
(https://hello.atlassian.net/wiki/spaces/AFP/blog/2020/08/26/828144759/ACTION+REQUIRED+-+upgrade+analytics-next+to+prevent+event+loss)
- Updated dependencies
## 19.0.5
### Patch Changes
- [#4932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4932)
[`bee2157c1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bee2157c1b) - Remove
usage of @atlaskit/util-common-test package
## 19.0.4
### Patch Changes
- Updated dependencies
## 19.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.
## 19.0.2
### Patch Changes
- [#3369](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3369)
[`d03bff2147`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d03bff2147) - updated
translations
## 19.0.1
### Patch Changes
- Updated dependencies
## 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.18.3
### Patch Changes
- [#2576](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2576)
[`fc83c36503`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fc83c36503) - Update
translation files via Traduki build
## 18.18.2
### Patch Changes
- [#2959](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2959)
[`64e7f3f077`](https://bitbucket.org/atlassian/atlassian-frontend/commits/64e7f3f077) - Bump
dependency query-string to ^5.1.0
## 18.18.1
### Patch Changes
- Updated dependencies
## 18.18.0
### Minor Changes
- [minor][53ebcdb974](https://bitbucket.org/atlassian/atlassian-frontend/commits/53ebcdb974):
Adding analytics metrics for PTC SLIs
### Patch Changes
- Updated dependencies
[dae900bf82](https://bitbucket.org/atlassian/atlassian-frontend/commits/dae900bf82):
- Updated dependencies
[4bec09aa74](https://bitbucket.org/atlassian/atlassian-frontend/commits/4bec09aa74):
- Updated dependencies
[d63888b5e5](https://bitbucket.org/atlassian/atlassian-frontend/commits/d63888b5e5):
- Updated dependencies
[8c9e4f1ec6](https://bitbucket.org/atlassian/atlassian-frontend/commits/8c9e4f1ec6):
- Updated dependencies
[bdf25b1c4c](https://bitbucket.org/atlassian/atlassian-frontend/commits/bdf25b1c4c):
- Updated dependencies
[645918eda6](https://bitbucket.org/atlassian/atlassian-frontend/commits/645918eda6):
- Updated dependencies
[fad8a16962](https://bitbucket.org/atlassian/atlassian-frontend/commits/fad8a16962):
- @atlaskit/build-utils@2.6.4
- @atlaskit/editor-test-helpers@11.0.0
- @atlaskit/docs@8.5.0
## 18.17.0
### Minor Changes
- [minor][0732eedea7](https://bitbucket.org/atlassian/atlassian-frontend/commits/0732eedea7):
Adding analytics for mention providers
### 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
[0732eedea7](https://bitbucket.org/atlassian/atlassian-frontend/commits/0732eedea7):
- 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
[5e3aab8e77](https://bitbucket.org/atlassian/atlassian-frontend/commits/5e3aab8e77):
- @atlaskit/docs@8.4.0
- @atlaskit/icon@20.1.0
- @atlaskit/util-data-test@13.1.2
- @atlaskit/editor-test-helpers@10.6.1
- @atlaskit/avatar@17.1.9
- @atlaskit/button@13.3.9
- @atlaskit/lozenge@9.1.6
- @atlaskit/tooltip@15.2.5
## 18.16.2
### 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/analytics-next@6.3.5
- @atlaskit/avatar@17.1.7
- @atlaskit/button@13.3.7
- @atlaskit/icon@20.0.1
- @atlaskit/lozenge@9.1.4
- @atlaskit/theme@9.5.1
- @atlaskit/tooltip@15.2.3
- @atlaskit/editor-test-helpers@10.5.1
- @atlaskit/analytics-gas-types@4.0.13
- @atlaskit/elements-test-helpers@0.6.7
- @atlaskit/util-data-test@13.1.1
- @atlaskit/util-service-support@5.0.1
## 18.16.1
### Patch Changes
- Updated dependencies
[3b19e30129](https://bitbucket.org/atlassian/atlassian-frontend/commits/3b19e30129):
- Updated dependencies
[fe4eaf06fc](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe4eaf06fc):
- Updated dependencies
[c0102a3ea2](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0102a3ea2):
- Updated dependencies
[b9dc265bc9](https://bitbucket.org/atlassian/atlassian-frontend/commits/b9dc265bc9):
- @atlaskit/editor-test-helpers@10.5.0
- @atlaskit/icon@20.0.0
- @atlaskit/avatar@17.1.6
- @atlaskit/docs@8.3.1
- @atlaskit/button@13.3.6
- @atlaskit/tooltip@15.2.2
## 18.16.0
### Minor Changes
- [minor][49fbe3d3bf](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49fbe3d3bf):
MentionProvider can be consumed directly from `@atlaskit/mention/types` entry point
### Patch Changes
- Updated dependencies
[c1d4898af5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c1d4898af5):
- Updated dependencies
[3c0f6feee5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3c0f6feee5):
- Updated dependencies
[10425b84b4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/10425b84b4):
- Updated dependencies
[f9c291923c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f9c291923c):
- Updated dependencies
[926798632e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/926798632e):
- @atlaskit/icon@19.0.11
- @atlaskit/theme@9.3.0
- @atlaskit/editor-test-helpers@10.3.0
## 18.15.8
### 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');
```
## 18.15.7
- Updated dependencies
[42a92cad4e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/42a92cad4e):
- @atlaskit/util-data-test@13.0.1
- @atlaskit/util-service-support@5.0.0
## 18.15.6
### Patch Changes
- [patch][d04ac087fc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d04ac087fc):
Handle query parameters for operations in mentions
## 18.15.5
- Updated dependencies
[bd94b1d552](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bd94b1d552):
- Updated dependencies
[ae4f336a3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ae4f336a3a):
- @atlaskit/util-data-test@13.0.0
- @atlaskit/i18n-tools@0.6.0
- @atlaskit/util-service-support@4.1.0
- @atlaskit/editor-test-helpers@10.1.2
## 18.15.4
### 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.
## 18.15.3
### 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
## 18.15.2
- Updated dependencies
[80adfefba2](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/80adfefba2):
- @atlaskit/editor-test-helpers@10.0.0
## 18.15.1
- Updated dependencies
[8d0f37c23e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/8d0f37c23e):
- @atlaskit/avatar@17.0.0
- @atlaskit/theme@9.2.2
## 18.15.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
## 18.14.4
### 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
## 18.14.3
### Patch Changes
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
Upgraded Typescript to 3.3.x
## 18.14.2
### 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
## 18.14.1
### Patch Changes
- [patch][84b795279d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/84b795279d):
TEAMS-626 : Adding translations for team mention spotlight
## 18.14.0
### Minor Changes
- [minor][a22fc8004f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a22fc8004f):
TEAMS-618 : Exporting Team mention spotlight with correct name
## 18.13.0
### Minor Changes
- [minor][9b83fdea35](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9b83fdea35):
TEAMS-618 : Rename Team mention spotlight to Team Mention Highlight
## 18.12.0
### Minor Changes
- [minor][fe1a882fbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fe1a882fbb):
TEAMS-602 : Can pass the team creation link from confluence as an optional parameter to the Team
Mention Spotlight
## 18.11.4
### Patch Changes
- [patch][2f62d55150](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2f62d55150):
The mention spotlight can take a context path, and fixing a bug with on-click for the create team
link
## 18.11.3
### Patch Changes
- [patch][c72cca2853](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c72cca2853):
Added analytics when user clicks the create team link
## 18.11.2
### Patch Changes
- [patch][b4d2284e01](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b4d2284e01):
Added analytics on spotlight viewed.
## 18.11.1
### Patch Changes
- [patch][23f9c8ff08](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/23f9c8ff08):
Added analytics on closing team mention spotlight
## 18.11.0
### Minor Changes
- [minor][cda47d4480](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cda47d4480):
TEAMS-623 : Before this fix, when Spotlight was being rendered for the 5th time, it briefly
appeared and then disappeared. This change fixes that.
## 18.10.0
### Minor Changes
- [minor][e81d32fe9a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e81d32fe9a):
TEAMS-588 : Refactors the Team Spotlight ( which is used in mention typeahead for Fabric Editor
and TinyMCE editor). Now can close the spotlight from Fabric Editor by clicking on the x button.
## 18.9.0
### Minor Changes
- [minor][06cfea0870](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06cfea0870):
TEAMS-549 : Adding capability to show a spotlight in Fabric Editor
## 18.8.0
### Minor Changes
- [minor][2d8dd7bc30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2d8dd7bc30):
Now able to take a prop that will show a feature highlight
## 18.7.3
### Patch Changes
- [patch][9f8ab1084b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9f8ab1084b):
Consume analytics-next ts type definitions as an ambient declaration.
## 18.7.2
### Patch Changes
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
Fixes bug, missing version.json file
## 18.7.1
### Patch Changes
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
In this PR, we are:
- Re-introducing dist build folders
- Adding back cjs
- Replacing es5 by cjs and es2015 by esm
- Creating folders at the root for entry-points
- Removing the generation of the entry-points at the root Please see this
[ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this
[page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points)
for further details
## 18.7.0
### Minor Changes
- [minor][64b87b4ecb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/64b87b4ecb):
TEAMS-544 : Releasing the initial version of the Mention Spotlight
## 18.6.3
### Patch Changes
- [patch][d0db01b410](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d0db01b410):
TypeScript users of withAnalyticsEvents and withAnalyticsContext are now required to provide props
as a generic type. This is so that TypeScript can correctly calculate the props and defaultProps
of the returned component.
Before:
```typescript
withAnalyticsEvents()(Button) as ComponentClass<Props>;
```
After:
```typescript
withAnalyticsEvents<Props>()(Button);
```
## 18.6.2
- Updated dependencies
[06326ef3f7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/06326ef3f7):
- @atlaskit/docs@8.1.3
- @atlaskit/avatar@16.0.6
- @atlaskit/tooltip@15.0.2
- @atlaskit/editor-test-helpers@9.5.2
- @atlaskit/icon@19.0.0
## 18.6.1
### Patch Changes
- [patch][227431f9cb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/227431f9cb):
FS-4028 - Update translations for mention component
## 18.6.0
### Minor Changes
- [minor][58dd589a04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58dd589a04):
Update TeamMentionResource to accept teamLinkResolver option which is used to construct a team
link. Fix missing userId of user mentions in analytics in editor-core
## 18.5.0
### Minor Changes
- [minor][2d1c3db523](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/2d1c3db523):
FS-3986 - Support analytics for mention hydration.
## 18.4.2
### Patch Changes
- [patch][b23479c7ba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b23479c7ba):
fix i18n-tools validation error on try/catch
## 18.4.1
### Patch Changes
- [patch][434b2688af](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/434b2688af):
Update translation
## 18.4.0
### Minor Changes
- [minor][11cb8d8626](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/11cb8d8626):
- Remove @atlaskit/analytics dependency.
## 18.3.3
### Patch Changes
- [patch][ac95568398](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ac95568398):
- Some messages are never pushed to Transifex so we need to run `yarn i18n:push && yarn i18n:pull`
again
## 18.3.2
- Updated dependencies
[67f06f58dd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/67f06f58dd):
- @atlaskit/avatar@16.0.4
- @atlaskit/icon@18.0.1
- @atlaskit/tooltip@15.0.0
## 18.3.1
- Updated dependencies
[cfc3c8adb3](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cfc3c8adb3):
- @atlaskit/docs@8.1.2
- @atlaskit/avatar@16.0.3
- @atlaskit/tooltip@14.0.3
- @atlaskit/editor-test-helpers@9.3.9
- @atlaskit/icon@18.0.0
## 18.3.0
### Minor Changes
- [minor][0b55c3b421](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0b55c3b421):
FS-3244 - Add support for resolving mention names client-side
## 18.2.1
- Updated dependencies
[ed41cac6ac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed41cac6ac):
- @atlaskit/theme@9.0.3
- @atlaskit/lozenge@9.0.0
## 18.2.0
- [minor][a0d5982270](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a0d5982270):
- Don't display nickname in mention list if it is the same as name.
## 18.1.0
- [minor][5e4ff01e4c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5e4ff01e4c):
- Fix typeahead re-rendering when moving mouse
Breaking change -> TypeAheadItem:
```ts
export type TypeAheadItemRenderProps = {
onClick: () => void;
// BREAKING CHANGE
// onMouseMove -> onHover
onHover: () => void;
isSelected: boolean;
};
export type TypeAheadItem = {
/*...*/
render?: (
props: TypeAheadItemRenderProps,
) => React.ReactElement<TypeAheadItemRenderProps> | null;
/*...*/
};
```
Items returned from `QuickInsertProvider#getItems` method that have custom `render` function will
now get `onHover` instead of `onMouseMove`.
## 18.0.0
- [major][7c17b35107](https://bitbucket.org/atlassian/atla