@atlaskit/tmp-editor-statsig 12.25.1 → 12.27.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,23 @@
1
1
  # @atlaskit/editor-statsig-tmp
2
2
 
3
+ ## 12.27.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [`d5e5b25fe885a`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/d5e5b25fe885a) -
8
+ [ux] ED-29226 Open block menu when drag handle is focussed and space or enter key is pressed
9
+
10
+ ## 12.26.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [`0203ffb1d311e`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/0203ffb1d311e) -
15
+ Updated experiment config to split out embed preview action handling from core hover card behavior
16
+
17
+ ### Patch Changes
18
+
19
+ - Updated dependencies
20
+
3
21
  ## 12.25.1
4
22
 
5
23
  ### Patch Changes
@@ -18,7 +18,8 @@ var testMultivariateOverrides = exports.testMultivariateOverrides = {
18
18
  platform_editor_add_orange_highlight_color: 'control',
19
19
  platform_editor_ai_iw_adf_streaming: 'control',
20
20
  platform_editor_ai_non_iw_adf_streaming: 'control',
21
- platform_hover_card_preview_panel: 'control'
21
+ platform_hover_card_preview_panel: 'control',
22
+ platform_hover_card_preview_panel_modal: 'control'
22
23
  };
23
24
  var testBooleanOverrides = exports.testBooleanOverrides = {
24
25
  platform_editor_feedback_mandatory_rating: false,
@@ -64,6 +65,6 @@ var testBooleanOverrides = exports.testBooleanOverrides = {
64
65
  cc_editor_ufo_hold_table_till_resize_complete: false,
65
66
  platform_editor_toggle_expand_on_match_found: false,
66
67
  platform_editor_reduce_noisy_steps_ncs: false,
67
- cc_improve_writing_on_paste: false,
68
+ cc_improve_writing_on_paste_v2: false,
68
69
  platform_editor_ai_aifc: false
69
70
  };
@@ -566,6 +566,16 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
566
566
  values: ['control', 'test'],
567
567
  defaultValue: 'control'
568
568
  }),
569
+ // Added 2025-09-17
570
+ platform_hover_card_preview_panel_modal: (0, _experimentBuilders.createMultivariateExperiment)({
571
+ productKeys: {
572
+ confluence: 'platform_hover_card_preview_panel_modal',
573
+ jira: 'platform_hover_card_preview_panel_modal'
574
+ },
575
+ param: 'cohort',
576
+ values: ['control', 'test'],
577
+ defaultValue: 'control'
578
+ }),
569
579
  // Added 2025--8-05
