@atlaskit/editor-common 98.1.1 → 98.2.1
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 +14 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +1 -0
- package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +1 -0
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
- package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +1 -1
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +2 -0
- package/dist/cjs/link/LinkSearch/ToolbarComponents.js +2 -0
- package/dist/cjs/media-single/ExternalImageBadge.js +1 -0
- package/dist/cjs/media-single/MediaBadges.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/sharedStyles.js +1 -1
- package/dist/cjs/ui/Messages/index.js +1 -0
- package/dist/cjs/ui/PanelTextInput/styles.js +1 -0
- package/dist/cjs/utils/processRawValue.js +14 -0
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +1 -0
- package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +1 -0
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
- package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +1 -1
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +2 -0
- package/dist/es2019/link/LinkSearch/ToolbarComponents.js +2 -0
- package/dist/es2019/media-single/ExternalImageBadge.js +1 -0
- package/dist/es2019/media-single/MediaBadges.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/sharedStyles.js +1 -1
- package/dist/es2019/ui/Messages/index.js +1 -0
- package/dist/es2019/ui/PanelTextInput/styles.js +1 -0
- package/dist/es2019/utils/processRawValue.js +14 -0
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/element-browser/components/ElementList/ElementList.js +1 -0
- package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +1 -0
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -0
- package/dist/esm/extensibility/MultiBodiedExtension/styles.js +1 -1
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +2 -0
- package/dist/esm/link/LinkSearch/ToolbarComponents.js +2 -0
- package/dist/esm/media-single/ExternalImageBadge.js +1 -0
- package/dist/esm/media-single/MediaBadges.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/sharedStyles.js +1 -1
- package/dist/esm/ui/Messages/index.js +1 -0
- package/dist/esm/ui/PanelTextInput/styles.js +1 -0
- package/dist/esm/utils/processRawValue.js +14 -0
- package/dist/types/analytics/types/enums.d.ts +2 -1
- package/dist/types/analytics/types/general-events.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/general-events.d.ts +2 -1
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 98.2.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 98.2.0
|
|
10
|
+
|
|
11
|
+
### Minor Changes
|
|
12
|
+
|
|
13
|
+
- [#97900](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/97900)
|
|
14
|
+
[`d8aae6bd3d5da`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d8aae6bd3d5da) -
|
|
15
|
+
ED-26019 add single column layout detection analytics
|
|
16
|
+
|
|
3
17
|
## 98.1.1
|
|
4
18
|
|
|
5
19
|
### Patch Changes
|
|
@@ -155,6 +155,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
155
155
|
ACTION["TOGGLE_CODE_BLOCK_WRAP"] = "toggleCodeBlockWrap";
|
|
156
156
|
ACTION["RESIZED"] = "resized";
|
|
157
157
|
ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
|
|
158
|
+
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
158
159
|
return ACTION;
|
|
159
160
|
}({});
|
|
160
161
|
var INPUT_METHOD = exports.INPUT_METHOD = /*#__PURE__*/function (INPUT_METHOD) {
|
|
@@ -700,6 +700,7 @@ var itemBody = (0, _react2.css)({
|
|
|
700
700
|
flexDirection: 'row',
|
|
701
701
|
flexWrap: 'nowrap',
|
|
702
702
|
justifyContent: 'space-between',
|
|
703
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
703
704
|
lineHeight: 1.4,
|
|
704
705
|
width: '100%',
|
|
705
706
|
marginTop: "var(--ds-space-negative-025, -2px)"
|
|
@@ -20,6 +20,7 @@ var _primitives = require("@atlaskit/primitives");
|
|
|
20
20
|
|
|
21
21
|
var buttonContainerStyles = (0, _react2.css)({
|
|
22
22
|
opacity: 0,
|
|
23
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
23
24
|
lineHeight: 1,
|
|
24
25
|
position: 'absolute',
|
|
25
26
|
width: 'max-content',
|
|
@@ -24,7 +24,7 @@ var mbeExtensionWrapperCSSStyles = exports.mbeExtensionWrapperCSSStyles = (0, _r
|
|
|
24
24
|
'.extension-title': {
|
|
25
25
|
display: 'flex',
|
|
26
26
|
alignItems: 'center',
|
|
27
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
27
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
28
28
|
lineHeight: '16px !important',
|
|
29
29
|
marginBottom: "var(--ds-space-100, 8px)",
|
|
30
30
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
@@ -50,12 +50,14 @@ var nameStyle = exports.nameStyle = (0, _react2.css)({
|
|
|
50
50
|
overflow: 'hidden',
|
|
51
51
|
textOverflow: 'ellipsis',
|
|
52
52
|
whiteSpace: 'nowrap',
|
|
53
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
53
54
|
lineHeight: '20px'
|
|
54
55
|
});
|
|
55
56
|
|
|
56
57
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
57
58
|
var containerName = exports.containerName = (0, _react2.css)({
|
|
58
59
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
60
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
59
61
|
lineHeight: '14px',
|
|
60
62
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
61
63
|
fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(11)
|
|
@@ -11,6 +11,7 @@ var _ui = require("../../ui");
|
|
|
11
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
12
12
|
var inputWrapper = exports.inputWrapper = (0, _react.css)({
|
|
13
13
|
display: 'flex',
|
|
14
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
14
15
|
lineHeight: 0,
|
|
15
16
|
padding: "var(--ds-space-075, 6px)".concat(" 0"),
|
|
16
17
|
alignItems: 'center'
|
|
@@ -24,6 +25,7 @@ var container = exports.container = (0, _react.css)({
|
|
|
24
25
|
padding: 0,
|
|
25
26
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
26
27
|
width: "".concat(_ui.RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX, "px"),
|
|
28
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
27
29
|
lineHeight: 'initial'
|
|
28
30
|
});
|
|
29
31
|
|
|
@@ -15,6 +15,7 @@ var _media = require("../media");
|
|
|
15
15
|
var baseStyles = (0, _primitives.xcss)({
|
|
16
16
|
borderRadius: 'border.radius',
|
|
17
17
|
backgroundColor: 'elevation.surface',
|
|
18
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
18
19
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
19
20
|
cursor: 'pointer'
|
|
20
21
|
});
|
|
@@ -19,6 +19,7 @@ var containerStyles = (0, _primitives.xcss)({
|
|
|
19
19
|
position: 'absolute',
|
|
20
20
|
top: 'space.0',
|
|
21
21
|
right: 'space.0',
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
22
23
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
23
24
|
gap: 'space.025',
|
|
24
25
|
zIndex: 'card',
|
|
@@ -17,7 +17,7 @@ function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return
|
|
|
17
17
|
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 && {}.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; }
|
|
18
18
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
19
19
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
20
|
-
var packageVersion = "98.
|
|
20
|
+
var packageVersion = "98.2.1";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
* @jsx jsx
|
|
24
24
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
25
|
var packageName = "@atlaskit/editor-common";
|
|
26
|
-
var packageVersion = "98.
|
|
26
|
+
var packageVersion = "98.2.1";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -60,7 +60,7 @@ var titleInputStyles = function titleInputStyles() {
|
|
|
60
60
|
border: 'none',
|
|
61
61
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
62
62
|
fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(14),
|
|
63
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
63
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
64
64
|
lineHeight: (0, _platformFeatureFlags.fg)('platform-visual-refresh-icons') ? 1 : _editorSharedStyles.akEditorLineHeight,
|
|
65
65
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
66
66
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -30,6 +30,7 @@ var messageStyle = function messageStyle() {
|
|
|
30
30
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
31
31
|
fontSize: "".concat(12 / 14, "em"),
|
|
32
32
|
fontStyle: 'inherit',
|
|
33
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
33
34
|
lineHeight: 16 / 12,
|
|
34
35
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
35
36
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -21,6 +21,7 @@ var panelTextInput = exports.panelTextInput = (0, _react.css)({
|
|
|
21
21
|
flexGrow: 1,
|
|
22
22
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
23
23
|
fontSize: (0, _editorSharedStyles.relativeFontSizeToBase16)(13),
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
24
25
|
lineHeight: '20px',
|
|
25
26
|
padding: "var(--ds-space-075, 6px)".concat(" ", "var(--ds-space-400, 32px)", " ", "var(--ds-space-075, 6px)", " ", "var(--ds-space-100, 8px)"),
|
|
26
27
|
minWidth: '145px',
|
|
@@ -207,6 +207,20 @@ function processRawValue(schema, value, providerFactory, sanitizePrivateContent,
|
|
|
207
207
|
var _transformNestedTable3 = transformNestedTablesWithAnalytics(transformedAdf, dispatchAnalyticsEvent);
|
|
208
208
|
transformedAdf = _transformNestedTable3.transformedAdf;
|
|
209
209
|
}
|
|
210
|
+
if (dispatchAnalyticsEvent && (0, _platformFeatureFlags.fg)('platform_editor_advanced_layouts_post_fix_patch_3')) {
|
|
211
|
+
var _transformedAdf$conte;
|
|
212
|
+
var hasSingleColumnLayout = (_transformedAdf$conte = transformedAdf.content) === null || _transformedAdf$conte === void 0 ? void 0 : _transformedAdf$conte.some(function (node) {
|
|
213
|
+
var _node$content;
|
|
214
|
+
return node && node.type === 'layoutSection' && ((_node$content = node.content) === null || _node$content === void 0 ? void 0 : _node$content.length) === 1;
|
|
215
|
+
});
|
|
216
|
+
if (hasSingleColumnLayout) {
|
|
217
|
+
dispatchAnalyticsEvent({
|
|
218
|
+
action: _analytics.ACTION.SINGLE_COL_LAYOUT_DETECTED,
|
|
219
|
+
actionSubject: _analytics.ACTION_SUBJECT.EDITOR,
|
|
220
|
+
eventType: _analytics.EVENT_TYPE.OPERATIONAL
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
}
|
|
210
224
|
var entity = (0, _validateUsingSpec.validateADFEntity)(schema, transformedAdf || node, dispatchAnalyticsEvent);
|
|
211
225
|
var newEntity = maySanitizePrivateContent(entity, providerFactory, sanitizePrivateContent);
|
|
212
226
|
var parsedDoc = _model.Node.fromJSON(schema, newEntity);
|
|
@@ -149,6 +149,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
149
149
|
ACTION["TOGGLE_CODE_BLOCK_WRAP"] = "toggleCodeBlockWrap";
|
|
150
150
|
ACTION["RESIZED"] = "resized";
|
|
151
151
|
ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
|
|
152
|
+
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
152
153
|
return ACTION;
|
|
153
154
|
}({});
|
|
154
155
|
export let INPUT_METHOD = /*#__PURE__*/function (INPUT_METHOD) {
|
|
@@ -686,6 +686,7 @@ const itemBody = css({
|
|
|
686
686
|
flexDirection: 'row',
|
|
687
687
|
flexWrap: 'nowrap',
|
|
688
688
|
justifyContent: 'space-between',
|
|
689
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
689
690
|
lineHeight: 1.4,
|
|
690
691
|
width: '100%',
|
|
691
692
|
marginTop: "var(--ds-space-negative-025, -2px)"
|
|
@@ -13,6 +13,7 @@ import EditIcon from '@atlaskit/icon/core/edit';
|
|
|
13
13
|
import { Flex, xcss } from '@atlaskit/primitives';
|
|
14
14
|
const buttonContainerStyles = css({
|
|
15
15
|
opacity: 0,
|
|
16
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
16
17
|
lineHeight: 1,
|
|
17
18
|
position: 'absolute',
|
|
18
19
|
width: 'max-content',
|
|
@@ -18,7 +18,7 @@ export const mbeExtensionWrapperCSSStyles = css(wrapperDefault, {
|
|
|
18
18
|
'.extension-title': {
|
|
19
19
|
display: 'flex',
|
|
20
20
|
alignItems: 'center',
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
22
22
|
lineHeight: '16px !important',
|
|
23
23
|
marginBottom: "var(--ds-space-100, 8px)",
|
|
24
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
@@ -37,12 +37,14 @@ export const nameStyle = css({
|
|
|
37
37
|
overflow: 'hidden',
|
|
38
38
|
textOverflow: 'ellipsis',
|
|
39
39
|
whiteSpace: 'nowrap',
|
|
40
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
40
41
|
lineHeight: '20px'
|
|
41
42
|
});
|
|
42
43
|
|
|
43
44
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
44
45
|
export const containerName = css({
|
|
45
46
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
47
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
46
48
|
lineHeight: '14px',
|
|
47
49
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
48
50
|
fontSize: relativeFontSizeToBase16(11)
|
|
@@ -5,6 +5,7 @@ import { RECENT_SEARCH_WIDTH_IN_PX, RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX } fr
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
6
|
export const inputWrapper = css({
|
|
7
7
|
display: 'flex',
|
|
8
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
8
9
|
lineHeight: 0,
|
|
9
10
|
padding: `${"var(--ds-space-075, 6px)"} 0`,
|
|
10
11
|
alignItems: 'center'
|
|
@@ -18,6 +19,7 @@ export const container = css({
|
|
|
18
19
|
padding: 0,
|
|
19
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
20
21
|
width: `${RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX}px`,
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
21
23
|
lineHeight: 'initial'
|
|
22
24
|
});
|
|
23
25
|
|
|
@@ -8,6 +8,7 @@ import { externalMediaMessages } from '../media';
|
|
|
8
8
|
const baseStyles = xcss({
|
|
9
9
|
borderRadius: 'border.radius',
|
|
10
10
|
backgroundColor: 'elevation.surface',
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
11
12
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
12
13
|
cursor: 'pointer'
|
|
13
14
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { isFedRamp } from './environment';
|
|
2
2
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
3
3
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
4
|
-
const packageVersion = "98.
|
|
4
|
+
const packageVersion = "98.2.1";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -13,7 +13,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
13
13
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
14
14
|
import Layer from '../Layer';
|
|
15
15
|
const packageName = "@atlaskit/editor-common";
|
|
16
|
-
const packageVersion = "98.
|
|
16
|
+
const packageVersion = "98.2.1";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -74,7 +74,7 @@ const titleInputStyles = () => css({
|
|
|
74
74
|
border: 'none',
|
|
75
75
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
76
76
|
fontSize: relativeFontSizeToBase16(14),
|
|
77
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
77
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
78
78
|
lineHeight: fg('platform-visual-refresh-icons') ? 1 : akEditorLineHeight,
|
|
79
79
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
80
80
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -21,6 +21,7 @@ css({
|
|
|
21
21
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
22
22
|
fontSize: `${12 / 14}em`,
|
|
23
23
|
fontStyle: 'inherit',
|
|
24
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
24
25
|
lineHeight: 16 / 12,
|
|
25
26
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
26
27
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -14,6 +14,7 @@ export const panelTextInput = css({
|
|
|
14
14
|
flexGrow: 1,
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
16
|
fontSize: relativeFontSizeToBase16(13),
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
17
18
|
lineHeight: '20px',
|
|
18
19
|
padding: `${"var(--ds-space-075, 6px)"} ${"var(--ds-space-400, 32px)"} ${"var(--ds-space-075, 6px)"} ${"var(--ds-space-100, 8px)"}`,
|
|
19
20
|
minWidth: '145px',
|
|
@@ -206,6 +206,20 @@ export function processRawValue(schema, value, providerFactory, sanitizePrivateC
|
|
|
206
206
|
transformedAdf
|
|
207
207
|
} = transformNestedTablesWithAnalytics(transformedAdf, dispatchAnalyticsEvent));
|
|
208
208
|
}
|
|
209
|
+
if (dispatchAnalyticsEvent && fg('platform_editor_advanced_layouts_post_fix_patch_3')) {
|
|
210
|
+
var _transformedAdf$conte;
|
|
211
|
+
const hasSingleColumnLayout = (_transformedAdf$conte = transformedAdf.content) === null || _transformedAdf$conte === void 0 ? void 0 : _transformedAdf$conte.some(node => {
|
|
212
|
+
var _node$content;
|
|
213
|
+
return node && node.type === 'layoutSection' && ((_node$content = node.content) === null || _node$content === void 0 ? void 0 : _node$content.length) === 1;
|
|
214
|
+
});
|
|
215
|
+
if (hasSingleColumnLayout) {
|
|
216
|
+
dispatchAnalyticsEvent({
|
|
217
|
+
action: ACTION.SINGLE_COL_LAYOUT_DETECTED,
|
|
218
|
+
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
219
|
+
eventType: EVENT_TYPE.OPERATIONAL
|
|
220
|
+
});
|
|
221
|
+
}
|
|
222
|
+
}
|
|
209
223
|
const entity = validateADFEntity(schema, transformedAdf || node, dispatchAnalyticsEvent);
|
|
210
224
|
const newEntity = maySanitizePrivateContent(entity, providerFactory, sanitizePrivateContent);
|
|
211
225
|
const parsedDoc = Node.fromJSON(schema, newEntity);
|
|
@@ -149,6 +149,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
149
149
|
ACTION["TOGGLE_CODE_BLOCK_WRAP"] = "toggleCodeBlockWrap";
|
|
150
150
|
ACTION["RESIZED"] = "resized";
|
|
151
151
|
ACTION["BLOCKS_DRAG_INIT"] = "blocksDragInit";
|
|
152
|
+
ACTION["SINGLE_COL_LAYOUT_DETECTED"] = "singleColumLayoutDetected";
|
|
152
153
|
return ACTION;
|
|
153
154
|
}({});
|
|
154
155
|
export var INPUT_METHOD = /*#__PURE__*/function (INPUT_METHOD) {
|
|
@@ -690,6 +690,7 @@ var itemBody = css({
|
|
|
690
690
|
flexDirection: 'row',
|
|
691
691
|
flexWrap: 'nowrap',
|
|
692
692
|
justifyContent: 'space-between',
|
|
693
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
693
694
|
lineHeight: 1.4,
|
|
694
695
|
width: '100%',
|
|
695
696
|
marginTop: "var(--ds-space-negative-025, -2px)"
|
|
@@ -13,6 +13,7 @@ import EditIcon from '@atlaskit/icon/core/edit';
|
|
|
13
13
|
import { Flex, xcss } from '@atlaskit/primitives';
|
|
14
14
|
var buttonContainerStyles = css({
|
|
15
15
|
opacity: 0,
|
|
16
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
16
17
|
lineHeight: 1,
|
|
17
18
|
position: 'absolute',
|
|
18
19
|
width: 'max-content',
|
|
@@ -18,7 +18,7 @@ export var mbeExtensionWrapperCSSStyles = css(wrapperDefault, {
|
|
|
18
18
|
'.extension-title': {
|
|
19
19
|
display: 'flex',
|
|
20
20
|
alignItems: 'center',
|
|
21
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
21
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
22
22
|
lineHeight: '16px !important',
|
|
23
23
|
marginBottom: "var(--ds-space-100, 8px)",
|
|
24
24
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-important-styles -- Ignored via go/DSP-18766
|
|
@@ -44,12 +44,14 @@ export var nameStyle = css({
|
|
|
44
44
|
overflow: 'hidden',
|
|
45
45
|
textOverflow: 'ellipsis',
|
|
46
46
|
whiteSpace: 'nowrap',
|
|
47
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
47
48
|
lineHeight: '20px'
|
|
48
49
|
});
|
|
49
50
|
|
|
50
51
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
51
52
|
export var containerName = css({
|
|
52
53
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
54
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
53
55
|
lineHeight: '14px',
|
|
54
56
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
55
57
|
fontSize: relativeFontSizeToBase16(11)
|
|
@@ -5,6 +5,7 @@ import { RECENT_SEARCH_WIDTH_IN_PX, RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX } fr
|
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
6
6
|
export var inputWrapper = css({
|
|
7
7
|
display: 'flex',
|
|
8
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
8
9
|
lineHeight: 0,
|
|
9
10
|
padding: "var(--ds-space-075, 6px)".concat(" 0"),
|
|
10
11
|
alignItems: 'center'
|
|
@@ -18,6 +19,7 @@ export var container = css({
|
|
|
18
19
|
padding: 0,
|
|
19
20
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
20
21
|
width: "".concat(RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX, "px"),
|
|
22
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
21
23
|
lineHeight: 'initial'
|
|
22
24
|
});
|
|
23
25
|
|
|
@@ -8,6 +8,7 @@ import { externalMediaMessages } from '../media';
|
|
|
8
8
|
var baseStyles = xcss({
|
|
9
9
|
borderRadius: 'border.radius',
|
|
10
10
|
backgroundColor: 'elevation.surface',
|
|
11
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
11
12
|
lineHeight: "var(--ds-space-200, 16px)",
|
|
12
13
|
cursor: 'pointer'
|
|
13
14
|
});
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
import { isFedRamp } from './environment';
|
|
8
8
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
9
9
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
10
|
-
var packageVersion = "98.
|
|
10
|
+
var packageVersion = "98.2.1";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// TODO: Sanitise the URL instead of just removing it
|
|
@@ -20,7 +20,7 @@ import withAnalyticsContext from '@atlaskit/analytics-next/withAnalyticsContext'
|
|
|
20
20
|
import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
21
21
|
import Layer from '../Layer';
|
|
22
22
|
var packageName = "@atlaskit/editor-common";
|
|
23
|
-
var packageVersion = "98.
|
|
23
|
+
var packageVersion = "98.2.1";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -54,7 +54,7 @@ var titleInputStyles = function titleInputStyles() {
|
|
|
54
54
|
border: 'none',
|
|
55
55
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
56
56
|
fontSize: relativeFontSizeToBase16(14),
|
|
57
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
57
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values, @atlaskit/design-system/use-tokens-typography -- Ignored via go/DSP-18766
|
|
58
58
|
lineHeight: fg('platform-visual-refresh-icons') ? 1 : akEditorLineHeight,
|
|
59
59
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
60
60
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -22,6 +22,7 @@ var messageStyle = function messageStyle() {
|
|
|
22
22
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
23
23
|
fontSize: "".concat(12 / 14, "em"),
|
|
24
24
|
fontStyle: 'inherit',
|
|
25
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
25
26
|
lineHeight: 16 / 12,
|
|
26
27
|
fontWeight: "var(--ds-font-weight-regular, 400)",
|
|
27
28
|
color: "var(--ds-text-subtlest, #626F86)",
|
|
@@ -14,6 +14,7 @@ export var panelTextInput = css({
|
|
|
14
14
|
flexGrow: 1,
|
|
15
15
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-imported-style-values, @atlaskit/ui-styling-standard/no-unsafe-values -- Ignored via go/DSP-18766
|
|
16
16
|
fontSize: relativeFontSizeToBase16(13),
|
|
17
|
+
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
17
18
|
lineHeight: '20px',
|
|
18
19
|
padding: "var(--ds-space-075, 6px)".concat(" ", "var(--ds-space-400, 32px)", " ", "var(--ds-space-075, 6px)", " ", "var(--ds-space-100, 8px)"),
|
|
19
20
|
minWidth: '145px',
|
|
@@ -199,6 +199,20 @@ export function processRawValue(schema, value, providerFactory, sanitizePrivateC
|
|
|
199
199
|
var _transformNestedTable3 = transformNestedTablesWithAnalytics(transformedAdf, dispatchAnalyticsEvent);
|
|
200
200
|
transformedAdf = _transformNestedTable3.transformedAdf;
|
|
201
201
|
}
|
|
202
|
+
if (dispatchAnalyticsEvent && fg('platform_editor_advanced_layouts_post_fix_patch_3')) {
|
|
203
|
+
var _transformedAdf$conte;
|
|
204
|
+
var hasSingleColumnLayout = (_transformedAdf$conte = transformedAdf.content) === null || _transformedAdf$conte === void 0 ? void 0 : _transformedAdf$conte.some(function (node) {
|
|
205
|
+
var _node$content;
|
|
206
|
+
return node && node.type === 'layoutSection' && ((_node$content = node.content) === null || _node$content === void 0 ? void 0 : _node$content.length) === 1;
|
|
207
|
+
});
|
|
208
|
+
if (hasSingleColumnLayout) {
|
|
209
|
+
dispatchAnalyticsEvent({
|
|
210
|
+
action: ACTION.SINGLE_COL_LAYOUT_DETECTED,
|
|
211
|
+
actionSubject: ACTION_SUBJECT.EDITOR,
|
|
212
|
+
eventType: EVENT_TYPE.OPERATIONAL
|
|
213
|
+
});
|
|
214
|
+
}
|
|
215
|
+
}
|
|
202
216
|
var entity = validateADFEntity(schema, transformedAdf || node, dispatchAnalyticsEvent);
|
|
203
217
|
var newEntity = maySanitizePrivateContent(entity, providerFactory, sanitizePrivateContent);
|
|
204
218
|
var parsedDoc = Node.fromJSON(schema, newEntity);
|
|
@@ -155,7 +155,8 @@ export declare enum ACTION {
|
|
|
155
155
|
UPLOAD_FAILED = "uploadFailed",
|
|
156
156
|
TOGGLE_CODE_BLOCK_WRAP = "toggleCodeBlockWrap",
|
|
157
157
|
RESIZED = "resized",
|
|
158
|
-
BLOCKS_DRAG_INIT = "blocksDragInit"
|
|
158
|
+
BLOCKS_DRAG_INIT = "blocksDragInit",
|
|
159
|
+
SINGLE_COL_LAYOUT_DETECTED = "singleColumLayoutDetected"
|
|
159
160
|
}
|
|
160
161
|
export declare enum INPUT_METHOD {
|
|
161
162
|
ASCII = "ascii",
|
|
@@ -179,6 +179,7 @@ type DedupeMarksTransformedAEP = OperationalAEP<ACTION.DEDUPE_MARKS_TRANSFORMED_
|
|
|
179
179
|
}>;
|
|
180
180
|
type IndentationMarksTransformedAEP = OperationalAEP<ACTION.INDENTATION_MARKS_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
181
181
|
type NodesMissingContentTransformedAEP = OperationalAEP<ACTION.NODES_MISSING_CONTENT_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
182
|
+
type SingleColumLayoutDetectedAEP = OperationalAEP<ACTION.SINGLE_COL_LAYOUT_DETECTED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
182
183
|
type InvalidMediaContentTransformedAEP = OperationalAEP<ACTION.INVALID_MEDIA_CONTENT_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
183
184
|
type CollabStepsTrackerPayloadAEP = OperationalAEP<ACTION.STEPS_TRACKED | ACTION.STEPS_FILTERED, ACTION_SUBJECT.COLLAB, undefined, {
|
|
184
185
|
steps: unknown[];
|
|
@@ -205,5 +206,5 @@ type CopyLinkToAnchorButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.COPY_LINK_TO_ANCHOR
|
|
|
205
206
|
extensionType?: string;
|
|
206
207
|
isLivePage?: boolean;
|
|
207
208
|
}>;
|
|
208
|
-
export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP | DispatchedTransactionAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | EditorTTIAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamlingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | PickerMediaInsertAEP | PickerMediaInsertClosedAEP | PickerMediaInsertCancelledAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | CopyLinkToAnchorButtonAEP;
|
|
209
|
+
export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP | DispatchedTransactionAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | EditorTTIAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamlingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | PickerMediaInsertAEP | PickerMediaInsertClosedAEP | PickerMediaInsertCancelledAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP;
|
|
209
210
|
export {};
|
|
@@ -155,7 +155,8 @@ export declare enum ACTION {
|
|
|
155
155
|
UPLOAD_FAILED = "uploadFailed",
|
|
156
156
|
TOGGLE_CODE_BLOCK_WRAP = "toggleCodeBlockWrap",
|
|
157
157
|
RESIZED = "resized",
|
|
158
|
-
BLOCKS_DRAG_INIT = "blocksDragInit"
|
|
158
|
+
BLOCKS_DRAG_INIT = "blocksDragInit",
|
|
159
|
+
SINGLE_COL_LAYOUT_DETECTED = "singleColumLayoutDetected"
|
|
159
160
|
}
|
|
160
161
|
export declare enum INPUT_METHOD {
|
|
161
162
|
ASCII = "ascii",
|
|
@@ -179,6 +179,7 @@ type DedupeMarksTransformedAEP = OperationalAEP<ACTION.DEDUPE_MARKS_TRANSFORMED_
|
|
|
179
179
|
}>;
|
|
180
180
|
type IndentationMarksTransformedAEP = OperationalAEP<ACTION.INDENTATION_MARKS_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
181
181
|
type NodesMissingContentTransformedAEP = OperationalAEP<ACTION.NODES_MISSING_CONTENT_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
182
|
+
type SingleColumLayoutDetectedAEP = OperationalAEP<ACTION.SINGLE_COL_LAYOUT_DETECTED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
182
183
|
type InvalidMediaContentTransformedAEP = OperationalAEP<ACTION.INVALID_MEDIA_CONTENT_TRANSFORMED, ACTION_SUBJECT.EDITOR, undefined, undefined>;
|
|
183
184
|
type CollabStepsTrackerPayloadAEP = OperationalAEP<ACTION.STEPS_TRACKED | ACTION.STEPS_FILTERED, ACTION_SUBJECT.COLLAB, undefined, {
|
|
184
185
|
steps: unknown[];
|
|
@@ -205,5 +206,5 @@ type CopyLinkToAnchorButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.COPY_LINK_TO_ANCHOR
|
|
|
205
206
|
extensionType?: string;
|
|
206
207
|
isLivePage?: boolean;
|
|
207
208
|
}>;
|
|
208
|
-
export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP | DispatchedTransactionAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | EditorTTIAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamlingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | PickerMediaInsertAEP | PickerMediaInsertClosedAEP | PickerMediaInsertCancelledAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | CopyLinkToAnchorButtonAEP;
|
|
209
|
+
export type GeneralEventPayload<T = void> = AnnotateButtonAEP | AnnotationAEP | BrowserFreezePayload | ButtonFeedbackAEP | ButtonHelpAEP | ButtonUploadMediaAEP | ColorPickerAEP | DispatchedTransactionAEP | EditorPerfAEP | EditorRenderedAEP<T> | EditorStartAEP | EditorStopAEP | EditorTTIAEP | ExpandToggleAEP | FeedbackAEP | FullWidthModeAEP | HelpQuickInsertAEP | InputPerfSamlingAEP | InputPerfSamplingAvgAEP | PickerEmojiAEP | PickerImageAEP | PickerMediaInsertAEP | PickerMediaInsertClosedAEP | PickerMediaInsertCancelledAEP | ReactNodeViewRenderedAEP | RichMediaLayoutAEP | SelectionAEP | SlowInputAEP | TransactionMutatedAEP | UploadExternalFailedAEP | WithPluginStateCalledAEP | CodeBlockLanguageSelectedAEP | EditorContentRetrievalPerformedAEP | MediaLinkTransformedAEP | TextLinkCodeMarkTransformedAEP | DedupeMarksTransformedAEP | IndentationMarksTransformedAEP | NodesMissingContentTransformedAEP | InvalidProsemirrorDocumentErrorAEP | DocumentProcessingErrorAEP | InvalidMediaContentTransformedAEP | HeadingAnchorLinkButtonAEP | CollabStepsTrackerPayloadAEP | BlocksDragInitAEP | CodeBlockWordWrapToggleAEP | RequestToEditAEP | SingleColumLayoutDetectedAEP | CopyLinkToAnchorButtonAEP;
|
|
209
210
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "98.
|
|
3
|
+
"version": "98.2.1",
|
|
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/"
|
|
@@ -141,7 +141,7 @@
|
|
|
141
141
|
"@atlaskit/media-picker": "^67.0.0",
|
|
142
142
|
"@atlaskit/media-ui": "^27.2.0",
|
|
143
143
|
"@atlaskit/media-viewer": "49.5.3",
|
|
144
|
-
"@atlaskit/mention": "^23.
|
|
144
|
+
"@atlaskit/mention": "^23.7.0",
|
|
145
145
|
"@atlaskit/menu": "^2.13.0",
|
|
146
146
|
"@atlaskit/onboarding": "^12.2.0",
|
|
147
147
|
"@atlaskit/platform-feature-flags": "^0.3.0",
|
|
@@ -149,12 +149,12 @@
|
|
|
149
149
|
"@atlaskit/primitives": "^13.3.0",
|
|
150
150
|
"@atlaskit/profilecard": "^21.1.0",
|
|
151
151
|
"@atlaskit/section-message": "^6.8.0",
|
|
152
|
-
"@atlaskit/smart-card": "^
|
|
152
|
+
"@atlaskit/smart-card": "^34.0.0",
|
|
153
153
|
"@atlaskit/smart-user-picker": "^6.11.0",
|
|
154
154
|
"@atlaskit/spinner": "^16.3.0",
|
|
155
155
|
"@atlaskit/task-decision": "^17.11.0",
|
|
156
156
|
"@atlaskit/textfield": "^6.7.0",
|
|
157
|
-
"@atlaskit/tmp-editor-statsig": "^2.
|
|
157
|
+
"@atlaskit/tmp-editor-statsig": "^2.32.0",
|
|
158
158
|
"@atlaskit/tokens": "^2.5.0",
|
|
159
159
|
"@atlaskit/tooltip": "^19.0.0",
|
|
160
160
|
"@atlaskit/width-detector": "^4.3.0",
|
|
@@ -308,6 +308,9 @@
|
|
|
308
308
|
"platform_editor_advanced_layouts_post_fix_patch_2": {
|
|
309
309
|
"type": "boolean"
|
|
310
310
|
},
|
|
311
|
+
"platform_editor_advanced_layouts_post_fix_patch_3": {
|
|
312
|
+
"type": "boolean"
|
|
313
|
+
},
|
|
311
314
|
"platform_editor_breakoutresizer_remove_assertion": {
|
|
312
315
|
"type": "boolean"
|
|
313
316
|
},
|