@atlaskit/renderer 133.7.0 → 133.7.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,14 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 133.7.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`5b844f57bfad8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5b844f57bfad8) -
8
+ [ED-7731] Preserve the editor selection when inserting, deleting, or resizing layout columns with
9
+ the cursor inside a column, instead of moving it out of the layout. Gated behind
10
+ platform_editor_layout_column_menu_kill_switch_1.
11
+
3
12
  ## 133.7.0
4
13
 
5
14
  ### Minor Changes
@@ -17,7 +17,7 @@ var _runtime = require("@compiled/react/runtime");
17
17
  var _react = _interopRequireDefault(require("react"));
18
18
  var _ui = require("@atlaskit/editor-common/ui");
19
19
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
20
- var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
20
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
21
21
  // localized styles, was from clearNextSiblingMarginTopStyle in @atlaskit/editor-common/ui
22
22
  var clearNextSiblingMarginTopStyle = null;
23
23
  var verticalAlignMiddleStyles = null;
@@ -27,9 +27,8 @@ var multipleWrappedImagesStyle = null;
27
27
  // localized styles, was from clearNextSiblingBlockMarkMarginTopStyle in @atlaskit/editor-common/ui
28
28
  var clearNextSiblingBlockMarkMarginTopStyle = null;
29
29
  var LayoutSectionCompiled = exports.LayoutSectionCompiled = function LayoutSectionCompiled(props) {
30
- var isLayoutColumnMenuEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true);
31
- // Pure rollout gate: no A/B exposure analysis is planned for this rendering switch.
32
- var isLayoutColumnValignRenderingEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
30
+ var isLayoutColumnMenuEnabled = (0, _expValEquals.expValEquals)('platform_editor_layout_column_menu', 'isEnabled', true);
31
+ var isLayoutColumnValignRenderingEnabled = (0, _expValEquals.expValEquals)('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
33
32
  return /*#__PURE__*/_react.default.createElement("div", {
34
33
  "data-layout-column": true,
35
34
  "data-column-width": props.width,
@@ -10,7 +10,7 @@ var _react = _interopRequireDefault(require("react"));
10
10
  var _react2 = require("@emotion/react");
11
11
  var _ui = require("@atlaskit/editor-common/ui");
12
12
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
13
- var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
13
+ var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
14
14
  /**
15
15
  * @jsxRuntime classic
16
16
  * @jsx jsx
@@ -57,9 +57,8 @@ var clearNextSiblingBlockMarkMarginTopStyle = (0, _react2.css)((0, _defineProper
57
57
  marginTop: '0 !important'
58
58
  }));
59
59
  var LayoutSectionEmotion = exports.LayoutSectionEmotion = function LayoutSectionEmotion(props) {
60
- var isLayoutColumnMenuEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_menu', 'isEnabled', true);
61
- // Pure rollout gate: no A/B exposure analysis is planned for this rendering switch.
62
- var isLayoutColumnValignRenderingEnabled = (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
60
+ var isLayoutColumnMenuEnabled = (0, _expValEquals.expValEquals)('platform_editor_layout_column_menu', 'isEnabled', true);
61
+ var isLayoutColumnValignRenderingEnabled = (0, _expValEquals.expValEquals)('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
63
62
  return (0, _react2.jsx)("div", {
64
63
  "data-layout-column": true,
65
64
  "data-column-width": props.width,
@@ -72,7 +72,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
72
72
  var TABLE_INFO_TIMEOUT = 10000;
73
73
  var RENDER_EVENT_SAMPLE_RATE = 0.2;
74
74
  var packageName = "@atlaskit/renderer";
75
- var packageVersion = "133.6.1";
75
+ var packageVersion = "133.7.0";
76
76
  var setAsQueryContainerStyles = (0, _react2.css)({
77
77
  containerName: 'ak-renderer-wrapper',
78
78
  containerType: 'inline-size'
@@ -10,7 +10,7 @@ import { ax, ix } from "@compiled/react/runtime";
10
10
  import React from 'react';
11
11
  import { WidthProvider } from '@atlaskit/editor-common/ui';
12
12
  import { fg } from '@atlaskit/platform-feature-flags';
13
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
13
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
14
 
15
15
  // localized styles, was from clearNextSiblingMarginTopStyle in @atlaskit/editor-common/ui
16
16
  const clearNextSiblingMarginTopStyle = null;
@@ -21,9 +21,8 @@ const multipleWrappedImagesStyle = null;
21
21
  // localized styles, was from clearNextSiblingBlockMarkMarginTopStyle in @atlaskit/editor-common/ui
22
22
  const clearNextSiblingBlockMarkMarginTopStyle = null;
23
23
  export const LayoutSectionCompiled = props => {
24
- const isLayoutColumnMenuEnabled = expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true);
25
- // Pure rollout gate: no A/B exposure analysis is planned for this rendering switch.
26
- const isLayoutColumnValignRenderingEnabled = expValEqualsNoExposure('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
24
+ const isLayoutColumnMenuEnabled = expValEquals('platform_editor_layout_column_menu', 'isEnabled', true);
25
+ const isLayoutColumnValignRenderingEnabled = expValEquals('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
27
26
  return /*#__PURE__*/React.createElement("div", {
28
27
  "data-layout-column": true,
29
28
  "data-column-width": props.width,
@@ -14,7 +14,7 @@ import React from 'react';
14
14
  import { css, jsx } from '@emotion/react';
15
15
  import { WidthProvider } from '@atlaskit/editor-common/ui';
16
16
  import { fg } from '@atlaskit/platform-feature-flags';
17
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
17
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
18
 
19
19
  // localized styles, was from clearNextSiblingMarginTopStyle in @atlaskit/editor-common/ui
20
20
  const clearNextSiblingMarginTopStyle = css({
@@ -59,9 +59,8 @@ const clearNextSiblingBlockMarkMarginTopStyle = css({
59
59
  }
60
60
  });
61
61
  export const LayoutSectionEmotion = props => {
62
- const isLayoutColumnMenuEnabled = expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true);
63
- // Pure rollout gate: no A/B exposure analysis is planned for this rendering switch.
64
- const isLayoutColumnValignRenderingEnabled = expValEqualsNoExposure('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
62
+ const isLayoutColumnMenuEnabled = expValEquals('platform_editor_layout_column_menu', 'isEnabled', true);
63
+ const isLayoutColumnValignRenderingEnabled = expValEquals('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
65
64
  return jsx("div", {
66
65
  "data-layout-column": true,
67
66
  "data-column-width": props.width,
@@ -58,7 +58,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
58
58
  const TABLE_INFO_TIMEOUT = 10000;
59
59
  const RENDER_EVENT_SAMPLE_RATE = 0.2;
60
60
  const packageName = "@atlaskit/renderer";
61
- const packageVersion = "133.6.1";
61
+ const packageVersion = "133.7.0";
62
62
  const setAsQueryContainerStyles = css({
63
63
  containerName: 'ak-renderer-wrapper',
64
64
  containerType: 'inline-size'
@@ -10,7 +10,7 @@ import { ax, ix } from "@compiled/react/runtime";
10
10
  import React from 'react';
11
11
  import { WidthProvider } from '@atlaskit/editor-common/ui';
12
12
  import { fg } from '@atlaskit/platform-feature-flags';
13
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
13
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
14
 
15
15
  // localized styles, was from clearNextSiblingMarginTopStyle in @atlaskit/editor-common/ui
16
16
  var clearNextSiblingMarginTopStyle = null;
@@ -21,9 +21,8 @@ var multipleWrappedImagesStyle = null;
21
21
  // localized styles, was from clearNextSiblingBlockMarkMarginTopStyle in @atlaskit/editor-common/ui
22
22
  var clearNextSiblingBlockMarkMarginTopStyle = null;
23
23
  export var LayoutSectionCompiled = function LayoutSectionCompiled(props) {
24
- var isLayoutColumnMenuEnabled = expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true);
25
- // Pure rollout gate: no A/B exposure analysis is planned for this rendering switch.
26
- var isLayoutColumnValignRenderingEnabled = expValEqualsNoExposure('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
24
+ var isLayoutColumnMenuEnabled = expValEquals('platform_editor_layout_column_menu', 'isEnabled', true);
25
+ var isLayoutColumnValignRenderingEnabled = expValEquals('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
27
26
  return /*#__PURE__*/React.createElement("div", {
28
27
  "data-layout-column": true,
29
28
  "data-column-width": props.width,
@@ -15,7 +15,7 @@ import React from 'react';
15
15
  import { css, jsx } from '@emotion/react';
16
16
  import { WidthProvider } from '@atlaskit/editor-common/ui';
17
17
  import { fg } from '@atlaskit/platform-feature-flags';
18
- import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
18
+ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
19
19
 
20
20
  // localized styles, was from clearNextSiblingMarginTopStyle in @atlaskit/editor-common/ui
21
21
  var clearNextSiblingMarginTopStyle = css({
@@ -50,9 +50,8 @@ var clearNextSiblingBlockMarkMarginTopStyle = css(_defineProperty({}, "+ .fabric
50
50
  marginTop: '0 !important'
51
51
  }));
52
52
  export var LayoutSectionEmotion = function LayoutSectionEmotion(props) {
53
- var isLayoutColumnMenuEnabled = expValEqualsNoExposure('platform_editor_layout_column_menu', 'isEnabled', true);
54
- // Pure rollout gate: no A/B exposure analysis is planned for this rendering switch.
55
- var isLayoutColumnValignRenderingEnabled = expValEqualsNoExposure('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
53
+ var isLayoutColumnMenuEnabled = expValEquals('platform_editor_layout_column_menu', 'isEnabled', true);
54
+ var isLayoutColumnValignRenderingEnabled = expValEquals('platform_editor_layout_column_valign_rendering', 'isEnabled', true);
56
55
  return jsx("div", {
57
56
  "data-layout-column": true,
58
57
  "data-column-width": props.width,
@@ -63,7 +63,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
63
63
  var TABLE_INFO_TIMEOUT = 10000;
64
64
  var RENDER_EVENT_SAMPLE_RATE = 0.2;
65
65
  var packageName = "@atlaskit/renderer";
66
- var packageVersion = "133.6.1";
66
+ var packageVersion = "133.7.0";
67
67
  var setAsQueryContainerStyles = css({
68
68
  containerName: 'ak-renderer-wrapper',
69
69
  containerType: 'inline-size'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "133.7.0",
3
+ "version": "133.7.1",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"