@atlaskit/renderer 107.3.3 → 108.0.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 +18 -0
- package/dist/cjs/actions/index.js +3 -4
- package/dist/cjs/analytics/enums.js +16 -16
- package/dist/cjs/analytics/events.js +12 -12
- package/dist/cjs/i18n/cs.js +1 -0
- package/dist/cjs/i18n/da.js +1 -0
- package/dist/cjs/i18n/de.js +1 -0
- package/dist/cjs/i18n/en.js +1 -0
- package/dist/cjs/i18n/en_GB.js +1 -0
- package/dist/cjs/i18n/en_ZZ.js +5 -4
- package/dist/cjs/i18n/es.js +1 -0
- package/dist/cjs/i18n/fi.js +1 -0
- package/dist/cjs/i18n/fr.js +1 -0
- package/dist/cjs/i18n/hu.js +1 -0
- package/dist/cjs/i18n/it.js +1 -0
- package/dist/cjs/i18n/ja.js +1 -0
- package/dist/cjs/i18n/ko.js +1 -0
- package/dist/cjs/i18n/nb.js +1 -0
- package/dist/cjs/i18n/nl.js +1 -0
- package/dist/cjs/i18n/pl.js +1 -0
- package/dist/cjs/i18n/pt_BR.js +1 -0
- package/dist/cjs/i18n/ru.js +1 -0
- package/dist/cjs/i18n/sv.js +1 -0
- package/dist/cjs/i18n/th.js +1 -0
- package/dist/cjs/i18n/tr.js +1 -0
- package/dist/cjs/i18n/uk.js +1 -0
- package/dist/cjs/i18n/vi.js +1 -0
- package/dist/cjs/i18n/zh.js +1 -0
- package/dist/cjs/i18n/zh_TW.js +1 -0
- package/dist/cjs/react/hooks/use-in-viewport.js +1 -1
- package/dist/cjs/react/hooks/use-observed-width.js +1 -1
- package/dist/cjs/react/index.js +8 -9
- package/dist/cjs/react/nodes/codeBlock/windowedCodeBlock.js +12 -13
- package/dist/cjs/react/nodes/heading-anchor.js +21 -24
- package/dist/cjs/react/nodes/index.js +38 -19
- package/dist/cjs/react/nodes/mediaInline.js +17 -19
- package/dist/cjs/react/nodes/table.js +3 -3
- package/dist/cjs/react/nodes/task-item-with-providers.js +34 -36
- package/dist/cjs/ui/MediaCard.js +82 -87
- package/dist/cjs/ui/Renderer/index.js +5 -6
- package/dist/cjs/ui/Renderer/style.js +7 -4
- package/dist/cjs/ui/SortingIcon.js +4 -4
- package/dist/cjs/ui/annotations/types.js +4 -4
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/actions/index.js +3 -4
- package/dist/es2019/analytics/enums.js +12 -12
- package/dist/es2019/analytics/events.js +9 -9
- package/dist/es2019/i18n/cs.js +1 -0
- package/dist/es2019/i18n/da.js +1 -0
- package/dist/es2019/i18n/de.js +1 -0
- package/dist/es2019/i18n/en.js +1 -0
- package/dist/es2019/i18n/en_GB.js +1 -0
- package/dist/es2019/i18n/en_ZZ.js +5 -4
- package/dist/es2019/i18n/es.js +1 -0
- package/dist/es2019/i18n/fi.js +1 -0
- package/dist/es2019/i18n/fr.js +1 -0
- package/dist/es2019/i18n/hu.js +1 -0
- package/dist/es2019/i18n/it.js +1 -0
- package/dist/es2019/i18n/ja.js +1 -0
- package/dist/es2019/i18n/ko.js +1 -0
- package/dist/es2019/i18n/nb.js +1 -0
- package/dist/es2019/i18n/nl.js +1 -0
- package/dist/es2019/i18n/pl.js +1 -0
- package/dist/es2019/i18n/pt_BR.js +1 -0
- package/dist/es2019/i18n/ru.js +1 -0
- package/dist/es2019/i18n/sv.js +1 -0
- package/dist/es2019/i18n/th.js +1 -0
- package/dist/es2019/i18n/tr.js +1 -0
- package/dist/es2019/i18n/uk.js +1 -0
- package/dist/es2019/i18n/vi.js +1 -0
- package/dist/es2019/i18n/zh.js +1 -0
- package/dist/es2019/i18n/zh_TW.js +1 -0
- package/dist/es2019/react/index.js +8 -9
- package/dist/es2019/react/nodes/table.js +3 -4
- package/dist/es2019/ui/MediaCard.js +6 -8
- package/dist/es2019/ui/Renderer/index.js +5 -6
- package/dist/es2019/ui/Renderer/style.js +7 -4
- package/dist/es2019/ui/SortingIcon.js +3 -3
- package/dist/es2019/ui/annotations/types.js +3 -3
- package/dist/es2019/version.json +1 -1
- package/dist/esm/actions/index.js +3 -4
- package/dist/esm/analytics/enums.js +12 -12
- package/dist/esm/analytics/events.js +9 -9
- package/dist/esm/i18n/cs.js +1 -0
- package/dist/esm/i18n/da.js +1 -0
- package/dist/esm/i18n/de.js +1 -0
- package/dist/esm/i18n/en.js +1 -0
- package/dist/esm/i18n/en_GB.js +1 -0
- package/dist/esm/i18n/en_ZZ.js +5 -4
- package/dist/esm/i18n/es.js +1 -0
- package/dist/esm/i18n/fi.js +1 -0
- package/dist/esm/i18n/fr.js +1 -0
- package/dist/esm/i18n/hu.js +1 -0
- package/dist/esm/i18n/it.js +1 -0
- package/dist/esm/i18n/ja.js +1 -0
- package/dist/esm/i18n/ko.js +1 -0
- package/dist/esm/i18n/nb.js +1 -0
- package/dist/esm/i18n/nl.js +1 -0
- package/dist/esm/i18n/pl.js +1 -0
- package/dist/esm/i18n/pt_BR.js +1 -0
- package/dist/esm/i18n/ru.js +1 -0
- package/dist/esm/i18n/sv.js +1 -0
- package/dist/esm/i18n/th.js +1 -0
- package/dist/esm/i18n/tr.js +1 -0
- package/dist/esm/i18n/uk.js +1 -0
- package/dist/esm/i18n/vi.js +1 -0
- package/dist/esm/i18n/zh.js +1 -0
- package/dist/esm/i18n/zh_TW.js +1 -0
- package/dist/esm/react/hooks/use-in-viewport.js +1 -1
- package/dist/esm/react/hooks/use-observed-width.js +1 -1
- package/dist/esm/react/index.js +8 -9
- package/dist/esm/react/nodes/codeBlock/windowedCodeBlock.js +10 -13
- package/dist/esm/react/nodes/heading-anchor.js +21 -24
- package/dist/esm/react/nodes/mediaInline.js +17 -20
- package/dist/esm/react/nodes/table.js +3 -3
- package/dist/esm/react/nodes/task-item-with-providers.js +34 -37
- package/dist/esm/ui/MediaCard.js +82 -88
- package/dist/esm/ui/Renderer/index.js +5 -6
- package/dist/esm/ui/Renderer/style.js +8 -5
- package/dist/esm/ui/SortingIcon.js +3 -3
- package/dist/esm/ui/annotations/types.js +3 -3
- package/dist/esm/version.json +1 -1
- package/dist/types/i18n/en_ZZ.d.ts +2 -2
- package/package.json +41 -41
- package/report.api.md +1 -1
package/dist/es2019/i18n/ru.js
CHANGED
package/dist/es2019/i18n/sv.js
CHANGED
package/dist/es2019/i18n/th.js
CHANGED
package/dist/es2019/i18n/tr.js
CHANGED
package/dist/es2019/i18n/uk.js
CHANGED
package/dist/es2019/i18n/vi.js
CHANGED
package/dist/es2019/i18n/zh.js
CHANGED
|
@@ -24,17 +24,16 @@ function mergeMarks(marksAndNodes) {
|
|
|
24
24
|
}, []);
|
|
25
25
|
}
|
|
26
26
|
export default class ReactSerializer {
|
|
27
|
-
/**
|
|
28
|
-
* The reason we have this extra array here is because we need to generate the same unique
|
|
29
|
-
* heading id for 2 different nodes: headers and expands (check the implementation of
|
|
30
|
-
* `getUniqueHeadingId` for more info).
|
|
31
|
-
*
|
|
32
|
-
* We will eventually need to refactor the current approach to generate unique ids
|
|
33
|
-
* for headers under this ticket -> https://product-fabric.atlassian.net/browse/ED-9668
|
|
34
|
-
*/
|
|
35
|
-
|
|
36
27
|
constructor(init) {
|
|
37
28
|
_defineProperty(this, "headingIds", []);
|
|
29
|
+
/**
|
|
30
|
+
* The reason we have this extra array here is because we need to generate the same unique
|
|
31
|
+
* heading id for 2 different nodes: headers and expands (check the implementation of
|
|
32
|
+
* `getUniqueHeadingId` for more info).
|
|
33
|
+
*
|
|
34
|
+
* We will eventually need to refactor the current approach to generate unique ids
|
|
35
|
+
* for headers under this ticket -> https://product-fabric.atlassian.net/browse/ED-9668
|
|
36
|
+
*/
|
|
38
37
|
_defineProperty(this, "expandHeadingIds", []);
|
|
39
38
|
_defineProperty(this, "allowCopyToClipboard", false);
|
|
40
39
|
_defineProperty(this, "allowWrapCodeBlock", false);
|
|
@@ -90,6 +90,7 @@ export class TableContainer extends React.Component {
|
|
|
90
90
|
});
|
|
91
91
|
_defineProperty(this, "tableRef", /*#__PURE__*/React.createRef());
|
|
92
92
|
_defineProperty(this, "stickyHeaderRef", /*#__PURE__*/React.createRef());
|
|
93
|
+
// used for sync scroll + copying wrapper width to sticky header
|
|
93
94
|
_defineProperty(this, "stickyWrapperRef", /*#__PURE__*/React.createRef());
|
|
94
95
|
_defineProperty(this, "wrapperRef", /*#__PURE__*/React.createRef());
|
|
95
96
|
_defineProperty(this, "overflowParent", null);
|
|
@@ -153,7 +154,7 @@ export class TableContainer extends React.Component {
|
|
|
153
154
|
return child;
|
|
154
155
|
});
|
|
155
156
|
});
|
|
156
|
-
}
|
|
157
|
+
}
|
|
157
158
|
componentDidMount() {
|
|
158
159
|
if (this.props.stickyHeaders) {
|
|
159
160
|
this.overflowParent = OverflowParent.fromElement(this.tableRef.current);
|
|
@@ -260,6 +261,7 @@ export class TableProcessor extends React.Component {
|
|
|
260
261
|
_defineProperty(this, "state", {
|
|
261
262
|
tableOrderStatus: undefined
|
|
262
263
|
});
|
|
264
|
+
// adds sortable + re-orders children
|
|
263
265
|
_defineProperty(this, "addSortableColumn", childrenArray => {
|
|
264
266
|
const {
|
|
265
267
|
tableNode,
|
|
@@ -306,10 +308,7 @@ export class TableProcessor extends React.Component {
|
|
|
306
308
|
const orderedChildren = compose(this.addNumberColumnIndexes, this.addSortableColumn)(childrenArray);
|
|
307
309
|
return /*#__PURE__*/React.createElement(TableContainer, this.props, orderedChildren);
|
|
308
310
|
}
|
|
309
|
-
|
|
310
|
-
// adds sortable + re-orders children
|
|
311
311
|
}
|
|
312
|
-
|
|
313
312
|
const TableWithShadows = overflowShadow(TableProcessor, {
|
|
314
313
|
overflowSelector: `.${TableSharedCssClassName.TABLE_NODE_WRAPPER}`,
|
|
315
314
|
useShadowObserver: true
|
|
@@ -62,6 +62,12 @@ export class MediaCardInternal extends Component {
|
|
|
62
62
|
dimensions: cardDimensions
|
|
63
63
|
});
|
|
64
64
|
});
|
|
65
|
+
/**
|
|
66
|
+
* We want to call provided `eventHandlers.media.onClick` when it's provided,
|
|
67
|
+
* but we also don't want to call it when it's a video and inline video player is enabled.
|
|
68
|
+
* This is due to consumers normally process this onClick call by opening media viewer and
|
|
69
|
+
* we don't want that to happened described above text.
|
|
70
|
+
*/
|
|
65
71
|
_defineProperty(this, "getOnCardClickCallback", isInlinePlayer => {
|
|
66
72
|
const {
|
|
67
73
|
eventHandlers
|
|
@@ -179,14 +185,6 @@ export class MediaCardInternal extends Component {
|
|
|
179
185
|
ssr: ssr === null || ssr === void 0 ? void 0 : ssr.mode
|
|
180
186
|
});
|
|
181
187
|
}
|
|
182
|
-
|
|
183
|
-
/**
|
|
184
|
-
* We want to call provided `eventHandlers.media.onClick` when it's provided,
|
|
185
|
-
* but we also don't want to call it when it's a video and inline video player is enabled.
|
|
186
|
-
* This is due to consumers normally process this onClick call by opening media viewer and
|
|
187
|
-
* we don't want that to happened described above text.
|
|
188
|
-
*/
|
|
189
|
-
|
|
190
188
|
render() {
|
|
191
189
|
const {
|
|
192
190
|
contextIdentifierProvider,
|
|
@@ -35,15 +35,14 @@ import { RenderTracking } from '../../react/utils/performance/RenderTracking';
|
|
|
35
35
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
36
36
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
37
37
|
const packageName = "@atlaskit/renderer";
|
|
38
|
-
const packageVersion = "
|
|
38
|
+
const packageVersion = "108.0.0";
|
|
39
39
|
export class Renderer extends PureComponent {
|
|
40
|
-
/**
|
|
41
|
-
* This is used in measuring the Renderer Mount time and is then
|
|
42
|
-
* deleted once that measurement occurs.
|
|
43
|
-
*/
|
|
44
|
-
|
|
45
40
|
constructor(props) {
|
|
46
41
|
super(props);
|
|
42
|
+
/**
|
|
43
|
+
* This is used in measuring the Renderer Mount time and is then
|
|
44
|
+
* deleted once that measurement occurs.
|
|
45
|
+
*/
|
|
47
46
|
_defineProperty(this, "renderedMeasurementDistortedDurationMonitor", getDistortedDurationMonitor());
|
|
48
47
|
_defineProperty(this, "featureFlags", memoizeOne(featureFlags => {
|
|
49
48
|
const normalizedFeatureFlags = normalizeFeatureFlags(featureFlags, {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { css } from '@emotion/react';
|
|
2
2
|
import { themed } from '@atlaskit/theme/components';
|
|
3
|
-
import { gridSize, fontFamily, fontSize
|
|
3
|
+
import { gridSize, fontFamily, fontSize } from '@atlaskit/theme/constants';
|
|
4
4
|
import * as colors from '@atlaskit/theme/colors';
|
|
5
5
|
import { headingSizes as headingSizesImport } from '@atlaskit/theme/typography';
|
|
6
6
|
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';
|
|
@@ -367,7 +367,10 @@ export const rendererStyles = wrapperProps => theme => {
|
|
|
367
367
|
}
|
|
368
368
|
|
|
369
369
|
& span[data-placeholder] {
|
|
370
|
-
color: ${
|
|
370
|
+
color: ${themed({
|
|
371
|
+
light: `var(--ds-text-subtlest, ${colors.N200})`,
|
|
372
|
+
dark: `var(--ds-text-subtlest, ${colors.DN200})`
|
|
373
|
+
})(themeProps)};
|
|
371
374
|
}
|
|
372
375
|
|
|
373
376
|
${whitespaceSharedStyles};
|
|
@@ -398,7 +401,7 @@ export const rendererStyles = wrapperProps => theme => {
|
|
|
398
401
|
light: `var(--ds-background-neutral, ${colors.N30A})`,
|
|
399
402
|
dark: `var(--ds-background-neutral, ${colors.DN70})`
|
|
400
403
|
})(themeProps)};
|
|
401
|
-
border-radius: ${
|
|
404
|
+
border-radius: ${"var(--ds-radius-100, 3px)"};
|
|
402
405
|
color: ${themed({
|
|
403
406
|
light: `var(--ds-text, ${colors.N800})`,
|
|
404
407
|
dark: `var(--ds-text, ${colors.DN600})`
|
|
@@ -637,7 +640,7 @@ export const rendererStyles = wrapperProps => theme => {
|
|
|
637
640
|
|
|
638
641
|
grid-template-columns: minmax(0, 1fr);
|
|
639
642
|
position: relative;
|
|
640
|
-
border-radius: ${
|
|
643
|
+
border-radius: ${"var(--ds-radius-100, 3px)"};
|
|
641
644
|
|
|
642
645
|
/*
|
|
643
646
|
* The overall renderer has word-wrap: break; which causes issues with
|
|
@@ -7,13 +7,13 @@ import { SortOrder } from '@atlaskit/editor-common/types';
|
|
|
7
7
|
import { sortingIconMessages } from '../messages';
|
|
8
8
|
import { injectIntl } from 'react-intl-next';
|
|
9
9
|
import { RendererCssClassName } from '../consts';
|
|
10
|
-
export let StatusClassNames
|
|
11
|
-
(function (StatusClassNames) {
|
|
10
|
+
export let StatusClassNames = /*#__PURE__*/function (StatusClassNames) {
|
|
12
11
|
StatusClassNames["ASC"] = "sorting-icon-svg__asc";
|
|
13
12
|
StatusClassNames["DESC"] = "sorting-icon-svg__desc";
|
|
14
13
|
StatusClassNames["NO_ORDER"] = "sorting-icon-svg__no_order";
|
|
15
14
|
StatusClassNames["SORTING_NOT_ALLOWED"] = "sorting-icon-svg__not-allowed";
|
|
16
|
-
|
|
15
|
+
return StatusClassNames;
|
|
16
|
+
}({});
|
|
17
17
|
const buttonStyles = css`
|
|
18
18
|
position: absolute;
|
|
19
19
|
display: flex;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export let InsertDraftPosition
|
|
2
|
-
(function (InsertDraftPosition) {
|
|
1
|
+
export let InsertDraftPosition = /*#__PURE__*/function (InsertDraftPosition) {
|
|
3
2
|
InsertDraftPosition["AROUND_TEXT"] = "AROUND_TEXT";
|
|
4
3
|
InsertDraftPosition["START"] = "START";
|
|
5
4
|
InsertDraftPosition["END"] = "END";
|
|
6
5
|
InsertDraftPosition["INSIDE"] = "INSIDE";
|
|
7
|
-
|
|
6
|
+
return InsertDraftPosition;
|
|
7
|
+
}({});
|
package/dist/es2019/version.json
CHANGED
|
@@ -10,15 +10,14 @@ import { createAnnotationStep, getPosFromRange } from '../steps';
|
|
|
10
10
|
import { ACTION, ACTION_SUBJECT, EVENT_TYPE, ACTION_SUBJECT_ID } from '@atlaskit/editor-common/analytics';
|
|
11
11
|
import { getIndexMatch } from './matches-utils';
|
|
12
12
|
var RendererActions = /*#__PURE__*/function () {
|
|
13
|
-
// This is our psuedo feature flag for now
|
|
14
|
-
// This module can only be used when wrapped with
|
|
15
|
-
// the <RendererContext> component for now.
|
|
16
|
-
|
|
17
13
|
// Any kind of refence is allowed
|
|
18
14
|
|
|
19
15
|
function RendererActions() {
|
|
20
16
|
var initFromContext = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;
|
|
21
17
|
_classCallCheck(this, RendererActions);
|
|
18
|
+
// This is our psuedo feature flag for now
|
|
19
|
+
// This module can only be used when wrapped with
|
|
20
|
+
// the <RendererContext> component for now.
|
|
22
21
|
_defineProperty(this, "initFromContext", false);
|
|
23
22
|
this.initFromContext = initFromContext;
|
|
24
23
|
this.transformer = new JSONTransformer();
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
export var EVENT_TYPE
|
|
2
|
-
(function (EVENT_TYPE) {
|
|
1
|
+
export var EVENT_TYPE = /*#__PURE__*/function (EVENT_TYPE) {
|
|
3
2
|
EVENT_TYPE["OPERATIONAL"] = "operational";
|
|
4
3
|
EVENT_TYPE["SCREEN"] = "screen";
|
|
5
4
|
EVENT_TYPE["TRACK"] = "track";
|
|
6
5
|
EVENT_TYPE["UI"] = "ui";
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
6
|
+
return EVENT_TYPE;
|
|
7
|
+
}({});
|
|
8
|
+
export var ACTION = /*#__PURE__*/function (ACTION) {
|
|
10
9
|
ACTION["STARTED"] = "started";
|
|
11
10
|
ACTION["RENDERED"] = "rendered";
|
|
12
11
|
ACTION["RE_RENDERED"] = "reRendered";
|
|
@@ -31,9 +30,9 @@ export var ACTION;
|
|
|
31
30
|
ACTION["UNSUPPORTED_CONTENT_LEVELS_TRACKING_SUCCEEDED"] = "unsupportedContentLevelsTrackingSucceeded";
|
|
32
31
|
ACTION["UNSUPPORTED_CONTENT_LEVELS_TRACKING_ERRORED"] = "unsupportedContentLevelsTrackingErrored";
|
|
33
32
|
ACTION["MEDIA_LINK_TRANSFORMED"] = "mediaLinkTransformed";
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
33
|
+
return ACTION;
|
|
34
|
+
}({});
|
|
35
|
+
export var ACTION_SUBJECT = /*#__PURE__*/function (ACTION_SUBJECT) {
|
|
37
36
|
ACTION_SUBJECT["RENDERER"] = "renderer";
|
|
38
37
|
ACTION_SUBJECT["BUTTON"] = "button";
|
|
39
38
|
ACTION_SUBJECT["ANCHOR_LINK"] = "anchorLink";
|
|
@@ -44,12 +43,13 @@ export var ACTION_SUBJECT;
|
|
|
44
43
|
ACTION_SUBJECT["LINK"] = "link";
|
|
45
44
|
ACTION_SUBJECT["ANNOTATION"] = "annotation";
|
|
46
45
|
ACTION_SUBJECT["MEDIA"] = "media";
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
return ACTION_SUBJECT;
|
|
47
|
+
}({});
|
|
48
|
+
export var ACTION_SUBJECT_ID = /*#__PURE__*/function (ACTION_SUBJECT_ID) {
|
|
50
49
|
ACTION_SUBJECT_ID["HEADING_ANCHOR_LINK"] = "headingAnchorLink";
|
|
51
50
|
ACTION_SUBJECT_ID["LINK"] = "link";
|
|
52
51
|
ACTION_SUBJECT_ID["INLINE_COMMENT"] = "inlineComment";
|
|
53
52
|
ACTION_SUBJECT_ID["CODEBLOCK_COPY"] = "codeBlockCopy";
|
|
54
53
|
ACTION_SUBJECT_ID["CODEBLOCK_WRAP"] = "codeBlockWrap";
|
|
55
|
-
|
|
54
|
+
return ACTION_SUBJECT_ID;
|
|
55
|
+
}({});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
export var PLATFORM
|
|
2
|
-
(function (PLATFORM) {
|
|
1
|
+
export var PLATFORM = /*#__PURE__*/function (PLATFORM) {
|
|
3
2
|
PLATFORM["NATIVE"] = "mobileNative";
|
|
4
3
|
PLATFORM["HYBRID"] = "mobileHybrid";
|
|
5
4
|
PLATFORM["WEB"] = "web";
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
5
|
+
return PLATFORM;
|
|
6
|
+
}({});
|
|
7
|
+
export var MODE = /*#__PURE__*/function (MODE) {
|
|
9
8
|
MODE["RENDERER"] = "renderer";
|
|
10
9
|
MODE["EDITOR"] = "editor";
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
return MODE;
|
|
11
|
+
}({});
|
|
12
|
+
export var RESOLVE_METHOD = /*#__PURE__*/function (RESOLVE_METHOD) {
|
|
14
13
|
RESOLVE_METHOD["COMPONENT"] = "component";
|
|
15
14
|
RESOLVE_METHOD["CONSUMER"] = "consumer";
|
|
16
15
|
RESOLVE_METHOD["ORPHANED"] = "orphaned";
|
|
17
|
-
|
|
16
|
+
return RESOLVE_METHOD;
|
|
17
|
+
}({});
|
package/dist/esm/i18n/cs.js
CHANGED
package/dist/esm/i18n/da.js
CHANGED
package/dist/esm/i18n/de.js
CHANGED
package/dist/esm/i18n/en.js
CHANGED
package/dist/esm/i18n/en_GB.js
CHANGED
package/dist/esm/i18n/en_ZZ.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/* prettier-ignore */
|
|
1
2
|
/**
|
|
2
3
|
* NOTE:
|
|
3
4
|
*
|
|
@@ -6,15 +7,15 @@
|
|
|
6
7
|
*/
|
|
7
8
|
//
|
|
8
9
|
export default {
|
|
9
|
-
'fabric.editor.codeBlockCopyButton.copiedToClipboard': 'Copied!',
|
|
10
|
-
'fabric.editor.codeBlockCopyButton.copyToClipboard': 'Copy',
|
|
11
10
|
'fabric.editor.headingLink.ascOrderLabel': 'Sort column Z to A',
|
|
12
11
|
'fabric.editor.headingLink.ascSortingLabel': 'ascending',
|
|
13
12
|
'fabric.editor.headingLink.copied': 'Copied!',
|
|
14
13
|
'fabric.editor.headingLink.copyAnchorLink': 'Copy link to heading',
|
|
15
14
|
'fabric.editor.headingLink.copyAriaLabel': 'Copy',
|
|
16
|
-
'fabric.editor.headingLink.descOrderLabel':
|
|
15
|
+
'fabric.editor.headingLink.descOrderLabel': 'Clear sorting',
|
|
16
|
+
'fabric.editor.headingLink.descSortingLabel': 'descending',
|
|
17
17
|
'fabric.editor.headingLink.failedToCopy': 'Copy failed',
|
|
18
|
+
'fabric.editor.headingLink.invalidLabel': "⚠️ You can't sort a table with merged cells",
|
|
18
19
|
'fabric.editor.headingLink.noOrderLabel': 'Sort column A to Z',
|
|
19
|
-
'fabric.editor.headingLink.noneSortingLabel': '
|
|
20
|
+
'fabric.editor.headingLink.noneSortingLabel': 'none'
|
|
20
21
|
};
|
package/dist/esm/i18n/es.js
CHANGED
package/dist/esm/i18n/fi.js
CHANGED
package/dist/esm/i18n/fr.js
CHANGED
package/dist/esm/i18n/hu.js
CHANGED
package/dist/esm/i18n/it.js
CHANGED
package/dist/esm/i18n/ja.js
CHANGED
package/dist/esm/i18n/ko.js
CHANGED
package/dist/esm/i18n/nb.js
CHANGED
package/dist/esm/i18n/nl.js
CHANGED
package/dist/esm/i18n/pl.js
CHANGED
package/dist/esm/i18n/pt_BR.js
CHANGED
package/dist/esm/i18n/ru.js
CHANGED
package/dist/esm/i18n/sv.js
CHANGED
package/dist/esm/i18n/th.js
CHANGED
package/dist/esm/i18n/tr.js
CHANGED
package/dist/esm/i18n/uk.js
CHANGED
package/dist/esm/i18n/vi.js
CHANGED
package/dist/esm/i18n/zh.js
CHANGED
package/dist/esm/i18n/zh_TW.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
3
3
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
4
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
5
|
import { useEffect, useRef, useState } from 'react';
|
|
6
6
|
export var useInViewport = function useInViewport() {
|
|
7
7
|
var trackingRef = useRef(null);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"]; if (!it) { if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") { if (it) o = it; var i = 0; var F = function F() {}; return { s: F, n: function n() { if (i >= o.length) return { done: true }; return { done: false, value: o[i++] }; }, e: function e(_e) { throw _e; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var normalCompletion = true, didErr = false, err; return { s: function s() { it = it.call(o); }, n: function n() { var step = it.next(); normalCompletion = step.done; return step; }, e: function e(_e2) { didErr = true; err = _e2; }, f: function f() { try { if (!normalCompletion && it.return != null) it.return(); } finally { if (didErr) throw err; } } }; }
|
|
3
3
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
4
|
-
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++)
|
|
4
|
+
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
5
|
import React from 'react';
|
|
6
6
|
var resizeObserver;
|
|
7
7
|
var nodeToCallback = new WeakMap();
|
package/dist/esm/react/index.js
CHANGED
|
@@ -31,19 +31,18 @@ function mergeMarks(marksAndNodes) {
|
|
|
31
31
|
}, []);
|
|
32
32
|
}
|
|
33
33
|
var ReactSerializer = /*#__PURE__*/function () {
|
|
34
|
-
/**
|
|
35
|
-
* The reason we have this extra array here is because we need to generate the same unique
|
|
36
|
-
* heading id for 2 different nodes: headers and expands (check the implementation of
|
|
37
|
-
* `getUniqueHeadingId` for more info).
|
|
38
|
-
*
|
|
39
|
-
* We will eventually need to refactor the current approach to generate unique ids
|
|
40
|
-
* for headers under this ticket -> https://product-fabric.atlassian.net/browse/ED-9668
|
|
41
|
-
*/
|
|
42
|
-
|
|
43
34
|
function ReactSerializer(init) {
|
|
44
35
|
var _this = this;
|
|
45
36
|
_classCallCheck(this, ReactSerializer);
|
|
46
37
|
_defineProperty(this, "headingIds", []);
|
|
38
|
+
/**
|
|
39
|
+
* The reason we have this extra array here is because we need to generate the same unique
|
|
40
|
+
* heading id for 2 different nodes: headers and expands (check the implementation of
|
|
41
|
+
* `getUniqueHeadingId` for more info).
|
|
42
|
+
*
|
|
43
|
+
* We will eventually need to refactor the current approach to generate unique ids
|
|
44
|
+
* for headers under this ticket -> https://product-fabric.atlassian.net/browse/ED-9668
|
|
45
|
+
*/
|
|
47
46
|
_defineProperty(this, "expandHeadingIds", []);
|
|
48
47
|
_defineProperty(this, "allowCopyToClipboard", false);
|
|
49
48
|
_defineProperty(this, "allowWrapCodeBlock", false);
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import _typeof from "@babel/runtime/helpers/typeof";
|
|
2
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
3
2
|
import _asyncToGenerator from "@babel/runtime/helpers/asyncToGenerator";
|
|
4
|
-
function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */ _regeneratorRuntime = function _regeneratorRuntime() { return exports; }; var exports = {}, Op = Object.prototype, hasOwn = Op.hasOwnProperty, defineProperty = Object.defineProperty || function (obj, key, desc) { obj[key] = desc.value; }, $Symbol = "function" == typeof Symbol ? Symbol : {}, iteratorSymbol = $Symbol.iterator || "@@iterator", asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator", toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag"; function define(obj, key, value) { return Object.defineProperty(obj, key, { value: value, enumerable: !0, configurable: !0, writable: !0 }), obj[key]; } try { define({}, ""); } catch (err) { define = function define(obj, key, value) { return obj[key] = value; }; } function wrap(innerFn, outerFn, self, tryLocsList) { var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator, generator = Object.create(protoGenerator.prototype), context = new Context(tryLocsList || []); return defineProperty(generator, "_invoke", { value: makeInvokeMethod(innerFn, self, context) }), generator; } function tryCatch(fn, obj, arg) { try { return { type: "normal", arg: fn.call(obj, arg) }; } catch (err) { return { type: "throw", arg: err }; } } exports.wrap = wrap; var ContinueSentinel = {}; function Generator() {} function GeneratorFunction() {} function GeneratorFunctionPrototype() {} var IteratorPrototype = {}; define(IteratorPrototype, iteratorSymbol, function () { return this; }); var getProto = Object.getPrototypeOf, NativeIteratorPrototype = getProto && getProto(getProto(values([]))); NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype); var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype); function defineIteratorMethods(prototype) { ["next", "throw", "return"].forEach(function (method) { define(prototype, method, function (arg) { return this._invoke(method, arg); }); }); } function AsyncIterator(generator, PromiseImpl) { function invoke(method, arg, resolve, reject) { var record = tryCatch(generator[method], generator, arg); if ("throw" !== record.type) { var result = record.arg, value = result.value; return value && "object" == _typeof(value) && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) { invoke("next", value, resolve, reject); }, function (err) { invoke("throw", err, resolve, reject); }) : PromiseImpl.resolve(value).then(function (unwrapped) { result.value = unwrapped, resolve(result); }, function (error) { return invoke("throw", error, resolve, reject); }); } reject(record.arg); } var previousPromise; defineProperty(this, "_invoke", { value: function value(method, arg) { function callInvokeWithMethodAndArg() { return new PromiseImpl(function (resolve, reject) { invoke(method, arg, resolve, reject); }); } return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg(); } }); } function makeInvokeMethod(innerFn, self, context) { var state = "suspendedStart"; return function (method, arg) { if ("executing" === state) throw new Error("Generator is already running"); if ("completed" === state) { if ("throw" === method) throw arg; return doneResult(); } for (context.method = method, context.arg = arg;;) { var delegate = context.delegate; if (delegate) { var delegateResult = maybeInvokeDelegate(delegate, context); if (delegateResult) { if (delegateResult === ContinueSentinel) continue; return delegateResult; } } if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) { if ("suspendedStart" === state) throw state = "completed", context.arg; context.dispatchException(context.arg); } else "return" === context.method && context.abrupt("return", context.arg); state = "executing"; var record = tryCatch(innerFn, self, context); if ("normal" === record.type) { if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue; return { value: record.arg, done: context.done }; } "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg); } }; } function maybeInvokeDelegate(delegate, context) { var methodName = context.method, method = delegate.iterator[methodName]; if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel; var record = tryCatch(method, delegate.iterator, context.arg); if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel; var info = record.arg; return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel); } function pushTryEntry(locs) { var entry = { tryLoc: locs[0] }; 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry); } function resetTryEntry(entry) { var record = entry.completion || {}; record.type = "normal", delete record.arg, entry.completion = record; } function Context(tryLocsList) { this.tryEntries = [{ tryLoc: "root" }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0); } function values(iterable) { if (iterable) { var iteratorMethod = iterable[iteratorSymbol]; if (iteratorMethod) return iteratorMethod.call(iterable); if ("function" == typeof iterable.next) return iterable; if (!isNaN(iterable.length)) { var i = -1, next = function next() { for (; ++i < iterable.length;) { if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next; } return next.value = undefined, next.done = !0, next; }; return next.next = next; } } return { next: doneResult }; } function doneResult() { return { value: undefined, done: !0 }; } return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", { value: GeneratorFunctionPrototype, configurable: !0 }), defineProperty(GeneratorFunctionPrototype, "constructor", { value: GeneratorFunction, configurable: !0 }), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) { var ctor = "function" == typeof genFun && genFun.constructor; return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name)); }, exports.mark = function (genFun) { return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun; }, exports.awrap = function (arg) { return { __await: arg }; }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () { return this; }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) { void 0 === PromiseImpl && (PromiseImpl = Promise); var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl); return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) { return result.done ? result.value : iter.next(); }); }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () { return this; }), define(Gp, "toString", function () { return "[object Generator]"; }), exports.keys = function (val) { var object = Object(val), keys = []; for (var key in object) { keys.push(key); } return keys.reverse(), function next() { for (; keys.length;) { var key = keys.pop(); if (key in object) return next.value = key, next.done = !1, next; } return next.done = !0, next; }; }, exports.values = values, Context.prototype = { constructor: Context, reset: function reset(skipTempReset) { if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) { "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined); } }, stop: function stop() { this.done = !0; var rootRecord = this.tryEntries[0].completion; if ("throw" === rootRecord.type) throw rootRecord.arg; return this.rval; }, dispatchException: function dispatchException(exception) { if (this.done) throw exception; var context = this; function handle(loc, caught) { return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught; } for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i], record = entry.completion; if ("root" === entry.tryLoc) return handle("end"); if (entry.tryLoc <= this.prev) { var hasCatch = hasOwn.call(entry, "catchLoc"), hasFinally = hasOwn.call(entry, "finallyLoc"); if (hasCatch && hasFinally) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } else if (hasCatch) { if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0); } else { if (!hasFinally) throw new Error("try statement without catch or finally"); if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc); } } } }, abrupt: function abrupt(type, arg) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) { var finallyEntry = entry; break; } } finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null); var record = finallyEntry ? finallyEntry.completion : {}; return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record); }, complete: function complete(record, afterLoc) { if ("throw" === record.type) throw record.arg; return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel; }, finish: function finish(finallyLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel; } }, catch: function _catch(tryLoc) { for (var i = this.tryEntries.length - 1; i >= 0; --i) { var entry = this.tryEntries[i]; if (entry.tryLoc === tryLoc) { var record = entry.completion; if ("throw" === record.type) { var thrown = record.arg; resetTryEntry(entry); } return thrown; } } throw new Error("illegal catch attempt"); }, delegateYield: function delegateYield(iterable, resultName, nextLoc) { return this.delegate = { iterator: values(iterable), resultName: resultName, nextLoc: nextLoc }, "next" === this.method && (this.arg = undefined), ContinueSentinel; } }, exports; }
|
|
3
|
+
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
|
5
4
|
/** @jsx jsx */
|
|
6
5
|
import { Fragment, lazy, memo, Suspense, useState } from 'react';
|
|
7
6
|
import { jsx } from '@emotion/react';
|
|
@@ -10,17 +9,15 @@ import { useInViewport } from '../../hooks/use-in-viewport';
|
|
|
10
9
|
import { useBidiWarnings } from '../../hooks/use-bidi-warnings';
|
|
11
10
|
import LightWeightCodeBlock from './components/lightWeightCodeBlock';
|
|
12
11
|
import CodeBlockContainer from './components/codeBlockContainer';
|
|
13
|
-
var LazyAkCodeBlock = /*#__PURE__*/lazy( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime
|
|
14
|
-
return _regeneratorRuntime
|
|
15
|
-
while (1) {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
return _context.stop();
|
|
23
|
-
}
|
|
12
|
+
var LazyAkCodeBlock = /*#__PURE__*/lazy( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
|
|
13
|
+
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
|
14
|
+
while (1) switch (_context.prev = _context.next) {
|
|
15
|
+
case 0:
|
|
16
|
+
return _context.abrupt("return", import( /* webpackChunkName: "@atlaskit-internal_renderer-codeBlock" */
|
|
17
|
+
'@atlaskit/code/block'));
|
|
18
|
+
case 1:
|
|
19
|
+
case "end":
|
|
20
|
+
return _context.stop();
|
|
24
21
|
}
|
|
25
22
|
}, _callee);
|
|
26
23
|
})));
|