From 70ce0a263b446172d740cff25787ce8650239072 Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sun, 15 Dec 2024 14:10:40 +0530 Subject: [PATCH 1/5] List: Add Layout Support --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/list/block.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 7e031fa525e1ff..7229050b8e2c9f 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -415,7 +415,7 @@ An organized collection of items displayed in a specific order. ([Source](https: - **Name:** core/list - **Category:** text - **Allowed Blocks:** core/list-item -- **Supports:** __unstablePasteTextInline, anchor, color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ +- **Supports:** __unstablePasteTextInline,align (full, wide), anchor, color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ - **Attributes:** ordered, placeholder, reversed, start, type, values ## List item diff --git a/packages/block-library/src/list/block.json b/packages/block-library/src/list/block.json index 4a86def8d687b4..f25488bd5d77ec 100644 --- a/packages/block-library/src/list/block.json +++ b/packages/block-library/src/list/block.json @@ -38,6 +38,7 @@ }, "supports": { "anchor": true, + "align": [ "wide", "full" ], "html": false, "__experimentalBorder": { "color": true, From 2da6ae29ae1bafe4a4e7d1fff949b30fffe1a847 Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sun, 15 Dec 2024 14:17:50 +0530 Subject: [PATCH 2/5] List: Add Layout Support --- packages/block-library/src/list/block.json | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/block-library/src/list/block.json b/packages/block-library/src/list/block.json index f25488bd5d77ec..4900c34e1a72ae 100644 --- a/packages/block-library/src/list/block.json +++ b/packages/block-library/src/list/block.json @@ -39,6 +39,7 @@ "supports": { "anchor": true, "align": [ "wide", "full" ], + "__experimentalLayout": true, "html": false, "__experimentalBorder": { "color": true, From 1ec53cf541f4357e952a270edb5b3516fc3c928a Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sun, 15 Dec 2024 14:35:39 +0530 Subject: [PATCH 3/5] fixed lint issue --- 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 7229050b8e2c9f..435fcb13b77829 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -415,7 +415,7 @@ An organized collection of items displayed in a specific order. ([Source](https: - **Name:** core/list - **Category:** text - **Allowed Blocks:** core/list-item -- **Supports:** __unstablePasteTextInline,align (full, wide), anchor, color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ +- **Supports:** __unstablePasteTextInline, align (full, wide), anchor, color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ - **Attributes:** ordered, placeholder, reversed, start, type, values ## List item From 2d13a675a2da0ee3e0dc3e0efbbbf69b4079c424 Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sat, 21 Dec 2024 19:58:11 +0530 Subject: [PATCH 4/5] Added Align and Layout Support in List Block --- docs/reference-guides/core-blocks.md | 2 +- packages/block-library/src/list/block.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference-guides/core-blocks.md b/docs/reference-guides/core-blocks.md index 435fcb13b77829..eeb65076909276 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -415,7 +415,7 @@ An organized collection of items displayed in a specific order. ([Source](https: - **Name:** core/list - **Category:** text - **Allowed Blocks:** core/list-item -- **Supports:** __unstablePasteTextInline, align (full, wide), anchor, color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ +- **Supports:** __unstablePasteTextInline, align (full, wide), layout, anchor, color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ - **Attributes:** ordered, placeholder, reversed, start, type, values ## List item diff --git a/packages/block-library/src/list/block.json b/packages/block-library/src/list/block.json index 4900c34e1a72ae..66a8cb21fc6920 100644 --- a/packages/block-library/src/list/block.json +++ b/packages/block-library/src/list/block.json @@ -39,7 +39,7 @@ "supports": { "anchor": true, "align": [ "wide", "full" ], - "__experimentalLayout": true, + "layout": true, "html": false, "__experimentalBorder": { "color": true, From 3ab53a2741a6153ecf71cdcffd0974459798fefd Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sat, 21 Dec 2024 20:12:34 +0530 Subject: [PATCH 5/5] Fixed Lint Issue --- 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 eeb65076909276..20deeeff956030 100644 --- a/docs/reference-guides/core-blocks.md +++ b/docs/reference-guides/core-blocks.md @@ -415,7 +415,7 @@ An organized collection of items displayed in a specific order. ([Source](https: - **Name:** core/list - **Category:** text - **Allowed Blocks:** core/list-item -- **Supports:** __unstablePasteTextInline, align (full, wide), layout, anchor, color (background, gradients, link, text), interactivity (clientNavigation), spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ +- **Supports:** __unstablePasteTextInline, align (full, wide), anchor, color (background, gradients, link, text), interactivity (clientNavigation), layout, spacing (margin, padding), typography (fontSize, lineHeight), ~~html~~ - **Attributes:** ordered, placeholder, reversed, start, type, values ## List item