@atlaskit/editor-common 120.7.0 → 120.8.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.
Files changed (94) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/cjs/block-menu/index.js +6 -0
  3. package/dist/cjs/block-menu/key.js +4 -1
  4. package/dist/cjs/block-menu/rank.js +2 -2
  5. package/dist/cjs/extensibility/Extension/InlineExtension/index.js +2 -2
  6. package/dist/cjs/guideline/getContainerWidthOrFullEditorWidth.js +2 -2
  7. package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  8. package/dist/cjs/link/utils.js +3 -3
  9. package/dist/cjs/media-inline/media-inline-image-card.js +2 -2
  10. package/dist/cjs/media-single/calcMediaSingleMaxWidth.js +2 -2
  11. package/dist/cjs/messages/syncBlock.js +10 -0
  12. package/dist/cjs/monitoring/error.js +1 -1
  13. package/dist/cjs/preset/core-plugin/requestDocument.js +2 -2
  14. package/dist/cjs/resizer/BreakoutResizer.js +6 -6
  15. package/dist/cjs/resizer/Resizer.js +2 -2
  16. package/dist/cjs/resizer/useBreakoutGuidelines.js +5 -5
  17. package/dist/cjs/selection/getFragmentsFromSelection.js +2 -2
  18. package/dist/cjs/ui/Caption/index.js +1 -1
  19. package/dist/cjs/ui/DropList/index.js +1 -1
  20. package/dist/cjs/ui/Popup/index.js +2 -2
  21. package/dist/cjs/ui/TableSelector/index.js +3 -3
  22. package/dist/cjs/ui/TableSelector/table-selector.js +2 -2
  23. package/dist/cjs/ui/UnsupportedBlock/index.js +1 -1
  24. package/dist/cjs/ui/UnsupportedInline/index.js +1 -1
  25. package/dist/cjs/ui-color/ColorPalette/index.js +1 -1
  26. package/dist/cjs/ui-menu/ColorPickerButton/index.js +2 -2
  27. package/dist/cjs/ui-menu/DropdownMenu/index.js +2 -2
  28. package/dist/cjs/ui-react/with-react-editor-view-outer-listeners.js +6 -6
  29. package/dist/cjs/utils/commands.js +3 -3
  30. package/dist/cjs/utils/nodes.js +2 -2
  31. package/dist/es2019/block-menu/index.js +1 -1
  32. package/dist/es2019/block-menu/key.js +3 -0
  33. package/dist/es2019/block-menu/rank.js +2 -1
  34. package/dist/es2019/extensibility/Extension/InlineExtension/index.js +1 -1
  35. package/dist/es2019/guideline/getContainerWidthOrFullEditorWidth.js +1 -1
  36. package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  37. package/dist/es2019/link/utils.js +1 -1
  38. package/dist/es2019/media-inline/media-inline-image-card.js +1 -1
  39. package/dist/es2019/media-single/calcMediaSingleMaxWidth.js +1 -1
  40. package/dist/es2019/messages/syncBlock.js +10 -0
  41. package/dist/es2019/monitoring/error.js +1 -1
  42. package/dist/es2019/preset/core-plugin/requestDocument.js +1 -1
  43. package/dist/es2019/resizer/BreakoutResizer.js +1 -1
  44. package/dist/es2019/resizer/Resizer.js +1 -1
  45. package/dist/es2019/resizer/useBreakoutGuidelines.js +1 -1
  46. package/dist/es2019/selection/getFragmentsFromSelection.js +1 -1
  47. package/dist/es2019/ui/Caption/index.js +1 -1
  48. package/dist/es2019/ui/DropList/index.js +1 -1
  49. package/dist/es2019/ui/Popup/index.js +1 -1
  50. package/dist/es2019/ui/TableSelector/index.js +1 -1
  51. package/dist/es2019/ui/TableSelector/table-selector.js +1 -1
  52. package/dist/es2019/ui/UnsupportedBlock/index.js +1 -1
  53. package/dist/es2019/ui/UnsupportedInline/index.js +1 -1
  54. package/dist/es2019/ui-color/ColorPalette/index.js +1 -1
  55. package/dist/es2019/ui-menu/ColorPickerButton/index.js +1 -1
  56. package/dist/es2019/ui-menu/DropdownMenu/index.js +1 -1
  57. package/dist/es2019/ui-react/with-react-editor-view-outer-listeners.js +1 -1
  58. package/dist/es2019/utils/commands.js +1 -1
  59. package/dist/es2019/utils/nodes.js +1 -1
  60. package/dist/esm/block-menu/index.js +1 -1
  61. package/dist/esm/block-menu/key.js +3 -0
  62. package/dist/esm/block-menu/rank.js +3 -2
  63. package/dist/esm/extensibility/Extension/InlineExtension/index.js +1 -1
  64. package/dist/esm/guideline/getContainerWidthOrFullEditorWidth.js +1 -1
  65. package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
  66. package/dist/esm/link/utils.js +1 -1
  67. package/dist/esm/media-inline/media-inline-image-card.js +1 -1
  68. package/dist/esm/media-single/calcMediaSingleMaxWidth.js +1 -1
  69. package/dist/esm/messages/syncBlock.js +10 -0
  70. package/dist/esm/monitoring/error.js +1 -1
  71. package/dist/esm/preset/core-plugin/requestDocument.js +1 -1
  72. package/dist/esm/resizer/BreakoutResizer.js +1 -1
  73. package/dist/esm/resizer/Resizer.js +1 -1
  74. package/dist/esm/resizer/useBreakoutGuidelines.js +1 -1
  75. package/dist/esm/selection/getFragmentsFromSelection.js +1 -1
  76. package/dist/esm/ui/Caption/index.js +1 -1
  77. package/dist/esm/ui/DropList/index.js +1 -1
  78. package/dist/esm/ui/Popup/index.js +1 -1
  79. package/dist/esm/ui/TableSelector/index.js +1 -1
  80. package/dist/esm/ui/TableSelector/table-selector.js +1 -1
  81. package/dist/esm/ui/UnsupportedBlock/index.js +1 -1
  82. package/dist/esm/ui/UnsupportedInline/index.js +1 -1
  83. package/dist/esm/ui-color/ColorPalette/index.js +1 -1
  84. package/dist/esm/ui-menu/ColorPickerButton/index.js +1 -1
  85. package/dist/esm/ui-menu/DropdownMenu/index.js +1 -1
  86. package/dist/esm/ui-react/with-react-editor-view-outer-listeners.js +1 -1
  87. package/dist/esm/utils/commands.js +1 -1
  88. package/dist/esm/utils/nodes.js +1 -1
  89. package/dist/types/block-menu/index.d.ts +1 -1
  90. package/dist/types/block-menu/key.d.ts +3 -0
  91. package/dist/types/block-menu/placement.d.ts +2 -1
  92. package/dist/types/block-menu/rank.d.ts +15 -14
  93. package/dist/types/messages/syncBlock.d.ts +10 -0
  94. package/package.json +2 -2
@@ -45,7 +45,7 @@ Object.defineProperty(exports, "validNode", {
45
45
  }
46
46
  });
47
47
  exports.validateNodes = void 0;
