@atlaskit/editor-core 212.1.0 → 212.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,16 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 212.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`64ec65231b4cf`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/64ec65231b4cf) -
8
+ EDITOR-1568 bump adf-schema for afm
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies
13
+
3
14
  ## 212.1.0
4
15
 
5
16
  ### Minor Changes
@@ -358,9 +358,9 @@ var EditorContentContainer = /*#__PURE__*/_react.default.forwardRef(function (pr
358
358
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
359
359
  _mediaStyles.mediaAlignmentStyles,
360
360
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
361
- _tableStyles.tableLayoutFixes, (0, _expValEquals.expValEquals)('platform_editor_table_container_width_fix', 'isEnabled', true)
361
+ _tableStyles.tableLayoutFixes, (0, _expValEquals.expValEquals)('platform_editor_table_container_width_fix', 'isEnabled', true) &&
362
362
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
363
- && _tableStyles.tableContainerStyles,
363
+ _tableStyles.tableContainerStyles,
364
364
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
365
365
  _link.hyperLinkFloatingToolbarStyles,
366
366
  // 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 = "212.0.1";
8
+ var version = exports.version = "0.0.0-development";
@@ -353,9 +353,9 @@ const EditorContentContainer = /*#__PURE__*/React.forwardRef((props, ref) => {
353
353
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
354
354
  mediaAlignmentStyles,
355
355
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
356
- tableLayoutFixes, expValEquals('platform_editor_table_container_width_fix', 'isEnabled', true)
356
+ tableLayoutFixes, expValEquals('platform_editor_table_container_width_fix', 'isEnabled', true) &&
357
357
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
358
- && tableContainerStyles,
358
+ tableContainerStyles,
359
359
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
360
360
  hyperLinkFloatingToolbarStyles,
361
361
  // 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 = "212.0.1";
2
+ export const version = "0.0.0-development";
@@ -350,9 +350,9 @@ var EditorContentContainer = /*#__PURE__*/React.forwardRef(function (props, ref)
350
350
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
351
351
  mediaAlignmentStyles,
352
352
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
353
- tableLayoutFixes, expValEquals('platform_editor_table_container_width_fix', 'isEnabled', true)
353
+ tableLayoutFixes, expValEquals('platform_editor_table_container_width_fix', 'isEnabled', true) &&
354
354
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
355
- && tableContainerStyles,
355
+ tableContainerStyles,
356
356
  // eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values
357
357
  hyperLinkFloatingToolbarStyles,
358
358
  // 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 = "212.0.1";
2
+ export var version = "0.0.0-development";
@@ -304,6 +304,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
304
304
  actions: {
305
305
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").Command;
306
306
  };
307
+ commands: {
308
+ changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
309
+ };
307
310
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
308
311
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
309
312
  sharedState: import("@atlaskit/editor-plugins/text-color").TextColorPluginState | undefined;
@@ -379,9 +382,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
379
382
  };
380
383
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>];
381
384
  pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
382
- sharedState: {
383
- isFormatMenuHidden?: boolean;
384
- } | undefined;
385
385
  }, import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
386
386
  actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
387
387
  commands: {
@@ -363,6 +363,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
363
363
  actions: {
364
364
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").Command;
365
365
  };
366
+ commands: {
367
+ changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
368
+ };
366
369
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
367
370
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
368
371
  sharedState: import("@atlaskit/editor-plugins/text-color").TextColorPluginState | undefined;
@@ -438,9 +441,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
438
441
  };
439
442
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>];
440
443
  pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
441
- sharedState: {
442
- isFormatMenuHidden?: boolean;
443
- } | undefined;
444
444
  }, import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
445
445
  actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
446
446
  commands: {
@@ -304,6 +304,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
304
304
  actions: {
305
305
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").Command;
306
306
  };
307
+ commands: {
308
+ changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
309
+ };
307
310
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
308
311
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
309
312
  sharedState: import("@atlaskit/editor-plugins/text-color").TextColorPluginState | undefined;
@@ -379,9 +382,6 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
379
382
  };
380
383
  dependencies: [import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/user-intent").UserIntentPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/selection").SelectionPlugin>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>];
381
384
  pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
382
- sharedState: {
383
- isFormatMenuHidden?: boolean;
384
- } | undefined;
385
385
  }, import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions | undefined>>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
386
386
  actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
387
387
  commands: {
@@ -438,6 +438,9 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
438
438
  actions: {
439
439
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").Command;
440
440
  };
441
+ commands: {
442
+ changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
443
+ };
441
444
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
442
445
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
443
446
  sharedState: import("@atlaskit/editor-plugins/text-color").TextColorPluginState | undefined;
@@ -538,9 +541,6 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
538
541
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>
539
542
  ];
540
543
  pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
541
- sharedState: {
542
- isFormatMenuHidden?: boolean;
543
- } | undefined;
544
544
  }, import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions | undefined>>,
545
545
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
546
546
  actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
@@ -497,6 +497,9 @@ export default function createUniversalPresetInternal({ appearance, props, featu
497
497
  actions: {
498
498
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").Command;
499
499
  };
500
+ commands: {
501
+ changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
502
+ };
500
503
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
501
504
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
502
505
  sharedState: import("@atlaskit/editor-plugins/text-color").TextColorPluginState | undefined;
@@ -597,9 +600,6 @@ export default function createUniversalPresetInternal({ appearance, props, featu
597
600
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>
598
601
  ];
599
602
  pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
600
- sharedState: {
601
- isFormatMenuHidden?: boolean;
602
- } | undefined;
603
603
  }, import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions | undefined>>,
604
604
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
605
605
  actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
@@ -438,6 +438,9 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
438
438
  actions: {
439
439
  changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").Command;
440
440
  };
441
+ commands: {
442
+ changeColor: (color: string, inputMethod?: import("@atlaskit/editor-plugins/text-color").TextColorInputMethod) => import("@atlaskit/editor-common/types").EditorCommand;
443
+ };
441
444
  dependencies: import("@atlaskit/editor-plugins/text-color").Dependencies;
442
445
  pluginConfiguration: import("@atlaskit/editor-plugins/text-color").TextColorPluginOptions | undefined;
443
446
  sharedState: import("@atlaskit/editor-plugins/text-color").TextColorPluginState | undefined;
@@ -538,9 +541,6 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
538
541
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/decorations").DecorationsPlugin>
539
542
  ];
540
543
  pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
541
- sharedState: {
542
- isFormatMenuHidden?: boolean;
543
- } | undefined;
544
544
  }, import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions | undefined>>,
