@atlaskit/page-layout 3.4.7 → 3.5.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 CHANGED
@@ -1,5 +1,19 @@
1
1
  # @atlaskit/page-layout
2
2
 
3
+ ## 3.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#121452](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/121452)
8
+ [`b49735b1f1e69`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b49735b1f1e69) -
9
+ Fix zindex for content container in page-layout behind FF
10
+ 'ally-jira-team.issue-sideview.inaccurate-reading-order_yna0p'. If successful will remove flag in
11
+ a cleanup PR.
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies
16
+
3
17
  ## 3.4.7
4
18
 
5
19
  ### Patch Changes
@@ -5,7 +5,9 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
- var _constants = require("../../common/constants");
8
+ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
9
+ var _constants = require("@atlaskit/theme/constants");
10
+ var _constants2 = require("../../common/constants");
9
11
  /**
10
12
  * @jsxRuntime classic
11
13
  */
@@ -13,12 +15,15 @@ var _constants = require("../../common/constants");
13
15
 
14
16
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
15
17
 
18
+ var zIndexStyle = (0, _react.css)({
19
+ zIndex: _constants.layers.navigation()
20
+ });
16
21
  var contentStyles = (0, _react.css)({
17
22
  display: 'flex',
18
23
  height: '100%',
19
24
  position: 'relative',
20
25
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
21
- gridArea: _constants.CONTENT
26
+ gridArea: _constants2.CONTENT
22
27
  });
23
28
 
24
29
  /**
@@ -34,7 +39,7 @@ var Content = function Content(props) {
34
39
  testId = props.testId;
35
40
  return (0, _react.jsx)("div", {
36
41
  "data-testid": testId,
37
- css: contentStyles
42
+ css: [contentStyles, (0, _platformFeatureFlags.fg)('ally-jira-team.issue-sideview.inaccurate-reading-order_yna0p') && zIndexStyle]
38
43
  }, children);
39
44
  };
40
45
  var _default = exports.default = Content;
@@ -3,9 +3,16 @@
3
3
  */
4
4
  /** @jsx jsx */
5
5
 
6
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
6
  import { css, jsx } from '@emotion/react';
7
+ import { fg } from '@atlaskit/platform-feature-flags';
8
+ import { layers } from '@atlaskit/theme/constants';
9
+
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
+
8
12
  import { CONTENT } from '../../common/constants';
13
+ const zIndexStyle = css({
14
+ zIndex: layers.navigation()
15
+ });
9
16
  const contentStyles = css({
10
17
  display: 'flex',
11
18
  height: '100%',
@@ -29,7 +36,7 @@ const Content = props => {
29
36
  } = props;
30
37
  return jsx("div", {
31
38
  "data-testid": testId,
32
- css: contentStyles
39
+ css: [contentStyles, fg('ally-jira-team.issue-sideview.inaccurate-reading-order_yna0p') && zIndexStyle]
33
40
  }, children);
34
41
  };
35
42
  export default Content;
@@ -3,9 +3,16 @@
3
3
  */
4
4
  /** @jsx jsx */
5
5
 
6
- // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
7
6
  import { css, jsx } from '@emotion/react';
7
+ import { fg } from '@atlaskit/platform-feature-flags';
8
+ import { layers } from '@atlaskit/theme/constants';
9
+
10
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
+
8
12
  import { CONTENT } from '../../common/constants';
13
+ var zIndexStyle = css({
14
+ zIndex: layers.navigation()
15
+ });
9
16
  var contentStyles = css({
10
17
  display: 'flex',
11
18
  height: '100%',
@@ -27,7 +34,7 @@ var Content = function Content(props) {
27
34
  testId = props.testId;
28
35
  return jsx("div", {
29
36
  "data-testid": testId,
30
- css: contentStyles
37
+ css: [contentStyles, fg('ally-jira-team.issue-sideview.inaccurate-reading-order_yna0p') && zIndexStyle]
31
38
  }, children);
32
39
  };
33
40
  export default Content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "3.4.7",
3
+ "version": "3.5.0",
4
4
  "description": "A collection of components which let you compose an application's page layout.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -46,7 +46,7 @@
46
46
  "@atlaskit/platform-feature-flags": "^0.3.0",
47
47
  "@atlaskit/primitives": "^11.0.0",
48
48
  "@atlaskit/theme": "^12.11.0",
49
- "@atlaskit/tokens": "^1.54.0",
49
+ "@atlaskit/tokens": "^1.56.0",
50
50
  "@babel/runtime": "^7.0.0",
51
51
  "@emotion/react": "^11.7.1",
52
52
  "bind-event-listener": "^3.0.0",
@@ -59,7 +59,7 @@
59
59
  "devDependencies": {
60
60
  "@af/accessibility-testing": "*",
61
61
  "@af/integration-testing": "*",
62
- "@atlaskit/atlassian-navigation": "^4.2.0",
62
+ "@atlaskit/atlassian-navigation": "^4.3.0",
63
63
  "@atlaskit/atlassian-notifications": "^0.4.0",
64
64
  "@atlaskit/drawer": "^7.13.0",
65
65
  "@atlaskit/logo": "^14.1.0",
@@ -119,6 +119,9 @@
119
119
  },
120
120
  "platform.atlassian.griffin-navigation-redesign": {
121
121
  "type": "boolean"
122
+ },
123
+ "ally-jira-team.issue-sideview.inaccurate-reading-order_yna0p": {
124
+ "type": "boolean"
122
125
  }
123
126
  }
124
127
  }