@atlaskit/tmp-editor-statsig 45.0.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,19 @@
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
+
3
17
  ## 45.0.0
4
18
 
5
19
  ### Major 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: {
@@ -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
@@ -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: {
@@ -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
@@ -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: {
@@ -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
@@ -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
  *
@@ -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;
@@ -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
  *
@@ -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;
@@ -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": "45.0.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",