@atlaskit/tmp-editor-statsig 2.33.1 → 2.34.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 +15 -0
- package/dist/cjs/experiments-config.js +9 -9
- package/dist/es2019/experiments-config.js +9 -9
- package/dist/esm/experiments-config.js +9 -9
- package/dist/types/editor-experiments-test-utils.d.ts +9 -9
- package/dist/types/experiments-config.d.ts +8 -8
- package/dist/types/setup.d.ts +1 -1
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +9 -9
- package/dist/types-ts4.5/experiments-config.d.ts +8 -8
- package/dist/types-ts4.5/setup.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 2.34.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#100411](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/100411)
|
|
8
|
+
[`14499ab145534`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14499ab145534) -
|
|
9
|
+
[ux] Introduces advanced code block as per:
|
|
10
|
+
https://hello.atlassian.net/wiki/spaces/EDITOR/pages/4632293323/Editor+RFC+063+Advanced+code+blocks.
|
|
11
|
+
This can be added to an existing editor preset to enrich the code block experience with syntax
|
|
12
|
+
highlighting and can be extended for other features via CodeMirror extensions (ie. autocompletion,
|
|
13
|
+
code folding etc.).
|
|
14
|
+
- [#102045](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/102045)
|
|
15
|
+
[`44f96aff22dd9`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/44f96aff22dd9) -
|
|
16
|
+
[ED-26179] clean up platform_editor_elements_dnd_nested_table
|
|
17
|
+
|
|
3
18
|
## 2.33.1
|
|
4
19
|
|
|
5
20
|
### 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,14 @@ 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
303
|
}
|
|
304
304
|
};
|
|
@@ -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,14 @@ 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
297
|
}
|
|
298
298
|
};
|
|
@@ -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,14 @@ 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
297
|
}
|
|
298
298
|
};
|
|
@@ -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">(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,14 @@ 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
299
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
300
300
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
301
301
|
};
|
|
@@ -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,12 @@ 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
258
|
};
|
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,7 @@ 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
37
|
}>;
|
|
38
38
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
39
39
|
/**
|
|
@@ -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">(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,14 @@ 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
299
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
300
300
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
301
301
|
};
|
|
@@ -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,12 @@ 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
258
|
};
|
|
@@ -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,7 @@ 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
37
|
}>;
|
|
38
38
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
|
39
39
|
/**
|
package/package.json
CHANGED