@atlaskit/mention 24.3.3 → 24.4.0

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.
@@ -7,10 +7,9 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
7
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  import React from 'react';
10
- import { fg } from '@atlaskit/platform-feature-flags';
11
10
  import debug from '../../util/logger';
12
11
  import { actualMouseMove, mouseLocation } from '../../util/mouse';
13
- import MentionItem, { MentionItemWithRef } from '../MentionItem';
12
+ import { MentionItemWithRef } from '../MentionItem';
14
13
  import MentionListError from '../MentionListError';
15
14
  import MessagesIntlProvider from '../MessagesIntlProvider';
16
15
  import Scrollable from '../Scrollable';
@@ -161,16 +160,9 @@ var MentionList = /*#__PURE__*/function (_React$PureComponent) {
161
160
  value:
162
161
  // Internal
163
162
  function revealItem(key) {
164
- if (fg('mentions-migrate-react-dom')) {
165
- var itemRef = this.getItemRef(key);
166
- if (itemRef && this.scrollable) {
167
- itemRef && this.scrollable.revealRef(itemRef);
168
- }
169
- } else {
170
- var item = this.items[key];
171
- if (item && this.scrollable) {
172
- this.scrollable.reveal(item);
173
- }
163
+ var itemRef = this.getItemRef(key);
164
+ if (itemRef && this.scrollable) {
165
+ itemRef && this.scrollable.revealRef(itemRef);
174
166
  }
175
167
  }
176
168
 
@@ -191,43 +183,21 @@ var MentionList = /*#__PURE__*/function (_React$PureComponent) {
191
183
  var _this2 = this;
192
184
  var mentions = this.props.mentions;
193
185
  if (mentions && mentions.length) {
194
- this.items = {};
195
186
  return /*#__PURE__*/React.createElement("div", null, this.props.initialHighlightElement, mentions.map(function (mention, idx) {
196
187
  var key = mention.id;
197
188
  var ref = _this2.createItemRef(key);
198
- if (fg('mentions-migrate-react-dom')) {
199
- var item = /*#__PURE__*/React.createElement(MentionItemWithRef, {
200
- mention: mention,
201
- selected: _this2.isSelectedMention(mention, idx),
202
- key: key,
203
- onMouseMove: _this2.selectIndexOnHover
204
- /* Cannot use onclick, as onblur will close the element, and prevent
205
- * onClick from firing.
206
- */,
207
- onSelection: _this2.itemSelected,
208
- ref: ref
209
- });
210
- return item;
211
- } else {
212
- var _item = /*#__PURE__*/React.createElement(MentionItem, {
213
- mention: mention,
214
- selected: _this2.isSelectedMention(mention, idx),
215
- key: key,
216
- onMouseMove: _this2.selectIndexOnHover
217
- /* Cannot use onclick, as onblur will close the element, and prevent
218
- * onClick from firing.
219
- */,
220
- onSelection: _this2.itemSelected,
221
- ref: function ref(_ref) {
222
- if (_ref) {
223
- _this2.items[key] = _ref;
224
- } else {
225
- delete _this2.items[key];
226
- }
227
- }
228
- });
229
- return _item;
230
- }
189
+ var item = /*#__PURE__*/React.createElement(MentionItemWithRef, {
190
+ mention: mention,
191
+ selected: _this2.isSelectedMention(mention, idx),
192
+ key: key,
193
+ onMouseMove: _this2.selectIndexOnHover
194
+ /* Cannot use onclick, as onblur will close the element, and prevent
195
+ * onClick from firing.
196
+ */,
197
+ onSelection: _this2.itemSelected,
198
+ ref: ref
199
+ });
200
+ return item;
231
201
  }));
232
202
  }
233
203
  return null;
@@ -9,11 +9,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
9
9
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
10
10
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
11
11
  import React from 'react';
12
- import ReactDOM, { createPortal } from 'react-dom';
13
- import { fg } from '@atlaskit/platform-feature-flags';
14
- /*
15
- * Simple implementation of popup while waiting for ak-inline-dialog
16
- */
12
+ import { createPortal } from 'react-dom';
17
13
  var Popup = /*#__PURE__*/function (_React$PureComponent) {
18
14
  function Popup(props) {
19
15
  var _this;
@@ -37,28 +33,7 @@ var Popup = /*#__PURE__*/function (_React$PureComponent) {
37
33
  }, {
38
34
  key: "componentDidMount",
39
35
  value: function componentDidMount() {
40
- if (!fg('mentions-migrate-react-dom')) {
41
- this.popup = document.createElement('div');
42
- document.body.appendChild(this.popup);
43
- this.popup.style.position = 'absolute';
44
- }
45
36
  this._applyAbsolutePosition();
46
- this._renderContent();
47
- }
48
- }, {
49
- key: "componentDidUpdate",
50
- value: function componentDidUpdate() {
51
- this._renderContent();
52
- }
53
- }, {
54
- key: "componentWillUnmount",
55
- value: function componentWillUnmount() {
56
- if (!fg('mentions-migrate-react-dom')) {
57
- if (this.popup) {
58
- ReactDOM.unmountComponentAtNode(this.popup);
59
- document.body.removeChild(this.popup);
60
- }
61
- }
62
37
  }
63
38
  }, {
64
39
  key: "_applyBelowPosition",
@@ -68,19 +43,11 @@ var Popup = /*#__PURE__*/function (_React$PureComponent) {
68
43
  var box = targetNode.getBoundingClientRect();
69
44
  var top = box.bottom + (this.props.offsetY || 0);
70
45
  var left = box.left + (this.props.offsetX || 0);
71
- if (fg('mentions-migrate-react-dom')) {
72
- this.setPortalStyles({
73
- top: "".concat(top, "px"),
74
- bottom: '',
75
- left: "".concat(left, "px")
76
- });
77
- } else {
78
- if (this.popup) {
79
- this.popup.style.top = "".concat(top, "px");
80
- this.popup.style.bottom = '';
81
- this.popup.style.left = "".concat(left, "px");
82
- }
83
- }
46
+ this.setPortalStyles({
47
+ top: "".concat(top, "px"),
48
+ bottom: '',
49
+ left: "".concat(left, "px")
50
+ });
84
51
  }
85
52
  }
86
53
  }, {
@@ -91,19 +58,11 @@ var Popup = /*#__PURE__*/function (_React$PureComponent) {
91
58
  var box = targetNode.getBoundingClientRect();
92
59
  var bottom = window.innerHeight - box.top + (this.props.offsetY || 0);
93
60
  var left = box.left + (this.props.offsetX || 0);
94
- if (fg('mentions-migrate-react-dom')) {
95
- this.setPortalStyles({
96
- top: '',
97
- bottom: "".concat(bottom, "px"),
98
- left: "".concat(left, "px")
99
- });
100
- } else {
101
- if (this.popup) {
102
- this.popup.style.top = '';
103
- this.popup.style.bottom = "".concat(bottom, "px");
104
- this.popup.style.left = "".concat(left, "px");
105
- }
106
- }
61
+ this.setPortalStyles({
62
+ top: '',
63
+ bottom: "".concat(bottom, "px"),
64
+ left: "".concat(left, "px")
65
+ });
107
66
  }
108
67
  }
109
68
  }, {
@@ -125,41 +84,21 @@ var Popup = /*#__PURE__*/function (_React$PureComponent) {
125
84
  }
126
85
  }
127
86
  }
128
- if (fg('mentions-migrate-react-dom')) {
129
- if (this.props.zIndex) {
130
- this.setPortalStyles({
131
- zIndex: this.props.zIndex
132
- });
133
- }
134
- } else {
135
- if (this.props.zIndex && this.popup) {
136
- this.popup.style.zIndex = "".concat(this.props.zIndex);
137
- }
138
- }
139
- }
140
- }, {
141
- key: "_renderContent",
142
- value: function _renderContent() {
143
- if (!fg('mentions-migrate-react-dom')) {
144
- if (this.popup) {
145
- ReactDOM.render(this.props.children, this.popup);
146
- }
87
+ if (this.props.zIndex) {
88
+ this.setPortalStyles({
89
+ zIndex: this.props.zIndex
90
+ });
147
91
  }
148
92
  }
149
93
  }, {
150
94
  key: "render",
151
95
  value: function render() {
152
- if (fg('mentions-migrate-react-dom')) {
153
- // https://atlassian.design/components/eslint-plugin-ui-styling-standard/migration-guide#dynamic-styles
154
- // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
155
- var content = /*#__PURE__*/React.createElement("div", {
156
- style: this.portalStyles
157
- }, this.props.children);
158
- return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/createPortal(content, document.body));
159
- } else {
160
- // Placeholder element for react to render inplace
161
- /*#__PURE__*/React.createElement("div", null);
162
- }
96
+ // https://atlassian.design/components/eslint-plugin-ui-styling-standard/migration-guide#dynamic-styles
97
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/enforce-style-prop
98
+ var content = /*#__PURE__*/React.createElement("div", {
99
+ style: this.portalStyles
100
+ }, this.props.children);
101
+ return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/createPortal(content, document.body));
163
102
  }
