@atlaskit/mention 24.3.0 → 24.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 24.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 24.3.1
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 24.3.0
4
16
 
5
17
  ### Minor Changes
@@ -400,7 +412,6 @@
400
412
  [`30a69f02904da`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/30a69f02904da) -
401
413
  [ED-23460] Make sure that error analytics in editor-plugin-mentions can fire by using actions from
402
414
  editor-plugin-analytics
403
-
404
415
  - **@atlaskit/editor-common**: Add types for `@atlaskit/editor-plugin-mentions` analytics
405
416
  - **@atlaskit/editor-plugin-mentions**: Switch to using `@atlaskit/editor-plugin-analytics`
406
417
  actions so that error events can be queued and fired consistently
@@ -1040,7 +1051,6 @@
1040
1051
  - [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228)
1041
1052
  [`22791ceed0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22791ceed0) - [ux] -
1042
1053
  added new properites in MentionResource interface to support invite from mention experiment
1043
-
1044
1054
  - updated util-data-test/mention to enable invite from mention experiment
1045
1055
  - added invite from mention experiment logic into editor-core
1046
1056
 
@@ -1224,7 +1234,6 @@
1224
1234
 
1225
1235
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
1226
1236
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1227
-
1228
1237
  - @atlaskit/docs@8.3.2
1229
1238
  - @atlaskit/analytics-next@6.3.5
1230
1239
  - @atlaskit/avatar@17.1.7
@@ -1437,12 +1446,10 @@
1437
1446
  safety. Flow types are no longer provided. No behavioural changes.
1438
1447
 
1439
1448
  **Breaking changes**
1440
-
1441
1449
  - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
1442
1450
  - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
1443
1451
 
1444
1452
  **Breaking changes to TypeScript annotations**
1445
-
1446
1453
  - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
1447
1454
  props as a generic type.
1448
1455
  - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
@@ -1583,7 +1590,6 @@
1583
1590
  - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
1584
1591
 
1585
1592
  In this PR, we are:
1586
-
1587
1593
  - Re-introducing dist build folders
1588
1594
  - Adding back cjs
1589
1595
  - Replacing es5 by cjs and es2015 by esm
@@ -1679,7 +1685,6 @@
1679
1685
  ### Minor Changes
1680
1686
 
1681
1687
  - [minor][11cb8d8626](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/11cb8d8626):
1682
-
1683
1688
  - Remove @atlaskit/analytics dependency.
1684
1689
 
1685
1690
  ## 18.3.3
@@ -1687,7 +1692,6 @@
1687
1692
  ### Patch Changes
1688
1693
 
1689
1694
  - [patch][ac95568398](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ac95568398):
1690
-
1691
1695
  - Some messages are never pushed to Transifex so we need to run `yarn i18n:push && yarn i18n:pull`
1692
1696
  again
1693
1697
 
@@ -1727,13 +1731,11 @@
1727
1731
  ## 18.2.0
1728
1732
 
1729
1733
  - [minor][a0d5982270](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a0d5982270):
1730
-
1731
1734
  - Don't display nickname in mention list if it is the same as name.
1732
1735
 
1733
1736
  ## 18.1.0
1734
1737
 
1735
1738
  - [minor][5e4ff01e4c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5e4ff01e4c):
1736
-
1737
1739
  - Fix typeahead re-rendering when moving mouse
1738
1740
 
1739
1741
  Breaking change -> TypeAheadItem:
@@ -1764,20 +1766,17 @@
1764
1766
  ## 18.0.0
1765
1767
 
1766
1768
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1767
-
1768
1769
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
1769
1770
  this package, please ensure you use at least this version of react and react-dom.
1770
1771
 
1771
1772
  ## 17.6.9
1772
1773
 
1773
1774
  - [patch][d3cad2622e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d3cad2622e):
1774
-
1775
1775
  - Removes babel-runtime in favour of @babel/runtime
1776
1776
 
1777
1777
  ## 17.6.8
1778
1778
 
1779
1779
  - [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
1780
-
1781
1780
  - Bump tslib
1782
1781
 
1783
1782
  ## 17.6.7
@@ -1794,104 +1793,87 @@
1794
1793
  ## 17.6.6
1795
1794
 
1796
1795
  - [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
1797
-
1798
1796
  - @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
1799
1797
  supplied from itself.
1800
1798
 
1801
1799
  ## 17.6.5
1802
1800
 
1803
1801
  - [patch][ddb3238b1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ddb3238b1c):
1804
-
1805
1802
  - TEAMS-396 : Changing byline logic for mention
1806
1803
 
1807
1804
  ## 17.6.4
1808
1805
 
1809
1806
  - [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
1810
-
1811
1807
  - Enable esModuleInterop for typescript, this allows correct use of default exports
1812
1808
 
1813
1809
  ## 17.6.3
1814
1810
 
1815
1811
  - [patch][14b89652d7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/14b89652d7):
1816
-
1817
1812
  - TEAMS-364 : Renaming the missed test files in the previous PR
1818
1813
 
1819
1814
  ## 17.6.2
1820
1815
 
1821
1816
  - [patch][c8b669eaec](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c8b669eaec):
1822
-
1823
1817
  - TEAMS-364 : Renaming Team mention description highlight classes to Byline
1824
1818
 
1825
1819
  ## 17.6.1
1826
1820
 
1827
1821
  - [patch][d26570e3b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d26570e3b5):
1828
-
1829
1822
  - Update i18n for team mention
1830
1823
  - Fix a bug in team mention: missing https protocol in team link
1831
1824
 
1832
1825
  ## 17.6.0
1833
1826
 
1834
1827
  - [minor][b31086fcf6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b31086fcf6):
1835
-
1836
1828
  - Add additional entry points for selective imports of mention components
1837
1829
 
1838
1830
  ## 17.5.0
1839
1831
 
1840
1832
  - [minor][b0210d7ccc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0210d7ccc):
1841
-
1842
1833
  - reset jest modules before hydration
1843
1834
 
1844
1835
  ## 17.4.0
1845
1836
 
1846
1837
  - [minor][1affe17dc4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1affe17dc4):
1847
-
1848
1838
  - add analytics events for team mention
1849
1839
 
1850
1840
  ## 17.3.0
1851
1841
 
1852
1842
  - [minor][073320a681](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/073320a681):
1853
-
1854
1843
  - Improve TeamMentionResource, both team and user requests are not blocked together
1855
1844
 
1856
1845
  ## 17.2.0
1857
1846
 
1858
1847
  - [patch][5ca3696b14](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5ca3696b14):
1859
-
1860
1848
  - TEAMS-319 : Render member counts and whether team includes you in byline
1861
1849
 
1862
1850
  - [minor][b8b55dc6ae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b8b55dc6ae):
1863
-
1864
1851
  - TEAMS-319 : Render member counts and whether team includes you in byline
1865
1852
 
1866
1853
  ## 17.1.1
1867
1854
 
1868
1855
  - [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
1869
-
1870
1856
  - Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
1871
1857
 
1872
1858
  ## 17.1.0
1873
1859
 
1874
1860
  - [minor][b684722884](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b684722884):
1875
-
1876
1861
  - improvement of SSR tests and examples for Fabric Elements
1877
1862
 
1878
1863
  ## 17.0.0
1879
1864
 
1880
1865
  - [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
1881
-
1882
1866
  - Dropped ES5 distributables from the typescript packages
1883
1867
 
1884
1868
  ## 16.4.0
1885
1869
 
1886
1870
  - [minor][fb679d390f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fb679d390f):
1887
-
1888
1871
  - Add a new TeamMenioResource for @atlaskit/mention package. That allows to fetch teams data for
1889
1872
  mention from a team service (Legion service)
1890
1873
 
1891
1874
  ## 16.3.0
1892
1875
 
1893
1876
  - [minor][7261577953](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7261577953):
1894
-
1895
1877
  - use @atlaskit/ssr to ssr/hydrate mention examples
1896
1878
 
1897
1879
  ## 16.2.2
@@ -1919,13 +1901,11 @@
1919
1901
  ## 16.2.0
1920
1902
 
1921
1903
  - [minor][ef368572dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ef368572dc):
1922
-
1923
1904
  - Update types for @atlaskit/mention
1924
1905
 
1925
1906
  ## 16.1.0
1926
1907
 
1927
1908
  - [minor][0f3f9f0992](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0f3f9f0992):
1928
-
1929
1909
  - Fix context identifiers not being passed to mention provider's calls. MentionProvider interface
1930
1910
  was updated to include the optional contextIdentifier parameter in filter and
1931
1911
  recordMentionSelection methods.
@@ -1942,7 +1922,6 @@
1942
1922
  ## 16.0.0
1943
1923
 
1944
1924
  - [major][0c116d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0c116d6):
1945
-
1946
1925
  - Removed client-side indexed cache of mention results. Also removed method 'getUsersInContext'
1947
1926
  from MentionResourceConfig, 'remoteSearch' from MentionStats and 'weight' from
1948
1927
  MentionDescription. If you used to use them, simply remove any references to them.
@@ -1950,40 +1929,33 @@
1950
1929
  ## 15.3.0
1951
1930
 
1952
1931
  - [minor][c238c00](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c238c00):
1953
-
1954
1932
  - added i18n support to mentions
1955
1933
 
1956
1934
  - [minor][3b1de17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3b1de17):
1957
-
1958
1935
  - added i18n translated files
1959
1936
 
1960
1937
  ## 15.2.2
1961
1938
 
1962
1939
  - [patch][0f19693](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0f19693):
1963
-
1964
1940
  - added tests for xregexp transformer, updated README and simplified code
1965
1941
 
1966
1942
  - [patch][b789b3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b789b3a):
1967
-
1968
1943
  - removed xregexp library dependency from emoji and mention components, added xregexp-transformer
1969
1944
  package to compile xregexp expressions to unicode charsets
1970
1945
 
1971
1946
  ## 15.2.1
1972
1947
 
1973
1948
  - [patch][cae5adb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cae5adb):
1974
-
1975
1949
  - UR-197: Add queryLength to mentionTypeahead rendered event
1976
1950
 
1977
1951
  ## 15.2.0
1978
1952
 
1979
1953
  - [minor][f62557c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f62557c):
1980
-
1981
1954
  - ED-5888 Add dark mode for mention
1982
1955
 
1983
1956
  ## 15.1.9
1984
1957
 
1985
1958
  - [patch][b81da9b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b81da9b):
1986
-
1987
1959
  - Fix typescript types to support strictFunctionTypes
1988
1960
 
1989
1961
  ## 15.1.8
@@ -2014,7 +1986,6 @@
2014
1986
  ## 15.1.6
2015
1987
 
2016
1988
  - [patch][90c4702](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90c4702):
2017
-
2018
1989
  - FS-1734 Removed the try it out section from Emoji and Mentions documentation pages to match
2019
1990
  other pages. The section only contained a link to the same page, so was essentially redundant
2020
1991
  and potentially confusing.
@@ -2022,13 +1993,11 @@
2022
1993
  ## 15.1.5
2023
1994
 
2024
1995
  - [patch][3061b52](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3061b52):
2025
-
2026
1996
  - AK-5723 - adjust files in package.json to ensure correct publishing of dist/package.json
2027
1997
 
2028
1998
  ## 15.1.4
2029
1999
 
2030
2000
  - [patch][01edbde](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/01edbde):
2031
-
2032
2001
  - Force patch release
2033
2002
 
2034
2003
  ## 15.1.3
@@ -2042,13 +2011,11 @@
2042
2011
  ## 15.1.2
2043
2012
 
2044
2013
  - [patch][36c362f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36c362f):
2045
-
2046
2014
  - FS-3174 - Fix usage of gridSize() and borderRadius()
2047
2015
 
2048
2016
  ## 15.1.1
2049
2017
 
2050
2018
  - [patch][527b954](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/527b954):
2051
-
2052
2019
  - FS-3174 - Remove usage of util-shared-styles from elements components
2053
2020
 
2054
2021
  ## 15.1.0
@@ -211,8 +211,8 @@ var MentionList = exports.default = /*#__PURE__*/function (_React$PureComponent)
211
211
  key: key,
212
212
  onMouseMove: _this2.selectIndexOnHover
213
213
  /* Cannot use onclick, as onblur will close the element, and prevent
214
- * onClick from firing.
215
- */,
214
+ * onClick from firing.
215
+ */,
216
216
  onSelection: _this2.itemSelected,
217
217
  ref: ref
218
218
  });
@@ -224,8 +224,8 @@ var MentionList = exports.default = /*#__PURE__*/function (_React$PureComponent)
224
224
  key: key,
225
225
  onMouseMove: _this2.selectIndexOnHover
226
226
  /* Cannot use onclick, as onblur will close the element, and prevent
227
- * onClick from firing.
228
- */,
227
+ * onClick from firing.
228
+ */,
229
229
  onSelection: _this2.itemSelected,
230
230
  ref: function ref(_ref) {
231
231
  if (_ref) {
@@ -195,8 +195,8 @@ export default class MentionList extends React.PureComponent {
195
195
  key: key,
196
196
  onMouseMove: this.selectIndexOnHover
197
197
  /* Cannot use onclick, as onblur will close the element, and prevent
198
- * onClick from firing.
199
- */,
198
+ * onClick from firing.
199
+ */,
200
200
  onSelection: this.itemSelected,
201
201
  ref: ref
202
202
  });
@@ -208,8 +208,8 @@ export default class MentionList extends React.PureComponent {
208
208
  key: key,
209
209
  onMouseMove: this.selectIndexOnHover
210
210
  /* Cannot use onclick, as onblur will close the element, and prevent
211
- * onClick from firing.
212
- */,
211
+ * onClick from firing.
212
+ */,
213
213
  onSelection: this.itemSelected,
214
214
  ref: ref => {
215
215
  if (ref) {
@@ -202,8 +202,8 @@ var MentionList = /*#__PURE__*/function (_React$PureComponent) {
202
202
  key: key,
203
203
  onMouseMove: _this2.selectIndexOnHover
204
204
  /* Cannot use onclick, as onblur will close the element, and prevent
205
- * onClick from firing.
206
- */,
205
+ * onClick from firing.
206
+ */,
207
207
  onSelection: _this2.itemSelected,
208
208
  ref: ref
209
209
  });
@@ -215,8 +215,8 @@ var MentionList = /*#__PURE__*/function (_React$PureComponent) {
215
215
  key: key,
216
216
  onMouseMove: _this2.selectIndexOnHover
217
217
  /* Cannot use onclick, as onblur will close the element, and prevent
218
- * onClick from firing.
219
- */,
218
+ * onClick from firing.
219
+ */,
220
220
  onSelection: _this2.itemSelected,
221
221
  ref: function ref(_ref) {
222
222
  if (_ref) {
package/package.json CHANGED
@@ -22,16 +22,16 @@
22
22
  "@atlaskit/afm-i18n-platform-elements-mention": "2.7.0",
23
23
  "@atlaskit/analytics-gas-types": "^5.1.0",
24
24
  "@atlaskit/analytics-next": "^11.1.0",
25
- "@atlaskit/avatar": "^25.3.0",
25
+ "@atlaskit/avatar": "^25.4.0",
26
26
  "@atlaskit/focus-ring": "^3.0.0",
27
27
  "@atlaskit/heading": "^5.2.0",
28
28
  "@atlaskit/icon": "^28.5.0",
29
29
  "@atlaskit/lozenge": "^13.0.0",
30
30
  "@atlaskit/platform-feature-flags": "^1.1.0",
31
- "@atlaskit/primitives": "^14.15.0",
31
+ "@atlaskit/primitives": "^15.0.0",
32
32
  "@atlaskit/teams-avatar": "^2.3.0",
33
33
  "@atlaskit/theme": "^21.0.0",
34
- "@atlaskit/tokens": "^6.4.0",
34
+ "@atlaskit/tokens": "^7.0.0",
35
35
  "@atlaskit/tooltip": "^20.5.0",
36
36
  "@atlaskit/ufo": "^0.4.0",
37
37
  "@atlaskit/util-service-support": "^6.3.0",
@@ -108,5 +108,5 @@
108
108
  ]
109
109
  }
110
110
  },
111
- "version": "24.3.0"
111
+ "version": "24.3.2"
112
112
  }