From aadf5242a45d88b130399a241819c0e1076ae0a1 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Sat, 3 Aug 2024 04:52:26 +0900 Subject: [PATCH 01/13] Fix in ImageSettingsPanel --- .../src/components/global-styles/image-settings-panel.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-editor/src/components/global-styles/image-settings-panel.js b/packages/block-editor/src/components/global-styles/image-settings-panel.js index f668e7e5efc24..4ebc20ab20198 100644 --- a/packages/block-editor/src/components/global-styles/image-settings-panel.js +++ b/packages/block-editor/src/components/global-styles/image-settings-panel.js @@ -67,6 +67,7 @@ export default function ImageSettingsPanel( { panelId={ panelId } > Date: Sat, 3 Aug 2024 04:52:40 +0900 Subject: [PATCH 02/13] Fix in block hooks --- packages/block-editor/src/hooks/block-hooks.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-editor/src/hooks/block-hooks.js b/packages/block-editor/src/hooks/block-hooks.js index 04cd6d4cfc023..b1fab1b124f8d 100644 --- a/packages/block-editor/src/hooks/block-hooks.js +++ b/packages/block-editor/src/hooks/block-hooks.js @@ -201,6 +201,7 @@ function BlockHooksControlPure( { return ( Date: Sat, 3 Aug 2024 05:02:40 +0900 Subject: [PATCH 03/13] Fix in Avatar block --- packages/block-library/src/avatar/edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/avatar/edit.js b/packages/block-library/src/avatar/edit.js index 4fad0fb09f883..8309bc5e878a0 100644 --- a/packages/block-library/src/avatar/edit.js +++ b/packages/block-library/src/avatar/edit.js @@ -58,6 +58,7 @@ const AvatarInspectorControls = ( { /> { attributes.isLink && ( setAttributes( { From c0842304191763bb1b369db1075f746dca3cfc3d Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Sat, 3 Aug 2024 05:05:08 +0900 Subject: [PATCH 04/13] Fix in Details block --- packages/block-library/src/details/edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/details/edit.js b/packages/block-library/src/details/edit.js index 3432c00d7ab0c..314556ba6d591 100644 --- a/packages/block-library/src/details/edit.js +++ b/packages/block-library/src/details/edit.js @@ -48,6 +48,7 @@ function DetailsEdit( { attributes, setAttributes, clientId } ) { From af067175a0550c59afe8ba7ef366146d4e24bbfa Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Sat, 3 Aug 2024 05:06:51 +0900 Subject: [PATCH 05/13] Fix in Latest posts block --- packages/block-library/src/latest-posts/edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/latest-posts/edit.js b/packages/block-library/src/latest-posts/edit.js index ce8f75c671c83..49a24b08f68d7 100644 --- a/packages/block-library/src/latest-posts/edit.js +++ b/packages/block-library/src/latest-posts/edit.js @@ -202,6 +202,7 @@ export default function LatestPostsEdit( { attributes, setAttributes } ) { From e9e48e0b06241ecbc8276ec8a5b224e6fe26a8b4 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Sat, 3 Aug 2024 05:10:16 +0900 Subject: [PATCH 06/13] Fix in Query Loop block --- .../query/edit/inspector-controls/enhanced-pagination-control.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/query/edit/inspector-controls/enhanced-pagination-control.js b/packages/block-library/src/query/edit/inspector-controls/enhanced-pagination-control.js index 293baead3f5c6..e1001cda4dab3 100644 --- a/packages/block-library/src/query/edit/inspector-controls/enhanced-pagination-control.js +++ b/packages/block-library/src/query/edit/inspector-controls/enhanced-pagination-control.js @@ -36,6 +36,7 @@ export default function EnhancedPaginationControl( { return ( <> Date: Sat, 3 Aug 2024 05:12:25 +0900 Subject: [PATCH 07/13] Fix in Tag Cloud block --- packages/block-library/src/tag-cloud/edit.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/tag-cloud/edit.js b/packages/block-library/src/tag-cloud/edit.js index 17ca150bc4d75..9a2b531b30f8a 100644 --- a/packages/block-library/src/tag-cloud/edit.js +++ b/packages/block-library/src/tag-cloud/edit.js @@ -169,6 +169,7 @@ function TagCloudEdit( { attributes, setAttributes } ) { required /> From 23169988aa5544502de0a4adcb1b79c7b5924154 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Sat, 3 Aug 2024 05:23:17 +0900 Subject: [PATCH 08/13] Fix in Add New Pattern modal --- packages/patterns/src/components/create-pattern-modal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/patterns/src/components/create-pattern-modal.js b/packages/patterns/src/components/create-pattern-modal.js index 226f48eb6c9e6..dd86709acbca3 100644 --- a/packages/patterns/src/components/create-pattern-modal.js +++ b/packages/patterns/src/components/create-pattern-modal.js @@ -131,6 +131,7 @@ export function CreatePatternModalContents( { categoryMap={ categoryMap } /> Date: Sat, 3 Aug 2024 05:26:58 +0900 Subject: [PATCH 09/13] Fix in Create pattern modal --- packages/edit-post/src/components/init-pattern-modal/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/edit-post/src/components/init-pattern-modal/index.js b/packages/edit-post/src/components/init-pattern-modal/index.js index a40ffc5dc5856..bb448953364f0 100644 --- a/packages/edit-post/src/components/init-pattern-modal/index.js +++ b/packages/edit-post/src/components/init-pattern-modal/index.js @@ -74,6 +74,7 @@ export default function InitPatternModal() { __next40pxDefaultSize /> Date: Tue, 6 Aug 2024 01:35:58 +0900 Subject: [PATCH 10/13] Fix in ReusableBlockConvertButton --- .../reusable-blocks-menu-items/reusable-block-convert-button.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/reusable-blocks/src/components/reusable-blocks-menu-items/reusable-block-convert-button.js b/packages/reusable-blocks/src/components/reusable-blocks-menu-items/reusable-block-convert-button.js index 40f056a3a7388..21f3d0a61be04 100644 --- a/packages/reusable-blocks/src/components/reusable-blocks-menu-items/reusable-block-convert-button.js +++ b/packages/reusable-blocks/src/components/reusable-blocks-menu-items/reusable-block-convert-button.js @@ -176,6 +176,7 @@ export default function ReusableBlockConvertButton( { placeholder={ __( 'My pattern' ) } /> Date: Tue, 6 Aug 2024 01:36:11 +0900 Subject: [PATCH 11/13] Add eslint rule --- .eslintrc.js | 1 + 1 file changed, 1 insertion(+) diff --git a/.eslintrc.js b/.eslintrc.js index 0fc37713dce4d..276501ed6d7ce 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -296,6 +296,7 @@ module.exports = { 'RangeControl', 'SearchControl', 'TextareaControl', + 'ToggleControl', 'ToggleGroupControl', 'TreeSelect', ].map( ( componentName ) => ( { From 8ccb6a2715bbb292aa68352e94a9cfa012e2396f Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Wed, 7 Aug 2024 04:10:02 +0900 Subject: [PATCH 12/13] Add prop to docs --- packages/components/src/toggle-control/README.md | 1 + packages/components/src/toggle-control/index.tsx | 1 + 2 files changed, 2 insertions(+) diff --git a/packages/components/src/toggle-control/README.md b/packages/components/src/toggle-control/README.md index 3a77ef6942d2e..9c81dc3c77b2d 100644 --- a/packages/components/src/toggle-control/README.md +++ b/packages/components/src/toggle-control/README.md @@ -15,6 +15,7 @@ const MyToggleControl = () => { return ( setValue( ( state ) => ! state ) } From e3e6b764dd34513d673e576baaeac1ff8e5eb00a Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Wed, 7 Aug 2024 05:21:43 +0900 Subject: [PATCH 13/13] Fix up --- packages/components/src/toggle-control/README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/components/src/toggle-control/README.md b/packages/components/src/toggle-control/README.md index 9c81dc3c77b2d..cf480360265ed 100644 --- a/packages/components/src/toggle-control/README.md +++ b/packages/components/src/toggle-control/README.md @@ -79,3 +79,11 @@ The class that will be added with `components-base-control` and `components-togg - Type: `String` - Required: No + +### `__nextHasNoMarginBottom` + +Start opting into the new margin-free styles that will become the default in a future version. + +- Type: `Boolean` +- Required: No +- Default: `false`