@atlaskit/user-picker 10.14.0 → 10.15.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,16 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 10.15.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#68878](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/68878) [`6c49996cd842`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6c49996cd842) - update user recommendations api to return user's title
8
+
9
+ ### Patch Changes
10
+
11
+ - [#69272](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/69272) [`35f47019f443`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/35f47019f443) - Migrate packages to use declarative entry points
12
+ - Updated dependencies
13
+
3
14
  ## 10.14.0
4
15
 
5
16
  ### Minor Changes
@@ -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 = "10.14.0";
15
+ var packageVersion = "10.15.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}$/;
@@ -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.14.0";
5
+ const packageVersion = "10.15.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}$/;
@@ -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.14.0";
8
+ var packageVersion = "10.15.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}$/;
@@ -256,6 +256,7 @@ export interface User extends OptionData {
256
256
  type?: 'user' | 'external_user';
257
257
  email?: string;
258
258
  isExternal?: boolean;
259
+ title?: string;
259
260
  }
260
261
  export type LozengeColor = 'default' | 'success' | 'removed' | 'inprogress' | 'new' | 'moved';
261
262
  export interface LozengeProps {
@@ -259,6 +259,7 @@ export interface User extends OptionData {
259
259
  type?: 'user' | 'external_user';
260
260
  email?: string;
261
261
  isExternal?: boolean;
262
+ title?: string;
262
263
  }
263
264
  export type LozengeColor = 'default' | 'success' | 'removed' | 'inprogress' | 'new' | 'moved';
264
265
  export interface LozengeProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "10.14.0",
3
+ "version": "10.15.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/"
@@ -22,9 +22,14 @@
22
22
  },
23
23
  "sideEffects": false,
24
24
  "atlaskit:src": "src/index.ts",
25
+ "af:exports": {
26
+ ".": "./src/index.ts",
27
+ "./analytics": "./src/analytics.ts",
28
+ "./option": "./src/option.ts",
29
+ "./types": "./src/types.ts"
30
+ },
25
31
  "atlassian": {
26
32
  "team": "Search Platform: Search Experience",
27
- "deprecatedAutoEntryPoints": true,
28
33
  "releaseModel": "continuous",
29
34
  "website": {
30
35
  "name": "User Picker"
@@ -47,7 +52,7 @@
47
52
  "@atlaskit/select": "^17.0.3",
48
53
  "@atlaskit/spinner": "^16.0.0",
49
54
  "@atlaskit/theme": "^12.6.0",
50
- "@atlaskit/tokens": "^1.34.0",
55
+ "@atlaskit/tokens": "^1.35.0",
51
56
  "@atlaskit/tooltip": "^18.1.0",
52
57
  "@atlaskit/ufo": "^0.2.0",
53
58
  "@babel/runtime": "^7.0.0",
@@ -65,7 +70,7 @@
65
70
  "@atlaskit/analytics-viewer": "^0.5.0",
66
71
  "@atlaskit/elements-test-helpers": "^0.7.0",
67
72
  "@atlaskit/heading": "^1.5.0",
68
- "@atlaskit/primitives": "^1.18.0",
73
+ "@atlaskit/primitives": "^1.20.0",
69
74
  "@atlaskit/visual-regression": "*",
70
75
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
71
76
  "@emotion/styled": "^11.0.0",