From 8a8642759c127264aefeabd31b9c7f6d68cbf1a5 Mon Sep 17 00:00:00 2001 From: Rinkal Pagdar <92097119+rinkalpagdar@users.noreply.github.com> Date: Thu, 24 Oct 2024 13:57:19 +0530 Subject: [PATCH 1/5] pagination border added --- .../block-library/src/query-pagination/block.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/block-library/src/query-pagination/block.json b/packages/block-library/src/query-pagination/block.json index 355b188e442d8..f7fe0c0154b5f 100644 --- a/packages/block-library/src/query-pagination/block.json +++ b/packages/block-library/src/query-pagination/block.json @@ -62,6 +62,18 @@ }, "interactivity": { "clientNavigation": true + }, + "__experimentalBorder": { + "radius": true, + "color": true, + "width": true, + "style": true, + "__experimentalDefaultControls": { + "radius": true, + "color": true, + "width": true, + "style": true + } } }, "editorStyle": "wp-block-query-pagination-editor", From 2043c543ffe8925a3056cf1de25b74b8446d14f8 Mon Sep 17 00:00:00 2001 From: Rinkal Pagdar <92097119+rinkalpagdar@users.noreply.github.com> Date: Thu, 24 Oct 2024 17:50:29 +0530 Subject: [PATCH 2/5] spacing added to query pagination --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/query-pagination/block.json | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index dd49d15685724..4dbb5698da4bb 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -735,7 +735,7 @@ Displays a paginated navigation to next/previous set of posts, when applicable. - **Category:** theme - **Ancestor:** core/query - **Allowed Blocks:** core/query-pagination-previous, core/query-pagination-numbers, core/query-pagination-next -- **Supports:** align, color (background, gradients, link, text), interactivity (clientNavigation), layout (default, ~~allowInheriting~~, ~~allowSwitching~~), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ +- **Supports:** align, color (background, gradients, link, text),spacing (margin, padding), interactivity (clientNavigation), layout (default, ~~allowInheriting~~, ~~allowSwitching~~), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ - **Attributes:** paginationArrow, showLabel ## Next Page diff --git a/packages/block-library/src/query-pagination/block.json b/packages/block-library/src/query-pagination/block.json index f7fe0c0154b5f..0eb877aac457d 100644 --- a/packages/block-library/src/query-pagination/block.json +++ b/packages/block-library/src/query-pagination/block.json @@ -63,6 +63,10 @@ "interactivity": { "clientNavigation": true }, + "spacing": { + "margin": true, + "padding": true + }, "__experimentalBorder": { "radius": true, "color": true, From 3e877b0d799f0922f8e81b726034edf45e35e57c Mon Sep 17 00:00:00 2001 From: Rinkal Pagdar <92097119+rinkalpagdar@users.noreply.github.com> Date: Fri, 25 Oct 2024 09:25:59 +0530 Subject: [PATCH 3/5] pipeline fix --- 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 4dbb5698da4bb..2bdf2076e6607 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -735,7 +735,7 @@ Displays a paginated navigation to next/previous set of posts, when applicable. - **Category:** theme - **Ancestor:** core/query - **Allowed Blocks:** core/query-pagination-previous, core/query-pagination-numbers, core/query-pagination-next -- **Supports:** align, color (background, gradients, link, text),spacing (margin, padding), interactivity (clientNavigation), layout (default, ~~allowInheriting~~, ~~allowSwitching~~), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ +- **Supports:** align, color (background, gradients, link, text), interactivity (clientNavigation), layout (default, ~~allowInheriting~~, ~~allowSwitching~~), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~, ~~reusable~~ - **Attributes:** paginationArrow, showLabel ## Next Page From 3c5a02f18eb44005ddd3f9386fa186e71a050c0c Mon Sep 17 00:00:00 2001 From: Rinkal Pagdar <92097119+rinkalpagdar@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:18:50 +0530 Subject: [PATCH 4/5] lint fix --- package-lock.json | 1 + packages/block-library/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/package-lock.json b/package-lock.json index a1060b1267af5..536bb51330013 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53042,6 +53042,7 @@ "@wordpress/server-side-render": "*", "@wordpress/url": "*", "@wordpress/viewport": "*", + "@wordpress/warning": "*", "@wordpress/wordcount": "*", "change-case": "^4.1.2", "clsx": "^2.1.1", diff --git a/packages/block-library/package.json b/packages/block-library/package.json index 18ad0e46059c9..356c6e5be63d5 100644 --- a/packages/block-library/package.json +++ b/packages/block-library/package.json @@ -64,6 +64,7 @@ "@wordpress/keycodes": "*", "@wordpress/notices": "*", "@wordpress/patterns": "*", + "@wordpress/warning": "*", "@wordpress/primitives": "*", "@wordpress/private-apis": "*", "@wordpress/reusable-blocks": "*", From 19a1aa15b16375184403aef9fbee6a2a93d694b5 Mon Sep 17 00:00:00 2001 From: Rinkal Pagdar <92097119+rinkalpagdar@users.noreply.github.com> Date: Wed, 30 Oct 2024 16:18:31 +0530 Subject: [PATCH 5/5] Changes reverted --- package-lock.json | 1 - packages/block-library/package.json | 1 - 2 files changed, 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 536bb51330013..a1060b1267af5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -53042,7 +53042,6 @@ "@wordpress/server-side-render": "*", "@wordpress/url": "*", "@wordpress/viewport": "*", - "@wordpress/warning": "*", "@wordpress/wordcount": "*", "change-case": "^4.1.2", "clsx": "^2.1.1", diff --git a/packages/block-library/package.json b/packages/block-library/package.json index 356c6e5be63d5..18ad0e46059c9 100644 --- a/packages/block-library/package.json +++ b/packages/block-library/package.json @@ -64,7 +64,6 @@ "@wordpress/keycodes": "*", "@wordpress/notices": "*", "@wordpress/patterns": "*", - "@wordpress/warning": "*", "@wordpress/primitives": "*", "@wordpress/private-apis": "*", "@wordpress/reusable-blocks": "*",