@atlaskit/editor-common 111.16.4 → 111.16.6
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/element-browser/components/ElementSearch.js +1 -1
- package/dist/cjs/experiences/types.js +2 -2
- package/dist/cjs/messages/syncBlock.js +1 -1
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/toolbar/EditorToolbarUIProvider.js +0 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Messages/index.js +2 -2
- package/dist/es2019/element-browser/components/ElementSearch.js +1 -1
- package/dist/es2019/experiences/types.js +3 -3
- package/dist/es2019/messages/syncBlock.js +1 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/toolbar/EditorToolbarUIProvider.js +0 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Messages/index.js +2 -2
- package/dist/esm/element-browser/components/ElementSearch.js +1 -1
- package/dist/esm/experiences/types.js +3 -3
- package/dist/esm/messages/syncBlock.js +1 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/toolbar/EditorToolbarUIProvider.js +0 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Messages/index.js +2 -2
- package/dist/types/experiences/types.d.ts +1 -1
- package/dist/types/quick-insert/assets/index.d.ts +1 -1
- package/dist/types/utils/get-performance-options.d.ts +1 -1
- package/dist/types-ts4.5/experiences/types.d.ts +1 -1
- package/dist/types-ts4.5/quick-insert/assets/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-performance-options.d.ts +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -115,7 +115,7 @@ function ElementSearch(_ref) {
|
|
|
115
115
|
css: styledShortcut
|
|
116
116
|
}, "\u23CE ", formatMessage(_messages.default.elementAfterInputMessage))),
|
|
117
117
|
placeholder: formatMessage(_messages.default.placeHolderMessage),
|
|
118
|
-
"aria-label": (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? formatMessage(_messages.default.searchAriaLabel) :
|
|
118
|
+
"aria-label": (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? formatMessage(_messages.default.searchAriaLabel) : 'search',
|
|
119
119
|
"aria-labelledby": "search-assistive"
|
|
120
120
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
121
121
|
,
|
|
@@ -10,6 +10,6 @@ var _consts = require("./consts");
|
|
|
10
10
|
*/
|
|
11
11
|
|
|
12
12
|
/*
|
|
13
|
-
* ID for the the experience. These are broad experiences used for SLOs for all of editor, not at individual feature level.
|
|
14
|
-
*/
|
|
13
|
+
* ID for the the experience. These are broad experiences used for SLOs for all of editor, not at individual feature level.
|
|
14
|
+
*/
|
|
15
15
|
var EXPERIENCE_IDS = Object.values(_consts.EXPERIENCE_ID);
|
|
@@ -398,7 +398,7 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
|
|
|
398
398
|
},
|
|
399
399
|
inlineExtensionInSyncBlockDescription: {
|
|
400
400
|
id: 'fabric.editor.inlineExtensionInSyncBlockDescription',
|
|
401
|
-
defaultMessage:
|
|
401
|
+
defaultMessage: "This may happen if your synced block is used in places that don't support certain macros.",
|
|
402
402
|
description: 'Description in flag which appears when an inline extension is inserted into a synced block'
|
|
403
403
|
}
|
|
404
404
|
});
|
|
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
19
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "111.16.
|
|
22
|
+
var packageVersion = "111.16.5";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "111.16.
|
|
27
|
+
var packageVersion = "111.16.5";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -63,8 +63,8 @@ var ErrorMessage = exports.ErrorMessage = function ErrorMessage(_ref2) {
|
|
|
63
63
|
}, (0, _react.jsx)("span", {
|
|
64
64
|
css: iconWrapperStyle
|
|
65
65
|
}, (0, _react.jsx)(_statusError.default, {
|
|
66
|
-
label: (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? intl.formatMessage(_messages.default.error) :
|
|
67
|
-
"aria-label": (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? undefined :
|
|
66
|
+
label: (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? intl.formatMessage(_messages.default.error) : 'error',
|
|
67
|
+
"aria-label": (0, _platformFeatureFlags.fg)('platform_editor_dec_a11y_fixes') ? undefined : 'error'
|
|
68
68
|
})), children);
|
|
69
69
|
};
|
|
70
70
|
var ValidMessage = exports.ValidMessage = function ValidMessage(_ref3) {
|
|
@@ -107,7 +107,7 @@ function ElementSearch({
|
|
|
107
107
|
css: styledShortcut
|
|
108
108
|
}, "\u23CE ", formatMessage(commonMessages.elementAfterInputMessage))),
|
|
109
109
|
placeholder: formatMessage(commonMessages.placeHolderMessage),
|
|
110
|
-
"aria-label": fg('platform_editor_dec_a11y_fixes') ? formatMessage(commonMessages.searchAriaLabel) :
|
|
110
|
+
"aria-label": fg('platform_editor_dec_a11y_fixes') ? formatMessage(commonMessages.searchAriaLabel) : 'search',
|
|
111
111
|
"aria-labelledby": "search-assistive"
|
|
112
112
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
113
113
|
,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EXPERIENCE_ID } from
|
|
1
|
+
import { EXPERIENCE_ID } from './consts';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Allow any additional custom metadata to be attached to experience events.
|
|
@@ -9,6 +9,6 @@ import { EXPERIENCE_ID } from "./consts";
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/*
|
|
12
|
-
* ID for the the experience. These are broad experiences used for SLOs for all of editor, not at individual feature level.
|
|
13
|
-
*/
|
|
12
|
+
* ID for the the experience. These are broad experiences used for SLOs for all of editor, not at individual feature level.
|
|
13
|
+
*/
|
|
14
14
|
const EXPERIENCE_IDS = Object.values(EXPERIENCE_ID);
|
|
@@ -392,7 +392,7 @@ export const syncBlockMessages = defineMessages({
|
|
|
392
392
|
},
|
|
393
393
|
inlineExtensionInSyncBlockDescription: {
|
|
394
394
|
id: 'fabric.editor.inlineExtensionInSyncBlockDescription',
|
|
395
|
-
defaultMessage:
|
|
395
|
+
defaultMessage: "This may happen if your synced block is used in places that don't support certain macros.",
|
|
396
396
|
description: 'Description in flag which appears when an inline extension is inserted into a synced block'
|
|
397
397
|
}
|
|
398
398
|
});
|
|
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
|
|
|
4
4
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
5
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
6
6
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
7
|
-
const packageVersion = "111.16.
|
|
7
|
+
const packageVersion = "111.16.5";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "111.16.
|
|
17
|
+
const packageVersion = "111.16.5";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -52,8 +52,8 @@ export const ErrorMessage = ({
|
|
|
52
52
|
}, jsx("span", {
|
|
53
53
|
css: iconWrapperStyle
|
|
54
54
|
}, jsx(ErrorIcon, {
|
|
55
|
-
label: fg('platform_editor_dec_a11y_fixes') ? intl.formatMessage(commonMessages.error) :
|
|
56
|
-
"aria-label": fg('platform_editor_dec_a11y_fixes') ? undefined :
|
|
55
|
+
label: fg('platform_editor_dec_a11y_fixes') ? intl.formatMessage(commonMessages.error) : 'error',
|
|
56
|
+
"aria-label": fg('platform_editor_dec_a11y_fixes') ? undefined : 'error'
|
|
57
57
|
})), children);
|
|
58
58
|
};
|
|
59
59
|
export const ValidMessage = ({
|
|
@@ -105,7 +105,7 @@ function ElementSearch(_ref) {
|
|
|
105
105
|
css: styledShortcut
|
|
106
106
|
}, "\u23CE ", formatMessage(commonMessages.elementAfterInputMessage))),
|
|
107
107
|
placeholder: formatMessage(commonMessages.placeHolderMessage),
|
|
108
|
-
"aria-label": fg('platform_editor_dec_a11y_fixes') ? formatMessage(commonMessages.searchAriaLabel) :
|
|
108
|
+
"aria-label": fg('platform_editor_dec_a11y_fixes') ? formatMessage(commonMessages.searchAriaLabel) : 'search',
|
|
109
109
|
"aria-labelledby": "search-assistive"
|
|
110
110
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop -- Ignored via go/DSP-18766
|
|
111
111
|
,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EXPERIENCE_ID } from
|
|
1
|
+
import { EXPERIENCE_ID } from './consts';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* Allow any additional custom metadata to be attached to experience events.
|
|
@@ -9,6 +9,6 @@ import { EXPERIENCE_ID } from "./consts";
|
|
|
9
9
|
*/
|
|
10
10
|
|
|
11
11
|
/*
|
|
12
|
-
* ID for the the experience. These are broad experiences used for SLOs for all of editor, not at individual feature level.
|
|
13
|
-
*/
|
|
12
|
+
* ID for the the experience. These are broad experiences used for SLOs for all of editor, not at individual feature level.
|
|
13
|
+
*/
|
|
14
14
|
var EXPERIENCE_IDS = Object.values(EXPERIENCE_ID);
|
|
@@ -392,7 +392,7 @@ export var syncBlockMessages = defineMessages({
|
|
|
392
392
|
},
|
|
393
393
|
inlineExtensionInSyncBlockDescription: {
|
|
394
394
|
id: 'fabric.editor.inlineExtensionInSyncBlockDescription',
|
|
395
|
-
defaultMessage:
|
|
395
|
+
defaultMessage: "This may happen if your synced block is used in places that don't support certain macros.",
|
|
396
396
|
description: 'Description in flag which appears when an inline extension is inserted into a synced block'
|
|
397
397
|
}
|
|
398
398
|
});
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "111.16.
|
|
13
|
+
var packageVersion = "111.16.5";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "111.16.
|
|
24
|
+
var packageVersion = "111.16.5";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -55,8 +55,8 @@ export var ErrorMessage = function ErrorMessage(_ref2) {
|
|
|
55
55
|
}, jsx("span", {
|
|
56
56
|
css: iconWrapperStyle
|
|
57
57
|
}, jsx(ErrorIcon, {
|
|
58
|
-
label: fg('platform_editor_dec_a11y_fixes') ? intl.formatMessage(commonMessages.error) :
|
|
59
|
-
"aria-label": fg('platform_editor_dec_a11y_fixes') ? undefined :
|
|
58
|
+
label: fg('platform_editor_dec_a11y_fixes') ? intl.formatMessage(commonMessages.error) : 'error',
|
|
59
|
+
"aria-label": fg('platform_editor_dec_a11y_fixes') ? undefined : 'error'
|
|
60
60
|
})), children);
|
|
61
61
|
};
|
|
62
62
|
export var ValidMessage = function ValidMessage(_ref3) {
|
|
@@ -9,5 +9,5 @@ export type CustomExperienceMetadata = {
|
|
|
9
9
|
*/
|
|
10
10
|
export type ExperienceState = 'pending' | 'started' | 'aborted' | 'failed' | 'succeeded';
|
|
11
11
|
declare const EXPERIENCE_IDS: ("asyncOperation" | "menuAction" | "menuOpen" | "toolbarAction" | "toolbarOpen")[];
|
|
12
|
-
export type ExperienceId = typeof EXPERIENCE_IDS[number];
|
|
12
|
+
export type ExperienceId = (typeof EXPERIENCE_IDS)[number];
|
|
13
13
|
export {};
|
|
@@ -28,7 +28,7 @@ export declare const IconFiveColumnLayout: React.ComponentType<React.PropsWithCh
|
|
|
28
28
|
type HeadingProps = IconProps & {
|
|
29
29
|
level: HeadingLevels;
|
|
30
30
|
};
|
|
31
|
-
export declare const IconHeading: ({ level, label }: Pick<HeadingProps, "level" | "label">) => React.JSX.Element;
|
|
31
|
+
export declare const IconHeading: ({ level, label, }: Pick<HeadingProps, "level" | "label">) => React.JSX.Element;
|
|
32
32
|
export declare const IconFeedback: React.ComponentType<React.PropsWithChildren<IconProps>> & Loadable.LoadableComponent;
|
|
33
33
|
export declare const IconExpand: React.ComponentType<React.PropsWithChildren<IconProps>> & Loadable.LoadableComponent;
|
|
34
34
|
export declare const IconDatasourceJiraIssue: React.ComponentType<React.PropsWithChildren<IconProps>> & Loadable.LoadableComponent;
|
|
@@ -5,7 +5,7 @@ export declare function getPerformanceOptions(view: EditorView): {
|
|
|
5
5
|
slowThreshold: number;
|
|
6
6
|
trackingEnabled: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare function startMeasureReactNodeViewRendered({ nodeTypeName }: {
|
|
8
|
+
export declare function startMeasureReactNodeViewRendered({ nodeTypeName, }: {
|
|
9
9
|
nodeTypeName: string;
|
|
10
10
|
}): void;
|
|
11
11
|
export declare function stopMeasureReactNodeViewRendered({ nodeTypeName, dispatchAnalyticsEvent, samplingRate, slowThreshold, }: {
|
|
@@ -9,5 +9,5 @@ export type CustomExperienceMetadata = {
|
|
|
9
9
|
*/
|
|
10
10
|
export type ExperienceState = 'pending' | 'started' | 'aborted' | 'failed' | 'succeeded';
|
|
11
11
|
declare const EXPERIENCE_IDS: ("asyncOperation" | "menuAction" | "menuOpen" | "toolbarAction" | "toolbarOpen")[];
|
|
12
|
-
export type ExperienceId = typeof EXPERIENCE_IDS[number];
|
|
12
|
+
export type ExperienceId = (typeof EXPERIENCE_IDS)[number];
|
|
13
13
|
export {};
|
|
@@ -28,7 +28,7 @@ export declare const IconFiveColumnLayout: React.ComponentType<React.PropsWithCh
|
|
|
28
28
|
type HeadingProps = IconProps & {
|
|
29
29
|
level: HeadingLevels;
|
|
30
30
|
};
|
|
31
|
-
export declare const IconHeading: ({ level, label }: Pick<HeadingProps, "level" | "label">) => React.JSX.Element;
|
|
31
|
+
export declare const IconHeading: ({ level, label, }: Pick<HeadingProps, "level" | "label">) => React.JSX.Element;
|
|
32
32
|
export declare const IconFeedback: React.ComponentType<React.PropsWithChildren<IconProps>> & Loadable.LoadableComponent;
|
|
33
33
|
export declare const IconExpand: React.ComponentType<React.PropsWithChildren<IconProps>> & Loadable.LoadableComponent;
|
|
34
34
|
export declare const IconDatasourceJiraIssue: React.ComponentType<React.PropsWithChildren<IconProps>> & Loadable.LoadableComponent;
|
|
@@ -5,7 +5,7 @@ export declare function getPerformanceOptions(view: EditorView): {
|
|
|
5
5
|
slowThreshold: number;
|
|
6
6
|
trackingEnabled: boolean;
|
|
7
7
|
};
|
|
8
|
-
export declare function startMeasureReactNodeViewRendered({ nodeTypeName }: {
|
|
8
|
+
export declare function startMeasureReactNodeViewRendered({ nodeTypeName, }: {
|
|
9
9
|
nodeTypeName: string;
|
|
10
10
|
}): void;
|
|
11
11
|
export declare function stopMeasureReactNodeViewRendered({ nodeTypeName, dispatchAnalyticsEvent, samplingRate, slowThreshold, }: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "111.16.
|
|
3
|
+
"version": "111.16.6",
|
|
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/"
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/task-decision": "^19.2.0",
|
|
82
82
|
"@atlaskit/textfield": "^8.2.0",
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
84
|
+
"@atlaskit/tmp-editor-statsig": "^29.0.0",
|
|
85
85
|
"@atlaskit/tokens": "^11.0.0",
|
|
86
86
|
"@atlaskit/tooltip": "^20.14.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|