@atlaskit/mention 24.2.5 → 24.2.7

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,20 @@
1
1
  # @atlaskit/mention
2
2
 
3
+ ## 24.2.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 24.2.6
10
+
11
+ ### Patch Changes
12
+
13
+ - [#188952](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/188952)
14
+ [`1a88e6e2601ae`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1a88e6e2601ae) -
15
+ Migrated usage of renamed/deprecated icons
16
+ - Updated dependencies
17
+
3
18
  ## 24.2.5
4
19
 
5
20
  ### Patch Changes
@@ -1,66 +1,72 @@
1
1
  {
2
- "extends": "../../../../tsconfig.entry-points.confluence.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "composite": true,
7
- "outDir": "../../../../../confluence/tsDist/@atlaskit__mention",
8
- "rootDir": "../"
9
- },
10
- "include": [
11
- "../src/**/*.ts",
12
- "../src/**/*.tsx"
13
- ],
14
- "exclude": [
15
- "../src/**/__tests__/*",
16
- "../src/**/*.test.*",
17
- "../src/**/test.*"
18
- ],
19
- "references": [
20
- {
21
- "path": "../../../analytics/analytics-gas-types/afm-cc/tsconfig.json"
22
- },
23
- {
24
- "path": "../../../analytics/analytics-next/afm-cc/tsconfig.json"
25
- },
26
- {
27
- "path": "../../../design-system/avatar/afm-cc/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../design-system/focus-ring/afm-cc/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/heading/afm-cc/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/icon/afm-cc/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/lozenge/afm-cc/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/primitives/afm-cc/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../people-and-teams/teams-avatar/afm-cc/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/theme/afm-cc/tsconfig.json"
52
- },
53
- {
54
- "path": "../../../design-system/tokens/afm-cc/tsconfig.json"
55
- },
56
- {
57
- "path": "../../../design-system/tooltip/afm-cc/tsconfig.json"
58
- },
59
- {
60
- "path": "../../../data/ufo-external/afm-cc/tsconfig.json"
61
- },
62
- {
63
- "path": "../../util-service-support/afm-cc/tsconfig.json"
64
- }
65
- ]
2
+ "extends": "../../../../tsconfig.entry-points.confluence.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "composite": true,
7
+ "outDir": "../../../../../confluence/tsDist/@atlaskit__mention",
8
+ "rootDir": "../"
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../../analytics/analytics-gas-types/afm-cc/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../analytics/analytics-next/afm-cc/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/avatar/afm-cc/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/focus-ring/afm-cc/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../design-system/heading/afm-cc/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/icon/afm-cc/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../design-system/lozenge/afm-cc/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../platform/feature-flags/afm-cc/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../design-system/primitives/afm-cc/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../people-and-teams/teams-avatar/afm-cc/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../../design-system/theme/afm-cc/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../design-system/tokens/afm-cc/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../../design-system/tooltip/afm-cc/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../../data/ufo-external/afm-cc/tsconfig.json"
67
+ },
68
+ {
69
+ "path": "../../util-service-support/afm-cc/tsconfig.json"
70
+ }
71
+ ]
66
72
  }
@@ -14,7 +14,13 @@
14
14
  "exclude": [
15
15
  "../src/**/__tests__/*",
16
16
  "../src/**/*.test.*",
17
- "../src/**/test.*"
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
18
24
  ],
