@atlaskit/editor-plugin-primary-toolbar 17.0.7 → 17.0.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
CHANGED
|
@@ -6,13 +6,13 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.getToolbarComponents = void 0;
|
|
8
8
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
|
-
var
|
|
9
|
+
var _editorExperiment = require("@atlaskit/tmp-editor-statsig/editor-experiment");
|
|
10
10
|
var getToolbarComponents = exports.getToolbarComponents = function getToolbarComponents(_ref) {
|
|
11
11
|
var componentRegistry = _ref.componentRegistry,
|
|
12
12
|
editorState = _ref.editorState,
|
|
13
13
|
contextualFormattingEnabled = _ref.contextualFormattingEnabled;
|
|
14
14
|
var configuration;
|
|
15
|
-
if (contextualFormattingEnabled && (0,
|
|
15
|
+
if (contextualFormattingEnabled && (0, _editorExperiment.editorExperiment)('platform_editor_controls', 'variant1', {
|
|
16
16
|
exposure: true
|
|
17
17
|
})) {
|
|
18
18
|
configuration = toolbarConfigurationV2(true);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
|
|
2
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/
|
|
2
|
+
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
|
|
3
3
|
export var getToolbarComponents = function getToolbarComponents(_ref) {
|
|
4
4
|
var componentRegistry = _ref.componentRegistry,
|
|
5
5
|
editorState = _ref.editorState,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/editor-plugin-primary-toolbar",
|
|
3
|
-
"version": "17.0.
|
|
3
|
+
"version": "17.0.9",
|
|
4
4
|
"description": "Primary toolbar plugin for @atlaskit/editor-core",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"atlaskit:src": "src/index.ts",
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@atlaskit/editor-prosemirror": "^8.0.0",
|
|
28
|
-
"@atlaskit/platform-feature-flags": "^2.
|
|
29
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
28
|
+
"@atlaskit/platform-feature-flags": "^2.2.0",
|
|
29
|
+
"@atlaskit/tmp-editor-statsig": "^169.0.0",
|
|
30
30
|
"@babel/runtime": "^7.0.0",
|
|
31
31
|
"@emotion/react": "^11.7.1"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
34
|
-
"@atlaskit/editor-common": "^120.
|
|
34
|
+
"@atlaskit/editor-common": "^120.10.0",
|
|
35
35
|
"react": "^18.2.0 || ^19.2.0"
|
|
36
36
|
},
|
|
37
37
|
"techstack": {
|