@atlaskit/page-layout 4.2.29 → 4.2.31

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,18 @@
1
1
  # @atlaskit/page-layout
2
2
 
3
+ ## 4.2.31
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 4.2.30
10
+
11
+ ### Patch Changes
12
+
13
+ - [`3ab7f43a5b43d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3ab7f43a5b43d) -
14
+ Abandon flag to clean up spread props because of usability regressions.
15
+
3
16
  ## 4.2.29
4
17
 
5
18
  ### Patch Changes
@@ -11,7 +11,6 @@ var _objectWithoutProperties2 = _interopRequireDefault(require("@babel/runtime/h
11
11
  var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
12
12
  var React = _interopRequireWildcard(require("react"));
13
13
  var _react2 = require("@emotion/react");
14
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
14
  var _colors = require("@atlaskit/theme/colors");
16
15
  var _constants = require("../../common/constants");
17
16
  var _excluded = ["testId", "valueTextLabel", "isDisabled", "isLeftSidebarCollapsed", "label", "leftSidebarPercentageExpanded", "onKeyDown", "onMouseDown", "onBlur", "onFocus"];
@@ -98,7 +97,7 @@ var GrabArea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
98
97
  onMouseDown: onMouseDown,
99
98
  onFocus: onFocus,
100
99
  onBlur: onBlur
101
- }, (0, _platformFeatureFlags.fg)('platform_dst_spread-props-page-layout') ? {} : rest), (0, _react2.jsx)("span", (0, _extends2.default)({
100
+ }, rest), (0, _react2.jsx)("span", (0, _extends2.default)({
102
101
  css: lineStyles
103
102
  }, grabAreaLineSelector)));
104
103
  });
@@ -12,7 +12,6 @@ var _react = require("@emotion/react");
12
12
  var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
13
13
  var _curves = require("@atlaskit/motion/curves");
14
14
  var _durations = require("@atlaskit/motion/durations");
15
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
16
15
  var _responsive = require("@atlaskit/primitives/responsive");
17
16
  var _colors = require("@atlaskit/theme/colors");
18
17
  var _constants = require("../../common/constants");
@@ -98,7 +97,7 @@ var ResizeButton = function ResizeButton(_ref) {
98
97
  ,
99
98
  onMouseDown: preventDefault,
100
99
  onClick: onClick
101
- }, (0, _platformFeatureFlags.fg)('platform_dst_spread-props-page-layout') ? {} : restProps), (0, _react.jsx)(_chevronRight.default, {
100
+ }, restProps), (0, _react.jsx)(_chevronRight.default, {
102
101
  label: "",
103
102
  color: "currentColor",
104
103
  size: "small"
@@ -6,7 +6,6 @@ import _extends from "@babel/runtime/helpers/extends";
6
6
  import * as React from 'react';
7
7
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
8
8
  import { css, jsx } from '@emotion/react';
9
- import { fg } from '@atlaskit/platform-feature-flags';
10
9
  import { B200 } from '@atlaskit/theme/colors';
11
10
  import { GRAB_AREA_LINE_SELECTOR, GRAB_AREA_SELECTOR } from '../../common/constants';
12
11
  /**
@@ -92,7 +91,7 @@ const GrabArea = /*#__PURE__*/React.forwardRef(({
92
91
  onMouseDown: onMouseDown,
93
92
  onFocus: onFocus,
94
93
  onBlur: onBlur
95
- }, fg('platform_dst_spread-props-page-layout') ? {} : rest), jsx("span", _extends({
94
+ }, rest), jsx("span", _extends({
96
95
  css: lineStyles
97
96
  }, grabAreaLineSelector)));
98
97
  });
@@ -11,7 +11,6 @@ import { css, jsx } from '@emotion/react';
11
11
  import ChevronRight from '@atlaskit/icon/core/chevron-right';
12
12
  import { easeOut } from '@atlaskit/motion/curves';
13
13
  import { durations } from '@atlaskit/motion/durations';
14
- import { fg } from '@atlaskit/platform-feature-flags';
15
14
  import { UNSAFE_media } from '@atlaskit/primitives/responsive';
16
15
  import { B100, B200, N0, N200, N30A } from '@atlaskit/theme/colors';
17
16
  import { RESIZE_BUTTON_SELECTOR } from '../../common/constants';
@@ -97,7 +96,7 @@ const ResizeButton = ({
97
96
  ,
98
97
  onMouseDown: preventDefault,
99
98
  onClick: onClick
100
- }, fg('platform_dst_spread-props-page-layout') ? {} : restProps), jsx(ChevronRight, {
99
+ }, restProps), jsx(ChevronRight, {
101
100
  label: "",
102
101
  color: "currentColor",
103
102
  size: "small"
@@ -9,7 +9,6 @@ var _excluded = ["testId", "valueTextLabel", "isDisabled", "isLeftSidebarCollaps
9
9
  import * as React from 'react';
10
10
  // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
11
11
  import { css, jsx } from '@emotion/react';
12
- import { fg } from '@atlaskit/platform-feature-flags';
13
12
  import { B200 } from '@atlaskit/theme/colors';
14
13
  import { GRAB_AREA_LINE_SELECTOR, GRAB_AREA_SELECTOR } from '../../common/constants';
15
14
  /**
@@ -89,7 +88,7 @@ var GrabArea = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
89
88
  onMouseDown: onMouseDown,
90
89
  onFocus: onFocus,
91
90
  onBlur: onBlur
92
- }, fg('platform_dst_spread-props-page-layout') ? {} : rest), jsx("span", _extends({
91
+ }, rest), jsx("span", _extends({
93
92
  css: lineStyles
94
93
  }, grabAreaLineSelector)));
95
94
  });
@@ -15,7 +15,6 @@ import { css, jsx } from '@emotion/react';
15
15
  import ChevronRight from '@atlaskit/icon/core/chevron-right';
16
16
  import { easeOut } from '@atlaskit/motion/curves';
17
17
  import { durations } from '@atlaskit/motion/durations';
18
- import { fg } from '@atlaskit/platform-feature-flags';
19
18
  import { UNSAFE_media } from '@atlaskit/primitives/responsive';
20
19
  import { B100, B200, N0, N200, N30A } from '@atlaskit/theme/colors';
21
20
  import { RESIZE_BUTTON_SELECTOR } from '../../common/constants';
@@ -92,7 +91,7 @@ var ResizeButton = function ResizeButton(_ref) {
92
91
  ,
93
92
  onMouseDown: preventDefault,
94
93
  onClick: onClick
95
- }, fg('platform_dst_spread-props-page-layout') ? {} : restProps), jsx(ChevronRight, {
94
+ }, restProps), jsx(ChevronRight, {
96
95
  label: "",
97
96
  color: "currentColor",
98
97
  size: "small"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/page-layout",
3
- "version": "4.2.29",
3
+ "version": "4.2.31",
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/"
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/motion": "^5.3.0",
44
44
  "@atlaskit/platform-feature-flags": "^1.1.0",
45
45
  "@atlaskit/primitives": "^18.0.0",
46
- "@atlaskit/theme": "^21.0.0",
46
+ "@atlaskit/theme": "^22.0.0",
47
47
  "@atlaskit/tokens": "^11.0.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1",
@@ -58,8 +58,8 @@
58
58
  "@af/accessibility-testing": "workspace:^",
59
59
  "@af/integration-testing": "workspace:^",
60
60
  "@atlaskit/atlassian-navigation": "^5.6.0",
61
- "@atlaskit/button": "^23.9.0",
62
- "@atlaskit/docs": "^11.4.0",
61
+ "@atlaskit/button": "^23.10.0",
62
+ "@atlaskit/docs": "^11.5.0",
63
63
  "@atlaskit/logo": "^19.10.0",
64
64
  "@atlaskit/menu": "^8.4.0",
65
65
  "@atlaskit/popup": "^4.13.0",
@@ -75,9 +75,6 @@
75
75
  "platform_dst_popup-disable-focuslock": {
76
76
  "type": "boolean",
77
77
  "referenceOnly": "true"
78
- },
79
- "platform_dst_spread-props-page-layout": {
80
- "type": "boolean"
81
78
  }
82
79
  },
83
80
  "keywords": [