@atlaskit/select 16.5.7 → 16.5.9

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,17 @@
1
1
  # @atlaskit/select
2
2
 
3
+ ## 16.5.9
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2c77d477cbb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2c77d477cbb) - Ensures static linting occurs in the techstack, fixes one example's eslint error.
8
+
9
+ ## 16.5.8
10
+
11
+ ### Patch Changes
12
+
13
+ - [`5c22f7ade33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5c22f7ade33) - Convert CSS tagged templates to explicit function calls with objects.
14
+
3
15
  ## 16.5.7
4
16
 
5
17
  ### Patch Changes
@@ -27,6 +27,8 @@ var MenuDialog = function MenuDialog(_ref) {
27
27
  id = _ref.id,
28
28
  style = _ref.style;
29
29
  return (0, _react.jsx)("div", {
30
+ // TODO: Make these use proper dynamic styling (DSP-12490)
31
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
30
32
  css: {
31
33
  backgroundColor: "var(--ds-surface-overlay, white)",
32
34
  borderRadius: 4,
@@ -46,6 +48,8 @@ var MenuDialog = function MenuDialog(_ref) {
46
48
  exports.MenuDialog = MenuDialog;
47
49
  var DropdownIndicator = function DropdownIndicator() {
48
50
  return (0, _react.jsx)("div", {
51
+ // TODO: Make these use proper dynamic styling (DSP-12490)
52
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
49
53
  css: {
50
54
  marginRight: "var(--ds-space-025, 2px)",
51
55
  textAlign: 'center',
@@ -60,7 +64,10 @@ var Control = function Control(_ref2) {
60
64
  innerProps = _ref2.innerProps,
61
65
  props = (0, _objectWithoutProperties2.default)(_ref2, _excluded);
62
66
  return (0, _react.jsx)("div", {
63
- ref: innerRef,
67
+ ref: innerRef
68
+ // TODO: Make these use proper dynamic styling (DSP-12490)
69
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
70
+ ,
64
71
  css: {
65
72
  padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-050, 4px)")
66
73
  }
@@ -73,7 +80,6 @@ var DummyControl = function DummyControl(props) {
73
80
  };
74
81
 
75
82
  // NOTE `props` intentionally omitted from `Fragment`
76
- // eslint-disable-next-line
77
83
  exports.DummyControl = DummyControl;
78
84
  var Menu = function Menu(_ref3) {
79
85
  var children = _ref3.children,
@@ -9,7 +9,7 @@ var _reactSelect = _interopRequireDefault(require("react-select"));
9
9
  var _analyticsNext = require("@atlaskit/analytics-next");
10
10
  var _createSelect = _interopRequireDefault(require("./createSelect"));
11
11
  var packageName = "@atlaskit/select";
12
- var packageVersion = "16.5.7";
12
+ var packageVersion = "16.5.9";
13
13
  var SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
14
14
  exports.SelectWithoutAnalytics = SelectWithoutAnalytics;
15
15
  var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
@@ -24,19 +24,22 @@ Object.defineProperty(exports, "LoadingIndicator", {
24
24
  }
25
25
  });
26
26
  exports.MultiValueRemove = void 0;
27
- var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
28
27
  var _react = require("@emotion/react");
29
28
  var _selectClear = _interopRequireDefault(require("@atlaskit/icon/glyph/select-clear"));
30
29
  var _reactSelect = require("react-select");
31
30
  var _indicators = require("./indicators");
32
- var _templateObject, _templateObject2;
33
31
  /** @jsx jsx */
34
- var disabledProps = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n display: none;\n"])));
35
- var enabledProps = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\n display: inherit;\n"])));
32
+
33
+ var disabledStyles = (0, _react.css)({
34
+ display: 'none'
35
+ });
36
+ var enabledStyles = (0, _react.css)({
37
+ display: 'inherit'
38
+ });
36
39
  var MultiValueRemove = function MultiValueRemove(props) {
37
40
  var isDisabled = props.selectProps.isDisabled;
38
41
  return (0, _react.jsx)(_reactSelect.components.MultiValueRemove, props, (0, _react.jsx)("div", {
39
- css: isDisabled ? disabledProps : enabledProps,
42
+ css: isDisabled ? disabledStyles : enabledStyles,
40
43
  "data-testid": isDisabled ? 'hide-clear-icon' : 'show-clear-icon'
41
44
  }, (0, _react.jsx)(_selectClear.default, {
42
45
  label: "Clear",
@@ -42,11 +42,16 @@ var DropdownIndicator = function DropdownIndicator(props) {
42
42
  };
43
43
  exports.DropdownIndicator = DropdownIndicator;
44
44
  var LoadingIndicator = function LoadingIndicator(props) {
45
- var loadingCSS = (0, _react.css)(props.getStyles('loadingIndicator', props));
46
- return (0, _react.jsx)("div", (0, _extends2.default)({
47
- css: loadingCSS
48
- }, props.innerProps), (0, _react.jsx)(_spinner.default, {
49
- size: "small"
50
- }));
45
+ var loadingStyles = (0, _react.css)(props.getStyles('loadingIndicator', props));
46
+ return (
47
+ // This *must* be constructed this way because this is being consumed by
48
+ // `react-select` and we don't control what it wants.
49
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
50
+ (0, _react.jsx)("div", (0, _extends2.default)({
51
+ css: loadingStyles
52
+ }, props.innerProps), (0, _react.jsx)(_spinner.default, {
53
+ size: "small"
54
+ }))
55
+ );
51
56
  };
52
57
  exports.LoadingIndicator = LoadingIndicator;
@@ -232,11 +232,15 @@ var ControlOption = /*#__PURE__*/function (_Component) {
232
232
  * @see https://product-fabric.atlassian.net/browse/DSP-6063
233
233
  */
234
234
  // @ts-ignore
235
+ // TODO: Make these use proper dynamic styling (DSP-12490)
236
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
235
237
  (0, _react.jsx)("div", (0, _extends2.default)({
236
238
  css: styles,
237
239
  className: classes,
238
240
  ref: innerRef
239
241
  }, props), (0, _react.jsx)("div", {
242
+ // TODO: Make these use proper dynamic styling (DSP-12490)
243
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
240
244
  css: {
241
245
  alignItems: 'center',
242
246
  display: 'flex ',
@@ -256,6 +260,8 @@ var ControlOption = /*#__PURE__*/function (_Component) {
256
260
  primaryColor: getPrimaryColor(_objectSpread(_objectSpread({}, this.props), this.state)),
257
261
  secondaryColor: getSecondaryColor(_objectSpread(_objectSpread({}, this.props), this.state))
258
262
  }) : null), (0, _react.jsx)("div", {
263
+ // TODO: Make these use proper dynamic styling (DSP-12490)
264
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
259
265
  css: {
260
266
  textOverflow: 'ellipsis',
261
267
  overflowX: 'hidden',
@@ -4,8 +4,6 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.groupedCountries = exports.allCountries = void 0;
7
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
8
-
9
7
  var allCountries = [{
10
8
  icon: '🇦🇫',
11
9
  name: 'Afghanistan',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "16.5.7",
3
+ "version": "16.5.9",
4
4
  "sideEffects": false
5
5
  }
@@ -18,6 +18,8 @@ export const MenuDialog = ({
18
18
  id,
19
19
  style
20
20
  }) => jsx("div", {
21
+ // TODO: Make these use proper dynamic styling (DSP-12490)
22
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
21
23
  css: {
22
24
  backgroundColor: "var(--ds-surface-overlay, white)",
23
25
  borderRadius: 4,
@@ -35,6 +37,8 @@ export const MenuDialog = ({
35
37
  // ==============================
36
38
 
37
39
  const DropdownIndicator = () => jsx("div", {
40
+ // TODO: Make these use proper dynamic styling (DSP-12490)
41
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
38
42
  css: {
39
43
  marginRight: "var(--ds-space-025, 2px)",
40
44
  textAlign: 'center',
@@ -48,7 +52,10 @@ const Control = ({
48
52
  innerProps,
49
53
  ...props
50
54
  }) => jsx("div", {
51
- ref: innerRef,
55
+ ref: innerRef
56
+ // TODO: Make these use proper dynamic styling (DSP-12490)
57
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
58
+ ,
52
59
  css: {
53
60
  padding: `${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-050, 4px)"}`
54
61
  }
