@atlaskit/editor-common 114.41.0 → 114.42.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/AssistiveText/package.json +17 -0
- package/BaseTheme/package.json +17 -0
- package/CHANGELOG.md +15 -0
- package/Caption/package.json +17 -0
- package/DropList/package.json +17 -0
- package/DropdownMenuExtensionItems/package.json +17 -0
- package/DropdownMenuItem/package.json +17 -0
- package/DropdownSeparator/package.json +17 -0
- package/Emoji/package.json +17 -0
- package/EventHandlers/package.json +17 -0
- package/Expand/package.json +17 -0
- package/Expand/sharedStyles/package.json +17 -0
- package/Extension/package.json +17 -0
- package/ExtensionComponent/package.json +17 -0
- package/ExtensionNodeWrapper/package.json +17 -0
- package/FloatingToolbar/Button/package.json +17 -0
- package/FloatingToolbar/Separator/package.json +17 -0
- package/FloatingToolbar/SmallerEditIcon/package.json +17 -0
- package/HoverLinkOverlay/package.json +17 -0
- package/IntlProviderIfMissingWrapper/package.json +17 -0
- package/MediaSingle/grid/package.json +17 -0
- package/MediaSingle/link/package.json +17 -0
- package/MediaSingle/package.json +17 -0
- package/MediaSingle/styled/package.json +17 -0
- package/MediaSingle/types/package.json +17 -0
- package/Mention/mention-with-profilecard/package.json +17 -0
- package/Mention/package.json +17 -0
- package/Messages/package.json +17 -0
- package/MultiBodiedExtension/package.json +17 -0
- package/OverflowShadow/package.json +17 -0
- package/OverflowShadow/shadowObserver/package.json +17 -0
- package/PanelTextInput/package.json +17 -0
- package/PanelTextInput/styles/package.json +17 -0
- package/Popup/package.json +17 -0
- package/Popup/utils/package.json +17 -0
- package/PortalBucket/package.json +17 -0
- package/PortalManager/package.json +17 -0
- package/ResizerLegacy/package.json +17 -0
- package/ResizerLegacy/styled/package.json +17 -0
- package/ResizerLegacy/types/package.json +17 -0
- package/ResizerLegacy/utils/package.json +17 -0
- package/SSRRenderMeasure/package.json +17 -0
- package/SelectionBasedNodeView/package.json +17 -0
- package/Shortcut/package.json +17 -0
- package/TableSelector/package.json +17 -0
- package/Toolbar/ButtonGroup/package.json +17 -0
- package/Toolbar/DropdownTriggerWrapper/package.json +17 -0
- package/Toolbar/DropdownWrapper/package.json +17 -0
- package/Toolbar/ExpandIcon/package.json +17 -0
- package/Toolbar/Separator/package.json +17 -0
- package/Toolbar/package.json +17 -0
- package/UnsupportedBlock/package.json +17 -0
- package/UnsupportedInline/package.json +17 -0
- package/UserIntentPopupWrapper/package.json +17 -0
- package/WidthProvider/package.json +17 -0
- package/WithCreateAnalyticsEvent/package.json +17 -0
- package/ai-messages/ai/package.json +17 -0
- package/ai-messages/ai-autocomplete/package.json +17 -0
- package/ai-messages/ai-config-items/package.json +17 -0
- package/ai-messages/ai-definitions/package.json +17 -0
- package/ai-messages/ai-experience-application/package.json +17 -0
- package/ai-messages/ai-failed-state/package.json +17 -0
- package/ai-messages/ai-languages/package.json +17 -0
- package/ai-messages/ai-proactive/package.json +17 -0
- package/ai-messages/ai-proactive-setting/package.json +17 -0
- package/ai-messages/ai-proactive-transform/package.json +17 -0
- package/ai-messages/ai-quick-prompt/package.json +17 -0
- package/ai-messages/ai-suggestions/package.json +17 -0
- package/alignment/package.json +17 -0
- package/analytics/api/package.json +17 -0
- package/analytics/fire-analytics-event/package.json +17 -0
- package/analytics/linking-utils/package.json +17 -0
- package/analytics/types/activity-session-events/package.json +17 -0
- package/analytics/types/ai-autocomplete-events/package.json +17 -0
- package/analytics/types/ai-definitions-events/package.json +17 -0
- package/analytics/types/ai-events/package.json +17 -0
- package/analytics/types/ai-inline-suggestion-events/package.json +17 -0
- package/analytics/types/ai-proactive-events/package.json +17 -0
- package/analytics/types/ai-quick-prompt-events/package.json +17 -0
- package/analytics/types/ai-unified-events/package.json +17 -0
- package/analytics/types/block-menu-events/package.json +17 -0
- package/analytics/types/breakout-events/package.json +17 -0
- package/analytics/types/color-events/package.json +17 -0
- package/analytics/types/dispatch-analytics-event/package.json +17 -0
- package/analytics/types/enums/package.json +17 -0
- package/analytics/types/events/package.json +17 -0
- package/analytics/types/experience-events/package.json +17 -0
- package/analytics/types/extension-events/package.json +17 -0
- package/analytics/types/format-events/package.json +17 -0
- package/analytics/types/general-events/package.json +17 -0
- package/analytics/types/inline-comment-events/package.json +17 -0
- package/analytics/types/insert-events/package.json +17 -0
- package/analytics/types/link-tool-bar-events/package.json +17 -0
- package/analytics/types/list-events/package.json +17 -0
- package/analytics/types/media-events/package.json +17 -0
- package/analytics/types/move-content-events/package.json +17 -0
- package/analytics/types/native-embed-events/package.json +17 -0
- package/analytics/types/ncs-session-step-events/package.json +17 -0
- package/analytics/types/node-events/package.json +17 -0
- package/analytics/types/paste-events/package.json +17 -0
- package/analytics/types/performance-report/package.json +17 -0
- package/analytics/types/referentiality-events/package.json +17 -0
- package/analytics/types/selection-events/package.json +17 -0
- package/analytics/types/smart-links/package.json +17 -0
- package/analytics/types/substitute-events/package.json +17 -0
- package/analytics/types/sync-block-events/package.json +17 -0
- package/analytics/types/table-events/package.json +17 -0
- package/analytics/types/telepointer-events/package.json +17 -0
- package/analytics/types/toolbar-button/package.json +17 -0
- package/analytics/types/type-ahead/package.json +17 -0
- package/analytics/types/utils/package.json +17 -0
- package/analytics/types/view-events/package.json +17 -0
- package/analytics/utils/package.json +17 -0
- package/announcer/package.json +17 -0
- package/assets/package.json +17 -0
- package/block-menu/block-link/package.json +17 -0
- package/block-menu/key/package.json +17 -0
- package/block-menu/key-deprecated/package.json +17 -0
- package/block-menu/messages/package.json +17 -0
- package/block-menu/placement/package.json +17 -0
- package/block-menu/rank/package.json +17 -0
- package/block-menu/rank-deprecated/package.json +17 -0
- package/block-menu/scroll-to-block-utils/package.json +17 -0
- package/card/LinkToolbarButtonGroup/package.json +17 -0
- package/card/MediaAndEmbedsToolbar/package.json +17 -0
- package/card/assets/card/package.json +17 -0
- package/card/assets/embed/package.json +17 -0
- package/card/assets/inline/package.json +17 -0
- package/card/assets/url/package.json +17 -0
- package/card/cardOptions/package.json +17 -0
- package/card/link-toolbar-button-group-options/package.json +17 -0
- package/card/link-toolbar-dropdown-options/package.json +17 -0
- package/card/types/package.json +17 -0
- package/card/utils/package.json +17 -0
- package/clear-next-sibling-margin-top/package.json +17 -0
- package/combine-providers/package.json +17 -0
- package/commands/insert-block/package.json +17 -0
- package/common/package.json +17 -0
- package/const/package.json +17 -0
- package/css-helper/package.json +17 -0
- package/custom-panel/package.json +17 -0
- package/dist/cjs/messages/markdown-mode.js +0 -5
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui-menu/Dropdown/index.js +4 -2
- package/dist/es2019/messages/markdown-mode.js +0 -5
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui-menu/Dropdown/index.js +4 -2
- package/dist/esm/messages/markdown-mode.js +0 -5
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui-menu/Dropdown/index.js +4 -2
- package/dist/types/messages/markdown-mode.d.ts +0 -5
- package/dist/types/types/floating-toolbar.d.ts +31 -1
- package/dist/types/types/index.d.ts +1 -1
- package/dist/types/ui-menu/Dropdown/index.d.ts +1 -0
- package/dist/types-ts4.5/messages/markdown-mode.d.ts +0 -5
- package/dist/types-ts4.5/types/floating-toolbar.d.ts +31 -1
- package/dist/types-ts4.5/types/index.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/Dropdown/index.d.ts +1 -0
- package/doc-utils/editor-use-only/package.json +17 -0
- package/document-logger/package.json +17 -0
- package/editor-ugc-token-names/package.json +17 -0
- package/element-browser/ElementBrowserLoader/package.json +17 -0
- package/element-browser/constants/package.json +17 -0
- package/emoji/messages/package.json +17 -0
- package/experiences/Experience/package.json +17 -0
- package/experiences/ExperienceCheck/package.json +17 -0
- package/experiences/ExperienceCheckComposite/package.json +17 -0
- package/experiences/ExperienceCheckDomMutation/package.json +17 -0
- package/experiences/ExperienceCheckPopupMutation/package.json +17 -0
- package/experiences/ExperienceCheckTimeout/package.json +17 -0
- package/experiences/consts/package.json +17 -0
- package/experiences/experience-utils/package.json +17 -0
- package/extensibility/types/package.json +17 -0
- package/extensionNodeView/package.json +17 -0
- package/extensions/combine-extension-providers/package.json +17 -0
- package/extensions/default-extension-provider/package.json +17 -0
- package/extensions/extension-fields-helpers/package.json +17 -0
- package/extensions/extension-handler/package.json +17 -0
- package/extensions/extension-handlers/package.json +17 -0
- package/extensions/extension-manifest/package.json +17 -0
- package/extensions/extension-manifest-common/package.json +17 -0
- package/extensions/extension-manifest-toolbar-item/package.json +17 -0
- package/extensions/extension-parameters/package.json +17 -0
- package/extensions/extension-provider/package.json +17 -0
- package/extensions/field-definitions/package.json +17 -0
- package/extensions/manifest-helpers/package.json +17 -0
- package/extensions/messages/package.json +17 -0
- package/extensions/module-helpers/package.json +17 -0
- package/extensions/types/utils/package.json +17 -0
- package/fallback/package.json +17 -0
- package/floating-toolbar/messages/package.json +17 -0
- package/get-editor-ugc-token/package.json +17 -0
- package/getInlineNodeViewProducer/package.json +17 -0
- package/guideline/constants/package.json +17 -0
- package/guideline/defaultGuideline/package.json +17 -0
- package/guideline/dynamicGuideline/package.json +17 -0
- package/guideline/fixedGuideline/package.json +17 -0
- package/guideline/relativeGuideline/package.json +17 -0
- package/guideline/snapping/package.json +17 -0
- package/guideline/types/package.json +17 -0
- package/guideline/updateGuideline/package.json +17 -0
- package/guideline/utils/package.json +17 -0
- package/icons/BorderIcon/package.json +17 -0
- package/icons/DynamicStrokeIconDecoration/package.json +17 -0
- package/icons/PanelErrorIcon/package.json +17 -0
- package/icons/PanelInfoIcon/package.json +17 -0
- package/icons/PanelNoteIcon/package.json +17 -0
- package/icons/PanelSuccessIcon/package.json +17 -0
- package/icons/PanelWarningIcon/package.json +17 -0
- package/icons/SteppedRainbowIconDecoration/package.json +17 -0
- package/inline-image-wrapper/package.json +17 -0
- package/inside/package.json +17 -0
- package/is-ssr/package.json +17 -0
- package/keymap/package.json +17 -0
- package/keymaps/consts/package.json +17 -0
- package/lazy-node-view/types/package.json +17 -0
- package/link/ConfigureLinkOverlay/package.json +17 -0
- package/link/EditorLinkPicker/package.json +17 -0
- package/link/HyperlinkAddToolbar/HyperlinkAddToolbar/package.json +17 -0
- package/link/HyperlinkAddToolbar/package.json +17 -0
- package/link/HyperlinkAddToolbar/utils/package.json +17 -0
- package/link/LinkSearch/package.json +17 -0
- package/link/LinkSearch/types/package.json +17 -0
- package/link/LinkSearchList/package.json +17 -0
- package/link/LinkSearchListItem/package.json +17 -0
- package/link/ToolbarComponents/package.json +17 -0
- package/link/handleNavigation/package.json +17 -0
- package/link/transformTimeStamp/package.json +17 -0
- package/link/types/package.json +17 -0
- package/link/utils/package.json +17 -0
- package/lists/analytics/package.json +17 -0
- package/lists/block-mark/package.json +17 -0
- package/lists/build-replacement-fragment/package.json +17 -0
- package/lists/flatten-list/package.json +17 -0
- package/lists/indentation/package.json +17 -0
- package/lists/messages/package.json +17 -0
- package/lists/narrow-replacement-range/package.json +17 -0
- package/lists/node/package.json +17 -0
- package/lists/replace-content/package.json +17 -0
- package/lists/restore-selection/package.json +17 -0
- package/lists/selection/package.json +17 -0
- package/mark/commands/package.json +17 -0
- package/mark/text-formatting/package.json +17 -0
- package/media/altText/package.json +17 -0
- package/media/caption/package.json +17 -0
- package/media/comments/package.json +17 -0
- package/media/dropPlaceholder/package.json +17 -0
- package/media/externalMedia/package.json +17 -0
- package/media/imageBorder/package.json +17 -0
- package/media/mediaLinkingToolbar/package.json +17 -0
- package/media/mediaResizeAnnouncerMess/package.json +17 -0
- package/media/nodeviews/package.json +17 -0
- package/media/pixelEntry/package.json +17 -0
- package/media/toolbarMedia/package.json +17 -0
- package/media-inline/constants/package.json +17 -0
- package/media-inline/styles/package.json +17 -0
- package/media-inline/types/package.json +17 -0
- package/media-inline/utils/package.json +17 -0
- package/media-inline-image-card/package.json +17 -0
- package/media-single/CommentBadge/package.json +17 -0
- package/media-single/CommentBadgeNext/package.json +17 -0
- package/media-single/ExternalImageBadge/package.json +17 -0
- package/media-single/MediaBadges/package.json +17 -0
- package/media-single/constants/package.json +17 -0
- package/media-single/utils/package.json +17 -0
- package/messages/annotation/package.json +17 -0
- package/messages/avatar-group/package.json +17 -0
- package/messages/block-controls/package.json +17 -0
- package/messages/block-menu/package.json +17 -0
- package/messages/block-type/package.json +17 -0
- package/messages/breakout/package.json +17 -0
- package/messages/card/package.json +17 -0
- package/messages/codeBidiWarning/package.json +17 -0
- package/messages/codeBlock/package.json +17 -0
- package/messages/codeBlockButton/package.json +17 -0
- package/messages/color-picker-button/package.json +17 -0
- package/messages/company-hub-text-color/package.json +17 -0
- package/messages/context-panel/package.json +17 -0
- package/messages/date/package.json +17 -0
- package/messages/element-insert-side-panel/package.json +17 -0
- package/messages/find-replace/package.json +17 -0
- package/messages/full-page/package.json +17 -0
- package/messages/help-dialog/package.json +17 -0
- package/messages/highlight/package.json +17 -0
- package/messages/indentation/package.json +17 -0
- package/messages/insert-block/package.json +17 -0
- package/messages/layout/package.json +17 -0
- package/messages/limited-mode/package.json +17 -0
- package/messages/link/package.json +17 -0
- package/messages/link-toolbar/package.json +17 -0
- package/messages/list/package.json +17 -0
- package/messages/markdown-mode/package.json +17 -0
- package/messages/media-and-embed-toolbar/package.json +17 -0
- package/messages/media-editing/package.json +17 -0
- package/messages/media-insert/package.json +17 -0
- package/messages/mentions/package.json +17 -0
- package/messages/native-embed-toolbar/package.json +17 -0
- package/messages/panel/package.json +17 -0
- package/messages/paste-options-toolbar/package.json +17 -0
- package/messages/placeholder-text/package.json +17 -0
- package/messages/roleDescription/package.json +17 -0
- package/messages/selection-extension/package.json +17 -0
- package/messages/selection-toolbar/package.json +17 -0
- package/messages/status/package.json +17 -0
- package/messages/syncBlock/package.json +17 -0
- package/messages/table/package.json +17 -0
- package/messages/tasks-and-decisions/package.json +17 -0
- package/messages/text-color/package.json +17 -0
- package/messages/toolbar/package.json +17 -0
- package/messages/track-changes/package.json +17 -0
- package/messages/undo-redo/package.json +17 -0
- package/messages/unsupportedContent/package.json +17 -0
- package/monitoring/error/package.json +17 -0
- package/node-anchor-provider/package.json +17 -0
- package/node-view/package.json +17 -0
- package/package.json +3 -3
- package/paste/clipboard/package.json +17 -0
- package/paste/md/package.json +17 -0
- package/persistence-api/package.json +17 -0
- package/preset/builder/package.json +17 -0
- package/preset/editor-commands/package.json +17 -0
- package/preset/plugin-injection-api/package.json +17 -0
- package/profileSSROperation/package.json +17 -0
- package/provider-factory/autoformatting-provider/package.json +17 -0
- package/provider-factory/card-provider/package.json +17 -0
- package/provider-factory/context/package.json +17 -0
- package/provider-factory/context-identifier-provider/package.json +17 -0
- package/provider-factory/image-upload-provider/package.json +17 -0
- package/provider-factory/macro-provider/package.json +17 -0
- package/provider-factory/media-provider/package.json +17 -0
- package/provider-factory/profile-card-provider/package.json +17 -0
- package/provider-factory/provider-factory/package.json +17 -0
- package/provider-factory/quick-insert-provider/package.json +17 -0
- package/provider-factory/search-provider/package.json +17 -0
- package/provider-factory/types/package.json +17 -0
- package/provider-factory/with-providers/package.json +17 -0
- package/quick-insert/messages/package.json +17 -0
- package/quick-insert/utils/package.json +17 -0
- package/react-node-view/types/package.json +17 -0
- package/resizer/BreakoutResizer/package.json +17 -0
- package/resizer/Resizer/package.json +17 -0
- package/resizer/ResizerBreakoutModeLabel/package.json +17 -0
- package/resizer/types/package.json +17 -0
- package/resizer/useBreakoutGuidelines/package.json +17 -0
- package/selection/actions/package.json +17 -0
- package/selection/context-helpers/package.json +17 -0
- package/selection/gap-cursor/selection/package.json +17 -0
- package/selection/gap-cursor/styles/package.json +17 -0
- package/selection/is-ignored/package.json +17 -0
- package/selection/is-valid-target-node/package.json +17 -0
- package/selection/setGapCursorSelection/package.json +17 -0
- package/selection/types/package.json +17 -0
- package/selection/utils/package.json +17 -0
- package/styles/annotation/package.json +17 -0
- package/styles/blockquote/package.json +17 -0
- package/styles/breakout/package.json +17 -0
- package/styles/code-block/package.json +17 -0
- package/styles/date/package.json +17 -0
- package/styles/drag-handle/package.json +17 -0
- package/styles/dropdown-menu/package.json +17 -0
- package/styles/emoji/package.json +17 -0
- package/styles/expand/package.json +17 -0
- package/styles/extension/package.json +17 -0
- package/styles/grid/package.json +17 -0
- package/styles/headings/package.json +17 -0
- package/styles/layout/package.json +17 -0
- package/styles/lists/package.json +17 -0
- package/styles/media/package.json +17 -0
- package/styles/media-single/package.json +17 -0
- package/styles/mention/package.json +17 -0
- package/styles/native-anchor/package.json +17 -0
- package/styles/panel/package.json +17 -0
- package/styles/plugins/package.json +17 -0
- package/styles/resizer/package.json +17 -0
- package/styles/smart-card/package.json +17 -0
- package/styles/smartCard/package.json +17 -0
- package/styles/status/package.json +17 -0
- package/styles/sync-block/package.json +17 -0
- package/styles/table/package.json +17 -0
- package/styles/task-decision/package.json +17 -0
- package/styles/unsupported-content/package.json +17 -0
- package/sync-block/SyncBlockActionsContext/package.json +17 -0
- package/sync-block/constants/package.json +17 -0
- package/sync-block/ssr_error/package.json +17 -0
- package/table/SortingIcon/package.json +17 -0
- package/table/consts/package.json +17 -0
- package/table/content-mode/package.json +17 -0
- package/toolbar/EditorToolbarUIProvider/package.json +17 -0
- package/toolbar/context/package.json +17 -0
- package/toolbar/keys/package.json +17 -0
- package/toolbar/rank/package.json +17 -0
- package/toolbar/types/package.json +17 -0
- package/toolbar/utils/package.json +17 -0
- package/transforms/code-block/package.json +17 -0
- package/transforms/decision-list/package.json +17 -0
- package/transforms/expand/package.json +17 -0
- package/transforms/extension/package.json +17 -0
- package/transforms/layout/package.json +17 -0
- package/transforms/list-transforms/package.json +17 -0
- package/transforms/list-types/package.json +17 -0
- package/transforms/list-utils/package.json +17 -0
- package/transforms/sync-block/package.json +17 -0
- package/type-ahead/messages/package.json +17 -0
- package/types/annotation/package.json +17 -0
- package/types/block-controls/package.json +17 -0
- package/types/block-type/package.json +17 -0
- package/types/breakout/package.json +17 -0
- package/types/command/package.json +17 -0
- package/types/context-panel/package.json +17 -0
- package/types/copy-button/package.json +17 -0
- package/types/datasource/package.json +17 -0
- package/types/doc-builder/package.json +17 -0
- package/types/editor-actions/package.json +17 -0
- package/types/editor-appearance/package.json +17 -0
- package/types/editor-command/package.json +17 -0
- package/types/editor-container-width/package.json +17 -0
- package/types/editor-plugin/package.json +17 -0
- package/types/editor-react-context/package.json +17 -0
- package/types/emitter/package.json +17 -0
- package/types/empty-state-handler/package.json +17 -0
- package/types/feature-flags/package.json +17 -0
- package/types/feedback-dialog/package.json +17 -0
- package/types/floating-toolbar/package.json +17 -0
- package/types/grid/package.json +17 -0
- package/types/hyperlink/package.json +17 -0
- package/types/image-upload-reference-event/package.json +17 -0
- package/types/input-rules/package.json +17 -0
- package/types/insert-block/package.json +17 -0
- package/types/layout/package.json +17 -0
- package/types/next-editor-plugin/package.json +17 -0
- package/types/performance-tracking/package.json +17 -0
- package/types/plugin-factory/package.json +17 -0
- package/types/prosemirror-config/package.json +17 -0
- package/types/quick-insert/package.json +17 -0
- package/types/resizable-media-single/package.json +17 -0
- package/types/selection/package.json +17 -0
- package/types/selection-toolbar/package.json +17 -0
- package/types/supported-browsers/package.json +17 -0
- package/types/tables/package.json +17 -0
- package/types/text-formatting/package.json +17 -0
- package/types/toolbar/package.json +17 -0
- package/types/type-ahead/package.json +17 -0
- package/types/ui-components/package.json +17 -0
- package/types/user-preferences/package.json +17 -0
- package/ui-color/ColorPalette/Color/package.json +17 -0
- package/ui-color/ColorPalette/ColorPalette/utils/package.json +17 -0
- package/ui-color/ColorPalette/Palettes/common/package.json +17 -0
- package/ui-color/ColorPalette/borderColorPalette/package.json +17 -0
- package/ui-color/ColorPalette/cellBackgroundColorPalette/package.json +17 -0
- package/ui-color/ColorPalette/highlightColorPalette/package.json +17 -0
- package/ui-color/ColorPalette/package.json +17 -0
- package/ui-color/ColorPalette/paletteMessages/package.json +17 -0
- package/ui-color/ColorPalette/paletteMessagesTokenModeNames/package.json +17 -0
- package/ui-color/ColorPalette/panelBackgroundPalette/package.json +17 -0
- package/ui-color/ColorPalette/textColorPalette/package.json +17 -0
- package/ui-color/ColorPalette/type/package.json +17 -0
- package/ui-menu/ArrowKeyNavigationProvider/package.json +17 -0
- package/ui-menu/ArrowKeyNavigationProvider/types/package.json +17 -0
- package/ui-menu/ColorPaletteArrowKeyNavigationProvider/package.json +17 -0
- package/ui-menu/ColorPickerButton/package.json +17 -0
- package/ui-menu/Dropdown/package.json +17 -0
- package/ui-menu/DropdownContainer/package.json +17 -0
- package/ui-menu/DropdownMenu/package.json +17 -0
- package/ui-menu/DropdownMenu/types/package.json +17 -0
- package/ui-menu/ToolbarArrowKeyNavigationProvider/package.json +17 -0
- package/ui-menu/ToolbarButton/package.json +17 -0
- package/ui-react/ReactEditorViewContext/package.json +17 -0
- package/ui-react/with-react-editor-view-outer-listeners/package.json +17 -0
- package/useConstructor/package.json +17 -0
- package/usePortalProvider/package.json +17 -0
- package/usePreviousState/package.json +17 -0
- package/useSharedPluginState/package.json +17 -0
- package/useSharedPluginStateSelector/package.json +17 -0
- package/useSharedPluginStateWithSelector/package.json +17 -0
- package/user-intent/types/package.json +17 -0
- package/user-preferences/hooks/package.json +17 -0
- package/user-preferences/user-preferences/package.json +17 -0
- package/user-preferences-provider/package.json +17 -0
- package/utils/annotation/package.json +17 -0
- package/utils/autojoin/package.json +17 -0
- package/utils/breakout/package.json +17 -0
- package/utils/browser-extensions/package.json +17 -0
- package/utils/calculate-toolbar-position/package.json +17 -0
- package/utils/commands/package.json +17 -0
- package/utils/compare-props/package.json +17 -0
- package/utils/compareNodes/package.json +17 -0
- package/utils/compose/package.json +17 -0
- package/utils/create-wrap-selection-transaction/package.json +17 -0
- package/utils/datasource/package.json +17 -0
- package/utils/date/package.json +17 -0
- package/utils/dedupe/package.json +17 -0
- package/utils/dom/package.json +17 -0
- package/utils/editor-core-utils/package.json +17 -0
- package/utils/extension-handler/package.json +17 -0
- package/utils/get-performance-options/package.json +17 -0
- package/utils/get-performance-timing/package.json +17 -0
- package/utils/get-unsupported-content-level-data/package.json +17 -0
- package/utils/getModeFromTheme/package.json +17 -0
- package/utils/grid/package.json +17 -0
- package/utils/hyperlink/package.json +17 -0
- package/utils/imageLoader/package.json +17 -0
- package/utils/input-rules/package.json +17 -0
- package/utils/insert-node-into-ordered-list/package.json +17 -0
- package/utils/is-text-input/package.json +17 -0
- package/utils/list/package.json +17 -0
- package/utils/macro/package.json +17 -0
- package/utils/measure/package.json +17 -0
- package/utils/nodes/package.json +17 -0
- package/utils/nodes-by-localIds/package.json +17 -0
- package/utils/page-element-counts/package.json +17 -0
- package/utils/plugin-state-factory/package.json +17 -0
- package/utils/privacy-filter/package.json +17 -0
- package/utils/referentiality/package.json +17 -0
- package/utils/render-count/package.json +17 -0
- package/utils/rich-media-utils/package.json +17 -0
- package/utils/scroll-gutter/package.json +17 -0
- package/utils/should-auto-linkify-tld/package.json +17 -0
- package/utils/should-force-tracking/package.json +17 -0
- package/utils/slice/package.json +17 -0
- package/utils/table/package.json +17 -0
- package/utils/track-unsupported-content/package.json +17 -0
- package/utils/traversor/package.json +17 -0
- package/utils/types/package.json +17 -0
- package/utils/unsupportedContent/types/package.json +17 -0
- package/utils/validator/package.json +17 -0
- package/utils/withFeatureFlaggedComponent/package.json +17 -0
- package/utils/wrap-selection-in/package.json +17 -0
- package/validate-using-spec/package.json +17 -0
- package/whitespace/whitespace/package.json +17 -0
- package/with-outer-listeners/package.json +17 -0
- package/withAnalytics/package.json +17 -0
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/commands/insert-block",
|
|
3
|
+
"main": "../../dist/cjs/commands/insert-block.js",
|
|
4
|
+
"module": "../../dist/esm/commands/insert-block.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/commands/insert-block.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/commands/insert-block.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/commands/insert-block.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/common",
|
|
3
|
+
"main": "../dist/cjs/portal/common.js",
|
|
4
|
+
"module": "../dist/esm/portal/common.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/portal/common.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/portal/common.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/portal/common.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/const",
|
|
3
|
+
"main": "../dist/cjs/ui/LinkSearch/const.js",
|
|
4
|
+
"module": "../dist/esm/ui/LinkSearch/const.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/ui/LinkSearch/const.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/ui/LinkSearch/const.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/ui/LinkSearch/const.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/css-helper",
|
|
3
|
+
"main": "../dist/cjs/lazy-node-view/css-helper.js",
|
|
4
|
+
"module": "../dist/esm/lazy-node-view/css-helper.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/lazy-node-view/css-helper.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/lazy-node-view/css-helper.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/lazy-node-view/css-helper.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/custom-panel",
|
|
3
|
+
"main": "../dist/cjs/quick-insert/assets/custom-panel.js",
|
|
4
|
+
"module": "../dist/esm/quick-insert/assets/custom-panel.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/quick-insert/assets/custom-panel.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/quick-insert/assets/custom-panel.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/quick-insert/assets/custom-panel.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -90,11 +90,6 @@ var markdownModeMessages = exports.markdownModeMessages = (0, _reactIntl.defineM
|
|
|
90
90
|
defaultMessage: 'Use all rich text tools',
|
|
91
91
|
description: 'Body row inside the convert-to-rich-text confirmation dialog; explains that the full rich-text toolbar comes back after the conversion.'
|
|
92
92
|
},
|
|
93
|
-
confirmDialogToRichTextInstantEdits: {
|
|
94
|
-
id: 'fabric.editor.markdownMode.confirmDialog.toRichText.instantEdits',
|
|
95
|
-
defaultMessage: 'Edit and save as a live doc',
|
|
96
|
-
description: 'Body row inside the convert-to-rich-text confirmation dialog; reassures the user that live-edit semantics are preserved when leaving markdown mode.'
|
|
97
|
-
},
|
|
98
93
|
confirmDialogToRichTextVersionHistory: {
|
|
99
94
|
id: 'fabric.editor.markdownMode.confirmDialog.toRichText.versionHistory',
|
|
100
95
|
defaultMessage: 'Restore previous drafts with version history',
|
|
@@ -19,7 +19,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
19
19
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
20
20
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
21
21
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
22
|
-
var packageVersion = "114.
|
|
22
|
+
var packageVersion = "114.41.0";
|
|
23
23
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
24
24
|
// Remove URL as it has UGC
|
|
25
25
|
// Ignored via go/ees007
|
|
@@ -24,7 +24,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
24
24
|
* @jsx jsx
|
|
25
25
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
26
|
var packageName = "@atlaskit/editor-common";
|
|
27
|
-
var packageVersion = "114.
|
|
27
|
+
var packageVersion = "114.41.0";
|
|
28
28
|
var halfFocusRing = 1;
|
|
29
29
|
var dropOffset = '0, 8';
|
|
30
30
|
var fadeIn = (0, _react2.keyframes)({
|
|
@@ -104,7 +104,8 @@ var Dropdown = exports.Dropdown = /*#__PURE__*/function (_PureComponent) {
|
|
|
104
104
|
alignY = _this$props.alignY,
|
|
105
105
|
offset = _this$props.offset,
|
|
106
106
|
_this$props$shouldFit = _this$props.shouldFitContainer,
|
|
107
|
-
shouldFitContainer = _this$props$shouldFit === void 0 ? true : _this$props$shouldFit
|
|
107
|
+
shouldFitContainer = _this$props$shouldFit === void 0 ? true : _this$props$shouldFit,
|
|
108
|
+
testId = _this$props.testId;
|
|
108
109
|
return /*#__PURE__*/_react.default.createElement(_Popup.default, {
|
|
109
110
|
target: targetProp !== null && targetProp !== void 0 ? targetProp : alignDropdownWithParentElement ? // Ignored via go/ees005
|
|
110
111
|
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
@@ -137,7 +138,8 @@ var Dropdown = exports.Dropdown = /*#__PURE__*/function (_PureComponent) {
|
|
|
137
138
|
onOpenChange: onOpenChange,
|
|
138
139
|
position: popupPlacement.join(' '),
|
|
139
140
|
shouldFitContainer: shouldFitContainer,
|
|
140
|
-
id: dropdownListId
|
|
141
|
+
id: dropdownListId,
|
|
142
|
+
testId: testId
|
|
141
143
|
}, children))));
|
|
142
144
|
}
|
|
143
145
|
}, {
|
|
@@ -85,11 +85,6 @@ export const markdownModeMessages = defineMessages({
|
|
|
85
85
|
defaultMessage: 'Use all rich text tools',
|
|
86
86
|
description: 'Body row inside the convert-to-rich-text confirmation dialog; explains that the full rich-text toolbar comes back after the conversion.'
|
|
87
87
|
},
|
|
88
|
-
confirmDialogToRichTextInstantEdits: {
|
|
89
|
-
id: 'fabric.editor.markdownMode.confirmDialog.toRichText.instantEdits',
|
|
90
|
-
defaultMessage: 'Edit and save as a live doc',
|
|
91
|
-
description: 'Body row inside the convert-to-rich-text confirmation dialog; reassures the user that live-edit semantics are preserved when leaving markdown mode.'
|
|
92
|
-
},
|
|
93
88
|
confirmDialogToRichTextVersionHistory: {
|
|
94
89
|
id: 'fabric.editor.markdownMode.confirmDialog.toRichText.versionHistory',
|
|
95
90
|
defaultMessage: 'Restore previous drafts with version history',
|
|
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
|
|
|
4
4
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
5
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
6
6
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
7
|
-
const packageVersion = "114.
|
|
7
|
+
const packageVersion = "114.41.0";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "114.
|
|
17
|
+
const packageVersion = "114.41.0";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -78,7 +78,8 @@ export class Dropdown extends PureComponent {
|
|
|
78
78
|
alignX,
|
|
79
79
|
alignY,
|
|
80
80
|
offset,
|
|
81
|
-
shouldFitContainer = true
|
|
81
|
+
shouldFitContainer = true,
|
|
82
|
+
testId
|
|
82
83
|
} = this.props;
|
|
83
84
|
return /*#__PURE__*/React.createElement(Popup, {
|
|
84
85
|
target: targetProp !== null && targetProp !== void 0 ? targetProp : alignDropdownWithParentElement ? // Ignored via go/ees005
|
|
@@ -112,7 +113,8 @@ export class Dropdown extends PureComponent {
|
|
|
112
113
|
onOpenChange: onOpenChange,
|
|
113
114
|
position: popupPlacement.join(' '),
|
|
114
115
|
shouldFitContainer: shouldFitContainer,
|
|
115
|
-
id: dropdownListId
|
|
116
|
+
id: dropdownListId,
|
|
117
|
+
testId: testId
|
|
116
118
|
}, children))));
|
|
117
119
|
}
|
|
118
120
|
render() {
|
|
@@ -85,11 +85,6 @@ export var markdownModeMessages = defineMessages({
|
|
|
85
85
|
defaultMessage: 'Use all rich text tools',
|
|
86
86
|
description: 'Body row inside the convert-to-rich-text confirmation dialog; explains that the full rich-text toolbar comes back after the conversion.'
|
|
87
87
|
},
|
|
88
|
-
confirmDialogToRichTextInstantEdits: {
|
|
89
|
-
id: 'fabric.editor.markdownMode.confirmDialog.toRichText.instantEdits',
|
|
90
|
-
defaultMessage: 'Edit and save as a live doc',
|
|
91
|
-
description: 'Body row inside the convert-to-rich-text confirmation dialog; reassures the user that live-edit semantics are preserved when leaving markdown mode.'
|
|
92
|
-
},
|
|
93
88
|
confirmDialogToRichTextVersionHistory: {
|
|
94
89
|
id: 'fabric.editor.markdownMode.confirmDialog.toRichText.versionHistory',
|
|
95
90
|
defaultMessage: 'Restore previous drafts with version history',
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "114.
|
|
13
|
+
var packageVersion = "114.41.0";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "114.
|
|
24
|
+
var packageVersion = "114.41.0";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -95,7 +95,8 @@ export var Dropdown = /*#__PURE__*/function (_PureComponent) {
|
|
|
95
95
|
alignY = _this$props.alignY,
|
|
96
96
|
offset = _this$props.offset,
|
|
97
97
|
_this$props$shouldFit = _this$props.shouldFitContainer,
|
|
98
|
-
shouldFitContainer = _this$props$shouldFit === void 0 ? true : _this$props$shouldFit
|
|
98
|
+
shouldFitContainer = _this$props$shouldFit === void 0 ? true : _this$props$shouldFit,
|
|
99
|
+
testId = _this$props.testId;
|
|
99
100
|
return /*#__PURE__*/React.createElement(Popup, {
|
|
100
101
|
target: targetProp !== null && targetProp !== void 0 ? targetProp : alignDropdownWithParentElement ? // Ignored via go/ees005
|
|
101
102
|
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
@@ -128,7 +129,8 @@ export var Dropdown = /*#__PURE__*/function (_PureComponent) {
|
|
|
128
129
|
onOpenChange: onOpenChange,
|
|
129
130
|
position: popupPlacement.join(' '),
|
|
130
131
|
shouldFitContainer: shouldFitContainer,
|
|
131
|
-
id: dropdownListId
|
|
132
|
+
id: dropdownListId,
|
|
133
|
+
testId: testId
|
|
132
134
|
}, children))));
|
|
133
135
|
}
|
|
134
136
|
}, {
|
|
@@ -68,11 +68,6 @@ export declare const markdownModeMessages: {
|
|
|
68
68
|
description: string;
|
|
69
69
|
id: string;
|
|
70
70
|
};
|
|
71
|
-
confirmDialogToRichTextInstantEdits: {
|
|
72
|
-
defaultMessage: string;
|
|
73
|
-
description: string;
|
|
74
|
-
id: string;
|
|
75
|
-
};
|
|
76
71
|
confirmDialogToRichTextStandardTools: {
|
|
77
72
|
defaultMessage: string;
|
|
78
73
|
description: string;
|
|
@@ -184,6 +184,36 @@ export type FloatingToolbarInput<T extends Object> = {
|
|
|
184
184
|
title?: string;
|
|
185
185
|
type: 'input';
|
|
186
186
|
};
|
|
187
|
+
export type FloatingToolbarCustomRenderContext = {
|
|
188
|
+
/**
|
|
189
|
+
* Element used as the boundary for positioning floating toolbar popups.
|
|
190
|
+
* Custom toolbar items should pass this through to editor popup/dropdown primitives
|
|
191
|
+
* so their content stays within the same visual constraints as built-in toolbar items.
|
|
192
|
+
*/
|
|
193
|
+
popupsBoundariesElement?: HTMLElement;
|
|
194
|
+
/**
|
|
195
|
+
* Element that editor popups should be mounted into.
|
|
196
|
+
* Use this when rendering custom dropdown or popup content outside the editor DOM
|
|
197
|
+
* to avoid editor stacking-context issues.
|
|
198
|
+
*/
|
|
199
|
+
popupsMountPoint?: HTMLElement;
|
|
200
|
+
/**
|
|
201
|
+
* Scroll container that editor popups should track when recalculating position.
|
|
202
|
+
* Custom toolbar items should pass this through when they need popup content to
|
|
203
|
+
* remain visually attached to the floating toolbar while the editor scrolls.
|
|
204
|
+
*/
|
|
205
|
+
popupsScrollableElement?: HTMLElement;
|
|
206
|
+
/**
|
|
207
|
+
* Whether the floating toolbar can scroll its own contents.
|
|
208
|
+
*/
|
|
209
|
+
scrollable?: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* Temporarily disables or re-enables parent toolbar scrolling.
|
|
212
|
+
* Custom dropdowns should call this while open when they need keyboard or pointer
|
|
213
|
+
* interaction to stay inside the dropdown rather than moving the toolbar contents.
|
|
214
|
+
*/
|
|
215
|
+
setDisableParentScroll?: (disabled: boolean) => void;
|
|
216
|
+
};
|
|
187
217
|
export type FloatingToolbarCustom<T extends Object> = {
|
|
188
218
|
/**
|
|
189
219
|
* By default -- the floating toolbar supports navigating between
|
|
@@ -198,7 +228,7 @@ export type FloatingToolbarCustom<T extends Object> = {
|
|
|
198
228
|
disableArrowNavigation?: boolean;
|
|
199
229
|
fallback: Array<FloatingToolbarFallbackItem<T>>;
|
|
200
230
|
hidden?: boolean;
|
|
201
|
-
render: (view?: EditorView, idx?: number, dispatchAnalyticsEvent?: DispatchAnalyticsEvent) => React.ReactNode;
|
|
231
|
+
render: (view?: EditorView, idx?: number, dispatchAnalyticsEvent?: DispatchAnalyticsEvent, context?: FloatingToolbarCustomRenderContext) => React.ReactNode;
|
|
202
232
|
supportsViewMode?: boolean;
|
|
203
233
|
type: 'custom';
|
|
204
234
|
};
|
|
@@ -13,7 +13,7 @@ export type { FeatureFlags, FeatureFlagKey, GetEditorFeatureFlags } from './feat
|
|
|
13
13
|
export type { Browsers, Range, DisableSpellcheckByBrowser } from './supported-browsers';
|
|
14
14
|
export type { EditorContainerWidth, GetEditorContainerWidth } from './editor-container-width';
|
|
15
15
|
export type { EmptyStateHandler, EmptyStateHandlerParams } from './empty-state-handler';
|
|
16
|
-
export type { RenderOptionsPropsT, DropdownOptionT, DropdownOptions, ExtensionDropdownOptions, SelectOption, ButtonAppearance, Icon, RenderOptionsProps, AlignType, ConfirmDialogChildInfo, ConfirmDialogOptions, ConfirmationDialogProps, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, typeOption, FloatingToolbarOverflowDropdown, FloatingToolbarOverflowDropdownOptions, OverflowDropdownHeading, OverflowDropdownOption, } from './floating-toolbar';
|
|
16
|
+
export type { RenderOptionsPropsT, DropdownOptionT, DropdownOptions, ExtensionDropdownOptions, SelectOption, ButtonAppearance, Icon, RenderOptionsProps, AlignType, ConfirmDialogChildInfo, ConfirmDialogOptions, ConfirmationDialogProps, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarCustomRenderContext, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, typeOption, FloatingToolbarOverflowDropdown, FloatingToolbarOverflowDropdownOptions, OverflowDropdownHeading, OverflowDropdownOption, } from './floating-toolbar';
|
|
17
17
|
export type { MarkOptions, NodeOptions } from './copy-button';
|
|
18
18
|
export type { ContextPanelHandler } from './context-panel';
|
|
19
19
|
export type { EditorAppearance, EditorContentMode } from './editor-appearance';
|
|
@@ -68,11 +68,6 @@ export declare const markdownModeMessages: {
|
|
|
68
68
|
description: string;
|
|
69
69
|
id: string;
|
|
70
70
|
};
|
|
71
|
-
confirmDialogToRichTextInstantEdits: {
|
|
72
|
-
defaultMessage: string;
|
|
73
|
-
description: string;
|
|
74
|
-
id: string;
|
|
75
|
-
};
|
|
76
71
|
confirmDialogToRichTextStandardTools: {
|
|
77
72
|
defaultMessage: string;
|
|
78
73
|
description: string;
|
|
@@ -184,6 +184,36 @@ export type FloatingToolbarInput<T extends Object> = {
|
|
|
184
184
|
title?: string;
|
|
185
185
|
type: 'input';
|
|
186
186
|
};
|
|
187
|
+
export type FloatingToolbarCustomRenderContext = {
|
|
188
|
+
/**
|
|
189
|
+
* Element used as the boundary for positioning floating toolbar popups.
|
|
190
|
+
* Custom toolbar items should pass this through to editor popup/dropdown primitives
|
|
191
|
+
* so their content stays within the same visual constraints as built-in toolbar items.
|
|
192
|
+
*/
|
|
193
|
+
popupsBoundariesElement?: HTMLElement;
|
|
194
|
+
/**
|
|
195
|
+
* Element that editor popups should be mounted into.
|
|
196
|
+
* Use this when rendering custom dropdown or popup content outside the editor DOM
|
|
197
|
+
* to avoid editor stacking-context issues.
|
|
198
|
+
*/
|
|
199
|
+
popupsMountPoint?: HTMLElement;
|
|
200
|
+
/**
|
|
201
|
+
* Scroll container that editor popups should track when recalculating position.
|
|
202
|
+
* Custom toolbar items should pass this through when they need popup content to
|
|
203
|
+
* remain visually attached to the floating toolbar while the editor scrolls.
|
|
204
|
+
*/
|
|
205
|
+
popupsScrollableElement?: HTMLElement;
|
|
206
|
+
/**
|
|
207
|
+
* Whether the floating toolbar can scroll its own contents.
|
|
208
|
+
*/
|
|
209
|
+
scrollable?: boolean;
|
|
210
|
+
/**
|
|
211
|
+
* Temporarily disables or re-enables parent toolbar scrolling.
|
|
212
|
+
* Custom dropdowns should call this while open when they need keyboard or pointer
|
|
213
|
+
* interaction to stay inside the dropdown rather than moving the toolbar contents.
|
|
214
|
+
*/
|
|
215
|
+
setDisableParentScroll?: (disabled: boolean) => void;
|
|
216
|
+
};
|
|
187
217
|
export type FloatingToolbarCustom<T extends Object> = {
|
|
188
218
|
/**
|
|
189
219
|
* By default -- the floating toolbar supports navigating between
|
|
@@ -198,7 +228,7 @@ export type FloatingToolbarCustom<T extends Object> = {
|
|
|
198
228
|
disableArrowNavigation?: boolean;
|
|
199
229
|
fallback: Array<FloatingToolbarFallbackItem<T>>;
|
|
200
230
|
hidden?: boolean;
|
|
201
|
-
render: (view?: EditorView, idx?: number, dispatchAnalyticsEvent?: DispatchAnalyticsEvent) => React.ReactNode;
|
|
231
|
+
render: (view?: EditorView, idx?: number, dispatchAnalyticsEvent?: DispatchAnalyticsEvent, context?: FloatingToolbarCustomRenderContext) => React.ReactNode;
|
|
202
232
|
supportsViewMode?: boolean;
|
|
203
233
|
type: 'custom';
|
|
204
234
|
};
|
|
@@ -13,7 +13,7 @@ export type { FeatureFlags, FeatureFlagKey, GetEditorFeatureFlags } from './feat
|
|
|
13
13
|
export type { Browsers, Range, DisableSpellcheckByBrowser } from './supported-browsers';
|
|
14
14
|
export type { EditorContainerWidth, GetEditorContainerWidth } from './editor-container-width';
|
|
15
15
|
export type { EmptyStateHandler, EmptyStateHandlerParams } from './empty-state-handler';
|
|
16
|
-
export type { RenderOptionsPropsT, DropdownOptionT, DropdownOptions, ExtensionDropdownOptions, SelectOption, ButtonAppearance, Icon, RenderOptionsProps, AlignType, ConfirmDialogChildInfo, ConfirmDialogOptions, ConfirmationDialogProps, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, typeOption, FloatingToolbarOverflowDropdown, FloatingToolbarOverflowDropdownOptions, OverflowDropdownHeading, OverflowDropdownOption, } from './floating-toolbar';
|
|
16
|
+
export type { RenderOptionsPropsT, DropdownOptionT, DropdownOptions, ExtensionDropdownOptions, SelectOption, ButtonAppearance, Icon, RenderOptionsProps, AlignType, ConfirmDialogChildInfo, ConfirmDialogOptions, ConfirmationDialogProps, FloatingToolbarButton, FloatingToolbarCopyButton, FloatingToolbarInput, FloatingToolbarCustom, FloatingToolbarCustomRenderContext, FloatingToolbarListPicker, FloatingToolbarColorPicker, FloatingToolbarEmojiPicker, FloatingToolbarDatePicker, FloatingToolbarSelect, FloatingToolbarSeparator, FloatingToolbarDropdown, FloatingToolbarFallbackItem, FloatingToolbarItem, FloatingToolbarConfig, FloatingToolbarHandler, typeOption, FloatingToolbarOverflowDropdown, FloatingToolbarOverflowDropdownOptions, OverflowDropdownHeading, OverflowDropdownOption, } from './floating-toolbar';
|
|
17
17
|
export type { MarkOptions, NodeOptions } from './copy-button';
|
|
18
18
|
export type { ContextPanelHandler } from './context-panel';
|
|
19
19
|
export type { EditorAppearance, EditorContentMode } from './editor-appearance';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/doc-utils/editor-use-only",
|
|
3
|
+
"main": "../../dist/cjs/doc-utils/editor-use-only.js",
|
|
4
|
+
"module": "../../dist/esm/doc-utils/editor-use-only.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/doc-utils/editor-use-only.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/doc-utils/editor-use-only.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/doc-utils/editor-use-only.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/document-logger",
|
|
3
|
+
"main": "../dist/cjs/core-utils/document-logger.js",
|
|
4
|
+
"module": "../dist/esm/core-utils/document-logger.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/core-utils/document-logger.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/core-utils/document-logger.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/core-utils/document-logger.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/editor-ugc-token-names",
|
|
3
|
+
"main": "../dist/cjs/ugc-tokens/editor-ugc-token-names.js",
|
|
4
|
+
"module": "../dist/esm/ugc-tokens/editor-ugc-token-names.js",
|
|
5
|
+
"module:es2019": "../dist/es2019/ugc-tokens/editor-ugc-token-names.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../dist/types/ugc-tokens/editor-ugc-token-names.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../dist/types-ts4.5/ugc-tokens/editor-ugc-token-names.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/element-browser/ElementBrowserLoader",
|
|
3
|
+
"main": "../../dist/cjs/element-browser/components/ElementBrowserLoader.js",
|
|
4
|
+
"module": "../../dist/esm/element-browser/components/ElementBrowserLoader.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/element-browser/components/ElementBrowserLoader.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/element-browser/components/ElementBrowserLoader.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/element-browser/components/ElementBrowserLoader.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/element-browser/constants",
|
|
3
|
+
"main": "../../dist/cjs/element-browser/constants.js",
|
|
4
|
+
"module": "../../dist/esm/element-browser/constants.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/element-browser/constants.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/element-browser/constants.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/element-browser/constants.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/emoji/messages",
|
|
3
|
+
"main": "../../dist/cjs/emoji/messages.js",
|
|
4
|
+
"module": "../../dist/esm/emoji/messages.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/emoji/messages.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/emoji/messages.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/emoji/messages.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/experiences/Experience",
|
|
3
|
+
"main": "../../dist/cjs/experiences/Experience.js",
|
|
4
|
+
"module": "../../dist/esm/experiences/Experience.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/experiences/Experience.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/experiences/Experience.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/experiences/Experience.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/experiences/ExperienceCheck",
|
|
3
|
+
"main": "../../dist/cjs/experiences/ExperienceCheck.js",
|
|
4
|
+
"module": "../../dist/esm/experiences/ExperienceCheck.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/experiences/ExperienceCheck.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/experiences/ExperienceCheck.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/experiences/ExperienceCheck.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/experiences/ExperienceCheckComposite",
|
|
3
|
+
"main": "../../dist/cjs/experiences/ExperienceCheckComposite.js",
|
|
4
|
+
"module": "../../dist/esm/experiences/ExperienceCheckComposite.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/experiences/ExperienceCheckComposite.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/experiences/ExperienceCheckComposite.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/experiences/ExperienceCheckComposite.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/experiences/ExperienceCheckDomMutation",
|
|
3
|
+
"main": "../../dist/cjs/experiences/ExperienceCheckDomMutation.js",
|
|
4
|
+
"module": "../../dist/esm/experiences/ExperienceCheckDomMutation.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/experiences/ExperienceCheckDomMutation.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/experiences/ExperienceCheckDomMutation.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/experiences/ExperienceCheckDomMutation.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@atlaskit/editor-common/experiences/ExperienceCheckPopupMutation",
|
|
3
|
+
"main": "../../dist/cjs/experiences/ExperienceCheckPopupMutation.js",
|
|
4
|
+
"module": "../../dist/esm/experiences/ExperienceCheckPopupMutation.js",
|
|
5
|
+
"module:es2019": "../../dist/es2019/experiences/ExperienceCheckPopupMutation.js",
|
|
6
|
+
"sideEffects": [
|
|
7
|
+
"**/*.compiled.css"
|
|
8
|
+
],
|
|
9
|
+
"types": "../../dist/types/experiences/ExperienceCheckPopupMutation.d.ts",
|
|
10
|
+
"typesVersions": {
|
|
11
|
+
">=4.5 <5.9": {
|
|
12
|
+
"*": [
|
|
13
|
+
"../../dist/types-ts4.5/experiences/ExperienceCheckPopupMutation.d.ts"
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
}
|