@atlaskit/editor-common 100.1.2 → 100.2.1

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 (183) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/UNSAFE_do_not_use_editor_context/package.json +3 -1
  3. package/afm-cc/tsconfig.json +3 -0
  4. package/afm-jira/tsconfig.json +3 -0
  5. package/afm-post-office/tsconfig.json +3 -0
  6. package/analytics/package.json +3 -1
  7. package/annotation/package.json +3 -1
  8. package/browser/package.json +3 -1
  9. package/card/package.json +3 -1
  10. package/clipboard/package.json +3 -1
  11. package/code-block/package.json +3 -1
  12. package/collab/package.json +3 -1
  13. package/commands/package.json +3 -1
  14. package/constants/package.json +3 -1
  15. package/copy-button/package.json +3 -1
  16. package/core-utils/package.json +3 -1
  17. package/count-nodes/package.json +3 -1
  18. package/dist/cjs/analytics/types/enums.js +4 -0
  19. package/dist/cjs/analytics/types/selection-extension-events.js +5 -0
  20. package/dist/cjs/extensions/module-helpers.js +5 -0
  21. package/dist/cjs/monitoring/error.js +1 -1
  22. package/dist/cjs/styles/shared/expand.js +4 -0
  23. package/dist/cjs/styles/shared/plugins.js +24 -0
  24. package/dist/cjs/type-ahead/messages.js +5 -0
  25. package/dist/cjs/ui/DropList/index.js +1 -1
  26. package/dist/cjs/ui/FloatingToolbar/Button.js +6 -3
  27. package/dist/cjs/ui/Shortcut/index.compiled.css +10 -0
  28. package/dist/cjs/ui/Shortcut/index.js +24 -0
  29. package/dist/cjs/ui/Toolbar/ButtonGroup.compiled.css +6 -0
  30. package/dist/cjs/ui/Toolbar/ButtonGroup.js +26 -0
  31. package/dist/cjs/ui/Toolbar/DropdownTriggerWrapper.compiled.css +3 -0
  32. package/dist/cjs/ui/Toolbar/DropdownTriggerWrapper.js +23 -0
  33. package/dist/cjs/ui/Toolbar/DropdownWrapper.compiled.css +7 -0
  34. package/dist/cjs/ui/Toolbar/DropdownWrapper.js +21 -0
  35. package/dist/cjs/ui/Toolbar/ExpandIcon.compiled.css +2 -0
  36. package/dist/cjs/ui/Toolbar/ExpandIcon.js +25 -0
  37. package/dist/cjs/ui/Toolbar/Separator.compiled.css +9 -0
  38. package/dist/cjs/ui/Toolbar/Separator.js +19 -0
  39. package/dist/cjs/ui/index.js +42 -0
  40. package/dist/es2019/analytics/types/enums.js +4 -0
  41. package/dist/es2019/analytics/types/selection-extension-events.js +1 -0
  42. package/dist/es2019/extensions/module-helpers.js +5 -0
  43. package/dist/es2019/monitoring/error.js +1 -1
  44. package/dist/es2019/styles/shared/expand.js +4 -0
  45. package/dist/es2019/styles/shared/plugins.js +24 -0
  46. package/dist/es2019/type-ahead/messages.js +5 -0
  47. package/dist/es2019/ui/DropList/index.js +1 -1
  48. package/dist/es2019/ui/FloatingToolbar/Button.js +6 -3
  49. package/dist/es2019/ui/Shortcut/index.compiled.css +10 -0
  50. package/dist/es2019/ui/Shortcut/index.js +15 -0
  51. package/dist/es2019/ui/Toolbar/ButtonGroup.compiled.css +6 -0
  52. package/dist/es2019/ui/Toolbar/ButtonGroup.js +20 -0
  53. package/dist/es2019/ui/Toolbar/DropdownTriggerWrapper.compiled.css +3 -0
  54. package/dist/es2019/ui/Toolbar/DropdownTriggerWrapper.js +17 -0
  55. package/dist/es2019/ui/Toolbar/DropdownWrapper.compiled.css +7 -0
  56. package/dist/es2019/ui/Toolbar/DropdownWrapper.js +15 -0
  57. package/dist/es2019/ui/Toolbar/ExpandIcon.compiled.css +2 -0
  58. package/dist/es2019/ui/Toolbar/ExpandIcon.js +15 -0
  59. package/dist/es2019/ui/Toolbar/Separator.compiled.css +9 -0
  60. package/dist/es2019/ui/Toolbar/Separator.js +10 -0
  61. package/dist/es2019/ui/index.js +6 -0
  62. package/dist/esm/analytics/types/enums.js +4 -0
  63. package/dist/esm/analytics/types/selection-extension-events.js +1 -0
  64. package/dist/esm/extensions/module-helpers.js +5 -0
  65. package/dist/esm/monitoring/error.js +1 -1
  66. package/dist/esm/styles/shared/expand.js +4 -0
  67. package/dist/esm/styles/shared/plugins.js +24 -0
  68. package/dist/esm/type-ahead/messages.js +5 -0
  69. package/dist/esm/ui/DropList/index.js +1 -1
  70. package/dist/esm/ui/FloatingToolbar/Button.js +6 -3
  71. package/dist/esm/ui/Shortcut/index.compiled.css +10 -0
  72. package/dist/esm/ui/Shortcut/index.js +17 -0
  73. package/dist/esm/ui/Toolbar/ButtonGroup.compiled.css +6 -0
  74. package/dist/esm/ui/Toolbar/ButtonGroup.js +19 -0
  75. package/dist/esm/ui/Toolbar/DropdownTriggerWrapper.compiled.css +3 -0
  76. package/dist/esm/ui/Toolbar/DropdownTriggerWrapper.js +16 -0
  77. package/dist/esm/ui/Toolbar/DropdownWrapper.compiled.css +7 -0
  78. package/dist/esm/ui/Toolbar/DropdownWrapper.js +14 -0
  79. package/dist/esm/ui/Toolbar/ExpandIcon.compiled.css +2 -0
  80. package/dist/esm/ui/Toolbar/ExpandIcon.js +15 -0
  81. package/dist/esm/ui/Toolbar/Separator.compiled.css +9 -0
  82. package/dist/esm/ui/Toolbar/Separator.js +10 -0
  83. package/dist/esm/ui/index.js +6 -0
  84. package/dist/types/analytics/types/ai-inline-suggestion-events.d.ts +1 -0
  85. package/dist/types/analytics/types/enums.d.ts +5 -1
  86. package/dist/types/analytics/types/events.d.ts +2 -1
  87. package/dist/types/analytics/types/selection-extension-events.d.ts +11 -0
  88. package/dist/types/extensions/types/extension-manifest-toolbar-item.d.ts +1 -0
  89. package/dist/types/styles/shared/expand.d.ts +4 -0
  90. package/dist/types/styles/shared/plugins.d.ts +24 -0
  91. package/dist/types/type-ahead/messages.d.ts +5 -0
  92. package/dist/types/ui/Shortcut/index.d.ts +8 -0
  93. package/dist/types/ui/Toolbar/ButtonGroup.d.ts +8 -0
  94. package/dist/types/ui/Toolbar/DropdownTriggerWrapper.d.ts +8 -0
  95. package/dist/types/ui/Toolbar/DropdownWrapper.d.ts +8 -0
  96. package/dist/types/ui/Toolbar/ExpandIcon.d.ts +2 -0
  97. package/dist/types/ui/Toolbar/Separator.d.ts +2 -0
  98. package/dist/types/ui/index.d.ts +6 -0
  99. package/dist/types-ts4.5/analytics/types/ai-inline-suggestion-events.d.ts +1 -0
  100. package/dist/types-ts4.5/analytics/types/enums.d.ts +5 -1
  101. package/dist/types-ts4.5/analytics/types/events.d.ts +2 -1
  102. package/dist/types-ts4.5/analytics/types/selection-extension-events.d.ts +11 -0
  103. package/dist/types-ts4.5/extensions/types/extension-manifest-toolbar-item.d.ts +1 -0
  104. package/dist/types-ts4.5/styles/shared/expand.d.ts +4 -0
  105. package/dist/types-ts4.5/styles/shared/plugins.d.ts +24 -0
  106. package/dist/types-ts4.5/type-ahead/messages.d.ts +5 -0
  107. package/dist/types-ts4.5/ui/Shortcut/index.d.ts +8 -0
  108. package/dist/types-ts4.5/ui/Toolbar/ButtonGroup.d.ts +8 -0
  109. package/dist/types-ts4.5/ui/Toolbar/DropdownTriggerWrapper.d.ts +8 -0
  110. package/dist/types-ts4.5/ui/Toolbar/DropdownWrapper.d.ts +8 -0
  111. package/dist/types-ts4.5/ui/Toolbar/ExpandIcon.d.ts +2 -0
  112. package/dist/types-ts4.5/ui/Toolbar/Separator.d.ts +2 -0
  113. package/dist/types-ts4.5/ui/index.d.ts +6 -0
  114. package/doc-utils/package.json +3 -1
  115. package/editor-analytics/package.json +3 -1
  116. package/element-browser/package.json +3 -1
  117. package/emoji/package.json +3 -1
  118. package/error-boundary/package.json +3 -1
  119. package/error-reporter/package.json +3 -1
  120. package/event-dispatcher/package.json +3 -1
  121. package/expand/package.json +3 -1
  122. package/extensibility/package.json +3 -1
  123. package/extensions/package.json +3 -1
  124. package/floating-toolbar/package.json +3 -1
  125. package/guideline/package.json +3 -1
  126. package/hooks/package.json +3 -1
  127. package/icons/package.json +3 -1
  128. package/indentation/package.json +3 -1
  129. package/insert/package.json +3 -1
  130. package/intl-error-boundary/package.json +3 -1
  131. package/is-performance-api-available/package.json +3 -1
  132. package/keymaps/package.json +3 -1
  133. package/lazy-node-view/package.json +3 -1
  134. package/legacy-rank-plugins/package.json +3 -1
  135. package/link/package.json +3 -1
  136. package/lists/package.json +3 -1
  137. package/mark/package.json +3 -1
  138. package/media/package.json +3 -1
  139. package/media-inline/package.json +3 -1
  140. package/media-single/package.json +3 -1
  141. package/median/package.json +3 -1
  142. package/mention/package.json +3 -1
  143. package/messages/package.json +3 -1
  144. package/monitoring/package.json +3 -1
  145. package/nesting/package.json +3 -1
  146. package/node-width/package.json +3 -1
  147. package/normalize-feature-flags/package.json +3 -1
  148. package/package.json +14 -9
  149. package/panel/package.json +3 -1
  150. package/paste/package.json +3 -1
  151. package/performance/measure-render/package.json +3 -1
  152. package/performance/measure-tti/package.json +3 -1
  153. package/performance/navigation/package.json +3 -1
  154. package/performance-measures/package.json +3 -1
  155. package/portal/package.json +3 -1
  156. package/preset/package.json +3 -1
  157. package/process-raw-value/package.json +3 -1
  158. package/prosemirror-dom-metadata/package.json +3 -1
  159. package/provider-factory/package.json +3 -1
  160. package/provider-helpers/package.json +3 -1
  161. package/quick-insert/package.json +3 -1
  162. package/react-node-view/package.json +3 -1
  163. package/resizer/package.json +3 -1
  164. package/safe-plugin/package.json +3 -1
  165. package/selection/package.json +3 -1
  166. package/selection-based-node-view/package.json +3 -1
  167. package/styles/package.json +3 -1
  168. package/table/package.json +3 -1
  169. package/transforms/package.json +3 -1
  170. package/type-ahead/package.json +3 -1
  171. package/types/package.json +3 -1
  172. package/ui/package.json +3 -1
  173. package/ui-color/package.json +3 -1
  174. package/ui-menu/package.json +3 -1
  175. package/ui-react/package.json +3 -1
  176. package/use-component-render-tracking/package.json +3 -1
  177. package/use-plugin-state-effect/package.json +3 -1
  178. package/use-shared-plugin-state-selector/package.json +3 -1
  179. package/utils/analytics/package.json +3 -1
  180. package/utils/package.json +3 -1
  181. package/validator/package.json +3 -1
  182. package/whitespace/package.json +3 -1
  183. package/with-plugin-state/package.json +3 -1
