@atlaskit/editor-core 214.0.4 → 214.0.6

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,21 @@
1
1
  # @atlaskit/editor-core
2
2
 
3
+ ## 214.0.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`2f81c0f3bf21d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2f81c0f3bf21d) -
8
+ [ux] ED-29318 [CR-6b] Add new toolbar icons to comment editor
9
+ - Updated dependencies
10
+
11
+ ## 214.0.5
12
+
13
+ ### Patch Changes
14
+
15
+ - [`49d845e4c0ec3`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/49d845e4c0ec3) -
16
+ ED-29167: fix grid hydration
17
+ - Updated dependencies
18
+
3
19
  ## 214.0.4
4
20
 
5
21
  ### Patch Changes
@@ -202,7 +202,7 @@ var createEditorContentStyle = exports.createEditorContentStyle = function creat
202
202
  css: [memoizedStyle, styles],
203
203
  "data-editor-scroll-container": "true",
204
204
  "data-testid": "editor-content-container"
205
- // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex -- Adding tabIndex here because this is a scrollable container and it needs to be focusable so keyboard users can scroll it.
205
+ // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex, @atlassian/a11y/no-noninteractive-tabindex -- Adding tabIndex here because this is a scrollable container and it needs to be focusable so keyboard users can scroll it.
206
206
  ,
207
207
  tabIndex: 0,
208
208
  role: "region"
@@ -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 = "214.0.3";
8
+ var version = exports.version = "0.0.0-development";
@@ -562,7 +562,7 @@ export const createEditorContentStyle = styles => {
562
562
  css: [memoizedStyle, styles],
563
563
  "data-editor-scroll-container": "true",
564
564
  "data-testid": "editor-content-container"
565
- // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex -- Adding tabIndex here because this is a scrollable container and it needs to be focusable so keyboard users can scroll it.
565
+ // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex, @atlassian/a11y/no-noninteractive-tabindex -- Adding tabIndex here because this is a scrollable container and it needs to be focusable so keyboard users can scroll it.
566
566
  ,
567
567
  tabIndex: 0,
568
568
  role: "region"
@@ -1,2 +1,2 @@
1
1
  export const name = "@atlaskit/editor-core";
2
- export const version = "214.0.3";
2
+ export const version = "0.0.0-development";
@@ -196,7 +196,7 @@ export var createEditorContentStyle = function createEditorContentStyle(styles)
196
196
  css: [memoizedStyle, styles],
197
197
  "data-editor-scroll-container": "true",
198
198
  "data-testid": "editor-content-container"
199
- // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex -- Adding tabIndex here because this is a scrollable container and it needs to be focusable so keyboard users can scroll it.
199
+ // eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex, @atlassian/a11y/no-noninteractive-tabindex -- Adding tabIndex here because this is a scrollable container and it needs to be focusable so keyboard users can scroll it.
200
200
  ,
201
201
  tabIndex: 0,
202
202
  role: "region"
@@ -1,2 +1,2 @@
1
1
  export var name = "@atlaskit/editor-core";
2
- export var version = "214.0.3";
2
+ export var version = "0.0.0-development";
@@ -382,7 +382,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
382
382
  registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
383
383
  };
384
384
  commands: {
385
- formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType) => import("@atlaskit/editor-common/types").EditorCommand;
385
+ formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
386
386
  };
387
387
  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>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
388
388
  pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
@@ -1,5 +1,6 @@
1
1
  import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
2
2
  import type { EditorAppearance, FeatureFlags } from '@atlaskit/editor-common/types';
3
+ import type { ToolbarInsertBlockButtonsConfig } from '@atlaskit/editor-plugin-insert-block';
3
4
  import { type ExtensionPluginOptions } from '@atlaskit/editor-plugins/extension';
4
5
  import type { EditorProps } from '../types';
5
6
  import type { EditorPluginFeatureProps, EditorProviderProps, EditorSharedPropsWithPlugins } from '../types/editor-props';
@@ -16,6 +17,7 @@ export type InitialPluginConfiguration = {
16
17
  __rendererExtensionOptions?: ExtensionPluginOptions['__rendererExtensionOptions'];
17
18
  };
