@atlaskit/user-picker 11.10.0 → 11.12.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.
- package/CHANGELOG.md +19 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/ExternalUserOption/InfoIcon.js +1 -1
- package/dist/cjs/components/ExternalUserOption/main.js +1 -0
- package/dist/cjs/components/MultiValueContainer.js +1 -10
- package/dist/cjs/components/PopupUserPicker.js +4 -1
- package/dist/cjs/components/utils.js +1 -0
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/ExternalUserOption/InfoIcon.js +1 -1
- package/dist/es2019/components/ExternalUserOption/main.js +1 -0
- package/dist/es2019/components/MultiValueContainer.js +1 -10
- package/dist/es2019/components/PopupUserPicker.js +5 -1
- package/dist/es2019/components/utils.js +1 -0
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/ExternalUserOption/InfoIcon.js +1 -1
- package/dist/esm/components/ExternalUserOption/main.js +1 -0
- package/dist/esm/components/MultiValueContainer.js +1 -10
- package/dist/esm/components/PopupUserPicker.js +4 -1
- package/dist/esm/components/utils.js +1 -0
- package/dist/types/components/BaseUserPicker.d.ts +2 -1
- package/dist/types/components/PopupUserPicker.d.ts +2 -0
- package/dist/types/components/UserPicker.d.ts +2 -1
- package/dist/types/types.d.ts +3 -1
- package/dist/types-ts4.5/components/BaseUserPicker.d.ts +2 -1
- package/dist/types-ts4.5/components/PopupUserPicker.d.ts +2 -0
- package/dist/types-ts4.5/components/UserPicker.d.ts +2 -1
- package/dist/types-ts4.5/types.d.ts +3 -1
- package/package.json +5 -7
- package/afm-post-office/tsconfig.json +0 -75
- package/afm-townsquare/tsconfig.json +0 -75
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlaskit/user-picker
|
|
2
2
|
|
|
3
|
+
## 11.12.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`fbc3b9aa8797e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/fbc3b9aa8797e) -
|
|
8
|
+
add a new prop popupSelectProps to allow customised props for PopupSelect componenet in
|
|
9
|
+
PopupUserPicker
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 11.11.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [`11f67199573c8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/11f67199573c8) -
|
|
20
|
+
Clean up the FG and remove findDOMNode for good
|
|
21
|
+
|
|
3
22
|
## 11.10.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -12,7 +12,7 @@ var _utils = require("./components/utils");
|
|
|
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/user-picker";
|
|
15
|
-
var packageVersion = "11.
|
|
15
|
+
var packageVersion = "11.11.0";
|
|
16
16
|
var UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
17
17
|
var UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
18
18
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -33,7 +33,7 @@ var _default = exports.default = function _default() {
|
|
|
33
33
|
return setHoverState(false);
|
|
34
34
|
}, [setHoverState]);
|
|
35
35
|
return (
|
|
36
|
-
// eslint-disable-next-line @atlassian/a11y/
|
|
36
|
+
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
37
37
|
(0, _react2.jsx)("div", {
|
|
38
38
|
css: wrapper,
|
|
39
39
|
onMouseEnter: onMouseEnter,
|
|
@@ -19,12 +19,10 @@ var _inherits2 = _interopRequireDefault(require("@babel/runtime/helpers/inherits
|
|
|
19
19
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
20
20
|
var _select = require("@atlaskit/select");
|
|
21
21
|
var _react = _interopRequireWildcard(require("react"));
|
|
22
|
-
var _reactDom = _interopRequireDefault(require("react-dom"));
|
|
23
22
|
var _reactIntlNext = require("react-intl-next");
|
|
24
23
|
var _i18n = require("./i18n");
|
|
25
24
|
var _utils = require("./utils");
|
|
26
25
|
var _ValueContainerWrapper = _interopRequireDefault(require("./ValueContainerWrapper"));
|
|
27
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
28
26
|
var _excluded = ["children", "innerProps"];
|
|
29
27
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
30
28
|
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; }
|
|
@@ -44,14 +42,7 @@ var MultiValueContainer = exports.MultiValueContainer = /*#__PURE__*/function (_
|
|
|
44
42
|
_this.timeoutId = window.setTimeout(function () {
|
|
45
43
|
var current = _this.valueContainerInnerProps.ref.current;
|
|
46
44
|
if (current !== null) {
|
|
47
|
-
|
|
48
|
-
current.scrollTop = current.scrollHeight;
|
|
49
|
-
} else {
|
|
50
|
-
var container = _reactDom.default.findDOMNode(current);
|
|
51
|
-
if (container instanceof HTMLDivElement) {
|
|
52
|
-
container.scrollTop = container.scrollHeight;
|
|
53
|
-
}
|
|
54
|
-
}
|
|
45
|
+
current.scrollTop = current.scrollHeight;
|
|
55
46
|
}
|
|
56
47
|
_this.timeoutId = null;
|
|
57
48
|
});
|
|
@@ -20,6 +20,8 @@ var _styles = require("./styles");
|
|
|
20
20
|
var _popup = require("./popup");
|
|
21
21
|
var _BaseUserPicker = require("./BaseUserPicker");
|
|
22
22
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
23
|
+
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; }
|
|
24
|
+
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; }
|
|
23
25
|
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)); }
|
|
24
26
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
25
27
|
var PopupUserPickerWithoutAnalytics = exports.PopupUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Component) {
|
|
@@ -65,12 +67,13 @@ var PopupUserPickerWithoutAnalytics = exports.PopupUserPickerWithoutAnalytics =
|
|
|
65
67
|
strategy = _this$props.strategy;
|
|
66
68
|
var width = this.props.width;
|
|
67
69
|
var selectStyles = (0, _styles.getPopupStyles)(width, isMulti, styles, (0, _platformFeatureFlags.fg)('platform-component-visual-refresh'));
|
|
70
|
+
var pickerProps = _objectSpread(_objectSpread({}, (0, _popup.getPopupProps)(width, target, this.handleFlipStyle, boundariesElement, offset, placement, rootBoundary, shouldFlip, popupTitle, strategy)), this.props.popupSelectProps || {});
|
|
68
71
|
return /*#__PURE__*/_react.default.createElement(_BaseUserPicker.BaseUserPickerWithoutAnalytics, (0, _extends2.default)({}, this.props, {
|
|
69
72
|
SelectComponent: _select.PopupSelect,
|
|
70
73
|
width: width,
|
|
71
74
|
styles: selectStyles,
|
|
72
75
|
components: (0, _components.getPopupComponents)(!!popupTitle),
|
|
73
|
-
pickerProps:
|
|
76
|
+
pickerProps: pickerProps
|
|
74
77
|
}));
|
|
75
78
|
}
|
|
76
79
|
}]);
|
|
@@ -107,6 +107,7 @@ var callCallback = exports.callCallback = function callCallback(callback) {
|
|
|
107
107
|
console.error('@atlassian/user-select: an error happening in `callCallback`: ', error);
|
|
108
108
|
}
|
|
109
109
|
}
|
|
110
|
+
return undefined;
|
|
110
111
|
};
|
|
111
112
|
var getAvatarUrl = exports.getAvatarUrl = function getAvatarUrl(optionData) {
|
|
112
113
|
if (isUser(optionData) || isTeam(optionData) || isCustom(optionData) || isExternalUser(optionData)) {
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -2,7 +2,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
|
2
2
|
import { v4 as uuidv4 } from 'uuid';
|
|
3
3
|
import { isCustom, isExternalUser } from './components/utils';
|
|
4
4
|
const packageName = "@atlaskit/user-picker";
|
|
5
|
-
const packageVersion = "11.
|
|
5
|
+
const packageVersion = "11.11.0";
|
|
6
6
|
const UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
7
7
|
const UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
8
8
|
const UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -16,7 +16,7 @@ export default (() => {
|
|
|
16
16
|
const onMouseEnter = useCallback(() => setHoverState(true), [setHoverState]);
|
|
17
17
|
const onMouseLeave = useCallback(() => setHoverState(false), [setHoverState]);
|
|
18
18
|
return (
|
|
19
|
-
// eslint-disable-next-line @atlassian/a11y/
|
|
19
|
+
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
20
20
|
jsx("div", {
|
|
21
21
|
css: wrapper,
|
|
22
22
|
onMouseEnter: onMouseEnter,
|
|
@@ -5,12 +5,10 @@ import "./MultiValueContainer.compiled.css";
|
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import { components } from '@atlaskit/select';
|
|
7
7
|
import React, { Fragment } from 'react';
|
|
8
|
-
import ReactDOM from 'react-dom';
|
|
9
8
|
import { FormattedMessage } from 'react-intl-next';
|
|
10
9
|
import { messages } from './i18n';
|
|
11
10
|
import { isChildInput } from './utils';
|
|
12
11
|
import ValueContainerWrapper from './ValueContainerWrapper';
|
|
13
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
14
12
|
const valueContainerStyles = {
|
|
15
13
|
root: "_yv0e5bpd _ca0q12x7 _n3td12x7 _19bv12x7 _1reo15vq _18m91wug _1fjgglyw _c71l1osq _1suq1j28 _1ke8idpf"
|
|
16
14
|
};
|
|
@@ -32,14 +30,7 @@ export class MultiValueContainer extends React.PureComponent {
|
|
|
32
30
|
}
|
|
33
31
|
} = this.valueContainerInnerProps;
|
|
34
32
|
if (current !== null) {
|
|
35
|
-
|
|
36
|
-
current.scrollTop = current.scrollHeight;
|
|
37
|
-
} else {
|
|
38
|
-
const container = ReactDOM.findDOMNode(current);
|
|
39
|
-
if (container instanceof HTMLDivElement) {
|
|
40
|
-
container.scrollTop = container.scrollHeight;
|
|
41
|
-
}
|
|
42
|
-
}
|
|
33
|
+
current.scrollTop = current.scrollHeight;
|
|
43
34
|
}
|
|
44
35
|
this.timeoutId = null;
|
|
45
36
|
});
|
|
@@ -49,12 +49,16 @@ export class PopupUserPickerWithoutAnalytics extends React.Component {
|
|
|
49
49
|
} = this.props;
|
|
50
50
|
const width = this.props.width;
|
|
51
51
|
const selectStyles = getPopupStyles(width, isMulti, styles, fg('platform-component-visual-refresh'));
|
|
52
|
+
const pickerProps = {
|
|
53
|
+
...getPopupProps(width, target, this.handleFlipStyle, boundariesElement, offset, placement, rootBoundary, shouldFlip, popupTitle, strategy),
|
|
54
|
+
...(this.props.popupSelectProps || {})
|
|
55
|
+
};
|
|
52
56
|
return /*#__PURE__*/React.createElement(BaseUserPickerWithoutAnalytics, _extends({}, this.props, {
|
|
53
57
|
SelectComponent: PopupSelect,
|
|
54
58
|
width: width,
|
|
55
59
|
styles: selectStyles,
|
|
56
60
|
components: getPopupComponents(!!popupTitle),
|
|
57
|
-
pickerProps:
|
|
61
|
+
pickerProps: pickerProps
|
|
58
62
|
}));
|
|
59
63
|
}
|
|
60
64
|
}
|
|
@@ -65,6 +65,7 @@ export const callCallback = (callback, ...args) => {
|
|
|
65
65
|
console.error('@atlassian/user-select: an error happening in `callCallback`: ', error);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
+
return undefined;
|
|
68
69
|
};
|
|
69
70
|
export const getAvatarUrl = optionData => {
|
|
70
71
|
if (isUser(optionData) || isTeam(optionData) || isCustom(optionData) || isExternalUser(optionData)) {
|
package/dist/esm/analytics.js
CHANGED
|
@@ -5,7 +5,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
|
5
5
|
import { v4 as uuidv4 } from 'uuid';
|
|
6
6
|
import { isCustom, isExternalUser } from './components/utils';
|
|
7
7
|
var packageName = "@atlaskit/user-picker";
|
|
8
|
-
var packageVersion = "11.
|
|
8
|
+
var packageVersion = "11.11.0";
|
|
9
9
|
var UUID_REGEXP_TEAMS_GROUPS = /^[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
10
10
|
var UUID_REGEXP_OLD_AAID = /^[a-fA-F0-9]{1,8}:[a-fA-F0-9]{8}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{4}-[a-fA-F0-9]{12}$/;
|
|
11
11
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -24,7 +24,7 @@ export default (function () {
|
|
|
24
24
|
return setHoverState(false);
|
|
25
25
|
}, [setHoverState]);
|
|
26
26
|
return (
|
|
27
|
-
// eslint-disable-next-line @atlassian/a11y/
|
|
27
|
+
// eslint-disable-next-line @atlassian/a11y/mouse-events-have-key-events
|
|
28
28
|
jsx("div", {
|
|
29
29
|
css: wrapper,
|
|
30
30
|
onMouseEnter: onMouseEnter,
|
|
@@ -16,12 +16,10 @@ function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstruct
|
|
|
16
16
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
17
17
|
import { components } from '@atlaskit/select';
|
|
18
18
|
import React, { Fragment } from 'react';
|
|
19
|
-
import ReactDOM from 'react-dom';
|
|
20
19
|
import { FormattedMessage } from 'react-intl-next';
|
|
21
20
|
import { messages } from './i18n';
|
|
22
21
|
import { isChildInput } from './utils';
|
|
23
22
|
import ValueContainerWrapper from './ValueContainerWrapper';
|
|
24
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
25
23
|
var valueContainerStyles = {
|
|
26
24
|
root: "_yv0e5bpd _ca0q12x7 _n3td12x7 _19bv12x7 _1reo15vq _18m91wug _1fjgglyw _c71l1osq _1suq1j28 _1ke8idpf"
|
|
27
25
|
};
|
|
@@ -35,14 +33,7 @@ export var MultiValueContainer = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
35
33
|
_this.timeoutId = window.setTimeout(function () {
|
|
36
34
|
var current = _this.valueContainerInnerProps.ref.current;
|
|
37
35
|
if (current !== null) {
|
|
38
|
-
|
|
39
|
-
current.scrollTop = current.scrollHeight;
|
|
40
|
-
} else {
|
|
41
|
-
var container = ReactDOM.findDOMNode(current);
|
|
42
|
-
if (container instanceof HTMLDivElement) {
|
|
43
|
-
container.scrollTop = container.scrollHeight;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
36
|
+
current.scrollTop = current.scrollHeight;
|
|
46
37
|
}
|
|
47
38
|
_this.timeoutId = null;
|
|
48
39
|
});
|
|
@@ -5,6 +5,8 @@ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstruct
|
|
|
5
5
|
import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
|
|
6
6
|
import _inherits from "@babel/runtime/helpers/inherits";
|
|
7
7
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
8
|
+
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; }
|
|
9
|
+
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) { _defineProperty(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; }
|
|
8
10
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
9
11
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
10
12
|
import { withAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
@@ -58,12 +60,13 @@ export var PopupUserPickerWithoutAnalytics = /*#__PURE__*/function (_React$Compo
|
|
|
58
60
|
strategy = _this$props.strategy;
|
|
59
61
|
var width = this.props.width;
|
|
60
62
|
var selectStyles = getPopupStyles(width, isMulti, styles, fg('platform-component-visual-refresh'));
|
|
63
|
+
var pickerProps = _objectSpread(_objectSpread({}, getPopupProps(width, target, this.handleFlipStyle, boundariesElement, offset, placement, rootBoundary, shouldFlip, popupTitle, strategy)), this.props.popupSelectProps || {});
|
|
61
64
|
return /*#__PURE__*/React.createElement(BaseUserPickerWithoutAnalytics, _extends({}, this.props, {
|
|
62
65
|
SelectComponent: PopupSelect,
|
|
63
66
|
width: width,
|
|
64
67
|
styles: selectStyles,
|
|
65
68
|
components: getPopupComponents(!!popupTitle),
|
|
66
|
-
pickerProps:
|
|
69
|
+
pickerProps: pickerProps
|
|
67
70
|
}));
|
|
68
71
|
}
|
|
69
72
|
}]);
|
|
@@ -100,6 +100,7 @@ export var callCallback = function callCallback(callback) {
|
|
|
100
100
|
console.error('@atlassian/user-select: an error happening in `callCallback`: ', error);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
+
return undefined;
|
|
103
104
|
};
|
|
104
105
|
export var getAvatarUrl = function getAvatarUrl(optionData) {
|
|
105
106
|
if (isUser(optionData) || isTeam(optionData) || isCustom(optionData) || isExternalUser(optionData)) {
|
|
@@ -125,6 +125,7 @@ export declare const BaseUserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
125
125
|
options?: OptionData[];
|
|
126
126
|
placeholder?: React.ReactNode;
|
|
127
127
|
placeholderAvatar?: "person" | "team";
|
|
128
|
+
popupSelectProps?: import("@atlaskit/select").PopupSelectProps<OptionData>;
|
|
128
129
|
required?: boolean;
|
|
129
130
|
search?: string;
|
|
130
131
|
showClearIndicator?: boolean;
|
|
@@ -149,7 +150,7 @@ export declare const BaseUserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
149
150
|
*/
|
|
150
151
|
UNSAFE_hasDraggableParentComponent?: boolean;
|
|
151
152
|
width: string | number;
|
|
152
|
-
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "placeholder" | "isDisabled" | "onChange" | "onInputChange" | "value" | "appearance" | "autoFocus" | "captureMenuScroll" | "closeMenuOnScroll" | "components" | "inputId" | "isInvalid" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "name" | "noOptionsMessage" | "onBlur" | "onFocus" | "onKeyDown" | "options" | "styles" | "required" | "footer" | "defaultValue" | "search" | "anchor" | "addMoreMessage" | "allowEmail" | "ariaDescribedBy" | "ariaLabel" | "ariaLabelledBy" | "ariaLive" | "clearValueLabel" | "disableInput" | "emailLabel" | "fieldId" | "forwardedRef" | "groupByTypeOrder" | "header" | "height" | "isValidEmail" | "loadOptions" | "loadUserSource" | "maxOptions" | "maxPickerHeight" | "menuMinWidth" | "onClear" | "onClose" | "onOpen" | "onSelection" | "open" | "placeholderAvatar" | "showClearIndicator" | "strategy" | "suggestEmailsForDomain" | "UNSAFE_hasDraggableParentComponent" | "width" | "pickerProps" | "SelectComponent"> & {
|
|
153
|
+
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "placeholder" | "isDisabled" | "onChange" | "onInputChange" | "value" | "appearance" | "autoFocus" | "captureMenuScroll" | "closeMenuOnScroll" | "components" | "inputId" | "isInvalid" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "name" | "noOptionsMessage" | "onBlur" | "onFocus" | "onKeyDown" | "options" | "styles" | "required" | "footer" | "defaultValue" | "search" | "anchor" | "addMoreMessage" | "allowEmail" | "ariaDescribedBy" | "ariaLabel" | "ariaLabelledBy" | "ariaLive" | "clearValueLabel" | "disableInput" | "emailLabel" | "fieldId" | "forwardedRef" | "groupByTypeOrder" | "header" | "height" | "isValidEmail" | "loadOptions" | "loadUserSource" | "maxOptions" | "maxPickerHeight" | "menuMinWidth" | "onClear" | "onClose" | "onOpen" | "onSelection" | "open" | "placeholderAvatar" | "popupSelectProps" | "showClearIndicator" | "strategy" | "suggestEmailsForDomain" | "UNSAFE_hasDraggableParentComponent" | "width" | "pickerProps" | "SelectComponent"> & {
|
|
153
154
|
isClearable?: boolean | undefined;
|
|
154
155
|
isMulti?: boolean | undefined;
|
|
155
156
|
openMenuOnClick?: boolean | undefined;
|
|
@@ -79,6 +79,7 @@ export declare const PopupUserPicker: React.ForwardRefExoticComponent<Omit<Pick<
|
|
|
79
79
|
options?: import("../types").OptionData[];
|
|
80
80
|
placeholder?: React.ReactNode;
|
|
81
81
|
placeholderAvatar?: "person" | "team";
|
|
82
|
+
popupSelectProps?: import("@atlaskit/select").PopupSelectProps<import("../types").OptionData>;
|
|
82
83
|
required?: boolean;
|
|
83
84
|
search?: string;
|
|
84
85
|
showClearIndicator?: boolean;
|
|
@@ -164,6 +165,7 @@ export declare const PopupUserPicker: React.ForwardRefExoticComponent<Omit<Pick<
|
|
|
164
165
|
onSelection?: import("../types").OnOption | undefined;
|
|
165
166
|
open?: boolean | undefined;
|
|
166
167
|
placeholderAvatar?: "person" | "team" | undefined;
|
|
168
|
+
popupSelectProps?: import("@atlaskit/select").PopupSelectProps<import("../types").OptionData> | undefined;
|
|
167
169
|
showClearIndicator?: boolean | undefined;
|
|
168
170
|
strategy?: "fixed" | "absolute" | undefined;
|
|
169
171
|
subtle?: boolean | undefined;
|
|
@@ -70,6 +70,7 @@ export declare const UserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
70
70
|
options?: import("../types").OptionData[];
|
|
71
71
|
placeholder?: React.ReactNode;
|
|
72
72
|
placeholderAvatar?: "person" | "team";
|
|
73
|
+
popupSelectProps?: import("@atlaskit/select").PopupSelectProps<import("../types").OptionData>;
|
|
73
74
|
required?: boolean;
|
|
74
75
|
search?: string;
|
|
75
76
|
showClearIndicator?: boolean;
|
|
@@ -81,7 +82,7 @@ export declare const UserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
81
82
|
UNSAFE_hasDraggableParentComponent?: boolean;
|
|
82
83
|
value?: import("../types").Value;
|
|
83
84
|
width?: number | string;
|
|
84
|
-
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "placeholder" | "isDisabled" | "onChange" | "onInputChange" | "value" | "appearance" | "autoFocus" | "captureMenuScroll" | "closeMenuOnScroll" | "components" | "inputId" | "isClearable" | "isInvalid" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "name" | "noOptionsMessage" | "onBlur" | "onFocus" | "onKeyDown" | "openMenuOnClick" | "options" | "styles" | "required" | "footer" | "defaultValue" | "search" | "anchor" | "addMoreMessage" | "allowEmail" | "ariaDescribedBy" | "ariaLabel" | "ariaLabelledBy" | "ariaLive" | "clearValueLabel" | "disableInput" | "emailLabel" | "fieldId" | "forwardedRef" | "groupByTypeOrder" | "header" | "height" | "isValidEmail" | "loadOptions" | "loadOptionsErrorMessage" | "loadUserSource" | "maxOptions" | "maxPickerHeight" | "menuMinWidth" | "noBorder" | "onClear" | "onClose" | "onOpen" | "onSelection" | "open" | "placeholderAvatar" | "showClearIndicator" | "strategy" | "subtle" | "suggestEmailsForDomain" | "textFieldBackgroundColor" | "UNSAFE_hasDraggableParentComponent"> & {
|
|
85
|
+
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "placeholder" | "isDisabled" | "onChange" | "onInputChange" | "value" | "appearance" | "autoFocus" | "captureMenuScroll" | "closeMenuOnScroll" | "components" | "inputId" | "isClearable" | "isInvalid" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "name" | "noOptionsMessage" | "onBlur" | "onFocus" | "onKeyDown" | "openMenuOnClick" | "options" | "styles" | "required" | "footer" | "defaultValue" | "search" | "anchor" | "addMoreMessage" | "allowEmail" | "ariaDescribedBy" | "ariaLabel" | "ariaLabelledBy" | "ariaLive" | "clearValueLabel" | "disableInput" | "emailLabel" | "fieldId" | "forwardedRef" | "groupByTypeOrder" | "header" | "height" | "isValidEmail" | "loadOptions" | "loadOptionsErrorMessage" | "loadUserSource" | "maxOptions" | "maxPickerHeight" | "menuMinWidth" | "noBorder" | "onClear" | "onClose" | "onOpen" | "onSelection" | "open" | "placeholderAvatar" | "popupSelectProps" | "showClearIndicator" | "strategy" | "subtle" | "suggestEmailsForDomain" | "textFieldBackgroundColor" | "UNSAFE_hasDraggableParentComponent"> & {
|
|
85
86
|
isMulti?: boolean | undefined;
|
|
86
87
|
width?: number | string | undefined;
|
|
87
88
|
} & {} & React.RefAttributes<any>>;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { type AriaAttributes } from 'react';
|
|
|
4
4
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
5
5
|
import { type Placement } from '@atlaskit/popper';
|
|
6
6
|
import { type EmailValidator } from './components/emailValidation';
|
|
7
|
-
import { type StylesConfig, type SelectComponentsConfig } from '@atlaskit/select';
|
|
7
|
+
import { type StylesConfig, type SelectComponentsConfig, type PopupSelectProps } from '@atlaskit/select';
|
|
8
8
|
import { type BaseUserPickerWithoutAnalytics } from './components/BaseUserPicker';
|
|
9
9
|
export type UserPickerProps = WithAnalyticsEventsProps & {
|
|
10
10
|
/** Message to encourage the user to add more items to user picker. */
|
|
@@ -156,6 +156,8 @@ export type UserPickerProps = WithAnalyticsEventsProps & {
|
|
|
156
156
|
placeholder?: React.ReactNode;
|
|
157
157
|
/** Placeholder avatar style - defaults to person */
|
|
158
158
|
placeholderAvatar?: 'person' | 'team';
|
|
159
|
+
/** Props to be passed to the popup select component */
|
|
160
|
+
popupSelectProps?: PopupSelectProps<OptionData>;
|
|
159
161
|
/** Accessibility: A field to dictate if this is a mandatory field in the form. */
|
|
160
162
|
required?: boolean;
|
|
161
163
|
/** Input text value. */
|
|
@@ -125,6 +125,7 @@ export declare const BaseUserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
125
125
|
options?: OptionData[];
|
|
126
126
|
placeholder?: React.ReactNode;
|
|
127
127
|
placeholderAvatar?: "person" | "team";
|
|
128
|
+
popupSelectProps?: import("@atlaskit/select").PopupSelectProps<OptionData>;
|
|
128
129
|
required?: boolean;
|
|
129
130
|
search?: string;
|
|
130
131
|
showClearIndicator?: boolean;
|
|
@@ -149,7 +150,7 @@ export declare const BaseUserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
149
150
|
*/
|
|
150
151
|
UNSAFE_hasDraggableParentComponent?: boolean;
|
|
151
152
|
width: string | number;
|
|
152
|
-
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "placeholder" | "isDisabled" | "onChange" | "onInputChange" | "value" | "appearance" | "autoFocus" | "captureMenuScroll" | "closeMenuOnScroll" | "components" | "inputId" | "isInvalid" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "name" | "noOptionsMessage" | "onBlur" | "onFocus" | "onKeyDown" | "options" | "styles" | "required" | "footer" | "defaultValue" | "search" | "anchor" | "addMoreMessage" | "allowEmail" | "ariaDescribedBy" | "ariaLabel" | "ariaLabelledBy" | "ariaLive" | "clearValueLabel" | "disableInput" | "emailLabel" | "fieldId" | "forwardedRef" | "groupByTypeOrder" | "header" | "height" | "isValidEmail" | "loadOptions" | "loadUserSource" | "maxOptions" | "maxPickerHeight" | "menuMinWidth" | "onClear" | "onClose" | "onOpen" | "onSelection" | "open" | "placeholderAvatar" | "showClearIndicator" | "strategy" | "suggestEmailsForDomain" | "UNSAFE_hasDraggableParentComponent" | "width" | "pickerProps" | "SelectComponent"> & {
|
|
153
|
+
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "placeholder" | "isDisabled" | "onChange" | "onInputChange" | "value" | "appearance" | "autoFocus" | "captureMenuScroll" | "closeMenuOnScroll" | "components" | "inputId" | "isInvalid" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "name" | "noOptionsMessage" | "onBlur" | "onFocus" | "onKeyDown" | "options" | "styles" | "required" | "footer" | "defaultValue" | "search" | "anchor" | "addMoreMessage" | "allowEmail" | "ariaDescribedBy" | "ariaLabel" | "ariaLabelledBy" | "ariaLive" | "clearValueLabel" | "disableInput" | "emailLabel" | "fieldId" | "forwardedRef" | "groupByTypeOrder" | "header" | "height" | "isValidEmail" | "loadOptions" | "loadUserSource" | "maxOptions" | "maxPickerHeight" | "menuMinWidth" | "onClear" | "onClose" | "onOpen" | "onSelection" | "open" | "placeholderAvatar" | "popupSelectProps" | "showClearIndicator" | "strategy" | "suggestEmailsForDomain" | "UNSAFE_hasDraggableParentComponent" | "width" | "pickerProps" | "SelectComponent"> & {
|
|
153
154
|
isClearable?: boolean | undefined;
|
|
154
155
|
isMulti?: boolean | undefined;
|
|
155
156
|
openMenuOnClick?: boolean | undefined;
|
|
@@ -79,6 +79,7 @@ export declare const PopupUserPicker: React.ForwardRefExoticComponent<Omit<Pick<
|
|
|
79
79
|
options?: import("../types").OptionData[];
|
|
80
80
|
placeholder?: React.ReactNode;
|
|
81
81
|
placeholderAvatar?: "person" | "team";
|
|
82
|
+
popupSelectProps?: import("@atlaskit/select").PopupSelectProps<import("../types").OptionData>;
|
|
82
83
|
required?: boolean;
|
|
83
84
|
search?: string;
|
|
84
85
|
showClearIndicator?: boolean;
|
|
@@ -170,6 +171,7 @@ export declare const PopupUserPicker: React.ForwardRefExoticComponent<Omit<Pick<
|
|
|
170
171
|
onSelection?: import("../types").OnOption | undefined;
|
|
171
172
|
open?: boolean | undefined;
|
|
172
173
|
placeholderAvatar?: "person" | "team" | undefined;
|
|
174
|
+
popupSelectProps?: import("@atlaskit/select").PopupSelectProps<import("../types").OptionData> | undefined;
|
|
173
175
|
showClearIndicator?: boolean | undefined;
|
|
174
176
|
strategy?: "fixed" | "absolute" | undefined;
|
|
175
177
|
subtle?: boolean | undefined;
|
|
@@ -70,6 +70,7 @@ export declare const UserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
70
70
|
options?: import("../types").OptionData[];
|
|
71
71
|
placeholder?: React.ReactNode;
|
|
72
72
|
placeholderAvatar?: "person" | "team";
|
|
73
|
+
popupSelectProps?: import("@atlaskit/select").PopupSelectProps<import("../types").OptionData>;
|
|
73
74
|
required?: boolean;
|
|
74
75
|
search?: string;
|
|
75
76
|
showClearIndicator?: boolean;
|
|
@@ -81,7 +82,7 @@ export declare const UserPicker: React.ForwardRefExoticComponent<Pick<Omit<{
|
|
|
81
82
|
UNSAFE_hasDraggableParentComponent?: boolean;
|
|
82
83
|
value?: import("../types").Value;
|
|
83
84
|
width?: number | string;
|
|
84
|
-
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "placeholder" | "isDisabled" | "onChange" | "onInputChange" | "value" | "appearance" | "autoFocus" | "captureMenuScroll" | "closeMenuOnScroll" | "components" | "inputId" | "isClearable" | "isInvalid" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "name" | "noOptionsMessage" | "onBlur" | "onFocus" | "onKeyDown" | "openMenuOnClick" | "options" | "styles" | "required" | "footer" | "defaultValue" | "search" | "anchor" | "addMoreMessage" | "allowEmail" | "ariaDescribedBy" | "ariaLabel" | "ariaLabelledBy" | "ariaLive" | "clearValueLabel" | "disableInput" | "emailLabel" | "fieldId" | "forwardedRef" | "groupByTypeOrder" | "header" | "height" | "isValidEmail" | "loadOptions" | "loadOptionsErrorMessage" | "loadUserSource" | "maxOptions" | "maxPickerHeight" | "menuMinWidth" | "noBorder" | "onClear" | "onClose" | "onOpen" | "onSelection" | "open" | "placeholderAvatar" | "showClearIndicator" | "strategy" | "subtle" | "suggestEmailsForDomain" | "textFieldBackgroundColor" | "UNSAFE_hasDraggableParentComponent"> & {
|
|
85
|
+
}, keyof import("@atlaskit/analytics-next").WithAnalyticsEventsProps>, "placeholder" | "isDisabled" | "onChange" | "onInputChange" | "value" | "appearance" | "autoFocus" | "captureMenuScroll" | "closeMenuOnScroll" | "components" | "inputId" | "isClearable" | "isInvalid" | "isLoading" | "menuPosition" | "menuPortalTarget" | "menuShouldBlockScroll" | "name" | "noOptionsMessage" | "onBlur" | "onFocus" | "onKeyDown" | "openMenuOnClick" | "options" | "styles" | "required" | "footer" | "defaultValue" | "search" | "anchor" | "addMoreMessage" | "allowEmail" | "ariaDescribedBy" | "ariaLabel" | "ariaLabelledBy" | "ariaLive" | "clearValueLabel" | "disableInput" | "emailLabel" | "fieldId" | "forwardedRef" | "groupByTypeOrder" | "header" | "height" | "isValidEmail" | "loadOptions" | "loadOptionsErrorMessage" | "loadUserSource" | "maxOptions" | "maxPickerHeight" | "menuMinWidth" | "noBorder" | "onClear" | "onClose" | "onOpen" | "onSelection" | "open" | "placeholderAvatar" | "popupSelectProps" | "showClearIndicator" | "strategy" | "subtle" | "suggestEmailsForDomain" | "textFieldBackgroundColor" | "UNSAFE_hasDraggableParentComponent"> & {
|
|
85
86
|
isMulti?: boolean | undefined;
|
|
86
87
|
width?: number | string | undefined;
|
|
87
88
|
} & {} & React.RefAttributes<any>>;
|
|
@@ -4,7 +4,7 @@ import { type AriaAttributes } from 'react';
|
|
|
4
4
|
import { type WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
5
5
|
import { type Placement } from '@atlaskit/popper';
|
|
6
6
|
import { type EmailValidator } from './components/emailValidation';
|
|
7
|
-
import { type StylesConfig, type SelectComponentsConfig } from '@atlaskit/select';
|
|
7
|
+
import { type StylesConfig, type SelectComponentsConfig, type PopupSelectProps } from '@atlaskit/select';
|
|
8
8
|
import { type BaseUserPickerWithoutAnalytics } from './components/BaseUserPicker';
|
|
9
9
|
export type UserPickerProps = WithAnalyticsEventsProps & {
|
|
10
10
|
/** Message to encourage the user to add more items to user picker. */
|
|
@@ -156,6 +156,8 @@ export type UserPickerProps = WithAnalyticsEventsProps & {
|
|
|
156
156
|
placeholder?: React.ReactNode;
|
|
157
157
|
/** Placeholder avatar style - defaults to person */
|
|
158
158
|
placeholderAvatar?: 'person' | 'team';
|
|
159
|
+
/** Props to be passed to the popup select component */
|
|
160
|
+
popupSelectProps?: PopupSelectProps<OptionData>;
|
|
159
161
|
/** Accessibility: A field to dictate if this is a mandatory field in the form. */
|
|
160
162
|
required?: boolean;
|
|
161
163
|
/** Input text value. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.12.0",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,13 +51,13 @@
|
|
|
51
51
|
"@atlaskit/people-teams-ui-public": "^3.5.0",
|
|
52
52
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
53
53
|
"@atlaskit/popper": "^7.1.0",
|
|
54
|
-
"@atlaskit/primitives": "^16.
|
|
54
|
+
"@atlaskit/primitives": "^16.1.0",
|
|
55
55
|
"@atlaskit/select": "^21.3.0",
|
|
56
56
|
"@atlaskit/spinner": "^19.0.0",
|
|
57
57
|
"@atlaskit/teams-avatar": "^2.3.0",
|
|
58
58
|
"@atlaskit/theme": "^21.0.0",
|
|
59
|
-
"@atlaskit/tokens": "^7.
|
|
60
|
-
"@atlaskit/tooltip": "^20.
|
|
59
|
+
"@atlaskit/tokens": "^7.1.0",
|
|
60
|
+
"@atlaskit/tooltip": "^20.7.0",
|
|
61
61
|
"@atlaskit/ufo": "^0.4.0",
|
|
62
62
|
"@babel/runtime": "^7.0.0",
|
|
63
63
|
"@compiled/react": "^0.18.6",
|
|
@@ -72,6 +72,7 @@
|
|
|
72
72
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
73
73
|
},
|
|
74
74
|
"devDependencies": {
|
|
75
|
+
"@af/visual-regression": "workspace:^",
|
|
75
76
|
"@atlaskit/elements-test-helpers": "workspace:^",
|
|
76
77
|
"@atlaskit/heading": "^5.2.0",
|
|
77
78
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
@@ -112,9 +113,6 @@
|
|
|
112
113
|
"product-terminology-refresh": {
|
|
113
114
|
"type": "boolean"
|
|
114
115
|
},
|
|
115
|
-
"user-picker-migrate-off-finddomnode": {
|
|
116
|
-
"type": "boolean"
|
|
117
|
-
},
|
|
118
116
|
"jira_ai_agent_avatar_user_picker_user_option": {
|
|
119
117
|
"type": "boolean"
|
|
120
118
|
},
|
|
@@ -1,75 +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__user-picker/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-next/afm-post-office/tsconfig.json"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../../design-system/avatar/afm-post-office/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../design-system/icon/afm-post-office/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../design-system/logo/afm-post-office/tsconfig.json"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"path": "../../../design-system/lozenge/afm-post-office/tsconfig.json"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"path": "../../../people-and-teams/people-teams-ui-public/afm-post-office/tsconfig.json"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "../../../platform/feature-flags/afm-post-office/tsconfig.json"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "../../../design-system/popper/afm-post-office/tsconfig.json"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "../../../design-system/primitives/afm-post-office/tsconfig.json"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "../../../design-system/select/afm-post-office/tsconfig.json"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "../../../design-system/spinner/afm-post-office/tsconfig.json"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"path": "../../../people-and-teams/teams-avatar/afm-post-office/tsconfig.json"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "../../../design-system/theme/afm-post-office/tsconfig.json"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"path": "../../../design-system/tokens/afm-post-office/tsconfig.json"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"path": "../../../design-system/tooltip/afm-post-office/tsconfig.json"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"path": "../../../data/ufo-external/afm-post-office/tsconfig.json"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../../../../tsconfig.entry-points.townsquare.json",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"outDir": "../../../../../townsquare/tsDist/@atlaskit__user-picker/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-next/afm-townsquare/tsconfig.json"
|
|
28
|
-
},
|
|
29
|
-
{
|
|
30
|
-
"path": "../../../design-system/avatar/afm-townsquare/tsconfig.json"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"path": "../../../design-system/icon/afm-townsquare/tsconfig.json"
|
|
34
|
-
},
|
|
35
|
-
{
|
|
36
|
-
"path": "../../../design-system/logo/afm-townsquare/tsconfig.json"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
"path": "../../../design-system/lozenge/afm-townsquare/tsconfig.json"
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"path": "../../../people-and-teams/people-teams-ui-public/afm-townsquare/tsconfig.json"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
"path": "../../../platform/feature-flags/afm-townsquare/tsconfig.json"
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
"path": "../../../design-system/popper/afm-townsquare/tsconfig.json"
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
"path": "../../../design-system/primitives/afm-townsquare/tsconfig.json"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
"path": "../../../design-system/select/afm-townsquare/tsconfig.json"
|
|
55
|
-
},
|
|
56
|
-
{
|
|
57
|
-
"path": "../../../design-system/spinner/afm-townsquare/tsconfig.json"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
"path": "../../../people-and-teams/teams-avatar/afm-townsquare/tsconfig.json"
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"path": "../../../design-system/theme/afm-townsquare/tsconfig.json"
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
"path": "../../../design-system/tokens/afm-townsquare/tsconfig.json"
|
|
67
|
-
},
|
|
68
|
-
{
|
|
69
|
-
"path": "../../../design-system/tooltip/afm-townsquare/tsconfig.json"
|
|
70
|
-
},
|
|
71
|
-
{
|
|
72
|
-
"path": "../../../data/ufo-external/afm-townsquare/tsconfig.json"
|
|
73
|
-
}
|
|
74
|
-
]
|
|
75
|
-
}
|