@atlaskit/tmp-editor-statsig 2.33.1 → 2.35.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 +23 -0
- package/dist/cjs/experiments-config.js +18 -9
- package/dist/es2019/experiments-config.js +18 -9
- package/dist/esm/experiments-config.js +18 -9
- package/dist/types/editor-experiments-test-utils.d.ts +17 -9
- package/dist/types/experiments-config.d.ts +16 -8
- package/dist/types/setup.d.ts +2 -1
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +17 -9
- package/dist/types-ts4.5/experiments-config.d.ts +16 -8
- package/dist/types-ts4.5/setup.d.ts +2 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.35.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#102564](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102564)
|
|
8
|
+
[`ddd5f55e9bef4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/ddd5f55e9bef4) -
|
|
9
|
+
Add multi-select experiment
|
|
10
|
+
|
|
11
|
+
## 2.34.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#100411](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100411)
|
|
16
|
+
[`14499ab145534`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14499ab145534) -
|
|
17
|
+
[ux] Introduces advanced code block as per:
|
|
18
|
+
https://hello.atlassian.net/wiki/spaces/EDITOR/pages/4632293323/Editor+RFC+063+Advanced+code+blocks.
|
|
19
|
+
This can be added to an existing editor preset to enrich the code block experience with syntax
|
|
20
|
+
highlighting and can be extended for other features via CodeMirror extensions (ie. autocompletion,
|
|
21
|
+
code folding etc.).
|
|
22
|
+
- [#102045](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102045)
|
|
23
|
+
[`44f96aff22dd9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/44f96aff22dd9) -
|
|
24
|
+
[ED-26179] clean up platform_editor_elements_dnd_nested_table
|
|
25
|
+
|
|
3
26
|
## 2.33.1
|
|
4
27
|
|
|
5
28
|
### Patch Changes
|
|
@@ -81,15 +81,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
81
81
|
typeGuard: _typeGuards.isBoolean,
|
|
82
82
|
defaultValue: false
|
|
83
83
|
},
|
|
84
|
-
// Add 2024-08-27
|
|
85
|
-
'table-nested-dnd': {
|
|
86
|
-
productKeys: {
|
|
87
|
-
confluence: 'platform_editor_elements_dnd_nested_table'
|
|
88
|
-
},
|
|
89
|
-
param: 'isEnabled',
|
|
90
|
-
typeGuard: _typeGuards.isBoolean,
|
|
91
|
-
defaultValue: false
|
|
92
|
-
},
|
|
93
84
|
// Added 2024-08-29
|
|
94
85
|
'insert-menu-in-right-rail': {
|
|
95
86
|
productKeys: {
|
|
@@ -300,5 +291,23 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
300
291
|
param: 'isEnabled',
|
|
301
292
|
typeGuard: _typeGuards.isBoolean,
|
|
302
293
|
defaultValue: false
|
|
294
|
+
},
|
|
295
|
+
// Added 2025-01-09
|
|
296
|
+
platform_editor_advanced_code_blocks: {
|
|
297
|
+
productKeys: {
|
|
298
|
+
confluence: 'platform_editor_advanced_code_blocks'
|
|
299
|
+
},
|
|
300
|
+
param: 'isEnabled',
|
|
301
|
+
typeGuard: _typeGuards.isBoolean,
|
|
302
|
+
defaultValue: false
|
|
303
|
+
},
|
|
304
|
+
// Added 2025-01-13
|
|
305
|
+
platform_editor_element_drag_and_drop_multiselect: {
|
|
306
|
+
productKeys: {
|
|
307
|
+
confluence: 'platform_editor_element_drag_and_drop_multiselect'
|
|
308
|
+
},
|
|
309
|
+
param: 'isEnabled',
|
|
310
|
+
typeGuard: _typeGuards.isBoolean,
|
|
311
|
+
defaultValue: false
|
|
303
312
|
}
|
|
304
313
|
};
|
|
@@ -75,15 +75,6 @@ export const editorExperimentsConfig = {
|
|
|
75
75
|
typeGuard: isBoolean,
|
|
76
76
|
defaultValue: false
|
|
77
77
|
},
|
|
78
|
-
// Add 2024-08-27
|
|
79
|
-
'table-nested-dnd': {
|
|
80
|
-
productKeys: {
|
|
81
|
-
confluence: 'platform_editor_elements_dnd_nested_table'
|
|
82
|
-
},
|
|
83
|
-
param: 'isEnabled',
|
|
84
|
-
typeGuard: isBoolean,
|
|
85
|
-
defaultValue: false
|
|
86
|
-
},
|
|
87
78
|
// Added 2024-08-29
|
|
88
79
|
'insert-menu-in-right-rail': {
|
|
89
80
|
productKeys: {
|
|
@@ -294,5 +285,23 @@ export const editorExperimentsConfig = {
|
|
|
294
285
|
param: 'isEnabled',
|
|
295
286
|
typeGuard: isBoolean,
|
|
296
287
|
defaultValue: false
|
|
288
|
+
},
|
|
289
|
+
// Added 2025-01-09
|
|
290
|
+
platform_editor_advanced_code_blocks: {
|
|
291
|
+
productKeys: {
|
|
292
|
+
confluence: 'platform_editor_advanced_code_blocks'
|
|
293
|
+
},
|
|
294
|
+
param: 'isEnabled',
|
|
295
|
+
typeGuard: isBoolean,
|
|
296
|
+
defaultValue: false
|
|
297
|
+
},
|
|
298
|
+
// Added 2025-01-13
|
|
299
|
+
platform_editor_element_drag_and_drop_multiselect: {
|
|
300
|
+
productKeys: {
|
|
301
|
+
confluence: 'platform_editor_element_drag_and_drop_multiselect'
|
|
302
|
+
},
|
|
303
|
+
param: 'isEnabled',
|
|
304
|
+
typeGuard: isBoolean,
|
|
305
|
+
defaultValue: false
|
|
297
306
|
}
|
|
298
307
|
};
|
|
@@ -75,15 +75,6 @@ export var editorExperimentsConfig = {
|
|
|
75
75
|
typeGuard: isBoolean,
|
|
76
76
|
defaultValue: false
|
|
77
77
|
},
|
|
78
|
-
// Add 2024-08-27
|
|
79
|
-
'table-nested-dnd': {
|
|
80
|
-
productKeys: {
|
|
81
|
-
confluence: 'platform_editor_elements_dnd_nested_table'
|
|
82
|
-
},
|
|
83
|
-
param: 'isEnabled',
|
|
84
|
-
typeGuard: isBoolean,
|
|
85
|
-
defaultValue: false
|
|
86
|
-
},
|
|
87
78
|
// Added 2024-08-29
|
|
88
79
|
'insert-menu-in-right-rail': {
|
|
89
80
|
productKeys: {
|
|
@@ -294,5 +285,23 @@ export var editorExperimentsConfig = {
|
|
|
294
285
|
param: 'isEnabled',
|
|
295
286
|
typeGuard: isBoolean,
|
|
296
287
|
defaultValue: false
|
|
288
|
+
},
|
|
289
|
+
// Added 2025-01-09
|
|
290
|
+
platform_editor_advanced_code_blocks: {
|
|
291
|
+
productKeys: {
|
|
292
|
+
confluence: 'platform_editor_advanced_code_blocks'
|
|
293
|
+
},
|
|
294
|
+
param: 'isEnabled',
|
|
295
|
+
typeGuard: isBoolean,
|
|
296
|
+
defaultValue: false
|
|
297
|
+
},
|
|
298
|
+
// Added 2025-01-13
|
|
299
|
+
platform_editor_element_drag_and_drop_multiselect: {
|
|
300
|
+
productKeys: {
|
|
301
|
+
confluence: 'platform_editor_element_drag_and_drop_multiselect'
|
|
302
|
+
},
|
|
303
|
+
param: 'isEnabled',
|
|
304
|
+
typeGuard: isBoolean,
|
|
305
|
+
defaultValue: false
|
|
297
306
|
}
|
|
298
307
|
};
|
|
@@ -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" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -104,14 +104,6 @@ declare namespace eeTest {
|
|
|
104
104
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
105
105
|
defaultValue: boolean;
|
|
106
106
|
};
|
|
107
|
-
'table-nested-dnd': {
|
|
108
|
-
productKeys: {
|
|
109
|
-
confluence: string;
|
|
110
|
-
};
|
|
111
|
-
param: string;
|
|
112
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
113
|
-
defaultValue: boolean;
|
|
114
|
-
};
|
|
115
107
|
'insert-menu-in-right-rail': {
|
|
116
108
|
productKeys: {
|
|
117
109
|
confluence: string;
|
|
@@ -296,6 +288,22 @@ declare namespace eeTest {
|
|
|
296
288
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
297
289
|
defaultValue: boolean;
|
|
298
290
|
};
|
|
291
|
+
platform_editor_advanced_code_blocks: {
|
|
292
|
+
productKeys: {
|
|
293
|
+
confluence: string;
|
|
294
|
+
};
|
|
295
|
+
param: string;
|
|
296
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
297
|
+
defaultValue: boolean;
|
|
298
|
+
};
|
|
299
|
+
platform_editor_element_drag_and_drop_multiselect: {
|
|
300
|
+
productKeys: {
|
|
301
|
+
confluence: string;
|
|
302
|
+
};
|
|
303
|
+
param: string;
|
|
304
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
305
|
+
defaultValue: boolean;
|
|
306
|
+
};
|
|
299
307
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
300
308
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
301
309
|
};
|
|
@@ -63,14 +63,6 @@ export declare const editorExperimentsConfig: {
|
|
|
63
63
|
typeGuard: typeof isBoolean;
|
|
64
64
|
defaultValue: boolean;
|
|
65
65
|
};
|
|
66
|
-
'table-nested-dnd': {
|
|
67
|
-
productKeys: {
|
|
68
|
-
confluence: string;
|
|
69
|
-
};
|
|
70
|
-
param: string;
|
|
71
|
-
typeGuard: typeof isBoolean;
|
|
72
|
-
defaultValue: boolean;
|
|
73
|
-
};
|
|
74
66
|
'insert-menu-in-right-rail': {
|
|
75
67
|
productKeys: {
|
|
76
68
|
confluence: string;
|
|
@@ -255,4 +247,20 @@ export declare const editorExperimentsConfig: {
|
|
|
255
247
|
typeGuard: typeof isBoolean;
|
|
256
248
|
defaultValue: boolean;
|
|
257
249
|
};
|
|
250
|
+
platform_editor_advanced_code_blocks: {
|
|
251
|
+
productKeys: {
|
|
252
|
+
confluence: string;
|
|
253
|
+
};
|
|
254
|
+
param: string;
|
|
255
|
+
typeGuard: typeof isBoolean;
|
|
256
|
+
defaultValue: boolean;
|
|
257
|
+
};
|
|
258
|
+
platform_editor_element_drag_and_drop_multiselect: {
|
|
259
|
+
productKeys: {
|
|
260
|
+
confluence: string;
|
|
261
|
+
};
|
|
262
|
+
param: string;
|
|
263
|
+
typeGuard: typeof isBoolean;
|
|
264
|
+
defaultValue: boolean;
|
|
265
|
+
};
|
|
258
266
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ export declare let _overrides: Partial<{
|
|
|
10
10
|
'element-level-templates': boolean;
|
|
11
11
|
'add-media-from-url': boolean;
|
|
12
12
|
'nested-dnd': boolean;
|
|
13
|
-
'table-nested-dnd': boolean;
|
|
14
13
|
'insert-menu-in-right-rail': boolean;
|
|
15
14
|
support_table_in_comment: boolean;
|
|
16
15
|
platform_editor_exp_lazy_node_views: boolean;
|
|
@@ -34,6 +33,8 @@ export declare let _overrides: Partial<{
|
|
|
34
33
|
platform_editor_ai_unsplash_page_header: boolean;
|
|
35
34
|
expand_selection_range_to_include_inline_node: boolean;
|
|
36
35
|
platform_editor_blockquote_in_text_formatting_menu: boolean;
|
|
36
|
+
platform_editor_advanced_code_blocks: boolean;
|
|
37
|
+
platform_editor_element_drag_and_drop_multiselect: boolean;
|
|
37
38
|
}>;
|
|
38
39
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
39
40
|
/**
|
|
@@ -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" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "comment_on_bodied_extensions" | "advanced_layouts" | "support_table_in_comment_jira" | "comment_on_inline_node_spotlight" | "platform_editor_ai-prompts-placeholder" | "nested-tables-in-tables" | "platform_editor_ai_mentions_support" | "platform_editor_ai_change_tone_floating_toolbar" | "issue_view_action_items" | "contextual_formatting_toolbar" | "platform_editor_ai_1p_smart_link_unfurl_in_prompt" | "platform_editor_ai_draft_with_ai" | "platform_editor_ai_unsplash_page_header" | "expand_selection_range_to_include_inline_node" | "platform_editor_blockquote_in_text_formatting_menu" | "platform_editor_advanced_code_blocks" | "platform_editor_element_drag_and_drop_multiselect">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -104,14 +104,6 @@ declare namespace eeTest {
|
|
|
104
104
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
105
105
|
defaultValue: boolean;
|
|
106
106
|
};
|
|
107
|
-
'table-nested-dnd': {
|
|
108
|
-
productKeys: {
|
|
109
|
-
confluence: string;
|
|
110
|
-
};
|
|
111
|
-
param: string;
|
|
112
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
113
|
-
defaultValue: boolean;
|
|
114
|
-
};
|
|
115
107
|
'insert-menu-in-right-rail': {
|
|
116
108
|
productKeys: {
|
|
117
109
|
confluence: string;
|
|
@@ -296,6 +288,22 @@ declare namespace eeTest {
|
|
|
296
288
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
297
289
|
defaultValue: boolean;
|
|
298
290
|
};
|
|
291
|
+
platform_editor_advanced_code_blocks: {
|
|
292
|
+
productKeys: {
|
|
293
|
+
confluence: string;
|
|
294
|
+
};
|
|
295
|
+
param: string;
|
|
296
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
297
|
+
defaultValue: boolean;
|
|
298
|
+
};
|
|
299
|
+
platform_editor_element_drag_and_drop_multiselect: {
|
|
300
|
+
productKeys: {
|
|
301
|
+
confluence: string;
|
|
302
|
+
};
|
|
303
|
+
param: string;
|
|
304
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
305
|
+
defaultValue: boolean;
|
|
306
|
+
};
|
|
299
307
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
300
308
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
301
309
|
};
|
|
@@ -63,14 +63,6 @@ export declare const editorExperimentsConfig: {
|
|
|
63
63
|
typeGuard: typeof isBoolean;
|
|
64
64
|
defaultValue: boolean;
|
|
65
65
|
};
|
|
66
|
-
'table-nested-dnd': {
|
|
67
|
-
productKeys: {
|
|
68
|
-
confluence: string;
|
|
69
|
-
};
|
|
70
|
-
param: string;
|
|
71
|
-
typeGuard: typeof isBoolean;
|
|
72
|
-
defaultValue: boolean;
|
|
73
|
-
};
|
|
74
66
|
'insert-menu-in-right-rail': {
|
|
75
67
|
productKeys: {
|
|
76
68
|
confluence: string;
|
|
@@ -255,4 +247,20 @@ export declare const editorExperimentsConfig: {
|
|
|
255
247
|
typeGuard: typeof isBoolean;
|
|
256
248
|
defaultValue: boolean;
|
|
257
249
|
};
|
|
250
|
+
platform_editor_advanced_code_blocks: {
|
|
251
|
+
productKeys: {
|
|
252
|
+
confluence: string;
|
|
253
|
+
};
|
|
254
|
+
param: string;
|
|
255
|
+
typeGuard: typeof isBoolean;
|
|
256
|
+
defaultValue: boolean;
|
|
257
|
+
};
|
|
258
|
+
platform_editor_element_drag_and_drop_multiselect: {
|
|
259
|
+
productKeys: {
|
|
260
|
+
confluence: string;
|
|
261
|
+
};
|
|
262
|
+
param: string;
|
|
263
|
+
typeGuard: typeof isBoolean;
|
|
264
|
+
defaultValue: boolean;
|
|
265
|
+
};
|
|
258
266
|
};
|
|
@@ -10,7 +10,6 @@ export declare let _overrides: Partial<{
|
|
|
10
10
|
'element-level-templates': boolean;
|
|
11
11
|
'add-media-from-url': boolean;
|
|
12
12
|
'nested-dnd': boolean;
|
|
13
|
-
'table-nested-dnd': boolean;
|
|
14
13
|
'insert-menu-in-right-rail': boolean;
|
|
15
14
|
support_table_in_comment: boolean;
|
|
16
15
|
platform_editor_exp_lazy_node_views: boolean;
|
|
@@ -34,6 +33,8 @@ export declare let _overrides: Partial<{
|
|
|
34
33
|
platform_editor_ai_unsplash_page_header: boolean;
|
|
35
34
|
expand_selection_range_to_include_inline_node: boolean;
|
|
36
35
|
platform_editor_blockquote_in_text_formatting_menu: boolean;
|
|
36
|
+
platform_editor_advanced_code_blocks: boolean;
|
|
37
|
+
platform_editor_element_drag_and_drop_multiselect: boolean;
|
|
37
38
|
}>;
|
|
38
39
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
39
40
|
/**
|
package/package.json
CHANGED