@atlaskit/editor-common 112.4.4 → 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 +34 -0
- package/dist/cjs/ai-messages/ai.js +1 -1
- package/dist/cjs/analytics/types/enums.js +1 -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 +11 -2
- package/dist/cjs/messages/smart-link-changeboard.js +29 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/react-node-view/index.js +6 -2
- package/dist/cjs/resizer/Resizer.js +2 -1
- package/dist/cjs/table/SortingIcon.js +3 -1
- package/dist/cjs/ugc-tokens/editor-ugc-token-names.js +1 -0
- 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/OverflowShadow/index.js +8 -6
- package/dist/cjs/ui/PanelTextInput/index.js +1 -1
- package/dist/cjs/ui/Popup/utils.js +11 -4
- 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/ai-messages/ai.js +1 -1
- package/dist/es2019/analytics/types/enums.js +1 -0
- 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 +4 -2
- package/dist/es2019/messages/smart-link-changeboard.js +23 -0
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/react-node-view/index.js +6 -2
- package/dist/es2019/resizer/Resizer.js +2 -1
- package/dist/es2019/table/SortingIcon.js +4 -1
- package/dist/es2019/ugc-tokens/editor-ugc-token-names.js +1 -0
- 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/OverflowShadow/index.js +8 -6
- package/dist/es2019/ui/PanelTextInput/index.js +1 -1
- package/dist/es2019/ui/Popup/utils.js +11 -4
- 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/ai-messages/ai.js +1 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- 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 +4 -2
- package/dist/esm/messages/smart-link-changeboard.js +23 -0
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/react-node-view/index.js +6 -2
- package/dist/esm/resizer/Resizer.js +2 -1
- package/dist/esm/table/SortingIcon.js +4 -1
- package/dist/esm/ugc-tokens/editor-ugc-token-names.js +1 -0
- 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/OverflowShadow/index.js +8 -6
- package/dist/esm/ui/PanelTextInput/index.js +1 -1
- package/dist/esm/ui/Popup/utils.js +11 -4
- 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/analytics/types/enums.d.ts +1 -0
- package/dist/types/analytics/types/format-events.d.ts +5 -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 +3 -2
- package/dist/types/messages/smart-link-changeboard.d.ts +22 -0
- 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/ugc-tokens/editor-ugc-token-names.d.ts +1 -0
- 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/analytics/types/enums.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/format-events.d.ts +5 -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 +3 -2
- package/dist/types-ts4.5/messages/smart-link-changeboard.d.ts +22 -0
- 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/ugc-tokens/editor-ugc-token-names.d.ts +1 -0
- 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 +3 -3
|
@@ -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';
|
|
@@ -27,6 +27,7 @@ export { messages as dateMessages } from './date';
|
|
|
27
27
|
export { toolbarMessages as layoutMessages } from './layout';
|
|
28
28
|
export { messages as indentationMessages } from './indentation';
|
|
29
29
|
export { avatarGroupMessages } from './avatar-group';
|
|
30
|
+
export { smartLinkChangeboardMessages } from './smart-link-changeboard';
|
|
30
31
|
export { findReplaceMessages } from './find-replace';
|
|
31
32
|
export { elementInsertSidePanel } from './element-insert-side-panel';
|
|
32
33
|
export { textColorMessages } from './text-color';
|
|
@@ -49,7 +50,7 @@ export { syncBlockMessages } from './syncBlock';
|
|
|
49
50
|
export { limitedModeMessages } from './limited-mode';
|
|
50
51
|
export { companyHubTextColorMessages } from './company-hub-text-color';
|
|
51
52
|
export { nativeEmbedToolbarMessages } from './native-embed-toolbar';
|
|
52
|
-
|
|
53
|
+
const _default_1 = defineMessages({
|
|
53
54
|
layoutFixedWidth: {
|
|
54
55
|
id: 'fabric.editor.layoutFixedWidth',
|
|
55
56
|
defaultMessage: 'Back to center',
|
|
@@ -210,4 +211,5 @@ export default defineMessages({
|
|
|
210
211
|
defaultMessage: 'Success',
|
|
211
212
|
description: 'Label for success message icon'
|
|
212
213
|
}
|
|
213
|
-
});
|
|
214
|
+
});
|
|
215
|
+
export default _default_1;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { defineMessages } from 'react-intl-next';
|
|
2
|
+
export const smartLinkChangeboardMessages = defineMessages({
|
|
3
|
+
headline: {
|
|
4
|
+
id: 'platform.editor.smartlink.changeboard.headline',
|
|
5
|
+
defaultMessage: 'Drag and drop links',
|
|
6
|
+
description: 'Headline for the smart link drag and drop changeboarding popup'
|
|
7
|
+
},
|
|
8
|
+
gifAlt: {
|
|
9
|
+
id: 'platform.editor.smartlink.changeboard.gif.alt',
|
|
10
|
+
defaultMessage: 'Drag smart link into sidebar demonstration',
|
|
11
|
+
description: 'Alt text for the changeboarding GIF'
|
|
12
|
+
},
|
|
13
|
+
description: {
|
|
14
|
+
id: 'platform.editor.smartlink.changeboard.description',
|
|
15
|
+
defaultMessage: 'Keep your important links organized and easy to find by dragging Smart Links into the content tree.',
|
|
16
|
+
description: 'Description text for the changeboarding popup'
|
|
17
|
+
},
|
|
18
|
+
dismiss: {
|
|
19
|
+
id: 'platform.editor.smartlink.changeboard.dismiss',
|
|
20
|
+
defaultMessage: 'Done',
|
|
21
|
+
description: 'Label for the dismiss button in the changeboarding popup'
|
|
22
|
+
}
|
|
23
|
+
});
|
|
@@ -4,7 +4,7 @@ import { isFedRamp } from './environment';
|
|
|
4
4
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
5
5
|
const SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
6
6
|
const packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
7
|
-
const packageVersion = "
|
|
7
|
+
const packageVersion = "0.0.0-development";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -227,9 +227,13 @@ export default class ReactNodeView {
|
|
|
227
227
|
});
|
|
228
228
|
}
|
|
229
229
|
get dom() {
|
|
230
|
+
// Only return reference if domRef is defined
|
|
231
|
+
if (this.domRef === undefined) {
|
|
232
|
+
//raise an error
|
|
233
|
+
throw new Error('domRef is not defined or may have been destroyed');
|
|
234
|
+
}
|
|
235
|
+
|
|
230
236
|
// Spreading props to pass through dynamic component props
|
|
231
|
-
// Ignored via go/ees005
|
|
232
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
233
237
|
return this.domRef;
|
|
234
238
|
}
|
|
235
239
|
destroy() {
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
8
|
import { css, jsx } from '@emotion/react';
|
|
7
9
|
import { injectIntl } from 'react-intl-next';
|
|
8
10
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -189,4 +191,5 @@ const SortingIcon = ({
|
|
|
189
191
|
css: [iconStyles]
|
|
190
192
|
}))));
|
|
191
193
|
};
|
|
192
|
-
|
|
194
|
+
const _default_1 = injectIntl(SortingIcon);
|
|
195
|
+
export default _default_1;
|
|
@@ -40,6 +40,7 @@ export const editorUGCTokensRefreshed = {
|
|
|
40
40
|
'editor.font.heading.h5': 'normal 600 0.857143em/1.33333 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
41
41
|
'editor.font.heading.h6': 'normal 600 0.785714em/1.45455 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
42
42
|
'editor.font.body': 'normal 400 1em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
43
|
+
'editor.font.body.small': 'normal 400 0.875em/1.714 "Atlassian Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Ubuntu, "Helvetica Neue", sans-serif',
|
|
43
44
|
'editor.font.weight.heading.h1.bold': '700',
|
|
44
45
|
'editor.font.weight.heading.h2.bold': '700',
|
|
45
46
|
'editor.font.weight.heading.h3.bold': '700',
|
|
@@ -41,4 +41,5 @@ const Announcer = /*#__PURE__*/forwardRef(({
|
|
|
41
41
|
"aria-live": ariaLive
|
|
42
42
|
}, contentRendered && /*#__PURE__*/React.createElement("span", null, text));
|
|
43
43
|
});
|
|
44
|
-
|
|
44
|
+
const _default_1 = /*#__PURE__*/memo(Announcer);
|
|
45
|
+
export default _default_1;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { 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 debounce from 'lodash/debounce';
|
|
11
11
|
const assitiveTextStyles = css({
|
|
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
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 { injectIntl } from 'react-intl-next';
|
|
11
11
|
|
|
@@ -50,4 +50,7 @@ export class CaptionComponent extends React.Component {
|
|
|
50
50
|
}, jsx(Text, null, formatMessage(messages.placeholder))) : null, children);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
|
|
53
|
+
|
|
54
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
55
|
+
const _default_1 = injectIntl(CaptionComponent);
|
|
56
|
+
export default _default_1;
|
|
@@ -63,8 +63,6 @@ export class ContextPanelWidthProvider extends React.Component {
|
|
|
63
63
|
}, this.props.children);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
Consumer
|
|
69
|
-
} = ContextPanel;
|
|
66
|
+
const Provider = ContextPanel.Provider;
|
|
67
|
+
const Consumer = ContextPanel.Consumer;
|
|
70
68
|
export { Provider as ContextPanelProvider, Consumer as ContextPanelConsumer };
|
|
@@ -14,7 +14,7 @@ import withAnalyticsEvents from '@atlaskit/analytics-next/withAnalyticsEvents';
|
|
|
14
14
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
15
15
|
import Layer from '../Layer';
|
|
16
16
|
const packageName = "@atlaskit/editor-common";
|
|
17
|
-
const packageVersion = "
|
|
17
|
+
const packageVersion = "0.0.0-development";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|
|
@@ -182,7 +182,7 @@ class DropList extends Component {
|
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
const createAndFireEventOnAtlaskit = createAndFireEvent('atlaskit');
|
|
185
|
-
|
|
185
|
+
const _default_1 = withAnalyticsContext({
|
|
186
186
|
componentName: 'droplist',
|
|
187
187
|
packageName,
|
|
188
188
|
packageVersion
|
|
@@ -196,4 +196,5 @@ export default withAnalyticsContext({
|
|
|
196
196
|
packageVersion
|
|
197
197
|
}
|
|
198
198
|
})
|
|
199
|
-
})(DropList));
|
|
199
|
+
})(DropList));
|
|
200
|
+
export default _default_1;
|
|
@@ -6,7 +6,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
6
6
|
|
|
7
7
|
import React, { forwardRef } 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 { defineMessages } from 'react-intl-next';
|
|
12
12
|
import { akEditorSwoopCubicBezier } from '@atlaskit/editor-shared-styles';
|
|
@@ -146,4 +146,7 @@ const FloatingToolbarButton = ({
|
|
|
146
146
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
147
147
|
}, spotlightConfig.spotlightCardOptions)));
|
|
148
148
|
};
|
|
149
|
-
|
|
149
|
+
|
|
150
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
151
|
+
const _default_1 = componentWithCondition(() => editorExperiment('platform_synced_block', true), /*#__PURE__*/forwardRef(FloatingToolbarButton), FloatingToolbarButton);
|
|
152
|
+
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
|
const 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
|
const editIconStyles = css({
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
* @jsx jsx
|
|
6
6
|
*/
|
|
7
7
|
import React, { useLayoutEffect, useRef, useState } from 'react';
|
|
8
|
+
|
|
9
|
+
// eslint-disable-next-line @typescript-eslint/consistent-type-imports -- jsx required at runtime for @jsxRuntime classic
|
|
8
10
|
import { css, jsx } from '@emotion/react'; // eslint-disable-line @atlaskit/ui-styling-standard/use-compiled
|
|
9
11
|
import { useIntl } from 'react-intl-next';
|
|
10
12
|
import { NodeSelection } from '@atlaskit/editor-prosemirror/state';
|
|
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
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 { jsx } from '@emotion/react';
|
|
10
10
|
import classnames from 'classnames';
|
|
11
11
|
import { akEditorMediaResizeHandlerPaddingWide, DEFAULT_EMBED_CARD_WIDTH } from '@atlaskit/editor-shared-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 { akEditorDefaultLayoutWidth, akEditorFullPageMaxWidth, akEditorFullWidthLayoutWidth } from '@atlaskit/editor-shared-styles';
|
|
11
11
|
import { fg } from '@atlaskit/platform-feature-flags';
|
|
@@ -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';
|
|
@@ -60,10 +60,10 @@ export default function overflowShadow(Component, options) {
|
|
|
60
60
|
}
|
|
61
61
|
let width = 0;
|
|
62
62
|
for (let i = 0; i < this.scrollable.length; i++) {
|
|
63
|
-
// Ignored via go/ees005
|
|
64
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
65
63
|
const scrollableElement = this.scrollable[i];
|
|
66
|
-
|
|
64
|
+
if (isElementNode(scrollableElement)) {
|
|
65
|
+
width += scrollableElement.scrollWidth;
|
|
66
|
+
}
|
|
67
67
|
}
|
|
68
68
|
return width;
|
|
69
69
|
});
|
|
@@ -72,9 +72,6 @@ export default function overflowShadow(Component, options) {
|
|
|
72
72
|
return;
|
|
73
73
|
}
|
|
74
74
|
this.container = container;
|
|
75
|
-
|
|
76
|
-
// Ignored via go/ees005
|
|
77
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
78
75
|
this.overflowContainer = container.querySelector(options.overflowSelector);
|
|
79
76
|
if (!this.overflowContainer) {
|
|
80
77
|
this.overflowContainer = container;
|
|
@@ -152,4 +149,9 @@ export default function overflowShadow(Component, options) {
|
|
|
152
149
|
}, this.props));
|
|
153
150
|
}
|
|
154
151
|
};
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
// Helper function to check if the passed node is of Element class
|
|
155
|
+
function isElementNode(node) {
|
|
156
|
+
return node.nodeType === 1;
|
|
155
157
|
}
|
|
@@ -6,7 +6,7 @@ import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
|
6
6
|
|
|
7
7
|
import { 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 { jsx } from '@emotion/react';
|
|
11
11
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
12
12
|
import { browser as browserLegacy, getBrowserInfo } from '../../utils/browser';
|
|
@@ -229,7 +229,7 @@ export function calculatePosition({
|
|
|
229
229
|
minPopupMargin
|
|
230
230
|
}) {
|
|
231
231
|
let position = {};
|
|
232
|
-
if (!target || !popup || !popup.offsetParent) {
|
|
232
|
+
if (!target || !popup || !popup.offsetParent || !isHTMLElementNode(popup.offsetParent)) {
|
|
233
233
|
return position;
|
|
234
234
|
}
|
|
235
235
|
if (isTextNode(target)) {
|
|
@@ -237,9 +237,6 @@ export function calculatePosition({
|
|
|
237
237
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
238
238
|
target = target.parentElement;
|
|
239
239
|
}
|
|
240
|
-
|
|
241
|
-
// Ignored via go/ees005
|
|
242
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
243
240
|
const popupOffsetParent = popup.offsetParent;
|
|
244
241
|
const offsetParentStyle = popupOffsetParent.style;
|
|
245
242
|
let borderBottomWidth = 0;
|
|
@@ -354,4 +351,14 @@ export function findOverflowScrollParent(popup) {
|
|
|
354
351
|
}
|
|
355
352
|
}
|
|
356
353
|
return false;
|
|
354
|
+
}
|
|
355
|
+
|
|
356
|
+
// Helper function to check if the passed node is of Element class
|
|
357
|
+
function isElementNode(node) {
|
|
358
|
+
return node.nodeType === 1;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
// Helper function to check if the passed node is of HTMLElement class
|
|
362
|
+
function isHTMLElementNode(node) {
|
|
363
|
+
return isElementNode(node) && node.namespaceURI === 'http://www.w3.org/1999/xhtml';
|
|
357
364
|
}
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { useCallback, useEffect, 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 { bind } from 'bind-event-listener';
|
|
11
11
|
import { akEditorMenuZIndex } from '@atlaskit/editor-shared-styles';
|
|
@@ -152,4 +152,5 @@ const TableSelectorPopup = ({
|
|
|
152
152
|
"aria-hidden": true
|
|
153
153
|
}, `${selectedCol} ${MULTIPLICATION_SYMBOL} ${selectedRow}`));
|
|
154
154
|
};
|
|
155
|
-
|
|
155
|
+
const _default_1 = injectIntl(TableSelectorPopup);
|
|
156
|
+
export default _default_1;
|
|
@@ -59,4 +59,7 @@ const UnsupportedInlineNode = ({
|
|
|
59
59
|
label: "?"
|
|
60
60
|
}))));
|
|
61
61
|
};
|
|
62
|
-
|
|
62
|
+
|
|
63
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
64
|
+
const _default_1 = injectIntl(UnsupportedInlineNode);
|
|
65
|
+
export default _default_1;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React, { Fragment, useContext, 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
|
import memoizeOne from 'memoize-one';
|
|
10
10
|
import rafSchedule from 'raf-schd';
|
|
@@ -32,10 +32,8 @@ export function createWidthContext(width = 0) {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
export const WidthContext = /*#__PURE__*/React.createContext(createWidthContext());
|
|
35
|
-
const
|
|
36
|
-
|
|
37
|
-
Consumer
|
|
38
|
-
} = WidthContext;
|
|
35
|
+
const Provider = WidthContext.Provider;
|
|
36
|
+
const Consumer = WidthContext.Consumer;
|
|
39
37
|
/**
|
|
40
38
|
* 🧱 Internal function: Editor FE Platform
|
|
41
39
|
*
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
import React from 'react';
|
|
6
6
|
|
|
7
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
7
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
8
8
|
import { jsx } from '@emotion/react';
|
|
9
9
|
import EditorDoneIcon from '@atlaskit/icon/core/check-mark';
|
|
10
10
|
import Tooltip from '@atlaskit/tooltip';
|