@atlaskit/renderer 120.1.7 → 120.1.8
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 +8 -0
- package/dist/cjs/ui/Renderer/RendererStyleContainer.js +10 -1
- package/dist/cjs/ui/Renderer/index.js +1 -1
- package/dist/es2019/ui/Renderer/RendererStyleContainer.js +12 -1
- package/dist/es2019/ui/Renderer/index.js +1 -1
- package/dist/esm/ui/Renderer/RendererStyleContainer.js +10 -1
- package/dist/esm/ui/Renderer/index.js +1 -1
- package/package.json +11 -8
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 120.1.8
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#187914](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/187914)
|
|
8
|
+
[`b0e2ddab3570f`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/b0e2ddab3570f) -
|
|
9
|
+
[ux] Fix avatar group alignment in block card container
|
|
10
|
+
|
|
3
11
|
## 120.1.7
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -748,11 +748,20 @@ var smartCardStylesAvatarFix = (0, _react.css)((0, _defineProperty2.default)({},
|
|
|
748
748
|
}
|
|
749
749
|
/* EDM-11991: Fix list plugin add padding to ADS AvatarGroup end */
|
|
750
750
|
}));
|
|
751
|
+
|
|
752
|
+
// fg smartcard_avatar_margin_fix
|
|
751
753
|
var smartCardStylesAvatarMarginFix = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_styles.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), {
|
|
752
754
|
'ul, ol': {
|
|
753
755
|
marginRight: 'inherit'
|
|
754
756
|
}
|
|
755
757
|
}));
|
|
758
|
+
|
|
759
|
+
// fg platform_editor_avatar_group_margin_fix
|
|
760
|
+
var smartCardStylesAvatarMarginFix2 = (0, _react.css)((0, _defineProperty2.default)({}, ".".concat(_styles.SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), {
|
|
761
|
+
'ul, ol': {
|
|
762
|
+
marginTop: 0
|
|
763
|
+
}
|
|
764
|
+
}));
|
|
756
765
|
var baseOtherStyles = (0, _react.css)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)((0, _defineProperty2.default)({
|
|
757
766
|
'& .UnknownBlock': {
|
|
758
767
|
fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
@@ -1422,7 +1431,7 @@ var RendererStyleContainer = exports.RendererStyleContainer = function RendererS
|
|
|
1422
1431
|
'--ak-renderer-editor-font-heading-h6': "".concat((0, _ugcTokens.editorUGCToken)('editor.font.heading.h6')),
|
|
1423
1432
|
'--ak-renderer-editor-font-normal-text': "".concat((0, _ugcTokens.editorUGCToken)('editor.font.body'))
|
|
1424
1433
|
},
|
|
1425
|
-
css: [baseStyles, 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, (0, _platformFeatureFlags.fg)('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, (0, _platformFeatureFlags.fg)('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix,
|
|
1434
|
+
css: [baseStyles, 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, (0, _platformFeatureFlags.fg)('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, (0, _platformFeatureFlags.fg)('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix, (0, _platformFeatureFlags.fg)('platform_editor_avatar_group_margin_fix') && smartCardStylesAvatarMarginFix2,
|
|
1426
1435
|
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
1427
1436
|
(0, _platformFeatureFlags.fg)('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
|
|
1428
1437
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
@@ -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 = "120.1.
|
|
65
|
+
var packageVersion = "120.1.7";
|
|
66
66
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
67
67
|
containerName: 'ak-renderer-wrapper',
|
|
68
68
|
containerType: 'inline-size'
|
|
@@ -876,6 +876,8 @@ const smartCardStylesAvatarFix = css({
|
|
|
876
876
|
/* EDM-11991: Fix list plugin add padding to ADS AvatarGroup end */
|
|
877
877
|
}
|
|
878
878
|
});
|
|
879
|
+
|
|
880
|
+
// fg smartcard_avatar_margin_fix
|
|
879
881
|
const smartCardStylesAvatarMarginFix = css({
|
|
880
882
|
[`.${SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER}`]: {
|
|
881
883
|
'ul, ol': {
|
|
@@ -883,6 +885,15 @@ const smartCardStylesAvatarMarginFix = css({
|
|
|
883
885
|
}
|
|
884
886
|
}
|
|
885
887
|
});
|
|
888
|
+
|
|
889
|
+
// fg platform_editor_avatar_group_margin_fix
|
|
890
|
+
const smartCardStylesAvatarMarginFix2 = css({
|
|
891
|
+
[`.${SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER}`]: {
|
|
892
|
+
'ul, ol': {
|
|
893
|
+
marginTop: 0
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
});
|
|
886
897
|
const baseOtherStyles = css({
|
|
887
898
|
'& .UnknownBlock': {
|
|
888
899
|
fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
@@ -1816,7 +1827,7 @@ export const RendererStyleContainer = props => {
|
|
|
1816
1827
|
'--ak-renderer-editor-font-heading-h6': `${editorUGCToken('editor.font.heading.h6')}`,
|
|
1817
1828
|
'--ak-renderer-editor-font-normal-text': `${editorUGCToken('editor.font.body')}`
|
|
1818
1829
|
},
|
|
1819
|
-
css: [baseStyles, 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, fg('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, fg('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix,
|
|
1830
|
+
css: [baseStyles, 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, fg('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, fg('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix, fg('platform_editor_avatar_group_margin_fix') && smartCardStylesAvatarMarginFix2,
|
|
1820
1831
|
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
1821
1832
|
fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
|
|
1822
1833
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
@@ -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 = "120.1.
|
|
51
|
+
const packageVersion = "120.1.7";
|
|
52
52
|
const setAsQueryContainerStyles = css({
|
|
53
53
|
containerName: 'ak-renderer-wrapper',
|
|
54
54
|
containerType: 'inline-size'
|
|
@@ -741,11 +741,20 @@ var smartCardStylesAvatarFix = css(_defineProperty({}, ".".concat(SmartCardShare
|
|
|
741
741
|
}
|
|
742
742
|
/* EDM-11991: Fix list plugin add padding to ADS AvatarGroup end */
|
|
743
743
|
}));
|
|
744
|
+
|
|
745
|
+
// fg smartcard_avatar_margin_fix
|
|
744
746
|
var smartCardStylesAvatarMarginFix = css(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), {
|
|
745
747
|
'ul, ol': {
|
|
746
748
|
marginRight: 'inherit'
|
|
747
749
|
}
|
|
748
750
|
}));
|
|
751
|
+
|
|
752
|
+
// fg platform_editor_avatar_group_margin_fix
|
|
753
|
+
var smartCardStylesAvatarMarginFix2 = css(_defineProperty({}, ".".concat(SmartCardSharedCssClassName.BLOCK_CARD_CONTAINER), {
|
|
754
|
+
'ul, ol': {
|
|
755
|
+
marginTop: 0
|
|
756
|
+
}
|
|
757
|
+
}));
|
|
749
758
|
var baseOtherStyles = css(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({
|
|
750
759
|
'& .UnknownBlock': {
|
|
751
760
|
fontFamily: "var(--ds-font-family-body, ui-sans-serif, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Ubuntu, \"Helvetica Neue\", sans-serif)",
|
|
@@ -1415,7 +1424,7 @@ export var RendererStyleContainer = function RendererStyleContainer(props) {
|
|
|
1415
1424
|
'--ak-renderer-editor-font-heading-h6': "".concat(editorUGCToken('editor.font.heading.h6')),
|
|
1416
1425
|
'--ak-renderer-editor-font-normal-text': "".concat(editorUGCToken('editor.font.body'))
|
|
1417
1426
|
},
|
|
1418
|
-
css: [baseStyles, 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, fg('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, fg('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix,
|
|
1427
|
+
css: [baseStyles, 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, fg('platform_editor__renderer_indentation_text_margin') && indentationSharedStylesWithMarginFix, blockMarksSharedStyles, codeMarkSharedStyles, shadowSharedStyle, dateSharedStyle, textColorStyles, backgroundColorStyles, tasksAndDecisionsStyles, smartCardStyles, smartCardStylesAvatarFix, fg('smartcard_avatar_margin_fix') && smartCardStylesAvatarMarginFix, fg('platform_editor_avatar_group_margin_fix') && smartCardStylesAvatarMarginFix2,
|
|
1419
1428
|
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
1420
1429
|
fg('editor_inline_comments_on_inline_nodes') && rendererAnnotationStyles,
|
|
1421
1430
|
// eslint-disable-next-line @atlaskit/platform/no-preconditioning, @atlaskit/platform/ensure-feature-flag-prefix
|
|
@@ -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 = "120.1.
|
|
56
|
+
var packageVersion = "120.1.7";
|
|
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": "120.1.
|
|
3
|
+
"version": "120.1.8",
|
|
4
4
|
"description": "Renderer component",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -37,9 +37,9 @@
|
|
|
37
37
|
"@atlaskit/editor-tables": "^2.9.0",
|
|
38
38
|
"@atlaskit/emoji": "^69.3.0",
|
|
39
39
|
"@atlaskit/feature-gate-js-client": "^5.5.0",
|
|
40
|
-
"@atlaskit/icon": "^27.
|
|
40
|
+
"@atlaskit/icon": "^27.5.0",
|
|
41
41
|
"@atlaskit/link": "^3.2.0",
|
|
42
|
-
"@atlaskit/link-datasource": "^4.
|
|
42
|
+
"@atlaskit/link-datasource": "^4.14.0",
|
|
43
43
|
"@atlaskit/media-card": "^79.4.0",
|
|
44
44
|
"@atlaskit/media-client": "^35.1.0",
|
|
45
45
|
"@atlaskit/media-client-react": "^4.1.0",
|
|
@@ -49,13 +49,13 @@
|
|
|
49
49
|
"@atlaskit/media-viewer": "^52.4.0",
|
|
50
50
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
51
51
|
"@atlaskit/platform-feature-flags-react": "^0.2.0",
|
|
52
|
-
"@atlaskit/react-ufo": "^4.
|
|
52
|
+
"@atlaskit/react-ufo": "^4.1.0",
|
|
53
53
|
"@atlaskit/smart-card": "^40.4.0",
|
|
54
54
|
"@atlaskit/status": "^3.0.0",
|
|
55
55
|
"@atlaskit/task-decision": "^19.2.0",
|
|
56
56
|
"@atlaskit/theme": "^19.0.0",
|
|
57
|
-
"@atlaskit/tmp-editor-statsig": "^9.
|
|
58
|
-
"@atlaskit/tokens": "^5.
|
|
57
|
+
"@atlaskit/tmp-editor-statsig": "^9.9.0",
|
|
58
|
+
"@atlaskit/tokens": "^5.6.0",
|
|
59
59
|
"@atlaskit/tooltip": "^20.3.0",
|
|
60
60
|
"@atlaskit/visually-hidden": "^3.0.0",
|
|
61
61
|
"@babel/runtime": "^7.0.0",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"uuid": "^3.1.0"
|
|
69
69
|
},
|
|
70
70
|
"peerDependencies": {
|
|
71
|
-
"@atlaskit/editor-common": "^107.
|
|
71
|
+
"@atlaskit/editor-common": "^107.9.0",
|
|
72
72
|
"@atlaskit/link-provider": "^3.4.0",
|
|
73
73
|
"@atlaskit/media-core": "^37.0.0",
|
|
74
74
|
"react": "^18.2.0",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"@atlaskit/media-integration-test-helpers": "workspace:^",
|
|
88
88
|
"@atlaskit/media-test-helpers": "^37.0.0",
|
|
89
89
|
"@atlaskit/mention": "^24.2.0",
|
|
90
|
-
"@atlaskit/modal-dialog": "^14.
|
|
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
92
|
"@atlaskit/profilecard": "^23.21.0",
|
|
93
93
|
"@atlaskit/util-data-test": "^18.0.0",
|
|
@@ -273,6 +273,9 @@
|
|
|
273
273
|
},
|
|
274
274
|
"platform_editor_ol_padding_fix": {
|
|
275
275
|
"type": "boolean"
|
|
276
|
+
},
|
|
277
|
+
"platform_editor_avatar_group_margin_fix": {
|
|
278
|
+
"type": "boolean"
|
|
276
279
|
}
|
|
277
280
|
},
|
|
278
281
|
"af:exports": {
|