@atlaskit/editor-core 209.0.1 → 209.0.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.
Files changed (53) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/cjs/create-editor/ReactEditorView.js +12 -1
  3. package/dist/cjs/ui/EditorContentContainer/styles/extensionStyles.js +10 -0
  4. package/dist/cjs/version-wrapper.js +1 -1
  5. package/dist/es2019/create-editor/ReactEditorView.js +12 -1
  6. package/dist/es2019/ui/EditorContentContainer/styles/extensionStyles.js +10 -0
  7. package/dist/es2019/version-wrapper.js +1 -1
  8. package/dist/esm/create-editor/ReactEditorView.js +12 -1
  9. package/dist/esm/ui/EditorContentContainer/styles/extensionStyles.js +10 -0
  10. package/dist/esm/version-wrapper.js +1 -1
  11. package/dist/types/composable-editor/editor-internal.d.ts +1 -0
  12. package/dist/types/create-editor/ReactEditorView/useDispatchTransaction.d.ts +1 -1
  13. package/dist/types/create-editor/create-universal-preset.d.ts +919 -75
  14. package/dist/types/create-editor/editorStateNotificationPlugin.d.ts +2 -2
  15. package/dist/types/create-editor/get-ui-component.d.ts +1 -0
  16. package/dist/types/presets/universal.d.ts +924 -75
  17. package/dist/types/presets/useUniversalPreset.d.ts +919 -75
  18. package/dist/types/test-utils.d.ts +1 -1
  19. package/dist/types/types/with-appearance-component.d.ts +1 -0
  20. package/dist/types/ui/Addon/types.d.ts +1 -0
  21. package/dist/types/ui/Appearance/Chromeless.d.ts +7 -7
  22. package/dist/types/ui/Appearance/FullPage/FullPageContentArea.d.ts +7 -7
  23. package/dist/types/ui/Appearance/FullPage/getEditorViewModeSync.d.ts +1 -1
  24. package/dist/types/ui/CollapsedEditor/index.d.ts +1 -1
  25. package/dist/types/ui/ContentStyles/ai-panels.d.ts +1 -1
  26. package/dist/types/ui/ContentStyles/layout.d.ts +1 -1
  27. package/dist/types/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.d.ts +1 -0
  28. package/dist/types/ui/Toolbar/Toolbar.d.ts +1 -0
  29. package/dist/types/utils/is-full-page.d.ts +1 -1
  30. package/dist/types/utils/prepare-extension-provider.d.ts +1 -1
  31. package/dist/types/utils/prepare-quick-insert-provider.d.ts +1 -0
  32. package/dist/types-ts4.5/composable-editor/editor-internal.d.ts +1 -0
  33. package/dist/types-ts4.5/create-editor/ReactEditorView/useDispatchTransaction.d.ts +1 -1
  34. package/dist/types-ts4.5/create-editor/create-universal-preset.d.ts +1072 -100
  35. package/dist/types-ts4.5/create-editor/editorStateNotificationPlugin.d.ts +2 -2
  36. package/dist/types-ts4.5/create-editor/get-ui-component.d.ts +1 -0
  37. package/dist/types-ts4.5/presets/universal.d.ts +1077 -100
  38. package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +1072 -100
  39. package/dist/types-ts4.5/test-utils.d.ts +1 -1
  40. package/dist/types-ts4.5/types/with-appearance-component.d.ts +1 -0
  41. package/dist/types-ts4.5/ui/Addon/types.d.ts +1 -0
  42. package/dist/types-ts4.5/ui/Appearance/Chromeless.d.ts +7 -7
  43. package/dist/types-ts4.5/ui/Appearance/FullPage/FullPageContentArea.d.ts +7 -7
  44. package/dist/types-ts4.5/ui/Appearance/FullPage/getEditorViewModeSync.d.ts +1 -1
  45. package/dist/types-ts4.5/ui/CollapsedEditor/index.d.ts +1 -1
  46. package/dist/types-ts4.5/ui/ContentStyles/ai-panels.d.ts +1 -1
  47. package/dist/types-ts4.5/ui/ContentStyles/layout.d.ts +1 -1
  48. package/dist/types-ts4.5/ui/IntlProviderIfMissingWrapper/IntlProviderIfMissingWrapper.d.ts +1 -0
  49. package/dist/types-ts4.5/ui/Toolbar/Toolbar.d.ts +1 -0
  50. package/dist/types-ts4.5/utils/is-full-page.d.ts +1 -1
  51. package/dist/types-ts4.5/utils/prepare-extension-provider.d.ts +1 -1
  52. package/dist/types-ts4.5/utils/prepare-quick-insert-provider.d.ts +1 -0
  53. package/package.json +6 -3
@@ -7,7 +7,7 @@ export type EditorStateNotificationPluginState = {
7
7
  export declare const createEditorStateNotificationPlugin: (onEditorStateUpdated: (props: {
8
8
  oldEditorState: EditorState;
9
9
  newEditorState: EditorState;
10
- }) => void, onEditorViewStateUpdatedCallbacks: Array<{
10
+ }) => void, onEditorViewStateUpdatedCallbacks: {
11
11
  pluginName: string;
12
12
  callback: (props: EditorViewStateUpdatedCallbackProps) => void;
13
- }>) => SafePlugin<EditorStateNotificationPluginState>;
13
+ }[]) => SafePlugin<EditorStateNotificationPluginState>;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import type { EditorAppearance } from '@atlaskit/editor-common/types';
2
3
  import type { EditorAppearanceComponentProps } from '../types';
3
4
  type ReturnType = React.ComponentType<React.PropsWithChildren<EditorAppearanceComponentProps<any[]>>>;