@@ -0,0 +1,3 @@
1
+
2
+ ._1fvdglyw button:not([disabled]):after{border:none}._1e0c1txw{display:flex}
3
+ ._u5f3v77o{padding-right:var(--ds-space-025,2px)}
@@ -0,0 +1,16 @@
1
+ /* DropdownTriggerWrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./DropdownTriggerWrapper.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ import { fg } from '@atlaskit/platform-feature-flags';
6
+ var triggerWrapperStylesWithPadding = null;
7
+ var triggerWrapperStyles = null;
8
+
9
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- This rule thinks this isn't a `css()` call due to the name mapping
10
+ var triggerWrapperStylesUnbounded = null;
11
+ export function ToolbarDropdownTriggerWrapper(_ref) {
12
+ var children = _ref.children;
13
+ return /*#__PURE__*/React.createElement("div", {
14
+ className: ax([fg('platform-visual-refresh-icons') ? "_1e0c1txw _u5f3v77o" : "_1e0c1txw", "_1fvdglyw"])
15
+ }, children);
16
+ }
@@ -0,0 +1,7 @@
1
+
2
+ ._1fvdglyw button:not([disabled]):after{border:none}._18u0idpf{margin-left:0}
3
+ ._1e0c1txw{display:flex}
4
+ ._1ul91wug{min-width:auto}
5
+ ._1ylx1txw >div>div{display:flex}
6
+ ._4cvr1h6o{align-items:center}
7
+ ._p7r11txw >div, ._1xdi1txw >span{display:flex}
@@ -0,0 +1,14 @@
1
+ /* DropdownWrapper.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./DropdownWrapper.compiled.css";
3
+ import { ax, ix } from "@compiled/react/runtime";
4
+ import React from 'react';
5
+ var wrapperStyle = null;
6
+
7
+ // eslint-disable-next-line @atlaskit/design-system/consistent-css-prop-usage -- This rule thinks this isn't a `css()` call due to the name mapping
8
+ var wrapperStylesUnbounded = null;
9
+ export function ToolbarDropdownWrapper(_ref) {
10
+ var children = _ref.children;
11
+ return /*#__PURE__*/React.createElement("span", {
12
+ className: ax(["_1e0c1txw _4cvr1h6o _18u0idpf _1ul91wug", "_p7r11txw _1xdi1txw _1ylx1txw _1fvdglyw"])
13
+ }, children);
14
+ }
@@ -0,0 +1,2 @@
1
+ ._1e0c1txw{display:flex}
2
+ ._4cvr1h6o{align-items:center}
@@ -0,0 +1,15 @@
1
+ /* ExpandIcon.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./ExpandIcon.compiled.css";
3
+ import * as React from 'react';
4
+ import { ax, ix } from "@compiled/react/runtime";
5
+ import ChevronDownIcon from '@atlaskit/icon/utility/migration/chevron-down';
6
+ var expandIconContainerStyle = null;
7
+ export function ToolbarExpandIcon() {
8
+ return /*#__PURE__*/React.createElement("span", {
9
+ className: ax(["_1e0c1txw _4cvr1h6o"])
10
+ }, /*#__PURE__*/React.createElement(ChevronDownIcon, {
11
+ label: "",
12
+ color: "currentColor",
13
+ LEGACY_margin: "0 0 0 -8px"
14
+ }));
15
+ }
@@ -0,0 +1,9 @@
1
+ ._18u0u2gc{margin-left:var(--ds-space-100,8px)}
2
+ ._19pkze3t{margin-top:var(--ds-space-0,0)}
3
+ ._1bsbt94y{width:1px}
4
+ ._1e0c1o8l{display:inline-block}
5
+ ._2hwxu2gc{margin-right:var(--ds-space-100,8px)}
6
+ ._4t3i1tcg{height:24px}
7
+ ._bfhk15ej{background-color:var(--ds-background-neutral-hovered,#091e4224)}
8
+ ._otyrze3t{margin-bottom:var(--ds-space-0,0)}
9
+ ._uiztglyw{-webkit-user-select:none;-ms-user-select:none;user-select:none}
@@ -0,0 +1,10 @@
1
+ /* Separator.tsx generated by @compiled/babel-plugin v0.36.1 */
2
+ import "./Separator.compiled.css";
3
+ import * as React from 'react';
4
+ import { ax, ix } from "@compiled/react/runtime";
5
+ var separatorStyles = null;
6
+ export function ToolbarSeparator() {
7
+ return /*#__PURE__*/React.createElement("span", {
8
+ className: ax(["_1e0c1o8l _1bsbt94y _4t3i1tcg _19pkze3t _otyrze3t _18u0u2gc _2hwxu2gc _uiztglyw _bfhk15ej"])
9
+ });
10
+ }
@@ -33,6 +33,12 @@ export { wrapperStyle } from './ResizerLegacy/styled';
33
33
  export { panelTextInput } from './PanelTextInput/styles';
34
34
  export { default as PanelTextInput } from './PanelTextInput';
35
35
  export { default as Announcer } from './Announcer/announcer';
36
+ export { Shortcut } from './Shortcut';
36
37
  export { EDIT_AREA_ID } from './Toolbar';
38
+ export { ToolbarButtonGroup } from './Toolbar/ButtonGroup';
39
+ export { ToolbarDropdownTriggerWrapper } from './Toolbar/DropdownTriggerWrapper';
40
+ export { ToolbarDropdownWrapper } from './Toolbar/DropdownWrapper';
41
+ export { ToolbarExpandIcon } from './Toolbar/ExpandIcon';
42
+ export { ToolbarSeparator } from './Toolbar/Separator';
37
43
  export { default as DropList } from './DropList';
38
44
  export { sharedMultiBodiedExtensionStyles } from './MultiBodiedExtension';
@@ -14,6 +14,7 @@ type BaseLineSuggestionPayload = {
14
14
  locale: string;
15
15
  suggestionType?: string;
16
16
  matchedFormat?: string;
17
+ inlineSuggestionSessionId?: string | null;
17
18
  };
18
19
  type InsertSuggestionAEP = TrackAEP<ACTION.SUGGESTION_INSERTED, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.AI_INLINE_SUGGESTION, SuggestionPayload, undefined>;
19
20
  type DismissSuggestionAEP = TrackAEP<ACTION.SUGGESTION_DISMISSED, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.AI_INLINE_SUGGESTION, SuggestionPayload, undefined>;
@@ -298,6 +298,7 @@ export declare enum ACTION_SUBJECT {
298
298
  MEDIA_VIEWER = "mediaViewer",
299
299
  DECORATION = "decoration",
300
300
  EDITOR_PLUGIN_AI = "editorPluginAI",
301
+ EDITOR_PLUGIN_SELECTION_EXTENSION = "editorPluginSelectionExtension",
301
302
  AI_DEFINITIONS = "aiDefinitions"
302
303
  }
303
304
  export declare enum ACTION_SUBJECT_ID {
@@ -448,7 +449,10 @@ export declare enum ACTION_SUBJECT_ID {
448
449
  ON_UNSUPPORTED_INLINE = "onUnsupportedInline",
449
450
  ON_UNSUPPORTED_BLOCK = "onUnsupportedBlock",
450
451
  MULTI_BODIED_EXTENSION = "multiBodiedExtension",
451
- UPLOAD_MEDIA = "uploadMedia"
452
+ UPLOAD_MEDIA = "uploadMedia",
453
+ EDITOR_PLUGIN_SELECTION_EXTENSION_DROPDOWN = "editorPluginSelectionExtensionDropdown",
454
+ EDITOR_PLUGIN_SELECTION_EXTENSION_ITEM = "editorPluginSelectionExtensionItem",
455
+ EDITOR_PLUGIN_SELECTION_EXTENSION_COMPONENT = "editorPluginSelectionExtensionComponent"
452
456
  }
453
457
  export declare enum FLOATING_CONTROLS_TITLE {
454
458
  CODE_BLOCK = "codeBlockFloatingControls",
@@ -40,6 +40,7 @@ import type { NodeEventPayload } from './node-events';
40
40
  import type { PasteEventPayload } from './paste-events';
41
41
  import type { ReferentialityEventPayload } from './referentiality-events';
42
42
  import type { SelectionEventPayload } from './selection-events';
43
+ import type { SelectionExtensionEventPayload } from './selection-extension-events';
43
44
  import type { SubstituteEventPayload } from './substitute-events';
44
45
  import type { TableEventPayload } from './table-events';
45
46
  import type { TypeAheadPayload } from './type-ahead';
@@ -54,7 +55,7 @@ export type SimplifiedNode = {
54
55
  marks?: string[];
55
56
  content?: SimplifiedNode[];
56
57
  };
57
- export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload;
58
+ export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload;
58
59
  type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
59
60
  previousColor: string;
60
61
  newColor: string;
@@ -0,0 +1,11 @@
1
+ import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
2
+ import type { TrackAEP } from './utils';
3
+ type SelectionExtensionActionType = ACTION.VIEWED | ACTION.CLICKED | ACTION.CLOSED;
4
+ type SelectionExtensionSubjectType = ACTION_SUBJECT.BUTTON | ACTION_SUBJECT.EDITOR_PLUGIN_SELECTION_EXTENSION;
5
+ type SelectionExtensionSubjectIdType = ACTION_SUBJECT_ID.EDITOR_PLUGIN_SELECTION_EXTENSION_DROPDOWN | ACTION_SUBJECT_ID.EDITOR_PLUGIN_SELECTION_EXTENSION_COMPONENT | ACTION_SUBJECT_ID.EDITOR_PLUGIN_SELECTION_EXTENSION_ITEM;
6
+ type SelectionExtensionAttributeType = {
7
+ toggle: ACTION.OPENED | ACTION.CLOSED;
8
+ };
9
+ type SelectionExtensionAEP = TrackAEP<SelectionExtensionActionType, SelectionExtensionSubjectType, SelectionExtensionSubjectIdType, SelectionExtensionAttributeType, undefined>;
10
+ export type SelectionExtensionEventPayload = SelectionExtensionAEP;
11
+ export {};
@@ -38,6 +38,7 @@ export type ExtensionNodeContext = {
38
38
  nodeType: 'extension' | 'inlineExtension' | 'bodiedExtension' | 'multiBodiedExtension';
39
39
  extensionKey: string | string[];
40
40
  extensionType?: string;
41
+ shouldExclude?: (node: ADFEntity) => boolean;
41
42
  };
42
43
  export type StandardNodeContext = {
43
44
  type: 'node';
@@ -1,4 +1,8 @@
1
1
  export declare const expandIconWrapperStyle: import("@emotion/react").SerializedStyles;
2
+ /**
3
+ * @private
4
+ * @deprecated use `import { ToolbarExpandIcon } from '@atlaskit/editor-common/ui';` instead
5
+ */
2
6
  export declare const expandIconContainerStyle: import("@emotion/react").SerializedStyles;
3
7
  export declare const expandClassNames: {
4
8
  prefix: string;
@@ -1,7 +1,31 @@
1
+ /**
2
+ * @private
3
+ * @deprecated use `import { ToolbarButtonGroup } from '@atlaskit/editor-common/ui';` instead
4
+ */
1
5
  export declare const buttonGroupStyleBeforeVisualRefresh: import("@emotion/react").SerializedStyles;
6
+ /**
7
+ * @private
8
+ * @deprecated use `import { ToolbarButtonGroup } from '@atlaskit/editor-common/ui';` instead
9
+ */
2
10
  export declare const buttonGroupStyle: import("@emotion/react").SerializedStyles;
11
+ /**
12
+ * @private
13
+ * @deprecated use `import { ToolbarSeparator } from '@atlaskit/editor-common/ui';` instead
14
+ */
3
15
  export declare const separatorStyles: import("@emotion/react").SerializedStyles;
16
+ /**
17
+ * @private
18
+ * @deprecated use `import { ToolbarDropdownWrapper } from '@atlaskit/editor-common/ui';` instead
19
+ */
4
20
  export declare const wrapperStyle: import("@emotion/react").SerializedStyles;
21
+ /**
22
+ * @private
23
+ * @deprecated use `import { ToolbarDropdownTriggerWrapper } from '@atlaskit/editor-common/ui';` instead
24
+ */
5
25
  export declare const triggerWrapperStyles: import("@emotion/react").SerializedStyles;
26
+ /**
27
+ * @private
28
+ * @deprecated use `import { ToolbarDropdownTriggerWrapper } from '@atlaskit/editor-common/ui';` instead
29
+ */
6
30
  export declare const triggerWrapperStylesWithPadding: import("@emotion/react").SerializedStyles;
7
31
  export declare const disableBlueBorderStyles: import("@emotion/react").SerializedStyles;
@@ -14,6 +14,11 @@ export declare const typeAheadListMessages: {
14
14
  defaultMessage: string;
15
15
  description: string;
16
16
  };
17
+ quickInsertInputPlaceholderLabel: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
17
22
  emojiPopupLabel: {
18
23
  id: string;
19
24
  defaultMessage: string;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import React from 'react';
6
+ export declare function Shortcut({ children }: {
7
+ children?: React.ReactNode;
8
+ }): JSX.Element;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import React from 'react';
6
+ export declare function ToolbarButtonGroup({ children }: {
7
+ children?: React.ReactNode;
8
+ }): JSX.Element;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import React from 'react';
6
+ export declare function ToolbarDropdownTriggerWrapper({ children }: {
7
+ children?: React.ReactNode;
8
+ }): JSX.Element;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import React from 'react';
6
+ export declare function ToolbarDropdownWrapper({ children }: {
7
+ children?: React.ReactNode;
8
+ }): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function ToolbarExpandIcon(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function ToolbarSeparator(): JSX.Element;
@@ -42,7 +42,13 @@ export { wrapperStyle } from './ResizerLegacy/styled';
42
42
  export { panelTextInput } from './PanelTextInput/styles';
43
43
  export { default as PanelTextInput } from './PanelTextInput';
44
44
  export { default as Announcer } from './Announcer/announcer';
45
+ export { Shortcut } from './Shortcut';
45
46
  export { EDIT_AREA_ID } from './Toolbar';
47
+ export { ToolbarButtonGroup } from './Toolbar/ButtonGroup';
48
+ export { ToolbarDropdownTriggerWrapper } from './Toolbar/DropdownTriggerWrapper';
49
+ export { ToolbarDropdownWrapper } from './Toolbar/DropdownWrapper';
50
+ export { ToolbarExpandIcon } from './Toolbar/ExpandIcon';
51
+ export { ToolbarSeparator } from './Toolbar/Separator';
46
52
  export { default as DropList, type Props as DropListProps } from './DropList';
47
53
  export type { UseStickyToolbarType } from './Toolbar';
48
54
  export type { OpenChangedEvent } from './DropList';
@@ -14,6 +14,7 @@ type BaseLineSuggestionPayload = {
14
14
  locale: string;
15
15
  suggestionType?: string;
16
16
  matchedFormat?: string;
17
+ inlineSuggestionSessionId?: string | null;
17
18
  };
18
19
  type InsertSuggestionAEP = TrackAEP<ACTION.SUGGESTION_INSERTED, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.AI_INLINE_SUGGESTION, SuggestionPayload, undefined>;
19
20
  type DismissSuggestionAEP = TrackAEP<ACTION.SUGGESTION_DISMISSED, ACTION_SUBJECT.EDITOR_PLUGIN_AI, ACTION_SUBJECT_ID.AI_INLINE_SUGGESTION, SuggestionPayload, undefined>;
@@ -298,6 +298,7 @@ export declare enum ACTION_SUBJECT {
298
298
  MEDIA_VIEWER = "mediaViewer",
299
299
  DECORATION = "decoration",
300
300
  EDITOR_PLUGIN_AI = "editorPluginAI",
301
+ EDITOR_PLUGIN_SELECTION_EXTENSION = "editorPluginSelectionExtension",
301
302
  AI_DEFINITIONS = "aiDefinitions"
302
303
  }
303
304
  export declare enum ACTION_SUBJECT_ID {
@@ -448,7 +449,10 @@ export declare enum ACTION_SUBJECT_ID {
448
449
  ON_UNSUPPORTED_INLINE = "onUnsupportedInline",
449
450
  ON_UNSUPPORTED_BLOCK = "onUnsupportedBlock",
450
451
  MULTI_BODIED_EXTENSION = "multiBodiedExtension",
451
- UPLOAD_MEDIA = "uploadMedia"
452
+ UPLOAD_MEDIA = "uploadMedia",
453
+ EDITOR_PLUGIN_SELECTION_EXTENSION_DROPDOWN = "editorPluginSelectionExtensionDropdown",
454
+ EDITOR_PLUGIN_SELECTION_EXTENSION_ITEM = "editorPluginSelectionExtensionItem",
455
+ EDITOR_PLUGIN_SELECTION_EXTENSION_COMPONENT = "editorPluginSelectionExtensionComponent"
452
456
  }
453
457
  export declare enum FLOATING_CONTROLS_TITLE {
454
458
  CODE_BLOCK = "codeBlockFloatingControls",
@@ -40,6 +40,7 @@ import type { NodeEventPayload } from './node-events';
40
40
  import type { PasteEventPayload } from './paste-events';
41
41
  import type { ReferentialityEventPayload } from './referentiality-events';
42
42
  import type { SelectionEventPayload } from './selection-events';
43
+ import type { SelectionExtensionEventPayload } from './selection-extension-events';
43
44
  import type { SubstituteEventPayload } from './substitute-events';
44
45
  import type { TableEventPayload } from './table-events';
45
46
  import type { TypeAheadPayload } from './type-ahead';
@@ -54,7 +55,7 @@ export type SimplifiedNode = {
54
55
  marks?: string[];
55
56
  content?: SimplifiedNode[];
56
57
  };
57
- export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload;
58
+ export type AnalyticsEventPayload<T = void> = AvatarEventPayload | GeneralEventPayload<T> | FormatEventPayload | SubstituteEventPayload | InsertEventPayload | NodeEventPayload | MoveContentEventPayload | MediaEventPayload | TableEventPayload | PasteEventPayload | CutCopyEventPayload | ErrorEventPayload | ExperimentalEventPayload | FindReplaceEventPayload | DateEventPayload | SelectionEventPayload | ListEventPayload | ConfigPanelEventPayload | ElementBrowserEventPayload | CreateLinkInlineDialogEventPayload | HighlightActionsEventPayload | UnsupportedContentPayload | ExtensionEventPayload | TransactionEventPayload | TypeAheadPayload | UnlinkToolbarAEP | EditLinkToolbarAEP | OpenSettingsToolbarAEP | CustomPanelEventPayload | FeatureExposureAEP | NewCollabSyncUpErrorAEP | UnsupportedContentTooltipPayload | ReferentialityEventPayload | LoomEventPayload | MBEEventPayload | HighlightEventPayload | DatasourceClickedPayload | ElementEventPayload | VisitedLinkAEP | ViewEventPayload | MediaUploadEventPayload | MentionEventPayload | EngagementPlatformEventPayload | NestedTableActionsEventPayload | AICommandPaletteEventPayload | AIDefinitionsEventPayload | AIEventPayload | AIProactiveEventPayload | AIUnifiedEventPayload | BreakoutEventPayload | ActiveSessionEventPayload | AIInlineSuggestionPayload | SelectionExtensionEventPayload;
58
59
  type CustomPanelEventPayload = TrackAEP<ACTION.CHANGED_BACKGROUND_COLOR | ACTION.CHANGED_ICON | ACTION.REMOVE_ICON, ACTION_SUBJECT.PANEL, ACTION_SUBJECT_ID.PANEL, {
59
60
  previousColor: string;
60
61
  newColor: string;
@@ -0,0 +1,11 @@
1
+ import type { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID } from './enums';
2
+ import type { TrackAEP } from './utils';
3
+ type SelectionExtensionActionType = ACTION.VIEWED | ACTION.CLICKED | ACTION.CLOSED;
4
+ type SelectionExtensionSubjectType = ACTION_SUBJECT.BUTTON | ACTION_SUBJECT.EDITOR_PLUGIN_SELECTION_EXTENSION;
5
+ type SelectionExtensionSubjectIdType = ACTION_SUBJECT_ID.EDITOR_PLUGIN_SELECTION_EXTENSION_DROPDOWN | ACTION_SUBJECT_ID.EDITOR_PLUGIN_SELECTION_EXTENSION_COMPONENT | ACTION_SUBJECT_ID.EDITOR_PLUGIN_SELECTION_EXTENSION_ITEM;
6
+ type SelectionExtensionAttributeType = {
7
+ toggle: ACTION.OPENED | ACTION.CLOSED;
8
+ };
9
+ type SelectionExtensionAEP = TrackAEP<SelectionExtensionActionType, SelectionExtensionSubjectType, SelectionExtensionSubjectIdType, SelectionExtensionAttributeType, undefined>;
10
+ export type SelectionExtensionEventPayload = SelectionExtensionAEP;
11
+ export {};
@@ -38,6 +38,7 @@ export type ExtensionNodeContext = {
38
38
  nodeType: 'extension' | 'inlineExtension' | 'bodiedExtension' | 'multiBodiedExtension';
39
39
  extensionKey: string | string[];
40
40
  extensionType?: string;
41
+ shouldExclude?: (node: ADFEntity) => boolean;
41
42
  };
42
43
  export type StandardNodeContext = {
43
44
  type: 'node';
@@ -1,4 +1,8 @@
1
1
  export declare const expandIconWrapperStyle: import("@emotion/react").SerializedStyles;
2
+ /**
3
+ * @private
4
+ * @deprecated use `import { ToolbarExpandIcon } from '@atlaskit/editor-common/ui';` instead
5
+ */
2
6
  export declare const expandIconContainerStyle: import("@emotion/react").SerializedStyles;
3
7
  export declare const expandClassNames: {
4
8
  prefix: string;
@@ -1,7 +1,31 @@
1
+ /**
2
+ * @private
3
+ * @deprecated use `import { ToolbarButtonGroup } from '@atlaskit/editor-common/ui';` instead
4
+ */
1
5
  export declare const buttonGroupStyleBeforeVisualRefresh: import("@emotion/react").SerializedStyles;
6
+ /**
7
+ * @private
8
+ * @deprecated use `import { ToolbarButtonGroup } from '@atlaskit/editor-common/ui';` instead
9
+ */
2
10
  export declare const buttonGroupStyle: import("@emotion/react").SerializedStyles;
11
+ /**
12
+ * @private
13
+ * @deprecated use `import { ToolbarSeparator } from '@atlaskit/editor-common/ui';` instead
14
+ */
3
15
  export declare const separatorStyles: import("@emotion/react").SerializedStyles;
16
+ /**
17
+ * @private
18
+ * @deprecated use `import { ToolbarDropdownWrapper } from '@atlaskit/editor-common/ui';` instead
19
+ */
4
20
  export declare const wrapperStyle: import("@emotion/react").SerializedStyles;
21
+ /**
22
+ * @private
23
+ * @deprecated use `import { ToolbarDropdownTriggerWrapper } from '@atlaskit/editor-common/ui';` instead
24
+ */
5
25
  export declare const triggerWrapperStyles: import("@emotion/react").SerializedStyles;
26
+ /**
27
+ * @private
28
+ * @deprecated use `import { ToolbarDropdownTriggerWrapper } from '@atlaskit/editor-common/ui';` instead
29
+ */
6
30
  export declare const triggerWrapperStylesWithPadding: import("@emotion/react").SerializedStyles;
7
31
  export declare const disableBlueBorderStyles: import("@emotion/react").SerializedStyles;
@@ -14,6 +14,11 @@ export declare const typeAheadListMessages: {
14
14
  defaultMessage: string;
15
15
  description: string;
16
16
  };
17
+ quickInsertInputPlaceholderLabel: {
18
+ id: string;
19
+ defaultMessage: string;
20
+ description: string;
21
+ };
17
22
  emojiPopupLabel: {
18
23
  id: string;
19
24
  defaultMessage: string;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import React from 'react';
6
+ export declare function Shortcut({ children }: {
7
+ children?: React.ReactNode;
8
+ }): JSX.Element;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import React from 'react';
6
+ export declare function ToolbarButtonGroup({ children }: {
7
+ children?: React.ReactNode;
8
+ }): JSX.Element;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import React from 'react';
6
+ export declare function ToolbarDropdownTriggerWrapper({ children }: {
7
+ children?: React.ReactNode;
8
+ }): JSX.Element;
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @jsxRuntime classic
3
+ * @jsx jsx
4
+ */
5
+ import React from 'react';
6
+ export declare function ToolbarDropdownWrapper({ children }: {
7
+ children?: React.ReactNode;
8
+ }): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function ToolbarExpandIcon(): JSX.Element;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare function ToolbarSeparator(): JSX.Element;
@@ -42,7 +42,13 @@ export { wrapperStyle } from './ResizerLegacy/styled';
42
42
  export { panelTextInput } from './PanelTextInput/styles';
43
43
  export { default as PanelTextInput } from './PanelTextInput';
44
44
  export { default as Announcer } from './Announcer/announcer';
45
+ export { Shortcut } from './Shortcut';
45
46
  export { EDIT_AREA_ID } from './Toolbar';
47
+ export { ToolbarButtonGroup } from './Toolbar/ButtonGroup';
48
+ export { ToolbarDropdownTriggerWrapper } from './Toolbar/DropdownTriggerWrapper';
49
+ export { ToolbarDropdownWrapper } from './Toolbar/DropdownWrapper';
50
+ export { ToolbarExpandIcon } from './Toolbar/ExpandIcon';
51
+ export { ToolbarSeparator } from './Toolbar/Separator';
46
52
  export { default as DropList, type Props as DropListProps } from './DropList';
47
53
  export type { UseStickyToolbarType } from './Toolbar';
48
54
  export type { OpenChangedEvent } from './DropList';
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/doc-utils/index.js",
4
4
  "module": "../dist/esm/doc-utils/index.js",
5
5
  "module:es2019": "../dist/es2019/doc-utils/index.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/doc-utils/index.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/editor-analytics/index.js",
4
4
  "module": "../dist/esm/editor-analytics/index.js",
5
5
  "module:es2019": "../dist/es2019/editor-analytics/index.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/editor-analytics/index.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/element-browser/index.js",
4
4
  "module": "../dist/esm/element-browser/index.js",
5
5
  "module:es2019": "../dist/es2019/element-browser/index.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/element-browser/index.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/emoji/index.js",
4
4
  "module": "../dist/esm/emoji/index.js",
5
5
  "module:es2019": "../dist/es2019/emoji/index.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/emoji/index.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/ui/ErrorBoundary/index.js",
4
4
  "module": "../dist/esm/ui/ErrorBoundary/index.js",
5
5
  "module:es2019": "../dist/es2019/ui/ErrorBoundary/index.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/ui/ErrorBoundary/index.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/utils/error-reporter.js",
4
4
  "module": "../dist/esm/utils/error-reporter.js",
5
5
  "module:es2019": "../dist/es2019/utils/error-reporter.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/utils/error-reporter.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/event-dispatcher/index.js",
4
4
  "module": "../dist/esm/event-dispatcher/index.js",
5
5
  "module:es2019": "../dist/es2019/event-dispatcher/index.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/event-dispatcher/index.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/expand/index.js",
4
4
  "module": "../dist/esm/expand/index.js",
5
5
  "module:es2019": "../dist/es2019/expand/index.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/expand/index.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/extensibility/index.js",
4
4
  "module": "../dist/esm/extensibility/index.js",
5
5
  "module:es2019": "../dist/es2019/extensibility/index.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/extensibility/index.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/extensions.js",
4
4
  "module": "../dist/esm/extensions.js",
5
5
  "module:es2019": "../dist/es2019/extensions.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/extensions.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {
@@ -3,7 +3,9 @@
3
3
  "main": "../dist/cjs/floating-toolbar/index.js",
4
4
  "module": "../dist/esm/floating-toolbar/index.js",
5
5
  "module:es2019": "../dist/es2019/floating-toolbar/index.js",
6
- "sideEffects": false,
6
+ "sideEffects": [
7
+ "**/*.compiled.css"
8
+ ],
7
9
  "types": "../dist/types/floating-toolbar/index.d.ts",
8
10
  "typesVersions": {
9
11
  ">=4.5 <5.4": {