@atlaskit/renderer 124.13.1 → 124.13.3

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,21 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 124.13.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`b1dc704a3fb83`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b1dc704a3fb83) -
8
+ Cleans up platform_table_number_column
9
+ - Updated dependencies
10
+
11
+ ## 124.13.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [`42bd907443147`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/42bd907443147) -
16
+ NO-ISSUE Ensures INP metrics and other analytics account for max appearance
17
+ - Updated dependencies
18
+
3
19
  ## 124.13.1
4
20
 
5
21
  ### Patch Changes
@@ -3,7 +3,7 @@
3
3
  "compilerOptions": {
4
4
  "declaration": true,
5
5
  "target": "es5",
6
- "outDir": "../../../../../tsDist/@atlaskit__renderer/app",
6
+ "outDir": "../../../../../jira/tsDist/@atlaskit__renderer/app",
7
7
  "rootDir": "../",
8
8
  "composite": true
9
9
  },
@@ -45,8 +45,7 @@ var Table = exports.Table = /*#__PURE__*/_react.default.memo(function (_ref) {
45
45
  // for columns that are evenly distributed, do not return `colgroup` since existing table containerQuery
46
46
  // scales up the columns width. This ensures columns always have 42px.
47
47
  if (rendererAppearance === 'comment') {
48
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
49
- if ((0, _platformFeatureFlags.fg)('platform-ssr-table-resize') && (0, _platformFeatureFlags.fg)('platform_table_number_column')) {
48
+ if ((0, _platformFeatureFlags.fg)('platform-ssr-table-resize')) {
50
49
  tableColumnWidths = columnWidths && (0, _colgroup.colWidthSum)(columnWidths) ? columnWidths : undefined;
51
50
  }
52
51
  }
@@ -69,7 +69,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
69
69
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
70
70
  var TABLE_INFO_TIMEOUT = 10000;
71
71
  var packageName = "@atlaskit/renderer";
72
- var packageVersion = "0.0.0-development";
72
+ var packageVersion = "124.13.2";
73
73
  var setAsQueryContainerStyles = (0, _react2.css)({
74
74
  containerName: 'ak-renderer-wrapper',
75
75
  containerType: 'inline-size'
@@ -720,7 +720,7 @@ var RendererWrapper = /*#__PURE__*/_react.default.memo(function (props) {
720
720
  // Only apply container-type = inline-size when having a known width in full-page/full-width/comment mode.
721
721
  // Otherwise when appearance is unspecified the renderer size is decided by the content.
722
722
  // In this case we can't set the container-type = inline-size as it will collapse width to 0.
723
- return (appearance === 'full-page' || appearance === 'full-width') &&
723
+ return (appearance === 'full-page' || appearance === 'full-width' || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max') &&
724
724
  // In case of having excerpt-include on page there are multiple renderers nested.
725
725
  // Make sure only the root renderer is set to be query container.
726
726
  isTopLevelRenderer && allowRendererContainerStyles && (0, _platformFeatureFlags.fg)('platform-ssr-table-resize') ? (0, _react2.jsx)("div", {
@@ -38,8 +38,7 @@ export const Table = /*#__PURE__*/React.memo(({
38
38
  // for columns that are evenly distributed, do not return `colgroup` since existing table containerQuery
39
39
  // scales up the columns width. This ensures columns always have 42px.
40
40
  if (rendererAppearance === 'comment') {
41
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
42
- if (fg('platform-ssr-table-resize') && fg('platform_table_number_column')) {
41
+ if (fg('platform-ssr-table-resize')) {
43
42
  tableColumnWidths = columnWidths && colWidthSum(columnWidths) ? columnWidths : undefined;
44
43
  }
45
44
  }
@@ -55,7 +55,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
55
55
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
56
56
  const TABLE_INFO_TIMEOUT = 10000;
57
57
  const packageName = "@atlaskit/renderer";
58
- const packageVersion = "0.0.0-development";
58
+ const packageVersion = "124.13.2";
59
59
  const setAsQueryContainerStyles = css({
60
60
  containerName: 'ak-renderer-wrapper',
61
61
  containerType: 'inline-size'
@@ -706,7 +706,7 @@ const RendererWrapper = /*#__PURE__*/React.memo(props => {
706
706
  // Only apply container-type = inline-size when having a known width in full-page/full-width/comment mode.
707
707
  // Otherwise when appearance is unspecified the renderer size is decided by the content.
708
708
  // In this case we can't set the container-type = inline-size as it will collapse width to 0.
709
- return (appearance === 'full-page' || appearance === 'full-width') &&
709
+ return (appearance === 'full-page' || appearance === 'full-width' || expValEqualsNoExposure('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max') &&
710
710
  // In case of having excerpt-include on page there are multiple renderers nested.
711
711
  // Make sure only the root renderer is set to be query container.
712
712
  isTopLevelRenderer && allowRendererContainerStyles && fg('platform-ssr-table-resize') ? jsx("div", {
@@ -38,8 +38,7 @@ export var Table = /*#__PURE__*/React.memo(function (_ref) {
38
38
  // for columns that are evenly distributed, do not return `colgroup` since existing table containerQuery
39
39
  // scales up the columns width. This ensures columns always have 42px.
40
40
  if (rendererAppearance === 'comment') {
41
- // eslint-disable-next-line @atlaskit/platform/no-preconditioning
42
- if (fg('platform-ssr-table-resize') && fg('platform_table_number_column')) {
41
+ if (fg('platform-ssr-table-resize')) {
43
42
  tableColumnWidths = columnWidths && colWidthSum(columnWidths) ? columnWidths : undefined;
44
43
  }
45
44
  }
@@ -60,7 +60,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
60
60
  // we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
61
61
  var TABLE_INFO_TIMEOUT = 10000;
62
62
  var packageName = "@atlaskit/renderer";
63
- var packageVersion = "0.0.0-development";
63
+ var packageVersion = "124.13.2";
64
64
  var setAsQueryContainerStyles = css({
65
65
  containerName: 'ak-renderer-wrapper',
66
66
  containerType: 'inline-size'
@@ -711,7 +711,7 @@ var RendererWrapper = /*#__PURE__*/React.memo(function (props) {
711
711
  // Only apply container-type = inline-size when having a known width in full-page/full-width/comment mode.
712
712
  // Otherwise when appearance is unspecified the renderer size is decided by the content.
713
713
  // In this case we can't set the container-type = inline-size as it will collapse width to 0.
714
- return (appearance === 'full-page' || appearance === 'full-width') &&
714
+ return (appearance === 'full-page' || appearance === 'full-width' || expValEqualsNoExposure('editor_tinymce_full_width_mode', 'isEnabled', true) && appearance === 'max') &&
715
715
  // In case of having excerpt-include on page there are multiple renderers nested.
716
716
  // Make sure only the root renderer is set to be query container.
717
717
  isTopLevelRenderer && allowRendererContainerStyles && fg('platform-ssr-table-resize') ? jsx("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "124.13.1",
3
+ "version": "124.13.3",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -27,7 +27,7 @@
27
27
  "@atlaskit/adf-utils": "^19.26.0",
28
28
  "@atlaskit/afm-i18n-platform-editor-renderer": "2.10.0",
29
29
  "@atlaskit/analytics-listeners": "^9.1.0",
30
- "@atlaskit/analytics-namespaced-context": "^7.1.0",
30
+ "@atlaskit/analytics-namespaced-context": "^7.2.0",
31
31
  "@atlaskit/analytics-next": "^11.1.0",
32
32
  "@atlaskit/browser-apis": "^0.0.1",
33
33
  "@atlaskit/button": "^23.6.0",
@@ -41,7 +41,7 @@
41
41
  "@atlaskit/feature-gate-js-client": "^5.5.0",
42
42
  "@atlaskit/icon": "^29.0.0",
43
43
  "@atlaskit/link": "^3.2.0",
44
- "@atlaskit/link-datasource": "^4.29.0",
44
+ "@atlaskit/link-datasource": "^4.30.0",
45
45
  "@atlaskit/link-extractors": "^2.4.0",
46
46
  "@atlaskit/linking-common": "^9.8.0",
47
47
  "@atlaskit/media-card": "^79.7.0",
@@ -54,7 +54,7 @@
54
54
  "@atlaskit/platform-feature-flags": "^1.1.0",
55
55
  "@atlaskit/platform-feature-flags-react": "^0.4.0",
56
56
  "@atlaskit/react-ufo": "^4.14.0",
57
- "@atlaskit/smart-card": "^43.6.0",
57
+ "@atlaskit/smart-card": "^43.7.0",
58
58
  "@atlaskit/status": "^3.0.0",
59
59
  "@atlaskit/task-decision": "^19.2.0",
60
60
  "@atlaskit/theme": "^21.0.0",
@@ -72,7 +72,7 @@
72
72
  "uuid": "^3.1.0"
73
73
  },
74
74
  "peerDependencies": {
75
- "@atlaskit/editor-common": "^110.29.0",
75
+ "@atlaskit/editor-common": "^110.30.0",
76
76
  "@atlaskit/link-provider": "^4.0.0",
77
77
  "@atlaskit/media-core": "^37.0.0",
78
78
  "react": "^18.2.0",
@@ -85,7 +85,7 @@
85
85
  "@atlaskit/checkbox": "^17.1.0",
86
86
  "@atlaskit/css-reset": "^7.3.0",
87
87
  "@atlaskit/link-provider": "^4.0.0",
88
- "@atlaskit/link-test-helpers": "^8.4.0",
88
+ "@atlaskit/link-test-helpers": "^8.5.0",
89
89
  "@atlaskit/media-core": "^37.0.0",
90
90
  "@atlaskit/media-integration-test-helpers": "workspace:^",
91
91
  "@atlaskit/media-test-helpers": "^39.0.0",
@@ -206,9 +206,6 @@
206
206
  "prompt_whiteboard_competitor_link_gate": {
207
207
  "type": "boolean"
208
208
  },
209
- "platform_table_number_column": {
210
- "type": "boolean"
211
- },
212
209
  "platform_editor_numbered_column_in_include": {
213
210
  "type": "boolean"
214
211
  },