@atlaskit/editor-plugin-text-formatting 1.6.1 → 1.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-text-formatting",
3
- "version": "1.6.1",
3
+ "version": "1.7.1",
4
4
  "description": "Text-formatting plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -32,13 +32,15 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "dependencies": {
35
- "@atlaskit/adf-schema": "^36.8.0",
36
- "@atlaskit/editor-common": "^80.4.0",
35
+ "@atlaskit/adf-schema": "^36.10.7",
36
+ "@atlaskit/editor-common": "^81.2.0",
37
37
  "@atlaskit/editor-plugin-analytics": "^1.2.0",
38
+ "@atlaskit/editor-plugin-primary-toolbar": "^1.1.0",
38
39
  "@atlaskit/editor-prosemirror": "4.0.1",
39
40
  "@atlaskit/editor-shared-styles": "^2.11.0",
40
41
  "@atlaskit/editor-tables": "^2.7.0",
41
- "@atlaskit/icon": "^22.2.0",
42
+ "@atlaskit/icon": "^22.3.0",
43
+ "@atlaskit/platform-feature-flags": "^0.2.5",
42
44
  "@atlaskit/prosemirror-input-rules": "^3.1.0",
43
45
  "@babel/runtime": "^7.0.0",
44
46
  "@emotion/react": "^11.7.1",
@@ -51,7 +53,6 @@
51
53
  "@atlaskit/editor-plugin-composition": "^1.1.0",
52
54
  "@atlaskit/editor-plugin-decorations": "^1.1.0",
53
55
  "@atlaskit/editor-plugin-feature-flags": "^1.1.0",
54
- "@atlassian/atlassian-frontend-prettier-config-1.0.0": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.0",
55
56
  "@testing-library/react": "^12.1.5",
56
57
  "typescript": "~5.4.2"
57
58
  },
@@ -88,5 +89,9 @@
88
89
  ]
89
90
  }
90
91
  },
91
- "prettier": "@atlassian/atlassian-frontend-prettier-config-1.0.0"
92
+ "platform-feature-flags": {
93
+ "platform.editor.simplify-inline-cards-in-code-blocks_jw6t1": {
94
+ "type": "boolean"
95
+ }
96
+ }
92
97
  }
package/report.api.md CHANGED
@@ -2,7 +2,8 @@
2
2
 
3
3
  ## API Report File for "@atlaskit/editor-plugin-text-formatting"
4
4
 
5
- > Do not edit this file. This report is auto-generated using [API Extractor](https://api-extractor.com/).
5
+ > Do not edit this file. This report is auto-generated using
6
+ > [API Extractor](https://api-extractor.com/).
6
7
  > [Learn more about API reports](https://hello.atlassian.net/wiki/spaces/UR/pages/1825484529/Package+API+Reports)
7
8
 
8
9
  ### Table of contents
@@ -25,30 +26,28 @@ import type { TextFormattingState } from '@atlaskit/editor-common/types';
25
26
 
26
27
  // @public (undocumented)
27
28
  export type TextFormattingPlugin = NextEditorPlugin<
28
- 'textFormatting',
29
- {
30
- pluginConfiguration: TextFormattingOptions | undefined;
31
- dependencies: [OptionalPlugin<typeof analyticsPlugin>];
32
- commands: {
33
- toggleSuperscript: ToggleMarkEditorCommand;
34
- toggleSubscript: ToggleMarkEditorCommand;
35
- toggleStrike: ToggleMarkEditorCommand;
36
- toggleCode: ToggleMarkEditorCommand;
37
- toggleUnderline: ToggleMarkEditorCommand;
38
- toggleEm: ToggleMarkEditorCommand;
39
- toggleStrong: ToggleMarkEditorCommand;
40
- };
41
- sharedState: TextFormattingState | undefined;
42
- }
29
+ 'textFormatting',
30
+ {
31
+ pluginConfiguration: TextFormattingOptions | undefined;
32
+ dependencies: [OptionalPlugin<typeof analyticsPlugin>];
33
+ commands: {
34
+ toggleSuperscript: ToggleMarkEditorCommand;
35
+ toggleSubscript: ToggleMarkEditorCommand;
36
+ toggleStrike: ToggleMarkEditorCommand;
37
+ toggleCode: ToggleMarkEditorCommand;
38
+ toggleUnderline: ToggleMarkEditorCommand;
39
+ toggleEm: ToggleMarkEditorCommand;
40
+ toggleStrong: ToggleMarkEditorCommand;
41
+ };
42
+ sharedState: TextFormattingState | undefined;
43
+ }
43
44
  >;
44
45
 
45
46
  // @public
46
47
  export const textFormattingPlugin: TextFormattingPlugin;
47
48
 
48
49
  // @public (undocumented)
49
- export type ToggleMarkEditorCommand = (
50
- inputMethod: InputMethodBasic,
51
- ) => EditorCommand;
50
+ export type ToggleMarkEditorCommand = (inputMethod: InputMethodBasic) => EditorCommand;
52
51
 
53
52
  // (No @packageDocumentation comment for this package)
54
53
  ```
@@ -61,7 +60,7 @@ export type ToggleMarkEditorCommand = (
61
60
 
62
61
  ```json
63
62
  {
64
- "react": "^16.8.0"
63
+ "react": "^16.8.0"
65
64
  }
66
65
  ```
67
66