@atlaskit/editor-plugin-placeholder 16.1.4 → 16.1.5

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,11 @@
1
1
  # @atlaskit/editor-plugin-placeholder
2
2
 
3
+ ## 16.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+
3
9
  ## 16.1.4
4
10
 
5
11
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import type { DocNode } from '@atlaskit/adf-schema';
1
+ import type { DocNode } from '@atlaskit/adf-schema/doc';
2
2
  import type { EditorCommand, NextEditorPlugin, OptionalPlugin } from '@atlaskit/editor-common/types';
3
3
  import type { CompositionPlugin } from '@atlaskit/editor-plugin-composition';
4
4
  import type { FocusPlugin } from '@atlaskit/editor-plugin-focus';
@@ -1,4 +1,4 @@
1
1
  import type { IntlShape } from 'react-intl';
2
- import type { DocNode } from '@atlaskit/adf-schema';
2
+ import type { DocNode } from '@atlaskit/adf-schema/doc';
3
3
  export declare const createShortEmptyNodePlaceholderADF: ({ formatMessage }: IntlShape) => DocNode;
4
4
  export declare const createLongEmptyNodePlaceholderADF: ({ formatMessage }: IntlShape) => DocNode;
@@ -1,4 +1,4 @@
1
- import type { DocNode } from '@atlaskit/adf-schema';
1
+ import type { DocNode } from '@atlaskit/adf-schema/doc';
2
2
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
3
  import { DecorationSet } from '@atlaskit/editor-prosemirror/view';
4
4
  export declare function createPlaceholderDecoration(editorState: EditorState, placeholderText: string, placeholderPrompts?: string[], activeTypewriterTimeouts?: (() => void)[], pos?: number, initialDelayWhenUserTypedAndDeleted?: number, placeholderADF?: DocNode, showOnEmptyParagraph?: boolean): DecorationSet;
@@ -1,5 +1,5 @@
1
1
  import type { IntlShape } from 'react-intl';
2
- import type { DocNode } from '@atlaskit/adf-schema';
2
+ import type { DocNode } from '@atlaskit/adf-schema/doc';
3
3
  import { SafePlugin } from '@atlaskit/editor-common/safe-plugin';
4
4
  import type { ExtractInjectionAPI } from '@atlaskit/editor-common/types';
5
5
  import type { PlaceholderPlugin } from '../placeholderPluginType';
@@ -1,5 +1,5 @@
1
1
  import type { IntlShape } from 'react-intl';
2
- import type { DocNode } from '@atlaskit/adf-schema';
2
+ import type { DocNode } from '@atlaskit/adf-schema/doc';
3
3
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
4
4
  export interface PlaceHolderState {
5
5
  canShowOnEmptyParagraph?: boolean;
@@ -1,4 +1,4 @@
1
- import type { DocNode } from '@atlaskit/adf-schema';
1
+ import type { DocNode } from '@atlaskit/adf-schema/doc';
2
2
  import type { EditorState } from '@atlaskit/editor-prosemirror/state';
3
3
  import type { CreatePlaceholderStateProps, PlaceHolderState, UserInteractionState } from './types';
4
4
  export declare function getPlaceholderState(editorState: EditorState): PlaceHolderState;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-placeholder",
3
- "version": "16.1.4",
3
+ "version": "16.1.5",
4
4
  "description": "Placeholder plugin for @atlaskit/editor-core.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -24,13 +24,13 @@
24
24
  "@atlaskit/css": "^1.1.0",
25
25
  "@atlaskit/editor-plugin-composition": "^15.1.0",
26
26
  "@atlaskit/editor-plugin-focus": "^15.1.0",
27
- "@atlaskit/editor-plugin-show-diff": "^14.2.0",
27
+ "@atlaskit/editor-plugin-show-diff": "^14.3.0",
28
28
  "@atlaskit/editor-plugin-type-ahead": "^17.1.0",
29
29
  "@atlaskit/editor-prosemirror": "^8.0.0",
30
30
  "@atlaskit/platform-feature-flags": "^2.2.0",
31
31
  "@atlaskit/primitives": "^22.5.0",
32
32
  "@atlaskit/spinner": "^20.4.0",
33
- "@atlaskit/tmp-editor-statsig": "^172.0.0",
33
+ "@atlaskit/tmp-editor-statsig": "^173.0.0",
34
34
  "@atlaskit/tokens": "^16.11.0",
35
35
  "@babel/runtime": "^7.0.0"
36
36
  },