@atlaskit/editor-core 187.41.7 → 187.42.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 +17 -0
- package/dist/cjs/labs/next/presets/default.js +2 -2
- package/dist/cjs/plugins/code-block/index.js +1 -1
- package/dist/cjs/plugins/help-dialog/ui/index.js +1 -1
- package/dist/cjs/plugins/index.js +0 -7
- package/dist/cjs/plugins/insert-block/index.js +11 -11
- package/dist/cjs/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +1 -1
- package/dist/cjs/plugins/panel/index.js +1 -1
- package/dist/cjs/ui/ContentStyles/index.js +1 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/es2019/index.js +0 -6
- package/dist/es2019/labs/next/presets/default.js +1 -1
- package/dist/es2019/plugins/code-block/index.js +1 -1
- package/dist/es2019/plugins/help-dialog/ui/index.js +1 -1
- package/dist/es2019/plugins/index.js +0 -1
- package/dist/es2019/plugins/insert-block/index.js +1 -1
- package/dist/es2019/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +1 -1
- package/dist/es2019/plugins/panel/index.js +1 -1
- package/dist/es2019/ui/ContentStyles/index.js +1 -1
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/esm/index.js +0 -6
- package/dist/esm/labs/next/presets/default.js +1 -1
- package/dist/esm/plugins/code-block/index.js +1 -1
- package/dist/esm/plugins/help-dialog/ui/index.js +1 -1
- package/dist/esm/plugins/index.js +0 -1
- package/dist/esm/plugins/insert-block/index.js +1 -1
- package/dist/esm/plugins/insert-block/ui/ToolbarInsertBlock/create-items.js +1 -1
- package/dist/esm/plugins/panel/index.js +1 -1
- package/dist/esm/ui/ContentStyles/index.js +1 -1
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/types/index.d.ts +0 -7
- package/dist/types/labs/next/presets/default.d.ts +1 -1
- package/dist/types/plugins/index.d.ts +0 -1
- package/dist/types/plugins/insert-block/types.d.ts +2 -2
- package/dist/types/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +1 -1
- package/dist/types/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +1 -1
- package/dist/types/types/editor-props.d.ts +1 -1
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types/ui/ColorPickerButton/index.d.ts +1 -1
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/dist/types-ts4.5/index.d.ts +0 -7
- package/dist/types-ts4.5/labs/next/presets/default.d.ts +1 -1
- package/dist/types-ts4.5/plugins/index.d.ts +0 -1
- package/dist/types-ts4.5/plugins/insert-block/types.d.ts +2 -2
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/create-items.d.ts +1 -1
- package/dist/types-ts4.5/plugins/insert-block/ui/ToolbarInsertBlock/types.d.ts +1 -1
- package/dist/types-ts4.5/types/editor-props.d.ts +1 -1
- package/dist/types-ts4.5/ui/Appearance/FullPage/StyledComponents.d.ts +1 -1
- package/dist/types-ts4.5/ui/ColorPickerButton/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/ContentStyles/index.d.ts +2 -2
- package/package.json +7 -4
- package/report.api.md +1 -62
- package/tmp/api-report-tmp.d.ts +1 -51
- package/dist/cjs/plugins/block-type/commands/block-type.js +0 -202
- package/dist/cjs/plugins/block-type/commands/delete-and-move-cursor.js +0 -56
- package/dist/cjs/plugins/block-type/commands/delete-block-content.js +0 -45
- package/dist/cjs/plugins/block-type/commands/index.js +0 -68
- package/dist/cjs/plugins/block-type/consts.js +0 -15
- package/dist/cjs/plugins/block-type/index.js +0 -215
- package/dist/cjs/plugins/block-type/messages.js +0 -160
- package/dist/cjs/plugins/block-type/pm-plugins/input-rule.js +0 -104
- package/dist/cjs/plugins/block-type/pm-plugins/keymap.js +0 -34
- package/dist/cjs/plugins/block-type/pm-plugins/main.js +0 -151
- package/dist/cjs/plugins/block-type/styles.js +0 -15
- package/dist/cjs/plugins/block-type/types.js +0 -115
- package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/blocktype-button.js +0 -54
- package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/index.js +0 -193
- package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/styled.js +0 -34
- package/dist/cjs/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.js +0 -15
- package/dist/cjs/plugins/block-type/utils.js +0 -87
- package/dist/es2019/plugins/block-type/commands/block-type.js +0 -191
- package/dist/es2019/plugins/block-type/commands/delete-and-move-cursor.js +0 -54
- package/dist/es2019/plugins/block-type/commands/delete-block-content.js +0 -42
- package/dist/es2019/plugins/block-type/commands/index.js +0 -3
- package/dist/es2019/plugins/block-type/consts.js +0 -8
- package/dist/es2019/plugins/block-type/index.js +0 -201
- package/dist/es2019/plugins/block-type/messages.js +0 -153
- package/dist/es2019/plugins/block-type/pm-plugins/input-rule.js +0 -93
- package/dist/es2019/plugins/block-type/pm-plugins/keymap.js +0 -25
- package/dist/es2019/plugins/block-type/pm-plugins/main.js +0 -137
- package/dist/es2019/plugins/block-type/styles.js +0 -8
- package/dist/es2019/plugins/block-type/types.js +0 -93
- package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/blocktype-button.js +0 -44
- package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/index.js +0 -170
- package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/styled.js +0 -49
- package/dist/es2019/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.js +0 -8
- package/dist/es2019/plugins/block-type/utils.js +0 -76
- package/dist/esm/plugins/block-type/commands/block-type.js +0 -187
- package/dist/esm/plugins/block-type/commands/delete-and-move-cursor.js +0 -49
- package/dist/esm/plugins/block-type/commands/delete-block-content.js +0 -39
- package/dist/esm/plugins/block-type/commands/index.js +0 -3
- package/dist/esm/plugins/block-type/consts.js +0 -8
- package/dist/esm/plugins/block-type/index.js +0 -202
- package/dist/esm/plugins/block-type/messages.js +0 -153
- package/dist/esm/plugins/block-type/pm-plugins/input-rule.js +0 -96
- package/dist/esm/plugins/block-type/pm-plugins/keymap.js +0 -25
- package/dist/esm/plugins/block-type/pm-plugins/main.js +0 -142
- package/dist/esm/plugins/block-type/styles.js +0 -7
- package/dist/esm/plugins/block-type/types.js +0 -93
- package/dist/esm/plugins/block-type/ui/ToolbarBlockType/blocktype-button.js +0 -44
- package/dist/esm/plugins/block-type/ui/ToolbarBlockType/index.js +0 -186
- package/dist/esm/plugins/block-type/ui/ToolbarBlockType/styled.js +0 -20
- package/dist/esm/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.js +0 -8
- package/dist/esm/plugins/block-type/utils.js +0 -77
- package/dist/types/plugins/block-type/commands/block-type.d.ts +0 -19
- package/dist/types/plugins/block-type/commands/delete-and-move-cursor.d.ts +0 -12
- package/dist/types/plugins/block-type/commands/delete-block-content.d.ts +0 -10
- package/dist/types/plugins/block-type/commands/index.d.ts +0 -4
- package/dist/types/plugins/block-type/consts.d.ts +0 -1
- package/dist/types/plugins/block-type/index.d.ts +0 -18
- package/dist/types/plugins/block-type/messages.d.ts +0 -152
- package/dist/types/plugins/block-type/pm-plugins/input-rule.d.ts +0 -6
- package/dist/types/plugins/block-type/pm-plugins/keymap.d.ts +0 -5
- package/dist/types/plugins/block-type/pm-plugins/main.d.ts +0 -17
- package/dist/types/plugins/block-type/styles.d.ts +0 -2
- package/dist/types/plugins/block-type/types.d.ts +0 -40
- package/dist/types/plugins/block-type/ui/ToolbarBlockType/blocktype-button.d.ts +0 -22
- package/dist/types/plugins/block-type/ui/ToolbarBlockType/index.d.ts +0 -29
- package/dist/types/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +0 -8
- package/dist/types/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.d.ts +0 -7
- package/dist/types/plugins/block-type/utils.d.ts +0 -16
- package/dist/types-ts4.5/plugins/block-type/commands/block-type.d.ts +0 -19
- package/dist/types-ts4.5/plugins/block-type/commands/delete-and-move-cursor.d.ts +0 -12
- package/dist/types-ts4.5/plugins/block-type/commands/delete-block-content.d.ts +0 -10
- package/dist/types-ts4.5/plugins/block-type/commands/index.d.ts +0 -4
- package/dist/types-ts4.5/plugins/block-type/consts.d.ts +0 -1
- package/dist/types-ts4.5/plugins/block-type/index.d.ts +0 -20
- package/dist/types-ts4.5/plugins/block-type/messages.d.ts +0 -152
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/input-rule.d.ts +0 -6
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/keymap.d.ts +0 -5
- package/dist/types-ts4.5/plugins/block-type/pm-plugins/main.d.ts +0 -17
- package/dist/types-ts4.5/plugins/block-type/styles.d.ts +0 -2
- package/dist/types-ts4.5/plugins/block-type/types.d.ts +0 -40
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/blocktype-button.d.ts +0 -22
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/index.d.ts +0 -29
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/styled.d.ts +0 -8
- package/dist/types-ts4.5/plugins/block-type/ui/ToolbarBlockType/toolbar-messages.d.ts +0 -7
- package/dist/types-ts4.5/plugins/block-type/utils.d.ts +0 -16
|
@@ -9,6 +9,6 @@ type ContentStylesProps = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const placeholderStyles: SerializedStyles;
|
|
11
11
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
12
|
-
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "
|
|
13
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "
|
|
12
|
+
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "start" | "accessKey" | "as" | "css" | "list" | "step" | "wrap" | "preload" | "mediaGroup" | "hidden" | "aria-label" | "aria-haspopup" | "aria-keyshortcuts" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-invalid" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "multiple" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "start" | "accessKey" | "as" | "css" | "list" | "step" | "wrap" | "preload" | "mediaGroup" | "hidden" | "aria-label" | "aria-haspopup" | "aria-keyshortcuts" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-invalid" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "multiple" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export default _default;
|
|
@@ -22,12 +22,6 @@ export { stateKey as mediaPluginKey } from './plugins/media/pm-plugins/main';
|
|
|
22
22
|
export { textColorPluginKey } from './plugins/text-color';
|
|
23
23
|
export type { TextColorPluginState } from './plugins/text-color';
|
|
24
24
|
export { changeColor } from './plugins/text-color/commands/change-color';
|
|
25
|
-
export type { BlockTypeState } from './plugins/block-type/pm-plugins/main';
|
|
26
|
-
/**
|
|
27
|
-
* @private
|
|
28
|
-
* @deprecated DO NOT USE, temporary solution while decoupling plugins from editor-core
|
|
29
|
-
*/
|
|
30
|
-
export type { BlockTypePlugin } from './plugins/block-type';
|
|
31
25
|
/**
|
|
32
26
|
* @private
|
|
33
27
|
* @deprecated DO NOT USE, temporary solution while decoupling plugins from editor-core
|
|
@@ -41,7 +35,6 @@ export type { PanelPlugin } from './plugins/panel';
|
|
|
41
35
|
export { subscribeToToolbarAndPickerUpdates } from './plugins/view-update-subscription/subscribe/toolbarAndPickerUpdates';
|
|
42
36
|
export { subscribeTypeAheadUpdates } from './plugins/view-update-subscription/subscribe/type-ahead-updates';
|
|
43
37
|
export type { InputMethodToolbar as TextFormattingInputMethodToolbar, InputMethodBasic as TextFormattingInputMethodBasic, } from '@atlaskit/editor-common/types';
|
|
44
|
-
export type { InputMethod as BlockTypeInputMethod } from './plugins/block-type/commands';
|
|
45
38
|
export { createTable } from '@atlaskit/editor-plugin-table/commands';
|
|
46
39
|
export { insertTaskDecisionCommand } from './plugins/tasks-and-decisions/commands';
|
|
47
40
|
export type { TaskDecisionInputMethod } from './plugins/tasks-and-decisions/types';
|
|
@@ -3,7 +3,7 @@ import type { PastePluginOptions } from '../../../plugins/paste';
|
|
|
3
3
|
import type { BasePluginOptions } from '../../../plugins/base';
|
|
4
4
|
import type { EditorProps } from '../../../types/editor-props';
|
|
5
5
|
import type { EditorPresetProps } from './types';
|
|
6
|
-
import type { BlockTypePluginOptions } from '
|
|
6
|
+
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
|
|
7
7
|
import type { PlaceholderPluginOptions } from '@atlaskit/editor-plugin-placeholder';
|
|
8
8
|
import type { AnnotationProviders } from '../../../plugins/annotation';
|
|
9
9
|
import type { TextFormattingOptions, HyperlinkPluginOptions, QuickInsertPluginOptions } from '@atlaskit/editor-common/types';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { basePlugin } from './base';
|
|
2
|
-
export { default as blockTypePlugin } from './block-type';
|
|
3
2
|
export { default as betterTypeHistoryPlugin } from './better-type-history';
|
|
4
3
|
export { default as clearMarksOnChangeToEmptyDocumentPlugin } from './clear-marks-on-change-to-empty-document';
|
|
5
4
|
export { default as codeBlockPlugin } from './code-block';
|
|
@@ -8,7 +8,7 @@ import type { FeatureFlagsPlugin } from '@atlaskit/editor-plugin-feature-flags';
|
|
|
8
8
|
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
9
9
|
import type mentionsPlugin from '../mentions';
|
|
10
10
|
import type quickInsertPlugin from '../quick-insert';
|
|
11
|
-
import type
|
|
11
|
+
import type { BlockTypePlugin } from '@atlaskit/editor-plugin-block-type';
|
|
12
12
|
import type codeBlockPlugin from '../code-block';
|
|
13
13
|
import type panelPlugin from '../panel';
|
|
14
14
|
import type { RulePlugin } from '@atlaskit/editor-plugin-rule';
|
|
@@ -17,7 +17,7 @@ export type InsertBlockPluginDependencies = [
|
|
|
17
17
|
OptionalPlugin<typeof tablesPlugin>,
|
|
18
18
|
OptionalPlugin<typeof hyperlinkPlugin>,
|
|
19
19
|
OptionalPlugin<typeof datePlugin>,
|
|
20
|
-
OptionalPlugin<
|
|
20
|
+
OptionalPlugin<BlockTypePlugin>,
|
|
21
21
|
OptionalPlugin<typeof analyticsPlugin>,
|
|
22
22
|
OptionalPlugin<ImageUploadPlugin>,
|
|
23
23
|
OptionalPlugin<typeof mentionsPlugin>,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
3
|
import type { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
4
4
|
import type { EmojiProvider } from '@atlaskit/emoji/resource';
|
|
5
|
-
import type { BlockType } from '
|
|
5
|
+
import type { BlockType } from '@atlaskit/editor-plugin-block-type';
|
|
6
6
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
7
7
|
import type { MacroProvider } from '../../../macro';
|
|
8
8
|
export interface CreateItemsConfig {
|
|
@@ -2,7 +2,7 @@ import type { INPUT_METHOD, DispatchAnalyticsEvent } from '@atlaskit/editor-comm
|
|
|
2
2
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
3
3
|
import type { EditorActionsOptions as EditorActions, FeatureFlags, ImageUploadPluginReferenceEvent, Command, PluginInjectionAPIWithDependencies } from '@atlaskit/editor-common/types';
|
|
4
4
|
import type { EmojiProvider } from '@atlaskit/emoji';
|
|
5
|
-
import type { BlockType } from '
|
|
5
|
+
import type { BlockType } from '@atlaskit/editor-plugin-block-type';
|
|
6
6
|
import type { MacroProvider } from '@atlaskit/editor-common/provider-factory';
|
|
7
7
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
8
8
|
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -13,7 +13,7 @@ import type { MentionProvider } from '@atlaskit/mention/resource';
|
|
|
13
13
|
import type { TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
14
14
|
import type EditorActions from '../actions';
|
|
15
15
|
import type { AnnotationProviders } from '../plugins/annotation/types';
|
|
16
|
-
import type { BlockTypePluginOptions } from '
|
|
16
|
+
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
|
|
17
17
|
import type { CodeBlockOptions } from '../plugins/code-block/types';
|
|
18
18
|
import type { CollabEditOptions } from '@atlaskit/editor-common/collab';
|
|
19
19
|
import type { DatePluginConfig } from '../plugins/date/types';
|
|
@@ -3,7 +3,7 @@ export declare const fullPageEditorWrapper: import("@emotion/react").SerializedS
|
|
|
3
3
|
export declare const ScrollContainer: import("react").ForwardRefExoticComponent<Pick<{
|
|
4
4
|
theme?: any;
|
|
5
5
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
6
|
-
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "
|
|
6
|
+
} & import("react").HTMLProps<HTMLDivElement>, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "start" | "accessKey" | "as" | "css" | "list" | "step" | "wrap" | "preload" | "mediaGroup" | "hidden" | "aria-label" | "aria-haspopup" | "aria-keyshortcuts" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-invalid" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "multiple" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | keyof {
|
|
7
7
|
theme?: any;
|
|
8
8
|
featureFlags?: import("@atlaskit/editor-common/types").FeatureFlags | undefined;
|
|
9
9
|
}> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -24,5 +24,5 @@ type Props = WithAnalyticsEventsProps & {
|
|
|
24
24
|
*/
|
|
25
25
|
skipFocusButtonAfterPick?: boolean;
|
|
26
26
|
};
|
|
27
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "title" | "key" | "onChange" | "size" | "
|
|
27
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "title" | "key" | "onChange" | "size" | "currentColor" | "cols" | "analyticsContext" | "alignX" | "colorPalette" | "placement" | "mountPoint" | "setDisableParentScroll" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
|
|
28
28
|
export default _default;
|
|
@@ -9,6 +9,6 @@ type ContentStylesProps = {
|
|
|
9
9
|
};
|
|
10
10
|
export declare const placeholderStyles: SerializedStyles;
|
|
11
11
|
type Props = ContentStylesProps & React.HTMLProps<HTMLDivElement>;
|
|
12
|
-
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "
|
|
13
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "
|
|
12
|
+
export declare const createEditorContentStyle: (styles?: SerializedStyles) => React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "start" | "accessKey" | "as" | "css" | "list" | "step" | "wrap" | "preload" | "mediaGroup" | "hidden" | "aria-label" | "aria-haspopup" | "aria-keyshortcuts" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-invalid" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "multiple" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
13
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "headers" | "method" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "default" | "key" | "dir" | "color" | "content" | "height" | "translate" | "width" | "type" | "defaultValue" | "onError" | "onChange" | "open" | "onFocus" | "onBlur" | "onKeyDown" | "placeholder" | "value" | "autoFocus" | "name" | "action" | "disabled" | "children" | "media" | "property" | "aria-hidden" | "size" | "start" | "accessKey" | "as" | "css" | "list" | "step" | "wrap" | "preload" | "mediaGroup" | "hidden" | "aria-label" | "aria-haspopup" | "aria-keyshortcuts" | "className" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-invalid" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "multiple" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "async" | "autoComplete" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "min" | "minLength" | "muted" | "nonce" | "noValidate" | "optimum" | "playsInline" | "poster" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "target" | "useMap" | "wmode" | keyof ContentStylesProps> & React.RefAttributes<HTMLDivElement>>;
|
|
14
14
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "187.
|
|
3
|
+
"version": "187.42.0",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -55,11 +55,12 @@
|
|
|
55
55
|
"@atlaskit/code": "^14.6.0",
|
|
56
56
|
"@atlaskit/date": "^0.10.0",
|
|
57
57
|
"@atlaskit/datetime-picker": "^12.9.0",
|
|
58
|
-
"@atlaskit/editor-common": "^74.
|
|
58
|
+
"@atlaskit/editor-common": "^74.59.0",
|
|
59
59
|
"@atlaskit/editor-json-transformer": "^8.10.0",
|
|
60
60
|
"@atlaskit/editor-markdown-transformer": "^5.2.5",
|
|
61
61
|
"@atlaskit/editor-palette": "1.5.1",
|
|
62
62
|
"@atlaskit/editor-plugin-analytics": "^0.2.0",
|
|
63
|
+
"@atlaskit/editor-plugin-block-type": "^1.0.0",
|
|
63
64
|
"@atlaskit/editor-plugin-card": "^0.5.0",
|
|
64
65
|
"@atlaskit/editor-plugin-composition": "^0.1.0",
|
|
65
66
|
"@atlaskit/editor-plugin-content-insertion": "^0.1.0",
|
|
@@ -108,7 +109,7 @@
|
|
|
108
109
|
"@atlaskit/radio": "^5.6.0",
|
|
109
110
|
"@atlaskit/section-message": "^6.4.0",
|
|
110
111
|
"@atlaskit/select": "^16.5.0",
|
|
111
|
-
"@atlaskit/smart-card": "^26.
|
|
112
|
+
"@atlaskit/smart-card": "^26.25.0",
|
|
112
113
|
"@atlaskit/smart-user-picker": "^6.3.0",
|
|
113
114
|
"@atlaskit/spinner": "^15.5.0",
|
|
114
115
|
"@atlaskit/status": "^1.3.0",
|
|
@@ -147,7 +148,9 @@
|
|
|
147
148
|
"react-intl-next": "npm:react-intl@^5.18.1"
|
|
148
149
|
},
|
|
149
150
|
"devDependencies": {
|
|
151
|
+
"@af/editor-libra": "*",
|
|
150
152
|
"@af/integration-testing": "*",
|
|
153
|
+
"@af/visual-regression": "*",
|
|
151
154
|
"@atlaskit/code": "^14.6.0",
|
|
152
155
|
"@atlaskit/collab-provider": "9.12.2",
|
|
153
156
|
"@atlaskit/dropdown-menu": "^11.13.0",
|
|
@@ -158,7 +161,7 @@
|
|
|
158
161
|
"@atlaskit/inline-dialog": "^13.6.0",
|
|
159
162
|
"@atlaskit/link-analytics": "^8.2.0",
|
|
160
163
|
"@atlaskit/link-provider": "^1.6.0",
|
|
161
|
-
"@atlaskit/link-test-helpers": "^6.
|
|
164
|
+
"@atlaskit/link-test-helpers": "^6.1.0",
|
|
162
165
|
"@atlaskit/media-core": "^34.1.0",
|
|
163
166
|
"@atlaskit/media-integration-test-helpers": "^3.0.0",
|
|
164
167
|
"@atlaskit/media-test-helpers": "^33.0.0",
|
package/report.api.md
CHANGED
|
@@ -24,12 +24,12 @@ import { ACTION_SUBJECT } from '@atlaskit/editor-common/analytics';
|
|
|
24
24
|
import { ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
|
|
25
25
|
import type { ActivityProvider } from '@atlaskit/activity-provider';
|
|
26
26
|
import type { AllEditorPresetPluginTypes } from '@atlaskit/editor-common/types';
|
|
27
|
-
import type { AllowedBlockTypes } from '@atlaskit/editor-common/types';
|
|
28
27
|
import { AnalyticsEventPayload } from '@atlaskit/editor-common/analytics';
|
|
29
28
|
import type { AnalyticsEventPayload as AnalyticsEventPayload_2 } from '@atlaskit/analytics-next/AnalyticsEvent';
|
|
30
29
|
import type { AnalyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
31
30
|
import type { analyticsPlugin } from '@atlaskit/editor-plugin-analytics';
|
|
32
31
|
import type { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
32
|
+
import type { BlockTypePluginOptions } from '@atlaskit/editor-plugin-block-type';
|
|
33
33
|
import { BrowserFreezetracking } from '@atlaskit/editor-common/types';
|
|
34
34
|
import type { CardOptions } from '@atlaskit/editor-common/card';
|
|
35
35
|
import { CardProvider } from '@atlaskit/editor-common/provider-factory';
|
|
@@ -87,7 +87,6 @@ import { Side as GapCursorSide } from '@atlaskit/editor-common/selection';
|
|
|
87
87
|
import type { GetEditorFeatureFlags } from '@atlaskit/editor-common/types';
|
|
88
88
|
import type { GridPlugin } from '@atlaskit/editor-plugin-grid';
|
|
89
89
|
import type { GuidelinePlugin } from '@atlaskit/editor-plugin-guideline';
|
|
90
|
-
import type { HeadingLevelsAndNormalText } from '@atlaskit/editor-common/types';
|
|
91
90
|
import type { HyperlinkPluginOptions } from '@atlaskit/editor-common/types';
|
|
92
91
|
import { INPUT_METHOD } from '@atlaskit/editor-common/analytics';
|
|
93
92
|
import type { InputMethodInsertMedia } from '@atlaskit/editor-common/analytics';
|
|
@@ -110,7 +109,6 @@ import { MentionProvider } from '@atlaskit/mention/resource';
|
|
|
110
109
|
import type { MentionProvider as MentionProvider_2 } from '@atlaskit/mention';
|
|
111
110
|
import { MentionResource } from '@atlaskit/mention/resource';
|
|
112
111
|
import type { MenuItem } from '@atlaskit/editor-common/ui-menu';
|
|
113
|
-
import type { MessageDescriptor } from 'react-intl-next';
|
|
114
112
|
import { default as messages } from '@atlaskit/editor-common/messages';
|
|
115
113
|
import type { NextEditorPlugin } from '@atlaskit/editor-common/types';
|
|
116
114
|
import { Node as Node_2 } from '@atlaskit/editor-prosemirror/model';
|
|
@@ -282,65 +280,6 @@ type BeforeAndAfterToolbarComponents = {
|
|
|
282
280
|
after: ReactComponents;
|
|
283
281
|
};
|
|
284
282
|
|
|
285
|
-
// @public (undocumented)
|
|
286
|
-
interface BlockType {
|
|
287
|
-
// (undocumented)
|
|
288
|
-
level?: HeadingLevelsAndNormalText;
|
|
289
|
-
// (undocumented)
|
|
290
|
-
name: string;
|
|
291
|
-
// (undocumented)
|
|
292
|
-
nodeName: string;
|
|
293
|
-
// (undocumented)
|
|
294
|
-
tagName?: string;
|
|
295
|
-
// (undocumented)
|
|
296
|
-
title: MessageDescriptor;
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
// @public (undocumented)
|
|
300
|
-
export type BlockTypeInputMethod =
|
|
301
|
-
| INPUT_METHOD.FORMATTING
|
|
302
|
-
| INPUT_METHOD.INSERT_MENU
|
|
303
|
-
| INPUT_METHOD.KEYBOARD
|
|
304
|
-
| INPUT_METHOD.SHORTCUT
|
|
305
|
-
| INPUT_METHOD.TOOLBAR;
|
|
306
|
-
|
|
307
|
-
// @public (undocumented)
|
|
308
|
-
export type BlockTypePlugin = NextEditorPlugin<
|
|
309
|
-
'blockType',
|
|
310
|
-
{
|
|
311
|
-
pluginConfiguration: BlockTypePluginOptions | undefined;
|
|
312
|
-
dependencies: [OptionalPlugin<typeof analyticsPlugin>];
|
|
313
|
-
sharedState: BlockTypeState | undefined;
|
|
314
|
-
actions: {
|
|
315
|
-
insertBlockQuote: (inputMethod: BlockTypeInputMethod) => Command_2;
|
|
316
|
-
setBlockType: (
|
|
317
|
-
name: string,
|
|
318
|
-
inputMethod: BlockTypeInputMethod,
|
|
319
|
-
) => Command_2;
|
|
320
|
-
};
|
|
321
|
-
}
|
|
322
|
-
>;
|
|
323
|
-
|
|
324
|
-
// @public (undocumented)
|
|
325
|
-
interface BlockTypePluginOptions {
|
|
326
|
-
// (undocumented)
|
|
327
|
-
allowBlockType?: {
|
|
328
|
-
exclude?: Array<AllowedBlockTypes>;
|
|
329
|
-
};
|
|
330
|
-
// (undocumented)
|
|
331
|
-
isUndoRedoButtonsEnabled?: boolean;
|
|
332
|
-
// (undocumented)
|
|
333
|
-
lastNodeMustBeParagraph?: boolean;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
// @public (undocumented)
|
|
337
|
-
export type BlockTypeState = {
|
|
338
|
-
currentBlockType: BlockType;
|
|
339
|
-
blockTypesDisabled: boolean;
|
|
340
|
-
availableBlockTypes: BlockType[];
|
|
341
|
-
availableWrapperBlockTypes: BlockType[];
|
|
342
|
-
};
|
|
343
|
-
|
|
344
283
|
export { CardProvider };
|
|
345
284
|
|
|
346
285
|
// @public (undocumented)
|