@atlaskit/renderer 128.0.0 → 128.0.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 +6 -0
- package/dist/cjs/react/nodes/blockCard.js +1 -1
- package/dist/cjs/react/nodes/embedCard.js +1 -1
- package/dist/cjs/react/nodes/inlineCard.js +1 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/blockCard.js +2 -2
- package/dist/es2019/react/nodes/embedCard.js +2 -2
- package/dist/es2019/react/nodes/inlineCard.js +2 -2
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/blockCard.js +2 -2
- package/dist/esm/react/nodes/embedCard.js +2 -2
- package/dist/esm/react/nodes/inlineCard.js +2 -2
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -192,7 +192,7 @@ function BlockCard(props) {
|
|
|
192
192
|
}
|
|
193
193
|
return (0, _react.jsx)(_editorSmartLinkDraggable.SmartLinkDraggable, {
|
|
194
194
|
url: url || '',
|
|
195
|
-
appearance: _editorSmartLinkDraggable.
|
|
195
|
+
appearance: _editorSmartLinkDraggable.SMART_LINK_APPEARANCE.BLOCK,
|
|
196
196
|
source: _editorSmartLinkDraggable.SMART_LINK_DRAG_TYPES.RENDERER
|
|
197
197
|
}, (0, _react.jsx)(_analyticsNext.AnalyticsContext, {
|
|
198
198
|
data: analyticsData
|
|
@@ -204,7 +204,7 @@ function EmbedCardInternal(props) {
|
|
|
204
204
|
// Ignored via go/ees005
|
|
205
205
|
(0, _react.jsx)(_editorSmartLinkDraggable.SmartLinkDraggable, {
|
|
206
206
|
url: url || '',
|
|
207
|
-
appearance: _editorSmartLinkDraggable.
|
|
207
|
+
appearance: _editorSmartLinkDraggable.SMART_LINK_APPEARANCE.EMBED,
|
|
208
208
|
source: _editorSmartLinkDraggable.SMART_LINK_DRAG_TYPES.RENDERER
|
|
209
209
|
}, (0, _react.jsx)(_fallback.CardErrorBoundary, (0, _extends2.default)({
|
|
210
210
|
unsupportedComponent: _ui.UnsupportedBlock,
|
|
@@ -301,7 +301,7 @@ var InlineCard = function InlineCard(props) {
|
|
|
301
301
|
}
|
|
302
302
|
return (0, _react2.jsx)(_editorSmartLinkDraggable.SmartLinkDraggable, {
|
|
303
303
|
url: url || '',
|
|
304
|
-
appearance: _editorSmartLinkDraggable.
|
|
304
|
+
appearance: _editorSmartLinkDraggable.SMART_LINK_APPEARANCE.INLINE,
|
|
305
305
|
source: _editorSmartLinkDraggable.SMART_LINK_DRAG_TYPES.RENDERER
|
|
306
306
|
}, (0, _react2.jsx)(_analyticsNext.AnalyticsContext, {
|
|
307
307
|
data: analyticsData
|
|
@@ -71,7 +71,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
71
71
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
72
72
|
var RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
73
73
|
var packageName = "@atlaskit/renderer";
|
|
74
|
-
var packageVersion = "
|
|
74
|
+
var packageVersion = "128.0.0";
|
|
75
75
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
76
76
|
containerName: 'ak-renderer-wrapper',
|
|
77
77
|
containerType: 'inline-size'
|
|
@@ -8,7 +8,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
8
8
|
import { Card } from '@atlaskit/smart-card';
|
|
9
9
|
import { UnsupportedBlock, UnsupportedInline, WidthConsumer } from '@atlaskit/editor-common/ui';
|
|
10
10
|
import { CardErrorBoundary } from './fallback';
|
|
11
|
-
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES,
|
|
11
|
+
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES, SMART_LINK_APPEARANCE } from '@atlaskit/editor-smart-link-draggable';
|
|
12
12
|
import { getCardClickHandler } from '../utils/getCardClickHandler';
|
|
13
13
|
import InlineCard from './inlineCard';
|
|
14
14
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
@@ -181,7 +181,7 @@ export default function BlockCard(props) {
|
|
|
181
181
|
}
|
|
182
182
|
return jsx(SmartLinkDraggable, {
|
|
183
183
|
url: url || '',
|
|
184
|
-
appearance:
|
|
184
|
+
appearance: SMART_LINK_APPEARANCE.BLOCK,
|
|
185
185
|
source: SMART_LINK_DRAG_TYPES.RENDERER
|
|
186
186
|
}, jsx(AnalyticsContext, {
|
|
187
187
|
data: analyticsData
|
|
@@ -17,7 +17,7 @@ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
|
17
17
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
18
18
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
19
19
|
import { CardErrorBoundary } from './fallback';
|
|
20
|
-
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES,
|
|
20
|
+
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES, SMART_LINK_APPEARANCE } from '@atlaskit/editor-smart-link-draggable';
|
|
21
21
|
import { RendererCssClassName } from '../../consts';
|
|
22
22
|
import { FullPagePadding } from '../../ui/Renderer/style';
|
|
23
23
|
import { getCardClickHandler } from '../utils/getCardClickHandler';
|
|
@@ -192,7 +192,7 @@ function EmbedCardInternal(props) {
|
|
|
192
192
|
// Ignored via go/ees005
|
|
193
193
|
jsx(SmartLinkDraggable, {
|
|
194
194
|
url: url || '',
|
|
195
|
-
appearance:
|
|
195
|
+
appearance: SMART_LINK_APPEARANCE.EMBED,
|
|
196
196
|
source: SMART_LINK_DRAG_TYPES.RENDERER
|
|
197
197
|
}, jsx(CardErrorBoundary, _extends({
|
|
198
198
|
unsupportedComponent: UnsupportedBlock,
|
|
@@ -19,7 +19,7 @@ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
|
19
19
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
20
20
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
21
21
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
22
|
-
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES,
|
|
22
|
+
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES, SMART_LINK_APPEARANCE } from '@atlaskit/editor-smart-link-draggable';
|
|
23
23
|
import { CardErrorBoundary } from './fallback';
|
|
24
24
|
import { withSmartCardStorage } from '../../ui/SmartCardStorage';
|
|
25
25
|
import { getCardClickHandler } from '../utils/getCardClickHandler';
|
|
@@ -286,7 +286,7 @@ const InlineCard = props => {
|
|
|
286
286
|
}
|
|
287
287
|
return jsx(SmartLinkDraggable, {
|
|
288
288
|
url: url || '',
|
|
289
|
-
appearance:
|
|
289
|
+
appearance: SMART_LINK_APPEARANCE.INLINE,
|
|
290
290
|
source: SMART_LINK_DRAG_TYPES.RENDERER
|
|
291
291
|
}, jsx(AnalyticsContext, {
|
|
292
292
|
data: analyticsData
|
|
@@ -57,7 +57,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
57
57
|
const TABLE_INFO_TIMEOUT = 10000;
|
|
58
58
|
const RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
59
59
|
const packageName = "@atlaskit/renderer";
|
|
60
|
-
const packageVersion = "
|
|
60
|
+
const packageVersion = "128.0.0";
|
|
61
61
|
const setAsQueryContainerStyles = css({
|
|
62
62
|
containerName: 'ak-renderer-wrapper',
|
|
63
63
|
containerType: 'inline-size'
|
|
@@ -8,7 +8,7 @@ import { css, jsx } from '@emotion/react';
|
|
|
8
8
|
import { Card } from '@atlaskit/smart-card';
|
|
9
9
|
import { UnsupportedBlock, UnsupportedInline, WidthConsumer } from '@atlaskit/editor-common/ui';
|
|
10
10
|
import { CardErrorBoundary } from './fallback';
|
|
11
|
-
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES,
|
|
11
|
+
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES, SMART_LINK_APPEARANCE } from '@atlaskit/editor-smart-link-draggable';
|
|
12
12
|
import { getCardClickHandler } from '../utils/getCardClickHandler';
|
|
13
13
|
import InlineCard from './inlineCard';
|
|
14
14
|
import { AnalyticsContext } from '@atlaskit/analytics-next';
|
|
@@ -184,7 +184,7 @@ export default function BlockCard(props) {
|
|
|
184
184
|
}
|
|
185
185
|
return jsx(SmartLinkDraggable, {
|
|
186
186
|
url: url || '',
|
|
187
|
-
appearance:
|
|
187
|
+
appearance: SMART_LINK_APPEARANCE.BLOCK,
|
|
188
188
|
source: SMART_LINK_DRAG_TYPES.RENDERER
|
|
189
189
|
}, jsx(AnalyticsContext, {
|
|
190
190
|
data: analyticsData
|
|
@@ -18,7 +18,7 @@ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
|
18
18
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
19
19
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
20
20
|
import { CardErrorBoundary } from './fallback';
|
|
21
|
-
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES,
|
|
21
|
+
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES, SMART_LINK_APPEARANCE } from '@atlaskit/editor-smart-link-draggable';
|
|
22
22
|
import { RendererCssClassName } from '../../consts';
|
|
23
23
|
import { FullPagePadding } from '../../ui/Renderer/style';
|
|
24
24
|
import { getCardClickHandler } from '../utils/getCardClickHandler';
|
|
@@ -196,7 +196,7 @@ function EmbedCardInternal(props) {
|
|
|
196
196
|
// Ignored via go/ees005
|
|
197
197
|
jsx(SmartLinkDraggable, {
|
|
198
198
|
url: url || '',
|
|
199
|
-
appearance:
|
|
199
|
+
appearance: SMART_LINK_APPEARANCE.EMBED,
|
|
200
200
|
source: SMART_LINK_DRAG_TYPES.RENDERER
|
|
201
201
|
}, jsx(CardErrorBoundary, _extends({
|
|
202
202
|
unsupportedComponent: UnsupportedBlock,
|
|
@@ -20,7 +20,7 @@ import { componentWithCondition } from '@atlaskit/platform-feature-flags-react';
|
|
|
20
20
|
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
21
21
|
import { expValEquals } from '@atlaskit/tmp-editor-statsig/exp-val-equals';
|
|
22
22
|
import { ACTION, ACTION_SUBJECT, ACTION_SUBJECT_ID, EVENT_TYPE } from '@atlaskit/editor-common/analytics';
|
|
23
|
-
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES,
|
|
23
|
+
import { SmartLinkDraggable, SMART_LINK_DRAG_TYPES, SMART_LINK_APPEARANCE } from '@atlaskit/editor-smart-link-draggable';
|
|
24
24
|
import { CardErrorBoundary } from './fallback';
|
|
25
25
|
import { withSmartCardStorage } from '../../ui/SmartCardStorage';
|
|
26
26
|
import { getCardClickHandler } from '../utils/getCardClickHandler';
|
|
@@ -292,7 +292,7 @@ var InlineCard = function InlineCard(props) {
|
|
|
292
292
|
}
|
|
293
293
|
return jsx(SmartLinkDraggable, {
|
|
294
294
|
url: url || '',
|
|
295
|
-
appearance:
|
|
295
|
+
appearance: SMART_LINK_APPEARANCE.INLINE,
|
|
296
296
|
source: SMART_LINK_DRAG_TYPES.RENDERER
|
|
297
297
|
}, jsx(AnalyticsContext, {
|
|
298
298
|
data: analyticsData
|
|
@@ -62,7 +62,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
62
62
|
var TABLE_INFO_TIMEOUT = 10000;
|
|
63
63
|
var RENDER_EVENT_SAMPLE_RATE = 0.2;
|
|
64
64
|
var packageName = "@atlaskit/renderer";
|
|
65
|
-
var packageVersion = "
|
|
65
|
+
var packageVersion = "128.0.0";
|
|
66
66
|
var setAsQueryContainerStyles = css({
|
|
67
67
|
containerName: 'ak-renderer-wrapper',
|
|
68
68
|
containerType: 'inline-size'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "128.0.
|
|
3
|
+
"version": "128.0.1",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@atlaskit/status": "^3.1.0",
|
|
60
60
|
"@atlaskit/task-decision": "^19.3.0",
|
|
61
61
|
"@atlaskit/theme": "^22.0.0",
|
|
62
|
-
"@atlaskit/tmp-editor-statsig": "^
|
|
62
|
+
"@atlaskit/tmp-editor-statsig": "^36.0.0",
|
|
63
63
|
"@atlaskit/tokens": "^11.1.0",
|
|
64
64
|
"@atlaskit/tooltip": "^20.14.0",
|
|
65
65
|
"@atlaskit/visually-hidden": "^3.0.0",
|