@atlaskit/editor-plugin-block-type 20.0.9 → 20.1.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/package.json +14 -14
  3. package/report.api.md +0 -122
package/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # @atlaskit/editor-plugin-block-type
2
2
 
3
+ ## 20.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 20.1.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [`bd2c5b0112185`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/bd2c5b0112185) -
14
+ Remove stale API report artifacts from published Platform packages.
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+
3
20
  ## 20.0.9
4
21
 
5
22
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-block-type",
3
- "version": "20.0.9",
3
+ "version": "20.1.1",
4
4
  "description": "BlockType plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -23,34 +23,34 @@
23
23
  "dependencies": {
24
24
  "@atlaskit/adf-schema": "^57.2.0",
25
25
  "@atlaskit/css": "^1.1.0",
26
- "@atlaskit/editor-plugin-analytics": "^16.0.0",
26
+ "@atlaskit/editor-plugin-analytics": "^16.1.0",
27
27
  "@atlaskit/editor-plugin-block-menu": "^15.0.0",
28
28
  "@atlaskit/editor-plugin-interaction": "^27.0.0",
29
- "@atlaskit/editor-plugin-list": "^18.0.0",
29
+ "@atlaskit/editor-plugin-list": "^18.1.0",
30
30
  "@atlaskit/editor-plugin-primary-toolbar": "^17.0.0",
31
- "@atlaskit/editor-plugin-selection": "^16.0.0",
32
- "@atlaskit/editor-plugin-selection-toolbar": "^17.0.0",
31
+ "@atlaskit/editor-plugin-selection": "^16.1.0",
32
+ "@atlaskit/editor-plugin-selection-toolbar": "^17.1.0",
33
33
  "@atlaskit/editor-plugin-toolbar": "^13.0.0",
34
34
  "@atlaskit/editor-prosemirror": "^8.0.0",
35
- "@atlaskit/editor-shared-styles": "^4.0.0",
36
- "@atlaskit/editor-tables": "^3.0.0",
35
+ "@atlaskit/editor-shared-styles": "^4.1.0",
36
+ "@atlaskit/editor-tables": "^3.1.0",
37
37
  "@atlaskit/editor-toolbar": "^2.6.0",
38
38
  "@atlaskit/editor-toolbar-model": "^1.2.0",
39
- "@atlaskit/icon": "^37.5.0",
39
+ "@atlaskit/icon": "^37.6.0",
40
40
  "@atlaskit/icon-lab": "^7.7.0",
41
41
  "@atlaskit/platform-feature-experiments": "^0.3.0",
42
- "@atlaskit/platform-feature-flags": "^2.1.0",
43
- "@atlaskit/primitives": "^22.4.0",
42
+ "@atlaskit/platform-feature-flags": "^2.2.0",
43
+ "@atlaskit/primitives": "^22.5.0",
44
44
  "@atlaskit/prosemirror-history": "^1.2.0",
45
- "@atlaskit/prosemirror-input-rules": "^4.0.0",
46
- "@atlaskit/tmp-editor-statsig": "^168.0.0",
47
- "@atlaskit/tokens": "^16.9.0",
45
+ "@atlaskit/prosemirror-input-rules": "^4.1.0",
46
+ "@atlaskit/tmp-editor-statsig": "^169.0.0",
47
+ "@atlaskit/tokens": "^16.10.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@compiled/react": "^1.0.2",
50
50
  "@emotion/react": "^11.7.1"
51
51
  },
