@atlaskit/navigation-system 10.15.0 → 10.16.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.
Files changed (99) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/cjs/components/skip-links/skip-link.js +4 -4
  3. package/dist/cjs/components/skip-links/skip-links-container.js +2 -2
  4. package/dist/cjs/components/skip-links/skip-links-popup.js +2 -2
  5. package/dist/cjs/ui/fhs-rollout/is-fhs-enabled-context.js +2 -2
  6. package/dist/cjs/ui/page-layout/aside.js +2 -2
  7. package/dist/cjs/ui/page-layout/banner.js +2 -2
  8. package/dist/cjs/ui/page-layout/main/main.js +2 -2
  9. package/dist/cjs/ui/page-layout/panel-splitter/panel-splitter.js +8 -8
  10. package/dist/cjs/ui/page-layout/panel.js +3 -4
  11. package/dist/cjs/ui/page-layout/root.js +4 -4
  12. package/dist/cjs/ui/page-layout/side-nav/side-nav.js +8 -8
  13. package/dist/cjs/ui/page-layout/side-nav/toggle-button.js +2 -2
  14. package/dist/cjs/ui/page-layout/side-nav/use-expand-side-nav.js +2 -2
  15. package/dist/cjs/ui/page-layout/side-nav/use-toggle-side-nav.js +2 -2
  16. package/dist/cjs/ui/page-layout/top-nav/top-nav-end.js +2 -2
  17. package/dist/cjs/ui/page-layout/top-nav/top-nav-start.js +2 -2
  18. package/dist/cjs/ui/page-layout/top-nav/top-nav.js +8 -8
  19. package/dist/cjs/ui/page-layout/use-resizing-width-css-var-on-root-element.js +3 -3
  20. package/dist/cjs/ui/top-nav-items/app-switcher.js +2 -2
  21. package/dist/cjs/ui/top-nav-items/icon-renderer.js +2 -2
  22. package/dist/cjs/ui/top-nav-items/nav-logo/app-logo.js +5 -5
  23. package/dist/cjs/ui/top-nav-items/nav-logo/custom-logo.js +2 -2
  24. package/dist/cjs/ui/top-nav-items/profile.js +1 -1
  25. package/dist/cjs/ui/top-nav-items/search.js +2 -2
  26. package/dist/cjs/ui/top-nav-items/themed/themed-anchor.js +2 -2
  27. package/dist/cjs/ui/top-nav-items/themed/themed-icon-button.js +2 -2
  28. package/dist/cjs/ui/top-nav-items/themed/themed-link-icon-button.js +2 -2
  29. package/dist/cjs/ui/top-nav-items/themed/themed-pressable.js +2 -2
  30. package/dist/cjs/ui/top-nav-items/themed/use-custom-theme-new.js +2 -2
  31. package/dist/es2019/components/skip-links/skip-link.js +1 -1
  32. package/dist/es2019/components/skip-links/skip-links-container.js +1 -1
  33. package/dist/es2019/components/skip-links/skip-links-popup.js +1 -1
  34. package/dist/es2019/ui/fhs-rollout/is-fhs-enabled-context.js +1 -1
  35. package/dist/es2019/ui/page-layout/aside.js +1 -1
  36. package/dist/es2019/ui/page-layout/banner.js +1 -1
  37. package/dist/es2019/ui/page-layout/main/main.js +1 -1
  38. package/dist/es2019/ui/page-layout/panel-splitter/panel-splitter.js +6 -6
  39. package/dist/es2019/ui/page-layout/panel.js +1 -2
  40. package/dist/es2019/ui/page-layout/root.js +1 -1
  41. package/dist/es2019/ui/page-layout/side-nav/side-nav.js +3 -3
  42. package/dist/es2019/ui/page-layout/side-nav/toggle-button.js +1 -1
  43. package/dist/es2019/ui/page-layout/side-nav/use-expand-side-nav.js +1 -1
  44. package/dist/es2019/ui/page-layout/side-nav/use-toggle-side-nav.js +1 -1
  45. package/dist/es2019/ui/page-layout/top-nav/top-nav-end.js +1 -1
  46. package/dist/es2019/ui/page-layout/top-nav/top-nav-start.js +1 -1
  47. package/dist/es2019/ui/page-layout/top-nav/top-nav.js +2 -2
  48. package/dist/es2019/ui/page-layout/use-resizing-width-css-var-on-root-element.js +2 -2
  49. package/dist/es2019/ui/top-nav-items/app-switcher.js +1 -1
  50. package/dist/es2019/ui/top-nav-items/icon-renderer.js +1 -1
  51. package/dist/es2019/ui/top-nav-items/nav-logo/app-logo.js +2 -2
  52. package/dist/es2019/ui/top-nav-items/nav-logo/custom-logo.js +1 -1
  53. package/dist/es2019/ui/top-nav-items/profile.js +1 -1
  54. package/dist/es2019/ui/top-nav-items/search.js +1 -1
  55. package/dist/es2019/ui/top-nav-items/themed/themed-anchor.js +1 -1
  56. package/dist/es2019/ui/top-nav-items/themed/themed-icon-button.js +1 -1
  57. package/dist/es2019/ui/top-nav-items/themed/themed-link-icon-button.js +1 -1
  58. package/dist/es2019/ui/top-nav-items/themed/themed-pressable.js +1 -1
  59. package/dist/es2019/ui/top-nav-items/themed/use-custom-theme-new.js +1 -1
  60. package/dist/esm/components/skip-links/skip-link.js +1 -1
  61. package/dist/esm/components/skip-links/skip-links-container.js +1 -1
  62. package/dist/esm/components/skip-links/skip-links-popup.js +1 -1
  63. package/dist/esm/ui/fhs-rollout/is-fhs-enabled-context.js +1 -1
  64. package/dist/esm/ui/page-layout/aside.js +1 -1
  65. package/dist/esm/ui/page-layout/banner.js +1 -1
  66. package/dist/esm/ui/page-layout/main/main.js +1 -1
  67. package/dist/esm/ui/page-layout/panel-splitter/panel-splitter.js +6 -6
  68. package/dist/esm/ui/page-layout/panel.js +1 -2
  69. package/dist/esm/ui/page-layout/root.js +1 -1
  70. package/dist/esm/ui/page-layout/side-nav/side-nav.js +3 -3
  71. package/dist/esm/ui/page-layout/side-nav/toggle-button.js +1 -1
  72. package/dist/esm/ui/page-layout/side-nav/use-expand-side-nav.js +1 -1
  73. package/dist/esm/ui/page-layout/side-nav/use-toggle-side-nav.js +1 -1
  74. package/dist/esm/ui/page-layout/top-nav/top-nav-end.js +1 -1
  75. package/dist/esm/ui/page-layout/top-nav/top-nav-start.js +1 -1
  76. package/dist/esm/ui/page-layout/top-nav/top-nav.js +2 -2
  77. package/dist/esm/ui/page-layout/use-resizing-width-css-var-on-root-element.js +2 -2
  78. package/dist/esm/ui/top-nav-items/app-switcher.js +1 -1
  79. package/dist/esm/ui/top-nav-items/icon-renderer.js +1 -1
  80. package/dist/esm/ui/top-nav-items/nav-logo/app-logo.js +2 -2
  81. package/dist/esm/ui/top-nav-items/nav-logo/custom-logo.js +1 -1
  82. package/dist/esm/ui/top-nav-items/profile.js +1 -1
  83. package/dist/esm/ui/top-nav-items/search.js +1 -1
  84. package/dist/esm/ui/top-nav-items/themed/themed-anchor.js +1 -1
  85. package/dist/esm/ui/top-nav-items/themed/themed-icon-button.js +1 -1
  86. package/dist/esm/ui/top-nav-items/themed/themed-link-icon-button.js +1 -1
  87. package/dist/esm/ui/top-nav-items/themed/themed-pressable.js +1 -1
  88. package/dist/esm/ui/top-nav-items/themed/use-custom-theme-new.js +1 -1
  89. package/dist/types/ui/page-layout/panel-splitter/panel-splitter-context.d.ts +1 -1
  90. package/dist/types/ui/page-layout/panel-splitter/panel-splitter.d.ts +1 -1
  91. package/dist/types/ui/page-layout/side-nav/toggle-button.d.ts +1 -1
  92. package/dist/types/ui/top-nav-items/create-button.d.ts +1 -1
  93. package/dist/types/ui/top-nav-items/end-item.d.ts +2 -2
  94. package/dist/types/ui/top-nav-items/log-in.d.ts +1 -1
  95. package/dist/types/ui/top-nav-items/nav-logo/app-logo.d.ts +1 -1
  96. package/dist/types/ui/top-nav-items/nav-logo/custom-logo.d.ts +1 -1
  97. package/dist/types/ui/top-nav-items/nav-logo/logo-renderer.d.ts +1 -1
  98. package/dist/types/ui/top-nav-items/search.d.ts +1 -1
  99. package/package.json +35 -35
