@atlaskit/renderer 103.0.1 → 103.0.2
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 +6 -0
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/cjs/ui/Renderer/style.js +1 -1
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/Renderer/style.js +284 -284
- package/dist/es2019/version.json +1 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/Renderer/style.js +1 -1
- package/dist/esm/version.json +1 -1
- package/package.json +5 -13
- package/dist/types-ts4.0/actions/index.d.ts +0 -61
- package/dist/types-ts4.0/actions/matches-utils.d.ts +0 -7
- package/dist/types-ts4.0/actions.d.ts +0 -3
- package/dist/types-ts4.0/analytics/analyticsContext.d.ts +0 -6
- package/dist/types-ts4.0/analytics/enums.d.ts +0 -56
- package/dist/types-ts4.0/analytics/events.d.ts +0 -110
- package/dist/types-ts4.0/analytics/unsupported-content.d.ts +0 -10
- package/dist/types-ts4.0/consts.d.ts +0 -12
- package/dist/types-ts4.0/i18n/cs.d.ts +0 -20
- package/dist/types-ts4.0/i18n/da.d.ts +0 -20
- package/dist/types-ts4.0/i18n/de.d.ts +0 -20
- package/dist/types-ts4.0/i18n/en.d.ts +0 -20
- package/dist/types-ts4.0/i18n/en_GB.d.ts +0 -20
- package/dist/types-ts4.0/i18n/en_ZZ.d.ts +0 -20
- package/dist/types-ts4.0/i18n/es.d.ts +0 -20
- package/dist/types-ts4.0/i18n/et.d.ts +0 -8
- package/dist/types-ts4.0/i18n/fi.d.ts +0 -20
- package/dist/types-ts4.0/i18n/fr.d.ts +0 -20
- package/dist/types-ts4.0/i18n/hu.d.ts +0 -20
- package/dist/types-ts4.0/i18n/index.d.ts +0 -31
- package/dist/types-ts4.0/i18n/it.d.ts +0 -20
- package/dist/types-ts4.0/i18n/ja.d.ts +0 -20
- package/dist/types-ts4.0/i18n/ko.d.ts +0 -20
- package/dist/types-ts4.0/i18n/nb.d.ts +0 -20
- package/dist/types-ts4.0/i18n/nl.d.ts +0 -20
- package/dist/types-ts4.0/i18n/pl.d.ts +0 -20
- package/dist/types-ts4.0/i18n/pt_BR.d.ts +0 -20
- package/dist/types-ts4.0/i18n/pt_PT.d.ts +0 -8
- package/dist/types-ts4.0/i18n/ru.d.ts +0 -20
- package/dist/types-ts4.0/i18n/sk.d.ts +0 -8
- package/dist/types-ts4.0/i18n/sv.d.ts +0 -20
- package/dist/types-ts4.0/i18n/th.d.ts +0 -20
- package/dist/types-ts4.0/i18n/tr.d.ts +0 -20
- package/dist/types-ts4.0/i18n/uk.d.ts +0 -20
- package/dist/types-ts4.0/i18n/vi.d.ts +0 -20
- package/dist/types-ts4.0/i18n/zh.d.ts +0 -20
- package/dist/types-ts4.0/i18n/zh_TW.d.ts +0 -20
- package/dist/types-ts4.0/index.d.ts +0 -11
- package/dist/types-ts4.0/messages.d.ts +0 -61
- package/dist/types-ts4.0/react/hooks/use-bidi-warnings.d.ts +0 -10
- package/dist/types-ts4.0/react/hooks/use-in-viewport.d.ts +0 -5
- package/dist/types-ts4.0/react/hooks/use-observed-width.d.ts +0 -3
- package/dist/types-ts4.0/react/index.d.ts +0 -118
- package/dist/types-ts4.0/react/marks/alignment.d.ts +0 -4
- package/dist/types-ts4.0/react/marks/annotation.d.ts +0 -6
- package/dist/types-ts4.0/react/marks/breakout.d.ts +0 -6
- package/dist/types-ts4.0/react/marks/code.d.ts +0 -16
- package/dist/types-ts4.0/react/marks/confluence-inline-comment.d.ts +0 -8
- package/dist/types-ts4.0/react/marks/data-consumer.d.ts +0 -4
- package/dist/types-ts4.0/react/marks/em.d.ts +0 -3
- package/dist/types-ts4.0/react/marks/fragment.d.ts +0 -4
- package/dist/types-ts4.0/react/marks/indentation.d.ts +0 -4
- package/dist/types-ts4.0/react/marks/index.d.ts +0 -21
- package/dist/types-ts4.0/react/marks/link.d.ts +0 -9
- package/dist/types-ts4.0/react/marks/strike.d.ts +0 -3
- package/dist/types-ts4.0/react/marks/strong.d.ts +0 -3
- package/dist/types-ts4.0/react/marks/subsup.d.ts +0 -4
- package/dist/types-ts4.0/react/marks/textColor.d.ts +0 -4
- package/dist/types-ts4.0/react/marks/underline.d.ts +0 -3
- package/dist/types-ts4.0/react/marks/unsupportedMark.d.ts +0 -3
- package/dist/types-ts4.0/react/marks/unsupportedNodeAttribute.d.ts +0 -3
- package/dist/types-ts4.0/react/nodes/blockCard.d.ts +0 -10
- package/dist/types-ts4.0/react/nodes/blockquote.d.ts +0 -2
- package/dist/types-ts4.0/react/nodes/bodiedExtension.d.ts +0 -24
- package/dist/types-ts4.0/react/nodes/bulletList.d.ts +0 -5
- package/dist/types-ts4.0/react/nodes/caption.d.ts +0 -4
- package/dist/types-ts4.0/react/nodes/codeBlock/codeBlock.d.ts +0 -14
- package/dist/types-ts4.0/react/nodes/codeBlock/components/codeBlockContainer.d.ts +0 -12
- package/dist/types-ts4.0/react/nodes/codeBlock/components/lightWeightCodeBlock.d.ts +0 -9
- package/dist/types-ts4.0/react/nodes/codeBlock/windowedCodeBlock.d.ts +0 -4
- package/dist/types-ts4.0/react/nodes/codeBlockCopyButton.d.ts +0 -9
- package/dist/types-ts4.0/react/nodes/date.d.ts +0 -11
- package/dist/types-ts4.0/react/nodes/decisionItem.d.ts +0 -3
- package/dist/types-ts4.0/react/nodes/decisionList.d.ts +0 -7
- package/dist/types-ts4.0/react/nodes/doc.d.ts +0 -3
- package/dist/types-ts4.0/react/nodes/embedCard.d.ts +0 -17
- package/dist/types-ts4.0/react/nodes/emoji.d.ts +0 -10
- package/dist/types-ts4.0/react/nodes/extension.d.ts +0 -113
- package/dist/types-ts4.0/react/nodes/fallback.d.ts +0 -16
- package/dist/types-ts4.0/react/nodes/hardBreak.d.ts +0 -6
- package/dist/types-ts4.0/react/nodes/heading-anchor.d.ts +0 -14
- package/dist/types-ts4.0/react/nodes/heading.d.ts +0 -14
- package/dist/types-ts4.0/react/nodes/index.d.ts +0 -94
- package/dist/types-ts4.0/react/nodes/inline.d.ts +0 -1
- package/dist/types-ts4.0/react/nodes/inlineCard.d.ts +0 -65
- package/dist/types-ts4.0/react/nodes/inlineExtension.d.ts +0 -18
- package/dist/types-ts4.0/react/nodes/layoutColumn.d.ts +0 -6
- package/dist/types-ts4.0/react/nodes/layoutSection.d.ts +0 -2
- package/dist/types-ts4.0/react/nodes/listItem.d.ts +0 -2
- package/dist/types-ts4.0/react/nodes/media.d.ts +0 -27
- package/dist/types-ts4.0/react/nodes/mediaGroup.d.ts +0 -29
- package/dist/types-ts4.0/react/nodes/mediaInline.d.ts +0 -20
- package/dist/types-ts4.0/react/nodes/mediaSingle/index.d.ts +0 -23
- package/dist/types-ts4.0/react/nodes/mediaSingle/styles.d.ts +0 -2
- package/dist/types-ts4.0/react/nodes/mention.d.ts +0 -13
- package/dist/types-ts4.0/react/nodes/orderedList.d.ts +0 -6
- package/dist/types-ts4.0/react/nodes/panel.d.ts +0 -17
- package/dist/types-ts4.0/react/nodes/paragraph.d.ts +0 -3
- package/dist/types-ts4.0/react/nodes/placeholder.d.ts +0 -6
- package/dist/types-ts4.0/react/nodes/rule.d.ts +0 -2
- package/dist/types-ts4.0/react/nodes/status.d.ts +0 -10
- package/dist/types-ts4.0/react/nodes/table/colgroup.d.ts +0 -3
- package/dist/types-ts4.0/react/nodes/table/sticky.d.ts +0 -38
- package/dist/types-ts4.0/react/nodes/table/table.d.ts +0 -7
- package/dist/types-ts4.0/react/nodes/table/types.d.ts +0 -7
- package/dist/types-ts4.0/react/nodes/table.d.ts +0 -269
- package/dist/types-ts4.0/react/nodes/tableCell.d.ts +0 -81
- package/dist/types-ts4.0/react/nodes/tableRow.d.ts +0 -24
- package/dist/types-ts4.0/react/nodes/task-item-with-providers.d.ts +0 -29
- package/dist/types-ts4.0/react/nodes/taskItem.d.ts +0 -19
- package/dist/types-ts4.0/react/nodes/taskList.d.ts +0 -8
- package/dist/types-ts4.0/react/nodes/text-wrapper.d.ts +0 -8
- package/dist/types-ts4.0/react/nodes/unknownBlock.d.ts +0 -2
- package/dist/types-ts4.0/react/renderer-node.d.ts +0 -4
- package/dist/types-ts4.0/react/types.d.ts +0 -57
- package/dist/types-ts4.0/react/utils/clipboard.d.ts +0 -1
- package/dist/types-ts4.0/react/utils/element-selection.d.ts +0 -9
- package/dist/types-ts4.0/react/utils/getCardClickHandler.d.ts +0 -2
- package/dist/types-ts4.0/react/utils/inject-props.d.ts +0 -6
- package/dist/types-ts4.0/react/utils/links.d.ts +0 -3
- package/dist/types-ts4.0/react/utils/lists.d.ts +0 -2
- package/dist/types-ts4.0/react/utils/performance/RenderTracking.d.ts +0 -15
- package/dist/types-ts4.0/react/utils/use-select-all-trap.d.ts +0 -2
- package/dist/types-ts4.0/render-document.d.ts +0 -23
- package/dist/types-ts4.0/renderer-context.d.ts +0 -9
- package/dist/types-ts4.0/serializer.d.ts +0 -4
- package/dist/types-ts4.0/steps/index.d.ts +0 -14
- package/dist/types-ts4.0/text/index.d.ts +0 -8
- package/dist/types-ts4.0/text/nodes/blockquote.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/bulletList.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/date.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/decisionItem.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/hardBreak.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/heading.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/index.d.ts +0 -6
- package/dist/types-ts4.0/text/nodes/inlineCard.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/listItem.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/mediaGroup.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/mention.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/orderedList.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/panel.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/paragraph.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/rule.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/status.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/table.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/taskItem.d.ts +0 -3
- package/dist/types-ts4.0/text/nodes/unknown.d.ts +0 -3
- package/dist/types-ts4.0/text-serializer.d.ts +0 -1
- package/dist/types-ts4.0/types/i18n.d.ts +0 -5
- package/dist/types-ts4.0/types/mediaOptions.d.ts +0 -12
- package/dist/types-ts4.0/types/smartLinksOptions.d.ts +0 -3
- package/dist/types-ts4.0/ui/Expand.d.ts +0 -21
- package/dist/types-ts4.0/ui/ExtensionRenderer.d.ts +0 -42
- package/dist/types-ts4.0/ui/MediaCard.d.ts +0 -77
- package/dist/types-ts4.0/ui/Renderer/ErrorBoundary.d.ts +0 -24
- package/dist/types-ts4.0/ui/Renderer/breakout-ssr.d.ts +0 -11
- package/dist/types-ts4.0/ui/Renderer/click-to-edit.d.ts +0 -6
- package/dist/types-ts4.0/ui/Renderer/index.d.ts +0 -33
- package/dist/types-ts4.0/ui/Renderer/style.d.ts +0 -14
- package/dist/types-ts4.0/ui/Renderer/truncated-wrapper.d.ts +0 -12
- package/dist/types-ts4.0/ui/Renderer/types.d.ts +0 -16
- package/dist/types-ts4.0/ui/RendererActionsContext/WithRendererActions.d.ts +0 -6
- package/dist/types-ts4.0/ui/RendererActionsContext/index.d.ts +0 -9
- package/dist/types-ts4.0/ui/SmartCardStorage.d.ts +0 -60
- package/dist/types-ts4.0/ui/SortingIcon.d.ts +0 -23
- package/dist/types-ts4.0/ui/TaskItemsFormatContext/TaskItemsFormatContext.d.ts +0 -15
- package/dist/types-ts4.0/ui/TaskItemsFormatContext/index.d.ts +0 -2
- package/dist/types-ts4.0/ui/active-header-id-provider.d.ts +0 -18
- package/dist/types-ts4.0/ui/annotations/context.d.ts +0 -27
- package/dist/types-ts4.0/ui/annotations/draft/component.d.ts +0 -20
- package/dist/types-ts4.0/ui/annotations/draft/dom.d.ts +0 -7
- package/dist/types-ts4.0/ui/annotations/draft/index.d.ts +0 -2
- package/dist/types-ts4.0/ui/annotations/draft/position.d.ts +0 -2
- package/dist/types-ts4.0/ui/annotations/draft/text.d.ts +0 -11
- package/dist/types-ts4.0/ui/annotations/element/index.d.ts +0 -10
- package/dist/types-ts4.0/ui/annotations/element/mark.d.ts +0 -14
- package/dist/types-ts4.0/ui/annotations/hooks/index.d.ts +0 -3
- package/dist/types-ts4.0/ui/annotations/hooks/use-events.d.ts +0 -18
- package/dist/types-ts4.0/ui/annotations/hooks/use-inline-comment-subscriber.d.ts +0 -1
- package/dist/types-ts4.0/ui/annotations/hooks/use-inline-comments-filter.d.ts +0 -9
- package/dist/types-ts4.0/ui/annotations/hooks/use-load-annotations.d.ts +0 -6
- package/dist/types-ts4.0/ui/annotations/hooks/user-selection.d.ts +0 -9
- package/dist/types-ts4.0/ui/annotations/hooks/utils.d.ts +0 -2
- package/dist/types-ts4.0/ui/annotations/index.d.ts +0 -5
- package/dist/types-ts4.0/ui/annotations/selection/index.d.ts +0 -1
- package/dist/types-ts4.0/ui/annotations/selection/mounter.d.ts +0 -20
- package/dist/types-ts4.0/ui/annotations/selection/range-validator.d.ts +0 -13
- package/dist/types-ts4.0/ui/annotations/selection/wrapper.d.ts +0 -8
- package/dist/types-ts4.0/ui/annotations/types.d.ts +0 -22
- package/dist/types-ts4.0/ui/annotations/view/index.d.ts +0 -7
- package/dist/types-ts4.0/ui/index.d.ts +0 -1
- package/dist/types-ts4.0/ui/renderer-props.d.ts +0 -100
- package/dist/types-ts4.0/use-feature-flags.d.ts +0 -2
- package/dist/types-ts4.0/utils.d.ts +0 -24
package/dist/es2019/version.json
CHANGED
|
@@ -50,7 +50,7 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
|
|
|
50
50
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
51
51
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
52
52
|
var packageName = "@atlaskit/renderer";
|
|
53
|
-
var packageVersion = "103.0.
|
|
53
|
+
var packageVersion = "103.0.2";
|
|
54
54
|
export var Renderer = /*#__PURE__*/function (_PureComponent) {
|
|
55
55
|
_inherits(Renderer, _PureComponent);
|
|
56
56
|
|
|
@@ -101,7 +101,7 @@ export var rendererStyles = function rendererStyles(wrapperProps) {
|
|
|
101
101
|
var themeProps = {
|
|
102
102
|
theme: theme
|
|
103
103
|
};
|
|
104
|
-
return css(_templateObject6 || (_templateObject6 = _taggedTemplateLiteral(["\n
|
|
104
|
+
return css(_templateObject6 || (_templateObject6 = _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: ", "px;\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: ", "px 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 width: 100% !important;\n left: 0 !important;\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: -ms-grid;\n display: grid;\n -ms-grid-columns: auto 1fr;\n /* stylelint-enable */\n\n grid-template-columns: minmax(0, 1fr);\n position: relative;\n border-radius: ", "px;\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 & > 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 }\n\n & .MediaGroup,\n & .code-block {\n margin-top: ", ";\n\n &:first-child {\n margin-top: 0;\n }\n\n &:hover button.copy-to-clipboard,\n .copy-to-clipboard:focus {\n opacity: 1;\n position: absolute;\n height: 32px;\n width: 32px;\n right: 6px;\n top: 4px;\n padding: 2px;\n }\n }\n\n ", "\n\n ", ";\n & [data-layout-section] {\n margin-top: ", "px;\n & > div + div {\n margin-left: ", "px;\n }\n\n @media screen and (max-width: ", "px) {\n & > div + div {\n margin-left: 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 }\n "])), editorFontSize(themeProps), themed({
|
|
105
105
|
light: token('color.text', colors.N800),
|
|
106
106
|
dark: token('color.text', '#B8C7E0')
|
|
107
107
|
})(themeProps), RendererCssClassName.DOCUMENT, fullPageStyles(wrapperProps, themeProps), fullWidthStyles(wrapperProps), headingAnchorStyle('h1'), headingAnchorStyle('h2'), headingAnchorStyle('h3'), headingAnchorStyle('h4'), headingAnchorStyle('h5'), headingAnchorStyle('h6'), token('color.link', colors.B400), token('color.link', colors.B300), token('color.link.pressed', colors.B500), colors.placeholderText(themeProps), whitespaceSharedStyles, blockquoteSharedStyles, headingsSharedStyles(themeProps), ruleSharedStyles(themeProps), paragraphSharedStyles, listsSharedStyles, indentationSharedStyles, blockMarksSharedStyles, codeMarkSharedStyles(themeProps), shadowSharedStyle, dateSharedStyle, textColorStyles, tasksAndDecisionsStyles, smartCardSharedStyles, fontFamily(), relativeFontSizeToBase16(fontSize()), themed({
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "103.0.
|
|
3
|
+
"version": "103.0.2",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -12,14 +12,6 @@
|
|
|
12
12
|
"module": "dist/esm/index.js",
|
|
13
13
|
"module:es2019": "dist/es2019/index.js",
|
|
14
14
|
"types": "dist/types/index.d.ts",
|
|
15
|
-
"typesVersions": {
|
|
16
|
-
">=4.0 <4.5": {
|
|
17
|
-
"*": [
|
|
18
|
-
"dist/types-ts4.0/*",
|
|
19
|
-
"dist/types-ts4.0/index.d.ts"
|
|
20
|
-
]
|
|
21
|
-
}
|
|
22
|
-
},
|
|
23
15
|
"sideEffects": false,
|
|
24
16
|
"atlaskit:src": "src/index.ts",
|
|
25
17
|
"atlassian": {
|
|
@@ -49,11 +41,11 @@
|
|
|
49
41
|
"@atlaskit/media-filmstrip": "^46.0.0",
|
|
50
42
|
"@atlaskit/media-ui": "^22.1.0",
|
|
51
43
|
"@atlaskit/media-viewer": "^47.1.0",
|
|
52
|
-
"@atlaskit/smart-card": "^23.
|
|
44
|
+
"@atlaskit/smart-card": "^23.4.0",
|
|
53
45
|
"@atlaskit/status": "^1.2.0",
|
|
54
46
|
"@atlaskit/task-decision": "^17.5.0",
|
|
55
47
|
"@atlaskit/theme": "^12.2.0",
|
|
56
|
-
"@atlaskit/tokens": "^0.
|
|
48
|
+
"@atlaskit/tokens": "^0.11.0",
|
|
57
49
|
"@atlaskit/tooltip": "^17.6.0",
|
|
58
50
|
"@babel/runtime": "^7.0.0",
|
|
59
51
|
"@emotion/react": "^11.7.1",
|
|
@@ -67,7 +59,7 @@
|
|
|
67
59
|
"uuid": "^3.1.0"
|
|
68
60
|
},
|
|
69
61
|
"peerDependencies": {
|
|
70
|
-
"@atlaskit/link-provider": "^1.3.
|
|
62
|
+
"@atlaskit/link-provider": "^1.3.4",
|
|
71
63
|
"@atlaskit/media-core": "^34.0.0",
|
|
72
64
|
"react": "^16.8.0",
|
|
73
65
|
"react-dom": "^16.8.0"
|
|
@@ -90,7 +82,7 @@
|
|
|
90
82
|
"@atlaskit/radio": "^5.4.0",
|
|
91
83
|
"@atlaskit/range": "^7.0.0",
|
|
92
84
|
"@atlaskit/ssr": "*",
|
|
93
|
-
"@atlaskit/util-data-test": "^17.
|
|
85
|
+
"@atlaskit/util-data-test": "^17.6.0",
|
|
94
86
|
"@atlaskit/visual-regression": "*",
|
|
95
87
|
"@atlaskit/webdriver-runner": "*",
|
|
96
88
|
"@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { JSONDocNode } from '@atlaskit/editor-json-transformer';
|
|
3
|
-
import type { AnnotationActionResult, AnnotationByMatches } from '@atlaskit/editor-common/types';
|
|
4
|
-
import { AnnotationTypes } from '@atlaskit/adf-schema';
|
|
5
|
-
import { Node, Schema, Mark } from 'prosemirror-model';
|
|
6
|
-
import { Step, RemoveMarkStep } from 'prosemirror-transform';
|
|
7
|
-
import { AnalyticsEventPayload } from '../analytics/events';
|
|
8
|
-
declare type ActionResult = {
|
|
9
|
-
step: Step;
|
|
10
|
-
doc: JSONDocNode;
|
|
11
|
-
} | false;
|
|
12
|
-
declare type Position = {
|
|
13
|
-
from: number;
|
|
14
|
-
to: number;
|
|
15
|
-
};
|
|
16
|
-
declare type Annotation = {
|
|
17
|
-
annotationId: string;
|
|
18
|
-
annotationType: AnnotationTypes;
|
|
19
|
-
};
|
|
20
|
-
export interface RendererActionsOptions {
|
|
21
|
-
annotate: (range: Range, annotationId: string, annotationType: 'inlineComment') => ActionResult;
|
|
22
|
-
deleteAnnotation: (annotationId: string, annotationType: 'inlineComment') => ActionResult;
|
|
23
|
-
isValidAnnotationRange: (range: Range) => boolean;
|
|
24
|
-
}
|
|
25
|
-
export declare type ApplyAnnotation = (pos: Position, annotation: Annotation) => AnnotationActionResult;
|
|
26
|
-
export interface AnnotationsRendererActionsOptions {
|
|
27
|
-
isValidAnnotationPosition: (pos: Position) => boolean;
|
|
28
|
-
applyAnnotation: ApplyAnnotation;
|
|
29
|
-
getAnnotationMarks: () => Mark[];
|
|
30
|
-
}
|
|
31
|
-
export interface PositionRendererActionsOptions {
|
|
32
|
-
getPositionFromRange: (range: Range) => Position | false;
|
|
33
|
-
}
|
|
34
|
-
export default class RendererActions implements RendererActionsOptions, AnnotationsRendererActionsOptions, PositionRendererActionsOptions {
|
|
35
|
-
private initFromContext;
|
|
36
|
-
private transformer;
|
|
37
|
-
private doc?;
|
|
38
|
-
private schema?;
|
|
39
|
-
private ref?;
|
|
40
|
-
private onAnalyticsEvent?;
|
|
41
|
-
constructor(initFromContext?: boolean);
|
|
42
|
-
_privateRegisterRenderer(ref: React.MutableRefObject<null>, doc: Node, schema: Schema, onAnalyticsEvent?: (event: AnalyticsEventPayload) => void): void;
|
|
43
|
-
_privateUnregisterRenderer(): void;
|
|
44
|
-
/**
|
|
45
|
-
* Validate whether we can create an annotation between two positions
|
|
46
|
-
*/
|
|
47
|
-
_privateValidatePositionsForAnnotation(from: number, to: number): boolean;
|
|
48
|
-
deleteAnnotation(annotationId: string, annotationType: 'inlineComment'): false | {
|
|
49
|
-
step: RemoveMarkStep<Schema<any, any>>;
|
|
50
|
-
doc: JSONDocNode;
|
|
51
|
-
};
|
|
52
|
-
annotate(range: Range, annotationId: string, annotationType: 'inlineComment'): AnnotationActionResult;
|
|
53
|
-
isValidAnnotationRange(range: Range): boolean;
|
|
54
|
-
isValidAnnotationPosition(pos: Position): boolean;
|
|
55
|
-
getPositionFromRange(range: Range): Position | false;
|
|
56
|
-
getAnnotationMarks(): Mark<any>[];
|
|
57
|
-
getAnnotationsByPosition(range: Range): string[];
|
|
58
|
-
applyAnnotation(pos: Position, annotation: Annotation): AnnotationActionResult;
|
|
59
|
-
generateAnnotationIndexMatch(pos: Position): AnnotationByMatches | false;
|
|
60
|
-
}
|
|
61
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Node, Schema } from 'prosemirror-model';
|
|
2
|
-
export declare function getIndexMatch(doc: Node, schema: Schema, selectedText: string, startIndex: number): {
|
|
3
|
-
numMatches: number;
|
|
4
|
-
matchIndex: number;
|
|
5
|
-
textContent: string;
|
|
6
|
-
};
|
|
7
|
-
export declare function countMatches(searchString: string, query: string): number;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { RendererActionsContext, RendererActionsContextConsumer } from './ui/RendererActionsContext';
|
|
2
|
-
import { WithRendererActions } from './ui/RendererActionsContext/WithRendererActions';
|
|
3
|
-
export { RendererActionsContext, RendererActionsContextConsumer, WithRendererActions, };
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export declare enum EVENT_TYPE {
|
|
2
|
-
OPERATIONAL = "operational",
|
|
3
|
-
SCREEN = "screen",
|
|
4
|
-
TRACK = "track",
|
|
5
|
-
UI = "ui"
|
|
6
|
-
}
|
|
7
|
-
export declare enum ACTION {
|
|
8
|
-
STARTED = "started",
|
|
9
|
-
RENDERED = "rendered",
|
|
10
|
-
RE_RENDERED = "reRendered",
|
|
11
|
-
RENDERER_TTI = "tti",
|
|
12
|
-
CRASHED = "unhandledErrorCaught",
|
|
13
|
-
INVALID_PROSEMIRROR_DOCUMENT = "invalidProsemirrorDocument",
|
|
14
|
-
SELECT_ALL_CAUGHT = "selectAllCaught",
|
|
15
|
-
SELECT_ALL_ESCAPED = "selectAllEscaped",
|
|
16
|
-
CLICKED = "clicked",
|
|
17
|
-
VIEWED = "viewed",
|
|
18
|
-
VISITED = "visited",
|
|
19
|
-
SORT_COLUMN = "sortedColumn",
|
|
20
|
-
SORT_COLUMN_NOT_ALLOWED = "sortColumnNotAllowed",
|
|
21
|
-
TOGGLE_EXPAND = "toggleExpand",
|
|
22
|
-
INSERTED = "inserted",
|
|
23
|
-
OPENED = "opened",
|
|
24
|
-
CLOSED = "closed",
|
|
25
|
-
DELETED = "deleted",
|
|
26
|
-
EDITED = "edited",
|
|
27
|
-
RESOLVED = "resolved",
|
|
28
|
-
CREATE_NOT_ALLOWED = "createNotAllowed",
|
|
29
|
-
UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED = "unsupportedContentLevelsTrackingSucceeded",
|
|
30
|
-
UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED = "unsupportedContentLevelsTrackingErrored",
|
|
31
|
-
MEDIA_LINK_TRANSFORMED = "mediaLinkTransformed"
|
|
32
|
-
}
|
|
33
|
-
export declare enum ACTION_SUBJECT {
|
|
34
|
-
RENDERER = "renderer",
|
|
35
|
-
BUTTON = "button",
|
|
36
|
-
ANCHOR_LINK = "anchorLink",
|
|
37
|
-
TABLE = "table",
|
|
38
|
-
EXPAND = "expand",
|
|
39
|
-
NESTED_EXPAND = "nestedExpand",
|
|
40
|
-
MEDIA_SINGLE = "mediaSingle",
|
|
41
|
-
LINK = "link",
|
|
42
|
-
ANNOTATION = "annotation",
|
|
43
|
-
MEDIA = "media"
|
|
44
|
-
}
|
|
45
|
-
export declare enum ACTION_SUBJECT_ID {
|
|
46
|
-
HEADING_ANCHOR_LINK = "headingAnchorLink",
|
|
47
|
-
LINK = "link",
|
|
48
|
-
INLINE_COMMENT = "inlineComment"
|
|
49
|
-
}
|
|
50
|
-
export declare type AEP<Action, ActionSubject, ActionSubjectID, Attributes, EventType> = {
|
|
51
|
-
action: Action;
|
|
52
|
-
actionSubject: ActionSubject;
|
|
53
|
-
actionSubjectId?: ActionSubjectID;
|
|
54
|
-
attributes?: Attributes;
|
|
55
|
-
eventType: EventType;
|
|
56
|
-
};
|
|
@@ -1,110 +0,0 @@
|
|
|
1
|
-
import { ACTION, ACTION_SUBJECT, AEP, EVENT_TYPE, ACTION_SUBJECT_ID } from './enums';
|
|
2
|
-
import { PropsDifference, SEVERITY, ShallowPropsDifference, UNSUPPORTED_CONTENT_LEVEL_SEVERITY } from '@atlaskit/editor-common/utils';
|
|
3
|
-
import type { UnsupportedContentPayload, UnsupportedContentTooltipPayload } from '@atlaskit/editor-common/utils';
|
|
4
|
-
import { SortOrder } from '@atlaskit/editor-common/types';
|
|
5
|
-
export declare enum PLATFORM {
|
|
6
|
-
NATIVE = "mobileNative",
|
|
7
|
-
HYBRID = "mobileHybrid",
|
|
8
|
-
WEB = "web"
|
|
9
|
-
}
|
|
10
|
-
export declare enum MODE {
|
|
11
|
-
RENDERER = "renderer",
|
|
12
|
-
EDITOR = "editor"
|
|
13
|
-
}
|
|
14
|
-
declare type RendererStartAEP = AEP<ACTION.STARTED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
15
|
-
platform: PLATFORM.WEB;
|
|
16
|
-
}, EVENT_TYPE.UI>;
|
|
17
|
-
declare type RendererRenderedAEP = AEP<ACTION.RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
18
|
-
platform: PLATFORM.WEB;
|
|
19
|
-
duration: number;
|
|
20
|
-
ttfb?: number;
|
|
21
|
-
nodes: Record<string, number>;
|
|
22
|
-
severity?: SEVERITY;
|
|
23
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
24
|
-
declare type RendererReRenderedAEP<Props> = AEP<ACTION.RE_RENDERED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
25
|
-
propsDifference: PropsDifference<Props> | ShallowPropsDifference<Props>;
|
|
26
|
-
count: number;
|
|
27
|
-
componentId?: string;
|
|
28
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
29
|
-
export declare type ComponentCrashErrorAEP = AEP<ACTION.CRASHED, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
|
|
30
|
-
platform: PLATFORM.WEB;
|
|
31
|
-
errorMessage?: string;
|
|
32
|
-
errorStack?: string;
|
|
33
|
-
componentStack?: string;
|
|
34
|
-
errorRethrown?: boolean;
|
|
35
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
36
|
-
declare type InvalidProsemirrorDocumentErrorAEP = AEP<ACTION.INVALID_PROSEMIRROR_DOCUMENT, ACTION_SUBJECT.RENDERER, ACTION_SUBJECT_ID, {
|
|
37
|
-
platform: PLATFORM.WEB;
|
|
38
|
-
errorStack?: string;
|
|
39
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
40
|
-
declare type RendererUnsupportedContentLevelsTrackingSucceeded = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
41
|
-
appearance?: string;
|
|
42
|
-
platform: PLATFORM.WEB;
|
|
43
|
-
unsupportedContentLevelSeverity: UNSUPPORTED_CONTENT_LEVEL_SEVERITY;
|
|
44
|
-
unsupportedContentLevelPercentage: number;
|
|
45
|
-
unsupportedNodesCount: number;
|
|
46
|
-
supportedNodesCount: number;
|
|
47
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
48
|
-
declare type RendererUnsupportedContentLevelsTrackingErrored = AEP<ACTION.UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
49
|
-
platform: PLATFORM.WEB;
|
|
50
|
-
error: string;
|
|
51
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
52
|
-
declare type RendererSelectAllCaughtAEP = AEP<ACTION.SELECT_ALL_CAUGHT, ACTION_SUBJECT.RENDERER, undefined, {
|
|
53
|
-
platform: PLATFORM.WEB;
|
|
54
|
-
}, EVENT_TYPE.TRACK>;
|
|
55
|
-
declare type RendererSelectAllEscapedAEP = AEP<ACTION.SELECT_ALL_ESCAPED, ACTION_SUBJECT.RENDERER, undefined, {
|
|
56
|
-
platform: PLATFORM.WEB;
|
|
57
|
-
}, EVENT_TYPE.TRACK>;
|
|
58
|
-
declare type UIAEP<Action, ActionSubject, ActionSubjectID, Attributes> = AEP<Action, ActionSubject, ActionSubjectID, Attributes, EVENT_TYPE.UI>;
|
|
59
|
-
declare type ButtonAEP<ActionSubjectID, Attributes> = UIAEP<ACTION.CLICKED, ACTION_SUBJECT.BUTTON, ActionSubjectID, Attributes>;
|
|
60
|
-
declare type AnchorLinkAEP = UIAEP<ACTION.VIEWED, ACTION_SUBJECT.ANCHOR_LINK, undefined, {
|
|
61
|
-
platform: PLATFORM.WEB;
|
|
62
|
-
mode: MODE.RENDERER;
|
|
63
|
-
}>;
|
|
64
|
-
declare type HeadingAnchorLinkButtonAEP = ButtonAEP<ACTION_SUBJECT_ID.HEADING_ANCHOR_LINK, undefined>;
|
|
65
|
-
declare type TableSortColumnNotAllowedAEP = AEP<ACTION.SORT_COLUMN_NOT_ALLOWED, ACTION_SUBJECT.TABLE, undefined, {
|
|
66
|
-
platform: PLATFORM.WEB;
|
|
67
|
-
mode: MODE.RENDERER;
|
|
68
|
-
}, EVENT_TYPE.TRACK>;
|
|
69
|
-
declare type TableSortColumnAEP = AEP<ACTION.SORT_COLUMN, ACTION_SUBJECT.TABLE, undefined, {
|
|
70
|
-
platform: PLATFORM.WEB;
|
|
71
|
-
mode: MODE.RENDERER;
|
|
72
|
-
sortOrder: SortOrder;
|
|
73
|
-
columnIndex: number;
|
|
74
|
-
}, EVENT_TYPE.TRACK>;
|
|
75
|
-
declare type VisitLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.LINK, undefined, {
|
|
76
|
-
platform: PLATFORM.WEB;
|
|
77
|
-
mode: MODE.RENDERER;
|
|
78
|
-
}, EVENT_TYPE.TRACK>;
|
|
79
|
-
declare type VisitMediaLinkAEP = AEP<ACTION.VISITED, ACTION_SUBJECT.MEDIA, ACTION_SUBJECT_ID.LINK, {
|
|
80
|
-
platform: PLATFORM.WEB;
|
|
81
|
-
mode: MODE.RENDERER;
|
|
82
|
-
}, EVENT_TYPE.TRACK>;
|
|
83
|
-
declare type ExpandAEP = AEP<ACTION.TOGGLE_EXPAND, ACTION_SUBJECT.EXPAND | ACTION_SUBJECT.NESTED_EXPAND, undefined, {
|
|
84
|
-
platform: PLATFORM.WEB;
|
|
85
|
-
mode: MODE.RENDERER;
|
|
86
|
-
expanded: boolean;
|
|
87
|
-
}, EVENT_TYPE.TRACK>;
|
|
88
|
-
export declare type AnnotationActionType = ACTION.INSERTED | ACTION.CLOSED | ACTION.EDITED | ACTION.DELETED | ACTION.OPENED | ACTION.RESOLVED | ACTION.VIEWED | ACTION.CREATE_NOT_ALLOWED;
|
|
89
|
-
export declare type AnnotationAEPAttributes = AnnotationDraftAEPAttributes | AnnotationResolvedAEPAttributes;
|
|
90
|
-
export declare type AnnotationDraftAEPAttributes = {
|
|
91
|
-
overlap?: number;
|
|
92
|
-
};
|
|
93
|
-
export declare type AnnotationResolvedAEPAttributes = {
|
|
94
|
-
method?: RESOLVE_METHOD;
|
|
95
|
-
};
|
|
96
|
-
export declare type AnnotationDeleteAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID, undefined, EVENT_TYPE.TRACK>;
|
|
97
|
-
export declare enum RESOLVE_METHOD {
|
|
98
|
-
COMPONENT = "component",
|
|
99
|
-
CONSUMER = "consumer",
|
|
100
|
-
ORPHANED = "orphaned"
|
|
101
|
-
}
|
|
102
|
-
export declare type AnnotationAEP = AEP<AnnotationActionType, ACTION_SUBJECT.ANNOTATION, ACTION_SUBJECT_ID.INLINE_COMMENT, AnnotationAEPAttributes, undefined>;
|
|
103
|
-
declare type MediaLnkTransformedAEP = AEP<ACTION.MEDIA_LINK_TRANSFORMED, ACTION_SUBJECT.RENDERER, undefined, undefined, EVENT_TYPE.OPERATIONAL>;
|
|
104
|
-
declare type RendererTTIAEP = AEP<ACTION.RENDERER_TTI, ACTION_SUBJECT.RENDERER, undefined, {
|
|
105
|
-
tti: number;
|
|
106
|
-
ttiFromInvocation: number;
|
|
107
|
-
canceled: boolean;
|
|
108
|
-
}, EVENT_TYPE.OPERATIONAL>;
|
|
109
|
-
export declare type AnalyticsEventPayload<T = void> = RendererStartAEP | RendererRenderedAEP | RendererReRenderedAEP<T> | ComponentCrashErrorAEP | RendererUnsupportedContentLevelsTrackingSucceeded | RendererUnsupportedContentLevelsTrackingErrored | RendererSelectAllCaughtAEP | RendererSelectAllEscapedAEP | HeadingAnchorLinkButtonAEP | AnchorLinkAEP | TableSortColumnNotAllowedAEP | TableSortColumnAEP | VisitLinkAEP | VisitMediaLinkAEP | ExpandAEP | UnsupportedContentPayload | UnsupportedContentTooltipPayload | AnnotationAEP | AnnotationDeleteAEP | MediaLnkTransformedAEP | InvalidProsemirrorDocumentErrorAEP | RendererTTIAEP;
|
|
110
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { UnsupportedContentLevelsTracking } from '@atlaskit/editor-common/utils';
|
|
2
|
-
import { AnalyticsEventPayload } from './events';
|
|
3
|
-
declare type DispatchAnalyticsEvent = (event: AnalyticsEventPayload) => void;
|
|
4
|
-
declare type DocumentData = {
|
|
5
|
-
rendererId: string;
|
|
6
|
-
doc: any;
|
|
7
|
-
appearance?: string;
|
|
8
|
-
};
|
|
9
|
-
export declare const trackUnsupportedContentLevels: (item: DocumentData, trackingOptions: UnsupportedContentLevelsTracking, dispatchAnalyticsEvent: DispatchAnalyticsEvent) => void;
|
|
10
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export declare const RendererCssClassName: {
|
|
2
|
-
DOCUMENT: string;
|
|
3
|
-
EXTENSION: string;
|
|
4
|
-
EXTENSION_CENTER_ALIGN: string;
|
|
5
|
-
EXTENSION_OVERFLOW_CONTAINER: string;
|
|
6
|
-
NUMBER_COLUMN: string;
|
|
7
|
-
SORTABLE_COLUMN_WRAPPER: string;
|
|
8
|
-
SORTABLE_COLUMN: string;
|
|
9
|
-
SORTABLE_COLUMN_ICON_WRAPPER: string;
|
|
10
|
-
SORTABLE_COLUMN_ICON: string;
|
|
11
|
-
SORTABLE_COLUMN_NO_ORDER: string;
|
|
12
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
|
-
'fabric.editor.headingLink.copied': string;
|
|
5
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
6
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
7
|
-
'fabric.editor.headingLink.descOrderLabel': string;
|
|
8
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
10
|
-
'fabric.editor.headingLink.invalidLabel': string;
|
|
11
|
-
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
|
-
};
|
|
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
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
|
-
'fabric.editor.headingLink.copied': string;
|
|
5
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
6
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
7
|
-
'fabric.editor.headingLink.descOrderLabel': string;
|
|
8
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
10
|
-
'fabric.editor.headingLink.invalidLabel': string;
|
|
11
|
-
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
|
-
};
|
|
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
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
|
-
'fabric.editor.headingLink.copied': string;
|
|
5
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
6
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
7
|
-
'fabric.editor.headingLink.descOrderLabel': string;
|
|
8
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
10
|
-
'fabric.editor.headingLink.invalidLabel': string;
|
|
11
|
-
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
|
-
};
|
|
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
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
|
-
'fabric.editor.headingLink.copied': string;
|
|
5
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
6
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
7
|
-
'fabric.editor.headingLink.descOrderLabel': string;
|
|
8
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
10
|
-
'fabric.editor.headingLink.invalidLabel': string;
|
|
11
|
-
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
|
-
};
|
|
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
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
|
-
'fabric.editor.headingLink.copied': string;
|
|
5
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
6
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
7
|
-
'fabric.editor.headingLink.descOrderLabel': string;
|
|
8
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
10
|
-
'fabric.editor.headingLink.invalidLabel': string;
|
|
11
|
-
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
|
-
};
|
|
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
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.editor.codeBlockCopyButton.copiedToClipboard': string;
|
|
3
|
-
'fabric.editor.codeBlockCopyButton.copyToClipboard': string;
|
|
4
|
-
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
5
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
6
|
-
'fabric.editor.headingLink.copied': string;
|
|
7
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
8
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.descOrderLabel': string;
|
|
10
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
11
|
-
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
|
-
};
|
|
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
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
|
-
'fabric.editor.headingLink.copied': string;
|
|
5
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
6
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
7
|
-
'fabric.editor.headingLink.descOrderLabel': string;
|
|
8
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
10
|
-
'fabric.editor.headingLink.invalidLabel': string;
|
|
11
|
-
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
|
-
};
|
|
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
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
|
-
'fabric.editor.headingLink.copied': string;
|
|
5
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
6
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
7
|
-
'fabric.editor.headingLink.descOrderLabel': string;
|
|
8
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
10
|
-
'fabric.editor.headingLink.invalidLabel': string;
|
|
11
|
-
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
|
-
};
|
|
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
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
|
-
'fabric.editor.headingLink.copied': string;
|
|
5
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
6
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
7
|
-
'fabric.editor.headingLink.descOrderLabel': string;
|
|
8
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
10
|
-
'fabric.editor.headingLink.invalidLabel': string;
|
|
11
|
-
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
|
-
};
|
|
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
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
'fabric.editor.headingLink.ascOrderLabel': string;
|
|
3
|
-
'fabric.editor.headingLink.ascSortingLabel': string;
|
|
4
|
-
'fabric.editor.headingLink.copied': string;
|
|
5
|
-
'fabric.editor.headingLink.copyAnchorLink': string;
|
|
6
|
-
'fabric.editor.headingLink.copyAriaLabel': string;
|
|
7
|
-
'fabric.editor.headingLink.descOrderLabel': string;
|
|
8
|
-
'fabric.editor.headingLink.descSortingLabel': string;
|
|
9
|
-
'fabric.editor.headingLink.failedToCopy': string;
|
|
10
|
-
'fabric.editor.headingLink.invalidLabel': string;
|
|
11
|
-
'fabric.editor.headingLink.noOrderLabel': string;
|
|
12
|
-
'fabric.editor.headingLink.noneSortingLabel': string;
|
|
13
|
-
};
|
|
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
|
-
export default _default;
|