164
103
  }]);
165
104
  }(React.PureComponent);
@@ -7,7 +7,6 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
7
7
  function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
8
8
  function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
9
9
  import React from 'react';
10
- import { findDOMNode } from 'react-dom';
11
10
  import { ScrollableStyle } from './styles';
12
11
  var Scrollable = /*#__PURE__*/function (_React$PureComponent) {
13
12
  function Scrollable() {
@@ -17,21 +16,6 @@ var Scrollable = /*#__PURE__*/function (_React$PureComponent) {
17
16
  args[_key] = arguments[_key];
18
17
  }
19
18
  _this = _callSuper(this, Scrollable, [].concat(args));
20
- // Cleanup when removing mentions-migrate-react-dom
21
- _defineProperty(_this, "reveal", function (child) {
22
- if (child && _this.scrollableDiv) {
23
- var childNode = findDOMNode(child);
24
- // Not using Element.scrollIntoView as it scrolls even to top/bottom of view even if
25
- // already visible
26
- var scrollableRect = _this.scrollableDiv.getBoundingClientRect();
27
- var elementRect = childNode.getBoundingClientRect();
28
- if (elementRect.top < scrollableRect.top) {
29
- _this.scrollableDiv.scrollTop += elementRect.top - scrollableRect.top;
30
- } else if (elementRect.bottom > scrollableRect.bottom) {
31
- _this.scrollableDiv.scrollTop += elementRect.bottom - scrollableRect.bottom;
32
- }
33
- }
34
- });
35
19
  _defineProperty(_this, "revealRef", function (ref) {
36
20
  if (ref && ref.current && _this.scrollableDiv) {
37
21
  // Not using Element.scrollIntoView as it scrolls even to top/bottom of view even if
@@ -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.3.2";
8
+ var packageVersion = "0.0.0-development";
9
9
  export var SLI_EVENT_TYPE = 'sli';
10
10
  export var SMART_EVENT_TYPE = 'smart';
11
11
  export var fireAnalyticsMentionTypeaheadEvent = function fireAnalyticsMentionTypeaheadEvent(props) {
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type MentionDescription, type OnMentionEvent } from '../../types';
3
- import MentionItem from '../MentionItem';
3
+ import type MentionItem from '../MentionItem';
4
4
  export interface Props {
5
5
  initialHighlightElement?: React.ReactElement | null;
6
6
  mentions: MentionDescription[];
@@ -17,7 +17,6 @@ export interface Items {
17
17
  export default class MentionList extends React.PureComponent<Props, State> {
18
18
  private lastMousePosition;
19
19
  private scrollable?;
20
- private items;
21
20
  private itemsRefs;
22
21
  constructor(props: Props);
23
22
  createItemRef(key: string): React.RefObject<HTMLDivElement>;
@@ -8,7 +8,6 @@ export interface Props {
8
8
  zIndex?: number | string;
9
9
  }
10
10
  export default class Popup extends React.PureComponent<Props, {}> {
11
- private popup?;
12
11
  private portalStyles;
13
12
  constructor(props: Props);
14
13
  setPortalStyles(styles: Record<string, string | number | null>): void;
@@ -19,11 +18,8 @@ export default class Popup extends React.PureComponent<Props, {}> {
19
18
  zIndex: number;
20
19
  };
21
20
  componentDidMount(): void;
22
- componentDidUpdate(): void;
23
- componentWillUnmount(): void;
24
21
  _applyBelowPosition(): void;
25
22
  _applyAbovePosition(): void;
26
23
  _applyAbsolutePosition(): void;
27
- _renderContent(): void;
28
- render(): React.JSX.Element | undefined;
24
+ render(): React.JSX.Element;
29
25
  }
@@ -1,11 +1,9 @@
1
1
  import React from 'react';
2
- import type MentionItem from '../MentionItem';
3
2
  export interface Props {
4
3
  children?: React.ReactNode | React.ReactNode[];
5
4
  }
6
5
  export default class Scrollable extends React.PureComponent<Props, {}> {
7
6
  private scrollableDiv?;
8
- reveal: (child: MentionItem) => void;
9
7
  revealRef: (ref: React.RefObject<HTMLDivElement>) => void;
10
8
  private handleRef;
11
9
  render(): React.JSX.Element;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { type MentionDescription, type OnMentionEvent } from '../../types';
3
- import MentionItem from '../MentionItem';
3
+ import type MentionItem from '../MentionItem';
4
4
  export interface Props {
5
5
  initialHighlightElement?: React.ReactElement | null;
6
6
  mentions: MentionDescription[];
@@ -17,7 +17,6 @@ export interface Items {
17
17
  export default class MentionList extends React.PureComponent<Props, State> {
18
18
  private lastMousePosition;
19
19
  private scrollable?;
20
- private items;
21
20
  private itemsRefs;
22
21
  constructor(props: Props);
23
22
  createItemRef(key: string): React.RefObject<HTMLDivElement>;
@@ -8,7 +8,6 @@ export interface Props {
8
8
  zIndex?: number | string;
9
9
  }
10
10
  export default class Popup extends React.PureComponent<Props, {}> {
11
- private popup?;
12
11
  private portalStyles;
13
12
  constructor(props: Props);
14
13
  setPortalStyles(styles: Record<string, string | number | null>): void;
@@ -19,11 +18,8 @@ export default class Popup extends React.PureComponent<Props, {}> {
19
18
  zIndex: number;
20
19
  };
21
20
  componentDidMount(): void;
22
- componentDidUpdate(): void;
23
- componentWillUnmount(): void;
24
21
  _applyBelowPosition(): void;
25
22
  _applyAbovePosition(): void;
26
23
  _applyAbsolutePosition(): void;
27
- _renderContent(): void;
28
- render(): React.JSX.Element | undefined;
24
+ render(): React.JSX.Element;
29
25
  }
@@ -1,11 +1,9 @@
1
1
  import React from 'react';
2
- import type MentionItem from '../MentionItem';
3
2
  export interface Props {
4
3
  children?: React.ReactNode | React.ReactNode[];
5
4
  }
6
5
  export default class Scrollable extends React.PureComponent<Props, {}> {
7
6
  private scrollableDiv?;
8
- reveal: (child: MentionItem) => void;
9
7
  revealRef: (ref: React.RefObject<HTMLDivElement>) => void;
10
8
  private handleRef;
11
9
  render(): React.JSX.Element;
package/package.json CHANGED
@@ -22,17 +22,17 @@
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.4.0",
25
+ "@atlaskit/avatar": "^25.5.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": "^16.0.0",
31
+ "@atlaskit/primitives": "^16.1.0",
32
32
  "@atlaskit/teams-avatar": "^2.3.0",
33
33
  "@atlaskit/theme": "^21.0.0",
34
- "@atlaskit/tokens": "^7.0.0",
35
- "@atlaskit/tooltip": "^20.5.0",
34
+ "@atlaskit/tokens": "^7.1.0",
35
+ "@atlaskit/tooltip": "^20.7.0",
36
36
  "@atlaskit/ufo": "^0.4.0",
37
37
  "@atlaskit/util-service-support": "^6.3.0",
38
38
  "@babel/runtime": "^7.0.0",
@@ -44,7 +44,7 @@
44
44
  "description": "A React component used to display user profiles in a list for 'Mention' functionality",
45
45
  "devDependencies": {
46
46
  "@atlaskit/elements-test-helpers": "workspace:^",
47
- "@atlassian/feature-flags-test-utils": "^0.3.0",
47
+ "@atlassian/feature-flags-test-utils": "^1.0.0",
48
48
  "@testing-library/react": "^13.4.0",
49
49
  "@testing-library/user-event": "^14.4.3",
50
50
  "@types/query-string": "^4.3.1",
@@ -78,9 +78,6 @@
78
78
  "platform-feature-flags": {
79
79
  "team-avatar-in-mention-picker": {
80
80
  "type": "boolean"
81
- },
82
- "mentions-migrate-react-dom": {
83
- "type": "boolean"
84
81
  }
85
82
  },
86
83
  "publishConfig": {
@@ -108,5 +105,5 @@
108
105
  ]
109
106
  }
110
107
  },
111
- "version": "24.3.3"
108
+ "version": "24.4.0"
112
109
  }
@@ -1,72 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.dev-agents.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../dev-agents/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-dev-agents/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../analytics/analytics-next/afm-dev-agents/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/avatar/afm-dev-agents/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/focus-ring/afm-dev-agents/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/heading/afm-dev-agents/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/icon/afm-dev-agents/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/lozenge/afm-dev-agents/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../platform/feature-flags/afm-dev-agents/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/primitives/afm-dev-agents/tsconfig.json"
52
- },
53
- {
54
- "path": "../../../people-and-teams/teams-avatar/afm-dev-agents/tsconfig.json"
55
- },
56
- {
57
- "path": "../../../design-system/theme/afm-dev-agents/tsconfig.json"
58
- },
59
- {
60
- "path": "../../../design-system/tokens/afm-dev-agents/tsconfig.json"
61
- },
62
- {
63
- "path": "../../../design-system/tooltip/afm-dev-agents/tsconfig.json"
64
- },
65
- {
66
- "path": "../../../data/ufo-external/afm-dev-agents/tsconfig.json"
67
- },
68
- {
69
- "path": "../../util-service-support/afm-dev-agents/tsconfig.json"
70
- }
71
- ]
72
- }
@@ -1,72 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.passionfruit.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../passionfruit/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-passionfruit/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../analytics/analytics-next/afm-passionfruit/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/avatar/afm-passionfruit/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/focus-ring/afm-passionfruit/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/heading/afm-passionfruit/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/icon/afm-passionfruit/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/lozenge/afm-passionfruit/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../platform/feature-flags/afm-passionfruit/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/primitives/afm-passionfruit/tsconfig.json"
52
- },
53
- {
54
- "path": "../../../people-and-teams/teams-avatar/afm-passionfruit/tsconfig.json"
55
- },
56
- {
57
- "path": "../../../design-system/theme/afm-passionfruit/tsconfig.json"
58
- },
59
- {
60
- "path": "../../../design-system/tokens/afm-passionfruit/tsconfig.json"
61
- },
62
- {
63
- "path": "../../../design-system/tooltip/afm-passionfruit/tsconfig.json"
64
- },
65
- {
66
- "path": "../../../data/ufo-external/afm-passionfruit/tsconfig.json"
67
- },
68
- {
69
- "path": "../../util-service-support/afm-passionfruit/tsconfig.json"
70
- }
71
- ]
72
- }
@@ -1,72 +0,0 @@
1
- {
2
- "extends": "../../../../tsconfig.entry-points.post-office.json",
3
- "compilerOptions": {
4
- "declaration": true,
5
- "target": "es5",
6
- "outDir": "../../../../../post-office/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-post-office/tsconfig.json"
28
- },
29
- {
30
- "path": "../../../analytics/analytics-next/afm-post-office/tsconfig.json"
31
- },
32
- {
33
- "path": "../../../design-system/avatar/afm-post-office/tsconfig.json"
34
- },
35
- {
36
- "path": "../../../design-system/focus-ring/afm-post-office/tsconfig.json"
37
- },
38
- {
39
- "path": "../../../design-system/heading/afm-post-office/tsconfig.json"
40
- },
41
- {
42
- "path": "../../../design-system/icon/afm-post-office/tsconfig.json"
43
- },
44
- {
45
- "path": "../../../design-system/lozenge/afm-post-office/tsconfig.json"
46
- },
47
- {
48
- "path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
49
- },
50
- {
51
- "path": "../../../design-system/primitives/afm-post-office/tsconfig.json"
52
- },
53
- {
54
- "path": "../../../people-and-teams/teams-avatar/afm-post-office/tsconfig.json"
55
- },
56
- {
57
- "path": "../../../design-system/theme/afm-post-office/tsconfig.json"
58
- },
59
- {
60
- "path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
61
- },
62
- {
63
- "path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
64
- },
65
- {
66
- "path": "../../../data/ufo-external/afm-post-office/tsconfig.json"
67
- },
68
- {
69
- "path": "../../util-service-support/afm-post-office/tsconfig.json"
70
- }
71
- ]
72
- }