@atlaskit/editor-common 103.21.2 → 103.22.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 +21 -0
- package/afm-jira/tsconfig.json +6 -0
- package/dist/cjs/collab/index.js +10 -3
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/collab/index.js +67 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/collab/index.js +9 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/types/type-ahead.d.ts +8 -6
- package/dist/types/collab/index.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/type-ahead.d.ts +8 -6
- package/dist/types-ts4.5/collab/index.d.ts +1 -0
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,26 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 103.22.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#147951](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/147951)
|
|
8
|
+
[`ec2f90f672938`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ec2f90f672938) -
|
|
9
|
+
[ux] getFullName has been added to PluginState. User's initial and full name are now in their
|
|
10
|
+
separate elements under telepointer.
|
|
11
|
+
|
|
12
|
+
## 103.22.0
|
|
13
|
+
|
|
14
|
+
### Minor Changes
|
|
15
|
+
|
|
16
|
+
- [#149207](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149207)
|
|
17
|
+
[`41c4599b89f3c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/41c4599b89f3c) -
|
|
18
|
+
ED-27854 Add invocationMethod to typeahead closed event
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- Updated dependencies
|
|
23
|
+
|
|
3
24
|
## 103.21.2
|
|
4
25
|
|
|
5
26
|
### Patch Changes
|
package/afm-jira/tsconfig.json
CHANGED
|
@@ -125,6 +125,9 @@
|
|
|
125
125
|
{
|
|
126
126
|
"path": "../../../people-and-teams/profilecard/afm-jira/tsconfig.json"
|
|
127
127
|
},
|
|
128
|
+
{
|
|
129
|
+
"path": "../../../react-ufo/atlaskit/afm-jira/tsconfig.json"
|
|
130
|
+
},
|
|
128
131
|
{
|
|
129
132
|
"path": "../../../design-system/section-message/afm-jira/tsconfig.json"
|
|
130
133
|
},
|
|
@@ -143,6 +146,9 @@
|
|
|
143
146
|
{
|
|
144
147
|
"path": "../../../design-system/textfield/afm-jira/tsconfig.json"
|
|
145
148
|
},
|
|
149
|
+
{
|
|
150
|
+
"path": "../../../design-system/theme/afm-jira/tsconfig.json"
|
|
151
|
+
},
|
|
146
152
|
{
|
|
147
153
|
"path": "../../tmp-editor-statsig/afm-jira/tsconfig.json"
|
|
148
154
|
},
|
package/dist/cjs/collab/index.js
CHANGED
|
@@ -4,12 +4,12 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
exports.tintDirtyTransaction = exports.telepointerStyle = exports.isDirtyTransaction = exports.TELEPOINTER_DIM_CLASS = exports.PROVIDER_ERROR_CODE = exports.DisconnectReason = void 0;
|
|
7
|
+
exports.tintDirtyTransaction = exports.telepointerStyleWithInitialOnly = exports.telepointerStyle = exports.isDirtyTransaction = exports.TELEPOINTER_DIM_CLASS = exports.PROVIDER_ERROR_CODE = exports.DisconnectReason = void 0;
|
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
11
11
|
var _tokens = require("@atlaskit/tokens");
|
|
12
|
-
var _templateObject; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
var _templateObject, _templateObject2; // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
13
13
|
// Format of the payload returned by the callback function passed to the collab provider
|
|
14
14
|
// that gets called when syncing with the back-end service fails.
|
|
15
15
|
// Format of the document and its metadata returned from the collab provider
|
|
@@ -137,7 +137,14 @@ var TELEPOINTER_DIM_CLASS = exports.TELEPOINTER_DIM_CLASS = 'telepointer-dim';
|
|
|
137
137
|
// ED-22557: Safely convert to object styling
|
|
138
138
|
// Disable top: -14px since it is necessary to align to cursor
|
|
139
139
|
// 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
|
|
140
|
-
var
|
|
140
|
+
var telepointerStyleWithInitialOnly = exports.telepointerStyleWithInitialOnly = (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\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::after {\n\t\t\tcontent: attr(data-initial);\n\t\t\tposition: absolute;\n\t\t\tdisplay: block;\n\t\t\ttop: -14px;\n\t\t\tfont-size: ", ";\n\t\t\tpadding: ", ";\n\t\t\tcolor: ", ";\n\t\t\tleft: 0px;\n\t\t\tborder-radius: 2px 2px 2px 0;\n\t\t\tline-height: initial;\n\t\t}\n\n\t\t&.", " {\n\t\t\topacity: 0.2;\n\t\t}\n\n\t\t", ";\n\t}\n"])), (0, _editorSharedStyles.relativeFontSizeToBase16)(9), "var(--ds-space-025, 2px)", "var(--ds-text-inverse, #FFFFFF)", TELEPOINTER_DIM_CLASS, _editorSharedStyles.participantColors.map(function (participantColor, index) {
|
|
141
|
+
return telepointerColorStyle(participantColor.backgroundColor, participantColor.textColor, index);
|
|
142
|
+
}));
|
|
143
|
+
|
|
144
|
+
// ED-22557: Safely convert to object styling
|
|
145
|
+
// Disable top: -14px since it is necessary to align to cursor
|
|
146
|
+
// 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
|
|
147
|
+
var telepointerStyle = exports.telepointerStyle = (0, _react.css)(_templateObject2 || (_templateObject2 = (0, _taggedTemplateLiteral2.default)(["\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\tcolor: ", ";\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: 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&: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(100%);\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 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)", "var(--ds-text-inverse, #FFFFFF)", TELEPOINTER_DIM_CLASS, _editorSharedStyles.participantColors.map(function (participantColor, index) {
|
|
141
148
|
return telepointerColorStyle(participantColor.backgroundColor, participantColor.textColor, index);
|
|
142
149
|
}));
|
|
143
150
|
var tintKey = 'collab:isDirtyTransaction';
|
|
@@ -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 = "103.
|
|
20
|
+
var packageVersion = "103.22.1";
|
|
21
21
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
22
22
|
// Remove URL as it has UGC
|
|
23
23
|
// Ignored via go/ees007
|
|
@@ -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 = "103.
|
|
26
|
+
var packageVersion = "103.22.1";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -162,7 +162,7 @@ export const TELEPOINTER_DIM_CLASS = 'telepointer-dim';
|
|
|
162
162
|
// ED-22557: Safely convert to object styling
|
|
163
163
|
// Disable top: -14px since it is necessary to align to cursor
|
|
164
164
|
// 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
|
|
165
|
-
export const
|
|
165
|
+
export const telepointerStyleWithInitialOnly = css`
|
|
166
166
|
.ProseMirror .telepointer {
|
|
167
167
|
position: relative;
|
|
168
168
|
transition: opacity 200ms;
|
|
@@ -193,6 +193,72 @@ export const telepointerStyle = css`
|
|
|
193
193
|
${participantColors.map((participantColor, index) => telepointerColorStyle(participantColor.backgroundColor, participantColor.textColor, index))};
|
|
194
194
|
}
|
|
195
195
|
`;
|
|
196
|
+
|
|
197
|
+
// ED-22557: Safely convert to object styling
|
|
198
|
+
// Disable top: -14px since it is necessary to align to cursor
|
|
199
|
+
// 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
|
|
200
|
+
export const telepointerStyle = css`
|
|
201
|
+
.ProseMirror .telepointer {
|
|
202
|
+
position: relative;
|
|
203
|
+
transition: opacity 200ms;
|
|
204
|
+
|
|
205
|
+
&.telepointer-selection:not(.inlineNodeView) {
|
|
206
|
+
line-height: 1.2;
|
|
207
|
+
pointer-events: none;
|
|
208
|
+
user-select: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
&.telepointer-selection-badge {
|
|
212
|
+
.telepointer-initial,
|
|
213
|
+
.telepointer-fullname {
|
|
214
|
+
position: absolute;
|
|
215
|
+
display: block;
|
|
216
|
+
user-select: none;
|
|
217
|
+
white-space: pre;
|
|
218
|
+
top: -14px;
|
|
219
|
+
left: 0px;
|
|
220
|
+
font: ${"var(--ds-font-body-small, normal 400 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)"};
|
|
221
|
+
padding-left: ${"var(--ds-space-050, 4px)"};
|
|
222
|
+
padding-right: ${"var(--ds-space-050, 4px)"};
|
|
223
|
+
color: ${"var(--ds-text-inverse, #FFFFFF)"};
|
|
224
|
+
border-radius: 0 2px 2px 0;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
.telepointer-initial {
|
|
228
|
+
opacity: 1;
|
|
229
|
+
transition: opacity 0.15s ease-out;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.telepointer-fullname {
|
|
233
|
+
opacity: 0;
|
|
234
|
+
transform: scaleX(0);
|
|
235
|
+
transform-origin: left;
|
|
236
|
+
transition:
|
|
237
|
+
transform 0.15s ease-out,
|
|
238
|
+
opacity 0.15s ease-out;
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
&:hover {
|
|
243
|
+
.telepointer-initial {
|
|
244
|
+
opacity: 0;
|
|
245
|
+
transition-delay: 150ms;
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
.telepointer-fullname {
|
|
249
|
+
transform: scaleX(100%);
|
|
250
|
+
opacity: 1;
|
|
251
|
+
z-index: 1;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
&.${TELEPOINTER_DIM_CLASS} {
|
|
256
|
+
opacity: 0.2;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
${participantColors.map((participantColor, index) => telepointerColorStyle(participantColor.backgroundColor, participantColor.textColor, index))};
|
|
260
|
+
}
|
|
261
|
+
`;
|
|
196
262
|
const tintKey = 'collab:isDirtyTransaction';
|
|
197
263
|
export const isDirtyTransaction = tr => {
|
|
198
264
|
return Boolean(tr.getMeta(tintKey));
|
|
@@ -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 = "103.
|
|
4
|
+
const packageVersion = "103.22.1";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -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 = "103.
|
|
16
|
+
const packageVersion = "103.22.1";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
package/dist/esm/collab/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral";
|
|
2
|
-
var _templateObject;
|
|
2
|
+
var _templateObject, _templateObject2;
|
|
3
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
4
4
|
import { css } from '@emotion/react';
|
|
5
5
|
import { participantColors, relativeFontSizeToBase16 } from '@atlaskit/editor-shared-styles';
|
|
@@ -154,7 +154,14 @@ export var TELEPOINTER_DIM_CLASS = 'telepointer-dim';
|
|
|
154
154
|
// ED-22557: Safely convert to object styling
|
|
155
155
|
// Disable top: -14px since it is necessary to align to cursor
|
|
156
156
|
// 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
|
|
157
|
-
export var
|
|
157
|
+
export var telepointerStyleWithInitialOnly = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\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::after {\n\t\t\tcontent: attr(data-initial);\n\t\t\tposition: absolute;\n\t\t\tdisplay: block;\n\t\t\ttop: -14px;\n\t\t\tfont-size: ", ";\n\t\t\tpadding: ", ";\n\t\t\tcolor: ", ";\n\t\t\tleft: 0px;\n\t\t\tborder-radius: 2px 2px 2px 0;\n\t\t\tline-height: initial;\n\t\t}\n\n\t\t&.", " {\n\t\t\topacity: 0.2;\n\t\t}\n\n\t\t", ";\n\t}\n"])), relativeFontSizeToBase16(9), "var(--ds-space-025, 2px)", "var(--ds-text-inverse, #FFFFFF)", TELEPOINTER_DIM_CLASS, participantColors.map(function (participantColor, index) {
|
|
158
|
+
return telepointerColorStyle(participantColor.backgroundColor, participantColor.textColor, index);
|
|
159
|
+
}));
|
|
160
|
+
|
|
161
|
+
// ED-22557: Safely convert to object styling
|
|
162
|
+
// Disable top: -14px since it is necessary to align to cursor
|
|
163
|
+
// 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
|
|
164
|
+
export var telepointerStyle = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\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\tcolor: ", ";\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: 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&: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(100%);\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 11px/16px ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)", "var(--ds-space-050, 4px)", "var(--ds-space-050, 4px)", "var(--ds-text-inverse, #FFFFFF)", TELEPOINTER_DIM_CLASS, participantColors.map(function (participantColor, index) {
|
|
158
165
|
return telepointerColorStyle(participantColor.backgroundColor, participantColor.textColor, index);
|
|
159
166
|
}));
|
|
160
167
|
var tintKey = 'collab:isDirtyTransaction';
|
|
@@ -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 = "103.
|
|
10
|
+
var packageVersion = "103.22.1";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -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 = "103.
|
|
23
|
+
var packageVersion = "103.22.1";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -11,19 +11,21 @@ type TypeAheadItemViewedAEP = OperationalAEP<ACTION.VIEWED, ACTION_SUBJECT.TYPEA
|
|
|
11
11
|
items?: number;
|
|
12
12
|
}>;
|
|
13
13
|
type TypeAheadAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.INVOKED, ACTION_SUBJECT.TYPEAHEAD, ActionSubjectID, Attributes, undefined>;
|
|
14
|
+
type TypeAheadInputMethod = INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR
|
|
15
|
+
/**
|
|
16
|
+
* For Typeahead - Empty line prompt experiment
|
|
17
|
+
* Clean up ticket ED-24824
|
|
18
|
+
*/
|
|
19
|
+
| 'blockControl';
|
|
14
20
|
type TypeAheadClosedAttributes = {
|
|
15
21
|
inputMethod: INPUT_METHOD.KEYBOARD | INPUT_METHOD.MOUSE | null;
|
|
16
22
|
closeAction: ACTION.INSERTED | ACTION.CANCELLED | ACTION.VIEW_MORE | null;
|
|
17
23
|
hasQuery: boolean;
|
|
24
|
+
invocationMethod?: TypeAheadInputMethod | null;
|
|
18
25
|
};
|
|
19
26
|
type TypeaheadQuickInsertClosedAEP = TrackAEP<ACTION.CLOSED, ACTION_SUBJECT.TYPEAHEAD, ACTION_SUBJECT_ID.TYPEAHEAD_QUICK_INSERT, TypeAheadClosedAttributes, undefined>;
|
|
20
27
|
type TypeAheadEmojiAEP = TypeAheadAEP<ACTION_SUBJECT_ID.TYPEAHEAD_EMOJI | TypeAheadAvailableNodes.EMOJI, {
|
|
21
|
-
inputMethod:
|
|
22
|
-
/**
|
|
23
|
-
* For Typeahead - Empty line prompt experiment
|
|
24
|
-
* Clean up ticket ED-24824
|
|
25
|
-
*/
|
|
26
|
-
| 'blockControl';
|
|
28
|
+
inputMethod: TypeAheadInputMethod;
|
|
27
29
|
}>;
|
|
28
30
|
type TypeAheadLinkAEP = TypeAheadAEP<ACTION_SUBJECT_ID.TYPEAHEAD_LINK, {
|
|
29
31
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.SHORTCUT | INPUT_METHOD.FLOATING_TB
|
|
@@ -487,6 +487,7 @@ export interface CollabEventLocalStepData {
|
|
|
487
487
|
}
|
|
488
488
|
export type Color = ReturnType<typeof token>;
|
|
489
489
|
export declare const TELEPOINTER_DIM_CLASS = "telepointer-dim";
|
|
490
|
+
export declare const telepointerStyleWithInitialOnly: import("@emotion/react").SerializedStyles;
|
|
490
491
|
export declare const telepointerStyle: import("@emotion/react").SerializedStyles;
|
|
491
492
|
export declare const isDirtyTransaction: (tr: Transaction | ReadonlyTransaction) => boolean;
|
|
492
493
|
export declare const tintDirtyTransaction: (tr: Transaction) => void;
|
|
@@ -11,19 +11,21 @@ type TypeAheadItemViewedAEP = OperationalAEP<ACTION.VIEWED, ACTION_SUBJECT.TYPEA
|
|
|
11
11
|
items?: number;
|
|
12
12
|
}>;
|
|
13
13
|
type TypeAheadAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.INVOKED, ACTION_SUBJECT.TYPEAHEAD, ActionSubjectID, Attributes, undefined>;
|
|
14
|
+
type TypeAheadInputMethod = INPUT_METHOD.INSERT_MENU | INPUT_METHOD.KEYBOARD | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.TOOLBAR
|
|
15
|
+
/**
|
|
16
|
+
* For Typeahead - Empty line prompt experiment
|
|
17
|
+
* Clean up ticket ED-24824
|
|
18
|
+
*/
|
|
19
|
+
| 'blockControl';
|
|
14
20
|
type TypeAheadClosedAttributes = {
|
|
15
21
|
inputMethod: INPUT_METHOD.KEYBOARD | INPUT_METHOD.MOUSE | null;
|
|
16
22
|
closeAction: ACTION.INSERTED | ACTION.CANCELLED | ACTION.VIEW_MORE | null;
|
|
17
23
|
hasQuery: boolean;
|
|
24
|
+
invocationMethod?: TypeAheadInputMethod | null;
|
|
18
25
|
};
|
|
19
26
|
type TypeaheadQuickInsertClosedAEP = TrackAEP<ACTION.CLOSED, ACTION_SUBJECT.TYPEAHEAD, ACTION_SUBJECT_ID.TYPEAHEAD_QUICK_INSERT, TypeAheadClosedAttributes, undefined>;
|
|
20
27
|
type TypeAheadEmojiAEP = TypeAheadAEP<ACTION_SUBJECT_ID.TYPEAHEAD_EMOJI | TypeAheadAvailableNodes.EMOJI, {
|
|
21
|
-
inputMethod:
|
|
22
|
-
/**
|
|
23
|
-
* For Typeahead - Empty line prompt experiment
|
|
24
|
-
* Clean up ticket ED-24824
|
|
25
|
-
*/
|
|
26
|
-
| 'blockControl';
|
|
28
|
+
inputMethod: TypeAheadInputMethod;
|
|
27
29
|
}>;
|
|
28
30
|
type TypeAheadLinkAEP = TypeAheadAEP<ACTION_SUBJECT_ID.TYPEAHEAD_LINK, {
|
|
29
31
|
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.INSERT_MENU | INPUT_METHOD.QUICK_INSERT | INPUT_METHOD.SHORTCUT | INPUT_METHOD.FLOATING_TB
|
|
@@ -487,6 +487,7 @@ export interface CollabEventLocalStepData {
|
|
|
487
487
|
}
|
|
488
488
|
export type Color = ReturnType<typeof token>;
|
|
489
489
|
export declare const TELEPOINTER_DIM_CLASS = "telepointer-dim";
|
|
490
|
+
export declare const telepointerStyleWithInitialOnly: import("@emotion/react").SerializedStyles;
|
|
490
491
|
export declare const telepointerStyle: import("@emotion/react").SerializedStyles;
|
|
491
492
|
export declare const isDirtyTransaction: (tr: Transaction | ReadonlyTransaction) => boolean;
|
|
492
493
|
export declare const tintDirtyTransaction: (tr: Transaction) => void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "103.
|
|
3
|
+
"version": "103.22.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/"
|
|
@@ -155,11 +155,11 @@
|
|
|
155
155
|
"@atlaskit/onboarding": "^14.0.0",
|
|
156
156
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
157
157
|
"@atlaskit/popper": "^7.0.0",
|
|
158
|
-
"@atlaskit/primitives": "^14.
|
|
158
|
+
"@atlaskit/primitives": "^14.6.0",
|
|
159
159
|
"@atlaskit/profilecard": "^23.10.0",
|
|
160
160
|
"@atlaskit/react-ufo": "^3.9.0",
|
|
161
161
|
"@atlaskit/section-message": "^8.2.0",
|
|
162
|
-
"@atlaskit/smart-card": "^36.
|
|
162
|
+
"@atlaskit/smart-card": "^36.13.0",
|
|
163
163
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
164
164
|
"@atlaskit/spinner": "^18.0.0",
|
|
165
165
|
"@atlaskit/task-decision": "^19.2.0",
|