@atlaskit/editor-core 221.9.3 → 221.9.4

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,11 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 221.9.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 221.9.3
4
10
 
5
11
  ### Patch Changes
@@ -21,7 +21,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
21
21
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
22
22
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
23
23
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
24
- var _tokens = require("@atlaskit/tokens");
24
+ var _useThemeObserver2 = require("@atlaskit/tokens/use-theme-observer");
25
25
  var _getBaseFontSize = require("../../composable-editor/utils/getBaseFontSize");
26
26
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
27
27
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } // TODO: EDITOR-6833 - Expected across this entire file, future violations are expected. Will try to remove them later after fully migration
@@ -365,7 +365,7 @@ var EditorContentContainerCompiled = exports.EditorContentContainerCompiled = /*
365
365
  appearance = props.appearance,
366
366
  contentMode = props.contentMode,
367
367
  useStandardNodeWidth = props.useStandardNodeWidth;
368
- var _useThemeObserver = (0, _tokens.useThemeObserver)(),
368
+ var _useThemeObserver = (0, _useThemeObserver2.useThemeObserver)(),
369
369
  colorMode = _useThemeObserver.colorMode;
370
370
  var isFullPage = appearance === 'full-page' || appearance === 'full-width' || ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('editor_tinymce_full_width_mode', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('confluence_max_width_content_appearance', 'isEnabled', true)) && appearance === 'max';
371
371
  var isComment = appearance === 'comment';
@@ -15,7 +15,7 @@ var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
15
15
  var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
16
16
  var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
17
17
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
18
- var _tokens = require("@atlaskit/tokens");
18
+ var _useThemeObserver2 = require("@atlaskit/tokens/use-theme-observer");
19
19
  var _getBaseFontSize = require("../../composable-editor/utils/getBaseFontSize");
20
20
  var _aiPanel = require("./styles/aiPanel");
21
21
  var _annotationStyles = require("./styles/annotationStyles");
@@ -123,7 +123,7 @@ var EditorContentContainerEmotion = exports.EditorContentContainerEmotion = /*#_
123
123
  contentMode = props.contentMode,
124
124
  useStandardNodeWidth = props.useStandardNodeWidth;
125
125
  var theme = (0, _react2.useTheme)();
126
- var _useThemeObserver = (0, _tokens.useThemeObserver)(),
126
+ var _useThemeObserver = (0, _useThemeObserver2.useThemeObserver)(),
127
127
  colorMode = _useThemeObserver.colorMode;
128
128
  var isFullPage = appearance === 'full-page' || appearance === 'full-width' || ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('editor_tinymce_full_width_mode', 'isEnabled', true) || (0, _expValEqualsNoExposure.expValEqualsNoExposure)('confluence_max_width_content_appearance', 'isEnabled', true)) && appearance === 'max';
129
129
  var isComment = appearance === 'comment';
@@ -6,4 +6,4 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.version = exports.name = void 0;
7
7
  var name = exports.name = "@atlaskit/editor-core";
8
8
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
9
- var version = exports.version = "221.9.2";
9
+ var version = exports.version = "221.9.3";
@@ -20,7 +20,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
20
20
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
21
21
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
22
22
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
23
- import { useThemeObserver } from '@atlaskit/tokens';
23
+ import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
24
24
  import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
25
25
 
26
26
  // = akEditorDefaultLayoutWidth * breakoutWideScaleRatio = 1010.8 ~ 1011 This is a resulting width value that is applied to nodes that currently use breakouts (except table) and are set to `wide` when the viewport's width is > 1329px.
@@ -14,7 +14,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
14
14
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
15
15
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
16
16
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
17
- import { useThemeObserver } from '@atlaskit/tokens';
17
+ import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
18
18
  import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
19
19
  import { aiPanelBaseFirefoxStyles, aiPanelBaseStyles, aiPanelDarkFirefoxStyles, aiPanelDarkStyles } from './styles/aiPanel';
20
20
  import { annotationStyles } from './styles/annotationStyles';
@@ -1,3 +1,3 @@
1
1
  export const name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export const version = "221.9.2";
3
+ export const version = "221.9.3";
@@ -24,7 +24,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
24
24
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
25
25
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
26
26
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
27
- import { useThemeObserver } from '@atlaskit/tokens';
27
+ import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
28
28
  import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
29
29
 
30
30
  // = akEditorDefaultLayoutWidth * breakoutWideScaleRatio = 1010.8 ~ 1011 This is a resulting width value that is applied to nodes that currently use breakouts (except table) and are set to `wide` when the viewport's width is > 1329px.
@@ -17,7 +17,7 @@ import { fg } from '@atlaskit/platform-feature-flags';
17
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
18
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
19
19
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
20
- import { useThemeObserver } from '@atlaskit/tokens';
20
+ import { useThemeObserver } from '@atlaskit/tokens/use-theme-observer';
21
21
  import { getBaseFontSize } from '../../composable-editor/utils/getBaseFontSize';
22
22
  import { aiPanelBaseFirefoxStyles, aiPanelBaseStyles, aiPanelDarkFirefoxStyles, aiPanelDarkStyles } from './styles/aiPanel';
23
23
  import { annotationStyles } from './styles/annotationStyles';
@@ -1,3 +1,3 @@
1
1
  export var name = "@atlaskit/editor-core";
2
2
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
3
- export var version = "221.9.2";
3
+ export var version = "221.9.3";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "221.9.3",
3
+ "version": "221.9.4",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -56,7 +56,7 @@
56
56
  "@atlaskit/editor-ssr-renderer": "^7.1.0",
57
57
  "@atlaskit/editor-toolbar": "^2.2.0",
58
58
  "@atlaskit/editor-toolbar-model": "^1.1.0",
59
- "@atlaskit/emoji": "^71.8.0",
59
+ "@atlaskit/emoji": "^71.9.0",
60
60
  "@atlaskit/feature-gate-js-client": "^6.0.0",
61
61
  "@atlaskit/icon": "^37.0.0",
62
62
  "@atlaskit/link": "^4.3.0",
@@ -67,7 +67,7 @@
67
67
  "@atlaskit/react-compiler-gating": "^0.2.0",
68
68
  "@atlaskit/react-ufo": "^7.3.0",
69
69
  "@atlaskit/task-decision": "^21.4.0",
70
- "@atlaskit/tmp-editor-statsig": "^124.7.0",
70
+ "@atlaskit/tmp-editor-statsig": "^125.0.0",
71
71
  "@atlaskit/tokens": "^15.8.0",
72
72
  "@atlaskit/tooltip": "^23.1.0",
73
73
  "@atlaskit/width-detector": "^6.2.0",
@@ -85,7 +85,7 @@
85
85
  "uuid": "^3.1.0"
86
86
  },
87
87
  "peerDependencies": {
88
- "@atlaskit/editor-common": "^116.28.0",
88
+ "@atlaskit/editor-common": "^116.30.0",
89
89
  "@atlaskit/link-provider": "^5.2.0",
90
90
  "@atlaskit/media-core": "^38.0.0",
91
91
  "react": "^18.2.0",
@@ -122,9 +122,9 @@
122
122
  "@atlassian/a11y-jest-testing": "^0.13.0",
123
123
  "@atlassian/a11y-playwright-testing": "^0.10.0",
124
124
  "@atlassian/adf-schema-json": "^1.33.0",
125
- "@atlassian/editor-rovo-bridge": "^10.8.0",
125
+ "@atlassian/editor-rovo-bridge": "^10.9.0",
126
126
  "@atlassian/feature-flags-test-utils": "^1.2.0",
127
- "@atlassian/search-client": "^1.27.0",
127
+ "@atlassian/search-client": "^1.28.0",
128
128
  "@atlassian/search-provider": "^13.1.0",
129
129
  "@atlassian/structured-docs-types": "workspace:^",
130
130
  "@atlassian/user-profile-card": "^1.21.0",