@atlaskit/renderer 108.15.7 → 108.15.9
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 +2 -3
- 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 +48 -53
- 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/ui/Renderer/index.js +36 -37
- package/dist/esm/react/index.js +1 -0
- 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 +44 -45
- 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,282 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { Node as PMNode } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { OverflowShadowProps } from '@atlaskit/editor-common/ui';
|
|
4
|
-
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
5
|
-
import type { RendererAppearance, StickyHeaderConfig } from '../../ui/Renderer/types';
|
|
6
|
-
import type { WithSmartCardStorageProps } from '../../ui/SmartCardStorage';
|
|
7
|
-
import type { StickyMode } from './table/sticky';
|
|
8
|
-
import { OverflowParent } from './table/sticky';
|
|
9
|
-
import type { SharedTableProps } from './table/types';
|
|
10
|
-
export declare const isTableResizingEnabled: (appearance: RendererAppearance) => boolean;
|
|
11
|
-
export type TableProps = SharedTableProps & {
|
|
12
|
-
children: React.ReactElement<any> | Array<React.ReactElement<any>>;
|
|
13
|
-
tableNode?: PMNode;
|
|
14
|
-
rendererAppearance?: RendererAppearance;
|
|
15
|
-
allowColumnSorting?: boolean;
|
|
16
|
-
stickyHeaders?: StickyHeaderConfig;
|
|
17
|
-
};
|
|
18
|
-
interface TableOrderStatus {
|
|
19
|
-
columnIndex: number;
|
|
20
|
-
order: SortOrder;
|
|
21
|
-
}
|
|
22
|
-
interface TableState {
|
|
23
|
-
stickyMode: StickyMode;
|
|
24
|
-
wrapperWidth: number;
|
|
25
|
-
headerRowHeight: number;
|
|
26
|
-
}
|
|
27
|
-
export declare class TableContainer extends React.Component<TableProps & OverflowShadowProps & WithSmartCardStorageProps, TableState> {
|
|
28
|
-
state: TableState;
|
|
29
|
-
tableRef: React.RefObject<HTMLTableElement>;
|
|
30
|
-
stickyHeaderRef: React.RefObject<HTMLElement>;
|
|
31
|
-
stickyWrapperRef: React.RefObject<HTMLDivElement>;
|
|
32
|
-
wrapperRef: React.RefObject<HTMLDivElement>;
|
|
33
|
-
nextFrame: number | undefined;
|
|
34
|
-
overflowParent: OverflowParent | null;
|
|
35
|
-
private resizeObserver;
|
|
36
|
-
private applyResizerChange;
|
|
37
|
-
componentDidMount(): void;
|
|
38
|
-
componentDidUpdate(prevProps: TableProps, prevState: TableState): void;
|
|
39
|
-
componentWillUnmount: () => void;
|
|
40
|
-
getScrollTop: () => number;
|
|
41
|
-
updateSticky: () => void;
|
|
42
|
-
onScroll: () => void;
|
|
43
|
-
onWrapperScrolled: () => void;
|
|
44
|
-
get pinTop(): number | undefined;
|
|
45
|
-
get stickyTop(): number | undefined;
|
|
46
|
-
render(): JSX.Element;
|
|
47
|
-
private grabFirstRowRef;
|
|
48
|
-
}
|
|
49
|
-
export type TableProcessorState = {
|
|
50
|
-
tableOrderStatus?: TableOrderStatus;
|
|
51
|
-
};
|
|
52
|
-
export declare class TableProcessor extends React.Component<TableProps & OverflowShadowProps & WithSmartCardStorageProps, TableProcessorState> {
|
|
53
|
-
state: {
|
|
54
|
-
tableOrderStatus: undefined;
|
|
55
|
-
};
|
|
56
|
-
render(): JSX.Element | null;
|
|
57
|
-
private addSortableColumn;
|
|
58
|
-
private changeSortOrder;
|
|
59
|
-
private addNumberColumnIndexes;
|
|
60
|
-
}
|
|
61
|
-
declare const _default: {
|
|
62
|
-
new (props: import("@atlaskit/editor-common/utils").Diff<{
|
|
63
|
-
renderWidth?: number | undefined;
|
|
64
|
-
} & Omit<SharedTableProps & {
|
|
65
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
66
|
-
tableNode?: PMNode | undefined;
|
|
67
|
-
rendererAppearance?: RendererAppearance;
|
|
68
|
-
allowColumnSorting?: boolean | undefined;
|
|
69
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
70
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps> | Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
71
|
-
renderWidth?: number | undefined;
|
|
72
|
-
} & Omit<SharedTableProps & {
|
|
73
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
74
|
-
tableNode?: PMNode | undefined;
|
|
75
|
-
rendererAppearance?: RendererAppearance;
|
|
76
|
-
allowColumnSorting?: boolean | undefined;
|
|
77
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
78
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>): {
|
|
79
|
-
render(): JSX.Element;
|
|
80
|
-
context: any;
|
|
81
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
82
|
-
renderWidth?: number | undefined;
|
|
83
|
-
} & Omit<SharedTableProps & {
|
|
84
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
85
|
-
tableNode?: PMNode | undefined;
|
|
86
|
-
rendererAppearance?: RendererAppearance;
|
|
87
|
-
allowColumnSorting?: boolean | undefined;
|
|
88
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
89
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
90
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
91
|
-
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
92
|
-
renderWidth?: number | undefined;
|
|
93
|
-
} & Omit<SharedTableProps & {
|
|
94
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
95
|
-
tableNode?: PMNode | undefined;
|
|
96
|
-
rendererAppearance?: RendererAppearance;
|
|
97
|
-
allowColumnSorting?: boolean | undefined;
|
|
98
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
99
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>> & Readonly<{
|
|
100
|
-
children?: React.ReactNode;
|
|
101
|
-
}>;
|
|
102
|
-
state: Readonly<{}>;
|
|
103
|
-
refs: {
|
|
104
|
-
[key: string]: React.ReactInstance;
|
|
105
|
-
};
|
|
106
|
-
componentDidMount?(): void;
|
|
107
|
-
shouldComponentUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
108
|
-
renderWidth?: number | undefined;
|
|
109
|
-
} & Omit<SharedTableProps & {
|
|
110
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
111
|
-
tableNode?: PMNode | undefined;
|
|
112
|
-
rendererAppearance?: RendererAppearance;
|
|
113
|
-
allowColumnSorting?: boolean | undefined;
|
|
114
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
115
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
116
|
-
componentWillUnmount?(): void;
|
|
117
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
118
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
119
|
-
renderWidth?: number | undefined;
|
|
120
|
-
} & Omit<SharedTableProps & {
|
|
121
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
122
|
-
tableNode?: PMNode | undefined;
|
|
123
|
-
rendererAppearance?: RendererAppearance;
|
|
124
|
-
allowColumnSorting?: boolean | undefined;
|
|
125
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
126
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
127
|
-
componentDidUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
128
|
-
renderWidth?: number | undefined;
|
|
129
|
-
} & Omit<SharedTableProps & {
|
|
130
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
131
|
-
tableNode?: PMNode | undefined;
|
|
132
|
-
rendererAppearance?: RendererAppearance;
|
|
133
|
-
allowColumnSorting?: boolean | undefined;
|
|
134
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
135
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
136
|
-
componentWillMount?(): void;
|
|
137
|
-
UNSAFE_componentWillMount?(): void;
|
|
138
|
-
componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
139
|
-
renderWidth?: number | undefined;
|
|
140
|
-
} & Omit<SharedTableProps & {
|
|
141
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
142
|
-
tableNode?: PMNode | undefined;
|
|
143
|
-
rendererAppearance?: RendererAppearance;
|
|
144
|
-
allowColumnSorting?: boolean | undefined;
|
|
145
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
146
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
147
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
148
|
-
renderWidth?: number | undefined;
|
|
149
|
-
} & Omit<SharedTableProps & {
|
|
150
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
151
|
-
tableNode?: PMNode | undefined;
|
|
152
|
-
rendererAppearance?: RendererAppearance;
|
|
153
|
-
allowColumnSorting?: boolean | undefined;
|
|
154
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
155
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
156
|
-
componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
157
|
-
renderWidth?: number | undefined;
|
|
158
|
-
} & Omit<SharedTableProps & {
|
|
159
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
160
|
-
tableNode?: PMNode | undefined;
|
|
161
|
-
rendererAppearance?: RendererAppearance;
|
|
162
|
-
allowColumnSorting?: boolean | undefined;
|
|
163
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
164
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
165
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
166
|
-
renderWidth?: number | undefined;
|
|
167
|
-
} & Omit<SharedTableProps & {
|
|
168
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
169
|
-
tableNode?: PMNode | undefined;
|
|
170
|
-
rendererAppearance?: RendererAppearance;
|
|
171
|
-
allowColumnSorting?: boolean | undefined;
|
|
172
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
173
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
174
|
-
};
|
|
175
|
-
new (props: import("@atlaskit/editor-common/utils").Diff<{
|
|
176
|
-
renderWidth?: number | undefined;
|
|
177
|
-
} & Omit<SharedTableProps & {
|
|
178
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
179
|
-
tableNode?: PMNode | undefined;
|
|
180
|
-
rendererAppearance?: RendererAppearance;
|
|
181
|
-
allowColumnSorting?: boolean | undefined;
|
|
182
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
183
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>, context: any): {
|
|
184
|
-
render(): JSX.Element;
|
|
185
|
-
context: any;
|
|
186
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
187
|
-
renderWidth?: number | undefined;
|
|
188
|
-
} & Omit<SharedTableProps & {
|
|
189
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
190
|
-
tableNode?: PMNode | undefined;
|
|
191
|
-
rendererAppearance?: RendererAppearance;
|
|
192
|
-
allowColumnSorting?: boolean | undefined;
|
|
193
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
194
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
195
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
196
|
-
readonly props: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
197
|
-
renderWidth?: number | undefined;
|
|
198
|
-
} & Omit<SharedTableProps & {
|
|
199
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
200
|
-
tableNode?: PMNode | undefined;
|
|
201
|
-
rendererAppearance?: RendererAppearance;
|
|
202
|
-
allowColumnSorting?: boolean | undefined;
|
|
203
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
204
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>> & Readonly<{
|
|
205
|
-
children?: React.ReactNode;
|
|
206
|
-
}>;
|
|
207
|
-
state: Readonly<{}>;
|
|
208
|
-
refs: {
|
|
209
|
-
[key: string]: React.ReactInstance;
|
|
210
|
-
};
|
|
211
|
-
componentDidMount?(): void;
|
|
212
|
-
shouldComponentUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
213
|
-
renderWidth?: number | undefined;
|
|
214
|
-
} & Omit<SharedTableProps & {
|
|
215
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
216
|
-
tableNode?: PMNode | undefined;
|
|
217
|
-
rendererAppearance?: RendererAppearance;
|
|
218
|
-
allowColumnSorting?: boolean | undefined;
|
|
219
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
220
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
221
|
-
componentWillUnmount?(): void;
|
|
222
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
223
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
224
|
-
renderWidth?: number | undefined;
|
|
225
|
-
} & Omit<SharedTableProps & {
|
|
226
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
227
|
-
tableNode?: PMNode | undefined;
|
|
228
|
-
rendererAppearance?: RendererAppearance;
|
|
229
|
-
allowColumnSorting?: boolean | undefined;
|
|
230
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
231
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, prevState: Readonly<{}>): any;
|
|
232
|
-
componentDidUpdate?(prevProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
233
|
-
renderWidth?: number | undefined;
|
|
234
|
-
} & Omit<SharedTableProps & {
|
|
235
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
236
|
-
tableNode?: PMNode | undefined;
|
|
237
|
-
rendererAppearance?: RendererAppearance;
|
|
238
|
-
allowColumnSorting?: boolean | undefined;
|
|
239
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
240
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
241
|
-
componentWillMount?(): void;
|
|
242
|
-
UNSAFE_componentWillMount?(): void;
|
|
243
|
-
componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
244
|
-
renderWidth?: number | undefined;
|
|
245
|
-
} & Omit<SharedTableProps & {
|
|
246
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
247
|
-
tableNode?: PMNode | undefined;
|
|
248
|
-
rendererAppearance?: RendererAppearance;
|
|
249
|
-
allowColumnSorting?: boolean | undefined;
|
|
250
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
251
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
252
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
253
|
-
renderWidth?: number | undefined;
|
|
254
|
-
} & Omit<SharedTableProps & {
|
|
255
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
256
|
-
tableNode?: PMNode | undefined;
|
|
257
|
-
rendererAppearance?: RendererAppearance;
|
|
258
|
-
allowColumnSorting?: boolean | undefined;
|
|
259
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
260
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextContext: any): void;
|
|
261
|
-
componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
262
|
-
renderWidth?: number | undefined;
|
|
263
|
-
} & Omit<SharedTableProps & {
|
|
264
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
265
|
-
tableNode?: PMNode | undefined;
|
|
266
|
-
rendererAppearance?: RendererAppearance;
|
|
267
|
-
allowColumnSorting?: boolean | undefined;
|
|
268
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
269
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
270
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<import("@atlaskit/editor-common/utils").Diff<{
|
|
271
|
-
renderWidth?: number | undefined;
|
|
272
|
-
} & Omit<SharedTableProps & {
|
|
273
|
-
children: React.ReactElement<any, string | React.JSXElementConstructor<any>> | React.ReactElement<any, string | React.JSXElementConstructor<any>>[];
|
|
274
|
-
tableNode?: PMNode | undefined;
|
|
275
|
-
rendererAppearance?: RendererAppearance;
|
|
276
|
-
allowColumnSorting?: boolean | undefined;
|
|
277
|
-
stickyHeaders?: StickyHeaderConfig | undefined;
|
|
278
|
-
} & WithSmartCardStorageProps, "renderWidth">, WithSmartCardStorageProps>>, nextState: Readonly<{}>, nextContext: any): void;
|
|
279
|
-
};
|
|
280
|
-
contextType?: React.Context<any> | undefined;
|
|
281
|
-
};
|
|
282
|
-
export default _default;
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CellAttributes } from '@atlaskit/adf-schema';
|
|
3
|
-
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
4
|
-
import { AnalyticsEventPayload } from '../../analytics/events';
|
|
5
|
-
import { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
-
type CellProps = CellAttributes & {
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
onClick?: () => void;
|
|
9
|
-
className?: string;
|
|
10
|
-
colGroupWidth?: string;
|
|
11
|
-
offsetTop?: number;
|
|
12
|
-
ariaSort?: string;
|
|
13
|
-
};
|
|
14
|
-
export type CellWithSortingProps = CellProps & {
|
|
15
|
-
isHeaderRow?: boolean;
|
|
16
|
-
allowColumnSorting?: boolean;
|
|
17
|
-
onSorting?: (columnIndex?: number, currentSortOrdered?: SortOrder) => void;
|
|
18
|
-
columnIndex?: number;
|
|
19
|
-
sortOrdered?: SortOrder;
|
|
20
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
21
|
-
} & WrappedComponentProps;
|
|
22
|
-
export declare const withSortableColumn: (WrapperComponent: React.ElementType) => React.FC<import("react-intl-next").WithIntlProps<CellWithSortingProps>> & {
|
|
23
|
-
WrappedComponent: React.ComponentType<CellWithSortingProps>;
|
|
24
|
-
};
|
|
25
|
-
export declare const TableHeader: React.FC<import("react-intl-next").WithIntlProps<CellWithSortingProps>> & {
|
|
26
|
-
WrappedComponent: React.ComponentType<CellWithSortingProps>;
|
|
27
|
-
};
|
|
28
|
-
export declare const TableCell: {
|
|
29
|
-
new (props: CellProps | Readonly<CellProps>): {
|
|
30
|
-
render(): JSX.Element;
|
|
31
|
-
context: any;
|
|
32
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<CellProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
33
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
34
|
-
readonly props: Readonly<CellProps> & Readonly<{
|
|
35
|
-
children?: React.ReactNode;
|
|
36
|
-
}>;
|
|
37
|
-
state: Readonly<{}>;
|
|
38
|
-
refs: {
|
|
39
|
-
[key: string]: React.ReactInstance;
|
|
40
|
-
};
|
|
41
|
-
componentDidMount?(): void;
|
|
42
|
-
shouldComponentUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
43
|
-
componentWillUnmount?(): void;
|
|
44
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
45
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>): any;
|
|
46
|
-
componentDidUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
47
|
-
componentWillMount?(): void;
|
|
48
|
-
UNSAFE_componentWillMount?(): void;
|
|
49
|
-
componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
|
|
50
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
|
|
51
|
-
componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
52
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
53
|
-
};
|
|
54
|
-
new (props: CellProps, context: any): {
|
|
55
|
-
render(): JSX.Element;
|
|
56
|
-
context: any;
|
|
57
|
-
setState<K extends never>(state: {} | ((prevState: Readonly<{}>, props: Readonly<CellProps>) => {} | Pick<{}, K> | null) | Pick<{}, K> | null, callback?: (() => void) | undefined): void;
|
|
58
|
-
forceUpdate(callback?: (() => void) | undefined): void;
|
|
59
|
-
readonly props: Readonly<CellProps> & Readonly<{
|
|
60
|
-
children?: React.ReactNode;
|
|
61
|
-
}>;
|
|
62
|
-
state: Readonly<{}>;
|
|
63
|
-
refs: {
|
|
64
|
-
[key: string]: React.ReactInstance;
|
|
65
|
-
};
|
|
66
|
-
componentDidMount?(): void;
|
|
67
|
-
shouldComponentUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): boolean;
|
|
68
|
-
componentWillUnmount?(): void;
|
|
69
|
-
componentDidCatch?(error: Error, errorInfo: React.ErrorInfo): void;
|
|
70
|
-
getSnapshotBeforeUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>): any;
|
|
71
|
-
componentDidUpdate?(prevProps: Readonly<CellProps>, prevState: Readonly<{}>, snapshot?: any): void;
|
|
72
|
-
componentWillMount?(): void;
|
|
73
|
-
UNSAFE_componentWillMount?(): void;
|
|
74
|
-
componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
|
|
75
|
-
UNSAFE_componentWillReceiveProps?(nextProps: Readonly<CellProps>, nextContext: any): void;
|
|
76
|
-
componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
77
|
-
UNSAFE_componentWillUpdate?(nextProps: Readonly<CellProps>, nextState: Readonly<{}>, nextContext: any): void;
|
|
78
|
-
};
|
|
79
|
-
contextType?: React.Context<any> | undefined;
|
|
80
|
-
};
|
|
81
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
3
|
-
type Props = {
|
|
4
|
-
isNumberColumnEnabled?: number;
|
|
5
|
-
index?: number;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
onSorting?: (columnIndex?: number, currentSortOrdered?: SortOrder) => void;
|
|
8
|
-
allowColumnSorting?: boolean;
|
|
9
|
-
tableOrderStatus?: {
|
|
10
|
-
columnIndex: number;
|
|
11
|
-
order: SortOrder;
|
|
12
|
-
};
|
|
13
|
-
innerRef?: React.Ref<HTMLTableRowElement>;
|
|
14
|
-
};
|
|
15
|
-
type State = {
|
|
16
|
-
colGroupWidths: string[];
|
|
17
|
-
};
|
|
18
|
-
export default class TableRow extends React.Component<Props, State> {
|
|
19
|
-
state: State;
|
|
20
|
-
addSortableColumn: (childrenArray: React.ReactNode[]) => React.ReactNode[];
|
|
21
|
-
addColGroupWidth: (childrenArray: React.ReactNode[]) => React.ReactNode[];
|
|
22
|
-
render(): JSX.Element;
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { Component, ReactNode } from 'react';
|
|
2
|
-
import type { ContextIdentifierProvider } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
-
import { ContentRef, TaskDecisionProvider } from '@atlaskit/task-decision';
|
|
4
|
-
export interface Props {
|
|
5
|
-
taskId: string;
|
|
6
|
-
objectAri: string;
|
|
7
|
-
isDone: boolean;
|
|
8
|
-
isRenderer?: boolean;
|
|
9
|
-
contentRef?: ContentRef;
|
|
10
|
-
onChange?: (taskId: string, isChecked: boolean) => void;
|
|
11
|
-
showPlaceholder?: boolean;
|
|
12
|
-
children?: ReactNode;
|
|
13
|
-
taskDecisionProvider?: Promise<TaskDecisionProvider>;
|
|
14
|
-
contextIdentifierProvider?: Promise<ContextIdentifierProvider>;
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
dataAttributes?: {
|
|
17
|
-
[key: string]: string | number;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export interface State {
|
|
21
|
-
resolvedContextProvider?: ContextIdentifierProvider;
|
|
22
|
-
}
|
|
23
|
-
export default class TaskItemWithProviders extends Component<Props, State> {
|
|
24
|
-
state: State;
|
|
25
|
-
UNSAFE_componentWillMount(): void;
|
|
26
|
-
UNSAFE_componentWillReceiveProps(nextProps: Props): void;
|
|
27
|
-
private updateContextIdentifierProvider;
|
|
28
|
-
render(): JSX.Element;
|
|
29
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { PureComponent, ReactNode } from 'react';
|
|
2
|
-
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
3
|
-
import { RendererContext } from '../types';
|
|
4
|
-
import { NodeProps } from '../types';
|
|
5
|
-
export interface Props {
|
|
6
|
-
localId: string;
|
|
7
|
-
rendererContext?: RendererContext;
|
|
8
|
-
state?: string;
|
|
9
|
-
providers?: ProviderFactory;
|
|
10
|
-
children?: ReactNode;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export default class TaskItem extends PureComponent<NodeProps<Props>, {}> {
|
|
14
|
-
private providerFactory;
|
|
15
|
-
constructor(props: NodeProps<Props>);
|
|
16
|
-
componentWillUnmount(): void;
|
|
17
|
-
private renderWithProvider;
|
|
18
|
-
render(): JSX.Element;
|
|
19
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { Node, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
export declare const isLayoutNode: (node: Node) => boolean;
|
|
3
|
-
export declare const hasBreakOutMark: (node: Node) => boolean;
|
|
4
|
-
export declare const insideBreakoutLayout: (path: Node[]) => boolean;
|
|
5
|
-
export declare const insideBlockNode: (path: Node[], schema: Schema) => boolean;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { PropsWithChildren } from 'react';
|
|
2
|
-
import { Node as PMNode, NodeType, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
3
|
-
import type { ExtensionHandlers } from '@atlaskit/editor-common/extensions';
|
|
4
|
-
import { ProviderFactory } from '@atlaskit/editor-common/provider-factory';
|
|
5
|
-
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
6
|
-
import { AnalyticsEventPayload } from '../analytics/events';
|
|
7
|
-
import { Serializer } from '../index';
|
|
8
|
-
import { RendererAppearance, HeadingAnchorLinksProps } from '../ui/Renderer/types';
|
|
9
|
-
import { AnnotationId, AnnotationTypes } from '@atlaskit/adf-schema';
|
|
10
|
-
export interface RendererContext {
|
|
11
|
-
objectAri?: string;
|
|
12
|
-
containerAri?: string;
|
|
13
|
-
adDoc?: any;
|
|
14
|
-
schema?: Schema;
|
|
15
|
-
}
|
|
16
|
-
export interface NodeMeta {
|
|
17
|
-
text?: PMNode['text'];
|
|
18
|
-
providers?: ProviderFactory | undefined;
|
|
19
|
-
eventHandlers?: EventHandlers | undefined;
|
|
20
|
-
extensionHandlers?: ExtensionHandlers | undefined;
|
|
21
|
-
portal?: HTMLElement | undefined;
|
|
22
|
-
rendererContext?: RendererContext;
|
|
23
|
-
serializer: Serializer<JSX.Element>;
|
|
24
|
-
content?: {
|
|
25
|
-
[key: string]: any;
|
|
26
|
-
} | null;
|
|
27
|
-
allowHeadingAnchorLinks?: HeadingAnchorLinksProps;
|
|
28
|
-
allowCopyToClipboard?: boolean;
|
|
29
|
-
allowWrapCodeBlock?: boolean;
|
|
30
|
-
allowPlaceholderText?: boolean;
|
|
31
|
-
allowCustomPanels?: boolean;
|
|
32
|
-
rendererAppearance?: RendererAppearance;
|
|
33
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
34
|
-
nodeType: NodeType['name'];
|
|
35
|
-
marks: PMNode['marks'];
|
|
36
|
-
dataAttributes: {
|
|
37
|
-
'data-renderer-start-pos': number;
|
|
38
|
-
};
|
|
39
|
-
[key: string]: any;
|
|
40
|
-
}
|
|
41
|
-
export interface MarkMeta {
|
|
42
|
-
dataAttributes: {
|
|
43
|
-
'data-renderer-mark': true;
|
|
44
|
-
};
|
|
45
|
-
eventHandlers?: EventHandlers;
|
|
46
|
-
fireAnalyticsEvent?: (event: AnalyticsEventPayload) => void;
|
|
47
|
-
markKey?: any;
|
|
48
|
-
isInline?: boolean;
|
|
49
|
-
[key: string]: any;
|
|
50
|
-
}
|
|
51
|
-
export interface AnnotationMarkMeta extends MarkMeta {
|
|
52
|
-
id: AnnotationId;
|
|
53
|
-
annotationType: AnnotationTypes;
|
|
54
|
-
annotationParentIds: string[];
|
|
55
|
-
allowAnnotations: boolean;
|
|
56
|
-
}
|
|
57
|
-
export type NodeProps<NodeAttrs = {}> = NodeAttrs & PropsWithChildren<NodeMeta>;
|
|
58
|
-
export type MarkProps<MarkAttrs = {}> = MarkAttrs & PropsWithChildren<MarkMeta>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { RendererAppearance } from '../../ui/Renderer/types';
|
|
2
|
-
export declare const isFullWidthAppearance: (appearance: RendererAppearance) => boolean;
|
|
3
|
-
export declare const isFullPageAppearance: (appearance: RendererAppearance) => boolean;
|
|
4
|
-
export declare const isFullWidthOrFullPageAppearance: (appearance: RendererAppearance) => boolean;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const copyTextToClipboard: (text: string) => Promise<void>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export declare class ElementSelection {
|
|
2
|
-
readonly type: string;
|
|
3
|
-
readonly range?: Range;
|
|
4
|
-
private constructor();
|
|
5
|
-
eq(selection?: ElementSelection): boolean;
|
|
6
|
-
inside(el: HTMLElement): boolean;
|
|
7
|
-
select(el: HTMLElement): ElementSelection;
|
|
8
|
-
static fromWindow(win?: Window): ElementSelection;
|
|
9
|
-
}
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { HeadingAnchorLinksProps } from '../../ui/Renderer/types';
|
|
2
|
-
export declare function isNestedHeaderLinksEnabled(allowHeadingAnchorLinks?: HeadingAnchorLinksProps): boolean;
|
|
3
|
-
export declare function getActiveHeadingId(allowHeadingAnchorLinks?: HeadingAnchorLinksProps): string | undefined;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { AnalyticsEventPayload } from '../../../analytics/events';
|
|
2
|
-
import { ACTION_SUBJECT, ACTION } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
export type FireAnalyticsCallback = <T = void>(payload: AnalyticsEventPayload<T>) => void | undefined;
|
|
4
|
-
type RenderActions = ACTION.RE_RENDERED;
|
|
5
|
-
type RenderActionSubjects = ACTION_SUBJECT.RENDERER;
|
|
6
|
-
export type RenderTrackingProps<ComponentProps> = {
|
|
7
|
-
componentProps: ComponentProps;
|
|
8
|
-
action: RenderActions;
|
|
9
|
-
actionSubject: RenderActionSubjects;
|
|
10
|
-
handleAnalyticsEvent: FireAnalyticsCallback;
|
|
11
|
-
propsToIgnore?: Array<keyof ComponentProps>;
|
|
12
|
-
useShallow?: boolean;
|
|
13
|
-
};
|
|
14
|
-
export declare function RenderTracking<Props>(props: RenderTrackingProps<Props>): null;
|
|
15
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { Serializer } from './serializer';
|
|
2
|
-
import type { ADFStage } from '@atlaskit/editor-common/validator';
|
|
3
|
-
import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
|
|
4
|
-
import { Node as PMNode, Schema } from '@atlaskit/editor-prosemirror/model';
|
|
5
|
-
import { AnalyticsEventPayload } from './analytics/events';
|
|
6
|
-
import { RendererAppearance } from './ui/Renderer/types';
|
|
7
|
-
export interface RenderOutput<T> {
|
|
8
|
-
result: T;
|
|
9
|
-
stat: RenderOutputStat;
|
|
10
|
-
pmDoc?: PMNode;
|
|
11
|
-
}
|
|
12
|
-
export interface RenderOutputStat {
|
|
13
|
-
buildTreeTime?: number;
|
|
14
|
-
sanitizeTime: number;
|
|
15
|
-
serializeTime?: number;
|
|
16
|
-
}
|
|
17
|
-
export interface ResultWithTime<T> {
|
|
18
|
-
output: T;
|
|
19
|
-
time: number;
|
|
20
|
-
}
|
|
21
|
-
type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
|
|
22
|
-
export declare const renderDocument: <T>(doc: any, serializer: Serializer<T>, schema?: Schema, adfStage?: ADFStage, useSpecBasedValidator?: boolean, rendererId?: string, dispatchAnalyticsEvent?: DispatchAnalyticsEvent, unsupportedContentLevelsTracking?: UnsupportedContentLevelsTracking, appearance?: RendererAppearance) => RenderOutput<T | null>;
|
|
23
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
3
|
-
export type RendererContextProps = {
|
|
4
|
-
featureFlags?: FeatureFlags;
|
|
5
|
-
};
|
|
6
|
-
export declare const useRendererContext: () => RendererContextProps;
|
|
7
|
-
export declare const RendererContextProvider: React.Provider<{}>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Schema } from '@atlaskit/editor-prosemirror/model';
|
|
2
|
-
import { AddMarkStep } from '@atlaskit/editor-prosemirror/transform';
|
|
3
|
-
export declare function resolvePos(node: Node | null, offset: number): number | false;
|
|
4
|
-
interface AnnotationStepOptions {
|
|
5
|
-
schema: Schema;
|
|
6
|
-
annotationId: string;
|
|
7
|
-
annotationType: 'inlineComment';
|
|
8
|
-
}
|
|
9
|
-
export declare function getPosFromRange(range: Range): {
|
|
10
|
-
from: number;
|
|
11
|
-
to: number;
|
|
12
|
-
} | false;
|
|
13
|
-
export declare function createAnnotationStep(from: number, to: number, opts: AnnotationStepOptions): AddMarkStep;
|
|
14
|
-
export {};
|