@atlaskit/renderer 115.0.4 → 115.0.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 +10 -0
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +6 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +8 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +6 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +4 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 115.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#152190](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/152190)
|
|
8
|
+
[`28f5e254032c1`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/28f5e254032c1) -
|
|
9
|
+
[ux] Fix smart card avatar squashed appearance with margin-right override behind
|
|
10
|
+
smartcard_avatar_margin_fix
|
|
11
|
+
- Updated dependencies
|
|
12
|
+
|
|
3
13
|
## 115.0.4
|
|
4
14
|
|
|
5
15
|
### Patch Changes
|
|
@@ -723,6 +723,11 @@ var smartCardStylesAvatarFix = (0, _react.css)((0, _defineProperty2.default)({},
|
|
|
723
723
|
}
|
|
724
724
|
/* EDM-11991: Fix list plugin add padding to ADS AvatarGroup end */
|
|
725
725
|
}));
|
|
726
|
+
var smartCardStylesAvatarMarginFix = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_styles.SmartCardSharedCssClassName.LOADER_WRAPPER), {
|
|
727
|
+
'ul, ol': {
|
|
728
|
+
marginRight: 'inherit'
|
|
729
|
+
}
|
|
730
|
+
}));
|
|
726
731
|
var baseOtherStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
727
732
|
'& .UnknownBlock': {
|
|
728
733
|
fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
@@ -1389,7 +1394,7 @@ var RendererStyleContainer = exports.RendererStyleContainer = function RendererS
|
|
|
1389
1394
|
'--ak-renderer-editor-font-heading-h6': "".concat((0, _ugcTokens.editorUGCToken)('editor.font.heading.h6')),
|
|
1390
1395
|
'--ak-renderer-editor-font-normal-text': "".concat((0, _ugcTokens.editorUGCToken)('editor.font.body'))
|
|
1391
1396
|
},
|
|
1392
|
-
css: [baseStyles, (0, _platformFeatureFlags.fg)('platform_hide_heading_anchor_wrapper_before_hover') && hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !(0, _table.isTableResizingEnabled)(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, _browser.browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && smartCardStylesAvatarFix,
|
|
1397
|
+
css: [baseStyles, (0, _platformFeatureFlags.fg)('platform_hide_heading_anchor_wrapper_before_hover') && hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !(0, _table.isTableResizingEnabled)(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, (0, _platformFeatureFlags.fg)('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, _browser.browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, (0, _platformFeatureFlags.fg)('platform-linking-visual-refresh-v1') && smartCardStylesAvatarFix, (0, _platformFeatureFlags.fg)('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix,
|
|
1393
1398
|
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
1394
1399
|
(0, _platformFeatureFlags.fg)('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
|
|
1395
1400
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
@@ -60,7 +60,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
60
60
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
61
61
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
62
62
|
var packageName = "@atlaskit/renderer";
|
|
63
|
-
var packageVersion = "115.0.
|
|
63
|
+
var packageVersion = "115.0.5";
|
|
64
64
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
65
65
|
containerName: 'ak-renderer-wrapper',
|
|
66
66
|
containerType: 'inline-size',
|
|
@@ -849,6 +849,13 @@ const smartCardStylesAvatarFix = css({
|
|
|
849
849
|
/* EDM-11991: Fix list plugin add padding to ADS AvatarGroup end */
|
|
850
850
|
}
|
|
851
851
|
});
|
|
852
|
+
const smartCardStylesAvatarMarginFix = css({
|
|
853
|
+
[`.${SmartCardSharedCssClassName.LOADER_WRAPPER}`]: {
|
|
854
|
+
'ul, ol': {
|
|
855
|
+
marginRight: 'inherit'
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
});
|
|
852
859
|
const baseOtherStyles = css({
|
|
853
860
|
'& .UnknownBlock': {
|
|
854
861
|
fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
@@ -1777,7 +1784,7 @@ export const RendererStyleContainer = props => {
|
|
|
1777
1784
|
'--ak-renderer-editor-font-heading-h6': `${editorUGCToken('editor.font.heading.h6')}`,
|
|
1778
1785
|
'--ak-renderer-editor-font-normal-text': `${editorUGCToken('editor.font.body')}`
|
|
1779
1786
|
},
|
|
1780
|
-
css: [baseStyles, fg('platform_hide_heading_anchor_wrapper_before_hover') && hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !isTableResizingEnabled(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, fg('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, fg('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, fg('platform-linking-visual-refresh-v1') && smartCardStylesAvatarFix,
|
|
1787
|
+
css: [baseStyles, fg('platform_hide_heading_anchor_wrapper_before_hover') && hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !isTableResizingEnabled(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, fg('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, fg('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, fg('platform-linking-visual-refresh-v1') && smartCardStylesAvatarFix, fg('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix,
|
|
1781
1788
|
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
1782
1789
|
fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
|
|
1783
1790
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
@@ -47,7 +47,7 @@ import { useMemoFromPropsDerivative } from './useMemoFromPropsDerivative';
|
|
|
47
47
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
48
48
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
49
49
|
const packageName = "@atlaskit/renderer";
|
|
50
|
-
const packageVersion = "115.0.
|
|
50
|
+
const packageVersion = "115.0.5";
|
|
51
51
|
const setAsQueryContainerStyles = css({
|
|
52
52
|
containerName: 'ak-renderer-wrapper',
|
|
53
53
|
containerType: 'inline-size',
|
|
@@ -716,6 +716,11 @@ var smartCardStylesAvatarFix = css(_defineProperty({}, ".".concat(SmartCardShare
|
|
|
716
716
|
}
|
|
717
717
|
/* EDM-11991: Fix list plugin add padding to ADS AvatarGroup end */
|
|
718
718
|
}));
|
|
719
|
+
var smartCardStylesAvatarMarginFix = css(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.LOADER_WRAPPER), {
|
|
720
|
+
'ul, ol': {
|
|
721
|
+
marginRight: 'inherit'
|
|
722
|
+
}
|
|
723
|
+
}));
|
|
719
724
|
var baseOtherStyles = css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
720
725
|
'& .UnknownBlock': {
|
|
721
726
|
fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
@@ -1382,7 +1387,7 @@ export var RendererStyleContainer = function RendererStyleContainer(props) {
|
|
|
1382
1387
|
'--ak-renderer-editor-font-heading-h6': "".concat(editorUGCToken('editor.font.heading.h6')),
|
|
1383
1388
|
'--ak-renderer-editor-font-normal-text': "".concat(editorUGCToken('editor.font.body'))
|
|
1384
1389
|
},
|
|
1385
|
-
css: [baseStyles, fg('platform_hide_heading_anchor_wrapper_before_hover') && hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !isTableResizingEnabled(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, fg('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, fg('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, fg('platform-linking-visual-refresh-v1') && smartCardStylesAvatarFix,
|
|
1390
|
+
css: [baseStyles, fg('platform_hide_heading_anchor_wrapper_before_hover') && hideHeadingCopyLinkWrapperStyles, appearance === 'full-page' && rendererFullPageStyles, appearance === 'full-width' && rendererFullWidthStyles, appearance === 'full-width' && !isTableResizingEnabled(appearance) && rendererFullWidthStylesForTableResizing, telepointerStyles, whitespaceSharedStyles, blockquoteSharedStyles, fg('platform_editor_typography_ugc') ? headingsSharedStylesWithEditorUGC : headingsSharedStyles, headingWithAlignmentStyles, ruleSharedStyles, fg('platform_editor_typography_ugc') ? paragraphSharedStylesWithEditorUGC : paragraphSharedStyles, listsSharedStyles, browser.gecko && listsSharedStylesForGekko, indentationSharedStyles, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, fg('platform-linking-visual-refresh-v1') && smartCardStylesAvatarFix, fg('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix,
|
|
1386
1391
|
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
1387
1392
|
fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
|
|
1388
1393
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
@@ -50,7 +50,7 @@ import { useMemoFromPropsDerivative } from './useMemoFromPropsDerivative';
|
|
|
50
50
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
51
51
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
52
52
|
var packageName = "@atlaskit/renderer";
|
|
53
|
-
var packageVersion = "115.0.
|
|
53
|
+
var packageVersion = "115.0.5";
|
|
54
54
|
var setAsQueryContainerStyles = css({
|
|
55
55
|
containerName: 'ak-renderer-wrapper',
|
|
56
56
|
containerType: 'inline-size',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/renderer",
|
|
3
|
-
"version": "115.0.
|
|
3
|
+
"version": "115.0.5",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -253,6 +253,9 @@
|
|
|
253
253
|
},
|
|
254
254
|
"platform_hide_heading_anchor_wrapper_before_hover": {
|
|
255
255
|
"type": "boolean"
|
|
256
|
+
},
|
|
257
|
+
"smartcard_avatar_margin_fix": {
|
|
258
|
+
"type": "boolean"
|
|
256
259
|
}
|
|
257
260
|
},
|
|
258
261
|
"af:exports": {
|