@atlaskit/renderer 124.8.4 → 124.8.6
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 +15 -0
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +5 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +5 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +5 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 124.8.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`21fe79119fe74`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/21fe79119fe74) -
|
|
8
|
+
EDITOR-2447 Bump adf-schema to 51.3.2
|
|
9
|
+
- Updated dependencies
|
|
10
|
+
|
|
11
|
+
## 124.8.5
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [`6800be8c35a5f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6800be8c35a5f) -
|
|
16
|
+
[ux] Omit .aui-lozenge from contentMode scaling when inside extensions
|
|
17
|
+
|
|
3
18
|
## 124.8.4
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -717,8 +717,12 @@ var codeMarkSharedStyles = (0, _react.css)({
|
|
|
717
717
|
}
|
|
718
718
|
});
|
|
719
719
|
var extensionStyle = (0, _react.css)({
|
|
720
|
+
// Sets fontSize of extensions to match base font size which scales with the renderer contentMode prop
|
|
721
|
+
// exceptions:
|
|
722
|
+
// - nested renderers - bodied extensions have nested renderers adopt the contentMode prop themselves so should not be touched
|
|
723
|
+
// - legacy status lozenge - some extensions use the .aui-lozenge class for a legacy status lozenge and is not designed to scale
|
|
720
724
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
721
|
-
'.ak-renderer-extension :not(.ak-renderer-extension .ak-renderer-document
|
|
725
|
+
'.ak-renderer-extension :not(.ak-renderer-extension .ak-renderer-document *, .aui-lozenge)': {
|
|
722
726
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
723
727
|
fontSize: 'var(--ak-renderer-base-font-size)'
|
|
724
728
|
}
|
|
@@ -68,7 +68,7 @@ var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
68
68
|
// we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
|
|
69
69
|
var TABLE_WIDTH_INFO_TIMEOUT = 10000;
|
|
70
70
|
var packageName = "@atlaskit/renderer";
|
|
71
|
-
var packageVersion = "124.8.
|
|
71
|
+
var packageVersion = "124.8.5";
|
|
72
72
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
73
73
|
containerName: 'ak-renderer-wrapper',
|
|
74
74
|
containerType: 'inline-size'
|
|
@@ -826,8 +826,12 @@ const codeMarkSharedStyles = css({
|
|
|
826
826
|
}
|
|
827
827
|
});
|
|
828
828
|
const extensionStyle = css({
|
|
829
|
+
// Sets fontSize of extensions to match base font size which scales with the renderer contentMode prop
|
|
830
|
+
// exceptions:
|
|
831
|
+
// - nested renderers - bodied extensions have nested renderers adopt the contentMode prop themselves so should not be touched
|
|
832
|
+
// - legacy status lozenge - some extensions use the .aui-lozenge class for a legacy status lozenge and is not designed to scale
|
|
829
833
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
830
|
-
'.ak-renderer-extension :not(.ak-renderer-extension .ak-renderer-document
|
|
834
|
+
'.ak-renderer-extension :not(.ak-renderer-extension .ak-renderer-document *, .aui-lozenge)': {
|
|
831
835
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
832
836
|
fontSize: 'var(--ak-renderer-base-font-size)'
|
|
833
837
|
}
|
|
@@ -54,7 +54,7 @@ export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
54
54
|
// we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
|
|
55
55
|
const TABLE_WIDTH_INFO_TIMEOUT = 10000;
|
|
56
56
|
const packageName = "@atlaskit/renderer";
|
|
57
|
-
const packageVersion = "124.8.
|
|
57
|
+
const packageVersion = "124.8.5";
|
|
58
58
|
const setAsQueryContainerStyles = css({
|
|
59
59
|
containerName: 'ak-renderer-wrapper',
|
|
60
60
|
containerType: 'inline-size'
|
|
@@ -710,8 +710,12 @@ var codeMarkSharedStyles = css({
|
|
|
710
710
|
}
|
|
711
711
|
});
|
|
712
712
|
var extensionStyle = css({
|
|
713
|
+
// Sets fontSize of extensions to match base font size which scales with the renderer contentMode prop
|
|
714
|
+
// exceptions:
|
|
715
|
+
// - nested renderers - bodied extensions have nested renderers adopt the contentMode prop themselves so should not be touched
|
|
716
|
+
// - legacy status lozenge - some extensions use the .aui-lozenge class for a legacy status lozenge and is not designed to scale
|
|
713
717
|
// eslint-disable-next-line @atlaskit/ui-styling-standard/no-unsafe-selectors
|
|
714
|
-
'.ak-renderer-extension :not(.ak-renderer-extension .ak-renderer-document
|
|
718
|
+
'.ak-renderer-extension :not(.ak-renderer-extension .ak-renderer-document *, .aui-lozenge)': {
|
|
715
719
|
// eslint-disable-next-line @atlaskit/design-system/use-tokens-typography
|
|
716
720
|
fontSize: 'var(--ak-renderer-base-font-size)'
|
|
717
721
|
}
|
|
@@ -59,7 +59,7 @@ export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
|
59
59
|
// we want to calculate all the table widths (which causes reflows) after the renderer has finished loading to mitigate performance impact
|
|
60
60
|
var TABLE_WIDTH_INFO_TIMEOUT = 10000;
|
|
61
61
|
var packageName = "@atlaskit/renderer";
|
|
62
|
-
var packageVersion = "124.8.
|
|
62
|
+
var packageVersion = "124.8.5";
|
|
63
63
|
var setAsQueryContainerStyles = css({
|
|
64
64
|
containerName: 'ak-renderer-wrapper',
|
|
65
65
|
containerType: 'inline-size'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "124.8.
|
|
3
|
+
"version": "124.8.6",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
}
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@atlaskit/adf-schema": "^51.3.
|
|
26
|
+
"@atlaskit/adf-schema": "^51.3.2",
|
|
27
27
|
"@atlaskit/adf-utils": "^19.25.0",
|
|
28
28
|
"@atlaskit/afm-i18n-platform-editor-renderer": "2.7.0",
|
|
29
29
|
"@atlaskit/analytics-listeners": "^9.1.0",
|