From 51ca2444668d6d1593fffe354ff3b7bdc53e2df5 Mon Sep 17 00:00:00 2001 From: Stephen Liang <538214+stephenliang@users.noreply.github.com> Date: Mon, 31 Mar 2025 15:20:07 -0700 Subject: [PATCH 1/3] baseline --- frontend/packages/component-library/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/packages/component-library/README.md b/frontend/packages/component-library/README.md index fb5e890..5ab6551 100644 --- a/frontend/packages/component-library/README.md +++ b/frontend/packages/component-library/README.md @@ -1,5 +1,7 @@ # @code-dot-org/component-library +. + Code.org Design System React component library. Welcome to the Code.org Design System Component Library! This package contains the design system components used From e9e3a7c6dad8b96b2054e2dd0a995d9c55b8259f Mon Sep 17 00:00:00 2001 From: Stephen Liang <538214+stephenliang@users.noreply.github.com> Date: Mon, 31 Mar 2025 15:26:42 -0700 Subject: [PATCH 2/3] baseline --- .../src/cms/section/stories/Section.story.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/packages/component-library/src/cms/section/stories/Section.story.tsx b/frontend/packages/component-library/src/cms/section/stories/Section.story.tsx index 2601831..6de8dda 100644 --- a/frontend/packages/component-library/src/cms/section/stories/Section.story.tsx +++ b/frontend/packages/component-library/src/cms/section/stories/Section.story.tsx @@ -75,7 +75,7 @@ export const SectionWithBackgroundPattern: Story = { padding: 'l', children: ( <> - This is a section with a background pattern + This is a section with a background pattern@ I'm just a sentence. ), @@ -90,7 +90,7 @@ export const SectionWithBackgroundPattern: Story = { play: async ({canvasElement}: {canvasElement: HTMLElement}) => { const canvas = within(canvasElement); const heading = canvas.getByText( - 'This is a section with a background pattern', + 'This is a section with a background pattern@', ); // check if children content is in the section From 362be55df5a0342224047b5e35fb94e839b78601 Mon Sep 17 00:00:00 2001 From: Stephen Liang <538214+stephenliang@users.noreply.github.com> Date: Mon, 31 Mar 2025 15:59:54 -0700 Subject: [PATCH 3/3] new baseline --- .../component-library/src/cms/section/stories/Section.story.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/packages/component-library/src/cms/section/stories/Section.story.tsx b/frontend/packages/component-library/src/cms/section/stories/Section.story.tsx index 6de8dda..170401e 100644 --- a/frontend/packages/component-library/src/cms/section/stories/Section.story.tsx +++ b/frontend/packages/component-library/src/cms/section/stories/Section.story.tsx @@ -68,7 +68,7 @@ export const SectionWithBackgroundColor: Story = { }, }; -export const SectionWithBackgroundPattern: Story = { +export const SectionWithBackgroundPatternT: Story = { args: { background: sectionBackground.patternPrimary, backgroundImageUrl: bgPattern,