@atlaskit/editor-common 78.30.1 → 78.31.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 +18 -0
- package/dist/cjs/expand/index.js +8 -2
- package/dist/cjs/messages/table.js +10 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/expand/index.js +7 -1
- package/dist/es2019/messages/table.js +10 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/expand/index.js +7 -1
- package/dist/esm/messages/table.js +10 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/element-browser/components/ElementSearch.d.ts +0 -2
- package/dist/types/element-browser/components/StatelessElementBrowser.d.ts +15 -1
- package/dist/types/expand/index.d.ts +1 -0
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
- package/dist/types/messages/table.d.ts +10 -0
- package/dist/types/ui-menu/ColorPickerButton/index.d.ts +15 -16
- package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +0 -2
- package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +15 -1
- package/dist/types-ts4.5/expand/index.d.ts +1 -0
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +1 -1
- package/dist/types-ts4.5/messages/table.d.ts +10 -0
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +15 -16
- package/package.json +11 -11
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,23 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 78.31.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#91934](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/91934) [`b76a78c6a199`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b76a78c6a199) - bumped editor-prosemirror version to 4.0.0
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
13
|
+
## 78.30.2
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- [#90659](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/90659) [`fc633861cff4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/fc633861cff4) - [ux] Adds lock button on table floating toolbar
|
|
18
|
+
- [#92426](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/92426) [`32c76c7c225c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/32c76c7c225c) - Bump adf-schema to 35.9.2 to support table alignment options
|
|
19
|
+
- Updated dependencies
|
|
20
|
+
|
|
3
21
|
## 78.30.1
|
|
4
22
|
|
|
5
23
|
### Patch Changes
|
package/dist/cjs/expand/index.js
CHANGED
|
@@ -3,6 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.expandedState = void 0;
|
|
6
|
+
exports.isExpandCollapsed = exports.expandedState = void 0;
|
|
7
7
|
// Used to store the state of the new single player expand node
|
|
8
|
-
var expandedState = exports.expandedState = new WeakMap();
|
|
8
|
+
var expandedState = exports.expandedState = new WeakMap();
|
|
9
|
+
|
|
10
|
+
// used to determine if the expand is expanded or collapsed
|
|
11
|
+
var isExpandCollapsed = exports.isExpandCollapsed = function isExpandCollapsed(node) {
|
|
12
|
+
var _expandedState$get;
|
|
13
|
+
return (_expandedState$get = !expandedState.get(node)) !== null && _expandedState$get !== void 0 ? _expandedState$get : false;
|
|
14
|
+
};
|
|
@@ -221,6 +221,16 @@ var messages = exports.messages = (0, _reactIntlNext.defineMessages)({
|
|
|
221
221
|
defaultMessage: "Distribute columns",
|
|
222
222
|
description: "Distribute widths between selected columns"
|
|
223
223
|
},
|
|
224
|
+
lockColumnWidths: {
|
|
225
|
+
id: 'fabric.editor.lockColumns',
|
|
226
|
+
defaultMessage: 'Fixed column widths',
|
|
227
|
+
description: 'Toggle button to enable fixed column widths'
|
|
228
|
+
},
|
|
229
|
+
unlockColumnWidths: {
|
|
230
|
+
id: 'fabric.editor.unLockColumns',
|
|
231
|
+
defaultMessage: 'Variable column widths',
|
|
232
|
+
description: 'Toggle button to enable variable column widths'
|
|
233
|
+
},
|
|
224
234
|
rowControl: {
|
|
225
235
|
id: 'fabric.editor.rowControl',
|
|
226
236
|
defaultMessage: 'Highlight row',
|
|
@@ -16,7 +16,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
16
16
|
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "78.
|
|
19
|
+
var packageVersion = "78.31.0";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -20,7 +20,7 @@ var _Layer = _interopRequireDefault(require("../Layer"));
|
|
|
20
20
|
function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
|
|
21
21
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /** @jsx jsx */
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "78.
|
|
23
|
+
var packageVersion = "78.31.0";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
// Used to store the state of the new single player expand node
|
|
2
|
-
export const expandedState = new WeakMap();
|
|
2
|
+
export const expandedState = new WeakMap();
|
|
3
|
+
|
|
4
|
+
// used to determine if the expand is expanded or collapsed
|
|
5
|
+
export const isExpandCollapsed = node => {
|
|
6
|
+
var _expandedState$get;
|
|
7
|
+
return (_expandedState$get = !expandedState.get(node)) !== null && _expandedState$get !== void 0 ? _expandedState$get : false;
|
|
8
|
+
};
|
|
@@ -215,6 +215,16 @@ export const messages = defineMessages({
|
|
|
215
215
|
defaultMessage: `Distribute columns`,
|
|
216
216
|
description: `Distribute widths between selected columns`
|
|
217
217
|
},
|
|
218
|
+
lockColumnWidths: {
|
|
219
|
+
id: 'fabric.editor.lockColumns',
|
|
220
|
+
defaultMessage: 'Fixed column widths',
|
|
221
|
+
description: 'Toggle button to enable fixed column widths'
|
|
222
|
+
},
|
|
223
|
+
unlockColumnWidths: {
|
|
224
|
+
id: 'fabric.editor.unLockColumns',
|
|
225
|
+
defaultMessage: 'Variable column widths',
|
|
226
|
+
description: 'Toggle button to enable variable column widths'
|
|
227
|
+
},
|
|
218
228
|
rowControl: {
|
|
219
229
|
id: 'fabric.editor.rowControl',
|
|
220
230
|
defaultMessage: 'Highlight row',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
2
2
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
3
|
-
const packageVersion = "78.
|
|
3
|
+
const packageVersion = "78.31.0";
|
|
4
4
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
5
5
|
// Remove URL as it has UGC
|
|
6
6
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -7,7 +7,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
7
7
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
8
8
|
import Layer from '../Layer';
|
|
9
9
|
const packageName = "@atlaskit/editor-common";
|
|
10
|
-
const packageVersion = "78.
|
|
10
|
+
const packageVersion = "78.31.0";
|
|
11
11
|
const halfFocusRing = 1;
|
|
12
12
|
const dropOffset = '0, 8';
|
|
13
13
|
class DropList extends Component {
|
package/dist/esm/expand/index.js
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
1
|
// Used to store the state of the new single player expand node
|
|
2
|
-
export var expandedState = new WeakMap();
|
|
2
|
+
export var expandedState = new WeakMap();
|
|
3
|
+
|
|
4
|
+
// used to determine if the expand is expanded or collapsed
|
|
5
|
+
export var isExpandCollapsed = function isExpandCollapsed(node) {
|
|
6
|
+
var _expandedState$get;
|
|
7
|
+
return (_expandedState$get = !expandedState.get(node)) !== null && _expandedState$get !== void 0 ? _expandedState$get : false;
|
|
8
|
+
};
|
|
@@ -215,6 +215,16 @@ export var messages = defineMessages({
|
|
|
215
215
|
defaultMessage: "Distribute columns",
|
|
216
216
|
description: "Distribute widths between selected columns"
|
|
217
217
|
},
|
|
218
|
+
lockColumnWidths: {
|
|
219
|
+
id: 'fabric.editor.lockColumns',
|
|
220
|
+
defaultMessage: 'Fixed column widths',
|
|
221
|
+
description: 'Toggle button to enable fixed column widths'
|
|
222
|
+
},
|
|
223
|
+
unlockColumnWidths: {
|
|
224
|
+
id: 'fabric.editor.unLockColumns',
|
|
225
|
+
defaultMessage: 'Variable column widths',
|
|
226
|
+
description: 'Toggle button to enable variable column widths'
|
|
227
|
+
},
|
|
218
228
|
rowControl: {
|
|
219
229
|
id: 'fabric.editor.rowControl',
|
|
220
230
|
defaultMessage: 'Highlight row',
|
|
@@ -6,7 +6,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
6
6
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
7
7
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
8
8
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
9
|
-
var packageVersion = "78.
|
|
9
|
+
var packageVersion = "78.31.0";
|
|
10
10
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
11
11
|
// Remove URL as it has UGC
|
|
12
12
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -15,7 +15,7 @@ import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@
|
|
|
15
15
|
import { N0, N50A, N60A, N900 } from '@atlaskit/theme/colors';
|
|
16
16
|
import Layer from '../Layer';
|
|
17
17
|
var packageName = "@atlaskit/editor-common";
|
|
18
|
-
var packageVersion = "78.
|
|
18
|
+
var packageVersion = "78.31.0";
|
|
19
19
|
var halfFocusRing = 1;
|
|
20
20
|
var dropOffset = '0, 8';
|
|
21
21
|
var DropList = /*#__PURE__*/function (_Component) {
|
|
@@ -15,7 +15,5 @@ interface Props {
|
|
|
15
15
|
}
|
|
16
16
|
declare const MemoizedElementSearchWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & WrappedComponentProps, "intl"> & {
|
|
17
17
|
forwardedRef?: React.Ref<any> | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
children?: React.ReactNode;
|
|
20
18
|
} & import("@atlaskit/analytics-next").WithContextProps & React.RefAttributes<any>>>;
|
|
21
19
|
export default MemoizedElementSearchWithAnalytics;
|
|
@@ -19,5 +19,19 @@ export type StatelessElementBrowserProps = {
|
|
|
19
19
|
emptyStateHandler?: EmptyStateHandler;
|
|
20
20
|
viewMoreItem?: QuickInsertItem;
|
|
21
21
|
} & WithAnalyticsEventsProps;
|
|
22
|
-
declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<Omit<
|
|
22
|
+
declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<Omit<{
|
|
23
|
+
categories?: Category[] | undefined;
|
|
24
|
+
items: QuickInsertItem[];
|
|
25
|
+
onSearch: (searchTerm: string) => void;
|
|
26
|
+
onSelectCategory: (category: Category) => void;
|
|
27
|
+
onSelectItem?: ((item: QuickInsertItem) => void) | undefined;
|
|
28
|
+
onInsertItem: (item: QuickInsertItem) => void;
|
|
29
|
+
selectedCategory?: string | undefined;
|
|
30
|
+
showSearch: boolean;
|
|
31
|
+
showCategories: boolean;
|
|
32
|
+
mode: keyof typeof Modes;
|
|
33
|
+
searchTerm?: string | undefined;
|
|
34
|
+
emptyStateHandler?: EmptyStateHandler | undefined;
|
|
35
|
+
viewMoreItem?: QuickInsertItem | undefined;
|
|
36
|
+
} & WithAnalyticsEventsProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "mode" | "analyticsContext" | "categories" | "onSelectCategory" | "selectedCategory" | "items" | "emptyStateHandler" | "searchTerm" | "onInsertItem" | "onSearch" | "onSelectItem" | "viewMoreItem" | "showCategories" | "showSearch"> & React.RefAttributes<any>>>;
|
|
23
37
|
export default MemoizedElementBrowser;
|
|
@@ -115,5 +115,5 @@ export declare class HyperlinkLinkAddToolbar extends PureComponent<Props, State>
|
|
|
115
115
|
export declare const HyperlinkLinkAddToolbarWithIntl: React.FC<import("react-intl-next").WithIntlProps<HyperlinkLinkAddToolbarProps>> & {
|
|
116
116
|
WrappedComponent: React.ComponentType<HyperlinkLinkAddToolbarProps>;
|
|
117
117
|
};
|
|
118
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<
|
|
118
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl-next").WithIntlProps<HyperlinkLinkAddToolbarProps>, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
119
119
|
export default _default;
|
|
@@ -214,6 +214,16 @@ export declare const messages: {
|
|
|
214
214
|
defaultMessage: string;
|
|
215
215
|
description: string;
|
|
216
216
|
};
|
|
217
|
+
lockColumnWidths: {
|
|
218
|
+
id: string;
|
|
219
|
+
defaultMessage: string;
|
|
220
|
+
description: string;
|
|
221
|
+
};
|
|
222
|
+
unlockColumnWidths: {
|
|
223
|
+
id: string;
|
|
224
|
+
defaultMessage: string;
|
|
225
|
+
description: string;
|
|
226
|
+
};
|
|
217
227
|
rowControl: {
|
|
218
228
|
id: string;
|
|
219
229
|
defaultMessage: string;
|
|
@@ -3,29 +3,28 @@ import React from 'react';
|
|
|
3
3
|
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
4
4
|
import type { PaletteColor, PaletteTooltipMessages } from '../../ui-color';
|
|
5
5
|
import type { Position as PopupPosition } from '../../ui/Popup/utils';
|
|
6
|
-
|
|
7
|
-
currentColor?: string;
|
|
8
|
-
title?: string;
|
|
9
|
-
isAriaExpanded?: boolean;
|
|
10
|
-
onChange?: (color: PaletteColor) => void;
|
|
6
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<WithAnalyticsEventsProps & {
|
|
7
|
+
currentColor?: string | undefined;
|
|
8
|
+
title?: string | undefined;
|
|
9
|
+
isAriaExpanded?: boolean | undefined;
|
|
10
|
+
onChange?: ((color: PaletteColor) => void) | undefined;
|
|
11
11
|
colorPalette: PaletteColor[];
|
|
12
12
|
placement: string;
|
|
13
|
-
cols?: number;
|
|
14
|
-
alignX?:
|
|
13
|
+
cols?: number | undefined;
|
|
14
|
+
alignX?: "left" | "right" | "center" | "end" | undefined;
|
|
15
15
|
size?: {
|
|
16
16
|
width: string;
|
|
17
17
|
height: string;
|
|
18
|
-
};
|
|
19
|
-
mountPoint?: HTMLElement;
|
|
20
|
-
setDisableParentScroll?: (disable: boolean) => void;
|
|
21
|
-
hexToPaletteColor?: (hexColor: string) => string | undefined;
|
|
22
|
-
paletteColorTooltipMessages?: PaletteTooltipMessages;
|
|
18
|
+
} | undefined;
|
|
19
|
+
mountPoint?: HTMLElement | undefined;
|
|
20
|
+
setDisableParentScroll?: ((disable: boolean) => void) | undefined;
|
|
21
|
+
hexToPaletteColor?: ((hexColor: string) => string | undefined) | undefined;
|
|
22
|
+
paletteColorTooltipMessages?: PaletteTooltipMessages | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* After picking the color the default behaviour is to focus the color picker button.
|
|
25
25
|
* To prevent this use skipFocusButtonAfterPick.
|
|
26
26
|
*/
|
|
27
|
-
skipFocusButtonAfterPick?: boolean;
|
|
28
|
-
absoluteOffset?: PopupPosition;
|
|
29
|
-
}
|
|
30
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "size" | "currentColor" | "onChange" | "title" | "key" | "placement" | "alignX" | "absoluteOffset" | "analyticsContext" | "cols" | "isAriaExpanded" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "colorPalette" | "mountPoint" | "setDisableParentScroll" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
|
|
27
|
+
skipFocusButtonAfterPick?: boolean | undefined;
|
|
28
|
+
absoluteOffset?: PopupPosition | undefined;
|
|
29
|
+
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "size" | "currentColor" | "onChange" | "title" | "key" | "placement" | "alignX" | "absoluteOffset" | "analyticsContext" | "cols" | "isAriaExpanded" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "colorPalette" | "mountPoint" | "setDisableParentScroll" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
|
|
31
30
|
export default _default;
|
|
@@ -15,7 +15,5 @@ interface Props {
|
|
|
15
15
|
}
|
|
16
16
|
declare const MemoizedElementSearchWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & WrappedComponentProps, "intl"> & {
|
|
17
17
|
forwardedRef?: React.Ref<any> | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
children?: React.ReactNode;
|
|
20
18
|
} & import("@atlaskit/analytics-next").WithContextProps & React.RefAttributes<any>>>;
|
|
21
19
|
export default MemoizedElementSearchWithAnalytics;
|
|
@@ -19,5 +19,19 @@ export type StatelessElementBrowserProps = {
|
|
|
19
19
|
emptyStateHandler?: EmptyStateHandler;
|
|
20
20
|
viewMoreItem?: QuickInsertItem;
|
|
21
21
|
} & WithAnalyticsEventsProps;
|
|
22
|
-
declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<Omit<
|
|
22
|
+
declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRefExoticComponent<Pick<Omit<{
|
|
23
|
+
categories?: Category[] | undefined;
|
|
24
|
+
items: QuickInsertItem[];
|
|
25
|
+
onSearch: (searchTerm: string) => void;
|
|
26
|
+
onSelectCategory: (category: Category) => void;
|
|
27
|
+
onSelectItem?: ((item: QuickInsertItem) => void) | undefined;
|
|
28
|
+
onInsertItem: (item: QuickInsertItem) => void;
|
|
29
|
+
selectedCategory?: string | undefined;
|
|
30
|
+
showSearch: boolean;
|
|
31
|
+
showCategories: boolean;
|
|
32
|
+
mode: keyof typeof Modes;
|
|
33
|
+
searchTerm?: string | undefined;
|
|
34
|
+
emptyStateHandler?: EmptyStateHandler | undefined;
|
|
35
|
+
viewMoreItem?: QuickInsertItem | undefined;
|
|
36
|
+
} & WithAnalyticsEventsProps, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "key" | "mode" | "analyticsContext" | "categories" | "onSelectCategory" | "selectedCategory" | "items" | "emptyStateHandler" | "searchTerm" | "onInsertItem" | "onSearch" | "onSelectItem" | "viewMoreItem" | "showCategories" | "showSearch"> & React.RefAttributes<any>>>;
|
|
23
37
|
export default MemoizedElementBrowser;
|
|
@@ -115,5 +115,5 @@ export declare class HyperlinkLinkAddToolbar extends PureComponent<Props, State>
|
|
|
115
115
|
export declare const HyperlinkLinkAddToolbarWithIntl: React.FC<import("react-intl-next").WithIntlProps<HyperlinkLinkAddToolbarProps>> & {
|
|
116
116
|
WrappedComponent: React.ComponentType<HyperlinkLinkAddToolbarProps>;
|
|
117
117
|
};
|
|
118
|
-
declare const _default: React.ForwardRefExoticComponent<Omit<
|
|
118
|
+
declare const _default: React.ForwardRefExoticComponent<Omit<import("react-intl-next").WithIntlProps<HyperlinkLinkAddToolbarProps>, keyof WithAnalyticsEventsProps> & React.RefAttributes<any>>;
|
|
119
119
|
export default _default;
|
|
@@ -214,6 +214,16 @@ export declare const messages: {
|
|
|
214
214
|
defaultMessage: string;
|
|
215
215
|
description: string;
|
|
216
216
|
};
|
|
217
|
+
lockColumnWidths: {
|
|
218
|
+
id: string;
|
|
219
|
+
defaultMessage: string;
|
|
220
|
+
description: string;
|
|
221
|
+
};
|
|
222
|
+
unlockColumnWidths: {
|
|
223
|
+
id: string;
|
|
224
|
+
defaultMessage: string;
|
|
225
|
+
description: string;
|
|
226
|
+
};
|
|
217
227
|
rowControl: {
|
|
218
228
|
id: string;
|
|
219
229
|
defaultMessage: string;
|
|
@@ -3,29 +3,28 @@ import React from 'react';
|
|
|
3
3
|
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
4
4
|
import type { PaletteColor, PaletteTooltipMessages } from '../../ui-color';
|
|
5
5
|
import type { Position as PopupPosition } from '../../ui/Popup/utils';
|
|
6
|
-
|
|
7
|
-
currentColor?: string;
|
|
8
|
-
title?: string;
|
|
9
|
-
isAriaExpanded?: boolean;
|
|
10
|
-
onChange?: (color: PaletteColor) => void;
|
|
6
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<WithAnalyticsEventsProps & {
|
|
7
|
+
currentColor?: string | undefined;
|
|
8
|
+
title?: string | undefined;
|
|
9
|
+
isAriaExpanded?: boolean | undefined;
|
|
10
|
+
onChange?: ((color: PaletteColor) => void) | undefined;
|
|
11
11
|
colorPalette: PaletteColor[];
|
|
12
12
|
placement: string;
|
|
13
|
-
cols?: number;
|
|
14
|
-
alignX?:
|
|
13
|
+
cols?: number | undefined;
|
|
14
|
+
alignX?: "left" | "right" | "center" | "end" | undefined;
|
|
15
15
|
size?: {
|
|
16
16
|
width: string;
|
|
17
17
|
height: string;
|
|
18
|
-
};
|
|
19
|
-
mountPoint?: HTMLElement;
|
|
20
|
-
setDisableParentScroll?: (disable: boolean) => void;
|
|
21
|
-
hexToPaletteColor?: (hexColor: string) => string | undefined;
|
|
22
|
-
paletteColorTooltipMessages?: PaletteTooltipMessages;
|
|
18
|
+
} | undefined;
|
|
19
|
+
mountPoint?: HTMLElement | undefined;
|
|
20
|
+
setDisableParentScroll?: ((disable: boolean) => void) | undefined;
|
|
21
|
+
hexToPaletteColor?: ((hexColor: string) => string | undefined) | undefined;
|
|
22
|
+
paletteColorTooltipMessages?: PaletteTooltipMessages | undefined;
|
|
23
23
|
/**
|
|
24
24
|
* After picking the color the default behaviour is to focus the color picker button.
|
|
25
25
|
* To prevent this use skipFocusButtonAfterPick.
|
|
26
26
|
*/
|
|
27
|
-
skipFocusButtonAfterPick?: boolean;
|
|
28
|
-
absoluteOffset?: PopupPosition;
|
|
29
|
-
}
|
|
30
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<Omit<Props, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "size" | "currentColor" | "onChange" | "title" | "key" | "placement" | "alignX" | "absoluteOffset" | "analyticsContext" | "cols" | "isAriaExpanded" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "colorPalette" | "mountPoint" | "setDisableParentScroll" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
|
|
27
|
+
skipFocusButtonAfterPick?: boolean | undefined;
|
|
28
|
+
absoluteOffset?: PopupPosition | undefined;
|
|
29
|
+
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<any> & import("@atlaskit/analytics-next").WithContextProps, "size" | "currentColor" | "onChange" | "title" | "key" | "placement" | "alignX" | "absoluteOffset" | "analyticsContext" | "cols" | "isAriaExpanded" | "hexToPaletteColor" | "paletteColorTooltipMessages" | "colorPalette" | "mountPoint" | "setDisableParentScroll" | "skipFocusButtonAfterPick"> & React.RefAttributes<any>>;
|
|
31
30
|
export default _default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "78.
|
|
3
|
+
"version": "78.31.0",
|
|
4
4
|
"description": "A package that contains common classes and components for editor and renderer",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -95,34 +95,34 @@
|
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
97
|
"@atlaskit/activity-provider": "^2.4.0",
|
|
98
|
-
"@atlaskit/adf-schema": "^35.9.
|
|
98
|
+
"@atlaskit/adf-schema": "^35.9.2",
|
|
99
99
|
"@atlaskit/adf-utils": "^19.0.0",
|
|
100
100
|
"@atlaskit/analytics-listeners": "^8.9.0",
|
|
101
101
|
"@atlaskit/analytics-namespaced-context": "^6.9.0",
|
|
102
|
-
"@atlaskit/analytics-next": "^9.
|
|
102
|
+
"@atlaskit/analytics-next": "^9.3.0",
|
|
103
103
|
"@atlaskit/analytics-next-stable-react-context": "1.0.1",
|
|
104
|
-
"@atlaskit/button": "^17.
|
|
104
|
+
"@atlaskit/button": "^17.14.0",
|
|
105
105
|
"@atlaskit/code": "^15.1.0",
|
|
106
106
|
"@atlaskit/codemod-utils": "^4.2.0",
|
|
107
|
-
"@atlaskit/custom-steps": "^0.0
|
|
108
|
-
"@atlaskit/editor-json-transformer": "^8.
|
|
107
|
+
"@atlaskit/custom-steps": "^0.1.0",
|
|
108
|
+
"@atlaskit/editor-json-transformer": "^8.11.0",
|
|
109
109
|
"@atlaskit/editor-palette": "1.5.3",
|
|
110
|
-
"@atlaskit/editor-prosemirror": "
|
|
110
|
+
"@atlaskit/editor-prosemirror": "4.0.0",
|
|
111
111
|
"@atlaskit/editor-shared-styles": "^2.9.0",
|
|
112
|
-
"@atlaskit/editor-tables": "^2.
|
|
112
|
+
"@atlaskit/editor-tables": "^2.7.0",
|
|
113
113
|
"@atlaskit/emoji": "^67.6.0",
|
|
114
114
|
"@atlaskit/icon": "^22.1.0",
|
|
115
115
|
"@atlaskit/icon-object": "^6.3.0",
|
|
116
116
|
"@atlaskit/in-product-testing": "^0.2.0",
|
|
117
|
-
"@atlaskit/link-datasource": "^1.
|
|
118
|
-
"@atlaskit/link-picker": "^1.
|
|
117
|
+
"@atlaskit/link-datasource": "^1.29.0",
|
|
118
|
+
"@atlaskit/link-picker": "^1.35.0",
|
|
119
119
|
"@atlaskit/media-card": "^77.11.0",
|
|
120
120
|
"@atlaskit/media-client": "^26.3.0",
|
|
121
121
|
"@atlaskit/media-client-react": "^2.0.0",
|
|
122
122
|
"@atlaskit/media-common": "^11.1.0",
|
|
123
123
|
"@atlaskit/media-file-preview": "^0.5.0",
|
|
124
124
|
"@atlaskit/media-picker": "^66.4.0",
|
|
125
|
-
"@atlaskit/media-ui": "^25.
|
|
125
|
+
"@atlaskit/media-ui": "^25.9.0",
|
|
126
126
|
"@atlaskit/media-viewer": "48.4.4",
|
|
127
127
|
"@atlaskit/mention": "^23.0.0",
|
|
128
128
|
"@atlaskit/menu": "^2.1.0",
|