@atlaskit/user-picker 10.5.1 → 10.7.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 +17 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/option.js +12 -0
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/option.js +1 -0
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/option.js +1 -0
- package/dist/types/option.d.ts +2 -0
- package/dist/types/types.d.ts +1 -1
- package/dist/types-ts4.5/option.d.ts +2 -0
- package/dist/types-ts4.5/types.d.ts +1 -1
- package/option/package.json +15 -0
- package/package.json +2 -2
- package/report.api.md +4 -1
- package/tmp/api-report-tmp.d.ts +1 -1
- package/dist/cjs/version.json +0 -5
- package/dist/es2019/version.json +0 -5
- package/dist/esm/version.json +0 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/user-picker
|
|
2
2
|
|
|
3
|
+
## 10.7.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`406273e2aa8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/406273e2aa8) - Export Option component from /option entrypoint
|
|
8
|
+
|
|
9
|
+
## 10.6.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [`7b8ae37bf88`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7b8ae37bf88) - Allow passing a component for noOptionsMessage prop
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 10.5.1
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -12,7 +12,7 @@ var _utils = require("./components/utils");
|
|
|
12
12
|
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
13
13
|
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
14
14
|
var packageName = "@atlaskit/user-picker";
|
|
15
|
-
var packageVersion = "10.
|
|
15
|
+
var packageVersion = "10.7.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}$/;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
Object.defineProperty(exports, "Option", {
|
|
7
|
+
enumerable: true,
|
|
8
|
+
get: function get() {
|
|
9
|
+
return _Option.Option;
|
|
10
|
+
}
|
|
11
|
+
});
|
|
12
|
+
var _Option = require("./components/Option");
|
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 = "10.
|
|
5
|
+
const packageVersion = "10.7.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}$/;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Option } from './components/Option';
|
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 = "10.
|
|
8
|
+
var packageVersion = "10.7.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}$/;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Option } from './components/Option';
|
package/dist/types/types.d.ts
CHANGED
|
@@ -106,7 +106,7 @@ export type UserPickerProps = WithAnalyticsEventsProps & {
|
|
|
106
106
|
*/
|
|
107
107
|
noOptionsMessage?: ((value: {
|
|
108
108
|
inputValue: string;
|
|
109
|
-
}) => string | null) | null;
|
|
109
|
+
}) => string | null | React.ReactNode) | null | React.ReactNode;
|
|
110
110
|
/** Footer to be displayed in MenuList */
|
|
111
111
|
footer?: React.ReactNode;
|
|
112
112
|
/** Controls if the user picker has a value or not. If not provided, UserPicker will control the value internally. */
|
|
@@ -106,7 +106,7 @@ export type UserPickerProps = WithAnalyticsEventsProps & {
|
|
|
106
106
|
*/
|
|
107
107
|
noOptionsMessage?: ((value: {
|
|
108
108
|
inputValue: string;
|
|
109
|
-
}) => string | null) | null;
|
|
109
|
+
}) => string | null | React.ReactNode) | null | React.ReactNode;
|
|
110
110
|
/** Footer to be displayed in MenuList */
|
|
111
111
|
footer?: React.ReactNode;
|
|
112
112
|
/** Controls if the user picker has a value or not. If not provided, UserPicker will control the value internally. */
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/user-picker/option",
|
|
3
|
+
"main": "../dist/cjs/option.js",
|
|
4
|
+
"module": "../dist/esm/option.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/option.js",
|
|
6
|
+
"sideEffects": false,
|
|
7
|
+
"types": "../dist/types/option.d.ts",
|
|
8
|
+
"typesVersions": {
|
|
9
|
+
">=4.5 <4.9": {
|
|
10
|
+
"*": [
|
|
11
|
+
"../dist/types-ts4.5/option.d.ts"
|
|
12
|
+
]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.7.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/"
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@atlaskit/select": "^16.5.0",
|
|
44
44
|
"@atlaskit/spinner": "^15.5.0",
|
|
45
45
|
"@atlaskit/theme": "^12.5.0",
|
|
46
|
-
"@atlaskit/tokens": "^1.
|
|
46
|
+
"@atlaskit/tokens": "^1.15.0",
|
|
47
47
|
"@atlaskit/tooltip": "^17.8.0",
|
|
48
48
|
"@atlaskit/ufo": "^0.2.0",
|
|
49
49
|
"@babel/runtime": "^7.0.0",
|
package/report.api.md
CHANGED
|
@@ -505,7 +505,10 @@ export type UserPickerProps = WithAnalyticsEventsProps & {
|
|
|
505
505
|
defaultValue?: DefaultValue;
|
|
506
506
|
placeholder?: React_2.ReactNode;
|
|
507
507
|
addMoreMessage?: string;
|
|
508
|
-
noOptionsMessage?:
|
|
508
|
+
noOptionsMessage?:
|
|
509
|
+
| ((value: { inputValue: string }) => React_2.ReactNode | null | string)
|
|
510
|
+
| React_2.ReactNode
|
|
511
|
+
| null;
|
|
509
512
|
footer?: React_2.ReactNode;
|
|
510
513
|
value?: Value;
|
|
511
514
|
isDisabled?: boolean;
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -337,7 +337,7 @@ export type UserPickerProps = WithAnalyticsEventsProps & {
|
|
|
337
337
|
addMoreMessage?: string;
|
|
338
338
|
noOptionsMessage?: ((value: {
|
|
339
339
|
inputValue: string;
|
|
340
|
-
}) => null | string) | null;
|
|
340
|
+
}) => React_2.ReactNode | null | string) | React_2.ReactNode | null;
|
|
341
341
|
footer?: React_2.ReactNode;
|
|
342
342
|
value?: Value;
|
|
343
343
|
isDisabled?: boolean;
|
package/dist/cjs/version.json
DELETED
package/dist/es2019/version.json
DELETED