@atlaskit/editor-plugin-metrics 16.0.13 → 16.0.14
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
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/editor-plugin-metrics
|
|
2
2
|
|
|
3
|
+
## 16.0.14
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`656801b9e097c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/656801b9e097c) -
|
|
8
|
+
VOLTC-331 - Migrate updated package usage in platform/editor: rewrite barrel imports of
|
|
9
|
+
voltCompliant provider packages to deep/subpath imports (consumer-side debarrel). No public API
|
|
10
|
+
changes.
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 16.0.13
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
6
|
exports.metricsPlugin = void 0;
|
|
7
|
-
var
|
|
7
|
+
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
8
8
|
var _expValEqualsNoExposure = require("@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure");
|
|
9
9
|
var _main = require("./pm-plugins/main");
|
|
10
10
|
var _analytics = require("./pm-plugins/utils/analytics");
|
|
@@ -63,7 +63,7 @@ var metricsPlugin = exports.metricsPlugin = function metricsPlugin(_ref) {
|
|
|
63
63
|
var toolbarDocking;
|
|
64
64
|
if ((0, _expValEqualsNoExposure.expValEqualsNoExposure)('platform_editor_controls', 'cohort', 'variant1')) {
|
|
65
65
|
var _api$userPreferences, _config$userPreferenc;
|
|
66
|
-
toolbarDocking = toolbarDocking = (0,
|
|
66
|
+
toolbarDocking = toolbarDocking = (0, _fg.fg)('platform_editor_use_preferences_plugin') ? api === null || api === void 0 || (_api$userPreferences = api.userPreferences) === null || _api$userPreferences === void 0 || (_api$userPreferences = _api$userPreferences.sharedState.currentState()) === null || _api$userPreferences === void 0 || (_api$userPreferences = _api$userPreferences.preferences) === null || _api$userPreferences === void 0 ? void 0 : _api$userPreferences.toolbarDockingPosition : config === null || config === void 0 || (_config$userPreferenc = config.userPreferencesProvider) === null || _config$userPreferenc === void 0 ? void 0 : _config$userPreferenc.getPreference('toolbarDockingInitialPosition');
|
|
67
67
|
}
|
|
68
68
|
var payloadToSend = (0, _analytics.getAnalyticsPayload)({
|
|
69
69
|
currentContent: tr.doc.content,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
2
2
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
3
3
|
import { createPlugin, initialPluginState, metricsKey } from './pm-plugins/main';
|
|
4
4
|
import { getAnalyticsPayload } from './pm-plugins/utils/analytics';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { fg } from '@atlaskit/platform-feature-flags';
|
|
1
|
+
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
2
2
|
import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
|
|
3
3
|
import { createPlugin, initialPluginState, metricsKey } from './pm-plugins/main';
|
|
4
4
|
import { getAnalyticsPayload } from './pm-plugins/utils/analytics';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { Step } from '@atlaskit/editor-prosemirror/transform';
|
|
1
|
+
import type { Step } from '@atlaskit/editor-prosemirror/transform-override';
|
|
2
2
|
import type { MarkChangeAction } from '../types';
|
|
3
3
|
export declare const checkMarkChanged: (step: Step) => MarkChangeAction | undefined;
|