@atlaskit/react-ufo 4.1.7 → 4.1.8
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,13 @@
|
|
|
1
1
|
# @atlaskit/ufo-interaction-ignore
|
|
2
2
|
|
|
3
|
+
## 4.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#192707](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/192707)
|
|
8
|
+
[`400679111bbaf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/400679111bbaf) -
|
|
9
|
+
AFO-39898 cleanup ff platform_ufo_rll_placeholder_ignore
|
|
10
|
+
|
|
3
11
|
## 4.1.7
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -9,7 +9,6 @@ var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers
|
|
|
9
9
|
var _classCallCheck2 = _interopRequireDefault(require("@babel/runtime/helpers/classCallCheck"));
|
|
10
10
|
var _createClass2 = _interopRequireDefault(require("@babel/runtime/helpers/createClass"));
|
|
11
11
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
12
|
-
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
13
12
|
var GLOBAL_RLL_HANDLERS_KEY = '__REACT_UFO_RLL_PLACEHOLDER_HANDLERS__';
|
|
14
13
|
var RLLPlaceholderHandlers = exports.RLLPlaceholderHandlers = /*#__PURE__*/function () {
|
|
15
14
|
function RLLPlaceholderHandlers() {
|
|
@@ -43,9 +42,6 @@ var RLLPlaceholderHandlers = exports.RLLPlaceholderHandlers = /*#__PURE__*/funct
|
|
|
43
42
|
if (typeof window === 'undefined' || typeof document === 'undefined' || typeof window.document === 'undefined') {
|
|
44
43
|
return;
|
|
45
44
|
}
|
|
46
|
-
if (!(0, _platformFeatureFlags.fg)('platform_ufo_rll_placeholder_ignore')) {
|
|
47
|
-
return;
|
|
48
|
-
}
|
|
49
45
|
var beginElements = document.querySelectorAll('input[data-lazy-begin]');
|
|
50
46
|
var beginCount = beginElements.length;
|
|
51
47
|
if (beginCount === 0) {
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
2
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
3
2
|
const GLOBAL_RLL_HANDLERS_KEY = '__REACT_UFO_RLL_PLACEHOLDER_HANDLERS__';
|
|
4
3
|
export class RLLPlaceholderHandlers {
|
|
5
4
|
constructor() {
|
|
@@ -39,9 +38,6 @@ export class RLLPlaceholderHandlers {
|
|
|
39
38
|
if (typeof window === 'undefined' || typeof document === 'undefined' || typeof window.document === 'undefined') {
|
|
40
39
|
return;
|
|
41
40
|
}
|
|
42
|
-
if (!fg('platform_ufo_rll_placeholder_ignore')) {
|
|
43
|
-
return;
|
|
44
|
-
}
|
|
45
41
|
const beginElements = document.querySelectorAll('input[data-lazy-begin]');
|
|
46
42
|
const beginCount = beginElements.length;
|
|
47
43
|
if (beginCount === 0) {
|
|
@@ -2,7 +2,6 @@ import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
|
2
2
|
import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
|
|
3
3
|
import _createClass from "@babel/runtime/helpers/createClass";
|
|
4
4
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
5
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
6
5
|
var GLOBAL_RLL_HANDLERS_KEY = '__REACT_UFO_RLL_PLACEHOLDER_HANDLERS__';
|
|
7
6
|
export var RLLPlaceholderHandlers = /*#__PURE__*/function () {
|
|
8
7
|
function RLLPlaceholderHandlers() {
|
|
@@ -36,9 +35,6 @@ export var RLLPlaceholderHandlers = /*#__PURE__*/function () {
|
|
|
36
35
|
if (typeof window === 'undefined' || typeof document === 'undefined' || typeof window.document === 'undefined') {
|
|
37
36
|
return;
|
|
38
37
|
}
|
|
39
|
-
if (!fg('platform_ufo_rll_placeholder_ignore')) {
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
38
|
var beginElements = document.querySelectorAll('input[data-lazy-begin]');
|
|
43
39
|
var beginCount = beginElements.length;
|
|
44
40
|
if (beginCount === 0) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-ufo",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.8",
|
|
4
4
|
"description": "Parts of React UFO that are publicly available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -162,9 +162,6 @@
|
|
|
162
162
|
"platform_ufo_ssr_size_field": {
|
|
163
163
|
"type": "boolean"
|
|
164
164
|
},
|
|
165
|
-
"platform_ufo_rll_placeholder_ignore": {
|
|
166
|
-
"type": "boolean"
|
|
167
|
-
},
|
|
168
165
|
"platform_ufo_enable_timeout_config": {
|
|
169
166
|
"type": "boolean"
|
|
170
167
|
},
|