@atlaskit/editor-core 172.0.2 → 172.0.3
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 +7 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/ErrorBoundary/index.js +1 -0
- package/dist/cjs/utils/document.js +2 -2
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/ErrorBoundary/index.js +1 -0
- package/dist/es2019/utils/document.js +2 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/ErrorBoundary/index.js +1 -0
- package/dist/esm/utils/document.js +2 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/plugins/table/pm-plugins/sticky-headers/nodeviews/tableRow.d.ts +2 -2
- package/dist/types/ui/Appearance/FullPage/StyledComponents.d.ts +10 -10
- package/dist/types/ui/ColorPickerButton/index.d.ts +1 -1
- package/dist/types/ui/ContentStyles/index.d.ts +2 -2
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 172.0.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
8
|
+
- Updated dependencies
|
|
9
|
+
|
|
3
10
|
## 172.0.2
|
|
4
11
|
|
|
5
12
|
### Patch Changes
|
|
@@ -46,7 +46,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
46
46
|
function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
|
|
47
47
|
|
|
48
48
|
var packageName = "@atlaskit/editor-core";
|
|
49
|
-
var packageVersion = "172.0.
|
|
49
|
+
var packageVersion = "172.0.3";
|
|
50
50
|
var halfFocusRing = 1;
|
|
51
51
|
var dropOffset = "0, ".concat((0, _constants.gridSize)(), "px");
|
|
52
52
|
|
|
@@ -303,7 +303,7 @@ function processRawValue(schema, value, providerFactory, sanitizePrivateContent,
|
|
|
303
303
|
actionSubject: _enums.ACTION_SUBJECT.EDITOR,
|
|
304
304
|
eventType: _enums.EVENT_TYPE.OPERATIONAL,
|
|
305
305
|
attributes: {
|
|
306
|
-
|
|
306
|
+
errorStack: err === null || err === void 0 ? void 0 : err.toString()
|
|
307
307
|
}
|
|
308
308
|
});
|
|
309
309
|
}
|
|
@@ -323,7 +323,7 @@ function processRawValue(schema, value, providerFactory, sanitizePrivateContent,
|
|
|
323
323
|
actionSubject: _enums.ACTION_SUBJECT.EDITOR,
|
|
324
324
|
eventType: _enums.EVENT_TYPE.OPERATIONAL,
|
|
325
325
|
attributes: {
|
|
326
|
-
|
|
326
|
+
errorStack: e === null || e === void 0 ? void 0 : e.toString()
|
|
327
327
|
}
|
|
328
328
|
});
|
|
329
329
|
} // eslint-disable-next-line no-console
|
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.version = exports.nextMajorVersion = exports.name = void 0;
|
|
7
7
|
var name = "@atlaskit/editor-core";
|
|
8
8
|
exports.name = name;
|
|
9
|
-
var version = "172.0.
|
|
9
|
+
var version = "172.0.3";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
|
|
12
12
|
var nextMajorVersion = function nextMajorVersion() {
|
package/dist/cjs/version.json
CHANGED
|
@@ -10,7 +10,7 @@ import { N0, DN50, DN600, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
|
10
10
|
import { themed } from '@atlaskit/theme/components';
|
|
11
11
|
import { token } from '@atlaskit/tokens';
|
|
12
12
|
const packageName = "@atlaskit/editor-core";
|
|
13
|
-
const packageVersion = "172.0.
|
|
13
|
+
const packageVersion = "172.0.3";
|
|
14
14
|
const halfFocusRing = 1;
|
|
15
15
|
const dropOffset = `0, ${gridSize()}px`;
|
|
16
16
|
|
|
@@ -265,7 +265,7 @@ export function processRawValue(schema, value, providerFactory, sanitizePrivateC
|
|
|
265
265
|
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
266
266
|
eventType: EVENT_TYPE.OPERATIONAL,
|
|
267
267
|
attributes: {
|
|
268
|
-
|
|
268
|
+
errorStack: err === null || err === void 0 ? void 0 : err.toString()
|
|
269
269
|
}
|
|
270
270
|
});
|
|
271
271
|
}
|
|
@@ -285,7 +285,7 @@ export function processRawValue(schema, value, providerFactory, sanitizePrivateC
|
|
|
285
285
|
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
286
286
|
eventType: EVENT_TYPE.OPERATIONAL,
|
|
287
287
|
attributes: {
|
|
288
|
-
|
|
288
|
+
errorStack: e === null || e === void 0 ? void 0 : e.toString()
|
|
289
289
|
}
|
|
290
290
|
});
|
|
291
291
|
} // eslint-disable-next-line no-console
|
package/dist/es2019/version.json
CHANGED
|
@@ -23,7 +23,7 @@ import { N0, DN50, DN600, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
|
23
23
|
import { themed } from '@atlaskit/theme/components';
|
|
24
24
|
import { token } from '@atlaskit/tokens';
|
|
25
25
|
var packageName = "@atlaskit/editor-core";
|
|
26
|
-
var packageVersion = "172.0.
|
|
26
|
+
var packageVersion = "172.0.3";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = "0, ".concat(gridSize(), "px");
|
|
29
29
|
|
|
@@ -262,7 +262,7 @@ export function processRawValue(schema, value, providerFactory, sanitizePrivateC
|
|
|
262
262
|
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
263
263
|
eventType: EVENT_TYPE.OPERATIONAL,
|
|
264
264
|
attributes: {
|
|
265
|
-
|
|
265
|
+
errorStack: err === null || err === void 0 ? void 0 : err.toString()
|
|
266
266
|
}
|
|
267
267
|
});
|
|
268
268
|
}
|
|
@@ -282,7 +282,7 @@ export function processRawValue(schema, value, providerFactory, sanitizePrivateC
|
|
|
282
282
|
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
283
283
|
eventType: EVENT_TYPE.OPERATIONAL,
|
|
284
284
|
attributes: {
|
|
285
|
-
|
|
285
|
+
errorStack: e === null || e === void 0 ? void 0 : e.toString()
|
|
286
286
|
}
|
|
287
287
|
});
|
|
288
288
|
} // eslint-disable-next-line no-console
|
package/dist/esm/version.json
CHANGED
|
@@ -28,8 +28,8 @@ export declare class TableRowNodeView implements NodeView {
|
|
|
28
28
|
get tree(): TableDOMElements | null | undefined;
|
|
29
29
|
constructor(node: PmNode, view: EditorView, getPos: any, eventDispatcher: EventDispatcher);
|
|
30
30
|
listening: boolean;
|
|
31
|
-
headerRowMouseScrollEnd: (() => void
|
|
32
|
-
headerRowMouseScroll: (() => void
|
|
31
|
+
headerRowMouseScrollEnd: import("lodash").DebouncedFunc<() => void>;
|
|
32
|
+
headerRowMouseScroll: import("lodash").DebouncedFunc<() => void>;
|
|
33
33
|
subscribe(): void;
|
|
34
34
|
unsubscribe(): void;
|
|
35
35
|
private initObservers;
|
|
@@ -27,9 +27,15 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
27
27
|
width?: string | number | undefined;
|
|
28
28
|
color?: string | undefined;
|
|
29
29
|
height?: string | number | undefined;
|
|
30
|
+
start?: number | undefined;
|
|
31
|
+
hidden?: boolean | undefined;
|
|
32
|
+
size?: number | undefined;
|
|
33
|
+
wrap?: string | undefined;
|
|
34
|
+
open?: boolean | undefined;
|
|
35
|
+
multiple?: boolean | undefined;
|
|
36
|
+
disabled?: boolean | undefined;
|
|
30
37
|
accessKey?: string | undefined;
|
|
31
38
|
draggable?: boolean | undefined;
|
|
32
|
-
hidden?: boolean | undefined;
|
|
33
39
|
lang?: string | undefined;
|
|
34
40
|
className?: string | undefined;
|
|
35
41
|
id?: string | undefined;
|
|
@@ -41,7 +47,6 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
41
47
|
defaultValue?: string | string[] | undefined;
|
|
42
48
|
onError?: import("react").ReactEventHandler<HTMLDivElement> | undefined;
|
|
43
49
|
onChange?: import("react").FormEventHandler<HTMLDivElement> | undefined;
|
|
44
|
-
open?: boolean | undefined;
|
|
45
50
|
onFocus?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
46
51
|
onBlur?: import("react").FocusEventHandler<HTMLDivElement> | undefined;
|
|
47
52
|
placeholder?: string | undefined;
|
|
@@ -49,10 +54,8 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
49
54
|
name?: string | undefined;
|
|
50
55
|
key?: import("react").Key | undefined;
|
|
51
56
|
action?: string | undefined;
|
|
52
|
-
disabled?: boolean | undefined;
|
|
53
57
|
property?: string | undefined;
|
|
54
58
|
target?: string | undefined;
|
|
55
|
-
start?: number | undefined;
|
|
56
59
|
onClick?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
57
60
|
onMouseEnter?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
58
61
|
onMouseLeave?: import("react").MouseEventHandler<HTMLDivElement> | undefined;
|
|
@@ -109,7 +112,6 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
109
112
|
method?: string | undefined;
|
|
110
113
|
min?: string | number | undefined;
|
|
111
114
|
minLength?: number | undefined;
|
|
112
|
-
multiple?: boolean | undefined;
|
|
113
115
|
muted?: boolean | undefined;
|
|
114
116
|
noValidate?: boolean | undefined;
|
|
115
117
|
optimum?: number | undefined;
|
|
@@ -128,7 +130,6 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
128
130
|
scrolling?: string | undefined;
|
|
129
131
|
seamless?: boolean | undefined;
|
|
130
132
|
shape?: string | undefined;
|
|
131
|
-
size?: number | undefined;
|
|
132
133
|
sizes?: string | undefined;
|
|
133
134
|
src?: string | undefined;
|
|
134
135
|
srcDoc?: string | undefined;
|
|
@@ -137,7 +138,6 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
137
138
|
step?: string | number | undefined;
|
|
138
139
|
useMap?: string | undefined;
|
|
139
140
|
wmode?: string | undefined;
|
|
140
|
-
wrap?: string | undefined;
|
|
141
141
|
defaultChecked?: boolean | undefined;
|
|
142
142
|
suppressContentEditableWarning?: boolean | undefined;
|
|
143
143
|
suppressHydrationWarning?: boolean | undefined;
|
|
@@ -165,14 +165,14 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
165
165
|
unselectable?: "on" | "off" | undefined;
|
|
166
166
|
'aria-activedescendant'?: string | undefined;
|
|
167
167
|
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
|
168
|
-
'aria-autocomplete'?: "none" | "inline" | "
|
|
168
|
+
'aria-autocomplete'?: "none" | "inline" | "both" | "list" | undefined;
|
|
169
169
|
'aria-busy'?: boolean | "false" | "true" | undefined;
|
|
170
170
|
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
|
171
171
|
'aria-colcount'?: number | undefined;
|
|
172
172
|
'aria-colindex'?: number | undefined;
|
|
173
173
|
'aria-colspan'?: number | undefined;
|
|
174
174
|
'aria-controls'?: string | undefined;
|
|
175
|
-
'aria-current'?: boolean | "time" | "date" | "false" | "true" | "
|
|
175
|
+
'aria-current'?: boolean | "time" | "date" | "false" | "true" | "page" | "step" | "location" | undefined;
|
|
176
176
|
'aria-describedby'?: string | undefined;
|
|
177
177
|
'aria-details'?: string | undefined;
|
|
178
178
|
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
|
@@ -365,7 +365,7 @@ export declare const ScrollContainer: import("react").ForwardRefExoticComponent<
|
|
|
365
365
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
366
366
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLDivElement> | undefined;
|
|
367
367
|
css?: import("@emotion/core").InterpolationWithTheme<any>;
|
|
368
|
-
}, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "aria-label" | "aria-haspopup" | "children" | "theme" | "pattern" | "value" | "type" | "onSubmit" | "width" | "color" | "height" | "
|
|
368
|
+
}, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "aria-label" | "aria-haspopup" | "children" | "theme" | "pattern" | "value" | "type" | "onSubmit" | "width" | "color" | "height" | "start" | "hidden" | "size" | "wrap" | "open" | "multiple" | "disabled" | "accessKey" | "draggable" | "lang" | "className" | "id" | "prefix" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "defaultValue" | "onError" | "onChange" | "onFocus" | "onBlur" | "placeholder" | "autoFocus" | "name" | "key" | "action" | "property" | "target" | "onClick" | "onMouseEnter" | "onMouseLeave" | "selected" | "href" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "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" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "spellCheck" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "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" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "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" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "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" | "css"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
369
369
|
export declare const positionedOverEditorStyle: import("@emotion/react").SerializedStyles;
|
|
370
370
|
export declare const contentArea: import("@emotion/react").SerializedStyles;
|
|
371
371
|
export declare const sidebarArea: import("@emotion/react").SerializedStyles;
|
|
@@ -15,5 +15,5 @@ declare type Props = WithAnalyticsEventsProps & {
|
|
|
15
15
|
height: number;
|
|
16
16
|
};
|
|
17
17
|
};
|
|
18
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "title" | "
|
|
18
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "title" | "size" | "currentColor" | "onChange" | "key" | "placement" | "cols" | "analyticsContext" | "alignX" | "colorPalette"> & React.RefAttributes<any>>;
|
|
19
19
|
export default _default;
|
|
@@ -7,6 +7,6 @@ declare type ContentStylesProps = {
|
|
|
7
7
|
featureFlags?: FeatureFlags;
|
|
8
8
|
};
|
|
9
9
|
declare type Props = Omit<ContentStylesProps & React.HTMLProps<HTMLDivElement>, 'featureFlags'>;
|
|
10
|
-
export declare const createEditorContentStyle: (styles?: SerializedStyles | undefined) => React.ForwardRefExoticComponent<Pick<Props, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "aria-label" | "aria-haspopup" | "children" | "theme" | "pattern" | "value" | "type" | "onSubmit" | "width" | "color" | "height" | "
|
|
11
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "aria-label" | "aria-haspopup" | "children" | "theme" | "pattern" | "value" | "type" | "onSubmit" | "width" | "color" | "height" | "
|
|
10
|
+
export declare const createEditorContentStyle: (styles?: SerializedStyles | undefined) => React.ForwardRefExoticComponent<Pick<Props, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "aria-label" | "aria-haspopup" | "children" | "theme" | "pattern" | "value" | "type" | "onSubmit" | "width" | "color" | "height" | "start" | "hidden" | "size" | "wrap" | "open" | "multiple" | "disabled" | "accessKey" | "draggable" | "lang" | "className" | "id" | "prefix" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "defaultValue" | "onError" | "onChange" | "onFocus" | "onBlur" | "placeholder" | "autoFocus" | "name" | "key" | "action" | "property" | "target" | "onClick" | "onMouseEnter" | "onMouseLeave" | "selected" | "href" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "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" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "spellCheck" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "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" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "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" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "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" | "css"> & React.RefAttributes<HTMLDivElement>>;
|
|
11
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Props, "cite" | "data" | "dir" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "default" | "mediaGroup" | "media" | "content" | "aria-label" | "aria-haspopup" | "children" | "theme" | "pattern" | "value" | "type" | "onSubmit" | "width" | "color" | "height" | "start" | "hidden" | "size" | "wrap" | "open" | "multiple" | "disabled" | "accessKey" | "draggable" | "lang" | "className" | "id" | "prefix" | "contentEditable" | "inputMode" | "nonce" | "tabIndex" | "defaultValue" | "onError" | "onChange" | "onFocus" | "onBlur" | "placeholder" | "autoFocus" | "name" | "key" | "action" | "property" | "target" | "onClick" | "onMouseEnter" | "onMouseLeave" | "selected" | "href" | "accept" | "acceptCharset" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "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" | "headers" | "high" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "max" | "maxLength" | "method" | "min" | "minLength" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "required" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "step" | "useMap" | "wmode" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "contextMenu" | "spellCheck" | "is" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "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-hidden" | "aria-invalid" | "aria-keyshortcuts" | "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" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onErrorCapture" | "onKeyDown" | "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" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "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" | "css"> & React.RefAttributes<HTMLDivElement>>;
|
|
12
12
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "172.0.
|
|
3
|
+
"version": "172.0.3",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"@atlaskit/form": "^8.5.0",
|
|
52
52
|
"@atlaskit/icon": "^21.10.0",
|
|
53
53
|
"@atlaskit/icon-object": "^6.2.0",
|
|
54
|
-
"@atlaskit/link-picker": "^1.
|
|
54
|
+
"@atlaskit/link-picker": "^1.8.0",
|
|
55
55
|
"@atlaskit/locale": "^2.3.0",
|
|
56
56
|
"@atlaskit/logo": "^13.8.0",
|
|
57
57
|
"@atlaskit/media-card": "^74.1.0",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"@atlaskit/prosemirror-input-rules": "^2.1.0",
|
|
68
68
|
"@atlaskit/radio": "^5.3.0",
|
|
69
69
|
"@atlaskit/section-message": "^6.1.0",
|
|
70
|
-
"@atlaskit/select": "^15.
|
|
71
|
-
"@atlaskit/smart-card": "^21.
|
|
70
|
+
"@atlaskit/select": "^15.6.0",
|
|
71
|
+
"@atlaskit/smart-card": "^21.1.0",
|
|
72
72
|
"@atlaskit/smart-user-picker": "^6.0.0",
|
|
73
73
|
"@atlaskit/spinner": "^15.1.0",
|
|
74
74
|
"@atlaskit/status": "^1.1.0",
|
|
@@ -129,8 +129,8 @@
|
|
|
129
129
|
"w3c-keyname": "^2.1.0"
|
|
130
130
|
},
|
|
131
131
|
"peerDependencies": {
|
|
132
|
-
"@atlaskit/link-provider": "^1.
|
|
133
|
-
"@atlaskit/media-core": "^33.0.
|
|
132
|
+
"@atlaskit/link-provider": "^1.2.4",
|
|
133
|
+
"@atlaskit/media-core": "^33.0.2",
|
|
134
134
|
"react": "^16.8.0",
|
|
135
135
|
"react-dom": "^16.8.0",
|
|
136
136
|
"react-intl-next": "npm:react-intl@^5.18.1",
|
|
@@ -138,9 +138,9 @@
|
|
|
138
138
|
},
|
|
139
139
|
"devDependencies": {
|
|
140
140
|
"@atlaskit/atlassian-navigation": "^2.2.0",
|
|
141
|
-
"@atlaskit/breadcrumbs": "11.6.
|
|
141
|
+
"@atlaskit/breadcrumbs": "11.6.3",
|
|
142
142
|
"@atlaskit/code": "^14.3.0",
|
|
143
|
-
"@atlaskit/collab-provider": "7.5.
|
|
143
|
+
"@atlaskit/collab-provider": "7.5.1",
|
|
144
144
|
"@atlaskit/docs": "*",
|
|
145
145
|
"@atlaskit/drawer": "^7.1.0",
|
|
146
146
|
"@atlaskit/dropdown-menu": "^11.3.0",
|
|
@@ -172,8 +172,8 @@
|
|
|
172
172
|
"@atlaskit/visual-regression": "*",
|
|
173
173
|
"@atlaskit/webdriver-runner": "*",
|
|
174
174
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
175
|
-
"@atlassian/link-picker-atlassian-plugin": "^
|
|
176
|
-
"@atlassian/search-provider": "2.3.
|
|
175
|
+
"@atlassian/link-picker-atlassian-plugin": "^18.0.0",
|
|
176
|
+
"@atlassian/search-provider": "2.3.3",
|
|
177
177
|
"@atlassian/ufo": "^0.1.0",
|
|
178
178
|
"@emotion/jest": "^11.8.0",
|
|
179
179
|
"@testing-library/dom": "^7.7.3",
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
"rison": "^0.1.1",
|
|
207
207
|
"sinon": "^2.2.0",
|
|
208
208
|
"styled-components": "^3.2.6",
|
|
209
|
-
"typescript": "4.
|
|
209
|
+
"typescript": "4.3.5",
|
|
210
210
|
"url-search-params": "^0.10.0",
|
|
211
211
|
"worker-plugin": "^4.0.2"
|
|
212
212
|
},
|