19
25
  "references": [
20
26
  {
@@ -14,7 +14,13 @@
14
14
  "exclude": [
15
15
  "../src/**/__tests__/*",
16
16
  "../src/**/*.test.*",
17
- "../src/**/test.*"
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
18
24
  ],
19
25
  "references": [
20
26
  {
@@ -0,0 +1,72 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.rovo-extension.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../rovo-extension/tsDist/@atlaskit__mention/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../../analytics/analytics-gas-types/afm-rovo-extension/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../analytics/analytics-next/afm-rovo-extension/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/avatar/afm-rovo-extension/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/focus-ring/afm-rovo-extension/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../design-system/heading/afm-rovo-extension/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/icon/afm-rovo-extension/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../design-system/lozenge/afm-rovo-extension/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../platform/feature-flags/afm-rovo-extension/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../design-system/primitives/afm-rovo-extension/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../people-and-teams/teams-avatar/afm-rovo-extension/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../../design-system/theme/afm-rovo-extension/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../design-system/tokens/afm-rovo-extension/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../../design-system/tooltip/afm-rovo-extension/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../../data/ufo-external/afm-rovo-extension/tsconfig.json"
67
+ },
68
+ {
69
+ "path": "../../util-service-support/afm-rovo-extension/tsconfig.json"
70
+ }
71
+ ]
72
+ }
@@ -0,0 +1,72 @@
1
+ {
2
+ "extends": "../../../../tsconfig.entry-points.townsquare.json",
3
+ "compilerOptions": {
4
+ "declaration": true,
5
+ "target": "es5",
6
+ "outDir": "../../../../../townsquare/tsDist/@atlaskit__mention/app",
7
+ "rootDir": "../",
8
+ "composite": true
9
+ },
10
+ "include": [
11
+ "../src/**/*.ts",
12
+ "../src/**/*.tsx"
13
+ ],
14
+ "exclude": [
15
+ "../src/**/__tests__/*",
16
+ "../src/**/*.test.*",
17
+ "../src/**/test.*",
18
+ "../src/**/examples.*",
19
+ "../src/**/examples/*",
20
+ "../src/**/examples/**/*",
21
+ "../src/**/*.stories.*",
22
+ "../src/**/stories/*",
23
+ "../src/**/stories/**/*"
24
+ ],
25
+ "references": [
26
+ {
27
+ "path": "../../../analytics/analytics-gas-types/afm-townsquare/tsconfig.json"
28
+ },
29
+ {
30
+ "path": "../../../analytics/analytics-next/afm-townsquare/tsconfig.json"
31
+ },
32
+ {
33
+ "path": "../../../design-system/avatar/afm-townsquare/tsconfig.json"
34
+ },
35
+ {
36
+ "path": "../../../design-system/focus-ring/afm-townsquare/tsconfig.json"
37
+ },
38
+ {
39
+ "path": "../../../design-system/heading/afm-townsquare/tsconfig.json"
40
+ },
41
+ {
42
+ "path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
43
+ },
44
+ {
45
+ "path": "../../../design-system/lozenge/afm-townsquare/tsconfig.json"
46
+ },
47
+ {
48
+ "path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
49
+ },
50
+ {
51
+ "path": "../../../design-system/primitives/afm-townsquare/tsconfig.json"
52
+ },
53
+ {
54
+ "path": "../../../people-and-teams/teams-avatar/afm-townsquare/tsconfig.json"
55
+ },
56
+ {
57
+ "path": "../../../design-system/theme/afm-townsquare/tsconfig.json"
58
+ },
59
+ {
60
+ "path": "../../../design-system/tokens/afm-townsquare/tsconfig.json"
61
+ },
62
+ {
63
+ "path": "../../../design-system/tooltip/afm-townsquare/tsconfig.json"
64
+ },
65
+ {
66
+ "path": "../../../data/ufo-external/afm-townsquare/tsconfig.json"
67
+ },
68
+ {
69
+ "path": "../../util-service-support/afm-townsquare/tsconfig.json"
70
+ }
71
+ ]
72
+ }
@@ -12,6 +12,12 @@
12
12
  "exclude": [
13
13
  "../src/**/__tests__/*",
14
14
  "../src/**/*.test.*",
15
- "../src/**/test.*"
15
+ "../src/**/test.*",
16
+ "../src/**/examples.*",
17
+ "../src/**/examples/*",
18
+ "../src/**/examples/**/*",
19
+ "../src/**/*.stories.*",
20
+ "../src/**/stories/*",
21
+ "../src/**/stories/**/*"
16
22
  ]
17
- }
23
+ }
@@ -23,7 +23,7 @@ var _lozenge = _interopRequireDefault(require("@atlaskit/lozenge"));
23
23
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
24
24
  var _colors = require("@atlaskit/theme/colors");
25
25
  var _react = _interopRequireDefault(require("react"));
26
- var _informationEditorPanel = _interopRequireDefault(require("@atlaskit/icon/core/migration/information--editor-panel"));
26
+ var _statusInformationEditorPanel = _interopRequireDefault(require("@atlaskit/icon/core/migration/status-information--editor-panel"));
27
27
  var _types = require("../../types");
28
28
  var _i18n = require("../../util/i18n");
29
29
  var _mouse = require("../../util/mouse");
@@ -139,7 +139,7 @@ var MentionItem = exports.default = /*#__PURE__*/function (_React$PureComponent)
139
139
  return /*#__PURE__*/_react.default.createElement(_LockCircleIcon.default, {
140
140
  label: text
141
141
  });
142
- } /* safe to cast to string given there is no value binding */)))) : null, isXProductUser && /*#__PURE__*/_react.default.createElement(_informationEditorPanel.default, {
142
+ } /* safe to cast to string given there is no value binding */)))) : null, isXProductUser && /*#__PURE__*/_react.default.createElement(_statusInformationEditorPanel.default, {
143
143
  color: xProductUserInfoIconColor,
144
144
  label: ''
145
145
  }))));
@@ -16,7 +16,7 @@ var _primitives = require("@atlaskit/primitives");
16
16
  var _i18n = require("../../util/i18n");