52
52
  "peerDependencies": {
53
- "@atlaskit/editor-common": "^120.7.0",
53
+ "@atlaskit/editor-common": "^120.10.0",
54
54
  "react": "^18.2.0 || ^19.2.0",
55
55
  "react-dom": "^18.2.0 || ^19.2.0",
56
56
  "react-intl": "^5.25.1 || ^6.0.0 || ^7.0.0"
package/report.api.md DELETED
@@ -1,122 +0,0 @@
1
- <!-- API Report Version: 2.3 -->
2
-
3
- ## API Report File for "@atlaskit/editor-plugin-block-type"
4
-
5
- > Do not edit this file. This report is auto-generated using
6
- > [API Extractor](https://api-extractor.com/).
7
- > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
8
-
9
- ### Table of contents
10
-
11
- - [Main Entry Types](#main-entry-types)
12
- - [Peer Dependencies](#peer-dependencies)
13
-
14
- ### Main Entry Types
15
-
16
- <!--SECTION START: Main Entry Types-->
17
-
18
- ```ts
19
- import type { AllowedBlockTypes } from '@atlaskit/editor-common/types';
20
- import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
21
- import type { Command } from '@atlaskit/editor-common/types';
22
- import type { EditorCommand } from '@atlaskit/editor-common/types';
23
- import type { HeadingLevelsAndNormalText } from '@atlaskit/editor-common/types';
24
- import type { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
25
- import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
26
- import type { MessageDescriptor } from 'react-intl';
27
- import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
28
- import type { OptionalPlugin } from '@atlaskit/editor-common/types';
29
-
30
- // @public (undocumented)
31
- export interface BlockType {
32
- // (undocumented)
33
- level?: HeadingLevelsAndNormalText;
34
- // (undocumented)
35
- name: string;
36
- // (undocumented)
37
- nodeName: string;
38
- // (undocumented)
39
- tagName?: string;
40
- // (undocumented)
41
- title: MessageDescriptor;
42
- }
43
-
44
- // @public (undocumented)
45
- export type BlockTypePlugin = NextEditorPlugin<
46
- 'blockType',
47
- {
48
- pluginConfiguration: BlockTypePluginOptions | undefined;
49
- dependencies: [OptionalPlugin<typeof analyticsPlugin>];
50
- sharedState: BlockTypeState | undefined;
51
- actions: {
52
- insertBlockQuote: (inputMethod: InputMethod) => Command;
53
- };
54
- commands: {
55
- setTextLevel: (level: TextBlockTypes, inputMethod: InputMethod) => EditorCommand;
56
- };
57
- }
58
- >;
59
-
60
- // @public (undocumented)
61
- export const blockTypePlugin: BlockTypePlugin;
62
-
63
- // @public (undocumented)
64
- export interface BlockTypePluginOptions {
65
- // (undocumented)
66
- allowBlockType?: {
67
- exclude?: Array<AllowedBlockTypes>;
68
- };
69
- // (undocumented)
70
- isUndoRedoButtonsEnabled?: boolean;
71
- // (undocumented)
72
- lastNodeMustBeParagraph?: boolean;
73
- }
74
-
75
- // @public (undocumented)
76
- export type BlockTypeState = {
77
- currentBlockType: BlockType;
78
- blockTypesDisabled: boolean;
79
- availableBlockTypes: BlockType[];
80
- availableWrapperBlockTypes: BlockType[];
81
- };
82
-
83
- // @public (undocumented)
84
- export type DropdownItem = MenuItem & {
85
- value: BlockType;
86
- };
87
-
88
- // @public (undocumented)
89
- export type InputMethod =
90
- | INPUT_METHOD.FORMATTING
91
- | INPUT_METHOD.INSERT_MENU
92
- | INPUT_METHOD.KEYBOARD
93
- | INPUT_METHOD.SHORTCUT
94
- | INPUT_METHOD.TOOLBAR;
95
-
96
- // @public (undocumented)
97
- export type TextBlockTypes =
98
- | 'heading1'
99
- | 'heading2'
100
- | 'heading3'
101
- | 'heading4'
102
- | 'heading5'
103
- | 'heading6'
104
- | 'normal';
105
-
106
- // (No @packageDocumentation comment for this package)
107
- ```
108
-
109
- <!--SECTION END: Main Entry Types-->
110
-
111
- ### Peer Dependencies
112
-
113
- <!--SECTION START: Peer Dependencies-->
114
-
115
- ```json
116
- {
117
- "react": "^16.8.0",
118
- "react-intl": "npm:react-intl@^5.18.1"
119
- }
120
- ```
121
-
122
- <!--SECTION END: Peer Dependencies-->