@atlaskit/editor-core 209.8.1 → 209.8.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,26 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 209.8.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [`598cea2432fa9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/598cea2432fa9) -
8
+ [ux] UI and behaviour updates of the HoverLinkOverlay for the Preview Panels.
9
+ - Updated dependencies
10
+
11
+ ## 209.8.2
12
+
13
+ ### Patch Changes
14
+
15
+ - [#199851](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/199851)
16
+ [`a37fa5c2adf4a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a37fa5c2adf4a) -
17
+ [ux] EDITOR-346 Clean up nested tables feature gate
18
+ `platform_editor_nested_tables_number_column_fixes`
19
+ - [#201076](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/201076)
20
+ [`f77782099391b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/f77782099391b) -
21
+ Add css overrides for comment toolbar to remove left padding overrides
22
+ - Updated dependencies
23
+
3
24
  ## 209.8.1
4
25
 
5
26
  ### Patch Changes
@@ -25,12 +25,10 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
25
25
  var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
26
26
  var akEditorMenuZIndex = 500;
27
27
  var akEditorToolbarKeylineHeight = 2;
28
-
29
- /* eslint-disable @atlaskit/platform/ensure-feature-flag-registration */
30
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
31
28
  var mainToolbarWrapperStyle = function mainToolbarWrapperStyle() {
32
29
  var isTwoLineEditorToolbar = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
33
- return (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tposition: relative;\n\talign-items: center;\n\tpadding: ", " ", " 0;\n\tdisplay: flex;\n\theight: auto;\n\tbackground-color: ", ";\n\tbox-shadow: none;\n\tpadding-left: ", ";\n\n\t& > div {\n\t\t> :first-child:not(style),\n\t\t> style:first-child + * {\n\t\t\tmargin-left: 0;\n\t\t}\n\t\t", "\n\t}\n\n\t.block-type-btn {\n\t\tpadding-left: 0;\n\t}\n\n\t", "\n"])), "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-surface, white)", "var(--ds-space-250, 20px)", isTwoLineEditorToolbar && "\n @media (max-width: ".concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n flex-direction: column-reverse;\n align-items: end;\n display: flex;\n justify-content: flex-end;\n }\n\n /* make this more explicit for a toolbar */\n > *:nth-child(1) {\n @media (max-width: ").concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n > div:nth-child(2) {\n justify-content: flex-end;\n display: flex;\n }\n }\n }\n "), (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && 'span svg { max-width: 100%; }');
30
+ var isToolbarAifcEnabled = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
31
+ return (0, _react2.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\tposition: relative;\n\talign-items: center;\n\tpadding: ", " ", " 0;\n\tdisplay: flex;\n\theight: auto;\n\tbackground-color: ", ";\n\tbox-shadow: none;\n\t", "\n\n\t& > div {\n\t\t> :first-child:not(style),\n\t\t> style:first-child + * {\n\t\t\tmargin-left: 0;\n\t\t}\n\t\t", "\n\t}\n\n\t.block-type-btn {\n\t\tpadding-left: 0;\n\t}\n\n\t", "\n"])), "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-surface, white)", isToolbarAifcEnabled ? '' : "padding-left: ".concat("var(--ds-space-250, 20px)", ";"), isTwoLineEditorToolbar && "\n @media (max-width: ".concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n flex-direction: column-reverse;\n align-items: end;\n display: flex;\n justify-content: flex-end;\n }\n\n /* make this more explicit for a toolbar */\n > *:nth-child(1) {\n @media (max-width: ").concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n > div:nth-child(2) {\n justify-content: flex-end;\n display: flex;\n }\n }\n }\n "), (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && 'span svg { max-width: 100%; }');
34
32
  };
35
33
  var mainToolbarWrapperStyleNew = (0, _react2.css)({
36
34
  position: 'relative',
@@ -53,6 +51,11 @@ var mainToolbarWrapperStyleNew = (0, _react2.css)({
53
51
  paddingLeft: 0
54
52
  }
55
53
  });
54
+
55
+ /** keep default padding for entire toolbar */
56
+ var mainToolbarWithoutLeftPadding = (0, _react2.css)({
57
+ padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-100, 8px)", " 0")
58
+ });
56
59
  var mainToolbarTwoLineStylesNew = (0, _react2.css)({
57
60
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
58
61
  '& > div': (0, _defineProperty2.default)((0, _defineProperty2.default)({}, "@media (max-width: ".concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px)"), {
@@ -109,9 +112,11 @@ var StickyToolbar = function StickyToolbar(props) {
109
112
  return (
110
113
  // eslint-disable-next-line @atlaskit/design-system/prefer-primitives
111
114
  (0, _react2.jsx)("div", {
112
- css: (0, _expValEquals.expValEquals)('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh, stickyToolbarWrapperStyleNew] :
115
+ css: (0, _expValEquals.expValEquals)('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh, stickyToolbarWrapperStyleNew, (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc', 'isEnabled', true) && mainToolbarWithoutLeftPadding] : [
113
116
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
114
- [mainToolbarWrapperStyle(props.twoLineEditorToolbar), stickyToolbarWrapperStyle]
117
+ mainToolbarWrapperStyle(props.twoLineEditorToolbar,
118
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
119
+ (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc', 'isEnabled', true)), stickyToolbarWrapperStyle]
115
120
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
116
121
  ,
117
122
  style: {
@@ -128,9 +133,11 @@ var FixedToolbar = function FixedToolbar(props) {
128
133
  return (
129
134
  // eslint-disable-next-line @atlaskit/design-system/prefer-primitives
130
135
  (0, _react2.jsx)("div", {
131
- css: (0, _expValEquals.expValEquals)('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh] :
136
+ css: (0, _expValEquals.expValEquals)('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh, (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc', 'isEnabled', true) && mainToolbarWithoutLeftPadding] :
132
137
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
133
- mainToolbarWrapperStyle(props.twoLineEditorToolbar),
138
+ mainToolbarWrapperStyle(props.twoLineEditorToolbar,
139
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
140
+ (0, _expValEquals.expValEquals)('platform_editor_toolbar_aifc', 'isEnabled', true)),
134
141
  "data-testid": "ak-editor-main-toolbar"
135
142
  }, props.children)
136
143
  );
@@ -249,7 +249,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
249
249
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
250
250
  _smartCardStyles.smartCardStyles, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_preview_panel_responsiveness', 'isEnabled', true) &&
251
251
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
252
- _smartCardStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_controls', 'cohort', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_15') &&
252
+ _smartCardStyles.smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_controls', 'cohort', 'variant1') && (0, _platformFeatureFlags.fg)('platform_editor_controls_patch_15') || (0, _platformFeatureFlags.fg)('platform_editor_preview_panel_linking')) &&
253
253
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
254
254
  _smartCardStyles.editorControlsSmartCardStyles,
255
255
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -5,4 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
- var version = exports.version = "209.8.0";
8
+ var version = exports.version = "209.8.2";
@@ -13,10 +13,10 @@ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
13
13
  const MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
14
14
  const akEditorMenuZIndex = 500;
15
15
  const akEditorToolbarKeylineHeight = 2;
16
-
16
+ const mainToolbarWrapperStyle = (isTwoLineEditorToolbar = false, isToolbarAifcEnabled = false
17
17
  /* eslint-disable @atlaskit/platform/ensure-feature-flag-registration */
18
18
  // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
19
- const mainToolbarWrapperStyle = (isTwoLineEditorToolbar = false) => css`
19
+ ) => css`
20
20
  position: relative;
21
21
  align-items: center;
22
22
  padding: ${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"} 0;
@@ -24,7 +24,7 @@ const mainToolbarWrapperStyle = (isTwoLineEditorToolbar = false) => css`
24
24
  height: auto;
25
25
  background-color: ${"var(--ds-surface, white)"};
26
26
  box-shadow: none;
27
- padding-left: ${"var(--ds-space-250, 20px)"};
27
+ ${isToolbarAifcEnabled ? '' : `padding-left: ${"var(--ds-space-250, 20px)"};`}
28
28
 
29
29
  & > div {
30
30
  > :first-child:not(style),
@@ -78,6 +78,11 @@ const mainToolbarWrapperStyleNew = css({
78
78
  paddingLeft: 0
79
79
  }
80
80
  });
81
+
82
+ /** keep default padding for entire toolbar */
83
+ const mainToolbarWithoutLeftPadding = css({
84
+ padding: `${"var(--ds-space-100, 8px)"} ${"var(--ds-space-100, 8px)"} 0`
85
+ });
81
86
  const mainToolbarTwoLineStylesNew = css({
82
87
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
83
88
  '& > div': {
@@ -152,9 +157,11 @@ const StickyToolbar = props => {
152
157
  return (
153
158
  // eslint-disable-next-line @atlaskit/design-system/prefer-primitives
154
159
  jsx("div", {
155
- css: expValEquals('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, fg('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh, stickyToolbarWrapperStyleNew] :
160
+ css: expValEquals('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, fg('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh, stickyToolbarWrapperStyleNew, expValEquals('platform_editor_toolbar_aifc', 'isEnabled', true) && mainToolbarWithoutLeftPadding] : [
156
161
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
157
- [mainToolbarWrapperStyle(props.twoLineEditorToolbar), stickyToolbarWrapperStyle]
162
+ mainToolbarWrapperStyle(props.twoLineEditorToolbar,
163
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
164
+ expValEquals('platform_editor_toolbar_aifc', 'isEnabled', true)), stickyToolbarWrapperStyle]
158
165
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
159
166
  ,
160
167
  style: {
@@ -170,9 +177,11 @@ const StickyToolbar = props => {
170
177
  const FixedToolbar = props =>
171
178
  // eslint-disable-next-line @atlaskit/design-system/prefer-primitives
172
179
  jsx("div", {
173
- css: expValEquals('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, fg('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh] :
180
+ css: expValEquals('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, fg('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh, expValEquals('platform_editor_toolbar_aifc', 'isEnabled', true) && mainToolbarWithoutLeftPadding] :
174
181
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
175
- mainToolbarWrapperStyle(props.twoLineEditorToolbar),
182
+ mainToolbarWrapperStyle(props.twoLineEditorToolbar,
183
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
184
+ expValEquals('platform_editor_toolbar_aifc', 'isEnabled', true)),
176
185
  "data-testid": "ak-editor-main-toolbar"
177
186
  }, props.children);
178
187
 
@@ -244,7 +244,7 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
244
244
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
245
245
  smartCardStyles, expValEqualsNoExposure('platform_editor_preview_panel_responsiveness', 'isEnabled', true) &&
246
246
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
247
- smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && fg('platform_editor_controls_patch_15') &&
247
+ smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, (expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && fg('platform_editor_controls_patch_15') || fg('platform_editor_preview_panel_linking')) &&
248
248
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
249
249
  editorControlsSmartCardStyles,
250
250
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "209.8.0";
2
+ export const version = "209.8.2";
@@ -18,12 +18,10 @@ import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
18
  var MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT = 490;
19
19
  var akEditorMenuZIndex = 500;
20
20
  var akEditorToolbarKeylineHeight = 2;
21
-
22
- /* eslint-disable @atlaskit/platform/ensure-feature-flag-registration */
23
- // eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
24
21
  var mainToolbarWrapperStyle = function mainToolbarWrapperStyle() {
25
22
  var isTwoLineEditorToolbar = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
26
- return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tposition: relative;\n\talign-items: center;\n\tpadding: ", " ", " 0;\n\tdisplay: flex;\n\theight: auto;\n\tbackground-color: ", ";\n\tbox-shadow: none;\n\tpadding-left: ", ";\n\n\t& > div {\n\t\t> :first-child:not(style),\n\t\t> style:first-child + * {\n\t\t\tmargin-left: 0;\n\t\t}\n\t\t", "\n\t}\n\n\t.block-type-btn {\n\t\tpadding-left: 0;\n\t}\n\n\t", "\n"])), "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-surface, white)", "var(--ds-space-250, 20px)", isTwoLineEditorToolbar && "\n @media (max-width: ".concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n flex-direction: column-reverse;\n align-items: end;\n display: flex;\n justify-content: flex-end;\n }\n\n /* make this more explicit for a toolbar */\n > *:nth-child(1) {\n @media (max-width: ").concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n > div:nth-child(2) {\n justify-content: flex-end;\n display: flex;\n }\n }\n }\n "), fg('platform-visual-refresh-icons') && 'span svg { max-width: 100%; }');
23
+ var isToolbarAifcEnabled = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
24
+ return css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\tposition: relative;\n\talign-items: center;\n\tpadding: ", " ", " 0;\n\tdisplay: flex;\n\theight: auto;\n\tbackground-color: ", ";\n\tbox-shadow: none;\n\t", "\n\n\t& > div {\n\t\t> :first-child:not(style),\n\t\t> style:first-child + * {\n\t\t\tmargin-left: 0;\n\t\t}\n\t\t", "\n\t}\n\n\t.block-type-btn {\n\t\tpadding-left: 0;\n\t}\n\n\t", "\n"])), "var(--ds-space-100, 8px)", "var(--ds-space-100, 8px)", "var(--ds-surface, white)", isToolbarAifcEnabled ? '' : "padding-left: ".concat("var(--ds-space-250, 20px)", ";"), isTwoLineEditorToolbar && "\n @media (max-width: ".concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n flex-direction: column-reverse;\n align-items: end;\n display: flex;\n justify-content: flex-end;\n }\n\n /* make this more explicit for a toolbar */\n > *:nth-child(1) {\n @media (max-width: ").concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px) {\n > div:nth-child(2) {\n justify-content: flex-end;\n display: flex;\n }\n }\n }\n "), fg('platform-visual-refresh-icons') && 'span svg { max-width: 100%; }');
27
25
  };
28
26
  var mainToolbarWrapperStyleNew = css({
29
27
  position: 'relative',
@@ -46,6 +44,11 @@ var mainToolbarWrapperStyleNew = css({
46
44
  paddingLeft: 0
47
45
  }
48
46
  });
47
+
48
+ /** keep default padding for entire toolbar */
49
+ var mainToolbarWithoutLeftPadding = css({
50
+ padding: "var(--ds-space-100, 8px)".concat(" ", "var(--ds-space-100, 8px)", " 0")
51
+ });
49
52
  var mainToolbarTwoLineStylesNew = css({
50
53
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
51
54
  '& > div': _defineProperty(_defineProperty({}, "@media (max-width: ".concat(MAXIMUM_TWO_LINE_TOOLBAR_BREAKPOINT, "px)"), {
@@ -102,9 +105,11 @@ var StickyToolbar = function StickyToolbar(props) {
102
105
  return (
103
106
  // eslint-disable-next-line @atlaskit/design-system/prefer-primitives
104
107
  jsx("div", {
105
- css: expValEquals('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, fg('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh, stickyToolbarWrapperStyleNew] :
108
+ css: expValEquals('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, fg('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh, stickyToolbarWrapperStyleNew, expValEquals('platform_editor_toolbar_aifc', 'isEnabled', true) && mainToolbarWithoutLeftPadding] : [
106
109
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
107
- [mainToolbarWrapperStyle(props.twoLineEditorToolbar), stickyToolbarWrapperStyle]
110
+ mainToolbarWrapperStyle(props.twoLineEditorToolbar,
111
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
112
+ expValEquals('platform_editor_toolbar_aifc', 'isEnabled', true)), stickyToolbarWrapperStyle]
108
113
  // eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview
109
114
  ,
110
115
  style: {
@@ -121,9 +126,11 @@ var FixedToolbar = function FixedToolbar(props) {
121
126
  return (
122
127
  // eslint-disable-next-line @atlaskit/design-system/prefer-primitives
123
128
  jsx("div", {
124
- css: expValEquals('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, fg('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh] :
129
+ css: expValEquals('platform_editor_core_static_emotion_non_central', 'isEnabled', true) ? [mainToolbarWrapperStyleNew, props.twoLineEditorToolbar && mainToolbarTwoLineStylesNew, fg('platform-visual-refresh-icons') && mainToolbarWrapperStylesVisualRefresh, expValEquals('platform_editor_toolbar_aifc', 'isEnabled', true) && mainToolbarWithoutLeftPadding] :
125
130
  // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- Ignored via go/DSP-18766
126
- mainToolbarWrapperStyle(props.twoLineEditorToolbar),
131
+ mainToolbarWrapperStyle(props.twoLineEditorToolbar,
132
+ // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
133
+ expValEquals('platform_editor_toolbar_aifc', 'isEnabled', true)),
127
134
  "data-testid": "ak-editor-main-toolbar"
128
135
  }, props.children)
129
136
  );
@@ -241,7 +241,7 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
241
241
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
242
242
  smartCardStyles, expValEqualsNoExposure('platform_editor_preview_panel_responsiveness', 'isEnabled', true) &&
243
243
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
244
- smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && fg('platform_editor_controls_patch_15') &&
244
+ smartCardStylesWithSearchMatchAndPreviewPanelResponsiveness, (expValEqualsNoExposure('platform_editor_controls', 'cohort', 'variant1') && fg('platform_editor_controls_patch_15') || fg('platform_editor_preview_panel_linking')) &&
245
245
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
246
246
  editorControlsSmartCardStyles,
247
247
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "209.8.0";
2
+ export var version = "209.8.2";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "209.8.1",
3
+ "version": "209.8.3",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -52,18 +52,18 @@
52
52
  "@atlaskit/editor-plugins": "^10.1.0",
53
53
  "@atlaskit/editor-prosemirror": "7.0.0",
54
54
  "@atlaskit/editor-shared-styles": "^3.6.0",
55
- "@atlaskit/editor-toolbar": "^0.2.0",
55
+ "@atlaskit/editor-toolbar": "^0.3.0",
56
56
  "@atlaskit/editor-toolbar-model": "^0.1.0",
57
57
  "@atlaskit/emoji": "^69.3.0",
58
- "@atlaskit/icon": "^27.11.0",
58
+ "@atlaskit/icon": "^27.12.0",
59
59
  "@atlaskit/link": "^3.2.0",
60
60
  "@atlaskit/media-card": "^79.5.0",
61
61
  "@atlaskit/mention": "^24.2.0",
62
62
  "@atlaskit/platform-feature-flags": "^1.1.0",
63
63
  "@atlaskit/platform-feature-flags-react": "^0.2.0",
64
- "@atlaskit/react-ufo": "^4.2.0",
64
+ "@atlaskit/react-ufo": "^4.3.0",
65
65
  "@atlaskit/task-decision": "^19.2.0",
66
- "@atlaskit/tmp-editor-statsig": "^9.27.0",
66
+ "@atlaskit/tmp-editor-statsig": "^9.28.0",
67
67
  "@atlaskit/tokens": "^6.0.0",
68
68
  "@atlaskit/tooltip": "^20.4.0",
69
69
  "@atlaskit/width-detector": "^5.0.0",
@@ -80,7 +80,7 @@
80
80
  "uuid": "^3.1.0"
81
81
  },
82
82
  "peerDependencies": {
83
- "@atlaskit/editor-common": "^107.22.0",
83
+ "@atlaskit/editor-common": "^107.23.0",
84
84
  "@atlaskit/link-provider": "^3.4.0",
85
85
  "@atlaskit/media-core": "^37.0.0",
86
86
  "react": "^18.2.0",
@@ -94,19 +94,19 @@
94
94
  "@atlaskit/analytics-listeners": "^9.0.0",
95
95
  "@atlaskit/collab-provider": "^11.2.0",
96
96
  "@atlaskit/editor-plugin-annotation": "^3.2.0",
97
- "@atlaskit/editor-plugin-card": "^7.3.0",
97
+ "@atlaskit/editor-plugin-card": "^7.4.0",
98
98
  "@atlaskit/editor-plugin-list": "^5.1.0",
99
99
  "@atlaskit/editor-plugin-paste": "^4.1.0",
100
100
  "@atlaskit/link-provider": "^3.4.0",
101
101
  "@atlaskit/logo": "^19.6.0",
102
102
  "@atlaskit/media-core": "^37.0.0",
103
103
  "@atlaskit/media-integration-test-helpers": "workspace:^",
104
- "@atlaskit/media-test-helpers": "^37.0.0",
104
+ "@atlaskit/media-test-helpers": "^38.0.0",
105
105
  "@atlaskit/modal-dialog": "^14.3.0",
106
106
  "@atlaskit/primitives": "^14.11.0",
107
107
  "@atlaskit/renderer": "^120.4.0",
108
108
  "@atlaskit/section-message": "^8.5.0",
109
- "@atlaskit/smart-card": "^40.8.0",
109
+ "@atlaskit/smart-card": "^40.10.0",
110
110
  "@atlaskit/synchrony-test-helpers": "workspace:^",
111
111
  "@atlaskit/toggle": "^15.1.0",
112
112
  "@atlaskit/util-data-test": "^18.1.0",
@@ -334,10 +334,6 @@
334
334
  "type": "boolean",
335
335
  "referenceOnly": true
336
336
  },
337
- "platform_editor_nested_tables_number_column_fixes": {
338
- "type": "boolean",
339
- "referenceOnly": true
340
- },
341
337
  "platform_editor_elements_dnd_multi_select_patch_1": {
342
338
  "type": "boolean",
343
339
  "referenceOnly": true
@@ -537,6 +533,9 @@
537
533
  "platform_editor_find_and_replace_improvements_1": {
538
534
  "type": "boolean"
539
535
  },
536
+ "platform_editor_preview_panel_linking": {
537
+ "type": "boolean"
538
+ },
540
539
  "platform_editor_task_check_status_fix": {
541
540
  "type": "boolean",
542
541
  "referenceOnly": true