@atlaskit/tmp-editor-statsig 4.3.0 → 4.4.1
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 +22 -0
- package/dist/cjs/experiments-config.js +0 -27
- package/dist/cjs/experiments.js +3 -2
- package/dist/es2019/experiments-config.js +0 -27
- package/dist/es2019/experiments.js +3 -2
- package/dist/esm/experiments-config.js +0 -27
- package/dist/esm/experiments.js +3 -2
- package/dist/types/editor-experiments-test-utils.d.ts +1 -25
- package/dist/types/experiments-config.d.ts +0 -24
- package/dist/types/setup.d.ts +0 -3
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +1 -25
- package/dist/types-ts4.5/experiments-config.d.ts +0 -24
- package/dist/types-ts4.5/setup.d.ts +0 -3
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 4.4.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#132166](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/132166)
|
|
8
|
+
[`e1c6dcf47a8a2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/e1c6dcf47a8a2) -
|
|
9
|
+
ED-24538 Clean up platform_editor_basic_text_transformations
|
|
10
|
+
|
|
11
|
+
## 4.4.0
|
|
12
|
+
|
|
13
|
+
### Minor Changes
|
|
14
|
+
|
|
15
|
+
- [#131059](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/131059)
|
|
16
|
+
[`dce67fd9ee5e2`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/dce67fd9ee5e2) -
|
|
17
|
+
[ux] ED-26802 tidying contextual formatting experiment
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#131375](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/131375)
|
|
22
|
+
[`31ca9bdace9ea`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/31ca9bdace9ea) -
|
|
23
|
+
Add null check in the case that an experiment is not correctly defined
|
|
24
|
+
|
|
3
25
|
## 4.3.0
|
|
4
26
|
|
|
5
27
|
### Minor Changes
|
|
@@ -45,15 +45,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
45
45
|
typeGuard: _typeGuards.isBoolean,
|
|
46
46
|
defaultValue: false
|
|
47
47
|
},
|
|
48
|
-
// Add 2024-08-14
|
|
49
|
-
'basic-text-transformations': {
|
|
50
|
-
productKeys: {
|
|
51
|
-
confluence: 'platform_editor_basic_text_transformations'
|
|
52
|
-
},
|
|
53
|
-
param: 'isEnabled',
|
|
54
|
-
typeGuard: _typeGuards.isBoolean,
|
|
55
|
-
defaultValue: false
|
|
56
|
-
},
|
|
57
48
|
// Added 2024-08-28
|
|
58
49
|
'element-level-templates': {
|
|
59
50
|
productKeys: {
|
|
@@ -184,15 +175,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
184
175
|
typeGuard: _typeGuards.isBoolean,
|
|
185
176
|
defaultValue: false
|
|
186
177
|
},
|
|
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
178
|
// Added 2024-11-26
|
|
197
179
|
platform_editor_ai_unsplash_page_header: {
|
|
198
180
|
productKeys: {
|
|
@@ -246,15 +228,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
246
228
|
typeGuard: (0, _typeGuards.oneOf)(['control', 'text-click-delayed', 'text-click-no-delay', 'initially-hide-toolbar']),
|
|
247
229
|
defaultValue: 'control'
|
|
248
230
|
},
|
|
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
231
|
// Added 2025-01-19
|
|
259
232
|
platform_editor_ai_edit_response_in_preview: {
|
|
260
233
|
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
|
|
@@ -39,15 +39,6 @@ export const editorExperimentsConfig = {
|
|
|
39
39
|
typeGuard: isBoolean,
|
|
40
40
|
defaultValue: false
|
|
41
41
|
},
|
|
42
|
-
// Add 2024-08-14
|
|
43
|
-
'basic-text-transformations': {
|
|
44
|
-
productKeys: {
|
|
45
|
-
confluence: 'platform_editor_basic_text_transformations'
|
|
46
|
-
},
|
|
47
|
-
param: 'isEnabled',
|
|
48
|
-
typeGuard: isBoolean,
|
|
49
|
-
defaultValue: false
|
|
50
|
-
},
|
|
51
42
|
// Added 2024-08-28
|
|
52
43
|
'element-level-templates': {
|
|
53
44
|
productKeys: {
|
|
@@ -178,15 +169,6 @@ export const editorExperimentsConfig = {
|
|
|
178
169
|
typeGuard: isBoolean,
|
|
179
170
|
defaultValue: false
|
|
180
171
|
},
|
|
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
172
|
// Added 2024-11-26
|
|
191
173
|
platform_editor_ai_unsplash_page_header: {
|
|
192
174
|
productKeys: {
|
|
@@ -240,15 +222,6 @@ export const editorExperimentsConfig = {
|
|
|
240
222
|
typeGuard: oneOf(['control', 'text-click-delayed', 'text-click-no-delay', 'initially-hide-toolbar']),
|
|
241
223
|
defaultValue: 'control'
|
|
242
224
|
},
|
|
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
225
|
// Added 2025-01-19
|
|
253
226
|
platform_editor_ai_edit_response_in_preview: {
|
|
254
227
|
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
|
|
@@ -39,15 +39,6 @@ export var editorExperimentsConfig = {
|
|
|
39
39
|
typeGuard: isBoolean,
|
|
40
40
|
defaultValue: false
|
|
41
41
|
},
|
|
42
|
-
// Add 2024-08-14
|
|
43
|
-
'basic-text-transformations': {
|
|
44
|
-
productKeys: {
|
|
45
|
-
confluence: 'platform_editor_basic_text_transformations'
|
|
46
|
-
},
|
|
47
|
-
param: 'isEnabled',
|
|
48
|
-
typeGuard: isBoolean,
|
|
49
|
-
defaultValue: false
|
|
50
|
-
},
|
|
51
42
|
// Added 2024-08-28
|
|
52
43
|
'element-level-templates': {
|
|
53
44
|
productKeys: {
|
|
@@ -178,15 +169,6 @@ export var editorExperimentsConfig = {
|
|
|
178
169
|
typeGuard: isBoolean,
|
|
179
170
|
defaultValue: false
|
|
180
171
|
},
|
|
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
172
|
// Added 2024-11-26
|
|
191
173
|
platform_editor_ai_unsplash_page_header: {
|
|
192
174
|
productKeys: {
|
|
@@ -240,15 +222,6 @@ export var editorExperimentsConfig = {
|
|
|
240
222
|
typeGuard: oneOf(['control', 'text-click-delayed', 'text-click-no-delay', 'initially-hide-toolbar']),
|
|
241
223
|
defaultValue: 'control'
|
|
242
224
|
},
|
|
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
225
|
// Added 2025-01-19
|
|
253
226
|
platform_editor_ai_edit_response_in_preview: {
|
|
254
227
|
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" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "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: {
|
|
@@ -72,14 +72,6 @@ declare namespace eeTest {
|
|
|
72
72
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
73
73
|
defaultValue: boolean;
|
|
74
74
|
};
|
|
75
|
-
'basic-text-transformations': {
|
|
76
|
-
productKeys: {
|
|
77
|
-
confluence: string;
|
|
78
|
-
};
|
|
79
|
-
param: string;
|
|
80
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
81
|
-
defaultValue: boolean;
|
|
82
|
-
};
|
|
83
75
|
'element-level-templates': {
|
|
84
76
|
productKeys: {
|
|
85
77
|
confluence: string;
|
|
@@ -192,14 +184,6 @@ declare namespace eeTest {
|
|
|
192
184
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
193
185
|
defaultValue: boolean;
|
|
194
186
|
};
|
|
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
187
|
platform_editor_ai_unsplash_page_header: {
|
|
204
188
|
productKeys: {
|
|
205
189
|
confluence: string;
|
|
@@ -248,14 +232,6 @@ declare namespace eeTest {
|
|
|
248
232
|
typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
249
233
|
defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
250
234
|
};
|
|
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
235
|
platform_editor_ai_edit_response_in_preview: {
|
|
260
236
|
productKeys: {
|
|
261
237
|
confluence: string;
|
|
@@ -31,14 +31,6 @@ export declare const editorExperimentsConfig: {
|
|
|
31
31
|
typeGuard: typeof isBoolean;
|
|
32
32
|
defaultValue: boolean;
|
|
33
33
|
};
|
|
34
|
-
'basic-text-transformations': {
|
|
35
|
-
productKeys: {
|
|
36
|
-
confluence: string;
|
|
37
|
-
};
|
|
38
|
-
param: string;
|
|
39
|
-
typeGuard: typeof isBoolean;
|
|
40
|
-
defaultValue: boolean;
|
|
41
|
-
};
|
|
42
34
|
'element-level-templates': {
|
|
43
35
|
productKeys: {
|
|
44
36
|
confluence: string;
|
|
@@ -151,14 +143,6 @@ export declare const editorExperimentsConfig: {
|
|
|
151
143
|
typeGuard: typeof isBoolean;
|
|
152
144
|
defaultValue: boolean;
|
|
153
145
|
};
|
|
154
|
-
contextual_formatting_toolbar: {
|
|
155
|
-
productKeys: {
|
|
156
|
-
confluence: string;
|
|
157
|
-
};
|
|
158
|
-
param: string;
|
|
159
|
-
typeGuard: typeof isBoolean;
|
|
160
|
-
defaultValue: boolean;
|
|
161
|
-
};
|
|
162
146
|
platform_editor_ai_unsplash_page_header: {
|
|
163
147
|
productKeys: {
|
|
164
148
|
confluence: string;
|
|
@@ -207,14 +191,6 @@ export declare const editorExperimentsConfig: {
|
|
|
207
191
|
typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
208
192
|
defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
209
193
|
};
|
|
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
194
|
platform_editor_ai_edit_response_in_preview: {
|
|
219
195
|
productKeys: {
|
|
220
196
|
confluence: string;
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -11,7 +11,6 @@ export declare let _overrides: Partial<{
|
|
|
11
11
|
'example-boolean': boolean;
|
|
12
12
|
'example-multivariate': "one" | "two" | "three";
|
|
13
13
|
'test-new-experiments-package': boolean;
|
|
14
|
-
'basic-text-transformations': boolean;
|
|
15
14
|
'element-level-templates': boolean;
|
|
16
15
|
'nested-dnd': boolean;
|
|
17
16
|
'insert-menu-in-right-rail': boolean;
|
|
@@ -26,14 +25,12 @@ export declare let _overrides: Partial<{
|
|
|
26
25
|
support_table_in_comment_jira: boolean;
|
|
27
26
|
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
28
27
|
'nested-tables-in-tables': boolean;
|
|
29
|
-
contextual_formatting_toolbar: boolean;
|
|
30
28
|
platform_editor_ai_unsplash_page_header: boolean;
|
|
31
29
|
expand_selection_range_to_include_inline_node: boolean;
|
|
32
30
|
platform_editor_blockquote_in_text_formatting_menu: boolean;
|
|
33
31
|
platform_editor_advanced_code_blocks: boolean;
|
|
34
32
|
platform_editor_element_drag_and_drop_multiselect: boolean;
|
|
35
33
|
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
34
|
platform_editor_ai_edit_response_in_preview: boolean;
|
|
38
35
|
platform_editor_controls: "control" | "variant1";
|
|
39
36
|
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" | "
|
|
48
|
+
var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "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: {
|
|
@@ -72,14 +72,6 @@ declare namespace eeTest {
|
|
|
72
72
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
73
73
|
defaultValue: boolean;
|
|
74
74
|
};
|
|
75
|
-
'basic-text-transformations': {
|
|
76
|
-
productKeys: {
|
|
77
|
-
confluence: string;
|
|
78
|
-
};
|
|
79
|
-
param: string;
|
|
80
|
-
typeGuard: typeof import("./type-guards").isBoolean;
|
|
81
|
-
defaultValue: boolean;
|
|
82
|
-
};
|
|
83
75
|
'element-level-templates': {
|
|
84
76
|
productKeys: {
|
|
85
77
|
confluence: string;
|
|
@@ -192,14 +184,6 @@ declare namespace eeTest {
|
|
|
192
184
|
typeGuard: typeof import("./type-guards").isBoolean;
|
|
193
185
|
defaultValue: boolean;
|
|
194
186
|
};
|
|
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
187
|
platform_editor_ai_unsplash_page_header: {
|
|
204
188
|
productKeys: {
|
|
205
189
|
confluence: string;
|
|
@@ -248,14 +232,6 @@ declare namespace eeTest {
|
|
|
248
232
|
typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
249
233
|
defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
250
234
|
};
|
|
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
235
|
platform_editor_ai_edit_response_in_preview: {
|
|
260
236
|
productKeys: {
|
|
261
237
|
confluence: string;
|
|
@@ -31,14 +31,6 @@ export declare const editorExperimentsConfig: {
|
|
|
31
31
|
typeGuard: typeof isBoolean;
|
|
32
32
|
defaultValue: boolean;
|
|
33
33
|
};
|
|
34
|
-
'basic-text-transformations': {
|
|
35
|
-
productKeys: {
|
|
36
|
-
confluence: string;
|
|
37
|
-
};
|
|
38
|
-
param: string;
|
|
39
|
-
typeGuard: typeof isBoolean;
|
|
40
|
-
defaultValue: boolean;
|
|
41
|
-
};
|
|
42
34
|
'element-level-templates': {
|
|
43
35
|
productKeys: {
|
|
44
36
|
confluence: string;
|
|
@@ -151,14 +143,6 @@ export declare const editorExperimentsConfig: {
|
|
|
151
143
|
typeGuard: typeof isBoolean;
|
|
152
144
|
defaultValue: boolean;
|
|
153
145
|
};
|
|
154
|
-
contextual_formatting_toolbar: {
|
|
155
|
-
productKeys: {
|
|
156
|
-
confluence: string;
|
|
157
|
-
};
|
|
158
|
-
param: string;
|
|
159
|
-
typeGuard: typeof isBoolean;
|
|
160
|
-
defaultValue: boolean;
|
|
161
|
-
};
|
|
162
146
|
platform_editor_ai_unsplash_page_header: {
|
|
163
147
|
productKeys: {
|
|
164
148
|
confluence: string;
|
|
@@ -207,14 +191,6 @@ export declare const editorExperimentsConfig: {
|
|
|
207
191
|
typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
208
192
|
defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
209
193
|
};
|
|
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
194
|
platform_editor_ai_edit_response_in_preview: {
|
|
219
195
|
productKeys: {
|
|
220
196
|
confluence: string;
|
|
@@ -11,7 +11,6 @@ export declare let _overrides: Partial<{
|
|
|
11
11
|
'example-boolean': boolean;
|
|
12
12
|
'example-multivariate': "one" | "two" | "three";
|
|
13
13
|
'test-new-experiments-package': boolean;
|
|
14
|
-
'basic-text-transformations': boolean;
|
|
15
14
|
'element-level-templates': boolean;
|
|
16
15
|
'nested-dnd': boolean;
|
|
17
16
|
'insert-menu-in-right-rail': boolean;
|
|
@@ -26,14 +25,12 @@ export declare let _overrides: Partial<{
|
|
|
26
25
|
support_table_in_comment_jira: boolean;
|
|
27
26
|
'platform_editor_ai-prompts-placeholder': "test" | "control";
|
|
28
27
|
'nested-tables-in-tables': boolean;
|
|
29
|
-
contextual_formatting_toolbar: boolean;
|
|
30
28
|
platform_editor_ai_unsplash_page_header: boolean;
|
|
31
29
|
expand_selection_range_to_include_inline_node: boolean;
|
|
32
30
|
platform_editor_blockquote_in_text_formatting_menu: boolean;
|
|
33
31
|
platform_editor_advanced_code_blocks: boolean;
|
|
34
32
|
platform_editor_element_drag_and_drop_multiselect: boolean;
|
|
35
33
|
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
34
|
platform_editor_ai_edit_response_in_preview: boolean;
|
|
38
35
|
platform_editor_controls: "control" | "variant1";
|
|
39
36
|
platform_editor_nested_non_bodied_macros: "test" | "control";
|
package/package.json
CHANGED