@atlaskit/tmp-editor-statsig 4.25.0 → 5.1.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,44 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 5.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#159894](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159894)
8
+ [`98f3c43ca93c5`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/98f3c43ca93c5) -
9
+ Avoid unnecessary reflows in the width plugin.
10
+
11
+ ## 5.0.0
12
+
13
+ ### Major Changes
14
+
15
+ - [#159655](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/159655)
16
+ [`24f8c627d50f2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/24f8c627d50f2) - ##
17
+ WHAT? Remove experimental graceful edit mode from view mode plugin and associated props.
18
+
19
+ ## WHY?
20
+
21
+ This experiment is being cleaned up and we are no longer proceeding in this direction.
22
+
23
+ ## HOW to adjust?
24
+
25
+ This experiment was only enabled for Confluence and should not have been enabled in other places.
26
+ If for some reason any of the following props/state/methdos were used please remove them:
27
+
28
+ - isConsumption
29
+ - contentMode
30
+ - initialContentMode
31
+ - updateContentMode
32
+
33
+ ### Minor Changes
34
+
35
+ - [#160575](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/160575)
36
+ [`c340cf0e2d6c2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/c340cf0e2d6c2) -
37
+ Expose emoji provider promise to initialise in the toolbar earlier.
38
+ - [#156919](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/156919)
39
+ [`379f5c27f4939`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/379f5c27f4939) -
40
+ delay table sticky headers until table is in viewport
41
+
3
42
  ## 4.25.0
4
43
 
5
44
  ### 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: {
@@ -284,6 +283,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
284
283
  param: 'isEnabled',
285
284
  defaultValue: false
286
285
  }),
286
+ // Added 2025-05-26
287
+ platform_editor_stop_width_reflows: (0, _experimentBuilders.createBooleanExperiment)({
288
+ productKeys: {
289
+ confluence: 'platform_editor_stop_width_reflows'
290
+ },
291
+ param: 'isEnabled',
292
+ defaultValue: false
293
+ }),
287
294
  // Added 2025-05-08
288
295
  platform_editor_core_static_emotion: (0, _experimentBuilders.createBooleanExperiment)({
289
296
  productKeys: {
@@ -308,6 +315,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
308
315
  param: 'isEnabled',
309
316
  defaultValue: false
310
317
  }),
318
+ // Added 2025-05-21
319
+ platform_editor_nodevisibility: (0, _experimentBuilders.createBooleanExperiment)({
320
+ productKeys: {
321
+ confluence: 'platform_editor_nodevisibility'
322
+ },
323
+ param: 'isEnabled',
324
+ defaultValue: false
325
+ }),
311
326
  // Added 2025-05-15
312
327
  platform_editor_breakout_resizing: (0, _experimentBuilders.createBooleanExperiment)({
313
328
  productKeys: {
@@ -331,5 +346,12 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
331
346
  },
332
347
  param: 'isEnabled',
333
348
  defaultValue: false
349
+ }),
350
+ platform_editor_hide_floating_toolbar_in_ssr: (0, _experimentBuilders.createBooleanExperiment)({
351
+ productKeys: {
352
+ confluence: 'platform_editor_hide_floating_toolbar_in_ssr'
353
+ },
354
+ param: 'isEnabled',
355
+ defaultValue: false
334
356
  })
335
357
  };
@@ -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: {
@@ -278,6 +277,14 @@ export const editorExperimentsConfig = {
278
277
  param: 'isEnabled',
279
278
  defaultValue: false
280
279
  }),
280
+ // Added 2025-05-26
281
+ platform_editor_stop_width_reflows: createBooleanExperiment({
282
+ productKeys: {
283
+ confluence: 'platform_editor_stop_width_reflows'
284
+ },
285
+ param: 'isEnabled',
286
+ defaultValue: false
287
+ }),
281
288
  // Added 2025-05-08
