@atlaskit/editor-common 111.8.3 → 111.8.4
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 +8 -0
- package/afm-products/tsconfig.json +1 -1
- package/dist/cjs/collab/index.js +1 -1
- package/dist/cjs/element-browser/components/ElementList/EmptyState.js +1 -1
- package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/cjs/messages/syncBlock.js +5 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/react-node-view/generateUniqueNodeKey.js +1 -0
- package/dist/cjs/styles/shared/headings.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/unsupported-content-helper.js +3 -1
- package/dist/cjs/utils/breakout.js +1 -0
- package/dist/es2019/collab/index.js +1 -1
- package/dist/es2019/element-browser/components/ElementList/EmptyState.js +1 -1
- package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/es2019/messages/syncBlock.js +5 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/react-node-view/generateUniqueNodeKey.js +2 -0
- package/dist/es2019/styles/shared/headings.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/MediaSingle/styled.js +3 -1
- package/dist/es2019/ui/unsupported-content-helper.js +3 -1
- package/dist/es2019/utils/breakout.js +1 -0
- package/dist/esm/collab/index.js +1 -1
- package/dist/esm/element-browser/components/ElementList/EmptyState.js +1 -1
- package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/esm/messages/syncBlock.js +5 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/react-node-view/generateUniqueNodeKey.js +2 -0
- package/dist/esm/styles/shared/headings.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/unsupported-content-helper.js +3 -1
- package/dist/esm/utils/breakout.js +1 -0
- package/dist/types/messages/syncBlock.d.ts +5 -0
- package/dist/types/provider-helpers/combine-providers.d.ts +1 -1
- package/dist/types/utils/breakout.d.ts +10 -10
- package/dist/types-ts4.5/messages/syncBlock.d.ts +5 -0
- package/dist/types-ts4.5/provider-helpers/combine-providers.d.ts +1 -1
- package/dist/types-ts4.5/utils/breakout.d.ts +10 -10
- package/package.json +3 -3
- package/build/tsconfig.json +0 -23
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 111.8.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`7b1f7ff1a2235`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b1f7ff1a2235) -
|
|
8
|
+
[ux] [EDITOR-4536] Update synced location dropdown UI
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
3
11
|
## 111.8.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
package/dist/cjs/collab/index.js
CHANGED
|
@@ -141,7 +141,7 @@ var TELEPOINTER_DATA_SESSION_ID_ATTR = exports.TELEPOINTER_DATA_SESSION_ID_ATTR
|
|
|
141
141
|
// ED-22557: Safely convert to object styling
|
|
142
142
|
// Disable top: -14px since it is necessary to align to cursor
|
|
143
143
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
144
|
-
var telepointerStyle = exports.telepointerStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t@keyframes pulseIn {\n\t\t0%,\n\t\t100% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t\t10% {\n\t\t\ttransform: scaleX(1.4);\n\t\t\topacity: 1;\n\t\t}\n\t\t15%,\n\t\t85% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t@keyframes pulseOut {\n\t\t0%,\n\t\t90%,\n\t\t100% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t10%,\n\t\t80% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t@keyframes pulseInDuringTr {\n\t\t0%,\n\t\t95% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t@keyframes pulseOutDuringTr {\n\t\t100% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t0%,\n\t\t90% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t.ProseMirror .telepointer {\n\t\tposition: relative;\n\t\ttransition: opacity 200ms;\n\n\t\t&.telepointer-selection:not(.inlineNodeView) {\n\t\t\tline-height: 1.2;\n\t\t\tpointer-events: none;\n\t\t\tuser-select: none;\n\t\t}\n\n\t\t&.telepointer-selection-badge {\n\t\t\t.telepointer-initial,\n\t\t\t.telepointer-fullname {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: block;\n\t\t\t\tuser-select: none;\n\t\t\t\twhite-space: pre;\n\t\t\t\ttop: -14px;\n\t\t\t\tleft: 0px;\n\t\t\t\tfont: ", ";\n\t\t\t\tpadding-left: ", ";\n\t\t\t\tpadding-right: ", ";\n\t\t\t\tborder-radius: 0 2px 2px 0;\n\t\t\t}\n\n\t\t\t.telepointer-initial {\n\t\t\t\topacity: 1;\n\t\t\t\ttransition: opacity 0.15s ease-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\topacity: 0;\n\t\t\t\ttransform: scaleX(0);\n\t\t\t\ttransform-origin: top left;\n\t\t\t\ttransition:\n\t\t\t\t\ttransform 0.15s ease-out,\n\t\t\t\t\topacity 0.15s ease-out;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t.telepointer-initial {\n\t\t\t\tanimation: pulseOut 2.5s ease-in-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\tanimation: pulseIn 2.5s ease-in-out;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t.telepointer-initial {\n\t\t\t\tanimation: pulseOutDuringTr ", "ms ease-in-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\tanimation: pulseInDuringTr ", "ms ease-in-out;\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t.telepointer-initial {\n\t\t\t\topacity: 0;\n\t\t\t\ttransition-delay: 150ms;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\ttransform: scaleX(1);\n\t\t\t\topacity: 1;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\topacity: 0.2;\n\t\t}\n\n\t\t", ";\n\t}\n"])), "var(--ds-font-body-small, normal 400
|
|
144
|
+
var telepointerStyle = exports.telepointerStyle = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t@keyframes pulseIn {\n\t\t0%,\n\t\t100% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t\t10% {\n\t\t\ttransform: scaleX(1.4);\n\t\t\topacity: 1;\n\t\t}\n\t\t15%,\n\t\t85% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t@keyframes pulseOut {\n\t\t0%,\n\t\t90%,\n\t\t100% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t10%,\n\t\t80% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t@keyframes pulseInDuringTr {\n\t\t0%,\n\t\t95% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t@keyframes pulseOutDuringTr {\n\t\t100% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t0%,\n\t\t90% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t.ProseMirror .telepointer {\n\t\tposition: relative;\n\t\ttransition: opacity 200ms;\n\n\t\t&.telepointer-selection:not(.inlineNodeView) {\n\t\t\tline-height: 1.2;\n\t\t\tpointer-events: none;\n\t\t\tuser-select: none;\n\t\t}\n\n\t\t&.telepointer-selection-badge {\n\t\t\t.telepointer-initial,\n\t\t\t.telepointer-fullname {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: block;\n\t\t\t\tuser-select: none;\n\t\t\t\twhite-space: pre;\n\t\t\t\ttop: -14px;\n\t\t\t\tleft: 0px;\n\t\t\t\tfont: ", ";\n\t\t\t\tpadding-left: ", ";\n\t\t\t\tpadding-right: ", ";\n\t\t\t\tborder-radius: 0 2px 2px 0;\n\t\t\t}\n\n\t\t\t.telepointer-initial {\n\t\t\t\topacity: 1;\n\t\t\t\ttransition: opacity 0.15s ease-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\topacity: 0;\n\t\t\t\ttransform: scaleX(0);\n\t\t\t\ttransform-origin: top left;\n\t\t\t\ttransition:\n\t\t\t\t\ttransform 0.15s ease-out,\n\t\t\t\t\topacity 0.15s ease-out;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t.telepointer-initial {\n\t\t\t\tanimation: pulseOut 2.5s ease-in-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\tanimation: pulseIn 2.5s ease-in-out;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t.telepointer-initial {\n\t\t\t\tanimation: pulseOutDuringTr ", "ms ease-in-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\tanimation: pulseInDuringTr ", "ms ease-in-out;\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t.telepointer-initial {\n\t\t\t\topacity: 0;\n\t\t\t\ttransition-delay: 150ms;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\ttransform: scaleX(1);\n\t\t\t\topacity: 1;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\topacity: 0.2;\n\t\t}\n\n\t\t", ";\n\t}\n"])), "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)", TELEPOINTER_PULSE_CLASS, TELEPOINTER_PULSE_DURING_TR_CLASS, TELEPOINTER_PULSE_DURING_TR_DURATION_MS, TELEPOINTER_PULSE_DURING_TR_DURATION_MS, TELEPOINTER_DIM_CLASS, _editorSharedStyles.participantColors.map(function (participantColor, index) {
|
|
145
145
|
return telepointerColorStyle(participantColor.backgroundColor, participantColor.textColor, index);
|
|
146
146
|
}));
|
|
147
147
|
var tintKey = 'collab:isDirtyTransaction';
|
|
@@ -59,7 +59,7 @@ function EmptyState(_ref) {
|
|
|
59
59
|
})))));
|
|
60
60
|
}
|
|
61
61
|
var emptyStateHeading = (0, _react2.css)({
|
|
62
|
-
font: "var(--ds-font-heading-medium, normal
|
|
62
|
+
font: "var(--ds-font-heading-medium, normal 653 20px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
63
63
|
color: "var(--ds-text, rgb(23, 43, 77))",
|
|
64
64
|
marginTop: "var(--ds-space-300, 24px)"
|
|
65
65
|
});
|
|
@@ -42,7 +42,7 @@ var buttonStyles = (0, _react2.css)({
|
|
|
42
42
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
43
43
|
paddingLeft: "var(--ds-space-150, 12px)",
|
|
44
44
|
paddingRight: "var(--ds-space-150, 12px)",
|
|
45
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
45
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
46
46
|
'&:hover': {
|
|
47
47
|
backgroundColor: "var(--ds-background-input-hovered, #F8F8F8)"
|
|
48
48
|
},
|
|
@@ -88,7 +88,7 @@ var labelStyles = (0, _react.css)({
|
|
|
88
88
|
'&.remove-nested-left-margin': {
|
|
89
89
|
marginLeft: 0
|
|
90
90
|
},
|
|
91
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
91
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
92
92
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
93
93
|
'&.with-bodied-macro-live-page-styles': {
|
|
94
94
|
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
@@ -79,7 +79,7 @@ var textLabelMargin = (0, _react2.css)({
|
|
|
79
79
|
var inputLabel = (0, _react2.css)({
|
|
80
80
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
81
81
|
paddingBottom: "var(--ds-space-050, 4px)",
|
|
82
|
-
font: "var(--ds-font-body-small, normal 400
|
|
82
|
+
font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
83
83
|
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
84
84
|
});
|
|
85
85
|
var inputWrapperPosition = (0, _react2.css)({
|
|
@@ -250,5 +250,10 @@ var syncBlockMessages = exports.syncBlockMessages = (0, _reactIntlNext.defineMes
|
|
|
250
250
|
id: 'fabric.editor.syncedLocationDropdownSourceLozenge',
|
|
251
251
|
defaultMessage: 'Source',
|
|
252
252
|
description: 'Lozenge label shown in the synced location dropdown option when the sync block is source'
|
|
253
|
+
},
|
|
254
|
+
syncedLocationDropdownRequestAccess: {
|
|
255
|
+
id: 'fabric.editor.syncedLocationDropdownRequestAccess',
|
|
256
|
+
defaultMessage: 'Request access',
|
|
257
|
+
description: 'Label shown in the synced location dropdown option when the sync block is not accessible to the user'
|
|
253
258
|
}
|
|
254
259
|
});
|
|
@@ -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 = "
|
|
22
|
+
var packageVersion = "111.8.3";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -8,6 +8,7 @@ exports.generateUniqueNodeKey = void 0;
|
|
|
8
8
|
var _v = _interopRequireDefault(require("uuid/v4"));
|
|
9
9
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
10
10
|
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
11
12
|
var generateUniqueNodeKey = exports.generateUniqueNodeKey = function generateUniqueNodeKey() {
|
|
12
13
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
13
14
|
return (0, _v.default)();
|
|
@@ -154,7 +154,7 @@ var headingsSharedStyles = exports.headingsSharedStyles = function headingsShare
|
|
|
154
154
|
fontStyle: 'inherit',
|
|
155
155
|
lineHeight: 16 / 11,
|
|
156
156
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
157
|
-
fontWeight: "var(--ds-font-weight-bold,
|
|
157
|
+
fontWeight: "var(--ds-font-weight-bold, 653)",
|
|
158
158
|
marginTop: '1.455em',
|
|
159
159
|
textTransform: 'none'
|
|
160
160
|
}
|
|
@@ -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 = "
|
|
27
|
+
var packageVersion = "111.8.3";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -7,7 +7,9 @@ exports.getUnsupportedContent = getUnsupportedContent;
|
|
|
7
7
|
function getUnsupportedContent(
|
|
8
8
|
// Ignored via go/ees005
|
|
9
9
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
10
|
-
message, prefix, node, intl
|
|
10
|
+
message, prefix, node, intl
|
|
11
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
12
|
+
) {
|
|
11
13
|
var defaultLocale = 'en';
|
|
12
14
|
var canTranslateToLocale = true;
|
|
13
15
|
var locale = intl ? intl.locale : defaultLocale;
|
|
@@ -108,6 +108,7 @@ var absoluteBreakoutWidth = exports.absoluteBreakoutWidth = function absoluteBre
|
|
|
108
108
|
return parseInt(breakoutWidth, 10);
|
|
109
109
|
};
|
|
110
110
|
var calcWideWidth = exports.calcWideWidth = breakoutConsts.calcWideWidth(breakoutConsts);
|
|
111
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
111
112
|
var calcBreakoutWidth = exports.calcBreakoutWidth = breakoutConsts.calcBreakoutWidth(breakoutConsts);
|
|
112
113
|
var calcBreakoutWithCustomWidth = exports.calcBreakoutWithCustomWidth = breakoutConsts.calcBreakoutWithCustomWidth(breakoutConsts);
|
|
113
114
|
function calculateBreakoutStyles(_ref) {
|
|
@@ -241,7 +241,7 @@ export const telepointerStyle = css`
|
|
|
241
241
|
white-space: pre;
|
|
242
242
|
top: -14px;
|
|
243
243
|
left: 0px;
|
|
244
|
-
font: ${"var(--ds-font-body-small, normal 400
|
|
244
|
+
font: ${"var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"};
|
|
245
245
|
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
246
246
|
padding-right: ${"var(--ds-space-050, 4px)"};
|
|
247
247
|
border-radius: 0 2px 2px 0;
|
|
@@ -51,7 +51,7 @@ export default function EmptyState({
|
|
|
51
51
|
})))));
|
|
52
52
|
}
|
|
53
53
|
const emptyStateHeading = css({
|
|
54
|
-
font: "var(--ds-font-heading-medium, normal
|
|
54
|
+
font: "var(--ds-font-heading-medium, normal 653 20px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
55
55
|
color: "var(--ds-text, rgb(23, 43, 77))",
|
|
56
56
|
marginTop: "var(--ds-space-300, 24px)"
|
|
57
57
|
});
|
|
@@ -34,7 +34,7 @@ const buttonStyles = css({
|
|
|
34
34
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
35
35
|
paddingLeft: "var(--ds-space-150, 12px)",
|
|
36
36
|
paddingRight: "var(--ds-space-150, 12px)",
|
|
37
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
37
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
38
38
|
'&:hover': {
|
|
39
39
|
backgroundColor: "var(--ds-background-input-hovered, #F8F8F8)"
|
|
40
40
|
},
|
|
@@ -78,7 +78,7 @@ const labelStyles = css({
|
|
|
78
78
|
'&.remove-nested-left-margin': {
|
|
79
79
|
marginLeft: 0
|
|
80
80
|
},
|
|
81
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
81
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
82
82
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
83
83
|
'&.with-bodied-macro-live-page-styles': {
|
|
84
84
|
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
@@ -64,7 +64,7 @@ const textLabelMargin = css({
|
|
|
64
64
|
const inputLabel = css({
|
|
65
65
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
66
66
|
paddingBottom: "var(--ds-space-050, 4px)",
|
|
67
|
-
font: "var(--ds-font-body-small, normal 400
|
|
67
|
+
font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
68
68
|
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
69
69
|
});
|
|
70
70
|
const inputWrapperPosition = css({
|
|
@@ -244,5 +244,10 @@ export const syncBlockMessages = defineMessages({
|
|
|
244
244
|
id: 'fabric.editor.syncedLocationDropdownSourceLozenge',
|
|
245
245
|
defaultMessage: 'Source',
|
|
246
246
|
description: 'Lozenge label shown in the synced location dropdown option when the sync block is source'
|
|
247
|
+
},
|
|
248
|
+
syncedLocationDropdownRequestAccess: {
|
|
249
|
+
id: 'fabric.editor.syncedLocationDropdownRequestAccess',
|
|
250
|
+
defaultMessage: 'Request access',
|
|
251
|
+
description: 'Label shown in the synced location dropdown option when the sync block is not accessible to the user'
|
|
247
252
|
}
|
|
248
253
|
});
|
|
@@ -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 = "
|
|
7
|
+
const packageVersion = "111.8.3";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
2
2
|
import uuid from 'uuid/v4';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3
5
|
export const generateUniqueNodeKey = () => {
|
|
4
6
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
5
7
|
return uuid();
|
|
@@ -148,7 +148,7 @@ export const headingsSharedStyles = _typographyTheme => {
|
|
|
148
148
|
fontStyle: 'inherit',
|
|
149
149
|
lineHeight: 16 / 11,
|
|
150
150
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
151
|
-
fontWeight: "var(--ds-font-weight-bold,
|
|
151
|
+
fontWeight: "var(--ds-font-weight-bold, 653)",
|
|
152
152
|
marginTop: '1.455em',
|
|
153
153
|
textTransform: 'none'
|
|
154
154
|
},
|
|
@@ -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 = "
|
|
17
|
+
const packageVersion = "111.8.3";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -103,7 +103,9 @@ export function calcLegacyWidthForInline(layout, width, containerWidth = 0, full
|
|
|
103
103
|
* @param containerWidth
|
|
104
104
|
* @example
|
|
105
105
|
*/
|
|
106
|
-
export function calcResizedWidth(layout, width, containerWidth = 0
|
|
106
|
+
export function calcResizedWidth(layout, width, containerWidth = 0
|
|
107
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
108
|
+
) {
|
|
107
109
|
switch (layout) {
|
|
108
110
|
case 'wide':
|
|
109
111
|
return calcWideWidth(containerWidth);
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export function getUnsupportedContent(
|
|
2
2
|
// Ignored via go/ees005
|
|
3
3
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4
|
-
message, prefix, node, intl
|
|
4
|
+
message, prefix, node, intl
|
|
5
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6
|
+
) {
|
|
5
7
|
const defaultLocale = 'en';
|
|
6
8
|
let canTranslateToLocale = true;
|
|
7
9
|
const locale = intl ? intl.locale : defaultLocale;
|
|
@@ -85,6 +85,7 @@ export const absoluteBreakoutWidth = (layout, containerWidth) => {
|
|
|
85
85
|
};
|
|
86
86
|
export { breakoutConsts };
|
|
87
87
|
export const calcWideWidth = breakoutConsts.calcWideWidth(breakoutConsts);
|
|
88
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
88
89
|
export const calcBreakoutWidth = breakoutConsts.calcBreakoutWidth(breakoutConsts);
|
|
89
90
|
export const calcBreakoutWithCustomWidth = breakoutConsts.calcBreakoutWithCustomWidth(breakoutConsts);
|
|
90
91
|
export function calculateBreakoutStyles({
|
package/dist/esm/collab/index.js
CHANGED
|
@@ -158,7 +158,7 @@ export var TELEPOINTER_DATA_SESSION_ID_ATTR = 'data-telepointer-sessionid';
|
|
|
158
158
|
// ED-22557: Safely convert to object styling
|
|
159
159
|
// Disable top: -14px since it is necessary to align to cursor
|
|
160
160
|
// eslint-disable-next-line @atlaskit/design-system/ensure-design-token-usage/preview, @atlaskit/design-system/no-css-tagged-template-expression, @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
161
|
-
export var telepointerStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t@keyframes pulseIn {\n\t\t0%,\n\t\t100% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t\t10% {\n\t\t\ttransform: scaleX(1.4);\n\t\t\topacity: 1;\n\t\t}\n\t\t15%,\n\t\t85% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t@keyframes pulseOut {\n\t\t0%,\n\t\t90%,\n\t\t100% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t10%,\n\t\t80% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t@keyframes pulseInDuringTr {\n\t\t0%,\n\t\t95% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t@keyframes pulseOutDuringTr {\n\t\t100% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t0%,\n\t\t90% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t.ProseMirror .telepointer {\n\t\tposition: relative;\n\t\ttransition: opacity 200ms;\n\n\t\t&.telepointer-selection:not(.inlineNodeView) {\n\t\t\tline-height: 1.2;\n\t\t\tpointer-events: none;\n\t\t\tuser-select: none;\n\t\t}\n\n\t\t&.telepointer-selection-badge {\n\t\t\t.telepointer-initial,\n\t\t\t.telepointer-fullname {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: block;\n\t\t\t\tuser-select: none;\n\t\t\t\twhite-space: pre;\n\t\t\t\ttop: -14px;\n\t\t\t\tleft: 0px;\n\t\t\t\tfont: ", ";\n\t\t\t\tpadding-left: ", ";\n\t\t\t\tpadding-right: ", ";\n\t\t\t\tborder-radius: 0 2px 2px 0;\n\t\t\t}\n\n\t\t\t.telepointer-initial {\n\t\t\t\topacity: 1;\n\t\t\t\ttransition: opacity 0.15s ease-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\topacity: 0;\n\t\t\t\ttransform: scaleX(0);\n\t\t\t\ttransform-origin: top left;\n\t\t\t\ttransition:\n\t\t\t\t\ttransform 0.15s ease-out,\n\t\t\t\t\topacity 0.15s ease-out;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t.telepointer-initial {\n\t\t\t\tanimation: pulseOut 2.5s ease-in-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\tanimation: pulseIn 2.5s ease-in-out;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t.telepointer-initial {\n\t\t\t\tanimation: pulseOutDuringTr ", "ms ease-in-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\tanimation: pulseInDuringTr ", "ms ease-in-out;\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t.telepointer-initial {\n\t\t\t\topacity: 0;\n\t\t\t\ttransition-delay: 150ms;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\ttransform: scaleX(1);\n\t\t\t\topacity: 1;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\topacity: 0.2;\n\t\t}\n\n\t\t", ";\n\t}\n"])), "var(--ds-font-body-small, normal 400
|
|
161
|
+
export var telepointerStyle = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t@keyframes pulseIn {\n\t\t0%,\n\t\t100% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t\t10% {\n\t\t\ttransform: scaleX(1.4);\n\t\t\topacity: 1;\n\t\t}\n\t\t15%,\n\t\t85% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t}\n\n\t@keyframes pulseOut {\n\t\t0%,\n\t\t90%,\n\t\t100% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t10%,\n\t\t80% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t@keyframes pulseInDuringTr {\n\t\t0%,\n\t\t95% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t100% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t@keyframes pulseOutDuringTr {\n\t\t100% {\n\t\t\ttransform: scaleX(1);\n\t\t\topacity: 1;\n\t\t}\n\t\t0%,\n\t\t90% {\n\t\t\ttransform: scaleX(0);\n\t\t\topacity: 0;\n\t\t}\n\t}\n\n\t.ProseMirror .telepointer {\n\t\tposition: relative;\n\t\ttransition: opacity 200ms;\n\n\t\t&.telepointer-selection:not(.inlineNodeView) {\n\t\t\tline-height: 1.2;\n\t\t\tpointer-events: none;\n\t\t\tuser-select: none;\n\t\t}\n\n\t\t&.telepointer-selection-badge {\n\t\t\t.telepointer-initial,\n\t\t\t.telepointer-fullname {\n\t\t\t\tposition: absolute;\n\t\t\t\tdisplay: block;\n\t\t\t\tuser-select: none;\n\t\t\t\twhite-space: pre;\n\t\t\t\ttop: -14px;\n\t\t\t\tleft: 0px;\n\t\t\t\tfont: ", ";\n\t\t\t\tpadding-left: ", ";\n\t\t\t\tpadding-right: ", ";\n\t\t\t\tborder-radius: 0 2px 2px 0;\n\t\t\t}\n\n\t\t\t.telepointer-initial {\n\t\t\t\topacity: 1;\n\t\t\t\ttransition: opacity 0.15s ease-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\topacity: 0;\n\t\t\t\ttransform: scaleX(0);\n\t\t\t\ttransform-origin: top left;\n\t\t\t\ttransition:\n\t\t\t\t\ttransform 0.15s ease-out,\n\t\t\t\t\topacity 0.15s ease-out;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t.telepointer-initial {\n\t\t\t\tanimation: pulseOut 2.5s ease-in-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\tanimation: pulseIn 2.5s ease-in-out;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\t.telepointer-initial {\n\t\t\t\tanimation: pulseOutDuringTr ", "ms ease-in-out;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\tanimation: pulseInDuringTr ", "ms ease-in-out;\n\t\t\t}\n\t\t}\n\n\t\t&:hover {\n\t\t\t.telepointer-initial {\n\t\t\t\topacity: 0;\n\t\t\t\ttransition-delay: 150ms;\n\t\t\t}\n\n\t\t\t.telepointer-fullname {\n\t\t\t\ttransform: scaleX(1);\n\t\t\t\topacity: 1;\n\t\t\t\tz-index: 1;\n\t\t\t}\n\t\t}\n\n\t\t&.", " {\n\t\t\topacity: 0.2;\n\t\t}\n\n\t\t", ";\n\t}\n"])), "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)", TELEPOINTER_PULSE_CLASS, TELEPOINTER_PULSE_DURING_TR_CLASS, TELEPOINTER_PULSE_DURING_TR_DURATION_MS, TELEPOINTER_PULSE_DURING_TR_DURATION_MS, TELEPOINTER_DIM_CLASS, participantColors.map(function (participantColor, index) {
|
|
162
162
|
return telepointerColorStyle(participantColor.backgroundColor, participantColor.textColor, index);
|
|
163
163
|
}));
|
|
164
164
|
var tintKey = 'collab:isDirtyTransaction';
|
|
@@ -50,7 +50,7 @@ export default function EmptyState(_ref) {
|
|
|
50
50
|
})))));
|
|
51
51
|
}
|
|
52
52
|
var emptyStateHeading = css({
|
|
53
|
-
font: "var(--ds-font-heading-medium, normal
|
|
53
|
+
font: "var(--ds-font-heading-medium, normal 653 20px/24px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
54
54
|
color: "var(--ds-text, rgb(23, 43, 77))",
|
|
55
55
|
marginTop: "var(--ds-space-300, 24px)"
|
|
56
56
|
});
|
|
@@ -34,7 +34,7 @@ var buttonStyles = css({
|
|
|
34
34
|
borderRadius: "var(--ds-radius-small, 4px)",
|
|
35
35
|
paddingLeft: "var(--ds-space-150, 12px)",
|
|
36
36
|
paddingRight: "var(--ds-space-150, 12px)",
|
|
37
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
37
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
38
38
|
'&:hover': {
|
|
39
39
|
backgroundColor: "var(--ds-background-input-hovered, #F8F8F8)"
|
|
40
40
|
},
|
|
@@ -79,7 +79,7 @@ var labelStyles = css({
|
|
|
79
79
|
'&.remove-nested-left-margin': {
|
|
80
80
|
marginLeft: 0
|
|
81
81
|
},
|
|
82
|
-
font: "var(--ds-font-body, normal 400 14px/20px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
82
|
+
font: "var(--ds-font-body, normal 400 14px/20px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
83
83
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors -- Ignored via go/DSP-18766
|
|
84
84
|
'&.with-bodied-macro-live-page-styles': {
|
|
85
85
|
backgroundColor: "var(--ds-background-input, #FFFFFF)",
|
|
@@ -75,7 +75,7 @@ var textLabelMargin = css({
|
|
|
75
75
|
var inputLabel = css({
|
|
76
76
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
77
77
|
paddingBottom: "var(--ds-space-050, 4px)",
|
|
78
|
-
font: "var(--ds-font-body-small, normal 400
|
|
78
|
+
font: "var(--ds-font-body-small, normal 400 12px/16px \"Atlassian Sans\", ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
79
79
|
fontWeight: "var(--ds-font-weight-medium, 500)"
|
|
80
80
|
});
|
|
81
81
|
var inputWrapperPosition = css({
|
|
@@ -244,5 +244,10 @@ export var syncBlockMessages = defineMessages({
|
|
|
244
244
|
id: 'fabric.editor.syncedLocationDropdownSourceLozenge',
|
|
245
245
|
defaultMessage: 'Source',
|
|
246
246
|
description: 'Lozenge label shown in the synced location dropdown option when the sync block is source'
|
|
247
|
+
},
|
|
248
|
+
syncedLocationDropdownRequestAccess: {
|
|
249
|
+
id: 'fabric.editor.syncedLocationDropdownRequestAccess',
|
|
250
|
+
defaultMessage: 'Request access',
|
|
251
|
+
description: 'Label shown in the synced location dropdown option when the sync block is not accessible to the user'
|
|
247
252
|
}
|
|
248
253
|
});
|
|
@@ -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 = "
|
|
13
|
+
var packageVersion = "111.8.3";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
2
2
|
import uuid from 'uuid/v4';
|
|
3
|
+
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
3
5
|
export var generateUniqueNodeKey = function generateUniqueNodeKey() {
|
|
4
6
|
// eslint-disable-next-line @atlaskit/platform/prefer-crypto-random-uuid -- Use crypto.randomUUID instead
|
|
5
7
|
return uuid();
|
|
@@ -153,7 +153,7 @@ export var headingsSharedStyles = function headingsSharedStyles(_typographyTheme
|
|
|
153
153
|
fontStyle: 'inherit',
|
|
154
154
|
lineHeight: 16 / 11,
|
|
155
155
|
color: "var(--ds-text-subtlest, #6B6E76)",
|
|
156
|
-
fontWeight: "var(--ds-font-weight-bold,
|
|
156
|
+
fontWeight: "var(--ds-font-weight-bold, 653)",
|
|
157
157
|
marginTop: '1.455em',
|
|
158
158
|
textTransform: 'none'
|
|
159
159
|
}
|
|
@@ -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 = "
|
|
24
|
+
var packageVersion = "111.8.3";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
export function getUnsupportedContent(
|
|
2
2
|
// Ignored via go/ees005
|
|
3
3
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
4
|
-
message, prefix, node, intl
|
|
4
|
+
message, prefix, node, intl
|
|
5
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
6
|
+
) {
|
|
5
7
|
var defaultLocale = 'en';
|
|
6
8
|
var canTranslateToLocale = true;
|
|
7
9
|
var locale = intl ? intl.locale : defaultLocale;
|
|
@@ -98,6 +98,7 @@ export var absoluteBreakoutWidth = function absoluteBreakoutWidth(layout, contai
|
|
|
98
98
|
};
|
|
99
99
|
export { breakoutConsts };
|
|
100
100
|
export var calcWideWidth = breakoutConsts.calcWideWidth(breakoutConsts);
|
|
101
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
101
102
|
export var calcBreakoutWidth = breakoutConsts.calcBreakoutWidth(breakoutConsts);
|
|
102
103
|
export var calcBreakoutWithCustomWidth = breakoutConsts.calcBreakoutWithCustomWidth(breakoutConsts);
|
|
103
104
|
export function calculateBreakoutStyles(_ref) {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Handles promise racing and discards rejected promises safely.
|
|
4
4
|
*/
|
|
5
5
|
declare const _default: <P>(providers: (P | Promise<P>)[]) => {
|
|
6
|
-
invokeSingle: <T>(methodName: keyof P, args?: any[]) => Promise<T>;
|
|
7
6
|
invokeList: <T>(methodName: keyof P, args?: any[]) => Promise<T[]>;
|
|
7
|
+
invokeSingle: <T>(methodName: keyof P, args?: any[]) => Promise<T>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -43,23 +43,23 @@ export declare function calculateBreakoutStyles({ mode, widthStateLineLength, wi
|
|
|
43
43
|
*/
|
|
44
44
|
widthStateWidth?: number;
|
|
45
45
|
}): {
|
|
46
|
-
type: "line-length-unknown";
|
|
47
|
-
width: any;
|
|
48
|
-
minWidth: number;
|
|
49
46
|
display: string;
|
|
50
47
|
justifyContent: string;
|
|
51
|
-
transform: string;
|
|
52
|
-
transition: string;
|
|
53
48
|
marginLeft?: undefined;
|
|
54
|
-
} | {
|
|
55
|
-
type: "line-length-known";
|
|
56
|
-
width: any;
|
|
57
49
|
minWidth: number;
|
|
58
|
-
transition: string;
|
|
59
50
|
transform: string;
|
|
60
|
-
|
|
51
|
+
transition: string;
|
|
52
|
+
type: 'line-length-unknown';
|
|
53
|
+
width: any;
|
|
54
|
+
} | {
|
|
61
55
|
display?: undefined;
|
|
62
56
|
justifyContent?: undefined;
|
|
57
|
+
marginLeft: string;
|
|
58
|
+
minWidth: number;
|
|
59
|
+
transform: string;
|
|
60
|
+
transition: string;
|
|
61
|
+
type: 'line-length-known';
|
|
62
|
+
width: any;
|
|
63
63
|
};
|
|
64
64
|
export declare function calcBreakoutWidthPx(mode: BreakoutMarkAttrs['mode'], widthStateWidth?: number, padding?: number): number;
|
|
65
65
|
export declare const getNextBreakoutMode: (currentMode?: BreakoutMode) => Exclude<BreakoutMode, "max">;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Handles promise racing and discards rejected promises safely.
|
|
4
4
|
*/
|
|
5
5
|
declare const _default: <P>(providers: (P | Promise<P>)[]) => {
|
|
6
|
-
invokeSingle: <T>(methodName: keyof P, args?: any[]) => Promise<T>;
|
|
7
6
|
invokeList: <T>(methodName: keyof P, args?: any[]) => Promise<T[]>;
|
|
7
|
+
invokeSingle: <T>(methodName: keyof P, args?: any[]) => Promise<T>;
|
|
8
8
|
};
|
|
9
9
|
export default _default;
|
|
@@ -43,23 +43,23 @@ export declare function calculateBreakoutStyles({ mode, widthStateLineLength, wi
|
|
|
43
43
|
*/
|
|
44
44
|
widthStateWidth?: number;
|
|
45
45
|
}): {
|
|
46
|
-
type: "line-length-unknown";
|
|
47
|
-
width: any;
|
|
48
|
-
minWidth: number;
|
|
49
46
|
display: string;
|
|
50
47
|
justifyContent: string;
|
|
51
|
-
transform: string;
|
|
52
|
-
transition: string;
|
|
53
48
|
marginLeft?: undefined;
|
|
54
|
-
} | {
|
|
55
|
-
type: "line-length-known";
|
|
56
|
-
width: any;
|
|
57
49
|
minWidth: number;
|
|
58
|
-
transition: string;
|
|
59
50
|
transform: string;
|
|
60
|
-
|
|
51
|
+
transition: string;
|
|
52
|
+
type: 'line-length-unknown';
|
|
53
|
+
width: any;
|
|
54
|
+
} | {
|
|
61
55
|
display?: undefined;
|
|
62
56
|
justifyContent?: undefined;
|
|
57
|
+
marginLeft: string;
|
|
58
|
+
minWidth: number;
|
|
59
|
+
transform: string;
|
|
60
|
+
transition: string;
|
|
61
|
+
type: 'line-length-known';
|
|
62
|
+
width: any;
|
|
63
63
|
};
|
|
64
64
|
export declare function calcBreakoutWidthPx(mode: BreakoutMarkAttrs['mode'], widthStateWidth?: number, padding?: number): number;
|
|
65
65
|
export declare const getNextBreakoutMode: (currentMode?: BreakoutMode) => Exclude<BreakoutMode, "max">;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "111.8.
|
|
3
|
+
"version": "111.8.4",
|
|
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/"
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"@atlaskit/editor-shared-styles": "^3.10.0",
|
|
49
49
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
50
50
|
"@atlaskit/editor-toolbar": "^0.19.0",
|
|
51
|
-
"@atlaskit/editor-toolbar-model": "^0.
|
|
51
|
+
"@atlaskit/editor-toolbar-model": "^0.3.0",
|
|
52
52
|
"@atlaskit/emoji": "^69.10.0",
|
|
53
53
|
"@atlaskit/icon": "^29.4.0",
|
|
54
54
|
"@atlaskit/icon-object": "^7.4.0",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@atlaskit/textfield": "^8.2.0",
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
84
|
"@atlaskit/tmp-editor-statsig": "^16.23.0",
|
|
85
|
-
"@atlaskit/tokens": "^
|
|
85
|
+
"@atlaskit/tokens": "^10.0.0",
|
|
86
86
|
"@atlaskit/tooltip": "^20.14.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|
|
88
88
|
"@babel/runtime": "^7.0.0",
|
package/build/tsconfig.json
DELETED
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"extends": "../tsconfig",
|
|
3
|
-
"compilerOptions": {
|
|
4
|
-
"declaration": true,
|
|
5
|
-
"target": "es5",
|
|
6
|
-
"paths": {}
|
|
7
|
-
},
|
|
8
|
-
"include": [
|
|
9
|
-
"../src/**/*.ts",
|
|
10
|
-
"../src/**/*.tsx"
|
|
11
|
-
],
|
|
12
|
-
"exclude": [
|
|
13
|
-
"../src/**/__tests__/*",
|
|
14
|
-
"../src/**/*.test.*",
|
|
15
|
-
"../src/**/test.*",
|
|
16
|
-
"../src/**/examples.*",
|
|
17
|
-
"../src/**/examples/*",
|
|
18
|
-
"../src/**/examples/**/*",
|
|
19
|
-
"../src/**/*.stories.*",
|
|
20
|
-
"../src/**/stories/*",
|
|
21
|
-
"../src/**/stories/**/*"
|
|
22
|
-
]
|
|
23
|
-
}
|