@atlaskit/renderer 120.5.0 → 120.5.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 +9 -0
- package/dist/cjs/react/nodes/inlineCard.js +2 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/react/nodes/inlineCard.js +2 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/react/nodes/inlineCard.js +2 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +3 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 120.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`ffc3ef708967c`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/ffc3ef708967c) -
|
|
8
|
+
[ux] Adds an optional disablePreviewPanel prop on a smartcard to allow consumers opt out of
|
|
9
|
+
opening Preview Panel by default when a smartlink is clicked.
|
|
10
|
+
- Updated dependencies
|
|
11
|
+
|
|
3
12
|
## 120.5.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -198,7 +198,8 @@ var InlineCard = function InlineCard(props) {
|
|
|
198
198
|
setIsResolvedViewRendered(true);
|
|
199
199
|
}
|
|
200
200
|
},
|
|
201
|
-
onError: onError
|
|
201
|
+
onError: onError,
|
|
202
|
+
disablePreviewPanel: (0, _expValEquals.expValEquals)('platform_editor_preview_panel_linking_exp', 'isEnabled', true)
|
|
202
203
|
}))), CompetitorPromptComponent)));
|
|
203
204
|
};
|
|
204
205
|
var _default = exports.default = (0, _SmartCardStorage.withSmartCardStorage)(InlineCard);
|
|
@@ -63,7 +63,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
63
63
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
64
64
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
65
65
|
var packageName = "@atlaskit/renderer";
|
|
66
|
-
var packageVersion = "120.
|
|
66
|
+
var packageVersion = "120.5.0";
|
|
67
67
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
68
68
|
containerName: 'ak-renderer-wrapper',
|
|
69
69
|
containerType: 'inline-size'
|
|
@@ -182,7 +182,8 @@ const InlineCard = props => {
|
|
|
182
182
|
setIsResolvedViewRendered(true);
|
|
183
183
|
}
|
|
184
184
|
},
|
|
185
|
-
onError: onError
|
|
185
|
+
onError: onError,
|
|
186
|
+
disablePreviewPanel: expValEquals('platform_editor_preview_panel_linking_exp', 'isEnabled', true)
|
|
186
187
|
}))), CompetitorPromptComponent)));
|
|
187
188
|
};
|
|
188
189
|
export default withSmartCardStorage(InlineCard);
|
|
@@ -49,7 +49,7 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
|
|
|
49
49
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
50
50
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
51
51
|
const packageName = "@atlaskit/renderer";
|
|
52
|
-
const packageVersion = "120.
|
|
52
|
+
const packageVersion = "120.5.0";
|
|
53
53
|
const setAsQueryContainerStyles = css({
|
|
54
54
|
containerName: 'ak-renderer-wrapper',
|
|
55
55
|
containerType: 'inline-size'
|
|
@@ -189,7 +189,8 @@ var InlineCard = function InlineCard(props) {
|
|
|
189
189
|
setIsResolvedViewRendered(true);
|
|
190
190
|
}
|
|
191
191
|
},
|
|
192
|
-
onError: onError
|
|
192
|
+
onError: onError,
|
|
193
|
+
disablePreviewPanel: expValEquals('platform_editor_preview_panel_linking_exp', 'isEnabled', true)
|
|
193
194
|
}))), CompetitorPromptComponent)));
|
|
194
195
|
};
|
|
195
196
|
export default withSmartCardStorage(InlineCard);
|
|
@@ -54,7 +54,7 @@ import { expValEqualsNoExposure } from '@atlaskit/tmp-editor-statsig/exp-val-equ
|
|
|
54
54
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
55
55
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
56
56
|
var packageName = "@atlaskit/renderer";
|
|
57
|
-
var packageVersion = "120.
|
|
57
|
+
var packageVersion = "120.5.0";
|
|
58
58
|
var setAsQueryContainerStyles = css({
|
|
59
59
|
containerName: 'ak-renderer-wrapper',
|
|
60
60
|
containerType: 'inline-size'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "120.5.
|
|
3
|
+
"version": "120.5.1",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
51
|
"@atlaskit/platform-feature-flags-react": "^0.2.0",
|
|
52
52
|
"@atlaskit/react-ufo": "^4.4.0",
|
|
53
|
-
"@atlaskit/smart-card": "^40.
|
|
53
|
+
"@atlaskit/smart-card": "^40.13.0",
|
|
54
54
|
"@atlaskit/status": "^3.0.0",
|
|
55
55
|
"@atlaskit/task-decision": "^19.2.0",
|
|
56
56
|
"@atlaskit/theme": "^19.0.0",
|
|
@@ -89,9 +89,8 @@
|
|
|
89
89
|
"@atlaskit/mention": "^24.2.0",
|
|
90
90
|
"@atlaskit/modal-dialog": "^14.3.0",
|
|
91
91
|
"@atlaskit/navigation-next": "patch:@atlaskit/navigation-next@npm%3A9.0.17#~/.yarn/patches/@atlaskit-navigation-next-npm-9.0.17-d1445f2f74.patch",
|
|
92
|
-
"@atlaskit/profilecard": "^24.
|
|
92
|
+
"@atlaskit/profilecard": "^24.6.0",
|
|
93
93
|
"@atlaskit/util-data-test": "^18.1.0",
|
|
94
|
-
"@atlaskit/visual-regression": "workspace:^",
|
|
95
94
|
"@atlassian/feature-flags-test-utils": "^0.3.0",
|
|
96
95
|
"@testing-library/react": "^13.4.0",
|
|
97
96
|
"@testing-library/react-hooks": "^8.0.1",
|