@atlaskit/tmp-editor-statsig 16.11.0 → 16.13.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 +25 -0
- package/dist/cjs/exp-test-overrides.js +0 -1
- package/dist/cjs/experiments-config.js +16 -18
- package/dist/cjs/experiments.js +3 -1
- package/dist/es2019/exp-test-overrides.js +0 -1
- package/dist/es2019/experiments-config.js +16 -18
- package/dist/es2019/experiments.js +3 -1
- package/dist/esm/exp-test-overrides.js +0 -1
- package/dist/esm/experiments-config.js +16 -18
- package/dist/esm/experiments.js +3 -1
- package/dist/types/experiments-config.d.ts +12 -13
- package/dist/types/experiments.d.ts +1 -5
- package/dist/types-ts4.5/experiments-config.d.ts +12 -13
- package/dist/types-ts4.5/experiments.d.ts +1 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @atlaskit/editor-statsig-tmp
|
|
2
2
|
|
|
3
|
+
## 16.13.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [`1265c260f9bad`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/1265c260f9bad) -
|
|
8
|
+
[ED-29455] clean up experiment platform_editor_toolbar_migrate_loom
|
|
9
|
+
- [`2154ee4210e97`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2154ee4210e97) -
|
|
10
|
+
Fix pasting emoji from HTML turning into media single
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- Updated dependencies
|
|
15
|
+
|
|
16
|
+
## 16.12.0
|
|
17
|
+
|
|
18
|
+
### Minor Changes
|
|
19
|
+
|
|
20
|
+
- [`7b39652e2fb7e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/7b39652e2fb7e) -
|
|
21
|
+
Updates editor to only show placeholder once collab has connected.
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- [`0432552b0f173`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0432552b0f173) -
|
|
26
|
+
Cleaning up platform_editor_ai_proactive_ai_nudge
|
|
27
|
+
|
|
3
28
|
## 16.11.0
|
|
4
29
|
|
|
5
30
|
### Minor Changes
|
|
@@ -7,7 +7,6 @@ exports.testMultivariateOverrides = exports.testBooleanOverrides = void 0;
|
|
|
7
7
|
var testMultivariateOverrides = exports.testMultivariateOverrides = {
|
|
8
8
|
'example-multivariate': 'one',
|
|
9
9
|
'platform_editor_ai-prompts-placeholder': 'control',
|
|
10
|
-
platform_editor_ai_proactive_ai_nudge_parameters: 'control',
|
|
11
10
|
platform_editor_controls: 'control',
|
|
12
11
|
confluence_whiteboards_quick_insert: 'control',
|
|
13
12
|
confluence_whiteboards_quick_insert_localised: 'control',
|
|
@@ -37,6 +37,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
37
37
|
|
|
38
38
|
// Editor Platform experiments
|
|
39
39
|
// lwoollard experiments
|
|
40
|
+
|
|
41
|
+
// Added 22-12-2025
|
|
42
|
+
cc_editor_placeholder_collab_wait: (0, _experimentBuilders.createBooleanExperiment)({
|
|
43
|
+
productKeys: {
|
|
44
|
+
confluence: 'cc_editor_placeholder_collab_wait'
|
|
45
|
+
},
|
|
46
|
+
param: 'isEnabled',
|
|
47
|
+
defaultValue: false
|
|
48
|
+
}),
|
|
40
49
|
// Added 02-12-2025
|
|
41
50
|
cc_fix_hydration_ttvc: (0, _experimentBuilders.createBooleanExperiment)({
|
|
42
51
|
productKeys: {
|
|
@@ -354,15 +363,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
354
363
|
param: 'isEnabled',
|
|
355
364
|
defaultValue: false
|
|
356
365
|
}),
|
|
357
|
-
// Added 2025-03-28
|
|
358
|
-
platform_editor_ai_proactive_ai_nudge_parameters: (0, _experimentBuilders.createMultivariateExperiment)({
|
|
359
|
-
productKeys: {
|
|
360
|
-
confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
|
|
361
|
-
},
|
|
362
|
-
param: 'cohort',
|
|
363
|
-
values: ['control', 'variant1'],
|
|
364
|
-
defaultValue: 'control'
|
|
365
|
-
}),
|
|
366
366
|
// Added 2025-04-14
|
|
367
367
|
// https://switcheroo.atlassian.com/ui/gates/b159b45a-86d9-4f4b-b482-f9aca5b615d6/key/platform_editor_offline_editing_web
|
|
368
368
|
platform_editor_offline_editing_web: (0, _experimentBuilders.createBooleanExperiment)({
|
|
@@ -839,15 +839,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
839
839
|
param: 'isEnabled',
|
|
840
840
|
defaultValue: false
|
|
841
841
|
}),
|
|
842
|
-
// Added 2025-08-26
|
|
843
|
-
platform_editor_toolbar_migrate_loom: (0, _experimentBuilders.createBooleanExperiment)({
|
|
844
|
-
productKeys: {
|
|
845
|
-
confluence: 'platform_editor_toolbar_migrate_loom',
|
|
846
|
-
jira: 'platform_editor_toolbar_migrate_loom'
|
|
847
|
-
},
|
|
848
|
-
param: 'isEnabled',
|
|
849
|
-
defaultValue: false
|
|
850
|
-
}),
|
|
851
842
|
// Added 2025-09-16
|
|
852
843
|
platform_editor_prevent_taskitem_remount: (0, _experimentBuilders.createBooleanExperiment)({
|
|
853
844
|
productKeys: {
|
|
@@ -1048,6 +1039,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
|
|
|
1048
1039
|
param: 'isEnabled',
|
|
1049
1040
|
defaultValue: false
|
|
1050
1041
|
}),
|
|
1042
|
+
platform_editor_fix_emoji_paste_html: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1043
|
+
productKeys: {
|
|
1044
|
+
confluence: 'platform_editor_fix_emoji_paste_html'
|
|
1045
|
+
},
|
|
1046
|
+
param: 'isEnabled',
|
|
1047
|
+
defaultValue: false
|
|
1048
|
+
}),
|
|
1051
1049
|
// Added 2025-12-18
|
|
1052
1050
|
platform_editor_blockquote_zero_padding: (0, _experimentBuilders.createBooleanExperiment)({
|
|
1053
1051
|
productKeys: {
|
package/dist/cjs/experiments.js
CHANGED
|
@@ -108,7 +108,9 @@ function editorExperiment(experimentName, expectedExperimentValue) {
|
|
|
108
108
|
}
|
|
109
109
|
return expectedExperimentValue === experimentValue;
|
|
110
110
|
}
|
|
111
|
-
|
|
111
|
+
|
|
112
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
113
|
+
|
|
112
114
|
/**
|
|
113
115
|
* @warning This currently lacks type safety on the param names and return values
|
|
114
116
|
* and has limited associated test tooling.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export const testMultivariateOverrides = {
|
|
2
2
|
'example-multivariate': 'one',
|
|
3
3
|
'platform_editor_ai-prompts-placeholder': 'control',
|
|
4
|
-
platform_editor_ai_proactive_ai_nudge_parameters: 'control',
|
|
5
4
|
platform_editor_controls: 'control',
|
|
6
5
|
confluence_whiteboards_quick_insert: 'control',
|
|
7
6
|
confluence_whiteboards_quick_insert_localised: 'control',
|
|
@@ -31,6 +31,15 @@ export const editorExperimentsConfig = {
|
|
|
31
31
|
|
|
32
32
|
// Editor Platform experiments
|
|
33
33
|
// lwoollard experiments
|
|
34
|
+
|
|
35
|
+
// Added 22-12-2025
|
|
36
|
+
cc_editor_placeholder_collab_wait: createBooleanExperiment({
|
|
37
|
+
productKeys: {
|
|
38
|
+
confluence: 'cc_editor_placeholder_collab_wait'
|
|
39
|
+
},
|
|
40
|
+
param: 'isEnabled',
|
|
41
|
+
defaultValue: false
|
|
42
|
+
}),
|
|
34
43
|
// Added 02-12-2025
|
|
35
44
|
cc_fix_hydration_ttvc: createBooleanExperiment({
|
|
36
45
|
productKeys: {
|
|
@@ -348,15 +357,6 @@ export const editorExperimentsConfig = {
|
|
|
348
357
|
param: 'isEnabled',
|
|
349
358
|
defaultValue: false
|
|
350
359
|
}),
|
|
351
|
-
// Added 2025-03-28
|
|
352
|
-
platform_editor_ai_proactive_ai_nudge_parameters: createMultivariateExperiment({
|
|
353
|
-
productKeys: {
|
|
354
|
-
confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
|
|
355
|
-
},
|
|
356
|
-
param: 'cohort',
|
|
357
|
-
values: ['control', 'variant1'],
|
|
358
|
-
defaultValue: 'control'
|
|
359
|
-
}),
|
|
360
360
|
// Added 2025-04-14
|
|
361
361
|
// https://switcheroo.atlassian.com/ui/gates/b159b45a-86d9-4f4b-b482-f9aca5b615d6/key/platform_editor_offline_editing_web
|
|
362
362
|
platform_editor_offline_editing_web: createBooleanExperiment({
|
|
@@ -833,15 +833,6 @@ export const editorExperimentsConfig = {
|
|
|
833
833
|
param: 'isEnabled',
|
|
834
834
|
defaultValue: false
|
|
835
835
|
}),
|
|
836
|
-
// Added 2025-08-26
|
|
837
|
-
platform_editor_toolbar_migrate_loom: createBooleanExperiment({
|
|
838
|
-
productKeys: {
|
|
839
|
-
confluence: 'platform_editor_toolbar_migrate_loom',
|
|
840
|
-
jira: 'platform_editor_toolbar_migrate_loom'
|
|
841
|
-
},
|
|
842
|
-
param: 'isEnabled',
|
|
843
|
-
defaultValue: false
|
|
844
|
-
}),
|
|
845
836
|
// Added 2025-09-16
|
|
846
837
|
platform_editor_prevent_taskitem_remount: createBooleanExperiment({
|
|
847
838
|
productKeys: {
|
|
@@ -1042,6 +1033,13 @@ export const editorExperimentsConfig = {
|
|
|
1042
1033
|
param: 'isEnabled',
|
|
1043
1034
|
defaultValue: false
|
|
1044
1035
|
}),
|
|
1036
|
+
platform_editor_fix_emoji_paste_html: createBooleanExperiment({
|
|
1037
|
+
productKeys: {
|
|
1038
|
+
confluence: 'platform_editor_fix_emoji_paste_html'
|
|
1039
|
+
},
|
|
1040
|
+
param: 'isEnabled',
|
|
1041
|
+
defaultValue: false
|
|
1042
|
+
}),
|
|
1045
1043
|
// Added 2025-12-18
|
|
1046
1044
|
platform_editor_blockquote_zero_padding: createBooleanExperiment({
|
|
1047
1045
|
productKeys: {
|
|
@@ -100,7 +100,9 @@ export function editorExperiment(experimentName, expectedExperimentValue, option
|
|
|
100
100
|
}
|
|
101
101
|
return expectedExperimentValue === experimentValue;
|
|
102
102
|
}
|
|
103
|
-
|
|
103
|
+
|
|
104
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
105
|
+
|
|
104
106
|
/**
|
|
105
107
|
* @warning This currently lacks type safety on the param names and return values
|
|
106
108
|
* and has limited associated test tooling.
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
export var testMultivariateOverrides = {
|
|
2
2
|
'example-multivariate': 'one',
|
|
3
3
|
'platform_editor_ai-prompts-placeholder': 'control',
|
|
4
|
-
platform_editor_ai_proactive_ai_nudge_parameters: 'control',
|
|
5
4
|
platform_editor_controls: 'control',
|
|
6
5
|
confluence_whiteboards_quick_insert: 'control',
|
|
7
6
|
confluence_whiteboards_quick_insert_localised: 'control',
|
|
@@ -31,6 +31,15 @@ export var editorExperimentsConfig = {
|
|
|
31
31
|
|
|
32
32
|
// Editor Platform experiments
|
|
33
33
|
// lwoollard experiments
|
|
34
|
+
|
|
35
|
+
// Added 22-12-2025
|
|
36
|
+
cc_editor_placeholder_collab_wait: createBooleanExperiment({
|
|
37
|
+
productKeys: {
|
|
38
|
+
confluence: 'cc_editor_placeholder_collab_wait'
|
|
39
|
+
},
|
|
40
|
+
param: 'isEnabled',
|
|
41
|
+
defaultValue: false
|
|
42
|
+
}),
|
|
34
43
|
// Added 02-12-2025
|
|
35
44
|
cc_fix_hydration_ttvc: createBooleanExperiment({
|
|
36
45
|
productKeys: {
|
|
@@ -348,15 +357,6 @@ export var editorExperimentsConfig = {
|
|
|
348
357
|
param: 'isEnabled',
|
|
349
358
|
defaultValue: false
|
|
350
359
|
}),
|
|
351
|
-
// Added 2025-03-28
|
|
352
|
-
platform_editor_ai_proactive_ai_nudge_parameters: createMultivariateExperiment({
|
|
353
|
-
productKeys: {
|
|
354
|
-
confluence: 'platform_editor_ai_proactive_ai_nudge_parameters'
|
|
355
|
-
},
|
|
356
|
-
param: 'cohort',
|
|
357
|
-
values: ['control', 'variant1'],
|
|
358
|
-
defaultValue: 'control'
|
|
359
|
-
}),
|
|
360
360
|
// Added 2025-04-14
|
|
361
361
|
// https://switcheroo.atlassian.com/ui/gates/b159b45a-86d9-4f4b-b482-f9aca5b615d6/key/platform_editor_offline_editing_web
|
|
362
362
|
platform_editor_offline_editing_web: createBooleanExperiment({
|
|
@@ -833,15 +833,6 @@ export var editorExperimentsConfig = {
|
|
|
833
833
|
param: 'isEnabled',
|
|
834
834
|
defaultValue: false
|
|
835
835
|
}),
|
|
836
|
-
// Added 2025-08-26
|
|
837
|
-
platform_editor_toolbar_migrate_loom: createBooleanExperiment({
|
|
838
|
-
productKeys: {
|
|
839
|
-
confluence: 'platform_editor_toolbar_migrate_loom',
|
|
840
|
-
jira: 'platform_editor_toolbar_migrate_loom'
|
|
841
|
-
},
|
|
842
|
-
param: 'isEnabled',
|
|
843
|
-
defaultValue: false
|
|
844
|
-
}),
|
|
845
836
|
// Added 2025-09-16
|
|
846
837
|
platform_editor_prevent_taskitem_remount: createBooleanExperiment({
|
|
847
838
|
productKeys: {
|
|
@@ -1042,6 +1033,13 @@ export var editorExperimentsConfig = {
|
|
|
1042
1033
|
param: 'isEnabled',
|
|
1043
1034
|
defaultValue: false
|
|
1044
1035
|
}),
|
|
1036
|
+
platform_editor_fix_emoji_paste_html: createBooleanExperiment({
|
|
1037
|
+
productKeys: {
|
|
1038
|
+
confluence: 'platform_editor_fix_emoji_paste_html'
|
|
1039
|
+
},
|
|
1040
|
+
param: 'isEnabled',
|
|
1041
|
+
defaultValue: false
|
|
1042
|
+
}),
|
|
1045
1043
|
// Added 2025-12-18
|
|
1046
1044
|
platform_editor_blockquote_zero_padding: createBooleanExperiment({
|
|
1047
1045
|
productKeys: {
|
package/dist/esm/experiments.js
CHANGED
|
@@ -101,7 +101,9 @@ export function editorExperiment(experimentName, expectedExperimentValue) {
|
|
|
101
101
|
}
|
|
102
102
|
return expectedExperimentValue === experimentValue;
|
|
103
103
|
}
|
|
104
|
-
|
|
104
|
+
|
|
105
|
+
// eslint-disable-next-line @typescript-eslint/no-empty-object-type
|
|
106
|
+
|
|
105
107
|
/**
|
|
106
108
|
* @warning This currently lacks type safety on the param names and return values
|
|
107
109
|
* and has limited associated test tooling.
|
|
@@ -70,6 +70,12 @@ export declare const editorExperimentsConfig: {
|
|
|
70
70
|
productKeys?: ProductKeys;
|
|
71
71
|
typeGuard: IsBooleanType;
|
|
72
72
|
};
|
|
73
|
+
cc_editor_placeholder_collab_wait: {
|
|
74
|
+
defaultValue: boolean;
|
|
75
|
+
param: string;
|
|
76
|
+
productKeys?: ProductKeys;
|
|
77
|
+
typeGuard: IsBooleanType;
|
|
78
|
+
};
|
|
73
79
|
cc_fix_hydration_ttvc: {
|
|
74
80
|
defaultValue: boolean;
|
|
75
81
|
param: string;
|
|
@@ -100,6 +106,12 @@ export declare const editorExperimentsConfig: {
|
|
|
100
106
|
productKeys?: ProductKeys;
|
|
101
107
|
typeGuard: IsBooleanType;
|
|
102
108
|
};
|
|
109
|
+
platform_editor_fix_emoji_paste_html: {
|
|
110
|
+
defaultValue: boolean;
|
|
111
|
+
param: string;
|
|
112
|
+
productKeys?: ProductKeys;
|
|
113
|
+
typeGuard: IsBooleanType;
|
|
114
|
+
};
|
|
103
115
|
confluence_compact_text_format: {
|
|
104
116
|
defaultValue: boolean;
|
|
105
117
|
param: string;
|
|
@@ -221,13 +233,6 @@ export declare const editorExperimentsConfig: {
|
|
|
221
233
|
typeGuard: (value: unknown) => value is 'control' | 'adf_gemini25flash' | 'adf_gpt41mini';
|
|
222
234
|
values: ('control' | 'adf_gemini25flash' | 'adf_gpt41mini')[];
|
|
223
235
|
};
|
|
224
|
-
platform_editor_ai_proactive_ai_nudge_parameters: {
|
|
225
|
-
defaultValue: 'control' | 'variant1';
|
|
226
|
-
param: string;
|
|
227
|
-
productKeys?: ProductKeys;
|
|
228
|
-
typeGuard: (value: unknown) => value is 'control' | 'variant1';
|
|
229
|
-
values: ('control' | 'variant1')[];
|
|
230
|
-
};
|
|
231
236
|
platform_editor_ai_quickstart_command: {
|
|
232
237
|
defaultValue: boolean;
|
|
233
238
|
param: string;
|
|
@@ -682,12 +687,6 @@ export declare const editorExperimentsConfig: {
|
|
|
682
687
|
productKeys?: ProductKeys;
|
|
683
688
|
typeGuard: IsBooleanType;
|
|
684
689
|
};
|
|
685
|
-
platform_editor_toolbar_migrate_loom: {
|
|
686
|
-
defaultValue: boolean;
|
|
687
|
-
param: string;
|
|
688
|
-
productKeys?: ProductKeys;
|
|
689
|
-
typeGuard: IsBooleanType;
|
|
690
|
-
};
|
|
691
690
|
platform_editor_toolbar_support_custom_components: {
|
|
692
691
|
defaultValue: boolean;
|
|
693
692
|
param: string;
|
|
@@ -50,11 +50,7 @@ import { type EditorExperimentsConfig } from './experiments-config';
|
|
|
50
50
|
export declare function editorExperiment<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, expectedExperimentValue: EditorExperimentsConfig[ExperimentName]['defaultValue'], options?: {
|
|
51
51
|
exposure: boolean;
|
|
52
52
|
}): boolean;
|
|
53
|
-
type Unstable_EditorExperimentParams = {
|
|
54
|
-
platform_editor_ai_proactive_ai_nudge_parameters: {
|
|
55
|
-
params: 'min_final_confidence' | 'min_length_percentage_difference' | 'max_length_percentage_difference' | 'min_input_readability_score' | 'min_output_readability_score' | 'max_readability_score_delta' | 'min_readability_score_delta' | 'min_alternative_confidence';
|
|
56
|
-
};
|
|
57
|
-
};
|
|
53
|
+
type Unstable_EditorExperimentParams = {};
|
|
58
54
|
/**
|
|
59
55
|
* @warning This currently lacks type safety on the param names and return values
|
|
60
56
|
* and has limited associated test tooling.
|
|
@@ -70,6 +70,12 @@ export declare const editorExperimentsConfig: {
|
|
|
70
70
|
productKeys?: ProductKeys;
|
|
71
71
|
typeGuard: IsBooleanType;
|
|
72
72
|
};
|
|
73
|
+
cc_editor_placeholder_collab_wait: {
|
|
74
|
+
defaultValue: boolean;
|
|
75
|
+
param: string;
|
|
76
|
+
productKeys?: ProductKeys;
|
|
77
|
+
typeGuard: IsBooleanType;
|
|
78
|
+
};
|
|
73
79
|
cc_fix_hydration_ttvc: {
|
|
74
80
|
defaultValue: boolean;
|
|
75
81
|
param: string;
|
|
@@ -100,6 +106,12 @@ export declare const editorExperimentsConfig: {
|
|
|
100
106
|
productKeys?: ProductKeys;
|
|
101
107
|
typeGuard: IsBooleanType;
|
|
102
108
|
};
|
|
109
|
+
platform_editor_fix_emoji_paste_html: {
|
|
110
|
+
defaultValue: boolean;
|
|
111
|
+
param: string;
|
|
112
|
+
productKeys?: ProductKeys;
|
|
113
|
+
typeGuard: IsBooleanType;
|
|
114
|
+
};
|
|
103
115
|
confluence_compact_text_format: {
|
|
104
116
|
defaultValue: boolean;
|
|
105
117
|
param: string;
|
|
@@ -221,13 +233,6 @@ export declare const editorExperimentsConfig: {
|
|
|
221
233
|
typeGuard: (value: unknown) => value is 'control' | 'adf_gemini25flash' | 'adf_gpt41mini';
|
|
222
234
|
values: ('control' | 'adf_gemini25flash' | 'adf_gpt41mini')[];
|
|
223
235
|
};
|
|
224
|
-
platform_editor_ai_proactive_ai_nudge_parameters: {
|
|
225
|
-
defaultValue: 'control' | 'variant1';
|
|
226
|
-
param: string;
|
|
227
|
-
productKeys?: ProductKeys;
|
|
228
|
-
typeGuard: (value: unknown) => value is 'control' | 'variant1';
|
|
229
|
-
values: ('control' | 'variant1')[];
|
|
230
|
-
};
|
|
231
236
|
platform_editor_ai_quickstart_command: {
|
|
232
237
|
defaultValue: boolean;
|
|
233
238
|
param: string;
|
|
@@ -682,12 +687,6 @@ export declare const editorExperimentsConfig: {
|
|
|
682
687
|
productKeys?: ProductKeys;
|
|
683
688
|
typeGuard: IsBooleanType;
|
|
684
689
|
};
|
|
685
|
-
platform_editor_toolbar_migrate_loom: {
|
|
686
|
-
defaultValue: boolean;
|
|
687
|
-
param: string;
|
|
688
|
-
productKeys?: ProductKeys;
|
|
689
|
-
typeGuard: IsBooleanType;
|
|
690
|
-
};
|
|
691
690
|
platform_editor_toolbar_support_custom_components: {
|
|
692
691
|
defaultValue: boolean;
|
|
693
692
|
param: string;
|
|
@@ -50,11 +50,7 @@ import { type EditorExperimentsConfig } from './experiments-config';
|
|
|
50
50
|
export declare function editorExperiment<ExperimentName extends keyof EditorExperimentsConfig>(experimentName: ExperimentName, expectedExperimentValue: EditorExperimentsConfig[ExperimentName]['defaultValue'], options?: {
|
|
51
51
|
exposure: boolean;
|
|
52
52
|
}): boolean;
|
|
53
|
-
type Unstable_EditorExperimentParams = {
|
|
54
|
-
platform_editor_ai_proactive_ai_nudge_parameters: {
|
|
55
|
-
params: 'min_final_confidence' | 'min_length_percentage_difference' | 'max_length_percentage_difference' | 'min_input_readability_score' | 'min_output_readability_score' | 'max_readability_score_delta' | 'min_readability_score_delta' | 'min_alternative_confidence';
|
|
56
|
-
};
|
|
57
|
-
};
|
|
53
|
+
type Unstable_EditorExperimentParams = {};
|
|
58
54
|
/**
|
|
59
55
|
* @warning This currently lacks type safety on the param names and return values
|
|
60
56
|
* and has limited associated test tooling.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/tmp-editor-statsig",
|
|
3
|
-
"version": "16.
|
|
3
|
+
"version": "16.13.0",
|
|
4
4
|
"description": "Temp plugin to ease use of statsig feature flags until platform feature flags are available",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"atlaskit:src": "src/index.ts",
|
|
35
35
|
"dependencies": {
|
|
36
36
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
37
|
-
"@atlaskit/react-ufo": "^4.
|
|
37
|
+
"@atlaskit/react-ufo": "^4.17.0",
|
|
38
38
|
"@babel/runtime": "^7.0.0"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|