@atlaskit/editor-plugin-placeholder-text 2.1.5 → 2.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,18 @@
1
1
  # @atlaskit/editor-plugin-placeholder-text
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139)
8
+ [`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) -
9
+ [https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new
10
+ `@atlassian/confluence-presets` package with Confluence `full-page` preset is created
11
+
12
+ ### Patch Changes
13
+
14
+ - Updated dependencies
15
+
3
16
  ## 2.1.5
4
17
 
5
18
  ### Patch Changes
@@ -1,2 +1,2 @@
1
1
  export { default as placeholderTextPlugin } from './placeholderTextPlugin';
2
- export type { PlaceholderTextPlugin, PlaceholderTextPluginState, PlaceholderTextOptions, } from './placeholderTextPluginType';
2
+ export type { PlaceholderTextPlugin, PlaceholderTextPluginState, PlaceholderTextOptions, PlaceholderTextPluginOptions, } from './placeholderTextPluginType';
@@ -2,9 +2,15 @@ import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/t
2
2
  import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
4
4
  import type { showPlaceholderFloatingToolbar } from './editor-actions/actions';
5
- export interface PlaceholderTextOptions {
5
+ export interface PlaceholderTextPluginOptions {
6
6
  allowInserting?: boolean;
7
7
  }
8
+ /**
9
+ * @private
10
+ * @deprecated Use {@link PlaceholderTextPluginOptions} instead.
11
+ * @see https://product-fabric.atlassian.net/browse/ED-27496
12
+ */
13
+ export type PlaceholderTextOptions = PlaceholderTextPluginOptions;
8
14
  export interface PlaceholderTextPluginState {
9
15
  showInsertPanelAt: number | null;
10
16
  allowInserting: boolean;
@@ -15,7 +21,7 @@ export type PlaceholderTextPluginDependencies = [
15
21
  ];
16
22
  export type PlaceholderTextPlugin = NextEditorPlugin<'placeholderText', {
17
23
  dependencies: PlaceholderTextPluginDependencies;
18
- pluginConfiguration: PlaceholderTextOptions;
24
+ pluginConfiguration: PlaceholderTextPluginOptions;
19
25
  sharedState: PlaceholderTextPluginState | undefined;
20
26
  actions: {
21
27
  showPlaceholderFloatingToolbar: typeof showPlaceholderFloatingToolbar;
@@ -1,2 +1,2 @@
1
1
  export { default as placeholderTextPlugin } from './placeholderTextPlugin';
2
- export type { PlaceholderTextPlugin, PlaceholderTextPluginState, PlaceholderTextOptions, } from './placeholderTextPluginType';
2
+ export type { PlaceholderTextPlugin, PlaceholderTextPluginState, PlaceholderTextOptions, PlaceholderTextPluginOptions, } from './placeholderTextPluginType';
@@ -2,9 +2,15 @@ import type { NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/t
2
2
  import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
3
3
  import type { TypeAheadPlugin } from '@atlaskit/editor-plugin-type-ahead';
4
4
  import type { showPlaceholderFloatingToolbar } from './editor-actions/actions';
5
- export interface PlaceholderTextOptions {
5
+ export interface PlaceholderTextPluginOptions {
6
6
  allowInserting?: boolean;
7
7
  }
8
+ /**
9
+ * @private
10
+ * @deprecated Use {@link PlaceholderTextPluginOptions} instead.
11
+ * @see https://product-fabric.atlassian.net/browse/ED-27496
12
+ */
13
+ export type PlaceholderTextOptions = PlaceholderTextPluginOptions;
8
14
  export interface PlaceholderTextPluginState {
9
15
  showInsertPanelAt: number | null;
10
16
  allowInserting: boolean;
@@ -15,7 +21,7 @@ export type PlaceholderTextPluginDependencies = [
15
21
  ];
16
22
  export type PlaceholderTextPlugin = NextEditorPlugin<'placeholderText', {
17
23
  dependencies: PlaceholderTextPluginDependencies;
18
- pluginConfiguration: PlaceholderTextOptions;
24
+ pluginConfiguration: PlaceholderTextPluginOptions;
19
25
  sharedState: PlaceholderTextPluginState | undefined;
20
26
  actions: {
21
27
  showPlaceholderFloatingToolbar: typeof showPlaceholderFloatingToolbar;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-placeholder-text",
3
- "version": "2.1.5",
3
+ "version": "2.2.0",
4
4
  "description": "placeholder text plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,7 +29,7 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@atlaskit/adf-schema": "^47.6.0",
32
- "@atlaskit/editor-common": "^103.0.0",
32
+ "@atlaskit/editor-common": "^103.4.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
34
34
  "@atlaskit/editor-plugin-type-ahead": "^2.3.0",
35
35
  "@atlaskit/editor-prosemirror": "7.0.0",
@@ -48,7 +48,7 @@
48
48
  "devDependencies": {
49
49
  "@af/visual-regression": "^1.3.0",
50
50
  "@atlaskit/analytics-next": "^11.0.0",
51
- "@atlaskit/editor-plugin-floating-toolbar": "^3.3.0",
51
+ "@atlaskit/editor-plugin-floating-toolbar": "^3.6.0",
52
52
  "@atlaskit/ssr": "^0.4.0",
53
53
  "@atlaskit/visual-regression": "^0.10.0",
54
54
  "@testing-library/react": "^13.4.0",