@atlaskit/editor-common 111.2.1 → 111.4.0
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 +23 -0
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/ResizerLegacy/index.js +1 -3
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/ResizerLegacy/index.js +1 -3
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/ResizerLegacy/index.js +1 -3
- package/dist/types/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/enums.d.ts +1 -0
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-common
|
|
2
2
|
|
|
3
|
+
## 111.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`e8f5c745198b6`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e8f5c745198b6) -
|
|
8
|
+
add sampled "renderer rendered" event
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- Updated dependencies
|
|
13
|
+
|
|
14
|
+
## 111.3.0
|
|
15
|
+
|
|
16
|
+
### Minor Changes
|
|
17
|
+
|
|
18
|
+
- [`77df724ec737e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/77df724ec737e) -
|
|
19
|
+
[https://product-fabric.atlassian.net/browse/ED-28631](ED-28631) - cleanup the
|
|
20
|
+
platform_editor_smart_card_otp Statsig experiment
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
3
26
|
## 111.2.1
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -146,6 +146,7 @@ var ACTION = exports.ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
146
146
|
ACTION["VISITED"] = "visited";
|
|
147
147
|
ACTION["WITH_PLUGIN_STATE_CALLED"] = "withPluginStateCalled";
|
|
148
148
|
ACTION["RENDERED"] = "rendered";
|
|
149
|
+
ACTION["RENDERED_SAMPLED"] = "renderedSampled";
|
|
149
150
|
ACTION["ON_EDITOR_READY_CALLBACK"] = "onEditorReadyCallback";
|
|
150
151
|
/**
|
|
151
152
|
* @private
|
|
@@ -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.3.0";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "
|
|
27
|
+
var packageVersion = "111.3.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -15,7 +15,6 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
15
15
|
var _classnames = _interopRequireDefault(require("classnames"));
|
|
16
16
|
var _reResizable = require("re-resizable");
|
|
17
17
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
18
|
-
var _expValEquals = require("@atlaskit/tmp-editor-statsig/exp-val-equals");
|
|
19
18
|
var _analytics = require("../../analytics");
|
|
20
19
|
var _styles = require("../../styles");
|
|
21
20
|
var _utils = require("../../utils");
|
|
@@ -190,8 +189,7 @@ var Resizer = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
|
190
189
|
pointerEvents: 'none'
|
|
191
190
|
};
|
|
192
191
|
}
|
|
193
|
-
var nonZeroWidth =
|
|
194
|
-
: width;
|
|
192
|
+
var nonZeroWidth = width || '100%'; // In SSR width could be 0 initially
|
|
195
193
|
|
|
196
194
|
// Ideally, Resizable would let you pass in the component rather than
|
|
197
195
|
// the div. For now, we just apply the same styles using CSS
|
|
@@ -140,6 +140,7 @@ export let ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
140
140
|
ACTION["VISITED"] = "visited";
|
|
141
141
|
ACTION["WITH_PLUGIN_STATE_CALLED"] = "withPluginStateCalled";
|
|
142
142
|
ACTION["RENDERED"] = "rendered";
|
|
143
|
+
ACTION["RENDERED_SAMPLED"] = "renderedSampled";
|
|
143
144
|
ACTION["ON_EDITOR_READY_CALLBACK"] = "onEditorReadyCallback";
|
|
144
145
|
/**
|
|
145
146
|
* @private
|
|
@@ -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.3.0";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "
|
|
17
|
+
const packageVersion = "111.3.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -3,7 +3,6 @@ import React from 'react';
|
|
|
3
3
|
import classnames from 'classnames';
|
|
4
4
|
import { Resizable } from 're-resizable';
|
|
5
5
|
import { akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles';
|
|
6
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
7
6
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../analytics';
|
|
8
7
|
import { richMediaClassName } from '../../styles';
|
|
9
8
|
import { gridTypeForLayout } from '../../utils';
|
|
@@ -181,8 +180,7 @@ export default class Resizer extends React.Component {
|
|
|
181
180
|
pointerEvents: 'none'
|
|
182
181
|
};
|
|
183
182
|
}
|
|
184
|
-
const nonZeroWidth =
|
|
185
|
-
: width;
|
|
183
|
+
const nonZeroWidth = width || '100%'; // In SSR width could be 0 initially
|
|
186
184
|
|
|
187
185
|
// Ideally, Resizable would let you pass in the component rather than
|
|
188
186
|
// the div. For now, we just apply the same styles using CSS
|
|
@@ -140,6 +140,7 @@ export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
|
140
140
|
ACTION["VISITED"] = "visited";
|
|
141
141
|
ACTION["WITH_PLUGIN_STATE_CALLED"] = "withPluginStateCalled";
|
|
142
142
|
ACTION["RENDERED"] = "rendered";
|
|
143
|
+
ACTION["RENDERED_SAMPLED"] = "renderedSampled";
|
|
143
144
|
ACTION["ON_EDITOR_READY_CALLBACK"] = "onEditorReadyCallback";
|
|
144
145
|
/**
|
|
145
146
|
* @private
|
|
@@ -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.3.0";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "
|
|
24
|
+
var packageVersion = "111.3.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -12,7 +12,6 @@ import React from 'react';
|
|
|
12
12
|
import classnames from 'classnames';
|
|
13
13
|
import { Resizable } from 're-resizable';
|
|
14
14
|
import { akRichMediaResizeZIndex } from '@atlaskit/editor-shared-styles';
|
|
15
|
-
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
16
15
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../../analytics';
|
|
17
16
|
import { richMediaClassName } from '../../styles';
|
|
18
17
|
import { gridTypeForLayout } from '../../utils';
|
|
@@ -183,8 +182,7 @@ var Resizer = /*#__PURE__*/function (_React$Component) {
|
|
|
183
182
|
pointerEvents: 'none'
|
|
184
183
|
};
|
|
185
184
|
}
|
|
186
|
-
var nonZeroWidth =
|
|
187
|
-
: width;
|
|
185
|
+
var nonZeroWidth = width || '100%'; // In SSR width could be 0 initially
|
|
188
186
|
|
|
189
187
|
// Ideally, Resizable would let you pass in the component rather than
|
|
190
188
|
// the div. For now, we just apply the same styles using CSS
|
|
@@ -139,6 +139,7 @@ export declare enum ACTION {
|
|
|
139
139
|
VISITED = "visited",
|
|
140
140
|
WITH_PLUGIN_STATE_CALLED = "withPluginStateCalled",
|
|
141
141
|
RENDERED = "rendered",
|
|
142
|
+
RENDERED_SAMPLED = "renderedSampled",
|
|
142
143
|
ON_EDITOR_READY_CALLBACK = "onEditorReadyCallback",
|
|
143
144
|
/**
|
|
144
145
|
* @private
|
|
@@ -139,6 +139,7 @@ export declare enum ACTION {
|
|
|
139
139
|
VISITED = "visited",
|
|
140
140
|
WITH_PLUGIN_STATE_CALLED = "withPluginStateCalled",
|
|
141
141
|
RENDERED = "rendered",
|
|
142
|
+
RENDERED_SAMPLED = "renderedSampled",
|
|
142
143
|
ON_EDITOR_READY_CALLBACK = "onEditorReadyCallback",
|
|
143
144
|
/**
|
|
144
145
|
* @private
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-common",
|
|
3
|
-
"version": "111.
|
|
3
|
+
"version": "111.4.0",
|
|
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/"
|
|
@@ -74,15 +74,15 @@
|
|
|
74
74
|
"@atlaskit/prosemirror-history": "^0.2.0",
|
|
75
75
|
"@atlaskit/react-ufo": "^4.16.0",
|
|
76
76
|
"@atlaskit/section-message": "^8.11.0",
|
|
77
|
-
"@atlaskit/smart-card": "^43.
|
|
77
|
+
"@atlaskit/smart-card": "^43.19.0",
|
|
78
78
|
"@atlaskit/smart-user-picker": "^8.6.0",
|
|
79
79
|
"@atlaskit/spinner": "^19.0.0",
|
|
80
80
|
"@atlaskit/status": "^3.0.0",
|
|
81
81
|
"@atlaskit/task-decision": "^19.2.0",
|
|
82
82
|
"@atlaskit/textfield": "^8.2.0",
|
|
83
83
|
"@atlaskit/theme": "^21.0.0",
|
|
84
|
-
"@atlaskit/tmp-editor-statsig": "^16.
|
|
85
|
-
"@atlaskit/tokens": "^9.
|
|
84
|
+
"@atlaskit/tmp-editor-statsig": "^16.7.0",
|
|
85
|
+
"@atlaskit/tokens": "^9.1.0",
|
|
86
86
|
"@atlaskit/tooltip": "^20.11.0",
|
|
87
87
|
"@atlaskit/width-detector": "^5.0.0",
|
|
88
88
|
"@babel/runtime": "^7.0.0",
|