@atlaskit/renderer 138.1.6 → 138.1.7

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,12 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 138.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`d79d6327dfa5b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d79d6327dfa5b) -
8
+ Clean up feature gate `platform_fix_nested_num_column_scaling`
9
+
3
10
  ## 138.1.6
4
11
 
5
12
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- /* link-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* link-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* heading.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* heading.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -1,4 +1,4 @@
1
- /* layoutColumn-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* layoutColumn-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  /**
3
3
  * Compiled branch of the `platform_editor_renderer_static_css` experiment.
4
4
  * Used via `componentWithCondition` in `layoutColumn.tsx`.
@@ -1,4 +1,4 @@
1
- /* panel-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* panel-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  "use strict";
3
3
 
4
4
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault");
@@ -217,7 +217,7 @@ var renderScaleDownColgroup = function renderScaleDownColgroup(props) {
217
217
 
218
218
  // Tables with numbered columns inside of extensions cannot use the renderWidth when it is 0. In this case, it should
219
219
  // explicitly use the width coming from the table node as the final table container width.
220
- var tableContainerWidth = rendererAppearance === 'comment' && !(tableNode !== null && tableNode !== void 0 && tableNode.attrs.width) || isRendererNested && (!(0, _fg.fg)('platform_fix_nested_num_column_scaling') || !isNumberColumnEnabled) ? renderWidth : (0, _nodeWidth.getTableContainerWidth)(tableNode);
220
+ var tableContainerWidth = rendererAppearance === 'comment' && !(tableNode !== null && tableNode !== void 0 && tableNode.attrs.width) || isRendererNested && !isNumberColumnEnabled ? renderWidth : (0, _nodeWidth.getTableContainerWidth)(tableNode);
221
221
  if (allowTableResizing && !isInsideOfBlockNode && !isInsideOfTable && !isinsideMultiBodiedExtension && !tableColumnResized) {
222
222
  // when no columns are resized, each column should have equal width, equals to tableWidth / noOfColumns
223
223
  var _tableWidth = (isNumberColumnEnabled ? tableContainerWidth - _editorSharedStyles.akEditorTableNumberColumnWidth : tableContainerWidth) - 1;
@@ -73,7 +73,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
73
73
  var TABLE_INFO_TIMEOUT = 10000;
74
74
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
75
75
  var packageName = "@atlaskit/renderer";
76
- var packageVersion = "138.1.5";
76
+ var packageVersion = "138.1.6";
77
77
  var setAsQueryContainerStyles = (0, _react2.css)({
78
78
  containerName: 'ak-renderer-wrapper',
79
79
  containerType: 'inline-size'
@@ -1,4 +1,4 @@
1
- /* link-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* link-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./link-compiled.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* heading.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* heading.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import "./heading.compiled.css";
3
3
  import { ax, ix } from "@compiled/react/runtime";
4
4
  import React from 'react';
@@ -1,4 +1,4 @@
1
- /* layoutColumn-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* layoutColumn-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  /**
3
3
  * Compiled branch of the `platform_editor_renderer_static_css` experiment.
4
4
  * Used via `componentWithCondition` in `layoutColumn.tsx`.
@@ -1,4 +1,4 @@
1
- /* panel-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* panel-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./panel-compiled.compiled.css";
4
4
  import { ax, ix } from "@compiled/react/runtime";
@@ -187,7 +187,7 @@ const renderScaleDownColgroup = props => {
187
187
 
188
188
  // Tables with numbered columns inside of extensions cannot use the renderWidth when it is 0. In this case, it should
189
189
  // explicitly use the width coming from the table node as the final table container width.
190
- const tableContainerWidth = rendererAppearance === 'comment' && !(tableNode !== null && tableNode !== void 0 && tableNode.attrs.width) || isRendererNested && (!fg('platform_fix_nested_num_column_scaling') || !isNumberColumnEnabled) ? renderWidth : getTableContainerWidth(tableNode);
190
+ const tableContainerWidth = rendererAppearance === 'comment' && !(tableNode !== null && tableNode !== void 0 && tableNode.attrs.width) || isRendererNested && !isNumberColumnEnabled ? renderWidth : getTableContainerWidth(tableNode);
191
191
  if (allowTableResizing && !isInsideOfBlockNode && !isInsideOfTable && !isinsideMultiBodiedExtension && !tableColumnResized) {
192
192
  // when no columns are resized, each column should have equal width, equals to tableWidth / noOfColumns
193
193
  const tableWidth = (isNumberColumnEnabled ? tableContainerWidth - akEditorTableNumberColumnWidth : tableContainerWidth) - 1;
@@ -59,7 +59,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
59
59
  const TABLE_INFO_TIMEOUT = 10000;
60
60
  const RENDER_EVENT_SAMPLE_RATE = 0.1;
61
61
  const packageName = "@atlaskit/renderer";
62
- const packageVersion = "138.1.5";
62
+ const packageVersion = "138.1.6";
63
63
  const setAsQueryContainerStyles = css({
64
64
  containerName: 'ak-renderer-wrapper',
65
65
  containerType: 'inline-size'
@@ -1,4 +1,4 @@
1
- /* link-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* link-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import "./link-compiled.compiled.css";
4
4
  import * as React from 'react';
@@ -1,4 +1,4 @@
1
- /* heading.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* heading.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
3
  import _typeof from "@babel/runtime/helpers/typeof";
4
4
  import "./heading.compiled.css";
@@ -1,4 +1,4 @@
1
- /* layoutColumn-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* layoutColumn-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  /**
3
3
  * Compiled branch of the `platform_editor_renderer_static_css` experiment.
4
4
  * Used via `componentWithCondition` in `layoutColumn.tsx`.
@@ -1,4 +1,4 @@
1
- /* panel-compiled.tsx generated by @compiled/babel-plugin v2.0.0 */
1
+ /* panel-compiled.tsx generated by @compiled/babel-plugin v3.0.1 */
2
2
  import _extends from "@babel/runtime/helpers/extends";
3
3
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
4
4
  import _objectWithoutProperties from "@babel/runtime/helpers/objectWithoutProperties";
@@ -209,7 +209,7 @@ var renderScaleDownColgroup = function renderScaleDownColgroup(props) {
209
209
 
210
210
  // Tables with numbered columns inside of extensions cannot use the renderWidth when it is 0. In this case, it should
211
211
  // explicitly use the width coming from the table node as the final table container width.
212
- var tableContainerWidth = rendererAppearance === 'comment' && !(tableNode !== null && tableNode !== void 0 && tableNode.attrs.width) || isRendererNested && (!fg('platform_fix_nested_num_column_scaling') || !isNumberColumnEnabled) ? renderWidth : getTableContainerWidth(tableNode);
212
+ var tableContainerWidth = rendererAppearance === 'comment' && !(tableNode !== null && tableNode !== void 0 && tableNode.attrs.width) || isRendererNested && !isNumberColumnEnabled ? renderWidth : getTableContainerWidth(tableNode);
213
213
  if (allowTableResizing && !isInsideOfBlockNode && !isInsideOfTable && !isinsideMultiBodiedExtension && !tableColumnResized) {
214
214
  // when no columns are resized, each column should have equal width, equals to tableWidth / noOfColumns
215
215
  var _tableWidth = (isNumberColumnEnabled ? tableContainerWidth - akEditorTableNumberColumnWidth : tableContainerWidth) - 1;
@@ -64,7 +64,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
64
64
  var TABLE_INFO_TIMEOUT = 10000;
65
65
  var RENDER_EVENT_SAMPLE_RATE = 0.1;
66
66
  var packageName = "@atlaskit/renderer";
67
- var packageVersion = "138.1.5";
67
+ var packageVersion = "138.1.6";
68
68
  var setAsQueryContainerStyles = css({
69
69
  containerName: 'ak-renderer-wrapper',
70
70
  containerType: 'inline-size'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "138.1.6",
3
+ "version": "138.1.7",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -85,7 +85,7 @@
85
85
  "uuid": "^11.1.1"
86
86
  },
87
87
  "peerDependencies": {
88
- "@atlaskit/editor-common": "^121.2.0",
88
+ "@atlaskit/editor-common": "^121.3.0",
89
89
  "@atlaskit/link-provider": "^5.6.0",
90
90
  "@atlaskit/media-core": "^38.2.0",
91
91
  "react": "^18.2.0 || ^19.2.0",
@@ -152,9 +152,6 @@
152
152
  "cc_comments_log_draft_annotation_ancestor_nodes": {
153
153
  "type": "boolean"
154
154
  },
155
- "platform_fix_nested_num_column_scaling": {
156
- "type": "boolean"
157
- },
158
155
  "editor_inline_comments_on_inline_nodes": {
159
156
  "type": "boolean"
160
157
  },