@atlaskit/user-picker 10.31.4 → 11.0.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,23 @@
1
1
  # @atlaskit/user-picker
2
2
 
3
+ ## 11.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#117363](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/117363)
8
+ [`10a0f7f6c2027`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/10a0f7f6c2027) -
9
+ This package's `peerDependencies` have been adjusted for `react` and/or `react-dom` to reflect the
10
+ status of only supporting React 18 going forward. No explicit breaking change to React support has
11
+ been made in this release, but this is to signify going forward, breaking changes for React 16 or
12
+ React 17 may come via non-major semver releases.
13
+
14
+ Please refer this community post for more details:
15
+ https://community.developer.atlassian.com/t/rfc-78-dropping-support-for-react-16-and-rendering-in-a-react-18-concurrent-root-in-jira-and-confluence/87026
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 10.31.4
4
22
 
5
23
  ### Patch 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.31.4";
15
+ var packageVersion = "11.0.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.31.4";
5
+ const packageVersion = "11.0.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.31.4";
8
+ var packageVersion = "11.0.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}$/;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/user-picker",
3
- "version": "10.31.4",
3
+ "version": "11.0.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/"
@@ -47,22 +47,22 @@
47
47
  "access": "public"
48
48
  },
49
49
  "dependencies": {
50
- "@atlaskit/analytics-next": "^10.3.0",
51
- "@atlaskit/avatar": "^21.18.0",
52
- "@atlaskit/icon": "^23.9.0",
53
- "@atlaskit/logo": "^15.3.0",
54
- "@atlaskit/lozenge": "^11.13.0",
55
- "@atlaskit/people-teams-ui-public": "^2.1.0",
50
+ "@atlaskit/analytics-next": "^11.0.0",
51
+ "@atlaskit/avatar": "^22.0.0",
52
+ "@atlaskit/icon": "^24.0.0",
53
+ "@atlaskit/logo": "^16.0.0",
54
+ "@atlaskit/lozenge": "^12.0.0",
55
+ "@atlaskit/people-teams-ui-public": "^3.0.0",
56
56
  "@atlaskit/platform-feature-flags": "^1.1.0",
57
- "@atlaskit/popper": "^6.4.0",
58
- "@atlaskit/primitives": "^13.5.0",
59
- "@atlaskit/select": "^18.10.0",
60
- "@atlaskit/spinner": "^17.1.0",
61
- "@atlaskit/teams-avatar": "^1.2.0",
62
- "@atlaskit/theme": "^16.0.0",
63
- "@atlaskit/tokens": "^3.3.0",
64
- "@atlaskit/tooltip": "^19.1.0",
65
- "@atlaskit/ufo": "^0.3.0",
57
+ "@atlaskit/popper": "^7.0.0",
58
+ "@atlaskit/primitives": "^14.0.0",
59
+ "@atlaskit/select": "^19.0.0",
60
+ "@atlaskit/spinner": "^18.0.0",
61
+ "@atlaskit/teams-avatar": "^2.0.0",
62
+ "@atlaskit/theme": "^17.0.0",
63
+ "@atlaskit/tokens": "^4.0.0",
64
+ "@atlaskit/tooltip": "^20.0.0",
65
+ "@atlaskit/ufo": "^0.4.0",
66
66
  "@babel/runtime": "^7.0.0",
67
67
  "@emotion/react": "^11.7.1",
68
68
  "lodash": "^4.17.21",
@@ -70,14 +70,14 @@
70
70
  "uuid": "^3.1.0"
71
71
  },
72
72
  "peerDependencies": {
73
- "react": "^16.8.0 || ^17.0.0 || ^18.2.0",
74
- "react-dom": "^16.8.0 || ^17.0.0 || ^18.2.0",
73
+ "react": "^18.2.0",
74
+ "react-dom": "^18.2.0",
75
75
  "react-intl-next": "npm:react-intl@^5.18.1"
76
76
  },
77
77
  "devDependencies": {
78
- "@atlaskit/analytics-viewer": "^0.7.0",
79
- "@atlaskit/elements-test-helpers": "^0.8.0",
80
- "@atlaskit/heading": "^4.1.0",
78
+ "@atlaskit/analytics-viewer": "^0.8.0",
79
+ "@atlaskit/elements-test-helpers": "^0.9.0",
80
+ "@atlaskit/heading": "^5.0.0",
81
81
  "@atlaskit/visual-regression": "*",
82
82
  "@atlassian/feature-flags-test-utils": "^0.3.0",
83
83
  "@emotion/styled": "^11.0.0",