@atlaskit/select 20.4.1 → 20.6.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 +25 -0
- package/dist/cjs/PopupSelect/PopupSelect.js +1 -4
- package/dist/cjs/Select.js +1 -1
- package/dist/es2019/PopupSelect/PopupSelect.js +1 -4
- package/dist/es2019/Select.js +1 -1
- package/dist/esm/PopupSelect/PopupSelect.js +1 -4
- package/dist/esm/Select.js +1 -1
- package/package.json +6 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/select
|
|
2
2
|
|
|
3
|
+
## 20.6.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#149822](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149822)
|
|
8
|
+
[`f9ab0e846ae21`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f9ab0e846ae21) -
|
|
9
|
+
Updated to support `size` prop for new icons from `@atlaskit/icon`.
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 20.5.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [#155681](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155681)
|
|
20
|
+
[`679a437d9a866`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/679a437d9a866) -
|
|
21
|
+
The feature flag for registering `Select` and `PopupSelect` with the experimental open layer
|
|
22
|
+
observer has now been cleaned up.
|
|
23
|
+
|
|
24
|
+
### Patch Changes
|
|
25
|
+
|
|
26
|
+
- Updated dependencies
|
|
27
|
+
|
|
3
28
|
## 20.4.1
|
|
4
29
|
|
|
5
30
|
### Patch Changes
|
|
@@ -457,9 +457,6 @@ var PopupSelect = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
457
457
|
return mergedPopperProps.strategy === 'fixed' ? popper : /*#__PURE__*/(0, _reactDom.createPortal)(popper, portalDestination);
|
|
458
458
|
});
|
|
459
459
|
(0, _defineProperty2.default)(_this, "handleOpenLayerObserverCloseSignal", function () {
|
|
460
|
-
if (!(0, _platformFeatureFlags.fg)('platform_dst_layer_observer_select')) {
|
|
461
|
-
return;
|
|
462
|
-
}
|
|
463
460
|
_this.close();
|
|
464
461
|
});
|
|
465
462
|
return _this;
|
|
@@ -531,7 +528,7 @@ var PopupSelect = exports.default = /*#__PURE__*/function (_PureComponent) {
|
|
|
531
528
|
});
|
|
532
529
|
}), _this3.renderSelect(id));
|
|
533
530
|
}), /*#__PURE__*/_react.default.createElement(_notifyOpenLayerObserver.NotifyOpenLayerObserver, {
|
|
534
|
-
isOpen:
|
|
531
|
+
isOpen: this.state.isOpen,
|
|
535
532
|
onClose: this.handleOpenLayerObserverCloseSignal
|
|
536
533
|
}));
|
|
537
534
|
}
|
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 = "20.
|
|
14
|
+
var packageVersion = "20.6.0";
|
|
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)({
|
|
@@ -440,9 +440,6 @@ export default class PopupSelect extends PureComponent {
|
|
|
440
440
|
return mergedPopperProps.strategy === 'fixed' ? popper : /*#__PURE__*/createPortal(popper, portalDestination);
|
|
441
441
|
});
|
|
442
442
|
_defineProperty(this, "handleOpenLayerObserverCloseSignal", () => {
|
|
443
|
-
if (!fg('platform_dst_layer_observer_select')) {
|
|
444
|
-
return;
|
|
445
|
-
}
|
|
446
443
|
this.close();
|
|
447
444
|
});
|
|
448
445
|
}
|
|
@@ -532,7 +529,7 @@ export default class PopupSelect extends PureComponent {
|
|
|
532
529
|
'aria-expanded': isOpen,
|
|
533
530
|
'aria-controls': isOpen ? id : undefined
|
|
534
531
|
})), this.renderSelect(id))), /*#__PURE__*/React.createElement(NotifyOpenLayerObserver, {
|
|
535
|
-
isOpen:
|
|
532
|
+
isOpen: this.state.isOpen,
|
|
536
533
|
onClose: this.handleOpenLayerObserverCloseSignal
|
|
537
534
|
}));
|
|
538
535
|
}
|
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 = "20.
|
|
6
|
+
const packageVersion = "20.6.0";
|
|
7
7
|
export const SelectWithoutAnalytics = createSelect(AsyncSelect);
|
|
8
8
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
const Select = withAnalyticsContext({
|
|
@@ -449,9 +449,6 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
|
|
|
449
449
|
return mergedPopperProps.strategy === 'fixed' ? popper : /*#__PURE__*/createPortal(popper, portalDestination);
|
|
450
450
|
});
|
|
451
451
|
_defineProperty(_this, "handleOpenLayerObserverCloseSignal", function () {
|
|
452
|
-
if (!fg('platform_dst_layer_observer_select')) {
|
|
453
|
-
return;
|
|
454
|
-
}
|
|
455
452
|
_this.close();
|
|
456
453
|
});
|
|
457
454
|
return _this;
|
|
@@ -523,7 +520,7 @@ var PopupSelect = /*#__PURE__*/function (_PureComponent) {
|
|
|
523
520
|
});
|
|
524
521
|
}), _this3.renderSelect(id));
|
|
525
522
|
}), /*#__PURE__*/React.createElement(NotifyOpenLayerObserver, {
|
|
526
|
-
isOpen:
|
|
523
|
+
isOpen: this.state.isOpen,
|
|
527
524
|
onClose: this.handleOpenLayerObserverCloseSignal
|
|
528
525
|
}));
|
|
529
526
|
}
|
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 = "20.
|
|
6
|
+
var packageVersion = "20.6.0";
|
|
7
7
|
export var SelectWithoutAnalytics = createSelect(AsyncSelect);
|
|
8
8
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
9
9
|
var Select = withAnalyticsContext({
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/select",
|
|
3
|
-
"version": "20.
|
|
3
|
+
"version": "20.6.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,13 +43,13 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
45
45
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
46
|
-
"@atlaskit/icon": "^26.
|
|
46
|
+
"@atlaskit/icon": "^26.1.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/primitives": "^14.7.0",
|
|
49
|
-
"@atlaskit/react-select": "^2.
|
|
49
|
+
"@atlaskit/react-select": "^2.5.0",
|
|
50
50
|
"@atlaskit/spinner": "^18.0.0",
|
|
51
51
|
"@atlaskit/theme": "^18.0.0",
|
|
52
|
-
"@atlaskit/tokens": "^4.
|
|
52
|
+
"@atlaskit/tokens": "^4.9.0",
|
|
53
53
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
54
54
|
"@babel/runtime": "^7.0.0",
|
|
55
55
|
"@compiled/react": "^0.18.3",
|
|
@@ -67,14 +67,14 @@
|
|
|
67
67
|
"@af/accessibility-testing": "workspace:^",
|
|
68
68
|
"@af/integration-testing": "workspace:^",
|
|
69
69
|
"@af/visual-regression": "workspace:^",
|
|
70
|
-
"@atlaskit/button": "^23.
|
|
70
|
+
"@atlaskit/button": "^23.1.0",
|
|
71
71
|
"@atlaskit/checkbox": "^17.1.0",
|
|
72
72
|
"@atlaskit/docs": "^10.0.0",
|
|
73
73
|
"@atlaskit/drawer": "^10.1.0",
|
|
74
74
|
"@atlaskit/form": "^12.0.0",
|
|
75
75
|
"@atlaskit/link": "^3.1.0",
|
|
76
76
|
"@atlaskit/logo": "^18.0.0",
|
|
77
|
-
"@atlaskit/modal-dialog": "^14.
|
|
77
|
+
"@atlaskit/modal-dialog": "^14.2.0",
|
|
78
78
|
"@atlaskit/radio": "^8.1.0",
|
|
79
79
|
"@atlaskit/section-message": "^8.2.0",
|
|
80
80
|
"@atlassian/ssr-tests": "^0.2.0",
|
|
@@ -117,9 +117,6 @@
|
|
|
117
117
|
},
|
|
118
118
|
"platform_design_system_team_safari_input_fix": {
|
|
119
119
|
"type": "boolean"
|
|
120
|
-
},
|
|
121
|
-
"platform_dst_layer_observer_select": {
|
|
122
|
-
"type": "boolean"
|
|
123
120
|
}
|
|
124
121
|
},
|
|
125
122
|
"homepage": "https://atlassian.design/components/select/"
|