@atlaskit/select 15.2.7 → 15.2.8
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 +7 -0
- package/dist/cjs/PopupSelect/components.js +3 -12
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/PopupSelect/components.js +2 -12
- package/dist/es2019/Select.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/PopupSelect/components.js +2 -12
- package/dist/esm/Select.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +3 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 15.2.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`b2c25c19e38`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b2c25c19e38) - PopupSelect now uses `@atlaskit/visually-hidden` under the hood.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 15.2.7
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -15,6 +15,8 @@ var _reactSelect = require("react-select");
|
|
|
15
15
|
|
|
16
16
|
var _core = require("@emotion/core");
|
|
17
17
|
|
|
18
|
+
var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden"));
|
|
19
|
+
|
|
18
20
|
var _search = _interopRequireDefault(require("@atlaskit/icon/glyph/editor/search"));
|
|
19
21
|
|
|
20
22
|
var _constants = require("@atlaskit/theme/constants");
|
|
@@ -76,18 +78,7 @@ var Control = function Control(_ref2) {
|
|
|
76
78
|
};
|
|
77
79
|
|
|
78
80
|
var DummyControl = function DummyControl(props) {
|
|
79
|
-
return (0, _core.jsx)(
|
|
80
|
-
css: {
|
|
81
|
-
border: 0,
|
|
82
|
-
clip: 'rect(1px, 1px, 1px, 1px)',
|
|
83
|
-
height: 1,
|
|
84
|
-
overflow: 'hidden',
|
|
85
|
-
padding: 0,
|
|
86
|
-
position: 'absolute',
|
|
87
|
-
whiteSpace: 'nowrap',
|
|
88
|
-
width: 1
|
|
89
|
-
}
|
|
90
|
-
}, (0, _core.jsx)(_reactSelect.components.Control, props));
|
|
81
|
+
return (0, _core.jsx)(_visuallyHidden.default, null, (0, _core.jsx)(_reactSelect.components.Control, props));
|
|
91
82
|
}; // NOTE `props` intentionally omitted from `Fragment`
|
|
92
83
|
// eslint-disable-next-line
|
|
93
84
|
|
package/dist/cjs/Select.js
CHANGED
|
@@ -14,7 +14,7 @@ var _analyticsNext = require("@atlaskit/analytics-next");
|
|
|
14
14
|
var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
15
15
|
|
|
16
16
|
var packageName = "@atlaskit/select";
|
|
17
|
-
var packageVersion = "15.2.
|
|
17
|
+
var packageVersion = "15.2.8";
|
|
18
18
|
var SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
|
|
19
19
|
exports.SelectWithoutAnalytics = SelectWithoutAnalytics;
|
|
20
20
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
package/dist/cjs/version.json
CHANGED
|
@@ -3,6 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { components } from 'react-select';
|
|
5
5
|
import { jsx } from '@emotion/core';
|
|
6
|
+
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
6
7
|
import SearchIcon from '@atlaskit/icon/glyph/editor/search';
|
|
7
8
|
import { layers } from '@atlaskit/theme/constants';
|
|
8
9
|
import { N40A } from '@atlaskit/theme/colors';
|
|
@@ -50,18 +51,7 @@ const Control = ({
|
|
|
50
51
|
innerProps: innerProps
|
|
51
52
|
})));
|
|
52
53
|
|
|
53
|
-
export const DummyControl = props => jsx(
|
|
54
|
-
css: {
|
|
55
|
-
border: 0,
|
|
56
|
-
clip: 'rect(1px, 1px, 1px, 1px)',
|
|
57
|
-
height: 1,
|
|
58
|
-
overflow: 'hidden',
|
|
59
|
-
padding: 0,
|
|
60
|
-
position: 'absolute',
|
|
61
|
-
whiteSpace: 'nowrap',
|
|
62
|
-
width: 1
|
|
63
|
-
}
|
|
64
|
-
}, jsx(components.Control, props)); // NOTE `props` intentionally omitted from `Fragment`
|
|
54
|
+
export const DummyControl = props => jsx(VisuallyHidden, null, jsx(components.Control, props)); // NOTE `props` intentionally omitted from `Fragment`
|
|
65
55
|
// eslint-disable-next-line
|
|
66
56
|
|
|
67
57
|
const Menu = ({
|
package/dist/es2019/Select.js
CHANGED
|
@@ -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 = "15.2.
|
|
5
|
+
const packageVersion = "15.2.8";
|
|
6
6
|
export const SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
package/dist/es2019/version.json
CHANGED
|
@@ -6,6 +6,7 @@ var _excluded = ["innerRef", "innerProps"],
|
|
|
6
6
|
/** @jsx jsx */
|
|
7
7
|
import { components } from 'react-select';
|
|
8
8
|
import { jsx } from '@emotion/core';
|
|
9
|
+
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
9
10
|
import SearchIcon from '@atlaskit/icon/glyph/editor/search';
|
|
10
11
|
import { layers } from '@atlaskit/theme/constants';
|
|
11
12
|
import { N40A } from '@atlaskit/theme/colors';
|
|
@@ -59,18 +60,7 @@ var Control = function Control(_ref2) {
|
|
|
59
60
|
};
|
|
60
61
|
|
|
61
62
|
export var DummyControl = function DummyControl(props) {
|
|
62
|
-
return jsx(
|
|
63
|
-
css: {
|
|
64
|
-
border: 0,
|
|
65
|
-
clip: 'rect(1px, 1px, 1px, 1px)',
|
|
66
|
-
height: 1,
|
|
67
|
-
overflow: 'hidden',
|
|
68
|
-
padding: 0,
|
|
69
|
-
position: 'absolute',
|
|
70
|
-
whiteSpace: 'nowrap',
|
|
71
|
-
width: 1
|
|
72
|
-
}
|
|
73
|
-
}, jsx(components.Control, props));
|
|
63
|
+
return jsx(VisuallyHidden, null, jsx(components.Control, props));
|
|
74
64
|
}; // NOTE `props` intentionally omitted from `Fragment`
|
|
75
65
|
// eslint-disable-next-line
|
|
76
66
|
|
package/dist/esm/Select.js
CHANGED
|
@@ -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 = "15.2.
|
|
5
|
+
var packageVersion = "15.2.8";
|
|
6
6
|
export var SelectWithoutAnalytics = createSelect(Select);
|
|
7
7
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
8
8
|
export default withAnalyticsContext({
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "15.2.
|
|
3
|
+
"version": "15.2.8",
|
|
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/"
|
|
@@ -28,6 +28,7 @@
|
|
|
28
28
|
"@atlaskit/spinner": "^15.0.0",
|
|
29
29
|
"@atlaskit/theme": "^12.1.0",
|
|
30
30
|
"@atlaskit/tokens": "^0.6.0",
|
|
31
|
+
"@atlaskit/visually-hidden": "^1.0.0",
|
|
31
32
|
"@babel/runtime": "^7.0.0",
|
|
32
33
|
"@emotion/core": "^10.0.9",
|
|
33
34
|
"@popperjs/core": "^2.9.1",
|
|
@@ -50,7 +51,7 @@
|
|
|
50
51
|
"@atlaskit/checkbox": "^12.2.0",
|
|
51
52
|
"@atlaskit/docs": "*",
|
|
52
53
|
"@atlaskit/drawer": "^7.1.0",
|
|
53
|
-
"@atlaskit/form": "^8.
|
|
54
|
+
"@atlaskit/form": "^8.5.0",
|
|
54
55
|
"@atlaskit/logo": "^13.5.0",
|
|
55
56
|
"@atlaskit/modal-dialog": "^12.2.0",
|
|
56
57
|
"@atlaskit/section-message": "^6.0.0",
|