@atlaskit/user-picker 11.18.0 → 11.18.1
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 +8 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/ExternalUserOption/InfoIcon.js +2 -2
- package/dist/cjs/components/GroupOption/main.js +2 -2
- package/dist/cjs/components/MultiValue.js +2 -2
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/ExternalUserOption/InfoIcon.js +1 -1
- package/dist/es2019/components/GroupOption/main.js +1 -1
- package/dist/es2019/components/MultiValue.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/ExternalUserOption/InfoIcon.js +1 -1
- package/dist/esm/components/GroupOption/main.js +1 -1
- package/dist/esm/components/MultiValue.js +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/user-picker
|
|
2
2
|
|
|
3
|
+
## 11.18.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`d14ea5f60b689`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d14ea5f60b689) -
|
|
8
|
+
chore: migrate platform UI & component libraries icon imports from migration paths to core
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 11.18.0
|
|
4
12
|
|
|
5
13
|
### 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; } // eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
14
14
|
var packageName = "@atlaskit/user-picker";
|
|
15
|
-
var packageVersion = "
|
|
15
|
+
var packageVersion = "0.0.0-development";
|
|
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}$/;
|
|
@@ -8,7 +8,7 @@ exports.default = void 0;
|
|
|
8
8
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
9
9
|
var _react = require("react");
|
|
10
10
|
var _react2 = require("@emotion/react");
|
|
11
|
-
var
|
|
11
|
+
var _statusInformation = _interopRequireDefault(require("@atlaskit/icon/core/status-information"));
|
|
12
12
|
var _colors = require("@atlaskit/theme/colors");
|
|
13
13
|
/**
|
|
14
14
|
* @jsxRuntime classic
|
|
@@ -38,7 +38,7 @@ var _default = exports.default = function _default() {
|
|
|
38
38
|
css: wrapper,
|
|
39
39
|
onMouseEnter: onMouseEnter,
|
|
40
40
|
onMouseLeave: onMouseLeave
|
|
41
|
-
}, (0, _react2.jsx)(
|
|
41
|
+
}, (0, _react2.jsx)(_statusInformation.default, {
|
|
42
42
|
testId: "source-icon",
|
|
43
43
|
label: "",
|
|
44
44
|
LEGACY_size: "large",
|
|
@@ -16,7 +16,7 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
16
16
|
var _reactIntlNext = require("react-intl-next");
|
|
17
17
|
var _react2 = require("@emotion/react");
|
|
18
18
|
var _colors = require("@atlaskit/theme/colors");
|
|
19
|
-
var
|
|
19
|
+
var _peopleGroup = _interopRequireDefault(require("@atlaskit/icon/core/people-group"));
|
|
20
20
|
var _verifiedTeamIcon = require("@atlaskit/people-teams-ui-public/verified-team-icon");
|
|
21
21
|
var _AvatarItemOption = require("../AvatarItemOption");
|
|
22
22
|
var _i18n = require("../i18n");
|
|
@@ -62,7 +62,7 @@ var GroupOption = exports.GroupOption = /*#__PURE__*/function (_React$PureCompon
|
|
|
62
62
|
(0, _defineProperty2.default)(_this, "renderAvatar", function () {
|
|
63
63
|
return (0, _react2.jsx)("span", {
|
|
64
64
|
css: groupOptionIconWrapper
|
|
65
|
-
}, (0, _react2.jsx)(
|
|
65
|
+
}, (0, _react2.jsx)(_peopleGroup.default, {
|
|
66
66
|
color: "currentColor",
|
|
67
67
|
label: "group-icon",
|
|
68
68
|
LEGACY_size: "medium",
|
|
@@ -21,7 +21,7 @@ var _AddOptionAvatar = require("./AddOptionAvatar");
|
|
|
21
21
|
var _AvatarOrIcon = require("./AvatarOrIcon");
|
|
22
22
|
var _SizeableAvatar = require("./SizeableAvatar");
|
|
23
23
|
var _utils = require("./utils");
|
|
24
|
-
var
|
|
24
|
+
var _peopleGroup = _interopRequireDefault(require("@atlaskit/icon/core/people-group"));
|
|
25
25
|
var _verifiedTeamIcon = require("@atlaskit/people-teams-ui-public/verified-team-icon");
|
|
26
26
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
27
27
|
var _excluded = ["children", "innerProps"];
|
|
@@ -69,7 +69,7 @@ var MultiValue = exports.MultiValue = /*#__PURE__*/function (_React$Component) {
|
|
|
69
69
|
if ((0, _utils.isGroup)(data)) {
|
|
70
70
|
return (0, _react2.jsx)(_primitives.Box, {
|
|
71
71
|
xcss: groupTagContainer
|
|
72
|
-
}, (0, _react2.jsx)(
|
|
72
|
+
}, (0, _react2.jsx)(_peopleGroup.default, {
|
|
73
73
|
LEGACY_margin: "-2px 0 0 0",
|
|
74
74
|
color: "currentColor",
|
|
75
75
|
label: "" // This element is a decorative icon and does not require a label
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
|
3
3
|
import { v4 as uuidv4 } from 'uuid';
|
|
4
4
|
import { isCustom, isExternalUser } from './components/utils';
|
|
5
5
|
const packageName = "@atlaskit/user-picker";
|
|
6
|
-
const packageVersion = "
|
|
6
|
+
const packageVersion = "0.0.0-development";
|
|
7
7
|
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}$/;
|
|
8
8
|
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}$/;
|
|
9
9
|
const UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { useCallback, useState } from 'react';
|
|
6
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
|
-
import EditorPanelIcon from '@atlaskit/icon/core/
|
|
8
|
+
import EditorPanelIcon from '@atlaskit/icon/core/status-information';
|
|
9
9
|
import { N50, N200 } from '@atlaskit/theme/colors';
|
|
10
10
|
const wrapper = css({
|
|
11
11
|
display: 'flex',
|
|
@@ -9,7 +9,7 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
11
|
import { N20, B400, N800, N200 } from '@atlaskit/theme/colors';
|
|
12
|
-
import PeopleIcon from '@atlaskit/icon/core/
|
|
12
|
+
import PeopleIcon from '@atlaskit/icon/core/people-group';
|
|
13
13
|
import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
|
|
14
14
|
import { AvatarItemOption, textWrapper } from '../AvatarItemOption';
|
|
15
15
|
import { messages } from '../i18n';
|
|
@@ -14,7 +14,7 @@ import { AddOptionAvatar } from './AddOptionAvatar';
|
|
|
14
14
|
import { AvatarOrIcon } from './AvatarOrIcon';
|
|
15
15
|
import { SizeableAvatar } from './SizeableAvatar';
|
|
16
16
|
import { getAvatarUrl, isEmail, isGroup, isTeam } from './utils';
|
|
17
|
-
import PeopleIcon from '@atlaskit/icon/core/
|
|
17
|
+
import PeopleIcon from '@atlaskit/icon/core/people-group';
|
|
18
18
|
import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
|
|
19
19
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
20
20
|
export const scrollToValue = (valueContainer, control) => {
|
package/dist/esm/analytics.js
CHANGED
|
@@ -6,7 +6,7 @@ import { createAndFireEvent } from '@atlaskit/analytics-next';
|
|
|
6
6
|
import { v4 as uuidv4 } from 'uuid';
|
|
7
7
|
import { isCustom, isExternalUser } from './components/utils';
|
|
8
8
|
var packageName = "@atlaskit/user-picker";
|
|
9
|
-
var packageVersion = "
|
|
9
|
+
var packageVersion = "0.0.0-development";
|
|
10
10
|
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}$/;
|
|
11
11
|
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}$/;
|
|
12
12
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -6,7 +6,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
6
6
|
import { useCallback, useState } from 'react';
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
-
import EditorPanelIcon from '@atlaskit/icon/core/
|
|
9
|
+
import EditorPanelIcon from '@atlaskit/icon/core/status-information';
|
|
10
10
|
import { N50, N200 } from '@atlaskit/theme/colors';
|
|
11
11
|
var wrapper = css({
|
|
12
12
|
display: 'flex',
|
|
@@ -16,7 +16,7 @@ import { FormattedMessage } from 'react-intl-next';
|
|
|
16
16
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
17
|
import { css, jsx } from '@emotion/react';
|
|
18
18
|
import { N20, B400, N800, N200 } from '@atlaskit/theme/colors';
|
|
19
|
-
import PeopleIcon from '@atlaskit/icon/core/
|
|
19
|
+
import PeopleIcon from '@atlaskit/icon/core/people-group';
|
|
20
20
|
import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
|
|
21
21
|
import { AvatarItemOption, textWrapper } from '../AvatarItemOption';
|
|
22
22
|
import { messages } from '../i18n';
|
|
@@ -23,7 +23,7 @@ import { AddOptionAvatar } from './AddOptionAvatar';
|
|
|
23
23
|
import { AvatarOrIcon } from './AvatarOrIcon';
|
|
24
24
|
import { SizeableAvatar } from './SizeableAvatar';
|
|
25
25
|
import { getAvatarUrl, isEmail, isGroup, isTeam } from './utils';
|
|
26
|
-
import PeopleIcon from '@atlaskit/icon/core/
|
|
26
|
+
import PeopleIcon from '@atlaskit/icon/core/people-group';
|
|
27
27
|
import { VerifiedTeamIcon } from '@atlaskit/people-teams-ui-public/verified-team-icon';
|
|
28
28
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
29
29
|
export var scrollToValue = function scrollToValue(valueContainer, control) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "11.18.
|
|
3
|
+
"version": "11.18.1",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -45,18 +45,18 @@
|
|
|
45
45
|
"@atlaskit/afm-i18n-platform-elements-user-picker": "2.7.0",
|
|
46
46
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
47
47
|
"@atlaskit/avatar": "^25.6.0",
|
|
48
|
-
"@atlaskit/icon": "^29.
|
|
48
|
+
"@atlaskit/icon": "^29.3.0",
|
|
49
49
|
"@atlaskit/logo": "^19.9.0",
|
|
50
|
-
"@atlaskit/lozenge": "^13.
|
|
50
|
+
"@atlaskit/lozenge": "^13.2.0",
|
|
51
51
|
"@atlaskit/people-teams-ui-public": "^3.7.0",
|
|
52
52
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
53
53
|
"@atlaskit/popper": "^7.1.0",
|
|
54
54
|
"@atlaskit/primitives": "^16.4.0",
|
|
55
|
-
"@atlaskit/select": "^21.
|
|
55
|
+
"@atlaskit/select": "^21.6.0",
|
|
56
56
|
"@atlaskit/spinner": "^19.0.0",
|
|
57
57
|
"@atlaskit/teams-avatar": "^2.4.0",
|
|
58
58
|
"@atlaskit/theme": "^21.0.0",
|
|
59
|
-
"@atlaskit/tokens": "^8.
|
|
59
|
+
"@atlaskit/tokens": "^8.6.0",
|
|
60
60
|
"@atlaskit/tooltip": "^20.11.0",
|
|
61
61
|
"@atlaskit/ufo": "^0.4.0",
|
|
62
62
|
"@babel/runtime": "^7.0.0",
|