@atlaskit/select 18.3.0 → 18.4.0
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 +12 -0
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/components/no-options.js +2 -5
- package/dist/es2019/Select.js +1 -1
- package/dist/es2019/components/no-options.js +2 -5
- package/dist/esm/Select.js +1 -1
- package/dist/esm/components/no-options.js +2 -5
- package/package.json +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 18.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#157818](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/157818)
|
|
8
|
+
[`87c14ad1a3efa`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/87c14ad1a3efa) -
|
|
9
|
+
Use semantic tags and arias for combobox and listbox and reduce aria-live
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 18.3.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/dist/cjs/Select.js
CHANGED
|
@@ -11,7 +11,7 @@ var _createSelect = _interopRequireDefault(require("./createSelect"));
|
|
|
11
11
|
/* eslint-disable @repo/internal/react/require-jsdoc */
|
|
12
12
|
|
|
13
13
|
var packageName = "@atlaskit/select";
|
|
14
|
-
var packageVersion = "18.
|
|
14
|
+
var packageVersion = "18.4.0";
|
|
15
15
|
var SelectWithoutAnalytics = exports.SelectWithoutAnalytics = (0, _createSelect.default)(_reactSelect.default);
|
|
16
16
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
17
17
|
var Select = (0, _analyticsNext.withAnalyticsContext)({
|
|
@@ -12,10 +12,7 @@ var _reactSelect = require("@atlaskit/react-select");
|
|
|
12
12
|
* __No options message__
|
|
13
13
|
*/
|
|
14
14
|
var NoOptionsMessage = exports.NoOptionsMessage = function NoOptionsMessage(props) {
|
|
15
|
-
return /*#__PURE__*/_react.default.createElement(_reactSelect.components.NoOptionsMessage, props, /*#__PURE__*/_react.default.createElement(
|
|
16
|
-
id: "no-options",
|
|
17
|
-
role: "alert"
|
|
18
|
-
}, /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
15
|
+
return /*#__PURE__*/_react.default.createElement(_reactSelect.components.NoOptionsMessage, props, /*#__PURE__*/_react.default.createElement(_primitives.Text, {
|
|
19
16
|
color: "color.text.subtle"
|
|
20
|
-
}, props.children || "No options"))
|
|
17
|
+
}, props.children || "No options"));
|
|
21
18
|
};
|
package/dist/es2019/Select.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
3
3
|
import ReactSelect from '@atlaskit/react-select';
|
|
4
4
|
import createSelect from './createSelect';
|
|
5
5
|
const packageName = "@atlaskit/select";
|
|
6
|
-
const packageVersion = "18.
|
|
6
|
+
const packageVersion = "18.4.0";
|
|
7
7
|
export const SelectWithoutAnalytics = createSelect(ReactSelect);
|
|
8
8
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
const Select = withAnalyticsContext({
|
|
@@ -5,10 +5,7 @@ import { components } from '@atlaskit/react-select';
|
|
|
5
5
|
* __No options message__
|
|
6
6
|
*/
|
|
7
7
|
export const NoOptionsMessage = props => {
|
|
8
|
-
return /*#__PURE__*/React.createElement(components.NoOptionsMessage, props, /*#__PURE__*/React.createElement(
|
|
9
|
-
id: "no-options",
|
|
10
|
-
role: "alert"
|
|
11
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
8
|
+
return /*#__PURE__*/React.createElement(components.NoOptionsMessage, props, /*#__PURE__*/React.createElement(Text, {
|
|
12
9
|
color: "color.text.subtle"
|
|
13
|
-
}, props.children || `No options`))
|
|
10
|
+
}, props.children || `No options`));
|
|
14
11
|
};
|
package/dist/esm/Select.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
3
3
|
import ReactSelect from '@atlaskit/react-select';
|
|
4
4
|
import createSelect from './createSelect';
|
|
5
5
|
var packageName = "@atlaskit/select";
|
|
6
|
-
var packageVersion = "18.
|
|
6
|
+
var packageVersion = "18.4.0";
|
|
7
7
|
export var SelectWithoutAnalytics = createSelect(ReactSelect);
|
|
8
8
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
var Select = withAnalyticsContext({
|
|
@@ -5,10 +5,7 @@ import { components } from '@atlaskit/react-select';
|
|
|
5
5
|
* __No options message__
|
|
6
6
|
*/
|
|
7
7
|
export var NoOptionsMessage = function NoOptionsMessage(props) {
|
|
8
|
-
return /*#__PURE__*/React.createElement(components.NoOptionsMessage, props, /*#__PURE__*/React.createElement(
|
|
9
|
-
id: "no-options",
|
|
10
|
-
role: "alert"
|
|
11
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
8
|
+
return /*#__PURE__*/React.createElement(components.NoOptionsMessage, props, /*#__PURE__*/React.createElement(Text, {
|
|
12
9
|
color: "color.text.subtle"
|
|
13
|
-
}, props.children || "No options"))
|
|
10
|
+
}, props.children || "No options"));
|
|
14
11
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "18.
|
|
3
|
+
"version": "18.4.0",
|
|
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/icon": "^22.24.0",
|
|
44
44
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
45
45
|
"@atlaskit/primitives": "^12.2.0",
|
|
46
|
-
"@atlaskit/react-select": "^1.
|
|
46
|
+
"@atlaskit/react-select": "^1.2.0",
|
|
47
47
|
"@atlaskit/spinner": "^16.3.0",
|
|
48
48
|
"@atlaskit/theme": "^14.0.0",
|
|
49
49
|
"@atlaskit/tokens": "^2.0.0",
|
|
@@ -110,6 +110,10 @@
|
|
|
110
110
|
},
|
|
111
111
|
"platform_dst_select-bump-react-focus-lock": {
|
|
112
112
|
"type": "boolean"
|
|
113
|
+
},
|
|
114
|
+
"design_system_select-a11y-improvement": {
|
|
115
|
+
"type": "boolean",
|
|
116
|
+
"referenceOnly": true
|
|
113
117
|
}
|
|
114
118
|
},
|
|
115
119
|
"homepage": "https://atlassian.design/components/select/"
|