@atlaskit/mention 24.3.1 → 24.3.3

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.3
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 24.3.2
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
3
15
  ## 24.3.1
4
16
 
5
17
  ### Patch Changes
@@ -406,7 +418,6 @@
406
418
  [`30a69f02904da`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/30a69f02904da) -
407
419
  [ED-23460] Make sure that error analytics in editor-plugin-mentions can fire by using actions from
408
420
  editor-plugin-analytics
409
-
410
421
  - **@atlaskit/editor-common**: Add types for `@atlaskit/editor-plugin-mentions` analytics
411
422
  - **@atlaskit/editor-plugin-mentions**: Switch to using `@atlaskit/editor-plugin-analytics`
412
423
  actions so that error events can be queued and fired consistently
@@ -1046,7 +1057,6 @@
1046
1057
  - [#6228](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/6228)
1047
1058
  [`22791ceed0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22791ceed0) - [ux] -
1048
1059
  added new properites in MentionResource interface to support invite from mention experiment
1049
-
1050
1060
  - updated util-data-test/mention to enable invite from mention experiment
1051
1061
  - added invite from mention experiment logic into editor-core
1052
1062
 
@@ -1230,7 +1240,6 @@
1230
1240
 
1231
1241
  Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies
1232
1242
  [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
1233
-
1234
1243
  - @atlaskit/docs@8.3.2
1235
1244
  - @atlaskit/analytics-next@6.3.5
1236
1245
  - @atlaskit/avatar@17.1.7
@@ -1443,12 +1452,10 @@
1443
1452
  safety. Flow types are no longer provided. No behavioural changes.
1444
1453
 
1445
1454
  **Breaking changes**
1446
-
1447
1455
  - `withAnalyticsForSumTypeProps` alias has been removed, please use `withAnalyticsEvents`
1448
1456
  - `AnalyticsContextWrappedComp` alias has been removed, please use `withAnalyticsContext`
1449
1457
 
1450
1458
  **Breaking changes to TypeScript annotations**
1451
-
1452
1459
  - `withAnalyticsEvents` now infers proptypes automatically, consumers no longer need to provide
1453
1460
  props as a generic type.
1454
1461
  - `withAnalyticsContext` now infers proptypes automatically, consumers no longer need to provide
@@ -1589,7 +1596,6 @@
1589
1596
  - [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
1590
1597
 
1591
1598
  In this PR, we are:
1592
-
1593
1599
  - Re-introducing dist build folders
1594
1600
  - Adding back cjs
1595
1601
  - Replacing es5 by cjs and es2015 by esm
@@ -1685,7 +1691,6 @@
1685
1691
  ### Minor Changes
1686
1692
 
1687
1693
  - [minor][11cb8d8626](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/11cb8d8626):
1688
-
1689
1694
  - Remove @atlaskit/analytics dependency.
1690
1695
 
1691
1696
  ## 18.3.3
@@ -1693,7 +1698,6 @@
1693
1698
  ### Patch Changes
1694
1699
 
1695
1700
  - [patch][ac95568398](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ac95568398):
1696
-
1697
1701
  - Some messages are never pushed to Transifex so we need to run `yarn i18n:push && yarn i18n:pull`
1698
1702
  again
1699
1703
 
@@ -1733,13 +1737,11 @@
1733
1737
  ## 18.2.0
1734
1738
 
1735
1739
  - [minor][a0d5982270](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a0d5982270):
1736
-
1737
1740
  - Don't display nickname in mention list if it is the same as name.
1738
1741
 
1739
1742
  ## 18.1.0
1740
1743
 
1741
1744
  - [minor][5e4ff01e4c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5e4ff01e4c):
1742
-
1743
1745
  - Fix typeahead re-rendering when moving mouse
1744
1746
 
1745
1747
  Breaking change -> TypeAheadItem:
@@ -1770,20 +1772,17 @@
1770
1772
  ## 18.0.0
1771
1773
 
1772
1774
  - [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
1773
-
1774
1775
  - Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use
1775
1776
  this package, please ensure you use at least this version of react and react-dom.
1776
1777
 
1777
1778
  ## 17.6.9
1778
1779
 
1779
1780
  - [patch][d3cad2622e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d3cad2622e):
1780
-
1781
1781
  - Removes babel-runtime in favour of @babel/runtime
1782
1782
 
1783
1783
  ## 17.6.8
1784
1784
 
1785
1785
  - [patch][0a4ccaafae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0a4ccaafae):
1786
-
1787
1786
  - Bump tslib
1788
1787
 
1789
1788
  ## 17.6.7
@@ -1800,104 +1799,87 @@
1800
1799
  ## 17.6.6
1801
1800
 
1802
1801
  - [patch][3f28e6443c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3f28e6443c):
1803
-
1804
1802
  - @atlaskit/analytics-next-types is deprecated. Now you can use types for @atlaskit/analytics-next
1805
1803
  supplied from itself.
1806
1804
 
1807
1805
  ## 17.6.5
1808
1806
 
1809
1807
  - [patch][ddb3238b1c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ddb3238b1c):
1810
-
1811
1808
  - TEAMS-396 : Changing byline logic for mention
1812
1809
 
1813
1810
  ## 17.6.4
1814
1811
 
1815
1812
  - [patch][d13fad66df](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13fad66df):
1816
-
1817
1813
  - Enable esModuleInterop for typescript, this allows correct use of default exports
1818
1814
 
1819
1815
  ## 17.6.3
1820
1816
 
1821
1817
  - [patch][14b89652d7](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/14b89652d7):
1822
-
1823
1818
  - TEAMS-364 : Renaming the missed test files in the previous PR
1824
1819
 
1825
1820
  ## 17.6.2
1826
1821
 
1827
1822
  - [patch][c8b669eaec](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c8b669eaec):
1828
-
1829
1823
  - TEAMS-364 : Renaming Team mention description highlight classes to Byline
1830
1824
 
1831
1825
  ## 17.6.1
1832
1826
 
1833
1827
  - [patch][d26570e3b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d26570e3b5):
1834
-
1835
1828
  - Update i18n for team mention
1836
1829
  - Fix a bug in team mention: missing https protocol in team link
1837
1830
 
1838
1831
  ## 17.6.0
1839
1832
 
1840
1833
  - [minor][b31086fcf6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b31086fcf6):
1841
-
1842
1834
  - Add additional entry points for selective imports of mention components
1843
1835
 
1844
1836
  ## 17.5.0
1845
1837
 
1846
1838
  - [minor][b0210d7ccc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b0210d7ccc):
1847
-
1848
1839
  - reset jest modules before hydration
1849
1840
 
1850
1841
  ## 17.4.0
1851
1842
 
1852
1843
  - [minor][1affe17dc4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1affe17dc4):
1853
-
1854
1844
  - add analytics events for team mention
1855
1845
 
1856
1846
  ## 17.3.0
1857
1847
 
1858
1848
  - [minor][073320a681](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/073320a681):
1859
-
1860
1849
  - Improve TeamMentionResource, both team and user requests are not blocked together
1861
1850
 
1862
1851
  ## 17.2.0
1863
1852
 
1864
1853
  - [patch][5ca3696b14](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/5ca3696b14):
1865
-
1866
1854
  - TEAMS-319 : Render member counts and whether team includes you in byline
1867
1855
 
1868
1856
  - [minor][b8b55dc6ae](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b8b55dc6ae):
1869
-
1870
1857
  - TEAMS-319 : Render member counts and whether team includes you in byline
1871
1858
 
1872
1859
  ## 17.1.1
1873
1860
 
1874
1861
  - [patch][1bcaa1b991](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1bcaa1b991):
1875
-
1876
1862
  - Add npmignore for index.ts to prevent some jest tests from resolving that instead of index.js
1877
1863
 
1878
1864
  ## 17.1.0
1879
1865
 
1880
1866
  - [minor][b684722884](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b684722884):
1881
-
1882
1867
  - improvement of SSR tests and examples for Fabric Elements
1883
1868
 
1884
1869
  ## 17.0.0
1885
1870
 
1886
1871
  - [major][9d5cc39394](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d5cc39394):
1887
-
1888
1872
  - Dropped ES5 distributables from the typescript packages
1889
1873
 
1890
1874
  ## 16.4.0
1891
1875
 
1892
1876
  - [minor][fb679d390f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/fb679d390f):
1893
-
1894
1877
  - Add a new TeamMenioResource for @atlaskit/mention package. That allows to fetch teams data for
1895
1878
  mention from a team service (Legion service)
1896
1879
 
1897
1880
  ## 16.3.0
1898
1881
 
1899
1882
  - [minor][7261577953](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7261577953):
1900
-
1901
1883
  - use @atlaskit/ssr to ssr/hydrate mention examples
1902
1884
 
1903
1885
  ## 16.2.2
@@ -1925,13 +1907,11 @@
1925
1907
  ## 16.2.0
1926
1908
 
1927
1909
  - [minor][ef368572dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ef368572dc):
1928
-
1929
1910
  - Update types for @atlaskit/mention
1930
1911
 
1931
1912
  ## 16.1.0
1932
1913
 
1933
1914
  - [minor][0f3f9f0992](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0f3f9f0992):
1934
-
1935
1915
  - Fix context identifiers not being passed to mention provider's calls. MentionProvider interface
1936
1916
  was updated to include the optional contextIdentifier parameter in filter and
1937
1917
  recordMentionSelection methods.
@@ -1948,7 +1928,6 @@
1948
1928
  ## 16.0.0
1949
1929
 
1950
1930
  - [major][0c116d6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0c116d6):
1951
-
1952
1931
  - Removed client-side indexed cache of mention results. Also removed method 'getUsersInContext'
1953
1932
  from MentionResourceConfig, 'remoteSearch' from MentionStats and 'weight' from
1954
1933
  MentionDescription. If you used to use them, simply remove any references to them.
@@ -1956,40 +1935,33 @@
1956
1935
  ## 15.3.0
1957
1936
 
1958
1937
  - [minor][c238c00](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c238c00):
1959
-
1960
1938
  - added i18n support to mentions
1961
1939
 
1962
1940
  - [minor][3b1de17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3b1de17):
1963
-
1964
1941
  - added i18n translated files
1965
1942
 
1966
1943
  ## 15.2.2
1967
1944
 
1968
1945
  - [patch][0f19693](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0f19693):
1969
-
1970
1946
  - added tests for xregexp transformer, updated README and simplified code
1971
1947
 
1972
1948
  - [patch][b789b3a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b789b3a):
1973
-
1974
1949
  - removed xregexp library dependency from emoji and mention components, added xregexp-transformer
1975
1950
  package to compile xregexp expressions to unicode charsets
1976
1951
 
1977
1952
  ## 15.2.1
1978
1953
 
1979
1954
  - [patch][cae5adb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cae5adb):
1980
-
1981
1955
  - UR-197: Add queryLength to mentionTypeahead rendered event
1982
1956
 
1983
1957
  ## 15.2.0
1984
1958
 
1985
1959
  - [minor][f62557c](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f62557c):
1986
-
1987
1960
  - ED-5888 Add dark mode for mention
1988
1961
 
1989
1962
  ## 15.1.9
1990
1963
 
1991
1964
  - [patch][b81da9b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b81da9b):
1992
-
1993
1965
  - Fix typescript types to support strictFunctionTypes
1994
1966
 
1995
1967
  ## 15.1.8
@@ -2020,7 +1992,6 @@
2020
1992
  ## 15.1.6
2021
1993
 
2022
1994
  - [patch][90c4702](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/90c4702):
2023
-
2024
1995
  - FS-1734 Removed the try it out section from Emoji and Mentions documentation pages to match
2025
1996
  other pages. The section only contained a link to the same page, so was essentially redundant
2026
1997
  and potentially confusing.
@@ -2028,13 +1999,11 @@
2028
1999
  ## 15.1.5
2029
2000
 
2030
2001
  - [patch][3061b52](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3061b52):
2031
-
2032
2002
  - AK-5723 - adjust files in package.json to ensure correct publishing of dist/package.json
2033
2003
 
2034
2004
  ## 15.1.4
2035
2005
 
2036
2006
  - [patch][01edbde](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/01edbde):
2037
-
2038
2007
  - Force patch release
2039
2008
 
2040
2009
  ## 15.1.3
@@ -2048,13 +2017,11 @@
2048
2017
  ## 15.1.2
2049
2018
 
2050
2019
  - [patch][36c362f](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/36c362f):
2051
-
2052
2020
  - FS-3174 - Fix usage of gridSize() and borderRadius()
2053
2021
 
2054
2022
  ## 15.1.1
2055
2023
 
2056
2024
  - [patch][527b954](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/527b954):
2057
-
2058
2025
  - FS-3174 - Remove usage of util-shared-styles from elements components
2059
2026
 
2060
2027
  ## 15.1.0
@@ -12,7 +12,7 @@ var _types = require("../types");
12
12
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13
13
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14
14
  var packageName = "@atlaskit/mention";
15
- var packageVersion = "0.0.0-development";
15
+ var packageVersion = "24.3.2";
16
16
  var SLI_EVENT_TYPE = exports.SLI_EVENT_TYPE = 'sli';
17
17
  var SMART_EVENT_TYPE = exports.SMART_EVENT_TYPE = 'smart';
18
18
  var fireAnalyticsMentionTypeaheadEvent = exports.fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -2,7 +2,7 @@ import { OPERATIONAL_EVENT_TYPE, UI_EVENT_TYPE } from '@atlaskit/analytics-gas-t
2
2
  import { ELEMENTS_CHANNEL } from '../_constants';
3
3
  import { ComponentNames, isSpecialMentionText } from '../types';
4
4
  const packageName = "@atlaskit/mention";
5
- const packageVersion = "0.0.0-development";
5
+ const packageVersion = "24.3.2";
6
6
  export const SLI_EVENT_TYPE = 'sli';
7
7
  export const SMART_EVENT_TYPE = 'smart';
8
8
  export const fireAnalyticsMentionTypeaheadEvent = props => (action, duration, userIds = [], query) => {
@@ -5,7 +5,7 @@ import { OPERATIONAL_EVENT_TYPE, UI_EVENT_TYPE } from '@atlaskit/analytics-gas-t
5
5
  import { ELEMENTS_CHANNEL } from '../_constants';
6
6
  import { ComponentNames, isSpecialMentionText } from '../types';
7
7
  var packageName = "@atlaskit/mention";
8
- var packageVersion = "0.0.0-development";
8
+ var packageVersion = "24.3.2";
9
9
  export var SLI_EVENT_TYPE = 'sli';
10
10
  export var SMART_EVENT_TYPE = 'smart';
11
11
  export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
package/package.json CHANGED
@@ -28,10 +28,10 @@
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": "^15.0.0",
31
+ "@atlaskit/primitives": "^16.0.0",
32
32
  "@atlaskit/teams-avatar": "^2.3.0",
33
33
  "@atlaskit/theme": "^21.0.0",
34
- "@atlaskit/tokens": "^6.5.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.1"
111
+ "version": "24.3.3"
112
112
  }