48
- var _editorJsonTransformer = require("@atlaskit/editor-json-transformer");
48
+ var _JSONTransformer = require("@atlaskit/editor-json-transformer/JSONTransformer-2");
49
49
  var _SelectedState = require("./SelectedState");
50
50
  var _validNode = require("./validNode");
51
51
  var _findChangedNodesFromTransaction = require("./findChangedNodesFromTransaction");
@@ -102,7 +102,7 @@ var isNodeSelectedOrInRange = exports.isNodeSelectedOrInRange = function isNodeS
102
102
  }
103
103
  return null;
104
104
  };
105
- var transformer = new _editorJsonTransformer.JSONTransformer();
105
+ var transformer = new _JSONTransformer.JSONTransformer();
106
106
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
107
107
  function toJSON(node) {
108
108
  return transformer.encode(node);
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
2
  export { messages } from './messages';
3
- export { BLOCK_ACTIONS_MENU_SECTION, BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM, BLOCK_ACTIONS_TEMPLATE_SECTION, BLOCK_ACTIONS_FEATURED_EXTENSION_SECTION_KEYS, BLOCK_ACTIONS_CREATE_SYNCED_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_LINK_TO_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_MENU_SECTION, DELETE_MENU_SECTION, DELETE_MENU_ITEM, POSITION_MENU_SECTION, POSITION_MOVE_UP_MENU_ITEM, POSITION_MOVE_DOWN_MENU_ITEM, TRANSFORM_MENU_SECTION, TRANSFORM_MENU_ITEM, TRANSFORM_CLEAR_MENU_SECTION, TRANSFORM_CLEAR_MENU_ITEM, TRANSFORM_CREATE_MENU_SECTION, TRANSFORM_HEADINGS_MENU_SECTION, TRANSFORM_HEADINGS_H1_MENU_ITEM, TRANSFORM_HEADINGS_H2_MENU_ITEM, TRANSFORM_HEADINGS_H3_MENU_ITEM, TRANSFORM_HEADINGS_H4_MENU_ITEM, TRANSFORM_HEADINGS_H5_MENU_ITEM, TRANSFORM_HEADINGS_H6_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_SECTION, TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM, TRANSFORM_STRUCTURE_PANEL_MENU_ITEM, TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM, TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM, TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM, TRANSFORM_STRUCTURE_DECISION_MENU_ITEM, TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_ITEM, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM, BLOCK_MENU_ACTION_TEST_ID, BLOCK_MENU_TEST_ID, EXTENSION_MENU_ITEM_TEST_ID, AI_MENU_SECTION, AI_ASK_ROVO_MENU_ITEM, AI_IMPROVE_WRITING_MENU_ITEM, AI_POLISH_MENU_ITEM, AI_REMIX_MENU_ITEM, AI_BLOCK_MENU_LARGE_TEXT_THRESHOLD } from './key';
3
+ export { BLOCK_ACTIONS_MENU_SECTION, BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM, BLOCK_ACTIONS_TEMPLATE_SECTION, BLOCK_ACTIONS_FEATURED_EXTENSION_SECTION_KEYS, BLOCK_ACTIONS_CREATE_SYNCED_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_LINK_TO_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_MENU_SECTION, DELETE_MENU_SECTION, DELETE_MENU_ITEM, POSITION_MENU_SECTION, POSITION_MOVE_UP_MENU_ITEM, POSITION_MOVE_DOWN_MENU_ITEM, TRANSFORM_MENU_SECTION, TRANSFORM_MENU_ITEM, TRANSFORM_CLEAR_MENU_SECTION, TRANSFORM_CLEAR_MENU_ITEM, TRANSFORM_CREATE_MENU_SECTION, TRANSFORM_HEADINGS_MENU_SECTION, TRANSFORM_HEADINGS_H1_MENU_ITEM, TRANSFORM_HEADINGS_H2_MENU_ITEM, TRANSFORM_HEADINGS_H3_MENU_ITEM, TRANSFORM_HEADINGS_H4_MENU_ITEM, TRANSFORM_HEADINGS_H5_MENU_ITEM, TRANSFORM_HEADINGS_H6_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_SECTION, TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM, TRANSFORM_STRUCTURE_PANEL_MENU_ITEM, TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM, TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM, TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM, TRANSFORM_STRUCTURE_EXTENSION_SLOT_MENU_ITEM, TRANSFORM_STRUCTURE_DECISION_MENU_ITEM, TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_ITEM, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM, BLOCK_MENU_ACTION_TEST_ID, BLOCK_MENU_TEST_ID, EXTENSION_MENU_ITEM_TEST_ID, AI_MENU_SECTION, AI_ASK_ROVO_MENU_ITEM, AI_IMPROVE_WRITING_MENU_ITEM, AI_POLISH_MENU_ITEM, AI_REMIX_MENU_ITEM, AI_BLOCK_MENU_LARGE_TEXT_THRESHOLD } from './key';
4
4
  export { FORMAT_HEADING_1_MENU_ITEM, FORMAT_HEADING_2_MENU_ITEM, FORMAT_HEADING_3_MENU_ITEM, FORMAT_HEADING_4_MENU_ITEM, FORMAT_HEADING_5_MENU_ITEM, FORMAT_HEADING_6_MENU_ITEM, FORMAT_PARAGRAPH_MENU_ITEM, FORMAT_QUOTE_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_LAYOUT_MENU_ITEM, FORMAT_PANEL_MENU_ITEM, FORMAT_CODE_BLOCK_MENU_ITEM, FORMAT_BULLETED_LIST_MENU_ITEM, FORMAT_NUMBERED_LIST_MENU_ITEM, FORMAT_TASK_LIST_MENU_ITEM, COPY_MENU_SECTION, MOVE_UP_DOWN_MENU_SECTION, COPY_LINK_MENU_ITEM, MOVE_UP_MENU_ITEM, MOVE_DOWN_MENU_ITEM, NESTED_FORMAT_MENU_SECTION, FORMAT_MENU_ITEM, NESTED_FORMAT_MENU, PRIMARY_MENU_SECTION, ADD_BLOCKS_MENU_SECTION, CREATE_SYNCED_BLOCK_MENU_ITEM } from './key-deprecated';
5
5
  export { MAIN_BLOCK_MENU_SECTION_RANK, TRANSFORM_MENU_SECTION_RANK, BLOCK_ACTIONS_FEATURED_EXTENSION_ITEM_RANK, TRANSFORM_MENU_ITEM_RANK, TRANSFORM_HEADINGS_MENU_SECTION_RANK, TRANSFORM_STRUCTURE_MENU_SECTION_RANK, TRANSFORM_CLEAR_MENU_SECTION_RANK, BLOCK_ACTIONS_MENU_SECTION_RANK, BLOCK_ACTIONS_COPY_MENU_SECTION_RANK, POSITION_MENU_SECTION_RANK, DELETE_MENU_SECTION_RANK, TRANSFORM_SUGGESTED_MENU_SECTION_RANK, TRANSFORM_CREATE_MENU_SECTION_RANK, AI_MENU_SECTION_RANK } from './rank';
6
6
  export { FORMAT_NESTED_MENU_RANK, FORMAT_NESTED_MENU_RANK_REVISED, BLOCK_MENU_SECTION_RANK, PRIMARY_MENU_SECTION_RANK, COPY_MENU_SECTION_RANK, DELETE_SECTION_RANK, MOVE_BLOCK_SECTION_RANK, ADD_BLOCKS_MENU_SECTION_RANK } from './rank-deprecated';
@@ -64,6 +64,9 @@ export const TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM = {
64
64
  export const TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM = {
65
65
  key: 'transform-structure-quote-menu-item'
66
66
  };
67
+ export const TRANSFORM_STRUCTURE_EXTENSION_SLOT_MENU_ITEM = {
68
+ key: 'transform-structure-extension-slot-menu-item'
69
+ };
67
70
  export const TRANSFORM_STRUCTURE_DECISION_MENU_ITEM = {
68
71
  key: 'transform-structure-decision-menu-item'
69
72
  };
@@ -1,5 +1,5 @@
1
1
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports */
2
- import { BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM, BLOCK_ACTIONS_TEMPLATE_SECTION, BLOCK_ACTIONS_MENU_SECTION, BLOCK_ACTIONS_CREATE_SYNCED_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_LINK_TO_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_MENU_SECTION, DELETE_MENU_SECTION, DELETE_MENU_ITEM, POSITION_MENU_SECTION, POSITION_MOVE_UP_MENU_ITEM, POSITION_MOVE_DOWN_MENU_ITEM, TRANSFORM_MENU_SECTION, TRANSFORM_MENU_ITEM, TRANSFORM_CLEAR_MENU_SECTION, TRANSFORM_CLEAR_MENU_ITEM, TRANSFORM_CREATE_MENU_SECTION, TRANSFORM_HEADINGS_MENU_SECTION, TRANSFORM_HEADINGS_H1_MENU_ITEM, TRANSFORM_HEADINGS_H2_MENU_ITEM, TRANSFORM_HEADINGS_H3_MENU_ITEM, TRANSFORM_HEADINGS_H4_MENU_ITEM, TRANSFORM_HEADINGS_H5_MENU_ITEM, TRANSFORM_HEADINGS_H6_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_SECTION, TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM, TRANSFORM_STRUCTURE_PANEL_MENU_ITEM, TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM, TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM, TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM, TRANSFORM_STRUCTURE_DECISION_MENU_ITEM, TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_ITEM, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM, AI_MENU_SECTION, AI_ASK_ROVO_MENU_ITEM } from './key';
2
+ import { BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM, BLOCK_ACTIONS_TEMPLATE_SECTION, BLOCK_ACTIONS_MENU_SECTION, BLOCK_ACTIONS_CREATE_SYNCED_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_LINK_TO_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_MENU_SECTION, DELETE_MENU_SECTION, DELETE_MENU_ITEM, POSITION_MENU_SECTION, POSITION_MOVE_UP_MENU_ITEM, POSITION_MOVE_DOWN_MENU_ITEM, TRANSFORM_MENU_SECTION, TRANSFORM_MENU_ITEM, TRANSFORM_CLEAR_MENU_SECTION, TRANSFORM_CLEAR_MENU_ITEM, TRANSFORM_CREATE_MENU_SECTION, TRANSFORM_HEADINGS_MENU_SECTION, TRANSFORM_HEADINGS_H1_MENU_ITEM, TRANSFORM_HEADINGS_H2_MENU_ITEM, TRANSFORM_HEADINGS_H3_MENU_ITEM, TRANSFORM_HEADINGS_H4_MENU_ITEM, TRANSFORM_HEADINGS_H5_MENU_ITEM, TRANSFORM_HEADINGS_H6_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_SECTION, TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM, TRANSFORM_STRUCTURE_PANEL_MENU_ITEM, TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM, TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM, TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM, TRANSFORM_STRUCTURE_EXTENSION_SLOT_MENU_ITEM, TRANSFORM_STRUCTURE_DECISION_MENU_ITEM, TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_ITEM, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM, AI_MENU_SECTION, AI_ASK_ROVO_MENU_ITEM } from './key';
3
3
  export const MAIN_BLOCK_MENU_SECTION_RANK = {
4
4
  [AI_MENU_SECTION.key]: 100,
5
5
  [TRANSFORM_MENU_SECTION.key]: 200,
@@ -50,6 +50,7 @@ export const TRANSFORM_STRUCTURE_MENU_SECTION_RANK = {
50
50
  [TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM.key]: 600,
51
51
  [TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM.key]: 700,
52
52
  [TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM.key]: 800,
53
+ [TRANSFORM_STRUCTURE_EXTENSION_SLOT_MENU_ITEM.key]: 850,
53
54
  [TRANSFORM_STRUCTURE_DECISION_MENU_ITEM.key]: 900,
54
55
  [TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM.key]: 1000
55
56
  };
@@ -10,7 +10,7 @@ import classnames from 'classnames';
10
10
  import { akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
11
11
  import { fg } from '@atlaskit/platform-feature-flags/fg';
12
12
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
13
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
13
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
14
14
  import { useSharedPluginStateWithSelector } from '../../../hooks';
15
15
  import { createWidthContext, WidthContext } from '../../../ui';
16
16
  import ExtensionLozenge from '../Lozenge';
@@ -1,5 +1,5 @@
1
1
  import { akEditorFullWidthLayoutWidth, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
 
4
4
  /**
5
5
  * Calculates container or full editor width taking in account editor full width layout
@@ -840,7 +840,7 @@ function limit(items) {
840
840
  return items.slice(0, RECENT_SEARCH_LIST_SIZE);
841
841
  }
842
842
 
843
- // eslint-disable-next-line @typescript-eslint/ban-types, @atlaskit/volt-strict-mode/no-multiple-exports
843
+ // eslint-disable-next-line @typescript-eslint/no-restricted-types, @atlaskit/volt-strict-mode/no-multiple-exports
844
844
  export const HyperlinkLinkAddToolbarWithIntl = injectIntl(HyperlinkLinkAddToolbar);
845
845
  const _default_1 = withAnalyticsEvents()(HyperlinkLinkAddToolbarWithIntl);
846
846
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
@@ -1,5 +1,5 @@
1
1
  import { getUrlForDomainInContext } from '@atlaskit/atlassian-context/get-url-for-domain-in-context';
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
  import { linkPreferencesPath } from './constants';
4
4
  const STAGING = 'staging';
5
5
  const PRODUCTION = 'prod';
@@ -14,7 +14,7 @@ import { FileFetcherError } from '@atlaskit/media-client';
14
14
  import { MediaClientContext } from '@atlaskit/media-client-react/media-client-provider';
15
15
  import { MediaViewer } from '@atlaskit/media-viewer';
16
16
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
17
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
17
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
18
18
  import { messages } from '../messages/media-inline-card';
19
19
  import { referenceHeights } from './constants';
20
20
  import { InlineImageCard } from './inline-image-card';
@@ -1,5 +1,5 @@
1
1
  import { akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
  /**
4
4
  * Calculate maximum width allowed for media single node in fix-width editor in new experience
5
5
  * @param containerWidth width of editor container
@@ -95,6 +95,16 @@ export const syncBlockMessages = defineMessages({
95
95
  defaultMessage: 'Synced from: {title}',
96
96
  description: 'Tooltip that shows the source page title of the synced block'
97
97
  },
98
+ unpublishedLocalReferenceAvailabilityTooltip: {
99
+ id: 'editor-common.messages.syncBlock.unpublishedLocalReferenceAvailabilityTooltip',
100
+ defaultMessage: '{sourceType, select, page {Publish the page to make the source synced block content available in other locations.} blog {Publish the blog to make the source synced block content available in other locations.} jiraWorkItem {Publish the work item to make the source synced block content available in other locations.} other {Publish to make the source synced block content available in other locations.}}',
101
+ description: 'Tooltip explaining that a local unpublished reference is only available in its source document. sourceType selects page, blog, or Jira work item copy.'
102
+ },
103
+ unpublishedSourceAvailabilityTooltip: {
104
+ id: 'editor-common.messages.syncBlock.unpublishedSourceAvailabilityTooltip',
105
+ defaultMessage: '{sourceType, select, page {Publish the page to make the content available in other locations.} blog {Publish the blog to make the content available in other locations.} jiraWorkItem {Publish the work item to make the content available in other locations.} other {Publish to make the content available in other locations.}}',
106
+ description: 'Tooltip explaining that an unpublished source synced block is only available in its source document. sourceType selects page, blog, or Jira work item copy.'
107
+ },
98
108
  referenceSyncBlockLastEdited: {
99
109
  id: 'fabric.editor.referenceSyncBlockLastEdited',
100
110
  defaultMessage: 'Last edited:',
@@ -14,7 +14,7 @@ const NETWORK_FAILURE_REGEX = /^network failure/i;
14
14
  const RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
15
15
  const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
16
16
  const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
17
- const packageVersion = "120.6.2";
17
+ const packageVersion = "120.7.1";
18
18
  const sanitiseSentryEvents = (data, _hint) => {
19
19
  // Remove URL as it has UGC
20
20
  // Ignored via go/ees007
@@ -1,4 +1,4 @@
1
- import { JSONTransformer } from '@atlaskit/editor-json-transformer';
1
+ import { JSONTransformer } from '@atlaskit/editor-json-transformer/JSONTransformer-2';
2
2
  import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
3
3
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '../../analytics';
4
4
  const transformer = new JSONTransformer();
@@ -2,7 +2,7 @@ import React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useSta
2
2
  import { bind, bindAll } from 'bind-event-listener';
3
3
  import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
4
4
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
5
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
5
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
6
6
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '../analytics';
7
7
  import { LAYOUT_SECTION_MARGIN } from '../styles';
8
8
  import { getBrowserInfo } from '../utils/browser';
@@ -8,7 +8,7 @@ import { useIntl } from 'react-intl';
8
8
  import { Box, xcss } from '@atlaskit/primitives';
9
9
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
10
10
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
11
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
11
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
12
12
  import Tooltip from '@atlaskit/tooltip/Tooltip';
13
13
  import { messages } from '../messages/breakout';
14
14
  import { handleWrapperClass, resizerDangerClassName, resizerExtendedZone, resizerHandleClassName, resizerHandleThumbClassName, resizerHandleTrackClassName, resizerHandleZIndex, resizerHoverZoneClassName, resizerItemClassName } from '../styles/shared/resizer';
@@ -1,6 +1,6 @@
1
1
  import { useCallback, useMemo, useState } from 'react';
2
2
  import { akEditorCalculatedWideLayoutWidth, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
3
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
4
4
  export const SNAP_GAP = 8;
5
5
  const GUIDELINE_KEYS = {
6
6
  lineLength: 'grid',
@@ -1,4 +1,4 @@
1
- import { nodeToJSON as unsanitizedNodeToJSON } from '@atlaskit/editor-json-transformer';
1
+ import { toJSON as unsanitizedNodeToJSON } from '@atlaskit/editor-json-transformer/toJSON';
2
2
  import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { nodeToJSON } from '../utils/nodes';
4
4
  import { getSliceFromSelection } from './context-helpers';
@@ -51,7 +51,7 @@ export class CaptionComponent extends React.Component {
51
51
  }
52
52
  }
53
53
 
54
- // eslint-disable-next-line @typescript-eslint/ban-types
54
+ // eslint-disable-next-line @typescript-eslint/no-restricted-types
55
55
  const _default_1 = injectIntl(CaptionComponent);
56
56
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
57
57
  export default _default_1;
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
14
14
  import { fg } from '@atlaskit/platform-feature-flags/fg';
15
15
  import Layer from '../Layer';
16
16
  const packageName = "@atlaskit/editor-common";
17
- const packageVersion = "120.6.2";
17
+ const packageVersion = "120.7.1";
18
18
  const halfFocusRing = 1;
19
19
  const dropOffset = '0, 8';
20
20
  const fadeIn = keyframes({
@@ -6,7 +6,7 @@ import rafSchedule from 'raf-schd';
6
6
  import { createPortal, flushSync } from 'react-dom';
7
7
  import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
8
8
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
9
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
9
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
10
10
  import { calculatePlacement, calculatePosition, findOverflowScrollParent } from './utils';
11
11
  import { validatePosition } from './validatePosition';
12
12
  // Ignored via go/ees005
@@ -9,7 +9,7 @@ import { css, jsx } from '@emotion/react';
9
9
  import { bind } from 'bind-event-listener';
10
10
  import { akEditorMenuZIndex } from '@atlaskit/editor-shared-styles';
11
11
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
12
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
12
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
13
13
  import { withReactEditorViewOuterListeners as withOuterListeners } from '../../ui-react';
14
14
  import Popup from '../Popup';
15
15
  import tableSelectorPopup, { TABLE_SELECTOR_BUTTON_GAP, TABLE_SELECTOR_BUTTON_SIZE } from './table-selector';
@@ -7,7 +7,7 @@ import { useContext, useEffect, useMemo, useRef } from 'react';
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import { injectIntl } from 'react-intl';
9
9
  import { Stack } from '@atlaskit/primitives/compiled';
10
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
10
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
11
11
  import { toolbarInsertBlockMessages as messages } from '../../messages';
12
12
  import { OutsideClickTargetRefContext } from '../../ui-react';
13
13
  export const TABLE_SELECTOR_BUTTON_GAP = 2;
@@ -66,6 +66,6 @@ const UnsupportedBlockNode = ({
66
66
  );
67
67
  };
68
68
 
69
- // eslint-disable-next-line @typescript-eslint/ban-types
69
+ // eslint-disable-next-line @typescript-eslint/no-restricted-types
70
70
  const _default_1 = injectIntl(UnsupportedBlockNode);
71
71
  export default _default_1;
@@ -60,6 +60,6 @@ const UnsupportedInlineNode = ({
60
60
  }))));
61
61
  };
62
62
 
63
- // eslint-disable-next-line @typescript-eslint/ban-types
63
+ // eslint-disable-next-line @typescript-eslint/no-restricted-types
64
64
  const _default_1 = injectIntl(UnsupportedInlineNode);
65
65
  export default _default_1;
@@ -99,6 +99,6 @@ const ColorPalette = props => {
99
99
  }))));
100
100
  };
101
101
 
102
- // eslint-disable-next-line @typescript-eslint/ban-types
102
+ // eslint-disable-next-line @typescript-eslint/no-restricted-types
103
103
  const _default_1 = injectIntl(ColorPalette);
104
104
  export default _default_1;
@@ -14,7 +14,7 @@ import ChevronDownIcon from '@atlaskit/icon/core/chevron-down';
14
14
  // eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
15
15
  import { Box, xcss, Inline } from '@atlaskit/primitives';
16
16
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
17
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
17
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
18
18
  import Tooltip from '@atlaskit/tooltip/Tooltip';
19
19
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, editorAnalyticsChannel, EVENT_TYPE } from '../../analytics';
20
20
  import { colorPickerButtonMessages } from '../../messages/color-picker-button';
@@ -15,7 +15,7 @@ import CustomItem from '@atlaskit/menu/custom-item';
15
15
  import MenuGroup from '@atlaskit/menu/menu-group';
16
16
  import Section from '@atlaskit/menu/section';
17
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
18
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
19
19
  import Tooltip from '@atlaskit/tooltip/Tooltip';
20
20
  import { DropdownMenuSharedCssClassName } from '../../styles';
21
21
  import { KeyDownHandlerContext } from '../../ui-menu/ToolbarArrowKeyNavigationProvider';
@@ -1,6 +1,6 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
2
  import React, { PureComponent, useCallback, useEffect, useRef, useState } from 'react';
3
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
3
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
4
4
  import { OutsideClickTargetRefContext } from './OutsideClickTargetRefContext';
5
5
  import ReactEditorViewContext from './ReactEditorViewContext';
6
6
 
@@ -1,7 +1,7 @@
1
1
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports */
2
2
 
3
3
  import { NodeSelection, TextSelection } from '@atlaskit/editor-prosemirror/state';
4
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
5
5
  import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../analytics';
6
6
  import { withAnalytics } from '../editor-analytics';
7
7
  import { GapCursorSelection } from '../selection';
@@ -1,4 +1,4 @@
1
- import { JSONTransformer } from '@atlaskit/editor-json-transformer';
1
+ import { JSONTransformer } from '@atlaskit/editor-json-transformer/JSONTransformer-2';
2
2
  import { SelectedState } from './SelectedState';
3
3
  import { validNode } from './validNode';
4
4
 
@@ -1,6 +1,6 @@
1
1
  /* eslint-disable @atlaskit/editor/no-re-export */
2
2
  export { messages } from './messages';
3
- export { BLOCK_ACTIONS_MENU_SECTION, BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM, BLOCK_ACTIONS_TEMPLATE_SECTION, BLOCK_ACTIONS_FEATURED_EXTENSION_SECTION_KEYS, BLOCK_ACTIONS_CREATE_SYNCED_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_LINK_TO_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_MENU_SECTION, DELETE_MENU_SECTION, DELETE_MENU_ITEM, POSITION_MENU_SECTION, POSITION_MOVE_UP_MENU_ITEM, POSITION_MOVE_DOWN_MENU_ITEM, TRANSFORM_MENU_SECTION, TRANSFORM_MENU_ITEM, TRANSFORM_CLEAR_MENU_SECTION, TRANSFORM_CLEAR_MENU_ITEM, TRANSFORM_CREATE_MENU_SECTION, TRANSFORM_HEADINGS_MENU_SECTION, TRANSFORM_HEADINGS_H1_MENU_ITEM, TRANSFORM_HEADINGS_H2_MENU_ITEM, TRANSFORM_HEADINGS_H3_MENU_ITEM, TRANSFORM_HEADINGS_H4_MENU_ITEM, TRANSFORM_HEADINGS_H5_MENU_ITEM, TRANSFORM_HEADINGS_H6_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_SECTION, TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM, TRANSFORM_STRUCTURE_PANEL_MENU_ITEM, TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM, TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM, TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM, TRANSFORM_STRUCTURE_DECISION_MENU_ITEM, TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_ITEM, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM, BLOCK_MENU_ACTION_TEST_ID, BLOCK_MENU_TEST_ID, EXTENSION_MENU_ITEM_TEST_ID, AI_MENU_SECTION, AI_ASK_ROVO_MENU_ITEM, AI_IMPROVE_WRITING_MENU_ITEM, AI_POLISH_MENU_ITEM, AI_REMIX_MENU_ITEM, AI_BLOCK_MENU_LARGE_TEXT_THRESHOLD } from './key';
3
+ export { BLOCK_ACTIONS_MENU_SECTION, BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM, BLOCK_ACTIONS_TEMPLATE_SECTION, BLOCK_ACTIONS_FEATURED_EXTENSION_SECTION_KEYS, BLOCK_ACTIONS_CREATE_SYNCED_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_LINK_TO_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_MENU_SECTION, DELETE_MENU_SECTION, DELETE_MENU_ITEM, POSITION_MENU_SECTION, POSITION_MOVE_UP_MENU_ITEM, POSITION_MOVE_DOWN_MENU_ITEM, TRANSFORM_MENU_SECTION, TRANSFORM_MENU_ITEM, TRANSFORM_CLEAR_MENU_SECTION, TRANSFORM_CLEAR_MENU_ITEM, TRANSFORM_CREATE_MENU_SECTION, TRANSFORM_HEADINGS_MENU_SECTION, TRANSFORM_HEADINGS_H1_MENU_ITEM, TRANSFORM_HEADINGS_H2_MENU_ITEM, TRANSFORM_HEADINGS_H3_MENU_ITEM, TRANSFORM_HEADINGS_H4_MENU_ITEM, TRANSFORM_HEADINGS_H5_MENU_ITEM, TRANSFORM_HEADINGS_H6_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_SECTION, TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM, TRANSFORM_STRUCTURE_PANEL_MENU_ITEM, TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM, TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM, TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM, TRANSFORM_STRUCTURE_EXTENSION_SLOT_MENU_ITEM, TRANSFORM_STRUCTURE_DECISION_MENU_ITEM, TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_ITEM, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM, BLOCK_MENU_ACTION_TEST_ID, BLOCK_MENU_TEST_ID, EXTENSION_MENU_ITEM_TEST_ID, AI_MENU_SECTION, AI_ASK_ROVO_MENU_ITEM, AI_IMPROVE_WRITING_MENU_ITEM, AI_POLISH_MENU_ITEM, AI_REMIX_MENU_ITEM, AI_BLOCK_MENU_LARGE_TEXT_THRESHOLD } from './key';
4
4
  export { FORMAT_HEADING_1_MENU_ITEM, FORMAT_HEADING_2_MENU_ITEM, FORMAT_HEADING_3_MENU_ITEM, FORMAT_HEADING_4_MENU_ITEM, FORMAT_HEADING_5_MENU_ITEM, FORMAT_HEADING_6_MENU_ITEM, FORMAT_PARAGRAPH_MENU_ITEM, FORMAT_QUOTE_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_LAYOUT_MENU_ITEM, FORMAT_PANEL_MENU_ITEM, FORMAT_CODE_BLOCK_MENU_ITEM, FORMAT_BULLETED_LIST_MENU_ITEM, FORMAT_NUMBERED_LIST_MENU_ITEM, FORMAT_TASK_LIST_MENU_ITEM, COPY_MENU_SECTION, MOVE_UP_DOWN_MENU_SECTION, COPY_LINK_MENU_ITEM, MOVE_UP_MENU_ITEM, MOVE_DOWN_MENU_ITEM, NESTED_FORMAT_MENU_SECTION, FORMAT_MENU_ITEM, NESTED_FORMAT_MENU, PRIMARY_MENU_SECTION, ADD_BLOCKS_MENU_SECTION, CREATE_SYNCED_BLOCK_MENU_ITEM } from './key-deprecated';
5
5
  export { MAIN_BLOCK_MENU_SECTION_RANK, TRANSFORM_MENU_SECTION_RANK, BLOCK_ACTIONS_FEATURED_EXTENSION_ITEM_RANK, TRANSFORM_MENU_ITEM_RANK, TRANSFORM_HEADINGS_MENU_SECTION_RANK, TRANSFORM_STRUCTURE_MENU_SECTION_RANK, TRANSFORM_CLEAR_MENU_SECTION_RANK, BLOCK_ACTIONS_MENU_SECTION_RANK, BLOCK_ACTIONS_COPY_MENU_SECTION_RANK, POSITION_MENU_SECTION_RANK, DELETE_MENU_SECTION_RANK, TRANSFORM_SUGGESTED_MENU_SECTION_RANK, TRANSFORM_CREATE_MENU_SECTION_RANK, AI_MENU_SECTION_RANK } from './rank';
6
6
  export { FORMAT_NESTED_MENU_RANK, FORMAT_NESTED_MENU_RANK_REVISED, BLOCK_MENU_SECTION_RANK, PRIMARY_MENU_SECTION_RANK, COPY_MENU_SECTION_RANK, DELETE_SECTION_RANK, MOVE_BLOCK_SECTION_RANK, ADD_BLOCKS_MENU_SECTION_RANK } from './rank-deprecated';
@@ -64,6 +64,9 @@ export var TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM = {
64
64
  export var TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM = {
65
65
  key: 'transform-structure-quote-menu-item'
66
66
  };
67
+ export var TRANSFORM_STRUCTURE_EXTENSION_SLOT_MENU_ITEM = {
68
+ key: 'transform-structure-extension-slot-menu-item'
69
+ };
67
70
  export var TRANSFORM_STRUCTURE_DECISION_MENU_ITEM = {
68
71
  key: 'transform-structure-decision-menu-item'
69
72
  };
@@ -1,6 +1,7 @@
1
1
  import _defineProperty from "@babel/runtime/helpers/defineProperty";
2
+ var _TRANSFORM_STRUCTURE_;
2
3
  /* eslint-disable @atlaskit/volt-strict-mode/no-multiple-exports */
3
- import { BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM, BLOCK_ACTIONS_TEMPLATE_SECTION, BLOCK_ACTIONS_MENU_SECTION, BLOCK_ACTIONS_CREATE_SYNCED_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_LINK_TO_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_MENU_SECTION, DELETE_MENU_SECTION, DELETE_MENU_ITEM, POSITION_MENU_SECTION, POSITION_MOVE_UP_MENU_ITEM, POSITION_MOVE_DOWN_MENU_ITEM, TRANSFORM_MENU_SECTION, TRANSFORM_MENU_ITEM, TRANSFORM_CLEAR_MENU_SECTION, TRANSFORM_CLEAR_MENU_ITEM, TRANSFORM_CREATE_MENU_SECTION, TRANSFORM_HEADINGS_MENU_SECTION, TRANSFORM_HEADINGS_H1_MENU_ITEM, TRANSFORM_HEADINGS_H2_MENU_ITEM, TRANSFORM_HEADINGS_H3_MENU_ITEM, TRANSFORM_HEADINGS_H4_MENU_ITEM, TRANSFORM_HEADINGS_H5_MENU_ITEM, TRANSFORM_HEADINGS_H6_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_SECTION, TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM, TRANSFORM_STRUCTURE_PANEL_MENU_ITEM, TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM, TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM, TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM, TRANSFORM_STRUCTURE_DECISION_MENU_ITEM, TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_ITEM, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM, AI_MENU_SECTION, AI_ASK_ROVO_MENU_ITEM } from './key';
4
+ import { BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM, BLOCK_ACTIONS_TEMPLATE_SECTION, BLOCK_ACTIONS_MENU_SECTION, BLOCK_ACTIONS_CREATE_SYNCED_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_LINK_TO_BLOCK_MENU_ITEM, BLOCK_ACTIONS_COPY_MENU_SECTION, DELETE_MENU_SECTION, DELETE_MENU_ITEM, POSITION_MENU_SECTION, POSITION_MOVE_UP_MENU_ITEM, POSITION_MOVE_DOWN_MENU_ITEM, TRANSFORM_MENU_SECTION, TRANSFORM_MENU_ITEM, TRANSFORM_CLEAR_MENU_SECTION, TRANSFORM_CLEAR_MENU_ITEM, TRANSFORM_CREATE_MENU_SECTION, TRANSFORM_HEADINGS_MENU_SECTION, TRANSFORM_HEADINGS_H1_MENU_ITEM, TRANSFORM_HEADINGS_H2_MENU_ITEM, TRANSFORM_HEADINGS_H3_MENU_ITEM, TRANSFORM_HEADINGS_H4_MENU_ITEM, TRANSFORM_HEADINGS_H5_MENU_ITEM, TRANSFORM_HEADINGS_H6_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_SECTION, TRANSFORM_STRUCTURE_MENU_SECTION, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM, TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM, TRANSFORM_STRUCTURE_PANEL_MENU_ITEM, TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM, TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM, TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM, TRANSFORM_STRUCTURE_EXTENSION_SLOT_MENU_ITEM, TRANSFORM_STRUCTURE_DECISION_MENU_ITEM, TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM, TRANSFORM_SUGGESTED_MENU_ITEM, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM, AI_MENU_SECTION, AI_ASK_ROVO_MENU_ITEM } from './key';
4
5
  export var MAIN_BLOCK_MENU_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, AI_MENU_SECTION.key, 100), TRANSFORM_MENU_SECTION.key, 200), BLOCK_ACTIONS_TEMPLATE_SECTION.key, 250), BLOCK_ACTIONS_MENU_SECTION.key, 300), BLOCK_ACTIONS_COPY_MENU_SECTION.key, 350), POSITION_MENU_SECTION.key, 400), DELETE_MENU_SECTION.key, 500);
