@atlaskit/editor-common 112.5.0 → 112.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- 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/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/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/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
|
@@ -15,7 +15,7 @@ var _messages = _interopRequireDefault(require("../../messages"));
|
|
|
15
15
|
* @jsx jsx
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
+
// 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
|
|
19
19
|
|
|
20
20
|
var errorColor = (0, _react.css)({
|
|
21
21
|
color: "var(--ds-text-danger, #AE2E24)"
|
|
@@ -21,7 +21,7 @@ function _callSuper(t, o, e) { return o = (0, _getPrototypeOf2.default)(o), (0,
|
|
|
21
21
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } /**
|
|
22
22
|
* @jsxRuntime classic
|
|
23
23
|
* @jsx jsx
|
|
24
|
-
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
24
|
+
*/ // 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
|
|
25
25
|
var KeyZCode = 90;
|
|
26
26
|
var KeyYCode = 89;
|
|
27
27
|
|
|
@@ -22,7 +22,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
22
22
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /**
|
|
23
23
|
* @jsxRuntime classic
|
|
24
24
|
* @jsx jsx
|
|
25
|
-
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
|
+
*/ // 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
|
|
26
26
|
var TABLE_SELECTOR_PADDING_TOP = 8;
|
|
27
27
|
var TABLE_SELECTOR_PADDING_SIDE = 10;
|
|
28
28
|
var DEFAULT_TABLE_SELECTOR_ROWS = 5;
|
|
@@ -160,4 +160,5 @@ var TableSelectorPopup = function TableSelectorPopup(_ref3) {
|
|
|
160
160
|
"aria-hidden": true
|
|
161
161
|
}, "".concat(selectedCol, " ").concat(MULTIPLICATION_SYMBOL, " ").concat(selectedRow)));
|
|
162
162
|
};
|
|
163
|
-
var
|
|
163
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(TableSelectorPopup);
|
|
164
|
+
var _default = exports.default = _default_1;
|
|
@@ -75,4 +75,7 @@ var UnsupportedBlockNode = function UnsupportedBlockNode(_ref) {
|
|
|
75
75
|
}))))
|
|
76
76
|
);
|
|
77
77
|
};
|
|
78
|
-
|
|
78
|
+
|
|
79
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
80
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(UnsupportedBlockNode);
|
|
81
|
+
var _default = exports.default = _default_1;
|
|
@@ -69,4 +69,7 @@ var UnsupportedInlineNode = function UnsupportedInlineNode(_ref) {
|
|
|
69
69
|
label: "?"
|
|
70
70
|
}))));
|
|
71
71
|
};
|
|
72
|
-
|
|
72
|
+
|
|
73
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
74
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(UnsupportedInlineNode);
|
|
75
|
+
var _default = exports.default = _default_1;
|
|
@@ -22,7 +22,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
22
22
|
* @jsx jsx
|
|
23
23
|
*/
|
|
24
24
|
|
|
25
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
25
|
+
// 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
|
|
26
26
|
|
|
27
27
|
var styles = (0, _react2.css)({
|
|
28
28
|
position: 'relative',
|
|
@@ -48,8 +48,8 @@ function createWidthContext() {
|
|
|
48
48
|
};
|
|
49
49
|
}
|
|
50
50
|
var WidthContext = exports.WidthContext = /*#__PURE__*/_react.default.createContext(createWidthContext());
|
|
51
|
-
var Provider = WidthContext.Provider
|
|
52
|
-
|
|
51
|
+
var Provider = WidthContext.Provider;
|
|
52
|
+
var Consumer = exports.WidthConsumer = WidthContext.Consumer;
|
|
53
53
|
/**
|
|
54
54
|
* 🧱 Internal function: Editor FE Platform
|
|
55
55
|
*
|
|
@@ -15,7 +15,7 @@ var _styles = require("./styles");
|
|
|
15
15
|
* @jsx jsx
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
18
|
+
// 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
|
|
19
19
|
|
|
20
20
|
var Color = function Color(props) {
|
|
21
21
|
var autoFocus = props.autoFocus,
|
|
@@ -16,7 +16,7 @@ var _textColorPalette = require("./textColorPalette");
|
|
|
16
16
|
* @jsx jsx
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
19
|
+
// 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
|
|
20
20
|
|
|
21
21
|
var REMOVE_HIGHLIGHT_COLOR = exports.REMOVE_HIGHLIGHT_COLOR = '#00000000';
|
|
22
22
|
|
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _reactIntlNext = require("react-intl-next");
|
|
8
|
-
var
|
|
8
|
+
var _default_1 = (0, _reactIntlNext.defineMessages)({
|
|
9
9
|
white: {
|
|
10
10
|
id: 'fabric.theme.white',
|
|
11
11
|
defaultMessage: 'White',
|
|
@@ -142,4 +142,5 @@ var _default = exports.default = (0, _reactIntlNext.defineMessages)({
|
|
|
142
142
|
defaultMessage: 'Magenta',
|
|
143
143
|
description: "Tooltip for the magenta color used in the main toolbar's highlight color palette"
|
|
144
144
|
}
|
|
145
|
-
});
|
|
145
|
+
});
|
|
146
|
+
var _default = exports.default = _default_1;
|
|
@@ -103,4 +103,7 @@ var ColorPalette = function ColorPalette(props) {
|
|
|
103
103
|
}));
|
|
104
104
|
}));
|
|
105
105
|
};
|
|
106
|
-
|
|
106
|
+
|
|
107
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
108
|
+
var _default_1 = (0, _reactIntlNext.injectIntl)(ColorPalette);
|
|
109
|
+
var _default = exports.default = _default_1;
|
|
@@ -259,6 +259,7 @@ var ColorPickerButton = function ColorPickerButton(props) {
|
|
|
259
259
|
size: "small"
|
|
260
260
|
})))))), renderPopup());
|
|
261
261
|
};
|
|
262
|
-
var
|
|
262
|
+
var _default_1 = (0, _withAnalyticsContext.default)({
|
|
263
263
|
source: 'ConfigPanel'
|
|
264
|
-
})((0, _withAnalyticsEvents.default)()(ColorPickerButton));
|
|
264
|
+
})((0, _withAnalyticsEvents.default)()(ColorPickerButton));
|
|
265
|
+
var _default = exports.default = _default_1;
|
|
@@ -40,7 +40,7 @@ var _templateObject, _templateObject2, _templateObject3;
|
|
|
40
40
|
* @jsxRuntime classic
|
|
41
41
|
* @jsx jsx
|
|
42
42
|
*/
|
|
43
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
43
|
+
// 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
|
|
44
44
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
45
45
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
46
46
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
@@ -371,6 +371,8 @@ function DropdownMenuItem(_ref) {
|
|
|
371
371
|
}
|
|
372
372
|
return dropListItem;
|
|
373
373
|
}
|
|
374
|
+
|
|
375
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Ignored via go/ees005
|
|
374
376
|
var DropdownMenuWithKeyboardNavigation = exports.DropdownMenuWithKeyboardNavigation = /*#__PURE__*/_react.default.memo(
|
|
375
377
|
// Ignored via go/ees005
|
|
376
378
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -17,7 +17,7 @@ function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r
|
|
|
17
17
|
* @jsx jsx
|
|
18
18
|
*/
|
|
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
|
|
|
22
22
|
/*
|
|
23
23
|
** The context is used to handle the keydown events of submenus.
|
|
@@ -10,7 +10,8 @@ var _react = _interopRequireDefault(require("react"));
|
|
|
10
10
|
var _standardButton = _interopRequireDefault(require("@atlaskit/button/standard-button"));
|
|
11
11
|
// If you make any change here, copy it to above file as well
|
|
12
12
|
// and notify about the change in #team-fc-editor-ai-dev channel.
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
var _default_1 = /*#__PURE__*/_react.default.forwardRef(function (props, ref) {
|
|
14
15
|
return /*#__PURE__*/_react.default.createElement(_standardButton.default, (0, _extends2.default)({
|
|
15
16
|
ref: ref
|
|
16
17
|
// Ignored via go/ees005
|
|
@@ -24,4 +25,5 @@ var _default = exports.default = /*#__PURE__*/_react.default.forwardRef(function
|
|
|
24
25
|
alignItems: 'center'
|
|
25
26
|
}
|
|
26
27
|
}));
|
|
27
|
-
});
|
|
28
|
+
});
|
|
29
|
+
var _default = exports.default = _default_1;
|
|
@@ -20,15 +20,15 @@ var _slice = require("./slice");
|
|
|
20
20
|
// File has been copied to packages/editor/editor-plugin-ai/src/provider/markdown-transformer/utils/hyperlink.ts
|
|
21
21
|
// If changes are made to this file, please make the same update in the linked file.
|
|
22
22
|
|
|
23
|
+
/* eslint-disable require-unicode-regexp -- Omit `u` so emitDeclarationOnly build (pre-ES2015 lib) does not error TS1501; patterns are ASCII-only paths and $/{ prefix. */
|
|
23
24
|
// Regular expression for a windows filepath in the format <DRIVE LETTER>:\<folder name>\
|
|
24
25
|
// Ignored via go/ees005
|
|
25
|
-
// eslint-disable-next-line require-unicode-regexp
|
|
26
26
|
var FILEPATH_REGEXP = exports.FILEPATH_REGEXP = /([a-zA-Z]:|\\)([^\/:*?<>"|]+\\)?([^\/:*?<>"| ]+(?=\s?))?/gim;
|
|
27
27
|
|
|
28
28
|
// Don't linkify if starts with $ or {
|
|
29
29
|
// Ignored via go/ees005
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
var DONTLINKIFY_REGEXP = exports.DONTLINKIFY_REGEXP = /^(\$|\{)/;
|
|
31
|
+
/* eslint-enable require-unicode-regexp */
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
34
|
* Instance of class LinkMatcher are used in autoformatting in place of Regex.
|
|
@@ -128,6 +128,8 @@ function linkifyContent(schema) {
|
|
|
128
128
|
});
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
+
|
|
132
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
131
133
|
function getLinkDomain(url) {
|
|
132
134
|
// Remove protocol and www., if either exists
|
|
133
135
|
// Ignored via go/ees005
|
|
@@ -142,6 +144,8 @@ function getLinkDomain(url) {
|
|
|
142
144
|
// eslint-disable-next-line require-unicode-regexp
|
|
143
145
|
return withoutWWW.replace(/[:\/?#](.*)$/, '');
|
|
144
146
|
}
|
|
147
|
+
|
|
148
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
145
149
|
function isFromCurrentDomain(url) {
|
|
146
150
|
if (!window || !window.location) {
|
|
147
151
|
return false;
|
|
@@ -166,7 +170,7 @@ var findFilepaths = exports.findFilepaths = function findFilepaths(text) {
|
|
|
166
170
|
var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
167
171
|
// Creation of a copy of the RegExp is necessary as lastIndex is stored on it when we run .exec()
|
|
168
172
|
// Ignored via go/ees005
|
|
169
|
-
// eslint-disable-next-line require-unicode-regexp
|
|
173
|
+
// eslint-disable-next-line require-unicode-regexp -- Ignored via go/ees005
|
|
170
174
|
var localRegExp = new RegExp(FILEPATH_REGEXP);
|
|
171
175
|
var match;
|
|
172
176
|
var matchesList = [];
|
|
@@ -194,6 +198,8 @@ var isLinkInMatches = exports.isLinkInMatches = function isLinkInMatches(linkSta
|
|
|
194
198
|
}
|
|
195
199
|
return false;
|
|
196
200
|
};
|
|
201
|
+
|
|
202
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
197
203
|
function getLinkCreationAnalyticsEvent(inputMethod, url) {
|
|
198
204
|
return {
|
|
199
205
|
action: _enums.ACTION.INSERTED,
|
|
@@ -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 { css, jsx } from '@emotion/react';
|
|
9
9
|
import ButtonGroup from '@atlaskit/button/button-group';
|
|
10
10
|
import { FloatingToolbarButton as Button } from '../ui';
|
|
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
5
5
|
*/
|
|
6
6
|
import React, { Fragment, memo, useCallback, useEffect, useMemo, 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 { Grid, List } from 'react-virtualized';
|
|
11
11
|
import { AutoSizer } from 'react-virtualized/dist/commonjs/AutoSizer';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
const _default_1 = defineMessages({
|
|
3
3
|
elementAfterInputMessage: {
|
|
4
4
|
id: 'fabric.editor.elementbrowser.searchbar.elementAfterInput',
|
|
5
5
|
defaultMessage: 'Enter',
|
|
@@ -25,4 +25,5 @@ export default defineMessages({
|
|
|
25
25
|
defaultMessage: '{count, plural, =0 {Nothing matches your search.} one {{count} suggestion available for typed text.} other {{count} suggestions available for typed text.}}',
|
|
26
26
|
description: 'Assistive text to describe the list of suggestions filtered by typed user input'
|
|
27
27
|
}
|
|
28
|
-
});
|
|
28
|
+
});
|
|
29
|
+
export default _default_1;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React, { Fragment } 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 { css, jsx } from '@emotion/react';
|
|
9
9
|
import classnames from 'classnames';
|
|
10
10
|
import { akEditorGutterPaddingDynamic, akEditorGutterPaddingReduced, akEditorFullPageNarrowBreakout } from '@atlaskit/editor-shared-styles';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { Fragment, useCallback } 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 { defineMessages, useIntl } from 'react-intl-next';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { useCallback } 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 { defineMessages, useIntl } from 'react-intl-next';
|
|
11
11
|
import CheckMarkIcon from '@atlaskit/icon/core/check-mark';
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
* @jsx jsx
|
|
5
5
|
*/
|
|
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 { css, jsx } from '@emotion/react';
|
|
9
9
|
import classnames from 'classnames';
|
|
10
10
|
import { FormattedMessage, defineMessages } from 'react-intl-next';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { 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 { jsx } from '@emotion/react';
|
|
10
10
|
import EditorFileIcon from '@atlaskit/icon/core/file';
|
|
11
11
|
import { placeholderFallback, placeholderFallbackParams } from '../styles';
|
|
@@ -5,7 +5,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
5
5
|
* @jsx jsx
|
|
6
6
|
*/
|
|
7
7
|
import { Component } from 'react';
|
|
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 { jsx } from '@emotion/react';
|
|
10
10
|
import { getExtensionLozengeData } from '../../../utils';
|
|
11
11
|
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';
|
|
@@ -7,7 +7,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
7
7
|
|
|
8
8
|
import React, { Fragment, useState } from 'react';
|
|
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 classnames from 'classnames';
|
|
13
13
|
import EditorFileIcon from '@atlaskit/icon/core/file';
|
|
@@ -20,11 +20,15 @@ manifest, extKey, nodeKey, extensionType, extensionKey) {
|
|
|
20
20
|
}
|
|
21
21
|
return node;
|
|
22
22
|
}
|
|
23
|
-
export function getExtensionManifest(extensionProvider, extensionType, extensionKey
|
|
23
|
+
export function getExtensionManifest(extensionProvider, extensionType, extensionKey
|
|
24
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Generic extension types; any required for provider compatibility
|
|
25
|
+
) {
|
|
24
26
|
const [extKey] = getExtensionKeyAndNodeKey(extensionKey, extensionType);
|
|
25
27
|
return extensionProvider.getExtension(extensionType, extKey);
|
|
26
28
|
}
|
|
27
|
-
export async function getExtensionModuleNode(extensionProvider, extensionType, extensionKey
|
|
29
|
+
export async function getExtensionModuleNode(extensionProvider, extensionType, extensionKey
|
|
30
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Generic extension types; any required for provider compatibility
|
|
31
|
+
) {
|
|
28
32
|
const [extKey, nodeKey] = getExtensionKeyAndNodeKey(extensionKey, extensionType);
|
|
29
33
|
const manifest = await extensionProvider.getExtension(extensionType, extKey);
|
|
30
34
|
return getNodeFromManifest(manifest, extKey, nodeKey, extensionType, extensionKey);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { useCallback, useEffect, useMemo, useRef, useState } 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 { css, jsx } from '@emotion/react';
|
|
9
9
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
10
10
|
|
|
@@ -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
|
const separatorStyles = css({
|
|
8
8
|
background: "var(--ds-border, #0B120E24)",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
const _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
|
const createSteppedRainbow = colors => {
|
|
8
8
|
return `
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React, { Fragment } 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 { css, jsx } from '@emotion/react';
|
|
9
9
|
import { base, keyName } from 'w3c-keyname';
|
|
10
10
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -97,6 +97,7 @@ const Dropdown = ({
|
|
|
97
97
|
testId: `${testId}-dropdown-item-configure`
|
|
98
98
|
}, configureLinkLabel)));
|
|
99
99
|
};
|
|
100
|
-
|
|
100
|
+
const _default_1 = withAnalyticsContext({
|
|
101
101
|
source: SMALL_LINK_TOOLBAR_ANALYTICS_SOURCE
|
|
102
|
-
})(Dropdown);
|
|
102
|
+
})(Dropdown);
|
|
103
|
+
export default _default_1;
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
* @jsxRuntime classic
|
|
4
4
|
* @jsx jsx
|
|
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 Button from '@atlaskit/button';
|
|
9
9
|
const buttonStyles = css({
|
|
@@ -72,7 +72,12 @@ export const EditorLinkPicker = ({
|
|
|
72
72
|
}, /*#__PURE__*/React.createElement(AnalyticsContext, {
|
|
73
73
|
data: analyticsData
|
|
74
74
|
}, /*#__PURE__*/React.createElement(FocusLock, {
|
|
75
|
-
returnFocus:
|
|
75
|
+
returnFocus: {
|
|
76
|
+
preventScroll: true
|
|
77
|
+
},
|
|
78
|
+
focusOptions: {
|
|
79
|
+
preventScroll: true
|
|
80
|
+
}
|
|
76
81
|
}, /*#__PURE__*/React.createElement(LazyLinkPicker
|
|
77
82
|
// Ignored via go/ees005
|
|
78
83
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
@@ -6,7 +6,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
6
6
|
|
|
7
7
|
import React, { PureComponent } 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
|
import { flushSync } from 'react-dom';
|
|
@@ -583,7 +583,7 @@ export class HyperlinkLinkAddToolbar extends PureComponent {
|
|
|
583
583
|
} = this.props;
|
|
584
584
|
|
|
585
585
|
// Ignored via go/ees005
|
|
586
|
-
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
|
|
586
|
+
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners, @atlaskit/platform/no-direct-document-usage
|
|
587
587
|
document.addEventListener('mousedown', this.handleClickOutside);
|
|
588
588
|
this.fireAnalytics({
|
|
589
589
|
action: ACTION.VIEWED,
|
|
@@ -610,7 +610,7 @@ export class HyperlinkLinkAddToolbar extends PureComponent {
|
|
|
610
610
|
} = this.props;
|
|
611
611
|
|
|
612
612
|
// Ignored via go/ees005
|
|
613
|
-
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
|
|
613
|
+
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners, @atlaskit/platform/no-direct-document-usage
|
|
614
614
|
document.removeEventListener('mousedown', this.handleClickOutside);
|
|
615
615
|
if (!this.submitted) {
|
|
616
616
|
this.fireAnalytics({
|
|
@@ -838,7 +838,12 @@ export class HyperlinkLinkAddToolbar extends PureComponent {
|
|
|
838
838
|
})));
|
|
839
839
|
if (expValEquals('platform_editor_a11y_escape_link_dialog', 'isEnabled', true)) {
|
|
840
840
|
return jsx(FocusLock, {
|
|
841
|
-
returnFocus:
|
|
841
|
+
returnFocus: {
|
|
842
|
+
preventScroll: true
|
|
843
|
+
},
|
|
844
|
+
focusOptions: {
|
|
845
|
+
preventScroll: true
|
|
846
|
+
}
|
|
842
847
|
}, hyperlinkElement);
|
|
843
848
|
}
|
|
844
849
|
return hyperlinkElement;
|
|
@@ -858,5 +863,8 @@ function findIndex(array, predicate) {
|
|
|
858
863
|
function limit(items) {
|
|
859
864
|
return items.slice(0, RECENT_SEARCH_LIST_SIZE);
|
|
860
865
|
}
|
|
866
|
+
|
|
867
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
861
868
|
export const HyperlinkLinkAddToolbarWithIntl = injectIntl(HyperlinkLinkAddToolbar);
|
|
862
|
-
|
|
869
|
+
const _default_1 = withAnalyticsEvents()(HyperlinkLinkAddToolbarWithIntl);
|
|
870
|
+
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';
|
|
@@ -139,6 +139,8 @@ const LinkSearchListItem = (props, ref) => {
|
|
|
139
139
|
}, item.container, renderTimeStamp())));
|
|
140
140
|
};
|
|
141
141
|
const ForwardedLinkSearchListItem = /*#__PURE__*/forwardRef(LinkSearchListItem);
|
|
142
|
+
|
|
143
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- injectIntl ref typing incompatible with explicit RefAttributes<HTMLDivElement>
|
|
142
144
|
export const ForwardedLinkSearchListItemWithIntl = injectIntl(ForwardedLinkSearchListItem, {
|
|
143
145
|
forwardRef: true
|
|
144
146
|
});
|
|
@@ -4,7 +4,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
* @jsx jsx
|
|
5
5
|
*/
|
|
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 { css, jsx } from '@emotion/react';
|
|
9
9
|
import { hexToEditorBorderPaletteColor } from '@atlaskit/editor-palette';
|
|
10
10
|
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';
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import { Fragment, useCallback, useEffect, useMemo, useState } 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 ReactDOM from 'react-dom';
|
|
10
10
|
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 const Frame = ({
|
|
@@ -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
|
const 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';
|