@atlaskit/navigation-system 0.181.0 → 0.182.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.
- package/CHANGELOG.md +19 -0
- package/package.json +3 -2
- package/src/ui/page-layout/__tests__/unit/react-safety.test.tsx +13 -0
- package/src/ui/page-layout/__tests__/vr-tests/__snapshots__/page-layout/all-slots-banner-height-zero--desktop.png +0 -0
- package/src/ui/page-layout/__tests__/vr-tests/__snapshots__/page-layout/all-slots-custom-sizes--desktop.png +0 -0
- package/src/ui/page-layout/__tests__/vr-tests/__snapshots__/page-layout/all-slots-scrollable--desktop.png +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
# @atlassian/navigation-system
|
|
2
2
|
|
|
3
|
+
## 0.182.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`31c57f650ba07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31c57f650ba07) -
|
|
8
|
+
Adding Server Side Rendering test
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- [`31c57f650ba07`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31c57f650ba07) -
|
|
13
|
+
Improving tests for server side rendering and hydration
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 0.181.1
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- Updated dependencies
|
|
21
|
+
|
|
3
22
|
## 0.181.0
|
|
4
23
|
|
|
5
24
|
### Minor Changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/navigation-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.182.0",
|
|
4
4
|
"description": "The latest navigation system for Atlassian apps.",
|
|
5
5
|
"repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
|
|
6
6
|
"author": "Atlassian Pty Ltd",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"@atlaskit/button": "^23.4.0",
|
|
117
117
|
"@atlaskit/css": "^0.12.0",
|
|
118
118
|
"@atlaskit/ds-lib": "^5.0.0",
|
|
119
|
-
"@atlaskit/icon": "^
|
|
119
|
+
"@atlaskit/icon": "^28.0.0",
|
|
120
120
|
"@atlaskit/layering": "^3.0.0",
|
|
121
121
|
"@atlaskit/logo": "^19.7.0",
|
|
122
122
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
@@ -162,6 +162,7 @@
|
|
|
162
162
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
163
163
|
"@atlassian/gemini": "^1.20.0",
|
|
164
164
|
"@atlassian/search-dialog": "^9.6.0",
|
|
165
|
+
"@atlassian/ssr-tests": "^0.3.0",
|
|
165
166
|
"@axe-core/playwright": "^4.8.0",
|
|
166
167
|
"@testing-library/react": "^13.4.0",
|
|
167
168
|
"@testing-library/react-hooks": "^8.0.1",
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
|
|
3
|
+
import { doesHydrateWithSsr, doesRenderWithSsr } from '@atlassian/ssr-tests';
|
|
4
|
+
|
|
3
5
|
import CompositionExample from '../../../../../examples/composition';
|
|
4
6
|
|
|
5
7
|
import { resetMatchMedia } from './_test-utils';
|
|
@@ -15,3 +17,14 @@ it('should support being suspended', async () => {
|
|
|
15
17
|
it('should be strict mode compliant', async () => {
|
|
16
18
|
await expect(() => <CompositionExample />).toPassStrictMode();
|
|
17
19
|
});
|
|
20
|
+
|
|
21
|
+
it('should be able to be server side rendered (SSR)', async () => {
|
|
22
|
+
expect(await doesRenderWithSsr(<CompositionExample />)).toBe(true);
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
// TODO: nav4 currently does not pass hydration due to how React Context is
|
|
26
|
+
// currently being used. We cannot trigger updates in response to Context updates
|
|
27
|
+
// in the initial render
|
|
28
|
+
it.skip('should be able to be hydrated after server side rendered (SSR)', async () => {
|
|
29
|
+
expect(await doesHydrateWithSsr(<CompositionExample />)).toBe(true);
|
|
30
|
+
});
|
|
Binary file
|
|
Binary file
|