@atlaskit/react-select 3.15.0 → 3.15.2
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 +3 -2
- package/dist/es2019/select.js +2 -1
- package/dist/esm/select.js +2 -1
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/cjs/select.js
CHANGED
|
@@ -21,6 +21,7 @@ var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/de
|
|
|
21
21
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
22
22
|
var _react = _interopRequireWildcard(require("react"));
|
|
23
23
|
var _deviceCheck = require("@atlaskit/ds-lib/device-check");
|
|
24
|
+
var _isSafari = require("@atlaskit/ds-lib/is-safari");
|
|
24
25
|
var _noop = _interopRequireDefault(require("@atlaskit/ds-lib/noop"));
|
|
25
26
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
26
27
|
var _builtins = require("./builtins");
|
|
@@ -1071,7 +1072,7 @@ var Select = exports.default = /*#__PURE__*/function (_Component) {
|
|
|
1071
1072
|
}, function () {
|
|
1072
1073
|
return _this2.onMenuOpen();
|
|
1073
1074
|
});
|
|
1074
|
-
(0,
|
|
1075
|
+
(0, _isSafari.isSafari)() && focusedOption && this.updateInputLabel(this.calculateInputLabel(focusedOption, openAtIndex));
|
|
1075
1076
|
}
|
|
1076
1077
|
}, {
|
|
1077
1078
|
key: "updateInputLabel",
|
|
@@ -1835,7 +1836,7 @@ var Select = exports.default = /*#__PURE__*/function (_Component) {
|
|
|
1835
1836
|
id: _this6.getElementId('listbox')
|
|
1836
1837
|
}, testId && {
|
|
1837
1838
|
'data-testid': "".concat(testId, "-select--listbox")
|
|
1838
|
-
}), (0,
|
|
1839
|
+
}), (0, _isSafari.isSafari)() && !_this6.props['UNSAFE_is_experimental_generic'] && {
|
|
1839
1840
|
'aria-describedby': ((_this6$inputRef2 = _this6.inputRef) === null || _this6$inputRef2 === void 0 ? void 0 : _this6$inputRef2.id) || _this6.getElementId('input')
|
|
1840
1841
|
}),
|
|
1841
1842
|
isLoading: isLoading,
|
package/dist/es2019/select.js
CHANGED
|
@@ -4,7 +4,8 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
4
4
|
import "./select.compiled.css";
|
|
5
5
|
import { ax, ix } from "@compiled/react/runtime";
|
|
6
6
|
import React, { Component } from 'react';
|
|
7
|
-
import { isAppleDevice
|
|
7
|
+
import { isAppleDevice } from '@atlaskit/ds-lib/device-check';
|
|
8
|
+
import { isSafari } from '@atlaskit/ds-lib/is-safari';
|
|
8
9
|
import __noop from '@atlaskit/ds-lib/noop';
|
|
9
10
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
10
11
|
import { formatGroupLabel as formatGroupLabelBuiltin, getOptionLabel as getOptionLabelBuiltin, getOptionValue as getOptionValueBuiltin, isOptionDisabled as isOptionDisabledBuiltin } from './builtins';
|
package/dist/esm/select.js
CHANGED
|
@@ -16,7 +16,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
17
17
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
18
18
|
import React, { Component } from 'react';
|
|
19
|
-
import { isAppleDevice
|
|
19
|
+
import { isAppleDevice } from '@atlaskit/ds-lib/device-check';
|
|
20
|
+
import { isSafari } from '@atlaskit/ds-lib/is-safari';
|
|
20
21
|
import __noop from '@atlaskit/ds-lib/noop';
|
|
21
22
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
23
|
import { formatGroupLabel as formatGroupLabelBuiltin, getOptionLabel as getOptionLabelBuiltin, getOptionValue as getOptionValueBuiltin, isOptionDisabled as isOptionDisabledBuiltin } from './builtins';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-select",
|
|
3
|
-
"version": "3.15.
|
|
3
|
+
"version": "3.15.2",
|
|
4
4
|
"description": "A forked version of react-select to only be used in atlaskit/select",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -20,14 +20,14 @@
|
|
|
20
20
|
],
|
|
21
21
|
"atlaskit:src": "src/index.tsx",
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@atlaskit/ds-lib": "^
|
|
23
|
+
"@atlaskit/ds-lib": "^7.0.0",
|
|
24
24
|
"@atlaskit/icon": "^34.0.0",
|
|
25
25
|
"@atlaskit/layering": "^3.6.0",
|
|
26
26
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
27
|
-
"@atlaskit/primitives": "^
|
|
27
|
+
"@atlaskit/primitives": "^19.0.0",
|
|
28
28
|
"@atlaskit/spinner": "^19.1.0",
|
|
29
|
-
"@atlaskit/tag": "^14.
|
|
30
|
-
"@atlaskit/tokens": "^
|
|
29
|
+
"@atlaskit/tag": "^14.8.0",
|
|
30
|
+
"@atlaskit/tokens": "^13.0.0",
|
|
31
31
|
"@babel/runtime": "^7.0.0",
|
|
32
32
|
"@compiled/react": "^0.20.0",
|
|
33
33
|
"@floating-ui/dom": "^1.0.1",
|