@atlaskit/page-layout 3.5.0 → 3.5.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 CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/page-layout
2
2
 
3
+ ## 3.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#122002](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/122002)
8
+ [`c38c1e4f2659d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c38c1e4f2659d) -
9
+ Code reverted for Fix zindex for content container in page-layout behind FF
10
+
3
11
  ## 3.5.0
4
12
 
5
13
  ### Minor Changes
@@ -5,9 +5,7 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _react = require("@emotion/react");
8
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
9
- var _constants = require("@atlaskit/theme/constants");
10
- var _constants2 = require("../../common/constants");
8
+ var _constants = require("../../common/constants");
11
9
  /**
12
10
  * @jsxRuntime classic
13
11
  */
@@ -15,15 +13,12 @@ var _constants2 = require("../../common/constants");
15
13
 
16
14
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
17
15
 
18
- var zIndexStyle = (0, _react.css)({
19
- zIndex: _constants.layers.navigation()
20
- });
21
16
  var contentStyles = (0, _react.css)({
22
17
  display: 'flex',
23
18
  height: '100%',
24
19
  position: 'relative',
25
20
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
26
- gridArea: _constants2.CONTENT
21
+ gridArea: _constants.CONTENT
27
22
  });
28
23
 
29
24
  /**
@@ -39,7 +34,7 @@ var Content = function Content(props) {
39
34
  testId = props.testId;
40
35
  return (0, _react.jsx)("div", {
41
36
  "data-testid": testId,
42
- css: [contentStyles, (0, _platformFeatureFlags.fg)('ally-jira-team.issue-sideview.inaccurate-reading-order_yna0p') && zIndexStyle]
37
+ css: contentStyles
43
38
  }, children);
44
39
  };
45
40
  var _default = exports.default = Content;
@@ -3,16 +3,9 @@
3
3
  */
4
4
  /** @jsx jsx */
5
5
 
6
- import { css, jsx } from '@emotion/react';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
- import { layers } from '@atlaskit/theme/constants';
9
-
10
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
-
7
+ import { css, jsx } from '@emotion/react';
12
8
  import { CONTENT } from '../../common/constants';
13
- const zIndexStyle = css({
14
- zIndex: layers.navigation()
15
- });
16
9
  const contentStyles = css({
17
10
  display: 'flex',
18
11
  height: '100%',
@@ -36,7 +29,7 @@ const Content = props => {
36
29
  } = props;
37
30
  return jsx("div", {
38
31
  "data-testid": testId,
39
- css: [contentStyles, fg('ally-jira-team.issue-sideview.inaccurate-reading-order_yna0p') && zIndexStyle]
32
+ css: contentStyles
40
33
  }, children);
41
34
  };
42
35
  export default Content;
@@ -3,16 +3,9 @@
3
3
  */
4
4
  /** @jsx jsx */
5
5
 
6
- import { css, jsx } from '@emotion/react';
7
- import { fg } from '@atlaskit/platform-feature-flags';
8
- import { layers } from '@atlaskit/theme/constants';
9
-
10
6
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
-
7
+ import { css, jsx } from '@emotion/react';
12
8
  import { CONTENT } from '../../common/constants';
13
- var zIndexStyle = css({
14
- zIndex: layers.navigation()
15
- });
16
9
  var contentStyles = css({
17
10
  display: 'flex',
18
11
  height: '100%',
@@ -34,7 +27,7 @@ var Content = function Content(props) {
34
27
  testId = props.testId;
35
28
  return jsx("div", {
36
29
  "data-testid": testId,
37
- css: [contentStyles, fg('ally-jira-team.issue-sideview.inaccurate-reading-order_yna0p') && zIndexStyle]
30
+ css: contentStyles
38
31
  }, children);
39
32
  };
40
33
  export default Content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
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/"
@@ -119,9 +119,6 @@
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"
125
122
  }
126
123
  }
127
124
  }