@atlaskit/tmp-editor-statsig 4.2.0 → 4.4.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 +3 -21
- package/dist/cjs/experiments.js +3 -2
- package/dist/es2019/experiments-config.js +3 -21
- package/dist/es2019/experiments.js +3 -2
- package/dist/esm/experiments-config.js +3 -21
- package/dist/esm/experiments.js +3 -2
- package/dist/types/editor-experiments-test-utils.d.ts +2 -18
- package/dist/types/experiments-config.d.ts +1 -17
- package/dist/types/setup.d.ts +1 -3
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +2 -18
- package/dist/types-ts4.5/experiments-config.d.ts +1 -17
- package/dist/types-ts4.5/setup.d.ts +1 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,28 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 4.4.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#131059](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/131059)
|
|
8
|
+
[`dce67fd9ee5e2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dce67fd9ee5e2) -
|
|
9
|
+
[ux] ED-26802 tidying contextual formatting experiment
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#131375](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/131375)
|
|
14
|
+
[`31ca9bdace9ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31ca9bdace9ea) -
|
|
15
|
+
Add null check in the case that an experiment is not correctly defined
|
|
16
|
+
|
|
17
|
+
## 4.3.0
|
|
18
|
+
|
|
19
|
+
### Minor Changes
|
|
20
|
+
|
|
21
|
+
- [#128664](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/128664)
|
|
22
|
+
[`abca3266336d9`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/abca3266336d9) -
|
|
23
|
+
[ED-23250] Remove form element from MediaFromUrl and consolidate experiments and feature flags in
|
|
24
|
+
prepartion for jira release
|
|
25
|
+
|
|
3
26
|
## 4.2.0
|
|
4
27
|
|
|
5
28
|
### Minor Changes
|
|
@@ -54,10 +54,10 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
54
54
|
typeGuard: _typeGuards.isBoolean,
|
|
55
55
|
defaultValue: false
|
|
56
56
|
},
|
|
57
|
-
// Added 2024-08-
|
|
58
|
-
'
|
|
57
|
+
// Added 2024-08-28
|
|
58
|
+
'element-level-templates': {
|
|
59
59
|
productKeys: {
|
|
60
|
-
confluence: '
|
|
60
|
+
confluence: 'platform_editor_element_level_templates'
|
|
61
61
|
},
|
|
62
62
|
param: 'isEnabled',
|
|
63
63
|
typeGuard: _typeGuards.isBoolean,
|
|
@@ -184,15 +184,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
184
184
|
typeGuard: _typeGuards.isBoolean,
|
|
185
185
|
defaultValue: false
|
|
186
186
|
},
|
|
187
|
-
// Added 2024-11-18
|
|
188
|
-
contextual_formatting_toolbar: {
|
|
189
|
-
productKeys: {
|
|
190
|
-
confluence: 'platform_editor_contextual_formatting_toolbar_exp'
|
|
191
|
-
},
|
|
192
|
-
param: 'isEnabled',
|
|
193
|
-
typeGuard: _typeGuards.isBoolean,
|
|
194
|
-
defaultValue: false
|
|
195
|
-
},
|
|
196
187
|
// Added 2024-11-26
|
|
197
188
|
platform_editor_ai_unsplash_page_header: {
|
|
198
189
|
productKeys: {
|
|
@@ -246,15 +237,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
246
237
|
typeGuard: (0, _typeGuards.oneOf)(['control', 'text-click-delayed', 'text-click-no-delay', 'initially-hide-toolbar']),
|
|
247
238
|
defaultValue: 'control'
|
|
248
239
|
},
|
|
249
|
-
// Added 2025-01-20
|
|
250
|
-
platform_editor_contextual_formatting_toolbar_v2: {
|
|
251
|
-
productKeys: {
|
|
252
|
-
confluence: 'platform_editor_contextual_formatting_toolbar_v2'
|
|
253
|
-
},
|
|
254
|
-
param: 'cohort',
|
|
255
|
-
typeGuard: (0, _typeGuards.oneOf)(['control', 'variant1', 'variant2']),
|
|
256
|
-
defaultValue: 'control'
|
|
257
|
-
},
|
|
258
240
|
// Added 2025-01-19
|
|
259
241
|
platform_editor_ai_edit_response_in_preview: {
|
|
260
242
|
productKeys: {
|
package/dist/cjs/experiments.js
CHANGED
|
@@ -72,10 +72,11 @@ function editorExperiment(experimentName, expectedExperimentValue) {
|
|
|
72
72
|
// Typescript is complaining here about accessing the productKeys property
|
|
73
73
|
// Ignored via go/ees005
|
|
74
74
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
75
|
-
var experimentKey = (_experimentConfig$pro = experimentConfig.productKeys) === null || _experimentConfig$pro === void 0 ? void 0 : _experimentConfig$pro[_setup._product];
|
|
75
|
+
var experimentKey = experimentConfig === null || experimentConfig === void 0 || (_experimentConfig$pro = experimentConfig.productKeys) === null || _experimentConfig$pro === void 0 ? void 0 : _experimentConfig$pro[_setup._product];
|
|
76
76
|
if (!experimentKey) {
|
|
77
|
+
var _editorExperimentsCon;
|
|
77
78
|
// This will be hit in the case of an experiment not being set up for the product
|
|
78
|
-
return _experimentsConfig.editorExperimentsConfig[experimentName].defaultValue === expectedExperimentValue;
|
|
79
|
+
return ((_editorExperimentsCon = _experimentsConfig.editorExperimentsConfig[experimentName]) === null || _editorExperimentsCon === void 0 ? void 0 : _editorExperimentsCon.defaultValue) === expectedExperimentValue;
|
|
79
80
|
}
|
|
80
81
|
|
|
81
82
|
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
@@ -48,10 +48,10 @@ export const editorExperimentsConfig = {
|
|
|
48
48
|
typeGuard: isBoolean,
|
|
49
49
|
defaultValue: false
|
|
50
50
|
},
|
|
51
|
-
// Added 2024-08-
|
|
52
|
-
'
|
|
51
|
+
// Added 2024-08-28
|
|
52
|
+
'element-level-templates': {
|
|
53
53
|
productKeys: {
|
|
54
|
-
confluence: '
|
|
54
|
+
confluence: 'platform_editor_element_level_templates'
|
|
55
55
|
},
|
|
56
56
|
param: 'isEnabled',
|
|
57
57
|
typeGuard: isBoolean,
|
|
@@ -178,15 +178,6 @@ export const editorExperimentsConfig = {
|
|
|
178
178
|
typeGuard: isBoolean,
|
|
179
179
|
defaultValue: false
|
|
180
180
|
},
|
|
181
|
-
// Added 2024-11-18
|
|
182
|
-
contextual_formatting_toolbar: {
|
|
183
|
-
productKeys: {
|
|
184
|
-
confluence: 'platform_editor_contextual_formatting_toolbar_exp'
|
|
185
|
-
},
|
|
186
|
-
param: 'isEnabled',
|
|
187
|
-
typeGuard: isBoolean,
|
|
188
|
-
defaultValue: false
|
|
189
|
-
},
|
|
190
181
|
// Added 2024-11-26
|
|
191
182
|
platform_editor_ai_unsplash_page_header: {
|
|
192
183
|
productKeys: {
|
|
@@ -240,15 +231,6 @@ export const editorExperimentsConfig = {
|
|
|
240
231
|
typeGuard: oneOf(['control', 'text-click-delayed', 'text-click-no-delay', 'initially-hide-toolbar']),
|
|
241
232
|
defaultValue: 'control'
|
|
242
233
|
},
|
|
243
|
-
// Added 2025-01-20
|
|
244
|
-
platform_editor_contextual_formatting_toolbar_v2: {
|
|
245
|
-
productKeys: {
|
|
246
|
-
confluence: 'platform_editor_contextual_formatting_toolbar_v2'
|
|
247
|
-
},
|
|
248
|
-
param: 'cohort',
|
|
249
|
-
typeGuard: oneOf(['control', 'variant1', 'variant2']),
|
|
250
|
-
defaultValue: 'control'
|
|
251
|
-
},
|
|
252
234
|
// Added 2025-01-19
|
|
253
235
|
platform_editor_ai_edit_response_in_preview: {
|
|
254
236
|
productKeys: {
|
|
@@ -64,10 +64,11 @@ export function editorExperiment(experimentName, expectedExperimentValue, option
|
|
|
64
64
|
// Typescript is complaining here about accessing the productKeys property
|
|
65
65
|
// Ignored via go/ees005
|
|
66
66
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
67
|
-
const experimentKey = (_experimentConfig$pro = experimentConfig.productKeys) === null || _experimentConfig$pro === void 0 ? void 0 : _experimentConfig$pro[_product];
|
|
67
|
+
const experimentKey = experimentConfig === null || experimentConfig === void 0 ? void 0 : (_experimentConfig$pro = experimentConfig.productKeys) === null || _experimentConfig$pro === void 0 ? void 0 : _experimentConfig$pro[_product];
|
|
68
68
|
if (!experimentKey) {
|
|
69
|
+
var _editorExperimentsCon;
|
|
69
70
|
// This will be hit in the case of an experiment not being set up for the product
|
|
70
|
-
return editorExperimentsConfig[experimentName].defaultValue === expectedExperimentValue;
|
|
71
|
+
return ((_editorExperimentsCon = editorExperimentsConfig[experimentName]) === null || _editorExperimentsCon === void 0 ? void 0 : _editorExperimentsCon.defaultValue) === expectedExperimentValue;
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
@@ -48,10 +48,10 @@ export var editorExperimentsConfig = {
|
|
|
48
48
|
typeGuard: isBoolean,
|
|
49
49
|
defaultValue: false
|
|
50
50
|
},
|
|
51
|
-
// Added 2024-08-
|
|
52
|
-
'
|
|
51
|
+
// Added 2024-08-28
|
|
52
|
+
'element-level-templates': {
|
|
53
53
|
productKeys: {
|
|
54
|
-
confluence: '
|
|
54
|
+
confluence: 'platform_editor_element_level_templates'
|
|
55
55
|
},
|
|
56
56
|
param: 'isEnabled',
|
|
57
57
|
typeGuard: isBoolean,
|
|
@@ -178,15 +178,6 @@ export var editorExperimentsConfig = {
|
|
|
178
178
|
typeGuard: isBoolean,
|
|
179
179
|
defaultValue: false
|
|
180
180
|
},
|
|
181
|
-
// Added 2024-11-18
|
|
182
|
-
contextual_formatting_toolbar: {
|
|
183
|
-
productKeys: {
|
|
184
|
-
confluence: 'platform_editor_contextual_formatting_toolbar_exp'
|
|
185
|
-
},
|
|
186
|
-
param: 'isEnabled',
|
|
187
|
-
typeGuard: isBoolean,
|
|
188
|
-
defaultValue: false
|
|
189
|
-
},
|
|
190
181
|
// Added 2024-11-26
|
|
191
182
|
platform_editor_ai_unsplash_page_header: {
|
|
192
183
|
productKeys: {
|
|
@@ -240,15 +231,6 @@ export var editorExperimentsConfig = {
|
|
|
240
231
|
typeGuard: oneOf(['control', 'text-click-delayed', 'text-click-no-delay', 'initially-hide-toolbar']),
|
|
241
232
|
defaultValue: 'control'
|
|
242
233
|
},
|
|
243
|
-
// Added 2025-01-20
|
|
244
|
-
platform_editor_contextual_formatting_toolbar_v2: {
|
|
245
|
-
productKeys: {
|
|
246
|
-
confluence: 'platform_editor_contextual_formatting_toolbar_v2'
|
|
247
|
-
},
|
|
248
|
-
param: 'cohort',
|
|
249
|
-
typeGuard: oneOf(['control', 'variant1', 'variant2']),
|
|
250
|
-
defaultValue: 'control'
|
|
251
|
-
},
|
|
252
234
|
// Added 2025-01-19
|
|
253
235
|
platform_editor_ai_edit_response_in_preview: {
|
|
254
236
|
productKeys: {
|
package/dist/esm/experiments.js
CHANGED
|
@@ -65,10 +65,11 @@ export function editorExperiment(experimentName, expectedExperimentValue) {
|
|
|
65
65
|
// Typescript is complaining here about accessing the productKeys property
|
|
66
66
|
// Ignored via go/ees005
|
|
67
67
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
68
|
-
var experimentKey = (_experimentConfig$pro = experimentConfig.productKeys) === null || _experimentConfig$pro === void 0 ? void 0 : _experimentConfig$pro[_product];
|
|
68
|
+
var experimentKey = experimentConfig === null || experimentConfig === void 0 || (_experimentConfig$pro = experimentConfig.productKeys) === null || _experimentConfig$pro === void 0 ? void 0 : _experimentConfig$pro[_product];
|
|
69
69
|
if (!experimentKey) {
|
|
70
|
+
var _editorExperimentsCon;
|
|
70
71
|
// This will be hit in the case of an experiment not being set up for the product
|
|
71
|
-
return editorExperimentsConfig[experimentName].defaultValue === expectedExperimentValue;
|
|
72
|
+
return ((_editorExperimentsCon = editorExperimentsConfig[experimentName]) === null || _editorExperimentsCon === void 0 ? void 0 : _editorExperimentsCon.defaultValue) === expectedExperimentValue;
|
|
72
73
|
}
|
|
73
74
|
|
|
74
75
|
// eslint-disable-next-line @atlaskit/platform/use-recommended-utils
|
|
@@ -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" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "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" | "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" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -80,7 +80,7 @@ declare namespace eeTest {
|
|
|
80
80
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
81
81
|
defaultValue: boolean;
|
|
82
82
|
};
|
|
83
|
-
'
|
|
83
|
+
'element-level-templates': {
|
|
84
84
|
productKeys: {
|
|
85
85
|
confluence: string;
|
|
86
86
|
};
|
|
@@ -192,14 +192,6 @@ declare namespace eeTest {
|
|
|
192
192
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
193
193
|
defaultValue: boolean;
|
|
194
194
|
};
|
|
195
|
-
contextual_formatting_toolbar: {
|
|
196
|
-
productKeys: {
|
|
197
|
-
confluence: string;
|
|
198
|
-
};
|
|
199
|
-
param: string;
|
|
200
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
201
|
-
defaultValue: boolean;
|
|
202
|
-
};
|
|
203
195
|
platform_editor_ai_unsplash_page_header: {
|
|
204
196
|
productKeys: {
|
|
205
197
|
confluence: string;
|
|
@@ -248,14 +240,6 @@ declare namespace eeTest {
|
|
|
248
240
|
typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
249
241
|
defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
250
242
|
};
|
|
251
|
-
platform_editor_contextual_formatting_toolbar_v2: {
|
|
252
|
-
productKeys: {
|
|
253
|
-
confluence: string;
|
|
254
|
-
};
|
|
255
|
-
param: string;
|
|
256
|
-
typeGuard: (value: unknown) => value is "control" | "variant1" | "variant2";
|
|
257
|
-
defaultValue: "control" | "variant1" | "variant2";
|
|
258
|
-
};
|
|
259
243
|
platform_editor_ai_edit_response_in_preview: {
|
|
260
244
|
productKeys: {
|
|
261
245
|
confluence: string;
|
|
@@ -39,7 +39,7 @@ export declare const editorExperimentsConfig: {
|
|
|
39
39
|
typeGuard: typeof isBoolean;
|
|
40
40
|
defaultValue: boolean;
|
|
41
41
|
};
|
|
42
|
-
'
|
|
42
|
+
'element-level-templates': {
|
|
43
43
|
productKeys: {
|
|
44
44
|
confluence: string;
|
|
45
45
|
};
|
|
@@ -151,14 +151,6 @@ export declare const editorExperimentsConfig: {
|
|
|
151
151
|
typeGuard: typeof isBoolean;
|
|
152
152
|
defaultValue: boolean;
|
|
153
153
|
};
|
|
154
|
-
contextual_formatting_toolbar: {
|
|
155
|
-
productKeys: {
|
|
156
|
-
confluence: string;
|
|
157
|
-
};
|
|
158
|
-
param: string;
|
|
159
|
-
typeGuard: typeof isBoolean;
|
|
160
|
-
defaultValue: boolean;
|
|
161
|
-
};
|
|
162
154
|
platform_editor_ai_unsplash_page_header: {
|
|
163
155
|
productKeys: {
|
|
164
156
|
confluence: string;
|
|
@@ -207,14 +199,6 @@ export declare const editorExperimentsConfig: {
|
|
|
207
199
|
typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
208
200
|
defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
209
201
|
};
|
|
210
|
-
platform_editor_contextual_formatting_toolbar_v2: {
|
|
211
|
-
productKeys: {
|
|
212
|
-
confluence: string;
|
|
213
|
-
};
|
|
214
|
-
param: string;
|
|
215
|
-
typeGuard: (value: unknown) => value is "control" | "variant1" | "variant2";
|
|
216
|
-
defaultValue: "control" | "variant1" | "variant2";
|
|
217
|
-
};
|
|
218
202
|
platform_editor_ai_edit_response_in_preview: {
|
|
219
203
|
productKeys: {
|
|
220
204
|
confluence: string;
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare let _overrides: Partial<{
|
|
|
12
12
|
'example-multivariate': "one" | "two" | "three";
|
|
13
13
|
'test-new-experiments-package': boolean;
|
|
14
14
|
'basic-text-transformations': boolean;
|
|
15
|
-
'
|
|
15
|
+
'element-level-templates': boolean;
|
|
16
16
|
'nested-dnd': boolean;
|
|
17
17
|
'insert-menu-in-right-rail': boolean;
|
|
18
18
|
support_table_in_comment: boolean;
|
|
@@ -26,14 +26,12 @@ export declare let _overrides: Partial<{
|
|
|
26
26
|
support_table_in_comment_jira: boolean;
|
|
27
27
|
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
28
28
|
'nested-tables-in-tables': boolean;
|
|
29
|
-
contextual_formatting_toolbar: boolean;
|
|
30
29
|
platform_editor_ai_unsplash_page_header: boolean;
|
|
31
30
|
expand_selection_range_to_include_inline_node: boolean;
|
|
32
31
|
platform_editor_blockquote_in_text_formatting_menu: boolean;
|
|
33
32
|
platform_editor_advanced_code_blocks: boolean;
|
|
34
33
|
platform_editor_element_drag_and_drop_multiselect: boolean;
|
|
35
34
|
live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
36
|
-
platform_editor_contextual_formatting_toolbar_v2: "control" | "variant1" | "variant2";
|
|
37
35
|
platform_editor_ai_edit_response_in_preview: boolean;
|
|
38
36
|
platform_editor_controls: "control" | "variant1";
|
|
39
37
|
platform_editor_nested_non_bodied_macros: "test" | "control";
|
|
@@ -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" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "element-level-templates" | "nested-dnd" | "insert-menu-in-right-rail" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_renderer_table_sticky_scrollbar" | "nested-expand-in-expand" | "editor_ai_-_multi_prompts" | "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" | "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" | "live_pages_graceful_edit" | "platform_editor_ai_edit_response_in_preview" | "platform_editor_controls" | "platform_editor_nested_non_bodied_macros" | "editor_ai_inline_suggestion_date" | "platform_editor_insertion" | "platform_editor_inline_node_virtualization" | "platform_editor_cmd_a_progressively_select_nodes" | "editor_text_highlight_orange_to_yellow">(experimentName: ExperimentName, describeName: string) => {
|
|
49
49
|
variant: (value: {
|
|
50
50
|
'example-boolean': {
|
|
51
51
|
productKeys: {
|
|
@@ -80,7 +80,7 @@ declare namespace eeTest {
|
|
|
80
80
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
81
81
|
defaultValue: boolean;
|
|
82
82
|
};
|
|
83
|
-
'
|
|
83
|
+
'element-level-templates': {
|
|
84
84
|
productKeys: {
|
|
85
85
|
confluence: string;
|
|
86
86
|
};
|
|
@@ -192,14 +192,6 @@ declare namespace eeTest {
|
|
|
192
192
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
193
193
|
defaultValue: boolean;
|
|
194
194
|
};
|
|
195
|
-
contextual_formatting_toolbar: {
|
|
196
|
-
productKeys: {
|
|
197
|
-
confluence: string;
|
|
198
|
-
};
|
|
199
|
-
param: string;
|
|
200
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
201
|
-
defaultValue: boolean;
|
|
202
|
-
};
|
|
203
195
|
platform_editor_ai_unsplash_page_header: {
|
|
204
196
|
productKeys: {
|
|
205
197
|
confluence: string;
|
|
@@ -248,14 +240,6 @@ declare namespace eeTest {
|
|
|
248
240
|
typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
249
241
|
defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
250
242
|
};
|
|
251
|
-
platform_editor_contextual_formatting_toolbar_v2: {
|
|
252
|
-
productKeys: {
|
|
253
|
-
confluence: string;
|
|
254
|
-
};
|
|
255
|
-
param: string;
|
|
256
|
-
typeGuard: (value: unknown) => value is "control" | "variant1" | "variant2";
|
|
257
|
-
defaultValue: "control" | "variant1" | "variant2";
|
|
258
|
-
};
|
|
259
243
|
platform_editor_ai_edit_response_in_preview: {
|
|
260
244
|
productKeys: {
|
|
261
245
|
confluence: string;
|
|
@@ -39,7 +39,7 @@ export declare const editorExperimentsConfig: {
|
|
|
39
39
|
typeGuard: typeof isBoolean;
|
|
40
40
|
defaultValue: boolean;
|
|
41
41
|
};
|
|
42
|
-
'
|
|
42
|
+
'element-level-templates': {
|
|
43
43
|
productKeys: {
|
|
44
44
|
confluence: string;
|
|
45
45
|
};
|
|
@@ -151,14 +151,6 @@ export declare const editorExperimentsConfig: {
|
|
|
151
151
|
typeGuard: typeof isBoolean;
|
|
152
152
|
defaultValue: boolean;
|
|
153
153
|
};
|
|
154
|
-
contextual_formatting_toolbar: {
|
|
155
|
-
productKeys: {
|
|
156
|
-
confluence: string;
|
|
157
|
-
};
|
|
158
|
-
param: string;
|
|
159
|
-
typeGuard: typeof isBoolean;
|
|
160
|
-
defaultValue: boolean;
|
|
161
|
-
};
|
|
162
154
|
platform_editor_ai_unsplash_page_header: {
|
|
163
155
|
productKeys: {
|
|
164
156
|
confluence: string;
|
|
@@ -207,14 +199,6 @@ export declare const editorExperimentsConfig: {
|
|
|
207
199
|
typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
208
200
|
defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
209
201
|
};
|
|
210
|
-
platform_editor_contextual_formatting_toolbar_v2: {
|
|
211
|
-
productKeys: {
|
|
212
|
-
confluence: string;
|
|
213
|
-
};
|
|
214
|
-
param: string;
|
|
215
|
-
typeGuard: (value: unknown) => value is "control" | "variant1" | "variant2";
|
|
216
|
-
defaultValue: "control" | "variant1" | "variant2";
|
|
217
|
-
};
|
|
218
202
|
platform_editor_ai_edit_response_in_preview: {
|
|
219
203
|
productKeys: {
|
|
220
204
|
confluence: string;
|
|
@@ -12,7 +12,7 @@ export declare let _overrides: Partial<{
|
|
|
12
12
|
'example-multivariate': "one" | "two" | "three";
|
|
13
13
|
'test-new-experiments-package': boolean;
|
|
14
14
|
'basic-text-transformations': boolean;
|
|
15
|
-
'
|
|
15
|
+
'element-level-templates': boolean;
|
|
16
16
|
'nested-dnd': boolean;
|
|
17
17
|
'insert-menu-in-right-rail': boolean;
|
|
18
18
|
support_table_in_comment: boolean;
|
|
@@ -26,14 +26,12 @@ export declare let _overrides: Partial<{
|
|
|
26
26
|
support_table_in_comment_jira: boolean;
|
|
27
27
|
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
28
28
|
'nested-tables-in-tables': boolean;
|
|
29
|
-
contextual_formatting_toolbar: boolean;
|
|
30
29
|
platform_editor_ai_unsplash_page_header: boolean;
|
|
31
30
|
expand_selection_range_to_include_inline_node: boolean;
|
|
32
31
|
platform_editor_blockquote_in_text_formatting_menu: boolean;
|
|
33
32
|
platform_editor_advanced_code_blocks: boolean;
|
|
34
33
|
platform_editor_element_drag_and_drop_multiselect: boolean;
|
|
35
34
|
live_pages_graceful_edit: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
36
|
-
platform_editor_contextual_formatting_toolbar_v2: "control" | "variant1" | "variant2";
|
|
37
35
|
platform_editor_ai_edit_response_in_preview: boolean;
|
|
38
36
|
platform_editor_controls: "control" | "variant1";
|
|
39
37
|
platform_editor_nested_non_bodied_macros: "test" | "control";
|
package/package.json
CHANGED