@atlaskit/react-select 2.4.10 → 2.5.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 +13 -0
- package/dist/cjs/select.js +1 -4
- package/dist/es2019/select.js +1 -4
- package/dist/esm/select.js +1 -4
- package/package.json +1 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/react-select
|
|
2
2
|
|
|
3
|
+
## 2.5.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#155681](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/155681)
|
|
8
|
+
[`679a437d9a866`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/679a437d9a866) -
|
|
9
|
+
The feature flag for registering `Select` and `PopupSelect` with the experimental open layer
|
|
10
|
+
observer has now been cleaned up.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 2.4.10
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
package/dist/cjs/select.js
CHANGED
|
@@ -833,9 +833,6 @@ var Select = exports.default = /*#__PURE__*/function (_Component) {
|
|
|
833
833
|
event.preventDefault();
|
|
834
834
|
});
|
|
835
835
|
(0, _defineProperty2.default)(_this, "handleOpenLayerObserverCloseSignal", function () {
|
|
836
|
-
if (!(0, _platformFeatureFlags.fg)('platform_dst_layer_observer_select')) {
|
|
837
|
-
return;
|
|
838
|
-
}
|
|
839
836
|
_this.onMenuClose();
|
|
840
837
|
});
|
|
841
838
|
_this.state.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);
|
|
@@ -1852,7 +1849,7 @@ var Select = exports.default = /*#__PURE__*/function (_Component) {
|
|
|
1852
1849
|
'data-testid': "".concat(testId, "-select--indicators-container")
|
|
1853
1850
|
})
|
|
1854
1851
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField(), /*#__PURE__*/_react.default.createElement(_notifyOpenLayerObserver.NotifyOpenLayerObserver, {
|
|
1855
|
-
isOpen:
|
|
1852
|
+
isOpen: this.props.menuIsOpen,
|
|
1856
1853
|
onClose: this.handleOpenLayerObserverCloseSignal
|
|
1857
1854
|
}));
|
|
1858
1855
|
}
|
package/dist/es2019/select.js
CHANGED
|
@@ -809,9 +809,6 @@ export default class Select extends Component {
|
|
|
809
809
|
event.preventDefault();
|
|
810
810
|
});
|
|
811
811
|
_defineProperty(this, "handleOpenLayerObserverCloseSignal", () => {
|
|
812
|
-
if (!fg('platform_dst_layer_observer_select')) {
|
|
813
|
-
return;
|
|
814
|
-
}
|
|
815
812
|
this.onMenuClose();
|
|
816
813
|
});
|
|
817
814
|
this.state.instancePrefix = 'react-select-' + (this.props.instanceId || ++instanceId);
|
|
@@ -1889,7 +1886,7 @@ export default class Select extends Component {
|
|
|
1889
1886
|
})
|
|
1890
1887
|
}
|
|
1891
1888
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField(), /*#__PURE__*/React.createElement(NotifyOpenLayerObserver, {
|
|
1892
|
-
isOpen:
|
|
1889
|
+
isOpen: this.props.menuIsOpen,
|
|
1893
1890
|
onClose: this.handleOpenLayerObserverCloseSignal
|
|
1894
1891
|
}));
|
|
1895
1892
|
}
|
package/dist/esm/select.js
CHANGED
|
@@ -824,9 +824,6 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
824
824
|
event.preventDefault();
|
|
825
825
|
});
|
|
826
826
|
_defineProperty(_this, "handleOpenLayerObserverCloseSignal", function () {
|
|
827
|
-
if (!fg('platform_dst_layer_observer_select')) {
|
|
828
|
-
return;
|
|
829
|
-
}
|
|
830
827
|
_this.onMenuClose();
|
|
831
828
|
});
|
|
832
829
|
_this.state.instancePrefix = 'react-select-' + (_this.props.instanceId || ++instanceId);
|
|
@@ -1843,7 +1840,7 @@ var Select = /*#__PURE__*/function (_Component) {
|
|
|
1843
1840
|
'data-testid': "".concat(testId, "-select--indicators-container")
|
|
1844
1841
|
})
|
|
1845
1842
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField(), /*#__PURE__*/React.createElement(NotifyOpenLayerObserver, {
|
|
1846
|
-
isOpen:
|
|
1843
|
+
isOpen: this.props.menuIsOpen,
|
|
1847
1844
|
onClose: this.handleOpenLayerObserverCloseSignal
|
|
1848
1845
|
}));
|
|
1849
1846
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-select",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.0",
|
|
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",
|
|
@@ -72,9 +72,6 @@
|
|
|
72
72
|
"design-system-select-fix-placement": {
|
|
73
73
|
"type": "boolean"
|
|
74
74
|
},
|
|
75
|
-
"platform_dst_layer_observer_select": {
|
|
76
|
-
"type": "boolean"
|
|
77
|
-
},
|
|
78
75
|
"compiled-react-select": {
|
|
79
76
|
"type": "boolean"
|
|
80
77
|
}
|