@atlaskit/editor-core 197.9.0 → 197.9.1

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,14 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 197.9.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#143311](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/143311)
8
+ [`994ae05bb80fc`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/994ae05bb80fc) -
9
+ ED-24709: FF platform.editor.media.preview-in-full-page clean up
10
+ - Updated dependencies
11
+
3
12
  ## 197.9.0
4
13
 
5
14
  ### Minor Changes
@@ -55,7 +55,6 @@ var _table = require("@atlaskit/editor-plugins/table");
55
55
  var _tasksAndDecisions = require("@atlaskit/editor-plugins/tasks-and-decisions");
56
56
  var _textColor = require("@atlaskit/editor-plugins/text-color");
57
57
  var _toolbarListsIndentation = require("@atlaskit/editor-plugins/toolbar-lists-indentation");
58
- var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
59
58
  var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
60
59
  var _isFullPage = require("../utils/is-full-page");
61
60
  var _versionWrapper = require("../version-wrapper");
@@ -128,7 +127,7 @@ function createUniversalPresetInternal(_ref) {
128
127
  allowMediaSingleEditable: true,
129
128
  allowRemoteDimensionsFetch: true,
130
129
  allowMarkingUploadsAsIncomplete: false,
131
- allowImagePreview: isFullPage && (0, _platformFeatureFlags.fg)('platform.editor.media.preview-in-full-page'),
130
+ allowImagePreview: isFullPage,
132
131
  fullWidthEnabled: appearance === 'full-width',
133
132
  editorAppearance: appearance,
134
133
  uploadErrorHandler: props.uploadErrorHandler,
@@ -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 = "197.9.0";
8
+ var version = exports.version = "197.9.1";
@@ -45,7 +45,6 @@ import { tablesPlugin } from '@atlaskit/editor-plugins/table';
45
45
  import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugins/tasks-and-decisions';
46
46
  import { textColorPlugin } from '@atlaskit/editor-plugins/text-color';
47
47
  import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugins/toolbar-lists-indentation';
48
- import { fg } from '@atlaskit/platform-feature-flags';
49
48
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
50
49
  import { isFullPage as fullPageCheck } from '../utils/is-full-page';
51
50
  import { version as coreVersion } from '../version-wrapper';
@@ -119,7 +118,7 @@ export default function createUniversalPresetInternal({
119
118
  allowMediaSingleEditable: true,
120
119
  allowRemoteDimensionsFetch: true,
121
120
  allowMarkingUploadsAsIncomplete: false,
122
- allowImagePreview: isFullPage && fg('platform.editor.media.preview-in-full-page'),
121
+ allowImagePreview: isFullPage,
123
122
  fullWidthEnabled: appearance === 'full-width',
124
123
  editorAppearance: appearance,
125
124
  uploadErrorHandler: props.uploadErrorHandler,
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "197.9.0";
2
+ export const version = "197.9.1";
@@ -49,7 +49,6 @@ import { tablesPlugin } from '@atlaskit/editor-plugins/table';
49
49
  import { tasksAndDecisionsPlugin } from '@atlaskit/editor-plugins/tasks-and-decisions';
50
50
  import { textColorPlugin } from '@atlaskit/editor-plugins/text-color';
51
51
  import { toolbarListsIndentationPlugin } from '@atlaskit/editor-plugins/toolbar-lists-indentation';
52
- import { fg } from '@atlaskit/platform-feature-flags';
53
52
  import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
54
53
  import { isFullPage as fullPageCheck } from '../utils/is-full-page';
55
54
  import { version as coreVersion } from '../version-wrapper';
@@ -121,7 +120,7 @@ export default function createUniversalPresetInternal(_ref) {
121
120
  allowMediaSingleEditable: true,
122
121
  allowRemoteDimensionsFetch: true,
123
122
  allowMarkingUploadsAsIncomplete: false,
124
- allowImagePreview: isFullPage && fg('platform.editor.media.preview-in-full-page'),
123
+ allowImagePreview: isFullPage,
125
124
  fullWidthEnabled: appearance === 'full-width',
126
125
  editorAppearance: appearance,
127
126
  uploadErrorHandler: props.uploadErrorHandler,
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "197.9.0";
2
+ export var version = "197.9.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "197.9.0",
3
+ "version": "197.9.1",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -43,7 +43,7 @@
43
43
  "@atlaskit/analytics-next": "^10.1.0",
44
44
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
45
45
  "@atlaskit/button": "^20.1.0",
46
- "@atlaskit/editor-common": "^90.0.0",
46
+ "@atlaskit/editor-common": "^90.1.0",
47
47
  "@atlaskit/editor-json-transformer": "^8.18.0",
48
48
  "@atlaskit/editor-plugin-quick-insert": "1.4.1",
49
49
  "@atlaskit/editor-plugins": "^5.3.0",
@@ -97,8 +97,8 @@
97
97
  "@atlaskit/media-integration-test-helpers": "^3.1.0",
98
98
  "@atlaskit/media-test-helpers": "^34.4.0",
99
99
  "@atlaskit/modal-dialog": "^12.16.0",
100
- "@atlaskit/primitives": "^12.1.0",
101
- "@atlaskit/renderer": "^110.3.0",
100
+ "@atlaskit/primitives": "^12.2.0",
101
+ "@atlaskit/renderer": "^110.4.0",
102
102
  "@atlaskit/smart-card": "^28.1.0",
103
103
  "@atlaskit/synchrony-test-helpers": "^2.5.0",
104
104
  "@atlaskit/toggle": "^13.4.0",
@@ -106,7 +106,7 @@
106
106
  "@atlaskit/visual-regression": "*",
107
107
  "@atlassian/adf-schema-json": "^1.22.0",
108
108
  "@atlassian/feature-flags-test-utils": "*",
109
- "@atlassian/search-provider": "2.4.136",
109
+ "@atlassian/search-provider": "2.4.138",
110
110
  "@emotion/jest": "^11.8.0",
111
111
  "@storybook/addon-knobs": "^5.3.18",
112
112
  "@testing-library/react": "^12.1.5",
@@ -174,9 +174,6 @@
174
174
  "type": "boolean",
175
175
  "referenceOnly": "true"
176
176
  },
177
- "platform.editor.media.preview-in-full-page": {
178
- "type": "boolean"
179
- },
180
177
  "platform.editor.inline_extension.extended_lcqdn": {
181
178
  "type": "boolean",
182
179
  "referenceOnly": "true"
package/.eslintrc.js DELETED
@@ -1,21 +0,0 @@
1
- module.exports = {
2
- rules: {
3
- '@typescript-eslint/no-explicit-any': 'error',
4
- '@atlaskit/design-system/ensure-design-token-usage/preview': [
5
- 'error',
6
- { domains: ['spacing'], shouldEnforceFallbacks: false },
7
- ],
8
- },
9
- overrides: [
10
- {
11
- files: [
12
- '**/__tests__/**/*.{js,ts,tsx}',
13
- 'examples/**/*.{js,ts,tsx}',
14
- '**/*.{test,spec}.{js,ts,tsx}',
15
- ],
16
- rules: {
17
- '@typescript-eslint/no-explicit-any': ['off'],
18
- },
19
- },
20
- ],
21
- };