@atlaskit/tmp-editor-statsig 4.17.0 → 4.18.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 +8 -0
- package/dist/cjs/experiments-config.js +8 -0
- package/dist/es2019/experiments-config.js +8 -0
- package/dist/esm/experiments-config.js +8 -0
- package/dist/types/editor-experiments-test-utils.d.ts +7 -1
- package/dist/types/experiments-config.d.ts +6 -0
- package/dist/types/setup.d.ts +1 -0
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +7 -1
- package/dist/types-ts4.5/experiments-config.d.ts +6 -0
- package/dist/types-ts4.5/setup.d.ts +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 4.18.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#149914](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/149914)
|
|
8
|
+
[`069cd0cee4bdd`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/069cd0cee4bdd) -
|
|
9
|
+
migrate editor core styles under new experiment to prepare optimization
|
|
10
|
+
|
|
3
11
|
## 4.17.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -292,5 +292,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
292
292
|
},
|
|
293
293
|
param: 'isEnabled',
|
|
294
294
|
defaultValue: false
|
|
295
|
+
}),
|
|
296
|
+
// Added 2025-05-08
|
|
297
|
+
platform_editor_core_static_emotion: (0, _experimentBuilders.createBooleanExperiment)({
|
|
298
|
+
productKeys: {
|
|
299
|
+
confluence: 'platform_editor_core_static_emotion'
|
|
300
|
+
},
|
|
301
|
+
param: 'isEnabled',
|
|
302
|
+
defaultValue: false
|
|
295
303
|
})
|
|
296
304
|
};
|
|
@@ -286,5 +286,13 @@ export const editorExperimentsConfig = {
|
|
|
286
286
|
},
|
|
287
287
|
param: 'isEnabled',
|
|
288
288
|
defaultValue: false
|
|
289
|
+
}),
|
|
290
|
+
// Added 2025-05-08
|
|
291
|
+
platform_editor_core_static_emotion: createBooleanExperiment({
|
|
292
|
+
productKeys: {
|
|
293
|
+
confluence: 'platform_editor_core_static_emotion'
|
|
294
|
+
},
|
|
295
|
+
param: 'isEnabled',
|
|
296
|
+
defaultValue: false
|
|
289
297
|
})
|
|
290
298
|
};
|
|
@@ -286,5 +286,13 @@ export var editorExperimentsConfig = {
|
|
|
286
286
|
},
|
|
287
287
|
param: 'isEnabled',
|
|
288
288
|
defaultValue: false
|
|
289
|
+
}),
|
|
290
|
+
// Added 2025-05-08
|
|
291
|
+
platform_editor_core_static_emotion: createBooleanExperiment({
|
|
292
|
+
productKeys: {
|
|
293
|
+
confluence: 'platform_editor_core_static_emotion'
|
|
294
|
+
},
|
|
295
|
+
param: 'isEnabled',
|
|
296
|
+
defaultValue: false
|
|
289
297
|
})
|
|
290
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" | "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_controls_shadow" | "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" | "platform_editor_markdown_next_media_plugin_exp" | "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_cmd_palette_remove_retry">(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" | "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_controls_shadow" | "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" | "platform_editor_markdown_next_media_plugin_exp" | "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_cmd_palette_remove_retry" | "platform_editor_core_static_emotion">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
@@ -245,6 +245,12 @@ declare namespace eeTest {
|
|
|
245
245
|
productKeys?: import("./types").ProductKeys | undefined;
|
|
246
246
|
param: string;
|
|
247
247
|
};
|
|
248
|
+
platform_editor_core_static_emotion: {
|
|
249
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
250
|
+
defaultValue: boolean;
|
|
251
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
252
|
+
param: string;
|
|
253
|
+
};
|
|
248
254
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
249
255
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
250
256
|
};
|
|
@@ -203,4 +203,10 @@ export declare const editorExperimentsConfig: {
|
|
|
203
203
|
productKeys?: import("./types").ProductKeys | undefined;
|
|
204
204
|
param: string;
|
|
205
205
|
};
|
|
206
|
+
platform_editor_core_static_emotion: {
|
|
207
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
208
|
+
defaultValue: boolean;
|
|
209
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
210
|
+
param: string;
|
|
211
|
+
};
|
|
206
212
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -41,6 +41,7 @@ export declare let _overrides: Partial<{
|
|
|
41
41
|
platform_renderer_fix_analytics_memo_callback: boolean;
|
|
42
42
|
editor_ai_contextual_selection_toolbar_button: "test" | "control";
|
|
43
43
|
editor_ai_cmd_palette_remove_retry: boolean;
|
|
44
|
+
platform_editor_core_static_emotion: boolean;
|
|
44
45
|
}>;
|
|
45
46
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
46
47
|
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_controls_shadow" | "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" | "platform_editor_markdown_next_media_plugin_exp" | "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_cmd_palette_remove_retry">(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" | "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_controls_shadow" | "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" | "platform_editor_markdown_next_media_plugin_exp" | "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_cmd_palette_remove_retry" | "platform_editor_core_static_emotion">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
@@ -245,6 +245,12 @@ declare namespace eeTest {
|
|
|
245
245
|
productKeys?: import("./types").ProductKeys | undefined;
|
|
246
246
|
param: string;
|
|
247
247
|
};
|
|
248
|
+
platform_editor_core_static_emotion: {
|
|
249
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
250
|
+
defaultValue: boolean;
|
|
251
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
252
|
+
param: string;
|
|
253
|
+
};
|
|
248
254
|
}[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
|
|
249
255
|
each: (describeBody: jest.EmptyFunction) => void;
|
|
250
256
|
};
|
|
@@ -203,4 +203,10 @@ export declare const editorExperimentsConfig: {
|
|
|
203
203
|
productKeys?: import("./types").ProductKeys | undefined;
|
|
204
204
|
param: string;
|
|
205
205
|
};
|
|
206
|
+
platform_editor_core_static_emotion: {
|
|
207
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
208
|
+
defaultValue: boolean;
|
|
209
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
210
|
+
param: string;
|
|
211
|
+
};
|
|
206
212
|
};
|
|
@@ -41,6 +41,7 @@ export declare let _overrides: Partial<{
|
|
|
41
41
|
platform_renderer_fix_analytics_memo_callback: boolean;
|
|
42
42
|
editor_ai_contextual_selection_toolbar_button: "test" | "control";
|
|
43
43
|
editor_ai_cmd_palette_remove_retry: boolean;
|
|
44
|
+
platform_editor_core_static_emotion: boolean;
|
|
44
45
|
}>;
|
|
45
46
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
46
47
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|
package/package.json
CHANGED