@atlaskit/tmp-editor-statsig 4.14.1 → 4.16.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 +22 -0
- package/dist/cjs/experiment-builders.js +6 -2
- package/dist/cjs/experiments-config.js +81 -116
- package/dist/es2019/experiment-builders.js +6 -2
- package/dist/es2019/experiments-config.js +81 -116
- package/dist/esm/experiment-builders.js +6 -2
- package/dist/esm/experiments-config.js +81 -116
- package/dist/types/editor-experiments-test-utils.d.ts +67 -165
- package/dist/types/experiment-builders.d.ts +14 -3
- package/dist/types/experiments-config.d.ts +88 -162
- package/dist/types/setup.d.ts +1 -2
- package/dist/types/types.d.ts +1 -1
- package/dist/types-ts4.5/editor-experiments-test-utils.d.ts +67 -165
- package/dist/types-ts4.5/experiment-builders.d.ts +14 -3
- package/dist/types-ts4.5/experiments-config.d.ts +88 -162
- package/dist/types-ts4.5/setup.d.ts +1 -2
- package/dist/types-ts4.5/types.d.ts +3 -1
- package/package.json +2 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { isBoolean } from './type-guards';
|
|
2
1
|
export type EditorExperimentsConfig = typeof editorExperimentsConfig;
|
|
3
2
|
/**
|
|
4
3
|
* When adding a new experiment, you need to add it here.
|
|
@@ -7,268 +6,195 @@ export type EditorExperimentsConfig = typeof editorExperimentsConfig;
|
|
|
7
6
|
*/
|
|
8
7
|
export declare const editorExperimentsConfig: {
|
|
9
8
|
'example-boolean': {
|
|
10
|
-
|
|
11
|
-
confluence: string;
|
|
12
|
-
};
|
|
13
|
-
param: string;
|
|
14
|
-
typeGuard: typeof isBoolean;
|
|
9
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
15
10
|
defaultValue: boolean;
|
|
11
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
12
|
+
param: string;
|
|
16
13
|
};
|
|
17
14
|
'example-multivariate': {
|
|
18
|
-
productKeys: {
|
|
19
|
-
confluence: string;
|
|
20
|
-
};
|
|
21
|
-
param: string;
|
|
22
15
|
typeGuard: (value: unknown) => value is "one" | "two" | "three";
|
|
23
16
|
defaultValue: "one" | "two" | "three";
|
|
17
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
18
|
+
param: string;
|
|
24
19
|
};
|
|
25
20
|
'test-new-experiments-package': {
|
|
26
|
-
|
|
27
|
-
confluence: string;
|
|
28
|
-
jira: string;
|
|
29
|
-
};
|
|
30
|
-
param: string;
|
|
31
|
-
typeGuard: typeof isBoolean;
|
|
21
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
32
22
|
defaultValue: boolean;
|
|
23
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
24
|
+
param: string;
|
|
33
25
|
};
|
|
34
26
|
support_table_in_comment: {
|
|
35
|
-
|
|
36
|
-
confluence: string;
|
|
37
|
-
};
|
|
38
|
-
param: string;
|
|
39
|
-
typeGuard: typeof isBoolean;
|
|
27
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
40
28
|
defaultValue: boolean;
|
|
29
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
30
|
+
param: string;
|
|
41
31
|
};
|
|
42
32
|
platform_editor_exp_lazy_node_views: {
|
|
43
|
-
|
|
44
|
-
confluence: string;
|
|
45
|
-
};
|
|
46
|
-
param: string;
|
|
47
|
-
typeGuard: typeof isBoolean;
|
|
33
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
48
34
|
defaultValue: boolean;
|
|
35
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
36
|
+
param: string;
|
|
49
37
|
};
|
|
50
38
|
platform_renderer_table_sticky_scrollbar: {
|
|
51
|
-
|
|
52
|
-
confluence: string;
|
|
53
|
-
};
|
|
54
|
-
param: string;
|
|
55
|
-
typeGuard: typeof isBoolean;
|
|
39
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
56
40
|
defaultValue: boolean;
|
|
41
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
42
|
+
param: string;
|
|
57
43
|
};
|
|
58
44
|
comment_on_bodied_extensions: {
|
|
59
|
-
|
|
60
|
-
confluence: string;
|
|
61
|
-
};
|
|
62
|
-
param: string;
|
|
63
|
-
typeGuard: typeof isBoolean;
|
|
45
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
64
46
|
defaultValue: boolean;
|
|
47
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
48
|
+
param: string;
|
|
65
49
|
};
|
|
66
50
|
advanced_layouts: {
|
|
67
|
-
|
|
68
|
-
confluence: string;
|
|
69
|
-
};
|
|
70
|
-
param: string;
|
|
71
|
-
typeGuard: typeof isBoolean;
|
|
51
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
72
52
|
defaultValue: boolean;
|
|
53
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
54
|
+
param: string;
|
|
73
55
|
};
|
|
74
56
|
single_column_layouts: {
|
|
75
|
-
|
|
76
|
-
confluence: string;
|
|
77
|
-
};
|
|
78
|
-
param: string;
|
|
79
|
-
typeGuard: typeof isBoolean;
|
|
57
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
80
58
|
defaultValue: boolean;
|
|
59
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
60
|
+
param: string;
|
|
81
61
|
};
|
|
82
62
|
support_table_in_comment_jira: {
|
|
83
|
-
|
|
84
|
-
jira: string;
|
|
85
|
-
};
|
|
86
|
-
param: string;
|
|
87
|
-
typeGuard: typeof isBoolean;
|
|
63
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
88
64
|
defaultValue: boolean;
|
|
65
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
66
|
+
param: string;
|
|
89
67
|
};
|
|
90
68
|
'platform_editor_ai-prompts-placeholder': {
|
|
91
|
-
productKeys: {
|
|
92
|
-
confluence: string;
|
|
93
|
-
};
|
|
94
|
-
param: string;
|
|
95
69
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
96
70
|
defaultValue: "test" | "control";
|
|
71
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
72
|
+
param: string;
|
|
97
73
|
};
|
|
98
74
|
'nested-tables-in-tables': {
|
|
99
|
-
|
|
100
|
-
confluence: string;
|
|
101
|
-
};
|
|
102
|
-
param: string;
|
|
103
|
-
typeGuard: typeof isBoolean;
|
|
75
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
104
76
|
defaultValue: boolean;
|
|
77
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
78
|
+
param: string;
|
|
105
79
|
};
|
|
106
80
|
platform_editor_ai_unsplash_page_header: {
|
|
107
|
-
|
|
108
|
-
confluence: string;
|
|
109
|
-
};
|
|
110
|
-
param: string;
|
|
111
|
-
typeGuard: typeof isBoolean;
|
|
81
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
112
82
|
defaultValue: boolean;
|
|
83
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
84
|
+
param: string;
|
|
113
85
|
};
|
|
114
86
|
platform_editor_blockquote_in_text_formatting_menu: {
|
|
115
|
-
|
|
116
|
-
confluence: string;
|
|
117
|
-
};
|
|
118
|
-
param: string;
|
|
119
|
-
typeGuard: typeof isBoolean;
|
|
87
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
120
88
|
defaultValue: boolean;
|
|
89
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
90
|
+
param: string;
|
|
121
91
|
};
|
|
122
92
|
platform_editor_advanced_code_blocks: {
|
|
123
|
-
|
|
124
|
-
confluence: string;
|
|
125
|
-
};
|
|
126
|
-
param: string;
|
|
127
|
-
typeGuard: typeof isBoolean;
|
|
93
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
128
94
|
defaultValue: boolean;
|
|
95
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
96
|
+
param: string;
|
|
129
97
|
};
|
|
130
98
|
platform_editor_element_drag_and_drop_multiselect: {
|
|
131
|
-
|
|
132
|
-
confluence: string;
|
|
133
|
-
};
|
|
134
|
-
param: string;
|
|
135
|
-
typeGuard: typeof isBoolean;
|
|
99
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
136
100
|
defaultValue: boolean;
|
|
101
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
102
|
+
param: string;
|
|
137
103
|
};
|
|
138
104
|
live_pages_graceful_edit: {
|
|
139
|
-
productKeys: {
|
|
140
|
-
confluence: string;
|
|
141
|
-
};
|
|
142
|
-
param: string;
|
|
143
105
|
typeGuard: (value: unknown) => value is "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
144
106
|
defaultValue: "control" | "text-click-delayed" | "text-click-no-delay" | "initially-hide-toolbar";
|
|
107
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
108
|
+
param: string;
|
|
145
109
|
};
|
|
146
110
|
platform_editor_ai_edit_response_in_preview: {
|
|
147
|
-
|
|
148
|
-
confluence: string;
|
|
149
|
-
};
|
|
150
|
-
param: string;
|
|
151
|
-
typeGuard: typeof isBoolean;
|
|
111
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
152
112
|
defaultValue: boolean;
|
|
113
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
114
|
+
param: string;
|
|
153
115
|
};
|
|
154
116
|
platform_editor_controls: {
|
|
155
|
-
productKeys: {
|
|
156
|
-
confluence: string;
|
|
157
|
-
};
|
|
158
|
-
param: string;
|
|
159
117
|
typeGuard: (value: unknown) => value is "control" | "variant1";
|
|
160
118
|
defaultValue: "control" | "variant1";
|
|
119
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
120
|
+
param: string;
|
|
161
121
|
};
|
|
162
122
|
platform_editor_controls_shadow: {
|
|
163
|
-
productKeys: {
|
|
164
|
-
confluence: string;
|
|
165
|
-
};
|
|
166
|
-
param: string;
|
|
167
123
|
typeGuard: (value: unknown) => value is "control" | "variant1";
|
|
168
124
|
defaultValue: "control" | "variant1";
|
|
169
|
-
|
|
170
|
-
platform_editor_nested_non_bodied_macros: {
|
|
171
|
-
productKeys: {
|
|
172
|
-
confluence: string;
|
|
173
|
-
};
|
|
125
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
174
126
|
param: string;
|
|
175
|
-
typeGuard: (value: unknown) => value is "test" | "control";
|
|
176
|
-
defaultValue: "test" | "control";
|
|
177
127
|
};
|
|
178
128
|
platform_editor_insertion: {
|
|
179
|
-
productKeys: {
|
|
180
|
-
confluence: string;
|
|
181
|
-
};
|
|
182
|
-
param: string;
|
|
183
129
|
typeGuard: (value: unknown) => value is "control" | "variant1";
|
|
184
130
|
defaultValue: "control" | "variant1";
|
|
185
|
-
|
|
186
|
-
platform_editor_inline_node_virtualization: {
|
|
187
|
-
productKeys: {
|
|
188
|
-
confluence: string;
|
|
189
|
-
};
|
|
131
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
190
132
|
param: string;
|
|
191
|
-
typeGuard: (value: unknown) => value is "off" | "fallback-small" | "fallback-large";
|
|
192
|
-
defaultValue: "off" | "fallback-small" | "fallback-large";
|
|
193
133
|
};
|
|
194
134
|
platform_editor_vanilla_dom: {
|
|
195
|
-
|
|
196
|
-
confluence: string;
|
|
197
|
-
};
|
|
198
|
-
param: string;
|
|
199
|
-
typeGuard: typeof isBoolean;
|
|
135
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
200
136
|
defaultValue: boolean;
|
|
137
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
138
|
+
param: string;
|
|
201
139
|
};
|
|
202
140
|
editor_text_highlight_orange_to_yellow: {
|
|
203
|
-
productKeys: {
|
|
204
|
-
confluence: string;
|
|
205
|
-
};
|
|
206
|
-
param: string;
|
|
207
141
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
208
142
|
defaultValue: "test" | "control";
|
|
143
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
144
|
+
param: string;
|
|
209
145
|
};
|
|
210
146
|
platform_editor_ai_proactive_ai_nudge_parameters: {
|
|
211
|
-
productKeys: {
|
|
212
|
-
confluence: string;
|
|
213
|
-
};
|
|
214
|
-
param: string;
|
|
215
147
|
typeGuard: (value: unknown) => value is "control" | "variant1";
|
|
216
148
|
defaultValue: "control" | "variant1";
|
|
149
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
150
|
+
param: string;
|
|
217
151
|
};
|
|
218
152
|
platform_editor_offline_editing_web: {
|
|
219
|
-
|
|
220
|
-
confluence: string;
|
|
221
|
-
};
|
|
222
|
-
param: string;
|
|
223
|
-
typeGuard: typeof isBoolean;
|
|
153
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
224
154
|
defaultValue: boolean;
|
|
155
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
156
|
+
param: string;
|
|
225
157
|
};
|
|
226
158
|
platform_editor_markdown_next_media_plugin_exp: {
|
|
227
|
-
|
|
228
|
-
confluence: string;
|
|
229
|
-
};
|
|
230
|
-
param: string;
|
|
231
|
-
typeGuard: typeof isBoolean;
|
|
159
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
232
160
|
defaultValue: boolean;
|
|
161
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
162
|
+
param: string;
|
|
233
163
|
};
|
|
234
164
|
editor_ai_inline_suggestion_date_v2: {
|
|
235
|
-
productKeys: {
|
|
236
|
-
confluence: string;
|
|
237
|
-
};
|
|
238
|
-
param: string;
|
|
239
165
|
typeGuard: (value: unknown) => value is "test" | "control";
|
|
240
166
|
defaultValue: "test" | "control";
|
|
167
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
168
|
+
param: string;
|
|
241
169
|
};
|
|
242
170
|
platform_editor_tables_drag_and_drop: {
|
|
243
|
-
|
|
244
|
-
confluence: string;
|
|
245
|
-
};
|
|
246
|
-
param: string;
|
|
247
|
-
typeGuard: typeof isBoolean;
|
|
171
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
248
172
|
defaultValue: boolean;
|
|
173
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
174
|
+
param: string;
|
|
249
175
|
};
|
|
250
176
|
platform_editor_tables_table_selector: {
|
|
251
|
-
|
|
252
|
-
confluence: string;
|
|
253
|
-
};
|
|
254
|
-
param: string;
|
|
255
|
-
typeGuard: typeof isBoolean;
|
|
177
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
256
178
|
defaultValue: boolean;
|
|
179
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
180
|
+
param: string;
|
|
257
181
|
};
|
|
258
182
|
platform_editor_usesharedpluginstateselector: {
|
|
259
|
-
|
|
260
|
-
confluence: string;
|
|
261
|
-
};
|
|
262
|
-
param: string;
|
|
263
|
-
typeGuard: typeof isBoolean;
|
|
183
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
264
184
|
defaultValue: boolean;
|
|
185
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
186
|
+
param: string;
|
|
265
187
|
};
|
|
266
188
|
platform_renderer_fix_analytics_memo_callback: {
|
|
267
|
-
|
|
268
|
-
confluence: string;
|
|
269
|
-
};
|
|
270
|
-
param: string;
|
|
271
|
-
typeGuard: typeof isBoolean;
|
|
189
|
+
typeGuard: typeof import("./type-guards").isBoolean;
|
|
272
190
|
defaultValue: boolean;
|
|
191
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
192
|
+
param: string;
|
|
193
|
+
};
|
|
194
|
+
editor_ai_contextual_selection_toolbar_button: {
|
|
195
|
+
typeGuard: (value: unknown) => value is "test" | "control";
|
|
196
|
+
defaultValue: "test" | "control";
|
|
197
|
+
productKeys?: import("./types").ProductKeys | undefined;
|
|
198
|
+
param: string;
|
|
273
199
|
};
|
|
274
200
|
};
|
package/dist/types/setup.d.ts
CHANGED
|
@@ -28,9 +28,7 @@ export declare let _overrides: Partial<{
|
|
|
28
28
|
platform_editor_ai_edit_response_in_preview: boolean;
|
|
29
29
|
platform_editor_controls: "control" | "variant1";
|
|
30
30
|
platform_editor_controls_shadow: "control" | "variant1";
|
|
31
|
-
platform_editor_nested_non_bodied_macros: "test" | "control";
|
|
32
31
|
platform_editor_insertion: "control" | "variant1";
|
|
33
|
-
platform_editor_inline_node_virtualization: "off" | "fallback-small" | "fallback-large";
|
|
34
32
|
platform_editor_vanilla_dom: boolean;
|
|
35
33
|
editor_text_highlight_orange_to_yellow: "test" | "control";
|
|
36
34
|
platform_editor_ai_proactive_ai_nudge_parameters: "control" | "variant1";
|
|
@@ -41,6 +39,7 @@ export declare let _overrides: Partial<{
|
|
|
41
39
|
platform_editor_tables_table_selector: boolean;
|
|
42
40
|
platform_editor_usesharedpluginstateselector: boolean;
|
|
43
41
|
platform_renderer_fix_analytics_memo_callback: boolean;
|
|
42
|
+
editor_ai_contextual_selection_toolbar_button: "test" | "control";
|
|
44
43
|
}>;
|
|
45
44
|
export declare let _paramOverrides: EditorExperimentParamOverrides;
|
|
46
45
|
export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
|