@atlaskit/renderer 108.0.0 → 108.1.0
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 +22 -0
- package/actions/package.json +2 -2
- package/consts/package.json +2 -2
- package/dist/cjs/react/marks/link.js +12 -2
- package/dist/cjs/react/nodes/blockCard.js +12 -2
- package/dist/cjs/react/nodes/codeBlock/components/codeBlockContainer.js +1 -1
- package/dist/cjs/react/nodes/embedCard.js +12 -2
- package/dist/cjs/react/nodes/inlineCard.js +16 -4
- package/dist/cjs/ui/Expand.js +8 -7
- package/dist/cjs/ui/Renderer/ErrorBoundary.js +8 -1
- package/dist/cjs/ui/Renderer/index.js +34 -23
- package/dist/cjs/ui/Renderer/style.js +11 -4
- package/dist/cjs/ui/SortingIcon.js +1 -2
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/react/marks/link.js +12 -2
- package/dist/es2019/react/nodes/blockCard.js +12 -2
- package/dist/es2019/react/nodes/codeBlock/components/codeBlockContainer.js +2 -2
- package/dist/es2019/react/nodes/embedCard.js +12 -2
- package/dist/es2019/react/nodes/inlineCard.js +16 -4
- package/dist/es2019/ui/Expand.js +8 -5
- package/dist/es2019/ui/Renderer/ErrorBoundary.js +8 -1
- package/dist/es2019/ui/Renderer/index.js +34 -23
- package/dist/es2019/ui/Renderer/style.js +33 -16
- package/dist/es2019/ui/SortingIcon.js +1 -2
- package/dist/es2019/version.json +1 -1
- package/dist/esm/react/marks/link.js +12 -2
- package/dist/esm/react/nodes/blockCard.js +12 -2
- package/dist/esm/react/nodes/codeBlock/components/codeBlockContainer.js +2 -2
- package/dist/esm/react/nodes/embedCard.js +12 -2
- package/dist/esm/react/nodes/inlineCard.js +16 -4
- package/dist/esm/ui/Expand.js +8 -7
- package/dist/esm/ui/Renderer/ErrorBoundary.js +8 -1
- package/dist/esm/ui/Renderer/index.js +34 -23
- package/dist/esm/ui/Renderer/style.js +11 -4
- package/dist/esm/ui/SortingIcon.js +1 -2
- package/dist/esm/version.json +1 -1
- package/dist/types/actions/index.d.ts +4 -4
- package/dist/types/analytics/enums.d.ts +1 -1
- package/dist/types/analytics/events.d.ts +29 -29
- package/dist/types/analytics/unsupported-content.d.ts +2 -2
- package/dist/types/i18n/cs.d.ts +6 -6
- package/dist/types/i18n/da.d.ts +6 -6
- package/dist/types/i18n/de.d.ts +6 -6
- package/dist/types/i18n/en.d.ts +6 -6
- package/dist/types/i18n/en_GB.d.ts +6 -6
- package/dist/types/i18n/en_ZZ.d.ts +6 -6
- package/dist/types/i18n/es.d.ts +6 -6
- package/dist/types/i18n/et.d.ts +1 -1
- package/dist/types/i18n/fi.d.ts +6 -6
- package/dist/types/i18n/fr.d.ts +6 -6
- package/dist/types/i18n/hu.d.ts +6 -6
- package/dist/types/i18n/it.d.ts +6 -6
- package/dist/types/i18n/ja.d.ts +6 -6
- package/dist/types/i18n/ko.d.ts +6 -6
- package/dist/types/i18n/nb.d.ts +6 -6
- package/dist/types/i18n/nl.d.ts +6 -6
- package/dist/types/i18n/pl.d.ts +6 -6
- package/dist/types/i18n/pt_BR.d.ts +6 -6
- package/dist/types/i18n/pt_PT.d.ts +1 -1
- package/dist/types/i18n/ru.d.ts +6 -6
- package/dist/types/i18n/sk.d.ts +1 -1
- package/dist/types/i18n/sv.d.ts +6 -6
- package/dist/types/i18n/th.d.ts +6 -6
- package/dist/types/i18n/tr.d.ts +6 -6
- package/dist/types/i18n/uk.d.ts +6 -6
- package/dist/types/i18n/vi.d.ts +6 -6
- package/dist/types/i18n/zh.d.ts +6 -6
- package/dist/types/i18n/zh_TW.d.ts +6 -6
- package/dist/types/react/hooks/use-observed-width.d.ts +2 -2
- package/dist/types/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +1 -1
- package/dist/types/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +1 -1
- package/dist/types/react/nodes/extension.d.ts +3 -3
- package/dist/types/react/nodes/fallback.d.ts +1 -1
- package/dist/types/react/nodes/heading-anchor.d.ts +2 -2
- package/dist/types/react/nodes/heading.d.ts +1 -1
- package/dist/types/react/nodes/index.d.ts +1 -1
- package/dist/types/react/nodes/media.d.ts +1 -1
- package/dist/types/react/nodes/mediaInline.d.ts +2 -2
- package/dist/types/react/nodes/table/sticky.d.ts +2 -2
- package/dist/types/react/nodes/table/table.d.ts +1 -1
- package/dist/types/react/nodes/table/types.d.ts +1 -1
- package/dist/types/react/nodes/table.d.ts +2 -2
- package/dist/types/react/nodes/tableCell.d.ts +2 -2
- package/dist/types/react/nodes/tableRow.d.ts +2 -2
- package/dist/types/react/nodes/text-wrapper.d.ts +1 -1
- package/dist/types/react/types.d.ts +2 -2
- package/dist/types/react/utils/getCardClickHandler.d.ts +1 -1
- package/dist/types/react/utils/performance/RenderTracking.d.ts +4 -4
- package/dist/types/render-document.d.ts +2 -2
- package/dist/types/renderer-context.d.ts +1 -1
- package/dist/types/text/nodes/index.d.ts +1 -1
- package/dist/types/types/mediaOptions.d.ts +1 -1
- package/dist/types/ui/Expand.d.ts +1 -1
- package/dist/types/ui/ExtensionRenderer.d.ts +2 -2
- package/dist/types/ui/MediaCard.d.ts +2 -2
- package/dist/types/ui/Renderer/ErrorBoundary.d.ts +1 -1
- package/dist/types/ui/Renderer/style.d.ts +2 -1
- package/dist/types/ui/Renderer/types.d.ts +6 -6
- package/dist/types/ui/RendererActionsContext/index.d.ts +1 -1
- package/dist/types/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +3 -3
- package/dist/types/ui/active-header-id-provider.d.ts +1 -1
- package/dist/types/ui/annotations/context.d.ts +4 -4
- package/dist/types/ui/annotations/draft/component.d.ts +2 -2
- package/dist/types/ui/annotations/draft/text.d.ts +1 -1
- package/dist/types/ui/annotations/element/index.d.ts +1 -1
- package/dist/types/ui/annotations/element/mark.d.ts +1 -1
- package/dist/types/ui/annotations/hooks/use-events.d.ts +3 -3
- package/dist/types/ui/annotations/hooks/use-inline-comments-filter.d.ts +1 -1
- package/dist/types/ui/annotations/hooks/use-load-annotations.d.ts +1 -1
- package/dist/types/ui/annotations/hooks/user-selection.d.ts +1 -1
- package/dist/types/ui/annotations/selection/mounter.d.ts +1 -1
- package/dist/types/ui/annotations/selection/range-validator.d.ts +1 -1
- package/dist/types/ui/annotations/selection/wrapper.d.ts +1 -1
- package/dist/types/ui/annotations/types.d.ts +3 -3
- package/dist/types/ui/annotations/view/index.d.ts +1 -1
- package/dist/types/utils.d.ts +2 -2
- package/dist/types-ts4.5/actions/index.d.ts +61 -0
- package/dist/types-ts4.5/actions/matches-utils.d.ts +7 -0
- package/dist/types-ts4.5/actions.d.ts +3 -0
- package/dist/types-ts4.5/analytics/analyticsContext.d.ts +6 -0
- package/dist/types-ts4.5/analytics/enums.d.ts +58 -0
- package/dist/types-ts4.5/analytics/events.d.ts +118 -0
- package/dist/types-ts4.5/analytics/unsupported-content.d.ts +10 -0
- package/dist/types-ts4.5/consts.d.ts +12 -0
- package/dist/types-ts4.5/i18n/cs.d.ts +20 -0
- package/dist/types-ts4.5/i18n/da.d.ts +20 -0
- package/dist/types-ts4.5/i18n/de.d.ts +20 -0
- package/dist/types-ts4.5/i18n/en.d.ts +20 -0
- package/dist/types-ts4.5/i18n/en_GB.d.ts +20 -0
- package/dist/types-ts4.5/i18n/en_ZZ.d.ts +20 -0
- package/dist/types-ts4.5/i18n/es.d.ts +20 -0
- package/dist/types-ts4.5/i18n/et.d.ts +8 -0
- package/dist/types-ts4.5/i18n/fi.d.ts +20 -0
- package/dist/types-ts4.5/i18n/fr.d.ts +20 -0
- package/dist/types-ts4.5/i18n/hu.d.ts +20 -0
- package/dist/types-ts4.5/i18n/index.d.ts +31 -0
- package/dist/types-ts4.5/i18n/it.d.ts +20 -0
- package/dist/types-ts4.5/i18n/ja.d.ts +20 -0
- package/dist/types-ts4.5/i18n/ko.d.ts +20 -0
- package/dist/types-ts4.5/i18n/nb.d.ts +20 -0
- package/dist/types-ts4.5/i18n/nl.d.ts +20 -0
- package/dist/types-ts4.5/i18n/pl.d.ts +20 -0
- package/dist/types-ts4.5/i18n/pt_BR.d.ts +20 -0
- package/dist/types-ts4.5/i18n/pt_PT.d.ts +8 -0
- package/dist/types-ts4.5/i18n/ru.d.ts +20 -0
- package/dist/types-ts4.5/i18n/sk.d.ts +8 -0
- package/dist/types-ts4.5/i18n/sv.d.ts +20 -0
- package/dist/types-ts4.5/i18n/th.d.ts +20 -0
- package/dist/types-ts4.5/i18n/tr.d.ts +20 -0
- package/dist/types-ts4.5/i18n/uk.d.ts +20 -0
- package/dist/types-ts4.5/i18n/vi.d.ts +20 -0
- package/dist/types-ts4.5/i18n/zh.d.ts +20 -0
- package/dist/types-ts4.5/i18n/zh_TW.d.ts +20 -0
- package/dist/types-ts4.5/index.d.ts +11 -0
- package/dist/types-ts4.5/messages.d.ts +61 -0
- package/dist/types-ts4.5/react/hooks/use-bidi-warnings.d.ts +10 -0
- package/dist/types-ts4.5/react/hooks/use-in-viewport.d.ts +5 -0
- package/dist/types-ts4.5/react/hooks/use-observed-width.d.ts +3 -0
- package/dist/types-ts4.5/react/index.d.ts +124 -0
- package/dist/types-ts4.5/react/marks/alignment.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/annotation.d.ts +6 -0
- package/dist/types-ts4.5/react/marks/breakout.d.ts +6 -0
- package/dist/types-ts4.5/react/marks/code.d.ts +16 -0
- package/dist/types-ts4.5/react/marks/confluence-inline-comment.d.ts +8 -0
- package/dist/types-ts4.5/react/marks/data-consumer.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/em.d.ts +3 -0
- package/dist/types-ts4.5/react/marks/fragment.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/indentation.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/index.d.ts +21 -0
- package/dist/types-ts4.5/react/marks/link.d.ts +9 -0
- package/dist/types-ts4.5/react/marks/strike.d.ts +3 -0
- package/dist/types-ts4.5/react/marks/strong.d.ts +3 -0
- package/dist/types-ts4.5/react/marks/subsup.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/textColor.d.ts +4 -0
- package/dist/types-ts4.5/react/marks/underline.d.ts +3 -0
- package/dist/types-ts4.5/react/marks/unsupportedMark.d.ts +3 -0
- package/dist/types-ts4.5/react/marks/unsupportedNodeAttribute.d.ts +3 -0
- package/dist/types-ts4.5/react/nodes/blockCard.d.ts +12 -0
- package/dist/types-ts4.5/react/nodes/blockquote.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/bodiedExtension.d.ts +24 -0
- package/dist/types-ts4.5/react/nodes/bulletList.d.ts +5 -0
- package/dist/types-ts4.5/react/nodes/caption.d.ts +4 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/codeBlock.d.ts +15 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockButtonContainer.d.ts +12 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockContainer.d.ts +10 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockCopyButton.d.ts +9 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/components/codeBlockWrapButton.d.ts +11 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +9 -0
- package/dist/types-ts4.5/react/nodes/codeBlock/windowedCodeBlock.d.ts +4 -0
- package/dist/types-ts4.5/react/nodes/date.d.ts +11 -0
- package/dist/types-ts4.5/react/nodes/decisionItem.d.ts +3 -0
- package/dist/types-ts4.5/react/nodes/decisionList.d.ts +7 -0
- package/dist/types-ts4.5/react/nodes/doc.d.ts +3 -0
- package/dist/types-ts4.5/react/nodes/embedCard.d.ts +17 -0
- package/dist/types-ts4.5/react/nodes/emoji.d.ts +12 -0
- package/dist/types-ts4.5/react/nodes/extension.d.ts +113 -0
- package/dist/types-ts4.5/react/nodes/fallback.d.ts +16 -0
- package/dist/types-ts4.5/react/nodes/hardBreak.d.ts +6 -0
- package/dist/types-ts4.5/react/nodes/heading-anchor.d.ts +14 -0
- package/dist/types-ts4.5/react/nodes/heading.d.ts +14 -0
- package/dist/types-ts4.5/react/nodes/index.d.ts +95 -0
- package/dist/types-ts4.5/react/nodes/inline.d.ts +1 -0
- package/dist/types-ts4.5/react/nodes/inlineCard.d.ts +65 -0
- package/dist/types-ts4.5/react/nodes/inlineExtension.d.ts +18 -0
- package/dist/types-ts4.5/react/nodes/layoutColumn.d.ts +6 -0
- package/dist/types-ts4.5/react/nodes/layoutSection.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/listItem.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/media.d.ts +28 -0
- package/dist/types-ts4.5/react/nodes/mediaGroup.d.ts +29 -0
- package/dist/types-ts4.5/react/nodes/mediaInline.d.ts +26 -0
- package/dist/types-ts4.5/react/nodes/mediaSingle/index.d.ts +23 -0
- package/dist/types-ts4.5/react/nodes/mediaSingle/styles.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/mention.d.ts +13 -0
- package/dist/types-ts4.5/react/nodes/orderedList.d.ts +9 -0
- package/dist/types-ts4.5/react/nodes/panel.d.ts +17 -0
- package/dist/types-ts4.5/react/nodes/paragraph.d.ts +3 -0
- package/dist/types-ts4.5/react/nodes/placeholder.d.ts +6 -0
- package/dist/types-ts4.5/react/nodes/rule.d.ts +2 -0
- package/dist/types-ts4.5/react/nodes/status.d.ts +10 -0
- package/dist/types-ts4.5/react/nodes/table/colgroup.d.ts +9 -0
- package/dist/types-ts4.5/react/nodes/table/sticky.d.ts +38 -0
- package/dist/types-ts4.5/react/nodes/table/table.d.ts +7 -0
- package/dist/types-ts4.5/react/nodes/table/types.d.ts +7 -0
- package/dist/types-ts4.5/react/nodes/table.d.ts +269 -0
- package/dist/types-ts4.5/react/nodes/tableCell.d.ts +81 -0
- package/dist/types-ts4.5/react/nodes/tableRow.d.ts +24 -0
- package/dist/types-ts4.5/react/nodes/task-item-with-providers.d.ts +29 -0
- package/dist/types-ts4.5/react/nodes/taskItem.d.ts +19 -0
- package/dist/types-ts4.5/react/nodes/taskList.d.ts +8 -0
- package/dist/types-ts4.5/react/nodes/text-wrapper.d.ts +8 -0
- package/dist/types-ts4.5/react/nodes/unknownBlock.d.ts +2 -0
- package/dist/types-ts4.5/react/renderer-node.d.ts +4 -0
- package/dist/types-ts4.5/react/types.d.ts +58 -0
- package/dist/types-ts4.5/react/utils/clipboard.d.ts +1 -0
- package/dist/types-ts4.5/react/utils/element-selection.d.ts +9 -0
- package/dist/types-ts4.5/react/utils/getCardClickHandler.d.ts +2 -0
- package/dist/types-ts4.5/react/utils/inject-props.d.ts +6 -0
- package/dist/types-ts4.5/react/utils/links.d.ts +3 -0
- package/dist/types-ts4.5/react/utils/lists.d.ts +2 -0
- package/dist/types-ts4.5/react/utils/performance/RenderTracking.d.ts +15 -0
- package/dist/types-ts4.5/react/utils/use-select-all-trap.d.ts +2 -0
- package/dist/types-ts4.5/render-document.d.ts +23 -0
- package/dist/types-ts4.5/renderer-context.d.ts +7 -0
- package/dist/types-ts4.5/serializer.d.ts +4 -0
- package/dist/types-ts4.5/steps/index.d.ts +14 -0
- package/dist/types-ts4.5/text/index.d.ts +8 -0
- package/dist/types-ts4.5/text/nodes/blockquote.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/bulletList.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/date.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/decisionItem.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/hardBreak.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/heading.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/index.d.ts +6 -0
- package/dist/types-ts4.5/text/nodes/inlineCard.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/listItem.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/mediaGroup.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/mention.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/orderedList.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/panel.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/paragraph.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/rule.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/status.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/table.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/taskItem.d.ts +3 -0
- package/dist/types-ts4.5/text/nodes/unknown.d.ts +3 -0
- package/dist/types-ts4.5/text-serializer.d.ts +1 -0
- package/dist/types-ts4.5/types/i18n.d.ts +5 -0
- package/dist/types-ts4.5/types/mediaOptions.d.ts +12 -0
- package/dist/types-ts4.5/types/smartLinksOptions.d.ts +5 -0
- package/dist/types-ts4.5/ui/Expand.d.ts +23 -0
- package/dist/types-ts4.5/ui/ExtensionRenderer.d.ts +42 -0
- package/dist/types-ts4.5/ui/MediaCard.d.ts +77 -0
- package/dist/types-ts4.5/ui/Renderer/ErrorBoundary.d.ts +24 -0
- package/dist/types-ts4.5/ui/Renderer/breakout-ssr.d.ts +11 -0
- package/dist/types-ts4.5/ui/Renderer/click-to-edit.d.ts +6 -0
- package/dist/types-ts4.5/ui/Renderer/index.d.ts +38 -0
- package/dist/types-ts4.5/ui/Renderer/style.d.ts +16 -0
- package/dist/types-ts4.5/ui/Renderer/truncated-wrapper.d.ts +12 -0
- package/dist/types-ts4.5/ui/Renderer/types.d.ts +16 -0
- package/dist/types-ts4.5/ui/RendererActionsContext/WithRendererActions.d.ts +6 -0
- package/dist/types-ts4.5/ui/RendererActionsContext/index.d.ts +9 -0
- package/dist/types-ts4.5/ui/SmartCardStorage.d.ts +60 -0
- package/dist/types-ts4.5/ui/SortingIcon.d.ts +23 -0
- package/dist/types-ts4.5/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +15 -0
- package/dist/types-ts4.5/ui/TaskItemsFormatContext/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/active-header-id-provider.d.ts +18 -0
- package/dist/types-ts4.5/ui/annotations/context.d.ts +27 -0
- package/dist/types-ts4.5/ui/annotations/draft/component.d.ts +20 -0
- package/dist/types-ts4.5/ui/annotations/draft/dom.d.ts +7 -0
- package/dist/types-ts4.5/ui/annotations/draft/index.d.ts +2 -0
- package/dist/types-ts4.5/ui/annotations/draft/position.d.ts +2 -0
- package/dist/types-ts4.5/ui/annotations/draft/text.d.ts +11 -0
- package/dist/types-ts4.5/ui/annotations/element/index.d.ts +10 -0
- package/dist/types-ts4.5/ui/annotations/element/mark.d.ts +14 -0
- package/dist/types-ts4.5/ui/annotations/hooks/index.d.ts +3 -0
- package/dist/types-ts4.5/ui/annotations/hooks/use-events.d.ts +18 -0
- package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +1 -0
- package/dist/types-ts4.5/ui/annotations/hooks/use-inline-comments-filter.d.ts +9 -0
- package/dist/types-ts4.5/ui/annotations/hooks/use-load-annotations.d.ts +6 -0
- package/dist/types-ts4.5/ui/annotations/hooks/user-selection.d.ts +9 -0
- package/dist/types-ts4.5/ui/annotations/hooks/utils.d.ts +2 -0
- package/dist/types-ts4.5/ui/annotations/index.d.ts +5 -0
- package/dist/types-ts4.5/ui/annotations/selection/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/annotations/selection/mounter.d.ts +20 -0
- package/dist/types-ts4.5/ui/annotations/selection/range-validator.d.ts +13 -0
- package/dist/types-ts4.5/ui/annotations/selection/wrapper.d.ts +8 -0
- package/dist/types-ts4.5/ui/annotations/types.d.ts +22 -0
- package/dist/types-ts4.5/ui/annotations/view/index.d.ts +7 -0
- package/dist/types-ts4.5/ui/index.d.ts +1 -0
- package/dist/types-ts4.5/ui/renderer-props.d.ts +104 -0
- package/dist/types-ts4.5/use-feature-flags.d.ts +2 -0
- package/dist/types-ts4.5/utils.d.ts +24 -0
- package/messages/package.json +2 -2
- package/package.json +29 -14
- package/render-document/package.json +2 -2
- package/renderer-context/package.json +2 -2
- package/report.api.md +4 -6
- package/serializer/package.json +2 -2
- package/text-serializer/package.json +2 -2
- package/use-feature-flags/package.json +2 -2
- package/utils/package.json +2 -2
package/dist/types/i18n/hu.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/it.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/ja.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/ko.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/nb.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/nl.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/pl.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/ru.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/sk.d.ts
CHANGED
package/dist/types/i18n/sv.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/th.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/tr.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/uk.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/vi.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
package/dist/types/i18n/zh.d.ts
CHANGED
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* NOTE:
|
|
3
|
+
*
|
|
4
|
+
* This file is automatically generated by Traduki 2.0.
|
|
5
|
+
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
6
|
+
*/
|
|
1
7
|
declare const _default: {
|
|
2
8
|
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
9
|
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
@@ -11,10 +17,4 @@ declare const _default: {
|
|
|
11
17
|
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
18
|
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
19
|
};
|
|
14
|
-
/**
|
|
15
|
-
* NOTE:
|
|
16
|
-
*
|
|
17
|
-
* This file is automatically generated by Traduki 2.0.
|
|
18
|
-
* DO NOT CHANGE IT BY HAND or your changes will be lost.
|
|
19
|
-
*/
|
|
20
20
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const useObservedWidth: (node?: Element | null
|
|
1
|
+
type Rectangle = Omit<DOMRectReadOnly, 'toJSON'>;
|
|
2
|
+
export declare const useObservedWidth: (node?: Element | null, useObservedWidthFlag?: boolean) => Rectangle;
|
|
3
3
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
3
|
-
|
|
3
|
+
type Props = {
|
|
4
4
|
content: string;
|
|
5
5
|
};
|
|
6
6
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<Props & WrappedComponentProps<"intl">>> & {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Dispatch, SetStateAction } from 'react';
|
|
3
3
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
4
|
-
|
|
4
|
+
type Props = {
|
|
5
5
|
setWrapLongLines: Dispatch<SetStateAction<boolean>>;
|
|
6
6
|
wrapLongLines?: boolean;
|
|
7
7
|
};
|
|
@@ -18,13 +18,13 @@ export interface Props {
|
|
|
18
18
|
localId?: string;
|
|
19
19
|
marks?: PMMark[];
|
|
20
20
|
}
|
|
21
|
-
|
|
21
|
+
type AllOrNone<T> = T | {
|
|
22
22
|
[K in keyof T]?: never;
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
type RenderExtensionOptions = {
|
|
25
25
|
isTopLevel?: boolean;
|
|
26
26
|
} & AllOrNone<OverflowShadowProps>;
|
|
27
|
-
export declare const renderExtension: (content: any, layout: string, options?: RenderExtensionOptions, removeOverflow?: boolean
|
|
27
|
+
export declare const renderExtension: (content: any, layout: string, options?: RenderExtensionOptions, removeOverflow?: boolean) => JSX.Element;
|
|
28
28
|
declare const _default: {
|
|
29
29
|
new (props: Readonly<Props>): {
|
|
30
30
|
overflowContainer?: HTMLElement | null | undefined;
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
4
4
|
export declare const HeadingAnchorWrapperClassName = "heading-anchor-wrapper";
|
|
5
|
-
|
|
5
|
+
type Props = {
|
|
6
6
|
onCopyText: () => Promise<void>;
|
|
7
7
|
enableNestedHeaderLinks?: boolean;
|
|
8
8
|
level: number;
|
|
9
9
|
};
|
|
10
|
-
|
|
10
|
+
type HeadingAnchorProps = Props & React.Props<any> & WrappedComponentProps;
|
|
11
11
|
declare const _default: React.FC<import("react-intl-next").WithIntlProps<HeadingAnchorProps>> & {
|
|
12
12
|
WrappedComponent: React.ComponentType<HeadingAnchorProps>;
|
|
13
13
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import { Node as PMNode } from 'prosemirror-model';
|
|
3
3
|
import { NodeProps } from '../types';
|
|
4
4
|
import { HeadingAnchorLinksProps } from '../../ui/Renderer/types';
|
|
5
|
-
export
|
|
5
|
+
export type HeadingLevels = 1 | 2 | 3 | 4 | 5 | 6;
|
|
6
6
|
declare function Heading(props: NodeProps<{
|
|
7
7
|
level: HeadingLevels;
|
|
8
8
|
headingId?: string;
|
|
@@ -66,7 +66,7 @@ export interface ToReactFlags {
|
|
|
66
66
|
allowSelectAllTrap?: boolean;
|
|
67
67
|
allowWindowedCodeBlock?: boolean;
|
|
68
68
|
}
|
|
69
|
-
export declare const toReact: (node: Node, flags?: ToReactFlags
|
|
69
|
+
export declare const toReact: (node: Node, flags?: ToReactFlags, nodeComponents?: NodeComponentsProps) => React.ComponentType<any>;
|
|
70
70
|
export interface TextWrapper {
|
|
71
71
|
type: {
|
|
72
72
|
name: 'textWrapper';
|
|
@@ -8,7 +8,7 @@ import { MediaCardProps } from '../../ui/MediaCard';
|
|
|
8
8
|
import { LinkDefinition, BorderMarkDefinition } from '@atlaskit/adf-schema';
|
|
9
9
|
import type { MediaFeatureFlags } from '@atlaskit/media-common';
|
|
10
10
|
import { AnalyticsEventPayload } from '../../analytics/events';
|
|
11
|
-
export
|
|
11
|
+
export type MediaProps = MediaCardProps & {
|
|
12
12
|
providers?: ProviderFactory;
|
|
13
13
|
allowAltTextOnImages?: boolean;
|
|
14
14
|
children?: React.ReactNode;
|
|
@@ -5,14 +5,14 @@ import { MediaProvider } from '../../ui/MediaCard';
|
|
|
5
5
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
6
6
|
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
7
7
|
import { RendererAppearance } from '../../ui/Renderer/types';
|
|
8
|
-
export
|
|
8
|
+
export type RenderMediaInlineProps = {
|
|
9
9
|
identifier: FileIdentifier;
|
|
10
10
|
mediaProvider: Promise<MediaProvider>;
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
eventHandlers?: EventHandlers;
|
|
13
13
|
rendererAppearance?: RendererAppearance;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type MediaInlineProps = {
|
|
16
16
|
id: string;
|
|
17
17
|
collection?: string;
|
|
18
18
|
providers: ProviderFactory;
|
|
@@ -3,7 +3,7 @@ import React from 'react';
|
|
|
3
3
|
import { jsx } from '@emotion/react';
|
|
4
4
|
import type { OverflowShadowProps } from '@atlaskit/editor-common/ui';
|
|
5
5
|
import { TableLayout } from '@atlaskit/adf-schema';
|
|
6
|
-
export
|
|
6
|
+
export type StickyMode = 'none' | 'stick' | 'pin-bottom';
|
|
7
7
|
export declare const tableStickyPadding = 8;
|
|
8
8
|
interface FixedProps {
|
|
9
9
|
top?: number;
|
|
@@ -11,7 +11,7 @@ interface FixedProps {
|
|
|
11
11
|
mode: StickyMode;
|
|
12
12
|
}
|
|
13
13
|
export declare const FixedTableDiv: React.FC<FixedProps>;
|
|
14
|
-
export
|
|
14
|
+
export type StickyTableProps = {
|
|
15
15
|
left?: number;
|
|
16
16
|
top?: number;
|
|
17
17
|
mode: StickyMode;
|
|
@@ -6,7 +6,7 @@ import { RendererAppearance, StickyHeaderConfig } from '../../ui/Renderer/types'
|
|
|
6
6
|
import { WithSmartCardStorageProps } from '../../ui/SmartCardStorage';
|
|
7
7
|
import { StickyMode, OverflowParent } from './table/sticky';
|
|
8
8
|
import { SharedTableProps } from './table/types';
|
|
9
|
-
export
|
|
9
|
+
export type TableProps = SharedTableProps & {
|
|
10
10
|
children: React.ReactElement<any> | Array<React.ReactElement<any>>;
|
|
11
11
|
tableNode?: PMNode;
|
|
12
12
|
rendererAppearance?: RendererAppearance;
|
|
@@ -41,7 +41,7 @@ export declare class TableContainer extends React.Component<TableProps & Overflo
|
|
|
41
41
|
render(): JSX.Element;
|
|
42
42
|
private grabFirstRowRef;
|
|
43
43
|
}
|
|
44
|
-
export
|
|
44
|
+
export type TableProcessorState = {
|
|
45
45
|
tableOrderStatus?: TableOrderStatus;
|
|
46
46
|
};
|
|
47
47
|
export declare class TableProcessor extends React.Component<TableProps & OverflowShadowProps & WithSmartCardStorageProps, TableProcessorState> {
|
|
@@ -3,7 +3,7 @@ import { CellAttributes } from '@atlaskit/adf-schema';
|
|
|
3
3
|
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
4
4
|
import { AnalyticsEventPayload } from '../../analytics/events';
|
|
5
5
|
import { WrappedComponentProps } from 'react-intl-next';
|
|
6
|
-
|
|
6
|
+
type CellProps = CellAttributes & {
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
onClick?: () => void;
|
|
9
9
|
className?: string;
|
|
@@ -11,7 +11,7 @@ declare type CellProps = CellAttributes & {
|
|
|
11
11
|
offsetTop?: number;
|
|
12
12
|
ariaSort?: string;
|
|
13
13
|
};
|
|
14
|
-
export
|
|
14
|
+
export type CellWithSortingProps = CellProps & {
|
|
15
15
|
isHeaderRow?: boolean;
|
|
16
16
|
allowColumnSorting?: boolean;
|
|
17
17
|
onSorting?: (columnIndex?: number, currentSortOrdered?: SortOrder) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
3
|
-
|
|
3
|
+
type Props = {
|
|
4
4
|
isNumberColumnEnabled?: number;
|
|
5
5
|
index?: number;
|
|
6
6
|
children?: React.ReactNode;
|
|
@@ -12,7 +12,7 @@ declare type Props = {
|
|
|
12
12
|
};
|
|
13
13
|
innerRef?: React.Ref<HTMLTableRowElement>;
|
|
14
14
|
};
|
|
15
|
-
|
|
15
|
+
type State = {
|
|
16
16
|
colGroupWidths: string[];
|
|
17
17
|
};
|
|
18
18
|
export default class TableRow extends React.Component<Props, State> {
|
|
@@ -54,5 +54,5 @@ export interface AnnotationMarkMeta extends MarkMeta {
|
|
|
54
54
|
annotationParentIds: string[];
|
|
55
55
|
allowAnnotations: boolean;
|
|
56
56
|
}
|
|
57
|
-
export
|
|
58
|
-
export
|
|
57
|
+
export type NodeProps<NodeAttrs = {}> = NodeAttrs & PropsWithChildren<NodeMeta>;
|
|
58
|
+
export type MarkProps<MarkAttrs = {}> = MarkAttrs & PropsWithChildren<MarkMeta>;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { EventHandlers } from '@atlaskit/editor-common/ui';
|
|
2
|
-
export declare const getCardClickHandler: (eventHandlers?: EventHandlers
|
|
2
|
+
export declare const getCardClickHandler: (eventHandlers?: EventHandlers, url?: string) => ((e: React.MouseEvent<HTMLElement>) => any) | undefined;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { AnalyticsEventPayload } from '../../../analytics/events';
|
|
2
2
|
import { ACTION_SUBJECT, ACTION } from '@atlaskit/editor-common/analytics';
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export
|
|
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
7
|
componentProps: ComponentProps;
|
|
8
8
|
action: RenderActions;
|
|
9
9
|
actionSubject: RenderActionSubjects;
|
|
@@ -18,6 +18,6 @@ export interface ResultWithTime<T> {
|
|
|
18
18
|
output: T;
|
|
19
19
|
time: number;
|
|
20
20
|
}
|
|
21
|
-
|
|
22
|
-
export declare const renderDocument: <T>(doc: any, serializer: Serializer<T>, schema?: Schema, adfStage?: ADFStage, useSpecBasedValidator?: boolean, rendererId?: string, dispatchAnalyticsEvent?: DispatchAnalyticsEvent
|
|
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
23
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { FeatureFlags } from '@atlaskit/editor-common/types';
|
|
3
|
-
export
|
|
3
|
+
export type RendererContextProps = {
|
|
4
4
|
featureFlags?: FeatureFlags;
|
|
5
5
|
};
|
|
6
6
|
export declare const useRendererContext: () => RendererContextProps;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Node as PMNode, Schema } from 'prosemirror-model';
|
|
2
|
-
export
|
|
2
|
+
export type NodeReducer = (node: PMNode, schema: Schema) => string;
|
|
3
3
|
export declare const reduce: NodeReducer;
|
|
4
4
|
export declare const nodeToReducerMapping: {
|
|
5
5
|
[key: string]: NodeReducer;
|