@atlaskit/editor-common 112.11.1 → 112.11.3
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 +23 -0
- package/codemods/69.0.0-update-validator-imports.ts +2 -1
- package/codemods/migrates/entry-points.ts +2 -1
- package/dist/cjs/analytics/types/enums.js +1 -0
- package/dist/cjs/analytics/types/native-embed-events.js +5 -0
- package/dist/cjs/collab/index.js +3 -1
- package/dist/cjs/element-browser/components/ElementList/ElementList.js +2 -0
- package/dist/cjs/element-browser/components/StatelessElementBrowser.js +120 -94
- package/dist/cjs/extensibility/Extension/Extension/styles.js +1 -0
- package/dist/cjs/extensibility/Extension/InlineExtension/styles.js +1 -0
- package/dist/cjs/extensibility/Extension/styles.js +1 -0
- package/dist/cjs/extensibility/MultiBodiedExtension/styles.js +1 -0
- package/dist/cjs/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -1
- package/dist/cjs/link/LinkSearch/LinkSearchList.js +1 -0
- package/dist/cjs/link/LinkSearch/LinkSearchListItem.js +1 -0
- package/dist/cjs/link/LinkSearch/ToolbarComponents.js +1 -0
- package/dist/cjs/media-inline/styles.js +3 -1
- package/dist/cjs/media-inline/views/wrapper.js +1 -0
- package/dist/cjs/monitoring/error.js +1 -1
- package/dist/cjs/selection/gap-cursor/styles.js +3 -1
- package/dist/cjs/styles/shared/blockquote.js +1 -0
- package/dist/cjs/styles/shared/expand.js +1 -0
- package/dist/cjs/styles/shared/headings.js +1 -1
- package/dist/cjs/styles/shared/media-single.js +1 -0
- package/dist/cjs/styles/shared/native-anchor.js +1 -0
- package/dist/cjs/styles/shared/plugins.js +1 -0
- package/dist/cjs/styles/shared/table.js +3 -1
- package/dist/cjs/styles/shared/tableCell.js +1 -0
- package/dist/cjs/ui/DropList/index.js +1 -1
- package/dist/cjs/ui/Expand/index.js +1 -0
- package/dist/cjs/ui/FloatingToolbar/Button.js +5 -2
- package/dist/cjs/ui/HoverLinkOverlay/index.js +8 -6
- package/dist/cjs/ui/MediaSingle/link.js +1 -0
- package/dist/cjs/ui/MediaSingle/styled.js +1 -0
- package/dist/cjs/ui/MultiBodiedExtension/index.js +1 -0
- package/dist/cjs/ui/PanelTextInput/styles.js +1 -0
- package/dist/cjs/ui/ResizerLegacy/styled.js +3 -1
- package/dist/cjs/ui/clear-next-sibling-margin-top.js +1 -0
- package/dist/cjs/ui-color/ColorPalette/Color/styles.js +1 -0
- package/dist/cjs/ui-color/ColorPalette/styles.js +1 -0
- package/dist/es2019/analytics/types/enums.js +1 -0
- package/dist/es2019/analytics/types/native-embed-events.js +1 -0
- package/dist/es2019/card/ui/assets/card.js +0 -1
- package/dist/es2019/card/ui/assets/embed.js +0 -1
- package/dist/es2019/card/ui/assets/inline.js +0 -1
- package/dist/es2019/card/ui/assets/url.js +0 -1
- package/dist/es2019/collab/index.js +2 -0
- package/dist/es2019/element-browser/components/ElementList/ElementList.js +2 -0
- package/dist/es2019/element-browser/components/StatelessElementBrowser.js +120 -94
- package/dist/es2019/extensibility/Extension/Extension/styles.js +1 -0
- package/dist/es2019/extensibility/Extension/InlineExtension/styles.js +1 -0
- package/dist/es2019/extensibility/Extension/styles.js +1 -0
- package/dist/es2019/extensibility/MultiBodiedExtension/styles.js +1 -0
- package/dist/es2019/icons/shared/BorderIcon.js +0 -1
- package/dist/es2019/link/ConfigureLinkOverlay/Dropdown.js +0 -1
- package/dist/es2019/link/ConfigureLinkOverlay/index.js +0 -1
- package/dist/es2019/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -0
- package/dist/es2019/link/LinkSearch/LinkSearchList.js +1 -0
- package/dist/es2019/link/LinkSearch/LinkSearchListItem.js +2 -1
- package/dist/es2019/link/LinkSearch/ToolbarComponents.js +1 -0
- package/dist/es2019/link/LinkSearch/withActivityProvider.js +1 -0
- package/dist/es2019/media-inline/styles.js +1 -0
- package/dist/es2019/media-inline/views/wrapper.js +1 -0
- package/dist/es2019/media-single/CommentBadge.js +0 -1
- package/dist/es2019/monitoring/error.js +1 -1
- package/dist/es2019/selection/gap-cursor/styles.js +1 -0
- package/dist/es2019/selection-based-node-view/SelectionBasedNodeView.js +0 -1
- package/dist/es2019/styles/shared/blockquote.js +1 -0
- package/dist/es2019/styles/shared/expand.js +1 -0
- package/dist/es2019/styles/shared/headings.js +1 -0
- package/dist/es2019/styles/shared/media-single.js +1 -0
- package/dist/es2019/styles/shared/native-anchor.js +1 -0
- package/dist/es2019/styles/shared/plugins.js +1 -0
- package/dist/es2019/styles/shared/table.js +1 -0
- package/dist/es2019/styles/shared/tableCell.js +1 -0
- package/dist/es2019/ui/DropList/index.js +1 -1
- package/dist/es2019/ui/Expand/index.js +1 -0
- package/dist/es2019/ui/FloatingToolbar/Button.js +5 -2
- package/dist/es2019/ui/FloatingToolbar/ButtonSpotlightCard.js +0 -1
- package/dist/es2019/ui/HoverLinkOverlay/index.js +8 -6
- package/dist/es2019/ui/Layer/index.js +2 -1
- package/dist/es2019/ui/MediaSingle/link.js +1 -1
- package/dist/es2019/ui/MediaSingle/styled.js +1 -0
- package/dist/es2019/ui/MultiBodiedExtension/index.js +1 -0
- package/dist/es2019/ui/PanelTextInput/styles.js +1 -0
- package/dist/es2019/ui/Pulse/Pulse.js +0 -1
- package/dist/es2019/ui/ResizerLegacy/styled.js +1 -1
- package/dist/es2019/ui/TableSelector/index.js +0 -1
- package/dist/es2019/ui/clear-next-sibling-margin-top.js +1 -1
- package/dist/es2019/ui-color/ColorPalette/Color/index.js +0 -1
- package/dist/es2019/ui-color/ColorPalette/Color/styles.js +1 -0
- package/dist/es2019/ui-color/ColorPalette/styles.js +1 -0
- package/dist/es2019/utils/browser.js +0 -1
- package/dist/esm/analytics/types/enums.js +1 -0
- package/dist/esm/analytics/types/native-embed-events.js +1 -0
- package/dist/esm/card/ui/assets/card.js +0 -1
- package/dist/esm/card/ui/assets/embed.js +0 -1
- package/dist/esm/card/ui/assets/inline.js +0 -1
- package/dist/esm/card/ui/assets/url.js +0 -1
- package/dist/esm/collab/index.js +2 -0
- package/dist/esm/element-browser/components/ElementList/ElementList.js +2 -0
- package/dist/esm/element-browser/components/StatelessElementBrowser.js +120 -94
- package/dist/esm/extensibility/Extension/Extension/styles.js +1 -0
- package/dist/esm/extensibility/Extension/InlineExtension/styles.js +1 -0
- package/dist/esm/extensibility/Extension/styles.js +1 -0
- package/dist/esm/extensibility/MultiBodiedExtension/styles.js +1 -0
- package/dist/esm/icons/shared/BorderIcon.js +0 -1
- package/dist/esm/link/ConfigureLinkOverlay/Dropdown.js +0 -1
- package/dist/esm/link/ConfigureLinkOverlay/index.js +0 -1
- package/dist/esm/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.js +1 -0
- package/dist/esm/link/LinkSearch/LinkSearchList.js +1 -0
- package/dist/esm/link/LinkSearch/LinkSearchListItem.js +2 -1
- package/dist/esm/link/LinkSearch/ToolbarComponents.js +1 -0
- package/dist/esm/link/LinkSearch/withActivityProvider.js +1 -0
- package/dist/esm/media-inline/styles.js +1 -0
- package/dist/esm/media-inline/views/wrapper.js +1 -0
- package/dist/esm/media-single/CommentBadge.js +0 -1
- package/dist/esm/monitoring/error.js +1 -1
- package/dist/esm/selection/gap-cursor/styles.js +1 -0
- package/dist/esm/selection-based-node-view/SelectionBasedNodeView.js +0 -1
- package/dist/esm/styles/shared/blockquote.js +1 -0
- package/dist/esm/styles/shared/expand.js +1 -0
- package/dist/esm/styles/shared/headings.js +1 -0
- package/dist/esm/styles/shared/media-single.js +1 -0
- package/dist/esm/styles/shared/native-anchor.js +1 -0
- package/dist/esm/styles/shared/plugins.js +1 -0
- package/dist/esm/styles/shared/table.js +1 -0
- package/dist/esm/styles/shared/tableCell.js +1 -0
- package/dist/esm/ui/DropList/index.js +1 -1
- package/dist/esm/ui/Expand/index.js +1 -0
- package/dist/esm/ui/FloatingToolbar/Button.js +5 -2
- package/dist/esm/ui/FloatingToolbar/ButtonSpotlightCard.js +0 -1
- package/dist/esm/ui/HoverLinkOverlay/index.js +8 -6
- package/dist/esm/ui/Layer/index.js +2 -1
- package/dist/esm/ui/MediaSingle/link.js +1 -1
- package/dist/esm/ui/MediaSingle/styled.js +1 -0
- package/dist/esm/ui/MultiBodiedExtension/index.js +1 -0
- package/dist/esm/ui/PanelTextInput/styles.js +1 -0
- package/dist/esm/ui/Pulse/Pulse.js +0 -1
- package/dist/esm/ui/ResizerLegacy/styled.js +1 -1
- package/dist/esm/ui/TableSelector/index.js +0 -1
- package/dist/esm/ui/clear-next-sibling-margin-top.js +1 -1
- package/dist/esm/ui-color/ColorPalette/Color/index.js +0 -1
- package/dist/esm/ui-color/ColorPalette/Color/styles.js +1 -0
- package/dist/esm/ui-color/ColorPalette/styles.js +1 -0
- package/dist/esm/utils/browser.js +0 -1
- package/dist/types/analytics/analytics-queue.d.ts +1 -1
- package/dist/types/analytics/index.d.ts +1 -0
- package/dist/types/analytics/types/ai-command-palette-events.d.ts +2 -2
- package/dist/types/analytics/types/ai-definitions-events.d.ts +2 -2
- package/dist/types/analytics/types/ai-events.d.ts +1 -1
- package/dist/types/analytics/types/ai-inline-suggestion-events.d.ts +3 -3
- package/dist/types/analytics/types/ai-streaming.d.ts +1 -1
- package/dist/types/analytics/types/alignment-events.d.ts +2 -2
- package/dist/types/analytics/types/avatar.d.ts +2 -2
- package/dist/types/analytics/types/color-events.d.ts +2 -2
- package/dist/types/analytics/types/config-panel-events.d.ts +2 -2
- package/dist/types/analytics/types/datasource-clicked-events.d.ts +1 -1
- package/dist/types/analytics/types/date-events.d.ts +2 -2
- package/dist/types/analytics/types/dispatch-analytics-event.d.ts +1 -1
- package/dist/types/analytics/types/enums.d.ts +2 -1
- package/dist/types/analytics/types/insert-events.d.ts +2 -1
- package/dist/types/analytics/types/link-events.d.ts +2 -2
- package/dist/types/analytics/types/mention-events.d.ts +3 -3
- package/dist/types/analytics/types/native-embed-events.d.ts +7 -0
- package/dist/types/analytics/types/ncs-session-step-events.d.ts +1 -1
- package/dist/types/analytics/types/selection-toolbar-events.d.ts +2 -2
- package/dist/types/analytics/types/upload-media-events.d.ts +1 -1
- package/dist/types/card/MediaAndEmbedsToolbar/index.d.ts +1 -1
- package/dist/types/card/link-toolbar-button-group-options.d.ts +1 -1
- package/dist/types/card/link-toolbar-dropdown-options.d.ts +1 -1
- package/dist/types/card/types.d.ts +2 -2
- package/dist/types/code-block/index.d.ts +2 -2
- package/dist/types/collab/index.d.ts +2 -2
- package/dist/types/copy-button/index.d.ts +1 -1
- package/dist/types/element-browser/components/ElementList/ElementList.d.ts +2 -1
- package/dist/types/element-browser/components/ElementSearch.d.ts +1 -1
- package/dist/types/element-browser/hooks/use-focus.d.ts +1 -1
- package/dist/types/extensibility/Extension/Extension/styles.d.ts +1 -1
- package/dist/types/extensibility/Extension/InlineExtension/styles.d.ts +1 -1
- package/dist/types/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +1 -1
- package/dist/types/extensibility/Extension/Lozenge/LozengeComponent.d.ts +1 -1
- package/dist/types/extensibility/Extension/Lozenge/index.d.ts +1 -1
- package/dist/types/extensibility/Extension/styles.d.ts +1 -1
- package/dist/types/extensibility/Extension.d.ts +1 -1
- package/dist/types/extensibility/MultiBodiedExtension/styles.d.ts +1 -1
- package/dist/types/extensibility/extensionNodeView.d.ts +1 -1
- package/dist/types/extensions/extension-fields-helpers.d.ts +2 -2
- package/dist/types/extensions/types/extension-manifest-common.d.ts +1 -1
- package/dist/types/extensions/types/extension-provider.d.ts +2 -2
- package/dist/types/guideline/snapping.d.ts +1 -1
- package/dist/types/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -7
- package/dist/types/link/ConfigureLinkOverlay/StyledButton.d.ts +1 -1
- package/dist/types/link/ConfigureLinkOverlay/handleNavigation.d.ts +3 -3
- package/dist/types/link/ConfigureLinkOverlay/index.d.ts +4 -8
- package/dist/types/link/LinkPicker/EditorLinkPicker/index.d.ts +1 -1
- package/dist/types/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +1 -1
- package/dist/types/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +2 -1
- package/dist/types/link/LinkSearch/LinkSearchList.d.ts +3 -2
- package/dist/types/link/LinkSearch/LinkSearchListItem.d.ts +3 -2
- package/dist/types/link/LinkSearch/ToolbarComponents.d.ts +1 -1
- package/dist/types/link/LinkSearch/index.d.ts +2 -2
- package/dist/types/link/LinkSearch/transformTimeStamp.d.ts +1 -1
- package/dist/types/link/LinkSearch/types.d.ts +3 -3
- package/dist/types/link/LinkSearch/withActivityProvider.d.ts +2 -2
- package/dist/types/link/types.d.ts +3 -3
- package/dist/types/link/utils.d.ts +1 -1
- package/dist/types/mark/text-formatting.d.ts +2 -1
- package/dist/types/media-inline/styles.d.ts +1 -1
- package/dist/types/media-inline/views/wrapper.d.ts +1 -1
- package/dist/types/media-single/CommentBadge.d.ts +1 -5
- package/dist/types/media-single/ExternalImageBadge.d.ts +1 -1
- package/dist/types/media-single/MediaBadges.d.ts +2 -1
- package/dist/types/nesting/utilities.d.ts +1 -1
- package/dist/types/performance-ssr-measures/SSRRenderMeasure.d.ts +2 -1
- package/dist/types/portal/common.d.ts +1 -1
- package/dist/types/portal/usePortalProvider.d.ts +1 -1
- package/dist/types/preset/core-plugin/requestDocument.d.ts +1 -1
- package/dist/types/preset/plugin-injection-api.d.ts +1 -1
- package/dist/types/provider-factory/context.d.ts +1 -1
- package/dist/types/provider-factory/profile-card-provider.d.ts +1 -1
- package/dist/types/provider-factory/provider-factory.d.ts +1 -1
- package/dist/types/resizer/BreakoutResizer.d.ts +3 -3
- package/dist/types/resizer/useBreakoutGuidelines.d.ts +1 -1
- package/dist/types/safe-plugin/index.d.ts +1 -1
- package/dist/types/selection/context-helpers.d.ts +2 -2
- package/dist/types/selection/gap-cursor/styles.d.ts +1 -1
- package/dist/types/selection-based-node-view/SelectionBasedNodeView.d.ts +6 -5
- package/dist/types/styles/shared/blockquote.d.ts +1 -1
- package/dist/types/styles/shared/expand.d.ts +1 -1
- package/dist/types/styles/shared/headings.d.ts +2 -2
- package/dist/types/styles/shared/media-single.d.ts +1 -1
- package/dist/types/styles/shared/native-anchor.d.ts +2 -2
- package/dist/types/styles/shared/plugins.d.ts +1 -1
- package/dist/types/styles/shared/table.d.ts +1 -1
- package/dist/types/styles/shared/tableCell.d.ts +1 -1
- package/dist/types/sync-block/SyncBlockActionsContext.d.ts +2 -1
- package/dist/types/transforms/code-block.d.ts +1 -1
- package/dist/types/transforms/expand.d.ts +1 -1
- package/dist/types/transforms/layout.d.ts +2 -1
- package/dist/types/types/copy-button.d.ts +1 -1
- package/dist/types/types/plugin-factory.d.ts +1 -1
- package/dist/types/types/resizable-media-single.d.ts +1 -1
- package/dist/types/types/type-ahead.d.ts +1 -1
- package/dist/types/ugc-tokens/get-editor-ugc-token.d.ts +1 -1
- package/dist/types/ui/Emoji/index.d.ts +1 -1
- package/dist/types/ui/EventHandlers/index.d.ts +1 -1
- package/dist/types/ui/Expand/index.d.ts +2 -1
- package/dist/types/ui/FloatingToolbar/Button.d.ts +1 -1
- package/dist/types/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +3 -2
- package/dist/types/ui/Layer/index.d.ts +3 -2
- package/dist/types/ui/MediaSingle/link.d.ts +1 -1
- package/dist/types/ui/MediaSingle/styled.d.ts +2 -1
- package/dist/types/ui/Mention/index.d.ts +2 -2
- package/dist/types/ui/MultiBodiedExtension/index.d.ts +1 -1
- package/dist/types/ui/PanelTextInput/styles.d.ts +1 -1
- package/dist/types/ui/Pulse/Pulse.d.ts +2 -1
- package/dist/types/ui/ResizerLegacy/styled.d.ts +2 -2
- package/dist/types/ui/ResizerLegacy/types.d.ts +3 -3
- package/dist/types/ui/TableSelector/index.d.ts +1 -1
- package/dist/types/ui/WidthProvider/index.d.ts +1 -1
- package/dist/types/ui/WithCreateAnalyticsEvent/index.d.ts +1 -1
- package/dist/types/ui/clear-next-sibling-margin-top.d.ts +1 -1
- package/dist/types/ui/unsupported-content-helper.d.ts +2 -2
- package/dist/types/ui-color/ColorPalette/Color/index.d.ts +2 -1
- package/dist/types/ui-color/ColorPalette/Color/styles.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/borderColorPalette.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +1 -1
- package/dist/types/ui-color/ColorPalette/Palettes/type.d.ts +2 -2
- package/dist/types/ui-color/ColorPalette/styles.d.ts +1 -1
- package/dist/types/ui-menu/ToolbarButton/index.d.ts +2 -2
- package/dist/types/ui-menu/ToolbarButton/styles.d.ts +1 -1
- package/dist/types/ui-react/ReactEditorViewContext.d.ts +1 -1
- package/dist/types/user-intent/UserIntentPopupWrapper.d.ts +1 -1
- package/dist/types/user-preferences/hooks.d.ts +1 -1
- package/dist/types/user-preferences/persistence-api.d.ts +1 -1
- package/dist/types/user-preferences/user-preferences-provider.d.ts +2 -2
- package/dist/types/user-preferences/utils.d.ts +1 -1
- package/dist/types/utils/browser.d.ts +1 -1
- package/dist/types/utils/commands.d.ts +4 -3
- package/dist/types/utils/compareNodes.d.ts +2 -2
- package/dist/types/utils/create-wrap-selection-transaction.d.ts +1 -1
- package/dist/types/utils/get-performance-options.d.ts +1 -1
- package/dist/types/utils/macro.d.ts +1 -1
- package/dist/types/utils/performance/hooks/use-component-render-tracking/index.d.ts +1 -1
- package/dist/types/utils/plugin-state-factory.d.ts +2 -2
- package/dist/types/utils/processRawValue.d.ts +2 -1
- package/dist/types/utils/unsupportedContent/types.d.ts +1 -1
- package/dist/types-ts4.5/analytics/analytics-queue.d.ts +1 -1
- package/dist/types-ts4.5/analytics/index.d.ts +1 -0
- package/dist/types-ts4.5/analytics/types/ai-command-palette-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/ai-definitions-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/ai-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/ai-inline-suggestion-events.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/ai-streaming.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/alignment-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/avatar.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/color-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/config-panel-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/datasource-clicked-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/date-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/dispatch-analytics-event.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/enums.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/insert-events.d.ts +2 -1
- package/dist/types-ts4.5/analytics/types/link-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/mention-events.d.ts +3 -3
- package/dist/types-ts4.5/analytics/types/native-embed-events.d.ts +7 -0
- package/dist/types-ts4.5/analytics/types/ncs-session-step-events.d.ts +1 -1
- package/dist/types-ts4.5/analytics/types/selection-toolbar-events.d.ts +2 -2
- package/dist/types-ts4.5/analytics/types/upload-media-events.d.ts +1 -1
- package/dist/types-ts4.5/card/MediaAndEmbedsToolbar/index.d.ts +1 -1
- package/dist/types-ts4.5/card/link-toolbar-button-group-options.d.ts +1 -1
- package/dist/types-ts4.5/card/link-toolbar-dropdown-options.d.ts +1 -1
- package/dist/types-ts4.5/card/types.d.ts +2 -2
- package/dist/types-ts4.5/code-block/index.d.ts +2 -2
- package/dist/types-ts4.5/collab/index.d.ts +2 -2
- package/dist/types-ts4.5/copy-button/index.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/components/ElementList/ElementList.d.ts +2 -1
- package/dist/types-ts4.5/element-browser/components/ElementSearch.d.ts +1 -1
- package/dist/types-ts4.5/element-browser/hooks/use-focus.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Extension/styles.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/InlineExtension/styles.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/ExtensionLabel.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/LozengeComponent.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/Lozenge/index.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension/styles.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/Extension.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/MultiBodiedExtension/styles.d.ts +1 -1
- package/dist/types-ts4.5/extensibility/extensionNodeView.d.ts +1 -1
- package/dist/types-ts4.5/extensions/extension-fields-helpers.d.ts +2 -2
- package/dist/types-ts4.5/extensions/types/extension-manifest-common.d.ts +1 -1
- package/dist/types-ts4.5/extensions/types/extension-provider.d.ts +2 -2
- package/dist/types-ts4.5/guideline/snapping.d.ts +1 -1
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/Dropdown.d.ts +3 -7
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/StyledButton.d.ts +1 -1
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/handleNavigation.d.ts +3 -3
- package/dist/types-ts4.5/link/ConfigureLinkOverlay/index.d.ts +4 -8
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/index.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkPicker/EditorLinkPicker/useEscapeClickaway.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkPicker/HyperlinkAddToolbar/HyperlinkAddToolbar.d.ts +2 -1
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchList.d.ts +3 -2
- package/dist/types-ts4.5/link/LinkSearch/LinkSearchListItem.d.ts +3 -2
- package/dist/types-ts4.5/link/LinkSearch/ToolbarComponents.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkSearch/index.d.ts +2 -2
- package/dist/types-ts4.5/link/LinkSearch/transformTimeStamp.d.ts +1 -1
- package/dist/types-ts4.5/link/LinkSearch/types.d.ts +3 -3
- package/dist/types-ts4.5/link/LinkSearch/withActivityProvider.d.ts +2 -2
- package/dist/types-ts4.5/link/types.d.ts +3 -3
- package/dist/types-ts4.5/link/utils.d.ts +1 -1
- package/dist/types-ts4.5/mark/text-formatting.d.ts +2 -1
- package/dist/types-ts4.5/media-inline/styles.d.ts +1 -1
- package/dist/types-ts4.5/media-inline/views/wrapper.d.ts +1 -1
- package/dist/types-ts4.5/media-single/CommentBadge.d.ts +1 -5
- package/dist/types-ts4.5/media-single/ExternalImageBadge.d.ts +1 -1
- package/dist/types-ts4.5/media-single/MediaBadges.d.ts +2 -1
- package/dist/types-ts4.5/nesting/utilities.d.ts +1 -1
- package/dist/types-ts4.5/performance-ssr-measures/SSRRenderMeasure.d.ts +2 -1
- package/dist/types-ts4.5/portal/common.d.ts +1 -1
- package/dist/types-ts4.5/portal/usePortalProvider.d.ts +1 -1
- package/dist/types-ts4.5/preset/core-plugin/requestDocument.d.ts +1 -1
- package/dist/types-ts4.5/preset/plugin-injection-api.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/context.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/profile-card-provider.d.ts +1 -1
- package/dist/types-ts4.5/provider-factory/provider-factory.d.ts +1 -1
- package/dist/types-ts4.5/resizer/BreakoutResizer.d.ts +3 -3
- package/dist/types-ts4.5/resizer/useBreakoutGuidelines.d.ts +1 -1
- package/dist/types-ts4.5/safe-plugin/index.d.ts +1 -1
- package/dist/types-ts4.5/selection/context-helpers.d.ts +2 -2
- package/dist/types-ts4.5/selection/gap-cursor/styles.d.ts +1 -1
- package/dist/types-ts4.5/selection-based-node-view/SelectionBasedNodeView.d.ts +6 -5
- package/dist/types-ts4.5/styles/shared/blockquote.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/expand.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/headings.d.ts +2 -2
- package/dist/types-ts4.5/styles/shared/media-single.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/native-anchor.d.ts +2 -2
- package/dist/types-ts4.5/styles/shared/plugins.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/table.d.ts +1 -1
- package/dist/types-ts4.5/styles/shared/tableCell.d.ts +1 -1
- package/dist/types-ts4.5/sync-block/SyncBlockActionsContext.d.ts +2 -1
- package/dist/types-ts4.5/transforms/code-block.d.ts +1 -1
- package/dist/types-ts4.5/transforms/expand.d.ts +1 -1
- package/dist/types-ts4.5/transforms/layout.d.ts +2 -1
- package/dist/types-ts4.5/types/copy-button.d.ts +1 -1
- package/dist/types-ts4.5/types/plugin-factory.d.ts +1 -1
- package/dist/types-ts4.5/types/resizable-media-single.d.ts +1 -1
- package/dist/types-ts4.5/types/type-ahead.d.ts +1 -1
- package/dist/types-ts4.5/ugc-tokens/get-editor-ugc-token.d.ts +1 -1
- package/dist/types-ts4.5/ui/Emoji/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/EventHandlers/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/Expand/index.d.ts +2 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/Button.d.ts +1 -1
- package/dist/types-ts4.5/ui/FloatingToolbar/ButtonSpotlightCard.d.ts +3 -2
- package/dist/types-ts4.5/ui/Layer/index.d.ts +3 -2
- package/dist/types-ts4.5/ui/MediaSingle/link.d.ts +1 -1
- package/dist/types-ts4.5/ui/MediaSingle/styled.d.ts +2 -1
- package/dist/types-ts4.5/ui/Mention/index.d.ts +2 -2
- package/dist/types-ts4.5/ui/MultiBodiedExtension/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/PanelTextInput/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui/Pulse/Pulse.d.ts +2 -1
- package/dist/types-ts4.5/ui/ResizerLegacy/styled.d.ts +2 -2
- package/dist/types-ts4.5/ui/ResizerLegacy/types.d.ts +3 -3
- package/dist/types-ts4.5/ui/TableSelector/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/WidthProvider/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/WithCreateAnalyticsEvent/index.d.ts +1 -1
- package/dist/types-ts4.5/ui/clear-next-sibling-margin-top.d.ts +1 -1
- package/dist/types-ts4.5/ui/unsupported-content-helper.d.ts +2 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/Color/index.d.ts +2 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Color/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/borderColorPalette.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/cellBackgroundColorPalette.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/getColorMessage.d.ts +1 -1
- package/dist/types-ts4.5/ui-color/ColorPalette/Palettes/type.d.ts +2 -2
- package/dist/types-ts4.5/ui-color/ColorPalette/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui-menu/ToolbarButton/index.d.ts +2 -2
- package/dist/types-ts4.5/ui-menu/ToolbarButton/styles.d.ts +1 -1
- package/dist/types-ts4.5/ui-react/ReactEditorViewContext.d.ts +1 -1
- package/dist/types-ts4.5/user-intent/UserIntentPopupWrapper.d.ts +1 -1
- package/dist/types-ts4.5/user-preferences/hooks.d.ts +1 -1
- package/dist/types-ts4.5/user-preferences/persistence-api.d.ts +1 -1
- package/dist/types-ts4.5/user-preferences/user-preferences-provider.d.ts +2 -2
- package/dist/types-ts4.5/user-preferences/utils.d.ts +1 -1
- package/dist/types-ts4.5/utils/browser.d.ts +1 -1
- package/dist/types-ts4.5/utils/commands.d.ts +4 -3
- package/dist/types-ts4.5/utils/compareNodes.d.ts +2 -2
- package/dist/types-ts4.5/utils/create-wrap-selection-transaction.d.ts +1 -1
- package/dist/types-ts4.5/utils/get-performance-options.d.ts +1 -1
- package/dist/types-ts4.5/utils/macro.d.ts +1 -1
- package/dist/types-ts4.5/utils/performance/hooks/use-component-render-tracking/index.d.ts +1 -1
- package/dist/types-ts4.5/utils/plugin-state-factory.d.ts +2 -2
- package/dist/types-ts4.5/utils/processRawValue.d.ts +2 -1
- package/dist/types-ts4.5/utils/unsupportedContent/types.d.ts +1 -1
- package/package.json +2 -2
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.mediaLinkStyle = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
8
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
10
|
|
|
10
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -21,6 +21,7 @@ var _utils = require("../../utils");
|
|
|
21
21
|
var _breakout = require("../../utils/breakout");
|
|
22
22
|
var _excluded = ["children"];
|
|
23
23
|
var _templateObject, _templateObject2, _templateObject3;
|
|
24
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
24
25
|
/**
|
|
25
26
|
* @jsxRuntime classic
|
|
26
27
|
* @jsx jsx
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.sharedMultiBodiedExtensionStyles = exports.removeMarginsAndBorder = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
8
9
|
/**
|
|
9
10
|
* @jsxRuntime classic
|
|
10
11
|
* @jsx jsx
|
|
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.panelTextInputWithCustomWidth = exports.panelTextInput = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
8
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
9
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
9
10
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
11
|
|
|
11
12
|
// Normal .className gets overridden by input[type=text] hence this hack to produce input.className
|
|
@@ -8,7 +8,9 @@ exports.wrapperStyle = void 0;
|
|
|
8
8
|
var _taggedTemplateLiteral2 = _interopRequireDefault(require("@babel/runtime/helpers/taggedTemplateLiteral"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
10
|
var _styled = require("../MediaSingle/styled");
|
|
11
|
-
var _templateObject;
|
|
11
|
+
var _templateObject;
|
|
12
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
13
|
+
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
12
14
|
// eslint-disable-next-line @atlaskit/design-system/no-css-tagged-template-expression -- Needs manual remediation
|
|
13
15
|
var wrapperStyle = exports.wrapperStyle = function wrapperStyle(props) {
|
|
14
16
|
return (0, _react.css)(_templateObject || (_templateObject = (0, _taggedTemplateLiteral2.default)(["\n\t& > div {\n\t\t", ";\n\t\tposition: relative;\n\t\tclear: both;\n\n\t\t> div {\n\t\t\tposition: absolute;\n\t\t\theight: 100%;\n\t\t\twidth: 100%;\n\t\t}\n\t}\n"])), (0, _styled.MediaSingleDimensionHelper)(props));
|
|
@@ -7,6 +7,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
7
7
|
exports.clearNextSiblingMarginTopStyle = exports.clearNextSiblingBlockMarkMarginTopStyle = void 0;
|
|
8
8
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
9
9
|
var _react = require("@emotion/react");
|
|
10
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
10
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
11
12
|
|
|
12
13
|
// We use !important to ensure next sibling gets the margin reset no matter what
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.buttonWrapperStyle = exports.buttonStyle = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
8
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
10
|
|
|
10
11
|
/** this is not new usage - old code extracted from editor-core */
|
|
@@ -5,6 +5,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.colorPaletteWrapper = void 0;
|
|
7
7
|
var _react = require("@emotion/react");
|
|
8
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
8
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
10
|
|
|
10
11
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -573,6 +573,7 @@ export let ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
|
573
573
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_LABEL"] = "syncedBlockLabel";
|
|
574
574
|
ACTION_SUBJECT_ID["SYNCED_BLOCK_SSR_ERROR"] = "syncedBlockSSRError";
|
|
575
575
|
ACTION_SUBJECT_ID["TABLE_STICKY_HEADER"] = "tableStickyHeader";
|
|
576
|
+
ACTION_SUBJECT_ID["NATIVE_EMBED"] = "nativeEmbed";
|
|
576
577
|
return ACTION_SUBJECT_ID;
|
|
577
578
|
}({});
|
|
578
579
|
export let FLOATING_CONTROLS_TITLE = /*#__PURE__*/function (FLOATING_CONTROLS_TITLE) {
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
4
3
|
const IconCardGlyph = ({
|
|
5
4
|
'aria-label': ariaLabel,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
4
3
|
const IconEmbedGlyph = ({
|
|
5
4
|
'aria-label': ariaLabel,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
4
3
|
const IconInlineGlyph = ({
|
|
5
4
|
'aria-label': ariaLabel,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
4
3
|
const IconUrlGlyph = ({
|
|
5
4
|
'aria-label': ariaLabel,
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
2
|
+
|
|
1
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
4
|
import { css } from '@emotion/react';
|
|
3
5
|
import { participantColors } from '@atlaskit/editor-shared-styles';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _extends from "@babel/runtime/helpers/extends";
|
|
2
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
2
3
|
/**
|
|
3
4
|
* @jsxRuntime classic
|
|
4
5
|
* @jsx jsx
|
|
@@ -196,6 +197,7 @@ const ElementListSingleColumn = props => {
|
|
|
196
197
|
,
|
|
197
198
|
className: "element-item-wrapper",
|
|
198
199
|
css: elementItemWrapperSingle,
|
|
200
|
+
role: expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true) ? 'presentation' : undefined,
|
|
199
201
|
onKeyDown: e => {
|
|
200
202
|
if (e.key === 'Tab') {
|
|
201
203
|
if (e.shiftKey && index === 0) {
|
|
@@ -232,52 +232,64 @@ function StatelessElementBrowser(props) {
|
|
|
232
232
|
const handleClick = () => {
|
|
233
233
|
setCanFocusSearch(true);
|
|
234
234
|
};
|
|
235
|
-
|
|
235
|
+
const browserContent = jsx(React.Fragment, null, jsx(ContainerWidthMonitor, null), containerWidth < DEVICE_BREAKPOINT_NUMBERS.medium ? jsx(MobileBrowser
|
|
236
|
+
// Ignored via go/ees005
|
|
237
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
238
|
+
, _extends({}, props, {
|
|
239
|
+
selectedItemIndex: selectedItemIndex,
|
|
240
|
+
focusOnEmptyStateButton: focusOnEmptyStateButton,
|
|
241
|
+
focusedItemIndex: focusedItemIndex,
|
|
242
|
+
setFocusedItemIndex: setFocusedItemIndex,
|
|
243
|
+
focusedCategoryIndex: focusedCategoryIndex,
|
|
244
|
+
setFocusedCategoryIndex: setFocusedCategoryIndex,
|
|
245
|
+
focusOnSearch: focusOnSearch,
|
|
246
|
+
columnCount: columnCount,
|
|
247
|
+
setColumnCount: setColumnCount,
|
|
248
|
+
setFocusOnSearch: setFocusOnSearch,
|
|
249
|
+
onKeyPress: onItemsEnterTabKeyPress,
|
|
250
|
+
onKeyDown: onKeyDown,
|
|
251
|
+
onViewMore: onViewMore,
|
|
252
|
+
focusOnViewMore: focusOnViewMore,
|
|
253
|
+
cache: cache
|
|
254
|
+
})) : jsx(DesktopBrowser
|
|
255
|
+
// Ignored via go/ees005
|
|
256
|
+
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
257
|
+
, _extends({}, props, {
|
|
258
|
+
selectedItemIndex: selectedItemIndex,
|
|
259
|
+
focusOnEmptyStateButton: focusOnEmptyStateButton,
|
|
260
|
+
focusedItemIndex: focusedItemIndex,
|
|
261
|
+
setFocusedItemIndex: setFocusedItemIndex,
|
|
262
|
+
focusOnSearch: focusOnSearch,
|
|
263
|
+
setColumnCount: setColumnCount,
|
|
264
|
+
columnCount: columnCount,
|
|
265
|
+
setFocusOnSearch: setFocusOnSearch,
|
|
266
|
+
onKeyPress: onItemsEnterTabKeyPress,
|
|
267
|
+
onKeyDown: onKeyDown,
|
|
268
|
+
focusedCategoryIndex: focusedCategoryIndex,
|
|
269
|
+
setFocusedCategoryIndex: setFocusedCategoryIndex,
|
|
270
|
+
selectedCategoryIndex: selectedCategoryIndex,
|
|
271
|
+
onSelectCategory: onSelectCategoryCB,
|
|
272
|
+
cache: cache
|
|
273
|
+
})));
|
|
274
|
+
if (expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true)) {
|
|
275
|
+
return jsx("div", {
|
|
276
|
+
css: wrapper,
|
|
277
|
+
"data-testid": "element-browser",
|
|
278
|
+
id: ELEMENT_BROWSER_ID,
|
|
279
|
+
role: "none",
|
|
280
|
+
onKeyUp: canFocusSearch ? undefined : handleKeyPress,
|
|
281
|
+
onClick: canFocusSearch ? undefined : handleClick
|
|
282
|
+
}, browserContent);
|
|
283
|
+
}
|
|
284
|
+
return (
|
|
285
|
+
// eslint-disable-next-line @atlassian/a11y/interactive-element-not-keyboard-focusable
|
|
236
286
|
jsx("div", {
|
|
237
287
|
css: wrapper,
|
|
238
288
|
"data-testid": "element-browser",
|
|
239
289
|
id: ELEMENT_BROWSER_ID,
|
|
240
290
|
onKeyUp: canFocusSearch ? undefined : handleKeyPress,
|
|
241
291
|
onClick: canFocusSearch ? undefined : handleClick
|
|
242
|
-
},
|
|
243
|
-
// Ignored via go/ees005
|
|
244
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
245
|
-
, _extends({}, props, {
|
|
246
|
-
selectedItemIndex: selectedItemIndex,
|
|
247
|
-
focusOnEmptyStateButton: focusOnEmptyStateButton,
|
|
248
|
-
focusedItemIndex: focusedItemIndex,
|
|
249
|
-
setFocusedItemIndex: setFocusedItemIndex,
|
|
250
|
-
focusedCategoryIndex: focusedCategoryIndex,
|
|
251
|
-
setFocusedCategoryIndex: setFocusedCategoryIndex,
|
|
252
|
-
focusOnSearch: focusOnSearch,
|
|
253
|
-
columnCount: columnCount,
|
|
254
|
-
setColumnCount: setColumnCount,
|
|
255
|
-
setFocusOnSearch: setFocusOnSearch,
|
|
256
|
-
onKeyPress: onItemsEnterTabKeyPress,
|
|
257
|
-
onKeyDown: onKeyDown,
|
|
258
|
-
onViewMore: onViewMore,
|
|
259
|
-
focusOnViewMore: focusOnViewMore,
|
|
260
|
-
cache: cache
|
|
261
|
-
})) : jsx(DesktopBrowser
|
|
262
|
-
// Ignored via go/ees005
|
|
263
|
-
// eslint-disable-next-line react/jsx-props-no-spreading
|
|
264
|
-
, _extends({}, props, {
|
|
265
|
-
selectedItemIndex: selectedItemIndex,
|
|
266
|
-
focusOnEmptyStateButton: focusOnEmptyStateButton,
|
|
267
|
-
focusedItemIndex: focusedItemIndex,
|
|
268
|
-
setFocusedItemIndex: setFocusedItemIndex,
|
|
269
|
-
focusOnSearch: focusOnSearch,
|
|
270
|
-
setColumnCount: setColumnCount,
|
|
271
|
-
columnCount: columnCount,
|
|
272
|
-
setFocusOnSearch: setFocusOnSearch,
|
|
273
|
-
onKeyPress: onItemsEnterTabKeyPress,
|
|
274
|
-
onKeyDown: onKeyDown,
|
|
275
|
-
focusedCategoryIndex: focusedCategoryIndex,
|
|
276
|
-
setFocusedCategoryIndex: setFocusedCategoryIndex,
|
|
277
|
-
selectedCategoryIndex: selectedCategoryIndex,
|
|
278
|
-
onSelectCategory: onSelectCategoryCB,
|
|
279
|
-
cache: cache
|
|
280
|
-
})))
|
|
292
|
+
}, browserContent)
|
|
281
293
|
);
|
|
282
294
|
}
|
|
283
295
|
function MobileBrowser({
|
|
@@ -309,59 +321,57 @@ function MobileBrowser({
|
|
|
309
321
|
cache,
|
|
310
322
|
focusOnEmptyStateButton = false
|
|
311
323
|
}) {
|
|
312
|
-
return (
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
}))
|
|
364
|
-
);
|
|
324
|
+
return jsx("div", {
|
|
325
|
+
css: mobileElementBrowserContainer,
|
|
326
|
+
role: expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true) ? 'none' : undefined,
|
|
327
|
+
onKeyDown: onKeyDown,
|
|
328
|
+
"data-testid": "mobile__element-browser"
|
|
329
|
+
}, jsx("div", {
|
|
330
|
+
css: showCategories ? [mobileSideBar, mobileSideBarShowCategories] : mobileSideBar
|
|
331
|
+
}, showSearch && jsx(ElementSearch, {
|
|
332
|
+
onSearch: onSearch,
|
|
333
|
+
onKeyDown: onKeyPress,
|
|
334
|
+
mode: mode,
|
|
335
|
+
focus: focusOnSearch,
|
|
336
|
+
onClick: setFocusOnSearch,
|
|
337
|
+
searchTerm: searchTerm,
|
|
338
|
+
items: items,
|
|
339
|
+
selectedItemIndex: selectedItemIndex,
|
|
340
|
+
ariaControlsId: expValEquals('platform_editor_august_a11y', 'isEnabled', true) ? ELEMENT_BROWSER_LIST_ID : undefined
|
|
341
|
+
}), showCategories && jsx("nav", {
|
|
342
|
+
css: mobileCategoryListWrapper,
|
|
343
|
+
tabIndex: -1
|
|
344
|
+
}, jsx(CategoryList, {
|
|
345
|
+
categories: categories,
|
|
346
|
+
onSelectCategory: onSelectCategory,
|
|
347
|
+
selectedCategory: selectedCategory,
|
|
348
|
+
focusedCategoryIndex: focusedCategoryIndex,
|
|
349
|
+
setFocusedCategoryIndex: setFocusedCategoryIndex,
|
|
350
|
+
setFocusedItemIndex: setFocusedItemIndex,
|
|
351
|
+
setFocusOnSearch: setFocusOnSearch
|
|
352
|
+
}))), jsx("div", {
|
|
353
|
+
css: mobileMainContent,
|
|
354
|
+
id: expValEquals('platform_editor_august_a11y', 'isEnabled', true) ? ELEMENT_BROWSER_LIST_ID : undefined
|
|
355
|
+
}, jsx(ElementList, {
|
|
356
|
+
items: items,
|
|
357
|
+
mode: mode,
|
|
358
|
+
onInsertItem: onInsertItem,
|
|
359
|
+
selectedItemIndex: selectedItemIndex,
|
|
360
|
+
focusedItemIndex: focusedItemIndex,
|
|
361
|
+
focusOnEmptyStateButton: focusOnEmptyStateButton,
|
|
362
|
+
setFocusedItemIndex: setFocusedItemIndex,
|
|
363
|
+
columnCount: columnCount,
|
|
364
|
+
setColumnCount: setColumnCount,
|
|
365
|
+
createAnalyticsEvent: createAnalyticsEvent,
|
|
366
|
+
emptyStateHandler: emptyStateHandler,
|
|
367
|
+
selectedCategory: selectedCategory,
|
|
368
|
+
searchTerm: searchTerm,
|
|
369
|
+
cache: cache,
|
|
370
|
+
hasTabListContext: false
|
|
371
|
+
})), onViewMore && jsx(ViewMore, {
|
|
372
|
+
onViewMore: onViewMore,
|
|
373
|
+
focus: focusOnViewMore
|
|
374
|
+
}));
|
|
365
375
|
}
|
|
366
376
|
function DesktopBrowser({
|
|
367
377
|
showCategories,
|
|
@@ -404,7 +414,22 @@ function DesktopBrowser({
|
|
|
404
414
|
id: "fabric.editor.elementbrowser.sidebar.heading",
|
|
405
415
|
defaultMessage: "Browse",
|
|
406
416
|
description: "Sidebar heading"
|
|
407
|
-
})), jsx("
|
|
417
|
+
})), expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true) ? jsx("div", {
|
|
418
|
+
role: "tablist",
|
|
419
|
+
"aria-labelledby": "sidebar-heading",
|
|
420
|
+
css: categoryListWrapper
|
|
421
|
+
}, jsx(CategoryList, {
|
|
422
|
+
categories: categories,
|
|
423
|
+
onSelectCategory: onSelectCategory,
|
|
424
|
+
selectedCategory: selectedCategory,
|
|
425
|
+
createAnalyticsEvent: createAnalyticsEvent,
|
|
426
|
+
focusedCategoryIndex: focusedCategoryIndex,
|
|
427
|
+
setFocusedCategoryIndex: setFocusedCategoryIndex,
|
|
428
|
+
setFocusedItemIndex: setFocusedItemIndex,
|
|
429
|
+
setFocusOnSearch: setFocusOnSearch
|
|
430
|
+
})) :
|
|
431
|
+
// eslint-disable-next-line @atlassian/a11y/no-noninteractive-element-to-interactive-role
|
|
432
|
+
jsx("nav", {
|
|
408
433
|
role: "tablist",
|
|
409
434
|
"aria-labelledby": "sidebar-heading",
|
|
410
435
|
css: categoryListWrapper
|
|
@@ -419,6 +444,7 @@ function DesktopBrowser({
|
|
|
419
444
|
setFocusOnSearch: setFocusOnSearch
|
|
420
445
|
}))), jsx("div", {
|
|
421
446
|
css: mainContent,
|
|
447
|
+
role: expValEquals('editor_a11y__enghealth-46814_fy26', 'isEnabled', true) ? 'none' : undefined,
|
|
422
448
|
onKeyDown: onKeyDown,
|
|
423
449
|
"data-testid": "main-content"
|
|
424
450
|
}, showSearch &&
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { wrapperDefault } from '../styles';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { wrapperDefault } from '../styles';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { wrapperDefault } from '../Extension/styles';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
|
|
3
2
|
// Custom icon ejection - these icons have been migrated away from the deprecated Custom / SVG components to native SVG. Please review whether this icon should be contributed to @atlaskit/icon-lab or whether it can be replaced by an existing icon from either @atlaskit/icon or @atlaskit/icon-lab
|
|
4
3
|
const BorderIconGlyph = ({
|
|
5
4
|
'aria-label': ariaLabel,
|
|
@@ -4,7 +4,6 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
4
4
|
* @jsx jsx
|
|
5
5
|
*/
|
|
6
6
|
import { useCallback } from 'react';
|
|
7
|
-
|
|
8
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
8
|
import { jsx } from '@emotion/react';
|
|
10
9
|
import { useIntl } from 'react-intl-next';
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { useCallback, useLayoutEffect, useState } from 'react';
|
|
6
|
-
|
|
7
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
7
|
import { css, jsx } from '@emotion/react';
|
|
9
8
|
import { useIntl } from 'react-intl-next';
|
|
@@ -1,11 +1,12 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
/**
|
|
2
3
|
* @jsxRuntime classic
|
|
3
4
|
* @jsx jsx
|
|
4
5
|
*/
|
|
5
6
|
import React, { forwardRef, Fragment, useCallback } from 'react';
|
|
6
|
-
|
|
7
7
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
8
|
import { css, jsx } from '@emotion/react';
|
|
9
|
+
|
|
9
10
|
// AFP-2532 TODO: Fix automatic suppressions below
|
|
10
11
|
// eslint-disable-next-line @atlassian/tangerine/import/entry-points
|
|
11
12
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { RECENT_SEARCH_WIDTH_IN_PX, RECENT_SEARCH_WIDTH_WITHOUT_ITEMS_IN_PX } from '../../ui';
|
|
@@ -2,6 +2,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
2
2
|
import _defineProperty from "@babel/runtime/helpers/defineProperty";
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { WithProviders } from '../../provider-factory';
|
|
5
|
+
|
|
5
6
|
// eslint-disable-next-line no-duplicate-imports
|
|
6
7
|
|
|
7
8
|
export default function withActivityProvider(WrappedComponent) {
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { DEFAULT_INLINE_IMAGE_ASPECT_RATIO, DEFAULT_INLINE_IMAGE_BORDER_SIZE, referenceHeights } from './constants';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* @jsx jsx
|
|
4
4
|
*/
|
|
5
5
|
import { forwardRef, useEffect, useMemo, useState } from 'react';
|
|
6
|
-
|
|
7
6
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
8
7
|
import { css, jsx } from '@emotion/react';
|
|
9
8
|
import debounce from 'lodash/debounce';
|
|
@@ -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 = "112.11.
|
|
7
|
+
const packageVersion = "112.11.2";
|
|
8
8
|
const sanitiseSentryEvents = (data, _hint) => {
|
|
9
9
|
// Remove URL as it has UGC
|
|
10
10
|
// Ignored via go/ees007
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css, keyframes } from '@emotion/react';
|
|
3
4
|
const gapCursorBlink = keyframes({
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { blockNodesVerticalMargin } from '@atlaskit/editor-shared-styles';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-exported-styles -- Ignored via go/DSP-18766
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
/* eslint-disable @atlaskit/ui-styling-standard/no-imported-style-values */
|
|
2
3
|
/* eslint-disable @atlaskit/ui-styling-standard/no-unsafe-values */
|
|
3
4
|
/* eslint-disable @atlaskit/ui-styling-standard/no-nested-selectors */
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { akEditorWrappedNodeZIndex } from '@atlaskit/editor-shared-styles';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import memoizeOne from 'memoize-one';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
/**
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
2
3
|
import { css } from '@emotion/react';
|
|
3
4
|
import { tableCellContentDomSelector, tableCellSelector, tableHeaderSelector, tablePrefixSelector } from '@atlaskit/adf-schema';
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* eslint-disable @atlaskit/ui-styling-standard/use-compiled -- Pre-existing lint debt surfaced by this mechanical type-import-only PR. */
|
|
1
2
|
/* eslint-disable @atlaskit/design-system/ensure-design-token-usage */
|
|
2
3
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
3
4
|
import { css } from '@emotion/react';
|
|
@@ -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 = "112.11.
|
|
17
|
+
const packageVersion = "112.11.2";
|
|
18
18
|
const halfFocusRing = 1;
|
|
19
19
|
const dropOffset = '0, 8';
|
|
20
20
|
const fadeIn = keyframes({
|