5
6
  export var AI_MENU_SECTION_RANK = _defineProperty({}, AI_ASK_ROVO_MENU_ITEM.key, 100);
6
7
  export var TRANSFORM_MENU_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty({}, TRANSFORM_MENU_ITEM.key, 100), BLOCK_ACTIONS_CREATE_SYNCED_BLOCK_MENU_ITEM.key, 200), BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM.key, 300);
@@ -9,7 +10,7 @@ export var TRANSFORM_SUGGESTED_MENU_SECTION_RANK = _defineProperty({}, TRANSFORM
9
10
  export var TRANSFORM_MENU_ITEM_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, TRANSFORM_SUGGESTED_MENU_SECTION.key, 100), TRANSFORM_CREATE_MENU_SECTION.key, 200), TRANSFORM_STRUCTURE_MENU_SECTION.key, 300), TRANSFORM_HEADINGS_MENU_SECTION.key, 400), TRANSFORM_CLEAR_MENU_SECTION.key, 500);
10
11
  export var TRANSFORM_CREATE_MENU_SECTION_RANK = _defineProperty({}, TRANSFORM_DEFAULT_EXTENSION_SLOT_MENU_ITEM.key, 1000);
11
12
  export var TRANSFORM_HEADINGS_MENU_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, TRANSFORM_HEADINGS_H1_MENU_ITEM.key, 100), TRANSFORM_HEADINGS_H2_MENU_ITEM.key, 200), TRANSFORM_HEADINGS_H3_MENU_ITEM.key, 300), TRANSFORM_HEADINGS_H4_MENU_ITEM.key, 400), TRANSFORM_HEADINGS_H5_MENU_ITEM.key, 500), TRANSFORM_HEADINGS_H6_MENU_ITEM.key, 600);
