@atlaskit/tmp-editor-statsig 2.2.1 → 2.3.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,22 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 2.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#149558](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/149558)
8
+ [`5e8619ac0f6e4`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/5e8619ac0f6e4) -
9
+ [ux] [ED-25085] Migrate typography \
10
+
11
+ editor-plugin-media:
12
+
13
+ - replace caption placeholder span with button
14
+ - replace x between width and height pixel entry with symbol × \
15
+
16
+ tmp-editor-statsig:
17
+
18
+ - Add experiment `platform_editor_typography_migration_ugc`
19
+
3
20
  ## 2.2.1
4
21
 
5
22
  ### Patch Changes
@@ -235,5 +235,15 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
235
235
  param: 'isEnabled',
236
236
  typeGuard: _typeGuards.isBoolean,
237
237
  defaultValue: false
238
+ },
239
+ // Added 2024-10-04
240
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
241
+ typography_migration_ugc: {
242
+ productKeys: {
243
+ confluence: 'platform_editor_typography_migration_ugc'
244
+ },
245
+ param: 'isEnabled',
246
+ typeGuard: _typeGuards.isBoolean,
247
+ defaultValue: false
238
248
  }
239
249
  };
@@ -229,5 +229,15 @@ export const editorExperimentsConfig = {
229
229
  param: 'isEnabled',
230
230
  typeGuard: isBoolean,
231
231
  defaultValue: false
232
+ },
233
+ // Added 2024-10-04
234
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
235
+ typography_migration_ugc: {
236
+ productKeys: {
237
+ confluence: 'platform_editor_typography_migration_ugc'
238
+ },
239
+ param: 'isEnabled',
240
+ typeGuard: isBoolean,
241
+ defaultValue: false
232
242
  }
233
243
  };
@@ -229,5 +229,15 @@ export var editorExperimentsConfig = {
229
229
  param: 'isEnabled',
230
230
  typeGuard: isBoolean,
231
231
  defaultValue: false
232
+ },
233
+ // Added 2024-10-04
234
+ // https://console.statsig.com/LqivKg6ADZZaGczRfBKfX/experiments/platform_editor_typography_migration_ugc/setup
235
+ typography_migration_ugc: {
236
+ productKeys: {
237
+ confluence: 'platform_editor_typography_migration_ugc'
238
+ },
239
+ param: 'isEnabled',
240
+ typeGuard: isBoolean,
241
+ defaultValue: false
232
242
  }
233
243
  };
@@ -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" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "typography_migration_ugc">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -240,6 +240,14 @@ declare namespace eeTest {
240
240
  typeGuard: typeof import("./type-guards").isBoolean;
241
241
  defaultValue: boolean;
242
242
  };
243
+ typography_migration_ugc: {
244
+ productKeys: {
245
+ confluence: string;
246
+ };
247
+ param: string;
248
+ typeGuard: typeof import("./type-guards").isBoolean;
249
+ defaultValue: boolean;
250
+ };
243
251
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
244
252
  each: (describeBody: jest.EmptyFunction) => void;
245
253
  };
@@ -199,4 +199,12 @@ export declare const editorExperimentsConfig: {
199
199
  typeGuard: typeof isBoolean;
200
200
  defaultValue: boolean;
201
201
  };
202
+ typography_migration_ugc: {
203
+ productKeys: {
204
+ confluence: string;
205
+ };
206
+ param: string;
207
+ typeGuard: typeof isBoolean;
208
+ defaultValue: boolean;
209
+ };
202
210
  };
@@ -27,6 +27,7 @@ export declare let _overrides: Partial<{
27
27
  platform_editor_ai_additional_editor_prompts: "test" | "control";
28
28
  comment_on_bodied_extensions: boolean;
29
29
  platform_editor_ai_floating_toolbar_v2: boolean;
30
+ typography_migration_ugc: boolean;
30
31
  }>;
31
32
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
32
33
  /**
@@ -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" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2">(experimentName: ExperimentName, describeName: string) => {
48
+ var describe: <ExperimentName extends "example-boolean" | "example-multivariate" | "test-new-experiments-package" | "basic-text-transformations" | "platform_editor_ai_command_palate_improvement" | "dnd-input-performance-optimisation" | "element-level-templates" | "add-media-from-url" | "nested-dnd" | "table-nested-dnd" | "insert-menu-in-right-rail" | "platform_editor_empty_line_prompt" | "support_table_in_comment" | "platform_editor_exp_lazy_node_views" | "platform_editor_ai_ai_button_block_elements" | "platform_renderer_table_sticky_scrollbar" | "nest-media-and-codeblock-in-quote" | "nested-expand-in-expand" | "platform_editor_ai_command_palette_post_ga" | "platform_editor_table_use_shared_state_hook" | "editor_ai_-_multi_prompts" | "platform_editor_ai_additional_editor_prompts" | "comment_on_bodied_extensions" | "platform_editor_ai_floating_toolbar_v2" | "typography_migration_ugc">(experimentName: ExperimentName, describeName: string) => {
49
49
  variant: (value: {
50
50
  'example-boolean': {
51
51
  productKeys: {
@@ -240,6 +240,14 @@ declare namespace eeTest {
240
240
  typeGuard: typeof import("./type-guards").isBoolean;
241
241
  defaultValue: boolean;
242
242
  };
243
+ typography_migration_ugc: {
244
+ productKeys: {
245
+ confluence: string;
246
+ };
247
+ param: string;
248
+ typeGuard: typeof import("./type-guards").isBoolean;
249
+ defaultValue: boolean;
250
+ };
243
251
  }[ExperimentName]["defaultValue"], describeBody: jest.EmptyFunction) => void;
244
252
  each: (describeBody: jest.EmptyFunction) => void;
245
253
  };
@@ -199,4 +199,12 @@ export declare const editorExperimentsConfig: {
199
199
  typeGuard: typeof isBoolean;
200
200
  defaultValue: boolean;
201
201
  };
202
+ typography_migration_ugc: {
203
+ productKeys: {
204
+ confluence: string;
205
+ };
206
+ param: string;
207
+ typeGuard: typeof isBoolean;
208
+ defaultValue: boolean;
209
+ };
202
210
  };
@@ -27,6 +27,7 @@ export declare let _overrides: Partial<{
27
27
  platform_editor_ai_additional_editor_prompts: "test" | "control";
28
28
  comment_on_bodied_extensions: boolean;
29
29
  platform_editor_ai_floating_toolbar_v2: boolean;
30
+ typography_migration_ugc: boolean;
30
31
  }>;
31
32
  export declare let _product: 'confluence' | 'jira' | 'test' | undefined;
32
33
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "2.2.1",
3
+ "version": "2.3.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",