@@ -12,7 +12,7 @@ var _runtime = require("@compiled/react/runtime");
12
12
  var _react = _interopRequireWildcard(require("react"));
13
13
  var _css = require("@atlaskit/css");
14
14
  var _search = _interopRequireDefault(require("@atlaskit/icon/core/search"));
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
+ var _fg = require("@atlaskit/platform-feature-flags/fg");
16
16
  var _compiled = require("@atlaskit/primitives/compiled");
17
17
  var _useIsFhsEnabled = require("../fhs-rollout/use-is-fhs-enabled");
18
18
  var _iconButton = require("./themed/icon-button");
@@ -48,7 +48,7 @@ var Search = exports.Search = function Search(_ref) {
48
48
  border: "var(--ds-border-width, 1px)".concat(" solid ", "var(--ds-border-input, #8C8F97)")
49
49
  },
50
50
  onClick: onClick,
51
- xcss: (0, _css.cx)(styles.root, (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') && styles.rootT26Shape, isFhsEnabled && styles.fullHeightSidebar),
51
+ xcss: (0, _css.cx)(styles.root, (0, _fg.fg)('platform-dst-shape-theme-default') && styles.rootT26Shape, isFhsEnabled && styles.fullHeightSidebar),
52
52
  interactionName: interactionName,
53
53
  "aria-haspopup": ariaHaspopup
54
54
  }, /*#__PURE__*/_react.default.createElement("span", {
@@ -13,7 +13,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
13
13
  var _react = _interopRequireDefault(require("react"));
14
14
  var _react2 = require("@compiled/react");
15
15
  var _forwardRefWithGeneric = _interopRequireDefault(require("@atlaskit/ds-lib/forward-ref-with-generic"));
16
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
+ var _fg = require("@atlaskit/platform-feature-flags/fg");
17
17
  var _compiled = require("@atlaskit/primitives/compiled");
18
18
  var _getPrimitivesSpreadProps = require("./get-primitives-spread-props");
19
19
  var _excluded = ["appearance", "shape", "isSelected", "isDisabled"];
@@ -61,7 +61,7 @@ function ThemedAnchorFn(_ref, ref) {
61
61
  // @ts-expect-error
62
62
  // eslint-disable-next-line @compiled/no-suppress-xcss
63
63
  ,
64
- xcss: (0, _react2.cx)(styles.root, (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') && styles.rootT26Shape, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled, (0, _platformFeatureFlags.fg)('platform-dst-motion-uplift-button') && styles.interactiveMotion)
64
+ xcss: (0, _react2.cx)(styles.root, (0, _fg.fg)('platform-dst-shape-theme-default') && styles.rootT26Shape, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled, (0, _fg.fg)('platform-dst-motion-uplift-button') && styles.interactiveMotion)
65
65
  }));
66
66
  }
67
67
 
@@ -12,7 +12,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
12
12
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
13
13
  var _react = _interopRequireWildcard(require("react"));
14
14
  var _mergeRefs = _interopRequireDefault(require("@atlaskit/ds-lib/merge-refs"));
15
- var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
15
+ var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
16
16
  var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden/visually-hidden"));
17
17
  var _iconRenderer = _interopRequireDefault(require("../icon-renderer"));
18
18
  var _themedPressable = require("./themed-pressable");
@@ -24,7 +24,7 @@ var ThemedIconButton = exports.ThemedIconButton = /*#__PURE__*/(0, _react.forwar
24
24
  label = _ref.label,
25
25
  tooltip = _ref.tooltip,
26
26
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
27
- return /*#__PURE__*/_react.default.createElement(_tooltip.default, (0, _extends2.default)({}, tooltip, {
27
+ return /*#__PURE__*/_react.default.createElement(_Tooltip.default, (0, _extends2.default)({}, tooltip, {
28
28
  content: (_tooltip$content = tooltip === null || tooltip === void 0 ? void 0 : tooltip.content) !== null && _tooltip$content !== void 0 ? _tooltip$content : label
29
29
  }), function (triggerProps) {
30
30
  return (
@@ -10,7 +10,7 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
10
10
  var _react = _interopRequireDefault(require("react"));
11
11
  var _forwardRefWithGeneric = _interopRequireDefault(require("@atlaskit/ds-lib/forward-ref-with-generic"));
12
12
  var _mergeRefs = _interopRequireDefault(require("@atlaskit/ds-lib/merge-refs"));
13
- var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
13
+ var _Tooltip = _interopRequireDefault(require("@atlaskit/tooltip/Tooltip"));
14
14
  var _visuallyHidden = _interopRequireDefault(require("@atlaskit/visually-hidden/visually-hidden"));
15
15
  var _themedAnchor = require("./themed-anchor");
16
16
  var _excluded = ["icon", "label", "tooltip"];
@@ -24,7 +24,7 @@ function ThemedLinkIconButtonFn(_ref, ref) {
24
24
  label = _ref.label,
25
25
  tooltip = _ref.tooltip,
26
26
  props = (0, _objectWithoutProperties2.default)(_ref, _excluded);
27
- return /*#__PURE__*/_react.default.createElement(_tooltip.default, (0, _extends2.default)({}, tooltip, {
27
+ return /*#__PURE__*/_react.default.createElement(_Tooltip.default, (0, _extends2.default)({}, tooltip, {
28
28
  content: (_tooltip$content = tooltip === null || tooltip === void 0 ? void 0 : tooltip.content) !== null && _tooltip$content !== void 0 ? _tooltip$content : label
29
29
  }), function (triggerProps) {
30
30
  return (
@@ -13,7 +13,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
13
13
  var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutProperties"));
14
14
  var _react = _interopRequireWildcard(require("react"));
15
15
  var _react2 = require("@compiled/react");
16
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
+ var _fg = require("@atlaskit/platform-feature-flags/fg");
17
17
  var _compiled = require("@atlaskit/primitives/compiled");
18
18
  var _getPrimitivesSpreadProps = require("./get-primitives-spread-props");
19
19
  var _excluded = ["appearance", "shape", "isSelected", "isDisabled"];
@@ -59,7 +59,7 @@ var ThemedPressable = exports.ThemedPressable = /*#__PURE__*/(0, _react.forwardR
59
59
  // @ts-expect-error
60
60
  // eslint-disable-next-line @compiled/no-suppress-xcss
61
61
  ,
62
- xcss: (0, _react2.cx)(styles.root, (0, _platformFeatureFlags.fg)('platform-dst-shape-theme-default') && styles.rootT26Shape, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled, (0, _platformFeatureFlags.fg)('platform-dst-motion-uplift-button') && styles.interactiveMotion),
62
+ xcss: (0, _react2.cx)(styles.root, (0, _fg.fg)('platform-dst-shape-theme-default') && styles.rootT26Shape, shapeStyles[shape], hasBorder && styles.border, appearanceStyles[appearance], isSelected && styles.selected, isDisabled && styles.disabled, (0, _fg.fg)('platform-dst-motion-uplift-button') && styles.interactiveMotion),
63
63
  isDisabled: isDisabled
64
64
  }));
65
65
  });
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", {
7
7
  exports.useCustomThemeNew = useCustomThemeNew;
8
8
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
9
9
  var _react = require("react");
10
- var _appProvider = require("@atlaskit/app-provider");
10
+ var _useColorMode = require("@atlaskit/app-provider/use-color-mode");
11
11
  var _getTokenValue = require("@atlaskit/tokens/get-token-value");
12
12
  var _hex = require("./color-utils/formats/hex");
13
13
  var _useCustomTheme = require("./use-custom-theme");
@@ -36,7 +36,7 @@ function useCustomThemeNew(theme) {
36
36
  * We use the color mode to determine the default background color for the top nav.
37
37
  * We need to use the hook because the user could change their color mode preference.
38
38
  */
39
- var colorMode = (0, _appProvider.useColorMode)();
39
+ var colorMode = (0, _useColorMode.useColorMode)();
40
40
  var hasDefaultBackground = (0, _react.useMemo)(function () {
41
41
  if (!value.isEnabled) {
42
42
  return true;
@@ -2,7 +2,7 @@
2
2
  import "./skip-link.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback } from 'react';
5
- import { fg } from '@atlaskit/platform-feature-flags';
5
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
6
6
  import { Anchor } from '@atlaskit/primitives/compiled';
7
7
  import { focusElement } from './focus-element';
8
8
  const styles = {
@@ -3,7 +3,7 @@ import "./skip-links-container.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { useMemo } from 'react';
6
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { Text } from '@atlaskit/primitives/compiled';
8
8
  import { SkipLink } from './skip-link';
9
9
  import { SkipLinksPopup } from './skip-links-popup';
@@ -7,7 +7,7 @@ import { useCallback, useId, useRef, useState } from 'react';
7
7
  import { flushSync } from 'react-dom';
8
8
  import Button from '@atlaskit/button/new';
9
9
  import mergeRefs from '@atlaskit/ds-lib/merge-refs';
10
- import Popup from '@atlaskit/popup';
10
+ import { Popup } from '@atlaskit/popup/popup';
11
11
  import { focusElement } from './focus-element';
12
12
  import { SkipLink } from './skip-link';
13
13
  const contentStyles = {
@@ -1,5 +1,5 @@
1
1
  import { createContext } from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  /**
4
4
  * __Is fhs enabled context__
5
5
  *
@@ -4,7 +4,7 @@ import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { useContext, useEffect, useRef, useState } from 'react';
6
6
  import usePreviousValue from '@atlaskit/ds-lib/use-previous-value';
7
- import { fg } from '@atlaskit/platform-feature-flags';
7
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
8
8
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
9
9
  import { media } from '@atlaskit/primitives/responsive';
10
10
  import { useSkipLinkInternal } from '../../context/skip-links/use-skip-link-internal';
@@ -3,7 +3,7 @@ import "./banner.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { useContext } from 'react';
6
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { useSkipLinkInternal } from '../../context/skip-links/use-skip-link-internal';
8
8
  import { useIsFhsEnabled } from '../fhs-rollout/use-is-fhs-enabled';
9
9
  import { bannerMountedVar, localSlotLayers, UNSAFE_bannerVar } from './constants';
@@ -3,7 +3,7 @@ import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { Fragment } from 'react';
6
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { useSkipLink } from '../../../context/skip-links/use-skip-link';
8
8
  import { contentHeightWhenFixed, contentInsetBlockStart } from '../constants';
9
9
  import { useLayoutId } from '../use-layout-id';
@@ -11,12 +11,12 @@ import { useId } from '@atlaskit/ds-lib/use-id';
11
11
  import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
12
12
  import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
13
13
  import { fg } from '@atlaskit/platform-feature-flags/fg';
14
- import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
15
- import { draggable } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
16
- import { blockDraggingToIFrames } from '@atlaskit/pragmatic-drag-and-drop/element/block-dragging-to-iframes';
17
- import { disableNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/element/disable-native-drag-preview';
18
- import { preventUnhandled } from '@atlaskit/pragmatic-drag-and-drop/prevent-unhandled';
19
- import Tooltip from '@atlaskit/tooltip';
14
+ import { combine } from '@atlaskit/pragmatic-drag-and-drop/utils/combine';
15
+ import { draggable } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
16
+ import { blockDraggingToIFrames } from '@atlaskit/pragmatic-drag-and-drop/utils/block-dragging-to-iframes';
17
+ import { disableNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/utils/disable-native-drag-preview';
18
+ import { preventUnhandled } from '@atlaskit/pragmatic-drag-and-drop/utils/prevent-unhandled';
19
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
20
20
  import TooltipContainer from '@atlaskit/tooltip/TooltipContainer';
21
21
  import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
22
22
  import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
@@ -5,8 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  import { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
6
6
  import { cx } from '@compiled/react';
7
7
  import mergeRefs from '@atlaskit/ds-lib/merge-refs';
8
- import { useMotion } from '@atlaskit/motion/entering/use-motion';
9
- import { Reanimate } from '@atlaskit/motion/reanimate';
8
+ import { useMotion, Reanimate } from '@atlaskit/motion/use-motion';
10
9
  import { fg } from '@atlaskit/platform-feature-flags';
11
10
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
12
11
  import { media } from '@atlaskit/primitives/responsive';
@@ -3,7 +3,7 @@ import "./root.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useEffect, useRef } from 'react';
5
5
  import { OpenLayerObserver } from '@atlaskit/layering/open-layer-observer';
6
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { SkipLinksProvider } from '../../context/skip-links/skip-links-provider';
8
8
  import { TopNavStartProvider } from '../../context/top-nav-start/top-nav-start-context-provider';
9
9
  import { DangerouslyHoistSlotSizes } from './hoist-slot-sizes-context';
@@ -5,13 +5,13 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  import React, { startTransition, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
6
6
  import { bind } from 'bind-event-listener';
7
7
  import { flushSync } from 'react-dom';
8
- import { useAnalyticsEvents } from '@atlaskit/analytics-next';
8
+ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
9
9
  import mergeRefs from '@atlaskit/ds-lib/merge-refs';
10
10
  import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
11
11
  import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
12
12
  import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
13
- import { fg } from '@atlaskit/platform-feature-flags';
14
- import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
13
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
14
+ import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
15
15
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
16
16
  import { media } from '@atlaskit/primitives/responsive';
17
17
  import { useSkipLinkInternal } from '../../../context/skip-links/use-skip-link-internal';
@@ -3,7 +3,7 @@ import "./toggle-button.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react';
5
5
  import { bind } from 'bind-event-listener';
6
- import { useAnalyticsEvents } from '@atlaskit/analytics-next';
6
+ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
7
7
  import SidebarCollapseIcon from '@atlaskit/icon/core/sidebar-collapse';
8
8
  import SidebarExpandIcon from '@atlaskit/icon/core/sidebar-expand';
9
9
  import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useContext } from 'react';
2
2
  import { bind } from 'bind-event-listener';
3
3
  import { flushSync } from 'react-dom';
4
- import { fg } from '@atlaskit/platform-feature-flags';
4
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
5
5
  import { SetSideNavVisibilityState } from './set-side-nav-visibility-state';
6
6
  import { useSideNavRef } from './use-side-nav-ref';
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useContext } from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { SetSideNavVisibilityState } from './set-side-nav-visibility-state';
4
4
  import { SideNavVisibilityState } from './side-nav-visibility-state';
5
5
  import { useExpandSideNav } from './use-expand-side-nav';
@@ -7,7 +7,7 @@ import { cx } from '@compiled/react';
7
7
  import { useLayoutEffect } from '@atlaskit/ds-lib/use-layout-effect';
8
8
  import ShowMoreHorizontalIcon from '@atlaskit/icon/core/show-more-horizontal';
9
9
  import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
10
- import Popup from '@atlaskit/popup';
10
+ import { Popup } from '@atlaskit/popup/popup';
11
11
  import { UNSAFE_useMediaQuery as useMediaQuery } from '@atlaskit/primitives/compiled';
12
12
  import { List } from '../../../components/list';
13
13
  import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
@@ -4,7 +4,7 @@ import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { forwardRef, useContext, useEffect, useLayoutEffect, useRef, useState } from 'react';
5
5
  import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
6
6
  import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
7
- import { fg } from '@atlaskit/platform-feature-flags';
7
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
8
8
  import { UNSAFE_useMediaQuery } from '@atlaskit/primitives/compiled';
9
9
  import { TopNavStartAttachRef } from '../../../context/top-nav-start/top-nav-start-attach-ref';
10
10
  import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
@@ -3,8 +3,8 @@ import "./top-nav.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { useContext } from 'react';
6
- import { fg } from '@atlaskit/platform-feature-flags';
7
- import { componentWithFG } from '@atlaskit/platform-feature-flags-react';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
+ import { componentWithFG } from '@atlaskit/platform-feature-flags-react/component-with-fg';
8
8
  import { useSkipLinkInternal } from '../../../context/skip-links/use-skip-link-internal';
9
9
  import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
10
10
  import { HasCustomThemeContext } from '../../top-nav-items/themed/has-custom-theme-context';
@@ -1,6 +1,6 @@
1
1
  import { useEffect } from 'react';
2
- import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
3
- import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
2
+ import { combine } from '@atlaskit/pragmatic-drag-and-drop/utils/combine';
3
+ import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
4
4
  import { isPanelSplitterDragData } from './panel-splitter/is-panel-splitter-drag-data';
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
1
  import React, { forwardRef } from 'react';
2
2
  import AppSwitcherIcon from '@atlaskit/icon/core/app-switcher';
3
- import { fg } from '@atlaskit/platform-feature-flags';
3
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
4
4
  import { IconButton } from './themed/icon-button';
5
5
  const toggleButtonTooltipOptions = {
6
6
  // We're disabling pointer events on the tooltip to prevent it from blocking mouse events, so that the side nav flyout stays open
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  function isIconRenderProp(func) {
4
4
  return !func.displayName &&
5
5
  // most function components and class components have a displayName, negate them
@@ -3,9 +3,9 @@ import "./app-logo.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback, useRef } from 'react';
5
5
  import { cx } from '@compiled/react';
6
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { Anchor, Inline, Text } from '@atlaskit/primitives/compiled';
8
- import Tooltip from '@atlaskit/tooltip';
8
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
9
9
  import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
10
10
  import { useHasCustomTheme } from '../themed/has-custom-theme-context';
11
11
  import { LogoRenderer } from './logo-renderer';
@@ -3,7 +3,7 @@ import "./custom-logo.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useEffect, useRef } from 'react';
5
5
  import { cx } from '@compiled/react';
6
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { Anchor } from '@atlaskit/primitives/compiled';
8
8
  import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
9
9
  import { useHasCustomTheme } from '../themed/has-custom-theme-context';
@@ -1,6 +1,6 @@
1
1
  import _extends from "@babel/runtime/helpers/extends";
2
2
  import React, { forwardRef, useCallback } from 'react';
3
- import Avatar from '@atlaskit/avatar';
3
+ import Avatar from '@atlaskit/avatar/avatar';
4
4
  import { EndItem } from './end-item';
5
5
  /**
6
6
  * __Profile__
@@ -4,7 +4,7 @@ import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { Fragment } from 'react';
5
5
  import { cx } from '@atlaskit/css';
6
6
  import SearchIcon from '@atlaskit/icon/core/search';
7
- import { fg } from '@atlaskit/platform-feature-flags';
7
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
8
8
  import { Pressable, Show, Text } from '@atlaskit/primitives/compiled';
9
9
  import { useIsFhsEnabled } from '../fhs-rollout/use-is-fhs-enabled';
10
10
  import { IconButton } from './themed/icon-button';
@@ -5,7 +5,7 @@ import { ax, ix } from "@compiled/react/runtime";
5
5
  import React from 'react';
6
6
  import { cx } from '@compiled/react';
7
7
  import forwardRefWithGeneric from '@atlaskit/ds-lib/forward-ref-with-generic';
8
- import { fg } from '@atlaskit/platform-feature-flags';
8
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
9
9
  import { Anchor } from '@atlaskit/primitives/compiled';
10
10
  import { getPrimitiveSpreadProps } from './get-primitives-spread-props';
11
11
  const styles = {
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { forwardRef } from 'react';
5
5
  import mergeRefs from '@atlaskit/ds-lib/merge-refs';
6
- import Tooltip from '@atlaskit/tooltip';
6
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
7
7
  import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
8
8
  import IconRenderer from '../icon-renderer';
9
9
  import { ThemedPressable } from './themed-pressable';
@@ -2,7 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
2
2
  import React from 'react';
3
3
  import forwardRefWithGeneric from '@atlaskit/ds-lib/forward-ref-with-generic';
4
4
  import mergeRefs from '@atlaskit/ds-lib/merge-refs';
5
- import Tooltip from '@atlaskit/tooltip';
5
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
6
6
  import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
7
7
  import { ThemedAnchor } from './themed-anchor';
8
8
 
@@ -4,7 +4,7 @@ import "./themed-pressable.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import React, { forwardRef } from 'react';
6
6
  import { cx } from '@compiled/react';
7
- import { fg } from '@atlaskit/platform-feature-flags';
7
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
8
8
  import { Pressable } from '@atlaskit/primitives/compiled';
9
9
  import { getPrimitiveSpreadProps } from './get-primitives-spread-props';
10
10
  const styles = {
@@ -1,5 +1,5 @@
1
1
  import { useMemo } from 'react';
2
- import { useColorMode } from '@atlaskit/app-provider';
2
+ import { useColorMode } from '@atlaskit/app-provider/use-color-mode';
3
3
  import { getTokenValue } from '@atlaskit/tokens/get-token-value';
4
4
  import { parseHex } from './color-utils/formats/hex';
5
5
  import { useCustomTheme } from './use-custom-theme';
@@ -2,7 +2,7 @@
2
2
  import "./skip-link.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useCallback } from 'react';
5
- import { fg } from '@atlaskit/platform-feature-flags';
5
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
6
6
  import { Anchor } from '@atlaskit/primitives/compiled';
7
7
  import { focusElement } from './focus-element';
8
8
  var styles = {
@@ -7,7 +7,7 @@ import { ax, ix } from "@compiled/react/runtime";
7
7
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
8
8
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
9
9
  import { useMemo } from 'react';
10
- import { fg } from '@atlaskit/platform-feature-flags';
10
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
11
11
  import { Text } from '@atlaskit/primitives/compiled';
12
12
  import { SkipLink } from './skip-link';
13
13
  import { SkipLinksPopup } from './skip-links-popup';
@@ -8,7 +8,7 @@ import { useCallback, useId, useRef, useState } from 'react';
8
8
  import { flushSync } from 'react-dom';
9
9
  import Button from '@atlaskit/button/new';
10
10
  import mergeRefs from '@atlaskit/ds-lib/merge-refs';
11
- import Popup from '@atlaskit/popup';
11
+ import { Popup } from '@atlaskit/popup/popup';
12
12
  import { focusElement } from './focus-element';
13
13
  import { SkipLink } from './skip-link';
14
14
  var contentStyles = {
@@ -1,5 +1,5 @@
1
1
  import { createContext } from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  /**
4
4
  * __Is fhs enabled context__
5
5
  *
@@ -6,7 +6,7 @@ import * as React from 'react';
6
6
  import { ax, ix } from "@compiled/react/runtime";
7
7
  import { useContext, useEffect, useRef, useState } from 'react';
8
8
  import usePreviousValue from '@atlaskit/ds-lib/use-previous-value';
9
- import { fg } from '@atlaskit/platform-feature-flags';
9
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
10
10
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
11
11
  import { media } from '@atlaskit/primitives/responsive';
12
12
  import { useSkipLinkInternal } from '../../context/skip-links/use-skip-link-internal';
@@ -3,7 +3,7 @@ import "./banner.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { useContext } from 'react';
6
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { useSkipLinkInternal } from '../../context/skip-links/use-skip-link-internal';
8
8
  import { useIsFhsEnabled } from '../fhs-rollout/use-is-fhs-enabled';
9
9
  import { bannerMountedVar, localSlotLayers, UNSAFE_bannerVar } from './constants';
@@ -3,7 +3,7 @@ import "./main.compiled.css";
3
3
  import * as React from 'react';
4
4
  import { ax, ix } from "@compiled/react/runtime";
5
5
  import { Fragment } from 'react';
6
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { useSkipLink } from '../../../context/skip-links/use-skip-link';
8
8
  import { contentHeightWhenFixed, contentInsetBlockStart } from '../constants';
9
9
  import { useLayoutId } from '../use-layout-id';
@@ -17,12 +17,12 @@ import { useId } from '@atlaskit/ds-lib/use-id';
17
17
  import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
18
18
  import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
19
19
  import { fg } from '@atlaskit/platform-feature-flags/fg';
20
- import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
21
- import { draggable } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
22
- import { blockDraggingToIFrames } from '@atlaskit/pragmatic-drag-and-drop/element/block-dragging-to-iframes';
23
- import { disableNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/element/disable-native-drag-preview';
24
- import { preventUnhandled } from '@atlaskit/pragmatic-drag-and-drop/prevent-unhandled';
25
- import Tooltip from '@atlaskit/tooltip';
20
+ import { combine } from '@atlaskit/pragmatic-drag-and-drop/utils/combine';
21
+ import { draggable } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
22
+ import { blockDraggingToIFrames } from '@atlaskit/pragmatic-drag-and-drop/utils/block-dragging-to-iframes';
23
+ import { disableNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/utils/disable-native-drag-preview';
24
+ import { preventUnhandled } from '@atlaskit/pragmatic-drag-and-drop/utils/prevent-unhandled';
25
+ import Tooltip from '@atlaskit/tooltip/Tooltip';
26
26
  import TooltipContainer from '@atlaskit/tooltip/TooltipContainer';
27
27
  import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
28
28
  import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
@@ -7,8 +7,7 @@ import { ax, ix } from "@compiled/react/runtime";
7
7
  import { useCallback, useContext, useEffect, useMemo, useRef, useState } from 'react';
8
8
  import { cx } from '@compiled/react';
9
9
  import mergeRefs from '@atlaskit/ds-lib/merge-refs';
10
- import { useMotion } from '@atlaskit/motion/entering/use-motion';
11
- import { Reanimate } from '@atlaskit/motion/reanimate';
10
+ import { useMotion, Reanimate } from '@atlaskit/motion/use-motion';
12
11
  import { fg } from '@atlaskit/platform-feature-flags';
13
12
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
14
13
  import { media } from '@atlaskit/primitives/responsive';
@@ -3,7 +3,7 @@ import "./root.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React, { useEffect, useRef } from 'react';
5
5
  import { OpenLayerObserver } from '@atlaskit/layering/open-layer-observer';
6
- import { fg } from '@atlaskit/platform-feature-flags';
6
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
7
7
  import { SkipLinksProvider } from '../../context/skip-links/skip-links-provider';
8
8
  import { TopNavStartProvider } from '../../context/top-nav-start/top-nav-start-context-provider';
9
9
  import { DangerouslyHoistSlotSizes } from './hoist-slot-sizes-context';
@@ -9,13 +9,13 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
9
9
  import React, { startTransition, useCallback, useContext, useEffect, useLayoutEffect, useMemo, useRef, useState } from 'react';
10
10
  import { bind } from 'bind-event-listener';
11
11
  import { flushSync } from 'react-dom';
12
- import { useAnalyticsEvents } from '@atlaskit/analytics-next';
12
+ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
13
13
  import mergeRefs from '@atlaskit/ds-lib/merge-refs';
14
14
  import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
15
15
  import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
16
16
  import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
17
- import { fg } from '@atlaskit/platform-feature-flags';
18
- import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
17
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
18
+ import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/adapter/element-adapter';
19
19
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
20
20
  import { media } from '@atlaskit/primitives/responsive';
21
21
  import { useSkipLinkInternal } from '../../../context/skip-links/use-skip-link-internal';
@@ -7,7 +7,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
7
7
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
8
8
  import React, { useCallback, useContext, useEffect, useMemo, useState } from 'react';
9
9
  import { bind } from 'bind-event-listener';
10
- import { useAnalyticsEvents } from '@atlaskit/analytics-next';
10
+ import { useAnalyticsEvents } from '@atlaskit/analytics-next/useAnalyticsEvents';
11
11
  import SidebarCollapseIcon from '@atlaskit/icon/core/sidebar-collapse';
12
12
  import SidebarExpandIcon from '@atlaskit/icon/core/sidebar-expand';
13
13
  import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
@@ -1,7 +1,7 @@
1
1
  import { useCallback, useContext } from 'react';
2
2
  import { bind } from 'bind-event-listener';
3
3
  import { flushSync } from 'react-dom';
4
- import { fg } from '@atlaskit/platform-feature-flags';
4
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
5
5
  import { SetSideNavVisibilityState } from './set-side-nav-visibility-state';
6
6
  import { useSideNavRef } from './use-side-nav-ref';
7
7
  /**
@@ -1,5 +1,5 @@
1
1
  import { useCallback, useContext } from 'react';
2
- import { fg } from '@atlaskit/platform-feature-flags';
2
+ import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { SetSideNavVisibilityState } from './set-side-nav-visibility-state';
4
4
  import { SideNavVisibilityState } from './side-nav-visibility-state';
5
5
  import { useExpandSideNav } from './use-expand-side-nav';