12
- export var TRANSFORM_STRUCTURE_MENU_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key, 100), TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM.key, 200), TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key, 300), TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM.key, 400), TRANSFORM_STRUCTURE_PANEL_MENU_ITEM.key, 500), TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM.key, 600), TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM.key, 700), TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM.key, 800), TRANSFORM_STRUCTURE_DECISION_MENU_ITEM.key, 900), TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM.key, 1000);
13
+ export var TRANSFORM_STRUCTURE_MENU_SECTION_RANK = (_TRANSFORM_STRUCTURE_ = {}, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_TRANSFORM_STRUCTURE_, TRANSFORM_STRUCTURE_BULLETED_LIST_MENU_ITEM.key, 100), TRANSFORM_STRUCTURE_TASK_LIST_MENU_ITEM.key, 200), TRANSFORM_STRUCTURE_NUMBERED_LIST_MENU_ITEM.key, 300), TRANSFORM_STRUCTURE_CODE_BLOCK_MENU_ITEM.key, 400), TRANSFORM_STRUCTURE_PANEL_MENU_ITEM.key, 500), TRANSFORM_STRUCTURE_EXPAND_MENU_ITEM.key, 600), TRANSFORM_STRUCTURE_LAYOUT_MENU_ITEM.key, 700), TRANSFORM_STRUCTURE_QUOTE_MENU_ITEM.key, 800), TRANSFORM_STRUCTURE_EXTENSION_SLOT_MENU_ITEM.key, 850), TRANSFORM_STRUCTURE_DECISION_MENU_ITEM.key, 900), _defineProperty(_TRANSFORM_STRUCTURE_, TRANSFORM_STRUCTURE_PARAGRAPH_MENU_ITEM.key, 1000));
13
14
  export var TRANSFORM_CLEAR_MENU_SECTION_RANK = _defineProperty({}, TRANSFORM_CLEAR_MENU_ITEM.key, 100);