545
545
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"selection", {
546
546
  actions: import("@atlaskit/editor-plugins/selection").EditorSelectionAPI;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "212.1.0",
3
+ "version": "212.2.0",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -39,13 +39,13 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@atlaskit/activity-provider": "^2.5.0",
42
- "@atlaskit/adf-schema": "^51.0.0",
42
+ "@atlaskit/adf-schema": "^51.1.1",
43
43
  "@atlaskit/analytics-namespaced-context": "^7.0.0",
44
44
  "@atlaskit/analytics-next": "^11.1.0",
45
45
  "@atlaskit/analytics-next-stable-react-context": "1.0.1",
46
46
  "@atlaskit/button": "^23.4.0",
47
47
  "@atlaskit/css": "^0.14.0",
48
- "@atlaskit/editor-json-transformer": "^8.27.0",
48
+ "@atlaskit/editor-json-transformer": "^8.28.0",
49
49
  "@atlaskit/editor-performance-metrics": "^2.1.0",
50
50
  "@atlaskit/editor-plugin-quick-insert": "^5.0.0",
51
51
  "@atlaskit/editor-plugin-user-preferences": "^3.0.0",
@@ -63,7 +63,7 @@
63
63
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
64
64
  "@atlaskit/react-ufo": "^4.6.0",
65
65
  "@atlaskit/task-decision": "^19.2.0",
66
- "@atlaskit/tmp-editor-statsig": "^12.10.0",
66
+ "@atlaskit/tmp-editor-statsig": "^12.14.0",
67
67
  "@atlaskit/tokens": "^6.3.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": "^109.1.0",
83
+ "@atlaskit/editor-common": "^109.3.0",
84
84
  "@atlaskit/link-provider": "^3.7.0",
85
85
  "@atlaskit/media-core": "^37.0.0",
86
86
  "react": "^18.2.0",
@@ -90,13 +90,13 @@
90
90
  "devDependencies": {
91
91
  "@af/editor-libra": "workspace:^",
92
92
  "@af/visual-regression": "workspace:^",
93
- "@atlaskit/adf-utils": "^19.21.0",
93
+ "@atlaskit/adf-utils": "^19.22.0",
94
94
  "@atlaskit/analytics-listeners": "^9.0.0",
95
95
  "@atlaskit/collab-provider": "^13.0.0",
96
- "@atlaskit/editor-plugin-annotation": "^5.0.0",
97
- "@atlaskit/editor-plugin-card": "^9.0.0",
98
- "@atlaskit/editor-plugin-list": "^7.0.0",
99
- "@atlaskit/editor-plugin-paste": "^6.0.0",
96
+ "@atlaskit/editor-plugin-annotation": "^5.1.0",
97
+ "@atlaskit/editor-plugin-card": "^9.1.0",
98
+ "@atlaskit/editor-plugin-list": "^7.1.0",
99
+ "@atlaskit/editor-plugin-paste": "^6.1.0",
100
100
  "@atlaskit/link-provider": "^3.7.0",
101
101
  "@atlaskit/logo": "^19.7.0",
102
102
  "@atlaskit/media-core": "^37.0.0",
@@ -104,12 +104,12 @@
104
104
  "@atlaskit/media-test-helpers": "^39.0.0",
105
105
  "@atlaskit/modal-dialog": "^14.3.0",
106
106
  "@atlaskit/primitives": "^14.14.0",
107
- "@atlaskit/renderer": "^122.0.0",
107
+ "@atlaskit/renderer": "^122.1.0",
108
108
  "@atlaskit/section-message": "^8.7.0",
109
109
  "@atlaskit/smart-card": "^40.22.0",
110
110
  "@atlaskit/synchrony-test-helpers": "workspace:^",
111
111
  "@atlaskit/toggle": "^15.1.0",
112
- "@atlaskit/util-data-test": "^18.1.0",
112
+ "@atlaskit/util-data-test": "^18.2.0",
113
113
  "@atlassian/adf-schema-json": "^1.31.0",
114
114
  "@atlassian/feature-flags-test-utils": "^0.3.0",
115
115
  "@atlassian/search-provider": "^6.0.0",
@@ -499,10 +499,6 @@
499
499
  "platform_fix_extra_space_last_line_comment_editor": {
500
500
  "type": "boolean"
501
501
  },
502
- "platform_editor_profilecard_style_fix": {
503
- "type": "boolean",
504
- "referenceOnly": true
505
- },
506
502
  "platform_editor_task_check_status_fix": {
507
503
  "type": "boolean",
508
504
  "referenceOnly": true
@@ -517,6 +513,10 @@
517
513
  "type": "boolean",
518
514
  "referenceOnly": true
519
515
  },
516
+ "platform_editor_use_localid_dedupe": {
517
+ "type": "boolean",
518
+ "referenceOnly": true
519
+ },
520
520
  "platform_editor_resolve_hyperlinks_CONFLUENCE": {
521
521
  "type": "boolean"
522
522
  },