@atlaskit/renderer 131.1.8 → 131.2.0

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,24 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 131.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`1c86d46da6101`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1c86d46da6101) -
8
+ Address layout column alignment follow-up review feedback
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
14
+ ## 131.1.9
15
+
16
+ ### Patch Changes
17
+
18
+ - [`304fee6127fd5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/304fee6127fd5) -
19
+ Add valign to table cell menu, support renderer.
20
+ - Updated dependencies
21
+
3
22
  ## 131.1.8
4
23
 
5
24
  ### Patch Changes
@@ -18,6 +18,7 @@ var _consts = require("../../consts");
18
18
  var _reactIntl = require("react-intl");
19
19
  var _messages = require("../../messages");
20
20
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
21
+ var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
21
22
  var IgnoreSorting = ['LABEL', 'INPUT'];
22
23
  var nextStatusOrder = function nextStatusOrder(currentSortOrder) {
23
24
  switch (currentSortOrder) {
@@ -45,7 +46,7 @@ var getSortOrderLabel = function getSortOrderLabel(intl, currentSortOrder) {
45
46
  return intl.formatMessage(noneSortingLabel);
46
47
  }
47
48
  };
48
- var getDataAttributes = function getDataAttributes(colwidth, background, cellEdgeProps) {
49
+ var getDataAttributes = function getDataAttributes(colwidth, background, cellEdgeProps, valign) {
49
50
  var attrs = {};
50
51
  if (colwidth) {
51
52
  attrs['data-colwidth'] = colwidth.join(',');
@@ -82,6 +83,9 @@ var getDataAttributes = function getDataAttributes(colwidth, background, cellEdg
82
83
  if (background) {
83
84
  attrs['data-cell-background'] = background;
84
85
  }
86
+ if (valign && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true)) {
87
+ attrs['data-valign'] = valign;
88
+ }
85
89
  return attrs;
86
90
  };
87
91
 
@@ -92,7 +96,8 @@ var getStyle = function getStyle(_ref) {
92
96
  var background = _ref.background,
93
97
  colGroupWidth = _ref.colGroupWidth,
94
98
  offsetTop = _ref.offsetTop,
95
- colorMode = _ref.colorMode;
99
+ colorMode = _ref.colorMode,
100
+ valign = _ref.valign;
96
101
  var style = {};
97
102
  if (background &&
98
103
  // ignore setting inline styles if ds neutral token is detected
@@ -143,6 +148,9 @@ var getStyle = function getStyle(_ref) {
143
148
  if (offsetTop !== undefined) {
144
149
  style.top = offsetTop;
145
150
  }
151
+ if (valign && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true)) {
152
+ style.verticalAlign = valign;
153
+ }
146
154
  return style;
147
155
  };
148
156
  var getWithCellProps = function getWithCellProps(WrapperComponent) {
@@ -162,7 +170,8 @@ var getWithCellProps = function getWithCellProps(WrapperComponent) {
162
170
  reachesTop = props.reachesTop,
163
171
  reachesBottom = props.reachesBottom,
164
172
  reachesLeft = props.reachesLeft,
165
- reachesRight = props.reachesRight;
173
+ reachesRight = props.reachesRight,
174
+ valign = props.valign;
166
175
 
167
176
  // This is used to set the background color of the cell
168
177
  // to a dark mode color in mobile dark mode
@@ -180,7 +189,8 @@ var getWithCellProps = function getWithCellProps(WrapperComponent) {
180
189
  background: background,
181
190
  colGroupWidth: colGroupWidth,
182
191
  offsetTop: offsetTop,
183
- colorMode: colorMode
192
+ colorMode: colorMode,
193
+ valign: valign
184
194
  }),
185
195
  colorname: colorName,
186
196
  onClick: onClick
@@ -194,7 +204,7 @@ var getWithCellProps = function getWithCellProps(WrapperComponent) {
194
204
  reachesBottom: reachesBottom,
195
205
  reachesLeft: reachesLeft,
196
206
  reachesRight: reachesRight
197
- }), {
207
+ }, valign), {
198
208
  "aria-sort": ariaSort
199
209
  }), children);
200
210
  };
@@ -25,6 +25,7 @@ var _ugcTokens = require("@atlaskit/editor-common/ugc-tokens");
25
25
  var _getBaseFontSize = require("./get-base-font-size");
26
26
  var _emoji = require("@atlaskit/editor-common/emoji");
27
27
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
28
+ var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
28
29
  var _syncBlock = require("@atlaskit/editor-common/sync-block");
29
30
  var _css9, _$concat3, _$concat6;
30
31
  /* eslint-disable @atlaskit/ui-styling-standard/no-important-styles, @atlaskit/ui-styling-standard/no-unsafe-selectors */
@@ -1698,6 +1699,17 @@ var rendererTableSortableColumnStyles = (0, _react.css)((0, _defineProperty2.def
1698
1699
  })), "&:hover:not(\n\t\t\t\t\t\t\t:has(\n\t\t\t\t\t\t\t\t\t.".concat(_consts.RendererCssClassName.SORTABLE_COLUMN_WRAPPER, "\n\t\t\t\t\t\t\t\t\t\t.").concat(_consts.RendererCssClassName.SORTABLE_COLUMN, ":hover\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t> .").concat(_consts.RendererCssClassName.SORTABLE_COLUMN, "\n\t\t\t\t\t\t> .").concat(_consts.RendererCssClassName.SORTABLE_COLUMN_NO_ORDER), (0, _defineProperty2.default)({}, ".".concat(_table2.SORTABLE_COLUMN_ICON_CLASSNAME), {
1699
1700
  opacity: 1
1700
1701
  }))))));
1702
+
1703
+ // Sortable header cells render content inside an extra div, so mirror the th alignment there.
1704
+ var rendererTableSortableColumnValignStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_consts.RendererCssClassName.DOCUMENT, " .").concat(_styles.TableSharedCssClassName.TABLE_CONTAINER), (0, _defineProperty2.default)({}, ".".concat(_styles.TableSharedCssClassName.TABLE_NODE_WRAPPER, " > table, .").concat(_styles.TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table"), (0, _defineProperty2.default)((0, _defineProperty2.default)({}, "th[data-valign='middle'].".concat(_consts.RendererCssClassName.SORTABLE_COLUMN_WRAPPER, " > .").concat(_consts.RendererCssClassName.SORTABLE_COLUMN), {
1705
+ display: 'flex',
1706
+ flexDirection: 'column',
1707
+ justifyContent: 'center'
1708
+ }), "th[data-valign='bottom'].".concat(_consts.RendererCssClassName.SORTABLE_COLUMN_WRAPPER, " > .").concat(_consts.RendererCssClassName.SORTABLE_COLUMN), {
1709
+ display: 'flex',
1710
+ flexDirection: 'column',
1711
+ justifyContent: 'flex-end'
1712
+ }))));
1701
1713
  var rendererTableColumnStyles = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_consts.RendererCssClassName.DOCUMENT, " .").concat(_styles.TableSharedCssClassName.TABLE_CONTAINER), {
1702
1714
  'table[data-number-column="true"]': (0, _defineProperty2.default)((0, _defineProperty2.default)({}, ".".concat(_consts.RendererCssClassName.NUMBER_COLUMN), {
1703
1715
  backgroundColor: "var(--ds-background-accent-gray-subtlest, #F0F1F2)",
@@ -2220,7 +2232,7 @@ var RendererStyleContainer = exports.RendererStyleContainer = function RendererS
2220
2232
  // this should be placed after baseOtherStyles
2221
2233
  (0, _expValEquals.expValEquals)('platform_editor_render_bodied_extension_as_inline', 'isEnabled', true) && ((0, _expValEquals.expValEquals)('platform_editor_remove_important_in_render_ext', 'isEnabled', true) ? extensionAsInlineStyle : oldExtensionAsInlineStyle), inlineExtensionRendererMarginFix, allowNestedHeaderLinks && ((0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? alignedHeadingAnchorStyle : alignedHeadingAnchorStyleDuplicateAnchor), mediaSingleSharedStyle,
2222
2234
  // merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
2223
- (0, _platformFeatureFlags.fg)('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeStyles, tableRendererHeaderStylesForTableCellOnly, (0, _platformFeatureFlags.fg)('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, (0, _table.isStickyScrollbarEnabled)(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && allowNestedHeaderLinks && ((0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && ((0, _expValEquals.expValEquals)('editor_tinymce_full_width_mode', 'isEnabled', true) || (0, _expValEquals.expValEquals)('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? (0, _expValEquals.expValEquals)('platform_editor_emojis_in_renderer_smart_links', 'isEnabled', true) ? isCompactModeEnabled ? scaledDenseEmojiStylesNew : scaledEmojiStylesNew : isCompactModeEnabled ? scaledDenseEmojiStyles : scaledEmojiStyles : isCompactModeEnabled ? denseStyles : undefined, (0, _experiments.editorExperiment)('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && (0, _experiments.editorExperiment)('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, (0, _expValEquals.expValEquals)('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
2235
+ (0, _platformFeatureFlags.fg)('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, (0, _expValEquals.expValEquals)('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeStyles, tableRendererHeaderStylesForTableCellOnly, (0, _platformFeatureFlags.fg)('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, (0, _table.isStickyScrollbarEnabled)(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_table_menu_updates', 'isEnabled', true) && rendererTableSortableColumnValignStyles, allowColumnSorting && allowNestedHeaderLinks && ((0, _expValEquals.expValEquals)('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && ((0, _expValEquals.expValEquals)('editor_tinymce_full_width_mode', 'isEnabled', true) || (0, _expValEquals.expValEquals)('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, (0, _expValEquals.expValEquals)('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? (0, _expValEquals.expValEquals)('platform_editor_emojis_in_renderer_smart_links', 'isEnabled', true) ? isCompactModeEnabled ? scaledDenseEmojiStylesNew : scaledEmojiStylesNew : isCompactModeEnabled ? scaledDenseEmojiStyles : scaledEmojiStyles : isCompactModeEnabled ? denseStyles : undefined, (0, _experiments.editorExperiment)('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, (0, _experiments.editorExperiment)('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && (0, _experiments.editorExperiment)('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && (0, _experiments.editorExperiment)('platform_synced_block', true) && (0, _expValEquals.expValEquals)('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, (0, _expValEquals.expValEquals)('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
2224
2236
  "data-testid": testId
2225
2237
  }, children);
2226
2238
  };
@@ -71,7 +71,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
71
71
  var TABLE_INFO_TIMEOUT = 10000;
72
72
  var RENDER_EVENT_SAMPLE_RATE = 0.2;
73
73
  var packageName = "@atlaskit/renderer";
74
- var packageVersion = "131.1.7";
74
+ var packageVersion = "131.1.9";
75
75
  var setAsQueryContainerStyles = (0, _react2.css)({
76
76
  containerName: 'ak-renderer-wrapper',
77
77
  containerType: 'inline-size'
@@ -11,6 +11,7 @@ import { RendererCssClassName } from '../../consts';
11
11
  import { useIntl } from 'react-intl';
12
12
  import { tableCellMessages } from '../../messages';
13
13
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
14
15
  const IgnoreSorting = ['LABEL', 'INPUT'];
15
16
  const nextStatusOrder = currentSortOrder => {
16
17
  switch (currentSortOrder) {
@@ -40,7 +41,7 @@ const getSortOrderLabel = (intl, currentSortOrder) => {
40
41
  return intl.formatMessage(noneSortingLabel);
41
42
  }
42
43
  };
43
- const getDataAttributes = (colwidth, background, cellEdgeProps) => {
44
+ const getDataAttributes = (colwidth, background, cellEdgeProps, valign) => {
44
45
  const attrs = {};
45
46
  if (colwidth) {
46
47
  attrs['data-colwidth'] = colwidth.join(',');
@@ -77,6 +78,9 @@ const getDataAttributes = (colwidth, background, cellEdgeProps) => {
77
78
  if (background) {
78
79
  attrs['data-cell-background'] = background;
79
80
  }
81
+ if (valign && expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true)) {
82
+ attrs['data-valign'] = valign;
83
+ }
80
84
  return attrs;
81
85
  };
82
86
 
@@ -87,7 +91,8 @@ const getStyle = ({
87
91
  background,
88
92
  colGroupWidth,
89
93
  offsetTop,
90
- colorMode
94
+ colorMode,
95
+ valign
91
96
  }) => {
92
97
  const style = {};
93
98
  if (background &&
@@ -139,6 +144,9 @@ const getStyle = ({
139
144
  if (offsetTop !== undefined) {
140
145
  style.top = offsetTop;
141
146
  }
147
+ if (valign && expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true)) {
148
+ style.verticalAlign = valign;
149
+ }
142
150
  return style;
143
151
  };
144
152
  const getWithCellProps = WrapperComponent => {
@@ -160,7 +168,8 @@ const getWithCellProps = WrapperComponent => {
160
168
  reachesTop,
161
169
  reachesBottom,
162
170
  reachesLeft,
163
- reachesRight
171
+ reachesRight,
172
+ valign
164
173
  } = props;
165
174
 
166
175
  // This is used to set the background color of the cell
@@ -179,7 +188,8 @@ const getWithCellProps = WrapperComponent => {
179
188
  background,
180
189
  colGroupWidth,
181
190
  offsetTop,
182
- colorMode
191
+ colorMode,
192
+ valign
183
193
  }),
184
194
  colorname: colorName,
185
195
  onClick: onClick
@@ -193,7 +203,7 @@ const getWithCellProps = WrapperComponent => {
193
203
  reachesBottom,
194
204
  reachesLeft,
195
205
  reachesRight
196
- }), {
206
+ }, valign), {
197
207
  "aria-sort": ariaSort
198
208
  }), children);
199
209
  };
@@ -26,6 +26,7 @@ import { editorUGCToken } from '@atlaskit/editor-common/ugc-tokens';
26
26
  import { getBaseFontSize } from './get-base-font-size';
27
27
  import { EmojiSharedCssClassName, defaultEmojiHeight, defaultDenseEmojiHeight, defaultInlineEmojiHeight, scaledEmojiHeightH1, scaledEmojiHeightH2, scaledEmojiHeightH3, scaledEmojiHeightH4, denseEmojiHeightH1, denseEmojiHeightH2, denseEmojiHeightH3, denseEmojiHeightH4 } from '@atlaskit/editor-common/emoji';
28
28
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
29
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
29
30
  import { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName } from '@atlaskit/editor-common/sync-block';
30
31
  const wrappedMediaBreakoutPoint = 410;
31
32
  const TELEPOINTER_ID = 'ai-streaming-telepointer';
@@ -2167,6 +2168,24 @@ const rendererTableSortableColumnStyles = css({
2167
2168
  }
2168
2169
  }
2169
2170
  });
2171
+
2172
+ // Sortable header cells render content inside an extra div, so mirror the th alignment there.
2173
+ const rendererTableSortableColumnValignStyles = css({
2174
+ [`.${RendererCssClassName.DOCUMENT} .${TableSharedCssClassName.TABLE_CONTAINER}`]: {
2175
+ [`.${TableSharedCssClassName.TABLE_NODE_WRAPPER} > table, .${TableSharedCssClassName.TABLE_STICKY_WRAPPER} > table`]: {
2176
+ [`th[data-valign='middle'].${RendererCssClassName.SORTABLE_COLUMN_WRAPPER} > .${RendererCssClassName.SORTABLE_COLUMN}`]: {
2177
+ display: 'flex',
2178
+ flexDirection: 'column',
2179
+ justifyContent: 'center'
2180
+ },
2181
+ [`th[data-valign='bottom'].${RendererCssClassName.SORTABLE_COLUMN_WRAPPER} > .${RendererCssClassName.SORTABLE_COLUMN}`]: {
2182
+ display: 'flex',
2183
+ flexDirection: 'column',
2184
+ justifyContent: 'flex-end'
2185
+ }
2186
+ }
2187
+ }
2188
+ });
2170
2189
  const rendererTableColumnStyles = css({
2171
2190
  [`.${RendererCssClassName.DOCUMENT} .${TableSharedCssClassName.TABLE_CONTAINER}`]: {
2172
2191
  'table[data-number-column="true"]': {
@@ -2819,7 +2838,7 @@ export const RendererStyleContainer = props => {
2819
2838
  // this should be placed after baseOtherStyles
2820
2839
  expValEquals('platform_editor_render_bodied_extension_as_inline', 'isEnabled', true) && (expValEquals('platform_editor_remove_important_in_render_ext', 'isEnabled', true) ? extensionAsInlineStyle : oldExtensionAsInlineStyle), inlineExtensionRendererMarginFix, allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? alignedHeadingAnchorStyle : alignedHeadingAnchorStyleDuplicateAnchor), mediaSingleSharedStyle,
2821
2840
  // merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
2822
- fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeStyles, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, fg('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, isStickyScrollbarEnabled(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && (expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEquals('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? expValEquals('platform_editor_emojis_in_renderer_smart_links', 'isEnabled', true) ? isCompactModeEnabled ? scaledDenseEmojiStylesNew : scaledEmojiStylesNew : isCompactModeEnabled ? scaledDenseEmojiStyles : scaledEmojiStyles : isCompactModeEnabled ? denseStyles : undefined, editorExperiment('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, editorExperiment('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, expValEquals('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
2841
+ fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeStyles, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, fg('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, isStickyScrollbarEnabled(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) && rendererTableSortableColumnValignStyles, allowColumnSorting && allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && (expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEquals('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? expValEquals('platform_editor_emojis_in_renderer_smart_links', 'isEnabled', true) ? isCompactModeEnabled ? scaledDenseEmojiStylesNew : scaledEmojiStylesNew : isCompactModeEnabled ? scaledDenseEmojiStyles : scaledEmojiStyles : isCompactModeEnabled ? denseStyles : undefined, editorExperiment('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, editorExperiment('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, expValEquals('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
2823
2842
  "data-testid": testId
2824
2843
  }, children);
2825
2844
  };
@@ -57,7 +57,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
57
57
  const TABLE_INFO_TIMEOUT = 10000;
58
58
  const RENDER_EVENT_SAMPLE_RATE = 0.2;
59
59
  const packageName = "@atlaskit/renderer";
60
- const packageVersion = "131.1.7";
60
+ const packageVersion = "131.1.9";
61
61
  const setAsQueryContainerStyles = css({
62
62
  containerName: 'ak-renderer-wrapper',
63
63
  containerType: 'inline-size'
@@ -11,6 +11,7 @@ import { RendererCssClassName } from '../../consts';
11
11
  import { useIntl } from 'react-intl';
12
12
  import { tableCellMessages } from '../../messages';
13
13
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
14
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
14
15
  var IgnoreSorting = ['LABEL', 'INPUT'];
15
16
  var nextStatusOrder = function nextStatusOrder(currentSortOrder) {
16
17
  switch (currentSortOrder) {
@@ -38,7 +39,7 @@ var getSortOrderLabel = function getSortOrderLabel(intl, currentSortOrder) {
38
39
  return intl.formatMessage(noneSortingLabel);
39
40
  }
40
41
  };
41
- var getDataAttributes = function getDataAttributes(colwidth, background, cellEdgeProps) {
42
+ var getDataAttributes = function getDataAttributes(colwidth, background, cellEdgeProps, valign) {
42
43
  var attrs = {};
43
44
  if (colwidth) {
44
45
  attrs['data-colwidth'] = colwidth.join(',');
@@ -75,6 +76,9 @@ var getDataAttributes = function getDataAttributes(colwidth, background, cellEdg
75
76
  if (background) {
76
77
  attrs['data-cell-background'] = background;
77
78
  }
79
+ if (valign && expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true)) {
80
+ attrs['data-valign'] = valign;
81
+ }
78
82
  return attrs;
79
83
  };
80
84
 
@@ -85,7 +89,8 @@ var getStyle = function getStyle(_ref) {
85
89
  var background = _ref.background,
86
90
  colGroupWidth = _ref.colGroupWidth,
87
91
  offsetTop = _ref.offsetTop,
88
- colorMode = _ref.colorMode;
92
+ colorMode = _ref.colorMode,
93
+ valign = _ref.valign;
89
94
  var style = {};
90
95
  if (background &&
91
96
  // ignore setting inline styles if ds neutral token is detected
@@ -136,6 +141,9 @@ var getStyle = function getStyle(_ref) {
136
141
  if (offsetTop !== undefined) {
137
142
  style.top = offsetTop;
138
143
  }
144
+ if (valign && expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true)) {
145
+ style.verticalAlign = valign;
146
+ }
139
147
  return style;
140
148
  };
141
149
  var getWithCellProps = function getWithCellProps(WrapperComponent) {
@@ -155,7 +163,8 @@ var getWithCellProps = function getWithCellProps(WrapperComponent) {
155
163
  reachesTop = props.reachesTop,
156
164
  reachesBottom = props.reachesBottom,
157
165
  reachesLeft = props.reachesLeft,
158
- reachesRight = props.reachesRight;
166
+ reachesRight = props.reachesRight,
167
+ valign = props.valign;
159
168
 
160
169
  // This is used to set the background color of the cell
161
170
  // to a dark mode color in mobile dark mode
@@ -173,7 +182,8 @@ var getWithCellProps = function getWithCellProps(WrapperComponent) {
173
182
  background: background,
174
183
  colGroupWidth: colGroupWidth,
175
184
  offsetTop: offsetTop,
176
- colorMode: colorMode
185
+ colorMode: colorMode,
186
+ valign: valign
177
187
  }),
178
188
  colorname: colorName,
179
189
  onClick: onClick
@@ -187,7 +197,7 @@ var getWithCellProps = function getWithCellProps(WrapperComponent) {
187
197
  reachesBottom: reachesBottom,
188
198
  reachesLeft: reachesLeft,
189
199
  reachesRight: reachesRight
190
- }), {
200
+ }, valign), {
191
201
  "aria-sort": ariaSort
192
202
  }), children);
193
203
  };
@@ -30,6 +30,7 @@ import { editorUGCToken } from '@atlaskit/editor-common/ugc-tokens';
30
30
  import { getBaseFontSize } from './get-base-font-size';
31
31
  import { EmojiSharedCssClassName, defaultEmojiHeight, defaultDenseEmojiHeight, defaultInlineEmojiHeight, scaledEmojiHeightH1, scaledEmojiHeightH2, scaledEmojiHeightH3, scaledEmojiHeightH4, denseEmojiHeightH1, denseEmojiHeightH2, denseEmojiHeightH3, denseEmojiHeightH4 } from '@atlaskit/editor-common/emoji';
32
32
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
33
+ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
33
34
  import { BodiedSyncBlockSharedCssClassName, SyncBlockSharedCssClassName } from '@atlaskit/editor-common/sync-block';
34
35
  var wrappedMediaBreakoutPoint = 410;
35
36
  var TELEPOINTER_ID = 'ai-streaming-telepointer';
@@ -1691,6 +1692,17 @@ var rendererTableSortableColumnStyles = css(_defineProperty({}, ".".concat(Rende
1691
1692
  })), "&:hover:not(\n\t\t\t\t\t\t\t:has(\n\t\t\t\t\t\t\t\t\t.".concat(RendererCssClassName.SORTABLE_COLUMN_WRAPPER, "\n\t\t\t\t\t\t\t\t\t\t.").concat(RendererCssClassName.SORTABLE_COLUMN, ":hover\n\t\t\t\t\t\t\t\t)\n\t\t\t\t\t\t)\n\t\t\t\t\t\t> .").concat(RendererCssClassName.SORTABLE_COLUMN, "\n\t\t\t\t\t\t> .").concat(RendererCssClassName.SORTABLE_COLUMN_NO_ORDER), _defineProperty({}, ".".concat(SORTABLE_COLUMN_ICON_CLASSNAME), {
1692
1693
  opacity: 1
1693
1694
  }))))));
1695
+
1696
+ // Sortable header cells render content inside an extra div, so mirror the th alignment there.
1697
+ var rendererTableSortableColumnValignStyles = css(_defineProperty({}, ".".concat(RendererCssClassName.DOCUMENT, " .").concat(TableSharedCssClassName.TABLE_CONTAINER), _defineProperty({}, ".".concat(TableSharedCssClassName.TABLE_NODE_WRAPPER, " > table, .").concat(TableSharedCssClassName.TABLE_STICKY_WRAPPER, " > table"), _defineProperty(_defineProperty({}, "th[data-valign='middle'].".concat(RendererCssClassName.SORTABLE_COLUMN_WRAPPER, " > .").concat(RendererCssClassName.SORTABLE_COLUMN), {
1698
+ display: 'flex',
1699
+ flexDirection: 'column',
1700
+ justifyContent: 'center'
1701
+ }), "th[data-valign='bottom'].".concat(RendererCssClassName.SORTABLE_COLUMN_WRAPPER, " > .").concat(RendererCssClassName.SORTABLE_COLUMN), {
1702
+ display: 'flex',
1703
+ flexDirection: 'column',
1704
+ justifyContent: 'flex-end'
1705
+ }))));
1694
1706
  var rendererTableColumnStyles = css(_defineProperty({}, ".".concat(RendererCssClassName.DOCUMENT, " .").concat(TableSharedCssClassName.TABLE_CONTAINER), {
1695
1707
  'table[data-number-column="true"]': _defineProperty(_defineProperty({}, ".".concat(RendererCssClassName.NUMBER_COLUMN), {
1696
1708
  backgroundColor: "var(--ds-background-accent-gray-subtlest, #F0F1F2)",
@@ -2213,7 +2225,7 @@ export var RendererStyleContainer = function RendererStyleContainer(props) {
2213
2225
  // this should be placed after baseOtherStyles
2214
2226
  expValEquals('platform_editor_render_bodied_extension_as_inline', 'isEnabled', true) && (expValEquals('platform_editor_remove_important_in_render_ext', 'isEnabled', true) ? extensionAsInlineStyle : oldExtensionAsInlineStyle), inlineExtensionRendererMarginFix, allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? alignedHeadingAnchorStyle : alignedHeadingAnchorStyleDuplicateAnchor), mediaSingleSharedStyle,
2215
2227
  // merge firstWrappedMediaStyles with mediaSingleSharedStyle when clean up platform_editor_fix_media_in_renderer
2216
- fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeStyles, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, fg('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, isStickyScrollbarEnabled(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && (expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEquals('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? expValEquals('platform_editor_emojis_in_renderer_smart_links', 'isEnabled', true) ? isCompactModeEnabled ? scaledDenseEmojiStylesNew : scaledEmojiStylesNew : isCompactModeEnabled ? scaledDenseEmojiStyles : scaledEmojiStyles : isCompactModeEnabled ? denseStyles : undefined, editorExperiment('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, editorExperiment('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, expValEquals('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
2228
+ fg('platform_editor_fix_media_in_renderer') && firstWrappedMediaStyles, tableSharedStyle, expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) && roundedTableOuterBorderOverlayStyles, expValEquals('platform_editor_table_fit_to_content_auto_convert', 'isEnabled', true) && tableContentModeStyles, tableRendererHeaderStylesForTableCellOnly, fg('platform_editor_bordered_panel_nested_in_table') && tableRendererNestedPanelStyles, isBackgroundClipBrowserFixNeeded() && tableStylesBackGroundClipForGeckoForTableCellOnly, fg('platform_editor_nested_dnd_styles_changes') ? firstNodeWithNotMarginTopWithNestedDnD : firstNodeWithNotMarginTop, rendererTableStyles, isStickyScrollbarEnabled(appearance) && stickyScrollbarStyles, rendererTableHeaderEqualHeightStylesForTableCellOnly, allowColumnSorting && rendererTableSortableColumnStyles, allowColumnSorting && expValEqualsNoExposure('platform_editor_table_menu_updates', 'isEnabled', true) && rendererTableSortableColumnValignStyles, allowColumnSorting && allowNestedHeaderLinks && (expValEquals('platform_editor_copy_link_a11y_inconsistency_fix', 'isEnabled', true) ? rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinks : rendererTableHeaderEqualHeightStylesAllowNestedHeaderLinksDuplicateAnchor), rendererTableColumnStyles, stickyHeaderStyles, codeBlockAndLayoutStyles, columnLayoutSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveSharedStyle, isAdvancedLayoutsOn && columnLayoutResponsiveRendererStyles, isAdvancedLayoutsOn && layoutSectionForAdvancedLayoutsStyles, !useBlockRenderForCodeBlock && gridRenderForCodeBlockStyles, browser.safari && codeBlockInListSafariFixStyles, appearance === 'full-page' && !isPreviewPanelResponsivenessOn && responsiveBreakoutWidth, appearance === 'full-page' && isPreviewPanelResponsivenessOn && responsiveBreakoutWidthWithReducedPadding, (appearance === 'full-width' || appearance === 'max' && (expValEquals('editor_tinymce_full_width_mode', 'isEnabled', true) || expValEquals('confluence_max_width_content_appearance', 'isEnabled', true))) && responsiveBreakoutWidthFullWidth, expValEquals('platform_editor_lovability_emoji_scaling', 'isEnabled', true) ? expValEquals('platform_editor_emojis_in_renderer_smart_links', 'isEnabled', true) ? isCompactModeEnabled ? scaledDenseEmojiStylesNew : scaledEmojiStylesNew : isCompactModeEnabled ? scaledDenseEmojiStyles : scaledEmojiStyles : isCompactModeEnabled ? denseStyles : undefined, editorExperiment('platform_synced_block', true) && syncBlockStyles, centerWrapperStyles, editorExperiment('platform_synced_block', true) && isInsideSyncBlock ? syncBlockRendererStyles : null, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && tableFakeBorderStyles, isInsideSyncBlock && editorExperiment('platform_synced_block', true) && expValEquals('platform_editor_table_q4_loveability', 'isEnabled', true) ? roundedTableFakeBorderOverlayStyles : null, expValEquals('platform_editor_hide_extension_renderer_support', 'isEnabled', true) && hideExtensionStyles],
2217
2229
  "data-testid": testId
2218
2230
  }, children);
2219
2231
  };
@@ -62,7 +62,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
62
62
  var TABLE_INFO_TIMEOUT = 10000;
63
63
  var RENDER_EVENT_SAMPLE_RATE = 0.2;
64
64
  var packageName = "@atlaskit/renderer";
65
- var packageVersion = "131.1.7";
65
+ var packageVersion = "131.1.9";
66
66
  var setAsQueryContainerStyles = css({
67
67
  containerName: 'ak-renderer-wrapper',
68
68
  containerType: 'inline-size'
@@ -9,7 +9,7 @@
9
9
  * Cleanup: delete this file once the experiment has shipped.
10
10
  */
11
11
  import React from 'react';
12
- import type { Valign } from '@atlaskit/editor-common/types/valign';
12
+ import type { Valign } from '@atlaskit/adf-schema/layout-column';
13
13
  export declare const LayoutSectionCompiled: (props: React.PropsWithChildren<{
14
14
  valign?: Valign;
15
15
  width?: number;
@@ -9,7 +9,7 @@
9
9
  * Cleanup: delete this file once the experiment has shipped.
10
10
  */
11
11
  import React from 'react';
12
- import type { Valign } from '@atlaskit/editor-common/types/valign';
12
+ import type { Valign } from '@atlaskit/adf-schema/layout-column';
13
13
  export declare const LayoutSectionEmotion: (props: React.PropsWithChildren<{
14
14
  valign?: Valign;
15
15
  width?: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { Valign } from '@atlaskit/editor-common/types/valign';
2
+ import type { Valign } from '@atlaskit/adf-schema/layout-column';
3
3
  /**
4
4
  * Render a layout column in renderer.
5
5
  */
@@ -9,7 +9,7 @@
9
9
  * Cleanup: delete this file once the experiment has shipped.
10
10
  */
11
11
  import React from 'react';
12
- import type { Valign } from '@atlaskit/editor-common/types/valign';
12
+ import type { Valign } from '@atlaskit/adf-schema/layout-column';
13
13
  export declare const LayoutSectionCompiled: (props: React.PropsWithChildren<{
14
14
  valign?: Valign;
15
15
  width?: number;
@@ -9,7 +9,7 @@
9
9
  * Cleanup: delete this file once the experiment has shipped.
10
10
  */
11
11
  import React from 'react';
12
- import type { Valign } from '@atlaskit/editor-common/types/valign';
12
+ import type { Valign } from '@atlaskit/adf-schema/layout-column';
13
13
  export declare const LayoutSectionEmotion: (props: React.PropsWithChildren<{
14
14
  valign?: Valign;
15
15
  width?: number;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import type { Valign } from '@atlaskit/editor-common/types/valign';
2
+ import type { Valign } from '@atlaskit/adf-schema/layout-column';
3
3
  /**
4
4
  * Render a layout column in renderer.
5
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/renderer",
3
- "version": "131.1.8",
3
+ "version": "131.2.0",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -30,7 +30,7 @@
30
30
  }
31
31
  },
32
32
  "dependencies": {
33
- "@atlaskit/adf-schema": "^52.14.0",
33
+ "@atlaskit/adf-schema": "^52.15.0",
34
34
  "@atlaskit/adf-utils": "^19.31.0",
35
35
  "@atlaskit/afm-i18n-platform-editor-renderer": "2.10.0",
36
36
  "@atlaskit/analytics-listeners": "^10.1.0",
@@ -80,7 +80,7 @@
80
80
  "uuid": "^3.1.0"
81
81
  },
82
82
  "peerDependencies": {
83
- "@atlaskit/editor-common": "^114.47.0",
83
+ "@atlaskit/editor-common": "^114.48.0",
84
84
  "@atlaskit/link-provider": "^4.4.0",
85
85
  "@atlaskit/media-core": "^37.1.0",
86
86
  "react": "^18.2.0",