14
15
  export var BLOCK_ACTIONS_MENU_SECTION_RANK = _defineProperty(_defineProperty(_defineProperty({}, BLOCK_ACTIONS_CREATE_SYNCED_BLOCK_MENU_ITEM.key, 100), BLOCK_ACTIONS_FEATURED_EXTENSION_SLOT_MENU_ITEM.key, 200), BLOCK_ACTIONS_COPY_LINK_TO_BLOCK_MENU_ITEM.key, 300);
15
16
  export var BLOCK_ACTIONS_COPY_MENU_SECTION_RANK = _defineProperty({}, BLOCK_ACTIONS_COPY_LINK_TO_BLOCK_MENU_ITEM.key, 100);
@@ -10,7 +10,7 @@ import classnames from 'classnames';
10
10
  import { akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
11
11
  import { fg } from '@atlaskit/platform-feature-flags/fg';
12
12
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
13
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
13
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
14
14
  import { useSharedPluginStateWithSelector } from '../../../hooks';
15
15
  import { createWidthContext, WidthContext } from '../../../ui';
16
16
  import ExtensionLozenge from '../Lozenge';
@@ -1,5 +1,5 @@
1
1
  import { akEditorFullWidthLayoutWidth, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
 
4
4
  /**
5
5
  * Calculates container or full editor width taking in account editor full width layout
@@ -983,7 +983,7 @@ function limit(items) {
983
983
  return items.slice(0, RECENT_SEARCH_LIST_SIZE);
984
984
  }
985
985
 
986
- // eslint-disable-next-line @typescript-eslint/ban-types, @atlaskit/volt-strict-mode/no-multiple-exports
986
+ // eslint-disable-next-line @typescript-eslint/no-restricted-types, @atlaskit/volt-strict-mode/no-multiple-exports
987
987
  export var HyperlinkLinkAddToolbarWithIntl = injectIntl(HyperlinkLinkAddToolbar);
988
988
  var _default_1 = withAnalyticsEvents()(HyperlinkLinkAddToolbarWithIntl);
989
989
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
@@ -1,5 +1,5 @@
1
1
  import { getUrlForDomainInContext } from '@atlaskit/atlassian-context/get-url-for-domain-in-context';
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
  import { linkPreferencesPath } from './constants';
4
4
  var STAGING = 'staging';
5
5
  var PRODUCTION = 'prod';
@@ -18,7 +18,7 @@ import { FileFetcherError } from '@atlaskit/media-client';
18
18
  import { MediaClientContext } from '@atlaskit/media-client-react/media-client-provider';
19
19
  import { MediaViewer } from '@atlaskit/media-viewer';
20
20
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
21
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
21
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
22
22
  import { messages } from '../messages/media-inline-card';
23
23
  import { referenceHeights } from './constants';
24
24
  import { InlineImageCard } from './inline-image-card';
@@ -1,5 +1,5 @@
1
1
  import { akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
2
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
2
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
3
3
  /**
4
4
  * Calculate maximum width allowed for media single node in fix-width editor in new experience
5
5
  * @param containerWidth width of editor container
@@ -95,6 +95,16 @@ export var syncBlockMessages = defineMessages({
95
95
  defaultMessage: 'Synced from: {title}',
96
96
  description: 'Tooltip that shows the source page title of the synced block'
97
97
  },
98
+ unpublishedLocalReferenceAvailabilityTooltip: {
99
+ id: 'editor-common.messages.syncBlock.unpublishedLocalReferenceAvailabilityTooltip',
100
+ defaultMessage: '{sourceType, select, page {Publish the page to make the source synced block content available in other locations.} blog {Publish the blog to make the source synced block content available in other locations.} jiraWorkItem {Publish the work item to make the source synced block content available in other locations.} other {Publish to make the source synced block content available in other locations.}}',
101
+ description: 'Tooltip explaining that a local unpublished reference is only available in its source document. sourceType selects page, blog, or Jira work item copy.'
102
+ },
103
+ unpublishedSourceAvailabilityTooltip: {
104
+ id: 'editor-common.messages.syncBlock.unpublishedSourceAvailabilityTooltip',
105
+ defaultMessage: '{sourceType, select, page {Publish the page to make the content available in other locations.} blog {Publish the blog to make the content available in other locations.} jiraWorkItem {Publish the work item to make the content available in other locations.} other {Publish to make the content available in other locations.}}',
106
+ description: 'Tooltip explaining that an unpublished source synced block is only available in its source document. sourceType selects page, blog, or Jira work item copy.'
107
+ },
98
108
  referenceSyncBlockLastEdited: {
99
109
  id: 'fabric.editor.referenceSyncBlockLastEdited',
100
110
  defaultMessage: 'Last edited:',
@@ -20,7 +20,7 @@ var NETWORK_FAILURE_REGEX = /^network failure/i;
20
20
  var RESIZE_OBSERVER_LOOP_REGEX = /ResizeObserver loop completed with undelivered notifications/;
21
21
  var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
22
22
  var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
23
- var packageVersion = "120.6.2";
23
+ var packageVersion = "120.7.1";
24
24
  var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
25
25
  // Remove URL as it has UGC
26
26
  // Ignored via go/ees007
@@ -1,6 +1,6 @@
1
1
  import _toConsumableArray from "@babel/runtime/helpers/toConsumableArray";
2
2
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
3
- import { JSONTransformer } from '@atlaskit/editor-json-transformer';
3
+ import { JSONTransformer } from '@atlaskit/editor-json-transformer/JSONTransformer-2';
4
4
  import { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
5
5
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '../../analytics';
6
6
  var transformer = new JSONTransformer();
@@ -3,7 +3,7 @@ import React, { useCallback, useEffect, useLayoutEffect, useMemo, useRef, useSta
3
3
  import { bind, bindAll } from 'bind-event-listener';
4
4
  import { akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
5
5
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
6
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
6
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
7
7
  import { ACTION, ACTION_SUBJECT, EVENT_TYPE } from '../analytics';
8
8
  import { LAYOUT_SECTION_MARGIN } from '../styles';
9
9
  import { getBrowserInfo } from '../utils/browser';
@@ -14,7 +14,7 @@ import { useIntl } from 'react-intl';
14
14
  import { Box, xcss } from '@atlaskit/primitives';
15
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
16
  import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equals-no-exposure';
17
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
17
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
18
18
  import Tooltip from '@atlaskit/tooltip/Tooltip';
19
19
  import { messages } from '../messages/breakout';
20
20
  import { handleWrapperClass, resizerDangerClassName, resizerExtendedZone, resizerHandleClassName, resizerHandleThumbClassName, resizerHandleTrackClassName, resizerHandleZIndex, resizerHoverZoneClassName, resizerItemClassName } from '../styles/shared/resizer';
@@ -1,7 +1,7 @@
1
1
  import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
2
2
  import { useCallback, useMemo, useState } from 'react';
3
3
  import { akEditorCalculatedWideLayoutWidth, akEditorDefaultLayoutWidth, akEditorFullWidthLayoutWidth, akEditorGutterPadding, akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout, breakoutWideScaleRatio } from '@atlaskit/editor-shared-styles';
4
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
4
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
5
5
  export var SNAP_GAP = 8;
6
6
  var GUIDELINE_KEYS = {
7
7
  lineLength: 'grid',
@@ -1,4 +1,4 @@
1
- import { nodeToJSON as unsanitizedNodeToJSON } from '@atlaskit/editor-json-transformer';
1
+ import { toJSON as unsanitizedNodeToJSON } from '@atlaskit/editor-json-transformer/toJSON';
2
2
  import { fg } from '@atlaskit/platform-feature-flags/fg';
3
3
  import { nodeToJSON } from '../utils/nodes';
4
4
  import { getSliceFromSelection } from './context-helpers';
@@ -63,7 +63,7 @@ export var CaptionComponent = /*#__PURE__*/function (_React$Component) {
63
63
  }]);
