@atlaskit/editor-plugin-toolbar-lists-indentation 1.14.10 → 1.14.12

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,21 @@
1
1
  # @atlaskit/editor-plugin-toolbar-lists-indentation
2
2
 
3
+ ## 1.14.12
4
+
5
+ ### Patch Changes
6
+
7
+ - [#105009](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/105009)
8
+ [`a4039ebf7ed11`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a4039ebf7ed11) -
9
+ [ux] Implement variant 2 cohorts experience for platform_editor_contextual_formatting_toolbar_v2
10
+ experiment
11
+ - Updated dependencies
12
+
13
+ ## 1.14.11
14
+
15
+ ### Patch Changes
16
+
17
+ - Updated dependencies
18
+
3
19
  ## 1.14.10
4
20
 
5
21
  ### Patch Changes
@@ -62,6 +62,8 @@ var toolbarListsIndentationPlugin = exports.toolbarListsIndentationPlugin = func
62
62
  selectionToolbar: function selectionToolbar() {
63
63
  if ((0, _experiments.editorExperiment)('contextual_formatting_toolbar', true, {
64
64
  exposure: true
65
+ }) || (0, _experiments.editorExperiment)('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
66
+ exposure: true
65
67
  })) {
66
68
  var toolbarCustom = {
67
69
  type: 'custom',
@@ -51,6 +51,8 @@ export const toolbarListsIndentationPlugin = ({
51
51
  selectionToolbar() {
52
52
  if (editorExperiment('contextual_formatting_toolbar', true, {
53
53
  exposure: true
54
+ }) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
55
+ exposure: true
54
56
  })) {
55
57
  const toolbarCustom = {
56
58
  type: 'custom',
@@ -51,6 +51,8 @@ export var toolbarListsIndentationPlugin = function toolbarListsIndentationPlugi
51
51
  selectionToolbar: function selectionToolbar() {
52
52
  if (editorExperiment('contextual_formatting_toolbar', true, {
53
53
  exposure: true
54
+ }) || editorExperiment('platform_editor_contextual_formatting_toolbar_v2', 'variant2', {
55
+ exposure: true
54
56
  })) {
55
57
  var toolbarCustom = {
56
58
  type: 'custom',
@@ -9,15 +9,16 @@ type Config = {
9
9
  showIndentationButtons: boolean;
10
10
  allowHeadingAndParagraphIndentation: boolean;
11
11
  };
12
+ export type ToolbarListsIndentationPluginDependencies = [
13
+ OptionalPlugin<FeatureFlagsPlugin>,
14
+ ListPlugin,
15
+ OptionalPlugin<IndentationPlugin>,
16
+ OptionalPlugin<TasksAndDecisionsPlugin>,
17
+ OptionalPlugin<AnalyticsPlugin>,
18
+ OptionalPlugin<PrimaryToolbarPlugin>
19
+ ];
12
20
  export type ToolbarListsIndentationPlugin = NextEditorPlugin<'toolbarListsIndentation', {
13
21
  pluginConfiguration: Config;
14
- dependencies: [
15
- OptionalPlugin<FeatureFlagsPlugin>,
16
- ListPlugin,
17
- OptionalPlugin<IndentationPlugin>,
18
- OptionalPlugin<TasksAndDecisionsPlugin>,
19
- OptionalPlugin<AnalyticsPlugin>,
20
- OptionalPlugin<PrimaryToolbarPlugin>
21
- ];
22
+ dependencies: ToolbarListsIndentationPluginDependencies;
22
23
  }>;
23
24
  export {};
@@ -9,15 +9,16 @@ type Config = {
9
9
  showIndentationButtons: boolean;
10
10
  allowHeadingAndParagraphIndentation: boolean;
11
11
  };
12
+ export type ToolbarListsIndentationPluginDependencies = [
13
+ OptionalPlugin<FeatureFlagsPlugin>,
14
+ ListPlugin,
15
+ OptionalPlugin<IndentationPlugin>,
16
+ OptionalPlugin<TasksAndDecisionsPlugin>,
17
+ OptionalPlugin<AnalyticsPlugin>,
18
+ OptionalPlugin<PrimaryToolbarPlugin>
19
+ ];
12
20
  export type ToolbarListsIndentationPlugin = NextEditorPlugin<'toolbarListsIndentation', {
13
21
  pluginConfiguration: Config;
14
- dependencies: [
15
- OptionalPlugin<FeatureFlagsPlugin>,
16
- ListPlugin,
17
- OptionalPlugin<IndentationPlugin>,
18
- OptionalPlugin<TasksAndDecisionsPlugin>,
19
- OptionalPlugin<AnalyticsPlugin>,
20
- OptionalPlugin<PrimaryToolbarPlugin>
21
- ];
22
+ dependencies: ToolbarListsIndentationPluginDependencies;
22
23
  }>;
23
24
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/editor-plugin-toolbar-lists-indentation",
3
- "version": "1.14.10",
3
+ "version": "1.14.12",
4
4
  "description": "Toolbar lists and indentation plugin for @atlaskit/editor-core",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -31,8 +31,8 @@
31
31
  ".": "./src/index.ts"
32
32
  },
33
33
  "dependencies": {
34
- "@atlaskit/editor-common": "^99.0.0",
35
- "@atlaskit/editor-plugin-analytics": "^1.10.0",
34
+ "@atlaskit/editor-common": "^99.5.0",
35
+ "@atlaskit/editor-plugin-analytics": "^1.11.0",
36
36
  "@atlaskit/editor-plugin-block-type": "^4.1.0",
37
37
  "@atlaskit/editor-plugin-feature-flags": "^1.2.0",
38
38
  "@atlaskit/editor-plugin-indentation": "^1.8.0",
@@ -41,10 +41,10 @@
41
41
  "@atlaskit/editor-plugin-tasks-and-decisions": "^2.12.0",
42
42
  "@atlaskit/editor-prosemirror": "6.2.1",
43
43
  "@atlaskit/editor-shared-styles": "^3.2.0",
44
- "@atlaskit/icon": "^23.3.0",
44
+ "@atlaskit/icon": "^23.4.0",
45
45
  "@atlaskit/platform-feature-flags": "^0.3.0",
46
- "@atlaskit/tmp-editor-statsig": "^2.33.0",
47
- "@atlaskit/tokens": "3.0.0",
46
+ "@atlaskit/tmp-editor-statsig": "^2.39.0",
47
+ "@atlaskit/tokens": "3.2.0",
48
48
  "@babel/runtime": "^7.0.0",
49
49
  "@emotion/react": "^11.7.1"
50
50
  },