@@ -58,7 +65,6 @@ const Control = ({
58
65
  export const DummyControl = props => jsx(VisuallyHidden, null, jsx(components.Control, props));
59
66
 
60
67
  // NOTE `props` intentionally omitted from `Fragment`
61
- // eslint-disable-next-line
62
68
  const Menu = ({
63
69
  children,
64
70
  innerProps,
@@ -2,7 +2,7 @@ import Select from 'react-select';
2
2
  import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
3
3
  import createSelect from './createSelect';
4
4
  const packageName = "@atlaskit/select";
5
- const packageVersion = "16.5.7";
5
+ const packageVersion = "16.5.9";
6
6
  export const SelectWithoutAnalytics = createSelect(Select);
7
7
  const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
8
8
  export default withAnalyticsContext({
@@ -3,18 +3,18 @@ import { jsx, css } from '@emotion/react';
3
3
  import SelectClearIcon from '@atlaskit/icon/glyph/select-clear';
4
4
  import { components } from 'react-select';
5
5
  export { ClearIndicator, DropdownIndicator, LoadingIndicator } from './indicators';
6
- const disabledProps = css`
7
- display: none;
8
- `;
9
- const enabledProps = css`
10
- display: inherit;
11
- `;
6
+ const disabledStyles = css({
7
+ display: 'none'
8
+ });
9
+ const enabledStyles = css({
10
+ display: 'inherit'
11
+ });
12
12
  export const MultiValueRemove = props => {
13
13
  const {
14
14
  isDisabled
15
15
  } = props.selectProps;
16
16
  return jsx(components.MultiValueRemove, props, jsx("div", {
17
- css: isDisabled ? disabledProps : enabledProps,
17
+ css: isDisabled ? disabledStyles : enabledStyles,
18
18
  "data-testid": isDisabled ? 'hide-clear-icon' : 'show-clear-icon'
19
19
  }, jsx(SelectClearIcon, {
20
20
  label: "Clear",
@@ -28,10 +28,15 @@ export const DropdownIndicator = props => jsx(components.DropdownIndicator, prop
28
28
  label: "open"
29
29
  }));
30
30
  export const LoadingIndicator = props => {
31
- const loadingCSS = css(props.getStyles('loadingIndicator', props));
32
- return jsx("div", _extends({
33
- css: loadingCSS
34
- }, props.innerProps), jsx(Spinner, {
35
- size: "small"
36
- }));
31
+ const loadingStyles = css(props.getStyles('loadingIndicator', props));
32
+ return (
33
+ // This *must* be constructed this way because this is being consumed by
34
+ // `react-select` and we don't control what it wants.
35
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
36
+ jsx("div", _extends({
37
+ css: loadingStyles
38
+ }, props.innerProps), jsx(Spinner, {
39
+ size: "small"
40
+ }))
41
+ );
37
42
  };
@@ -202,11 +202,15 @@ class ControlOption extends Component {
202
202
  * @see https://product-fabric.atlassian.net/browse/DSP-6063
203
203
  */
204
204
  // @ts-ignore
205
+ // TODO: Make these use proper dynamic styling (DSP-12490)
206
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
205
207
  jsx("div", _extends({
206
208
  css: styles,
207
209
  className: classes,
208
210
  ref: innerRef
209
211
  }, props), jsx("div", {
212
+ // TODO: Make these use proper dynamic styling (DSP-12490)
213
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
210
214
  css: {
211
215
  alignItems: 'center',
212
216
  display: 'flex ',
@@ -235,6 +239,8 @@ class ControlOption extends Component {
235
239
  ...this.state
236
240
  })
237
241
  }) : null), jsx("div", {
242
+ // TODO: Make these use proper dynamic styling (DSP-12490)
243
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
238
244
  css: {
239
245
  textOverflow: 'ellipsis',
240
246
  overflowX: 'hidden',
@@ -1,5 +1,3 @@
1
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
2
-
3
1
  export const allCountries = [{
4
2
  icon: '🇦🇫',
5
3
  name: 'Afghanistan',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "16.5.7",
3
+ "version": "16.5.9",
4
4
  "sideEffects": false
5
5
  }
@@ -21,6 +21,8 @@ export var MenuDialog = function MenuDialog(_ref) {
21
21
  id = _ref.id,
22
22
  style = _ref.style;
23
23
  return jsx("div", {
24
+ // TODO: Make these use proper dynamic styling (DSP-12490)
25
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
24
26
  css: {
25
27
  backgroundColor: "var(--ds-surface-overlay, white)",
26
28
  borderRadius: 4,
@@ -40,6 +42,8 @@ export var MenuDialog = function MenuDialog(_ref) {
40
42
 
41
43
  var DropdownIndicator = function DropdownIndicator() {
42
44
  return jsx("div", {
45
+ // TODO: Make these use proper dynamic styling (DSP-12490)
46
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
43
47
  css: {
44
48
  marginRight: "var(--ds-space-025, 2px)",
45
49
  textAlign: 'center',
@@ -54,7 +58,10 @@ var Control = function Control(_ref2) {
54
58
  innerProps = _ref2.innerProps,
55
59
  props = _objectWithoutProperties(_ref2, _excluded);
56
60
  return jsx("div", {
57
- ref: innerRef,
61
+ ref: innerRef
62
+ // TODO: Make these use proper dynamic styling (DSP-12490)
63
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
64
+ ,
58
65
  css: {
59
66
  padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-100, 8px)", " ", "var(--ds-space-050, 4px)")
60
67
  }
@@ -67,7 +74,6 @@ export var DummyControl = function DummyControl(props) {
67
74
  };
68
75
 
69
76
  // NOTE `props` intentionally omitted from `Fragment`
70
- // eslint-disable-next-line
71
77
  var Menu = function Menu(_ref3) {
72
78
  var children = _ref3.children,
73
79
  innerProps = _ref3.innerProps,
@@ -2,7 +2,7 @@ import Select from 'react-select';
2
2
  import { withAnalyticsEvents, withAnalyticsContext, createAndFireEvent } from '@atlaskit/analytics-next';
3
3
  import createSelect from './createSelect';
4
4
  var packageName = "@atlaskit/select";
5
- var packageVersion = "16.5.7";
5
+ var packageVersion = "16.5.9";
6
6
  export var SelectWithoutAnalytics = createSelect(Select);
7
7
  var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
8
8
  export default withAnalyticsContext({
@@ -1,16 +1,18 @@
1
- import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
2
- var _templateObject, _templateObject2;
3
1
  /** @jsx jsx */
4
2
  import { jsx, css } from '@emotion/react';
5
3
  import SelectClearIcon from '@atlaskit/icon/glyph/select-clear';
6
4
  import { components } from 'react-select';
7
5
  export { ClearIndicator, DropdownIndicator, LoadingIndicator } from './indicators';
8
- var disabledProps = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n display: none;\n"])));
9
- var enabledProps = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n display: inherit;\n"])));
6
+ var disabledStyles = css({
7
+ display: 'none'
8
+ });
9
+ var enabledStyles = css({
10
+ display: 'inherit'
11
+ });
10
12
  export var MultiValueRemove = function MultiValueRemove(props) {
11
13
  var isDisabled = props.selectProps.isDisabled;
12
14
  return jsx(components.MultiValueRemove, props, jsx("div", {
13
- css: isDisabled ? disabledProps : enabledProps,
15
+ css: isDisabled ? disabledStyles : enabledStyles,
14
16
  "data-testid": isDisabled ? 'hide-clear-icon' : 'show-clear-icon'
15
17
  }, jsx(SelectClearIcon, {
16
18
  label: "Clear",
@@ -34,10 +34,15 @@ export var DropdownIndicator = function DropdownIndicator(props) {
34
34
  }));
35
35
  };
36
36
  export var LoadingIndicator = function LoadingIndicator(props) {
37
- var loadingCSS = css(props.getStyles('loadingIndicator', props));
38
- return jsx("div", _extends({
39
- css: loadingCSS
40
- }, props.innerProps), jsx(Spinner, {
41
- size: "small"
42
- }));
37
+ var loadingStyles = css(props.getStyles('loadingIndicator', props));
38
+ return (
39
+ // This *must* be constructed this way because this is being consumed by
40
+ // `react-select` and we don't control what it wants.
41
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
42
+ jsx("div", _extends({
43
+ css: loadingStyles
44
+ }, props.innerProps), jsx(Spinner, {
45
+ size: "small"
46
+ }))
47
+ );
43
48
  };
@@ -226,11 +226,15 @@ var ControlOption = /*#__PURE__*/function (_Component) {
226
226
  * @see https://product-fabric.atlassian.net/browse/DSP-6063
227
227
  */
228
228
  // @ts-ignore
229
+ // TODO: Make these use proper dynamic styling (DSP-12490)
230
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
229
231
  jsx("div", _extends({
230
232
  css: styles,
231
233
  className: classes,
232
234
  ref: innerRef
233
235
  }, props), jsx("div", {
236
+ // TODO: Make these use proper dynamic styling (DSP-12490)
237
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
234
238
  css: {
235
239
  alignItems: 'center',
236
240
  display: 'flex ',
@@ -250,6 +254,8 @@ var ControlOption = /*#__PURE__*/function (_Component) {
250
254
  primaryColor: getPrimaryColor(_objectSpread(_objectSpread({}, this.props), this.state)),
251
255
  secondaryColor: getSecondaryColor(_objectSpread(_objectSpread({}, this.props), this.state))
252
256
  }) : null), jsx("div", {
257
+ // TODO: Make these use proper dynamic styling (DSP-12490)
258
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage
253
259
  css: {
254
260
  textOverflow: 'ellipsis',
255
261
  overflowX: 'hidden',
@@ -1,5 +1,3 @@
1
- /* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
2
-
3
1
  export var allCountries = [{
4
2
  icon: '🇦🇫',
5
3
  name: 'Afghanistan',
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "16.5.7",
3
+ "version": "16.5.9",
4
4
  "sideEffects": false
5
5
  }
@@ -100,13 +100,7 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
100
100
  mergedComponents: {
101
101
  Control: React.FC<import("../types").ControlProps<OptionType, boolean>>;
102
102
  DropdownIndicator: () => import("@emotion/react").jsx.JSX.Element;
103
- Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element; /**
104
- The props passed down to React Popper.
105
-
106
- Use these to override the default positioning strategy, behaviour and placement used by this library.
107
- For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
108
-
109
- */
103
+ Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element;
110
104
  };
111
105
  mergedPopperProps: PopperPropsNoChildren<string>;
112
106
  focusLockEnabled?: undefined;
@@ -116,13 +110,7 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
116
110
  mergedComponents: {
117
111
  Control: React.FC<import("../types").ControlProps<OptionType, boolean>>;
118
112
  DropdownIndicator: () => import("@emotion/react").jsx.JSX.Element;
119
- Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element; /**
120
- The props passed down to React Popper.
121
-
122
- Use these to override the default positioning strategy, behaviour and placement used by this library.
123
- For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
124
-
125
- */
113
+ Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element;
126
114
  };
127
115
  mergedPopperProps: PopperPropsNoChildren<string>;
128
116
  };
@@ -100,13 +100,7 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
100
100
  mergedComponents: {
101
101
  Control: React.FC<import("../types").ControlProps<OptionType, boolean>>;
102
102
  DropdownIndicator: () => import("@emotion/react").jsx.JSX.Element;
103
- Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element; /**
104
- The props passed down to React Popper.
105
-
106
- Use these to override the default positioning strategy, behaviour and placement used by this library.
107
- For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
108
-
109
- */
103
+ Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element;
110
104
  };
111
105
  mergedPopperProps: PopperPropsNoChildren<string>;
112
106
  focusLockEnabled?: undefined;
@@ -116,13 +110,7 @@ export default class PopupSelect<Option = OptionType, IsMulti extends boolean =
116
110
  mergedComponents: {
117
111
  Control: React.FC<import("../types").ControlProps<OptionType, boolean>>;
118
112
  DropdownIndicator: () => import("@emotion/react").jsx.JSX.Element;
119
- Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element; /**
120
- The props passed down to React Popper.
121
-
122
- Use these to override the default positioning strategy, behaviour and placement used by this library.
123
- For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
124
-
125
- */
113
+ Menu: ({ children, innerProps, ...props }: import("../types").MenuProps<OptionType, boolean>) => import("@emotion/react").jsx.JSX.Element;
126
114
  };
127
115
  mergedPopperProps: PopperPropsNoChildren<string>;
128
116
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/select",
3
- "version": "16.5.7",
3
+ "version": "16.5.9",
4
4
  "description": "Select allows users to make a single selection or multiple selections from a list of options.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/platform-feature-flags": "^0.2.0",
44
44
  "@atlaskit/spinner": "^15.5.0",
45
45
  "@atlaskit/theme": "^12.5.0",
46
- "@atlaskit/tokens": "^1.11.0",
46
+ "@atlaskit/tokens": "^1.14.0",
47
47
  "@atlaskit/visually-hidden": "^1.2.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1",
@@ -87,7 +87,8 @@
87
87
  ],
88
88
  "deprecation": "no-deprecated-imports",
89
89
  "styling": [
90
- "emotion"
90
+ "emotion",
91
+ "static"
91
92
  ]
92
93
  }
93
94
  },
package/report.api.md CHANGED
@@ -1099,13 +1099,7 @@ export class PopupSelect<
1099
1099
  children,
1100
1100
  innerProps,
1101
1101
  ...props
1102
- }: MenuProps<OptionType, boolean>) => jsx /**
1103
- The props passed down to React Popper.
1104
-
1105
- Use these to override the default positioning strategy, behaviour and placement used by this library.
1106
- For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
1107
-
1108
- */;
1102
+ }: MenuProps<OptionType, boolean>) => jsx;
1109
1103
  };
1110
1104
  mergedPopperProps: PopperPropsNoChildren<string>;
1111
1105
  }
@@ -1118,13 +1112,7 @@ export class PopupSelect<
1118
1112
  children,
1119
1113
  innerProps,
1120
1114
  ...props
1121
- }: MenuProps<OptionType, boolean>) => jsx /**
1122
- The props passed down to React Popper.
1123
-
1124
- Use these to override the default positioning strategy, behaviour and placement used by this library.
1125
- For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
1126
-
1127
- */;
1115
+ }: MenuProps<OptionType, boolean>) => jsx;
1128
1116
  };
1129
1117
  mergedPopperProps: PopperPropsNoChildren<string>;
1130
1118
  focusLockEnabled?: undefined;
@@ -533,13 +533,7 @@ export class PopupSelect<Option = OptionType, IsMulti extends boolean = false, M
533
533
  mergedComponents: {
534
534
  Control: React_2.FC<ControlProps<OptionType, boolean>>;
535
535
  DropdownIndicator: () => jsx;
536
- Menu: ({ children, innerProps, ...props }: MenuProps<OptionType, boolean>) => jsx; /**
537
- The props passed down to React Popper.
538
-
539
- Use these to override the default positioning strategy, behaviour and placement used by this library.
540
- For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
541
-
542
- */
536
+ Menu: ({ children, innerProps, ...props }: MenuProps<OptionType, boolean>) => jsx;
543
537
  };
544
538
  mergedPopperProps: PopperPropsNoChildren<string>;
545
539
  } | {
@@ -547,13 +541,7 @@ export class PopupSelect<Option = OptionType, IsMulti extends boolean = false, M
547
541
  mergedComponents: {
548
542
  Control: React_2.FC<ControlProps<OptionType, boolean>>;
549
543
  DropdownIndicator: () => jsx;
550
- Menu: ({ children, innerProps, ...props }: MenuProps<OptionType, boolean>) => jsx; /**
551
- The props passed down to React Popper.
552
-
553
- Use these to override the default positioning strategy, behaviour and placement used by this library.
554
- For more information, see the Popper Props section below, or [React Popper documentation](https://popper.js.org/react-popper/v2/render-props).
555
-
556
- */
544
+ Menu: ({ children, innerProps, ...props }: MenuProps<OptionType, boolean>) => jsx;
557
545
  };
558
546
  mergedPopperProps: PopperPropsNoChildren<string>;
559
547
  focusLockEnabled?: undefined;