From d8306832a0a4a53a80b806bb94de06ea9bd5d313 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Wed, 30 Oct 2024 20:37:01 +0900 Subject: [PATCH 1/4] Notice: Add appropriate size props to Buttons --- packages/components/src/notice/index.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/components/src/notice/index.tsx b/packages/components/src/notice/index.tsx index 868576ecc9aa3f..6f3ca94d4f734a 100644 --- a/packages/components/src/notice/index.tsx +++ b/packages/components/src/notice/index.tsx @@ -142,6 +142,7 @@ function Notice( { return ( From a39fc6d4868409e7679437b9d8d66462b09da017 Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Wed, 30 Oct 2024 20:39:33 +0900 Subject: [PATCH 3/4] Add changelog --- packages/components/CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/components/CHANGELOG.md b/packages/components/CHANGELOG.md index 9603d9656d5069..61843f4f75243e 100644 --- a/packages/components/CHANGELOG.md +++ b/packages/components/CHANGELOG.md @@ -16,6 +16,7 @@ ### Enhancements - `PaletteEdit`: use `Item` internally instead of custom styles ([#66164](https://github.com/WordPress/gutenberg/pull/66164)). +- `Notice`: Add appropriate size props to Buttons ([#66593](https://github.com/WordPress/gutenberg/pull/66593)). ### Experimental From 0e606bfdf7dc228dc239d74b1ef50e84b839da5a Mon Sep 17 00:00:00 2001 From: Lena Morita Date: Wed, 30 Oct 2024 21:10:56 +0900 Subject: [PATCH 4/4] Update snapshot --- .../src/notice/test/__snapshots__/index.tsx.snap | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/components/src/notice/test/__snapshots__/index.tsx.snap b/packages/components/src/notice/test/__snapshots__/index.tsx.snap index c74d6fdd0a6fc9..77abecf14264be 100644 --- a/packages/components/src/notice/test/__snapshots__/index.tsx.snap +++ b/packages/components/src/notice/test/__snapshots__/index.tsx.snap @@ -21,19 +21,19 @@ exports[`Notice should match snapshot 1`] = ` class="components-notice__actions" > More information