570
580
  platform_editor_block_menu: (0, _experimentBuilders.createBooleanExperiment)({
571
581
  productKeys: {
@@ -574,6 +584,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
574
584
  param: 'isEnabled',
575
585
  defaultValue: false
576
586
  }),
587
+ // Added 2025--9-17
588
+ platform_editor_block_menu_empty_line: (0, _experimentBuilders.createBooleanExperiment)({
589
+ productKeys: {
590
+ confluence: 'platform_editor_block_menu_empty_line'
591
+ },
592
+ param: 'isEnabled',
593
+ defaultValue: false
594
+ }),
577
595
  // Added 2025-07-23
578
596
  platform_editor_renderer_breakout_fix: (0, _experimentBuilders.createBooleanExperiment)({
579
597
  productKeys: {
@@ -798,10 +816,10 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
798
816
  param: 'isEnabled',
799
817
  defaultValue: false
800
818
  }),
801
- // Added 2025-08-06
802
- cc_improve_writing_on_paste: (0, _experimentBuilders.createBooleanExperiment)({
819
+ // Added 2025-09-16
820
+ cc_improve_writing_on_paste_v2: (0, _experimentBuilders.createBooleanExperiment)({
803
821
  productKeys: {
804
- confluence: 'cc_improve_writing_on_paste'
822
+ confluence: 'cc_improve_writing_on_paste_v2'
805
823
  },
806
824
  param: 'isEnabled',
807
825
  defaultValue: false
@@ -983,6 +1001,14 @@ var editorExperimentsConfig = exports.editorExperimentsConfig = {
983
1001
  param: 'isEnabled',
984
1002
  defaultValue: false
985
1003
  }),
1004
+ // Added 2025-09-17
1005
+ platform_editor_block_menu_keyboard_navigation: (0, _experimentBuilders.createBooleanExperiment)({
1006
+ productKeys: {
1007
+ confluence: 'platform_editor_block_menu_keyboard_navigation'
1008
+ },
1009
+ param: 'isEnabled',
1010
+ defaultValue: false
1011
+ }),
986
1012
  // Added 2025-09-11
987
1013
  platform_editor_add_aria_checked_to_inline_img_btn: (0, _experimentBuilders.createBooleanExperiment)({
988
1014
  productKeys: {
@@ -12,7 +12,8 @@ export const testMultivariateOverrides = {
12
12
  platform_editor_add_orange_highlight_color: 'control',
13
13
  platform_editor_ai_iw_adf_streaming: 'control',
14
14
  platform_editor_ai_non_iw_adf_streaming: 'control',
15
- platform_hover_card_preview_panel: 'control'
15
+ platform_hover_card_preview_panel: 'control',
16
+ platform_hover_card_preview_panel_modal: 'control'
16
17
  };
17
18
  export const testBooleanOverrides = {
18
19
  platform_editor_feedback_mandatory_rating: false,
@@ -58,6 +59,6 @@ export const testBooleanOverrides = {
58
59
  cc_editor_ufo_hold_table_till_resize_complete: false,
59
60
  platform_editor_toggle_expand_on_match_found: false,
60
61
  platform_editor_reduce_noisy_steps_ncs: false,
61
- cc_improve_writing_on_paste: false,
62
+ cc_improve_writing_on_paste_v2: false,
62
63
  platform_editor_ai_aifc: false
63
64
  };
@@ -560,6 +560,16 @@ export const editorExperimentsConfig = {
560
560
  values: ['control', 'test'],
561
561
  defaultValue: 'control'
562
562
  }),
563
+ // Added 2025-09-17
564
+ platform_hover_card_preview_panel_modal: createMultivariateExperiment({
565
+ productKeys: {
566
+ confluence: 'platform_hover_card_preview_panel_modal',
567
+ jira: 'platform_hover_card_preview_panel_modal'
568
+ },
569
+ param: 'cohort',
570
+ values: ['control', 'test'],
571
+ defaultValue: 'control'
572
+ }),
563
573
  // Added 2025--8-05
564
574
  platform_editor_block_menu: createBooleanExperiment({
565
575
  productKeys: {
@@ -568,6 +578,14 @@ export const editorExperimentsConfig = {
568
578
  param: 'isEnabled',
569
579
  defaultValue: false
570
580
  }),
581
+ // Added 2025--9-17
582
+ platform_editor_block_menu_empty_line: createBooleanExperiment({
583
+ productKeys: {
584
+ confluence: 'platform_editor_block_menu_empty_line'
585
+ },
586
+ param: 'isEnabled',
587
+ defaultValue: false
588
+ }),
571
589
  // Added 2025-07-23
572
590
  platform_editor_renderer_breakout_fix: createBooleanExperiment({
573
591
  productKeys: {
@@ -792,10 +810,10 @@ export const editorExperimentsConfig = {
792
810
  param: 'isEnabled',
793
811
  defaultValue: false
794
812
  }),
795
- // Added 2025-08-06
796
- cc_improve_writing_on_paste: createBooleanExperiment({
813
+ // Added 2025-09-16
814
+ cc_improve_writing_on_paste_v2: createBooleanExperiment({
797
815
  productKeys: {
798
- confluence: 'cc_improve_writing_on_paste'
816
+ confluence: 'cc_improve_writing_on_paste_v2'
799
817
  },
800
818
  param: 'isEnabled',
801
819
  defaultValue: false
@@ -977,6 +995,14 @@ export const editorExperimentsConfig = {
977
995
  param: 'isEnabled',
978
996
  defaultValue: false
979
997
  }),
998
+ // Added 2025-09-17
999
+ platform_editor_block_menu_keyboard_navigation: createBooleanExperiment({
1000
+ productKeys: {
1001
+ confluence: 'platform_editor_block_menu_keyboard_navigation'
1002
+ },
1003
+ param: 'isEnabled',
1004
+ defaultValue: false
1005
+ }),
980
1006
  // Added 2025-09-11
981
1007
  platform_editor_add_aria_checked_to_inline_img_btn: createBooleanExperiment({
982
1008
  productKeys: {
@@ -12,7 +12,8 @@ export var testMultivariateOverrides = {
12
12
  platform_editor_add_orange_highlight_color: 'control',
13
13
  platform_editor_ai_iw_adf_streaming: 'control',
14
14
  platform_editor_ai_non_iw_adf_streaming: 'control',
15
- platform_hover_card_preview_panel: 'control'
15
+ platform_hover_card_preview_panel: 'control',
16
+ platform_hover_card_preview_panel_modal: 'control'
16
17
  };
17
18
  export var testBooleanOverrides = {
18
19
  platform_editor_feedback_mandatory_rating: false,
@@ -58,6 +59,6 @@ export var testBooleanOverrides = {
58
59
  cc_editor_ufo_hold_table_till_resize_complete: false,
59
60
  platform_editor_toggle_expand_on_match_found: false,
60
61
  platform_editor_reduce_noisy_steps_ncs: false,
61
- cc_improve_writing_on_paste: false,
62
+ cc_improve_writing_on_paste_v2: false,
62
63
  platform_editor_ai_aifc: false
63
64
  };
@@ -560,6 +560,16 @@ export var editorExperimentsConfig = {
560
560
  values: ['control', 'test'],
561
561
  defaultValue: 'control'
562
562
  }),
563
+ // Added 2025-09-17
564
+ platform_hover_card_preview_panel_modal: createMultivariateExperiment({
565
+ productKeys: {
566
+ confluence: 'platform_hover_card_preview_panel_modal',
567
+ jira: 'platform_hover_card_preview_panel_modal'
568
+ },
569
+ param: 'cohort',
570
+ values: ['control', 'test'],
571
+ defaultValue: 'control'
572
+ }),
563
573
  // Added 2025--8-05
564
574
  platform_editor_block_menu: createBooleanExperiment({
565
575
  productKeys: {
@@ -568,6 +578,14 @@ export var editorExperimentsConfig = {
568
578
  param: 'isEnabled',
569
579
  defaultValue: false
570
580
  }),
581
+ // Added 2025--9-17
582
+ platform_editor_block_menu_empty_line: createBooleanExperiment({
583
+ productKeys: {
584
+ confluence: 'platform_editor_block_menu_empty_line'
585
+ },
586
+ param: 'isEnabled',
587
+ defaultValue: false
588
+ }),
571
589
  // Added 2025-07-23
572
590
  platform_editor_renderer_breakout_fix: createBooleanExperiment({
573
591
  productKeys: {
@@ -792,10 +810,10 @@ export var editorExperimentsConfig = {
792
810
  param: 'isEnabled',
793
811
  defaultValue: false
794
812
  }),
795
- // Added 2025-08-06
796
- cc_improve_writing_on_paste: createBooleanExperiment({
813
+ // Added 2025-09-16
814
+ cc_improve_writing_on_paste_v2: createBooleanExperiment({
797
815
  productKeys: {
798
- confluence: 'cc_improve_writing_on_paste'
816
+ confluence: 'cc_improve_writing_on_paste_v2'
799
817
  },
800
818
  param: 'isEnabled',
801
819
  defaultValue: false
@@ -977,6 +995,14 @@ export var editorExperimentsConfig = {
977
995
  param: 'isEnabled',
978
996
  defaultValue: false
979
997
  }),
998
+ // Added 2025-09-17
999
+ platform_editor_block_menu_keyboard_navigation: createBooleanExperiment({
1000
+ productKeys: {
1001
+ confluence: 'platform_editor_block_menu_keyboard_navigation'
1002
+ },
1003
+ param: 'isEnabled',
1004
+ defaultValue: false
1005
+ }),
980
1006
  // Added 2025-09-11
981
1007
  platform_editor_add_aria_checked_to_inline_img_btn: createBooleanExperiment({
982
1008
  productKeys: {
@@ -418,12 +418,25 @@ export declare const editorExperimentsConfig: {
418
418
  param: string;
419
419
  productKeys?: import("./types").ProductKeys;
420
420
  };
421
+ platform_hover_card_preview_panel_modal: {
422
+ values: ("test" | "control")[];
423
+ typeGuard: (value: unknown) => value is "test" | "control";
424
+ defaultValue: "test" | "control";
425
+ param: string;
426
+ productKeys?: import("./types").ProductKeys;
427
+ };
421
428
  platform_editor_block_menu: {
422
429
  typeGuard: typeof import("./type-guards").isBoolean;
423
430
  defaultValue: boolean;
424
431
  param: string;
425
432
  productKeys?: import("./types").ProductKeys;
426
433
  };
434
+ platform_editor_block_menu_empty_line: {
435
+ typeGuard: typeof import("./type-guards").isBoolean;
436
+ defaultValue: boolean;
437
+ param: string;
438
+ productKeys?: import("./types").ProductKeys;
439
+ };
427
440
  platform_editor_renderer_breakout_fix: {
428
441
  typeGuard: typeof import("./type-guards").isBoolean;
429
442
  defaultValue: boolean;
@@ -588,7 +601,7 @@ export declare const editorExperimentsConfig: {
588
601
  param: string;
589
602
  productKeys?: import("./types").ProductKeys;
590
603
  };
591
- cc_improve_writing_on_paste: {
604
+ cc_improve_writing_on_paste_v2: {
592
605
  typeGuard: typeof import("./type-guards").isBoolean;
593
606
  defaultValue: boolean;
594
607
  param: string;
@@ -721,6 +734,12 @@ export declare const editorExperimentsConfig: {
721
734
  param: string;
722
735
  productKeys?: import("./types").ProductKeys;
723
736
  };
737
+ platform_editor_block_menu_keyboard_navigation: {
738
+ typeGuard: typeof import("./type-guards").isBoolean;
739
+ defaultValue: boolean;
740
+ param: string;
741
+ productKeys?: import("./types").ProductKeys;
742
+ };
724
743
  platform_editor_add_aria_checked_to_inline_img_btn: {
725
744
  typeGuard: typeof import("./type-guards").isBoolean;
726
745
  defaultValue: boolean;
@@ -418,12 +418,25 @@ export declare const editorExperimentsConfig: {
418
418
  param: string;
419
419
  productKeys?: import("./types").ProductKeys;
420
420
  };
421
+ platform_hover_card_preview_panel_modal: {
422
+ values: ("test" | "control")[];
423
+ typeGuard: (value: unknown) => value is "test" | "control";
424
+ defaultValue: "test" | "control";
425
+ param: string;
426
+ productKeys?: import("./types").ProductKeys;
427
+ };
421
428
  platform_editor_block_menu: {
422
429
  typeGuard: typeof import("./type-guards").isBoolean;
423
430
  defaultValue: boolean;
424
431
  param: string;
425
432
  productKeys?: import("./types").ProductKeys;
426
433
  };
434
+ platform_editor_block_menu_empty_line: {
435
+ typeGuard: typeof import("./type-guards").isBoolean;
436
+ defaultValue: boolean;
437
+ param: string;
438
+ productKeys?: import("./types").ProductKeys;
439
+ };
427
440
  platform_editor_renderer_breakout_fix: {
428
441
  typeGuard: typeof import("./type-guards").isBoolean;
429
442
  defaultValue: boolean;
@@ -588,7 +601,7 @@ export declare const editorExperimentsConfig: {
588
601
  param: string;
589
602
  productKeys?: import("./types").ProductKeys;
590
603
  };
591
- cc_improve_writing_on_paste: {
604
+ cc_improve_writing_on_paste_v2: {
592
605
  typeGuard: typeof import("./type-guards").isBoolean;
593
606
  defaultValue: boolean;
594
607
  param: string;
@@ -721,6 +734,12 @@ export declare const editorExperimentsConfig: {
721
734
  param: string;
722
735
  productKeys?: import("./types").ProductKeys;
723
736
  };
737
+ platform_editor_block_menu_keyboard_navigation: {
738
+ typeGuard: typeof import("./type-guards").isBoolean;
739
+ defaultValue: boolean;
740
+ param: string;
741
+ productKeys?: import("./types").ProductKeys;
742
+ };
724
743
  platform_editor_add_aria_checked_to_inline_img_btn: {
725
744
  typeGuard: typeof import("./type-guards").isBoolean;
726
745
  defaultValue: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/tmp-editor-statsig",
3
- "version": "12.25.1",
3
+ "version": "12.27.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",
@@ -33,7 +33,7 @@
33
33
  "atlaskit:src": "src/index.ts",
34
34
  "dependencies": {
35
35
  "@atlaskit/feature-gate-js-client": "^5.5.0",
36
- "@atlaskit/react-ufo": "^4.7.0",
36
+ "@atlaskit/react-ufo": "^4.8.0",
37
37
  "@babel/runtime": "^7.0.0"
38
38
  },
39
39
  "peerDependencies": {