@atlaskit/renderer 108.15.8 → 108.15.10
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 +13 -0
- package/dist/cjs/actions/index.js +2 -3
- package/dist/cjs/analytics/analyticsContext.js +1 -2
- package/dist/cjs/analytics/enums.js +5 -9
- package/dist/cjs/analytics/events.js +4 -7
- package/dist/cjs/analytics/unsupported-content.js +2 -3
- package/dist/cjs/consts.js +2 -3
- package/dist/cjs/i18n/cs.js +2 -3
- package/dist/cjs/i18n/da.js +2 -3
- package/dist/cjs/i18n/de.js +2 -3
- package/dist/cjs/i18n/en.js +2 -3
- package/dist/cjs/i18n/en_GB.js +2 -3
- package/dist/cjs/i18n/en_ZZ.js +2 -3
- package/dist/cjs/i18n/es.js +2 -3
- package/dist/cjs/i18n/et.js +1 -2
- package/dist/cjs/i18n/fi.js +2 -3
- package/dist/cjs/i18n/fr.js +2 -3
- package/dist/cjs/i18n/hu.js +2 -3
- package/dist/cjs/i18n/it.js +2 -3
- package/dist/cjs/i18n/ja.js +2 -3
- package/dist/cjs/i18n/ko.js +2 -3
- package/dist/cjs/i18n/nb.js +2 -3
- package/dist/cjs/i18n/nl.js +2 -3
- package/dist/cjs/i18n/pl.js +2 -3
- package/dist/cjs/i18n/pt_BR.js +2 -3
- package/dist/cjs/i18n/pt_PT.js +1 -2
- package/dist/cjs/i18n/ru.js +2 -3
- package/dist/cjs/i18n/sk.js +1 -2
- package/dist/cjs/i18n/sv.js +2 -3
- package/dist/cjs/i18n/th.js +2 -3
- package/dist/cjs/i18n/tr.js +2 -3
- package/dist/cjs/i18n/uk.js +2 -3
- package/dist/cjs/i18n/vi.js +2 -3
- package/dist/cjs/i18n/zh.js +2 -3
- package/dist/cjs/i18n/zh_TW.js +2 -3
- package/dist/cjs/messages.js +5 -9
- package/dist/cjs/react/hooks/use-bidi-warnings.js +2 -3
- package/dist/cjs/react/hooks/use-in-viewport.js +2 -3
- package/dist/cjs/react/index.js +3 -3
- package/dist/cjs/react/marks/annotation.js +2 -4
- package/dist/cjs/react/marks/breakout.js +1 -2
- package/dist/cjs/react/marks/code.js +2 -4
- package/dist/cjs/react/marks/confluence-inline-comment.js +2 -3
- package/dist/cjs/react/marks/index.js +3 -5
- package/dist/cjs/react/nodes/bodiedExtension.js +1 -2
- package/dist/cjs/react/nodes/caption.js +1 -2
- package/dist/cjs/react/nodes/codeBlock/codeBlock.js +1 -2
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockButtonContainer.js +1 -2
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockContainer.js +1 -2
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockCopyButton.js +1 -2
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockWrapButton.js +1 -2
- package/dist/cjs/react/nodes/codeBlock/components/lightWeightCodeBlock.js +3 -6
- package/dist/cjs/react/nodes/codeBlock/windowedCodeBlock.js +1 -2
- package/dist/cjs/react/nodes/date.js +2 -4
- package/dist/cjs/react/nodes/decisionList.js +2 -3
- package/dist/cjs/react/nodes/emoji.js +2 -3
- package/dist/cjs/react/nodes/extension.js +3 -5
- package/dist/cjs/react/nodes/fallback.js +4 -5
- package/dist/cjs/react/nodes/hardBreak.js +1 -2
- package/dist/cjs/react/nodes/heading-anchor.js +2 -4
- package/dist/cjs/react/nodes/heading.js +1 -2
- package/dist/cjs/react/nodes/index.js +25 -50
- package/dist/cjs/react/nodes/inlineCard.js +1 -2
- package/dist/cjs/react/nodes/inlineExtension.js +1 -2
- package/dist/cjs/react/nodes/media/index.js +2 -3
- package/dist/cjs/react/nodes/media/styles.js +3 -5
- package/dist/cjs/react/nodes/mediaGroup.js +2 -3
- package/dist/cjs/react/nodes/mediaInline.js +3 -5
- package/dist/cjs/react/nodes/mediaSingle/index.js +2 -4
- package/dist/cjs/react/nodes/mediaSingle/styles.js +2 -4
- package/dist/cjs/react/nodes/mention.js +2 -3
- package/dist/cjs/react/nodes/orderedList.js +1 -1
- package/dist/cjs/react/nodes/panel.js +1 -2
- package/dist/cjs/react/nodes/status.js +2 -3
- package/dist/cjs/react/nodes/table/colgroup.js +3 -5
- package/dist/cjs/react/nodes/table/sticky.js +5 -9
- package/dist/cjs/react/nodes/table/table.js +2 -3
- package/dist/cjs/react/nodes/table.js +4 -8
- package/dist/cjs/react/nodes/tableCell.js +3 -6
- package/dist/cjs/react/nodes/tableRow.js +2 -3
- package/dist/cjs/react/nodes/task-item-with-providers.js +2 -3
- package/dist/cjs/react/nodes/taskItem.js +2 -3
- package/dist/cjs/react/nodes/taskList.js +2 -3
- package/dist/cjs/react/nodes/text-wrapper.js +1 -2
- package/dist/cjs/react/renderer-node.js +5 -9
- package/dist/cjs/react/utils/appearance.js +4 -7
- package/dist/cjs/react/utils/clipboard.js +2 -3
- package/dist/cjs/react/utils/element-selection.js +2 -3
- package/dist/cjs/react/utils/getCardClickHandler.js +2 -3
- package/dist/cjs/react/utils/use-select-all-trap.js +2 -3
- package/dist/cjs/render-document.js +2 -3
- package/dist/cjs/renderer-context.js +2 -4
- package/dist/cjs/text/index.js +2 -3
- package/dist/cjs/text/nodes/blockquote.js +1 -2
- package/dist/cjs/text/nodes/bulletList.js +1 -2
- package/dist/cjs/text/nodes/date.js +1 -2
- package/dist/cjs/text/nodes/decisionItem.js +1 -2
- package/dist/cjs/text/nodes/hardBreak.js +1 -2
- package/dist/cjs/text/nodes/heading.js +1 -2
- package/dist/cjs/text/nodes/index.js +3 -5
- package/dist/cjs/text/nodes/inlineCard.js +1 -2
- package/dist/cjs/text/nodes/listItem.js +1 -2
- package/dist/cjs/text/nodes/mediaGroup.js +1 -2
- package/dist/cjs/text/nodes/mention.js +1 -2
- package/dist/cjs/text/nodes/orderedList.js +1 -2
- package/dist/cjs/text/nodes/panel.js +1 -2
- package/dist/cjs/text/nodes/paragraph.js +1 -2
- package/dist/cjs/text/nodes/rule.js +1 -2
- package/dist/cjs/text/nodes/status.js +1 -2
- package/dist/cjs/text/nodes/table.js +1 -2
- package/dist/cjs/text/nodes/taskItem.js +1 -2
- package/dist/cjs/text/nodes/unknown.js +1 -2
- package/dist/cjs/ui/Expand.js +1 -2
- package/dist/cjs/ui/ExtensionRenderer.js +5 -6
- package/dist/cjs/ui/MediaCard.js +5 -10
- package/dist/cjs/ui/Renderer/ErrorBoundary.js +2 -3
- package/dist/cjs/ui/Renderer/breakout-ssr.js +2 -4
- package/dist/cjs/ui/Renderer/index.js +9 -13
- package/dist/cjs/ui/Renderer/style.js +7 -10
- package/dist/cjs/ui/Renderer/truncated-wrapper.js +2 -3
- package/dist/cjs/ui/RendererActionsContext/index.js +2 -4
- package/dist/cjs/ui/SmartCardStorage.js +4 -7
- package/dist/cjs/ui/SortingIcon.js +2 -4
- package/dist/cjs/ui/TaskItemsFormatContext/TaskItemsFormatContext.js +1 -2
- package/dist/cjs/ui/active-header-id-provider.js +3 -5
- package/dist/cjs/ui/annotations/context.js +5 -9
- package/dist/cjs/ui/annotations/draft/component.js +5 -9
- package/dist/cjs/ui/annotations/draft/dom.js +3 -5
- package/dist/cjs/ui/annotations/draft/position.js +2 -3
- package/dist/cjs/ui/annotations/draft/text.js +4 -7
- package/dist/cjs/ui/annotations/element/index.js +2 -3
- package/dist/cjs/ui/annotations/element/mark.js +2 -3
- package/dist/cjs/ui/annotations/hooks/use-events.js +4 -7
- package/dist/cjs/ui/annotations/hooks/use-inline-comment-subscriber.js +2 -3
- package/dist/cjs/ui/annotations/hooks/use-inline-comments-filter.js +2 -3
- package/dist/cjs/ui/annotations/hooks/use-load-annotations.js +2 -3
- package/dist/cjs/ui/annotations/hooks/user-selection.js +2 -3
- package/dist/cjs/ui/annotations/hooks/utils.js +2 -3
- package/dist/cjs/ui/annotations/index.js +2 -3
- package/dist/cjs/ui/annotations/selection/mounter.js +2 -3
- package/dist/cjs/ui/annotations/selection/range-validator.js +2 -3
- package/dist/cjs/ui/annotations/selection/wrapper.js +2 -3
- package/dist/cjs/ui/annotations/types.js +2 -3
- package/dist/cjs/ui/annotations/view/index.js +2 -3
- package/dist/cjs/use-feature-flags.js +2 -3
- package/dist/cjs/utils.js +4 -8
- package/dist/es2019/react/index.js +1 -0
- package/dist/es2019/react/nodes/fallback.js +3 -3
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/index.js +1 -0
- package/dist/esm/react/nodes/fallback.js +3 -3
- package/dist/esm/react/nodes/mediaInline.js +1 -1
- package/dist/esm/react/nodes/orderedList.js +1 -1
- package/dist/esm/ui/ExtensionRenderer.js +3 -3
- package/dist/esm/ui/Renderer/index.js +5 -5
- package/package.json +5 -5
- package/dist/types-ts4.5/actions/index.d.ts +0 -61
- package/dist/types-ts4.5/actions/matches-utils.d.ts +0 -7
- package/dist/types-ts4.5/actions.d.ts +0 -3
- package/dist/types-ts4.5/analytics/analyticsContext.d.ts +0 -6
- package/dist/types-ts4.5/analytics/enums.d.ts +0 -58
- package/dist/types-ts4.5/analytics/events.d.ts +0 -118
- package/dist/types-ts4.5/analytics/unsupported-content.d.ts +0 -10
- package/dist/types-ts4.5/consts.d.ts +0 -12
- package/dist/types-ts4.5/i18n/cs.d.ts +0 -25
- package/dist/types-ts4.5/i18n/da.d.ts +0 -20
- package/dist/types-ts4.5/i18n/de.d.ts +0 -20
- package/dist/types-ts4.5/i18n/en.d.ts +0 -25
- package/dist/types-ts4.5/i18n/en_GB.d.ts +0 -25
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +0 -25
- package/dist/types-ts4.5/i18n/es.d.ts +0 -20
- package/dist/types-ts4.5/i18n/et.d.ts +0 -8
- package/dist/types-ts4.5/i18n/fi.d.ts +0 -25
- package/dist/types-ts4.5/i18n/fr.d.ts +0 -20
- package/dist/types-ts4.5/i18n/hu.d.ts +0 -20
- package/dist/types-ts4.5/i18n/index.d.ts +0 -31
- package/dist/types-ts4.5/i18n/it.d.ts +0 -20
- package/dist/types-ts4.5/i18n/ja.d.ts +0 -25
- package/dist/types-ts4.5/i18n/ko.d.ts +0 -20
- package/dist/types-ts4.5/i18n/nb.d.ts +0 -20
- package/dist/types-ts4.5/i18n/nl.d.ts +0 -20
- package/dist/types-ts4.5/i18n/pl.d.ts +0 -20
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +0 -25
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +0 -8
- package/dist/types-ts4.5/i18n/ru.d.ts +0 -25
- package/dist/types-ts4.5/i18n/sk.d.ts +0 -8
- package/dist/types-ts4.5/i18n/sv.d.ts +0 -20
- package/dist/types-ts4.5/i18n/th.d.ts +0 -20
- package/dist/types-ts4.5/i18n/tr.d.ts +0 -20
- package/dist/types-ts4.5/i18n/uk.d.ts +0 -25
- package/dist/types-ts4.5/i18n/vi.d.ts +0 -20
- package/dist/types-ts4.5/i18n/zh.d.ts +0 -20
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +0 -20
- package/dist/types-ts4.5/index.d.ts +0 -11
- package/dist/types-ts4.5/messages.d.ts +0 -88
- package/dist/types-ts4.5/react/hooks/use-bidi-warnings.d.ts +0 -10
- package/dist/types-ts4.5/react/hooks/use-in-viewport.d.ts +0 -5
- package/dist/types-ts4.5/react/index.d.ts +0 -124
- package/dist/types-ts4.5/react/marks/alignment.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/annotation.d.ts +0 -6
- package/dist/types-ts4.5/react/marks/breakout.d.ts +0 -6
- package/dist/types-ts4.5/react/marks/code.d.ts +0 -16
- package/dist/types-ts4.5/react/marks/confluence-inline-comment.d.ts +0 -8
- package/dist/types-ts4.5/react/marks/data-consumer.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/em.d.ts +0 -3
- package/dist/types-ts4.5/react/marks/fragment.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/indentation.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/index.d.ts +0 -21
- package/dist/types-ts4.5/react/marks/link.d.ts +0 -9
- package/dist/types-ts4.5/react/marks/strike.d.ts +0 -3
- package/dist/types-ts4.5/react/marks/strong.d.ts +0 -3
- package/dist/types-ts4.5/react/marks/subsup.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/textColor.d.ts +0 -4
- package/dist/types-ts4.5/react/marks/underline.d.ts +0 -3
- package/dist/types-ts4.5/react/marks/unsupportedMark.d.ts +0 -3
- package/dist/types-ts4.5/react/marks/unsupportedNodeAttribute.d.ts +0 -3
- package/dist/types-ts4.5/react/nodes/blockCard.d.ts +0 -15
- package/dist/types-ts4.5/react/nodes/blockquote.d.ts +0 -2
- package/dist/types-ts4.5/react/nodes/bodiedExtension.d.ts +0 -24
- package/dist/types-ts4.5/react/nodes/bulletList.d.ts +0 -5
- package/dist/types-ts4.5/react/nodes/caption.d.ts +0 -4
- package/dist/types-ts4.5/react/nodes/codeBlock/codeBlock.d.ts +0 -15
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockButtonContainer.d.ts +0 -12
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockContainer.d.ts +0 -10
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +0 -9
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +0 -11
- package/dist/types-ts4.5/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +0 -9
- package/dist/types-ts4.5/react/nodes/codeBlock/windowedCodeBlock.d.ts +0 -4
- package/dist/types-ts4.5/react/nodes/date.d.ts +0 -11
- package/dist/types-ts4.5/react/nodes/decisionItem.d.ts +0 -3
- package/dist/types-ts4.5/react/nodes/decisionList.d.ts +0 -7
- package/dist/types-ts4.5/react/nodes/doc.d.ts +0 -3
- package/dist/types-ts4.5/react/nodes/embedCard.d.ts +0 -19
- package/dist/types-ts4.5/react/nodes/emoji.d.ts +0 -12
- package/dist/types-ts4.5/react/nodes/extension.d.ts +0 -113
- package/dist/types-ts4.5/react/nodes/fallback.d.ts +0 -19
- package/dist/types-ts4.5/react/nodes/hardBreak.d.ts +0 -6
- package/dist/types-ts4.5/react/nodes/heading-anchor.d.ts +0 -14
- package/dist/types-ts4.5/react/nodes/heading.d.ts +0 -14
- package/dist/types-ts4.5/react/nodes/index.d.ts +0 -98
- package/dist/types-ts4.5/react/nodes/inline.d.ts +0 -1
- package/dist/types-ts4.5/react/nodes/inlineCard.d.ts +0 -65
- package/dist/types-ts4.5/react/nodes/inlineExtension.d.ts +0 -18
- package/dist/types-ts4.5/react/nodes/layoutColumn.d.ts +0 -6
- package/dist/types-ts4.5/react/nodes/layoutSection.d.ts +0 -2
- package/dist/types-ts4.5/react/nodes/listItem.d.ts +0 -2
- package/dist/types-ts4.5/react/nodes/media/index.d.ts +0 -27
- package/dist/types-ts4.5/react/nodes/media/styles.d.ts +0 -2
- package/dist/types-ts4.5/react/nodes/mediaGroup.d.ts +0 -30
- package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +0 -38
- package/dist/types-ts4.5/react/nodes/mediaSingle/index.d.ts +0 -24
- package/dist/types-ts4.5/react/nodes/mediaSingle/styles.d.ts +0 -2
- package/dist/types-ts4.5/react/nodes/mention.d.ts +0 -13
- package/dist/types-ts4.5/react/nodes/orderedList.d.ts +0 -9
- package/dist/types-ts4.5/react/nodes/panel.d.ts +0 -17
- package/dist/types-ts4.5/react/nodes/paragraph.d.ts +0 -3
- package/dist/types-ts4.5/react/nodes/placeholder.d.ts +0 -6
- package/dist/types-ts4.5/react/nodes/rule.d.ts +0 -2
- package/dist/types-ts4.5/react/nodes/status.d.ts +0 -10
- package/dist/types-ts4.5/react/nodes/table/colgroup.d.ts +0 -9
- package/dist/types-ts4.5/react/nodes/table/sticky.d.ts +0 -43
- package/dist/types-ts4.5/react/nodes/table/table.d.ts +0 -7
- package/dist/types-ts4.5/react/nodes/table/types.d.ts +0 -12
- package/dist/types-ts4.5/react/nodes/table.d.ts +0 -282
- package/dist/types-ts4.5/react/nodes/tableCell.d.ts +0 -81
- package/dist/types-ts4.5/react/nodes/tableRow.d.ts +0 -24
- package/dist/types-ts4.5/react/nodes/task-item-with-providers.d.ts +0 -29
- package/dist/types-ts4.5/react/nodes/taskItem.d.ts +0 -19
- package/dist/types-ts4.5/react/nodes/taskList.d.ts +0 -8
- package/dist/types-ts4.5/react/nodes/text-wrapper.d.ts +0 -8
- package/dist/types-ts4.5/react/nodes/unknownBlock.d.ts +0 -2
- package/dist/types-ts4.5/react/renderer-node.d.ts +0 -5
- package/dist/types-ts4.5/react/types.d.ts +0 -58
- package/dist/types-ts4.5/react/utils/appearance.d.ts +0 -4
- package/dist/types-ts4.5/react/utils/clipboard.d.ts +0 -1
- package/dist/types-ts4.5/react/utils/element-selection.d.ts +0 -9
- package/dist/types-ts4.5/react/utils/getCardClickHandler.d.ts +0 -2
- package/dist/types-ts4.5/react/utils/inject-props.d.ts +0 -6
- package/dist/types-ts4.5/react/utils/links.d.ts +0 -3
- package/dist/types-ts4.5/react/utils/lists.d.ts +0 -2
- package/dist/types-ts4.5/react/utils/performance/RenderTracking.d.ts +0 -15
- package/dist/types-ts4.5/react/utils/use-select-all-trap.d.ts +0 -2
- package/dist/types-ts4.5/render-document.d.ts +0 -23
- package/dist/types-ts4.5/renderer-context.d.ts +0 -7
- package/dist/types-ts4.5/serializer.d.ts +0 -4
- package/dist/types-ts4.5/steps/index.d.ts +0 -14
- package/dist/types-ts4.5/text/index.d.ts +0 -8
- package/dist/types-ts4.5/text/nodes/blockquote.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/bulletList.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/date.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/decisionItem.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/hardBreak.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/heading.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/index.d.ts +0 -6
- package/dist/types-ts4.5/text/nodes/inlineCard.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/listItem.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/mediaGroup.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/mention.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/orderedList.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/panel.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/paragraph.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/rule.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/status.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/table.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/taskItem.d.ts +0 -3
- package/dist/types-ts4.5/text/nodes/unknown.d.ts +0 -3
- package/dist/types-ts4.5/text-serializer.d.ts +0 -1
- package/dist/types-ts4.5/types/i18n.d.ts +0 -5
- package/dist/types-ts4.5/types/mediaOptions.d.ts +0 -13
- package/dist/types-ts4.5/types/smartLinksOptions.d.ts +0 -7
- package/dist/types-ts4.5/ui/Expand.d.ts +0 -23
- package/dist/types-ts4.5/ui/ExtensionRenderer.d.ts +0 -42
- package/dist/types-ts4.5/ui/MediaCard.d.ts +0 -79
- package/dist/types-ts4.5/ui/Renderer/ErrorBoundary.d.ts +0 -24
- package/dist/types-ts4.5/ui/Renderer/breakout-ssr.d.ts +0 -11
- package/dist/types-ts4.5/ui/Renderer/click-to-edit.d.ts +0 -6
- package/dist/types-ts4.5/ui/Renderer/index.d.ts +0 -38
- package/dist/types-ts4.5/ui/Renderer/style.d.ts +0 -16
- package/dist/types-ts4.5/ui/Renderer/truncated-wrapper.d.ts +0 -12
- package/dist/types-ts4.5/ui/Renderer/types.d.ts +0 -16
- package/dist/types-ts4.5/ui/RendererActionsContext/WithRendererActions.d.ts +0 -6
- package/dist/types-ts4.5/ui/RendererActionsContext/index.d.ts +0 -9
- package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +0 -60
- package/dist/types-ts4.5/ui/SortingIcon.d.ts +0 -23
- package/dist/types-ts4.5/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +0 -15
- package/dist/types-ts4.5/ui/TaskItemsFormatContext/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/active-header-id-provider.d.ts +0 -18
- package/dist/types-ts4.5/ui/annotations/context.d.ts +0 -27
- package/dist/types-ts4.5/ui/annotations/draft/component.d.ts +0 -20
- package/dist/types-ts4.5/ui/annotations/draft/dom.d.ts +0 -7
- package/dist/types-ts4.5/ui/annotations/draft/index.d.ts +0 -2
- package/dist/types-ts4.5/ui/annotations/draft/position.d.ts +0 -2
- package/dist/types-ts4.5/ui/annotations/draft/text.d.ts +0 -13
- package/dist/types-ts4.5/ui/annotations/element/index.d.ts +0 -10
- package/dist/types-ts4.5/ui/annotations/element/mark.d.ts +0 -14
- package/dist/types-ts4.5/ui/annotations/hooks/index.d.ts +0 -3
- package/dist/types-ts4.5/ui/annotations/hooks/use-events.d.ts +0 -18
- package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +0 -1
- package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comments-filter.d.ts +0 -9
- package/dist/types-ts4.5/ui/annotations/hooks/use-load-annotations.d.ts +0 -6
- package/dist/types-ts4.5/ui/annotations/hooks/user-selection.d.ts +0 -9
- package/dist/types-ts4.5/ui/annotations/hooks/utils.d.ts +0 -2
- package/dist/types-ts4.5/ui/annotations/index.d.ts +0 -5
- package/dist/types-ts4.5/ui/annotations/selection/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/annotations/selection/mounter.d.ts +0 -20
- package/dist/types-ts4.5/ui/annotations/selection/range-validator.d.ts +0 -13
- package/dist/types-ts4.5/ui/annotations/selection/wrapper.d.ts +0 -8
- package/dist/types-ts4.5/ui/annotations/types.d.ts +0 -22
- package/dist/types-ts4.5/ui/annotations/view/index.d.ts +0 -7
- package/dist/types-ts4.5/ui/index.d.ts +0 -1
- package/dist/types-ts4.5/ui/renderer-props.d.ts +0 -115
- package/dist/types-ts4.5/use-feature-flags.d.ts +0 -2
- package/dist/types-ts4.5/utils.d.ts +0 -24
- package/tmp/api-report-tmp.d.ts +0 -552
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
export declare const headingAnchorLinkMessages: {
|
|
2
|
-
copyHeadingLinkToClipboard: {
|
|
3
|
-
id: string;
|
|
4
|
-
defaultMessage: string;
|
|
5
|
-
description: string;
|
|
6
|
-
};
|
|
7
|
-
copiedHeadingLinkToClipboard: {
|
|
8
|
-
id: string;
|
|
9
|
-
defaultMessage: string;
|
|
10
|
-
description: string;
|
|
11
|
-
};
|
|
12
|
-
failedToCopyHeadingLink: {
|
|
13
|
-
id: string;
|
|
14
|
-
defaultMessage: string;
|
|
15
|
-
description: string;
|
|
16
|
-
};
|
|
17
|
-
copyAriaLabel: {
|
|
18
|
-
id: string;
|
|
19
|
-
defaultMessage: string;
|
|
20
|
-
description: string;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
export declare const tableCellMessages: {
|
|
24
|
-
noneSortingLabel: {
|
|
25
|
-
id: string;
|
|
26
|
-
defaultMessage: string;
|
|
27
|
-
description: string;
|
|
28
|
-
};
|
|
29
|
-
ascSortingLabel: {
|
|
30
|
-
id: string;
|
|
31
|
-
defaultMessage: string;
|
|
32
|
-
description: string;
|
|
33
|
-
};
|
|
34
|
-
descSortingLabel: {
|
|
35
|
-
id: string;
|
|
36
|
-
defaultMessage: string;
|
|
37
|
-
description: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const sortingIconMessages: {
|
|
41
|
-
noOrderLabel: {
|
|
42
|
-
id: string;
|
|
43
|
-
defaultMessage: string;
|
|
44
|
-
description: string;
|
|
45
|
-
};
|
|
46
|
-
ascOrderLabel: {
|
|
47
|
-
id: string;
|
|
48
|
-
defaultMessage: string;
|
|
49
|
-
description: string;
|
|
50
|
-
};
|
|
51
|
-
descOrderLabel: {
|
|
52
|
-
id: string;
|
|
53
|
-
defaultMessage: string;
|
|
54
|
-
description: string;
|
|
55
|
-
};
|
|
56
|
-
invalidLabel: {
|
|
57
|
-
id: string;
|
|
58
|
-
defaultMessage: string;
|
|
59
|
-
description: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
export declare const sortingAriaLabelMessages: {
|
|
63
|
-
noOrderLabel: {
|
|
64
|
-
id: string;
|
|
65
|
-
defaultMessage: string;
|
|
66
|
-
description: string;
|
|
67
|
-
};
|
|
68
|
-
ascOrderLabel: {
|
|
69
|
-
id: string;
|
|
70
|
-
defaultMessage: string;
|
|
71
|
-
description: string;
|
|
72
|
-
};
|
|
73
|
-
descOrderLabel: {
|
|
74
|
-
id: string;
|
|
75
|
-
defaultMessage: string;
|
|
76
|
-
description: string;
|
|
77
|
-
};
|
|
78
|
-
invalidLabel: {
|
|
79
|
-
id: string;
|
|
80
|
-
defaultMessage: string;
|
|
81
|
-
description: string;
|
|
82
|
-
};
|
|
83
|
-
defaultLabel: {
|
|
84
|
-
id: string;
|
|
85
|
-
defaultMessage: string;
|
|
86
|
-
description: string;
|
|
87
|
-
};
|
|
88
|
-
};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
interface Config {
|
|
3
|
-
enableWarningTooltip: boolean;
|
|
4
|
-
}
|
|
5
|
-
interface Result {
|
|
6
|
-
renderBidiWarnings: (text: string) => ReactNode;
|
|
7
|
-
warningLabel: string;
|
|
8
|
-
}
|
|
9
|
-
export declare const useBidiWarnings: ({ enableWarningTooltip, }: Config) => Result;
|
|
10
|
-
export {};
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import type { Fragment, Mark, Node } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { Serializer } from '../';
|
|
4
|
-
import type { RendererAppearance, StickyHeaderConfig, HeadingAnchorLinksProps, NodeComponentsProps } from '../ui/Renderer/types';
|
|
5
|
-
import type { AnalyticsEventPayload } from '../analytics/events';
|
|
6
|
-
import type { TextWrapper } from './nodes';
|
|
7
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
8
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
9
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
10
|
-
import type { RendererContext } from './types';
|
|
11
|
-
import type { MediaOptions } from '../types/mediaOptions';
|
|
12
|
-
import type { SmartLinksOptions } from '../types/smartLinksOptions';
|
|
13
|
-
import type { EmojiResourceConfig } from '@atlaskit/emoji/resource';
|
|
14
|
-
export interface ReactSerializerInit {
|
|
15
|
-
providers?: ProviderFactory;
|
|
16
|
-
eventHandlers?: EventHandlers;
|
|
17
|
-
extensionHandlers?: ExtensionHandlers;
|
|
18
|
-
portal?: HTMLElement;
|
|
19
|
-
objectContext?: RendererContext;
|
|
20
|
-
appearance?: RendererAppearance;
|
|
21
|
-
disableHeadingIDs?: boolean;
|
|
22
|
-
disableActions?: boolean;
|
|
23
|
-
allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
|
|
24
|
-
allowColumnSorting?: boolean;
|
|
25
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
26
|
-
shouldOpenMediaViewer?: boolean;
|
|
27
|
-
allowAltTextOnImages?: boolean;
|
|
28
|
-
stickyHeaders?: StickyHeaderConfig;
|
|
29
|
-
allowMediaLinking?: boolean;
|
|
30
|
-
surroundTextNodesWithTextWrapper?: boolean;
|
|
31
|
-
media?: MediaOptions;
|
|
32
|
-
emojiResourceConfig?: EmojiResourceConfig;
|
|
33
|
-
smartLinks?: SmartLinksOptions;
|
|
34
|
-
allowCopyToClipboard?: boolean;
|
|
35
|
-
allowWrapCodeBlock?: boolean;
|
|
36
|
-
allowPlaceholderText?: boolean;
|
|
37
|
-
allowCustomPanels?: boolean;
|
|
38
|
-
allowAnnotations?: boolean;
|
|
39
|
-
allowSelectAllTrap?: boolean;
|
|
40
|
-
nodeComponents?: NodeComponentsProps;
|
|
41
|
-
allowWindowedCodeBlock?: boolean;
|
|
42
|
-
}
|
|
43
|
-
interface ParentInfo {
|
|
44
|
-
parentIsIncompleteTask: boolean;
|
|
45
|
-
path: Array<Node>;
|
|
46
|
-
pos: number;
|
|
47
|
-
}
|
|
48
|
-
export default class ReactSerializer implements Serializer<JSX.Element> {
|
|
49
|
-
private providers?;
|
|
50
|
-
private eventHandlers?;
|
|
51
|
-
private extensionHandlers?;
|
|
52
|
-
private portal?;
|
|
53
|
-
private rendererContext?;
|
|
54
|
-
private appearance?;
|
|
55
|
-
private disableHeadingIDs?;
|
|
56
|
-
private disableActions?;
|
|
57
|
-
private headingIds;
|
|
58
|
-
/**
|
|
59
|
-
* The reason we have this extra array here is because we need to generate the same unique
|
|
60
|
-
* heading id for 2 different nodes: headers and expands (check the implementation of
|
|
61
|
-
* `getUniqueHeadingId` for more info).
|
|
62
|
-
*
|
|
63
|
-
* We will eventually need to refactor the current approach to generate unique ids
|
|
64
|
-
* for headers under this ticket -> https://product-fabric.atlassian.net/browse/ED-9668
|
|
65
|
-
*/
|
|
66
|
-
private expandHeadingIds;
|
|
67
|
-
private allowHeadingAnchorLinks?;
|
|
68
|
-
private allowColumnSorting?;
|
|
69
|
-
private allowCopyToClipboard?;
|
|
70
|
-
private allowWrapCodeBlock?;
|
|
71
|
-
private allowPlaceholderText?;
|
|
72
|
-
private allowCustomPanels?;
|
|
73
|
-
private fireAnalyticsEvent?;
|
|
74
|
-
private shouldOpenMediaViewer?;
|
|
75
|
-
private allowAltTextOnImages?;
|
|
76
|
-
private stickyHeaders?;
|
|
77
|
-
private allowMediaLinking?;
|
|
78
|
-
private startPos;
|
|
79
|
-
private surroundTextNodesWithTextWrapper;
|
|
80
|
-
private media?;
|
|
81
|
-
private emojiResourceConfig?;
|
|
82
|
-
private smartLinks?;
|
|
83
|
-
private allowAnnotations;
|
|
84
|
-
private allowSelectAllTrap?;
|
|
85
|
-
private nodeComponents?;
|
|
86
|
-
private allowWindowedCodeBlock?;
|
|
87
|
-
constructor(init: ReactSerializerInit);
|
|
88
|
-
private resetState;
|
|
89
|
-
private getNodeProps;
|
|
90
|
-
serializeFragment(fragment: Fragment, props?: any, target?: any, key?: string, parentInfo?: ParentInfo): JSX.Element | null;
|
|
91
|
-
private serializeFragmentChild;
|
|
92
|
-
private withMediaMarkProps;
|
|
93
|
-
private serializeTextWrapper;
|
|
94
|
-
private serializeMark;
|
|
95
|
-
private renderNode;
|
|
96
|
-
private renderMark;
|
|
97
|
-
private getTableChildrenProps;
|
|
98
|
-
private getTableProps;
|
|
99
|
-
private getDateProps;
|
|
100
|
-
private getMediaSingleProps;
|
|
101
|
-
private getMediaProps;
|
|
102
|
-
private getEmojiProps;
|
|
103
|
-
private getEmbedCardProps;
|
|
104
|
-
private getMediaGroupProps;
|
|
105
|
-
private getMediaInlineProps;
|
|
106
|
-
private getTaskItemProps;
|
|
107
|
-
private getHardBreakProps;
|
|
108
|
-
private getCodeBlockProps;
|
|
109
|
-
private getPanelProps;
|
|
110
|
-
private getUnsupportedContentProps;
|
|
111
|
-
private getProps;
|
|
112
|
-
private headingAnchorSupported;
|
|
113
|
-
private getHeadingProps;
|
|
114
|
-
private getExpandProps;
|
|
115
|
-
private getHeadingId;
|
|
116
|
-
private getUniqueHeadingId;
|
|
117
|
-
private getAnnotationMarkProps;
|
|
118
|
-
private getMarkProps;
|
|
119
|
-
static getChildNodes(fragment: Fragment): (Node | TextWrapper)[];
|
|
120
|
-
static getMarks(node: Node): Mark[];
|
|
121
|
-
static buildMarkStructure(content: Node[]): Mark[];
|
|
122
|
-
static fromSchema(_: unknown, init: ReactSerializerInit): ReactSerializer;
|
|
123
|
-
}
|
|
124
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { MarkProps, AnnotationMarkMeta } from '../types';
|
|
3
|
-
import { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
export declare const isAnnotationMark: (mark: Mark) => boolean;
|
|
5
|
-
declare const AnnotationComponent: ({ id, annotationType, children, dataAttributes, annotationParentIds, allowAnnotations, }: MarkProps<AnnotationMarkMeta>) => JSX.Element;
|
|
6
|
-
export default AnnotationComponent;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import { BreakoutMarkAttrs } from '@atlaskit/adf-schema';
|
|
4
|
-
import { MarkProps } from '../types';
|
|
5
|
-
export declare const wrapperStyles: import("@emotion/react").SerializedStyles;
|
|
6
|
-
export default function Breakout(props: MarkProps<BreakoutMarkAttrs>): jsx.JSX.Element;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
4
|
-
import type { MarkProps } from '../types';
|
|
5
|
-
export declare const isCodeMark: (mark: Mark) => boolean;
|
|
6
|
-
export declare function CodeWithIntl(props: MarkProps<{
|
|
7
|
-
codeBidiWarningTooltipEnabled: boolean;
|
|
8
|
-
}> & WrappedComponentProps): JSX.Element;
|
|
9
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<{
|
|
10
|
-
codeBidiWarningTooltipEnabled: boolean;
|
|
11
|
-
} & import("../types").MarkMeta & WrappedComponentProps<"intl">>> & {
|
|
12
|
-
WrappedComponent: React.ComponentType<{
|
|
13
|
-
codeBidiWarningTooltipEnabled: boolean;
|
|
14
|
-
} & import("../types").MarkMeta & WrappedComponentProps<"intl">>;
|
|
15
|
-
};
|
|
16
|
-
export default _default;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ComponentType } from 'react';
|
|
2
|
-
import { Mark } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import Code from './code';
|
|
4
|
-
import Em from './em';
|
|
5
|
-
import Link from './link';
|
|
6
|
-
import Strike from './strike';
|
|
7
|
-
import Strong from './strong';
|
|
8
|
-
import Subsup from './subsup';
|
|
9
|
-
import TextColor from './textColor';
|
|
10
|
-
import Underline from './underline';
|
|
11
|
-
import Breakout from './breakout';
|
|
12
|
-
import UnsupportedMark from './unsupportedMark';
|
|
13
|
-
import UnsupportedNodeAttribute from './unsupportedNodeAttribute';
|
|
14
|
-
import DataConsumer from './data-consumer';
|
|
15
|
-
import FragmentMark from './fragment';
|
|
16
|
-
import Annotation, { isAnnotationMark } from './annotation';
|
|
17
|
-
export declare const markToReact: {
|
|
18
|
-
[key: string]: ComponentType<any>;
|
|
19
|
-
};
|
|
20
|
-
export declare const toReact: (mark: Mark) => ComponentType<any>;
|
|
21
|
-
export { Code, Em, Link, Strike, Strong, Subsup, TextColor, Underline, Breakout, Annotation, UnsupportedMark, isAnnotationMark, UnsupportedNodeAttribute, DataConsumer, FragmentMark, };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
|
-
import { LinkAttributes } from '@atlaskit/adf-schema';
|
|
3
|
-
import { MarkProps } from '../types';
|
|
4
|
-
interface LinkProps extends LinkAttributes {
|
|
5
|
-
target?: string;
|
|
6
|
-
isMediaLink?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export default function Link(props: MarkProps<LinkProps>): jsx.JSX.Element;
|
|
9
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
3
|
-
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
4
|
-
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
5
|
-
import type { DatasourceAttributeProperties } from '@atlaskit/adf-schema/schema';
|
|
6
|
-
export default function BlockCard(props: {
|
|
7
|
-
url?: string;
|
|
8
|
-
data?: object;
|
|
9
|
-
eventHandlers?: EventHandlers;
|
|
10
|
-
datasource?: DatasourceAttributeProperties;
|
|
11
|
-
portal?: HTMLElement;
|
|
12
|
-
rendererAppearance?: RendererAppearance;
|
|
13
|
-
smartLinks?: SmartLinksOptions;
|
|
14
|
-
layout?: string;
|
|
15
|
-
}): jsx.JSX.Element;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Mark as PMMark, Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { RendererContext } from '../types';
|
|
4
|
-
import type { Serializer } from '../..';
|
|
5
|
-
import type { ExtensionLayout } from '@atlaskit/adf-schema';
|
|
6
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
7
|
-
import type { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
8
|
-
export interface Props {
|
|
9
|
-
serializer: Serializer<any>;
|
|
10
|
-
extensionHandlers?: ExtensionHandlers;
|
|
11
|
-
rendererContext: RendererContext;
|
|
12
|
-
providers: ProviderFactory;
|
|
13
|
-
extensionType: string;
|
|
14
|
-
extensionKey: string;
|
|
15
|
-
path?: PMNode[];
|
|
16
|
-
originalContent?: any;
|
|
17
|
-
parameters?: any;
|
|
18
|
-
content?: any;
|
|
19
|
-
layout?: ExtensionLayout;
|
|
20
|
-
localId?: string;
|
|
21
|
-
marks?: PMMark[];
|
|
22
|
-
}
|
|
23
|
-
declare const BodiedExtension: React.FunctionComponent<Props>;
|
|
24
|
-
export default BodiedExtension;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
import type { SupportedLanguages } from '@atlaskit/code';
|
|
4
|
-
export interface Props {
|
|
5
|
-
text: string;
|
|
6
|
-
language: SupportedLanguages;
|
|
7
|
-
allowCopyToClipboard?: boolean;
|
|
8
|
-
allowWrapCodeBlock?: boolean;
|
|
9
|
-
codeBidiWarningTooltipEnabled: boolean;
|
|
10
|
-
className?: string;
|
|
11
|
-
}
|
|
12
|
-
declare const _default: import("react").FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
13
|
-
WrappedComponent: import("react").ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { Dispatch, SetStateAction } from 'react';
|
|
4
|
-
export interface CodeBlockButtonContainerProps {
|
|
5
|
-
allowCopyToClipboard?: boolean;
|
|
6
|
-
allowWrapCodeBlock?: boolean;
|
|
7
|
-
setWrapLongLines: Dispatch<SetStateAction<boolean>>;
|
|
8
|
-
text: string;
|
|
9
|
-
wrapLongLines: boolean;
|
|
10
|
-
}
|
|
11
|
-
declare const CodeBlockButtonContainer: ({ allowCopyToClipboard, allowWrapCodeBlock, setWrapLongLines, text, wrapLongLines, }: CodeBlockButtonContainerProps) => jsx.JSX.Element;
|
|
12
|
-
export default CodeBlockButtonContainer;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { ReactNode } from 'react';
|
|
4
|
-
import type { CodeBlockButtonContainerProps } from './codeBlockButtonContainer';
|
|
5
|
-
interface ContainerProps extends CodeBlockButtonContainerProps {
|
|
6
|
-
children: ReactNode;
|
|
7
|
-
className?: string;
|
|
8
|
-
}
|
|
9
|
-
declare const CodeBlockContainer: ({ allowCopyToClipboard, allowWrapCodeBlock, children, className, setWrapLongLines, text, wrapLongLines, }: ContainerProps) => jsx.JSX.Element;
|
|
10
|
-
export default CodeBlockContainer;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
type Props = {
|
|
4
|
-
content: string;
|
|
5
|
-
};
|
|
6
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
7
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Dispatch, SetStateAction } from 'react';
|
|
3
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
4
|
-
type Props = {
|
|
5
|
-
setWrapLongLines: Dispatch<SetStateAction<boolean>>;
|
|
6
|
-
wrapLongLines?: boolean;
|
|
7
|
-
};
|
|
8
|
-
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
9
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
10
|
-
};
|
|
11
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import type { Props as CodeBlockProps } from '../codeBlock';
|
|
4
|
-
export declare const LightWeightCodeBlockCssClassName: {
|
|
5
|
-
CONTAINER: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const getLightWeightCodeBlockStylesForRootRendererStyleSheet: () => import("@emotion/react").SerializedStyles;
|
|
8
|
-
declare const LightWeightCodeBlock: React.ForwardRefExoticComponent<Pick<CodeBlockProps, "text" | "className" | "codeBidiWarningTooltipEnabled"> & React.RefAttributes<HTMLDivElement>>;
|
|
9
|
-
export default LightWeightCodeBlock;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { jsx } from '@emotion/react';
|
|
2
|
-
import type { Props as CodeBlockProps } from './codeBlock';
|
|
3
|
-
declare const WindowedCodeBlock: ({ text, language, allowCopyToClipboard, allowWrapCodeBlock, codeBidiWarningTooltipEnabled, className: rootClassName, }: CodeBlockProps) => jsx.JSX.Element;
|
|
4
|
-
export default WindowedCodeBlock;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
export interface Props {
|
|
4
|
-
timestamp: string;
|
|
5
|
-
parentIsIncompleteTask?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare const DateComponent: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
8
|
-
WrappedComponent: React.ComponentType<Props & WrappedComponentProps<"intl">>;
|
|
9
|
-
};
|
|
10
|
-
declare function DateWithFormatContext(props: Props): JSX.Element;
|
|
11
|
-
export default DateWithFormatContext;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/** @jsx jsx */
|
|
2
|
-
import { jsx } from '@emotion/react';
|
|
3
|
-
import type { SmartLinksOptions } from '../../types/smartLinksOptions';
|
|
4
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
5
|
-
import type { RichMediaLayout } from '@atlaskit/adf-schema';
|
|
6
|
-
import type { RendererAppearance } from '../../ui/Renderer/types';
|
|
7
|
-
export default function EmbedCard(props: {
|
|
8
|
-
url?: string;
|
|
9
|
-
data?: object;
|
|
10
|
-
eventHandlers?: EventHandlers;
|
|
11
|
-
portal?: HTMLElement;
|
|
12
|
-
originalHeight?: number;
|
|
13
|
-
originalWidth?: number;
|
|
14
|
-
width?: number;
|
|
15
|
-
layout: RichMediaLayout;
|
|
16
|
-
rendererAppearance?: RendererAppearance;
|
|
17
|
-
isInsideOfBlockNode?: boolean;
|
|
18
|
-
smartLinks?: SmartLinksOptions;
|
|
19
|
-
}): jsx.JSX.Element;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { EmojiAttributes } from '@atlaskit/adf-schema';
|
|
2
|
-
import { EmojiResourceConfig } from '@atlaskit/emoji/resource';
|
|
3
|
-
import { PureComponent } from 'react';
|
|
4
|
-
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
-
export interface EmojiProps extends EmojiAttributes {
|
|
6
|
-
providers?: ProviderFactory;
|
|
7
|
-
resourceConfig?: EmojiResourceConfig;
|
|
8
|
-
fitToHeight?: number;
|
|
9
|
-
}
|
|
10
|
-
export default class EmojiItem extends PureComponent<EmojiProps, {}> {
|
|
11
|
-
render(): JSX.Element;
|
|
12
|
-
}
|