@atlaskit/editor-plugin-toolbar-lists-indentation 3.1.3 → 3.1.5

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,20 @@
1
1
  # @atlaskit/editor-plugin-toolbar-lists-indentation
2
2
 
3
+ ## 3.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [#126126](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/126126)
8
+ [`468f52001a847`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/468f52001a847) -
9
+ Tidy up contextual formatting toolbar experiment and switch to `platform_editor_controls` flag
10
+ - Updated dependencies
11
+
12
+ ## 3.1.4
13
+
14
+ ### Patch Changes
15
+
16
+ - Updated dependencies
17
+
3
18
  ## 3.1.3
4
19
 
5
20
  ### Patch Changes
@@ -60,16 +60,7 @@ var toolbarListsIndentationPlugin = exports.toolbarListsIndentationPlugin = func
60
60
  pluginsOptions: {
61
61
  selectionToolbar: function selectionToolbar() {
62
62
  var _api$selectionToolbar;
63
- if ((api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking) === 'top' && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
64
- exposure: true
65
- })) {
66
- return undefined;
67
- }
68
- if ((0, _experiments.editorExperiment)('contextual_formatting_toolbar', true, {
69
- exposure: true
70
- }) || (0, _experiments.editorExperiment)('platform_editor_contextual_formatting_toolbar_v2', 'variant1', {
71
- exposure: true
72
- }) || (0, _experiments.editorExperiment)('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
63
+ if ((api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking) === 'none' && (0, _experiments.editorExperiment)('platform_editor_controls', 'variant1', {
73
64
  exposure: true
74
65
  })) {
75
66
  var toolbarCustom = {
@@ -49,16 +49,7 @@ export const toolbarListsIndentationPlugin = ({
49
49
  pluginsOptions: {
50
50
  selectionToolbar() {
51
51
  var _api$selectionToolbar, _api$selectionToolbar2, _api$selectionToolbar3;
52
- if ((api === null || api === void 0 ? void 0 : (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 ? void 0 : (_api$selectionToolbar2 = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar2 === void 0 ? void 0 : (_api$selectionToolbar3 = _api$selectionToolbar2.currentState()) === null || _api$selectionToolbar3 === void 0 ? void 0 : _api$selectionToolbar3.toolbarDocking) === 'top' && editorExperiment('platform_editor_controls', 'variant1', {
53
- exposure: true
54
- })) {
55
- return undefined;
56
- }
57
- if (editorExperiment('contextual_formatting_toolbar', true, {
58
- exposure: true
59
- }) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant1', {
60
- exposure: true
61
- }) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
52
+ if ((api === null || api === void 0 ? void 0 : (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 ? void 0 : (_api$selectionToolbar2 = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar2 === void 0 ? void 0 : (_api$selectionToolbar3 = _api$selectionToolbar2.currentState()) === null || _api$selectionToolbar3 === void 0 ? void 0 : _api$selectionToolbar3.toolbarDocking) === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
62
53
  exposure: true
63
54
  })) {
64
55
  const toolbarCustom = {
@@ -49,16 +49,7 @@ export var toolbarListsIndentationPlugin = function toolbarListsIndentationPlugi
49
49
  pluginsOptions: {
50
50
  selectionToolbar: function selectionToolbar() {
51
51
  var _api$selectionToolbar;
52
- if ((api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking) === 'top' && editorExperiment('platform_editor_controls', 'variant1', {
53
- exposure: true
54
- })) {
55
- return undefined;
56
- }
57
- if (editorExperiment('contextual_formatting_toolbar', true, {
58
- exposure: true
59
- }) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant1', {
60
- exposure: true
61
- }) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
52
+ if ((api === null || api === void 0 || (_api$selectionToolbar = api.selectionToolbar) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.sharedState) === null || _api$selectionToolbar === void 0 || (_api$selectionToolbar = _api$selectionToolbar.currentState()) === null || _api$selectionToolbar === void 0 ? void 0 : _api$selectionToolbar.toolbarDocking) === 'none' && editorExperiment('platform_editor_controls', 'variant1', {
62
53
  exposure: true
63
54
  })) {
64
55
  var toolbarCustom = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-toolbar-lists-indentation",
3
- "version": "3.1.3",
3
+ "version": "3.1.5",
4
4
  "description": "Toolbar lists and indentation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -34,7 +34,7 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@atlaskit/css": "^0.10.0",
37
- "@atlaskit/editor-common": "^102.0.0",
37
+ "@atlaskit/editor-common": "^102.5.0",
38
38
  "@atlaskit/editor-plugin-analytics": "^2.1.0",
39
39
  "@atlaskit/editor-plugin-block-type": "^5.1.0",
40
40
  "@atlaskit/editor-plugin-feature-flags": "^1.3.0",
@@ -45,10 +45,10 @@
45
45
  "@atlaskit/editor-plugin-tasks-and-decisions": "^4.1.0",
46
46
  "@atlaskit/editor-prosemirror": "7.0.0",
47
47
  "@atlaskit/editor-shared-styles": "^3.4.0",
48
- "@atlaskit/icon": "^24.1.0",
48
+ "@atlaskit/icon": "^25.0.0",
49
49
  "@atlaskit/platform-feature-flags": "^1.1.0",
50
- "@atlaskit/tmp-editor-statsig": "^3.4.0",
51
- "@atlaskit/tokens": "^4.3.0",
50
+ "@atlaskit/tmp-editor-statsig": "^3.6.0",
51
+ "@atlaskit/tokens": "^4.5.0",
52
52
  "@babel/runtime": "^7.0.0"
53
53
  },
54
54
  "peerDependencies": {