@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
|
@@ -45,7 +45,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
|
|
|
45
45
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
46
46
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
47
47
|
var packageName = "@atlaskit/renderer";
|
|
48
|
-
var packageVersion = "108.
|
|
48
|
+
var packageVersion = "108.1.0";
|
|
49
49
|
export var Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
50
50
|
_inherits(Renderer, _PureComponent);
|
|
51
51
|
var _super = _createSuper(Renderer);
|
|
@@ -188,26 +188,33 @@ export var Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
|
188
188
|
});
|
|
189
189
|
this.rafID = requestAnimationFrame(function () {
|
|
190
190
|
stopMeasure("Renderer Render Time: ".concat(_this2.id), function (duration) {
|
|
191
|
-
var _analyticsEventSeveri, _analyticsEventSeveri2;
|
|
191
|
+
var _analyticsEventSeveri, _analyticsEventSeveri2, _this2$props, _this2$props$analytic;
|
|
192
192
|
var analyticsEventSeverityTracking = _this2.props.analyticsEventSeverityTracking;
|
|
193
193
|
var forceSeverityTracking = typeof analyticsEventSeverityTracking === 'undefined' && shouldForceTracking();
|
|
194
194
|
var severity = !!forceSeverityTracking || analyticsEventSeverityTracking !== null && analyticsEventSeverityTracking !== void 0 && analyticsEventSeverityTracking.enabled ? getAnalyticsEventSeverity(duration, (_analyticsEventSeveri = analyticsEventSeverityTracking === null || analyticsEventSeverityTracking === void 0 ? void 0 : analyticsEventSeverityTracking.severityNormalThreshold) !== null && _analyticsEventSeveri !== void 0 ? _analyticsEventSeveri : NORMAL_SEVERITY_THRESHOLD, (_analyticsEventSeveri2 = analyticsEventSeverityTracking === null || analyticsEventSeverityTracking === void 0 ? void 0 : analyticsEventSeverityTracking.severityDegradedThreshold) !== null && _analyticsEventSeveri2 !== void 0 ? _analyticsEventSeveri2 : DEGRADED_SEVERITY_THRESHOLD) : undefined;
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
195
|
+
|
|
196
|
+
// ED-16320: Check for explicit disable so that by default
|
|
197
|
+
// it will still be enabled as it currently is. Then we can
|
|
198
|
+
// progressively opt out synthetic tenants.
|
|
199
|
+
var isTTRTrackingExplicitlyDisabled = ((_this2$props = _this2.props) === null || _this2$props === void 0 ? void 0 : (_this2$props$analytic = _this2$props.analyticsEventSeverityTracking) === null || _this2$props$analytic === void 0 ? void 0 : _this2$props$analytic.enabled) === false;
|
|
200
|
+
if (!isTTRTrackingExplicitlyDisabled) {
|
|
201
|
+
_this2.fireAnalyticsEvent({
|
|
202
|
+
action: ACTION.RENDERED,
|
|
203
|
+
actionSubject: ACTION_SUBJECT.RENDERER,
|
|
204
|
+
attributes: {
|
|
205
|
+
platform: PLATFORM.WEB,
|
|
206
|
+
duration: duration,
|
|
207
|
+
distortedDuration: _this2.renderedMeasurementDistortedDurationMonitor.distortedDuration,
|
|
208
|
+
ttfb: getResponseEndTime(),
|
|
209
|
+
nodes: reduce(_this2.props.document, function (acc, node) {
|
|
210
|
+
acc[node.type] = (acc[node.type] || 0) + 1;
|
|
211
|
+
return acc;
|
|
212
|
+
}, {}),
|
|
213
|
+
severity: severity
|
|
214
|
+
},
|
|
215
|
+
eventType: EVENT_TYPE.OPERATIONAL
|
|
216
|
+
});
|
|
217
|
+
}
|
|
211
218
|
_this2.renderedMeasurementDistortedDurationMonitor.cleanup();
|
|
212
219
|
delete _this2.renderedMeasurementDistortedDurationMonitor;
|
|
213
220
|
});
|
|
@@ -334,7 +341,7 @@ export var Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
|
334
341
|
}
|
|
335
342
|
};
|
|
336
343
|
try {
|
|
337
|
-
var _featureFlags$feature, _this$featureFlags2, _this$featureFlags2$f, _this$featureFlags2$f2;
|
|
344
|
+
var _featureFlags$feature, _featureFlags$feature2, _this$featureFlags2, _this$featureFlags2$f, _this$featureFlags2$f2;
|
|
338
345
|
var schema = this.getSchema(this.props.schema, this.props.adfStage);
|
|
339
346
|
var _renderDocument = renderDocument(adfDocument, this.serializer, schema, adfStage, this.props.useSpecBasedValidator, this.id, this.fireAnalyticsEvent, this.props.unsupportedContentLevelsTracking, this.props.appearance),
|
|
340
347
|
result = _renderDocument.result,
|
|
@@ -362,6 +369,7 @@ export var Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
|
362
369
|
allowCustomPanels: allowCustomPanels,
|
|
363
370
|
allowPlaceholderText: allowPlaceholderText,
|
|
364
371
|
useFragmentMarkBreakoutWidthStylingFix: (_featureFlags$feature = featureFlags.featureFlags.useFragmentMarkBreakoutWidthStylingFix) !== null && _featureFlags$feature !== void 0 ? _featureFlags$feature : true,
|
|
372
|
+
useBlockRenderForCodeBlock: (_featureFlags$feature2 = featureFlags.featureFlags.useBlockRenderForCodeBlock) !== null && _featureFlags$feature2 !== void 0 ? _featureFlags$feature2 : true,
|
|
365
373
|
innerRef: this.editorRef,
|
|
366
374
|
onClick: handleWrapperOnClick,
|
|
367
375
|
onMouseDown: this.onMouseDownEditView
|
|
@@ -384,7 +392,7 @@ export var Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
|
384
392
|
});
|
|
385
393
|
return jsx(Fragment, null, reRenderTracking, rendererResult);
|
|
386
394
|
} catch (e) {
|
|
387
|
-
var _featureFlags$
|
|
395
|
+
var _featureFlags$feature3, _featureFlags$feature4;
|
|
388
396
|
if (onError) {
|
|
389
397
|
onError(e);
|
|
390
398
|
}
|
|
@@ -395,7 +403,8 @@ export var Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
|
395
403
|
allowPlaceholderText: allowPlaceholderText,
|
|
396
404
|
allowColumnSorting: allowColumnSorting,
|
|
397
405
|
allowNestedHeaderLinks: allowNestedHeaderLinks,
|
|
398
|
-
useFragmentMarkBreakoutWidthStylingFix: (_featureFlags$
|
|
406
|
+
useFragmentMarkBreakoutWidthStylingFix: (_featureFlags$feature3 = featureFlags.featureFlags.useFragmentMarkBreakoutWidthStylingFix) !== null && _featureFlags$feature3 !== void 0 ? _featureFlags$feature3 : true,
|
|
407
|
+
useBlockRenderForCodeBlock: (_featureFlags$feature4 = featureFlags.featureFlags.useBlockRenderForCodeBlock) !== null && _featureFlags$feature4 !== void 0 ? _featureFlags$feature4 : true,
|
|
399
408
|
onClick: handleWrapperOnClick
|
|
400
409
|
}, jsx(UnsupportedBlock, null));
|
|
401
410
|
}
|
|
@@ -448,7 +457,8 @@ var RendererWrapper = /*#__PURE__*/React.memo(function (props) {
|
|
|
448
457
|
children = props.children,
|
|
449
458
|
onClick = props.onClick,
|
|
450
459
|
onMouseDown = props.onMouseDown,
|
|
451
|
-
useFragmentMarkBreakoutWidthStylingFix = props.useFragmentMarkBreakoutWidthStylingFix
|
|
460
|
+
useFragmentMarkBreakoutWidthStylingFix = props.useFragmentMarkBreakoutWidthStylingFix,
|
|
461
|
+
useBlockRenderForCodeBlock = props.useBlockRenderForCodeBlock;
|
|
452
462
|
return jsx(WidthProvider, {
|
|
453
463
|
className: "ak-renderer-wrapper"
|
|
454
464
|
}, jsx(BaseTheme, {
|
|
@@ -461,7 +471,8 @@ var RendererWrapper = /*#__PURE__*/React.memo(function (props) {
|
|
|
461
471
|
appearance: appearance,
|
|
462
472
|
allowNestedHeaderLinks: allowNestedHeaderLinks,
|
|
463
473
|
allowColumnSorting: !!allowColumnSorting,
|
|
464
|
-
useFragmentMarkBreakoutWidthStylingFix: useFragmentMarkBreakoutWidthStylingFix
|
|
474
|
+
useFragmentMarkBreakoutWidthStylingFix: useFragmentMarkBreakoutWidthStylingFix,
|
|
475
|
+
useBlockRenderForCodeBlock: useBlockRenderForCodeBlock
|
|
465
476
|
})
|
|
466
477
|
}, children)));
|
|
467
478
|
});
|
|
@@ -2,7 +2,7 @@ import _taggedTemplateLiteral from "@babel/runtime/helpers/taggedTemplateLiteral
|
|
|
2
2
|
var _templateObject, _templateObject2, _templateObject3, _templateObject4, _templateObject5, _templateObject6, _templateObject7, _templateObject8;
|
|
3
3
|
import { css } from '@emotion/react';
|
|
4
4
|
import { themed } from '@atlaskit/theme/components';
|
|
5
|
-
import {
|
|
5
|
+
import { fontFamily, fontSize } from '@atlaskit/theme/constants';
|
|
6
6
|
import * as colors from '@atlaskit/theme/colors';
|
|
7
7
|
import { headingSizes as headingSizesImport } from '@atlaskit/theme/typography';
|
|
8
8
|
import { tableSharedStyle, columnLayoutSharedStyle, blockquoteSharedStyles, headingsSharedStyles, ruleSharedStyles, whitespaceSharedStyles, paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, blockMarksSharedStyles, mediaSingleSharedStyle, TableSharedCssClassName, tableMarginTop, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, richMediaClassName, tasksAndDecisionsStyles, smartCardSharedStyles, tableCellPadding, textColorStyles, codeBlockInListSafariFix } from '@atlaskit/editor-common/styles';
|
|
@@ -86,7 +86,8 @@ export var rendererStyles = function rendererStyles(wrapperProps) {
|
|
|
86
86
|
var themeProps = {
|
|
87
87
|
theme: theme
|
|
88
88
|
};
|
|
89
|
-
|
|
89
|
+
var useBlockRenderForCodeBlock = wrapperProps.useBlockRenderForCodeBlock;
|
|
90
|
+
return css(_templateObject8 || (_templateObject8 = _taggedTemplateLiteral(["\n font-size: ", "px;\n line-height: 1.5rem;\n color: ", ";\n\n .", "::after {\n // we add a clearfix after ak-renderer-document in order to\n // contain internal floats (such as media images that are \"wrap-left\")\n // to just the renderer (and not spill outside of it)\n content: '';\n visibility: hidden;\n display: block;\n height: 0;\n clear: both;\n }\n\n ", "\n ", "\n\n & h1 {\n ", "\n }\n\n & h2 {\n ", "\n }\n\n & h3 {\n ", "\n }\n\n & h4 {\n ", "\n }\n\n & h5 {\n ", "\n }\n\n & h6 {\n ", "\n }\n\n & span.akActionMark {\n color: ", ";\n text-decoration: none;\n\n &:hover {\n color: ", ";\n text-decoration: underline;\n }\n\n &:active {\n color: ", ";\n }\n }\n\n & span.akActionMark {\n cursor: pointer;\n }\n\n & span[data-placeholder] {\n color: ", ";\n }\n\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", ";\n ", "\n\n & .UnknownBlock {\n font-family: ", ";\n font-size: ", ";\n font-weight: 400;\n white-space: pre-wrap;\n word-wrap: break-word;\n }\n\n & span.date-node {\n background: ", ";\n border-radius: ", ";\n color: ", ";\n padding: 2px 4px;\n margin: 0 1px;\n transition: background 0.3s;\n }\n\n & span.date-node-highlighted {\n background: ", ";\n color: ", ";\n }\n\n & .renderer-image {\n max-width: 100%;\n display: block;\n margin: ", " 0;\n }\n\n .", ".rich-media-wrapped\n + .", ":not(.rich-media-wrapped) {\n clear: both;\n }\n\n & .code-block,\n & blockquote,\n & hr,\n & > div > div:not(.rich-media-wrapped),\n .", ".rich-media-wrapped\n + .rich-media-wrapped\n + *:not(.rich-media-wrapped),\n .", ".rich-media-wrapped + div:not(.rich-media-wrapped),\n .", ".image-align-start,\n .", ".image-center,\n .", ".image-align-end {\n clear: both;\n }\n\n & .rich-media-wrapped {\n & + h1,\n & + h2,\n & + h3,\n & + h4,\n & + h5,\n & + h6 {\n margin-top: 8px;\n }\n }\n\n ", "\n /* plugin styles */\n ", " &\n div[class^='image-wrap-'] + div[class^='image-wrap-'] {\n margin-left: 0;\n margin-right: 0;\n }\n\n /* Breakout for tables and extensions */\n .", " > {\n ", "\n\n * .", " {\n overflow-x: auto;\n }\n\n & .", ":first-child {\n margin-top: 0;\n }\n }\n\n .", " {\n .", " {\n margin-top: ", ";\n }\n\n .", " {\n margin-left: 50%;\n transform: translateX(-50%);\n }\n\n .", " {\n overflow-x: auto;\n }\n\n .", "\n .", " {\n display: flex;\n }\n }\n\n ", "\n\n .", " .", " {\n z-index: 0;\n transition: all 0.1s linear;\n display: flex; /* needed to avoid position: fixed jumpiness in Chrome */\n\n /** Shadow overrides */\n &.", "::after,\n &.", "::before {\n top: ", "px;\n height: calc(100% - ", "px);\n z-index: ", ";\n }\n\n &\n .", ",\n &\n .", " {\n height: calc(100% - ", "px);\n }\n\n /**\n * A hack for making all the <th /> heights equal in case some have shorter\n * content than others.\n *\n * This is done to make sort buttons fill entire <th />.\n */\n table {\n height: 1px; /* will be ignored */\n ", ";\n margin-left: 0;\n margin-right: 0;\n }\n\n table tr:first-of-type {\n height: 100%;\n\n td,\n th {\n position: relative;\n }\n }\n\n table[data-number-column='true'] {\n .", " {\n background-color: ", ";\n border-right: 1px solid\n ", ";\n width: ", "px;\n text-align: center;\n color: ", ";\n font-size: ", ";\n }\n\n .fixed .", " {\n border-right: 0px none;\n }\n }\n }\n\n tr[data-header-row].fixed {\n position: fixed !important;\n display: flex;\n overflow: hidden;\n z-index: ", ";\n\n border-right: 1px solid\n ", ";\n border-bottom: 1px solid\n ", ";\n\n /* this is to compensate for the table border */\n transform: translateX(-1px);\n }\n\n .sticky > th {\n z-index: ", ";\n position: sticky !important;\n top: 0;\n }\n\n /* Make the number column header sticky */\n .sticky > td {\n position: sticky !important;\n top: 0;\n }\n\n /* add border for position: sticky\n and work around background-clip: padding-box\n bug for FF causing box-shadow bug in Chrome */\n .sticky th,\n .sticky td {\n box-shadow: 0px 1px\n ", ",\n 0px -0.5px ", ",\n inset -1px 0px ", ",\n 0px -1px ", ";\n }\n\n /* this will remove jumpiness caused in Chrome for sticky headers */\n .fixed + tr {\n min-height: 0px;\n }\n\n /*\n * We wrap CodeBlock in a grid to prevent it from overflowing the container of the renderer.\n * See ED-4159.\n */\n & .code-block {\n max-width: 100%;\n /* -ms- properties are necessary until MS supports the latest version of the grid spec */\n /* stylelint-disable value-no-vendor-prefix, declaration-block-no-duplicate-properties */\n display: block;\n /* stylelint-enable */\n\n position: relative;\n border-radius: ", ";\n\n /*\n * The overall renderer has word-wrap: break; which causes issues with\n * code block line numbers in Safari / iOS.\n */\n word-wrap: normal;\n }\n\n & .MediaGroup,\n & .code-block {\n margin-top: ", ";\n\n &:first-child {\n margin-top: 0;\n }\n }\n\n ", "\n\n ", "\n\n ", ";\n & [data-layout-section] {\n margin-top: ", ";\n & > div + div {\n margin-left: ", ";\n }\n\n @media screen and (max-width: ", "px) {\n & > div + div {\n margin-left: 0;\n }\n }\n\n & .MediaGroup,\n & .code-block {\n margin-top: ", ";\n\n &:first-child {\n margin-top: 0;\n }\n }\n }\n\n & li {\n > .code-block {\n margin: ", " 0 0 0;\n }\n > .code-block:first-child {\n margin-top: 0;\n }\n\n > div:last-of-type.code-block {\n margin-bottom: ", ";\n }\n }\n\n & :not([data-node-type='decisionList']) > li {\n ", "\n }\n "])), editorFontSize(themeProps), themed({
|
|
90
91
|
light: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
91
92
|
dark: "var(--ds-text, #B8C7E0)"
|
|
92
93
|
})(themeProps), RendererCssClassName.DOCUMENT, fullPageStyles(wrapperProps, themeProps), fullWidthStyles(wrapperProps), headingAnchorStyle('h1'), headingAnchorStyle('h2'), headingAnchorStyle('h3'), headingAnchorStyle('h4'), headingAnchorStyle('h5'), headingAnchorStyle('h6'), "var(--ds-link, ".concat(colors.B400, ")"), "var(--ds-link, ".concat(colors.B300, ")"), "var(--ds-link-pressed, ".concat(colors.B500, ")"), themed({
|
|
@@ -98,7 +99,7 @@ export var rendererStyles = function rendererStyles(wrapperProps) {
|
|
|
98
99
|
})(themeProps), "var(--ds-radius-100, 3px)", themed({
|
|
99
100
|
light: "var(--ds-text, ".concat(colors.N800, ")"),
|
|
100
101
|
dark: "var(--ds-text, ".concat(colors.DN600, ")")
|
|
101
|
-
})(themeProps), "var(--ds-background-danger, ".concat(colors.R50, ")"), "var(--ds-text-danger, ".concat(colors.R500, ")"),
|
|
102
|
+
})(themeProps), "var(--ds-background-danger, ".concat(colors.R50, ")"), "var(--ds-text-danger, ".concat(colors.R500, ")"), "var(--ds-space-300, 24px)", richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, richMediaClassName, alignedHeadingAnchorStyle(wrapperProps), mediaSingleSharedStyle, RendererCssClassName.DOCUMENT, breakoutWidthStyle(wrapperProps.useFragmentMarkBreakoutWidthStylingFix), RendererCssClassName.EXTENSION_OVERFLOW_CONTAINER, RendererCssClassName.EXTENSION, RendererCssClassName.DOCUMENT, RendererCssClassName.EXTENSION, blockNodesVerticalMargin, RendererCssClassName.EXTENSION_CENTER_ALIGN, TableSharedCssClassName.TABLE_NODE_WRAPPER, shadowObserverClassNames.SHADOW_CONTAINER, TableSharedCssClassName.TABLE_NODE_WRAPPER, tableSharedStyle(themeProps), RendererCssClassName.DOCUMENT, TableSharedCssClassName.TABLE_CONTAINER, shadowClassNames.RIGHT_SHADOW, shadowClassNames.LEFT_SHADOW, tableMarginTop - 1, tableMarginTop, akEditorStickyHeaderZIndex, shadowObserverClassNames.SENTINEL_LEFT, shadowObserverClassNames.SENTINEL_RIGHT, tableMarginTop, tableSortableColumnStyle(wrapperProps), RendererCssClassName.NUMBER_COLUMN, themed({
|
|
102
103
|
light: "var(--ds-background-neutral, ".concat(akEditorTableToolbar, ")"),
|
|
103
104
|
dark: "var(--ds-background-neutral, ".concat(akEditorTableToolbarDark, ")")
|
|
104
105
|
})(themeProps), themed({
|
|
@@ -125,6 +126,12 @@ export var rendererStyles = function rendererStyles(wrapperProps) {
|
|
|
125
126
|
})(themeProps), themed({
|
|
126
127
|
light: "var(--ds-border, ".concat(akEditorTableToolbar, ")"),
|
|
127
128
|
dark: "var(--ds-border, ".concat(akEditorTableToolbarDark, ")")
|
|
128
|
-
})(themeProps), "var(--ds-radius-100, 3px)", blockNodesVerticalMargin, getLightWeightCodeBlockStylesForRootRendererStyleSheet(), columnLayoutSharedStyle,
|
|
129
|
+
})(themeProps), "var(--ds-radius-100, 3px)", blockNodesVerticalMargin, useGridRenderForCodeBlock(useBlockRenderForCodeBlock), getLightWeightCodeBlockStylesForRootRendererStyleSheet(), columnLayoutSharedStyle, "var(--ds-space-250, 20px)", "var(--ds-space-400, 32px)", gridMediumMaxWidth, blockNodesVerticalMargin, blockNodesVerticalMargin, blockNodesVerticalMargin, browser.safari ? codeBlockInListSafariFix : '');
|
|
129
130
|
};
|
|
131
|
+
};
|
|
132
|
+
var useGridRenderForCodeBlock = function useGridRenderForCodeBlock(codeBlockRenderAsBlock) {
|
|
133
|
+
if (codeBlockRenderAsBlock) {
|
|
134
|
+
return '';
|
|
135
|
+
}
|
|
136
|
+
return "& .code-block {\n /* -ms- properties are necessary until MS supports the latest version of the grid spec */\n /* stylelint-disable value-no-vendor-prefix, declaration-block-no-duplicate-properties */\n display: -ms-grid;\n display: grid;\n -ms-grid-columns: auto 1fr;\n /* stylelint-enable */\n\n grid-template-columns: minmax(0, 1fr);\n\n & > span {\n /* stylelint-disable value-no-vendor-prefix */\n -ms-grid-row: 1;\n -ms-grid-column: 2;\n /* stylelint-enable */\n grid-column: 1;\n }\n }";
|
|
130
137
|
};
|
|
@@ -3,7 +3,6 @@ var _templateObject, _templateObject2, _templateObject3;
|
|
|
3
3
|
/** @jsx jsx */
|
|
4
4
|
import { css, jsx } from '@emotion/react';
|
|
5
5
|
import Tooltip from '@atlaskit/tooltip';
|
|
6
|
-
import { gridSize } from '@atlaskit/theme/constants';
|
|
7
6
|
import { N20, N30 } from '@atlaskit/theme/colors';
|
|
8
7
|
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
9
8
|
import { sortingIconMessages } from '../messages';
|
|
@@ -16,7 +15,7 @@ export var StatusClassNames = /*#__PURE__*/function (StatusClassNames) {
|
|
|
16
15
|
StatusClassNames["SORTING_NOT_ALLOWED"] = "sorting-icon-svg__not-allowed";
|
|
17
16
|
return StatusClassNames;
|
|
18
17
|
}({});
|
|
19
|
-
var buttonStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n display: flex;\n height: 28px;\n width: 28px;\n margin: 6px;\n right: 0;\n top: 0;\n border: 2px solid ", ";\n border-radius: ", "
|
|
18
|
+
var buttonStyles = css(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n position: absolute;\n display: flex;\n height: 28px;\n width: 28px;\n margin: 6px;\n right: 0;\n top: 0;\n border: 2px solid ", ";\n border-radius: ", ";\n background-color: ", ";\n justify-content: center;\n align-items: center;\n cursor: pointer;\n\n &:hover {\n background-color: ", ";\n }\n\n &:active {\n background-color: ", ";\n }\n\n &.", "__not-allowed {\n cursor: not-allowed;\n }\n"])), "var(--ds-border, #fff)", "var(--ds-radius-100, 4px)", "var(--ds-surface-overlay, ".concat(N20, ")"), "var(--ds-surface-overlay-hovered, ".concat(N30, ")"), "var(--ds-surface-overlay-pressed, rgba(179, 212, 255, 0.6))", RendererCssClassName.SORTABLE_COLUMN_ICON);
|
|
20
19
|
var iconWrapperStyles = css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteral(["\n width: 8px;\n height: 12px;\n transition: transform 0.3s cubic-bezier(0.15, 1, 0.3, 1);\n transform-origin: 50% 50%;\n display: flex;\n justify-content: center;\n\n &.", " {\n transform: rotate(-180deg);\n }\n\n &.", "-inactive {\n opacity: 0.7;\n }\n"])), StatusClassNames.DESC, RendererCssClassName.SORTABLE_COLUMN_ICON);
|
|
21
20
|
|
|
22
21
|
// The icon is created with CSS due to the following Firefox issue: https://product-fabric.atlassian.net/browse/ED-8001
|
package/dist/esm/version.json
CHANGED
|
@@ -5,15 +5,15 @@ import { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
|
5
5
|
import { Node, Schema, Mark } from 'prosemirror-model';
|
|
6
6
|
import { Step, RemoveMarkStep } from 'prosemirror-transform';
|
|
7
7
|
import { AnalyticsEventPayload } from '../analytics/events';
|
|
8
|
-
|
|
8
|
+
type ActionResult = {
|
|
9
9
|
step: Step;
|
|
10
10
|
doc: JSONDocNode;
|
|
11
11
|
} | false;
|
|
12
|
-
|
|
12
|
+
type Position = {
|
|
13
13
|
from: number;
|
|
14
14
|
to: number;
|
|
15
15
|
};
|
|
16
|
-
|
|
16
|
+
type Annotation = {
|
|
17
17
|
annotationId: string;
|
|
18
18
|
annotationType: AnnotationTypes;
|
|
19
19
|
};
|
|
@@ -22,7 +22,7 @@ export interface RendererActionsOptions {
|
|
|
22
22
|
deleteAnnotation: (annotationId: string, annotationType: 'inlineComment') => ActionResult;
|
|
23
23
|
isValidAnnotationRange: (range: Range) => boolean;
|
|
24
24
|
}
|
|
25
|
-
export
|
|
25
|
+
export type ApplyAnnotation = (pos: Position, annotation: Annotation) => AnnotationActionResult;
|
|
26
26
|
export interface AnnotationsRendererActionsOptions {
|
|
27
27
|
isValidAnnotationPosition: (pos: Position) => boolean;
|
|
28
28
|
applyAnnotation: ApplyAnnotation;
|
|
@@ -49,7 +49,7 @@ export declare enum ACTION_SUBJECT_ID {
|
|
|
49
49
|
CODEBLOCK_COPY = "codeBlockCopy",
|
|
50
50
|
CODEBLOCK_WRAP = "codeBlockWrap"
|
|
51
51
|
}
|
|
52
|
-
export
|
|
52
|
+
export type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
|
|
53
53
|
action: Action;
|
|
54
54
|
actionSubject: ActionSubject;
|
|
55
55
|
actionSubjectId?: ActionSubjectID;
|
|
@@ -12,10 +12,10 @@ export declare enum MODE {
|
|
|
12
12
|
RENDERER = "renderer",
|
|
13
13
|
EDITOR = "editor"
|
|
14
14
|
}
|
|
15
|
-
|
|
15
|
+
type RendererStartAEP = AEP<ACTION.STARTED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
16
16
|
platform: PLATFORM.WEB;
|
|
17
17
|
}, EVENT_TYPE.UI>;
|
|
18
|
-
|
|
18
|
+
type RendererRenderedAEP = AEP<ACTION.RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
19
19
|
platform: PLATFORM.WEB;
|
|
20
20
|
duration: number;
|
|
21
21
|
distortedDuration: boolean;
|
|
@@ -23,12 +23,12 @@ declare type RendererRenderedAEP = AEP<ACTION.RENDERED, ACTION_SUBJECT.RENDERER,
|
|
|
23
23
|
nodes: Record<string, number>;
|
|
24
24
|
severity?: SEVERITY;
|
|
25
25
|
}, EVENT_TYPE.OPERATIONAL>;
|
|
26
|
-
|
|
26
|
+
type RendererReRenderedAEP<Props> = AEP<ACTION.RE_RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
27
27
|
propsDifference: PropsDifference<Props> | ShallowPropsDifference<Props>;
|
|
28
28
|
count: number;
|
|
29
29
|
componentId?: string;
|
|
30
30
|
}, EVENT_TYPE.OPERATIONAL>;
|
|
31
|
-
export
|
|
31
|
+
export type ComponentCrashErrorAEP = OperationalAEP<ACTION.CRASHED, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
|
|
32
32
|
platform: PLATFORM.WEB;
|
|
33
33
|
errorMessage?: string;
|
|
34
34
|
errorStack?: string;
|
|
@@ -37,11 +37,11 @@ export declare type ComponentCrashErrorAEP = OperationalAEP<ACTION.CRASHED, ACTI
|
|
|
37
37
|
}, {
|
|
38
38
|
errorStack?: string;
|
|
39
39
|
}>;
|
|
40
|
-
|
|
40
|
+
type InvalidProsemirrorDocumentErrorAEP = AEP<ACTION.INVALID_PROSEMIRROR_DOCUMENT, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
|
|
41
41
|
platform: PLATFORM.WEB;
|
|
42
42
|
errorStack?: string;
|
|
43
43
|
}, EVENT_TYPE.OPERATIONAL>;
|
|
44
|
-
|
|
44
|
+
type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
45
45
|
appearance?: string;
|
|
46
46
|
platform: PLATFORM.WEB;
|
|
47
47
|
unsupportedContentLevelSeverity: UNSUPPORTED_CONTENT_LEVEL_SEVERITY;
|
|
@@ -49,70 +49,70 @@ declare type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<ACTION.UNSU
|
|
|
49
49
|
unsupportedNodesCount: number;
|
|
50
50
|
supportedNodesCount: number;
|
|
51
51
|
}, EVENT_TYPE.OPERATIONAL>;
|
|
52
|
-
|
|
52
|
+
type RendererUnsupportedContentLevelsTrackingErrored = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
53
53
|
platform: PLATFORM.WEB;
|
|
54
54
|
error: string;
|
|
55
55
|
}, EVENT_TYPE.OPERATIONAL>;
|
|
56
|
-
|
|
56
|
+
type RendererSelectAllCaughtAEP = AEP<ACTION.SELECT_ALL_CAUGHT, ACTION_SUBJECT.RENDERER, undefined, {
|
|
57
57
|
platform: PLATFORM.WEB;
|
|
58
58
|
}, EVENT_TYPE.TRACK>;
|
|
59
|
-
|
|
59
|
+
type RendererSelectAllEscapedAEP = AEP<ACTION.SELECT_ALL_ESCAPED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
60
60
|
platform: PLATFORM.WEB;
|
|
61
61
|
}, EVENT_TYPE.TRACK>;
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
62
|
+
type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, EVENT_TYPE.UI>;
|
|
63
|
+
type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ActionSubjectID, Attributes>;
|
|
64
|
+
type AnchorLinkAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.ANCHOR_LINK, undefined, {
|
|
65
65
|
platform: PLATFORM.WEB;
|
|
66
66
|
mode: MODE.RENDERER;
|
|
67
67
|
}>;
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
type CodeBlockCopyAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_COPY, undefined>;
|
|
69
|
+
type CodeBlockWrapAEP = ButtonAEP<ACTION_SUBJECT_ID.CODEBLOCK_WRAP, {
|
|
70
70
|
wrapped: boolean;
|
|
71
71
|
}>;
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
type HeadingAnchorLinkButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK, undefined>;
|
|
73
|
+
type TableSortColumnNotAllowedAEP = AEP<ACTION.SORT_COLUMN_NOT_ALLOWED, ACTION_SUBJECT.TABLE, undefined, {
|
|
74
74
|
platform: PLATFORM.WEB;
|
|
75
75
|
mode: MODE.RENDERER;
|
|
76
76
|
}, EVENT_TYPE.TRACK>;
|
|
77
|
-
|
|
77
|
+
type TableSortColumnAEP = AEP<ACTION.SORT_COLUMN, ACTION_SUBJECT.TABLE, undefined, {
|
|
78
78
|
platform: PLATFORM.WEB;
|
|
79
79
|
mode: MODE.RENDERER;
|
|
80
80
|
sortOrder: SortOrder;
|
|
81
81
|
columnIndex: number;
|
|
82
82
|
}, EVENT_TYPE.TRACK>;
|
|
83
|
-
|
|
83
|
+
type VisitLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
|
|
84
84
|
platform: PLATFORM.WEB;
|
|
85
85
|
mode: MODE.RENDERER;
|
|
86
86
|
}, EVENT_TYPE.TRACK>;
|
|
87
|
-
|
|
87
|
+
type VisitMediaLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.LINK, {
|
|
88
88
|
platform: PLATFORM.WEB;
|
|
89
89
|
mode: MODE.RENDERER;
|
|
90
90
|
}, EVENT_TYPE.TRACK>;
|
|
91
|
-
|
|
91
|
+
type ExpandAEP = AEP<ACTION.TOGGLE_EXPAND, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
92
92
|
platform: PLATFORM.WEB;
|
|
93
93
|
mode: MODE.RENDERER;
|
|
94
94
|
expanded: boolean;
|
|
95
95
|
}, EVENT_TYPE.TRACK>;
|
|
96
|
-
export
|
|
97
|
-
export
|
|
98
|
-
export
|
|
96
|
+
export type AnnotationActionType = ACTION.INSERTED | ACTION.CLOSED | ACTION.EDITED | ACTION.DELETED | ACTION.OPENED | ACTION.RESOLVED | ACTION.VIEWED | ACTION.CREATE_NOT_ALLOWED;
|
|
97
|
+
export type AnnotationAEPAttributes = AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
|
|
98
|
+
export type AnnotationDraftAEPAttributes = {
|
|
99
99
|
overlap?: number;
|
|
100
100
|
};
|
|
101
|
-
export
|
|
101
|
+
export type AnnotationResolvedAEPAttributes = {
|
|
102
102
|
method?: RESOLVE_METHOD;
|
|
103
103
|
};
|
|
104
|
-
export
|
|
104
|
+
export type AnnotationDeleteAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID, undefined, EVENT_TYPE.TRACK>;
|
|
105
105
|
export declare enum RESOLVE_METHOD {
|
|
106
106
|
COMPONENT = "component",
|
|
107
107
|
CONSUMER = "consumer",
|
|
108
108
|
ORPHANED = "orphaned"
|
|
109
109
|
}
|
|
110
|
-
export
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
export type AnnotationAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID.INLINE_COMMENT, AnnotationAEPAttributes, undefined>;
|
|
111
|
+
type MediaLnkTransformedAEP = AEP<ACTION.MEDIA_LINK_TRANSFORMED, ACTION_SUBJECT.RENDERER, undefined, undefined, EVENT_TYPE.OPERATIONAL>;
|
|
112
|
+
type RendererTTIAEP = AEP<ACTION.RENDERER_TTI, ACTION_SUBJECT.RENDERER, undefined, {
|
|
113
113
|
tti: number;
|
|
114
114
|
ttiFromInvocation: number;
|
|
115
115
|
canceled: boolean;
|
|
116
116
|
}, EVENT_TYPE.OPERATIONAL>;
|
|
117
|
-
export
|
|
117
|
+
export type AnalyticsEventPayload<T = void> = RendererStartAEP | RendererRenderedAEP | RendererReRenderedAEP<T> | ComponentCrashErrorAEP | RendererUnsupportedContentLevelsTrackingSucceeded | RendererUnsupportedContentLevelsTrackingErrored | RendererSelectAllCaughtAEP | RendererSelectAllEscapedAEP | CodeBlockCopyAEP | CodeBlockWrapAEP | HeadingAnchorLinkButtonAEP | AnchorLinkAEP | TableSortColumnNotAllowedAEP | TableSortColumnAEP | VisitLinkAEP | VisitMediaLinkAEP | ExpandAEP | UnsupportedContentPayload | UnsupportedContentTooltipPayload | AnnotationAEP | AnnotationDeleteAEP | MediaLnkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | RendererTTIAEP;
|
|
118
118
|
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
|
|
2
2
|
import { AnalyticsEventPayload } from './events';
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
|
|
4
|
+
type DocumentData = {
|
|
5
5
|
rendererId: string;
|
|
6
6
|
doc: any;
|
|
7
7
|
appearance?: string;
|
package/dist/types/i18n/cs.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/da.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/de.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/en.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,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/es.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/et.d.ts
CHANGED
package/dist/types/i18n/fi.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/fr.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;
|