@atlaskit/user-picker 13.8.1 → 13.8.3
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 +41 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/ClearIndicator.js +1 -1
- package/dist/cjs/components/Control.js +1 -1
- package/dist/cjs/components/Input.js +1 -1
- package/dist/cjs/components/MultiValueContainer.js +1 -1
- package/dist/cjs/components/SingleValue.js +1 -1
- package/dist/cjs/components/SingleValueContainer.js +1 -1
- package/dist/cjs/components/UserPicker.js +1 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/ClearIndicator.js +1 -1
- package/dist/es2019/components/Control.js +1 -1
- package/dist/es2019/components/Input.js +1 -1
- package/dist/es2019/components/MultiValueContainer.js +1 -1
- package/dist/es2019/components/SingleValue.js +1 -1
- package/dist/es2019/components/SingleValueContainer.js +1 -1
- package/dist/es2019/components/UserPicker.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/ClearIndicator.js +1 -1
- package/dist/esm/components/Control.js +1 -1
- package/dist/esm/components/Input.js +1 -1
- package/dist/esm/components/MultiValueContainer.js +1 -1
- package/dist/esm/components/SingleValue.js +1 -1
- package/dist/esm/components/SingleValueContainer.js +1 -1
- package/dist/esm/components/UserPicker.js +1 -1
- package/dist/types/components/PopupUserPicker.d.ts +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,46 @@
|
|
|
1
1
|
# @atlaskit/user-picker
|
|
2
2
|
|
|
3
|
+
## 13.8.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 13.8.2
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`6902b31db1608`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6902b31db1608) -
|
|
14
|
+
Consolidate direct Popper.js callers behind `@atlaskit/popper` compatibility entry points and
|
|
15
|
+
feature-gated consumer adapters.
|
|
16
|
+
|
|
17
|
+
`@atlaskit/popper` now exposes compatibility entry points so existing direct `popper.js` /
|
|
18
|
+
`react-popper` callers can move their dependency ownership onto `@atlaskit/popper` without a full
|
|
19
|
+
rewrite:
|
|
20
|
+
- `@atlaskit/popper/react-popper` re-exports the React `usePopper` hook and `Manager` / `Popper` /
|
|
21
|
+
`Reference` render-prop components.
|
|
22
|
+
- `@atlaskit/popper/unsafe-imperative` re-exports the raw Popper.js v2 `createPopper` for
|
|
23
|
+
non-React, imperative callers. This is an escape hatch for existing callers only. Do not use it
|
|
24
|
+
for new code; build new overlays on `@atlaskit/top-layer` instead.
|
|
25
|
+
|
|
26
|
+
```ts
|
|
27
|
+
// Imperative callers (migrating away from a direct `@popperjs/core` / `popper.js` import):
|
|
28
|
+
import { createPopper } from '@atlaskit/popper/unsafe-imperative';
|
|
29
|
+
|
|
30
|
+
const instance = createPopper(referenceElement, popperElement, {
|
|
31
|
+
placement: 'bottom-start',
|
|
32
|
+
});
|
|
33
|
+
|
|
34
|
+
// React callers (migrating away from a direct `react-popper` import):
|
|
35
|
+
import { usePopper } from '@atlaskit/popper/react-popper';
|
|
36
|
+
|
|
37
|
+
const { styles, attributes } = usePopper(referenceElement, popperElement, {
|
|
38
|
+
placement: 'bottom-start',
|
|
39
|
+
});
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
- Updated dependencies
|
|
43
|
+
|
|
3
44
|
## 13.8.1
|
|
4
45
|
|
|
5
46
|
### Patch Changes
|
package/dist/cjs/analytics.js
CHANGED
|
@@ -15,7 +15,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
15
15
|
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; } // eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
16
16
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
17
17
|
var packageName = "@atlaskit/user-picker";
|
|
18
|
-
var packageVersion = "13.8.
|
|
18
|
+
var packageVersion = "13.8.2";
|
|
19
19
|
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}$/;
|
|
20
20
|
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}$/;
|
|
21
21
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
package/dist/es2019/analytics.js
CHANGED
|
@@ -6,7 +6,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
6
6
|
import { v4 as uuidv4 } from 'uuid';
|
|
7
7
|
import { isCustom, isExternalUser } from './components/utils';
|
|
8
8
|
const packageName = "@atlaskit/user-picker";
|
|
9
|
-
const packageVersion = "13.8.
|
|
9
|
+
const packageVersion = "13.8.2";
|
|
10
10
|
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}$/;
|
|
11
11
|
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}$/;
|
|
12
12
|
const UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ClearIndicator.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* ClearIndicator.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./ClearIndicator.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Input.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* Input.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./Input.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MultiValueContainer.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* MultiValueContainer.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./MultiValueContainer.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* SingleValueContainer.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* SingleValueContainer.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./SingleValueContainer.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* UserPicker.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* UserPicker.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
package/dist/esm/analytics.js
CHANGED
|
@@ -9,7 +9,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
|
|
|
9
9
|
import { v4 as uuidv4 } from 'uuid';
|
|
10
10
|
import { isCustom, isExternalUser } from './components/utils';
|
|
11
11
|
var packageName = "@atlaskit/user-picker";
|
|
12
|
-
var packageVersion = "13.8.
|
|
12
|
+
var packageVersion = "13.8.2";
|
|
13
13
|
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}$/;
|
|
14
14
|
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}$/;
|
|
15
15
|
var UUID_REGEXP_NEW_AAID = /^[a-fA-F0-9]{24,24}$/;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* ClearIndicator.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* ClearIndicator.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Input.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* Input.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* MultiValueContainer.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* MultiValueContainer.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* SingleValueContainer.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* SingleValueContainer.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
4
4
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* UserPicker.tsx generated by @compiled/babel-plugin
|
|
1
|
+
/* UserPicker.tsx generated by @compiled/babel-plugin v2.0.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
4
4
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
@@ -2,7 +2,7 @@ import { type CreateUIAnalyticsEvent, type WithAnalyticsEventsProps } from '@atl
|
|
|
2
2
|
import { type PopupSelectProps, type SelectComponentsConfig, type StylesConfig } from '@atlaskit/select';
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { type Appearance, type BoundariesElement, type DefaultValue, type LoadOptions, type LoadUserSource, type OnChange, type OnInputChange, type OnOption, type OnPicker, type OptionData, type PopupUserPickerProps, type RootBoundary, type Target, type UserPickerRef, type Value } from '../types';
|
|
5
|
-
import type { Placement } from '@
|
|
5
|
+
import type { Placement } from '@atlaskit/popper/popper';
|
|
6
6
|
import type { EmailValidator } from './emailValidation';
|
|
7
7
|
interface State {
|
|
8
8
|
flipped: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "13.8.
|
|
3
|
+
"version": "13.8.3",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -69,10 +69,10 @@
|
|
|
69
69
|
"@atlaskit/feature-gate-js-client": "^6.0.0",
|
|
70
70
|
"@atlaskit/icon": "^37.2.0",
|
|
71
71
|
"@atlaskit/logo": "^21.4.0",
|
|
72
|
-
"@atlaskit/lozenge": "^
|
|
72
|
+
"@atlaskit/lozenge": "^15.0.0",
|
|
73
73
|
"@atlaskit/people-teams-ui-public": "^5.1.0",
|
|
74
74
|
"@atlaskit/platform-feature-flags": "^2.1.0",
|
|
75
|
-
"@atlaskit/popper": "^8.
|
|
75
|
+
"@atlaskit/popper": "^8.5.0",
|
|
76
76
|
"@atlaskit/primitives": "^22.2.0",
|
|
77
77
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
78
78
|
"@atlaskit/select": "^22.6.0",
|