@atlaskit/editor-plugin-placeholder 3.2.1 → 3.2.2

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,13 @@
1
1
  # @atlaskit/editor-plugin-placeholder
2
2
 
3
+ ## 3.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`265c1bf0cefa4`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/265c1bf0cefa4) -
8
+ Sorted type and interface props to improve Atlaskit docs
9
+ - Updated dependencies
10
+
3
11
  ## 3.2.1
4
12
 
5
13
  ### Patch Changes
@@ -4,16 +4,16 @@ import type { FocusPlugin } from '@atlaskit/editor-plugin-focus';
4
4
  import type { ShowDiffPlugin } from '@atlaskit/editor-plugin-show-diff';
5
5
  import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
6
6
  export interface PlaceholderPluginOptions {
7
+ emptyLinePlaceholder?: string;
7
8
  placeholder?: string;
8
9
  placeholderBracketHint?: string;
9
- emptyLinePlaceholder?: string;
10
10
  placeholderPrompts?: string[];
11
11
  }
12
12
  export type PlaceholderPlugin = NextEditorPlugin<'placeholder', {
13
- pluginConfiguration: PlaceholderPluginOptions | undefined;
14
13
  commands: {
15
- setPlaceholder: (placeholder: string) => EditorCommand;
16
14
  setAnimatingPlaceholderPrompts: (placeholderPrompts: string[]) => EditorCommand;
15
+ setPlaceholder: (placeholder: string) => EditorCommand;
17
16
  };
18
17
  dependencies: [FocusPlugin, CompositionPlugin, TypeAheadPlugin, OptionalPlugin<ShowDiffPlugin>];
18
+ pluginConfiguration: PlaceholderPluginOptions | undefined;
19
19
  }>;
@@ -4,16 +4,15 @@ import type { FocusPlugin } from '@atlaskit/editor-plugin-focus';
4
4
  import type { ShowDiffPlugin } from '@atlaskit/editor-plugin-show-diff';
5
5
  import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
6
6
  export interface PlaceholderPluginOptions {
7
+ emptyLinePlaceholder?: string;
7
8
  placeholder?: string;
8
9
  placeholderBracketHint?: string;
9
- emptyLinePlaceholder?: string;
10
10
  placeholderPrompts?: string[];
11
11
  }
12
12
  export type PlaceholderPlugin = NextEditorPlugin<'placeholder', {
13
- pluginConfiguration: PlaceholderPluginOptions | undefined;
14
13
  commands: {
15
- setPlaceholder: (placeholder: string) => EditorCommand;
16
14
  setAnimatingPlaceholderPrompts: (placeholderPrompts: string[]) => EditorCommand;
15
+ setPlaceholder: (placeholder: string) => EditorCommand;
17
16
  };
18
17
  dependencies: [
19
18
  FocusPlugin,
@@ -21,4 +20,5 @@ export type PlaceholderPlugin = NextEditorPlugin<'placeholder', {
21
20
  TypeAheadPlugin,
22
21
  OptionalPlugin<ShowDiffPlugin>
23
22
  ];
23
+ pluginConfiguration: PlaceholderPluginOptions | undefined;
24
24
  }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-placeholder",
3
- "version": "3.2.1",
3
+ "version": "3.2.2",
4
4
  "description": "Placeholder plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -36,11 +36,11 @@
36
36
  "@atlaskit/editor-plugin-type-ahead": "^3.1.0",
37
37
  "@atlaskit/editor-prosemirror": "7.0.0",
38
38
  "@atlaskit/platform-feature-flags": "^1.1.0",
39
- "@atlaskit/tmp-editor-statsig": "^11.0.0",
39
+ "@atlaskit/tmp-editor-statsig": "^11.5.0",
40
40
  "@babel/runtime": "^7.0.0"
41
41
  },
42
42
  "peerDependencies": {
43
- "@atlaskit/editor-common": "^107.25.0",
43
+ "@atlaskit/editor-common": "^107.28.0",
44
44
  "react": "^18.2.0",
45
45
  "react-dom": "^18.2.0",
46
46
  "react-intl-next": "npm:react-intl@^5.18.1"