@atlaskit/user-picker 11.18.2 → 11.18.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 +8 -0
- package/dist/cjs/components/AddOptionAvatar.js +1 -1
- package/dist/cjs/components/ValueContainerWrapper.js +6 -3
- package/dist/es2019/components/AddOptionAvatar.js +1 -1
- package/dist/es2019/components/ValueContainerWrapper.js +1 -0
- package/dist/esm/components/AddOptionAvatar.js +1 -1
- package/dist/esm/components/ValueContainerWrapper.js +1 -0
- package/dist/types/components/Menu.d.ts +1 -2
- package/dist/types/components/MultiValue.d.ts +3 -4
- package/dist/types/components/PopupControl.d.ts +1 -2
- package/dist/types/components/TeamOption/main.d.ts +1 -2
- package/dist/types/components/UserOption.d.ts +1 -1
- package/dist/types/components/ValueContainerWrapper.d.ts +2 -2
- package/dist/types-ts4.5/components/Menu.d.ts +1 -2
- package/dist/types-ts4.5/components/MultiValue.d.ts +3 -4
- package/dist/types-ts4.5/components/PopupControl.d.ts +1 -2
- package/dist/types-ts4.5/components/TeamOption/main.d.ts +1 -2
- package/dist/types-ts4.5/components/UserOption.d.ts +1 -1
- package/dist/types-ts4.5/components/ValueContainerWrapper.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/user-picker
|
|
2
2
|
|
|
3
|
+
## 11.18.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7b2a6c98563cb`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b2a6c98563cb) -
|
|
8
|
+
Icon entry point migration update
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 11.18.2
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.AddOptionAvatar = void 0;
|
|
8
|
-
var _email = _interopRequireDefault(require("@atlaskit/icon/core/
|
|
8
|
+
var _email = _interopRequireDefault(require("@atlaskit/icon/core/email"));
|
|
9
9
|
var _colors = require("@atlaskit/theme/colors");
|
|
10
10
|
var _react = require("@emotion/react");
|
|
11
11
|
var _react2 = _interopRequireDefault(require("react"));
|
|
@@ -1,14 +1,17 @@
|
|
|
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
|
});
|
|
6
7
|
exports.default = void 0;
|
|
7
|
-
var _react = require("
|
|
8
|
+
var _react = _interopRequireDefault(require("react"));
|
|
9
|
+
var _react2 = require("@emotion/react");
|
|
8
10
|
/**
|
|
9
11
|
* @jsxRuntime classic
|
|
10
12
|
* @jsx jsx
|
|
11
13
|
*/
|
|
14
|
+
|
|
12
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
16
|
|
|
14
17
|
/**
|
|
@@ -22,8 +25,8 @@ var ValueContainerWrapper = function ValueContainerWrapper(_ref) {
|
|
|
22
25
|
onMouseDown = _ref.onMouseDown;
|
|
23
26
|
return isEnabled ?
|
|
24
27
|
// eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage, @atlaskit/ui-styling-standard/no-imported-style-values, @atlassian/a11y/no-static-element-interactions -- Ignored via go/DSP-18766
|
|
25
|
-
(0,
|
|
26
|
-
css: (0,
|
|
28
|
+
(0, _react2.jsx)("div", {
|
|
29
|
+
css: (0, _react2.css)({
|
|
27
30
|
flexGrow: 1
|
|
28
31
|
}),
|
|
29
32
|
onMouseDown: onMouseDown
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import EmailIcon from '@atlaskit/icon/core/
|
|
5
|
+
import EmailIcon from '@atlaskit/icon/core/email';
|
|
6
6
|
import { N40, N500 } from '@atlaskit/theme/colors';
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import EmailIcon from '@atlaskit/icon/core/
|
|
5
|
+
import EmailIcon from '@atlaskit/icon/core/email';
|
|
6
6
|
import { N40, N500 } from '@atlaskit/theme/colors';
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type UserPickerProps } from '../types';
|
|
7
|
-
import { jsx } from '@emotion/react';
|
|
8
7
|
export type Props = React.PropsWithChildren<{
|
|
9
8
|
selectProps: UserPickerProps;
|
|
10
9
|
}>;
|
|
11
10
|
export declare class Menu extends React.Component<Props> {
|
|
12
|
-
render():
|
|
11
|
+
render(): React.JSX.Element;
|
|
13
12
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type OptionType } from '@atlaskit/select';
|
|
7
|
-
import { jsx } from '@emotion/react';
|
|
8
7
|
import { type Option, type UserPickerProps } from '../types';
|
|
9
8
|
import { type MultiValueProps } from '@atlaskit/select';
|
|
10
9
|
export declare const scrollToValue: (valueContainer: HTMLDivElement, control: HTMLElement) => void;
|
|
@@ -23,8 +22,8 @@ export declare class MultiValue extends React.Component<Props> {
|
|
|
23
22
|
constructor(props: Props);
|
|
24
23
|
componentDidUpdate(): void;
|
|
25
24
|
shouldComponentUpdate(nextProps: Props): boolean;
|
|
26
|
-
getElemBefore: () =>
|
|
27
|
-
getElemAfter: () =>
|
|
28
|
-
render():
|
|
25
|
+
getElemBefore: () => React.JSX.Element;
|
|
26
|
+
getElemAfter: () => React.JSX.Element | null;
|
|
27
|
+
render(): React.JSX.Element;
|
|
29
28
|
}
|
|
30
29
|
export {};
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type ControlProps } from '@atlaskit/select';
|
|
7
|
-
import { jsx } from '@emotion/react';
|
|
8
7
|
import type { UserPickerProps } from '../types';
|
|
9
8
|
export declare class PopupControl extends React.PureComponent<ControlProps<any> & UserPickerProps> {
|
|
10
|
-
render():
|
|
9
|
+
render(): React.JSX.Element;
|
|
11
10
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import { type Team } from '../../types';
|
|
4
3
|
export type TeamOptionProps = {
|
|
@@ -14,5 +13,5 @@ export declare class TeamOption extends React.PureComponent<TeamOptionProps> {
|
|
|
14
13
|
private renderVerifiedIcon;
|
|
15
14
|
private getLozengeProps;
|
|
16
15
|
private renderCustomByLine;
|
|
17
|
-
render():
|
|
16
|
+
render(): React.JSX.Element;
|
|
18
17
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
/**
|
|
7
7
|
* Conditional wrapper for the ValueContainer in Select. Provides a workaround
|
|
8
8
|
* for issues using react-select on react-beautiful-dnd Draggable elements.
|
|
@@ -12,5 +12,5 @@ declare const ValueContainerWrapper: ({ children, isEnabled, onMouseDown, }: {
|
|
|
12
12
|
children: React.ReactElement;
|
|
13
13
|
isEnabled: boolean;
|
|
14
14
|
onMouseDown: () => void;
|
|
15
|
-
}) =>
|
|
15
|
+
}) => React.JSX.Element;
|
|
16
16
|
export default ValueContainerWrapper;
|
|
@@ -4,10 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type UserPickerProps } from '../types';
|
|
7
|
-
import { jsx } from '@emotion/react';
|
|
8
7
|
export type Props = React.PropsWithChildren<{
|
|
9
8
|
selectProps: UserPickerProps;
|
|
10
9
|
}>;
|
|
11
10
|
export declare class Menu extends React.Component<Props> {
|
|
12
|
-
render():
|
|
11
|
+
render(): React.JSX.Element;
|
|
13
12
|
}
|
|
@@ -4,7 +4,6 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type OptionType } from '@atlaskit/select';
|
|
7
|
-
import { jsx } from '@emotion/react';
|
|
8
7
|
import { type Option, type UserPickerProps } from '../types';
|
|
9
8
|
import { type MultiValueProps } from '@atlaskit/select';
|
|
10
9
|
export declare const scrollToValue: (valueContainer: HTMLDivElement, control: HTMLElement) => void;
|
|
@@ -23,8 +22,8 @@ export declare class MultiValue extends React.Component<Props> {
|
|
|
23
22
|
constructor(props: Props);
|
|
24
23
|
componentDidUpdate(): void;
|
|
25
24
|
shouldComponentUpdate(nextProps: Props): boolean;
|
|
26
|
-
getElemBefore: () =>
|
|
27
|
-
getElemAfter: () =>
|
|
28
|
-
render():
|
|
25
|
+
getElemBefore: () => React.JSX.Element;
|
|
26
|
+
getElemAfter: () => React.JSX.Element | null;
|
|
27
|
+
render(): React.JSX.Element;
|
|
29
28
|
}
|
|
30
29
|
export {};
|
|
@@ -4,8 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { type ControlProps } from '@atlaskit/select';
|
|
7
|
-
import { jsx } from '@emotion/react';
|
|
8
7
|
import type { UserPickerProps } from '../types';
|
|
9
8
|
export declare class PopupControl extends React.PureComponent<ControlProps<any> & UserPickerProps> {
|
|
10
|
-
render():
|
|
9
|
+
render(): React.JSX.Element;
|
|
11
10
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
1
|
import React from 'react';
|
|
3
2
|
import { type Team } from '../../types';
|
|
4
3
|
export type TeamOptionProps = {
|
|
@@ -14,5 +13,5 @@ export declare class TeamOption extends React.PureComponent<TeamOptionProps> {
|
|
|
14
13
|
private renderVerifiedIcon;
|
|
15
14
|
private getLozengeProps;
|
|
16
15
|
private renderCustomByLine;
|
|
17
|
-
render():
|
|
16
|
+
render(): React.JSX.Element;
|
|
18
17
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import
|
|
5
|
+
import React from 'react';
|
|
6
6
|
/**
|
|
7
7
|
* Conditional wrapper for the ValueContainer in Select. Provides a workaround
|
|
8
8
|
* for issues using react-select on react-beautiful-dnd Draggable elements.
|
|
@@ -12,5 +12,5 @@ declare const ValueContainerWrapper: ({ children, isEnabled, onMouseDown, }: {
|
|
|
12
12
|
children: React.ReactElement;
|
|
13
13
|
isEnabled: boolean;
|
|
14
14
|
onMouseDown: () => void;
|
|
15
|
-
}) =>
|
|
15
|
+
}) => React.JSX.Element;
|
|
16
16
|
export default ValueContainerWrapper;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/user-picker",
|
|
3
|
-
"version": "11.18.
|
|
3
|
+
"version": "11.18.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/"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@atlaskit/avatar": "^25.6.0",
|
|
48
48
|
"@atlaskit/icon": "^29.3.0",
|
|
49
49
|
"@atlaskit/logo": "^19.9.0",
|
|
50
|
-
"@atlaskit/lozenge": "^13.
|
|
50
|
+
"@atlaskit/lozenge": "^13.3.0",
|
|
51
51
|
"@atlaskit/people-teams-ui-public": "^3.7.0",
|
|
52
52
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
53
53
|
"@atlaskit/popper": "^7.1.0",
|