@atlaskit/editor-core 185.9.0 → 185.9.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/dist/cjs/editor-next/index.js +5 -1
- package/dist/cjs/version-wrapper.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/editor-next/index.js +6 -2
- package/dist/es2019/version-wrapper.js +1 -1
- package/dist/es2019/version.json +1 -1
- package/dist/esm/editor-next/index.js +6 -2
- package/dist/esm/version-wrapper.js +1 -1
- package/dist/esm/version.json +1 -1
- package/dist/types/editor-next/index.d.ts +5 -1
- package/dist/types/types/editor-props.d.ts +1 -1
- package/dist/types-ts4.5/editor-next/index.d.ts +5 -1
- package/dist/types-ts4.5/types/editor-props.d.ts +1 -1
- package/package.json +3 -3
- package/report.api.md +6 -4
- package/tmp/api-report-tmp.d.ts +6 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @atlaskit/editor-core
|
|
2
2
|
|
|
3
|
+
## 185.9.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`42e5defb430`](https://bitbucket.org/atlassian/atlassian-frontend/commits/42e5defb430) - Fix typing of internal EditorNext react component.
|
|
8
|
+
|
|
9
|
+
## 185.9.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
3
15
|
## 185.9.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
|
@@ -138,7 +138,11 @@ var EditorNext = /*#__PURE__*/function (_React$Component) {
|
|
|
138
138
|
return EditorNext;
|
|
139
139
|
}(_react2.default.Component);
|
|
140
140
|
exports.default = EditorNext;
|
|
141
|
-
(0, _defineProperty2.default)(EditorNext, "defaultProps",
|
|
141
|
+
(0, _defineProperty2.default)(EditorNext, "defaultProps", {
|
|
142
|
+
appearance: 'comment',
|
|
143
|
+
disabled: false,
|
|
144
|
+
quickInsert: true
|
|
145
|
+
});
|
|
142
146
|
(0, _defineProperty2.default)(EditorNext, "contextTypes", {
|
|
143
147
|
editorActions: _propTypes.default.object
|
|
144
148
|
});
|
|
@@ -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 = "185.9.
|
|
9
|
+
var version = "185.9.2";
|
|
10
10
|
exports.version = version;
|
|
11
11
|
var nextMajorVersion = function nextMajorVersion() {
|
|
12
12
|
return [Number(version.split('.')[0]) + 1, 0, 0].join('.');
|
package/dist/cjs/version.json
CHANGED
|
@@ -13,7 +13,7 @@ import React from 'react';
|
|
|
13
13
|
import EditorActions from '../actions';
|
|
14
14
|
import { fireAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
15
15
|
import EditorInternal from './editor-internal';
|
|
16
|
-
import {
|
|
16
|
+
import { propTypes } from './utils/editorPropTypes';
|
|
17
17
|
import trackEditorActions from './utils/trackEditorActions';
|
|
18
18
|
import onEditorCreated from './utils/onEditorCreated';
|
|
19
19
|
import deprecationWarnings from './utils/deprecationWarnings';
|
|
@@ -91,7 +91,11 @@ export default class EditorNext extends React.Component {
|
|
|
91
91
|
);
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
_defineProperty(EditorNext, "defaultProps",
|
|
94
|
+
_defineProperty(EditorNext, "defaultProps", {
|
|
95
|
+
appearance: 'comment',
|
|
96
|
+
disabled: false,
|
|
97
|
+
quickInsert: true
|
|
98
|
+
});
|
|
95
99
|
_defineProperty(EditorNext, "contextTypes", {
|
|
96
100
|
editorActions: PropTypes.object
|
|
97
101
|
});
|
package/dist/es2019/version.json
CHANGED
|
@@ -23,7 +23,7 @@ import React from 'react';
|
|
|
23
23
|
import EditorActions from '../actions';
|
|
24
24
|
import { fireAnalyticsEvent } from '@atlaskit/editor-common/analytics';
|
|
25
25
|
import EditorInternal from './editor-internal';
|
|
26
|
-
import {
|
|
26
|
+
import { propTypes } from './utils/editorPropTypes';
|
|
27
27
|
import trackEditorActions from './utils/trackEditorActions';
|
|
28
28
|
import _onEditorCreated from './utils/onEditorCreated';
|
|
29
29
|
import deprecationWarnings from './utils/deprecationWarnings';
|
|
@@ -134,7 +134,11 @@ var EditorNext = /*#__PURE__*/function (_React$Component) {
|
|
|
134
134
|
}]);
|
|
135
135
|
return EditorNext;
|
|
136
136
|
}(React.Component);
|
|
137
|
-
_defineProperty(EditorNext, "defaultProps",
|
|
137
|
+
_defineProperty(EditorNext, "defaultProps", {
|
|
138
|
+
appearance: 'comment',
|
|
139
|
+
disabled: false,
|
|
140
|
+
quickInsert: true
|
|
141
|
+
});
|
|
138
142
|
_defineProperty(EditorNext, "contextTypes", {
|
|
139
143
|
editorActions: PropTypes.object
|
|
140
144
|
});
|
package/dist/esm/version.json
CHANGED
|
@@ -4,7 +4,11 @@ import React from 'react';
|
|
|
4
4
|
import { EditorNextProps } from '../types/editor-props';
|
|
5
5
|
import { Context } from './utils/editorPropTypes';
|
|
6
6
|
export default class EditorNext extends React.Component<EditorNextProps> {
|
|
7
|
-
static defaultProps:
|
|
7
|
+
static defaultProps: {
|
|
8
|
+
appearance: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
quickInsert: boolean;
|
|
11
|
+
};
|
|
8
12
|
static contextTypes: {
|
|
9
13
|
editorActions: PropTypes.Requireable<object>;
|
|
10
14
|
};
|
|
@@ -54,7 +54,7 @@ export type PrimaryToolbarComponents = BeforeAndAfterToolbarComponents | ReactCo
|
|
|
54
54
|
export type UseStickyToolbarType = boolean | RefObject<HTMLElement> | {
|
|
55
55
|
offsetTop: number;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
interface EditorBaseProps {
|
|
58
58
|
appearance?: EditorAppearance;
|
|
59
59
|
contentComponents?: ReactComponents;
|
|
60
60
|
primaryToolbarIconBefore?: ReactElement;
|
|
@@ -4,7 +4,11 @@ import React from 'react';
|
|
|
4
4
|
import { EditorNextProps } from '../types/editor-props';
|
|
5
5
|
import { Context } from './utils/editorPropTypes';
|
|
6
6
|
export default class EditorNext extends React.Component<EditorNextProps> {
|
|
7
|
-
static defaultProps:
|
|
7
|
+
static defaultProps: {
|
|
8
|
+
appearance: string;
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
quickInsert: boolean;
|
|
11
|
+
};
|
|
8
12
|
static contextTypes: {
|
|
9
13
|
editorActions: PropTypes.Requireable<object>;
|
|
10
14
|
};
|
|
@@ -54,7 +54,7 @@ export type PrimaryToolbarComponents = BeforeAndAfterToolbarComponents | ReactCo
|
|
|
54
54
|
export type UseStickyToolbarType = boolean | RefObject<HTMLElement> | {
|
|
55
55
|
offsetTop: number;
|
|
56
56
|
};
|
|
57
|
-
|
|
57
|
+
interface EditorBaseProps {
|
|
58
58
|
appearance?: EditorAppearance;
|
|
59
59
|
contentComponents?: ReactComponents;
|
|
60
60
|
primaryToolbarIconBefore?: ReactElement;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-core",
|
|
3
|
-
"version": "185.9.
|
|
3
|
+
"version": "185.9.2",
|
|
4
4
|
"description": "A package contains Atlassian editor core functionality",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"@atlaskit/editor-plugin-feature-flags": "^0.1.0",
|
|
61
61
|
"@atlaskit/editor-plugin-floating-toolbar": "^0.2.0",
|
|
62
62
|
"@atlaskit/editor-plugin-grid": "^0.1.0",
|
|
63
|
-
"@atlaskit/editor-plugin-table": "^
|
|
63
|
+
"@atlaskit/editor-plugin-table": "^2.0.0",
|
|
64
64
|
"@atlaskit/editor-plugin-width": "^0.1.0",
|
|
65
65
|
"@atlaskit/editor-shared-styles": "^2.4.0",
|
|
66
66
|
"@atlaskit/editor-tables": "^2.3.0",
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
"@atlaskit/collab-provider": "9.5.2",
|
|
146
146
|
"@atlaskit/dropdown-menu": "^11.10.0",
|
|
147
147
|
"@atlaskit/editor-extension-dropbox": "^0.4.0",
|
|
148
|
-
"@atlaskit/editor-plugin-table": "^
|
|
148
|
+
"@atlaskit/editor-plugin-table": "^2.0.0",
|
|
149
149
|
"@atlaskit/editor-test-helpers": "^18.9.0",
|
|
150
150
|
"@atlaskit/flag": "^15.2.0",
|
|
151
151
|
"@atlaskit/link-provider": "^1.6.0",
|
package/report.api.md
CHANGED
|
@@ -653,9 +653,7 @@ export class EditorActions<T = any> implements EditorActionsOptions<T> {
|
|
|
653
653
|
}
|
|
654
654
|
|
|
655
655
|
// @public (undocumented)
|
|
656
|
-
interface EditorBaseProps
|
|
657
|
-
extends EditorPluginFeatureProps,
|
|
658
|
-
EditorProviderProps {
|
|
656
|
+
interface EditorBaseProps {
|
|
659
657
|
// (undocumented)
|
|
660
658
|
appearance?: EditorAppearance;
|
|
661
659
|
// (undocumented)
|
|
@@ -816,7 +814,11 @@ class EditorNext extends React_2.Component<EditorNextProps> {
|
|
|
816
814
|
editorActions: PropTypes.Requireable<object>;
|
|
817
815
|
};
|
|
818
816
|
// (undocumented)
|
|
819
|
-
static defaultProps:
|
|
817
|
+
static defaultProps: {
|
|
818
|
+
appearance: string;
|
|
819
|
+
disabled: boolean;
|
|
820
|
+
quickInsert: boolean;
|
|
821
|
+
};
|
|
820
822
|
// (undocumented)
|
|
821
823
|
static propTypes: {
|
|
822
824
|
preset: ({ preset }: Pick<EditorNextProps, 'preset'>) => Error | null;
|
package/tmp/api-report-tmp.d.ts
CHANGED
|
@@ -592,7 +592,7 @@ export class EditorActions<T = any> implements EditorActionsOptions<T> {
|
|
|
592
592
|
}
|
|
593
593
|
|
|
594
594
|
// @public (undocumented)
|
|
595
|
-
interface EditorBaseProps
|
|
595
|
+
interface EditorBaseProps {
|
|
596
596
|
// (undocumented)
|
|
597
597
|
appearance?: EditorAppearance;
|
|
598
598
|
// (undocumented)
|
|
@@ -748,7 +748,11 @@ class EditorNext extends React_2.Component<EditorNextProps> {
|
|
|
748
748
|
editorActions: PropTypes.Requireable<object>;
|
|
749
749
|
};
|
|
750
750
|
// (undocumented)
|
|
751
|
-
static defaultProps:
|
|
751
|
+
static defaultProps: {
|
|
752
|
+
appearance: string;
|
|
753
|
+
disabled: boolean;
|
|
754
|
+
quickInsert: boolean;
|
|
755
|
+
};
|
|
752
756
|
// (undocumented)
|
|
753
757
|
static propTypes: {
|
|
754
758
|
preset: ({ preset }: Pick<EditorNextProps, 'preset'>) => Error | null;
|