@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
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { backgroundColorPalette } from '@atlaskit/adf-schema';
|
|
9
9
|
import { useThemeObserver } from '@atlaskit/tokens';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
const _default_1 = defineMessages({
|
|
3
3
|
white: {
|
|
4
4
|
id: 'fabric.theme.white',
|
|
5
5
|
defaultMessage: 'White',
|
|
@@ -136,4 +136,5 @@ export default defineMessages({
|
|
|
136
136
|
defaultMessage: 'Magenta',
|
|
137
137
|
description: "Tooltip for the magenta color used in the main toolbar's highlight color palette"
|
|
138
138
|
}
|
|
139
|
-
});
|
|
139
|
+
});
|
|
140
|
+
export default _default_1;
|
|
@@ -239,6 +239,7 @@ const ColorPickerButton = props => {
|
|
|
239
239
|
size: "small"
|
|
240
240
|
})))))), renderPopup());
|
|
241
241
|
};
|
|
242
|
-
|
|
242
|
+
const _default_1 = withAnalyticsContext({
|
|
243
243
|
source: 'ConfigPanel'
|
|
244
|
-
})(withAnalyticsEvents()(ColorPickerButton));
|
|
244
|
+
})(withAnalyticsEvents()(ColorPickerButton));
|
|
245
|
+
export default _default_1;
|
|
@@ -8,7 +8,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
8
8
|
|
|
9
9
|
import React, { PureComponent, useContext } from 'react';
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
12
12
|
import { css, jsx } from '@emotion/react';
|
|
13
13
|
import { akEditorFloatingPanelZIndex } from '@atlaskit/editor-shared-styles';
|
|
14
14
|
import { CustomItem, MenuGroup, Section } from '@atlaskit/menu';
|
|
@@ -390,6 +390,8 @@ export function DropdownMenuItem({
|
|
|
390
390
|
}
|
|
391
391
|
return dropListItem;
|
|
392
392
|
}
|
|
393
|
+
|
|
394
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Ignored via go/ees005
|
|
393
395
|
export const DropdownMenuWithKeyboardNavigation = /*#__PURE__*/React.memo(
|
|
394
396
|
// Ignored via go/ees005
|
|
395
397
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import React, { useCallback, useLayoutEffect, useMemo, useRef } from 'react';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { ELEMENT_BROWSER_ID } from '../../element-browser';
|
|
11
11
|
import { fullPageMessages } from '../../messages';
|
|
@@ -3,7 +3,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
3
3
|
// and notify about the change in #team-fc-editor-ai-dev channel.
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import Button from '@atlaskit/button/standard-button';
|
|
6
|
-
|
|
6
|
+
const _default_1 = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
7
7
|
return /*#__PURE__*/React.createElement(Button, _extends({
|
|
8
8
|
ref: ref
|
|
9
9
|
// Ignored via go/ees005
|
|
@@ -17,4 +17,5 @@ export default /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
|
17
17
|
alignItems: 'center'
|
|
18
18
|
}
|
|
19
19
|
}));
|
|
20
|
-
});
|
|
20
|
+
});
|
|
21
|
+
export default _default_1;
|
|
@@ -6,15 +6,15 @@ import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '../analyt
|
|
|
6
6
|
import { shouldAutoLinkifyMatch } from './should-auto-linkify-tld';
|
|
7
7
|
import { mapSlice } from './slice';
|
|
8
8
|
|
|
9
|
+
/* eslint-disable require-unicode-regexp -- Omit `u` so emitDeclarationOnly build (pre-ES2015 lib) does not error TS1501; patterns are ASCII-only paths and $/{ prefix. */
|
|
9
10
|
// Regular expression for a windows filepath in the format <DRIVE LETTER>:\<folder name>\
|
|
10
11
|
// Ignored via go/ees005
|
|
11
|
-
// eslint-disable-next-line require-unicode-regexp
|
|
12
12
|
export const FILEPATH_REGEXP = /([a-zA-Z]:|\\)([^\/:*?<>"|]+\\)?([^\/:*?<>"| ]+(?=\s?))?/gim;
|
|
13
13
|
|
|
14
14
|
// Don't linkify if starts with $ or {
|
|
15
15
|
// Ignored via go/ees005
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
export const DONTLINKIFY_REGEXP = /^(\$|\{)/;
|
|
17
|
+
/* eslint-enable require-unicode-regexp */
|
|
18
18
|
|
|
19
19
|
/**
|
|
20
20
|
* Instance of class LinkMatcher are used in autoformatting in place of Regex.
|
|
@@ -101,6 +101,8 @@ export function linkifyContent(schema) {
|
|
|
101
101
|
return node;
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
|
+
|
|
105
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
104
106
|
export function getLinkDomain(url) {
|
|
105
107
|
// Remove protocol and www., if either exists
|
|
106
108
|
// Ignored via go/ees005
|
|
@@ -115,6 +117,8 @@ export function getLinkDomain(url) {
|
|
|
115
117
|
// eslint-disable-next-line require-unicode-regexp
|
|
116
118
|
return withoutWWW.replace(/[:\/?#](.*)$/, '');
|
|
117
119
|
}
|
|
120
|
+
|
|
121
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
118
122
|
export function isFromCurrentDomain(url) {
|
|
119
123
|
if (!window || !window.location) {
|
|
120
124
|
return false;
|
|
@@ -138,7 +142,7 @@ function findLinkMatches(text) {
|
|
|
138
142
|
export const findFilepaths = (text, offset = 0) => {
|
|
139
143
|
// Creation of a copy of the RegExp is necessary as lastIndex is stored on it when we run .exec()
|
|
140
144
|
// Ignored via go/ees005
|
|
141
|
-
// eslint-disable-next-line require-unicode-regexp
|
|
145
|
+
// eslint-disable-next-line require-unicode-regexp -- Ignored via go/ees005
|
|
142
146
|
const localRegExp = new RegExp(FILEPATH_REGEXP);
|
|
143
147
|
let match;
|
|
144
148
|
const matchesList = [];
|
|
@@ -166,6 +170,8 @@ export const isLinkInMatches = (linkStart, matchesList) => {
|
|
|
166
170
|
}
|
|
167
171
|
return false;
|
|
168
172
|
};
|
|
173
|
+
|
|
174
|
+
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
169
175
|
export function getLinkCreationAnalyticsEvent(inputMethod, url) {
|
|
170
176
|
return {
|
|
171
177
|
action: ACTION.INSERTED,
|
|
@@ -249,7 +249,7 @@ export var aiMessages = defineMessages({
|
|
|
249
249
|
// Block menu messages
|
|
250
250
|
blockMenuNestedMenuTitle: {
|
|
251
251
|
id: 'fabric.editor.ai.config.item.blockMenuNestedMenu.title',
|
|
252
|
-
defaultMessage: '
|
|
252
|
+
defaultMessage: 'View more actions',
|
|
253
253
|
description: 'Title for the nested menu in the block menu'
|
|
254
254
|
}
|
|
255
255
|
});
|
|
@@ -442,6 +442,7 @@ export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
442
442
|
ACTION_SUBJECT_ID["FORMAT_CODE"] = "code";
|
|
443
443
|
ACTION_SUBJECT_ID["FORMAT_COLOR"] = "color";
|
|
444
444
|
ACTION_SUBJECT_ID["FORMAT_HEADING"] = "heading";
|
|
445
|
+
ACTION_SUBJECT_ID["FORMAT_SMALL_TEXT"] = "smallText";
|
|
445
446
|
ACTION_SUBJECT_ID["FORMAT_INDENT"] = "indentation";
|
|
446
447
|
ACTION_SUBJECT_ID["FORMAT_ITALIC"] = "italic";
|
|
447
448
|
ACTION_SUBJECT_ID["FORMAT_LIST_BULLET"] = "bulletedList";
|
|
@@ -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';
|
|
@@ -6,7 +6,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
6
6
|
*/
|
|
7
7
|
import React, { Fragment, memo, useCallback, useEffect, useMemo, useState } from 'react';
|
|
8
8
|
|
|
9
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
10
10
|
import { css, jsx } from '@emotion/react';
|
|
11
11
|
import { Grid, List } from 'react-virtualized';
|
|
12
12
|
import { AutoSizer } from 'react-virtualized/dist/commonjs/AutoSizer';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
var _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';
|
|
@@ -5,7 +5,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
5
5
|
* @jsx jsx
|
|
6
6
|
*/
|
|
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 { FormattedMessage, defineMessages } from 'react-intl-next';
|
|
@@ -8,7 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
|
|
9
9
|
import { Fragment } from 'react';
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
12
12
|
import { jsx } from '@emotion/react';
|
|
13
13
|
import EditorFileIcon from '@atlaskit/icon/core/file';
|
|
14
14
|
import { placeholderFallback, placeholderFallbackParams } from '../styles';
|
|
@@ -14,7 +14,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
14
14
|
* @jsx jsx
|
|
15
15
|
*/
|
|
16
16
|
import { Component } from 'react';
|
|
17
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
17
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
18
18
|
import { jsx } from '@emotion/react';
|
|
19
19
|
import { getExtensionLozengeData } from '../../../utils';
|
|
20
20
|
import { styledImage } from '../styles';
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import React from 'react';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import classnames from 'classnames';
|
|
11
11
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -12,7 +12,7 @@ var _excluded = ["url"];
|
|
|
12
12
|
|
|
13
13
|
import React, { Fragment, useState } from 'react';
|
|
14
14
|
|
|
15
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
15
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
16
16
|
import { css, jsx } from '@emotion/react';
|
|
17
17
|
import classnames from 'classnames';
|
|
18
18
|
import EditorFileIcon from '@atlaskit/icon/core/file';
|
|
@@ -23,7 +23,9 @@ manifest, extKey, nodeKey, extensionType, extensionKey) {
|
|
|
23
23
|
}
|
|
24
24
|
return node;
|
|
25
25
|
}
|
|
26
|
-
export function getExtensionManifest(extensionProvider, extensionType, extensionKey
|
|
26
|
+
export function getExtensionManifest(extensionProvider, extensionType, extensionKey
|
|
27
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Generic extension types; any required for provider compatibility
|
|
28
|
+
) {
|
|
27
29
|
var _getExtensionKeyAndNo = getExtensionKeyAndNodeKey(extensionKey, extensionType),
|
|
28
30
|
_getExtensionKeyAndNo2 = _slicedToArray(_getExtensionKeyAndNo, 1),
|
|
29
31
|
extKey = _getExtensionKeyAndNo2[0];
|
|
@@ -33,7 +35,9 @@ export function getExtensionModuleNode(_x, _x2, _x3) {
|
|
|
33
35
|
return _getExtensionModuleNode.apply(this, arguments);
|
|
34
36
|
}
|
|
35
37
|
function _getExtensionModuleNode() {
|
|
36
|
-
_getExtensionModuleNode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(extensionProvider, extensionType, extensionKey
|
|
38
|
+
_getExtensionModuleNode = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(extensionProvider, extensionType, extensionKey
|
|
39
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- Generic extension types; any required for provider compatibility
|
|
40
|
+
) {
|
|
37
41
|
var _getExtensionKeyAndNo5, _getExtensionKeyAndNo6, extKey, nodeKey, manifest;
|
|
38
42
|
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
39
43
|
while (1) switch (_context.prev = _context.next) {
|
|
@@ -5,7 +5,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
5
5
|
*/
|
|
6
6
|
import { useCallback, useEffect, useMemo, useRef, useState } from 'react';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
11
11
|
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
var separatorStyles = css({
|
|
8
8
|
background: "var(--ds-border, #0B120E24)",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defineMessages } from 'react-intl-next';
|
|
2
|
-
|
|
2
|
+
var _default_1 = defineMessages({
|
|
3
3
|
confirmModalDefaultHeading: {
|
|
4
4
|
id: 'fabric.editor.floatingToolbar.confirmModalHeading',
|
|
5
5
|
defaultMessage: 'Are you sure?',
|
|
@@ -45,4 +45,5 @@ export default defineMessages({
|
|
|
45
45
|
defaultMessage: 'Scroll right',
|
|
46
46
|
description: 'Button to scroll right when the toolbar is in the overflow state'
|
|
47
47
|
}
|
|
48
|
-
});
|
|
48
|
+
});
|
|
49
|
+
export default _default_1;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
|
|
8
8
|
// eslint-disable-next-line @atlaskit/design-system/no-emotion-primitives -- to be migrated to @atlaskit/primitives/compiled – go/akcss
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
var createSteppedRainbow = function createSteppedRainbow(colors) {
|
|
8
8
|
return "\n linear-gradient(\n to right,\n ".concat(colors.map(function (color, i) {
|
|
@@ -5,7 +5,7 @@ import _typeof from "@babel/runtime/helpers/typeof";
|
|
|
5
5
|
*/
|
|
6
6
|
import React, { Fragment } from 'react';
|
|
7
7
|
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import { base, keyName } from 'w3c-keyname';
|
|
11
11
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
@@ -98,6 +98,7 @@ var Dropdown = function Dropdown(_ref) {
|
|
|
98
98
|
testId: "".concat(testId, "-dropdown-item-configure")
|
|
99
99
|
}, configureLinkLabel)));
|
|
100
100
|
};
|
|
101
|
-
|
|
101
|
+
var _default_1 = withAnalyticsContext({
|
|
102
102
|
source: SMALL_LINK_TOOLBAR_ANALYTICS_SOURCE
|
|
103
|
-
})(Dropdown);
|
|
103
|
+
})(Dropdown);
|
|
104
|
+
export default _default_1;
|
|
@@ -5,7 +5,7 @@ var _excluded = ["innerRef"];
|
|
|
5
5
|
* @jsxRuntime classic
|
|
6
6
|
* @jsx jsx
|
|
7
7
|
*/
|
|
8
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
9
9
|
import { css, jsx } from '@emotion/react';
|
|
10
10
|
import Button from '@atlaskit/button';
|
|
11
11
|
var buttonStyles = css({
|
|
@@ -74,7 +74,12 @@ export var EditorLinkPicker = function EditorLinkPicker(_ref) {
|
|
|
74
74
|
}, /*#__PURE__*/React.createElement(AnalyticsContext, {
|
|
75
75
|
data: analyticsData
|
|
76
76
|
}, /*#__PURE__*/React.createElement(FocusLock, {
|
|
77
|
-
returnFocus:
|
|
77
|
+
returnFocus: {
|
|
78
|
+
preventScroll: true
|
|
79
|
+
},
|
|
80
|
+
focusOptions: {
|
|
81
|
+
preventScroll: true
|
|
82
|
+
}
|
|
78
83
|
}, /*#__PURE__*/React.createElement(LazyLinkPicker
|
|
79
84
|
// Ignored via go/ees005
|
|
80
85
|
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
@@ -17,7 +17,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
17
17
|
|
|
18
18
|
import React, { PureComponent } from 'react';
|
|
19
19
|
|
|
20
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
20
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
21
21
|
import { css, jsx } from '@emotion/react';
|
|
22
22
|
import debounce from 'lodash/debounce';
|
|
23
23
|
import { flushSync } from 'react-dom';
|
|
@@ -656,7 +656,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
|
|
|
656
656
|
while (1) switch (_context4.prev = _context4.next) {
|
|
657
657
|
case 0:
|
|
658
658
|
_this$props5 = this.props, timesViewed = _this$props5.timesViewed, inputMethod = _this$props5.inputMethod, searchSessionId = _this$props5.searchSessionId; // Ignored via go/ees005
|
|
659
|
-
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
|
|
659
|
+
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners, @atlaskit/platform/no-direct-document-usage
|
|
660
660
|
document.addEventListener('mousedown', this.handleClickOutside);
|
|
661
661
|
this.fireAnalytics({
|
|
662
662
|
action: ACTION.VIEWED,
|
|
@@ -701,7 +701,7 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
|
|
|
701
701
|
var searchSessionId = this.props.searchSessionId;
|
|
702
702
|
|
|
703
703
|
// Ignored via go/ees005
|
|
704
|
-
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners
|
|
704
|
+
// eslint-disable-next-line @repo/internal/dom-events/no-unsafe-event-listeners, @atlaskit/platform/no-direct-document-usage
|
|
705
705
|
document.removeEventListener('mousedown', this.handleClickOutside);
|
|
706
706
|
if (!this.submitted) {
|
|
707
707
|
this.fireAnalytics({
|
|
@@ -986,7 +986,12 @@ export var HyperlinkLinkAddToolbar = /*#__PURE__*/function (_PureComponent) {
|
|
|
986
986
|
})));
|
|
987
987
|
if (expValEquals('platform_editor_a11y_escape_link_dialog', 'isEnabled', true)) {
|
|
988
988
|
return jsx(FocusLock, {
|
|
989
|
-
returnFocus:
|
|
989
|
+
returnFocus: {
|
|
990
|
+
preventScroll: true
|
|
991
|
+
},
|
|
992
|
+
focusOptions: {
|
|
993
|
+
preventScroll: true
|
|
994
|
+
}
|
|
990
995
|
}, hyperlinkElement);
|
|
991
996
|
}
|
|
992
997
|
return hyperlinkElement;
|
|
@@ -1007,5 +1012,8 @@ function findIndex(array, predicate) {
|
|
|
1007
1012
|
function limit(items) {
|
|
1008
1013
|
return items.slice(0, RECENT_SEARCH_LIST_SIZE);
|
|
1009
1014
|
}
|
|
1015
|
+
|
|
1016
|
+
// eslint-disable-next-line @typescript-eslint/ban-types
|
|
1010
1017
|
export var HyperlinkLinkAddToolbarWithIntl = injectIntl(HyperlinkLinkAddToolbar);
|
|
1011
|
-
|
|
1018
|
+
var _default_1 = withAnalyticsEvents()(HyperlinkLinkAddToolbarWithIntl);
|
|
1019
|
+
export default _default_1;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
7
7
|
import { css, jsx } from '@emotion/react';
|
|
8
8
|
import Spinner from '@atlaskit/spinner';
|
|
9
9
|
import ForwardedLinkSearchListItemNextWithIntl from './LinkSearchListItem';
|
|
@@ -137,6 +137,8 @@ var LinkSearchListItem = function LinkSearchListItem(props, ref) {
|
|
|
137
137
|
}, item.container, renderTimeStamp())));
|
|
138
138
|
};
|
|
139
139
|
var ForwardedLinkSearchListItem = /*#__PURE__*/forwardRef(LinkSearchListItem);
|
|
140
|
+
|
|
141
|
+
// eslint-disable-next-line @typescript-eslint/no-explicit-any -- injectIntl ref typing incompatible with explicit RefAttributes<HTMLDivElement>
|
|
140
142
|
export var ForwardedLinkSearchListItemWithIntl = injectIntl(ForwardedLinkSearchListItem, {
|
|
141
143
|
forwardRef: true
|
|
142
144
|
});
|
|
@@ -7,7 +7,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
* @jsx jsx
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
11
11
|
import { css, jsx } from '@emotion/react';
|
|
12
12
|
import { hexToEditorBorderPaletteColor } from '@atlaskit/editor-palette';
|
|
13
13
|
import { borderStyle, INLINE_IMAGE_ASPECT_RATIO_CSS_VAR_KEY, INLINE_IMAGE_BORDER_COLOR_CSS_VAR_KEY, INLINE_IMAGE_BORDER_SIZE_CSS_VAR_KEY, INLINE_IMAGE_WRAPPER_CLASS_NAME, selectedStyle, wrapperStyle } from './styles';
|
|
@@ -8,7 +8,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
8
8
|
*/
|
|
9
9
|
import { Fragment, useCallback, useEffect, useMemo, useState } from 'react';
|
|
10
10
|
|
|
11
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
12
12
|
import { jsx } from '@emotion/react';
|
|
13
13
|
import ReactDOM from 'react-dom';
|
|
14
14
|
import { createIntl, injectIntl } from 'react-intl-next';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import WarningIcon from '@atlaskit/icon/core/status-warning';
|
|
9
9
|
import Tooltip from '@atlaskit/tooltip';
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import { wrapperStyle } from './wrapper';
|
|
9
9
|
export var Frame = function Frame(_ref) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* @jsxRuntime classic
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
5
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
6
6
|
import { css, jsx } from '@emotion/react';
|
|
7
7
|
var wrapperStyle = css({
|
|
8
8
|
display: 'flex',
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
6
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled, @typescript-eslint/consistent-type-imports -- Ignored via go/DSP-18766; jsx required at runtime for @jsxRuntime classic
|
|
7
7
|
import { jsx } from '@emotion/react';
|
|
8
8
|
import Spinner from '@atlaskit/spinner';
|
|
9
9
|
import { ICON_SIZE_THRESOLD } from './constants';
|
|
@@ -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
|
+
var _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 var 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
|
+
});
|
|
@@ -10,7 +10,7 @@ import { isFedRamp } from './environment';
|
|
|
10
10
|
import { normaliseSentryBreadcrumbs, SERIALIZABLE_ATTRIBUTES } from './normalise-sentry-breadcrumbs';
|
|
11
11
|
var SENTRY_DSN = 'https://0b10c8e02fb44d8796c047b102c9bee8@o55978.ingest.sentry.io/4505129224110080';
|
|
12
12
|
var packageName = 'editor-common'; // Sentry doesn't accept '/' in its releases https://docs.sentry.io/platforms/javascript/configuration/releases/
|
|
13
|
-
var packageVersion = "
|
|
13
|
+
var packageVersion = "0.0.0-development";
|
|
14
14
|
var sanitiseSentryEvents = function sanitiseSentryEvents(data, _hint) {
|
|
15
15
|
// Remove URL as it has UGC
|
|
16
16
|
// Ignored via go/ees007
|
|
@@ -262,9 +262,13 @@ var ReactNodeView = /*#__PURE__*/function () {
|
|
|
262
262
|
}, {
|
|
263
263
|
key: "dom",
|
|
264
264
|
get: function get() {
|
|
265
|
+
// Only return reference if domRef is defined
|
|
266
|
+
if (this.domRef === undefined) {
|
|
267
|
+
//raise an error
|
|
268
|
+
throw new Error('domRef is not defined or may have been destroyed');
|
|
269
|
+
}
|
|
270
|
+
|
|
265
271
|
// Spreading props to pass through dynamic component props
|
|
266
|
-
// Ignored via go/ees005
|
|
267
|
-
// eslint-disable-next-line @atlaskit/editor/no-as-casting
|
|
268
272
|
return this.domRef;
|
|
269
273
|
}
|
|
270
274
|
}, {
|