@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
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
9
|
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
10
10
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { backgroundColorPalette } from '@atlaskit/adf-schema';
|
|
9
9
|
import { useThemeObserver } from '@atlaskit/tokens';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
var _default_1 = defineMessages({
|
|
3
3
|
white: {
|
|
4
4
|
id: 'fabric.theme.white',
|
|
5
5
|
defaultMessage: 'White',
|
|
@@ -136,4 +136,5 @@ export default defineMessages({
|
|
|
136
136
|
defaultMessage: 'Magenta',
|
|
137
137
|
description: "Tooltip for the magenta color used in the main toolbar's highlight color palette"
|
|
138
138
|
}
|
|
139
|
-
});
|
|
139
|
+
});
|
|
140
|
+
export default _default_1;
|
|
@@ -251,6 +251,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
251
251
|
size: "small"
|
|
252
252
|
})))))), renderPopup());
|
|
253
253
|
};
|
|
254
|
-
|
|
254
|
+
var _default_1 = withAnalyticsContext({
|
|
255
255
|
source: 'ConfigPanel'
|
|
256
|
-
})(withAnalyticsEvents()(ColorPickerButton));
|
|
256
|
+
})(withAnalyticsEvents()(ColorPickerButton));
|
|
257
|
+
export default _default_1;
|
|
@@ -23,7 +23,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
23
23
|
|
|
24
24
|
import React, { PureComponent, useContext } from 'react';
|
|
25
25
|
|
|
26
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
26
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
27
27
|
import { css, jsx } from '@emotion/react';
|
|
28
28
|
import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
|
|
29
29
|
import { CustomItem, MenuGroup, Section } from '@atlaskit/menu';
|
|
@@ -364,7 +364,9 @@ export function DropdownMenuItem(_ref) {
|
|
|
364
364
|
}
|
|
365
365
|
return dropListItem;
|
|
366
366
|
}
|
|
367
|
-
|
|
367
|
+
|
|
368
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Ignored via go/ees005
|
|
369
|
+
var DropdownMenuWithKeyboardNavigation = /*#__PURE__*/React.memo(
|
|
368
370
|
// Ignored via go/ees005
|
|
369
371
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
370
372
|
function (_ref2) {
|
|
@@ -379,4 +381,5 @@ function (_ref2) {
|
|
|
379
381
|
})
|
|
380
382
|
// eslint-disable-next-line react/jsx-props-no-spreading -- Spreading props to pass through dynamic component props
|
|
381
383
|
}, props));
|
|
382
|
-
});
|
|
384
|
+
});
|
|
385
|
+
export { DropdownMenuWithKeyboardNavigation };
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React, { useCallback, useLayoutEffect, useMemo, useRef } from 'react';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { ELEMENT_BROWSER_ID } from '../../element-browser';
|
|
11
11
|
import { fullPageMessages } from '../../messages';
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
// and notify about the change in #team-fc-editor-ai-dev channel.
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import Button from '@atlaskit/button/standard-button';
|
|
6
|
-
|
|
6
|
+
var _default_1 = /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
7
7
|
return /*#__PURE__*/React.createElement(Button, _extends({
|
|
8
8
|
ref: ref
|
|
9
9
|
// Ignored via go/ees005
|
|
@@ -17,4 +17,5 @@ export default /*#__PURE__*/React.forwardRef(function (props, ref) {
|
|
|
17
17
|
alignItems: 'center'
|
|
18
18
|
}
|
|
19
19
|
}));
|
|
20
|
-
});
|
|
20
|
+
});
|
|
21
|
+
export default _default_1;
|
|
@@ -8,15 +8,15 @@ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../analyt
|
|
|
8
8
|
import { shouldAutoLinkifyMatch } from './should-auto-linkify-tld';
|
|
9
9
|
import { mapSlice } from './slice';
|
|
10
10
|
|
|
11
|
+
/* eslint-disable require-unicode-regexp -- Omit `u` so emitDeclarationOnly build (pre-ES2015 lib) does not error TS1501; patterns are ASCII-only paths and $/{ prefix. */
|
|
11
12
|
// Regular expression for a windows filepath in the format <DRIVE LETTER>:\<folder name>\
|
|
12
13
|
// Ignored via go/ees005
|
|
13
|
-
// eslint-disable-next-line require-unicode-regexp
|
|
14
14
|
export var FILEPATH_REGEXP = /([a-zA-Z]:|\\)([^\/:*?<>"|]+\\)?([^\/:*?<>"| ]+(?=\s?))?/gim;
|
|
15
15
|
|
|
16
16
|
// Don't linkify if starts with $ or {
|
|
17
17
|
// Ignored via go/ees005
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
export var DONTLINKIFY_REGEXP = /^(\$|\{)/;
|
|
19
|
+
/* eslint-enable require-unicode-regexp */
|
|
20
20
|
|
|
21
21
|
/**
|
|
22
22
|
* Instance of class LinkMatcher are used in autoformatting in place of Regex.
|
|
@@ -117,6 +117,8 @@ export function linkifyContent(schema) {
|
|
|
117
117
|
});
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
|
+
|
|
121
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
120
122
|
export function getLinkDomain(url) {
|
|
121
123
|
// Remove protocol and www., if either exists
|
|
122
124
|
// Ignored via go/ees005
|
|
@@ -131,6 +133,8 @@ export function getLinkDomain(url) {
|
|
|
131
133
|
// eslint-disable-next-line require-unicode-regexp
|
|
132
134
|
return withoutWWW.replace(/[:\/?#](.*)$/, '');
|
|
133
135
|
}
|
|
136
|
+
|
|
137
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
134
138
|
export function isFromCurrentDomain(url) {
|
|
135
139
|
if (!window || !window.location) {
|
|
136
140
|
return false;
|
|
@@ -155,7 +159,7 @@ export var findFilepaths = function findFilepaths(text) {
|
|
|
155
159
|
var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
156
160
|
// Creation of a copy of the RegExp is necessary as lastIndex is stored on it when we run .exec()
|
|
157
161
|
// Ignored via go/ees005
|
|
158
|
-
// eslint-disable-next-line require-unicode-regexp
|
|
162
|
+
// eslint-disable-next-line require-unicode-regexp -- Ignored via go/ees005
|
|
159
163
|
var localRegExp = new RegExp(FILEPATH_REGEXP);
|
|
160
164
|
var match;
|
|
161
165
|
var matchesList = [];
|
|
@@ -183,6 +187,8 @@ export var isLinkInMatches = function isLinkInMatches(linkStart, matchesList) {
|
|
|
183
187
|
}
|
|
184
188
|
return false;
|
|
185
189
|
};
|
|
190
|
+
|
|
191
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
186
192
|
export function getLinkCreationAnalyticsEvent(inputMethod, url) {
|
|
187
193
|
return {
|
|
188
194
|
action: ACTION.INSERTED,
|
|
@@ -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>;
|