@atlaskit/react-ufo 5.6.0 → 5.6.1

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/ufo-interaction-ignore
2
2
 
3
+ ## 5.6.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`aa542ab5bad47`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/aa542ab5bad47) -
8
+ Remove platform_ufo_detect_container_scroll and always observe container scrolls
9
+
3
10
  ## 5.6.0
4
11
 
5
12
  ### Minor Changes
@@ -9,7 +9,6 @@ var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/cl
9
9
  var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
10
10
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
11
11
  var _bindEventListener = require("bind-event-listener");
12
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
12
  var WindowEventObserver = exports.default = /*#__PURE__*/function () {
14
13
  function WindowEventObserver(opts) {
15
14
  (0, _classCallCheck2.default)(this, WindowEventObserver);
@@ -78,9 +77,7 @@ var WindowEventObserver = exports.default = /*#__PURE__*/function () {
78
77
  this.bindEvent('scroll');
79
78
  this.bindEvent('keydown');
80
79
  this.bindEvent('resize');
81
- if ((0, _platformFeatureFlags.fg)('platform_ufo_detect_container_scroll')) {
82
- this.bindCaptureScrollEvent();
83
- }
80
+ this.bindCaptureScrollEvent();
84
81
  }
85
82
  }, {
86
83
  key: "stop",
@@ -1,6 +1,5 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import { bind } from 'bind-event-listener';
3
- import { fg } from '@atlaskit/platform-feature-flags';
4
3
  export default class WindowEventObserver {
5
4
  constructor(opts) {
6
5
  _defineProperty(this, "unbindFns", []);
@@ -60,9 +59,7 @@ export default class WindowEventObserver {
60
59
  this.bindEvent('scroll');
61
60
  this.bindEvent('keydown');
62
61
  this.bindEvent('resize');
63
- if (fg('platform_ufo_detect_container_scroll')) {
64
- this.bindCaptureScrollEvent();
65
- }
62
+ this.bindCaptureScrollEvent();
66
63
  }
67
64
  stop() {
68
65
  this.unbindFns.forEach(cb => {
@@ -2,7 +2,6 @@ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
2
2
  import _createClass from "@babel/runtime/helpers/createClass";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import { bind } from 'bind-event-listener';
5
- import { fg } from '@atlaskit/platform-feature-flags';
6
5
  var WindowEventObserver = /*#__PURE__*/function () {
7
6
  function WindowEventObserver(opts) {
8
7
  _classCallCheck(this, WindowEventObserver);
@@ -71,9 +70,7 @@ var WindowEventObserver = /*#__PURE__*/function () {
71
70
  this.bindEvent('scroll');
72
71
  this.bindEvent('keydown');
73
72
  this.bindEvent('resize');
74
- if (fg('platform_ufo_detect_container_scroll')) {
75
- this.bindCaptureScrollEvent();
76
- }
73
+ this.bindCaptureScrollEvent();
77
74
  }
78
75
  }, {
79
76
  key: "stop",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/react-ufo",
3
- "version": "5.6.0",
3
+ "version": "5.6.1",
4
4
  "description": "Parts of React UFO that are publicly available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -194,9 +194,6 @@
194
194
  "platform_ufo_exclude_dark_reader_extension": {
195
195
  "type": "boolean"
196
196
  },
197
- "platform_ufo_detect_container_scroll": {
198
- "type": "boolean"
199
- },
200
197
  "platform_ufo_fix_abort_timestamp_raw_data": {
201
198
  "type": "boolean"
202
199
  },