From 2c7acaaab27e47faff13693dd85acf5e296a2b6c Mon Sep 17 00:00:00 2001 From: karthick-murugan Date: Thu, 24 Oct 2024 11:56:54 +0530 Subject: [PATCH 1/3] Query Pagination Previous Border Support --- .../src/query-pagination-previous/block.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/block-library/src/query-pagination-previous/block.json b/packages/block-library/src/query-pagination-previous/block.json index d1e34c8630250d..448087bdf711f1 100644 --- a/packages/block-library/src/query-pagination-previous/block.json +++ b/packages/block-library/src/query-pagination-previous/block.json @@ -44,6 +44,18 @@ }, "interactivity": { "clientNavigation": true + }, + "__experimentalBorder": { + "radius": true, + "color": true, + "width": true, + "style": true, + "__experimentalDefaultControls": { + "radius": true, + "color": true, + "width": true, + "style": true + } } } } From f08eaf362e16d88c4d860492ca5d4e9283fd4af7 Mon Sep 17 00:00:00 2001 From: karthick-murugan Date: Thu, 24 Oct 2024 17:04:08 +0530 Subject: [PATCH 2/3] Adding Spacing Support --- .../src/query-pagination-previous/block.json | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/packages/block-library/src/query-pagination-previous/block.json b/packages/block-library/src/query-pagination-previous/block.json index 448087bdf711f1..e6ef234e28180b 100644 --- a/packages/block-library/src/query-pagination-previous/block.json +++ b/packages/block-library/src/query-pagination-previous/block.json @@ -29,6 +29,14 @@ "background": true } }, + "spacing": { + "padding": true, + "margin": true, + "__experimentalDefaultControls": { + "margin": false, + "padding": false + } + }, "typography": { "fontSize": true, "lineHeight": true, From 4a3c13a61ecf269ec49d3358892aaea61ca6a920 Mon Sep 17 00:00:00 2001 From: karthick-murugan Date: Thu, 24 Oct 2024 19:14:54 +0530 Subject: [PATCH 3/3] Docs build update --- docs/reference-guides/core-blocks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index dd49d156857249..636971e651fbab 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -765,7 +765,7 @@ Displays the previous posts page link. ([Source](https://github.com/WordPress/gu - **Name:** core/query-pagination-previous - **Category:** theme - **Parent:** core/query-pagination -- **Supports:** color (background, gradients, ~~text~~), interactivity (clientNavigation), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ +- **Supports:** color (background, gradients, ~~text~~), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ - **Attributes:** label ## Query Title