64
64
  }(React.Component);
65
65
 
66
- // eslint-disable-next-line @typescript-eslint/ban-types
66
+ // eslint-disable-next-line @typescript-eslint/no-restricted-types
67
67
  var _default_1 = injectIntl(CaptionComponent);
68
68
  // eslint-disable-next-line @atlaskit/volt-strict-mode/no-multiple-exports
69
69
  export default _default_1;
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
21
21
  import { fg } from '@atlaskit/platform-feature-flags/fg';
22
22
  import Layer from '../Layer';
23
23
  var packageName = "@atlaskit/editor-common";
24
- var packageVersion = "120.6.2";
24
+ var packageVersion = "120.7.1";
25
25
  var halfFocusRing = 1;
26
26
  var dropOffset = '0, 8';
27
27
  var fadeIn = keyframes({
@@ -15,7 +15,7 @@ import rafSchedule from 'raf-schd';
15
15
  import { createPortal, flushSync } from 'react-dom';
16
16
  import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
17
17
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
18
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
18
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
19
19
  import { calculatePlacement, calculatePosition as _calculatePosition, findOverflowScrollParent } from './utils';
20
20
  import { validatePosition } from './validatePosition';
21
21
  // Ignored via go/ees005
@@ -13,7 +13,7 @@ import { css, jsx } from '@emotion/react';
13
13
  import { bind } from 'bind-event-listener';
14
14
  import { akEditorMenuZIndex } from '@atlaskit/editor-shared-styles';
15
15
  import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
16
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
16
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
17
17
  import { withReactEditorViewOuterListeners as withOuterListeners } from '../../ui-react';
18
18
  import Popup from '../Popup';
19
19
  import tableSelectorPopup, { TABLE_SELECTOR_BUTTON_GAP, TABLE_SELECTOR_BUTTON_SIZE } from './table-selector';
@@ -7,7 +7,7 @@ import { useContext, useEffect, useMemo, useRef } from 'react';
7
7
  import { css, jsx } from '@emotion/react';
8
8
  import { injectIntl } from 'react-intl';
9
9
  import { Stack } from '@atlaskit/primitives/compiled';
10
- import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
10
+ import { editorExperiment } from '@atlaskit/tmp-editor-statsig/editor-experiment';
11
11
  import { toolbarInsertBlockMessages as messages } from '../../messages';
12
12
  import { OutsideClickTargetRefContext } from '../../ui-react';
13
13
  export var TABLE_SELECTOR_BUTTON_GAP = 2;
@@ -66,6 +66,6 @@ var UnsupportedBlockNode = function UnsupportedBlockNode(_ref) {
66
66
  );
67
67
  };
68
68
 
69
- // eslint-disable-next-line @typescript-eslint/ban-types
69
+ // eslint-disable-next-line @typescript-eslint/no-restricted-types
70
70
  var _default_1 = injectIntl(UnsupportedBlockNode);
71
71
  export default _default_1;
@@ -60,6 +60,6 @@ var UnsupportedInlineNode = function UnsupportedInlineNode(_ref) {
60
60
  }))));
61
61
  };
62
62
 
63
- // eslint-disable-next-line @typescript-eslint/ban-types
63
+ // eslint-disable-next-line @typescript-eslint/no-restricted-types
64
64
  var _default_1 = injectIntl(UnsupportedInlineNode);
65
65
  export default _default_1;