282
289
  platform_editor_core_static_emotion: createBooleanExperiment({
283
290
  productKeys: {
@@ -302,6 +309,14 @@ export const editorExperimentsConfig = {
302
309
  param: 'isEnabled',
303
310
  defaultValue: false
304
311
  }),
312
+ // Added 2025-05-21
313
+ platform_editor_nodevisibility: createBooleanExperiment({
314
+ productKeys: {
315
+ confluence: 'platform_editor_nodevisibility'
316
+ },
317
+ param: 'isEnabled',
318
+ defaultValue: false
319
+ }),
305
320
  // Added 2025-05-15
306
321
  platform_editor_breakout_resizing: createBooleanExperiment({
307
322
  productKeys: {
@@ -325,5 +340,12 @@ export const editorExperimentsConfig = {
325
340
  },
326
341
  param: 'isEnabled',
327
342
  defaultValue: false
343
+ }),
344
+ platform_editor_hide_floating_toolbar_in_ssr: createBooleanExperiment({
345
+ productKeys: {
346
+ confluence: 'platform_editor_hide_floating_toolbar_in_ssr'
347
+ },
348
+ param: 'isEnabled',
349
+ defaultValue: false
328
350
  })
329
351
  };
@@ -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: {
@@ -278,6 +277,14 @@ export var editorExperimentsConfig = {
278
277
  param: 'isEnabled',
279
278
  defaultValue: false
280
279
  }),
280
+ // Added 2025-05-26
281
+ platform_editor_stop_width_reflows: createBooleanExperiment({
282
+ productKeys: {
283
+ confluence: 'platform_editor_stop_width_reflows'
284
+ },
285
+ param: 'isEnabled',
286
+ defaultValue: false
287
+ }),
281
288
  // Added 2025-05-08
282
289
  platform_editor_core_static_emotion: createBooleanExperiment({
283
290
  productKeys: {
@@ -302,6 +309,14 @@ export var editorExperimentsConfig = {
302
309
  param: 'isEnabled',
303
310
  defaultValue: false
304
311
  }),
312
+ // Added 2025-05-21
313
+ platform_editor_nodevisibility: createBooleanExperiment({
314
+ productKeys: {
315
+ confluence: 'platform_editor_nodevisibility'
316
+ },
317
+ param: 'isEnabled',
318
+ defaultValue: false
319
+ }),
305
320
  // Added 2025-05-15
306
321
  platform_editor_breakout_resizing: createBooleanExperiment({
307
322
  productKeys: {
@@ -325,5 +340,12 @@ export var editorExperimentsConfig = {
325
340
  },
326
341
  param: 'isEnabled',
327
342
  defaultValue: false
343
+ }),
344
+ platform_editor_hide_floating_toolbar_in_ssr: createBooleanExperiment({
345
+ productKeys: {
346
+ confluence: 'platform_editor_hide_floating_toolbar_in_ssr'
347
+ },
348
+ param: 'isEnabled',
349
+ defaultValue: false
328
350
  })
329
351
  };
@@ -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_stop_width_reflows" | "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" | "platform_editor_hide_floating_toolbar_in_ssr">(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;
@@ -273,6 +247,12 @@ declare namespace eeTest {
273
247
  productKeys?: import("./types").ProductKeys | undefined;
274
248
  param: string;
275
249
  };
250
+ platform_editor_stop_width_reflows: {
251
+ typeGuard: typeof import("./type-guards").isBoolean;
252
+ defaultValue: boolean;
253
+ productKeys?: import("./types").ProductKeys | undefined;
254
+ param: string;
255
+ };
276
256
  platform_editor_core_static_emotion: {
277
257
  typeGuard: typeof import("./type-guards").isBoolean;
278
258
  defaultValue: boolean;
@@ -291,6 +271,12 @@ declare namespace eeTest {
291
271
  productKeys?: import("./types").ProductKeys | undefined;
292
272
  param: string;
293
273
  };
274
+ platform_editor_nodevisibility: {
275
+ typeGuard: typeof import("./type-guards").isBoolean;
276
+ defaultValue: boolean;
277
+ productKeys?: import("./types").ProductKeys | undefined;
278
+ param: string;
279
+ };
294
280
  platform_editor_breakout_resizing: {
295
281
  typeGuard: typeof import("./type-guards").isBoolean;
296
282
  defaultValue: boolean;
@@ -309,6 +295,12 @@ declare namespace eeTest {
309
295
  productKeys?: import("./types").ProductKeys | undefined;
310
296
  param: string;
311
297
  };
298
+ platform_editor_hide_floating_toolbar_in_ssr: {
299
+ typeGuard: typeof import("./type-guards").isBoolean;
300
+ defaultValue: boolean;
301
+ productKeys?: import("./types").ProductKeys | undefined;
302
+ param: string;
303
+ };
312
304
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
313
305
  each: (describeBody: jest.EmptyFunction) => void;
314
306
  };
@@ -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;
@@ -206,6 +205,12 @@ export declare const editorExperimentsConfig: {
206
205
  productKeys?: import("./types").ProductKeys | undefined;
207
206
  param: string;
208
207
  };
208
+ platform_editor_stop_width_reflows: {
209
+ typeGuard: typeof import("./type-guards").isBoolean;
210
+ defaultValue: boolean;
211
+ productKeys?: import("./types").ProductKeys | undefined;
212
+ param: string;
213
+ };
209
214
  platform_editor_core_static_emotion: {
210
215
  typeGuard: typeof import("./type-guards").isBoolean;
211
216
  defaultValue: boolean;
@@ -224,6 +229,12 @@ export declare const editorExperimentsConfig: {
224
229
  productKeys?: import("./types").ProductKeys | undefined;
225
230
  param: string;
226
231
  };
232
+ platform_editor_nodevisibility: {
233
+ typeGuard: typeof import("./type-guards").isBoolean;
234
+ defaultValue: boolean;
235
+ productKeys?: import("./types").ProductKeys | undefined;
236
+ param: string;
237
+ };
227
238
  platform_editor_breakout_resizing: {
228
239
  typeGuard: typeof import("./type-guards").isBoolean;
229
240
  defaultValue: boolean;
@@ -242,4 +253,10 @@ export declare const editorExperimentsConfig: {
242
253
  productKeys?: import("./types").ProductKeys | undefined;
243
254
  param: string;
244
255
  };
256
+ platform_editor_hide_floating_toolbar_in_ssr: {
257
+ typeGuard: typeof import("./type-guards").isBoolean;
258
+ defaultValue: boolean;
259
+ productKeys?: import("./types").ProductKeys | undefined;
260
+ param: string;
261
+ };
245
262
  };
@@ -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";
@@ -40,12 +40,15 @@ export declare let _overrides: Partial<{
40
40
  editor_ai_contextual_selection_toolbar_button: "test" | "control";
41
41
  editor_ai_converge_free_gen_on_rovo: boolean;
42
42
  editor_ai_cmd_palette_remove_retry: boolean;
43
+ platform_editor_stop_width_reflows: boolean;
43
44
  platform_editor_core_static_emotion: boolean;
44
45
  editor_ai_comment_freegen_rovo: boolean;
45
46
  confluence_p2m_style_recalc_and_expand_joint_exp: boolean;
47
+ platform_editor_nodevisibility: boolean;
46
48
  platform_editor_breakout_resizing: boolean;
47
49
  platform_editor_ai_quickstart_command: boolean;
48
50
  editor_ai_in_editor_streaming: boolean;
51
+ platform_editor_hide_floating_toolbar_in_ssr: boolean;
49
52
  }>;
50
53
  export declare let _paramOverrides: EditorExperimentParamOverrides;
51
54
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
@@ -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_stop_width_reflows" | "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" | "platform_editor_hide_floating_toolbar_in_ssr">(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;
@@ -273,6 +247,12 @@ declare namespace eeTest {
273
247
  productKeys?: import("./types").ProductKeys | undefined;
274
248
  param: string;
275
249
  };
250
+ platform_editor_stop_width_reflows: {
251
+ typeGuard: typeof import("./type-guards").isBoolean;
252
+ defaultValue: boolean;
253
+ productKeys?: import("./types").ProductKeys | undefined;
254
+ param: string;
255
+ };
276
256
  platform_editor_core_static_emotion: {
277
257
  typeGuard: typeof import("./type-guards").isBoolean;
278
258
  defaultValue: boolean;
@@ -291,6 +271,12 @@ declare namespace eeTest {
291
271
  productKeys?: import("./types").ProductKeys | undefined;
292
272
  param: string;
293
273
  };
274
+ platform_editor_nodevisibility: {
275
+ typeGuard: typeof import("./type-guards").isBoolean;
276
+ defaultValue: boolean;
277
+ productKeys?: import("./types").ProductKeys | undefined;
278
+ param: string;
279
+ };
294
280
  platform_editor_breakout_resizing: {
295
281
  typeGuard: typeof import("./type-guards").isBoolean;
296
282
  defaultValue: boolean;
@@ -309,6 +295,12 @@ declare namespace eeTest {
309
295
  productKeys?: import("./types").ProductKeys | undefined;
310
296
  param: string;
311
297
  };
298
+ platform_editor_hide_floating_toolbar_in_ssr: {
299
+ typeGuard: typeof import("./type-guards").isBoolean;
300
+ defaultValue: boolean;
301
+ productKeys?: import("./types").ProductKeys | undefined;
302
+ param: string;
303
+ };
312
304
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
313
305
  each: (describeBody: jest.EmptyFunction) => void;
314
306
  };
@@ -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;
@@ -206,6 +205,12 @@ export declare const editorExperimentsConfig: {
206
205
  productKeys?: import("./types").ProductKeys | undefined;
207
206
  param: string;
208
207
  };
208
+ platform_editor_stop_width_reflows: {
209
+ typeGuard: typeof import("./type-guards").isBoolean;
210
+ defaultValue: boolean;
211
+ productKeys?: import("./types").ProductKeys | undefined;
212
+ param: string;
213
+ };
209
214
  platform_editor_core_static_emotion: {
210
215
  typeGuard: typeof import("./type-guards").isBoolean;
211
216
  defaultValue: boolean;
@@ -224,6 +229,12 @@ export declare const editorExperimentsConfig: {
224
229
  productKeys?: import("./types").ProductKeys | undefined;
225
230
  param: string;
226
231
  };
232
+ platform_editor_nodevisibility: {
233
+ typeGuard: typeof import("./type-guards").isBoolean;
234
+ defaultValue: boolean;
235
+ productKeys?: import("./types").ProductKeys | undefined;
236
+ param: string;
237
+ };
227
238
  platform_editor_breakout_resizing: {
228
239
  typeGuard: typeof import("./type-guards").isBoolean;
229
240
  defaultValue: boolean;
@@ -242,4 +253,10 @@ export declare const editorExperimentsConfig: {
242
253
  productKeys?: import("./types").ProductKeys | undefined;
243
254
  param: string;
244
255
  };
256
+ platform_editor_hide_floating_toolbar_in_ssr: {
257
+ typeGuard: typeof import("./type-guards").isBoolean;
258
+ defaultValue: boolean;
259
+ productKeys?: import("./types").ProductKeys | undefined;
260
+ param: string;
261
+ };
245
262
  };
@@ -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";
@@ -40,12 +40,15 @@ export declare let _overrides: Partial<{
40
40
  editor_ai_contextual_selection_toolbar_button: "test" | "control";
41
41
  editor_ai_converge_free_gen_on_rovo: boolean;
42
42
  editor_ai_cmd_palette_remove_retry: boolean;
43
+ platform_editor_stop_width_reflows: boolean;
43
44
  platform_editor_core_static_emotion: boolean;
44
45
  editor_ai_comment_freegen_rovo: boolean;
45
46
  confluence_p2m_style_recalc_and_expand_joint_exp: boolean;
47
+ platform_editor_nodevisibility: boolean;
46
48
  platform_editor_breakout_resizing: boolean;
47
49
  platform_editor_ai_quickstart_command: boolean;
48
50
  editor_ai_in_editor_streaming: boolean;
51
+ platform_editor_hide_floating_toolbar_in_ssr: boolean;
49
52
  }>;
50
53
  export declare let _paramOverrides: EditorExperimentParamOverrides;
51
54
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
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.1.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",