@atlaskit/editor-plugin-placeholder-text 2.1.5 → 2.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @atlaskit/editor-plugin-placeholder-text
2
2
 
3
+ ## 2.2.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
9
+ ## 2.2.0
10
+
11
+ ### Minor Changes
12
+
13
+ - [#139139](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/139139)
14
+ [`7f6b665d778dd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7f6b665d778dd) -
15
+ [https://product-fabric.atlassian.net/browse/ED-27499](ED-27499) - the new
16
+ `@atlassian/confluence-presets` package with Confluence `full-page` preset is created
17
+
18
+ ### Patch Changes
19
+
20
+ - Updated dependencies
21
+
3
22
  ## 2.1.5
4
23
 
5
24
  ### 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.1",
4
4
  "description": "placeholder text plugin for @atlaskit/editor-core",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -29,14 +29,14 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@atlaskit/adf-schema": "^47.6.0",
32
- "@atlaskit/editor-common": "^103.0.0",
32
+ "@atlaskit/editor-common": "^104.0.0",
33
33
  "@atlaskit/editor-plugin-analytics": "^2.2.0",
34
- "@atlaskit/editor-plugin-type-ahead": "^2.3.0",
34
+ "@atlaskit/editor-plugin-type-ahead": "^2.6.0",
35
35
  "@atlaskit/editor-prosemirror": "7.0.0",
36
36
  "@atlaskit/editor-shared-styles": "^3.4.0",
37
- "@atlaskit/icon": "^25.5.0",
37
+ "@atlaskit/icon": "^25.6.0",
38
38
  "@atlaskit/theme": "^18.0.0",
39
- "@atlaskit/tokens": "^4.7.0",
39
+ "@atlaskit/tokens": "^4.8.0",
40
40
  "@babel/runtime": "^7.0.0",
41
41
  "@emotion/react": "^11.7.1"
42
42
  },
@@ -46,11 +46,11 @@
46
46
  "react-intl-next": "npm:react-intl@^5.18.1"
47
47
  },
48
48
  "devDependencies": {
49
- "@af/visual-regression": "^1.3.0",
49
+ "@af/visual-regression": "workspace:^",
50
50
  "@atlaskit/analytics-next": "^11.0.0",
51
- "@atlaskit/editor-plugin-floating-toolbar": "^3.3.0",
52
- "@atlaskit/ssr": "^0.4.0",
53
- "@atlaskit/visual-regression": "^0.10.0",
51
+ "@atlaskit/editor-plugin-floating-toolbar": "^4.1.0",
52
+ "@atlaskit/ssr": "workspace:^",
53
+ "@atlaskit/visual-regression": "workspace:^",
54
54
  "@testing-library/react": "^13.4.0",
55
55
  "typescript": "~5.4.2",
56
56
  "wait-for-expect": "^1.2.0"