@atlaskit/editor-common 106.1.8 → 106.1.9
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 +13 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/styles/shared/resizer.js +1 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/styles/shared/resizer.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/styles/shared/resizer.js +1 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/types/analytics/linking-utils.d.ts +1 -1
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/dist/types/analytics/types/node-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/linking-utils.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/node-events.d.ts +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 106.1.9
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#164129](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/164129)
|
|
8
|
+
[`ef34428363521`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ef34428363521) -
|
|
9
|
+
[ux] ED-28058 fix left drag handle experience for new resizing under
|
|
10
|
+
platform_editor_breakout_resizing
|
|
11
|
+
- [#163546](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/163546)
|
|
12
|
+
[`d3faab1b963ad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d3faab1b963ad) -
|
|
13
|
+
[ux] ED-28147 smart link support for cmd/ctrl click to open in new tab
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
3
16
|
## 106.1.8
|
|
4
17
|
|
|
5
18
|
### Patch Changes
|
|
@@ -227,6 +227,7 @@ var INPUT_METHOD = exports.INPUT_METHOD = /*#__PURE__*/function (INPUT_METHOD) {
|
|
|
227
227
|
INPUT_METHOD["MOUSE"] = "mouse";
|
|
228
228
|
INPUT_METHOD["BROWSER"] = "browser";
|
|
229
229
|
INPUT_METHOD["DOUBLE_CLICK"] = "doubleClick";
|
|
230
|
+
INPUT_METHOD["META_CLICK"] = "metaClick";
|
|
230
231
|
INPUT_METHOD["INLINE_SUGGESTION_FLOATING_TB"] = "inlineSuggestionFloatingToolbar";
|
|
231
232
|
return INPUT_METHOD;
|
|
232
233
|
}({});
|
|
@@ -16,7 +16,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
16
|
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); }
|
|
17
17
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
18
18
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
19
|
-
var packageVersion = "106.1.
|
|
19
|
+
var packageVersion = "106.1.9";
|
|
20
20
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
21
21
|
// Remove URL as it has UGC
|
|
22
22
|
// Ignored via go/ees007
|
|
@@ -102,6 +102,7 @@ var pragmaticResizerStyles = exports.pragmaticResizerStyles = function pragmatic
|
|
|
102
102
|
cursor: 'col-resize',
|
|
103
103
|
borderRadius: 4,
|
|
104
104
|
transition: 'background-color 0.2s, visibility 0.2s, opacity 0.2s',
|
|
105
|
+
zIndex: 2,
|
|
105
106
|
'&:hover': {
|
|
106
107
|
background: "var(--ds-background-selected, #E9F2FF)",
|
|
107
108
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -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 = "106.1.
|
|
26
|
+
var packageVersion = "106.1.9";
|
|
27
27
|
var halfFocusRing = 1;
|
|
28
28
|
var dropOffset = '0, 8';
|
|
29
29
|
// Ignored via go/ees005
|
|
@@ -221,6 +221,7 @@ export let INPUT_METHOD = /*#__PURE__*/function (INPUT_METHOD) {
|
|
|
221
221
|
INPUT_METHOD["MOUSE"] = "mouse";
|
|
222
222
|
INPUT_METHOD["BROWSER"] = "browser";
|
|
223
223
|
INPUT_METHOD["DOUBLE_CLICK"] = "doubleClick";
|
|
224
|
+
INPUT_METHOD["META_CLICK"] = "metaClick";
|
|
224
225
|
INPUT_METHOD["INLINE_SUGGESTION_FLOATING_TB"] = "inlineSuggestionFloatingToolbar";
|
|
225
226
|
return INPUT_METHOD;
|
|
226
227
|
}({});
|
|
@@ -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 = "106.1.
|
|
4
|
+
const packageVersion = "106.1.9";
|
|
5
5
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
6
6
|
// Remove URL as it has UGC
|
|
7
7
|
// Ignored via go/ees007
|
|
@@ -297,6 +297,7 @@ export const pragmaticResizerStyles = () => {
|
|
|
297
297
|
cursor: 'col-resize',
|
|
298
298
|
borderRadius: 4,
|
|
299
299
|
transition: 'background-color 0.2s, visibility 0.2s, opacity 0.2s',
|
|
300
|
+
zIndex: 2,
|
|
300
301
|
'&:hover': {
|
|
301
302
|
background: "var(--ds-background-selected, #E9F2FF)",
|
|
302
303
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -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 = "106.1.
|
|
16
|
+
const packageVersion = "106.1.9";
|
|
17
17
|
const halfFocusRing = 1;
|
|
18
18
|
const dropOffset = '0, 8';
|
|
19
19
|
// Ignored via go/ees005
|
|
@@ -221,6 +221,7 @@ export var INPUT_METHOD = /*#__PURE__*/function (INPUT_METHOD) {
|
|
|
221
221
|
INPUT_METHOD["MOUSE"] = "mouse";
|
|
222
222
|
INPUT_METHOD["BROWSER"] = "browser";
|
|
223
223
|
INPUT_METHOD["DOUBLE_CLICK"] = "doubleClick";
|
|
224
|
+
INPUT_METHOD["META_CLICK"] = "metaClick";
|
|
224
225
|
INPUT_METHOD["INLINE_SUGGESTION_FLOATING_TB"] = "inlineSuggestionFloatingToolbar";
|
|
225
226
|
return INPUT_METHOD;
|
|
226
227
|
}({});
|
|
@@ -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 = "106.1.
|
|
10
|
+
var packageVersion = "106.1.9";
|
|
11
11
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
12
12
|
// Remove URL as it has UGC
|
|
13
13
|
// Ignored via go/ees007
|
|
@@ -96,6 +96,7 @@ export var pragmaticResizerStyles = function pragmaticResizerStyles() {
|
|
|
96
96
|
cursor: 'col-resize',
|
|
97
97
|
borderRadius: 4,
|
|
98
98
|
transition: 'background-color 0.2s, visibility 0.2s, opacity 0.2s',
|
|
99
|
+
zIndex: 2,
|
|
99
100
|
'&:hover': {
|
|
100
101
|
background: "var(--ds-background-selected, #E9F2FF)",
|
|
101
102
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-nested-selectors
|
|
@@ -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 = "106.1.
|
|
23
|
+
var packageVersion = "106.1.9";
|
|
24
24
|
var halfFocusRing = 1;
|
|
25
25
|
var dropOffset = '0, 8';
|
|
26
26
|
// Ignored via go/ees005
|
|
@@ -3,7 +3,7 @@ import type { AnalyticsEventPayload } from './types/events';
|
|
|
3
3
|
export declare const buildEditLinkPayload: (type: LinkType) => AnalyticsEventPayload;
|
|
4
4
|
export type LinkType = ACTION_SUBJECT_ID.CARD_INLINE | ACTION_SUBJECT_ID.CARD_BLOCK | ACTION_SUBJECT_ID.EMBEDS | ACTION_SUBJECT_ID.HYPERLINK;
|
|
5
5
|
export declare const buildVisitedLinkPayload: (type: LinkType) => AnalyticsEventPayload;
|
|
6
|
-
export declare const buildVisitedNonHyperLinkPayload: (type: LinkType, inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.BUTTON | INPUT_METHOD.DOUBLE_CLICK | INPUT_METHOD.FLOATING_TB) => AnalyticsEventPayload;
|
|
6
|
+
export declare const buildVisitedNonHyperLinkPayload: (type: LinkType, inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.BUTTON | INPUT_METHOD.DOUBLE_CLICK | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.META_CLICK) => AnalyticsEventPayload;
|
|
7
7
|
export declare const buildOpenedSettingsPayload: (type: LinkType) => AnalyticsEventPayload;
|
|
8
8
|
export declare const unlinkPayload: (type: LinkType) => {
|
|
9
9
|
action: ACTION;
|
|
@@ -219,6 +219,7 @@ export declare enum INPUT_METHOD {
|
|
|
219
219
|
MOUSE = "mouse",
|
|
220
220
|
BROWSER = "browser",
|
|
221
221
|
DOUBLE_CLICK = "doubleClick",
|
|
222
|
+
META_CLICK = "metaClick",
|
|
222
223
|
INLINE_SUGGESTION_FLOATING_TB = "inlineSuggestionFloatingToolbar"
|
|
223
224
|
}
|
|
224
225
|
export declare enum INSERT_MEDIA_VIA {
|
|
@@ -28,7 +28,7 @@ type ChangeSmartLinkAEP = ChangeTypeAEP<ACTION_SUBJECT.SMART_LINK, undefined, {
|
|
|
28
28
|
previousType: SMART_LINK_TYPE;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
type VisitedSmartLink = TrackAEP<ACTION.VISITED, ACTION_SUBJECT.SMART_LINK, ACTION_SUBJECT_ID.CARD_BLOCK | ACTION_SUBJECT_ID.CARD_INLINE, {
|
|
31
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.BUTTON | INPUT_METHOD.CARD | INPUT_METHOD.DOUBLE_CLICK;
|
|
31
|
+
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.BUTTON | INPUT_METHOD.CARD | INPUT_METHOD.DOUBLE_CLICK | INPUT_METHOD.META_CLICK;
|
|
32
32
|
}, undefined>;
|
|
33
33
|
type VisitedHyperlink = TrackAEP<ACTION.VISITED, ACTION_SUBJECT.HYPERLINK, undefined, {
|
|
34
34
|
inputMethod: INPUT_METHOD.TOOLBAR;
|
|
@@ -3,7 +3,7 @@ import type { AnalyticsEventPayload } from './types/events';
|
|
|
3
3
|
export declare const buildEditLinkPayload: (type: LinkType) => AnalyticsEventPayload;
|
|
4
4
|
export type LinkType = ACTION_SUBJECT_ID.CARD_INLINE | ACTION_SUBJECT_ID.CARD_BLOCK | ACTION_SUBJECT_ID.EMBEDS | ACTION_SUBJECT_ID.HYPERLINK;
|
|
5
5
|
export declare const buildVisitedLinkPayload: (type: LinkType) => AnalyticsEventPayload;
|
|
6
|
-
export declare const buildVisitedNonHyperLinkPayload: (type: LinkType, inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.BUTTON | INPUT_METHOD.DOUBLE_CLICK | INPUT_METHOD.FLOATING_TB) => AnalyticsEventPayload;
|
|
6
|
+
export declare const buildVisitedNonHyperLinkPayload: (type: LinkType, inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.BUTTON | INPUT_METHOD.DOUBLE_CLICK | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.META_CLICK) => AnalyticsEventPayload;
|
|
7
7
|
export declare const buildOpenedSettingsPayload: (type: LinkType) => AnalyticsEventPayload;
|
|
8
8
|
export declare const unlinkPayload: (type: LinkType) => {
|
|
9
9
|
action: ACTION;
|
|
@@ -219,6 +219,7 @@ export declare enum INPUT_METHOD {
|
|
|
219
219
|
MOUSE = "mouse",
|
|
220
220
|
BROWSER = "browser",
|
|
221
221
|
DOUBLE_CLICK = "doubleClick",
|
|
222
|
+
META_CLICK = "metaClick",
|
|
222
223
|
INLINE_SUGGESTION_FLOATING_TB = "inlineSuggestionFloatingToolbar"
|
|
223
224
|
}
|
|
224
225
|
export declare enum INSERT_MEDIA_VIA {
|
|
@@ -28,7 +28,7 @@ type ChangeSmartLinkAEP = ChangeTypeAEP<ACTION_SUBJECT.SMART_LINK, undefined, {
|
|
|
28
28
|
previousType: SMART_LINK_TYPE;
|
|
29
29
|
}, undefined>;
|
|
30
30
|
type VisitedSmartLink = TrackAEP<ACTION.VISITED, ACTION_SUBJECT.SMART_LINK, ACTION_SUBJECT_ID.CARD_BLOCK | ACTION_SUBJECT_ID.CARD_INLINE, {
|
|
31
|
-
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.BUTTON | INPUT_METHOD.CARD | INPUT_METHOD.DOUBLE_CLICK;
|
|
31
|
+
inputMethod: INPUT_METHOD.TOOLBAR | INPUT_METHOD.FLOATING_TB | INPUT_METHOD.BUTTON | INPUT_METHOD.CARD | INPUT_METHOD.DOUBLE_CLICK | INPUT_METHOD.META_CLICK;
|
|
32
32
|
}, undefined>;
|
|
33
33
|
type VisitedHyperlink = TrackAEP<ACTION.VISITED, ACTION_SUBJECT.HYPERLINK, undefined, {
|
|
34
34
|
inputMethod: INPUT_METHOD.TOOLBAR;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "106.1.
|
|
3
|
+
"version": "106.1.9",
|
|
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/"
|
|
@@ -163,15 +163,15 @@
|
|
|
163
163
|
"@atlaskit/profilecard": "^23.16.0",
|
|
164
164
|
"@atlaskit/react-ufo": "^3.13.0",
|
|
165
165
|
"@atlaskit/section-message": "^8.2.0",
|
|
166
|
-
"@atlaskit/smart-card": "^38.
|
|
166
|
+
"@atlaskit/smart-card": "^38.6.0",
|
|
167
167
|
"@atlaskit/smart-user-picker": "^8.0.0",
|
|
168
168
|
"@atlaskit/spinner": "^18.0.0",
|
|
169
169
|
"@atlaskit/task-decision": "^19.2.0",
|
|
170
170
|
"@atlaskit/textfield": "^8.0.0",
|
|
171
171
|
"@atlaskit/theme": "^18.0.0",
|
|
172
|
-
"@atlaskit/tmp-editor-statsig": "^5.
|
|
172
|
+
"@atlaskit/tmp-editor-statsig": "^5.10.0",
|
|
173
173
|
"@atlaskit/tokens": "^5.0.0",
|
|
174
|
-
"@atlaskit/tooltip": "^20.
|
|
174
|
+
"@atlaskit/tooltip": "^20.3.0",
|
|
175
175
|
"@atlaskit/width-detector": "^5.0.0",
|
|
176
176
|
"@babel/runtime": "^7.0.0",
|
|
177
177
|
"@compiled/react": "^0.18.3",
|