18
19
  insertBlockPlugin?: {
20
+ toolbarButtons?: ToolbarInsertBlockButtonsConfig;
19
21
  toolbarShowPlusInsertOnly?: boolean;
20
22
  };
21
23
  mentionsPlugin?: {
@@ -93,10 +95,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
93
95
  actions: {
94
96
  toggleAdditionalMenu: () => void;
95
97
  };
96
- dependencies: import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginDependencies;
97
- pluginConfiguration: import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginOptions | undefined;
98
- sharedState: import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginState | undefined;
99
- }, import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
98
+ dependencies: import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginDependencies;
99
+ pluginConfiguration: import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginOptions | undefined;
100
+ sharedState: import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginState | undefined;
101
+ }, import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginOptions | undefined>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
100
102
  dependencies: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginDependencies;
101
103
  pluginConfiguration: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions;
102
104
  }, import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions>, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"scrollIntoView", {}, undefined> | undefined, import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"indentation", {
@@ -441,7 +443,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
441
443
  registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
442
444
  };
443
445
  commands: {
444
- formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType) => import("@atlaskit/editor-common/types").EditorCommand;
446
+ formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
445
447
  };
446
448
  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>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
447
449
  pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
@@ -382,7 +382,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
382
382
  registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
383
383
  };
384
384
  commands: {
385
- formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType) => import("@atlaskit/editor-common/types").EditorCommand;
385
+ formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
386
386
  };
387
387
  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>, import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/analytics").AnalyticsPlugin>];
388
388
  pluginConfiguration?: import("@atlaskit/editor-plugins/block-menu").BlockMenuPluginOptions;
@@ -540,7 +540,7 @@ export declare function createUniversalPreset({ props, prevProps, initialPluginC
540
540
  registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
541
541
  };
542
542
  commands: {
543
- formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType) => import("@atlaskit/editor-common/types").EditorCommand;
543
+ formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
544
544
  };
