@atlaskit/tmp-editor-statsig 44.3.0 → 45.1.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 CHANGED
@@ -1,5 +1,36 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 45.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`9f5fba61d4c9d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/9f5fba61d4c9d) -
8
+ do not show external badge for images hosted on bitbucket.org
9
+ - [`3cd18ada1401f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/3cd18ada1401f) -
10
+ [EDITOR-6131] add Jira as a target app to the font size experiment
11
+
12
+ ### Patch Changes
13
+
14
+ - [`04bcc33e0d738`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/04bcc33e0d738) -
15
+ Mechanical type-import autofix for AI adjunct editor packages.
16
+
17
+ ## 45.0.0
18
+
19
+ ### Major Changes
20
+
21
+ - [`a64a0cad8103d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/a64a0cad8103d) -
22
+ Cleanup stale feature flag `platform_editor_quick_insert_image_wrap_right_fix`. The enabled
23
+ behaviour (setting `clear: unset` on the quick insert button element to prevent interference with
24
+ floated wrap-right images) is now always active.
25
+
26
+ ### Minor Changes
27
+
28
+ - [`14174d5130d27`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/14174d5130d27) -
29
+ Adding editorAppearance in coreplugin shared state so that plugins can access appearance value
30
+ when updated
31
+ - [`2ce5b11415296`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/2ce5b11415296) -
32
+ Add tabIndex to renderer headings for a11y and 'confluence_toc_nav_a11y' experiment config
33
+
3
34
  ## 44.3.0
4
35
 
5
36
  ### Minor Changes
@@ -198,6 +198,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
198
198
  param: 'isEnabled',
199
199
  defaultValue: false
200
200
  }),
201
+ // Added 2026-03-24
202
+ platform_editor_media_external_badge_bbc_fix: (0, _experimentBuilders.createBooleanExperiment)({
203
+ productKeys: {
204
+ confluence: 'platform_editor_media_external_badge_bbc_fix',
205
+ bitbucket: 'platform_editor_media_external_badge_bbc_fix'
206
+ },
207
+ param: 'isEnabled',
208
+ defaultValue: false
209
+ }),
201
210
  // Added 2025-11-20
202
211
  platform_editor_annotations_sync_on_docchange: (0, _experimentBuilders.createBooleanExperiment)({
203
212
  productKeys: {
@@ -931,14 +940,6 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
931
940
  param: 'isEnabled',
932
941
  defaultValue: false
933
942
  }),
934
- // Added 2025-09-11
935
- platform_editor_quick_insert_image_wrap_right_fix: (0, _experimentBuilders.createBooleanExperiment)({
936
- productKeys: {
937
- confluence: 'platform_editor_quick_insert_image_wrap_right_fix'
938
- },
939
- param: 'isEnabled',
940
- defaultValue: false
941
- }),
942
943
  // Added 2026-03-05
943
944
  platform_editor_abort_ufo_on_user_interaction: (0, _experimentBuilders.createBooleanExperiment)({
944
945
  productKeys: {
@@ -1593,6 +1594,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
1593
1594
  param: 'isEnabled',
1594
1595
  defaultValue: false
1595
1596
  }),
1597
+ // Added 2026-03-05
1598
+ platform_editor_appearance_shared_state: (0, _experimentBuilders.createBooleanExperiment)({
1599
+ productKeys: {
1600
+ confluence: 'platform_editor_appearance_shared_state'
1601
+ },
1602
+ param: 'isEnabled',
1603
+ defaultValue: false
1604
+ }),
1596
1605
  // Added 2026-03-04
1597
1606
  platform_editor_ai_blockmenu_integration: (0, _experimentBuilders.createBooleanExperiment)({
1598
1607
  productKeys: {
@@ -1701,7 +1710,8 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
1701
1710
  }),
1702
1711
  platform_editor_small_font_size: (0, _experimentBuilders.createBooleanExperiment)({
1703
1712
  productKeys: {
1704
- confluence: 'platform_editor_small_font_size'
1713
+ confluence: 'platform_editor_small_font_size',
1714
+ jira: 'platform_editor_small_font_size'
1705
1715
  },
1706
1716
  param: 'isEnabled',
1707
1717
  defaultValue: false
@@ -1839,5 +1849,13 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
1839
1849
  },
1840
1850
  param: 'isEnabled',
1841
1851
  defaultValue: false
1852
+ }),
1853
+ // Added 2026-03-23
1854
+ confluence_toc_nav_a11y: (0, _experimentBuilders.createBooleanExperiment)({
1855
+ productKeys: {
1856
+ confluence: 'confluence_toc_nav_a11y'
1857
+ },
1858
+ param: 'isEnabled',
1859
+ defaultValue: false
1842
1860
  })
1843
1861
  };
@@ -192,6 +192,15 @@ export const editorExperimentsConfig = {
192
192
  param: 'isEnabled',
193
193
  defaultValue: false
194
194
  }),
195
+ // Added 2026-03-24
196
+ platform_editor_media_external_badge_bbc_fix: createBooleanExperiment({
197
+ productKeys: {
198
+ confluence: 'platform_editor_media_external_badge_bbc_fix',
199
+ bitbucket: 'platform_editor_media_external_badge_bbc_fix'
200
+ },
201
+ param: 'isEnabled',
202
+ defaultValue: false
203
+ }),
195
204
  // Added 2025-11-20
196
205
  platform_editor_annotations_sync_on_docchange: createBooleanExperiment({
197
206
  productKeys: {
@@ -925,14 +934,6 @@ export const editorExperimentsConfig = {
925
934
  param: 'isEnabled',
926
935
  defaultValue: false
927
936
  }),
928
- // Added 2025-09-11
929
- platform_editor_quick_insert_image_wrap_right_fix: createBooleanExperiment({
930
- productKeys: {
931
- confluence: 'platform_editor_quick_insert_image_wrap_right_fix'
932
- },
933
- param: 'isEnabled',
934
- defaultValue: false
935
- }),
936
937
  // Added 2026-03-05
937
938
  platform_editor_abort_ufo_on_user_interaction: createBooleanExperiment({
938
939
  productKeys: {
@@ -1587,6 +1588,14 @@ export const editorExperimentsConfig = {
1587
1588
  param: 'isEnabled',
1588
1589
  defaultValue: false
1589
1590
  }),
1591
+ // Added 2026-03-05
1592
+ platform_editor_appearance_shared_state: createBooleanExperiment({
1593
+ productKeys: {
1594
+ confluence: 'platform_editor_appearance_shared_state'
1595
+ },
1596
+ param: 'isEnabled',
1597
+ defaultValue: false
1598
+ }),
1590
1599
  // Added 2026-03-04
1591
1600
  platform_editor_ai_blockmenu_integration: createBooleanExperiment({
1592
1601
  productKeys: {
@@ -1695,7 +1704,8 @@ export const editorExperimentsConfig = {
1695
1704
  }),
1696
1705
  platform_editor_small_font_size: createBooleanExperiment({
1697
1706
  productKeys: {
1698
- confluence: 'platform_editor_small_font_size'
1707
+ confluence: 'platform_editor_small_font_size',
1708
+ jira: 'platform_editor_small_font_size'
1699
1709
  },
1700
1710
  param: 'isEnabled',
1701
1711
  defaultValue: false
@@ -1833,5 +1843,13 @@ export const editorExperimentsConfig = {
1833
1843
  },
1834
1844
  param: 'isEnabled',
1835
1845
  defaultValue: false
1846
+ }),
1847
+ // Added 2026-03-23
1848
+ confluence_toc_nav_a11y: createBooleanExperiment({
1849
+ productKeys: {
1850
+ confluence: 'confluence_toc_nav_a11y'
1851
+ },
1852
+ param: 'isEnabled',
1853
+ defaultValue: false
1836
1854
  })
1837
1855
  };
@@ -192,6 +192,15 @@ export var editorExperimentsConfig = {
192
192
  param: 'isEnabled',
193
193
  defaultValue: false
194
194
  }),
195
+ // Added 2026-03-24
196
+ platform_editor_media_external_badge_bbc_fix: createBooleanExperiment({
197
+ productKeys: {
198
+ confluence: 'platform_editor_media_external_badge_bbc_fix',
199
+ bitbucket: 'platform_editor_media_external_badge_bbc_fix'
200
+ },
201
+ param: 'isEnabled',
202
+ defaultValue: false
203
+ }),
195
204
  // Added 2025-11-20
196
205
  platform_editor_annotations_sync_on_docchange: createBooleanExperiment({
197
206
  productKeys: {
@@ -925,14 +934,6 @@ export var editorExperimentsConfig = {
925
934
  param: 'isEnabled',
926
935
  defaultValue: false
927
936
  }),
928
- // Added 2025-09-11
929
- platform_editor_quick_insert_image_wrap_right_fix: createBooleanExperiment({
930
- productKeys: {
931
- confluence: 'platform_editor_quick_insert_image_wrap_right_fix'
932
- },
933
- param: 'isEnabled',
934
- defaultValue: false
935
- }),
936
937
  // Added 2026-03-05
937
938
  platform_editor_abort_ufo_on_user_interaction: createBooleanExperiment({
938
939
  productKeys: {
@@ -1587,6 +1588,14 @@ export var editorExperimentsConfig = {
1587
1588
  param: 'isEnabled',
1588
1589
  defaultValue: false
1589
1590
  }),
1591
+ // Added 2026-03-05
1592
+ platform_editor_appearance_shared_state: createBooleanExperiment({
1593
+ productKeys: {
1594
+ confluence: 'platform_editor_appearance_shared_state'
1595
+ },
1596
+ param: 'isEnabled',
1597
+ defaultValue: false
1598
+ }),
1590
1599
  // Added 2026-03-04
1591
1600
  platform_editor_ai_blockmenu_integration: createBooleanExperiment({
1592
1601
  productKeys: {
@@ -1695,7 +1704,8 @@ export var editorExperimentsConfig = {
1695
1704
  }),
1696
1705
  platform_editor_small_font_size: createBooleanExperiment({
1697
1706
  productKeys: {
1698
- confluence: 'platform_editor_small_font_size'
1707
+ confluence: 'platform_editor_small_font_size',
1708
+ jira: 'platform_editor_small_font_size'
1699
1709
  },
1700
1710
  param: 'isEnabled',
1701
1711
  defaultValue: false
@@ -1833,5 +1843,13 @@ export var editorExperimentsConfig = {
1833
1843
  },
1834
1844
  param: 'isEnabled',
1835
1845
  defaultValue: false
1846
+ }),
1847
+ // Added 2026-03-23
1848
+ confluence_toc_nav_a11y: createBooleanExperiment({
1849
+ productKeys: {
1850
+ confluence: 'confluence_toc_nav_a11y'
1851
+ },
1852
+ param: 'isEnabled',
1853
+ defaultValue: false
1836
1854
  })
1837
1855
  };
@@ -1,5 +1,5 @@
1
- import { type EditorExperimentOverrides } from './setup';
2
- import { type EditorExperimentsConfig } from './experiments-config';
1
+ import type { EditorExperimentOverrides } from './setup';
2
+ import type { EditorExperimentsConfig } from './experiments-config';
3
3
  type DescribeBody = Parameters<typeof describe>[1];
4
4
  /**
5
5
  * This is a utility function for testing editor experiments.
@@ -1,4 +1,4 @@
1
- import { type EditorExperimentsConfig } from './experiments-config';
1
+ import type { EditorExperimentsConfig } from './experiments-config';
2
2
  /**
3
3
  * Check the value if an editor experiment.
4
4
  * Internal method that is shared between expValEquals and expValEqualsNoExposure.
@@ -1,4 +1,4 @@
1
- import { type EditorExperimentsConfig, type ExperimentDefaultValue, type ExperimentExpectedValue } from './experiments-config';
1
+ import type { EditorExperimentsConfig, ExperimentDefaultValue, ExperimentExpectedValue } from './experiments-config';
2
2
  /**
3
3
  * Check the value if an editor experiment without firing exposure.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type EditorExperimentsConfig, type ExperimentDefaultValue, type ExperimentExpectedValue } from './experiments-config';
1
+ import type { EditorExperimentsConfig, ExperimentDefaultValue, ExperimentExpectedValue } from './experiments-config';
2
2
  /**
3
3
  * Check the value if an editor experiment and fire exposure.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type EditorExperimentsConfig } from './experiments-config';
1
+ import type { EditorExperimentsConfig } from './experiments-config';
2
2
  /**
3
3
  * Use to check a any param value for an experiment
4
4
  *
@@ -505,6 +505,12 @@ export declare const editorExperimentsConfig: {
505
505
  productKeys?: ProductKeys;
506
506
  typeGuard: IsBooleanType;
507
507
  };
508
+ platform_editor_appearance_shared_state: {
509
+ defaultValue: boolean;
510
+ param: string;
511
+ productKeys?: ProductKeys;
512
+ typeGuard: IsBooleanType;
513
+ };
508
514
  platform_editor_lovability_emoji_scaling: {
509
515
  defaultValue: boolean;
510
516
  param: string;
@@ -607,12 +613,6 @@ export declare const editorExperimentsConfig: {
607
613
  productKeys?: ProductKeys;
608
614
  typeGuard: IsBooleanType;
609
615
  };
610
- platform_editor_quick_insert_image_wrap_right_fix: {
611
- defaultValue: boolean;
612
- param: string;
613
- productKeys?: ProductKeys;
614
- typeGuard: IsBooleanType;
615
- };
616
616
  platform_editor_reduce_noisy_steps_ncs: {
617
617
  defaultValue: boolean;
618
618
  param: string;
@@ -1182,6 +1182,12 @@ export declare const editorExperimentsConfig: {
1182
1182
  productKeys?: ProductKeys;
1183
1183
  typeGuard: IsBooleanType;
1184
1184
  };
1185
+ platform_editor_media_external_badge_bbc_fix: {
1186
+ defaultValue: boolean;
1187
+ param: string;
1188
+ productKeys?: ProductKeys;
1189
+ typeGuard: IsBooleanType;
1190
+ };
1185
1191
  platform_editor_rovobutton_smartlink_toolbar_exp: {
1186
1192
  defaultValue: boolean;
1187
1193
  param: string;
@@ -1350,5 +1356,11 @@ export declare const editorExperimentsConfig: {
1350
1356
  productKeys?: ProductKeys;
1351
1357
  typeGuard: IsBooleanType;
1352
1358
  };
1359
+ confluence_toc_nav_a11y: {
1360
+ defaultValue: boolean;
1361
+ param: string;
1362
+ productKeys?: ProductKeys;
1363
+ typeGuard: IsBooleanType;
1364
+ };
1353
1365
  };
1354
1366
  export {};
@@ -1,4 +1,4 @@
1
- import { type EditorExperimentsConfig } from './experiments-config';
1
+ import type { EditorExperimentsConfig } from './experiments-config';
2
2
  /**
3
3
  * Check the value of an editor experiment.
4
4
  *
@@ -9,7 +9,7 @@ export type EditorExperimentParamOverrides = {
9
9
  };
10
10
  export declare let _overrides: EditorExperimentOverrides;
11
11
  export declare let _paramOverrides: EditorExperimentParamOverrides;
12
- export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
12
+ export declare let _product: 'bitbucket' | 'confluence' | 'jira' | 'test' | undefined;
13
13
  /**
14
14
  * This function is used to set up the editor experiments for testing purposes.
15
15
  * It should be called before running code that depends on editor experiments.
@@ -21,7 +21,7 @@ export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
21
21
  * });
22
22
  * ```
23
23
  */
24
- export declare function setupEditorExperiments(product: 'confluence' | 'jira' | 'test',
24
+ export declare function setupEditorExperiments(product: 'bitbucket' | 'confluence' | 'jira' | 'test',
25
25
  /**
26
26
  * Overrides are used to set the group of an experiment for testing purposes.
27
27
  * This is useful when you want to test a specific experiment group.
@@ -1,4 +1,8 @@
1
+ /**
2
+ * Used only for documentation/testing purpose
3
+ */
1
4
  export type ProductKeys = {
5
+ bitbucket?: string;
2
6
  confluence?: string;
3
7
  jira?: string;
4
8
  test?: string;
@@ -1,5 +1,5 @@
1
- import { type EditorExperimentOverrides } from './setup';
2
- import { type EditorExperimentsConfig } from './experiments-config';
1
+ import type { EditorExperimentOverrides } from './setup';
2
+ import type { EditorExperimentsConfig } from './experiments-config';
3
3
  type DescribeBody = Parameters<typeof describe>[1];
4
4
  /**
5
5
  * This is a utility function for testing editor experiments.
@@ -1,4 +1,4 @@
1
- import { type EditorExperimentsConfig } from './experiments-config';
1
+ import type { EditorExperimentsConfig } from './experiments-config';
2
2
  /**
3
3
  * Check the value if an editor experiment.
4
4
  * Internal method that is shared between expValEquals and expValEqualsNoExposure.
@@ -1,4 +1,4 @@
1
- import { type EditorExperimentsConfig, type ExperimentDefaultValue, type ExperimentExpectedValue } from './experiments-config';
1
+ import type { EditorExperimentsConfig, ExperimentDefaultValue, ExperimentExpectedValue } from './experiments-config';
2
2
  /**
3
3
  * Check the value if an editor experiment without firing exposure.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type EditorExperimentsConfig, type ExperimentDefaultValue, type ExperimentExpectedValue } from './experiments-config';
1
+ import type { EditorExperimentsConfig, ExperimentDefaultValue, ExperimentExpectedValue } from './experiments-config';
2
2
  /**
3
3
  * Check the value if an editor experiment and fire exposure.
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type EditorExperimentsConfig } from './experiments-config';
1
+ import type { EditorExperimentsConfig } from './experiments-config';
2
2
  /**
3
3
  * Use to check a any param value for an experiment
4
4
  *
@@ -505,6 +505,12 @@ export declare const editorExperimentsConfig: {
505
505
  productKeys?: ProductKeys;
506
506
  typeGuard: IsBooleanType;
507
507
  };
508
+ platform_editor_appearance_shared_state: {
509
+ defaultValue: boolean;
510
+ param: string;
511
+ productKeys?: ProductKeys;
512
+ typeGuard: IsBooleanType;
513
+ };
508
514
  platform_editor_lovability_emoji_scaling: {
509
515
  defaultValue: boolean;
510
516
  param: string;
@@ -607,12 +613,6 @@ export declare const editorExperimentsConfig: {
607
613
  productKeys?: ProductKeys;
608
614
  typeGuard: IsBooleanType;
609
615
  };
610
- platform_editor_quick_insert_image_wrap_right_fix: {
611
- defaultValue: boolean;
612
- param: string;
613
- productKeys?: ProductKeys;
614
- typeGuard: IsBooleanType;
615
- };
616
616
  platform_editor_reduce_noisy_steps_ncs: {
617
617
  defaultValue: boolean;
618
618
  param: string;
@@ -1182,6 +1182,12 @@ export declare const editorExperimentsConfig: {
1182
1182
  productKeys?: ProductKeys;
1183
1183
  typeGuard: IsBooleanType;
1184
1184
  };
1185
+ platform_editor_media_external_badge_bbc_fix: {
1186
+ defaultValue: boolean;
1187
+ param: string;
1188
+ productKeys?: ProductKeys;
1189
+ typeGuard: IsBooleanType;
1190
+ };
1185
1191
  platform_editor_rovobutton_smartlink_toolbar_exp: {
1186
1192
  defaultValue: boolean;
1187
1193
  param: string;
@@ -1350,5 +1356,11 @@ export declare const editorExperimentsConfig: {
1350
1356
  productKeys?: ProductKeys;
1351
1357
  typeGuard: IsBooleanType;
1352
1358
  };
1359
+ confluence_toc_nav_a11y: {
1360
+ defaultValue: boolean;
1361
+ param: string;
1362
+ productKeys?: ProductKeys;
1363
+ typeGuard: IsBooleanType;
1364
+ };
1353
1365
  };
1354
1366
  export {};
@@ -1,4 +1,4 @@
1
- import { type EditorExperimentsConfig } from './experiments-config';
1
+ import type { EditorExperimentsConfig } from './experiments-config';
2
2
  /**
3
3
  * Check the value of an editor experiment.
4
4
  *
@@ -9,7 +9,7 @@ export type EditorExperimentParamOverrides = {
9
9
  };
10
10
  export declare let _overrides: EditorExperimentOverrides;
11
11
  export declare let _paramOverrides: EditorExperimentParamOverrides;
12
- export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
12
+ export declare let _product: 'bitbucket' | 'confluence' | 'jira' | 'test' | undefined;
13
13
  /**
14
14
  * This function is used to set up the editor experiments for testing purposes.
15
15
  * It should be called before running code that depends on editor experiments.
@@ -21,7 +21,7 @@ export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
21
21
  * });
22
22
  * ```
23
23
  */
24
- export declare function setupEditorExperiments(product: 'confluence' | 'jira' | 'test',
24
+ export declare function setupEditorExperiments(product: 'bitbucket' | 'confluence' | 'jira' | 'test',
25
25
  /**
26
26
  * Overrides are used to set the group of an experiment for testing purposes.
27
27
  * This is useful when you want to test a specific experiment group.
@@ -1,4 +1,8 @@
1
+ /**
2
+ * Used only for documentation/testing purpose
3
+ */
1
4
  export type ProductKeys = {
5
+ bitbucket?: string;
2
6
  confluence?: string;
3
7
  jira?: string;
4
8
  test?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "44.3.0",
3
+ "version": "45.1.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",