@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
|
@@ -14,7 +14,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
14
14
|
* @jsx jsx
|
|
15
15
|
*/
|
|
16
16
|
import { Component } from 'react';
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
+
// 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
|
|
18
18
|
import { jsx } from '@emotion/react';
|
|
19
19
|
import { getExtensionLozengeData } from '../../../utils';
|
|
20
20
|
import { styledImage } from '../styles';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import React 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 classnames from 'classnames';
|
|
11
11
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -12,7 +12,7 @@ var _excluded = ["url"];
|
|
|
12
12
|
|
|
13
13
|
import React, { Fragment, useState } from 'react';
|
|
14
14
|
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
+
// 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
|
|
16
16
|
import { css, jsx } from '@emotion/react';
|
|
17
17
|
import classnames from 'classnames';
|
|
18
18
|
import EditorFileIcon from '@atlaskit/icon/core/file';
|
|
@@ -23,7 +23,9 @@ manifest, extKey, nodeKey, extensionType, extensionKey) {
|
|
|
23
23
|
}
|
|
24
24
|
return node;
|
|
25
25
|
}
|
|
26
|
-
export function getExtensionManifest(extensionProvider, extensionType, extensionKey
|
|
26
|
+
export function getExtensionManifest(extensionProvider, extensionType, extensionKey
|
|
27
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Generic extension types; any required for provider compatibility
|
|
28
|
+
) {
|
|
27
29
|
var _getExtensionKeyAndNo = getExtensionKeyAndNodeKey(extensionKey, extensionType),
|
|
28
30
|
_getExtensionKeyAndNo2 = _slicedToArray(_getExtensionKeyAndNo, 1),
|
|
29
31
|
extKey = _getExtensionKeyAndNo2[0];
|
|
@@ -33,7 +35,9 @@ export function getExtensionModuleNode(_x, _x2, _x3) {
|
|
|
33
35
|
return _getExtensionModuleNode.apply(this, arguments);
|
|
34
36
|
}
|
|
35
37
|
function _getExtensionModuleNode() {
|
|
36
|
-
_getExtensionModuleNode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(extensionProvider, extensionType, extensionKey
|
|
38
|
+
_getExtensionModuleNode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(extensionProvider, extensionType, extensionKey
|
|
39
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Generic extension types; any required for provider compatibility
|
|
40
|
+
) {
|
|
37
41
|
var _getExtensionKeyAndNo5, _getExtensionKeyAndNo6, extKey, nodeKey, manifest;
|
|
38
42
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
39
43
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -5,7 +5,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
5
5
|
*/
|
|
6
6
|
import { useCallback, useEffect, useMemo, useRef, useState } 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
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
11
11
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
|
+
// 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
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
var separatorStyles = css({
|
|
8
8
|
background: "var(--ds-border, #0B120E24)",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
var _default_1 = defineMessages({
|
|
3
3
|
confirmModalDefaultHeading: {
|
|
4
4
|
id: 'fabric.editor.floatingToolbar.confirmModalHeading',
|
|
5
5
|
defaultMessage: 'Are you sure?',
|
|
@@ -45,4 +45,5 @@ export default defineMessages({
|
|
|
45
45
|
defaultMessage: 'Scroll right',
|
|
46
46
|
description: 'Button to scroll right when the toolbar is in the overflow state'
|
|
47
47
|
}
|
|
48
|
-
});
|
|
48
|
+
});
|
|
49
|
+
export default _default_1;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
|
+
// 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
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
|
+
// 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
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
var createSteppedRainbow = function createSteppedRainbow(colors) {
|
|
8
8
|
return "\n linear-gradient(\n to right,\n ".concat(colors.map(function (color, i) {
|
|
@@ -5,7 +5,7 @@ import _typeof from "@babel/runtime/helpers/typeof";
|
|
|
5
5
|
*/
|
|
6
6
|
import React, { Fragment } 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 { base, keyName } from 'w3c-keyname';
|
|
11
11
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -98,6 +98,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
98
98
|
testId: "".concat(testId, "-dropdown-item-configure")
|
|
99
99
|
}, configureLinkLabel)));
|
|
100
100
|
};
|
|
101
|
-
|
|
101
|
+
var _default_1 = withAnalyticsContext({
|
|
102
102
|
source: SMALL_LINK_TOOLBAR_ANALYTICS_SOURCE
|
|
103
|
-
})(Dropdown);
|
|
103
|
+
})(Dropdown);
|
|
104
|
+
export default _default_1;
|
|
@@ -5,7 +5,7 @@ var _excluded = ["innerRef"];
|
|
|
5
5
|
* @jsxRuntime classic
|
|
6
6
|
* @jsx jsx
|
|
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 Button from '@atlaskit/button';
|
|
11
11
|
var buttonStyles = css({
|
|
@@ -74,7 +74,12 @@ export var EditorLinkPicker = function EditorLinkPicker(_ref) {
|
|
|
74
74
|
}, /*#__PURE__*/React.createElement(AnalyticsContext, {
|
|
75
75
|
data: analyticsData
|
|
76
76
|
}, /*#__PURE__*/React.createElement(FocusLock, {
|
|
77
|
-
returnFocus:
|
|
77
|
+
returnFocus: {
|
|
78
|
+
preventScroll: true
|
|
79
|
+
},
|
|
80
|
+
focusOptions: {
|
|
81
|
+
preventScroll: true
|
|
82
|
+
}
|
|
78
83
|
}, /*#__PURE__*/React.createElement(LazyLinkPicker
|
|
79
84
|
// Ignored via go/ees005
|
|
80
85
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
@@ -17,7 +17,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
17
17
|
|
|
18
18
|
import React, { PureComponent } from 'react';
|
|
19
19
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
|
+
// 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
|
|
21
21
|
import { css, jsx } from '@emotion/react';
|
|
22
22
|
import debounce from 'lodash/debounce';
|
|
23
23
|
import { flushSync } from 'react-dom';
|
|
@@ -656,7 +656,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
|
|
|
656
656
|
while (1) switch (_context4.prev = _context4.next) {
|
|
657
657
|
case 0:
|
|
658
658
|
_this$props5 = this.props, timesViewed = _this$props5.timesViewed, inputMethod = _this$props5.inputMethod, searchSessionId = _this$props5.searchSessionId; // Ignored via go/ees005
|
|
659
|
-
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
|
|
659
|
+
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners, @atlaskit/platform/no-direct-document-usage
|
|
660
660
|
document.addEventListener('mousedown', this.handleClickOutside);
|
|
661
661
|
this.fireAnalytics({
|
|
662
662
|
action: ACTION.VIEWED,
|
|
@@ -701,7 +701,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
|
|
|
701
701
|
var searchSessionId = this.props.searchSessionId;
|
|
702
702
|
|
|
703
703
|
// Ignored via go/ees005
|
|
704
|
-
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
|
|
704
|
+
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners, @atlaskit/platform/no-direct-document-usage
|
|
705
705
|
document.removeEventListener('mousedown', this.handleClickOutside);
|
|
706
706
|
if (!this.submitted) {
|
|
707
707
|
this.fireAnalytics({
|
|
@@ -986,7 +986,12 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
|
|
|
986
986
|
})));
|
|
987
987
|
if (expValEquals('platform_editor_a11y_escape_link_dialog', 'isEnabled', true)) {
|
|
988
988
|
return jsx(FocusLock, {
|
|
989
|
-
returnFocus:
|
|
989
|
+
returnFocus: {
|
|
990
|
+
preventScroll: true
|
|
991
|
+
},
|
|
992
|
+
focusOptions: {
|
|
993
|
+
preventScroll: true
|
|
994
|
+
}
|
|
990
995
|
}, hyperlinkElement);
|
|
991
996
|
}
|
|
992
997
|
return hyperlinkElement;
|
|
@@ -1007,5 +1012,8 @@ function findIndex(array, predicate) {
|
|
|
1007
1012
|
function limit(items) {
|
|
1008
1013
|
return items.slice(0, RECENT_SEARCH_LIST_SIZE);
|
|
1009
1014
|
}
|
|
1015
|
+
|
|
1016
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
1010
1017
|
export var HyperlinkLinkAddToolbarWithIntl = injectIntl(HyperlinkLinkAddToolbar);
|
|
1011
|
-
|
|
1018
|
+
var _default_1 = withAnalyticsEvents()(HyperlinkLinkAddToolbarWithIntl);
|
|
1019
|
+
export default _default_1;
|
|
@@ -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 { css, jsx } from '@emotion/react';
|
|
8
8
|
import Spinner from '@atlaskit/spinner';
|
|
9
9
|
import ForwardedLinkSearchListItemNextWithIntl from './LinkSearchListItem';
|
|
@@ -137,6 +137,8 @@ var LinkSearchListItem = function LinkSearchListItem(props, ref) {
|
|
|
137
137
|
}, item.container, renderTimeStamp())));
|
|
138
138
|
};
|
|
139
139
|
var ForwardedLinkSearchListItem = /*#__PURE__*/forwardRef(LinkSearchListItem);
|
|
140
|
+
|
|
141
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- injectIntl ref typing incompatible with explicit RefAttributes<HTMLDivElement>
|
|
140
142
|
export var ForwardedLinkSearchListItemWithIntl = injectIntl(ForwardedLinkSearchListItem, {
|
|
141
143
|
forwardRef: true
|
|
142
144
|
});
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
* @jsx jsx
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
|
+
// 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
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
12
|
import { hexToEditorBorderPaletteColor } from '@atlaskit/editor-palette';
|
|
13
13
|
import { borderStyle, INLINE_IMAGE_ASPECT_RATIO_CSS_VAR_KEY, INLINE_IMAGE_BORDER_COLOR_CSS_VAR_KEY, INLINE_IMAGE_BORDER_SIZE_CSS_VAR_KEY, INLINE_IMAGE_WRAPPER_CLASS_NAME, selectedStyle, wrapperStyle } from './styles';
|
|
@@ -8,7 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
*/
|
|
9
9
|
import { Fragment, useCallback, useEffect, useMemo, useState } from 'react';
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
+
// 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
|
|
12
12
|
import { jsx } from '@emotion/react';
|
|
13
13
|
import ReactDOM from 'react-dom';
|
|
14
14
|
import { createIntl, injectIntl } from 'react-intl-next';
|
|
@@ -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 WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
9
9
|
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 { wrapperStyle } from './wrapper';
|
|
9
9
|
export var Frame = function Frame(_ref) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
|
+
// 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
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
var wrapperStyle = css({
|
|
8
8
|
display: 'flex',
|
|
@@ -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 Spinner from '@atlaskit/spinner';
|
|
9
9
|
import { ICON_SIZE_THRESOLD } from './constants';
|
|
@@ -50,7 +50,7 @@ export { syncBlockMessages } from './syncBlock';
|
|
|
50
50
|
export { limitedModeMessages } from './limited-mode';
|
|
51
51
|
export { companyHubTextColorMessages } from './company-hub-text-color';
|
|
52
52
|
export { nativeEmbedToolbarMessages } from './native-embed-toolbar';
|
|
53
|
-
|
|
53
|
+
var _default_1 = defineMessages({
|
|
54
54
|
layoutFixedWidth: {
|
|
55
55
|
id: 'fabric.editor.layoutFixedWidth',
|
|
56
56
|
defaultMessage: 'Back to center',
|
|
@@ -211,4 +211,5 @@ export default defineMessages({
|
|
|
211
211
|
defaultMessage: 'Success',
|
|
212
212
|
description: 'Label for success message icon'
|
|
213
213
|
}
|
|
214
|
-
});
|
|
214
|
+
});
|
|
215
|
+
export default _default_1;
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "112.
|
|
13
|
+
var packageVersion = "112.5.1";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -5,6 +5,8 @@ var _templateObject, _templateObject2;
|
|
|
5
5
|
* @jsx jsx
|
|
6
6
|
*/
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
10
|
import { css, jsx } from '@emotion/react';
|
|
9
11
|
import { injectIntl } from 'react-intl-next';
|
|
10
12
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -145,4 +147,5 @@ var SortingIcon = function SortingIcon(_ref) {
|
|
|
145
147
|
css: [iconStyles]
|
|
146
148
|
}))));
|
|
147
149
|
};
|
|
148
|
-
|
|
150
|
+
var _default_1 = injectIntl(SortingIcon);
|
|
151
|
+
export default _default_1;
|
|
@@ -52,4 +52,5 @@ var Announcer = /*#__PURE__*/forwardRef(function (_ref, ref) {
|
|
|
52
52
|
"aria-live": ariaLive
|
|
53
53
|
}, contentRendered && /*#__PURE__*/React.createElement("span", null, text));
|
|
54
54
|
});
|
|
55
|
-
|
|
55
|
+
var _default_1 = /*#__PURE__*/memo(Announcer);
|
|
56
|
+
export default _default_1;
|
|
@@ -6,7 +6,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
6
6
|
|
|
7
7
|
import { useEffect, useMemo, useState } from 'react';
|
|
8
8
|
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
+
// 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
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
11
|
import debounce from 'lodash/debounce';
|
|
12
12
|
var assitiveTextStyles = css({
|
|
@@ -12,7 +12,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
12
12
|
*/
|
|
13
13
|
import React from 'react';
|
|
14
14
|
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
+
// 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
|
|
16
16
|
import { css, jsx } from '@emotion/react';
|
|
17
17
|
import { injectIntl } from 'react-intl-next';
|
|
18
18
|
|
|
@@ -62,4 +62,7 @@ export var CaptionComponent = /*#__PURE__*/function (_React$Component) {
|
|
|
62
62
|
}
|
|
63
63
|
}]);
|
|
64
64
|
}(React.Component);
|
|
65
|
-
|
|
65
|
+
|
|
66
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
67
|
+
var _default_1 = injectIntl(CaptionComponent);
|
|
68
|
+
export default _default_1;
|
|
@@ -76,6 +76,6 @@ export var ContextPanelWidthProvider = /*#__PURE__*/function (_React$Component)
|
|
|
76
76
|
}
|
|
77
77
|
}]);
|
|
78
78
|
}(React.Component);
|
|
79
|
-
var Provider = ContextPanel.Provider
|
|
80
|
-
|
|
79
|
+
var Provider = ContextPanel.Provider;
|
|
80
|
+
var Consumer = ContextPanel.Consumer;
|
|
81
81
|
export { Provider as ContextPanelProvider, Consumer as ContextPanelConsumer };
|
|
@@ -21,7 +21,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
21
21
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
22
22
|
import Layer from '../Layer';
|
|
23
23
|
var packageName = "@atlaskit/editor-common";
|
|
24
|
-
var packageVersion = "112.
|
|
24
|
+
var packageVersion = "112.5.1";
|
|
25
25
|
var halfFocusRing = 1;
|
|
26
26
|
var dropOffset = '0, 8';
|
|
27
27
|
var fadeIn = keyframes({
|
|
@@ -195,7 +195,7 @@ var DropList = /*#__PURE__*/function (_Component) {
|
|
|
195
195
|
}]);
|
|
196
196
|
}(Component);
|
|
197
197
|
var createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
198
|
-
|
|
198
|
+
var _default_1 = withAnalyticsContext({
|
|
199
199
|
componentName: 'droplist',
|
|
200
200
|
packageName: packageName,
|
|
201
201
|
packageVersion: packageVersion
|
|
@@ -209,4 +209,5 @@ export default withAnalyticsContext({
|
|
|
209
209
|
packageVersion: packageVersion
|
|
210
210
|
}
|
|
211
211
|
})
|
|
212
|
-
})(DropList));
|
|
212
|
+
})(DropList));
|
|
213
|
+
export default _default_1;
|
|
@@ -8,7 +8,7 @@ var _excluded = ["children"];
|
|
|
8
8
|
|
|
9
9
|
import React, { forwardRef } from 'react';
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
+
// 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
|
|
12
12
|
import { css, jsx } from '@emotion/react';
|
|
13
13
|
import { defineMessages } from 'react-intl-next';
|
|
14
14
|
import { akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
|
|
@@ -152,6 +152,9 @@ var FloatingToolbarButton = function FloatingToolbarButton(_ref, forwardedRef) {
|
|
|
152
152
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
153
153
|
}, spotlightConfig.spotlightCardOptions)));
|
|
154
154
|
};
|
|
155
|
-
|
|
155
|
+
|
|
156
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
157
|
+
var _default_1 = componentWithCondition(function () {
|
|
156
158
|
return editorExperiment('platform_synced_block', true);
|
|
157
|
-
}, /*#__PURE__*/forwardRef(FloatingToolbarButton), FloatingToolbarButton);
|
|
159
|
+
}, /*#__PURE__*/forwardRef(FloatingToolbarButton), FloatingToolbarButton);
|
|
160
|
+
export default _default_1;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
|
+
// 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
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
var separator = css({
|
|
8
8
|
background: "var(--ds-border, #0B120E24)",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
|
+
// 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
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
import EditIcon from '@atlaskit/icon/core/edit';
|
|
8
8
|
var editIconStyles = css({
|
|
@@ -6,6 +6,8 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
6
6
|
* @jsx jsx
|
|
7
7
|
*/
|
|
8
8
|
import React, { useLayoutEffect, useRef, useState } from 'react';
|
|
9
|
+
|
|
10
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-imports -- jsx required at runtime for @jsxRuntime classic
|
|
9
11
|
import { css, jsx } from '@emotion/react'; // eslint-disable-line @atlaskit/ui-styling-standard/use-compiled
|
|
10
12
|
import { useIntl } from 'react-intl-next';
|
|
11
13
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -6,7 +6,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
6
6
|
*/
|
|
7
7
|
import React from 'react';
|
|
8
8
|
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
+
// 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
|
|
10
10
|
import { jsx } from '@emotion/react';
|
|
11
11
|
import classnames from 'classnames';
|
|
12
12
|
import { akEditorMediaResizeHandlerPaddingWide, DEFAULT_EMBED_CARD_WIDTH } from '@atlaskit/editor-shared-styles';
|
|
@@ -9,7 +9,7 @@ var _templateObject, _templateObject2, _templateObject3;
|
|
|
9
9
|
|
|
10
10
|
import React from 'react';
|
|
11
11
|
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
// 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
|
|
13
13
|
import { css, jsx } from '@emotion/react';
|
|
14
14
|
import { akEditorDefaultLayoutWidth, akEditorFullPageMaxWidth, akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
15
15
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -251,7 +251,7 @@ var RenderFallbackContainer = function RenderFallbackContainer(_ref2) {
|
|
|
251
251
|
export var mediaWrapperStyle = function mediaWrapperStyle(props) {
|
|
252
252
|
return css(_templateObject3 || (_templateObject3 = _taggedTemplateLiteral(["\n\tposition: relative;\n\n\t", "\n\n\t/* Editor */\n & > figure {\n\t\tposition: ", ";\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t/* Comments on media project adds comment badge as child of the media wrapper,\n\tthus we need to exclude it so that style is applied to intended div */\n\t& > div:not([data-media-badges='true']) {\n\t\tposition: ", ";\n\t\theight: 100%;\n\t\twidth: 100%;\n\t}\n\n\t& * [data-mark-annotation-type='inlineComment'] {\n\t\twidth: 100%;\n\t\theight: 100%;\n\t}\n\n\t&[data-node-type='embedCard'] > div {\n\t\twidth: 100%;\n\t}\n\n\t/* Renderer */\n\t[data-node-type='media'] {\n\t\tposition: static !important;\n\t\t", "\n\n\t\t> div {\n\t\t\tposition: absolute;\n\t\t\theight: 100%;\n\t\t}\n\t}\n"])), RenderFallbackContainer(props), props.hasFallbackContainer ? 'absolute' : 'relative', props.hasFallbackContainer ? 'absolute' : 'relative', fg('platform_forge_ui_support_images_in_adfrenderer') ? 'height: auto !important;' : '');
|
|
253
253
|
};
|
|
254
|
-
|
|
254
|
+
var MediaWrapper = function MediaWrapper(_ref3) {
|
|
255
255
|
var children = _ref3.children,
|
|
256
256
|
rest = _objectWithoutProperties(_ref3, _excluded);
|
|
257
257
|
return (
|
|
@@ -261,6 +261,7 @@ export var MediaWrapper = function MediaWrapper(_ref3) {
|
|
|
261
261
|
}, children)
|
|
262
262
|
);
|
|
263
263
|
};
|
|
264
|
+
export { MediaWrapper };
|
|
264
265
|
MediaWrapper.displayName = 'WrapperMediaSingle';
|
|
265
266
|
|
|
266
267
|
/*
|
|
@@ -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 { css, jsx } from '@emotion/react';
|
|
8
8
|
import { useIntl } from 'react-intl-next';
|
|
9
9
|
import ErrorIcon from '@atlaskit/icon/core/status-error';
|
|
@@ -14,7 +14,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
14
14
|
|
|
15
15
|
import { PureComponent } from 'react';
|
|
16
16
|
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
+
// 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
|
|
18
18
|
import { jsx } from '@emotion/react';
|
|
19
19
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
20
20
|
import { browser as browserLegacy, getBrowserInfo } from '../../utils/browser';
|
|
@@ -116,13 +116,13 @@ var calculateHorizontalPlacement = function calculateHorizontalPlacement(_ref) {
|
|
|
116
116
|
return position;
|
|
117
117
|
};
|
|
118
118
|
var getPopupXInsideParent = function getPopupXInsideParent(x, popupClientWidth, popupOffsetParentClientWidth) {
|
|
119
|
-
var
|
|
119
|
+
var minPopupMargin = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 1;
|
|
120
120
|
// prevent going too far right
|
|
121
121
|
if (popupOffsetParentClientWidth < x + popupClientWidth) {
|
|
122
|
-
x = popupOffsetParentClientWidth - popupClientWidth -
|
|
122
|
+
x = popupOffsetParentClientWidth - popupClientWidth - minPopupMargin;
|
|
123
123
|
}
|
|
124
124
|
// prevent going too far left
|
|
125
|
-
return Math.max(
|
|
125
|
+
return Math.max(minPopupMargin, x);
|
|
126
126
|
};
|
|
127
127
|
var calculateVerticalStickBottom = function calculateVerticalStickBottom(_ref2) {
|
|
128
128
|
var target = _ref2.target,
|
|
@@ -9,7 +9,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
9
9
|
|
|
10
10
|
import { useCallback, useEffect, useRef, useState } from 'react';
|
|
11
11
|
|
|
12
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
|
+
// 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
|
|
13
13
|
import { css, jsx } from '@emotion/react';
|
|
14
14
|
import { bind } from 'bind-event-listener';
|
|
15
15
|
import { akEditorMenuZIndex } from '@atlaskit/editor-shared-styles';
|
|
@@ -152,4 +152,5 @@ var TableSelectorPopup = function TableSelectorPopup(_ref3) {
|
|
|
152
152
|
"aria-hidden": true
|
|
153
153
|
}, "".concat(selectedCol, " ").concat(MULTIPLICATION_SYMBOL, " ").concat(selectedRow)));
|
|
154
154
|
};
|
|
155
|
-
|
|
155
|
+
var _default_1 = injectIntl(TableSelectorPopup);
|
|
156
|
+
export default _default_1;
|
|
@@ -65,4 +65,7 @@ var UnsupportedBlockNode = function UnsupportedBlockNode(_ref) {
|
|
|
65
65
|
}))))
|
|
66
66
|
);
|
|
67
67
|
};
|
|
68
|
-
|
|
68
|
+
|
|
69
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
70
|
+
var _default_1 = injectIntl(UnsupportedBlockNode);
|
|
71
|
+
export default _default_1;
|
|
@@ -59,4 +59,7 @@ var UnsupportedInlineNode = function UnsupportedInlineNode(_ref) {
|
|
|
59
59
|
label: "?"
|
|
60
60
|
}))));
|
|
61
61
|
};
|
|
62
|
-
|
|
62
|
+
|
|
63
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
64
|
+
var _default_1 = injectIntl(UnsupportedInlineNode);
|
|
65
|
+
export default _default_1;
|
|
@@ -5,7 +5,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
5
5
|
*/
|
|
6
6
|
import React, { Fragment, useContext, useMemo, useRef, useState } 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 memoizeOne from 'memoize-one';
|
|
11
11
|
import rafSchedule from 'raf-schd';
|
|
@@ -35,8 +35,8 @@ export function createWidthContext() {
|
|
|
35
35
|
};
|
|
36
36
|
}
|
|
37
37
|
export var WidthContext = /*#__PURE__*/React.createContext(createWidthContext());
|
|
38
|
-
var Provider = WidthContext.Provider
|
|
39
|
-
|
|
38
|
+
var Provider = WidthContext.Provider;
|
|
39
|
+
var Consumer = WidthContext.Consumer;
|
|
40
40
|
/**
|
|
41
41
|
* 🧱 Internal function: Editor FE Platform
|
|
42
42
|
*
|