@atlaskit/navigation-system 11.7.2 → 11.7.4
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/constellation/index/migration-guide.mdx +19 -18
- 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.js +1 -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.js +1 -1
- package/dist/cjs/ui/page-layout/banner.js +1 -1
- package/dist/cjs/ui/page-layout/chat-panel.js +1 -1
- package/dist/cjs/ui/page-layout/local-panel-surface.js +1 -1
- package/dist/cjs/ui/page-layout/main/main-sticky-header.js +1 -1
- package/dist/cjs/ui/page-layout/main/main.js +1 -1
- package/dist/cjs/ui/page-layout/panel-layout-shell.js +1 -1
- package/dist/cjs/ui/page-layout/panel-splitter/panel-splitter.js +1 -1
- package/dist/cjs/ui/page-layout/panel.js +1 -1
- package/dist/cjs/ui/page-layout/ribbon.js +1 -1
- package/dist/cjs/ui/page-layout/root.js +1 -1
- 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.js +1 -1
- package/dist/cjs/ui/page-layout/side-nav/toggle-button.js +1 -1
- package/dist/cjs/ui/page-layout/top-nav/top-nav-end.js +1 -1
- package/dist/cjs/ui/page-layout/top-nav/top-nav-middle.js +1 -1
- package/dist/cjs/ui/page-layout/top-nav/top-nav-start.js +1 -1
- package/dist/cjs/ui/page-layout/top-nav/top-nav.js +5 -7
- package/dist/cjs/ui/top-nav-items/custom-title.js +1 -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.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.js +1 -1
- package/dist/cjs/ui/top-nav-items/themed/responsive-icon-button.js +1 -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 +1 -1
- package/dist/cjs/ui/top-nav-items/themed/themed-link-button.js +1 -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.js +1 -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.js +1 -1
- package/dist/es2019/ui/page-layout/banner.js +1 -1
- package/dist/es2019/ui/page-layout/chat-panel.js +1 -1
- package/dist/es2019/ui/page-layout/local-panel-surface.js +1 -1
- package/dist/es2019/ui/page-layout/main/main-sticky-header.js +1 -1
- package/dist/es2019/ui/page-layout/main/main.js +1 -1
- package/dist/es2019/ui/page-layout/panel-layout-shell.js +1 -1
- package/dist/es2019/ui/page-layout/panel-splitter/panel-splitter.js +1 -1
- package/dist/es2019/ui/page-layout/panel.js +1 -1
- package/dist/es2019/ui/page-layout/ribbon.js +1 -1
- package/dist/es2019/ui/page-layout/root.js +1 -1
- 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.js +1 -1
- package/dist/es2019/ui/page-layout/side-nav/toggle-button.js +1 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav-end.js +1 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav-middle.js +1 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav-start.js +1 -1
- package/dist/es2019/ui/page-layout/top-nav/top-nav.js +5 -7
- package/dist/es2019/ui/top-nav-items/custom-title.js +1 -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.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.js +1 -1
- package/dist/es2019/ui/top-nav-items/themed/responsive-icon-button.js +1 -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 +1 -1
- package/dist/es2019/ui/top-nav-items/themed/themed-link-button.js +1 -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.js +1 -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.js +1 -1
- package/dist/esm/ui/page-layout/banner.js +1 -1
- package/dist/esm/ui/page-layout/chat-panel.js +1 -1
- package/dist/esm/ui/page-layout/local-panel-surface.js +1 -1
- package/dist/esm/ui/page-layout/main/main-sticky-header.js +1 -1
- package/dist/esm/ui/page-layout/main/main.js +1 -1
- package/dist/esm/ui/page-layout/panel-layout-shell.js +1 -1
- package/dist/esm/ui/page-layout/panel-splitter/panel-splitter.js +1 -1
- package/dist/esm/ui/page-layout/panel.js +1 -1
- package/dist/esm/ui/page-layout/ribbon.js +1 -1
- package/dist/esm/ui/page-layout/root.js +1 -1
- 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.js +1 -1
- package/dist/esm/ui/page-layout/side-nav/toggle-button.js +1 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav-end.js +1 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav-middle.js +1 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav-start.js +1 -1
- package/dist/esm/ui/page-layout/top-nav/top-nav.js +5 -7
- package/dist/esm/ui/top-nav-items/custom-title.js +1 -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.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.js +1 -1
- package/dist/esm/ui/top-nav-items/themed/responsive-icon-button.js +1 -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 +1 -1
- package/dist/esm/ui/top-nav-items/themed/themed-link-button.js +1 -1
- package/dist/esm/ui/top-nav-items/themed/themed-pressable.js +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlassian/navigation-system
|
|
2
2
|
|
|
3
|
+
## 11.7.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 11.7.3
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [`e101697538934`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e101697538934) -
|
|
14
|
+
Show the TopNav skip link with the Global navigation fallback label when
|
|
15
|
+
platform_dst_nav4_skip_link_a11y_1 is enabled.
|
|
16
|
+
|
|
3
17
|
## 11.7.2
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -11,12 +11,11 @@ import Link from '@atlaskit/link';
|
|
|
11
11
|
import { Code } from '@atlaskit/code';
|
|
12
12
|
|
|
13
13
|
<SectionMessage title="Further guidance for Atlassians">
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
.
|
|
14
|
+
|
|
15
|
+
This page covers the Design System visual primitives. For guidance on the broader platform
|
|
16
|
+
components — such as the customisation modal, app switcher data, and user personalisation — see
|
|
17
|
+
[navigation resources (Atlassians only)](https://hello.atlassian.net/wiki/spaces/navx/pages/5104144812).
|
|
18
|
+
|
|
20
19
|
</SectionMessage>
|
|
21
20
|
|
|
22
21
|
This guide covers migration from the old [page layout](/components/page-layout),
|
|
@@ -134,7 +133,7 @@ This guide covers migration from the old [page layout](/components/page-layout),
|
|
|
134
133
|
<td>
|
|
135
134
|
<Code>useSkipLink</Code> — see{' '}
|
|
136
135
|
<Link href="/components/navigation-system/layout/examples#custom-skip-links">
|
|
137
|
-
custom skip links
|
|
136
|
+
{'custom skip links'}
|
|
138
137
|
</Link>
|
|
139
138
|
</td>
|
|
140
139
|
</tr>
|
|
@@ -273,9 +272,10 @@ home and app switcher, previously also in this area, now live in `TopNavStart`.
|
|
|
273
272
|
</td>
|
|
274
273
|
<td>
|
|
275
274
|
<Link href="/components/navigation-system/top-nav-items/code#createbutton">
|
|
276
|
-
CreateButton
|
|
277
|
-
</Link>
|
|
278
|
-
inside
|
|
275
|
+
{'CreateButton'}
|
|
276
|
+
</Link>
|
|
277
|
+
{' inside '}
|
|
278
|
+
<Code><TopNavMiddle></Code>
|
|
279
279
|
</td>
|
|
280
280
|
</tr>
|
|
281
281
|
<tr>
|
|
@@ -293,9 +293,10 @@ home and app switcher, previously also in this area, now live in `TopNavStart`.
|
|
|
293
293
|
</td>
|
|
294
294
|
<td>
|
|
295
295
|
<Link href="/components/navigation-system/top-nav-items/code#notifications">
|
|
296
|
-
Notifications
|
|
297
|
-
</Link>
|
|
298
|
-
inside
|
|
296
|
+
{'Notifications'}
|
|
297
|
+
</Link>
|
|
298
|
+
{' inside '}
|
|
299
|
+
<Code><TopNavEnd></Code>
|
|
299
300
|
</td>
|
|
300
301
|
</tr>
|
|
301
302
|
<tr>
|
|
@@ -445,7 +446,7 @@ Side nav items are in the separate
|
|
|
445
446
|
</td>
|
|
446
447
|
<td>
|
|
447
448
|
<Link href="https://atlaskit.atlassian.com/packages/navigation/side-nav-items#link-menu-item">
|
|
448
|
-
LinkMenuItem
|
|
449
|
+
{'LinkMenuItem'}
|
|
449
450
|
</Link>
|
|
450
451
|
</td>
|
|
451
452
|
</tr>
|
|
@@ -455,7 +456,7 @@ Side nav items are in the separate
|
|
|
455
456
|
</td>
|
|
456
457
|
<td>
|
|
457
458
|
<Link href="https://atlaskit.atlassian.com/packages/navigation/side-nav-items#button-menu-item">
|
|
458
|
-
ButtonMenuItem
|
|
459
|
+
{'ButtonMenuItem'}
|
|
459
460
|
</Link>
|
|
460
461
|
</td>
|
|
461
462
|
</tr>
|
|
@@ -474,7 +475,7 @@ Side nav items are in the separate
|
|
|
474
475
|
</td>
|
|
475
476
|
<td>
|
|
476
477
|
<Link href="https://atlaskit.atlassian.com/packages/navigation/side-nav-items#menu-section-and-menu-section-heading">
|
|
477
|
-
MenuSection
|
|
478
|
+
{'MenuSection'}
|
|
478
479
|
</Link>
|
|
479
480
|
</td>
|
|
480
481
|
</tr>
|
|
@@ -484,7 +485,7 @@ Side nav items are in the separate
|
|
|
484
485
|
</td>
|
|
485
486
|
<td>
|
|
486
487
|
<Link href="https://atlaskit.atlassian.com/packages/navigation/side-nav-items#menu-section-and-menu-section-heading">
|
|
487
|
-
MenuSectionHeading
|
|
488
|
+
{'MenuSectionHeading'}
|
|
488
489
|
</Link>
|
|
489
490
|
</td>
|
|
490
491
|
</tr>
|
|
@@ -495,7 +496,7 @@ Side nav items are in the separate
|
|
|
495
496
|
<td>
|
|
496
497
|
See{' '}
|
|
497
498
|
<Link href="https://atlaskit.atlassian.com/packages/navigation/side-nav-items#loading-states">
|
|
498
|
-
loading states
|
|
499
|
+
{'loading states'}
|
|
499
500
|
</Link>
|
|
500
501
|
</td>
|
|
501
502
|
</tr>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* top-nav.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* top-nav.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
"use strict";
|
|
3
3
|
|
|
4
4
|
var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
|
|
@@ -50,7 +50,7 @@ function TopNavOld(_ref) {
|
|
|
50
50
|
xcss = _ref.xcss,
|
|
51
51
|
heightProp = _ref.height,
|
|
52
52
|
_ref$skipLinkLabel = _ref.skipLinkLabel,
|
|
53
|
-
skipLinkLabel = _ref$skipLinkLabel === void 0 ? 'Top Bar' : _ref$skipLinkLabel,
|
|
53
|
+
skipLinkLabel = _ref$skipLinkLabel === void 0 ? (0, _fg.fg)('platform_dst_nav4_skip_link_a11y_1') ? 'Global navigation' : 'Top Bar' : _ref$skipLinkLabel,
|
|
54
54
|
testId = _ref.testId,
|
|
55
55
|
providedId = _ref.id,
|
|
56
56
|
customThemeConfig = _ref.customTheme;
|
|
@@ -81,8 +81,7 @@ function TopNavOld(_ref) {
|
|
|
81
81
|
});
|
|
82
82
|
(0, _useSkipLinkInternal.useSkipLinkInternal)({
|
|
83
83
|
id: id,
|
|
84
|
-
label: skipLinkLabel
|
|
85
|
-
isHidden: (0, _fg.fg)('platform_dst_nav4_skip_link_a11y_1')
|
|
84
|
+
label: skipLinkLabel
|
|
86
85
|
});
|
|
87
86
|
var height = heightProp !== null && heightProp !== void 0 ? heightProp : (0, _fg.fg)('platform_dst_ads_appswitcher_improvements') ? 56 : 48;
|
|
88
87
|
var customTheme = (0, _useCustomTheme.useCustomTheme)(customThemeConfig);
|
|
@@ -129,7 +128,7 @@ function TopNavNew(_ref2) {
|
|
|
129
128
|
xcss = _ref2.xcss,
|
|
130
129
|
heightProp = _ref2.height,
|
|
131
130
|
_ref2$skipLinkLabel = _ref2.skipLinkLabel,
|
|
132
|
-
skipLinkLabel = _ref2$skipLinkLabel === void 0 ? 'Top Bar' : _ref2$skipLinkLabel,
|
|
131
|
+
skipLinkLabel = _ref2$skipLinkLabel === void 0 ? (0, _fg.fg)('platform_dst_nav4_skip_link_a11y_1') ? 'Global navigation' : 'Top Bar' : _ref2$skipLinkLabel,
|
|
133
132
|
testId = _ref2.testId,
|
|
134
133
|
providedId = _ref2.id,
|
|
135
134
|
customThemeConfig = _ref2.customTheme;
|
|
@@ -160,8 +159,7 @@ function TopNavNew(_ref2) {
|
|
|
160
159
|
});
|
|
161
160
|
(0, _useSkipLinkInternal.useSkipLinkInternal)({
|
|
162
161
|
id: id,
|
|
163
|
-
label: skipLinkLabel
|
|
164
|
-
isHidden: (0, _fg.fg)('platform_dst_nav4_skip_link_a11y_1')
|
|
162
|
+
label: skipLinkLabel
|
|
165
163
|
});
|
|
166
164
|
var height = heightProp !== null && heightProp !== void 0 ? heightProp : (0, _fg.fg)('platform_dst_ads_appswitcher_improvements') ? 56 : 48;
|
|
167
165
|
var customTheme = (0, _useCustomThemeNew.useCustomThemeNew)(customThemeConfig);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* skip-links-container.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* skip-links-container.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
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 v3.0.
|
|
1
|
+
/* skip-links-popup.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
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
|
-
/* local-panel-surface.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* local-panel-surface.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import "./local-panel-surface.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* main-sticky-header.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* main-sticky-header.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
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-layout-shell.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* panel-layout-shell.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import "./panel-layout-shell.compiled.css";
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import { ax, ix } from "@compiled/react/runtime";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* side-nav-content.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* side-nav-content.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import "./side-nav-content.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { forwardRef } from 'react';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* toggle-button.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* toggle-button.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
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';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* top-nav-end.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* top-nav-end.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
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";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* top-nav-start.tsx generated by @compiled/babel-plugin v3.0.
|
|
1
|
+
/* top-nav-start.tsx generated by @compiled/babel-plugin v3.0.4 */
|
|
2
2
|
import "./top-nav-start.compiled.css";
|
|
3
3
|
import { ax, ix } from "@compiled/react/runtime";
|
|
4
4
|
import React, { useContext, useEffect, useRef } from 'react';
|