@atlaskit/react-ufo 5.4.5 → 5.4.7
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 +14 -0
- package/dist/cjs/config/index.js +0 -8
- package/dist/cjs/interaction-metrics-init/index.js +0 -1
- package/dist/cjs/load-hold/UFOLoadHold.js +1 -1
- package/dist/cjs/segment/schedule-on-paint.js +11 -0
- package/dist/cjs/segment/segment.js +0 -1
- package/dist/cjs/trace-interaction/internal/trace-ufo-interaction.js +0 -1
- package/dist/cjs/trace-pageload/index.js +0 -2
- package/dist/cjs/trace-transition/index.js +0 -1
- package/dist/es2019/config/index.js +0 -8
- package/dist/es2019/interaction-metrics-init/index.js +0 -1
- package/dist/es2019/load-hold/UFOLoadHold.js +1 -1
- package/dist/es2019/segment/schedule-on-paint.js +11 -0
- package/dist/es2019/segment/segment.js +0 -1
- package/dist/es2019/trace-interaction/internal/trace-ufo-interaction.js +0 -1
- package/dist/es2019/trace-pageload/index.js +0 -2
- package/dist/es2019/trace-transition/index.js +0 -1
- package/dist/esm/config/index.js +0 -8
- package/dist/esm/interaction-metrics-init/index.js +0 -1
- package/dist/esm/load-hold/UFOLoadHold.js +1 -1
- package/dist/esm/segment/schedule-on-paint.js +11 -0
- package/dist/esm/segment/segment.js +0 -1
- package/dist/esm/trace-interaction/internal/trace-ufo-interaction.js +0 -1
- package/dist/esm/trace-pageload/index.js +0 -2
- package/dist/esm/trace-transition/index.js +0 -1
- package/dist/types/config/index.d.ts +0 -4
- package/dist/types-ts4.5/config/index.d.ts +0 -4
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/ufo-interaction-ignore
|
|
2
2
|
|
|
3
|
+
## 5.4.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`f1cd4240db95c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f1cd4240db95c) -
|
|
8
|
+
Make scheduleOnPaint SSR aware
|
|
9
|
+
|
|
10
|
+
## 5.4.6
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- [`7dbaf7d23f178`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7dbaf7d23f178) -
|
|
15
|
+
Clean up platform_ufo_enable_killswitch_config feature gate (assume always true)
|
|
16
|
+
|
|
3
17
|
## 5.4.5
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
package/dist/cjs/config/index.js
CHANGED
|
@@ -73,18 +73,10 @@ function getConfig() {
|
|
|
73
73
|
/**
|
|
74
74
|
* Check if UFO is enabled based on the config.enabled field.
|
|
75
75
|
*
|
|
76
|
-
* This function is gated behind the platform_ufo_enable_killswitch_config feature flag.
|
|
77
|
-
* When the feature flag is disabled, UFO is always considered enabled (default behavior).
|
|
78
|
-
* When the feature flag is enabled, the config.enabled field is respected.
|
|
79
|
-
*
|
|
80
76
|
* @returns true if UFO is enabled, false if disabled
|
|
81
77
|
*/
|
|
82
78
|
function isUFOEnabled() {
|
|
83
79
|
var _config;
|
|
84
|
-
// Only respect the config.enabled field when the killswitch feature flag is enabled
|
|
85
|
-
if (!(0, _platformFeatureFlags.fg)('platform_ufo_enable_killswitch_config')) {
|
|
86
|
-
return true;
|
|
87
|
-
}
|
|
88
80
|
// Default to enabled if config is not set or enabled is not explicitly false
|
|
89
81
|
return ((_config = config) === null || _config === void 0 ? void 0 : _config.enabled) !== false;
|
|
90
82
|
}
|
|
@@ -130,7 +130,6 @@ function init(analyticsWebClientAsync, config) {
|
|
|
130
130
|
(0, _config.setUFOConfig)(config);
|
|
131
131
|
|
|
132
132
|
// If UFO is disabled via config, skip all initialization
|
|
133
|
-
// This is gated behind platform_ufo_enable_killswitch_config feature flag
|
|
134
133
|
if (!(0, _config.isUFOEnabled)()) {
|
|
135
134
|
initialized = true;
|
|
136
135
|
return;
|
|
@@ -86,7 +86,7 @@ function UFOLoadHold(_ref) {
|
|
|
86
86
|
hold = _ref$hold === void 0 ? true : _ref$hold,
|
|
87
87
|
_ref$experimental = _ref.experimental,
|
|
88
88
|
experimental = _ref$experimental === void 0 ? false : _ref$experimental;
|
|
89
|
-
// Check if UFO is enabled
|
|
89
|
+
// Check if UFO is enabled
|
|
90
90
|
// Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
|
|
91
91
|
var ufoEnabled = (0, _config.isUFOEnabled)();
|
|
92
92
|
var currentInteractionId = useInteractionIdValue();
|
|
@@ -4,8 +4,19 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
|
+
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
7
8
|
function scheduleOnPaint(callback) {
|
|
8
9
|
var _globalThis$document;
|
|
10
|
+
// Check if we're in SSR environment
|
|
11
|
+
if ((0, _platformFeatureFlags.fg)('platform_ufo_ssr_render_profiler')) {
|
|
12
|
+
var _process;
|
|
13
|
+
var isSSR = typeof window === 'undefined' || Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.__SERVER__) || typeof process !== 'undefined' && Boolean((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.REACT_SSR);
|
|
14
|
+
if (isSSR) {
|
|
15
|
+
// In SSR, execute callback immediately (no paint event exists)
|
|
16
|
+
callback();
|
|
17
|
+
return;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
9
20
|
if (((_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.visibilityState) !== 'visible') {
|
|
10
21
|
// last resort fallback
|
|
11
22
|
setTimeout(callback, 100);
|
|
@@ -37,7 +37,6 @@ var UFOSegment = function UFOSegment(_ref) {
|
|
|
37
37
|
_ref$type = _ref.type,
|
|
38
38
|
type = _ref$type === void 0 ? 'first-party' : _ref$type;
|
|
39
39
|
// If UFO is disabled, render children without any tracking overhead
|
|
40
|
-
// This is gated behind platform_ufo_enable_killswitch_config feature flag
|
|
41
40
|
// Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
|
|
42
41
|
var ufoEnabled = (0, _config.isUFOEnabled)();
|
|
43
42
|
var parentContext = (0, _react.useContext)(_interactionContext.default);
|
|
@@ -16,7 +16,6 @@ var _routeNameContext = _interopRequireDefault(require("../../route-name-context
|
|
|
16
16
|
|
|
17
17
|
function traceUFOInteraction(name, interactionType, startTime) {
|
|
18
18
|
var _getMinorInteractions;
|
|
19
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
20
19
|
if (!(0, _config.isUFOEnabled)()) {
|
|
21
20
|
return;
|
|
22
21
|
}
|
|
@@ -18,7 +18,6 @@ var _routeNameContext = _interopRequireDefault(require("../route-name-context"))
|
|
|
18
18
|
var AWAITING_PAGELOAD_NAME = 'awaiting_pageload_name';
|
|
19
19
|
function traceUFOPageLoad(ufoName) {
|
|
20
20
|
var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
|
|
21
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
22
21
|
if (!(0, _config.isUFOEnabled)()) {
|
|
23
22
|
return;
|
|
24
23
|
}
|
|
@@ -49,7 +48,6 @@ function traceUFOPageLoad(ufoName) {
|
|
|
49
48
|
var _default = exports.default = traceUFOPageLoad;
|
|
50
49
|
function updatePageloadName(ufoName) {
|
|
51
50
|
var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
|
|
52
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
53
51
|
if (!(0, _config.isUFOEnabled)()) {
|
|
54
52
|
return;
|
|
55
53
|
}
|
|
@@ -21,7 +21,6 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
21
21
|
|
|
22
22
|
function traceUFOTransition(ufoName) {
|
|
23
23
|
var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
|
|
24
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
25
24
|
if (!(0, _config.isUFOEnabled)()) {
|
|
26
25
|
return;
|
|
27
26
|
}
|
|
@@ -41,18 +41,10 @@ export function getConfig() {
|
|
|
41
41
|
/**
|
|
42
42
|
* Check if UFO is enabled based on the config.enabled field.
|
|
43
43
|
*
|
|
44
|
-
* This function is gated behind the platform_ufo_enable_killswitch_config feature flag.
|
|
45
|
-
* When the feature flag is disabled, UFO is always considered enabled (default behavior).
|
|
46
|
-
* When the feature flag is enabled, the config.enabled field is respected.
|
|
47
|
-
*
|
|
48
44
|
* @returns true if UFO is enabled, false if disabled
|
|
49
45
|
*/
|
|
50
46
|
export function isUFOEnabled() {
|
|
51
47
|
var _config;
|
|
52
|
-
// Only respect the config.enabled field when the killswitch feature flag is enabled
|
|
53
|
-
if (!fg('platform_ufo_enable_killswitch_config')) {
|
|
54
|
-
return true;
|
|
55
|
-
}
|
|
56
48
|
// Default to enabled if config is not set or enabled is not explicitly false
|
|
57
49
|
return ((_config = config) === null || _config === void 0 ? void 0 : _config.enabled) !== false;
|
|
58
50
|
}
|
|
@@ -106,7 +106,6 @@ export function init(analyticsWebClientAsync, config) {
|
|
|
106
106
|
setUFOConfig(config);
|
|
107
107
|
|
|
108
108
|
// If UFO is disabled via config, skip all initialization
|
|
109
|
-
// This is gated behind platform_ufo_enable_killswitch_config feature flag
|
|
110
109
|
if (!isUFOEnabled()) {
|
|
111
110
|
initialized = true;
|
|
112
111
|
return;
|
|
@@ -72,7 +72,7 @@ export default function UFOLoadHold({
|
|
|
72
72
|
hold = true,
|
|
73
73
|
experimental = false
|
|
74
74
|
}) {
|
|
75
|
-
// Check if UFO is enabled
|
|
75
|
+
// Check if UFO is enabled
|
|
76
76
|
// Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
|
|
77
77
|
const ufoEnabled = isUFOEnabled();
|
|
78
78
|
const currentInteractionId = useInteractionIdValue();
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
2
|
function scheduleOnPaint(callback) {
|
|
2
3
|
var _globalThis$document;
|
|
4
|
+
// Check if we're in SSR environment
|
|
5
|
+
if (fg('platform_ufo_ssr_render_profiler')) {
|
|
6
|
+
var _process, _process$env;
|
|
7
|
+
const isSSR = typeof window === 'undefined' || Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.__SERVER__) || typeof process !== 'undefined' && Boolean((_process = process) === null || _process === void 0 ? void 0 : (_process$env = _process.env) === null || _process$env === void 0 ? void 0 : _process$env.REACT_SSR);
|
|
8
|
+
if (isSSR) {
|
|
9
|
+
// In SSR, execute callback immediately (no paint event exists)
|
|
10
|
+
callback();
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
3
14
|
if (((_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.visibilityState) !== 'visible') {
|
|
4
15
|
// last resort fallback
|
|
5
16
|
setTimeout(callback, 100);
|
|
@@ -24,7 +24,6 @@ const UFOSegment = ({
|
|
|
24
24
|
type = 'first-party'
|
|
25
25
|
}) => {
|
|
26
26
|
// If UFO is disabled, render children without any tracking overhead
|
|
27
|
-
// This is gated behind platform_ufo_enable_killswitch_config feature flag
|
|
28
27
|
// Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
|
|
29
28
|
const ufoEnabled = isUFOEnabled();
|
|
30
29
|
const parentContext = useContext(UFOInteractionContext);
|
|
@@ -8,7 +8,6 @@ import { abortAll, addNewInteraction, getActiveInteraction } from '../../interac
|
|
|
8
8
|
import UFORouteName from '../../route-name-context';
|
|
9
9
|
function traceUFOInteraction(name, interactionType, startTime) {
|
|
10
10
|
var _getMinorInteractions;
|
|
11
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
12
11
|
if (!isUFOEnabled()) {
|
|
13
12
|
return;
|
|
14
13
|
}
|
|
@@ -8,7 +8,6 @@ import { abort, addHoldByID, addNewInteraction, getActiveInteraction, removeHold
|
|
|
8
8
|
import UFORouteName from '../route-name-context';
|
|
9
9
|
const AWAITING_PAGELOAD_NAME = 'awaiting_pageload_name';
|
|
10
10
|
function traceUFOPageLoad(ufoName, routeName = ufoName) {
|
|
11
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
12
11
|
if (!isUFOEnabled()) {
|
|
13
12
|
return;
|
|
14
13
|
}
|
|
@@ -38,7 +37,6 @@ function traceUFOPageLoad(ufoName, routeName = ufoName) {
|
|
|
38
37
|
}
|
|
39
38
|
export default traceUFOPageLoad;
|
|
40
39
|
export function updatePageloadName(ufoName, routeName = ufoName) {
|
|
41
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
42
40
|
if (!isUFOEnabled()) {
|
|
43
41
|
return;
|
|
44
42
|
}
|
|
@@ -10,7 +10,6 @@ import { abortAll, addNewInteraction, addOnCancelCallback, getActiveInteraction,
|
|
|
10
10
|
import UFORouteName from '../route-name-context';
|
|
11
11
|
import { setInteractionActiveTrace } from './utils/set-interaction-active-trace';
|
|
12
12
|
function traceUFOTransition(ufoName, routeName = ufoName) {
|
|
13
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
14
13
|
if (!isUFOEnabled()) {
|
|
15
14
|
return;
|
|
16
15
|
}
|
package/dist/esm/config/index.js
CHANGED
|
@@ -43,18 +43,10 @@ export function getConfig() {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if UFO is enabled based on the config.enabled field.
|
|
45
45
|
*
|
|
46
|
-
* This function is gated behind the platform_ufo_enable_killswitch_config feature flag.
|
|
47
|
-
* When the feature flag is disabled, UFO is always considered enabled (default behavior).
|
|
48
|
-
* When the feature flag is enabled, the config.enabled field is respected.
|
|
49
|
-
*
|
|
50
46
|
* @returns true if UFO is enabled, false if disabled
|
|
51
47
|
*/
|
|
52
48
|
export function isUFOEnabled() {
|
|
53
49
|
var _config;
|
|
54
|
-
// Only respect the config.enabled field when the killswitch feature flag is enabled
|
|
55
|
-
if (!fg('platform_ufo_enable_killswitch_config')) {
|
|
56
|
-
return true;
|
|
57
|
-
}
|
|
58
50
|
// Default to enabled if config is not set or enabled is not explicitly false
|
|
59
51
|
return ((_config = config) === null || _config === void 0 ? void 0 : _config.enabled) !== false;
|
|
60
52
|
}
|
|
@@ -121,7 +121,6 @@ export function init(analyticsWebClientAsync, config) {
|
|
|
121
121
|
setUFOConfig(config);
|
|
122
122
|
|
|
123
123
|
// If UFO is disabled via config, skip all initialization
|
|
124
|
-
// This is gated behind platform_ufo_enable_killswitch_config feature flag
|
|
125
124
|
if (!isUFOEnabled()) {
|
|
126
125
|
initialized = true;
|
|
127
126
|
return;
|
|
@@ -77,7 +77,7 @@ export default function UFOLoadHold(_ref) {
|
|
|
77
77
|
hold = _ref$hold === void 0 ? true : _ref$hold,
|
|
78
78
|
_ref$experimental = _ref.experimental,
|
|
79
79
|
experimental = _ref$experimental === void 0 ? false : _ref$experimental;
|
|
80
|
-
// Check if UFO is enabled
|
|
80
|
+
// Check if UFO is enabled
|
|
81
81
|
// Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
|
|
82
82
|
var ufoEnabled = isUFOEnabled();
|
|
83
83
|
var currentInteractionId = useInteractionIdValue();
|
|
@@ -1,5 +1,16 @@
|
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
2
|
function scheduleOnPaint(callback) {
|
|
2
3
|
var _globalThis$document;
|
|
4
|
+
// Check if we're in SSR environment
|
|
5
|
+
if (fg('platform_ufo_ssr_render_profiler')) {
|
|
6
|
+
var _process;
|
|
7
|
+
var isSSR = typeof window === 'undefined' || Boolean(globalThis === null || globalThis === void 0 ? void 0 : globalThis.__SERVER__) || typeof process !== 'undefined' && Boolean((_process = process) === null || _process === void 0 || (_process = _process.env) === null || _process === void 0 ? void 0 : _process.REACT_SSR);
|
|
8
|
+
if (isSSR) {
|
|
9
|
+
// In SSR, execute callback immediately (no paint event exists)
|
|
10
|
+
callback();
|
|
11
|
+
return;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
3
14
|
if (((_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : _globalThis$document.visibilityState) !== 'visible') {
|
|
4
15
|
// last resort fallback
|
|
5
16
|
setTimeout(callback, 100);
|
|
@@ -29,7 +29,6 @@ var UFOSegment = function UFOSegment(_ref) {
|
|
|
29
29
|
_ref$type = _ref.type,
|
|
30
30
|
type = _ref$type === void 0 ? 'first-party' : _ref$type;
|
|
31
31
|
// If UFO is disabled, render children without any tracking overhead
|
|
32
|
-
// This is gated behind platform_ufo_enable_killswitch_config feature flag
|
|
33
32
|
// Note: isUFOEnabled() returns a stable value based on config, so it's safe to call before hooks
|
|
34
33
|
var ufoEnabled = isUFOEnabled();
|
|
35
34
|
var parentContext = useContext(UFOInteractionContext);
|
|
@@ -8,7 +8,6 @@ import { abortAll, addNewInteraction, getActiveInteraction } from '../../interac
|
|
|
8
8
|
import UFORouteName from '../../route-name-context';
|
|
9
9
|
function traceUFOInteraction(name, interactionType, startTime) {
|
|
10
10
|
var _getMinorInteractions;
|
|
11
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
12
11
|
if (!isUFOEnabled()) {
|
|
13
12
|
return;
|
|
14
13
|
}
|
|
@@ -9,7 +9,6 @@ import UFORouteName from '../route-name-context';
|
|
|
9
9
|
var AWAITING_PAGELOAD_NAME = 'awaiting_pageload_name';
|
|
10
10
|
function traceUFOPageLoad(ufoName) {
|
|
11
11
|
var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
|
|
12
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
13
12
|
if (!isUFOEnabled()) {
|
|
14
13
|
return;
|
|
15
14
|
}
|
|
@@ -40,7 +39,6 @@ function traceUFOPageLoad(ufoName) {
|
|
|
40
39
|
export default traceUFOPageLoad;
|
|
41
40
|
export function updatePageloadName(ufoName) {
|
|
42
41
|
var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
|
|
43
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
44
42
|
if (!isUFOEnabled()) {
|
|
45
43
|
return;
|
|
46
44
|
}
|
|
@@ -11,7 +11,6 @@ import UFORouteName from '../route-name-context';
|
|
|
11
11
|
import { setInteractionActiveTrace } from './utils/set-interaction-active-trace';
|
|
12
12
|
function traceUFOTransition(ufoName) {
|
|
13
13
|
var routeName = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : ufoName;
|
|
14
|
-
// Skip if UFO is disabled (gated behind platform_ufo_enable_killswitch_config)
|
|
15
14
|
if (!isUFOEnabled()) {
|
|
16
15
|
return;
|
|
17
16
|
}
|
|
@@ -199,10 +199,6 @@ export declare function getConfig(): Config | undefined;
|
|
|
199
199
|
/**
|
|
200
200
|
* Check if UFO is enabled based on the config.enabled field.
|
|
201
201
|
*
|
|
202
|
-
* This function is gated behind the platform_ufo_enable_killswitch_config feature flag.
|
|
203
|
-
* When the feature flag is disabled, UFO is always considered enabled (default behavior).
|
|
204
|
-
* When the feature flag is enabled, the config.enabled field is respected.
|
|
205
|
-
*
|
|
206
202
|
* @returns true if UFO is enabled, false if disabled
|
|
207
203
|
*/
|
|
208
204
|
export declare function isUFOEnabled(): boolean;
|
|
@@ -199,10 +199,6 @@ export declare function getConfig(): Config | undefined;
|
|
|
199
199
|
/**
|
|
200
200
|
* Check if UFO is enabled based on the config.enabled field.
|
|
201
201
|
*
|
|
202
|
-
* This function is gated behind the platform_ufo_enable_killswitch_config feature flag.
|
|
203
|
-
* When the feature flag is disabled, UFO is always considered enabled (default behavior).
|
|
204
|
-
* When the feature flag is enabled, the config.enabled field is respected.
|
|
205
|
-
*
|
|
206
202
|
* @returns true if UFO is enabled, false if disabled
|
|
207
203
|
*/
|
|
208
204
|
export declare function isUFOEnabled(): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/react-ufo",
|
|
3
|
-
"version": "5.4.
|
|
3
|
+
"version": "5.4.7",
|
|
4
4
|
"description": "Parts of React UFO that are publicly available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@af/integration-testing": "workspace:^",
|
|
46
|
-
"@atlassian/a11y-jest-testing": "^0.
|
|
46
|
+
"@atlassian/a11y-jest-testing": "^0.10.0",
|
|
47
47
|
"@atlassian/feature-flags-test-utils": "^1.0.0",
|
|
48
48
|
"@testing-library/react": "^16.3.0",
|
|
49
49
|
"@types/is-ci": "^3.0.0",
|
|
@@ -203,9 +203,6 @@
|
|
|
203
203
|
"ufo_vc_revision_trim_enabled": {
|
|
204
204
|
"type": "boolean"
|
|
205
205
|
},
|
|
206
|
-
"platform_ufo_enable_killswitch_config": {
|
|
207
|
-
"type": "boolean"
|
|
208
|
-
},
|
|
209
206
|
"platform_ufo_page_visibility_timeline": {
|
|
210
207
|
"type": "boolean"
|
|
211
208
|
},
|