@atlaskit/renderer 124.8.4 → 124.8.5

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 CHANGED
@@ -1,5 +1,12 @@
1
1
  # @atlaskit/renderer
2
2
 
3
+ ## 124.8.5
4
+
5
+ ### Patch Changes
6
+
7
+ - [`6800be8c35a5f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/6800be8c35a5f) -
8
+ [ux] Omit .aui-lozenge from contentMode scaling when inside extensions
9
+
3
10
  ## 124.8.4
4
11
 
5
12
  ### 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.3";
71
+ var packageVersion = "0.0.0-development";
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.3";
57
+ const packageVersion = "0.0.0-development";
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.3";
62
+ var packageVersion = "0.0.0-development";
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.4",
3
+ "version": "124.8.5",
4
4
  "description": "Renderer component",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"