@atlaskit/tmp-editor-statsig 4.25.0 → 5.0.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 CHANGED
@@ -1,5 +1,36 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 5.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#159655](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159655)
8
+ [`24f8c627d50f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24f8c627d50f2) - ##
9
+ WHAT? Remove experimental graceful edit mode from view mode plugin and associated props.
10
+
11
+ ## WHY?
12
+
13
+ This experiment is being cleaned up and we are no longer proceeding in this direction.
14
+
15
+ ## HOW to adjust?
16
+
17
+ This experiment was only enabled for Confluence and should not have been enabled in other places.
18
+ If for some reason any of the following props/state/methdos were used please remove them:
19
+
20
+ - isConsumption
21
+ - contentMode
22
+ - initialContentMode
23
+ - updateContentMode
24
+
25
+ ### Minor Changes
26
+
27
+ - [#160575](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/160575)
28
+ [`c340cf0e2d6c2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c340cf0e2d6c2) -
29
+ Expose emoji provider promise to initialise in the toolbar earlier.
30
+ - [#156919](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/156919)
31
+ [`379f5c27f4939`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/379f5c27f4939) -
32
+ delay table sticky headers until table is in viewport
33
+
3
34
  ## 4.25.0
4
35
 
5
36
  ### Minor Changes
@@ -64,6 +64,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
64
64
  param: 'isEnabled',
65
65
  defaultValue: false
66
66
  }),
67
+ // Added 2025-05-26
68
+ platform_editor_prevent_toolbar_layout_shifts: (0, _experimentBuilders.createBooleanExperiment)({
69
+ productKeys: {
70
+ confluence: 'platform_editor_prevent_toolbar_layout_shifts'
71
+ },
72
+ param: 'isEnabled',
73
+ defaultValue: false
74
+ }),
67
75
  // Added 2024-10-01
