diff --git a/projects/js-packages/publicize-components/changelog/change-move-auto-conversion-notice-up b/projects/js-packages/publicize-components/changelog/change-move-auto-conversion-notice-up new file mode 100644 index 0000000000000..c9d8250187e96 --- /dev/null +++ b/projects/js-packages/publicize-components/changelog/change-move-auto-conversion-notice-up @@ -0,0 +1,4 @@ +Significance: minor +Type: changed + +Move auto-conversion notice near the Instagram one diff --git a/projects/js-packages/publicize-components/package.json b/projects/js-packages/publicize-components/package.json index dab956c053432..e063c83f883bc 100644 --- a/projects/js-packages/publicize-components/package.json +++ b/projects/js-packages/publicize-components/package.json @@ -1,7 +1,7 @@ { "private": true, "name": "@automattic/jetpack-publicize-components", - "version": "0.37.1-alpha", + "version": "0.38.0-alpha", "description": "A library of JS components required by the Publicize editor plugin", "homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/publicize-components/#readme", "bugs": { diff --git a/projects/js-packages/publicize-components/src/components/form/index.js b/projects/js-packages/publicize-components/src/components/form/index.js index 8781c7c2c8195..41d72147fa7bc 100644 --- a/projects/js-packages/publicize-components/src/components/form/index.js +++ b/projects/js-packages/publicize-components/src/components/form/index.js @@ -160,6 +160,33 @@ export default function PublicizeForm( { ) } ) } + { shouldAutoConvert && + showValidationNotice && + mediaId && + shouldShowNotice( NOTICES.autoConversion ) && ( + + { __( 'Got it', 'jetpack' ) } + , + , + ] } + > + { __( + 'When your post is published, the selected image will be converted for maximum compatibility across your connected social networks.', + 'jetpack' + ) } + + ) } ); @@ -418,39 +445,6 @@ export default function PublicizeForm( { ) : null } - CustomNotice={ - shouldAutoConvert && - showValidationNotice && - mediaId && - shouldShowNotice( NOTICES.autoConversion ) && ( - - { __( 'Got it', 'jetpack' ) } - , - , - ] } - > - { __( - 'When your post is published, this image will be converted for maximum compatibility across your connected social networks.', - 'jetpack' - ) } - - ) - } /> ) }