@atlaskit/user-picker 11.3.0 → 11.3.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 +6 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/BaseUserPicker.js +1 -1
- package/dist/es2019/util/group-options-by-type/index.js +4 -4
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/BaseUserPicker.js +1 -1
- package/dist/esm/util/group-options-by-type/index.js +4 -4
- package/dist/types/util/group-options-by-type/index.d.ts +1 -1
- package/dist/types-ts4.5/util/group-options-by-type/index.d.ts +1 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
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.3.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}$/;
|
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.3.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}$/;
|
|
@@ -11,7 +11,7 @@ import { cancelEvent, clearEvent, createAndFireEventInElementsChannel, deleteEve
|
|
|
11
11
|
import { batchByKey } from './batch';
|
|
12
12
|
import { messages } from './i18n';
|
|
13
13
|
import { callCallback, extractOptionValue, getOptions, isIterable, isPopupUserPickerByComponent, isDefaultValuePopulated, isSingleValue, optionToSelectableOptions } from './utils';
|
|
14
|
-
import { groupOptionsByType } from
|
|
14
|
+
import { groupOptionsByType } from '../util/group-options-by-type';
|
|
15
15
|
import { userPickerOptionsShownUfoExperience } from '../util/ufoExperiences';
|
|
16
16
|
const loadingMessage = () => null;
|
|
17
17
|
const classNamePrefix = 'fabric-user-picker';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { FormattedMessage } from
|
|
3
|
-
import memoizeOne from
|
|
4
|
-
import { messages } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FormattedMessage } from 'react-intl-next';
|
|
3
|
+
import memoizeOne from 'memoize-one';
|
|
4
|
+
import { messages } from '../../components/i18n';
|
|
5
5
|
const getLabelForType = type => {
|
|
6
6
|
switch (type) {
|
|
7
7
|
case 'user':
|
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.3.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}$/;
|
|
@@ -23,7 +23,7 @@ import { cancelEvent, clearEvent, createAndFireEventInElementsChannel, deleteEve
|
|
|
23
23
|
import { batchByKey } from './batch';
|
|
24
24
|
import { messages } from './i18n';
|
|
25
25
|
import { callCallback, extractOptionValue, getOptions, isIterable, isPopupUserPickerByComponent, isDefaultValuePopulated, isSingleValue, optionToSelectableOptions } from './utils';
|
|
26
|
-
import { groupOptionsByType } from
|
|
26
|
+
import { groupOptionsByType } from '../util/group-options-by-type';
|
|
27
27
|
import { userPickerOptionsShownUfoExperience } from '../util/ufoExperiences';
|
|
28
28
|
var loadingMessage = function loadingMessage() {
|
|
29
29
|
return null;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import React from
|
|
2
|
-
import { FormattedMessage } from
|
|
3
|
-
import memoizeOne from
|
|
4
|
-
import { messages } from
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FormattedMessage } from 'react-intl-next';
|
|
3
|
+
import memoizeOne from 'memoize-one';
|
|
4
|
+
import { messages } from '../../components/i18n';
|
|
5
5
|
var getLabelForType = function getLabelForType(type) {
|
|
6
6
|
switch (type) {
|
|
7
7
|
case 'user':
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { OptionData, Option, GroupedOptions } from
|
|
1
|
+
import type { OptionData, Option, GroupedOptions } from '../../types';
|
|
2
2
|
export declare const groupOptionsByType: import("memoize-one").MemoizedFn<(options: Option[], groupByTypeOrder: NonNullable<OptionData['type']>[]) => Option[] | GroupedOptions[]>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { OptionData, Option, GroupedOptions } from
|
|
1
|
+
import type { OptionData, Option, GroupedOptions } from '../../types';
|
|
2
2
|
export declare const groupOptionsByType: import("memoize-one").MemoizedFn<(options: Option[], groupByTypeOrder: NonNullable<OptionData['type']>[]) => Option[] | GroupedOptions[]>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "11.3.
|
|
3
|
+
"version": "11.3.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/"
|
|
@@ -51,14 +51,14 @@
|
|
|
51
51
|
"dependencies": {
|
|
52
52
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
53
53
|
"@atlaskit/avatar": "^25.1.0",
|
|
54
|
-
"@atlaskit/icon": "^27.
|
|
55
|
-
"@atlaskit/logo": "^19.
|
|
54
|
+
"@atlaskit/icon": "^27.2.0",
|
|
55
|
+
"@atlaskit/logo": "^19.2.0",
|
|
56
56
|
"@atlaskit/lozenge": "^13.0.0",
|
|
57
57
|
"@atlaskit/people-teams-ui-public": "^3.1.0",
|
|
58
58
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
59
|
-
"@atlaskit/popper": "^7.
|
|
59
|
+
"@atlaskit/popper": "^7.1.0",
|
|
60
60
|
"@atlaskit/primitives": "^14.9.0",
|
|
61
|
-
"@atlaskit/select": "^
|
|
61
|
+
"@atlaskit/select": "^21.0.0",
|
|
62
62
|
"@atlaskit/spinner": "^18.0.0",
|
|
63
63
|
"@atlaskit/teams-avatar": "^2.3.0",
|
|
64
64
|
"@atlaskit/theme": "^18.0.0",
|