545
545
  dependencies: [
546
546
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>,
@@ -1,5 +1,6 @@
1
1
  import type { CreateUIAnalyticsEvent } from '@atlaskit/analytics-next/types';
2
2
  import type { EditorAppearance, FeatureFlags } from '@atlaskit/editor-common/types';
3
+ import type { ToolbarInsertBlockButtonsConfig } from '@atlaskit/editor-plugin-insert-block';
3
4
  import { type ExtensionPluginOptions } from '@atlaskit/editor-plugins/extension';
4
5
  import type { EditorProps } from '../types';
5
6
  import type { EditorPluginFeatureProps, EditorProviderProps, EditorSharedPropsWithPlugins } from '../types/editor-props';
@@ -16,6 +17,7 @@ export type InitialPluginConfiguration = {
16
17
  __rendererExtensionOptions?: ExtensionPluginOptions['__rendererExtensionOptions'];
17
18
  };
18
19
  insertBlockPlugin?: {
20
+ toolbarButtons?: ToolbarInsertBlockButtonsConfig;
19
21
  toolbarShowPlusInsertOnly?: boolean;
20
22
  };
21
23
  mentionsPlugin?: {
@@ -186,10 +188,10 @@ export default function createUniversalPresetInternal({ appearance, props, featu
186
188
  actions: {
187
189
  toggleAdditionalMenu: () => void;
188
190
  };
189
- dependencies: import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginDependencies;
190
- pluginConfiguration: import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginOptions | undefined;
191
- sharedState: import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginState | undefined;
192
- }, import("@atlaskit/editor-plugins/insert-block").InsertBlockPluginOptions | undefined>,
191
+ dependencies: import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginDependencies;
192
+ pluginConfiguration: import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginOptions | undefined;
193
+ sharedState: import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginState | undefined;
194
+ }, import("@atlaskit/editor-plugin-insert-block").InsertBlockPluginOptions | undefined>,
193
195
  import("@atlaskit/editor-common/types").NextEditorPluginFunctionOptionalConfigDefinition<"toolbarListsIndentation", {
194
196
  dependencies: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginDependencies;
195
197
  pluginConfiguration: import("@atlaskit/editor-plugins/toolbar-lists-indentation").ToolbarListsIndentationPluginOptions;
@@ -599,7 +601,7 @@ export default function createUniversalPresetInternal({ appearance, props, featu
599
601
  registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
600
602
  };
601
603
  commands: {
602
- formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType) => import("@atlaskit/editor-common/types").EditorCommand;
604
+ formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
603
605
  };
604
606
  dependencies: [
605
607
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>,
@@ -540,7 +540,7 @@ export default function useUniversalPreset({ props, initialPluginConfiguration }
540
540
  registerBlockMenuComponents: (blockMenuComponents: Array<import("@atlaskit/editor-plugins/block-menu").RegisterBlockMenuComponent>) => void;
541
541
  };
542
542
  commands: {
543
- formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType) => import("@atlaskit/editor-common/types").EditorCommand;
543
+ formatNode: (targetType: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeTargetType, analyticsAttrs?: import("packages/editor/editor-plugin-block-menu/dist/types/editor-commands/transforms/types").FormatNodeAnalyticsAttrs) => import("@atlaskit/editor-common/types").EditorCommand;
544
544
  };
545
545
  dependencies: [
546
546
  import("@atlaskit/editor-common/types").OptionalPlugin<import("@atlaskit/editor-plugins/block-controls").BlockControlsPlugin>,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-core",
3
- "version": "214.0.4",
3
+ "version": "214.0.6",
4
4
  "description": "A package contains Atlassian editor core functionality",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -64,7 +64,7 @@
64
64
  "@atlaskit/platform-feature-flags-react": "^0.3.0",
65
65
  "@atlaskit/react-ufo": "^4.11.0",
66
66
  "@atlaskit/task-decision": "^19.2.0",
67
- "@atlaskit/tmp-editor-statsig": "^12.32.0",
67
+ "@atlaskit/tmp-editor-statsig": "^12.33.0",
68
68
  "@atlaskit/tokens": "^6.4.0",
69
69
  "@atlaskit/tooltip": "^20.5.0",
70
70
  "@atlaskit/width-detector": "^5.0.0",
@@ -81,7 +81,7 @@
81
81
  "uuid": "^3.1.0"
82
82
  },
83
83
  "peerDependencies": {
84
- "@atlaskit/editor-common": "^110.3.0",
84
+ "@atlaskit/editor-common": "^110.4.0",
85
85
  "@atlaskit/link-provider": "^4.0.0",
86
86
  "@atlaskit/media-core": "^37.0.0",
87
87
  "react": "^18.2.0",
@@ -94,18 +94,18 @@
94
94
  "@atlaskit/adf-utils": "^19.24.0",
95
95
  "@atlaskit/analytics-listeners": "^9.1.0",
96
96
  "@atlaskit/collab-provider": "^14.0.0",
97
- "@atlaskit/editor-plugin-annotation": "^6.0.0",
98
- "@atlaskit/editor-plugin-card": "^11.0.0",
97
+ "@atlaskit/editor-plugin-annotation": "^6.1.0",
98
+ "@atlaskit/editor-plugin-card": "^11.1.0",
99
99
  "@atlaskit/editor-plugin-list": "^8.0.0",
100
100
  "@atlaskit/editor-plugin-paste": "^7.0.0",
101
101
  "@atlaskit/link-provider": "^4.0.0",
102
- "@atlaskit/logo": "^19.7.0",
102
+ "@atlaskit/logo": "^19.8.0",
103
103
  "@atlaskit/media-core": "^37.0.0",
104
104
  "@atlaskit/media-integration-test-helpers": "workspace:^",
105
105
  "@atlaskit/media-test-helpers": "^39.0.0",
106
106
  "@atlaskit/modal-dialog": "^14.4.0",
107
107
  "@atlaskit/primitives": "^14.15.0",
108
- "@atlaskit/renderer": "^124.0.0",
108
+ "@atlaskit/renderer": "^124.1.0",
109
109
  "@atlaskit/section-message": "^8.7.0",
110
110
  "@atlaskit/smart-card": "^42.3.0",
111
111
  "@atlaskit/synchrony-test-helpers": "workspace:^",