@atlaskit/renderer 124.9.6 → 124.9.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
+ ## 124.9.7
4
+
5
+ ### Patch Changes
6
+
7
+ - [`f716cffe0a4ad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f716cffe0a4ad) -
8
+ Cleaned platform_editor_annotation_position_comment_nodes FG.
9
+
3
10
  ## 124.9.6
4
11
 
5
12
  ### Patch Changes
@@ -110,13 +110,11 @@ function resolveNodePos(node) {
110
110
  var resolvedPos = 0;
111
111
  var prev = node.previousSibling;
112
112
  while (prev) {
113
- if ((0, _platformFeatureFlags.fg)('platform_editor_annotation_position_comment_nodes')) {
114
- if (prev.nodeType === Node.COMMENT_NODE) {
115
- // Comment nodes should not result in the position being
116
- // incremented, so we skip them.
117
- prev = prev.previousSibling;
118
- continue;
119
- }
113
+ if (prev.nodeType === Node.COMMENT_NODE) {
114
+ // Comment nodes should not result in the position being
115
+ // incremented, so we skip them.
116
+ prev = prev.previousSibling;
117
+ continue;
120
118
  }
121
119
  if (prev && (isTextNode(prev) || isHighlightTextNode(prev))) {
122
120
  resolvedPos += (prev.textContent || '').length;
@@ -68,7 +68,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
68
68
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
69
69
  var TABLE_WIDTH_INFO_TIMEOUT = 10000;
70
70
  var packageName = "@atlaskit/renderer";
71
- var packageVersion = "124.9.5";
71
+ var packageVersion = "124.9.6";
72
72
  var setAsQueryContainerStyles = (0, _react2.css)({
73
73
  containerName: 'ak-renderer-wrapper',
74
74
  containerType: 'inline-size'
@@ -105,13 +105,11 @@ function resolveNodePos(node) {
105
105
  let resolvedPos = 0;
106
106
  let prev = node.previousSibling;
107
107
  while (prev) {
108
- if (fg('platform_editor_annotation_position_comment_nodes')) {
109
- if (prev.nodeType === Node.COMMENT_NODE) {
110
- // Comment nodes should not result in the position being
111
- // incremented, so we skip them.
112
- prev = prev.previousSibling;
113
- continue;
114
- }
108
+ if (prev.nodeType === Node.COMMENT_NODE) {
109
+ // Comment nodes should not result in the position being
110
+ // incremented, so we skip them.
111
+ prev = prev.previousSibling;
112
+ continue;
115
113
  }
116
114
  if (prev && (isTextNode(prev) || isHighlightTextNode(prev))) {
117
115
  resolvedPos += (prev.textContent || '').length;
@@ -54,7 +54,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
54
54
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
55
55
  const TABLE_WIDTH_INFO_TIMEOUT = 10000;
56
56
  const packageName = "@atlaskit/renderer";
57
- const packageVersion = "124.9.5";
57
+ const packageVersion = "124.9.6";
58
58
  const setAsQueryContainerStyles = css({
59
59
  containerName: 'ak-renderer-wrapper',
60
60
  containerType: 'inline-size'
@@ -101,13 +101,11 @@ function resolveNodePos(node) {
101
101
  var resolvedPos = 0;
102
102
  var prev = node.previousSibling;
103
103
  while (prev) {
104
- if (fg('platform_editor_annotation_position_comment_nodes')) {
105
- if (prev.nodeType === Node.COMMENT_NODE) {
106
- // Comment nodes should not result in the position being
107
- // incremented, so we skip them.
108
- prev = prev.previousSibling;
109
- continue;
110
- }
104
+ if (prev.nodeType === Node.COMMENT_NODE) {
105
+ // Comment nodes should not result in the position being
106
+ // incremented, so we skip them.
107
+ prev = prev.previousSibling;
108
+ continue;
111
109
  }
112
110
  if (prev && (isTextNode(prev) || isHighlightTextNode(prev))) {
113
111
  resolvedPos += (prev.textContent || '').length;
@@ -59,7 +59,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
59
59
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
60
60
  var TABLE_WIDTH_INFO_TIMEOUT = 10000;
61
61
  var packageName = "@atlaskit/renderer";
62
- var packageVersion = "124.9.5";
62
+ var packageVersion = "124.9.6";
63
63
  var setAsQueryContainerStyles = css({
64
64
  containerName: 'ak-renderer-wrapper',
65
65
  containerType: 'inline-size'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "124.9.6",
3
+ "version": "124.9.7",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -140,9 +140,6 @@
140
140
  "platform_fix_nested_num_column_scaling": {
141
141
  "type": "boolean"
142
142
  },
143
- "platform_editor_annotation_position_comment_nodes": {
144
- "type": "boolean"
145
- },
146
143
  "platform_editor_typography_ugc": {
147
144
  "type": "boolean"
148
145
  },