@atlaskit/editor-core 191.6.0 → 191.7.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 +21 -0
- package/afm-cc/tsconfig.json +1 -211
- package/dist/cjs/composable-editor/editor-internal.js +4 -0
- package/dist/cjs/composable-editor/editor.js +2 -2
- package/dist/cjs/composable-editor/hooks/useProviders.js +57 -0
- package/dist/cjs/labs-next.js +1 -1
- package/dist/cjs/presets/default.js +35 -32
- package/dist/cjs/presets/universal.js +70 -70
- package/dist/cjs/test-utils.js +2 -2
- package/dist/cjs/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/cjs/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/cjs/ui/ContentStyles/expand.js +1 -1
- package/dist/cjs/ui/ContentStyles/index.js +5 -5
- package/dist/cjs/ui/ContentStyles/layout.js +2 -2
- package/dist/cjs/ui/ToolbarFeedback/index.js +6 -7
- package/dist/cjs/ui/WithHelpTrigger/index.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/composable-editor/editor-internal.js +4 -0
- package/dist/es2019/composable-editor/editor.js +1 -1
- package/dist/es2019/composable-editor/hooks/useProviders.js +28 -0
- package/dist/es2019/index.js +2 -2
- package/dist/es2019/labs-next.js +1 -1
- package/dist/es2019/presets/default.js +32 -29
- package/dist/es2019/presets/universal.js +45 -45
- package/dist/es2019/test-utils.js +1 -1
- package/dist/es2019/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/es2019/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/es2019/ui/ContentStyles/expand.js +2 -2
- package/dist/es2019/ui/ContentStyles/index.js +5 -5
- package/dist/es2019/ui/ContentStyles/layout.js +2 -2
- package/dist/es2019/ui/ToolbarFeedback/index.js +2 -3
- package/dist/es2019/ui/WithHelpTrigger/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/composable-editor/editor-internal.js +4 -0
- package/dist/esm/composable-editor/editor.js +1 -1
- package/dist/esm/composable-editor/hooks/useProviders.js +50 -0
- package/dist/esm/index.js +2 -2
- package/dist/esm/labs-next.js +1 -1
- package/dist/esm/presets/default.js +32 -29
- package/dist/esm/presets/universal.js +45 -45
- package/dist/esm/test-utils.js +1 -1
- package/dist/esm/ui/Appearance/Comment/Comment.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/BeforeWrapper.js +1 -1
- package/dist/esm/ui/Appearance/FullPage/StyledComponents.js +2 -2
- package/dist/esm/ui/ContentStyles/expand.js +2 -2
- package/dist/esm/ui/ContentStyles/index.js +5 -5
- package/dist/esm/ui/ContentStyles/layout.js +2 -2
- package/dist/esm/ui/ToolbarFeedback/index.js +6 -7
- package/dist/esm/ui/WithHelpTrigger/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/composable-editor/hooks/useProviders.d.ts +14 -0
- package/dist/types/create-editor/create-plugins-list.d.ts +3 -4
- package/dist/types/create-editor/create-preset.d.ts +235 -63
- package/dist/types/index.d.ts +4 -4
- package/dist/types/labs-next.d.ts +1 -1
- package/dist/types/presets/default.d.ts +908 -758
- package/dist/types/presets/universal.d.ts +433 -262
- package/dist/types/presets/useUniversalPreset.d.ts +235 -63
- package/dist/types/types/editor-props.d.ts +12 -12
- package/dist/types/ui/ContextPanel/index.d.ts +1 -1
- package/dist/types/utils/action.d.ts +2 -2
- package/dist/types-ts4.5/composable-editor/hooks/useProviders.d.ts +14 -0
- package/dist/types-ts4.5/create-editor/create-plugins-list.d.ts +3 -4
- package/dist/types-ts4.5/create-editor/create-preset.d.ts +255 -56
- package/dist/types-ts4.5/index.d.ts +4 -4
- package/dist/types-ts4.5/labs-next.d.ts +1 -1
- package/dist/types-ts4.5/presets/default.d.ts +930 -756
- package/dist/types-ts4.5/presets/universal.d.ts +453 -255
- package/dist/types-ts4.5/presets/useUniversalPreset.d.ts +255 -56
- package/dist/types-ts4.5/types/editor-props.d.ts +12 -12
- package/dist/types-ts4.5/ui/ContextPanel/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/action.d.ts +2 -2
- package/docs/0-intro.tsx +5 -5
- package/package.json +17 -150
- package/tsconfig.json +196 -166
- package/dist/cjs/presets/types.js +0 -5
- package/dist/es2019/presets/types.js +0 -1
- package/dist/esm/presets/types.js +0 -1
- package/dist/types/presets/types.d.ts +0 -6
- package/dist/types-ts4.5/presets/types.d.ts +0 -6
|
@@ -23,9 +23,9 @@ export type { UpdateEvent } from '@atlaskit/editor-common/annotation';
|
|
|
23
23
|
* @deprecated
|
|
24
24
|
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
25
25
|
* This is here while we work to extract the annotation plugin.
|
|
26
|
-
* Please use the export from `@atlaskit/editor-
|
|
26
|
+
* Please use the export from `@atlaskit/editor-plugins/annotation`.
|
|
27
27
|
*/
|
|
28
|
-
export type { AnnotationProviders, InlineCommentAnnotationProvider, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationInfo, AnnotationState, AnnotationTypeProvider, InlineCommentState, } from '@atlaskit/editor-
|
|
28
|
+
export type { AnnotationProviders, InlineCommentAnnotationProvider, InlineCommentCreateComponentProps, InlineCommentViewComponentProps, AnnotationInfo, AnnotationState, AnnotationTypeProvider, InlineCommentState, } from '@atlaskit/editor-plugins/annotation';
|
|
29
29
|
export type { TypeAheadItem } from '@atlaskit/editor-common/provider-factory';
|
|
30
30
|
export { INPUT_METHOD, ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE, } from '@atlaskit/editor-common/analytics';
|
|
31
31
|
export type { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
@@ -45,9 +45,9 @@ export type { MediaProvider } from '@atlaskit/editor-common/provider-factory';
|
|
|
45
45
|
* @deprecated
|
|
46
46
|
* DO NOT USE THIS WILL BE REMOVED SOON AND IS UNSAFE.
|
|
47
47
|
* This is here while we work to extract the media plugin.
|
|
48
|
-
* Please use the export from `@atlaskit/editor-
|
|
48
|
+
* Please use the export from `@atlaskit/editor-plugins/media/types`.
|
|
49
49
|
*/
|
|
50
|
-
export type { MediaOptions } from '@atlaskit/editor-
|
|
50
|
+
export type { MediaOptions } from '@atlaskit/editor-plugins/media/types';
|
|
51
51
|
export type {
|
|
52
52
|
/**
|
|
53
53
|
* @deprecated Use QuickInsertItem from @atlaskit/editor-common/provider-factory instead
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export { createDefaultPreset } from '
|
|
1
|
+
export { createDefaultPreset } from '../src/presets/default';
|