@atlaskit/renderer 119.1.0 → 119.3.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 +24 -0
- package/dist/cjs/react/nodes/embedCard.js +2 -1
- package/dist/cjs/ui/Expand.js +1 -4
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/embedCard.js +2 -1
- package/dist/es2019/ui/Expand.js +1 -4
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/embedCard.js +2 -1
- package/dist/esm/ui/Expand.js +1 -4
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 119.3.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#177020](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/177020)
|
|
8
|
+
[`206ae7b37b4af`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/206ae7b37b4af) -
|
|
9
|
+
[ux] Add Competitor Prompt for Embed Smart Link
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 119.2.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [#178180](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/178180)
|
|
20
|
+
[`50828d60b0bb8`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/50828d60b0bb8) -
|
|
21
|
+
Removes experiment to not render children of expand element until it gets expanded
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies
|
|
26
|
+
|
|
3
27
|
## 119.1.0
|
|
4
28
|
|
|
5
29
|
### Minor Changes
|
|
@@ -69,7 +69,8 @@ function EmbedCard(props) {
|
|
|
69
69
|
container: portal,
|
|
70
70
|
platform: platform,
|
|
71
71
|
frameStyle: (_smartLinks$frameStyl = smartLinks === null || smartLinks === void 0 ? void 0 : smartLinks.frameStyle) !== null && _smartLinks$frameStyl !== void 0 ? _smartLinks$frameStyl : 'show',
|
|
72
|
-
actionOptions: actionOptions
|
|
72
|
+
actionOptions: actionOptions,
|
|
73
|
+
CompetitorPrompt: smartLinks === null || smartLinks === void 0 ? void 0 : smartLinks.CompetitorPrompt
|
|
73
74
|
};
|
|
74
75
|
var _useState = (0, _react2.useState)(null),
|
|
75
76
|
_useState2 = (0, _slicedToArray2.default)(_useState, 2),
|
package/dist/cjs/ui/Expand.js
CHANGED
|
@@ -17,7 +17,6 @@ var _editorSharedStyles = require("@atlaskit/editor-shared-styles");
|
|
|
17
17
|
var _chevronRight = _interopRequireDefault(require("@atlaskit/icon/glyph/chevron-right"));
|
|
18
18
|
var _chevronRight2 = _interopRequireDefault(require("@atlaskit/icon/core/chevron-right"));
|
|
19
19
|
var _tooltip = _interopRequireDefault(require("@atlaskit/tooltip"));
|
|
20
|
-
var _experiments = require("@atlaskit/tmp-editor-statsig/experiments");
|
|
21
20
|
var _uniqueId2 = _interopRequireDefault(require("lodash/uniqueId"));
|
|
22
21
|
var _reactIntlNext = require("react-intl-next");
|
|
23
22
|
var _events = require("../analytics/events");
|
|
@@ -263,8 +262,6 @@ function Expand(_ref) {
|
|
|
263
262
|
className: "".concat(nodeType, "-content-wrapper")
|
|
264
263
|
}, (0, _react.jsx)(_ui.WidthProvider, null, (0, _react.jsx)("div", {
|
|
265
264
|
css: clearNextSiblingMarginTopStyle
|
|
266
|
-
}),
|
|
267
|
-
exposure: true
|
|
268
|
-
}) ? expanded && children : children))));
|
|
265
|
+
}), children))));
|
|
269
266
|
}
|
|
270
267
|
var _default = exports.default = (0, _reactIntlNext.injectIntl)(Expand);
|
|
@@ -62,7 +62,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
62
62
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
63
63
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
64
64
|
var packageName = "@atlaskit/renderer";
|
|
65
|
-
var packageVersion = "119.0
|
|
65
|
+
var packageVersion = "119.2.0";
|
|
66
66
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
67
67
|
containerName: 'ak-renderer-wrapper',
|
|
68
68
|
containerType: 'inline-size'
|
|
@@ -63,7 +63,8 @@ export default function EmbedCard(props) {
|
|
|
63
63
|
container: portal,
|
|
64
64
|
platform,
|
|
65
65
|
frameStyle: (_smartLinks$frameStyl = smartLinks === null || smartLinks === void 0 ? void 0 : smartLinks.frameStyle) !== null && _smartLinks$frameStyl !== void 0 ? _smartLinks$frameStyl : 'show',
|
|
66
|
-
actionOptions
|
|
66
|
+
actionOptions,
|
|
67
|
+
CompetitorPrompt: smartLinks === null || smartLinks === void 0 ? void 0 : smartLinks.CompetitorPrompt
|
|
67
68
|
};
|
|
68
69
|
const [liveHeight, setLiveHeight] = useState(null);
|
|
69
70
|
const [aspectRatio, setAspectRatio] = useState();
|
package/dist/es2019/ui/Expand.js
CHANGED
|
@@ -13,7 +13,6 @@ import { akEditorLineHeight, akEditorSwoopCubicBezier, akLayoutGutterOffset } fr
|
|
|
13
13
|
import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
|
|
14
14
|
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
15
15
|
import Tooltip from '@atlaskit/tooltip';
|
|
16
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
17
16
|
import _uniqueId from 'lodash/uniqueId';
|
|
18
17
|
import { injectIntl } from 'react-intl-next';
|
|
19
18
|
import { MODE, PLATFORM } from '../analytics/events';
|
|
@@ -243,8 +242,6 @@ function Expand({
|
|
|
243
242
|
className: `${nodeType}-content-wrapper`
|
|
244
243
|
}, jsx(WidthProvider, null, jsx("div", {
|
|
245
244
|
css: clearNextSiblingMarginTopStyle
|
|
246
|
-
}),
|
|
247
|
-
exposure: true
|
|
248
|
-
}) ? expanded && children : children))));
|
|
245
|
+
}), children))));
|
|
249
246
|
}
|
|
250
247
|
export default injectIntl(Expand);
|
|
@@ -48,7 +48,7 @@ import { PortalContext } from './PortalContext';
|
|
|
48
48
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
49
49
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
50
50
|
const packageName = "@atlaskit/renderer";
|
|
51
|
-
const packageVersion = "119.0
|
|
51
|
+
const packageVersion = "119.2.0";
|
|
52
52
|
const setAsQueryContainerStyles = css({
|
|
53
53
|
containerName: 'ak-renderer-wrapper',
|
|
54
54
|
containerType: 'inline-size'
|
|
@@ -61,7 +61,8 @@ export default function EmbedCard(props) {
|
|
|
61
61
|
container: portal,
|
|
62
62
|
platform: platform,
|
|
63
63
|
frameStyle: (_smartLinks$frameStyl = smartLinks === null || smartLinks === void 0 ? void 0 : smartLinks.frameStyle) !== null && _smartLinks$frameStyl !== void 0 ? _smartLinks$frameStyl : 'show',
|
|
64
|
-
actionOptions: actionOptions
|
|
64
|
+
actionOptions: actionOptions,
|
|
65
|
+
CompetitorPrompt: smartLinks === null || smartLinks === void 0 ? void 0 : smartLinks.CompetitorPrompt
|
|
65
66
|
};
|
|
66
67
|
var _useState = useState(null),
|
|
67
68
|
_useState2 = _slicedToArray(_useState, 2),
|
package/dist/esm/ui/Expand.js
CHANGED
|
@@ -16,7 +16,6 @@ import { akEditorLineHeight, akEditorSwoopCubicBezier, akLayoutGutterOffset } fr
|
|
|
16
16
|
import { default as ChevronRightIconLegacy } from '@atlaskit/icon/glyph/chevron-right';
|
|
17
17
|
import ChevronRightIcon from '@atlaskit/icon/core/chevron-right';
|
|
18
18
|
import Tooltip from '@atlaskit/tooltip';
|
|
19
|
-
import { editorExperiment } from '@atlaskit/tmp-editor-statsig/experiments';
|
|
20
19
|
import _uniqueId from 'lodash/uniqueId';
|
|
21
20
|
import { injectIntl } from 'react-intl-next';
|
|
22
21
|
import { MODE, PLATFORM } from '../analytics/events';
|
|
@@ -254,8 +253,6 @@ function Expand(_ref) {
|
|
|
254
253
|
className: "".concat(nodeType, "-content-wrapper")
|
|
255
254
|
}, jsx(WidthProvider, null, jsx("div", {
|
|
256
255
|
css: clearNextSiblingMarginTopStyle
|
|
257
|
-
}),
|
|
258
|
-
exposure: true
|
|
259
|
-
}) ? expanded && children : children))));
|
|
256
|
+
}), children))));
|
|
260
257
|
}
|
|
261
258
|
export default injectIntl(Expand);
|
|
@@ -53,7 +53,7 @@ import { PortalContext } from './PortalContext';
|
|
|
53
53
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
54
54
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
55
55
|
var packageName = "@atlaskit/renderer";
|
|
56
|
-
var packageVersion = "119.0
|
|
56
|
+
var packageVersion = "119.2.0";
|
|
57
57
|
var setAsQueryContainerStyles = css({
|
|
58
58
|
containerName: 'ak-renderer-wrapper',
|
|
59
59
|
containerType: 'inline-size'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "119.
|
|
3
|
+
"version": "119.3.0",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -31,32 +31,32 @@
|
|
|
31
31
|
"@atlaskit/analytics-next": "^11.1.0",
|
|
32
32
|
"@atlaskit/button": "^23.2.0",
|
|
33
33
|
"@atlaskit/code": "^17.2.0",
|
|
34
|
-
"@atlaskit/editor-common": "^107.
|
|
34
|
+
"@atlaskit/editor-common": "^107.3.0",
|
|
35
35
|
"@atlaskit/editor-json-transformer": "^8.24.0",
|
|
36
36
|
"@atlaskit/editor-palette": "^2.1.0",
|
|
37
37
|
"@atlaskit/editor-prosemirror": "7.0.0",
|
|
38
38
|
"@atlaskit/editor-shared-styles": "^3.4.0",
|
|
39
39
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
40
40
|
"@atlaskit/emoji": "^69.3.0",
|
|
41
|
-
"@atlaskit/feature-gate-js-client": "^5.
|
|
41
|
+
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
42
42
|
"@atlaskit/icon": "^27.2.0",
|
|
43
43
|
"@atlaskit/link": "^3.2.0",
|
|
44
44
|
"@atlaskit/link-datasource": "^4.11.0",
|
|
45
45
|
"@atlaskit/media-card": "^79.3.0",
|
|
46
|
-
"@atlaskit/media-client": "^34.
|
|
46
|
+
"@atlaskit/media-client": "^34.2.0",
|
|
47
47
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
48
|
-
"@atlaskit/media-common": "^12.
|
|
48
|
+
"@atlaskit/media-common": "^12.3.0",
|
|
49
49
|
"@atlaskit/media-filmstrip": "^51.0.0",
|
|
50
50
|
"@atlaskit/media-ui": "^28.5.0",
|
|
51
|
-
"@atlaskit/media-viewer": "^52.
|
|
51
|
+
"@atlaskit/media-viewer": "^52.4.0",
|
|
52
52
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
53
53
|
"@atlaskit/platform-feature-flags-react": "^0.2.0",
|
|
54
54
|
"@atlaskit/react-ufo": "^3.14.0",
|
|
55
|
-
"@atlaskit/smart-card": "^38.
|
|
55
|
+
"@atlaskit/smart-card": "^38.19.0",
|
|
56
56
|
"@atlaskit/status": "^3.0.0",
|
|
57
57
|
"@atlaskit/task-decision": "^19.2.0",
|
|
58
58
|
"@atlaskit/theme": "^18.0.0",
|
|
59
|
-
"@atlaskit/tmp-editor-statsig": "^8.
|
|
59
|
+
"@atlaskit/tmp-editor-statsig": "^8.5.0",
|
|
60
60
|
"@atlaskit/tokens": "^5.4.0",
|
|
61
61
|
"@atlaskit/tooltip": "^20.3.0",
|
|
62
62
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"uuid": "^3.1.0"
|
|
71
71
|
},
|
|
72
72
|
"peerDependencies": {
|
|
73
|
-
"@atlaskit/link-provider": "^3.
|
|
73
|
+
"@atlaskit/link-provider": "^3.4.0",
|
|
74
74
|
"@atlaskit/media-core": "^37.0.0",
|
|
75
75
|
"react": "^18.2.0",
|
|
76
76
|
"react-dom": "^18.2.0"
|
|
@@ -81,7 +81,7 @@
|
|
|
81
81
|
"@atlaskit/analytics-gas-types": "^5.1.0",
|
|
82
82
|
"@atlaskit/checkbox": "^17.1.0",
|
|
83
83
|
"@atlaskit/css-reset": "^7.3.0",
|
|
84
|
-
"@atlaskit/link-provider": "^3.
|
|
84
|
+
"@atlaskit/link-provider": "^3.4.0",
|
|
85
85
|
"@atlaskit/link-test-helpers": "^8.1.0",
|
|
86
86
|
"@atlaskit/linking-common": "^9.1.0",
|
|
87
87
|
"@atlaskit/media-core": "^37.0.0",
|