17
17
  var _GenericErrorIllustration = require("./GenericErrorIllustration");
18
18
  function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
19
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
19
+ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
20
20
  var advisedActionMessages = {
21
21
  '401': _i18n.LoginAgain,
22
22
  '403': _i18n.DifferentText,
@@ -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 = "24.2.4";
15
+ var packageVersion = "24.2.6";
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) {
@@ -4,7 +4,7 @@ import Lozenge from '@atlaskit/lozenge';
4
4
  import { fg } from '@atlaskit/platform-feature-flags';
5
5
  import { N30 } from '@atlaskit/theme/colors';
6
6
  import React from 'react';
7
- import EditorPanelIcon from '@atlaskit/icon/core/migration/information--editor-panel';
7
+ import EditorPanelIcon from '@atlaskit/icon/core/migration/status-information--editor-panel';
8
8
  import { isRestricted } from '../../types';
9
9
  import { NoAccessLabel } from '../../util/i18n';
10
10
  import { leftClick } from '../../util/mouse';
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import Heading from '@atlaskit/heading';
3
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
3
4
  import { Stack, Text, xcss } from '@atlaskit/primitives';
4
5
  import { DefaultAdvisedAction, DefaultHeadline, DifferentText, LoginAgain } from '../../util/i18n';
5
6
  import { GenericErrorIllustration } from './GenericErrorIllustration';
@@ -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 = "24.2.4";
5
+ const packageVersion = "24.2.6";
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) => {
@@ -12,7 +12,7 @@ import Lozenge from '@atlaskit/lozenge';
12
12
  import { fg } from '@atlaskit/platform-feature-flags';
13
13
  import { N30 } from '@atlaskit/theme/colors';
14
14
  import React from 'react';
15
- import EditorPanelIcon from '@atlaskit/icon/core/migration/information--editor-panel';
15
+ import EditorPanelIcon from '@atlaskit/icon/core/migration/status-information--editor-panel';
16
16
  import { isRestricted } from '../../types';
17
17
  import { NoAccessLabel } from '../../util/i18n';
18
18
  import { leftClick } from '../../util/mouse';
@@ -7,6 +7,7 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
7
7
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
8
8
  import React from 'react';
9
9
  import Heading from '@atlaskit/heading';
10
+ // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
10
11
  import { Stack, Text, xcss } from '@atlaskit/primitives';
11
12
  import { DefaultAdvisedAction, DefaultHeadline, DifferentText, LoginAgain } from '../../util/i18n';
12
13
  import { GenericErrorIllustration } from './GenericErrorIllustration';
@@ -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 = "24.2.4";
8
+ var packageVersion = "24.2.6";
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
@@ -35,14 +35,14 @@
35
35
  "@atlaskit/avatar": "^25.1.0",
36
36
  "@atlaskit/focus-ring": "^3.0.0",
37
37
  "@atlaskit/heading": "^5.2.0",
38
- "@atlaskit/icon": "^27.3.0",
38
+ "@atlaskit/icon": "^27.9.0",
39
39
  "@atlaskit/lozenge": "^13.0.0",
40
40
  "@atlaskit/platform-feature-flags": "^1.1.0",
41
- "@atlaskit/primitives": "^14.10.0",
41
+ "@atlaskit/primitives": "^14.11.0",
42
42
  "@atlaskit/teams-avatar": "^2.3.0",
43
43
  "@atlaskit/theme": "^19.0.0",
44
- "@atlaskit/tokens": "^5.4.0",
45
- "@atlaskit/tooltip": "^20.3.0",
44
+ "@atlaskit/tokens": "^6.0.0",
45
+ "@atlaskit/tooltip": "^20.4.0",
46
46
  "@atlaskit/ufo": "^0.4.0",
47
47
  "@atlaskit/util-service-support": "^6.3.0",
48
48
  "@babel/runtime": "^7.0.0",
@@ -120,5 +120,5 @@
120
120
  ]
121
121
  }
122
122
  },
123
- "version": "24.2.5"
123
+ "version": "24.2.7"
124
124
  }
package/tsconfig.json CHANGED
@@ -6,7 +6,13 @@
6
6
  "./docs/**/*.ts",
7
7
  "./docs/**/*.tsx",
8
8
  "./examples/**/*.ts",
9
- "./examples/**/*.tsx"],
10
- "compilerOptions": {
11
- }
9
+ "./examples/**/*.tsx",
10
+ "**/stories.ts",
11
+ "**/stories.tsx",
12
+ "**/stories/*.ts",
13
+ "**/stories/*.tsx",
14
+ "**/stories/**/*.ts",
15
+ "**/stories/**/*.tsx"
16
+ ],
17
+ "compilerOptions": {}
12
18
  }