@atlaskit/renderer 139.1.0 → 139.1.1
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 +17 -0
- package/dist/cjs/react/nodes/embedCard.js +2 -2
- package/dist/cjs/react/nodes/extension.js +2 -2
- package/dist/cjs/react/nodes/inlineCard.js +3 -3
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/cjs/ui/collapsible-headings.js +10 -2
- package/dist/es2019/react/nodes/embedCard.js +1 -1
- package/dist/es2019/react/nodes/extension.js +2 -2
- package/dist/es2019/react/nodes/inlineCard.js +1 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/collapsible-headings.js +10 -2
- package/dist/esm/react/nodes/embedCard.js +1 -1
- package/dist/esm/react/nodes/extension.js +2 -2
- package/dist/esm/react/nodes/inlineCard.js +1 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/collapsible-headings.js +10 -2
- package/package.json +8 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 139.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`5917191a3107d`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/5917191a3107d) -
|
|
8
|
+
Clean up feature gate `platform_fix_macro_renders_in_layouts`
|
|
9
|
+
- [`031f2b4eddd7b`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/031f2b4eddd7b) -
|
|
10
|
+
Fix code blocks remaining visible in collapsed heading sections under
|
|
11
|
+
platform_editor_collapsible_headings by overriding CodeMirror display priority. Simplify collapse
|
|
12
|
+
reconciliation by deriving section content from document positions instead of maintaining mutable
|
|
13
|
+
content flags, and separate decoration creation from section traversal.
|
|
14
|
+
|
|
15
|
+
Preserve collapsed heading state when unchanged content is rebuilt with a fresh schema instance
|
|
16
|
+
under platform_renderer_collapsible_headings.
|
|
17
|
+
|
|
18
|
+
- Updated dependencies
|
|
19
|
+
|
|
3
20
|
## 139.1.0
|
|
4
21
|
|
|
5
22
|
### Minor Changes
|
|
@@ -11,7 +11,7 @@ var _react = require("@emotion/react");
|
|
|
11
11
|
var _react2 = require("react");
|
|
12
12
|
var _smartCard = require("@atlaskit/smart-card");
|
|
13
13
|
var _ssr = require("@atlaskit/smart-card/ssr");
|
|
14
|
-
var
|
|
14
|
+
var _context = require("@atlaskit/link-provider/context");
|
|
15
15
|
var _ui = require("@atlaskit/editor-common/ui");
|
|
16
16
|
var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
17
17
|
var _fg = require("@atlaskit/platform-feature-flags/fg");
|
|
@@ -119,7 +119,7 @@ function EmbedCardInternal(props) {
|
|
|
119
119
|
_useState6 = (0, _slicedToArray2.default)(_useState5, 2),
|
|
120
120
|
hasPreview = _useState6[0],
|
|
121
121
|
setPreviewAvailableState = _useState6[1];
|
|
122
|
-
var cardContext = (0, _react2.useContext)(
|
|
122
|
+
var cardContext = (0, _react2.useContext)(_context.SmartCardContext);
|
|
123
123
|
var onResolve = function onResolve(_ref2) {
|
|
124
124
|
var resolvedAspectRatio = _ref2.aspectRatio;
|
|
125
125
|
var hasPreviewOnResolve = !!(cardContext && url && cardContext.extractors.getPreview(url, platform));
|
|
@@ -179,7 +179,7 @@ var renderExtension = exports.renderExtension = function renderExtension(content
|
|
|
179
179
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
180
180
|
,
|
|
181
181
|
className: "".concat(_consts.RendererCssClassName.EXTENSION_INNER_WRAPPER, " ").concat(overflowContainerClass),
|
|
182
|
-
css: [(!isInsideOfTable || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension &&
|
|
182
|
+
css: [(!isInsideOfTable || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension && containerStyle]
|
|
183
183
|
}, asInlineAnalytics, content));
|
|
184
184
|
return centerAlignClass ? (0, _react.jsx)("div", {
|
|
185
185
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
@@ -211,7 +211,7 @@ var renderExtension = exports.renderExtension = function renderExtension(content
|
|
|
211
211
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
212
212
|
,
|
|
213
213
|
className: "".concat(_consts.RendererCssClassName.EXTENSION_INNER_WRAPPER, " ").concat(overflowContainerClass),
|
|
214
|
-
css: [(!isInsideOfTable || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension &&
|
|
214
|
+
css: [(!isInsideOfTable || (0, _isExperimentEnabled.isExperimentEnabled)('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension && containerStyle]
|
|
215
215
|
}, asInlineAnalytics, content));
|
|
216
216
|
return centerAlignClass ? (0, _react.jsx)("div", {
|
|
217
217
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
@@ -9,7 +9,7 @@ var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends")
|
|
|
9
9
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
10
10
|
var _react = require("react");
|
|
11
11
|
var _react2 = require("@emotion/react");
|
|
12
|
-
var
|
|
12
|
+
var _useSmartCardContext = require("@atlaskit/link-provider/use-smart-card-context");
|
|
13
13
|
var _smartCard = require("@atlaskit/smart-card");
|
|
14
14
|
var _utils = require("@atlaskit/linking-common/utils");
|
|
15
15
|
var _hooks = require("@atlaskit/smart-card/hooks");
|
|
@@ -46,7 +46,7 @@ var OverlayWithCardContext = function OverlayWithCardContext(_ref) {
|
|
|
46
46
|
url = _ref.url,
|
|
47
47
|
fireAnalyticsEvent = _ref.fireAnalyticsEvent,
|
|
48
48
|
children = _ref.children;
|
|
49
|
-
var cardContext = (0,
|
|
49
|
+
var cardContext = (0, _useSmartCardContext.useSmartCardContext)();
|
|
50
50
|
// Note: useSmartLinkActions throws without smart card context. Using it here is safe
|
|
51
51
|
// because we checked cardContext availability in the parent component
|
|
52
52
|
var actions = (0, _hooks.useSmartLinkActions)({
|
|
@@ -144,7 +144,7 @@ var InlineCard = function InlineCard(props) {
|
|
|
144
144
|
rendererAppearance = props.rendererAppearance,
|
|
145
145
|
onSetLinkTarget = props.onSetLinkTarget;
|
|
146
146
|
var portal = (0, _PortalContext.usePortal)(props);
|
|
147
|
-
var cardContext = (0,
|
|
147
|
+
var cardContext = (0, _useSmartCardContext.useSmartCardContext)();
|
|
148
148
|
var provider = (0, _providerFactory.useProvider)('cardProvider');
|
|
149
149
|
var SuspenseWrapperForUrl = smartLinks === null || smartLinks === void 0 ? void 0 : smartLinks.SuspenseWrapperForUrl;
|
|
150
150
|
|
|
@@ -73,7 +73,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
73
73
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
74
74
|
var RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
75
75
|
var packageName = "@atlaskit/renderer";
|
|
76
|
-
var packageVersion = "139.
|
|
76
|
+
var packageVersion = "139.1.1";
|
|
77
77
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
78
78
|
containerName: 'ak-renderer-wrapper',
|
|
79
79
|
containerType: 'inline-size'
|
|
@@ -11,14 +11,22 @@ exports.useCollapsibleHeadingsController = useCollapsibleHeadingsController;
|
|
|
11
11
|
var _slicedToArray2 = _interopRequireDefault(require("@babel/runtime/helpers/slicedToArray"));
|
|
12
12
|
var _react = _interopRequireWildcard(require("react"));
|
|
13
13
|
var _bindEventListener = require("bind-event-listener");
|
|
14
|
+
var _isEqual = _interopRequireDefault(require("lodash/isEqual"));
|
|
14
15
|
var _collapsibleHeadingsDom = require("./collapsible-headings-dom");
|
|
15
16
|
var _collapsibleHeadingsSectionModel = require("./collapsible-headings-section-model");
|
|
16
17
|
function _interopRequireWildcard(e, t) { if ("function" == typeof WeakMap) var r = new WeakMap(), n = new WeakMap(); return (_interopRequireWildcard = function _interopRequireWildcard(e, t) { if (!t && e && e.__esModule) return e; var o, i, f = { __proto__: null, default: e }; if (null === e || "object" != _typeof(e) && "function" != typeof e) return f; if (o = t ? n : r) { if (o.has(e)) return o.get(e); o.set(e, f); } for (var _t in e) "default" !== _t && {}.hasOwnProperty.call(e, _t) && ((i = (o = Object.defineProperty) && Object.getOwnPropertyDescriptor(e, _t)) && (i.get || i.set) ? o(f, _t, i) : f[_t] = e[_t]); return f; })(e, t); }
|
|
17
18
|
var CollapsibleHeadingsContext = /*#__PURE__*/_react.default.createContext(null);
|
|
18
19
|
var emptyCollapsedHeadings = new Set();
|
|
19
20
|
function isSameDocument(currentDocument, nextDocument) {
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
if (currentDocument === nextDocument) {
|
|
22
|
+
return true;
|
|
23
|
+
}
|
|
24
|
+
if (!currentDocument || !nextDocument) {
|
|
25
|
+
return false;
|
|
26
|
+
}
|
|
27
|
+
// Node.eq compares node-type identity. The shared schema cache can be evicted by another
|
|
28
|
+
// renderer, producing different node types for identical content on the next render.
|
|
29
|
+
return currentDocument.type.schema === nextDocument.type.schema ? currentDocument.eq(nextDocument) : (0, _isEqual.default)(currentDocument.toJSON(), nextDocument.toJSON());
|
|
22
30
|
}
|
|
23
31
|
function supportsHiddenUntilFound(rendererRef) {
|
|
24
32
|
var _rendererRef$current;
|
|
@@ -9,7 +9,7 @@ import { jsx, css } from '@emotion/react';
|
|
|
9
9
|
import { useContext, useState, useRef } from 'react';
|
|
10
10
|
import { Card, EmbedResizeMessageListener } from '@atlaskit/smart-card';
|
|
11
11
|
import { CardSSR } from '@atlaskit/smart-card/ssr';
|
|
12
|
-
import { SmartCardContext } from '@atlaskit/link-provider';
|
|
12
|
+
import { SmartCardContext } from '@atlaskit/link-provider/context';
|
|
13
13
|
import { WidthConsumer, UnsupportedBlock, MediaSingle as UIMediaSingle, WidthContext } from '@atlaskit/editor-common/ui';
|
|
14
14
|
import { akEditorDefaultLayoutWidth, akEditorFullPageNarrowBreakout, akEditorFullWidthLayoutWidth, DEFAULT_EMBED_CARD_HEIGHT, DEFAULT_EMBED_CARD_WIDTH } from '@atlaskit/editor-shared-styles';
|
|
15
15
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
@@ -158,7 +158,7 @@ export const renderExtension = (content, layout, options = {}, removeOverflow, e
|
|
|
158
158
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
159
159
|
,
|
|
160
160
|
className: `${RendererCssClassName.EXTENSION_INNER_WRAPPER} ${overflowContainerClass}`,
|
|
161
|
-
css: [(!isInsideOfTable || isExperimentEnabled('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension &&
|
|
161
|
+
css: [(!isInsideOfTable || isExperimentEnabled('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension && containerStyle]
|
|
162
162
|
}, asInlineAnalytics, content));
|
|
163
163
|
return centerAlignClass ? jsx("div", {
|
|
164
164
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
@@ -191,7 +191,7 @@ export const renderExtension = (content, layout, options = {}, removeOverflow, e
|
|
|
191
191
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
192
192
|
,
|
|
193
193
|
className: `${RendererCssClassName.EXTENSION_INNER_WRAPPER} ${overflowContainerClass}`,
|
|
194
|
-
css: [(!isInsideOfTable || isExperimentEnabled('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension &&
|
|
194
|
+
css: [(!isInsideOfTable || isExperimentEnabled('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension && containerStyle]
|
|
195
195
|
}, asInlineAnalytics, content));
|
|
196
196
|
return centerAlignClass ? jsx("div", {
|
|
197
197
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
@@ -7,7 +7,7 @@ import _extends from "@babel/runtime/helpers/extends";
|
|
|
7
7
|
import { Fragment, useState, useMemo, useEffect } from 'react';
|
|
8
8
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
9
9
|
import { jsx } from '@emotion/react';
|
|
10
|
-
import { useSmartCardContext } from '@atlaskit/link-provider';
|
|
10
|
+
import { useSmartCardContext } from '@atlaskit/link-provider/use-smart-card-context';
|
|
11
11
|
import { Card, getObjectAri, getObjectIconUrl, getObjectName } from '@atlaskit/smart-card';
|
|
12
12
|
import { isWithinPreviewPanelIFrame } from '@atlaskit/linking-common/utils';
|
|
13
13
|
import { useSmartLinkActions } from '@atlaskit/smart-card/hooks';
|
|
@@ -59,7 +59,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
59
59
|
const TABLE_INFO_TIMEOUT = 10000;
|
|
60
60
|
const RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
61
61
|
const packageName = "@atlaskit/renderer";
|
|
62
|
-
const packageVersion = "139.
|
|
62
|
+
const packageVersion = "139.1.1";
|
|
63
63
|
const setAsQueryContainerStyles = css({
|
|
64
64
|
containerName: 'ak-renderer-wrapper',
|
|
65
65
|
containerType: 'inline-size'
|
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
2
2
|
import { bind } from 'bind-event-listener';
|
|
3
|
+
import isEqual from 'lodash/isEqual';
|
|
3
4
|
import { COLLAPSED_CONTENT_OWNERS_ATTRIBUTE, getCollapsedContentOwners, getOwnedRendererDocuments, reconcileCollapsedHeadingContent } from './collapsible-headings-dom';
|
|
4
5
|
import { buildTopLevelHeadingSections } from './collapsible-headings-section-model';
|
|
5
6
|
const CollapsibleHeadingsContext = /*#__PURE__*/React.createContext(null);
|
|
6
7
|
const emptyCollapsedHeadings = new Set();
|
|
7
8
|
function isSameDocument(currentDocument, nextDocument) {
|
|
8
|
-
|
|
9
|
-
|
|
9
|
+
if (currentDocument === nextDocument) {
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
if (!currentDocument || !nextDocument) {
|
|
13
|
+
return false;
|
|
14
|
+
}
|
|
15
|
+
// Node.eq compares node-type identity. The shared schema cache can be evicted by another
|
|
16
|
+
// renderer, producing different node types for identical content on the next render.
|
|
17
|
+
return currentDocument.type.schema === nextDocument.type.schema ? currentDocument.eq(nextDocument) : isEqual(currentDocument.toJSON(), nextDocument.toJSON());
|
|
10
18
|
}
|
|
11
19
|
function supportsHiddenUntilFound(rendererRef) {
|
|
12
20
|
var _rendererRef$current;
|
|
@@ -10,7 +10,7 @@ import { jsx, css } from '@emotion/react';
|
|
|
10
10
|
import { useContext, useState, useRef } from 'react';
|
|
11
11
|
import { Card, EmbedResizeMessageListener } from '@atlaskit/smart-card';
|
|
12
12
|
import { CardSSR } from '@atlaskit/smart-card/ssr';
|
|
13
|
-
import { SmartCardContext } from '@atlaskit/link-provider';
|
|
13
|
+
import { SmartCardContext } from '@atlaskit/link-provider/context';
|
|
14
14
|
import { WidthConsumer, UnsupportedBlock, MediaSingle as UIMediaSingle, WidthContext } from '@atlaskit/editor-common/ui';
|
|
15
15
|
import { akEditorDefaultLayoutWidth, akEditorFullPageNarrowBreakout, akEditorFullWidthLayoutWidth, DEFAULT_EMBED_CARD_HEIGHT, DEFAULT_EMBED_CARD_WIDTH } from '@atlaskit/editor-shared-styles';
|
|
16
16
|
import { fg } from '@atlaskit/platform-feature-flags/fg';
|
|
@@ -169,7 +169,7 @@ export var renderExtension = function renderExtension(content, layout) {
|
|
|
169
169
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
170
170
|
,
|
|
171
171
|
className: "".concat(RendererCssClassName.EXTENSION_INNER_WRAPPER, " ").concat(overflowContainerClass),
|
|
172
|
-
css: [(!isInsideOfTable || isExperimentEnabled('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension &&
|
|
172
|
+
css: [(!isInsideOfTable || isExperimentEnabled('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension && containerStyle]
|
|
173
173
|
}, asInlineAnalytics, content));
|
|
174
174
|
return centerAlignClass ? jsx("div", {
|
|
175
175
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
@@ -201,7 +201,7 @@ export var renderExtension = function renderExtension(content, layout) {
|
|
|
201
201
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
202
202
|
,
|
|
203
203
|
className: "".concat(RendererCssClassName.EXTENSION_INNER_WRAPPER, " ").concat(overflowContainerClass),
|
|
204
|
-
css: [(!isInsideOfTable || isExperimentEnabled('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension &&
|
|
204
|
+
css: [(!isInsideOfTable || isExperimentEnabled('platform_editor_table_fit_to_content_patch_2')) && !isInsideOfInlineExtension && containerStyle]
|
|
205
205
|
}, asInlineAnalytics, content));
|
|
206
206
|
return centerAlignClass ? jsx("div", {
|
|
207
207
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-classname-prop
|
|
@@ -8,7 +8,7 @@ import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
|
8
8
|
import { Fragment, useState, useMemo, useEffect } from 'react';
|
|
9
9
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
10
10
|
import { jsx } from '@emotion/react';
|
|
11
|
-
import { useSmartCardContext } from '@atlaskit/link-provider';
|
|
11
|
+
import { useSmartCardContext } from '@atlaskit/link-provider/use-smart-card-context';
|
|
12
12
|
import { Card, getObjectAri, getObjectIconUrl, getObjectName } from '@atlaskit/smart-card';
|
|
13
13
|
import { isWithinPreviewPanelIFrame } from '@atlaskit/linking-common/utils';
|
|
14
14
|
import { useSmartLinkActions } from '@atlaskit/smart-card/hooks';
|
|
@@ -64,7 +64,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
64
64
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
65
65
|
var RENDER_EVENT_SAMPLE_RATE = 0.1;
|
|
66
66
|
var packageName = "@atlaskit/renderer";
|
|
67
|
-
var packageVersion = "139.
|
|
67
|
+
var packageVersion = "139.1.1";
|
|
68
68
|
var setAsQueryContainerStyles = css({
|
|
69
69
|
containerName: 'ak-renderer-wrapper',
|
|
70
70
|
containerType: 'inline-size'
|
|
@@ -1,13 +1,21 @@
|
|
|
1
1
|
import _slicedToArray from "@babel/runtime/helpers/slicedToArray";
|
|
2
2
|
import React, { useCallback, useEffect, useMemo, useState } from 'react';
|
|
3
3
|
import { bind } from 'bind-event-listener';
|
|
4
|
+
import isEqual from 'lodash/isEqual';
|
|
4
5
|
import { COLLAPSED_CONTENT_OWNERS_ATTRIBUTE, getCollapsedContentOwners, getOwnedRendererDocuments, reconcileCollapsedHeadingContent } from './collapsible-headings-dom';
|
|
5
6
|
import { buildTopLevelHeadingSections } from './collapsible-headings-section-model';
|
|
6
7
|
var CollapsibleHeadingsContext = /*#__PURE__*/React.createContext(null);
|
|
7
8
|
var emptyCollapsedHeadings = new Set();
|
|
8
9
|
function isSameDocument(currentDocument, nextDocument) {
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
if (currentDocument === nextDocument) {
|
|
11
|
+
return true;
|
|
12
|
+
}
|
|
13
|
+
if (!currentDocument || !nextDocument) {
|
|
14
|
+
return false;
|
|
15
|
+
}
|
|
16
|
+
// Node.eq compares node-type identity. The shared schema cache can be evicted by another
|
|
17
|
+
// renderer, producing different node types for identical content on the next render.
|
|
18
|
+
return currentDocument.type.schema === nextDocument.type.schema ? currentDocument.eq(nextDocument) : isEqual(currentDocument.toJSON(), nextDocument.toJSON());
|
|
11
19
|
}
|
|
12
20
|
function supportsHiddenUntilFound(rendererRef) {
|
|
13
21
|
var _rendererRef$current;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "139.1.
|
|
3
|
+
"version": "139.1.1",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -65,12 +65,12 @@
|
|
|
65
65
|
"@atlaskit/platform-feature-flags-react": "^1.2.0",
|
|
66
66
|
"@atlaskit/pragmatic-drag-and-drop": "^3.1.0",
|
|
67
67
|
"@atlaskit/react-compiler-gating": "^0.2.0",
|
|
68
|
-
"@atlaskit/react-ufo": "^7.
|
|
68
|
+
"@atlaskit/react-ufo": "^7.10.0",
|
|
69
69
|
"@atlaskit/smart-card": "^45.22.0",
|
|
70
70
|
"@atlaskit/status": "^5.9.0",
|
|
71
71
|
"@atlaskit/task-decision": "^21.9.0",
|
|
72
72
|
"@atlaskit/theme": "^28.2.0",
|
|
73
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
73
|
+
"@atlaskit/tmp-editor-statsig": "^188.0.0",
|
|
74
74
|
"@atlaskit/tokens": "^16.12.0",
|
|
75
75
|
"@atlaskit/tooltip": "^24.3.0",
|
|
76
76
|
"@atlaskit/visually-hidden": "^4.4.0",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"uuid": "^11.1.1"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"@atlaskit/editor-common": "^121.
|
|
88
|
+
"@atlaskit/editor-common": "^121.5.0",
|
|
89
89
|
"@atlaskit/link-provider": "^5.6.0",
|
|
90
90
|
"@atlaskit/media-core": "^38.2.0",
|
|
91
91
|
"react": "^18.2.0 || ^19.2.0",
|
|
@@ -105,12 +105,13 @@
|
|
|
105
105
|
"@atlaskit/link-test-helpers": "^11.2.0",
|
|
106
106
|
"@atlaskit/media-core": "^38.2.0",
|
|
107
107
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
108
|
+
"@atlaskit/media-state": "^3.2.0",
|
|
108
109
|
"@atlaskit/media-test-helpers": "^42.4.0",
|
|
109
|
-
"@atlaskit/mention": "^
|
|
110
|
+
"@atlaskit/mention": "^29.0.0",
|
|
110
111
|
"@atlaskit/modal-dialog": "^16.6.0",
|
|
111
112
|
"@atlaskit/navigation-system": "^10.16.0",
|
|
112
113
|
"@atlaskit/primitives": "^22.5.0",
|
|
113
|
-
"@atlaskit/profilecard": "^26.
|
|
114
|
+
"@atlaskit/profilecard": "^26.23.0",
|
|
114
115
|
"@atlaskit/radio": "^10.2.0",
|
|
115
116
|
"@atlaskit/range": "^12.2.0",
|
|
116
117
|
"@atlaskit/section-message": "^10.2.0",
|
|
@@ -129,7 +130,7 @@
|
|
|
129
130
|
"@testing-library/user-event": "^14.4.3",
|
|
130
131
|
"@types/react-loadable": "^5.4.1",
|
|
131
132
|
"ajv": "^6.12.6",
|
|
132
|
-
"jsdom": "
|
|
133
|
+
"jsdom": "26.1.0",
|
|
133
134
|
"mockdate": "^3.0.5",
|
|
134
135
|
"puppeteer": "13.7.0",
|
|
135
136
|
"react": "^19.2.0",
|
|
@@ -211,9 +212,6 @@
|
|
|
211
212
|
"media-perf-uplift-mutation-fix": {
|
|
212
213
|
"type": "boolean"
|
|
213
214
|
},
|
|
214
|
-
"platform_fix_macro_renders_in_layouts": {
|
|
215
|
-
"type": "boolean"
|
|
216
|
-
},
|
|
217
215
|
"confluence_ttvc_inline_extensions": {
|
|
218
216
|
"type": "boolean"
|
|
219
217
|
},
|