68
76
  comment_on_bodied_extensions: (0, _experimentBuilders.createBooleanExperiment)({
69
77
  productKeys: {
@@ -147,15 +155,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
147
155
  param: 'isEnabled',
148
156
  defaultValue: false
149
157
  }),
150
- // Added 2025-01-16
151
- live_pages_graceful_edit: (0, _experimentBuilders.createMultivariateExperiment)({
152
- productKeys: {
153
- confluence: 'live_pages_graceful_edit'
154
- },
155
- param: 'cohort',
156
- values: ['control', 'text-click-delayed', 'text-click-no-delay', 'initially-hide-toolbar'],
157
- defaultValue: 'control'
158
- }),
159
158
  // Added 2025-01-19
160
159
  platform_editor_ai_edit_response_in_preview: (0, _experimentBuilders.createBooleanExperiment)({
161
160
  productKeys: {
@@ -308,6 +307,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
308
307
  param: 'isEnabled',
309
308
  defaultValue: false
310
309
  }),
310
+ // Added 2025-05-21
311
+ platform_editor_nodevisibility: (0, _experimentBuilders.createBooleanExperiment)({
312
+ productKeys: {
313
+ confluence: 'platform_editor_nodevisibility'
314
+ },
315
+ param: 'isEnabled',
316
+ defaultValue: false
317
+ }),
311
318
  // Added 2025-05-15
312
319
  platform_editor_breakout_resizing: (0, _experimentBuilders.createBooleanExperiment)({
313
320
  productKeys: {
@@ -58,6 +58,14 @@ export const editorExperimentsConfig = {
58
58
  param: 'isEnabled',
59
59
  defaultValue: false
60
60
  }),
61
+ // Added 2025-05-26
62
+ platform_editor_prevent_toolbar_layout_shifts: createBooleanExperiment({
63
+ productKeys: {
64
+ confluence: 'platform_editor_prevent_toolbar_layout_shifts'
65
+ },
66
+ param: 'isEnabled',
67
+ defaultValue: false
68
+ }),
61
69
  // Added 2024-10-01
62
70
  comment_on_bodied_extensions: createBooleanExperiment({
63
71
  productKeys: {
@@ -141,15 +149,6 @@ export const editorExperimentsConfig = {
141
149
  param: 'isEnabled',
142
150
  defaultValue: false
143
151
  }),
144
- // Added 2025-01-16
145
- live_pages_graceful_edit: createMultivariateExperiment({
146
- productKeys: {
147
- confluence: 'live_pages_graceful_edit'
148
- },
149
- param: 'cohort',
150
- values: ['control', 'text-click-delayed', 'text-click-no-delay', 'initially-hide-toolbar'],
151
- defaultValue: 'control'
152
- }),
153
152
  // Added 2025-01-19
154
153
  platform_editor_ai_edit_response_in_preview: createBooleanExperiment({
155
154
  productKeys: {
@@ -302,6 +301,14 @@ export const editorExperimentsConfig = {
302
301
  param: 'isEnabled',
303
302
  defaultValue: false
304
303
  }),
304
+ // Added 2025-05-21
305
+ platform_editor_nodevisibility: createBooleanExperiment({
306
+ productKeys: {
307
+ confluence: 'platform_editor_nodevisibility'
308
+ },
309
+ param: 'isEnabled',
310
+ defaultValue: false
311
+ }),
305
312
  // Added 2025-05-15
306
313
  platform_editor_breakout_resizing: createBooleanExperiment({
307
314
  productKeys: {
@@ -58,6 +58,14 @@ export var editorExperimentsConfig = {
58
58
  param: 'isEnabled',
59
59
  defaultValue: false
60
60
  }),
61
+ // Added 2025-05-26
62
+ platform_editor_prevent_toolbar_layout_shifts: createBooleanExperiment({
63
+ productKeys: {
64
+ confluence: 'platform_editor_prevent_toolbar_layout_shifts'
65
+ },
66
+ param: 'isEnabled',
67
+ defaultValue: false
68
+ }),
61
69
  // Added 2024-10-01
62
70
  comment_on_bodied_extensions: createBooleanExperiment({
63
71
  productKeys: {
@@ -141,15 +149,6 @@ export var editorExperimentsConfig = {
141
149
  param: 'isEnabled',
142
150
  defaultValue: false
143
151
  }),
144
- // Added 2025-01-16
145
- live_pages_graceful_edit: createMultivariateExperiment({
146
- productKeys: {
147
- confluence: 'live_pages_graceful_edit'
148
- },
149
- param: 'cohort',
150
- values: ['control', 'text-click-delayed', 'text-click-no-delay', 'initially-hide-toolbar'],
151
- defaultValue: 'control'
152
- }),
153
152
  // Added 2025-01-19
154
153
  platform_editor_ai_edit_response_in_preview: createBooleanExperiment({
155
154
  productKeys: {
@@ -302,6 +301,14 @@ export var editorExperimentsConfig = {
302
301
  param: 'isEnabled',
303
302
  defaultValue: false
304
303
  }),
304
+ // Added 2025-05-21
305
+ platform_editor_nodevisibility: createBooleanExperiment({
306
+ productKeys: {
307
+ confluence: 'platform_editor_nodevisibility'
308
+ },
309
+ param: 'isEnabled',
310
+ defaultValue: false
311
+ }),
305
312
  // Added 2025-05-15
306
313
  platform_editor_breakout_resizing: createBooleanExperiment({
307
314
  productKeys: {
@@ -45,7 +45,7 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
45
45
  false: DescribeBody;
46
46
  }, otherExperiments?: EditorExperimentOverrides): void;
47
47
  declare namespace eeTest {
48
- var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -84,6 +84,12 @@ declare namespace eeTest {
84
84
  productKeys?: import("./types").ProductKeys | undefined;
85
85
  param: string;
86
86
  };
87
+ platform_editor_prevent_toolbar_layout_shifts: {
88
+ typeGuard: typeof import("./type-guards").isBoolean;
89
+ defaultValue: boolean;
90
+ productKeys?: import("./types").ProductKeys | undefined;
91
+ param: string;
92
+ };
87
93
  comment_on_bodied_extensions: {
88
94
  typeGuard: typeof import("./type-guards").isBoolean;
89
95
  defaultValue: boolean;
@@ -115,31 +121,6 @@ declare namespace eeTest {
115
121
  productKeys?: import("./types").ProductKeys | undefined;
116
122
  param: string;
117
123
  };
118
- /**
119
- * eeTest.describe() Wrapper utility for describe() that runs a test with a editor experiment overides.
120
- *
121
- * @example Single experiment
122
- * ```ts
123
- * eeTest.describe('Description of test "suite" containing nested suites and tests.', { 'example-boolean': true }, () => {
124
- * it('should do the thing', () => {
125
- * expect(editorExperiment('example-boolean', true)).toBe(true);
126
- * });
127
- * });
128
- * ```
129
- *
130
- *
131
- * @example Multiple experiment
132
- * ```ts
133
- * eeTest.describe('Description of test "suite" containing nested suites and tests.', { 'example-boolean': true, 'example-multivariate': 'three' }, () => {
134
- * it('should do the thing', () => {
135
- * expect(editorExperiment('example-boolean', true)).toBe(true);
136
- * });
137
- * });
138
- * ```
139
- *
140
- * API based on next gen ffTest API
141
- * - https://hello.atlassian.net/wiki/spaces/AF/pages/2569505829/Task+Testing+your+feature+flag+in+platform+and+product#Next-Generation-API-%E2%9C%A8
142
- */
143
124
  'nested-tables-in-tables': {
144
125
  typeGuard: typeof import("./type-guards").isBoolean;
145
126
  defaultValue: boolean;
@@ -170,13 +151,6 @@ declare namespace eeTest {
170
151
  productKeys?: import("./types").ProductKeys | undefined;
171
152
  param: string;
172
153
  };
173
- live_pages_graceful_edit: {
174
- values: ("control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar")[];
175
- typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
176
- defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
177
- productKeys?: import("./types").ProductKeys | undefined;
178
- param: string;
179
- };
180
154
  platform_editor_ai_edit_response_in_preview: {
181
155
  typeGuard: typeof import("./type-guards").isBoolean;
182
156
  defaultValue: boolean;
@@ -291,6 +265,12 @@ declare namespace eeTest {
291
265
  productKeys?: import("./types").ProductKeys | undefined;
292
266
  param: string;
293
267
  };
268
+ platform_editor_nodevisibility: {
269
+ typeGuard: typeof import("./type-guards").isBoolean;
270
+ defaultValue: boolean;
271
+ productKeys?: import("./types").ProductKeys | undefined;
272
+ param: string;
273
+ };
294
274
  platform_editor_breakout_resizing: {
295
275
  typeGuard: typeof import("./type-guards").isBoolean;
296
276
  defaultValue: boolean;
@@ -42,6 +42,12 @@ export declare const editorExperimentsConfig: {
42
42
  productKeys?: import("./types").ProductKeys | undefined;
43
43
  param: string;
44
44
  };
45
+ platform_editor_prevent_toolbar_layout_shifts: {
46
+ typeGuard: typeof import("./type-guards").isBoolean;
47
+ defaultValue: boolean;
48
+ productKeys?: import("./types").ProductKeys | undefined;
49
+ param: string;
50
+ };
45
51
  comment_on_bodied_extensions: {
46
52
  typeGuard: typeof import("./type-guards").isBoolean;
47
53
  defaultValue: boolean;
@@ -103,13 +109,6 @@ export declare const editorExperimentsConfig: {
103
109
  productKeys?: import("./types").ProductKeys | undefined;
104
110
  param: string;
105
111
  };
106
- live_pages_graceful_edit: {
107
- values: ("control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar")[];
108
- typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
109
- defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
110
- productKeys?: import("./types").ProductKeys | undefined;
111
- param: string;
112
- };
113
112
  platform_editor_ai_edit_response_in_preview: {
114
113
  typeGuard: typeof import("./type-guards").isBoolean;
115
114
  defaultValue: boolean;
@@ -224,6 +223,12 @@ export declare const editorExperimentsConfig: {
224
223
  productKeys?: import("./types").ProductKeys | undefined;
225
224
  param: string;
226
225
  };
226
+ platform_editor_nodevisibility: {
227
+ typeGuard: typeof import("./type-guards").isBoolean;
228
+ defaultValue: boolean;
229
+ productKeys?: import("./types").ProductKeys | undefined;
230
+ param: string;
231
+ };
227
232
  platform_editor_breakout_resizing: {
228
233
  typeGuard: typeof import("./type-guards").isBoolean;
229
234
  defaultValue: boolean;
@@ -45,9 +45,6 @@ export declare function editorExperiment<ExperimentName extends keyof EditorExpe
45
45
  exposure: boolean;
46
46
  }): boolean;
47
47
  type Unstable_EditorExperimentParams = {
48
- live_pages_graceful_edit: {
49
- params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
50
- };
51
48
  platform_editor_ai_proactive_ai_nudge_parameters: {
52
49
  params: 'min_final_confidence' | 'min_length_percentage_difference' | 'max_length_percentage_difference' | 'min_input_readability_score' | 'min_output_readability_score' | 'max_readability_score_delta' | 'min_readability_score_delta' | 'min_alternative_confidence';
53
50
  };
@@ -14,6 +14,7 @@ export declare let _overrides: Partial<{
14
14
  support_table_in_comment: boolean;
15
15
  platform_editor_exp_lazy_node_views: boolean;
16
16
  platform_renderer_table_sticky_scrollbar: boolean;
17
+ platform_editor_prevent_toolbar_layout_shifts: boolean;
17
18
  comment_on_bodied_extensions: boolean;
18
19
  advanced_layouts: boolean;
19
20
  single_column_layouts: boolean;
@@ -24,7 +25,6 @@ export declare let _overrides: Partial<{
24
25
  platform_editor_blockquote_in_text_formatting_menu: boolean;
25
26
  platform_editor_advanced_code_blocks: boolean;
26
27
  platform_editor_element_drag_and_drop_multiselect: boolean;
27
- live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
28
28
  platform_editor_ai_edit_response_in_preview: boolean;
29
29
  platform_editor_controls: "control" | "variant1";
30
30
  platform_editor_insertion: "control" | "variant1";
@@ -43,6 +43,7 @@ export declare let _overrides: Partial<{
43
43
  platform_editor_core_static_emotion: boolean;
44
44
  editor_ai_comment_freegen_rovo: boolean;
45
45
  confluence_p2m_style_recalc_and_expand_joint_exp: boolean;
46
+ platform_editor_nodevisibility: boolean;
46
47
  platform_editor_breakout_resizing: boolean;
47
48
  platform_editor_ai_quickstart_command: boolean;
48
49
  editor_ai_in_editor_streaming: boolean;
@@ -45,7 +45,7 @@ declare function eeTest<ExperimentName extends keyof EditorExperimentsConfig>(ex
45
45
  false: DescribeBody;
46
46
  }, otherExperiments?: EditorExperimentOverrides): void;
47
47
  declare namespace eeTest {
48
- var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "platform_editor_prevent_toolbar_layout_shifts" | "comment_on_bodied_extensions" | "advanced_layouts" | "single_column_layouts" | "support_table_in_comment_jira" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_unsplash_page_header" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_insertion" | "platform_editor_vanilla_dom" | "editor_text_highlight_orange_to_yellow" | "platform_editor_ai_proactive_ai_nudge_parameters" | "platform_editor_offline_editing_web" | "editor_ai_inline_suggestion_date_v2" | "platform_editor_tables_drag_and_drop" | "platform_editor_tables_table_selector" | "platform_editor_usesharedpluginstateselector" | "platform_renderer_fix_analytics_memo_callback" | "editor_ai_contextual_selection_toolbar_button" | "editor_ai_converge_free_gen_on_rovo" | "editor_ai_cmd_palette_remove_retry" | "platform_editor_core_static_emotion" | "editor_ai_comment_freegen_rovo" | "confluence_p2m_style_recalc_and_expand_joint_exp" | "platform_editor_nodevisibility" | "platform_editor_breakout_resizing" | "platform_editor_ai_quickstart_command" | "editor_ai_in_editor_streaming">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  typeGuard: typeof import("./type-guards").isBoolean;
@@ -84,6 +84,12 @@ declare namespace eeTest {
84
84
  productKeys?: import("./types").ProductKeys | undefined;
85
85
  param: string;
86
86
  };
87
+ platform_editor_prevent_toolbar_layout_shifts: {
88
+ typeGuard: typeof import("./type-guards").isBoolean;
89
+ defaultValue: boolean;
90
+ productKeys?: import("./types").ProductKeys | undefined;
91
+ param: string;
92
+ };
87
93
  comment_on_bodied_extensions: {
88
94
  typeGuard: typeof import("./type-guards").isBoolean;
89
95
  defaultValue: boolean;
@@ -115,31 +121,6 @@ declare namespace eeTest {
115
121
  productKeys?: import("./types").ProductKeys | undefined;
116
122
  param: string;
117
123
  };
118
- /**
119
- * eeTest.describe() Wrapper utility for describe() that runs a test with a editor experiment overides.
120
- *
121
- * @example Single experiment
122
- * ```ts
123
- * eeTest.describe('Description of test "suite" containing nested suites and tests.', { 'example-boolean': true }, () => {
124
- * it('should do the thing', () => {
125
- * expect(editorExperiment('example-boolean', true)).toBe(true);
126
- * });
127
- * });
128
- * ```
129
- *
130
- *
131
- * @example Multiple experiment
132
- * ```ts
133
- * eeTest.describe('Description of test "suite" containing nested suites and tests.', { 'example-boolean': true, 'example-multivariate': 'three' }, () => {
134
- * it('should do the thing', () => {
135
- * expect(editorExperiment('example-boolean', true)).toBe(true);
136
- * });
137
- * });
138
- * ```
139
- *
140
- * API based on next gen ffTest API
141
- * - https://hello.atlassian.net/wiki/spaces/AF/pages/2569505829/Task+Testing+your+feature+flag+in+platform+and+product#Next-Generation-API-%E2%9C%A8
142
- */
143
124
  'nested-tables-in-tables': {
144
125
  typeGuard: typeof import("./type-guards").isBoolean;
145
126
  defaultValue: boolean;
@@ -170,13 +151,6 @@ declare namespace eeTest {
170
151
  productKeys?: import("./types").ProductKeys | undefined;
171
152
  param: string;
172
153
  };
173
- live_pages_graceful_edit: {
174
- values: ("control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar")[];
175
- typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
176
- defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
177
- productKeys?: import("./types").ProductKeys | undefined;
178
- param: string;
179
- };
180
154
  platform_editor_ai_edit_response_in_preview: {
181
155
  typeGuard: typeof import("./type-guards").isBoolean;
182
156
  defaultValue: boolean;
@@ -291,6 +265,12 @@ declare namespace eeTest {
291
265
  productKeys?: import("./types").ProductKeys | undefined;
292
266
  param: string;
293
267
  };
268
+ platform_editor_nodevisibility: {
269
+ typeGuard: typeof import("./type-guards").isBoolean;
270
+ defaultValue: boolean;
271
+ productKeys?: import("./types").ProductKeys | undefined;
272
+ param: string;
273
+ };
294
274
  platform_editor_breakout_resizing: {
295
275
  typeGuard: typeof import("./type-guards").isBoolean;
296
276
  defaultValue: boolean;
@@ -42,6 +42,12 @@ export declare const editorExperimentsConfig: {
42
42
  productKeys?: import("./types").ProductKeys | undefined;
43
43
  param: string;
44
44
  };
45
+ platform_editor_prevent_toolbar_layout_shifts: {
46
+ typeGuard: typeof import("./type-guards").isBoolean;
47
+ defaultValue: boolean;
48
+ productKeys?: import("./types").ProductKeys | undefined;
49
+ param: string;
50
+ };
45
51
  comment_on_bodied_extensions: {
46
52
  typeGuard: typeof import("./type-guards").isBoolean;
47
53
  defaultValue: boolean;
@@ -103,13 +109,6 @@ export declare const editorExperimentsConfig: {
103
109
  productKeys?: import("./types").ProductKeys | undefined;
104
110
  param: string;
105
111
  };
106
- live_pages_graceful_edit: {
107
- values: ("control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar")[];
108
- typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
109
- defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
110
- productKeys?: import("./types").ProductKeys | undefined;
111
- param: string;
112
- };
113
112
  platform_editor_ai_edit_response_in_preview: {
114
113
  typeGuard: typeof import("./type-guards").isBoolean;
115
114
  defaultValue: boolean;
@@ -224,6 +223,12 @@ export declare const editorExperimentsConfig: {
224
223
  productKeys?: import("./types").ProductKeys | undefined;
225
224
  param: string;
226
225
  };
226
+ platform_editor_nodevisibility: {
227
+ typeGuard: typeof import("./type-guards").isBoolean;
228
+ defaultValue: boolean;
229
+ productKeys?: import("./types").ProductKeys | undefined;
230
+ param: string;
231
+ };
227
232
  platform_editor_breakout_resizing: {
228
233
  typeGuard: typeof import("./type-guards").isBoolean;
229
234
  defaultValue: boolean;
@@ -45,9 +45,6 @@ export declare function editorExperiment<ExperimentName extends keyof EditorExpe
45
45
  exposure: boolean;
46
46
  }): boolean;
47
47
  type Unstable_EditorExperimentParams = {
48
- live_pages_graceful_edit: {
49
- params: 'view-mode-intent-to-edit' | 'delay' | 'intent-mode' | 'toolbar-entry';
50
- };
51
48
  platform_editor_ai_proactive_ai_nudge_parameters: {
52
49
  params: 'min_final_confidence' | 'min_length_percentage_difference' | 'max_length_percentage_difference' | 'min_input_readability_score' | 'min_output_readability_score' | 'max_readability_score_delta' | 'min_readability_score_delta' | 'min_alternative_confidence';
53
50
  };
@@ -14,6 +14,7 @@ export declare let _overrides: Partial<{
14
14
  support_table_in_comment: boolean;
15
15
  platform_editor_exp_lazy_node_views: boolean;
16
16
  platform_renderer_table_sticky_scrollbar: boolean;
17
+ platform_editor_prevent_toolbar_layout_shifts: boolean;
17
18
  comment_on_bodied_extensions: boolean;
18
19
  advanced_layouts: boolean;
19
20
  single_column_layouts: boolean;
@@ -24,7 +25,6 @@ export declare let _overrides: Partial<{
24
25
  platform_editor_blockquote_in_text_formatting_menu: boolean;
25
26
  platform_editor_advanced_code_blocks: boolean;
26
27
  platform_editor_element_drag_and_drop_multiselect: boolean;
27
- live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
28
28
  platform_editor_ai_edit_response_in_preview: boolean;
29
29
  platform_editor_controls: "control" | "variant1";
30
30
  platform_editor_insertion: "control" | "variant1";
@@ -43,6 +43,7 @@ export declare let _overrides: Partial<{
43
43
  platform_editor_core_static_emotion: boolean;
44
44
  editor_ai_comment_freegen_rovo: boolean;
45
45
  confluence_p2m_style_recalc_and_expand_joint_exp: boolean;
46
+ platform_editor_nodevisibility: boolean;
46
47
  platform_editor_breakout_resizing: boolean;
47
48
  platform_editor_ai_quickstart_command: boolean;
48
49
  editor_ai_in_editor_streaming: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "4.25.0",
3
+ "version": "5.0.0",
4
4
  "description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",