@atlaskit/editor-common 112.5.0 → 112.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +15 -0
- package/codemods/69.0.0-update-validator-imports.ts +5 -2
- package/codemods/migrates/entry-points.ts +3 -3
- package/dist/cjs/card/LinkToolbarButtonGroup.js +1 -1
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/cjs/element-browser/messages.js +3 -2
- package/dist/cjs/extensibility/Extension/InlineExtension/index.js +1 -1
- package/dist/cjs/extensibility/Extension/LegacyContentHeader/index.js +1 -1
- package/dist/cjs/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/cjs/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/cjs/extensibility/Extension/Lozenge/LozengeComponent.js +1 -1
- package/dist/cjs/extensibility/Extension/Lozenge/index.js +1 -1
- package/dist/cjs/extensibility/ExtensionNodeWrapper.js +1 -1
- package/dist/cjs/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/cjs/extensions/extension-handlers.js +6 -2
- package/dist/cjs/floating-toolbar/DropdownMenuItem.js +1 -1
- package/dist/cjs/floating-toolbar/DropdownSeparator.js +1 -1
- package/dist/cjs/floating-toolbar/messages.js +3 -2
- package/dist/cjs/icons/shared/DynamicStrokeIconDecoration.js +1 -1
- package/dist/cjs/icons/shared/SteppedRainbowIconDecoration.js +1 -1
- package/dist/cjs/keymaps/index.js +1 -1
- package/dist/cjs/link/ConfigureLinkOverlay/Dropdown.js +3 -2
- package/dist/cjs/link/ConfigureLinkOverlay/StyledButton.js +1 -1
- package/dist/cjs/link/LinkPicker/EditorLinkPicker/index.js +6 -1
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +13 -5
- package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -1
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +2 -0
- package/dist/cjs/media-inline/inline-image-wrapper.js +1 -1
- package/dist/cjs/media-inline/media-inline-image-card.js +1 -1
- package/dist/cjs/media-inline/views/error-view.js +1 -1
- package/dist/cjs/media-inline/views/frame.js +1 -1
- package/dist/cjs/media-inline/views/icon-wrapper.js +1 -1
- package/dist/cjs/media-inline/views/loading-view.js +1 -1
- package/dist/cjs/messages/index.js +4 -2
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/resizer/Resizer.js +2 -1
- package/dist/cjs/table/SortingIcon.js +3 -1
- package/dist/cjs/ui/Announcer/announcer.js +2 -1
- package/dist/cjs/ui/AssistiveText/AssistiveText.js +1 -1
- package/dist/cjs/ui/Caption/index.js +4 -3
- package/dist/cjs/ui/ContextPanel/context.js +2 -2
- package/dist/cjs/ui/DropList/index.js +4 -3
- package/dist/cjs/ui/Emoji/index.js +2 -1
- package/dist/cjs/ui/Expand/index.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/Button.js +5 -2
- package/dist/cjs/ui/FloatingToolbar/Separator.js +1 -1
- package/dist/cjs/ui/FloatingToolbar/SmallerEditIcon.js +1 -1
- package/dist/cjs/ui/HoverLinkOverlay/index.js +1 -0
- package/dist/cjs/ui/MediaSingle/index.js +1 -1
- package/dist/cjs/ui/MediaSingle/styled.js +1 -1
- package/dist/cjs/ui/Messages/index.js +1 -1
- package/dist/cjs/ui/PanelTextInput/index.js +1 -1
- package/dist/cjs/ui/Popup/utils.js +3 -3
- package/dist/cjs/ui/TableSelector/index.js +1 -1
- package/dist/cjs/ui/TableSelector/table-selector.js +2 -1
- package/dist/cjs/ui/UnsupportedBlock/index.js +4 -1
- package/dist/cjs/ui/UnsupportedInline/index.js +4 -1
- package/dist/cjs/ui/WidthProvider/index.js +3 -3
- package/dist/cjs/ui-color/ColorPalette/Color/index.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Palettes/highlightColorPalette.js +1 -1
- package/dist/cjs/ui-color/ColorPalette/Palettes/paletteMessages.js +3 -2
- package/dist/cjs/ui-color/ColorPalette/index.js +4 -1
- package/dist/cjs/ui-menu/ColorPickerButton/index.js +3 -2
- package/dist/cjs/ui-menu/DropdownMenu/index.js +3 -1
- package/dist/cjs/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +1 -1
- package/dist/cjs/ui-menu/ToolbarButton/styles.js +4 -2
- package/dist/cjs/utils/hyperlink.js +10 -4
- package/dist/es2019/card/LinkToolbarButtonGroup.js +1 -1
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/es2019/element-browser/messages.js +3 -2
- package/dist/es2019/extensibility/Extension/InlineExtension/index.js +1 -1
- package/dist/es2019/extensibility/Extension/LegacyContentHeader/index.js +1 -1
- package/dist/es2019/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/es2019/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/es2019/extensibility/Extension/Lozenge/LozengeComponent.js +1 -1
- package/dist/es2019/extensibility/Extension/Lozenge/index.js +1 -1
- package/dist/es2019/extensibility/ExtensionNodeWrapper.js +1 -1
- package/dist/es2019/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/es2019/extensions/extension-handlers.js +6 -2
- package/dist/es2019/floating-toolbar/DropdownMenuItem.js +1 -1
- package/dist/es2019/floating-toolbar/DropdownSeparator.js +1 -1
- package/dist/es2019/floating-toolbar/messages.js +3 -2
- package/dist/es2019/icons/shared/DynamicStrokeIconDecoration.js +1 -1
- package/dist/es2019/icons/shared/SteppedRainbowIconDecoration.js +1 -1
- package/dist/es2019/keymaps/index.js +1 -1
- package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +3 -2
- package/dist/es2019/link/ConfigureLinkOverlay/StyledButton.js +1 -1
- package/dist/es2019/link/LinkPicker/EditorLinkPicker/index.js +6 -1
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +13 -5
- package/dist/es2019/link/LinkSearch/LinkSearchList.js +1 -1
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +2 -0
- package/dist/es2019/media-inline/inline-image-wrapper.js +1 -1
- package/dist/es2019/media-inline/media-inline-image-card.js +1 -1
- package/dist/es2019/media-inline/views/error-view.js +1 -1
- package/dist/es2019/media-inline/views/frame.js +1 -1
- package/dist/es2019/media-inline/views/icon-wrapper.js +1 -1
- package/dist/es2019/media-inline/views/loading-view.js +1 -1
- package/dist/es2019/messages/index.js +3 -2
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/resizer/Resizer.js +2 -1
- package/dist/es2019/table/SortingIcon.js +4 -1
- package/dist/es2019/ui/Announcer/announcer.js +2 -1
- package/dist/es2019/ui/AssistiveText/AssistiveText.js +1 -1
- package/dist/es2019/ui/Caption/index.js +5 -2
- package/dist/es2019/ui/ContextPanel/context.js +2 -4
- package/dist/es2019/ui/DropList/index.js +4 -3
- package/dist/es2019/ui/Emoji/index.js +2 -1
- package/dist/es2019/ui/Expand/index.js +1 -1
- package/dist/es2019/ui/FloatingToolbar/Button.js +4 -1
- package/dist/es2019/ui/FloatingToolbar/Separator.js +1 -1
- package/dist/es2019/ui/FloatingToolbar/SmallerEditIcon.js +1 -1
- package/dist/es2019/ui/HoverLinkOverlay/index.js +2 -0
- package/dist/es2019/ui/MediaSingle/index.js +1 -1
- package/dist/es2019/ui/MediaSingle/styled.js +1 -1
- package/dist/es2019/ui/Messages/index.js +1 -1
- package/dist/es2019/ui/PanelTextInput/index.js +1 -1
- package/dist/es2019/ui/Popup/utils.js +3 -3
- package/dist/es2019/ui/TableSelector/index.js +1 -1
- package/dist/es2019/ui/TableSelector/table-selector.js +2 -1
- package/dist/es2019/ui/UnsupportedBlock/index.js +4 -1
- package/dist/es2019/ui/UnsupportedInline/index.js +4 -1
- package/dist/es2019/ui/WidthProvider/index.js +3 -5
- package/dist/es2019/ui-color/ColorPalette/Color/index.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Palettes/highlightColorPalette.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Palettes/paletteMessages.js +3 -2
- package/dist/es2019/ui-color/ColorPalette/index.js +4 -1
- package/dist/es2019/ui-menu/ColorPickerButton/index.js +3 -2
- package/dist/es2019/ui-menu/DropdownMenu/index.js +3 -1
- package/dist/es2019/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +1 -1
- package/dist/es2019/ui-menu/ToolbarButton/styles.js +3 -2
- package/dist/es2019/utils/hyperlink.js +10 -4
- package/dist/esm/card/LinkToolbarButtonGroup.js +1 -1
- package/dist/esm/element-browser/components/ElementList/ElementList.js +1 -1
- package/dist/esm/element-browser/messages.js +3 -2
- package/dist/esm/extensibility/Extension/InlineExtension/index.js +1 -1
- package/dist/esm/extensibility/Extension/LegacyContentHeader/index.js +1 -1
- package/dist/esm/extensibility/Extension/Lozenge/EditToggle.js +1 -1
- package/dist/esm/extensibility/Extension/Lozenge/ExtensionLabel.js +1 -1
- package/dist/esm/extensibility/Extension/Lozenge/LozengeComponent.js +1 -1
- package/dist/esm/extensibility/Extension/Lozenge/index.js +1 -1
- package/dist/esm/extensibility/ExtensionNodeWrapper.js +1 -1
- package/dist/esm/extensibility/MultiBodiedExtension/index.js +1 -1
- package/dist/esm/extensions/extension-handlers.js +6 -2
- package/dist/esm/floating-toolbar/DropdownMenuItem.js +1 -1
- package/dist/esm/floating-toolbar/DropdownSeparator.js +1 -1
- package/dist/esm/floating-toolbar/messages.js +3 -2
- package/dist/esm/icons/shared/DynamicStrokeIconDecoration.js +1 -1
- package/dist/esm/icons/shared/SteppedRainbowIconDecoration.js +1 -1
- package/dist/esm/keymaps/index.js +1 -1
- package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +3 -2
- package/dist/esm/link/ConfigureLinkOverlay/StyledButton.js +1 -1
- package/dist/esm/link/LinkPicker/EditorLinkPicker/index.js +6 -1
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +13 -5
- package/dist/esm/link/LinkSearch/LinkSearchList.js +1 -1
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +2 -0
- package/dist/esm/media-inline/inline-image-wrapper.js +1 -1
- package/dist/esm/media-inline/media-inline-image-card.js +1 -1
- package/dist/esm/media-inline/views/error-view.js +1 -1
- package/dist/esm/media-inline/views/frame.js +1 -1
- package/dist/esm/media-inline/views/icon-wrapper.js +1 -1
- package/dist/esm/media-inline/views/loading-view.js +1 -1
- package/dist/esm/messages/index.js +3 -2
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/resizer/Resizer.js +2 -1
- package/dist/esm/table/SortingIcon.js +4 -1
- package/dist/esm/ui/Announcer/announcer.js +2 -1
- package/dist/esm/ui/AssistiveText/AssistiveText.js +1 -1
- package/dist/esm/ui/Caption/index.js +5 -2
- package/dist/esm/ui/ContextPanel/context.js +2 -2
- package/dist/esm/ui/DropList/index.js +4 -3
- package/dist/esm/ui/Emoji/index.js +2 -1
- package/dist/esm/ui/Expand/index.js +1 -1
- package/dist/esm/ui/FloatingToolbar/Button.js +5 -2
- package/dist/esm/ui/FloatingToolbar/Separator.js +1 -1
- package/dist/esm/ui/FloatingToolbar/SmallerEditIcon.js +1 -1
- package/dist/esm/ui/HoverLinkOverlay/index.js +2 -0
- package/dist/esm/ui/MediaSingle/index.js +1 -1
- package/dist/esm/ui/MediaSingle/styled.js +3 -2
- package/dist/esm/ui/Messages/index.js +1 -1
- package/dist/esm/ui/PanelTextInput/index.js +1 -1
- package/dist/esm/ui/Popup/utils.js +3 -3
- package/dist/esm/ui/TableSelector/index.js +1 -1
- package/dist/esm/ui/TableSelector/table-selector.js +2 -1
- package/dist/esm/ui/UnsupportedBlock/index.js +4 -1
- package/dist/esm/ui/UnsupportedInline/index.js +4 -1
- package/dist/esm/ui/WidthProvider/index.js +3 -3
- package/dist/esm/ui-color/ColorPalette/Color/index.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Palettes/highlightColorPalette.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Palettes/paletteMessages.js +3 -2
- package/dist/esm/ui-color/ColorPalette/index.js +4 -1
- package/dist/esm/ui-menu/ColorPickerButton/index.js +3 -2
- package/dist/esm/ui-menu/DropdownMenu/index.js +6 -3
- package/dist/esm/ui-menu/ToolbarArrowKeyNavigationProvider/index.js +1 -1
- package/dist/esm/ui-menu/ToolbarButton/styles.js +3 -2
- package/dist/esm/utils/hyperlink.js +10 -4
- package/dist/types/ai-messages/ai-suggestions.d.ts +3 -3
- package/dist/types/analytics/analytics-queue.d.ts +2 -1
- package/dist/types/analytics/fire-analytics-event.d.ts +1 -1
- package/dist/types/block-menu/rank-deprecated.d.ts +8 -60
- package/dist/types/card/link-toolbar-button-group-options.d.ts +19 -18
- package/dist/types/element-browser/components/CategoryList.d.ts +2 -2
- package/dist/types/element-browser/components/ElementList/ElementList.d.ts +2 -2
- package/dist/types/element-browser/components/ElementSearch.d.ts +3 -2
- package/dist/types/element-browser/components/StatelessElementBrowser.d.ts +2 -2
- package/dist/types/element-browser/constants.d.ts +2 -2
- package/dist/types/element-browser/hooks/use-focus.d.ts +2 -1
- package/dist/types/element-browser/messages.d.ts +2 -2
- package/dist/types/extensions/manifest-helpers.d.ts +2 -2
- package/dist/types/floating-toolbar/messages.d.ts +2 -2
- package/dist/types/guideline/snapping.d.ts +2 -1
- package/dist/types/keymaps/keymap.d.ts +1 -1
- package/dist/types/lazy-node-view/index.d.ts +1 -1
- package/dist/types/link/ConfigureLinkOverlay/Dropdown.d.ts +4 -3
- package/dist/types/link/ConfigureLinkOverlay/index.d.ts +3 -2
- package/dist/types/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +2 -1
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +18 -18
- package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +2 -2
- package/dist/types/media-single/CommentBadge.d.ts +6 -1
- package/dist/types/messages/index.d.ts +2 -2
- package/dist/types/messages/track-changes.d.ts +0 -5
- package/dist/types/react-node-view/index.d.ts +1 -1
- package/dist/types/react-node-view/onVisibleObserverFactory.d.ts +2 -1
- package/dist/types/resizer/Resizer.d.ts +2 -2
- package/dist/types/styles/shared/headings.d.ts +2 -1
- package/dist/types/styles/shared/media-single.d.ts +3 -2
- package/dist/types/styles/shared/native-anchor.d.ts +5 -3
- package/dist/types/styles/shared/resizer.d.ts +3 -3
- package/dist/types/styles/shared/table.d.ts +2 -1
- package/dist/types/styles/shared/tableCell.d.ts +2 -1
- package/dist/types/table/SortingIcon.d.ts +9 -4
- package/dist/types/ui/Announcer/announcer.d.ts +2 -2
- package/dist/types/ui/BaseTheme/index.d.ts +1 -1
- package/dist/types/ui/Caption/index.d.ts +3 -3
- package/dist/types/ui/ContextPanel/context.d.ts +2 -1
- package/dist/types/ui/DropList/index.d.ts +4 -4
- package/dist/types/ui/EditorContext/index.d.ts +1 -1
- package/dist/types/ui/Emoji/index.d.ts +2 -2
- package/dist/types/ui/Expand/index.d.ts +1 -1
- package/dist/types/ui/FloatingToolbar/Button.d.ts +2 -2
- package/dist/types/ui/Layer/internal/helpers.d.ts +2 -1
- package/dist/types/ui/MediaSingle/styled.d.ts +3 -3
- package/dist/types/ui/ResizerLegacy/styled.d.ts +2 -1
- package/dist/types/ui/TableSelector/table-selector.d.ts +5 -5
- package/dist/types/ui/UnsupportedBlock/index.d.ts +3 -3
- package/dist/types/ui/UnsupportedInline/index.d.ts +3 -3
- package/dist/types/ui/WidthProvider/index.d.ts +2 -1
- package/dist/types/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +2 -2
- package/dist/types/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +4 -3
- package/dist/types/ui-color/ColorPalette/index.d.ts +3 -3
- package/dist/types/ui-menu/ColorPickerButton/index.d.ts +4 -4
- package/dist/types/ui-menu/ToolbarButton/index.d.ts +1 -1
- package/dist/types/ui-menu/ToolbarButton/styles.d.ts +2 -2
- package/dist/types/user-intent/UserIntentPopupWrapper.d.ts +2 -1
- package/dist/types/utils/breakout.d.ts +2 -2
- package/dist/types/utils/create-wrap-selection-transaction.d.ts +2 -2
- package/dist/types/utils/referentiality.d.ts +2 -2
- package/dist/types-ts4.5/ai-messages/ai-suggestions.d.ts +3 -3
- package/dist/types-ts4.5/analytics/analytics-queue.d.ts +2 -1
- package/dist/types-ts4.5/analytics/fire-analytics-event.d.ts +1 -1
- package/dist/types-ts4.5/block-menu/rank-deprecated.d.ts +8 -60
- package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +19 -18
- package/dist/types-ts4.5/element-browser/components/CategoryList.d.ts +2 -2
- package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +2 -2
- package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +3 -2
- package/dist/types-ts4.5/element-browser/components/StatelessElementBrowser.d.ts +2 -2
- package/dist/types-ts4.5/element-browser/constants.d.ts +2 -2
- package/dist/types-ts4.5/element-browser/hooks/use-focus.d.ts +2 -1
- package/dist/types-ts4.5/element-browser/messages.d.ts +2 -2
- package/dist/types-ts4.5/extensions/manifest-helpers.d.ts +2 -2
- package/dist/types-ts4.5/floating-toolbar/messages.d.ts +2 -2
- package/dist/types-ts4.5/guideline/snapping.d.ts +2 -1
- package/dist/types-ts4.5/keymaps/keymap.d.ts +1 -1
- package/dist/types-ts4.5/lazy-node-view/index.d.ts +1 -1
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/Dropdown.d.ts +4 -3
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/index.d.ts +3 -2
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +2 -1
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +18 -18
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +2 -2
- package/dist/types-ts4.5/media-single/CommentBadge.d.ts +6 -1
- package/dist/types-ts4.5/messages/index.d.ts +2 -2
- package/dist/types-ts4.5/messages/track-changes.d.ts +0 -5
- package/dist/types-ts4.5/react-node-view/index.d.ts +1 -1
- package/dist/types-ts4.5/react-node-view/onVisibleObserverFactory.d.ts +2 -1
- package/dist/types-ts4.5/resizer/Resizer.d.ts +2 -2
- package/dist/types-ts4.5/styles/shared/headings.d.ts +2 -1
- package/dist/types-ts4.5/styles/shared/media-single.d.ts +3 -2
- package/dist/types-ts4.5/styles/shared/native-anchor.d.ts +5 -3
- package/dist/types-ts4.5/styles/shared/resizer.d.ts +3 -3
- package/dist/types-ts4.5/styles/shared/table.d.ts +2 -1
- package/dist/types-ts4.5/styles/shared/tableCell.d.ts +2 -1
- package/dist/types-ts4.5/table/SortingIcon.d.ts +9 -4
- package/dist/types-ts4.5/ui/Announcer/announcer.d.ts +2 -2
- package/dist/types-ts4.5/ui/BaseTheme/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Caption/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/ContextPanel/context.d.ts +2 -1
- package/dist/types-ts4.5/ui/DropList/index.d.ts +4 -4
- package/dist/types-ts4.5/ui/EditorContext/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Emoji/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/Expand/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +2 -2
- package/dist/types-ts4.5/ui/Layer/internal/helpers.d.ts +2 -1
- package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +3 -3
- package/dist/types-ts4.5/ui/ResizerLegacy/styled.d.ts +2 -1
- package/dist/types-ts4.5/ui/TableSelector/table-selector.d.ts +5 -5
- package/dist/types-ts4.5/ui/UnsupportedBlock/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/UnsupportedInline/index.d.ts +3 -3
- package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +2 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/paletteMessages.d.ts +2 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/textColorPalette.d.ts +4 -3
- package/dist/types-ts4.5/ui-color/ColorPalette/index.d.ts +3 -3
- package/dist/types-ts4.5/ui-menu/ColorPickerButton/index.d.ts +4 -4
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ToolbarButton/styles.d.ts +2 -2
- package/dist/types-ts4.5/user-intent/UserIntentPopupWrapper.d.ts +2 -1
- package/dist/types-ts4.5/utils/breakout.d.ts +2 -2
- package/dist/types-ts4.5/utils/create-wrap-selection-transaction.d.ts +2 -2
- package/dist/types-ts4.5/utils/referentiality.d.ts +2 -2
- package/package.json +2 -2
|
@@ -69,17 +69,17 @@ export declare const aiSuggestionsMessages: {
|
|
|
69
69
|
defaultMessage: string;
|
|
70
70
|
description: string;
|
|
71
71
|
};
|
|
72
|
-
|
|
72
|
+
cardExpandButtonLabel: {
|
|
73
73
|
id: string;
|
|
74
74
|
defaultMessage: string;
|
|
75
75
|
description: string;
|
|
76
76
|
};
|
|
77
|
-
|
|
77
|
+
cardCollapseButtonLabel: {
|
|
78
78
|
id: string;
|
|
79
79
|
defaultMessage: string;
|
|
80
80
|
description: string;
|
|
81
81
|
};
|
|
82
|
-
|
|
82
|
+
cardCloseButtonLabel: {
|
|
83
83
|
id: string;
|
|
84
84
|
defaultMessage: string;
|
|
85
85
|
description: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
1
2
|
export declare class AnalyticsQueue {
|
|
2
3
|
private readonly tasks;
|
|
3
4
|
private running;
|
|
4
|
-
static get:
|
|
5
|
+
static get: MemoizedFn<() => AnalyticsQueue>;
|
|
5
6
|
private constructor();
|
|
6
7
|
private request;
|
|
7
8
|
private pending;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { FabricChannel } from '@atlaskit/analytics-listeners/types';
|
|
2
2
|
import type { FireAnalyticsEvent } from './types/events';
|
|
3
|
-
export declare const editorAnalyticsChannel
|
|
3
|
+
export declare const editorAnalyticsChannel: FabricChannel.editor;
|
|
4
4
|
export declare const fireAnalyticsEvent: FireAnalyticsEvent;
|
|
@@ -1,92 +1,40 @@
|
|
|
1
|
-
import { DELETE_MENU_ITEM, DELETE_MENU_SECTION, TRANSFORM_MENU_ITEM } from './key';
|
|
2
|
-
import { FORMAT_HEADING_1_MENU_ITEM, FORMAT_HEADING_2_MENU_ITEM, FORMAT_HEADING_3_MENU_ITEM, FORMAT_HEADING_4_MENU_ITEM, FORMAT_HEADING_5_MENU_ITEM, FORMAT_HEADING_6_MENU_ITEM, FORMAT_PARAGRAPH_MENU_ITEM, FORMAT_QUOTE_MENU_ITEM, FORMAT_EXPAND_MENU_ITEM, FORMAT_LAYOUT_MENU_ITEM, FORMAT_PANEL_MENU_ITEM, FORMAT_CODE_BLOCK_MENU_ITEM, FORMAT_BULLETED_LIST_MENU_ITEM, FORMAT_NUMBERED_LIST_MENU_ITEM, FORMAT_TASK_LIST_MENU_ITEM, COPY_LINK_MENU_ITEM, MOVE_UP_MENU_ITEM, MOVE_DOWN_MENU_ITEM, PRIMARY_MENU_SECTION, COPY_MENU_SECTION, FORMAT_MENU_ITEM, MOVE_UP_DOWN_MENU_SECTION, ADD_BLOCKS_MENU_SECTION, CREATE_SYNCED_BLOCK_MENU_ITEM } from './key-deprecated';
|
|
3
1
|
/**
|
|
4
2
|
* @private
|
|
5
3
|
* @deprecated
|
|
6
4
|
*/
|
|
7
|
-
export declare const FORMAT_NESTED_MENU_RANK: {
|
|
8
|
-
[FORMAT_PARAGRAPH_MENU_ITEM.key]: number;
|
|
9
|
-
[FORMAT_QUOTE_MENU_ITEM.key]: number;
|
|
10
|
-
[FORMAT_EXPAND_MENU_ITEM.key]: number;
|
|
11
|
-
[FORMAT_LAYOUT_MENU_ITEM.key]: number;
|
|
12
|
-
[FORMAT_PANEL_MENU_ITEM.key]: number;
|
|
13
|
-
[FORMAT_CODE_BLOCK_MENU_ITEM.key]: number;
|
|
14
|
-
[FORMAT_BULLETED_LIST_MENU_ITEM.key]: number;
|
|
15
|
-
[FORMAT_NUMBERED_LIST_MENU_ITEM.key]: number;
|
|
16
|
-
[FORMAT_TASK_LIST_MENU_ITEM.key]: number;
|
|
17
|
-
[FORMAT_HEADING_1_MENU_ITEM.key]: number;
|
|
18
|
-
[FORMAT_HEADING_2_MENU_ITEM.key]: number;
|
|
19
|
-
[FORMAT_HEADING_3_MENU_ITEM.key]: number;
|
|
20
|
-
[FORMAT_HEADING_4_MENU_ITEM.key]: number;
|
|
21
|
-
[FORMAT_HEADING_5_MENU_ITEM.key]: number;
|
|
22
|
-
[FORMAT_HEADING_6_MENU_ITEM.key]: number;
|
|
23
|
-
};
|
|
5
|
+
export declare const FORMAT_NESTED_MENU_RANK: {};
|
|
24
6
|
/**
|
|
25
7
|
* @private
|
|
26
8
|
* @deprecated
|
|
27
9
|
*/
|
|
28
|
-
export declare const FORMAT_NESTED_MENU_RANK_REVISED: {
|
|
29
|
-
[FORMAT_PARAGRAPH_MENU_ITEM.key]: number;
|
|
30
|
-
[FORMAT_QUOTE_MENU_ITEM.key]: number;
|
|
31
|
-
[FORMAT_EXPAND_MENU_ITEM.key]: number;
|
|
32
|
-
[FORMAT_LAYOUT_MENU_ITEM.key]: number;
|
|
33
|
-
[FORMAT_PANEL_MENU_ITEM.key]: number;
|
|
34
|
-
[FORMAT_CODE_BLOCK_MENU_ITEM.key]: number;
|
|
35
|
-
[FORMAT_BULLETED_LIST_MENU_ITEM.key]: number;
|
|
36
|
-
[FORMAT_NUMBERED_LIST_MENU_ITEM.key]: number;
|
|
37
|
-
[FORMAT_TASK_LIST_MENU_ITEM.key]: number;
|
|
38
|
-
[FORMAT_HEADING_1_MENU_ITEM.key]: number;
|
|
39
|
-
[FORMAT_HEADING_2_MENU_ITEM.key]: number;
|
|
40
|
-
[FORMAT_HEADING_3_MENU_ITEM.key]: number;
|
|
41
|
-
[FORMAT_HEADING_4_MENU_ITEM.key]: number;
|
|
42
|
-
[FORMAT_HEADING_5_MENU_ITEM.key]: number;
|
|
43
|
-
[FORMAT_HEADING_6_MENU_ITEM.key]: number;
|
|
44
|
-
};
|
|
10
|
+
export declare const FORMAT_NESTED_MENU_RANK_REVISED: {};
|
|
45
11
|
/**
|
|
46
12
|
* @private
|
|
47
13
|
* @deprecated
|
|
48
14
|
*/
|
|
49
|
-
export declare const BLOCK_MENU_SECTION_RANK: {
|
|
50
|
-
[PRIMARY_MENU_SECTION.key]: number;
|
|
51
|
-
[ADD_BLOCKS_MENU_SECTION.key]: number;
|
|
52
|
-
[COPY_MENU_SECTION.key]: number;
|
|
53
|
-
[MOVE_UP_DOWN_MENU_SECTION.key]: number;
|
|
54
|
-
[DELETE_MENU_SECTION.key]: number;
|
|
55
|
-
};
|
|
15
|
+
export declare const BLOCK_MENU_SECTION_RANK: {};
|
|
56
16
|
/**
|
|
57
17
|
* @private
|
|
58
18
|
* @deprecated
|
|
59
19
|
*/
|
|
60
|
-
export declare const PRIMARY_MENU_SECTION_RANK: {
|
|
61
|
-
[FORMAT_MENU_ITEM.key]: number;
|
|
62
|
-
[TRANSFORM_MENU_ITEM.key]: number;
|
|
63
|
-
};
|
|
20
|
+
export declare const PRIMARY_MENU_SECTION_RANK: {};
|
|
64
21
|
/**
|
|
65
22
|
* @private
|
|
66
23
|
* @deprecated
|
|
67
24
|
*/
|
|
68
|
-
export declare const ADD_BLOCKS_MENU_SECTION_RANK: {
|
|
69
|
-
[CREATE_SYNCED_BLOCK_MENU_ITEM.key]: number;
|
|
70
|
-
};
|
|
25
|
+
export declare const ADD_BLOCKS_MENU_SECTION_RANK: {};
|
|
71
26
|
/**
|
|
72
27
|
* @private
|
|
73
28
|
* @deprecated
|
|
74
29
|
*/
|
|
75
|
-
export declare const COPY_MENU_SECTION_RANK: {
|
|
76
|
-
[COPY_LINK_MENU_ITEM.key]: number;
|
|
77
|
-
};
|
|
30
|
+
export declare const COPY_MENU_SECTION_RANK: {};
|
|
78
31
|
/**
|
|
79
32
|
* @private
|
|
80
33
|
* @deprecated
|
|
81
34
|
*/
|
|
82
|
-
export declare const MOVE_BLOCK_SECTION_RANK: {
|
|
83
|
-
[MOVE_UP_MENU_ITEM.key]: number;
|
|
84
|
-
[MOVE_DOWN_MENU_ITEM.key]: number;
|
|
85
|
-
};
|
|
35
|
+
export declare const MOVE_BLOCK_SECTION_RANK: {};
|
|
86
36
|
/**
|
|
87
37
|
* @private
|
|
88
38
|
* @deprecated
|
|
89
39
|
*/
|
|
90
|
-
export declare const DELETE_SECTION_RANK: {
|
|
91
|
-
[DELETE_MENU_ITEM.key]: number;
|
|
92
|
-
};
|
|
40
|
+
export declare const DELETE_SECTION_RANK: {};
|
|
@@ -1,50 +1,51 @@
|
|
|
1
1
|
import { type IntlShape } from 'react-intl-next';
|
|
2
|
+
import type { NewCoreIconProps } from '@atlaskit/icon';
|
|
2
3
|
import type { Command } from '../types';
|
|
3
4
|
import type { ButtonOptionProps } from './LinkToolbarButtonGroup';
|
|
4
5
|
import type { OptionConfig } from './types';
|
|
5
6
|
export declare const appearancePropsMap: {
|
|
6
|
-
|
|
7
|
+
block: {
|
|
8
|
+
icon: {
|
|
9
|
+
(props: NewCoreIconProps): JSX.Element;
|
|
10
|
+
displayName: string;
|
|
11
|
+
};
|
|
7
12
|
title: {
|
|
8
|
-
id: string;
|
|
9
13
|
defaultMessage: string;
|
|
10
14
|
description: string;
|
|
15
|
+
id: string;
|
|
11
16
|
};
|
|
17
|
+
};
|
|
18
|
+
embed: {
|
|
12
19
|
icon: {
|
|
13
|
-
(props:
|
|
20
|
+
(props: NewCoreIconProps): JSX.Element;
|
|
14
21
|
displayName: string;
|
|
15
22
|
};
|
|
16
|
-
};
|
|
17
|
-
inline: {
|
|
18
23
|
title: {
|
|
19
|
-
id: string;
|
|
20
24
|
defaultMessage: string;
|
|
21
25
|
description: string;
|
|
26
|
+
id: string;
|
|
22
27
|
};
|
|
28
|
+
};
|
|
29
|
+
inline: {
|
|
23
30
|
icon: {
|
|
24
|
-
(props:
|
|
31
|
+
(props: NewCoreIconProps): JSX.Element;
|
|
25
32
|
displayName: string;
|
|
26
33
|
};
|
|
27
|
-
};
|
|
28
|
-
block: {
|
|
29
34
|
title: {
|
|
30
|
-
id: string;
|
|
31
35
|
defaultMessage: string;
|
|
32
36
|
description: string;
|
|
37
|
+
id: string;
|
|
33
38
|
};
|
|
39
|
+
};
|
|
40
|
+
url: {
|
|
34
41
|
icon: {
|
|
35
|
-
(props:
|
|
42
|
+
(props: NewCoreIconProps): JSX.Element;
|
|
36
43
|
displayName: string;
|
|
37
44
|
};
|
|
38
|
-
};
|
|
39
|
-
embed: {
|
|
40
45
|
title: {
|
|
41
|
-
id: string;
|
|
42
46
|
defaultMessage: string;
|
|
43
47
|
description: string;
|
|
44
|
-
|
|
45
|
-
icon: {
|
|
46
|
-
(props: import("@atlaskit/icon").NewCoreIconProps): JSX.Element;
|
|
47
|
-
displayName: string;
|
|
48
|
+
id: string;
|
|
48
49
|
};
|
|
49
50
|
};
|
|
50
51
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
6
|
+
import type { WithAnalyticsEventsProps, WithContextProps } from '@atlaskit/analytics-next';
|
|
7
7
|
import type { Category } from '../types';
|
|
8
8
|
interface Props {
|
|
9
9
|
categories?: Category[];
|
|
@@ -14,5 +14,5 @@ interface Props {
|
|
|
14
14
|
setFocusedItemIndex: (index: number) => void;
|
|
15
15
|
setFocusOnSearch?: () => void;
|
|
16
16
|
}
|
|
17
|
-
declare const MemoizedCategoryListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & WithAnalyticsEventsProps &
|
|
17
|
+
declare const MemoizedCategoryListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & WithAnalyticsEventsProps & WithContextProps, "ref"> & React.RefAttributes<unknown>>>;
|
|
18
18
|
export default MemoizedCategoryListWithAnalytics;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import { jsx, type SerializedStyles } from '@emotion/react';
|
|
7
7
|
import { CellMeasurerCache } from 'react-virtualized/dist/commonjs/CellMeasurer';
|
|
8
|
-
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
8
|
+
import type { WithAnalyticsEventsProps, WithContextProps } from '@atlaskit/analytics-next';
|
|
9
9
|
import type { QuickInsertItem } from '../../../provider-factory';
|
|
10
10
|
import type { EmptyStateHandler } from '../../../types';
|
|
11
11
|
import type { SelectedItemProps } from '../../types';
|
|
@@ -40,5 +40,5 @@ type ElementItemType = {
|
|
|
40
40
|
setFocusedItemIndex: (index: number) => void;
|
|
41
41
|
};
|
|
42
42
|
export declare function ElementItem({ inlineMode, selected, item, index, onInsertItem, focus, setFocusedItemIndex, role, }: ElementItemType): jsx.JSX.Element;
|
|
43
|
-
declare const MemoizedElementListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & SelectedItemProps & WithAnalyticsEventsProps &
|
|
43
|
+
declare const MemoizedElementListWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & SelectedItemProps & WithAnalyticsEventsProps & WithContextProps, "ref"> & React.RefAttributes<unknown>>>;
|
|
44
44
|
export default MemoizedElementListWithAnalytics;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { WrappedComponentProps } from 'react-intl-next';
|
|
7
|
+
import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
7
8
|
import type { QuickInsertItem } from '../../provider-factory';
|
|
8
9
|
import { Modes } from '../types';
|
|
9
10
|
interface Props {
|
|
@@ -18,6 +19,6 @@ interface Props {
|
|
|
18
19
|
selectedItemIndex?: number;
|
|
19
20
|
}
|
|
20
21
|
declare const MemoizedElementSearchWithAnalytics: React.MemoExoticComponent<React.ForwardRefExoticComponent<Omit<Props & WrappedComponentProps, "intl"> & {
|
|
21
|
-
forwardedRef?: React.Ref<
|
|
22
|
-
} &
|
|
22
|
+
forwardedRef?: React.Ref<unknown>;
|
|
23
|
+
} & WithContextProps & React.RefAttributes<unknown>>>;
|
|
23
24
|
export default MemoizedElementSearchWithAnalytics;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
import type { CellMeasurerCache } from 'react-virtualized/dist/commonjs/CellMeasurer';
|
|
7
|
-
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
7
|
+
import type { WithAnalyticsEventsProps, WithContextProps } from '@atlaskit/analytics-next';
|
|
8
8
|
import type { QuickInsertItem } from '../../provider-factory';
|
|
9
9
|
import type { EmptyStateHandler } from '../../types';
|
|
10
10
|
import type { Category, Modes } from '../types';
|
|
@@ -47,5 +47,5 @@ declare const MemoizedElementBrowser: React.MemoExoticComponent<React.ForwardRef
|
|
|
47
47
|
selectedCategory?: string;
|
|
48
48
|
showCategories: boolean;
|
|
49
49
|
showSearch: boolean;
|
|
50
|
-
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<
|
|
50
|
+
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<unknown> & WithContextProps, "ref"> & React.RefAttributes<unknown>>>;
|
|
51
51
|
export default MemoizedElementBrowser;
|
|
@@ -9,8 +9,8 @@ export declare const FLEX_ITEMS_CONTAINER_BREAKPOINT_NUMBERS: {
|
|
|
9
9
|
medium: number;
|
|
10
10
|
large: number;
|
|
11
11
|
};
|
|
12
|
-
export declare const SIDEBAR_WIDTH
|
|
13
|
-
export declare const SIDEBAR_HEADING_WRAPPER_HEIGHT
|
|
12
|
+
export declare const SIDEBAR_WIDTH: "200px";
|
|
13
|
+
export declare const SIDEBAR_HEADING_WRAPPER_HEIGHT: "48px";
|
|
14
14
|
export declare const SIDEBAR_HEADING_PADDING_LEFT = "12px";
|
|
15
15
|
export declare const INLINE_SIDEBAR_HEIGHT = "54px";
|
|
16
16
|
export declare const SEARCH_ITEM_HEIGHT_WIDTH = "20px";
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type MutableRefObject } from 'react';
|
|
1
2
|
/**
|
|
2
3
|
* A custom hook that handles focus on a DOM element.
|
|
3
4
|
* Takes in a boolean value and calls element.focus
|
|
@@ -30,5 +31,5 @@
|
|
|
30
31
|
*******************************************************************************
|
|
31
32
|
*/
|
|
32
33
|
type RefType = null | HTMLInputElement | HTMLDivElement;
|
|
33
|
-
export default function useFocus(focus: boolean):
|
|
34
|
+
export default function useFocus(focus: boolean): MutableRefObject<RefType>;
|
|
34
35
|
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default_1: {
|
|
2
2
|
elementAfterInputMessage: {
|
|
3
3
|
id: string;
|
|
4
4
|
defaultMessage: string;
|
|
@@ -25,4 +25,4 @@ declare const _default: {
|
|
|
25
25
|
description: string;
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
|
-
export default
|
|
28
|
+
export default _default_1;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import type { ADFEntity } from '@atlaskit/adf-utils/types';
|
|
2
|
-
import type { ExtensionKey, ExtensionManifest, ExtensionModuleAction, ExtensionModuleActionObject, ExtensionModuleKey, ExtensionType, Module } from './types/extension-manifest';
|
|
2
|
+
import type { ExtensionKey, ExtensionManifest, ExtensionModuleAction, ExtensionModuleActionHandler, ExtensionModuleActionObject, ExtensionModuleKey, ExtensionType, Module } from './types/extension-manifest';
|
|
3
3
|
import type { Parameters } from './types/extension-parameters';
|
|
4
4
|
export declare const FORGE_EXTENSION_TYPE = "com.atlassian.ecosystem";
|
|
5
5
|
export declare const NATIVE_EMBED_EXTENSION_TYPE = "com.atlassian.confluence.macro.core";
|
|
6
6
|
export declare const NATIVE_EMBED_EXTENSION_KEY = "native-embed";
|
|
7
7
|
export declare const getExtensionKeyAndNodeKey: (extensionKey: ExtensionKey, extensionType: ExtensionType) => string[];
|
|
8
8
|
export declare const buildExtensionKeyAndNodeKey: (extensionKey: ExtensionKey, nodeKey?: ExtensionModuleKey) => string;
|
|
9
|
-
export declare function buildAction<T extends Parameters>(action: ExtensionModuleAction<T>, manifest: ExtensionManifest<T>): ADFEntity |
|
|
9
|
+
export declare function buildAction<T extends Parameters>(action: ExtensionModuleAction<T>, manifest: ExtensionManifest<T>): ADFEntity | ExtensionModuleActionHandler | undefined;
|
|
10
10
|
export declare const resolveImportSync: <T extends Parameters>(importedModule: Module<T>) => T;
|
|
11
11
|
export declare const resolveImport: <T extends Parameters>(importPromise: Promise<Module<T>> | Module<T>) => Promise<T>;
|
|
12
12
|
export declare function buildNode<T extends Parameters>(action: ExtensionModuleActionObject<T>, manifest: ExtensionManifest<T>): ADFEntity | undefined;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
declare const
|
|
1
|
+
declare const _default_1: {
|
|
2
2
|
confirmModalDefaultHeading: {
|
|
3
3
|
id: string;
|
|
4
4
|
defaultMessage: string;
|
|
@@ -45,4 +45,4 @@ declare const _default: {
|
|
|
45
45
|
description: string;
|
|
46
46
|
};
|
|
47
47
|
};
|
|
48
|
-
export default
|
|
48
|
+
export default _default_1;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
1
2
|
import type { RichMediaLayout } from '@atlaskit/adf-schema';
|
|
2
3
|
import type { GuidelineConfig, GuidelineSnap } from './types';
|
|
3
4
|
/**
|
|
@@ -8,7 +9,7 @@ export declare const findClosestSnap: (mediaSingleWidth: number, snapArray: numb
|
|
|
8
9
|
gap: number;
|
|
9
10
|
keys: string[];
|
|
10
11
|
};
|
|
11
|
-
export declare const getGuidelineSnaps:
|
|
12
|
+
export declare const getGuidelineSnaps: MemoizedFn<(guidelines: GuidelineConfig[], editorWidth: number, layout?: RichMediaLayout) => {
|
|
12
13
|
guidelineReference: {
|
|
13
14
|
guidelineKey: string;
|
|
14
15
|
width: number;
|
|
@@ -12,7 +12,7 @@ export { LazyNodeView };
|
|
|
12
12
|
*
|
|
13
13
|
* Communication channel between LazyNodeView loader and LazyNodeViewDecorationPlugin.
|
|
14
14
|
*/
|
|
15
|
-
export declare const lazyNodeViewDecorationPluginKey: PluginKey
|
|
15
|
+
export declare const lazyNodeViewDecorationPluginKey: PluginKey;
|
|
16
16
|
/**
|
|
17
17
|
* 📢 Public Type
|
|
18
18
|
*
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import { type MouseEvent } from 'react';
|
|
5
|
+
import { type ForwardRefExoticComponent, type MouseEvent, type RefAttributes } from 'react';
|
|
6
|
+
import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
6
7
|
import { type EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
7
8
|
export type OnDropdownChange = (isOpen: boolean) => void;
|
|
8
9
|
export type DropdownProps = {
|
|
@@ -15,5 +16,5 @@ export type DropdownProps = {
|
|
|
15
16
|
onOpenLinkClick?: (event: MouseEvent<HTMLAnchorElement>) => void;
|
|
16
17
|
testId: string;
|
|
17
18
|
};
|
|
18
|
-
declare const
|
|
19
|
-
export default
|
|
19
|
+
declare const _default_1: ForwardRefExoticComponent<DropdownProps & WithContextProps & RefAttributes<unknown>>;
|
|
20
|
+
export default _default_1;
|
|
@@ -2,7 +2,8 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
import { type MouseEvent } from 'react';
|
|
5
|
+
import { type ForwardRefExoticComponent, type MouseEvent, type RefAttributes } from 'react';
|
|
6
|
+
import { type WithContextProps } from '@atlaskit/analytics-next/withAnalyticsContext';
|
|
6
7
|
import { type EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
7
8
|
import { type OnDropdownChange } from './Dropdown';
|
|
8
9
|
export interface OverlayButtonProps {
|
|
@@ -18,4 +19,4 @@ export interface OverlayButtonProps {
|
|
|
18
19
|
targetElementPos?: number;
|
|
19
20
|
testId?: string;
|
|
20
21
|
}
|
|
21
|
-
export declare const OverlayButton:
|
|
22
|
+
export declare const OverlayButton: ForwardRefExoticComponent<OverlayButtonProps & WithContextProps & RefAttributes<unknown>>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { type MutableRefObject } from 'react';
|
|
1
2
|
export declare const useEscapeClickaway: <T extends HTMLElement>(
|
|
2
3
|
/** Callback to fire when the user presses the escape key */
|
|
3
4
|
onEscape: () => void,
|
|
4
5
|
/** Callback to fire when the user clicks an element not contained by the ref */
|
|
5
|
-
onClickAway: () => void) =>
|
|
6
|
+
onClickAway: () => void) => MutableRefObject<T | null>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React, { PureComponent } from 'react';
|
|
2
2
|
import { jsx, type SerializedStyles } from '@emotion/react';
|
|
3
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
import type { ActivityProvider } from '@atlaskit/activity-provider';
|
|
5
5
|
import type { WithAnalyticsEventsProps } from '@atlaskit/analytics-next';
|
|
6
6
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
@@ -14,45 +14,45 @@ import type { LinkSearchListItemData } from '../../LinkSearch/types';
|
|
|
14
14
|
export declare const visuallyHiddenStyles: SerializedStyles;
|
|
15
15
|
export declare const RECENT_SEARCH_LIST_SIZE = 5;
|
|
16
16
|
export declare const messages: {
|
|
17
|
-
|
|
18
|
-
id: string;
|
|
17
|
+
clearLink: {
|
|
19
18
|
defaultMessage: string;
|
|
20
19
|
description: string;
|
|
20
|
+
id: string;
|
|
21
21
|
};
|
|
22
22
|
clearText: {
|
|
23
|
-
id: string;
|
|
24
23
|
defaultMessage: string;
|
|
25
24
|
description: string;
|
|
26
|
-
};
|
|
27
|
-
clearLink: {
|
|
28
25
|
id: string;
|
|
26
|
+
};
|
|
27
|
+
displayText: {
|
|
29
28
|
defaultMessage: string;
|
|
30
29
|
description: string;
|
|
30
|
+
id: string;
|
|
31
31
|
};
|
|
32
32
|
hyperlinkAriaLabel: {
|
|
33
|
+
defaultMessage: string;
|
|
34
|
+
description: string;
|
|
33
35
|
id: string;
|
|
36
|
+
};
|
|
37
|
+
linkVisibleLabel: {
|
|
34
38
|
defaultMessage: string;
|
|
35
39
|
description: string;
|
|
40
|
+
id: string;
|
|
36
41
|
};
|
|
37
42
|
searchLinkAriaDescription: {
|
|
38
|
-
id: string;
|
|
39
43
|
defaultMessage: string;
|
|
40
44
|
description: string;
|
|
45
|
+
id: string;
|
|
41
46
|
};
|
|
42
47
|
searchLinkResults: {
|
|
43
|
-
id: string;
|
|
44
48
|
defaultMessage: string;
|
|
45
49
|
description: string;
|
|
46
|
-
};
|
|
47
|
-
linkVisibleLabel: {
|
|
48
50
|
id: string;
|
|
49
|
-
defaultMessage: string;
|
|
50
|
-
description: string;
|
|
51
51
|
};
|
|
52
52
|
textVisibleLabel: {
|
|
53
|
-
id: string;
|
|
54
53
|
defaultMessage: string;
|
|
55
54
|
description: string;
|
|
55
|
+
id: string;
|
|
56
56
|
};
|
|
57
57
|
};
|
|
58
58
|
interface BaseProps {
|
|
@@ -121,10 +121,10 @@ export declare class HyperlinkLinkAddToolbar extends PureComponent<Props, State>
|
|
|
121
121
|
private updateTextInput;
|
|
122
122
|
private handleCancel;
|
|
123
123
|
}
|
|
124
|
-
export declare const HyperlinkLinkAddToolbarWithIntl: React.FC<
|
|
124
|
+
export declare const HyperlinkLinkAddToolbarWithIntl: React.FC<WithIntlProps<HyperlinkLinkAddToolbarProps>> & {
|
|
125
125
|
WrappedComponent: React.ComponentType<HyperlinkLinkAddToolbarProps>;
|
|
126
126
|
};
|
|
127
|
-
declare const
|
|
128
|
-
forwardedRef?: React.Ref<
|
|
129
|
-
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<
|
|
130
|
-
export default
|
|
127
|
+
declare const _default_1: React.ForwardRefExoticComponent<Omit<Omit<HyperlinkLinkAddToolbarProps, "intl"> & {
|
|
128
|
+
forwardedRef?: React.Ref<unknown>;
|
|
129
|
+
}, keyof WithAnalyticsEventsProps> & React.RefAttributes<unknown>>;
|
|
130
|
+
export default _default_1;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React, { type KeyboardEvent } from 'react';
|
|
6
6
|
import { type SerializedStyles } from '@emotion/react';
|
|
7
|
-
import type { WrappedComponentProps } from 'react-intl-next';
|
|
7
|
+
import type { WithIntlProps, WrappedComponentProps } from 'react-intl-next';
|
|
8
8
|
import type { LinkSearchListItemData } from './types';
|
|
9
9
|
export declare const container: SerializedStyles;
|
|
10
10
|
export declare const containerSelected: SerializedStyles;
|
|
@@ -22,7 +22,7 @@ export interface Props {
|
|
|
22
22
|
role?: string;
|
|
23
23
|
selected: boolean;
|
|
24
24
|
}
|
|
25
|
-
export declare const ForwardedLinkSearchListItemWithIntl: React.ForwardRefExoticComponent<Omit<
|
|
25
|
+
export declare const ForwardedLinkSearchListItemWithIntl: React.ForwardRefExoticComponent<Omit<WithIntlProps<React.PropsWithChildren<Props & WrappedComponentProps & React.RefAttributes<HTMLDivElement>>>, "ref"> & React.RefAttributes<any>> & {
|
|
26
26
|
WrappedComponent: React.ComponentType<Props & WrappedComponentProps & React.RefAttributes<HTMLDivElement>>;
|
|
27
27
|
};
|
|
28
28
|
export default ForwardedLinkSearchListItemWithIntl;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @jsxRuntime classic
|
|
3
|
+
* @jsx jsx
|
|
4
|
+
*/
|
|
5
|
+
import { type ForwardRefExoticComponent, type RefAttributes } from 'react';
|
|
1
6
|
import type { IntlShape } from 'react-intl-next';
|
|
2
7
|
export declare const getBadgeSize: (width?: number, height?: number) => "medium" | "small";
|
|
3
8
|
export type CommentBadgeProps = {
|
|
@@ -13,4 +18,4 @@ export type CommentBadgeProps = {
|
|
|
13
18
|
status?: 'default' | 'entered' | 'active';
|
|
14
19
|
width?: number;
|
|
15
20
|
};
|
|
16
|
-
export declare const CommentBadge:
|
|
21
|
+
export declare const CommentBadge: ForwardRefExoticComponent<CommentBadgeProps & RefAttributes<HTMLDivElement>>;
|
|
@@ -46,7 +46,7 @@ export { syncBlockMessages } from './syncBlock';
|
|
|
46
46
|
export { limitedModeMessages } from './limited-mode';
|
|
47
47
|
export { companyHubTextColorMessages } from './company-hub-text-color';
|
|
48
48
|
export { nativeEmbedToolbarMessages } from './native-embed-toolbar';
|
|
49
|
-
declare const
|
|
49
|
+
declare const _default_1: {
|
|
50
50
|
layoutFixedWidth: {
|
|
51
51
|
id: string;
|
|
52
52
|
defaultMessage: string;
|
|
@@ -208,4 +208,4 @@ declare const _default: {
|
|
|
208
208
|
description: string;
|
|
209
209
|
};
|
|
210
210
|
};
|
|
211
|
-
export default
|
|
211
|
+
export default _default_1;
|
|
@@ -52,5 +52,5 @@ export default class ReactNodeView<P = ReactComponentProps> implements NodeView
|
|
|
52
52
|
get dom(): HTMLElement;
|
|
53
53
|
destroy(): void;
|
|
54
54
|
private dispatchAnalyticsEvent;
|
|
55
|
-
static fromComponent(component: React.ComponentType<React.PropsWithChildren<any>>, portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, props?: ReactComponentProps, viewShouldUpdate?: (nextNode: PMNode) => boolean): (node: PMNode, view: EditorView, getPos: getPosHandler) => ReactNodeView
|
|
55
|
+
static fromComponent(component: React.ComponentType<React.PropsWithChildren<any>>, portalProviderAPI: PortalProviderAPI, eventDispatcher: EventDispatcher, props?: ReactComponentProps, viewShouldUpdate?: (nextNode: PMNode) => boolean): (node: PMNode, view: EditorView, getPos: getPosHandler) => ReactNodeView;
|
|
56
56
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import type { MemoizedFunction } from 'lodash';
|
|
1
2
|
import type { EditorView } from '@atlaskit/editor-prosemirror/view';
|
|
2
3
|
type RemoveObserver = () => unknown;
|
|
3
4
|
type OnVisibleCallback = () => unknown;
|
|
4
5
|
type OnVisibleObserver = {
|
|
5
6
|
observe: (el: HTMLElement, callback: OnVisibleCallback) => RemoveObserver;
|
|
6
7
|
};
|
|
7
|
-
export declare const getOrCreateOnVisibleObserver: ((view: EditorView) => OnVisibleObserver) &
|
|
8
|
+
export declare const getOrCreateOnVisibleObserver: ((view: EditorView) => OnVisibleObserver) & MemoizedFunction;
|
|
8
9
|
export {};
|
|
@@ -72,7 +72,7 @@ export type ResizerProps = {
|
|
|
72
72
|
type forwardRefType = {
|
|
73
73
|
getResizerThumbEl: () => HTMLButtonElement | null;
|
|
74
74
|
};
|
|
75
|
-
declare const
|
|
75
|
+
declare const _default_1: React.ForwardRefExoticComponent<ResizerProps & {
|
|
76
76
|
children?: React.ReactNode | undefined;
|
|
77
77
|
} & React.RefAttributes<forwardRefType>>;
|
|
78
|
-
export default
|
|
78
|
+
export default _default_1;
|
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
1
2
|
import { type ThemeState } from '@atlaskit/tokens';
|
|
2
|
-
export declare const headingsSharedStyles: (_typographyTheme?: ThemeState["typography"]) =>
|
|
3
|
+
export declare const headingsSharedStyles: (_typographyTheme?: ThemeState["typography"]) => SerializedStyles;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
1
2
|
declare const richMediaClassName = "rich-media-item";
|
|
2
|
-
declare const mediaSingleSharedStyle:
|
|
3
|
-
declare const mediaSingleSharedStyleNew:
|
|
3
|
+
declare const mediaSingleSharedStyle: SerializedStyles;
|
|
4
|
+
declare const mediaSingleSharedStyleNew: SerializedStyles;
|
|
4
5
|
export { mediaSingleSharedStyle, mediaSingleSharedStyleNew, richMediaClassName };
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { type SerializedStyles } from '@emotion/react';
|
|
2
|
+
import { type MemoizedFn } from 'memoize-one';
|
|
1
3
|
export declare const ANCHOR_VARIABLE_NAME = "--ed-pm-node-anchor";
|
|
2
|
-
export declare const isCSSAttrAnchorSupported:
|
|
3
|
-
export declare const isCSSAnchorSupported:
|
|
4
|
-
export declare const nativeAnchorStyles:
|
|
4
|
+
export declare const isCSSAttrAnchorSupported: MemoizedFn<() => boolean>;
|
|
5
|
+
export declare const isCSSAnchorSupported: MemoizedFn<() => boolean | undefined>;
|
|
6
|
+
export declare const nativeAnchorStyles: SerializedStyles;
|
|
@@ -2,9 +2,9 @@ export declare const resizerItemClassName = "resizer-item";
|
|
|
2
2
|
export declare const resizerHoverZoneClassName = "resizer-hover-zone";
|
|
3
3
|
export declare const resizerExtendedZone = "resizer-is-extended";
|
|
4
4
|
export declare const resizerHandleClassName = "resizer-handle";
|
|
5
|
-
export declare const resizerHandleTrackClassName
|
|
6
|
-
export declare const resizerHandleThumbClassName
|
|
7
|
-
export declare const resizerDangerClassName
|
|
5
|
+
export declare const resizerHandleTrackClassName: "resizer-handle-track";
|
|
6
|
+
export declare const resizerHandleThumbClassName: "resizer-handle-thumb";
|
|
7
|
+
export declare const resizerDangerClassName: "resizer-handle-danger";
|
|
8
8
|
export declare const handleWrapperClass = "resizer-handle-wrapper";
|
|
9
9
|
export declare const resizerHandleThumbWidth = 3;
|
|
10
10
|
export declare const resizerHandleZIndex = 1;
|