@atlaskit/editor-core 214.1.6 → 214.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,25 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 214.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`4954474ad8383`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4954474ad8383) -
8
+ [EDITOR-1992] Make extension styles take the feature gate and set the font size for links inside
9
+ them to resolve table of contents not being the correct size
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies
14
+
15
+ ## 214.1.7
16
+
17
+ ### Patch Changes
18
+
19
+ - [`bcc75f68099a1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bcc75f68099a1) -
20
+ upgrade browser util in editor-core
21
+ - Updated dependencies
22
+
3
23
  ## 214.1.6
4
24
 
5
25
  ### Patch Changes
@@ -40,6 +40,7 @@ var useShowKeyline = function useShowKeyline(contentAreaRef) {
40
40
  if (!((_contentAreaRef$curre = contentAreaRef.current) !== null && _contentAreaRef$curre !== void 0 && _contentAreaRef$curre.contentArea)) {
41
41
  return;
42
42
  }
43
+ var browser = (0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) ? (0, _browser.getBrowserInfo)() : _browser.browser;
43
44
  var intersection = new IntersectionObserver(function (_ref) {
44
45
  var _ref2 = (0, _slicedToArray2.default)(_ref, 1),
45
46
  entry = _ref2[0];
@@ -50,7 +51,7 @@ var useShowKeyline = function useShowKeyline(contentAreaRef) {
50
51
  // to differences in IntersectionObserver behaviour between browsers.
51
52
  // By lowering the threshold a little it gives Safari more
52
53
  // time to catch these events.
53
- threshold: _browser.browser.safari ? 0.98 : 1
54
+ threshold: browser.safari ? 0.98 : 1
54
55
  });
55
56
  intersection.observe(contentAreaRef.current.contentArea);
56
57
  return function () {
@@ -107,6 +107,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
107
107
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
108
108
  '--ak-editor--large-gutter-padding': "".concat((0, _editorSharedStyles.akEditorGutterPaddingDynamic)(), "px")
109
109
  };
110
+ var browser = (0, _expValEquals.expValEquals)('platform_editor_hydratable_ui', 'isEnabled', true) ? (0, _browser.getBrowserInfo)() : _browser.browser;
110
111
  return (0, _react2.jsx)("div", {
111
112
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
112
113
  className: className,
@@ -207,7 +208,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
207
208
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
208
209
  _dateStyles.dateStyles,
209
210
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
210
- _extensionStyles.extensionStyles,
211
+ (0, _extensionStyles.getExtensionStyles)(),
211
212
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
212
213
  _expandStyles.expandStyles, (0, _platformFeatureFlags.fg)('platform_editor_nested_dnd_styles_changes') ?
213
214
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
@@ -305,7 +306,7 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
305
306
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
306
307
  _link.linkStyles,
307
308
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
308
- _browser.browser.safari && _list.listsStylesSafariFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) ? (0, _platformFeatureFlags.fg)('platform_editor_breakout_resizing_width_changes') ?
309
+ browser.safari && _list.listsStylesSafariFix, (0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_breakout_resizing', 'isEnabled', true) ? (0, _platformFeatureFlags.fg)('platform_editor_breakout_resizing_width_changes') ?
309
310
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
310
311
  _resizerStyles.pragmaticResizerStylesNew :
311
312
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values