@atlaskit/select 21.3.3 → 21.3.4
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 +6 -0
- package/dist/cjs/PopupSelect/PopupSelect.js +1 -1
- package/dist/cjs/Select.js +1 -1
- package/dist/cjs/components/input-options.js +2 -6
- package/dist/cjs/createSelect.js +1 -3
- package/dist/es2019/PopupSelect/PopupSelect.js +0 -1
- package/dist/es2019/Select.js +1 -1
- package/dist/es2019/components/input-options.js +2 -6
- package/dist/es2019/createSelect.js +0 -1
- package/dist/esm/PopupSelect/PopupSelect.js +0 -1
- package/dist/esm/Select.js +1 -1
- package/dist/esm/components/input-options.js +2 -6
- package/dist/esm/createSelect.js +0 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -32,7 +32,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
32
32
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
33
33
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
34
34
|
function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0, _possibleConstructorReturn2.default)(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], (0, _getPrototypeOf2.default)(t).constructor) : o.apply(t, e)); }
|
|
35
|
-
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
35
|
+
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
36
36
|
/**
|
|
37
37
|
* Are we rendering on the client or server?
|
|
38
38
|
*/
|
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 = "
|
|
14
|
+
var packageVersion = "21.3.3";
|
|
15
15
|
var SelectWithoutAnalytics = exports.SelectWithoutAnalytics = (0, _createSelect.default)(_async.default);
|
|
16
16
|
var createAndFireEventOnAtlaskit = (0, _analyticsNext.createAndFireEvent)('atlaskit');
|
|
17
17
|
var Select = (0, _analyticsNext.withAnalyticsContext)({
|
|
@@ -168,9 +168,7 @@ var NewRadioIcon = function NewRadioIcon(props) {
|
|
|
168
168
|
*/
|
|
169
169
|
var CheckboxOption = exports.CheckboxOption = function CheckboxOption(props) {
|
|
170
170
|
return /*#__PURE__*/React.createElement(ControlOption, (0, _extends2.default)({
|
|
171
|
-
Icon:
|
|
172
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
173
|
-
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
171
|
+
Icon: (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
174
172
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
175
173
|
_checkbox.default
|
|
176
174
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -185,9 +183,7 @@ var RadioOption = exports.RadioOption = function RadioOption(props) {
|
|
|
185
183
|
/*#__PURE__*/
|
|
186
184
|
// TODO https://product-fabric.atlassian.net/browse/DSP-20769
|
|
187
185
|
React.createElement(ControlOption, (0, _extends2.default)({
|
|
188
|
-
Icon:
|
|
189
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
190
|
-
(0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
186
|
+
Icon: (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
191
187
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
192
188
|
_radio.default
|
|
193
189
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
package/dist/cjs/createSelect.js
CHANGED
|
@@ -9,9 +9,7 @@ exports.default = createSelect;
|
|
|
9
9
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
10
10
|
var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
|
|
11
11
|
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
-
var _excluded = ["ariaLiveMessages", "isInvalid", "onClickPreventDefault", "tabSelectsValue", "validationState"];
|
|
13
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
14
|
-
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
12
|
+
var _excluded = ["ariaLiveMessages", "isInvalid", "onClickPreventDefault", "tabSelectsValue", "validationState"]; // eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
15
13
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
16
14
|
function createSelect(WrappedComponent) {
|
|
17
15
|
var AtlaskitSelect = /*#__PURE__*/(0, _react.forwardRef)(function AtlaskitSelect(props, forwardedRef) {
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
4
3
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
5
4
|
import React, { PureComponent } from 'react';
|
|
6
5
|
import { bind } from 'bind-event-listener';
|
package/dist/es2019/Select.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
3
3
|
import AsyncSelect from '@atlaskit/react-select/async';
|
|
4
4
|
import createSelect from './createSelect';
|
|
5
5
|
const packageName = "@atlaskit/select";
|
|
6
|
-
const packageVersion = "
|
|
6
|
+
const packageVersion = "21.3.3";
|
|
7
7
|
export const SelectWithoutAnalytics = createSelect(AsyncSelect);
|
|
8
8
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
const Select = withAnalyticsContext({
|
|
@@ -146,9 +146,7 @@ React.createElement(PrimitiveSVGIcon, props, /*#__PURE__*/React.createElement("g
|
|
|
146
146
|
* __Checkbox option__
|
|
147
147
|
*/
|
|
148
148
|
export const CheckboxOption = props => /*#__PURE__*/React.createElement(ControlOption, _extends({
|
|
149
|
-
Icon:
|
|
150
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
151
|
-
fg('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
149
|
+
Icon: fg('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
152
150
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
153
151
|
CheckboxIcon
|
|
154
152
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -161,9 +159,7 @@ export const RadioOption = props =>
|
|
|
161
159
|
/*#__PURE__*/
|
|
162
160
|
// TODO https://product-fabric.atlassian.net/browse/DSP-20769
|
|
163
161
|
React.createElement(ControlOption, _extends({
|
|
164
|
-
Icon:
|
|
165
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
166
|
-
fg('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
162
|
+
Icon: fg('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
167
163
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
168
164
|
RadioIcon
|
|
169
165
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
3
2
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
4
3
|
import React, { forwardRef, useImperativeHandle, useRef } from 'react';
|
|
5
4
|
export default function createSelect(WrappedComponent) {
|
|
@@ -11,7 +11,6 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
11
11
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
12
12
|
function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
|
|
13
13
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
|
|
14
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
15
14
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
16
15
|
import React, { PureComponent } from 'react';
|
|
17
16
|
import { bind } from 'bind-event-listener';
|
package/dist/esm/Select.js
CHANGED
|
@@ -3,7 +3,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
3
3
|
import AsyncSelect from '@atlaskit/react-select/async';
|
|
4
4
|
import createSelect from './createSelect';
|
|
5
5
|
var packageName = "@atlaskit/select";
|
|
6
|
-
var packageVersion = "
|
|
6
|
+
var packageVersion = "21.3.3";
|
|
7
7
|
export var SelectWithoutAnalytics = createSelect(AsyncSelect);
|
|
8
8
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
var Select = withAnalyticsContext({
|
|
@@ -159,9 +159,7 @@ var NewRadioIcon = function NewRadioIcon(props) {
|
|
|
159
159
|
*/
|
|
160
160
|
export var CheckboxOption = function CheckboxOption(props) {
|
|
161
161
|
return /*#__PURE__*/React.createElement(ControlOption, _extends({
|
|
162
|
-
Icon:
|
|
163
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
164
|
-
fg('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
162
|
+
Icon: fg('platform-visual-refresh-icons') ? NewCheckboxIcon :
|
|
165
163
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
166
164
|
CheckboxIcon
|
|
167
165
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
|
@@ -176,9 +174,7 @@ export var RadioOption = function RadioOption(props) {
|
|
|
176
174
|
/*#__PURE__*/
|
|
177
175
|
// TODO https://product-fabric.atlassian.net/browse/DSP-20769
|
|
178
176
|
React.createElement(ControlOption, _extends({
|
|
179
|
-
Icon:
|
|
180
|
-
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
181
|
-
fg('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
177
|
+
Icon: fg('platform-visual-refresh-icons') ? NewRadioIcon :
|
|
182
178
|
// eslint-disable-next-line @atlaskit/design-system/no-legacy-icons
|
|
183
179
|
RadioIcon
|
|
184
180
|
// eslint-disable-next-line @repo/internal/react/no-unsafe-spread-props
|
package/dist/esm/createSelect.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
2
|
import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
|
|
3
3
|
var _excluded = ["ariaLiveMessages", "isInvalid", "onClickPreventDefault", "tabSelectsValue", "validationState"];
|
|
4
|
-
/* eslint-disable @atlaskit/platform/ensure-feature-flag-prefix */
|
|
5
4
|
// eslint-disable-next-line @repo/internal/fs/filename-pattern-match
|
|
6
5
|
import React, { forwardRef, useImperativeHandle, useRef } from 'react';
|
|
7
6
|
export default function createSelect(WrappedComponent) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "21.3.
|
|
3
|
+
"version": "21.3.4",
|
|
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/"
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
36
36
|
"@atlaskit/ds-lib": "^5.1.0",
|
|
37
|
-
"@atlaskit/icon": "^28.
|
|
37
|
+
"@atlaskit/icon": "^28.5.0",
|
|
38
38
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
39
|
-
"@atlaskit/primitives": "^
|
|
40
|
-
"@atlaskit/react-select": "^3.
|
|
39
|
+
"@atlaskit/primitives": "^15.0.0",
|
|
40
|
+
"@atlaskit/react-select": "^3.8.0",
|
|
41
41
|
"@atlaskit/spinner": "^19.0.0",
|
|
42
42
|
"@atlaskit/theme": "^21.0.0",
|
|
43
|
-
"@atlaskit/tokens": "^6.
|
|
43
|
+
"@atlaskit/tokens": "^6.5.0",
|
|
44
44
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
45
45
|
"@babel/runtime": "^7.0.0",
|
|
46
46
|
"@compiled/react": "^0.18.3",
|
|
@@ -58,14 +58,14 @@
|
|
|
58
58
|
"@af/accessibility-testing": "workspace:^",
|
|
59
59
|
"@af/integration-testing": "workspace:^",
|
|
60
60
|
"@af/visual-regression": "workspace:^",
|
|
61
|
-
"@atlaskit/button": "^23.
|
|
61
|
+
"@atlaskit/button": "^23.5.0",
|
|
62
62
|
"@atlaskit/checkbox": "^17.1.0",
|
|
63
63
|
"@atlaskit/docs": "^11.1.0",
|
|
64
64
|
"@atlaskit/drawer": "^11.0.0",
|
|
65
65
|
"@atlaskit/form": "^14.2.0",
|
|
66
66
|
"@atlaskit/link": "^3.2.0",
|
|
67
|
-
"@atlaskit/logo": "^19.
|
|
68
|
-
"@atlaskit/modal-dialog": "^14.
|
|
67
|
+
"@atlaskit/logo": "^19.9.0",
|
|
68
|
+
"@atlaskit/modal-dialog": "^14.5.0",
|
|
69
69
|
"@atlaskit/radio": "^8.3.0",
|
|
70
70
|
"@atlaskit/section-message": "^8.7.0",
|
|
71
71
|
"@atlassian/ssr-tests": "^0.3.0",
|