@atlaskit/user-picker 13.4.2 → 13.4.4
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 +16 -0
- package/dist/cjs/analytics.js +1 -1
- package/dist/cjs/components/MultiValue.js +2 -2
- package/dist/cjs/components/SingleValue.js +1 -1
- package/dist/es2019/analytics.js +1 -1
- package/dist/es2019/components/MultiValue.js +2 -2
- package/dist/es2019/components/SingleValue.js +1 -1
- package/dist/esm/analytics.js +1 -1
- package/dist/esm/components/MultiValue.js +2 -2
- package/dist/esm/components/SingleValue.js +1 -1
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# @atlaskit/user-picker
|
|
2
2
|
|
|
3
|
+
## 13.4.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 13.4.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`c259ffbd14ffc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c259ffbd14ffc) -
|
|
14
|
+
Migrate deprecated Lozenge appearance values to the new semantic appearances, and migrate
|
|
15
|
+
deprecated `SimpleTag`/`RemovableTag` to the default `Tag` export (SimpleTag with
|
|
16
|
+
`isRemovable={false}`).
|
|
17
|
+
- Updated dependencies
|
|
18
|
+
|
|
3
19
|
## 13.4.2
|
|
4
20
|
|
|
5
21
|
### 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.4.
|
|
18
|
+
var packageVersion = "13.4.3";
|
|
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}$/;
|
|
@@ -129,7 +129,7 @@ var MultiValue = exports.MultiValue = /*#__PURE__*/function (_React$Component) {
|
|
|
129
129
|
return (0, _react2.jsx)(_primitives.Box, {
|
|
130
130
|
xcss: archivedLozengeWrapper
|
|
131
131
|
}, (0, _react2.jsx)(_lozenge.default, {
|
|
132
|
-
appearance: "
|
|
132
|
+
appearance: "neutral"
|
|
133
133
|
}, (0, _react2.jsx)(_reactIntl.FormattedMessage, _i18n.messages.archivedLozenge)));
|
|
134
134
|
}
|
|
135
135
|
return null;
|
|
@@ -267,7 +267,7 @@ var MultiValue = exports.MultiValue = /*#__PURE__*/function (_React$Component) {
|
|
|
267
267
|
}), canShowArchivedLozenge ? (0, _react2.jsx)(_primitives.Box, {
|
|
268
268
|
xcss: archivedLozengeWrapper
|
|
269
269
|
}, (0, _react2.jsx)(_lozenge.default, {
|
|
270
|
-
appearance: "
|
|
270
|
+
appearance: "neutral"
|
|
271
271
|
}, (0, _react2.jsx)(_reactIntl.FormattedMessage, _i18n.messages.archivedLozenge))) : null) : (0, _react2.jsx)(_tag.AvatarTag, {
|
|
272
272
|
type: "user",
|
|
273
273
|
text: label,
|
|
@@ -72,6 +72,6 @@ var SingleValue = exports.SingleValue = function SingleValue(props) {
|
|
|
72
72
|
}, label, /*#__PURE__*/React.createElement(ElementAfter, props), canShowArchivedLozenge ? /*#__PURE__*/React.createElement(_compiled.Box, {
|
|
73
73
|
xcss: styles.archivedLozengeWrapper
|
|
74
74
|
}, /*#__PURE__*/React.createElement(_lozenge.default, {
|
|
75
|
-
appearance: "
|
|
75
|
+
appearance: "neutral"
|
|
76
76
|
}, /*#__PURE__*/React.createElement(_reactIntl.FormattedMessage, _i18n.messages.archivedLozenge))) : null)))))) : null;
|
|
77
77
|
};
|
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.4.
|
|
9
|
+
const packageVersion = "13.4.3";
|
|
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}$/;
|
|
@@ -121,7 +121,7 @@ export class MultiValue extends React.Component {
|
|
|
121
121
|
return jsx(Box, {
|
|
122
122
|
xcss: archivedLozengeWrapper
|
|
123
123
|
}, jsx(Lozenge, {
|
|
124
|
-
appearance: "
|
|
124
|
+
appearance: "neutral"
|
|
125
125
|
}, jsx(FormattedMessage, messages.archivedLozenge)));
|
|
126
126
|
}
|
|
127
127
|
return null;
|
|
@@ -261,7 +261,7 @@ export class MultiValue extends React.Component {
|
|
|
261
261
|
}), canShowArchivedLozenge ? jsx(Box, {
|
|
262
262
|
xcss: archivedLozengeWrapper
|
|
263
263
|
}, jsx(Lozenge, {
|
|
264
|
-
appearance: "
|
|
264
|
+
appearance: "neutral"
|
|
265
265
|
}, jsx(FormattedMessage, messages.archivedLozenge))) : null) : jsx(AvatarTag, {
|
|
266
266
|
type: "user",
|
|
267
267
|
text: label,
|
|
@@ -72,6 +72,6 @@ export const SingleValue = props => {
|
|
|
72
72
|
}, label, /*#__PURE__*/React.createElement(ElementAfter, props), canShowArchivedLozenge ? /*#__PURE__*/React.createElement(Box, {
|
|
73
73
|
xcss: styles.archivedLozengeWrapper
|
|
74
74
|
}, /*#__PURE__*/React.createElement(Lozenge, {
|
|
75
|
-
appearance: "
|
|
75
|
+
appearance: "neutral"
|
|
76
76
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.archivedLozenge))) : null)))))) : null;
|
|
77
77
|
};
|
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.4.
|
|
12
|
+
var packageVersion = "13.4.3";
|
|
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}$/;
|
|
@@ -122,7 +122,7 @@ export var MultiValue = /*#__PURE__*/function (_React$Component) {
|
|
|
122
122
|
return jsx(Box, {
|
|
123
123
|
xcss: archivedLozengeWrapper
|
|
124
124
|
}, jsx(Lozenge, {
|
|
125
|
-
appearance: "
|
|
125
|
+
appearance: "neutral"
|
|
126
126
|
}, jsx(FormattedMessage, messages.archivedLozenge)));
|
|
127
127
|
}
|
|
128
128
|
return null;
|
|
@@ -260,7 +260,7 @@ export var MultiValue = /*#__PURE__*/function (_React$Component) {
|
|
|
260
260
|
}), canShowArchivedLozenge ? jsx(Box, {
|
|
261
261
|
xcss: archivedLozengeWrapper
|
|
262
262
|
}, jsx(Lozenge, {
|
|
263
|
-
appearance: "
|
|
263
|
+
appearance: "neutral"
|
|
264
264
|
}, jsx(FormattedMessage, messages.archivedLozenge))) : null) : jsx(AvatarTag, {
|
|
265
265
|
type: "user",
|
|
266
266
|
text: label,
|
|
@@ -63,6 +63,6 @@ export var SingleValue = function SingleValue(props) {
|
|
|
63
63
|
}, label, /*#__PURE__*/React.createElement(ElementAfter, props), canShowArchivedLozenge ? /*#__PURE__*/React.createElement(Box, {
|
|
64
64
|
xcss: styles.archivedLozengeWrapper
|
|
65
65
|
}, /*#__PURE__*/React.createElement(Lozenge, {
|
|
66
|
-
appearance: "
|
|
66
|
+
appearance: "neutral"
|
|
67
67
|
}, /*#__PURE__*/React.createElement(FormattedMessage, messages.archivedLozenge))) : null)))))) : null;
|
|
68
68
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "13.4.
|
|
3
|
+
"version": "13.4.4",
|
|
4
4
|
"description": "Fabric component for display a dropdown to select a user from",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -73,11 +73,11 @@
|
|
|
73
73
|
"@atlaskit/people-teams-ui-public": "^5.1.0",
|
|
74
74
|
"@atlaskit/platform-feature-flags": "^2.0.0",
|
|
75
75
|
"@atlaskit/popper": "^8.3.0",
|
|
76
|
-
"@atlaskit/primitives": "^
|
|
76
|
+
"@atlaskit/primitives": "^21.0.0",
|
|
77
77
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
78
78
|
"@atlaskit/select": "^22.5.0",
|
|
79
79
|
"@atlaskit/spinner": "^20.1.0",
|
|
80
|
-
"@atlaskit/tag": "^15.
|
|
80
|
+
"@atlaskit/tag": "^15.3.0",
|
|
81
81
|
"@atlaskit/teams-avatar": "^3.1.0",
|
|
82
82
|
"@atlaskit/tokens": "^15.8.0",
|
|
83
83
|
"@atlaskit/tooltip": "^23.1.0",
|