Skip to content

Commit

Permalink
Merge pull request ampproject#7910 from ampproject/dependabot/npm_and…
Browse files Browse the repository at this point in the history
…_yarn/wordpress-packages-2a8e74fa9b

Bump the wordpress-packages group across 1 directory with 29 updates
  • Loading branch information
thelovekesh authored Nov 11, 2024
2 parents ff7ed30 + bd24f55 commit b216529
Show file tree
Hide file tree
Showing 14 changed files with 2,428 additions and 1,234 deletions.
1 change: 1 addition & 0 deletions assets/src/block-editor/blocks/amp-brid-player/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ const BlockEdit = (props) => {
label={__('Autoplay', 'amp')}
checked={autoPlay}
onChange={() => setAttributes({ autoPlay: !autoPlay })}
__nextHasNoMarginBottom={true}
/>
<LayoutControls
{...props}
Expand Down
1 change: 1 addition & 0 deletions assets/src/block-editor/blocks/amp-ima-video/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ const BlockEdit = (props) => {
dataDelayAdRequest: !dataDelayAdRequest,
})
}
__nextHasNoMarginBottom={true}
/>
<LayoutControls
{...props}
Expand Down
2 changes: 1 addition & 1 deletion assets/src/block-editor/blocks/amp-mathml/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const settings = {
icon: 'welcome-learn-more',
keywords: [
__('Mathematical formula', 'amp'),
__('Scientific content ', 'amp'),
__('Scientific content', 'amp'),
],

attributes: {
Expand Down
1 change: 1 addition & 0 deletions assets/src/block-editor/blocks/amp-o2-player/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ const BlockEdit = (props) => {
label={__('Autoplay', 'amp')}
checked={autoPlay}
onChange={() => setAttributes({ autoPlay: !autoPlay })}
__nextHasNoMarginBottom={true}
/>
<LayoutControls
{...props}
Expand Down
2 changes: 2 additions & 0 deletions assets/src/block-editor/helpers/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,7 @@ const AmpLightboxToggle = (props) => {
setAttributes({ linkTo: 'none' });
}
}}
__nextHasNoMarginBottom={true}
/>
);
};
Expand Down Expand Up @@ -286,6 +287,7 @@ const AmpCarouselToggle = (props) => {
label={__('Display as carousel', 'amp')}
checked={ampCarousel}
onChange={() => setAttributes({ ampCarousel: !ampCarousel })}
__nextHasNoMarginBottom={true}
/>
);
};
Expand Down
1 change: 1 addition & 0 deletions assets/src/components/amp-setting-toggle/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export function AMPSettingToggle({
</div>
}
onChange={onChange}
__nextHasNoMarginBottom={true}
/>
</div>
);
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/src/components/amp-support/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ export function AMPSupport(props) {
size={NOTICE_SIZE_SMALL}
className={'amp-notice--uuid'}
>
{__('Support UUID: ', 'amp')}
{__('Support UUID:', 'amp')}
<code>{uuid}</code>
<ClipboardButton
isSmall={true}
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/src/settings-page/paired-url-structure.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ function SlugConflictsNotice({ slug, conflicts }) {

{conflicts.rewrite && (
<li>
{__('Rewrite rules: ', 'amp')}
{__('Rewrite rules:', 'amp')}
{conflicts.rewrite
.map((entity) => <code key={entity}>{entity}</code>)
.reduce((prev, curr) => [prev, ', ', curr])}
Expand Down
Loading

0 comments on commit b216529

Please sign in to comment.