@atlaskit/navigation-system 10.10.2 → 10.11.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 +12 -0
- package/dist/cjs/ui/page-layout/main/main.compiled.css +1 -1
- package/dist/cjs/ui/page-layout/main/main.js +2 -3
- package/dist/es2019/ui/page-layout/main/main.compiled.css +1 -1
- package/dist/es2019/ui/page-layout/main/main.js +2 -3
- package/dist/esm/ui/page-layout/main/main.compiled.css +1 -1
- package/dist/esm/ui/page-layout/main/main.js +2 -3
- package/package.json +2 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlassian/navigation-system
|
|
2
2
|
|
|
3
|
+
## 10.11.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`1960192b10121`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1960192b10121) -
|
|
8
|
+
Cleanup feature gate `platform-ads-nav-fixed-height`. The `Main` component in `navigation-system`
|
|
9
|
+
now always applies a fixed height at smaller viewports (the gate-on behaviour is now permanent).
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 10.10.2
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
._19121cl4{isolation:isolate}
|
|
4
4
|
._1reo1wug{overflow-x:auto}
|
|
5
5
|
._4t3ieqxy{height:calc(100vh - var(--n_bnrM, 0px) - var(--n_tNvM, 0px))}
|
|
6
|
-
@media (min-width:64rem){._qwfh1wug{isolation:auto}.
|
|
6
|
+
@media (min-width:64rem){._qwfh1wug{isolation:auto}._13wn1if8{position:sticky}}
|
|
@@ -16,8 +16,7 @@ var _constants = require("../constants");
|
|
|
16
16
|
var _useLayoutId = require("../use-layout-id");
|
|
17
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
18
18
|
var mainElementStyles = {
|
|
19
|
-
root: "_nd5l1gzg _1reo1wug _18m91wug _19121cl4 _152timx3 _qwfh1wug
|
|
20
|
-
fixedHeight: "_4t3ieqxy"
|
|
19
|
+
root: "_nd5l1gzg _1reo1wug _18m91wug _19121cl4 _152timx3 _4t3ieqxy _qwfh1wug _13wn1if8"
|
|
21
20
|
};
|
|
22
21
|
|
|
23
22
|
/**
|
|
@@ -37,7 +36,7 @@ function Main(_ref) {
|
|
|
37
36
|
return /*#__PURE__*/React.createElement(_react.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
38
37
|
id: id,
|
|
39
38
|
"data-layout-slot": true,
|
|
40
|
-
className: (0, _runtime.ax)([mainElementStyles.root,
|
|
39
|
+
className: (0, _runtime.ax)([mainElementStyles.root, xcss]),
|
|
41
40
|
role: "main",
|
|
42
41
|
"data-testid": testId
|
|
43
42
|
}, children));
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
._19121cl4{isolation:isolate}
|
|
4
4
|
._1reo1wug{overflow-x:auto}
|
|
5
5
|
._4t3ieqxy{height:calc(100vh - var(--n_bnrM, 0px) - var(--n_tNvM, 0px))}
|
|
6
|
-
@media (min-width:64rem){._qwfh1wug{isolation:auto}.
|
|
6
|
+
@media (min-width:64rem){._qwfh1wug{isolation:auto}._13wn1if8{position:sticky}}
|
|
@@ -8,8 +8,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';
|
|
10
10
|
const mainElementStyles = {
|
|
11
|
-
root: "_nd5l1gzg _1reo1wug _18m91wug _19121cl4 _152timx3 _qwfh1wug
|
|
12
|
-
fixedHeight: "_4t3ieqxy"
|
|
11
|
+
root: "_nd5l1gzg _1reo1wug _18m91wug _19121cl4 _152timx3 _4t3ieqxy _qwfh1wug _13wn1if8"
|
|
13
12
|
};
|
|
14
13
|
|
|
15
14
|
/**
|
|
@@ -29,7 +28,7 @@ export function Main({
|
|
|
29
28
|
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
30
29
|
id: id,
|
|
31
30
|
"data-layout-slot": true,
|
|
32
|
-
className: ax([mainElementStyles.root,
|
|
31
|
+
className: ax([mainElementStyles.root, xcss]),
|
|
33
32
|
role: "main",
|
|
34
33
|
"data-testid": testId
|
|
35
34
|
}, children));
|
|
@@ -3,4 +3,4 @@
|
|
|
3
3
|
._19121cl4{isolation:isolate}
|
|
4
4
|
._1reo1wug{overflow-x:auto}
|
|
5
5
|
._4t3ieqxy{height:calc(100vh - var(--n_bnrM, 0px) - var(--n_tNvM, 0px))}
|
|
6
|
-
@media (min-width:64rem){._qwfh1wug{isolation:auto}.
|
|
6
|
+
@media (min-width:64rem){._qwfh1wug{isolation:auto}._13wn1if8{position:sticky}}
|
|
@@ -8,8 +8,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';
|
|
10
10
|
var mainElementStyles = {
|
|
11
|
-
root: "_nd5l1gzg _1reo1wug _18m91wug _19121cl4 _152timx3 _qwfh1wug
|
|
12
|
-
fixedHeight: "_4t3ieqxy"
|
|
11
|
+
root: "_nd5l1gzg _1reo1wug _18m91wug _19121cl4 _152timx3 _4t3ieqxy _qwfh1wug _13wn1if8"
|
|
13
12
|
};
|
|
14
13
|
|
|
15
14
|
/**
|
|
@@ -29,7 +28,7 @@ export function Main(_ref) {
|
|
|
29
28
|
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
30
29
|
id: id,
|
|
31
30
|
"data-layout-slot": true,
|
|
32
|
-
className: ax([mainElementStyles.root,
|
|
31
|
+
className: ax([mainElementStyles.root, xcss]),
|
|
33
32
|
role: "main",
|
|
34
33
|
"data-testid": testId
|
|
35
34
|
}, children));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/navigation-system",
|
|
3
|
-
"version": "10.
|
|
3
|
+
"version": "10.11.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",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/button": "^25.0.0",
|
|
60
60
|
"@atlaskit/css": "^1.0.0",
|
|
61
61
|
"@atlaskit/ds-lib": "^8.0.0",
|
|
62
|
-
"@atlaskit/icon": "^37.
|
|
62
|
+
"@atlaskit/icon": "^37.3.0",
|
|
63
63
|
"@atlaskit/layering": "^5.0.0",
|
|
64
64
|
"@atlaskit/logo": "^21.4.0",
|
|
65
65
|
"@atlaskit/motion": "^8.0.0",
|
|
@@ -180,9 +180,6 @@
|
|
|
180
180
|
"platform_dst_ads_appswitcher_improvements": {
|
|
181
181
|
"type": "boolean",
|
|
182
182
|
"referenceOnly": true
|
|
183
|
-
},
|
|
184
|
-
"platform-ads-nav-fixed-height": {
|
|
185
|
-
"type": "boolean"
|
|
186
183
|
}
|
|
187
184
|
},
|
|
188
185
|
"homepage": "https://atlassian.design/components/navigation-system"
|