@atlaskit/user-picker 10.7.0 → 10.8.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 10.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`38c3ed63070`](https://bitbucket.org/atlassian/atlassian-frontend/commits/38c3ed63070) - Export sub-components of Option
8
+
3
9
  ## 10.7.0
4
10
 
5
11
  ### Minor Changes
@@ -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.7.0";
15
+ var packageVersion = "10.8.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}$/;
@@ -1,12 +1,48 @@
1
1
  "use strict";
2
2
 
3
+ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
3
4
  Object.defineProperty(exports, "__esModule", {
4
5
  value: true
5
6
  });
7
+ Object.defineProperty(exports, "CustomOption", {
8
+ enumerable: true,
9
+ get: function get() {
10
+ return _CustomOption.default;
11
+ }
12
+ });
13
+ Object.defineProperty(exports, "EmailOption", {
14
+ enumerable: true,
15
+ get: function get() {
16
+ return _EmailOption.default;
17
+ }
18
+ });
19
+ Object.defineProperty(exports, "GroupOption", {
20
+ enumerable: true,
21
+ get: function get() {
22
+ return _GroupOption.default;
23
+ }
24
+ });
6
25
  Object.defineProperty(exports, "Option", {
7
26
  enumerable: true,
8
27
  get: function get() {
9
28
  return _Option.Option;
10
29
  }
11
30
  });
12
- var _Option = require("./components/Option");
31
+ Object.defineProperty(exports, "TeamOption", {
32
+ enumerable: true,
33
+ get: function get() {
34
+ return _TeamOption.default;
35
+ }
36
+ });
37
+ Object.defineProperty(exports, "UserOption", {
38
+ enumerable: true,
39
+ get: function get() {
40
+ return _UserOption.UserOption;
41
+ }
42
+ });
43
+ var _Option = require("./components/Option");
44
+ var _CustomOption = _interopRequireDefault(require("./components/CustomOption"));
45
+ var _EmailOption = _interopRequireDefault(require("./components/EmailOption"));
46
+ var _GroupOption = _interopRequireDefault(require("./components/GroupOption"));
47
+ var _UserOption = require("./components/UserOption");
48
+ var _TeamOption = _interopRequireDefault(require("./components/TeamOption"));
@@ -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.7.0";
5
+ const packageVersion = "10.8.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}$/;
@@ -1 +1,6 @@
1
- export { Option } from './components/Option';
1
+ export { Option } from './components/Option';
2
+ export { default as CustomOption } from './components/CustomOption';
3
+ export { default as EmailOption } from './components/EmailOption';
4
+ export { default as GroupOption } from './components/GroupOption';
5
+ export { UserOption } from './components/UserOption';
6
+ export { default as TeamOption } from './components/TeamOption';
@@ -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.7.0";
8
+ var packageVersion = "10.8.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}$/;
@@ -1 +1,6 @@
1
- export { Option } from './components/Option';
1
+ export { Option } from './components/Option';
2
+ export { default as CustomOption } from './components/CustomOption';
3
+ export { default as EmailOption } from './components/EmailOption';
4
+ export { default as GroupOption } from './components/GroupOption';
5
+ export { UserOption } from './components/UserOption';
6
+ export { default as TeamOption } from './components/TeamOption';
@@ -1,2 +1,12 @@
1
1
  export { Option } from './components/Option';
2
2
  export type { OptionProps } from './components/Option';
3
+ export { default as CustomOption } from './components/CustomOption';
4
+ export type { CustomOptionProps } from './components/CustomOption/main';
5
+ export { default as EmailOption } from './components/EmailOption';
6
+ export type { EmailOptionProps } from './components/EmailOption/main';
7
+ export { default as GroupOption } from './components/GroupOption';
8
+ export type { GroupOptionProps } from './components/GroupOption/main';
9
+ export { UserOption } from './components/UserOption';
10
+ export type { UserOptionProps } from './components/UserOption';
11
+ export { default as TeamOption } from './components/TeamOption';
12
+ export type { TeamOptionProps } from './components/TeamOption/main';
@@ -1,2 +1,12 @@
1
1
  export { Option } from './components/Option';
2
2
  export type { OptionProps } from './components/Option';
3
+ export { default as CustomOption } from './components/CustomOption';
4
+ export type { CustomOptionProps } from './components/CustomOption/main';
5
+ export { default as EmailOption } from './components/EmailOption';
6
+ export type { EmailOptionProps } from './components/EmailOption/main';
7
+ export { default as GroupOption } from './components/GroupOption';
8
+ export type { GroupOptionProps } from './components/GroupOption/main';
9
+ export { UserOption } from './components/UserOption';
10
+ export type { UserOptionProps } from './components/UserOption';
11
+ export { default as TeamOption } from './components/TeamOption';
12
+ export type { TeamOptionProps } from './components/TeamOption/main';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "10.7.0",
3
+ "version": "10.8.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/"