@atlaskit/navigation-system 10.6.0 → 10.7.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 +37 -0
- package/dist/cjs/components/badge-container.js +1 -1
- package/dist/cjs/components/list-item.js +1 -1
- package/dist/cjs/components/list.js +1 -1
- package/dist/cjs/components/skip-links/skip-link.compiled.css +0 -1
- package/dist/cjs/components/skip-links/skip-link.js +1 -1
- package/dist/cjs/components/skip-links/skip-links-container.compiled.css +0 -1
- package/dist/cjs/components/skip-links/skip-links-container.js +1 -1
- package/dist/cjs/components/skip-links/skip-links-popup.js +1 -1
- package/dist/cjs/ui/page-layout/aside.compiled.css +0 -1
- package/dist/cjs/ui/page-layout/aside.js +1 -1
- package/dist/cjs/ui/page-layout/banner.compiled.css +0 -1
- package/dist/cjs/ui/page-layout/banner.js +1 -1
- package/dist/cjs/ui/page-layout/main/main-sticky-header.js +1 -1
- package/dist/cjs/ui/page-layout/main/main.compiled.css +0 -1
- package/dist/cjs/ui/page-layout/main/main.js +1 -1
- package/dist/cjs/ui/page-layout/panel-splitter/panel-splitter.js +4 -4
- package/dist/cjs/ui/page-layout/panel-splitter/side-nav-panel-splitter.js +2 -2
- package/dist/cjs/ui/page-layout/panel.compiled.css +0 -1
- package/dist/cjs/ui/page-layout/panel.js +1 -1
- package/dist/cjs/ui/page-layout/ribbon.compiled.css +0 -1
- package/dist/cjs/ui/page-layout/ribbon.js +1 -1
- package/dist/cjs/ui/page-layout/root.js +2 -2
- package/dist/cjs/ui/page-layout/side-nav/side-nav-content.js +1 -1
- package/dist/cjs/ui/page-layout/side-nav/side-nav-footer.js +1 -1
- package/dist/cjs/ui/page-layout/side-nav/side-nav-header.js +1 -1
- package/dist/cjs/ui/page-layout/side-nav/side-nav.compiled.css +0 -1
- package/dist/cjs/ui/page-layout/side-nav/side-nav.js +5 -4
- package/dist/cjs/ui/page-layout/side-nav/toggle-button.js +3 -3
- package/dist/cjs/ui/page-layout/side-nav/use-side-nav-toggle-keyboard-shortcut.js +2 -2
- package/dist/cjs/ui/page-layout/top-nav/top-nav-end.compiled.css +0 -1
- package/dist/cjs/ui/page-layout/top-nav/top-nav-end.js +4 -4
- package/dist/cjs/ui/page-layout/top-nav/top-nav-middle.compiled.css +0 -1
- package/dist/cjs/ui/page-layout/top-nav/top-nav-middle.js +3 -3
- package/dist/cjs/ui/page-layout/top-nav/top-nav-start.compiled.css +0 -1
- package/dist/cjs/ui/page-layout/top-nav/top-nav-start.js +3 -3
- package/dist/cjs/ui/page-layout/top-nav/top-nav.compiled.css +0 -1
- package/dist/cjs/ui/page-layout/top-nav/top-nav.js +1 -1
- package/dist/cjs/ui/top-nav-items/app-switcher.js +7 -2
- package/dist/cjs/ui/top-nav-items/custom-title.js +1 -1
- package/dist/cjs/ui/top-nav-items/nav-logo/app-logo.compiled.css +0 -1
- package/dist/cjs/ui/top-nav-items/nav-logo/app-logo.js +1 -1
- package/dist/cjs/ui/top-nav-items/nav-logo/custom-logo.compiled.css +0 -1
- package/dist/cjs/ui/top-nav-items/nav-logo/custom-logo.js +1 -1
- package/dist/cjs/ui/top-nav-items/nav-logo/logo-renderer.js +1 -1
- package/dist/cjs/ui/top-nav-items/search.compiled.css +0 -1
- package/dist/cjs/ui/top-nav-items/search.js +1 -1
- package/dist/cjs/ui/top-nav-items/themed/themed-anchor.compiled.css +0 -1
- package/dist/cjs/ui/top-nav-items/themed/themed-anchor.js +1 -1
- package/dist/cjs/ui/top-nav-items/themed/themed-button.js +1 -1
- package/dist/cjs/ui/top-nav-items/themed/themed-icon-button.js +2 -2
- package/dist/cjs/ui/top-nav-items/themed/themed-link-button.js +1 -1
- package/dist/cjs/ui/top-nav-items/themed/themed-link-icon-button.js +1 -1
- package/dist/cjs/ui/top-nav-items/themed/themed-pressable.compiled.css +0 -1
- package/dist/cjs/ui/top-nav-items/themed/themed-pressable.js +1 -1
- package/dist/es2019/components/badge-container.js +1 -1
- package/dist/es2019/components/list-item.js +1 -1
- package/dist/es2019/components/list.js +1 -1
- package/dist/es2019/components/skip-links/skip-link.compiled.css +0 -1
- package/dist/es2019/components/skip-links/skip-link.js +1 -1
- package/dist/es2019/components/skip-links/skip-links-container.compiled.css +0 -1
- package/dist/es2019/components/skip-links/skip-links-container.js +1 -1
- package/dist/es2019/components/skip-links/skip-links-popup.js +1 -1
- package/dist/es2019/ui/page-layout/aside.compiled.css +0 -1
- package/dist/es2019/ui/page-layout/aside.js +1 -1
- package/dist/es2019/ui/page-layout/banner.compiled.css +0 -1
- package/dist/es2019/ui/page-layout/banner.js +1 -1
- package/dist/es2019/ui/page-layout/main/main-sticky-header.js +1 -1
- package/dist/es2019/ui/page-layout/main/main.compiled.css +0 -1
- package/dist/es2019/ui/page-layout/main/main.js +1 -1
- package/dist/es2019/ui/page-layout/panel-splitter/panel-splitter.js +3 -3
- package/dist/es2019/ui/page-layout/panel-splitter/side-nav-panel-splitter.js +1 -1
- package/dist/es2019/ui/page-layout/panel.compiled.css +0 -1
- package/dist/es2019/ui/page-layout/panel.js +1 -1
- package/dist/es2019/ui/page-layout/ribbon.compiled.css +0 -1
- package/dist/es2019/ui/page-layout/ribbon.js +1 -1
- package/dist/es2019/ui/page-layout/root.js +2 -2
- package/dist/es2019/ui/page-layout/side-nav/side-nav-content.js +1 -1
- package/dist/es2019/ui/page-layout/side-nav/side-nav-footer.js +1 -1
- package/dist/es2019/ui/page-layout/side-nav/side-nav-header.js +1 -1
- package/dist/es2019/ui/page-layout/side-nav/side-nav.compiled.css +0 -1
- package/dist/es2019/ui/page-layout/side-nav/side-nav.js +3 -2
- package/dist/es2019/ui/page-layout/side-nav/toggle-button.js +2 -2
- package/dist/es2019/ui/page-layout/side-nav/use-side-nav-toggle-keyboard-shortcut.js +1 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav-end.compiled.css +0 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav-end.js +2 -2
- package/dist/es2019/ui/page-layout/top-nav/top-nav-middle.compiled.css +0 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav-middle.js +2 -2
- package/dist/es2019/ui/page-layout/top-nav/top-nav-start.compiled.css +0 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav-start.js +2 -2
- package/dist/es2019/ui/page-layout/top-nav/top-nav.compiled.css +0 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav.js +1 -1
- package/dist/es2019/ui/top-nav-items/app-switcher.js +22 -15
- package/dist/es2019/ui/top-nav-items/custom-title.js +1 -1
- package/dist/es2019/ui/top-nav-items/nav-logo/app-logo.compiled.css +0 -1
- package/dist/es2019/ui/top-nav-items/nav-logo/app-logo.js +1 -1
- package/dist/es2019/ui/top-nav-items/nav-logo/custom-logo.compiled.css +0 -1
- package/dist/es2019/ui/top-nav-items/nav-logo/custom-logo.js +1 -1
- package/dist/es2019/ui/top-nav-items/nav-logo/logo-renderer.js +1 -1
- package/dist/es2019/ui/top-nav-items/search.compiled.css +0 -1
- package/dist/es2019/ui/top-nav-items/search.js +1 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-anchor.compiled.css +0 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-anchor.js +1 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-button.js +1 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-icon-button.js +2 -2
- package/dist/es2019/ui/top-nav-items/themed/themed-link-button.js +1 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-link-icon-button.js +1 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-pressable.compiled.css +0 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-pressable.js +1 -1
- package/dist/esm/components/badge-container.js +1 -1
- package/dist/esm/components/list-item.js +1 -1
- package/dist/esm/components/list.js +1 -1
- package/dist/esm/components/skip-links/skip-link.compiled.css +0 -1
- package/dist/esm/components/skip-links/skip-link.js +1 -1
- package/dist/esm/components/skip-links/skip-links-container.compiled.css +0 -1
- package/dist/esm/components/skip-links/skip-links-container.js +1 -1
- package/dist/esm/components/skip-links/skip-links-popup.js +1 -1
- package/dist/esm/ui/page-layout/aside.compiled.css +0 -1
- package/dist/esm/ui/page-layout/aside.js +1 -1
- package/dist/esm/ui/page-layout/banner.compiled.css +0 -1
- package/dist/esm/ui/page-layout/banner.js +1 -1
- package/dist/esm/ui/page-layout/main/main-sticky-header.js +1 -1
- package/dist/esm/ui/page-layout/main/main.compiled.css +0 -1
- package/dist/esm/ui/page-layout/main/main.js +1 -1
- package/dist/esm/ui/page-layout/panel-splitter/panel-splitter.js +3 -3
- package/dist/esm/ui/page-layout/panel-splitter/side-nav-panel-splitter.js +1 -1
- package/dist/esm/ui/page-layout/panel.compiled.css +0 -1
- package/dist/esm/ui/page-layout/panel.js +1 -1
- package/dist/esm/ui/page-layout/ribbon.compiled.css +0 -1
- package/dist/esm/ui/page-layout/ribbon.js +1 -1
- package/dist/esm/ui/page-layout/root.js +2 -2
- package/dist/esm/ui/page-layout/side-nav/side-nav-content.js +1 -1
- package/dist/esm/ui/page-layout/side-nav/side-nav-footer.js +1 -1
- package/dist/esm/ui/page-layout/side-nav/side-nav-header.js +1 -1
- package/dist/esm/ui/page-layout/side-nav/side-nav.compiled.css +0 -1
- package/dist/esm/ui/page-layout/side-nav/side-nav.js +3 -2
- package/dist/esm/ui/page-layout/side-nav/toggle-button.js +2 -2
- package/dist/esm/ui/page-layout/side-nav/use-side-nav-toggle-keyboard-shortcut.js +1 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav-end.compiled.css +0 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav-end.js +2 -2
- package/dist/esm/ui/page-layout/top-nav/top-nav-middle.compiled.css +0 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav-middle.js +2 -2
- package/dist/esm/ui/page-layout/top-nav/top-nav-start.compiled.css +0 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav-start.js +2 -2
- package/dist/esm/ui/page-layout/top-nav/top-nav.compiled.css +0 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav.js +1 -1
- package/dist/esm/ui/top-nav-items/app-switcher.js +7 -2
- package/dist/esm/ui/top-nav-items/custom-title.js +1 -1
- package/dist/esm/ui/top-nav-items/nav-logo/app-logo.compiled.css +0 -1
- package/dist/esm/ui/top-nav-items/nav-logo/app-logo.js +1 -1
- package/dist/esm/ui/top-nav-items/nav-logo/custom-logo.compiled.css +0 -1
- package/dist/esm/ui/top-nav-items/nav-logo/custom-logo.js +1 -1
- package/dist/esm/ui/top-nav-items/nav-logo/logo-renderer.js +1 -1
- package/dist/esm/ui/top-nav-items/search.compiled.css +0 -1
- package/dist/esm/ui/top-nav-items/search.js +1 -1
- package/dist/esm/ui/top-nav-items/themed/themed-anchor.compiled.css +0 -1
- package/dist/esm/ui/top-nav-items/themed/themed-anchor.js +1 -1
- package/dist/esm/ui/top-nav-items/themed/themed-button.js +1 -1
- package/dist/esm/ui/top-nav-items/themed/themed-icon-button.js +2 -2
- package/dist/esm/ui/top-nav-items/themed/themed-link-button.js +1 -1
- package/dist/esm/ui/top-nav-items/themed/themed-link-icon-button.js +1 -1
- package/dist/esm/ui/top-nav-items/themed/themed-pressable.compiled.css +0 -1
- package/dist/esm/ui/top-nav-items/themed/themed-pressable.js +1 -1
- package/dist/types/ui/top-nav-items/app-switcher.d.ts +10 -0
- package/package.json +15 -11
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
2
|
._11q71c9b{background:var(--ds-top-bar-button-disabled-background)}
|
|
4
3
|
._11q71qds{background:var(--ds-top-bar-button-selected-background)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* skip-links-container.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* skip-links-container.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import "./skip-links-container.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* skip-links-popup.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* skip-links-popup.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./skip-links-popup.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* main-sticky-header.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* main-sticky-header.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import "./main-sticky-header.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* panel-splitter.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* panel-splitter.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./panel-splitter.compiled.css";
|
|
4
4
|
import * as React from 'react';
|
|
@@ -9,7 +9,7 @@ import { createPortal } from 'react-dom';
|
|
|
9
9
|
import invariant from 'tiny-invariant';
|
|
10
10
|
import { useId } from '@atlaskit/ds-lib/use-id';
|
|
11
11
|
import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
|
|
12
|
-
import { useOpenLayerObserver } from '@atlaskit/layering/
|
|
12
|
+
import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
|
|
13
13
|
import { combine } from '@atlaskit/pragmatic-drag-and-drop/combine';
|
|
14
14
|
import { draggable } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
|
|
15
15
|
import { blockDraggingToIFrames } from '@atlaskit/pragmatic-drag-and-drop/element/block-dragging-to-iframes';
|
|
@@ -17,7 +17,7 @@ import { disableNativeDragPreview } from '@atlaskit/pragmatic-drag-and-drop/elem
|
|
|
17
17
|
import { preventUnhandled } from '@atlaskit/pragmatic-drag-and-drop/prevent-unhandled';
|
|
18
18
|
import Tooltip from '@atlaskit/tooltip';
|
|
19
19
|
import TooltipContainer from '@atlaskit/tooltip/TooltipContainer';
|
|
20
|
-
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
20
|
+
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
21
21
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
22
22
|
import { contentInsetBlockStart } from '../constants';
|
|
23
23
|
import { convertResizeBoundToPixels } from './convert-resize-bound-to-pixels';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { useContext, useEffect, useState } from 'react';
|
|
2
2
|
import invariant from 'tiny-invariant';
|
|
3
|
-
import { useOpenLayerObserver } from '@atlaskit/layering/
|
|
3
|
+
import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
|
|
4
4
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
5
5
|
import { openLayerObserverSideNavNamespace, openLayerObserverTopNavEndNamespace, openLayerObserverTopNavMiddleNamespace, openLayerObserverTopNavStartNamespace, sideNavPanelSplitterId } from '../constants';
|
|
6
6
|
import { useToggleSideNav } from '../side-nav/use-toggle-side-nav';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* root.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* root.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import "./root.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useEffect, useRef } from 'react';
|
|
5
|
-
import { OpenLayerObserver } from '@atlaskit/layering/
|
|
5
|
+
import { OpenLayerObserver } from '@atlaskit/layering/open-layer-observer';
|
|
6
6
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* side-nav-content.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* side-nav-content.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import "./side-nav-content.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { forwardRef, useMemo, useRef } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* side-nav.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* side-nav.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./side-nav.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -8,7 +8,8 @@ import { flushSync } from 'react-dom';
|
|
|
8
8
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
9
9
|
import mergeRefs from '@atlaskit/ds-lib/merge-refs';
|
|
10
10
|
import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
|
|
11
|
-
import { OpenLayerObserverNamespaceProvider
|
|
11
|
+
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
|
|
12
|
+
import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
|
|
12
13
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
13
14
|
import { monitorForElements } from '@atlaskit/pragmatic-drag-and-drop/element/adapter';
|
|
14
15
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- TODO: migrate to @atlaskit/primitives/compiled
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* toggle-button.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* toggle-button.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
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';
|
|
@@ -6,7 +6,7 @@ import { bind } from 'bind-event-listener';
|
|
|
6
6
|
import { useAnalyticsEvents } from '@atlaskit/analytics-next';
|
|
7
7
|
import SidebarCollapseIcon from '@atlaskit/icon/core/sidebar-collapse';
|
|
8
8
|
import SidebarExpandIcon from '@atlaskit/icon/core/sidebar-expand';
|
|
9
|
-
import { useOpenLayerObserver } from '@atlaskit/layering/
|
|
9
|
+
import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
|
|
10
10
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
11
11
|
import { IconButton } from '../../top-nav-items/themed/icon-button';
|
|
12
12
|
import { SideNavToggleButtonAttachRef } from './side-nav-toggle-button-attach-ref';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { useEffect } from 'react';
|
|
2
2
|
import { bind } from 'bind-event-listener';
|
|
3
3
|
import useStableRef from '@atlaskit/ds-lib/use-stable-ref';
|
|
4
|
-
import { useOpenLayerObserver } from '@atlaskit/layering/
|
|
4
|
+
import { useOpenLayerObserver } from '@atlaskit/layering/use-open-layer-observer';
|
|
5
5
|
import { useIsFhsEnabled } from '../../fhs-rollout/use-is-fhs-enabled';
|
|
6
6
|
import { useIsSideNavShortcutEnabled } from './use-is-side-nav-shortcut-enabled';
|
|
7
7
|
import { useToggleSideNav } from './use-toggle-side-nav';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* top-nav-end.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* top-nav-end.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./top-nav-end.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -6,7 +6,7 @@ import React, { useState } from 'react';
|
|
|
6
6
|
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
|
-
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/
|
|
9
|
+
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
|
|
10
10
|
import Popup from '@atlaskit/popup';
|
|
11
11
|
import { UNSAFE_useMediaQuery as useMediaQuery } from '@atlaskit/primitives/compiled';
|
|
12
12
|
import { List } from '../../../components/list';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/* top-nav-middle.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* top-nav-middle.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import "./top-nav-middle.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|
|
5
|
-
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/
|
|
5
|
+
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
|
|
6
6
|
import { openLayerObserverTopNavMiddleNamespace } from '../constants';
|
|
7
7
|
const styles = {
|
|
8
8
|
root: "_zulpu2gc _yyhycs5v _1bsb1osq _4cvr1h6o _1e0c1txw _1bahh9n0 _181n11p5 _1j8b15b0 _lagd1bp4 _1t4c1ris _12e8h9n0"
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
/* top-nav-start.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* top-nav-start.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import "./top-nav-start.compiled.css";
|
|
3
3
|
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
|
-
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/
|
|
6
|
+
import { OpenLayerObserverNamespaceProvider } from '@atlaskit/layering/open-layer-observer-namespace-provider';
|
|
7
7
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
8
8
|
import { UNSAFE_useMediaQuery } from '@atlaskit/primitives/compiled';
|
|
9
9
|
import { TopNavStartAttachRef } from '../../../context/top-nav-start/top-nav-start-attach-ref';
|
|
@@ -1,5 +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
4
|
import { IconButton } from './themed/icon-button';
|
|
4
5
|
const toggleButtonTooltipOptions = {
|
|
5
6
|
// We're disabling pointer events on the tooltip to prevent it from blocking mouse events, so that the side nav flyout stays open
|
|
@@ -14,25 +15,31 @@ const toggleButtonTooltipOptions = {
|
|
|
14
15
|
*/
|
|
15
16
|
export const AppSwitcher = /*#__PURE__*/forwardRef(({
|
|
16
17
|
label,
|
|
18
|
+
icon,
|
|
17
19
|
onClick,
|
|
18
20
|
onMouseEnter,
|
|
19
21
|
interactionName,
|
|
20
22
|
isSelected,
|
|
23
|
+
testId,
|
|
21
24
|
'aria-controls': ariaControls,
|
|
22
25
|
'aria-expanded': ariaExpanded,
|
|
23
26
|
'aria-haspopup': ariaHasPopup
|
|
24
|
-
}, ref) =>
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
27
|
+
}, ref) => {
|
|
28
|
+
const pickedAppSwitcherIcon = fg('platform_dst_ads_appswitcher_improvements') ? icon !== null && icon !== void 0 ? icon : AppSwitcherIcon : AppSwitcherIcon;
|
|
29
|
+
return /*#__PURE__*/React.createElement(IconButton, {
|
|
30
|
+
ref: ref,
|
|
31
|
+
"aria-controls": ariaControls,
|
|
32
|
+
"aria-expanded": ariaExpanded,
|
|
33
|
+
"aria-haspopup": ariaHasPopup,
|
|
34
|
+
icon: pickedAppSwitcherIcon,
|
|
35
|
+
label: label,
|
|
36
|
+
appearance: "subtle",
|
|
37
|
+
onClick: onClick,
|
|
38
|
+
onMouseEnter: onMouseEnter,
|
|
39
|
+
interactionName: interactionName,
|
|
40
|
+
isTooltipDisabled: false,
|
|
41
|
+
tooltip: toggleButtonTooltipOptions,
|
|
42
|
+
isSelected: isSelected,
|
|
43
|
+
testId: testId
|
|
44
|
+
});
|
|
45
|
+
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* custom-logo.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* custom-logo.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import "./custom-logo.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useEffect, useRef } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* logo-renderer.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* logo-renderer.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import { useHasCustomTheme } from '../themed/has-custom-theme-context';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
2
|
._11q71c9b{background:var(--ds-top-bar-button-disabled-background)}
|
|
4
3
|
._11q71qds{background:var(--ds-top-bar-button-selected-background)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* themed-anchor.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* themed-anchor.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./themed-anchor.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* themed-button.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* themed-button.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./themed-button.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
/* themed-icon-button.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* themed-icon-button.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
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
6
|
import Tooltip from '@atlaskit/tooltip';
|
|
7
|
-
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
7
|
+
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
8
8
|
import IconRenderer from '../icon-renderer';
|
|
9
9
|
import { ThemedPressable } from './themed-pressable';
|
|
10
10
|
export const ThemedIconButton = /*#__PURE__*/forwardRef(function ThemedIconButton({
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* themed-link-button.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* themed-link-button.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./themed-link-button.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -3,7 +3,7 @@ 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
5
|
import Tooltip from '@atlaskit/tooltip';
|
|
6
|
-
import VisuallyHidden from '@atlaskit/visually-hidden';
|
|
6
|
+
import VisuallyHidden from '@atlaskit/visually-hidden/visually-hidden';
|
|
7
7
|
import { ThemedAnchor } from './themed-anchor';
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
|
|
2
1
|
._11c8fhey{font:var(--ds-font-body,normal 400 14px/20px "Atlassian Sans",ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Ubuntu,"Helvetica Neue",sans-serif)}
|
|
3
2
|
._11q71c9b{background:var(--ds-top-bar-button-disabled-background)}
|
|
4
3
|
._11q71qds{background:var(--ds-top-bar-button-selected-background)}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* themed-pressable.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* themed-pressable.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import "./themed-pressable.compiled.css";
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* skip-links-container.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* skip-links-container.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
3
3
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
4
4
|
import "./skip-links-container.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* skip-links-popup.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* skip-links-popup.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _extends from "@babel/runtime/helpers/extends";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./skip-links-popup.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* aside.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* aside.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
4
4
|
import "./aside.compiled.css";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* main-sticky-header.tsx generated by @compiled/babel-plugin v0.
|
|
1
|
+
/* main-sticky-header.tsx generated by @compiled/babel-plugin v0.40.0 */
|
|
2
2
|
import "./main-sticky-header.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React from 'react';
|